@flowio/types 11.22.1 → 11.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +221 -15
- package/dist/api.d.ts +8 -2
- package/dist/index.js +6 -2
- package/package.json +2 -2
- package/src/api-internal.ts +291 -20
- package/src/api.ts +9 -6
package/src/api-internal.ts
CHANGED
|
@@ -8713,7 +8713,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8713
8713
|
readonly type: 'use_sdk_klarna_v1';
|
|
8714
8714
|
readonly expires_at?: string;
|
|
8715
8715
|
readonly client_token: string;
|
|
8716
|
-
readonly payment_method_categories:
|
|
8716
|
+
readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
|
|
8717
8717
|
}
|
|
8718
8718
|
|
|
8719
8719
|
interface ActionUseSdkPaypal {
|
|
@@ -8772,6 +8772,13 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8772
8772
|
readonly time_zone_offset: number;
|
|
8773
8773
|
}
|
|
8774
8774
|
|
|
8775
|
+
interface KlarnaPaymentCategory {
|
|
8776
|
+
readonly id: string;
|
|
8777
|
+
readonly name: string;
|
|
8778
|
+
readonly standard_asset_url?: string;
|
|
8779
|
+
readonly descriptive_asset_url?: string;
|
|
8780
|
+
}
|
|
8781
|
+
|
|
8775
8782
|
interface OrderDetails {
|
|
8776
8783
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
8777
8784
|
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
@@ -8947,6 +8954,21 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8947
8954
|
readonly payment_data: any /*object*/;
|
|
8948
8955
|
}
|
|
8949
8956
|
|
|
8957
|
+
interface PaymentMethodDataAuthorizeKlarna {
|
|
8958
|
+
readonly type: 'authorize_klarna';
|
|
8959
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
|
|
8960
|
+
}
|
|
8961
|
+
|
|
8962
|
+
interface PaymentMethodDataAuthorizeKlarnaResultFailure {
|
|
8963
|
+
readonly type: 'failure';
|
|
8964
|
+
readonly placeholder?: string;
|
|
8965
|
+
}
|
|
8966
|
+
|
|
8967
|
+
interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
|
|
8968
|
+
readonly type: 'success';
|
|
8969
|
+
readonly authorization_token: string;
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8950
8972
|
interface PaymentMethodDataAuthorizePaypal {
|
|
8951
8973
|
readonly type: 'authorize_paypal';
|
|
8952
8974
|
readonly payment_id: string;
|
|
@@ -9190,7 +9212,11 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
9190
9212
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
|
|
9191
9213
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
|
|
9192
9214
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
|
|
9215
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
|
|
9193
9216
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
9217
|
+
type PaymentMethodDataAuthorizeKlarnaResult =
|
|
9218
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
|
|
9219
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
9194
9220
|
type PaymentMethodSummary =
|
|
9195
9221
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
|
|
9196
9222
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
|
|
@@ -9279,11 +9305,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
9279
9305
|
| 'unsupported_destination_country'
|
|
9280
9306
|
| 'domestic_order'
|
|
9281
9307
|
| 'order_contains_gift_card';
|
|
9282
|
-
type ChannelOrderAcceptanceStatus =
|
|
9283
|
-
| 'accepted'
|
|
9284
|
-
| 'rejected'
|
|
9285
|
-
| 'held_for_review'
|
|
9286
|
-
| 'reviewed';
|
|
9308
|
+
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
9287
9309
|
}
|
|
9288
9310
|
|
|
9289
9311
|
declare namespace io.flow.channel.internal.v0.models {
|
|
@@ -9335,13 +9357,20 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
9335
9357
|
readonly organization_id: string;
|
|
9336
9358
|
readonly order_number: string;
|
|
9337
9359
|
readonly channel_id: string;
|
|
9360
|
+
readonly external_order_reference: string;
|
|
9361
|
+
readonly payment_request_id?: string;
|
|
9338
9362
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
9339
|
-
readonly reasons: io.flow.channel.internal.v0.
|
|
9363
|
+
readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
9340
9364
|
}
|
|
9341
9365
|
|
|
9342
9366
|
interface ChannelOrderAcceptanceForm {
|
|
9343
9367
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
9344
9368
|
}
|
|
9369
|
+
|
|
9370
|
+
interface ChannelOrderAcceptanceReason {
|
|
9371
|
+
readonly description: string;
|
|
9372
|
+
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
9373
|
+
}
|
|
9345
9374
|
}
|
|
9346
9375
|
|
|
9347
9376
|
declare namespace io.flow.order.management.event.v0.models {
|
|
@@ -12457,7 +12486,9 @@ declare namespace io.flow.session.v0.unions {
|
|
|
12457
12486
|
}
|
|
12458
12487
|
|
|
12459
12488
|
declare namespace io.flow.internal.v0.enums {
|
|
12489
|
+
type AccountType = 'channel' | 'organization';
|
|
12460
12490
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
12491
|
+
type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
|
|
12461
12492
|
type ApiCallReferenceId =
|
|
12462
12493
|
| 'duty_rates_data_event'
|
|
12463
12494
|
| 'integration_test'
|
|
@@ -12516,7 +12547,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12516
12547
|
| 'tax_remittance'
|
|
12517
12548
|
| 'fully_subsidized_order'
|
|
12518
12549
|
| 'credit_payment'
|
|
12519
|
-
| 'dispute'
|
|
12550
|
+
| 'dispute'
|
|
12551
|
+
| 'channel';
|
|
12520
12552
|
type BlazeCheckoutEvent =
|
|
12521
12553
|
| 'begin_checkout'
|
|
12522
12554
|
| 'select_promotion'
|
|
@@ -12525,7 +12557,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12525
12557
|
| 'purchase';
|
|
12526
12558
|
type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
|
|
12527
12559
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
12528
|
-
type CalculatorEngine = 'flow_rate_and_rule' | 'dtce';
|
|
12560
|
+
type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls';
|
|
12529
12561
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
12530
12562
|
type CatalogImportType =
|
|
12531
12563
|
| 'catalog_items'
|
|
@@ -12541,11 +12573,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12541
12573
|
| 'unsupported_destination_country'
|
|
12542
12574
|
| 'domestic_order'
|
|
12543
12575
|
| 'order_contains_gift_card';
|
|
12544
|
-
type ChannelOrderAcceptanceStatus =
|
|
12545
|
-
| 'accepted'
|
|
12546
|
-
| 'rejected'
|
|
12547
|
-
| 'held_for_review'
|
|
12548
|
-
| 'reviewed';
|
|
12576
|
+
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
12549
12577
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
12550
12578
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
12551
12579
|
type CheckoutAddAuthorizationErrorCode =
|
|
@@ -12891,6 +12919,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12891
12919
|
| 'account_contact_deleted'
|
|
12892
12920
|
| 'billing_statement_upserted'
|
|
12893
12921
|
| 'billing_statement_deleted'
|
|
12922
|
+
| 'billing_statement_upserted_v2'
|
|
12923
|
+
| 'billing_statement_deleted_v2'
|
|
12894
12924
|
| 'tax_remittance_transaction_upserted'
|
|
12895
12925
|
| 'tax_remittance_transaction_deleted'
|
|
12896
12926
|
| 'channel_account_upserted'
|
|
@@ -12924,10 +12954,13 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12924
12954
|
| 'return_policy_item_result_upserted'
|
|
12925
12955
|
| 'return_policy_item_result_deleted'
|
|
12926
12956
|
| 'channel_order_acceptance_upserted'
|
|
12957
|
+
| 'channel_order_acceptance_deleted'
|
|
12927
12958
|
| 'checkout_configuration_upserted'
|
|
12928
12959
|
| 'checkout_configuration_deleted'
|
|
12929
12960
|
| 'localized_content_upserted'
|
|
12930
12961
|
| 'localization_upserted'
|
|
12962
|
+
| 'internal_channel_rate_deleted'
|
|
12963
|
+
| 'internal_channel_rate_upserted'
|
|
12931
12964
|
| 'rate_deleted'
|
|
12932
12965
|
| 'rate_upserted'
|
|
12933
12966
|
| 'spot_rate_deleted'
|
|
@@ -13322,6 +13355,41 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13322
13355
|
type SessionCountryStatus = 'enabled' | 'disabled';
|
|
13323
13356
|
type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
|
|
13324
13357
|
type ShopifyGrantStatus = 'pass' | 'fail';
|
|
13358
|
+
type ShopifyMarketsDangerousGoods =
|
|
13359
|
+
| 'aerosols'
|
|
13360
|
+
| 'air_bag_inflators_or_seat_belt_pretensioners'
|
|
13361
|
+
| 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
|
|
13362
|
+
| 'batteries'
|
|
13363
|
+
| 'carbon_dioxide_or_dry_ice'
|
|
13364
|
+
| 'corrosives'
|
|
13365
|
+
| 'cannabidiol_products'
|
|
13366
|
+
| 'cologne_or_perfume'
|
|
13367
|
+
| 'currency_or_gift_cards_or_monetary_instruments'
|
|
13368
|
+
| 'exotic_leather_goods'
|
|
13369
|
+
| 'environmental_waste'
|
|
13370
|
+
| 'explosives_or_ammunition'
|
|
13371
|
+
| 'flammable_liquids'
|
|
13372
|
+
| 'gases'
|
|
13373
|
+
| 'hazardous_or_combustible_materials'
|
|
13374
|
+
| 'infectious_or_biological_substances'
|
|
13375
|
+
| 'knives'
|
|
13376
|
+
| 'matches_or_lighter_or_lighter_refills'
|
|
13377
|
+
| 'nail_polish'
|
|
13378
|
+
| 'oxidizing_materials_or_organic_peroxides'
|
|
13379
|
+
| 'pornography'
|
|
13380
|
+
| 'prohibited_carriage'
|
|
13381
|
+
| 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
13382
|
+
type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
|
|
13383
|
+
type ShopifyMarketsTradeSector =
|
|
13384
|
+
| 'apparel_and_accessories'
|
|
13385
|
+
| 'beauty_and_cosmetics'
|
|
13386
|
+
| 'electronics'
|
|
13387
|
+
| 'food_or_perishables'
|
|
13388
|
+
| 'jewellery_and_watches'
|
|
13389
|
+
| 'paper_and_art'
|
|
13390
|
+
| 'sports_and_fitness'
|
|
13391
|
+
| 'toys_hobbies_gifts'
|
|
13392
|
+
| 'other';
|
|
13325
13393
|
type ShopifyPromotionBehavior = 'disable_discount_codes';
|
|
13326
13394
|
type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
|
|
13327
13395
|
type ShopifyPromotionOrderEntitlementComponent =
|
|
@@ -13530,6 +13598,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13530
13598
|
readonly settings: io.flow.internal.v0.models.AccountSettings;
|
|
13531
13599
|
}
|
|
13532
13600
|
|
|
13601
|
+
interface AccountSource {
|
|
13602
|
+
readonly id: string;
|
|
13603
|
+
readonly type: io.flow.internal.v0.enums.AccountType;
|
|
13604
|
+
}
|
|
13605
|
+
|
|
13533
13606
|
interface AccountStatistics {
|
|
13534
13607
|
readonly transfers: io.flow.common.v0.models.Price;
|
|
13535
13608
|
readonly balance: io.flow.common.v0.models.Price;
|
|
@@ -14184,6 +14257,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14184
14257
|
readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm;
|
|
14185
14258
|
readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
|
|
14186
14259
|
readonly b2b_tax_remittance_days?: number;
|
|
14260
|
+
readonly mor_fee?: number;
|
|
14261
|
+
readonly fx_fee?: number;
|
|
14187
14262
|
}
|
|
14188
14263
|
|
|
14189
14264
|
interface BillingOrganizationSettingsDeleted {
|
|
@@ -14229,8 +14304,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14229
14304
|
readonly statement: io.flow.internal.v0.models.BillingStatement;
|
|
14230
14305
|
}
|
|
14231
14306
|
|
|
14307
|
+
interface BillingStatementDeletedV2 {
|
|
14308
|
+
readonly discriminator: 'billing_statement_deleted_v2';
|
|
14309
|
+
readonly event_id: string;
|
|
14310
|
+
readonly timestamp: string;
|
|
14311
|
+
readonly id: string;
|
|
14312
|
+
}
|
|
14313
|
+
|
|
14232
14314
|
interface BillingStatementPendingReview {
|
|
14233
|
-
readonly
|
|
14315
|
+
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
14234
14316
|
readonly statement: io.flow.internal.v0.models.BillingStatement;
|
|
14235
14317
|
}
|
|
14236
14318
|
|
|
@@ -14263,6 +14345,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14263
14345
|
readonly virtual_card_refund: io.flow.common.v0.models.Price;
|
|
14264
14346
|
readonly tax_remittance: io.flow.common.v0.models.Price;
|
|
14265
14347
|
readonly dispute: io.flow.common.v0.models.Price;
|
|
14348
|
+
readonly channel: io.flow.common.v0.models.Price;
|
|
14266
14349
|
readonly ending_balance: io.flow.common.v0.models.Price;
|
|
14267
14350
|
}
|
|
14268
14351
|
|
|
@@ -14274,6 +14357,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14274
14357
|
readonly statement: io.flow.internal.v0.models.BillingStatement;
|
|
14275
14358
|
}
|
|
14276
14359
|
|
|
14360
|
+
interface BillingStatementUpsertedV2 {
|
|
14361
|
+
readonly discriminator: 'billing_statement_upserted_v2';
|
|
14362
|
+
readonly event_id: string;
|
|
14363
|
+
readonly timestamp: string;
|
|
14364
|
+
readonly statement: io.flow.internal.v0.models.BillingStatement;
|
|
14365
|
+
}
|
|
14366
|
+
|
|
14277
14367
|
interface BillingTransaction {
|
|
14278
14368
|
readonly id: string;
|
|
14279
14369
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
@@ -14750,14 +14840,30 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14750
14840
|
readonly organization_id: string;
|
|
14751
14841
|
readonly order_number: string;
|
|
14752
14842
|
readonly channel_id: string;
|
|
14843
|
+
readonly external_order_reference: string;
|
|
14844
|
+
readonly payment_request_id?: string;
|
|
14753
14845
|
readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
14754
|
-
readonly reasons: io.flow.internal.v0.
|
|
14846
|
+
readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
14847
|
+
}
|
|
14848
|
+
|
|
14849
|
+
interface ChannelOrderAcceptanceDeleted {
|
|
14850
|
+
readonly discriminator: 'channel_order_acceptance_deleted';
|
|
14851
|
+
readonly event_id: string;
|
|
14852
|
+
readonly timestamp: string;
|
|
14853
|
+
readonly organization: string;
|
|
14854
|
+
readonly channel_id: string;
|
|
14855
|
+
readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
14755
14856
|
}
|
|
14756
14857
|
|
|
14757
14858
|
interface ChannelOrderAcceptanceForm {
|
|
14758
14859
|
readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
14759
14860
|
}
|
|
14760
14861
|
|
|
14862
|
+
interface ChannelOrderAcceptanceReason {
|
|
14863
|
+
readonly description: string;
|
|
14864
|
+
readonly rejection_reason?: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
14865
|
+
}
|
|
14866
|
+
|
|
14761
14867
|
interface ChannelOrderAcceptanceUpserted {
|
|
14762
14868
|
readonly discriminator: 'channel_order_acceptance_upserted';
|
|
14763
14869
|
readonly event_id: string;
|
|
@@ -14782,6 +14888,25 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14782
14888
|
readonly description?: string;
|
|
14783
14889
|
}
|
|
14784
14890
|
|
|
14891
|
+
interface ChannelTransaction {
|
|
14892
|
+
readonly discriminator: 'channel_transaction';
|
|
14893
|
+
readonly id: string;
|
|
14894
|
+
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
14895
|
+
readonly transaction: io.flow.internal.v0.models.TransactionReference;
|
|
14896
|
+
readonly posted_at: string;
|
|
14897
|
+
readonly value: io.flow.common.v0.models.Price;
|
|
14898
|
+
readonly description: string;
|
|
14899
|
+
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
14900
|
+
readonly created_at: string;
|
|
14901
|
+
}
|
|
14902
|
+
|
|
14903
|
+
interface ChannelTransactionRate {
|
|
14904
|
+
readonly from: string;
|
|
14905
|
+
readonly to: string;
|
|
14906
|
+
readonly value: number;
|
|
14907
|
+
readonly timestamp: string;
|
|
14908
|
+
}
|
|
14909
|
+
|
|
14785
14910
|
interface Chargeback {
|
|
14786
14911
|
readonly id: string;
|
|
14787
14912
|
readonly key: string;
|
|
@@ -18228,6 +18353,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18228
18353
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
18229
18354
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
18230
18355
|
readonly mor: io.flow.internal.v0.models.Fee;
|
|
18356
|
+
readonly fx?: io.flow.internal.v0.models.Fee;
|
|
18231
18357
|
}
|
|
18232
18358
|
|
|
18233
18359
|
interface FinancialReportingStatement {
|
|
@@ -18240,6 +18366,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18240
18366
|
readonly flow_entity_country_code?: string;
|
|
18241
18367
|
readonly captures_url?: string;
|
|
18242
18368
|
readonly refunds_url?: string;
|
|
18369
|
+
readonly adjustments_url?: string;
|
|
18243
18370
|
}
|
|
18244
18371
|
|
|
18245
18372
|
interface FinancialReportingStatementForm {
|
|
@@ -19536,6 +19663,32 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19536
19663
|
readonly internal?: io.flow.internal.v0.unions.InternalAuthorizationDetails;
|
|
19537
19664
|
}
|
|
19538
19665
|
|
|
19666
|
+
interface InternalChannelRate {
|
|
19667
|
+
readonly id: string;
|
|
19668
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
19669
|
+
readonly base: string;
|
|
19670
|
+
readonly target: string;
|
|
19671
|
+
readonly effective_at: string;
|
|
19672
|
+
readonly spot_rate: number;
|
|
19673
|
+
readonly flow_margin: number;
|
|
19674
|
+
readonly flow_rate: number;
|
|
19675
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
19676
|
+
}
|
|
19677
|
+
|
|
19678
|
+
interface InternalChannelRateDeleted {
|
|
19679
|
+
readonly discriminator: 'internal_channel_rate_deleted';
|
|
19680
|
+
readonly event_id: string;
|
|
19681
|
+
readonly timestamp: string;
|
|
19682
|
+
readonly id: string;
|
|
19683
|
+
}
|
|
19684
|
+
|
|
19685
|
+
interface InternalChannelRateUpserted {
|
|
19686
|
+
readonly discriminator: 'internal_channel_rate_upserted';
|
|
19687
|
+
readonly event_id: string;
|
|
19688
|
+
readonly timestamp: string;
|
|
19689
|
+
readonly rate: io.flow.internal.v0.models.InternalChannelRate;
|
|
19690
|
+
}
|
|
19691
|
+
|
|
19539
19692
|
interface InternalExclusionRuleForm {
|
|
19540
19693
|
readonly id: string;
|
|
19541
19694
|
readonly export_id: string;
|
|
@@ -20693,6 +20846,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20693
20846
|
readonly order: io.flow.internal.v0.models.Decision;
|
|
20694
20847
|
}
|
|
20695
20848
|
|
|
20849
|
+
interface Onboarding {
|
|
20850
|
+
readonly placeholder?: string;
|
|
20851
|
+
}
|
|
20852
|
+
|
|
20853
|
+
interface OnboardingClassification {
|
|
20854
|
+
readonly country_of_origin_populated: boolean;
|
|
20855
|
+
}
|
|
20856
|
+
|
|
20857
|
+
interface OnboardingForm {
|
|
20858
|
+
readonly payment_processing: io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
|
|
20859
|
+
readonly product_and_logistics: io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
|
|
20860
|
+
readonly classification: io.flow.internal.v0.models.OnboardingClassification;
|
|
20861
|
+
readonly bank_account_details: io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
|
|
20862
|
+
readonly preparer_details?: io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
|
|
20863
|
+
}
|
|
20864
|
+
|
|
20696
20865
|
interface OneTimeTokenRedemptionForm {
|
|
20697
20866
|
readonly token: string;
|
|
20698
20867
|
}
|
|
@@ -21387,7 +21556,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21387
21556
|
}
|
|
21388
21557
|
|
|
21389
21558
|
interface PendingBankPayment {
|
|
21390
|
-
readonly
|
|
21559
|
+
readonly source: io.flow.internal.v0.models.AccountSource;
|
|
21391
21560
|
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
21392
21561
|
readonly recommended_reference: string;
|
|
21393
21562
|
readonly total: io.flow.common.v0.models.Price;
|
|
@@ -21530,6 +21699,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21530
21699
|
readonly id: string;
|
|
21531
21700
|
readonly type: io.flow.internal.v0.enums.BillingTransactionType;
|
|
21532
21701
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
21702
|
+
readonly logistics_responsibility: io.flow.internal.v0.enums.ResponsibleParty[];
|
|
21533
21703
|
readonly posted_at: string;
|
|
21534
21704
|
readonly value: io.flow.common.v0.models.Price;
|
|
21535
21705
|
readonly description: string;
|
|
@@ -21548,9 +21718,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21548
21718
|
readonly order?: io.flow.internal.v0.models.BillingOrderSummary;
|
|
21549
21719
|
readonly spot_rate: number;
|
|
21550
21720
|
readonly flow_rate: number;
|
|
21551
|
-
readonly organization_rate: number;
|
|
21552
21721
|
readonly flow_margin: number;
|
|
21553
|
-
readonly organization_margin: number;
|
|
21554
21722
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
21555
21723
|
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
21556
21724
|
}
|
|
@@ -22326,6 +22494,62 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22326
22494
|
readonly placeholder: string;
|
|
22327
22495
|
}
|
|
22328
22496
|
|
|
22497
|
+
interface ShopifyMarketsBankAccountDetails {
|
|
22498
|
+
readonly name: string;
|
|
22499
|
+
readonly address: io.flow.common.v0.models.Address;
|
|
22500
|
+
readonly contact: io.flow.common.v0.models.Contact;
|
|
22501
|
+
readonly account_number: string;
|
|
22502
|
+
readonly aba_routing_transit_number: string;
|
|
22503
|
+
}
|
|
22504
|
+
|
|
22505
|
+
interface ShopifyMarketsIncorporationCountry {
|
|
22506
|
+
readonly country: string;
|
|
22507
|
+
readonly state?: string;
|
|
22508
|
+
readonly province?: string;
|
|
22509
|
+
readonly jurisdiction?: string;
|
|
22510
|
+
}
|
|
22511
|
+
|
|
22512
|
+
interface ShopifyMarketsOnboardingPaymentProcessing {
|
|
22513
|
+
readonly legal_name: string;
|
|
22514
|
+
readonly incorporation_country: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
22515
|
+
readonly indirect_tax_number: number;
|
|
22516
|
+
readonly subsidiary_company?: io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
|
|
22517
|
+
readonly beneficiary?: string;
|
|
22518
|
+
readonly business_url: string;
|
|
22519
|
+
readonly business_description?: string;
|
|
22520
|
+
readonly business_address?: io.flow.common.v0.models.Address;
|
|
22521
|
+
readonly refund_percentage: number;
|
|
22522
|
+
readonly chargeback_percentage: number;
|
|
22523
|
+
}
|
|
22524
|
+
|
|
22525
|
+
interface ShopifyMarketsPreparerDetails {
|
|
22526
|
+
readonly name: string;
|
|
22527
|
+
readonly title: string;
|
|
22528
|
+
readonly company: string;
|
|
22529
|
+
}
|
|
22530
|
+
|
|
22531
|
+
interface ShopifyMarketsProductLogistics {
|
|
22532
|
+
readonly trade_sector: io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
|
|
22533
|
+
readonly other_trade_sector?: string;
|
|
22534
|
+
readonly ship_internationally: boolean;
|
|
22535
|
+
readonly hts_number_available?: io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
|
|
22536
|
+
readonly shipped_prohibited_products_before: boolean;
|
|
22537
|
+
readonly third_party_logistics_partner: io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
|
|
22538
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
22539
|
+
readonly pickup_location: io.flow.common.v0.models.BillingAddress;
|
|
22540
|
+
readonly pickup_instructions?: string;
|
|
22541
|
+
readonly operations_contact: io.flow.common.v0.models.Contact;
|
|
22542
|
+
readonly average_order_weight: number;
|
|
22543
|
+
readonly package_dimensions: io.flow.common.v0.models.Dimensions;
|
|
22544
|
+
readonly average_order_value: number;
|
|
22545
|
+
readonly maximum_order_value: number;
|
|
22546
|
+
readonly monthly_average_volume: number;
|
|
22547
|
+
readonly monthly_average_transactions: number;
|
|
22548
|
+
readonly expected_international_markets: string[];
|
|
22549
|
+
readonly any_dangerous_goods: io.flow.internal.v0.enums.AnyDangerousGoods;
|
|
22550
|
+
readonly dangerous_goods?: io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods[];
|
|
22551
|
+
}
|
|
22552
|
+
|
|
22329
22553
|
interface ShopifyMarketsShop {
|
|
22330
22554
|
readonly id: string;
|
|
22331
22555
|
readonly domain: string;
|
|
@@ -22349,6 +22573,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22349
22573
|
readonly access_token?: string;
|
|
22350
22574
|
}
|
|
22351
22575
|
|
|
22576
|
+
interface ShopifyMarketsSubsidiaryCompany {
|
|
22577
|
+
readonly legal_name?: string;
|
|
22578
|
+
readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
22579
|
+
}
|
|
22580
|
+
|
|
22352
22581
|
interface ShopifyMetadata {
|
|
22353
22582
|
readonly domain: string;
|
|
22354
22583
|
readonly myshopify_domain: string;
|
|
@@ -23042,6 +23271,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23042
23271
|
readonly children?: io.flow.internal.v0.models.TaxonomyNode[];
|
|
23043
23272
|
}
|
|
23044
23273
|
|
|
23274
|
+
interface ThirdPartyLogisticsPartner {
|
|
23275
|
+
readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
|
|
23276
|
+
readonly warehouse_url?: string;
|
|
23277
|
+
}
|
|
23278
|
+
|
|
23279
|
+
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
23280
|
+
readonly from: string;
|
|
23281
|
+
readonly to: string;
|
|
23282
|
+
}
|
|
23283
|
+
|
|
23045
23284
|
interface TimeToClassify {
|
|
23046
23285
|
readonly discriminator: 'time-to-classify';
|
|
23047
23286
|
readonly key: string;
|
|
@@ -23865,6 +24104,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23865
24104
|
| io.flow.internal.v0.models.AccountContactDeleted
|
|
23866
24105
|
| io.flow.internal.v0.models.BillingStatementUpserted
|
|
23867
24106
|
| io.flow.internal.v0.models.BillingStatementDeleted
|
|
24107
|
+
| io.flow.internal.v0.models.BillingStatementUpsertedV2
|
|
24108
|
+
| io.flow.internal.v0.models.BillingStatementDeletedV2
|
|
23868
24109
|
| io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
|
|
23869
24110
|
| io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
|
|
23870
24111
|
| io.flow.internal.v0.models.ChannelAccountUpserted
|
|
@@ -23898,10 +24139,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23898
24139
|
| io.flow.internal.v0.models.ReturnPolicyItemResultUpserted
|
|
23899
24140
|
| io.flow.internal.v0.models.ReturnPolicyItemResultDeleted
|
|
23900
24141
|
| io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted
|
|
24142
|
+
| io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted
|
|
23901
24143
|
| io.flow.internal.v0.models.CheckoutConfigurationUpserted
|
|
23902
24144
|
| io.flow.internal.v0.models.CheckoutConfigurationDeleted
|
|
23903
24145
|
| io.flow.internal.v0.models.LocalizedContentUpserted
|
|
23904
24146
|
| io.flow.internal.v0.models.LocalizationUpserted
|
|
24147
|
+
| io.flow.internal.v0.models.InternalChannelRateDeleted
|
|
24148
|
+
| io.flow.internal.v0.models.InternalChannelRateUpserted
|
|
23905
24149
|
| io.flow.internal.v0.models.RateDeleted
|
|
23906
24150
|
| io.flow.internal.v0.models.RateUpserted
|
|
23907
24151
|
| io.flow.internal.v0.models.SpotRateDeleted
|
|
@@ -24292,7 +24536,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24292
24536
|
| io.flow.internal.v0.models.TaxRemittanceTransaction
|
|
24293
24537
|
| io.flow.internal.v0.models.TransferTransaction
|
|
24294
24538
|
| io.flow.internal.v0.models.VirtualCardTransaction
|
|
24295
|
-
| io.flow.internal.v0.models.DisputeTransaction
|
|
24539
|
+
| io.flow.internal.v0.models.DisputeTransaction
|
|
24540
|
+
| io.flow.internal.v0.models.ChannelTransaction;
|
|
24296
24541
|
type TransactionSummary =
|
|
24297
24542
|
| io.flow.internal.v0.models.PaymentSummaryV2
|
|
24298
24543
|
| io.flow.internal.v0.models.FraudSummary;
|
|
@@ -24325,8 +24570,10 @@ export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
|
24325
24570
|
export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
24326
24571
|
export type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
24327
24572
|
export type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
|
|
24573
|
+
export type AccountSource = io.flow.internal.v0.models.AccountSource;
|
|
24328
24574
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
24329
24575
|
export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
24576
|
+
export type AccountType = io.flow.internal.v0.enums.AccountType;
|
|
24330
24577
|
export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
|
|
24331
24578
|
export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2;
|
|
24332
24579
|
export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
|
|
@@ -24383,6 +24630,7 @@ export type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary
|
|
|
24383
24630
|
export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
|
|
24384
24631
|
export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
|
|
24385
24632
|
export type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
|
|
24633
|
+
export type AnyDangerousGoods = io.flow.internal.v0.enums.AnyDangerousGoods;
|
|
24386
24634
|
export type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId;
|
|
24387
24635
|
export type ApmContent = io.flow.internal.v0.models.ApmContent;
|
|
24388
24636
|
export type ApplePayAuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload;
|
|
@@ -24424,6 +24672,7 @@ export type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingSta
|
|
|
24424
24672
|
export type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
|
|
24425
24673
|
export type BillingStatementBatchFileKey = io.flow.internal.v0.enums.BillingStatementBatchFileKey;
|
|
24426
24674
|
export type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
|
|
24675
|
+
export type BillingStatementDeletedV2 = io.flow.internal.v0.models.BillingStatementDeletedV2;
|
|
24427
24676
|
export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
|
|
24428
24677
|
export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
|
|
24429
24678
|
export type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
@@ -24431,6 +24680,7 @@ export type BillingStatementReviewForm = io.flow.internal.v0.models.BillingState
|
|
|
24431
24680
|
export type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
24432
24681
|
export type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
24433
24682
|
export type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
24683
|
+
export type BillingStatementUpsertedV2 = io.flow.internal.v0.models.BillingStatementUpsertedV2;
|
|
24434
24684
|
export type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
|
24435
24685
|
export type BillingTransactionStatus = io.flow.internal.v0.enums.BillingTransactionStatus;
|
|
24436
24686
|
export type BillingTransactionType = io.flow.internal.v0.enums.BillingTransactionType;
|
|
@@ -24518,13 +24768,17 @@ export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
|
|
|
24518
24768
|
export type ChannelMembershipForm = io.flow.internal.v0.models.ChannelMembershipForm;
|
|
24519
24769
|
export type ChannelMembershipPutForm = io.flow.internal.v0.models.ChannelMembershipPutForm;
|
|
24520
24770
|
export type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
24771
|
+
export type ChannelOrderAcceptanceDeleted = io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
|
|
24521
24772
|
export type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
|
|
24773
|
+
export type ChannelOrderAcceptanceReason = io.flow.internal.v0.models.ChannelOrderAcceptanceReason;
|
|
24522
24774
|
export type ChannelOrderAcceptanceRejectionReason = io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
24523
24775
|
export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
24524
24776
|
export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
|
|
24525
24777
|
export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
|
|
24526
24778
|
export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
|
|
24527
24779
|
export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
|
|
24780
|
+
export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
24781
|
+
export type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
|
|
24528
24782
|
export type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
24529
24783
|
export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
|
|
24530
24784
|
export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
|
|
@@ -25446,6 +25700,9 @@ export type InternalAuthorizationUpserted = io.flow.internal.v0.models.InternalA
|
|
|
25446
25700
|
export type InternalAvailableDelivery = io.flow.internal.v0.models.InternalAvailableDelivery;
|
|
25447
25701
|
export type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails;
|
|
25448
25702
|
export type InternalCardAuthorizationDetails = io.flow.internal.v0.models.InternalCardAuthorizationDetails;
|
|
25703
|
+
export type InternalChannelRate = io.flow.internal.v0.models.InternalChannelRate;
|
|
25704
|
+
export type InternalChannelRateDeleted = io.flow.internal.v0.models.InternalChannelRateDeleted;
|
|
25705
|
+
export type InternalChannelRateUpserted = io.flow.internal.v0.models.InternalChannelRateUpserted;
|
|
25449
25706
|
export type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm;
|
|
25450
25707
|
export type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
|
|
25451
25708
|
export type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic;
|
|
@@ -25632,6 +25889,9 @@ export type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalculatedTaxAm
|
|
|
25632
25889
|
export type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
|
|
25633
25890
|
export type NoLiabilityReasonCode = io.flow.internal.v0.enums.NoLiabilityReasonCode;
|
|
25634
25891
|
export type Notification = io.flow.internal.v0.models.Notification;
|
|
25892
|
+
export type Onboarding = io.flow.internal.v0.models.Onboarding;
|
|
25893
|
+
export type OnboardingClassification = io.flow.internal.v0.models.OnboardingClassification;
|
|
25894
|
+
export type OnboardingForm = io.flow.internal.v0.models.OnboardingForm;
|
|
25635
25895
|
export type OneTimeTokenRedemptionForm = io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
|
|
25636
25896
|
export type OnlineAuthorizationCompleted = io.flow.internal.v0.models.OnlineAuthorizationCompleted;
|
|
25637
25897
|
export type OptinAttribute = io.flow.internal.v0.models.OptinAttribute;
|
|
@@ -25903,8 +26163,17 @@ export type ShopifyGiftCardReversal = io.flow.internal.v0.models.ShopifyGiftCard
|
|
|
25903
26163
|
export type ShopifyGiftCardReversalForm = io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
|
|
25904
26164
|
export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
|
|
25905
26165
|
export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
|
|
26166
|
+
export type ShopifyMarketsBankAccountDetails = io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
|
|
26167
|
+
export type ShopifyMarketsDangerousGoods = io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
|
|
26168
|
+
export type ShopifyMarketsHtsNumberAvailable = io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
|
|
26169
|
+
export type ShopifyMarketsIncorporationCountry = io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
26170
|
+
export type ShopifyMarketsOnboardingPaymentProcessing = io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
|
|
26171
|
+
export type ShopifyMarketsPreparerDetails = io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
|
|
26172
|
+
export type ShopifyMarketsProductLogistics = io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
|
|
25906
26173
|
export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
|
|
25907
26174
|
export type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
|
|
26175
|
+
export type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
|
|
26176
|
+
export type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
|
|
25908
26177
|
export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
|
|
25909
26178
|
export type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;
|
|
25910
26179
|
export type ShopifyOrderCancelForm = io.flow.internal.v0.models.ShopifyOrderCancelForm;
|
|
@@ -26024,6 +26293,8 @@ export type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models.TaxRemi
|
|
|
26024
26293
|
export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted;
|
|
26025
26294
|
export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
|
|
26026
26295
|
export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
|
|
26296
|
+
export type ThirdPartyLogisticsPartner = io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
|
|
26297
|
+
export type ThirdPartyLogisticsPickUpTimeWindow = io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
26027
26298
|
export type TimeToClassify = io.flow.internal.v0.models.TimeToClassify;
|
|
26028
26299
|
export type TimeToClassifyAggregated = io.flow.internal.v0.models.TimeToClassifyAggregated;
|
|
26029
26300
|
export type TimeToClassifyAggregatedDeleted = io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted;
|
package/src/api.ts
CHANGED
|
@@ -2005,11 +2005,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
2005
2005
|
| 'unsupported_destination_country'
|
|
2006
2006
|
| 'domestic_order'
|
|
2007
2007
|
| 'order_contains_gift_card';
|
|
2008
|
-
type ChannelOrderAcceptanceStatus =
|
|
2009
|
-
| 'accepted'
|
|
2010
|
-
| 'rejected'
|
|
2011
|
-
| 'held_for_review'
|
|
2012
|
-
| 'reviewed';
|
|
2008
|
+
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
2013
2009
|
}
|
|
2014
2010
|
|
|
2015
2011
|
declare namespace io.flow.channel.internal.v0.models {
|
|
@@ -2061,13 +2057,20 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
2061
2057
|
readonly organization_id: string;
|
|
2062
2058
|
readonly order_number: string;
|
|
2063
2059
|
readonly channel_id: string;
|
|
2060
|
+
readonly external_order_reference: string;
|
|
2061
|
+
readonly payment_request_id?: string;
|
|
2064
2062
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
2065
|
-
readonly reasons: io.flow.channel.internal.v0.
|
|
2063
|
+
readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
2066
2064
|
}
|
|
2067
2065
|
|
|
2068
2066
|
interface ChannelOrderAcceptanceForm {
|
|
2069
2067
|
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
2070
2068
|
}
|
|
2069
|
+
|
|
2070
|
+
interface ChannelOrderAcceptanceReason {
|
|
2071
|
+
readonly description: string;
|
|
2072
|
+
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
2073
|
+
}
|
|
2071
2074
|
}
|
|
2072
2075
|
|
|
2073
2076
|
declare namespace io.flow.common.v0.enums {
|