@flowio/types 11.24.43 → 11.24.44
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 +37 -11
- package/dist/api.d.ts +31 -0
- package/package.json +2 -2
- package/src/api-internal.ts +52 -13
- package/src/api.ts +46 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -1385,6 +1385,7 @@ declare namespace io.flow.flexe.v0.models {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
declare namespace io.flow.payment.v0.enums {
|
|
1388
|
+
type AddressVerificationResultFieldCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1388
1389
|
type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown' | 'online_payment_error';
|
|
1389
1390
|
type AuthorizationOption = 'store_card';
|
|
1390
1391
|
type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
|
|
@@ -1395,6 +1396,7 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
1395
1396
|
type CardErrorCode = 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown';
|
|
1396
1397
|
type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
|
|
1397
1398
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
1399
|
+
type CvvResultCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1398
1400
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
1399
1401
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
1400
1402
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
@@ -1419,6 +1421,12 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1419
1421
|
readonly attributes?: Record<string, string>;
|
|
1420
1422
|
readonly ip?: string;
|
|
1421
1423
|
}
|
|
1424
|
+
interface AddressVerificationResult {
|
|
1425
|
+
readonly street_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1426
|
+
readonly postal_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1427
|
+
readonly name_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1428
|
+
readonly raw?: string;
|
|
1429
|
+
}
|
|
1422
1430
|
interface AdyenChallengeShopperData {
|
|
1423
1431
|
readonly discriminator: 'adyen_challenge_shopper_data';
|
|
1424
1432
|
readonly challenge_token: string;
|
|
@@ -1695,6 +1703,10 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1695
1703
|
readonly code: io.flow.payment.v0.enums.CvvCode;
|
|
1696
1704
|
readonly description?: string;
|
|
1697
1705
|
}
|
|
1706
|
+
interface CvvResult {
|
|
1707
|
+
readonly code: io.flow.payment.v0.enums.CvvResultCode;
|
|
1708
|
+
readonly raw?: string;
|
|
1709
|
+
}
|
|
1698
1710
|
interface DirectAuthorizationForm {
|
|
1699
1711
|
readonly discriminator: 'direct_authorization_form';
|
|
1700
1712
|
readonly token: string;
|
|
@@ -2088,6 +2100,15 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2088
2100
|
readonly discriminator: 'threeds_two_method';
|
|
2089
2101
|
readonly method: string;
|
|
2090
2102
|
}
|
|
2103
|
+
interface TransactionDetailsCard {
|
|
2104
|
+
readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult;
|
|
2105
|
+
readonly cvv_result?: io.flow.payment.v0.models.CvvResult;
|
|
2106
|
+
readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
|
|
2107
|
+
}
|
|
2108
|
+
interface TransactionNetworkDetailsCard {
|
|
2109
|
+
readonly network_transaction_id?: string;
|
|
2110
|
+
readonly network?: io.flow.payment.v0.enums.CardType;
|
|
2111
|
+
}
|
|
2091
2112
|
interface VirtualCard {
|
|
2092
2113
|
readonly id: string;
|
|
2093
2114
|
readonly key: string;
|
|
@@ -6017,6 +6038,8 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6017
6038
|
readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
|
|
6018
6039
|
readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
|
|
6019
6040
|
readonly cvv?: string;
|
|
6041
|
+
readonly reference?: string;
|
|
6042
|
+
readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
|
|
6020
6043
|
}
|
|
6021
6044
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
6022
6045
|
readonly type: 'authorize_googlepay';
|
|
@@ -6110,6 +6133,8 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6110
6133
|
readonly last_four: string;
|
|
6111
6134
|
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
6112
6135
|
readonly id: string;
|
|
6136
|
+
readonly reference?: string;
|
|
6137
|
+
readonly transaction_details?: io.flow.payment.v0.models.TransactionDetailsCard;
|
|
6113
6138
|
}
|
|
6114
6139
|
interface PaymentMethodSummaryGooglepay {
|
|
6115
6140
|
readonly type: 'googlepay';
|
|
@@ -10074,6 +10099,7 @@ declare namespace io.flow.billing.bank.account.v0.unions {
|
|
|
10074
10099
|
type BankAccountInfo = io.flow.billing.bank.account.v0.models.BankAccountInfoUsa;
|
|
10075
10100
|
}
|
|
10076
10101
|
declare namespace io.flow.internal.v0.enums {
|
|
10102
|
+
type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
|
|
10077
10103
|
type AccountType = 'channel' | 'organization';
|
|
10078
10104
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
10079
10105
|
type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
|
|
@@ -10229,7 +10255,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10229
10255
|
type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
|
|
10230
10256
|
type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
|
|
10231
10257
|
type LabelTransactionType = 'adjustment' | 'billable_label' | 'fee' | 'revenue_share';
|
|
10232
|
-
type LiabilitiesMethod = 'withholding' | 'transaction';
|
|
10233
10258
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
10234
10259
|
type MainTransactionStatus = 'scheduled' | 'pending_proof';
|
|
10235
10260
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
@@ -10470,6 +10495,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10470
10495
|
readonly fees_source: io.flow.internal.v0.enums.FeesSource;
|
|
10471
10496
|
readonly require_payment_request: boolean;
|
|
10472
10497
|
readonly round_individual_transactions: boolean;
|
|
10498
|
+
readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
10473
10499
|
}
|
|
10474
10500
|
interface AccountSettingsDeleted {
|
|
10475
10501
|
readonly discriminator: 'account_settings_deleted';
|
|
@@ -13604,8 +13630,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13604
13630
|
}
|
|
13605
13631
|
interface ClassificationActionFormUndo {
|
|
13606
13632
|
readonly discriminator: 'undo';
|
|
13607
|
-
readonly
|
|
13608
|
-
readonly item_numbers: string[];
|
|
13633
|
+
readonly item_classification_ids: string[];
|
|
13609
13634
|
readonly user: string;
|
|
13610
13635
|
}
|
|
13611
13636
|
interface ClassificationDetails {
|
|
@@ -13676,12 +13701,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13676
13701
|
interface ClassificationRequeueRequest {
|
|
13677
13702
|
readonly message: string;
|
|
13678
13703
|
}
|
|
13679
|
-
interface ClassificationSearch {
|
|
13680
|
-
readonly product_id: string;
|
|
13681
|
-
readonly organization_id: io.flow.common.v0.models.OrganizationSummary;
|
|
13682
|
-
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
13683
|
-
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
13684
|
-
}
|
|
13685
13704
|
interface ClassificationStatistics {
|
|
13686
13705
|
readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
13687
13706
|
readonly number_of_items: number;
|
|
@@ -13784,6 +13803,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13784
13803
|
interface CountryPickerPaymentMethod {
|
|
13785
13804
|
readonly id: string;
|
|
13786
13805
|
}
|
|
13806
|
+
interface CourthouseProductSummary {
|
|
13807
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
13808
|
+
readonly product_id: string;
|
|
13809
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
13810
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
13811
|
+
}
|
|
13787
13812
|
interface CryptoAccount {
|
|
13788
13813
|
readonly discriminator: 'crypto_account';
|
|
13789
13814
|
readonly id: string;
|
|
@@ -19176,6 +19201,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19176
19201
|
interface SingleClassificationAction {
|
|
19177
19202
|
readonly discriminator: 'single';
|
|
19178
19203
|
readonly organization: string;
|
|
19204
|
+
readonly item_classification_id: string;
|
|
19179
19205
|
readonly item_summary: io.flow.internal.v0.models.HarmonizationItemSummary;
|
|
19180
19206
|
readonly customs_description: string;
|
|
19181
19207
|
readonly labels?: io.flow.internal.v0.models.ProductLabels;
|
|
@@ -20251,6 +20277,7 @@ export declare type AccountProcessingRatesForm = io.flow.internal.v0.models.Acco
|
|
|
20251
20277
|
export declare type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
|
|
20252
20278
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
20253
20279
|
export declare type AccountSettingLabelFees = io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
20280
|
+
export declare type AccountSettingLiabilitiesMethod = io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
20254
20281
|
export declare type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
20255
20282
|
export declare type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
20256
20283
|
export declare type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
|
|
@@ -21057,7 +21084,6 @@ export declare type ClassificationProductSummary = io.flow.internal.v0.models.Cl
|
|
|
21057
21084
|
export declare type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
|
|
21058
21085
|
export declare type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
21059
21086
|
export declare type ClassificationResponse = io.flow.internal.v0.unions.ClassificationResponse;
|
|
21060
|
-
export declare type ClassificationSearch = io.flow.internal.v0.models.ClassificationSearch;
|
|
21061
21087
|
export declare type ClassificationStatistics = io.flow.internal.v0.models.ClassificationStatistics;
|
|
21062
21088
|
export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
21063
21089
|
export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
@@ -21086,6 +21112,7 @@ export declare type CountryPickerData = io.flow.internal.v0.models.CountryPicker
|
|
|
21086
21112
|
export declare type CountryPickerDeliveryWindow = io.flow.internal.v0.models.CountryPickerDeliveryWindow;
|
|
21087
21113
|
export declare type CountryPickerExperienceData = io.flow.internal.v0.models.CountryPickerExperienceData;
|
|
21088
21114
|
export declare type CountryPickerPaymentMethod = io.flow.internal.v0.models.CountryPickerPaymentMethod;
|
|
21115
|
+
export declare type CourthouseProductSummary = io.flow.internal.v0.models.CourthouseProductSummary;
|
|
21089
21116
|
export declare type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus;
|
|
21090
21117
|
export declare type CryptoAccount = io.flow.internal.v0.models.CryptoAccount;
|
|
21091
21118
|
export declare type CryptoAccountModificationForm = io.flow.internal.v0.models.CryptoAccountModificationForm;
|
|
@@ -21551,7 +21578,6 @@ export declare type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
|
|
|
21551
21578
|
export declare type Landmark = io.flow.internal.v0.models.Landmark;
|
|
21552
21579
|
export declare type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
|
|
21553
21580
|
export declare type LevyRateSummaryUpserted = io.flow.internal.v0.models.LevyRateSummaryUpserted;
|
|
21554
|
-
export declare type LiabilitiesMethod = io.flow.internal.v0.enums.LiabilitiesMethod;
|
|
21555
21581
|
export declare type Liability = io.flow.internal.v0.models.Liability;
|
|
21556
21582
|
export declare type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
|
|
21557
21583
|
export declare type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;
|
package/dist/api.d.ts
CHANGED
|
@@ -1647,6 +1647,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1647
1647
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
1648
1648
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
1649
1649
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
1650
|
+
type AddressVerificationResultFieldCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1650
1651
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
1651
1652
|
type Aggregate = 'maximum' | 'minimum';
|
|
1652
1653
|
type AttachmentType = 'csv';
|
|
@@ -1681,6 +1682,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1681
1682
|
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
1682
1683
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
1683
1684
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
1685
|
+
type CvvResultCode = 'match' | 'not_available' | 'not_checked' | 'not_matched';
|
|
1684
1686
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1685
1687
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
1686
1688
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
@@ -2065,6 +2067,12 @@ declare namespace io.flow.v0.models {
|
|
|
2065
2067
|
readonly valid: boolean;
|
|
2066
2068
|
readonly suggestions: io.flow.v0.models.AddressSuggestion[];
|
|
2067
2069
|
}
|
|
2070
|
+
interface AddressVerificationResult {
|
|
2071
|
+
readonly street_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2072
|
+
readonly postal_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2073
|
+
readonly name_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
2074
|
+
readonly raw?: string;
|
|
2075
|
+
}
|
|
2068
2076
|
interface AdjustmentReason {
|
|
2069
2077
|
readonly key: io.flow.v0.enums.AdjustmentReasonKey;
|
|
2070
2078
|
readonly label: string;
|
|
@@ -3697,6 +3705,10 @@ declare namespace io.flow.v0.models {
|
|
|
3697
3705
|
readonly code: io.flow.v0.enums.CvvCode;
|
|
3698
3706
|
readonly description?: string;
|
|
3699
3707
|
}
|
|
3708
|
+
interface CvvResult {
|
|
3709
|
+
readonly code: io.flow.v0.enums.CvvResultCode;
|
|
3710
|
+
readonly raw?: string;
|
|
3711
|
+
}
|
|
3700
3712
|
interface DatetimeRange {
|
|
3701
3713
|
readonly from: string;
|
|
3702
3714
|
readonly to: string;
|
|
@@ -7086,6 +7098,8 @@ declare namespace io.flow.v0.models {
|
|
|
7086
7098
|
readonly card_data: io.flow.v0.unions.PaymentMethodCard;
|
|
7087
7099
|
readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
|
|
7088
7100
|
readonly cvv?: string;
|
|
7101
|
+
readonly reference?: string;
|
|
7102
|
+
readonly previous_transaction_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
7089
7103
|
}
|
|
7090
7104
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
7091
7105
|
readonly type: 'authorize_googlepay';
|
|
@@ -7207,6 +7221,8 @@ declare namespace io.flow.v0.models {
|
|
|
7207
7221
|
readonly last_four: string;
|
|
7208
7222
|
readonly card_type: io.flow.v0.enums.CardType;
|
|
7209
7223
|
readonly id: string;
|
|
7224
|
+
readonly reference?: string;
|
|
7225
|
+
readonly transaction_details?: io.flow.v0.models.TransactionDetailsCard;
|
|
7210
7226
|
}
|
|
7211
7227
|
interface PaymentMethodSummaryGooglepay {
|
|
7212
7228
|
readonly type: 'googlepay';
|
|
@@ -9825,6 +9841,15 @@ declare namespace io.flow.v0.models {
|
|
|
9825
9841
|
readonly identifiers: Record<string, string>;
|
|
9826
9842
|
readonly created_at: string;
|
|
9827
9843
|
}
|
|
9844
|
+
interface TransactionDetailsCard {
|
|
9845
|
+
readonly address_verification_result?: io.flow.v0.models.AddressVerificationResult;
|
|
9846
|
+
readonly cvv_result?: io.flow.v0.models.CvvResult;
|
|
9847
|
+
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
9848
|
+
}
|
|
9849
|
+
interface TransactionNetworkDetailsCard {
|
|
9850
|
+
readonly network_transaction_id?: string;
|
|
9851
|
+
readonly network?: io.flow.v0.enums.CardType;
|
|
9852
|
+
}
|
|
9828
9853
|
interface TransactionUpserted {
|
|
9829
9854
|
readonly discriminator: 'transaction_upserted';
|
|
9830
9855
|
readonly event_id: string;
|
|
@@ -10180,6 +10205,8 @@ export declare type AddressFieldName = io.flow.v0.enums.AddressFieldName;
|
|
|
10180
10205
|
export declare type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
10181
10206
|
export declare type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
10182
10207
|
export declare type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
10208
|
+
export declare type AddressVerificationResult = io.flow.v0.models.AddressVerificationResult;
|
|
10209
|
+
export declare type AddressVerificationResultFieldCode = io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
10183
10210
|
export declare type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
|
|
10184
10211
|
export declare type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
|
|
10185
10212
|
export declare type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData;
|
|
@@ -10493,6 +10520,8 @@ export declare type CustomerToken = io.flow.v0.models.CustomerToken;
|
|
|
10493
10520
|
export declare type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
|
|
10494
10521
|
export declare type Cvv = io.flow.v0.models.Cvv;
|
|
10495
10522
|
export declare type CvvCode = io.flow.v0.enums.CvvCode;
|
|
10523
|
+
export declare type CvvResult = io.flow.v0.models.CvvResult;
|
|
10524
|
+
export declare type CvvResultCode = io.flow.v0.enums.CvvResultCode;
|
|
10496
10525
|
export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
|
|
10497
10526
|
export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
|
|
10498
10527
|
export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
|
|
@@ -11721,6 +11750,8 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
|
|
|
11721
11750
|
export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
11722
11751
|
export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
11723
11752
|
export declare type Transaction = io.flow.v0.models.Transaction;
|
|
11753
|
+
export declare type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
11754
|
+
export declare type TransactionNetworkDetailsCard = io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
11724
11755
|
export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
11725
11756
|
export declare type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
11726
11757
|
export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.44",
|
|
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": "539fb4a2334830dc0411d081303bb70eef89bdd0"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -1818,6 +1818,11 @@ declare namespace io.flow.flexe.v0.models {
|
|
|
1818
1818
|
}
|
|
1819
1819
|
|
|
1820
1820
|
declare namespace io.flow.payment.v0.enums {
|
|
1821
|
+
type AddressVerificationResultFieldCode =
|
|
1822
|
+
| 'match'
|
|
1823
|
+
| 'not_available'
|
|
1824
|
+
| 'not_checked'
|
|
1825
|
+
| 'not_matched';
|
|
1821
1826
|
type AuthorizationDeclineCode =
|
|
1822
1827
|
| 'expired'
|
|
1823
1828
|
| 'invalid_name'
|
|
@@ -1875,6 +1880,11 @@ declare namespace io.flow.payment.v0.enums {
|
|
|
1875
1880
|
| 'mastercard'
|
|
1876
1881
|
| 'visa';
|
|
1877
1882
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
1883
|
+
type CvvResultCode =
|
|
1884
|
+
| 'match'
|
|
1885
|
+
| 'not_available'
|
|
1886
|
+
| 'not_checked'
|
|
1887
|
+
| 'not_matched';
|
|
1878
1888
|
type PaymentErrorCode =
|
|
1879
1889
|
| 'duplicate'
|
|
1880
1890
|
| 'invalid_amount'
|
|
@@ -1927,6 +1937,13 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1927
1937
|
readonly ip?: string;
|
|
1928
1938
|
}
|
|
1929
1939
|
|
|
1940
|
+
interface AddressVerificationResult {
|
|
1941
|
+
readonly street_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1942
|
+
readonly postal_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1943
|
+
readonly name_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode;
|
|
1944
|
+
readonly raw?: string;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1930
1947
|
interface AdyenChallengeShopperData {
|
|
1931
1948
|
readonly discriminator: 'adyen_challenge_shopper_data';
|
|
1932
1949
|
readonly challenge_token: string;
|
|
@@ -2246,6 +2263,11 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2246
2263
|
readonly description?: string;
|
|
2247
2264
|
}
|
|
2248
2265
|
|
|
2266
|
+
interface CvvResult {
|
|
2267
|
+
readonly code: io.flow.payment.v0.enums.CvvResultCode;
|
|
2268
|
+
readonly raw?: string;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2249
2271
|
interface DirectAuthorizationForm {
|
|
2250
2272
|
readonly discriminator: 'direct_authorization_form';
|
|
2251
2273
|
readonly token: string;
|
|
@@ -2697,6 +2719,17 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2697
2719
|
readonly method: string;
|
|
2698
2720
|
}
|
|
2699
2721
|
|
|
2722
|
+
interface TransactionDetailsCard {
|
|
2723
|
+
readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult;
|
|
2724
|
+
readonly cvv_result?: io.flow.payment.v0.models.CvvResult;
|
|
2725
|
+
readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
interface TransactionNetworkDetailsCard {
|
|
2729
|
+
readonly network_transaction_id?: string;
|
|
2730
|
+
readonly network?: io.flow.payment.v0.enums.CardType;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2700
2733
|
interface VirtualCard {
|
|
2701
2734
|
readonly id: string;
|
|
2702
2735
|
readonly key: string;
|
|
@@ -8025,6 +8058,8 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8025
8058
|
readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
|
|
8026
8059
|
readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
|
|
8027
8060
|
readonly cvv?: string;
|
|
8061
|
+
readonly reference?: string;
|
|
8062
|
+
readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
|
|
8028
8063
|
}
|
|
8029
8064
|
|
|
8030
8065
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
@@ -8140,6 +8175,8 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8140
8175
|
readonly last_four: string;
|
|
8141
8176
|
readonly card_type: io.flow.payment.v0.enums.CardType;
|
|
8142
8177
|
readonly id: string;
|
|
8178
|
+
readonly reference?: string;
|
|
8179
|
+
readonly transaction_details?: io.flow.payment.v0.models.TransactionDetailsCard;
|
|
8143
8180
|
}
|
|
8144
8181
|
|
|
8145
8182
|
interface PaymentMethodSummaryGooglepay {
|
|
@@ -13151,6 +13188,7 @@ declare namespace io.flow.billing.bank.account.v0.unions {
|
|
|
13151
13188
|
}
|
|
13152
13189
|
|
|
13153
13190
|
declare namespace io.flow.internal.v0.enums {
|
|
13191
|
+
type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
|
|
13154
13192
|
type AccountType = 'channel' | 'organization';
|
|
13155
13193
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
13156
13194
|
type AdyenIntegrationType =
|
|
@@ -13913,7 +13951,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13913
13951
|
| 'billable_label'
|
|
13914
13952
|
| 'fee'
|
|
13915
13953
|
| 'revenue_share';
|
|
13916
|
-
type LiabilitiesMethod = 'withholding' | 'transaction';
|
|
13917
13954
|
type LiabilityType =
|
|
13918
13955
|
| 'full_value_tax'
|
|
13919
13956
|
| 'low_value_goods_tax'
|
|
@@ -14393,6 +14430,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14393
14430
|
readonly fees_source: io.flow.internal.v0.enums.FeesSource;
|
|
14394
14431
|
readonly require_payment_request: boolean;
|
|
14395
14432
|
readonly round_individual_transactions: boolean;
|
|
14433
|
+
readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
14396
14434
|
}
|
|
14397
14435
|
|
|
14398
14436
|
interface AccountSettingsDeleted {
|
|
@@ -18140,8 +18178,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18140
18178
|
|
|
18141
18179
|
interface ClassificationActionFormUndo {
|
|
18142
18180
|
readonly discriminator: 'undo';
|
|
18143
|
-
readonly
|
|
18144
|
-
readonly item_numbers: string[];
|
|
18181
|
+
readonly item_classification_ids: string[];
|
|
18145
18182
|
readonly user: string;
|
|
18146
18183
|
}
|
|
18147
18184
|
|
|
@@ -18223,13 +18260,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18223
18260
|
readonly message: string;
|
|
18224
18261
|
}
|
|
18225
18262
|
|
|
18226
|
-
interface ClassificationSearch {
|
|
18227
|
-
readonly product_id: string;
|
|
18228
|
-
readonly organization_id: io.flow.common.v0.models.OrganizationSummary;
|
|
18229
|
-
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
18230
|
-
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
18231
|
-
}
|
|
18232
|
-
|
|
18233
18263
|
interface ClassificationStatistics {
|
|
18234
18264
|
readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
|
|
18235
18265
|
readonly number_of_items: number;
|
|
@@ -18357,6 +18387,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18357
18387
|
readonly id: string;
|
|
18358
18388
|
}
|
|
18359
18389
|
|
|
18390
|
+
interface CourthouseProductSummary {
|
|
18391
|
+
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
18392
|
+
readonly product_id: string;
|
|
18393
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
18394
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
18395
|
+
}
|
|
18396
|
+
|
|
18360
18397
|
interface CryptoAccount {
|
|
18361
18398
|
readonly discriminator: 'crypto_account';
|
|
18362
18399
|
readonly id: string;
|
|
@@ -24569,6 +24606,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
24569
24606
|
interface SingleClassificationAction {
|
|
24570
24607
|
readonly discriminator: 'single';
|
|
24571
24608
|
readonly organization: string;
|
|
24609
|
+
readonly item_classification_id: string;
|
|
24572
24610
|
readonly item_summary: io.flow.internal.v0.models.HarmonizationItemSummary;
|
|
24573
24611
|
readonly customs_description: string;
|
|
24574
24612
|
readonly labels?: io.flow.internal.v0.models.ProductLabels;
|
|
@@ -26595,6 +26633,8 @@ export type AccountProcessingRatesUpserted =
|
|
|
26595
26633
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
26596
26634
|
export type AccountSettingLabelFees =
|
|
26597
26635
|
io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
26636
|
+
export type AccountSettingLiabilitiesMethod =
|
|
26637
|
+
io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod;
|
|
26598
26638
|
export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
26599
26639
|
export type AccountSettingsDeleted =
|
|
26600
26640
|
io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
@@ -28109,8 +28149,6 @@ export type ClassificationRequeueRequest =
|
|
|
28109
28149
|
io.flow.internal.v0.models.ClassificationRequeueRequest;
|
|
28110
28150
|
export type ClassificationResponse =
|
|
28111
28151
|
io.flow.internal.v0.unions.ClassificationResponse;
|
|
28112
|
-
export type ClassificationSearch =
|
|
28113
|
-
io.flow.internal.v0.models.ClassificationSearch;
|
|
28114
28152
|
export type ClassificationStatistics =
|
|
28115
28153
|
io.flow.internal.v0.models.ClassificationStatistics;
|
|
28116
28154
|
export type ClassificationTaxonomy =
|
|
@@ -28152,6 +28190,8 @@ export type CountryPickerExperienceData =
|
|
|
28152
28190
|
io.flow.internal.v0.models.CountryPickerExperienceData;
|
|
28153
28191
|
export type CountryPickerPaymentMethod =
|
|
28154
28192
|
io.flow.internal.v0.models.CountryPickerPaymentMethod;
|
|
28193
|
+
export type CourthouseProductSummary =
|
|
28194
|
+
io.flow.internal.v0.models.CourthouseProductSummary;
|
|
28155
28195
|
export type CrossdockTrackingStatus =
|
|
28156
28196
|
io.flow.internal.v0.enums.CrossdockTrackingStatus;
|
|
28157
28197
|
export type CryptoAccount = io.flow.internal.v0.models.CryptoAccount;
|
|
@@ -28877,7 +28917,6 @@ export type Landmark = io.flow.internal.v0.models.Landmark;
|
|
|
28877
28917
|
export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
|
|
28878
28918
|
export type LevyRateSummaryUpserted =
|
|
28879
28919
|
io.flow.internal.v0.models.LevyRateSummaryUpserted;
|
|
28880
|
-
export type LiabilitiesMethod = io.flow.internal.v0.enums.LiabilitiesMethod;
|
|
28881
28920
|
export type Liability = io.flow.internal.v0.models.Liability;
|
|
28882
28921
|
export type LiabilityItem = io.flow.internal.v0.models.LiabilityItem;
|
|
28883
28922
|
export type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney;
|
package/src/api.ts
CHANGED
|
@@ -2105,6 +2105,11 @@ declare namespace io.flow.v0.enums {
|
|
|
2105
2105
|
| 'phone'
|
|
2106
2106
|
| 'company'
|
|
2107
2107
|
| 'vat_registration_number';
|
|
2108
|
+
type AddressVerificationResultFieldCode =
|
|
2109
|
+
| 'match'
|
|
2110
|
+
| 'not_available'
|
|
2111
|
+
| 'not_checked'
|
|
2112
|
+
| 'not_matched';
|
|
2108
2113
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
2109
2114
|
type Aggregate = 'maximum' | 'minimum';
|
|
2110
2115
|
type AttachmentType = 'csv';
|
|
@@ -2245,6 +2250,11 @@ declare namespace io.flow.v0.enums {
|
|
|
2245
2250
|
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
2246
2251
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
2247
2252
|
type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match';
|
|
2253
|
+
type CvvResultCode =
|
|
2254
|
+
| 'match'
|
|
2255
|
+
| 'not_available'
|
|
2256
|
+
| 'not_checked'
|
|
2257
|
+
| 'not_matched';
|
|
2248
2258
|
type DayOfWeek =
|
|
2249
2259
|
| 'sunday'
|
|
2250
2260
|
| 'monday'
|
|
@@ -3302,6 +3312,13 @@ declare namespace io.flow.v0.models {
|
|
|
3302
3312
|
readonly suggestions: io.flow.v0.models.AddressSuggestion[];
|
|
3303
3313
|
}
|
|
3304
3314
|
|
|
3315
|
+
interface AddressVerificationResult {
|
|
3316
|
+
readonly street_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
3317
|
+
readonly postal_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
3318
|
+
readonly name_code: io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
3319
|
+
readonly raw?: string;
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3305
3322
|
interface AdjustmentReason {
|
|
3306
3323
|
readonly key: io.flow.v0.enums.AdjustmentReasonKey;
|
|
3307
3324
|
readonly label: string;
|
|
@@ -5196,6 +5213,11 @@ declare namespace io.flow.v0.models {
|
|
|
5196
5213
|
readonly description?: string;
|
|
5197
5214
|
}
|
|
5198
5215
|
|
|
5216
|
+
interface CvvResult {
|
|
5217
|
+
readonly code: io.flow.v0.enums.CvvResultCode;
|
|
5218
|
+
readonly raw?: string;
|
|
5219
|
+
}
|
|
5220
|
+
|
|
5199
5221
|
interface DatetimeRange {
|
|
5200
5222
|
readonly from: string;
|
|
5201
5223
|
readonly to: string;
|
|
@@ -9153,6 +9175,8 @@ declare namespace io.flow.v0.models {
|
|
|
9153
9175
|
readonly card_data: io.flow.v0.unions.PaymentMethodCard;
|
|
9154
9176
|
readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
|
|
9155
9177
|
readonly cvv?: string;
|
|
9178
|
+
readonly reference?: string;
|
|
9179
|
+
readonly previous_transaction_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
9156
9180
|
}
|
|
9157
9181
|
|
|
9158
9182
|
interface PaymentMethodDataAuthorizeGooglepay {
|
|
@@ -9301,6 +9325,8 @@ declare namespace io.flow.v0.models {
|
|
|
9301
9325
|
readonly last_four: string;
|
|
9302
9326
|
readonly card_type: io.flow.v0.enums.CardType;
|
|
9303
9327
|
readonly id: string;
|
|
9328
|
+
readonly reference?: string;
|
|
9329
|
+
readonly transaction_details?: io.flow.v0.models.TransactionDetailsCard;
|
|
9304
9330
|
}
|
|
9305
9331
|
|
|
9306
9332
|
interface PaymentMethodSummaryGooglepay {
|
|
@@ -12331,6 +12357,17 @@ declare namespace io.flow.v0.models {
|
|
|
12331
12357
|
readonly created_at: string;
|
|
12332
12358
|
}
|
|
12333
12359
|
|
|
12360
|
+
interface TransactionDetailsCard {
|
|
12361
|
+
readonly address_verification_result?: io.flow.v0.models.AddressVerificationResult;
|
|
12362
|
+
readonly cvv_result?: io.flow.v0.models.CvvResult;
|
|
12363
|
+
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
12364
|
+
}
|
|
12365
|
+
|
|
12366
|
+
interface TransactionNetworkDetailsCard {
|
|
12367
|
+
readonly network_transaction_id?: string;
|
|
12368
|
+
readonly network?: io.flow.v0.enums.CardType;
|
|
12369
|
+
}
|
|
12370
|
+
|
|
12334
12371
|
interface TransactionUpserted {
|
|
12335
12372
|
readonly discriminator: 'transaction_upserted';
|
|
12336
12373
|
readonly event_id: string;
|
|
@@ -13183,6 +13220,10 @@ export type AddressFieldName = io.flow.v0.enums.AddressFieldName;
|
|
|
13183
13220
|
export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation;
|
|
13184
13221
|
export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
|
|
13185
13222
|
export type AddressVerification = io.flow.v0.models.AddressVerification;
|
|
13223
|
+
export type AddressVerificationResult =
|
|
13224
|
+
io.flow.v0.models.AddressVerificationResult;
|
|
13225
|
+
export type AddressVerificationResultFieldCode =
|
|
13226
|
+
io.flow.v0.enums.AddressVerificationResultFieldCode;
|
|
13186
13227
|
export type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
|
|
13187
13228
|
export type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
|
|
13188
13229
|
export type AdyenChallengeShopperData =
|
|
@@ -13578,6 +13619,8 @@ export type CustomerToken = io.flow.v0.models.CustomerToken;
|
|
|
13578
13619
|
export type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
|
|
13579
13620
|
export type Cvv = io.flow.v0.models.Cvv;
|
|
13580
13621
|
export type CvvCode = io.flow.v0.enums.CvvCode;
|
|
13622
|
+
export type CvvResult = io.flow.v0.models.CvvResult;
|
|
13623
|
+
export type CvvResultCode = io.flow.v0.enums.CvvResultCode;
|
|
13581
13624
|
export type DatetimeRange = io.flow.v0.models.DatetimeRange;
|
|
13582
13625
|
export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
|
|
13583
13626
|
export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
|
|
@@ -15135,6 +15178,9 @@ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
|
|
|
15135
15178
|
export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
15136
15179
|
export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
15137
15180
|
export type Transaction = io.flow.v0.models.Transaction;
|
|
15181
|
+
export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
15182
|
+
export type TransactionNetworkDetailsCard =
|
|
15183
|
+
io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
15138
15184
|
export type TransactionSource = io.flow.v0.enums.TransactionSource;
|
|
15139
15185
|
export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
|
|
15140
15186
|
export type TransitEstimate = io.flow.v0.models.TransitEstimate;
|