@flowio/api-types 0.0.248 → 0.0.250

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.
@@ -26,6 +26,7 @@ declare namespace io.flow.internal.v0.enums {
26
26
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
27
27
  type CarrierValidationStatus = 'success' | 'error';
28
28
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
29
+ type CatalogPublicationOwner = 'shopify' | 'globale';
29
30
  type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
30
31
  type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
31
32
  type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
@@ -9294,6 +9295,7 @@ declare namespace io.flow.internal.v0.models {
9294
9295
  readonly 'price': io.flow.common.v0.models.Price;
9295
9296
  readonly 'hs_code'?: string;
9296
9297
  readonly 'description': string;
9298
+ readonly 'category'?: string;
9297
9299
  readonly 'categories': string[];
9298
9300
  readonly 'images': io.flow.catalog.v0.models.Image[];
9299
9301
  readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
@@ -9339,12 +9341,6 @@ declare namespace io.flow.internal.v0.models {
9339
9341
  readonly 'updated_at': string;
9340
9342
  }
9341
9343
 
9342
- interface RestrictionKeywordMetadata {
9343
- readonly 'keyword': string;
9344
- readonly 'type': io.flow.internal.v0.enums.KeywordType;
9345
- readonly 'count': number;
9346
- }
9347
-
9348
9344
  interface RestrictionKeywords {
9349
9345
  readonly 'positive_keywords': string[];
9350
9346
  readonly 'negative_keywords': string[];
@@ -9371,9 +9367,7 @@ declare namespace io.flow.internal.v0.models {
9371
9367
  readonly 'earliest_pending_date': string;
9372
9368
  readonly 'priority_score': number;
9373
9369
  readonly 'date': string;
9374
- readonly 'statuses': io.flow.internal.v0.models.RestrictionStatusMetadata[];
9375
9370
  readonly 'counts': io.flow.internal.v0.models.RestrictionSummaryCounts;
9376
- readonly 'count': number;
9377
9371
  }
9378
9372
 
9379
9373
  interface RestrictionOrganizationStatus {
@@ -9411,11 +9405,6 @@ declare namespace io.flow.internal.v0.models {
9411
9405
  readonly 'source': io.flow.internal.v0.enums.OrganizationSource;
9412
9406
  }
9413
9407
 
9414
- interface RestrictionPending {
9415
- readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
9416
- readonly 'count': number;
9417
- }
9418
-
9419
9408
  interface RestrictionProduct {
9420
9409
  readonly 'id': string;
9421
9410
  readonly 'organization_id': string;
@@ -9425,6 +9414,7 @@ declare namespace io.flow.internal.v0.models {
9425
9414
  readonly 'item_numbers': string[];
9426
9415
  readonly 'primary_item_number'?: string;
9427
9416
  readonly 'description': string;
9417
+ readonly 'category'?: string;
9428
9418
  readonly 'categories': string[];
9429
9419
  readonly 'images': io.flow.catalog.v0.models.Image[];
9430
9420
  readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
@@ -9554,11 +9544,6 @@ declare namespace io.flow.internal.v0.models {
9554
9544
  readonly 'restriction_rule': io.flow.internal.v0.models.RestrictionRule;
9555
9545
  }
9556
9546
 
9557
- interface RestrictionStatusMetadata {
9558
- readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
9559
- readonly 'count': number;
9560
- }
9561
-
9562
9547
  interface RestrictionSummaryCounts {
9563
9548
  readonly 'pending_restriction_count': number;
9564
9549
  readonly 'pending_verification_count': number;
@@ -9932,6 +9917,10 @@ declare namespace io.flow.internal.v0.models {
9932
9917
  readonly 'shop': io.flow.internal.v0.models.Shop;
9933
9918
  }
9934
9919
 
9920
+ interface ShopifyCatalogPublication {
9921
+ readonly 'owner': io.flow.internal.v0.enums.CatalogPublicationOwner;
9922
+ }
9923
+
9935
9924
  interface ShopifyChannelOrganizationToken {
9936
9925
  readonly 'cleartext': string;
9937
9926
  }
@@ -10362,6 +10351,7 @@ declare namespace io.flow.internal.v0.models {
10362
10351
  interface ShopifyMetadata {
10363
10352
  readonly 'domain': string;
10364
10353
  readonly 'myshopify_domain': string;
10354
+ readonly 'catalog_publication'?: io.flow.internal.v0.models.ShopifyCatalogPublication;
10365
10355
  readonly 'token': string;
10366
10356
  }
10367
10357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-types",
3
- "version": "0.0.248",
3
+ "version": "0.0.250",
4
4
  "description": "Global TypeScript typings for Flow Commerce API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,5 +14,5 @@
14
14
  "scripts": {
15
15
  "generate": "apibuilder update && node scripts/generate-index.js"
16
16
  },
17
- "gitHead": "190ae7774967db79faaab1c6f4ea63dd48a75358"
17
+ "gitHead": "ffe0a20d21d1a048bd484b1693c06bae66208f8f"
18
18
  }