@commercetools-frontend/application-shell 21.8.0 → 21.10.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 (53) hide show
  1. package/dist/{application-entry-point-f22a0ec9.cjs.dev.js → application-entry-point-4de6686c.cjs.dev.js} +48 -14
  2. package/dist/{application-entry-point-dc4da815.cjs.prod.js → application-entry-point-9a23a345.cjs.prod.js} +48 -14
  3. package/dist/{application-entry-point-14c74303.esm.js → application-entry-point-a5b662f7.esm.js} +48 -16
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +9 -4
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +9 -4
  6. package/dist/commercetools-frontend-application-shell.esm.js +6 -4
  7. package/dist/{constants-3cf6ed64.esm.js → constants-a3c850be.esm.js} +4 -1
  8. package/dist/{constants-bf2e1d68.cjs.dev.js → constants-c2c238ff.cjs.prod.js} +4 -1
  9. package/dist/{constants-f34da47c.cjs.prod.js → constants-d9a5241e.cjs.dev.js} +4 -1
  10. package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +1 -1
  11. package/dist/declarations/src/configure-apollo.d.ts +2 -1
  12. package/dist/declarations/src/constants.d.ts +3 -0
  13. package/dist/declarations/src/export-types.d.ts +9 -0
  14. package/dist/declarations/src/index.d.ts +2 -0
  15. package/dist/declarations/src/test-utils/test-utils.d.ts +3 -3
  16. package/dist/declarations/src/types/generated/ctp.d.ts +603 -4
  17. package/dist/declarations/src/types/generated/mc.d.ts +11 -0
  18. package/dist/declarations/src/types/generated/settings.d.ts +104 -8
  19. package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +1 -1
  20. package/dist/declarations/src/utils/gtm.d.ts +3 -3
  21. package/dist/declarations/src/utils/http-client.d.ts +19 -0
  22. package/dist/declarations/src/utils/oidc-storage.d.ts +2 -2
  23. package/dist/{index-691497c4.esm.js → index-5062ecc2.esm.js} +254 -102
  24. package/dist/{index-b937ebec.cjs.prod.js → index-e96ff96a.cjs.prod.js} +257 -100
  25. package/dist/{index-b67a270d.cjs.dev.js → index-f576ae07.cjs.dev.js} +257 -100
  26. package/dist/{oidc-82e151f9.cjs.prod.js → oidc-5b507512.cjs.prod.js} +1 -1
  27. package/dist/{oidc-8af521ca.esm.js → oidc-5cae2dba.esm.js} +1 -1
  28. package/dist/{oidc-ff089e6f.cjs.dev.js → oidc-9134face.cjs.dev.js} +1 -1
  29. package/dist/{project-expired-3ff8b6af.cjs.dev.js → project-expired-1f22bb6e.cjs.dev.js} +7 -5
  30. package/dist/{project-expired-f6ee2c5a.cjs.prod.js → project-expired-3802e644.cjs.prod.js} +7 -5
  31. package/dist/{project-expired-af63adca.esm.js → project-expired-609688e8.esm.js} +7 -5
  32. package/dist/{project-not-found-4d6af409.cjs.prod.js → project-not-found-2bf5f586.cjs.dev.js} +7 -5
  33. package/dist/{project-not-found-0fb97434.cjs.dev.js → project-not-found-345a1103.cjs.prod.js} +7 -5
  34. package/dist/{project-not-found-a8ec89b8.esm.js → project-not-found-931cbb6b.esm.js} +7 -5
  35. package/dist/{project-not-initialized-1a4af9f3.cjs.dev.js → project-not-initialized-24d58aac.cjs.dev.js} +7 -5
  36. package/dist/{project-not-initialized-7fb913bb.esm.js → project-not-initialized-69a8f77c.esm.js} +7 -5
  37. package/dist/{project-not-initialized-e67beb94.cjs.prod.js → project-not-initialized-f840b682.cjs.prod.js} +7 -5
  38. package/dist/{project-suspended-dc511990.cjs.prod.js → project-suspended-283ebad8.cjs.prod.js} +7 -5
  39. package/dist/{project-suspended-a3e8e976.cjs.dev.js → project-suspended-a21d49f2.cjs.dev.js} +7 -5
  40. package/dist/{project-suspended-b8d28c48.esm.js → project-suspended-b650b271.esm.js} +7 -5
  41. package/dist/{quick-access-69f5ce27.esm.js → quick-access-193a477e.esm.js} +6 -4
  42. package/dist/{quick-access-3c5120c2.cjs.prod.js → quick-access-6368a1c1.cjs.prod.js} +6 -4
  43. package/dist/{quick-access-c71b6351.cjs.dev.js → quick-access-d42f4898.cjs.dev.js} +6 -4
  44. package/dist/{service-page-project-switcher-76aa47ce.cjs.dev.js → service-page-project-switcher-5d2bef22.cjs.dev.js} +1 -1
  45. package/dist/{service-page-project-switcher-7dcfaf3a.cjs.prod.js → service-page-project-switcher-5e28ee0f.cjs.prod.js} +1 -1
  46. package/dist/{service-page-project-switcher-dffc7091.esm.js → service-page-project-switcher-ea8878cf.esm.js} +1 -1
  47. package/package.json +41 -41
  48. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
  49. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
  50. package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
  51. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
  52. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
  53. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
@@ -119,6 +119,7 @@ export declare type TAddCartLineItem = {
119
119
  externalPrice?: InputMaybe<TBaseMoneyInput>;
120
120
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
121
121
  externalTotalPrice?: InputMaybe<TExternalLineItemTotalPriceDraft>;
122
+ inventoryMode?: InputMaybe<TInventoryMode>;
122
123
  productId?: InputMaybe<Scalars['String']>;
123
124
  quantity?: InputMaybe<Scalars['Long']>;
124
125
  shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
@@ -229,6 +230,7 @@ export declare type TAddProductPrice = {
229
230
  };
230
231
  export declare type TAddProductSelectionProduct = {
231
232
  product: TResourceIdentifierInput;
233
+ variantSelection?: InputMaybe<TProductVariantSelectionDraft>;
232
234
  };
233
235
  export declare type TAddProductToCategory = {
234
236
  category: TResourceIdentifierInput;
@@ -320,6 +322,7 @@ export declare type TAddStagedOrderLineItem = {
320
322
  externalPrice?: InputMaybe<TBaseMoneyInput>;
321
323
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
322
324
  externalTotalPrice?: InputMaybe<TExternalLineItemTotalPriceDraft>;
325
+ inventoryMode?: InputMaybe<TInventoryMode>;
323
326
  productId?: InputMaybe<Scalars['String']>;
324
327
  quantity?: InputMaybe<Scalars['Long']>;
325
328
  shippingDetails?: InputMaybe<TItemShippingDetailsDraftType>;
@@ -512,6 +515,9 @@ export declare type TApplyCartDeltaToLineItemShippingDetailsTargets = {
512
515
  lineItemId: Scalars['String'];
513
516
  targetsDelta: Array<TShippingTargetDraft>;
514
517
  };
518
+ export declare type TApplyStagedChanges = {
519
+ dummy?: InputMaybe<Scalars['String']>;
520
+ };
515
521
  export declare type TAsset = {
516
522
  __typename?: 'Asset';
517
523
  custom?: Maybe<TCustomFieldsType>;
@@ -748,6 +754,9 @@ export declare type TBooleanType = TFieldType & {
748
754
  __typename?: 'BooleanType';
749
755
  name: Scalars['String'];
750
756
  };
757
+ export declare type TCancelQuoteRequest = {
758
+ dummy?: InputMaybe<Scalars['String']>;
759
+ };
751
760
  export declare type TCart = TReferenceExpandable & TVersioned & {
752
761
  __typename?: 'Cart';
753
762
  anonymousId?: Maybe<Scalars['String']>;
@@ -993,6 +1002,7 @@ export declare type TCartUpdateAction = {
993
1002
  applyDeltaToCustomLineItemShippingDetailsTargets?: InputMaybe<TApplyCartDeltaToCustomLineItemShippingDetailsTargets>;
994
1003
  applyDeltaToLineItemShippingDetailsTargets?: InputMaybe<TApplyCartDeltaToLineItemShippingDetailsTargets>;
995
1004
  changeCustomLineItemMoney?: InputMaybe<TChangeCartCustomLineItemMoney>;
1005
+ changeCustomLineItemPriceMode?: InputMaybe<TChangeCartCustomLineItemPriceMode>;
996
1006
  changeCustomLineItemQuantity?: InputMaybe<TChangeCartCustomLineItemQuantity>;
997
1007
  changeLineItemQuantity?: InputMaybe<TChangeCartLineItemQuantity>;
998
1008
  changeTaxCalculationMode?: InputMaybe<TChangeCartTaxCalculationMode>;
@@ -1254,6 +1264,10 @@ export declare type TChangeCartCustomLineItemMoney = {
1254
1264
  customLineItemId: Scalars['String'];
1255
1265
  money: TBaseMoneyInput;
1256
1266
  };
1267
+ export declare type TChangeCartCustomLineItemPriceMode = {
1268
+ customLineItemId: Scalars['String'];
1269
+ mode: TCustomLineItemPriceMode;
1270
+ };
1257
1271
  export declare type TChangeCartCustomLineItemQuantity = {
1258
1272
  customLineItemId: Scalars['String'];
1259
1273
  quantity: Scalars['Long'];
@@ -1358,6 +1372,9 @@ export declare type TChangeInventoryEntryQuantity = {
1358
1372
  export declare type TChangeMyCartTaxMode = {
1359
1373
  taxMode: TTaxMode;
1360
1374
  };
1375
+ export declare type TChangeMyQuoteMyQuoteState = {
1376
+ quoteState: TMyQuoteState;
1377
+ };
1361
1378
  export declare type TChangeOrderPaymentState = {
1362
1379
  paymentState: TPaymentState;
1363
1380
  };
@@ -1474,6 +1491,12 @@ export declare type TChangeProjectSettingsProductSearchIndexingEnabled = {
1474
1491
  export declare type TChangeProjectSettingsShoppingListsConfiguration = {
1475
1492
  shoppingListsConfiguration: TShoppingListsConfigurationInput;
1476
1493
  };
1494
+ export declare type TChangeQuoteRequestState = {
1495
+ quoteRequestState: TQuoteRequestState;
1496
+ };
1497
+ export declare type TChangeQuoteState = {
1498
+ quoteState: TMyQuoteState;
1499
+ };
1477
1500
  export declare type TChangeShippingMethodIsDefault = {
1478
1501
  isDefault: Scalars['Boolean'];
1479
1502
  };
@@ -1586,7 +1609,11 @@ export declare type TChangeStagedOrderTaxRoundingModeOutput = TStagedOrderUpdate
1586
1609
  taxRoundingMode: TRoundingMode;
1587
1610
  type: Scalars['String'];
1588
1611
  };
1612
+ export declare type TChangeStagedQuoteState = {
1613
+ stagedQuoteState: TStagedQuoteState;
1614
+ };
1589
1615
  export declare type TChangeStandalonePriceValue = {
1616
+ staged?: InputMaybe<Scalars['Boolean']>;
1590
1617
  value: TBaseMoneyInput;
1591
1618
  };
1592
1619
  export declare type TChangeStateInitial = {
@@ -1847,6 +1874,7 @@ export declare type TCustomLineItem = {
1847
1874
  money: TBaseMoney;
1848
1875
  name?: Maybe<Scalars['String']>;
1849
1876
  nameAllLocales: Array<TLocalizedString>;
1877
+ priceMode: TCustomLineItemPriceMode;
1850
1878
  quantity: Scalars['Long'];
1851
1879
  shippingDetails?: Maybe<TItemShippingDetails>;
1852
1880
  slug: Scalars['String'];
@@ -1887,6 +1915,21 @@ export declare type TCustomLineItemDraftOutput_NameArgs = {
1887
1915
  acceptLanguage?: InputMaybe<Array<Scalars['Locale']>>;
1888
1916
  locale?: InputMaybe<Scalars['Locale']>;
1889
1917
  };
1918
+ export declare type TCustomLineItemImportDraft = {
1919
+ custom?: InputMaybe<TCustomFieldsDraft>;
1920
+ money: TBaseMoneyInput;
1921
+ name: Array<TLocalizedStringItemInputType>;
1922
+ quantity: Scalars['Long'];
1923
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
1924
+ slug: Scalars['String'];
1925
+ state?: InputMaybe<Array<TItemStateDraftType>>;
1926
+ taxCategory?: InputMaybe<TResourceIdentifierInput>;
1927
+ taxRate?: InputMaybe<TTaxRateInput>;
1928
+ };
1929
+ export declare enum TCustomLineItemPriceMode {
1930
+ External = "External",
1931
+ Standard = "Standard"
1932
+ }
1890
1933
  export declare type TCustomLineItemReturnItem = TReturnItem & {
1891
1934
  __typename?: 'CustomLineItemReturnItem';
1892
1935
  comment?: Maybe<Scalars['String']>;
@@ -2344,6 +2387,12 @@ export declare type TDeliveryAddressSet = TMessagePayload & TOrderMessagePayload
2344
2387
  oldAddress?: Maybe<TAddress>;
2345
2388
  type: Scalars['String'];
2346
2389
  };
2390
+ export declare type TDeliveryDraft = {
2391
+ address?: InputMaybe<TAddressInput>;
2392
+ custom?: InputMaybe<TCustomFieldsDraft>;
2393
+ items: Array<TDeliveryItemDraftType>;
2394
+ parcels: Array<TParcelDraft>;
2395
+ };
2347
2396
  export declare type TDeliveryItem = {
2348
2397
  __typename?: 'DeliveryItem';
2349
2398
  id: Scalars['String'];
@@ -2482,11 +2531,19 @@ export declare type TDiscountedLineItemPortion = {
2482
2531
  discountRef: TReference;
2483
2532
  discountedAmount: TBaseMoney;
2484
2533
  };
2534
+ export declare type TDiscountedLineItemPortionDraft = {
2535
+ discount: TReferenceInput;
2536
+ discountedAmount: TBaseMoneyInput;
2537
+ };
2485
2538
  export declare type TDiscountedLineItemPrice = {
2486
2539
  __typename?: 'DiscountedLineItemPrice';
2487
2540
  includedDiscounts: Array<TDiscountedLineItemPortion>;
2488
2541
  value: TBaseMoney;
2489
2542
  };
2543
+ export declare type TDiscountedLineItemPriceDraft = {
2544
+ includedDiscounts?: InputMaybe<Array<TDiscountedLineItemPortionDraft>>;
2545
+ value: TBaseMoneyInput;
2546
+ };
2490
2547
  export declare type TDiscountedLineItemPriceForQuantity = {
2491
2548
  __typename?: 'DiscountedLineItemPriceForQuantity';
2492
2549
  discountedPrice: TDiscountedLineItemPrice;
@@ -2828,6 +2885,33 @@ export declare type TImportOrderCustomLineItemState = {
2828
2885
  customLineItemId: Scalars['String'];
2829
2886
  state: Array<TItemStateDraftType>;
2830
2887
  };
2888
+ export declare type TImportOrderDraft = {
2889
+ billingAddress?: InputMaybe<TAddressInput>;
2890
+ completedAt?: InputMaybe<Scalars['DateTime']>;
2891
+ country?: InputMaybe<Scalars['Country']>;
2892
+ custom?: InputMaybe<TCustomFieldsDraft>;
2893
+ customLineItems?: Array<TCustomLineItemImportDraft>;
2894
+ customerEmail?: InputMaybe<Scalars['String']>;
2895
+ customerGroup?: InputMaybe<TReferenceInput>;
2896
+ customerId?: InputMaybe<Scalars['String']>;
2897
+ inventoryMode?: InputMaybe<TInventoryMode>;
2898
+ itemShippingAddresses?: InputMaybe<Array<TAddressInput>>;
2899
+ lineItems?: Array<TLineItemImportDraft>;
2900
+ orderNumber?: InputMaybe<Scalars['String']>;
2901
+ orderState?: InputMaybe<TOrderState>;
2902
+ origin?: InputMaybe<TCartOrigin>;
2903
+ paymentInfo?: InputMaybe<TReferenceInput>;
2904
+ paymentState?: InputMaybe<TPaymentState>;
2905
+ shipmentState?: InputMaybe<TShipmentState>;
2906
+ shippingAddress?: InputMaybe<TAddressInput>;
2907
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
2908
+ shippingInfo?: InputMaybe<TShippingInfoImportDraft>;
2909
+ state?: InputMaybe<TReferenceInput>;
2910
+ store?: InputMaybe<TReferenceInput>;
2911
+ taxCalculationMode?: InputMaybe<TTaxCalculationMode>;
2912
+ taxedPrice?: InputMaybe<TTaxedPriceDraft>;
2913
+ totalPrice: TMoneyInput;
2914
+ };
2831
2915
  export declare type TImportOrderLineItemState = {
2832
2916
  lineItemId: Scalars['String'];
2833
2917
  state: Array<TItemStateDraftType>;
@@ -3140,7 +3224,7 @@ export declare type TLineItem = {
3140
3224
  distributionChannel?: Maybe<TChannel>;
3141
3225
  distributionChannelRef?: Maybe<TReference>;
3142
3226
  id: Scalars['String'];
3143
- inventoryMode?: Maybe<TItemShippingDetails>;
3227
+ inventoryMode?: Maybe<TInventoryMode>;
3144
3228
  lastModifiedAt?: Maybe<Scalars['DateTime']>;
3145
3229
  lineItemMode: TLineItemMode;
3146
3230
  name?: Maybe<Scalars['String']>;
@@ -3178,6 +3262,7 @@ export declare type TLineItemDraft = {
3178
3262
  externalPrice?: InputMaybe<TBaseMoneyInput>;
3179
3263
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
3180
3264
  externalTotalPrice?: InputMaybe<TExternalLineItemTotalPriceDraft>;
3265
+ inventoryMode?: InputMaybe<TInventoryMode>;
3181
3266
  productId?: InputMaybe<Scalars['String']>;
3182
3267
  quantity?: InputMaybe<Scalars['Long']>;
3183
3268
  shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
@@ -3193,6 +3278,7 @@ export declare type TLineItemDraftOutput = {
3193
3278
  externalPrice?: Maybe<TBaseMoney>;
3194
3279
  externalTaxRate?: Maybe<TExternalTaxRateDraftOutput>;
3195
3280
  externalTotalPrice?: Maybe<TExternalLineItemTotalPrice>;
3281
+ inventoryMode?: Maybe<TInventoryMode>;
3196
3282
  productId?: Maybe<Scalars['String']>;
3197
3283
  quantity?: Maybe<Scalars['Long']>;
3198
3284
  shippingDetails?: Maybe<TItemShippingDetailsDraftOutput>;
@@ -3200,6 +3286,19 @@ export declare type TLineItemDraftOutput = {
3200
3286
  supplyChannelResId?: Maybe<TResourceIdentifier>;
3201
3287
  variantId?: Maybe<Scalars['Int']>;
3202
3288
  };
3289
+ export declare type TLineItemImportDraft = {
3290
+ custom?: InputMaybe<TCustomFieldsDraft>;
3291
+ distributionChannel?: InputMaybe<TResourceIdentifierInput>;
3292
+ name: Array<TLocalizedStringItemInputType>;
3293
+ price: TProductPriceDataInput;
3294
+ productId?: InputMaybe<Scalars['String']>;
3295
+ quantity: Scalars['Long'];
3296
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
3297
+ state?: InputMaybe<Array<TItemStateDraftType>>;
3298
+ supplyChannel?: InputMaybe<TResourceIdentifierInput>;
3299
+ taxRate?: InputMaybe<TTaxRateInput>;
3300
+ variant: TProductVariantImportDraft;
3301
+ };
3203
3302
  export declare enum TLineItemMode {
3204
3303
  GiftLineItem = "GiftLineItem",
3205
3304
  Standard = "Standard"
@@ -3366,6 +3465,10 @@ export declare type TMe = TActiveCartInterface & TCartQueryInterface & TMeQueryI
3366
3465
  orders: TOrderQueryResult;
3367
3466
  payment?: Maybe<TMyPayment>;
3368
3467
  payments: TMyPaymentQueryResult;
3468
+ quote?: Maybe<TQuote>;
3469
+ quoteRequest?: Maybe<TQuoteRequest>;
3470
+ quoteRequests: TQuoteRequestQueryResult;
3471
+ quotes: TQuoteQueryResult;
3369
3472
  shoppingList?: Maybe<TShoppingList>;
3370
3473
  shoppingLists: TShoppingListQueryResult;
3371
3474
  };
@@ -3397,6 +3500,26 @@ export declare type TMe_PaymentsArgs = {
3397
3500
  sort?: InputMaybe<Array<Scalars['String']>>;
3398
3501
  where?: InputMaybe<Scalars['String']>;
3399
3502
  };
3503
+ export declare type TMe_QuoteArgs = {
3504
+ id?: InputMaybe<Scalars['String']>;
3505
+ key?: InputMaybe<Scalars['String']>;
3506
+ };
3507
+ export declare type TMe_QuoteRequestArgs = {
3508
+ id?: InputMaybe<Scalars['String']>;
3509
+ key?: InputMaybe<Scalars['String']>;
3510
+ };
3511
+ export declare type TMe_QuoteRequestsArgs = {
3512
+ limit?: InputMaybe<Scalars['Int']>;
3513
+ offset?: InputMaybe<Scalars['Int']>;
3514
+ sort?: InputMaybe<Array<Scalars['String']>>;
3515
+ where?: InputMaybe<Scalars['String']>;
3516
+ };
3517
+ export declare type TMe_QuotesArgs = {
3518
+ limit?: InputMaybe<Scalars['Int']>;
3519
+ offset?: InputMaybe<Scalars['Int']>;
3520
+ sort?: InputMaybe<Array<Scalars['String']>>;
3521
+ where?: InputMaybe<Scalars['String']>;
3522
+ };
3400
3523
  export declare type TMe_ShoppingListArgs = {
3401
3524
  id?: InputMaybe<Scalars['String']>;
3402
3525
  key?: InputMaybe<Scalars['String']>;
@@ -3588,19 +3711,25 @@ export declare type TMutation = {
3588
3711
  createInventoryEntry?: Maybe<TInventoryEntry>;
3589
3712
  createMyCart?: Maybe<TCart>;
3590
3713
  createMyOrderFromCart?: Maybe<TOrder>;
3714
+ createMyOrderFromQuote?: Maybe<TOrder>;
3591
3715
  createMyPayment?: Maybe<TMyPayment>;
3716
+ createMyQuoteRequest?: Maybe<TQuoteRequest>;
3592
3717
  createMyShoppingList?: Maybe<TShoppingList>;
3593
3718
  createOrUpdateCustomObject?: Maybe<TCustomObject>;
3594
3719
  createOrderEdit?: Maybe<TOrderEdit>;
3595
3720
  createOrderFromCart?: Maybe<TOrder>;
3721
+ createOrderFromQuote?: Maybe<TOrder>;
3596
3722
  createPayment?: Maybe<TPayment>;
3597
3723
  createProduct?: Maybe<TProduct>;
3598
3724
  createProductDiscount?: Maybe<TProductDiscount>;
3599
3725
  createProductSelection?: Maybe<TProductSelection>;
3600
3726
  createProductType?: Maybe<TProductTypeDefinition>;
3727
+ createQuote?: Maybe<TQuote>;
3728
+ createQuoteRequest?: Maybe<TQuoteRequest>;
3601
3729
  createReview?: Maybe<TReview>;
3602
3730
  createShippingMethod?: Maybe<TShippingMethod>;
3603
3731
  createShoppingList?: Maybe<TShoppingList>;
3732
+ createStagedQuote?: Maybe<TStagedQuote>;
3604
3733
  createStandalonePrice?: Maybe<TStandalonePrice>;
3605
3734
  createState?: Maybe<TState>;
3606
3735
  createStore?: Maybe<TStore>;
@@ -3643,9 +3772,12 @@ export declare type TMutation = {
3643
3772
  deleteProductDiscount?: Maybe<TProductDiscount>;
3644
3773
  deleteProductSelection?: Maybe<TProductSelection>;
3645
3774
  deleteProductType?: Maybe<TProductTypeDefinition>;
3775
+ deleteQuote?: Maybe<TQuote>;
3776
+ deleteQuoteRequest?: Maybe<TQuoteRequest>;
3646
3777
  deleteReview?: Maybe<TReview>;
3647
3778
  deleteShippingMethod?: Maybe<TShippingMethod>;
3648
3779
  deleteShoppingList?: Maybe<TShoppingList>;
3780
+ deleteStagedQuote?: Maybe<TStagedQuote>;
3649
3781
  deleteStandalonePrice?: Maybe<TStandalonePrice>;
3650
3782
  deleteState?: Maybe<TState>;
3651
3783
  deleteStore?: Maybe<TStore>;
@@ -3653,6 +3785,7 @@ export declare type TMutation = {
3653
3785
  deleteTaxCategory?: Maybe<TTaxCategory>;
3654
3786
  deleteTypeDefinition?: Maybe<TTypeDefinition>;
3655
3787
  deleteZone?: Maybe<TZone>;
3788
+ importOrder?: Maybe<TOrder>;
3656
3789
  replicateCart?: Maybe<TCart>;
3657
3790
  replicateMyCart?: Maybe<TCart>;
3658
3791
  updateAttributeGroup?: Maybe<TAttributeGroup>;
@@ -3668,6 +3801,8 @@ export declare type TMutation = {
3668
3801
  updateMyCart?: Maybe<TCart>;
3669
3802
  updateMyCustomer?: Maybe<TCustomer>;
3670
3803
  updateMyPayment?: Maybe<TMyPayment>;
3804
+ updateMyQuote?: Maybe<TQuote>;
3805
+ updateMyQuoteRequest?: Maybe<TQuoteRequest>;
3671
3806
  updateMyShoppingList?: Maybe<TShoppingList>;
3672
3807
  updateOrder?: Maybe<TOrder>;
3673
3808
  updateOrderEdit?: Maybe<TOrderEdit>;
@@ -3677,9 +3812,12 @@ export declare type TMutation = {
3677
3812
  updateProductSelection?: Maybe<TProductSelection>;
3678
3813
  updateProductType?: Maybe<TProductTypeDefinition>;
3679
3814
  updateProject?: Maybe<TProjectProjection>;
3815
+ updateQuote?: Maybe<TQuote>;
3816
+ updateQuoteRequest?: Maybe<TQuoteRequest>;
3680
3817
  updateReview?: Maybe<TReview>;
3681
3818
  updateShippingMethod?: Maybe<TShippingMethod>;
3682
3819
  updateShoppingList?: Maybe<TShoppingList>;
3820
+ updateStagedQuote?: Maybe<TStagedQuote>;
3683
3821
  updateStandalonePrice?: Maybe<TStandalonePrice>;
3684
3822
  updateState?: Maybe<TState>;
3685
3823
  updateStore?: Maybe<TStore>;
@@ -3727,9 +3865,15 @@ export declare type TMutation_CreateMyOrderFromCartArgs = {
3727
3865
  draft: TOrderMyCartCommand;
3728
3866
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3729
3867
  };
3868
+ export declare type TMutation_CreateMyOrderFromQuoteArgs = {
3869
+ draft: TOrderMyQuoteCommand;
3870
+ };
3730
3871
  export declare type TMutation_CreateMyPaymentArgs = {
3731
3872
  draft: TMyPaymentDraft;
3732
3873
  };
3874
+ export declare type TMutation_CreateMyQuoteRequestArgs = {
3875
+ draft: TMyQuoteRequestDraft;
3876
+ };
3733
3877
  export declare type TMutation_CreateMyShoppingListArgs = {
3734
3878
  draft: TMyShoppingListDraft;
3735
3879
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
@@ -3744,6 +3888,9 @@ export declare type TMutation_CreateOrderFromCartArgs = {
3744
3888
  draft: TOrderCartCommand;
3745
3889
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3746
3890
  };
3891
+ export declare type TMutation_CreateOrderFromQuoteArgs = {
3892
+ draft: TOrderQuoteCommand;
3893
+ };
3747
3894
  export declare type TMutation_CreatePaymentArgs = {
3748
3895
  draft: TPaymentDraft;
3749
3896
  };
@@ -3759,6 +3906,12 @@ export declare type TMutation_CreateProductSelectionArgs = {
3759
3906
  export declare type TMutation_CreateProductTypeArgs = {
3760
3907
  draft: TProductTypeDraft;
3761
3908
  };
3909
+ export declare type TMutation_CreateQuoteArgs = {
3910
+ draft: TQuoteDraft;
3911
+ };
3912
+ export declare type TMutation_CreateQuoteRequestArgs = {
3913
+ draft: TQuoteRequestDraft;
3914
+ };
3762
3915
  export declare type TMutation_CreateReviewArgs = {
3763
3916
  draft: TReviewDraft;
3764
3917
  };
@@ -3769,6 +3922,9 @@ export declare type TMutation_CreateShoppingListArgs = {
3769
3922
  draft: TShoppingListDraft;
3770
3923
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3771
3924
  };
3925
+ export declare type TMutation_CreateStagedQuoteArgs = {
3926
+ draft: TStagedQuoteDraft;
3927
+ };
3772
3928
  export declare type TMutation_CreateStandalonePriceArgs = {
3773
3929
  draft: TCreateStandalonePrice;
3774
3930
  };
@@ -3970,6 +4126,18 @@ export declare type TMutation_DeleteProductTypeArgs = {
3970
4126
  key?: InputMaybe<Scalars['String']>;
3971
4127
  version: Scalars['Long'];
3972
4128
  };
4129
+ export declare type TMutation_DeleteQuoteArgs = {
4130
+ id?: InputMaybe<Scalars['String']>;
4131
+ key?: InputMaybe<Scalars['String']>;
4132
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4133
+ version: Scalars['Long'];
4134
+ };
4135
+ export declare type TMutation_DeleteQuoteRequestArgs = {
4136
+ id?: InputMaybe<Scalars['String']>;
4137
+ key?: InputMaybe<Scalars['String']>;
4138
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4139
+ version: Scalars['Long'];
4140
+ };
3973
4141
  export declare type TMutation_DeleteReviewArgs = {
3974
4142
  id?: InputMaybe<Scalars['String']>;
3975
4143
  key?: InputMaybe<Scalars['String']>;
@@ -3988,6 +4156,12 @@ export declare type TMutation_DeleteShoppingListArgs = {
3988
4156
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3989
4157
  version: Scalars['Long'];
3990
4158
  };
4159
+ export declare type TMutation_DeleteStagedQuoteArgs = {
4160
+ id?: InputMaybe<Scalars['String']>;
4161
+ key?: InputMaybe<Scalars['String']>;
4162
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4163
+ version: Scalars['Long'];
4164
+ };
3991
4165
  export declare type TMutation_DeleteStandalonePriceArgs = {
3992
4166
  id?: InputMaybe<Scalars['String']>;
3993
4167
  key?: InputMaybe<Scalars['String']>;
@@ -4023,6 +4197,9 @@ export declare type TMutation_DeleteZoneArgs = {
4023
4197
  key?: InputMaybe<Scalars['String']>;
4024
4198
  version: Scalars['Long'];
4025
4199
  };
4200
+ export declare type TMutation_ImportOrderArgs = {
4201
+ draft: TImportOrderDraft;
4202
+ };
4026
4203
  export declare type TMutation_ReplicateCartArgs = {
4027
4204
  key?: InputMaybe<Scalars['String']>;
4028
4205
  reference: TReferenceInput;
@@ -4107,6 +4284,18 @@ export declare type TMutation_UpdateMyPaymentArgs = {
4107
4284
  id: Scalars['String'];
4108
4285
  version: Scalars['Long'];
4109
4286
  };
4287
+ export declare type TMutation_UpdateMyQuoteArgs = {
4288
+ actions: Array<TMyQuoteUpdateAction>;
4289
+ id?: InputMaybe<Scalars['String']>;
4290
+ key?: InputMaybe<Scalars['String']>;
4291
+ version: Scalars['Long'];
4292
+ };
4293
+ export declare type TMutation_UpdateMyQuoteRequestArgs = {
4294
+ actions: Array<TMyQuoteRequestUpdateAction>;
4295
+ id?: InputMaybe<Scalars['String']>;
4296
+ key?: InputMaybe<Scalars['String']>;
4297
+ version: Scalars['Long'];
4298
+ };
4110
4299
  export declare type TMutation_UpdateMyShoppingListArgs = {
4111
4300
  actions: Array<TMyShoppingListUpdateAction>;
4112
4301
  id?: InputMaybe<Scalars['String']>;
@@ -4162,6 +4351,18 @@ export declare type TMutation_UpdateProjectArgs = {
4162
4351
  actions: Array<TProjectSettingsUpdateAction>;
4163
4352
  version: Scalars['Long'];
4164
4353
  };
4354
+ export declare type TMutation_UpdateQuoteArgs = {
4355
+ actions: Array<TQuoteUpdateAction>;
4356
+ id?: InputMaybe<Scalars['String']>;
4357
+ key?: InputMaybe<Scalars['String']>;
4358
+ version: Scalars['Long'];
4359
+ };
4360
+ export declare type TMutation_UpdateQuoteRequestArgs = {
4361
+ actions: Array<TQuoteRequestUpdateAction>;
4362
+ id?: InputMaybe<Scalars['String']>;
4363
+ key?: InputMaybe<Scalars['String']>;
4364
+ version: Scalars['Long'];
4365
+ };
4165
4366
  export declare type TMutation_UpdateReviewArgs = {
4166
4367
  actions: Array<TReviewUpdateAction>;
4167
4368
  id?: InputMaybe<Scalars['String']>;
@@ -4181,6 +4382,12 @@ export declare type TMutation_UpdateShoppingListArgs = {
4181
4382
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
4182
4383
  version: Scalars['Long'];
4183
4384
  };
4385
+ export declare type TMutation_UpdateStagedQuoteArgs = {
4386
+ actions: Array<TStagedQuoteUpdateAction>;
4387
+ id?: InputMaybe<Scalars['String']>;
4388
+ key?: InputMaybe<Scalars['String']>;
4389
+ version: Scalars['Long'];
4390
+ };
4184
4391
  export declare type TMutation_UpdateStandalonePriceArgs = {
4185
4392
  actions: Array<TStandalonePriceUpdateAction>;
4186
4393
  id?: InputMaybe<Scalars['String']>;
@@ -4346,6 +4553,26 @@ export declare type TMyPaymentUpdateAction = {
4346
4553
  setMethodInfoMethod?: InputMaybe<TSetPaymentMethodInfoMethod>;
4347
4554
  setMethodInfoName?: InputMaybe<TSetPaymentMethodInfoName>;
4348
4555
  };
4556
+ export declare type TMyQuoteRequestDraft = {
4557
+ cartId: Scalars['String'];
4558
+ cartVersion: Scalars['Long'];
4559
+ comment?: InputMaybe<Scalars['String']>;
4560
+ };
4561
+ export declare type TMyQuoteRequestUpdateAction = {
4562
+ cancelQuoteRequest?: InputMaybe<TCancelQuoteRequest>;
4563
+ setCustomField?: InputMaybe<TSetMyQuoteRequestCustomField>;
4564
+ setCustomType?: InputMaybe<TSetMyQuoteRequestCustomType>;
4565
+ };
4566
+ export declare enum TMyQuoteState {
4567
+ Accepted = "Accepted",
4568
+ Declined = "Declined",
4569
+ Failed = "Failed"
4570
+ }
4571
+ export declare type TMyQuoteUpdateAction = {
4572
+ changeMyQuoteState?: InputMaybe<TChangeMyQuoteMyQuoteState>;
4573
+ setCustomField?: InputMaybe<TSetQuoteCustomField>;
4574
+ setCustomType?: InputMaybe<TSetQuoteCustomType>;
4575
+ };
4349
4576
  export declare type TMyShoppingListDraft = {
4350
4577
  custom?: InputMaybe<TCustomFieldsDraft>;
4351
4578
  deleteDaysAfterLastModification?: InputMaybe<Scalars['Int']>;
@@ -4674,6 +4901,10 @@ export declare type TOrderMyCartCommand = {
4674
4901
  id: Scalars['String'];
4675
4902
  version: Scalars['Long'];
4676
4903
  };
4904
+ export declare type TOrderMyQuoteCommand = {
4905
+ id: Scalars['String'];
4906
+ version: Scalars['Long'];
4907
+ };
4677
4908
  export declare type TOrderPaymentAdded = TMessagePayload & TOrderMessagePayload & {
4678
4909
  __typename?: 'OrderPaymentAdded';
4679
4910
  paymentRef: TReference;
@@ -4713,6 +4944,16 @@ export declare type TOrderQueryResult = {
4713
4944
  results: Array<TOrder>;
4714
4945
  total: Scalars['Long'];
4715
4946
  };
4947
+ export declare type TOrderQuoteCommand = {
4948
+ custom?: InputMaybe<TCustomFieldsDraft>;
4949
+ orderNumber?: InputMaybe<Scalars['String']>;
4950
+ orderState?: InputMaybe<TOrderState>;
4951
+ paymentState?: InputMaybe<TPaymentState>;
4952
+ quote?: InputMaybe<TResourceIdentifierInput>;
4953
+ shipmentState?: InputMaybe<TShipmentState>;
4954
+ state?: InputMaybe<TReferenceInput>;
4955
+ version: Scalars['Long'];
4956
+ };
4716
4957
  export declare type TOrderReturnShipmentStateChanged = TMessagePayload & TOrderMessagePayload & {
4717
4958
  __typename?: 'OrderReturnShipmentStateChanged';
4718
4959
  returnItemId: Scalars['String'];
@@ -4869,6 +5110,14 @@ export declare type TParcelDataDraftType = {
4869
5110
  measurements?: InputMaybe<TParcelMeasurementsDraftType>;
4870
5111
  trackingData?: InputMaybe<TTrackingDataDraftType>;
4871
5112
  };
5113
+ export declare type TParcelDraft = {
5114
+ createdAt: Scalars['DateTime'];
5115
+ custom?: InputMaybe<TCustomFieldsDraft>;
5116
+ id: Scalars['String'];
5117
+ items?: InputMaybe<Array<TDeliveryItemDraftType>>;
5118
+ measurements?: InputMaybe<TParcelMeasurementsDraftType>;
5119
+ trackingData?: InputMaybe<TTrackingDataDraftType>;
5120
+ };
4872
5121
  export declare type TParcelItemsUpdated = TMessagePayload & TOrderMessagePayload & {
4873
5122
  __typename?: 'ParcelItemsUpdated';
4874
5123
  deliveryId: Scalars['String'];
@@ -5152,6 +5401,7 @@ export declare type TProductAssignment = {
5152
5401
  productRef: TReference;
5153
5402
  productSelection?: Maybe<TProductSelection>;
5154
5403
  productSelectionRef: TReference;
5404
+ variantSelection?: Maybe<TProductVariantSelection>;
5155
5405
  };
5156
5406
  export declare type TProductAssignmentQueryResult = {
5157
5407
  __typename?: 'ProductAssignmentQueryResult';
@@ -5368,6 +5618,7 @@ export declare type TProductOfSelection = {
5368
5618
  __typename?: 'ProductOfSelection';
5369
5619
  product?: Maybe<TProduct>;
5370
5620
  productRef: TReference;
5621
+ variantSelection?: Maybe<TProductVariantSelection>;
5371
5622
  };
5372
5623
  export declare type TProductOfSelectionQueryResult = {
5373
5624
  __typename?: 'ProductOfSelectionQueryResult';
@@ -5722,6 +5973,7 @@ export declare type TProductSelectionProductAdded = TMessagePayload & {
5722
5973
  product?: Maybe<TProduct>;
5723
5974
  productRef: TReference;
5724
5975
  type: Scalars['String'];
5976
+ variantSelection?: Maybe<TProductVariantSelection>;
5725
5977
  };
5726
5978
  export declare type TProductSelectionProductRemoved = TMessagePayload & {
5727
5979
  __typename?: 'ProductSelectionProductRemoved';
@@ -5767,6 +6019,15 @@ export declare type TProductSelectionUpdateAction = {
5767
6019
  setCustomField?: InputMaybe<TSetProductSelectionCustomField>;
5768
6020
  setCustomType?: InputMaybe<TSetProductSelectionCustomType>;
5769
6021
  setKey?: InputMaybe<TSetProductSelectionKey>;
6022
+ setVariantSelection?: InputMaybe<TSetProductSelectionVariantSelection>;
6023
+ };
6024
+ export declare type TProductSelectionVariantSelectionChanged = TMessagePayload & {
6025
+ __typename?: 'ProductSelectionVariantSelectionChanged';
6026
+ newVariantSelection?: Maybe<TProductVariantSelection>;
6027
+ oldVariantSelection?: Maybe<TProductVariantSelection>;
6028
+ product?: Maybe<TProduct>;
6029
+ productRef: TReference;
6030
+ type: Scalars['String'];
5770
6031
  };
5771
6032
  export declare type TProductSlugChanged = TMessagePayload & {
5772
6033
  __typename?: 'ProductSlugChanged';
@@ -5977,6 +6238,13 @@ export declare type TProductVariantDeleted = TMessagePayload & {
5977
6238
  type: Scalars['String'];
5978
6239
  variant?: Maybe<TProductVariant>;
5979
6240
  };
6241
+ export declare type TProductVariantImportDraft = {
6242
+ attributes?: InputMaybe<Array<TProductAttributeInput>>;
6243
+ id?: InputMaybe<Scalars['Int']>;
6244
+ images?: InputMaybe<Array<TImageInput>>;
6245
+ prices?: InputMaybe<Array<TProductPriceDataInput>>;
6246
+ sku?: InputMaybe<Scalars['String']>;
6247
+ };
5980
6248
  export declare type TProductVariantInput = {
5981
6249
  assets?: InputMaybe<Array<TAssetDraftInput>>;
5982
6250
  attributes?: InputMaybe<Array<TProductAttributeInput>>;
@@ -5985,6 +6253,24 @@ export declare type TProductVariantInput = {
5985
6253
  prices?: InputMaybe<Array<TProductPriceDataInput>>;
5986
6254
  sku?: InputMaybe<Scalars['String']>;
5987
6255
  };
6256
+ export declare type TProductVariantSelection = {
6257
+ skus: Array<Scalars['String']>;
6258
+ type: Scalars['String'];
6259
+ };
6260
+ export declare type TProductVariantSelectionDraft = {
6261
+ exclusion?: InputMaybe<Array<Scalars['String']>>;
6262
+ inclusion?: InputMaybe<Array<Scalars['String']>>;
6263
+ };
6264
+ export declare type TProductVariantSelectionExclusion = TProductVariantSelection & {
6265
+ __typename?: 'ProductVariantSelectionExclusion';
6266
+ skus: Array<Scalars['String']>;
6267
+ type: Scalars['String'];
6268
+ };
6269
+ export declare type TProductVariantSelectionInclusion = TProductVariantSelection & {
6270
+ __typename?: 'ProductVariantSelectionInclusion';
6271
+ skus: Array<Scalars['String']>;
6272
+ type: Scalars['String'];
6273
+ };
5988
6274
  export declare type TProjectCustomLimitsProjection = {
5989
6275
  __typename?: 'ProjectCustomLimitsProjection';
5990
6276
  cartDiscounts: TCartDiscountLimitsProjection;
@@ -6099,6 +6385,10 @@ export declare type TQuery = TCartQueryInterface & TCustomerActiveCartInterface
6099
6385
  productTypes: TProductTypeDefinitionQueryResult;
6100
6386
  products: TProductQueryResult;
6101
6387
  project: TProjectProjection;
6388
+ quote?: Maybe<TQuote>;
6389
+ quoteRequest?: Maybe<TQuoteRequest>;
6390
+ quoteRequests: TQuoteRequestQueryResult;
6391
+ quotes: TQuoteQueryResult;
6102
6392
  review?: Maybe<TReview>;
6103
6393
  reviews: TReviewQueryResult;
6104
6394
  shippingMethod?: Maybe<TShippingMethod>;
@@ -6107,6 +6397,8 @@ export declare type TQuery = TCartQueryInterface & TCustomerActiveCartInterface
6107
6397
  shippingMethodsByLocation: Array<TShippingMethod>;
6108
6398
  shoppingList?: Maybe<TShoppingList>;
6109
6399
  shoppingLists: TShoppingListQueryResult;
6400
+ stagedQuote?: Maybe<TStagedQuote>;
6401
+ stagedQuotes: TStagedQuoteQueryResult;
6110
6402
  standalonePrice?: Maybe<TStandalonePrice>;
6111
6403
  standalonePrices: TStandalonePriceQueryResult;
6112
6404
  state?: Maybe<TState>;
@@ -6381,6 +6673,26 @@ export declare type TQuery_ProductsArgs = {
6381
6673
  sort?: InputMaybe<Array<Scalars['String']>>;
6382
6674
  where?: InputMaybe<Scalars['String']>;
6383
6675
  };
6676
+ export declare type TQuery_QuoteArgs = {
6677
+ id?: InputMaybe<Scalars['String']>;
6678
+ key?: InputMaybe<Scalars['String']>;
6679
+ };
6680
+ export declare type TQuery_QuoteRequestArgs = {
6681
+ id?: InputMaybe<Scalars['String']>;
6682
+ key?: InputMaybe<Scalars['String']>;
6683
+ };
6684
+ export declare type TQuery_QuoteRequestsArgs = {
6685
+ limit?: InputMaybe<Scalars['Int']>;
6686
+ offset?: InputMaybe<Scalars['Int']>;
6687
+ sort?: InputMaybe<Array<Scalars['String']>>;
6688
+ where?: InputMaybe<Scalars['String']>;
6689
+ };
6690
+ export declare type TQuery_QuotesArgs = {
6691
+ limit?: InputMaybe<Scalars['Int']>;
6692
+ offset?: InputMaybe<Scalars['Int']>;
6693
+ sort?: InputMaybe<Array<Scalars['String']>>;
6694
+ where?: InputMaybe<Scalars['String']>;
6695
+ };
6384
6696
  export declare type TQuery_ReviewArgs = {
6385
6697
  id?: InputMaybe<Scalars['String']>;
6386
6698
  key?: InputMaybe<Scalars['String']>;
@@ -6419,6 +6731,16 @@ export declare type TQuery_ShoppingListsArgs = {
6419
6731
  sort?: InputMaybe<Array<Scalars['String']>>;
6420
6732
  where?: InputMaybe<Scalars['String']>;
6421
6733
  };
6734
+ export declare type TQuery_StagedQuoteArgs = {
6735
+ id?: InputMaybe<Scalars['String']>;
6736
+ key?: InputMaybe<Scalars['String']>;
6737
+ };
6738
+ export declare type TQuery_StagedQuotesArgs = {
6739
+ limit?: InputMaybe<Scalars['Int']>;
6740
+ offset?: InputMaybe<Scalars['Int']>;
6741
+ sort?: InputMaybe<Array<Scalars['String']>>;
6742
+ where?: InputMaybe<Scalars['String']>;
6743
+ };
6422
6744
  export declare type TQuery_StandalonePriceArgs = {
6423
6745
  id?: InputMaybe<Scalars['String']>;
6424
6746
  key?: InputMaybe<Scalars['String']>;
@@ -6493,6 +6815,134 @@ export declare type TQueryLimitsProjection = {
6493
6815
  __typename?: 'QueryLimitsProjection';
6494
6816
  offset: TLimit;
6495
6817
  };
6818
+ export declare type TQuote = TVersioned & {
6819
+ __typename?: 'Quote';
6820
+ billingAddress?: Maybe<TAddress>;
6821
+ country?: Maybe<Scalars['Country']>;
6822
+ createdAt: Scalars['DateTime'];
6823
+ createdBy?: Maybe<TInitiator>;
6824
+ custom?: Maybe<TCustomFieldsType>;
6825
+ customLineItems: Array<TCustomLineItem>;
6826
+ customer?: Maybe<TCustomer>;
6827
+ customerRef?: Maybe<TReference>;
6828
+ id: Scalars['String'];
6829
+ inventoryMode: TInventoryMode;
6830
+ itemShippingAddresses: Array<TAddress>;
6831
+ key?: Maybe<Scalars['String']>;
6832
+ lastModifiedAt: Scalars['DateTime'];
6833
+ lastModifiedBy?: Maybe<TInitiator>;
6834
+ lineItems: Array<TLineItem>;
6835
+ paymentInfo?: Maybe<TPaymentInfo>;
6836
+ quoteRequest?: Maybe<TQuoteRequest>;
6837
+ quoteRequestRef: TReference;
6838
+ quoteState: TQuoteState;
6839
+ shippingAddress?: Maybe<TAddress>;
6840
+ shippingInfo?: Maybe<TShippingInfo>;
6841
+ shippingRateInput?: Maybe<TShippingRateInput>;
6842
+ stagedQuote?: Maybe<TStagedQuote>;
6843
+ stagedQuoteRef: TReference;
6844
+ store?: Maybe<TStore>;
6845
+ storeRef?: Maybe<TKeyReference>;
6846
+ taxCalculationMode: TTaxCalculationMode;
6847
+ taxMode: TTaxMode;
6848
+ taxRoundingMode: TRoundingMode;
6849
+ taxedPrice?: Maybe<TTaxedPrice>;
6850
+ totalPrice: TMoney;
6851
+ validTo?: Maybe<Scalars['DateTime']>;
6852
+ version: Scalars['Long'];
6853
+ };
6854
+ export declare type TQuote_LineItemsArgs = {
6855
+ id?: InputMaybe<Scalars['String']>;
6856
+ };
6857
+ export declare type TQuoteDraft = {
6858
+ custom?: InputMaybe<TCustomFieldsDraft>;
6859
+ key?: InputMaybe<Scalars['String']>;
6860
+ stagedQuote?: InputMaybe<TResourceIdentifierInput>;
6861
+ stagedQuoteVersion?: InputMaybe<Scalars['Long']>;
6862
+ };
6863
+ export declare type TQuoteQueryResult = {
6864
+ __typename?: 'QuoteQueryResult';
6865
+ count: Scalars['Int'];
6866
+ exists: Scalars['Boolean'];
6867
+ offset: Scalars['Int'];
6868
+ results: Array<TQuote>;
6869
+ total: Scalars['Long'];
6870
+ };
6871
+ export declare type TQuoteRequest = TVersioned & {
6872
+ __typename?: 'QuoteRequest';
6873
+ billingAddress?: Maybe<TAddress>;
6874
+ comment?: Maybe<Scalars['String']>;
6875
+ country?: Maybe<Scalars['Country']>;
6876
+ createdAt: Scalars['DateTime'];
6877
+ createdBy?: Maybe<TInitiator>;
6878
+ custom?: Maybe<TCustomFieldsType>;
6879
+ customLineItems: Array<TCustomLineItem>;
6880
+ customer?: Maybe<TCustomer>;
6881
+ customerRef?: Maybe<TReference>;
6882
+ id: Scalars['String'];
6883
+ inventoryMode: TInventoryMode;
6884
+ itemShippingAddresses: Array<TAddress>;
6885
+ key?: Maybe<Scalars['String']>;
6886
+ lastModifiedAt: Scalars['DateTime'];
6887
+ lastModifiedBy?: Maybe<TInitiator>;
6888
+ lineItems: Array<TLineItem>;
6889
+ paymentInfo?: Maybe<TPaymentInfo>;
6890
+ quoteRequestState: TQuoteRequestState;
6891
+ shippingAddress?: Maybe<TAddress>;
6892
+ shippingInfo?: Maybe<TShippingInfo>;
6893
+ shippingRateInput?: Maybe<TShippingRateInput>;
6894
+ store?: Maybe<TStore>;
6895
+ storeRef?: Maybe<TKeyReference>;
6896
+ taxCalculationMode: TTaxCalculationMode;
6897
+ taxMode: TTaxMode;
6898
+ taxRoundingMode: TRoundingMode;
6899
+ taxedPrice?: Maybe<TTaxedPrice>;
6900
+ totalPrice: TMoney;
6901
+ version: Scalars['Long'];
6902
+ };
6903
+ export declare type TQuoteRequest_LineItemsArgs = {
6904
+ id?: InputMaybe<Scalars['String']>;
6905
+ };
6906
+ export declare type TQuoteRequestDraft = {
6907
+ cart?: InputMaybe<TResourceIdentifierInput>;
6908
+ cartVersion?: InputMaybe<Scalars['Long']>;
6909
+ comment?: InputMaybe<Scalars['String']>;
6910
+ custom?: InputMaybe<TCustomFieldsDraft>;
6911
+ key?: InputMaybe<Scalars['String']>;
6912
+ };
6913
+ export declare type TQuoteRequestQueryResult = {
6914
+ __typename?: 'QuoteRequestQueryResult';
6915
+ count: Scalars['Int'];
6916
+ exists: Scalars['Boolean'];
6917
+ offset: Scalars['Int'];
6918
+ results: Array<TQuoteRequest>;
6919
+ total: Scalars['Long'];
6920
+ };
6921
+ export declare enum TQuoteRequestState {
6922
+ Accepted = "Accepted",
6923
+ Cancelled = "Cancelled",
6924
+ Closed = "Closed",
6925
+ Rejected = "Rejected",
6926
+ Submitted = "Submitted",
6927
+ UnderReview = "UnderReview"
6928
+ }
6929
+ export declare type TQuoteRequestUpdateAction = {
6930
+ changeQuoteRequestState?: InputMaybe<TChangeQuoteRequestState>;
6931
+ setCustomField?: InputMaybe<TSetQuoteRequestCustomField>;
6932
+ setCustomType?: InputMaybe<TSetQuoteRequestCustomType>;
6933
+ };
6934
+ export declare enum TQuoteState {
6935
+ Accepted = "Accepted",
6936
+ Declined = "Declined",
6937
+ Failed = "Failed",
6938
+ Pending = "Pending",
6939
+ Withdrawn = "Withdrawn"
6940
+ }
6941
+ export declare type TQuoteUpdateAction = {
6942
+ changeQuoteState?: InputMaybe<TChangeQuoteState>;
6943
+ setCustomField?: InputMaybe<TSetQuoteCustomField>;
6944
+ setCustomType?: InputMaybe<TSetQuoteCustomType>;
6945
+ };
6496
6946
  export declare type TRangeCount = {
6497
6947
  type: Scalars['String'];
6498
6948
  };
@@ -7144,6 +7594,7 @@ export declare type TSelectionOfProduct = {
7144
7594
  createdAt: Scalars['DateTime'];
7145
7595
  productSelection?: Maybe<TProductSelection>;
7146
7596
  productSelectionRef: TReference;
7597
+ variantSelection?: Maybe<TProductVariantSelection>;
7147
7598
  };
7148
7599
  export declare type TSelectionOfProductQueryResult = {
7149
7600
  __typename?: 'SelectionOfProductQueryResult';
@@ -7594,6 +8045,16 @@ export declare type TSetInventoryEntrySupplyChannel = {
7594
8045
  export declare type TSetMyCartShippingMethod = {
7595
8046
  shippingMethod?: InputMaybe<TResourceIdentifierInput>;
7596
8047
  };
8048
+ export declare type TSetMyQuoteRequestCustomField = {
8049
+ name: Scalars['String'];
8050
+ value?: InputMaybe<Scalars['String']>;
8051
+ };
8052
+ export declare type TSetMyQuoteRequestCustomType = {
8053
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8054
+ type?: InputMaybe<TResourceIdentifierInput>;
8055
+ typeId?: InputMaybe<Scalars['String']>;
8056
+ typeKey?: InputMaybe<Scalars['String']>;
8057
+ };
7597
8058
  export declare type TSetOrderBillingAddress = {
7598
8059
  address?: InputMaybe<TAddressInput>;
7599
8060
  };
@@ -8006,6 +8467,10 @@ export declare type TSetProductSelectionCustomType = {
8006
8467
  export declare type TSetProductSelectionKey = {
8007
8468
  key?: InputMaybe<Scalars['String']>;
8008
8469
  };
8470
+ export declare type TSetProductSelectionVariantSelection = {
8471
+ product: TResourceIdentifierInput;
8472
+ variantSelection?: InputMaybe<TProductVariantSelectionDraft>;
8473
+ };
8009
8474
  export declare type TSetProductSku = {
8010
8475
  sku?: InputMaybe<Scalars['String']>;
8011
8476
  staged?: InputMaybe<Scalars['Boolean']>;
@@ -8026,6 +8491,26 @@ export declare type TSetProjectSettingsExternalOAuth = {
8026
8491
  export declare type TSetProjectSettingsShippingRateInputType = {
8027
8492
  shippingRateInputType?: InputMaybe<TShippingRateInputTypeInput>;
8028
8493
  };
8494
+ export declare type TSetQuoteCustomField = {
8495
+ name: Scalars['String'];
8496
+ value?: InputMaybe<Scalars['String']>;
8497
+ };
8498
+ export declare type TSetQuoteCustomType = {
8499
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8500
+ type?: InputMaybe<TResourceIdentifierInput>;
8501
+ typeId?: InputMaybe<Scalars['String']>;
8502
+ typeKey?: InputMaybe<Scalars['String']>;
8503
+ };
8504
+ export declare type TSetQuoteRequestCustomField = {
8505
+ name: Scalars['String'];
8506
+ value?: InputMaybe<Scalars['String']>;
8507
+ };
8508
+ export declare type TSetQuoteRequestCustomType = {
8509
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8510
+ type?: InputMaybe<TResourceIdentifierInput>;
8511
+ typeId?: InputMaybe<Scalars['String']>;
8512
+ typeKey?: InputMaybe<Scalars['String']>;
8513
+ };
8029
8514
  export declare type TSetReviewAuthorName = {
8030
8515
  authorName?: InputMaybe<Scalars['String']>;
8031
8516
  };
@@ -8712,10 +9197,29 @@ export declare type TSetStagedOrderStoreOutput = TStagedOrderUpdateActionOutput
8712
9197
  storeResId?: Maybe<TResourceIdentifier>;
8713
9198
  type: Scalars['String'];
8714
9199
  };
9200
+ export declare type TSetStagedQuoteCustomField = {
9201
+ name: Scalars['String'];
9202
+ value?: InputMaybe<Scalars['String']>;
9203
+ };
9204
+ export declare type TSetStagedQuoteCustomType = {
9205
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
9206
+ type?: InputMaybe<TResourceIdentifierInput>;
9207
+ typeId?: InputMaybe<Scalars['String']>;
9208
+ typeKey?: InputMaybe<Scalars['String']>;
9209
+ };
9210
+ export declare type TSetStagedQuoteSellerComment = {
9211
+ sellerComment?: InputMaybe<Scalars['String']>;
9212
+ };
9213
+ export declare type TSetStagedQuoteValidTo = {
9214
+ validTo?: InputMaybe<Scalars['DateTime']>;
9215
+ };
8715
9216
  export declare type TSetStandalonePriceCustomFields = {
8716
9217
  name: Scalars['String'];
8717
9218
  value?: InputMaybe<Scalars['String']>;
8718
9219
  };
9220
+ export declare type TSetStandalonePriceDiscountedPrice = {
9221
+ discounted?: InputMaybe<TDiscountedProductPriceValueInput>;
9222
+ };
8719
9223
  export declare type TSetStateDescription = {
8720
9224
  description?: InputMaybe<Array<TLocalizedStringItemInputType>>;
8721
9225
  };
@@ -8802,6 +9306,17 @@ export declare type TShippingInfo = {
8802
9306
  taxRate?: Maybe<TTaxRate>;
8803
9307
  taxedPrice?: Maybe<TTaxedItemPrice>;
8804
9308
  };
9309
+ export declare type TShippingInfoImportDraft = {
9310
+ deliveries?: Array<TDeliveryDraft>;
9311
+ discountedPrice?: InputMaybe<TDiscountedLineItemPriceDraft>;
9312
+ price: TMoneyInput;
9313
+ shippingMethod?: InputMaybe<TResourceIdentifierInput>;
9314
+ shippingMethodName: Scalars['String'];
9315
+ shippingMethodState?: TShippingMethodState;
9316
+ shippingRate: TShippingRateDraft;
9317
+ taxCategory?: InputMaybe<TResourceIdentifierInput>;
9318
+ taxRate?: InputMaybe<TTaxRateInput>;
9319
+ };
8805
9320
  export declare type TShippingMethod = TReferenceExpandable & TVersioned & {
8806
9321
  __typename?: 'ShippingMethod';
8807
9322
  createdAt: Scalars['DateTime'];
@@ -9234,6 +9749,56 @@ export declare type TStagedOrderUpdateAction = {
9234
9749
  export declare type TStagedOrderUpdateActionOutput = {
9235
9750
  type: Scalars['String'];
9236
9751
  };
9752
+ export declare type TStagedPriceValue = {
9753
+ __typename?: 'StagedPriceValue';
9754
+ discounted?: Maybe<TDiscountedProductPriceValue>;
9755
+ value: TBaseMoney;
9756
+ };
9757
+ export declare type TStagedQuote = TVersioned & {
9758
+ __typename?: 'StagedQuote';
9759
+ createdAt: Scalars['DateTime'];
9760
+ createdBy?: Maybe<TInitiator>;
9761
+ custom?: Maybe<TCustomFieldsType>;
9762
+ customer?: Maybe<TCustomer>;
9763
+ customerRef?: Maybe<TReference>;
9764
+ id: Scalars['String'];
9765
+ key?: Maybe<Scalars['String']>;
9766
+ lastModifiedAt: Scalars['DateTime'];
9767
+ lastModifiedBy?: Maybe<TInitiator>;
9768
+ quotationCart?: Maybe<TCart>;
9769
+ quotationCartRef: TReference;
9770
+ quoteRequest?: Maybe<TQuoteRequest>;
9771
+ quoteRequestRef: TReference;
9772
+ stagedQuoteState: TStagedQuoteState;
9773
+ validTo?: Maybe<Scalars['DateTime']>;
9774
+ version: Scalars['Long'];
9775
+ };
9776
+ export declare type TStagedQuoteDraft = {
9777
+ custom?: InputMaybe<TCustomFieldsDraft>;
9778
+ key?: InputMaybe<Scalars['String']>;
9779
+ quoteRequest?: InputMaybe<TResourceIdentifierInput>;
9780
+ quoteRequestVersion?: InputMaybe<Scalars['Long']>;
9781
+ };
9782
+ export declare type TStagedQuoteQueryResult = {
9783
+ __typename?: 'StagedQuoteQueryResult';
9784
+ count: Scalars['Int'];
9785
+ exists: Scalars['Boolean'];
9786
+ offset: Scalars['Int'];
9787
+ results: Array<TStagedQuote>;
9788
+ total: Scalars['Long'];
9789
+ };
9790
+ export declare enum TStagedQuoteState {
9791
+ Closed = "Closed",
9792
+ InProgress = "InProgress",
9793
+ Sent = "Sent"
9794
+ }
9795
+ export declare type TStagedQuoteUpdateAction = {
9796
+ changeStagedQuoteState?: InputMaybe<TChangeStagedQuoteState>;
9797
+ setCustomField?: InputMaybe<TSetStagedQuoteCustomField>;
9798
+ setCustomType?: InputMaybe<TSetStagedQuoteCustomType>;
9799
+ setSellerComment?: InputMaybe<TSetStagedQuoteSellerComment>;
9800
+ setValidTo?: InputMaybe<TSetStagedQuoteValidTo>;
9801
+ };
9237
9802
  export declare type TStandalonePrice = TVersioned & {
9238
9803
  __typename?: 'StandalonePrice';
9239
9804
  channelRef?: Maybe<TReference>;
@@ -9243,11 +9808,13 @@ export declare type TStandalonePrice = TVersioned & {
9243
9808
  custom?: Maybe<TCustomFieldsType>;
9244
9809
  customerGroupRef?: Maybe<TReference>;
9245
9810
  discounted?: Maybe<TDiscountedProductPriceValue>;
9811
+ expiresAt?: Maybe<Scalars['DateTime']>;
9246
9812
  id: Scalars['String'];
9247
9813
  key?: Maybe<Scalars['String']>;
9248
9814
  lastModifiedAt: Scalars['DateTime'];
9249
9815
  lastModifiedBy?: Maybe<TInitiator>;
9250
9816
  sku: Scalars['String'];
9817
+ staged?: Maybe<TStagedPriceValue>;
9251
9818
  tiers?: Maybe<Array<TProductPriceTier>>;
9252
9819
  validFrom?: Maybe<Scalars['DateTime']>;
9253
9820
  validUntil?: Maybe<Scalars['DateTime']>;
@@ -9267,13 +9834,16 @@ export declare type TStandalonePriceCustomField = {
9267
9834
  };
9268
9835
  export declare type TStandalonePriceDeleted = TMessagePayload & {
9269
9836
  __typename?: 'StandalonePriceDeleted';
9270
- priceId: Scalars['String'];
9271
9837
  type: Scalars['String'];
9272
9838
  };
9273
9839
  export declare type TStandalonePriceDiscountSet = TMessagePayload & {
9274
9840
  __typename?: 'StandalonePriceDiscountSet';
9275
9841
  discounted?: Maybe<TDiscountedProductPriceValue>;
9276
- priceId: Scalars['String'];
9842
+ type: Scalars['String'];
9843
+ };
9844
+ export declare type TStandalonePriceExternalDiscountSet = TMessagePayload & {
9845
+ __typename?: 'StandalonePriceExternalDiscountSet';
9846
+ discounted?: Maybe<TDiscountedProductPriceValue>;
9277
9847
  type: Scalars['String'];
9278
9848
  };
9279
9849
  export declare type TStandalonePriceQueryResult = {
@@ -9284,14 +9854,20 @@ export declare type TStandalonePriceQueryResult = {
9284
9854
  results: Array<TStandalonePrice>;
9285
9855
  total: Scalars['Long'];
9286
9856
  };
9857
+ export declare type TStandalonePriceStagedChangesApplied = TMessagePayload & {
9858
+ __typename?: 'StandalonePriceStagedChangesApplied';
9859
+ stagedChanges: TStagedPriceValue;
9860
+ type: Scalars['String'];
9861
+ };
9287
9862
  export declare type TStandalonePriceUpdateAction = {
9863
+ applyStagedChanges?: InputMaybe<TApplyStagedChanges>;
9288
9864
  changeValue?: InputMaybe<TChangeStandalonePriceValue>;
9289
9865
  setCustomField?: InputMaybe<TSetStandalonePriceCustomFields>;
9290
9866
  setCustomType?: InputMaybe<TCustomFieldsDraft>;
9867
+ setDiscountedPrice?: InputMaybe<TSetStandalonePriceDiscountedPrice>;
9291
9868
  };
9292
9869
  export declare type TStandalonePriceValueChanged = TMessagePayload & {
9293
9870
  __typename?: 'StandalonePriceValueChanged';
9294
- priceId: Scalars['String'];
9295
9871
  type: Scalars['String'];
9296
9872
  value: TBaseMoney;
9297
9873
  };
@@ -9407,6 +9983,14 @@ export declare type TStoreDeleted = TMessagePayload & {
9407
9983
  __typename?: 'StoreDeleted';
9408
9984
  type: Scalars['String'];
9409
9985
  };
9986
+ export declare type TStoreDistributionChannelsChanged = TMessagePayload & {
9987
+ __typename?: 'StoreDistributionChannelsChanged';
9988
+ addedDistributionChannels: Array<TChannel>;
9989
+ addedDistributionChannelsRef: Array<TReference>;
9990
+ removedDistributionChannels?: Maybe<Array<TChannel>>;
9991
+ removedDistributionChannelsRef: Array<TReference>;
9992
+ type: Scalars['String'];
9993
+ };
9410
9994
  export declare type TStoreLimitWithCurrent = TLimitWithCurrent & {
9411
9995
  __typename?: 'StoreLimitWithCurrent';
9412
9996
  current: Scalars['Long'];
@@ -9625,6 +10209,15 @@ export declare type TTaxRateDraft = {
9625
10209
  state?: InputMaybe<Scalars['String']>;
9626
10210
  subRates?: InputMaybe<Array<TSubRateDraft>>;
9627
10211
  };
10212
+ export declare type TTaxRateInput = {
10213
+ amount: Scalars['Float'];
10214
+ country: Scalars['Country'];
10215
+ id?: InputMaybe<Scalars['String']>;
10216
+ includedInPrice: Scalars['Boolean'];
10217
+ name: Scalars['String'];
10218
+ state?: InputMaybe<Scalars['String']>;
10219
+ subRates?: InputMaybe<Array<TSubRateDraft>>;
10220
+ };
9628
10221
  export declare type TTaxedItemPrice = {
9629
10222
  __typename?: 'TaxedItemPrice';
9630
10223
  totalGross: TMoney;
@@ -9638,6 +10231,12 @@ export declare type TTaxedPrice = {
9638
10231
  totalNet: TMoney;
9639
10232
  totalTax?: Maybe<TMoney>;
9640
10233
  };
10234
+ export declare type TTaxedPriceDraft = {
10235
+ taxPortions: Array<TTaxPortionDraft>;
10236
+ totalGross: TBaseMoneyInput;
10237
+ totalNet: TBaseMoneyInput;
10238
+ totalTax?: InputMaybe<TBaseMoneyInput>;
10239
+ };
9641
10240
  export declare type TTermCount = {
9642
10241
  __typename?: 'TermCount';
9643
10242
  count: Scalars['Int'];