@flowio/types 11.24.129 → 11.24.130

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.
@@ -7223,9 +7223,9 @@ declare namespace io.flow.channel.internal.v0.models {
7223
7223
  readonly description: string;
7224
7224
  readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
7225
7225
  }
7226
- interface ChannelOrganizationDomain {
7226
+ interface ChannelOrganizationDomains {
7227
7227
  readonly internal: string;
7228
- readonly public: string;
7228
+ readonly external: string;
7229
7229
  }
7230
7230
  interface ChannelOrganizationInstallation {
7231
7231
  readonly organization: io.flow.channel.v0.models.ChannelOrganization;
@@ -7236,7 +7236,7 @@ declare namespace io.flow.channel.internal.v0.models {
7236
7236
  readonly metadata: io.flow.channel.internal.v0.models.ChannelOrganizationMetadata;
7237
7237
  }
7238
7238
  interface ChannelOrganizationMetadata {
7239
- readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
7239
+ readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
7240
7240
  readonly token: string;
7241
7241
  }
7242
7242
  interface ChannelOrganizationToken {
@@ -11104,6 +11104,22 @@ declare namespace io.flow.billing.v0.models {
11104
11104
  interface TransactionMetadataTaxDuty {
11105
11105
  readonly discriminator: 'transaction_tax_duty';
11106
11106
  readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
11107
+ readonly local_currency?: string;
11108
+ readonly actual?: io.flow.billing.v0.models.TransactionMetadataTaxDutyActual;
11109
+ readonly estimate?: io.flow.billing.v0.models.TransactionMetadataTaxDutyEstimate;
11110
+ readonly delta?: io.flow.billing.v0.models.TransactionMetadataTaxDutyDelta;
11111
+ }
11112
+ interface TransactionMetadataTaxDutyActual {
11113
+ readonly base?: number;
11114
+ readonly local?: number;
11115
+ }
11116
+ interface TransactionMetadataTaxDutyDelta {
11117
+ readonly base?: number;
11118
+ readonly local?: number;
11119
+ }
11120
+ interface TransactionMetadataTaxDutyEstimate {
11121
+ readonly base?: number;
11122
+ readonly local?: number;
11107
11123
  }
11108
11124
  interface TransactionMetadataTrueup {
11109
11125
  readonly discriminator: 'trueup';
@@ -11750,7 +11766,7 @@ declare namespace io.flow.internal.v0.enums {
11750
11766
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing' | 'order';
11751
11767
  type ChapterCheckStatus = 'apparel_like' | 'similar' | 'does_not_match';
11752
11768
  type ChargeEstimateSource = 'global-e' | 'shopify';
11753
- type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'emergency_situation' | 'remote_area_delivery' | 'customs_clearance_surcharge' | 'security_surcharge' | 'duties_fx_surcharge' | 'electronic_export_information_surcharge' | 'additional_handling' | 'large_package_surcharge' | 'peak_surcharge';
11769
+ type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'emergency_situation' | 'remote_area_delivery' | 'customs_clearance_surcharge' | 'security_surcharge' | 'duties_fx_surcharge' | 'electronic_export_information_surcharge' | 'additional_handling' | 'large_package_surcharge' | 'peak_surcharge' | 'fuel_surcharge' | 'delivery_area_surcharge';
11754
11770
  type ChargebackPaymentStatus = 'captured' | 'refunded';
11755
11771
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
11756
11772
  type CheckoutAssetType = 'stylesheet' | 'javascript';
@@ -11869,7 +11885,7 @@ declare namespace io.flow.internal.v0.enums {
11869
11885
  type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
11870
11886
  type OrganizationRestrictionRiskLevel = '5' | '15';
11871
11887
  type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
11872
- type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
11888
+ type OrganizationSource = 'smb' | 'enterprise';
11873
11889
  type OutputStyle = 'flow' | 'shopify_p1';
11874
11890
  type Owner = 'flow' | 'organization';
11875
11891
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -11904,7 +11920,7 @@ declare namespace io.flow.internal.v0.enums {
11904
11920
  type RestrictionAttributeResult = 'pending_classification' | 'pending_verification' | 'accepted' | 'restricted';
11905
11921
  type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
11906
11922
  type RestrictionOrganizationChannel = 'shopify' | 'enterprise' | 'shopify-sandbox' | 'enterprise-sandbox';
11907
- type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
11923
+ type RestrictionOrganizationSource = 'smb' | 'enterprise';
11908
11924
  type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
11909
11925
  type RestrictionRuleCommunityExemption = 'domestic_exemption' | 'intra_eu_exemption';
11910
11926
  type RestrictionRuleExceptionAction = 'allow' | 'deny';
@@ -12638,6 +12654,7 @@ declare namespace io.flow.internal.v0.models {
12638
12654
  interface AttributeRule {
12639
12655
  readonly restriction_attribute_rules: io.flow.internal.v0.models.RestrictionAttributeRule[];
12640
12656
  readonly default_result?: io.flow.internal.v0.enums.RestrictionAttributeResult;
12657
+ readonly require_msds?: boolean;
12641
12658
  }
12642
12659
  interface AuthenticationForm {
12643
12660
  readonly password: string;
@@ -13665,9 +13682,9 @@ declare namespace io.flow.internal.v0.models {
13665
13682
  readonly channel_id: string;
13666
13683
  readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
13667
13684
  }
13668
- interface ChannelOrganizationDomain {
13685
+ interface ChannelOrganizationDomains {
13669
13686
  readonly internal: string;
13670
- readonly public: string;
13687
+ readonly external: string;
13671
13688
  }
13672
13689
  interface ChannelOrganizationIdentifier {
13673
13690
  readonly id: string;
@@ -13697,7 +13714,7 @@ declare namespace io.flow.internal.v0.models {
13697
13714
  readonly metadata: io.flow.internal.v0.models.ChannelOrganizationMetadata;
13698
13715
  }
13699
13716
  interface ChannelOrganizationMetadata {
13700
- readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomain;
13717
+ readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomains;
13701
13718
  readonly token: string;
13702
13719
  }
13703
13720
  interface ChannelOrganizationPublicationOwner {
@@ -13747,6 +13764,21 @@ declare namespace io.flow.internal.v0.models {
13747
13764
  readonly effective_at: string;
13748
13765
  readonly timestamp?: string;
13749
13766
  }
13767
+ interface ChannelShop {
13768
+ readonly id: string;
13769
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
13770
+ readonly channel: io.flow.common.v0.models.ChannelReference;
13771
+ readonly external_id: string;
13772
+ readonly name: string;
13773
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
13774
+ }
13775
+ interface ChannelShopForm {
13776
+ readonly channel_id: string;
13777
+ readonly external_id: string;
13778
+ readonly name: string;
13779
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
13780
+ readonly tokens: io.flow.internal.v0.models.Tokens;
13781
+ }
13750
13782
  interface ChannelTransaction {
13751
13783
  readonly discriminator: 'channel_transaction';
13752
13784
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
@@ -20236,6 +20268,8 @@ declare namespace io.flow.internal.v0.models {
20236
20268
  readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue;
20237
20269
  readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown;
20238
20270
  readonly payment: io.flow.internal.v0.models.ReportingPayment;
20271
+ readonly tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
20272
+ readonly duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
20239
20273
  readonly fees: io.flow.internal.v0.models.ReportingFees;
20240
20274
  readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
20241
20275
  readonly payment_is: io.flow.internal.v0.models.PaymentIs;
@@ -21778,6 +21812,10 @@ declare namespace io.flow.internal.v0.models {
21778
21812
  readonly time: string;
21779
21813
  readonly timezone: string;
21780
21814
  }
21815
+ interface Tokens {
21816
+ readonly webhook_signature_verification: string;
21817
+ readonly api: string;
21818
+ }
21781
21819
  interface TrackingAssuranceAnalysis {
21782
21820
  readonly id: string;
21783
21821
  readonly job_id: string;
@@ -22656,7 +22694,7 @@ export declare type ChannelOrderSummary = io.flow.internal.v0.models.ChannelOrde
22656
22694
  export declare type ChannelOrderSummaryDeleted = io.flow.internal.v0.models.ChannelOrderSummaryDeleted;
22657
22695
  export declare type ChannelOrderSummaryFulfillmentDetails = io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
22658
22696
  export declare type ChannelOrderSummaryUpserted = io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
22659
- export declare type ChannelOrganizationDomain = io.flow.internal.v0.models.ChannelOrganizationDomain;
22697
+ export declare type ChannelOrganizationDomains = io.flow.internal.v0.models.ChannelOrganizationDomains;
22660
22698
  export declare type ChannelOrganizationIdentifier = io.flow.internal.v0.models.ChannelOrganizationIdentifier;
22661
22699
  export declare type ChannelOrganizationIdentifierDeleted = io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted;
22662
22700
  export declare type ChannelOrganizationIdentifierUpserted = io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted;
@@ -22676,6 +22714,8 @@ export declare type ChannelRateMetadata = io.flow.internal.v0.unions.ChannelRate
22676
22714
  export declare type ChannelRateMetadataIdentity = io.flow.internal.v0.models.ChannelRateMetadataIdentity;
22677
22715
  export declare type ChannelRateMetadataRate = io.flow.internal.v0.models.ChannelRateMetadataRate;
22678
22716
  export declare type ChannelService = io.flow.internal.v0.enums.ChannelService;
22717
+ export declare type ChannelShop = io.flow.internal.v0.models.ChannelShop;
22718
+ export declare type ChannelShopForm = io.flow.internal.v0.models.ChannelShopForm;
22679
22719
  export declare type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
22680
22720
  export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
22681
22721
  export declare type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
@@ -24096,6 +24136,7 @@ export declare type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.model
24096
24136
  export declare type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted;
24097
24137
  export declare type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted;
24098
24138
  export declare type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
24139
+ export declare type Tokens = io.flow.internal.v0.models.Tokens;
24099
24140
  export declare type Tracker = io.flow.internal.v0.unions.Tracker;
24100
24141
  export declare type TrackingAssuranceAnalysis = io.flow.internal.v0.models.TrackingAssuranceAnalysis;
24101
24142
  export declare type TrackingAssuranceAnalysisDeleted = io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted;
package/dist/api.d.ts CHANGED
@@ -2276,9 +2276,9 @@ declare namespace io.flow.channel.internal.v0.models {
2276
2276
  readonly description: string;
2277
2277
  readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
2278
2278
  }
2279
- interface ChannelOrganizationDomain {
2279
+ interface ChannelOrganizationDomains {
2280
2280
  readonly internal: string;
2281
- readonly public: string;
2281
+ readonly external: string;
2282
2282
  }
2283
2283
  interface ChannelOrganizationInstallation {
2284
2284
  readonly organization: io.flow.channel.v0.models.ChannelOrganization;
@@ -2289,7 +2289,7 @@ declare namespace io.flow.channel.internal.v0.models {
2289
2289
  readonly metadata: io.flow.channel.internal.v0.models.ChannelOrganizationMetadata;
2290
2290
  }
2291
2291
  interface ChannelOrganizationMetadata {
2292
- readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
2292
+ readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
2293
2293
  readonly token: string;
2294
2294
  }
2295
2295
  interface ChannelOrganizationToken {
@@ -3056,7 +3056,7 @@ declare namespace io.flow.v0.enums {
3056
3056
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
3057
3057
  type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
3058
3058
  type Environment = 'sandbox' | 'production';
3059
- type EventType = 'test_upserted' | 'generate_load' | 'sarvesh_item_upserted' | 'sarvesh_item_deleted' | 'hosein_item_upserted' | 'hosein_item_deleted' | 'niall_item_upserted' | 'niall_item_deleted' | 'rohan_item_upserted' | 'rohan_item_deleted' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_item_deleted' | 'anirban_item_upserted' | 'anirban_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
3059
+ type EventType = 'test_upserted' | 'generate_load' | 'sarvesh_item_upserted' | 'sarvesh_item_deleted' | 'hosein_item_upserted' | 'hosein_item_deleted' | 'niall_item_upserted' | 'niall_item_deleted' | 'rohan_item_upserted' | 'rohan_item_deleted' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_item_deleted' | 'anirban_item_upserted' | 'anirban_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
3060
3060
  type ExceptionType = 'open' | 'closed';
3061
3061
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
3062
3062
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -3198,7 +3198,9 @@ declare namespace io.flow.v0.enums {
3198
3198
  type TaxApplicability = 'none' | 'all';
3199
3199
  type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified';
3200
3200
  type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min';
3201
+ type TaxJurisdictionType = 'country' | 'province';
3201
3202
  type TaxReportType = 'consumer' | 'b2b';
3203
+ type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
3202
3204
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
3203
3205
  type TaxabilityType = 'tax_rule';
3204
3206
  type TaxabilityValue = 'exempt';
@@ -3892,6 +3894,7 @@ declare namespace io.flow.v0.models {
3892
3894
  readonly key: string;
3893
3895
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
3894
3896
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3897
+ readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
3895
3898
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3896
3899
  readonly attributes: Record<string, string>;
3897
3900
  readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
@@ -3923,6 +3926,7 @@ declare namespace io.flow.v0.models {
3923
3926
  readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
3924
3927
  readonly destination?: io.flow.v0.models.OrderAddress;
3925
3928
  readonly tax: io.flow.v0.models.Money;
3929
+ readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
3926
3930
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3927
3931
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3928
3932
  readonly attributes: Record<string, string>;
@@ -4867,6 +4871,7 @@ declare namespace io.flow.v0.models {
4867
4871
  }
4868
4872
  interface ConsumerInvoiceLineDiscount {
4869
4873
  readonly discriminator: 'discount';
4874
+ readonly line_id?: string;
4870
4875
  readonly price: io.flow.v0.models.Price;
4871
4876
  }
4872
4877
  interface ConsumerInvoiceLineDiscountForm {
@@ -4875,6 +4880,7 @@ declare namespace io.flow.v0.models {
4875
4880
  }
4876
4881
  interface ConsumerInvoiceLineItem {
4877
4882
  readonly discriminator: 'item';
4883
+ readonly line_id?: string;
4878
4884
  readonly item: io.flow.v0.models.ItemReference;
4879
4885
  readonly description: string;
4880
4886
  readonly quantity: number;
@@ -4894,6 +4900,7 @@ declare namespace io.flow.v0.models {
4894
4900
  }
4895
4901
  interface ConsumerInvoiceLineShipping {
4896
4902
  readonly discriminator: 'shipping';
4903
+ readonly line_id?: string;
4897
4904
  readonly price: io.flow.v0.models.Price;
4898
4905
  readonly discount?: io.flow.v0.models.Price;
4899
4906
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
@@ -4908,6 +4915,7 @@ declare namespace io.flow.v0.models {
4908
4915
  }
4909
4916
  interface ConsumerInvoiceLineTip {
4910
4917
  readonly discriminator: 'tip';
4918
+ readonly line_id?: string;
4911
4919
  readonly price: io.flow.v0.models.Price;
4912
4920
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
4913
4921
  }
@@ -6674,6 +6682,10 @@ declare namespace io.flow.v0.models {
6674
6682
  readonly date_from?: string;
6675
6683
  readonly date_to?: string;
6676
6684
  }
6685
+ interface InvoiceTaxLine {
6686
+ readonly line_id: string;
6687
+ readonly tax_breakdown: io.flow.v0.models.TaxBreakdown[];
6688
+ }
6677
6689
  interface IssuerReference {
6678
6690
  readonly id: string;
6679
6691
  }
@@ -6994,31 +7006,6 @@ declare namespace io.flow.v0.models {
6994
7006
  readonly weight: io.flow.v0.enums.UnitOfWeight;
6995
7007
  readonly length: io.flow.v0.enums.UnitOfLength;
6996
7008
  }
6997
- interface LabelUpserted {
6998
- readonly discriminator: 'label_upserted';
6999
- readonly event_id: string;
7000
- readonly timestamp: string;
7001
- readonly organization: string;
7002
- readonly label_id: string;
7003
- readonly carrier_tracking_number: string;
7004
- readonly commercial_invoice: string;
7005
- readonly flow_tracking_number: string;
7006
- readonly destination: io.flow.v0.models.ShippingAddress;
7007
- readonly origin: io.flow.v0.models.ShippingAddress;
7008
- readonly carrier: string;
7009
- readonly service: string;
7010
- readonly zpl?: string;
7011
- readonly pdf?: string;
7012
- readonly png?: string;
7013
- readonly order?: string;
7014
- readonly carrier_tracking_number_url?: string;
7015
- readonly flow_tracking_number_url?: string;
7016
- readonly center_key?: string;
7017
- readonly recipient?: io.flow.v0.enums.ShipmentRecipient;
7018
- readonly package?: io.flow.v0.models.ShippingLabelPackage;
7019
- readonly order_identifier?: string;
7020
- readonly fulfillment_key?: string;
7021
- }
7022
7009
  interface LabelUpsertedV2 {
7023
7010
  readonly discriminator: 'label_upserted_v2';
7024
7011
  readonly event_id: string;
@@ -7469,6 +7456,7 @@ declare namespace io.flow.v0.models {
7469
7456
  interface NeedsActionAttributes {
7470
7457
  readonly reason_code: string;
7471
7458
  readonly category_metafield_handles: string[];
7459
+ readonly require_msds?: boolean;
7472
7460
  }
7473
7461
  interface NiallItemDeleted {
7474
7462
  readonly discriminator: 'niall_item_deleted';
@@ -11086,6 +11074,13 @@ declare namespace io.flow.v0.models {
11086
11074
  readonly components: io.flow.v0.enums.LevyComponent[];
11087
11075
  readonly deminimis?: io.flow.v0.unions.Deminimis;
11088
11076
  }
11077
+ interface TaxBreakdown {
11078
+ readonly label: string;
11079
+ readonly calculated_tax: io.flow.v0.models.Money;
11080
+ readonly rate: number;
11081
+ readonly line_total: io.flow.v0.models.Money;
11082
+ readonly jurisdiction_type: io.flow.v0.enums.TaxJurisdictionType;
11083
+ }
11089
11084
  interface TaxDutyCalculatorValidationError {
11090
11085
  readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
11091
11086
  readonly messages: string[];
@@ -11567,6 +11562,22 @@ declare namespace io.flow.v0.models {
11567
11562
  interface TransactionMetadataTaxDuty {
11568
11563
  readonly discriminator: 'transaction_tax_duty';
11569
11564
  readonly reason_code: io.flow.v0.enums.TaxDutyTransactionReasonCode;
11565
+ readonly local_currency?: string;
11566
+ readonly actual?: io.flow.v0.models.TransactionMetadataTaxDutyActual;
11567
+ readonly estimate?: io.flow.v0.models.TransactionMetadataTaxDutyEstimate;
11568
+ readonly delta?: io.flow.v0.models.TransactionMetadataTaxDutyDelta;
11569
+ }
11570
+ interface TransactionMetadataTaxDutyActual {
11571
+ readonly base?: number;
11572
+ readonly local?: number;
11573
+ }
11574
+ interface TransactionMetadataTaxDutyDelta {
11575
+ readonly base?: number;
11576
+ readonly local?: number;
11577
+ }
11578
+ interface TransactionMetadataTaxDutyEstimate {
11579
+ readonly base?: number;
11580
+ readonly local?: number;
11570
11581
  }
11571
11582
  interface TransactionMetadataTrueup {
11572
11583
  readonly discriminator: 'trueup';
@@ -11903,7 +11914,7 @@ declare namespace io.flow.v0.unions {
11903
11914
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
11904
11915
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
11905
11916
  type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
11906
- type Event = io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.SarveshItemUpserted | io.flow.v0.models.SarveshItemDeleted | io.flow.v0.models.HoseinItemUpserted | io.flow.v0.models.HoseinItemDeleted | io.flow.v0.models.NiallItemUpserted | io.flow.v0.models.NiallItemDeleted | io.flow.v0.models.RohanItemUpserted | io.flow.v0.models.RohanItemDeleted | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | io.flow.v0.models.AnirbanItemUpserted | io.flow.v0.models.AnirbanItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
11917
+ type Event = io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.SarveshItemUpserted | io.flow.v0.models.SarveshItemDeleted | io.flow.v0.models.HoseinItemUpserted | io.flow.v0.models.HoseinItemDeleted | io.flow.v0.models.NiallItemUpserted | io.flow.v0.models.NiallItemDeleted | io.flow.v0.models.RohanItemUpserted | io.flow.v0.models.RohanItemDeleted | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | io.flow.v0.models.AnirbanItemUpserted | io.flow.v0.models.AnirbanItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
11907
11918
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary | io.flow.v0.models.ExternalCard;
11908
11919
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
11909
11920
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -12699,6 +12710,7 @@ export declare type InvitationForm = io.flow.v0.models.InvitationForm;
12699
12710
  export declare type InvitationVersion = io.flow.v0.models.InvitationVersion;
12700
12711
  export declare type InvoiceExport = io.flow.v0.models.InvoiceExport;
12701
12712
  export declare type InvoiceExportForm = io.flow.v0.models.InvoiceExportForm;
12713
+ export declare type InvoiceTaxLine = io.flow.v0.models.InvoiceTaxLine;
12702
12714
  export declare type IssuerReference = io.flow.v0.models.IssuerReference;
12703
12715
  export declare type IssuerSummary = io.flow.v0.models.IssuerSummary;
12704
12716
  export declare type IssuerV1 = io.flow.v0.models.IssuerV1;
@@ -12755,7 +12767,6 @@ export declare type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummar
12755
12767
  export declare type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate;
12756
12768
  export declare type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
12757
12769
  export declare type LabelUnits = io.flow.v0.models.LabelUnits;
12758
- export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
12759
12770
  export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
12760
12771
  export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
12761
12772
  export declare type LaneDirection = io.flow.v0.enums.LaneDirection;
@@ -13558,6 +13569,7 @@ export declare type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
13558
13569
  export declare type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
13559
13570
  export declare type Tax = io.flow.v0.models.Tax;
13560
13571
  export declare type TaxApplicability = io.flow.v0.enums.TaxApplicability;
13572
+ export declare type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
13561
13573
  export declare type TaxDutyCalculatorValidationError = io.flow.v0.models.TaxDutyCalculatorValidationError;
13562
13574
  export declare type TaxDutyCalculatorValidationErrorCode = io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
13563
13575
  export declare type TaxDutyQuote = io.flow.v0.models.TaxDutyQuote;
@@ -13571,11 +13583,13 @@ export declare type TaxDutyQuoteSimpleShipping = io.flow.v0.models.TaxDutyQuoteS
13571
13583
  export declare type TaxDutyQuoteSimpleShippingForm = io.flow.v0.models.TaxDutyQuoteSimpleShippingForm;
13572
13584
  export declare type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
13573
13585
  export declare type TaxDutyTransactionReasonCode = io.flow.v0.enums.TaxDutyTransactionReasonCode;
13586
+ export declare type TaxJurisdictionType = io.flow.v0.enums.TaxJurisdictionType;
13574
13587
  export declare type TaxRegistration = io.flow.v0.models.TaxRegistration;
13575
13588
  export declare type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
13576
13589
  export declare type TaxReport = io.flow.v0.models.TaxReport;
13577
13590
  export declare type TaxReportType = io.flow.v0.enums.TaxReportType;
13578
13591
  export declare type TaxSetting = io.flow.v0.unions.TaxSetting;
13592
+ export declare type TaxType = io.flow.v0.enums.TaxType;
13579
13593
  export declare type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
13580
13594
  export declare type TaxabilityType = io.flow.v0.enums.TaxabilityType;
13581
13595
  export declare type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
@@ -13656,6 +13670,9 @@ export declare type TransactionMetadataPaymentTransaction = io.flow.v0.models.Tr
13656
13670
  export declare type TransactionMetadataShippingLabel = io.flow.v0.models.TransactionMetadataShippingLabel;
13657
13671
  export declare type TransactionMetadataShippingLabelCarrier = io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
13658
13672
  export declare type TransactionMetadataTaxDuty = io.flow.v0.models.TransactionMetadataTaxDuty;
13673
+ export declare type TransactionMetadataTaxDutyActual = io.flow.v0.models.TransactionMetadataTaxDutyActual;
13674
+ export declare type TransactionMetadataTaxDutyDelta = io.flow.v0.models.TransactionMetadataTaxDutyDelta;
13675
+ export declare type TransactionMetadataTaxDutyEstimate = io.flow.v0.models.TransactionMetadataTaxDutyEstimate;
13659
13676
  export declare type TransactionMetadataTrueup = io.flow.v0.models.TransactionMetadataTrueup;
13660
13677
  export declare type TransactionMetadataTrueupBase = io.flow.v0.models.TransactionMetadataTrueupBase;
13661
13678
  export declare type TransactionMetadataTrueupBaseData = io.flow.v0.models.TransactionMetadataTrueupBaseData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.129",
3
+ "version": "11.24.130",
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": "942e116995931225d013428a9da8237ec64c06be"
28
+ "gitHead": "b4b0cd6a13ae636625754fd06a00ff8f0016498e"
29
29
  }
@@ -10119,9 +10119,9 @@ declare namespace io.flow.channel.internal.v0.models {
10119
10119
  readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
10120
10120
  }
10121
10121
 
10122
- interface ChannelOrganizationDomain {
10122
+ interface ChannelOrganizationDomains {
10123
10123
  readonly internal: string;
10124
- readonly public: string;
10124
+ readonly external: string;
10125
10125
  }
10126
10126
 
10127
10127
  interface ChannelOrganizationInstallation {
@@ -10135,7 +10135,7 @@ declare namespace io.flow.channel.internal.v0.models {
10135
10135
  }
10136
10136
 
10137
10137
  interface ChannelOrganizationMetadata {
10138
- readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
10138
+ readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
10139
10139
  readonly token: string;
10140
10140
  }
10141
10141
 
@@ -15157,6 +15157,25 @@ declare namespace io.flow.billing.v0.models {
15157
15157
  interface TransactionMetadataTaxDuty {
15158
15158
  readonly discriminator: 'transaction_tax_duty';
15159
15159
  readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
15160
+ readonly local_currency?: string;
15161
+ readonly actual?: io.flow.billing.v0.models.TransactionMetadataTaxDutyActual;
15162
+ readonly estimate?: io.flow.billing.v0.models.TransactionMetadataTaxDutyEstimate;
15163
+ readonly delta?: io.flow.billing.v0.models.TransactionMetadataTaxDutyDelta;
15164
+ }
15165
+
15166
+ interface TransactionMetadataTaxDutyActual {
15167
+ readonly base?: number;
15168
+ readonly local?: number;
15169
+ }
15170
+
15171
+ interface TransactionMetadataTaxDutyDelta {
15172
+ readonly base?: number;
15173
+ readonly local?: number;
15174
+ }
15175
+
15176
+ interface TransactionMetadataTaxDutyEstimate {
15177
+ readonly base?: number;
15178
+ readonly local?: number;
15160
15179
  }
15161
15180
 
15162
15181
  interface TransactionMetadataTrueup {
@@ -16353,7 +16372,9 @@ declare namespace io.flow.internal.v0.enums {
16353
16372
  | 'electronic_export_information_surcharge'
16354
16373
  | 'additional_handling'
16355
16374
  | 'large_package_surcharge'
16356
- | 'peak_surcharge';
16375
+ | 'peak_surcharge'
16376
+ | 'fuel_surcharge'
16377
+ | 'delivery_area_surcharge';
16357
16378
  type ChargebackPaymentStatus = 'captured' | 'refunded';
16358
16379
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
16359
16380
  type CheckoutAssetType = 'stylesheet' | 'javascript';
@@ -17042,7 +17063,7 @@ declare namespace io.flow.internal.v0.enums {
17042
17063
  | 'fully_reviewed'
17043
17064
  | 'rejected'
17044
17065
  | 'unscreened';
17045
- type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
17066
+ type OrganizationSource = 'smb' | 'enterprise';
17046
17067
  type OutputStyle = 'flow' | 'shopify_p1';
17047
17068
  type Owner = 'flow' | 'organization';
17048
17069
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -17146,7 +17167,7 @@ declare namespace io.flow.internal.v0.enums {
17146
17167
  | 'enterprise'
17147
17168
  | 'shopify-sandbox'
17148
17169
  | 'enterprise-sandbox';
17149
- type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
17170
+ type RestrictionOrganizationSource = 'smb' | 'enterprise';
17150
17171
  type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
17151
17172
  type RestrictionRuleCommunityExemption =
17152
17173
  | 'domestic_exemption'
@@ -18076,6 +18097,7 @@ declare namespace io.flow.internal.v0.models {
18076
18097
  interface AttributeRule {
18077
18098
  readonly restriction_attribute_rules: io.flow.internal.v0.models.RestrictionAttributeRule[];
18078
18099
  readonly default_result?: io.flow.internal.v0.enums.RestrictionAttributeResult;
18100
+ readonly require_msds?: boolean;
18079
18101
  }
18080
18102
 
18081
18103
  interface AuthenticationForm {
@@ -19257,9 +19279,9 @@ declare namespace io.flow.internal.v0.models {
19257
19279
  readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
19258
19280
  }
19259
19281
 
19260
- interface ChannelOrganizationDomain {
19282
+ interface ChannelOrganizationDomains {
19261
19283
  readonly internal: string;
19262
- readonly public: string;
19284
+ readonly external: string;
19263
19285
  }
19264
19286
 
19265
19287
  interface ChannelOrganizationIdentifier {
@@ -19295,7 +19317,7 @@ declare namespace io.flow.internal.v0.models {
19295
19317
  }
19296
19318
 
19297
19319
  interface ChannelOrganizationMetadata {
19298
- readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomain;
19320
+ readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomains;
19299
19321
  readonly token: string;
19300
19322
  }
19301
19323
 
@@ -19357,6 +19379,23 @@ declare namespace io.flow.internal.v0.models {
19357
19379
  readonly timestamp?: string;
19358
19380
  }
19359
19381
 
19382
+ interface ChannelShop {
19383
+ readonly id: string;
19384
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
19385
+ readonly channel: io.flow.common.v0.models.ChannelReference;
19386
+ readonly external_id: string;
19387
+ readonly name: string;
19388
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
19389
+ }
19390
+
19391
+ interface ChannelShopForm {
19392
+ readonly channel_id: string;
19393
+ readonly external_id: string;
19394
+ readonly name: string;
19395
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
19396
+ readonly tokens: io.flow.internal.v0.models.Tokens;
19397
+ }
19398
+
19360
19399
  interface ChannelTransaction {
19361
19400
  readonly discriminator: 'channel_transaction';
19362
19401
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
@@ -26787,6 +26826,8 @@ declare namespace io.flow.internal.v0.models {
26787
26826
  readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue;
26788
26827
  readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown;
26789
26828
  readonly payment: io.flow.internal.v0.models.ReportingPayment;
26829
+ readonly tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
26830
+ readonly duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
26790
26831
  readonly fees: io.flow.internal.v0.models.ReportingFees;
26791
26832
  readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
26792
26833
  readonly payment_is: io.flow.internal.v0.models.PaymentIs;
@@ -28562,6 +28603,11 @@ declare namespace io.flow.internal.v0.models {
28562
28603
  readonly timezone: string;
28563
28604
  }
28564
28605
 
28606
+ interface Tokens {
28607
+ readonly webhook_signature_verification: string;
28608
+ readonly api: string;
28609
+ }
28610
+
28565
28611
  interface TrackingAssuranceAnalysis {
28566
28612
  readonly id: string;
28567
28613
  readonly job_id: string;
@@ -30301,8 +30347,8 @@ export type ChannelOrderSummaryFulfillmentDetails =
30301
30347
  io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
30302
30348
  export type ChannelOrderSummaryUpserted =
30303
30349
  io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
30304
- export type ChannelOrganizationDomain =
30305
- io.flow.internal.v0.models.ChannelOrganizationDomain;
30350
+ export type ChannelOrganizationDomains =
30351
+ io.flow.internal.v0.models.ChannelOrganizationDomains;
30306
30352
  export type ChannelOrganizationIdentifier =
30307
30353
  io.flow.internal.v0.models.ChannelOrganizationIdentifier;
30308
30354
  export type ChannelOrganizationIdentifierDeleted =
@@ -30340,6 +30386,8 @@ export type ChannelRateMetadataIdentity =
30340
30386
  export type ChannelRateMetadataRate =
30341
30387
  io.flow.internal.v0.models.ChannelRateMetadataRate;
30342
30388
  export type ChannelService = io.flow.internal.v0.enums.ChannelService;
30389
+ export type ChannelShop = io.flow.internal.v0.models.ChannelShop;
30390
+ export type ChannelShopForm = io.flow.internal.v0.models.ChannelShopForm;
30343
30391
  export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
30344
30392
  export type ChannelTransactionDeleted =
30345
30393
  io.flow.internal.v0.models.ChannelTransactionDeleted;
@@ -32696,6 +32744,7 @@ export type TimeToClassifyDeleted =
32696
32744
  export type TimeToClassifyUpserted =
32697
32745
  io.flow.internal.v0.models.TimeToClassifyUpserted;
32698
32746
  export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
32747
+ export type Tokens = io.flow.internal.v0.models.Tokens;
32699
32748
  export type Tracker = io.flow.internal.v0.unions.Tracker;
32700
32749
  export type TrackingAssuranceAnalysis =
32701
32750
  io.flow.internal.v0.models.TrackingAssuranceAnalysis;
package/src/api.ts CHANGED
@@ -3227,9 +3227,9 @@ declare namespace io.flow.channel.internal.v0.models {
3227
3227
  readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
3228
3228
  }
3229
3229
 
3230
- interface ChannelOrganizationDomain {
3230
+ interface ChannelOrganizationDomains {
3231
3231
  readonly internal: string;
3232
- readonly public: string;
3232
+ readonly external: string;
3233
3233
  }
3234
3234
 
3235
3235
  interface ChannelOrganizationInstallation {
@@ -3243,7 +3243,7 @@ declare namespace io.flow.channel.internal.v0.models {
3243
3243
  }
3244
3244
 
3245
3245
  interface ChannelOrganizationMetadata {
3246
- readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
3246
+ readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
3247
3247
  readonly token: string;
3248
3248
  }
3249
3249
 
@@ -4475,7 +4475,6 @@ declare namespace io.flow.v0.enums {
4475
4475
  | 'item_origin_deleted'
4476
4476
  | 'harmonized_landed_cost_upserted'
4477
4477
  | 'fully_harmonized_item_upserted'
4478
- | 'label_upserted'
4479
4478
  | 'label_deleted_v2'
4480
4479
  | 'label_upserted_v2'
4481
4480
  | 'notification_upserted_v2'
@@ -5174,7 +5173,9 @@ declare namespace io.flow.v0.enums {
5174
5173
  | 'wyol_shipment_above_de_min'
5175
5174
  | 'full_refund_without_shipment'
5176
5175
  | 'unfulfilled_order_above_de_min';
5176
+ type TaxJurisdictionType = 'country' | 'province';
5177
5177
  type TaxReportType = 'consumer' | 'b2b';
5178
+ type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
5178
5179
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
5179
5180
  type TaxabilityType = 'tax_rule';
5180
5181
  type TaxabilityValue = 'exempt';
@@ -6077,6 +6078,7 @@ declare namespace io.flow.v0.models {
6077
6078
  readonly key: string;
6078
6079
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
6079
6080
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
6081
+ readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
6080
6082
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
6081
6083
  readonly attributes: Record<string, string>;
6082
6084
  readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
@@ -6111,6 +6113,7 @@ declare namespace io.flow.v0.models {
6111
6113
  readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
6112
6114
  readonly destination?: io.flow.v0.models.OrderAddress;
6113
6115
  readonly tax: io.flow.v0.models.Money;
6116
+ readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
6114
6117
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
6115
6118
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
6116
6119
  readonly attributes: Record<string, string>;
@@ -7204,6 +7207,7 @@ declare namespace io.flow.v0.models {
7204
7207
 
7205
7208
  interface ConsumerInvoiceLineDiscount {
7206
7209
  readonly discriminator: 'discount';
7210
+ readonly line_id?: string;
7207
7211
  readonly price: io.flow.v0.models.Price;
7208
7212
  }
7209
7213
 
@@ -7214,6 +7218,7 @@ declare namespace io.flow.v0.models {
7214
7218
 
7215
7219
  interface ConsumerInvoiceLineItem {
7216
7220
  readonly discriminator: 'item';
7221
+ readonly line_id?: string;
7217
7222
  readonly item: io.flow.v0.models.ItemReference;
7218
7223
  readonly description: string;
7219
7224
  readonly quantity: number;
@@ -7235,6 +7240,7 @@ declare namespace io.flow.v0.models {
7235
7240
 
7236
7241
  interface ConsumerInvoiceLineShipping {
7237
7242
  readonly discriminator: 'shipping';
7243
+ readonly line_id?: string;
7238
7244
  readonly price: io.flow.v0.models.Price;
7239
7245
  readonly discount?: io.flow.v0.models.Price;
7240
7246
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
@@ -7251,6 +7257,7 @@ declare namespace io.flow.v0.models {
7251
7257
 
7252
7258
  interface ConsumerInvoiceLineTip {
7253
7259
  readonly discriminator: 'tip';
7260
+ readonly line_id?: string;
7254
7261
  readonly price: io.flow.v0.models.Price;
7255
7262
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
7256
7263
  }
@@ -9323,6 +9330,11 @@ declare namespace io.flow.v0.models {
9323
9330
  readonly date_to?: string;
9324
9331
  }
9325
9332
 
9333
+ interface InvoiceTaxLine {
9334
+ readonly line_id: string;
9335
+ readonly tax_breakdown: io.flow.v0.models.TaxBreakdown[];
9336
+ }
9337
+
9326
9338
  interface IssuerReference {
9327
9339
  readonly id: string;
9328
9340
  }
@@ -9692,32 +9704,6 @@ declare namespace io.flow.v0.models {
9692
9704
  readonly length: io.flow.v0.enums.UnitOfLength;
9693
9705
  }
9694
9706
 
9695
- interface LabelUpserted {
9696
- readonly discriminator: 'label_upserted';
9697
- readonly event_id: string;
9698
- readonly timestamp: string;
9699
- readonly organization: string;
9700
- readonly label_id: string;
9701
- readonly carrier_tracking_number: string;
9702
- readonly commercial_invoice: string;
9703
- readonly flow_tracking_number: string;
9704
- readonly destination: io.flow.v0.models.ShippingAddress;
9705
- readonly origin: io.flow.v0.models.ShippingAddress;
9706
- readonly carrier: string;
9707
- readonly service: string;
9708
- readonly zpl?: string;
9709
- readonly pdf?: string;
9710
- readonly png?: string;
9711
- readonly order?: string;
9712
- readonly carrier_tracking_number_url?: string;
9713
- readonly flow_tracking_number_url?: string;
9714
- readonly center_key?: string;
9715
- readonly recipient?: io.flow.v0.enums.ShipmentRecipient;
9716
- readonly package?: io.flow.v0.models.ShippingLabelPackage;
9717
- readonly order_identifier?: string;
9718
- readonly fulfillment_key?: string;
9719
- }
9720
-
9721
9707
  interface LabelUpsertedV2 {
9722
9708
  readonly discriminator: 'label_upserted_v2';
9723
9709
  readonly event_id: string;
@@ -10245,6 +10231,7 @@ declare namespace io.flow.v0.models {
10245
10231
  interface NeedsActionAttributes {
10246
10232
  readonly reason_code: string;
10247
10233
  readonly category_metafield_handles: string[];
10234
+ readonly require_msds?: boolean;
10248
10235
  }
10249
10236
 
10250
10237
  interface NiallItemDeleted {
@@ -14437,6 +14424,14 @@ declare namespace io.flow.v0.models {
14437
14424
  readonly deminimis?: io.flow.v0.unions.Deminimis;
14438
14425
  }
14439
14426
 
14427
+ interface TaxBreakdown {
14428
+ readonly label: string;
14429
+ readonly calculated_tax: io.flow.v0.models.Money;
14430
+ readonly rate: number;
14431
+ readonly line_total: io.flow.v0.models.Money;
14432
+ readonly jurisdiction_type: io.flow.v0.enums.TaxJurisdictionType;
14433
+ }
14434
+
14440
14435
  interface TaxDutyCalculatorValidationError {
14441
14436
  readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
14442
14437
  readonly messages: string[];
@@ -14989,6 +14984,25 @@ declare namespace io.flow.v0.models {
14989
14984
  interface TransactionMetadataTaxDuty {
14990
14985
  readonly discriminator: 'transaction_tax_duty';
14991
14986
  readonly reason_code: io.flow.v0.enums.TaxDutyTransactionReasonCode;
14987
+ readonly local_currency?: string;
14988
+ readonly actual?: io.flow.v0.models.TransactionMetadataTaxDutyActual;
14989
+ readonly estimate?: io.flow.v0.models.TransactionMetadataTaxDutyEstimate;
14990
+ readonly delta?: io.flow.v0.models.TransactionMetadataTaxDutyDelta;
14991
+ }
14992
+
14993
+ interface TransactionMetadataTaxDutyActual {
14994
+ readonly base?: number;
14995
+ readonly local?: number;
14996
+ }
14997
+
14998
+ interface TransactionMetadataTaxDutyDelta {
14999
+ readonly base?: number;
15000
+ readonly local?: number;
15001
+ }
15002
+
15003
+ interface TransactionMetadataTaxDutyEstimate {
15004
+ readonly base?: number;
15005
+ readonly local?: number;
14992
15006
  }
14993
15007
 
14994
15008
  interface TransactionMetadataTrueup {
@@ -15561,7 +15575,6 @@ declare namespace io.flow.v0.unions {
15561
15575
  | io.flow.v0.models.ItemOriginDeleted
15562
15576
  | io.flow.v0.models.HarmonizedLandedCostUpserted
15563
15577
  | io.flow.v0.models.FullyHarmonizedItemUpserted
15564
- | io.flow.v0.models.LabelUpserted
15565
15578
  | io.flow.v0.models.LabelDeletedV2
15566
15579
  | io.flow.v0.models.LabelUpsertedV2
15567
15580
  | io.flow.v0.models.NotificationUpsertedV2
@@ -16871,6 +16884,7 @@ export type InvitationForm = io.flow.v0.models.InvitationForm;
16871
16884
  export type InvitationVersion = io.flow.v0.models.InvitationVersion;
16872
16885
  export type InvoiceExport = io.flow.v0.models.InvoiceExport;
16873
16886
  export type InvoiceExportForm = io.flow.v0.models.InvoiceExportForm;
16887
+ export type InvoiceTaxLine = io.flow.v0.models.InvoiceTaxLine;
16874
16888
  export type IssuerReference = io.flow.v0.models.IssuerReference;
16875
16889
  export type IssuerSummary = io.flow.v0.models.IssuerSummary;
16876
16890
  export type IssuerV1 = io.flow.v0.models.IssuerV1;
@@ -16937,7 +16951,6 @@ export type LabelTrackingSummaryUpdate =
16937
16951
  io.flow.v0.models.LabelTrackingSummaryUpdate;
16938
16952
  export type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
16939
16953
  export type LabelUnits = io.flow.v0.models.LabelUnits;
16940
- export type LabelUpserted = io.flow.v0.models.LabelUpserted;
16941
16954
  export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
16942
16955
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
16943
16956
  export type LaneDirection = io.flow.v0.enums.LaneDirection;
@@ -17984,6 +17997,7 @@ export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
17984
17997
  export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
17985
17998
  export type Tax = io.flow.v0.models.Tax;
17986
17999
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
18000
+ export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
17987
18001
  export type TaxDutyCalculatorValidationError =
17988
18002
  io.flow.v0.models.TaxDutyCalculatorValidationError;
17989
18003
  export type TaxDutyCalculatorValidationErrorCode =
@@ -18004,11 +18018,13 @@ export type TaxDutyQuoteSimpleShippingForm =
18004
18018
  export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
18005
18019
  export type TaxDutyTransactionReasonCode =
18006
18020
  io.flow.v0.enums.TaxDutyTransactionReasonCode;
18021
+ export type TaxJurisdictionType = io.flow.v0.enums.TaxJurisdictionType;
18007
18022
  export type TaxRegistration = io.flow.v0.models.TaxRegistration;
18008
18023
  export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
18009
18024
  export type TaxReport = io.flow.v0.models.TaxReport;
18010
18025
  export type TaxReportType = io.flow.v0.enums.TaxReportType;
18011
18026
  export type TaxSetting = io.flow.v0.unions.TaxSetting;
18027
+ export type TaxType = io.flow.v0.enums.TaxType;
18012
18028
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
18013
18029
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
18014
18030
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
@@ -18110,6 +18126,12 @@ export type TransactionMetadataShippingLabelCarrier =
18110
18126
  io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
18111
18127
  export type TransactionMetadataTaxDuty =
18112
18128
  io.flow.v0.models.TransactionMetadataTaxDuty;
18129
+ export type TransactionMetadataTaxDutyActual =
18130
+ io.flow.v0.models.TransactionMetadataTaxDutyActual;
18131
+ export type TransactionMetadataTaxDutyDelta =
18132
+ io.flow.v0.models.TransactionMetadataTaxDutyDelta;
18133
+ export type TransactionMetadataTaxDutyEstimate =
18134
+ io.flow.v0.models.TransactionMetadataTaxDutyEstimate;
18113
18135
  export type TransactionMetadataTrueup =
18114
18136
  io.flow.v0.models.TransactionMetadataTrueup;
18115
18137
  export type TransactionMetadataTrueupBase =