@flowio/api-prop-types 10.16.74 → 10.16.76

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.74",
3
+ "version": "10.16.76",
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": "92e35a5f134c649a116d30d3d3af55458f8afa4d"
32
+ "gitHead": "237a816e178ccd4501b30aaf454fb6a93392afd9"
33
33
  }
package/src/api.d.ts CHANGED
@@ -1141,6 +1141,7 @@ declare namespace io.flow.shopify.external.v0.enums {
1141
1141
  type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
1142
1142
  type ShopifyDiscountPaginationDirection = 'next' | 'prev';
1143
1143
  type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
1144
+ type ShopifyPlanName = 'basic' | 'business' | 'cancelled' | 'dormant' | 'enterprise' | 'fraudulent' | 'frozen' | 'npo_full' | 'npo_lite' | 'open_learning' | 'paid_trial' | 'professional' | 'retail' | 'shopify_alumni' | 'shopify_plus' | 'staff' | 'staff_business' | 'starter' | 'starter_2022' | 'unlimited';
1144
1145
  type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
1145
1146
  type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
1146
1147
  type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
@@ -1289,7 +1290,7 @@ declare namespace io.flow.shopify.external.v0.models {
1289
1290
  readonly 'id': number;
1290
1291
  readonly 'product_id': number;
1291
1292
  readonly 'variant_ids': number[];
1292
- readonly 'src': string;
1293
+ readonly 'src'?: string;
1293
1294
  readonly 'position': number;
1294
1295
  readonly 'created_at': string;
1295
1296
  readonly 'updated_at': string;
@@ -1901,6 +1902,12 @@ declare namespace io.flow.shopify.external.v0.models {
1901
1902
  readonly 'carrier_identifier'?: string;
1902
1903
  }
1903
1904
 
1905
+ interface ShopifyShopUpdate {
1906
+ readonly 'id': number;
1907
+ readonly 'plan_display_name': string;
1908
+ readonly 'plan_name': io.flow.shopify.external.v0.enums.ShopifyPlanName;
1909
+ }
1910
+
1904
1911
  interface ShopifyTaxLine {
1905
1912
  readonly 'price': string;
1906
1913
  readonly 'rate': number;
@@ -2332,7 +2339,7 @@ declare namespace io.flow.v0.enums {
2332
2339
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2333
2340
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2334
2341
  type TradeAgreementStatus = 'supported' | 'not_supported';
2335
- 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';
2342
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'carrier_fee' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
2336
2343
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2337
2344
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
2338
2345
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
@@ -4720,6 +4727,7 @@ declare namespace io.flow.v0.models {
4720
4727
 
4721
4728
  interface DeactivationPutForm {
4722
4729
  readonly 'reason': string;
4730
+ readonly 'deactivate_at'?: string;
4723
4731
  }
4724
4732
 
4725
4733
  interface DeadWeight {
@@ -7305,6 +7313,7 @@ declare namespace io.flow.v0.models {
7305
7313
  interface MerchantDeactivated {
7306
7314
  readonly 'discriminator': 'merchant_deactivated';
7307
7315
  readonly 'reason': string;
7316
+ readonly 'deactivate_at'?: string;
7308
7317
  }
7309
7318
 
7310
7319
  interface MerchantDisabled {
@@ -8648,6 +8657,7 @@ declare namespace io.flow.v0.models {
8648
8657
  readonly 'currency': string;
8649
8658
  readonly 'base_amount'?: number;
8650
8659
  readonly 'base_currency'?: string;
8660
+ readonly 'reference'?: string;
8651
8661
  }
8652
8662
 
8653
8663
  interface PaymentAuthorizationStatus {
@@ -8661,6 +8671,7 @@ declare namespace io.flow.v0.models {
8661
8671
  readonly 'currency': string;
8662
8672
  readonly 'base_amount'?: number;
8663
8673
  readonly 'base_currency'?: string;
8674
+ readonly 'reference'?: string;
8664
8675
  readonly 'created_at': string;
8665
8676
  readonly 'updated_at': string;
8666
8677
  readonly 'status': io.flow.v0.models.PaymentCaptureStatus;
@@ -8669,6 +8680,7 @@ declare namespace io.flow.v0.models {
8669
8680
  interface PaymentCaptureForm {
8670
8681
  readonly 'amount'?: number;
8671
8682
  readonly 'currency'?: string;
8683
+ readonly 'reference'?: string;
8672
8684
  readonly 'attributes'?: Record<string, string>;
8673
8685
  }
8674
8686
 
@@ -8817,6 +8829,7 @@ declare namespace io.flow.v0.models {
8817
8829
  readonly 'device_fingerprint_details': io.flow.v0.unions.DeviceFingerprintDetails;
8818
8830
  readonly 'cvv'?: string;
8819
8831
  readonly 'stored_details_card'?: io.flow.v0.unions.PaymentMethodStoredDetailsCard;
8832
+ readonly 'reference'?: string;
8820
8833
  }
8821
8834
 
8822
8835
  interface PaymentMethodDataAuthorizeGooglepay {
@@ -8852,42 +8865,43 @@ declare namespace io.flow.v0.models {
8852
8865
 
8853
8866
  interface PaymentMethodDataInitAfterpay {
8854
8867
  readonly 'type': 'init_afterpay';
8855
- readonly 'placeholder'?: string;
8868
+ readonly 'reference'?: string;
8856
8869
  }
8857
8870
 
8858
8871
  interface PaymentMethodDataInitApplepay {
8859
8872
  readonly 'type': 'init_applepay';
8860
- readonly 'placeholder'?: string;
8873
+ readonly 'reference'?: string;
8861
8874
  }
8862
8875
 
8863
8876
  interface PaymentMethodDataInitBancontact {
8864
8877
  readonly 'type': 'init_bancontact';
8865
- readonly 'placeholder'?: string;
8878
+ readonly 'reference'?: string;
8866
8879
  }
8867
8880
 
8868
8881
  interface PaymentMethodDataInitGooglepay {
8869
8882
  readonly 'type': 'init_googlepay';
8870
- readonly 'placeholder'?: string;
8883
+ readonly 'reference'?: string;
8871
8884
  }
8872
8885
 
8873
8886
  interface PaymentMethodDataInitIdeal {
8874
8887
  readonly 'type': 'init_ideal';
8875
8888
  readonly 'issuer'?: string;
8889
+ readonly 'reference'?: string;
8876
8890
  }
8877
8891
 
8878
8892
  interface PaymentMethodDataInitKlarna {
8879
8893
  readonly 'type': 'init_klarna';
8880
- readonly 'placeholder'?: string;
8894
+ readonly 'reference'?: string;
8881
8895
  }
8882
8896
 
8883
8897
  interface PaymentMethodDataInitPaypal {
8884
8898
  readonly 'type': 'init_paypal';
8885
- readonly 'placeholder'?: string;
8899
+ readonly 'reference'?: string;
8886
8900
  }
8887
8901
 
8888
8902
  interface PaymentMethodDataInitSofort {
8889
8903
  readonly 'type': 'init_sofort';
8890
- readonly 'placeholder'?: string;
8904
+ readonly 'reference'?: string;
8891
8905
  }
8892
8906
 
8893
8907
  interface PaymentMethodDataOptionLogoSvg {
@@ -9007,7 +9021,7 @@ declare namespace io.flow.v0.models {
9007
9021
  }
9008
9022
 
9009
9023
  interface PaymentOrderDetailsLineItem {
9010
- readonly 'id': string;
9024
+ readonly 'id'?: string;
9011
9025
  readonly 'description': string;
9012
9026
  readonly 'quantity': number;
9013
9027
  readonly 'amount': number;
@@ -9095,6 +9109,7 @@ declare namespace io.flow.v0.models {
9095
9109
  readonly 'currency': string;
9096
9110
  readonly 'base_amount'?: number;
9097
9111
  readonly 'base_currency'?: string;
9112
+ readonly 'reference'?: string;
9098
9113
  readonly 'created_at': string;
9099
9114
  readonly 'updated_at': string;
9100
9115
  readonly 'status': io.flow.v0.models.PaymentRefundStatus;
@@ -9103,6 +9118,7 @@ declare namespace io.flow.v0.models {
9103
9118
  interface PaymentRefundForm {
9104
9119
  readonly 'amount'?: number;
9105
9120
  readonly 'currency'?: string;
9121
+ readonly 'reference'?: string;
9106
9122
  }
9107
9123
 
9108
9124
  interface PaymentRefundStatus {
@@ -9210,6 +9226,7 @@ declare namespace io.flow.v0.models {
9210
9226
  readonly 'currency': string;
9211
9227
  readonly 'base_amount'?: number;
9212
9228
  readonly 'base_currency'?: string;
9229
+ readonly 'reference'?: string;
9213
9230
  readonly 'created_at': string;
9214
9231
  readonly 'updated_at': string;
9215
9232
  readonly 'status': io.flow.v0.models.PaymentReversalStatus;
@@ -9218,6 +9235,7 @@ declare namespace io.flow.v0.models {
9218
9235
  interface PaymentReversalForm {
9219
9236
  readonly 'amount'?: number;
9220
9237
  readonly 'currency'?: string;
9238
+ readonly 'reference'?: string;
9221
9239
  }
9222
9240
 
9223
9241
  interface PaymentReversalStatus {
@@ -9666,7 +9684,7 @@ declare namespace io.flow.v0.models {
9666
9684
  readonly 'event_id': string;
9667
9685
  readonly 'timestamp': string;
9668
9686
  readonly 'organization': string;
9669
- readonly 'product_restriction_result': io.flow.v0.models.ProductRestrictionResult;
9687
+ readonly 'id': string;
9670
9688
  }
9671
9689
 
9672
9690
  interface ProductRestrictionResultUpserted {
@@ -12205,11 +12223,18 @@ declare namespace io.flow.v0.models {
12205
12223
  readonly 'carrier_id': string;
12206
12224
  readonly 'carrier_tracking_number': string;
12207
12225
  readonly 'revenue_share_percentage': number;
12208
- readonly 'outbound'?: io.flow.v0.models.TransactionMetadataCarrierChargeOutbound;
12226
+ readonly 'outbound'?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
12209
12227
  }
12210
12228
 
12211
- interface TransactionMetadataCarrierChargeOutbound {
12212
- readonly 'transaction_id': string;
12229
+ interface TransactionMetadataCarrierFee {
12230
+ readonly 'discriminator': 'carrier_fee';
12231
+ readonly 'outbound': io.flow.v0.models.TransactionMetadataOutboundTransaction;
12232
+ readonly 'estimate': io.flow.v0.models.TransactionMetadataCarrierFeeData;
12233
+ readonly 'actual': io.flow.v0.models.TransactionMetadataCarrierFeeData;
12234
+ }
12235
+
12236
+ interface TransactionMetadataCarrierFeeData {
12237
+ readonly 'surcharges': io.flow.v0.models.TrueupLabelSurcharge[];
12213
12238
  }
12214
12239
 
12215
12240
  interface TransactionMetadataChannel {
@@ -12239,6 +12264,15 @@ declare namespace io.flow.v0.models {
12239
12264
  readonly 'id': string;
12240
12265
  }
12241
12266
 
12267
+ interface TransactionMetadataOutboundTransaction {
12268
+ readonly 'transaction_id': string;
12269
+ }
12270
+
12271
+ interface TransactionMetadataPaymentTransaction {
12272
+ readonly 'discriminator': 'payment_transaction';
12273
+ readonly 'key'?: string;
12274
+ }
12275
+
12242
12276
  interface TransactionMetadataShippingLabel {
12243
12277
  readonly 'discriminator': 'shipping_label';
12244
12278
  readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
@@ -12418,11 +12452,6 @@ declare namespace io.flow.v0.models {
12418
12452
  readonly 'virtual_card_capture': io.flow.v0.models.VirtualCardCapture;
12419
12453
  }
12420
12454
 
12421
- interface VirtualCardForm {
12422
- readonly 'limit': io.flow.v0.models.Money;
12423
- readonly 'attributes'?: Record<string, string>;
12424
- }
12425
-
12426
12455
  interface VirtualCardReference {
12427
12456
  readonly 'id': string;
12428
12457
  }
@@ -12657,7 +12686,7 @@ declare namespace io.flow.v0.unions {
12657
12686
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
12658
12687
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
12659
12688
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
12660
- 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);
12689
+ 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.TransactionMetadataCarrierFee | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataPaymentTransaction);
12661
12690
  }
12662
12691
 
12663
12692
  export const abandonedOrderPromotionStatus: PropTypes.Requireable<io.flow.v0.enums.AbandonedOrderPromotionStatus>;
@@ -14242,12 +14271,15 @@ export const tradeAgreementDuty: PropTypes.Requireable<io.flow.v0.models.TradeAg
14242
14271
  export const transaction: PropTypes.Requireable<io.flow.v0.models.Transaction>;
14243
14272
  export const transactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.TransactionDetailsCard>;
14244
14273
  export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierCharge>;
14245
- export const transactionMetadataCarrierChargeOutbound: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierChargeOutbound>;
14274
+ export const transactionMetadataCarrierFee: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierFee>;
14275
+ export const transactionMetadataCarrierFeeData: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataCarrierFeeData>;
14246
14276
  export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
14247
14277
  export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
14248
14278
  export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;
14249
14279
  export const transactionMetadataManual: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataManual>;
14250
14280
  export const transactionMetadataOriginalTransaction: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataOriginalTransaction>;
14281
+ export const transactionMetadataOutboundTransaction: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataOutboundTransaction>;
14282
+ export const transactionMetadataPaymentTransaction: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataPaymentTransaction>;
14251
14283
  export const transactionMetadataShippingLabel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataShippingLabel>;
14252
14284
  export const transactionMetadataShippingLabelCarrier: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataShippingLabelCarrier>;
14253
14285
  export const transactionMetadataTrueup: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataTrueup>;
@@ -14274,7 +14306,6 @@ export const virtualCardCapture: PropTypes.Requireable<io.flow.v0.models.Virtual
14274
14306
  export const virtualCardCaptureDeleted: PropTypes.Requireable<io.flow.v0.models.VirtualCardCaptureDeleted>;
14275
14307
  export const virtualCardCaptureUpserted: PropTypes.Requireable<io.flow.v0.models.VirtualCardCaptureUpserted>;
14276
14308
  export const virtualCardCaptureVersion: PropTypes.Requireable<io.flow.v0.models.VirtualCardCaptureVersion>;
14277
- export const virtualCardForm: PropTypes.Requireable<io.flow.v0.models.VirtualCardForm>;
14278
14309
  export const virtualCardReference: PropTypes.Requireable<io.flow.v0.models.VirtualCardReference>;
14279
14310
  export const virtualCardRefund: PropTypes.Requireable<io.flow.v0.models.VirtualCardRefund>;
14280
14311
  export const virtualCardRefundDeleted: PropTypes.Requireable<io.flow.v0.models.VirtualCardRefundDeleted>;
package/src/api.js CHANGED
@@ -125,6 +125,35 @@ T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact'] = PropT
125
125
  orders_to_redact: PropTypes.arrayOf(PropTypes.number),
126
126
  });
127
127
 
128
+ T['io.flow.shopify.external.v0.enums.shopify_plan_name'] = PropTypes.oneOf([
129
+ 'basic',
130
+ 'business',
131
+ 'cancelled',
132
+ 'dormant',
133
+ 'enterprise',
134
+ 'fraudulent',
135
+ 'frozen',
136
+ 'npo_full',
137
+ 'npo_lite',
138
+ 'open_learning',
139
+ 'paid_trial',
140
+ 'professional',
141
+ 'retail',
142
+ 'shopify_alumni',
143
+ 'shopify_plus',
144
+ 'staff',
145
+ 'staff_business',
146
+ 'starter',
147
+ 'starter_2022',
148
+ 'unlimited',
149
+ ]);
150
+
151
+ T['io.flow.shopify.external.v0.models.shopify_shop_update'] = PropTypes.exact({
152
+ id: PropTypes.number.isRequired,
153
+ plan_display_name: PropTypes.string.isRequired,
154
+ plan_name: T['io.flow.shopify.external.v0.enums.shopify_plan_name'].isRequired,
155
+ });
156
+
128
157
  T['io.flow.shopify.external.v0.enums.restock_type'] = PropTypes.oneOf(['no_restock', 'cancel', 'return']);
129
158
 
130
159
  T['io.flow.shopify.external.v0.models.shopify_location'] = PropTypes.exact({
@@ -645,7 +674,7 @@ T['io.flow.shopify.external.v0.models.product_image'] = PropTypes.exact({
645
674
  id: PropTypes.number.isRequired,
646
675
  product_id: PropTypes.number.isRequired,
647
676
  variant_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
648
- src: PropTypes.string.isRequired,
677
+ src: PropTypes.string,
649
678
  position: PropTypes.number.isRequired,
650
679
  created_at: PropTypes.string.isRequired,
651
680
  updated_at: PropTypes.string.isRequired,
@@ -2269,6 +2298,14 @@ T['io.flow.v0.models.return_deleted'] = PropTypes.exact({
2269
2298
  id: PropTypes.string.isRequired,
2270
2299
  });
2271
2300
 
2301
+ T['io.flow.v0.models.product_restriction_result_deleted'] = PropTypes.exact({
2302
+ discriminator: PropTypes.oneOf(['product_restriction_result_deleted']).isRequired,
2303
+ event_id: PropTypes.string.isRequired,
2304
+ timestamp: PropTypes.string.isRequired,
2305
+ organization: PropTypes.string.isRequired,
2306
+ id: PropTypes.string.isRequired,
2307
+ });
2308
+
2272
2309
  T['io.flow.v0.models.ratecard_lane_deleted'] = PropTypes.exact({
2273
2310
  discriminator: PropTypes.oneOf(['ratecard_lane_deleted']).isRequired,
2274
2311
  event_id: PropTypes.string.isRequired,
@@ -3009,7 +3046,7 @@ T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary']
3009
3046
  country: PropTypes.string.isRequired,
3010
3047
  });
3011
3048
 
3012
- T['io.flow.v0.models.transaction_metadata_carrier_charge_outbound'] = PropTypes.exact({
3049
+ T['io.flow.v0.models.transaction_metadata_outbound_transaction'] = PropTypes.exact({
3013
3050
  transaction_id: PropTypes.string.isRequired,
3014
3051
  });
3015
3052
 
@@ -3822,14 +3859,6 @@ T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
3822
3859
  product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
3823
3860
  });
3824
3861
 
3825
- T['io.flow.v0.models.product_restriction_result_deleted'] = PropTypes.exact({
3826
- discriminator: PropTypes.oneOf(['product_restriction_result_deleted']).isRequired,
3827
- event_id: PropTypes.string.isRequired,
3828
- timestamp: PropTypes.string.isRequired,
3829
- organization: PropTypes.string.isRequired,
3830
- product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
3831
- });
3832
-
3833
3862
  T['io.flow.v0.enums.rounding_method'] = PropTypes.oneOf(['up', 'down', 'nearest']);
3834
3863
  T['io.flow.v0.enums.rounding_type'] = PropTypes.oneOf(['pattern', 'multiple']);
3835
3864
 
@@ -3965,42 +3994,43 @@ T['io.flow.v0.models.payment_method_data_validate_applepay'] = PropTypes.exact({
3965
3994
 
3966
3995
  T['io.flow.v0.models.payment_method_data_init_bancontact'] = PropTypes.exact({
3967
3996
  type: PropTypes.oneOf(['init_bancontact']).isRequired,
3968
- placeholder: PropTypes.string,
3997
+ reference: PropTypes.string,
3969
3998
  });
3970
3999
 
3971
4000
  T['io.flow.v0.models.payment_method_data_init_sofort'] = PropTypes.exact({
3972
4001
  type: PropTypes.oneOf(['init_sofort']).isRequired,
3973
- placeholder: PropTypes.string,
4002
+ reference: PropTypes.string,
3974
4003
  });
3975
4004
 
3976
4005
  T['io.flow.v0.models.payment_method_data_init_ideal'] = PropTypes.exact({
3977
4006
  type: PropTypes.oneOf(['init_ideal']).isRequired,
3978
4007
  issuer: PropTypes.string,
4008
+ reference: PropTypes.string,
3979
4009
  });
3980
4010
 
3981
4011
  T['io.flow.v0.models.payment_method_data_init_paypal'] = PropTypes.exact({
3982
4012
  type: PropTypes.oneOf(['init_paypal']).isRequired,
3983
- placeholder: PropTypes.string,
4013
+ reference: PropTypes.string,
3984
4014
  });
3985
4015
 
3986
4016
  T['io.flow.v0.models.payment_method_data_init_googlepay'] = PropTypes.exact({
3987
4017
  type: PropTypes.oneOf(['init_googlepay']).isRequired,
3988
- placeholder: PropTypes.string,
4018
+ reference: PropTypes.string,
3989
4019
  });
3990
4020
 
3991
4021
  T['io.flow.v0.models.payment_method_data_init_applepay'] = PropTypes.exact({
3992
4022
  type: PropTypes.oneOf(['init_applepay']).isRequired,
3993
- placeholder: PropTypes.string,
4023
+ reference: PropTypes.string,
3994
4024
  });
3995
4025
 
3996
4026
  T['io.flow.v0.models.payment_method_data_init_afterpay'] = PropTypes.exact({
3997
4027
  type: PropTypes.oneOf(['init_afterpay']).isRequired,
3998
- placeholder: PropTypes.string,
4028
+ reference: PropTypes.string,
3999
4029
  });
4000
4030
 
4001
4031
  T['io.flow.v0.models.payment_method_data_init_klarna'] = PropTypes.exact({
4002
4032
  type: PropTypes.oneOf(['init_klarna']).isRequired,
4003
- placeholder: PropTypes.string,
4033
+ reference: PropTypes.string,
4004
4034
  });
4005
4035
 
4006
4036
  T['io.flow.v0.models.payment_request_billing_currency_rate'] = PropTypes.exact({
@@ -4343,6 +4373,7 @@ T['io.flow.v0.models.payment_reversal'] = PropTypes.exact({
4343
4373
  currency: PropTypes.string.isRequired,
4344
4374
  base_amount: PropTypes.number,
4345
4375
  base_currency: PropTypes.string,
4376
+ reference: PropTypes.string,
4346
4377
  created_at: PropTypes.string.isRequired,
4347
4378
  updated_at: PropTypes.string.isRequired,
4348
4379
  status: T['io.flow.v0.models.payment_reversal_status'].isRequired,
@@ -4537,7 +4568,7 @@ T['io.flow.v0.models.shipping'] = PropTypes.exact({
4537
4568
  });
4538
4569
 
4539
4570
  T['io.flow.v0.models.payment_order_details_line_item'] = PropTypes.exact({
4540
- id: PropTypes.string.isRequired,
4571
+ id: PropTypes.string,
4541
4572
  description: PropTypes.string.isRequired,
4542
4573
  quantity: PropTypes.number.isRequired,
4543
4574
  amount: PropTypes.number.isRequired,
@@ -4670,6 +4701,7 @@ T['io.flow.v0.unions.online_authorization_details'] = PropTypes.oneOfType([
4670
4701
  T['io.flow.v0.models.merchant_deactivated'] = PropTypes.exact({
4671
4702
  discriminator: PropTypes.oneOf(['merchant_deactivated']).isRequired,
4672
4703
  reason: PropTypes.string.isRequired,
4704
+ deactivate_at: PropTypes.string,
4673
4705
  });
4674
4706
 
4675
4707
  T['io.flow.v0.models.merchant_activated'] = PropTypes.exact({
@@ -4994,6 +5026,10 @@ T['io.flow.v0.models.transaction_metadata_trueup_data'] = PropTypes.exact({
4994
5026
  dimensional: T['io.flow.v0.models.dimensional_weight'],
4995
5027
  });
4996
5028
 
5029
+ T['io.flow.v0.models.transaction_metadata_carrier_fee_data'] = PropTypes.exact({
5030
+ surcharges: PropTypes.arrayOf(T['io.flow.v0.models.trueup_label_surcharge']).isRequired,
5031
+ });
5032
+
4997
5033
  T['io.flow.v0.models.label_surcharge'] = PropTypes.exact({
4998
5034
  amount: PropTypes.number.isRequired,
4999
5035
  type: T['io.flow.v0.enums.trueup_surcharge_type'].isRequired,
@@ -5835,6 +5871,7 @@ T['io.flow.v0.models.payment_refund'] = PropTypes.exact({
5835
5871
  currency: PropTypes.string.isRequired,
5836
5872
  base_amount: PropTypes.number,
5837
5873
  base_currency: PropTypes.string,
5874
+ reference: PropTypes.string,
5838
5875
  created_at: PropTypes.string.isRequired,
5839
5876
  updated_at: PropTypes.string.isRequired,
5840
5877
  status: T['io.flow.v0.models.payment_refund_status'].isRequired,
@@ -6829,6 +6866,11 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
6829
6866
  'negative_balance_guarantee',
6830
6867
  ]);
6831
6868
 
6869
+ T['io.flow.v0.models.transaction_metadata_payment_transaction'] = PropTypes.exact({
6870
+ discriminator: PropTypes.oneOf(['payment_transaction']).isRequired,
6871
+ key: PropTypes.string,
6872
+ });
6873
+
6832
6874
  T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
6833
6875
  discriminator: PropTypes.oneOf(['manual']).isRequired,
6834
6876
  description: PropTypes.string.isRequired,
@@ -6836,6 +6878,13 @@ T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
6836
6878
  url: PropTypes.string,
6837
6879
  });
6838
6880
 
6881
+ T['io.flow.v0.models.transaction_metadata_carrier_fee'] = PropTypes.exact({
6882
+ discriminator: PropTypes.oneOf(['carrier_fee']).isRequired,
6883
+ outbound: T['io.flow.v0.models.transaction_metadata_outbound_transaction'].isRequired,
6884
+ estimate: T['io.flow.v0.models.transaction_metadata_carrier_fee_data'].isRequired,
6885
+ actual: T['io.flow.v0.models.transaction_metadata_carrier_fee_data'].isRequired,
6886
+ });
6887
+
6839
6888
  T['io.flow.v0.models.transaction_metadata_carrier_charge'] = PropTypes.exact({
6840
6889
  discriminator: PropTypes.oneOf(['carrier_charge']).isRequired,
6841
6890
  reason: T['io.flow.v0.enums.carrier_charge_reason'].isRequired,
@@ -6843,7 +6892,7 @@ T['io.flow.v0.models.transaction_metadata_carrier_charge'] = PropTypes.exact({
6843
6892
  carrier_id: PropTypes.string.isRequired,
6844
6893
  carrier_tracking_number: PropTypes.string.isRequired,
6845
6894
  revenue_share_percentage: PropTypes.number.isRequired,
6846
- outbound: T['io.flow.v0.models.transaction_metadata_carrier_charge_outbound'],
6895
+ outbound: T['io.flow.v0.models.transaction_metadata_outbound_transaction'],
6847
6896
  });
6848
6897
 
6849
6898
  T['io.flow.v0.models.transaction_metadata_trueup'] = PropTypes.exact({
@@ -6889,6 +6938,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
6889
6938
  'trueup',
6890
6939
  'carrier_charge',
6891
6940
  'carrier_charge_revenue_share',
6941
+ 'carrier_fee',
6892
6942
  'platform_fee',
6893
6943
  'tax',
6894
6944
  'duty',
@@ -7576,7 +7626,9 @@ T['io.flow.v0.unions.transaction_metadata'] = PropTypes.oneOfType([
7576
7626
  T['io.flow.v0.models.transaction_metadata_channel'],
7577
7627
  T['io.flow.v0.models.transaction_metadata_trueup'],
7578
7628
  T['io.flow.v0.models.transaction_metadata_carrier_charge'],
7629
+ T['io.flow.v0.models.transaction_metadata_carrier_fee'],
7579
7630
  T['io.flow.v0.models.transaction_metadata_manual'],
7631
+ T['io.flow.v0.models.transaction_metadata_payment_transaction'],
7580
7632
  ]);
7581
7633
 
7582
7634
  T['io.flow.v0.models.transaction_network_details_card'] = PropTypes.exact({
@@ -7601,6 +7653,7 @@ T['io.flow.v0.models.payment_method_data_authorize_card'] = PropTypes.exact({
7601
7653
  device_fingerprint_details: T['io.flow.v0.unions.device_fingerprint_details'].isRequired,
7602
7654
  cvv: PropTypes.string,
7603
7655
  stored_details_card: T['io.flow.v0.unions.payment_method_stored_details_card'],
7656
+ reference: PropTypes.string,
7604
7657
  });
7605
7658
 
7606
7659
  T['io.flow.v0.unions.payment_method_data'] = PropTypes.oneOfType([
@@ -7718,6 +7771,7 @@ T['io.flow.v0.models.payment_capture'] = PropTypes.exact({
7718
7771
  currency: PropTypes.string.isRequired,
7719
7772
  base_amount: PropTypes.number,
7720
7773
  base_currency: PropTypes.string,
7774
+ reference: PropTypes.string,
7721
7775
  created_at: PropTypes.string.isRequired,
7722
7776
  updated_at: PropTypes.string.isRequired,
7723
7777
  status: T['io.flow.v0.models.payment_capture_status'].isRequired,
@@ -9883,6 +9937,7 @@ T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
9883
9937
  currency: PropTypes.string.isRequired,
9884
9938
  base_amount: PropTypes.number,
9885
9939
  base_currency: PropTypes.string,
9940
+ reference: PropTypes.string,
9886
9941
  });
9887
9942
 
9888
9943
  T['io.flow.v0.models.payment_information'] = PropTypes.exact({
@@ -10159,11 +10214,6 @@ T['io.flow.v0.models.money'] = PropTypes.exact({
10159
10214
  currency: PropTypes.string.isRequired,
10160
10215
  });
10161
10216
 
10162
- T['io.flow.v0.models.virtual_card_form'] = PropTypes.exact({
10163
- limit: T['io.flow.v0.models.money'].isRequired,
10164
- attributes: PropTypes.objectOf(PropTypes.string),
10165
- });
10166
-
10167
10217
  T['io.flow.v0.models.tracking_label_form'] = PropTypes.exact({
10168
10218
  tracking_id: PropTypes.string.isRequired,
10169
10219
  status: T['io.flow.v0.enums.tracking_status'].isRequired,
@@ -13957,6 +14007,7 @@ T['io.flow.v0.models.customer_purge_settings_form'] = PropTypes.exact({
13957
14007
 
13958
14008
  T['io.flow.v0.models.deactivation_put_form'] = PropTypes.exact({
13959
14009
  reason: PropTypes.string.isRequired,
14010
+ deactivate_at: PropTypes.string,
13960
14011
  });
13961
14012
 
13962
14013
  T['io.flow.v0.models.default_bank_account_form'] = PropTypes.exact({
@@ -14264,6 +14315,7 @@ T['io.flow.v0.models.password_reset_request_form'] = PropTypes.exact({
14264
14315
  T['io.flow.v0.models.payment_capture_form'] = PropTypes.exact({
14265
14316
  amount: PropTypes.number,
14266
14317
  currency: PropTypes.string,
14318
+ reference: PropTypes.string,
14267
14319
  attributes: PropTypes.objectOf(PropTypes.string),
14268
14320
  });
14269
14321
 
@@ -14274,11 +14326,13 @@ T['io.flow.v0.models.payment_reference'] = PropTypes.exact({
14274
14326
  T['io.flow.v0.models.payment_refund_form'] = PropTypes.exact({
14275
14327
  amount: PropTypes.number,
14276
14328
  currency: PropTypes.string,
14329
+ reference: PropTypes.string,
14277
14330
  });
14278
14331
 
14279
14332
  T['io.flow.v0.models.payment_reversal_form'] = PropTypes.exact({
14280
14333
  amount: PropTypes.number,
14281
14334
  currency: PropTypes.string,
14335
+ reference: PropTypes.string,
14282
14336
  });
14283
14337
 
14284
14338
  T['io.flow.v0.models.payout_reference'] = PropTypes.exact({
@@ -16369,12 +16423,15 @@ export const transactionDetails = T['io.flow.v0.unions.transaction_details'];
16369
16423
  export const transactionDetailsCard = T['io.flow.v0.models.transaction_details_card'];
16370
16424
  export const transactionMetadata = T['io.flow.v0.unions.transaction_metadata'];
16371
16425
  export const transactionMetadataCarrierCharge = T['io.flow.v0.models.transaction_metadata_carrier_charge'];
16372
- export const transactionMetadataCarrierChargeOutbound = T['io.flow.v0.models.transaction_metadata_carrier_charge_outbound'];
16426
+ export const transactionMetadataCarrierFee = T['io.flow.v0.models.transaction_metadata_carrier_fee'];
16427
+ export const transactionMetadataCarrierFeeData = T['io.flow.v0.models.transaction_metadata_carrier_fee_data'];
16373
16428
  export const transactionMetadataChannel = T['io.flow.v0.models.transaction_metadata_channel'];
16374
16429
  export const transactionMetadataChannelCardMetadata = T['io.flow.v0.models.transaction_metadata_channel_card_metadata'];
16375
16430
  export const transactionMetadataChannelCardMetadataIssuerSummary = T['io.flow.v0.models.transaction_metadata_channel_card_metadata_issuer_summary'];
16376
16431
  export const transactionMetadataManual = T['io.flow.v0.models.transaction_metadata_manual'];
16377
16432
  export const transactionMetadataOriginalTransaction = T['io.flow.v0.models.transaction_metadata_original_transaction'];
16433
+ export const transactionMetadataOutboundTransaction = T['io.flow.v0.models.transaction_metadata_outbound_transaction'];
16434
+ export const transactionMetadataPaymentTransaction = T['io.flow.v0.models.transaction_metadata_payment_transaction'];
16378
16435
  export const transactionMetadataShippingLabel = T['io.flow.v0.models.transaction_metadata_shipping_label'];
16379
16436
  export const transactionMetadataShippingLabelCarrier = T['io.flow.v0.models.transaction_metadata_shipping_label_carrier'];
16380
16437
  export const transactionMetadataTrueup = T['io.flow.v0.models.transaction_metadata_trueup'];
@@ -16413,7 +16470,6 @@ export const virtualCardCapture = T['io.flow.v0.models.virtual_card_capture'];
16413
16470
  export const virtualCardCaptureDeleted = T['io.flow.v0.models.virtual_card_capture_deleted'];
16414
16471
  export const virtualCardCaptureUpserted = T['io.flow.v0.models.virtual_card_capture_upserted'];
16415
16472
  export const virtualCardCaptureVersion = T['io.flow.v0.models.virtual_card_capture_version'];
16416
- export const virtualCardForm = T['io.flow.v0.models.virtual_card_form'];
16417
16473
  export const virtualCardReference = T['io.flow.v0.models.virtual_card_reference'];
16418
16474
  export const virtualCardRefund = T['io.flow.v0.models.virtual_card_refund'];
16419
16475
  export const virtualCardRefundDeleted = T['io.flow.v0.models.virtual_card_refund_deleted'];