@flowio/api-prop-types 10.16.62 → 10.16.64
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/lib/api.d.ts +36 -2
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +36 -2
- package/src/api.js +68 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.64",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "69a80797baeb34690859818e5db7ef87aa6082a5"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -2099,6 +2099,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2099
2099
|
type CaptureStatus = 'initiated' | 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
2100
2100
|
type CardErrorCode = 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown';
|
|
2101
2101
|
type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
|
|
2102
|
+
type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other';
|
|
2102
2103
|
type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
|
|
2103
2104
|
type ChangeType = 'insert' | 'update' | 'delete';
|
|
2104
2105
|
type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
|
|
@@ -2227,6 +2228,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2227
2228
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2228
2229
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2229
2230
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2231
|
+
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';
|
|
2230
2232
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2231
2233
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2232
2234
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -2240,6 +2242,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2240
2242
|
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';
|
|
2241
2243
|
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';
|
|
2242
2244
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
2245
|
+
type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
|
|
2243
2246
|
type Role = 'admin' | 'member';
|
|
2244
2247
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
2245
2248
|
type RoundingType = 'pattern' | 'multiple';
|
|
@@ -2275,7 +2278,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2275
2278
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2276
2279
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2277
2280
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2278
|
-
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';
|
|
2281
|
+
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';
|
|
2279
2282
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2280
2283
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2281
2284
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -8645,6 +8648,8 @@ declare namespace io.flow.v0.models {
|
|
|
8645
8648
|
readonly 'status': io.flow.v0.models.PaymentAuthorizationStatus;
|
|
8646
8649
|
readonly 'amount': number;
|
|
8647
8650
|
readonly 'currency': string;
|
|
8651
|
+
readonly 'base_amount'?: number;
|
|
8652
|
+
readonly 'base_currency'?: string;
|
|
8648
8653
|
}
|
|
8649
8654
|
|
|
8650
8655
|
interface PaymentAuthorizationStatus {
|
|
@@ -8656,6 +8661,8 @@ declare namespace io.flow.v0.models {
|
|
|
8656
8661
|
readonly 'id': string;
|
|
8657
8662
|
readonly 'amount': number;
|
|
8658
8663
|
readonly 'currency': string;
|
|
8664
|
+
readonly 'base_amount'?: number;
|
|
8665
|
+
readonly 'base_currency'?: string;
|
|
8659
8666
|
readonly 'created_at': string;
|
|
8660
8667
|
readonly 'updated_at': string;
|
|
8661
8668
|
readonly 'status': io.flow.v0.models.PaymentCaptureStatus;
|
|
@@ -9088,6 +9095,8 @@ declare namespace io.flow.v0.models {
|
|
|
9088
9095
|
readonly 'id': string;
|
|
9089
9096
|
readonly 'amount': number;
|
|
9090
9097
|
readonly 'currency': string;
|
|
9098
|
+
readonly 'base_amount'?: number;
|
|
9099
|
+
readonly 'base_currency'?: string;
|
|
9091
9100
|
readonly 'created_at': string;
|
|
9092
9101
|
readonly 'updated_at': string;
|
|
9093
9102
|
readonly 'status': io.flow.v0.models.PaymentRefundStatus;
|
|
@@ -9113,6 +9122,8 @@ declare namespace io.flow.v0.models {
|
|
|
9113
9122
|
readonly 'next_action'?: io.flow.v0.unions.Action;
|
|
9114
9123
|
readonly 'amount': number;
|
|
9115
9124
|
readonly 'currency': string;
|
|
9125
|
+
readonly 'base_amount'?: number;
|
|
9126
|
+
readonly 'base_currency'?: string;
|
|
9116
9127
|
readonly 'order_information': io.flow.v0.unions.OrderInformation;
|
|
9117
9128
|
readonly 'device_details': io.flow.v0.unions.DeviceDetails;
|
|
9118
9129
|
readonly 'locale'?: string;
|
|
@@ -9127,6 +9138,12 @@ declare namespace io.flow.v0.models {
|
|
|
9127
9138
|
|
|
9128
9139
|
interface PaymentRequestBilling {
|
|
9129
9140
|
readonly 'fees': io.flow.v0.models.PaymentRequestBillingFees;
|
|
9141
|
+
readonly 'currency_rate'?: io.flow.v0.models.PaymentRequestBillingCurrencyRate;
|
|
9142
|
+
}
|
|
9143
|
+
|
|
9144
|
+
interface PaymentRequestBillingCurrencyRate {
|
|
9145
|
+
readonly 'base_amount': number;
|
|
9146
|
+
readonly 'base_currency': string;
|
|
9130
9147
|
}
|
|
9131
9148
|
|
|
9132
9149
|
interface PaymentRequestBillingFees {
|
|
@@ -9193,6 +9210,8 @@ declare namespace io.flow.v0.models {
|
|
|
9193
9210
|
readonly 'id': string;
|
|
9194
9211
|
readonly 'amount': number;
|
|
9195
9212
|
readonly 'currency': string;
|
|
9213
|
+
readonly 'base_amount'?: number;
|
|
9214
|
+
readonly 'base_currency'?: string;
|
|
9196
9215
|
readonly 'created_at': string;
|
|
9197
9216
|
readonly 'updated_at': string;
|
|
9198
9217
|
readonly 'status': io.flow.v0.models.PaymentReversalStatus;
|
|
@@ -9637,6 +9656,9 @@ declare namespace io.flow.v0.models {
|
|
|
9637
9656
|
readonly 'product_id': string;
|
|
9638
9657
|
readonly 'item_numbers': string[];
|
|
9639
9658
|
readonly 'prohibited_regions': string[];
|
|
9659
|
+
readonly 'review_status'?: io.flow.v0.enums.ReviewStatus;
|
|
9660
|
+
readonly 'rules'?: io.flow.v0.enums.ProductRestrictionRule[];
|
|
9661
|
+
readonly 'updated_by_user_id'?: string;
|
|
9640
9662
|
}
|
|
9641
9663
|
|
|
9642
9664
|
interface ProductRestrictionResultDeleted {
|
|
@@ -12149,6 +12171,13 @@ declare namespace io.flow.v0.models {
|
|
|
12149
12171
|
readonly 'network_details'?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
12150
12172
|
}
|
|
12151
12173
|
|
|
12174
|
+
interface TransactionMetadataCarrierCharge {
|
|
12175
|
+
readonly 'discriminator': 'carrier_charge';
|
|
12176
|
+
readonly 'reason': io.flow.v0.enums.CarrierChargeReason;
|
|
12177
|
+
readonly 'carrier_id': string;
|
|
12178
|
+
readonly 'carrier_tracking_number': string;
|
|
12179
|
+
}
|
|
12180
|
+
|
|
12152
12181
|
interface TransactionMetadataChannel {
|
|
12153
12182
|
readonly 'discriminator': 'channel';
|
|
12154
12183
|
readonly 'method': string;
|
|
@@ -12594,7 +12623,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12594
12623
|
type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
|
|
12595
12624
|
type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
|
|
12596
12625
|
type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
|
|
12597
|
-
type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataManual);
|
|
12626
|
+
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);
|
|
12598
12627
|
}
|
|
12599
12628
|
|
|
12600
12629
|
export const abandonedOrderPromotionStatus: PropTypes.Requireable<io.flow.v0.enums.AbandonedOrderPromotionStatus>;
|
|
@@ -12621,6 +12650,7 @@ export const captureDeclineCode: PropTypes.Requireable<io.flow.v0.enums.CaptureD
|
|
|
12621
12650
|
export const captureStatus: PropTypes.Requireable<io.flow.v0.enums.CaptureStatus>;
|
|
12622
12651
|
export const cardErrorCode: PropTypes.Requireable<io.flow.v0.enums.CardErrorCode>;
|
|
12623
12652
|
export const cardType: PropTypes.Requireable<io.flow.v0.enums.CardType>;
|
|
12653
|
+
export const carrierChargeReason: PropTypes.Requireable<io.flow.v0.enums.CarrierChargeReason>;
|
|
12624
12654
|
export const centerCapability: PropTypes.Requireable<io.flow.v0.enums.CenterCapability>;
|
|
12625
12655
|
export const changeType: PropTypes.Requireable<io.flow.v0.enums.ChangeType>;
|
|
12626
12656
|
export const channelCurrencyCapability: PropTypes.Requireable<io.flow.v0.enums.ChannelCurrencyCapability>;
|
|
@@ -12749,6 +12779,7 @@ export const priceDetailComponentKey: PropTypes.Requireable<io.flow.v0.enums.Pri
|
|
|
12749
12779
|
export const priceDetailKey: PropTypes.Requireable<io.flow.v0.enums.PriceDetailKey>;
|
|
12750
12780
|
export const priceFacetBoundary: PropTypes.Requireable<io.flow.v0.enums.PriceFacetBoundary>;
|
|
12751
12781
|
export const pricingLevySetting: PropTypes.Requireable<io.flow.v0.enums.PricingLevySetting>;
|
|
12782
|
+
export const productRestrictionRule: PropTypes.Requireable<io.flow.v0.enums.ProductRestrictionRule>;
|
|
12752
12783
|
export const promotionTriggerType: PropTypes.Requireable<io.flow.v0.enums.PromotionTriggerType>;
|
|
12753
12784
|
export const provinceType: PropTypes.Requireable<io.flow.v0.enums.ProvinceType>;
|
|
12754
12785
|
export const quoteErrorCode: PropTypes.Requireable<io.flow.v0.enums.QuoteErrorCode>;
|
|
@@ -12762,6 +12793,7 @@ export const returnStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnStatus>;
|
|
|
12762
12793
|
export const returnTrackingStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnTrackingStatus>;
|
|
12763
12794
|
export const reversalErrorCode: PropTypes.Requireable<io.flow.v0.enums.ReversalErrorCode>;
|
|
12764
12795
|
export const reversalStatus: PropTypes.Requireable<io.flow.v0.enums.ReversalStatus>;
|
|
12796
|
+
export const reviewStatus: PropTypes.Requireable<io.flow.v0.enums.ReviewStatus>;
|
|
12765
12797
|
export const role: PropTypes.Requireable<io.flow.v0.enums.Role>;
|
|
12766
12798
|
export const roundingMethod: PropTypes.Requireable<io.flow.v0.enums.RoundingMethod>;
|
|
12767
12799
|
export const roundingType: PropTypes.Requireable<io.flow.v0.enums.RoundingType>;
|
|
@@ -13779,6 +13811,7 @@ export const paymentRefundForm: PropTypes.Requireable<io.flow.v0.models.PaymentR
|
|
|
13779
13811
|
export const paymentRefundStatus: PropTypes.Requireable<io.flow.v0.models.PaymentRefundStatus>;
|
|
13780
13812
|
export const paymentRequest: PropTypes.Requireable<io.flow.v0.models.PaymentRequest>;
|
|
13781
13813
|
export const paymentRequestBilling: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBilling>;
|
|
13814
|
+
export const paymentRequestBillingCurrencyRate: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBillingCurrencyRate>;
|
|
13782
13815
|
export const paymentRequestBillingFees: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBillingFees>;
|
|
13783
13816
|
export const paymentRequestBundle: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundle>;
|
|
13784
13817
|
export const paymentRequestBundleForm: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundleForm>;
|
|
@@ -14183,6 +14216,7 @@ export const tradeAgreementCertifier: PropTypes.Requireable<io.flow.v0.models.Tr
|
|
|
14183
14216
|
export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAgreementDuty>;
|
|
14184
14217
|
export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
|
|
14185
14218
|
export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
|
|
14219
|
+
export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierCharge>;
|
|
14186
14220
|
export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
|
|
14187
14221
|
export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
|
|
14188
14222
|
export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;
|
package/src/api.js
CHANGED
|
@@ -2952,6 +2952,8 @@ T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']
|
|
|
2952
2952
|
country: PropTypes.string.isRequired,
|
|
2953
2953
|
});
|
|
2954
2954
|
|
|
2955
|
+
T['io.flow.v0.enums.carrier_charge_reason'] = PropTypes.oneOf(['return_to_origin', 'rejection', 'other']);
|
|
2956
|
+
|
|
2955
2957
|
T['io.flow.v0.enums.tracking_status'] = PropTypes.oneOf([
|
|
2956
2958
|
'label_created',
|
|
2957
2959
|
'pending',
|
|
@@ -3696,11 +3698,47 @@ T['io.flow.v0.models.query_filter_structured'] = PropTypes.exact({
|
|
|
3696
3698
|
values: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3697
3699
|
});
|
|
3698
3700
|
|
|
3701
|
+
T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
|
|
3702
|
+
'Adult Products',
|
|
3703
|
+
'Alcohol',
|
|
3704
|
+
'Anti Money Laundering',
|
|
3705
|
+
'Collagen',
|
|
3706
|
+
'Consumer Safety',
|
|
3707
|
+
'Cosmetics',
|
|
3708
|
+
'DG - Batteries',
|
|
3709
|
+
'DG - Hazmat',
|
|
3710
|
+
'Drugs',
|
|
3711
|
+
'Dual Use',
|
|
3712
|
+
'Fine Art',
|
|
3713
|
+
'Fish & Wildlife - CITES',
|
|
3714
|
+
'Fish & Wildlife - Plant',
|
|
3715
|
+
'Fish & Wildlife - USFWS',
|
|
3716
|
+
'Food',
|
|
3717
|
+
'Gambling',
|
|
3718
|
+
'Health',
|
|
3719
|
+
'Human hair',
|
|
3720
|
+
'Insufficient Details',
|
|
3721
|
+
'Intangible',
|
|
3722
|
+
'Jewelry',
|
|
3723
|
+
'Jewelry & Watches Over 5000',
|
|
3724
|
+
'Knives',
|
|
3725
|
+
'Liquids',
|
|
3726
|
+
'Oversized',
|
|
3727
|
+
'Supplements',
|
|
3728
|
+
'Weapon',
|
|
3729
|
+
'Wood',
|
|
3730
|
+
]);
|
|
3731
|
+
|
|
3732
|
+
T['io.flow.v0.enums.review_status'] = PropTypes.oneOf(['high_risk_in_review', 'low_risk_in_review', 'reviewed']);
|
|
3733
|
+
|
|
3699
3734
|
T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
|
|
3700
3735
|
id: PropTypes.string.isRequired,
|
|
3701
3736
|
product_id: PropTypes.string.isRequired,
|
|
3702
3737
|
item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3703
3738
|
prohibited_regions: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3739
|
+
review_status: T['io.flow.v0.enums.review_status'],
|
|
3740
|
+
rules: PropTypes.arrayOf(T['io.flow.v0.enums.product_restriction_rule']),
|
|
3741
|
+
updated_by_user_id: PropTypes.string,
|
|
3704
3742
|
});
|
|
3705
3743
|
|
|
3706
3744
|
T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
|
|
@@ -3892,6 +3930,11 @@ T['io.flow.v0.models.payment_method_data_init_klarna'] = PropTypes.exact({
|
|
|
3892
3930
|
placeholder: PropTypes.string,
|
|
3893
3931
|
});
|
|
3894
3932
|
|
|
3933
|
+
T['io.flow.v0.models.payment_request_billing_currency_rate'] = PropTypes.exact({
|
|
3934
|
+
base_amount: PropTypes.number.isRequired,
|
|
3935
|
+
base_currency: PropTypes.string.isRequired,
|
|
3936
|
+
});
|
|
3937
|
+
|
|
3895
3938
|
T['io.flow.v0.models.payment_request_billing_fees'] = PropTypes.exact({
|
|
3896
3939
|
mor_fee_rate: PropTypes.number,
|
|
3897
3940
|
fx_fee_rate: PropTypes.number,
|
|
@@ -3899,6 +3942,7 @@ T['io.flow.v0.models.payment_request_billing_fees'] = PropTypes.exact({
|
|
|
3899
3942
|
|
|
3900
3943
|
T['io.flow.v0.models.payment_request_billing'] = PropTypes.exact({
|
|
3901
3944
|
fees: T['io.flow.v0.models.payment_request_billing_fees'].isRequired,
|
|
3945
|
+
currency_rate: T['io.flow.v0.models.payment_request_billing_currency_rate'],
|
|
3902
3946
|
});
|
|
3903
3947
|
|
|
3904
3948
|
T['io.flow.v0.models.payment_request_review_check'] = PropTypes.exact({
|
|
@@ -4224,6 +4268,8 @@ T['io.flow.v0.models.payment_reversal'] = PropTypes.exact({
|
|
|
4224
4268
|
id: PropTypes.string.isRequired,
|
|
4225
4269
|
amount: PropTypes.number.isRequired,
|
|
4226
4270
|
currency: PropTypes.string.isRequired,
|
|
4271
|
+
base_amount: PropTypes.number,
|
|
4272
|
+
base_currency: PropTypes.string,
|
|
4227
4273
|
created_at: PropTypes.string.isRequired,
|
|
4228
4274
|
updated_at: PropTypes.string.isRequired,
|
|
4229
4275
|
status: T['io.flow.v0.models.payment_reversal_status'].isRequired,
|
|
@@ -5823,6 +5869,8 @@ T['io.flow.v0.models.payment_refund'] = PropTypes.exact({
|
|
|
5823
5869
|
id: PropTypes.string.isRequired,
|
|
5824
5870
|
amount: PropTypes.number.isRequired,
|
|
5825
5871
|
currency: PropTypes.string.isRequired,
|
|
5872
|
+
base_amount: PropTypes.number,
|
|
5873
|
+
base_currency: PropTypes.string,
|
|
5826
5874
|
created_at: PropTypes.string.isRequired,
|
|
5827
5875
|
updated_at: PropTypes.string.isRequired,
|
|
5828
5876
|
status: T['io.flow.v0.models.payment_refund_status'].isRequired,
|
|
@@ -6913,6 +6961,13 @@ T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
|
|
|
6913
6961
|
url: PropTypes.string,
|
|
6914
6962
|
});
|
|
6915
6963
|
|
|
6964
|
+
T['io.flow.v0.models.transaction_metadata_carrier_charge'] = PropTypes.exact({
|
|
6965
|
+
discriminator: PropTypes.oneOf(['carrier_charge']).isRequired,
|
|
6966
|
+
reason: T['io.flow.v0.enums.carrier_charge_reason'].isRequired,
|
|
6967
|
+
carrier_id: PropTypes.string.isRequired,
|
|
6968
|
+
carrier_tracking_number: PropTypes.string.isRequired,
|
|
6969
|
+
});
|
|
6970
|
+
|
|
6916
6971
|
T['io.flow.v0.models.transaction_metadata_trueup'] = PropTypes.exact({
|
|
6917
6972
|
discriminator: PropTypes.oneOf(['trueup']).isRequired,
|
|
6918
6973
|
original: T['io.flow.v0.models.transaction_metadata_original_transaction'].isRequired,
|
|
@@ -6952,6 +7007,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
|
|
|
6952
7007
|
'shipping_label',
|
|
6953
7008
|
'shipping_label_service',
|
|
6954
7009
|
'trueup',
|
|
7010
|
+
'carrier_charge',
|
|
6955
7011
|
'shipping_label_revenue_share',
|
|
6956
7012
|
'platform_fee',
|
|
6957
7013
|
'tax',
|
|
@@ -7635,6 +7691,7 @@ T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([
|
|
|
7635
7691
|
T['io.flow.v0.models.transaction_metadata_shipping_label'],
|
|
7636
7692
|
T['io.flow.v0.models.transaction_metadata_channel'],
|
|
7637
7693
|
T['io.flow.v0.models.transaction_metadata_trueup'],
|
|
7694
|
+
T['io.flow.v0.models.transaction_metadata_carrier_charge'],
|
|
7638
7695
|
T['io.flow.v0.models.transaction_metadata_manual'],
|
|
7639
7696
|
]);
|
|
7640
7697
|
|
|
@@ -7775,6 +7832,8 @@ T['io.flow.v0.models.payment_capture'] = PropTypes.exact({
|
|
|
7775
7832
|
id: PropTypes.string.isRequired,
|
|
7776
7833
|
amount: PropTypes.number.isRequired,
|
|
7777
7834
|
currency: PropTypes.string.isRequired,
|
|
7835
|
+
base_amount: PropTypes.number,
|
|
7836
|
+
base_currency: PropTypes.string,
|
|
7778
7837
|
created_at: PropTypes.string.isRequired,
|
|
7779
7838
|
updated_at: PropTypes.string.isRequired,
|
|
7780
7839
|
status: T['io.flow.v0.models.payment_capture_status'].isRequired,
|
|
@@ -10815,6 +10874,8 @@ T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
|
|
|
10815
10874
|
status: T['io.flow.v0.models.payment_authorization_status'].isRequired,
|
|
10816
10875
|
amount: PropTypes.number.isRequired,
|
|
10817
10876
|
currency: PropTypes.string.isRequired,
|
|
10877
|
+
base_amount: PropTypes.number,
|
|
10878
|
+
base_currency: PropTypes.string,
|
|
10818
10879
|
});
|
|
10819
10880
|
|
|
10820
10881
|
T['io.flow.v0.models.payment_information'] = PropTypes.exact({
|
|
@@ -11377,6 +11438,8 @@ T['io.flow.v0.models.payment_request'] = PropTypes.exact({
|
|
|
11377
11438
|
next_action: T['io.flow.v0.unions.action'],
|
|
11378
11439
|
amount: PropTypes.number.isRequired,
|
|
11379
11440
|
currency: PropTypes.string.isRequired,
|
|
11441
|
+
base_amount: PropTypes.number,
|
|
11442
|
+
base_currency: PropTypes.string,
|
|
11380
11443
|
order_information: T['io.flow.v0.unions.order_information'].isRequired,
|
|
11381
11444
|
device_details: T['io.flow.v0.unions.device_details'].isRequired,
|
|
11382
11445
|
locale: PropTypes.string,
|
|
@@ -14794,6 +14857,7 @@ export const cardType = T['io.flow.v0.enums.card_type'];
|
|
|
14794
14857
|
export const cardUpsertedV2 = T['io.flow.v0.models.card_upserted_v2'];
|
|
14795
14858
|
export const cardVersion = T['io.flow.v0.models.card_version'];
|
|
14796
14859
|
export const carrier = T['io.flow.v0.models.carrier'];
|
|
14860
|
+
export const carrierChargeReason = T['io.flow.v0.enums.carrier_charge_reason'];
|
|
14797
14861
|
export const carrierReference = T['io.flow.v0.models.carrier_reference'];
|
|
14798
14862
|
export const carrierService = T['io.flow.v0.models.carrier_service'];
|
|
14799
14863
|
export const cartReference = T['io.flow.v0.models.cart_reference'];
|
|
@@ -15771,6 +15835,7 @@ export const paymentRefundForm = T['io.flow.v0.models.payment_refund_form'];
|
|
|
15771
15835
|
export const paymentRefundStatus = T['io.flow.v0.models.payment_refund_status'];
|
|
15772
15836
|
export const paymentRequest = T['io.flow.v0.models.payment_request'];
|
|
15773
15837
|
export const paymentRequestBilling = T['io.flow.v0.models.payment_request_billing'];
|
|
15838
|
+
export const paymentRequestBillingCurrencyRate = T['io.flow.v0.models.payment_request_billing_currency_rate'];
|
|
15774
15839
|
export const paymentRequestBillingFees = T['io.flow.v0.models.payment_request_billing_fees'];
|
|
15775
15840
|
export const paymentRequestBundle = T['io.flow.v0.models.payment_request_bundle'];
|
|
15776
15841
|
export const paymentRequestBundleForm = T['io.flow.v0.models.payment_request_bundle_form'];
|
|
@@ -15868,6 +15933,7 @@ export const processingEstimate = T['io.flow.v0.models.processing_estimate'];
|
|
|
15868
15933
|
export const productRestrictionResult = T['io.flow.v0.models.product_restriction_result'];
|
|
15869
15934
|
export const productRestrictionResultDeleted = T['io.flow.v0.models.product_restriction_result_deleted'];
|
|
15870
15935
|
export const productRestrictionResultUpserted = T['io.flow.v0.models.product_restriction_result_upserted'];
|
|
15936
|
+
export const productRestrictionRule = T['io.flow.v0.enums.product_restriction_rule'];
|
|
15871
15937
|
export const promotion = T['io.flow.v0.unions.promotion'];
|
|
15872
15938
|
export const promotionTrigger = T['io.flow.v0.models.promotion_trigger'];
|
|
15873
15939
|
export const promotionTriggerForm = T['io.flow.v0.models.promotion_trigger_form'];
|
|
@@ -16006,6 +16072,7 @@ export const reversalPutForm = T['io.flow.v0.models.reversal_put_form'];
|
|
|
16006
16072
|
export const reversalStatus = T['io.flow.v0.enums.reversal_status'];
|
|
16007
16073
|
export const reversalUpserted = T['io.flow.v0.models.reversal_upserted'];
|
|
16008
16074
|
export const reversalVersion = T['io.flow.v0.models.reversal_version'];
|
|
16075
|
+
export const reviewStatus = T['io.flow.v0.enums.review_status'];
|
|
16009
16076
|
export const role = T['io.flow.v0.enums.role'];
|
|
16010
16077
|
export const romanization = T['io.flow.v0.models.romanization'];
|
|
16011
16078
|
export const romanizationForm = T['io.flow.v0.models.romanization_form'];
|
|
@@ -16275,6 +16342,7 @@ export const transaction = T['io.flow.v0.models.transaction'];
|
|
|
16275
16342
|
export const transactionDetails = T['io.flow.v0.unions.transaction_details'];
|
|
16276
16343
|
export const transactionDetailsCard = T['io.flow.v0.models.transaction_details_card'];
|
|
16277
16344
|
export const transactionMetadata = T['io.flow.v0.unions.transaction_metadata'];
|
|
16345
|
+
export const transactionMetadataCarrierCharge = T['io.flow.v0.models.transaction_metadata_carrier_charge'];
|
|
16278
16346
|
export const transactionMetadataChannel = T['io.flow.v0.models.transaction_metadata_channel'];
|
|
16279
16347
|
export const transactionMetadataChannelCardMetadata = T['io.flow.v0.models.transaction_metadata_channel_card_metadata'];
|
|
16280
16348
|
export const transactionMetadataChannelCardMetadataIssuerSummary = T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'];
|