@flowio/api-prop-types 10.16.63 → 10.16.65

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 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,7 +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';
2230
- 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' | 'unknown';
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' | 'Restrict by Default' | 'Supplements' | 'Weapon' | 'Wood';
2231
2232
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
2232
2233
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2233
2234
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -2277,7 +2278,7 @@ declare namespace io.flow.v0.enums {
2277
2278
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2278
2279
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2279
2280
  type TradeAgreementStatus = 'supported' | 'not_supported';
2280
- 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';
2281
2282
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2282
2283
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
2283
2284
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
@@ -8647,6 +8648,8 @@ declare namespace io.flow.v0.models {
8647
8648
  readonly 'status': io.flow.v0.models.PaymentAuthorizationStatus;
8648
8649
  readonly 'amount': number;
8649
8650
  readonly 'currency': string;
8651
+ readonly 'base_amount'?: number;
8652
+ readonly 'base_currency'?: string;
8650
8653
  }
8651
8654
 
8652
8655
  interface PaymentAuthorizationStatus {
@@ -8658,6 +8661,8 @@ declare namespace io.flow.v0.models {
8658
8661
  readonly 'id': string;
8659
8662
  readonly 'amount': number;
8660
8663
  readonly 'currency': string;
8664
+ readonly 'base_amount'?: number;
8665
+ readonly 'base_currency'?: string;
8661
8666
  readonly 'created_at': string;
8662
8667
  readonly 'updated_at': string;
8663
8668
  readonly 'status': io.flow.v0.models.PaymentCaptureStatus;
@@ -9090,6 +9095,8 @@ declare namespace io.flow.v0.models {
9090
9095
  readonly 'id': string;
9091
9096
  readonly 'amount': number;
9092
9097
  readonly 'currency': string;
9098
+ readonly 'base_amount'?: number;
9099
+ readonly 'base_currency'?: string;
9093
9100
  readonly 'created_at': string;
9094
9101
  readonly 'updated_at': string;
9095
9102
  readonly 'status': io.flow.v0.models.PaymentRefundStatus;
@@ -9115,6 +9122,8 @@ declare namespace io.flow.v0.models {
9115
9122
  readonly 'next_action'?: io.flow.v0.unions.Action;
9116
9123
  readonly 'amount': number;
9117
9124
  readonly 'currency': string;
9125
+ readonly 'base_amount'?: number;
9126
+ readonly 'base_currency'?: string;
9118
9127
  readonly 'order_information': io.flow.v0.unions.OrderInformation;
9119
9128
  readonly 'device_details': io.flow.v0.unions.DeviceDetails;
9120
9129
  readonly 'locale'?: string;
@@ -9129,6 +9138,12 @@ declare namespace io.flow.v0.models {
9129
9138
 
9130
9139
  interface PaymentRequestBilling {
9131
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;
9132
9147
  }
9133
9148
 
9134
9149
  interface PaymentRequestBillingFees {
@@ -9195,6 +9210,8 @@ declare namespace io.flow.v0.models {
9195
9210
  readonly 'id': string;
9196
9211
  readonly 'amount': number;
9197
9212
  readonly 'currency': string;
9213
+ readonly 'base_amount'?: number;
9214
+ readonly 'base_currency'?: string;
9198
9215
  readonly 'created_at': string;
9199
9216
  readonly 'updated_at': string;
9200
9217
  readonly 'status': io.flow.v0.models.PaymentReversalStatus;
@@ -9639,9 +9656,9 @@ declare namespace io.flow.v0.models {
9639
9656
  readonly 'product_id': string;
9640
9657
  readonly 'item_numbers': string[];
9641
9658
  readonly 'prohibited_regions': string[];
9642
- readonly 'review_status': io.flow.v0.enums.ReviewStatus;
9643
- readonly 'rules': io.flow.v0.enums.ProductRestrictionRule[];
9644
- readonly 'updated_by_user_id': string;
9659
+ readonly 'review_status'?: io.flow.v0.enums.ReviewStatus;
9660
+ readonly 'rules'?: io.flow.v0.enums.ProductRestrictionRule[];
9661
+ readonly 'updated_by'?: string;
9645
9662
  }
9646
9663
 
9647
9664
  interface ProductRestrictionResultDeleted {
@@ -12154,6 +12171,13 @@ declare namespace io.flow.v0.models {
12154
12171
  readonly 'network_details'?: io.flow.v0.models.TransactionNetworkDetailsCard;
12155
12172
  }
12156
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
+
12157
12181
  interface TransactionMetadataChannel {
12158
12182
  readonly 'discriminator': 'channel';
12159
12183
  readonly 'method': string;
@@ -12599,7 +12623,7 @@ declare namespace io.flow.v0.unions {
12599
12623
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
12600
12624
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
12601
12625
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
12602
- 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);
12603
12627
  }
12604
12628
 
12605
12629
  export const abandonedOrderPromotionStatus: PropTypes.Requireable<io.flow.v0.enums.AbandonedOrderPromotionStatus>;
@@ -12626,6 +12650,7 @@ export const captureDeclineCode: PropTypes.Requireable<io.flow.v0.enums.CaptureD
12626
12650
  export const captureStatus: PropTypes.Requireable<io.flow.v0.enums.CaptureStatus>;
12627
12651
  export const cardErrorCode: PropTypes.Requireable<io.flow.v0.enums.CardErrorCode>;
12628
12652
  export const cardType: PropTypes.Requireable<io.flow.v0.enums.CardType>;
12653
+ export const carrierChargeReason: PropTypes.Requireable<io.flow.v0.enums.CarrierChargeReason>;
12629
12654
  export const centerCapability: PropTypes.Requireable<io.flow.v0.enums.CenterCapability>;
12630
12655
  export const changeType: PropTypes.Requireable<io.flow.v0.enums.ChangeType>;
12631
12656
  export const channelCurrencyCapability: PropTypes.Requireable<io.flow.v0.enums.ChannelCurrencyCapability>;
@@ -13786,6 +13811,7 @@ export const paymentRefundForm: PropTypes.Requireable<io.flow.v0.models.PaymentR
13786
13811
  export const paymentRefundStatus: PropTypes.Requireable<io.flow.v0.models.PaymentRefundStatus>;
13787
13812
  export const paymentRequest: PropTypes.Requireable<io.flow.v0.models.PaymentRequest>;
13788
13813
  export const paymentRequestBilling: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBilling>;
13814
+ export const paymentRequestBillingCurrencyRate: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBillingCurrencyRate>;
13789
13815
  export const paymentRequestBillingFees: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBillingFees>;
13790
13816
  export const paymentRequestBundle: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundle>;
13791
13817
  export const paymentRequestBundleForm: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundleForm>;
@@ -14190,6 +14216,7 @@ export const tradeAgreementCertifier: PropTypes.Requireable<io.flow.v0.models.Tr
14190
14216
  export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAgreementDuty>;
14191
14217
  export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
14192
14218
  export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
14219
+ export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierCharge>;
14193
14220
  export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
14194
14221
  export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
14195
14222
  export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;