@commercetools-frontend/application-shell 21.8.1 → 21.9.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 (39) hide show
  1. package/dist/{application-entry-point-223805b2.cjs.prod.js → application-entry-point-0650332e.cjs.prod.js} +1 -1
  2. package/dist/{application-entry-point-c0bfdb99.cjs.dev.js → application-entry-point-9df8f75e.cjs.dev.js} +1 -1
  3. package/dist/{application-entry-point-c27f68f3.esm.js → application-entry-point-f104319e.esm.js} +1 -1
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -2
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -2
  6. package/dist/commercetools-frontend-application-shell.esm.js +2 -2
  7. package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +1 -1
  8. package/dist/declarations/src/test-utils/test-utils.d.ts +3 -3
  9. package/dist/declarations/src/types/generated/ctp.d.ts +588 -3
  10. package/dist/declarations/src/types/generated/mc.d.ts +11 -0
  11. package/dist/declarations/src/types/generated/settings.d.ts +104 -8
  12. package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +1 -1
  13. package/dist/declarations/src/utils/gtm.d.ts +3 -3
  14. package/dist/declarations/src/utils/oidc-storage.d.ts +2 -2
  15. package/dist/{index-6021fecc.cjs.prod.js → index-3dac983e.cjs.prod.js} +6 -6
  16. package/dist/{index-82b11dc7.cjs.dev.js → index-b0b16985.cjs.dev.js} +6 -6
  17. package/dist/{index-7ef7e644.esm.js → index-edd1f296.esm.js} +6 -6
  18. package/dist/{project-expired-c3d4e453.cjs.prod.js → project-expired-23ed250a.cjs.prod.js} +3 -3
  19. package/dist/{project-expired-061c2603.cjs.dev.js → project-expired-5f0f3bb2.cjs.dev.js} +3 -3
  20. package/dist/{project-expired-a02e25e1.esm.js → project-expired-e4b56600.esm.js} +3 -3
  21. package/dist/{project-not-found-355fee41.esm.js → project-not-found-11ee63f2.esm.js} +3 -3
  22. package/dist/{project-not-found-761c55ff.cjs.dev.js → project-not-found-24cd5af4.cjs.dev.js} +3 -3
  23. package/dist/{project-not-found-ff0b8045.cjs.prod.js → project-not-found-cf44540b.cjs.prod.js} +3 -3
  24. package/dist/{project-not-initialized-75ac9791.esm.js → project-not-initialized-23dd0a8d.esm.js} +3 -3
  25. package/dist/{project-not-initialized-ca16754f.cjs.dev.js → project-not-initialized-e5b36044.cjs.dev.js} +3 -3
  26. package/dist/{project-not-initialized-054b47ae.cjs.prod.js → project-not-initialized-f160d31e.cjs.prod.js} +3 -3
  27. package/dist/{project-suspended-7498203c.esm.js → project-suspended-5b470857.esm.js} +3 -3
  28. package/dist/{project-suspended-14651874.cjs.dev.js → project-suspended-ad97c11c.cjs.dev.js} +3 -3
  29. package/dist/{project-suspended-3d9de033.cjs.prod.js → project-suspended-f6f25355.cjs.prod.js} +3 -3
  30. package/dist/{quick-access-8e05592d.cjs.dev.js → quick-access-4077e80d.cjs.dev.js} +2 -2
  31. package/dist/{quick-access-dd177f35.esm.js → quick-access-5223e91a.esm.js} +2 -2
  32. package/dist/{quick-access-0f57e72d.cjs.prod.js → quick-access-cdb8ce9e.cjs.prod.js} +2 -2
  33. package/dist/{service-page-project-switcher-0b4618a2.cjs.prod.js → service-page-project-switcher-057e819c.cjs.prod.js} +1 -1
  34. package/dist/{service-page-project-switcher-2965e268.cjs.dev.js → service-page-project-switcher-ab9d0c0e.cjs.dev.js} +1 -1
  35. package/dist/{service-page-project-switcher-a3b28af7.esm.js → service-page-project-switcher-f29ee61d.esm.js} +1 -1
  36. package/package.json +41 -41
  37. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
  38. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
  39. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
@@ -229,6 +229,7 @@ export declare type TAddProductPrice = {
229
229
  };
230
230
  export declare type TAddProductSelectionProduct = {
231
231
  product: TResourceIdentifierInput;
232
+ variantSelection?: InputMaybe<TProductVariantSelectionDraft>;
232
233
  };
233
234
  export declare type TAddProductToCategory = {
234
235
  category: TResourceIdentifierInput;
@@ -748,6 +749,9 @@ export declare type TBooleanType = TFieldType & {
748
749
  __typename?: 'BooleanType';
749
750
  name: Scalars['String'];
750
751
  };
752
+ export declare type TCancelQuoteRequest = {
753
+ dummy?: InputMaybe<Scalars['String']>;
754
+ };
751
755
  export declare type TCart = TReferenceExpandable & TVersioned & {
752
756
  __typename?: 'Cart';
753
757
  anonymousId?: Maybe<Scalars['String']>;
@@ -993,6 +997,7 @@ export declare type TCartUpdateAction = {
993
997
  applyDeltaToCustomLineItemShippingDetailsTargets?: InputMaybe<TApplyCartDeltaToCustomLineItemShippingDetailsTargets>;
994
998
  applyDeltaToLineItemShippingDetailsTargets?: InputMaybe<TApplyCartDeltaToLineItemShippingDetailsTargets>;
995
999
  changeCustomLineItemMoney?: InputMaybe<TChangeCartCustomLineItemMoney>;
1000
+ changeCustomLineItemPriceMode?: InputMaybe<TChangeCartCustomLineItemPriceMode>;
996
1001
  changeCustomLineItemQuantity?: InputMaybe<TChangeCartCustomLineItemQuantity>;
997
1002
  changeLineItemQuantity?: InputMaybe<TChangeCartLineItemQuantity>;
998
1003
  changeTaxCalculationMode?: InputMaybe<TChangeCartTaxCalculationMode>;
@@ -1254,6 +1259,10 @@ export declare type TChangeCartCustomLineItemMoney = {
1254
1259
  customLineItemId: Scalars['String'];
1255
1260
  money: TBaseMoneyInput;
1256
1261
  };
1262
+ export declare type TChangeCartCustomLineItemPriceMode = {
1263
+ customLineItemId: Scalars['String'];
1264
+ mode: TCustomLineItemPriceMode;
1265
+ };
1257
1266
  export declare type TChangeCartCustomLineItemQuantity = {
1258
1267
  customLineItemId: Scalars['String'];
1259
1268
  quantity: Scalars['Long'];
@@ -1358,6 +1367,9 @@ export declare type TChangeInventoryEntryQuantity = {
1358
1367
  export declare type TChangeMyCartTaxMode = {
1359
1368
  taxMode: TTaxMode;
1360
1369
  };
1370
+ export declare type TChangeMyQuoteMyQuoteState = {
1371
+ quoteState: TMyQuoteState;
1372
+ };
1361
1373
  export declare type TChangeOrderPaymentState = {
1362
1374
  paymentState: TPaymentState;
1363
1375
  };
@@ -1474,6 +1486,12 @@ export declare type TChangeProjectSettingsProductSearchIndexingEnabled = {
1474
1486
  export declare type TChangeProjectSettingsShoppingListsConfiguration = {
1475
1487
  shoppingListsConfiguration: TShoppingListsConfigurationInput;
1476
1488
  };
1489
+ export declare type TChangeQuoteRequestState = {
1490
+ quoteRequestState: TQuoteRequestState;
1491
+ };
1492
+ export declare type TChangeQuoteState = {
1493
+ quoteState: TMyQuoteState;
1494
+ };
1477
1495
  export declare type TChangeShippingMethodIsDefault = {
1478
1496
  isDefault: Scalars['Boolean'];
1479
1497
  };
@@ -1586,7 +1604,11 @@ export declare type TChangeStagedOrderTaxRoundingModeOutput = TStagedOrderUpdate
1586
1604
  taxRoundingMode: TRoundingMode;
1587
1605
  type: Scalars['String'];
1588
1606
  };
1607
+ export declare type TChangeStagedQuoteState = {
1608
+ stagedQuoteState: TStagedQuoteState;
1609
+ };
1589
1610
  export declare type TChangeStandalonePriceValue = {
1611
+ staged?: InputMaybe<Scalars['Boolean']>;
1590
1612
  value: TBaseMoneyInput;
1591
1613
  };
1592
1614
  export declare type TChangeStateInitial = {
@@ -1847,6 +1869,7 @@ export declare type TCustomLineItem = {
1847
1869
  money: TBaseMoney;
1848
1870
  name?: Maybe<Scalars['String']>;
1849
1871
  nameAllLocales: Array<TLocalizedString>;
1872
+ priceMode: TCustomLineItemPriceMode;
1850
1873
  quantity: Scalars['Long'];
1851
1874
  shippingDetails?: Maybe<TItemShippingDetails>;
1852
1875
  slug: Scalars['String'];
@@ -1887,6 +1910,21 @@ export declare type TCustomLineItemDraftOutput_NameArgs = {
1887
1910
  acceptLanguage?: InputMaybe<Array<Scalars['Locale']>>;
1888
1911
  locale?: InputMaybe<Scalars['Locale']>;
1889
1912
  };
1913
+ export declare type TCustomLineItemImportDraft = {
1914
+ custom?: InputMaybe<TCustomFieldsDraft>;
1915
+ money: TBaseMoneyInput;
1916
+ name: Array<TLocalizedStringItemInputType>;
1917
+ quantity: Scalars['Long'];
1918
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
1919
+ slug: Scalars['String'];
1920
+ state?: InputMaybe<Array<TItemStateDraftType>>;
1921
+ taxCategory?: InputMaybe<TResourceIdentifierInput>;
1922
+ taxRate?: InputMaybe<TTaxRateInput>;
1923
+ };
1924
+ export declare enum TCustomLineItemPriceMode {
1925
+ External = "External",
1926
+ Standard = "Standard"
1927
+ }
1890
1928
  export declare type TCustomLineItemReturnItem = TReturnItem & {
1891
1929
  __typename?: 'CustomLineItemReturnItem';
1892
1930
  comment?: Maybe<Scalars['String']>;
@@ -2344,6 +2382,12 @@ export declare type TDeliveryAddressSet = TMessagePayload & TOrderMessagePayload
2344
2382
  oldAddress?: Maybe<TAddress>;
2345
2383
  type: Scalars['String'];
2346
2384
  };
2385
+ export declare type TDeliveryDraft = {
2386
+ address?: InputMaybe<TAddressInput>;
2387
+ custom?: InputMaybe<TCustomFieldsDraft>;
2388
+ items: Array<TDeliveryItemDraftType>;
2389
+ parcels: Array<TParcelDraft>;
2390
+ };
2347
2391
  export declare type TDeliveryItem = {
2348
2392
  __typename?: 'DeliveryItem';
2349
2393
  id: Scalars['String'];
@@ -2482,11 +2526,19 @@ export declare type TDiscountedLineItemPortion = {
2482
2526
  discountRef: TReference;
2483
2527
  discountedAmount: TBaseMoney;
2484
2528
  };
2529
+ export declare type TDiscountedLineItemPortionDraft = {
2530
+ discount: TReferenceInput;
2531
+ discountedAmount: TBaseMoneyInput;
2532
+ };
2485
2533
  export declare type TDiscountedLineItemPrice = {
2486
2534
  __typename?: 'DiscountedLineItemPrice';
2487
2535
  includedDiscounts: Array<TDiscountedLineItemPortion>;
2488
2536
  value: TBaseMoney;
2489
2537
  };
2538
+ export declare type TDiscountedLineItemPriceDraft = {
2539
+ includedDiscounts?: InputMaybe<Array<TDiscountedLineItemPortionDraft>>;
2540
+ value: TBaseMoneyInput;
2541
+ };
2490
2542
  export declare type TDiscountedLineItemPriceForQuantity = {
2491
2543
  __typename?: 'DiscountedLineItemPriceForQuantity';
2492
2544
  discountedPrice: TDiscountedLineItemPrice;
@@ -2828,6 +2880,33 @@ export declare type TImportOrderCustomLineItemState = {
2828
2880
  customLineItemId: Scalars['String'];
2829
2881
  state: Array<TItemStateDraftType>;
2830
2882
  };
2883
+ export declare type TImportOrderDraft = {
2884
+ billingAddress?: InputMaybe<TAddressInput>;
2885
+ completedAt?: InputMaybe<Scalars['DateTime']>;
2886
+ country?: InputMaybe<Scalars['Country']>;
2887
+ custom?: InputMaybe<TCustomFieldsDraft>;
2888
+ customLineItems?: Array<TCustomLineItemImportDraft>;
2889
+ customerEmail?: InputMaybe<Scalars['String']>;
2890
+ customerGroup?: InputMaybe<TReferenceInput>;
2891
+ customerId?: InputMaybe<Scalars['String']>;
2892
+ inventoryMode?: InputMaybe<TInventoryMode>;
2893
+ itemShippingAddresses?: InputMaybe<Array<TAddressInput>>;
2894
+ lineItems?: Array<TLineItemImportDraft>;
2895
+ orderNumber?: InputMaybe<Scalars['String']>;
2896
+ orderState?: InputMaybe<TOrderState>;
2897
+ origin?: InputMaybe<TCartOrigin>;
2898
+ paymentInfo?: InputMaybe<TReferenceInput>;
2899
+ paymentState?: InputMaybe<TPaymentState>;
2900
+ shipmentState?: InputMaybe<TShipmentState>;
2901
+ shippingAddress?: InputMaybe<TAddressInput>;
2902
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
2903
+ shippingInfo?: InputMaybe<TShippingInfoImportDraft>;
2904
+ state?: InputMaybe<TReferenceInput>;
2905
+ store?: InputMaybe<TReferenceInput>;
2906
+ taxCalculationMode?: InputMaybe<TTaxCalculationMode>;
2907
+ taxedPrice?: InputMaybe<TTaxedPriceDraft>;
2908
+ totalPrice: TMoneyInput;
2909
+ };
2831
2910
  export declare type TImportOrderLineItemState = {
2832
2911
  lineItemId: Scalars['String'];
2833
2912
  state: Array<TItemStateDraftType>;
@@ -3200,6 +3279,19 @@ export declare type TLineItemDraftOutput = {
3200
3279
  supplyChannelResId?: Maybe<TResourceIdentifier>;
3201
3280
  variantId?: Maybe<Scalars['Int']>;
3202
3281
  };
3282
+ export declare type TLineItemImportDraft = {
3283
+ custom?: InputMaybe<TCustomFieldsDraft>;
3284
+ distributionChannel?: InputMaybe<TResourceIdentifierInput>;
3285
+ name: Array<TLocalizedStringItemInputType>;
3286
+ price: TProductPriceDataInput;
3287
+ productId?: InputMaybe<Scalars['String']>;
3288
+ quantity: Scalars['Long'];
3289
+ shippingDetails?: InputMaybe<TItemShippingDetailsDraft>;
3290
+ state?: InputMaybe<Array<TItemStateDraftType>>;
3291
+ supplyChannel?: InputMaybe<TResourceIdentifierInput>;
3292
+ taxRate?: InputMaybe<TTaxRateInput>;
3293
+ variant: TProductVariantImportDraft;
3294
+ };
3203
3295
  export declare enum TLineItemMode {
3204
3296
  GiftLineItem = "GiftLineItem",
3205
3297
  Standard = "Standard"
@@ -3366,6 +3458,10 @@ export declare type TMe = TActiveCartInterface & TCartQueryInterface & TMeQueryI
3366
3458
  orders: TOrderQueryResult;
3367
3459
  payment?: Maybe<TMyPayment>;
3368
3460
  payments: TMyPaymentQueryResult;
3461
+ quote?: Maybe<TQuote>;
3462
+ quoteRequest?: Maybe<TQuoteRequest>;
3463
+ quoteRequests: TQuoteRequestQueryResult;
3464
+ quotes: TQuoteQueryResult;
3369
3465
  shoppingList?: Maybe<TShoppingList>;
3370
3466
  shoppingLists: TShoppingListQueryResult;
3371
3467
  };
@@ -3397,6 +3493,26 @@ export declare type TMe_PaymentsArgs = {
3397
3493
  sort?: InputMaybe<Array<Scalars['String']>>;
3398
3494
  where?: InputMaybe<Scalars['String']>;
3399
3495
  };
3496
+ export declare type TMe_QuoteArgs = {
3497
+ id?: InputMaybe<Scalars['String']>;
3498
+ key?: InputMaybe<Scalars['String']>;
3499
+ };
3500
+ export declare type TMe_QuoteRequestArgs = {
3501
+ id?: InputMaybe<Scalars['String']>;
3502
+ key?: InputMaybe<Scalars['String']>;
3503
+ };
3504
+ export declare type TMe_QuoteRequestsArgs = {
3505
+ limit?: InputMaybe<Scalars['Int']>;
3506
+ offset?: InputMaybe<Scalars['Int']>;
3507
+ sort?: InputMaybe<Array<Scalars['String']>>;
3508
+ where?: InputMaybe<Scalars['String']>;
3509
+ };
3510
+ export declare type TMe_QuotesArgs = {
3511
+ limit?: InputMaybe<Scalars['Int']>;
3512
+ offset?: InputMaybe<Scalars['Int']>;
3513
+ sort?: InputMaybe<Array<Scalars['String']>>;
3514
+ where?: InputMaybe<Scalars['String']>;
3515
+ };
3400
3516
  export declare type TMe_ShoppingListArgs = {
3401
3517
  id?: InputMaybe<Scalars['String']>;
3402
3518
  key?: InputMaybe<Scalars['String']>;
@@ -3588,19 +3704,25 @@ export declare type TMutation = {
3588
3704
  createInventoryEntry?: Maybe<TInventoryEntry>;
3589
3705
  createMyCart?: Maybe<TCart>;
3590
3706
  createMyOrderFromCart?: Maybe<TOrder>;
3707
+ createMyOrderFromQuote?: Maybe<TOrder>;
3591
3708
  createMyPayment?: Maybe<TMyPayment>;
3709
+ createMyQuoteRequest?: Maybe<TQuoteRequest>;
3592
3710
  createMyShoppingList?: Maybe<TShoppingList>;
3593
3711
  createOrUpdateCustomObject?: Maybe<TCustomObject>;
3594
3712
  createOrderEdit?: Maybe<TOrderEdit>;
3595
3713
  createOrderFromCart?: Maybe<TOrder>;
3714
+ createOrderFromQuote?: Maybe<TOrder>;
3596
3715
  createPayment?: Maybe<TPayment>;
3597
3716
  createProduct?: Maybe<TProduct>;
3598
3717
  createProductDiscount?: Maybe<TProductDiscount>;
3599
3718
  createProductSelection?: Maybe<TProductSelection>;
3600
3719
  createProductType?: Maybe<TProductTypeDefinition>;
3720
+ createQuote?: Maybe<TQuote>;
3721
+ createQuoteRequest?: Maybe<TQuoteRequest>;
3601
3722
  createReview?: Maybe<TReview>;
3602
3723
  createShippingMethod?: Maybe<TShippingMethod>;
3603
3724
  createShoppingList?: Maybe<TShoppingList>;
3725
+ createStagedQuote?: Maybe<TStagedQuote>;
3604
3726
  createStandalonePrice?: Maybe<TStandalonePrice>;
3605
3727
  createState?: Maybe<TState>;
3606
3728
  createStore?: Maybe<TStore>;
@@ -3643,9 +3765,12 @@ export declare type TMutation = {
3643
3765
  deleteProductDiscount?: Maybe<TProductDiscount>;
3644
3766
  deleteProductSelection?: Maybe<TProductSelection>;
3645
3767
  deleteProductType?: Maybe<TProductTypeDefinition>;
3768
+ deleteQuote?: Maybe<TQuote>;
3769
+ deleteQuoteRequest?: Maybe<TQuoteRequest>;
3646
3770
  deleteReview?: Maybe<TReview>;
3647
3771
  deleteShippingMethod?: Maybe<TShippingMethod>;
3648
3772
  deleteShoppingList?: Maybe<TShoppingList>;
3773
+ deleteStagedQuote?: Maybe<TStagedQuote>;
3649
3774
  deleteStandalonePrice?: Maybe<TStandalonePrice>;
3650
3775
  deleteState?: Maybe<TState>;
3651
3776
  deleteStore?: Maybe<TStore>;
@@ -3653,6 +3778,7 @@ export declare type TMutation = {
3653
3778
  deleteTaxCategory?: Maybe<TTaxCategory>;
3654
3779
  deleteTypeDefinition?: Maybe<TTypeDefinition>;
3655
3780
  deleteZone?: Maybe<TZone>;
3781
+ importOrder?: Maybe<TOrder>;
3656
3782
  replicateCart?: Maybe<TCart>;
3657
3783
  replicateMyCart?: Maybe<TCart>;
3658
3784
  updateAttributeGroup?: Maybe<TAttributeGroup>;
@@ -3668,6 +3794,8 @@ export declare type TMutation = {
3668
3794
  updateMyCart?: Maybe<TCart>;
3669
3795
  updateMyCustomer?: Maybe<TCustomer>;
3670
3796
  updateMyPayment?: Maybe<TMyPayment>;
3797
+ updateMyQuote?: Maybe<TQuote>;
3798
+ updateMyQuoteRequest?: Maybe<TQuoteRequest>;
3671
3799
  updateMyShoppingList?: Maybe<TShoppingList>;
3672
3800
  updateOrder?: Maybe<TOrder>;
3673
3801
  updateOrderEdit?: Maybe<TOrderEdit>;
@@ -3677,9 +3805,12 @@ export declare type TMutation = {
3677
3805
  updateProductSelection?: Maybe<TProductSelection>;
3678
3806
  updateProductType?: Maybe<TProductTypeDefinition>;
3679
3807
  updateProject?: Maybe<TProjectProjection>;
3808
+ updateQuote?: Maybe<TQuote>;
3809
+ updateQuoteRequest?: Maybe<TQuoteRequest>;
3680
3810
  updateReview?: Maybe<TReview>;
3681
3811
  updateShippingMethod?: Maybe<TShippingMethod>;
3682
3812
  updateShoppingList?: Maybe<TShoppingList>;
3813
+ updateStagedQuote?: Maybe<TStagedQuote>;
3683
3814
  updateStandalonePrice?: Maybe<TStandalonePrice>;
3684
3815
  updateState?: Maybe<TState>;
3685
3816
  updateStore?: Maybe<TStore>;
@@ -3727,9 +3858,15 @@ export declare type TMutation_CreateMyOrderFromCartArgs = {
3727
3858
  draft: TOrderMyCartCommand;
3728
3859
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3729
3860
  };
3861
+ export declare type TMutation_CreateMyOrderFromQuoteArgs = {
3862
+ draft: TOrderMyQuoteCommand;
3863
+ };
3730
3864
  export declare type TMutation_CreateMyPaymentArgs = {
3731
3865
  draft: TMyPaymentDraft;
3732
3866
  };
3867
+ export declare type TMutation_CreateMyQuoteRequestArgs = {
3868
+ draft: TMyQuoteRequestDraft;
3869
+ };
3733
3870
  export declare type TMutation_CreateMyShoppingListArgs = {
3734
3871
  draft: TMyShoppingListDraft;
3735
3872
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
@@ -3744,6 +3881,9 @@ export declare type TMutation_CreateOrderFromCartArgs = {
3744
3881
  draft: TOrderCartCommand;
3745
3882
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3746
3883
  };
3884
+ export declare type TMutation_CreateOrderFromQuoteArgs = {
3885
+ draft: TOrderQuoteCommand;
3886
+ };
3747
3887
  export declare type TMutation_CreatePaymentArgs = {
3748
3888
  draft: TPaymentDraft;
3749
3889
  };
@@ -3759,6 +3899,12 @@ export declare type TMutation_CreateProductSelectionArgs = {
3759
3899
  export declare type TMutation_CreateProductTypeArgs = {
3760
3900
  draft: TProductTypeDraft;
3761
3901
  };
3902
+ export declare type TMutation_CreateQuoteArgs = {
3903
+ draft: TQuoteDraft;
3904
+ };
3905
+ export declare type TMutation_CreateQuoteRequestArgs = {
3906
+ draft: TQuoteRequestDraft;
3907
+ };
3762
3908
  export declare type TMutation_CreateReviewArgs = {
3763
3909
  draft: TReviewDraft;
3764
3910
  };
@@ -3769,6 +3915,9 @@ export declare type TMutation_CreateShoppingListArgs = {
3769
3915
  draft: TShoppingListDraft;
3770
3916
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3771
3917
  };
3918
+ export declare type TMutation_CreateStagedQuoteArgs = {
3919
+ draft: TStagedQuoteDraft;
3920
+ };
3772
3921
  export declare type TMutation_CreateStandalonePriceArgs = {
3773
3922
  draft: TCreateStandalonePrice;
3774
3923
  };
@@ -3970,6 +4119,18 @@ export declare type TMutation_DeleteProductTypeArgs = {
3970
4119
  key?: InputMaybe<Scalars['String']>;
3971
4120
  version: Scalars['Long'];
3972
4121
  };
4122
+ export declare type TMutation_DeleteQuoteArgs = {
4123
+ id?: InputMaybe<Scalars['String']>;
4124
+ key?: InputMaybe<Scalars['String']>;
4125
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4126
+ version: Scalars['Long'];
4127
+ };
4128
+ export declare type TMutation_DeleteQuoteRequestArgs = {
4129
+ id?: InputMaybe<Scalars['String']>;
4130
+ key?: InputMaybe<Scalars['String']>;
4131
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4132
+ version: Scalars['Long'];
4133
+ };
3973
4134
  export declare type TMutation_DeleteReviewArgs = {
3974
4135
  id?: InputMaybe<Scalars['String']>;
3975
4136
  key?: InputMaybe<Scalars['String']>;
@@ -3988,6 +4149,12 @@ export declare type TMutation_DeleteShoppingListArgs = {
3988
4149
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
3989
4150
  version: Scalars['Long'];
3990
4151
  };
4152
+ export declare type TMutation_DeleteStagedQuoteArgs = {
4153
+ id?: InputMaybe<Scalars['String']>;
4154
+ key?: InputMaybe<Scalars['String']>;
4155
+ personalDataErasure?: InputMaybe<Scalars['Boolean']>;
4156
+ version: Scalars['Long'];
4157
+ };
3991
4158
  export declare type TMutation_DeleteStandalonePriceArgs = {
3992
4159
  id?: InputMaybe<Scalars['String']>;
3993
4160
  key?: InputMaybe<Scalars['String']>;
@@ -4023,6 +4190,9 @@ export declare type TMutation_DeleteZoneArgs = {
4023
4190
  key?: InputMaybe<Scalars['String']>;
4024
4191
  version: Scalars['Long'];
4025
4192
  };
4193
+ export declare type TMutation_ImportOrderArgs = {
4194
+ draft: TImportOrderDraft;
4195
+ };
4026
4196
  export declare type TMutation_ReplicateCartArgs = {
4027
4197
  key?: InputMaybe<Scalars['String']>;
4028
4198
  reference: TReferenceInput;
@@ -4107,6 +4277,18 @@ export declare type TMutation_UpdateMyPaymentArgs = {
4107
4277
  id: Scalars['String'];
4108
4278
  version: Scalars['Long'];
4109
4279
  };
4280
+ export declare type TMutation_UpdateMyQuoteArgs = {
4281
+ actions: Array<TMyQuoteUpdateAction>;
4282
+ id?: InputMaybe<Scalars['String']>;
4283
+ key?: InputMaybe<Scalars['String']>;
4284
+ version: Scalars['Long'];
4285
+ };
4286
+ export declare type TMutation_UpdateMyQuoteRequestArgs = {
4287
+ actions: Array<TMyQuoteRequestUpdateAction>;
4288
+ id?: InputMaybe<Scalars['String']>;
4289
+ key?: InputMaybe<Scalars['String']>;
4290
+ version: Scalars['Long'];
4291
+ };
4110
4292
  export declare type TMutation_UpdateMyShoppingListArgs = {
4111
4293
  actions: Array<TMyShoppingListUpdateAction>;
4112
4294
  id?: InputMaybe<Scalars['String']>;
@@ -4162,6 +4344,18 @@ export declare type TMutation_UpdateProjectArgs = {
4162
4344
  actions: Array<TProjectSettingsUpdateAction>;
4163
4345
  version: Scalars['Long'];
4164
4346
  };
4347
+ export declare type TMutation_UpdateQuoteArgs = {
4348
+ actions: Array<TQuoteUpdateAction>;
4349
+ id?: InputMaybe<Scalars['String']>;
4350
+ key?: InputMaybe<Scalars['String']>;
4351
+ version: Scalars['Long'];
4352
+ };
4353
+ export declare type TMutation_UpdateQuoteRequestArgs = {
4354
+ actions: Array<TQuoteRequestUpdateAction>;
4355
+ id?: InputMaybe<Scalars['String']>;
4356
+ key?: InputMaybe<Scalars['String']>;
4357
+ version: Scalars['Long'];
4358
+ };
4165
4359
  export declare type TMutation_UpdateReviewArgs = {
4166
4360
  actions: Array<TReviewUpdateAction>;
4167
4361
  id?: InputMaybe<Scalars['String']>;
@@ -4181,6 +4375,12 @@ export declare type TMutation_UpdateShoppingListArgs = {
4181
4375
  storeKey?: InputMaybe<Scalars['KeyReferenceInput']>;
4182
4376
  version: Scalars['Long'];
4183
4377
  };
4378
+ export declare type TMutation_UpdateStagedQuoteArgs = {
4379
+ actions: Array<TStagedQuoteUpdateAction>;
4380
+ id?: InputMaybe<Scalars['String']>;
4381
+ key?: InputMaybe<Scalars['String']>;
4382
+ version: Scalars['Long'];
4383
+ };
4184
4384
  export declare type TMutation_UpdateStandalonePriceArgs = {
4185
4385
  actions: Array<TStandalonePriceUpdateAction>;
4186
4386
  id?: InputMaybe<Scalars['String']>;
@@ -4346,6 +4546,26 @@ export declare type TMyPaymentUpdateAction = {
4346
4546
  setMethodInfoMethod?: InputMaybe<TSetPaymentMethodInfoMethod>;
4347
4547
  setMethodInfoName?: InputMaybe<TSetPaymentMethodInfoName>;
4348
4548
  };
4549
+ export declare type TMyQuoteRequestDraft = {
4550
+ cartId: Scalars['String'];
4551
+ cartVersion: Scalars['Long'];
4552
+ comment?: InputMaybe<Scalars['String']>;
4553
+ };
4554
+ export declare type TMyQuoteRequestUpdateAction = {
4555
+ cancelQuoteRequest?: InputMaybe<TCancelQuoteRequest>;
4556
+ setCustomField?: InputMaybe<TSetMyQuoteRequestCustomField>;
4557
+ setCustomType?: InputMaybe<TSetMyQuoteRequestCustomType>;
4558
+ };
4559
+ export declare enum TMyQuoteState {
4560
+ Accepted = "Accepted",
4561
+ Declined = "Declined",
4562
+ Failed = "Failed"
4563
+ }
4564
+ export declare type TMyQuoteUpdateAction = {
4565
+ changeMyQuoteState?: InputMaybe<TChangeMyQuoteMyQuoteState>;
4566
+ setCustomField?: InputMaybe<TSetQuoteCustomField>;
4567
+ setCustomType?: InputMaybe<TSetQuoteCustomType>;
4568
+ };
4349
4569
  export declare type TMyShoppingListDraft = {
4350
4570
  custom?: InputMaybe<TCustomFieldsDraft>;
4351
4571
  deleteDaysAfterLastModification?: InputMaybe<Scalars['Int']>;
@@ -4674,6 +4894,10 @@ export declare type TOrderMyCartCommand = {
4674
4894
  id: Scalars['String'];
4675
4895
  version: Scalars['Long'];
4676
4896
  };
4897
+ export declare type TOrderMyQuoteCommand = {
4898
+ id: Scalars['String'];
4899
+ version: Scalars['Long'];
4900
+ };
4677
4901
  export declare type TOrderPaymentAdded = TMessagePayload & TOrderMessagePayload & {
4678
4902
  __typename?: 'OrderPaymentAdded';
4679
4903
  paymentRef: TReference;
@@ -4713,6 +4937,16 @@ export declare type TOrderQueryResult = {
4713
4937
  results: Array<TOrder>;
4714
4938
  total: Scalars['Long'];
4715
4939
  };
4940
+ export declare type TOrderQuoteCommand = {
4941
+ custom?: InputMaybe<TCustomFieldsDraft>;
4942
+ orderNumber?: InputMaybe<Scalars['String']>;
4943
+ orderState?: InputMaybe<TOrderState>;
4944
+ paymentState?: InputMaybe<TPaymentState>;
4945
+ quote?: InputMaybe<TResourceIdentifierInput>;
4946
+ shipmentState?: InputMaybe<TShipmentState>;
4947
+ state?: InputMaybe<TReferenceInput>;
4948
+ version: Scalars['Long'];
4949
+ };
4716
4950
  export declare type TOrderReturnShipmentStateChanged = TMessagePayload & TOrderMessagePayload & {
4717
4951
  __typename?: 'OrderReturnShipmentStateChanged';
4718
4952
  returnItemId: Scalars['String'];
@@ -4869,6 +5103,14 @@ export declare type TParcelDataDraftType = {
4869
5103
  measurements?: InputMaybe<TParcelMeasurementsDraftType>;
4870
5104
  trackingData?: InputMaybe<TTrackingDataDraftType>;
4871
5105
  };
5106
+ export declare type TParcelDraft = {
5107
+ createdAt: Scalars['DateTime'];
5108
+ custom?: InputMaybe<TCustomFieldsDraft>;
5109
+ id: Scalars['String'];
5110
+ items?: InputMaybe<Array<TDeliveryItemDraftType>>;
5111
+ measurements?: InputMaybe<TParcelMeasurementsDraftType>;
5112
+ trackingData?: InputMaybe<TTrackingDataDraftType>;
5113
+ };
4872
5114
  export declare type TParcelItemsUpdated = TMessagePayload & TOrderMessagePayload & {
4873
5115
  __typename?: 'ParcelItemsUpdated';
4874
5116
  deliveryId: Scalars['String'];
@@ -5152,6 +5394,7 @@ export declare type TProductAssignment = {
5152
5394
  productRef: TReference;
5153
5395
  productSelection?: Maybe<TProductSelection>;
5154
5396
  productSelectionRef: TReference;
5397
+ variantSelection?: Maybe<TProductVariantSelection>;
5155
5398
  };
5156
5399
  export declare type TProductAssignmentQueryResult = {
5157
5400
  __typename?: 'ProductAssignmentQueryResult';
@@ -5368,6 +5611,7 @@ export declare type TProductOfSelection = {
5368
5611
  __typename?: 'ProductOfSelection';
5369
5612
  product?: Maybe<TProduct>;
5370
5613
  productRef: TReference;
5614
+ variantSelection?: Maybe<TProductVariantSelection>;
5371
5615
  };
5372
5616
  export declare type TProductOfSelectionQueryResult = {
5373
5617
  __typename?: 'ProductOfSelectionQueryResult';
@@ -5722,6 +5966,7 @@ export declare type TProductSelectionProductAdded = TMessagePayload & {
5722
5966
  product?: Maybe<TProduct>;
5723
5967
  productRef: TReference;
5724
5968
  type: Scalars['String'];
5969
+ variantSelection?: Maybe<TProductVariantSelection>;
5725
5970
  };
5726
5971
  export declare type TProductSelectionProductRemoved = TMessagePayload & {
5727
5972
  __typename?: 'ProductSelectionProductRemoved';
@@ -5767,6 +6012,15 @@ export declare type TProductSelectionUpdateAction = {
5767
6012
  setCustomField?: InputMaybe<TSetProductSelectionCustomField>;
5768
6013
  setCustomType?: InputMaybe<TSetProductSelectionCustomType>;
5769
6014
  setKey?: InputMaybe<TSetProductSelectionKey>;
6015
+ setVariantSelection?: InputMaybe<TSetProductSelectionVariantSelection>;
6016
+ };
6017
+ export declare type TProductSelectionVariantSelectionChanged = TMessagePayload & {
6018
+ __typename?: 'ProductSelectionVariantSelectionChanged';
6019
+ newVariantSelection?: Maybe<TProductVariantSelection>;
6020
+ oldVariantSelection?: Maybe<TProductVariantSelection>;
6021
+ product?: Maybe<TProduct>;
6022
+ productRef: TReference;
6023
+ type: Scalars['String'];
5770
6024
  };
5771
6025
  export declare type TProductSlugChanged = TMessagePayload & {
5772
6026
  __typename?: 'ProductSlugChanged';
@@ -5977,6 +6231,13 @@ export declare type TProductVariantDeleted = TMessagePayload & {
5977
6231
  type: Scalars['String'];
5978
6232
  variant?: Maybe<TProductVariant>;
5979
6233
  };
6234
+ export declare type TProductVariantImportDraft = {
6235
+ attributes?: InputMaybe<Array<TProductAttributeInput>>;
6236
+ id?: InputMaybe<Scalars['Int']>;
6237
+ images?: InputMaybe<Array<TImageInput>>;
6238
+ prices?: InputMaybe<Array<TProductPriceDataInput>>;
6239
+ sku?: InputMaybe<Scalars['String']>;
6240
+ };
5980
6241
  export declare type TProductVariantInput = {
5981
6242
  assets?: InputMaybe<Array<TAssetDraftInput>>;
5982
6243
  attributes?: InputMaybe<Array<TProductAttributeInput>>;
@@ -5985,6 +6246,24 @@ export declare type TProductVariantInput = {
5985
6246
  prices?: InputMaybe<Array<TProductPriceDataInput>>;
5986
6247
  sku?: InputMaybe<Scalars['String']>;
5987
6248
  };
6249
+ export declare type TProductVariantSelection = {
6250
+ skus: Array<Scalars['String']>;
6251
+ type: Scalars['String'];
6252
+ };
6253
+ export declare type TProductVariantSelectionDraft = {
6254
+ exclusion?: InputMaybe<Array<Scalars['String']>>;
6255
+ inclusion?: InputMaybe<Array<Scalars['String']>>;
6256
+ };
6257
+ export declare type TProductVariantSelectionExclusion = TProductVariantSelection & {
6258
+ __typename?: 'ProductVariantSelectionExclusion';
6259
+ skus: Array<Scalars['String']>;
6260
+ type: Scalars['String'];
6261
+ };
6262
+ export declare type TProductVariantSelectionInclusion = TProductVariantSelection & {
6263
+ __typename?: 'ProductVariantSelectionInclusion';
6264
+ skus: Array<Scalars['String']>;
6265
+ type: Scalars['String'];
6266
+ };
5988
6267
  export declare type TProjectCustomLimitsProjection = {
5989
6268
  __typename?: 'ProjectCustomLimitsProjection';
5990
6269
  cartDiscounts: TCartDiscountLimitsProjection;
@@ -6099,6 +6378,10 @@ export declare type TQuery = TCartQueryInterface & TCustomerActiveCartInterface
6099
6378
  productTypes: TProductTypeDefinitionQueryResult;
6100
6379
  products: TProductQueryResult;
6101
6380
  project: TProjectProjection;
6381
+ quote?: Maybe<TQuote>;
6382
+ quoteRequest?: Maybe<TQuoteRequest>;
6383
+ quoteRequests: TQuoteRequestQueryResult;
6384
+ quotes: TQuoteQueryResult;
6102
6385
  review?: Maybe<TReview>;
6103
6386
  reviews: TReviewQueryResult;
6104
6387
  shippingMethod?: Maybe<TShippingMethod>;
@@ -6107,6 +6390,8 @@ export declare type TQuery = TCartQueryInterface & TCustomerActiveCartInterface
6107
6390
  shippingMethodsByLocation: Array<TShippingMethod>;
6108
6391
  shoppingList?: Maybe<TShoppingList>;
6109
6392
  shoppingLists: TShoppingListQueryResult;
6393
+ stagedQuote?: Maybe<TStagedQuote>;
6394
+ stagedQuotes: TStagedQuoteQueryResult;
6110
6395
  standalonePrice?: Maybe<TStandalonePrice>;
6111
6396
  standalonePrices: TStandalonePriceQueryResult;
6112
6397
  state?: Maybe<TState>;
@@ -6381,6 +6666,26 @@ export declare type TQuery_ProductsArgs = {
6381
6666
  sort?: InputMaybe<Array<Scalars['String']>>;
6382
6667
  where?: InputMaybe<Scalars['String']>;
6383
6668
  };
6669
+ export declare type TQuery_QuoteArgs = {
6670
+ id?: InputMaybe<Scalars['String']>;
6671
+ key?: InputMaybe<Scalars['String']>;
6672
+ };
6673
+ export declare type TQuery_QuoteRequestArgs = {
6674
+ id?: InputMaybe<Scalars['String']>;
6675
+ key?: InputMaybe<Scalars['String']>;
6676
+ };
6677
+ export declare type TQuery_QuoteRequestsArgs = {
6678
+ limit?: InputMaybe<Scalars['Int']>;
6679
+ offset?: InputMaybe<Scalars['Int']>;
6680
+ sort?: InputMaybe<Array<Scalars['String']>>;
6681
+ where?: InputMaybe<Scalars['String']>;
6682
+ };
6683
+ export declare type TQuery_QuotesArgs = {
6684
+ limit?: InputMaybe<Scalars['Int']>;
6685
+ offset?: InputMaybe<Scalars['Int']>;
6686
+ sort?: InputMaybe<Array<Scalars['String']>>;
6687
+ where?: InputMaybe<Scalars['String']>;
6688
+ };
6384
6689
  export declare type TQuery_ReviewArgs = {
6385
6690
  id?: InputMaybe<Scalars['String']>;
6386
6691
  key?: InputMaybe<Scalars['String']>;
@@ -6419,6 +6724,16 @@ export declare type TQuery_ShoppingListsArgs = {
6419
6724
  sort?: InputMaybe<Array<Scalars['String']>>;
6420
6725
  where?: InputMaybe<Scalars['String']>;
6421
6726
  };
6727
+ export declare type TQuery_StagedQuoteArgs = {
6728
+ id?: InputMaybe<Scalars['String']>;
6729
+ key?: InputMaybe<Scalars['String']>;
6730
+ };
6731
+ export declare type TQuery_StagedQuotesArgs = {
6732
+ limit?: InputMaybe<Scalars['Int']>;
6733
+ offset?: InputMaybe<Scalars['Int']>;
6734
+ sort?: InputMaybe<Array<Scalars['String']>>;
6735
+ where?: InputMaybe<Scalars['String']>;
6736
+ };
6422
6737
  export declare type TQuery_StandalonePriceArgs = {
6423
6738
  id?: InputMaybe<Scalars['String']>;
6424
6739
  key?: InputMaybe<Scalars['String']>;
@@ -6493,6 +6808,134 @@ export declare type TQueryLimitsProjection = {
6493
6808
  __typename?: 'QueryLimitsProjection';
6494
6809
  offset: TLimit;
6495
6810
  };
6811
+ export declare type TQuote = TVersioned & {
6812
+ __typename?: 'Quote';
6813
+ billingAddress?: Maybe<TAddress>;
6814
+ country?: Maybe<Scalars['Country']>;
6815
+ createdAt: Scalars['DateTime'];
6816
+ createdBy?: Maybe<TInitiator>;
6817
+ custom?: Maybe<TCustomFieldsType>;
6818
+ customLineItems: Array<TCustomLineItem>;
6819
+ customer?: Maybe<TCustomer>;
6820
+ customerRef?: Maybe<TReference>;
6821
+ id: Scalars['String'];
6822
+ inventoryMode: TInventoryMode;
6823
+ itemShippingAddresses: Array<TAddress>;
6824
+ key?: Maybe<Scalars['String']>;
6825
+ lastModifiedAt: Scalars['DateTime'];
6826
+ lastModifiedBy?: Maybe<TInitiator>;
6827
+ lineItems: Array<TLineItem>;
6828
+ paymentInfo?: Maybe<TPaymentInfo>;
6829
+ quoteRequest?: Maybe<TQuoteRequest>;
6830
+ quoteRequestRef: TReference;
6831
+ quoteState: TQuoteState;
6832
+ shippingAddress?: Maybe<TAddress>;
6833
+ shippingInfo?: Maybe<TShippingInfo>;
6834
+ shippingRateInput?: Maybe<TShippingRateInput>;
6835
+ stagedQuote?: Maybe<TStagedQuote>;
6836
+ stagedQuoteRef: TReference;
6837
+ store?: Maybe<TStore>;
6838
+ storeRef?: Maybe<TKeyReference>;
6839
+ taxCalculationMode: TTaxCalculationMode;
6840
+ taxMode: TTaxMode;
6841
+ taxRoundingMode: TRoundingMode;
6842
+ taxedPrice?: Maybe<TTaxedPrice>;
6843
+ totalPrice: TMoney;
6844
+ validTo?: Maybe<Scalars['DateTime']>;
6845
+ version: Scalars['Long'];
6846
+ };
6847
+ export declare type TQuote_LineItemsArgs = {
6848
+ id?: InputMaybe<Scalars['String']>;
6849
+ };
6850
+ export declare type TQuoteDraft = {
6851
+ custom?: InputMaybe<TCustomFieldsDraft>;
6852
+ key?: InputMaybe<Scalars['String']>;
6853
+ stagedQuote?: InputMaybe<TResourceIdentifierInput>;
6854
+ stagedQuoteVersion?: InputMaybe<Scalars['Long']>;
6855
+ };
6856
+ export declare type TQuoteQueryResult = {
6857
+ __typename?: 'QuoteQueryResult';
6858
+ count: Scalars['Int'];
6859
+ exists: Scalars['Boolean'];
6860
+ offset: Scalars['Int'];
6861
+ results: Array<TQuote>;
6862
+ total: Scalars['Long'];
6863
+ };
6864
+ export declare type TQuoteRequest = TVersioned & {
6865
+ __typename?: 'QuoteRequest';
6866
+ billingAddress?: Maybe<TAddress>;
6867
+ comment?: Maybe<Scalars['String']>;
6868
+ country?: Maybe<Scalars['Country']>;
6869
+ createdAt: Scalars['DateTime'];
6870
+ createdBy?: Maybe<TInitiator>;
6871
+ custom?: Maybe<TCustomFieldsType>;
6872
+ customLineItems: Array<TCustomLineItem>;
6873
+ customer?: Maybe<TCustomer>;
6874
+ customerRef?: Maybe<TReference>;
6875
+ id: Scalars['String'];
6876
+ inventoryMode: TInventoryMode;
6877
+ itemShippingAddresses: Array<TAddress>;
6878
+ key?: Maybe<Scalars['String']>;
6879
+ lastModifiedAt: Scalars['DateTime'];
6880
+ lastModifiedBy?: Maybe<TInitiator>;
6881
+ lineItems: Array<TLineItem>;
6882
+ paymentInfo?: Maybe<TPaymentInfo>;
6883
+ quoteRequestState: TQuoteRequestState;
6884
+ shippingAddress?: Maybe<TAddress>;
6885
+ shippingInfo?: Maybe<TShippingInfo>;
6886
+ shippingRateInput?: Maybe<TShippingRateInput>;
6887
+ store?: Maybe<TStore>;
6888
+ storeRef?: Maybe<TKeyReference>;
6889
+ taxCalculationMode: TTaxCalculationMode;
6890
+ taxMode: TTaxMode;
6891
+ taxRoundingMode: TRoundingMode;
6892
+ taxedPrice?: Maybe<TTaxedPrice>;
6893
+ totalPrice: TMoney;
6894
+ version: Scalars['Long'];
6895
+ };
6896
+ export declare type TQuoteRequest_LineItemsArgs = {
6897
+ id?: InputMaybe<Scalars['String']>;
6898
+ };
6899
+ export declare type TQuoteRequestDraft = {
6900
+ cart?: InputMaybe<TResourceIdentifierInput>;
6901
+ cartVersion?: InputMaybe<Scalars['Long']>;
6902
+ comment?: InputMaybe<Scalars['String']>;
6903
+ custom?: InputMaybe<TCustomFieldsDraft>;
6904
+ key?: InputMaybe<Scalars['String']>;
6905
+ };
6906
+ export declare type TQuoteRequestQueryResult = {
6907
+ __typename?: 'QuoteRequestQueryResult';
6908
+ count: Scalars['Int'];
6909
+ exists: Scalars['Boolean'];
6910
+ offset: Scalars['Int'];
6911
+ results: Array<TQuoteRequest>;
6912
+ total: Scalars['Long'];
6913
+ };
6914
+ export declare enum TQuoteRequestState {
6915
+ Accepted = "Accepted",
6916
+ Cancelled = "Cancelled",
6917
+ Closed = "Closed",
6918
+ Rejected = "Rejected",
6919
+ Submitted = "Submitted",
6920
+ UnderReview = "UnderReview"
6921
+ }
6922
+ export declare type TQuoteRequestUpdateAction = {
6923
+ changeQuoteRequestState?: InputMaybe<TChangeQuoteRequestState>;
6924
+ setCustomField?: InputMaybe<TSetQuoteRequestCustomField>;
6925
+ setCustomType?: InputMaybe<TSetQuoteRequestCustomType>;
6926
+ };
6927
+ export declare enum TQuoteState {
6928
+ Accepted = "Accepted",
6929
+ Declined = "Declined",
6930
+ Failed = "Failed",
6931
+ Pending = "Pending",
6932
+ Withdrawn = "Withdrawn"
6933
+ }
6934
+ export declare type TQuoteUpdateAction = {
6935
+ changeQuoteState?: InputMaybe<TChangeQuoteState>;
6936
+ setCustomField?: InputMaybe<TSetQuoteCustomField>;
6937
+ setCustomType?: InputMaybe<TSetQuoteCustomType>;
6938
+ };
6496
6939
  export declare type TRangeCount = {
6497
6940
  type: Scalars['String'];
6498
6941
  };
@@ -7144,6 +7587,7 @@ export declare type TSelectionOfProduct = {
7144
7587
  createdAt: Scalars['DateTime'];
7145
7588
  productSelection?: Maybe<TProductSelection>;
7146
7589
  productSelectionRef: TReference;
7590
+ variantSelection?: Maybe<TProductVariantSelection>;
7147
7591
  };
7148
7592
  export declare type TSelectionOfProductQueryResult = {
7149
7593
  __typename?: 'SelectionOfProductQueryResult';
@@ -7594,6 +8038,16 @@ export declare type TSetInventoryEntrySupplyChannel = {
7594
8038
  export declare type TSetMyCartShippingMethod = {
7595
8039
  shippingMethod?: InputMaybe<TResourceIdentifierInput>;
7596
8040
  };
8041
+ export declare type TSetMyQuoteRequestCustomField = {
8042
+ name: Scalars['String'];
8043
+ value?: InputMaybe<Scalars['String']>;
8044
+ };
8045
+ export declare type TSetMyQuoteRequestCustomType = {
8046
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8047
+ type?: InputMaybe<TResourceIdentifierInput>;
8048
+ typeId?: InputMaybe<Scalars['String']>;
8049
+ typeKey?: InputMaybe<Scalars['String']>;
8050
+ };
7597
8051
  export declare type TSetOrderBillingAddress = {
7598
8052
  address?: InputMaybe<TAddressInput>;
7599
8053
  };
@@ -8006,6 +8460,10 @@ export declare type TSetProductSelectionCustomType = {
8006
8460
  export declare type TSetProductSelectionKey = {
8007
8461
  key?: InputMaybe<Scalars['String']>;
8008
8462
  };
8463
+ export declare type TSetProductSelectionVariantSelection = {
8464
+ product: TResourceIdentifierInput;
8465
+ variantSelection?: InputMaybe<TProductVariantSelectionDraft>;
8466
+ };
8009
8467
  export declare type TSetProductSku = {
8010
8468
  sku?: InputMaybe<Scalars['String']>;
8011
8469
  staged?: InputMaybe<Scalars['Boolean']>;
@@ -8026,6 +8484,26 @@ export declare type TSetProjectSettingsExternalOAuth = {
8026
8484
  export declare type TSetProjectSettingsShippingRateInputType = {
8027
8485
  shippingRateInputType?: InputMaybe<TShippingRateInputTypeInput>;
8028
8486
  };
8487
+ export declare type TSetQuoteCustomField = {
8488
+ name: Scalars['String'];
8489
+ value?: InputMaybe<Scalars['String']>;
8490
+ };
8491
+ export declare type TSetQuoteCustomType = {
8492
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8493
+ type?: InputMaybe<TResourceIdentifierInput>;
8494
+ typeId?: InputMaybe<Scalars['String']>;
8495
+ typeKey?: InputMaybe<Scalars['String']>;
8496
+ };
8497
+ export declare type TSetQuoteRequestCustomField = {
8498
+ name: Scalars['String'];
8499
+ value?: InputMaybe<Scalars['String']>;
8500
+ };
8501
+ export declare type TSetQuoteRequestCustomType = {
8502
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
8503
+ type?: InputMaybe<TResourceIdentifierInput>;
8504
+ typeId?: InputMaybe<Scalars['String']>;
8505
+ typeKey?: InputMaybe<Scalars['String']>;
8506
+ };
8029
8507
  export declare type TSetReviewAuthorName = {
8030
8508
  authorName?: InputMaybe<Scalars['String']>;
8031
8509
  };
@@ -8712,10 +9190,29 @@ export declare type TSetStagedOrderStoreOutput = TStagedOrderUpdateActionOutput
8712
9190
  storeResId?: Maybe<TResourceIdentifier>;
8713
9191
  type: Scalars['String'];
8714
9192
  };
9193
+ export declare type TSetStagedQuoteCustomField = {
9194
+ name: Scalars['String'];
9195
+ value?: InputMaybe<Scalars['String']>;
9196
+ };
9197
+ export declare type TSetStagedQuoteCustomType = {
9198
+ fields?: InputMaybe<Array<TCustomFieldInput>>;
9199
+ type?: InputMaybe<TResourceIdentifierInput>;
9200
+ typeId?: InputMaybe<Scalars['String']>;
9201
+ typeKey?: InputMaybe<Scalars['String']>;
9202
+ };
9203
+ export declare type TSetStagedQuoteSellerComment = {
9204
+ sellerComment?: InputMaybe<Scalars['String']>;
9205
+ };
9206
+ export declare type TSetStagedQuoteValidTo = {
9207
+ validTo?: InputMaybe<Scalars['DateTime']>;
9208
+ };
8715
9209
  export declare type TSetStandalonePriceCustomFields = {
8716
9210
  name: Scalars['String'];
8717
9211
  value?: InputMaybe<Scalars['String']>;
8718
9212
  };
9213
+ export declare type TSetStandalonePriceDiscountedPrice = {
9214
+ discounted?: InputMaybe<TDiscountedProductPriceValueInput>;
9215
+ };
8719
9216
  export declare type TSetStateDescription = {
8720
9217
  description?: InputMaybe<Array<TLocalizedStringItemInputType>>;
8721
9218
  };
@@ -8802,6 +9299,17 @@ export declare type TShippingInfo = {
8802
9299
  taxRate?: Maybe<TTaxRate>;
8803
9300
  taxedPrice?: Maybe<TTaxedItemPrice>;
8804
9301
  };
9302
+ export declare type TShippingInfoImportDraft = {
9303
+ deliveries?: Array<TDeliveryDraft>;
9304
+ discountedPrice?: InputMaybe<TDiscountedLineItemPriceDraft>;
9305
+ price: TMoneyInput;
9306
+ shippingMethod?: InputMaybe<TResourceIdentifierInput>;
9307
+ shippingMethodName: Scalars['String'];
9308
+ shippingMethodState?: TShippingMethodState;
9309
+ shippingRate: TShippingRateDraft;
9310
+ taxCategory?: InputMaybe<TResourceIdentifierInput>;
9311
+ taxRate?: InputMaybe<TTaxRateInput>;
9312
+ };
8805
9313
  export declare type TShippingMethod = TReferenceExpandable & TVersioned & {
8806
9314
  __typename?: 'ShippingMethod';
8807
9315
  createdAt: Scalars['DateTime'];
@@ -9234,6 +9742,56 @@ export declare type TStagedOrderUpdateAction = {
9234
9742
  export declare type TStagedOrderUpdateActionOutput = {
9235
9743
  type: Scalars['String'];
9236
9744
  };
9745
+ export declare type TStagedPriceValue = {
9746
+ __typename?: 'StagedPriceValue';
9747
+ discounted?: Maybe<TDiscountedProductPriceValue>;
9748
+ value: TBaseMoney;
9749
+ };
9750
+ export declare type TStagedQuote = TVersioned & {
9751
+ __typename?: 'StagedQuote';
9752
+ createdAt: Scalars['DateTime'];
9753
+ createdBy?: Maybe<TInitiator>;
9754
+ custom?: Maybe<TCustomFieldsType>;
9755
+ customer?: Maybe<TCustomer>;
9756
+ customerRef?: Maybe<TReference>;
9757
+ id: Scalars['String'];
9758
+ key?: Maybe<Scalars['String']>;
9759
+ lastModifiedAt: Scalars['DateTime'];
9760
+ lastModifiedBy?: Maybe<TInitiator>;
9761
+ quotationCart?: Maybe<TCart>;
9762
+ quotationCartRef: TReference;
9763
+ quoteRequest?: Maybe<TQuoteRequest>;
9764
+ quoteRequestRef: TReference;
9765
+ stagedQuoteState: TStagedQuoteState;
9766
+ validTo?: Maybe<Scalars['DateTime']>;
9767
+ version: Scalars['Long'];
9768
+ };
9769
+ export declare type TStagedQuoteDraft = {
9770
+ custom?: InputMaybe<TCustomFieldsDraft>;
9771
+ key?: InputMaybe<Scalars['String']>;
9772
+ quoteRequest?: InputMaybe<TResourceIdentifierInput>;
9773
+ quoteRequestVersion?: InputMaybe<Scalars['Long']>;
9774
+ };
9775
+ export declare type TStagedQuoteQueryResult = {
9776
+ __typename?: 'StagedQuoteQueryResult';
9777
+ count: Scalars['Int'];
9778
+ exists: Scalars['Boolean'];
9779
+ offset: Scalars['Int'];
9780
+ results: Array<TStagedQuote>;
9781
+ total: Scalars['Long'];
9782
+ };
9783
+ export declare enum TStagedQuoteState {
9784
+ Closed = "Closed",
9785
+ InProgress = "InProgress",
9786
+ Sent = "Sent"
9787
+ }
9788
+ export declare type TStagedQuoteUpdateAction = {
9789
+ changeStagedQuoteState?: InputMaybe<TChangeStagedQuoteState>;
9790
+ setCustomField?: InputMaybe<TSetStagedQuoteCustomField>;
9791
+ setCustomType?: InputMaybe<TSetStagedQuoteCustomType>;
9792
+ setSellerComment?: InputMaybe<TSetStagedQuoteSellerComment>;
9793
+ setValidTo?: InputMaybe<TSetStagedQuoteValidTo>;
9794
+ };
9237
9795
  export declare type TStandalonePrice = TVersioned & {
9238
9796
  __typename?: 'StandalonePrice';
9239
9797
  channelRef?: Maybe<TReference>;
@@ -9248,6 +9806,7 @@ export declare type TStandalonePrice = TVersioned & {
9248
9806
  lastModifiedAt: Scalars['DateTime'];
9249
9807
  lastModifiedBy?: Maybe<TInitiator>;
9250
9808
  sku: Scalars['String'];
9809
+ staged?: Maybe<TStagedPriceValue>;
9251
9810
  tiers?: Maybe<Array<TProductPriceTier>>;
9252
9811
  validFrom?: Maybe<Scalars['DateTime']>;
9253
9812
  validUntil?: Maybe<Scalars['DateTime']>;
@@ -9267,13 +9826,16 @@ export declare type TStandalonePriceCustomField = {
9267
9826
  };
9268
9827
  export declare type TStandalonePriceDeleted = TMessagePayload & {
9269
9828
  __typename?: 'StandalonePriceDeleted';
9270
- priceId: Scalars['String'];
9271
9829
  type: Scalars['String'];
9272
9830
  };
9273
9831
  export declare type TStandalonePriceDiscountSet = TMessagePayload & {
9274
9832
  __typename?: 'StandalonePriceDiscountSet';
9275
9833
  discounted?: Maybe<TDiscountedProductPriceValue>;
9276
- priceId: Scalars['String'];
9834
+ type: Scalars['String'];
9835
+ };
9836
+ export declare type TStandalonePriceExternalDiscountSet = TMessagePayload & {
9837
+ __typename?: 'StandalonePriceExternalDiscountSet';
9838
+ discounted?: Maybe<TDiscountedProductPriceValue>;
9277
9839
  type: Scalars['String'];
9278
9840
  };
9279
9841
  export declare type TStandalonePriceQueryResult = {
@@ -9288,10 +9850,10 @@ export declare type TStandalonePriceUpdateAction = {
9288
9850
  changeValue?: InputMaybe<TChangeStandalonePriceValue>;
9289
9851
  setCustomField?: InputMaybe<TSetStandalonePriceCustomFields>;
9290
9852
  setCustomType?: InputMaybe<TCustomFieldsDraft>;
9853
+ setDiscountedPrice?: InputMaybe<TSetStandalonePriceDiscountedPrice>;
9291
9854
  };
9292
9855
  export declare type TStandalonePriceValueChanged = TMessagePayload & {
9293
9856
  __typename?: 'StandalonePriceValueChanged';
9294
- priceId: Scalars['String'];
9295
9857
  type: Scalars['String'];
9296
9858
  value: TBaseMoney;
9297
9859
  };
@@ -9407,6 +9969,14 @@ export declare type TStoreDeleted = TMessagePayload & {
9407
9969
  __typename?: 'StoreDeleted';
9408
9970
  type: Scalars['String'];
9409
9971
  };
9972
+ export declare type TStoreDistributionChannelsChanged = TMessagePayload & {
9973
+ __typename?: 'StoreDistributionChannelsChanged';
9974
+ addedDistributionChannels: Array<TChannel>;
9975
+ addedDistributionChannelsRef: Array<TReference>;
9976
+ removedDistributionChannels?: Maybe<Array<TChannel>>;
9977
+ removedDistributionChannelsRef: Array<TReference>;
9978
+ type: Scalars['String'];
9979
+ };
9410
9980
  export declare type TStoreLimitWithCurrent = TLimitWithCurrent & {
9411
9981
  __typename?: 'StoreLimitWithCurrent';
9412
9982
  current: Scalars['Long'];
@@ -9625,6 +10195,15 @@ export declare type TTaxRateDraft = {
9625
10195
  state?: InputMaybe<Scalars['String']>;
9626
10196
  subRates?: InputMaybe<Array<TSubRateDraft>>;
9627
10197
  };
10198
+ export declare type TTaxRateInput = {
10199
+ amount: Scalars['Float'];
10200
+ country: Scalars['Country'];
10201
+ id?: InputMaybe<Scalars['String']>;
10202
+ includedInPrice: Scalars['Boolean'];
10203
+ name: Scalars['String'];
10204
+ state?: InputMaybe<Scalars['String']>;
10205
+ subRates?: InputMaybe<Array<TSubRateDraft>>;
10206
+ };
9628
10207
  export declare type TTaxedItemPrice = {
9629
10208
  __typename?: 'TaxedItemPrice';
9630
10209
  totalGross: TMoney;
@@ -9638,6 +10217,12 @@ export declare type TTaxedPrice = {
9638
10217
  totalNet: TMoney;
9639
10218
  totalTax?: Maybe<TMoney>;
9640
10219
  };
10220
+ export declare type TTaxedPriceDraft = {
10221
+ taxPortions: Array<TTaxPortionDraft>;
10222
+ totalGross: TBaseMoneyInput;
10223
+ totalNet: TBaseMoneyInput;
10224
+ totalTax?: InputMaybe<TBaseMoneyInput>;
10225
+ };
9641
10226
  export declare type TTermCount = {
9642
10227
  __typename?: 'TermCount';
9643
10228
  count: Scalars['Int'];