@forgecart/sdk 1.202607122305.0 → 1.202607150804.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.
@@ -624,6 +624,7 @@ export type ChatHistoryMessage = {
624
624
  toolUse?: Maybe<Scalars['JSON']['output']>;
625
625
  };
626
626
  export type ChatMessage = {
627
+ backend?: Maybe<Scalars['String']['output']>;
627
628
  content: Scalars['String']['output'];
628
629
  eventId: Scalars['Int']['output'];
629
630
  isFinal: Scalars['Boolean']['output'];
@@ -655,6 +656,7 @@ export type ChatSessionSummary = {
655
656
  createdAt: Scalars['String']['output'];
656
657
  id: Scalars['ID']['output'];
657
658
  lastActivityAt: Scalars['String']['output'];
659
+ lastBackend?: Maybe<Scalars['String']['output']>;
658
660
  messageCount: Scalars['Int']['output'];
659
661
  origin?: Maybe<Scalars['String']['output']>;
660
662
  status: Scalars['String']['output'];
@@ -667,6 +669,7 @@ export type ChatSessionSummaryList = {
667
669
  };
668
670
  export type ChatSessionsInput = {
669
671
  includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
672
+ origins?: InputMaybe<Array<Scalars['String']['input']>>;
670
673
  skip?: InputMaybe<Scalars['Int']['input']>;
671
674
  take?: InputMaybe<Scalars['Int']['input']>;
672
675
  };
@@ -1093,6 +1096,8 @@ export type CreateSubscriptionVariantConfigInput = {
1093
1096
  variantId: Scalars['ID']['input'];
1094
1097
  };
1095
1098
  export type CreateTaxCategoryInput = {
1099
+ exempt?: InputMaybe<Scalars['Boolean']['input']>;
1100
+ externalCodes?: InputMaybe<Array<TaxCategoryExternalCodeInput>>;
1096
1101
  isDefault?: InputMaybe<Scalars['Boolean']['input']>;
1097
1102
  name: Scalars['String']['input'];
1098
1103
  };
@@ -2027,6 +2032,7 @@ export type Mutation = {
2027
2032
  setConfigurationItemValue?: Maybe<Scalars['Boolean']['output']>;
2028
2033
  setCustomerForDraftOrder: Order;
2029
2034
  setCustomerForOrder: Order;
2035
+ setDefaultTaxCategory: TaxCategory;
2030
2036
  setDefaultToken: PaymentGatewayToken;
2031
2037
  setDeploymentEnv: Deployment;
2032
2038
  setManualShippingRate: Order;
@@ -2610,6 +2616,9 @@ export type MutationsetCustomerForDraftOrderArgs = {
2610
2616
  export type MutationsetCustomerForOrderArgs = {
2611
2617
  input: SetCustomerForOrderInput;
2612
2618
  };
2619
+ export type MutationsetDefaultTaxCategoryArgs = {
2620
+ id: Scalars['ID']['input'];
2621
+ };
2613
2622
  export type MutationsetDefaultTokenArgs = {
2614
2623
  tokenId: Scalars['ID']['input'];
2615
2624
  };
@@ -3326,6 +3335,7 @@ export type Query = {
3326
3335
  subscriptions: BillingSubscriptionList;
3327
3336
  taxCategories: TaxCategoryList;
3328
3337
  taxCategory?: Maybe<TaxCategory>;
3338
+ taxProviderTaxCodes: Array<TaxProviderTaxCode>;
3329
3339
  taxRate?: Maybe<TaxRate>;
3330
3340
  taxRates: TaxRateList;
3331
3341
  topProducts: Array<TopProduct>;
@@ -3649,6 +3659,9 @@ export type QuerytaxCategoriesArgs = {
3649
3659
  export type QuerytaxCategoryArgs = {
3650
3660
  id: Scalars['ID']['input'];
3651
3661
  };
3662
+ export type QuerytaxProviderTaxCodesArgs = {
3663
+ providerCode: Scalars['String']['input'];
3664
+ };
3652
3665
  export type QuerytaxRateArgs = {
3653
3666
  id: Scalars['ID']['input'];
3654
3667
  };
@@ -4424,11 +4437,21 @@ export type Tag = {
4424
4437
  };
4425
4438
  export type TaxCategory = {
4426
4439
  createdAt: Scalars['DateTime']['output'];
4440
+ exempt: Scalars['Boolean']['output'];
4441
+ externalCodes: Array<TaxCategoryExternalCode>;
4427
4442
  id: Scalars['ID']['output'];
4428
4443
  isDefault: Scalars['Boolean']['output'];
4429
4444
  name: Scalars['String']['output'];
4430
4445
  updatedAt: Scalars['DateTime']['output'];
4431
4446
  };
4447
+ export type TaxCategoryExternalCode = {
4448
+ providerCode: Scalars['String']['output'];
4449
+ taxCode: Scalars['String']['output'];
4450
+ };
4451
+ export type TaxCategoryExternalCodeInput = {
4452
+ providerCode: Scalars['String']['input'];
4453
+ taxCode: Scalars['String']['input'];
4454
+ };
4432
4455
  export type TaxCategoryList = {
4433
4456
  items: Array<TaxCategory>;
4434
4457
  totalItems: Scalars['Int']['output'];
@@ -4437,6 +4460,11 @@ export type TaxProviderOption = {
4437
4460
  code: Scalars['String']['output'];
4438
4461
  name: Scalars['String']['output'];
4439
4462
  };
4463
+ export type TaxProviderTaxCode = {
4464
+ code: Scalars['String']['output'];
4465
+ description?: Maybe<Scalars['String']['output']>;
4466
+ name: Scalars['String']['output'];
4467
+ };
4440
4468
  export type TaxRate = {
4441
4469
  category: TaxCategory;
4442
4470
  categoryId: Scalars['ID']['output'];
@@ -4754,6 +4782,7 @@ export type UpdateProductVariantInput = {
4754
4782
  price?: InputMaybe<Scalars['Int']['input']>;
4755
4783
  sku?: InputMaybe<Scalars['String']['input']>;
4756
4784
  stockLevels?: InputMaybe<Array<StockLevelInput>>;
4785
+ taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
4757
4786
  trackInventory?: InputMaybe<Scalars['Boolean']['input']>;
4758
4787
  translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
4759
4788
  weight?: InputMaybe<WeightInput>;
@@ -4859,6 +4888,8 @@ export type UpdateSubscriptionVariantConfigInput = {
4859
4888
  trialPeriodDays?: InputMaybe<Scalars['Int']['input']>;
4860
4889
  };
4861
4890
  export type UpdateTaxCategoryInput = {
4891
+ exempt?: InputMaybe<Scalars['Boolean']['input']>;
4892
+ externalCodes?: InputMaybe<Array<TaxCategoryExternalCodeInput>>;
4862
4893
  id: Scalars['ID']['input'];
4863
4894
  isDefault?: InputMaybe<Scalars['Boolean']['input']>;
4864
4895
  name?: InputMaybe<Scalars['String']['input']>;
@@ -5829,7 +5860,7 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
5829
5860
  input: UpdateChannelSettingsInput;
5830
5861
  }>;
5831
5862
  export type UpdateChannelSettingsMutation = {
5832
- updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5863
+ updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5833
5864
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
5834
5865
  });
5835
5866
  };
@@ -5839,7 +5870,7 @@ export type ProvisionChannelMutationVariables = Exact<{
5839
5870
  export type ProvisionChannelMutation = {
5840
5871
  provisionChannel: {
5841
5872
  channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
5842
- channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5873
+ channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5843
5874
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
5844
5875
  });
5845
5876
  role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
@@ -5851,14 +5882,14 @@ export type AdminExchangeRatesQueryVariables = Exact<{
5851
5882
  export type AdminExchangeRatesQuery = {
5852
5883
  exchangeRates: Array<Pick<ExchangeRate, 'id' | 'baseCurrencyCode' | 'targetCurrencyCode' | 'rate' | 'rateUpdatedAt'>>;
5853
5884
  };
5854
- export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5885
+ export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5855
5886
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
5856
5887
  });
5857
5888
  export type ChannelSettingsQueryVariables = Exact<{
5858
5889
  [key: string]: never;
5859
5890
  }>;
5860
5891
  export type ChannelSettingsQuery = {
5861
- channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5892
+ channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5862
5893
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
5863
5894
  });
5864
5895
  };
@@ -5866,7 +5897,7 @@ export type ChannelUpdateSettingsMutationVariables = Exact<{
5866
5897
  input: UpdateChannelSettingsInput;
5867
5898
  }>;
5868
5899
  export type ChannelUpdateSettingsMutation = {
5869
- updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5900
+ updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
5870
5901
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
5871
5902
  });
5872
5903
  };
@@ -5884,12 +5915,12 @@ export type ChannelUpdateSubscriptionSettingsMutation = {
5884
5915
  updateChannelSubscriptionSettings: Pick<ChannelSubscriptionSettings, 'id' | 'channelId' | 'couponInteraction'>;
5885
5916
  };
5886
5917
  export type ChatSessionFieldFragment = Pick<ChatSession, 'sessionId' | 'channelToken' | 'userId' | 'createdAt' | 'lastActivity' | 'messageCount' | 'status'>;
5887
- export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
5918
+ export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
5888
5919
  toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
5889
5920
  toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
5890
5921
  });
5891
5922
  export type ChatHistoryMessageFieldFragment = Pick<ChatHistoryMessage, 'id' | 'role' | 'content' | 'toolUse' | 'toolResult' | 'seq' | 'eventId' | 'timestamp'>;
5892
- export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
5923
+ export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'lastBackend' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
5893
5924
  export type WorkspaceReadinessFieldFragment = Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
5894
5925
  export type StartChatSessionMutationVariables = Exact<{
5895
5926
  input?: InputMaybe<StartChatSessionInput>;
@@ -5901,7 +5932,7 @@ export type SendChatMessageMutationVariables = Exact<{
5901
5932
  input: SendChatMessageInput;
5902
5933
  }>;
5903
5934
  export type SendChatMessageMutation = {
5904
- sendChatMessage: Array<(Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
5935
+ sendChatMessage: Array<(Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
5905
5936
  toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
5906
5937
  toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
5907
5938
  })>;
@@ -5910,7 +5941,7 @@ export type ChatMessageStreamSubscriptionVariables = Exact<{
5910
5941
  input: SendChatMessageInput;
5911
5942
  }>;
5912
5943
  export type ChatMessageStreamSubscription = {
5913
- chatMessageStream: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
5944
+ chatMessageStream: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
5914
5945
  toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
5915
5946
  toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
5916
5947
  });
@@ -5919,7 +5950,7 @@ export type ResumeChatSessionSubscriptionVariables = Exact<{
5919
5950
  input: ResumeChatSessionInput;
5920
5951
  }>;
5921
5952
  export type ResumeChatSessionSubscription = {
5922
- resumeChatSession: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
5953
+ resumeChatSession: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
5923
5954
  toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
5924
5955
  toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
5925
5956
  });
@@ -5953,7 +5984,7 @@ export type ChatSessionsQueryVariables = Exact<{
5953
5984
  }>;
5954
5985
  export type ChatSessionsQuery = {
5955
5986
  chatSessions: (Pick<ChatSessionSummaryList, 'totalItems'> & {
5956
- items: Array<Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>>;
5987
+ items: Array<Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'lastBackend' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>>;
5957
5988
  });
5958
5989
  };
5959
5990
  export type ArchiveChatSessionMutationVariables = Exact<{
@@ -9314,8 +9345,9 @@ export type AddOptionGroupToProductMutation = {
9314
9345
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9315
9346
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9316
9347
  })>;
9317
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9348
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9318
9349
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9350
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9319
9351
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9320
9352
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9321
9353
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9352,8 +9384,9 @@ export type RemoveOptionGroupFromProductMutation = {
9352
9384
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9353
9385
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9354
9386
  })>;
9355
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9387
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9356
9388
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9389
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9357
9390
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9358
9391
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9359
9392
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9371,8 +9404,9 @@ export type RemoveOptionGroupFromProductMutation = {
9371
9404
  });
9372
9405
  };
9373
9406
  export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
9374
- export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9407
+ export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9375
9408
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9409
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9376
9410
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9377
9411
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9378
9412
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9392,8 +9426,9 @@ export type AdminProductVariantQueryVariables = Exact<{
9392
9426
  id: Scalars['ID']['input'];
9393
9427
  }>;
9394
9428
  export type AdminProductVariantQuery = {
9395
- productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9429
+ productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9396
9430
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9431
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9397
9432
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9398
9433
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9399
9434
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9413,8 +9448,9 @@ export type AdminProductVariantsQueryVariables = Exact<{
9413
9448
  productId: Scalars['ID']['input'];
9414
9449
  }>;
9415
9450
  export type AdminProductVariantsQuery = {
9416
- productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9451
+ productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9417
9452
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9453
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9418
9454
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9419
9455
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9420
9456
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9434,8 +9470,9 @@ export type CreateProductVariantsMutationVariables = Exact<{
9434
9470
  input: Array<CreateProductVariantInput> | CreateProductVariantInput;
9435
9471
  }>;
9436
9472
  export type CreateProductVariantsMutation = {
9437
- createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9473
+ createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9438
9474
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9475
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9439
9476
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9440
9477
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9441
9478
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9455,8 +9492,9 @@ export type UpdateProductVariantsMutationVariables = Exact<{
9455
9492
  input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
9456
9493
  }>;
9457
9494
  export type UpdateProductVariantsMutation = {
9458
- updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9495
+ updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9459
9496
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9497
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9460
9498
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9461
9499
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9462
9500
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9507,8 +9545,9 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
9507
9545
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9508
9546
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9509
9547
  })>;
9510
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9548
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9511
9549
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9550
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9512
9551
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9513
9552
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9514
9553
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9544,8 +9583,9 @@ export type AdminProductQuery = {
9544
9583
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9545
9584
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9546
9585
  })>;
9547
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9586
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9548
9587
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9588
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9549
9589
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9550
9590
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9551
9591
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9583,8 +9623,9 @@ export type AdminProductsQuery = {
9583
9623
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9584
9624
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9585
9625
  })>;
9586
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9626
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9587
9627
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9628
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9588
9629
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9589
9630
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9590
9631
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9622,8 +9663,9 @@ export type CreateProductMutation = {
9622
9663
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9623
9664
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9624
9665
  })>;
9625
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9666
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9626
9667
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9668
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9627
9669
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9628
9670
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9629
9671
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9660,8 +9702,9 @@ export type UpdateProductMutation = {
9660
9702
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9661
9703
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9662
9704
  })>;
9663
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9705
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9664
9706
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9707
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9665
9708
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9666
9709
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9667
9710
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9704,8 +9747,9 @@ export type AssignProductsToChannelMutation = {
9704
9747
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9705
9748
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9706
9749
  })>;
9707
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9750
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9708
9751
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9752
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9709
9753
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9710
9754
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9711
9755
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9742,8 +9786,9 @@ export type RemoveProductsFromChannelMutation = {
9742
9786
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9743
9787
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9744
9788
  })>;
9745
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9789
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9746
9790
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9791
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9747
9792
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9748
9793
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9749
9794
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9822,8 +9867,9 @@ export type ProductAddOptionGroupMutation = {
9822
9867
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9823
9868
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9824
9869
  })>;
9825
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9870
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9826
9871
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9872
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9827
9873
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9828
9874
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9829
9875
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -9860,8 +9906,9 @@ export type ProductRemoveOptionGroupMutation = {
9860
9906
  options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
9861
9907
  translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
9862
9908
  })>;
9863
- variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
9909
+ variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
9864
9910
  prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
9911
+ taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
9865
9912
  featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
9866
9913
  tags: Array<Pick<Tag, 'id' | 'value'>>;
9867
9914
  focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
@@ -10428,7 +10475,7 @@ export type LowStockVariantsQueryVariables = Exact<{
10428
10475
  export type LowStockVariantsQuery = {
10429
10476
  lowStockVariants: Array<Pick<LowStockVariant, 'variantId' | 'name' | 'sku' | 'available' | 'threshold'>>;
10430
10477
  };
10431
- export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10478
+ export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10432
10479
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10433
10480
  });
10434
10481
  export type StockMovementFieldFragment = Pick<StockMovement, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'quantity' | 'variantId' | 'stockLocationId' | 'orderLineId' | 'note'>;
@@ -10436,7 +10483,7 @@ export type StockLocationQueryVariables = Exact<{
10436
10483
  id: Scalars['ID']['input'];
10437
10484
  }>;
10438
10485
  export type StockLocationQuery = {
10439
- stockLocation?: Maybe<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10486
+ stockLocation?: Maybe<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10440
10487
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10441
10488
  })>;
10442
10489
  };
@@ -10445,7 +10492,7 @@ export type StockLocationsQueryVariables = Exact<{
10445
10492
  }>;
10446
10493
  export type StockLocationsQuery = {
10447
10494
  stockLocations: (Pick<StockLocationList, 'totalItems'> & {
10448
- items: Array<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10495
+ items: Array<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10449
10496
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10450
10497
  })>;
10451
10498
  });
@@ -10454,7 +10501,7 @@ export type DefaultStockLocationQueryVariables = Exact<{
10454
10501
  [key: string]: never;
10455
10502
  }>;
10456
10503
  export type DefaultStockLocationQuery = {
10457
- defaultStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10504
+ defaultStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10458
10505
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10459
10506
  });
10460
10507
  };
@@ -10474,7 +10521,7 @@ export type CreateStockLocationMutationVariables = Exact<{
10474
10521
  input: CreateStockLocationInput;
10475
10522
  }>;
10476
10523
  export type CreateStockLocationMutation = {
10477
- createStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10524
+ createStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10478
10525
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10479
10526
  });
10480
10527
  };
@@ -10482,7 +10529,7 @@ export type UpdateStockLocationMutationVariables = Exact<{
10482
10529
  input: UpdateStockLocationInput;
10483
10530
  }>;
10484
10531
  export type UpdateStockLocationMutation = {
10485
- updateStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10532
+ updateStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10486
10533
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10487
10534
  });
10488
10535
  };
@@ -10496,7 +10543,7 @@ export type AssignStockLocationToChannelMutationVariables = Exact<{
10496
10543
  input: AssignStockLocationToChannelInput;
10497
10544
  }>;
10498
10545
  export type AssignStockLocationToChannelMutation = {
10499
- assignStockLocationToChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10546
+ assignStockLocationToChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10500
10547
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10501
10548
  });
10502
10549
  };
@@ -10504,7 +10551,7 @@ export type RemoveStockLocationFromChannelMutationVariables = Exact<{
10504
10551
  input: RemoveStockLocationFromChannelInput;
10505
10552
  }>;
10506
10553
  export type RemoveStockLocationFromChannelMutation = {
10507
- removeStockLocationFromChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
10554
+ removeStockLocationFromChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
10508
10555
  address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
10509
10556
  });
10510
10557
  };
@@ -10810,7 +10857,9 @@ export type AddSubscriptionCreditMutationVariables = Exact<{
10810
10857
  export type AddSubscriptionCreditMutation = {
10811
10858
  addSubscriptionCredit: Pick<SubscriptionCreditBalance, 'id' | 'amountCents' | 'appliedCents' | 'reason' | 'sourceOrderId'>;
10812
10859
  };
10813
- export type TaxCategoryFieldFragment = Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'>;
10860
+ export type TaxCategoryFieldFragment = (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10861
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10862
+ });
10814
10863
  export type TaxRateFieldFragment = (Pick<TaxRate, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'value' | 'enabled' | 'zoneId' | 'categoryId'> & {
10815
10864
  zone: Pick<Zone, 'id' | 'name'>;
10816
10865
  category: Pick<TaxCategory, 'id' | 'name'>;
@@ -10819,14 +10868,18 @@ export type TaxCategoryQueryVariables = Exact<{
10819
10868
  id: Scalars['ID']['input'];
10820
10869
  }>;
10821
10870
  export type TaxCategoryQuery = {
10822
- taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'>>;
10871
+ taxCategory?: Maybe<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10872
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10873
+ })>;
10823
10874
  };
10824
10875
  export type TaxCategoriesQueryVariables = Exact<{
10825
10876
  options?: InputMaybe<ListQueryOptions>;
10826
10877
  }>;
10827
10878
  export type TaxCategoriesQuery = {
10828
10879
  taxCategories: (Pick<TaxCategoryList, 'totalItems'> & {
10829
- items: Array<Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'>>;
10880
+ items: Array<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10881
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10882
+ })>;
10830
10883
  });
10831
10884
  };
10832
10885
  export type TaxRateQueryVariables = Exact<{
@@ -10853,13 +10906,25 @@ export type CreateTaxCategoryMutationVariables = Exact<{
10853
10906
  input: CreateTaxCategoryInput;
10854
10907
  }>;
10855
10908
  export type CreateTaxCategoryMutation = {
10856
- createTaxCategory: Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'>;
10909
+ createTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10910
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10911
+ });
10857
10912
  };
10858
10913
  export type UpdateTaxCategoryMutationVariables = Exact<{
10859
10914
  input: UpdateTaxCategoryInput;
10860
10915
  }>;
10861
10916
  export type UpdateTaxCategoryMutation = {
10862
- updateTaxCategory: Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'>;
10917
+ updateTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10918
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10919
+ });
10920
+ };
10921
+ export type SetDefaultTaxCategoryMutationVariables = Exact<{
10922
+ id: Scalars['ID']['input'];
10923
+ }>;
10924
+ export type SetDefaultTaxCategoryMutation = {
10925
+ setDefaultTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
10926
+ externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
10927
+ });
10863
10928
  };
10864
10929
  export type DeleteTaxCategoryMutationVariables = Exact<{
10865
10930
  id: Scalars['ID']['input'];
@@ -10897,6 +10962,12 @@ export type AvailableTaxProvidersQueryVariables = Exact<{
10897
10962
  export type AvailableTaxProvidersQuery = {
10898
10963
  availableTaxProviders: Array<Pick<TaxProviderOption, 'code' | 'name'>>;
10899
10964
  };
10965
+ export type TaxProviderTaxCodesQueryVariables = Exact<{
10966
+ providerCode: Scalars['String']['input'];
10967
+ }>;
10968
+ export type TaxProviderTaxCodesQuery = {
10969
+ taxProviderTaxCodes: Array<Pick<TaxProviderTaxCode, 'code' | 'name' | 'description'>>;
10970
+ };
10900
10971
  export type BeginTransactionMutationVariables = Exact<{
10901
10972
  [key: string]: never;
10902
10973
  }>;
@@ -662,11 +662,13 @@ export declare class TaxCategory {
662
662
  taxRates(variables?: Types.TaxRatesQueryVariables): QueryObservable<Types.TaxRatesQuery>;
663
663
  createTaxCategory(variables: Types.CreateTaxCategoryMutationVariables): QueryObservable<Types.CreateTaxCategoryMutation>;
664
664
  updateTaxCategory(variables: Types.UpdateTaxCategoryMutationVariables): QueryObservable<Types.UpdateTaxCategoryMutation>;
665
+ setDefaultTaxCategory(variables: Types.SetDefaultTaxCategoryMutationVariables): QueryObservable<Types.SetDefaultTaxCategoryMutation>;
665
666
  deleteTaxCategory(variables: Types.DeleteTaxCategoryMutationVariables): QueryObservable<Types.DeleteTaxCategoryMutation>;
666
667
  createTaxRate(variables: Types.CreateTaxRateMutationVariables): QueryObservable<Types.CreateTaxRateMutation>;
667
668
  updateTaxRate(variables: Types.UpdateTaxRateMutationVariables): QueryObservable<Types.UpdateTaxRateMutation>;
668
669
  deleteTaxRate(variables: Types.DeleteTaxRateMutationVariables): QueryObservable<Types.DeleteTaxRateMutation>;
669
670
  availableTaxProviders(): QueryObservable<Types.AvailableTaxProvidersQuery>;
671
+ taxProviderTaxCodes(variables: Types.TaxProviderTaxCodesQueryVariables): QueryObservable<Types.TaxProviderTaxCodesQuery>;
670
672
  }
671
673
  export declare class TransactionCategory {
672
674
  private readonly client;
@@ -1673,6 +1673,9 @@ class TaxCategory {
1673
1673
  updateTaxCategory(variables) {
1674
1674
  return this.client.mutate(documents_generated_1.adminUpdateTaxCategoryDocument, variables);
1675
1675
  }
1676
+ setDefaultTaxCategory(variables) {
1677
+ return this.client.mutate(documents_generated_1.adminSetDefaultTaxCategoryDocument, variables);
1678
+ }
1676
1679
  deleteTaxCategory(variables) {
1677
1680
  return this.client.mutate(documents_generated_1.adminDeleteTaxCategoryDocument, variables);
1678
1681
  }
@@ -1688,6 +1691,9 @@ class TaxCategory {
1688
1691
  availableTaxProviders() {
1689
1692
  return this.client.query(documents_generated_1.adminAvailableTaxProvidersDocument);
1690
1693
  }
1694
+ taxProviderTaxCodes(variables) {
1695
+ return this.client.query(documents_generated_1.adminTaxProviderTaxCodesDocument, variables);
1696
+ }
1691
1697
  }
1692
1698
  exports.TaxCategory = TaxCategory;
1693
1699
  class TransactionCategory {