@flowio/api-prop-types 10.16.69 → 10.16.71
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 +32 -1
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +32 -1
- package/src/api.js +33 -1
package/lib/api.d.ts
CHANGED
|
@@ -2282,7 +2282,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2282
2282
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2283
2283
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2284
2284
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2285
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | '
|
|
2285
|
+
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
2286
2286
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2287
2287
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2288
2288
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -2335,6 +2335,10 @@ declare namespace io.flow.v0.models {
|
|
|
2335
2335
|
readonly 'status': io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
2336
2336
|
}
|
|
2337
2337
|
|
|
2338
|
+
interface AccountIdReference {
|
|
2339
|
+
readonly 'id': string;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2338
2342
|
interface AccountOrdersExportType {
|
|
2339
2343
|
readonly 'discriminator': 'account_orders_export_type';
|
|
2340
2344
|
readonly 'statement_id'?: string;
|
|
@@ -3940,6 +3944,7 @@ declare namespace io.flow.v0.models {
|
|
|
3940
3944
|
interface ChannelTransaction {
|
|
3941
3945
|
readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
|
|
3942
3946
|
readonly 'id': string;
|
|
3947
|
+
readonly 'account': io.flow.v0.models.AccountIdReference;
|
|
3943
3948
|
readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
|
|
3944
3949
|
readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
3945
3950
|
readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -5642,6 +5647,26 @@ declare namespace io.flow.v0.models {
|
|
|
5642
5647
|
readonly 'status': io.flow.v0.enums.SubcatalogItemStatus;
|
|
5643
5648
|
}
|
|
5644
5649
|
|
|
5650
|
+
interface FlowTransaction {
|
|
5651
|
+
readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
|
|
5652
|
+
readonly 'id': string;
|
|
5653
|
+
readonly 'account': io.flow.v0.models.AccountIdReference;
|
|
5654
|
+
readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
|
|
5655
|
+
readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
5656
|
+
readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
5657
|
+
readonly 'currency': string;
|
|
5658
|
+
readonly 'source': io.flow.v0.enums.TransactionSource;
|
|
5659
|
+
readonly 'parent'?: io.flow.v0.models.ParentTransactionSummary;
|
|
5660
|
+
readonly 'gross': number;
|
|
5661
|
+
readonly 'fees': io.flow.v0.models.FeeDeduction[];
|
|
5662
|
+
readonly 'withholdings': io.flow.v0.models.WithholdingDeduction[];
|
|
5663
|
+
readonly 'discounts': io.flow.v0.models.BillingDiscount[];
|
|
5664
|
+
readonly 'net': number;
|
|
5665
|
+
readonly 'identifiers': Record<string, string>;
|
|
5666
|
+
readonly 'created_at': string;
|
|
5667
|
+
readonly 'updated_at': string;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5645
5670
|
interface FraudEmailRule {
|
|
5646
5671
|
readonly 'id'?: string;
|
|
5647
5672
|
readonly 'email': string;
|
|
@@ -7274,6 +7299,7 @@ declare namespace io.flow.v0.models {
|
|
|
7274
7299
|
readonly 'discriminator': 'merchant_rejected';
|
|
7275
7300
|
readonly 'reason': io.flow.v0.enums.MerchantRejectedReason;
|
|
7276
7301
|
readonly 'description'?: string;
|
|
7302
|
+
readonly 'deactivate_at'?: string;
|
|
7277
7303
|
}
|
|
7278
7304
|
|
|
7279
7305
|
interface Money {
|
|
@@ -9284,6 +9310,7 @@ declare namespace io.flow.v0.models {
|
|
|
9284
9310
|
|
|
9285
9311
|
interface PayoutTransaction {
|
|
9286
9312
|
readonly 'id': string;
|
|
9313
|
+
readonly 'account': io.flow.v0.models.AccountIdReference;
|
|
9287
9314
|
readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
|
|
9288
9315
|
readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
9289
9316
|
readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -12156,6 +12183,7 @@ declare namespace io.flow.v0.models {
|
|
|
12156
12183
|
interface Transaction {
|
|
12157
12184
|
readonly 'statement'?: io.flow.v0.models.BillingChannelStatementReference;
|
|
12158
12185
|
readonly 'id': string;
|
|
12186
|
+
readonly 'account': io.flow.v0.models.AccountIdReference;
|
|
12159
12187
|
readonly 'metadata'?: io.flow.v0.unions.TransactionMetadata;
|
|
12160
12188
|
readonly 'order'?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
12161
12189
|
readonly 'payment_request'?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -12185,6 +12213,7 @@ declare namespace io.flow.v0.models {
|
|
|
12185
12213
|
readonly 'label_created_at': string;
|
|
12186
12214
|
readonly 'carrier_id': string;
|
|
12187
12215
|
readonly 'carrier_tracking_number': string;
|
|
12216
|
+
readonly 'revenue_share_percentage': number;
|
|
12188
12217
|
readonly 'outbound'?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
|
|
12189
12218
|
}
|
|
12190
12219
|
|
|
@@ -12866,6 +12895,7 @@ export const abandonedOrderPromotion: PropTypes.Requireable<io.flow.v0.models.Ab
|
|
|
12866
12895
|
export const abandonedOrderPromotionDiscountDetails: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderPromotionDiscountDetails>;
|
|
12867
12896
|
export const abandonedOrderPromotionForm: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderPromotionForm>;
|
|
12868
12897
|
export const abandonedOrderSettings: PropTypes.Requireable<io.flow.v0.models.AbandonedOrderSettings>;
|
|
12898
|
+
export const accountIdReference: PropTypes.Requireable<io.flow.v0.models.AccountIdReference>;
|
|
12869
12899
|
export const accountOrdersExportType: PropTypes.Requireable<io.flow.v0.models.AccountOrdersExportType>;
|
|
12870
12900
|
export const accountReference: PropTypes.Requireable<io.flow.v0.models.AccountReference>;
|
|
12871
12901
|
export const accountTransactionsExportType: PropTypes.Requireable<io.flow.v0.models.AccountTransactionsExportType>;
|
|
@@ -13329,6 +13359,7 @@ export const flatRate: PropTypes.Requireable<io.flow.v0.models.FlatRate>;
|
|
|
13329
13359
|
export const flatRateForm: PropTypes.Requireable<io.flow.v0.models.FlatRateForm>;
|
|
13330
13360
|
export const flowCenterReference: PropTypes.Requireable<io.flow.v0.models.FlowCenterReference>;
|
|
13331
13361
|
export const flowItemIndexMetadata: PropTypes.Requireable<io.flow.v0.models.FlowItemIndexMetadata>;
|
|
13362
|
+
export const flowTransaction: PropTypes.Requireable<io.flow.v0.models.FlowTransaction>;
|
|
13332
13363
|
export const fraudEmailRule: PropTypes.Requireable<io.flow.v0.models.FraudEmailRule>;
|
|
13333
13364
|
export const fraudEmailRuleForm: PropTypes.Requireable<io.flow.v0.models.FraudEmailRuleForm>;
|
|
13334
13365
|
export const fraudFlowOrderReference: PropTypes.Requireable<io.flow.v0.models.FraudFlowOrderReference>;
|