@flowio/types 11.24.69 → 11.24.71
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 +228 -192
- package/dist/api.d.ts +156 -15
- package/package.json +2 -2
- package/src/api-internal.ts +294 -226
- package/src/api.ts +206 -15
package/src/api-internal.ts
CHANGED
|
@@ -2341,12 +2341,17 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2341
2341
|
| 'charge.failed'
|
|
2342
2342
|
| 'charge.pending'
|
|
2343
2343
|
| 'charge.refunded'
|
|
2344
|
-
| 'charge.
|
|
2344
|
+
| 'charge.expired'
|
|
2345
2345
|
| 'charge.succeeded'
|
|
2346
2346
|
| 'charge.updated'
|
|
2347
|
+
| 'charge.refund.updated'
|
|
2348
|
+
| 'payment_intent.created'
|
|
2347
2349
|
| 'payment_intent.amount_capturable_updated'
|
|
2348
2350
|
| 'payment_intent.payment_failed'
|
|
2349
2351
|
| 'payment_intent.succeeded'
|
|
2352
|
+
| 'payment_intent.requires_action'
|
|
2353
|
+
| 'payment_intent.canceled'
|
|
2354
|
+
| 'payment_intent.processing'
|
|
2350
2355
|
| 'source.canceled'
|
|
2351
2356
|
| 'source.chargeable'
|
|
2352
2357
|
| 'source.failed';
|
|
@@ -2466,6 +2471,13 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2466
2471
|
| 'sofort'
|
|
2467
2472
|
| 'three_d_secure';
|
|
2468
2473
|
type SourceUsageType = 'reusable' | 'single_use';
|
|
2474
|
+
type StoredCredentialTransactionType =
|
|
2475
|
+
| 'setup_on_session'
|
|
2476
|
+
| 'setup_off_session_recurring'
|
|
2477
|
+
| 'setup_off_session_unscheduled'
|
|
2478
|
+
| 'stored_on_session'
|
|
2479
|
+
| 'stored_on_session_recurring'
|
|
2480
|
+
| 'stored_on_session_unscheduled';
|
|
2469
2481
|
type ThreeDSecureSupport =
|
|
2470
2482
|
| 'required'
|
|
2471
2483
|
| 'recommended'
|
|
@@ -2577,6 +2589,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2577
2589
|
readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
2578
2590
|
}
|
|
2579
2591
|
|
|
2592
|
+
interface CardNetworks {
|
|
2593
|
+
readonly available?: string[];
|
|
2594
|
+
readonly preferred?: string;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2580
2597
|
interface CardRequest {
|
|
2581
2598
|
readonly object: string;
|
|
2582
2599
|
readonly exp_month: string;
|
|
@@ -2597,6 +2614,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2597
2614
|
readonly id: string;
|
|
2598
2615
|
readonly amount: number;
|
|
2599
2616
|
readonly amount_refunded: number;
|
|
2617
|
+
readonly authorization_code?: string;
|
|
2600
2618
|
readonly captured: boolean;
|
|
2601
2619
|
readonly created: number;
|
|
2602
2620
|
readonly currency: string;
|
|
@@ -2647,6 +2665,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2647
2665
|
readonly id: string;
|
|
2648
2666
|
readonly amount: number;
|
|
2649
2667
|
readonly amount_refunded: number;
|
|
2668
|
+
readonly authorization_code?: string;
|
|
2650
2669
|
readonly captured: boolean;
|
|
2651
2670
|
readonly created: number;
|
|
2652
2671
|
readonly currency: string;
|
|
@@ -2744,6 +2763,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2744
2763
|
readonly order_number?: string;
|
|
2745
2764
|
readonly authorization_id?: string;
|
|
2746
2765
|
readonly organization_id?: string;
|
|
2766
|
+
readonly payment_request_id?: string;
|
|
2767
|
+
readonly payment_request_order_reference?: string;
|
|
2747
2768
|
}
|
|
2748
2769
|
|
|
2749
2770
|
interface NetworkTokenUsed {
|
|
@@ -2864,6 +2885,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2864
2885
|
interface PaymentIntentConfirmationForm {
|
|
2865
2886
|
readonly off_session?: boolean;
|
|
2866
2887
|
readonly payment_method?: string;
|
|
2888
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2867
2889
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2868
2890
|
readonly payment_method_types?: string[];
|
|
2869
2891
|
readonly receipt_email?: string;
|
|
@@ -2884,6 +2906,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2884
2906
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
2885
2907
|
readonly on_behalf_of?: string;
|
|
2886
2908
|
readonly payment_method?: string;
|
|
2909
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2887
2910
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2888
2911
|
readonly payment_method_types?: string[];
|
|
2889
2912
|
readonly receipt_email?: string;
|
|
@@ -2916,7 +2939,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2916
2939
|
readonly id: string;
|
|
2917
2940
|
readonly object: string;
|
|
2918
2941
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2919
|
-
readonly card?: io.flow.stripe.v0.models.
|
|
2942
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
2920
2943
|
readonly card_present?: any /*object*/;
|
|
2921
2944
|
readonly created: number;
|
|
2922
2945
|
readonly customer?: string;
|
|
@@ -2931,6 +2954,33 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2931
2954
|
readonly phone?: string;
|
|
2932
2955
|
}
|
|
2933
2956
|
|
|
2957
|
+
interface PaymentMethodCardDetails {
|
|
2958
|
+
readonly brand?: io.flow.stripe.v0.enums.CardBrand;
|
|
2959
|
+
readonly checks?: io.flow.stripe.v0.models.CardChecks;
|
|
2960
|
+
readonly country?: string;
|
|
2961
|
+
readonly exp_month?: number;
|
|
2962
|
+
readonly exp_year?: number;
|
|
2963
|
+
readonly fingerprint?: string;
|
|
2964
|
+
readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
|
|
2965
|
+
readonly last4?: string;
|
|
2966
|
+
readonly networks?: io.flow.stripe.v0.models.CardNetworks;
|
|
2967
|
+
readonly three_d_secure_usage?: io.flow.stripe.v0.models.ThreeDSecureUsage;
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
interface PaymentMethodCardForm {
|
|
2971
|
+
readonly exp_month: string;
|
|
2972
|
+
readonly exp_year: string;
|
|
2973
|
+
readonly number: string;
|
|
2974
|
+
readonly cvc?: string;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
interface PaymentMethodDataCard {
|
|
2978
|
+
readonly type: 'card';
|
|
2979
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2980
|
+
readonly metadata?: any /*object*/;
|
|
2981
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2934
2984
|
interface PaymentMethodDetailsCard {
|
|
2935
2985
|
readonly type: 'card';
|
|
2936
2986
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -2968,10 +3018,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2968
3018
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
2969
3019
|
}
|
|
2970
3020
|
|
|
2971
|
-
interface
|
|
2972
|
-
readonly type:
|
|
3021
|
+
interface PaymentMethodFormCard {
|
|
3022
|
+
readonly type: 'card';
|
|
2973
3023
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2974
|
-
readonly
|
|
3024
|
+
readonly metadata?: any /*object*/;
|
|
3025
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2975
3026
|
}
|
|
2976
3027
|
|
|
2977
3028
|
interface PaymentMethodOptions {
|
|
@@ -2979,7 +3030,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2979
3030
|
}
|
|
2980
3031
|
|
|
2981
3032
|
interface PaymentMethodOptionsCard {
|
|
3033
|
+
readonly network?: string;
|
|
2982
3034
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
3035
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2983
3036
|
}
|
|
2984
3037
|
|
|
2985
3038
|
interface PaymentOutcome {
|
|
@@ -3231,6 +3284,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3231
3284
|
readonly stripe_js: string;
|
|
3232
3285
|
}
|
|
3233
3286
|
|
|
3287
|
+
interface ThreeDSecureUsage {
|
|
3288
|
+
readonly supported?: boolean;
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3234
3291
|
interface Token {
|
|
3235
3292
|
readonly id: string;
|
|
3236
3293
|
readonly object: string;
|
|
@@ -3272,9 +3329,11 @@ declare namespace io.flow.stripe.v0.unions {
|
|
|
3272
3329
|
| io.flow.stripe.v0.models.Masterpass
|
|
3273
3330
|
| io.flow.stripe.v0.models.ApplePay
|
|
3274
3331
|
| io.flow.stripe.v0.models.VisaCheckout;
|
|
3332
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
3275
3333
|
type PaymentMethodDetails =
|
|
3276
3334
|
| io.flow.stripe.v0.models.PaymentMethodDetailsCard
|
|
3277
3335
|
| io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
3336
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
3278
3337
|
}
|
|
3279
3338
|
|
|
3280
3339
|
declare namespace io.flow.customer.v0.enums {
|
|
@@ -6945,7 +7004,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6945
7004
|
readonly key: string;
|
|
6946
7005
|
readonly namespace: string;
|
|
6947
7006
|
readonly value: string;
|
|
6948
|
-
readonly
|
|
7007
|
+
readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
|
|
6949
7008
|
readonly description?: string;
|
|
6950
7009
|
}
|
|
6951
7010
|
|
|
@@ -7109,6 +7168,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7109
7168
|
readonly id: number;
|
|
7110
7169
|
readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
7111
7170
|
readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
|
|
7171
|
+
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafieldForm[];
|
|
7112
7172
|
}
|
|
7113
7173
|
|
|
7114
7174
|
interface ShopifyWebhookCustomersDataRequest {
|
|
@@ -8947,6 +9007,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
8947
9007
|
| 'card'
|
|
8948
9008
|
| 'online'
|
|
8949
9009
|
| 'credit'
|
|
9010
|
+
| 'external'
|
|
8950
9011
|
| 'subsidized'
|
|
8951
9012
|
| 'installment_plan'
|
|
8952
9013
|
| 'cash_on_delivery';
|
|
@@ -10773,8 +10834,8 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
|
|
|
10773
10834
|
| 'oversize'
|
|
10774
10835
|
| 'duties_paid'
|
|
10775
10836
|
| 'emergency'
|
|
10776
|
-
| 'peak'
|
|
10777
|
-
|
|
10837
|
+
| 'peak'
|
|
10838
|
+
| 'address_correction';
|
|
10778
10839
|
}
|
|
10779
10840
|
|
|
10780
10841
|
declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
@@ -10798,11 +10859,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10798
10859
|
readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
|
|
10799
10860
|
}
|
|
10800
10861
|
|
|
10862
|
+
interface LabelInvoiceResponseFile {
|
|
10863
|
+
readonly id: string;
|
|
10864
|
+
readonly url: string;
|
|
10865
|
+
readonly created_at: string;
|
|
10866
|
+
readonly result?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult;
|
|
10867
|
+
}
|
|
10868
|
+
|
|
10869
|
+
interface LabelInvoiceResponseFileForm {
|
|
10870
|
+
readonly url: string;
|
|
10871
|
+
}
|
|
10872
|
+
|
|
10873
|
+
interface LabelInvoiceResponseFileResult {
|
|
10874
|
+
readonly processed_at: string;
|
|
10875
|
+
readonly number_lines_successful: number;
|
|
10876
|
+
readonly number_lines_with_errors: number;
|
|
10877
|
+
readonly errors_url?: string;
|
|
10878
|
+
}
|
|
10879
|
+
|
|
10880
|
+
interface LabelInvoiceResponseForm {
|
|
10881
|
+
readonly id: string;
|
|
10882
|
+
readonly label_invoice_request_id: string;
|
|
10883
|
+
readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits;
|
|
10884
|
+
readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
|
|
10885
|
+
readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
|
|
10886
|
+
readonly total: number;
|
|
10887
|
+
}
|
|
10888
|
+
|
|
10801
10889
|
interface LabelMetadata {
|
|
10802
10890
|
readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
|
|
10803
10891
|
readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
|
|
10804
10892
|
}
|
|
10805
10893
|
|
|
10894
|
+
interface LabelResponseUnits {
|
|
10895
|
+
readonly currency: string;
|
|
10896
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
10897
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
10898
|
+
}
|
|
10899
|
+
|
|
10806
10900
|
interface LabelSurcharge {
|
|
10807
10901
|
readonly amount: number;
|
|
10808
10902
|
readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
|
|
@@ -10824,6 +10918,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10824
10918
|
readonly percentage: number;
|
|
10825
10919
|
}
|
|
10826
10920
|
|
|
10921
|
+
interface LabelSurchargeForm {
|
|
10922
|
+
readonly fuel?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10923
|
+
readonly remote_area?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10924
|
+
readonly oversize?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10925
|
+
readonly duties_paid?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10926
|
+
readonly emergency?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10927
|
+
readonly peak?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10928
|
+
readonly address_correction?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10929
|
+
}
|
|
10930
|
+
|
|
10931
|
+
interface LabelSurchargeSingleForm {
|
|
10932
|
+
readonly amount: number;
|
|
10933
|
+
readonly percentage?: number;
|
|
10934
|
+
readonly fee_per_weight_unit?: number;
|
|
10935
|
+
}
|
|
10936
|
+
|
|
10827
10937
|
interface LabelUnits {
|
|
10828
10938
|
readonly currency: string;
|
|
10829
10939
|
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
@@ -10841,7 +10951,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10841
10951
|
}
|
|
10842
10952
|
|
|
10843
10953
|
interface MetadataWeights {
|
|
10844
|
-
readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
|
|
10845
10954
|
readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
|
|
10846
10955
|
readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
|
|
10847
10956
|
}
|
|
@@ -12216,6 +12325,7 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
12216
12325
|
| 'reversal'
|
|
12217
12326
|
| 'shipping_label'
|
|
12218
12327
|
| 'shipping_label_service'
|
|
12328
|
+
| 'trueup'
|
|
12219
12329
|
| 'shipping_label_revenue_share'
|
|
12220
12330
|
| 'platform_fee'
|
|
12221
12331
|
| 'tax'
|
|
@@ -12228,6 +12338,15 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
12228
12338
|
| 'order_service'
|
|
12229
12339
|
| 'virtual_card_capture'
|
|
12230
12340
|
| 'virtual_card_refund';
|
|
12341
|
+
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
12342
|
+
type TrueupSurchargeType =
|
|
12343
|
+
| 'fuel'
|
|
12344
|
+
| 'remote_area'
|
|
12345
|
+
| 'oversize'
|
|
12346
|
+
| 'duties_paid'
|
|
12347
|
+
| 'emergency'
|
|
12348
|
+
| 'peak'
|
|
12349
|
+
| 'address_correction';
|
|
12231
12350
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
12232
12351
|
}
|
|
12233
12352
|
|
|
@@ -12427,6 +12546,12 @@ declare namespace io.flow.billing.v0.models {
|
|
|
12427
12546
|
readonly updated_at: string;
|
|
12428
12547
|
}
|
|
12429
12548
|
|
|
12549
|
+
interface PendingTransaction {
|
|
12550
|
+
readonly id: string;
|
|
12551
|
+
readonly reason: io.flow.billing.v0.enums.TransactionPayoutPendingReason;
|
|
12552
|
+
readonly reason_set_at: string;
|
|
12553
|
+
}
|
|
12554
|
+
|
|
12430
12555
|
interface SettlementNoPayout {
|
|
12431
12556
|
readonly discriminator: 'no_payout';
|
|
12432
12557
|
readonly placeholder?: string;
|
|
@@ -12472,10 +12597,41 @@ declare namespace io.flow.billing.v0.models {
|
|
|
12472
12597
|
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
12473
12598
|
}
|
|
12474
12599
|
|
|
12600
|
+
interface TransactionMetadataTrueup {
|
|
12601
|
+
readonly discriminator: 'trueup';
|
|
12602
|
+
readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData;
|
|
12603
|
+
readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
|
|
12604
|
+
}
|
|
12605
|
+
|
|
12606
|
+
interface TransactionMetadataTrueupData {
|
|
12607
|
+
readonly source: io.flow.billing.v0.enums.TrueupSource;
|
|
12608
|
+
readonly units: io.flow.billing.v0.models.TrueupLabelUnits;
|
|
12609
|
+
readonly base: io.flow.billing.v0.models.TrueupLabelBase;
|
|
12610
|
+
readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
|
|
12611
|
+
readonly total: number;
|
|
12612
|
+
}
|
|
12613
|
+
|
|
12475
12614
|
interface TransactionReference {
|
|
12476
12615
|
readonly id: string;
|
|
12477
12616
|
}
|
|
12478
12617
|
|
|
12618
|
+
interface TrueupLabelBase {
|
|
12619
|
+
readonly amount: number;
|
|
12620
|
+
readonly weight: number;
|
|
12621
|
+
}
|
|
12622
|
+
|
|
12623
|
+
interface TrueupLabelSurcharge {
|
|
12624
|
+
readonly amount: number;
|
|
12625
|
+
readonly type: io.flow.billing.v0.enums.TrueupSurchargeType;
|
|
12626
|
+
readonly percentage?: number;
|
|
12627
|
+
readonly per_weight_unit?: number;
|
|
12628
|
+
}
|
|
12629
|
+
|
|
12630
|
+
interface TrueupLabelUnits {
|
|
12631
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
12632
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
12633
|
+
}
|
|
12634
|
+
|
|
12479
12635
|
interface WithholdingDeduction {
|
|
12480
12636
|
readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
|
|
12481
12637
|
readonly amount: number;
|
|
@@ -12495,7 +12651,8 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
12495
12651
|
| io.flow.billing.v0.models.SettlementNoPayout
|
|
12496
12652
|
| io.flow.billing.v0.models.SettlementPayout;
|
|
12497
12653
|
type TransactionMetadata =
|
|
12498
|
-
io.flow.billing.v0.models.TransactionMetadataShippingLabel
|
|
12654
|
+
| io.flow.billing.v0.models.TransactionMetadataShippingLabel
|
|
12655
|
+
| io.flow.billing.v0.models.TransactionMetadataTrueup;
|
|
12499
12656
|
}
|
|
12500
12657
|
|
|
12501
12658
|
declare namespace io.flow.harmonization.v0.enums {
|
|
@@ -13655,8 +13812,8 @@ declare namespace io.flow.apple.pay.v0.enums {
|
|
|
13655
13812
|
| 'email'
|
|
13656
13813
|
| 'name'
|
|
13657
13814
|
| 'phone'
|
|
13658
|
-
| '
|
|
13659
|
-
| '
|
|
13815
|
+
| 'postal_address'
|
|
13816
|
+
| 'phonetic_name';
|
|
13660
13817
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
13661
13818
|
type ApplePayMerchantCapability =
|
|
13662
13819
|
| 'supports3DS'
|
|
@@ -13666,8 +13823,8 @@ declare namespace io.flow.apple.pay.v0.enums {
|
|
|
13666
13823
|
type ApplePayShippingType =
|
|
13667
13824
|
| 'shipping'
|
|
13668
13825
|
| 'delivery'
|
|
13669
|
-
| '
|
|
13670
|
-
| '
|
|
13826
|
+
| 'store_pickup'
|
|
13827
|
+
| 'service_pickup';
|
|
13671
13828
|
type ApplePaySupportedNetworks =
|
|
13672
13829
|
| 'amex'
|
|
13673
13830
|
| 'chinaUnionPay'
|
|
@@ -13682,7 +13839,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
13682
13839
|
interface ApplePayLineItem {
|
|
13683
13840
|
readonly label: string;
|
|
13684
13841
|
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
13685
|
-
readonly amount:
|
|
13842
|
+
readonly amount: number;
|
|
13686
13843
|
}
|
|
13687
13844
|
|
|
13688
13845
|
interface ApplePayPaymentContact {
|
|
@@ -13733,7 +13890,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
13733
13890
|
interface ApplePayShippingMethod {
|
|
13734
13891
|
readonly label: string;
|
|
13735
13892
|
readonly detail: string;
|
|
13736
|
-
readonly amount:
|
|
13893
|
+
readonly amount: number;
|
|
13737
13894
|
readonly identifier: string;
|
|
13738
13895
|
}
|
|
13739
13896
|
}
|
|
@@ -13847,6 +14004,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
|
|
|
13847
14004
|
readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
|
|
13848
14005
|
readonly started_at?: string;
|
|
13849
14006
|
readonly time_blocked?: number;
|
|
14007
|
+
readonly time_in_setup?: number;
|
|
13850
14008
|
readonly blocked_since?: string;
|
|
13851
14009
|
readonly completed_at?: string;
|
|
13852
14010
|
readonly onboarding_started_at?: string;
|
|
@@ -14306,6 +14464,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14306
14464
|
| 'capture_transactions_ignored_fraud_count'
|
|
14307
14465
|
| 'capture_transactions_ignored_fully_refunded_count'
|
|
14308
14466
|
| 'capture_transactions_ignored_other_count'
|
|
14467
|
+
| 'capture_transactions_ignored_previously_processed_count'
|
|
14309
14468
|
| 'capture_transactions_total'
|
|
14310
14469
|
| 'channel_transactions_processing_count'
|
|
14311
14470
|
| 'channel_transactions_processing_total'
|
|
@@ -14335,6 +14494,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14335
14494
|
| 'refund_transactions_ignored_fraud_count'
|
|
14336
14495
|
| 'refund_transactions_ignored_fully_refunded_count'
|
|
14337
14496
|
| 'refund_transactions_ignored_other_count'
|
|
14497
|
+
| 'refund_transactions_ignored_previously_processed_count'
|
|
14338
14498
|
| 'refund_transactions_total'
|
|
14339
14499
|
| 'reversal_order_cancellations_transactions_count'
|
|
14340
14500
|
| 'reversal_order_cancellations_transactions_total'
|
|
@@ -14409,7 +14569,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14409
14569
|
| 'order'
|
|
14410
14570
|
| 'channel_billed'
|
|
14411
14571
|
| 'tax'
|
|
14412
|
-
| 'duty'
|
|
14572
|
+
| 'duty'
|
|
14573
|
+
| 'trueup';
|
|
14413
14574
|
type BlazeCheckoutEvent =
|
|
14414
14575
|
| 'begin_checkout'
|
|
14415
14576
|
| 'select_promotion'
|
|
@@ -15006,6 +15167,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15006
15167
|
| 'localized_item_prices_export_request'
|
|
15007
15168
|
| 'optin_prompt_upserted'
|
|
15008
15169
|
| 'optin_prompt_deleted'
|
|
15170
|
+
| 'order_combined_shipment_upserted'
|
|
15171
|
+
| 'order_combined_shipment_deleted'
|
|
15009
15172
|
| 'order_fulfillment_deleted'
|
|
15010
15173
|
| 'order_fulfillment_upserted'
|
|
15011
15174
|
| 'order_placed'
|
|
@@ -15176,7 +15339,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15176
15339
|
| 'in_review'
|
|
15177
15340
|
| 'resolved'
|
|
15178
15341
|
| 'unresolved';
|
|
15179
|
-
type LabelInputSource = 'estimate';
|
|
15180
15342
|
type LabelRequestErrorHandlingResponsibility =
|
|
15181
15343
|
| 'merchant'
|
|
15182
15344
|
| 'merchant_integration'
|
|
@@ -15399,24 +15561,25 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15399
15561
|
| 'capture'
|
|
15400
15562
|
| 'capture_deletion'
|
|
15401
15563
|
| 'channel_transaction'
|
|
15402
|
-
| 'channel_organization'
|
|
15403
15564
|
| 'consumer_invoice'
|
|
15404
15565
|
| 'fulfillment_in_transit'
|
|
15405
15566
|
| 'fulfillment_shipping_notification'
|
|
15406
15567
|
| 'fulfillment_external'
|
|
15407
15568
|
| 'label_tracking_summary'
|
|
15408
15569
|
| 'label_invoice_request'
|
|
15570
|
+
| 'label_invoice_response'
|
|
15571
|
+
| 'label_invoice_response_file'
|
|
15409
15572
|
| 'label_origin'
|
|
15410
15573
|
| 'order'
|
|
15411
15574
|
| 'order_identifier'
|
|
15575
|
+
| 'organization_onboarding_state'
|
|
15412
15576
|
| 'refund'
|
|
15413
15577
|
| 'refund_deletion'
|
|
15414
15578
|
| 'refund_over_capture'
|
|
15415
15579
|
| 'sales_record'
|
|
15416
15580
|
| 'statement_batch'
|
|
15417
15581
|
| 'statement_email'
|
|
15418
|
-
| 'statement_summary_email'
|
|
15419
|
-
| 'wash';
|
|
15582
|
+
| 'statement_summary_email';
|
|
15420
15583
|
type QuoteRequestType =
|
|
15421
15584
|
| 'generate'
|
|
15422
15585
|
| 'delete'
|
|
@@ -15552,7 +15715,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15552
15715
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
15553
15716
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
15554
15717
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
15555
|
-
type SurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid';
|
|
15556
15718
|
type TariffEligibilityType = 'rex';
|
|
15557
15719
|
type TaskProcessorKey =
|
|
15558
15720
|
| 'order_messenger'
|
|
@@ -15575,7 +15737,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15575
15737
|
| 'oversize'
|
|
15576
15738
|
| 'duties_paid'
|
|
15577
15739
|
| 'emergency'
|
|
15578
|
-
| 'peak'
|
|
15740
|
+
| 'peak'
|
|
15741
|
+
| 'address_correction';
|
|
15742
|
+
type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup';
|
|
15579
15743
|
type UnclassifiedProductStatus =
|
|
15580
15744
|
| 'ignored'
|
|
15581
15745
|
| 'escalated'
|
|
@@ -15583,11 +15747,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15583
15747
|
| 'unverified'
|
|
15584
15748
|
| 'queued'
|
|
15585
15749
|
| 'unconfident';
|
|
15586
|
-
type WashCarrierActualFileStatus =
|
|
15587
|
-
| 'pending'
|
|
15588
|
-
| 'processing'
|
|
15589
|
-
| 'processed'
|
|
15590
|
-
| 'failed';
|
|
15591
15750
|
}
|
|
15592
15751
|
|
|
15593
15752
|
declare namespace io.flow.internal.v0.models {
|
|
@@ -15643,15 +15802,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15643
15802
|
readonly rate: number;
|
|
15644
15803
|
}
|
|
15645
15804
|
|
|
15646
|
-
interface AccountForm {
|
|
15647
|
-
readonly timezone: string;
|
|
15648
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
15649
|
-
readonly payment_conditions?: string;
|
|
15650
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
15651
|
-
readonly center_key?: string;
|
|
15652
|
-
readonly bank_account_id?: string;
|
|
15653
|
-
}
|
|
15654
|
-
|
|
15655
15805
|
interface AccountOrdersExportRequest {
|
|
15656
15806
|
readonly discriminator: 'account_orders_export_request';
|
|
15657
15807
|
readonly event_id: string;
|
|
@@ -15676,6 +15826,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15676
15826
|
readonly transaction_created_before?: string;
|
|
15677
15827
|
}
|
|
15678
15828
|
|
|
15829
|
+
interface AccountOrigin {
|
|
15830
|
+
readonly country: string;
|
|
15831
|
+
}
|
|
15832
|
+
|
|
15679
15833
|
interface AccountProcessingRateForm {
|
|
15680
15834
|
readonly query: string;
|
|
15681
15835
|
readonly capture: number;
|
|
@@ -16614,6 +16768,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16614
16768
|
readonly channel_billed: io.flow.common.v0.models.Price;
|
|
16615
16769
|
readonly tax: io.flow.common.v0.models.Price;
|
|
16616
16770
|
readonly duty: io.flow.common.v0.models.Price;
|
|
16771
|
+
readonly trueup: io.flow.common.v0.models.Price;
|
|
16617
16772
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
16618
16773
|
}
|
|
16619
16774
|
|
|
@@ -17144,6 +17299,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17144
17299
|
interface ChannelAccount {
|
|
17145
17300
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
17146
17301
|
readonly id: string;
|
|
17302
|
+
readonly key?: string;
|
|
17303
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
17147
17304
|
readonly currency: string;
|
|
17148
17305
|
readonly updated_at: string;
|
|
17149
17306
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -19876,132 +20033,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19876
20033
|
readonly signature_secret: string;
|
|
19877
20034
|
}
|
|
19878
20035
|
|
|
19879
|
-
interface CsvActual {
|
|
19880
|
-
readonly id: string;
|
|
19881
|
-
readonly currency: string;
|
|
19882
|
-
readonly base_amount: number;
|
|
19883
|
-
readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
|
|
19884
|
-
readonly total: number;
|
|
19885
|
-
readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
19886
|
-
readonly weight: number;
|
|
19887
|
-
readonly ratecard: io.flow.internal.v0.models.CsvActualRatecard;
|
|
19888
|
-
}
|
|
19889
|
-
|
|
19890
|
-
interface CsvActualRatecard {
|
|
19891
|
-
readonly base_amount?: number;
|
|
19892
|
-
}
|
|
19893
|
-
|
|
19894
|
-
interface CsvDimensions {
|
|
19895
|
-
readonly unit: io.flow.units.v0.enums.UnitOfLength;
|
|
19896
|
-
readonly length: number;
|
|
19897
|
-
readonly width: number;
|
|
19898
|
-
readonly depth: number;
|
|
19899
|
-
}
|
|
19900
|
-
|
|
19901
|
-
interface CsvFlowRatecard {
|
|
19902
|
-
readonly id: string;
|
|
19903
|
-
readonly number: string;
|
|
19904
|
-
readonly owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
19905
|
-
readonly lane: io.flow.internal.v0.models.LaneReference;
|
|
19906
|
-
readonly dim_factor: number;
|
|
19907
|
-
readonly surcharges: io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
|
|
19908
|
-
readonly base_amount?: number;
|
|
19909
|
-
}
|
|
19910
|
-
|
|
19911
|
-
interface CsvFlowRatecardSurcharges {
|
|
19912
|
-
readonly fuel?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19913
|
-
readonly remote_area?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19914
|
-
readonly oversize?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19915
|
-
readonly duties_paid?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19916
|
-
}
|
|
19917
|
-
|
|
19918
|
-
interface CsvGlobalEProposition {
|
|
19919
|
-
readonly name: string;
|
|
19920
|
-
}
|
|
19921
|
-
|
|
19922
|
-
interface CsvGlobalEShippingMethod {
|
|
19923
|
-
readonly id: string;
|
|
19924
|
-
readonly proposition: io.flow.internal.v0.models.CsvGlobalEProposition;
|
|
19925
|
-
}
|
|
19926
|
-
|
|
19927
|
-
interface CsvInput {
|
|
19928
|
-
readonly id: string;
|
|
19929
|
-
readonly source: io.flow.internal.v0.enums.LabelInputSource;
|
|
19930
|
-
readonly currency: string;
|
|
19931
|
-
readonly base_amount: number;
|
|
19932
|
-
readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
|
|
19933
|
-
readonly total: number;
|
|
19934
|
-
readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
19935
|
-
readonly weight: number;
|
|
19936
|
-
readonly variance: number;
|
|
19937
|
-
}
|
|
19938
|
-
|
|
19939
|
-
interface CsvLabel {
|
|
19940
|
-
readonly id: string;
|
|
19941
|
-
readonly cost: io.flow.internal.v0.models.CsvLabelCost;
|
|
19942
|
-
readonly created_at: string;
|
|
19943
|
-
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
19944
|
-
readonly trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
|
|
19945
|
-
}
|
|
19946
|
-
|
|
19947
|
-
interface CsvLabelCost {
|
|
19948
|
-
readonly amount: number;
|
|
19949
|
-
readonly currency: string;
|
|
19950
|
-
readonly source: io.flow.label.v0.enums.CostEstimateSource;
|
|
19951
|
-
}
|
|
19952
|
-
|
|
19953
|
-
interface CsvOrder {
|
|
19954
|
-
readonly organization: io.flow.internal.v0.models.OrganizationReference;
|
|
19955
|
-
readonly number: string;
|
|
19956
|
-
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
19957
|
-
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
19958
|
-
readonly tax: io.flow.common.v0.models.Money;
|
|
19959
|
-
readonly duty: io.flow.common.v0.models.Money;
|
|
19960
|
-
readonly total: io.flow.common.v0.models.Money;
|
|
19961
|
-
readonly number_items: number;
|
|
19962
|
-
}
|
|
19963
|
-
|
|
19964
|
-
interface CsvRecord {
|
|
19965
|
-
readonly label: io.flow.internal.v0.models.CsvLabel;
|
|
19966
|
-
readonly carrier_service_id: string;
|
|
19967
|
-
readonly carrier_tracking_number: string;
|
|
19968
|
-
readonly order: io.flow.internal.v0.models.CsvOrder;
|
|
19969
|
-
readonly flow_ratecard: io.flow.internal.v0.models.CsvFlowRatecard;
|
|
19970
|
-
readonly global_e_shipping_method?: io.flow.internal.v0.models.CsvGlobalEShippingMethod;
|
|
19971
|
-
readonly weight: io.flow.internal.v0.models.CsvWeight;
|
|
19972
|
-
readonly dimensions: io.flow.internal.v0.models.CsvDimensions;
|
|
19973
|
-
readonly input?: io.flow.internal.v0.models.CsvInput;
|
|
19974
|
-
readonly actual?: io.flow.internal.v0.models.CsvActual;
|
|
19975
|
-
readonly variance?: number;
|
|
19976
|
-
readonly deltas: string[];
|
|
19977
|
-
readonly outliers: string[];
|
|
19978
|
-
}
|
|
19979
|
-
|
|
19980
|
-
interface CsvServiceFee {
|
|
19981
|
-
readonly amount?: number;
|
|
19982
|
-
readonly currency?: string;
|
|
19983
|
-
readonly percentage?: number;
|
|
19984
|
-
}
|
|
19985
|
-
|
|
19986
|
-
interface CsvSurchargePercentage {
|
|
19987
|
-
readonly percentage: number;
|
|
19988
|
-
readonly amount: number;
|
|
19989
|
-
}
|
|
19990
|
-
|
|
19991
|
-
interface CsvSurcharges {
|
|
19992
|
-
readonly fuel: io.flow.internal.v0.models.CsvSurchargePercentage;
|
|
19993
|
-
readonly remote_area: number;
|
|
19994
|
-
readonly oversize: number;
|
|
19995
|
-
readonly duties_paid: number;
|
|
19996
|
-
}
|
|
19997
|
-
|
|
19998
|
-
interface CsvWeight {
|
|
19999
|
-
readonly unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
20000
|
-
readonly provided: number;
|
|
20001
|
-
readonly dimensional: number;
|
|
20002
|
-
readonly lookup: number;
|
|
20003
|
-
}
|
|
20004
|
-
|
|
20005
20036
|
interface CurrencyInternalRate {
|
|
20006
20037
|
readonly id: string;
|
|
20007
20038
|
readonly organization_id: string;
|
|
@@ -20225,6 +20256,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20225
20256
|
readonly authorization_id?: string;
|
|
20226
20257
|
readonly posting_proof_id?: string;
|
|
20227
20258
|
readonly label_tracking_summary_id?: string;
|
|
20259
|
+
readonly shipping_notification_id?: string;
|
|
20260
|
+
readonly external_fulfillment_proof_id?: string;
|
|
20228
20261
|
}
|
|
20229
20262
|
|
|
20230
20263
|
interface DebugOrderTransactionFormOrderIdentifier {
|
|
@@ -21546,6 +21579,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21546
21579
|
interface FlowAccount {
|
|
21547
21580
|
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
21548
21581
|
readonly id: string;
|
|
21582
|
+
readonly key?: string;
|
|
21583
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
21549
21584
|
readonly currency: string;
|
|
21550
21585
|
readonly updated_at: string;
|
|
21551
21586
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -21821,6 +21856,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21821
21856
|
readonly shipping: io.flow.internal.v0.models.FulfillmentShipping;
|
|
21822
21857
|
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
21823
21858
|
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
21859
|
+
readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
|
|
21860
|
+
readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty;
|
|
21824
21861
|
readonly completes_order: boolean;
|
|
21825
21862
|
readonly sequence_number: number;
|
|
21826
21863
|
readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
|
|
@@ -23514,6 +23551,24 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23514
23551
|
readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
23515
23552
|
}
|
|
23516
23553
|
|
|
23554
|
+
interface LabelInvoiceResponseFile {
|
|
23555
|
+
readonly id: string;
|
|
23556
|
+
readonly url: string;
|
|
23557
|
+
readonly created_at: string;
|
|
23558
|
+
readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
23559
|
+
}
|
|
23560
|
+
|
|
23561
|
+
interface LabelInvoiceResponseFileForm {
|
|
23562
|
+
readonly url: string;
|
|
23563
|
+
}
|
|
23564
|
+
|
|
23565
|
+
interface LabelInvoiceResponseFileResult {
|
|
23566
|
+
readonly processed_at: string;
|
|
23567
|
+
readonly number_lines_successful: number;
|
|
23568
|
+
readonly number_lines_with_errors: number;
|
|
23569
|
+
readonly errors_url?: string;
|
|
23570
|
+
}
|
|
23571
|
+
|
|
23517
23572
|
interface LabelInvoiceResponseForm {
|
|
23518
23573
|
readonly id: string;
|
|
23519
23574
|
readonly label_invoice_request_id: string;
|
|
@@ -23606,6 +23661,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23606
23661
|
readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23607
23662
|
readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23608
23663
|
readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23664
|
+
readonly address_correction?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23609
23665
|
}
|
|
23610
23666
|
|
|
23611
23667
|
interface LabelSurchargeSingleForm {
|
|
@@ -23702,10 +23758,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23702
23758
|
readonly region: string;
|
|
23703
23759
|
}
|
|
23704
23760
|
|
|
23705
|
-
interface LaneReference {
|
|
23706
|
-
readonly id: string;
|
|
23707
|
-
}
|
|
23708
|
-
|
|
23709
23761
|
interface LevyRateSummary {
|
|
23710
23762
|
readonly id: string;
|
|
23711
23763
|
readonly number: string;
|
|
@@ -24529,6 +24581,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24529
24581
|
|
|
24530
24582
|
interface OnboardingOrganization {
|
|
24531
24583
|
readonly age: number;
|
|
24584
|
+
readonly setup_time: number;
|
|
24532
24585
|
readonly compliance_approved: boolean;
|
|
24533
24586
|
readonly compliance_full_review_required: boolean;
|
|
24534
24587
|
readonly application_received: string;
|
|
@@ -24685,6 +24738,38 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24685
24738
|
readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence;
|
|
24686
24739
|
}
|
|
24687
24740
|
|
|
24741
|
+
interface OrderCombinedShipment {
|
|
24742
|
+
readonly id: string;
|
|
24743
|
+
readonly label_id: string;
|
|
24744
|
+
readonly carrier_id: string;
|
|
24745
|
+
readonly service_id: string;
|
|
24746
|
+
readonly order_number: string;
|
|
24747
|
+
readonly provided_carrier_name?: string;
|
|
24748
|
+
readonly carrier_tracking_number: string;
|
|
24749
|
+
}
|
|
24750
|
+
|
|
24751
|
+
interface OrderCombinedShipmentDeleted {
|
|
24752
|
+
readonly discriminator: 'order_combined_shipment_deleted';
|
|
24753
|
+
readonly event_id: string;
|
|
24754
|
+
readonly timestamp: string;
|
|
24755
|
+
readonly organization: string;
|
|
24756
|
+
readonly id: string;
|
|
24757
|
+
}
|
|
24758
|
+
|
|
24759
|
+
interface OrderCombinedShipmentForm {
|
|
24760
|
+
readonly order_number: string;
|
|
24761
|
+
readonly provided_carrier_name?: string;
|
|
24762
|
+
readonly carrier_tracking_number: string;
|
|
24763
|
+
}
|
|
24764
|
+
|
|
24765
|
+
interface OrderCombinedShipmentUpserted {
|
|
24766
|
+
readonly discriminator: 'order_combined_shipment_upserted';
|
|
24767
|
+
readonly event_id: string;
|
|
24768
|
+
readonly timestamp: string;
|
|
24769
|
+
readonly organization: string;
|
|
24770
|
+
readonly order_combined_shipment: io.flow.internal.v0.models.OrderCombinedShipment;
|
|
24771
|
+
}
|
|
24772
|
+
|
|
24688
24773
|
interface OrderDetail {
|
|
24689
24774
|
readonly order: io.flow.experience.v0.models.Order;
|
|
24690
24775
|
readonly status: io.flow.experience.v0.enums.OrderStatus;
|
|
@@ -24855,6 +24940,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24855
24940
|
interface OrganizationAccount {
|
|
24856
24941
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
24857
24942
|
readonly id: string;
|
|
24943
|
+
readonly key?: string;
|
|
24944
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
24858
24945
|
readonly currency: string;
|
|
24859
24946
|
readonly updated_at: string;
|
|
24860
24947
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -25090,10 +25177,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25090
25177
|
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
25091
25178
|
}
|
|
25092
25179
|
|
|
25093
|
-
interface OrganizationReference {
|
|
25094
|
-
readonly id: string;
|
|
25095
|
-
}
|
|
25096
|
-
|
|
25097
25180
|
interface OrganizationRestrictionNoteForm {
|
|
25098
25181
|
readonly note: string;
|
|
25099
25182
|
readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
@@ -26488,6 +26571,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26488
26571
|
readonly hs_code?: string;
|
|
26489
26572
|
readonly merchant_category_code?: string;
|
|
26490
26573
|
readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
|
|
26574
|
+
readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
26575
|
+
readonly last_year_domestic_gmv?: io.flow.common.v0.models.Money;
|
|
26491
26576
|
}
|
|
26492
26577
|
|
|
26493
26578
|
interface RestrictionOrganizationDecisionSummary {
|
|
@@ -27114,6 +27199,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27114
27199
|
readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
|
|
27115
27200
|
readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
|
|
27116
27201
|
readonly fulfillment_created_at?: string;
|
|
27202
|
+
readonly flow_label_id?: string;
|
|
27117
27203
|
}
|
|
27118
27204
|
|
|
27119
27205
|
interface ShopifyMonitoringFulfillmentMissingDetails {
|
|
@@ -27399,6 +27485,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27399
27485
|
readonly remote_area: number;
|
|
27400
27486
|
readonly oversize: number;
|
|
27401
27487
|
readonly ccf: number;
|
|
27488
|
+
readonly emergency: number;
|
|
27489
|
+
readonly peak: number;
|
|
27402
27490
|
readonly total: number;
|
|
27403
27491
|
}
|
|
27404
27492
|
|
|
@@ -27822,12 +27910,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27822
27910
|
readonly values: io.flow.internal.v0.models.LabelAliases[];
|
|
27823
27911
|
}
|
|
27824
27912
|
|
|
27825
|
-
interface Surcharge {
|
|
27826
|
-
readonly amount?: number;
|
|
27827
|
-
readonly percentage?: number;
|
|
27828
|
-
readonly type: io.flow.internal.v0.enums.SurchargeType;
|
|
27829
|
-
}
|
|
27830
|
-
|
|
27831
27913
|
interface SvbVirtualCardClearing {
|
|
27832
27914
|
readonly id: string;
|
|
27833
27915
|
readonly virtual_card_id: string;
|
|
@@ -28291,6 +28373,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28291
28373
|
readonly created_at: string;
|
|
28292
28374
|
}
|
|
28293
28375
|
|
|
28376
|
+
interface TrueupTransaction {
|
|
28377
|
+
readonly discriminator: 'trueup_transaction';
|
|
28378
|
+
readonly label_transaction: io.flow.internal.v0.models.TransactionReference;
|
|
28379
|
+
readonly id: string;
|
|
28380
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
28381
|
+
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
28382
|
+
readonly posted_at?: string;
|
|
28383
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
28384
|
+
readonly description: string;
|
|
28385
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
28386
|
+
readonly created_at: string;
|
|
28387
|
+
}
|
|
28388
|
+
|
|
28294
28389
|
interface UnassignedMerchantGuid {
|
|
28295
28390
|
readonly id: string;
|
|
28296
28391
|
readonly merchant_guid: string;
|
|
@@ -28532,20 +28627,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28532
28627
|
readonly created_at: string;
|
|
28533
28628
|
}
|
|
28534
28629
|
|
|
28535
|
-
interface WashCarrierActualFile {
|
|
28536
|
-
readonly id: string;
|
|
28537
|
-
readonly url: string;
|
|
28538
|
-
readonly status: io.flow.internal.v0.enums.WashCarrierActualFileStatus;
|
|
28539
|
-
}
|
|
28540
|
-
|
|
28541
|
-
interface WashCarrierActualFileForm {
|
|
28542
|
-
readonly url: string;
|
|
28543
|
-
}
|
|
28544
|
-
|
|
28545
|
-
interface WashExportRequest {
|
|
28546
|
-
readonly url: string;
|
|
28547
|
-
}
|
|
28548
|
-
|
|
28549
28630
|
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
28550
28631
|
readonly discriminator: 'weee';
|
|
28551
28632
|
readonly label: string;
|
|
@@ -29236,6 +29317,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29236
29317
|
| io.flow.internal.v0.models.LocalizedItemPricesExportRequest
|
|
29237
29318
|
| io.flow.internal.v0.models.OptinPromptUpserted
|
|
29238
29319
|
| io.flow.internal.v0.models.OptinPromptDeleted
|
|
29320
|
+
| io.flow.internal.v0.models.OrderCombinedShipmentUpserted
|
|
29321
|
+
| io.flow.internal.v0.models.OrderCombinedShipmentDeleted
|
|
29239
29322
|
| io.flow.internal.v0.models.OrderFulfillmentDeleted
|
|
29240
29323
|
| io.flow.internal.v0.models.OrderFulfillmentUpserted
|
|
29241
29324
|
| io.flow.internal.v0.models.OrderPlaced
|
|
@@ -29606,7 +29689,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29606
29689
|
| io.flow.internal.v0.models.OrderTransaction
|
|
29607
29690
|
| io.flow.internal.v0.models.ChannelBilledTransaction
|
|
29608
29691
|
| io.flow.internal.v0.models.TaxTransaction
|
|
29609
|
-
| io.flow.internal.v0.models.DutyTransaction
|
|
29692
|
+
| io.flow.internal.v0.models.DutyTransaction
|
|
29693
|
+
| io.flow.internal.v0.models.TrueupTransaction;
|
|
29610
29694
|
type TransactionSummary =
|
|
29611
29695
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
29612
29696
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -29630,9 +29714,9 @@ export type AccountDeletedV2 = io.flow.internal.v0.models.AccountDeletedV2;
|
|
|
29630
29714
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
29631
29715
|
export type AccountDepositRuleForm =
|
|
29632
29716
|
io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
29633
|
-
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
29634
29717
|
export type AccountOrdersExportRequest =
|
|
29635
29718
|
io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
29719
|
+
export type AccountOrigin = io.flow.internal.v0.models.AccountOrigin;
|
|
29636
29720
|
export type AccountProcessingRateForm =
|
|
29637
29721
|
io.flow.internal.v0.models.AccountProcessingRateForm;
|
|
29638
29722
|
export type AccountProcessingRates =
|
|
@@ -31258,26 +31342,6 @@ export type CryptoAuthentication =
|
|
|
31258
31342
|
io.flow.internal.v0.models.CryptoAuthentication;
|
|
31259
31343
|
export type CryptoAuthenticationForm =
|
|
31260
31344
|
io.flow.internal.v0.models.CryptoAuthenticationForm;
|
|
31261
|
-
export type CsvActual = io.flow.internal.v0.models.CsvActual;
|
|
31262
|
-
export type CsvActualRatecard = io.flow.internal.v0.models.CsvActualRatecard;
|
|
31263
|
-
export type CsvDimensions = io.flow.internal.v0.models.CsvDimensions;
|
|
31264
|
-
export type CsvFlowRatecard = io.flow.internal.v0.models.CsvFlowRatecard;
|
|
31265
|
-
export type CsvFlowRatecardSurcharges =
|
|
31266
|
-
io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
|
|
31267
|
-
export type CsvGlobalEProposition =
|
|
31268
|
-
io.flow.internal.v0.models.CsvGlobalEProposition;
|
|
31269
|
-
export type CsvGlobalEShippingMethod =
|
|
31270
|
-
io.flow.internal.v0.models.CsvGlobalEShippingMethod;
|
|
31271
|
-
export type CsvInput = io.flow.internal.v0.models.CsvInput;
|
|
31272
|
-
export type CsvLabel = io.flow.internal.v0.models.CsvLabel;
|
|
31273
|
-
export type CsvLabelCost = io.flow.internal.v0.models.CsvLabelCost;
|
|
31274
|
-
export type CsvOrder = io.flow.internal.v0.models.CsvOrder;
|
|
31275
|
-
export type CsvRecord = io.flow.internal.v0.models.CsvRecord;
|
|
31276
|
-
export type CsvServiceFee = io.flow.internal.v0.models.CsvServiceFee;
|
|
31277
|
-
export type CsvSurchargePercentage =
|
|
31278
|
-
io.flow.internal.v0.models.CsvSurchargePercentage;
|
|
31279
|
-
export type CsvSurcharges = io.flow.internal.v0.models.CsvSurcharges;
|
|
31280
|
-
export type CsvWeight = io.flow.internal.v0.models.CsvWeight;
|
|
31281
31345
|
export type CurrencyInternalRate =
|
|
31282
31346
|
io.flow.internal.v0.models.CurrencyInternalRate;
|
|
31283
31347
|
export type CustomerPurgeUpserted =
|
|
@@ -32062,13 +32126,18 @@ export type LabelGenerationSettingsForm =
|
|
|
32062
32126
|
io.flow.internal.v0.models.LabelGenerationSettingsForm;
|
|
32063
32127
|
export type LabelGenerationSettingsUpserted =
|
|
32064
32128
|
io.flow.internal.v0.models.LabelGenerationSettingsUpserted;
|
|
32065
|
-
export type LabelInputSource = io.flow.internal.v0.enums.LabelInputSource;
|
|
32066
32129
|
export type LabelInvoiceRequest =
|
|
32067
32130
|
io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
32068
32131
|
export type LabelInvoiceRequestDeleted =
|
|
32069
32132
|
io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
|
|
32070
32133
|
export type LabelInvoiceRequestUpserted =
|
|
32071
32134
|
io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
|
|
32135
|
+
export type LabelInvoiceResponseFile =
|
|
32136
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFile;
|
|
32137
|
+
export type LabelInvoiceResponseFileForm =
|
|
32138
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
|
|
32139
|
+
export type LabelInvoiceResponseFileResult =
|
|
32140
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
32072
32141
|
export type LabelInvoiceResponseForm =
|
|
32073
32142
|
io.flow.internal.v0.models.LabelInvoiceResponseForm;
|
|
32074
32143
|
export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
|
|
@@ -32110,7 +32179,6 @@ export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
|
32110
32179
|
export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
|
|
32111
32180
|
export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
32112
32181
|
export type Landmark = io.flow.internal.v0.models.Landmark;
|
|
32113
|
-
export type LaneReference = io.flow.internal.v0.models.LaneReference;
|
|
32114
32182
|
export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
|
|
32115
32183
|
export type LevyRateSummaryUpserted =
|
|
32116
32184
|
io.flow.internal.v0.models.LevyRateSummaryUpserted;
|
|
@@ -32409,6 +32477,14 @@ export type OrderCancellationForm =
|
|
|
32409
32477
|
export type OrderCancellationInitiatedBy =
|
|
32410
32478
|
io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
|
|
32411
32479
|
export type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger;
|
|
32480
|
+
export type OrderCombinedShipment =
|
|
32481
|
+
io.flow.internal.v0.models.OrderCombinedShipment;
|
|
32482
|
+
export type OrderCombinedShipmentDeleted =
|
|
32483
|
+
io.flow.internal.v0.models.OrderCombinedShipmentDeleted;
|
|
32484
|
+
export type OrderCombinedShipmentForm =
|
|
32485
|
+
io.flow.internal.v0.models.OrderCombinedShipmentForm;
|
|
32486
|
+
export type OrderCombinedShipmentUpserted =
|
|
32487
|
+
io.flow.internal.v0.models.OrderCombinedShipmentUpserted;
|
|
32412
32488
|
export type OrderDetail = io.flow.internal.v0.models.OrderDetail;
|
|
32413
32489
|
export type OrderFulfillmentDeleted =
|
|
32414
32490
|
io.flow.internal.v0.models.OrderFulfillmentDeleted;
|
|
@@ -32517,8 +32593,6 @@ export type OrganizationPaymentSettingVersion =
|
|
|
32517
32593
|
io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
32518
32594
|
export type OrganizationPaymentStatus =
|
|
32519
32595
|
io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
32520
|
-
export type OrganizationReference =
|
|
32521
|
-
io.flow.internal.v0.models.OrganizationReference;
|
|
32522
32596
|
export type OrganizationRestrictionApprovalStatus =
|
|
32523
32597
|
io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
32524
32598
|
export type OrganizationRestrictionNoteForm =
|
|
@@ -33282,8 +33356,6 @@ export type SubscriptionTransaction =
|
|
|
33282
33356
|
io.flow.internal.v0.models.SubscriptionTransaction;
|
|
33283
33357
|
export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
|
|
33284
33358
|
export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
|
|
33285
|
-
export type Surcharge = io.flow.internal.v0.models.Surcharge;
|
|
33286
|
-
export type SurchargeType = io.flow.internal.v0.enums.SurchargeType;
|
|
33287
33359
|
export type SvbVirtualCardClearing =
|
|
33288
33360
|
io.flow.internal.v0.models.SvbVirtualCardClearing;
|
|
33289
33361
|
export type SvbVirtualCardClearingDeleted =
|
|
@@ -33404,6 +33476,9 @@ export type TransferTransactionUpsertedV2 =
|
|
|
33404
33476
|
export type Tribe = io.flow.internal.v0.models.Tribe;
|
|
33405
33477
|
export type TrueUpLabelSummary = io.flow.internal.v0.models.TrueUpLabelSummary;
|
|
33406
33478
|
export type TrueUpSurchargeType = io.flow.internal.v0.enums.TrueUpSurchargeType;
|
|
33479
|
+
export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction;
|
|
33480
|
+
export type TrueupTransactionType =
|
|
33481
|
+
io.flow.internal.v0.enums.TrueupTransactionType;
|
|
33407
33482
|
export type UnassignedMerchantGuid =
|
|
33408
33483
|
io.flow.internal.v0.models.UnassignedMerchantGuid;
|
|
33409
33484
|
export type UnassignedMerchantGuidDeleted =
|
|
@@ -33460,13 +33535,6 @@ export type VirtualCardProviderUpserted =
|
|
|
33460
33535
|
io.flow.internal.v0.models.VirtualCardProviderUpserted;
|
|
33461
33536
|
export type VirtualCardTransaction =
|
|
33462
33537
|
io.flow.internal.v0.models.VirtualCardTransaction;
|
|
33463
|
-
export type WashCarrierActualFile =
|
|
33464
|
-
io.flow.internal.v0.models.WashCarrierActualFile;
|
|
33465
|
-
export type WashCarrierActualFileForm =
|
|
33466
|
-
io.flow.internal.v0.models.WashCarrierActualFileForm;
|
|
33467
|
-
export type WashCarrierActualFileStatus =
|
|
33468
|
-
io.flow.internal.v0.enums.WashCarrierActualFileStatus;
|
|
33469
|
-
export type WashExportRequest = io.flow.internal.v0.models.WashExportRequest;
|
|
33470
33538
|
export type WasteElectricalAndElectronicEquipmentComplianceData =
|
|
33471
33539
|
io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
33472
33540
|
export type WasteElectricalAndElectronicEquipmentComplianceForm =
|