@forgecart/sdk 1.202608160103.0 → 1.202608161726.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.
@@ -6696,7 +6696,7 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
6696
6696
  input: UpdateChannelSettingsInput;
6697
6697
  }>;
6698
6698
  export type UpdateChannelSettingsMutation = {
6699
- updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6699
+ updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6700
6700
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
6701
6701
  });
6702
6702
  };
@@ -6706,7 +6706,7 @@ export type ProvisionChannelMutationVariables = Exact<{
6706
6706
  export type ProvisionChannelMutation = {
6707
6707
  provisionChannel: {
6708
6708
  channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
6709
- channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6709
+ channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6710
6710
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
6711
6711
  });
6712
6712
  role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
@@ -6718,14 +6718,14 @@ export type AdminExchangeRatesQueryVariables = Exact<{
6718
6718
  export type AdminExchangeRatesQuery = {
6719
6719
  exchangeRates: Array<Pick<ExchangeRate, 'id' | 'baseCurrencyCode' | 'targetCurrencyCode' | 'rate' | 'rateUpdatedAt'>>;
6720
6720
  };
6721
- export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6721
+ export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6722
6722
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
6723
6723
  });
6724
6724
  export type ChannelSettingsQueryVariables = Exact<{
6725
6725
  [key: string]: never;
6726
6726
  }>;
6727
6727
  export type ChannelSettingsQuery = {
6728
- channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6728
+ channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6729
6729
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
6730
6730
  });
6731
6731
  };
@@ -6733,7 +6733,7 @@ export type ChannelUpdateSettingsMutationVariables = Exact<{
6733
6733
  input: UpdateChannelSettingsInput;
6734
6734
  }>;
6735
6735
  export type ChannelUpdateSettingsMutation = {
6736
- updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6736
+ updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
6737
6737
  companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
6738
6738
  });
6739
6739
  };
@@ -7913,7 +7913,9 @@ export type OrderAddressFieldFragment = (Pick<OrderAddress, 'company' | 'streetL
7913
7913
  export type OrderLineFieldFragment = (Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
7914
7914
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
7915
7915
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
7916
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
7916
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
7917
+ product: Pick<Product, 'isDigital'>;
7918
+ });
7917
7919
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
7918
7920
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
7919
7921
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -7933,7 +7935,9 @@ export type OrderFieldFragment = (Pick<Order, 'id' | 'createdAt' | 'updatedAt' |
7933
7935
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
7934
7936
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
7935
7937
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
7936
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
7938
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
7939
+ product: Pick<Product, 'isDigital'>;
7940
+ });
7937
7941
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
7938
7942
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
7939
7943
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -7997,7 +8001,9 @@ export type OrderQuery = {
7997
8001
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
7998
8002
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
7999
8003
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8000
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8004
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8005
+ product: Pick<Product, 'isDigital'>;
8006
+ });
8001
8007
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8002
8008
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8003
8009
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8063,7 +8069,9 @@ export type OrdersQuery = {
8063
8069
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8064
8070
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8065
8071
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8066
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8072
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8073
+ product: Pick<Product, 'isDigital'>;
8074
+ });
8067
8075
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8068
8076
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8069
8077
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8129,7 +8137,9 @@ export type OrderByCodeQuery = {
8129
8137
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8130
8138
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8131
8139
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8132
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8140
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8141
+ product: Pick<Product, 'isDigital'>;
8142
+ });
8133
8143
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8134
8144
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8135
8145
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8198,7 +8208,9 @@ export type TransitionOrderToStateMutation = {
8198
8208
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8199
8209
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8200
8210
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8201
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8211
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8212
+ product: Pick<Product, 'isDigital'>;
8213
+ });
8202
8214
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8203
8215
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8204
8216
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8305,7 +8317,9 @@ export type CreateDraftOrderMutation = {
8305
8317
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8306
8318
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8307
8319
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8308
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8320
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8321
+ product: Pick<Product, 'isDigital'>;
8322
+ });
8309
8323
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8310
8324
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8311
8325
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8376,7 +8390,9 @@ export type CompleteDraftMutation = {
8376
8390
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8377
8391
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8378
8392
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8379
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8393
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8394
+ product: Pick<Product, 'isDigital'>;
8395
+ });
8380
8396
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8381
8397
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8382
8398
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8442,7 +8458,9 @@ export type AddItemsToOrderMutation = {
8442
8458
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8443
8459
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8444
8460
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8445
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8461
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8462
+ product: Pick<Product, 'isDigital'>;
8463
+ });
8446
8464
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8447
8465
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8448
8466
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8509,7 +8527,9 @@ export type PinOrderLineStockLocationMutation = {
8509
8527
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8510
8528
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8511
8529
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8512
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8530
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8531
+ product: Pick<Product, 'isDigital'>;
8532
+ });
8513
8533
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8514
8534
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8515
8535
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8575,7 +8595,9 @@ export type AdjustOrderLinesMutation = {
8575
8595
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8576
8596
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8577
8597
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8578
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8598
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8599
+ product: Pick<Product, 'isDigital'>;
8600
+ });
8579
8601
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8580
8602
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8581
8603
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8643,7 +8665,9 @@ export type RemoveItemsFromOrderMutation = {
8643
8665
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8644
8666
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8645
8667
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8646
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8668
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8669
+ product: Pick<Product, 'isDigital'>;
8670
+ });
8647
8671
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8648
8672
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8649
8673
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8710,7 +8734,9 @@ export type SetCustomerForOrderMutation = {
8710
8734
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8711
8735
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8712
8736
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8713
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8737
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8738
+ product: Pick<Product, 'isDigital'>;
8739
+ });
8714
8740
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8715
8741
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8716
8742
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8775,7 +8801,9 @@ export type SetCustomerForDraftOrderMutation = {
8775
8801
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8776
8802
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8777
8803
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8778
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8804
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8805
+ product: Pick<Product, 'isDigital'>;
8806
+ });
8779
8807
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8780
8808
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8781
8809
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8840,7 +8868,9 @@ export type SetShippingAddressMutation = {
8840
8868
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8841
8869
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8842
8870
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8843
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8871
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8872
+ product: Pick<Product, 'isDigital'>;
8873
+ });
8844
8874
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8845
8875
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8846
8876
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8905,7 +8935,9 @@ export type CorrectShippingAddressMutation = {
8905
8935
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8906
8936
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8907
8937
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8908
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
8938
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
8939
+ product: Pick<Product, 'isDigital'>;
8940
+ });
8909
8941
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8910
8942
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8911
8943
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -8970,7 +9002,9 @@ export type UnsetShippingAddressMutation = {
8970
9002
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
8971
9003
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8972
9004
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
8973
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9005
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9006
+ product: Pick<Product, 'isDigital'>;
9007
+ });
8974
9008
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
8975
9009
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
8976
9010
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9035,7 +9069,9 @@ export type SetBillingAddressMutation = {
9035
9069
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9036
9070
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9037
9071
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9038
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9072
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9073
+ product: Pick<Product, 'isDigital'>;
9074
+ });
9039
9075
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9040
9076
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9041
9077
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9100,7 +9136,9 @@ export type CorrectBillingAddressMutation = {
9100
9136
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9101
9137
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9102
9138
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9103
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9139
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9140
+ product: Pick<Product, 'isDigital'>;
9141
+ });
9104
9142
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9105
9143
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9106
9144
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9165,7 +9203,9 @@ export type UnsetBillingAddressMutation = {
9165
9203
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9166
9204
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9167
9205
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9168
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9206
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9207
+ product: Pick<Product, 'isDigital'>;
9208
+ });
9169
9209
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9170
9210
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9171
9211
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9230,7 +9270,9 @@ export type ApplyCouponCodeMutation = {
9230
9270
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9231
9271
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9232
9272
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9233
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9273
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9274
+ product: Pick<Product, 'isDigital'>;
9275
+ });
9234
9276
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9235
9277
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9236
9278
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9295,7 +9337,9 @@ export type RemoveCouponCodeMutation = {
9295
9337
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9296
9338
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9297
9339
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9298
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9340
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9341
+ product: Pick<Product, 'isDigital'>;
9342
+ });
9299
9343
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9300
9344
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9301
9345
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9360,7 +9404,9 @@ export type OrderDetailQuery = {
9360
9404
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9361
9405
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9362
9406
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9363
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9407
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9408
+ product: Pick<Product, 'isDigital'>;
9409
+ });
9364
9410
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9365
9411
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9366
9412
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9425,7 +9471,9 @@ export type OrderApplyCodeCouponMutation = {
9425
9471
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9426
9472
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9427
9473
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9428
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9474
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9475
+ product: Pick<Product, 'isDigital'>;
9476
+ });
9429
9477
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9430
9478
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9431
9479
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9490,7 +9538,9 @@ export type OrderRemoveCouponMutation = {
9490
9538
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9491
9539
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9492
9540
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9493
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9541
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9542
+ product: Pick<Product, 'isDigital'>;
9543
+ });
9494
9544
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9495
9545
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9496
9546
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9555,7 +9605,9 @@ export type OrderCreateDraftMutation = {
9555
9605
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9556
9606
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9557
9607
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9558
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9608
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9609
+ product: Pick<Product, 'isDigital'>;
9610
+ });
9559
9611
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9560
9612
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9561
9613
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9626,7 +9678,9 @@ export type OrderCompleteDraftMutation = {
9626
9678
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9627
9679
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9628
9680
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9629
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9681
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9682
+ product: Pick<Product, 'isDigital'>;
9683
+ });
9630
9684
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9631
9685
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9632
9686
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9691,7 +9745,9 @@ export type OrderSetCustomerDraftMutation = {
9691
9745
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9692
9746
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9693
9747
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9694
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9748
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9749
+ product: Pick<Product, 'isDigital'>;
9750
+ });
9695
9751
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9696
9752
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9697
9753
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9789,7 +9845,9 @@ export type RevertOrderModificationMutation = {
9789
9845
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9790
9846
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9791
9847
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9792
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9848
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9849
+ product: Pick<Product, 'isDigital'>;
9850
+ });
9793
9851
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9794
9852
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9795
9853
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9855,7 +9913,9 @@ export type ModifyOrderMutation = {
9855
9913
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9856
9914
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9857
9915
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9858
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9916
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9917
+ product: Pick<Product, 'isDigital'>;
9918
+ });
9859
9919
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9860
9920
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9861
9921
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -9935,7 +9995,9 @@ export type CancelOrderMutation = {
9935
9995
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
9936
9996
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9937
9997
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
9938
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
9998
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
9999
+ product: Pick<Product, 'isDigital'>;
10000
+ });
9939
10001
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
9940
10002
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
9941
10003
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -10103,7 +10165,9 @@ export type CompleteAdditionalPaymentMutation = {
10103
10165
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
10104
10166
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
10105
10167
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
10106
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
10168
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
10169
+ product: Pick<Product, 'isDigital'>;
10170
+ });
10107
10171
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
10108
10172
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
10109
10173
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -11295,7 +11359,9 @@ export type SelectShippingRateMutation = {
11295
11359
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
11296
11360
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11297
11361
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
11298
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
11362
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
11363
+ product: Pick<Product, 'isDigital'>;
11364
+ });
11299
11365
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
11300
11366
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11301
11367
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -11360,7 +11426,9 @@ export type SetManualShippingRateMutation = {
11360
11426
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
11361
11427
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11362
11428
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
11363
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
11429
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
11430
+ product: Pick<Product, 'isDigital'>;
11431
+ });
11364
11432
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
11365
11433
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11366
11434
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -11581,7 +11649,9 @@ export type RechargeShippingCostDeltaMutation = {
11581
11649
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
11582
11650
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11583
11651
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
11584
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
11652
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
11653
+ product: Pick<Product, 'isDigital'>;
11654
+ });
11585
11655
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
11586
11656
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11587
11657
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
@@ -11661,7 +11731,9 @@ export type WithdrawShippingRechargeMutation = {
11661
11731
  lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
11662
11732
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11663
11733
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
11664
- productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
11734
+ productVariant: (Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'> & {
11735
+ product: Pick<Product, 'isDigital'>;
11736
+ });
11665
11737
  shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
11666
11738
  adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
11667
11739
  taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;