@flowio/types 11.24.80 → 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/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'
@@ -3331,8 +3332,7 @@ declare namespace io.flow.v0.enums {
3331
3332
  | 'Oversized'
3332
3333
  | 'Supplements'
3333
3334
  | 'Weapon'
3334
- | 'Wood'
3335
- | 'unknown';
3335
+ | 'Wood';
3336
3336
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
3337
3337
  type ProvinceType =
3338
3338
  | 'area'
@@ -3487,6 +3487,7 @@ declare namespace io.flow.v0.enums {
3487
3487
  | 'shipping_label'
3488
3488
  | 'shipping_label_service'
3489
3489
  | 'trueup'
3490
+ | 'carrier_charge'
3490
3491
  | 'shipping_label_revenue_share'
3491
3492
  | 'platform_fee'
3492
3493
  | 'tax'
@@ -9902,6 +9903,8 @@ declare namespace io.flow.v0.models {
9902
9903
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
9903
9904
  readonly amount: number;
9904
9905
  readonly currency: string;
9906
+ readonly base_amount?: number;
9907
+ readonly base_currency?: string;
9905
9908
  }
9906
9909
 
9907
9910
  interface PaymentAuthorizationStatus {
@@ -9913,6 +9916,8 @@ declare namespace io.flow.v0.models {
9913
9916
  readonly id: string;
9914
9917
  readonly amount: number;
9915
9918
  readonly currency: string;
9919
+ readonly base_amount?: number;
9920
+ readonly base_currency?: string;
9916
9921
  readonly created_at: string;
9917
9922
  readonly updated_at: string;
9918
9923
  readonly status: io.flow.v0.models.PaymentCaptureStatus;
@@ -10345,6 +10350,8 @@ declare namespace io.flow.v0.models {
10345
10350
  readonly id: string;
10346
10351
  readonly amount: number;
10347
10352
  readonly currency: string;
10353
+ readonly base_amount?: number;
10354
+ readonly base_currency?: string;
10348
10355
  readonly created_at: string;
10349
10356
  readonly updated_at: string;
10350
10357
  readonly status: io.flow.v0.models.PaymentRefundStatus;
@@ -10370,6 +10377,8 @@ declare namespace io.flow.v0.models {
10370
10377
  readonly next_action?: io.flow.v0.unions.Action;
10371
10378
  readonly amount: number;
10372
10379
  readonly currency: string;
10380
+ readonly base_amount?: number;
10381
+ readonly base_currency?: string;
10373
10382
  readonly order_information: io.flow.v0.unions.OrderInformation;
10374
10383
  readonly device_details: io.flow.v0.unions.DeviceDetails;
10375
10384
  readonly locale?: string;
@@ -10384,6 +10393,12 @@ declare namespace io.flow.v0.models {
10384
10393
 
10385
10394
  interface PaymentRequestBilling {
10386
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;
10387
10402
  }
10388
10403
 
10389
10404
  interface PaymentRequestBillingFees {
@@ -10450,6 +10465,8 @@ declare namespace io.flow.v0.models {
10450
10465
  readonly id: string;
10451
10466
  readonly amount: number;
10452
10467
  readonly currency: string;
10468
+ readonly base_amount?: number;
10469
+ readonly base_currency?: string;
10453
10470
  readonly created_at: string;
10454
10471
  readonly updated_at: string;
10455
10472
  readonly status: io.flow.v0.models.PaymentReversalStatus;
@@ -10897,9 +10914,9 @@ declare namespace io.flow.v0.models {
10897
10914
  readonly product_id: string;
10898
10915
  readonly item_numbers: string[];
10899
10916
  readonly prohibited_regions: string[];
10900
- readonly review_status: io.flow.v0.enums.ReviewStatus;
10901
- readonly rules: io.flow.v0.enums.ProductRestrictionRule[];
10902
- readonly updated_by_user_id: 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;
10903
10920
  }
10904
10921
 
10905
10922
  interface ProductRestrictionResultDeleted {
@@ -13412,6 +13429,13 @@ declare namespace io.flow.v0.models {
13412
13429
  readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
13413
13430
  }
13414
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
+
13415
13439
  interface TransactionMetadataChannel {
13416
13440
  readonly discriminator: 'channel';
13417
13441
  readonly method: string;
@@ -14350,6 +14374,7 @@ declare namespace io.flow.v0.unions {
14350
14374
  | io.flow.v0.models.TransactionMetadataShippingLabel
14351
14375
  | io.flow.v0.models.TransactionMetadataChannel
14352
14376
  | io.flow.v0.models.TransactionMetadataTrueup
14377
+ | io.flow.v0.models.TransactionMetadataCarrierCharge
14353
14378
  | io.flow.v0.models.TransactionMetadataManual;
14354
14379
  }
14355
14380
 
@@ -14617,6 +14642,7 @@ export type CardType = io.flow.v0.enums.CardType;
14617
14642
  export type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2;
14618
14643
  export type CardVersion = io.flow.v0.models.CardVersion;
14619
14644
  export type Carrier = io.flow.v0.models.Carrier;
14645
+ export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
14620
14646
  export type CarrierReference = io.flow.v0.models.CarrierReference;
14621
14647
  export type CarrierService = io.flow.v0.models.CarrierService;
14622
14648
  export type CartReference = io.flow.v0.models.CartReference;
@@ -15885,6 +15911,8 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
15885
15911
  export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
15886
15912
  export type PaymentRequest = io.flow.v0.models.PaymentRequest;
15887
15913
  export type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling;
15914
+ export type PaymentRequestBillingCurrencyRate =
15915
+ io.flow.v0.models.PaymentRequestBillingCurrencyRate;
15888
15916
  export type PaymentRequestBillingFees =
15889
15917
  io.flow.v0.models.PaymentRequestBillingFees;
15890
15918
  export type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
@@ -16505,6 +16533,8 @@ export type Transaction = io.flow.v0.models.Transaction;
16505
16533
  export type TransactionDetails = io.flow.v0.unions.TransactionDetails;
16506
16534
  export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
16507
16535
  export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
16536
+ export type TransactionMetadataCarrierCharge =
16537
+ io.flow.v0.models.TransactionMetadataCarrierCharge;
16508
16538
  export type TransactionMetadataChannel =
16509
16539
  io.flow.v0.models.TransactionMetadataChannel;
16510
16540
  export type TransactionMetadataChannelCardMetadata =