@flowio/types 11.24.111 → 11.24.113
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 +216 -464
- package/dist/api.d.ts +196 -89
- package/package.json +2 -2
- package/src/api-internal.ts +283 -596
- package/src/api.ts +249 -117
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,17 @@ 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 ConnectReportReportingCategory =
|
|
271
|
+
| 'charge'
|
|
272
|
+
| 'refund'
|
|
273
|
+
| 'payout_reversal'
|
|
274
|
+
| 'transfer'
|
|
275
|
+
| 'transfer_reversal';
|
|
276
|
+
type ConnectReportShopPlan = 'shopify_plus' | 'standard';
|
|
277
|
+
type ConnectReportTransferType =
|
|
278
|
+
| 'ManagedMarketsRefundDebit'
|
|
279
|
+
| 'ManagedMarketsDutiesAndTaxesAdjustmentDebit'
|
|
280
|
+
| 'ManagedMarketsDisputedAmountDebit';
|
|
264
281
|
type DeclineCode =
|
|
265
282
|
| 'approve_with_id'
|
|
266
283
|
| 'call_issuer'
|
|
@@ -430,6 +447,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
430
447
|
| 'rate_limit_error'
|
|
431
448
|
| 'validation_error';
|
|
432
449
|
type EventType =
|
|
450
|
+
| 'capability.updated'
|
|
433
451
|
| 'charge.captured'
|
|
434
452
|
| 'charge.failed'
|
|
435
453
|
| 'charge.pending'
|
|
@@ -714,6 +732,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
714
732
|
readonly type: io.flow.stripe.v0.enums.ApplePayType;
|
|
715
733
|
}
|
|
716
734
|
|
|
735
|
+
interface Capability {
|
|
736
|
+
readonly id: string;
|
|
737
|
+
readonly account: string;
|
|
738
|
+
readonly requested: boolean;
|
|
739
|
+
readonly requirements: any /*object*/;
|
|
740
|
+
readonly status: io.flow.stripe.v0.enums.CapabilityStatus;
|
|
741
|
+
readonly object: string;
|
|
742
|
+
readonly future_requirements: any /*object*/;
|
|
743
|
+
readonly requested_at?: number;
|
|
744
|
+
}
|
|
745
|
+
|
|
717
746
|
interface Card {
|
|
718
747
|
readonly id: string;
|
|
719
748
|
readonly object: string;
|
|
@@ -857,6 +886,46 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
857
886
|
readonly status: io.flow.stripe.v0.enums.CodeVerificationStatus;
|
|
858
887
|
}
|
|
859
888
|
|
|
889
|
+
interface ConnectReportRecord {
|
|
890
|
+
readonly created_utc: string;
|
|
891
|
+
readonly charge_id?: string;
|
|
892
|
+
readonly payment_intent_id?: string;
|
|
893
|
+
readonly gross: number;
|
|
894
|
+
readonly fee: number;
|
|
895
|
+
readonly net: number;
|
|
896
|
+
readonly currency: string;
|
|
897
|
+
readonly connected_account: string;
|
|
898
|
+
readonly reporting_category: io.flow.stripe.v0.enums.ConnectReportReportingCategory;
|
|
899
|
+
readonly dispute_reason?: io.flow.stripe.v0.enums.DisputeReason;
|
|
900
|
+
readonly available_on_utc: string;
|
|
901
|
+
readonly automatic_payout_effective_at_utc?: string;
|
|
902
|
+
readonly source_id?: string;
|
|
903
|
+
readonly customer_facing_amount?: number;
|
|
904
|
+
readonly customer_facing_currency?: string;
|
|
905
|
+
readonly payment_method_type?: string;
|
|
906
|
+
readonly card_brand?: string;
|
|
907
|
+
readonly statement_descriptor?: string;
|
|
908
|
+
readonly payment_metadata?: io.flow.stripe.v0.models.ConnectReportRecordPaymentMetadata;
|
|
909
|
+
readonly transfer_metadata?: any /*object*/;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
interface ConnectReportRecordPaymentMetadata {
|
|
913
|
+
readonly shop_id?: number;
|
|
914
|
+
readonly shop_plan?: io.flow.stripe.v0.enums.ConnectReportShopPlan;
|
|
915
|
+
readonly checkout_id?: string;
|
|
916
|
+
readonly order_id?: number;
|
|
917
|
+
readonly order_transaction_id?: number;
|
|
918
|
+
readonly transfer_type?: io.flow.stripe.v0.enums.ConnectReportTransferType;
|
|
919
|
+
readonly transfer_exchange_rate?: number;
|
|
920
|
+
readonly charge_total?: number;
|
|
921
|
+
readonly charge_currency?: string;
|
|
922
|
+
readonly charge_exchange_rate?: number;
|
|
923
|
+
readonly duties?: number;
|
|
924
|
+
readonly import_taxes?: number;
|
|
925
|
+
readonly mor_fee?: number;
|
|
926
|
+
readonly fx_fee?: number;
|
|
927
|
+
}
|
|
928
|
+
|
|
860
929
|
interface Customer {
|
|
861
930
|
readonly id: string;
|
|
862
931
|
readonly object: string;
|
|
@@ -2074,6 +2143,12 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2074
2143
|
interface GraphqlMetaobject {
|
|
2075
2144
|
readonly id: string;
|
|
2076
2145
|
readonly displayName: string;
|
|
2146
|
+
readonly fields: io.flow.shopify.external.v0.models.GraphqlMetaobjectField[];
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
interface GraphqlMetaobjectField {
|
|
2150
|
+
readonly key: string;
|
|
2151
|
+
readonly value?: string;
|
|
2077
2152
|
}
|
|
2078
2153
|
|
|
2079
2154
|
interface GraphqlOption {
|
|
@@ -3091,6 +3166,9 @@ declare namespace io.flow.common.v0.enums {
|
|
|
3091
3166
|
| 'inch'
|
|
3092
3167
|
| 'foot'
|
|
3093
3168
|
| 'cubic_inch'
|
|
3169
|
+
| 'cubic_foot'
|
|
3170
|
+
| 'cubic_millimeter'
|
|
3171
|
+
| 'cubic_centimeter'
|
|
3094
3172
|
| 'cubic_meter'
|
|
3095
3173
|
| 'gram'
|
|
3096
3174
|
| 'kilogram'
|
|
@@ -4908,29 +4986,6 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
4908
4986
|
}
|
|
4909
4987
|
}
|
|
4910
4988
|
|
|
4911
|
-
declare namespace io.flow.currency.v0.models {
|
|
4912
|
-
interface Rate {
|
|
4913
|
-
readonly id: string;
|
|
4914
|
-
readonly base: string;
|
|
4915
|
-
readonly target: string;
|
|
4916
|
-
readonly effective_at: string;
|
|
4917
|
-
readonly value: number;
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
interface RateForm {
|
|
4921
|
-
readonly base: string;
|
|
4922
|
-
readonly target: string;
|
|
4923
|
-
readonly effective_at: string;
|
|
4924
|
-
}
|
|
4925
|
-
|
|
4926
|
-
interface RateVersion {
|
|
4927
|
-
readonly id: string;
|
|
4928
|
-
readonly timestamp: string;
|
|
4929
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
4930
|
-
readonly rate: io.flow.currency.v0.models.Rate;
|
|
4931
|
-
}
|
|
4932
|
-
}
|
|
4933
|
-
|
|
4934
4989
|
declare namespace io.flow.organization.v0.enums {
|
|
4935
4990
|
type CountryPickerSource = 'experience' | 'destination';
|
|
4936
4991
|
type EcommercePlatformType =
|
|
@@ -5990,6 +6045,69 @@ declare namespace io.flow.query.builder.v0.unions {
|
|
|
5990
6045
|
| io.flow.query.builder.v0.models.QueryFilterUnstructuredForm;
|
|
5991
6046
|
}
|
|
5992
6047
|
|
|
6048
|
+
declare namespace io.flow.sellability.v0.enums {
|
|
6049
|
+
type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
|
|
6050
|
+
type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category';
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6053
|
+
declare namespace io.flow.sellability.v0.models {
|
|
6054
|
+
interface ProductSellability {
|
|
6055
|
+
readonly shop_id: string;
|
|
6056
|
+
readonly product_id?: string;
|
|
6057
|
+
readonly request_id: string;
|
|
6058
|
+
readonly hs6_code: string;
|
|
6059
|
+
readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
interface ProductSellabilityForm {
|
|
6063
|
+
readonly shop_id: string;
|
|
6064
|
+
readonly product_id?: string;
|
|
6065
|
+
readonly request_id: string;
|
|
6066
|
+
readonly name: string;
|
|
6067
|
+
readonly price: io.flow.sellability.v0.models.ProductSellabilityPrice;
|
|
6068
|
+
readonly description: string;
|
|
6069
|
+
readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
6070
|
+
}
|
|
6071
|
+
|
|
6072
|
+
interface ProductSellabilityPrice {
|
|
6073
|
+
readonly currency: string;
|
|
6074
|
+
readonly amount: number;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6077
|
+
interface SellabilityError {
|
|
6078
|
+
readonly code: io.flow.sellability.v0.enums.SellabilityErrorCode;
|
|
6079
|
+
readonly messages: string[];
|
|
6080
|
+
}
|
|
6081
|
+
|
|
6082
|
+
interface SellablilityRegionResult {
|
|
6083
|
+
readonly type: io.flow.sellability.v0.enums.RuleEffectType;
|
|
6084
|
+
readonly regions: string[];
|
|
6085
|
+
}
|
|
6086
|
+
}
|
|
6087
|
+
|
|
6088
|
+
declare namespace io.flow.currency.v0.models {
|
|
6089
|
+
interface Rate {
|
|
6090
|
+
readonly id: string;
|
|
6091
|
+
readonly base: string;
|
|
6092
|
+
readonly target: string;
|
|
6093
|
+
readonly effective_at: string;
|
|
6094
|
+
readonly value: number;
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
interface RateForm {
|
|
6098
|
+
readonly base: string;
|
|
6099
|
+
readonly target: string;
|
|
6100
|
+
readonly effective_at: string;
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
interface RateVersion {
|
|
6104
|
+
readonly id: string;
|
|
6105
|
+
readonly timestamp: string;
|
|
6106
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
6107
|
+
readonly rate: io.flow.currency.v0.models.Rate;
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
|
|
5993
6111
|
declare namespace io.flow.v0.enums {
|
|
5994
6112
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
5995
6113
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
@@ -6204,8 +6322,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6204
6322
|
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
6205
6323
|
type Environment = 'sandbox' | 'production';
|
|
6206
6324
|
type EventType =
|
|
6207
|
-
| 'authorization_retry_upserted'
|
|
6208
|
-
| 'authorization_retry_deleted'
|
|
6209
6325
|
| 'test_upserted'
|
|
6210
6326
|
| 'generate_load'
|
|
6211
6327
|
| 'aldo_item_upserted'
|
|
@@ -6324,8 +6440,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6324
6440
|
| 'ge_item_inserted'
|
|
6325
6441
|
| 'ge_item_updated'
|
|
6326
6442
|
| 'ge_item_deleted'
|
|
6327
|
-
| 'ge_product_restriction_result_upserted'
|
|
6328
|
-
| 'ge_product_restriction_result_deleted'
|
|
6329
6443
|
| 'hs6_code_upserted'
|
|
6330
6444
|
| 'hs6_code_deleted'
|
|
6331
6445
|
| 'hs10_code_upserted'
|
|
@@ -6347,10 +6461,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6347
6461
|
| 'label_processing_modification_deleted'
|
|
6348
6462
|
| 'merchant_application_upserted'
|
|
6349
6463
|
| 'merchant_application_deleted'
|
|
6350
|
-
| 'checkout_optin_responses_upserted'
|
|
6351
|
-
| 'checkout_optin_responses_deleted'
|
|
6352
|
-
| 'browse_optin_responses_upserted'
|
|
6353
|
-
| 'browse_optin_responses_deleted'
|
|
6354
6464
|
| 'order_placed'
|
|
6355
6465
|
| 'order_placed_v2'
|
|
6356
6466
|
| 'ready_to_fulfill'
|
|
@@ -6392,6 +6502,8 @@ declare namespace io.flow.v0.enums {
|
|
|
6392
6502
|
| 'virtual_card_capture_deleted'
|
|
6393
6503
|
| 'virtual_card_refund_upserted'
|
|
6394
6504
|
| 'virtual_card_refund_deleted'
|
|
6505
|
+
| 'authorization_retry_upserted'
|
|
6506
|
+
| 'authorization_retry_deleted'
|
|
6395
6507
|
| 'payment_request_upserted'
|
|
6396
6508
|
| 'payment_request_deleted'
|
|
6397
6509
|
| 'price_book_upserted'
|
|
@@ -6453,6 +6565,11 @@ declare namespace io.flow.v0.enums {
|
|
|
6453
6565
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
6454
6566
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
6455
6567
|
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
6568
|
+
type GeCatalogItemIngestionResponse =
|
|
6569
|
+
| 'ge_catalog_item_ingestion_success'
|
|
6570
|
+
| 'ge_catalog_item_ingestion_failure';
|
|
6571
|
+
type GeEnvironment = 'production' | 'sandbox';
|
|
6572
|
+
type GeEventType = 'restriction_result' | 'ingestion_result';
|
|
6456
6573
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
6457
6574
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
6458
6575
|
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
@@ -6583,7 +6700,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6583
6700
|
| 'toys_hobbies_gifts'
|
|
6584
6701
|
| 'vehicles_and_parts'
|
|
6585
6702
|
| 'other';
|
|
6586
|
-
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
6587
6703
|
type OrderChangeSource =
|
|
6588
6704
|
| 'consumer'
|
|
6589
6705
|
| 'retailer'
|
|
@@ -6664,7 +6780,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6664
6780
|
| 'by_quantity_percentage';
|
|
6665
6781
|
type OrderStatus = 'open' | 'submitted';
|
|
6666
6782
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
6667
|
-
type OrderType = 'standard' | 'replacement';
|
|
6783
|
+
type OrderType = 'standard' | 'replacement' | 'edit';
|
|
6668
6784
|
type OrganizationPaymentMethodTag = 'deny';
|
|
6669
6785
|
type OrganizationStatus =
|
|
6670
6786
|
| 'active'
|
|
@@ -6714,6 +6830,7 @@ declare namespace io.flow.v0.enums {
|
|
|
6714
6830
|
| 'fraudulent'
|
|
6715
6831
|
| 'error'
|
|
6716
6832
|
| 'payment_checks_declined';
|
|
6833
|
+
type PaymentFeeType = 'fx' | 'mor';
|
|
6717
6834
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
6718
6835
|
type PaymentMethodDataOptionType = 'ideal_issuer_option';
|
|
6719
6836
|
type PaymentMethodRuleContentKey = 'description';
|
|
@@ -7068,8 +7185,7 @@ declare namespace io.flow.v0.enums {
|
|
|
7068
7185
|
| 'failed_payout'
|
|
7069
7186
|
| 'tax_refund'
|
|
7070
7187
|
| 'non_l4l_tax_duty_fx'
|
|
7071
|
-
| 'ge_revenue_share'
|
|
7072
|
-
| 'tax_duty_delta';
|
|
7188
|
+
| 'ge_revenue_share';
|
|
7073
7189
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
7074
7190
|
type TrueupSurchargeType =
|
|
7075
7191
|
| 'fuel'
|
|
@@ -7097,6 +7213,9 @@ declare namespace io.flow.v0.enums {
|
|
|
7097
7213
|
| 'inch'
|
|
7098
7214
|
| 'foot'
|
|
7099
7215
|
| 'cubic_inch'
|
|
7216
|
+
| 'cubic_foot'
|
|
7217
|
+
| 'cubic_millimeter'
|
|
7218
|
+
| 'cubic_centimeter'
|
|
7100
7219
|
| 'cubic_meter'
|
|
7101
7220
|
| 'gram'
|
|
7102
7221
|
| 'kilogram'
|
|
@@ -7104,7 +7223,12 @@ declare namespace io.flow.v0.enums {
|
|
|
7104
7223
|
| 'ounce'
|
|
7105
7224
|
| 'pound';
|
|
7106
7225
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
7107
|
-
type UnitOfVolume =
|
|
7226
|
+
type UnitOfVolume =
|
|
7227
|
+
| 'cubic_inch'
|
|
7228
|
+
| 'cubic_foot'
|
|
7229
|
+
| 'cubic_millimeter'
|
|
7230
|
+
| 'cubic_centimeter'
|
|
7231
|
+
| 'cubic_meter';
|
|
7108
7232
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
7109
7233
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
7110
7234
|
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
@@ -8074,28 +8198,6 @@ declare namespace io.flow.v0.models {
|
|
|
8074
8198
|
readonly hub_code?: string;
|
|
8075
8199
|
}
|
|
8076
8200
|
|
|
8077
|
-
interface BrowseOptinResponses {
|
|
8078
|
-
readonly id: string;
|
|
8079
|
-
readonly session_id: string;
|
|
8080
|
-
readonly optin_responses: io.flow.v0.models.OptinResponse[];
|
|
8081
|
-
}
|
|
8082
|
-
|
|
8083
|
-
interface BrowseOptinResponsesDeleted {
|
|
8084
|
-
readonly discriminator: 'browse_optin_responses_deleted';
|
|
8085
|
-
readonly event_id: string;
|
|
8086
|
-
readonly timestamp: string;
|
|
8087
|
-
readonly organization: string;
|
|
8088
|
-
readonly id: string;
|
|
8089
|
-
}
|
|
8090
|
-
|
|
8091
|
-
interface BrowseOptinResponsesUpserted {
|
|
8092
|
-
readonly discriminator: 'browse_optin_responses_upserted';
|
|
8093
|
-
readonly event_id: string;
|
|
8094
|
-
readonly timestamp: string;
|
|
8095
|
-
readonly organization: string;
|
|
8096
|
-
readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
|
|
8097
|
-
}
|
|
8098
|
-
|
|
8099
8201
|
interface BrowserInfo {
|
|
8100
8202
|
readonly origin?: string;
|
|
8101
8203
|
readonly language?: string;
|
|
@@ -8125,6 +8227,7 @@ declare namespace io.flow.v0.models {
|
|
|
8125
8227
|
readonly attributes?: Record<string, string>;
|
|
8126
8228
|
readonly status?: io.flow.v0.enums.CaptureStatus;
|
|
8127
8229
|
readonly base?: io.flow.v0.models.Money;
|
|
8230
|
+
readonly fees?: io.flow.v0.models.PaymentFee[];
|
|
8128
8231
|
}
|
|
8129
8232
|
|
|
8130
8233
|
interface CaptureDeleted {
|
|
@@ -8922,29 +9025,6 @@ declare namespace io.flow.v0.models {
|
|
|
8922
9025
|
readonly value: string;
|
|
8923
9026
|
}
|
|
8924
9027
|
|
|
8925
|
-
interface CheckoutOptinResponses {
|
|
8926
|
-
readonly id: string;
|
|
8927
|
-
readonly order_number: string;
|
|
8928
|
-
readonly session_id: string;
|
|
8929
|
-
readonly optin_responses: io.flow.v0.models.OptinResponse[];
|
|
8930
|
-
}
|
|
8931
|
-
|
|
8932
|
-
interface CheckoutOptinResponsesDeleted {
|
|
8933
|
-
readonly discriminator: 'checkout_optin_responses_deleted';
|
|
8934
|
-
readonly event_id: string;
|
|
8935
|
-
readonly timestamp: string;
|
|
8936
|
-
readonly organization: string;
|
|
8937
|
-
readonly id: string;
|
|
8938
|
-
}
|
|
8939
|
-
|
|
8940
|
-
interface CheckoutOptinResponsesUpserted {
|
|
8941
|
-
readonly discriminator: 'checkout_optin_responses_upserted';
|
|
8942
|
-
readonly event_id: string;
|
|
8943
|
-
readonly timestamp: string;
|
|
8944
|
-
readonly organization: string;
|
|
8945
|
-
readonly checkout_optin_responses: io.flow.v0.models.CheckoutOptinResponses;
|
|
8946
|
-
}
|
|
8947
|
-
|
|
8948
9028
|
interface CheckoutReference {
|
|
8949
9029
|
readonly id: string;
|
|
8950
9030
|
}
|
|
@@ -9905,6 +9985,7 @@ declare namespace io.flow.v0.models {
|
|
|
9905
9985
|
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
9906
9986
|
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
9907
9987
|
readonly amount: io.flow.v0.models.Money;
|
|
9988
|
+
readonly destination_countries?: string[];
|
|
9908
9989
|
readonly starts_at?: string;
|
|
9909
9990
|
readonly ends_at?: string;
|
|
9910
9991
|
}
|
|
@@ -10457,6 +10538,12 @@ declare namespace io.flow.v0.models {
|
|
|
10457
10538
|
readonly export: io.flow.v0.models.Export;
|
|
10458
10539
|
}
|
|
10459
10540
|
|
|
10541
|
+
interface ExternalCard {
|
|
10542
|
+
readonly discriminator: 'external_card';
|
|
10543
|
+
readonly id: string;
|
|
10544
|
+
readonly type?: io.flow.v0.enums.CardType;
|
|
10545
|
+
}
|
|
10546
|
+
|
|
10460
10547
|
interface FeeDeduction {
|
|
10461
10548
|
readonly type: io.flow.v0.enums.FeeDeductionType;
|
|
10462
10549
|
readonly amount: number;
|
|
@@ -10755,6 +10842,45 @@ declare namespace io.flow.v0.models {
|
|
|
10755
10842
|
readonly landed_costs: io.flow.v0.models.LaneLandedCost[];
|
|
10756
10843
|
}
|
|
10757
10844
|
|
|
10845
|
+
interface GeCatalogItemIngestionResult {
|
|
10846
|
+
readonly discriminator: 'ge_catalog_item_ingestion_result';
|
|
10847
|
+
readonly event_id: string;
|
|
10848
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10849
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10850
|
+
readonly timestamp: string;
|
|
10851
|
+
readonly source: string;
|
|
10852
|
+
readonly response: io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
10853
|
+
readonly message: string;
|
|
10854
|
+
}
|
|
10855
|
+
|
|
10856
|
+
interface GeCatalogItemInput {
|
|
10857
|
+
readonly event_id: string;
|
|
10858
|
+
readonly number: string;
|
|
10859
|
+
readonly organization_id: string;
|
|
10860
|
+
readonly name: string;
|
|
10861
|
+
readonly description: string;
|
|
10862
|
+
readonly price: io.flow.v0.models.GeInputPrice;
|
|
10863
|
+
readonly attributes: io.flow.v0.models.GeInputAttributes;
|
|
10864
|
+
readonly locale: string;
|
|
10865
|
+
readonly id: string;
|
|
10866
|
+
readonly categories: string[];
|
|
10867
|
+
readonly created_at: string;
|
|
10868
|
+
readonly updated_at: string;
|
|
10869
|
+
readonly images: string[];
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10872
|
+
interface GeInputAttributes {
|
|
10873
|
+
readonly country_of_origin: string;
|
|
10874
|
+
readonly ge_hs6_code: string;
|
|
10875
|
+
readonly product_id: string;
|
|
10876
|
+
}
|
|
10877
|
+
|
|
10878
|
+
interface GeInputPrice {
|
|
10879
|
+
readonly amount: number;
|
|
10880
|
+
readonly currency: string;
|
|
10881
|
+
readonly label: string;
|
|
10882
|
+
}
|
|
10883
|
+
|
|
10758
10884
|
interface GeItemDeleted {
|
|
10759
10885
|
readonly discriminator: 'ge_item_deleted';
|
|
10760
10886
|
readonly event_id: string;
|
|
@@ -10779,19 +10905,23 @@ declare namespace io.flow.v0.models {
|
|
|
10779
10905
|
readonly item: io.flow.v0.models.Item;
|
|
10780
10906
|
}
|
|
10781
10907
|
|
|
10782
|
-
interface
|
|
10783
|
-
readonly discriminator: '
|
|
10908
|
+
interface GeProductRestrictionResultDelete {
|
|
10909
|
+
readonly discriminator: 'ge_product_restriction_result_delete';
|
|
10910
|
+
readonly organization: string;
|
|
10784
10911
|
readonly event_id: string;
|
|
10912
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10913
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10785
10914
|
readonly timestamp: string;
|
|
10786
|
-
readonly organization: string;
|
|
10787
10915
|
readonly id: string;
|
|
10788
10916
|
}
|
|
10789
10917
|
|
|
10790
|
-
interface
|
|
10791
|
-
readonly discriminator: '
|
|
10918
|
+
interface GeProductRestrictionResultUpsert {
|
|
10919
|
+
readonly discriminator: 'ge_product_restriction_result_upsert';
|
|
10920
|
+
readonly organization: string;
|
|
10792
10921
|
readonly event_id: string;
|
|
10922
|
+
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10923
|
+
readonly environment: io.flow.v0.enums.GeEnvironment;
|
|
10793
10924
|
readonly timestamp: string;
|
|
10794
|
-
readonly organization: string;
|
|
10795
10925
|
readonly ge_product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
|
|
10796
10926
|
}
|
|
10797
10927
|
|
|
@@ -12326,11 +12456,6 @@ declare namespace io.flow.v0.models {
|
|
|
12326
12456
|
readonly phone?: string;
|
|
12327
12457
|
}
|
|
12328
12458
|
|
|
12329
|
-
interface OptinResponse {
|
|
12330
|
-
readonly key: string;
|
|
12331
|
-
readonly value: io.flow.v0.enums.OptinResponseType;
|
|
12332
|
-
}
|
|
12333
|
-
|
|
12334
12459
|
interface OptionWeightEstimates {
|
|
12335
12460
|
readonly gravitational: io.flow.v0.models.Measurement;
|
|
12336
12461
|
readonly dimensional: io.flow.v0.models.Measurement;
|
|
@@ -13508,6 +13633,12 @@ declare namespace io.flow.v0.models {
|
|
|
13508
13633
|
readonly failure_message: string;
|
|
13509
13634
|
}
|
|
13510
13635
|
|
|
13636
|
+
interface PaymentFee {
|
|
13637
|
+
readonly type: io.flow.v0.enums.PaymentFeeType;
|
|
13638
|
+
readonly money: io.flow.v0.models.Money;
|
|
13639
|
+
readonly base?: io.flow.v0.models.Money;
|
|
13640
|
+
}
|
|
13641
|
+
|
|
13511
13642
|
interface PaymentInformation {
|
|
13512
13643
|
readonly amount_refundable?: number;
|
|
13513
13644
|
readonly amount_refunded?: number;
|
|
@@ -14515,6 +14646,7 @@ declare namespace io.flow.v0.models {
|
|
|
14515
14646
|
readonly updated_by?: string;
|
|
14516
14647
|
readonly product_restriction_id?: string;
|
|
14517
14648
|
readonly hs_code?: string;
|
|
14649
|
+
readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellablilityRegionResult[];
|
|
14518
14650
|
}
|
|
14519
14651
|
|
|
14520
14652
|
interface ProductRestrictionResultDeleted {
|
|
@@ -17354,8 +17486,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17354
17486
|
| io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
17355
17487
|
type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual;
|
|
17356
17488
|
type Event =
|
|
17357
|
-
| io.flow.v0.models.AuthorizationRetryUpserted
|
|
17358
|
-
| io.flow.v0.models.AuthorizationRetryDeleted
|
|
17359
17489
|
| io.flow.v0.models.TestUpserted
|
|
17360
17490
|
| io.flow.v0.models.GenerateLoad
|
|
17361
17491
|
| io.flow.v0.models.AldoItemUpserted
|
|
@@ -17474,8 +17604,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17474
17604
|
| io.flow.v0.models.GeItemInserted
|
|
17475
17605
|
| io.flow.v0.models.GeItemUpdated
|
|
17476
17606
|
| io.flow.v0.models.GeItemDeleted
|
|
17477
|
-
| io.flow.v0.models.GeProductRestrictionResultUpserted
|
|
17478
|
-
| io.flow.v0.models.GeProductRestrictionResultDeleted
|
|
17479
17607
|
| io.flow.v0.models.Hs6CodeUpserted
|
|
17480
17608
|
| io.flow.v0.models.Hs6CodeDeleted
|
|
17481
17609
|
| io.flow.v0.models.Hs10CodeUpserted
|
|
@@ -17497,10 +17625,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17497
17625
|
| io.flow.v0.models.LabelProcessingModificationDeleted
|
|
17498
17626
|
| io.flow.v0.models.MerchantApplicationUpserted
|
|
17499
17627
|
| io.flow.v0.models.MerchantApplicationDeleted
|
|
17500
|
-
| io.flow.v0.models.CheckoutOptinResponsesUpserted
|
|
17501
|
-
| io.flow.v0.models.CheckoutOptinResponsesDeleted
|
|
17502
|
-
| io.flow.v0.models.BrowseOptinResponsesUpserted
|
|
17503
|
-
| io.flow.v0.models.BrowseOptinResponsesDeleted
|
|
17504
17628
|
| io.flow.v0.models.OrderPlaced
|
|
17505
17629
|
| io.flow.v0.models.OrderPlacedV2
|
|
17506
17630
|
| io.flow.v0.models.ReadyToFulfill
|
|
@@ -17542,6 +17666,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17542
17666
|
| io.flow.v0.models.VirtualCardCaptureDeleted
|
|
17543
17667
|
| io.flow.v0.models.VirtualCardRefundUpserted
|
|
17544
17668
|
| io.flow.v0.models.VirtualCardRefundDeleted
|
|
17669
|
+
| io.flow.v0.models.AuthorizationRetryUpserted
|
|
17670
|
+
| io.flow.v0.models.AuthorizationRetryDeleted
|
|
17545
17671
|
| io.flow.v0.models.PaymentRequestUpserted
|
|
17546
17672
|
| io.flow.v0.models.PaymentRequestDeleted
|
|
17547
17673
|
| io.flow.v0.models.PriceBookUpserted
|
|
@@ -17568,7 +17694,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17568
17694
|
type ExpandableCard =
|
|
17569
17695
|
| io.flow.v0.models.Card
|
|
17570
17696
|
| io.flow.v0.models.CardReference
|
|
17571
|
-
| io.flow.v0.models.CardSummary
|
|
17697
|
+
| io.flow.v0.models.CardSummary
|
|
17698
|
+
| io.flow.v0.models.ExternalCard;
|
|
17572
17699
|
type ExpandableCenter =
|
|
17573
17700
|
| io.flow.v0.models.Center
|
|
17574
17701
|
| io.flow.v0.models.CenterReference;
|
|
@@ -17624,6 +17751,10 @@ declare namespace io.flow.v0.unions {
|
|
|
17624
17751
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
17625
17752
|
type GatewayAuthenticationDataForm =
|
|
17626
17753
|
io.flow.v0.models.StripeAuthenticationDataForm;
|
|
17754
|
+
type GeRestrictionEvent =
|
|
17755
|
+
| io.flow.v0.models.GeProductRestrictionResultUpsert
|
|
17756
|
+
| io.flow.v0.models.GeProductRestrictionResultDelete
|
|
17757
|
+
| io.flow.v0.models.GeCatalogItemIngestionResult;
|
|
17627
17758
|
type InlineActionConfiguration =
|
|
17628
17759
|
io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
17629
17760
|
type InputSpecificationLimitation =
|
|
@@ -18099,11 +18230,6 @@ export type BillingDiscount = io.flow.v0.models.BillingDiscount;
|
|
|
18099
18230
|
export type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
18100
18231
|
export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
|
|
18101
18232
|
export type BridgeShippingLabelForm = io.flow.v0.models.BridgeShippingLabelForm;
|
|
18102
|
-
export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
18103
|
-
export type BrowseOptinResponsesDeleted =
|
|
18104
|
-
io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
18105
|
-
export type BrowseOptinResponsesUpserted =
|
|
18106
|
-
io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
18107
18233
|
export type BrowserActionConfiguration =
|
|
18108
18234
|
io.flow.v0.unions.BrowserActionConfiguration;
|
|
18109
18235
|
export type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
@@ -18265,11 +18391,6 @@ export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
|
|
|
18265
18391
|
export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
|
|
18266
18392
|
export type CheckoutItemContentAttribute =
|
|
18267
18393
|
io.flow.v0.models.CheckoutItemContentAttribute;
|
|
18268
|
-
export type CheckoutOptinResponses = io.flow.v0.models.CheckoutOptinResponses;
|
|
18269
|
-
export type CheckoutOptinResponsesDeleted =
|
|
18270
|
-
io.flow.v0.models.CheckoutOptinResponsesDeleted;
|
|
18271
|
-
export type CheckoutOptinResponsesUpserted =
|
|
18272
|
-
io.flow.v0.models.CheckoutOptinResponsesUpserted;
|
|
18273
18394
|
export type CheckoutReference = io.flow.v0.models.CheckoutReference;
|
|
18274
18395
|
export type CheckoutToken = io.flow.v0.models.CheckoutToken;
|
|
18275
18396
|
export type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm;
|
|
@@ -18626,6 +18747,7 @@ export type ExportStatus = io.flow.v0.enums.ExportStatus;
|
|
|
18626
18747
|
export type ExportType = io.flow.v0.unions.ExportType;
|
|
18627
18748
|
export type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
18628
18749
|
export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
|
|
18750
|
+
export type ExternalCard = io.flow.v0.models.ExternalCard;
|
|
18629
18751
|
export type FeeDeduction = io.flow.v0.models.FeeDeduction;
|
|
18630
18752
|
export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType;
|
|
18631
18753
|
export type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
@@ -18709,13 +18831,23 @@ export type GatewayAuthenticationData =
|
|
|
18709
18831
|
io.flow.v0.unions.GatewayAuthenticationData;
|
|
18710
18832
|
export type GatewayAuthenticationDataForm =
|
|
18711
18833
|
io.flow.v0.unions.GatewayAuthenticationDataForm;
|
|
18834
|
+
export type GeCatalogItemIngestionResponse =
|
|
18835
|
+
io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
18836
|
+
export type GeCatalogItemIngestionResult =
|
|
18837
|
+
io.flow.v0.models.GeCatalogItemIngestionResult;
|
|
18838
|
+
export type GeCatalogItemInput = io.flow.v0.models.GeCatalogItemInput;
|
|
18839
|
+
export type GeEnvironment = io.flow.v0.enums.GeEnvironment;
|
|
18840
|
+
export type GeEventType = io.flow.v0.enums.GeEventType;
|
|
18841
|
+
export type GeInputAttributes = io.flow.v0.models.GeInputAttributes;
|
|
18842
|
+
export type GeInputPrice = io.flow.v0.models.GeInputPrice;
|
|
18712
18843
|
export type GeItemDeleted = io.flow.v0.models.GeItemDeleted;
|
|
18713
18844
|
export type GeItemInserted = io.flow.v0.models.GeItemInserted;
|
|
18714
18845
|
export type GeItemUpdated = io.flow.v0.models.GeItemUpdated;
|
|
18715
|
-
export type
|
|
18716
|
-
io.flow.v0.models.
|
|
18717
|
-
export type
|
|
18718
|
-
io.flow.v0.models.
|
|
18846
|
+
export type GeProductRestrictionResultDelete =
|
|
18847
|
+
io.flow.v0.models.GeProductRestrictionResultDelete;
|
|
18848
|
+
export type GeProductRestrictionResultUpsert =
|
|
18849
|
+
io.flow.v0.models.GeProductRestrictionResultUpsert;
|
|
18850
|
+
export type GeRestrictionEvent = io.flow.v0.unions.GeRestrictionEvent;
|
|
18719
18851
|
export type GenerateLoad = io.flow.v0.models.GenerateLoad;
|
|
18720
18852
|
export type GenericError = io.flow.v0.models.GenericError;
|
|
18721
18853
|
export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode;
|
|
@@ -19022,8 +19154,6 @@ export type OnlineAuthorizationUpsertedV2 =
|
|
|
19022
19154
|
export type OnlinePaymentAuthorizationForm =
|
|
19023
19155
|
io.flow.v0.models.OnlinePaymentAuthorizationForm;
|
|
19024
19156
|
export type OperationsContact = io.flow.v0.models.OperationsContact;
|
|
19025
|
-
export type OptinResponse = io.flow.v0.models.OptinResponse;
|
|
19026
|
-
export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
|
|
19027
19157
|
export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
|
|
19028
19158
|
export type Options = io.flow.v0.models.Options;
|
|
19029
19159
|
export type Order = io.flow.v0.models.Order;
|
|
@@ -19267,6 +19397,8 @@ export type PaymentError = io.flow.v0.models.PaymentError;
|
|
|
19267
19397
|
export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
|
|
19268
19398
|
export type PaymentFailure = io.flow.v0.models.PaymentFailure;
|
|
19269
19399
|
export type PaymentFailureCode = io.flow.v0.enums.PaymentFailureCode;
|
|
19400
|
+
export type PaymentFee = io.flow.v0.models.PaymentFee;
|
|
19401
|
+
export type PaymentFeeType = io.flow.v0.enums.PaymentFeeType;
|
|
19270
19402
|
export type PaymentForm = io.flow.v0.unions.PaymentForm;
|
|
19271
19403
|
export type PaymentInformation = io.flow.v0.models.PaymentInformation;
|
|
19272
19404
|
export type PaymentMethod = io.flow.v0.models.PaymentMethod;
|