@flowio/api-prop-types 10.16.86 → 10.16.87
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/lib/api.d.ts +2263 -302
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +2263 -302
- package/src/api.js +2483 -262
package/lib/api.d.ts
CHANGED
|
@@ -2324,123 +2324,2299 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
|
|
2327
|
-
declare namespace io.flow.
|
|
2328
|
-
type
|
|
2327
|
+
declare namespace io.flow.order.price.v0.enums {
|
|
2328
|
+
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';
|
|
2329
|
+
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
|
|
2329
2330
|
}
|
|
2330
2331
|
|
|
2331
|
-
declare namespace io.flow.
|
|
2332
|
-
interface
|
|
2333
|
-
readonly '
|
|
2334
|
-
readonly '
|
|
2332
|
+
declare namespace io.flow.order.price.v0.models {
|
|
2333
|
+
interface OrderPriceDetail {
|
|
2334
|
+
readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
2335
|
+
readonly 'currency': string;
|
|
2336
|
+
readonly 'amount': number;
|
|
2337
|
+
readonly 'label': string;
|
|
2338
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
2339
|
+
readonly 'components': io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
2340
|
+
readonly 'name'?: string;
|
|
2341
|
+
readonly 'rate'?: number;
|
|
2342
|
+
readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
|
|
2343
|
+
readonly 'rate_label'?: string;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
interface OrderPriceDetailComponent {
|
|
2347
|
+
readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
2348
|
+
readonly 'currency': string;
|
|
2349
|
+
readonly 'amount': number;
|
|
2350
|
+
readonly 'label': string;
|
|
2351
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
2352
|
+
readonly 'name'?: string;
|
|
2335
2353
|
}
|
|
2336
2354
|
}
|
|
2337
2355
|
|
|
2338
|
-
declare namespace io.flow.
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2356
|
+
declare namespace io.flow.common.v0.enums {
|
|
2357
|
+
type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
|
|
2358
|
+
type AvailabilityStatus = 'enabled' | 'disabled';
|
|
2359
|
+
type Calendar = 'weekdays' | 'everyday';
|
|
2360
|
+
type Capability = 'crossdock';
|
|
2361
|
+
type ChangeType = 'insert' | 'update' | 'delete';
|
|
2362
|
+
type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
|
|
2363
|
+
type CurrencySymbolFormat = 'narrow' | 'primary';
|
|
2364
|
+
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
2365
|
+
type DeliveredDuty = 'paid' | 'unpaid';
|
|
2366
|
+
type DiscountTarget = 'item' | 'shipping';
|
|
2367
|
+
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
2368
|
+
type Environment = 'sandbox' | 'production';
|
|
2369
|
+
type ExceptionType = 'open' | 'closed';
|
|
2370
|
+
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
2371
|
+
type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
|
|
2372
|
+
type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
|
|
2373
|
+
type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
|
|
2374
|
+
type InputSpecificationType = 'text' | 'number';
|
|
2375
|
+
type MarginType = 'fixed' | 'percent';
|
|
2376
|
+
type MeasurementSystem = 'imperial' | 'metric';
|
|
2377
|
+
type MerchantOfRecord = 'flow' | 'organization';
|
|
2378
|
+
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2379
|
+
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
2380
|
+
type OrganizationType = 'standalone' | 'channel';
|
|
2381
|
+
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
2382
|
+
type Role = 'admin' | 'member';
|
|
2383
|
+
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
2384
|
+
type RoundingType = 'pattern' | 'multiple';
|
|
2385
|
+
type ScheduleExceptionStatus = 'Open' | 'Closed';
|
|
2386
|
+
type SortDirection = 'ascending' | 'descending';
|
|
2387
|
+
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2388
|
+
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
2389
|
+
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
2390
|
+
type ValueAddedService = 'Hazardous Material';
|
|
2391
|
+
type Visibility = 'public' | 'private';
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
declare namespace io.flow.common.v0.models {
|
|
2395
|
+
interface Address {
|
|
2396
|
+
readonly 'text'?: string;
|
|
2397
|
+
readonly 'streets'?: string[];
|
|
2398
|
+
readonly 'street_number'?: string;
|
|
2399
|
+
readonly 'city'?: string;
|
|
2400
|
+
readonly 'province'?: string;
|
|
2401
|
+
readonly 'postal'?: string;
|
|
2402
|
+
readonly 'country'?: string;
|
|
2403
|
+
readonly 'latitude'?: string;
|
|
2404
|
+
readonly 'longitude'?: string;
|
|
2343
2405
|
}
|
|
2344
2406
|
|
|
2345
|
-
interface
|
|
2346
|
-
readonly '
|
|
2347
|
-
readonly '
|
|
2348
|
-
readonly '
|
|
2407
|
+
interface BillingAddress {
|
|
2408
|
+
readonly 'name'?: io.flow.common.v0.models.Name;
|
|
2409
|
+
readonly 'streets'?: string[];
|
|
2410
|
+
readonly 'city'?: string;
|
|
2411
|
+
readonly 'province'?: string;
|
|
2412
|
+
readonly 'postal'?: string;
|
|
2413
|
+
readonly 'country'?: string;
|
|
2414
|
+
readonly 'company'?: string;
|
|
2349
2415
|
}
|
|
2350
2416
|
|
|
2351
|
-
interface
|
|
2417
|
+
interface CatalogItemReference {
|
|
2418
|
+
readonly 'id': string;
|
|
2419
|
+
readonly 'number': string;
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
interface CatalogItemSummary {
|
|
2423
|
+
readonly 'number': string;
|
|
2352
2424
|
readonly 'name': string;
|
|
2425
|
+
readonly 'attributes': Record<string, string>;
|
|
2353
2426
|
}
|
|
2354
2427
|
|
|
2355
|
-
interface
|
|
2428
|
+
interface ChannelReference {
|
|
2429
|
+
readonly 'id': string;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
interface CheckoutReference {
|
|
2433
|
+
readonly 'id': string;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
interface Contact {
|
|
2437
|
+
readonly 'name': io.flow.common.v0.models.Name;
|
|
2438
|
+
readonly 'company'?: string;
|
|
2439
|
+
readonly 'email'?: string;
|
|
2440
|
+
readonly 'phone'?: string;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
interface CustomerInvoice {
|
|
2444
|
+
readonly 'address'?: io.flow.common.v0.models.BillingAddress;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
interface CustomerReference {
|
|
2448
|
+
readonly 'number': string;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
interface DatetimeRange {
|
|
2452
|
+
readonly 'from': string;
|
|
2453
|
+
readonly 'to': string;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
interface Dimension {
|
|
2457
|
+
readonly 'depth'?: io.flow.common.v0.models.Measurement;
|
|
2458
|
+
readonly 'diameter'?: io.flow.common.v0.models.Measurement;
|
|
2459
|
+
readonly 'length'?: io.flow.common.v0.models.Measurement;
|
|
2460
|
+
readonly 'weight'?: io.flow.common.v0.models.Measurement;
|
|
2461
|
+
readonly 'width'?: io.flow.common.v0.models.Measurement;
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
interface Dimensions {
|
|
2465
|
+
readonly 'product'?: io.flow.common.v0.models.Dimension;
|
|
2466
|
+
readonly 'packaging'?: io.flow.common.v0.models.Dimension;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
interface DiscountForm {
|
|
2470
|
+
readonly 'offer': io.flow.common.v0.unions.DiscountOffer;
|
|
2471
|
+
readonly 'target'?: io.flow.common.v0.enums.DiscountTarget;
|
|
2472
|
+
readonly 'label'?: string;
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
interface DiscountOfferFixed {
|
|
2476
|
+
readonly 'discriminator': 'discount_offer_fixed';
|
|
2477
|
+
readonly 'money': io.flow.common.v0.models.Money;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
interface DiscountOfferPercent {
|
|
2481
|
+
readonly 'discriminator': 'discount_offer_percent';
|
|
2482
|
+
readonly 'percent': number;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
interface DiscountsForm {
|
|
2486
|
+
readonly 'discounts': io.flow.common.v0.models.DiscountForm[];
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
interface Duration {
|
|
2490
|
+
readonly 'unit': io.flow.common.v0.enums.UnitOfTime;
|
|
2491
|
+
readonly 'value': number;
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
interface EntityIdentifier {
|
|
2495
|
+
readonly 'name': io.flow.common.v0.enums.EntityIdentifierType;
|
|
2496
|
+
readonly 'number': string;
|
|
2497
|
+
readonly 'issuing_country'?: string;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
interface Exception {
|
|
2501
|
+
readonly 'type': io.flow.common.v0.enums.ExceptionType;
|
|
2502
|
+
readonly 'datetime_range': io.flow.common.v0.models.DatetimeRange;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
interface ExperienceSummary {
|
|
2356
2506
|
readonly 'id': string;
|
|
2507
|
+
readonly 'key': string;
|
|
2508
|
+
readonly 'name': string;
|
|
2509
|
+
readonly 'country'?: string;
|
|
2510
|
+
readonly 'currency'?: string;
|
|
2511
|
+
readonly 'language'?: string;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
interface IncludedLevies {
|
|
2515
|
+
readonly 'key': io.flow.common.v0.enums.IncludedLevyKey;
|
|
2516
|
+
readonly 'label': string;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
interface InputForm {
|
|
2520
|
+
readonly 'values'?: Record<string, string>;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
interface InputFormSpecification {
|
|
2524
|
+
readonly 'inputs'?: io.flow.common.v0.models.InputSpecification[];
|
|
2525
|
+
readonly 'limitations'?: io.flow.common.v0.models.InputSpecificationLimitations;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
interface InputSpecification {
|
|
2529
|
+
readonly 'type': io.flow.common.v0.enums.InputSpecificationType;
|
|
2530
|
+
readonly 'name': string;
|
|
2531
|
+
readonly 'display_text'?: string;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
interface InputSpecificationLimitationMax {
|
|
2535
|
+
readonly 'discriminator': 'input_specification_limitation_max';
|
|
2536
|
+
readonly 'max': number;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
interface InputSpecificationLimitations {
|
|
2540
|
+
readonly 'limitations'?: io.flow.common.v0.unions.InputSpecificationLimitation[];
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
interface ItemReference {
|
|
2544
|
+
readonly 'number': string;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
interface LineItem {
|
|
2548
|
+
readonly 'number': string;
|
|
2549
|
+
readonly 'quantity': number;
|
|
2550
|
+
readonly 'price': io.flow.common.v0.models.Money;
|
|
2551
|
+
readonly 'attributes': Record<string, string>;
|
|
2552
|
+
readonly 'center'?: string;
|
|
2553
|
+
readonly 'discount'?: io.flow.common.v0.models.Money;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
interface LineItemAttributesForm {
|
|
2557
|
+
readonly 'attributes': Record<string, string>;
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
interface LineItemForm {
|
|
2561
|
+
readonly 'number': string;
|
|
2562
|
+
readonly 'quantity': number;
|
|
2563
|
+
readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
|
|
2564
|
+
readonly 'price'?: io.flow.common.v0.models.Money;
|
|
2565
|
+
readonly 'attributes'?: Record<string, string>;
|
|
2566
|
+
readonly 'center'?: string;
|
|
2567
|
+
readonly 'discount'?: io.flow.common.v0.models.Money;
|
|
2568
|
+
readonly 'discounts'?: io.flow.common.v0.models.DiscountsForm;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
interface LineItemQuantityForm {
|
|
2572
|
+
readonly 'quantity': number;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
interface LogoImageSetStatic {
|
|
2576
|
+
readonly 'discriminator': 'static';
|
|
2577
|
+
readonly 'small'?: io.flow.common.v0.models.LogoImageStatic;
|
|
2578
|
+
readonly 'medium': io.flow.common.v0.models.LogoImageStatic;
|
|
2579
|
+
readonly 'large'?: io.flow.common.v0.models.LogoImageStatic;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
interface LogoImageStatic {
|
|
2583
|
+
readonly 'url': string;
|
|
2584
|
+
readonly 'width': number;
|
|
2585
|
+
readonly 'height': number;
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
interface LogoImageSvg {
|
|
2589
|
+
readonly 'discriminator': 'svg';
|
|
2590
|
+
readonly 'url': string;
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
interface Margin {
|
|
2594
|
+
readonly 'type': io.flow.common.v0.enums.MarginType;
|
|
2595
|
+
readonly 'value': number;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
interface Measurement {
|
|
2599
|
+
readonly 'value': string;
|
|
2600
|
+
readonly 'units': io.flow.common.v0.enums.UnitOfMeasurement;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
interface MerchantOfRecordEntity {
|
|
2604
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
2357
2605
|
readonly 'name': string;
|
|
2606
|
+
readonly 'vat'?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
|
|
2607
|
+
readonly 'identifiers'?: io.flow.common.v0.models.EntityIdentifier[];
|
|
2608
|
+
readonly 'streets': string[];
|
|
2609
|
+
readonly 'city': string;
|
|
2610
|
+
readonly 'province'?: string;
|
|
2611
|
+
readonly 'postal'?: string;
|
|
2612
|
+
readonly 'country': string;
|
|
2613
|
+
readonly 'phone'?: string;
|
|
2614
|
+
readonly 'email'?: string;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
interface MerchantOfRecordEntityRegistration {
|
|
2618
|
+
readonly 'number': string;
|
|
2619
|
+
readonly 'country': string;
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
interface Money {
|
|
2623
|
+
readonly 'amount': number;
|
|
2624
|
+
readonly 'currency': string;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
interface MoneyWithBase {
|
|
2628
|
+
readonly 'currency': string;
|
|
2629
|
+
readonly 'amount': number;
|
|
2630
|
+
readonly 'base': io.flow.common.v0.models.Money;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
interface MoneyWithOptionalBase {
|
|
2634
|
+
readonly 'currency': string;
|
|
2635
|
+
readonly 'amount': number;
|
|
2636
|
+
readonly 'base'?: io.flow.common.v0.models.Money;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
interface Name {
|
|
2640
|
+
readonly 'first'?: string;
|
|
2641
|
+
readonly 'last'?: string;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
interface OrderCustomer {
|
|
2645
|
+
readonly 'name': io.flow.common.v0.models.Name;
|
|
2646
|
+
readonly 'number'?: string;
|
|
2647
|
+
readonly 'phone'?: string;
|
|
2648
|
+
readonly 'email'?: string;
|
|
2649
|
+
readonly 'address'?: io.flow.common.v0.models.BillingAddress;
|
|
2650
|
+
readonly 'invoice'?: io.flow.common.v0.models.CustomerInvoice;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
interface OrderCustomerForm {
|
|
2654
|
+
readonly 'name'?: io.flow.common.v0.models.Name;
|
|
2655
|
+
readonly 'number'?: string;
|
|
2656
|
+
readonly 'phone'?: string;
|
|
2657
|
+
readonly 'email'?: string;
|
|
2658
|
+
readonly 'address'?: io.flow.common.v0.models.BillingAddress;
|
|
2659
|
+
readonly 'invoice'?: io.flow.common.v0.models.CustomerInvoice;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
interface Organization {
|
|
2663
|
+
readonly 'discriminator': 'organization';
|
|
2664
|
+
readonly 'id': string;
|
|
2665
|
+
readonly 'name': string;
|
|
2666
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
2667
|
+
readonly 'parent'?: io.flow.common.v0.models.OrganizationReference;
|
|
2668
|
+
readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
|
|
2669
|
+
readonly 'created_at'?: string;
|
|
2670
|
+
readonly 'status'?: io.flow.common.v0.enums.OrganizationStatus;
|
|
2671
|
+
readonly 'type'?: io.flow.common.v0.enums.OrganizationType;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
interface OrganizationDefaults {
|
|
2675
|
+
readonly 'country': string;
|
|
2676
|
+
readonly 'base_currency': string;
|
|
2677
|
+
readonly 'language': string;
|
|
2678
|
+
readonly 'locale': string;
|
|
2679
|
+
readonly 'timezone': string;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
interface OrganizationReference {
|
|
2683
|
+
readonly 'discriminator': 'organization_reference';
|
|
2684
|
+
readonly 'id': string;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
interface OrganizationSummary {
|
|
2688
|
+
readonly 'id': string;
|
|
2689
|
+
readonly 'name': string;
|
|
2690
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
interface PartnerReference {
|
|
2694
|
+
readonly 'id': string;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
interface Price {
|
|
2698
|
+
readonly 'amount': number;
|
|
2699
|
+
readonly 'currency': string;
|
|
2700
|
+
readonly 'label': string;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
interface PriceForm {
|
|
2704
|
+
readonly 'amount': number;
|
|
2705
|
+
readonly 'currency': string;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
interface PriceSourceCatalog {
|
|
2709
|
+
readonly 'discriminator': 'catalog';
|
|
2710
|
+
readonly 'price': io.flow.common.v0.models.Money;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
interface PriceSourcePriceBook {
|
|
2714
|
+
readonly 'discriminator': 'price_book';
|
|
2715
|
+
readonly 'price': io.flow.common.v0.models.Money;
|
|
2716
|
+
readonly 'includes': io.flow.common.v0.models.IncludedLevies;
|
|
2717
|
+
readonly 'price_book_reference': io.flow.common.v0.models.PriceSourcePriceBookReference;
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
interface PriceSourcePriceBookReference {
|
|
2721
|
+
readonly 'id': string;
|
|
2722
|
+
readonly 'key': string;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
interface PriceSourceProvided {
|
|
2726
|
+
readonly 'discriminator': 'provided';
|
|
2727
|
+
readonly 'price': io.flow.common.v0.models.Money;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
interface PriceWithBase {
|
|
2731
|
+
readonly 'currency': string;
|
|
2732
|
+
readonly 'amount': number;
|
|
2733
|
+
readonly 'label': string;
|
|
2734
|
+
readonly 'base'?: io.flow.common.v0.models.Price;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
interface RepeatDaily {
|
|
2738
|
+
readonly 'discriminator': 'repeat_daily';
|
|
2739
|
+
readonly 'interval': number;
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
interface RepeatHourly {
|
|
2743
|
+
readonly 'discriminator': 'repeat_hourly';
|
|
2744
|
+
readonly 'interval': number;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
interface RepeatMonthly {
|
|
2748
|
+
readonly 'discriminator': 'repeat_monthly';
|
|
2749
|
+
readonly 'interval': number;
|
|
2750
|
+
readonly 'days': number[];
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
interface RepeatWeekly {
|
|
2754
|
+
readonly 'discriminator': 'repeat_weekly';
|
|
2755
|
+
readonly 'interval': number;
|
|
2756
|
+
readonly 'days_of_week': io.flow.common.v0.enums.DayOfWeek[];
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
interface Rounding {
|
|
2760
|
+
readonly 'type': io.flow.common.v0.enums.RoundingType;
|
|
2761
|
+
readonly 'method': io.flow.common.v0.enums.RoundingMethod;
|
|
2762
|
+
readonly 'value': number;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
interface Schedule {
|
|
2766
|
+
readonly 'calendar'?: io.flow.common.v0.enums.Calendar;
|
|
2767
|
+
readonly 'holiday': io.flow.common.v0.enums.HolidayCalendar;
|
|
2768
|
+
readonly 'exception': io.flow.common.v0.models.Exception[];
|
|
2769
|
+
readonly 'cutoff'?: string;
|
|
2770
|
+
readonly 'min_lead_time'?: number;
|
|
2771
|
+
readonly 'max_lead_time'?: number;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
interface SessionReference {
|
|
2775
|
+
readonly 'id': string;
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
interface User {
|
|
2779
|
+
readonly 'discriminator': 'user';
|
|
2780
|
+
readonly 'id': string;
|
|
2781
|
+
readonly 'email'?: string;
|
|
2782
|
+
readonly 'name': io.flow.common.v0.models.Name;
|
|
2783
|
+
readonly 'status': io.flow.common.v0.enums.UserStatus;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
interface UserReference {
|
|
2787
|
+
readonly 'discriminator': 'user_reference';
|
|
2788
|
+
readonly 'id': string;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
interface Zone {
|
|
2792
|
+
readonly 'postals'?: string[];
|
|
2793
|
+
readonly 'provinces'?: string[];
|
|
2794
|
+
readonly 'country': string;
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
declare namespace io.flow.common.v0.unions {
|
|
2799
|
+
type DiscountOffer = (io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent);
|
|
2800
|
+
type ExpandableOrganization = (io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference);
|
|
2801
|
+
type ExpandableUser = (io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference);
|
|
2802
|
+
type InputSpecificationLimitation = (io.flow.common.v0.models.InputSpecificationLimitationMax);
|
|
2803
|
+
type LogoImage = (io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic);
|
|
2804
|
+
type PriceSource = (io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided);
|
|
2805
|
+
type RepeatSchedule = (io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly);
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
declare namespace io.flow.error.v0.enums {
|
|
2809
|
+
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
declare namespace io.flow.error.v0.models {
|
|
2813
|
+
interface GenericError {
|
|
2814
|
+
readonly 'code': io.flow.error.v0.enums.GenericErrorCode;
|
|
2815
|
+
readonly 'messages': string[];
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
declare namespace io.flow.price.v0.enums {
|
|
2820
|
+
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
2821
|
+
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
2822
|
+
type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination';
|
|
2823
|
+
type PriceDetailComponentKey = 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin';
|
|
2824
|
+
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2825
|
+
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
declare namespace io.flow.price.v0.models {
|
|
2829
|
+
interface CurrencyFormat {
|
|
2830
|
+
readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
|
|
2831
|
+
readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
interface DeminimisPerItem {
|
|
2835
|
+
readonly 'discriminator': 'deminimis_per_item';
|
|
2836
|
+
readonly 'currency': string;
|
|
2837
|
+
readonly 'minimum'?: number;
|
|
2838
|
+
readonly 'maximum'?: number;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
interface DeminimisSimple {
|
|
2842
|
+
readonly 'discriminator': 'deminimis_simple';
|
|
2843
|
+
readonly 'value'?: number;
|
|
2844
|
+
readonly 'currency': string;
|
|
2845
|
+
readonly 'components': io.flow.price.v0.enums.LevyComponent[];
|
|
2846
|
+
readonly 'minimum'?: number;
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
interface Duty {
|
|
2850
|
+
readonly 'rate': number;
|
|
2851
|
+
readonly 'components': io.flow.price.v0.enums.LevyComponent[];
|
|
2852
|
+
readonly 'deminimis'?: io.flow.price.v0.unions.Deminimis;
|
|
2853
|
+
readonly 'name'?: string;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
interface LocalPriceDetails {
|
|
2857
|
+
readonly 'base': io.flow.price.v0.models.PriceDetails;
|
|
2858
|
+
readonly 'local': io.flow.price.v0.models.PriceDetails;
|
|
2859
|
+
readonly 'discount'?: io.flow.price.v0.models.PriceDetail;
|
|
2860
|
+
readonly 'local_before_discount'?: io.flow.price.v0.models.PriceDetail;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
interface PriceBook {
|
|
2864
|
+
readonly 'id': string;
|
|
2865
|
+
readonly 'key': string;
|
|
2866
|
+
readonly 'currency': string;
|
|
2867
|
+
readonly 'name': string;
|
|
2868
|
+
readonly 'includes': io.flow.common.v0.models.IncludedLevies;
|
|
2869
|
+
readonly 'status': io.flow.common.v0.enums.PriceBookStatus;
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
interface PriceBookForm {
|
|
2873
|
+
readonly 'currency': string;
|
|
2874
|
+
readonly 'name': string;
|
|
2875
|
+
readonly 'includes': io.flow.common.v0.enums.IncludedLevyKey;
|
|
2876
|
+
readonly 'status'?: io.flow.common.v0.enums.PriceBookStatus;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
interface PriceBookItem {
|
|
2880
|
+
readonly 'id': string;
|
|
2881
|
+
readonly 'key': string;
|
|
2882
|
+
readonly 'price_book': io.flow.price.v0.models.PriceBookReference;
|
|
2883
|
+
readonly 'price': io.flow.common.v0.models.Price;
|
|
2884
|
+
readonly 'item_number': string;
|
|
2885
|
+
readonly 'schedule': io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2886
|
+
readonly 'item_attributes'?: Record<string, string>;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
interface PriceBookItemForm {
|
|
2890
|
+
readonly 'price_book_key': string;
|
|
2891
|
+
readonly 'item_number': string;
|
|
2892
|
+
readonly 'amount': number;
|
|
2893
|
+
readonly 'schedule'?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2894
|
+
readonly 'item_attributes'?: Record<string, string>;
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
interface PriceBookItemQueryForm {
|
|
2898
|
+
readonly 'price_book_key': string;
|
|
2899
|
+
readonly 'item_query': string;
|
|
2900
|
+
readonly 'amount': number;
|
|
2901
|
+
readonly 'schedule'?: io.flow.price.v0.models.PriceBookItemSchedule;
|
|
2902
|
+
readonly 'item_attributes'?: Record<string, string>;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
interface PriceBookItemSchedule {
|
|
2906
|
+
readonly 'starts_at': string;
|
|
2907
|
+
readonly 'ends_at'?: string;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
interface PriceBookReference {
|
|
2911
|
+
readonly 'id': string;
|
|
2912
|
+
readonly 'key': string;
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
interface PriceCheck {
|
|
2916
|
+
readonly 'display': io.flow.price.v0.models.LocalPriceDetails;
|
|
2917
|
+
readonly 'final': io.flow.price.v0.models.LocalPriceDetails;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
interface PriceDetail {
|
|
2921
|
+
readonly 'key': io.flow.price.v0.enums.PriceDetailKey;
|
|
2922
|
+
readonly 'components': io.flow.price.v0.models.PriceDetailComponent[];
|
|
2923
|
+
readonly 'amount': number;
|
|
2924
|
+
readonly 'label': string;
|
|
2925
|
+
readonly 'name'?: string;
|
|
2926
|
+
readonly 'basis'?: number;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
interface PriceDetailComponent {
|
|
2930
|
+
readonly 'key': io.flow.price.v0.enums.PriceDetailComponentKey;
|
|
2931
|
+
readonly 'amount': number;
|
|
2932
|
+
readonly 'label': string;
|
|
2933
|
+
readonly 'name'?: string;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
interface PriceDetails {
|
|
2937
|
+
readonly 'currency': string;
|
|
2938
|
+
readonly 'item_price': io.flow.price.v0.models.PriceDetail;
|
|
2939
|
+
readonly 'margins': io.flow.price.v0.models.PriceDetail;
|
|
2940
|
+
readonly 'vat': io.flow.price.v0.models.PriceDetail;
|
|
2941
|
+
readonly 'duty': io.flow.price.v0.models.PriceDetail;
|
|
2942
|
+
readonly 'rounding': io.flow.price.v0.models.PriceDetail;
|
|
2943
|
+
readonly 'price': io.flow.common.v0.models.Price;
|
|
2944
|
+
readonly 'total': io.flow.common.v0.models.Price;
|
|
2945
|
+
readonly 'adjustment'?: io.flow.price.v0.models.PriceDetail;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
interface PriceEquation {
|
|
2949
|
+
readonly 'contracted_rate': number;
|
|
2950
|
+
readonly 'rate': number;
|
|
2951
|
+
readonly 'pricing': io.flow.price.v0.models.Pricing;
|
|
2952
|
+
readonly 'base_price': number;
|
|
2953
|
+
readonly 'discount': number;
|
|
2954
|
+
readonly 'fixed_margin': number;
|
|
2955
|
+
readonly 'percent_margin': number;
|
|
2956
|
+
readonly 'insurance': number;
|
|
2957
|
+
readonly 'freight': number;
|
|
2958
|
+
readonly 'duty'?: io.flow.price.v0.models.Duty;
|
|
2959
|
+
readonly 'tax'?: io.flow.price.v0.models.Tax;
|
|
2960
|
+
readonly 'percent_sales_margin': number;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
interface Pricing {
|
|
2964
|
+
readonly 'vat': io.flow.price.v0.enums.PricingLevySetting;
|
|
2965
|
+
readonly 'duty': io.flow.price.v0.enums.PricingLevySetting;
|
|
2966
|
+
readonly 'rounding'?: io.flow.common.v0.models.Rounding;
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
interface Tax {
|
|
2970
|
+
readonly 'name': string;
|
|
2971
|
+
readonly 'rate': number;
|
|
2972
|
+
readonly 'components': io.flow.price.v0.enums.LevyComponent[];
|
|
2973
|
+
readonly 'deminimis'?: io.flow.price.v0.unions.Deminimis;
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
declare namespace io.flow.price.v0.unions {
|
|
2978
|
+
type Deminimis = (io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem);
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
declare namespace io.flow.reference.v0.enums {
|
|
2982
|
+
type PaymentMethodCapability = 'credit' | 'debit';
|
|
2983
|
+
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2984
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
2985
|
+
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
declare namespace io.flow.reference.v0.models {
|
|
2989
|
+
interface Carrier {
|
|
2990
|
+
readonly 'id': string;
|
|
2991
|
+
readonly 'name': string;
|
|
2992
|
+
readonly 'tracking_url': string;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
interface CarrierService {
|
|
2996
|
+
readonly 'id': string;
|
|
2997
|
+
readonly 'carrier': io.flow.reference.v0.models.Carrier;
|
|
2998
|
+
readonly 'name': string;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
interface Country {
|
|
3002
|
+
readonly 'name': string;
|
|
3003
|
+
readonly 'iso_3166_2': string;
|
|
3004
|
+
readonly 'iso_3166_3': string;
|
|
3005
|
+
readonly 'languages': string[];
|
|
3006
|
+
readonly 'measurement_system': string;
|
|
3007
|
+
readonly 'default_currency'?: string;
|
|
3008
|
+
readonly 'default_language'?: string;
|
|
3009
|
+
readonly 'timezones': string[];
|
|
3010
|
+
readonly 'default_delivered_duty'?: string;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
interface Currency {
|
|
3014
|
+
readonly 'name': string;
|
|
3015
|
+
readonly 'iso_4217_3': string;
|
|
3016
|
+
readonly 'number_decimals': number;
|
|
3017
|
+
readonly 'symbols'?: io.flow.reference.v0.models.CurrencySymbols;
|
|
3018
|
+
readonly 'default_locale'?: string;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
interface CurrencySymbols {
|
|
3022
|
+
readonly 'primary': string;
|
|
3023
|
+
readonly 'narrow'?: string;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
interface Language {
|
|
3027
|
+
readonly 'name': string;
|
|
3028
|
+
readonly 'iso_639_2': string;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
interface Locale {
|
|
3032
|
+
readonly 'id': string;
|
|
3033
|
+
readonly 'name': string;
|
|
3034
|
+
readonly 'country': string;
|
|
3035
|
+
readonly 'language': string;
|
|
3036
|
+
readonly 'numbers': io.flow.reference.v0.models.LocaleNumbers;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
interface LocaleNumbers {
|
|
3040
|
+
readonly 'decimal': string;
|
|
3041
|
+
readonly 'group': string;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
interface LocalizedTranslation {
|
|
3045
|
+
readonly 'locale': io.flow.reference.v0.models.Locale;
|
|
3046
|
+
readonly 'name': string;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
interface PaymentMethod {
|
|
3050
|
+
readonly 'id': string;
|
|
3051
|
+
readonly 'type': io.flow.reference.v0.enums.PaymentMethodType;
|
|
3052
|
+
readonly 'name': string;
|
|
3053
|
+
readonly 'images': io.flow.reference.v0.models.PaymentMethodImages;
|
|
3054
|
+
readonly 'regions': string[];
|
|
3055
|
+
readonly 'capabilities'?: io.flow.reference.v0.enums.PaymentMethodCapability[];
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
interface PaymentMethodImage {
|
|
3059
|
+
readonly 'url': string;
|
|
3060
|
+
readonly 'width': number;
|
|
3061
|
+
readonly 'height': number;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
interface PaymentMethodImages {
|
|
3065
|
+
readonly 'small': io.flow.reference.v0.models.PaymentMethodImage;
|
|
3066
|
+
readonly 'medium': io.flow.reference.v0.models.PaymentMethodImage;
|
|
3067
|
+
readonly 'large': io.flow.reference.v0.models.PaymentMethodImage;
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
interface Province {
|
|
3071
|
+
readonly 'id': string;
|
|
3072
|
+
readonly 'iso_3166_2': string;
|
|
3073
|
+
readonly 'name': string;
|
|
3074
|
+
readonly 'country': string;
|
|
3075
|
+
readonly 'province_type': io.flow.reference.v0.enums.ProvinceType;
|
|
3076
|
+
readonly 'translations'?: io.flow.reference.v0.models.LocalizedTranslation[];
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
interface Region {
|
|
3080
|
+
readonly 'id': string;
|
|
3081
|
+
readonly 'name': string;
|
|
3082
|
+
readonly 'countries': string[];
|
|
3083
|
+
readonly 'currencies': string[];
|
|
3084
|
+
readonly 'languages': string[];
|
|
3085
|
+
readonly 'measurement_systems': string[];
|
|
3086
|
+
readonly 'timezones': string[];
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
interface Timezone {
|
|
3090
|
+
readonly 'name': string;
|
|
3091
|
+
readonly 'description': string;
|
|
3092
|
+
readonly 'offset': number;
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
declare namespace io.flow.ben.test.internal.v0.models {
|
|
3097
|
+
interface GenerateLoadMultipleOrgs {
|
|
3098
|
+
readonly 'discriminator': 'generate_load_multiple_orgs';
|
|
3099
|
+
readonly 'organization_ids': string[];
|
|
3100
|
+
readonly 'num_events': number;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
interface GenerateLoadSingleOrg {
|
|
3104
|
+
readonly 'discriminator': 'generate_load_single_org';
|
|
3105
|
+
readonly 'organization_id': string;
|
|
3106
|
+
readonly 'num_events': number;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
interface SvitlanaTest {
|
|
3110
|
+
readonly 'name': string;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
interface Test {
|
|
3114
|
+
readonly 'id': string;
|
|
3115
|
+
readonly 'name': string;
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
interface TestForm {
|
|
3119
|
+
readonly 'name': string;
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
declare namespace io.flow.ben.test.internal.v0.unions {
|
|
3124
|
+
type GenerateLoad = (io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs);
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
declare namespace io.flow.fulfillment.v0.enums {
|
|
3128
|
+
type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
|
|
3129
|
+
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
3130
|
+
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
3131
|
+
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
3132
|
+
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
3133
|
+
type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service';
|
|
3134
|
+
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
3135
|
+
type LaneDirection = 'outbound' | 'return';
|
|
3136
|
+
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
3137
|
+
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
3138
|
+
type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
|
|
3139
|
+
type PreferredServiceSelectionStrategy = 'calculated_rate' | 'flat_rate' | 'custom_rate';
|
|
3140
|
+
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
3141
|
+
type RatecardOwner = 'flow' | 'organization';
|
|
3142
|
+
type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
|
|
3143
|
+
type ShippingConfigurationType = 'default' | 'variant';
|
|
3144
|
+
type Strategy = 'range' | 'from' | 'to';
|
|
3145
|
+
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
3146
|
+
type TierAvailability = 'always' | 'backup';
|
|
3147
|
+
type TierEstimateType = 'calculated' | 'custom';
|
|
3148
|
+
type TierStrategy = 'fastest' | 'lowest_cost';
|
|
3149
|
+
type ZeroAmountIndicator = 'zero' | 'free';
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
declare namespace io.flow.fulfillment.v0.models {
|
|
3153
|
+
interface AmountMargin {
|
|
3154
|
+
readonly 'discriminator': 'amount_margin';
|
|
3155
|
+
readonly 'margin': io.flow.common.v0.models.Price;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
interface AmountMarginForm {
|
|
3159
|
+
readonly 'discriminator': 'amount_margin_form';
|
|
3160
|
+
readonly 'margin': io.flow.common.v0.models.Money;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
interface AtCost {
|
|
3164
|
+
readonly 'discriminator': 'at_cost';
|
|
3165
|
+
readonly 'ignore'?: string;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
interface AvailableService {
|
|
3169
|
+
readonly 'service': string;
|
|
3170
|
+
readonly 'scheduled_pickups'?: io.flow.fulfillment.v0.models.ScheduledPickup[];
|
|
3171
|
+
readonly 'lead_days'?: io.flow.fulfillment.v0.models.NumberRange;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
interface CarrierReference {
|
|
3175
|
+
readonly 'id': string;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
interface Center {
|
|
3179
|
+
readonly 'discriminator': 'center';
|
|
3180
|
+
readonly 'id': string;
|
|
3181
|
+
readonly 'key': string;
|
|
3182
|
+
readonly 'address': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3183
|
+
readonly 'packaging': io.flow.fulfillment.v0.models.Packaging[];
|
|
3184
|
+
readonly 'name': string;
|
|
3185
|
+
readonly 'services': io.flow.fulfillment.v0.models.AvailableService[];
|
|
3186
|
+
readonly 'schedule': io.flow.common.v0.models.Schedule;
|
|
3187
|
+
readonly 'timezone': string;
|
|
3188
|
+
readonly 'capabilities'?: io.flow.fulfillment.v0.enums.CenterCapability[];
|
|
3189
|
+
readonly 'partner_center'?: io.flow.fulfillment.v0.models.PartnerCenter;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
interface CenterForm {
|
|
3193
|
+
readonly 'address': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3194
|
+
readonly 'packaging': io.flow.fulfillment.v0.models.Packaging[];
|
|
3195
|
+
readonly 'name': string;
|
|
3196
|
+
readonly 'services': io.flow.fulfillment.v0.models.AvailableService[];
|
|
3197
|
+
readonly 'schedule': io.flow.common.v0.models.Schedule;
|
|
3198
|
+
readonly 'timezone'?: string;
|
|
3199
|
+
readonly 'key'?: string;
|
|
3200
|
+
readonly 'capabilities'?: io.flow.fulfillment.v0.enums.CenterCapability[];
|
|
3201
|
+
readonly 'partner_center_form'?: io.flow.fulfillment.v0.models.PartnerCenterForm;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
interface CenterQuery {
|
|
3205
|
+
readonly 'q': string;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
interface CenterReference {
|
|
3209
|
+
readonly 'discriminator': 'center_reference';
|
|
3210
|
+
readonly 'organization_id': string;
|
|
3211
|
+
readonly 'center_key': string;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
interface CenterSummary {
|
|
3215
|
+
readonly 'id': string;
|
|
3216
|
+
readonly 'key': string;
|
|
3217
|
+
readonly 'address'?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
interface CenterVersion {
|
|
3221
|
+
readonly 'id': string;
|
|
3222
|
+
readonly 'timestamp': string;
|
|
3223
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3224
|
+
readonly 'center': io.flow.fulfillment.v0.models.Center;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
interface CommercialInvoiceFee {
|
|
3228
|
+
readonly 'discriminator': 'commercial_invoice_fee';
|
|
3229
|
+
readonly 'amount': io.flow.common.v0.models.Money;
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
interface CountryAvailability {
|
|
3233
|
+
readonly 'status': io.flow.fulfillment.v0.enums.ItemAvailabilityStatus;
|
|
3234
|
+
readonly 'countries': string[];
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
interface CountryShippingPricing {
|
|
3238
|
+
readonly 'pricing': io.flow.fulfillment.v0.models.ItemShippingPricing;
|
|
3239
|
+
readonly 'countries': string[];
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
interface DeliveryItem {
|
|
3243
|
+
readonly 'id'?: string;
|
|
3244
|
+
readonly 'number': string;
|
|
3245
|
+
readonly 'quantity': number;
|
|
3246
|
+
readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
|
|
3247
|
+
readonly 'price'?: io.flow.common.v0.models.MoneyWithOptionalBase;
|
|
3248
|
+
readonly 'attributes'?: Record<string, string>;
|
|
3249
|
+
readonly 'center'?: string;
|
|
3250
|
+
readonly 'line_number'?: number;
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
interface DeliveryOption {
|
|
3254
|
+
readonly 'id': string;
|
|
3255
|
+
readonly 'cost': io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3256
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
3257
|
+
readonly 'price': io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3258
|
+
readonly 'service': io.flow.fulfillment.v0.models.ServiceSummary;
|
|
3259
|
+
readonly 'tier': io.flow.fulfillment.v0.models.TierSummary;
|
|
3260
|
+
readonly 'window': io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
3261
|
+
readonly 'rule_outcome'?: io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
3262
|
+
readonly 'weight'?: io.flow.fulfillment.v0.models.OptionWeightEstimates;
|
|
3263
|
+
readonly 'send_to'?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3264
|
+
readonly 'surcharge'?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails;
|
|
3265
|
+
readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
interface DeliveryOptionCostComponent {
|
|
3269
|
+
readonly 'key': io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
3270
|
+
readonly 'currency': string;
|
|
3271
|
+
readonly 'amount': number;
|
|
3272
|
+
readonly 'label': string;
|
|
3273
|
+
readonly 'base'?: io.flow.common.v0.models.Price;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
interface DeliveryOptionCostDetail {
|
|
3277
|
+
readonly 'source': io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailSource;
|
|
3278
|
+
readonly 'ratecard_id'?: string;
|
|
3279
|
+
readonly 'currency': string;
|
|
3280
|
+
readonly 'amount': number;
|
|
3281
|
+
readonly 'label': string;
|
|
3282
|
+
readonly 'base'?: io.flow.common.v0.models.Price;
|
|
3283
|
+
readonly 'components': io.flow.fulfillment.v0.models.DeliveryOptionCostComponent[];
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
interface DeliveryOptionForm {
|
|
3287
|
+
readonly 'delivery': string;
|
|
3288
|
+
readonly 'items': io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
3289
|
+
readonly 'destination': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
interface DeliveryOptionReference {
|
|
3293
|
+
readonly 'id': string;
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
interface DeliveryOptionSummary {
|
|
3297
|
+
readonly 'id': string;
|
|
3298
|
+
readonly 'cost': io.flow.common.v0.models.Price;
|
|
3299
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
3300
|
+
readonly 'price': io.flow.common.v0.models.Price;
|
|
3301
|
+
readonly 'service': io.flow.fulfillment.v0.models.ServiceReference;
|
|
3302
|
+
readonly 'tier': io.flow.fulfillment.v0.models.TierReference;
|
|
3303
|
+
readonly 'window': io.flow.common.v0.models.DatetimeRange;
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
interface DeliveryOptionVersion {
|
|
3307
|
+
readonly 'id': string;
|
|
3308
|
+
readonly 'timestamp': string;
|
|
3309
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3310
|
+
readonly 'delivery_option': io.flow.fulfillment.v0.models.DeliveryOptionSummary;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
interface DeliverySummary {
|
|
3314
|
+
readonly 'id': string;
|
|
3315
|
+
readonly 'items': io.flow.common.v0.models.LineItemForm[];
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
interface DeliveryVersion {
|
|
3319
|
+
readonly 'id': string;
|
|
3320
|
+
readonly 'timestamp': string;
|
|
3321
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3322
|
+
readonly 'delivery': io.flow.fulfillment.v0.models.DeliverySummary;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
interface DeliveryWindow {
|
|
3326
|
+
readonly 'from': string;
|
|
3327
|
+
readonly 'to': string;
|
|
3328
|
+
readonly 'timezone'?: string;
|
|
3329
|
+
readonly 'label'?: string;
|
|
3330
|
+
readonly 'min_days'?: number;
|
|
3331
|
+
readonly 'max_days'?: number;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
interface DeliveryWindowComponent {
|
|
3335
|
+
readonly 'from': string;
|
|
3336
|
+
readonly 'to': string;
|
|
3337
|
+
readonly 'source': io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
interface DeliveryWindowComponents {
|
|
3341
|
+
readonly 'shipment_estimate': io.flow.fulfillment.v0.models.DeliveryWindowComponent;
|
|
3342
|
+
readonly 'transit_estimate': io.flow.fulfillment.v0.models.DeliveryWindowComponent;
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
interface DeliveryWindowComponentsV2 {
|
|
3346
|
+
readonly 'processing_estimates': io.flow.fulfillment.v0.models.ProcessingEstimate[];
|
|
3347
|
+
readonly 'transit_estimates': io.flow.fulfillment.v0.models.TransitEstimate[];
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3350
|
+
interface DeliveryWindowSummary {
|
|
3351
|
+
readonly 'country': string;
|
|
3352
|
+
readonly 'delivery_window': io.flow.fulfillment.v0.models.DeliveryWindow;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
interface DigitalDelivery {
|
|
3356
|
+
readonly 'discriminator': 'digital_delivery';
|
|
3357
|
+
readonly 'id': string;
|
|
3358
|
+
readonly 'key'?: string;
|
|
3359
|
+
readonly 'items': io.flow.fulfillment.v0.models.DeliveryItem[];
|
|
3360
|
+
readonly 'prices'?: io.flow.order.price.v0.models.OrderPriceDetail[];
|
|
3361
|
+
readonly 'total'?: io.flow.catalog.v0.models.LocalizedTotal;
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
interface EstimatedWindow {
|
|
3365
|
+
readonly 'from': number;
|
|
3366
|
+
readonly 'to': number;
|
|
3367
|
+
readonly 'unit': io.flow.common.v0.enums.UnitOfTime;
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
interface FlatRate {
|
|
3371
|
+
readonly 'discriminator': 'flat_rate';
|
|
3372
|
+
readonly 'price': io.flow.common.v0.models.Price;
|
|
3373
|
+
readonly 'zero_amount_indicator'?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
interface FlatRateForm {
|
|
3377
|
+
readonly 'discriminator': 'flat_rate_form';
|
|
3378
|
+
readonly 'price': io.flow.common.v0.models.Money;
|
|
3379
|
+
readonly 'zero_amount_indicator'?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator;
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
interface FulfillmentExperienceReference {
|
|
3383
|
+
readonly 'id': string;
|
|
3384
|
+
readonly 'currency': string;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
interface InboundCartonFee {
|
|
3388
|
+
readonly 'discriminator': 'inbound_carton_fee';
|
|
3389
|
+
readonly 'amount': io.flow.common.v0.models.Money;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
interface ItemShippingPricing {
|
|
3393
|
+
readonly 'min': io.flow.common.v0.models.Price;
|
|
3394
|
+
readonly 'max'?: io.flow.common.v0.models.Price;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
interface NumberRange {
|
|
3398
|
+
readonly 'min': number;
|
|
3399
|
+
readonly 'max': number;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
interface OptionWeightEstimates {
|
|
3403
|
+
readonly 'gravitational': io.flow.common.v0.models.Measurement;
|
|
3404
|
+
readonly 'dimensional': io.flow.common.v0.models.Measurement;
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
interface OutboundCartonFee {
|
|
3408
|
+
readonly 'discriminator': 'outbound_carton_fee';
|
|
3409
|
+
readonly 'amount': io.flow.common.v0.models.Money;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
interface Packaging {
|
|
3413
|
+
readonly 'dimensions': io.flow.common.v0.models.Dimensions;
|
|
3414
|
+
readonly 'name'?: string;
|
|
3415
|
+
readonly 'number'?: string;
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
interface PartnerCenter {
|
|
3419
|
+
readonly 'partner_reference': io.flow.common.v0.models.PartnerReference;
|
|
3420
|
+
readonly 'number'?: string;
|
|
3421
|
+
readonly 'fees'?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
interface PartnerCenterForm {
|
|
3425
|
+
readonly 'partner_id': string;
|
|
3426
|
+
readonly 'number'?: string;
|
|
3427
|
+
readonly 'fees'?: io.flow.fulfillment.v0.unions.PartnerCenterFee[];
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3430
|
+
interface PercentMargin {
|
|
3431
|
+
readonly 'discriminator': 'percent_margin';
|
|
3432
|
+
readonly 'percentage': number;
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
interface PhysicalDelivery {
|
|
3436
|
+
readonly 'discriminator': 'physical_delivery';
|
|
3437
|
+
readonly 'id': string;
|
|
3438
|
+
readonly 'key'?: string;
|
|
3439
|
+
readonly 'center'?: io.flow.fulfillment.v0.models.CenterSummary;
|
|
3440
|
+
readonly 'fulfillment_routing'?: io.flow.fulfillment.v0.enums.FulfillmentRouting;
|
|
3441
|
+
readonly 'ship_from_country'?: string;
|
|
3442
|
+
readonly 'items': io.flow.fulfillment.v0.models.DeliveryItem[];
|
|
3443
|
+
readonly 'options': io.flow.fulfillment.v0.models.DeliveryOption[];
|
|
3444
|
+
readonly 'special_services'?: io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce[];
|
|
3445
|
+
readonly 'prices'?: io.flow.order.price.v0.models.OrderPriceDetail[];
|
|
3446
|
+
readonly 'total'?: io.flow.catalog.v0.models.LocalizedTotal;
|
|
3447
|
+
readonly 'goods_supply'?: io.flow.common.v0.enums.GoodsSupply;
|
|
3448
|
+
readonly 'merchant_of_record_flow_entity'?: io.flow.merchant.of.record.v0.enums.FlowEntity;
|
|
3449
|
+
readonly 'preferred_service'?: io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
interface PhysicalDeliveryPreferredService {
|
|
3453
|
+
readonly 'id': string;
|
|
3454
|
+
readonly 'selection_stratey': io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
interface PriceWithBaseAndDetails {
|
|
3458
|
+
readonly 'currency': string;
|
|
3459
|
+
readonly 'amount': number;
|
|
3460
|
+
readonly 'label': string;
|
|
3461
|
+
readonly 'base'?: io.flow.common.v0.models.Price;
|
|
3462
|
+
readonly 'details'?: io.flow.fulfillment.v0.models.DeliveryOptionCostDetail[];
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
interface ProcessingEstimate {
|
|
3466
|
+
readonly 'location': io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
3467
|
+
readonly 'min_date': string;
|
|
3468
|
+
readonly 'max_date': string;
|
|
3469
|
+
readonly 'source': io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
interface Quote {
|
|
3473
|
+
readonly 'id': string;
|
|
3474
|
+
readonly 'destination': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3475
|
+
readonly 'deliveries': io.flow.fulfillment.v0.unions.Delivery[];
|
|
3476
|
+
readonly 'selections': io.flow.fulfillment.v0.models.DeliveryOptionReference[];
|
|
3477
|
+
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
3478
|
+
readonly 'delivered_duties': io.flow.common.v0.enums.DeliveredDuty[];
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
interface QuoteError {
|
|
3482
|
+
readonly 'code': io.flow.fulfillment.v0.enums.QuoteErrorCode;
|
|
3483
|
+
readonly 'messages': string[];
|
|
3484
|
+
readonly 'item_numbers'?: string[];
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
interface QuoteForm {
|
|
3488
|
+
readonly 'destination': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3489
|
+
readonly 'experience': string;
|
|
3490
|
+
readonly 'items': io.flow.fulfillment.v0.models.QuoteLineItemForm[];
|
|
3491
|
+
readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
|
|
3492
|
+
readonly 'delivered_duties'?: io.flow.common.v0.enums.DeliveredDuty[];
|
|
3493
|
+
readonly 'direction'?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
interface QuoteLineItemForm {
|
|
3497
|
+
readonly 'number': string;
|
|
3498
|
+
readonly 'quantity': number;
|
|
3499
|
+
readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
|
|
3500
|
+
readonly 'price': io.flow.common.v0.models.MoneyWithBase;
|
|
3501
|
+
readonly 'attributes'?: Record<string, string>;
|
|
3502
|
+
readonly 'center'?: string;
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
interface QuoteSummary {
|
|
3506
|
+
readonly 'id': string;
|
|
3507
|
+
readonly 'destination': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
3508
|
+
}
|
|
3509
|
+
|
|
3510
|
+
interface QuoteVersion {
|
|
3511
|
+
readonly 'id': string;
|
|
3512
|
+
readonly 'timestamp': string;
|
|
3513
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3514
|
+
readonly 'quote': io.flow.fulfillment.v0.models.QuoteSummary;
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
interface ScheduledPickup {
|
|
3518
|
+
readonly 'day_of_week': io.flow.common.v0.enums.DayOfWeek;
|
|
3519
|
+
readonly 'hour_of_day': string;
|
|
3520
|
+
readonly 'minute_of_hour': string;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
interface ServiceReference {
|
|
3524
|
+
readonly 'id': string;
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
interface ServiceSummary {
|
|
3528
|
+
readonly 'discriminator': 'service_summary';
|
|
3529
|
+
readonly 'id': string;
|
|
3530
|
+
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
3531
|
+
readonly 'name': string;
|
|
3532
|
+
readonly 'center_code'?: string;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
interface ServiceUnknown {
|
|
3536
|
+
readonly 'discriminator': 'service_unknown';
|
|
3537
|
+
readonly 'name': string;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
interface ShippingAddress {
|
|
3541
|
+
readonly 'contact': io.flow.common.v0.models.Contact;
|
|
3542
|
+
readonly 'location': io.flow.common.v0.models.Address;
|
|
3543
|
+
readonly 'center_key'?: string;
|
|
3544
|
+
readonly 'center_reference'?: io.flow.fulfillment.v0.models.CenterReference;
|
|
3545
|
+
readonly 'service'?: io.flow.fulfillment.v0.models.ServiceSummary;
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
interface ShippingConfiguration {
|
|
3549
|
+
readonly 'id': string;
|
|
3550
|
+
readonly 'name': string;
|
|
3551
|
+
readonly 'key': string;
|
|
3552
|
+
readonly 'type': io.flow.fulfillment.v0.enums.ShippingConfigurationType;
|
|
3553
|
+
readonly 'shipping_lanes': io.flow.fulfillment.v0.models.ShippingLane[];
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
interface ShippingConfigurationCopy {
|
|
3557
|
+
readonly 'original': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
3558
|
+
readonly 'new': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3561
|
+
interface ShippingConfigurationCopyForm {
|
|
3562
|
+
readonly 'name': string;
|
|
3563
|
+
}
|
|
3564
|
+
|
|
3565
|
+
interface ShippingConfigurationForm {
|
|
3566
|
+
readonly 'name': string;
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
interface ShippingConfigurationItemAvailability {
|
|
3570
|
+
readonly 'id': string;
|
|
3571
|
+
readonly 'item': io.flow.common.v0.models.ItemReference;
|
|
3572
|
+
readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
|
|
3573
|
+
readonly 'availabilities': io.flow.fulfillment.v0.models.CountryAvailability[];
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3576
|
+
interface ShippingConfigurationItemShippingPricing {
|
|
3577
|
+
readonly 'id': string;
|
|
3578
|
+
readonly 'item': io.flow.common.v0.models.ItemReference;
|
|
3579
|
+
readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationSummary;
|
|
3580
|
+
readonly 'country_shipping_pricings': io.flow.fulfillment.v0.models.CountryShippingPricing[];
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
interface ShippingConfigurationReference {
|
|
3584
|
+
readonly 'key': string;
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
interface ShippingConfigurationSummary {
|
|
3588
|
+
readonly 'id': string;
|
|
3589
|
+
readonly 'name': string;
|
|
3590
|
+
readonly 'key': string;
|
|
3591
|
+
readonly 'type': io.flow.fulfillment.v0.enums.ShippingConfigurationType;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
interface ShippingConfigurationVersion {
|
|
3595
|
+
readonly 'id': string;
|
|
3596
|
+
readonly 'timestamp': string;
|
|
3597
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3598
|
+
readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfiguration;
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
interface ShippingLane {
|
|
3602
|
+
readonly 'id': string;
|
|
3603
|
+
readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
|
|
3604
|
+
readonly 'region': string;
|
|
3605
|
+
readonly 'centers': io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
3606
|
+
readonly 'tiers': io.flow.fulfillment.v0.models.Tier[];
|
|
3607
|
+
readonly 'query': io.flow.query.builder.v0.models.Query;
|
|
3608
|
+
readonly 'strategy': io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
3609
|
+
readonly 'direction'?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
3610
|
+
readonly 'preference'?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
interface ShippingLaneDefaultTier {
|
|
3614
|
+
readonly 'id': string;
|
|
3615
|
+
readonly 'tier': io.flow.fulfillment.v0.models.TierReference;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
interface ShippingLaneDefaultTierForm {
|
|
3619
|
+
readonly 'tier_id': string;
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3622
|
+
interface ShippingLaneForm {
|
|
3623
|
+
readonly 'from': string;
|
|
3624
|
+
readonly 'to': string;
|
|
3625
|
+
readonly 'strategy'?: io.flow.fulfillment.v0.enums.LaneStrategy;
|
|
3626
|
+
readonly 'direction'?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
3627
|
+
readonly 'preference'?: io.flow.fulfillment.v0.enums.LanePreselectPreference;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
interface ShippingLaneSummary {
|
|
3631
|
+
readonly 'shipping_lane_id': string;
|
|
3632
|
+
readonly 'region': string;
|
|
3633
|
+
readonly 'centers': io.flow.fulfillment.v0.unions.ExpandableCenter[];
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
interface ShippingLaneVersion {
|
|
3637
|
+
readonly 'id': string;
|
|
3638
|
+
readonly 'timestamp': string;
|
|
3639
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3640
|
+
readonly 'shipping_lane': io.flow.fulfillment.v0.models.ShippingLane;
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
interface SurchargeResponsiblePartyDisplay {
|
|
3644
|
+
readonly 'name': string;
|
|
3645
|
+
readonly 'responsible_party': io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
interface SurchargeSetting {
|
|
3649
|
+
readonly 'key': io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
3650
|
+
readonly 'responsible_party': io.flow.fulfillment.v0.enums.SurchargeResponsibleParty;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
interface SurchargeSettingDisplay {
|
|
3654
|
+
readonly 'name': string;
|
|
3655
|
+
readonly 'description': string;
|
|
3656
|
+
readonly 'key': io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey;
|
|
3657
|
+
readonly 'available': io.flow.fulfillment.v0.models.SurchargeResponsiblePartyDisplay[];
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
interface Tier {
|
|
3661
|
+
readonly 'id': string;
|
|
3662
|
+
readonly 'direction': io.flow.fulfillment.v0.enums.LaneDirection;
|
|
3663
|
+
readonly 'integration': io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
3664
|
+
readonly 'name': string;
|
|
3665
|
+
readonly 'message'?: string;
|
|
3666
|
+
readonly 'rules': io.flow.fulfillment.v0.models.TierRule[];
|
|
3667
|
+
readonly 'services': io.flow.reference.v0.models.CarrierService[];
|
|
3668
|
+
readonly 'strategy': io.flow.fulfillment.v0.enums.TierStrategy;
|
|
3669
|
+
readonly 'visibility': io.flow.common.v0.enums.Visibility;
|
|
3670
|
+
readonly 'currency': string;
|
|
3671
|
+
readonly 'description'?: string;
|
|
3672
|
+
readonly 'display'?: io.flow.fulfillment.v0.models.TierDisplay;
|
|
3673
|
+
readonly 'shipping_lane'?: string;
|
|
3674
|
+
readonly 'surcharge_settings'?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
3675
|
+
readonly 'lane'?: io.flow.fulfillment.v0.models.ShippingLaneSummary;
|
|
3676
|
+
readonly 'settings'?: io.flow.fulfillment.v0.models.TierSettings;
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
interface TierDisplay {
|
|
3680
|
+
readonly 'estimate': io.flow.fulfillment.v0.models.TierEstimate;
|
|
3681
|
+
}
|
|
3682
|
+
|
|
3683
|
+
interface TierDisplayForm {
|
|
3684
|
+
readonly 'estimate'?: io.flow.fulfillment.v0.models.TierEstimate;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
interface TierEstimate {
|
|
3688
|
+
readonly 'type': io.flow.fulfillment.v0.enums.TierEstimateType;
|
|
3689
|
+
readonly 'label'?: string;
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
interface TierForm {
|
|
3693
|
+
readonly 'currency': string;
|
|
3694
|
+
readonly 'integration': io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
3695
|
+
readonly 'name': string;
|
|
3696
|
+
readonly 'message'?: string;
|
|
3697
|
+
readonly 'rules': io.flow.fulfillment.v0.models.TierRuleForm[];
|
|
3698
|
+
readonly 'services': string[];
|
|
3699
|
+
readonly 'strategy': io.flow.fulfillment.v0.enums.TierStrategy;
|
|
3700
|
+
readonly 'visibility': io.flow.common.v0.enums.Visibility;
|
|
3701
|
+
readonly 'description'?: string;
|
|
3702
|
+
readonly 'direction'?: io.flow.fulfillment.v0.enums.LaneDirection;
|
|
3703
|
+
readonly 'display'?: io.flow.fulfillment.v0.models.TierDisplayForm;
|
|
3704
|
+
readonly 'shipping_lane': string;
|
|
3705
|
+
readonly 'surcharge_settings'?: io.flow.fulfillment.v0.models.SurchargeSetting[];
|
|
3706
|
+
readonly 'settings'?: io.flow.fulfillment.v0.models.TierSettings;
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
interface TierReference {
|
|
3710
|
+
readonly 'id': string;
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
interface TierRule {
|
|
3714
|
+
readonly 'id': string;
|
|
3715
|
+
readonly 'position': number;
|
|
3716
|
+
readonly 'query': string;
|
|
3717
|
+
readonly 'outcome': io.flow.fulfillment.v0.unions.TierRuleOutcome;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
interface TierRuleForm {
|
|
3721
|
+
readonly 'position'?: number;
|
|
3722
|
+
readonly 'query': string;
|
|
3723
|
+
readonly 'outcome': io.flow.fulfillment.v0.unions.TierRuleOutcomeForm;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
interface TierRuleVersion {
|
|
3727
|
+
readonly 'id': string;
|
|
3728
|
+
readonly 'timestamp': string;
|
|
3729
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3730
|
+
readonly 'tier_rule': io.flow.fulfillment.v0.models.TierRule;
|
|
3731
|
+
}
|
|
3732
|
+
|
|
3733
|
+
interface TierSettings {
|
|
3734
|
+
readonly 'availability': io.flow.fulfillment.v0.enums.TierAvailability;
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
interface TierSummary {
|
|
3738
|
+
readonly 'id': string;
|
|
3739
|
+
readonly 'experience'?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference;
|
|
3740
|
+
readonly 'integration': io.flow.fulfillment.v0.enums.ShipmentIntegrationType;
|
|
3741
|
+
readonly 'name': string;
|
|
3742
|
+
readonly 'services': string[];
|
|
3743
|
+
readonly 'strategy': io.flow.fulfillment.v0.enums.TierStrategy;
|
|
3744
|
+
readonly 'visibility': io.flow.common.v0.enums.Visibility;
|
|
3745
|
+
readonly 'currency': string;
|
|
3746
|
+
readonly 'display'?: io.flow.fulfillment.v0.models.TierDisplay;
|
|
3747
|
+
readonly 'message'?: string;
|
|
3748
|
+
readonly 'settings'?: io.flow.fulfillment.v0.models.TierSettings;
|
|
3749
|
+
}
|
|
3750
|
+
|
|
3751
|
+
interface TierVersion {
|
|
3752
|
+
readonly 'id': string;
|
|
3753
|
+
readonly 'timestamp': string;
|
|
3754
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3755
|
+
readonly 'tier': io.flow.fulfillment.v0.models.TierSummary;
|
|
3756
|
+
}
|
|
3757
|
+
|
|
3758
|
+
interface TransitEstimate {
|
|
3759
|
+
readonly 'origin': io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
3760
|
+
readonly 'destination': io.flow.fulfillment.v0.enums.DeliveryWindowLocation;
|
|
3761
|
+
readonly 'min_date': string;
|
|
3762
|
+
readonly 'max_date': string;
|
|
3763
|
+
readonly 'source': io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource;
|
|
3764
|
+
}
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
declare namespace io.flow.fulfillment.v0.unions {
|
|
3768
|
+
type Delivery = (io.flow.fulfillment.v0.models.DigitalDelivery | io.flow.fulfillment.v0.models.PhysicalDelivery);
|
|
3769
|
+
type ExpandableCenter = (io.flow.fulfillment.v0.models.Center | io.flow.fulfillment.v0.models.CenterReference);
|
|
3770
|
+
type PartnerCenterFee = (io.flow.fulfillment.v0.models.CommercialInvoiceFee | io.flow.fulfillment.v0.models.InboundCartonFee | io.flow.fulfillment.v0.models.OutboundCartonFee);
|
|
3771
|
+
type ServiceDescription = (io.flow.fulfillment.v0.models.ServiceSummary | io.flow.fulfillment.v0.models.ServiceUnknown);
|
|
3772
|
+
type TierRuleOutcome = (io.flow.fulfillment.v0.models.AmountMargin | io.flow.fulfillment.v0.models.AtCost | io.flow.fulfillment.v0.models.FlatRate | io.flow.fulfillment.v0.models.PercentMargin);
|
|
3773
|
+
type TierRuleOutcomeForm = (io.flow.fulfillment.v0.models.AmountMarginForm | io.flow.fulfillment.v0.models.FlatRateForm | io.flow.fulfillment.v0.models.AtCost | io.flow.fulfillment.v0.models.PercentMargin);
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
declare namespace io.flow.apple.pay.v0.enums {
|
|
3777
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName';
|
|
3778
|
+
type ApplePayLineItemType = 'final' | 'pending';
|
|
3779
|
+
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
3780
|
+
type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
|
|
3781
|
+
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3784
|
+
declare namespace io.flow.apple.pay.v0.models {
|
|
3785
|
+
interface ApplePayLineItem {
|
|
3786
|
+
readonly 'label': string;
|
|
3787
|
+
readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
3788
|
+
readonly 'amount': string;
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
interface ApplePayPaymentContact {
|
|
3792
|
+
readonly 'email_address'?: string;
|
|
3793
|
+
readonly 'family_name'?: string;
|
|
3794
|
+
readonly 'given_name'?: string;
|
|
3795
|
+
readonly 'phone_number'?: string;
|
|
3796
|
+
readonly 'phonetic_familyName'?: string;
|
|
3797
|
+
readonly 'phonetic_givenName'?: string;
|
|
3798
|
+
readonly 'address_lines'?: string[];
|
|
3799
|
+
readonly 'locality'?: string;
|
|
3800
|
+
readonly 'sub_locality'?: string;
|
|
3801
|
+
readonly 'administrative_area'?: string;
|
|
3802
|
+
readonly 'sub_administrative_area'?: string;
|
|
3803
|
+
readonly 'postal_code'?: string;
|
|
3804
|
+
readonly 'country'?: string;
|
|
3805
|
+
readonly 'country_code'?: string;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
interface ApplePayPaymentData {
|
|
3809
|
+
readonly 'applicationPrimaryAccountNumber': string;
|
|
3810
|
+
readonly 'applicationExpirationDate': string;
|
|
3811
|
+
readonly 'currencyCode': string;
|
|
3812
|
+
readonly 'transactionAmount': number;
|
|
3813
|
+
readonly 'cardholderName'?: string;
|
|
3814
|
+
readonly 'deviceManufacturerIdentifier': string;
|
|
3815
|
+
readonly 'paymentDataType': string;
|
|
3816
|
+
readonly 'paymentData': any/*object*/;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
interface ApplePayPaymentInfo {
|
|
3820
|
+
readonly 'total': io.flow.apple.pay.v0.models.ApplePayLineItem;
|
|
3821
|
+
readonly 'line_items'?: io.flow.apple.pay.v0.models.ApplePayLineItem[];
|
|
3822
|
+
readonly 'country_code': string;
|
|
3823
|
+
readonly 'currency_code': string;
|
|
3824
|
+
readonly 'merchant_capabilities': io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
|
|
3825
|
+
readonly 'shipping_methods'?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
|
|
3826
|
+
readonly 'shipping_type'?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
|
|
3827
|
+
readonly 'supported_countries'?: string[];
|
|
3828
|
+
readonly 'supported_networks': io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
|
|
3829
|
+
readonly 'required_billingContactFields'?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
3830
|
+
readonly 'required_shippingContactFields'?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
3831
|
+
readonly 'billing_contact'?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
3832
|
+
readonly 'shipping_contact'?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
3833
|
+
readonly 'application_data'?: string;
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
interface ApplePayShippingMethod {
|
|
3837
|
+
readonly 'label': string;
|
|
3838
|
+
readonly 'detail': string;
|
|
3839
|
+
readonly 'amount': string;
|
|
3840
|
+
readonly 'identifier': string;
|
|
3841
|
+
}
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
declare namespace io.flow.merchant.of.record.v0.enums {
|
|
3845
|
+
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
3846
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
declare namespace io.flow.currency.v0.models {
|
|
3850
|
+
interface Rate {
|
|
3851
|
+
readonly 'id': string;
|
|
3852
|
+
readonly 'base': string;
|
|
3853
|
+
readonly 'target': string;
|
|
3854
|
+
readonly 'effective_at': string;
|
|
3855
|
+
readonly 'value': number;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
interface RateForm {
|
|
3859
|
+
readonly 'base': string;
|
|
3860
|
+
readonly 'target': string;
|
|
3861
|
+
readonly 'effective_at': string;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
interface RateVersion {
|
|
3865
|
+
readonly 'id': string;
|
|
3866
|
+
readonly 'timestamp': string;
|
|
3867
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3868
|
+
readonly 'rate': io.flow.currency.v0.models.Rate;
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
declare namespace io.flow.organization.v0.enums {
|
|
3873
|
+
type CountryPickerSource = 'experience' | 'destination';
|
|
3874
|
+
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
|
|
3875
|
+
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
declare namespace io.flow.organization.v0.models {
|
|
3879
|
+
interface CountryPicker {
|
|
3880
|
+
readonly 'id': string;
|
|
3881
|
+
readonly 'source': io.flow.organization.v0.enums.CountryPickerSource;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
interface CountryPickerForm {
|
|
3885
|
+
readonly 'source': io.flow.organization.v0.enums.CountryPickerSource;
|
|
3886
|
+
}
|
|
3887
|
+
|
|
3888
|
+
interface EcommercePlatform {
|
|
3889
|
+
readonly 'id': string;
|
|
3890
|
+
readonly 'type': io.flow.organization.v0.enums.EcommercePlatformType;
|
|
3891
|
+
readonly 'version'?: string;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3894
|
+
interface EcommercePlatformForm {
|
|
3895
|
+
readonly 'type': io.flow.organization.v0.enums.EcommercePlatformType;
|
|
3896
|
+
readonly 'version'?: string;
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
interface Invitation {
|
|
3900
|
+
readonly 'id': string;
|
|
3901
|
+
readonly 'organization': io.flow.common.v0.unions.ExpandableOrganization;
|
|
3902
|
+
readonly 'email': string;
|
|
3903
|
+
readonly 'name': io.flow.common.v0.models.Name;
|
|
3904
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3905
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
3906
|
+
readonly 'expiration': string;
|
|
3907
|
+
}
|
|
3908
|
+
|
|
3909
|
+
interface InvitationError {
|
|
3910
|
+
readonly 'code': io.flow.organization.v0.enums.InvitationErrorCode;
|
|
3911
|
+
readonly 'messages': string[];
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
interface InvitationForm {
|
|
3915
|
+
readonly 'organization': string;
|
|
3916
|
+
readonly 'email': string;
|
|
3917
|
+
readonly 'name'?: io.flow.common.v0.models.Name;
|
|
3918
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3919
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
interface InvitationVersion {
|
|
3923
|
+
readonly 'id': string;
|
|
3924
|
+
readonly 'timestamp': string;
|
|
3925
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3926
|
+
readonly 'invitation': io.flow.organization.v0.models.Invitation;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
interface Membership {
|
|
3930
|
+
readonly 'id': string;
|
|
3931
|
+
readonly 'organization': io.flow.common.v0.unions.ExpandableOrganization;
|
|
3932
|
+
readonly 'user': io.flow.common.v0.unions.ExpandableUser;
|
|
3933
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3934
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
interface MembershipForm {
|
|
3938
|
+
readonly 'organization': string;
|
|
3939
|
+
readonly 'user': string;
|
|
3940
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3941
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
interface MembershipPutForm {
|
|
3945
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3946
|
+
readonly 'roles'?: io.flow.permission.v0.enums.FlowRole[];
|
|
3947
|
+
}
|
|
3948
|
+
|
|
3949
|
+
interface MembershipVersion {
|
|
3950
|
+
readonly 'id': string;
|
|
3951
|
+
readonly 'timestamp': string;
|
|
3952
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
3953
|
+
readonly 'membership': io.flow.organization.v0.models.Membership;
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
interface OrganizationAuthorization {
|
|
3957
|
+
readonly 'role'?: io.flow.common.v0.enums.Role;
|
|
3958
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
interface OrganizationAuthorizationForm {
|
|
3962
|
+
readonly 'organization': string;
|
|
3963
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
interface OrganizationConfigurationReference {
|
|
3967
|
+
readonly 'id': string;
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
interface OrganizationDefaultConfigurations {
|
|
3971
|
+
readonly 'id': string;
|
|
3972
|
+
readonly 'checkout_configuration': io.flow.organization.v0.models.OrganizationConfigurationReference;
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3975
|
+
interface OrganizationDefaultConfigurationsForm {
|
|
3976
|
+
readonly 'id': string;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
interface OrganizationForm {
|
|
3980
|
+
readonly 'id'?: string;
|
|
3981
|
+
readonly 'name'?: string;
|
|
3982
|
+
readonly 'environment': io.flow.common.v0.enums.Environment;
|
|
3983
|
+
readonly 'parent_id'?: string;
|
|
3984
|
+
readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
|
|
3985
|
+
readonly 'status'?: io.flow.common.v0.enums.OrganizationStatus;
|
|
3986
|
+
readonly 'type'?: io.flow.common.v0.enums.OrganizationType;
|
|
3987
|
+
}
|
|
3988
|
+
|
|
3989
|
+
interface OrganizationPutForm {
|
|
3990
|
+
readonly 'name'?: string;
|
|
3991
|
+
readonly 'environment'?: io.flow.common.v0.enums.Environment;
|
|
3992
|
+
readonly 'parent_id'?: string;
|
|
3993
|
+
readonly 'defaults'?: io.flow.common.v0.models.OrganizationDefaults;
|
|
3994
|
+
readonly 'status'?: io.flow.common.v0.enums.OrganizationStatus;
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
interface OrganizationVersion {
|
|
3998
|
+
readonly 'id': string;
|
|
3999
|
+
readonly 'timestamp': string;
|
|
4000
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4001
|
+
readonly 'organization': io.flow.common.v0.models.Organization;
|
|
4002
|
+
}
|
|
4003
|
+
|
|
4004
|
+
interface RegionSetting {
|
|
4005
|
+
readonly 'id': string;
|
|
4006
|
+
readonly 'region': string;
|
|
4007
|
+
readonly 'status': io.flow.common.v0.enums.AvailabilityStatus;
|
|
4008
|
+
}
|
|
4009
|
+
|
|
4010
|
+
interface RegionSettingForm {
|
|
4011
|
+
readonly 'status': io.flow.common.v0.enums.AvailabilityStatus;
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
declare namespace io.flow.catalog.v0.enums {
|
|
4016
|
+
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
4017
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
|
|
4018
|
+
type FulfillmentMethodType = 'fulfillment_method';
|
|
4019
|
+
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
4020
|
+
type ImageTag = 'thumbnail' | 'checkout';
|
|
4021
|
+
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
4022
|
+
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
4023
|
+
type TaxabilityType = 'tax_rule';
|
|
4024
|
+
type TaxabilityValue = 'exempt';
|
|
4025
|
+
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
4026
|
+
}
|
|
4027
|
+
|
|
4028
|
+
declare namespace io.flow.catalog.v0.models {
|
|
4029
|
+
interface AdjustmentReason {
|
|
4030
|
+
readonly 'key': io.flow.catalog.v0.enums.AdjustmentReasonKey;
|
|
4031
|
+
readonly 'label': string;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
interface Attribute {
|
|
4035
|
+
readonly 'id': string;
|
|
4036
|
+
readonly 'key': string;
|
|
4037
|
+
readonly 'options': io.flow.catalog.v0.models.Options;
|
|
4038
|
+
readonly 'label'?: string;
|
|
4039
|
+
readonly 'intent'?: io.flow.catalog.v0.enums.AttributeIntent;
|
|
4040
|
+
readonly 'type'?: io.flow.common.v0.enums.AttributeDataType;
|
|
4041
|
+
readonly 'position'?: number;
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
interface AttributeForm {
|
|
4045
|
+
readonly 'key': string;
|
|
4046
|
+
readonly 'options': io.flow.catalog.v0.models.Options;
|
|
4047
|
+
readonly 'label'?: string;
|
|
4048
|
+
readonly 'intent'?: io.flow.catalog.v0.enums.AttributeIntent;
|
|
4049
|
+
readonly 'type'?: io.flow.common.v0.enums.AttributeDataType;
|
|
4050
|
+
readonly 'position'?: number;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
interface AttributeVersion {
|
|
4054
|
+
readonly 'id': string;
|
|
4055
|
+
readonly 'timestamp': string;
|
|
4056
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4057
|
+
readonly 'attribute': io.flow.catalog.v0.models.Attribute;
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
interface Catalog {
|
|
4061
|
+
readonly 'id': string;
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
interface CatalogReference {
|
|
4065
|
+
readonly 'id': string;
|
|
4066
|
+
}
|
|
4067
|
+
|
|
4068
|
+
interface CatalogStatistics {
|
|
4069
|
+
readonly 'id': string;
|
|
4070
|
+
readonly 'items': number;
|
|
4071
|
+
readonly 'categories': number;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
interface CatalogVersion {
|
|
4075
|
+
readonly 'id': string;
|
|
4076
|
+
readonly 'timestamp': string;
|
|
4077
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4078
|
+
readonly 'catalog': io.flow.catalog.v0.models.Catalog;
|
|
4079
|
+
}
|
|
4080
|
+
|
|
4081
|
+
interface FlowItemIndexMetadata {
|
|
4082
|
+
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
interface Image {
|
|
4086
|
+
readonly 'url': string;
|
|
4087
|
+
readonly 'tags': io.flow.catalog.v0.enums.ImageTag[];
|
|
4088
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4089
|
+
}
|
|
4090
|
+
|
|
4091
|
+
interface ImageForm {
|
|
4092
|
+
readonly 'url': string;
|
|
4093
|
+
readonly 'tags'?: io.flow.catalog.v0.enums.ImageTag[];
|
|
4094
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4095
|
+
}
|
|
4096
|
+
|
|
4097
|
+
interface Item {
|
|
4098
|
+
readonly 'id': string;
|
|
4099
|
+
readonly 'number': string;
|
|
4100
|
+
readonly 'locale': string;
|
|
4101
|
+
readonly 'name': string;
|
|
4102
|
+
readonly 'price': io.flow.common.v0.models.Price;
|
|
4103
|
+
readonly 'categories': string[];
|
|
4104
|
+
readonly 'description'?: string;
|
|
4105
|
+
readonly 'attributes': Record<string, string>;
|
|
4106
|
+
readonly 'dimensions': io.flow.common.v0.models.Dimensions;
|
|
4107
|
+
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
4108
|
+
readonly 'local'?: io.flow.catalog.v0.models.Local;
|
|
4109
|
+
readonly 'created_at'?: string;
|
|
4110
|
+
readonly 'updated_at'?: string;
|
|
4111
|
+
readonly 'deleted_at'?: string;
|
|
4112
|
+
}
|
|
4113
|
+
|
|
4114
|
+
interface ItemAttributesPatchForm {
|
|
4115
|
+
readonly 'attributes': Record<string, string>;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
interface ItemForm {
|
|
4119
|
+
readonly 'number': string;
|
|
4120
|
+
readonly 'locale': string;
|
|
4121
|
+
readonly 'name': string;
|
|
4122
|
+
readonly 'currency': string;
|
|
4123
|
+
readonly 'price': number;
|
|
4124
|
+
readonly 'categories'?: string[];
|
|
4125
|
+
readonly 'description'?: string;
|
|
4126
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4127
|
+
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
4128
|
+
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
4129
|
+
readonly 'deleted_at'?: string;
|
|
4130
|
+
}
|
|
4131
|
+
|
|
4132
|
+
interface ItemFormOverlay {
|
|
4133
|
+
readonly 'id': string;
|
|
4134
|
+
readonly 'number': string;
|
|
4135
|
+
readonly 'key': string;
|
|
4136
|
+
readonly 'position': number;
|
|
4137
|
+
readonly 'price'?: io.flow.common.v0.models.Price;
|
|
4138
|
+
readonly 'categories'?: string[];
|
|
4139
|
+
readonly 'description'?: string;
|
|
4140
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4141
|
+
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
4142
|
+
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
4143
|
+
readonly 'deleted_at'?: string;
|
|
4144
|
+
}
|
|
4145
|
+
|
|
4146
|
+
interface ItemFormOverlayForm {
|
|
4147
|
+
readonly 'number': string;
|
|
4148
|
+
readonly 'price'?: number;
|
|
4149
|
+
readonly 'currency'?: string;
|
|
4150
|
+
readonly 'position'?: number;
|
|
4151
|
+
readonly 'categories'?: string[];
|
|
4152
|
+
readonly 'description'?: string;
|
|
4153
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4154
|
+
readonly 'dimensions'?: io.flow.common.v0.models.Dimensions;
|
|
4155
|
+
readonly 'images'?: io.flow.catalog.v0.models.ImageForm[];
|
|
4156
|
+
readonly 'deleted_at'?: string;
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
interface ItemPriceUpdateForm {
|
|
4160
|
+
readonly 'number': string;
|
|
4161
|
+
readonly 'currency'?: string;
|
|
4162
|
+
readonly 'price': number;
|
|
4163
|
+
readonly 'attributes': Record<string, string>;
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
interface ItemPriceUpdatePutForm {
|
|
4167
|
+
readonly 'currency'?: string;
|
|
4168
|
+
readonly 'price': number;
|
|
4169
|
+
readonly 'attributes': Record<string, string>;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
interface ItemStatistics {
|
|
4173
|
+
readonly 'items': number;
|
|
4174
|
+
readonly 'categories': number;
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
interface ItemVersion {
|
|
4178
|
+
readonly 'id': string;
|
|
4179
|
+
readonly 'timestamp': string;
|
|
4180
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4181
|
+
readonly 'item': io.flow.catalog.v0.models.Item;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
interface Local {
|
|
4185
|
+
readonly 'experience': io.flow.common.v0.models.ExperienceSummary;
|
|
4186
|
+
readonly 'prices': io.flow.catalog.v0.unions.LocalizedPrice[];
|
|
4187
|
+
readonly 'rates': io.flow.currency.v0.models.Rate[];
|
|
4188
|
+
readonly 'spot_rates': any/*object*/[];
|
|
4189
|
+
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
4190
|
+
readonly 'attributes'?: Record<string, string>;
|
|
4191
|
+
readonly 'price_attributes'?: Record<string, io.flow.common.v0.models.PriceWithBase>;
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
interface LocalizedAdjustment {
|
|
4195
|
+
readonly 'currency': string;
|
|
4196
|
+
readonly 'amount': number;
|
|
4197
|
+
readonly 'label': string;
|
|
4198
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
4199
|
+
readonly 'reason': io.flow.catalog.v0.models.AdjustmentReason;
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4202
|
+
interface LocalizedItemDuty {
|
|
4203
|
+
readonly 'key': 'localized_item_duty';
|
|
4204
|
+
readonly 'currency': string;
|
|
4205
|
+
readonly 'amount': number;
|
|
4206
|
+
readonly 'label': string;
|
|
4207
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
4208
|
+
readonly 'adjustment'?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
4209
|
+
readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
interface LocalizedItemPrice {
|
|
4213
|
+
readonly 'key': 'localized_item_price';
|
|
4214
|
+
readonly 'currency': string;
|
|
4215
|
+
readonly 'amount': number;
|
|
4216
|
+
readonly 'label': string;
|
|
4217
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
4218
|
+
readonly 'includes'?: io.flow.common.v0.models.IncludedLevies;
|
|
4219
|
+
}
|
|
4220
|
+
|
|
4221
|
+
interface LocalizedItemVat {
|
|
4222
|
+
readonly 'key': 'localized_item_vat';
|
|
4223
|
+
readonly 'currency': string;
|
|
4224
|
+
readonly 'amount': number;
|
|
4225
|
+
readonly 'label': string;
|
|
4226
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
4227
|
+
readonly 'name': string;
|
|
4228
|
+
readonly 'adjustment'?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
4229
|
+
readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
|
|
4230
|
+
readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
interface LocalizedTotal {
|
|
4234
|
+
readonly 'key': 'localized_total';
|
|
4235
|
+
readonly 'currency': string;
|
|
4236
|
+
readonly 'amount': number;
|
|
4237
|
+
readonly 'label': string;
|
|
4238
|
+
readonly 'base': io.flow.common.v0.models.Price;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
interface Options {
|
|
4242
|
+
readonly 'required': boolean;
|
|
4243
|
+
readonly 'show_in_catalog': boolean;
|
|
4244
|
+
readonly 'show_in_harmonization': boolean;
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
interface Subcatalog {
|
|
4248
|
+
readonly 'discriminator': 'subcatalog';
|
|
4249
|
+
readonly 'id': string;
|
|
4250
|
+
readonly 'catalog': io.flow.catalog.v0.models.Catalog;
|
|
4251
|
+
readonly 'settings': io.flow.catalog.v0.models.SubcatalogSettings;
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
interface SubcatalogForm {
|
|
4255
|
+
readonly 'settings'?: io.flow.catalog.v0.models.SubcatalogSettingsForm;
|
|
4256
|
+
}
|
|
4257
|
+
|
|
4258
|
+
interface SubcatalogItem {
|
|
4259
|
+
readonly 'id': string;
|
|
4260
|
+
readonly 'item': io.flow.catalog.v0.models.Item;
|
|
4261
|
+
readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
4262
|
+
}
|
|
4263
|
+
|
|
4264
|
+
interface SubcatalogItemVersion {
|
|
4265
|
+
readonly 'id': string;
|
|
4266
|
+
readonly 'timestamp': string;
|
|
4267
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4268
|
+
readonly 'subcatalog_item': io.flow.catalog.v0.models.SubcatalogItem;
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
interface SubcatalogReference {
|
|
4272
|
+
readonly 'discriminator': 'subcatalog_reference';
|
|
4273
|
+
readonly 'id': string;
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
interface SubcatalogSettings {
|
|
4277
|
+
readonly 'update_policy': io.flow.catalog.v0.enums.UpdatePolicy;
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
interface SubcatalogSettingsForm {
|
|
4281
|
+
readonly 'update_policy'?: io.flow.catalog.v0.enums.UpdatePolicy;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
interface SubcatalogStatistics {
|
|
4285
|
+
readonly 'excluded': io.flow.catalog.v0.models.ItemStatistics;
|
|
4286
|
+
readonly 'included': io.flow.catalog.v0.models.ItemStatistics;
|
|
4287
|
+
readonly 'restricted': io.flow.catalog.v0.models.ItemStatistics;
|
|
4288
|
+
readonly 'queue': io.flow.catalog.v0.models.ItemStatistics;
|
|
4289
|
+
readonly 'catalog': io.flow.catalog.v0.models.CatalogStatistics;
|
|
4290
|
+
}
|
|
4291
|
+
|
|
4292
|
+
interface SubcatalogVersion {
|
|
4293
|
+
readonly 'id': string;
|
|
4294
|
+
readonly 'timestamp': string;
|
|
4295
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4296
|
+
readonly 'subcatalog': io.flow.catalog.v0.models.Subcatalog;
|
|
4297
|
+
}
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4300
|
+
declare namespace io.flow.catalog.v0.unions {
|
|
4301
|
+
type ExpandableSubcatalog = (io.flow.catalog.v0.models.Subcatalog | io.flow.catalog.v0.models.SubcatalogReference);
|
|
4302
|
+
type LocalizedPrice = (io.flow.catalog.v0.models.LocalizedItemPrice | io.flow.catalog.v0.models.LocalizedItemVat | io.flow.catalog.v0.models.LocalizedItemDuty | io.flow.catalog.v0.models.LocalizedTotal);
|
|
4303
|
+
}
|
|
4304
|
+
|
|
4305
|
+
declare namespace io.flow.inventory.v0.enums {
|
|
4306
|
+
type Aggregate = 'maximum' | 'minimum';
|
|
4307
|
+
type InventoryStatus = 'has_inventory' | 'no_inventory';
|
|
4308
|
+
type UpdateType = 'change' | 'set';
|
|
4309
|
+
}
|
|
4310
|
+
|
|
4311
|
+
declare namespace io.flow.inventory.v0.models {
|
|
4312
|
+
interface ExternalApiTimeoutReservationError {
|
|
4313
|
+
readonly 'code': 'external_api_timeout';
|
|
4314
|
+
readonly 'messages': string[];
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
interface GenericReservationError {
|
|
4318
|
+
readonly 'code': 'generic_reservation_error';
|
|
4319
|
+
readonly 'messages': string[];
|
|
4320
|
+
}
|
|
4321
|
+
|
|
4322
|
+
interface InventoryBackorder {
|
|
4323
|
+
readonly 'discriminator': 'inventory_backorder';
|
|
4324
|
+
readonly 'quantity': number;
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4327
|
+
interface InventoryCenterReference {
|
|
4328
|
+
readonly 'key': string;
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
interface InventoryCheckResponse {
|
|
4332
|
+
readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
interface InventoryCheckResponseItem {
|
|
4336
|
+
readonly 'number': string;
|
|
4337
|
+
readonly 'quantity': number;
|
|
4338
|
+
readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
interface InventoryExperienceReference {
|
|
4342
|
+
readonly 'key': string;
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4345
|
+
interface InventoryFollowEcommercePlatform {
|
|
4346
|
+
readonly 'discriminator': 'inventory_follow_ecommerce_platform';
|
|
4347
|
+
readonly 'quantity': number;
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4350
|
+
interface InventoryItemReference {
|
|
4351
|
+
readonly 'number': string;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
interface InventoryRequest {
|
|
4355
|
+
readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
|
|
4356
|
+
}
|
|
4357
|
+
|
|
4358
|
+
interface InventoryRequestItem {
|
|
4359
|
+
readonly 'number': string;
|
|
4360
|
+
readonly 'quantity': number;
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4363
|
+
interface InventoryRule {
|
|
4364
|
+
readonly 'id': string;
|
|
4365
|
+
readonly 'position': number;
|
|
4366
|
+
readonly 'query': string;
|
|
4367
|
+
readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
interface InventoryRuleForm {
|
|
4371
|
+
readonly 'position': number;
|
|
4372
|
+
readonly 'query': string;
|
|
4373
|
+
readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
interface InventoryRuleVersion {
|
|
4377
|
+
readonly 'id': string;
|
|
4378
|
+
readonly 'timestamp': string;
|
|
4379
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4380
|
+
readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4383
|
+
interface InventorySnapshot {
|
|
4384
|
+
readonly 'id': string;
|
|
4385
|
+
readonly 'available': number;
|
|
4386
|
+
readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
|
|
4387
|
+
readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
|
|
4388
|
+
readonly 'quantity': number;
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4391
|
+
interface InventorySnapshotVersion {
|
|
4392
|
+
readonly 'id': string;
|
|
4393
|
+
readonly 'timestamp': string;
|
|
4394
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4395
|
+
readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4398
|
+
interface InventoryStock {
|
|
4399
|
+
readonly 'discriminator': 'inventory_stock';
|
|
4400
|
+
readonly 'quantity': number;
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
interface InventoryUnlimited {
|
|
4404
|
+
readonly 'discriminator': 'inventory_unlimited';
|
|
4405
|
+
readonly 'placeholder'?: string;
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
interface InventoryUpdate {
|
|
4409
|
+
readonly 'id': string;
|
|
4410
|
+
readonly 'idempotency_key': string;
|
|
4411
|
+
readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
|
|
4412
|
+
readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
|
|
4413
|
+
readonly 'notes': any/*object*/;
|
|
4414
|
+
readonly 'quantity': number;
|
|
4415
|
+
readonly 'type': io.flow.inventory.v0.enums.UpdateType;
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
interface InventoryUpdateForm {
|
|
4419
|
+
readonly 'center': string;
|
|
4420
|
+
readonly 'idempotency_key': string;
|
|
4421
|
+
readonly 'item_number': string;
|
|
4422
|
+
readonly 'quantity': number;
|
|
4423
|
+
readonly 'type': io.flow.inventory.v0.enums.UpdateType;
|
|
4424
|
+
readonly 'notes'?: any/*object*/;
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
interface InventoryUpdateVersion {
|
|
4428
|
+
readonly 'id': string;
|
|
4429
|
+
readonly 'timestamp': string;
|
|
4430
|
+
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
4431
|
+
readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
|
|
4432
|
+
}
|
|
4433
|
+
|
|
4434
|
+
interface NoInventoryReservationError {
|
|
4435
|
+
readonly 'code': 'no_inventory';
|
|
4436
|
+
readonly 'messages': string[];
|
|
4437
|
+
readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4440
|
+
interface NoInventoryReservationErrorItem {
|
|
4441
|
+
readonly 'number': string;
|
|
4442
|
+
readonly 'requested_quantity': number;
|
|
4443
|
+
readonly 'available_quantity': number;
|
|
4444
|
+
}
|
|
4445
|
+
|
|
4446
|
+
interface PfsInventoryCheckResponse {
|
|
4447
|
+
readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
|
|
4448
|
+
}
|
|
4449
|
+
|
|
4450
|
+
interface PfsInventoryCheckResponseItem {
|
|
4451
|
+
readonly 'number': string;
|
|
4452
|
+
readonly 'ats': number;
|
|
4453
|
+
readonly 'in_stock': boolean;
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
interface PfsInventoryStatus {
|
|
4457
|
+
readonly 'status': string;
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
interface Reservation {
|
|
4461
|
+
readonly 'id': string;
|
|
4462
|
+
readonly 'key': string;
|
|
4463
|
+
readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
|
|
4464
|
+
readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
|
|
4465
|
+
readonly 'reserved_until'?: string;
|
|
4466
|
+
}
|
|
4467
|
+
|
|
4468
|
+
interface ReservationForm {
|
|
4469
|
+
readonly 'order_number'?: string;
|
|
4470
|
+
readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
|
|
4471
|
+
}
|
|
4472
|
+
|
|
4473
|
+
interface ReservationItem {
|
|
4474
|
+
readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
|
|
4475
|
+
readonly 'quantity': number;
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4478
|
+
interface ReservationItemForm {
|
|
4479
|
+
readonly 'item_number': string;
|
|
4480
|
+
readonly 'quantity': number;
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
interface ReservationItemReference {
|
|
4484
|
+
readonly 'number': string;
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
interface ReservationOrderReference {
|
|
4488
|
+
readonly 'number': string;
|
|
4489
|
+
}
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
declare namespace io.flow.inventory.v0.unions {
|
|
4493
|
+
type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform);
|
|
4494
|
+
type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
|
|
4495
|
+
}
|
|
4496
|
+
|
|
4497
|
+
declare namespace io.flow.permission.v0.enums {
|
|
4498
|
+
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
4499
|
+
type FlowBehavior = 'view_consumer_data';
|
|
4500
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
4501
|
+
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
4502
|
+
}
|
|
4503
|
+
|
|
4504
|
+
declare namespace io.flow.permission.v0.models {
|
|
4505
|
+
interface BehaviorAudit {
|
|
4506
|
+
readonly 'behavior': io.flow.permission.v0.enums.FlowBehavior;
|
|
4507
|
+
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
4508
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
interface PermissionAudit {
|
|
4512
|
+
readonly 'routes': io.flow.permission.v0.models.RouteAudit[];
|
|
4513
|
+
readonly 'behaviors': io.flow.permission.v0.models.BehaviorAudit[];
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
interface PermissionCheck {
|
|
4517
|
+
readonly 'authentication_technique': io.flow.permission.v0.enums.AuthenticationTechnique;
|
|
4518
|
+
readonly 'user'?: io.flow.common.v0.unions.ExpandableUser;
|
|
4519
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
4520
|
+
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
4521
|
+
readonly 'routes': io.flow.permission.v0.models.PermittedRoute[];
|
|
4522
|
+
}
|
|
4523
|
+
|
|
4524
|
+
interface PermittedRoute {
|
|
4525
|
+
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
4526
|
+
readonly 'path': string;
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
interface RouteAudit {
|
|
4530
|
+
readonly 'method': io.flow.permission.v0.enums.PermittedHttpMethod;
|
|
4531
|
+
readonly 'path': string;
|
|
4532
|
+
readonly 'authentication_techniques': io.flow.permission.v0.enums.AuthenticationTechnique[];
|
|
4533
|
+
readonly 'roles': io.flow.permission.v0.enums.FlowRole[];
|
|
4534
|
+
}
|
|
4535
|
+
|
|
4536
|
+
interface SimplePermissionCheck {
|
|
4537
|
+
readonly 'behaviors': io.flow.permission.v0.enums.FlowBehavior[];
|
|
4538
|
+
}
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4541
|
+
declare namespace io.flow.query.builder.v0.enums {
|
|
4542
|
+
type AvailableFilterFormat = 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass';
|
|
4543
|
+
}
|
|
4544
|
+
|
|
4545
|
+
declare namespace io.flow.query.builder.v0.models {
|
|
4546
|
+
interface AvailableFilterStructured {
|
|
4547
|
+
readonly 'discriminator': 'structured';
|
|
4548
|
+
readonly 'field': string;
|
|
4549
|
+
readonly 'operators': string[];
|
|
4550
|
+
readonly 'format': io.flow.query.builder.v0.enums.AvailableFilterFormat;
|
|
4551
|
+
readonly 'valid_values'?: string[];
|
|
4552
|
+
readonly 'placeholder'?: string;
|
|
4553
|
+
}
|
|
4554
|
+
|
|
4555
|
+
interface AvailableFilterUnstructured {
|
|
4556
|
+
readonly 'discriminator': 'unstructured';
|
|
4557
|
+
readonly 'placeholder'?: string;
|
|
2358
4558
|
}
|
|
2359
4559
|
|
|
2360
|
-
interface
|
|
2361
|
-
readonly '
|
|
4560
|
+
interface Query {
|
|
4561
|
+
readonly 'q': string;
|
|
4562
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilter[];
|
|
2362
4563
|
}
|
|
2363
|
-
}
|
|
2364
4564
|
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
4565
|
+
interface QueryBuilder {
|
|
4566
|
+
readonly 'q': string;
|
|
4567
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilter[];
|
|
4568
|
+
readonly 'available': io.flow.query.builder.v0.unions.AvailableFilter[];
|
|
4569
|
+
}
|
|
2368
4570
|
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
type ApplePayShippingType = 'shipping' | 'delivery' | 'storePickup' | 'servicePickup';
|
|
2374
|
-
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
2375
|
-
}
|
|
4571
|
+
interface QueryBuilderFilterForm {
|
|
4572
|
+
readonly 'discriminator': 'filter';
|
|
4573
|
+
readonly 'filters': io.flow.query.builder.v0.unions.QueryFilterForm[];
|
|
4574
|
+
}
|
|
2376
4575
|
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
readonly '
|
|
2380
|
-
readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
2381
|
-
readonly 'amount': string;
|
|
4576
|
+
interface QueryBuilderQueryForm {
|
|
4577
|
+
readonly 'discriminator': 'query';
|
|
4578
|
+
readonly 'q': string;
|
|
2382
4579
|
}
|
|
2383
4580
|
|
|
2384
|
-
interface
|
|
2385
|
-
readonly '
|
|
2386
|
-
readonly '
|
|
2387
|
-
readonly '
|
|
2388
|
-
readonly '
|
|
2389
|
-
readonly '
|
|
2390
|
-
readonly 'phonetic_givenName'?: string;
|
|
2391
|
-
readonly 'address_lines'?: string[];
|
|
2392
|
-
readonly 'locality'?: string;
|
|
2393
|
-
readonly 'sub_locality'?: string;
|
|
2394
|
-
readonly 'administrative_area'?: string;
|
|
2395
|
-
readonly 'sub_administrative_area'?: string;
|
|
2396
|
-
readonly 'postal_code'?: string;
|
|
2397
|
-
readonly 'country'?: string;
|
|
2398
|
-
readonly 'country_code'?: string;
|
|
4581
|
+
interface QueryFilterStructured {
|
|
4582
|
+
readonly 'discriminator': 'structured';
|
|
4583
|
+
readonly 'q': string;
|
|
4584
|
+
readonly 'field': string;
|
|
4585
|
+
readonly 'operator': string;
|
|
4586
|
+
readonly 'values': string[];
|
|
2399
4587
|
}
|
|
2400
4588
|
|
|
2401
|
-
interface
|
|
2402
|
-
readonly '
|
|
2403
|
-
readonly '
|
|
2404
|
-
readonly '
|
|
2405
|
-
readonly '
|
|
2406
|
-
readonly 'cardholderName'?: string;
|
|
2407
|
-
readonly 'deviceManufacturerIdentifier': string;
|
|
2408
|
-
readonly 'paymentDataType': string;
|
|
2409
|
-
readonly 'paymentData': any/*object*/;
|
|
4589
|
+
interface QueryFilterStructuredForm {
|
|
4590
|
+
readonly 'discriminator': 'structured';
|
|
4591
|
+
readonly 'field': string;
|
|
4592
|
+
readonly 'operator': string;
|
|
4593
|
+
readonly 'values': string[];
|
|
2410
4594
|
}
|
|
2411
4595
|
|
|
2412
|
-
interface
|
|
2413
|
-
readonly '
|
|
2414
|
-
readonly '
|
|
2415
|
-
readonly 'country_code': string;
|
|
2416
|
-
readonly 'currency_code': string;
|
|
2417
|
-
readonly 'merchant_capabilities': io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[];
|
|
2418
|
-
readonly 'shipping_methods'?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[];
|
|
2419
|
-
readonly 'shipping_type'?: io.flow.apple.pay.v0.enums.ApplePayShippingType;
|
|
2420
|
-
readonly 'supported_countries'?: string[];
|
|
2421
|
-
readonly 'supported_networks': io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[];
|
|
2422
|
-
readonly 'required_billingContactFields'?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
2423
|
-
readonly 'required_shippingContactFields'?: io.flow.apple.pay.v0.enums.ApplePayContactField[];
|
|
2424
|
-
readonly 'billing_contact'?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
2425
|
-
readonly 'shipping_contact'?: io.flow.apple.pay.v0.models.ApplePayPaymentContact;
|
|
2426
|
-
readonly 'application_data'?: string;
|
|
4596
|
+
interface QueryFilterUnstructured {
|
|
4597
|
+
readonly 'discriminator': 'unstructured';
|
|
4598
|
+
readonly 'q': string;
|
|
2427
4599
|
}
|
|
2428
4600
|
|
|
2429
|
-
interface
|
|
2430
|
-
readonly '
|
|
2431
|
-
readonly '
|
|
2432
|
-
readonly 'amount': string;
|
|
2433
|
-
readonly 'identifier': string;
|
|
4601
|
+
interface QueryFilterUnstructuredForm {
|
|
4602
|
+
readonly 'discriminator': 'unstructured';
|
|
4603
|
+
readonly 'q': string;
|
|
2434
4604
|
}
|
|
2435
4605
|
}
|
|
2436
4606
|
|
|
4607
|
+
declare namespace io.flow.query.builder.v0.unions {
|
|
4608
|
+
type AvailableFilter = (io.flow.query.builder.v0.models.AvailableFilterStructured | io.flow.query.builder.v0.models.AvailableFilterUnstructured);
|
|
4609
|
+
type QueryBuilderForm = (io.flow.query.builder.v0.models.QueryBuilderFilterForm | io.flow.query.builder.v0.models.QueryBuilderQueryForm);
|
|
4610
|
+
type QueryFilter = (io.flow.query.builder.v0.models.QueryFilterStructured | io.flow.query.builder.v0.models.QueryFilterUnstructured);
|
|
4611
|
+
type QueryFilterForm = (io.flow.query.builder.v0.models.QueryFilterStructuredForm | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm);
|
|
4612
|
+
}
|
|
4613
|
+
|
|
2437
4614
|
declare namespace io.flow.v0.enums {
|
|
2438
4615
|
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
2439
4616
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
2440
4617
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
2441
4618
|
type AddressVerificationResultFieldCode = 'matched' | 'not_available' | 'not_checked' | 'not_matched';
|
|
2442
4619
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
2443
|
-
type Aggregate = 'maximum' | 'minimum';
|
|
2444
4620
|
type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
|
|
2445
4621
|
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
|
|
2446
4622
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
@@ -2488,7 +4664,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2488
4664
|
type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified';
|
|
2489
4665
|
type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
|
|
2490
4666
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
2491
|
-
type EntityIdentifierType = 'ioss' | 'voec';
|
|
4667
|
+
type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
|
|
2492
4668
|
type Environment = 'sandbox' | 'production';
|
|
2493
4669
|
type EventType = 'test_upserted' | 'generate_load' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
2494
4670
|
type ExceptionType = 'open' | 'closed';
|
|
@@ -2520,7 +4696,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2520
4696
|
type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
|
|
2521
4697
|
type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
|
|
2522
4698
|
type InputSpecificationType = 'text' | 'number';
|
|
2523
|
-
type InventoryStatus = 'has_inventory' | 'no_inventory';
|
|
2524
4699
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
2525
4700
|
type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
|
|
2526
4701
|
type ItemIdentifier = 'item_number' | 'sku';
|
|
@@ -2648,7 +4823,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2648
4823
|
type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
|
|
2649
4824
|
type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
|
|
2650
4825
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
2651
|
-
type UpdateType = 'change' | 'set';
|
|
2652
4826
|
type UserStatus = 'pending' | 'active' | 'inactive';
|
|
2653
4827
|
type ValueAddedService = 'Hazardous Material';
|
|
2654
4828
|
type Visibility = 'public' | 'private';
|
|
@@ -5978,11 +8152,6 @@ declare namespace io.flow.v0.models {
|
|
|
5978
8152
|
readonly 'export': io.flow.v0.models.Export;
|
|
5979
8153
|
}
|
|
5980
8154
|
|
|
5981
|
-
interface ExternalApiTimeoutReservationError {
|
|
5982
|
-
readonly 'code': 'external_api_timeout';
|
|
5983
|
-
readonly 'messages': string[];
|
|
5984
|
-
}
|
|
5985
|
-
|
|
5986
8155
|
interface FeeDeduction {
|
|
5987
8156
|
readonly 'type': io.flow.v0.enums.FeeDeductionType;
|
|
5988
8157
|
readonly 'amount': number;
|
|
@@ -6295,11 +8464,6 @@ declare namespace io.flow.v0.models {
|
|
|
6295
8464
|
readonly 'messages': string[];
|
|
6296
8465
|
}
|
|
6297
8466
|
|
|
6298
|
-
interface GenericReservationError {
|
|
6299
|
-
readonly 'code': 'generic_reservation_error';
|
|
6300
|
-
readonly 'messages': string[];
|
|
6301
|
-
}
|
|
6302
|
-
|
|
6303
8467
|
interface GeoForm {
|
|
6304
8468
|
readonly 'country': string;
|
|
6305
8469
|
readonly 'currency': string;
|
|
@@ -6688,118 +8852,6 @@ declare namespace io.flow.v0.models {
|
|
|
6688
8852
|
readonly 'limitations'?: io.flow.v0.unions.InputSpecificationLimitation[];
|
|
6689
8853
|
}
|
|
6690
8854
|
|
|
6691
|
-
interface InventoryBackorder {
|
|
6692
|
-
readonly 'discriminator': 'inventory_backorder';
|
|
6693
|
-
readonly 'quantity': number;
|
|
6694
|
-
}
|
|
6695
|
-
|
|
6696
|
-
interface InventoryCenterReference {
|
|
6697
|
-
readonly 'key': string;
|
|
6698
|
-
}
|
|
6699
|
-
|
|
6700
|
-
interface InventoryCheckResponse {
|
|
6701
|
-
readonly 'items': io.flow.v0.models.InventoryCheckResponseItem[];
|
|
6702
|
-
}
|
|
6703
|
-
|
|
6704
|
-
interface InventoryCheckResponseItem {
|
|
6705
|
-
readonly 'number': string;
|
|
6706
|
-
readonly 'quantity': number;
|
|
6707
|
-
readonly 'inventory_status': io.flow.v0.enums.InventoryStatus;
|
|
6708
|
-
}
|
|
6709
|
-
|
|
6710
|
-
interface InventoryExperienceReference {
|
|
6711
|
-
readonly 'key': string;
|
|
6712
|
-
}
|
|
6713
|
-
|
|
6714
|
-
interface InventoryFollowEcommercePlatform {
|
|
6715
|
-
readonly 'discriminator': 'inventory_follow_ecommerce_platform';
|
|
6716
|
-
readonly 'quantity': number;
|
|
6717
|
-
}
|
|
6718
|
-
|
|
6719
|
-
interface InventoryItemReference {
|
|
6720
|
-
readonly 'number': string;
|
|
6721
|
-
}
|
|
6722
|
-
|
|
6723
|
-
interface InventoryRequest {
|
|
6724
|
-
readonly 'items': io.flow.v0.models.InventoryRequestItem[];
|
|
6725
|
-
}
|
|
6726
|
-
|
|
6727
|
-
interface InventoryRequestItem {
|
|
6728
|
-
readonly 'number': string;
|
|
6729
|
-
readonly 'quantity': number;
|
|
6730
|
-
}
|
|
6731
|
-
|
|
6732
|
-
interface InventoryRule {
|
|
6733
|
-
readonly 'id': string;
|
|
6734
|
-
readonly 'position': number;
|
|
6735
|
-
readonly 'query': string;
|
|
6736
|
-
readonly 'strategy': io.flow.v0.unions.InventoryStrategy;
|
|
6737
|
-
}
|
|
6738
|
-
|
|
6739
|
-
interface InventoryRuleForm {
|
|
6740
|
-
readonly 'position': number;
|
|
6741
|
-
readonly 'query': string;
|
|
6742
|
-
readonly 'strategy': io.flow.v0.unions.InventoryStrategy;
|
|
6743
|
-
}
|
|
6744
|
-
|
|
6745
|
-
interface InventoryRuleVersion {
|
|
6746
|
-
readonly 'id': string;
|
|
6747
|
-
readonly 'timestamp': string;
|
|
6748
|
-
readonly 'type': io.flow.v0.enums.ChangeType;
|
|
6749
|
-
readonly 'inventory_rule': io.flow.v0.models.InventoryRule;
|
|
6750
|
-
}
|
|
6751
|
-
|
|
6752
|
-
interface InventorySnapshot {
|
|
6753
|
-
readonly 'id': string;
|
|
6754
|
-
readonly 'available': number;
|
|
6755
|
-
readonly 'center': io.flow.v0.models.InventoryCenterReference;
|
|
6756
|
-
readonly 'item': io.flow.v0.models.InventoryItemReference;
|
|
6757
|
-
readonly 'quantity': number;
|
|
6758
|
-
}
|
|
6759
|
-
|
|
6760
|
-
interface InventorySnapshotVersion {
|
|
6761
|
-
readonly 'id': string;
|
|
6762
|
-
readonly 'timestamp': string;
|
|
6763
|
-
readonly 'type': io.flow.v0.enums.ChangeType;
|
|
6764
|
-
readonly 'inventory_snapshot': io.flow.v0.models.InventorySnapshot;
|
|
6765
|
-
}
|
|
6766
|
-
|
|
6767
|
-
interface InventoryStock {
|
|
6768
|
-
readonly 'discriminator': 'inventory_stock';
|
|
6769
|
-
readonly 'quantity': number;
|
|
6770
|
-
}
|
|
6771
|
-
|
|
6772
|
-
interface InventoryUnlimited {
|
|
6773
|
-
readonly 'discriminator': 'inventory_unlimited';
|
|
6774
|
-
readonly 'placeholder'?: string;
|
|
6775
|
-
}
|
|
6776
|
-
|
|
6777
|
-
interface InventoryUpdate {
|
|
6778
|
-
readonly 'id': string;
|
|
6779
|
-
readonly 'idempotency_key': string;
|
|
6780
|
-
readonly 'center': io.flow.v0.models.InventoryCenterReference;
|
|
6781
|
-
readonly 'item': io.flow.v0.models.InventoryItemReference;
|
|
6782
|
-
readonly 'notes': any/*object*/;
|
|
6783
|
-
readonly 'quantity': number;
|
|
6784
|
-
readonly 'type': io.flow.v0.enums.UpdateType;
|
|
6785
|
-
}
|
|
6786
|
-
|
|
6787
|
-
interface InventoryUpdateForm {
|
|
6788
|
-
readonly 'center': string;
|
|
6789
|
-
readonly 'idempotency_key': string;
|
|
6790
|
-
readonly 'item_number': string;
|
|
6791
|
-
readonly 'quantity': number;
|
|
6792
|
-
readonly 'type': io.flow.v0.enums.UpdateType;
|
|
6793
|
-
readonly 'notes'?: any/*object*/;
|
|
6794
|
-
}
|
|
6795
|
-
|
|
6796
|
-
interface InventoryUpdateVersion {
|
|
6797
|
-
readonly 'id': string;
|
|
6798
|
-
readonly 'timestamp': string;
|
|
6799
|
-
readonly 'type': io.flow.v0.enums.ChangeType;
|
|
6800
|
-
readonly 'inventory_update': io.flow.v0.models.InventoryUpdate;
|
|
6801
|
-
}
|
|
6802
|
-
|
|
6803
8855
|
interface Invitation {
|
|
6804
8856
|
readonly 'id': string;
|
|
6805
8857
|
readonly 'organization': io.flow.v0.unions.ExpandableOrganization;
|
|
@@ -7826,18 +9878,6 @@ declare namespace io.flow.v0.models {
|
|
|
7826
9878
|
readonly 'last'?: string;
|
|
7827
9879
|
}
|
|
7828
9880
|
|
|
7829
|
-
interface NoInventoryReservationError {
|
|
7830
|
-
readonly 'code': 'no_inventory';
|
|
7831
|
-
readonly 'messages': string[];
|
|
7832
|
-
readonly 'items': io.flow.v0.models.NoInventoryReservationErrorItem[];
|
|
7833
|
-
}
|
|
7834
|
-
|
|
7835
|
-
interface NoInventoryReservationErrorItem {
|
|
7836
|
-
readonly 'number': string;
|
|
7837
|
-
readonly 'requested_quantity': number;
|
|
7838
|
-
readonly 'available_quantity': number;
|
|
7839
|
-
}
|
|
7840
|
-
|
|
7841
9881
|
interface NotificationDeletedV2 {
|
|
7842
9882
|
readonly 'discriminator': 'notification_deleted_v2';
|
|
7843
9883
|
readonly 'event_id': string;
|
|
@@ -9830,20 +11870,6 @@ declare namespace io.flow.v0.models {
|
|
|
9830
11870
|
readonly 'path': string;
|
|
9831
11871
|
}
|
|
9832
11872
|
|
|
9833
|
-
interface PfsInventoryCheckResponse {
|
|
9834
|
-
readonly 'items': Record<string, io.flow.v0.models.PfsInventoryCheckResponseItem>;
|
|
9835
|
-
}
|
|
9836
|
-
|
|
9837
|
-
interface PfsInventoryCheckResponseItem {
|
|
9838
|
-
readonly 'number': string;
|
|
9839
|
-
readonly 'ats': number;
|
|
9840
|
-
readonly 'in_stock': boolean;
|
|
9841
|
-
}
|
|
9842
|
-
|
|
9843
|
-
interface PfsInventoryStatus {
|
|
9844
|
-
readonly 'status': string;
|
|
9845
|
-
}
|
|
9846
|
-
|
|
9847
11873
|
interface PhysicalDelivery {
|
|
9848
11874
|
readonly 'discriminator': 'physical_delivery';
|
|
9849
11875
|
readonly 'id': string;
|
|
@@ -10801,37 +12827,6 @@ declare namespace io.flow.v0.models {
|
|
|
10801
12827
|
readonly 'days_of_week': io.flow.v0.enums.DayOfWeek[];
|
|
10802
12828
|
}
|
|
10803
12829
|
|
|
10804
|
-
interface Reservation {
|
|
10805
|
-
readonly 'id': string;
|
|
10806
|
-
readonly 'key': string;
|
|
10807
|
-
readonly 'order'?: io.flow.v0.models.ReservationOrderReference;
|
|
10808
|
-
readonly 'items': io.flow.v0.models.ReservationItem[];
|
|
10809
|
-
readonly 'reserved_until'?: string;
|
|
10810
|
-
}
|
|
10811
|
-
|
|
10812
|
-
interface ReservationForm {
|
|
10813
|
-
readonly 'order_number'?: string;
|
|
10814
|
-
readonly 'items': io.flow.v0.models.ReservationItemForm[];
|
|
10815
|
-
}
|
|
10816
|
-
|
|
10817
|
-
interface ReservationItem {
|
|
10818
|
-
readonly 'item': io.flow.v0.models.ReservationItemReference;
|
|
10819
|
-
readonly 'quantity': number;
|
|
10820
|
-
}
|
|
10821
|
-
|
|
10822
|
-
interface ReservationItemForm {
|
|
10823
|
-
readonly 'item_number': string;
|
|
10824
|
-
readonly 'quantity': number;
|
|
10825
|
-
}
|
|
10826
|
-
|
|
10827
|
-
interface ReservationItemReference {
|
|
10828
|
-
readonly 'number': string;
|
|
10829
|
-
}
|
|
10830
|
-
|
|
10831
|
-
interface ReservationOrderReference {
|
|
10832
|
-
readonly 'number': string;
|
|
10833
|
-
}
|
|
10834
|
-
|
|
10835
12830
|
interface Return {
|
|
10836
12831
|
readonly 'id': string;
|
|
10837
12832
|
readonly 'key': string;
|
|
@@ -11077,7 +13072,7 @@ declare namespace io.flow.v0.models {
|
|
|
11077
13072
|
readonly 'event_id': string;
|
|
11078
13073
|
readonly 'timestamp': string;
|
|
11079
13074
|
readonly 'organization_id': string;
|
|
11080
|
-
readonly 'rule': io.flow.v0.models.InventoryRule;
|
|
13075
|
+
readonly 'rule': io.flow.inventory.v0.models.InventoryRule;
|
|
11081
13076
|
}
|
|
11082
13077
|
|
|
11083
13078
|
interface Schedule {
|
|
@@ -12337,6 +14332,11 @@ declare namespace io.flow.v0.models {
|
|
|
12337
14332
|
readonly 'eci'?: string;
|
|
12338
14333
|
readonly 'liability_sift'?: boolean;
|
|
12339
14334
|
readonly 'version'?: string;
|
|
14335
|
+
readonly 'authenticated'?: boolean;
|
|
14336
|
+
readonly 'authenticated_result'?: string;
|
|
14337
|
+
readonly 'offered'?: boolean;
|
|
14338
|
+
readonly 'offered_result'?: string;
|
|
14339
|
+
readonly 'sca_exemption'?: string;
|
|
12340
14340
|
}
|
|
12341
14341
|
|
|
12342
14342
|
interface ThreedsChallengeActionDetails {
|
|
@@ -13123,7 +15123,6 @@ declare namespace io.flow.v0.unions {
|
|
|
13123
15123
|
type GatewayAuthenticationDataForm = (io.flow.v0.models.StripeAuthenticationDataForm);
|
|
13124
15124
|
type InlineActionConfiguration = (io.flow.v0.models.BrowserInlineActionConfiguration);
|
|
13125
15125
|
type InputSpecificationLimitation = (io.flow.v0.models.InputSpecificationLimitationMax);
|
|
13126
|
-
type InventoryStrategy = (io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform);
|
|
13127
15126
|
type KnowYourBusiness = (io.flow.v0.models.KnowYourBusinessUsa);
|
|
13128
15127
|
type KnowYourBusinessForm = (io.flow.v0.models.KnowYourBusinessUsaForm);
|
|
13129
15128
|
type LabelSurchargeDetail = (io.flow.v0.models.LabelSurchargeDetailFlat | io.flow.v0.models.LabelSurchargeDetailPercentage | io.flow.v0.models.LabelSurchargeDetailPerWeightUnit);
|
|
@@ -13174,7 +15173,6 @@ declare namespace io.flow.v0.unions {
|
|
|
13174
15173
|
type RatecardEstimate = (io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4);
|
|
13175
15174
|
type RatecardFee = (io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizePieceSurchargeRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee | io.flow.v0.models.SecurityRatecardFee | io.flow.v0.models.EeiFilingRatecardFee | io.flow.v0.models.FixedDdpRatecardFee | io.flow.v0.models.FixedCurrencyConversionRatecardFee);
|
|
13176
15175
|
type RepeatSchedule = (io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly);
|
|
13177
|
-
type ReservationError = (io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError);
|
|
13178
15176
|
type ReturnSource = (io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor);
|
|
13179
15177
|
type SdkAdyenV3AuthenticationToken = (io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken);
|
|
13180
15178
|
type ServiceDescription = (io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown);
|
|
@@ -13203,7 +15201,6 @@ export const abandonedOrderSettingStatus: PropTypes.Requireable<io.flow.v0.enums
|
|
|
13203
15201
|
export const addressFieldName: PropTypes.Requireable<io.flow.v0.enums.AddressFieldName>;
|
|
13204
15202
|
export const addressVerificationResultFieldCode: PropTypes.Requireable<io.flow.v0.enums.AddressVerificationResultFieldCode>;
|
|
13205
15203
|
export const adjustmentReasonKey: PropTypes.Requireable<io.flow.v0.enums.AdjustmentReasonKey>;
|
|
13206
|
-
export const aggregate: PropTypes.Requireable<io.flow.v0.enums.Aggregate>;
|
|
13207
15204
|
export const attributeDataType: PropTypes.Requireable<io.flow.v0.enums.AttributeDataType>;
|
|
13208
15205
|
export const attributeIntent: PropTypes.Requireable<io.flow.v0.enums.AttributeIntent>;
|
|
13209
15206
|
export const authenticationTechnique: PropTypes.Requireable<io.flow.v0.enums.AuthenticationTechnique>;
|
|
@@ -13283,7 +15280,6 @@ export const includedLevyKey: PropTypes.Requireable<io.flow.v0.enums.IncludedLev
|
|
|
13283
15280
|
export const incoterm: PropTypes.Requireable<io.flow.v0.enums.Incoterm>;
|
|
13284
15281
|
export const inlineWindowViewportSize: PropTypes.Requireable<io.flow.v0.enums.InlineWindowViewportSize>;
|
|
13285
15282
|
export const inputSpecificationType: PropTypes.Requireable<io.flow.v0.enums.InputSpecificationType>;
|
|
13286
|
-
export const inventoryStatus: PropTypes.Requireable<io.flow.v0.enums.InventoryStatus>;
|
|
13287
15283
|
export const invitationErrorCode: PropTypes.Requireable<io.flow.v0.enums.InvitationErrorCode>;
|
|
13288
15284
|
export const itemAvailabilityStatus: PropTypes.Requireable<io.flow.v0.enums.ItemAvailabilityStatus>;
|
|
13289
15285
|
export const itemIdentifier: PropTypes.Requireable<io.flow.v0.enums.ItemIdentifier>;
|
|
@@ -13411,7 +15407,6 @@ export const unitOfTime: PropTypes.Requireable<io.flow.v0.enums.UnitOfTime>;
|
|
|
13411
15407
|
export const unitOfVolume: PropTypes.Requireable<io.flow.v0.enums.UnitOfVolume>;
|
|
13412
15408
|
export const unitOfWeight: PropTypes.Requireable<io.flow.v0.enums.UnitOfWeight>;
|
|
13413
15409
|
export const updatePolicy: PropTypes.Requireable<io.flow.v0.enums.UpdatePolicy>;
|
|
13414
|
-
export const updateType: PropTypes.Requireable<io.flow.v0.enums.UpdateType>;
|
|
13415
15410
|
export const userStatus: PropTypes.Requireable<io.flow.v0.enums.UserStatus>;
|
|
13416
15411
|
export const valueAddedService: PropTypes.Requireable<io.flow.v0.enums.ValueAddedService>;
|
|
13417
15412
|
export const visibility: PropTypes.Requireable<io.flow.v0.enums.Visibility>;
|
|
@@ -13880,7 +15875,6 @@ export const exportForm: PropTypes.Requireable<io.flow.v0.models.ExportForm>;
|
|
|
13880
15875
|
export const exportLocalizedItemPrices: PropTypes.Requireable<io.flow.v0.models.ExportLocalizedItemPrices>;
|
|
13881
15876
|
export const exportLocalizedItemPricesDetail: PropTypes.Requireable<io.flow.v0.models.ExportLocalizedItemPricesDetail>;
|
|
13882
15877
|
export const exportVersion: PropTypes.Requireable<io.flow.v0.models.ExportVersion>;
|
|
13883
|
-
export const externalApiTimeoutReservationError: PropTypes.Requireable<io.flow.v0.models.ExternalApiTimeoutReservationError>;
|
|
13884
15878
|
export const feeDeduction: PropTypes.Requireable<io.flow.v0.models.FeeDeduction>;
|
|
13885
15879
|
export const feeWeight: PropTypes.Requireable<io.flow.v0.models.FeeWeight>;
|
|
13886
15880
|
export const fieldValidationMax: PropTypes.Requireable<io.flow.v0.models.FieldValidationMax>;
|
|
@@ -13931,7 +15925,6 @@ export const fulfillmentLineCancelForm: PropTypes.Requireable<io.flow.v0.models.
|
|
|
13931
15925
|
export const fullyHarmonizedItemUpserted: PropTypes.Requireable<io.flow.v0.models.FullyHarmonizedItemUpserted>;
|
|
13932
15926
|
export const generateLoad: PropTypes.Requireable<io.flow.v0.models.GenerateLoad>;
|
|
13933
15927
|
export const genericError: PropTypes.Requireable<io.flow.v0.models.GenericError>;
|
|
13934
|
-
export const genericReservationError: PropTypes.Requireable<io.flow.v0.models.GenericReservationError>;
|
|
13935
15928
|
export const geoForm: PropTypes.Requireable<io.flow.v0.models.GeoForm>;
|
|
13936
15929
|
export const googlePayAuthorizationPayload: PropTypes.Requireable<io.flow.v0.models.GooglePayAuthorizationPayload>;
|
|
13937
15930
|
export const graphqlRequest: PropTypes.Requireable<io.flow.v0.models.GraphqlRequest>;
|
|
@@ -13987,25 +15980,6 @@ export const inputFormSpecification: PropTypes.Requireable<io.flow.v0.models.Inp
|
|
|
13987
15980
|
export const inputSpecification: PropTypes.Requireable<io.flow.v0.models.InputSpecification>;
|
|
13988
15981
|
export const inputSpecificationLimitationMax: PropTypes.Requireable<io.flow.v0.models.InputSpecificationLimitationMax>;
|
|
13989
15982
|
export const inputSpecificationLimitations: PropTypes.Requireable<io.flow.v0.models.InputSpecificationLimitations>;
|
|
13990
|
-
export const inventoryBackorder: PropTypes.Requireable<io.flow.v0.models.InventoryBackorder>;
|
|
13991
|
-
export const inventoryCenterReference: PropTypes.Requireable<io.flow.v0.models.InventoryCenterReference>;
|
|
13992
|
-
export const inventoryCheckResponse: PropTypes.Requireable<io.flow.v0.models.InventoryCheckResponse>;
|
|
13993
|
-
export const inventoryCheckResponseItem: PropTypes.Requireable<io.flow.v0.models.InventoryCheckResponseItem>;
|
|
13994
|
-
export const inventoryExperienceReference: PropTypes.Requireable<io.flow.v0.models.InventoryExperienceReference>;
|
|
13995
|
-
export const inventoryFollowEcommercePlatform: PropTypes.Requireable<io.flow.v0.models.InventoryFollowEcommercePlatform>;
|
|
13996
|
-
export const inventoryItemReference: PropTypes.Requireable<io.flow.v0.models.InventoryItemReference>;
|
|
13997
|
-
export const inventoryRequest: PropTypes.Requireable<io.flow.v0.models.InventoryRequest>;
|
|
13998
|
-
export const inventoryRequestItem: PropTypes.Requireable<io.flow.v0.models.InventoryRequestItem>;
|
|
13999
|
-
export const inventoryRule: PropTypes.Requireable<io.flow.v0.models.InventoryRule>;
|
|
14000
|
-
export const inventoryRuleForm: PropTypes.Requireable<io.flow.v0.models.InventoryRuleForm>;
|
|
14001
|
-
export const inventoryRuleVersion: PropTypes.Requireable<io.flow.v0.models.InventoryRuleVersion>;
|
|
14002
|
-
export const inventorySnapshot: PropTypes.Requireable<io.flow.v0.models.InventorySnapshot>;
|
|
14003
|
-
export const inventorySnapshotVersion: PropTypes.Requireable<io.flow.v0.models.InventorySnapshotVersion>;
|
|
14004
|
-
export const inventoryStock: PropTypes.Requireable<io.flow.v0.models.InventoryStock>;
|
|
14005
|
-
export const inventoryUnlimited: PropTypes.Requireable<io.flow.v0.models.InventoryUnlimited>;
|
|
14006
|
-
export const inventoryUpdate: PropTypes.Requireable<io.flow.v0.models.InventoryUpdate>;
|
|
14007
|
-
export const inventoryUpdateForm: PropTypes.Requireable<io.flow.v0.models.InventoryUpdateForm>;
|
|
14008
|
-
export const inventoryUpdateVersion: PropTypes.Requireable<io.flow.v0.models.InventoryUpdateVersion>;
|
|
14009
15983
|
export const invitation: PropTypes.Requireable<io.flow.v0.models.Invitation>;
|
|
14010
15984
|
export const invitationError: PropTypes.Requireable<io.flow.v0.models.InvitationError>;
|
|
14011
15985
|
export const invitationForm: PropTypes.Requireable<io.flow.v0.models.InvitationForm>;
|
|
@@ -14144,8 +16118,6 @@ export const monthlyAverage: PropTypes.Requireable<io.flow.v0.models.MonthlyAver
|
|
|
14144
16118
|
export const monthlyAverageVolume: PropTypes.Requireable<io.flow.v0.models.MonthlyAverageVolume>;
|
|
14145
16119
|
export const name: PropTypes.Requireable<io.flow.v0.models.Name>;
|
|
14146
16120
|
export const nameForm: PropTypes.Requireable<io.flow.v0.models.NameForm>;
|
|
14147
|
-
export const noInventoryReservationError: PropTypes.Requireable<io.flow.v0.models.NoInventoryReservationError>;
|
|
14148
|
-
export const noInventoryReservationErrorItem: PropTypes.Requireable<io.flow.v0.models.NoInventoryReservationErrorItem>;
|
|
14149
16121
|
export const notificationDeletedV2: PropTypes.Requireable<io.flow.v0.models.NotificationDeletedV2>;
|
|
14150
16122
|
export const notificationUpsertedV2: PropTypes.Requireable<io.flow.v0.models.NotificationUpsertedV2>;
|
|
14151
16123
|
export const numberRange: PropTypes.Requireable<io.flow.v0.models.NumberRange>;
|
|
@@ -14427,9 +16399,6 @@ export const percentMargin: PropTypes.Requireable<io.flow.v0.models.PercentMargi
|
|
|
14427
16399
|
export const permissionAudit: PropTypes.Requireable<io.flow.v0.models.PermissionAudit>;
|
|
14428
16400
|
export const permissionCheck: PropTypes.Requireable<io.flow.v0.models.PermissionCheck>;
|
|
14429
16401
|
export const permittedRoute: PropTypes.Requireable<io.flow.v0.models.PermittedRoute>;
|
|
14430
|
-
export const pfsInventoryCheckResponse: PropTypes.Requireable<io.flow.v0.models.PfsInventoryCheckResponse>;
|
|
14431
|
-
export const pfsInventoryCheckResponseItem: PropTypes.Requireable<io.flow.v0.models.PfsInventoryCheckResponseItem>;
|
|
14432
|
-
export const pfsInventoryStatus: PropTypes.Requireable<io.flow.v0.models.PfsInventoryStatus>;
|
|
14433
16402
|
export const physicalDelivery: PropTypes.Requireable<io.flow.v0.models.PhysicalDelivery>;
|
|
14434
16403
|
export const physicalDeliveryPreferredService: PropTypes.Requireable<io.flow.v0.models.PhysicalDeliveryPreferredService>;
|
|
14435
16404
|
export const postPaymentRedirectUrls: PropTypes.Requireable<io.flow.v0.models.PostPaymentRedirectUrls>;
|
|
@@ -14553,12 +16522,6 @@ export const repeatDaily: PropTypes.Requireable<io.flow.v0.models.RepeatDaily>;
|
|
|
14553
16522
|
export const repeatHourly: PropTypes.Requireable<io.flow.v0.models.RepeatHourly>;
|
|
14554
16523
|
export const repeatMonthly: PropTypes.Requireable<io.flow.v0.models.RepeatMonthly>;
|
|
14555
16524
|
export const repeatWeekly: PropTypes.Requireable<io.flow.v0.models.RepeatWeekly>;
|
|
14556
|
-
export const reservation: PropTypes.Requireable<io.flow.v0.models.Reservation>;
|
|
14557
|
-
export const reservationForm: PropTypes.Requireable<io.flow.v0.models.ReservationForm>;
|
|
14558
|
-
export const reservationItem: PropTypes.Requireable<io.flow.v0.models.ReservationItem>;
|
|
14559
|
-
export const reservationItemForm: PropTypes.Requireable<io.flow.v0.models.ReservationItemForm>;
|
|
14560
|
-
export const reservationItemReference: PropTypes.Requireable<io.flow.v0.models.ReservationItemReference>;
|
|
14561
|
-
export const reservationOrderReference: PropTypes.Requireable<io.flow.v0.models.ReservationOrderReference>;
|
|
14562
16525
|
export const UNSAFE_return: PropTypes.Requireable<io.flow.v0.models.Return>;
|
|
14563
16526
|
export const returnDeleted: PropTypes.Requireable<io.flow.v0.models.ReturnDeleted>;
|
|
14564
16527
|
export const returnDeletedV2: PropTypes.Requireable<io.flow.v0.models.ReturnDeletedV2>;
|
|
@@ -14911,7 +16874,6 @@ export const gatewayAuthenticationData: PropTypes.Requireable<io.flow.v0.unions.
|
|
|
14911
16874
|
export const gatewayAuthenticationDataForm: PropTypes.Requireable<io.flow.v0.unions.GatewayAuthenticationDataForm>;
|
|
14912
16875
|
export const inlineActionConfiguration: PropTypes.Requireable<io.flow.v0.unions.InlineActionConfiguration>;
|
|
14913
16876
|
export const inputSpecificationLimitation: PropTypes.Requireable<io.flow.v0.unions.InputSpecificationLimitation>;
|
|
14914
|
-
export const inventoryStrategy: PropTypes.Requireable<io.flow.v0.unions.InventoryStrategy>;
|
|
14915
16877
|
export const knowYourBusiness: PropTypes.Requireable<io.flow.v0.unions.KnowYourBusiness>;
|
|
14916
16878
|
export const knowYourBusinessForm: PropTypes.Requireable<io.flow.v0.unions.KnowYourBusinessForm>;
|
|
14917
16879
|
export const labelSurchargeDetail: PropTypes.Requireable<io.flow.v0.unions.LabelSurchargeDetail>;
|
|
@@ -14954,7 +16916,6 @@ export const queryFilterForm: PropTypes.Requireable<io.flow.v0.unions.QueryFilte
|
|
|
14954
16916
|
export const ratecardEstimate: PropTypes.Requireable<io.flow.v0.unions.RatecardEstimate>;
|
|
14955
16917
|
export const ratecardFee: PropTypes.Requireable<io.flow.v0.unions.RatecardFee>;
|
|
14956
16918
|
export const repeatSchedule: PropTypes.Requireable<io.flow.v0.unions.RepeatSchedule>;
|
|
14957
|
-
export const reservationError: PropTypes.Requireable<io.flow.v0.unions.ReservationError>;
|
|
14958
16919
|
export const returnSource: PropTypes.Requireable<io.flow.v0.unions.ReturnSource>;
|
|
14959
16920
|
export const sdkAdyenV3AuthenticationToken: PropTypes.Requireable<io.flow.v0.unions.SdkAdyenV3AuthenticationToken>;
|
|
14960
16921
|
export const serviceDescription: PropTypes.Requireable<io.flow.v0.unions.ServiceDescription>;
|