@flowio/api-prop-types 10.16.67 → 10.16.69

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.67",
3
+ "version": "10.16.69",
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": "71ee41ffd96a582387a4d438378c1ae949b08c92"
32
+ "gitHead": "597e2435a16a5bd699023530c389a211edd61d60"
33
33
  }
package/src/api.d.ts CHANGED
@@ -1992,6 +1992,10 @@ declare namespace io.flow.ben.test.internal.v0.models {
1992
1992
  readonly 'num_events': number;
1993
1993
  }
1994
1994
 
1995
+ interface SvitlanaTest {
1996
+ readonly 'name': string;
1997
+ }
1998
+
1995
1999
  interface Test {
1996
2000
  readonly 'id': string;
1997
2001
  readonly 'name': string;
@@ -2139,7 +2143,7 @@ declare namespace io.flow.v0.enums {
2139
2143
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2140
2144
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2141
2145
  type ExporterOfRecord = 'flow' | 'organization';
2142
- type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
2146
+ type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
2143
2147
  type FlowBehavior = 'view_consumer_data';
2144
2148
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2145
2149
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
@@ -2188,8 +2192,8 @@ declare namespace io.flow.v0.enums {
2188
2192
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
2189
2193
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
2190
2194
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
2191
- type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
2192
- type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
2195
+ type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
2196
+ type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
2193
2197
  type OrderQuoteAddressType = 'shipping';
2194
2198
  type OrderQuoteErrorCode = 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'first_name_invalid' | 'first_name_required' | 'geo_required_when_no_session' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'name_missing_first_or_last' | 'name_required' | 'order_quote_requires_at_least_one_line' | 'session_not_found' | 'session_organization_mismatch';
2195
2199
  type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
@@ -11041,9 +11045,9 @@ declare namespace io.flow.v0.models {
11041
11045
  readonly 'key': string;
11042
11046
  readonly 'attributes': Record<string, string>;
11043
11047
  readonly 'carrier_tracking_number': string;
11044
- readonly 'destination': io.flow.v0.models.ShippingAddress;
11048
+ readonly 'destination'?: io.flow.v0.models.ShippingAddress;
11045
11049
  readonly 'flow_tracking_number': string;
11046
- readonly 'origin': io.flow.v0.models.ShippingAddress;
11050
+ readonly 'origin'?: io.flow.v0.models.ShippingAddress;
11047
11051
  readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
11048
11052
  readonly 'service': io.flow.v0.unions.ServiceDescription;
11049
11053
  readonly 'window'?: io.flow.v0.models.DatetimeRange;
@@ -11743,6 +11747,7 @@ declare namespace io.flow.v0.models {
11743
11747
  readonly 'currency': string;
11744
11748
  readonly 'lines': io.flow.v0.models.TaxDutyQuoteLineItemForm[];
11745
11749
  readonly 'shipping': io.flow.v0.models.TaxDutyQuoteSimpleShippingForm[];
11750
+ readonly 'includes'?: io.flow.v0.enums.LevyInclusion[];
11746
11751
  }
11747
11752
 
11748
11753
  interface TaxDutyQuoteLineItem {
@@ -12218,6 +12223,7 @@ declare namespace io.flow.v0.models {
12218
12223
  readonly 'discriminator': 'shipping_label';
12219
12224
  readonly 'request_method'?: io.flow.v0.enums.LabelRequestMethod;
12220
12225
  readonly 'carrier': io.flow.v0.models.TransactionMetadataShippingLabelCarrier;
12226
+ readonly 'revenue_share_percentage'?: number;
12221
12227
  }
12222
12228
 
12223
12229
  interface TransactionMetadataShippingLabelCarrier {
package/src/api.js CHANGED
@@ -6732,6 +6732,7 @@ T['io.flow.v0.models.tax_duty_quote_form'] = PropTypes.exact({
6732
6732
  currency: PropTypes.string.isRequired,
6733
6733
  lines: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_line_item_form']).isRequired,
6734
6734
  shipping: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_simple_shipping_form']).isRequired,
6735
+ includes: PropTypes.arrayOf(T['io.flow.v0.enums.levy_inclusion']),
6735
6736
  });
6736
6737
 
6737
6738
  T['io.flow.v0.models.ratecard_lane_import_form'] = PropTypes.exact({
@@ -6960,6 +6961,7 @@ T['io.flow.v0.enums.fee_deduction_type'] = PropTypes.oneOf([
6960
6961
  'processing',
6961
6962
  'rate_lock',
6962
6963
  'transfer',
6964
+ 'negative_balance_guarantee',
6963
6965
  ]);
6964
6966
 
6965
6967
  T['io.flow.v0.models.transaction_metadata_manual'] = PropTypes.exact({
@@ -6989,6 +6991,7 @@ T['io.flow.v0.models.transaction_metadata_shipping_label'] = PropTypes.exact({
6989
6991
  discriminator: PropTypes.oneOf(['shipping_label']).isRequired,
6990
6992
  request_method: T['io.flow.v0.enums.label_request_method'],
6991
6993
  carrier: T['io.flow.v0.models.transaction_metadata_shipping_label_carrier'].isRequired,
6994
+ revenue_share_percentage: PropTypes.number,
6992
6995
  });
6993
6996
 
6994
6997
  T['io.flow.v0.models.billing_discount'] = PropTypes.exact({
@@ -9300,6 +9303,7 @@ T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
9300
9303
  'insurance',
9301
9304
  'discount',
9302
9305
  'surcharges',
9306
+ 'tip',
9303
9307
  ]);
9304
9308
 
9305
9309
  T['io.flow.v0.models.money'] = PropTypes.exact({
@@ -10473,6 +10477,7 @@ T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
10473
10477
  'emergency_situation_surcharge',
10474
10478
  'peak_surcharge',
10475
10479
  'duties_taxes_paid_surcharge',
10480
+ 'tip',
10476
10481
  ]);
10477
10482
 
10478
10483
  T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
@@ -12974,9 +12979,9 @@ T['io.flow.v0.models.shipping_notification'] = PropTypes.exact({
12974
12979
  key: PropTypes.string.isRequired,
12975
12980
  attributes: PropTypes.objectOf(PropTypes.string).isRequired,
12976
12981
  carrier_tracking_number: PropTypes.string.isRequired,
12977
- destination: T['io.flow.v0.models.shipping_address'].isRequired,
12982
+ destination: T['io.flow.v0.models.shipping_address'],
12978
12983
  flow_tracking_number: PropTypes.string.isRequired,
12979
- origin: T['io.flow.v0.models.shipping_address'].isRequired,
12984
+ origin: T['io.flow.v0.models.shipping_address'],
12980
12985
  'package': T['io.flow.v0.models.shipping_label_package'],
12981
12986
  service: T['io.flow.v0.unions.service_description'].isRequired,
12982
12987
  window: T['io.flow.v0.models.datetime_range'],
@@ -14655,6 +14660,10 @@ T['io.flow.shopify.external.v0.models.shopify_webhook_shop_redact'] = PropTypes.
14655
14660
  shop_domain: PropTypes.string.isRequired,
14656
14661
  });
14657
14662
 
14663
+ T['io.flow.ben.test.internal.v0.models.svitlana_test'] = PropTypes.exact({
14664
+ name: PropTypes.string.isRequired,
14665
+ });
14666
+
14658
14667
  T['io.flow.ben.test.internal.v0.models.test_form'] = PropTypes.exact({
14659
14668
  name: PropTypes.string.isRequired,
14660
14669
  });