@flowio/types 11.24.68 → 11.24.70
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 +209 -189
- package/dist/api.d.ts +88 -7
- package/package.json +2 -2
- package/src/api-internal.ts +271 -246
- package/src/api.ts +113 -5
package/src/api-internal.ts
CHANGED
|
@@ -2597,6 +2597,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2597
2597
|
readonly id: string;
|
|
2598
2598
|
readonly amount: number;
|
|
2599
2599
|
readonly amount_refunded: number;
|
|
2600
|
+
readonly authorization_code?: string;
|
|
2600
2601
|
readonly captured: boolean;
|
|
2601
2602
|
readonly created: number;
|
|
2602
2603
|
readonly currency: string;
|
|
@@ -2647,6 +2648,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2647
2648
|
readonly id: string;
|
|
2648
2649
|
readonly amount: number;
|
|
2649
2650
|
readonly amount_refunded: number;
|
|
2651
|
+
readonly authorization_code?: string;
|
|
2650
2652
|
readonly captured: boolean;
|
|
2651
2653
|
readonly created: number;
|
|
2652
2654
|
readonly currency: string;
|
|
@@ -3218,9 +3220,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
3218
3220
|
}
|
|
3219
3221
|
|
|
3220
3222
|
interface ThreeDSecureCharge {
|
|
3223
|
+
readonly authenticated?: boolean;
|
|
3221
3224
|
readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
|
|
3222
3225
|
readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
|
|
3223
3226
|
readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
|
|
3227
|
+
readonly succeeded?: boolean;
|
|
3224
3228
|
readonly version?: string;
|
|
3225
3229
|
}
|
|
3226
3230
|
|
|
@@ -6943,7 +6947,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6943
6947
|
readonly key: string;
|
|
6944
6948
|
readonly namespace: string;
|
|
6945
6949
|
readonly value: string;
|
|
6946
|
-
readonly
|
|
6950
|
+
readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
|
|
6947
6951
|
readonly description?: string;
|
|
6948
6952
|
}
|
|
6949
6953
|
|
|
@@ -7107,6 +7111,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
7107
7111
|
readonly id: number;
|
|
7108
7112
|
readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
|
|
7109
7113
|
readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
|
|
7114
|
+
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafieldForm[];
|
|
7110
7115
|
}
|
|
7111
7116
|
|
|
7112
7117
|
interface ShopifyWebhookCustomersDataRequest {
|
|
@@ -7422,7 +7427,8 @@ declare namespace io.flow.payment.gateway.v0.enums {
|
|
|
7422
7427
|
| 'order_restricted_goods'
|
|
7423
7428
|
| 'order_unsupported_destination'
|
|
7424
7429
|
| 'order_missing_information'
|
|
7425
|
-
| 'order_domestic'
|
|
7430
|
+
| 'order_domestic'
|
|
7431
|
+
| 'order_mismatched_currencies';
|
|
7426
7432
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
7427
7433
|
type PaymentStatus =
|
|
7428
7434
|
| 'requires_payment_method'
|
|
@@ -8944,6 +8950,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
8944
8950
|
| 'card'
|
|
8945
8951
|
| 'online'
|
|
8946
8952
|
| 'credit'
|
|
8953
|
+
| 'external'
|
|
8947
8954
|
| 'subsidized'
|
|
8948
8955
|
| 'installment_plan'
|
|
8949
8956
|
| 'cash_on_delivery';
|
|
@@ -10770,8 +10777,8 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
|
|
|
10770
10777
|
| 'oversize'
|
|
10771
10778
|
| 'duties_paid'
|
|
10772
10779
|
| 'emergency'
|
|
10773
|
-
| 'peak'
|
|
10774
|
-
|
|
10780
|
+
| 'peak'
|
|
10781
|
+
| 'address_correction';
|
|
10775
10782
|
}
|
|
10776
10783
|
|
|
10777
10784
|
declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
@@ -10795,11 +10802,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10795
10802
|
readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
|
|
10796
10803
|
}
|
|
10797
10804
|
|
|
10805
|
+
interface LabelInvoiceResponseFile {
|
|
10806
|
+
readonly id: string;
|
|
10807
|
+
readonly url: string;
|
|
10808
|
+
readonly created_at: string;
|
|
10809
|
+
readonly result?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult;
|
|
10810
|
+
}
|
|
10811
|
+
|
|
10812
|
+
interface LabelInvoiceResponseFileForm {
|
|
10813
|
+
readonly url: string;
|
|
10814
|
+
}
|
|
10815
|
+
|
|
10816
|
+
interface LabelInvoiceResponseFileResult {
|
|
10817
|
+
readonly processed_at: string;
|
|
10818
|
+
readonly number_lines_successful: number;
|
|
10819
|
+
readonly number_lines_with_errors: number;
|
|
10820
|
+
readonly errors_url?: string;
|
|
10821
|
+
}
|
|
10822
|
+
|
|
10823
|
+
interface LabelInvoiceResponseForm {
|
|
10824
|
+
readonly id: string;
|
|
10825
|
+
readonly label_invoice_request_id: string;
|
|
10826
|
+
readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits;
|
|
10827
|
+
readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
|
|
10828
|
+
readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
|
|
10829
|
+
readonly total: number;
|
|
10830
|
+
}
|
|
10831
|
+
|
|
10798
10832
|
interface LabelMetadata {
|
|
10799
10833
|
readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
|
|
10800
10834
|
readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
|
|
10801
10835
|
}
|
|
10802
10836
|
|
|
10837
|
+
interface LabelResponseUnits {
|
|
10838
|
+
readonly currency: string;
|
|
10839
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
10840
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
10841
|
+
}
|
|
10842
|
+
|
|
10803
10843
|
interface LabelSurcharge {
|
|
10804
10844
|
readonly amount: number;
|
|
10805
10845
|
readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
|
|
@@ -10821,6 +10861,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10821
10861
|
readonly percentage: number;
|
|
10822
10862
|
}
|
|
10823
10863
|
|
|
10864
|
+
interface LabelSurchargeForm {
|
|
10865
|
+
readonly fuel?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10866
|
+
readonly remote_area?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10867
|
+
readonly oversize?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10868
|
+
readonly duties_paid?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10869
|
+
readonly emergency?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10870
|
+
readonly peak?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10871
|
+
readonly address_correction?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
10872
|
+
}
|
|
10873
|
+
|
|
10874
|
+
interface LabelSurchargeSingleForm {
|
|
10875
|
+
readonly amount: number;
|
|
10876
|
+
readonly percentage?: number;
|
|
10877
|
+
readonly fee_per_weight_unit?: number;
|
|
10878
|
+
}
|
|
10879
|
+
|
|
10824
10880
|
interface LabelUnits {
|
|
10825
10881
|
readonly currency: string;
|
|
10826
10882
|
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
@@ -10838,7 +10894,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
10838
10894
|
}
|
|
10839
10895
|
|
|
10840
10896
|
interface MetadataWeights {
|
|
10841
|
-
readonly selected: io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
|
|
10842
10897
|
readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
|
|
10843
10898
|
readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
|
|
10844
10899
|
}
|
|
@@ -10902,6 +10957,7 @@ declare namespace io.flow.shopify.merchant.config.v0.models {
|
|
|
10902
10957
|
readonly discriminator: 'know_your_business_usa';
|
|
10903
10958
|
readonly id: string;
|
|
10904
10959
|
readonly organization_id: string;
|
|
10960
|
+
readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
|
|
10905
10961
|
readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity;
|
|
10906
10962
|
readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
|
|
10907
10963
|
readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company;
|
|
@@ -12212,6 +12268,7 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
12212
12268
|
| 'reversal'
|
|
12213
12269
|
| 'shipping_label'
|
|
12214
12270
|
| 'shipping_label_service'
|
|
12271
|
+
| 'trueup'
|
|
12215
12272
|
| 'shipping_label_revenue_share'
|
|
12216
12273
|
| 'platform_fee'
|
|
12217
12274
|
| 'tax'
|
|
@@ -12224,6 +12281,15 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
12224
12281
|
| 'order_service'
|
|
12225
12282
|
| 'virtual_card_capture'
|
|
12226
12283
|
| 'virtual_card_refund';
|
|
12284
|
+
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
12285
|
+
type TrueupSurchargeType =
|
|
12286
|
+
| 'fuel'
|
|
12287
|
+
| 'remote_area'
|
|
12288
|
+
| 'oversize'
|
|
12289
|
+
| 'duties_paid'
|
|
12290
|
+
| 'emergency'
|
|
12291
|
+
| 'peak'
|
|
12292
|
+
| 'address_correction';
|
|
12227
12293
|
type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
|
|
12228
12294
|
}
|
|
12229
12295
|
|
|
@@ -12468,10 +12534,41 @@ declare namespace io.flow.billing.v0.models {
|
|
|
12468
12534
|
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
12469
12535
|
}
|
|
12470
12536
|
|
|
12537
|
+
interface TransactionMetadataTrueup {
|
|
12538
|
+
readonly discriminator: 'trueup';
|
|
12539
|
+
readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData;
|
|
12540
|
+
readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
|
|
12541
|
+
}
|
|
12542
|
+
|
|
12543
|
+
interface TransactionMetadataTrueupData {
|
|
12544
|
+
readonly source: io.flow.billing.v0.enums.TrueupSource;
|
|
12545
|
+
readonly units: io.flow.billing.v0.models.TrueupLabelUnits;
|
|
12546
|
+
readonly base: io.flow.billing.v0.models.TrueupLabelBase;
|
|
12547
|
+
readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
|
|
12548
|
+
readonly total: number;
|
|
12549
|
+
}
|
|
12550
|
+
|
|
12471
12551
|
interface TransactionReference {
|
|
12472
12552
|
readonly id: string;
|
|
12473
12553
|
}
|
|
12474
12554
|
|
|
12555
|
+
interface TrueupLabelBase {
|
|
12556
|
+
readonly amount: number;
|
|
12557
|
+
readonly weight: number;
|
|
12558
|
+
}
|
|
12559
|
+
|
|
12560
|
+
interface TrueupLabelSurcharge {
|
|
12561
|
+
readonly amount: number;
|
|
12562
|
+
readonly type: io.flow.billing.v0.enums.TrueupSurchargeType;
|
|
12563
|
+
readonly percentage?: number;
|
|
12564
|
+
readonly per_weight_unit?: number;
|
|
12565
|
+
}
|
|
12566
|
+
|
|
12567
|
+
interface TrueupLabelUnits {
|
|
12568
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
12569
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
12570
|
+
}
|
|
12571
|
+
|
|
12475
12572
|
interface WithholdingDeduction {
|
|
12476
12573
|
readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
|
|
12477
12574
|
readonly amount: number;
|
|
@@ -12491,7 +12588,8 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
12491
12588
|
| io.flow.billing.v0.models.SettlementNoPayout
|
|
12492
12589
|
| io.flow.billing.v0.models.SettlementPayout;
|
|
12493
12590
|
type TransactionMetadata =
|
|
12494
|
-
io.flow.billing.v0.models.TransactionMetadataShippingLabel
|
|
12591
|
+
| io.flow.billing.v0.models.TransactionMetadataShippingLabel
|
|
12592
|
+
| io.flow.billing.v0.models.TransactionMetadataTrueup;
|
|
12495
12593
|
}
|
|
12496
12594
|
|
|
12497
12595
|
declare namespace io.flow.harmonization.v0.enums {
|
|
@@ -13843,6 +13941,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
|
|
|
13843
13941
|
readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
|
|
13844
13942
|
readonly started_at?: string;
|
|
13845
13943
|
readonly time_blocked?: number;
|
|
13944
|
+
readonly time_in_setup?: number;
|
|
13846
13945
|
readonly blocked_since?: string;
|
|
13847
13946
|
readonly completed_at?: string;
|
|
13848
13947
|
readonly onboarding_started_at?: string;
|
|
@@ -14302,15 +14401,14 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14302
14401
|
| 'capture_transactions_ignored_fraud_count'
|
|
14303
14402
|
| 'capture_transactions_ignored_fully_refunded_count'
|
|
14304
14403
|
| 'capture_transactions_ignored_other_count'
|
|
14404
|
+
| 'capture_transactions_ignored_previously_processed_count'
|
|
14305
14405
|
| 'capture_transactions_total'
|
|
14306
|
-
| '
|
|
14307
|
-
| '
|
|
14406
|
+
| 'channel_transactions_processing_count'
|
|
14407
|
+
| 'channel_transactions_processing_total'
|
|
14308
14408
|
| 'channel_transactions_adjustment_count'
|
|
14309
14409
|
| 'channel_transactions_adjustment_total'
|
|
14310
14410
|
| 'channel_transactions_reversal_count'
|
|
14311
14411
|
| 'channel_transactions_reversal_total'
|
|
14312
|
-
| 'channel_transactions_other_count'
|
|
14313
|
-
| 'channel_transactions_other_total'
|
|
14314
14412
|
| 'channel_billed_transactions_count'
|
|
14315
14413
|
| 'channel_billed_transactions_total'
|
|
14316
14414
|
| 'credit_payment_transactions_count'
|
|
@@ -14333,11 +14431,16 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14333
14431
|
| 'refund_transactions_ignored_fraud_count'
|
|
14334
14432
|
| 'refund_transactions_ignored_fully_refunded_count'
|
|
14335
14433
|
| 'refund_transactions_ignored_other_count'
|
|
14434
|
+
| 'refund_transactions_ignored_previously_processed_count'
|
|
14336
14435
|
| 'refund_transactions_total'
|
|
14337
14436
|
| 'reversal_order_cancellations_transactions_count'
|
|
14338
14437
|
| 'reversal_order_cancellations_transactions_total'
|
|
14339
14438
|
| 'reversal_external_fulfillment_transactions_count'
|
|
14340
14439
|
| 'reversal_external_fulfillment_transactions_total'
|
|
14440
|
+
| 'reversal_other_transactions_count'
|
|
14441
|
+
| 'reversal_other_transactions_total'
|
|
14442
|
+
| 'reversal_all_transactions_count'
|
|
14443
|
+
| 'reversal_all_transactions_total'
|
|
14341
14444
|
| 'tax_transactions_count'
|
|
14342
14445
|
| 'tax_transactions_total'
|
|
14343
14446
|
| 'transfer_transactions_count'
|
|
@@ -14348,27 +14451,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14348
14451
|
| 'percentage_orders_with_fulfillment_proof_4_weeks'
|
|
14349
14452
|
| 'percentage_orders_with_fulfillment_proof_6_weeks'
|
|
14350
14453
|
| 'percentage_orders_with_fulfillment_proof_all'
|
|
14454
|
+
| 'pending_payouts_max_age_in_millis'
|
|
14351
14455
|
| 'shipping_notifications_count'
|
|
14352
14456
|
| 'queued_capture_unprocessed_count'
|
|
14353
|
-
| 'queued_capture_deletion_unprocessed_count'
|
|
14354
|
-
| 'queued_channel_transaction_unprocessed_count'
|
|
14355
|
-
| 'queued_channel_organization_unprocessed_count'
|
|
14356
|
-
| 'queued_consumer_invoice_unprocessed_count'
|
|
14357
|
-
| 'queued_fulfillment_external_unprocessed_count'
|
|
14358
|
-
| 'queued_fulfillment_in_transit_unprocessed_count'
|
|
14359
|
-
| 'queued_fulfillment_shipping_notification_unprocessed_count'
|
|
14360
|
-
| 'queued_label_invoice_request_unprocessed_count'
|
|
14361
|
-
| 'queued_label_tracking_summary_unprocessed_count'
|
|
14362
|
-
| 'queued_label_origin_unprocessed_count'
|
|
14363
|
-
| 'queued_order_unprocessed_count'
|
|
14364
|
-
| 'queued_order_identifier_unprocessed_count'
|
|
14365
14457
|
| 'queued_refund_unprocessed_count'
|
|
14366
|
-
| 'queued_refund_deletion_unprocessed_count'
|
|
14367
|
-
| 'queued_refund_over_capture_unprocessed_count'
|
|
14368
|
-
| 'queued_sales_record_unprocessed_count'
|
|
14369
|
-
| 'queued_statement_batch_unprocessed_count'
|
|
14370
|
-
| 'queued_statement_email_unprocessed_count'
|
|
14371
|
-
| 'queued_statement_summary_email_unprocessed_count'
|
|
14372
14458
|
| 'queued_record_snooze_count'
|
|
14373
14459
|
| 'queued_record_snooze_ending_in_48_hours_count'
|
|
14374
14460
|
| 'statements_no_payout_count'
|
|
@@ -14381,10 +14467,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14381
14467
|
| 'payouts_sent_total'
|
|
14382
14468
|
| 'payouts_failed_count'
|
|
14383
14469
|
| 'payouts_failed_total'
|
|
14384
|
-
| 'pending_payouts_max_age'
|
|
14385
14470
|
| 'average_payout_amount'
|
|
14386
|
-
| 'orders_with_payments_count'
|
|
14387
|
-
| 'orders_without_payments_count'
|
|
14388
14471
|
| 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
|
|
14389
14472
|
type BillingStatementAttachmentKey =
|
|
14390
14473
|
| 'invoice'
|
|
@@ -14423,7 +14506,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14423
14506
|
| 'order'
|
|
14424
14507
|
| 'channel_billed'
|
|
14425
14508
|
| 'tax'
|
|
14426
|
-
| 'duty'
|
|
14509
|
+
| 'duty'
|
|
14510
|
+
| 'trueup';
|
|
14427
14511
|
type BlazeCheckoutEvent =
|
|
14428
14512
|
| 'begin_checkout'
|
|
14429
14513
|
| 'select_promotion'
|
|
@@ -14457,7 +14541,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14457
14541
|
| 'core_team_investigate'
|
|
14458
14542
|
| 'mex_team'
|
|
14459
14543
|
| 'payments_team'
|
|
14460
|
-
| '
|
|
14544
|
+
| 'tc_team'
|
|
14545
|
+
| 'logistics_team';
|
|
14461
14546
|
type ChannelOrderAcceptanceRejectionReason =
|
|
14462
14547
|
| 'unsupported_origin_country'
|
|
14463
14548
|
| 'unsupported_destination_country'
|
|
@@ -15019,6 +15104,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15019
15104
|
| 'localized_item_prices_export_request'
|
|
15020
15105
|
| 'optin_prompt_upserted'
|
|
15021
15106
|
| 'optin_prompt_deleted'
|
|
15107
|
+
| 'order_combined_shipment_upserted'
|
|
15108
|
+
| 'order_combined_shipment_deleted'
|
|
15022
15109
|
| 'order_fulfillment_deleted'
|
|
15023
15110
|
| 'order_fulfillment_upserted'
|
|
15024
15111
|
| 'order_placed'
|
|
@@ -15189,7 +15276,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15189
15276
|
| 'in_review'
|
|
15190
15277
|
| 'resolved'
|
|
15191
15278
|
| 'unresolved';
|
|
15192
|
-
type LabelInputSource = 'estimate';
|
|
15193
15279
|
type LabelRequestErrorHandlingResponsibility =
|
|
15194
15280
|
| 'merchant'
|
|
15195
15281
|
| 'merchant_integration'
|
|
@@ -15412,24 +15498,25 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15412
15498
|
| 'capture'
|
|
15413
15499
|
| 'capture_deletion'
|
|
15414
15500
|
| 'channel_transaction'
|
|
15415
|
-
| 'channel_organization'
|
|
15416
15501
|
| 'consumer_invoice'
|
|
15417
15502
|
| 'fulfillment_in_transit'
|
|
15418
15503
|
| 'fulfillment_shipping_notification'
|
|
15419
15504
|
| 'fulfillment_external'
|
|
15420
15505
|
| 'label_tracking_summary'
|
|
15421
15506
|
| 'label_invoice_request'
|
|
15507
|
+
| 'label_invoice_response'
|
|
15508
|
+
| 'label_invoice_response_file'
|
|
15422
15509
|
| 'label_origin'
|
|
15423
15510
|
| 'order'
|
|
15424
15511
|
| 'order_identifier'
|
|
15512
|
+
| 'organization_onboarding_state'
|
|
15425
15513
|
| 'refund'
|
|
15426
15514
|
| 'refund_deletion'
|
|
15427
15515
|
| 'refund_over_capture'
|
|
15428
15516
|
| 'sales_record'
|
|
15429
15517
|
| 'statement_batch'
|
|
15430
15518
|
| 'statement_email'
|
|
15431
|
-
| 'statement_summary_email'
|
|
15432
|
-
| 'wash';
|
|
15519
|
+
| 'statement_summary_email';
|
|
15433
15520
|
type QuoteRequestType =
|
|
15434
15521
|
| 'generate'
|
|
15435
15522
|
| 'delete'
|
|
@@ -15565,7 +15652,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15565
15652
|
type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
|
|
15566
15653
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
15567
15654
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
15568
|
-
type SurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid';
|
|
15569
15655
|
type TariffEligibilityType = 'rex';
|
|
15570
15656
|
type TaskProcessorKey =
|
|
15571
15657
|
| 'order_messenger'
|
|
@@ -15588,7 +15674,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15588
15674
|
| 'oversize'
|
|
15589
15675
|
| 'duties_paid'
|
|
15590
15676
|
| 'emergency'
|
|
15591
|
-
| 'peak'
|
|
15677
|
+
| 'peak'
|
|
15678
|
+
| 'address_correction';
|
|
15679
|
+
type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup';
|
|
15592
15680
|
type UnclassifiedProductStatus =
|
|
15593
15681
|
| 'ignored'
|
|
15594
15682
|
| 'escalated'
|
|
@@ -15596,12 +15684,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15596
15684
|
| 'unverified'
|
|
15597
15685
|
| 'queued'
|
|
15598
15686
|
| 'unconfident';
|
|
15599
|
-
type WashCarrierActualFileStatus =
|
|
15600
|
-
| 'pending'
|
|
15601
|
-
| 'processing'
|
|
15602
|
-
| 'processed'
|
|
15603
|
-
| 'failed';
|
|
15604
|
-
type WeightSelection = 'dead' | 'dimensional';
|
|
15605
15687
|
}
|
|
15606
15688
|
|
|
15607
15689
|
declare namespace io.flow.internal.v0.models {
|
|
@@ -15657,15 +15739,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15657
15739
|
readonly rate: number;
|
|
15658
15740
|
}
|
|
15659
15741
|
|
|
15660
|
-
interface AccountForm {
|
|
15661
|
-
readonly timezone: string;
|
|
15662
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
15663
|
-
readonly payment_conditions?: string;
|
|
15664
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
15665
|
-
readonly center_key?: string;
|
|
15666
|
-
readonly bank_account_id?: string;
|
|
15667
|
-
}
|
|
15668
|
-
|
|
15669
15742
|
interface AccountOrdersExportRequest {
|
|
15670
15743
|
readonly discriminator: 'account_orders_export_request';
|
|
15671
15744
|
readonly event_id: string;
|
|
@@ -15690,6 +15763,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15690
15763
|
readonly transaction_created_before?: string;
|
|
15691
15764
|
}
|
|
15692
15765
|
|
|
15766
|
+
interface AccountOrigin {
|
|
15767
|
+
readonly country: string;
|
|
15768
|
+
}
|
|
15769
|
+
|
|
15693
15770
|
interface AccountProcessingRateForm {
|
|
15694
15771
|
readonly query: string;
|
|
15695
15772
|
readonly capture: number;
|
|
@@ -16628,6 +16705,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16628
16705
|
readonly channel_billed: io.flow.common.v0.models.Price;
|
|
16629
16706
|
readonly tax: io.flow.common.v0.models.Price;
|
|
16630
16707
|
readonly duty: io.flow.common.v0.models.Price;
|
|
16708
|
+
readonly trueup: io.flow.common.v0.models.Price;
|
|
16631
16709
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
16632
16710
|
}
|
|
16633
16711
|
|
|
@@ -17158,6 +17236,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17158
17236
|
interface ChannelAccount {
|
|
17159
17237
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
17160
17238
|
readonly id: string;
|
|
17239
|
+
readonly key?: string;
|
|
17240
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
17161
17241
|
readonly currency: string;
|
|
17162
17242
|
readonly updated_at: string;
|
|
17163
17243
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -19890,132 +19970,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19890
19970
|
readonly signature_secret: string;
|
|
19891
19971
|
}
|
|
19892
19972
|
|
|
19893
|
-
interface CsvActual {
|
|
19894
|
-
readonly id: string;
|
|
19895
|
-
readonly currency: string;
|
|
19896
|
-
readonly base_amount: number;
|
|
19897
|
-
readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
|
|
19898
|
-
readonly total: number;
|
|
19899
|
-
readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
19900
|
-
readonly weight: number;
|
|
19901
|
-
readonly ratecard: io.flow.internal.v0.models.CsvActualRatecard;
|
|
19902
|
-
}
|
|
19903
|
-
|
|
19904
|
-
interface CsvActualRatecard {
|
|
19905
|
-
readonly base_amount?: number;
|
|
19906
|
-
}
|
|
19907
|
-
|
|
19908
|
-
interface CsvDimensions {
|
|
19909
|
-
readonly unit: io.flow.units.v0.enums.UnitOfLength;
|
|
19910
|
-
readonly length: number;
|
|
19911
|
-
readonly width: number;
|
|
19912
|
-
readonly depth: number;
|
|
19913
|
-
}
|
|
19914
|
-
|
|
19915
|
-
interface CsvFlowRatecard {
|
|
19916
|
-
readonly id: string;
|
|
19917
|
-
readonly number: string;
|
|
19918
|
-
readonly owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
19919
|
-
readonly lane: io.flow.internal.v0.models.LaneReference;
|
|
19920
|
-
readonly dim_factor: number;
|
|
19921
|
-
readonly surcharges: io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
|
|
19922
|
-
readonly base_amount?: number;
|
|
19923
|
-
}
|
|
19924
|
-
|
|
19925
|
-
interface CsvFlowRatecardSurcharges {
|
|
19926
|
-
readonly fuel?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19927
|
-
readonly remote_area?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19928
|
-
readonly oversize?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19929
|
-
readonly duties_paid?: io.flow.internal.v0.models.CsvServiceFee;
|
|
19930
|
-
}
|
|
19931
|
-
|
|
19932
|
-
interface CsvGlobalEProposition {
|
|
19933
|
-
readonly name: string;
|
|
19934
|
-
}
|
|
19935
|
-
|
|
19936
|
-
interface CsvGlobalEShippingMethod {
|
|
19937
|
-
readonly id: string;
|
|
19938
|
-
readonly proposition: io.flow.internal.v0.models.CsvGlobalEProposition;
|
|
19939
|
-
}
|
|
19940
|
-
|
|
19941
|
-
interface CsvInput {
|
|
19942
|
-
readonly id: string;
|
|
19943
|
-
readonly source: io.flow.internal.v0.enums.LabelInputSource;
|
|
19944
|
-
readonly currency: string;
|
|
19945
|
-
readonly base_amount: number;
|
|
19946
|
-
readonly surcharges: io.flow.internal.v0.models.CsvSurcharges;
|
|
19947
|
-
readonly total: number;
|
|
19948
|
-
readonly weight_unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
19949
|
-
readonly weight: number;
|
|
19950
|
-
readonly variance: number;
|
|
19951
|
-
}
|
|
19952
|
-
|
|
19953
|
-
interface CsvLabel {
|
|
19954
|
-
readonly id: string;
|
|
19955
|
-
readonly cost: io.flow.internal.v0.models.CsvLabelCost;
|
|
19956
|
-
readonly created_at: string;
|
|
19957
|
-
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
19958
|
-
readonly trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod;
|
|
19959
|
-
}
|
|
19960
|
-
|
|
19961
|
-
interface CsvLabelCost {
|
|
19962
|
-
readonly amount: number;
|
|
19963
|
-
readonly currency: string;
|
|
19964
|
-
readonly source: io.flow.label.v0.enums.CostEstimateSource;
|
|
19965
|
-
}
|
|
19966
|
-
|
|
19967
|
-
interface CsvOrder {
|
|
19968
|
-
readonly organization: io.flow.internal.v0.models.OrganizationReference;
|
|
19969
|
-
readonly number: string;
|
|
19970
|
-
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
19971
|
-
readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
|
|
19972
|
-
readonly tax: io.flow.common.v0.models.Money;
|
|
19973
|
-
readonly duty: io.flow.common.v0.models.Money;
|
|
19974
|
-
readonly total: io.flow.common.v0.models.Money;
|
|
19975
|
-
readonly number_items: number;
|
|
19976
|
-
}
|
|
19977
|
-
|
|
19978
|
-
interface CsvRecord {
|
|
19979
|
-
readonly label: io.flow.internal.v0.models.CsvLabel;
|
|
19980
|
-
readonly carrier_service_id: string;
|
|
19981
|
-
readonly carrier_tracking_number: string;
|
|
19982
|
-
readonly order: io.flow.internal.v0.models.CsvOrder;
|
|
19983
|
-
readonly flow_ratecard: io.flow.internal.v0.models.CsvFlowRatecard;
|
|
19984
|
-
readonly global_e_shipping_method?: io.flow.internal.v0.models.CsvGlobalEShippingMethod;
|
|
19985
|
-
readonly weight: io.flow.internal.v0.models.CsvWeight;
|
|
19986
|
-
readonly dimensions: io.flow.internal.v0.models.CsvDimensions;
|
|
19987
|
-
readonly input?: io.flow.internal.v0.models.CsvInput;
|
|
19988
|
-
readonly actual?: io.flow.internal.v0.models.CsvActual;
|
|
19989
|
-
readonly variance?: number;
|
|
19990
|
-
readonly deltas: string[];
|
|
19991
|
-
readonly outliers: string[];
|
|
19992
|
-
}
|
|
19993
|
-
|
|
19994
|
-
interface CsvServiceFee {
|
|
19995
|
-
readonly amount?: number;
|
|
19996
|
-
readonly currency?: string;
|
|
19997
|
-
readonly percentage?: number;
|
|
19998
|
-
}
|
|
19999
|
-
|
|
20000
|
-
interface CsvSurchargePercentage {
|
|
20001
|
-
readonly percentage: number;
|
|
20002
|
-
readonly amount: number;
|
|
20003
|
-
}
|
|
20004
|
-
|
|
20005
|
-
interface CsvSurcharges {
|
|
20006
|
-
readonly fuel: io.flow.internal.v0.models.CsvSurchargePercentage;
|
|
20007
|
-
readonly remote_area: number;
|
|
20008
|
-
readonly oversize: number;
|
|
20009
|
-
readonly duties_paid: number;
|
|
20010
|
-
}
|
|
20011
|
-
|
|
20012
|
-
interface CsvWeight {
|
|
20013
|
-
readonly unit: io.flow.units.v0.enums.UnitOfWeight;
|
|
20014
|
-
readonly provided: number;
|
|
20015
|
-
readonly dimensional: number;
|
|
20016
|
-
readonly lookup: number;
|
|
20017
|
-
}
|
|
20018
|
-
|
|
20019
19973
|
interface CurrencyInternalRate {
|
|
20020
19974
|
readonly id: string;
|
|
20021
19975
|
readonly organization_id: string;
|
|
@@ -20239,6 +20193,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20239
20193
|
readonly authorization_id?: string;
|
|
20240
20194
|
readonly posting_proof_id?: string;
|
|
20241
20195
|
readonly label_tracking_summary_id?: string;
|
|
20196
|
+
readonly shipping_notification_id?: string;
|
|
20197
|
+
readonly external_fulfillment_proof_id?: string;
|
|
20242
20198
|
}
|
|
20243
20199
|
|
|
20244
20200
|
interface DebugOrderTransactionFormOrderIdentifier {
|
|
@@ -21560,6 +21516,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21560
21516
|
interface FlowAccount {
|
|
21561
21517
|
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
21562
21518
|
readonly id: string;
|
|
21519
|
+
readonly key?: string;
|
|
21520
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
21563
21521
|
readonly currency: string;
|
|
21564
21522
|
readonly updated_at: string;
|
|
21565
21523
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -21835,6 +21793,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21835
21793
|
readonly shipping: io.flow.internal.v0.models.FulfillmentShipping;
|
|
21836
21794
|
readonly shopper: io.flow.internal.v0.models.ShopperSummary;
|
|
21837
21795
|
readonly merchant: io.flow.internal.v0.models.MerchantSummary;
|
|
21796
|
+
readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
|
|
21797
|
+
readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty;
|
|
21838
21798
|
readonly completes_order: boolean;
|
|
21839
21799
|
readonly sequence_number: number;
|
|
21840
21800
|
readonly business?: io.flow.internal.v0.models.FulfillmentBusiness;
|
|
@@ -23528,6 +23488,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23528
23488
|
readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
23529
23489
|
}
|
|
23530
23490
|
|
|
23491
|
+
interface LabelInvoiceResponseFile {
|
|
23492
|
+
readonly id: string;
|
|
23493
|
+
readonly url: string;
|
|
23494
|
+
readonly created_at: string;
|
|
23495
|
+
readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
23496
|
+
}
|
|
23497
|
+
|
|
23498
|
+
interface LabelInvoiceResponseFileForm {
|
|
23499
|
+
readonly url: string;
|
|
23500
|
+
}
|
|
23501
|
+
|
|
23502
|
+
interface LabelInvoiceResponseFileResult {
|
|
23503
|
+
readonly processed_at: string;
|
|
23504
|
+
readonly number_lines_successful: number;
|
|
23505
|
+
readonly number_lines_with_errors: number;
|
|
23506
|
+
readonly errors_url?: string;
|
|
23507
|
+
}
|
|
23508
|
+
|
|
23509
|
+
interface LabelInvoiceResponseForm {
|
|
23510
|
+
readonly id: string;
|
|
23511
|
+
readonly label_invoice_request_id: string;
|
|
23512
|
+
readonly units: io.flow.internal.v0.models.LabelResponseUnits;
|
|
23513
|
+
readonly base: io.flow.internal.v0.models.LabelBase;
|
|
23514
|
+
readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
|
|
23515
|
+
readonly total: number;
|
|
23516
|
+
}
|
|
23517
|
+
|
|
23531
23518
|
interface LabelMetadata {
|
|
23532
23519
|
readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
|
|
23533
23520
|
readonly weights: io.flow.internal.v0.models.MetadataWeights;
|
|
@@ -23563,6 +23550,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23563
23550
|
readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
|
|
23564
23551
|
}
|
|
23565
23552
|
|
|
23553
|
+
interface LabelResponseUnits {
|
|
23554
|
+
readonly currency: string;
|
|
23555
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
23556
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
23557
|
+
}
|
|
23558
|
+
|
|
23566
23559
|
interface LabelSummary {
|
|
23567
23560
|
readonly id: string;
|
|
23568
23561
|
readonly commercial_invoice?: string;
|
|
@@ -23598,6 +23591,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23598
23591
|
readonly percentage: number;
|
|
23599
23592
|
}
|
|
23600
23593
|
|
|
23594
|
+
interface LabelSurchargeForm {
|
|
23595
|
+
readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23596
|
+
readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23597
|
+
readonly oversize?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23598
|
+
readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23599
|
+
readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23600
|
+
readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23601
|
+
readonly address_correction?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
23602
|
+
}
|
|
23603
|
+
|
|
23604
|
+
interface LabelSurchargeSingleForm {
|
|
23605
|
+
readonly amount: number;
|
|
23606
|
+
readonly percentage?: number;
|
|
23607
|
+
readonly fee_per_weight_unit?: number;
|
|
23608
|
+
}
|
|
23609
|
+
|
|
23601
23610
|
interface LabelTaxonomy {
|
|
23602
23611
|
readonly discriminator: 'item';
|
|
23603
23612
|
readonly item_type: string;
|
|
@@ -23686,10 +23695,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23686
23695
|
readonly region: string;
|
|
23687
23696
|
}
|
|
23688
23697
|
|
|
23689
|
-
interface LaneReference {
|
|
23690
|
-
readonly id: string;
|
|
23691
|
-
}
|
|
23692
|
-
|
|
23693
23698
|
interface LevyRateSummary {
|
|
23694
23699
|
readonly id: string;
|
|
23695
23700
|
readonly number: string;
|
|
@@ -24430,7 +24435,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24430
24435
|
|
|
24431
24436
|
interface MerchantSubsidies {
|
|
24432
24437
|
readonly fees: io.flow.internal.v0.models.ShopperFees;
|
|
24433
|
-
readonly shipping: number;
|
|
24434
24438
|
readonly tax: number;
|
|
24435
24439
|
readonly duty: number;
|
|
24436
24440
|
readonly total: number;
|
|
@@ -24454,7 +24458,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24454
24458
|
}
|
|
24455
24459
|
|
|
24456
24460
|
interface MetadataWeights {
|
|
24457
|
-
readonly selected: io.flow.internal.v0.enums.WeightSelection;
|
|
24458
24461
|
readonly dead?: io.flow.internal.v0.models.WeightsDead;
|
|
24459
24462
|
readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
|
|
24460
24463
|
}
|
|
@@ -24515,6 +24518,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24515
24518
|
|
|
24516
24519
|
interface OnboardingOrganization {
|
|
24517
24520
|
readonly age: number;
|
|
24521
|
+
readonly setup_time: number;
|
|
24518
24522
|
readonly compliance_approved: boolean;
|
|
24519
24523
|
readonly compliance_full_review_required: boolean;
|
|
24520
24524
|
readonly application_received: string;
|
|
@@ -24671,6 +24675,38 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24671
24675
|
readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence;
|
|
24672
24676
|
}
|
|
24673
24677
|
|
|
24678
|
+
interface OrderCombinedShipment {
|
|
24679
|
+
readonly id: string;
|
|
24680
|
+
readonly label_id: string;
|
|
24681
|
+
readonly carrier_id: string;
|
|
24682
|
+
readonly service_id: string;
|
|
24683
|
+
readonly order_number: string;
|
|
24684
|
+
readonly provided_carrier_name?: string;
|
|
24685
|
+
readonly carrier_tracking_number: string;
|
|
24686
|
+
}
|
|
24687
|
+
|
|
24688
|
+
interface OrderCombinedShipmentDeleted {
|
|
24689
|
+
readonly discriminator: 'order_combined_shipment_deleted';
|
|
24690
|
+
readonly event_id: string;
|
|
24691
|
+
readonly timestamp: string;
|
|
24692
|
+
readonly organization: string;
|
|
24693
|
+
readonly id: string;
|
|
24694
|
+
}
|
|
24695
|
+
|
|
24696
|
+
interface OrderCombinedShipmentForm {
|
|
24697
|
+
readonly order_number: string;
|
|
24698
|
+
readonly provided_carrier_name?: string;
|
|
24699
|
+
readonly carrier_tracking_number: string;
|
|
24700
|
+
}
|
|
24701
|
+
|
|
24702
|
+
interface OrderCombinedShipmentUpserted {
|
|
24703
|
+
readonly discriminator: 'order_combined_shipment_upserted';
|
|
24704
|
+
readonly event_id: string;
|
|
24705
|
+
readonly timestamp: string;
|
|
24706
|
+
readonly organization: string;
|
|
24707
|
+
readonly order_combined_shipment: io.flow.internal.v0.models.OrderCombinedShipment;
|
|
24708
|
+
}
|
|
24709
|
+
|
|
24674
24710
|
interface OrderDetail {
|
|
24675
24711
|
readonly order: io.flow.experience.v0.models.Order;
|
|
24676
24712
|
readonly status: io.flow.experience.v0.enums.OrderStatus;
|
|
@@ -24841,6 +24877,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24841
24877
|
interface OrganizationAccount {
|
|
24842
24878
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
24843
24879
|
readonly id: string;
|
|
24880
|
+
readonly key?: string;
|
|
24881
|
+
readonly origin?: io.flow.internal.v0.models.AccountOrigin;
|
|
24844
24882
|
readonly currency: string;
|
|
24845
24883
|
readonly updated_at: string;
|
|
24846
24884
|
readonly timezone: io.flow.reference.v0.models.Timezone;
|
|
@@ -25076,10 +25114,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
25076
25114
|
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
25077
25115
|
}
|
|
25078
25116
|
|
|
25079
|
-
interface OrganizationReference {
|
|
25080
|
-
readonly id: string;
|
|
25081
|
-
}
|
|
25082
|
-
|
|
25083
25117
|
interface OrganizationRestrictionNoteForm {
|
|
25084
25118
|
readonly note: string;
|
|
25085
25119
|
readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
@@ -26474,11 +26508,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26474
26508
|
readonly hs_code?: string;
|
|
26475
26509
|
readonly merchant_category_code?: string;
|
|
26476
26510
|
readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
|
|
26511
|
+
readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
26512
|
+
readonly last_year_domestic_gmv?: io.flow.common.v0.models.Money;
|
|
26477
26513
|
}
|
|
26478
26514
|
|
|
26479
26515
|
interface RestrictionOrganizationDecisionSummary {
|
|
26480
26516
|
readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
|
|
26481
26517
|
readonly earliest_pending_date: string;
|
|
26518
|
+
readonly priority_score: number;
|
|
26482
26519
|
readonly date: string;
|
|
26483
26520
|
readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
|
|
26484
26521
|
readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
|
|
@@ -27099,6 +27136,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27099
27136
|
readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
|
|
27100
27137
|
readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
|
|
27101
27138
|
readonly fulfillment_created_at?: string;
|
|
27139
|
+
readonly flow_label_id?: string;
|
|
27102
27140
|
}
|
|
27103
27141
|
|
|
27104
27142
|
interface ShopifyMonitoringFulfillmentMissingDetails {
|
|
@@ -27384,6 +27422,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27384
27422
|
readonly remote_area: number;
|
|
27385
27423
|
readonly oversize: number;
|
|
27386
27424
|
readonly ccf: number;
|
|
27425
|
+
readonly emergency: number;
|
|
27426
|
+
readonly peak: number;
|
|
27387
27427
|
readonly total: number;
|
|
27388
27428
|
}
|
|
27389
27429
|
|
|
@@ -27807,12 +27847,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27807
27847
|
readonly values: io.flow.internal.v0.models.LabelAliases[];
|
|
27808
27848
|
}
|
|
27809
27849
|
|
|
27810
|
-
interface Surcharge {
|
|
27811
|
-
readonly amount?: number;
|
|
27812
|
-
readonly percentage?: number;
|
|
27813
|
-
readonly type: io.flow.internal.v0.enums.SurchargeType;
|
|
27814
|
-
}
|
|
27815
|
-
|
|
27816
27850
|
interface SvbVirtualCardClearing {
|
|
27817
27851
|
readonly id: string;
|
|
27818
27852
|
readonly virtual_card_id: string;
|
|
@@ -28276,6 +28310,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28276
28310
|
readonly created_at: string;
|
|
28277
28311
|
}
|
|
28278
28312
|
|
|
28313
|
+
interface TrueupTransaction {
|
|
28314
|
+
readonly discriminator: 'trueup_transaction';
|
|
28315
|
+
readonly label_transaction: io.flow.internal.v0.models.TransactionReference;
|
|
28316
|
+
readonly id: string;
|
|
28317
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
28318
|
+
readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
28319
|
+
readonly posted_at?: string;
|
|
28320
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
28321
|
+
readonly description: string;
|
|
28322
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
28323
|
+
readonly created_at: string;
|
|
28324
|
+
}
|
|
28325
|
+
|
|
28279
28326
|
interface UnassignedMerchantGuid {
|
|
28280
28327
|
readonly id: string;
|
|
28281
28328
|
readonly merchant_guid: string;
|
|
@@ -28517,20 +28564,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
28517
28564
|
readonly created_at: string;
|
|
28518
28565
|
}
|
|
28519
28566
|
|
|
28520
|
-
interface WashCarrierActualFile {
|
|
28521
|
-
readonly id: string;
|
|
28522
|
-
readonly url: string;
|
|
28523
|
-
readonly status: io.flow.internal.v0.enums.WashCarrierActualFileStatus;
|
|
28524
|
-
}
|
|
28525
|
-
|
|
28526
|
-
interface WashCarrierActualFileForm {
|
|
28527
|
-
readonly url: string;
|
|
28528
|
-
}
|
|
28529
|
-
|
|
28530
|
-
interface WashExportRequest {
|
|
28531
|
-
readonly url: string;
|
|
28532
|
-
}
|
|
28533
|
-
|
|
28534
28567
|
interface WasteElectricalAndElectronicEquipmentComplianceData {
|
|
28535
28568
|
readonly discriminator: 'weee';
|
|
28536
28569
|
readonly label: string;
|
|
@@ -29221,6 +29254,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29221
29254
|
| io.flow.internal.v0.models.LocalizedItemPricesExportRequest
|
|
29222
29255
|
| io.flow.internal.v0.models.OptinPromptUpserted
|
|
29223
29256
|
| io.flow.internal.v0.models.OptinPromptDeleted
|
|
29257
|
+
| io.flow.internal.v0.models.OrderCombinedShipmentUpserted
|
|
29258
|
+
| io.flow.internal.v0.models.OrderCombinedShipmentDeleted
|
|
29224
29259
|
| io.flow.internal.v0.models.OrderFulfillmentDeleted
|
|
29225
29260
|
| io.flow.internal.v0.models.OrderFulfillmentUpserted
|
|
29226
29261
|
| io.flow.internal.v0.models.OrderPlaced
|
|
@@ -29591,7 +29626,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29591
29626
|
| io.flow.internal.v0.models.OrderTransaction
|
|
29592
29627
|
| io.flow.internal.v0.models.ChannelBilledTransaction
|
|
29593
29628
|
| io.flow.internal.v0.models.TaxTransaction
|
|
29594
|
-
| io.flow.internal.v0.models.DutyTransaction
|
|
29629
|
+
| io.flow.internal.v0.models.DutyTransaction
|
|
29630
|
+
| io.flow.internal.v0.models.TrueupTransaction;
|
|
29595
29631
|
type TransactionSummary =
|
|
29596
29632
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
29597
29633
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -29615,9 +29651,9 @@ export type AccountDeletedV2 = io.flow.internal.v0.models.AccountDeletedV2;
|
|
|
29615
29651
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
29616
29652
|
export type AccountDepositRuleForm =
|
|
29617
29653
|
io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
29618
|
-
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
29619
29654
|
export type AccountOrdersExportRequest =
|
|
29620
29655
|
io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
29656
|
+
export type AccountOrigin = io.flow.internal.v0.models.AccountOrigin;
|
|
29621
29657
|
export type AccountProcessingRateForm =
|
|
29622
29658
|
io.flow.internal.v0.models.AccountProcessingRateForm;
|
|
29623
29659
|
export type AccountProcessingRates =
|
|
@@ -31243,26 +31279,6 @@ export type CryptoAuthentication =
|
|
|
31243
31279
|
io.flow.internal.v0.models.CryptoAuthentication;
|
|
31244
31280
|
export type CryptoAuthenticationForm =
|
|
31245
31281
|
io.flow.internal.v0.models.CryptoAuthenticationForm;
|
|
31246
|
-
export type CsvActual = io.flow.internal.v0.models.CsvActual;
|
|
31247
|
-
export type CsvActualRatecard = io.flow.internal.v0.models.CsvActualRatecard;
|
|
31248
|
-
export type CsvDimensions = io.flow.internal.v0.models.CsvDimensions;
|
|
31249
|
-
export type CsvFlowRatecard = io.flow.internal.v0.models.CsvFlowRatecard;
|
|
31250
|
-
export type CsvFlowRatecardSurcharges =
|
|
31251
|
-
io.flow.internal.v0.models.CsvFlowRatecardSurcharges;
|
|
31252
|
-
export type CsvGlobalEProposition =
|
|
31253
|
-
io.flow.internal.v0.models.CsvGlobalEProposition;
|
|
31254
|
-
export type CsvGlobalEShippingMethod =
|
|
31255
|
-
io.flow.internal.v0.models.CsvGlobalEShippingMethod;
|
|
31256
|
-
export type CsvInput = io.flow.internal.v0.models.CsvInput;
|
|
31257
|
-
export type CsvLabel = io.flow.internal.v0.models.CsvLabel;
|
|
31258
|
-
export type CsvLabelCost = io.flow.internal.v0.models.CsvLabelCost;
|
|
31259
|
-
export type CsvOrder = io.flow.internal.v0.models.CsvOrder;
|
|
31260
|
-
export type CsvRecord = io.flow.internal.v0.models.CsvRecord;
|
|
31261
|
-
export type CsvServiceFee = io.flow.internal.v0.models.CsvServiceFee;
|
|
31262
|
-
export type CsvSurchargePercentage =
|
|
31263
|
-
io.flow.internal.v0.models.CsvSurchargePercentage;
|
|
31264
|
-
export type CsvSurcharges = io.flow.internal.v0.models.CsvSurcharges;
|
|
31265
|
-
export type CsvWeight = io.flow.internal.v0.models.CsvWeight;
|
|
31266
31282
|
export type CurrencyInternalRate =
|
|
31267
31283
|
io.flow.internal.v0.models.CurrencyInternalRate;
|
|
31268
31284
|
export type CustomerPurgeUpserted =
|
|
@@ -32047,13 +32063,20 @@ export type LabelGenerationSettingsForm =
|
|
|
32047
32063
|
io.flow.internal.v0.models.LabelGenerationSettingsForm;
|
|
32048
32064
|
export type LabelGenerationSettingsUpserted =
|
|
32049
32065
|
io.flow.internal.v0.models.LabelGenerationSettingsUpserted;
|
|
32050
|
-
export type LabelInputSource = io.flow.internal.v0.enums.LabelInputSource;
|
|
32051
32066
|
export type LabelInvoiceRequest =
|
|
32052
32067
|
io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
32053
32068
|
export type LabelInvoiceRequestDeleted =
|
|
32054
32069
|
io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
|
|
32055
32070
|
export type LabelInvoiceRequestUpserted =
|
|
32056
32071
|
io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
|
|
32072
|
+
export type LabelInvoiceResponseFile =
|
|
32073
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFile;
|
|
32074
|
+
export type LabelInvoiceResponseFileForm =
|
|
32075
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
|
|
32076
|
+
export type LabelInvoiceResponseFileResult =
|
|
32077
|
+
io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
32078
|
+
export type LabelInvoiceResponseForm =
|
|
32079
|
+
io.flow.internal.v0.models.LabelInvoiceResponseForm;
|
|
32057
32080
|
export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
|
|
32058
32081
|
export type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
|
|
32059
32082
|
export type LabelRequestErrorDeleted =
|
|
@@ -32062,6 +32085,7 @@ export type LabelRequestErrorHandlingResponsibility =
|
|
|
32062
32085
|
io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
|
|
32063
32086
|
export type LabelRequestErrorUpserted =
|
|
32064
32087
|
io.flow.internal.v0.models.LabelRequestErrorUpserted;
|
|
32088
|
+
export type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
|
|
32065
32089
|
export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
32066
32090
|
export type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
|
|
32067
32091
|
export type LabelSurchargeDetail =
|
|
@@ -32072,6 +32096,9 @@ export type LabelSurchargeDetailPerWeightUnit =
|
|
|
32072
32096
|
io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
|
|
32073
32097
|
export type LabelSurchargeDetailPercentage =
|
|
32074
32098
|
io.flow.internal.v0.models.LabelSurchargeDetailPercentage;
|
|
32099
|
+
export type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm;
|
|
32100
|
+
export type LabelSurchargeSingleForm =
|
|
32101
|
+
io.flow.internal.v0.models.LabelSurchargeSingleForm;
|
|
32075
32102
|
export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
32076
32103
|
export type LabelTrackingSummaryDeleted =
|
|
32077
32104
|
io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
|
|
@@ -32089,7 +32116,6 @@ export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
|
|
|
32089
32116
|
export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
|
|
32090
32117
|
export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
32091
32118
|
export type Landmark = io.flow.internal.v0.models.Landmark;
|
|
32092
|
-
export type LaneReference = io.flow.internal.v0.models.LaneReference;
|
|
32093
32119
|
export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
|
|
32094
32120
|
export type LevyRateSummaryUpserted =
|
|
32095
32121
|
io.flow.internal.v0.models.LevyRateSummaryUpserted;
|
|
@@ -32388,6 +32414,14 @@ export type OrderCancellationForm =
|
|
|
32388
32414
|
export type OrderCancellationInitiatedBy =
|
|
32389
32415
|
io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
|
|
32390
32416
|
export type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger;
|
|
32417
|
+
export type OrderCombinedShipment =
|
|
32418
|
+
io.flow.internal.v0.models.OrderCombinedShipment;
|
|
32419
|
+
export type OrderCombinedShipmentDeleted =
|
|
32420
|
+
io.flow.internal.v0.models.OrderCombinedShipmentDeleted;
|
|
32421
|
+
export type OrderCombinedShipmentForm =
|
|
32422
|
+
io.flow.internal.v0.models.OrderCombinedShipmentForm;
|
|
32423
|
+
export type OrderCombinedShipmentUpserted =
|
|
32424
|
+
io.flow.internal.v0.models.OrderCombinedShipmentUpserted;
|
|
32391
32425
|
export type OrderDetail = io.flow.internal.v0.models.OrderDetail;
|
|
32392
32426
|
export type OrderFulfillmentDeleted =
|
|
32393
32427
|
io.flow.internal.v0.models.OrderFulfillmentDeleted;
|
|
@@ -32496,8 +32530,6 @@ export type OrganizationPaymentSettingVersion =
|
|
|
32496
32530
|
io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
32497
32531
|
export type OrganizationPaymentStatus =
|
|
32498
32532
|
io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
32499
|
-
export type OrganizationReference =
|
|
32500
|
-
io.flow.internal.v0.models.OrganizationReference;
|
|
32501
32533
|
export type OrganizationRestrictionApprovalStatus =
|
|
32502
32534
|
io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
32503
32535
|
export type OrganizationRestrictionNoteForm =
|
|
@@ -33261,8 +33293,6 @@ export type SubscriptionTransaction =
|
|
|
33261
33293
|
io.flow.internal.v0.models.SubscriptionTransaction;
|
|
33262
33294
|
export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
|
|
33263
33295
|
export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
|
|
33264
|
-
export type Surcharge = io.flow.internal.v0.models.Surcharge;
|
|
33265
|
-
export type SurchargeType = io.flow.internal.v0.enums.SurchargeType;
|
|
33266
33296
|
export type SvbVirtualCardClearing =
|
|
33267
33297
|
io.flow.internal.v0.models.SvbVirtualCardClearing;
|
|
33268
33298
|
export type SvbVirtualCardClearingDeleted =
|
|
@@ -33383,6 +33413,9 @@ export type TransferTransactionUpsertedV2 =
|
|
|
33383
33413
|
export type Tribe = io.flow.internal.v0.models.Tribe;
|
|
33384
33414
|
export type TrueUpLabelSummary = io.flow.internal.v0.models.TrueUpLabelSummary;
|
|
33385
33415
|
export type TrueUpSurchargeType = io.flow.internal.v0.enums.TrueUpSurchargeType;
|
|
33416
|
+
export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction;
|
|
33417
|
+
export type TrueupTransactionType =
|
|
33418
|
+
io.flow.internal.v0.enums.TrueupTransactionType;
|
|
33386
33419
|
export type UnassignedMerchantGuid =
|
|
33387
33420
|
io.flow.internal.v0.models.UnassignedMerchantGuid;
|
|
33388
33421
|
export type UnassignedMerchantGuidDeleted =
|
|
@@ -33439,19 +33472,11 @@ export type VirtualCardProviderUpserted =
|
|
|
33439
33472
|
io.flow.internal.v0.models.VirtualCardProviderUpserted;
|
|
33440
33473
|
export type VirtualCardTransaction =
|
|
33441
33474
|
io.flow.internal.v0.models.VirtualCardTransaction;
|
|
33442
|
-
export type WashCarrierActualFile =
|
|
33443
|
-
io.flow.internal.v0.models.WashCarrierActualFile;
|
|
33444
|
-
export type WashCarrierActualFileForm =
|
|
33445
|
-
io.flow.internal.v0.models.WashCarrierActualFileForm;
|
|
33446
|
-
export type WashCarrierActualFileStatus =
|
|
33447
|
-
io.flow.internal.v0.enums.WashCarrierActualFileStatus;
|
|
33448
|
-
export type WashExportRequest = io.flow.internal.v0.models.WashExportRequest;
|
|
33449
33475
|
export type WasteElectricalAndElectronicEquipmentComplianceData =
|
|
33450
33476
|
io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
|
|
33451
33477
|
export type WasteElectricalAndElectronicEquipmentComplianceForm =
|
|
33452
33478
|
io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
|
|
33453
33479
|
export type Webhook = io.flow.internal.v0.models.Webhook;
|
|
33454
|
-
export type WeightSelection = io.flow.internal.v0.enums.WeightSelection;
|
|
33455
33480
|
export type WeightsDead = io.flow.internal.v0.models.WeightsDead;
|
|
33456
33481
|
export type WeightsDimensional = io.flow.internal.v0.models.WeightsDimensional;
|
|
33457
33482
|
export type WholeOrderActionForm =
|