@flowio/types 11.24.114 → 11.24.116
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 +388 -47
- package/dist/api.d.ts +66 -42
- package/package.json +2 -2
- package/src/api-internal.ts +464 -58
- package/src/api.ts +83 -57
package/src/api.ts
CHANGED
|
@@ -4953,6 +4953,8 @@ declare namespace io.flow.merchant.of.record.v0.enums {
|
|
|
4953
4953
|
declare namespace io.flow.tech.onboarding.playground.v0.enums {
|
|
4954
4954
|
type AldoItemType = 'physical' | 'digital';
|
|
4955
4955
|
type AnshItemType = 'physical' | 'digital';
|
|
4956
|
+
type NiallItemType = 'physical' | 'digital';
|
|
4957
|
+
type PrateekItemType = 'physical' | 'digital';
|
|
4956
4958
|
}
|
|
4957
4959
|
|
|
4958
4960
|
declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
@@ -4995,6 +4997,40 @@ declare namespace io.flow.tech.onboarding.playground.v0.models {
|
|
|
4995
4997
|
readonly name: string;
|
|
4996
4998
|
}
|
|
4997
4999
|
|
|
5000
|
+
interface NiallItem {
|
|
5001
|
+
readonly id: string;
|
|
5002
|
+
readonly number: string;
|
|
5003
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
5004
|
+
readonly description?: string;
|
|
5005
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
|
|
5006
|
+
readonly added_on: string;
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
interface NiallItemForm {
|
|
5010
|
+
readonly number: string;
|
|
5011
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
5012
|
+
readonly description?: string;
|
|
5013
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.NiallItemType;
|
|
5014
|
+
readonly added_on: string;
|
|
5015
|
+
}
|
|
5016
|
+
|
|
5017
|
+
interface PrateekItem {
|
|
5018
|
+
readonly id: string;
|
|
5019
|
+
readonly number: string;
|
|
5020
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
5021
|
+
readonly description?: string;
|
|
5022
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
|
|
5023
|
+
readonly added_on: string;
|
|
5024
|
+
}
|
|
5025
|
+
|
|
5026
|
+
interface PrateekItemForm {
|
|
5027
|
+
readonly number: string;
|
|
5028
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
5029
|
+
readonly description?: string;
|
|
5030
|
+
readonly type: io.flow.tech.onboarding.playground.v0.enums.PrateekItemType;
|
|
5031
|
+
readonly added_on: string;
|
|
5032
|
+
}
|
|
5033
|
+
|
|
4998
5034
|
interface TechOnboardingDescription {
|
|
4999
5035
|
readonly description: string;
|
|
5000
5036
|
}
|
|
@@ -6061,7 +6097,11 @@ declare namespace io.flow.query.builder.v0.unions {
|
|
|
6061
6097
|
|
|
6062
6098
|
declare namespace io.flow.sellability.v0.enums {
|
|
6063
6099
|
type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
|
|
6064
|
-
type SellabilityErrorCode =
|
|
6100
|
+
type SellabilityErrorCode =
|
|
6101
|
+
| 'insufficient_details'
|
|
6102
|
+
| 'ineligible_category'
|
|
6103
|
+
| 'wait_for_high_fidelity';
|
|
6104
|
+
type SellabilityRequestStatus = 'commit';
|
|
6065
6105
|
}
|
|
6066
6106
|
|
|
6067
6107
|
declare namespace io.flow.sellability.v0.models {
|
|
@@ -6076,11 +6116,11 @@ declare namespace io.flow.sellability.v0.models {
|
|
|
6076
6116
|
interface ProductSellabilityForm {
|
|
6077
6117
|
readonly shop_id: string;
|
|
6078
6118
|
readonly product_id?: string;
|
|
6079
|
-
readonly request_id: string;
|
|
6080
6119
|
readonly name: string;
|
|
6081
6120
|
readonly price: io.flow.sellability.v0.models.ProductSellabilityPrice;
|
|
6082
6121
|
readonly description: string;
|
|
6083
6122
|
readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
6123
|
+
readonly status?: io.flow.sellability.v0.enums.SellabilityRequestStatus;
|
|
6084
6124
|
}
|
|
6085
6125
|
|
|
6086
6126
|
interface ProductSellabilityPrice {
|
|
@@ -6338,6 +6378,8 @@ declare namespace io.flow.v0.enums {
|
|
|
6338
6378
|
type EventType =
|
|
6339
6379
|
| 'test_upserted'
|
|
6340
6380
|
| 'generate_load'
|
|
6381
|
+
| 'niall_item_upserted'
|
|
6382
|
+
| 'niall_item_deleted'
|
|
6341
6383
|
| 'aldo_item_upserted'
|
|
6342
6384
|
| 'aldo_item_deleted'
|
|
6343
6385
|
| 'ansh_item_upserted'
|
|
@@ -6375,14 +6417,14 @@ declare namespace io.flow.v0.enums {
|
|
|
6375
6417
|
| 'item_inserted'
|
|
6376
6418
|
| 'item_updated'
|
|
6377
6419
|
| 'item_deleted'
|
|
6378
|
-
| 'channel_shopify_order_state_upserted'
|
|
6379
|
-
| 'channel_shopify_order_state_deleted'
|
|
6380
6420
|
| 'channel_upserted'
|
|
6381
6421
|
| 'channel_deleted'
|
|
6382
6422
|
| 'channel_currency_upserted'
|
|
6383
6423
|
| 'channel_currency_deleted'
|
|
6384
6424
|
| 'channel_organization_upserted'
|
|
6385
6425
|
| 'channel_organization_deleted'
|
|
6426
|
+
| 'channel_shopify_order_state_upserted'
|
|
6427
|
+
| 'channel_shopify_order_state_deleted'
|
|
6386
6428
|
| 'b2b_invoice_upserted'
|
|
6387
6429
|
| 'b2b_invoice_deleted'
|
|
6388
6430
|
| 'b2b_credit_memo_upserted'
|
|
@@ -6485,8 +6527,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6485
6527
|
| 'organization_deleted'
|
|
6486
6528
|
| 'organization_upserted_v2'
|
|
6487
6529
|
| 'organization_deleted_v2'
|
|
6488
|
-
| 'organization_default_configurations_upserted'
|
|
6489
|
-
| 'organization_default_configurations_deleted'
|
|
6490
6530
|
| 'ecommerce_platform_upserted'
|
|
6491
6531
|
| 'ecommerce_platform_deleted'
|
|
6492
6532
|
| 'organization_onboarding_state_upserted'
|
|
@@ -6582,7 +6622,6 @@ declare namespace io.flow.v0.enums {
|
|
|
6582
6622
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
6583
6623
|
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
6584
6624
|
type GeCatalogItemIngestionResponse = 'success' | 'failure';
|
|
6585
|
-
type GeEnvironment = 'production' | 'sandbox';
|
|
6586
6625
|
type GeEventType = 'restriction_result' | 'ingestion_result';
|
|
6587
6626
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
6588
6627
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
@@ -10881,7 +10920,7 @@ declare namespace io.flow.v0.models {
|
|
|
10881
10920
|
readonly discriminator: 'ge_catalog_item_ingestion_result';
|
|
10882
10921
|
readonly event_id: string;
|
|
10883
10922
|
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10884
|
-
readonly environment: io.flow.v0.enums.
|
|
10923
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
10885
10924
|
readonly timestamp: string;
|
|
10886
10925
|
readonly source: string;
|
|
10887
10926
|
readonly response: io.flow.v0.enums.GeCatalogItemIngestionResponse;
|
|
@@ -10909,6 +10948,7 @@ declare namespace io.flow.v0.models {
|
|
|
10909
10948
|
readonly ge_hs6_code: string;
|
|
10910
10949
|
readonly product_id: string;
|
|
10911
10950
|
readonly ge_organization_name: string;
|
|
10951
|
+
readonly shipping_origin_country?: string;
|
|
10912
10952
|
}
|
|
10913
10953
|
|
|
10914
10954
|
interface GeInputPrice {
|
|
@@ -10946,7 +10986,7 @@ declare namespace io.flow.v0.models {
|
|
|
10946
10986
|
readonly organization: string;
|
|
10947
10987
|
readonly event_id: string;
|
|
10948
10988
|
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10949
|
-
readonly environment: io.flow.v0.enums.
|
|
10989
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
10950
10990
|
readonly timestamp: string;
|
|
10951
10991
|
readonly id: string;
|
|
10952
10992
|
}
|
|
@@ -10956,7 +10996,7 @@ declare namespace io.flow.v0.models {
|
|
|
10956
10996
|
readonly organization: string;
|
|
10957
10997
|
readonly event_id: string;
|
|
10958
10998
|
readonly event_type: io.flow.v0.enums.GeEventType;
|
|
10959
|
-
readonly environment: io.flow.v0.enums.
|
|
10999
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
10960
11000
|
readonly timestamp: string;
|
|
10961
11001
|
readonly ge_product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
|
|
10962
11002
|
}
|
|
@@ -12386,6 +12426,20 @@ declare namespace io.flow.v0.models {
|
|
|
12386
12426
|
readonly last?: string;
|
|
12387
12427
|
}
|
|
12388
12428
|
|
|
12429
|
+
interface NiallItemDeleted {
|
|
12430
|
+
readonly discriminator: 'niall_item_deleted';
|
|
12431
|
+
readonly event_id: string;
|
|
12432
|
+
readonly timestamp: string;
|
|
12433
|
+
readonly id: string;
|
|
12434
|
+
}
|
|
12435
|
+
|
|
12436
|
+
interface NiallItemUpserted {
|
|
12437
|
+
readonly discriminator: 'niall_item_upserted';
|
|
12438
|
+
readonly event_id: string;
|
|
12439
|
+
readonly timestamp: string;
|
|
12440
|
+
readonly item: io.flow.tech.onboarding.playground.v0.models.NiallItem;
|
|
12441
|
+
}
|
|
12442
|
+
|
|
12389
12443
|
interface NotificationDeletedV2 {
|
|
12390
12444
|
readonly discriminator: 'notification_deleted_v2';
|
|
12391
12445
|
readonly event_id: string;
|
|
@@ -13147,40 +13201,11 @@ declare namespace io.flow.v0.models {
|
|
|
13147
13201
|
readonly last4: string;
|
|
13148
13202
|
}
|
|
13149
13203
|
|
|
13150
|
-
interface OrganizationConfigurationReference {
|
|
13151
|
-
readonly id: string;
|
|
13152
|
-
}
|
|
13153
|
-
|
|
13154
13204
|
interface OrganizationDefaultBankAccount {
|
|
13155
13205
|
readonly id: string;
|
|
13156
13206
|
readonly bank_account: io.flow.v0.models.BankAccountReference;
|
|
13157
13207
|
}
|
|
13158
13208
|
|
|
13159
|
-
interface OrganizationDefaultConfigurations {
|
|
13160
|
-
readonly id: string;
|
|
13161
|
-
readonly checkout_configuration: io.flow.v0.models.OrganizationConfigurationReference;
|
|
13162
|
-
}
|
|
13163
|
-
|
|
13164
|
-
interface OrganizationDefaultConfigurationsDeleted {
|
|
13165
|
-
readonly discriminator: 'organization_default_configurations_deleted';
|
|
13166
|
-
readonly event_id: string;
|
|
13167
|
-
readonly timestamp: string;
|
|
13168
|
-
readonly organization: string;
|
|
13169
|
-
readonly default_configurations: io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
13170
|
-
}
|
|
13171
|
-
|
|
13172
|
-
interface OrganizationDefaultConfigurationsForm {
|
|
13173
|
-
readonly id: string;
|
|
13174
|
-
}
|
|
13175
|
-
|
|
13176
|
-
interface OrganizationDefaultConfigurationsUpserted {
|
|
13177
|
-
readonly discriminator: 'organization_default_configurations_upserted';
|
|
13178
|
-
readonly event_id: string;
|
|
13179
|
-
readonly timestamp: string;
|
|
13180
|
-
readonly organization: string;
|
|
13181
|
-
readonly default_configurations: io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
13182
|
-
}
|
|
13183
|
-
|
|
13184
13209
|
interface OrganizationDefaults {
|
|
13185
13210
|
readonly country: string;
|
|
13186
13211
|
readonly base_currency: string;
|
|
@@ -13467,6 +13492,13 @@ declare namespace io.flow.v0.models {
|
|
|
13467
13492
|
readonly amount: io.flow.v0.models.Money;
|
|
13468
13493
|
}
|
|
13469
13494
|
|
|
13495
|
+
interface OverweightPieceSurchargeServiceFee {
|
|
13496
|
+
readonly discriminator: 'overweight_piece_surcharge_service_fee';
|
|
13497
|
+
readonly weight_threshold?: number;
|
|
13498
|
+
readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
|
|
13499
|
+
readonly amount: io.flow.v0.models.Money;
|
|
13500
|
+
}
|
|
13501
|
+
|
|
13470
13502
|
interface PackageDimensions {
|
|
13471
13503
|
readonly dimensions: io.flow.v0.models.Dimension[];
|
|
13472
13504
|
}
|
|
@@ -15000,6 +15032,7 @@ declare namespace io.flow.v0.models {
|
|
|
15000
15032
|
interface RatecardForm {
|
|
15001
15033
|
readonly direction: io.flow.v0.enums.Direction;
|
|
15002
15034
|
readonly effective_at: string;
|
|
15035
|
+
readonly published_at?: string;
|
|
15003
15036
|
readonly origination_zones: io.flow.v0.models.Zone[];
|
|
15004
15037
|
readonly service: string;
|
|
15005
15038
|
readonly number?: string;
|
|
@@ -17148,11 +17181,10 @@ declare namespace io.flow.v0.models {
|
|
|
17148
17181
|
interface Transfer {
|
|
17149
17182
|
readonly id: string;
|
|
17150
17183
|
readonly type: io.flow.v0.enums.TransferType;
|
|
17151
|
-
readonly
|
|
17152
|
-
readonly transferred_money: io.flow.v0.models.ExchangedMoney;
|
|
17184
|
+
readonly base: io.flow.v0.models.Money;
|
|
17153
17185
|
readonly status: io.flow.v0.enums.TransferStatus;
|
|
17154
17186
|
readonly created_at: string;
|
|
17155
|
-
readonly
|
|
17187
|
+
readonly authorization: io.flow.v0.models.AuthorizationReference;
|
|
17156
17188
|
readonly transferred_at: string;
|
|
17157
17189
|
}
|
|
17158
17190
|
|
|
@@ -17554,6 +17586,8 @@ declare namespace io.flow.v0.unions {
|
|
|
17554
17586
|
type Event =
|
|
17555
17587
|
| io.flow.v0.models.TestUpserted
|
|
17556
17588
|
| io.flow.v0.models.GenerateLoad
|
|
17589
|
+
| io.flow.v0.models.NiallItemUpserted
|
|
17590
|
+
| io.flow.v0.models.NiallItemDeleted
|
|
17557
17591
|
| io.flow.v0.models.AldoItemUpserted
|
|
17558
17592
|
| io.flow.v0.models.AldoItemDeleted
|
|
17559
17593
|
| io.flow.v0.models.AnshItemUpserted
|
|
@@ -17591,14 +17625,14 @@ declare namespace io.flow.v0.unions {
|
|
|
17591
17625
|
| io.flow.v0.models.ItemInserted
|
|
17592
17626
|
| io.flow.v0.models.ItemUpdated
|
|
17593
17627
|
| io.flow.v0.models.ItemDeleted
|
|
17594
|
-
| io.flow.v0.models.ChannelShopifyOrderStateUpserted
|
|
17595
|
-
| io.flow.v0.models.ChannelShopifyOrderStateDeleted
|
|
17596
17628
|
| io.flow.v0.models.ChannelUpserted
|
|
17597
17629
|
| io.flow.v0.models.ChannelDeleted
|
|
17598
17630
|
| io.flow.v0.models.ChannelCurrencyUpserted
|
|
17599
17631
|
| io.flow.v0.models.ChannelCurrencyDeleted
|
|
17600
17632
|
| io.flow.v0.models.ChannelOrganizationUpserted
|
|
17601
17633
|
| io.flow.v0.models.ChannelOrganizationDeleted
|
|
17634
|
+
| io.flow.v0.models.ChannelShopifyOrderStateUpserted
|
|
17635
|
+
| io.flow.v0.models.ChannelShopifyOrderStateDeleted
|
|
17602
17636
|
| io.flow.v0.models.B2BInvoiceUpserted
|
|
17603
17637
|
| io.flow.v0.models.B2BInvoiceDeleted
|
|
17604
17638
|
| io.flow.v0.models.B2BCreditMemoUpserted
|
|
@@ -17701,8 +17735,6 @@ declare namespace io.flow.v0.unions {
|
|
|
17701
17735
|
| io.flow.v0.models.OrganizationDeleted
|
|
17702
17736
|
| io.flow.v0.models.OrganizationUpsertedV2
|
|
17703
17737
|
| io.flow.v0.models.OrganizationDeletedV2
|
|
17704
|
-
| io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
|
|
17705
|
-
| io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
|
|
17706
17738
|
| io.flow.v0.models.EcommercePlatformUpserted
|
|
17707
17739
|
| io.flow.v0.models.EcommercePlatformDeleted
|
|
17708
17740
|
| io.flow.v0.models.OrganizationOnboardingStateUpserted
|
|
@@ -18019,6 +18051,7 @@ declare namespace io.flow.v0.unions {
|
|
|
18019
18051
|
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
18020
18052
|
| io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee
|
|
18021
18053
|
| io.flow.v0.models.OversizePieceSurchargeServiceFee
|
|
18054
|
+
| io.flow.v0.models.OverweightPieceSurchargeServiceFee
|
|
18022
18055
|
| io.flow.v0.models.RemoteAreaByWeightServiceFee
|
|
18023
18056
|
| io.flow.v0.models.AdditionalHandlingServiceFee
|
|
18024
18057
|
| io.flow.v0.models.LargePackageServiceFee
|
|
@@ -18910,7 +18943,6 @@ export type GeCatalogItemIngestionResponse =
|
|
|
18910
18943
|
export type GeCatalogItemIngestionResult =
|
|
18911
18944
|
io.flow.v0.models.GeCatalogItemIngestionResult;
|
|
18912
18945
|
export type GeCatalogItemInput = io.flow.v0.models.GeCatalogItemInput;
|
|
18913
|
-
export type GeEnvironment = io.flow.v0.enums.GeEnvironment;
|
|
18914
18946
|
export type GeEventType = io.flow.v0.enums.GeEventType;
|
|
18915
18947
|
export type GeInputAttributes = io.flow.v0.models.GeInputAttributes;
|
|
18916
18948
|
export type GeInputPrice = io.flow.v0.models.GeInputPrice;
|
|
@@ -19201,6 +19233,8 @@ export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
|
|
|
19201
19233
|
export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
|
|
19202
19234
|
export type Name = io.flow.v0.models.Name;
|
|
19203
19235
|
export type NameForm = io.flow.v0.models.NameForm;
|
|
19236
|
+
export type NiallItemDeleted = io.flow.v0.models.NiallItemDeleted;
|
|
19237
|
+
export type NiallItemUpserted = io.flow.v0.models.NiallItemUpserted;
|
|
19204
19238
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
19205
19239
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
19206
19240
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
@@ -19360,18 +19394,8 @@ export type OrganizationAuthorization =
|
|
|
19360
19394
|
export type OrganizationAuthorizationForm =
|
|
19361
19395
|
io.flow.v0.models.OrganizationAuthorizationForm;
|
|
19362
19396
|
export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
|
|
19363
|
-
export type OrganizationConfigurationReference =
|
|
19364
|
-
io.flow.v0.models.OrganizationConfigurationReference;
|
|
19365
19397
|
export type OrganizationDefaultBankAccount =
|
|
19366
19398
|
io.flow.v0.models.OrganizationDefaultBankAccount;
|
|
19367
|
-
export type OrganizationDefaultConfigurations =
|
|
19368
|
-
io.flow.v0.models.OrganizationDefaultConfigurations;
|
|
19369
|
-
export type OrganizationDefaultConfigurationsDeleted =
|
|
19370
|
-
io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
|
|
19371
|
-
export type OrganizationDefaultConfigurationsForm =
|
|
19372
|
-
io.flow.v0.models.OrganizationDefaultConfigurationsForm;
|
|
19373
|
-
export type OrganizationDefaultConfigurationsUpserted =
|
|
19374
|
-
io.flow.v0.models.OrganizationDefaultConfigurationsUpserted;
|
|
19375
19399
|
export type OrganizationDefaults = io.flow.v0.models.OrganizationDefaults;
|
|
19376
19400
|
export type OrganizationDeleted = io.flow.v0.models.OrganizationDeleted;
|
|
19377
19401
|
export type OrganizationDeletedV2 = io.flow.v0.models.OrganizationDeletedV2;
|
|
@@ -19428,6 +19452,8 @@ export type OversizePieceSurchargeRatecardFee =
|
|
|
19428
19452
|
io.flow.v0.models.OversizePieceSurchargeRatecardFee;
|
|
19429
19453
|
export type OversizePieceSurchargeServiceFee =
|
|
19430
19454
|
io.flow.v0.models.OversizePieceSurchargeServiceFee;
|
|
19455
|
+
export type OverweightPieceSurchargeServiceFee =
|
|
19456
|
+
io.flow.v0.models.OverweightPieceSurchargeServiceFee;
|
|
19431
19457
|
export type PackageDimensions = io.flow.v0.models.PackageDimensions;
|
|
19432
19458
|
export type PackageDimensionsForm = io.flow.v0.models.PackageDimensionsForm;
|
|
19433
19459
|
export type PackageDimensionsSource = io.flow.v0.enums.PackageDimensionsSource;
|