@flowio/api-internal-prop-types 8.5.1 → 8.6.0

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": "8.5.1",
3
+ "version": "8.6.0",
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": "fba4c6a6a597e1843f689a7a58f6159131364578"
33
+ "gitHead": "573a2c80bc1af72c86189bbc9f8a347c7f1dcb77"
34
34
  }
@@ -2476,6 +2476,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2476
2476
 
2477
2477
  declare namespace io.flow.RESERVED_WORD_return.v0.enums {
2478
2478
  type ReturnStatus = 'open' | 'refunded';
2479
+ type ReturnTrackingStatus = 'return_registered_online' | 'received_by_the_carrier' | 'in_transit_to_our_local_hub' | 'received_at_our_local_hub' | 'processed_by_hub' | 'parcel_has_been_added_to_pallet' | 'parcel_has_been_extracted_from_pallet' | 'in_transit_to_the_retailer' | 'delivered_to_the_retailer' | 'parcel_lost' | 'canceled' | 'parcel_processed_by_retailer' | 'parcel_delayed' | 'collection_attempt_failed' | 'parcel_under_investigation' | 'awaiting_customs_clearance' | 'customs_clearance_completed' | 'cancel_requested';
2479
2480
  }
2480
2481
 
2481
2482
  declare namespace io.flow.RESERVED_WORD_return.v0.models {
@@ -19337,6 +19338,19 @@ declare namespace io.flow.internal.v0.models {
19337
19338
  readonly 'id': string;
19338
19339
  }
19339
19340
 
19341
+ interface KlarnaAuthorizationParameters {
19342
+ readonly 'discriminator': 'klarna_authorization_parameters';
19343
+ readonly 'client_token': string;
19344
+ readonly 'payment_method_categories': io.flow.internal.v0.models.KlarnaPaymentMethodCategory[];
19345
+ }
19346
+
19347
+ interface KlarnaPaymentMethodCategory {
19348
+ readonly 'id': string;
19349
+ readonly 'name'?: string;
19350
+ readonly 'standard_asset_url'?: string;
19351
+ readonly 'descriptive_asset_url'?: string;
19352
+ }
19353
+
19340
19354
  interface LabProjectSettings {
19341
19355
  readonly 'id': string;
19342
19356
  readonly 'flow_lab_project_key': string;
@@ -22381,6 +22395,7 @@ declare namespace io.flow.internal.v0.unions {
22381
22395
  type FeatureValue = (io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue);
22382
22396
  type GlobalSearchResult = (io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary);
22383
22397
  type IndexTaskType = (io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask);
22398
+ type InlineAuthorizationParameters = (io.flow.internal.v0.models.KlarnaAuthorizationParameters);
22384
22399
  type InternalAuthorizationDetails = (io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails);
22385
22400
  type InternalHarmonizationStatistic = (io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.TimeToClassifyAggregated | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary);
22386
22401
  type InternalRefundForm = (io.flow.internal.v0.models.AdyenRefundForm);
@@ -23230,6 +23245,8 @@ export const itemValuesForm: PropTypes.Requireable<io.flow.internal.v0.models.It
23230
23245
  export const itemsShipped: PropTypes.Requireable<io.flow.internal.v0.models.ItemsShipped>;
23231
23246
  export const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
23232
23247
  export const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
23248
+ export const klarnaAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaAuthorizationParameters>;
23249
+ export const klarnaPaymentMethodCategory: PropTypes.Requireable<io.flow.internal.v0.models.KlarnaPaymentMethodCategory>;
23233
23250
  export const labProjectSettings: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettings>;
23234
23251
  export const labProjectSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsForm>;
23235
23252
  export const labProjectSettingsFormAcceptance: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsFormAcceptance>;
@@ -23708,6 +23725,7 @@ export const featureTaskData: PropTypes.Requireable<io.flow.internal.v0.unions.F
23708
23725
  export const featureValue: PropTypes.Requireable<io.flow.internal.v0.unions.FeatureValue>;
23709
23726
  export const globalSearchResult: PropTypes.Requireable<io.flow.internal.v0.unions.GlobalSearchResult>;
23710
23727
  export const indexTaskType: PropTypes.Requireable<io.flow.internal.v0.unions.IndexTaskType>;
23728
+ export const inlineAuthorizationParameters: PropTypes.Requireable<io.flow.internal.v0.unions.InlineAuthorizationParameters>;
23711
23729
  export const internalAuthorizationDetails: PropTypes.Requireable<io.flow.internal.v0.unions.InternalAuthorizationDetails>;
23712
23730
  export const internalHarmonizationStatistic: PropTypes.Requireable<io.flow.internal.v0.unions.InternalHarmonizationStatistic>;
23713
23731
  export const internalRefundForm: PropTypes.Requireable<io.flow.internal.v0.unions.InternalRefundForm>;
@@ -10887,6 +10887,21 @@ T['io.flow.internal.v0.models.lab_project_settings_form'] = PropTypes.exact({
10887
10887
  terms: T['io.flow.internal.v0.models.lab_project_settings_form_acceptance'],
10888
10888
  });
10889
10889
 
10890
+ T['io.flow.internal.v0.models.klarna_payment_method_category'] = PropTypes.exact({
10891
+ id: PropTypes.string.isRequired,
10892
+ name: PropTypes.string,
10893
+ standard_asset_url: PropTypes.string,
10894
+ descriptive_asset_url: PropTypes.string,
10895
+ });
10896
+
10897
+ T['io.flow.internal.v0.models.klarna_authorization_parameters'] = PropTypes.exact({
10898
+ discriminator: PropTypes.oneOf(['klarna_authorization_parameters']).isRequired,
10899
+ client_token: PropTypes.string.isRequired,
10900
+ payment_method_categories: PropTypes.arrayOf(T['io.flow.internal.v0.models.klarna_payment_method_category']).isRequired,
10901
+ });
10902
+
10903
+ T['io.flow.internal.v0.unions.inline_authorization_parameters'] = PropTypes.oneOfType([T['io.flow.internal.v0.models.klarna_authorization_parameters']]);
10904
+
10890
10905
  T['io.flow.internal.v0.models.item_sales_margin'] = PropTypes.exact({
10891
10906
  id: PropTypes.string.isRequired,
10892
10907
  key: PropTypes.string.isRequired,
@@ -24403,6 +24418,27 @@ T['io.flow.export.v0.models.landed_cost_item'] = PropTypes.exact({
24403
24418
 
24404
24419
  T['io.flow.return.v0.enums.return_status'] = PropTypes.oneOf(['open', 'refunded']);
24405
24420
 
24421
+ T['io.flow.return.v0.enums.return_tracking_status'] = PropTypes.oneOf([
24422
+ 'return_registered_online',
24423
+ 'received_by_the_carrier',
24424
+ 'in_transit_to_our_local_hub',
24425
+ 'received_at_our_local_hub',
24426
+ 'processed_by_hub',
24427
+ 'parcel_has_been_added_to_pallet',
24428
+ 'parcel_has_been_extracted_from_pallet',
24429
+ 'in_transit_to_the_retailer',
24430
+ 'delivered_to_the_retailer',
24431
+ 'parcel_lost',
24432
+ 'canceled',
24433
+ 'parcel_processed_by_retailer',
24434
+ 'parcel_delayed',
24435
+ 'collection_attempt_failed',
24436
+ 'parcel_under_investigation',
24437
+ 'awaiting_customs_clearance',
24438
+ 'customs_clearance_completed',
24439
+ 'cancel_requested',
24440
+ ]);
24441
+
24406
24442
  T['io.flow.return.v0.models.return_item_reference'] = PropTypes.exact({
24407
24443
  number: PropTypes.string.isRequired,
24408
24444
  });
@@ -26411,6 +26447,7 @@ export const httpMethod = T['io.flow.internal.v0.enums.http_method'];
26411
26447
  export const importCompleted = T['io.flow.internal.v0.models.import_completed'];
26412
26448
  export const importFailed = T['io.flow.internal.v0.models.import_failed'];
26413
26449
  export const indexTaskType = T['io.flow.internal.v0.unions.index_task_type'];
26450
+ export const inlineAuthorizationParameters = T['io.flow.internal.v0.unions.inline_authorization_parameters'];
26414
26451
  export const installForm = T['io.flow.internal.v0.models.install_form'];
26415
26452
  export const internalAdyenAuthorizationDetails = T['io.flow.internal.v0.models.internal_adyen_authorization_details'];
26416
26453
  export const internalAfterpayAuthorizationDetails = T['io.flow.internal.v0.models.internal_afterpay_authorization_details'];
@@ -26471,6 +26508,8 @@ export const itemValuesForm = T['io.flow.internal.v0.models.item_values_form'];
26471
26508
  export const itemsShipped = T['io.flow.internal.v0.models.items_shipped'];
26472
26509
  export const key = T['io.flow.internal.v0.models.key'];
26473
26510
  export const keyReference = T['io.flow.internal.v0.models.key_reference'];
26511
+ export const klarnaAuthorizationParameters = T['io.flow.internal.v0.models.klarna_authorization_parameters'];
26512
+ export const klarnaPaymentMethodCategory = T['io.flow.internal.v0.models.klarna_payment_method_category'];
26474
26513
  export const labProjectSettings = T['io.flow.internal.v0.models.lab_project_settings'];
26475
26514
  export const labProjectSettingsForm = T['io.flow.internal.v0.models.lab_project_settings_form'];
26476
26515
  export const labProjectSettingsFormAcceptance = T['io.flow.internal.v0.models.lab_project_settings_form_acceptance'];