@flowio/api-internal-prop-types 9.24.27 → 9.24.29

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.27",
3
+ "version": "9.24.29",
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": "ff651fefde62162c873a8140da058ee29b956e40"
33
+ "gitHead": "86f7a2871f7d3b7b28a1e7e7d0388487b8d96c06"
34
34
  }
@@ -11561,6 +11561,7 @@ declare namespace io.flow.internal.v0.enums {
11561
11561
  type SubscriptionFrequency = 'yearly' | 'monthly';
11562
11562
  type SuggestionAction = 'accept' | 'validate' | 'review';
11563
11563
  type TariffEligibilityType = 'rex';
11564
+ type TaskProcessorKey = 'billing_account';
11564
11565
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
11565
11566
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
11566
11567
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -20614,6 +20615,14 @@ declare namespace io.flow.internal.v0.models {
20614
20615
  readonly 'category': string;
20615
20616
  }
20616
20617
 
20618
+ interface RestrictionFilter {
20619
+ readonly 'categories': string[];
20620
+ readonly 'users': io.flow.common.v0.models.User[];
20621
+ readonly 'rules': io.flow.internal.v0.models.RestrictionRuleSummary[];
20622
+ readonly 'positive_keywords': string[];
20623
+ readonly 'negative_keywords': string[];
20624
+ }
20625
+
20617
20626
  interface RestrictionHistoryItemReviewDecision {
20618
20627
  readonly 'id': string;
20619
20628
  readonly 'product_restriction_id': string;
@@ -20622,7 +20631,7 @@ declare namespace io.flow.internal.v0.models {
20622
20631
  readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
20623
20632
  readonly 'created_at': string;
20624
20633
  readonly 'updated_at': string;
20625
- readonly 'updated_by': io.flow.common.v0.models.User;
20634
+ readonly 'updated_by'?: io.flow.common.v0.models.User;
20626
20635
  }
20627
20636
 
20628
20637
  interface RestrictionItem {
@@ -22691,6 +22700,7 @@ export const status: PropTypes.Requireable<io.flow.internal.v0.enums.Status>;
22691
22700
  export const subscriptionFrequency: PropTypes.Requireable<io.flow.internal.v0.enums.SubscriptionFrequency>;
22692
22701
  export const suggestionAction: PropTypes.Requireable<io.flow.internal.v0.enums.SuggestionAction>;
22693
22702
  export const tariffEligibilityType: PropTypes.Requireable<io.flow.internal.v0.enums.TariffEligibilityType>;
22703
+ export const taskProcessorKey: PropTypes.Requireable<io.flow.internal.v0.enums.TaskProcessorKey>;
22694
22704
  export const taxCalculationErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.TaxCalculationErrorCode>;
22695
22705
  export const taxParty: PropTypes.Requireable<io.flow.internal.v0.enums.TaxParty>;
22696
22706
  export const timeseriesType: PropTypes.Requireable<io.flow.internal.v0.enums.TimeseriesType>;
@@ -23976,6 +23986,7 @@ export const registeredExporterTariffEligibilityData: PropTypes.Requireable<io.f
23976
23986
  export const registeredExporterTariffEligibilityForm: PropTypes.Requireable<io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm>;
23977
23987
  export const requeueRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.RequeueRequestForm>;
23978
23988
  export const restrictionCategory: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionCategory>;
23989
+ export const restrictionFilter: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionFilter>;
23979
23990
  export const restrictionHistoryItemReviewDecision: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision>;
23980
23991
  export const restrictionItem: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItem>;
23981
23992
  export const restrictionItemReview: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReview>;
@@ -17964,6 +17964,14 @@ T['io.flow.internal.v0.models.restriction_item_review'] = PropTypes.exact({
17964
17964
  updated_at: PropTypes.string.isRequired,
17965
17965
  });
17966
17966
 
17967
+ T['io.flow.internal.v0.models.restriction_filter'] = PropTypes.exact({
17968
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
17969
+ users: PropTypes.arrayOf(T['io.flow.common.v0.models.user']).isRequired,
17970
+ rules: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_rule_summary']).isRequired,
17971
+ positive_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
17972
+ negative_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
17973
+ });
17974
+
17967
17975
  T['io.flow.internal.v0.models.restriction_history_item_review_decision'] = PropTypes.exact({
17968
17976
  id: PropTypes.string.isRequired,
17969
17977
  product_restriction_id: PropTypes.string.isRequired,
@@ -17972,7 +17980,7 @@ T['io.flow.internal.v0.models.restriction_history_item_review_decision'] = PropT
17972
17980
  status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
17973
17981
  created_at: PropTypes.string.isRequired,
17974
17982
  updated_at: PropTypes.string.isRequired,
17975
- updated_by: T['io.flow.common.v0.models.user'].isRequired,
17983
+ updated_by: T['io.flow.common.v0.models.user'],
17976
17984
  });
17977
17985
 
17978
17986
  T['io.flow.internal.v0.models.product_review_history'] = PropTypes.exact({
@@ -24225,6 +24233,7 @@ T['io.flow.internal.v0.enums.statistic_type'] = PropTypes.oneOf([
24225
24233
  ]);
24226
24234
 
24227
24235
  T['io.flow.internal.v0.enums.tariff_eligibility_type'] = PropTypes.oneOf(['rex']);
24236
+ T['io.flow.internal.v0.enums.task_processor_key'] = PropTypes.oneOf(['billing_account']);
24228
24237
  T['io.flow.internal.v0.enums.timeseries_type'] = PropTypes.oneOf(['daily', 'weekly', 'monthly', 'yearly']);
24229
24238
  T['io.flow.internal.v0.enums.tracking_integration_type'] = PropTypes.oneOf(['api', 'bulk', 'aftership']);
24230
24239
 
@@ -27504,6 +27513,7 @@ export const responsibleParty = T['io.flow.internal.v0.enums.responsible_party']
27504
27513
  export const restrictionAction = T['io.flow.internal.v0.enums.restriction_action'];
27505
27514
  export const restrictionCategory = T['io.flow.internal.v0.models.restriction_category'];
27506
27515
  export const restrictionDecision = T['io.flow.internal.v0.enums.restriction_decision'];
27516
+ export const restrictionFilter = T['io.flow.internal.v0.models.restriction_filter'];
27507
27517
  export const restrictionHistoryItemReviewDecision = T['io.flow.internal.v0.models.restriction_history_item_review_decision'];
27508
27518
  export const restrictionItem = T['io.flow.internal.v0.models.restriction_item'];
27509
27519
  export const restrictionItemReview = T['io.flow.internal.v0.models.restriction_item_review'];
@@ -27701,6 +27711,7 @@ export const taskData = T['io.flow.internal.v0.unions.task_data'];
27701
27711
  export const taskImport = T['io.flow.internal.v0.models.task_import'];
27702
27712
  export const taskItemUpserted = T['io.flow.internal.v0.models.task_item_upserted'];
27703
27713
  export const taskProcessQueuedEvent = T['io.flow.internal.v0.models.task_process_queued_event'];
27714
+ export const taskProcessorKey = T['io.flow.internal.v0.enums.task_processor_key'];
27704
27715
  export const taskSummarizeCode = T['io.flow.internal.v0.models.task_summarize_code'];
27705
27716
  export const taxAmount = T['io.flow.internal.v0.unions.tax_amount'];
27706
27717
  export const taxCalculation = T['io.flow.internal.v0.models.tax_calculation'];