@flowio/types 11.24.80 → 11.24.82
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 +1732 -1287
- package/dist/api.d.ts +31 -6
- package/package.json +2 -2
- package/src/api-internal.ts +1966 -1441
- package/src/api.ts +36 -5
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'
|
|
@@ -3329,10 +3330,10 @@ declare namespace io.flow.v0.enums {
|
|
|
3329
3330
|
| 'Knives'
|
|
3330
3331
|
| 'Liquids'
|
|
3331
3332
|
| 'Oversized'
|
|
3333
|
+
| 'Restrict by Default'
|
|
3332
3334
|
| 'Supplements'
|
|
3333
3335
|
| 'Weapon'
|
|
3334
|
-
| 'Wood'
|
|
3335
|
-
| 'unknown';
|
|
3336
|
+
| 'Wood';
|
|
3336
3337
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
3337
3338
|
type ProvinceType =
|
|
3338
3339
|
| 'area'
|
|
@@ -3487,6 +3488,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3487
3488
|
| 'shipping_label'
|
|
3488
3489
|
| 'shipping_label_service'
|
|
3489
3490
|
| 'trueup'
|
|
3491
|
+
| 'carrier_charge'
|
|
3490
3492
|
| 'shipping_label_revenue_share'
|
|
3491
3493
|
| 'platform_fee'
|
|
3492
3494
|
| 'tax'
|
|
@@ -9902,6 +9904,8 @@ declare namespace io.flow.v0.models {
|
|
|
9902
9904
|
readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
|
|
9903
9905
|
readonly amount: number;
|
|
9904
9906
|
readonly currency: string;
|
|
9907
|
+
readonly base_amount?: number;
|
|
9908
|
+
readonly base_currency?: string;
|
|
9905
9909
|
}
|
|
9906
9910
|
|
|
9907
9911
|
interface PaymentAuthorizationStatus {
|
|
@@ -9913,6 +9917,8 @@ declare namespace io.flow.v0.models {
|
|
|
9913
9917
|
readonly id: string;
|
|
9914
9918
|
readonly amount: number;
|
|
9915
9919
|
readonly currency: string;
|
|
9920
|
+
readonly base_amount?: number;
|
|
9921
|
+
readonly base_currency?: string;
|
|
9916
9922
|
readonly created_at: string;
|
|
9917
9923
|
readonly updated_at: string;
|
|
9918
9924
|
readonly status: io.flow.v0.models.PaymentCaptureStatus;
|
|
@@ -10345,6 +10351,8 @@ declare namespace io.flow.v0.models {
|
|
|
10345
10351
|
readonly id: string;
|
|
10346
10352
|
readonly amount: number;
|
|
10347
10353
|
readonly currency: string;
|
|
10354
|
+
readonly base_amount?: number;
|
|
10355
|
+
readonly base_currency?: string;
|
|
10348
10356
|
readonly created_at: string;
|
|
10349
10357
|
readonly updated_at: string;
|
|
10350
10358
|
readonly status: io.flow.v0.models.PaymentRefundStatus;
|
|
@@ -10370,6 +10378,8 @@ declare namespace io.flow.v0.models {
|
|
|
10370
10378
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
10371
10379
|
readonly amount: number;
|
|
10372
10380
|
readonly currency: string;
|
|
10381
|
+
readonly base_amount?: number;
|
|
10382
|
+
readonly base_currency?: string;
|
|
10373
10383
|
readonly order_information: io.flow.v0.unions.OrderInformation;
|
|
10374
10384
|
readonly device_details: io.flow.v0.unions.DeviceDetails;
|
|
10375
10385
|
readonly locale?: string;
|
|
@@ -10384,6 +10394,12 @@ declare namespace io.flow.v0.models {
|
|
|
10384
10394
|
|
|
10385
10395
|
interface PaymentRequestBilling {
|
|
10386
10396
|
readonly fees: io.flow.v0.models.PaymentRequestBillingFees;
|
|
10397
|
+
readonly currency_rate?: io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
10398
|
+
}
|
|
10399
|
+
|
|
10400
|
+
interface PaymentRequestBillingCurrencyRate {
|
|
10401
|
+
readonly base_amount: number;
|
|
10402
|
+
readonly base_currency: string;
|
|
10387
10403
|
}
|
|
10388
10404
|
|
|
10389
10405
|
interface PaymentRequestBillingFees {
|
|
@@ -10450,6 +10466,8 @@ declare namespace io.flow.v0.models {
|
|
|
10450
10466
|
readonly id: string;
|
|
10451
10467
|
readonly amount: number;
|
|
10452
10468
|
readonly currency: string;
|
|
10469
|
+
readonly base_amount?: number;
|
|
10470
|
+
readonly base_currency?: string;
|
|
10453
10471
|
readonly created_at: string;
|
|
10454
10472
|
readonly updated_at: string;
|
|
10455
10473
|
readonly status: io.flow.v0.models.PaymentReversalStatus;
|
|
@@ -10897,9 +10915,9 @@ declare namespace io.flow.v0.models {
|
|
|
10897
10915
|
readonly product_id: string;
|
|
10898
10916
|
readonly item_numbers: string[];
|
|
10899
10917
|
readonly prohibited_regions: string[];
|
|
10900
|
-
readonly review_status
|
|
10901
|
-
readonly rules
|
|
10902
|
-
readonly
|
|
10918
|
+
readonly review_status?: io.flow.v0.enums.ReviewStatus;
|
|
10919
|
+
readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
10920
|
+
readonly updated_by?: string;
|
|
10903
10921
|
}
|
|
10904
10922
|
|
|
10905
10923
|
interface ProductRestrictionResultDeleted {
|
|
@@ -13412,6 +13430,13 @@ declare namespace io.flow.v0.models {
|
|
|
13412
13430
|
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
13413
13431
|
}
|
|
13414
13432
|
|
|
13433
|
+
interface TransactionMetadataCarrierCharge {
|
|
13434
|
+
readonly discriminator: 'carrier_charge';
|
|
13435
|
+
readonly reason: io.flow.v0.enums.CarrierChargeReason;
|
|
13436
|
+
readonly carrier_id: string;
|
|
13437
|
+
readonly carrier_tracking_number: string;
|
|
13438
|
+
}
|
|
13439
|
+
|
|
13415
13440
|
interface TransactionMetadataChannel {
|
|
13416
13441
|
readonly discriminator: 'channel';
|
|
13417
13442
|
readonly method: string;
|
|
@@ -14350,6 +14375,7 @@ declare namespace io.flow.v0.unions {
|
|
|
14350
14375
|
| io.flow.v0.models.TransactionMetadataShippingLabel
|
|
14351
14376
|
| io.flow.v0.models.TransactionMetadataChannel
|
|
14352
14377
|
| io.flow.v0.models.TransactionMetadataTrueup
|
|
14378
|
+
| io.flow.v0.models.TransactionMetadataCarrierCharge
|
|
14353
14379
|
| io.flow.v0.models.TransactionMetadataManual;
|
|
14354
14380
|
}
|
|
14355
14381
|
|
|
@@ -14617,6 +14643,7 @@ export type CardType = io.flow.v0.enums.CardType;
|
|
|
14617
14643
|
export type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2;
|
|
14618
14644
|
export type CardVersion = io.flow.v0.models.CardVersion;
|
|
14619
14645
|
export type Carrier = io.flow.v0.models.Carrier;
|
|
14646
|
+
export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
|
|
14620
14647
|
export type CarrierReference = io.flow.v0.models.CarrierReference;
|
|
14621
14648
|
export type CarrierService = io.flow.v0.models.CarrierService;
|
|
14622
14649
|
export type CartReference = io.flow.v0.models.CartReference;
|
|
@@ -15885,6 +15912,8 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
15885
15912
|
export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
15886
15913
|
export type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
15887
15914
|
export type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling;
|
|
15915
|
+
export type PaymentRequestBillingCurrencyRate =
|
|
15916
|
+
io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
15888
15917
|
export type PaymentRequestBillingFees =
|
|
15889
15918
|
io.flow.v0.models.PaymentRequestBillingFees;
|
|
15890
15919
|
export type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
|
|
@@ -16505,6 +16534,8 @@ export type Transaction = io.flow.v0.models.Transaction;
|
|
|
16505
16534
|
export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
|
|
16506
16535
|
export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
16507
16536
|
export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
|
|
16537
|
+
export type TransactionMetadataCarrierCharge =
|
|
16538
|
+
io.flow.v0.models.TransactionMetadataCarrierCharge;
|
|
16508
16539
|
export type TransactionMetadataChannel =
|
|
16509
16540
|
io.flow.v0.models.TransactionMetadataChannel;
|
|
16510
16541
|
export type TransactionMetadataChannelCardMetadata =
|