@flowio/api-prop-types 10.16.85 → 10.16.86

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.85",
3
+ "version": "10.16.86",
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": "0dd960b5d48f8ac9f314c8593a3597630199ba40"
32
+ "gitHead": "c096f29e80640d1f9e270b50c13e20e26b631283"
33
33
  }
package/src/api.d.ts CHANGED
@@ -2559,6 +2559,7 @@ declare namespace io.flow.v0.enums {
2559
2559
  type OrganizationPaymentMethodTag = 'deny';
2560
2560
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
2561
2561
  type OrganizationType = 'standalone' | 'channel';
2562
+ type OriginLocationSource = 'public_hub_code' | 'merchant_hub_code_override' | 'shopify' | 'fallback_location';
2562
2563
  type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
2563
2564
  type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
2564
2565
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
@@ -3557,6 +3558,7 @@ declare namespace io.flow.v0.models {
3557
3558
  readonly 'origin'?: io.flow.v0.models.ShippingAddress;
3558
3559
  readonly 'direction'?: io.flow.v0.enums.Direction;
3559
3560
  readonly 'reference_id'?: string;
3561
+ readonly 'origin_location_source'?: io.flow.v0.enums.OriginLocationSource;
3560
3562
  readonly 'hub_code'?: string;
3561
3563
  }
3562
3564
 
@@ -5192,6 +5194,7 @@ declare namespace io.flow.v0.models {
5192
5194
  readonly 'service'?: string;
5193
5195
  readonly 'shipment_recipient'?: io.flow.v0.enums.ShipmentRecipient;
5194
5196
  readonly 'package_dimensions_source'?: io.flow.v0.enums.PackageDimensionsSource;
5197
+ readonly 'origin_location_source'?: io.flow.v0.enums.OriginLocationSource;
5195
5198
  readonly 'reference_id'?: string;
5196
5199
  }
5197
5200
 
@@ -13319,6 +13322,7 @@ export const orderType: PropTypes.Requireable<io.flow.v0.enums.OrderType>;
13319
13322
  export const organizationPaymentMethodTag: PropTypes.Requireable<io.flow.v0.enums.OrganizationPaymentMethodTag>;
13320
13323
  export const organizationStatus: PropTypes.Requireable<io.flow.v0.enums.OrganizationStatus>;
13321
13324
  export const organizationType: PropTypes.Requireable<io.flow.v0.enums.OrganizationType>;
13325
+ export const originLocationSource: PropTypes.Requireable<io.flow.v0.enums.OriginLocationSource>;
13322
13326
  export const packageDimensionsSource: PropTypes.Requireable<io.flow.v0.enums.PackageDimensionsSource>;
13323
13327
  export const paymentActionType: PropTypes.Requireable<io.flow.v0.enums.PaymentActionType>;
13324
13328
  export const paymentErrorCode: PropTypes.Requireable<io.flow.v0.enums.PaymentErrorCode>;
package/src/api.js CHANGED
@@ -8539,6 +8539,13 @@ T['io.flow.v0.models.schedule'] = PropTypes.exact({
8539
8539
  max_lead_time: PropTypes.number,
8540
8540
  });
8541
8541
 
8542
+ T['io.flow.v0.enums.origin_location_source'] = PropTypes.oneOf([
8543
+ 'public_hub_code',
8544
+ 'merchant_hub_code_override',
8545
+ 'shopify',
8546
+ 'fallback_location',
8547
+ ]);
8548
+
8542
8549
  T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
8543
8550
 
8544
8551
  T['io.flow.v0.models.ratecard_form'] = PropTypes.exact({
@@ -14170,6 +14177,7 @@ T['io.flow.v0.models.detailed_shipping_label_form'] = PropTypes.exact({
14170
14177
  service: PropTypes.string,
14171
14178
  shipment_recipient: T['io.flow.v0.enums.shipment_recipient'],
14172
14179
  package_dimensions_source: T['io.flow.v0.enums.package_dimensions_source'],
14180
+ origin_location_source: T['io.flow.v0.enums.origin_location_source'],
14173
14181
  reference_id: PropTypes.string,
14174
14182
  });
14175
14183
 
@@ -14181,6 +14189,7 @@ T['io.flow.v0.models.bridge_shipping_label_form'] = PropTypes.exact({
14181
14189
  origin: T['io.flow.v0.models.shipping_address'],
14182
14190
  direction: T['io.flow.v0.enums.direction'],
14183
14191
  reference_id: PropTypes.string,
14192
+ origin_location_source: T['io.flow.v0.enums.origin_location_source'],
14184
14193
  hub_code: PropTypes.string,
14185
14194
  });
14186
14195
 
@@ -16509,6 +16518,7 @@ export const organizationType = T['io.flow.v0.enums.organization_type'];
16509
16518
  export const organizationUpserted = T['io.flow.v0.models.organization_upserted'];
16510
16519
  export const organizationUpsertedV2 = T['io.flow.v0.models.organization_upserted_v2'];
16511
16520
  export const organizationVersion = T['io.flow.v0.models.organization_version'];
16521
+ export const originLocationSource = T['io.flow.v0.enums.origin_location_source'];
16512
16522
  export const originalPrices = T['io.flow.v0.models.original_prices'];
16513
16523
  export const outboundCartonFee = T['io.flow.v0.models.outbound_carton_fee'];
16514
16524
  export const oversizePieceSurchargeRatecardFee = T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'];