@flowio/types 10.10.0 → 11.0.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.
@@ -1222,7 +1222,7 @@ declare namespace io.flow.tax.internal.v0.unions {
1222
1222
  type TaxAmount = io.flow.tax.internal.v0.models.CalculatedTaxAmount | io.flow.tax.internal.v0.models.NoCalculatedTaxAmount;
1223
1223
  }
1224
1224
  declare namespace io.flow.checkout.protocol.v0.enums {
1225
- type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1225
+ type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1226
1226
  type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
1227
1227
  type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
1228
1228
  type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
@@ -1232,7 +1232,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1232
1232
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
1233
1233
  type CheckoutDeleteLineErrorCode = 'line_not_found';
1234
1234
  type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
1235
- type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1235
+ type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1236
1236
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1237
1237
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1238
1238
  type CheckoutGetErrorCode = 'checkout_not_found';
@@ -1258,8 +1258,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1258
1258
  type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
1259
1259
  type CheckoutSetLocaleErrorCode = 'locale_invalid';
1260
1260
  type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
1261
- type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1262
- type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported';
1261
+ type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1262
+ type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
1263
1263
  }
1264
1264
  declare namespace io.flow.checkout.protocol.v0.models {
1265
1265
  interface CheckoutAddGiftCardAndPromotionCodeError {
@@ -3907,10 +3907,6 @@ declare namespace io.flow.adyen.v0.models {
3907
3907
  readonly value: number;
3908
3908
  readonly currency: string;
3909
3909
  }
3910
- interface Applepay {
3911
- readonly type: 'applepay';
3912
- readonly applePayToken: string;
3913
- }
3914
3910
  interface Authentication {
3915
3911
  readonly 'threeds2.fingerprintToken'?: string;
3916
3912
  readonly 'threeds2.challengeToken'?: string;
@@ -4091,7 +4087,7 @@ declare namespace io.flow.adyen.v0.models {
4091
4087
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4092
4088
  readonly origin?: string;
4093
4089
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4094
- readonly returnUrl?: string;
4090
+ readonly returnURL?: string;
4095
4091
  }
4096
4092
  interface PaymentResponse {
4097
4093
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4164,7 +4160,7 @@ declare namespace io.flow.adyen.v0.models {
4164
4160
  }
4165
4161
  declare namespace io.flow.adyen.v0.unions {
4166
4162
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4167
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4163
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4168
4164
  }
4169
4165
  declare namespace io.flow.order.management.v0.enums {
4170
4166
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -7503,6 +7499,7 @@ declare namespace io.flow.crypto.v0.models {
7503
7499
  readonly recipient: string;
7504
7500
  readonly refunded: boolean;
7505
7501
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
7502
+ readonly time_window: number;
7506
7503
  }
7507
7504
  interface PaymentRequest {
7508
7505
  readonly amount: number;
@@ -9698,11 +9695,6 @@ declare namespace io.flow.harmonization.v0.models {
9698
9695
  readonly company_name_match_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
9699
9696
  readonly company_name_match_result_reason?: string;
9700
9697
  }
9701
- interface HarmonizedCategory {
9702
- readonly id: string;
9703
- readonly name: string;
9704
- readonly parent?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
9705
- }
9706
9698
  interface HarmonizedCategoryReference {
9707
9699
  readonly id: string;
9708
9700
  }
@@ -13094,7 +13086,7 @@ declare namespace io.flow.internal.v0.enums {
13094
13086
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
13095
13087
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13096
13088
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13097
- type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13089
+ type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13098
13090
  type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
13099
13091
  type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
13100
13092
  type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
@@ -13106,7 +13098,7 @@ declare namespace io.flow.internal.v0.enums {
13106
13098
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
13107
13099
  type CheckoutDeleteLineErrorCode = 'line_not_found';
13108
13100
  type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
13109
- type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13101
+ type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13110
13102
  type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
13111
13103
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
13112
13104
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
@@ -13137,9 +13129,9 @@ declare namespace io.flow.internal.v0.enums {
13137
13129
  type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
13138
13130
  type CheckoutSetLocaleErrorCode = 'locale_invalid';
13139
13131
  type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
13140
- type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13132
+ type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13141
13133
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
13142
- type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported';
13134
+ type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
13143
13135
  type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
13144
13136
  type ComplianceType = 'weee';
13145
13137
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
package/dist/api.d.ts CHANGED
@@ -3358,11 +3358,6 @@ declare namespace io.flow.v0.models {
3358
3358
  readonly discriminator: 'harmonization_tariff_codes_export_type';
3359
3359
  readonly sort?: string;
3360
3360
  }
3361
- interface HarmonizedCategory {
3362
- readonly id: string;
3363
- readonly name: string;
3364
- readonly parent?: io.flow.v0.models.HarmonizedCategoryReference;
3365
- }
3366
3361
  interface HarmonizedCategoryReference {
3367
3362
  readonly id: string;
3368
3363
  }
@@ -8038,7 +8033,6 @@ export declare type HarmonizationHs10ExportType = io.flow.v0.models.Harmonizatio
8038
8033
  export declare type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
8039
8034
  export declare type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
8040
8035
  export declare type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
8041
- export declare type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
8042
8036
  export declare type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
8043
8037
  export declare type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
8044
8038
  export declare type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "10.10.0",
3
+ "version": "11.0.0",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "f91b9a07340e2ffbad7f05ca0304c778ea14016e"
28
+ "gitHead": "bfff3f30d5a9ef265a5a6c5af06b6cd7ff5ff0e7"
29
29
  }
@@ -1562,7 +1562,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1562
1562
  | 'promotion_code_not_supported'
1563
1563
  | 'promotion_code_invalid'
1564
1564
  | 'promotion_code_expired'
1565
- | 'promotion_code_does_not_meet_requirements';
1565
+ | 'promotion_code_does_not_meet_requirements'
1566
+ | 'promotion_code_order_item_not_available';
1566
1567
  type CheckoutAddGiftCardErrorCode =
1567
1568
  | 'gift_card_not_supported'
1568
1569
  | 'gift_card_insufficient_funds'
@@ -1595,7 +1596,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1595
1596
  | 'promotion_code_not_supported'
1596
1597
  | 'promotion_code_invalid'
1597
1598
  | 'promotion_code_expired'
1598
- | 'promotion_code_does_not_meet_requirements';
1599
+ | 'promotion_code_does_not_meet_requirements'
1600
+ | 'promotion_code_order_item_not_available';
1599
1601
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1600
1602
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1601
1603
  type CheckoutGetErrorCode = 'checkout_not_found';
@@ -1667,7 +1669,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1667
1669
  | 'promotion_code_not_supported'
1668
1670
  | 'promotion_code_invalid'
1669
1671
  | 'promotion_code_expired'
1670
- | 'promotion_code_does_not_meet_requirements';
1672
+ | 'promotion_code_does_not_meet_requirements'
1673
+ | 'promotion_code_order_item_not_available';
1671
1674
  type CheckoutSubmitErrorCode =
1672
1675
  | 'balance_not_zero'
1673
1676
  | 'address_city_invalid'
@@ -1721,7 +1724,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1721
1724
  | 'promotion_code_does_not_meet_requirements'
1722
1725
  | 'promotion_code_expired'
1723
1726
  | 'promotion_code_invalid'
1724
- | 'promotion_code_not_supported';
1727
+ | 'promotion_code_not_supported'
1728
+ | 'promotion_code_order_item_not_available';
1725
1729
  }
1726
1730
 
1727
1731
  declare namespace io.flow.checkout.protocol.v0.models {
@@ -5507,11 +5511,6 @@ declare namespace io.flow.adyen.v0.models {
5507
5511
  readonly currency: string;
5508
5512
  }
5509
5513
 
5510
- interface Applepay {
5511
- readonly type: 'applepay';
5512
- readonly applePayToken: string;
5513
- }
5514
-
5515
5514
  interface Authentication {
5516
5515
  readonly 'threeds2.fingerprintToken'?: string;
5517
5516
  readonly 'threeds2.challengeToken'?: string;
@@ -5716,7 +5715,7 @@ declare namespace io.flow.adyen.v0.models {
5716
5715
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5717
5716
  readonly origin?: string;
5718
5717
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5719
- readonly returnUrl?: string;
5718
+ readonly returnURL?: string;
5720
5719
  }
5721
5720
 
5722
5721
  interface PaymentResponse {
@@ -5803,9 +5802,7 @@ declare namespace io.flow.adyen.v0.unions {
5803
5802
  type BrowserInfo =
5804
5803
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5805
5804
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5806
- type PaymentMethodData =
5807
- | io.flow.adyen.v0.models.Scheme
5808
- | io.flow.adyen.v0.models.Applepay;
5805
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5809
5806
  }
5810
5807
 
5811
5808
  declare namespace io.flow.order.management.v0.enums {
@@ -9921,6 +9918,7 @@ declare namespace io.flow.crypto.v0.models {
9921
9918
  readonly recipient: string;
9922
9919
  readonly refunded: boolean;
9923
9920
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
9921
+ readonly time_window: number;
9924
9922
  }
9925
9923
 
9926
9924
  interface PaymentRequest {
@@ -12759,12 +12757,6 @@ declare namespace io.flow.harmonization.v0.models {
12759
12757
  readonly company_name_match_result_reason?: string;
12760
12758
  }
12761
12759
 
12762
- interface HarmonizedCategory {
12763
- readonly id: string;
12764
- readonly name: string;
12765
- readonly parent?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
12766
- }
12767
-
12768
12760
  interface HarmonizedCategoryReference {
12769
12761
  readonly id: string;
12770
12762
  }
@@ -17001,7 +16993,8 @@ declare namespace io.flow.internal.v0.enums {
17001
16993
  | 'promotion_code_not_supported'
17002
16994
  | 'promotion_code_invalid'
17003
16995
  | 'promotion_code_expired'
17004
- | 'promotion_code_does_not_meet_requirements';
16996
+ | 'promotion_code_does_not_meet_requirements'
16997
+ | 'promotion_code_order_item_not_available';
17005
16998
  type CheckoutAddGiftCardErrorCode =
17006
16999
  | 'gift_card_not_supported'
17007
17000
  | 'gift_card_insufficient_funds'
@@ -17036,7 +17029,8 @@ declare namespace io.flow.internal.v0.enums {
17036
17029
  | 'promotion_code_not_supported'
17037
17030
  | 'promotion_code_invalid'
17038
17031
  | 'promotion_code_expired'
17039
- | 'promotion_code_does_not_meet_requirements';
17032
+ | 'promotion_code_does_not_meet_requirements'
17033
+ | 'promotion_code_order_item_not_available';
17040
17034
  type CheckoutErrorCode =
17041
17035
  | 'generic_error'
17042
17036
  | 'order_identifier_invalid'
@@ -17127,7 +17121,8 @@ declare namespace io.flow.internal.v0.enums {
17127
17121
  | 'promotion_code_not_supported'
17128
17122
  | 'promotion_code_invalid'
17129
17123
  | 'promotion_code_expired'
17130
- | 'promotion_code_does_not_meet_requirements';
17124
+ | 'promotion_code_does_not_meet_requirements'
17125
+ | 'promotion_code_order_item_not_available';
17131
17126
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
17132
17127
  type CheckoutSubmitErrorCode =
17133
17128
  | 'balance_not_zero'
@@ -17182,7 +17177,8 @@ declare namespace io.flow.internal.v0.enums {
17182
17177
  | 'promotion_code_does_not_meet_requirements'
17183
17178
  | 'promotion_code_expired'
17184
17179
  | 'promotion_code_invalid'
17185
- | 'promotion_code_not_supported';
17180
+ | 'promotion_code_not_supported'
17181
+ | 'promotion_code_order_item_not_available';
17186
17182
  type CheckoutUrlType =
17187
17183
  | 'continue_shopping'
17188
17184
  | 'confirmation'
package/src/api.ts CHANGED
@@ -4451,12 +4451,6 @@ declare namespace io.flow.v0.models {
4451
4451
  readonly sort?: string;
4452
4452
  }
4453
4453
 
4454
- interface HarmonizedCategory {
4455
- readonly id: string;
4456
- readonly name: string;
4457
- readonly parent?: io.flow.v0.models.HarmonizedCategoryReference;
4458
- }
4459
-
4460
4454
  interface HarmonizedCategoryReference {
4461
4455
  readonly id: string;
4462
4456
  }
@@ -10102,7 +10096,6 @@ export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10Exp
10102
10096
  export type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
10103
10097
  export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
10104
10098
  export type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
10105
- export type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
10106
10099
  export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
10107
10100
  export type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
10108
10101
  export type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;