@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.d.ts CHANGED
@@ -1871,6 +1871,7 @@ declare namespace io.flow.v0.enums {
1871
1871
  type CaptureStatus = 'initiated' | 'pending' | 'succeeded' | 'failed' | 'canceled';
1872
1872
  type CardErrorCode = 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown';
1873
1873
  type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
1874
+ type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other';
1874
1875
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
1875
1876
  type ChangeType = 'insert' | 'update' | 'delete';
1876
1877
  type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
@@ -1999,6 +2000,7 @@ declare namespace io.flow.v0.enums {
1999
2000
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
2000
2001
  type PriceFacetBoundary = 'min' | 'max';
2001
2002
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
2003
+ type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood';
2002
2004
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
2003
2005
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2004
2006
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -2012,6 +2014,7 @@ declare namespace io.flow.v0.enums {
2012
2014
  type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
2013
2015
  type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
2014
2016
  type ReversalStatus = 'pending' | 'processed' | 'failed';
2017
+ type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
2015
2018
  type Role = 'admin' | 'member';
2016
2019
  type RoundingMethod = 'up' | 'down' | 'nearest';
2017
2020
  type RoundingType = 'pattern' | 'multiple';
@@ -2047,7 +2050,7 @@ declare namespace io.flow.v0.enums {
2047
2050
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2048
2051
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2049
2052
  type TradeAgreementStatus = 'supported' | 'not_supported';
2050
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
2053
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
2051
2054
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2052
2055
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
2053
2056
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
@@ -7528,6 +7531,8 @@ declare namespace io.flow.v0.models {
7528
7531
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
7529
7532
  readonly amount: number;
7530
7533
  readonly currency: string;
7534
+ readonly base_amount?: number;
7535
+ readonly base_currency?: string;
7531
7536
  }
7532
7537
  interface PaymentAuthorizationStatus {
7533
7538
  readonly status: io.flow.v0.enums.AuthorizationStatus;
@@ -7537,6 +7542,8 @@ declare namespace io.flow.v0.models {
7537
7542
  readonly id: string;
7538
7543
  readonly amount: number;
7539
7544
  readonly currency: string;
7545
+ readonly base_amount?: number;
7546
+ readonly base_currency?: string;
7540
7547
  readonly created_at: string;
7541
7548
  readonly updated_at: string;
7542
7549
  readonly status: io.flow.v0.models.PaymentCaptureStatus;
@@ -7899,6 +7906,8 @@ declare namespace io.flow.v0.models {
7899
7906
  readonly id: string;
7900
7907
  readonly amount: number;
7901
7908
  readonly currency: string;
7909
+ readonly base_amount?: number;
7910
+ readonly base_currency?: string;
7902
7911
  readonly created_at: string;
7903
7912
  readonly updated_at: string;
7904
7913
  readonly status: io.flow.v0.models.PaymentRefundStatus;
@@ -7921,6 +7930,8 @@ declare namespace io.flow.v0.models {
7921
7930
  readonly next_action?: io.flow.v0.unions.Action;
7922
7931
  readonly amount: number;
7923
7932
  readonly currency: string;
7933
+ readonly base_amount?: number;
7934
+ readonly base_currency?: string;
7924
7935
  readonly order_information: io.flow.v0.unions.OrderInformation;
7925
7936
  readonly device_details: io.flow.v0.unions.DeviceDetails;
7926
7937
  readonly locale?: string;
@@ -7934,6 +7945,11 @@ declare namespace io.flow.v0.models {
7934
7945
  }
7935
7946
  interface PaymentRequestBilling {
7936
7947
  readonly fees: io.flow.v0.models.PaymentRequestBillingFees;
7948
+ readonly currency_rate?: io.flow.v0.models.PaymentRequestBillingCurrencyRate;
7949
+ }
7950
+ interface PaymentRequestBillingCurrencyRate {
7951
+ readonly base_amount: number;
7952
+ readonly base_currency: string;
7937
7953
  }
7938
7954
  interface PaymentRequestBillingFees {
7939
7955
  readonly mor_fee_rate?: number;
@@ -7990,6 +8006,8 @@ declare namespace io.flow.v0.models {
7990
8006
  readonly id: string;
7991
8007
  readonly amount: number;
7992
8008
  readonly currency: string;
8009
+ readonly base_amount?: number;
8010
+ readonly base_currency?: string;
7993
8011
  readonly created_at: string;
7994
8012
  readonly updated_at: string;
7995
8013
  readonly status: io.flow.v0.models.PaymentReversalStatus;
@@ -8372,6 +8390,9 @@ declare namespace io.flow.v0.models {
8372
8390
  readonly product_id: string;
8373
8391
  readonly item_numbers: string[];
8374
8392
  readonly prohibited_regions: string[];
8393
+ readonly review_status?: io.flow.v0.enums.ReviewStatus;
8394
+ readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
8395
+ readonly updated_by_user_id?: string;
8375
8396
  }
8376
8397
  interface ProductRestrictionResultDeleted {
8377
8398
  readonly discriminator: 'product_restriction_result_deleted';
@@ -10551,6 +10572,12 @@ declare namespace io.flow.v0.models {
10551
10572
  readonly cvv_result?: io.flow.v0.models.CvvResult;
10552
10573
  readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
10553
10574
  }
10575
+ interface TransactionMetadataCarrierCharge {
10576
+ readonly discriminator: 'carrier_charge';
10577
+ readonly reason: io.flow.v0.enums.CarrierChargeReason;
10578
+ readonly carrier_id: string;
10579
+ readonly carrier_tracking_number: string;
10580
+ }
10554
10581
  interface TransactionMetadataChannel {
10555
10582
  readonly discriminator: 'channel';
10556
10583
  readonly method: string;
@@ -10946,7 +10973,7 @@ declare namespace io.flow.v0.unions {
10946
10973
  type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
10947
10974
  type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
10948
10975
  type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
10949
- type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataManual;
10976
+ type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual;
10950
10977
  }
10951
10978
  export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
10952
10979
  export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
@@ -11148,6 +11175,7 @@ export declare type CardType = io.flow.v0.enums.CardType;
11148
11175
  export declare type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2;
11149
11176
  export declare type CardVersion = io.flow.v0.models.CardVersion;
11150
11177
  export declare type Carrier = io.flow.v0.models.Carrier;
11178
+ export declare type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
11151
11179
  export declare type CarrierReference = io.flow.v0.models.CarrierReference;
11152
11180
  export declare type CarrierService = io.flow.v0.models.CarrierService;
11153
11181
  export declare type CartReference = io.flow.v0.models.CartReference;
@@ -12125,6 +12153,7 @@ export declare type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
12125
12153
  export declare type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
12126
12154
  export declare type PaymentRequest = io.flow.v0.models.PaymentRequest;
12127
12155
  export declare type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling;
12156
+ export declare type PaymentRequestBillingCurrencyRate = io.flow.v0.models.PaymentRequestBillingCurrencyRate;
12128
12157
  export declare type PaymentRequestBillingFees = io.flow.v0.models.PaymentRequestBillingFees;
12129
12158
  export declare type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
12130
12159
  export declare type PaymentRequestBundleForm = io.flow.v0.models.PaymentRequestBundleForm;
@@ -12222,6 +12251,7 @@ export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
12222
12251
  export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
12223
12252
  export declare type ProductRestrictionResultDeleted = io.flow.v0.models.ProductRestrictionResultDeleted;
12224
12253
  export declare type ProductRestrictionResultUpserted = io.flow.v0.models.ProductRestrictionResultUpserted;
12254
+ export declare type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
12225
12255
  export declare type Promotion = io.flow.v0.unions.Promotion;
12226
12256
  export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
12227
12257
  export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -12360,6 +12390,7 @@ export declare type ReversalPutForm = io.flow.v0.models.ReversalPutForm;
12360
12390
  export declare type ReversalStatus = io.flow.v0.enums.ReversalStatus;
12361
12391
  export declare type ReversalUpserted = io.flow.v0.models.ReversalUpserted;
12362
12392
  export declare type ReversalVersion = io.flow.v0.models.ReversalVersion;
12393
+ export declare type ReviewStatus = io.flow.v0.enums.ReviewStatus;
12363
12394
  export declare type Role = io.flow.v0.enums.Role;
12364
12395
  export declare type Romanization = io.flow.v0.models.Romanization;
12365
12396
  export declare type RomanizationForm = io.flow.v0.models.RomanizationForm;
@@ -12629,6 +12660,7 @@ export declare type Transaction = io.flow.v0.models.Transaction;
12629
12660
  export declare type TransactionDetails = io.flow.v0.unions.TransactionDetails;
12630
12661
  export declare type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
12631
12662
  export declare type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
12663
+ export declare type TransactionMetadataCarrierCharge = io.flow.v0.models.TransactionMetadataCarrierCharge;
12632
12664
  export declare type TransactionMetadataChannel = io.flow.v0.models.TransactionMetadataChannel;
12633
12665
  export declare type TransactionMetadataChannelCardMetadata = io.flow.v0.models.TransactionMetadataChannelCardMetadata;
12634
12666
  export declare type TransactionMetadataChannelCardMetadataIssuerSummary = io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.79",
3
+ "version": "11.24.81",
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": "fc644e9ba6f842b12316085c5adbfeaa86923d6b"
28
+ "gitHead": "69a80797baeb34690859818e5db7ef87aa6082a5"
29
29
  }