@flowio/types 11.24.79 → 11.24.81
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 +1700 -1314
- package/dist/api.d.ts +34 -2
- package/package.json +2 -2
- package/src/api-internal.ts +1942 -1411
- package/src/api.ts +66 -0
package/src/api.ts
CHANGED
|
@@ -2605,6 +2605,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2605
2605
|
| 'maestro'
|
|
2606
2606
|
| 'mastercard'
|
|
2607
2607
|
| 'visa';
|
|
2608
|
+
type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other';
|
|
2608
2609
|
type CenterCapability =
|
|
2609
2610
|
| 'international'
|
|
2610
2611
|
| 'domestic'
|
|
@@ -3303,6 +3304,35 @@ declare namespace io.flow.v0.enums {
|
|
|
3303
3304
|
| 'adjustment';
|
|
3304
3305
|
type PriceFacetBoundary = 'min' | 'max';
|
|
3305
3306
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
3307
|
+
type ProductRestrictionRule =
|
|
3308
|
+
| 'Adult Products'
|
|
3309
|
+
| 'Alcohol'
|
|
3310
|
+
| 'Anti Money Laundering'
|
|
3311
|
+
| 'Collagen'
|
|
3312
|
+
| 'Consumer Safety'
|
|
3313
|
+
| 'Cosmetics'
|
|
3314
|
+
| 'DG - Batteries'
|
|
3315
|
+
| 'DG - Hazmat'
|
|
3316
|
+
| 'Drugs'
|
|
3317
|
+
| 'Dual Use'
|
|
3318
|
+
| 'Fine Art'
|
|
3319
|
+
| 'Fish & Wildlife - CITES'
|
|
3320
|
+
| 'Fish & Wildlife - Plant'
|
|
3321
|
+
| 'Fish & Wildlife - USFWS'
|
|
3322
|
+
| 'Food'
|
|
3323
|
+
| 'Gambling'
|
|
3324
|
+
| 'Health'
|
|
3325
|
+
| 'Human hair'
|
|
3326
|
+
| 'Insufficient Details'
|
|
3327
|
+
| 'Intangible'
|
|
3328
|
+
| 'Jewelry'
|
|
3329
|
+
| 'Jewelry & Watches Over 5000'
|
|
3330
|
+
| 'Knives'
|
|
3331
|
+
| 'Liquids'
|
|
3332
|
+
| 'Oversized'
|
|
3333
|
+
| 'Supplements'
|
|
3334
|
+
| 'Weapon'
|
|
3335
|
+
| 'Wood';
|
|
3306
3336
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
3307
3337
|
type ProvinceType =
|
|
3308
3338
|
| 'area'
|
|
@@ -3366,6 +3396,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3366
3396
|
| 'partial_reversal_not_supported'
|
|
3367
3397
|
| 'unknown';
|
|
3368
3398
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
3399
|
+
type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
|
|
3369
3400
|
type Role = 'admin' | 'member';
|
|
3370
3401
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
3371
3402
|
type RoundingType = 'pattern' | 'multiple';
|
|
@@ -3456,6 +3487,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3456
3487
|
| 'shipping_label'
|
|
3457
3488
|
| 'shipping_label_service'
|
|
3458
3489
|
| 'trueup'
|
|
3490
|
+
| 'carrier_charge'
|
|
3459
3491
|
| 'shipping_label_revenue_share'
|
|
3460
3492
|
| 'platform_fee'
|
|
3461
3493
|
| 'tax'
|
|
@@ -9871,6 +9903,8 @@ declare namespace io.flow.v0.models {
|
|
|
9871
9903
|
readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
|
|
9872
9904
|
readonly amount: number;
|
|
9873
9905
|
readonly currency: string;
|
|
9906
|
+
readonly base_amount?: number;
|
|
9907
|
+
readonly base_currency?: string;
|
|
9874
9908
|
}
|
|
9875
9909
|
|
|
9876
9910
|
interface PaymentAuthorizationStatus {
|
|
@@ -9882,6 +9916,8 @@ declare namespace io.flow.v0.models {
|
|
|
9882
9916
|
readonly id: string;
|
|
9883
9917
|
readonly amount: number;
|
|
9884
9918
|
readonly currency: string;
|
|
9919
|
+
readonly base_amount?: number;
|
|
9920
|
+
readonly base_currency?: string;
|
|
9885
9921
|
readonly created_at: string;
|
|
9886
9922
|
readonly updated_at: string;
|
|
9887
9923
|
readonly status: io.flow.v0.models.PaymentCaptureStatus;
|
|
@@ -10314,6 +10350,8 @@ declare namespace io.flow.v0.models {
|
|
|
10314
10350
|
readonly id: string;
|
|
10315
10351
|
readonly amount: number;
|
|
10316
10352
|
readonly currency: string;
|
|
10353
|
+
readonly base_amount?: number;
|
|
10354
|
+
readonly base_currency?: string;
|
|
10317
10355
|
readonly created_at: string;
|
|
10318
10356
|
readonly updated_at: string;
|
|
10319
10357
|
readonly status: io.flow.v0.models.PaymentRefundStatus;
|
|
@@ -10339,6 +10377,8 @@ declare namespace io.flow.v0.models {
|
|
|
10339
10377
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
10340
10378
|
readonly amount: number;
|
|
10341
10379
|
readonly currency: string;
|
|
10380
|
+
readonly base_amount?: number;
|
|
10381
|
+
readonly base_currency?: string;
|
|
10342
10382
|
readonly order_information: io.flow.v0.unions.OrderInformation;
|
|
10343
10383
|
readonly device_details: io.flow.v0.unions.DeviceDetails;
|
|
10344
10384
|
readonly locale?: string;
|
|
@@ -10353,6 +10393,12 @@ declare namespace io.flow.v0.models {
|
|
|
10353
10393
|
|
|
10354
10394
|
interface PaymentRequestBilling {
|
|
10355
10395
|
readonly fees: io.flow.v0.models.PaymentRequestBillingFees;
|
|
10396
|
+
readonly currency_rate?: io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
10397
|
+
}
|
|
10398
|
+
|
|
10399
|
+
interface PaymentRequestBillingCurrencyRate {
|
|
10400
|
+
readonly base_amount: number;
|
|
10401
|
+
readonly base_currency: string;
|
|
10356
10402
|
}
|
|
10357
10403
|
|
|
10358
10404
|
interface PaymentRequestBillingFees {
|
|
@@ -10419,6 +10465,8 @@ declare namespace io.flow.v0.models {
|
|
|
10419
10465
|
readonly id: string;
|
|
10420
10466
|
readonly amount: number;
|
|
10421
10467
|
readonly currency: string;
|
|
10468
|
+
readonly base_amount?: number;
|
|
10469
|
+
readonly base_currency?: string;
|
|
10422
10470
|
readonly created_at: string;
|
|
10423
10471
|
readonly updated_at: string;
|
|
10424
10472
|
readonly status: io.flow.v0.models.PaymentReversalStatus;
|
|
@@ -10866,6 +10914,9 @@ declare namespace io.flow.v0.models {
|
|
|
10866
10914
|
readonly product_id: string;
|
|
10867
10915
|
readonly item_numbers: string[];
|
|
10868
10916
|
readonly prohibited_regions: string[];
|
|
10917
|
+
readonly review_status?: io.flow.v0.enums.ReviewStatus;
|
|
10918
|
+
readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
10919
|
+
readonly updated_by_user_id?: string;
|
|
10869
10920
|
}
|
|
10870
10921
|
|
|
10871
10922
|
interface ProductRestrictionResultDeleted {
|
|
@@ -13378,6 +13429,13 @@ declare namespace io.flow.v0.models {
|
|
|
13378
13429
|
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
13379
13430
|
}
|
|
13380
13431
|
|
|
13432
|
+
interface TransactionMetadataCarrierCharge {
|
|
13433
|
+
readonly discriminator: 'carrier_charge';
|
|
13434
|
+
readonly reason: io.flow.v0.enums.CarrierChargeReason;
|
|
13435
|
+
readonly carrier_id: string;
|
|
13436
|
+
readonly carrier_tracking_number: string;
|
|
13437
|
+
}
|
|
13438
|
+
|
|
13381
13439
|
interface TransactionMetadataChannel {
|
|
13382
13440
|
readonly discriminator: 'channel';
|
|
13383
13441
|
readonly method: string;
|
|
@@ -14316,6 +14374,7 @@ declare namespace io.flow.v0.unions {
|
|
|
14316
14374
|
| io.flow.v0.models.TransactionMetadataShippingLabel
|
|
14317
14375
|
| io.flow.v0.models.TransactionMetadataChannel
|
|
14318
14376
|
| io.flow.v0.models.TransactionMetadataTrueup
|
|
14377
|
+
| io.flow.v0.models.TransactionMetadataCarrierCharge
|
|
14319
14378
|
| io.flow.v0.models.TransactionMetadataManual;
|
|
14320
14379
|
}
|
|
14321
14380
|
|
|
@@ -14583,6 +14642,7 @@ export type CardType = io.flow.v0.enums.CardType;
|
|
|
14583
14642
|
export type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2;
|
|
14584
14643
|
export type CardVersion = io.flow.v0.models.CardVersion;
|
|
14585
14644
|
export type Carrier = io.flow.v0.models.Carrier;
|
|
14645
|
+
export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
|
|
14586
14646
|
export type CarrierReference = io.flow.v0.models.CarrierReference;
|
|
14587
14647
|
export type CarrierService = io.flow.v0.models.CarrierService;
|
|
14588
14648
|
export type CartReference = io.flow.v0.models.CartReference;
|
|
@@ -15851,6 +15911,8 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
15851
15911
|
export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
15852
15912
|
export type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
15853
15913
|
export type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling;
|
|
15914
|
+
export type PaymentRequestBillingCurrencyRate =
|
|
15915
|
+
io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
15854
15916
|
export type PaymentRequestBillingFees =
|
|
15855
15917
|
io.flow.v0.models.PaymentRequestBillingFees;
|
|
15856
15918
|
export type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
|
|
@@ -15972,6 +16034,7 @@ export type ProductRestrictionResultDeleted =
|
|
|
15972
16034
|
io.flow.v0.models.ProductRestrictionResultDeleted;
|
|
15973
16035
|
export type ProductRestrictionResultUpserted =
|
|
15974
16036
|
io.flow.v0.models.ProductRestrictionResultUpserted;
|
|
16037
|
+
export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
|
|
15975
16038
|
export type Promotion = io.flow.v0.unions.Promotion;
|
|
15976
16039
|
export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
15977
16040
|
export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
|
|
@@ -16122,6 +16185,7 @@ export type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
|
|
|
16122
16185
|
export type ReversalStatus = io.flow.v0.enums.ReversalStatus;
|
|
16123
16186
|
export type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
|
|
16124
16187
|
export type ReversalVersion = io.flow.v0.models.ReversalVersion;
|
|
16188
|
+
export type ReviewStatus = io.flow.v0.enums.ReviewStatus;
|
|
16125
16189
|
export type Role = io.flow.v0.enums.Role;
|
|
16126
16190
|
export type Romanization = io.flow.v0.models.Romanization;
|
|
16127
16191
|
export type RomanizationForm = io.flow.v0.models.RomanizationForm;
|
|
@@ -16469,6 +16533,8 @@ export type Transaction = io.flow.v0.models.Transaction;
|
|
|
16469
16533
|
export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
|
|
16470
16534
|
export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
16471
16535
|
export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
|
|
16536
|
+
export type TransactionMetadataCarrierCharge =
|
|
16537
|
+
io.flow.v0.models.TransactionMetadataCarrierCharge;
|
|
16472
16538
|
export type TransactionMetadataChannel =
|
|
16473
16539
|
io.flow.v0.models.TransactionMetadataChannel;
|
|
16474
16540
|
export type TransactionMetadataChannelCardMetadata =
|