@flowio/api-prop-types 10.16.64 → 10.16.65

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-prop-types",
3
- "version": "10.16.64",
3
+ "version": "10.16.65",
4
4
  "description": "PropType validators that work with Flow API",
5
5
  "keywords": [
6
6
  "flow",
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "prop-types": "^15.7.0"
31
31
  },
32
- "gitHead": "69a80797baeb34690859818e5db7ef87aa6082a5"
32
+ "gitHead": "2430172d05199bd940ad6b8a39eaf47a9efcea8c"
33
33
  }
package/src/api.d.ts CHANGED
@@ -2228,7 +2228,7 @@ declare namespace io.flow.v0.enums {
2228
2228
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
2229
2229
  type PriceFacetBoundary = 'min' | 'max';
2230
2230
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
2231
- type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood';
2231
+ type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Restrict by Default' | 'Supplements' | 'Weapon' | 'Wood';
2232
2232
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
2233
2233
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2234
2234
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -9658,7 +9658,7 @@ declare namespace io.flow.v0.models {
9658
9658
  readonly 'prohibited_regions': string[];
9659
9659
  readonly 'review_status'?: io.flow.v0.enums.ReviewStatus;
9660
9660
  readonly 'rules'?: io.flow.v0.enums.ProductRestrictionRule[];
9661
- readonly 'updated_by_user_id'?: string;
9661
+ readonly 'updated_by'?: string;
9662
9662
  }
9663
9663
 
9664
9664
  interface ProductRestrictionResultDeleted {
package/src/api.js CHANGED
@@ -3724,6 +3724,7 @@ T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
3724
3724
  'Knives',
3725
3725
  'Liquids',
3726
3726
  'Oversized',
3727
+ 'Restrict by Default',
3727
3728
  'Supplements',
3728
3729
  'Weapon',
3729
3730
  'Wood',
@@ -3738,7 +3739,7 @@ T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
3738
3739
  prohibited_regions: PropTypes.arrayOf(PropTypes.string).isRequired,
3739
3740
  review_status: T['io.flow.v0.enums.review_status'],
3740
3741
  rules: PropTypes.arrayOf(T['io.flow.v0.enums.product_restriction_rule']),
3741
- updated_by_user_id: PropTypes.string,
3742
+ updated_by: PropTypes.string,
3742
3743
  });
3743
3744
 
3744
3745
  T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({