@flowio/api-prop-types 10.16.55 → 10.16.56
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 +96 -6
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +96 -6
- package/src/api.js +121 -7
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.56",
|
|
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": "1c87d63f654d1b7f4aa3ef5237a2cf0558fda3d5"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -300,6 +300,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
300
300
|
readonly 'id': string;
|
|
301
301
|
readonly 'amount': number;
|
|
302
302
|
readonly 'amount_refunded': number;
|
|
303
|
+
readonly 'authorization_code'?: string;
|
|
303
304
|
readonly 'captured': boolean;
|
|
304
305
|
readonly 'created': number;
|
|
305
306
|
readonly 'currency': string;
|
|
@@ -350,6 +351,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
350
351
|
readonly 'id': string;
|
|
351
352
|
readonly 'amount': number;
|
|
352
353
|
readonly 'amount_refunded': number;
|
|
354
|
+
readonly 'authorization_code'?: string;
|
|
353
355
|
readonly 'captured': boolean;
|
|
354
356
|
readonly 'created': number;
|
|
355
357
|
readonly 'currency': string;
|
|
@@ -1992,8 +1994,7 @@ declare namespace io.flow.error.v0.models {
|
|
|
1992
1994
|
}
|
|
1993
1995
|
|
|
1994
1996
|
declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
|
|
1995
|
-
type TrueUpSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak';
|
|
1996
|
-
type WeightSelection = 'dead' | 'dimensional';
|
|
1997
|
+
type TrueUpSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
1997
1998
|
}
|
|
1998
1999
|
|
|
1999
2000
|
declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
@@ -2017,11 +2018,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2017
2018
|
readonly 'metadata': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
|
|
2018
2019
|
}
|
|
2019
2020
|
|
|
2021
|
+
interface LabelInvoiceResponseFile {
|
|
2022
|
+
readonly 'id': string;
|
|
2023
|
+
readonly 'url': string;
|
|
2024
|
+
readonly 'created_at': string;
|
|
2025
|
+
readonly 'result'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelInvoiceResponseFileResult;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
interface LabelInvoiceResponseFileForm {
|
|
2029
|
+
readonly 'url': string;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
interface LabelInvoiceResponseFileResult {
|
|
2033
|
+
readonly 'processed_at': string;
|
|
2034
|
+
readonly 'number_lines_successful': number;
|
|
2035
|
+
readonly 'number_lines_with_errors': number;
|
|
2036
|
+
readonly 'errors_url'?: string;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
interface LabelInvoiceResponseForm {
|
|
2040
|
+
readonly 'id': string;
|
|
2041
|
+
readonly 'label_invoice_request_id': string;
|
|
2042
|
+
readonly 'units': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelResponseUnits;
|
|
2043
|
+
readonly 'base': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
|
|
2044
|
+
readonly 'surcharges': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
|
|
2045
|
+
readonly 'total': number;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2020
2048
|
interface LabelMetadata {
|
|
2021
2049
|
readonly 'ratecard': io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
|
|
2022
2050
|
readonly 'weights': io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
|
|
2023
2051
|
}
|
|
2024
2052
|
|
|
2053
|
+
interface LabelResponseUnits {
|
|
2054
|
+
readonly 'currency': string;
|
|
2055
|
+
readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
|
|
2056
|
+
readonly 'length'?: io.flow.units.v0.enums.UnitOfLength;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2025
2059
|
interface LabelSurcharge {
|
|
2026
2060
|
readonly 'amount': number;
|
|
2027
2061
|
readonly 'type': io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
|
|
@@ -2043,6 +2077,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2043
2077
|
readonly 'percentage': number;
|
|
2044
2078
|
}
|
|
2045
2079
|
|
|
2080
|
+
interface LabelSurchargeForm {
|
|
2081
|
+
readonly 'fuel'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2082
|
+
readonly 'remote_area'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2083
|
+
readonly 'oversize'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2084
|
+
readonly 'duties_paid'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2085
|
+
readonly 'emergency'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2086
|
+
readonly 'peak'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2087
|
+
readonly 'address_correction'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
interface LabelSurchargeSingleForm {
|
|
2091
|
+
readonly 'amount': number;
|
|
2092
|
+
readonly 'percentage'?: number;
|
|
2093
|
+
readonly 'fee_per_weight_unit'?: number;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2046
2096
|
interface LabelUnits {
|
|
2047
2097
|
readonly 'currency': string;
|
|
2048
2098
|
readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
|
|
@@ -2060,7 +2110,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
|
|
|
2060
2110
|
}
|
|
2061
2111
|
|
|
2062
2112
|
interface MetadataWeights {
|
|
2063
|
-
readonly 'selected': io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
|
|
2064
2113
|
readonly 'dead'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
|
|
2065
2114
|
readonly 'dimensional'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
|
|
2066
2115
|
}
|
|
@@ -2205,7 +2254,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2205
2254
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
2206
2255
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
2207
2256
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2208
|
-
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
2257
|
+
type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
2209
2258
|
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
2210
2259
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
2211
2260
|
type OrderQuoteAddressType = 'shipping';
|
|
@@ -2294,7 +2343,9 @@ declare namespace io.flow.v0.enums {
|
|
|
2294
2343
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2295
2344
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2296
2345
|
type TransactionPayoutPendingReason = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'external_fulfillment_missing_tracking_info' | 'waiting_for_positive_account_balance';
|
|
2297
|
-
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
|
|
2346
|
+
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';
|
|
2347
|
+
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
|
|
2348
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
|
|
2298
2349
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2299
2350
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2300
2351
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -8219,6 +8270,7 @@ declare namespace io.flow.v0.models {
|
|
|
8219
8270
|
readonly 'current_state': io.flow.v0.unions.OnboardingState;
|
|
8220
8271
|
readonly 'started_at'?: string;
|
|
8221
8272
|
readonly 'time_blocked'?: number;
|
|
8273
|
+
readonly 'time_in_setup'?: number;
|
|
8222
8274
|
readonly 'blocked_since'?: string;
|
|
8223
8275
|
readonly 'completed_at'?: string;
|
|
8224
8276
|
readonly 'onboarding_started_at'?: string;
|
|
@@ -12036,6 +12088,20 @@ declare namespace io.flow.v0.models {
|
|
|
12036
12088
|
readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
|
|
12037
12089
|
}
|
|
12038
12090
|
|
|
12091
|
+
interface TransactionMetadataTrueup {
|
|
12092
|
+
readonly 'discriminator': 'trueup';
|
|
12093
|
+
readonly 'estimate': io.flow.v0.models.TransactionMetadataTrueupData;
|
|
12094
|
+
readonly 'actual': io.flow.v0.models.TransactionMetadataTrueupData;
|
|
12095
|
+
}
|
|
12096
|
+
|
|
12097
|
+
interface TransactionMetadataTrueupData {
|
|
12098
|
+
readonly 'source': io.flow.v0.enums.TrueupSource;
|
|
12099
|
+
readonly 'units': io.flow.v0.models.TrueupLabelUnits;
|
|
12100
|
+
readonly 'base': io.flow.v0.models.TrueupLabelBase;
|
|
12101
|
+
readonly 'surcharges': io.flow.v0.models.TrueupLabelSurcharge[];
|
|
12102
|
+
readonly 'total': number;
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12039
12105
|
interface TransactionNetworkDetailsCard {
|
|
12040
12106
|
readonly 'network_transaction_id'?: string;
|
|
12041
12107
|
readonly 'network'?: io.flow.v0.enums.CardType;
|
|
@@ -12068,6 +12134,23 @@ declare namespace io.flow.v0.models {
|
|
|
12068
12134
|
readonly 'to': number;
|
|
12069
12135
|
}
|
|
12070
12136
|
|
|
12137
|
+
interface TrueupLabelBase {
|
|
12138
|
+
readonly 'amount': number;
|
|
12139
|
+
readonly 'weight': number;
|
|
12140
|
+
}
|
|
12141
|
+
|
|
12142
|
+
interface TrueupLabelSurcharge {
|
|
12143
|
+
readonly 'amount': number;
|
|
12144
|
+
readonly 'type': io.flow.v0.enums.TrueupSurchargeType;
|
|
12145
|
+
readonly 'percentage'?: number;
|
|
12146
|
+
readonly 'per_weight_unit'?: number;
|
|
12147
|
+
}
|
|
12148
|
+
|
|
12149
|
+
interface TrueupLabelUnits {
|
|
12150
|
+
readonly 'weight': io.flow.v0.enums.UnitOfWeight;
|
|
12151
|
+
readonly 'length'?: io.flow.v0.enums.UnitOfLength;
|
|
12152
|
+
}
|
|
12153
|
+
|
|
12071
12154
|
interface UltimateBeneficiaryOwner {
|
|
12072
12155
|
readonly 'name': string;
|
|
12073
12156
|
readonly 'dob': string;
|
|
@@ -12406,7 +12489,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12406
12489
|
type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
|
|
12407
12490
|
type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
|
|
12408
12491
|
type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
|
|
12409
|
-
type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel);
|
|
12492
|
+
type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataTrueup);
|
|
12410
12493
|
}
|
|
12411
12494
|
|
|
12412
12495
|
export const abandonedOrderPromotionStatus: PropTypes.Requireable<io.flow.v0.enums.AbandonedOrderPromotionStatus>;
|
|
@@ -12610,6 +12693,8 @@ export const tradeAgreementName: PropTypes.Requireable<io.flow.v0.enums.TradeAgr
|
|
|
12610
12693
|
export const tradeAgreementStatus: PropTypes.Requireable<io.flow.v0.enums.TradeAgreementStatus>;
|
|
12611
12694
|
export const transactionPayoutPendingReason: PropTypes.Requireable<io.flow.v0.enums.TransactionPayoutPendingReason>;
|
|
12612
12695
|
export const transactionSource: PropTypes.Requireable<io.flow.v0.enums.TransactionSource>;
|
|
12696
|
+
export const trueupSource: PropTypes.Requireable<io.flow.v0.enums.TrueupSource>;
|
|
12697
|
+
export const trueupSurchargeType: PropTypes.Requireable<io.flow.v0.enums.TrueupSurchargeType>;
|
|
12613
12698
|
export const unitOfLength: PropTypes.Requireable<io.flow.v0.enums.UnitOfLength>;
|
|
12614
12699
|
export const unitOfMeasurement: PropTypes.Requireable<io.flow.v0.enums.UnitOfMeasurement>;
|
|
12615
12700
|
export const unitOfTime: PropTypes.Requireable<io.flow.v0.enums.UnitOfTime>;
|
|
@@ -13974,11 +14059,16 @@ export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAg
|
|
|
13974
14059
|
export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
|
|
13975
14060
|
export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
|
|
13976
14061
|
export const transactionMetadataShippingLabel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataShippingLabel>;
|
|
14062
|
+
export const transactionMetadataTrueup: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataTrueup>;
|
|
14063
|
+
export const transactionMetadataTrueupData: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataTrueupData>;
|
|
13977
14064
|
export const transactionNetworkDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionNetworkDetailsCard>;
|
|
13978
14065
|
export const transactionReference: PropTypes.Requireable<io.flow.v0.models.TransactionReference>;
|
|
13979
14066
|
export const transactionUpserted: PropTypes.Requireable<io.flow.v0.models.TransactionUpserted>;
|
|
13980
14067
|
export const transitEstimate: PropTypes.Requireable<io.flow.v0.models.TransitEstimate>;
|
|
13981
14068
|
export const transitWindow: PropTypes.Requireable<io.flow.v0.models.TransitWindow>;
|
|
14069
|
+
export const trueupLabelBase: PropTypes.Requireable<io.flow.v0.models.TrueupLabelBase>;
|
|
14070
|
+
export const trueupLabelSurcharge: PropTypes.Requireable<io.flow.v0.models.TrueupLabelSurcharge>;
|
|
14071
|
+
export const trueupLabelUnits: PropTypes.Requireable<io.flow.v0.models.TrueupLabelUnits>;
|
|
13982
14072
|
export const ultimateBeneficiaryOwner: PropTypes.Requireable<io.flow.v0.models.UltimateBeneficiaryOwner>;
|
|
13983
14073
|
export const unharmonizedItemExportType: PropTypes.Requireable<io.flow.v0.models.UnharmonizedItemExportType>;
|
|
13984
14074
|
export const upload: PropTypes.Requireable<io.flow.v0.models.Upload>;
|
package/src/api.js
CHANGED
|
@@ -31,15 +31,42 @@ T['io.flow.billing.true.up.v0.models.weights_dead'] = PropTypes.exact({
|
|
|
31
31
|
weight: PropTypes.number.isRequired,
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
T['io.flow.billing.true.up.v0.enums.weight_selection'] = PropTypes.oneOf(['dead', 'dimensional']);
|
|
35
|
-
|
|
36
34
|
T['io.flow.billing.true.up.v0.models.metadata_proposition'] = PropTypes.exact({
|
|
37
35
|
shipping_method: T['io.flow.billing.true.up.v0.models.shipping_method_reference'].isRequired,
|
|
38
36
|
name: PropTypes.string.isRequired,
|
|
39
37
|
});
|
|
40
38
|
|
|
39
|
+
T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'] = PropTypes.exact({
|
|
40
|
+
amount: PropTypes.number.isRequired,
|
|
41
|
+
percentage: PropTypes.number,
|
|
42
|
+
fee_per_weight_unit: PropTypes.number,
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
T['io.flow.billing.true.up.v0.models.label_surcharge_form'] = PropTypes.exact({
|
|
46
|
+
fuel: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
47
|
+
remote_area: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
48
|
+
oversize: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
49
|
+
duties_paid: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
50
|
+
emergency: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
51
|
+
peak: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
52
|
+
address_correction: T['io.flow.billing.true.up.v0.models.label_surcharge_single_form'],
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'] = PropTypes.exact({
|
|
56
|
+
processed_at: PropTypes.string.isRequired,
|
|
57
|
+
number_lines_successful: PropTypes.number.isRequired,
|
|
58
|
+
number_lines_with_errors: PropTypes.number.isRequired,
|
|
59
|
+
errors_url: PropTypes.string,
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file'] = PropTypes.exact({
|
|
63
|
+
id: PropTypes.string.isRequired,
|
|
64
|
+
url: PropTypes.string.isRequired,
|
|
65
|
+
created_at: PropTypes.string.isRequired,
|
|
66
|
+
result: T['io.flow.billing.true.up.v0.models.label_invoice_response_file_result'],
|
|
67
|
+
});
|
|
68
|
+
|
|
41
69
|
T['io.flow.billing.true.up.v0.models.metadata_weights'] = PropTypes.exact({
|
|
42
|
-
selected: T['io.flow.billing.true.up.v0.enums.weight_selection'].isRequired,
|
|
43
70
|
dead: T['io.flow.billing.true.up.v0.models.weights_dead'],
|
|
44
71
|
dimensional: T['io.flow.billing.true.up.v0.models.weights_dimensional'],
|
|
45
72
|
});
|
|
@@ -1671,6 +1698,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1671
1698
|
id: PropTypes.string.isRequired,
|
|
1672
1699
|
amount: PropTypes.number.isRequired,
|
|
1673
1700
|
amount_refunded: PropTypes.number.isRequired,
|
|
1701
|
+
authorization_code: PropTypes.string,
|
|
1674
1702
|
captured: PropTypes.bool.isRequired,
|
|
1675
1703
|
created: PropTypes.number.isRequired,
|
|
1676
1704
|
currency: PropTypes.string.isRequired,
|
|
@@ -1760,6 +1788,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1760
1788
|
id: PropTypes.string.isRequired,
|
|
1761
1789
|
amount: PropTypes.number.isRequired,
|
|
1762
1790
|
amount_refunded: PropTypes.number.isRequired,
|
|
1791
|
+
authorization_code: PropTypes.string,
|
|
1763
1792
|
captured: PropTypes.bool.isRequired,
|
|
1764
1793
|
created: PropTypes.number.isRequired,
|
|
1765
1794
|
currency: PropTypes.string.isRequired,
|
|
@@ -2807,6 +2836,46 @@ T['io.flow.v0.models.user_form'] = PropTypes.exact({
|
|
|
2807
2836
|
|
|
2808
2837
|
T['io.flow.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
|
|
2809
2838
|
|
|
2839
|
+
T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
|
|
2840
|
+
'fuel',
|
|
2841
|
+
'remote_area',
|
|
2842
|
+
'oversize',
|
|
2843
|
+
'duties_paid',
|
|
2844
|
+
'emergency',
|
|
2845
|
+
'peak',
|
|
2846
|
+
'address_correction',
|
|
2847
|
+
]);
|
|
2848
|
+
|
|
2849
|
+
T['io.flow.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
2850
|
+
T['io.flow.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
2851
|
+
|
|
2852
|
+
T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
|
|
2853
|
+
amount: PropTypes.number.isRequired,
|
|
2854
|
+
type: T['io.flow.v0.enums.trueup_surcharge_type'].isRequired,
|
|
2855
|
+
percentage: PropTypes.number,
|
|
2856
|
+
per_weight_unit: PropTypes.number,
|
|
2857
|
+
});
|
|
2858
|
+
|
|
2859
|
+
T['io.flow.v0.models.trueup_label_base'] = PropTypes.exact({
|
|
2860
|
+
amount: PropTypes.number.isRequired,
|
|
2861
|
+
weight: PropTypes.number.isRequired,
|
|
2862
|
+
});
|
|
2863
|
+
|
|
2864
|
+
T['io.flow.v0.models.trueup_label_units'] = PropTypes.exact({
|
|
2865
|
+
weight: T['io.flow.v0.enums.unit_of_weight'].isRequired,
|
|
2866
|
+
length: T['io.flow.v0.enums.unit_of_length'],
|
|
2867
|
+
});
|
|
2868
|
+
|
|
2869
|
+
T['io.flow.v0.enums.trueup_source'] = PropTypes.oneOf(['flow', 'channel', 'dhl-parcel', 'dhl']);
|
|
2870
|
+
|
|
2871
|
+
T['io.flow.v0.models.transaction_metadata_trueup_data'] = PropTypes.exact({
|
|
2872
|
+
source: T['io.flow.v0.enums.trueup_source'].isRequired,
|
|
2873
|
+
units: T['io.flow.v0.models.trueup_label_units'].isRequired,
|
|
2874
|
+
base: T['io.flow.v0.models.trueup_label_base'].isRequired,
|
|
2875
|
+
surcharges: PropTypes.arrayOf(T['io.flow.v0.models.trueup_label_surcharge']).isRequired,
|
|
2876
|
+
total: PropTypes.number.isRequired,
|
|
2877
|
+
});
|
|
2878
|
+
|
|
2810
2879
|
T['io.flow.v0.enums.tracking_status'] = PropTypes.oneOf([
|
|
2811
2880
|
'label_created',
|
|
2812
2881
|
'pending',
|
|
@@ -3285,10 +3354,25 @@ T['io.flow.billing.true.up.v0.unions.label_surcharge_detail'] = PropTypes.oneOfT
|
|
|
3285
3354
|
T['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'],
|
|
3286
3355
|
]);
|
|
3287
3356
|
|
|
3288
|
-
T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'] = PropTypes.oneOf([
|
|
3357
|
+
T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'] = PropTypes.oneOf([
|
|
3358
|
+
'fuel',
|
|
3359
|
+
'remote_area',
|
|
3360
|
+
'oversize',
|
|
3361
|
+
'duties_paid',
|
|
3362
|
+
'emergency',
|
|
3363
|
+
'peak',
|
|
3364
|
+
'address_correction',
|
|
3365
|
+
]);
|
|
3366
|
+
|
|
3289
3367
|
T['io.flow.units.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
3290
3368
|
T['io.flow.units.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
3291
3369
|
|
|
3370
|
+
T['io.flow.billing.true.up.v0.models.label_response_units'] = PropTypes.exact({
|
|
3371
|
+
currency: PropTypes.string.isRequired,
|
|
3372
|
+
weight: T['io.flow.units.v0.enums.unit_of_weight'].isRequired,
|
|
3373
|
+
length: T['io.flow.units.v0.enums.unit_of_length'],
|
|
3374
|
+
});
|
|
3375
|
+
|
|
3292
3376
|
T['io.flow.billing.true.up.v0.models.label_surcharge'] = PropTypes.exact({
|
|
3293
3377
|
amount: PropTypes.number.isRequired,
|
|
3294
3378
|
type: T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'].isRequired,
|
|
@@ -3300,6 +3384,15 @@ T['io.flow.billing.true.up.v0.models.label_base'] = PropTypes.exact({
|
|
|
3300
3384
|
weight: PropTypes.number.isRequired,
|
|
3301
3385
|
});
|
|
3302
3386
|
|
|
3387
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_form'] = PropTypes.exact({
|
|
3388
|
+
id: PropTypes.string.isRequired,
|
|
3389
|
+
label_invoice_request_id: PropTypes.string.isRequired,
|
|
3390
|
+
units: T['io.flow.billing.true.up.v0.models.label_response_units'].isRequired,
|
|
3391
|
+
base: T['io.flow.billing.true.up.v0.models.label_base'].isRequired,
|
|
3392
|
+
surcharges: T['io.flow.billing.true.up.v0.models.label_surcharge_form'].isRequired,
|
|
3393
|
+
total: PropTypes.number.isRequired,
|
|
3394
|
+
});
|
|
3395
|
+
|
|
3303
3396
|
T['io.flow.billing.true.up.v0.models.label_units'] = PropTypes.exact({
|
|
3304
3397
|
currency: PropTypes.string.isRequired,
|
|
3305
3398
|
weight: T['io.flow.units.v0.enums.unit_of_weight'].isRequired,
|
|
@@ -6077,6 +6170,7 @@ T['io.flow.v0.enums.order_payment_type'] = PropTypes.oneOf([
|
|
|
6077
6170
|
'card',
|
|
6078
6171
|
'online',
|
|
6079
6172
|
'credit',
|
|
6173
|
+
'external',
|
|
6080
6174
|
'subsidized',
|
|
6081
6175
|
'installment_plan',
|
|
6082
6176
|
'cash_on_delivery',
|
|
@@ -6719,6 +6813,12 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
|
|
|
6719
6813
|
'transfer',
|
|
6720
6814
|
]);
|
|
6721
6815
|
|
|
6816
|
+
T['io.flow.v0.models.transaction_metadata_trueup'] = PropTypes.exact({
|
|
6817
|
+
discriminator: PropTypes.oneOf(['trueup']).isRequired,
|
|
6818
|
+
estimate: T['io.flow.v0.models.transaction_metadata_trueup_data'].isRequired,
|
|
6819
|
+
actual: T['io.flow.v0.models.transaction_metadata_trueup_data'].isRequired,
|
|
6820
|
+
});
|
|
6821
|
+
|
|
6722
6822
|
T['io.flow.v0.models.transaction_metadata_shipping_label'] = PropTypes.exact({
|
|
6723
6823
|
discriminator: PropTypes.oneOf(['shipping_label']).isRequired,
|
|
6724
6824
|
request_method: T['io.flow.v0.enums.label_request_method'],
|
|
@@ -6749,6 +6849,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
|
|
|
6749
6849
|
'reversal',
|
|
6750
6850
|
'shipping_label',
|
|
6751
6851
|
'shipping_label_service',
|
|
6852
|
+
'trueup',
|
|
6752
6853
|
'shipping_label_revenue_share',
|
|
6753
6854
|
'platform_fee',
|
|
6754
6855
|
'tax',
|
|
@@ -6773,7 +6874,10 @@ T['io.flow.v0.models.billing_channel_payment_request_reference'] = PropTypes.exa
|
|
|
6773
6874
|
reference: PropTypes.string,
|
|
6774
6875
|
});
|
|
6775
6876
|
|
|
6776
|
-
T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([
|
|
6877
|
+
T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([
|
|
6878
|
+
T['io.flow.v0.models.transaction_metadata_shipping_label'],
|
|
6879
|
+
T['io.flow.v0.models.transaction_metadata_trueup'],
|
|
6880
|
+
]);
|
|
6777
6881
|
|
|
6778
6882
|
T['io.flow.v0.models.billing_channel_statement_reference'] = PropTypes.exact({
|
|
6779
6883
|
id: PropTypes.string.isRequired,
|
|
@@ -8048,6 +8152,7 @@ T['io.flow.v0.models.organization_onboarding_state'] = PropTypes.exact({
|
|
|
8048
8152
|
current_state: T['io.flow.v0.unions.onboarding_state'].isRequired,
|
|
8049
8153
|
started_at: PropTypes.string,
|
|
8050
8154
|
time_blocked: PropTypes.number,
|
|
8155
|
+
time_in_setup: PropTypes.number,
|
|
8051
8156
|
blocked_since: PropTypes.string,
|
|
8052
8157
|
completed_at: PropTypes.string,
|
|
8053
8158
|
onboarding_started_at: PropTypes.string,
|
|
@@ -13407,9 +13512,7 @@ T['io.flow.v0.enums.strategy'] = PropTypes.oneOf(['range', 'from', 'to']);
|
|
|
13407
13512
|
T['io.flow.v0.enums.taxability_type'] = PropTypes.oneOf(['tax_rule']);
|
|
13408
13513
|
T['io.flow.v0.enums.taxability_value'] = PropTypes.oneOf(['exempt']);
|
|
13409
13514
|
T['io.flow.v0.enums.tracking_number_type'] = PropTypes.oneOf(['flow', 'carrier']);
|
|
13410
|
-
T['io.flow.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
|
|
13411
13515
|
T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf(['cubic_inch', 'cubic_meter']);
|
|
13412
|
-
T['io.flow.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
|
|
13413
13516
|
T['io.flow.v0.enums.value_added_service'] = PropTypes.oneOf(['Hazardous Material']);
|
|
13414
13517
|
|
|
13415
13518
|
T['io.flow.v0.models.activation_put_form'] = PropTypes.exact({
|
|
@@ -14286,6 +14389,10 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_data'] = PropTypes.exact({
|
|
|
14286
14389
|
paymentData: PropTypes.object.isRequired,
|
|
14287
14390
|
});
|
|
14288
14391
|
|
|
14392
|
+
T['io.flow.billing.true.up.v0.models.label_invoice_response_file_form'] = PropTypes.exact({
|
|
14393
|
+
url: PropTypes.string.isRequired,
|
|
14394
|
+
});
|
|
14395
|
+
|
|
14289
14396
|
export const abandonedOrderEmailSettings = T['io.flow.v0.models.abandoned_order_email_settings'];
|
|
14290
14397
|
export const abandonedOrderPromotion = T['io.flow.v0.models.abandoned_order_promotion'];
|
|
14291
14398
|
export const abandonedOrderPromotionDetails = T['io.flow.v0.unions.abandoned_order_promotion_details'];
|
|
@@ -15944,6 +16051,8 @@ export const transactionDetails = T['io.flow.v0.unions.transaction_details'];
|
|
|
15944
16051
|
export const transactionDetailsCard = T['io.flow.v0.models.transaction_details_card'];
|
|
15945
16052
|
export const transactionMetadata = T['io.flow.v0.unions.transaction_metadata'];
|
|
15946
16053
|
export const transactionMetadataShippingLabel = T['io.flow.v0.models.transaction_metadata_shipping_label'];
|
|
16054
|
+
export const transactionMetadataTrueup = T['io.flow.v0.models.transaction_metadata_trueup'];
|
|
16055
|
+
export const transactionMetadataTrueupData = T['io.flow.v0.models.transaction_metadata_trueup_data'];
|
|
15947
16056
|
export const transactionNetworkDetailsCard = T['io.flow.v0.models.transaction_network_details_card'];
|
|
15948
16057
|
export const transactionPayoutPendingReason = T['io.flow.v0.enums.transaction_payout_pending_reason'];
|
|
15949
16058
|
export const transactionReference = T['io.flow.v0.models.transaction_reference'];
|
|
@@ -15951,6 +16060,11 @@ export const transactionSource = T['io.flow.v0.enums.transaction_source'];
|
|
|
15951
16060
|
export const transactionUpserted = T['io.flow.v0.models.transaction_upserted'];
|
|
15952
16061
|
export const transitEstimate = T['io.flow.v0.models.transit_estimate'];
|
|
15953
16062
|
export const transitWindow = T['io.flow.v0.models.transit_window'];
|
|
16063
|
+
export const trueupLabelBase = T['io.flow.v0.models.trueup_label_base'];
|
|
16064
|
+
export const trueupLabelSurcharge = T['io.flow.v0.models.trueup_label_surcharge'];
|
|
16065
|
+
export const trueupLabelUnits = T['io.flow.v0.models.trueup_label_units'];
|
|
16066
|
+
export const trueupSource = T['io.flow.v0.enums.trueup_source'];
|
|
16067
|
+
export const trueupSurchargeType = T['io.flow.v0.enums.trueup_surcharge_type'];
|
|
15954
16068
|
export const ultimateBeneficiaryOwner = T['io.flow.v0.models.ultimate_beneficiary_owner'];
|
|
15955
16069
|
export const unharmonizedItemExportType = T['io.flow.v0.models.unharmonized_item_export_type'];
|
|
15956
16070
|
export const unitOfLength = T['io.flow.v0.enums.unit_of_length'];
|