@flowio/types 11.24.115 → 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/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 = 'insufficient_details' | 'ineligible_category';
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.GeEnvironment;
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.GeEnvironment;
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.GeEnvironment;
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;
@@ -17156,11 +17181,10 @@ declare namespace io.flow.v0.models {
17156
17181
  interface Transfer {
17157
17182
  readonly id: string;
17158
17183
  readonly type: io.flow.v0.enums.TransferType;
17159
- readonly money: io.flow.v0.models.Money;
17160
- readonly transferred_money: io.flow.v0.models.ExchangedMoney;
17184
+ readonly base: io.flow.v0.models.Money;
17161
17185
  readonly status: io.flow.v0.enums.TransferStatus;
17162
17186
  readonly created_at: string;
17163
- readonly reference: io.flow.v0.unions.TransferReference;
17187
+ readonly authorization: io.flow.v0.models.AuthorizationReference;
17164
17188
  readonly transferred_at: string;
17165
17189
  }
17166
17190
 
@@ -17562,6 +17586,8 @@ declare namespace io.flow.v0.unions {
17562
17586
  type Event =
17563
17587
  | io.flow.v0.models.TestUpserted
17564
17588
  | io.flow.v0.models.GenerateLoad
17589
+ | io.flow.v0.models.NiallItemUpserted
17590
+ | io.flow.v0.models.NiallItemDeleted
17565
17591
  | io.flow.v0.models.AldoItemUpserted
17566
17592
  | io.flow.v0.models.AldoItemDeleted
17567
17593
  | io.flow.v0.models.AnshItemUpserted
@@ -17599,14 +17625,14 @@ declare namespace io.flow.v0.unions {
17599
17625
  | io.flow.v0.models.ItemInserted
17600
17626
  | io.flow.v0.models.ItemUpdated
17601
17627
  | io.flow.v0.models.ItemDeleted
17602
- | io.flow.v0.models.ChannelShopifyOrderStateUpserted
17603
- | io.flow.v0.models.ChannelShopifyOrderStateDeleted
17604
17628
  | io.flow.v0.models.ChannelUpserted
17605
17629
  | io.flow.v0.models.ChannelDeleted
17606
17630
  | io.flow.v0.models.ChannelCurrencyUpserted
17607
17631
  | io.flow.v0.models.ChannelCurrencyDeleted
17608
17632
  | io.flow.v0.models.ChannelOrganizationUpserted
17609
17633
  | io.flow.v0.models.ChannelOrganizationDeleted
17634
+ | io.flow.v0.models.ChannelShopifyOrderStateUpserted
17635
+ | io.flow.v0.models.ChannelShopifyOrderStateDeleted
17610
17636
  | io.flow.v0.models.B2BInvoiceUpserted
17611
17637
  | io.flow.v0.models.B2BInvoiceDeleted
17612
17638
  | io.flow.v0.models.B2BCreditMemoUpserted
@@ -17709,8 +17735,6 @@ declare namespace io.flow.v0.unions {
17709
17735
  | io.flow.v0.models.OrganizationDeleted
17710
17736
  | io.flow.v0.models.OrganizationUpsertedV2
17711
17737
  | io.flow.v0.models.OrganizationDeletedV2
17712
- | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
17713
- | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
17714
17738
  | io.flow.v0.models.EcommercePlatformUpserted
17715
17739
  | io.flow.v0.models.EcommercePlatformDeleted
17716
17740
  | io.flow.v0.models.OrganizationOnboardingStateUpserted
@@ -18919,7 +18943,6 @@ export type GeCatalogItemIngestionResponse =
18919
18943
  export type GeCatalogItemIngestionResult =
18920
18944
  io.flow.v0.models.GeCatalogItemIngestionResult;
18921
18945
  export type GeCatalogItemInput = io.flow.v0.models.GeCatalogItemInput;
18922
- export type GeEnvironment = io.flow.v0.enums.GeEnvironment;
18923
18946
  export type GeEventType = io.flow.v0.enums.GeEventType;
18924
18947
  export type GeInputAttributes = io.flow.v0.models.GeInputAttributes;
18925
18948
  export type GeInputPrice = io.flow.v0.models.GeInputPrice;
@@ -19210,6 +19233,8 @@ export type MonthlyAverage = io.flow.v0.models.MonthlyAverage;
19210
19233
  export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume;
19211
19234
  export type Name = io.flow.v0.models.Name;
19212
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;
19213
19238
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
19214
19239
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
19215
19240
  export type NumberRange = io.flow.v0.models.NumberRange;
@@ -19369,18 +19394,8 @@ export type OrganizationAuthorization =
19369
19394
  export type OrganizationAuthorizationForm =
19370
19395
  io.flow.v0.models.OrganizationAuthorizationForm;
19371
19396
  export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount;
19372
- export type OrganizationConfigurationReference =
19373
- io.flow.v0.models.OrganizationConfigurationReference;
19374
19397
  export type OrganizationDefaultBankAccount =
19375
19398
  io.flow.v0.models.OrganizationDefaultBankAccount;
19376
- export type OrganizationDefaultConfigurations =
19377
- io.flow.v0.models.OrganizationDefaultConfigurations;
19378
- export type OrganizationDefaultConfigurationsDeleted =
19379
- io.flow.v0.models.OrganizationDefaultConfigurationsDeleted;
19380
- export type OrganizationDefaultConfigurationsForm =
19381
- io.flow.v0.models.OrganizationDefaultConfigurationsForm;
19382
- export type OrganizationDefaultConfigurationsUpserted =
19383
- io.flow.v0.models.OrganizationDefaultConfigurationsUpserted;
19384
19399
  export type OrganizationDefaults = io.flow.v0.models.OrganizationDefaults;
19385
19400
  export type OrganizationDeleted = io.flow.v0.models.OrganizationDeleted;
19386
19401
  export type OrganizationDeletedV2 = io.flow.v0.models.OrganizationDeletedV2;