@forgecart/sdk 1.2.6 → 1.202606151453.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 (43) hide show
  1. package/README.md +84 -1
  2. package/dist/admin-types.generated.d.ts +593 -33
  3. package/dist/admin.d.ts +4 -0
  4. package/dist/admin.generated.d.ts +82 -26
  5. package/dist/admin.generated.js +122 -2
  6. package/dist/admin.js +49 -43
  7. package/dist/client.generated.d.ts +40 -7
  8. package/dist/client.generated.js +162 -87
  9. package/dist/documents.generated.d.ts +38 -8
  10. package/dist/documents.generated.js +594 -36
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +1 -3
  13. package/dist/nest.generated.d.ts +13 -0
  14. package/dist/nest.generated.js +92 -0
  15. package/dist/shop-types.generated.d.ts +200 -13
  16. package/dist/shop.d.ts +2 -0
  17. package/dist/shop.generated.d.ts +13 -4
  18. package/dist/shop.generated.js +19 -1
  19. package/dist/shop.js +17 -15
  20. package/package.json +21 -4
  21. package/src/admin-types.generated.d.ts +10013 -0
  22. package/src/admin-types.generated.ts +1210 -88
  23. package/src/admin.generated.d.ts +806 -0
  24. package/src/admin.generated.ts +151 -27
  25. package/src/admin.ts +5 -1
  26. package/src/client.generated.d.ts +249 -0
  27. package/src/client.generated.ts +188 -39
  28. package/src/documents.generated.d.ts +473 -0
  29. package/src/documents.generated.ts +615 -27
  30. package/src/error-utils.d.ts +25 -0
  31. package/src/hook-event-map.generated.d.ts +243 -0
  32. package/src/index.d.ts +22 -0
  33. package/src/index.ts +1 -1
  34. package/src/nest.generated.ts +45 -0
  35. package/src/sdk-hook-subscription.generated.d.ts +29 -0
  36. package/src/sdk-plugin.generated.d.ts +38 -0
  37. package/src/sdk-types.generated.d.ts +56 -0
  38. package/src/shop-types.generated.d.ts +4786 -0
  39. package/src/shop-types.generated.ts +271 -13
  40. package/src/shop.generated.d.ts +213 -0
  41. package/src/shop.generated.ts +22 -5
  42. package/src/shop.ts +3 -1
  43. package/src/upload.d.ts +14 -0
@@ -595,6 +595,7 @@ export type Channel = {
595
595
  description: Scalars['String']['output'];
596
596
  id: Scalars['ID']['output'];
597
597
  outOfStockThreshold: Scalars['Int']['output'];
598
+ previewUrl: Scalars['String']['output'];
598
599
  pricesIncludeTax: Scalars['Boolean']['output'];
599
600
  secret?: Maybe<Scalars['String']['output']>;
600
601
  seller?: Maybe<Seller>;
@@ -630,6 +631,7 @@ export type ChannelPlugin = {
630
631
  };
631
632
 
632
633
  export type ChannelSettings = {
634
+ autoCurrencyExchange: Scalars['Boolean']['output'];
633
635
  channelId: Scalars['ID']['output'];
634
636
  chargeTaxOnShipping: Scalars['Boolean']['output'];
635
637
  companyAddress?: Maybe<CompanyAddress>;
@@ -638,14 +640,92 @@ export type ChannelSettings = {
638
640
  defaultFulfillmentHandlerCode?: Maybe<Scalars['String']['output']>;
639
641
  defaultPaymentProviderCode?: Maybe<Scalars['String']['output']>;
640
642
  defaultWeightUnit?: Maybe<WeightUnit>;
643
+ fxMarkupPercent: Scalars['Float']['output'];
644
+ fxRoundingRule: Scalars['String']['output'];
641
645
  id: Scalars['ID']['output'];
642
- manualShippingRates: Array<ManualShippingRate>;
643
646
  requireCustomerForCheckout: Scalars['Boolean']['output'];
644
647
  requiresShippingAddressValidation: Scalars['Boolean']['output'];
645
648
  shopName?: Maybe<Scalars['String']['output']>;
646
649
  taxOriginScope: Scalars['String']['output'];
647
650
  };
648
651
 
652
+ export type ChatHistoryInput = {
653
+ sessionId: Scalars['String']['input'];
654
+ skip?: InputMaybe<Scalars['Int']['input']>;
655
+ take?: InputMaybe<Scalars['Int']['input']>;
656
+ };
657
+
658
+ export type ChatHistoryMessage = {
659
+ content: Scalars['String']['output'];
660
+ eventId?: Maybe<Scalars['Int']['output']>;
661
+ id: Scalars['ID']['output'];
662
+ role: Scalars['String']['output'];
663
+ seq: Scalars['Int']['output'];
664
+ timestamp: Scalars['String']['output'];
665
+ toolResult?: Maybe<Scalars['JSON']['output']>;
666
+ toolUse?: Maybe<Scalars['JSON']['output']>;
667
+ };
668
+
669
+ export type ChatMessage = {
670
+ content: Scalars['String']['output'];
671
+ eventId: Scalars['Int']['output'];
672
+ isFinal: Scalars['Boolean']['output'];
673
+ timestamp: Scalars['Int']['output'];
674
+ toolResult?: Maybe<ToolResultDetail>;
675
+ toolUse?: Maybe<ToolUseDetail>;
676
+ type: ChatMessageType;
677
+ };
678
+
679
+ export type ChatMessageType =
680
+ | 'COMPLETE'
681
+ | 'ERROR'
682
+ | 'TEXT'
683
+ | 'THINKING'
684
+ | 'TOOL_RESULT'
685
+ | 'TOOL_USE';
686
+
687
+ export type ChatQueueItem = {
688
+ content: Scalars['String']['output'];
689
+ id: Scalars['ID']['output'];
690
+ kind: Scalars['String']['output'];
691
+ };
692
+
693
+ export type ChatSession = {
694
+ channelToken: Scalars['String']['output'];
695
+ createdAt: Scalars['String']['output'];
696
+ endpoint?: Maybe<Scalars['String']['output']>;
697
+ lastActivity: Scalars['String']['output'];
698
+ messageCount: Scalars['Int']['output'];
699
+ sessionId: Scalars['String']['output'];
700
+ status: Scalars['String']['output'];
701
+ userId: Scalars['String']['output'];
702
+ workspaceId?: Maybe<Scalars['String']['output']>;
703
+ workspaceStatus: WorkspaceBindingStatus;
704
+ };
705
+
706
+ export type ChatSessionSummary = {
707
+ agentSessionId: Scalars['String']['output'];
708
+ createdAt: Scalars['String']['output'];
709
+ id: Scalars['ID']['output'];
710
+ lastActivityAt: Scalars['String']['output'];
711
+ messageCount: Scalars['Int']['output'];
712
+ origin?: Maybe<Scalars['String']['output']>;
713
+ status: Scalars['String']['output'];
714
+ title?: Maybe<Scalars['String']['output']>;
715
+ workspaceId?: Maybe<Scalars['ID']['output']>;
716
+ };
717
+
718
+ export type ChatSessionSummaryList = {
719
+ items: Array<ChatSessionSummary>;
720
+ totalItems: Scalars['Int']['output'];
721
+ };
722
+
723
+ export type ChatSessionsInput = {
724
+ includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
725
+ skip?: InputMaybe<Scalars['Int']['input']>;
726
+ take?: InputMaybe<Scalars['Int']['input']>;
727
+ };
728
+
649
729
  export type Collection = {
650
730
  createdAt: Scalars['DateTime']['output'];
651
731
  description?: Maybe<Scalars['String']['output']>;
@@ -794,6 +874,7 @@ export type CreateCarrierInput = {
794
874
  };
795
875
 
796
876
  export type CreateChannelInput = {
877
+ availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
797
878
  availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
798
879
  code: Scalars['String']['input'];
799
880
  defaultCurrencyCode: Scalars['String']['input'];
@@ -923,6 +1004,22 @@ export type CreateManageablePluginInput = {
923
1004
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
924
1005
  };
925
1006
 
1007
+ export type CreateMarketInput = {
1008
+ countryCodes: Array<Scalars['String']['input']>;
1009
+ currencyCode: Scalars['String']['input'];
1010
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
1011
+ languageCode?: InputMaybe<Scalars['String']['input']>;
1012
+ name: Scalars['String']['input'];
1013
+ };
1014
+
1015
+ export type CreateMissionInput = {
1016
+ model: Scalars['String']['input'];
1017
+ prompt: Scalars['String']['input'];
1018
+ repos?: InputMaybe<Array<MissionRepoInput>>;
1019
+ title?: InputMaybe<Scalars['String']['input']>;
1020
+ workspaceId: Scalars['ID']['input'];
1021
+ };
1022
+
926
1023
  export type CreateProductInput = {
927
1024
  assetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
928
1025
  enabled?: InputMaybe<Scalars['Boolean']['input']>;
@@ -1037,6 +1134,17 @@ export type CreateSessionInput = {
1037
1134
  tokenId?: InputMaybe<Scalars['ID']['input']>;
1038
1135
  };
1039
1136
 
1137
+ export type CreateShippingGatewayRoutingRuleInput = {
1138
+ countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
1139
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
1140
+ flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
1141
+ fulfillmentType: ShippingRoutingFulfillmentType;
1142
+ priority?: InputMaybe<Scalars['Int']['input']>;
1143
+ providerCode?: InputMaybe<Scalars['String']['input']>;
1144
+ scopeType: ShippingRoutingScopeType;
1145
+ stockLocationId: Scalars['ID']['input'];
1146
+ };
1147
+
1040
1148
  export type CreateShopSubscriptionInput = {
1041
1149
  defaultTokenId?: InputMaybe<Scalars['ID']['input']>;
1042
1150
  items: Array<CreateSubscriptionItemInput>;
@@ -1334,6 +1442,12 @@ export type EmitCustomEventInput = {
1334
1442
  payload?: InputMaybe<Scalars['JSON']['input']>;
1335
1443
  };
1336
1444
 
1445
+ export type EnqueueChatMessageInput = {
1446
+ interrupt: Scalars['Boolean']['input'];
1447
+ message: Scalars['String']['input'];
1448
+ sessionId: Scalars['String']['input'];
1449
+ };
1450
+
1337
1451
  export type Entry = {
1338
1452
  createdAt: Scalars['DateTime']['output'];
1339
1453
  fields: Array<AcfFieldValueUnion>;
@@ -1701,20 +1815,21 @@ export type ManageablePluginConfigItemTranslation = {
1701
1815
  name: Scalars['String']['output'];
1702
1816
  };
1703
1817
 
1704
- export type ManualShippingRate = {
1705
- amount: Scalars['Int']['output'];
1706
- code: Scalars['String']['output'];
1707
- currency: Scalars['String']['output'];
1708
- estimatedDays?: Maybe<Scalars['Int']['output']>;
1818
+ export type Market = {
1819
+ channelId: Scalars['ID']['output'];
1820
+ countries: Array<Country>;
1821
+ createdAt: Scalars['DateTime']['output'];
1822
+ currencyCode: Scalars['String']['output'];
1823
+ enabled: Scalars['Boolean']['output'];
1824
+ id: Scalars['ID']['output'];
1825
+ languageCode?: Maybe<Scalars['String']['output']>;
1709
1826
  name: Scalars['String']['output'];
1827
+ updatedAt: Scalars['DateTime']['output'];
1710
1828
  };
1711
1829
 
1712
- export type ManualShippingRateInput = {
1713
- amount: Scalars['Int']['input'];
1714
- code: Scalars['String']['input'];
1715
- currency: Scalars['String']['input'];
1716
- estimatedDays?: InputMaybe<Scalars['Int']['input']>;
1717
- name: Scalars['String']['input'];
1830
+ export type MarketList = {
1831
+ items: Array<Market>;
1832
+ totalItems: Scalars['Int']['output'];
1718
1833
  };
1719
1834
 
1720
1835
  export type MarketingAttribution = {
@@ -1816,6 +1931,59 @@ export type MergeFulfillmentRequestInput = {
1816
1931
  requestIdB: Scalars['ID']['input'];
1817
1932
  };
1818
1933
 
1934
+ export type Mission = {
1935
+ administratorId: Scalars['ID']['output'];
1936
+ branch?: Maybe<Scalars['String']['output']>;
1937
+ channelId: Scalars['ID']['output'];
1938
+ costCents?: Maybe<Scalars['Int']['output']>;
1939
+ createdAt: Scalars['DateTime']['output'];
1940
+ id: Scalars['ID']['output'];
1941
+ model: Scalars['String']['output'];
1942
+ podRef?: Maybe<Scalars['String']['output']>;
1943
+ prUrl?: Maybe<Scalars['String']['output']>;
1944
+ repos: Array<MissionRepoRef>;
1945
+ status: MissionStatus;
1946
+ title?: Maybe<Scalars['String']['output']>;
1947
+ updatedAt: Scalars['DateTime']['output'];
1948
+ workspaceId: Scalars['ID']['output'];
1949
+ };
1950
+
1951
+ export type MissionList = {
1952
+ items: Array<Mission>;
1953
+ totalItems: Scalars['Int']['output'];
1954
+ };
1955
+
1956
+ export type MissionListOptions = {
1957
+ skip?: InputMaybe<Scalars['Int']['input']>;
1958
+ sort?: InputMaybe<MissionSortParameter>;
1959
+ take?: InputMaybe<Scalars['Int']['input']>;
1960
+ };
1961
+
1962
+ export type MissionRepoInput = {
1963
+ branch: Scalars['String']['input'];
1964
+ name: Scalars['String']['input'];
1965
+ owner: Scalars['String']['input'];
1966
+ };
1967
+
1968
+ export type MissionRepoRef = {
1969
+ branch: Scalars['String']['output'];
1970
+ name: Scalars['String']['output'];
1971
+ owner: Scalars['String']['output'];
1972
+ };
1973
+
1974
+ export type MissionSortParameter = {
1975
+ createdAt?: InputMaybe<SortOrder>;
1976
+ updatedAt?: InputMaybe<SortOrder>;
1977
+ };
1978
+
1979
+ export type MissionStatus =
1980
+ | 'AWAITING_USER'
1981
+ | 'COMPLETED'
1982
+ | 'FAILED'
1983
+ | 'INTERRUPTED'
1984
+ | 'PENDING'
1985
+ | 'RUNNING';
1986
+
1819
1987
  export type ModifyOrderAddItemInput = {
1820
1988
  productVariantId: Scalars['ID']['input'];
1821
1989
  quantity: Scalars['Int']['input'];
@@ -1866,6 +2034,7 @@ export type Mutation = {
1866
2034
  adjustStock: StockMovement;
1867
2035
  applyCouponCode: Order;
1868
2036
  approveDeviceCode: DeviceCodeInfo;
2037
+ archiveChatSession: Scalars['Boolean']['output'];
1869
2038
  assignAssetsToChannel: Array<Asset>;
1870
2039
  assignProductsToChannel: Array<Product>;
1871
2040
  assignPromotionToChannel: Promotion;
@@ -1874,12 +2043,15 @@ export type Mutation = {
1874
2043
  authenticateWithExternalStrategy: AdminExternalAuthResult;
1875
2044
  beginTransaction: TransactionTokenResult;
1876
2045
  cancelFulfillmentRequest: FulfillmentRequest;
2046
+ cancelMission: Mission;
1877
2047
  cancelOrder: Order;
1878
2048
  cancelPaymentSession: PaymentGatewaySession;
1879
2049
  cancelSubscription: BillingSubscription;
1880
2050
  changeFulfillmentRequestDeliveryMethod: FulfillmentRequest;
1881
2051
  changeSubscriptionPlan: BillingSubscription;
1882
2052
  changeSubscriptionQuantity: BillingSubscription;
2053
+ clearChatHistory: Scalars['Boolean']['output'];
2054
+ closeChatSession: Scalars['Boolean']['output'];
1883
2055
  commitTransaction: DeletionResponse;
1884
2056
  completeDraft: Order;
1885
2057
  completeOnboardingShop: CompleteOnboardingShopResult;
@@ -1903,6 +2075,8 @@ export type Mutation = {
1903
2075
  createFulfillment: Fulfillment;
1904
2076
  createFulfillmentRequestsForOrder: Array<FulfillmentRequest>;
1905
2077
  createManageablePlugin: ManageablePlugin;
2078
+ createMarket: Market;
2079
+ createMission: Mission;
1906
2080
  createPaymentSession: PaymentGatewaySession;
1907
2081
  createProduct: Product;
1908
2082
  createProductOption: ProductOption;
@@ -1913,6 +2087,7 @@ export type Mutation = {
1913
2087
  createRole: Role;
1914
2088
  createScheduledJob: ScheduledJob;
1915
2089
  createSeller: Seller;
2090
+ createShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
1916
2091
  createShippingLabel: ShippingGatewayLabel;
1917
2092
  createStockLocation: StockLocation;
1918
2093
  createSubscription: BillingSubscription;
@@ -1938,6 +2113,8 @@ export type Mutation = {
1938
2113
  deleteFacetValues: DeletionResponse;
1939
2114
  deleteFieldDefinition: FieldDefinitionGroup;
1940
2115
  deleteManageablePlugin?: Maybe<Scalars['Boolean']['output']>;
2116
+ deleteMarket: DeletionResponse;
2117
+ deleteMission: Mission;
1941
2118
  deleteOrderNote: DeletionResponse;
1942
2119
  deleteProduct: DeletionResponse;
1943
2120
  deleteProductOption: DeletionResponse;
@@ -1947,6 +2124,7 @@ export type Mutation = {
1947
2124
  deleteRole: DeletionResponse;
1948
2125
  deleteScheduledJob: ScheduledJob;
1949
2126
  deleteSeller: Seller;
2127
+ deleteShippingGatewayRoutingRule: Scalars['Boolean']['output'];
1950
2128
  deleteStockLocation: DeletionResponse;
1951
2129
  deleteSubscriptionVariantConfig: SubscriptionVariantConfig;
1952
2130
  deleteTaxCategory: DeletionResponse;
@@ -1959,6 +2137,7 @@ export type Mutation = {
1959
2137
  emit: Scalars['Boolean']['output'];
1960
2138
  enablePlugin: ChannelPlugin;
1961
2139
  enableScheduledJob: ScheduledJob;
2140
+ enqueueChatMessage: Scalars['Int']['output'];
1962
2141
  evaluateAudienceSegment: AudienceSegmentEvaluationResult;
1963
2142
  generateDeviceCode: DeviceCodeResponse;
1964
2143
  holdForQualityControl: StockMovement;
@@ -1997,6 +2176,7 @@ export type Mutation = {
1997
2176
  removeProductsFromChannel: Array<Product>;
1998
2177
  removePromotionFromChannel: Promotion;
1999
2178
  removeStockLocationFromChannel: StockLocation;
2179
+ reorderShippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
2000
2180
  reportDamagedStock: StockMovement;
2001
2181
  resendAdministratorVerification: Scalars['Boolean']['output'];
2002
2182
  reserveStock: StockMovement;
@@ -2006,6 +2186,8 @@ export type Mutation = {
2006
2186
  saveToken: PaymentGatewayToken;
2007
2187
  scaleDeployment: Deployment;
2008
2188
  selectShippingRate: Order;
2189
+ sendChatMessage: Array<ChatMessage>;
2190
+ sendMissionMessage: Mission;
2009
2191
  setBillingAddress: Order;
2010
2192
  setConfigurationItemValue?: Maybe<Scalars['Boolean']['output']>;
2011
2193
  setCustomerForDraftOrder: Order;
@@ -2013,10 +2195,12 @@ export type Mutation = {
2013
2195
  setDefaultToken: PaymentGatewayToken;
2014
2196
  setDeploymentEnv: Deployment;
2015
2197
  setManualShippingRate: Order;
2198
+ setProductVariantPrice: ProductVariantPrice;
2016
2199
  setSafetyStock: StockLevel;
2017
2200
  setShippingAddress: Order;
2018
2201
  settleRefund: Refund;
2019
2202
  splitFulfillmentRequest: FulfillmentRequest;
2203
+ startChatSession: ChatSession;
2020
2204
  transitionFulfillmentToState: Fulfillment;
2021
2205
  transitionOrderToState: Order;
2022
2206
  triggerScheduledJob: ScheduledJobRun;
@@ -2040,6 +2224,7 @@ export type Mutation = {
2040
2224
  updateFacetValues: FacetValue;
2041
2225
  updateFieldDefinition: FieldDefinitionGroup;
2042
2226
  updateManageablePlugin: ManageablePlugin;
2227
+ updateMarket: Market;
2043
2228
  updateOnboardingProfile: OnboardingState;
2044
2229
  updateOrderNote: HistoryEntry;
2045
2230
  updatePluginConfiguration: ChannelPlugin;
@@ -2051,6 +2236,7 @@ export type Mutation = {
2051
2236
  updateRole: Role;
2052
2237
  updateScheduledJob: ScheduledJob;
2053
2238
  updateSeller: Seller;
2239
+ updateShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
2054
2240
  updateShippingLabel: ShippingGatewayLabel;
2055
2241
  updateStockLocation: StockLocation;
2056
2242
  updateSubscriptionVariantConfig: SubscriptionVariantConfig;
@@ -2134,6 +2320,11 @@ export type MutationapproveDeviceCodeArgs = {
2134
2320
  };
2135
2321
 
2136
2322
 
2323
+ export type MutationarchiveChatSessionArgs = {
2324
+ sessionId: Scalars['ID']['input'];
2325
+ };
2326
+
2327
+
2137
2328
  export type MutationassignAssetsToChannelArgs = {
2138
2329
  input: AssignAssetsToChannelInput;
2139
2330
  };
@@ -2169,6 +2360,11 @@ export type MutationcancelFulfillmentRequestArgs = {
2169
2360
  };
2170
2361
 
2171
2362
 
2363
+ export type MutationcancelMissionArgs = {
2364
+ id: Scalars['ID']['input'];
2365
+ };
2366
+
2367
+
2172
2368
  export type MutationcancelOrderArgs = {
2173
2369
  input: CancelOrderInput;
2174
2370
  };
@@ -2199,6 +2395,16 @@ export type MutationchangeSubscriptionQuantityArgs = {
2199
2395
  };
2200
2396
 
2201
2397
 
2398
+ export type MutationclearChatHistoryArgs = {
2399
+ sessionId: Scalars['ID']['input'];
2400
+ };
2401
+
2402
+
2403
+ export type MutationcloseChatSessionArgs = {
2404
+ sessionId: Scalars['ID']['input'];
2405
+ };
2406
+
2407
+
2202
2408
  export type MutationcommitTransactionArgs = {
2203
2409
  token: Scalars['String']['input'];
2204
2410
  };
@@ -2310,6 +2516,16 @@ export type MutationcreateManageablePluginArgs = {
2310
2516
  };
2311
2517
 
2312
2518
 
2519
+ export type MutationcreateMarketArgs = {
2520
+ input: CreateMarketInput;
2521
+ };
2522
+
2523
+
2524
+ export type MutationcreateMissionArgs = {
2525
+ input: CreateMissionInput;
2526
+ };
2527
+
2528
+
2313
2529
  export type MutationcreatePaymentSessionArgs = {
2314
2530
  input: CreateSessionInput;
2315
2531
  };
@@ -2360,6 +2576,11 @@ export type MutationcreateSellerArgs = {
2360
2576
  };
2361
2577
 
2362
2578
 
2579
+ export type MutationcreateShippingGatewayRoutingRuleArgs = {
2580
+ input: CreateShippingGatewayRoutingRuleInput;
2581
+ };
2582
+
2583
+
2363
2584
  export type MutationcreateShippingLabelArgs = {
2364
2585
  input: CreateLabelServiceInput;
2365
2586
  };
@@ -2486,6 +2707,16 @@ export type MutationdeleteManageablePluginArgs = {
2486
2707
  };
2487
2708
 
2488
2709
 
2710
+ export type MutationdeleteMarketArgs = {
2711
+ id: Scalars['ID']['input'];
2712
+ };
2713
+
2714
+
2715
+ export type MutationdeleteMissionArgs = {
2716
+ id: Scalars['ID']['input'];
2717
+ };
2718
+
2719
+
2489
2720
  export type MutationdeleteOrderNoteArgs = {
2490
2721
  id: Scalars['ID']['input'];
2491
2722
  };
@@ -2531,6 +2762,11 @@ export type MutationdeleteSellerArgs = {
2531
2762
  };
2532
2763
 
2533
2764
 
2765
+ export type MutationdeleteShippingGatewayRoutingRuleArgs = {
2766
+ id: Scalars['ID']['input'];
2767
+ };
2768
+
2769
+
2534
2770
  export type MutationdeleteStockLocationArgs = {
2535
2771
  id: Scalars['ID']['input'];
2536
2772
  };
@@ -2591,6 +2827,11 @@ export type MutationenableScheduledJobArgs = {
2591
2827
  };
2592
2828
 
2593
2829
 
2830
+ export type MutationenqueueChatMessageArgs = {
2831
+ input: EnqueueChatMessageInput;
2832
+ };
2833
+
2834
+
2594
2835
  export type MutationevaluateAudienceSegmentArgs = {
2595
2836
  id: Scalars['ID']['input'];
2596
2837
  };
@@ -2771,6 +3012,11 @@ export type MutationremoveStockLocationFromChannelArgs = {
2771
3012
  };
2772
3013
 
2773
3014
 
3015
+ export type MutationreorderShippingGatewayRoutingRulesArgs = {
3016
+ input: ReorderShippingGatewayRoutingRulesInput;
3017
+ };
3018
+
3019
+
2774
3020
  export type MutationreportDamagedStockArgs = {
2775
3021
  input: ReportDamagedStockInput;
2776
3022
  };
@@ -2816,6 +3062,16 @@ export type MutationselectShippingRateArgs = {
2816
3062
  };
2817
3063
 
2818
3064
 
3065
+ export type MutationsendChatMessageArgs = {
3066
+ input: SendChatMessageInput;
3067
+ };
3068
+
3069
+
3070
+ export type MutationsendMissionMessageArgs = {
3071
+ input: SendMissionMessageInput;
3072
+ };
3073
+
3074
+
2819
3075
  export type MutationsetBillingAddressArgs = {
2820
3076
  input: SetBillingAddressInput;
2821
3077
  };
@@ -2851,6 +3107,11 @@ export type MutationsetManualShippingRateArgs = {
2851
3107
  };
2852
3108
 
2853
3109
 
3110
+ export type MutationsetProductVariantPriceArgs = {
3111
+ input: SetPriceInput;
3112
+ };
3113
+
3114
+
2854
3115
  export type MutationsetSafetyStockArgs = {
2855
3116
  input: SetSafetyStockInput;
2856
3117
  };
@@ -2871,6 +3132,11 @@ export type MutationsplitFulfillmentRequestArgs = {
2871
3132
  };
2872
3133
 
2873
3134
 
3135
+ export type MutationstartChatSessionArgs = {
3136
+ input?: InputMaybe<StartChatSessionInput>;
3137
+ };
3138
+
3139
+
2874
3140
  export type MutationtransitionFulfillmentToStateArgs = {
2875
3141
  input: TransitionFulfillmentToStateInput;
2876
3142
  };
@@ -2988,6 +3254,11 @@ export type MutationupdateManageablePluginArgs = {
2988
3254
  };
2989
3255
 
2990
3256
 
3257
+ export type MutationupdateMarketArgs = {
3258
+ input: UpdateMarketInput;
3259
+ };
3260
+
3261
+
2991
3262
  export type MutationupdateOnboardingProfileArgs = {
2992
3263
  input: UpdateOnboardingProfileInput;
2993
3264
  };
@@ -3043,6 +3314,11 @@ export type MutationupdateSellerArgs = {
3043
3314
  };
3044
3315
 
3045
3316
 
3317
+ export type MutationupdateShippingGatewayRoutingRuleArgs = {
3318
+ input: UpdateShippingGatewayRoutingRuleInput;
3319
+ };
3320
+
3321
+
3046
3322
  export type MutationupdateShippingLabelArgs = {
3047
3323
  input: UpdateShippingLabelInput;
3048
3324
  };
@@ -3452,6 +3728,15 @@ export type ProductVariantDimensions = {
3452
3728
  width?: Maybe<Scalars['Float']['output']>;
3453
3729
  };
3454
3730
 
3731
+ export type ProductVariantPrice = {
3732
+ createdAt: Scalars['DateTime']['output'];
3733
+ currencyCode: Scalars['String']['output'];
3734
+ id: Scalars['ID']['output'];
3735
+ price: Scalars['Int']['output'];
3736
+ updatedAt: Scalars['DateTime']['output'];
3737
+ variantId: Scalars['ID']['output'];
3738
+ };
3739
+
3455
3740
  export type ProductVariantSnapshot = {
3456
3741
  createdAt: Scalars['DateTime']['output'];
3457
3742
  id: Scalars['ID']['output'];
@@ -3554,6 +3839,9 @@ export type Query = {
3554
3839
  channelPlugins: Array<ChannelPlugin>;
3555
3840
  channelSettings: ChannelSettings;
3556
3841
  channels: ChannelList;
3842
+ chatHistory: Array<ChatHistoryMessage>;
3843
+ chatQueue: Array<ChatQueueItem>;
3844
+ chatSessions: ChatSessionSummaryList;
3557
3845
  collection?: Maybe<Collection>;
3558
3846
  collections: CollectionList;
3559
3847
  configurationItemValue?: Maybe<Scalars['JSON']['output']>;
@@ -3596,6 +3884,9 @@ export type Query = {
3596
3884
  manageablePluginsByTag: Array<ManageablePlugin>;
3597
3885
  marketingIdentity?: Maybe<MarketingIdentity>;
3598
3886
  marketingIdentityByCustomer?: Maybe<MarketingIdentity>;
3887
+ markets: MarketList;
3888
+ mission?: Maybe<Mission>;
3889
+ missions: MissionList;
3599
3890
  order?: Maybe<Order>;
3600
3891
  orderByCode?: Maybe<Order>;
3601
3892
  orderHistory: HistoryEntryList;
@@ -3626,6 +3917,7 @@ export type Query = {
3626
3917
  search: SearchResult;
3627
3918
  seller?: Maybe<Seller>;
3628
3919
  sellers: SellerList;
3920
+ shippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
3629
3921
  shippingLabels: Array<ShippingGatewayLabel>;
3630
3922
  shippingRateGroups: Array<ShippingGatewayRateGroup>;
3631
3923
  stockLocation?: Maybe<StockLocation>;
@@ -3722,6 +4014,21 @@ export type QuerychannelsArgs = {
3722
4014
  };
3723
4015
 
3724
4016
 
4017
+ export type QuerychatHistoryArgs = {
4018
+ input: ChatHistoryInput;
4019
+ };
4020
+
4021
+
4022
+ export type QuerychatQueueArgs = {
4023
+ sessionId: Scalars['ID']['input'];
4024
+ };
4025
+
4026
+
4027
+ export type QuerychatSessionsArgs = {
4028
+ input?: InputMaybe<ChatSessionsInput>;
4029
+ };
4030
+
4031
+
3725
4032
  export type QuerycollectionArgs = {
3726
4033
  id: Scalars['ID']['input'];
3727
4034
  };
@@ -3911,6 +4218,21 @@ export type QuerymarketingIdentityByCustomerArgs = {
3911
4218
  };
3912
4219
 
3913
4220
 
4221
+ export type QuerymarketsArgs = {
4222
+ options?: InputMaybe<ListQueryOptions>;
4223
+ };
4224
+
4225
+
4226
+ export type QuerymissionArgs = {
4227
+ id: Scalars['ID']['input'];
4228
+ };
4229
+
4230
+
4231
+ export type QuerymissionsArgs = {
4232
+ options?: InputMaybe<MissionListOptions>;
4233
+ };
4234
+
4235
+
3914
4236
  export type QueryorderArgs = {
3915
4237
  id: Scalars['ID']['input'];
3916
4238
  };
@@ -4046,6 +4368,11 @@ export type QuerysellersArgs = {
4046
4368
  };
4047
4369
 
4048
4370
 
4371
+ export type QueryshippingGatewayRoutingRulesArgs = {
4372
+ stockLocationId: Scalars['ID']['input'];
4373
+ };
4374
+
4375
+
4049
4376
  export type QueryshippingLabelsArgs = {
4050
4377
  orderId: Scalars['ID']['input'];
4051
4378
  };
@@ -4271,6 +4598,11 @@ export type RemoveStockLocationFromChannelInput = {
4271
4598
  stockLocationId: Scalars['ID']['input'];
4272
4599
  };
4273
4600
 
4601
+ export type ReorderShippingGatewayRoutingRulesInput = {
4602
+ ruleIds: Array<Scalars['ID']['input']>;
4603
+ stockLocationId: Scalars['ID']['input'];
4604
+ };
4605
+
4274
4606
  export type ReportDamagedStockInput = {
4275
4607
  note?: InputMaybe<Scalars['String']['input']>;
4276
4608
  quantity: Scalars['Int']['input'];
@@ -4318,6 +4650,11 @@ export type RespondToHookDispatchInput = {
4318
4650
  subscriberId: Scalars['String']['input'];
4319
4651
  };
4320
4652
 
4653
+ export type ResumeChatSessionInput = {
4654
+ afterEventId: Scalars['Int']['input'];
4655
+ sessionId: Scalars['String']['input'];
4656
+ };
4657
+
4321
4658
  export type Role = {
4322
4659
  code: Scalars['String']['output'];
4323
4660
  createdAt: Scalars['DateTime']['output'];
@@ -4505,6 +4842,11 @@ export type SendChatMessageInput = {
4505
4842
  sessionId: Scalars['String']['input'];
4506
4843
  };
4507
4844
 
4845
+ export type SendMissionMessageInput = {
4846
+ message: Scalars['String']['input'];
4847
+ missionId: Scalars['ID']['input'];
4848
+ };
4849
+
4508
4850
  export type SetBillingAddressInput = {
4509
4851
  address: CreateAddressInput;
4510
4852
  orderId: Scalars['ID']['input'];
@@ -4561,6 +4903,12 @@ export type SetMarketingIdentifiersResult = {
4561
4903
  rejected: Array<Scalars['String']['output']>;
4562
4904
  };
4563
4905
 
4906
+ export type SetPriceInput = {
4907
+ currencyCode: Scalars['String']['input'];
4908
+ price: Scalars['Int']['input'];
4909
+ variantId: Scalars['ID']['input'];
4910
+ };
4911
+
4564
4912
  export type SetSafetyStockInput = {
4565
4913
  safetyStock: Scalars['Int']['input'];
4566
4914
  stockLocationId: Scalars['ID']['input'];
@@ -4632,6 +4980,31 @@ export type ShippingGatewayRateGroupLine = {
4632
4980
  width?: Maybe<Scalars['Float']['output']>;
4633
4981
  };
4634
4982
 
4983
+ export type ShippingGatewayRoutingFlatRate = {
4984
+ amount: Scalars['Int']['output'];
4985
+ code: Scalars['String']['output'];
4986
+ createdAt: Scalars['DateTime']['output'];
4987
+ currencyCode: Scalars['String']['output'];
4988
+ estimatedDays?: Maybe<Scalars['Int']['output']>;
4989
+ id: Scalars['ID']['output'];
4990
+ name: Scalars['String']['output'];
4991
+ updatedAt: Scalars['DateTime']['output'];
4992
+ };
4993
+
4994
+ export type ShippingGatewayRoutingRule = {
4995
+ countries: Array<Country>;
4996
+ createdAt: Scalars['DateTime']['output'];
4997
+ enabled: Scalars['Boolean']['output'];
4998
+ flatRates: Array<ShippingGatewayRoutingFlatRate>;
4999
+ fulfillmentType: ShippingRoutingFulfillmentType;
5000
+ id: Scalars['ID']['output'];
5001
+ priority: Scalars['Int']['output'];
5002
+ providerCode?: Maybe<Scalars['String']['output']>;
5003
+ scopeType: ShippingRoutingScopeType;
5004
+ stockLocationId: Scalars['ID']['output'];
5005
+ updatedAt: Scalars['DateTime']['output'];
5006
+ };
5007
+
4635
5008
  export type ShippingLine = {
4636
5009
  adjustments: Array<Adjustment>;
4637
5010
  createdAt: Scalars['DateTime']['output'];
@@ -4649,6 +5022,23 @@ export type ShippingProvider = {
4649
5022
  pluginBacked: Scalars['Boolean']['output'];
4650
5023
  };
4651
5024
 
5025
+ export type ShippingRoutingFlatRateInput = {
5026
+ amount: Scalars['Int']['input'];
5027
+ code: Scalars['String']['input'];
5028
+ currencyCode: Scalars['String']['input'];
5029
+ estimatedDays?: InputMaybe<Scalars['Int']['input']>;
5030
+ name: Scalars['String']['input'];
5031
+ };
5032
+
5033
+ export type ShippingRoutingFulfillmentType =
5034
+ | 'MANUAL'
5035
+ | 'PROVIDER';
5036
+
5037
+ export type ShippingRoutingScopeType =
5038
+ | 'COUNTRIES'
5039
+ | 'DOMESTIC'
5040
+ | 'INTERNATIONAL';
5041
+
4652
5042
  export type ShopAddItemToOrderInput = {
4653
5043
  quantity: Scalars['Int']['input'];
4654
5044
  variantId: Scalars['ID']['input'];
@@ -4673,6 +5063,11 @@ export type SplitFulfillmentRequestLineInput = {
4673
5063
  quantity: Scalars['Int']['input'];
4674
5064
  };
4675
5065
 
5066
+ export type StartChatSessionInput = {
5067
+ origin?: InputMaybe<Scalars['String']['input']>;
5068
+ title?: InputMaybe<Scalars['String']['input']>;
5069
+ };
5070
+
4676
5071
  export type StockLevel = {
4677
5072
  id: Scalars['ID']['output'];
4678
5073
  safetyStock: Scalars['Int']['output'];
@@ -4753,8 +5148,16 @@ export type StringFilter = {
4753
5148
  };
4754
5149
 
4755
5150
  export type Subscription = {
5151
+ chatMessageStream: ChatMessage;
4756
5152
  deploymentLogs: DeploymentLogEntry;
4757
5153
  hookDispatched: HookDispatchEvent;
5154
+ resumeChatSession: ChatMessage;
5155
+ workspaceReadiness: WorkspaceReadiness;
5156
+ };
5157
+
5158
+
5159
+ export type SubscriptionchatMessageStreamArgs = {
5160
+ input: SendChatMessageInput;
4758
5161
  };
4759
5162
 
4760
5163
 
@@ -4767,6 +5170,11 @@ export type SubscriptionhookDispatchedArgs = {
4767
5170
  hookPoints: Array<Scalars['String']['input']>;
4768
5171
  };
4769
5172
 
5173
+
5174
+ export type SubscriptionresumeChatSessionArgs = {
5175
+ input: ResumeChatSessionInput;
5176
+ };
5177
+
4770
5178
  export type SubscriptionCreditBalance = {
4771
5179
  amountCents: Scalars['Int']['output'];
4772
5180
  appliedCents: Scalars['Int']['output'];
@@ -4882,6 +5290,18 @@ export type TaxRateList = {
4882
5290
  totalItems: Scalars['Int']['output'];
4883
5291
  };
4884
5292
 
5293
+ export type ToolResultDetail = {
5294
+ isError: Scalars['Boolean']['output'];
5295
+ result: Scalars['String']['output'];
5296
+ toolId: Scalars['String']['output'];
5297
+ };
5298
+
5299
+ export type ToolUseDetail = {
5300
+ input: Scalars['String']['output'];
5301
+ toolId: Scalars['String']['output'];
5302
+ toolName: Scalars['String']['output'];
5303
+ };
5304
+
4885
5305
  export type TrackEventInput = {
4886
5306
  eventType: Scalars['String']['input'];
4887
5307
  occurredAt?: InputMaybe<Scalars['DateTime']['input']>;
@@ -4976,6 +5396,7 @@ export type UpdateCarrierInput = {
4976
5396
  };
4977
5397
 
4978
5398
  export type UpdateChannelInput = {
5399
+ availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
4979
5400
  availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
4980
5401
  code?: InputMaybe<Scalars['String']['input']>;
4981
5402
  defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
@@ -4996,6 +5417,7 @@ export type UpdateChannelPluginConfigInput = {
4996
5417
  };
4997
5418
 
4998
5419
  export type UpdateChannelSettingsInput = {
5420
+ autoCurrencyExchange?: InputMaybe<Scalars['Boolean']['input']>;
4999
5421
  chargeTaxOnShipping?: InputMaybe<Scalars['Boolean']['input']>;
5000
5422
  companyAddress?: InputMaybe<CompanyAddressInput>;
5001
5423
  defaultDeploymentProviderCode?: InputMaybe<Scalars['String']['input']>;
@@ -5003,7 +5425,8 @@ export type UpdateChannelSettingsInput = {
5003
5425
  defaultFulfillmentHandlerCode?: InputMaybe<Scalars['String']['input']>;
5004
5426
  defaultPaymentProviderCode?: InputMaybe<Scalars['String']['input']>;
5005
5427
  defaultWeightUnit?: InputMaybe<WeightUnit>;
5006
- manualShippingRates?: InputMaybe<Array<ManualShippingRateInput>>;
5428
+ fxMarkupPercent?: InputMaybe<Scalars['Float']['input']>;
5429
+ fxRoundingRule?: InputMaybe<Scalars['String']['input']>;
5007
5430
  requireCustomerForCheckout?: InputMaybe<Scalars['Boolean']['input']>;
5008
5431
  requiresShippingAddressValidation?: InputMaybe<Scalars['Boolean']['input']>;
5009
5432
  shopName?: InputMaybe<Scalars['String']['input']>;
@@ -5115,6 +5538,15 @@ export type UpdateManageablePluginInput = {
5115
5538
  toggable?: InputMaybe<Scalars['Boolean']['input']>;
5116
5539
  };
5117
5540
 
5541
+ export type UpdateMarketInput = {
5542
+ countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
5543
+ currencyCode?: InputMaybe<Scalars['String']['input']>;
5544
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
5545
+ id: Scalars['ID']['input'];
5546
+ languageCode?: InputMaybe<Scalars['String']['input']>;
5547
+ name?: InputMaybe<Scalars['String']['input']>;
5548
+ };
5549
+
5118
5550
  export type UpdateOnboardingProfileInput = {
5119
5551
  /**
5120
5552
  * When `true`, marks the profile step complete and advances
@@ -5235,6 +5667,17 @@ export type UpdateSellerInput = {
5235
5667
  name?: InputMaybe<Scalars['String']['input']>;
5236
5668
  };
5237
5669
 
5670
+ export type UpdateShippingGatewayRoutingRuleInput = {
5671
+ countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
5672
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
5673
+ flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
5674
+ fulfillmentType?: InputMaybe<ShippingRoutingFulfillmentType>;
5675
+ id: Scalars['ID']['input'];
5676
+ priority?: InputMaybe<Scalars['Int']['input']>;
5677
+ providerCode?: InputMaybe<Scalars['String']['input']>;
5678
+ scopeType?: InputMaybe<ShippingRoutingScopeType>;
5679
+ };
5680
+
5238
5681
  export type UpdateShippingLabelInput = {
5239
5682
  carrier?: InputMaybe<Scalars['String']['input']>;
5240
5683
  labelId: Scalars['ID']['input'];
@@ -5387,6 +5830,32 @@ export type WeightUnit =
5387
5830
  | 'lb'
5388
5831
  | 'oz';
5389
5832
 
5833
+ export type WorkspaceBindingStatus =
5834
+ | 'none'
5835
+ | 'ready'
5836
+ | 'warming';
5837
+
5838
+ export type WorkspacePodState =
5839
+ | 'degraded'
5840
+ | 'pending'
5841
+ | 'permanentlyFailed'
5842
+ | 'provisioning'
5843
+ | 'retrying'
5844
+ | 'running';
5845
+
5846
+ export type WorkspaceReadiness = {
5847
+ chatBindingState: WorkspaceBindingStatus;
5848
+ endpoint?: Maybe<Scalars['String']['output']>;
5849
+ podState?: Maybe<WorkspacePodState>;
5850
+ serverState?: Maybe<WorkspaceServerState>;
5851
+ workspaceId?: Maybe<Scalars['ID']['output']>;
5852
+ };
5853
+
5854
+ export type WorkspaceServerState =
5855
+ | 'SERVING'
5856
+ | 'STARTING'
5857
+ | 'UNRESPONSIVE';
5858
+
5390
5859
  export type WriteOffDamagedStockInput = {
5391
5860
  note?: InputMaybe<Scalars['String']['input']>;
5392
5861
  quantity: Scalars['Int']['input'];
@@ -7602,6 +8071,7 @@ export type ChannelFieldFragment = Pick<
7602
8071
  | 'code'
7603
8072
  | 'token'
7604
8073
  | 'secret'
8074
+ | 'previewUrl'
7605
8075
  | 'defaultLanguageCode'
7606
8076
  | 'defaultCurrencyCode'
7607
8077
  | 'availableLanguageCodes'
@@ -7628,6 +8098,7 @@ export type ChannelQuery = { channel?: Maybe<Pick<
7628
8098
  | 'code'
7629
8099
  | 'token'
7630
8100
  | 'secret'
8101
+ | 'previewUrl'
7631
8102
  | 'defaultLanguageCode'
7632
8103
  | 'defaultCurrencyCode'
7633
8104
  | 'availableLanguageCodes'
@@ -7656,6 +8127,7 @@ export type ChannelsQuery = { channels: (
7656
8127
  | 'code'
7657
8128
  | 'token'
7658
8129
  | 'secret'
8130
+ | 'previewUrl'
7659
8131
  | 'defaultLanguageCode'
7660
8132
  | 'defaultCurrencyCode'
7661
8133
  | 'availableLanguageCodes'
@@ -7683,6 +8155,7 @@ export type CreateChannelMutation = { createChannel: Pick<
7683
8155
  | 'code'
7684
8156
  | 'token'
7685
8157
  | 'secret'
8158
+ | 'previewUrl'
7686
8159
  | 'defaultLanguageCode'
7687
8160
  | 'defaultCurrencyCode'
7688
8161
  | 'availableLanguageCodes'
@@ -7709,6 +8182,7 @@ export type UpdateChannelMutation = { updateChannel: Pick<
7709
8182
  | 'code'
7710
8183
  | 'token'
7711
8184
  | 'secret'
8185
+ | 'previewUrl'
7712
8186
  | 'defaultLanguageCode'
7713
8187
  | 'defaultCurrencyCode'
7714
8188
  | 'availableLanguageCodes'
@@ -7734,8 +8208,7 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
7734
8208
  }>;
7735
8209
 
7736
8210
 
7737
- export type UpdateChannelSettingsMutation = { updateChannelSettings: (
7738
- Pick<
8211
+ export type UpdateChannelSettingsMutation = { updateChannelSettings: Pick<
7739
8212
  ChannelSettings,
7740
8213
  | 'id'
7741
8214
  | 'channelId'
@@ -7746,16 +8219,10 @@ export type UpdateChannelSettingsMutation = { updateChannelSettings: (
7746
8219
  | 'defaultPaymentProviderCode'
7747
8220
  | 'defaultWeightUnit'
7748
8221
  | 'defaultDimensionUnit'
7749
- >
7750
- & { manualShippingRates: Array<Pick<
7751
- ManualShippingRate,
7752
- | 'code'
7753
- | 'name'
7754
- | 'amount'
7755
- | 'currency'
7756
- | 'estimatedDays'
7757
- >> }
7758
- ) };
8222
+ | 'autoCurrencyExchange'
8223
+ | 'fxRoundingRule'
8224
+ | 'fxMarkupPercent'
8225
+ > };
7759
8226
 
7760
8227
  export type ProvisionChannelMutationVariables = Exact<{
7761
8228
  input: ProvisionChannelInput;
@@ -7771,6 +8238,7 @@ export type ProvisionChannelMutation = { provisionChannel: {
7771
8238
  | 'code'
7772
8239
  | 'token'
7773
8240
  | 'secret'
8241
+ | 'previewUrl'
7774
8242
  | 'defaultLanguageCode'
7775
8243
  | 'defaultCurrencyCode'
7776
8244
  | 'availableLanguageCodes'
@@ -7783,8 +8251,7 @@ export type ProvisionChannelMutation = { provisionChannel: {
7783
8251
  | 'sellerId'
7784
8252
  | 'defaultTaxZoneId'
7785
8253
  >,
7786
- channelSettings: (
7787
- Pick<
8254
+ channelSettings: Pick<
7788
8255
  ChannelSettings,
7789
8256
  | 'id'
7790
8257
  | 'channelId'
@@ -7795,16 +8262,10 @@ export type ProvisionChannelMutation = { provisionChannel: {
7795
8262
  | 'defaultPaymentProviderCode'
7796
8263
  | 'defaultWeightUnit'
7797
8264
  | 'defaultDimensionUnit'
7798
- >
7799
- & { manualShippingRates: Array<Pick<
7800
- ManualShippingRate,
7801
- | 'code'
7802
- | 'name'
7803
- | 'amount'
7804
- | 'currency'
7805
- | 'estimatedDays'
7806
- >> }
7807
- ),
8265
+ | 'autoCurrencyExchange'
8266
+ | 'fxRoundingRule'
8267
+ | 'fxMarkupPercent'
8268
+ >,
7808
8269
  role: Pick<
7809
8270
  Role,
7810
8271
  | 'id'
@@ -7815,8 +8276,7 @@ export type ProvisionChannelMutation = { provisionChannel: {
7815
8276
  >,
7816
8277
  } };
7817
8278
 
7818
- export type ChannelSettingsFieldFragment = (
7819
- Pick<
8279
+ export type ChannelSettingsFieldFragment = Pick<
7820
8280
  ChannelSettings,
7821
8281
  | 'id'
7822
8282
  | 'channelId'
@@ -7827,22 +8287,15 @@ export type ChannelSettingsFieldFragment = (
7827
8287
  | 'defaultPaymentProviderCode'
7828
8288
  | 'defaultWeightUnit'
7829
8289
  | 'defaultDimensionUnit'
7830
- >
7831
- & { manualShippingRates: Array<Pick<
7832
- ManualShippingRate,
7833
- | 'code'
7834
- | 'name'
7835
- | 'amount'
7836
- | 'currency'
7837
- | 'estimatedDays'
7838
- >> }
7839
- );
8290
+ | 'autoCurrencyExchange'
8291
+ | 'fxRoundingRule'
8292
+ | 'fxMarkupPercent'
8293
+ >;
7840
8294
 
7841
8295
  export type ChannelSettingsQueryVariables = Exact<{ [key: string]: never; }>;
7842
8296
 
7843
8297
 
7844
- export type ChannelSettingsQuery = { channelSettings: (
7845
- Pick<
8298
+ export type ChannelSettingsQuery = { channelSettings: Pick<
7846
8299
  ChannelSettings,
7847
8300
  | 'id'
7848
8301
  | 'channelId'
@@ -7853,24 +8306,17 @@ export type ChannelSettingsQuery = { channelSettings: (
7853
8306
  | 'defaultPaymentProviderCode'
7854
8307
  | 'defaultWeightUnit'
7855
8308
  | 'defaultDimensionUnit'
7856
- >
7857
- & { manualShippingRates: Array<Pick<
7858
- ManualShippingRate,
7859
- | 'code'
7860
- | 'name'
7861
- | 'amount'
7862
- | 'currency'
7863
- | 'estimatedDays'
7864
- >> }
7865
- ) };
8309
+ | 'autoCurrencyExchange'
8310
+ | 'fxRoundingRule'
8311
+ | 'fxMarkupPercent'
8312
+ > };
7866
8313
 
7867
8314
  export type ChannelUpdateSettingsMutationVariables = Exact<{
7868
8315
  input: UpdateChannelSettingsInput;
7869
8316
  }>;
7870
8317
 
7871
8318
 
7872
- export type ChannelUpdateSettingsMutation = { updateChannelSettings: (
7873
- Pick<
8319
+ export type ChannelUpdateSettingsMutation = { updateChannelSettings: Pick<
7874
8320
  ChannelSettings,
7875
8321
  | 'id'
7876
8322
  | 'channelId'
@@ -7881,17 +8327,232 @@ export type ChannelUpdateSettingsMutation = { updateChannelSettings: (
7881
8327
  | 'defaultPaymentProviderCode'
7882
8328
  | 'defaultWeightUnit'
7883
8329
  | 'defaultDimensionUnit'
8330
+ | 'autoCurrencyExchange'
8331
+ | 'fxRoundingRule'
8332
+ | 'fxMarkupPercent'
8333
+ > };
8334
+
8335
+ export type ChatSessionFieldFragment = Pick<
8336
+ ChatSession,
8337
+ | 'sessionId'
8338
+ | 'channelToken'
8339
+ | 'userId'
8340
+ | 'createdAt'
8341
+ | 'lastActivity'
8342
+ | 'messageCount'
8343
+ | 'status'
8344
+ >;
8345
+
8346
+ export type ChatMessageFieldFragment = (
8347
+ Pick<
8348
+ ChatMessage,
8349
+ | 'type'
8350
+ | 'content'
8351
+ | 'timestamp'
8352
+ | 'isFinal'
8353
+ | 'eventId'
8354
+ >
8355
+ & {
8356
+ toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>,
8357
+ toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>,
8358
+ }
8359
+ );
8360
+
8361
+ export type ChatHistoryMessageFieldFragment = Pick<
8362
+ ChatHistoryMessage,
8363
+ | 'id'
8364
+ | 'role'
8365
+ | 'content'
8366
+ | 'toolUse'
8367
+ | 'toolResult'
8368
+ | 'seq'
8369
+ | 'eventId'
8370
+ | 'timestamp'
8371
+ >;
8372
+
8373
+ export type ChatSessionSummaryFieldFragment = Pick<
8374
+ ChatSessionSummary,
8375
+ | 'id'
8376
+ | 'agentSessionId'
8377
+ | 'title'
8378
+ | 'status'
8379
+ | 'origin'
8380
+ | 'messageCount'
8381
+ | 'lastActivityAt'
8382
+ | 'createdAt'
8383
+ | 'workspaceId'
8384
+ >;
8385
+
8386
+ export type WorkspaceReadinessFieldFragment = Pick<
8387
+ WorkspaceReadiness,
8388
+ | 'workspaceId'
8389
+ | 'podState'
8390
+ | 'serverState'
8391
+ | 'chatBindingState'
8392
+ | 'endpoint'
8393
+ >;
8394
+
8395
+ export type StartChatSessionMutationVariables = Exact<{
8396
+ input?: InputMaybe<StartChatSessionInput>;
8397
+ }>;
8398
+
8399
+
8400
+ export type StartChatSessionMutation = { startChatSession: Pick<
8401
+ ChatSession,
8402
+ | 'sessionId'
8403
+ | 'channelToken'
8404
+ | 'userId'
8405
+ | 'createdAt'
8406
+ | 'lastActivity'
8407
+ | 'messageCount'
8408
+ | 'status'
8409
+ > };
8410
+
8411
+ export type SendChatMessageMutationVariables = Exact<{
8412
+ input: SendChatMessageInput;
8413
+ }>;
8414
+
8415
+
8416
+ export type SendChatMessageMutation = { sendChatMessage: Array<(
8417
+ Pick<
8418
+ ChatMessage,
8419
+ | 'type'
8420
+ | 'content'
8421
+ | 'timestamp'
8422
+ | 'isFinal'
8423
+ | 'eventId'
7884
8424
  >
7885
- & { manualShippingRates: Array<Pick<
7886
- ManualShippingRate,
7887
- | 'code'
7888
- | 'name'
7889
- | 'amount'
7890
- | 'currency'
7891
- | 'estimatedDays'
8425
+ & {
8426
+ toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>,
8427
+ toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>,
8428
+ }
8429
+ )> };
8430
+
8431
+ export type ChatMessageStreamSubscriptionVariables = Exact<{
8432
+ input: SendChatMessageInput;
8433
+ }>;
8434
+
8435
+
8436
+ export type ChatMessageStreamSubscription = { chatMessageStream: (
8437
+ Pick<
8438
+ ChatMessage,
8439
+ | 'type'
8440
+ | 'content'
8441
+ | 'timestamp'
8442
+ | 'isFinal'
8443
+ | 'eventId'
8444
+ >
8445
+ & {
8446
+ toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>,
8447
+ toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>,
8448
+ }
8449
+ ) };
8450
+
8451
+ export type ResumeChatSessionSubscriptionVariables = Exact<{
8452
+ input: ResumeChatSessionInput;
8453
+ }>;
8454
+
8455
+
8456
+ export type ResumeChatSessionSubscription = { resumeChatSession: (
8457
+ Pick<
8458
+ ChatMessage,
8459
+ | 'type'
8460
+ | 'content'
8461
+ | 'timestamp'
8462
+ | 'isFinal'
8463
+ | 'eventId'
8464
+ >
8465
+ & {
8466
+ toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>,
8467
+ toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>,
8468
+ }
8469
+ ) };
8470
+
8471
+ export type CloseChatSessionMutationVariables = Exact<{
8472
+ sessionId: Scalars['ID']['input'];
8473
+ }>;
8474
+
8475
+
8476
+ export type CloseChatSessionMutation = Pick<Mutation, 'closeChatSession'>;
8477
+
8478
+ export type ClearChatHistoryMutationVariables = Exact<{
8479
+ sessionId: Scalars['ID']['input'];
8480
+ }>;
8481
+
8482
+
8483
+ export type ClearChatHistoryMutation = Pick<Mutation, 'clearChatHistory'>;
8484
+
8485
+ export type EnqueueChatMessageMutationVariables = Exact<{
8486
+ input: EnqueueChatMessageInput;
8487
+ }>;
8488
+
8489
+
8490
+ export type EnqueueChatMessageMutation = Pick<Mutation, 'enqueueChatMessage'>;
8491
+
8492
+ export type ChatQueueQueryVariables = Exact<{
8493
+ sessionId: Scalars['ID']['input'];
8494
+ }>;
8495
+
8496
+
8497
+ export type ChatQueueQuery = { chatQueue: Array<Pick<ChatQueueItem, 'id' | 'kind' | 'content'>> };
8498
+
8499
+ export type ChatHistoryQueryVariables = Exact<{
8500
+ input: ChatHistoryInput;
8501
+ }>;
8502
+
8503
+
8504
+ export type ChatHistoryQuery = { chatHistory: Array<Pick<
8505
+ ChatHistoryMessage,
8506
+ | 'id'
8507
+ | 'role'
8508
+ | 'content'
8509
+ | 'toolUse'
8510
+ | 'toolResult'
8511
+ | 'seq'
8512
+ | 'eventId'
8513
+ | 'timestamp'
8514
+ >> };
8515
+
8516
+ export type ChatSessionsQueryVariables = Exact<{
8517
+ input?: InputMaybe<ChatSessionsInput>;
8518
+ }>;
8519
+
8520
+
8521
+ export type ChatSessionsQuery = { chatSessions: (
8522
+ Pick<ChatSessionSummaryList, 'totalItems'>
8523
+ & { items: Array<Pick<
8524
+ ChatSessionSummary,
8525
+ | 'id'
8526
+ | 'agentSessionId'
8527
+ | 'title'
8528
+ | 'status'
8529
+ | 'origin'
8530
+ | 'messageCount'
8531
+ | 'lastActivityAt'
8532
+ | 'createdAt'
8533
+ | 'workspaceId'
7892
8534
  >> }
7893
8535
  ) };
7894
8536
 
8537
+ export type ArchiveChatSessionMutationVariables = Exact<{
8538
+ sessionId: Scalars['ID']['input'];
8539
+ }>;
8540
+
8541
+
8542
+ export type ArchiveChatSessionMutation = Pick<Mutation, 'archiveChatSession'>;
8543
+
8544
+ export type WorkspaceReadinessSubscriptionVariables = Exact<{ [key: string]: never; }>;
8545
+
8546
+
8547
+ export type WorkspaceReadinessSubscription = { workspaceReadiness: Pick<
8548
+ WorkspaceReadiness,
8549
+ | 'workspaceId'
8550
+ | 'podState'
8551
+ | 'serverState'
8552
+ | 'chatBindingState'
8553
+ | 'endpoint'
8554
+ > };
8555
+
7895
8556
  export type CollectionTranslationFieldFragment = Pick<
7896
8557
  CollectionTranslation,
7897
8558
  | 'id'
@@ -9917,32 +10578,141 @@ export type AdminRespondToHookDispatchMutationVariables = Exact<{
9917
10578
 
9918
10579
  export type AdminRespondToHookDispatchMutation = Pick<Mutation, 'respondToHookDispatch'>;
9919
10580
 
9920
- export type HookListenSubscriptionVariables = Exact<{
9921
- hookPoints: Array<Scalars['String']['input']> | Scalars['String']['input'];
10581
+ export type HookListenSubscriptionVariables = Exact<{
10582
+ hookPoints: Array<Scalars['String']['input']> | Scalars['String']['input'];
10583
+ }>;
10584
+
10585
+
10586
+ export type HookListenSubscription = { hookDispatched: Pick<
10587
+ HookDispatchEvent,
10588
+ | 'id'
10589
+ | 'hookPoint'
10590
+ | 'transactionToken'
10591
+ | 'args'
10592
+ > };
10593
+
10594
+ export type HookRespondMutationVariables = Exact<{
10595
+ input: RespondToHookDispatchInput;
10596
+ }>;
10597
+
10598
+
10599
+ export type HookRespondMutation = Pick<Mutation, 'respondToHookDispatch'>;
10600
+
10601
+ export type EmitMutationVariables = Exact<{
10602
+ input: EmitCustomEventInput;
10603
+ }>;
10604
+
10605
+
10606
+ export type EmitMutation = Pick<Mutation, 'emit'>;
10607
+
10608
+ export type MarketFieldFragment = (
10609
+ Pick<
10610
+ Market,
10611
+ | 'id'
10612
+ | 'createdAt'
10613
+ | 'updatedAt'
10614
+ | 'name'
10615
+ | 'enabled'
10616
+ | 'currencyCode'
10617
+ | 'languageCode'
10618
+ | 'channelId'
10619
+ >
10620
+ & { countries: Array<Pick<
10621
+ Country,
10622
+ | 'id'
10623
+ | 'code'
10624
+ | 'name'
10625
+ | 'enabled'
10626
+ >> }
10627
+ );
10628
+
10629
+ export type MarketsQueryVariables = Exact<{
10630
+ options?: InputMaybe<ListQueryOptions>;
10631
+ }>;
10632
+
10633
+
10634
+ export type MarketsQuery = { markets: (
10635
+ Pick<MarketList, 'totalItems'>
10636
+ & { items: Array<(
10637
+ Pick<
10638
+ Market,
10639
+ | 'id'
10640
+ | 'createdAt'
10641
+ | 'updatedAt'
10642
+ | 'name'
10643
+ | 'enabled'
10644
+ | 'currencyCode'
10645
+ | 'languageCode'
10646
+ | 'channelId'
10647
+ >
10648
+ & { countries: Array<Pick<
10649
+ Country,
10650
+ | 'id'
10651
+ | 'code'
10652
+ | 'name'
10653
+ | 'enabled'
10654
+ >> }
10655
+ )> }
10656
+ ) };
10657
+
10658
+ export type CreateMarketMutationVariables = Exact<{
10659
+ input: CreateMarketInput;
10660
+ }>;
10661
+
10662
+
10663
+ export type CreateMarketMutation = { createMarket: (
10664
+ Pick<
10665
+ Market,
10666
+ | 'id'
10667
+ | 'createdAt'
10668
+ | 'updatedAt'
10669
+ | 'name'
10670
+ | 'enabled'
10671
+ | 'currencyCode'
10672
+ | 'languageCode'
10673
+ | 'channelId'
10674
+ >
10675
+ & { countries: Array<Pick<
10676
+ Country,
10677
+ | 'id'
10678
+ | 'code'
10679
+ | 'name'
10680
+ | 'enabled'
10681
+ >> }
10682
+ ) };
10683
+
10684
+ export type UpdateMarketMutationVariables = Exact<{
10685
+ input: UpdateMarketInput;
9922
10686
  }>;
9923
10687
 
9924
10688
 
9925
- export type HookListenSubscription = { hookDispatched: Pick<
9926
- HookDispatchEvent,
10689
+ export type UpdateMarketMutation = { updateMarket: (
10690
+ Pick<
10691
+ Market,
9927
10692
  | 'id'
9928
- | 'hookPoint'
9929
- | 'transactionToken'
9930
- | 'args'
9931
- > };
9932
-
9933
- export type HookRespondMutationVariables = Exact<{
9934
- input: RespondToHookDispatchInput;
9935
- }>;
9936
-
9937
-
9938
- export type HookRespondMutation = Pick<Mutation, 'respondToHookDispatch'>;
10693
+ | 'createdAt'
10694
+ | 'updatedAt'
10695
+ | 'name'
10696
+ | 'enabled'
10697
+ | 'currencyCode'
10698
+ | 'languageCode'
10699
+ | 'channelId'
10700
+ >
10701
+ & { countries: Array<Pick<
10702
+ Country,
10703
+ | 'id'
10704
+ | 'code'
10705
+ | 'name'
10706
+ | 'enabled'
10707
+ >> }
10708
+ ) };
9939
10709
 
9940
- export type EmitMutationVariables = Exact<{
9941
- input: EmitCustomEventInput;
10710
+ export type DeleteMarketMutationVariables = Exact<{
10711
+ id: Scalars['ID']['input'];
9942
10712
  }>;
9943
10713
 
9944
10714
 
9945
- export type EmitMutation = Pick<Mutation, 'emit'>;
10715
+ export type DeleteMarketMutation = { deleteMarket: Pick<DeletionResponse, 'result' | 'message'> };
9946
10716
 
9947
10717
  export type AdminAttributionByOrderQueryVariables = Exact<{
9948
10718
  input: AttributionByOrderInput;
@@ -10183,6 +10953,181 @@ export type AdminMarketingIdentityByCustomerQuery = { marketingIdentityByCustome
10183
10953
  >> }
10184
10954
  )> };
10185
10955
 
10956
+ export type MissionRepoRefFieldFragment = Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>;
10957
+
10958
+ export type MissionFieldFragment = (
10959
+ Pick<
10960
+ Mission,
10961
+ | 'id'
10962
+ | 'status'
10963
+ | 'title'
10964
+ | 'model'
10965
+ | 'branch'
10966
+ | 'prUrl'
10967
+ | 'podRef'
10968
+ | 'costCents'
10969
+ | 'channelId'
10970
+ | 'administratorId'
10971
+ | 'workspaceId'
10972
+ | 'createdAt'
10973
+ | 'updatedAt'
10974
+ >
10975
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
10976
+ );
10977
+
10978
+ export type AdminMissionsQueryVariables = Exact<{
10979
+ options?: InputMaybe<MissionListOptions>;
10980
+ }>;
10981
+
10982
+
10983
+ export type AdminMissionsQuery = { missions: (
10984
+ Pick<MissionList, 'totalItems'>
10985
+ & { items: Array<(
10986
+ Pick<
10987
+ Mission,
10988
+ | 'id'
10989
+ | 'status'
10990
+ | 'title'
10991
+ | 'model'
10992
+ | 'branch'
10993
+ | 'prUrl'
10994
+ | 'podRef'
10995
+ | 'costCents'
10996
+ | 'channelId'
10997
+ | 'administratorId'
10998
+ | 'workspaceId'
10999
+ | 'createdAt'
11000
+ | 'updatedAt'
11001
+ >
11002
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11003
+ )> }
11004
+ ) };
11005
+
11006
+ export type AdminMissionQueryVariables = Exact<{
11007
+ id: Scalars['ID']['input'];
11008
+ }>;
11009
+
11010
+
11011
+ export type AdminMissionQuery = { mission?: Maybe<(
11012
+ Pick<
11013
+ Mission,
11014
+ | 'id'
11015
+ | 'status'
11016
+ | 'title'
11017
+ | 'model'
11018
+ | 'branch'
11019
+ | 'prUrl'
11020
+ | 'podRef'
11021
+ | 'costCents'
11022
+ | 'channelId'
11023
+ | 'administratorId'
11024
+ | 'workspaceId'
11025
+ | 'createdAt'
11026
+ | 'updatedAt'
11027
+ >
11028
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11029
+ )> };
11030
+
11031
+ export type AdminCreateMissionMutationVariables = Exact<{
11032
+ input: CreateMissionInput;
11033
+ }>;
11034
+
11035
+
11036
+ export type AdminCreateMissionMutation = { createMission: (
11037
+ Pick<
11038
+ Mission,
11039
+ | 'id'
11040
+ | 'status'
11041
+ | 'title'
11042
+ | 'model'
11043
+ | 'branch'
11044
+ | 'prUrl'
11045
+ | 'podRef'
11046
+ | 'costCents'
11047
+ | 'channelId'
11048
+ | 'administratorId'
11049
+ | 'workspaceId'
11050
+ | 'createdAt'
11051
+ | 'updatedAt'
11052
+ >
11053
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11054
+ ) };
11055
+
11056
+ export type AdminCancelMissionMutationVariables = Exact<{
11057
+ id: Scalars['ID']['input'];
11058
+ }>;
11059
+
11060
+
11061
+ export type AdminCancelMissionMutation = { cancelMission: (
11062
+ Pick<
11063
+ Mission,
11064
+ | 'id'
11065
+ | 'status'
11066
+ | 'title'
11067
+ | 'model'
11068
+ | 'branch'
11069
+ | 'prUrl'
11070
+ | 'podRef'
11071
+ | 'costCents'
11072
+ | 'channelId'
11073
+ | 'administratorId'
11074
+ | 'workspaceId'
11075
+ | 'createdAt'
11076
+ | 'updatedAt'
11077
+ >
11078
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11079
+ ) };
11080
+
11081
+ export type AdminDeleteMissionMutationVariables = Exact<{
11082
+ id: Scalars['ID']['input'];
11083
+ }>;
11084
+
11085
+
11086
+ export type AdminDeleteMissionMutation = { deleteMission: (
11087
+ Pick<
11088
+ Mission,
11089
+ | 'id'
11090
+ | 'status'
11091
+ | 'title'
11092
+ | 'model'
11093
+ | 'branch'
11094
+ | 'prUrl'
11095
+ | 'podRef'
11096
+ | 'costCents'
11097
+ | 'channelId'
11098
+ | 'administratorId'
11099
+ | 'workspaceId'
11100
+ | 'createdAt'
11101
+ | 'updatedAt'
11102
+ >
11103
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11104
+ ) };
11105
+
11106
+ export type AdminSendMissionMessageMutationVariables = Exact<{
11107
+ input: SendMissionMessageInput;
11108
+ }>;
11109
+
11110
+
11111
+ export type AdminSendMissionMessageMutation = { sendMissionMessage: (
11112
+ Pick<
11113
+ Mission,
11114
+ | 'id'
11115
+ | 'status'
11116
+ | 'title'
11117
+ | 'model'
11118
+ | 'branch'
11119
+ | 'prUrl'
11120
+ | 'podRef'
11121
+ | 'costCents'
11122
+ | 'channelId'
11123
+ | 'administratorId'
11124
+ | 'workspaceId'
11125
+ | 'createdAt'
11126
+ | 'updatedAt'
11127
+ >
11128
+ & { repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>> }
11129
+ ) };
11130
+
10186
11131
  export type ActiveOnboardingQueryVariables = Exact<{ [key: string]: never; }>;
10187
11132
 
10188
11133
 
@@ -23221,6 +24166,16 @@ export type ProductVariantFieldFragment = (
23221
24166
  }
23222
24167
  );
23223
24168
 
24169
+ export type ProductVariantPriceFieldFragment = Pick<
24170
+ ProductVariantPrice,
24171
+ | 'id'
24172
+ | 'createdAt'
24173
+ | 'updatedAt'
24174
+ | 'price'
24175
+ | 'currencyCode'
24176
+ | 'variantId'
24177
+ >;
24178
+
23224
24179
  export type AdminProductVariantQueryVariables = Exact<{
23225
24180
  id: Scalars['ID']['input'];
23226
24181
  }>;
@@ -23532,6 +24487,21 @@ export type DeleteProductVariantsMutationVariables = Exact<{
23532
24487
 
23533
24488
  export type DeleteProductVariantsMutation = { deleteProductVariants: Pick<DeletionResponse, 'result' | 'message'> };
23534
24489
 
24490
+ export type SetProductVariantPriceMutationVariables = Exact<{
24491
+ input: SetPriceInput;
24492
+ }>;
24493
+
24494
+
24495
+ export type SetProductVariantPriceMutation = { setProductVariantPrice: Pick<
24496
+ ProductVariantPrice,
24497
+ | 'id'
24498
+ | 'createdAt'
24499
+ | 'updatedAt'
24500
+ | 'price'
24501
+ | 'currencyCode'
24502
+ | 'variantId'
24503
+ > };
24504
+
23535
24505
  export type ProductTranslationFieldFragment = Pick<
23536
24506
  ProductTranslation,
23537
24507
  | 'id'
@@ -25703,6 +26673,31 @@ export type ShippingCarrierFieldFragment = Pick<
25703
26673
  | 'enabled'
25704
26674
  >;
25705
26675
 
26676
+ export type ShippingGatewayRoutingRuleFieldFragment = (
26677
+ Pick<
26678
+ ShippingGatewayRoutingRule,
26679
+ | 'id'
26680
+ | 'stockLocationId'
26681
+ | 'scopeType'
26682
+ | 'fulfillmentType'
26683
+ | 'providerCode'
26684
+ | 'priority'
26685
+ | 'enabled'
26686
+ >
26687
+ & {
26688
+ countries: Array<Pick<Country, 'id' | 'code' | 'name'>>,
26689
+ flatRates: Array<Pick<
26690
+ ShippingGatewayRoutingFlatRate,
26691
+ | 'id'
26692
+ | 'code'
26693
+ | 'name'
26694
+ | 'amount'
26695
+ | 'currencyCode'
26696
+ | 'estimatedDays'
26697
+ >>,
26698
+ }
26699
+ );
26700
+
25706
26701
  export type ShippingLabelsQueryVariables = Exact<{
25707
26702
  orderId: Scalars['ID']['input'];
25708
26703
  }>;
@@ -26700,6 +27695,133 @@ export type AvailableShippingProvidersQueryVariables = Exact<{ [key: string]: ne
26700
27695
 
26701
27696
  export type AvailableShippingProvidersQuery = { availableShippingProviders: Array<Pick<ShippingProvider, 'code' | 'name' | 'pluginBacked'>> };
26702
27697
 
27698
+ export type ShippingGatewayRoutingRulesQueryVariables = Exact<{
27699
+ stockLocationId: Scalars['ID']['input'];
27700
+ }>;
27701
+
27702
+
27703
+ export type ShippingGatewayRoutingRulesQuery = { shippingGatewayRoutingRules: Array<(
27704
+ Pick<
27705
+ ShippingGatewayRoutingRule,
27706
+ | 'id'
27707
+ | 'stockLocationId'
27708
+ | 'scopeType'
27709
+ | 'fulfillmentType'
27710
+ | 'providerCode'
27711
+ | 'priority'
27712
+ | 'enabled'
27713
+ >
27714
+ & {
27715
+ countries: Array<Pick<Country, 'id' | 'code' | 'name'>>,
27716
+ flatRates: Array<Pick<
27717
+ ShippingGatewayRoutingFlatRate,
27718
+ | 'id'
27719
+ | 'code'
27720
+ | 'name'
27721
+ | 'amount'
27722
+ | 'currencyCode'
27723
+ | 'estimatedDays'
27724
+ >>,
27725
+ }
27726
+ )> };
27727
+
27728
+ export type CreateShippingGatewayRoutingRuleMutationVariables = Exact<{
27729
+ input: CreateShippingGatewayRoutingRuleInput;
27730
+ }>;
27731
+
27732
+
27733
+ export type CreateShippingGatewayRoutingRuleMutation = { createShippingGatewayRoutingRule: (
27734
+ Pick<
27735
+ ShippingGatewayRoutingRule,
27736
+ | 'id'
27737
+ | 'stockLocationId'
27738
+ | 'scopeType'
27739
+ | 'fulfillmentType'
27740
+ | 'providerCode'
27741
+ | 'priority'
27742
+ | 'enabled'
27743
+ >
27744
+ & {
27745
+ countries: Array<Pick<Country, 'id' | 'code' | 'name'>>,
27746
+ flatRates: Array<Pick<
27747
+ ShippingGatewayRoutingFlatRate,
27748
+ | 'id'
27749
+ | 'code'
27750
+ | 'name'
27751
+ | 'amount'
27752
+ | 'currencyCode'
27753
+ | 'estimatedDays'
27754
+ >>,
27755
+ }
27756
+ ) };
27757
+
27758
+ export type UpdateShippingGatewayRoutingRuleMutationVariables = Exact<{
27759
+ input: UpdateShippingGatewayRoutingRuleInput;
27760
+ }>;
27761
+
27762
+
27763
+ export type UpdateShippingGatewayRoutingRuleMutation = { updateShippingGatewayRoutingRule: (
27764
+ Pick<
27765
+ ShippingGatewayRoutingRule,
27766
+ | 'id'
27767
+ | 'stockLocationId'
27768
+ | 'scopeType'
27769
+ | 'fulfillmentType'
27770
+ | 'providerCode'
27771
+ | 'priority'
27772
+ | 'enabled'
27773
+ >
27774
+ & {
27775
+ countries: Array<Pick<Country, 'id' | 'code' | 'name'>>,
27776
+ flatRates: Array<Pick<
27777
+ ShippingGatewayRoutingFlatRate,
27778
+ | 'id'
27779
+ | 'code'
27780
+ | 'name'
27781
+ | 'amount'
27782
+ | 'currencyCode'
27783
+ | 'estimatedDays'
27784
+ >>,
27785
+ }
27786
+ ) };
27787
+
27788
+ export type DeleteShippingGatewayRoutingRuleMutationVariables = Exact<{
27789
+ id: Scalars['ID']['input'];
27790
+ }>;
27791
+
27792
+
27793
+ export type DeleteShippingGatewayRoutingRuleMutation = Pick<Mutation, 'deleteShippingGatewayRoutingRule'>;
27794
+
27795
+ export type ReorderShippingGatewayRoutingRulesMutationVariables = Exact<{
27796
+ input: ReorderShippingGatewayRoutingRulesInput;
27797
+ }>;
27798
+
27799
+
27800
+ export type ReorderShippingGatewayRoutingRulesMutation = { reorderShippingGatewayRoutingRules: Array<(
27801
+ Pick<
27802
+ ShippingGatewayRoutingRule,
27803
+ | 'id'
27804
+ | 'stockLocationId'
27805
+ | 'scopeType'
27806
+ | 'fulfillmentType'
27807
+ | 'providerCode'
27808
+ | 'priority'
27809
+ | 'enabled'
27810
+ >
27811
+ & {
27812
+ countries: Array<Pick<Country, 'id' | 'code' | 'name'>>,
27813
+ flatRates: Array<Pick<
27814
+ ShippingGatewayRoutingFlatRate,
27815
+ | 'id'
27816
+ | 'code'
27817
+ | 'name'
27818
+ | 'amount'
27819
+ | 'currencyCode'
27820
+ | 'estimatedDays'
27821
+ >>,
27822
+ }
27823
+ )> };
27824
+
26703
27825
  export type StockLocationFieldFragment = (
26704
27826
  Pick<
26705
27827
  StockLocation,