@flowio/types 11.19.25 → 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.
- package/dist/api-internal.d.ts +16 -0
- package/dist/api.d.ts +50 -19
- package/package.json +2 -2
- package/src/api-internal.ts +20 -0
- package/src/api.ts +59 -23
package/dist/api-internal.d.ts
CHANGED
|
@@ -9327,6 +9327,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9327
9327
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
9328
9328
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
9329
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';
|
|
9330
9331
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
9331
9332
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
9332
9333
|
type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
|
|
@@ -10549,6 +10550,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10549
10550
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
10550
10551
|
readonly organization_id_prefix?: string;
|
|
10551
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
|
+
}
|
|
10552
10564
|
interface ChannelCurrencySetting {
|
|
10553
10565
|
readonly id: string;
|
|
10554
10566
|
readonly channel_id: string;
|
|
@@ -12763,6 +12775,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12763
12775
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
12764
12776
|
readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
|
|
12765
12777
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
12778
|
+
readonly issued_at: string;
|
|
12766
12779
|
readonly expires_at?: string;
|
|
12767
12780
|
readonly created_at: string;
|
|
12768
12781
|
}
|
|
@@ -18123,6 +18136,9 @@ export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.
|
|
|
18123
18136
|
export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
18124
18137
|
export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
18125
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;
|
|
18126
18142
|
export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
18127
18143
|
export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
18128
18144
|
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.
|
|
6370
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
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.
|
|
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
|
|
6924
|
-
readonly
|
|
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.
|
|
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": "
|
|
28
|
+
"gitHead": "2a4fb8a801d7d1cf5c382b10917cd11f718b2bf6"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -12188,6 +12188,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12188
12188
|
| 'item_prices'
|
|
12189
12189
|
| 'price_book_items_import'
|
|
12190
12190
|
| 'price_book_items_query_import';
|
|
12191
|
+
type ChannelCurrencyCapability =
|
|
12192
|
+
| 'payment_authorizations'
|
|
12193
|
+
| 'settlement_currency';
|
|
12191
12194
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
12192
12195
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
12193
12196
|
type CheckoutAddAuthorizationErrorCode =
|
|
@@ -14171,6 +14174,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14171
14174
|
readonly organization_id_prefix?: string;
|
|
14172
14175
|
}
|
|
14173
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
|
+
|
|
14174
14190
|
interface ChannelCurrencySetting {
|
|
14175
14191
|
readonly id: string;
|
|
14176
14192
|
readonly channel_id: string;
|
|
@@ -16850,6 +16866,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16850
16866
|
readonly status: io.flow.internal.v0.enums.DisputeStatus;
|
|
16851
16867
|
readonly liability?: io.flow.internal.v0.enums.DisputeLiability;
|
|
16852
16868
|
readonly details: io.flow.internal.v0.unions.DisputeDetails;
|
|
16869
|
+
readonly issued_at: string;
|
|
16853
16870
|
readonly expires_at?: string;
|
|
16854
16871
|
readonly created_at: string;
|
|
16855
16872
|
}
|
|
@@ -23621,6 +23638,9 @@ export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.model
|
|
|
23621
23638
|
export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
23622
23639
|
export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
23623
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;
|
|
23624
23644
|
export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
23625
23645
|
export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
23626
23646
|
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.
|
|
8233
|
-
readonly shipping_address?: io.flow.v0.models.
|
|
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.
|
|
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
|
|
8876
|
-
readonly
|
|
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;
|