@flowio/types 9.4.4 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +149 -28
- package/dist/api.d.ts +21 -23
- package/package.json +2 -2
- package/src/api-internal.ts +186 -25
- package/src/api.ts +35 -25
package/src/api-internal.ts
CHANGED
|
@@ -132,6 +132,17 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
declare namespace io.flow.experience.v0.enums {
|
|
135
|
+
type AddressFieldName =
|
|
136
|
+
| 'first_name'
|
|
137
|
+
| 'last_name'
|
|
138
|
+
| 'street_1'
|
|
139
|
+
| 'street_2'
|
|
140
|
+
| 'city'
|
|
141
|
+
| 'province'
|
|
142
|
+
| 'postal'
|
|
143
|
+
| 'country'
|
|
144
|
+
| 'phone'
|
|
145
|
+
| 'company';
|
|
135
146
|
type CreditPaymentErrorCode =
|
|
136
147
|
| 'generic_error'
|
|
137
148
|
| 'invalid_order_number'
|
|
@@ -181,6 +192,15 @@ declare namespace io.flow.experience.v0.models {
|
|
|
181
192
|
readonly country: string;
|
|
182
193
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
183
194
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
195
|
+
readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
interface AddressConfigurationFieldPlacement {
|
|
199
|
+
readonly name: io.flow.experience.v0.enums.AddressFieldName;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
interface AddressConfigurationFormat {
|
|
203
|
+
readonly placements: io.flow.experience.v0.models.AddressConfigurationFieldPlacement[];
|
|
184
204
|
}
|
|
185
205
|
|
|
186
206
|
interface AddressConfigurationProvince {
|
|
@@ -304,10 +324,6 @@ declare namespace io.flow.experience.v0.models {
|
|
|
304
324
|
readonly value: string;
|
|
305
325
|
}
|
|
306
326
|
|
|
307
|
-
interface CheckoutSettings {
|
|
308
|
-
readonly configuration: io.flow.experience.v0.models.ExperienceConfigurationReference;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
327
|
interface CreditPayment {
|
|
312
328
|
readonly id: string;
|
|
313
329
|
readonly order: io.flow.experience.v0.unions.ExpandableOrder;
|
|
@@ -409,6 +425,10 @@ declare namespace io.flow.experience.v0.models {
|
|
|
409
425
|
readonly status?: io.flow.experience.v0.enums.ExperienceStatus;
|
|
410
426
|
}
|
|
411
427
|
|
|
428
|
+
interface ExperienceCheckoutConfigurationSettings {
|
|
429
|
+
readonly configuration: io.flow.experience.v0.models.ExperienceConfigurationReference;
|
|
430
|
+
}
|
|
431
|
+
|
|
412
432
|
interface ExperienceCheckoutSettings {
|
|
413
433
|
readonly id: string;
|
|
414
434
|
readonly experience: io.flow.experience.v0.models.ExperienceOverview;
|
|
@@ -571,7 +591,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
571
591
|
readonly delivered_duty: io.flow.experience.v0.models.DeliveredDutySetting;
|
|
572
592
|
readonly pricing_settings?: io.flow.experience.v0.models.PricingSettings;
|
|
573
593
|
readonly logistics_settings?: io.flow.experience.v0.models.LogisticsSettings;
|
|
574
|
-
readonly checkout_settings?: io.flow.experience.v0.models.
|
|
594
|
+
readonly checkout_settings?: io.flow.experience.v0.models.ExperienceCheckoutConfigurationSettings;
|
|
575
595
|
}
|
|
576
596
|
|
|
577
597
|
interface ExperienceStatusForm {
|
|
@@ -1524,6 +1544,11 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1524
1544
|
readonly sort?: string;
|
|
1525
1545
|
}
|
|
1526
1546
|
|
|
1547
|
+
interface HarmonizationTariffCodesExportType {
|
|
1548
|
+
readonly discriminator: 'harmonization_tariff_codes_export_type';
|
|
1549
|
+
readonly sort?: string;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1527
1552
|
interface LandedCostItem {
|
|
1528
1553
|
readonly number: string;
|
|
1529
1554
|
readonly origin: string;
|
|
@@ -1609,6 +1634,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
1609
1634
|
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
|
|
1610
1635
|
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
|
|
1611
1636
|
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
|
|
1637
|
+
| io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
|
|
1612
1638
|
| io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
|
|
1613
1639
|
| io.flow.RESERVED_WORD_export.v0.models.OrderExportType
|
|
1614
1640
|
| io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
|
|
@@ -2245,6 +2271,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2245
2271
|
readonly challenge_text?: string;
|
|
2246
2272
|
readonly challenge_cipher?: string;
|
|
2247
2273
|
readonly token_type?: io.flow.payment.v0.enums.TokenType;
|
|
2274
|
+
readonly requested_currency?: string;
|
|
2248
2275
|
}
|
|
2249
2276
|
|
|
2250
2277
|
interface CardNonceForm {
|
|
@@ -3699,7 +3726,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3699
3726
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
3700
3727
|
readonly payment_method_types?: string[];
|
|
3701
3728
|
readonly receipt_email?: string;
|
|
3702
|
-
readonly save_payment_method
|
|
3729
|
+
readonly save_payment_method?: boolean;
|
|
3703
3730
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3704
3731
|
}
|
|
3705
3732
|
|
|
@@ -3720,7 +3747,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3720
3747
|
readonly payment_method_types?: string[];
|
|
3721
3748
|
readonly receipt_email?: string;
|
|
3722
3749
|
readonly return_url?: string;
|
|
3723
|
-
readonly save_payment_method
|
|
3750
|
+
readonly save_payment_method?: boolean;
|
|
3724
3751
|
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
3725
3752
|
readonly statement_descriptor?: string;
|
|
3726
3753
|
readonly statement_descriptor_suffix?: string;
|
|
@@ -3737,7 +3764,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3737
3764
|
readonly payment_method?: string;
|
|
3738
3765
|
readonly payment_method_types?: string[];
|
|
3739
3766
|
readonly receipt_email?: string;
|
|
3740
|
-
readonly save_payment_method
|
|
3767
|
+
readonly save_payment_method?: boolean;
|
|
3741
3768
|
readonly statement_descriptor?: string;
|
|
3742
3769
|
readonly statement_descriptor_suffix?: string;
|
|
3743
3770
|
readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
|
|
@@ -3809,6 +3836,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3809
3836
|
readonly object: string;
|
|
3810
3837
|
readonly amount: number;
|
|
3811
3838
|
readonly charge: string;
|
|
3839
|
+
readonly payment_intent?: string;
|
|
3812
3840
|
readonly created: number;
|
|
3813
3841
|
readonly currency: string;
|
|
3814
3842
|
readonly status: io.flow.stripe.v0.enums.RefundStatus;
|
|
@@ -3821,6 +3849,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3821
3849
|
|
|
3822
3850
|
interface RefundRequest {
|
|
3823
3851
|
readonly charge: string;
|
|
3852
|
+
readonly payment_intent?: string;
|
|
3824
3853
|
readonly amount?: number;
|
|
3825
3854
|
readonly reason?: io.flow.stripe.v0.enums.RefundReason;
|
|
3826
3855
|
readonly refund_application_fee?: boolean;
|
|
@@ -3933,6 +3962,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3933
3962
|
readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
|
|
3934
3963
|
readonly decline_code?: string;
|
|
3935
3964
|
readonly param?: string;
|
|
3965
|
+
readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
|
|
3936
3966
|
}
|
|
3937
3967
|
|
|
3938
3968
|
interface StripeEvent {
|
|
@@ -4033,6 +4063,10 @@ declare namespace io.flow.customer.v0.models {
|
|
|
4033
4063
|
readonly last_used?: io.flow.customer.v0.models.CustomerLastUsed;
|
|
4034
4064
|
}
|
|
4035
4065
|
|
|
4066
|
+
interface CustomerClientToken {
|
|
4067
|
+
readonly token: string;
|
|
4068
|
+
}
|
|
4069
|
+
|
|
4036
4070
|
interface CustomerForm {
|
|
4037
4071
|
readonly number: string;
|
|
4038
4072
|
readonly email?: string;
|
|
@@ -6498,6 +6532,14 @@ declare namespace io.flow.harmonization.internal.event.v0.models {
|
|
|
6498
6532
|
readonly destinations: io.flow.reference.v0.models.Country[];
|
|
6499
6533
|
}
|
|
6500
6534
|
|
|
6535
|
+
interface TariffCodesExport {
|
|
6536
|
+
readonly discriminator: 'tariff_codes_export';
|
|
6537
|
+
readonly event_id: string;
|
|
6538
|
+
readonly timestamp: string;
|
|
6539
|
+
readonly organization: string;
|
|
6540
|
+
readonly export_id: string;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6501
6543
|
interface UnharmonizedItemsExport {
|
|
6502
6544
|
readonly discriminator: 'unharmonized_items_export';
|
|
6503
6545
|
readonly event_id: string;
|
|
@@ -6519,7 +6561,8 @@ declare namespace io.flow.harmonization.internal.event.v0.unions {
|
|
|
6519
6561
|
| io.flow.harmonization.internal.event.v0.models.AllItemsExport
|
|
6520
6562
|
| io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export
|
|
6521
6563
|
| io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport
|
|
6522
|
-
| io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
|
|
6564
|
+
| io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
|
|
6565
|
+
| io.flow.harmonization.internal.event.v0.models.TariffCodesExport;
|
|
6523
6566
|
type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
|
|
6524
6567
|
type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
|
|
6525
6568
|
type HarmonizationSugestionEvent =
|
|
@@ -7131,6 +7174,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7131
7174
|
readonly external_id: string;
|
|
7132
7175
|
readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
|
|
7133
7176
|
readonly base_currency: string;
|
|
7177
|
+
readonly funding_currency: string;
|
|
7134
7178
|
readonly country: string;
|
|
7135
7179
|
}
|
|
7136
7180
|
|
|
@@ -7139,6 +7183,7 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
7139
7183
|
readonly organization_id: string;
|
|
7140
7184
|
readonly external_id: string;
|
|
7141
7185
|
readonly base_currency: string;
|
|
7186
|
+
readonly funding_currency: string;
|
|
7142
7187
|
readonly country: string;
|
|
7143
7188
|
}
|
|
7144
7189
|
|
|
@@ -9126,7 +9171,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
9126
9171
|
}
|
|
9127
9172
|
|
|
9128
9173
|
interface ShopifyGrantsCheck {
|
|
9129
|
-
readonly
|
|
9174
|
+
readonly placeholder: string;
|
|
9130
9175
|
}
|
|
9131
9176
|
|
|
9132
9177
|
interface ShopifyOrderAuthorization {
|
|
@@ -9276,7 +9321,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
9276
9321
|
}
|
|
9277
9322
|
|
|
9278
9323
|
interface ShopifyWebhookEvent {
|
|
9279
|
-
readonly
|
|
9324
|
+
readonly placeholder: string;
|
|
9280
9325
|
}
|
|
9281
9326
|
|
|
9282
9327
|
interface ShopifyWebhookForm {
|
|
@@ -9539,6 +9584,13 @@ declare namespace io.flow.content.internal.v0.models {
|
|
|
9539
9584
|
readonly paypal?: io.flow.content.internal.v0.models.ApmContent;
|
|
9540
9585
|
}
|
|
9541
9586
|
|
|
9587
|
+
interface ContentLabel {
|
|
9588
|
+
readonly discriminator: 'content_label';
|
|
9589
|
+
readonly key: string;
|
|
9590
|
+
readonly format: io.flow.content.internal.v0.enums.Format;
|
|
9591
|
+
readonly value: string;
|
|
9592
|
+
}
|
|
9593
|
+
|
|
9542
9594
|
interface ContentSchema {
|
|
9543
9595
|
readonly key: string;
|
|
9544
9596
|
readonly description?: string;
|
|
@@ -9673,6 +9725,7 @@ declare namespace io.flow.content.internal.v0.unions {
|
|
|
9673
9725
|
| io.flow.content.internal.v0.models.Dict
|
|
9674
9726
|
| io.flow.content.internal.v0.models.Href
|
|
9675
9727
|
| io.flow.content.internal.v0.models.Label
|
|
9728
|
+
| io.flow.content.internal.v0.models.ContentLabel
|
|
9676
9729
|
| io.flow.content.internal.v0.models.Load;
|
|
9677
9730
|
type LocalizableContent =
|
|
9678
9731
|
| io.flow.content.internal.v0.models.LocalizableContentReference
|
|
@@ -9775,7 +9828,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9775
9828
|
interface MarketingGatewayFeed {
|
|
9776
9829
|
readonly id: string;
|
|
9777
9830
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
9778
|
-
readonly experience
|
|
9831
|
+
readonly experience?: io.flow.common.v0.models.ExperienceSummary;
|
|
9779
9832
|
readonly schema: io.flow.marketing.gateway.v0.models.MarketingGatewaySchemaSummary;
|
|
9780
9833
|
readonly filter: io.flow.marketing.gateway.v0.models.MarketingGatewayFilterSummary;
|
|
9781
9834
|
readonly country: string;
|
|
@@ -10976,6 +11029,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
10976
11029
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
10977
11030
|
readonly payment_conditions: string;
|
|
10978
11031
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
11032
|
+
readonly center_key?: string;
|
|
10979
11033
|
}
|
|
10980
11034
|
|
|
10981
11035
|
interface BankPayment {
|
|
@@ -11236,6 +11290,11 @@ declare namespace io.flow.billing.internal.v0.unions {
|
|
|
11236
11290
|
|
|
11237
11291
|
declare namespace io.flow.harmonization.internal.v0.enums {
|
|
11238
11292
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
11293
|
+
type DutyRateSource =
|
|
11294
|
+
| 'tariff_code_rate'
|
|
11295
|
+
| 'compound_rate'
|
|
11296
|
+
| 'csv_fallback_rate'
|
|
11297
|
+
| 'hardcoded_rate';
|
|
11239
11298
|
type EmptyAttribute = 'irrelevant';
|
|
11240
11299
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
11241
11300
|
type ItemClassificationStatus =
|
|
@@ -11363,6 +11422,7 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11363
11422
|
|
|
11364
11423
|
interface CustomsDetails {
|
|
11365
11424
|
readonly tariff_eligibility_data: io.flow.harmonization.internal.v0.unions.TariffEligibilityData[];
|
|
11425
|
+
readonly compliance_data: io.flow.harmonization.internal.v0.unions.ComplianceData[];
|
|
11366
11426
|
readonly item_customs_details: io.flow.harmonization.internal.v0.models.ItemCustomsDetails[];
|
|
11367
11427
|
}
|
|
11368
11428
|
|
|
@@ -11377,6 +11437,19 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11377
11437
|
readonly duty_rate_v2?: io.flow.duty.internal.v0.models.DutyRate;
|
|
11378
11438
|
}
|
|
11379
11439
|
|
|
11440
|
+
interface DutyInternalRate {
|
|
11441
|
+
readonly id: string;
|
|
11442
|
+
readonly hs6: string;
|
|
11443
|
+
readonly origin: string;
|
|
11444
|
+
readonly destination: string;
|
|
11445
|
+
readonly tariff_code: string;
|
|
11446
|
+
readonly name: string;
|
|
11447
|
+
readonly long_name?: string;
|
|
11448
|
+
readonly duty_expression: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
11449
|
+
readonly source: io.flow.harmonization.internal.v0.enums.DutyRateSource;
|
|
11450
|
+
readonly position: number;
|
|
11451
|
+
}
|
|
11452
|
+
|
|
11380
11453
|
interface HarmonizationCountries {
|
|
11381
11454
|
readonly origins: string[];
|
|
11382
11455
|
readonly destinations: string[];
|
|
@@ -11547,6 +11620,18 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11547
11620
|
readonly construction?: io.flow.harmonization.internal.v0.models.AttributeLabel;
|
|
11548
11621
|
}
|
|
11549
11622
|
|
|
11623
|
+
interface RateNameSummary {
|
|
11624
|
+
readonly name: string;
|
|
11625
|
+
readonly long_name?: string;
|
|
11626
|
+
readonly matching_rates_percentage: number;
|
|
11627
|
+
}
|
|
11628
|
+
|
|
11629
|
+
interface RatesNamesSummary {
|
|
11630
|
+
readonly origin: io.flow.reference.v0.models.Country;
|
|
11631
|
+
readonly destination: io.flow.reference.v0.models.Country;
|
|
11632
|
+
readonly summaries: io.flow.harmonization.internal.v0.models.RateNameSummary[];
|
|
11633
|
+
}
|
|
11634
|
+
|
|
11550
11635
|
interface RegisteredExporterTariffEligibilityData {
|
|
11551
11636
|
readonly discriminator: 'rex';
|
|
11552
11637
|
readonly number: string;
|
|
@@ -11623,6 +11708,12 @@ declare namespace io.flow.harmonization.internal.v0.models {
|
|
|
11623
11708
|
readonly name?: string;
|
|
11624
11709
|
readonly address?: string;
|
|
11625
11710
|
}
|
|
11711
|
+
|
|
11712
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
11713
|
+
readonly discriminator: 'weee';
|
|
11714
|
+
readonly label: string;
|
|
11715
|
+
readonly number: string;
|
|
11716
|
+
}
|
|
11626
11717
|
}
|
|
11627
11718
|
|
|
11628
11719
|
declare namespace io.flow.harmonization.internal.v0.unions {
|
|
@@ -11637,6 +11728,7 @@ declare namespace io.flow.harmonization.internal.v0.unions {
|
|
|
11637
11728
|
}
|
|
11638
11729
|
| io.flow.harmonization.internal.v0.models.SupportedLabels;
|
|
11639
11730
|
|
|
11731
|
+
type ComplianceData = io.flow.harmonization.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
11640
11732
|
type TariffEligibilityData = io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityData;
|
|
11641
11733
|
type TariffEligibilityForm = io.flow.harmonization.internal.v0.models.RegisteredExporterTariffEligibilityForm;
|
|
11642
11734
|
type TaskData =
|
|
@@ -11684,6 +11776,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
11684
11776
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
11685
11777
|
readonly payment_conditions?: string;
|
|
11686
11778
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
|
|
11779
|
+
readonly center_key?: string;
|
|
11687
11780
|
readonly statistics: io.flow.billing.v0.models.AccountStatistics;
|
|
11688
11781
|
readonly next_statement: io.flow.billing.v0.models.NextBillingStatement;
|
|
11689
11782
|
readonly created_at: string;
|
|
@@ -13901,6 +13994,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13901
13994
|
type DiscountRequestOrderEntitlementKey = 'subtotal';
|
|
13902
13995
|
type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
|
|
13903
13996
|
type DutyExemptItemTypes = 'gift_card' | 'service' | 'digital_item';
|
|
13997
|
+
type DutyRateSource =
|
|
13998
|
+
| 'tariff_code_rate'
|
|
13999
|
+
| 'compound_rate'
|
|
14000
|
+
| 'csv_fallback_rate'
|
|
14001
|
+
| 'hardcoded_rate';
|
|
13904
14002
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
13905
14003
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
13906
14004
|
type EmptyAttribute = 'irrelevant';
|
|
@@ -13992,6 +14090,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13992
14090
|
| 'harmonized_items_hs6_export'
|
|
13993
14091
|
| 'unharmonized_items_export'
|
|
13994
14092
|
| 'dutied_items_export'
|
|
14093
|
+
| 'tariff_codes_export'
|
|
13995
14094
|
| 'harmonization_phrase_suggestion_request_import'
|
|
13996
14095
|
| 'harmonization_codes_import'
|
|
13997
14096
|
| 'customs_description_sugestion_created'
|
|
@@ -14266,6 +14365,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14266
14365
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
14267
14366
|
readonly payment_conditions?: string;
|
|
14268
14367
|
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule;
|
|
14368
|
+
readonly center_key?: string;
|
|
14269
14369
|
readonly statistics: io.flow.internal.v0.models.AccountStatistics;
|
|
14270
14370
|
readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
|
|
14271
14371
|
readonly created_at: string;
|
|
@@ -14325,6 +14425,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14325
14425
|
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
14326
14426
|
readonly payment_conditions: string;
|
|
14327
14427
|
readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRuleForm;
|
|
14428
|
+
readonly center_key?: string;
|
|
14328
14429
|
}
|
|
14329
14430
|
|
|
14330
14431
|
interface AccountReference {
|
|
@@ -14749,14 +14850,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14749
14850
|
readonly password: string;
|
|
14750
14851
|
}
|
|
14751
14852
|
|
|
14752
|
-
interface Authorization {
|
|
14753
|
-
readonly discriminator: 'authorization';
|
|
14754
|
-
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
14755
|
-
readonly method: string;
|
|
14756
|
-
readonly customer?: io.flow.common.v0.models.OrderCustomer;
|
|
14757
|
-
readonly address?: io.flow.common.v0.models.Address;
|
|
14758
|
-
}
|
|
14759
|
-
|
|
14760
14853
|
interface AuthorizationMetadata {
|
|
14761
14854
|
readonly limit?: number;
|
|
14762
14855
|
}
|
|
@@ -15600,6 +15693,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15600
15693
|
readonly last_acted_at?: string;
|
|
15601
15694
|
}
|
|
15602
15695
|
|
|
15696
|
+
interface ContentLabel {
|
|
15697
|
+
readonly discriminator: 'content_label';
|
|
15698
|
+
readonly key: string;
|
|
15699
|
+
readonly format: io.flow.internal.v0.enums.Format;
|
|
15700
|
+
readonly value: string;
|
|
15701
|
+
}
|
|
15702
|
+
|
|
15603
15703
|
interface ContentSchema {
|
|
15604
15704
|
readonly key: string;
|
|
15605
15705
|
readonly description?: string;
|
|
@@ -15793,6 +15893,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15793
15893
|
|
|
15794
15894
|
interface CustomsDetails {
|
|
15795
15895
|
readonly tariff_eligibility_data: io.flow.internal.v0.unions.TariffEligibilityData[];
|
|
15896
|
+
readonly compliance_data: io.flow.internal.v0.unions.ComplianceData[];
|
|
15796
15897
|
readonly item_customs_details: io.flow.internal.v0.models.ItemCustomsDetails[];
|
|
15797
15898
|
}
|
|
15798
15899
|
|
|
@@ -15917,6 +16018,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15917
16018
|
readonly right: io.flow.internal.v0.unions.DutyExpression;
|
|
15918
16019
|
}
|
|
15919
16020
|
|
|
16021
|
+
interface DutyInternalRate {
|
|
16022
|
+
readonly id: string;
|
|
16023
|
+
readonly hs6: string;
|
|
16024
|
+
readonly origin: string;
|
|
16025
|
+
readonly destination: string;
|
|
16026
|
+
readonly tariff_code: string;
|
|
16027
|
+
readonly name: string;
|
|
16028
|
+
readonly long_name?: string;
|
|
16029
|
+
readonly duty_expression: io.flow.duty.internal.v0.unions.DutyExpression;
|
|
16030
|
+
readonly source: io.flow.internal.v0.enums.DutyRateSource;
|
|
16031
|
+
readonly position: number;
|
|
16032
|
+
}
|
|
16033
|
+
|
|
15920
16034
|
interface DutyRate {
|
|
15921
16035
|
readonly id: string;
|
|
15922
16036
|
readonly raw_id: string;
|
|
@@ -16465,6 +16579,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16465
16579
|
readonly external_id: string;
|
|
16466
16580
|
readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference;
|
|
16467
16581
|
readonly base_currency: string;
|
|
16582
|
+
readonly funding_currency: string;
|
|
16468
16583
|
readonly country: string;
|
|
16469
16584
|
}
|
|
16470
16585
|
|
|
@@ -16473,6 +16588,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16473
16588
|
readonly organization_id: string;
|
|
16474
16589
|
readonly external_id: string;
|
|
16475
16590
|
readonly base_currency: string;
|
|
16591
|
+
readonly funding_currency: string;
|
|
16476
16592
|
readonly country: string;
|
|
16477
16593
|
}
|
|
16478
16594
|
|
|
@@ -17547,7 +17663,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17547
17663
|
interface MarketingGatewayFeed {
|
|
17548
17664
|
readonly id: string;
|
|
17549
17665
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
17550
|
-
readonly experience
|
|
17666
|
+
readonly experience?: io.flow.common.v0.models.ExperienceSummary;
|
|
17551
17667
|
readonly schema: io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
|
|
17552
17668
|
readonly filter: io.flow.internal.v0.models.MarketingGatewayFilterSummary;
|
|
17553
17669
|
readonly country: string;
|
|
@@ -18751,6 +18867,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18751
18867
|
readonly rate: io.flow.currency.internal.v0.models.Rate;
|
|
18752
18868
|
}
|
|
18753
18869
|
|
|
18870
|
+
interface RateNameSummary {
|
|
18871
|
+
readonly name: string;
|
|
18872
|
+
readonly long_name?: string;
|
|
18873
|
+
readonly matching_rates_percentage: number;
|
|
18874
|
+
}
|
|
18875
|
+
|
|
18754
18876
|
interface RateRefillRequest {
|
|
18755
18877
|
readonly discriminator: 'rate_refill_request';
|
|
18756
18878
|
readonly phrase_id: string;
|
|
@@ -18896,6 +19018,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18896
19018
|
readonly destination: io.flow.reference.v0.models.Country;
|
|
18897
19019
|
}
|
|
18898
19020
|
|
|
19021
|
+
interface RatesNamesSummary {
|
|
19022
|
+
readonly origin: io.flow.reference.v0.models.Country;
|
|
19023
|
+
readonly destination: io.flow.reference.v0.models.Country;
|
|
19024
|
+
readonly summaries: io.flow.internal.v0.models.RateNameSummary[];
|
|
19025
|
+
}
|
|
19026
|
+
|
|
18899
19027
|
interface ReadyToFulfill {
|
|
18900
19028
|
readonly discriminator: 'ready_to_fulfill';
|
|
18901
19029
|
readonly event_id: string;
|
|
@@ -18978,6 +19106,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18978
19106
|
readonly country?: string;
|
|
18979
19107
|
}
|
|
18980
19108
|
|
|
19109
|
+
interface SearchAuthorization {
|
|
19110
|
+
readonly discriminator: 'search_authorization';
|
|
19111
|
+
readonly result: io.flow.payment.v0.models.AuthorizationResult;
|
|
19112
|
+
readonly method: string;
|
|
19113
|
+
readonly customer?: io.flow.common.v0.models.OrderCustomer;
|
|
19114
|
+
readonly address?: io.flow.common.v0.models.Address;
|
|
19115
|
+
}
|
|
19116
|
+
|
|
18981
19117
|
interface SearchCustomerSummary {
|
|
18982
19118
|
readonly name: io.flow.common.v0.models.Name;
|
|
18983
19119
|
readonly email?: string;
|
|
@@ -19163,7 +19299,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19163
19299
|
}
|
|
19164
19300
|
|
|
19165
19301
|
interface ShopifyGrantsCheck {
|
|
19166
|
-
readonly
|
|
19302
|
+
readonly placeholder: string;
|
|
19167
19303
|
}
|
|
19168
19304
|
|
|
19169
19305
|
interface ShopifyOrderAuthorization {
|
|
@@ -19327,7 +19463,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19327
19463
|
}
|
|
19328
19464
|
|
|
19329
19465
|
interface ShopifyWebhookEvent {
|
|
19330
|
-
readonly
|
|
19466
|
+
readonly placeholder: string;
|
|
19331
19467
|
}
|
|
19332
19468
|
|
|
19333
19469
|
interface ShopifyWebhookForm {
|
|
@@ -19643,6 +19779,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19643
19779
|
readonly duties: Record<string, io.flow.internal.v0.models.Duties>;
|
|
19644
19780
|
}
|
|
19645
19781
|
|
|
19782
|
+
interface TariffCodesExport {
|
|
19783
|
+
readonly discriminator: 'tariff_codes_export';
|
|
19784
|
+
readonly event_id: string;
|
|
19785
|
+
readonly timestamp: string;
|
|
19786
|
+
readonly organization: string;
|
|
19787
|
+
readonly export_id: string;
|
|
19788
|
+
}
|
|
19789
|
+
|
|
19646
19790
|
interface TariffEligibility {
|
|
19647
19791
|
readonly id: string;
|
|
19648
19792
|
readonly data: io.flow.internal.v0.unions.TariffEligibilityData;
|
|
@@ -19971,6 +20115,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19971
20115
|
readonly processing_fee: io.flow.internal.v0.models.Fee;
|
|
19972
20116
|
}
|
|
19973
20117
|
|
|
20118
|
+
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
20119
|
+
readonly discriminator: 'weee';
|
|
20120
|
+
readonly label: string;
|
|
20121
|
+
readonly number: string;
|
|
20122
|
+
}
|
|
20123
|
+
|
|
19974
20124
|
interface WholeOrderActionForm {
|
|
19975
20125
|
readonly discriminator: 'whole_order_action_form';
|
|
19976
20126
|
readonly action: io.flow.internal.v0.enums.OrderAction;
|
|
@@ -20005,10 +20155,12 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20005
20155
|
}
|
|
20006
20156
|
| io.flow.internal.v0.models.SupportedLabels;
|
|
20007
20157
|
|
|
20158
|
+
type ComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
20008
20159
|
type ContentItem =
|
|
20009
20160
|
| io.flow.internal.v0.models.Dict
|
|
20010
20161
|
| io.flow.internal.v0.models.Href
|
|
20011
20162
|
| io.flow.internal.v0.models.Label
|
|
20163
|
+
| io.flow.internal.v0.models.ContentLabel
|
|
20012
20164
|
| io.flow.internal.v0.models.Load;
|
|
20013
20165
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
20014
20166
|
type DutyExpression =
|
|
@@ -20102,6 +20254,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20102
20254
|
| io.flow.internal.v0.models.HarmonizedItemsHs6Export
|
|
20103
20255
|
| io.flow.internal.v0.models.UnharmonizedItemsExport
|
|
20104
20256
|
| io.flow.internal.v0.models.DutiedItemsExport
|
|
20257
|
+
| io.flow.internal.v0.models.TariffCodesExport
|
|
20105
20258
|
| io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport
|
|
20106
20259
|
| io.flow.internal.v0.models.HarmonizationCodesImport
|
|
20107
20260
|
| io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
@@ -20261,7 +20414,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20261
20414
|
| io.flow.internal.v0.models.LineActionForm
|
|
20262
20415
|
| io.flow.internal.v0.models.FulfillmentActionForm;
|
|
20263
20416
|
type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted;
|
|
20264
|
-
type PaymentSummaryDetails = io.flow.internal.v0.models.
|
|
20417
|
+
type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
|
|
20265
20418
|
type ProcessorAccount =
|
|
20266
20419
|
| io.flow.internal.v0.models.StripeAccount
|
|
20267
20420
|
| io.flow.internal.v0.models.AdyenAccount
|
|
@@ -20400,7 +20553,6 @@ export type ApplePaymentToken = io.flow.internal.v0.models.ApplePaymentToken;
|
|
|
20400
20553
|
export type ApplePaymentTokenHeader = io.flow.internal.v0.models.ApplePaymentTokenHeader;
|
|
20401
20554
|
export type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
|
|
20402
20555
|
export type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
|
|
20403
|
-
export type Authorization = io.flow.internal.v0.models.Authorization;
|
|
20404
20556
|
export type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
|
|
20405
20557
|
export type AuthorizationParameters = io.flow.internal.v0.models.AuthorizationParameters;
|
|
20406
20558
|
export type AuthorizationParametersForm = io.flow.internal.v0.models.AuthorizationParametersForm;
|
|
@@ -20544,10 +20696,12 @@ export type ClassificationProductSummary = io.flow.internal.v0.models.Classifica
|
|
|
20544
20696
|
export type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
20545
20697
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
20546
20698
|
export type CompletePriceRule = io.flow.internal.v0.models.CompletePriceRule;
|
|
20699
|
+
export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
20547
20700
|
export type Components = io.flow.internal.v0.models.Components;
|
|
20548
20701
|
export type ConsumerOptinActivity = io.flow.internal.v0.models.ConsumerOptinActivity;
|
|
20549
20702
|
export type ContentElementType = io.flow.internal.v0.enums.ContentElementType;
|
|
20550
20703
|
export type ContentItem = io.flow.internal.v0.unions.ContentItem;
|
|
20704
|
+
export type ContentLabel = io.flow.internal.v0.models.ContentLabel;
|
|
20551
20705
|
export type ContentSchema = io.flow.internal.v0.models.ContentSchema;
|
|
20552
20706
|
export type ContentSchemaElement = io.flow.internal.v0.models.ContentSchemaElement;
|
|
20553
20707
|
export type ContentSchemaForm = io.flow.internal.v0.models.ContentSchemaForm;
|
|
@@ -20605,12 +20759,14 @@ export type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpr
|
|
|
20605
20759
|
export type DutyCompoundExpressionType = io.flow.internal.v0.enums.DutyCompoundExpressionType;
|
|
20606
20760
|
export type DutyExemptItemTypes = io.flow.internal.v0.enums.DutyExemptItemTypes;
|
|
20607
20761
|
export type DutyExpression = io.flow.internal.v0.unions.DutyExpression;
|
|
20762
|
+
export type DutyInternalRate = io.flow.internal.v0.models.DutyInternalRate;
|
|
20608
20763
|
export type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
20609
20764
|
export type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
20610
20765
|
export type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
20611
20766
|
export type DutyRateContext = io.flow.internal.v0.models.DutyRateContext;
|
|
20612
20767
|
export type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
20613
20768
|
export type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
20769
|
+
export type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
20614
20770
|
export type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
20615
20771
|
export type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
20616
20772
|
export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
@@ -21069,6 +21225,7 @@ export type RateData = io.flow.internal.v0.models.RateData;
|
|
|
21069
21225
|
export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
|
|
21070
21226
|
export type RateDeleted = io.flow.internal.v0.models.RateDeleted;
|
|
21071
21227
|
export type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2;
|
|
21228
|
+
export type RateNameSummary = io.flow.internal.v0.models.RateNameSummary;
|
|
21072
21229
|
export type RateRefillRequest = io.flow.internal.v0.models.RateRefillRequest;
|
|
21073
21230
|
export type RateSource = io.flow.internal.v0.enums.RateSource;
|
|
21074
21231
|
export type RateUpserted = io.flow.internal.v0.models.RateUpserted;
|
|
@@ -21087,6 +21244,7 @@ export type RatecardStandardConfigurationUpserted = io.flow.internal.v0.models.R
|
|
|
21087
21244
|
export type RatecardStandardSettings = io.flow.internal.v0.models.RatecardStandardSettings;
|
|
21088
21245
|
export type RatecardSummary = io.flow.internal.v0.models.RatecardSummary;
|
|
21089
21246
|
export type RatesChanged = io.flow.internal.v0.models.RatesChanged;
|
|
21247
|
+
export type RatesNamesSummary = io.flow.internal.v0.models.RatesNamesSummary;
|
|
21090
21248
|
export type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
|
|
21091
21249
|
export type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
|
|
21092
21250
|
export type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;
|
|
@@ -21107,6 +21265,7 @@ export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
|
21107
21265
|
export type Scope = io.flow.internal.v0.enums.Scope;
|
|
21108
21266
|
export type Screen = io.flow.internal.v0.models.Screen;
|
|
21109
21267
|
export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
|
|
21268
|
+
export type SearchAuthorization = io.flow.internal.v0.models.SearchAuthorization;
|
|
21110
21269
|
export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
|
|
21111
21270
|
export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary;
|
|
21112
21271
|
export type SearchExperimentSummary = io.flow.internal.v0.models.SearchExperimentSummary;
|
|
@@ -21221,6 +21380,7 @@ export type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardCl
|
|
|
21221
21380
|
export type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
|
|
21222
21381
|
export type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
|
|
21223
21382
|
export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty;
|
|
21383
|
+
export type TariffCodesExport = io.flow.internal.v0.models.TariffCodesExport;
|
|
21224
21384
|
export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility;
|
|
21225
21385
|
export type TariffEligibilityData = io.flow.internal.v0.unions.TariffEligibilityData;
|
|
21226
21386
|
export type TariffEligibilityForm = io.flow.internal.v0.unions.TariffEligibilityForm;
|
|
@@ -21281,4 +21441,5 @@ export type Variant = io.flow.internal.v0.unions.Variant;
|
|
|
21281
21441
|
export type VariantForm = io.flow.internal.v0.unions.VariantForm;
|
|
21282
21442
|
export type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
21283
21443
|
export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
21444
|
+
export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
21284
21445
|
export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|