@flowio/types 11.24.35 → 11.24.36
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 +128 -20
- package/dist/api.d.ts +58 -0
- package/package.json +2 -2
- package/src/api-internal.ts +163 -21
- package/src/api.ts +68 -0
package/dist/api.d.ts
CHANGED
|
@@ -2530,6 +2530,10 @@ declare namespace io.flow.v0.models {
|
|
|
2530
2530
|
interface BillingChannelStatementReference {
|
|
2531
2531
|
readonly id: string;
|
|
2532
2532
|
}
|
|
2533
|
+
interface BillingDiscount {
|
|
2534
|
+
readonly amount: number;
|
|
2535
|
+
readonly description?: string;
|
|
2536
|
+
}
|
|
2533
2537
|
interface BridgeManifest {
|
|
2534
2538
|
readonly id: string;
|
|
2535
2539
|
readonly service: io.flow.v0.models.ServiceSummary;
|
|
@@ -3110,6 +3114,7 @@ declare namespace io.flow.v0.models {
|
|
|
3110
3114
|
readonly gross: number;
|
|
3111
3115
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
3112
3116
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
3117
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
3113
3118
|
readonly net: number;
|
|
3114
3119
|
readonly created_at: string;
|
|
3115
3120
|
}
|
|
@@ -5370,6 +5375,25 @@ declare namespace io.flow.v0.models {
|
|
|
5370
5375
|
readonly id: string;
|
|
5371
5376
|
readonly number: string;
|
|
5372
5377
|
}
|
|
5378
|
+
interface LabelReference {
|
|
5379
|
+
readonly id: string;
|
|
5380
|
+
}
|
|
5381
|
+
interface LabelTrackingCarrierService {
|
|
5382
|
+
readonly carrier_id: string;
|
|
5383
|
+
readonly service_id?: string;
|
|
5384
|
+
}
|
|
5385
|
+
interface LabelTrackingSummary {
|
|
5386
|
+
readonly id: string;
|
|
5387
|
+
readonly carrier_service: io.flow.v0.models.LabelTrackingCarrierService;
|
|
5388
|
+
readonly carrier_tracking_number: string;
|
|
5389
|
+
readonly order_number?: string;
|
|
5390
|
+
readonly label?: io.flow.v0.models.LabelReference;
|
|
5391
|
+
readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
5392
|
+
readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
5393
|
+
}
|
|
5394
|
+
interface LabelTrackingSummaryUpdate {
|
|
5395
|
+
readonly timestamp: string;
|
|
5396
|
+
}
|
|
5373
5397
|
interface LabelUpserted {
|
|
5374
5398
|
readonly discriminator: 'label_upserted';
|
|
5375
5399
|
readonly event_id: string;
|
|
@@ -5604,6 +5628,10 @@ declare namespace io.flow.v0.models {
|
|
|
5604
5628
|
readonly code: io.flow.v0.enums.LocationErrorCode;
|
|
5605
5629
|
readonly messages: string[];
|
|
5606
5630
|
}
|
|
5631
|
+
interface LogisticsFormat {
|
|
5632
|
+
readonly preference?: string;
|
|
5633
|
+
readonly description?: string;
|
|
5634
|
+
}
|
|
5607
5635
|
interface LogisticsSettings {
|
|
5608
5636
|
readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference;
|
|
5609
5637
|
}
|
|
@@ -8763,6 +8791,10 @@ declare namespace io.flow.v0.models {
|
|
|
8763
8791
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
8764
8792
|
readonly shipping_notification: io.flow.v0.models.ShippingNotification;
|
|
8765
8793
|
}
|
|
8794
|
+
interface Shop {
|
|
8795
|
+
readonly name: string;
|
|
8796
|
+
readonly id: string;
|
|
8797
|
+
}
|
|
8766
8798
|
interface ShopifyCart {
|
|
8767
8799
|
readonly id: string;
|
|
8768
8800
|
readonly items: io.flow.v0.models.ShopifyCartItem[];
|
|
@@ -8955,6 +8987,12 @@ declare namespace io.flow.v0.models {
|
|
|
8955
8987
|
readonly created_at: string;
|
|
8956
8988
|
readonly activated_at?: string;
|
|
8957
8989
|
readonly status_updated_at?: string;
|
|
8990
|
+
readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
|
|
8991
|
+
readonly shop?: io.flow.v0.models.Shop;
|
|
8992
|
+
readonly annual_xborder_gmv?: io.flow.v0.models.Money;
|
|
8993
|
+
readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
|
|
8994
|
+
readonly average_order_value?: io.flow.v0.models.Money;
|
|
8995
|
+
readonly total_order?: io.flow.v0.models.TotalOrder;
|
|
8958
8996
|
}
|
|
8959
8997
|
interface ShopifyMerchantApplicationForm {
|
|
8960
8998
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
@@ -8982,6 +9020,12 @@ declare namespace io.flow.v0.models {
|
|
|
8982
9020
|
readonly default_country_of_origin?: string;
|
|
8983
9021
|
readonly ratecard_id?: string;
|
|
8984
9022
|
readonly rate_card: string;
|
|
9023
|
+
readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
|
|
9024
|
+
readonly shop?: io.flow.v0.models.Shop;
|
|
9025
|
+
readonly annual_xborder_gmv?: io.flow.v0.models.Money;
|
|
9026
|
+
readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
|
|
9027
|
+
readonly average_order_value?: io.flow.v0.models.Money;
|
|
9028
|
+
readonly total_order?: io.flow.v0.models.TotalOrder;
|
|
8985
9029
|
}
|
|
8986
9030
|
interface ShopifyMerchantApplicationPutForm {
|
|
8987
9031
|
readonly discriminator: 'shopify_merchant_application_put_form';
|
|
@@ -9569,6 +9613,10 @@ declare namespace io.flow.v0.models {
|
|
|
9569
9613
|
interface TokenValidationForm {
|
|
9570
9614
|
readonly token: string;
|
|
9571
9615
|
}
|
|
9616
|
+
interface TotalOrder {
|
|
9617
|
+
readonly value?: io.flow.v0.models.Money;
|
|
9618
|
+
readonly count?: number;
|
|
9619
|
+
}
|
|
9572
9620
|
interface Tracking {
|
|
9573
9621
|
readonly id: string;
|
|
9574
9622
|
readonly labels: io.flow.v0.models.TrackingLabel[];
|
|
@@ -9638,6 +9686,7 @@ declare namespace io.flow.v0.models {
|
|
|
9638
9686
|
readonly tracking_id: string;
|
|
9639
9687
|
readonly status: io.flow.v0.enums.TrackingStatus;
|
|
9640
9688
|
readonly carrier: string;
|
|
9689
|
+
readonly service_id?: string;
|
|
9641
9690
|
readonly carrier_tracking_number: string;
|
|
9642
9691
|
readonly delivery_estimate?: string;
|
|
9643
9692
|
readonly description?: string;
|
|
@@ -9700,6 +9749,7 @@ declare namespace io.flow.v0.models {
|
|
|
9700
9749
|
readonly gross: number;
|
|
9701
9750
|
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
9702
9751
|
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
9752
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
9703
9753
|
readonly net: number;
|
|
9704
9754
|
readonly created_at: string;
|
|
9705
9755
|
}
|
|
@@ -10162,6 +10212,7 @@ export declare type BillingChannelOrderSummary = io.flow.v0.models.BillingChanne
|
|
|
10162
10212
|
export declare type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary;
|
|
10163
10213
|
export declare type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
10164
10214
|
export declare type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference;
|
|
10215
|
+
export declare type BillingDiscount = io.flow.v0.models.BillingDiscount;
|
|
10165
10216
|
export declare type BridgeManifest = io.flow.v0.models.BridgeManifest;
|
|
10166
10217
|
export declare type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm;
|
|
10167
10218
|
export declare type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
@@ -10735,6 +10786,10 @@ export declare type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
|
|
|
10735
10786
|
export declare type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
|
|
10736
10787
|
export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
|
|
10737
10788
|
export declare type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
|
|
10789
|
+
export declare type LabelReference = io.flow.v0.models.LabelReference;
|
|
10790
|
+
export declare type LabelTrackingCarrierService = io.flow.v0.models.LabelTrackingCarrierService;
|
|
10791
|
+
export declare type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary;
|
|
10792
|
+
export declare type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate;
|
|
10738
10793
|
export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
|
|
10739
10794
|
export declare type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
|
|
10740
10795
|
export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
|
|
@@ -10775,6 +10830,7 @@ export declare type LocalizedTotal = io.flow.v0.models.LocalizedTotal;
|
|
|
10775
10830
|
export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
|
|
10776
10831
|
export declare type LocationError = io.flow.v0.models.LocationError;
|
|
10777
10832
|
export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
|
|
10833
|
+
export declare type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
|
|
10778
10834
|
export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
|
|
10779
10835
|
export declare type LogoImage = io.flow.v0.unions.LogoImage;
|
|
10780
10836
|
export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
|
|
@@ -11402,6 +11458,7 @@ export declare type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
|
|
|
11402
11458
|
export declare type ShippingNotification = io.flow.v0.models.ShippingNotification;
|
|
11403
11459
|
export declare type ShippingNotificationForm = io.flow.v0.unions.ShippingNotificationForm;
|
|
11404
11460
|
export declare type ShippingNotificationVersion = io.flow.v0.models.ShippingNotificationVersion;
|
|
11461
|
+
export declare type Shop = io.flow.v0.models.Shop;
|
|
11405
11462
|
export declare type ShopifyCart = io.flow.v0.models.ShopifyCart;
|
|
11406
11463
|
export declare type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm;
|
|
11407
11464
|
export declare type ShopifyCartAddMultipleForm = io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
@@ -11557,6 +11614,7 @@ export declare type TokenReference = io.flow.v0.unions.TokenReference;
|
|
|
11557
11614
|
export declare type TokenType = io.flow.v0.enums.TokenType;
|
|
11558
11615
|
export declare type TokenValidation = io.flow.v0.models.TokenValidation;
|
|
11559
11616
|
export declare type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
|
|
11617
|
+
export declare type TotalOrder = io.flow.v0.models.TotalOrder;
|
|
11560
11618
|
export declare type Tracking = io.flow.v0.models.Tracking;
|
|
11561
11619
|
export declare type TrackingEvent = io.flow.v0.models.TrackingEvent;
|
|
11562
11620
|
export declare type TrackingEventForm = io.flow.v0.models.TrackingEventForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.36",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "c69a5df5aabcf8d46c3cc80e85ffcb3a32930cb2"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -3869,6 +3869,10 @@ declare namespace io.flow.label.v0.models {
|
|
|
3869
3869
|
readonly number: string;
|
|
3870
3870
|
}
|
|
3871
3871
|
|
|
3872
|
+
interface LabelReference {
|
|
3873
|
+
readonly id: string;
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3872
3876
|
interface Manifest {
|
|
3873
3877
|
readonly id: string;
|
|
3874
3878
|
readonly timestamp: string;
|
|
@@ -5201,11 +5205,13 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5201
5205
|
type PaymentMethod =
|
|
5202
5206
|
| 'ach'
|
|
5203
5207
|
| 'alipay'
|
|
5208
|
+
| 'alipay_hk'
|
|
5204
5209
|
| 'alipay_wap'
|
|
5205
5210
|
| 'amex'
|
|
5206
5211
|
| 'bankTransfer_IBAN'
|
|
5207
5212
|
| 'bcmc'
|
|
5208
5213
|
| 'bcmc_mobile'
|
|
5214
|
+
| 'blik'
|
|
5209
5215
|
| 'cartebancaire'
|
|
5210
5216
|
| 'cup'
|
|
5211
5217
|
| 'diners'
|
|
@@ -5216,21 +5222,27 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5216
5222
|
| 'dragonpay_gcash'
|
|
5217
5223
|
| 'dragonpay_otc_banking'
|
|
5218
5224
|
| 'ebanking_FI'
|
|
5225
|
+
| 'gcash'
|
|
5219
5226
|
| 'giropay'
|
|
5220
5227
|
| 'ideal'
|
|
5221
5228
|
| 'interac'
|
|
5222
5229
|
| 'jcb'
|
|
5230
|
+
| 'kakaopay'
|
|
5223
5231
|
| 'kcp_banktransfer'
|
|
5224
5232
|
| 'kcp_creditcard'
|
|
5225
5233
|
| 'kcp_payco'
|
|
5226
5234
|
| 'maestro'
|
|
5235
|
+
| 'mbway'
|
|
5227
5236
|
| 'mc'
|
|
5237
|
+
| 'mobilepay'
|
|
5228
5238
|
| 'molpay_points'
|
|
5229
5239
|
| 'multibanco'
|
|
5240
|
+
| 'onlineBanking_PL'
|
|
5230
5241
|
| 'qiwiwallet'
|
|
5231
5242
|
| 'sepadirectdebit'
|
|
5232
5243
|
| 'trustly'
|
|
5233
5244
|
| 'trustpay'
|
|
5245
|
+
| 'twint'
|
|
5234
5246
|
| 'unionpay'
|
|
5235
5247
|
| 'visa'
|
|
5236
5248
|
| 'wechatpay'
|
|
@@ -5492,6 +5504,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5492
5504
|
readonly metadata?: any /*object*/;
|
|
5493
5505
|
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5494
5506
|
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5507
|
+
readonly storePaymentMethod?: boolean;
|
|
5495
5508
|
}
|
|
5496
5509
|
|
|
5497
5510
|
interface PaymentResponse {
|
|
@@ -5545,6 +5558,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5545
5558
|
readonly iDealConsumerIBAN?: string;
|
|
5546
5559
|
readonly iDealConsumerName?: string;
|
|
5547
5560
|
readonly iDealTransactionId?: string;
|
|
5561
|
+
readonly 'recurring.recurringDetailReference'?: string;
|
|
5562
|
+
readonly 'recurring.shopperReference'?: string;
|
|
5563
|
+
readonly networkTxReference?: string;
|
|
5564
|
+
readonly PaymentAccountReference?: string;
|
|
5565
|
+
readonly 'networkToken.available'?: string;
|
|
5566
|
+
readonly 'networkToken.bin'?: string;
|
|
5567
|
+
readonly 'networkToken.tokenSummary'?: string;
|
|
5548
5568
|
}
|
|
5549
5569
|
|
|
5550
5570
|
interface Recurring {
|
|
@@ -5576,6 +5596,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5576
5596
|
readonly holderName: string;
|
|
5577
5597
|
readonly number: string;
|
|
5578
5598
|
readonly cvc?: string;
|
|
5599
|
+
readonly storedPaymentMethodId?: string;
|
|
5600
|
+
readonly networkPaymentReference?: string;
|
|
5579
5601
|
}
|
|
5580
5602
|
|
|
5581
5603
|
interface SdkV3OnCompleteData {
|
|
@@ -10295,6 +10317,25 @@ declare namespace io.flow.tracking.v0.enums {
|
|
|
10295
10317
|
}
|
|
10296
10318
|
|
|
10297
10319
|
declare namespace io.flow.tracking.v0.models {
|
|
10320
|
+
interface LabelTrackingCarrierService {
|
|
10321
|
+
readonly carrier_id: string;
|
|
10322
|
+
readonly service_id?: string;
|
|
10323
|
+
}
|
|
10324
|
+
|
|
10325
|
+
interface LabelTrackingSummary {
|
|
10326
|
+
readonly id: string;
|
|
10327
|
+
readonly carrier_service: io.flow.tracking.v0.models.LabelTrackingCarrierService;
|
|
10328
|
+
readonly carrier_tracking_number: string;
|
|
10329
|
+
readonly order_number?: string;
|
|
10330
|
+
readonly label?: io.flow.label.v0.models.LabelReference;
|
|
10331
|
+
readonly in_transit: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
|
|
10332
|
+
readonly delivered?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10335
|
+
interface LabelTrackingSummaryUpdate {
|
|
10336
|
+
readonly timestamp: string;
|
|
10337
|
+
}
|
|
10338
|
+
|
|
10298
10339
|
interface Tracking {
|
|
10299
10340
|
readonly id: string;
|
|
10300
10341
|
readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
|
|
@@ -10356,6 +10397,7 @@ declare namespace io.flow.tracking.v0.models {
|
|
|
10356
10397
|
readonly tracking_id: string;
|
|
10357
10398
|
readonly status: io.flow.tracking.v0.enums.TrackingStatus;
|
|
10358
10399
|
readonly carrier: string;
|
|
10400
|
+
readonly service_id?: string;
|
|
10359
10401
|
readonly carrier_tracking_number: string;
|
|
10360
10402
|
readonly delivery_estimate?: string;
|
|
10361
10403
|
readonly description?: string;
|
|
@@ -10439,6 +10481,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10439
10481
|
readonly id?: string;
|
|
10440
10482
|
}
|
|
10441
10483
|
|
|
10484
|
+
interface LogisticsFormat {
|
|
10485
|
+
readonly preference?: string;
|
|
10486
|
+
readonly description?: string;
|
|
10487
|
+
}
|
|
10488
|
+
|
|
10442
10489
|
interface MerchantInfo {
|
|
10443
10490
|
readonly legal_name?: string;
|
|
10444
10491
|
readonly country: string;
|
|
@@ -10495,6 +10542,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10495
10542
|
readonly phone?: string;
|
|
10496
10543
|
}
|
|
10497
10544
|
|
|
10545
|
+
interface Shop {
|
|
10546
|
+
readonly name: string;
|
|
10547
|
+
readonly id: string;
|
|
10548
|
+
}
|
|
10549
|
+
|
|
10498
10550
|
interface ShopifyMerchantApplication {
|
|
10499
10551
|
readonly discriminator: 'shopify_merchant_application';
|
|
10500
10552
|
readonly id: string;
|
|
@@ -10526,6 +10578,12 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10526
10578
|
readonly created_at: string;
|
|
10527
10579
|
readonly activated_at?: string;
|
|
10528
10580
|
readonly status_updated_at?: string;
|
|
10581
|
+
readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
|
|
10582
|
+
readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
|
|
10583
|
+
readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
10584
|
+
readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
10585
|
+
readonly average_order_value?: io.flow.common.v0.models.Money;
|
|
10586
|
+
readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
|
|
10529
10587
|
}
|
|
10530
10588
|
|
|
10531
10589
|
interface ShopifyMerchantApplicationForm {
|
|
@@ -10554,6 +10612,12 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10554
10612
|
readonly default_country_of_origin?: string;
|
|
10555
10613
|
readonly ratecard_id?: string;
|
|
10556
10614
|
readonly rate_card: string;
|
|
10615
|
+
readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
|
|
10616
|
+
readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
|
|
10617
|
+
readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
10618
|
+
readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
|
|
10619
|
+
readonly average_order_value?: io.flow.common.v0.models.Money;
|
|
10620
|
+
readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
|
|
10557
10621
|
}
|
|
10558
10622
|
|
|
10559
10623
|
interface ShopifyMerchantApplicationPutForm {
|
|
@@ -10575,6 +10639,11 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10575
10639
|
readonly center_id?: string;
|
|
10576
10640
|
}
|
|
10577
10641
|
|
|
10642
|
+
interface TotalOrder {
|
|
10643
|
+
readonly value?: io.flow.common.v0.models.Money;
|
|
10644
|
+
readonly count?: number;
|
|
10645
|
+
}
|
|
10646
|
+
|
|
10578
10647
|
interface UltimateBeneficiaryOwner {
|
|
10579
10648
|
readonly name: string;
|
|
10580
10649
|
readonly dob: string;
|
|
@@ -11356,6 +11425,11 @@ declare namespace io.flow.billing.v0.models {
|
|
|
11356
11425
|
readonly id: string;
|
|
11357
11426
|
}
|
|
11358
11427
|
|
|
11428
|
+
interface BillingDiscount {
|
|
11429
|
+
readonly amount: number;
|
|
11430
|
+
readonly description?: string;
|
|
11431
|
+
}
|
|
11432
|
+
|
|
11359
11433
|
interface ChannelStatement {
|
|
11360
11434
|
readonly id: string;
|
|
11361
11435
|
readonly account: io.flow.billing.v0.models.AccountReference;
|
|
@@ -11375,6 +11449,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
11375
11449
|
readonly gross: number;
|
|
11376
11450
|
readonly fees: io.flow.billing.v0.models.FeeDeduction[];
|
|
11377
11451
|
readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
|
|
11452
|
+
readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
|
|
11378
11453
|
readonly net: number;
|
|
11379
11454
|
readonly created_at: string;
|
|
11380
11455
|
}
|
|
@@ -11426,6 +11501,7 @@ declare namespace io.flow.billing.v0.models {
|
|
|
11426
11501
|
readonly gross: number;
|
|
11427
11502
|
readonly fees: io.flow.billing.v0.models.FeeDeduction[];
|
|
11428
11503
|
readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
|
|
11504
|
+
readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
|
|
11429
11505
|
readonly net: number;
|
|
11430
11506
|
readonly created_at: string;
|
|
11431
11507
|
}
|
|
@@ -13620,6 +13696,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13620
13696
|
| 'fraud_pending_review_deleted'
|
|
13621
13697
|
| 'fraud_review_decision_upserted'
|
|
13622
13698
|
| 'fraud_review_decision_deleted'
|
|
13699
|
+
| 'fraud_provider_configuration_upserted'
|
|
13700
|
+
| 'fraud_provider_configuration_deleted'
|
|
13623
13701
|
| 'ftp_file_upserted'
|
|
13624
13702
|
| 'ftp_file_deleted'
|
|
13625
13703
|
| 'ftp_file_to_process_uploaded'
|
|
@@ -13651,6 +13729,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13651
13729
|
| 'issuer_upserted'
|
|
13652
13730
|
| 'issuer_deleted'
|
|
13653
13731
|
| 'item_form_import_request'
|
|
13732
|
+
| 'label_tracking_summary_upserted'
|
|
13733
|
+
| 'label_tracking_summary_deleted'
|
|
13654
13734
|
| 'localized_item_upserted_v2'
|
|
13655
13735
|
| 'localized_item_deleted'
|
|
13656
13736
|
| 'localized_item_deleted_v2'
|
|
@@ -13926,6 +14006,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13926
14006
|
type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
|
|
13927
14007
|
type OrganizationPaymentStatus = 'active' | 'archived';
|
|
13928
14008
|
type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
|
|
14009
|
+
type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason';
|
|
13929
14010
|
type OrganizationRestrictionRiskLevel = '5' | '10' | '15';
|
|
13930
14011
|
type OrganizationRestrictionScreeningStatus =
|
|
13931
14012
|
| 'approved'
|
|
@@ -14092,7 +14173,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14092
14173
|
| 'fraud_review'
|
|
14093
14174
|
| 'carrier_account'
|
|
14094
14175
|
| 'payment'
|
|
14095
|
-
| 'currency'
|
|
14096
14176
|
| 'label_generation_settings'
|
|
14097
14177
|
| 'ratecard';
|
|
14098
14178
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
@@ -14865,6 +14945,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14865
14945
|
readonly account: io.flow.internal.v0.models.AccountReference;
|
|
14866
14946
|
readonly reference?: string;
|
|
14867
14947
|
readonly sent_on: string;
|
|
14948
|
+
readonly status: io.flow.billing.v0.models.PayoutStatus;
|
|
14868
14949
|
readonly expected_delivery_by: string;
|
|
14869
14950
|
readonly total: io.flow.common.v0.models.Price;
|
|
14870
14951
|
}
|
|
@@ -14894,6 +14975,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14894
14975
|
readonly transfer_transaction_ids: string[];
|
|
14895
14976
|
}
|
|
14896
14977
|
|
|
14978
|
+
interface BankPaymentStatusForm {
|
|
14979
|
+
readonly code: io.flow.billing.v0.enums.PayoutStatusCode;
|
|
14980
|
+
readonly reason?: string;
|
|
14981
|
+
}
|
|
14982
|
+
|
|
14897
14983
|
interface BankPaymentUpserted {
|
|
14898
14984
|
readonly discriminator: 'bank_payment_upserted';
|
|
14899
14985
|
readonly event_id: string;
|
|
@@ -15668,6 +15754,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15668
15754
|
readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
15669
15755
|
}
|
|
15670
15756
|
|
|
15757
|
+
interface ChannelDebugTransaction {
|
|
15758
|
+
readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails;
|
|
15759
|
+
readonly order?: io.flow.internal.v0.models.DebugOrder;
|
|
15760
|
+
readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
|
|
15761
|
+
}
|
|
15762
|
+
|
|
15671
15763
|
interface ChannelForm {
|
|
15672
15764
|
readonly name: string;
|
|
15673
15765
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
@@ -18457,12 +18549,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18457
18549
|
readonly description: string;
|
|
18458
18550
|
}
|
|
18459
18551
|
|
|
18460
|
-
interface DebugTransactionForm {
|
|
18461
|
-
readonly transaction_id?: string;
|
|
18462
|
-
readonly capture_id?: string;
|
|
18463
|
-
readonly refund_id?: string;
|
|
18464
|
-
}
|
|
18465
|
-
|
|
18466
18552
|
interface DebugTransactionFx {
|
|
18467
18553
|
readonly timestamp?: string;
|
|
18468
18554
|
readonly market: io.flow.internal.v0.models.DebugTransactionFxRate[];
|
|
@@ -18477,6 +18563,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18477
18563
|
}
|
|
18478
18564
|
|
|
18479
18565
|
interface DebugTransactionQueued {
|
|
18566
|
+
readonly id: string;
|
|
18480
18567
|
readonly reasons: string[];
|
|
18481
18568
|
}
|
|
18482
18569
|
|
|
@@ -19535,6 +19622,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19535
19622
|
readonly fraud_pending_review: io.flow.internal.v0.models.FraudPendingReview;
|
|
19536
19623
|
}
|
|
19537
19624
|
|
|
19625
|
+
interface FraudProviderConfigurationDeleted {
|
|
19626
|
+
readonly discriminator: 'fraud_provider_configuration_deleted';
|
|
19627
|
+
readonly event_id: string;
|
|
19628
|
+
readonly timestamp: string;
|
|
19629
|
+
readonly organization: string;
|
|
19630
|
+
readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration;
|
|
19631
|
+
}
|
|
19632
|
+
|
|
19538
19633
|
interface FraudProviderConfigurationFormRiskified {
|
|
19539
19634
|
readonly discriminator: 'riskified';
|
|
19540
19635
|
readonly external_id: string;
|
|
@@ -19548,6 +19643,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19548
19643
|
readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
|
|
19549
19644
|
}
|
|
19550
19645
|
|
|
19646
|
+
interface FraudProviderConfigurationUpserted {
|
|
19647
|
+
readonly discriminator: 'fraud_provider_configuration_upserted';
|
|
19648
|
+
readonly event_id: string;
|
|
19649
|
+
readonly timestamp: string;
|
|
19650
|
+
readonly organization: string;
|
|
19651
|
+
readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration;
|
|
19652
|
+
}
|
|
19653
|
+
|
|
19551
19654
|
interface FraudReview {
|
|
19552
19655
|
readonly id: string;
|
|
19553
19656
|
readonly organization_id: string;
|
|
@@ -21203,6 +21306,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21203
21306
|
readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute;
|
|
21204
21307
|
}
|
|
21205
21308
|
|
|
21309
|
+
interface LabelTrackingSummaryDeleted {
|
|
21310
|
+
readonly discriminator: 'label_tracking_summary_deleted';
|
|
21311
|
+
readonly event_id: string;
|
|
21312
|
+
readonly timestamp: string;
|
|
21313
|
+
readonly organization: string;
|
|
21314
|
+
readonly id: string;
|
|
21315
|
+
}
|
|
21316
|
+
|
|
21317
|
+
interface LabelTrackingSummaryUpserted {
|
|
21318
|
+
readonly discriminator: 'label_tracking_summary_upserted';
|
|
21319
|
+
readonly event_id: string;
|
|
21320
|
+
readonly timestamp: string;
|
|
21321
|
+
readonly organization: string;
|
|
21322
|
+
readonly summary: io.flow.tracking.v0.models.LabelTrackingSummary;
|
|
21323
|
+
}
|
|
21324
|
+
|
|
21206
21325
|
interface LabelTransaction {
|
|
21207
21326
|
readonly discriminator: 'label_transaction';
|
|
21208
21327
|
readonly id: string;
|
|
@@ -22401,7 +22520,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22401
22520
|
readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
22402
22521
|
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
22403
22522
|
readonly hs_code?: string;
|
|
22523
|
+
readonly merchant_category_code?: string;
|
|
22404
22524
|
readonly note?: string;
|
|
22525
|
+
readonly rejection_reason?: string;
|
|
22405
22526
|
}
|
|
22406
22527
|
|
|
22407
22528
|
interface OrganizationRestrictionSnapshot {
|
|
@@ -22444,6 +22565,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22444
22565
|
readonly full_review_end_date?: string;
|
|
22445
22566
|
}
|
|
22446
22567
|
|
|
22568
|
+
interface OrganizationRestrictionStatusNote {
|
|
22569
|
+
readonly id: string;
|
|
22570
|
+
readonly note: string;
|
|
22571
|
+
readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
22572
|
+
readonly created_at: string;
|
|
22573
|
+
readonly updated_by: io.flow.common.v0.models.User;
|
|
22574
|
+
readonly updated_at: string;
|
|
22575
|
+
}
|
|
22576
|
+
|
|
22447
22577
|
interface OrganizationRestrictionStatusUpserted {
|
|
22448
22578
|
readonly discriminator: 'organization_restriction_status_upserted';
|
|
22449
22579
|
readonly event_id: string;
|
|
@@ -22451,16 +22581,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22451
22581
|
readonly organization_restriction_status: io.flow.internal.v0.models.OrganizationRestrictionStatus;
|
|
22452
22582
|
}
|
|
22453
22583
|
|
|
22454
|
-
interface OrganizationRestrictionSummary {
|
|
22455
|
-
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
22456
|
-
readonly earliest_date: string;
|
|
22457
|
-
readonly pending?: io.flow.internal.v0.models.RestrictionPending[];
|
|
22458
|
-
readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
|
|
22459
|
-
readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
|
|
22460
|
-
readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
|
|
22461
|
-
readonly total: number;
|
|
22462
|
-
}
|
|
22463
|
-
|
|
22464
22584
|
interface OrganizationSettings {
|
|
22465
22585
|
readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
22466
22586
|
readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
@@ -23560,6 +23680,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23560
23680
|
readonly id: string;
|
|
23561
23681
|
readonly name: string;
|
|
23562
23682
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
23683
|
+
readonly url?: string;
|
|
23684
|
+
readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
|
|
23685
|
+
readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
23686
|
+
readonly hs_code?: string;
|
|
23687
|
+
readonly merchant_category_code?: string;
|
|
23688
|
+
readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[];
|
|
23563
23689
|
readonly created_at: string;
|
|
23564
23690
|
}
|
|
23565
23691
|
|
|
@@ -25774,6 +25900,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25774
25900
|
| io.flow.internal.v0.models.FraudPendingReviewDeleted
|
|
25775
25901
|
| io.flow.internal.v0.models.FraudReviewDecisionUpserted
|
|
25776
25902
|
| io.flow.internal.v0.models.FraudReviewDecisionDeleted
|
|
25903
|
+
| io.flow.internal.v0.models.FraudProviderConfigurationUpserted
|
|
25904
|
+
| io.flow.internal.v0.models.FraudProviderConfigurationDeleted
|
|
25777
25905
|
| io.flow.internal.v0.models.FtpFileUpserted
|
|
25778
25906
|
| io.flow.internal.v0.models.FtpFileDeleted
|
|
25779
25907
|
| io.flow.internal.v0.models.FtpFileToProcessUploaded
|
|
@@ -25805,6 +25933,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25805
25933
|
| io.flow.internal.v0.models.IssuerUpserted
|
|
25806
25934
|
| io.flow.internal.v0.models.IssuerDeleted
|
|
25807
25935
|
| io.flow.internal.v0.models.ItemFormImportRequest
|
|
25936
|
+
| io.flow.internal.v0.models.LabelTrackingSummaryUpserted
|
|
25937
|
+
| io.flow.internal.v0.models.LabelTrackingSummaryDeleted
|
|
25808
25938
|
| io.flow.internal.v0.models.LocalizedItemUpsertedV2
|
|
25809
25939
|
| io.flow.internal.v0.models.LocalizedItemDeleted
|
|
25810
25940
|
| io.flow.internal.v0.models.LocalizedItemDeletedV2
|
|
@@ -26321,6 +26451,8 @@ export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
|
26321
26451
|
export type BankPaymentDeletedV2 =
|
|
26322
26452
|
io.flow.internal.v0.models.BankPaymentDeletedV2;
|
|
26323
26453
|
export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
26454
|
+
export type BankPaymentStatusForm =
|
|
26455
|
+
io.flow.internal.v0.models.BankPaymentStatusForm;
|
|
26324
26456
|
export type BankPaymentUpserted =
|
|
26325
26457
|
io.flow.internal.v0.models.BankPaymentUpserted;
|
|
26326
26458
|
export type BankPaymentUpsertedV2 =
|
|
@@ -26558,6 +26690,8 @@ export type ChannelCurrencySettingForm =
|
|
|
26558
26690
|
io.flow.internal.v0.models.ChannelCurrencySettingForm;
|
|
26559
26691
|
export type ChannelCurrencySettingUpserted =
|
|
26560
26692
|
io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
|
|
26693
|
+
export type ChannelDebugTransaction =
|
|
26694
|
+
io.flow.internal.v0.models.ChannelDebugTransaction;
|
|
26561
26695
|
export type ChannelForm = io.flow.internal.v0.models.ChannelForm;
|
|
26562
26696
|
export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
|
|
26563
26697
|
export type ChannelMembershipForm =
|
|
@@ -27770,8 +27904,6 @@ export type DebugTransactionDetails =
|
|
|
27770
27904
|
io.flow.internal.v0.models.DebugTransactionDetails;
|
|
27771
27905
|
export type DebugTransactionDetailsStatus =
|
|
27772
27906
|
io.flow.internal.v0.models.DebugTransactionDetailsStatus;
|
|
27773
|
-
export type DebugTransactionForm =
|
|
27774
|
-
io.flow.internal.v0.models.DebugTransactionForm;
|
|
27775
27907
|
export type DebugTransactionFx = io.flow.internal.v0.models.DebugTransactionFx;
|
|
27776
27908
|
export type DebugTransactionFxRate =
|
|
27777
27909
|
io.flow.internal.v0.models.DebugTransactionFxRate;
|
|
@@ -28056,12 +28188,16 @@ export type FraudPendingReviewUpserted =
|
|
|
28056
28188
|
export type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
|
|
28057
28189
|
export type FraudProviderConfiguration =
|
|
28058
28190
|
io.flow.internal.v0.unions.FraudProviderConfiguration;
|
|
28191
|
+
export type FraudProviderConfigurationDeleted =
|
|
28192
|
+
io.flow.internal.v0.models.FraudProviderConfigurationDeleted;
|
|
28059
28193
|
export type FraudProviderConfigurationForm =
|
|
28060
28194
|
io.flow.internal.v0.unions.FraudProviderConfigurationForm;
|
|
28061
28195
|
export type FraudProviderConfigurationFormRiskified =
|
|
28062
28196
|
io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
|
|
28063
28197
|
export type FraudProviderConfigurationRiskified =
|
|
28064
28198
|
io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
|
|
28199
|
+
export type FraudProviderConfigurationUpserted =
|
|
28200
|
+
io.flow.internal.v0.models.FraudProviderConfigurationUpserted;
|
|
28065
28201
|
export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
|
|
28066
28202
|
export type FraudReview = io.flow.internal.v0.models.FraudReview;
|
|
28067
28203
|
export type FraudReviewDecision =
|
|
@@ -28399,6 +28535,10 @@ export type LabelGenerationSettingsForm =
|
|
|
28399
28535
|
io.flow.internal.v0.models.LabelGenerationSettingsForm;
|
|
28400
28536
|
export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
28401
28537
|
export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
|
|
28538
|
+
export type LabelTrackingSummaryDeleted =
|
|
28539
|
+
io.flow.internal.v0.models.LabelTrackingSummaryDeleted;
|
|
28540
|
+
export type LabelTrackingSummaryUpserted =
|
|
28541
|
+
io.flow.internal.v0.models.LabelTrackingSummaryUpserted;
|
|
28402
28542
|
export type LabelTransaction = io.flow.internal.v0.models.LabelTransaction;
|
|
28403
28543
|
export type LabelTransactionType =
|
|
28404
28544
|
io.flow.internal.v0.enums.LabelTransactionType;
|
|
@@ -28747,6 +28887,8 @@ export type OrganizationRestrictionApprovalStatus =
|
|
|
28747
28887
|
io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
|
|
28748
28888
|
export type OrganizationRestrictionApprovalUpserted =
|
|
28749
28889
|
io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted;
|
|
28890
|
+
export type OrganizationRestrictionNoteType =
|
|
28891
|
+
io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
|
|
28750
28892
|
export type OrganizationRestrictionRiskLevel =
|
|
28751
28893
|
io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
|
|
28752
28894
|
export type OrganizationRestrictionScreeningDecisionForm =
|
|
@@ -28761,10 +28903,10 @@ export type OrganizationRestrictionSnapshotUpserted =
|
|
|
28761
28903
|
io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted;
|
|
28762
28904
|
export type OrganizationRestrictionStatus =
|
|
28763
28905
|
io.flow.internal.v0.models.OrganizationRestrictionStatus;
|
|
28906
|
+
export type OrganizationRestrictionStatusNote =
|
|
28907
|
+
io.flow.internal.v0.models.OrganizationRestrictionStatusNote;
|
|
28764
28908
|
export type OrganizationRestrictionStatusUpserted =
|
|
28765
28909
|
io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted;
|
|
28766
|
-
export type OrganizationRestrictionSummary =
|
|
28767
|
-
io.flow.internal.v0.models.OrganizationRestrictionSummary;
|
|
28768
28910
|
export type OrganizationSettings =
|
|
28769
28911
|
io.flow.internal.v0.models.OrganizationSettings;
|
|
28770
28912
|
export type OrganizationSettingsForm =
|