@flowio/types 11.19.22 → 11.19.23

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/types",
3
- "version": "11.19.22",
3
+ "version": "11.19.23",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "48824851caaac3128765a7af4cc574d0d81ebc3d"
28
+ "gitHead": "2912786860206da8ba77611826ed2c06d84d44bb"
29
29
  }
@@ -2128,6 +2128,16 @@ declare namespace io.flow.ratecard.v0.models {
2128
2128
  readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2129
2129
  }
2130
2130
 
2131
+ interface RatecardEstimateV3 {
2132
+ readonly discriminator: 'ratecard_estimate_v3';
2133
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
2134
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2135
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
2136
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
2137
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2138
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
2139
+ }
2140
+
2131
2141
  interface RatecardForm {
2132
2142
  readonly direction: io.flow.label.v0.enums.Direction;
2133
2143
  readonly effective_at: string;
@@ -2265,7 +2275,8 @@ declare namespace io.flow.ratecard.v0.models {
2265
2275
  declare namespace io.flow.ratecard.v0.unions {
2266
2276
  type RatecardEstimate =
2267
2277
  | io.flow.ratecard.v0.models.RatecardEstimateV1
2268
- | io.flow.ratecard.v0.models.RatecardEstimateV2;
2278
+ | io.flow.ratecard.v0.models.RatecardEstimateV2
2279
+ | io.flow.ratecard.v0.models.RatecardEstimateV3;
2269
2280
  type RatecardEstimateForm =
2270
2281
  | io.flow.ratecard.v0.models.RatecardEstimateFormV1
2271
2282
  | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
@@ -9098,6 +9109,16 @@ declare namespace io.flow.payment.gateway.v0.models {
9098
9109
  readonly currency?: string;
9099
9110
  }
9100
9111
 
9112
+ interface PaymentCaptureOptionAutomaticImmediate {
9113
+ readonly type: 'automatic_immediate';
9114
+ readonly placeholder?: string;
9115
+ }
9116
+
9117
+ interface PaymentCaptureOptionManual {
9118
+ readonly type: 'manual';
9119
+ readonly placeholder?: string;
9120
+ }
9121
+
9101
9122
  interface PaymentCaptureStatus {
9102
9123
  readonly status: io.flow.payment.v0.enums.CaptureStatus;
9103
9124
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
@@ -9321,7 +9342,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9321
9342
  readonly reference?: string;
9322
9343
  readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
9323
9344
  readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9324
- readonly capture_delay_hours?: number;
9345
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
9325
9346
  }
9326
9347
 
9327
9348
  interface PaymentRequestForm {
@@ -9335,7 +9356,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9335
9356
  readonly reference?: string;
9336
9357
  readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
9337
9358
  readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9338
- readonly capture_delay_hours?: number;
9359
+ readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
9339
9360
  }
9340
9361
 
9341
9362
  interface PaymentRequestReference {
@@ -9401,6 +9422,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
9401
9422
  type OrderInformation =
9402
9423
  | io.flow.payment.gateway.v0.models.OrderInformationFlow
9403
9424
  | io.flow.payment.gateway.v0.models.OrderInformationDetails;
9425
+ type PaymentCaptureOption =
9426
+ | io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate
9427
+ | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
9404
9428
  type PaymentMethodCard =
9405
9429
  | io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails
9406
9430
  | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
@@ -10487,6 +10511,9 @@ declare namespace io.flow.harmonization.v0.models {
10487
10511
  readonly duty: io.flow.price.v0.models.Duty;
10488
10512
  readonly tax: io.flow.price.v0.models.Tax;
10489
10513
  readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
10514
+ readonly origin?: string;
10515
+ readonly hs_code?: string;
10516
+ readonly customs_description?: string;
10490
10517
  }
10491
10518
 
10492
10519
  interface Hs10 {
@@ -12410,6 +12437,8 @@ declare namespace io.flow.internal.v0.enums {
12410
12437
  | 'billing_statement_deleted'
12411
12438
  | 'tax_remittance_transaction_upserted'
12412
12439
  | 'tax_remittance_transaction_deleted'
12440
+ | 'channel_transaction_upserted'
12441
+ | 'channel_transaction_deleted'
12413
12442
  | 'account_transactions_export_request'
12414
12443
  | 'account_orders_export_request'
12415
12444
  | 'main_transaction_upserted'
@@ -12554,6 +12583,12 @@ declare namespace io.flow.internal.v0.enums {
12554
12583
  | 'adyen_merchant_account_deleted'
12555
12584
  | 'chargeback_upserted'
12556
12585
  | 'chargeback_deleted'
12586
+ | 'payment_processor_account_upserted'
12587
+ | 'payment_processor_account_deleted'
12588
+ | 'payment_processor_merchant_upserted'
12589
+ | 'payment_processor_merchant_deleted'
12590
+ | 'virtual_card_provider_upserted'
12591
+ | 'virtual_card_provider_deleted'
12557
12592
  | 'paypal_payment_deleted'
12558
12593
  | 'paypal_payment_upserted'
12559
12594
  | 'paypal_execution_deleted'
@@ -13585,6 +13620,7 @@ declare namespace io.flow.internal.v0.models {
13585
13620
  }
13586
13621
 
13587
13622
  interface BillingOrganizationSettings {
13623
+ readonly id: string;
13588
13624
  readonly days_until_posted: number;
13589
13625
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
13590
13626
  readonly include_transaction_created_at: boolean;
@@ -14021,7 +14057,6 @@ declare namespace io.flow.internal.v0.models {
14021
14057
  interface ChannelCurrencySetting {
14022
14058
  readonly id: string;
14023
14059
  readonly channel_id: string;
14024
- readonly base: string;
14025
14060
  readonly target: string;
14026
14061
  readonly margin: number;
14027
14062
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -14036,7 +14071,6 @@ declare namespace io.flow.internal.v0.models {
14036
14071
 
14037
14072
  interface ChannelCurrencySettingForm {
14038
14073
  readonly channel_id: string;
14039
- readonly base: string;
14040
14074
  readonly target: string;
14041
14075
  readonly margin: number;
14042
14076
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -14058,6 +14092,37 @@ declare namespace io.flow.internal.v0.models {
14058
14092
  readonly amount: number;
14059
14093
  }
14060
14094
 
14095
+ interface ChannelTransaction {
14096
+ readonly id: string;
14097
+ readonly organization_id: string;
14098
+ readonly processing_transaction_id: string;
14099
+ readonly order_number: string;
14100
+ readonly channel_currency: string;
14101
+ readonly mor_convenience_fee: number;
14102
+ readonly flow_fx_fee_on_mor: number;
14103
+ readonly flow_processing_fee: number;
14104
+ readonly flow_fraud_fee: number;
14105
+ readonly service_fee: number;
14106
+ readonly logistics_fee: number;
14107
+ readonly total: number;
14108
+ }
14109
+
14110
+ interface ChannelTransactionDeleted {
14111
+ readonly discriminator: 'channel_transaction_deleted';
14112
+ readonly event_id: string;
14113
+ readonly timestamp: string;
14114
+ readonly organization: string;
14115
+ readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14116
+ }
14117
+
14118
+ interface ChannelTransactionUpserted {
14119
+ readonly discriminator: 'channel_transaction_upserted';
14120
+ readonly event_id: string;
14121
+ readonly timestamp: string;
14122
+ readonly organization: string;
14123
+ readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14124
+ }
14125
+
14061
14126
  interface Chargeback {
14062
14127
  readonly id: string;
14063
14128
  readonly key: string;
@@ -19957,7 +20022,6 @@ declare namespace io.flow.internal.v0.models {
19957
20022
  interface OrganizationCurrencySetting {
19958
20023
  readonly id: string;
19959
20024
  readonly organization: string;
19960
- readonly base: string;
19961
20025
  readonly target: string;
19962
20026
  readonly margin: number;
19963
20027
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -19972,7 +20036,6 @@ declare namespace io.flow.internal.v0.models {
19972
20036
 
19973
20037
  interface OrganizationCurrencySettingForm {
19974
20038
  readonly organization: string;
19975
- readonly base: string;
19976
20039
  readonly target: string;
19977
20040
  readonly margin: number;
19978
20041
  readonly rate_lock: io.flow.common.v0.models.Duration;
@@ -20123,6 +20186,38 @@ declare namespace io.flow.internal.v0.models {
20123
20186
  readonly merchant_category_code?: number;
20124
20187
  }
20125
20188
 
20189
+ interface PaymentProcessorAccountDeleted {
20190
+ readonly discriminator: 'payment_processor_account_deleted';
20191
+ readonly event_id: string;
20192
+ readonly timestamp: string;
20193
+ readonly id: string;
20194
+ readonly account: io.flow.internal.v0.unions.ProcessorAccount;
20195
+ }
20196
+
20197
+ interface PaymentProcessorAccountUpserted {
20198
+ readonly discriminator: 'payment_processor_account_upserted';
20199
+ readonly event_id: string;
20200
+ readonly timestamp: string;
20201
+ readonly id: string;
20202
+ readonly account: io.flow.internal.v0.unions.ProcessorAccount;
20203
+ }
20204
+
20205
+ interface PaymentProcessorMerchantDeleted {
20206
+ readonly discriminator: 'payment_processor_merchant_deleted';
20207
+ readonly event_id: string;
20208
+ readonly timestamp: string;
20209
+ readonly id: string;
20210
+ readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant;
20211
+ }
20212
+
20213
+ interface PaymentProcessorMerchantUpserted {
20214
+ readonly discriminator: 'payment_processor_merchant_upserted';
20215
+ readonly event_id: string;
20216
+ readonly timestamp: string;
20217
+ readonly id: string;
20218
+ readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant;
20219
+ }
20220
+
20126
20221
  interface PaymentSummaryV2 {
20127
20222
  readonly discriminator: 'payment_summary_v2';
20128
20223
  readonly id: string;
@@ -20567,6 +20662,10 @@ declare namespace io.flow.internal.v0.models {
20567
20662
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
20568
20663
  }
20569
20664
 
20665
+ interface ProductDetailSettingsForm {
20666
+ readonly keys: string[];
20667
+ }
20668
+
20570
20669
  interface ProductHarmonization {
20571
20670
  readonly product_labels: io.flow.internal.v0.models.ProductLabels;
20572
20671
  readonly customs_description: string;
@@ -22218,6 +22317,10 @@ declare namespace io.flow.internal.v0.models {
22218
22317
  readonly token: string;
22219
22318
  }
22220
22319
 
22320
+ interface UserProductDetailSettings {
22321
+ readonly keys: string[];
22322
+ }
22323
+
22221
22324
  interface UserProductListSettings {
22222
22325
  readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
22223
22326
  }
@@ -22292,6 +22395,31 @@ declare namespace io.flow.internal.v0.models {
22292
22395
  readonly address?: string;
22293
22396
  }
22294
22397
 
22398
+ interface VirtualCardProvider {
22399
+ readonly id: string;
22400
+ readonly organization_id: string;
22401
+ readonly provider: string;
22402
+ readonly attributes?: Record<string, string>;
22403
+ readonly created_at: string;
22404
+ readonly updated_at: string;
22405
+ }
22406
+
22407
+ interface VirtualCardProviderDeleted {
22408
+ readonly discriminator: 'virtual_card_provider_deleted';
22409
+ readonly event_id: string;
22410
+ readonly timestamp: string;
22411
+ readonly id: string;
22412
+ readonly provider: io.flow.internal.v0.models.VirtualCardProvider;
22413
+ }
22414
+
22415
+ interface VirtualCardProviderUpserted {
22416
+ readonly discriminator: 'virtual_card_provider_upserted';
22417
+ readonly event_id: string;
22418
+ readonly timestamp: string;
22419
+ readonly id: string;
22420
+ readonly provider: io.flow.internal.v0.models.VirtualCardProvider;
22421
+ }
22422
+
22295
22423
  interface VirtualCardTransaction {
22296
22424
  readonly discriminator: 'virtual_card_transaction';
22297
22425
  readonly id: string;
@@ -22700,6 +22828,8 @@ declare namespace io.flow.internal.v0.unions {
22700
22828
  | io.flow.internal.v0.models.BillingStatementDeleted
22701
22829
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
22702
22830
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
22831
+ | io.flow.internal.v0.models.ChannelTransactionUpserted
22832
+ | io.flow.internal.v0.models.ChannelTransactionDeleted
22703
22833
  | io.flow.internal.v0.models.AccountTransactionsExportRequest
22704
22834
  | io.flow.internal.v0.models.AccountOrdersExportRequest
22705
22835
  | io.flow.internal.v0.models.MainTransactionUpserted
@@ -22844,6 +22974,12 @@ declare namespace io.flow.internal.v0.unions {
22844
22974
  | io.flow.internal.v0.models.AdyenMerchantAccountDeleted
22845
22975
  | io.flow.internal.v0.models.ChargebackUpserted
22846
22976
  | io.flow.internal.v0.models.ChargebackDeleted
22977
+ | io.flow.internal.v0.models.PaymentProcessorAccountUpserted
22978
+ | io.flow.internal.v0.models.PaymentProcessorAccountDeleted
22979
+ | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted
22980
+ | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted
22981
+ | io.flow.internal.v0.models.VirtualCardProviderUpserted
22982
+ | io.flow.internal.v0.models.VirtualCardProviderDeleted
22847
22983
  | io.flow.internal.v0.models.PaypalPaymentDeleted
22848
22984
  | io.flow.internal.v0.models.PaypalPaymentUpserted
22849
22985
  | io.flow.internal.v0.models.PaypalExecutionDeleted
@@ -23298,6 +23434,9 @@ export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurre
23298
23434
  export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
23299
23435
  export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
23300
23436
  export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
23437
+ export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
23438
+ export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
23439
+ export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
23301
23440
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
23302
23441
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
23303
23442
  export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -24415,6 +24554,10 @@ export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
24415
24554
  export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
24416
24555
  export type PaymentOrganizationSettings = io.flow.internal.v0.models.PaymentOrganizationSettings;
24417
24556
  export type PaymentOrganizationSettingsPutForm = io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm;
24557
+ export type PaymentProcessorAccountDeleted = io.flow.internal.v0.models.PaymentProcessorAccountDeleted;
24558
+ export type PaymentProcessorAccountUpserted = io.flow.internal.v0.models.PaymentProcessorAccountUpserted;
24559
+ export type PaymentProcessorMerchantDeleted = io.flow.internal.v0.models.PaymentProcessorMerchantDeleted;
24560
+ export type PaymentProcessorMerchantUpserted = io.flow.internal.v0.models.PaymentProcessorMerchantUpserted;
24418
24561
  export type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect;
24419
24562
  export type PaymentSummaryDetails = io.flow.internal.v0.unions.PaymentSummaryDetails;
24420
24563
  export type PaymentSummaryStatus = io.flow.internal.v0.enums.PaymentSummaryStatus;
@@ -24486,6 +24629,7 @@ export type ProductClassification = io.flow.internal.v0.models.ProductClassifica
24486
24629
  export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
24487
24630
  export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
24488
24631
  export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
24632
+ export type ProductDetailSettingsForm = io.flow.internal.v0.models.ProductDetailSettingsForm;
24489
24633
  export type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
24490
24634
  export type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
24491
24635
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
@@ -24765,6 +24909,7 @@ export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
24765
24909
  export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
24766
24910
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
24767
24911
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
24912
+ export type UserProductDetailSettings = io.flow.internal.v0.models.UserProductDetailSettings;
24768
24913
  export type UserProductListSettings = io.flow.internal.v0.models.UserProductListSettings;
24769
24914
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
24770
24915
  export type UserStatusRule = io.flow.internal.v0.models.UserStatusRule;
@@ -24778,6 +24923,9 @@ export type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
24778
24923
  export type Variant = io.flow.internal.v0.unions.Variant;
24779
24924
  export type VariantForm = io.flow.internal.v0.unions.VariantForm;
24780
24925
  export type ViesResult = io.flow.internal.v0.models.ViesResult;
24926
+ export type VirtualCardProvider = io.flow.internal.v0.models.VirtualCardProvider;
24927
+ export type VirtualCardProviderDeleted = io.flow.internal.v0.models.VirtualCardProviderDeleted;
24928
+ export type VirtualCardProviderUpserted = io.flow.internal.v0.models.VirtualCardProviderUpserted;
24781
24929
  export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
24782
24930
  export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
24783
24931
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;