Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update schema and types
Pacu2b03511fd39bb
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 80a474ca6b..cc0ce12f7a 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -485,6 +485,14 @@ type CreateToken {user: User}+type CreditCard {+ brand: String!+ firstDigits: String!+ lastDigits: String!+ expMonth: Int!+ expYear: Int!+}+type CustomerCreate {errors: [Error]user: User@@ -1226,9 +1234,17 @@ type Payment implements Node {capturedAmount: Moneycheckout: Checkoutorder: Order+ ccFirstDigits: String!+ ccLastDigits: String!+ ccBrand: String!+ ccExpMonth: Int+ ccExpYear: Inttransactions: [Transaction]actions: [OrderAction]!billingAddress: Address+ availableCaptureAmount: Money+ availableRefundAmount: Money+ creditCard: CreditCard}type PaymentCapture {@@ -1256,7 +1272,7 @@ type PaymentCountableEdge {input PaymentInput {gateway: GatewaysEnumcheckoutId: ID- transactionToken: String!+ token: String!amount: Decimal!billingAddress: AddressInput}@@ -1582,7 +1598,7 @@ type Query {page(id: ID, slug: String): Pagepages(query: String, before: String, after: String, first: Int, last: Int): PageCountableConnectionpayment(id: ID): Payment- paymentTransactionToken(gateway: GatewaysEnum): String+ paymentClientToken(gateway: GatewaysEnum): Stringpayments(before: String, after: String, first: Int, last: Int): PaymentCountableConnectionsale(id: ID!): Salesales(query: String, before: String, after: String, first: Int, last: Int): SaleCountableConnection@@ -1893,14 +1909,28 @@ type Transaction implements Node {kind: TransactionKind!isSuccess: Boolean!amount: Money+ error: TransactionErrorgatewayResponse: JSONString!}+enum TransactionError {+ TRANSACTIONERROR_INCORRECT_NUMBER+ TRANSACTIONERROR_INVALID_NUMBER+ TRANSACTIONERROR_INCORRECT_CVV+ TRANSACTIONERROR_INVALID_CVV+ TRANSACTIONERROR_INCORRECT_ZIP+ TRANSACTIONERROR_INCORRECT_ADDRESS+ TRANSACTIONERROR_INVALID_EXPIRY_DATE+ TRANSACTIONERROR_EXPIRED+ TRANSACTIONERROR_PROCESSING_ERROR+ TRANSACTIONERROR_DECLINED+}+enum TransactionKind {AUTH- CAPTURE+ CHARGEREFUND- CAPTURE_3+ CAPTUREVOID}