@flowio/api-internal-prop-types 9.24.116 → 9.24.118

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "9.24.116",
3
+ "version": "9.24.118",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "prop-types": "^15.7.0"
32
32
  },
33
- "gitHead": "190ae7774967db79faaab1c6f4ea63dd48a75358"
33
+ "gitHead": "ffe0a20d21d1a048bd484b1693c06bae66208f8f"
34
34
  }
@@ -13781,6 +13781,7 @@ declare namespace io.flow.internal.v0.enums {
13781
13781
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
13782
13782
  type CarrierValidationStatus = 'success' | 'error';
13783
13783
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
13784
+ type CatalogPublicationOwner = 'shopify' | 'globale';
13784
13785
  type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
13785
13786
  type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
13786
13787
  type ChannelOrderAcceptanceFailureReasonCode = 'channel_order_mor_invalid' | 'channel_order_does_not_exist';
@@ -23049,6 +23050,7 @@ declare namespace io.flow.internal.v0.models {
23049
23050
  readonly 'price': io.flow.common.v0.models.Price;
23050
23051
  readonly 'hs_code'?: string;
23051
23052
  readonly 'description': string;
23053
+ readonly 'category'?: string;
23052
23054
  readonly 'categories': string[];
23053
23055
  readonly 'images': io.flow.catalog.v0.models.Image[];
23054
23056
  readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
@@ -23094,12 +23096,6 @@ declare namespace io.flow.internal.v0.models {
23094
23096
  readonly 'updated_at': string;
23095
23097
  }
23096
23098
 
23097
- interface RestrictionKeywordMetadata {
23098
- readonly 'keyword': string;
23099
- readonly 'type': io.flow.internal.v0.enums.KeywordType;
23100
- readonly 'count': number;
23101
- }
23102
-
23103
23099
  interface RestrictionKeywords {
23104
23100
  readonly 'positive_keywords': string[];
23105
23101
  readonly 'negative_keywords': string[];
@@ -23126,9 +23122,7 @@ declare namespace io.flow.internal.v0.models {
23126
23122
  readonly 'earliest_pending_date': string;
23127
23123
  readonly 'priority_score': number;
23128
23124
  readonly 'date': string;
23129
- readonly 'statuses': io.flow.internal.v0.models.RestrictionStatusMetadata[];
23130
23125
  readonly 'counts': io.flow.internal.v0.models.RestrictionSummaryCounts;
23131
- readonly 'count': number;
23132
23126
  }
23133
23127
 
23134
23128
  interface RestrictionOrganizationStatus {
@@ -23166,11 +23160,6 @@ declare namespace io.flow.internal.v0.models {
23166
23160
  readonly 'source': io.flow.internal.v0.enums.OrganizationSource;
23167
23161
  }
23168
23162
 
23169
- interface RestrictionPending {
23170
- readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
23171
- readonly 'count': number;
23172
- }
23173
-
23174
23163
  interface RestrictionProduct {
23175
23164
  readonly 'id': string;
23176
23165
  readonly 'organization_id': string;
@@ -23180,6 +23169,7 @@ declare namespace io.flow.internal.v0.models {
23180
23169
  readonly 'item_numbers': string[];
23181
23170
  readonly 'primary_item_number'?: string;
23182
23171
  readonly 'description': string;
23172
+ readonly 'category'?: string;
23183
23173
  readonly 'categories': string[];
23184
23174
  readonly 'images': io.flow.catalog.v0.models.Image[];
23185
23175
  readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
@@ -23309,11 +23299,6 @@ declare namespace io.flow.internal.v0.models {
23309
23299
  readonly 'restriction_rule': io.flow.internal.v0.models.RestrictionRule;
23310
23300
  }
23311
23301
 
23312
- interface RestrictionStatusMetadata {
23313
- readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
23314
- readonly 'count': number;
23315
- }
23316
-
23317
23302
  interface RestrictionSummaryCounts {
23318
23303
  readonly 'pending_restriction_count': number;
23319
23304
  readonly 'pending_verification_count': number;
@@ -23687,6 +23672,10 @@ declare namespace io.flow.internal.v0.models {
23687
23672
  readonly 'shop': io.flow.internal.v0.models.Shop;
23688
23673
  }
23689
23674
 
23675
+ interface ShopifyCatalogPublication {
23676
+ readonly 'owner': io.flow.internal.v0.enums.CatalogPublicationOwner;
23677
+ }
23678
+
23690
23679
  interface ShopifyChannelOrganizationToken {
23691
23680
  readonly 'cleartext': string;
23692
23681
  }
@@ -24117,6 +24106,7 @@ declare namespace io.flow.internal.v0.models {
24117
24106
  interface ShopifyMetadata {
24118
24107
  readonly 'domain': string;
24119
24108
  readonly 'myshopify_domain': string;
24109
+ readonly 'catalog_publication'?: io.flow.internal.v0.models.ShopifyCatalogPublication;
24120
24110
  readonly 'token': string;
24121
24111
  }
24122
24112
 
@@ -26110,6 +26100,7 @@ export const carrierFileType: PropTypes.Requireable<io.flow.internal.v0.enums.Ca
26110
26100
  export const carrierLabelGenerationMethod: PropTypes.Requireable<io.flow.internal.v0.enums.CarrierLabelGenerationMethod>;
26111
26101
  export const carrierValidationStatus: PropTypes.Requireable<io.flow.internal.v0.enums.CarrierValidationStatus>;
26112
26102
  export const catalogImportType: PropTypes.Requireable<io.flow.internal.v0.enums.CatalogImportType>;
26103
+ export const catalogPublicationOwner: PropTypes.Requireable<io.flow.internal.v0.enums.CatalogPublicationOwner>;
26113
26104
  export const channelBilledTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelBilledTransactionType>;
26114
26105
  export const channelOrderAcceptanceErrorAction: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction>;
26115
26106
  export const channelOrderAcceptanceFailureReasonCode: PropTypes.Requireable<io.flow.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode>;
@@ -27492,7 +27483,6 @@ export const restrictionItemRequestForm: PropTypes.Requireable<io.flow.internal.
27492
27483
  export const restrictionItemReview: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReview>;
27493
27484
  export const restrictionItemReviewDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReviewDecisionForm>;
27494
27485
  export const restrictionItemReviewSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReviewSummary>;
27495
- export const restrictionKeywordMetadata: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionKeywordMetadata>;
27496
27486
  export const restrictionKeywords: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionKeywords>;
27497
27487
  export const restrictionOrganization: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganization>;
27498
27488
  export const restrictionOrganizationDecisionSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary>;
@@ -27500,7 +27490,6 @@ export const restrictionOrganizationStatus: PropTypes.Requireable<io.flow.intern
27500
27490
  export const restrictionOrganizationStatusDeleted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted>;
27501
27491
  export const restrictionOrganizationStatusUpserted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted>;
27502
27492
  export const restrictionOrganizationSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionOrganizationSummary>;
27503
- export const restrictionPending: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionPending>;
27504
27493
  export const restrictionProduct: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProduct>;
27505
27494
  export const restrictionProductDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProductDecisionForm>;
27506
27495
  export const restrictionProductRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProductRequestForm>;
@@ -27517,7 +27506,6 @@ export const restrictionRuleLaneExemption: PropTypes.Requireable<io.flow.interna
27517
27506
  export const restrictionRuleOverride: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRuleOverride>;
27518
27507
  export const restrictionRuleSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRuleSummary>;
27519
27508
  export const restrictionRuleUpserted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRuleUpserted>;
27520
- export const restrictionStatusMetadata: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionStatusMetadata>;
27521
27509
  export const restrictionSummaryCounts: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionSummaryCounts>;
27522
27510
  export const restrictionsDailyops: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionsDailyops>;
27523
27511
  export const restrictionsDailyopsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionsDailyopsDeleted>;
@@ -27568,6 +27556,7 @@ export const shippingPricing: PropTypes.Requireable<io.flow.internal.v0.models.S
27568
27556
  export const shop: PropTypes.Requireable<io.flow.internal.v0.models.Shop>;
27569
27557
  export const shopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopForm>;
27570
27558
  export const shopVersion: PropTypes.Requireable<io.flow.internal.v0.models.ShopVersion>;
27559
+ export const shopifyCatalogPublication: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCatalogPublication>;
27571
27560
  export const shopifyChannelOrganizationToken: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyChannelOrganizationToken>;
27572
27561
  export const shopifyChannelOrganizationTokens: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyChannelOrganizationTokens>;
27573
27562
  export const shopifyCheckInventoryError: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyCheckInventoryError>;
@@ -10882,6 +10882,7 @@ T['io.flow.internal.v0.models.shopify_check_inventory_error'] = PropTypes.exact(
10882
10882
  numbers: PropTypes.arrayOf(PropTypes.string),
10883
10883
  });
10884
10884
 
10885
+ T['io.flow.internal.v0.enums.catalog_publication_owner'] = PropTypes.oneOf(['shopify', 'globale']);
10885
10886
  T['io.flow.fulfillment.v0.enums.ratecard_owner'] = PropTypes.oneOf(['flow', 'organization']);
10886
10887
 
10887
10888
  T['io.flow.ratecard.v0.models.ratecard_summary'] = PropTypes.exact({
@@ -11230,14 +11231,6 @@ T['io.flow.internal.v0.models.restriction_summary_counts'] = PropTypes.exact({
11230
11231
  pending_verification_count: PropTypes.number.isRequired,
11231
11232
  });
11232
11233
 
11233
- T['io.flow.internal.v0.enums.keyword_type'] = PropTypes.oneOf(['positive', 'negative']);
11234
-
11235
- T['io.flow.internal.v0.models.restriction_keyword_metadata'] = PropTypes.exact({
11236
- keyword: PropTypes.string.isRequired,
11237
- type: T['io.flow.internal.v0.enums.keyword_type'].isRequired,
11238
- count: PropTypes.number.isRequired,
11239
- });
11240
-
11241
11234
  T['io.flow.internal.v0.enums.restriction_decision'] = PropTypes.oneOf(['accept', 'escalate', 'reject', 'review']);
11242
11235
 
11243
11236
  T['io.flow.internal.v0.models.restriction_rule_decision_form'] = PropTypes.exact({
@@ -11658,11 +11651,6 @@ T['io.flow.internal.v0.models.restriction_rule_summary'] = PropTypes.exact({
11658
11651
  description: PropTypes.string.isRequired,
11659
11652
  });
11660
11653
 
11661
- T['io.flow.internal.v0.models.restriction_pending'] = PropTypes.exact({
11662
- rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
11663
- count: PropTypes.number.isRequired,
11664
- });
11665
-
11666
11654
  T['io.flow.internal.v0.enums.restriction_state_review_status'] = PropTypes.oneOf(['reviewed', 'in_review']);
11667
11655
 
11668
11656
  T['io.flow.internal.v0.models.product_restriction_state'] = PropTypes.exact({
@@ -17485,9 +17473,14 @@ T['io.flow.internal.v0.models.transaction_reference'] = PropTypes.exact({
17485
17473
  id: PropTypes.string.isRequired,
17486
17474
  });
17487
17475
 
17476
+ T['io.flow.internal.v0.models.shopify_catalog_publication'] = PropTypes.exact({
17477
+ owner: T['io.flow.internal.v0.enums.catalog_publication_owner'].isRequired,
17478
+ });
17479
+
17488
17480
  T['io.flow.internal.v0.models.shopify_metadata'] = PropTypes.exact({
17489
17481
  domain: PropTypes.string.isRequired,
17490
17482
  myshopify_domain: PropTypes.string.isRequired,
17483
+ catalog_publication: T['io.flow.internal.v0.models.shopify_catalog_publication'],
17491
17484
  token: PropTypes.string.isRequired,
17492
17485
  });
17493
17486
 
@@ -19844,11 +19837,6 @@ T['io.flow.internal.v0.models.debug_banking_details'] = PropTypes.exact({
19844
19837
 
19845
19838
  T['io.flow.internal.v0.enums.restriction_status'] = PropTypes.oneOf(['pending', 'in_review', 'escalated', 'accepted', 'restricted']);
19846
19839
 
19847
- T['io.flow.internal.v0.models.restriction_status_metadata'] = PropTypes.exact({
19848
- status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
19849
- count: PropTypes.number.isRequired,
19850
- });
19851
-
19852
19840
  T['io.flow.internal.v0.models.restriction_item_review_summary'] = PropTypes.exact({
19853
19841
  rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
19854
19842
  status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
@@ -22850,9 +22838,7 @@ T['io.flow.internal.v0.models.restriction_organization_decision_summary'] = Prop
22850
22838
  earliest_pending_date: PropTypes.string.isRequired,
22851
22839
  priority_score: PropTypes.number.isRequired,
22852
22840
  date: PropTypes.string.isRequired,
22853
- statuses: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_status_metadata']).isRequired,
22854
22841
  counts: T['io.flow.internal.v0.models.restriction_summary_counts'].isRequired,
22855
- count: PropTypes.number.isRequired,
22856
22842
  });
22857
22843
 
22858
22844
  T['io.flow.internal.v0.models.liability_money'] = PropTypes.exact({
@@ -24789,6 +24775,7 @@ T['io.flow.internal.v0.models.restriction_product'] = PropTypes.exact({
24789
24775
  item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
24790
24776
  primary_item_number: PropTypes.string,
24791
24777
  description: PropTypes.string.isRequired,
24778
+ category: PropTypes.string,
24792
24779
  categories: PropTypes.arrayOf(PropTypes.string).isRequired,
24793
24780
  images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
24794
24781
  thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
@@ -24810,6 +24797,7 @@ T['io.flow.internal.v0.models.restriction_item'] = PropTypes.exact({
24810
24797
  price: T['io.flow.common.v0.models.price'].isRequired,
24811
24798
  hs_code: PropTypes.string,
24812
24799
  description: PropTypes.string.isRequired,
24800
+ category: PropTypes.string,
24813
24801
  categories: PropTypes.arrayOf(PropTypes.string).isRequired,
24814
24802
  images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
24815
24803
  thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
@@ -28014,6 +28002,7 @@ T['io.flow.internal.v0.enums.graphql_service_types'] = PropTypes.oneOf([
28014
28002
  ]);
28015
28003
 
28016
28004
  T['io.flow.internal.v0.enums.http_method'] = PropTypes.oneOf(['get', 'post']);
28005
+ T['io.flow.internal.v0.enums.keyword_type'] = PropTypes.oneOf(['positive', 'negative']);
28017
28006
  T['io.flow.internal.v0.enums.label_billing_strategy'] = PropTypes.oneOf(['quote', 'carrier']);
28018
28007
  T['io.flow.internal.v0.enums.label_request_result_organization_type'] = PropTypes.oneOf(['all', 'legacy_production', 'managed_markets_production', 'sandbox']);
28019
28008
  T['io.flow.internal.v0.enums.label_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']);
@@ -30652,6 +30641,7 @@ export const catalogItemIndexTask = T['io.flow.internal.v0.models.catalog_item_i
30652
30641
  export const catalogItemRegionAvailabilities = T['io.flow.internal.v0.models.catalog_item_region_availabilities'];
30653
30642
  export const catalogItemRegionAvailabilitiesData = T['io.flow.internal.v0.models.catalog_item_region_availabilities_data'];
30654
30643
  export const catalogItemRegionAvailabilitiesPublished = T['io.flow.internal.v0.models.catalog_item_region_availabilities_published'];
30644
+ export const catalogPublicationOwner = T['io.flow.internal.v0.enums.catalog_publication_owner'];
30655
30645
  export const catalogPublicationSyncValidationError = T['io.flow.internal.v0.models.catalog_publication_sync_validation_error'];
30656
30646
  export const catalogSettings = T['io.flow.internal.v0.models.catalog_settings'];
30657
30647
  export const catalogSettingsDeleted = T['io.flow.internal.v0.models.catalog_settings_deleted'];
@@ -31832,7 +31822,6 @@ export const restrictionItemRequestForm = T['io.flow.internal.v0.models.restrict
31832
31822
  export const restrictionItemReview = T['io.flow.internal.v0.models.restriction_item_review'];
31833
31823
  export const restrictionItemReviewDecisionForm = T['io.flow.internal.v0.models.restriction_item_review_decision_form'];
31834
31824
  export const restrictionItemReviewSummary = T['io.flow.internal.v0.models.restriction_item_review_summary'];
31835
- export const restrictionKeywordMetadata = T['io.flow.internal.v0.models.restriction_keyword_metadata'];
31836
31825
  export const restrictionKeywords = T['io.flow.internal.v0.models.restriction_keywords'];
31837
31826
  export const restrictionOrganization = T['io.flow.internal.v0.models.restriction_organization'];
31838
31827
  export const restrictionOrganizationChannel = T['io.flow.internal.v0.enums.restriction_organization_channel'];
@@ -31842,7 +31831,6 @@ export const restrictionOrganizationStatus = T['io.flow.internal.v0.models.restr
31842
31831
  export const restrictionOrganizationStatusDeleted = T['io.flow.internal.v0.models.restriction_organization_status_deleted'];
31843
31832
  export const restrictionOrganizationStatusUpserted = T['io.flow.internal.v0.models.restriction_organization_status_upserted'];
31844
31833
  export const restrictionOrganizationSummary = T['io.flow.internal.v0.models.restriction_organization_summary'];
31845
- export const restrictionPending = T['io.flow.internal.v0.models.restriction_pending'];
31846
31834
  export const restrictionProduct = T['io.flow.internal.v0.models.restriction_product'];
31847
31835
  export const restrictionProductDecisionForm = T['io.flow.internal.v0.models.restriction_product_decision_form'];
31848
31836
  export const restrictionProductRequestForm = T['io.flow.internal.v0.models.restriction_product_request_form'];
@@ -31862,7 +31850,6 @@ export const restrictionRuleSummary = T['io.flow.internal.v0.models.restriction_
31862
31850
  export const restrictionRuleUpserted = T['io.flow.internal.v0.models.restriction_rule_upserted'];
31863
31851
  export const restrictionStateReviewStatus = T['io.flow.internal.v0.enums.restriction_state_review_status'];
31864
31852
  export const restrictionStatus = T['io.flow.internal.v0.enums.restriction_status'];
31865
- export const restrictionStatusMetadata = T['io.flow.internal.v0.models.restriction_status_metadata'];
31866
31853
  export const restrictionSummaryCounts = T['io.flow.internal.v0.models.restriction_summary_counts'];
31867
31854
  export const restrictionsDailyops = T['io.flow.internal.v0.models.restrictions_dailyops'];
31868
31855
  export const restrictionsDailyopsDeleted = T['io.flow.internal.v0.models.restrictions_dailyops_deleted'];
@@ -31919,6 +31906,7 @@ export const shippingPricing = T['io.flow.internal.v0.models.shipping_pricing'];
31919
31906
  export const shop = T['io.flow.internal.v0.models.shop'];
31920
31907
  export const shopForm = T['io.flow.internal.v0.models.shop_form'];
31921
31908
  export const shopVersion = T['io.flow.internal.v0.models.shop_version'];
31909
+ export const shopifyCatalogPublication = T['io.flow.internal.v0.models.shopify_catalog_publication'];
31922
31910
  export const shopifyChannelOrganizationToken = T['io.flow.internal.v0.models.shopify_channel_organization_token'];
31923
31911
  export const shopifyChannelOrganizationTokens = T['io.flow.internal.v0.models.shopify_channel_organization_tokens'];
31924
31912
  export const shopifyCheckInventoryError = T['io.flow.internal.v0.models.shopify_check_inventory_error'];