@flowio/types 11.24.128 → 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.
- package/dist/api-internal.d.ts +76 -12
- package/dist/api.d.ts +49 -32
- package/package.json +2 -2
- package/src/api-internal.ts +94 -13
- package/src/api.ts +59 -33
package/dist/api-internal.d.ts
CHANGED
|
@@ -7159,7 +7159,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
7159
7159
|
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
7160
7160
|
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
7161
7161
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
7162
|
-
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
|
|
7162
|
+
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
7163
7163
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
7164
7164
|
}
|
|
7165
7165
|
declare namespace io.flow.channel.internal.v0.models {
|
|
@@ -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
|
|
7226
|
+
interface ChannelOrganizationDomains {
|
|
7227
7227
|
readonly internal: string;
|
|
7228
|
-
readonly
|
|
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.
|
|
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';
|
|
@@ -11745,12 +11761,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11745
11761
|
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
11746
11762
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
11747
11763
|
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
11748
|
-
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
|
|
11764
|
+
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
11749
11765
|
type ChannelTransactionTriggerType = 'capture' | 'order';
|
|
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 = '
|
|
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 = '
|
|
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
|
|
13685
|
+
interface ChannelOrganizationDomains {
|
|
13669
13686
|
readonly internal: string;
|
|
13670
|
-
readonly
|
|
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.
|
|
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;
|
|
@@ -17183,6 +17215,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17183
17215
|
readonly processing: number;
|
|
17184
17216
|
readonly rate_lock: number;
|
|
17185
17217
|
readonly transfer: number;
|
|
17218
|
+
readonly product_fee?: number;
|
|
17219
|
+
readonly estimated_tax?: number;
|
|
17220
|
+
readonly estimated_duty?: number;
|
|
17221
|
+
readonly estimated_duties_and_taxes?: number;
|
|
17222
|
+
readonly td_fx_diff?: number;
|
|
17186
17223
|
readonly total: number;
|
|
17187
17224
|
}
|
|
17188
17225
|
interface MerchantGuidAssignment {
|
|
@@ -18745,6 +18782,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18745
18782
|
readonly construction?: string;
|
|
18746
18783
|
readonly item: string;
|
|
18747
18784
|
}
|
|
18785
|
+
interface PriceInclusivity {
|
|
18786
|
+
readonly tax?: boolean;
|
|
18787
|
+
readonly duty?: boolean;
|
|
18788
|
+
}
|
|
18748
18789
|
interface PrioritizedCenterReference {
|
|
18749
18790
|
readonly center_key: string;
|
|
18750
18791
|
readonly position: number;
|
|
@@ -19510,6 +19551,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19510
19551
|
readonly destination_country?: number;
|
|
19511
19552
|
readonly usd: number;
|
|
19512
19553
|
readonly eur: number;
|
|
19554
|
+
readonly guaranteed?: number;
|
|
19555
|
+
readonly spot?: number;
|
|
19513
19556
|
}
|
|
19514
19557
|
interface ReportingCountry {
|
|
19515
19558
|
readonly code: string;
|
|
@@ -19548,6 +19591,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19548
19591
|
readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19549
19592
|
readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19550
19593
|
readonly sp: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19594
|
+
readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19595
|
+
readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19596
|
+
readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19597
|
+
readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19598
|
+
readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19551
19599
|
}
|
|
19552
19600
|
interface ReportingFulfillment {
|
|
19553
19601
|
readonly id: string;
|
|
@@ -19607,6 +19655,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19607
19655
|
readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19608
19656
|
readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19609
19657
|
readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19658
|
+
readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19659
|
+
readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19660
|
+
readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19661
|
+
readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19662
|
+
readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19610
19663
|
readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
19611
19664
|
}
|
|
19612
19665
|
interface ReportingMerchantSubsidies {
|
|
@@ -20215,9 +20268,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20215
20268
|
readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
20216
20269
|
readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown;
|
|
20217
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;
|
|
20218
20273
|
readonly fees: io.flow.internal.v0.models.ReportingFees;
|
|
20219
20274
|
readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
|
|
20220
20275
|
readonly payment_is: io.flow.internal.v0.models.PaymentIs;
|
|
20276
|
+
readonly price_inclusivity?: io.flow.internal.v0.models.PriceInclusivity;
|
|
20221
20277
|
readonly destination_country: string;
|
|
20222
20278
|
readonly fulfilled_at?: string;
|
|
20223
20279
|
}
|
|
@@ -21756,6 +21812,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21756
21812
|
readonly time: string;
|
|
21757
21813
|
readonly timezone: string;
|
|
21758
21814
|
}
|
|
21815
|
+
interface Tokens {
|
|
21816
|
+
readonly webhook_signature_verification: string;
|
|
21817
|
+
readonly api: string;
|
|
21818
|
+
}
|
|
21759
21819
|
interface TrackingAssuranceAnalysis {
|
|
21760
21820
|
readonly id: string;
|
|
21761
21821
|
readonly job_id: string;
|
|
@@ -22634,7 +22694,7 @@ export declare type ChannelOrderSummary = io.flow.internal.v0.models.ChannelOrde
|
|
|
22634
22694
|
export declare type ChannelOrderSummaryDeleted = io.flow.internal.v0.models.ChannelOrderSummaryDeleted;
|
|
22635
22695
|
export declare type ChannelOrderSummaryFulfillmentDetails = io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
22636
22696
|
export declare type ChannelOrderSummaryUpserted = io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
|
|
22637
|
-
export declare type
|
|
22697
|
+
export declare type ChannelOrganizationDomains = io.flow.internal.v0.models.ChannelOrganizationDomains;
|
|
22638
22698
|
export declare type ChannelOrganizationIdentifier = io.flow.internal.v0.models.ChannelOrganizationIdentifier;
|
|
22639
22699
|
export declare type ChannelOrganizationIdentifierDeleted = io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted;
|
|
22640
22700
|
export declare type ChannelOrganizationIdentifierUpserted = io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted;
|
|
@@ -22654,6 +22714,8 @@ export declare type ChannelRateMetadata = io.flow.internal.v0.unions.ChannelRate
|
|
|
22654
22714
|
export declare type ChannelRateMetadataIdentity = io.flow.internal.v0.models.ChannelRateMetadataIdentity;
|
|
22655
22715
|
export declare type ChannelRateMetadataRate = io.flow.internal.v0.models.ChannelRateMetadataRate;
|
|
22656
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;
|
|
22657
22719
|
export declare type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
22658
22720
|
export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
22659
22721
|
export declare type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
|
|
@@ -23546,6 +23608,7 @@ export declare type PrateekItemForm = io.flow.internal.v0.models.PrateekItemForm
|
|
|
23546
23608
|
export declare type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
|
|
23547
23609
|
export declare type Prediction = io.flow.internal.v0.models.Prediction;
|
|
23548
23610
|
export declare type PreferredBillingSchedule = io.flow.internal.v0.enums.PreferredBillingSchedule;
|
|
23611
|
+
export declare type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity;
|
|
23549
23612
|
export declare type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
|
|
23550
23613
|
export declare type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
23551
23614
|
export declare type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction;
|
|
@@ -24073,6 +24136,7 @@ export declare type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.model
|
|
|
24073
24136
|
export declare type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted;
|
|
24074
24137
|
export declare type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted;
|
|
24075
24138
|
export declare type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
|
24139
|
+
export declare type Tokens = io.flow.internal.v0.models.Tokens;
|
|
24076
24140
|
export declare type Tracker = io.flow.internal.v0.unions.Tracker;
|
|
24077
24141
|
export declare type TrackingAssuranceAnalysis = io.flow.internal.v0.models.TrackingAssuranceAnalysis;
|
|
24078
24142
|
export declare type TrackingAssuranceAnalysisDeleted = io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted;
|
package/dist/api.d.ts
CHANGED
|
@@ -2212,7 +2212,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
2212
2212
|
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
2213
2213
|
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
2214
2214
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
2215
|
-
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
|
|
2215
|
+
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
2216
2216
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
2217
2217
|
}
|
|
2218
2218
|
declare namespace io.flow.channel.internal.v0.models {
|
|
@@ -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
|
|
2279
|
+
interface ChannelOrganizationDomains {
|
|
2280
2280
|
readonly internal: string;
|
|
2281
|
-
readonly
|
|
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.
|
|
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' | '
|
|
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.
|
|
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.
|
|
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": "
|
|
28
|
+
"gitHead": "b4b0cd6a13ae636625754fd06a00ff8f0016498e"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -10040,7 +10040,11 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
10040
10040
|
| 'review'
|
|
10041
10041
|
| 'edit_review'
|
|
10042
10042
|
| 'edit_accepted';
|
|
10043
|
-
type ChannelService =
|
|
10043
|
+
type ChannelService =
|
|
10044
|
+
| 'payment'
|
|
10045
|
+
| 'duty_tax_calculator'
|
|
10046
|
+
| 'sellability'
|
|
10047
|
+
| 'all';
|
|
10044
10048
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
10045
10049
|
}
|
|
10046
10050
|
|
|
@@ -10115,9 +10119,9 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
10115
10119
|
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
10116
10120
|
}
|
|
10117
10121
|
|
|
10118
|
-
interface
|
|
10122
|
+
interface ChannelOrganizationDomains {
|
|
10119
10123
|
readonly internal: string;
|
|
10120
|
-
readonly
|
|
10124
|
+
readonly external: string;
|
|
10121
10125
|
}
|
|
10122
10126
|
|
|
10123
10127
|
interface ChannelOrganizationInstallation {
|
|
@@ -10131,7 +10135,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
10131
10135
|
}
|
|
10132
10136
|
|
|
10133
10137
|
interface ChannelOrganizationMetadata {
|
|
10134
|
-
readonly domain: io.flow.channel.internal.v0.models.
|
|
10138
|
+
readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
|
|
10135
10139
|
readonly token: string;
|
|
10136
10140
|
}
|
|
10137
10141
|
|
|
@@ -15153,6 +15157,25 @@ declare namespace io.flow.billing.v0.models {
|
|
|
15153
15157
|
interface TransactionMetadataTaxDuty {
|
|
15154
15158
|
readonly discriminator: 'transaction_tax_duty';
|
|
15155
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;
|
|
15156
15179
|
}
|
|
15157
15180
|
|
|
15158
15181
|
interface TransactionMetadataTrueup {
|
|
@@ -16318,7 +16341,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16318
16341
|
| 'fulfilled'
|
|
16319
16342
|
| 'partial'
|
|
16320
16343
|
| 'cancelled';
|
|
16321
|
-
type ChannelService =
|
|
16344
|
+
type ChannelService =
|
|
16345
|
+
| 'payment'
|
|
16346
|
+
| 'duty_tax_calculator'
|
|
16347
|
+
| 'sellability'
|
|
16348
|
+
| 'all';
|
|
16322
16349
|
type ChannelTransactionTriggerType = 'capture' | 'order';
|
|
16323
16350
|
type ChannelTransactionType =
|
|
16324
16351
|
| 'adjustment'
|
|
@@ -16345,7 +16372,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16345
16372
|
| 'electronic_export_information_surcharge'
|
|
16346
16373
|
| 'additional_handling'
|
|
16347
16374
|
| 'large_package_surcharge'
|
|
16348
|
-
| 'peak_surcharge'
|
|
16375
|
+
| 'peak_surcharge'
|
|
16376
|
+
| 'fuel_surcharge'
|
|
16377
|
+
| 'delivery_area_surcharge';
|
|
16349
16378
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
16350
16379
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
16351
16380
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
@@ -17034,7 +17063,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17034
17063
|
| 'fully_reviewed'
|
|
17035
17064
|
| 'rejected'
|
|
17036
17065
|
| 'unscreened';
|
|
17037
|
-
type OrganizationSource = '
|
|
17066
|
+
type OrganizationSource = 'smb' | 'enterprise';
|
|
17038
17067
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
17039
17068
|
type Owner = 'flow' | 'organization';
|
|
17040
17069
|
type PaymentShortUrlDiscriminator = 'adyen_3ds2';
|
|
@@ -17138,7 +17167,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17138
17167
|
| 'enterprise'
|
|
17139
17168
|
| 'shopify-sandbox'
|
|
17140
17169
|
| 'enterprise-sandbox';
|
|
17141
|
-
type RestrictionOrganizationSource = '
|
|
17170
|
+
type RestrictionOrganizationSource = 'smb' | 'enterprise';
|
|
17142
17171
|
type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
|
|
17143
17172
|
type RestrictionRuleCommunityExemption =
|
|
17144
17173
|
| 'domestic_exemption'
|
|
@@ -18068,6 +18097,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18068
18097
|
interface AttributeRule {
|
|
18069
18098
|
readonly restriction_attribute_rules: io.flow.internal.v0.models.RestrictionAttributeRule[];
|
|
18070
18099
|
readonly default_result?: io.flow.internal.v0.enums.RestrictionAttributeResult;
|
|
18100
|
+
readonly require_msds?: boolean;
|
|
18071
18101
|
}
|
|
18072
18102
|
|
|
18073
18103
|
interface AuthenticationForm {
|
|
@@ -19249,9 +19279,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19249
19279
|
readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
|
|
19250
19280
|
}
|
|
19251
19281
|
|
|
19252
|
-
interface
|
|
19282
|
+
interface ChannelOrganizationDomains {
|
|
19253
19283
|
readonly internal: string;
|
|
19254
|
-
readonly
|
|
19284
|
+
readonly external: string;
|
|
19255
19285
|
}
|
|
19256
19286
|
|
|
19257
19287
|
interface ChannelOrganizationIdentifier {
|
|
@@ -19287,7 +19317,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19287
19317
|
}
|
|
19288
19318
|
|
|
19289
19319
|
interface ChannelOrganizationMetadata {
|
|
19290
|
-
readonly domain: io.flow.internal.v0.models.
|
|
19320
|
+
readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomains;
|
|
19291
19321
|
readonly token: string;
|
|
19292
19322
|
}
|
|
19293
19323
|
|
|
@@ -19349,6 +19379,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19349
19379
|
readonly timestamp?: string;
|
|
19350
19380
|
}
|
|
19351
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
|
+
|
|
19352
19399
|
interface ChannelTransaction {
|
|
19353
19400
|
readonly discriminator: 'channel_transaction';
|
|
19354
19401
|
readonly transaction: io.flow.internal.v0.models.TransactionReference;
|
|
@@ -23284,6 +23331,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23284
23331
|
readonly processing: number;
|
|
23285
23332
|
readonly rate_lock: number;
|
|
23286
23333
|
readonly transfer: number;
|
|
23334
|
+
readonly product_fee?: number;
|
|
23335
|
+
readonly estimated_tax?: number;
|
|
23336
|
+
readonly estimated_duty?: number;
|
|
23337
|
+
readonly estimated_duties_and_taxes?: number;
|
|
23338
|
+
readonly td_fx_diff?: number;
|
|
23287
23339
|
readonly total: number;
|
|
23288
23340
|
}
|
|
23289
23341
|
|
|
@@ -25075,6 +25127,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25075
25127
|
readonly item: string;
|
|
25076
25128
|
}
|
|
25077
25129
|
|
|
25130
|
+
interface PriceInclusivity {
|
|
25131
|
+
readonly tax?: boolean;
|
|
25132
|
+
readonly duty?: boolean;
|
|
25133
|
+
}
|
|
25134
|
+
|
|
25078
25135
|
interface PrioritizedCenterReference {
|
|
25079
25136
|
readonly center_key: string;
|
|
25080
25137
|
readonly position: number;
|
|
@@ -25961,6 +26018,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25961
26018
|
readonly destination_country?: number;
|
|
25962
26019
|
readonly usd: number;
|
|
25963
26020
|
readonly eur: number;
|
|
26021
|
+
readonly guaranteed?: number;
|
|
26022
|
+
readonly spot?: number;
|
|
25964
26023
|
}
|
|
25965
26024
|
|
|
25966
26025
|
interface ReportingCountry {
|
|
@@ -26006,6 +26065,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26006
26065
|
readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26007
26066
|
readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26008
26067
|
readonly sp: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26068
|
+
readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26069
|
+
readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26070
|
+
readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26071
|
+
readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26072
|
+
readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26009
26073
|
}
|
|
26010
26074
|
|
|
26011
26075
|
interface ReportingFulfillment {
|
|
@@ -26071,6 +26135,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26071
26135
|
readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26072
26136
|
readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26073
26137
|
readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26138
|
+
readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26139
|
+
readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26140
|
+
readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26141
|
+
readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26142
|
+
readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26074
26143
|
readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26075
26144
|
}
|
|
26076
26145
|
|
|
@@ -26757,9 +26826,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26757
26826
|
readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
26758
26827
|
readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown;
|
|
26759
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;
|
|
26760
26831
|
readonly fees: io.flow.internal.v0.models.ReportingFees;
|
|
26761
26832
|
readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
|
|
26762
26833
|
readonly payment_is: io.flow.internal.v0.models.PaymentIs;
|
|
26834
|
+
readonly price_inclusivity?: io.flow.internal.v0.models.PriceInclusivity;
|
|
26763
26835
|
readonly destination_country: string;
|
|
26764
26836
|
readonly fulfilled_at?: string;
|
|
26765
26837
|
}
|
|
@@ -28531,6 +28603,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28531
28603
|
readonly timezone: string;
|
|
28532
28604
|
}
|
|
28533
28605
|
|
|
28606
|
+
interface Tokens {
|
|
28607
|
+
readonly webhook_signature_verification: string;
|
|
28608
|
+
readonly api: string;
|
|
28609
|
+
}
|
|
28610
|
+
|
|
28534
28611
|
interface TrackingAssuranceAnalysis {
|
|
28535
28612
|
readonly id: string;
|
|
28536
28613
|
readonly job_id: string;
|
|
@@ -30270,8 +30347,8 @@ export type ChannelOrderSummaryFulfillmentDetails =
|
|
|
30270
30347
|
io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
30271
30348
|
export type ChannelOrderSummaryUpserted =
|
|
30272
30349
|
io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
|
|
30273
|
-
export type
|
|
30274
|
-
io.flow.internal.v0.models.
|
|
30350
|
+
export type ChannelOrganizationDomains =
|
|
30351
|
+
io.flow.internal.v0.models.ChannelOrganizationDomains;
|
|
30275
30352
|
export type ChannelOrganizationIdentifier =
|
|
30276
30353
|
io.flow.internal.v0.models.ChannelOrganizationIdentifier;
|
|
30277
30354
|
export type ChannelOrganizationIdentifierDeleted =
|
|
@@ -30309,6 +30386,8 @@ export type ChannelRateMetadataIdentity =
|
|
|
30309
30386
|
export type ChannelRateMetadataRate =
|
|
30310
30387
|
io.flow.internal.v0.models.ChannelRateMetadataRate;
|
|
30311
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;
|
|
30312
30391
|
export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
30313
30392
|
export type ChannelTransactionDeleted =
|
|
30314
30393
|
io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
@@ -31779,6 +31858,7 @@ export type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
|
|
|
31779
31858
|
export type Prediction = io.flow.internal.v0.models.Prediction;
|
|
31780
31859
|
export type PreferredBillingSchedule =
|
|
31781
31860
|
io.flow.internal.v0.enums.PreferredBillingSchedule;
|
|
31861
|
+
export type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity;
|
|
31782
31862
|
export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
|
|
31783
31863
|
export type PrioritizedCenterReference =
|
|
31784
31864
|
io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
@@ -32664,6 +32744,7 @@ export type TimeToClassifyDeleted =
|
|
|
32664
32744
|
export type TimeToClassifyUpserted =
|
|
32665
32745
|
io.flow.internal.v0.models.TimeToClassifyUpserted;
|
|
32666
32746
|
export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
|
|
32747
|
+
export type Tokens = io.flow.internal.v0.models.Tokens;
|
|
32667
32748
|
export type Tracker = io.flow.internal.v0.unions.Tracker;
|
|
32668
32749
|
export type TrackingAssuranceAnalysis =
|
|
32669
32750
|
io.flow.internal.v0.models.TrackingAssuranceAnalysis;
|
package/src/api.ts
CHANGED
|
@@ -3148,7 +3148,11 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
3148
3148
|
| 'review'
|
|
3149
3149
|
| 'edit_review'
|
|
3150
3150
|
| 'edit_accepted';
|
|
3151
|
-
type ChannelService =
|
|
3151
|
+
type ChannelService =
|
|
3152
|
+
| 'payment'
|
|
3153
|
+
| 'duty_tax_calculator'
|
|
3154
|
+
| 'sellability'
|
|
3155
|
+
| 'all';
|
|
3152
3156
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
3153
3157
|
}
|
|
3154
3158
|
|
|
@@ -3223,9 +3227,9 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
3223
3227
|
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
3224
3228
|
}
|
|
3225
3229
|
|
|
3226
|
-
interface
|
|
3230
|
+
interface ChannelOrganizationDomains {
|
|
3227
3231
|
readonly internal: string;
|
|
3228
|
-
readonly
|
|
3232
|
+
readonly external: string;
|
|
3229
3233
|
}
|
|
3230
3234
|
|
|
3231
3235
|
interface ChannelOrganizationInstallation {
|
|
@@ -3239,7 +3243,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
3239
3243
|
}
|
|
3240
3244
|
|
|
3241
3245
|
interface ChannelOrganizationMetadata {
|
|
3242
|
-
readonly domain: io.flow.channel.internal.v0.models.
|
|
3246
|
+
readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
|
|
3243
3247
|
readonly token: string;
|
|
3244
3248
|
}
|
|
3245
3249
|
|
|
@@ -4471,7 +4475,6 @@ declare namespace io.flow.v0.enums {
|
|
|
4471
4475
|
| 'item_origin_deleted'
|
|
4472
4476
|
| 'harmonized_landed_cost_upserted'
|
|
4473
4477
|
| 'fully_harmonized_item_upserted'
|
|
4474
|
-
| 'label_upserted'
|
|
4475
4478
|
| 'label_deleted_v2'
|
|
4476
4479
|
| 'label_upserted_v2'
|
|
4477
4480
|
| 'notification_upserted_v2'
|
|
@@ -5170,7 +5173,9 @@ declare namespace io.flow.v0.enums {
|
|
|
5170
5173
|
| 'wyol_shipment_above_de_min'
|
|
5171
5174
|
| 'full_refund_without_shipment'
|
|
5172
5175
|
| 'unfulfilled_order_above_de_min';
|
|
5176
|
+
type TaxJurisdictionType = 'country' | 'province';
|
|
5173
5177
|
type TaxReportType = 'consumer' | 'b2b';
|
|
5178
|
+
type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
|
|
5174
5179
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
5175
5180
|
type TaxabilityType = 'tax_rule';
|
|
5176
5181
|
type TaxabilityValue = 'exempt';
|
|
@@ -6073,6 +6078,7 @@ declare namespace io.flow.v0.models {
|
|
|
6073
6078
|
readonly key: string;
|
|
6074
6079
|
readonly invoice: io.flow.v0.models.B2BInvoiceReference;
|
|
6075
6080
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
6081
|
+
readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
|
|
6076
6082
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
6077
6083
|
readonly attributes: Record<string, string>;
|
|
6078
6084
|
readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType;
|
|
@@ -6107,6 +6113,7 @@ declare namespace io.flow.v0.models {
|
|
|
6107
6113
|
readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference;
|
|
6108
6114
|
readonly destination?: io.flow.v0.models.OrderAddress;
|
|
6109
6115
|
readonly tax: io.flow.v0.models.Money;
|
|
6116
|
+
readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[];
|
|
6110
6117
|
readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
|
|
6111
6118
|
readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
|
|
6112
6119
|
readonly attributes: Record<string, string>;
|
|
@@ -7200,6 +7207,7 @@ declare namespace io.flow.v0.models {
|
|
|
7200
7207
|
|
|
7201
7208
|
interface ConsumerInvoiceLineDiscount {
|
|
7202
7209
|
readonly discriminator: 'discount';
|
|
7210
|
+
readonly line_id?: string;
|
|
7203
7211
|
readonly price: io.flow.v0.models.Price;
|
|
7204
7212
|
}
|
|
7205
7213
|
|
|
@@ -7210,6 +7218,7 @@ declare namespace io.flow.v0.models {
|
|
|
7210
7218
|
|
|
7211
7219
|
interface ConsumerInvoiceLineItem {
|
|
7212
7220
|
readonly discriminator: 'item';
|
|
7221
|
+
readonly line_id?: string;
|
|
7213
7222
|
readonly item: io.flow.v0.models.ItemReference;
|
|
7214
7223
|
readonly description: string;
|
|
7215
7224
|
readonly quantity: number;
|
|
@@ -7231,6 +7240,7 @@ declare namespace io.flow.v0.models {
|
|
|
7231
7240
|
|
|
7232
7241
|
interface ConsumerInvoiceLineShipping {
|
|
7233
7242
|
readonly discriminator: 'shipping';
|
|
7243
|
+
readonly line_id?: string;
|
|
7234
7244
|
readonly price: io.flow.v0.models.Price;
|
|
7235
7245
|
readonly discount?: io.flow.v0.models.Price;
|
|
7236
7246
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
|
|
@@ -7247,6 +7257,7 @@ declare namespace io.flow.v0.models {
|
|
|
7247
7257
|
|
|
7248
7258
|
interface ConsumerInvoiceLineTip {
|
|
7249
7259
|
readonly discriminator: 'tip';
|
|
7260
|
+
readonly line_id?: string;
|
|
7250
7261
|
readonly price: io.flow.v0.models.Price;
|
|
7251
7262
|
readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
|
|
7252
7263
|
}
|
|
@@ -9319,6 +9330,11 @@ declare namespace io.flow.v0.models {
|
|
|
9319
9330
|
readonly date_to?: string;
|
|
9320
9331
|
}
|
|
9321
9332
|
|
|
9333
|
+
interface InvoiceTaxLine {
|
|
9334
|
+
readonly line_id: string;
|
|
9335
|
+
readonly tax_breakdown: io.flow.v0.models.TaxBreakdown[];
|
|
9336
|
+
}
|
|
9337
|
+
|
|
9322
9338
|
interface IssuerReference {
|
|
9323
9339
|
readonly id: string;
|
|
9324
9340
|
}
|
|
@@ -9688,32 +9704,6 @@ declare namespace io.flow.v0.models {
|
|
|
9688
9704
|
readonly length: io.flow.v0.enums.UnitOfLength;
|
|
9689
9705
|
}
|
|
9690
9706
|
|
|
9691
|
-
interface LabelUpserted {
|
|
9692
|
-
readonly discriminator: 'label_upserted';
|
|
9693
|
-
readonly event_id: string;
|
|
9694
|
-
readonly timestamp: string;
|
|
9695
|
-
readonly organization: string;
|
|
9696
|
-
readonly label_id: string;
|
|
9697
|
-
readonly carrier_tracking_number: string;
|
|
9698
|
-
readonly commercial_invoice: string;
|
|
9699
|
-
readonly flow_tracking_number: string;
|
|
9700
|
-
readonly destination: io.flow.v0.models.ShippingAddress;
|
|
9701
|
-
readonly origin: io.flow.v0.models.ShippingAddress;
|
|
9702
|
-
readonly carrier: string;
|
|
9703
|
-
readonly service: string;
|
|
9704
|
-
readonly zpl?: string;
|
|
9705
|
-
readonly pdf?: string;
|
|
9706
|
-
readonly png?: string;
|
|
9707
|
-
readonly order?: string;
|
|
9708
|
-
readonly carrier_tracking_number_url?: string;
|
|
9709
|
-
readonly flow_tracking_number_url?: string;
|
|
9710
|
-
readonly center_key?: string;
|
|
9711
|
-
readonly recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
9712
|
-
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
9713
|
-
readonly order_identifier?: string;
|
|
9714
|
-
readonly fulfillment_key?: string;
|
|
9715
|
-
}
|
|
9716
|
-
|
|
9717
9707
|
interface LabelUpsertedV2 {
|
|
9718
9708
|
readonly discriminator: 'label_upserted_v2';
|
|
9719
9709
|
readonly event_id: string;
|
|
@@ -10241,6 +10231,7 @@ declare namespace io.flow.v0.models {
|
|
|
10241
10231
|
interface NeedsActionAttributes {
|
|
10242
10232
|
readonly reason_code: string;
|
|
10243
10233
|
readonly category_metafield_handles: string[];
|
|
10234
|
+
readonly require_msds?: boolean;
|
|
10244
10235
|
}
|
|
10245
10236
|
|
|
10246
10237
|
interface NiallItemDeleted {
|
|
@@ -14433,6 +14424,14 @@ declare namespace io.flow.v0.models {
|
|
|
14433
14424
|
readonly deminimis?: io.flow.v0.unions.Deminimis;
|
|
14434
14425
|
}
|
|
14435
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
|
+
|
|
14436
14435
|
interface TaxDutyCalculatorValidationError {
|
|
14437
14436
|
readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
|
|
14438
14437
|
readonly messages: string[];
|
|
@@ -14985,6 +14984,25 @@ declare namespace io.flow.v0.models {
|
|
|
14985
14984
|
interface TransactionMetadataTaxDuty {
|
|
14986
14985
|
readonly discriminator: 'transaction_tax_duty';
|
|
14987
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;
|
|
14988
15006
|
}
|
|
14989
15007
|
|
|
14990
15008
|
interface TransactionMetadataTrueup {
|
|
@@ -15557,7 +15575,6 @@ declare namespace io.flow.v0.unions {
|
|
|
15557
15575
|
| io.flow.v0.models.ItemOriginDeleted
|
|
15558
15576
|
| io.flow.v0.models.HarmonizedLandedCostUpserted
|
|
15559
15577
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
15560
|
-
| io.flow.v0.models.LabelUpserted
|
|
15561
15578
|
| io.flow.v0.models.LabelDeletedV2
|
|
15562
15579
|
| io.flow.v0.models.LabelUpsertedV2
|
|
15563
15580
|
| io.flow.v0.models.NotificationUpsertedV2
|
|
@@ -16867,6 +16884,7 @@ export type InvitationForm = io.flow.v0.models.InvitationForm;
|
|
|
16867
16884
|
export type InvitationVersion = io.flow.v0.models.InvitationVersion;
|
|
16868
16885
|
export type InvoiceExport = io.flow.v0.models.InvoiceExport;
|
|
16869
16886
|
export type InvoiceExportForm = io.flow.v0.models.InvoiceExportForm;
|
|
16887
|
+
export type InvoiceTaxLine = io.flow.v0.models.InvoiceTaxLine;
|
|
16870
16888
|
export type IssuerReference = io.flow.v0.models.IssuerReference;
|
|
16871
16889
|
export type IssuerSummary = io.flow.v0.models.IssuerSummary;
|
|
16872
16890
|
export type IssuerV1 = io.flow.v0.models.IssuerV1;
|
|
@@ -16933,7 +16951,6 @@ export type LabelTrackingSummaryUpdate =
|
|
|
16933
16951
|
io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
16934
16952
|
export type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod;
|
|
16935
16953
|
export type LabelUnits = io.flow.v0.models.LabelUnits;
|
|
16936
|
-
export type LabelUpserted = io.flow.v0.models.LabelUpserted;
|
|
16937
16954
|
export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
|
|
16938
16955
|
export type LandedCostItem = io.flow.v0.models.LandedCostItem;
|
|
16939
16956
|
export type LaneDirection = io.flow.v0.enums.LaneDirection;
|
|
@@ -17980,6 +17997,7 @@ export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
|
|
|
17980
17997
|
export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
|
|
17981
17998
|
export type Tax = io.flow.v0.models.Tax;
|
|
17982
17999
|
export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
|
|
18000
|
+
export type TaxBreakdown = io.flow.v0.models.TaxBreakdown;
|
|
17983
18001
|
export type TaxDutyCalculatorValidationError =
|
|
17984
18002
|
io.flow.v0.models.TaxDutyCalculatorValidationError;
|
|
17985
18003
|
export type TaxDutyCalculatorValidationErrorCode =
|
|
@@ -18000,11 +18018,13 @@ export type TaxDutyQuoteSimpleShippingForm =
|
|
|
18000
18018
|
export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
|
|
18001
18019
|
export type TaxDutyTransactionReasonCode =
|
|
18002
18020
|
io.flow.v0.enums.TaxDutyTransactionReasonCode;
|
|
18021
|
+
export type TaxJurisdictionType = io.flow.v0.enums.TaxJurisdictionType;
|
|
18003
18022
|
export type TaxRegistration = io.flow.v0.models.TaxRegistration;
|
|
18004
18023
|
export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
|
|
18005
18024
|
export type TaxReport = io.flow.v0.models.TaxReport;
|
|
18006
18025
|
export type TaxReportType = io.flow.v0.enums.TaxReportType;
|
|
18007
18026
|
export type TaxSetting = io.flow.v0.unions.TaxSetting;
|
|
18027
|
+
export type TaxType = io.flow.v0.enums.TaxType;
|
|
18008
18028
|
export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
|
|
18009
18029
|
export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
|
|
18010
18030
|
export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
|
|
@@ -18106,6 +18126,12 @@ export type TransactionMetadataShippingLabelCarrier =
|
|
|
18106
18126
|
io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
|
|
18107
18127
|
export type TransactionMetadataTaxDuty =
|
|
18108
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;
|
|
18109
18135
|
export type TransactionMetadataTrueup =
|
|
18110
18136
|
io.flow.v0.models.TransactionMetadataTrueup;
|
|
18111
18137
|
export type TransactionMetadataTrueupBase =
|