@flowio/api-internal-prop-types 9.21.0 → 9.21.1

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.21.0",
3
+ "version": "9.21.1",
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": "997b8322302877270db6d281d76d9a8ab7903718"
33
+ "gitHead": "260e93a00c56eaf0b2fd0e8d7ed4b0073c435eab"
34
34
  }
@@ -3272,6 +3272,7 @@ declare namespace io.flow.payment.v0.models {
3272
3272
  readonly 'payment_state'?: string;
3273
3273
  readonly 'payer_email'?: string;
3274
3274
  readonly 'payer_status'?: string;
3275
+ readonly 'approval_url'?: string;
3275
3276
  }
3276
3277
 
3277
3278
  interface PaypalAuthorizationForm {
@@ -14888,6 +14889,17 @@ declare namespace io.flow.internal.v0.models {
14888
14889
  readonly 'classification_model_id': string;
14889
14890
  }
14890
14891
 
14892
+ interface ClassifiedProductDetail {
14893
+ readonly 'product_id': string;
14894
+ readonly 'description'?: string;
14895
+ readonly 'items': io.flow.common.v0.models.CatalogItemSummary[];
14896
+ readonly 'images': io.flow.catalog.v0.models.Image[];
14897
+ readonly 'categories': string[];
14898
+ readonly 'product_harmonization': io.flow.internal.v0.models.ClassificationProductHarmonization;
14899
+ readonly 'status': io.flow.internal.v0.enums.ItemClassificationStatus;
14900
+ readonly 'classified_by': string;
14901
+ }
14902
+
14891
14903
  interface Compliance {
14892
14904
  readonly 'id': string;
14893
14905
  readonly 'destination': string;
@@ -22201,6 +22213,7 @@ export const classificationRequeueRequest: PropTypes.Requireable<io.flow.interna
22201
22213
  export const classificationStatistics: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationStatistics>;
22202
22214
  export const classificationWrapper: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationWrapper>;
22203
22215
  export const classifiedProduct: PropTypes.Requireable<io.flow.internal.v0.models.ClassifiedProduct>;
22216
+ export const classifiedProductDetail: PropTypes.Requireable<io.flow.internal.v0.models.ClassifiedProductDetail>;
22204
22217
  export const compliance: PropTypes.Requireable<io.flow.internal.v0.models.Compliance>;
22205
22218
  export const components: PropTypes.Requireable<io.flow.internal.v0.models.Components>;
22206
22219
  export const consumerOptinActivity: PropTypes.Requireable<io.flow.internal.v0.models.ConsumerOptinActivity>;
@@ -10287,15 +10287,6 @@ T['io.flow.internal.v0.models.harmonization_ml_model_summary'] = PropTypes.exact
10287
10287
  customs_description: PropTypes.string,
10288
10288
  });
10289
10289
 
10290
- T['io.flow.internal.v0.enums.item_classification_status'] = PropTypes.oneOf([
10291
- 'unknown',
10292
- 'manual',
10293
- 'manually_accepted',
10294
- 'manually_overridden',
10295
- 'automatically_accepted',
10296
- 'pending',
10297
- ]);
10298
-
10299
10290
  T['io.flow.internal.v0.models.harmonization_item_summary'] = PropTypes.exact({
10300
10291
  number: PropTypes.string.isRequired,
10301
10292
  product_id: PropTypes.string,
@@ -11887,6 +11878,15 @@ T['io.flow.internal.v0.models.compliance'] = PropTypes.exact({
11887
11878
  data: T['io.flow.internal.v0.unions.compliance_data'].isRequired,
11888
11879
  });
11889
11880
 
11881
+ T['io.flow.internal.v0.enums.item_classification_status'] = PropTypes.oneOf([
11882
+ 'unknown',
11883
+ 'manual',
11884
+ 'manually_accepted',
11885
+ 'manually_overridden',
11886
+ 'automatically_accepted',
11887
+ 'pending',
11888
+ ]);
11889
+
11890
11890
  T['io.flow.internal.v0.enums.item_harmonization_status'] = PropTypes.oneOf([
11891
11891
  'waiting_for_classification',
11892
11892
  'classified',
@@ -13288,6 +13288,7 @@ T['io.flow.payment.v0.models.paypal_authorization_details'] = PropTypes.exact({
13288
13288
  payment_state: PropTypes.string,
13289
13289
  payer_email: PropTypes.string,
13290
13290
  payer_status: PropTypes.string,
13291
+ approval_url: PropTypes.string,
13291
13292
  });
13292
13293
 
13293
13294
  T['io.flow.payment.v0.models.cryptopay_authorization_details'] = PropTypes.exact({
@@ -14358,6 +14359,17 @@ T['io.flow.catalog.v0.models.image'] = PropTypes.exact({
14358
14359
  attributes: PropTypes.objectOf(PropTypes.string),
14359
14360
  });
14360
14361
 
14362
+ T['io.flow.internal.v0.models.classified_product_detail'] = PropTypes.exact({
14363
+ product_id: PropTypes.string.isRequired,
14364
+ description: PropTypes.string,
14365
+ items: PropTypes.arrayOf(T['io.flow.common.v0.models.catalog_item_summary']).isRequired,
14366
+ images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
14367
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
14368
+ product_harmonization: T['io.flow.internal.v0.models.classification_product_harmonization'].isRequired,
14369
+ status: T['io.flow.internal.v0.enums.item_classification_status'].isRequired,
14370
+ classified_by: PropTypes.string.isRequired,
14371
+ });
14372
+
14361
14373
  T['io.flow.internal.v0.models.classification'] = PropTypes.exact({
14362
14374
  discriminator: PropTypes.oneOf(['classification']).isRequired,
14363
14375
  product_id: PropTypes.string.isRequired,
@@ -25404,6 +25416,7 @@ export const classificationStatistics = T['io.flow.internal.v0.models.classifica
25404
25416
  export const classificationTaxonomy = T['io.flow.internal.v0.unions.classification_taxonomy'];
25405
25417
  export const classificationWrapper = T['io.flow.internal.v0.models.classification_wrapper'];
25406
25418
  export const classifiedProduct = T['io.flow.internal.v0.models.classified_product'];
25419
+ export const classifiedProductDetail = T['io.flow.internal.v0.models.classified_product_detail'];
25407
25420
  export const compliance = T['io.flow.internal.v0.models.compliance'];
25408
25421
  export const complianceData = T['io.flow.internal.v0.unions.compliance_data'];
25409
25422
  export const complianceForm = T['io.flow.internal.v0.unions.compliance_form'];