@flowio/types 11.24.14 → 11.24.16
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 +151 -126
- package/dist/api.d.ts +22 -555
- package/package.json +2 -2
- package/src/api-internal.ts +223 -186
- package/src/api.ts +34 -727
package/src/api-internal.ts
CHANGED
|
@@ -257,6 +257,72 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
|
257
257
|
| io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
declare namespace io.flow.order.price.v0.enums {
|
|
261
|
+
type OrderPriceDetailComponentKey =
|
|
262
|
+
| 'adjustment'
|
|
263
|
+
| 'vat_deminimis'
|
|
264
|
+
| 'duty_deminimis'
|
|
265
|
+
| 'duties_item_price'
|
|
266
|
+
| 'duties_freight'
|
|
267
|
+
| 'duties_insurance'
|
|
268
|
+
| 'vat_item_price'
|
|
269
|
+
| 'vat_freight'
|
|
270
|
+
| 'vat_insurance'
|
|
271
|
+
| 'vat_duties_item_price'
|
|
272
|
+
| 'vat_duties_freight'
|
|
273
|
+
| 'vat_duties_insurance'
|
|
274
|
+
| 'item_price'
|
|
275
|
+
| 'item_discount'
|
|
276
|
+
| 'rounding'
|
|
277
|
+
| 'insurance'
|
|
278
|
+
| 'shipping'
|
|
279
|
+
| 'shipping_discount'
|
|
280
|
+
| 'order_discount'
|
|
281
|
+
| 'subtotal_percent_sales_margin'
|
|
282
|
+
| 'subtotal_vat_percent_sales_margin'
|
|
283
|
+
| 'subtotal_duty_percent_sales_margin'
|
|
284
|
+
| 'vat_subsidy'
|
|
285
|
+
| 'duty_subsidy'
|
|
286
|
+
| 'remote_area_surcharge'
|
|
287
|
+
| 'fuel_surcharge'
|
|
288
|
+
| 'emergency_situation_surcharge'
|
|
289
|
+
| 'peak_surcharge'
|
|
290
|
+
| 'duties_taxes_paid_surcharge';
|
|
291
|
+
type OrderPriceDetailKey =
|
|
292
|
+
| 'adjustment'
|
|
293
|
+
| 'subtotal'
|
|
294
|
+
| 'vat'
|
|
295
|
+
| 'duty'
|
|
296
|
+
| 'shipping'
|
|
297
|
+
| 'insurance'
|
|
298
|
+
| 'discount'
|
|
299
|
+
| 'surcharges';
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare namespace io.flow.order.price.v0.models {
|
|
303
|
+
interface OrderPriceDetail {
|
|
304
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
305
|
+
readonly currency: string;
|
|
306
|
+
readonly amount: number;
|
|
307
|
+
readonly label: string;
|
|
308
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
309
|
+
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
310
|
+
readonly name?: string;
|
|
311
|
+
readonly rate?: number;
|
|
312
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
313
|
+
readonly rate_label?: string;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
interface OrderPriceDetailComponent {
|
|
317
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
318
|
+
readonly currency: string;
|
|
319
|
+
readonly amount: number;
|
|
320
|
+
readonly label: string;
|
|
321
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
322
|
+
readonly name?: string;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
260
326
|
declare namespace io.flow.common.v0.enums {
|
|
261
327
|
type AttributeDataType =
|
|
262
328
|
| 'boolean'
|
|
@@ -950,7 +1016,20 @@ declare namespace io.flow.price.v0.unions {
|
|
|
950
1016
|
| io.flow.price.v0.models.DeminimisPerItem;
|
|
951
1017
|
}
|
|
952
1018
|
|
|
1019
|
+
declare namespace io.flow.channel.v0.enums {
|
|
1020
|
+
type ChannelCurrencyCapability =
|
|
1021
|
+
| 'payment_authorizations'
|
|
1022
|
+
| 'settlement_currency';
|
|
1023
|
+
}
|
|
1024
|
+
|
|
953
1025
|
declare namespace io.flow.channel.v0.models {
|
|
1026
|
+
interface Channel {
|
|
1027
|
+
readonly id: string;
|
|
1028
|
+
readonly name: string;
|
|
1029
|
+
readonly environment: io.flow.common.v0.enums.Environment;
|
|
1030
|
+
readonly organization_id_prefix?: string;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
954
1033
|
interface ChannelAuthorization {
|
|
955
1034
|
readonly placeholder?: string;
|
|
956
1035
|
}
|
|
@@ -959,6 +1038,13 @@ declare namespace io.flow.channel.v0.models {
|
|
|
959
1038
|
readonly channel_id: string;
|
|
960
1039
|
}
|
|
961
1040
|
|
|
1041
|
+
interface ChannelCurrency {
|
|
1042
|
+
readonly id: string;
|
|
1043
|
+
readonly currency: string;
|
|
1044
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
1045
|
+
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
1046
|
+
}
|
|
1047
|
+
|
|
962
1048
|
interface ChannelOrganization {
|
|
963
1049
|
readonly id: string;
|
|
964
1050
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
@@ -1243,13 +1329,6 @@ declare namespace io.flow.tracking.v0.models {
|
|
|
1243
1329
|
}
|
|
1244
1330
|
}
|
|
1245
1331
|
|
|
1246
|
-
declare namespace io.flow.token.internal.v0.models {
|
|
1247
|
-
interface ChannelTokenForm {
|
|
1248
|
-
readonly channel_id: string;
|
|
1249
|
-
readonly description?: string;
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
1332
|
declare namespace io.flow.RESERVED_WORD_export.v0.enums {
|
|
1254
1333
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
1255
1334
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
@@ -5175,7 +5254,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5175
5254
|
| 'SECOND_CHARGEBACK'
|
|
5176
5255
|
| 'PREARBITRATION_WON'
|
|
5177
5256
|
| 'PREARBITRATION_LOST';
|
|
5178
|
-
type
|
|
5257
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
5179
5258
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5180
5259
|
type PaymentMethod =
|
|
5181
5260
|
| 'ach'
|
|
@@ -5184,6 +5263,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5184
5263
|
| 'amex'
|
|
5185
5264
|
| 'bankTransfer_IBAN'
|
|
5186
5265
|
| 'bcmc'
|
|
5266
|
+
| 'bcmc_mobile'
|
|
5187
5267
|
| 'cartebancaire'
|
|
5188
5268
|
| 'cup'
|
|
5189
5269
|
| 'diners'
|
|
@@ -5246,6 +5326,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5246
5326
|
readonly currency: string;
|
|
5247
5327
|
}
|
|
5248
5328
|
|
|
5329
|
+
interface Applepay {
|
|
5330
|
+
readonly type: 'applepay';
|
|
5331
|
+
readonly applePayToken: string;
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5249
5334
|
interface Authentication {
|
|
5250
5335
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5251
5336
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5273,6 +5358,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5273
5358
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5274
5359
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5275
5360
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5361
|
+
readonly mcc?: string;
|
|
5362
|
+
readonly metadata?: any /*object*/;
|
|
5276
5363
|
}
|
|
5277
5364
|
|
|
5278
5365
|
interface AuthorizeRequest3D {
|
|
@@ -5429,6 +5516,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5429
5516
|
readonly paymentData?: string;
|
|
5430
5517
|
}
|
|
5431
5518
|
|
|
5519
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
5520
|
+
readonly 'threeds2.challengeResult': string;
|
|
5521
|
+
}
|
|
5522
|
+
|
|
5523
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5524
|
+
readonly 'threeds2.fingerprint': string;
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5432
5527
|
interface PaymentRequest {
|
|
5433
5528
|
readonly reference: string;
|
|
5434
5529
|
readonly merchantAccount: string;
|
|
@@ -5450,7 +5545,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5450
5545
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5451
5546
|
readonly origin?: string;
|
|
5452
5547
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5453
|
-
readonly
|
|
5548
|
+
readonly returnUrl?: string;
|
|
5549
|
+
readonly mcc?: string;
|
|
5550
|
+
readonly metadata?: any /*object*/;
|
|
5551
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5552
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5454
5553
|
}
|
|
5455
5554
|
|
|
5456
5555
|
interface PaymentResponse {
|
|
@@ -5473,6 +5572,28 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5473
5572
|
readonly threeDAuthenticatedResponse?: string;
|
|
5474
5573
|
readonly threeDOffered?: string;
|
|
5475
5574
|
readonly threeDOfferedResponse?: string;
|
|
5575
|
+
readonly threeDSVersion?: string;
|
|
5576
|
+
readonly eci?: string;
|
|
5577
|
+
readonly scaExemptionRequested?: string;
|
|
5578
|
+
readonly paymentMethod?: string;
|
|
5579
|
+
readonly paymentMethodVariant?: string;
|
|
5580
|
+
readonly tokenTxVariant?: string;
|
|
5581
|
+
readonly acquirerCode?: string;
|
|
5582
|
+
readonly acquirerAccountCode?: string;
|
|
5583
|
+
readonly cardPaymentMethod?: string;
|
|
5584
|
+
readonly coBrandedWith?: string;
|
|
5585
|
+
readonly cardIssuingCountry?: string;
|
|
5586
|
+
readonly cardIssuingCurrency?: string;
|
|
5587
|
+
readonly cardIssuingBank?: string;
|
|
5588
|
+
readonly cardBin?: string;
|
|
5589
|
+
readonly issuerBin?: string;
|
|
5590
|
+
readonly cardSummary?: string;
|
|
5591
|
+
readonly untokenisedCardSummary?: string;
|
|
5592
|
+
readonly ownerName?: string;
|
|
5593
|
+
readonly bankName?: string;
|
|
5594
|
+
readonly issuerCountry?: string;
|
|
5595
|
+
readonly iban?: string;
|
|
5596
|
+
readonly bic?: string;
|
|
5476
5597
|
}
|
|
5477
5598
|
|
|
5478
5599
|
interface Recurring {
|
|
@@ -5481,7 +5602,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5481
5602
|
|
|
5482
5603
|
interface Redirect {
|
|
5483
5604
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5484
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5605
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5485
5606
|
readonly url?: string;
|
|
5486
5607
|
}
|
|
5487
5608
|
|
|
@@ -5506,6 +5627,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5506
5627
|
readonly cvc?: string;
|
|
5507
5628
|
}
|
|
5508
5629
|
|
|
5630
|
+
interface SdkV3OnCompleteData {
|
|
5631
|
+
readonly details: any /*object*/;
|
|
5632
|
+
readonly payment_data?: string;
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5635
|
+
interface SdkV3OnCompleteResult {
|
|
5636
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5509
5639
|
interface ThreeDSecureData {
|
|
5510
5640
|
readonly authenticationResponse?: string;
|
|
5511
5641
|
readonly cavv?: string;
|
|
@@ -5537,7 +5667,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5537
5667
|
type BrowserInfo =
|
|
5538
5668
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5539
5669
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5540
|
-
type PaymentMethodData =
|
|
5670
|
+
type PaymentMethodData =
|
|
5671
|
+
| io.flow.adyen.v0.models.Scheme
|
|
5672
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
5541
5673
|
}
|
|
5542
5674
|
|
|
5543
5675
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -6948,6 +7080,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6948
7080
|
readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
|
|
6949
7081
|
readonly send_receipt?: boolean;
|
|
6950
7082
|
readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
|
|
7083
|
+
readonly merchant_of_record_app_id?: number;
|
|
6951
7084
|
}
|
|
6952
7085
|
|
|
6953
7086
|
interface ShopifyOrderAddress {
|
|
@@ -8242,149 +8375,6 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
8242
8375
|
| io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
8243
8376
|
}
|
|
8244
8377
|
|
|
8245
|
-
declare namespace io.flow.order.price.v0.enums {
|
|
8246
|
-
type OrderPriceDetailComponentKey =
|
|
8247
|
-
| 'adjustment'
|
|
8248
|
-
| 'vat_deminimis'
|
|
8249
|
-
| 'duty_deminimis'
|
|
8250
|
-
| 'duties_item_price'
|
|
8251
|
-
| 'duties_freight'
|
|
8252
|
-
| 'duties_insurance'
|
|
8253
|
-
| 'vat_item_price'
|
|
8254
|
-
| 'vat_freight'
|
|
8255
|
-
| 'vat_insurance'
|
|
8256
|
-
| 'vat_duties_item_price'
|
|
8257
|
-
| 'vat_duties_freight'
|
|
8258
|
-
| 'vat_duties_insurance'
|
|
8259
|
-
| 'item_price'
|
|
8260
|
-
| 'item_discount'
|
|
8261
|
-
| 'rounding'
|
|
8262
|
-
| 'insurance'
|
|
8263
|
-
| 'shipping'
|
|
8264
|
-
| 'shipping_discount'
|
|
8265
|
-
| 'order_discount'
|
|
8266
|
-
| 'subtotal_percent_sales_margin'
|
|
8267
|
-
| 'subtotal_vat_percent_sales_margin'
|
|
8268
|
-
| 'subtotal_duty_percent_sales_margin'
|
|
8269
|
-
| 'vat_subsidy'
|
|
8270
|
-
| 'duty_subsidy'
|
|
8271
|
-
| 'remote_area_surcharge'
|
|
8272
|
-
| 'fuel_surcharge'
|
|
8273
|
-
| 'emergency_situation_surcharge'
|
|
8274
|
-
| 'peak_surcharge'
|
|
8275
|
-
| 'duties_taxes_paid_surcharge';
|
|
8276
|
-
type OrderPriceDetailKey =
|
|
8277
|
-
| 'adjustment'
|
|
8278
|
-
| 'subtotal'
|
|
8279
|
-
| 'vat'
|
|
8280
|
-
| 'duty'
|
|
8281
|
-
| 'shipping'
|
|
8282
|
-
| 'insurance'
|
|
8283
|
-
| 'discount'
|
|
8284
|
-
| 'surcharges';
|
|
8285
|
-
}
|
|
8286
|
-
|
|
8287
|
-
declare namespace io.flow.order.price.v0.models {
|
|
8288
|
-
interface OrderPriceDetail {
|
|
8289
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
8290
|
-
readonly currency: string;
|
|
8291
|
-
readonly amount: number;
|
|
8292
|
-
readonly label: string;
|
|
8293
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
8294
|
-
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
8295
|
-
readonly name?: string;
|
|
8296
|
-
readonly rate?: number;
|
|
8297
|
-
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
8298
|
-
readonly rate_label?: string;
|
|
8299
|
-
}
|
|
8300
|
-
|
|
8301
|
-
interface OrderPriceDetailComponent {
|
|
8302
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
8303
|
-
readonly currency: string;
|
|
8304
|
-
readonly amount: number;
|
|
8305
|
-
readonly label: string;
|
|
8306
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
8307
|
-
readonly name?: string;
|
|
8308
|
-
}
|
|
8309
|
-
}
|
|
8310
|
-
|
|
8311
|
-
declare namespace io.flow.channel.internal.v0.enums {
|
|
8312
|
-
type ChannelCurrencyCapability =
|
|
8313
|
-
| 'payment_authorizations'
|
|
8314
|
-
| 'settlement_currency';
|
|
8315
|
-
type ChannelOrderAcceptanceRejectionReason =
|
|
8316
|
-
| 'unsupported_origin_country'
|
|
8317
|
-
| 'unsupported_destination_country'
|
|
8318
|
-
| 'domestic_order'
|
|
8319
|
-
| 'order_contains_gift_card';
|
|
8320
|
-
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
|
|
8321
|
-
}
|
|
8322
|
-
|
|
8323
|
-
declare namespace io.flow.channel.internal.v0.models {
|
|
8324
|
-
interface Channel {
|
|
8325
|
-
readonly id: string;
|
|
8326
|
-
readonly name: string;
|
|
8327
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
8328
|
-
readonly organization_id_prefix?: string;
|
|
8329
|
-
}
|
|
8330
|
-
|
|
8331
|
-
interface ChannelCurrency {
|
|
8332
|
-
readonly id: string;
|
|
8333
|
-
readonly currency: string;
|
|
8334
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
8335
|
-
readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
|
|
8336
|
-
}
|
|
8337
|
-
|
|
8338
|
-
interface ChannelCurrencyForm {
|
|
8339
|
-
readonly currency: string;
|
|
8340
|
-
readonly channel_id: string;
|
|
8341
|
-
readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
|
|
8342
|
-
}
|
|
8343
|
-
|
|
8344
|
-
interface ChannelForm {
|
|
8345
|
-
readonly name: string;
|
|
8346
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
8347
|
-
readonly organization_id_prefix?: string;
|
|
8348
|
-
}
|
|
8349
|
-
|
|
8350
|
-
interface ChannelMembership {
|
|
8351
|
-
readonly id: string;
|
|
8352
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
8353
|
-
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
8354
|
-
readonly role?: io.flow.common.v0.enums.Role;
|
|
8355
|
-
}
|
|
8356
|
-
|
|
8357
|
-
interface ChannelMembershipForm {
|
|
8358
|
-
readonly channel_id: string;
|
|
8359
|
-
readonly user_id: string;
|
|
8360
|
-
readonly role?: io.flow.common.v0.enums.Role;
|
|
8361
|
-
}
|
|
8362
|
-
|
|
8363
|
-
interface ChannelMembershipPutForm {
|
|
8364
|
-
readonly role?: io.flow.common.v0.enums.Role;
|
|
8365
|
-
}
|
|
8366
|
-
|
|
8367
|
-
interface ChannelOrderAcceptance {
|
|
8368
|
-
readonly id: string;
|
|
8369
|
-
readonly organization_id: string;
|
|
8370
|
-
readonly order_number: string;
|
|
8371
|
-
readonly channel_id: string;
|
|
8372
|
-
readonly external_order_reference: string;
|
|
8373
|
-
readonly payment_request_id?: string;
|
|
8374
|
-
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
8375
|
-
readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
|
|
8376
|
-
}
|
|
8377
|
-
|
|
8378
|
-
interface ChannelOrderAcceptanceForm {
|
|
8379
|
-
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
8380
|
-
}
|
|
8381
|
-
|
|
8382
|
-
interface ChannelOrderAcceptanceReason {
|
|
8383
|
-
readonly description: string;
|
|
8384
|
-
readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
8385
|
-
}
|
|
8386
|
-
}
|
|
8387
|
-
|
|
8388
8378
|
declare namespace io.flow.order.management.event.v0.models {
|
|
8389
8379
|
interface FulfillmentItemAllocationDetails {
|
|
8390
8380
|
readonly item_number: string;
|
|
@@ -12719,9 +12709,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12719
12709
|
| 'item_prices'
|
|
12720
12710
|
| 'price_book_items_import'
|
|
12721
12711
|
| 'price_book_items_query_import';
|
|
12722
|
-
type ChannelCurrencyCapability =
|
|
12723
|
-
| 'payment_authorizations'
|
|
12724
|
-
| 'settlement_currency';
|
|
12725
12712
|
type ChannelOrderAcceptanceRejectionReason =
|
|
12726
12713
|
| 'unsupported_origin_country'
|
|
12727
12714
|
| 'unsupported_destination_country'
|
|
@@ -13136,6 +13123,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13136
13123
|
| 'dispute_upserted'
|
|
13137
13124
|
| 'dispute_deleted'
|
|
13138
13125
|
| 'duty_rates_published'
|
|
13126
|
+
| 'duty_rates_published_v2'
|
|
13139
13127
|
| 'duty_rate_request'
|
|
13140
13128
|
| 'duty_rate_bulk_request'
|
|
13141
13129
|
| 'duty_raw_upserted'
|
|
@@ -13460,7 +13448,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13460
13448
|
| 'duty_free_intra_community'
|
|
13461
13449
|
| 'duty_free_by_trade_agreement';
|
|
13462
13450
|
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
13463
|
-
type OnboardingAuditResult = 'pass' | 'fail';
|
|
13451
|
+
type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
|
|
13464
13452
|
type OnboardingAuditThemeKey =
|
|
13465
13453
|
| 'billing'
|
|
13466
13454
|
| 'catalog'
|
|
@@ -13468,6 +13456,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13468
13456
|
| 'fraud'
|
|
13469
13457
|
| 'logistics'
|
|
13470
13458
|
| 'payments'
|
|
13459
|
+
| 'shopify_markets'
|
|
13471
13460
|
| 'integration_partner';
|
|
13472
13461
|
type OrderAction =
|
|
13473
13462
|
| 'consumer_submit'
|
|
@@ -13547,8 +13536,13 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13547
13536
|
| 'paid_on_delivery';
|
|
13548
13537
|
type ResponsibleParty = 'flow' | 'organization';
|
|
13549
13538
|
type RestrictionAction = 'prohibited' | 'restricted';
|
|
13550
|
-
type RestrictionDecision = 'accept' | 'reject';
|
|
13551
|
-
type RestrictionStatus =
|
|
13539
|
+
type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
|
|
13540
|
+
type RestrictionStatus =
|
|
13541
|
+
| 'pending'
|
|
13542
|
+
| 'in_review'
|
|
13543
|
+
| 'escalated'
|
|
13544
|
+
| 'accepted'
|
|
13545
|
+
| 'restricted';
|
|
13552
13546
|
type RiskCheck = 'three_d_secure';
|
|
13553
13547
|
type RiskEvaluation =
|
|
13554
13548
|
| 'Pending'
|
|
@@ -15017,6 +15011,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15017
15011
|
readonly data: io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
|
|
15018
15012
|
}
|
|
15019
15013
|
|
|
15014
|
+
interface CenterDefaults {
|
|
15015
|
+
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15016
|
+
}
|
|
15017
|
+
|
|
15018
|
+
interface CenterDefaultsForm {
|
|
15019
|
+
readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
|
|
15020
|
+
}
|
|
15021
|
+
|
|
15020
15022
|
interface CenterQueryBuilder {
|
|
15021
15023
|
readonly placeholder: string;
|
|
15022
15024
|
}
|
|
@@ -15026,13 +15028,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15026
15028
|
readonly name: string;
|
|
15027
15029
|
}
|
|
15028
15030
|
|
|
15029
|
-
interface Channel {
|
|
15030
|
-
readonly id: string;
|
|
15031
|
-
readonly name: string;
|
|
15032
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
15033
|
-
readonly organization_id_prefix?: string;
|
|
15034
|
-
}
|
|
15035
|
-
|
|
15036
15031
|
interface ChannelAccount {
|
|
15037
15032
|
readonly id: string;
|
|
15038
15033
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
@@ -15053,17 +15048,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15053
15048
|
readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
|
|
15054
15049
|
}
|
|
15055
15050
|
|
|
15056
|
-
interface ChannelCurrency {
|
|
15057
|
-
readonly id: string;
|
|
15058
|
-
readonly currency: string;
|
|
15059
|
-
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
15060
|
-
readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
|
|
15061
|
-
}
|
|
15062
|
-
|
|
15063
15051
|
interface ChannelCurrencyForm {
|
|
15064
15052
|
readonly currency: string;
|
|
15065
15053
|
readonly channel_id: string;
|
|
15066
|
-
readonly capabilities: io.flow.
|
|
15054
|
+
readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
|
|
15067
15055
|
}
|
|
15068
15056
|
|
|
15069
15057
|
interface ChannelCurrencySetting {
|
|
@@ -15184,11 +15172,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15184
15172
|
readonly timestamp?: string;
|
|
15185
15173
|
}
|
|
15186
15174
|
|
|
15187
|
-
interface ChannelTokenForm {
|
|
15188
|
-
readonly channel_id: string;
|
|
15189
|
-
readonly description?: string;
|
|
15190
|
-
}
|
|
15191
|
-
|
|
15192
15175
|
interface ChannelTransaction {
|
|
15193
15176
|
readonly discriminator: 'channel_transaction';
|
|
15194
15177
|
readonly id: string;
|
|
@@ -18118,6 +18101,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18118
18101
|
readonly duty_rate: io.flow.internal.v0.models.DutyRate;
|
|
18119
18102
|
}
|
|
18120
18103
|
|
|
18104
|
+
interface DutyRateSummary {
|
|
18105
|
+
readonly tariff_code: string;
|
|
18106
|
+
readonly origin: string;
|
|
18107
|
+
readonly destination: string;
|
|
18108
|
+
}
|
|
18109
|
+
|
|
18121
18110
|
interface DutyRateUpserted {
|
|
18122
18111
|
readonly discriminator: 'duty_rate_upserted';
|
|
18123
18112
|
readonly event_id: string;
|
|
@@ -18134,6 +18123,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18134
18123
|
readonly rates: io.flow.internal.v0.models.DutyRate[];
|
|
18135
18124
|
}
|
|
18136
18125
|
|
|
18126
|
+
interface DutyRatesDataSummary {
|
|
18127
|
+
readonly id: string;
|
|
18128
|
+
readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary;
|
|
18129
|
+
readonly hs6_code: string;
|
|
18130
|
+
readonly summaries: io.flow.internal.v0.models.DutyRateSummary[];
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18137
18133
|
interface DutyRatesPublished {
|
|
18138
18134
|
readonly discriminator: 'duty_rates_published';
|
|
18139
18135
|
readonly event_id: string;
|
|
@@ -18142,6 +18138,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18142
18138
|
readonly data: io.flow.internal.v0.models.DutyRatesData;
|
|
18143
18139
|
}
|
|
18144
18140
|
|
|
18141
|
+
interface DutyRatesPublishedV2 {
|
|
18142
|
+
readonly discriminator: 'duty_rates_published_v2';
|
|
18143
|
+
readonly event_id: string;
|
|
18144
|
+
readonly timestamp: string;
|
|
18145
|
+
readonly organization: string;
|
|
18146
|
+
readonly data: io.flow.internal.v0.models.DutyRatesDataSummary;
|
|
18147
|
+
}
|
|
18148
|
+
|
|
18145
18149
|
interface DutyRaw {
|
|
18146
18150
|
readonly id: string;
|
|
18147
18151
|
readonly request_destination: string;
|
|
@@ -21242,7 +21246,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21242
21246
|
}
|
|
21243
21247
|
|
|
21244
21248
|
interface OnboardingAuditReportLine {
|
|
21245
|
-
readonly
|
|
21249
|
+
readonly description: string;
|
|
21246
21250
|
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
21247
21251
|
readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
|
|
21248
21252
|
}
|
|
@@ -22165,6 +22169,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22165
22169
|
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
22166
22170
|
}
|
|
22167
22171
|
|
|
22172
|
+
interface ProcessingTransactionAdjustment {
|
|
22173
|
+
readonly id: string;
|
|
22174
|
+
readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
22175
|
+
readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
22176
|
+
readonly description: string;
|
|
22177
|
+
readonly percentage: number;
|
|
22178
|
+
}
|
|
22179
|
+
|
|
22180
|
+
interface ProcessingTransactionAdjustmentForm {
|
|
22181
|
+
readonly original_transaction_id: string;
|
|
22182
|
+
readonly description: string;
|
|
22183
|
+
readonly percentage: number;
|
|
22184
|
+
}
|
|
22185
|
+
|
|
22168
22186
|
interface ProcessingTransactionDeleted {
|
|
22169
22187
|
readonly discriminator: 'processing_transaction_deleted';
|
|
22170
22188
|
readonly event_id: string;
|
|
@@ -22173,6 +22191,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22173
22191
|
readonly processing_transaction: io.flow.internal.v0.models.ProcessingTransaction;
|
|
22174
22192
|
}
|
|
22175
22193
|
|
|
22194
|
+
interface ProcessingTransactionReference {
|
|
22195
|
+
readonly id: string;
|
|
22196
|
+
}
|
|
22197
|
+
|
|
22176
22198
|
interface ProcessingTransactionUpserted {
|
|
22177
22199
|
readonly discriminator: 'processing_transaction_upserted';
|
|
22178
22200
|
readonly event_id: string;
|
|
@@ -23091,6 +23113,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23091
23113
|
readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
23092
23114
|
}
|
|
23093
23115
|
|
|
23116
|
+
interface ShopifyMarketsWebhookRegistration {
|
|
23117
|
+
readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
23118
|
+
}
|
|
23119
|
+
|
|
23094
23120
|
interface ShopifyMetadata {
|
|
23095
23121
|
readonly domain: string;
|
|
23096
23122
|
readonly myshopify_domain: string;
|
|
@@ -24785,6 +24811,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24785
24811
|
| io.flow.internal.v0.models.DisputeUpserted
|
|
24786
24812
|
| io.flow.internal.v0.models.DisputeDeleted
|
|
24787
24813
|
| io.flow.internal.v0.models.DutyRatesPublished
|
|
24814
|
+
| io.flow.internal.v0.models.DutyRatesPublishedV2
|
|
24788
24815
|
| io.flow.internal.v0.models.DutyRateRequest
|
|
24789
24816
|
| io.flow.internal.v0.models.DutyRateBulkRequest
|
|
24790
24817
|
| io.flow.internal.v0.models.DutyRawUpserted
|
|
@@ -25554,18 +25581,16 @@ export type CatalogItemRegionAvailabilitiesData =
|
|
|
25554
25581
|
io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
|
|
25555
25582
|
export type CatalogItemRegionAvailabilitiesPublished =
|
|
25556
25583
|
io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
25584
|
+
export type CenterDefaults = io.flow.internal.v0.models.CenterDefaults;
|
|
25585
|
+
export type CenterDefaultsForm = io.flow.internal.v0.models.CenterDefaultsForm;
|
|
25557
25586
|
export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
25558
25587
|
export type ChangeSettingsIndexTask =
|
|
25559
25588
|
io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
25560
|
-
export type Channel = io.flow.internal.v0.models.Channel;
|
|
25561
25589
|
export type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
|
|
25562
25590
|
export type ChannelAccountDeleted =
|
|
25563
25591
|
io.flow.internal.v0.models.ChannelAccountDeleted;
|
|
25564
25592
|
export type ChannelAccountUpserted =
|
|
25565
25593
|
io.flow.internal.v0.models.ChannelAccountUpserted;
|
|
25566
|
-
export type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
|
|
25567
|
-
export type ChannelCurrencyCapability =
|
|
25568
|
-
io.flow.internal.v0.enums.ChannelCurrencyCapability;
|
|
25569
25594
|
export type ChannelCurrencyForm =
|
|
25570
25595
|
io.flow.internal.v0.models.ChannelCurrencyForm;
|
|
25571
25596
|
export type ChannelCurrencySetting =
|
|
@@ -25606,7 +25631,6 @@ export type ChannelRateMetadataIdentity =
|
|
|
25606
25631
|
io.flow.internal.v0.models.ChannelRateMetadataIdentity;
|
|
25607
25632
|
export type ChannelRateMetadataRate =
|
|
25608
25633
|
io.flow.internal.v0.models.ChannelRateMetadataRate;
|
|
25609
|
-
export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
|
|
25610
25634
|
export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
|
|
25611
25635
|
export type ChannelTransactionRate =
|
|
25612
25636
|
io.flow.internal.v0.models.ChannelTransactionRate;
|
|
@@ -26852,11 +26876,16 @@ export type DutyRateItemSummary =
|
|
|
26852
26876
|
export type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
26853
26877
|
export type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
26854
26878
|
export type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
26879
|
+
export type DutyRateSummary = io.flow.internal.v0.models.DutyRateSummary;
|
|
26855
26880
|
export type DutyRateUnitOfMeasure =
|
|
26856
26881
|
io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
26857
26882
|
export type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
26858
26883
|
export type DutyRatesData = io.flow.internal.v0.models.DutyRatesData;
|
|
26884
|
+
export type DutyRatesDataSummary =
|
|
26885
|
+
io.flow.internal.v0.models.DutyRatesDataSummary;
|
|
26859
26886
|
export type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPublished;
|
|
26887
|
+
export type DutyRatesPublishedV2 =
|
|
26888
|
+
io.flow.internal.v0.models.DutyRatesPublishedV2;
|
|
26860
26889
|
export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
26861
26890
|
export type DutyRawBulkUpserted =
|
|
26862
26891
|
io.flow.internal.v0.models.DutyRawBulkUpserted;
|
|
@@ -27837,8 +27866,14 @@ export type PrioritizedCenterReference =
|
|
|
27837
27866
|
io.flow.internal.v0.models.PrioritizedCenterReference;
|
|
27838
27867
|
export type ProcessingTransaction =
|
|
27839
27868
|
io.flow.internal.v0.models.ProcessingTransaction;
|
|
27869
|
+
export type ProcessingTransactionAdjustment =
|
|
27870
|
+
io.flow.internal.v0.models.ProcessingTransactionAdjustment;
|
|
27871
|
+
export type ProcessingTransactionAdjustmentForm =
|
|
27872
|
+
io.flow.internal.v0.models.ProcessingTransactionAdjustmentForm;
|
|
27840
27873
|
export type ProcessingTransactionDeleted =
|
|
27841
27874
|
io.flow.internal.v0.models.ProcessingTransactionDeleted;
|
|
27875
|
+
export type ProcessingTransactionReference =
|
|
27876
|
+
io.flow.internal.v0.models.ProcessingTransactionReference;
|
|
27842
27877
|
export type ProcessingTransactionType =
|
|
27843
27878
|
io.flow.internal.v0.enums.ProcessingTransactionType;
|
|
27844
27879
|
export type ProcessingTransactionUpserted =
|
|
@@ -28100,6 +28135,8 @@ export type ShopifyMarketsSubsidiaryCompany =
|
|
|
28100
28135
|
io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
|
|
28101
28136
|
export type ShopifyMarketsTradeSector =
|
|
28102
28137
|
io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
|
|
28138
|
+
export type ShopifyMarketsWebhookRegistration =
|
|
28139
|
+
io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration;
|
|
28103
28140
|
export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
|
|
28104
28141
|
export type ShopifyOrderAuthorization =
|
|
28105
28142
|
io.flow.internal.v0.models.ShopifyOrderAuthorization;
|