@flowio/types 11.24.87 → 11.24.89
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 +267 -26
- package/dist/api.d.ts +30 -1
- package/package.json +2 -2
- package/src/api-internal.ts +319 -29
- package/src/api.ts +33 -1
package/dist/api.d.ts
CHANGED
|
@@ -2053,7 +2053,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2053
2053
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2054
2054
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2055
2055
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2056
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | '
|
|
2056
|
+
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';
|
|
2057
2057
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2058
2058
|
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2059
2059
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -2100,6 +2100,9 @@ declare namespace io.flow.v0.models {
|
|
|
2100
2100
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
2101
2101
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
2102
2102
|
}
|
|
2103
|
+
interface AccountIdReference {
|
|
2104
|
+
readonly id: string;
|
|
2105
|
+
}
|
|
2103
2106
|
interface AccountOrdersExportType {
|
|
2104
2107
|
readonly discriminator: 'account_orders_export_type';
|
|
2105
2108
|
readonly statement_id?: string;
|
|
@@ -3488,6 +3491,7 @@ declare namespace io.flow.v0.models {
|
|
|
3488
3491
|
interface ChannelTransaction {
|
|
3489
3492
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
3490
3493
|
readonly id: string;
|
|
3494
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
3491
3495
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
3492
3496
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
3493
3497
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -4944,6 +4948,25 @@ declare namespace io.flow.v0.models {
|
|
|
4944
4948
|
interface FlowItemIndexMetadata {
|
|
4945
4949
|
readonly status: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4946
4950
|
}
|
|
4951
|
+
interface FlowTransaction {
|
|
4952
|
+
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
4953
|
+
readonly id: string;
|
|
4954
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
4955
|
+
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
4956
|
+
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
4957
|
+
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
4958
|
+
readonly currency: string;
|
|
4959
|
+
readonly source: io.flow.v0.enums.TransactionSource;
|
|
4960
|
+
readonly parent?: io.flow.v0.models.ParentTransactionSummary;
|
|
4961
|
+
readonly gross: number;
|
|
4962
|
+
readonly fees: io.flow.v0.models.FeeDeduction[];
|
|
4963
|
+
readonly withholdings: io.flow.v0.models.WithholdingDeduction[];
|
|
4964
|
+
readonly discounts: io.flow.v0.models.BillingDiscount[];
|
|
4965
|
+
readonly net: number;
|
|
4966
|
+
readonly identifiers: Record<string, string>;
|
|
4967
|
+
readonly created_at: string;
|
|
4968
|
+
readonly updated_at: string;
|
|
4969
|
+
}
|
|
4947
4970
|
interface FraudEmailRule {
|
|
4948
4971
|
readonly id?: string;
|
|
4949
4972
|
readonly email: string;
|
|
@@ -6346,6 +6369,7 @@ declare namespace io.flow.v0.models {
|
|
|
6346
6369
|
readonly discriminator: 'merchant_rejected';
|
|
6347
6370
|
readonly reason: io.flow.v0.enums.MerchantRejectedReason;
|
|
6348
6371
|
readonly description?: string;
|
|
6372
|
+
readonly deactivate_at?: string;
|
|
6349
6373
|
}
|
|
6350
6374
|
interface Money {
|
|
6351
6375
|
readonly amount: number;
|
|
@@ -8067,6 +8091,7 @@ declare namespace io.flow.v0.models {
|
|
|
8067
8091
|
}
|
|
8068
8092
|
interface PayoutTransaction {
|
|
8069
8093
|
readonly id: string;
|
|
8094
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
8070
8095
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
8071
8096
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
8072
8097
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -10558,6 +10583,7 @@ declare namespace io.flow.v0.models {
|
|
|
10558
10583
|
interface Transaction {
|
|
10559
10584
|
readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
|
|
10560
10585
|
readonly id: string;
|
|
10586
|
+
readonly account: io.flow.v0.models.AccountIdReference;
|
|
10561
10587
|
readonly metadata?: io.flow.v0.unions.TransactionMetadata;
|
|
10562
10588
|
readonly order?: io.flow.v0.models.BillingChannelOrderSummary;
|
|
10563
10589
|
readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
@@ -10585,6 +10611,7 @@ declare namespace io.flow.v0.models {
|
|
|
10585
10611
|
readonly label_created_at: string;
|
|
10586
10612
|
readonly carrier_id: string;
|
|
10587
10613
|
readonly carrier_tracking_number: string;
|
|
10614
|
+
readonly revenue_share_percentage: number;
|
|
10588
10615
|
readonly outbound?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
|
|
10589
10616
|
}
|
|
10590
10617
|
interface TransactionMetadataCarrierChargeOutbound {
|
|
@@ -10996,6 +11023,7 @@ export declare type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrd
|
|
|
10996
11023
|
export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
10997
11024
|
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
10998
11025
|
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
11026
|
+
export declare type AccountIdReference = io.flow.v0.models.AccountIdReference;
|
|
10999
11027
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
11000
11028
|
export declare type AccountReference = io.flow.v0.models.AccountReference;
|
|
11001
11029
|
export declare type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
@@ -11565,6 +11593,7 @@ export declare type FlowCenterReference = io.flow.v0.models.FlowCenterReference;
|
|
|
11565
11593
|
export declare type FlowEntity = io.flow.v0.enums.FlowEntity;
|
|
11566
11594
|
export declare type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata;
|
|
11567
11595
|
export declare type FlowRole = io.flow.v0.enums.FlowRole;
|
|
11596
|
+
export declare type FlowTransaction = io.flow.v0.models.FlowTransaction;
|
|
11568
11597
|
export declare type FraudEmailRule = io.flow.v0.models.FraudEmailRule;
|
|
11569
11598
|
export declare type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision;
|
|
11570
11599
|
export declare type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.89",
|
|
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": "5fe142f9c051bfc6d8266e2debef0a86210b1e43"
|
|
29
29
|
}
|