@commercetools-frontend/application-shell 22.6.0 → 22.7.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 (84) hide show
  1. package/dist/{application-entry-point-afa36f4a.esm.js → application-entry-point-4b2f37d2.esm.js} +1 -1
  2. package/dist/{application-entry-point-8c1b932a.cjs.dev.js → application-entry-point-78dcfccf.cjs.dev.js} +1 -1
  3. package/dist/{application-entry-point-2000359c.cjs.prod.js → application-entry-point-9eaf625b.cjs.prod.js} +1 -1
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +6 -9
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +6 -9
  6. package/dist/commercetools-frontend-application-shell.esm.js +3 -9
  7. package/dist/{configure-apollo-f632e6cf.cjs.prod.js → configure-apollo-651219fe.cjs.prod.js} +10 -2
  8. package/dist/{configure-apollo-010b521a.esm.js → configure-apollo-7d1735c1.esm.js} +10 -2
  9. package/dist/{configure-apollo-e0273cd1.cjs.dev.js → configure-apollo-fd556518.cjs.dev.js} +10 -2
  10. package/dist/declarations/src/components/application-shell-authenticated/new-main-navigation-flag-wrapper.d.ts +7 -2
  11. package/dist/declarations/src/components/application-shell-provider/utils.d.ts +1 -1
  12. package/dist/declarations/src/components/custom-view-context/custom-view-context.d.ts +12 -0
  13. package/dist/declarations/src/components/custom-view-context/index.d.ts +1 -0
  14. package/dist/declarations/src/components/custom-view-shell/custom-view-shell.d.ts +9 -0
  15. package/dist/declarations/src/components/custom-view-shell/index.d.ts +1 -0
  16. package/dist/declarations/src/components/custom-view-shell-authenticated/custom-view-shell-authenticated.d.ts +12 -0
  17. package/dist/declarations/src/components/custom-view-shell-authenticated/index.d.ts +1 -0
  18. package/dist/declarations/src/components/navbar/compiled/navbar.css.json.d.ts +1 -1
  19. package/dist/declarations/src/components/navbar/index.d.ts +5 -2
  20. package/dist/declarations/src/components/navbar/menu-items.d.ts +4 -4
  21. package/dist/declarations/src/components/navbar/navbar-skeleton.d.ts +6 -0
  22. package/dist/declarations/src/components/navbar/navbar-skeleton.styles.d.ts +43 -0
  23. package/dist/declarations/src/components/navbar/navbar.d.ts +5 -2
  24. package/dist/declarations/src/index.d.ts +2 -0
  25. package/dist/declarations/src/types/generated/ctp.d.ts +124 -51
  26. package/dist/declarations/src/types/generated/mc.d.ts +0 -83
  27. package/dist/declarations/src/types/generated/settings.d.ts +106 -0
  28. package/dist/{index-0bfb96a9.cjs.prod.js → index-62467df5.cjs.prod.js} +265 -472
  29. package/dist/index-763cd304.esm.js +2032 -0
  30. package/dist/index-b4696e0a.cjs.dev.js +2099 -0
  31. package/dist/navbar-21b59702.cjs.prod.js +1144 -0
  32. package/dist/navbar-a44260f4.esm.js +1209 -0
  33. package/dist/navbar-f1d631ef.cjs.dev.js +1239 -0
  34. package/dist/{oidc-callback-54e4b551.cjs.dev.js → oidc-callback-842c6103.cjs.dev.js} +4 -10
  35. package/dist/{oidc-callback-e0687f34.cjs.prod.js → oidc-callback-a6503499.cjs.prod.js} +4 -10
  36. package/dist/{oidc-callback-518b3a62.esm.js → oidc-callback-ff7160f9.esm.js} +4 -10
  37. package/dist/{project-container-3243f800.esm.js → project-container-c34b3563.esm.js} +9 -13
  38. package/dist/{project-container-17d86e50.cjs.prod.js → project-container-e2770668.cjs.prod.js} +9 -13
  39. package/dist/{project-container-9c7806ef.cjs.dev.js → project-container-fcbf04f4.cjs.dev.js} +9 -13
  40. package/dist/{project-expired-c3a6aa3c.esm.js → project-expired-1e0021f1.esm.js} +5 -11
  41. package/dist/{project-expired-443cd7e0.cjs.prod.js → project-expired-2b816199.cjs.prod.js} +5 -11
  42. package/dist/{project-expired-6dab919c.cjs.dev.js → project-expired-75edfdaa.cjs.dev.js} +5 -11
  43. package/dist/{project-not-found-c728c4c2.esm.js → project-not-found-4d882010.esm.js} +5 -11
  44. package/dist/{project-not-found-1a5bad77.cjs.dev.js → project-not-found-77cc9900.cjs.dev.js} +5 -11
  45. package/dist/{project-not-found-5fcc4b22.cjs.prod.js → project-not-found-8cdc8967.cjs.prod.js} +5 -11
  46. package/dist/{project-not-initialized-316131ae.cjs.prod.js → project-not-initialized-1e158ec7.cjs.prod.js} +5 -11
  47. package/dist/{project-not-initialized-c48f8d83.cjs.dev.js → project-not-initialized-29cabc17.cjs.dev.js} +5 -11
  48. package/dist/{project-not-initialized-86835aca.esm.js → project-not-initialized-98825943.esm.js} +5 -11
  49. package/dist/{project-suspended-2d6404d2.cjs.prod.js → project-suspended-8c1f499c.cjs.prod.js} +5 -11
  50. package/dist/{project-suspended-4db209e6.esm.js → project-suspended-ed2b1227.esm.js} +5 -11
  51. package/dist/{project-suspended-271303c3.cjs.dev.js → project-suspended-fc98b3d1.cjs.dev.js} +5 -11
  52. package/dist/{quick-access-07b2fea2.esm.js → quick-access-158b499a.esm.js} +3 -8
  53. package/dist/{quick-access-8e4e90a0.cjs.prod.js → quick-access-c6e99d06.cjs.prod.js} +3 -8
  54. package/dist/{quick-access-097009ce.cjs.dev.js → quick-access-cfeb6cec.cjs.dev.js} +3 -8
  55. package/dist/{redirect-to-login-d9dcccac.esm.js → redirect-to-login-6906966c.esm.js} +1 -1
  56. package/dist/{redirect-to-login-531c3d52.cjs.dev.js → redirect-to-login-88714a9b.cjs.dev.js} +1 -1
  57. package/dist/{redirect-to-login-7cb94c3e.cjs.prod.js → redirect-to-login-d133b84f.cjs.prod.js} +1 -1
  58. package/dist/{redirect-to-logout-c4173114.esm.js → redirect-to-logout-27a66cc7.esm.js} +4 -10
  59. package/dist/{redirect-to-logout-2e314afc.cjs.dev.js → redirect-to-logout-4f3f82f1.cjs.dev.js} +4 -10
  60. package/dist/{redirect-to-logout-54a2fc06.cjs.prod.js → redirect-to-logout-55feba64.cjs.prod.js} +4 -10
  61. package/dist/{requests-in-flight-loader-ecde7bbe.cjs.prod.js → requests-in-flight-loader-219f802b.cjs.prod.js} +4 -10
  62. package/dist/{requests-in-flight-loader-0b09c194.esm.js → requests-in-flight-loader-7dbb4644.esm.js} +4 -10
  63. package/dist/{requests-in-flight-loader-6ba8df53.cjs.dev.js → requests-in-flight-loader-929aec28.cjs.dev.js} +4 -10
  64. package/dist/{service-page-project-switcher-1977dcac.cjs.dev.js → service-page-project-switcher-6fe90ebf.cjs.dev.js} +1 -1
  65. package/dist/{service-page-project-switcher-8ee27c7e.esm.js → service-page-project-switcher-b118a954.esm.js} +1 -1
  66. package/dist/{service-page-project-switcher-a0df49fc.cjs.prod.js → service-page-project-switcher-fe34254d.cjs.prod.js} +1 -1
  67. package/dist/{use-applications-menu-af860769.cjs.prod.js → use-applications-menu-37b8d2c6.cjs.dev.js} +9 -8
  68. package/dist/{use-applications-menu-4ba2061e.cjs.dev.js → use-applications-menu-bf23bd5d.cjs.prod.js} +9 -8
  69. package/dist/{use-applications-menu-f296617c.esm.js → use-applications-menu-fabb6a77.esm.js} +9 -8
  70. package/dist/{user-settings-menu-c7836a3c.esm.js → user-settings-menu-e4439479.esm.js} +5 -11
  71. package/dist/{user-settings-menu-85485124.cjs.dev.js → user-settings-menu-ef7fee49.cjs.dev.js} +5 -11
  72. package/dist/{user-settings-menu-6a7b4699.cjs.prod.js → user-settings-menu-fa056e1c.cjs.prod.js} +5 -11
  73. package/dist/{version-tracker-de5d57b3.esm.js → version-tracker-cc9a8d4c.esm.js} +1 -1
  74. package/dist/{version-tracker-16b5844a.cjs.prod.js → version-tracker-e1338396.cjs.prod.js} +1 -1
  75. package/dist/{version-tracker-d30bd05d.cjs.dev.js → version-tracker-f72dd9c8.cjs.dev.js} +1 -1
  76. package/package.json +33 -33
  77. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
  78. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
  79. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
  80. package/dist/index-419189bf.cjs.dev.js +0 -2341
  81. package/dist/index-c24c3bbf.esm.js +0 -2262
  82. package/dist/navbar-1e90d18c.cjs.dev.js +0 -609
  83. package/dist/navbar-27c12ed8.esm.js +0 -589
  84. package/dist/navbar-c548a201.cjs.prod.js +0 -588
@@ -318,6 +318,7 @@ export type TAddShippingMethodZone = {
318
318
  export type TAddShoppingListLineItem = {
319
319
  addedAt?: InputMaybe<Scalars['DateTime']>;
320
320
  custom?: InputMaybe<TCustomFieldsDraft>;
321
+ key?: InputMaybe<Scalars['String']>;
321
322
  productId?: InputMaybe<Scalars['String']>;
322
323
  quantity?: InputMaybe<Scalars['Int']>;
323
324
  sku?: InputMaybe<Scalars['String']>;
@@ -327,6 +328,7 @@ export type TAddShoppingListTextLineItem = {
327
328
  addedAt?: InputMaybe<Scalars['DateTime']>;
328
329
  custom?: InputMaybe<TCustomFieldsDraft>;
329
330
  description?: InputMaybe<Array<TLocalizedStringItemInputType>>;
331
+ key?: InputMaybe<Scalars['String']>;
330
332
  name: Array<TLocalizedStringItemInputType>;
331
333
  quantity?: InputMaybe<Scalars['Int']>;
332
334
  };
@@ -623,25 +625,22 @@ export type TApprovalFlowApproval = {
623
625
  };
624
626
  export type TApprovalFlowApproved = TMessagePayload & {
625
627
  __typename?: 'ApprovalFlowApproved';
626
- associateId: Scalars['String'];
627
- immediatePendingApprovers: Array<TRuleApprover>;
628
- orderId: Scalars['String'];
629
- pendingApprovers: Array<TRuleApprover>;
630
- roles: Array<TRuleApprover>;
631
- ruleInfos: Array<TRuleInfo>;
628
+ associate?: Maybe<TCustomer>;
629
+ associateRef?: Maybe<TReference>;
630
+ order?: Maybe<TOrder>;
631
+ orderRef?: Maybe<TReference>;
632
632
  type: Scalars['String'];
633
633
  };
634
634
  export type TApprovalFlowCompleted = TMessagePayload & {
635
635
  __typename?: 'ApprovalFlowCompleted';
636
- orderId: Scalars['String'];
636
+ order?: Maybe<TOrder>;
637
+ orderRef?: Maybe<TReference>;
638
+ status: Scalars['String'];
637
639
  type: Scalars['String'];
638
640
  };
639
641
  export type TApprovalFlowCreated = TMessagePayload & {
640
642
  __typename?: 'ApprovalFlowCreated';
641
- immediatePendingApprovers: Array<TRuleApprover>;
642
- orderId: Scalars['String'];
643
- pendingApprovers: Array<TRuleApprover>;
644
- ruleInfos: Array<TRuleInfo>;
643
+ approvalFlow: TApprovalFlow;
645
644
  type: Scalars['String'];
646
645
  };
647
646
  export type TApprovalFlowQueryResult = {
@@ -654,10 +653,11 @@ export type TApprovalFlowQueryResult = {
654
653
  };
655
654
  export type TApprovalFlowRejected = TMessagePayload & {
656
655
  __typename?: 'ApprovalFlowRejected';
657
- associateId: Scalars['String'];
658
- orderId: Scalars['String'];
659
- reason?: Maybe<Scalars['String']>;
660
- ruleInfos: Array<TRuleInfo>;
656
+ associate?: Maybe<TCustomer>;
657
+ associateRef?: Maybe<TReference>;
658
+ order?: Maybe<TOrder>;
659
+ orderRef?: Maybe<TReference>;
660
+ rejectionReason?: Maybe<Scalars['String']>;
661
661
  type: Scalars['String'];
662
662
  };
663
663
  export type TApprovalFlowRejection = {
@@ -887,12 +887,10 @@ export type TAssociate = {
887
887
  associateRoleAssignments: Array<TAssociateRoleAssignment>;
888
888
  customer?: Maybe<TCustomer>;
889
889
  customerRef?: Maybe<TReference>;
890
- roles: Array<TSimpleAssociateRole>;
891
890
  };
892
891
  export type TAssociateDraft = {
893
892
  associateRoleAssignments?: InputMaybe<Array<TAssociateRoleAssignmentDraft>>;
894
893
  customer: TResourceIdentifierInput;
895
- roles?: InputMaybe<Array<TSimpleAssociateRole>>;
896
894
  };
897
895
  export declare enum TAssociateInheritanceMode {
898
896
  Disabled = "Disabled",
@@ -2233,6 +2231,9 @@ export type TChangeProjectSettingsCountryTaxRateFallbackEnabled = {
2233
2231
  export type TChangeProjectSettingsCurrencies = {
2234
2232
  currencies: Array<Scalars['Currency']>;
2235
2233
  };
2234
+ export type TChangeProjectSettingsCustomerSearchStatus = {
2235
+ status: TCustomerSearchStatus;
2236
+ };
2236
2237
  export type TChangeProjectSettingsLanguages = {
2237
2238
  languages: Array<Scalars['Locale']>;
2238
2239
  };
@@ -2282,7 +2283,8 @@ export type TChangeShippingMethodTaxCategory = {
2282
2283
  taxCategory: TResourceIdentifierInput;
2283
2284
  };
2284
2285
  export type TChangeShoppingListLineItemQuantity = {
2285
- lineItemId: Scalars['String'];
2286
+ lineItemId?: InputMaybe<Scalars['String']>;
2287
+ lineItemKey?: InputMaybe<Scalars['String']>;
2286
2288
  quantity: Scalars['Int'];
2287
2289
  };
2288
2290
  export type TChangeShoppingListLineItemsOrder = {
@@ -2293,11 +2295,13 @@ export type TChangeShoppingListName = {
2293
2295
  };
2294
2296
  export type TChangeShoppingListTextLineItemName = {
2295
2297
  name: Array<TLocalizedStringItemInputType>;
2296
- textLineItemId: Scalars['String'];
2298
+ textLineItemId?: InputMaybe<Scalars['String']>;
2299
+ textLineItemKey?: InputMaybe<Scalars['String']>;
2297
2300
  };
2298
2301
  export type TChangeShoppingListTextLineItemQuantity = {
2299
2302
  quantity: Scalars['Int'];
2300
- textLineItemId: Scalars['String'];
2303
+ textLineItemId?: InputMaybe<Scalars['String']>;
2304
+ textLineItemKey?: InputMaybe<Scalars['String']>;
2301
2305
  };
2302
2306
  export type TChangeShoppingListTextLineItemsOrder = {
2303
2307
  textLineItemOrder: Array<Scalars['String']>;
@@ -2610,7 +2614,6 @@ export type TCreateProductSelectionDraft = {
2610
2614
  key?: InputMaybe<Scalars['String']>;
2611
2615
  mode?: InputMaybe<TProductSelectionMode>;
2612
2616
  name: Array<TLocalizedStringItemInputType>;
2613
- type?: InputMaybe<Scalars['String']>;
2614
2617
  };
2615
2618
  export type TCreateStandalonePrice = {
2616
2619
  active?: Scalars['Boolean'];
@@ -2621,6 +2624,7 @@ export type TCreateStandalonePrice = {
2621
2624
  discounted?: InputMaybe<TDiscountedProductPriceValueInput>;
2622
2625
  key?: InputMaybe<Scalars['String']>;
2623
2626
  sku: Scalars['String'];
2627
+ staged?: InputMaybe<TStagedPriceDraft>;
2624
2628
  tiers?: InputMaybe<Array<TProductPriceTierInput>>;
2625
2629
  validFrom?: InputMaybe<Scalars['DateTime']>;
2626
2630
  validUntil?: InputMaybe<Scalars['DateTime']>;
@@ -2691,6 +2695,7 @@ export type TCustomLineItem = {
2691
2695
  taxCategoryRef?: Maybe<TReference>;
2692
2696
  taxRate?: Maybe<TTaxRate>;
2693
2697
  taxedPrice?: Maybe<TTaxedItemPrice>;
2698
+ taxedPricePortions: Array<TMethodTaxedPrice>;
2694
2699
  totalPrice: TMoney;
2695
2700
  };
2696
2701
  export type TCustomLineItem_NameArgs = {
@@ -3061,6 +3066,16 @@ export type TCustomerQueryResult = {
3061
3066
  results: Array<TCustomer>;
3062
3067
  total: Scalars['Long'];
3063
3068
  };
3069
+ export type TCustomerSearchConfiguration = {
3070
+ __typename?: 'CustomerSearchConfiguration';
3071
+ lastModifiedAt: Scalars['DateTime'];
3072
+ lastModifiedBy?: Maybe<TInitiator>;
3073
+ status: TCustomerSearchStatus;
3074
+ };
3075
+ export declare enum TCustomerSearchStatus {
3076
+ Activated = "Activated",
3077
+ Deactivated = "Deactivated"
3078
+ }
3064
3079
  export type TCustomerSignInDraft = {
3065
3080
  anonymousCart?: InputMaybe<TResourceIdentifierInput>;
3066
3081
  anonymousCartId?: InputMaybe<Scalars['String']>;
@@ -5793,15 +5808,6 @@ export type TOrderCustomFieldRemoved = TMessagePayload & TOrderMessagePayload &
5793
5808
  name: Scalars['String'];
5794
5809
  type: Scalars['String'];
5795
5810
  };
5796
- export type TOrderCustomFieldsRemoved = TMessagePayload & TOrderMessagePayload & {
5797
- __typename?: 'OrderCustomFieldsRemoved';
5798
- type: Scalars['String'];
5799
- };
5800
- export type TOrderCustomFieldsSet = TMessagePayload & TOrderMessagePayload & {
5801
- __typename?: 'OrderCustomFieldsSet';
5802
- customField: TCustomFieldsType;
5803
- type: Scalars['String'];
5804
- };
5805
5811
  export type TOrderCustomLineItemAdded = TMessagePayload & TOrderMessagePayload & {
5806
5812
  __typename?: 'OrderCustomLineItemAdded';
5807
5813
  customLineItem: TCustomLineItem;
@@ -5830,6 +5836,17 @@ export type TOrderCustomLineItemRemoved = TMessagePayload & TOrderMessagePayload
5830
5836
  customLineItemKey?: Maybe<Scalars['String']>;
5831
5837
  type: Scalars['String'];
5832
5838
  };
5839
+ export type TOrderCustomTypeRemoved = TMessagePayload & TOrderMessagePayload & {
5840
+ __typename?: 'OrderCustomTypeRemoved';
5841
+ previousTypeId?: Maybe<Scalars['String']>;
5842
+ type: Scalars['String'];
5843
+ };
5844
+ export type TOrderCustomTypeSet = TMessagePayload & TOrderMessagePayload & {
5845
+ __typename?: 'OrderCustomTypeSet';
5846
+ customFields: TCustomFieldsType;
5847
+ previousTypeId?: Maybe<Scalars['String']>;
5848
+ type: Scalars['String'];
5849
+ };
5833
5850
  export type TOrderCustomerEmailSet = TMessagePayload & TOrderMessagePayload & {
5834
5851
  __typename?: 'OrderCustomerEmailSet';
5835
5852
  email?: Maybe<Scalars['String']>;
@@ -6415,6 +6432,7 @@ export declare enum TPermission {
6415
6432
  AcceptMyQuotes = "AcceptMyQuotes",
6416
6433
  AcceptOthersQuotes = "AcceptOthersQuotes",
6417
6434
  AddChildUnits = "AddChildUnits",
6435
+ CreateApprovalRules = "CreateApprovalRules",
6418
6436
  CreateMyCarts = "CreateMyCarts",
6419
6437
  CreateMyOrdersFromMyCarts = "CreateMyOrdersFromMyCarts",
6420
6438
  CreateMyOrdersFromMyQuotes = "CreateMyOrdersFromMyQuotes",
@@ -6431,6 +6449,8 @@ export declare enum TPermission {
6431
6449
  ReassignOthersQuotes = "ReassignOthersQuotes",
6432
6450
  RenegotiateMyQuotes = "RenegotiateMyQuotes",
6433
6451
  RenegotiateOthersQuotes = "RenegotiateOthersQuotes",
6452
+ UpdateApprovalFlows = "UpdateApprovalFlows",
6453
+ UpdateApprovalRules = "UpdateApprovalRules",
6434
6454
  UpdateAssociates = "UpdateAssociates",
6435
6455
  UpdateBusinessUnitDetails = "UpdateBusinessUnitDetails",
6436
6456
  UpdateMyCarts = "UpdateMyCarts",
@@ -7131,7 +7151,6 @@ export type TProductSelection = TVersioned & {
7131
7151
  nameAllLocales: Array<TLocalizedString>;
7132
7152
  productCount: Scalars['Int'];
7133
7153
  productRefs: TProductOfSelectionQueryResult;
7134
- type: TProductSelectionType;
7135
7154
  version: Scalars['Long'];
7136
7155
  };
7137
7156
  export type TProductSelection_NameArgs = {
@@ -7208,10 +7227,6 @@ export type TProductSelectionSettingInActionInput = {
7208
7227
  active?: InputMaybe<Scalars['Boolean']>;
7209
7228
  productSelection: TResourceIdentifierInput;
7210
7229
  };
7211
- export declare enum TProductSelectionType {
7212
- Individual = "individual",
7213
- IndividualExclusion = "individualExclusion"
7214
- }
7215
7230
  export type TProductSelectionUpdateAction = {
7216
7231
  addProduct?: InputMaybe<TAddProductSelectionProduct>;
7217
7232
  changeName?: InputMaybe<TChangeProductSelectionName>;
@@ -7540,6 +7555,7 @@ export type TProjectSettingsUpdateAction = {
7540
7555
  changeCountries?: InputMaybe<TChangeProjectSettingsCountries>;
7541
7556
  changeCountryTaxRateFallbackEnabled?: InputMaybe<TChangeProjectSettingsCountryTaxRateFallbackEnabled>;
7542
7557
  changeCurrencies?: InputMaybe<TChangeProjectSettingsCurrencies>;
7558
+ changeCustomerSearchStatus?: InputMaybe<TChangeProjectSettingsCustomerSearchStatus>;
7543
7559
  changeLanguages?: InputMaybe<TChangeProjectSettingsLanguages>;
7544
7560
  changeMessagesConfiguration?: InputMaybe<TChangeProjectSettingsMessagesConfiguration>;
7545
7561
  changeMessagesEnabled?: InputMaybe<TChangeProjectSettingsMessagesEnabled>;
@@ -8095,6 +8111,8 @@ export type TQuote = TVersioned & {
8095
8111
  custom?: Maybe<TCustomFieldsType>;
8096
8112
  customLineItems: Array<TCustomLineItem>;
8097
8113
  customer?: Maybe<TCustomer>;
8114
+ customerGroup?: Maybe<TCustomerGroup>;
8115
+ customerGroupRef?: Maybe<TReference>;
8098
8116
  customerRef?: Maybe<TReference>;
8099
8117
  directDiscounts: Array<TDirectDiscount>;
8100
8118
  id: Scalars['String'];
@@ -8172,6 +8190,8 @@ export type TQuoteRequest = TVersioned & {
8172
8190
  custom?: Maybe<TCustomFieldsType>;
8173
8191
  customLineItems: Array<TCustomLineItem>;
8174
8192
  customer?: Maybe<TCustomer>;
8193
+ customerGroup?: Maybe<TCustomerGroup>;
8194
+ customerGroupRef?: Maybe<TReference>;
8175
8195
  customerRef?: Maybe<TReference>;
8176
8196
  directDiscounts: Array<TDirectDiscount>;
8177
8197
  id: Scalars['String'];
@@ -8201,6 +8221,23 @@ export type TQuoteRequest = TVersioned & {
8201
8221
  export type TQuoteRequest_LineItemsArgs = {
8202
8222
  id?: InputMaybe<Scalars['String']>;
8203
8223
  };
8224
+ export type TQuoteRequestCreated = TMessagePayload & {
8225
+ __typename?: 'QuoteRequestCreated';
8226
+ quoteRequest: TQuoteRequest;
8227
+ type: Scalars['String'];
8228
+ };
8229
+ export type TQuoteRequestCustomerChanged = TMessagePayload & {
8230
+ __typename?: 'QuoteRequestCustomerChanged';
8231
+ customer?: Maybe<TCustomer>;
8232
+ customerRef: TReference;
8233
+ previousCustomer?: Maybe<TCustomer>;
8234
+ previousCustomerRef: TReference;
8235
+ type: Scalars['String'];
8236
+ };
8237
+ export type TQuoteRequestDeleted = TMessagePayload & {
8238
+ __typename?: 'QuoteRequestDeleted';
8239
+ type: Scalars['String'];
8240
+ };
8204
8241
  export type TQuoteRequestDraft = {
8205
8242
  cart?: InputMaybe<TResourceIdentifierInput>;
8206
8243
  cartVersion?: InputMaybe<Scalars['Long']>;
@@ -8240,6 +8277,21 @@ export declare enum TQuoteRequestState {
8240
8277
  Submitted = "Submitted",
8241
8278
  UnderReview = "UnderReview"
8242
8279
  }
8280
+ export type TQuoteRequestStateChanged = TMessagePayload & {
8281
+ __typename?: 'QuoteRequestStateChanged';
8282
+ oldQuoteRequestState: TQuoteRequestState;
8283
+ quoteRequestState: TQuoteRequestState;
8284
+ type: Scalars['String'];
8285
+ };
8286
+ export type TQuoteRequestStateTransition = TMessagePayload & {
8287
+ __typename?: 'QuoteRequestStateTransition';
8288
+ force: Scalars['Boolean'];
8289
+ oldState?: Maybe<TState>;
8290
+ oldStateRef?: Maybe<TReference>;
8291
+ state?: Maybe<TState>;
8292
+ stateRef: TReference;
8293
+ type: Scalars['String'];
8294
+ };
8243
8295
  export type TQuoteRequestUpdateAction = {
8244
8296
  changeCustomer?: InputMaybe<TChangeQuoteRequestCustomer>;
8245
8297
  changeQuoteRequestState?: InputMaybe<TChangeQuoteRequestState>;
@@ -8554,12 +8606,17 @@ export type TRemoveShippingMethodZone = {
8554
8606
  zone: TResourceIdentifierInput;
8555
8607
  };
8556
8608
  export type TRemoveShoppingListLineItem = {
8557
- lineItemId: Scalars['String'];
8609
+ lineItemId?: InputMaybe<Scalars['String']>;
8610
+ lineItemKey?: InputMaybe<Scalars['String']>;
8558
8611
  quantity?: InputMaybe<Scalars['Int']>;
8559
8612
  };
8560
8613
  export type TRemoveShoppingListTextLineItem = {
8561
8614
  quantity?: InputMaybe<Scalars['Int']>;
8562
- textLineItemId: Scalars['String'];
8615
+ textLineItemId?: InputMaybe<Scalars['String']>;
8616
+ textLineItemKey?: InputMaybe<Scalars['String']>;
8617
+ };
8618
+ export type TRemoveStagedChanges = {
8619
+ dummy?: InputMaybe<Scalars['String']>;
8563
8620
  };
8564
8621
  export type TRemoveStagedOrderCustomLineItem = {
8565
8622
  customLineItemId?: InputMaybe<Scalars['String']>;
@@ -8857,11 +8914,6 @@ export type TRuleApprover = {
8857
8914
  export type TRuleApproverDraft = {
8858
8915
  associateRole: TResourceIdentifierInput;
8859
8916
  };
8860
- export type TRuleInfo = {
8861
- __typename?: 'RuleInfo';
8862
- description?: Maybe<Scalars['String']>;
8863
- name: Scalars['String'];
8864
- };
8865
8917
  export type TRuleRequester = {
8866
8918
  __typename?: 'RuleRequester';
8867
8919
  associateRole: TAssociateRole;
@@ -8949,6 +9001,7 @@ export type TSearchFilterModelInput = {
8949
9001
  };
8950
9002
  export type TSearchIndexingConfiguration = {
8951
9003
  __typename?: 'SearchIndexingConfiguration';
9004
+ customers?: Maybe<TCustomerSearchConfiguration>;
8952
9005
  orders?: Maybe<TOrderSearchConfiguration>;
8953
9006
  products?: Maybe<TSearchIndexingConfigurationValues>;
8954
9007
  standalonePrices?: Maybe<TSearchIndexingConfigurationValues>;
@@ -9007,6 +9060,7 @@ export declare enum TSelectionMode {
9007
9060
  export type TSelectionOfProduct = {
9008
9061
  __typename?: 'SelectionOfProduct';
9009
9062
  createdAt: Scalars['DateTime'];
9063
+ lastModifiedAt: Scalars['DateTime'];
9010
9064
  productSelection?: Maybe<TProductSelection>;
9011
9065
  productSelectionRef: TReference;
9012
9066
  variantExclusion?: Maybe<TProductVariantExclusion>;
@@ -9165,11 +9219,13 @@ export type TSetCartCustomLineItemTaxAmount = {
9165
9219
  customLineItemId?: InputMaybe<Scalars['String']>;
9166
9220
  customLineItemKey?: InputMaybe<Scalars['String']>;
9167
9221
  externalTaxAmount?: InputMaybe<TExternalTaxAmountDraft>;
9222
+ shippingKey?: InputMaybe<Scalars['String']>;
9168
9223
  };
9169
9224
  export type TSetCartCustomLineItemTaxRate = {
9170
9225
  customLineItemId?: InputMaybe<Scalars['String']>;
9171
9226
  customLineItemKey?: InputMaybe<Scalars['String']>;
9172
9227
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
9228
+ shippingKey?: InputMaybe<Scalars['String']>;
9173
9229
  };
9174
9230
  export type TSetCartCustomShippingMethod = {
9175
9231
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
@@ -10225,13 +10281,15 @@ export type TSetShoppingListKey = {
10225
10281
  key?: InputMaybe<Scalars['String']>;
10226
10282
  };
10227
10283
  export type TSetShoppingListLineItemCustomField = {
10228
- lineItemId: Scalars['String'];
10284
+ lineItemId?: InputMaybe<Scalars['String']>;
10285
+ lineItemKey?: InputMaybe<Scalars['String']>;
10229
10286
  name: Scalars['String'];
10230
10287
  value?: InputMaybe<Scalars['String']>;
10231
10288
  };
10232
10289
  export type TSetShoppingListLineItemCustomType = {
10233
10290
  fields?: InputMaybe<Array<TCustomFieldInput>>;
10234
- lineItemId: Scalars['String'];
10291
+ lineItemId?: InputMaybe<Scalars['String']>;
10292
+ lineItemKey?: InputMaybe<Scalars['String']>;
10235
10293
  type?: InputMaybe<TResourceIdentifierInput>;
10236
10294
  typeId?: InputMaybe<Scalars['String']>;
10237
10295
  typeKey?: InputMaybe<Scalars['String']>;
@@ -10244,19 +10302,22 @@ export type TSetShoppingListStore = {
10244
10302
  };
10245
10303
  export type TSetShoppingListTextLineItemCustomField = {
10246
10304
  name: Scalars['String'];
10247
- textLineItemId: Scalars['String'];
10305
+ textLineItemId?: InputMaybe<Scalars['String']>;
10306
+ textLineItemKey?: InputMaybe<Scalars['String']>;
10248
10307
  value?: InputMaybe<Scalars['String']>;
10249
10308
  };
10250
10309
  export type TSetShoppingListTextLineItemCustomType = {
10251
10310
  fields?: InputMaybe<Array<TCustomFieldInput>>;
10252
- textLineItemId: Scalars['String'];
10311
+ textLineItemId?: InputMaybe<Scalars['String']>;
10312
+ textLineItemKey?: InputMaybe<Scalars['String']>;
10253
10313
  type?: InputMaybe<TResourceIdentifierInput>;
10254
10314
  typeId?: InputMaybe<Scalars['String']>;
10255
10315
  typeKey?: InputMaybe<Scalars['String']>;
10256
10316
  };
10257
10317
  export type TSetShoppingListTextLineItemDescription = {
10258
10318
  description?: InputMaybe<Array<TLocalizedStringItemInputType>>;
10259
- textLineItemId: Scalars['String'];
10319
+ textLineItemId?: InputMaybe<Scalars['String']>;
10320
+ textLineItemKey?: InputMaybe<Scalars['String']>;
10260
10321
  };
10261
10322
  export type TSetStagedOrderBillingAddress = {
10262
10323
  address?: InputMaybe<TAddressInput>;
@@ -10350,24 +10411,28 @@ export type TSetStagedOrderCustomLineItemTaxAmount = {
10350
10411
  customLineItemId?: InputMaybe<Scalars['String']>;
10351
10412
  customLineItemKey?: InputMaybe<Scalars['String']>;
10352
10413
  externalTaxAmount?: InputMaybe<TExternalTaxAmountDraft>;
10414
+ shippingKey?: InputMaybe<Scalars['String']>;
10353
10415
  };
10354
10416
  export type TSetStagedOrderCustomLineItemTaxAmountOutput = TStagedOrderUpdateActionOutput & {
10355
10417
  __typename?: 'SetStagedOrderCustomLineItemTaxAmountOutput';
10356
10418
  customLineItemId?: Maybe<Scalars['String']>;
10357
10419
  customLineItemKey?: Maybe<Scalars['String']>;
10358
10420
  externalTaxAmount?: Maybe<TExternalTaxAmountDraftOutput>;
10421
+ shippingKey?: Maybe<Scalars['String']>;
10359
10422
  type: Scalars['String'];
10360
10423
  };
10361
10424
  export type TSetStagedOrderCustomLineItemTaxRate = {
10362
10425
  customLineItemId?: InputMaybe<Scalars['String']>;
10363
10426
  customLineItemKey?: InputMaybe<Scalars['String']>;
10364
10427
  externalTaxRate?: InputMaybe<TExternalTaxRateDraft>;
10428
+ shippingKey?: InputMaybe<Scalars['String']>;
10365
10429
  };
10366
10430
  export type TSetStagedOrderCustomLineItemTaxRateOutput = TStagedOrderUpdateActionOutput & {
10367
10431
  __typename?: 'SetStagedOrderCustomLineItemTaxRateOutput';
10368
10432
  customLineItemId?: Maybe<Scalars['String']>;
10369
10433
  customLineItemKey?: Maybe<Scalars['String']>;
10370
10434
  externalTaxRate?: Maybe<TExternalTaxRateDraftOutput>;
10435
+ shippingKey?: Maybe<Scalars['String']>;
10371
10436
  type: Scalars['String'];
10372
10437
  };
10373
10438
  export type TSetStagedOrderCustomShippingMethod = {
@@ -11338,6 +11403,7 @@ export type TShoppingListLineItem = {
11338
11403
  custom?: Maybe<TCustomFieldsType>;
11339
11404
  deactivatedAt?: Maybe<Scalars['DateTime']>;
11340
11405
  id: Scalars['String'];
11406
+ key?: Maybe<Scalars['String']>;
11341
11407
  name?: Maybe<Scalars['String']>;
11342
11408
  nameAllLocales: Array<TLocalizedString>;
11343
11409
  productId: Scalars['String'];
@@ -11360,6 +11426,7 @@ export type TShoppingListLineItem_ProductSlugArgs = {
11360
11426
  export type TShoppingListLineItemDraft = {
11361
11427
  addedAt?: InputMaybe<Scalars['DateTime']>;
11362
11428
  custom?: InputMaybe<TCustomFieldsDraft>;
11429
+ key?: InputMaybe<Scalars['String']>;
11363
11430
  productId?: InputMaybe<Scalars['String']>;
11364
11431
  quantity?: InputMaybe<Scalars['Int']>;
11365
11432
  sku?: InputMaybe<Scalars['String']>;
@@ -11426,10 +11493,6 @@ export type TSignUpInMyBusinessUnitDraft = {
11426
11493
  customer: TCustomerSignUpDraft;
11427
11494
  version: Scalars['Long'];
11428
11495
  };
11429
- export declare enum TSimpleAssociateRole {
11430
- Admin = "Admin",
11431
- Buyer = "Buyer"
11432
- }
11433
11496
  export type TSimpleAttributeTypeDraft = {
11434
11497
  dummy?: InputMaybe<Scalars['String']>;
11435
11498
  };
@@ -11536,6 +11599,9 @@ export type TStagedOrderUpdateAction = {
11536
11599
  export type TStagedOrderUpdateActionOutput = {
11537
11600
  type: Scalars['String'];
11538
11601
  };
11602
+ export type TStagedPriceDraft = {
11603
+ value: TBaseMoneyInput;
11604
+ };
11539
11605
  export type TStagedQuote = TVersioned & {
11540
11606
  __typename?: 'StagedQuote';
11541
11607
  businessUnit?: Maybe<TBusinessUnit>;
@@ -11670,6 +11736,10 @@ export type TStandalonePriceStagedChangesApplied = TMessagePayload & {
11670
11736
  stagedChanges: TStagedStandalonePrice;
11671
11737
  type: Scalars['String'];
11672
11738
  };
11739
+ export type TStandalonePriceStagedChangesRemoved = TMessagePayload & {
11740
+ __typename?: 'StandalonePriceStagedChangesRemoved';
11741
+ type: Scalars['String'];
11742
+ };
11673
11743
  export type TStandalonePriceTierAdded = TMessagePayload & {
11674
11744
  __typename?: 'StandalonePriceTierAdded';
11675
11745
  tier: TProductPriceTier;
@@ -11692,6 +11762,7 @@ export type TStandalonePriceUpdateAction = {
11692
11762
  changeActive?: InputMaybe<TChangeStandalonePriceActive>;
11693
11763
  changeValue?: InputMaybe<TChangeStandalonePriceValue>;
11694
11764
  removePriceTier?: InputMaybe<TRemoveStandalonePriceTier>;
11765
+ removeStagedChanges?: InputMaybe<TRemoveStagedChanges>;
11695
11766
  setCustomField?: InputMaybe<TSetStandalonePriceCustomFields>;
11696
11767
  setCustomType?: InputMaybe<TCustomFieldsDraft>;
11697
11768
  setDiscountedPrice?: InputMaybe<TSetStandalonePriceDiscountedPrice>;
@@ -12184,6 +12255,7 @@ export type TTextLineItem = {
12184
12255
  description?: Maybe<Scalars['String']>;
12185
12256
  descriptionAllLocales?: Maybe<Array<TLocalizedString>>;
12186
12257
  id: Scalars['String'];
12258
+ key?: Maybe<Scalars['String']>;
12187
12259
  name?: Maybe<Scalars['String']>;
12188
12260
  nameAllLocales: Array<TLocalizedString>;
12189
12261
  quantity: Scalars['Int'];
@@ -12200,6 +12272,7 @@ export type TTextLineItemDraft = {
12200
12272
  addedAt?: InputMaybe<Scalars['DateTime']>;
12201
12273
  custom?: InputMaybe<TCustomFieldsDraft>;
12202
12274
  description?: InputMaybe<Array<TLocalizedStringItemInputType>>;
12275
+ key?: InputMaybe<Scalars['String']>;
12203
12276
  name: Array<TLocalizedStringItemInputType>;
12204
12277
  quantity?: InputMaybe<Scalars['Int']>;
12205
12278
  };
@@ -262,89 +262,6 @@ export type TOrganizationTeamsCreated = {
262
262
  id: Scalars['String'];
263
263
  name: Scalars['String'];
264
264
  };
265
- export declare enum TPermissionScope {
266
- CreateAnonymousToken = "create_anonymous_token",
267
- GetPermissionForAnyProject = "get_permission_for_any_project",
268
- IntrospectOauthTokens = "introspect_oauth_tokens",
269
- ManageApiClients = "manage_api_clients",
270
- ManageAssociateRoles = "manage_associate_roles",
271
- ManageAttributeGroups = "manage_attribute_groups",
272
- ManageAuditLog = "manage_audit_log",
273
- ManageBusinessUnits = "manage_business_units",
274
- ManageCartDiscounts = "manage_cart_discounts",
275
- ManageCategories = "manage_categories",
276
- ManageChangeHistory = "manage_change_history",
277
- ManageConnectors = "manage_connectors",
278
- ManageConnectorsDeployments = "manage_connectors_deployments",
279
- ManageCustomerGroups = "manage_customer_groups",
280
- ManageCustomers = "manage_customers",
281
- ManageDiscountCodes = "manage_discount_codes",
282
- ManageExtensions = "manage_extensions",
283
- ManageGlobalSubscriptions = "manage_global_subscriptions",
284
- ManageImportContainers = "manage_import_containers",
285
- ManageImportSinks = "manage_import_sinks",
286
- ManageKeyValueDocuments = "manage_key_value_documents",
287
- ManageMyBusinessUnits = "manage_my_business_units",
288
- ManageMyOrders = "manage_my_orders",
289
- ManageMyPayments = "manage_my_payments",
290
- ManageMyProfile = "manage_my_profile",
291
- ManageMyQuoteRequests = "manage_my_quote_requests",
292
- ManageMyQuotes = "manage_my_quotes",
293
- ManageMyShoppingLists = "manage_my_shopping_lists",
294
- ManageOrderEdits = "manage_order_edits",
295
- ManageOrders = "manage_orders",
296
- ManagePayments = "manage_payments",
297
- ManageProductSelections = "manage_product_selections",
298
- ManageProducts = "manage_products",
299
- ManageProject = "manage_project",
300
- ManageProjectSettings = "manage_project_settings",
301
- ManageQuoteRequests = "manage_quote_requests",
302
- ManageQuotes = "manage_quotes",
303
- ManageShippingMethods = "manage_shipping_methods",
304
- ManageShoppingLists = "manage_shopping_lists",
305
- ManageStagedQuotes = "manage_staged_quotes",
306
- ManageStandalonePrices = "manage_standalone_prices",
307
- ManageStates = "manage_states",
308
- ManageStores = "manage_stores",
309
- ManageSubscriptions = "manage_subscriptions",
310
- ManageTaxCategories = "manage_tax_categories",
311
- ManageTypes = "manage_types",
312
- ViewApiClients = "view_api_clients",
313
- ViewAssociateRoles = "view_associate_roles",
314
- ViewAttributeGroups = "view_attribute_groups",
315
- ViewAuditLog = "view_audit_log",
316
- ViewBusinessUnits = "view_business_units",
317
- ViewCartDiscounts = "view_cart_discounts",
318
- ViewCategories = "view_categories",
319
- ViewChangeHistory = "view_change_history",
320
- ViewConnectors = "view_connectors",
321
- ViewConnectorsDeployments = "view_connectors_deployments",
322
- ViewCustomerGroups = "view_customer_groups",
323
- ViewCustomers = "view_customers",
324
- ViewDiscountCodes = "view_discount_codes",
325
- ViewImportContainers = "view_import_containers",
326
- ViewImportSinks = "view_import_sinks",
327
- ViewKeyValueDocuments = "view_key_value_documents",
328
- ViewMessages = "view_messages",
329
- ViewOrderEdits = "view_order_edits",
330
- ViewOrders = "view_orders",
331
- ViewPayments = "view_payments",
332
- ViewProductSelections = "view_product_selections",
333
- ViewProducts = "view_products",
334
- ViewProjectSettings = "view_project_settings",
335
- ViewProjects = "view_projects",
336
- ViewPublishedProducts = "view_published_products",
337
- ViewQuoteRequests = "view_quote_requests",
338
- ViewQuotes = "view_quotes",
339
- ViewShippingMethods = "view_shipping_methods",
340
- ViewShoppingLists = "view_shopping_lists",
341
- ViewStagedQuotes = "view_staged_quotes",
342
- ViewStandalonePrices = "view_standalone_prices",
343
- ViewStates = "view_states",
344
- ViewStores = "view_stores",
345
- ViewTaxCategories = "view_tax_categories",
346
- ViewTypes = "view_types"
347
- }
348
265
  export type TProject = TMetaData & {
349
266
  __typename?: 'Project';
350
267
  allAppliedActionRights: Array<TAppliedActionRight>;