@flowio/types 11.24.117 → 11.24.119
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 +9 -18
- package/package.json +2 -2
- package/src/api-internal.ts +12 -23
package/dist/api-internal.d.ts
CHANGED
|
@@ -11989,6 +11989,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11989
11989
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
11990
11990
|
type CarrierValidationStatus = 'success' | 'error';
|
|
11991
11991
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
11992
|
+
type CatalogPublicationOwner = 'shopify' | 'globale';
|
|
11992
11993
|
type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
|
|
11993
11994
|
type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
|
|
11994
11995
|
type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
|
|
@@ -20089,6 +20090,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20089
20090
|
readonly price: io.flow.common.v0.models.Price;
|
|
20090
20091
|
readonly hs_code?: string;
|
|
20091
20092
|
readonly description: string;
|
|
20093
|
+
readonly category?: string;
|
|
20092
20094
|
readonly categories: string[];
|
|
20093
20095
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
20094
20096
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
@@ -20129,11 +20131,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20129
20131
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
20130
20132
|
readonly updated_at: string;
|
|
20131
20133
|
}
|
|
20132
|
-
interface RestrictionKeywordMetadata {
|
|
20133
|
-
readonly keyword: string;
|
|
20134
|
-
readonly type: io.flow.internal.v0.enums.KeywordType;
|
|
20135
|
-
readonly count: number;
|
|
20136
|
-
}
|
|
20137
20134
|
interface RestrictionKeywords {
|
|
20138
20135
|
readonly positive_keywords: string[];
|
|
20139
20136
|
readonly negative_keywords: string[];
|
|
@@ -20158,9 +20155,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20158
20155
|
readonly earliest_pending_date: string;
|
|
20159
20156
|
readonly priority_score: number;
|
|
20160
20157
|
readonly date: string;
|
|
20161
|
-
readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
|
|
20162
20158
|
readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
20163
|
-
readonly count: number;
|
|
20164
20159
|
}
|
|
20165
20160
|
interface RestrictionOrganizationStatus {
|
|
20166
20161
|
readonly id: string;
|
|
@@ -20193,10 +20188,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20193
20188
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
20194
20189
|
readonly source: io.flow.internal.v0.enums.OrganizationSource;
|
|
20195
20190
|
}
|
|
20196
|
-
interface RestrictionPending {
|
|
20197
|
-
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
20198
|
-
readonly count: number;
|
|
20199
|
-
}
|
|
20200
20191
|
interface RestrictionProduct {
|
|
20201
20192
|
readonly id: string;
|
|
20202
20193
|
readonly organization_id: string;
|
|
@@ -20206,6 +20197,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20206
20197
|
readonly item_numbers: string[];
|
|
20207
20198
|
readonly primary_item_number?: string;
|
|
20208
20199
|
readonly description: string;
|
|
20200
|
+
readonly category?: string;
|
|
20209
20201
|
readonly categories: string[];
|
|
20210
20202
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
20211
20203
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
@@ -20319,10 +20311,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20319
20311
|
readonly timestamp: string;
|
|
20320
20312
|
readonly restriction_rule: io.flow.internal.v0.models.RestrictionRule;
|
|
20321
20313
|
}
|
|
20322
|
-
interface RestrictionStatusMetadata {
|
|
20323
|
-
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
20324
|
-
readonly count: number;
|
|
20325
|
-
}
|
|
20326
20314
|
interface RestrictionSummaryCounts {
|
|
20327
20315
|
readonly pending_restriction_count: number;
|
|
20328
20316
|
readonly pending_verification_count: number;
|
|
@@ -20646,6 +20634,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20646
20634
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
20647
20635
|
readonly shop: io.flow.internal.v0.models.Shop;
|
|
20648
20636
|
}
|
|
20637
|
+
interface ShopifyCatalogPublication {
|
|
20638
|
+
readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner;
|
|
20639
|
+
}
|
|
20649
20640
|
interface ShopifyChannelOrganizationToken {
|
|
20650
20641
|
readonly cleartext: string;
|
|
20651
20642
|
}
|
|
@@ -21015,6 +21006,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21015
21006
|
interface ShopifyMetadata {
|
|
21016
21007
|
readonly domain: string;
|
|
21017
21008
|
readonly myshopify_domain: string;
|
|
21009
|
+
readonly catalog_publication?: io.flow.internal.v0.models.ShopifyCatalogPublication;
|
|
21018
21010
|
readonly token: string;
|
|
21019
21011
|
}
|
|
21020
21012
|
interface ShopifyMonitoringCarrierService {
|
|
@@ -22974,6 +22966,7 @@ export declare type CatalogItemIndexTask = io.flow.internal.v0.models.CatalogIte
|
|
|
22974
22966
|
export declare type CatalogItemRegionAvailabilities = io.flow.internal.v0.models.CatalogItemRegionAvailabilities;
|
|
22975
22967
|
export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
|
|
22976
22968
|
export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
22969
|
+
export declare type CatalogPublicationOwner = io.flow.internal.v0.enums.CatalogPublicationOwner;
|
|
22977
22970
|
export declare type CatalogPublicationSyncValidationError = io.flow.internal.v0.models.CatalogPublicationSyncValidationError;
|
|
22978
22971
|
export declare type CatalogSettings = io.flow.internal.v0.models.CatalogSettings;
|
|
22979
22972
|
export declare type CatalogSettingsDeleted = io.flow.internal.v0.models.CatalogSettingsDeleted;
|
|
@@ -24154,7 +24147,6 @@ export declare type RestrictionItemRequestForm = io.flow.internal.v0.models.Rest
|
|
|
24154
24147
|
export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
|
|
24155
24148
|
export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
24156
24149
|
export declare type RestrictionItemReviewSummary = io.flow.internal.v0.models.RestrictionItemReviewSummary;
|
|
24157
|
-
export declare type RestrictionKeywordMetadata = io.flow.internal.v0.models.RestrictionKeywordMetadata;
|
|
24158
24150
|
export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
|
|
24159
24151
|
export declare type RestrictionOrganization = io.flow.internal.v0.models.RestrictionOrganization;
|
|
24160
24152
|
export declare type RestrictionOrganizationChannel = io.flow.internal.v0.enums.RestrictionOrganizationChannel;
|
|
@@ -24164,7 +24156,6 @@ export declare type RestrictionOrganizationStatus = io.flow.internal.v0.models.R
|
|
|
24164
24156
|
export declare type RestrictionOrganizationStatusDeleted = io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted;
|
|
24165
24157
|
export declare type RestrictionOrganizationStatusUpserted = io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted;
|
|
24166
24158
|
export declare type RestrictionOrganizationSummary = io.flow.internal.v0.models.RestrictionOrganizationSummary;
|
|
24167
|
-
export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
24168
24159
|
export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
24169
24160
|
export declare type RestrictionProductDecisionForm = io.flow.internal.v0.models.RestrictionProductDecisionForm;
|
|
24170
24161
|
export declare type RestrictionProductRequestForm = io.flow.internal.v0.models.RestrictionProductRequestForm;
|
|
@@ -24184,7 +24175,6 @@ export declare type RestrictionRuleSummary = io.flow.internal.v0.models.Restrict
|
|
|
24184
24175
|
export declare type RestrictionRuleUpserted = io.flow.internal.v0.models.RestrictionRuleUpserted;
|
|
24185
24176
|
export declare type RestrictionStateReviewStatus = io.flow.internal.v0.enums.RestrictionStateReviewStatus;
|
|
24186
24177
|
export declare type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
|
|
24187
|
-
export declare type RestrictionStatusMetadata = io.flow.internal.v0.models.RestrictionStatusMetadata;
|
|
24188
24178
|
export declare type RestrictionSummaryCounts = io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
24189
24179
|
export declare type RestrictionsDailyops = io.flow.internal.v0.models.RestrictionsDailyops;
|
|
24190
24180
|
export declare type RestrictionsDailyopsDeleted = io.flow.internal.v0.models.RestrictionsDailyopsDeleted;
|
|
@@ -24241,6 +24231,7 @@ export declare type ShippingPricing = io.flow.internal.v0.models.ShippingPricing
|
|
|
24241
24231
|
export declare type Shop = io.flow.internal.v0.models.Shop;
|
|
24242
24232
|
export declare type ShopForm = io.flow.internal.v0.models.ShopForm;
|
|
24243
24233
|
export declare type ShopVersion = io.flow.internal.v0.models.ShopVersion;
|
|
24234
|
+
export declare type ShopifyCatalogPublication = io.flow.internal.v0.models.ShopifyCatalogPublication;
|
|
24244
24235
|
export declare type ShopifyChannelOrganizationToken = io.flow.internal.v0.models.ShopifyChannelOrganizationToken;
|
|
24245
24236
|
export declare type ShopifyChannelOrganizationTokens = io.flow.internal.v0.models.ShopifyChannelOrganizationTokens;
|
|
24246
24237
|
export declare type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.119",
|
|
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": "ffe0a20d21d1a048bd484b1693c06bae66208f8f"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -16490,6 +16490,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16490
16490
|
| 'item_prices'
|
|
16491
16491
|
| 'price_book_items_import'
|
|
16492
16492
|
| 'price_book_items_query_import';
|
|
16493
|
+
type CatalogPublicationOwner = 'shopify' | 'globale';
|
|
16493
16494
|
type ChannelBilledTransactionType =
|
|
16494
16495
|
| 'adjustment'
|
|
16495
16496
|
| 'reversal'
|
|
@@ -26563,6 +26564,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26563
26564
|
readonly price: io.flow.common.v0.models.Price;
|
|
26564
26565
|
readonly hs_code?: string;
|
|
26565
26566
|
readonly description: string;
|
|
26567
|
+
readonly category?: string;
|
|
26566
26568
|
readonly categories: string[];
|
|
26567
26569
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
26568
26570
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
@@ -26608,12 +26610,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26608
26610
|
readonly updated_at: string;
|
|
26609
26611
|
}
|
|
26610
26612
|
|
|
26611
|
-
interface RestrictionKeywordMetadata {
|
|
26612
|
-
readonly keyword: string;
|
|
26613
|
-
readonly type: io.flow.internal.v0.enums.KeywordType;
|
|
26614
|
-
readonly count: number;
|
|
26615
|
-
}
|
|
26616
|
-
|
|
26617
26613
|
interface RestrictionKeywords {
|
|
26618
26614
|
readonly positive_keywords: string[];
|
|
26619
26615
|
readonly negative_keywords: string[];
|
|
@@ -26640,9 +26636,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26640
26636
|
readonly earliest_pending_date: string;
|
|
26641
26637
|
readonly priority_score: number;
|
|
26642
26638
|
readonly date: string;
|
|
26643
|
-
readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
|
|
26644
26639
|
readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
26645
|
-
readonly count: number;
|
|
26646
26640
|
}
|
|
26647
26641
|
|
|
26648
26642
|
interface RestrictionOrganizationStatus {
|
|
@@ -26680,11 +26674,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26680
26674
|
readonly source: io.flow.internal.v0.enums.OrganizationSource;
|
|
26681
26675
|
}
|
|
26682
26676
|
|
|
26683
|
-
interface RestrictionPending {
|
|
26684
|
-
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
26685
|
-
readonly count: number;
|
|
26686
|
-
}
|
|
26687
|
-
|
|
26688
26677
|
interface RestrictionProduct {
|
|
26689
26678
|
readonly id: string;
|
|
26690
26679
|
readonly organization_id: string;
|
|
@@ -26694,6 +26683,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26694
26683
|
readonly item_numbers: string[];
|
|
26695
26684
|
readonly primary_item_number?: string;
|
|
26696
26685
|
readonly description: string;
|
|
26686
|
+
readonly category?: string;
|
|
26697
26687
|
readonly categories: string[];
|
|
26698
26688
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
26699
26689
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
@@ -26823,11 +26813,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26823
26813
|
readonly restriction_rule: io.flow.internal.v0.models.RestrictionRule;
|
|
26824
26814
|
}
|
|
26825
26815
|
|
|
26826
|
-
interface RestrictionStatusMetadata {
|
|
26827
|
-
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
26828
|
-
readonly count: number;
|
|
26829
|
-
}
|
|
26830
|
-
|
|
26831
26816
|
interface RestrictionSummaryCounts {
|
|
26832
26817
|
readonly pending_restriction_count: number;
|
|
26833
26818
|
readonly pending_verification_count: number;
|
|
@@ -27201,6 +27186,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27201
27186
|
readonly shop: io.flow.internal.v0.models.Shop;
|
|
27202
27187
|
}
|
|
27203
27188
|
|
|
27189
|
+
interface ShopifyCatalogPublication {
|
|
27190
|
+
readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner;
|
|
27191
|
+
}
|
|
27192
|
+
|
|
27204
27193
|
interface ShopifyChannelOrganizationToken {
|
|
27205
27194
|
readonly cleartext: string;
|
|
27206
27195
|
}
|
|
@@ -27631,6 +27620,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27631
27620
|
interface ShopifyMetadata {
|
|
27632
27621
|
readonly domain: string;
|
|
27633
27622
|
readonly myshopify_domain: string;
|
|
27623
|
+
readonly catalog_publication?: io.flow.internal.v0.models.ShopifyCatalogPublication;
|
|
27634
27624
|
readonly token: string;
|
|
27635
27625
|
}
|
|
27636
27626
|
|
|
@@ -30575,6 +30565,8 @@ export type CatalogItemRegionAvailabilitiesData =
|
|
|
30575
30565
|
io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData;
|
|
30576
30566
|
export type CatalogItemRegionAvailabilitiesPublished =
|
|
30577
30567
|
io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
30568
|
+
export type CatalogPublicationOwner =
|
|
30569
|
+
io.flow.internal.v0.enums.CatalogPublicationOwner;
|
|
30578
30570
|
export type CatalogPublicationSyncValidationError =
|
|
30579
30571
|
io.flow.internal.v0.models.CatalogPublicationSyncValidationError;
|
|
30580
30572
|
export type CatalogSettings = io.flow.internal.v0.models.CatalogSettings;
|
|
@@ -32509,8 +32501,6 @@ export type RestrictionItemReviewDecisionForm =
|
|
|
32509
32501
|
io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
32510
32502
|
export type RestrictionItemReviewSummary =
|
|
32511
32503
|
io.flow.internal.v0.models.RestrictionItemReviewSummary;
|
|
32512
|
-
export type RestrictionKeywordMetadata =
|
|
32513
|
-
io.flow.internal.v0.models.RestrictionKeywordMetadata;
|
|
32514
32504
|
export type RestrictionKeywords =
|
|
32515
32505
|
io.flow.internal.v0.models.RestrictionKeywords;
|
|
32516
32506
|
export type RestrictionOrganization =
|
|
@@ -32529,7 +32519,6 @@ export type RestrictionOrganizationStatusUpserted =
|
|
|
32529
32519
|
io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted;
|
|
32530
32520
|
export type RestrictionOrganizationSummary =
|
|
32531
32521
|
io.flow.internal.v0.models.RestrictionOrganizationSummary;
|
|
32532
|
-
export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
32533
32522
|
export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
32534
32523
|
export type RestrictionProductDecisionForm =
|
|
32535
32524
|
io.flow.internal.v0.models.RestrictionProductDecisionForm;
|
|
@@ -32565,8 +32554,6 @@ export type RestrictionRuleUpserted =
|
|
|
32565
32554
|
export type RestrictionStateReviewStatus =
|
|
32566
32555
|
io.flow.internal.v0.enums.RestrictionStateReviewStatus;
|
|
32567
32556
|
export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
|
|
32568
|
-
export type RestrictionStatusMetadata =
|
|
32569
|
-
io.flow.internal.v0.models.RestrictionStatusMetadata;
|
|
32570
32557
|
export type RestrictionSummaryCounts =
|
|
32571
32558
|
io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
32572
32559
|
export type RestrictionsDailyops =
|
|
@@ -32647,6 +32634,8 @@ export type ShippingPricing = io.flow.internal.v0.models.ShippingPricing;
|
|
|
32647
32634
|
export type Shop = io.flow.internal.v0.models.Shop;
|
|
32648
32635
|
export type ShopForm = io.flow.internal.v0.models.ShopForm;
|
|
32649
32636
|
export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
|
|
32637
|
+
export type ShopifyCatalogPublication =
|
|
32638
|
+
io.flow.internal.v0.models.ShopifyCatalogPublication;
|
|
32650
32639
|
export type ShopifyChannelOrganizationToken =
|
|
32651
32640
|
io.flow.internal.v0.models.ShopifyChannelOrganizationToken;
|
|
32652
32641
|
export type ShopifyChannelOrganizationTokens =
|