@flowio/types 11.24.112 → 11.24.114
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 +282 -169
- package/dist/api.d.ts +216 -50
- package/package.json +2 -2
- package/src/api-internal.ts +421 -215
- package/src/api.ts +319 -56
package/src/api.ts
CHANGED
|
@@ -237,6 +237,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
237
237
|
| 'fraudulent'
|
|
238
238
|
| 'requested_by_customer'
|
|
239
239
|
| 'void_invoice';
|
|
240
|
+
type CapabilityStatus =
|
|
241
|
+
| 'active'
|
|
242
|
+
| 'disabled'
|
|
243
|
+
| 'inactive'
|
|
244
|
+
| 'pending'
|
|
245
|
+
| 'unrequested';
|
|
240
246
|
type CaptureMethod = 'automatic' | 'manual';
|
|
241
247
|
type CardBrand =
|
|
242
248
|
| 'American Express'
|
|
@@ -261,6 +267,52 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
261
267
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
262
268
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
263
269
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
270
|
+
type ConnectReportBalanceReportingCategory =
|
|
271
|
+
| 'anticipation_repayment'
|
|
272
|
+
| 'climate_order_purchase'
|
|
273
|
+
| 'climate_order_refund'
|
|
274
|
+
| 'contribution'
|
|
275
|
+
| 'currency_conversion'
|
|
276
|
+
| 'fee'
|
|
277
|
+
| 'other_adjustment'
|
|
278
|
+
| 'payment_network_reserve_hold'
|
|
279
|
+
| 'payment_network_reserve_release'
|
|
280
|
+
| 'payout'
|
|
281
|
+
| 'payout_minimum_balance_hold'
|
|
282
|
+
| 'payout_minimum_balance_release'
|
|
283
|
+
| 'payout_reversal'
|
|
284
|
+
| 'risk_reserved_funds'
|
|
285
|
+
| 'stripe_balance_payment_debit'
|
|
286
|
+
| 'stripe_balance_payment_debit_reversal'
|
|
287
|
+
| 'topup'
|
|
288
|
+
| 'topup_reversal'
|
|
289
|
+
| 'unreconciled_customer_funds';
|
|
290
|
+
type ConnectReportConnectReportingCategory =
|
|
291
|
+
| 'advance'
|
|
292
|
+
| 'advance_funding'
|
|
293
|
+
| 'connect_collection_transfer'
|
|
294
|
+
| 'connect_reserved_funds'
|
|
295
|
+
| 'platform_earning'
|
|
296
|
+
| 'platform_earning_refund'
|
|
297
|
+
| 'transfer'
|
|
298
|
+
| 'transfer_reversal';
|
|
299
|
+
type ConnectReportIssuingReportingCategory =
|
|
300
|
+
| 'issuing_authorization_hold'
|
|
301
|
+
| 'issuing_authorization_release'
|
|
302
|
+
| 'issuing_disbursement'
|
|
303
|
+
| 'issuing_dispute'
|
|
304
|
+
| 'issuing_dispute_fraud_liability_debit'
|
|
305
|
+
| 'issuing_dispute_provisional_credit'
|
|
306
|
+
| 'issuing_dispute_provisional_credit_reversal'
|
|
307
|
+
| 'issuing_transaction';
|
|
308
|
+
type ConnectReportPaymentReportingCategory =
|
|
309
|
+
| 'charge'
|
|
310
|
+
| 'charge_failure'
|
|
311
|
+
| 'dispute'
|
|
312
|
+
| 'dispute_reversal'
|
|
313
|
+
| 'partial_capture_reversal'
|
|
314
|
+
| 'refund'
|
|
315
|
+
| 'refund_failure';
|
|
264
316
|
type DeclineCode =
|
|
265
317
|
| 'approve_with_id'
|
|
266
318
|
| 'call_issuer'
|
|
@@ -430,6 +482,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
430
482
|
| 'rate_limit_error'
|
|
431
483
|
| 'validation_error';
|
|
432
484
|
type EventType =
|
|
485
|
+
| 'capability.updated'
|
|
433
486
|
| 'charge.captured'
|
|
434
487
|
| 'charge.failed'
|
|
435
488
|
| 'charge.pending'
|
|
@@ -714,6 +767,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
714
767
|
readonly type: io.flow.stripe.v0.enums.ApplePayType;
|
|
715
768
|
}
|
|
716
769
|
|
|
770
|
+
interface Capability {
|
|
771
|
+
readonly id: string;
|
|
772
|
+
readonly account: string;
|
|
773
|
+
readonly requested: boolean;
|
|
774
|
+
readonly requirements: any /*object*/;
|
|
775
|
+
readonly status: io.flow.stripe.v0.enums.CapabilityStatus;
|
|
776
|
+
readonly object: string;
|
|
777
|
+
readonly future_requirements: any /*object*/;
|
|
778
|
+
readonly requested_at?: number;
|
|
779
|
+
}
|
|
780
|
+
|
|
717
781
|
interface Card {
|
|
718
782
|
readonly id: string;
|
|
719
783
|
readonly object: string;
|
|
@@ -1863,6 +1927,25 @@ declare namespace io.flow.stripe.v0.unions {
|
|
|
1863
1927
|
| io.flow.stripe.v0.models.Masterpass
|
|
1864
1928
|
| io.flow.stripe.v0.models.ApplePay
|
|
1865
1929
|
| io.flow.stripe.v0.models.VisaCheckout;
|
|
1930
|
+
|
|
1931
|
+
type ConnectReportReportingCategory =
|
|
1932
|
+
| {
|
|
1933
|
+
discriminator: 'connect_report_payment_reporting_category';
|
|
1934
|
+
value: io.flow.stripe.v0.enums.ConnectReportPaymentReportingCategory;
|
|
1935
|
+
}
|
|
1936
|
+
| {
|
|
1937
|
+
discriminator: 'connect_report_balance_reporting_category';
|
|
1938
|
+
value: io.flow.stripe.v0.enums.ConnectReportBalanceReportingCategory;
|
|
1939
|
+
}
|
|
1940
|
+
| {
|
|
1941
|
+
discriminator: 'connect_report_issuing_reporting_category';
|
|
1942
|
+
value: io.flow.stripe.v0.enums.ConnectReportIssuingReportingCategory;
|
|
1943
|
+
}
|
|
1944
|
+
| {
|
|
1945
|
+
discriminator: 'connect_report_connect_reporting_category';
|
|
1946
|
+
value: io.flow.stripe.v0.enums.ConnectReportConnectReportingCategory;
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1866
1949
|
type PaymentMethodData =
|
|
1867
1950
|
| io.flow.stripe.v0.models.PaymentMethodDataCard
|
|
1868
1951
|
| io.flow.stripe.v0.models.PaymentMethodDataIdeal
|
|
@@ -3097,6 +3180,9 @@ declare namespace io.flow.common.v0.enums {
|
|
|
3097
3180
|
| 'inch'
|
|
3098
3181
|
| 'foot'
|
|
3099
3182
|
| 'cubic_inch'
|
|
3183
|
+
| 'cubic_foot'
|
|
3184
|
+
| 'cubic_millimeter'
|
|
3185
|
+
| 'cubic_centimeter'
|
|
3100
3186
|
| 'cubic_meter'
|
|
3101
3187
|
| 'gram'
|
|
3102
3188
|
| 'kilogram'
|
|
@@ -4914,29 +5000,6 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
4914
5000
|
}
|
|
4915
5001
|
}
|
|
4916
5002
|
|
|
4917
|
-
declare namespace io.flow.currency.v0.models {
|
|
4918
|
-
interface Rate {
|
|
4919
|
-
readonly id: string;
|
|
4920
|
-
readonly base: string;
|
|
4921
|
-
readonly target: string;
|
|
4922
|
-
readonly effective_at: string;
|
|
4923
|
-
readonly value: number;
|
|
4924
|
-
}
|
|
4925
|
-
|
|
4926
|
-
interface RateForm {
|
|
4927
|
-
readonly base: string;
|
|
4928
|
-
readonly target: string;
|
|
4929
|
-
readonly effective_at: string;
|
|
4930
|
-
}
|
|
4931
|
-
|
|
4932
|
-
interface RateVersion {
|
|
4933
|
-
readonly id: string;
|
|
4934
|
-
readonly timestamp: string;
|
|
4935
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4936
|
-
readonly rate: io.flow.currency.v0.models.Rate;
|
|
4937
|
-
}
|
|
4938
|
-
}
|
|
4939
|
-
|
|
4940
5003
|
declare namespace io.flow.organization.v0.enums {
|
|
4941
5004
|
type CountryPickerSource = 'experience' | 'destination';
|
|
4942
5005
|
type EcommercePlatformType =
|
|
@@ -5996,6 +6059,69 @@ declare namespace io.flow.query.builder.v0.unions {
|
|
|
5996
6059
|
| io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
|
|
5997
6060
|
}
|
|
5998
6061
|
|
|
6062
|
+
declare namespace io.flow.sellability.v0.enums {
|
|
6063
|
+
type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
|
|
6064
|
+
type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category';
|
|
6065
|
+
}
|
|
6066
|
+
|
|
6067
|
+
declare namespace io.flow.sellability.v0.models {
|
|
6068
|
+
interface ProductSellability {
|
|
6069
|
+
readonly shop_id: string;
|
|
6070
|
+
readonly product_id?: string;
|
|
6071
|
+
readonly request_id: string;
|
|
6072
|
+
readonly hs6_code: string;
|
|
6073
|
+
readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
6074
|
+
}
|
|
6075
|
+
|
|
6076
|
+
interface ProductSellabilityForm {
|
|
6077
|
+
readonly shop_id: string;
|
|
6078
|
+
readonly product_id?: string;
|
|
6079
|
+
readonly request_id: string;
|
|
6080
|
+
readonly name: string;
|
|
6081
|
+
readonly price: io.flow.sellability.v0.models.ProductSellabilityPrice;
|
|
6082
|
+
readonly description: string;
|
|
6083
|
+
readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
6084
|
+
}
|
|
6085
|
+
|
|
6086
|
+
interface ProductSellabilityPrice {
|
|
6087
|
+
readonly currency: string;
|
|
6088
|
+
readonly amount: number;
|
|
6089
|
+
}
|
|
6090
|
+
|
|
6091
|
+
interface SellabilityError {
|
|
6092
|
+
readonly code: io.flow.sellability.v0.enums.SellabilityErrorCode;
|
|
6093
|
+
readonly messages: string[];
|
|
6094
|
+
}
|
|
6095
|
+
|
|
6096
|
+
interface SellablilityRegionResult {
|
|
6097
|
+
readonly type: io.flow.sellability.v0.enums.RuleEffectType;
|
|
6098
|
+
readonly regions: string[];
|
|
6099
|
+
}
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
declare namespace io.flow.currency.v0.models {
|
|
6103
|
+
interface Rate {
|
|
6104
|
+
readonly id: string;
|
|
6105
|
+
readonly base: string;
|
|
6106
|
+
readonly target: string;
|
|
6107
|
+
readonly effective_at: string;
|
|
6108
|
+
readonly value: number;
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
interface RateForm {
|
|
6112
|
+
readonly base: string;
|
|
6113
|
+
readonly target: string;
|
|
6114
|
+
readonly effective_at: string;
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
interface RateVersion {
|
|
6118
|
+
readonly id: string;
|
|
6119
|
+
readonly timestamp: string;
|
|
6120
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
6121
|
+
readonly rate: io.flow.currency.v0.models.Rate;
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6124
|
+
|
|
5999
6125
|
declare namespace io.flow.v0.enums {
|
|
6000
6126
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
6001
6127
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
@@ -6209,8 +6335,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6209
6335
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
6210
6336
|
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
6211
6337
|
type Environment = 'sandbox' | 'production';
|
|
6212
|
-
type EstimateOrigin = 'Shopify' | 'GlobalE' | 'Aftership' | 'Carrier';
|
|
6213
|
-
type EstimateType = 'Estimated' | 'Final';
|
|
6214
6338
|
type EventType =
|
|
6215
6339
|
| 'test_upserted'
|
|
6216
6340
|
| 'generate_load'
|
|
@@ -6330,8 +6454,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6330
6454
|
| 'ge_item_inserted'
|
|
6331
6455
|
| 'ge_item_updated'
|
|
6332
6456
|
| 'ge_item_deleted'
|
|
6333
|
-
| 'ge_product_restriction_result_upserted'
|
|
6334
|
-
| 'ge_product_restriction_result_deleted'
|
|
6335
6457
|
| 'hs6_code_upserted'
|
|
6336
6458
|
| 'hs6_code_deleted'
|
|
6337
6459
|
| 'hs10_code_upserted'
|
|
@@ -6396,6 +6518,8 @@ declare namespace io.flow.v0.enums {
|
|
|
6396
6518
|
| 'virtual_card_refund_deleted'
|
|
6397
6519
|
| 'authorization_retry_upserted'
|
|
6398
6520
|
| 'authorization_retry_deleted'
|
|
6521
|
+
| 'transfer_upserted'
|
|
6522
|
+
| 'transfer_deleted'
|
|
6399
6523
|
| 'payment_request_upserted'
|
|
6400
6524
|
| 'payment_request_deleted'
|
|
6401
6525
|
| 'price_book_upserted'
|
|
@@ -6457,6 +6581,9 @@ declare namespace io.flow.v0.enums {
|
|
|
6457
6581
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
6458
6582
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
6459
6583
|
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
6584
|
+
type GeCatalogItemIngestionResponse = 'success' | 'failure';
|
|
6585
|
+
type GeEnvironment = 'production' | 'sandbox';
|
|
6586
|
+
type GeEventType = 'restriction_result' | 'ingestion_result';
|
|
6460
6587
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
6461
6588
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
6462
6589
|
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
@@ -6667,7 +6794,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6667
6794
|
| 'by_quantity_percentage';
|
|
6668
6795
|
type OrderStatus = 'open' | 'submitted';
|
|
6669
6796
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
6670
|
-
type OrderType = 'standard' | 'replacement';
|
|
6797
|
+
type OrderType = 'standard' | 'replacement' | 'edit';
|
|
6671
6798
|
type OrganizationPaymentMethodTag = 'deny';
|
|
6672
6799
|
type OrganizationStatus =
|
|
6673
6800
|
| 'active'
|
|
@@ -6717,6 +6844,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6717
6844
|
| 'fraudulent'
|
|
6718
6845
|
| 'error'
|
|
6719
6846
|
| 'payment_checks_declined';
|
|
6847
|
+
type PaymentFeeType = 'fx' | 'mor';
|
|
6720
6848
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
6721
6849
|
type PaymentMethodDataOptionType = 'ideal_issuer_option';
|
|
6722
6850
|
type PaymentMethodRuleContentKey = 'description';
|
|
@@ -7070,9 +7198,17 @@ declare namespace io.flow.v0.enums {
|
|
|
7070
7198
|
| 'virtual_card_refund'
|
|
7071
7199
|
| 'failed_payout'
|
|
7072
7200
|
| 'tax_refund'
|
|
7201
|
+
| 'duty_refund'
|
|
7073
7202
|
| 'non_l4l_tax_duty_fx'
|
|
7074
|
-
| 'ge_revenue_share'
|
|
7075
|
-
|
|
7203
|
+
| 'ge_revenue_share';
|
|
7204
|
+
type TransferStatus = 'succeeded' | 'canceled';
|
|
7205
|
+
type TransferType =
|
|
7206
|
+
| 'payout_to_merchant'
|
|
7207
|
+
| 'disputed_amount_to_merchant'
|
|
7208
|
+
| 'duties_and_taxes_adjustment_to_merchant'
|
|
7209
|
+
| 'disputed_amount_from_merchant'
|
|
7210
|
+
| 'duties_and_taxes_adjustment_from_merchant'
|
|
7211
|
+
| 'refund_from_merchant';
|
|
7076
7212
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
7077
7213
|
type TrueupSurchargeType =
|
|
7078
7214
|
| 'fuel'
|
|
@@ -7100,6 +7236,9 @@ declare namespace io.flow.v0.enums {
|
|
|
7100
7236
|
| 'inch'
|
|
7101
7237
|
| 'foot'
|
|
7102
7238
|
| 'cubic_inch'
|
|
7239
|
+
| 'cubic_foot'
|
|
7240
|
+
| 'cubic_millimeter'
|
|
7241
|
+
| 'cubic_centimeter'
|
|
7103
7242
|
| 'cubic_meter'
|
|
7104
7243
|
| 'gram'
|
|
7105
7244
|
| 'kilogram'
|
|
@@ -7107,7 +7246,12 @@ declare namespace io.flow.v0.enums {
|
|
|
7107
7246
|
| 'ounce'
|
|
7108
7247
|
| 'pound';
|
|
7109
7248
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
7110
|
-
type UnitOfVolume =
|
|
7249
|
+
type UnitOfVolume =
|
|
7250
|
+
| 'cubic_inch'
|
|
7251
|
+
| 'cubic_foot'
|
|
7252
|
+
| 'cubic_millimeter'
|
|
7253
|
+
| 'cubic_centimeter'
|
|
7254
|
+
| 'cubic_meter';
|
|
7111
7255
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
7112
7256
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
7113
7257
|
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
@@ -8106,6 +8250,7 @@ declare namespace io.flow.v0.models {
|
|
|
8106
8250
|
readonly attributes?: Record<string, string>;
|
|
8107
8251
|
readonly status?: io.flow.v0.enums.CaptureStatus;
|
|
8108
8252
|
readonly base?: io.flow.v0.models.Money;
|
|
8253
|
+
readonly fees?: io.flow.v0.models.PaymentFee[];
|
|
8109
8254
|
}
|
|
8110
8255
|
|
|
8111
8256
|
interface CaptureDeleted {
|
|
@@ -8155,6 +8300,7 @@ declare namespace io.flow.v0.models {
|
|
|
8155
8300
|
}
|
|
8156
8301
|
|
|
8157
8302
|
interface CaptureReference {
|
|
8303
|
+
readonly discriminator: 'capture_reference';
|
|
8158
8304
|
readonly id: string;
|
|
8159
8305
|
readonly key: string;
|
|
8160
8306
|
}
|
|
@@ -9848,6 +9994,12 @@ declare namespace io.flow.v0.models {
|
|
|
9848
9994
|
readonly discounts: io.flow.v0.models.DiscountForm[];
|
|
9849
9995
|
}
|
|
9850
9996
|
|
|
9997
|
+
interface DisputeReference {
|
|
9998
|
+
readonly discriminator: 'dispute_reference';
|
|
9999
|
+
readonly id: string;
|
|
10000
|
+
readonly key: string;
|
|
10001
|
+
}
|
|
10002
|
+
|
|
9851
10003
|
interface Duration {
|
|
9852
10004
|
readonly unit: io.flow.v0.enums.UnitOfTime;
|
|
9853
10005
|
readonly value: number;
|
|
@@ -9863,6 +10015,7 @@ declare namespace io.flow.v0.models {
|
|
|
9863
10015
|
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
9864
10016
|
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
9865
10017
|
readonly amount: io.flow.v0.models.Money;
|
|
10018
|
+
readonly destination_countries?: string[];
|
|
9866
10019
|
readonly starts_at?: string;
|
|
9867
10020
|
readonly ends_at?: string;
|
|
9868
10021
|
}
|
|
@@ -10022,15 +10175,6 @@ declare namespace io.flow.v0.models {
|
|
|
10022
10175
|
readonly issuing_country?: string;
|
|
10023
10176
|
}
|
|
10024
10177
|
|
|
10025
|
-
interface Estimate {
|
|
10026
|
-
readonly id: string;
|
|
10027
|
-
readonly organization_id: string;
|
|
10028
|
-
readonly label_id: string;
|
|
10029
|
-
readonly estimate: io.flow.v0.models.ShippingLabelHopSummary;
|
|
10030
|
-
readonly type: io.flow.v0.enums.EstimateType;
|
|
10031
|
-
readonly origin?: io.flow.v0.enums.EstimateOrigin;
|
|
10032
|
-
}
|
|
10033
|
-
|
|
10034
10178
|
interface EstimatedDimensions {
|
|
10035
10179
|
readonly depth: io.flow.v0.models.Measurement;
|
|
10036
10180
|
readonly length: io.flow.v0.models.Measurement;
|
|
@@ -10049,6 +10193,11 @@ declare namespace io.flow.v0.models {
|
|
|
10049
10193
|
readonly datetime_range: io.flow.v0.models.DatetimeRange;
|
|
10050
10194
|
}
|
|
10051
10195
|
|
|
10196
|
+
interface ExchangedMoney {
|
|
10197
|
+
readonly fx_rate: number;
|
|
10198
|
+
readonly money: io.flow.v0.models.Money;
|
|
10199
|
+
}
|
|
10200
|
+
|
|
10052
10201
|
interface ExclusionRule {
|
|
10053
10202
|
readonly id: string;
|
|
10054
10203
|
readonly q: string;
|
|
@@ -10424,6 +10573,12 @@ declare namespace io.flow.v0.models {
|
|
|
10424
10573
|
readonly export: io.flow.v0.models.Export;
|
|
10425
10574
|
}
|
|
10426
10575
|
|
|
10576
|
+
interface ExternalCard {
|
|
10577
|
+
readonly discriminator: 'external_card';
|
|
10578
|
+
readonly id: string;
|
|
10579
|
+
readonly type?: io.flow.v0.enums.CardType;
|
|
10580
|
+
}
|
|
10581
|
+
|
|
10427
10582
|
interface FeeDeduction {
|
|
10428
10583
|
readonly type: io.flow.v0.enums.FeeDeductionType;
|
|
10429
10584
|
readonly amount: number;
|
|
@@ -10722,6 +10877,46 @@ declare namespace io.flow.v0.models {
|
|
|
10722
10877
|
readonly landed_costs: io.flow.v0.models.LaneLandedCost[];
|
|
10723
10878
|
}
|
|
10724
10879
|
|
|
10880
|
+
interface GeCatalogItemIngestionResult {
|
|
10881
|
+
readonly discriminator: 'ge_catalog_item_ingestion_result';
|
|
10882
|
+
readonly event_id: string;
|
|
10883
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10884
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10885
|
+
readonly timestamp: string;
|
|
10886
|
+
readonly source: string;
|
|
10887
|
+
readonly response: io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
10888
|
+
readonly message: string;
|
|
10889
|
+
}
|
|
10890
|
+
|
|
10891
|
+
interface GeCatalogItemInput {
|
|
10892
|
+
readonly event_id: string;
|
|
10893
|
+
readonly number: string;
|
|
10894
|
+
readonly organization_id: string;
|
|
10895
|
+
readonly name: string;
|
|
10896
|
+
readonly description: string;
|
|
10897
|
+
readonly price: io.flow.v0.models.GeInputPrice;
|
|
10898
|
+
readonly attributes: io.flow.v0.models.GeInputAttributes;
|
|
10899
|
+
readonly locale: string;
|
|
10900
|
+
readonly id: string;
|
|
10901
|
+
readonly categories: string[];
|
|
10902
|
+
readonly created_at: string;
|
|
10903
|
+
readonly updated_at: string;
|
|
10904
|
+
readonly images: string[];
|
|
10905
|
+
}
|
|
10906
|
+
|
|
10907
|
+
interface GeInputAttributes {
|
|
10908
|
+
readonly country_of_origin: string;
|
|
10909
|
+
readonly ge_hs6_code: string;
|
|
10910
|
+
readonly product_id: string;
|
|
10911
|
+
readonly ge_organization_name: string;
|
|
10912
|
+
}
|
|
10913
|
+
|
|
10914
|
+
interface GeInputPrice {
|
|
10915
|
+
readonly amount: number;
|
|
10916
|
+
readonly currency: string;
|
|
10917
|
+
readonly label: string;
|
|
10918
|
+
}
|
|
10919
|
+
|
|
10725
10920
|
interface GeItemDeleted {
|
|
10726
10921
|
readonly discriminator: 'ge_item_deleted';
|
|
10727
10922
|
readonly event_id: string;
|
|
@@ -10746,19 +10941,23 @@ declare namespace io.flow.v0.models {
|
|
|
10746
10941
|
readonly item: io.flow.v0.models.Item;
|
|
10747
10942
|
}
|
|
10748
10943
|
|
|
10749
|
-
interface
|
|
10750
|
-
readonly discriminator: '
|
|
10944
|
+
interface GeProductRestrictionResultDelete {
|
|
10945
|
+
readonly discriminator: 'ge_product_restriction_result_delete';
|
|
10946
|
+
readonly organization: string;
|
|
10751
10947
|
readonly event_id: string;
|
|
10948
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10949
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10752
10950
|
readonly timestamp: string;
|
|
10753
|
-
readonly organization: string;
|
|
10754
10951
|
readonly id: string;
|
|
10755
10952
|
}
|
|
10756
10953
|
|
|
10757
|
-
interface
|
|
10758
|
-
readonly discriminator: '
|
|
10954
|
+
interface GeProductRestrictionResultUpsert {
|
|
10955
|
+
readonly discriminator: 'ge_product_restriction_result_upsert';
|
|
10956
|
+
readonly organization: string;
|
|
10759
10957
|
readonly event_id: string;
|
|
10958
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10959
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10760
10960
|
readonly timestamp: string;
|
|
10761
|
-
readonly organization: string;
|
|
10762
10961
|
readonly ge_product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
|
|
10763
10962
|
}
|
|
10764
10963
|
|
|
@@ -13470,6 +13669,12 @@ declare namespace io.flow.v0.models {
|
|
|
13470
13669
|
readonly failure_message: string;
|
|
13471
13670
|
}
|
|
13472
13671
|
|
|
13672
|
+
interface PaymentFee {
|
|
13673
|
+
readonly type: io.flow.v0.enums.PaymentFeeType;
|
|
13674
|
+
readonly money: io.flow.v0.models.Money;
|
|
13675
|
+
readonly base?: io.flow.v0.models.Money;
|
|
13676
|
+
}
|
|
13677
|
+
|
|
13473
13678
|
interface PaymentInformation {
|
|
13474
13679
|
readonly amount_refundable?: number;
|
|
13475
13680
|
readonly amount_refunded?: number;
|
|
@@ -14477,6 +14682,7 @@ declare namespace io.flow.v0.models {
|
|
|
14477
14682
|
readonly updated_by?: string;
|
|
14478
14683
|
readonly product_restriction_id?: string;
|
|
14479
14684
|
readonly hs_code?: string;
|
|
14685
|
+
readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
14480
14686
|
}
|
|
14481
14687
|
|
|
14482
14688
|
interface ProductRestrictionResultDeleted {
|
|
@@ -14779,6 +14985,8 @@ declare namespace io.flow.v0.models {
|
|
|
14779
14985
|
readonly discriminator: 'ratecard_estimate_v4';
|
|
14780
14986
|
readonly hops: io.flow.v0.models.HopV2[];
|
|
14781
14987
|
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
14988
|
+
readonly distance_unit_of_measurement?: io.flow.v0.enums.UnitOfMeasurement;
|
|
14989
|
+
readonly weight_unit_of_measurement?: io.flow.v0.enums.UnitOfMeasurement;
|
|
14782
14990
|
readonly dimensional_weight?: io.flow.v0.models.Measurement;
|
|
14783
14991
|
readonly gravitational_weight?: io.flow.v0.models.Measurement;
|
|
14784
14992
|
readonly ratecard_id?: string;
|
|
@@ -15087,6 +15295,7 @@ declare namespace io.flow.v0.models {
|
|
|
15087
15295
|
}
|
|
15088
15296
|
|
|
15089
15297
|
interface RefundReference {
|
|
15298
|
+
readonly discriminator: 'refund_reference';
|
|
15090
15299
|
readonly id: string;
|
|
15091
15300
|
readonly key: string;
|
|
15092
15301
|
}
|
|
@@ -16936,6 +17145,33 @@ declare namespace io.flow.v0.models {
|
|
|
16936
17145
|
readonly transaction: io.flow.v0.models.Transaction;
|
|
16937
17146
|
}
|
|
16938
17147
|
|
|
17148
|
+
interface Transfer {
|
|
17149
|
+
readonly id: string;
|
|
17150
|
+
readonly type: io.flow.v0.enums.TransferType;
|
|
17151
|
+
readonly money: io.flow.v0.models.Money;
|
|
17152
|
+
readonly transferred_money: io.flow.v0.models.ExchangedMoney;
|
|
17153
|
+
readonly status: io.flow.v0.enums.TransferStatus;
|
|
17154
|
+
readonly created_at: string;
|
|
17155
|
+
readonly reference: io.flow.v0.unions.TransferReference;
|
|
17156
|
+
readonly transferred_at: string;
|
|
17157
|
+
}
|
|
17158
|
+
|
|
17159
|
+
interface TransferDeleted {
|
|
17160
|
+
readonly discriminator: 'transfer_deleted';
|
|
17161
|
+
readonly event_id: string;
|
|
17162
|
+
readonly timestamp: string;
|
|
17163
|
+
readonly organization: string;
|
|
17164
|
+
readonly id: string;
|
|
17165
|
+
}
|
|
17166
|
+
|
|
17167
|
+
interface TransferUpserted {
|
|
17168
|
+
readonly discriminator: 'transfer_upserted';
|
|
17169
|
+
readonly event_id: string;
|
|
17170
|
+
readonly timestamp: string;
|
|
17171
|
+
readonly organization: string;
|
|
17172
|
+
readonly transfer: io.flow.v0.models.Transfer;
|
|
17173
|
+
}
|
|
17174
|
+
|
|
16939
17175
|
interface TransitEstimate {
|
|
16940
17176
|
readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
|
|
16941
17177
|
readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
|
|
@@ -17434,8 +17670,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17434
17670
|
| io.flow.v0.models.GeItemInserted
|
|
17435
17671
|
| io.flow.v0.models.GeItemUpdated
|
|
17436
17672
|
| io.flow.v0.models.GeItemDeleted
|
|
17437
|
-
| io.flow.v0.models.GeProductRestrictionResultUpserted
|
|
17438
|
-
| io.flow.v0.models.GeProductRestrictionResultDeleted
|
|
17439
17673
|
| io.flow.v0.models.Hs6CodeUpserted
|
|
17440
17674
|
| io.flow.v0.models.Hs6CodeDeleted
|
|
17441
17675
|
| io.flow.v0.models.Hs10CodeUpserted
|
|
@@ -17500,6 +17734,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17500
17734
|
| io.flow.v0.models.VirtualCardRefundDeleted
|
|
17501
17735
|
| io.flow.v0.models.AuthorizationRetryUpserted
|
|
17502
17736
|
| io.flow.v0.models.AuthorizationRetryDeleted
|
|
17737
|
+
| io.flow.v0.models.TransferUpserted
|
|
17738
|
+
| io.flow.v0.models.TransferDeleted
|
|
17503
17739
|
| io.flow.v0.models.PaymentRequestUpserted
|
|
17504
17740
|
| io.flow.v0.models.PaymentRequestDeleted
|
|
17505
17741
|
| io.flow.v0.models.PriceBookUpserted
|
|
@@ -17526,7 +17762,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17526
17762
|
type ExpandableCard =
|
|
17527
17763
|
| io.flow.v0.models.Card
|
|
17528
17764
|
| io.flow.v0.models.CardReference
|
|
17529
|
-
| io.flow.v0.models.CardSummary
|
|
17765
|
+
| io.flow.v0.models.CardSummary
|
|
17766
|
+
| io.flow.v0.models.ExternalCard;
|
|
17530
17767
|
type ExpandableCenter =
|
|
17531
17768
|
| io.flow.v0.models.Center
|
|
17532
17769
|
| io.flow.v0.models.CenterReference;
|
|
@@ -17582,6 +17819,10 @@ declare namespace io.flow.v0.unions {
|
|
|
17582
17819
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
17583
17820
|
type GatewayAuthenticationDataForm =
|
|
17584
17821
|
io.flow.v0.models.StripeAuthenticationDataForm;
|
|
17822
|
+
type GeRestrictionEvent =
|
|
17823
|
+
| io.flow.v0.models.GeProductRestrictionResultUpsert
|
|
17824
|
+
| io.flow.v0.models.GeProductRestrictionResultDelete
|
|
17825
|
+
| io.flow.v0.models.GeCatalogItemIngestionResult;
|
|
17585
17826
|
type InlineActionConfiguration =
|
|
17586
17827
|
io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
17587
17828
|
type InputSpecificationLimitation =
|
|
@@ -17839,6 +18080,10 @@ declare namespace io.flow.v0.unions {
|
|
|
17839
18080
|
| io.flow.v0.models.TransactionMetadataManual
|
|
17840
18081
|
| io.flow.v0.models.TransactionMetadataFailedPayout
|
|
17841
18082
|
| io.flow.v0.models.TransactionMetadataPaymentTransaction;
|
|
18083
|
+
type TransferReference =
|
|
18084
|
+
| io.flow.v0.models.CaptureReference
|
|
18085
|
+
| io.flow.v0.models.RefundReference
|
|
18086
|
+
| io.flow.v0.models.DisputeReference;
|
|
17842
18087
|
}
|
|
17843
18088
|
|
|
17844
18089
|
export type AbandonedOrderEmailSettings =
|
|
@@ -18421,6 +18666,7 @@ export type DiscountRuleSubsidyTarget =
|
|
|
18421
18666
|
io.flow.v0.enums.DiscountRuleSubsidyTarget;
|
|
18422
18667
|
export type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
18423
18668
|
export type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
18669
|
+
export type DisputeReference = io.flow.v0.models.DisputeReference;
|
|
18424
18670
|
export type Document = io.flow.v0.unions.Document;
|
|
18425
18671
|
export type Duration = io.flow.v0.models.Duration;
|
|
18426
18672
|
export type DutiesTaxesPaidSurchargeRatecardFee =
|
|
@@ -18465,15 +18711,13 @@ export type Entity = io.flow.v0.unions.Entity;
|
|
|
18465
18711
|
export type EntityIdentifier = io.flow.v0.models.EntityIdentifier;
|
|
18466
18712
|
export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType;
|
|
18467
18713
|
export type Environment = io.flow.v0.enums.Environment;
|
|
18468
|
-
export type Estimate = io.flow.v0.models.Estimate;
|
|
18469
|
-
export type EstimateOrigin = io.flow.v0.enums.EstimateOrigin;
|
|
18470
|
-
export type EstimateType = io.flow.v0.enums.EstimateType;
|
|
18471
18714
|
export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions;
|
|
18472
18715
|
export type EstimatedWindow = io.flow.v0.models.EstimatedWindow;
|
|
18473
18716
|
export type Event = io.flow.v0.unions.Event;
|
|
18474
18717
|
export type EventType = io.flow.v0.enums.EventType;
|
|
18475
18718
|
export type Exception = io.flow.v0.models.Exception;
|
|
18476
18719
|
export type ExceptionType = io.flow.v0.enums.ExceptionType;
|
|
18720
|
+
export type ExchangedMoney = io.flow.v0.models.ExchangedMoney;
|
|
18477
18721
|
export type ExclusionRule = io.flow.v0.models.ExclusionRule;
|
|
18478
18722
|
export type ExclusionRuleForm = io.flow.v0.models.ExclusionRuleForm;
|
|
18479
18723
|
export type ExclusionRuleState = io.flow.v0.enums.ExclusionRuleState;
|
|
@@ -18577,6 +18821,7 @@ export type ExportStatus = io.flow.v0.enums.ExportStatus;
|
|
|
18577
18821
|
export type ExportType = io.flow.v0.unions.ExportType;
|
|
18578
18822
|
export type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
18579
18823
|
export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
|
|
18824
|
+
export type ExternalCard = io.flow.v0.models.ExternalCard;
|
|
18580
18825
|
export type FeeDeduction = io.flow.v0.models.FeeDeduction;
|
|
18581
18826
|
export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
|
|
18582
18827
|
export type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
@@ -18660,13 +18905,23 @@ export type GatewayAuthenticationData =
|
|
|
18660
18905
|
io.flow.v0.unions.GatewayAuthenticationData;
|
|
18661
18906
|
export type GatewayAuthenticationDataForm =
|
|
18662
18907
|
io.flow.v0.unions.GatewayAuthenticationDataForm;
|
|
18908
|
+
export type GeCatalogItemIngestionResponse =
|
|
18909
|
+
io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
18910
|
+
export type GeCatalogItemIngestionResult =
|
|
18911
|
+
io.flow.v0.models.GeCatalogItemIngestionResult;
|
|
18912
|
+
export type GeCatalogItemInput = io.flow.v0.models.GeCatalogItemInput;
|
|
18913
|
+
export type GeEnvironment = io.flow.v0.enums.GeEnvironment;
|
|
18914
|
+
export type GeEventType = io.flow.v0.enums.GeEventType;
|
|
18915
|
+
export type GeInputAttributes = io.flow.v0.models.GeInputAttributes;
|
|
18916
|
+
export type GeInputPrice = io.flow.v0.models.GeInputPrice;
|
|
18663
18917
|
export type GeItemDeleted = io.flow.v0.models.GeItemDeleted;
|
|
18664
18918
|
export type GeItemInserted = io.flow.v0.models.GeItemInserted;
|
|
18665
18919
|
export type GeItemUpdated = io.flow.v0.models.GeItemUpdated;
|
|
18666
|
-
export type
|
|
18667
|
-
io.flow.v0.models.
|
|
18668
|
-
export type
|
|
18669
|
-
io.flow.v0.models.
|
|
18920
|
+
export type GeProductRestrictionResultDelete =
|
|
18921
|
+
io.flow.v0.models.GeProductRestrictionResultDelete;
|
|
18922
|
+
export type GeProductRestrictionResultUpsert =
|
|
18923
|
+
io.flow.v0.models.GeProductRestrictionResultUpsert;
|
|
18924
|
+
export type GeRestrictionEvent = io.flow.v0.unions.GeRestrictionEvent;
|
|
18670
18925
|
export type GenerateLoad = io.flow.v0.models.GenerateLoad;
|
|
18671
18926
|
export type GenericError = io.flow.v0.models.GenericError;
|
|
18672
18927
|
export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
@@ -19216,6 +19471,8 @@ export type PaymentError = io.flow.v0.models.PaymentError;
|
|
|
19216
19471
|
export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
|
|
19217
19472
|
export type PaymentFailure = io.flow.v0.models.PaymentFailure;
|
|
19218
19473
|
export type PaymentFailureCode = io.flow.v0.enums.PaymentFailureCode;
|
|
19474
|
+
export type PaymentFee = io.flow.v0.models.PaymentFee;
|
|
19475
|
+
export type PaymentFeeType = io.flow.v0.enums.PaymentFeeType;
|
|
19219
19476
|
export type PaymentForm = io.flow.v0.unions.PaymentForm;
|
|
19220
19477
|
export type PaymentInformation = io.flow.v0.models.PaymentInformation;
|
|
19221
19478
|
export type PaymentMethod = io.flow.v0.models.PaymentMethod;
|
|
@@ -19995,6 +20252,12 @@ export type TransactionNetworkDetailsCard =
|
|
|
19995
20252
|
export type TransactionReference = io.flow.v0.models.TransactionReference;
|
|
19996
20253
|
export type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
19997
20254
|
export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
20255
|
+
export type Transfer = io.flow.v0.models.Transfer;
|
|
20256
|
+
export type TransferDeleted = io.flow.v0.models.TransferDeleted;
|
|
20257
|
+
export type TransferReference = io.flow.v0.unions.TransferReference;
|
|
20258
|
+
export type TransferStatus = io.flow.v0.enums.TransferStatus;
|
|
20259
|
+
export type TransferType = io.flow.v0.enums.TransferType;
|
|
20260
|
+
export type TransferUpserted = io.flow.v0.models.TransferUpserted;
|
|
19998
20261
|
export type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
19999
20262
|
export type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
20000
20263
|
export type TrueupLabelBase = io.flow.v0.models.TrueupLabelBase;
|