@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/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,7 +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';
|
|
2002
|
-
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' | '
|
|
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' | 'Restrict by Default' | 'Supplements' | 'Weapon' | 'Wood';
|
|
2003
2004
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2004
2005
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2005
2006
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -2049,7 +2050,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2049
2050
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2050
2051
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2051
2052
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2052
|
-
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';
|
|
2053
2054
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2054
2055
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2055
2056
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -7530,6 +7531,8 @@ declare namespace io.flow.v0.models {
|
|
|
7530
7531
|
readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
|
|
7531
7532
|
readonly amount: number;
|
|
7532
7533
|
readonly currency: string;
|
|
7534
|
+
readonly base_amount?: number;
|
|
7535
|
+
readonly base_currency?: string;
|
|
7533
7536
|
}
|
|
7534
7537
|
interface PaymentAuthorizationStatus {
|
|
7535
7538
|
readonly status: io.flow.v0.enums.AuthorizationStatus;
|
|
@@ -7539,6 +7542,8 @@ declare namespace io.flow.v0.models {
|
|
|
7539
7542
|
readonly id: string;
|
|
7540
7543
|
readonly amount: number;
|
|
7541
7544
|
readonly currency: string;
|
|
7545
|
+
readonly base_amount?: number;
|
|
7546
|
+
readonly base_currency?: string;
|
|
7542
7547
|
readonly created_at: string;
|
|
7543
7548
|
readonly updated_at: string;
|
|
7544
7549
|
readonly status: io.flow.v0.models.PaymentCaptureStatus;
|
|
@@ -7901,6 +7906,8 @@ declare namespace io.flow.v0.models {
|
|
|
7901
7906
|
readonly id: string;
|
|
7902
7907
|
readonly amount: number;
|
|
7903
7908
|
readonly currency: string;
|
|
7909
|
+
readonly base_amount?: number;
|
|
7910
|
+
readonly base_currency?: string;
|
|
7904
7911
|
readonly created_at: string;
|
|
7905
7912
|
readonly updated_at: string;
|
|
7906
7913
|
readonly status: io.flow.v0.models.PaymentRefundStatus;
|
|
@@ -7923,6 +7930,8 @@ declare namespace io.flow.v0.models {
|
|
|
7923
7930
|
readonly next_action?: io.flow.v0.unions.Action;
|
|
7924
7931
|
readonly amount: number;
|
|
7925
7932
|
readonly currency: string;
|
|
7933
|
+
readonly base_amount?: number;
|
|
7934
|
+
readonly base_currency?: string;
|
|
7926
7935
|
readonly order_information: io.flow.v0.unions.OrderInformation;
|
|
7927
7936
|
readonly device_details: io.flow.v0.unions.DeviceDetails;
|
|
7928
7937
|
readonly locale?: string;
|
|
@@ -7936,6 +7945,11 @@ declare namespace io.flow.v0.models {
|
|
|
7936
7945
|
}
|
|
7937
7946
|
interface PaymentRequestBilling {
|
|
7938
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;
|
|
7939
7953
|
}
|
|
7940
7954
|
interface PaymentRequestBillingFees {
|
|
7941
7955
|
readonly mor_fee_rate?: number;
|
|
@@ -7992,6 +8006,8 @@ declare namespace io.flow.v0.models {
|
|
|
7992
8006
|
readonly id: string;
|
|
7993
8007
|
readonly amount: number;
|
|
7994
8008
|
readonly currency: string;
|
|
8009
|
+
readonly base_amount?: number;
|
|
8010
|
+
readonly base_currency?: string;
|
|
7995
8011
|
readonly created_at: string;
|
|
7996
8012
|
readonly updated_at: string;
|
|
7997
8013
|
readonly status: io.flow.v0.models.PaymentReversalStatus;
|
|
@@ -8374,9 +8390,9 @@ declare namespace io.flow.v0.models {
|
|
|
8374
8390
|
readonly product_id: string;
|
|
8375
8391
|
readonly item_numbers: string[];
|
|
8376
8392
|
readonly prohibited_regions: string[];
|
|
8377
|
-
readonly review_status
|
|
8378
|
-
readonly rules
|
|
8379
|
-
readonly
|
|
8393
|
+
readonly review_status?: io.flow.v0.enums.ReviewStatus;
|
|
8394
|
+
readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
8395
|
+
readonly updated_by?: string;
|
|
8380
8396
|
}
|
|
8381
8397
|
interface ProductRestrictionResultDeleted {
|
|
8382
8398
|
readonly discriminator: 'product_restriction_result_deleted';
|
|
@@ -10556,6 +10572,12 @@ declare namespace io.flow.v0.models {
|
|
|
10556
10572
|
readonly cvv_result?: io.flow.v0.models.CvvResult;
|
|
10557
10573
|
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
10558
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
|
+
}
|
|
10559
10581
|
interface TransactionMetadataChannel {
|
|
10560
10582
|
readonly discriminator: 'channel';
|
|
10561
10583
|
readonly method: string;
|
|
@@ -10951,7 +10973,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10951
10973
|
type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
|
|
10952
10974
|
type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
|
|
10953
10975
|
type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
|
|
10954
|
-
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;
|
|
10955
10977
|
}
|
|
10956
10978
|
export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
10957
10979
|
export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
@@ -11153,6 +11175,7 @@ export declare type CardType = io.flow.v0.enums.CardType;
|
|
|
11153
11175
|
export declare type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2;
|
|
11154
11176
|
export declare type CardVersion = io.flow.v0.models.CardVersion;
|
|
11155
11177
|
export declare type Carrier = io.flow.v0.models.Carrier;
|
|
11178
|
+
export declare type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
|
|
11156
11179
|
export declare type CarrierReference = io.flow.v0.models.CarrierReference;
|
|
11157
11180
|
export declare type CarrierService = io.flow.v0.models.CarrierService;
|
|
11158
11181
|
export declare type CartReference = io.flow.v0.models.CartReference;
|
|
@@ -12130,6 +12153,7 @@ export declare type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
|
|
|
12130
12153
|
export declare type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
|
|
12131
12154
|
export declare type PaymentRequest = io.flow.v0.models.PaymentRequest;
|
|
12132
12155
|
export declare type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling;
|
|
12156
|
+
export declare type PaymentRequestBillingCurrencyRate = io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
12133
12157
|
export declare type PaymentRequestBillingFees = io.flow.v0.models.PaymentRequestBillingFees;
|
|
12134
12158
|
export declare type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
|
|
12135
12159
|
export declare type PaymentRequestBundleForm = io.flow.v0.models.PaymentRequestBundleForm;
|
|
@@ -12636,6 +12660,7 @@ export declare type Transaction = io.flow.v0.models.Transaction;
|
|
|
12636
12660
|
export declare type TransactionDetails = io.flow.v0.unions.TransactionDetails;
|
|
12637
12661
|
export declare type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
12638
12662
|
export declare type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
|
|
12663
|
+
export declare type TransactionMetadataCarrierCharge = io.flow.v0.models.TransactionMetadataCarrierCharge;
|
|
12639
12664
|
export declare type TransactionMetadataChannel = io.flow.v0.models.TransactionMetadataChannel;
|
|
12640
12665
|
export declare type TransactionMetadataChannelCardMetadata = io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
12641
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.
|
|
3
|
+
"version": "11.24.82",
|
|
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": "2430172d05199bd940ad6b8a39eaf47a9efcea8c"
|
|
29
29
|
}
|