@vendure-platform/create 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/assets/storefront/messages/de.json +2 -0
  3. package/dist/assets/storefront/messages/en.json +2 -0
  4. package/dist/assets/storefront/package.json +1 -1
  5. package/dist/assets/storefront/src/app/[locale]/(catalog)/product/[slug]/page.tsx +7 -2
  6. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/activity-feed.tsx +152 -0
  7. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/add-item-search.tsx +130 -0
  8. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/add-member-form.tsx +124 -0
  9. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/members-panel.tsx +240 -0
  10. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/page.tsx +47 -0
  11. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/rename-dialog.tsx +96 -0
  12. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/[id]/shared-cart-detail-client.tsx +555 -0
  13. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/actions.ts +260 -0
  14. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/new/new-shared-cart-form.tsx +77 -0
  15. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/new/page.tsx +47 -0
  16. package/dist/assets/storefront/src/app/[locale]/account/shared-carts/page.tsx +263 -0
  17. package/dist/assets/storefront/src/app/[locale]/cart/order-summary.tsx +23 -0
  18. package/dist/assets/storefront/src/components/commerce/account-nav-items.ts +2 -0
  19. package/dist/assets/storefront/src/components/commerce/add-to-shared-cart.tsx +225 -0
  20. package/dist/assets/storefront/src/components/commerce/product-info.tsx +14 -1
  21. package/dist/assets/storefront/src/components/commerce/shared-cart-role.ts +39 -0
  22. package/dist/assets/storefront/src/components/commerce/shared-cart-status-badge.tsx +24 -0
  23. package/dist/assets/storefront/src/graphql-env.d.ts +18 -5
  24. package/dist/assets/storefront/src/lib/vendure/api.ts +8 -4
  25. package/dist/assets/storefront/src/lib/vendure/mutations.ts +96 -0
  26. package/dist/assets/storefront/src/lib/vendure/queries.ts +142 -0
  27. package/dist/assets/storefront/src/schema.graphql +134 -0
  28. package/dist/plugin-registry.js +1 -1
  29. package/package.json +2 -2
@@ -96,6 +96,8 @@ export type introspection_types = {
96
96
  'CreateCompanyInput': { kind: 'INPUT_OBJECT'; name: 'CreateCompanyInput'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'customFields'; type: { kind: 'INPUT_OBJECT'; name: 'CreateCompanyCustomFieldsInput'; ofType: null; }; defaultValue: null }]; };
97
97
  'CreateCustomerCustomFieldsInput': { kind: 'INPUT_OBJECT'; name: 'CreateCustomerCustomFieldsInput'; isOneOf: false; inputFields: [{ name: 'globalDiscount'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; };
98
98
  'CreateCustomerInput': { kind: 'INPUT_OBJECT'; name: 'CreateCustomerInput'; isOneOf: false; inputFields: [{ name: 'title'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'firstName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'lastName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'phoneNumber'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'emailAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'customFields'; type: { kind: 'INPUT_OBJECT'; name: 'CreateCustomerCustomFieldsInput'; ofType: null; }; defaultValue: null }]; };
99
+ 'CreateSharedCartInput': { kind: 'INPUT_OBJECT'; name: 'CreateSharedCartInput'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
100
+ 'CreateSharedCartMemberInput': { kind: 'INPUT_OBJECT'; name: 'CreateSharedCartMemberInput'; isOneOf: false; inputFields: [{ name: 'sharedCartId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'customerId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'role'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SharedCartRole'; ofType: null; }; }; defaultValue: null }]; };
99
101
  'CreateShoppingListInput': { kind: 'INPUT_OBJECT'; name: 'CreateShoppingListInput'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
100
102
  'CreateShoppingListItemInput': { kind: 'INPUT_OBJECT'; name: 'CreateShoppingListItemInput'; isOneOf: false; inputFields: [{ name: 'productVariantId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'shoppingListId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; defaultValue: null }, { name: 'note'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'quantity'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'sortOrder'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; defaultValue: null }]; };
101
103
  'CurrencyCode': { name: 'CurrencyCode'; enumValues: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL'; };
@@ -202,13 +204,13 @@ export type introspection_types = {
202
204
  'LogicalOperator': { name: 'LogicalOperator'; enumValues: 'AND' | 'OR'; };
203
205
  'MissingPasswordError': { kind: 'OBJECT'; name: 'MissingPasswordError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
204
206
  'Money': unknown;
205
- 'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'acceptAndConvertQuote': { name: 'acceptAndConvertQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'acceptCompanyInvitation': { name: 'acceptCompanyInvitation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AcceptCompanyInvitationResult'; ofType: null; }; } }; 'acceptQuote': { name: 'acceptQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'activatePunchoutSession': { name: 'activatePunchoutSession'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PunchoutSessionInfo'; ofType: null; }; } }; 'addCompanyTaxId': { name: 'addCompanyTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'addGiftCardToOrder': { name: 'addGiftCardToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addItemToOrder': { name: 'addItemToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addItemsToOrder': { name: 'addItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UpdateMultipleOrderItemsResult'; ofType: null; }; } }; 'addPaymentToOrder': { name: 'addPaymentToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddPaymentToOrderResult'; ofType: null; }; } }; 'addPaymentToOrderWithStoreCredit': { name: 'addPaymentToOrderWithStoreCredit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddPaymentToOrderWithStoreCreditResult'; ofType: null; }; } }; 'addProductConfigurationToOrder': { name: 'addProductConfigurationToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfiguration'; ofType: null; }; } }; 'addQuickOrderItemsToOrder': { name: 'addQuickOrderItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'QuickOrderAddToOrderResult'; ofType: null; }; } }; 'addQuoteComment': { name: 'addQuoteComment'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteComment'; ofType: null; }; } }; 'addReorderToActiveOrder': { name: 'addReorderToActiveOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReorderResult'; ofType: null; }; } }; 'addShoppingListItemsToOrder': { name: 'addShoppingListItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addTaxId': { name: 'addTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'addToShoppingList': { name: 'addToShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'adjustOrderLine': { name: 'adjustOrderLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'applyCouponCode': { name: 'applyCouponCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ApplyCouponCodeResult'; ofType: null; }; } }; 'applyStoreCreditToOrder': { name: 'applyStoreCreditToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ApplyStoreCreditToOrderResult'; ofType: null; }; } }; 'assignCompanyUserRole': { name: 'assignCompanyUserRole'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; } }; 'authenticate': { name: 'authenticate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AuthenticationResult'; ofType: null; }; } }; 'batchSubmitApprovalDecisions': { name: 'batchSubmitApprovalDecisions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BatchApprovalDecisionResult'; ofType: null; }; }; }; } }; 'cancelQuoteCheckout': { name: 'cancelQuoteCheckout'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'claimStoreCredit': { name: 'claimStoreCredit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ClaimStoreCreditResult'; ofType: null; }; } }; 'createCompanyAddress': { name: 'createCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; } }; 'createCompanyBusinessUnit': { name: 'createCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; } }; 'createCustomerAddress': { name: 'createCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Address'; ofType: null; }; } }; 'createShoppingList': { name: 'createShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'deleteCompanyAddress': { name: 'deleteCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'deleteCompanyBusinessUnit': { name: 'deleteCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'deleteCustomerAddress': { name: 'deleteCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Success'; ofType: null; }; } }; 'deleteShoppingList': { name: 'deleteShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'inviteCompanyUser': { name: 'inviteCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'logSearchListViewed': { name: 'logSearchListViewed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'logSearchResultClicked': { name: 'logSearchResultClicked'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'login': { name: 'login'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'NativeAuthenticationResult'; ofType: null; }; } }; 'logout': { name: 'logout'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Success'; ofType: null; }; } }; 'moveShoppingListItems': { name: 'moveShoppingListItems'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'refreshCustomerVerification': { name: 'refreshCustomerVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshCustomerVerificationResult'; ofType: null; }; } }; 'registerCompany': { name: 'registerCompany'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'registerCustomerAccount': { name: 'registerCustomerAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RegisterCustomerAccountResult'; ofType: null; }; } }; 'rejectQuote': { name: 'rejectQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'removeAllOrderLines': { name: 'removeAllOrderLines'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveOrderItemsResult'; ofType: null; }; } }; 'removeCompanyTaxId': { name: 'removeCompanyTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'removeCompanyUser': { name: 'removeCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'removeCouponCode': { name: 'removeCouponCode'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'removeFromShoppingList': { name: 'removeFromShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'removeOrderLine': { name: 'removeOrderLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveOrderItemsResult'; ofType: null; }; } }; 'removeProductConfigurationFromOrder': { name: 'removeProductConfigurationFromOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'removeStoreCreditFromOrder': { name: 'removeStoreCreditFromOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'removeTaxId': { name: 'removeTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'requestPasswordReset': { name: 'requestPasswordReset'; type: { kind: 'UNION'; name: 'RequestPasswordResetResult'; ofType: null; } }; 'requestQuote': { name: 'requestQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestQuoteChanges': { name: 'requestQuoteChanges'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestQuoteFromCart': { name: 'requestQuoteFromCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestUpdateCustomerEmailAddress': { name: 'requestUpdateCustomerEmailAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RequestUpdateCustomerEmailAddressResult'; ofType: null; }; } }; 'resetPassword': { name: 'resetPassword'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ResetPasswordResult'; ofType: null; }; } }; 'setCurrencyCodeForOrder': { name: 'setCurrencyCodeForOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'setCustomerForOrder': { name: 'setCustomerForOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetCustomerForOrderResult'; ofType: null; }; } }; 'setDefaultTaxId': { name: 'setDefaultTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'setOrderBillingAddress': { name: 'setOrderBillingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderCustomFields': { name: 'setOrderCustomFields'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderShippingAddress': { name: 'setOrderShippingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderShippingMethod': { name: 'setOrderShippingMethod'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetOrderShippingMethodResult'; ofType: null; }; } }; 'setShoppingListVisibility': { name: 'setShoppingListVisibility'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'submitApprovalDecision': { name: 'submitApprovalDecision'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequest'; ofType: null; }; } }; 'submitQuoteRequest': { name: 'submitQuoteRequest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'switchBusinessUnit': { name: 'switchBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'transferPunchoutCart': { name: 'transferPunchoutCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PunchoutCartTransferResult'; ofType: null; }; } }; 'transitionOrderToState': { name: 'transitionOrderToState'; type: { kind: 'UNION'; name: 'TransitionOrderToStateResult'; ofType: null; } }; 'unsetOrderBillingAddress': { name: 'unsetOrderBillingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'unsetOrderShippingAddress': { name: 'unsetOrderShippingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'updateCompanyAccount': { name: 'updateCompanyAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'updateCompanyAddress': { name: 'updateCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; } }; 'updateCompanyBusinessUnit': { name: 'updateCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; } }; 'updateCompanyUser': { name: 'updateCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; } }; 'updateCustomer': { name: 'updateCustomer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Customer'; ofType: null; }; } }; 'updateCustomerAddress': { name: 'updateCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Address'; ofType: null; }; } }; 'updateCustomerEmailAddress': { name: 'updateCustomerEmailAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateCustomerEmailAddressResult'; ofType: null; }; } }; 'updateCustomerPassword': { name: 'updateCustomerPassword'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateCustomerPasswordResult'; ofType: null; }; } }; 'updateProductConfigurationOnOrder': { name: 'updateProductConfigurationOnOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfiguration'; ofType: null; }; } }; 'updateShoppingList': { name: 'updateShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'updateShoppingListItem': { name: 'updateShoppingListItem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingListItem'; ofType: null; }; } }; 'validateQuickOrderItems': { name: 'validateQuickOrderItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuickOrderValidationResult'; ofType: null; }; } }; 'verifyCustomerAccount': { name: 'verifyCustomerAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'VerifyCustomerAccountResult'; ofType: null; }; } }; }; };
207
+ 'Mutation': { kind: 'OBJECT'; name: 'Mutation'; fields: { 'acceptAndConvertQuote': { name: 'acceptAndConvertQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'acceptCompanyInvitation': { name: 'acceptCompanyInvitation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AcceptCompanyInvitationResult'; ofType: null; }; } }; 'acceptQuote': { name: 'acceptQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'activatePunchoutSession': { name: 'activatePunchoutSession'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PunchoutSessionInfo'; ofType: null; }; } }; 'addCompanyTaxId': { name: 'addCompanyTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'addGiftCardToOrder': { name: 'addGiftCardToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addItemToOrder': { name: 'addItemToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addItemToSharedCart': { name: 'addItemToSharedCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'addItemsToOrder': { name: 'addItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'UpdateMultipleOrderItemsResult'; ofType: null; }; } }; 'addPaymentToOrder': { name: 'addPaymentToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddPaymentToOrderResult'; ofType: null; }; } }; 'addPaymentToOrderWithStoreCredit': { name: 'addPaymentToOrderWithStoreCredit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AddPaymentToOrderWithStoreCreditResult'; ofType: null; }; } }; 'addProductConfigurationToOrder': { name: 'addProductConfigurationToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfiguration'; ofType: null; }; } }; 'addQuickOrderItemsToOrder': { name: 'addQuickOrderItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'QuickOrderAddToOrderResult'; ofType: null; }; } }; 'addQuoteComment': { name: 'addQuoteComment'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteComment'; ofType: null; }; } }; 'addReorderToActiveOrder': { name: 'addReorderToActiveOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReorderResult'; ofType: null; }; } }; 'addSharedCartMember': { name: 'addSharedCartMember'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'addShoppingListItemsToOrder': { name: 'addShoppingListItemsToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'addTaxId': { name: 'addTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'addToShoppingList': { name: 'addToShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'adjustOrderLine': { name: 'adjustOrderLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'adjustSharedCartLine': { name: 'adjustSharedCartLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'applyCouponCode': { name: 'applyCouponCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ApplyCouponCodeResult'; ofType: null; }; } }; 'applyStoreCreditToOrder': { name: 'applyStoreCreditToOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ApplyStoreCreditToOrderResult'; ofType: null; }; } }; 'assignCompanyUserRole': { name: 'assignCompanyUserRole'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; } }; 'authenticate': { name: 'authenticate'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'AuthenticationResult'; ofType: null; }; } }; 'batchSubmitApprovalDecisions': { name: 'batchSubmitApprovalDecisions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'BatchApprovalDecisionResult'; ofType: null; }; }; }; } }; 'cancelQuoteCheckout': { name: 'cancelQuoteCheckout'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'claimStoreCredit': { name: 'claimStoreCredit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ClaimStoreCreditResult'; ofType: null; }; } }; 'createCompanyAddress': { name: 'createCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; } }; 'createCompanyBusinessUnit': { name: 'createCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; } }; 'createCustomerAddress': { name: 'createCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Address'; ofType: null; }; } }; 'createSharedCart': { name: 'createSharedCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'createShoppingList': { name: 'createShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'deleteCompanyAddress': { name: 'deleteCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'deleteCompanyBusinessUnit': { name: 'deleteCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'deleteCustomerAddress': { name: 'deleteCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Success'; ofType: null; }; } }; 'deleteSharedCart': { name: 'deleteSharedCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'deleteShoppingList': { name: 'deleteShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'initiateSharedCartCheckout': { name: 'initiateSharedCartCheckout'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'inviteCompanyUser': { name: 'inviteCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'logSearchListViewed': { name: 'logSearchListViewed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'logSearchResultClicked': { name: 'logSearchResultClicked'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'login': { name: 'login'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'NativeAuthenticationResult'; ofType: null; }; } }; 'logout': { name: 'logout'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Success'; ofType: null; }; } }; 'moveShoppingListItems': { name: 'moveShoppingListItems'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'refreshCustomerVerification': { name: 'refreshCustomerVerification'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RefreshCustomerVerificationResult'; ofType: null; }; } }; 'registerCompany': { name: 'registerCompany'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'registerCustomerAccount': { name: 'registerCustomerAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RegisterCustomerAccountResult'; ofType: null; }; } }; 'rejectQuote': { name: 'rejectQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'removeAllOrderLines': { name: 'removeAllOrderLines'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveOrderItemsResult'; ofType: null; }; } }; 'removeCompanyTaxId': { name: 'removeCompanyTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'removeCompanyUser': { name: 'removeCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'removeCouponCode': { name: 'removeCouponCode'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'removeFromShoppingList': { name: 'removeFromShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'removeOrderLine': { name: 'removeOrderLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RemoveOrderItemsResult'; ofType: null; }; } }; 'removeProductConfigurationFromOrder': { name: 'removeProductConfigurationFromOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'removeSharedCartLine': { name: 'removeSharedCartLine'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'removeSharedCartMember': { name: 'removeSharedCartMember'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'removeStoreCreditFromOrder': { name: 'removeStoreCreditFromOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'removeTaxId': { name: 'removeTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'DeletionResponse'; ofType: null; }; } }; 'requestPasswordReset': { name: 'requestPasswordReset'; type: { kind: 'UNION'; name: 'RequestPasswordResetResult'; ofType: null; } }; 'requestQuote': { name: 'requestQuote'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestQuoteChanges': { name: 'requestQuoteChanges'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestQuoteFromCart': { name: 'requestQuoteFromCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'requestUpdateCustomerEmailAddress': { name: 'requestUpdateCustomerEmailAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'RequestUpdateCustomerEmailAddressResult'; ofType: null; }; } }; 'resetPassword': { name: 'resetPassword'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ResetPasswordResult'; ofType: null; }; } }; 'setCurrencyCodeForOrder': { name: 'setCurrencyCodeForOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateOrderItemsResult'; ofType: null; }; } }; 'setCustomerForOrder': { name: 'setCustomerForOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetCustomerForOrderResult'; ofType: null; }; } }; 'setDefaultTaxId': { name: 'setDefaultTaxId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; } }; 'setOrderBillingAddress': { name: 'setOrderBillingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderCustomFields': { name: 'setOrderCustomFields'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderShippingAddress': { name: 'setOrderShippingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'setOrderShippingMethod': { name: 'setOrderShippingMethod'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'SetOrderShippingMethodResult'; ofType: null; }; } }; 'setSharedCartMemberRole': { name: 'setSharedCartMemberRole'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'setShoppingListVisibility': { name: 'setShoppingListVisibility'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'submitApprovalDecision': { name: 'submitApprovalDecision'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequest'; ofType: null; }; } }; 'submitQuoteRequest': { name: 'submitQuoteRequest'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Quote'; ofType: null; }; } }; 'switchBusinessUnit': { name: 'switchBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'transferPunchoutCart': { name: 'transferPunchoutCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PunchoutCartTransferResult'; ofType: null; }; } }; 'transferSharedCartOwnership': { name: 'transferSharedCartOwnership'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'transitionOrderToState': { name: 'transitionOrderToState'; type: { kind: 'UNION'; name: 'TransitionOrderToStateResult'; ofType: null; } }; 'unsetOrderBillingAddress': { name: 'unsetOrderBillingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'unsetOrderShippingAddress': { name: 'unsetOrderShippingAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ActiveOrderResult'; ofType: null; }; } }; 'updateCompanyAccount': { name: 'updateCompanyAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; }; } }; 'updateCompanyAddress': { name: 'updateCompanyAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; } }; 'updateCompanyBusinessUnit': { name: 'updateCompanyBusinessUnit'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; } }; 'updateCompanyUser': { name: 'updateCompanyUser'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; } }; 'updateCustomer': { name: 'updateCustomer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Customer'; ofType: null; }; } }; 'updateCustomerAddress': { name: 'updateCustomerAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Address'; ofType: null; }; } }; 'updateCustomerEmailAddress': { name: 'updateCustomerEmailAddress'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateCustomerEmailAddressResult'; ofType: null; }; } }; 'updateCustomerPassword': { name: 'updateCustomerPassword'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'UpdateCustomerPasswordResult'; ofType: null; }; } }; 'updateProductConfigurationOnOrder': { name: 'updateProductConfigurationOnOrder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfiguration'; ofType: null; }; } }; 'updateSharedCart': { name: 'updateSharedCart'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; } }; 'updateShoppingList': { name: 'updateShoppingList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; } }; 'updateShoppingListItem': { name: 'updateShoppingListItem'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingListItem'; ofType: null; }; } }; 'validateQuickOrderItems': { name: 'validateQuickOrderItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuickOrderValidationResult'; ofType: null; }; } }; 'verifyCustomerAccount': { name: 'verifyCustomerAccount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'VerifyCustomerAccountResult'; ofType: null; }; } }; }; };
206
208
  'NativeAuthInput': { kind: 'INPUT_OBJECT'; name: 'NativeAuthInput'; isOneOf: false; inputFields: [{ name: 'username'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }, { name: 'password'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
207
209
  'NativeAuthStrategyError': { kind: 'OBJECT'; name: 'NativeAuthStrategyError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
208
210
  'NativeAuthenticationResult': { kind: 'UNION'; name: 'NativeAuthenticationResult'; fields: {}; possibleTypes: 'CurrentUser' | 'InvalidCredentialsError' | 'NativeAuthStrategyError' | 'NotVerifiedError'; };
209
211
  'NegativeQuantityError': { kind: 'OBJECT'; name: 'NegativeQuantityError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
210
212
  'NoActiveOrderError': { kind: 'OBJECT'; name: 'NoActiveOrderError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
211
- 'Node': { kind: 'INTERFACE'; name: 'Node'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; possibleTypes: 'Address' | 'ApprovalDecision' | 'ApprovalRequest' | 'Asset' | 'AuthenticationMethod' | 'Channel' | 'Collection' | 'Company' | 'CompanyAddress' | 'CompanyBusinessUnit' | 'CompanyPaymentMethod' | 'CompanyPermission' | 'CompanyRole' | 'CompanyUser' | 'ConfiguratorField' | 'ConfiguratorFieldOption' | 'ConfiguratorModule' | 'ConfiguratorSystem' | 'Country' | 'Customer' | 'CustomerGroup' | 'Facet' | 'FacetValue' | 'Fulfillment' | 'GiftCardTemplate' | 'HistoryEntry' | 'Order' | 'OrderLine' | 'PackagingUnit' | 'Payment' | 'PaymentMethod' | 'Product' | 'ProductConfiguration' | 'ProductConfigurationLine' | 'ProductOption' | 'ProductOptionGroup' | 'ProductPackagingUnit' | 'ProductVariant' | 'ProductVariantPackagingUnit' | 'Promotion' | 'Province' | 'Quote' | 'QuoteComment' | 'QuoteLineItem' | 'QuoteVersion' | 'Refund' | 'Role' | 'Seller' | 'ShippingMethod' | 'ShoppingList' | 'ShoppingListItem' | 'StoreCredit' | 'StoreCreditTransaction' | 'Surcharge' | 'Tag' | 'TaxCategory' | 'TaxId' | 'TaxRate' | 'User' | 'Zone'; };
213
+ 'Node': { kind: 'INTERFACE'; name: 'Node'; fields: { 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; possibleTypes: 'Address' | 'ApprovalDecision' | 'ApprovalRequest' | 'Asset' | 'AuthenticationMethod' | 'Channel' | 'Collection' | 'Company' | 'CompanyAddress' | 'CompanyBusinessUnit' | 'CompanyPaymentMethod' | 'CompanyPermission' | 'CompanyRole' | 'CompanyUser' | 'ConfiguratorField' | 'ConfiguratorFieldOption' | 'ConfiguratorModule' | 'ConfiguratorSystem' | 'Country' | 'Customer' | 'CustomerGroup' | 'Facet' | 'FacetValue' | 'Fulfillment' | 'GiftCardTemplate' | 'HistoryEntry' | 'Order' | 'OrderLine' | 'PackagingUnit' | 'Payment' | 'PaymentMethod' | 'Product' | 'ProductConfiguration' | 'ProductConfigurationLine' | 'ProductOption' | 'ProductOptionGroup' | 'ProductPackagingUnit' | 'ProductVariant' | 'ProductVariantPackagingUnit' | 'Promotion' | 'Province' | 'Quote' | 'QuoteComment' | 'QuoteLineItem' | 'QuoteVersion' | 'Refund' | 'Role' | 'Seller' | 'SharedCart' | 'SharedCartActivity' | 'SharedCartMember' | 'ShippingMethod' | 'ShoppingList' | 'ShoppingListItem' | 'StoreCredit' | 'StoreCreditTransaction' | 'Surcharge' | 'Tag' | 'TaxCategory' | 'TaxId' | 'TaxRate' | 'User' | 'Zone'; };
212
214
  'NotVerifiedError': { kind: 'OBJECT'; name: 'NotVerifiedError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
213
215
  'NumberListOperators': { kind: 'INPUT_OBJECT'; name: 'NumberListOperators'; isOneOf: false; inputFields: [{ name: 'inList'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; defaultValue: null }]; };
214
216
  'NumberOperators': { kind: 'INPUT_OBJECT'; name: 'NumberOperators'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; defaultValue: null }, { name: 'between'; type: { kind: 'INPUT_OBJECT'; name: 'NumberRange'; ofType: null; }; defaultValue: null }, { name: 'isNull'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }]; };
@@ -232,7 +234,7 @@ export type introspection_types = {
232
234
  'OrderType': { name: 'OrderType'; enumValues: 'Regular' | 'Seller' | 'Aggregate'; };
233
235
  'PackagingUnit': { kind: 'OBJECT'; name: 'PackagingUnit'; fields: { 'code': { name: 'code'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'translations': { name: 'translations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PackagingUnitTranslation'; ofType: null; }; }; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
234
236
  'PackagingUnitTranslation': { kind: 'OBJECT'; name: 'PackagingUnitTranslation'; fields: { 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'languageCode': { name: 'languageCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'LanguageCode'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
235
- 'PaginatedList': { kind: 'INTERFACE'; name: 'PaginatedList'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INTERFACE'; name: 'Node'; ofType: null; }; }; }; } }; 'totalItems': { name: 'totalItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; possibleTypes: 'ApprovalRequestList' | 'AssetList' | 'CollectionList' | 'CountryList' | 'CustomerList' | 'FacetList' | 'FacetValueList' | 'GiftCardTemplateList' | 'HistoryEntryList' | 'OrderList' | 'ProductList' | 'ProductVariantList' | 'PromotionList' | 'ProvinceList' | 'QuoteList' | 'RoleList' | 'ShippingMethodList' | 'ShoppingListItemList' | 'StoreCreditList' | 'TagList' | 'TaxIdList' | 'TaxRateList'; };
237
+ 'PaginatedList': { kind: 'INTERFACE'; name: 'PaginatedList'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INTERFACE'; name: 'Node'; ofType: null; }; }; }; } }; 'totalItems': { name: 'totalItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; possibleTypes: 'ApprovalRequestList' | 'AssetList' | 'CollectionList' | 'CountryList' | 'CustomerList' | 'FacetList' | 'FacetValueList' | 'GiftCardTemplateList' | 'HistoryEntryList' | 'OrderList' | 'ProductList' | 'ProductVariantList' | 'PromotionList' | 'ProvinceList' | 'QuoteList' | 'RoleList' | 'SharedCartList' | 'ShippingMethodList' | 'ShoppingListItemList' | 'StoreCreditList' | 'TagList' | 'TaxIdList' | 'TaxRateList'; };
236
238
  'PasswordAlreadySetError': { kind: 'OBJECT'; name: 'PasswordAlreadySetError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
237
239
  'PasswordResetTokenExpiredError': { kind: 'OBJECT'; name: 'PasswordResetTokenExpiredError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
238
240
  'PasswordResetTokenInvalidError': { kind: 'OBJECT'; name: 'PasswordResetTokenInvalidError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
@@ -244,7 +246,7 @@ export type introspection_types = {
244
246
  'PaymentMethod': { kind: 'OBJECT'; name: 'PaymentMethod'; fields: { 'checker': { name: 'checker'; type: { kind: 'OBJECT'; name: 'ConfigurableOperation'; ofType: null; } }; 'code': { name: 'code'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'enabled': { name: 'enabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'handler': { name: 'handler'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ConfigurableOperation'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'translations': { name: 'translations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaymentMethodTranslation'; ofType: null; }; }; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
245
247
  'PaymentMethodQuote': { kind: 'OBJECT'; name: 'PaymentMethodQuote'; fields: { 'code': { name: 'code'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'eligibilityMessage': { name: 'eligibilityMessage'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'isEligible': { name: 'isEligible'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
246
248
  'PaymentMethodTranslation': { kind: 'OBJECT'; name: 'PaymentMethodTranslation'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'languageCode': { name: 'languageCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'LanguageCode'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
247
- 'Permission': { name: 'Permission'; enumValues: 'Authenticated' | 'SuperAdmin' | 'Owner' | 'Public' | 'UpdateGlobalSettings' | 'CreateCatalog' | 'ReadCatalog' | 'UpdateCatalog' | 'DeleteCatalog' | 'CreateSettings' | 'ReadSettings' | 'UpdateSettings' | 'DeleteSettings' | 'CreateAdministrator' | 'ReadAdministrator' | 'UpdateAdministrator' | 'DeleteAdministrator' | 'CreateApiKey' | 'ReadApiKey' | 'UpdateApiKey' | 'DeleteApiKey' | 'CreateAsset' | 'ReadAsset' | 'UpdateAsset' | 'DeleteAsset' | 'CreateChannel' | 'ReadChannel' | 'UpdateChannel' | 'DeleteChannel' | 'CreateCollection' | 'ReadCollection' | 'UpdateCollection' | 'DeleteCollection' | 'CreateCountry' | 'ReadCountry' | 'UpdateCountry' | 'DeleteCountry' | 'CreateCustomer' | 'ReadCustomer' | 'UpdateCustomer' | 'DeleteCustomer' | 'CreateCustomerGroup' | 'ReadCustomerGroup' | 'UpdateCustomerGroup' | 'DeleteCustomerGroup' | 'CreateFacet' | 'ReadFacet' | 'UpdateFacet' | 'DeleteFacet' | 'CreateOrder' | 'ReadOrder' | 'UpdateOrder' | 'DeleteOrder' | 'CreatePaymentMethod' | 'ReadPaymentMethod' | 'UpdatePaymentMethod' | 'DeletePaymentMethod' | 'CreateProduct' | 'ReadProduct' | 'UpdateProduct' | 'DeleteProduct' | 'CreatePromotion' | 'ReadPromotion' | 'UpdatePromotion' | 'DeletePromotion' | 'CreateShippingMethod' | 'ReadShippingMethod' | 'UpdateShippingMethod' | 'DeleteShippingMethod' | 'CreateTag' | 'ReadTag' | 'UpdateTag' | 'DeleteTag' | 'CreateTaxCategory' | 'ReadTaxCategory' | 'UpdateTaxCategory' | 'DeleteTaxCategory' | 'CreateTaxRate' | 'ReadTaxRate' | 'UpdateTaxRate' | 'DeleteTaxRate' | 'CreateSeller' | 'ReadSeller' | 'UpdateSeller' | 'DeleteSeller' | 'CreateStockLocation' | 'ReadStockLocation' | 'UpdateStockLocation' | 'DeleteStockLocation' | 'CreateSystem' | 'ReadSystem' | 'UpdateSystem' | 'DeleteSystem' | 'CreateZone' | 'ReadZone' | 'UpdateZone' | 'DeleteZone' | 'AuditTrail' | 'CreateCompany' | 'ReadCompany' | 'UpdateCompany' | 'DeleteCompany' | 'CreateCompanyUser' | 'ReadCompanyUser' | 'UpdateCompanyUser' | 'DeleteCompanyUser' | 'CreateCompanyBusinessUnit' | 'ReadCompanyBusinessUnit' | 'UpdateCompanyBusinessUnit' | 'DeleteCompanyBusinessUnit' | 'CreateCompanyRole' | 'ReadCompanyRole' | 'UpdateCompanyRole' | 'DeleteCompanyRole' | 'CreateCompanyPermission' | 'ReadCompanyPermission' | 'UpdateCompanyPermission' | 'DeleteCompanyPermission' | 'CreateCompanyPaymentMethod' | 'ReadCompanyPaymentMethod' | 'UpdateCompanyPaymentMethod' | 'DeleteCompanyPaymentMethod' | 'GlobalSearch' | 'CurateSearch' | 'CreateAccessPolicy' | 'ReadAccessPolicy' | 'UpdateAccessPolicy' | 'DeleteAccessPolicy' | 'CreateTaxId' | 'ReadTaxId' | 'UpdateTaxId' | 'DeleteTaxId' | 'CreateShoppingList' | 'ReadShoppingList' | 'UpdateShoppingList' | 'DeleteShoppingList' | 'CreateStoreCredit' | 'ReadStoreCredit' | 'UpdateStoreCredit' | 'DeleteStoreCredit' | 'CreateQuoteManagement' | 'ReadQuoteManagement' | 'UpdateQuoteManagement' | 'DeleteQuoteManagement' | 'CreatePriceList' | 'ReadPriceList' | 'UpdatePriceList' | 'DeletePriceList' | 'CreatePackagingUnit' | 'ReadPackagingUnit' | 'UpdatePackagingUnit' | 'DeletePackagingUnit' | 'CreateConfigurator' | 'ReadConfigurator' | 'UpdateConfigurator' | 'DeleteConfigurator' | 'WorkflowEngine' | 'CreateApprovalPolicy' | 'ReadApprovalPolicy' | 'UpdateApprovalPolicy' | 'DeleteApprovalPolicy' | 'CreateApprovalRequest' | 'ReadApprovalRequest' | 'UpdateApprovalRequest' | 'DeleteApprovalRequest' | 'CreatePunchout' | 'ReadPunchout' | 'UpdatePunchout' | 'DeletePunchout' | 'ReadDashboardGlobalViews' | 'WriteDashboardGlobalViews'; };
249
+ 'Permission': { name: 'Permission'; enumValues: 'Authenticated' | 'SuperAdmin' | 'Owner' | 'Public' | 'UpdateGlobalSettings' | 'CreateCatalog' | 'ReadCatalog' | 'UpdateCatalog' | 'DeleteCatalog' | 'CreateSettings' | 'ReadSettings' | 'UpdateSettings' | 'DeleteSettings' | 'CreateAdministrator' | 'ReadAdministrator' | 'UpdateAdministrator' | 'DeleteAdministrator' | 'CreateApiKey' | 'ReadApiKey' | 'UpdateApiKey' | 'DeleteApiKey' | 'CreateAsset' | 'ReadAsset' | 'UpdateAsset' | 'DeleteAsset' | 'CreateChannel' | 'ReadChannel' | 'UpdateChannel' | 'DeleteChannel' | 'CreateCollection' | 'ReadCollection' | 'UpdateCollection' | 'DeleteCollection' | 'CreateCountry' | 'ReadCountry' | 'UpdateCountry' | 'DeleteCountry' | 'CreateCustomer' | 'ReadCustomer' | 'UpdateCustomer' | 'DeleteCustomer' | 'CreateCustomerGroup' | 'ReadCustomerGroup' | 'UpdateCustomerGroup' | 'DeleteCustomerGroup' | 'CreateFacet' | 'ReadFacet' | 'UpdateFacet' | 'DeleteFacet' | 'CreateOrder' | 'ReadOrder' | 'UpdateOrder' | 'DeleteOrder' | 'CreatePaymentMethod' | 'ReadPaymentMethod' | 'UpdatePaymentMethod' | 'DeletePaymentMethod' | 'CreateProduct' | 'ReadProduct' | 'UpdateProduct' | 'DeleteProduct' | 'CreatePromotion' | 'ReadPromotion' | 'UpdatePromotion' | 'DeletePromotion' | 'CreateShippingMethod' | 'ReadShippingMethod' | 'UpdateShippingMethod' | 'DeleteShippingMethod' | 'CreateTag' | 'ReadTag' | 'UpdateTag' | 'DeleteTag' | 'CreateTaxCategory' | 'ReadTaxCategory' | 'UpdateTaxCategory' | 'DeleteTaxCategory' | 'CreateTaxRate' | 'ReadTaxRate' | 'UpdateTaxRate' | 'DeleteTaxRate' | 'CreateSeller' | 'ReadSeller' | 'UpdateSeller' | 'DeleteSeller' | 'CreateStockLocation' | 'ReadStockLocation' | 'UpdateStockLocation' | 'DeleteStockLocation' | 'CreateSystem' | 'ReadSystem' | 'UpdateSystem' | 'DeleteSystem' | 'CreateZone' | 'ReadZone' | 'UpdateZone' | 'DeleteZone' | 'AuditTrail' | 'CreateCompany' | 'ReadCompany' | 'UpdateCompany' | 'DeleteCompany' | 'CreateCompanyUser' | 'ReadCompanyUser' | 'UpdateCompanyUser' | 'DeleteCompanyUser' | 'CreateCompanyBusinessUnit' | 'ReadCompanyBusinessUnit' | 'UpdateCompanyBusinessUnit' | 'DeleteCompanyBusinessUnit' | 'CreateCompanyRole' | 'ReadCompanyRole' | 'UpdateCompanyRole' | 'DeleteCompanyRole' | 'CreateCompanyPermission' | 'ReadCompanyPermission' | 'UpdateCompanyPermission' | 'DeleteCompanyPermission' | 'CreateCompanyPaymentMethod' | 'ReadCompanyPaymentMethod' | 'UpdateCompanyPaymentMethod' | 'DeleteCompanyPaymentMethod' | 'GlobalSearch' | 'CurateSearch' | 'CreateAccessPolicy' | 'ReadAccessPolicy' | 'UpdateAccessPolicy' | 'DeleteAccessPolicy' | 'CreateTaxId' | 'ReadTaxId' | 'UpdateTaxId' | 'DeleteTaxId' | 'CreateShoppingList' | 'ReadShoppingList' | 'UpdateShoppingList' | 'DeleteShoppingList' | 'CreateStoreCredit' | 'ReadStoreCredit' | 'UpdateStoreCredit' | 'DeleteStoreCredit' | 'CreateQuoteManagement' | 'ReadQuoteManagement' | 'UpdateQuoteManagement' | 'DeleteQuoteManagement' | 'SharedCart' | 'CreatePriceList' | 'ReadPriceList' | 'UpdatePriceList' | 'DeletePriceList' | 'CreatePackagingUnit' | 'ReadPackagingUnit' | 'UpdatePackagingUnit' | 'DeletePackagingUnit' | 'CreateConfigurator' | 'ReadConfigurator' | 'UpdateConfigurator' | 'DeleteConfigurator' | 'WorkflowEngine' | 'CreateApprovalPolicy' | 'ReadApprovalPolicy' | 'UpdateApprovalPolicy' | 'DeleteApprovalPolicy' | 'CreateApprovalRequest' | 'ReadApprovalRequest' | 'UpdateApprovalRequest' | 'DeleteApprovalRequest' | 'CreatePunchout' | 'ReadPunchout' | 'UpdatePunchout' | 'DeletePunchout' | 'ReadDashboardGlobalViews' | 'WriteDashboardGlobalViews'; };
248
250
  'PriceRange': { kind: 'OBJECT'; name: 'PriceRange'; fields: { 'max': { name: 'max'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'min': { name: 'min'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; }; };
249
251
  'PriceRangeInput': { kind: 'INPUT_OBJECT'; name: 'PriceRangeInput'; isOneOf: false; inputFields: [{ name: 'min'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; defaultValue: null }, { name: 'max'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; defaultValue: null }]; };
250
252
  'PriceTier': { kind: 'OBJECT'; name: 'PriceTier'; fields: { 'minQuantity': { name: 'minQuantity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'priceWithTax': { name: 'priceWithTax'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'willApplyOnAdd': { name: 'willApplyOnAdd'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
@@ -284,7 +286,7 @@ export type introspection_types = {
284
286
  'PunchoutAuthInput': { kind: 'INPUT_OBJECT'; name: 'PunchoutAuthInput'; isOneOf: false; inputFields: [{ name: 'token'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; defaultValue: null }]; };
285
287
  'PunchoutCartTransferResult': { kind: 'OBJECT'; name: 'PunchoutCartTransferResult'; fields: { 'browserFormPostUrl': { name: 'browserFormPostUrl'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'cxmlPayload': { name: 'cxmlPayload'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
286
288
  'PunchoutSessionInfo': { kind: 'OBJECT'; name: 'PunchoutSessionInfo'; fields: { 'buyerCookie': { name: 'buyerCookie'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'expiresAt': { name: 'expiresAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'extrinsics': { name: 'extrinsics'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'operation': { name: 'operation'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'tradingPartnerName': { name: 'tradingPartnerName'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
287
- 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'activeChannel': { name: 'activeChannel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Channel'; ofType: null; }; } }; 'activeCompanyUser': { name: 'activeCompanyUser'; type: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; } }; 'activeCustomer': { name: 'activeCustomer'; type: { kind: 'OBJECT'; name: 'Customer'; ofType: null; } }; 'activeOrder': { name: 'activeOrder'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'activePaymentMethods': { name: 'activePaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicPaymentMethod'; ofType: null; }; }; } }; 'activePunchoutSession': { name: 'activePunchoutSession'; type: { kind: 'OBJECT'; name: 'PunchoutSessionInfo'; ofType: null; } }; 'activeShippingMethods': { name: 'activeShippingMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicShippingMethod'; ofType: null; }; }; } }; 'activeUserShoppingList': { name: 'activeUserShoppingList'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'activeUserShoppingLists': { name: 'activeUserShoppingLists'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; }; }; } }; 'approvalHistoryForEntity': { name: 'approvalHistoryForEntity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequest'; ofType: null; }; }; }; } }; 'availableCountries': { name: 'availableCountries'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Country'; ofType: null; }; }; }; } }; 'collection': { name: 'collection'; type: { kind: 'OBJECT'; name: 'Collection'; ofType: null; } }; 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CollectionList'; ofType: null; }; } }; 'companyAccount': { name: 'companyAccount'; type: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; } }; 'companyAddresses': { name: 'companyAddresses'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; }; }; } }; 'companyBusinessUnits': { name: 'companyBusinessUnits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; }; }; } }; 'companyInvitation': { name: 'companyInvitation'; type: { kind: 'OBJECT'; name: 'CompanyInvitation'; ofType: null; } }; 'companyOrders': { name: 'companyOrders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrderList'; ofType: null; }; } }; 'companyPaymentMethods': { name: 'companyPaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyPaymentMethod'; ofType: null; }; }; }; } }; 'companyRoles': { name: 'companyRoles'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyRole'; ofType: null; }; }; }; } }; 'configuratorSystem': { name: 'configuratorSystem'; type: { kind: 'OBJECT'; name: 'ConfiguratorSystem'; ofType: null; } }; 'configuratorSystems': { name: 'configuratorSystems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ConfiguratorSystem'; ofType: null; }; }; }; } }; 'contentVersioningProductVariant': { name: 'contentVersioningProductVariant'; type: { kind: 'OBJECT'; name: 'ProductVariant'; ofType: null; } }; 'eligiblePaymentMethods': { name: 'eligiblePaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaymentMethodQuote'; ofType: null; }; }; }; } }; 'eligibleShippingMethods': { name: 'eligibleShippingMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShippingMethodQuote'; ofType: null; }; }; }; } }; 'evaluateProductConfiguration': { name: 'evaluateProductConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfigurationEvaluation'; ofType: null; }; } }; 'facet': { name: 'facet'; type: { kind: 'OBJECT'; name: 'Facet'; ofType: null; } }; 'facets': { name: 'facets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FacetList'; ofType: null; }; } }; 'giftCardTemplates': { name: 'giftCardTemplates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GiftCardTemplateList'; ofType: null; }; } }; 'me': { name: 'me'; type: { kind: 'OBJECT'; name: 'CurrentUser'; ofType: null; } }; 'myApprovalRequests': { name: 'myApprovalRequests'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequestList'; ofType: null; }; } }; 'myQuote': { name: 'myQuote'; type: { kind: 'OBJECT'; name: 'Quote'; ofType: null; } }; 'myQuotes': { name: 'myQuotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteList'; ofType: null; }; } }; 'myStoreCredits': { name: 'myStoreCredits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StoreCreditList'; ofType: null; }; } }; 'nextOrderStates': { name: 'nextOrderStates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'order': { name: 'order'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'orderByCode': { name: 'orderByCode'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'previewReorder': { name: 'previewReorder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReorderPreview'; ofType: null; }; } }; 'product': { name: 'product'; type: { kind: 'OBJECT'; name: 'Product'; ofType: null; } }; 'products': { name: 'products'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductList'; ofType: null; }; } }; 'publicShoppingList': { name: 'publicShoppingList'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'quickOrderSearch': { name: 'quickOrderSearch'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuickOrderSearchResult'; ofType: null; }; }; }; } }; 'quoteStockCheck': { name: 'quoteStockCheck'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteStockCheckResult'; ofType: null; }; } }; 'search': { name: 'search'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SearchResponse'; ofType: null; }; } }; 'searchCollections': { name: 'searchCollections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CollectionsResponse'; ofType: null; }; } }; 'searchExternal': { name: 'searchExternal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExternalIndexResponse'; ofType: null; }; }; }; } }; 'searchGlobal_search': { name: 'searchGlobal_search'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Global_searchResponse'; ofType: null; }; } }; 'shopCompanyUsers': { name: 'shopCompanyUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; }; }; } }; 'taxIds': { name: 'taxIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; }; }; } }; }; };
289
+ 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'activeChannel': { name: 'activeChannel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Channel'; ofType: null; }; } }; 'activeCompanyUser': { name: 'activeCompanyUser'; type: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; } }; 'activeCustomer': { name: 'activeCustomer'; type: { kind: 'OBJECT'; name: 'Customer'; ofType: null; } }; 'activeOrder': { name: 'activeOrder'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'activePaymentMethods': { name: 'activePaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicPaymentMethod'; ofType: null; }; }; } }; 'activePunchoutSession': { name: 'activePunchoutSession'; type: { kind: 'OBJECT'; name: 'PunchoutSessionInfo'; ofType: null; } }; 'activeShippingMethods': { name: 'activeShippingMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'OBJECT'; name: 'PublicShippingMethod'; ofType: null; }; }; } }; 'activeUserShoppingList': { name: 'activeUserShoppingList'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'activeUserShoppingLists': { name: 'activeUserShoppingLists'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; }; }; }; } }; 'approvalHistoryForEntity': { name: 'approvalHistoryForEntity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequest'; ofType: null; }; }; }; } }; 'availableCountries': { name: 'availableCountries'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Country'; ofType: null; }; }; }; } }; 'collection': { name: 'collection'; type: { kind: 'OBJECT'; name: 'Collection'; ofType: null; } }; 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CollectionList'; ofType: null; }; } }; 'companyAccount': { name: 'companyAccount'; type: { kind: 'OBJECT'; name: 'CompanyAccount'; ofType: null; } }; 'companyAddresses': { name: 'companyAddresses'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyAddress'; ofType: null; }; }; }; } }; 'companyBusinessUnits': { name: 'companyBusinessUnits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyBusinessUnit'; ofType: null; }; }; }; } }; 'companyInvitation': { name: 'companyInvitation'; type: { kind: 'OBJECT'; name: 'CompanyInvitation'; ofType: null; } }; 'companyOrders': { name: 'companyOrders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'OrderList'; ofType: null; }; } }; 'companyPaymentMethods': { name: 'companyPaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyPaymentMethod'; ofType: null; }; }; }; } }; 'companyRoles': { name: 'companyRoles'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyRole'; ofType: null; }; }; }; } }; 'companySharedCarts': { name: 'companySharedCarts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCartList'; ofType: null; }; } }; 'configuratorSystem': { name: 'configuratorSystem'; type: { kind: 'OBJECT'; name: 'ConfiguratorSystem'; ofType: null; } }; 'configuratorSystems': { name: 'configuratorSystems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ConfiguratorSystem'; ofType: null; }; }; }; } }; 'contentVersioningProductVariant': { name: 'contentVersioningProductVariant'; type: { kind: 'OBJECT'; name: 'ProductVariant'; ofType: null; } }; 'eligiblePaymentMethods': { name: 'eligiblePaymentMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'PaymentMethodQuote'; ofType: null; }; }; }; } }; 'eligibleShippingMethods': { name: 'eligibleShippingMethods'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShippingMethodQuote'; ofType: null; }; }; }; } }; 'evaluateProductConfiguration': { name: 'evaluateProductConfiguration'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductConfigurationEvaluation'; ofType: null; }; } }; 'facet': { name: 'facet'; type: { kind: 'OBJECT'; name: 'Facet'; ofType: null; } }; 'facets': { name: 'facets'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'FacetList'; ofType: null; }; } }; 'giftCardTemplates': { name: 'giftCardTemplates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GiftCardTemplateList'; ofType: null; }; } }; 'me': { name: 'me'; type: { kind: 'OBJECT'; name: 'CurrentUser'; ofType: null; } }; 'myApprovalRequests': { name: 'myApprovalRequests'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ApprovalRequestList'; ofType: null; }; } }; 'myQuote': { name: 'myQuote'; type: { kind: 'OBJECT'; name: 'Quote'; ofType: null; } }; 'myQuotes': { name: 'myQuotes'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteList'; ofType: null; }; } }; 'mySharedCarts': { name: 'mySharedCarts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCartList'; ofType: null; }; } }; 'myStoreCredits': { name: 'myStoreCredits'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'StoreCreditList'; ofType: null; }; } }; 'nextOrderStates': { name: 'nextOrderStates'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'order': { name: 'order'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'orderByCode': { name: 'orderByCode'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'previewReorder': { name: 'previewReorder'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ReorderPreview'; ofType: null; }; } }; 'product': { name: 'product'; type: { kind: 'OBJECT'; name: 'Product'; ofType: null; } }; 'products': { name: 'products'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ProductList'; ofType: null; }; } }; 'publicShoppingList': { name: 'publicShoppingList'; type: { kind: 'OBJECT'; name: 'ShoppingList'; ofType: null; } }; 'quickOrderSearch': { name: 'quickOrderSearch'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuickOrderSearchResult'; ofType: null; }; }; }; } }; 'quoteStockCheck': { name: 'quoteStockCheck'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuoteStockCheckResult'; ofType: null; }; } }; 'search': { name: 'search'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SearchResponse'; ofType: null; }; } }; 'searchCollections': { name: 'searchCollections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CollectionsResponse'; ofType: null; }; } }; 'searchExternal': { name: 'searchExternal'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'UNION'; name: 'ExternalIndexResponse'; ofType: null; }; }; }; } }; 'searchGlobal_search': { name: 'searchGlobal_search'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Global_searchResponse'; ofType: null; }; } }; 'sharedCart': { name: 'sharedCart'; type: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; } }; 'shopCompanyUsers': { name: 'shopCompanyUsers'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'CompanyUser'; ofType: null; }; }; }; } }; 'taxIds': { name: 'taxIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'TaxId'; ofType: null; }; }; }; } }; }; };
288
290
  'QuickOrderAddToOrderError': { kind: 'OBJECT'; name: 'QuickOrderAddToOrderError'; fields: { 'errorCode': { name: 'errorCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'ErrorCode'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; };
289
291
  'QuickOrderAddToOrderResult': { kind: 'UNION'; name: 'QuickOrderAddToOrderResult'; fields: {}; possibleTypes: 'QuickOrderAddToOrderError' | 'QuickOrderAddToOrderSuccess'; };
290
292
  'QuickOrderAddToOrderSuccess': { kind: 'OBJECT'; name: 'QuickOrderAddToOrderSuccess'; fields: { 'addedCount': { name: 'addedCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; 'messages': { name: 'messages'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'QuickOrderMessage'; ofType: null; }; }; }; } }; 'order': { name: 'order'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'skippedCount': { name: 'skippedCount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; };
@@ -356,6 +358,15 @@ export type introspection_types = {
356
358
  'Seller': { kind: 'OBJECT'; name: 'Seller'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
357
359
  'SetCustomerForOrderResult': { kind: 'UNION'; name: 'SetCustomerForOrderResult'; fields: {}; possibleTypes: 'AlreadyLoggedInError' | 'EmailAddressConflictError' | 'GuestCheckoutError' | 'NoActiveOrderError' | 'Order'; };
358
360
  'SetOrderShippingMethodResult': { kind: 'UNION'; name: 'SetOrderShippingMethodResult'; fields: {}; possibleTypes: 'IneligibleShippingMethodError' | 'NoActiveOrderError' | 'Order' | 'OrderModificationError'; };
361
+ 'SharedCart': { kind: 'OBJECT'; name: 'SharedCart'; fields: { 'activity': { name: 'activity'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCartActivity'; ofType: null; }; }; }; } }; 'businessUnitId': { name: 'businessUnitId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'companyId': { name: 'companyId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'members': { name: 'members'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCartMember'; ofType: null; }; }; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'order': { name: 'order'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Customer'; ofType: null; }; } }; 'status': { name: 'status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SharedCartStatus'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
362
+ 'SharedCartActivity': { kind: 'OBJECT'; name: 'SharedCartActivity'; fields: { 'action': { name: 'action'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'actor': { name: 'actor'; type: { kind: 'OBJECT'; name: 'Customer'; ofType: null; } }; 'actorLabel': { name: 'actorLabel'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'detail': { name: 'detail'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'targetCustomer': { name: 'targetCustomer'; type: { kind: 'OBJECT'; name: 'Customer'; ofType: null; } }; 'targetLineId': { name: 'targetLineId'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
363
+ 'SharedCartFilterParameter': { kind: 'INPUT_OBJECT'; name: 'SharedCartFilterParameter'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IDOperators'; ofType: null; }; defaultValue: null }, { name: 'createdAt'; type: { kind: 'INPUT_OBJECT'; name: 'DateOperators'; ofType: null; }; defaultValue: null }, { name: 'updatedAt'; type: { kind: 'INPUT_OBJECT'; name: 'DateOperators'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringOperators'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringOperators'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'StringOperators'; ofType: null; }; defaultValue: null }, { name: 'companyId'; type: { kind: 'INPUT_OBJECT'; name: 'IDOperators'; ofType: null; }; defaultValue: null }, { name: 'businessUnitId'; type: { kind: 'INPUT_OBJECT'; name: 'IDOperators'; ofType: null; }; defaultValue: null }, { name: '_and'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SharedCartFilterParameter'; ofType: null; }; }; }; defaultValue: null }, { name: '_or'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'SharedCartFilterParameter'; ofType: null; }; }; }; defaultValue: null }]; };
364
+ 'SharedCartList': { kind: 'OBJECT'; name: 'SharedCartList'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SharedCart'; ofType: null; }; }; }; } }; 'totalItems': { name: 'totalItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; };
365
+ 'SharedCartListOptions': { kind: 'INPUT_OBJECT'; name: 'SharedCartListOptions'; isOneOf: false; inputFields: [{ name: 'skip'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'take'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'sort'; type: { kind: 'INPUT_OBJECT'; name: 'SharedCartSortParameter'; ofType: null; }; defaultValue: null }, { name: 'filter'; type: { kind: 'INPUT_OBJECT'; name: 'SharedCartFilterParameter'; ofType: null; }; defaultValue: null }, { name: 'filterOperator'; type: { kind: 'ENUM'; name: 'LogicalOperator'; ofType: null; }; defaultValue: null }]; };
366
+ 'SharedCartMember': { kind: 'OBJECT'; name: 'SharedCartMember'; fields: { 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'customer': { name: 'customer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Customer'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'role': { name: 'role'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SharedCartRole'; ofType: null; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
367
+ 'SharedCartRole': { name: 'SharedCartRole'; enumValues: 'view' | 'edit' | 'checkout'; };
368
+ 'SharedCartSortParameter': { kind: 'INPUT_OBJECT'; name: 'SharedCartSortParameter'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'createdAt'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'updatedAt'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'companyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'businessUnitId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; };
369
+ 'SharedCartStatus': { name: 'SharedCartStatus'; enumValues: 'Open' | 'Locked' | 'Closed'; };
359
370
  'ShippingLine': { kind: 'OBJECT'; name: 'ShippingLine'; fields: { 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'discountedPrice': { name: 'discountedPrice'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'discountedPriceWithTax': { name: 'discountedPriceWithTax'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'discounts': { name: 'discounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Discount'; ofType: null; }; }; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'priceWithTax': { name: 'priceWithTax'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Money'; ofType: null; }; } }; 'shippingMethod': { name: 'shippingMethod'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShippingMethod'; ofType: null; }; } }; }; };
360
371
  'ShippingMethod': { kind: 'OBJECT'; name: 'ShippingMethod'; fields: { 'calculator': { name: 'calculator'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ConfigurableOperation'; ofType: null; }; } }; 'checker': { name: 'checker'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ConfigurableOperation'; ofType: null; }; } }; 'code': { name: 'code'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'customFields': { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'fulfillmentHandlerCode': { name: 'fulfillmentHandlerCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'languageCode': { name: 'languageCode'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'LanguageCode'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'translations': { name: 'translations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShippingMethodTranslation'; ofType: null; }; }; }; } }; 'updatedAt': { name: 'updatedAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
361
372
  'ShippingMethodList': { kind: 'OBJECT'; name: 'ShippingMethodList'; fields: { 'items': { name: 'items'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'ShippingMethod'; ofType: null; }; }; }; } }; 'totalItems': { name: 'totalItems'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; } }; }; };
@@ -426,6 +437,8 @@ export type introspection_types = {
426
437
  'UpdateOrderItemErrorResult': { kind: 'UNION'; name: 'UpdateOrderItemErrorResult'; fields: {}; possibleTypes: 'InsufficientStockError' | 'NegativeQuantityError' | 'OrderInterceptorError' | 'OrderLimitError' | 'OrderModificationError'; };
427
438
  'UpdateOrderItemsResult': { kind: 'UNION'; name: 'UpdateOrderItemsResult'; fields: {}; possibleTypes: 'InsufficientStockError' | 'NegativeQuantityError' | 'Order' | 'OrderInterceptorError' | 'OrderLimitError' | 'OrderModificationError'; };
428
439
  'UpdateProductConfigurationOnOrderInput': { kind: 'INPUT_OBJECT'; name: 'UpdateProductConfigurationOnOrderInput'; isOneOf: false; inputFields: [{ name: 'productConfigurationId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'values'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'INPUT_OBJECT'; name: 'ConfiguratorValueInput'; ofType: null; }; }; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
440
+ 'UpdateSharedCartInput': { kind: 'INPUT_OBJECT'; name: 'UpdateSharedCartInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
441
+ 'UpdateSharedCartMemberInput': { kind: 'INPUT_OBJECT'; name: 'UpdateSharedCartMemberInput'; isOneOf: false; inputFields: [{ name: 'sharedCartId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'customerId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'role'; type: { kind: 'ENUM'; name: 'SharedCartRole'; ofType: null; }; defaultValue: null }]; };
429
442
  'UpdateShoppingListInput': { kind: 'INPUT_OBJECT'; name: 'UpdateShoppingListInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; };
430
443
  'UpdateShoppingListItemInput': { kind: 'INPUT_OBJECT'; name: 'UpdateShoppingListItemInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; }; defaultValue: null }, { name: 'note'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'quantity'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'sortOrder'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'customFields'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; defaultValue: null }]; };
431
444
  'Upload': unknown;
@@ -84,6 +84,9 @@ const sharedConfig = {
84
84
  authToken: VENDURE_AUTH_TOKEN_HEADER,
85
85
  channelToken: VENDURE_CHANNEL_TOKEN_HEADER,
86
86
  },
87
+ // Dev-only guard: these operations return wrong-language results when no
88
+ // languageCode reaches the request (silent fallback to channel default).
89
+ warnOnMissingLanguageCode: ['search', 'searchCollections', 'quickOrderSearch'],
87
90
  } as const;
88
91
 
89
92
  /**
@@ -113,10 +116,11 @@ export const client = createClient({
113
116
  channelToken: safeGetChannelToken,
114
117
  companyId: safeGetCompanyId,
115
118
  businessUnitId: safeGetBusinessUnitId,
116
- // languageCode is NOT included here because with cacheComponents: true,
117
- // every server component is an implicit cache scope where getLocale()
118
- // triggers headers() which is forbidden. Instead, languageCode is passed
119
- // explicitly via VendureContext or query options.
119
+ // Resolves the route locale via next-intl's getLocale(); fails soft
120
+ // (undefined) outside request scope. Not available on publicClient —
121
+ // 'use cache' scopes must receive languageCode as an explicit argument
122
+ // since it is part of the cache key.
123
+ languageCode: safeGetLanguageCode,
120
124
  },
121
125
  });
122
126
 
@@ -1144,3 +1144,99 @@ export const AddReorderToActiveOrderMutation = graphql(`
1144
1144
  }
1145
1145
  }
1146
1146
  `);
1147
+
1148
+ export const CreateSharedCartMutation = graphql(`
1149
+ mutation CreateSharedCart($input: CreateSharedCartInput!) {
1150
+ createSharedCart(input: $input) {
1151
+ id
1152
+ }
1153
+ }
1154
+ `);
1155
+
1156
+ export const UpdateSharedCartMutation = graphql(`
1157
+ mutation UpdateSharedCart($input: UpdateSharedCartInput!) {
1158
+ updateSharedCart(input: $input) {
1159
+ id
1160
+ name
1161
+ description
1162
+ }
1163
+ }
1164
+ `);
1165
+
1166
+ export const DeleteSharedCartMutation = graphql(`
1167
+ mutation DeleteSharedCart($id: ID!) {
1168
+ deleteSharedCart(id: $id) {
1169
+ result
1170
+ message
1171
+ }
1172
+ }
1173
+ `);
1174
+
1175
+ export const AddItemToSharedCartMutation = graphql(`
1176
+ mutation AddItemToSharedCart($sharedCartId: ID!, $productVariantId: ID!, $quantity: Int!) {
1177
+ addItemToSharedCart(
1178
+ sharedCartId: $sharedCartId
1179
+ productVariantId: $productVariantId
1180
+ quantity: $quantity
1181
+ ) {
1182
+ id
1183
+ }
1184
+ }
1185
+ `);
1186
+
1187
+ export const AdjustSharedCartLineMutation = graphql(`
1188
+ mutation AdjustSharedCartLine($sharedCartId: ID!, $lineId: ID!, $quantity: Int!) {
1189
+ adjustSharedCartLine(sharedCartId: $sharedCartId, lineId: $lineId, quantity: $quantity) {
1190
+ id
1191
+ }
1192
+ }
1193
+ `);
1194
+
1195
+ export const RemoveSharedCartLineMutation = graphql(`
1196
+ mutation RemoveSharedCartLine($sharedCartId: ID!, $lineId: ID!) {
1197
+ removeSharedCartLine(sharedCartId: $sharedCartId, lineId: $lineId) {
1198
+ id
1199
+ }
1200
+ }
1201
+ `);
1202
+
1203
+ export const AddSharedCartMemberMutation = graphql(`
1204
+ mutation AddSharedCartMember($input: CreateSharedCartMemberInput!) {
1205
+ addSharedCartMember(input: $input) {
1206
+ id
1207
+ }
1208
+ }
1209
+ `);
1210
+
1211
+ export const RemoveSharedCartMemberMutation = graphql(`
1212
+ mutation RemoveSharedCartMember($sharedCartId: ID!, $customerId: ID!) {
1213
+ removeSharedCartMember(sharedCartId: $sharedCartId, customerId: $customerId) {
1214
+ id
1215
+ }
1216
+ }
1217
+ `);
1218
+
1219
+ export const SetSharedCartMemberRoleMutation = graphql(`
1220
+ mutation SetSharedCartMemberRole($input: UpdateSharedCartMemberInput!) {
1221
+ setSharedCartMemberRole(input: $input) {
1222
+ id
1223
+ }
1224
+ }
1225
+ `);
1226
+
1227
+ export const TransferSharedCartOwnershipMutation = graphql(`
1228
+ mutation TransferSharedCartOwnership($sharedCartId: ID!, $newOwnerCustomerId: ID!) {
1229
+ transferSharedCartOwnership(sharedCartId: $sharedCartId, newOwnerCustomerId: $newOwnerCustomerId) {
1230
+ id
1231
+ }
1232
+ }
1233
+ `);
1234
+
1235
+ export const InitiateSharedCartCheckoutMutation = graphql(`
1236
+ mutation InitiateSharedCartCheckout($sharedCartId: ID!) {
1237
+ initiateSharedCartCheckout(sharedCartId: $sharedCartId) {
1238
+ id
1239
+ status
1240
+ }
1241
+ }
1242
+ `);
@@ -1436,3 +1436,145 @@ export const PreviewReorderQuery = graphql(`
1436
1436
  }
1437
1437
  }
1438
1438
  `);
1439
+
1440
+ // ---------------------------------------------------------------------------
1441
+ // Shared Carts (EE-13)
1442
+ // A SharedCart wraps a live Order plus a membership overlay. The list query is
1443
+ // kept light; the detail query carries full lines + the activity log so a
1444
+ // single poll refreshes the whole collaborative view. Fields are inlined (not
1445
+ // fragments) to match the masking-on convention of the other list queries.
1446
+ // ---------------------------------------------------------------------------
1447
+
1448
+ export const GetMySharedCartsQuery = graphql(`
1449
+ query GetMySharedCarts($options: SharedCartListOptions) {
1450
+ mySharedCarts(options: $options) {
1451
+ totalItems
1452
+ items {
1453
+ id
1454
+ name
1455
+ status
1456
+ updatedAt
1457
+ owner {
1458
+ id
1459
+ firstName
1460
+ lastName
1461
+ }
1462
+ members {
1463
+ role
1464
+ customer {
1465
+ id
1466
+ }
1467
+ }
1468
+ order {
1469
+ id
1470
+ currencyCode
1471
+ totalWithTax
1472
+ totalQuantity
1473
+ }
1474
+ }
1475
+ }
1476
+ }
1477
+ `);
1478
+
1479
+ // Company-wide list for company admins (ManageSharedCarts): every cart in the company, including
1480
+ // ones the admin isn't a member of. Same shape as GetMySharedCarts so the list page can render
1481
+ // either result interchangeably.
1482
+ export const GetCompanySharedCartsQuery = graphql(`
1483
+ query GetCompanySharedCarts($options: SharedCartListOptions) {
1484
+ companySharedCarts(options: $options) {
1485
+ totalItems
1486
+ items {
1487
+ id
1488
+ name
1489
+ status
1490
+ updatedAt
1491
+ owner {
1492
+ id
1493
+ firstName
1494
+ lastName
1495
+ }
1496
+ members {
1497
+ role
1498
+ customer {
1499
+ id
1500
+ }
1501
+ }
1502
+ order {
1503
+ id
1504
+ currencyCode
1505
+ totalWithTax
1506
+ totalQuantity
1507
+ }
1508
+ }
1509
+ }
1510
+ }
1511
+ `);
1512
+
1513
+ export const GetSharedCartQuery = graphql(`
1514
+ query GetSharedCart($id: ID!) {
1515
+ sharedCart(id: $id) {
1516
+ id
1517
+ name
1518
+ description
1519
+ status
1520
+ createdAt
1521
+ updatedAt
1522
+ companyId
1523
+ owner {
1524
+ id
1525
+ firstName
1526
+ lastName
1527
+ emailAddress
1528
+ }
1529
+ members {
1530
+ role
1531
+ customer {
1532
+ id
1533
+ firstName
1534
+ lastName
1535
+ emailAddress
1536
+ }
1537
+ }
1538
+ order {
1539
+ id
1540
+ code
1541
+ currencyCode
1542
+ subTotalWithTax
1543
+ totalWithTax
1544
+ totalQuantity
1545
+ customer {
1546
+ id
1547
+ firstName
1548
+ lastName
1549
+ }
1550
+ lines {
1551
+ id
1552
+ quantity
1553
+ unitPriceWithTax
1554
+ linePriceWithTax
1555
+ productVariant {
1556
+ id
1557
+ name
1558
+ sku
1559
+ }
1560
+ featuredAsset {
1561
+ preview
1562
+ }
1563
+ }
1564
+ }
1565
+ activity {
1566
+ id
1567
+ createdAt
1568
+ action
1569
+ targetLineId
1570
+ detail
1571
+ actorLabel
1572
+ targetCustomer {
1573
+ id
1574
+ firstName
1575
+ lastName
1576
+ }
1577
+ }
1578
+ }
1579
+ }
1580
+ `);