@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/src/api.ts CHANGED
@@ -3195,35 +3195,6 @@ declare namespace io.flow.v0.enums {
3195
3195
  | 'discount'
3196
3196
  | 'surcharges'
3197
3197
  | 'tip';
3198
- type OrderQuoteAddressType = 'shipping';
3199
- type OrderQuoteErrorCode =
3200
- | 'contact_email_invalid'
3201
- | 'contact_email_required'
3202
- | 'contact_phone_invalid'
3203
- | 'contact_phone_required'
3204
- | 'country_not_supported'
3205
- | 'currency_invalid'
3206
- | 'first_name_invalid'
3207
- | 'first_name_required'
3208
- | 'geo_required_when_no_session'
3209
- | 'language_invalid'
3210
- | 'last_name_invalid'
3211
- | 'last_name_required'
3212
- | 'line_item_number_invalid'
3213
- | 'line_item_number_not_available'
3214
- | 'line_not_found'
3215
- | 'line_quantity_invalid'
3216
- | 'line_value_threshold_exceeded'
3217
- | 'name_missing_first_or_last'
3218
- | 'name_required'
3219
- | 'order_quote_requires_at_least_one_line'
3220
- | 'session_not_found'
3221
- | 'session_organization_mismatch';
3222
- type OrderQuoteLineErrorCode =
3223
- | 'line_item_number_invalid'
3224
- | 'line_item_number_not_available'
3225
- | 'line_quantity_invalid'
3226
- | 'line_value_threshold_exceeded';
3227
3198
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
3228
3199
  type OrderRefundSummaryPartialCharged =
3229
3200
  | 'per_item'
@@ -3240,7 +3211,11 @@ declare namespace io.flow.v0.enums {
3240
3211
  | 'deactivated'
3241
3212
  | 'provisioned';
3242
3213
  type OrganizationType = 'standalone' | 'channel';
3243
- type PackageDimensionsSource = 'provided' | 'dimensions_estimated';
3214
+ type PackageDimensionsSource =
3215
+ | 'provided'
3216
+ | 'item_dimensions_estimated'
3217
+ | 'dimensions_estimated'
3218
+ | 'default_item_dimensions_estimated';
3244
3219
  type PaymentActionType =
3245
3220
  | 'redirect'
3246
3221
  | 'redirect_get'
@@ -3431,6 +3406,7 @@ declare namespace io.flow.v0.enums {
3431
3406
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
3432
3407
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
3433
3408
  type RegionType = 'state' | 'province' | 'jurisdiction';
3409
+ type RestrictedReviewStatus = 'in_review' | 'reviewed';
3434
3410
  type ReturnItemStatus = 'returnable' | 'non-returnable';
3435
3411
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
3436
3412
  type ReturnStatus = 'open' | 'refunded';
@@ -3579,10 +3555,10 @@ declare namespace io.flow.v0.enums {
3579
3555
  | 'emergency'
3580
3556
  | 'peak'
3581
3557
  | 'address_correction'
3582
- | 'security_ratecard_fee'
3583
- | 'eei_filing_ratecard_fee'
3584
- | 'fixed_ddp_ratecard_fee'
3585
- | 'fixed_currency_conversion_ratecard_fee';
3558
+ | 'security'
3559
+ | 'eei_filing'
3560
+ | 'fixed_ddp'
3561
+ | 'fixed_currency_conversion';
3586
3562
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
3587
3563
  type UnitOfMeasurement =
3588
3564
  | 'millimeter'
@@ -9246,153 +9222,6 @@ declare namespace io.flow.v0.models {
9246
9222
  readonly device_details?: io.flow.v0.unions.DeviceDetails;
9247
9223
  }
9248
9224
 
9249
- interface OrderQuote {
9250
- readonly id: string;
9251
- readonly form: io.flow.v0.models.OrderQuotePutForm;
9252
- readonly summary?: io.flow.v0.models.OrderQuoteSummary;
9253
- }
9254
-
9255
- interface OrderQuoteAddress {
9256
- readonly name?: string;
9257
- readonly first_name?: string;
9258
- readonly last_name?: string;
9259
- readonly country?: string;
9260
- readonly streets?: string[];
9261
- readonly city?: string;
9262
- readonly province?: string;
9263
- readonly postal?: string;
9264
- readonly company?: string;
9265
- }
9266
-
9267
- interface OrderQuoteContact {
9268
- readonly email?: string;
9269
- readonly phone?: string;
9270
- }
9271
-
9272
- interface OrderQuoteError {
9273
- readonly errors: io.flow.v0.models.OrderQuoteErrorDetails[];
9274
- }
9275
-
9276
- interface OrderQuoteErrorDetails {
9277
- readonly code: io.flow.v0.enums.OrderQuoteErrorCode;
9278
- readonly message: string;
9279
- }
9280
-
9281
- interface OrderQuoteGeoPutForm {
9282
- readonly country?: string;
9283
- readonly ip?: string;
9284
- readonly currency?: string;
9285
- readonly language?: string;
9286
- }
9287
-
9288
- interface OrderQuoteLine {
9289
- readonly id: string;
9290
- readonly item: io.flow.v0.models.OrderSummaryItem;
9291
- readonly errors?: io.flow.v0.models.OrderQuoteLineError[];
9292
- readonly quantity: number;
9293
- readonly discount?: io.flow.v0.models.OrderQuoteLineDiscount;
9294
- readonly tax?: io.flow.v0.models.OrderQuoteSummaryTax;
9295
- readonly duty?: io.flow.v0.models.OrderQuoteSummaryDuty;
9296
- readonly unit_price: io.flow.v0.unions.OrderQuotePrice;
9297
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9298
- readonly price_attributes: Record<
9299
- string,
9300
- io.flow.v0.models.OrderQuotePriceStandard
9301
- >;
9302
- readonly attributes: Record<string, string>;
9303
- }
9304
-
9305
- interface OrderQuoteLineDiscount {
9306
- readonly applied: io.flow.v0.models.OrderQuotePriceStandard;
9307
- readonly label?: string;
9308
- }
9309
-
9310
- interface OrderQuoteLineError {
9311
- readonly code: io.flow.v0.enums.OrderQuoteLineErrorCode;
9312
- readonly message: string;
9313
- }
9314
-
9315
- interface OrderQuotePriceEstimated {
9316
- readonly discriminator: 'estimated';
9317
- readonly amount: number;
9318
- readonly currency: string;
9319
- readonly label: string;
9320
- }
9321
-
9322
- interface OrderQuotePriceFree {
9323
- readonly discriminator: 'free';
9324
- readonly placeholder?: string;
9325
- }
9326
-
9327
- interface OrderQuotePriceIncluded {
9328
- readonly discriminator: 'included';
9329
- readonly placeholder?: string;
9330
- }
9331
-
9332
- interface OrderQuotePriceNotYetKnown {
9333
- readonly discriminator: 'not_yet_known';
9334
- readonly placeholder?: string;
9335
- }
9336
-
9337
- interface OrderQuotePriceStandard {
9338
- readonly discriminator: 'price';
9339
- readonly amount: number;
9340
- readonly currency: string;
9341
- readonly label: string;
9342
- }
9343
-
9344
- interface OrderQuotePutForm {
9345
- readonly line_items?: io.flow.v0.models.LineItemForm[];
9346
- readonly session?: io.flow.v0.models.SessionReference;
9347
- readonly geo?: io.flow.v0.models.OrderQuoteGeoPutForm;
9348
- }
9349
-
9350
- interface OrderQuoteReference {
9351
- readonly id: string;
9352
- }
9353
-
9354
- interface OrderQuoteSummary {
9355
- readonly items: io.flow.v0.models.OrderQuoteSummaryItems;
9356
- readonly shipping?: io.flow.v0.models.OrderQuoteSummaryShipping;
9357
- readonly tax?: io.flow.v0.models.OrderQuoteSummaryTax;
9358
- readonly duty?: io.flow.v0.models.OrderQuoteSummaryDuty;
9359
- readonly total: io.flow.v0.models.OrderQuoteSummaryTotal;
9360
- readonly balance: io.flow.v0.unions.OrderQuotePrice;
9361
- }
9362
-
9363
- interface OrderQuoteSummaryDuty {
9364
- readonly name: string;
9365
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9366
- }
9367
-
9368
- interface OrderQuoteSummaryItems {
9369
- readonly lines: io.flow.v0.models.OrderQuoteLine[];
9370
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9371
- }
9372
-
9373
- interface OrderQuoteSummaryShipping {
9374
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9375
- readonly freight?: io.flow.v0.models.OrderQuoteSummaryShippingFreight;
9376
- readonly surcharges?: io.flow.v0.models.OrderQuoteSummaryShippingSurcharges;
9377
- }
9378
-
9379
- interface OrderQuoteSummaryShippingFreight {
9380
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9381
- }
9382
-
9383
- interface OrderQuoteSummaryShippingSurcharges {
9384
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9385
- }
9386
-
9387
- interface OrderQuoteSummaryTax {
9388
- readonly name: string;
9389
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9390
- }
9391
-
9392
- interface OrderQuoteSummaryTotal {
9393
- readonly total: io.flow.v0.unions.OrderQuotePrice;
9394
- }
9395
-
9396
9225
  interface OrderReference {
9397
9226
  readonly discriminator: 'order_reference';
9398
9227
  readonly id: string;
@@ -11077,6 +10906,7 @@ declare namespace io.flow.v0.models {
11077
10906
  readonly product_id: string;
11078
10907
  readonly item_numbers: string[];
11079
10908
  readonly prohibited_regions: string[];
10909
+ readonly reasons_per_region?: io.flow.v0.models.ReasonsPerRegion[];
11080
10910
  readonly review_status?: io.flow.v0.enums.ReviewStatus;
11081
10911
  readonly rules?: io.flow.v0.enums.ProductRestrictionRule[];
11082
10912
  readonly updated_by?: string;
@@ -11543,6 +11373,12 @@ declare namespace io.flow.v0.models {
11543
11373
  readonly ready_to_fulfill: io.flow.v0.models.ReadyToFulfillDetails;
11544
11374
  }
11545
11375
 
11376
+ interface ReasonsPerRegion {
11377
+ readonly region: string;
11378
+ readonly reasons: string[];
11379
+ readonly review_status: io.flow.v0.enums.RestrictedReviewStatus;
11380
+ }
11381
+
11546
11382
  interface RedirectAuthorizationDetails {
11547
11383
  readonly discriminator: 'redirect_authorization_details';
11548
11384
  readonly id: string;
@@ -14379,12 +14215,6 @@ declare namespace io.flow.v0.unions {
14379
14215
  | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
14380
14216
  type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
14381
14217
  type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
14382
- type OrderQuotePrice =
14383
- | io.flow.v0.models.OrderQuotePriceFree
14384
- | io.flow.v0.models.OrderQuotePriceNotYetKnown
14385
- | io.flow.v0.models.OrderQuotePriceIncluded
14386
- | io.flow.v0.models.OrderQuotePriceStandard
14387
- | io.flow.v0.models.OrderQuotePriceEstimated;
14388
14218
  type OrderRefundSummaryForm =
14389
14219
  | io.flow.v0.models.OrderRefundSummaryFullForm
14390
14220
  | io.flow.v0.models.OrderRefundSummaryPartialForm;
@@ -15809,39 +15639,6 @@ export type OrderPromotion = io.flow.v0.unions.OrderPromotion;
15809
15639
  export type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm;
15810
15640
  export type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger;
15811
15641
  export type OrderPutForm = io.flow.v0.models.OrderPutForm;
15812
- export type OrderQuote = io.flow.v0.models.OrderQuote;
15813
- export type OrderQuoteAddress = io.flow.v0.models.OrderQuoteAddress;
15814
- export type OrderQuoteAddressType = io.flow.v0.enums.OrderQuoteAddressType;
15815
- export type OrderQuoteContact = io.flow.v0.models.OrderQuoteContact;
15816
- export type OrderQuoteError = io.flow.v0.models.OrderQuoteError;
15817
- export type OrderQuoteErrorCode = io.flow.v0.enums.OrderQuoteErrorCode;
15818
- export type OrderQuoteErrorDetails = io.flow.v0.models.OrderQuoteErrorDetails;
15819
- export type OrderQuoteGeoPutForm = io.flow.v0.models.OrderQuoteGeoPutForm;
15820
- export type OrderQuoteLine = io.flow.v0.models.OrderQuoteLine;
15821
- export type OrderQuoteLineDiscount = io.flow.v0.models.OrderQuoteLineDiscount;
15822
- export type OrderQuoteLineError = io.flow.v0.models.OrderQuoteLineError;
15823
- export type OrderQuoteLineErrorCode = io.flow.v0.enums.OrderQuoteLineErrorCode;
15824
- export type OrderQuotePrice = io.flow.v0.unions.OrderQuotePrice;
15825
- export type OrderQuotePriceEstimated =
15826
- io.flow.v0.models.OrderQuotePriceEstimated;
15827
- export type OrderQuotePriceFree = io.flow.v0.models.OrderQuotePriceFree;
15828
- export type OrderQuotePriceIncluded = io.flow.v0.models.OrderQuotePriceIncluded;
15829
- export type OrderQuotePriceNotYetKnown =
15830
- io.flow.v0.models.OrderQuotePriceNotYetKnown;
15831
- export type OrderQuotePriceStandard = io.flow.v0.models.OrderQuotePriceStandard;
15832
- export type OrderQuotePutForm = io.flow.v0.models.OrderQuotePutForm;
15833
- export type OrderQuoteReference = io.flow.v0.models.OrderQuoteReference;
15834
- export type OrderQuoteSummary = io.flow.v0.models.OrderQuoteSummary;
15835
- export type OrderQuoteSummaryDuty = io.flow.v0.models.OrderQuoteSummaryDuty;
15836
- export type OrderQuoteSummaryItems = io.flow.v0.models.OrderQuoteSummaryItems;
15837
- export type OrderQuoteSummaryShipping =
15838
- io.flow.v0.models.OrderQuoteSummaryShipping;
15839
- export type OrderQuoteSummaryShippingFreight =
15840
- io.flow.v0.models.OrderQuoteSummaryShippingFreight;
15841
- export type OrderQuoteSummaryShippingSurcharges =
15842
- io.flow.v0.models.OrderQuoteSummaryShippingSurcharges;
15843
- export type OrderQuoteSummaryTax = io.flow.v0.models.OrderQuoteSummaryTax;
15844
- export type OrderQuoteSummaryTotal = io.flow.v0.models.OrderQuoteSummaryTotal;
15845
15642
  export type OrderReference = io.flow.v0.models.OrderReference;
15846
15643
  export type OrderRefundSummary = io.flow.v0.models.OrderRefundSummary;
15847
15644
  export type OrderRefundSummaryAmounts =
@@ -16324,6 +16121,7 @@ export type RatecardVersion = io.flow.v0.models.RatecardVersion;
16324
16121
  export type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
16325
16122
  export type ReadyToFulfillDetails = io.flow.v0.models.ReadyToFulfillDetails;
16326
16123
  export type ReadyToFulfillV2 = io.flow.v0.models.ReadyToFulfillV2;
16124
+ export type ReasonsPerRegion = io.flow.v0.models.ReasonsPerRegion;
16327
16125
  export type RedirectAuthorizationDetails =
16328
16126
  io.flow.v0.models.RedirectAuthorizationDetails;
16329
16127
  export type RedirectAuthorizationForm =
@@ -16370,6 +16168,7 @@ export type ReservationItemReference =
16370
16168
  io.flow.v0.models.ReservationItemReference;
16371
16169
  export type ReservationOrderReference =
16372
16170
  io.flow.v0.models.ReservationOrderReference;
16171
+ export type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus;
16373
16172
  export type Return = io.flow.v0.models.Return;
16374
16173
  export type ReturnDeleted = io.flow.v0.models.ReturnDeleted;
16375
16174
  export type ReturnDeletedV2 = io.flow.v0.models.ReturnDeletedV2;