@flowio/api-prop-types 10.16.72 → 10.16.74

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.72",
3
+ "version": "10.16.74",
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": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
32
+ "gitHead": "92e35a5f134c649a116d30d3d3af55458f8afa4d"
33
33
  }
package/src/api.d.ts CHANGED
@@ -2246,9 +2246,6 @@ declare namespace io.flow.v0.enums {
2246
2246
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
2247
2247
  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';
2248
2248
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
2249
- type OrderQuoteAddressType = 'shipping';
2250
- 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';
2251
- type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
2252
2249
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
2253
2250
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
2254
2251
  type OrderStatus = 'open' | 'submitted';
@@ -2257,7 +2254,7 @@ declare namespace io.flow.v0.enums {
2257
2254
  type OrganizationPaymentMethodTag = 'deny';
2258
2255
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
2259
2256
  type OrganizationType = 'standalone' | 'channel';
2260
- type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
2257
+ type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
2261
2258
  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';
2262
2259
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
2263
2260
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
@@ -2292,6 +2289,7 @@ declare namespace io.flow.v0.enums {
2292
2289
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
2293
2290
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
2294
2291
  type RegionType = 'state' | 'province' | 'jurisdiction';
2292
+ type RestrictedReviewStatus = 'in_review' | 'reviewed';
2295
2293
  type ReturnItemStatus = 'returnable' | 'non-returnable';
2296
2294
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
2297
2295
  type ReturnStatus = 'open' | 'refunded';
@@ -2336,7 +2334,7 @@ declare namespace io.flow.v0.enums {
2336
2334
  type TradeAgreementStatus = 'supported' | 'not_supported';
2337
2335
  type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
2338
2336
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2339
- type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security_ratecard_fee' | 'eei_filing_ratecard_fee' | 'fixed_ddp_ratecard_fee' | 'fixed_currency_conversion_ratecard_fee';
2337
+ type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
2340
2338
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
2341
2339
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2342
2340
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -7976,150 +7974,6 @@ declare namespace io.flow.v0.models {
7976
7974
  readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
7977
7975
  }
7978
7976
 
7979
- interface OrderQuote {
7980
- readonly 'id': string;
7981
- readonly 'form': io.flow.v0.models.OrderQuotePutForm;
7982
- readonly 'summary'?: io.flow.v0.models.OrderQuoteSummary;
7983
- }
7984
-
7985
- interface OrderQuoteAddress {
7986
- readonly 'name'?: string;
7987
- readonly 'first_name'?: string;
7988
- readonly 'last_name'?: string;
7989
- readonly 'country'?: string;
7990
- readonly 'streets'?: string[];
7991
- readonly 'city'?: string;
7992
- readonly 'province'?: string;
7993
- readonly 'postal'?: string;
7994
- readonly 'company'?: string;
7995
- }
7996
-
7997
- interface OrderQuoteContact {
7998
- readonly 'email'?: string;
7999
- readonly 'phone'?: string;
8000
- }
8001
-
8002
- interface OrderQuoteError {
8003
- readonly 'errors': io.flow.v0.models.OrderQuoteErrorDetails[];
8004
- }
8005
-
8006
- interface OrderQuoteErrorDetails {
8007
- readonly 'code': io.flow.v0.enums.OrderQuoteErrorCode;
8008
- readonly 'message': string;
8009
- }
8010
-
8011
- interface OrderQuoteGeoPutForm {
8012
- readonly 'country'?: string;
8013
- readonly 'ip'?: string;
8014
- readonly 'currency'?: string;
8015
- readonly 'language'?: string;
8016
- }
8017
-
8018
- interface OrderQuoteLine {
8019
- readonly 'id': string;
8020
- readonly 'item': io.flow.v0.models.OrderSummaryItem;
8021
- readonly 'errors'?: io.flow.v0.models.OrderQuoteLineError[];
8022
- readonly 'quantity': number;
8023
- readonly 'discount'?: io.flow.v0.models.OrderQuoteLineDiscount;
8024
- readonly 'tax'?: io.flow.v0.models.OrderQuoteSummaryTax;
8025
- readonly 'duty'?: io.flow.v0.models.OrderQuoteSummaryDuty;
8026
- readonly 'unit_price': io.flow.v0.unions.OrderQuotePrice;
8027
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8028
- readonly 'price_attributes': Record<string, io.flow.v0.models.OrderQuotePriceStandard>;
8029
- readonly 'attributes': Record<string, string>;
8030
- }
8031
-
8032
- interface OrderQuoteLineDiscount {
8033
- readonly 'applied': io.flow.v0.models.OrderQuotePriceStandard;
8034
- readonly 'label'?: string;
8035
- }
8036
-
8037
- interface OrderQuoteLineError {
8038
- readonly 'code': io.flow.v0.enums.OrderQuoteLineErrorCode;
8039
- readonly 'message': string;
8040
- }
8041
-
8042
- interface OrderQuotePriceEstimated {
8043
- readonly 'discriminator': 'estimated';
8044
- readonly 'amount': number;
8045
- readonly 'currency': string;
8046
- readonly 'label': string;
8047
- }
8048
-
8049
- interface OrderQuotePriceFree {
8050
- readonly 'discriminator': 'free';
8051
- readonly 'placeholder'?: string;
8052
- }
8053
-
8054
- interface OrderQuotePriceIncluded {
8055
- readonly 'discriminator': 'included';
8056
- readonly 'placeholder'?: string;
8057
- }
8058
-
8059
- interface OrderQuotePriceNotYetKnown {
8060
- readonly 'discriminator': 'not_yet_known';
8061
- readonly 'placeholder'?: string;
8062
- }
8063
-
8064
- interface OrderQuotePriceStandard {
8065
- readonly 'discriminator': 'price';
8066
- readonly 'amount': number;
8067
- readonly 'currency': string;
8068
- readonly 'label': string;
8069
- }
8070
-
8071
- interface OrderQuotePutForm {
8072
- readonly 'line_items'?: io.flow.v0.models.LineItemForm[];
8073
- readonly 'session'?: io.flow.v0.models.SessionReference;
8074
- readonly 'geo'?: io.flow.v0.models.OrderQuoteGeoPutForm;
8075
- }
8076
-
8077
- interface OrderQuoteReference {
8078
- readonly 'id': string;
8079
- }
8080
-
8081
- interface OrderQuoteSummary {
8082
- readonly 'items': io.flow.v0.models.OrderQuoteSummaryItems;
8083
- readonly 'shipping'?: io.flow.v0.models.OrderQuoteSummaryShipping;
8084
- readonly 'tax'?: io.flow.v0.models.OrderQuoteSummaryTax;
8085
- readonly 'duty'?: io.flow.v0.models.OrderQuoteSummaryDuty;
8086
- readonly 'total': io.flow.v0.models.OrderQuoteSummaryTotal;
8087
- readonly 'balance': io.flow.v0.unions.OrderQuotePrice;
8088
- }
8089
-
8090
- interface OrderQuoteSummaryDuty {
8091
- readonly 'name': string;
8092
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8093
- }
8094
-
8095
- interface OrderQuoteSummaryItems {
8096
- readonly 'lines': io.flow.v0.models.OrderQuoteLine[];
8097
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8098
- }
8099
-
8100
- interface OrderQuoteSummaryShipping {
8101
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8102
- readonly 'freight'?: io.flow.v0.models.OrderQuoteSummaryShippingFreight;
8103
- readonly 'surcharges'?: io.flow.v0.models.OrderQuoteSummaryShippingSurcharges;
8104
- }
8105
-
8106
- interface OrderQuoteSummaryShippingFreight {
8107
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8108
- }
8109
-
8110
- interface OrderQuoteSummaryShippingSurcharges {
8111
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8112
- }
8113
-
8114
- interface OrderQuoteSummaryTax {
8115
- readonly 'name': string;
8116
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8117
- }
8118
-
8119
- interface OrderQuoteSummaryTotal {
8120
- readonly 'total': io.flow.v0.unions.OrderQuotePrice;
8121
- }
8122
-
8123
7977
  interface OrderReference {
8124
7978
  readonly 'discriminator': 'order_reference';
8125
7979
  readonly 'id': string;
@@ -9801,6 +9655,7 @@ declare namespace io.flow.v0.models {
9801
9655
  readonly 'product_id': string;
9802
9656
  readonly 'item_numbers': string[];
9803
9657
  readonly 'prohibited_regions': string[];
9658
+ readonly 'reasons_per_region'?: io.flow.v0.models.ReasonsPerRegion[];
9804
9659
  readonly 'review_status'?: io.flow.v0.enums.ReviewStatus;
9805
9660
  readonly 'rules'?: io.flow.v0.enums.ProductRestrictionRule[];
9806
9661
  readonly 'updated_by'?: string;
@@ -10267,6 +10122,12 @@ declare namespace io.flow.v0.models {
10267
10122
  readonly 'ready_to_fulfill': io.flow.v0.models.ReadyToFulfillDetails;
10268
10123
  }
10269
10124
 
10125
+ interface ReasonsPerRegion {
10126
+ readonly 'region': string;
10127
+ readonly 'reasons': string[];
10128
+ readonly 'review_status': io.flow.v0.enums.RestrictedReviewStatus;
10129
+ }
10130
+
10270
10131
  interface RedirectAuthorizationDetails {
10271
10132
  readonly 'discriminator': 'redirect_authorization_details';
10272
10133
  readonly 'id': string;
@@ -12741,7 +12602,6 @@ declare namespace io.flow.v0.unions {
12741
12602
  type OrderNumberGenerator = (io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix);
12742
12603
  type OrderPromotion = (io.flow.v0.models.FreeShippingOrderPromotion);
12743
12604
  type OrderPromotionForm = (io.flow.v0.models.FreeShippingOrderPromotionForm);
12744
- type OrderQuotePrice = (io.flow.v0.models.OrderQuotePriceFree | io.flow.v0.models.OrderQuotePriceNotYetKnown | io.flow.v0.models.OrderQuotePriceIncluded | io.flow.v0.models.OrderQuotePriceStandard | io.flow.v0.models.OrderQuotePriceEstimated);
12745
12605
  type OrderRefundSummaryForm = (io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm);
12746
12606
  type PartnerCenterFee = (io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee);
12747
12607
  type Payment = (io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay);
@@ -12916,9 +12776,6 @@ export const orderMerchantOfRecord: PropTypes.Requireable<io.flow.v0.enums.Order
12916
12776
  export const orderPaymentType: PropTypes.Requireable<io.flow.v0.enums.OrderPaymentType>;
12917
12777
  export const orderPriceDetailComponentKey: PropTypes.Requireable<io.flow.v0.enums.OrderPriceDetailComponentKey>;
12918
12778
  export const orderPriceDetailKey: PropTypes.Requireable<io.flow.v0.enums.OrderPriceDetailKey>;
12919
- export const orderQuoteAddressType: PropTypes.Requireable<io.flow.v0.enums.OrderQuoteAddressType>;
12920
- export const orderQuoteErrorCode: PropTypes.Requireable<io.flow.v0.enums.OrderQuoteErrorCode>;
12921
- export const orderQuoteLineErrorCode: PropTypes.Requireable<io.flow.v0.enums.OrderQuoteLineErrorCode>;
12922
12779
  export const orderRefundSummaryIncludes: PropTypes.Requireable<io.flow.v0.enums.OrderRefundSummaryIncludes>;
12923
12780
  export const orderRefundSummaryPartialCharged: PropTypes.Requireable<io.flow.v0.enums.OrderRefundSummaryPartialCharged>;
12924
12781
  export const orderStatus: PropTypes.Requireable<io.flow.v0.enums.OrderStatus>;
@@ -12962,6 +12819,7 @@ export const ratecardOwner: PropTypes.Requireable<io.flow.v0.enums.RatecardOwner
12962
12819
  export const refundDeclineCode: PropTypes.Requireable<io.flow.v0.enums.RefundDeclineCode>;
12963
12820
  export const refundStatus: PropTypes.Requireable<io.flow.v0.enums.RefundStatus>;
12964
12821
  export const regionType: PropTypes.Requireable<io.flow.v0.enums.RegionType>;
12822
+ export const restrictedReviewStatus: PropTypes.Requireable<io.flow.v0.enums.RestrictedReviewStatus>;
12965
12823
  export const returnItemStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnItemStatus>;
12966
12824
  export const returnPolicyState: PropTypes.Requireable<io.flow.v0.enums.ReturnPolicyState>;
12967
12825
  export const returnStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnStatus>;
@@ -13807,30 +13665,6 @@ export const orderPriceDetail: PropTypes.Requireable<io.flow.v0.models.OrderPric
13807
13665
  export const orderPriceDetailComponent: PropTypes.Requireable<io.flow.v0.models.OrderPriceDetailComponent>;
13808
13666
  export const orderPromotionTrigger: PropTypes.Requireable<io.flow.v0.models.OrderPromotionTrigger>;
13809
13667
  export const orderPutForm: PropTypes.Requireable<io.flow.v0.models.OrderPutForm>;
13810
- export const orderQuote: PropTypes.Requireable<io.flow.v0.models.OrderQuote>;
13811
- export const orderQuoteAddress: PropTypes.Requireable<io.flow.v0.models.OrderQuoteAddress>;
13812
- export const orderQuoteContact: PropTypes.Requireable<io.flow.v0.models.OrderQuoteContact>;
13813
- export const orderQuoteError: PropTypes.Requireable<io.flow.v0.models.OrderQuoteError>;
13814
- export const orderQuoteErrorDetails: PropTypes.Requireable<io.flow.v0.models.OrderQuoteErrorDetails>;
13815
- export const orderQuoteGeoPutForm: PropTypes.Requireable<io.flow.v0.models.OrderQuoteGeoPutForm>;
13816
- export const orderQuoteLine: PropTypes.Requireable<io.flow.v0.models.OrderQuoteLine>;
13817
- export const orderQuoteLineDiscount: PropTypes.Requireable<io.flow.v0.models.OrderQuoteLineDiscount>;
13818
- export const orderQuoteLineError: PropTypes.Requireable<io.flow.v0.models.OrderQuoteLineError>;
13819
- export const orderQuotePriceEstimated: PropTypes.Requireable<io.flow.v0.models.OrderQuotePriceEstimated>;
13820
- export const orderQuotePriceFree: PropTypes.Requireable<io.flow.v0.models.OrderQuotePriceFree>;
13821
- export const orderQuotePriceIncluded: PropTypes.Requireable<io.flow.v0.models.OrderQuotePriceIncluded>;
13822
- export const orderQuotePriceNotYetKnown: PropTypes.Requireable<io.flow.v0.models.OrderQuotePriceNotYetKnown>;
13823
- export const orderQuotePriceStandard: PropTypes.Requireable<io.flow.v0.models.OrderQuotePriceStandard>;
13824
- export const orderQuotePutForm: PropTypes.Requireable<io.flow.v0.models.OrderQuotePutForm>;
13825
- export const orderQuoteReference: PropTypes.Requireable<io.flow.v0.models.OrderQuoteReference>;
13826
- export const orderQuoteSummary: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummary>;
13827
- export const orderQuoteSummaryDuty: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryDuty>;
13828
- export const orderQuoteSummaryItems: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryItems>;
13829
- export const orderQuoteSummaryShipping: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryShipping>;
13830
- export const orderQuoteSummaryShippingFreight: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryShippingFreight>;
13831
- export const orderQuoteSummaryShippingSurcharges: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryShippingSurcharges>;
13832
- export const orderQuoteSummaryTax: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryTax>;
13833
- export const orderQuoteSummaryTotal: PropTypes.Requireable<io.flow.v0.models.OrderQuoteSummaryTotal>;
13834
13668
  export const orderReference: PropTypes.Requireable<io.flow.v0.models.OrderReference>;
13835
13669
  export const orderRefundSummary: PropTypes.Requireable<io.flow.v0.models.OrderRefundSummary>;
13836
13670
  export const orderRefundSummaryAmounts: PropTypes.Requireable<io.flow.v0.models.OrderRefundSummaryAmounts>;
@@ -14128,6 +13962,7 @@ export const ratecardVersion: PropTypes.Requireable<io.flow.v0.models.RatecardVe
14128
13962
  export const readyToFulfill: PropTypes.Requireable<io.flow.v0.models.ReadyToFulfill>;
14129
13963
  export const readyToFulfillDetails: PropTypes.Requireable<io.flow.v0.models.ReadyToFulfillDetails>;
14130
13964
  export const readyToFulfillV2: PropTypes.Requireable<io.flow.v0.models.ReadyToFulfillV2>;
13965
+ export const reasonsPerRegion: PropTypes.Requireable<io.flow.v0.models.ReasonsPerRegion>;
14131
13966
  export const redirectAuthorizationDetails: PropTypes.Requireable<io.flow.v0.models.RedirectAuthorizationDetails>;
14132
13967
  export const redirectAuthorizationForm: PropTypes.Requireable<io.flow.v0.models.RedirectAuthorizationForm>;
14133
13968
  export const refund: PropTypes.Requireable<io.flow.v0.models.Refund>;
@@ -14519,7 +14354,6 @@ export const orderInformation: PropTypes.Requireable<io.flow.v0.unions.OrderInfo
14519
14354
  export const orderNumberGenerator: PropTypes.Requireable<io.flow.v0.unions.OrderNumberGenerator>;
14520
14355
  export const orderPromotion: PropTypes.Requireable<io.flow.v0.unions.OrderPromotion>;
14521
14356
  export const orderPromotionForm: PropTypes.Requireable<io.flow.v0.unions.OrderPromotionForm>;
14522
- export const orderQuotePrice: PropTypes.Requireable<io.flow.v0.unions.OrderQuotePrice>;
14523
14357
  export const orderRefundSummaryForm: PropTypes.Requireable<io.flow.v0.unions.OrderRefundSummaryForm>;
14524
14358
  export const partnerCenterFee: PropTypes.Requireable<io.flow.v0.unions.PartnerCenterFee>;
14525
14359
  export const payment: PropTypes.Requireable<io.flow.v0.unions.Payment>;
package/src/api.js CHANGED
@@ -3761,6 +3761,8 @@ T['io.flow.v0.models.query_filter_structured'] = PropTypes.exact({
3761
3761
  values: PropTypes.arrayOf(PropTypes.string).isRequired,
3762
3762
  });
3763
3763
 
3764
+ T['io.flow.v0.enums.restricted_review_status'] = PropTypes.oneOf(['in_review', 'reviewed']);
3765
+
3764
3766
  T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
3765
3767
  'Adult Products',
3766
3768
  'Alcohol',
@@ -3795,11 +3797,18 @@ T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
3795
3797
 
3796
3798
  T['io.flow.v0.enums.review_status'] = PropTypes.oneOf(['high_risk_in_review', 'low_risk_in_review', 'reviewed']);
3797
3799
 
3800
+ T['io.flow.v0.models.reasons_per_region'] = PropTypes.exact({
3801
+ region: PropTypes.string.isRequired,
3802
+ reasons: PropTypes.arrayOf(PropTypes.string).isRequired,
3803
+ review_status: T['io.flow.v0.enums.restricted_review_status'].isRequired,
3804
+ });
3805
+
3798
3806
  T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
3799
3807
  id: PropTypes.string.isRequired,
3800
3808
  product_id: PropTypes.string.isRequired,
3801
3809
  item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
3802
3810
  prohibited_regions: PropTypes.arrayOf(PropTypes.string).isRequired,
3811
+ reasons_per_region: PropTypes.arrayOf(T['io.flow.v0.models.reasons_per_region']),
3803
3812
  review_status: T['io.flow.v0.enums.review_status'],
3804
3813
  rules: PropTypes.arrayOf(T['io.flow.v0.enums.product_restriction_rule']),
3805
3814
  updated_by: PropTypes.string,
@@ -4442,129 +4451,6 @@ T['io.flow.v0.models.order_refund_summary'] = PropTypes.exact({
4442
4451
  amounts: T['io.flow.v0.models.order_refund_summary_amounts'].isRequired,
4443
4452
  });
4444
4453
 
4445
- T['io.flow.v0.models.order_quote_price_estimated'] = PropTypes.exact({
4446
- discriminator: PropTypes.oneOf(['estimated']).isRequired,
4447
- amount: PropTypes.number.isRequired,
4448
- currency: PropTypes.string.isRequired,
4449
- label: PropTypes.string.isRequired,
4450
- });
4451
-
4452
- T['io.flow.v0.models.order_quote_price_included'] = PropTypes.exact({
4453
- discriminator: PropTypes.oneOf(['included']).isRequired,
4454
- placeholder: PropTypes.string,
4455
- });
4456
-
4457
- T['io.flow.v0.models.order_quote_price_not_yet_known'] = PropTypes.exact({
4458
- discriminator: PropTypes.oneOf(['not_yet_known']).isRequired,
4459
- placeholder: PropTypes.string,
4460
- });
4461
-
4462
- T['io.flow.v0.models.order_quote_price_free'] = PropTypes.exact({
4463
- discriminator: PropTypes.oneOf(['free']).isRequired,
4464
- placeholder: PropTypes.string,
4465
- });
4466
-
4467
- T['io.flow.v0.enums.order_quote_line_error_code'] = PropTypes.oneOf([
4468
- 'line_item_number_invalid',
4469
- 'line_item_number_not_available',
4470
- 'line_quantity_invalid',
4471
- 'line_value_threshold_exceeded',
4472
- ]);
4473
-
4474
- T['io.flow.v0.models.order_quote_price_standard'] = PropTypes.exact({
4475
- discriminator: PropTypes.oneOf(['price']).isRequired,
4476
- amount: PropTypes.number.isRequired,
4477
- currency: PropTypes.string.isRequired,
4478
- label: PropTypes.string.isRequired,
4479
- });
4480
-
4481
- T['io.flow.v0.models.order_quote_line_discount'] = PropTypes.exact({
4482
- applied: T['io.flow.v0.models.order_quote_price_standard'].isRequired,
4483
- label: PropTypes.string,
4484
- });
4485
-
4486
- T['io.flow.v0.models.order_quote_line_error'] = PropTypes.exact({
4487
- code: T['io.flow.v0.enums.order_quote_line_error_code'].isRequired,
4488
- message: PropTypes.string.isRequired,
4489
- });
4490
-
4491
- T['io.flow.v0.enums.order_quote_error_code'] = PropTypes.oneOf([
4492
- 'contact_email_invalid',
4493
- 'contact_email_required',
4494
- 'contact_phone_invalid',
4495
- 'contact_phone_required',
4496
- 'country_not_supported',
4497
- 'currency_invalid',
4498
- 'first_name_invalid',
4499
- 'first_name_required',
4500
- 'geo_required_when_no_session',
4501
- 'language_invalid',
4502
- 'last_name_invalid',
4503
- 'last_name_required',
4504
- 'line_item_number_invalid',
4505
- 'line_item_number_not_available',
4506
- 'line_not_found',
4507
- 'line_quantity_invalid',
4508
- 'line_value_threshold_exceeded',
4509
- 'name_missing_first_or_last',
4510
- 'name_required',
4511
- 'order_quote_requires_at_least_one_line',
4512
- 'session_not_found',
4513
- 'session_organization_mismatch',
4514
- ]);
4515
-
4516
- T['io.flow.v0.models.order_quote_error_details'] = PropTypes.exact({
4517
- code: T['io.flow.v0.enums.order_quote_error_code'].isRequired,
4518
- message: PropTypes.string.isRequired,
4519
- });
4520
-
4521
- T['io.flow.v0.models.order_quote_error'] = PropTypes.exact({
4522
- errors: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_error_details']).isRequired,
4523
- });
4524
-
4525
- T['io.flow.v0.unions.order_quote_price'] = PropTypes.oneOfType([
4526
- T['io.flow.v0.models.order_quote_price_free'],
4527
- T['io.flow.v0.models.order_quote_price_not_yet_known'],
4528
- T['io.flow.v0.models.order_quote_price_included'],
4529
- T['io.flow.v0.models.order_quote_price_standard'],
4530
- T['io.flow.v0.models.order_quote_price_estimated'],
4531
- ]);
4532
-
4533
- T['io.flow.v0.models.order_quote_summary_shipping_surcharges'] = PropTypes.exact({
4534
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4535
- });
4536
-
4537
- T['io.flow.v0.models.order_quote_summary_shipping_freight'] = PropTypes.exact({
4538
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4539
- });
4540
-
4541
- T['io.flow.v0.models.order_quote_summary_total'] = PropTypes.exact({
4542
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4543
- });
4544
-
4545
- T['io.flow.v0.models.order_quote_summary_duty'] = PropTypes.exact({
4546
- name: PropTypes.string.isRequired,
4547
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4548
- });
4549
-
4550
- T['io.flow.v0.models.order_quote_summary_tax'] = PropTypes.exact({
4551
- name: PropTypes.string.isRequired,
4552
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4553
- });
4554
-
4555
- T['io.flow.v0.models.order_quote_summary_shipping'] = PropTypes.exact({
4556
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
4557
- freight: T['io.flow.v0.models.order_quote_summary_shipping_freight'],
4558
- surcharges: T['io.flow.v0.models.order_quote_summary_shipping_surcharges'],
4559
- });
4560
-
4561
- T['io.flow.v0.models.order_quote_geo_put_form'] = PropTypes.exact({
4562
- country: PropTypes.string,
4563
- ip: PropTypes.string,
4564
- currency: PropTypes.string,
4565
- language: PropTypes.string,
4566
- });
4567
-
4568
4454
  T['io.flow.v0.models.order_number_generator_fixed_length'] = PropTypes.exact({
4569
4455
  length: PropTypes.number.isRequired,
4570
4456
  padding: PropTypes.string.isRequired,
@@ -5085,10 +4971,10 @@ T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
5085
4971
  'emergency',
5086
4972
  'peak',
5087
4973
  'address_correction',
5088
- 'security_ratecard_fee',
5089
- 'eei_filing_ratecard_fee',
5090
- 'fixed_ddp_ratecard_fee',
5091
- 'fixed_currency_conversion_ratecard_fee',
4974
+ 'security',
4975
+ 'eei_filing',
4976
+ 'fixed_ddp',
4977
+ 'fixed_currency_conversion',
5092
4978
  ]);
5093
4979
 
5094
4980
  T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
@@ -6058,7 +5944,14 @@ T['io.flow.v0.models.discount_offer_percent'] = PropTypes.exact({
6058
5944
  });
6059
5945
 
6060
5946
  T['io.flow.v0.enums.authorization_option'] = PropTypes.oneOf(['store_card']);
6061
- T['io.flow.v0.enums.package_dimensions_source'] = PropTypes.oneOf(['provided', 'dimensions_estimated']);
5947
+
5948
+ T['io.flow.v0.enums.package_dimensions_source'] = PropTypes.oneOf([
5949
+ 'provided',
5950
+ 'item_dimensions_estimated',
5951
+ 'dimensions_estimated',
5952
+ 'default_item_dimensions_estimated',
5953
+ ]);
5954
+
6062
5955
  T['io.flow.v0.enums.shipment_recipient'] = PropTypes.oneOf(['customer', 'return', 'crossdock']);
6063
5956
  T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
6064
5957
  T['io.flow.v0.enums.levy_component'] = PropTypes.oneOf(['goods', 'duty', 'insurance', 'freight', 'vat']);
@@ -9293,13 +9186,6 @@ T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
9293
9186
  value: T['io.flow.v0.models.price'].isRequired,
9294
9187
  });
9295
9188
 
9296
- T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
9297
- price: T['io.flow.v0.models.price'].isRequired,
9298
- name: PropTypes.string,
9299
- rate: PropTypes.number,
9300
- rate_label: PropTypes.string,
9301
- });
9302
-
9303
9189
  T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
9304
9190
  number: PropTypes.string.isRequired,
9305
9191
  name: PropTypes.string.isRequired,
@@ -9325,6 +9211,13 @@ T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
9325
9211
  attributes: PropTypes.objectOf(PropTypes.string),
9326
9212
  });
9327
9213
 
9214
+ T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
9215
+ price: T['io.flow.v0.models.price'].isRequired,
9216
+ name: PropTypes.string,
9217
+ rate: PropTypes.number,
9218
+ rate_label: PropTypes.string,
9219
+ });
9220
+
9328
9221
  T['io.flow.v0.models.order_summary'] = PropTypes.exact({
9329
9222
  number: PropTypes.string.isRequired,
9330
9223
  subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
@@ -9341,34 +9234,6 @@ T['io.flow.v0.models.order_summary'] = PropTypes.exact({
9341
9234
  attributes: PropTypes.objectOf(PropTypes.string),
9342
9235
  });
9343
9236
 
9344
- T['io.flow.v0.models.order_quote_line'] = PropTypes.exact({
9345
- id: PropTypes.string.isRequired,
9346
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
9347
- errors: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line_error']),
9348
- quantity: PropTypes.number.isRequired,
9349
- discount: T['io.flow.v0.models.order_quote_line_discount'],
9350
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9351
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9352
- unit_price: T['io.flow.v0.unions.order_quote_price'].isRequired,
9353
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9354
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.order_quote_price_standard']).isRequired,
9355
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9356
- });
9357
-
9358
- T['io.flow.v0.models.order_quote_summary_items'] = PropTypes.exact({
9359
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line']).isRequired,
9360
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9361
- });
9362
-
9363
- T['io.flow.v0.models.order_quote_summary'] = PropTypes.exact({
9364
- items: T['io.flow.v0.models.order_quote_summary_items'].isRequired,
9365
- shipping: T['io.flow.v0.models.order_quote_summary_shipping'],
9366
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9367
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9368
- total: T['io.flow.v0.models.order_quote_summary_total'].isRequired,
9369
- balance: T['io.flow.v0.unions.order_quote_price'].isRequired,
9370
- });
9371
-
9372
9237
  T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
9373
9238
  local: T['io.flow.v0.models.price'].isRequired,
9374
9239
  original: T['io.flow.v0.models.price'].isRequired,
@@ -13070,18 +12935,6 @@ T['io.flow.v0.models.order_replacement_form'] = PropTypes.exact({
13070
12935
  items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']),
13071
12936
  });
13072
12937
 
13073
- T['io.flow.v0.models.order_quote_put_form'] = PropTypes.exact({
13074
- line_items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']),
13075
- session: T['io.flow.v0.models.session_reference'],
13076
- geo: T['io.flow.v0.models.order_quote_geo_put_form'],
13077
- });
13078
-
13079
- T['io.flow.v0.models.order_quote'] = PropTypes.exact({
13080
- id: PropTypes.string.isRequired,
13081
- form: T['io.flow.v0.models.order_quote_put_form'].isRequired,
13082
- summary: T['io.flow.v0.models.order_quote_summary'],
13083
- });
13084
-
13085
12938
  T['io.flow.v0.models.order_put_form'] = PropTypes.exact({
13086
12939
  order_type: T['io.flow.v0.enums.order_type'],
13087
12940
  items: PropTypes.arrayOf(T['io.flow.v0.models.line_item_form']).isRequired,
@@ -13958,7 +13811,6 @@ T['io.flow.v0.enums.onboarding_trade_sector'] = PropTypes.oneOf([
13958
13811
  'other',
13959
13812
  ]);
13960
13813
 
13961
- T['io.flow.v0.enums.order_quote_address_type'] = PropTypes.oneOf(['shipping']);
13962
13814
  T['io.flow.v0.enums.return_status'] = PropTypes.oneOf(['open', 'refunded']);
13963
13815
  T['io.flow.v0.enums.schedule_exception_status'] = PropTypes.oneOf(['Open', 'Closed']);
13964
13816
  T['io.flow.v0.enums.shopify_grant'] = PropTypes.oneOf(['customer', 'discount', 'gift_card', 'metafield', 'order']);
@@ -14375,27 +14227,6 @@ T['io.flow.v0.models.order_number_generator_generated_number'] = PropTypes.exact
14375
14227
  number: PropTypes.string.isRequired,
14376
14228
  });
14377
14229
 
14378
- T['io.flow.v0.models.order_quote_address'] = PropTypes.exact({
14379
- name: PropTypes.string,
14380
- first_name: PropTypes.string,
14381
- last_name: PropTypes.string,
14382
- country: PropTypes.string,
14383
- streets: PropTypes.arrayOf(PropTypes.string),
14384
- city: PropTypes.string,
14385
- province: PropTypes.string,
14386
- postal: PropTypes.string,
14387
- company: PropTypes.string,
14388
- });
14389
-
14390
- T['io.flow.v0.models.order_quote_contact'] = PropTypes.exact({
14391
- email: PropTypes.string,
14392
- phone: PropTypes.string,
14393
- });
14394
-
14395
- T['io.flow.v0.models.order_quote_reference'] = PropTypes.exact({
14396
- id: PropTypes.string.isRequired,
14397
- });
14398
-
14399
14230
  T['io.flow.v0.models.order_service_change_form'] = PropTypes.exact({
14400
14231
  from_service_id: PropTypes.string.isRequired,
14401
14232
  to_service_id: PropTypes.string.isRequired,
@@ -15827,34 +15658,6 @@ export const orderPromotion = T['io.flow.v0.unions.order_promotion'];
15827
15658
  export const orderPromotionForm = T['io.flow.v0.unions.order_promotion_form'];
15828
15659
  export const orderPromotionTrigger = T['io.flow.v0.models.order_promotion_trigger'];
15829
15660
  export const orderPutForm = T['io.flow.v0.models.order_put_form'];
15830
- export const orderQuote = T['io.flow.v0.models.order_quote'];
15831
- export const orderQuoteAddress = T['io.flow.v0.models.order_quote_address'];
15832
- export const orderQuoteAddressType = T['io.flow.v0.enums.order_quote_address_type'];
15833
- export const orderQuoteContact = T['io.flow.v0.models.order_quote_contact'];
15834
- export const orderQuoteError = T['io.flow.v0.models.order_quote_error'];
15835
- export const orderQuoteErrorCode = T['io.flow.v0.enums.order_quote_error_code'];
15836
- export const orderQuoteErrorDetails = T['io.flow.v0.models.order_quote_error_details'];
15837
- export const orderQuoteGeoPutForm = T['io.flow.v0.models.order_quote_geo_put_form'];
15838
- export const orderQuoteLine = T['io.flow.v0.models.order_quote_line'];
15839
- export const orderQuoteLineDiscount = T['io.flow.v0.models.order_quote_line_discount'];
15840
- export const orderQuoteLineError = T['io.flow.v0.models.order_quote_line_error'];
15841
- export const orderQuoteLineErrorCode = T['io.flow.v0.enums.order_quote_line_error_code'];
15842
- export const orderQuotePrice = T['io.flow.v0.unions.order_quote_price'];
15843
- export const orderQuotePriceEstimated = T['io.flow.v0.models.order_quote_price_estimated'];
15844
- export const orderQuotePriceFree = T['io.flow.v0.models.order_quote_price_free'];
15845
- export const orderQuotePriceIncluded = T['io.flow.v0.models.order_quote_price_included'];
15846
- export const orderQuotePriceNotYetKnown = T['io.flow.v0.models.order_quote_price_not_yet_known'];
15847
- export const orderQuotePriceStandard = T['io.flow.v0.models.order_quote_price_standard'];
15848
- export const orderQuotePutForm = T['io.flow.v0.models.order_quote_put_form'];
15849
- export const orderQuoteReference = T['io.flow.v0.models.order_quote_reference'];
15850
- export const orderQuoteSummary = T['io.flow.v0.models.order_quote_summary'];
15851
- export const orderQuoteSummaryDuty = T['io.flow.v0.models.order_quote_summary_duty'];
15852
- export const orderQuoteSummaryItems = T['io.flow.v0.models.order_quote_summary_items'];
15853
- export const orderQuoteSummaryShipping = T['io.flow.v0.models.order_quote_summary_shipping'];
15854
- export const orderQuoteSummaryShippingFreight = T['io.flow.v0.models.order_quote_summary_shipping_freight'];
15855
- export const orderQuoteSummaryShippingSurcharges = T['io.flow.v0.models.order_quote_summary_shipping_surcharges'];
15856
- export const orderQuoteSummaryTax = T['io.flow.v0.models.order_quote_summary_tax'];
15857
- export const orderQuoteSummaryTotal = T['io.flow.v0.models.order_quote_summary_total'];
15858
15661
  export const orderReference = T['io.flow.v0.models.order_reference'];
15859
15662
  export const orderRefundSummary = T['io.flow.v0.models.order_refund_summary'];
15860
15663
  export const orderRefundSummaryAmounts = T['io.flow.v0.models.order_refund_summary_amounts'];
@@ -16217,6 +16020,7 @@ export const ratecardVersion = T['io.flow.v0.models.ratecard_version'];
16217
16020
  export const readyToFulfill = T['io.flow.v0.models.ready_to_fulfill'];
16218
16021
  export const readyToFulfillDetails = T['io.flow.v0.models.ready_to_fulfill_details'];
16219
16022
  export const readyToFulfillV2 = T['io.flow.v0.models.ready_to_fulfill_v2'];
16023
+ export const reasonsPerRegion = T['io.flow.v0.models.reasons_per_region'];
16220
16024
  export const redirectAuthorizationDetails = T['io.flow.v0.models.redirect_authorization_details'];
16221
16025
  export const redirectAuthorizationForm = T['io.flow.v0.models.redirect_authorization_form'];
16222
16026
  export const refund = T['io.flow.v0.models.refund'];
@@ -16256,6 +16060,7 @@ export const reservationItem = T['io.flow.v0.models.reservation_item'];
16256
16060
  export const reservationItemForm = T['io.flow.v0.models.reservation_item_form'];
16257
16061
  export const reservationItemReference = T['io.flow.v0.models.reservation_item_reference'];
16258
16062
  export const reservationOrderReference = T['io.flow.v0.models.reservation_order_reference'];
16063
+ export const restrictedReviewStatus = T['io.flow.v0.enums.restricted_review_status'];
16259
16064
  export const UNSAFE_return = T['io.flow.v0.models.return'];
16260
16065
  export const returnDeleted = T['io.flow.v0.models.return_deleted'];
16261
16066
  export const returnDeletedV2 = T['io.flow.v0.models.return_deleted_v2'];