@flowio/types 11.24.90 → 11.24.92

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/dist/api.d.ts CHANGED
@@ -2009,9 +2009,6 @@ declare namespace io.flow.v0.enums {
2009
2009
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
2010
2010
  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';
2011
2011
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
2012
- type OrderQuoteAddressType = 'shipping';
2013
- 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';
2014
- type OrderQuoteLineErrorCode = 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_quantity_invalid' | 'line_value_threshold_exceeded';
2015
2012
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
2016
2013
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
2017
2014
  type OrderStatus = 'open' | 'submitted';
@@ -2020,7 +2017,7 @@ declare namespace io.flow.v0.enums {
2020
2017
  type OrganizationPaymentMethodTag = 'deny';
2021
2018
  type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
2022
2019
  type OrganizationType = 'standalone' | 'channel';
2023
- type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
2020
+ type PackageDimensionsSource = 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated';
2024
2021
  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';
2025
2022
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
2026
2023
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
@@ -2055,6 +2052,7 @@ declare namespace io.flow.v0.enums {
2055
2052
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
2056
2053
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
2057
2054
  type RegionType = 'state' | 'province' | 'jurisdiction';
2055
+ type RestrictedReviewStatus = 'in_review' | 'reviewed';
2058
2056
  type ReturnItemStatus = 'returnable' | 'non-returnable';
2059
2057
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
2060
2058
  type ReturnStatus = 'open' | 'refunded';
@@ -2099,7 +2097,7 @@ declare namespace io.flow.v0.enums {
2099
2097
  type TradeAgreementStatus = 'supported' | 'not_supported';
2100
2098
  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';
2101
2099
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
2102
- 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';
2100
+ type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion';
2103
2101
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
2104
2102
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2105
2103
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
@@ -6952,126 +6950,6 @@ declare namespace io.flow.v0.models {
6952
6950
  readonly options?: io.flow.v0.models.OrderOptions;
6953
6951
  readonly device_details?: io.flow.v0.unions.DeviceDetails;
6954
6952
  }
6955
- interface OrderQuote {
6956
- readonly id: string;
6957
- readonly form: io.flow.v0.models.OrderQuotePutForm;
6958
- readonly summary?: io.flow.v0.models.OrderQuoteSummary;
6959
- }
6960
- interface OrderQuoteAddress {
6961
- readonly name?: string;
6962
- readonly first_name?: string;
6963
- readonly last_name?: string;
6964
- readonly country?: string;
6965
- readonly streets?: string[];
6966
- readonly city?: string;
6967
- readonly province?: string;
6968
- readonly postal?: string;
6969
- readonly company?: string;
6970
- }
6971
- interface OrderQuoteContact {
6972
- readonly email?: string;
6973
- readonly phone?: string;
6974
- }
6975
- interface OrderQuoteError {
6976
- readonly errors: io.flow.v0.models.OrderQuoteErrorDetails[];
6977
- }
6978
- interface OrderQuoteErrorDetails {
6979
- readonly code: io.flow.v0.enums.OrderQuoteErrorCode;
6980
- readonly message: string;
6981
- }
6982
- interface OrderQuoteGeoPutForm {
6983
- readonly country?: string;
6984
- readonly ip?: string;
6985
- readonly currency?: string;
6986
- readonly language?: string;
6987
- }
6988
- interface OrderQuoteLine {
6989
- readonly id: string;
6990
- readonly item: io.flow.v0.models.OrderSummaryItem;
6991
- readonly errors?: io.flow.v0.models.OrderQuoteLineError[];
6992
- readonly quantity: number;
6993
- readonly discount?: io.flow.v0.models.OrderQuoteLineDiscount;
6994
- readonly tax?: io.flow.v0.models.OrderQuoteSummaryTax;
6995
- readonly duty?: io.flow.v0.models.OrderQuoteSummaryDuty;
6996
- readonly unit_price: io.flow.v0.unions.OrderQuotePrice;
6997
- readonly total: io.flow.v0.unions.OrderQuotePrice;
6998
- readonly price_attributes: Record<string, io.flow.v0.models.OrderQuotePriceStandard>;
6999
- readonly attributes: Record<string, string>;
7000
- }
7001
- interface OrderQuoteLineDiscount {
7002
- readonly applied: io.flow.v0.models.OrderQuotePriceStandard;
7003
- readonly label?: string;
7004
- }
7005
- interface OrderQuoteLineError {
7006
- readonly code: io.flow.v0.enums.OrderQuoteLineErrorCode;
7007
- readonly message: string;
7008
- }
7009
- interface OrderQuotePriceEstimated {
7010
- readonly discriminator: 'estimated';
7011
- readonly amount: number;
7012
- readonly currency: string;
7013
- readonly label: string;
7014
- }
7015
- interface OrderQuotePriceFree {
7016
- readonly discriminator: 'free';
7017
- readonly placeholder?: string;
7018
- }
7019
- interface OrderQuotePriceIncluded {
7020
- readonly discriminator: 'included';
7021
- readonly placeholder?: string;
7022
- }
7023
- interface OrderQuotePriceNotYetKnown {
7024
- readonly discriminator: 'not_yet_known';
7025
- readonly placeholder?: string;
7026
- }
7027
- interface OrderQuotePriceStandard {
7028
- readonly discriminator: 'price';
7029
- readonly amount: number;
7030
- readonly currency: string;
7031
- readonly label: string;
7032
- }
7033
- interface OrderQuotePutForm {
7034
- readonly line_items?: io.flow.v0.models.LineItemForm[];
7035
- readonly session?: io.flow.v0.models.SessionReference;
7036
- readonly geo?: io.flow.v0.models.OrderQuoteGeoPutForm;
7037
- }
7038
- interface OrderQuoteReference {
7039
- readonly id: string;
7040
- }
7041
- interface OrderQuoteSummary {
7042
- readonly items: io.flow.v0.models.OrderQuoteSummaryItems;
7043
- readonly shipping?: io.flow.v0.models.OrderQuoteSummaryShipping;
7044
- readonly tax?: io.flow.v0.models.OrderQuoteSummaryTax;
7045
- readonly duty?: io.flow.v0.models.OrderQuoteSummaryDuty;
7046
- readonly total: io.flow.v0.models.OrderQuoteSummaryTotal;
7047
- readonly balance: io.flow.v0.unions.OrderQuotePrice;
7048
- }
7049
- interface OrderQuoteSummaryDuty {
7050
- readonly name: string;
7051
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7052
- }
7053
- interface OrderQuoteSummaryItems {
7054
- readonly lines: io.flow.v0.models.OrderQuoteLine[];
7055
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7056
- }
7057
- interface OrderQuoteSummaryShipping {
7058
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7059
- readonly freight?: io.flow.v0.models.OrderQuoteSummaryShippingFreight;
7060
- readonly surcharges?: io.flow.v0.models.OrderQuoteSummaryShippingSurcharges;
7061
- }
7062
- interface OrderQuoteSummaryShippingFreight {
7063
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7064
- }
7065
- interface OrderQuoteSummaryShippingSurcharges {
7066
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7067
- }
7068
- interface OrderQuoteSummaryTax {
7069
- readonly name: string;
7070
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7071
- }
7072
- interface OrderQuoteSummaryTotal {
7073
- readonly total: io.flow.v0.unions.OrderQuotePrice;
7074
- }
7075
6953
  interface OrderReference {
7076
6954
  readonly discriminator: 'order_reference';
7077
6955
  readonly id: string;
@@ -8514,6 +8392,7 @@ declare namespace io.flow.v0.models {
8514
8392
  readonly product_id: string;
8515
8393
  readonly item_numbers: string[];
8516
8394
  readonly prohibited_regions: string[];
8395
+ readonly reasons_per_region?: io.flow.v0.models.ReasonsPerRegion[];
8517
8396
  readonly review_status?: io.flow.v0.enums.ReviewStatus;
8518
8397
  readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
8519
8398
  readonly updated_by?: string;
@@ -8922,6 +8801,11 @@ declare namespace io.flow.v0.models {
8922
8801
  readonly organization: string;
8923
8802
  readonly ready_to_fulfill: io.flow.v0.models.ReadyToFulfillDetails;
8924
8803
  }
8804
+ interface ReasonsPerRegion {
8805
+ readonly region: string;
8806
+ readonly reasons: string[];
8807
+ readonly review_status: io.flow.v0.enums.RestrictedReviewStatus;
8808
+ }
8925
8809
  interface RedirectAuthorizationDetails {
8926
8810
  readonly discriminator: 'redirect_authorization_details';
8927
8811
  readonly id: string;
@@ -11068,7 +10952,6 @@ declare namespace io.flow.v0.unions {
11068
10952
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
11069
10953
  type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
11070
10954
  type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
11071
- 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;
11072
10955
  type OrderRefundSummaryForm = io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm;
11073
10956
  type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
11074
10957
  type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
@@ -12089,34 +11972,6 @@ export declare type OrderPromotion = io.flow.v0.unions.OrderPromotion;
12089
11972
  export declare type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
12090
11973
  export declare type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
12091
11974
  export declare type OrderPutForm = io.flow.v0.models.OrderPutForm;
12092
- export declare type OrderQuote = io.flow.v0.models.OrderQuote;
12093
- export declare type OrderQuoteAddress = io.flow.v0.models.OrderQuoteAddress;
12094
- export declare type OrderQuoteAddressType = io.flow.v0.enums.OrderQuoteAddressType;
12095
- export declare type OrderQuoteContact = io.flow.v0.models.OrderQuoteContact;
12096
- export declare type OrderQuoteError = io.flow.v0.models.OrderQuoteError;
12097
- export declare type OrderQuoteErrorCode = io.flow.v0.enums.OrderQuoteErrorCode;
12098
- export declare type OrderQuoteErrorDetails = io.flow.v0.models.OrderQuoteErrorDetails;
12099
- export declare type OrderQuoteGeoPutForm = io.flow.v0.models.OrderQuoteGeoPutForm;
12100
- export declare type OrderQuoteLine = io.flow.v0.models.OrderQuoteLine;
12101
- export declare type OrderQuoteLineDiscount = io.flow.v0.models.OrderQuoteLineDiscount;
12102
- export declare type OrderQuoteLineError = io.flow.v0.models.OrderQuoteLineError;
12103
- export declare type OrderQuoteLineErrorCode = io.flow.v0.enums.OrderQuoteLineErrorCode;
12104
- export declare type OrderQuotePrice = io.flow.v0.unions.OrderQuotePrice;
12105
- export declare type OrderQuotePriceEstimated = io.flow.v0.models.OrderQuotePriceEstimated;
12106
- export declare type OrderQuotePriceFree = io.flow.v0.models.OrderQuotePriceFree;
12107
- export declare type OrderQuotePriceIncluded = io.flow.v0.models.OrderQuotePriceIncluded;
12108
- export declare type OrderQuotePriceNotYetKnown = io.flow.v0.models.OrderQuotePriceNotYetKnown;
12109
- export declare type OrderQuotePriceStandard = io.flow.v0.models.OrderQuotePriceStandard;
12110
- export declare type OrderQuotePutForm = io.flow.v0.models.OrderQuotePutForm;
12111
- export declare type OrderQuoteReference = io.flow.v0.models.OrderQuoteReference;
12112
- export declare type OrderQuoteSummary = io.flow.v0.models.OrderQuoteSummary;
12113
- export declare type OrderQuoteSummaryDuty = io.flow.v0.models.OrderQuoteSummaryDuty;
12114
- export declare type OrderQuoteSummaryItems = io.flow.v0.models.OrderQuoteSummaryItems;
12115
- export declare type OrderQuoteSummaryShipping = io.flow.v0.models.OrderQuoteSummaryShipping;
12116
- export declare type OrderQuoteSummaryShippingFreight = io.flow.v0.models.OrderQuoteSummaryShippingFreight;
12117
- export declare type OrderQuoteSummaryShippingSurcharges = io.flow.v0.models.OrderQuoteSummaryShippingSurcharges;
12118
- export declare type OrderQuoteSummaryTax = io.flow.v0.models.OrderQuoteSummaryTax;
12119
- export declare type OrderQuoteSummaryTotal = io.flow.v0.models.OrderQuoteSummaryTotal;
12120
11975
  export declare type OrderReference = io.flow.v0.models.OrderReference;
12121
11976
  export declare type OrderRefundSummary = io.flow.v0.models.OrderRefundSummary;
12122
11977
  export declare type OrderRefundSummaryAmounts = io.flow.v0.models.OrderRefundSummaryAmounts;
@@ -12479,6 +12334,7 @@ export declare type RatecardVersion = io.flow.v0.models.RatecardVersion;
12479
12334
  export declare type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
12480
12335
  export declare type ReadyToFulfillDetails = io.flow.v0.models.ReadyToFulfillDetails;
12481
12336
  export declare type ReadyToFulfillV2 = io.flow.v0.models.ReadyToFulfillV2;
12337
+ export declare type ReasonsPerRegion = io.flow.v0.models.ReasonsPerRegion;
12482
12338
  export declare type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
12483
12339
  export declare type RedirectAuthorizationForm = io.flow.v0.models.RedirectAuthorizationForm;
12484
12340
  export declare type Refund = io.flow.v0.models.Refund;
@@ -12518,6 +12374,7 @@ export declare type ReservationItem = io.flow.v0.models.ReservationItem;
12518
12374
  export declare type ReservationItemForm = io.flow.v0.models.ReservationItemForm;
12519
12375
  export declare type ReservationItemReference = io.flow.v0.models.ReservationItemReference;
12520
12376
  export declare type ReservationOrderReference = io.flow.v0.models.ReservationOrderReference;
12377
+ export declare type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus;
12521
12378
  export declare type Return = io.flow.v0.models.Return;
12522
12379
  export declare type ReturnDeleted = io.flow.v0.models.ReturnDeleted;
12523
12380
  export declare type ReturnDeletedV2 = io.flow.v0.models.ReturnDeletedV2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.90",
3
+ "version": "11.24.92",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
28
+ "gitHead": "92e35a5f134c649a116d30d3d3af55458f8afa4d"
29
29
  }