@flowio/types 11.24.106 → 11.24.108
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 +337 -929
- package/dist/api.d.ts +43 -201
- package/package.json +2 -2
- package/src/api-internal.ts +488 -1185
- package/src/api.ts +65 -280
package/src/api.ts
CHANGED
|
@@ -339,6 +339,15 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
339
339
|
| 'under_review'
|
|
340
340
|
| 'won'
|
|
341
341
|
| 'lost';
|
|
342
|
+
type EarlyFraudWarningEventType = 'radar.early_fraud_warning';
|
|
343
|
+
type EarlyFraudWarningType =
|
|
344
|
+
| 'card_never_received'
|
|
345
|
+
| 'fraudulent_card_application'
|
|
346
|
+
| 'made_with_counterfeit_card'
|
|
347
|
+
| 'made_with_lost_card'
|
|
348
|
+
| 'made_with_stolen_card'
|
|
349
|
+
| 'unauthorized_use_of_card'
|
|
350
|
+
| 'misc';
|
|
342
351
|
type ErrorCode =
|
|
343
352
|
| 'invalid_number'
|
|
344
353
|
| 'invalid_expiry_month'
|
|
@@ -1175,6 +1184,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1175
1184
|
readonly transfer_group?: string;
|
|
1176
1185
|
}
|
|
1177
1186
|
|
|
1187
|
+
interface PaymentIntents {
|
|
1188
|
+
readonly object: string;
|
|
1189
|
+
readonly data: io.flow.stripe.v0.models.PaymentIntent[];
|
|
1190
|
+
readonly has_more: boolean;
|
|
1191
|
+
readonly url?: string;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1178
1194
|
interface PaymentMethod {
|
|
1179
1195
|
readonly id: string;
|
|
1180
1196
|
readonly object: string;
|
|
@@ -1626,6 +1642,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1626
1642
|
readonly previous_attributes?: any /*object*/;
|
|
1627
1643
|
}
|
|
1628
1644
|
|
|
1645
|
+
interface StripeEarlyFraudWarningEvent {
|
|
1646
|
+
readonly id: string;
|
|
1647
|
+
readonly object: io.flow.stripe.v0.enums.EarlyFraudWarningEventType;
|
|
1648
|
+
readonly actionable: boolean;
|
|
1649
|
+
readonly charge: string;
|
|
1650
|
+
readonly created: number;
|
|
1651
|
+
readonly fraud_type: io.flow.stripe.v0.enums.EarlyFraudWarningType;
|
|
1652
|
+
readonly livemode: boolean;
|
|
1653
|
+
readonly payment_intent?: string;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1629
1656
|
interface StripeError {
|
|
1630
1657
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
1631
1658
|
readonly charge?: string;
|
|
@@ -3782,10 +3809,6 @@ declare namespace io.flow.ben.test.internal.v0.models {
|
|
|
3782
3809
|
readonly num_events: number;
|
|
3783
3810
|
}
|
|
3784
3811
|
|
|
3785
|
-
interface SvitlanaTest {
|
|
3786
|
-
readonly name: string;
|
|
3787
|
-
}
|
|
3788
|
-
|
|
3789
3812
|
interface Test {
|
|
3790
3813
|
readonly id: string;
|
|
3791
3814
|
readonly name: string;
|
|
@@ -5710,8 +5733,6 @@ declare namespace io.flow.v0.enums {
|
|
|
5710
5733
|
| 'customer_deleted'
|
|
5711
5734
|
| 'customer_address_book_contact_upserted'
|
|
5712
5735
|
| 'customer_address_book_contact_deleted'
|
|
5713
|
-
| 'email_notification_upserted'
|
|
5714
|
-
| 'email_notification_deleted'
|
|
5715
5736
|
| 'available_promotions_upserted'
|
|
5716
5737
|
| 'available_promotions_deleted'
|
|
5717
5738
|
| 'available_promotions_upserted_v2'
|
|
@@ -5773,10 +5794,6 @@ declare namespace io.flow.v0.enums {
|
|
|
5773
5794
|
| 'fully_harmonized_item_upserted'
|
|
5774
5795
|
| 'import_completed_v2'
|
|
5775
5796
|
| 'import_failed_v2'
|
|
5776
|
-
| 'rule_upserted'
|
|
5777
|
-
| 'rule_deleted'
|
|
5778
|
-
| 'snapshot_upserted'
|
|
5779
|
-
| 'snapshot_deleted'
|
|
5780
5797
|
| 'label_upserted'
|
|
5781
5798
|
| 'label_deleted_v2'
|
|
5782
5799
|
| 'label_upserted_v2'
|
|
@@ -5927,6 +5944,7 @@ declare namespace io.flow.v0.enums {
|
|
|
5927
5944
|
| 'DES'
|
|
5928
5945
|
| 'DEQ'
|
|
5929
5946
|
| 'DDU';
|
|
5947
|
+
type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
5930
5948
|
type InlineWindowViewportSize =
|
|
5931
5949
|
| 'xxx_small'
|
|
5932
5950
|
| 'xx_small'
|
|
@@ -5953,7 +5971,6 @@ declare namespace io.flow.v0.enums {
|
|
|
5953
5971
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
5954
5972
|
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
5955
5973
|
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
5956
|
-
type LevyInclusion = 'tax' | 'duty';
|
|
5957
5974
|
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
5958
5975
|
type LocationErrorCode =
|
|
5959
5976
|
| 'address_required'
|
|
@@ -6377,6 +6394,19 @@ declare namespace io.flow.v0.enums {
|
|
|
6377
6394
|
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
6378
6395
|
type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
|
|
6379
6396
|
type ShippingConfigurationType = 'default' | 'variant';
|
|
6397
|
+
type ShippingLabelErrorCode =
|
|
6398
|
+
| 'generic_error'
|
|
6399
|
+
| 'cancelled_order'
|
|
6400
|
+
| 'carrier_outage'
|
|
6401
|
+
| 'catalog_issue'
|
|
6402
|
+
| 'invalid_destination'
|
|
6403
|
+
| 'invalid_origin'
|
|
6404
|
+
| 'invalid_shipping_parameters'
|
|
6405
|
+
| 'merchant_error'
|
|
6406
|
+
| 'order_not_found'
|
|
6407
|
+
| 'order_processing'
|
|
6408
|
+
| 'restricted_item'
|
|
6409
|
+
| 'unsupported_lane';
|
|
6380
6410
|
type ShopifyGrant =
|
|
6381
6411
|
| 'customer'
|
|
6382
6412
|
| 'discount'
|
|
@@ -6399,28 +6429,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6399
6429
|
type SyncStreamType = 'submitted_order' | 'placed_order';
|
|
6400
6430
|
type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
|
|
6401
6431
|
type TaxApplicability = 'none' | 'all';
|
|
6402
|
-
type TaxDutyCalculatorValidationErrorCode =
|
|
6403
|
-
| 'generic_error'
|
|
6404
|
-
| 'destination_country_not_defined'
|
|
6405
|
-
| 'destination_address_iso3166_unrecognized'
|
|
6406
|
-
| 'line_item_shipfrom_shipto_country_invalid'
|
|
6407
|
-
| 'line_item_ship_from_invalid'
|
|
6408
|
-
| 'line_item_currency_iso4217_unrecognized'
|
|
6409
|
-
| 'line_quantity_invalid'
|
|
6410
|
-
| 'line_item_quantity_invalid'
|
|
6411
|
-
| 'line_item_unit_price_precision_invalid'
|
|
6412
|
-
| 'line_item_unit_price_negative'
|
|
6413
|
-
| 'line_item_discount_amount_precision_invalid'
|
|
6414
|
-
| 'line_item_discount_amount_positive'
|
|
6415
|
-
| 'line_item_country_of_origin_iso3166_unrecognized'
|
|
6416
|
-
| 'line_item_hs_code_invalid'
|
|
6417
|
-
| 'line_item_duty_provider_invalid'
|
|
6418
|
-
| 'shipping_unit_price_precision_invalid'
|
|
6419
|
-
| 'shipping_unit_price_negative'
|
|
6420
|
-
| 'shipping_discount_amount_precision_invalid'
|
|
6421
|
-
| 'shipping_discount_amount_invalid'
|
|
6422
|
-
| 'merchant_of_record_invalid'
|
|
6423
|
-
| 'wrong_unit_specified';
|
|
6424
6432
|
type TaxReportType = 'consumer' | 'b2b';
|
|
6425
6433
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
6426
6434
|
type TaxabilityType = 'tax_rule';
|
|
@@ -6521,17 +6529,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6521
6529
|
type WebhookStatus = 'pending' | 'success' | 'failure' | 'ignored';
|
|
6522
6530
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
6523
6531
|
type ZeroAmountIndicator = 'zero' | 'free';
|
|
6524
|
-
type ZeroLevyReasonCode =
|
|
6525
|
-
| 'zero_basis'
|
|
6526
|
-
| 'zero_rate_on_goods'
|
|
6527
|
-
| 'value_rounds_to_zero'
|
|
6528
|
-
| 'order_below_de_minimis_threshold'
|
|
6529
|
-
| 'amount_below_de_minimis_threshold'
|
|
6530
|
-
| 'delivered_unpaid'
|
|
6531
|
-
| 'duty_free_domestic'
|
|
6532
|
-
| 'duty_free_intra_community'
|
|
6533
|
-
| 'duty_free_reimport'
|
|
6534
|
-
| 'duty_free_by_trade_agreement';
|
|
6535
6532
|
}
|
|
6536
6533
|
|
|
6537
6534
|
declare namespace io.flow.v0.models {
|
|
@@ -8514,19 +8511,6 @@ declare namespace io.flow.v0.models {
|
|
|
8514
8511
|
readonly phone?: string;
|
|
8515
8512
|
}
|
|
8516
8513
|
|
|
8517
|
-
interface Context {
|
|
8518
|
-
readonly id: string;
|
|
8519
|
-
readonly experiments: io.flow.v0.models.SessionContextExperiment[];
|
|
8520
|
-
}
|
|
8521
|
-
|
|
8522
|
-
interface ContextForm {
|
|
8523
|
-
readonly experiments: io.flow.v0.models.SessionContextExperiment[];
|
|
8524
|
-
}
|
|
8525
|
-
|
|
8526
|
-
interface ContextReference {
|
|
8527
|
-
readonly id: string;
|
|
8528
|
-
}
|
|
8529
|
-
|
|
8530
8514
|
interface Country {
|
|
8531
8515
|
readonly name: string;
|
|
8532
8516
|
readonly iso_3166_2: string;
|
|
@@ -9403,28 +9387,12 @@ declare namespace io.flow.v0.models {
|
|
|
9403
9387
|
readonly payment: io.flow.v0.models.EmailPaymentSummary;
|
|
9404
9388
|
}
|
|
9405
9389
|
|
|
9406
|
-
interface EmailNotificationDeleted {
|
|
9407
|
-
readonly discriminator: 'email_notification_deleted';
|
|
9408
|
-
readonly event_id: string;
|
|
9409
|
-
readonly timestamp: string;
|
|
9410
|
-
readonly organization: string;
|
|
9411
|
-
readonly notification: io.flow.v0.models.EmailNotification;
|
|
9412
|
-
}
|
|
9413
|
-
|
|
9414
9390
|
interface EmailNotificationForm {
|
|
9415
9391
|
readonly to: io.flow.v0.models.EmailRecipient;
|
|
9416
9392
|
readonly created_at: string;
|
|
9417
9393
|
readonly data: io.flow.v0.unions.EmailNotificationData;
|
|
9418
9394
|
}
|
|
9419
9395
|
|
|
9420
|
-
interface EmailNotificationUpserted {
|
|
9421
|
-
readonly discriminator: 'email_notification_upserted';
|
|
9422
|
-
readonly event_id: string;
|
|
9423
|
-
readonly timestamp: string;
|
|
9424
|
-
readonly organization: string;
|
|
9425
|
-
readonly notification: io.flow.v0.models.EmailNotification;
|
|
9426
|
-
}
|
|
9427
|
-
|
|
9428
9396
|
interface EmailPaymentSummary {
|
|
9429
9397
|
readonly refund: io.flow.v0.models.Refund;
|
|
9430
9398
|
}
|
|
@@ -9798,10 +9766,6 @@ declare namespace io.flow.v0.models {
|
|
|
9798
9766
|
readonly experience: io.flow.v0.models.Experience;
|
|
9799
9767
|
}
|
|
9800
9768
|
|
|
9801
|
-
interface ExperimentVariant {
|
|
9802
|
-
readonly key: string;
|
|
9803
|
-
}
|
|
9804
|
-
|
|
9805
9769
|
interface Expiration {
|
|
9806
9770
|
readonly month: number;
|
|
9807
9771
|
readonly year: number;
|
|
@@ -10497,6 +10461,17 @@ declare namespace io.flow.v0.models {
|
|
|
10497
10461
|
readonly label: string;
|
|
10498
10462
|
}
|
|
10499
10463
|
|
|
10464
|
+
interface IncotermIncludes {
|
|
10465
|
+
readonly duties: boolean;
|
|
10466
|
+
readonly taxes: boolean;
|
|
10467
|
+
}
|
|
10468
|
+
|
|
10469
|
+
interface IncotermSummary {
|
|
10470
|
+
readonly configuration: io.flow.v0.enums.IncotermConfiguration;
|
|
10471
|
+
readonly includes: io.flow.v0.models.IncotermIncludes;
|
|
10472
|
+
readonly reason?: string;
|
|
10473
|
+
}
|
|
10474
|
+
|
|
10500
10475
|
interface IndirectTax {
|
|
10501
10476
|
readonly number?: string;
|
|
10502
10477
|
readonly id?: string;
|
|
@@ -11194,7 +11169,6 @@ declare namespace io.flow.v0.models {
|
|
|
11194
11169
|
readonly language: io.flow.v0.models.Language;
|
|
11195
11170
|
readonly locale: io.flow.v0.models.Locale;
|
|
11196
11171
|
readonly experience: io.flow.v0.models.ExperienceGeo;
|
|
11197
|
-
readonly experiment?: io.flow.v0.models.SessionExperiment;
|
|
11198
11172
|
}
|
|
11199
11173
|
|
|
11200
11174
|
interface Locale {
|
|
@@ -11732,6 +11706,7 @@ declare namespace io.flow.v0.models {
|
|
|
11732
11706
|
readonly geo?: io.flow.v0.models.OrderGeo;
|
|
11733
11707
|
readonly device_details?: io.flow.v0.unions.DeviceDetails;
|
|
11734
11708
|
readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[];
|
|
11709
|
+
readonly incoterm_summary?: io.flow.v0.models.IncotermSummary;
|
|
11735
11710
|
}
|
|
11736
11711
|
|
|
11737
11712
|
interface OrderAddress {
|
|
@@ -12530,8 +12505,6 @@ declare namespace io.flow.v0.models {
|
|
|
12530
12505
|
readonly geo?: io.flow.v0.models.SessionGeo;
|
|
12531
12506
|
readonly experience?: io.flow.v0.models.ExperienceGeo;
|
|
12532
12507
|
readonly format?: io.flow.v0.models.SessionFormat;
|
|
12533
|
-
readonly experiment?: io.flow.v0.models.SessionExperiment;
|
|
12534
|
-
readonly context?: io.flow.v0.models.ContextReference;
|
|
12535
12508
|
}
|
|
12536
12509
|
|
|
12537
12510
|
interface OrganizationSessionAuthorization {
|
|
@@ -14765,21 +14738,6 @@ declare namespace io.flow.v0.models {
|
|
|
14765
14738
|
readonly roles: io.flow.v0.enums.FlowRole[];
|
|
14766
14739
|
}
|
|
14767
14740
|
|
|
14768
|
-
interface RuleDeleted {
|
|
14769
|
-
readonly discriminator: 'rule_deleted';
|
|
14770
|
-
readonly event_id: string;
|
|
14771
|
-
readonly timestamp: string;
|
|
14772
|
-
readonly id: string;
|
|
14773
|
-
}
|
|
14774
|
-
|
|
14775
|
-
interface RuleUpserted {
|
|
14776
|
-
readonly discriminator: 'rule_upserted';
|
|
14777
|
-
readonly event_id: string;
|
|
14778
|
-
readonly timestamp: string;
|
|
14779
|
-
readonly organization_id: string;
|
|
14780
|
-
readonly rule: io.flow.inventory.v0.models.InventoryRule;
|
|
14781
|
-
}
|
|
14782
|
-
|
|
14783
14741
|
interface Schedule {
|
|
14784
14742
|
readonly calendar?: io.flow.v0.enums.Calendar;
|
|
14785
14743
|
readonly holiday: io.flow.v0.enums.HolidayCalendar;
|
|
@@ -14852,35 +14810,11 @@ declare namespace io.flow.v0.models {
|
|
|
14852
14810
|
readonly session: string;
|
|
14853
14811
|
}
|
|
14854
14812
|
|
|
14855
|
-
interface SessionContextExperiment {
|
|
14856
|
-
readonly key: string;
|
|
14857
|
-
readonly variant?: io.flow.v0.models.ExperimentVariant;
|
|
14858
|
-
}
|
|
14859
|
-
|
|
14860
14813
|
interface SessionCurrencyFormat {
|
|
14861
14814
|
readonly symbol: io.flow.v0.enums.CurrencySymbolFormat;
|
|
14862
14815
|
readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[];
|
|
14863
14816
|
}
|
|
14864
14817
|
|
|
14865
|
-
interface SessionExperiment {
|
|
14866
|
-
readonly key: string;
|
|
14867
|
-
readonly variant?: io.flow.v0.models.SessionExperimentVariant;
|
|
14868
|
-
}
|
|
14869
|
-
|
|
14870
|
-
interface SessionExperimentForm {
|
|
14871
|
-
readonly key: string;
|
|
14872
|
-
readonly variant?: io.flow.v0.models.SessionExperimentVariantForm;
|
|
14873
|
-
}
|
|
14874
|
-
|
|
14875
|
-
interface SessionExperimentVariant {
|
|
14876
|
-
readonly key: string;
|
|
14877
|
-
readonly name: string;
|
|
14878
|
-
}
|
|
14879
|
-
|
|
14880
|
-
interface SessionExperimentVariantForm {
|
|
14881
|
-
readonly key: string;
|
|
14882
|
-
}
|
|
14883
|
-
|
|
14884
14818
|
interface SessionExpirationConfig {
|
|
14885
14819
|
readonly unit: io.flow.v0.enums.UnitOfTime;
|
|
14886
14820
|
readonly value: number;
|
|
@@ -15124,6 +15058,11 @@ declare namespace io.flow.v0.models {
|
|
|
15124
15058
|
readonly required: boolean;
|
|
15125
15059
|
}
|
|
15126
15060
|
|
|
15061
|
+
interface ShippingLabelError {
|
|
15062
|
+
readonly code: io.flow.v0.enums.ShippingLabelErrorCode;
|
|
15063
|
+
readonly messages: string[];
|
|
15064
|
+
}
|
|
15065
|
+
|
|
15127
15066
|
interface ShippingLabelHopCostItemizedEstimate {
|
|
15128
15067
|
readonly units: io.flow.v0.models.LabelUnits;
|
|
15129
15068
|
readonly base: io.flow.v0.models.LabelBase;
|
|
@@ -15614,25 +15553,6 @@ declare namespace io.flow.v0.models {
|
|
|
15614
15553
|
readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient;
|
|
15615
15554
|
}
|
|
15616
15555
|
|
|
15617
|
-
interface SnapshotDeleted {
|
|
15618
|
-
readonly discriminator: 'snapshot_deleted';
|
|
15619
|
-
readonly event_id: string;
|
|
15620
|
-
readonly timestamp: string;
|
|
15621
|
-
readonly snapshot_id: string;
|
|
15622
|
-
}
|
|
15623
|
-
|
|
15624
|
-
interface SnapshotUpserted {
|
|
15625
|
-
readonly discriminator: 'snapshot_upserted';
|
|
15626
|
-
readonly event_id: string;
|
|
15627
|
-
readonly timestamp: string;
|
|
15628
|
-
readonly organization: string;
|
|
15629
|
-
readonly snapshot_id: string;
|
|
15630
|
-
readonly available: number;
|
|
15631
|
-
readonly center_key: string;
|
|
15632
|
-
readonly item_number: string;
|
|
15633
|
-
readonly quantity: number;
|
|
15634
|
-
}
|
|
15635
|
-
|
|
15636
15556
|
interface SolidusProductExportType {
|
|
15637
15557
|
readonly discriminator: 'solidus_product_export_type';
|
|
15638
15558
|
readonly numbers?: string[];
|
|
@@ -15670,14 +15590,6 @@ declare namespace io.flow.v0.models {
|
|
|
15670
15590
|
readonly statement: io.flow.v0.models.Statement;
|
|
15671
15591
|
}
|
|
15672
15592
|
|
|
15673
|
-
interface StreetAddress {
|
|
15674
|
-
readonly streets?: string[];
|
|
15675
|
-
readonly city?: string;
|
|
15676
|
-
readonly province?: string;
|
|
15677
|
-
readonly postal?: string;
|
|
15678
|
-
readonly country?: string;
|
|
15679
|
-
}
|
|
15680
|
-
|
|
15681
15593
|
interface StripeAuthenticationData {
|
|
15682
15594
|
readonly discriminator: 'stripe_authentication_data';
|
|
15683
15595
|
readonly secret_key_reference: string;
|
|
@@ -15905,92 +15817,6 @@ declare namespace io.flow.v0.models {
|
|
|
15905
15817
|
readonly deminimis?: io.flow.v0.unions.Deminimis;
|
|
15906
15818
|
}
|
|
15907
15819
|
|
|
15908
|
-
interface TaxDutyCalculatorValidationError {
|
|
15909
|
-
readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
|
|
15910
|
-
readonly messages: string[];
|
|
15911
|
-
}
|
|
15912
|
-
|
|
15913
|
-
interface TaxDutyQuote {
|
|
15914
|
-
readonly id: string;
|
|
15915
|
-
readonly primary_identifier: string;
|
|
15916
|
-
readonly attributes?: Record<string, string>;
|
|
15917
|
-
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
15918
|
-
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
15919
|
-
readonly destination: io.flow.v0.models.StreetAddress;
|
|
15920
|
-
readonly quote_date: string;
|
|
15921
|
-
readonly currency: string;
|
|
15922
|
-
readonly lines: io.flow.v0.models.TaxDutyQuoteLineItem[];
|
|
15923
|
-
readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShipping[];
|
|
15924
|
-
readonly total_values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
15925
|
-
}
|
|
15926
|
-
|
|
15927
|
-
interface TaxDutyQuoteFeeValue {
|
|
15928
|
-
readonly amount: number;
|
|
15929
|
-
readonly description: string;
|
|
15930
|
-
readonly amount_refundable_on_return: number;
|
|
15931
|
-
}
|
|
15932
|
-
|
|
15933
|
-
interface TaxDutyQuoteForm {
|
|
15934
|
-
readonly primary_identifier: string;
|
|
15935
|
-
readonly attributes?: Record<string, string>;
|
|
15936
|
-
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
15937
|
-
readonly destination: io.flow.v0.models.StreetAddress;
|
|
15938
|
-
readonly currency: string;
|
|
15939
|
-
readonly lines: io.flow.v0.models.TaxDutyQuoteLineItemForm[];
|
|
15940
|
-
readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShippingForm[];
|
|
15941
|
-
readonly includes?: io.flow.v0.enums.LevyInclusion[];
|
|
15942
|
-
}
|
|
15943
|
-
|
|
15944
|
-
interface TaxDutyQuoteLineItem {
|
|
15945
|
-
readonly primary_identifier: string;
|
|
15946
|
-
readonly attributes?: Record<string, string>;
|
|
15947
|
-
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
15948
|
-
readonly quantity: number;
|
|
15949
|
-
readonly unit_values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
15950
|
-
readonly country_of_origin: string;
|
|
15951
|
-
readonly hs_code: string;
|
|
15952
|
-
}
|
|
15953
|
-
|
|
15954
|
-
interface TaxDutyQuoteLineItemForm {
|
|
15955
|
-
readonly primary_identifier: string;
|
|
15956
|
-
readonly attributes?: Record<string, string>;
|
|
15957
|
-
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
15958
|
-
readonly quantity: number;
|
|
15959
|
-
readonly unit_price: number;
|
|
15960
|
-
readonly unit_weight?: io.flow.v0.models.Measurement;
|
|
15961
|
-
readonly country_of_origin?: string;
|
|
15962
|
-
readonly hs_code?: string;
|
|
15963
|
-
readonly includes: io.flow.v0.enums.LevyInclusion[];
|
|
15964
|
-
}
|
|
15965
|
-
|
|
15966
|
-
interface TaxDutyQuoteSimpleLevyValue {
|
|
15967
|
-
readonly discriminator: 'tax_duty_quote_simple_levy_value';
|
|
15968
|
-
readonly amount: number;
|
|
15969
|
-
readonly rate: number;
|
|
15970
|
-
readonly description: string;
|
|
15971
|
-
readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[];
|
|
15972
|
-
readonly amount_refundable_on_return: number;
|
|
15973
|
-
}
|
|
15974
|
-
|
|
15975
|
-
interface TaxDutyQuoteSimpleShipping {
|
|
15976
|
-
readonly values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
15977
|
-
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
15978
|
-
}
|
|
15979
|
-
|
|
15980
|
-
interface TaxDutyQuoteSimpleShippingForm {
|
|
15981
|
-
readonly price: number;
|
|
15982
|
-
readonly includes: io.flow.v0.enums.LevyInclusion[];
|
|
15983
|
-
readonly ship_from?: io.flow.v0.models.StreetAddress;
|
|
15984
|
-
}
|
|
15985
|
-
|
|
15986
|
-
interface TaxDutyQuoteValues {
|
|
15987
|
-
readonly price: number;
|
|
15988
|
-
readonly duty: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
15989
|
-
readonly tax: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
15990
|
-
readonly fees: io.flow.v0.models.TaxDutyQuoteFeeValue;
|
|
15991
|
-
readonly total: number;
|
|
15992
|
-
}
|
|
15993
|
-
|
|
15994
15820
|
interface TaxRegistration {
|
|
15995
15821
|
readonly id: string;
|
|
15996
15822
|
readonly key: string;
|
|
@@ -16227,6 +16053,8 @@ declare namespace io.flow.v0.models {
|
|
|
16227
16053
|
readonly status: io.flow.v0.enums.TrackingStatus;
|
|
16228
16054
|
readonly timestamp: string;
|
|
16229
16055
|
readonly description?: string;
|
|
16056
|
+
readonly aggregator_status_code?: string;
|
|
16057
|
+
readonly created_at?: string;
|
|
16230
16058
|
}
|
|
16231
16059
|
|
|
16232
16060
|
interface TrackingEventForm {
|
|
@@ -16954,8 +16782,6 @@ declare namespace io.flow.v0.unions {
|
|
|
16954
16782
|
| io.flow.v0.models.CustomerDeleted
|
|
16955
16783
|
| io.flow.v0.models.CustomerAddressBookContactUpserted
|
|
16956
16784
|
| io.flow.v0.models.CustomerAddressBookContactDeleted
|
|
16957
|
-
| io.flow.v0.models.EmailNotificationUpserted
|
|
16958
|
-
| io.flow.v0.models.EmailNotificationDeleted
|
|
16959
16785
|
| io.flow.v0.models.AvailablePromotionsUpserted
|
|
16960
16786
|
| io.flow.v0.models.AvailablePromotionsDeleted
|
|
16961
16787
|
| io.flow.v0.models.AvailablePromotionsUpsertedV2
|
|
@@ -17017,10 +16843,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17017
16843
|
| io.flow.v0.models.FullyHarmonizedItemUpserted
|
|
17018
16844
|
| io.flow.v0.models.ImportCompletedV2
|
|
17019
16845
|
| io.flow.v0.models.ImportFailedV2
|
|
17020
|
-
| io.flow.v0.models.RuleUpserted
|
|
17021
|
-
| io.flow.v0.models.RuleDeleted
|
|
17022
|
-
| io.flow.v0.models.SnapshotUpserted
|
|
17023
|
-
| io.flow.v0.models.SnapshotDeleted
|
|
17024
16846
|
| io.flow.v0.models.LabelUpserted
|
|
17025
16847
|
| io.flow.v0.models.LabelDeletedV2
|
|
17026
16848
|
| io.flow.v0.models.LabelUpsertedV2
|
|
@@ -17379,7 +17201,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17379
17201
|
| io.flow.v0.models.ShopifyCartAddSingleForm
|
|
17380
17202
|
| io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
17381
17203
|
type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
|
|
17382
|
-
type TaxDutyQuoteLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
17383
17204
|
type TaxSetting =
|
|
17384
17205
|
| io.flow.v0.models.AvalaraTaxSetting
|
|
17385
17206
|
| io.flow.v0.models.AvalaraTaxCsvSetting;
|
|
@@ -17834,9 +17655,6 @@ export type ConsumerInvoiceReference =
|
|
|
17834
17655
|
export type ConsumerInvoiceStatus = io.flow.v0.enums.ConsumerInvoiceStatus;
|
|
17835
17656
|
export type ConsumerInvoiceUpserted = io.flow.v0.models.ConsumerInvoiceUpserted;
|
|
17836
17657
|
export type Contact = io.flow.v0.models.Contact;
|
|
17837
|
-
export type Context = io.flow.v0.models.Context;
|
|
17838
|
-
export type ContextForm = io.flow.v0.models.ContextForm;
|
|
17839
|
-
export type ContextReference = io.flow.v0.models.ContextReference;
|
|
17840
17658
|
export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
|
|
17841
17659
|
export type Country = io.flow.v0.models.Country;
|
|
17842
17660
|
export type CountryAvailability = io.flow.v0.models.CountryAvailability;
|
|
@@ -18025,11 +17843,7 @@ export type EmailNotificationAbandonedOrder =
|
|
|
18025
17843
|
export type EmailNotificationData = io.flow.v0.unions.EmailNotificationData;
|
|
18026
17844
|
export type EmailNotificationDataRefund =
|
|
18027
17845
|
io.flow.v0.models.EmailNotificationDataRefund;
|
|
18028
|
-
export type EmailNotificationDeleted =
|
|
18029
|
-
io.flow.v0.models.EmailNotificationDeleted;
|
|
18030
17846
|
export type EmailNotificationForm = io.flow.v0.models.EmailNotificationForm;
|
|
18031
|
-
export type EmailNotificationUpserted =
|
|
18032
|
-
io.flow.v0.models.EmailNotificationUpserted;
|
|
18033
17847
|
export type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
|
|
18034
17848
|
export type EmailRecipient = io.flow.v0.models.EmailRecipient;
|
|
18035
17849
|
export type EmailVerification = io.flow.v0.models.EmailVerification;
|
|
@@ -18137,7 +17951,6 @@ export type ExperienceSummary = io.flow.v0.models.ExperienceSummary;
|
|
|
18137
17951
|
export type ExperienceUpserted = io.flow.v0.models.ExperienceUpserted;
|
|
18138
17952
|
export type ExperienceUpsertedV2 = io.flow.v0.models.ExperienceUpsertedV2;
|
|
18139
17953
|
export type ExperienceVersion = io.flow.v0.models.ExperienceVersion;
|
|
18140
|
-
export type ExperimentVariant = io.flow.v0.models.ExperimentVariant;
|
|
18141
17954
|
export type Expiration = io.flow.v0.models.Expiration;
|
|
18142
17955
|
export type Export = io.flow.v0.models.Export;
|
|
18143
17956
|
export type ExportDelivery = io.flow.v0.unions.ExportDelivery;
|
|
@@ -18298,6 +18111,9 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
18298
18111
|
export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
18299
18112
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
18300
18113
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
18114
|
+
export type IncotermConfiguration = io.flow.v0.enums.IncotermConfiguration;
|
|
18115
|
+
export type IncotermIncludes = io.flow.v0.models.IncotermIncludes;
|
|
18116
|
+
export type IncotermSummary = io.flow.v0.models.IncotermSummary;
|
|
18301
18117
|
export type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
18302
18118
|
export type Individual = io.flow.v0.models.Individual;
|
|
18303
18119
|
export type InlineActionConfiguration =
|
|
@@ -18407,7 +18223,6 @@ export type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
|
18407
18223
|
export type Language = io.flow.v0.models.Language;
|
|
18408
18224
|
export type LargePackageServiceFee = io.flow.v0.models.LargePackageServiceFee;
|
|
18409
18225
|
export type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
18410
|
-
export type LevyInclusion = io.flow.v0.enums.LevyInclusion;
|
|
18411
18226
|
export type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
18412
18227
|
export type Line = io.flow.v0.models.Line;
|
|
18413
18228
|
export type LineItem = io.flow.v0.models.LineItem;
|
|
@@ -19216,8 +19031,6 @@ export type Rounding = io.flow.v0.models.Rounding;
|
|
|
19216
19031
|
export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
|
|
19217
19032
|
export type RoundingType = io.flow.v0.enums.RoundingType;
|
|
19218
19033
|
export type RouteAudit = io.flow.v0.models.RouteAudit;
|
|
19219
|
-
export type RuleDeleted = io.flow.v0.models.RuleDeleted;
|
|
19220
|
-
export type RuleUpserted = io.flow.v0.models.RuleUpserted;
|
|
19221
19034
|
export type Schedule = io.flow.v0.models.Schedule;
|
|
19222
19035
|
export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
|
|
19223
19036
|
export type ScheduledExport = io.flow.v0.models.ScheduledExport;
|
|
@@ -19238,15 +19051,7 @@ export type Session = io.flow.v0.unions.Session;
|
|
|
19238
19051
|
export type SessionAuthorization = io.flow.v0.unions.SessionAuthorization;
|
|
19239
19052
|
export type SessionAuthorizationForm =
|
|
19240
19053
|
io.flow.v0.models.SessionAuthorizationForm;
|
|
19241
|
-
export type SessionContextExperiment =
|
|
19242
|
-
io.flow.v0.models.SessionContextExperiment;
|
|
19243
19054
|
export type SessionCurrencyFormat = io.flow.v0.models.SessionCurrencyFormat;
|
|
19244
|
-
export type SessionExperiment = io.flow.v0.models.SessionExperiment;
|
|
19245
|
-
export type SessionExperimentForm = io.flow.v0.models.SessionExperimentForm;
|
|
19246
|
-
export type SessionExperimentVariant =
|
|
19247
|
-
io.flow.v0.models.SessionExperimentVariant;
|
|
19248
|
-
export type SessionExperimentVariantForm =
|
|
19249
|
-
io.flow.v0.models.SessionExperimentVariantForm;
|
|
19250
19055
|
export type SessionExpirationConfig = io.flow.v0.models.SessionExpirationConfig;
|
|
19251
19056
|
export type SessionForm = io.flow.v0.models.SessionForm;
|
|
19252
19057
|
export type SessionFormat = io.flow.v0.models.SessionFormat;
|
|
@@ -19299,6 +19104,8 @@ export type ShippingConfigurationVersion =
|
|
|
19299
19104
|
io.flow.v0.models.ShippingConfigurationVersion;
|
|
19300
19105
|
export type ShippingLabel = io.flow.v0.models.ShippingLabel;
|
|
19301
19106
|
export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
|
|
19107
|
+
export type ShippingLabelError = io.flow.v0.models.ShippingLabelError;
|
|
19108
|
+
export type ShippingLabelErrorCode = io.flow.v0.enums.ShippingLabelErrorCode;
|
|
19302
19109
|
export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
|
|
19303
19110
|
export type ShippingLabelHopCostItemizedEstimate =
|
|
19304
19111
|
io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
|
|
@@ -19401,8 +19208,6 @@ export type ShopifyVariantInventoryMetafield =
|
|
|
19401
19208
|
export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
|
|
19402
19209
|
export type SinglePackageShippingNotificationForm =
|
|
19403
19210
|
io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
19404
|
-
export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
|
|
19405
|
-
export type SnapshotUpserted = io.flow.v0.models.SnapshotUpserted;
|
|
19406
19211
|
export type SolidusProductExportType =
|
|
19407
19212
|
io.flow.v0.models.SolidusProductExportType;
|
|
19408
19213
|
export type SolidusVariantExportType =
|
|
@@ -19414,7 +19219,6 @@ export type StatementDeleted = io.flow.v0.models.StatementDeleted;
|
|
|
19414
19219
|
export type StatementUpserted = io.flow.v0.models.StatementUpserted;
|
|
19415
19220
|
export type StoredMethodUsageStep = io.flow.v0.enums.StoredMethodUsageStep;
|
|
19416
19221
|
export type Strategy = io.flow.v0.enums.Strategy;
|
|
19417
|
-
export type StreetAddress = io.flow.v0.models.StreetAddress;
|
|
19418
19222
|
export type StripeAuthenticationData =
|
|
19419
19223
|
io.flow.v0.models.StripeAuthenticationData;
|
|
19420
19224
|
export type StripeAuthenticationDataForm =
|
|
@@ -19462,24 +19266,6 @@ export type SyncStreamType = io.flow.v0.enums.SyncStreamType;
|
|
|
19462
19266
|
export type SyncUnitOfTime = io.flow.v0.enums.SyncUnitOfTime;
|
|
19463
19267
|
export type Tax = io.flow.v0.models.Tax;
|
|
19464
19268
|
export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
|
|
19465
|
-
export type TaxDutyCalculatorValidationError =
|
|
19466
|
-
io.flow.v0.models.TaxDutyCalculatorValidationError;
|
|
19467
|
-
export type TaxDutyCalculatorValidationErrorCode =
|
|
19468
|
-
io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
|
|
19469
|
-
export type TaxDutyQuote = io.flow.v0.models.TaxDutyQuote;
|
|
19470
|
-
export type TaxDutyQuoteFeeValue = io.flow.v0.models.TaxDutyQuoteFeeValue;
|
|
19471
|
-
export type TaxDutyQuoteForm = io.flow.v0.models.TaxDutyQuoteForm;
|
|
19472
|
-
export type TaxDutyQuoteLevyValue = io.flow.v0.unions.TaxDutyQuoteLevyValue;
|
|
19473
|
-
export type TaxDutyQuoteLineItem = io.flow.v0.models.TaxDutyQuoteLineItem;
|
|
19474
|
-
export type TaxDutyQuoteLineItemForm =
|
|
19475
|
-
io.flow.v0.models.TaxDutyQuoteLineItemForm;
|
|
19476
|
-
export type TaxDutyQuoteSimpleLevyValue =
|
|
19477
|
-
io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
19478
|
-
export type TaxDutyQuoteSimpleShipping =
|
|
19479
|
-
io.flow.v0.models.TaxDutyQuoteSimpleShipping;
|
|
19480
|
-
export type TaxDutyQuoteSimpleShippingForm =
|
|
19481
|
-
io.flow.v0.models.TaxDutyQuoteSimpleShippingForm;
|
|
19482
|
-
export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
|
|
19483
19269
|
export type TaxRegistration = io.flow.v0.models.TaxRegistration;
|
|
19484
19270
|
export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
|
|
19485
19271
|
export type TaxReport = io.flow.v0.models.TaxReport;
|
|
@@ -19663,5 +19449,4 @@ export type WithholdingDeduction = io.flow.v0.models.WithholdingDeduction;
|
|
|
19663
19449
|
export type WithholdingDeductionType =
|
|
19664
19450
|
io.flow.v0.enums.WithholdingDeductionType;
|
|
19665
19451
|
export type ZeroAmountIndicator = io.flow.v0.enums.ZeroAmountIndicator;
|
|
19666
|
-
export type ZeroLevyReasonCode = io.flow.v0.enums.ZeroLevyReasonCode;
|
|
19667
19452
|
export type Zone = io.flow.v0.models.Zone;
|