@flowio/types 11.19.25 → 11.19.27

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.
@@ -6579,17 +6579,28 @@ declare namespace io.flow.payment.gateway.v0.models {
6579
6579
  interface OrderInformationDetails {
6580
6580
  readonly type: 'details';
6581
6581
  readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
6582
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
6583
- readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
6582
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
6583
+ readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
6584
6584
  }
6585
6585
  interface OrderInformationFlow {
6586
6586
  readonly type: 'flow';
6587
6587
  readonly order_number: string;
6588
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
6588
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
6589
6589
  }
6590
6590
  interface PaymentAddress {
6591
- readonly contact: io.flow.common.v0.models.Contact;
6592
- readonly location: io.flow.common.v0.models.Address;
6591
+ readonly streets: string[];
6592
+ readonly city: string;
6593
+ readonly province?: string;
6594
+ readonly postal?: string;
6595
+ readonly country: string;
6596
+ }
6597
+ interface PaymentAddressBilling {
6598
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
6599
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
6600
+ }
6601
+ interface PaymentAddressShipping {
6602
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
6603
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
6593
6604
  }
6594
6605
  interface PaymentAuthorization {
6595
6606
  readonly id: string;
@@ -6631,6 +6642,19 @@ declare namespace io.flow.payment.gateway.v0.models {
6631
6642
  readonly status: io.flow.payment.v0.enums.CaptureStatus;
6632
6643
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6633
6644
  }
6645
+ interface PaymentContactBilling {
6646
+ readonly first_name: string;
6647
+ readonly last_name: string;
6648
+ readonly company?: string;
6649
+ readonly email?: string;
6650
+ readonly phone?: string;
6651
+ }
6652
+ interface PaymentContactShipping {
6653
+ readonly first_name: string;
6654
+ readonly last_name: string;
6655
+ readonly email: string;
6656
+ readonly phone: string;
6657
+ }
6634
6658
  interface PaymentDiscount {
6635
6659
  readonly amount: number;
6636
6660
  readonly name?: string;
@@ -8081,7 +8105,9 @@ declare namespace io.flow.harmonization.v0.models {
8081
8105
  readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
8082
8106
  readonly origin?: string;
8083
8107
  readonly hs_code?: string;
8108
+ readonly tariff_code?: string;
8084
8109
  readonly customs_description?: string;
8110
+ readonly source_address?: io.flow.common.v0.models.Address;
8085
8111
  }
8086
8112
  interface Hs10 {
8087
8113
  readonly id: string;
@@ -9317,7 +9343,7 @@ declare namespace io.flow.internal.v0.enums {
9317
9343
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
9318
9344
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9319
9345
  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';
9320
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9346
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9321
9347
  type BillingStatementBatchFileKey = 'archive' | 'summary';
9322
9348
  type BillingStatementReviewStatus = 'approved' | 'pending';
9323
9349
  type BillingTransactionStatus = 'pending' | 'posted';
@@ -9327,6 +9353,7 @@ declare namespace io.flow.internal.v0.enums {
9327
9353
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
9328
9354
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9329
9355
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
9356
+ type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
9330
9357
  type ChargebackPaymentStatus = 'captured' | 'refunded';
9331
9358
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
9332
9359
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -10549,6 +10576,17 @@ declare namespace io.flow.internal.v0.models {
10549
10576
  readonly environment: io.flow.common.v0.enums.Environment;
10550
10577
  readonly organization_id_prefix?: string;
10551
10578
  }
10579
+ interface ChannelCurrency {
10580
+ readonly id: string;
10581
+ readonly currency: string;
10582
+ readonly channel: io.flow.common.v0.models.ChannelReference;
10583
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
10584
+ }
10585
+ interface ChannelCurrencyForm {
10586
+ readonly currency: string;
10587
+ readonly channel_id: string;
10588
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
10589
+ }
10552
10590
  interface ChannelCurrencySetting {
10553
10591
  readonly id: string;
10554
10592
  readonly channel_id: string;
@@ -12763,6 +12801,7 @@ declare namespace io.flow.internal.v0.models {
12763
12801
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
12764
12802
  readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
12765
12803
  readonly details: io.flow.internal.v0.unions.DisputeDetails;
12804
+ readonly issued_at: string;
12766
12805
  readonly expires_at?: string;
12767
12806
  readonly created_at: string;
12768
12807
  }
@@ -18123,6 +18162,9 @@ export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.
18123
18162
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
18124
18163
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
18125
18164
  export declare type Channel = io.flow.internal.v0.models.Channel;
18165
+ export declare type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
18166
+ export declare type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
18167
+ export declare type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
18126
18168
  export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
18127
18169
  export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
18128
18170
  export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
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;
@@ -9937,10 +9967,7 @@ export declare type CenterVersion = io.flow.v0.models.CenterVersion;
9937
9967
  export declare type ChangeType = io.flow.v0.enums.ChangeType;
9938
9968
  export declare type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
9939
9969
  export declare type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
9940
- export declare type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
9941
- export declare type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
9942
9970
  export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
9943
- export declare type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
9944
9971
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
9945
9972
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
9946
9973
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
@@ -10638,6 +10665,8 @@ export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRe
10638
10665
  export declare type Payment = io.flow.v0.unions.Payment;
10639
10666
  export declare type PaymentActionType = io.flow.v0.enums.PaymentActionType;
10640
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;
10641
10670
  export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
10642
10671
  export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
10643
10672
  export declare type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -10646,6 +10675,8 @@ export declare type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOptio
10646
10675
  export declare type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate;
10647
10676
  export declare type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual;
10648
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;
10649
10680
  export declare type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
10650
10681
  export declare type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
10651
10682
  export declare type PaymentDiscount = io.flow.v0.models.PaymentDiscount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.25",
3
+ "version": "11.19.27",
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": "4ae6e2759b529a0dbde456f9b601ac52b7556064"
28
+ "gitHead": "fe032fb7044c5c5cdd5f3049bafaebdc339848e0"
29
29
  }
@@ -8686,19 +8686,32 @@ declare namespace io.flow.payment.gateway.v0.models {
8686
8686
  interface OrderInformationDetails {
8687
8687
  readonly type: 'details';
8688
8688
  readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
8689
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
8690
- readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
8689
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
8690
+ readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
8691
8691
  }
8692
8692
 
8693
8693
  interface OrderInformationFlow {
8694
8694
  readonly type: 'flow';
8695
8695
  readonly order_number: string;
8696
- readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddress;
8696
+ readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
8697
8697
  }
8698
8698
 
8699
8699
  interface PaymentAddress {
8700
- readonly contact: io.flow.common.v0.models.Contact;
8701
- readonly location: io.flow.common.v0.models.Address;
8700
+ readonly streets: string[];
8701
+ readonly city: string;
8702
+ readonly province?: string;
8703
+ readonly postal?: string;
8704
+ readonly country: string;
8705
+ }
8706
+
8707
+ interface PaymentAddressBilling {
8708
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
8709
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
8710
+ }
8711
+
8712
+ interface PaymentAddressShipping {
8713
+ readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
8714
+ readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
8702
8715
  }
8703
8716
 
8704
8717
  interface PaymentAuthorization {
@@ -8748,6 +8761,21 @@ declare namespace io.flow.payment.gateway.v0.models {
8748
8761
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
8749
8762
  }
8750
8763
 
8764
+ interface PaymentContactBilling {
8765
+ readonly first_name: string;
8766
+ readonly last_name: string;
8767
+ readonly company?: string;
8768
+ readonly email?: string;
8769
+ readonly phone?: string;
8770
+ }
8771
+
8772
+ interface PaymentContactShipping {
8773
+ readonly first_name: string;
8774
+ readonly last_name: string;
8775
+ readonly email: string;
8776
+ readonly phone: string;
8777
+ }
8778
+
8751
8779
  interface PaymentDiscount {
8752
8780
  readonly amount: number;
8753
8781
  readonly name?: string;
@@ -10592,7 +10620,9 @@ declare namespace io.flow.harmonization.v0.models {
10592
10620
  readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
10593
10621
  readonly origin?: string;
10594
10622
  readonly hs_code?: string;
10623
+ readonly tariff_code?: string;
10595
10624
  readonly customs_description?: string;
10625
+ readonly source_address?: io.flow.common.v0.models.Address;
10596
10626
  }
10597
10627
 
10598
10628
  interface Hs10 {
@@ -12152,6 +12182,7 @@ declare namespace io.flow.internal.v0.enums {
12152
12182
  | 'consumer_invoice'
12153
12183
  | 'credit_memo'
12154
12184
  | 'transactions'
12185
+ | 'channel_transactions'
12155
12186
  | 'virtual_card'
12156
12187
  | 'tax_remittance'
12157
12188
  | 'manual'
@@ -12188,6 +12219,9 @@ declare namespace io.flow.internal.v0.enums {
12188
12219
  | 'item_prices'
12189
12220
  | 'price_book_items_import'
12190
12221
  | 'price_book_items_query_import';
12222
+ type ChannelCurrencyCapability =
12223
+ | 'payment_authorizations'
12224
+ | 'settlement_currency';
12191
12225
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12192
12226
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12193
12227
  type CheckoutAddAuthorizationErrorCode =
@@ -14171,6 +14205,19 @@ declare namespace io.flow.internal.v0.models {
14171
14205
  readonly organization_id_prefix?: string;
14172
14206
  }
14173
14207
 
14208
+ interface ChannelCurrency {
14209
+ readonly id: string;
14210
+ readonly currency: string;
14211
+ readonly channel: io.flow.common.v0.models.ChannelReference;
14212
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
14213
+ }
14214
+
14215
+ interface ChannelCurrencyForm {
14216
+ readonly currency: string;
14217
+ readonly channel_id: string;
14218
+ readonly capabilities: io.flow.internal.v0.enums.ChannelCurrencyCapability[];
14219
+ }
14220
+
14174
14221
  interface ChannelCurrencySetting {
14175
14222
  readonly id: string;
14176
14223
  readonly channel_id: string;
@@ -16850,6 +16897,7 @@ declare namespace io.flow.internal.v0.models {
16850
16897
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
16851
16898
  readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
16852
16899
  readonly details: io.flow.internal.v0.unions.DisputeDetails;
16900
+ readonly issued_at: string;
16853
16901
  readonly expires_at?: string;
16854
16902
  readonly created_at: string;
16855
16903
  }
@@ -23621,6 +23669,9 @@ export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.model
23621
23669
  export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
23622
23670
  export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
23623
23671
  export type Channel = io.flow.internal.v0.models.Channel;
23672
+ export type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
23673
+ export type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
23674
+ export type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
23624
23675
  export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
23625
23676
  export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
23626
23677
  export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
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;
@@ -12727,10 +12762,7 @@ export type CenterVersion = io.flow.v0.models.CenterVersion;
12727
12762
  export type ChangeType = io.flow.v0.enums.ChangeType;
12728
12763
  export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
12729
12764
  export type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
12730
- export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
12731
- export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
12732
12765
  export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
12733
- export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
12734
12766
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
12735
12767
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
12736
12768
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
@@ -13428,6 +13460,8 @@ export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestFor
13428
13460
  export type Payment = io.flow.v0.unions.Payment;
13429
13461
  export type PaymentActionType = io.flow.v0.enums.PaymentActionType;
13430
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;
13431
13465
  export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
13432
13466
  export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
13433
13467
  export type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -13436,6 +13470,8 @@ export type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOption;
13436
13470
  export type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate;
13437
13471
  export type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual;
13438
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;
13439
13475
  export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
13440
13476
  export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
13441
13477
  export type PaymentDiscount = io.flow.v0.models.PaymentDiscount;