@flowio/types 11.19.24 → 11.19.26

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.
@@ -5965,7 +5965,6 @@ declare namespace io.flow.shopify.markets.v0.models {
5965
5965
  readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
5966
5966
  readonly send_receipt?: boolean;
5967
5967
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
5968
- readonly payment_request_id?: string;
5969
5968
  }
5970
5969
  interface ShopifyOrderAddress {
5971
5970
  readonly id?: number;
@@ -7099,22 +7098,7 @@ declare namespace io.flow.ratecard.v0.models {
7099
7098
  readonly id: string;
7100
7099
  readonly name: string;
7101
7100
  }
7102
- interface RatecardEstimateFormV1 {
7103
- readonly discriminator: 'ratecard_estimate_form_v1';
7104
- readonly origin?: string;
7105
- readonly destination?: string;
7106
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7107
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
7108
- readonly service?: string;
7109
- readonly weight?: number;
7110
- readonly length?: number;
7111
- readonly width?: number;
7112
- readonly depth?: number;
7113
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
7114
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
7115
- }
7116
- interface RatecardEstimateFormV2 {
7117
- readonly discriminator: 'ratecard_estimate_form_v2';
7101
+ interface RatecardEstimateForm {
7118
7102
  readonly origin_address: io.flow.common.v0.models.Address;
7119
7103
  readonly destination_address: io.flow.common.v0.models.Address;
7120
7104
  readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
@@ -7283,7 +7267,6 @@ declare namespace io.flow.ratecard.v0.models {
7283
7267
  }
7284
7268
  declare namespace io.flow.ratecard.v0.unions {
7285
7269
  type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3;
7286
- type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
7287
7270
  type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
7288
7271
  type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
7289
7272
  }
@@ -9335,7 +9318,7 @@ declare namespace io.flow.internal.v0.enums {
9335
9318
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9336
9319
  type BillingAllocationKey = 'freight_cost' | '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' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
9337
9320
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9338
- type BillingStatementBatchFileKey = 'archive' | 'summary' | 'label_transactions';
9321
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
9339
9322
  type BillingStatementReviewStatus = 'approved' | 'pending';
9340
9323
  type BillingTransactionStatus = 'pending' | 'posted';
9341
9324
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
@@ -9344,6 +9327,7 @@ declare namespace io.flow.internal.v0.enums {
9344
9327
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
9345
9328
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9346
9329
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
9330
+ type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
9347
9331
  type ChargebackPaymentStatus = 'captured' | 'refunded';
9348
9332
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
9349
9333
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -9429,8 +9413,8 @@ declare namespace io.flow.internal.v0.enums {
9429
9413
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
9430
9414
  type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
9431
9415
  type DisputeImportType = 'adyen_dispute';
9416
+ type DisputeLiability = 'flow' | 'organization';
9432
9417
  type DisputeProcessor = 'adyen' | 'paypal';
9433
- type DisputeResponsibleParty = 'flow' | 'organization';
9434
9418
  type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
9435
9419
  type DisputeType = 'chargeback';
9436
9420
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
@@ -10373,6 +10357,9 @@ declare namespace io.flow.internal.v0.models {
10373
10357
  readonly promotion?: string;
10374
10358
  readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
10375
10359
  }
10360
+ interface BlazeExitCheckoutConfirmationMessage {
10361
+ readonly discriminator: 'exit_checkout_confirmation';
10362
+ }
10376
10363
  interface BlazeExitCheckoutMessage {
10377
10364
  readonly discriminator: 'exit_checkout';
10378
10365
  }
@@ -10563,6 +10550,17 @@ declare namespace io.flow.internal.v0.models {
10563
10550
  readonly environment: io.flow.common.v0.enums.Environment;
10564
10551
  readonly organization_id_prefix?: string;
10565
10552
  }
10553
+ interface ChannelCurrency {
10554
+ readonly id: string;
10555
+ readonly currency: string;
10556
+ readonly channel: io.flow.common.v0.models.ChannelReference;
10557
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
10558
+ }
10559
+ interface ChannelCurrencyForm {
10560
+ readonly currency: string;
10561
+ readonly channel_id: string;
10562
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
10563
+ }
10566
10564
  interface ChannelCurrencySetting {
10567
10565
  readonly id: string;
10568
10566
  readonly channel_id: string;
@@ -10601,6 +10599,7 @@ declare namespace io.flow.internal.v0.models {
10601
10599
  readonly amount: number;
10602
10600
  }
10603
10601
  interface ChannelTokenForm {
10602
+ readonly channel_id: string;
10604
10603
  readonly description?: string;
10605
10604
  }
10606
10605
  interface ChannelTransaction {
@@ -12769,18 +12768,21 @@ declare namespace io.flow.internal.v0.models {
12769
12768
  readonly id: string;
12770
12769
  readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
12771
12770
  readonly key: string;
12771
+ readonly total: io.flow.common.v0.models.Money;
12772
12772
  readonly type: io.flow.internal.v0.enums.DisputeType;
12773
12773
  readonly category: io.flow.internal.v0.enums.DisputeCategory;
12774
12774
  readonly reason: string;
12775
12775
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
12776
- readonly responsible?: io.flow.internal.v0.enums.DisputeResponsibleParty;
12776
+ readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
12777
12777
  readonly details: io.flow.internal.v0.unions.DisputeDetails;
12778
+ readonly issued_at: string;
12778
12779
  readonly expires_at?: string;
12779
12780
  readonly created_at: string;
12780
12781
  }
12781
12782
  interface DisputeDetailsAdyen {
12782
12783
  readonly discriminator: 'adyen';
12783
12784
  readonly psp_reference: string;
12785
+ readonly dispute_psp_reference: string;
12784
12786
  }
12785
12787
  interface DisputeDetailsPaypal {
12786
12788
  readonly discriminator: 'paypal';
@@ -17811,7 +17813,7 @@ declare namespace io.flow.internal.v0.unions {
17811
17813
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
17812
17814
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
17813
17815
  type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
17814
- type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
17816
+ type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
17815
17817
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
17816
17818
  type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
17817
17819
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
@@ -18088,6 +18090,7 @@ export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckout
18088
18090
  export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
18089
18091
  export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
18090
18092
  export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
18093
+ export declare type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
18091
18094
  export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
18092
18095
  export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
18093
18096
  export declare type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
@@ -18133,6 +18136,9 @@ export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.
18133
18136
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
18134
18137
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
18135
18138
  export declare type Channel = io.flow.internal.v0.models.Channel;
18139
+ export declare type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
18140
+ export declare type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
18141
+ export declare type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
18136
18142
  export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
18137
18143
  export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
18138
18144
  export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
@@ -18756,8 +18762,8 @@ export declare type DisputeImportErrors = io.flow.internal.v0.models.DisputeImpo
18756
18762
  export declare type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
18757
18763
  export declare type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
18758
18764
  export declare type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
18765
+ export declare type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
18759
18766
  export declare type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
18760
- export declare type DisputeResponsibleParty = io.flow.internal.v0.enums.DisputeResponsibleParty;
18761
18767
  export declare type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
18762
18768
  export declare type DisputeType = io.flow.internal.v0.enums.DisputeType;
18763
18769
  export declare type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
package/dist/api.d.ts CHANGED
@@ -1575,6 +1575,9 @@ declare namespace io.flow.shopify.external.v0.models {
1575
1575
  readonly webhook: io.flow.shopify.external.v0.models.Webhook;
1576
1576
  }
1577
1577
  }
1578
+ declare namespace io.flow.channel.internal.v0.enums {
1579
+ type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
1580
+ }
1578
1581
  declare namespace io.flow.channel.internal.v0.models {
1579
1582
  interface Channel {
1580
1583
  readonly id: string;
@@ -1582,6 +1585,17 @@ declare namespace io.flow.channel.internal.v0.models {
1582
1585
  readonly environment: io.flow.common.v0.enums.Environment;
1583
1586
  readonly organization_id_prefix?: string;
1584
1587
  }
1588
+ interface ChannelCurrency {
1589
+ readonly id: string;
1590
+ readonly currency: string;
1591
+ readonly channel: io.flow.common.v0.models.ChannelReference;
1592
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
1593
+ }
1594
+ interface ChannelCurrencyForm {
1595
+ readonly currency: string;
1596
+ readonly channel_id: string;
1597
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
1598
+ }
1585
1599
  interface ChannelForm {
1586
1600
  readonly name: string;
1587
1601
  readonly environment: io.flow.common.v0.enums.Environment;
@@ -2172,7 +2186,6 @@ declare namespace io.flow.v0.enums {
2172
2186
  type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
2173
2187
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
2174
2188
  type ChangeType = 'insert' | 'update' | 'delete';
2175
- type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
2176
2189
  type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
2177
2190
  type ConsumerInvoiceDocumentType = 'pdf';
2178
2191
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
@@ -3414,26 +3427,17 @@ declare namespace io.flow.v0.models {
3414
3427
  interface ChannelAuthorizationForm {
3415
3428
  readonly channel_id: string;
3416
3429
  }
3417
- interface ChannelCurrency {
3418
- readonly id: string;
3419
- readonly currency: string;
3420
- readonly channel: io.flow.v0.models.ChannelReference;
3421
- readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
3422
- }
3423
3430
  interface ChannelCurrencyDeleted {
3424
3431
  readonly discriminator: 'channel_currency_deleted';
3425
3432
  readonly event_id: string;
3426
3433
  readonly timestamp: string;
3427
3434
  readonly id: string;
3428
3435
  }
3429
- interface ChannelCurrencyForm {
3430
- readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
3431
- }
3432
3436
  interface ChannelCurrencyUpserted {
3433
3437
  readonly discriminator: 'channel_currency_upserted';
3434
3438
  readonly event_id: string;
3435
3439
  readonly timestamp: string;
3436
- readonly channel_currency: io.flow.v0.models.ChannelCurrency;
3440
+ readonly channel_currency: io.flow.channel.internal.v0.models.ChannelCurrency;
3437
3441
  }
3438
3442
  interface ChannelDeleted {
3439
3443
  readonly discriminator: 'channel_deleted';
@@ -5116,7 +5120,9 @@ declare namespace io.flow.v0.models {
5116
5120
  readonly tax_applicability?: io.flow.v0.enums.TaxApplicability;
5117
5121
  readonly origin?: string;
5118
5122
  readonly hs_code?: string;
5123
+ readonly tariff_code?: string;
5119
5124
  readonly customs_description?: string;
5125
+ readonly source_address?: io.flow.v0.models.Address;
5120
5126
  }
5121
5127
  interface HarmonizedLandedCostUpserted {
5122
5128
  readonly discriminator: 'harmonized_landed_cost_upserted';
@@ -6366,13 +6372,13 @@ declare namespace io.flow.v0.models {
6366
6372
  interface OrderInformationDetails {
6367
6373
  readonly type: 'details';
6368
6374
  readonly order_details: io.flow.v0.models.OrderDetails;
6369
- readonly billing_address?: io.flow.v0.models.PaymentAddress;
6370
- readonly shipping_address?: io.flow.v0.models.PaymentAddress;
6375
+ readonly billing_address?: io.flow.v0.models.PaymentAddressBilling;
6376
+ readonly shipping_address?: io.flow.v0.models.PaymentAddressShipping;
6371
6377
  }
6372
6378
  interface OrderInformationFlow {
6373
6379
  readonly type: 'flow';
6374
6380
  readonly order_number: string;
6375
- readonly billing_address?: io.flow.v0.models.PaymentAddress;
6381
+ readonly billing_address?: io.flow.v0.models.PaymentAddressBilling;
6376
6382
  }
6377
6383
  interface OrderNumberGeneratorDefaults {
6378
6384
  readonly starts_with: number;
@@ -6920,8 +6926,19 @@ declare namespace io.flow.v0.models {
6920
6926
  readonly email: string;
6921
6927
  }
6922
6928
  interface PaymentAddress {
6923
- readonly contact: io.flow.v0.models.Contact;
6924
- readonly location: io.flow.v0.models.Address;
6929
+ readonly streets: string[];
6930
+ readonly city: string;
6931
+ readonly province?: string;
6932
+ readonly postal?: string;
6933
+ readonly country: string;
6934
+ }
6935
+ interface PaymentAddressBilling {
6936
+ readonly contact: io.flow.v0.models.PaymentContactBilling;
6937
+ readonly location: io.flow.v0.models.PaymentAddress;
6938
+ }
6939
+ interface PaymentAddressShipping {
6940
+ readonly contact: io.flow.v0.models.PaymentContactShipping;
6941
+ readonly location: io.flow.v0.models.PaymentAddress;
6925
6942
  }
6926
6943
  interface PaymentAuthorization {
6927
6944
  readonly id: string;
@@ -6963,6 +6980,19 @@ declare namespace io.flow.v0.models {
6963
6980
  readonly status: io.flow.v0.enums.CaptureStatus;
6964
6981
  readonly reason?: io.flow.v0.enums.CaptureDeclineCode;
6965
6982
  }
6983
+ interface PaymentContactBilling {
6984
+ readonly first_name: string;
6985
+ readonly last_name: string;
6986
+ readonly company?: string;
6987
+ readonly email?: string;
6988
+ readonly phone?: string;
6989
+ }
6990
+ interface PaymentContactShipping {
6991
+ readonly first_name: string;
6992
+ readonly last_name: string;
6993
+ readonly email: string;
6994
+ readonly phone: string;
6995
+ }
6966
6996
  interface PaymentCryptopay {
6967
6997
  readonly discriminator: 'payment_cryptopay';
6968
6998
  readonly id: string;
@@ -7773,22 +7803,7 @@ declare namespace io.flow.v0.models {
7773
7803
  readonly organization: string;
7774
7804
  readonly ratecard: io.flow.v0.models.Ratecard;
7775
7805
  }
7776
- interface RatecardEstimateFormV1 {
7777
- readonly discriminator: 'ratecard_estimate_form_v1';
7778
- readonly origin?: string;
7779
- readonly destination?: string;
7780
- readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
7781
- readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
7782
- readonly service?: string;
7783
- readonly weight?: number;
7784
- readonly length?: number;
7785
- readonly width?: number;
7786
- readonly depth?: number;
7787
- readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
7788
- readonly line_items?: io.flow.v0.models.LineItemForm[];
7789
- }
7790
- interface RatecardEstimateFormV2 {
7791
- readonly discriminator: 'ratecard_estimate_form_v2';
7806
+ interface RatecardEstimateForm {
7792
7807
  readonly origin_address: io.flow.v0.models.Address;
7793
7808
  readonly destination_address: io.flow.v0.models.Address;
7794
7809
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -9729,7 +9744,6 @@ declare namespace io.flow.v0.unions {
9729
9744
  type QueryFilter = io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured;
9730
9745
  type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
9731
9746
  type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3;
9732
- type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
9733
9747
  type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
9734
9748
  type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
9735
9749
  type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
@@ -9953,10 +9967,7 @@ export declare type CenterVersion = io.flow.v0.models.CenterVersion;
9953
9967
  export declare type ChangeType = io.flow.v0.enums.ChangeType;
9954
9968
  export declare type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
9955
9969
  export declare type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
9956
- export declare type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
9957
- export declare type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
9958
9970
  export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
9959
- export declare type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
9960
9971
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
9961
9972
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
9962
9973
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
@@ -10654,6 +10665,8 @@ export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRe
10654
10665
  export declare type Payment = io.flow.v0.unions.Payment;
10655
10666
  export declare type PaymentActionType = io.flow.v0.enums.PaymentActionType;
10656
10667
  export declare type PaymentAddress = io.flow.v0.models.PaymentAddress;
10668
+ export declare type PaymentAddressBilling = io.flow.v0.models.PaymentAddressBilling;
10669
+ export declare type PaymentAddressShipping = io.flow.v0.models.PaymentAddressShipping;
10657
10670
  export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
10658
10671
  export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
10659
10672
  export declare type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -10662,6 +10675,8 @@ export declare type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOptio
10662
10675
  export declare type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate;
10663
10676
  export declare type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual;
10664
10677
  export declare type PaymentCaptureStatus = io.flow.v0.models.PaymentCaptureStatus;
10678
+ export declare type PaymentContactBilling = io.flow.v0.models.PaymentContactBilling;
10679
+ export declare type PaymentContactShipping = io.flow.v0.models.PaymentContactShipping;
10665
10680
  export declare type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
10666
10681
  export declare type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
10667
10682
  export declare type PaymentDiscount = io.flow.v0.models.PaymentDiscount;
@@ -10833,9 +10848,7 @@ export declare type Ratecard = io.flow.v0.models.Ratecard;
10833
10848
  export declare type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
10834
10849
  export declare type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
10835
10850
  export declare type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
10836
- export declare type RatecardEstimateForm = io.flow.v0.unions.RatecardEstimateForm;
10837
- export declare type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
10838
- export declare type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
10851
+ export declare type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
10839
10852
  export declare type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
10840
10853
  export declare type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
10841
10854
  export declare type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.24",
3
+ "version": "11.19.26",
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": "61d03e10432c7c9246efc3a77c846235a21f568b"
28
+ "gitHead": "2a4fb8a801d7d1cf5c382b10917cd11f718b2bf6"
29
29
  }
@@ -7937,7 +7937,6 @@ declare namespace io.flow.shopify.markets.v0.models {
7937
7937
  readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7938
7938
  readonly send_receipt?: boolean;
7939
7939
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
7940
- readonly payment_request_id?: string;
7941
7940
  }
7942
7941
 
7943
7942
  interface ShopifyOrderAddress {
@@ -9343,23 +9342,7 @@ declare namespace io.flow.ratecard.v0.models {
9343
9342
  readonly name: string;
9344
9343
  }
9345
9344
 
9346
- interface RatecardEstimateFormV1 {
9347
- readonly discriminator: 'ratecard_estimate_form_v1';
9348
- readonly origin?: string;
9349
- readonly destination?: string;
9350
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
9351
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
9352
- readonly service?: string;
9353
- readonly weight?: number;
9354
- readonly length?: number;
9355
- readonly width?: number;
9356
- readonly depth?: number;
9357
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
9358
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
9359
- }
9360
-
9361
- interface RatecardEstimateFormV2 {
9362
- readonly discriminator: 'ratecard_estimate_form_v2';
9345
+ interface RatecardEstimateForm {
9363
9346
  readonly origin_address: io.flow.common.v0.models.Address;
9364
9347
  readonly destination_address: io.flow.common.v0.models.Address;
9365
9348
  readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
@@ -9554,9 +9537,6 @@ declare namespace io.flow.ratecard.v0.unions {
9554
9537
  | io.flow.ratecard.v0.models.RatecardEstimateV1
9555
9538
  | io.flow.ratecard.v0.models.RatecardEstimateV2
9556
9539
  | io.flow.ratecard.v0.models.RatecardEstimateV3;
9557
- type RatecardEstimateForm =
9558
- | io.flow.ratecard.v0.models.RatecardEstimateFormV1
9559
- | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
9560
9540
  type RatecardFee =
9561
9541
  | io.flow.ratecard.v0.models.DdpRatecardFee
9562
9542
  | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
@@ -12177,10 +12157,7 @@ declare namespace io.flow.internal.v0.enums {
12177
12157
  | 'manual'
12178
12158
  | 'orders'
12179
12159
  | 'all';
12180
- type BillingStatementBatchFileKey =
12181
- | 'archive'
12182
- | 'summary'
12183
- | 'label_transactions';
12160
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
12184
12161
  type BillingStatementReviewStatus = 'approved' | 'pending';
12185
12162
  type BillingTransactionStatus = 'pending' | 'posted';
12186
12163
  type BillingTransactionType =
@@ -12211,6 +12188,9 @@ declare namespace io.flow.internal.v0.enums {
12211
12188
  | 'item_prices'
12212
12189
  | 'price_book_items_import'
12213
12190
  | 'price_book_items_query_import';
12191
+ type ChannelCurrencyCapability =
12192
+ | 'payment_authorizations'
12193
+ | 'settlement_currency';
12214
12194
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12215
12195
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12216
12196
  type CheckoutAddAuthorizationErrorCode =
@@ -12503,8 +12483,8 @@ declare namespace io.flow.internal.v0.enums {
12503
12483
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
12504
12484
  type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
12505
12485
  type DisputeImportType = 'adyen_dispute';
12486
+ type DisputeLiability = 'flow' | 'organization';
12506
12487
  type DisputeProcessor = 'adyen' | 'paypal';
12507
- type DisputeResponsibleParty = 'flow' | 'organization';
12508
12488
  type DisputeStatus = 'pending' | 'won' | 'lost' | 'expired';
12509
12489
  type DisputeType = 'chargeback';
12510
12490
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
@@ -13960,6 +13940,10 @@ declare namespace io.flow.internal.v0.models {
13960
13940
  readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
13961
13941
  }
13962
13942
 
13943
+ interface BlazeExitCheckoutConfirmationMessage {
13944
+ readonly discriminator: 'exit_checkout_confirmation';
13945
+ }
13946
+
13963
13947
  interface BlazeExitCheckoutMessage {
13964
13948
  readonly discriminator: 'exit_checkout';
13965
13949
  }
@@ -14190,6 +14174,19 @@ declare namespace io.flow.internal.v0.models {
14190
14174
  readonly organization_id_prefix?: string;
14191
14175
  }
14192
14176
 
14177
+ interface ChannelCurrency {
14178
+ readonly id: string;
14179
+ readonly currency: string;
14180
+ readonly channel: io.flow.common.v0.models.ChannelReference;
14181
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
14182
+ }
14183
+
14184
+ interface ChannelCurrencyForm {
14185
+ readonly currency: string;
14186
+ readonly channel_id: string;
14187
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
14188
+ }
14189
+
14193
14190
  interface ChannelCurrencySetting {
14194
14191
  readonly id: string;
14195
14192
  readonly channel_id: string;
@@ -14235,6 +14232,7 @@ declare namespace io.flow.internal.v0.models {
14235
14232
  }
14236
14233
 
14237
14234
  interface ChannelTokenForm {
14235
+ readonly channel_id: string;
14238
14236
  readonly description?: string;
14239
14237
  }
14240
14238
 
@@ -16861,12 +16859,14 @@ declare namespace io.flow.internal.v0.models {
16861
16859
  readonly id: string;
16862
16860
  readonly processor: io.flow.internal.v0.enums.DisputeProcessor;
16863
16861
  readonly key: string;
16862
+ readonly total: io.flow.common.v0.models.Money;
16864
16863
  readonly type: io.flow.internal.v0.enums.DisputeType;
16865
16864
  readonly category: io.flow.internal.v0.enums.DisputeCategory;
16866
16865
  readonly reason: string;
16867
16866
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
16868
- readonly responsible?: io.flow.internal.v0.enums.DisputeResponsibleParty;
16867
+ readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
16869
16868
  readonly details: io.flow.internal.v0.unions.DisputeDetails;
16869
+ readonly issued_at: string;
16870
16870
  readonly expires_at?: string;
16871
16871
  readonly created_at: string;
16872
16872
  }
@@ -16874,6 +16874,7 @@ declare namespace io.flow.internal.v0.models {
16874
16874
  interface DisputeDetailsAdyen {
16875
16875
  readonly discriminator: 'adyen';
16876
16876
  readonly psp_reference: string;
16877
+ readonly dispute_psp_reference: string;
16877
16878
  }
16878
16879
 
16879
16880
  interface DisputeDetailsPaypal {
@@ -22677,6 +22678,7 @@ declare namespace io.flow.internal.v0.unions {
22677
22678
  | io.flow.internal.v0.models.BlazeCheckoutEventMessage
22678
22679
  | io.flow.internal.v0.models.BlazeStartCheckoutMessage
22679
22680
  | io.flow.internal.v0.models.BlazeExitCheckoutMessage
22681
+ | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage
22680
22682
  | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
22681
22683
  | io.flow.internal.v0.models.BlazeSynInitializeMessage
22682
22684
  | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
@@ -23590,6 +23592,7 @@ export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
23590
23592
  export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
23591
23593
  export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
23592
23594
  export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
23595
+ export type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
23593
23596
  export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
23594
23597
  export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
23595
23598
  export type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
@@ -23635,6 +23638,9 @@ export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.model
23635
23638
  export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
23636
23639
  export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
23637
23640
  export type Channel = io.flow.internal.v0.models.Channel;
23641
+ export type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
23642
+ export type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
23643
+ export type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
23638
23644
  export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
23639
23645
  export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
23640
23646
  export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
@@ -24258,8 +24264,8 @@ export type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors
24258
24264
  export type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm;
24259
24265
  export type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus;
24260
24266
  export type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType;
24267
+ export type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability;
24261
24268
  export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor;
24262
- export type DisputeResponsibleParty = io.flow.internal.v0.enums.DisputeResponsibleParty;
24263
24269
  export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus;
24264
24270
  export type DisputeType = io.flow.internal.v0.enums.DisputeType;
24265
24271
  export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport;
package/src/api.ts CHANGED
@@ -1996,6 +1996,12 @@ declare namespace io.flow.shopify.external.v0.models {
1996
1996
  }
1997
1997
  }
1998
1998
 
1999
+ declare namespace io.flow.channel.internal.v0.enums {
2000
+ type ChannelCurrencyCapability =
2001
+ | 'payment_authorizations'
2002
+ | 'settlement_currency';
2003
+ }
2004
+
1999
2005
  declare namespace io.flow.channel.internal.v0.models {
2000
2006
  interface Channel {
2001
2007
  readonly id: string;
@@ -2004,6 +2010,19 @@ declare namespace io.flow.channel.internal.v0.models {
2004
2010
  readonly organization_id_prefix?: string;
2005
2011
  }
2006
2012
 
2013
+ interface ChannelCurrency {
2014
+ readonly id: string;
2015
+ readonly currency: string;
2016
+ readonly channel: io.flow.common.v0.models.ChannelReference;
2017
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
2018
+ }
2019
+
2020
+ interface ChannelCurrencyForm {
2021
+ readonly currency: string;
2022
+ readonly channel_id: string;
2023
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
2024
+ }
2025
+
2007
2026
  interface ChannelForm {
2008
2027
  readonly name: string;
2009
2028
  readonly environment: io.flow.common.v0.enums.Environment;
@@ -2879,9 +2898,6 @@ declare namespace io.flow.v0.enums {
2879
2898
  | 'crossdock'
2880
2899
  | 'commercial_invoice';
2881
2900
  type ChangeType = 'insert' | 'update' | 'delete';
2882
- type ChannelCurrencyCapability =
2883
- | 'payment_authorizations'
2884
- | 'settlement_currency';
2885
2901
  type ConsumerInvoiceCustomerType =
2886
2902
  | 'business_eu_verified'
2887
2903
  | 'business_non_verified'
@@ -4786,13 +4802,6 @@ declare namespace io.flow.v0.models {
4786
4802
  readonly channel_id: string;
4787
4803
  }
4788
4804
 
4789
- interface ChannelCurrency {
4790
- readonly id: string;
4791
- readonly currency: string;
4792
- readonly channel: io.flow.v0.models.ChannelReference;
4793
- readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4794
- }
4795
-
4796
4805
  interface ChannelCurrencyDeleted {
4797
4806
  readonly discriminator: 'channel_currency_deleted';
4798
4807
  readonly event_id: string;
@@ -4800,15 +4809,11 @@ declare namespace io.flow.v0.models {
4800
4809
  readonly id: string;
4801
4810
  }
4802
4811
 
4803
- interface ChannelCurrencyForm {
4804
- readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4805
- }
4806
-
4807
4812
  interface ChannelCurrencyUpserted {
4808
4813
  readonly discriminator: 'channel_currency_upserted';
4809
4814
  readonly event_id: string;
4810
4815
  readonly timestamp: string;
4811
- readonly channel_currency: io.flow.v0.models.ChannelCurrency;
4816
+ readonly channel_currency: io.flow.channel.internal.v0.models.ChannelCurrency;
4812
4817
  }
4813
4818
 
4814
4819
  interface ChannelDeleted {
@@ -6781,7 +6786,9 @@ declare namespace io.flow.v0.models {
6781
6786
  readonly tax_applicability?: io.flow.v0.enums.TaxApplicability;
6782
6787
  readonly origin?: string;
6783
6788
  readonly hs_code?: string;
6789
+ readonly tariff_code?: string;
6784
6790
  readonly customs_description?: string;
6791
+ readonly source_address?: io.flow.v0.models.Address;
6785
6792
  }
6786
6793
 
6787
6794
  interface HarmonizedLandedCostUpserted {
@@ -8229,14 +8236,14 @@ declare namespace io.flow.v0.models {
8229
8236
  interface OrderInformationDetails {
8230
8237
  readonly type: 'details';
8231
8238
  readonly order_details: io.flow.v0.models.OrderDetails;
8232
- readonly billing_address?: io.flow.v0.models.PaymentAddress;
8233
- readonly shipping_address?: io.flow.v0.models.PaymentAddress;
8239
+ readonly billing_address?: io.flow.v0.models.PaymentAddressBilling;
8240
+ readonly shipping_address?: io.flow.v0.models.PaymentAddressShipping;
8234
8241
  }
8235
8242
 
8236
8243
  interface OrderInformationFlow {
8237
8244
  readonly type: 'flow';
8238
8245
  readonly order_number: string;
8239
- readonly billing_address?: io.flow.v0.models.PaymentAddress;
8246
+ readonly billing_address?: io.flow.v0.models.PaymentAddressBilling;
8240
8247
  }
8241
8248
 
8242
8249
  interface OrderNumberGeneratorDefaults {
@@ -8872,8 +8879,21 @@ declare namespace io.flow.v0.models {
8872
8879
  }
8873
8880
 
8874
8881
  interface PaymentAddress {
8875
- readonly contact: io.flow.v0.models.Contact;
8876
- readonly location: io.flow.v0.models.Address;
8882
+ readonly streets: string[];
8883
+ readonly city: string;
8884
+ readonly province?: string;
8885
+ readonly postal?: string;
8886
+ readonly country: string;
8887
+ }
8888
+
8889
+ interface PaymentAddressBilling {
8890
+ readonly contact: io.flow.v0.models.PaymentContactBilling;
8891
+ readonly location: io.flow.v0.models.PaymentAddress;
8892
+ }
8893
+
8894
+ interface PaymentAddressShipping {
8895
+ readonly contact: io.flow.v0.models.PaymentContactShipping;
8896
+ readonly location: io.flow.v0.models.PaymentAddress;
8877
8897
  }
8878
8898
 
8879
8899
  interface PaymentAuthorization {
@@ -8923,6 +8943,21 @@ declare namespace io.flow.v0.models {
8923
8943
  readonly reason?: io.flow.v0.enums.CaptureDeclineCode;
8924
8944
  }
8925
8945
 
8946
+ interface PaymentContactBilling {
8947
+ readonly first_name: string;
8948
+ readonly last_name: string;
8949
+ readonly company?: string;
8950
+ readonly email?: string;
8951
+ readonly phone?: string;
8952
+ }
8953
+
8954
+ interface PaymentContactShipping {
8955
+ readonly first_name: string;
8956
+ readonly last_name: string;
8957
+ readonly email: string;
8958
+ readonly phone: string;
8959
+ }
8960
+
8926
8961
  interface PaymentCryptopay {
8927
8962
  readonly discriminator: 'payment_cryptopay';
8928
8963
  readonly id: string;
@@ -9873,23 +9908,7 @@ declare namespace io.flow.v0.models {
9873
9908
  readonly ratecard: io.flow.v0.models.Ratecard;
9874
9909
  }
9875
9910
 
9876
- interface RatecardEstimateFormV1 {
9877
- readonly discriminator: 'ratecard_estimate_form_v1';
9878
- readonly origin?: string;
9879
- readonly destination?: string;
9880
- readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
9881
- readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement;
9882
- readonly service?: string;
9883
- readonly weight?: number;
9884
- readonly length?: number;
9885
- readonly width?: number;
9886
- readonly depth?: number;
9887
- readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
9888
- readonly line_items?: io.flow.v0.models.LineItemForm[];
9889
- }
9890
-
9891
- interface RatecardEstimateFormV2 {
9892
- readonly discriminator: 'ratecard_estimate_form_v2';
9911
+ interface RatecardEstimateForm {
9893
9912
  readonly origin_address: io.flow.v0.models.Address;
9894
9913
  readonly destination_address: io.flow.v0.models.Address;
9895
9914
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -12468,9 +12487,6 @@ declare namespace io.flow.v0.unions {
12468
12487
  | io.flow.v0.models.RatecardEstimateV1
12469
12488
  | io.flow.v0.models.RatecardEstimateV2
12470
12489
  | io.flow.v0.models.RatecardEstimateV3;
12471
- type RatecardEstimateForm =
12472
- | io.flow.v0.models.RatecardEstimateFormV1
12473
- | io.flow.v0.models.RatecardEstimateFormV2;
12474
12490
  type RatecardFee =
12475
12491
  | io.flow.v0.models.DdpRatecardFee
12476
12492
  | io.flow.v0.models.FuelSurchargeRatecardFee
@@ -12746,10 +12762,7 @@ export type CenterVersion = io.flow.v0.models.CenterVersion;
12746
12762
  export type ChangeType = io.flow.v0.enums.ChangeType;
12747
12763
  export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
12748
12764
  export type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
12749
- export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
12750
- export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
12751
12765
  export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
12752
- export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
12753
12766
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
12754
12767
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
12755
12768
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
@@ -13447,6 +13460,8 @@ export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestFor
13447
13460
  export type Payment = io.flow.v0.unions.Payment;
13448
13461
  export type PaymentActionType = io.flow.v0.enums.PaymentActionType;
13449
13462
  export type PaymentAddress = io.flow.v0.models.PaymentAddress;
13463
+ export type PaymentAddressBilling = io.flow.v0.models.PaymentAddressBilling;
13464
+ export type PaymentAddressShipping = io.flow.v0.models.PaymentAddressShipping;
13450
13465
  export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
13451
13466
  export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
13452
13467
  export type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -13455,6 +13470,8 @@ export type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOption;
13455
13470
  export type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate;
13456
13471
  export type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual;
13457
13472
  export type PaymentCaptureStatus = io.flow.v0.models.PaymentCaptureStatus;
13473
+ export type PaymentContactBilling = io.flow.v0.models.PaymentContactBilling;
13474
+ export type PaymentContactShipping = io.flow.v0.models.PaymentContactShipping;
13458
13475
  export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
13459
13476
  export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
13460
13477
  export type PaymentDiscount = io.flow.v0.models.PaymentDiscount;
@@ -13626,9 +13643,7 @@ export type Ratecard = io.flow.v0.models.Ratecard;
13626
13643
  export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
13627
13644
  export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
13628
13645
  export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
13629
- export type RatecardEstimateForm = io.flow.v0.unions.RatecardEstimateForm;
13630
- export type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
13631
- export type RatecardEstimateFormV2 = io.flow.v0.models.RatecardEstimateFormV2;
13646
+ export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm;
13632
13647
  export type RatecardEstimateSummaryForm = io.flow.v0.models.RatecardEstimateSummaryForm;
13633
13648
  export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1;
13634
13649
  export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2;