@flowio/api-prop-types 10.16.54 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-prop-types",
3
- "version": "10.16.54",
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": "2ec4e55423f8c68d0d75db7df7825e96a4433e9b"
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;
@@ -921,9 +923,11 @@ declare namespace io.flow.stripe.v0.models {
921
923
  }
922
924
 
923
925
  interface ThreeDSecureCharge {
926
+ readonly 'authenticated'?: boolean;
924
927
  readonly 'authentication_flow'?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
925
928
  readonly 'result'?: io.flow.stripe.v0.enums.ThreeDsResult;
926
929
  readonly 'result_reason'?: io.flow.stripe.v0.enums.ThreeDsResultReason;
930
+ readonly 'succeeded'?: boolean;
927
931
  readonly 'version'?: string;
928
932
  }
929
933
 
@@ -1990,8 +1994,7 @@ declare namespace io.flow.error.v0.models {
1990
1994
  }
1991
1995
 
1992
1996
  declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
1993
- type TrueUpSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak';
1994
- type WeightSelection = 'dead' | 'dimensional';
1997
+ type TrueUpSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
1995
1998
  }
1996
1999
 
1997
2000
  declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
@@ -2015,11 +2018,44 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2015
2018
  readonly 'metadata': io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
2016
2019
  }
2017
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
+
2018
2048
  interface LabelMetadata {
2019
2049
  readonly 'ratecard': io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
2020
2050
  readonly 'weights': io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
2021
2051
  }
2022
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
+
2023
2059
  interface LabelSurcharge {
2024
2060
  readonly 'amount': number;
2025
2061
  readonly 'type': io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
@@ -2041,6 +2077,22 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2041
2077
  readonly 'percentage': number;
2042
2078
  }
2043
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
+
2044
2096
  interface LabelUnits {
2045
2097
  readonly 'currency': string;
2046
2098
  readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
@@ -2058,7 +2110,6 @@ declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
2058
2110
  }
2059
2111
 
2060
2112
  interface MetadataWeights {
2061
- readonly 'selected': io.flow.billing.RESERVED_WORD_true.up.v0.enums.WeightSelection;
2062
2113
  readonly 'dead'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
2063
2114
  readonly 'dimensional'?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
2064
2115
  }
@@ -2203,7 +2254,7 @@ declare namespace io.flow.v0.enums {
2203
2254
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
2204
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';
2205
2256
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
2206
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
2257
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
2207
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';
2208
2259
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
2209
2260
  type OrderQuoteAddressType = 'shipping';
@@ -2226,7 +2277,7 @@ declare namespace io.flow.v0.enums {
2226
2277
  type PaymentMethodRuleContentKey = 'description';
2227
2278
  type PaymentMethodType = 'card' | 'online' | 'offline';
2228
2279
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
2229
- type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic';
2280
+ type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
2230
2281
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2231
2282
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2232
2283
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
@@ -2292,7 +2343,9 @@ declare namespace io.flow.v0.enums {
2292
2343
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2293
2344
  type TradeAgreementStatus = 'supported' | 'not_supported';
2294
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';
2295
- 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';
2296
2349
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
2297
2350
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2298
2351
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -6605,6 +6658,7 @@ declare namespace io.flow.v0.models {
6605
6658
  readonly 'discriminator': 'know_your_business_usa';
6606
6659
  readonly 'id': string;
6607
6660
  readonly 'organization_id': string;
6661
+ readonly 'shop'?: io.flow.v0.models.Shop;
6608
6662
  readonly 'primary_entity': io.flow.v0.unions.Entity;
6609
6663
  readonly 'parent_company'?: io.flow.v0.models.Company;
6610
6664
  readonly 'ultimate_parent_company'?: io.flow.v0.models.Company;
@@ -8216,6 +8270,7 @@ declare namespace io.flow.v0.models {
8216
8270
  readonly 'current_state': io.flow.v0.unions.OnboardingState;
8217
8271
  readonly 'started_at'?: string;
8218
8272
  readonly 'time_blocked'?: number;
8273
+ readonly 'time_in_setup'?: number;
8219
8274
  readonly 'blocked_since'?: string;
8220
8275
  readonly 'completed_at'?: string;
8221
8276
  readonly 'onboarding_started_at'?: string;
@@ -12033,6 +12088,20 @@ declare namespace io.flow.v0.models {
12033
12088
  readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
12034
12089
  }
12035
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
+
12036
12105
  interface TransactionNetworkDetailsCard {
12037
12106
  readonly 'network_transaction_id'?: string;
12038
12107
  readonly 'network'?: io.flow.v0.enums.CardType;
@@ -12065,6 +12134,23 @@ declare namespace io.flow.v0.models {
12065
12134
  readonly 'to': number;
12066
12135
  }
12067
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
+
12068
12154
  interface UltimateBeneficiaryOwner {
12069
12155
  readonly 'name': string;
12070
12156
  readonly 'dob': string;
@@ -12403,7 +12489,7 @@ declare namespace io.flow.v0.unions {
12403
12489
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
12404
12490
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
12405
12491
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
12406
- type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel);
12492
+ type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataTrueup);
12407
12493
  }
12408
12494
 
12409
12495
  export const abandonedOrderPromotionStatus: PropTypes.Requireable<io.flow.v0.enums.AbandonedOrderPromotionStatus>;
@@ -12607,6 +12693,8 @@ export const tradeAgreementName: PropTypes.Requireable<io.flow.v0.enums.TradeAgr
12607
12693
  export const tradeAgreementStatus: PropTypes.Requireable<io.flow.v0.enums.TradeAgreementStatus>;
12608
12694
  export const transactionPayoutPendingReason: PropTypes.Requireable<io.flow.v0.enums.TransactionPayoutPendingReason>;
12609
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>;
12610
12698
  export const unitOfLength: PropTypes.Requireable<io.flow.v0.enums.UnitOfLength>;
12611
12699
  export const unitOfMeasurement: PropTypes.Requireable<io.flow.v0.enums.UnitOfMeasurement>;
12612
12700
  export const unitOfTime: PropTypes.Requireable<io.flow.v0.enums.UnitOfTime>;
@@ -13971,11 +14059,16 @@ export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAg
13971
14059
  export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
13972
14060
  export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
13973
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>;
13974
14064
  export const transactionNetworkDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionNetworkDetailsCard>;
13975
14065
  export const transactionReference: PropTypes.Requireable<io.flow.v0.models.TransactionReference>;
13976
14066
  export const transactionUpserted: PropTypes.Requireable<io.flow.v0.models.TransactionUpserted>;
13977
14067
  export const transitEstimate: PropTypes.Requireable<io.flow.v0.models.TransitEstimate>;
13978
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>;
13979
14072
  export const ultimateBeneficiaryOwner: PropTypes.Requireable<io.flow.v0.models.UltimateBeneficiaryOwner>;
13980
14073
  export const unharmonizedItemExportType: PropTypes.Requireable<io.flow.v0.models.UnharmonizedItemExportType>;
13981
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
  });
@@ -1015,9 +1042,11 @@ T['io.flow.stripe.v0.enums.three_ds_result'] = PropTypes.oneOf([
1015
1042
  T['io.flow.stripe.v0.enums.three_ds_authentication_flow'] = PropTypes.oneOf(['challenge', 'frictionless']);
1016
1043
 
1017
1044
  T['io.flow.stripe.v0.models.three_d_secure_charge'] = PropTypes.exact({
1045
+ authenticated: PropTypes.bool,
1018
1046
  authentication_flow: T['io.flow.stripe.v0.enums.three_ds_authentication_flow'],
1019
1047
  result: T['io.flow.stripe.v0.enums.three_ds_result'],
1020
1048
  result_reason: T['io.flow.stripe.v0.enums.three_ds_result_reason'],
1049
+ succeeded: PropTypes.bool,
1021
1050
  version: PropTypes.string,
1022
1051
  });
1023
1052
 
@@ -1669,6 +1698,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
1669
1698
  id: PropTypes.string.isRequired,
1670
1699
  amount: PropTypes.number.isRequired,
1671
1700
  amount_refunded: PropTypes.number.isRequired,
1701
+ authorization_code: PropTypes.string,
1672
1702
  captured: PropTypes.bool.isRequired,
1673
1703
  created: PropTypes.number.isRequired,
1674
1704
  currency: PropTypes.string.isRequired,
@@ -1758,6 +1788,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
1758
1788
  id: PropTypes.string.isRequired,
1759
1789
  amount: PropTypes.number.isRequired,
1760
1790
  amount_refunded: PropTypes.number.isRequired,
1791
+ authorization_code: PropTypes.string,
1761
1792
  captured: PropTypes.bool.isRequired,
1762
1793
  created: PropTypes.number.isRequired,
1763
1794
  currency: PropTypes.string.isRequired,
@@ -2805,6 +2836,46 @@ T['io.flow.v0.models.user_form'] = PropTypes.exact({
2805
2836
 
2806
2837
  T['io.flow.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
2807
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
+
2808
2879
  T['io.flow.v0.enums.tracking_status'] = PropTypes.oneOf([
2809
2880
  'label_created',
2810
2881
  'pending',
@@ -3115,11 +3186,6 @@ T['io.flow.v0.models.merchant_onboarding_address'] = PropTypes.exact({
3115
3186
  country: PropTypes.string,
3116
3187
  });
3117
3188
 
3118
- T['io.flow.v0.models.shop'] = PropTypes.exact({
3119
- name: PropTypes.string.isRequired,
3120
- id: PropTypes.string.isRequired,
3121
- });
3122
-
3123
3189
  T['io.flow.v0.models.ratecard_reference'] = PropTypes.exact({
3124
3190
  id: PropTypes.string.isRequired,
3125
3191
  });
@@ -3288,10 +3354,25 @@ T['io.flow.billing.true.up.v0.unions.label_surcharge_detail'] = PropTypes.oneOfT
3288
3354
  T['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'],
3289
3355
  ]);
3290
3356
 
3291
- T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'] = PropTypes.oneOf(['fuel', 'remote_area', 'oversize', 'duties_paid', 'emergency', 'peak']);
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
+
3292
3367
  T['io.flow.units.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
3293
3368
  T['io.flow.units.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
3294
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
+
3295
3376
  T['io.flow.billing.true.up.v0.models.label_surcharge'] = PropTypes.exact({
3296
3377
  amount: PropTypes.number.isRequired,
3297
3378
  type: T['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'].isRequired,
@@ -3303,6 +3384,15 @@ T['io.flow.billing.true.up.v0.models.label_base'] = PropTypes.exact({
3303
3384
  weight: PropTypes.number.isRequired,
3304
3385
  });
3305
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
+
3306
3396
  T['io.flow.billing.true.up.v0.models.label_units'] = PropTypes.exact({
3307
3397
  currency: PropTypes.string.isRequired,
3308
3398
  weight: T['io.flow.units.v0.enums.unit_of_weight'].isRequired,
@@ -3725,6 +3815,7 @@ T['io.flow.v0.enums.payment_request_review_check_type'] = PropTypes.oneOf([
3725
3815
  'order_unsupported_destination',
3726
3816
  'order_missing_information',
3727
3817
  'order_domestic',
3818
+ 'order_mismatched_currencies',
3728
3819
  ]);
3729
3820
 
3730
3821
  T['io.flow.v0.models.payment_method_data_selected_payment_option'] = PropTypes.exact({
@@ -4853,6 +4944,11 @@ T['io.flow.v0.models.company'] = PropTypes.exact({
4853
4944
 
4854
4945
  T['io.flow.v0.unions.entity'] = PropTypes.oneOfType([T['io.flow.v0.models.company'], T['io.flow.v0.models.individual']]);
4855
4946
 
4947
+ T['io.flow.v0.models.shop'] = PropTypes.exact({
4948
+ name: PropTypes.string.isRequired,
4949
+ id: PropTypes.string.isRequired,
4950
+ });
4951
+
4856
4952
  T['io.flow.v0.models.klarna_payment_method_category'] = PropTypes.exact({
4857
4953
  id: PropTypes.string.isRequired,
4858
4954
  name: PropTypes.string,
@@ -6074,6 +6170,7 @@ T['io.flow.v0.enums.order_payment_type'] = PropTypes.oneOf([
6074
6170
  'card',
6075
6171
  'online',
6076
6172
  'credit',
6173
+ 'external',
6077
6174
  'subsidized',
6078
6175
  'installment_plan',
6079
6176
  'cash_on_delivery',
@@ -6716,6 +6813,12 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
6716
6813
  'transfer',
6717
6814
  ]);
6718
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
+
6719
6822
  T['io.flow.v0.models.transaction_metadata_shipping_label'] = PropTypes.exact({
6720
6823
  discriminator: PropTypes.oneOf(['shipping_label']).isRequired,
6721
6824
  request_method: T['io.flow.v0.enums.label_request_method'],
@@ -6746,6 +6849,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
6746
6849
  'reversal',
6747
6850
  'shipping_label',
6748
6851
  'shipping_label_service',
6852
+ 'trueup',
6749
6853
  'shipping_label_revenue_share',
6750
6854
  'platform_fee',
6751
6855
  'tax',
@@ -6770,7 +6874,10 @@ T['io.flow.v0.models.billing_channel_payment_request_reference'] = PropTypes.exa
6770
6874
  reference: PropTypes.string,
6771
6875
  });
6772
6876
 
6773
- T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([T['io.flow.v0.models.transaction_metadata_shipping_label']]);
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
+ ]);
6774
6881
 
6775
6882
  T['io.flow.v0.models.billing_channel_statement_reference'] = PropTypes.exact({
6776
6883
  id: PropTypes.string.isRequired,
@@ -8045,6 +8152,7 @@ T['io.flow.v0.models.organization_onboarding_state'] = PropTypes.exact({
8045
8152
  current_state: T['io.flow.v0.unions.onboarding_state'].isRequired,
8046
8153
  started_at: PropTypes.string,
8047
8154
  time_blocked: PropTypes.number,
8155
+ time_in_setup: PropTypes.number,
8048
8156
  blocked_since: PropTypes.string,
8049
8157
  completed_at: PropTypes.string,
8050
8158
  onboarding_started_at: PropTypes.string,
@@ -10697,6 +10805,7 @@ T['io.flow.v0.models.know_your_business_usa'] = PropTypes.exact({
10697
10805
  discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
10698
10806
  id: PropTypes.string.isRequired,
10699
10807
  organization_id: PropTypes.string.isRequired,
10808
+ shop: T['io.flow.v0.models.shop'],
10700
10809
  primary_entity: T['io.flow.v0.unions.entity'].isRequired,
10701
10810
  parent_company: T['io.flow.v0.models.company'],
10702
10811
  ultimate_parent_company: T['io.flow.v0.models.company'],
@@ -13403,9 +13512,7 @@ T['io.flow.v0.enums.strategy'] = PropTypes.oneOf(['range', 'from', 'to']);
13403
13512
  T['io.flow.v0.enums.taxability_type'] = PropTypes.oneOf(['tax_rule']);
13404
13513
  T['io.flow.v0.enums.taxability_value'] = PropTypes.oneOf(['exempt']);
13405
13514
  T['io.flow.v0.enums.tracking_number_type'] = PropTypes.oneOf(['flow', 'carrier']);
13406
- T['io.flow.v0.enums.unit_of_length'] = PropTypes.oneOf(['millimeter', 'centimeter', 'inch', 'foot', 'meter']);
13407
13515
  T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf(['cubic_inch', 'cubic_meter']);
13408
- T['io.flow.v0.enums.unit_of_weight'] = PropTypes.oneOf(['gram', 'kilogram', 'ounce', 'pound']);
13409
13516
  T['io.flow.v0.enums.value_added_service'] = PropTypes.oneOf(['Hazardous Material']);
13410
13517
 
13411
13518
  T['io.flow.v0.models.activation_put_form'] = PropTypes.exact({
@@ -14282,6 +14389,10 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_data'] = PropTypes.exact({
14282
14389
  paymentData: PropTypes.object.isRequired,
14283
14390
  });
14284
14391
 
14392
+ T['io.flow.billing.true.up.v0.models.label_invoice_response_file_form'] = PropTypes.exact({
14393
+ url: PropTypes.string.isRequired,
14394
+ });
14395
+
14285
14396
  export const abandonedOrderEmailSettings = T['io.flow.v0.models.abandoned_order_email_settings'];
14286
14397
  export const abandonedOrderPromotion = T['io.flow.v0.models.abandoned_order_promotion'];
14287
14398
  export const abandonedOrderPromotionDetails = T['io.flow.v0.unions.abandoned_order_promotion_details'];
@@ -15940,6 +16051,8 @@ export const transactionDetails = T['io.flow.v0.unions.transaction_details'];
15940
16051
  export const transactionDetailsCard = T['io.flow.v0.models.transaction_details_card'];
15941
16052
  export const transactionMetadata = T['io.flow.v0.unions.transaction_metadata'];
15942
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'];
15943
16056
  export const transactionNetworkDetailsCard = T['io.flow.v0.models.transaction_network_details_card'];
15944
16057
  export const transactionPayoutPendingReason = T['io.flow.v0.enums.transaction_payout_pending_reason'];
15945
16058
  export const transactionReference = T['io.flow.v0.models.transaction_reference'];
@@ -15947,6 +16060,11 @@ export const transactionSource = T['io.flow.v0.enums.transaction_source'];
15947
16060
  export const transactionUpserted = T['io.flow.v0.models.transaction_upserted'];
15948
16061
  export const transitEstimate = T['io.flow.v0.models.transit_estimate'];
15949
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'];
15950
16068
  export const ultimateBeneficiaryOwner = T['io.flow.v0.models.ultimate_beneficiary_owner'];
15951
16069
  export const unharmonizedItemExportType = T['io.flow.v0.models.unharmonized_item_export_type'];
15952
16070
  export const unitOfLength = T['io.flow.v0.enums.unit_of_length'];