@flowio/types 11.19.11 → 11.19.13

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.
@@ -2474,1154 +2474,787 @@ declare namespace io.flow.price.v0.unions {
2474
2474
  | io.flow.price.v0.models.DeminimisPerItem;
2475
2475
  }
2476
2476
 
2477
- declare namespace io.flow.shopify.xborder.v0.enums {
2478
- type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
2479
- type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
2480
- type ShopifyOrderCancelReason =
2481
- | 'customer'
2482
- | 'fraud'
2483
- | 'inventory'
2484
- | 'declined'
2477
+ declare namespace io.flow.reference.v0.enums {
2478
+ type PaymentMethodCapability = 'credit' | 'debit';
2479
+ type PaymentMethodType = 'card' | 'online' | 'offline';
2480
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
2481
+ type ProvinceType =
2482
+ | 'area'
2483
+ | 'city'
2484
+ | 'county'
2485
+ | 'department'
2486
+ | 'dependency'
2487
+ | 'district'
2488
+ | 'do_si'
2489
+ | 'emirate'
2490
+ | 'entity'
2491
+ | 'island'
2492
+ | 'municipality'
2493
+ | 'oblast'
2494
+ | 'outlying_area'
2495
+ | 'parish'
2496
+ | 'prefecture'
2497
+ | 'province'
2498
+ | 'state'
2499
+ | 'territory'
2485
2500
  | 'other';
2486
- type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
2487
- type ShopifyOrderDiscountApplicationTargetSelection =
2488
- | 'all'
2489
- | 'entitled'
2490
- | 'explicit';
2491
- type ShopifyOrderDiscountApplicationTargetType =
2492
- | 'line_item'
2493
- | 'shipping_line';
2494
- type ShopifyOrderDiscountApplicationType =
2495
- | 'automatic'
2496
- | 'discount_code'
2497
- | 'manual'
2498
- | 'script';
2499
- type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
2500
- type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2501
- type ShopifyOrderFinancialStatusType =
2502
- | 'pending'
2503
- | 'authorized'
2504
- | 'partially_paid'
2505
- | 'paid'
2506
- | 'partially_refunded'
2507
- | 'refunded'
2508
- | 'voided';
2509
- type ShopifyOrderFulfillmentShipmentStatus =
2510
- | 'label_printed'
2511
- | 'label_purchased'
2512
- | 'attempted_delivery'
2513
- | 'ready_for_pickup'
2514
- | 'confirmed'
2515
- | 'in_transit'
2516
- | 'out_for_delivery'
2517
- | 'delivered'
2518
- | 'failure';
2519
- type ShopifyOrderFulfillmentStatus =
2520
- | 'pending'
2521
- | 'open'
2522
- | 'success'
2523
- | 'cancelled'
2524
- | 'error'
2525
- | 'failure';
2526
- type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2527
- type ShopifyOrderInventoryBehaviour =
2528
- | 'bypass'
2529
- | 'decrement_ignoring_policy'
2530
- | 'decrement_obeying_policy';
2531
- type ShopifyOrderKindType =
2532
- | 'authorization'
2533
- | 'capture'
2534
- | 'sale'
2535
- | 'void'
2536
- | 'refund';
2537
- type ShopifyOrderProcessingMethodType =
2538
- | 'checkout'
2539
- | 'direct'
2540
- | 'manual'
2541
- | 'offsite'
2542
- | 'express';
2543
- type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
2544
- type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2545
- type ShopifyOrderTransactionErrorCode =
2546
- | 'incorrect_number'
2547
- | 'invalid_number'
2548
- | 'invalid_expiry_date'
2549
- | 'invalid_cvc'
2550
- | 'expired_card'
2551
- | 'incorrect_cvc'
2552
- | 'incorrect_zip'
2553
- | 'incorrect_address'
2554
- | 'card_declined'
2555
- | 'processing_error'
2556
- | 'call_issuer'
2557
- | 'pick_up_card';
2558
- type ShopifyOrderTransactionStatus =
2559
- | 'pending'
2560
- | 'failure'
2561
- | 'success'
2562
- | 'error';
2563
- type ShopifyOrderValueType = 'string' | 'integer';
2564
- type ShopifyWebhookFormat = 'json' | 'xml';
2565
- type ShopifyWebhookTopic =
2566
- | 'orders/cancelled'
2567
- | 'orders/create'
2568
- | 'orders/fulfilled'
2569
- | 'orders/paid'
2570
- | 'orders/partially_fulfilled'
2571
- | 'orders/updated'
2572
- | 'orders/delete'
2573
- | 'orders/edited'
2574
- | 'products/create'
2575
- | 'products/delete'
2576
- | 'products/update'
2577
- | 'refunds/create'
2578
- | 'fulfillment_events/create'
2579
- | 'fulfillment_events/delete'
2580
- | 'themes/create'
2581
- | 'themes/publish'
2582
- | 'themes/update';
2583
2501
  }
2584
2502
 
2585
- declare namespace io.flow.shopify.xborder.v0.models {
2586
- interface ResponseShopifyTransactions {
2587
- readonly transactions: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2503
+ declare namespace io.flow.reference.v0.models {
2504
+ interface Carrier {
2505
+ readonly id: string;
2506
+ readonly name: string;
2507
+ readonly tracking_url: string;
2588
2508
  }
2589
2509
 
2590
- interface ShopifyCountryHarmonizedSystemCode {
2591
- readonly country_code: string;
2592
- readonly harmonized_system_code: string;
2510
+ interface CarrierService {
2511
+ readonly id: string;
2512
+ readonly carrier: io.flow.reference.v0.models.Carrier;
2513
+ readonly name: string;
2593
2514
  }
2594
2515
 
2595
- interface ShopifyError {
2596
- readonly errors: any /*object*/;
2516
+ interface Country {
2517
+ readonly name: string;
2518
+ readonly iso_3166_2: string;
2519
+ readonly iso_3166_3: string;
2520
+ readonly languages: string[];
2521
+ readonly measurement_system: string;
2522
+ readonly default_currency?: string;
2523
+ readonly default_language?: string;
2524
+ readonly timezones: string[];
2525
+ readonly default_delivered_duty?: string;
2597
2526
  }
2598
2527
 
2599
- interface ShopifyFulfillmentOrder {
2600
- readonly assigned_location_id: number;
2601
- readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrderLineItem[];
2528
+ interface Currency {
2529
+ readonly name: string;
2530
+ readonly iso_4217_3: string;
2531
+ readonly number_decimals: number;
2532
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
2533
+ readonly default_locale?: string;
2602
2534
  }
2603
2535
 
2604
- interface ShopifyFulfillmentOrderLineItem {
2605
- readonly line_item_id: number;
2536
+ interface CurrencySymbols {
2537
+ readonly primary: string;
2538
+ readonly narrow?: string;
2606
2539
  }
2607
2540
 
2608
- interface ShopifyFulfillmentOrdersWrapper {
2609
- readonly fulfillment_orders: io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrder[];
2541
+ interface Language {
2542
+ readonly name: string;
2543
+ readonly iso_639_2: string;
2610
2544
  }
2611
2545
 
2612
- interface ShopifyInventoryItem {
2613
- readonly id: number;
2614
- readonly cost: number;
2615
- readonly country_code_of_origin?: string;
2616
- readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2617
- readonly harmonized_system_code?: string;
2618
- readonly province_code_of_origin?: string;
2619
- readonly sku: string;
2620
- readonly tracked?: boolean;
2621
- readonly requires_shipping: boolean;
2622
- readonly created_at: string;
2623
- readonly updated_at: string;
2546
+ interface Locale {
2547
+ readonly id: string;
2548
+ readonly name: string;
2549
+ readonly country: string;
2550
+ readonly language: string;
2551
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
2624
2552
  }
2625
2553
 
2626
- interface ShopifyInventoryItemForm {
2627
- readonly harmonized_system_code?: string;
2628
- readonly country_harmonized_system_codes?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2554
+ interface LocaleNumbers {
2555
+ readonly decimal: string;
2556
+ readonly group: string;
2629
2557
  }
2630
2558
 
2631
- interface ShopifyInventoryItemFormWrapper {
2632
- readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItemForm;
2559
+ interface LocalizedTranslation {
2560
+ readonly locale: io.flow.reference.v0.models.Locale;
2561
+ readonly name: string;
2633
2562
  }
2634
2563
 
2635
- interface ShopifyInventoryItemWrapper {
2636
- readonly inventory_item: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem;
2564
+ interface PaymentMethod {
2565
+ readonly id: string;
2566
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
2567
+ readonly name: string;
2568
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
2569
+ readonly regions: string[];
2570
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
2637
2571
  }
2638
2572
 
2639
- interface ShopifyInventoryItemsWrapper {
2640
- readonly inventory_items: io.flow.shopify.xborder.v0.models.ShopifyInventoryItem[];
2573
+ interface PaymentMethodImage {
2574
+ readonly url: string;
2575
+ readonly width: number;
2576
+ readonly height: number;
2641
2577
  }
2642
2578
 
2643
- interface ShopifyLocation {
2644
- readonly active: boolean;
2645
- readonly address1?: string;
2646
- readonly address2?: string;
2647
- readonly city?: string;
2648
- readonly country?: string;
2649
- readonly country_code?: string;
2650
- readonly created_at: string;
2651
- readonly id: number;
2652
- readonly legacy: boolean;
2653
- readonly name: string;
2654
- readonly phone?: string;
2655
- readonly province?: string;
2656
- readonly province_code?: string;
2657
- readonly updated_at?: string;
2658
- readonly zip?: string;
2659
- readonly localized_country_name?: string;
2660
- readonly localized_province_name?: string;
2579
+ interface PaymentMethodImages {
2580
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
2581
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
2582
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
2661
2583
  }
2662
2584
 
2663
- interface ShopifyLocationsResponseWrapper {
2664
- readonly locations: io.flow.shopify.xborder.v0.models.ShopifyLocation[];
2585
+ interface Province {
2586
+ readonly id: string;
2587
+ readonly iso_3166_2: string;
2588
+ readonly name: string;
2589
+ readonly country: string;
2590
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
2591
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
2665
2592
  }
2666
2593
 
2667
- interface ShopifyOrder {
2668
- readonly id: number;
2669
- readonly order_number: number;
2670
- readonly checkout_id: number;
2671
- readonly checkout_token: string;
2672
- readonly billing_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2673
- readonly browser_ip?: string;
2674
- readonly buyer_accepts_marketing: boolean;
2675
- readonly cancel_reason?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
2676
- readonly cancelled_at?: string;
2677
- readonly cart_token?: string;
2678
- readonly client_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
2679
- readonly closed_at?: string;
2680
- readonly created_at: string;
2681
- readonly currency: string;
2682
- readonly total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2683
- readonly current_total_discounts_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2684
- readonly total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2685
- readonly current_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2686
- readonly original_total_duties_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2687
- readonly total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2688
- readonly current_total_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2689
- readonly subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2690
- readonly current_subtotal_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2691
- readonly total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2692
- readonly current_total_tax_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2693
- readonly total_line_items_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2694
- readonly customer: io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
2695
- readonly customer_locale?: string;
2696
- readonly discount_applications: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
2697
- readonly discount_codes: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
2698
- readonly email?: string;
2699
- readonly financial_status: io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
2700
- readonly fulfillments: io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
2701
- readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
2702
- readonly landing_site?: string;
2703
- readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
2704
- readonly location_id?: number;
2594
+ interface Region {
2595
+ readonly id: string;
2705
2596
  readonly name: string;
2706
- readonly note?: string;
2707
- readonly note_attributes: io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
2708
- readonly number?: number;
2709
- readonly payment_gateway_names: string[];
2710
- readonly processed_at?: string;
2711
- readonly processing_method?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
2712
- readonly referring_site?: string;
2713
- readonly refunds: io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
2714
- readonly shipping_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2715
- readonly shipping_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
2716
- readonly source_name?: string;
2717
- readonly tags?: string;
2718
- readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2719
- readonly taxes_included: boolean;
2720
- readonly token?: string;
2721
- readonly total_weight?: number;
2722
- readonly updated_at?: string;
2723
- readonly user_id?: number;
2724
- readonly order_status_url?: string;
2725
- readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
2726
- readonly gateway?: string;
2727
- readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2728
- readonly send_receipt?: boolean;
2729
- readonly metafields?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
2730
- }
2731
-
2732
- interface ShopifyOrderAddress {
2733
- readonly id?: number;
2734
- readonly address1?: string;
2735
- readonly address2?: string;
2736
- readonly city?: string;
2737
- readonly company?: string;
2738
- readonly country?: string;
2739
- readonly country_code?: string;
2740
- readonly default?: boolean;
2741
- readonly first_name?: string;
2742
- readonly last_name?: string;
2743
- readonly latitude?: number;
2744
- readonly longitude?: number;
2745
- readonly name?: string;
2746
- readonly phone?: string;
2747
- readonly province?: string;
2748
- readonly province_code?: string;
2749
- readonly zip?: string;
2597
+ readonly countries: string[];
2598
+ readonly currencies: string[];
2599
+ readonly languages: string[];
2600
+ readonly measurement_systems: string[];
2601
+ readonly timezones: string[];
2750
2602
  }
2751
2603
 
2752
- interface ShopifyOrderAttribute {
2604
+ interface Timezone {
2753
2605
  readonly name: string;
2754
- readonly value: string;
2755
- }
2756
-
2757
- interface ShopifyOrderCancellationForm {
2758
- readonly refund: io.flow.shopify.xborder.v0.models.ShopifyRefund;
2759
- }
2760
-
2761
- interface ShopifyOrderClientDetail {
2762
- readonly accept_language?: string;
2763
- readonly browser_height?: number;
2764
- readonly browser_ip?: string;
2765
- readonly browser_width?: number;
2766
- readonly session_hash?: string;
2767
- readonly user_agent?: string;
2606
+ readonly description: string;
2607
+ readonly offset: number;
2768
2608
  }
2609
+ }
2769
2610
 
2770
- interface ShopifyOrderCustomer {
2771
- readonly id?: number;
2772
- readonly email?: string;
2773
- readonly accepts_marketing?: boolean;
2774
- readonly created_at?: string;
2775
- readonly updated_at?: string;
2776
- readonly first_name?: string;
2777
- readonly last_name?: string;
2778
- readonly orders_count?: number;
2779
- readonly state?: string;
2780
- readonly total_spent?: string;
2781
- readonly last_order_id?: number;
2782
- readonly note?: string;
2783
- readonly verified_email?: boolean;
2784
- readonly multipass_identifier?: string;
2785
- readonly tax_exempt?: boolean;
2786
- readonly tax_exemptions?: any /*json*/[];
2787
- readonly phone?: string;
2788
- readonly tags?: string;
2789
- readonly last_order_name?: string;
2790
- readonly currency?: string;
2791
- readonly addresses?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2792
- readonly default_address?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2793
- }
2611
+ declare namespace io.flow.tracking.v0.enums {
2612
+ type TrackingStatus =
2613
+ | 'label_created'
2614
+ | 'pending'
2615
+ | 'info_received'
2616
+ | 'picked_up'
2617
+ | 'in_transit'
2618
+ | 'out_for_delivery'
2619
+ | 'attempt_fail'
2620
+ | 'delivered'
2621
+ | 'exception'
2622
+ | 'returned'
2623
+ | 'expired';
2624
+ }
2794
2625
 
2795
- interface ShopifyOrderDiscountAllocation {
2796
- readonly amount: string;
2797
- readonly discount_application_index: number;
2798
- readonly amount_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2626
+ declare namespace io.flow.tracking.v0.models {
2627
+ interface Tracking {
2628
+ readonly id: string;
2629
+ readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
2630
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2631
+ readonly attributes: Record<string, string>;
2632
+ readonly url: string;
2633
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
2634
+ readonly order_number?: string;
2799
2635
  }
2800
2636
 
2801
- interface ShopifyOrderDiscountApplication {
2802
- readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
2803
- readonly allocation_method: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
2804
- readonly code?: string;
2637
+ interface TrackingEvent {
2638
+ readonly id: string;
2639
+ readonly address: io.flow.common.v0.models.Address;
2640
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2641
+ readonly timestamp: string;
2805
2642
  readonly description?: string;
2806
- readonly target_selection: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
2807
- readonly target_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
2808
- readonly title?: string;
2809
- readonly value: string;
2810
- readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
2811
2643
  }
2812
2644
 
2813
- interface ShopifyOrderDiscountCode {
2814
- readonly amount: string;
2815
- readonly code: string;
2816
- readonly type: io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
2645
+ interface TrackingEventForm {
2646
+ readonly tracking_label_id: string;
2647
+ readonly timestamp: string;
2648
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2649
+ readonly description?: string;
2650
+ readonly address?: string;
2817
2651
  }
2818
2652
 
2819
- interface ShopifyOrderDuty {
2653
+ interface TrackingEventSummary {
2820
2654
  readonly id: string;
2821
- readonly harmonized_system_code: string;
2822
- readonly country_code_of_origin: string;
2823
- readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2824
- readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2825
- readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2826
- }
2827
-
2828
- interface ShopifyOrderEdit {
2829
- readonly id: number;
2830
- readonly created_at: string;
2831
- readonly notify_customer: boolean;
2832
- readonly order_id: number;
2833
- readonly staff_note: string;
2834
- readonly user_id?: number;
2835
- readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
2836
- readonly discounts: any /*object*/;
2837
- readonly shipping_lines: any /*object*/;
2655
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2656
+ readonly timestamp: string;
2838
2657
  }
2839
2658
 
2840
- interface ShopifyOrderEditLineItems {
2841
- readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
2842
- readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
2659
+ interface TrackingEventVersion {
2660
+ readonly id: string;
2661
+ readonly timestamp: string;
2662
+ readonly type: io.flow.common.v0.enums.ChangeType;
2663
+ readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
2843
2664
  }
2844
2665
 
2845
- interface ShopifyOrderEditLineItemsChange {
2846
- readonly id: number;
2847
- readonly delta: number;
2666
+ interface TrackingForm {
2667
+ readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
2668
+ readonly order_number?: string;
2669
+ readonly attributes?: Record<string, string>;
2670
+ readonly window?: io.flow.common.v0.models.DatetimeRange;
2848
2671
  }
2849
2672
 
2850
- interface ShopifyOrderEditWrapper {
2851
- readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
2673
+ interface TrackingLabel {
2674
+ readonly id: string;
2675
+ readonly carrier: string;
2676
+ readonly carrier_tracking_number: string;
2677
+ readonly events: io.flow.tracking.v0.models.TrackingEvent[];
2678
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2679
+ readonly timestamp: string;
2680
+ readonly delivery_estimate?: string;
2681
+ readonly description?: string;
2852
2682
  }
2853
2683
 
2854
- interface ShopifyOrderFulfillment {
2855
- readonly created_at?: string;
2856
- readonly id?: number;
2857
- readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
2858
- readonly location_id: number;
2859
- readonly name: string;
2860
- readonly notify_customer?: boolean;
2861
- readonly order_id?: number;
2862
- readonly receipt?: any /*object*/;
2863
- readonly service: string;
2864
- readonly shipment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
2865
- readonly status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
2866
- readonly tracking_company?: string;
2867
- readonly tracking_number?: string;
2868
- readonly tracking_numbers?: string[];
2869
- readonly tracking_urls?: string[];
2870
- readonly updated_at?: string;
2871
- readonly variant_inventory_management?: string;
2684
+ interface TrackingLabelForm {
2685
+ readonly tracking_id: string;
2686
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2687
+ readonly carrier: string;
2688
+ readonly carrier_tracking_number: string;
2689
+ readonly delivery_estimate?: string;
2690
+ readonly description?: string;
2691
+ readonly timestamp?: string;
2692
+ readonly parent_id?: string;
2872
2693
  }
2873
2694
 
2874
- interface ShopifyOrderLineItem {
2875
- readonly fulfillable_quantity?: number;
2876
- readonly fulfillment_service: string;
2877
- readonly fulfillment_status?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
2878
- readonly grams?: number;
2879
- readonly id: number;
2880
- readonly price?: string;
2881
- readonly price_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2882
- readonly product_id?: number;
2883
- readonly quantity: number;
2884
- readonly requires_shipping: boolean;
2885
- readonly sku?: string;
2886
- readonly title?: string;
2887
- readonly variant_id?: number;
2888
- readonly variant_title?: string;
2889
- readonly vendor?: string;
2890
- readonly name?: string;
2891
- readonly gift_card: boolean;
2892
- readonly properties: io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
2893
- readonly taxable: boolean;
2894
- readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2895
- readonly tip_payment_gateway?: string;
2896
- readonly tip_payment_method?: string;
2897
- readonly total_discount?: string;
2898
- readonly total_discount_set?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2899
- readonly discount_allocations?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
2900
- readonly origin_location?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
2901
- readonly variant_inventory_management?: string;
2902
- readonly product_exists?: boolean;
2903
- readonly duties: io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
2695
+ interface TrackingLabelSummary {
2696
+ readonly id: string;
2697
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
2698
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2699
+ readonly carrier: string;
2700
+ readonly tracking_number: string;
2904
2701
  }
2905
2702
 
2906
- interface ShopifyOrderMetafield {
2907
- readonly id: number;
2908
- readonly key: string;
2909
- readonly namespace: string;
2910
- readonly value: string;
2911
- readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
2912
- readonly description?: string;
2913
- readonly owner_id: number;
2914
- readonly owner_resource: string;
2703
+ interface TrackingLabelVersion {
2704
+ readonly id: string;
2705
+ readonly timestamp: string;
2706
+ readonly type: io.flow.common.v0.enums.ChangeType;
2707
+ readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
2915
2708
  }
2916
2709
 
2917
- interface ShopifyOrderMetafieldForm {
2918
- readonly key: string;
2919
- readonly namespace: string;
2920
- readonly value: string;
2921
- readonly value_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
2922
- readonly description?: string;
2710
+ interface TrackingSummary {
2711
+ readonly id: string;
2712
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
2713
+ readonly order_number?: string;
2923
2714
  }
2924
2715
 
2925
- interface ShopifyOrderMoney {
2926
- readonly amount: number;
2927
- readonly currency_code: string;
2716
+ interface TrackingVersion {
2717
+ readonly id: string;
2718
+ readonly timestamp: string;
2719
+ readonly type: io.flow.common.v0.enums.ChangeType;
2720
+ readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
2928
2721
  }
2722
+ }
2929
2723
 
2930
- interface ShopifyOrderMoneySet {
2931
- readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2932
- readonly presentment_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2933
- }
2724
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
2725
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2726
+ type ItemIdentifier = 'item_number' | 'sku';
2727
+ }
2934
2728
 
2935
- interface ShopifyOrderOriginLocation {
2936
- readonly id: number;
2937
- readonly country_code: string;
2938
- readonly province_code: string;
2939
- readonly name: string;
2940
- readonly address1: string;
2941
- readonly address2: string;
2942
- readonly city: string;
2943
- readonly zip: string;
2729
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
2730
+ interface AccountOrdersExportType {
2731
+ readonly discriminator: 'account_orders_export_type';
2732
+ readonly statement_id?: string;
2733
+ readonly transaction_summary_id?: string;
2734
+ readonly transaction_created_from?: string;
2735
+ readonly transaction_created_to?: string;
2736
+ readonly transaction_created_on_or_after?: string;
2737
+ readonly transaction_created_after?: string;
2738
+ readonly transaction_created_on_or_before?: string;
2739
+ readonly transaction_created_before?: string;
2740
+ readonly transaction_posted_from?: string;
2741
+ readonly transaction_posted_to?: string;
2742
+ readonly transaction_posted_on_or_after?: string;
2743
+ readonly transaction_posted_after?: string;
2744
+ readonly transaction_posted_on_or_before?: string;
2745
+ readonly transaction_posted_before?: string;
2944
2746
  }
2945
2747
 
2946
- interface ShopifyOrderPaymentDetail {
2947
- readonly avs_result_code?: string;
2948
- readonly credit_card_bin?: string;
2949
- readonly credit_card_company: string;
2950
- readonly credit_card_number: string;
2951
- readonly cvv_result_code?: string;
2748
+ interface AccountTransactionsExportType {
2749
+ readonly discriminator: 'account_transactions_export_type';
2750
+ readonly statement_id?: string;
2751
+ readonly transaction_summary_id?: string;
2752
+ readonly created_from?: string;
2753
+ readonly created_to?: string;
2754
+ readonly created_on_or_after?: string;
2755
+ readonly created_after?: string;
2756
+ readonly created_on_or_before?: string;
2757
+ readonly created_before?: string;
2758
+ readonly posted_from?: string;
2759
+ readonly posted_to?: string;
2760
+ readonly posted_on_or_after?: string;
2761
+ readonly posted_after?: string;
2762
+ readonly posted_on_or_before?: string;
2763
+ readonly posted_before?: string;
2952
2764
  }
2953
2765
 
2954
- interface ShopifyOrderProperty {
2955
- readonly name: string;
2956
- readonly value: any /*json*/;
2766
+ interface AnalyticsExportType {
2767
+ readonly discriminator: 'analytics_export_type';
2768
+ readonly from?: string;
2769
+ readonly to?: string;
2770
+ readonly region?: string;
2771
+ readonly interval?: io.flow.common.v0.enums.UnitOfTime;
2957
2772
  }
2958
2773
 
2959
- interface ShopifyOrderRefund {
2960
- readonly id: number;
2961
- readonly order_id: number;
2962
- readonly created_at: string;
2963
- readonly processed_at: string;
2964
- readonly note?: string;
2965
- readonly refund_line_items?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
2966
- readonly restock?: boolean;
2967
- readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2968
- readonly user_id?: number;
2774
+ interface CatalogItemExportType {
2775
+ readonly discriminator: 'catalog_item_export_type';
2776
+ readonly numbers?: string[];
2777
+ readonly q?: string;
2778
+ readonly sort?: string;
2969
2779
  }
2970
2780
 
2971
- interface ShopifyOrderRefundLineItem {
2972
- readonly id: number;
2973
- readonly line_item: io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
2974
- readonly line_item_id: number;
2975
- readonly quantity: number;
2976
- readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
2977
- readonly location_id?: number;
2978
- readonly subtotal?: number;
2979
- readonly total_tax?: number;
2781
+ interface CsvPriceBookItemExportRowByItemNumber {
2782
+ readonly item_number: string;
2783
+ readonly price_book_key: string;
2784
+ readonly price_book_item_key: string;
2785
+ readonly item_name: string;
2786
+ readonly amount: number;
2787
+ readonly item_attributes?: Record<string, string>;
2788
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2980
2789
  }
2981
2790
 
2982
- interface ShopifyOrderShippingLine {
2983
- readonly code?: string;
2984
- readonly price: string;
2985
- readonly source: string;
2986
- readonly title: string;
2987
- readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2988
- readonly carrier_identifier?: string;
2989
- readonly requested_fulfillment_service_id?: string;
2990
- readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2991
- readonly discounted_price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2791
+ interface CsvPriceBookItemExportRowBySku {
2792
+ readonly sku: string;
2793
+ readonly price_book_key: string;
2794
+ readonly price_book_item_key: string;
2795
+ readonly item_name: string;
2796
+ readonly amount: number;
2797
+ readonly item_attributes?: Record<string, string>;
2798
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2992
2799
  }
2993
2800
 
2994
- interface ShopifyOrderTaxLine {
2995
- readonly price_set: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2996
- readonly rate: number;
2997
- readonly title: string;
2801
+ interface ExclusionRulesExportType {
2802
+ readonly discriminator: 'exclusion_rules_export_type';
2803
+ readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
2804
+ readonly sort?: string;
2998
2805
  }
2999
2806
 
3000
- interface ShopifyOrderTransaction {
3001
- readonly id: number;
3002
- readonly order_id: number;
3003
- readonly amount: number;
3004
- readonly kind: io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
3005
- readonly gateway: string;
3006
- readonly currency: string;
3007
- readonly status: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
3008
- readonly payment_details?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
3009
- readonly receipt: any /*object*/;
3010
- readonly authorization?: string;
3011
- readonly created_at: string;
3012
- readonly device_id?: number;
3013
- readonly gift_card_id?: number;
3014
- readonly source_name: string;
3015
- readonly error_code?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
3016
- readonly test: boolean;
3017
- readonly parent_id?: number;
3018
- readonly user_id?: number;
2807
+ interface ExperienceExportType {
2808
+ readonly discriminator: 'experience_export_type';
2809
+ readonly organization_id: string;
2810
+ readonly ids?: string[];
2811
+ readonly keys?: string[];
3019
2812
  }
3020
2813
 
3021
- interface ShopifyOrderWrapper {
3022
- readonly order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
2814
+ interface Export {
2815
+ readonly id: string;
2816
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2817
+ readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
2818
+ readonly organization_q: string;
2819
+ readonly created_at: string;
2820
+ readonly started_at?: string;
2821
+ readonly completed_at?: string;
2822
+ readonly url?: string;
2823
+ readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
3023
2824
  }
3024
2825
 
3025
- interface ShopifyOrdersWrapper {
3026
- readonly orders: io.flow.shopify.xborder.v0.models.ShopifyOrder[];
2826
+ interface ExportDeliveryEmail {
2827
+ readonly discriminator: 'export_delivery_email';
2828
+ readonly email: string;
3027
2829
  }
3028
2830
 
3029
- interface ShopifyRefund {
3030
- readonly notify_x: boolean;
3031
- readonly note?: string;
3032
- readonly discrepancy_reason?: io.flow.shopify.xborder.v0.enums.ShopifyDiscrepancyReason;
3033
- readonly shipping: io.flow.shopify.xborder.v0.models.ShopifyRefundShipping;
3034
- readonly refund_line_items: io.flow.shopify.xborder.v0.models.ShopifyRefundLineItem[];
3035
- readonly transactions: io.flow.shopify.xborder.v0.models.ShopifyRefundTransaction[];
3036
- readonly currency: string;
2831
+ interface ExportForm {
2832
+ readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
2833
+ readonly emails?: string[];
2834
+ readonly organization_q?: string;
3037
2835
  }
3038
2836
 
3039
- interface ShopifyRefundLineItem {
3040
- readonly line_item_id: number;
3041
- readonly quantity: number;
3042
- readonly restock_type: io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
3043
- readonly location_id?: number;
2837
+ interface ExportLocalizedItemPrices {
2838
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2839
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
2840
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
2841
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
2842
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
2843
+ readonly rates?: io.flow.currency.v0.models.Rate[];
3044
2844
  }
3045
2845
 
3046
- interface ShopifyRefundShipping {
3047
- readonly full_refund?: boolean;
3048
- readonly amount?: number;
2846
+ interface ExportLocalizedItemPricesDetail {
2847
+ readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
2848
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
2849
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
2850
+ readonly price_attributes: Record<
2851
+ string,
2852
+ io.flow.common.v0.models.PriceWithBase
2853
+ >;
3049
2854
  }
3050
2855
 
3051
- interface ShopifyRefundTransaction {
3052
- readonly parent_id: number;
3053
- readonly amount: string;
3054
- readonly currency: string;
3055
- readonly kind: string;
3056
- readonly gateway: string;
2856
+ interface ExportVersion {
2857
+ readonly id: string;
2858
+ readonly timestamp: string;
2859
+ readonly type: io.flow.common.v0.enums.ChangeType;
2860
+ readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
3057
2861
  }
3058
2862
 
3059
- interface ShopifyWebhookRequest {
3060
- readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
3061
- readonly address: string;
3062
- readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
2863
+ interface HarmonizationHs10ExportType {
2864
+ readonly discriminator: 'harmonization_hs10_export_type';
2865
+ readonly origin?: string;
2866
+ readonly destination?: string;
2867
+ readonly numbers?: string[];
2868
+ readonly has_codes?: boolean;
2869
+ readonly has_origins?: boolean;
2870
+ readonly sort?: string;
3063
2871
  }
3064
2872
 
3065
- interface ShopifyWebhookRequestWrapper {
3066
- readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
2873
+ interface HarmonizationHs6ExportType {
2874
+ readonly discriminator: 'harmonization_hs6_export_type';
2875
+ readonly numbers?: string[];
2876
+ readonly has_codes?: boolean;
2877
+ readonly sort?: string;
3067
2878
  }
3068
2879
 
3069
- interface ShopifyWebhookResponse {
3070
- readonly id: number;
3071
- readonly address: string;
3072
- readonly topic: io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
3073
- readonly created_at: string;
3074
- readonly updated_at: string;
3075
- readonly format: io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
3076
- readonly fields: any /*json*/[];
3077
- readonly metafield_namespaces: any /*json*/[];
3078
- readonly api_version: string;
3079
- readonly private_metafield_namespaces: any /*json*/[];
2880
+ interface HarmonizationOverviewExportType {
2881
+ readonly discriminator: 'harmonization_overview_export_type';
2882
+ readonly origin?: string;
2883
+ readonly destination?: string;
2884
+ readonly sort?: string;
3080
2885
  }
3081
2886
 
3082
- interface ShopifyWebhookResponseWrapper {
3083
- readonly webhook: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
2887
+ interface HarmonizationTariffCodesExportType {
2888
+ readonly discriminator: 'harmonization_tariff_codes_export_type';
2889
+ readonly sort?: string;
3084
2890
  }
3085
2891
 
3086
- interface ShopifyWebhooksResponseWrapper {
3087
- readonly webhooks: io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
2892
+ interface LandedCostItem {
2893
+ readonly number: string;
2894
+ readonly origin: string;
2895
+ readonly destination: string;
3088
2896
  }
3089
- }
3090
-
3091
- declare namespace io.flow.reference.v0.enums {
3092
- type PaymentMethodCapability = 'credit' | 'debit';
3093
- type PaymentMethodType = 'card' | 'online' | 'offline';
3094
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
3095
- type ProvinceType =
3096
- | 'area'
3097
- | 'city'
3098
- | 'county'
3099
- | 'department'
3100
- | 'dependency'
3101
- | 'district'
3102
- | 'do_si'
3103
- | 'emirate'
3104
- | 'entity'
3105
- | 'island'
3106
- | 'municipality'
3107
- | 'oblast'
3108
- | 'outlying_area'
3109
- | 'parish'
3110
- | 'prefecture'
3111
- | 'province'
3112
- | 'state'
3113
- | 'territory'
3114
- | 'other';
3115
- }
3116
2897
 
3117
- declare namespace io.flow.reference.v0.models {
3118
- interface Carrier {
3119
- readonly id: string;
3120
- readonly name: string;
3121
- readonly tracking_url: string;
2898
+ interface LocalizedItemPricesExportType {
2899
+ readonly discriminator: 'localized_item_prices_export_type';
2900
+ readonly since?: string;
3122
2901
  }
3123
2902
 
3124
- interface CarrierService {
3125
- readonly id: string;
3126
- readonly carrier: io.flow.reference.v0.models.Carrier;
3127
- readonly name: string;
2903
+ interface MarketingFeedsExportType {
2904
+ readonly discriminator: 'marketing_feeds_export_type';
2905
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2906
+ readonly feed_ids: string[];
3128
2907
  }
3129
2908
 
3130
- interface Country {
3131
- readonly name: string;
3132
- readonly iso_3166_2: string;
3133
- readonly iso_3166_3: string;
3134
- readonly languages: string[];
3135
- readonly measurement_system: string;
3136
- readonly default_currency?: string;
3137
- readonly default_language?: string;
3138
- readonly timezones: string[];
3139
- readonly default_delivered_duty?: string;
2909
+ interface OrderExportType {
2910
+ readonly discriminator: 'order_export_type';
2911
+ readonly numbers?: string[];
2912
+ readonly min_hours_since_submitted_at?: number;
2913
+ readonly submitted_on_or_before?: string;
2914
+ readonly submitted_on_or_after?: string;
2915
+ readonly status?: io.flow.experience.v0.enums.OrderStatus;
2916
+ readonly has_tracking_label?: boolean;
2917
+ readonly sort?: string;
3140
2918
  }
3141
2919
 
3142
- interface Currency {
3143
- readonly name: string;
3144
- readonly iso_4217_3: string;
3145
- readonly number_decimals: number;
3146
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
3147
- readonly default_locale?: string;
2920
+ interface PriceBookItemExportType {
2921
+ readonly discriminator: 'price_book_item_export_type';
2922
+ readonly price_book_key?: string;
2923
+ readonly item_numbers?: string[];
2924
+ readonly start_date?: string;
2925
+ readonly end_date?: string;
2926
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
3148
2927
  }
3149
2928
 
3150
- interface CurrencySymbols {
3151
- readonly primary: string;
3152
- readonly narrow?: string;
2929
+ interface ScheduledExport {
2930
+ readonly id: string;
2931
+ readonly user: io.flow.common.v0.models.UserReference;
2932
+ readonly organization_q: string;
2933
+ readonly hour: number;
2934
+ readonly minute: number;
2935
+ readonly timezone: string;
2936
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
2937
+ readonly last_sent_at?: string;
3153
2938
  }
3154
2939
 
3155
- interface Language {
3156
- readonly name: string;
3157
- readonly iso_639_2: string;
2940
+ interface ScheduledExportForm {
2941
+ readonly user_id: string;
2942
+ readonly organization_q: string;
2943
+ readonly hour: number;
2944
+ readonly minute: number;
2945
+ readonly timezone: string;
2946
+ readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
3158
2947
  }
3159
2948
 
3160
- interface Locale {
3161
- readonly id: string;
3162
- readonly name: string;
3163
- readonly country: string;
3164
- readonly language: string;
3165
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
2949
+ interface SolidusProductExportType {
2950
+ readonly discriminator: 'solidus_product_export_type';
2951
+ readonly numbers?: string[];
2952
+ readonly sort?: string;
3166
2953
  }
3167
2954
 
3168
- interface LocaleNumbers {
3169
- readonly decimal: string;
3170
- readonly group: string;
2955
+ interface SolidusVariantExportType {
2956
+ readonly discriminator: 'solidus_variant_export_type';
2957
+ readonly numbers?: string[];
2958
+ readonly sort?: string;
3171
2959
  }
3172
2960
 
3173
- interface LocalizedTranslation {
3174
- readonly locale: io.flow.reference.v0.models.Locale;
3175
- readonly name: string;
2961
+ interface UnharmonizedItemExportType {
2962
+ readonly discriminator: 'unharmonized_item_export_type';
2963
+ readonly sort?: string;
3176
2964
  }
2965
+ }
3177
2966
 
3178
- interface PaymentMethod {
3179
- readonly id: string;
3180
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
3181
- readonly name: string;
3182
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
3183
- readonly regions: string[];
3184
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
3185
- }
2967
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
2968
+ type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
2969
+ type ExportType =
2970
+ | io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
2971
+ | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
2972
+ | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
2973
+ | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
2974
+ | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
2975
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
2976
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
2977
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
2978
+ | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
2979
+ | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
2980
+ | io.flow.RESERVED_WORD_export.v0.models.OrderExportType
2981
+ | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
2982
+ | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
2983
+ | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
2984
+ | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
2985
+ | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
2986
+ | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
2987
+ }
3186
2988
 
3187
- interface PaymentMethodImage {
3188
- readonly url: string;
3189
- readonly width: number;
3190
- readonly height: number;
3191
- }
2989
+ declare namespace io.flow.flexe.v0.enums {
2990
+ type FlexeAttachmentType =
2991
+ | 'shipping_label'
2992
+ | 'packing_slip'
2993
+ | 'packing_slip_letter';
2994
+ type FlexeNotification = 'receipt' | 'shipment';
2995
+ type FlexeShipmentType =
2996
+ | 'fulfillment_order'
2997
+ | 'retail_fulfillment_order'
2998
+ | 'carton_pick_delivery'
2999
+ | 'delivery'
3000
+ | 'container_delivery';
3001
+ type FlexeStatus = 'in_transit' | 'completed';
3002
+ }
3192
3003
 
3193
- interface PaymentMethodImages {
3194
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
3195
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
3196
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
3004
+ declare namespace io.flow.flexe.v0.models {
3005
+ interface BillOfLading {
3006
+ readonly type: string;
3007
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
3197
3008
  }
3198
3009
 
3199
- interface Province {
3200
- readonly id: string;
3201
- readonly iso_3166_2: string;
3010
+ interface BillTo {
3202
3011
  readonly name: string;
3012
+ readonly address_1: string;
3013
+ readonly locality: string;
3014
+ readonly region: string;
3015
+ readonly postal_code: string;
3203
3016
  readonly country: string;
3204
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
3205
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
3017
+ readonly address_2?: string;
3018
+ readonly address_3?: string;
3206
3019
  }
3207
3020
 
3208
- interface Region {
3209
- readonly id: string;
3210
- readonly name: string;
3211
- readonly countries: string[];
3212
- readonly currencies: string[];
3213
- readonly languages: string[];
3214
- readonly measurement_systems: string[];
3215
- readonly timezones: string[];
3021
+ interface CartonPickDeliveryDetails {
3022
+ readonly shipment_uuid?: string;
3023
+ readonly carrier?: string;
3024
+ readonly carrier_id?: string;
3216
3025
  }
3217
3026
 
3218
- interface Timezone {
3219
- readonly name: string;
3220
- readonly description: string;
3221
- readonly offset: number;
3027
+ interface ContainerDeliveryDetails {
3028
+ readonly purchase_order: string;
3029
+ readonly container_number?: string;
3030
+ readonly seal_number?: string;
3031
+ readonly vendor?: string;
3032
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3033
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3034
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3035
+ readonly quantities_by_inventory: Record<
3036
+ string,
3037
+ io.flow.flexe.v0.models.QuantityByInventory
3038
+ >;
3222
3039
  }
3223
- }
3224
3040
 
3225
- declare namespace io.flow.tracking.v0.enums {
3226
- type TrackingStatus =
3227
- | 'label_created'
3228
- | 'pending'
3229
- | 'info_received'
3230
- | 'picked_up'
3231
- | 'in_transit'
3232
- | 'out_for_delivery'
3233
- | 'attempt_fail'
3234
- | 'delivered'
3235
- | 'exception'
3236
- | 'returned'
3237
- | 'expired';
3238
- }
3041
+ interface DeliveryDetails {
3042
+ readonly shipment_uuid?: string;
3043
+ readonly trailer_number?: string;
3044
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
3045
+ readonly quantities_by_inventory: Record<
3046
+ string,
3047
+ io.flow.flexe.v0.models.QuantityByInventory
3048
+ >;
3049
+ }
3239
3050
 
3240
- declare namespace io.flow.tracking.v0.models {
3241
- interface Tracking {
3242
- readonly id: string;
3243
- readonly labels: io.flow.tracking.v0.models.TrackingLabel[];
3244
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3245
- readonly attributes: Record<string, string>;
3051
+ interface Error {
3246
3052
  readonly url: string;
3247
- readonly window?: io.flow.common.v0.models.DatetimeRange;
3248
- readonly order_number?: string;
3053
+ readonly client_request_id: string;
3054
+ readonly generated_at: string;
3055
+ readonly error: string;
3249
3056
  }
3250
3057
 
3251
- interface TrackingEvent {
3252
- readonly id: string;
3253
- readonly address: io.flow.common.v0.models.Address;
3254
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3255
- readonly timestamp: string;
3256
- readonly description?: string;
3058
+ interface FlexeAttachment {
3059
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
3060
+ readonly display_name: string;
3061
+ readonly url: string;
3257
3062
  }
3258
3063
 
3259
- interface TrackingEventForm {
3260
- readonly tracking_label_id: string;
3261
- readonly timestamp: string;
3262
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3263
- readonly description?: string;
3264
- readonly address?: string;
3064
+ interface FlexeEcommerceFulfillment {
3065
+ readonly url: string;
3066
+ readonly client_request_id: string;
3067
+ readonly generated_at: string;
3068
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
3069
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
3265
3070
  }
3266
3071
 
3267
- interface TrackingEventSummary {
3268
- readonly id: string;
3269
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3270
- readonly timestamp: string;
3072
+ interface FlexeEcommerceFulfillmentData {
3073
+ readonly import_id: string;
3074
+ readonly succeeded_uuids: string[];
3075
+ readonly failed_uuids: string[];
3076
+ readonly errors: string[];
3271
3077
  }
3272
3078
 
3273
- interface TrackingEventVersion {
3274
- readonly id: string;
3275
- readonly timestamp: string;
3276
- readonly type: io.flow.common.v0.enums.ChangeType;
3277
- readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary;
3079
+ interface FlexeEcommerceFulfillmentErrors {
3080
+ readonly status: string;
3081
+ readonly title: string;
3082
+ readonly detail: string;
3083
+ readonly source?: string;
3278
3084
  }
3279
3085
 
3280
- interface TrackingForm {
3281
- readonly status?: io.flow.tracking.v0.enums.TrackingStatus;
3282
- readonly order_number?: string;
3283
- readonly attributes?: Record<string, string>;
3284
- readonly window?: io.flow.common.v0.models.DatetimeRange;
3086
+ interface FlexeEcommerceFulfillmentForm {
3087
+ readonly reservation_id: number;
3088
+ readonly client_request_id: string;
3089
+ readonly request: io.flow.flexe.v0.models.Orders;
3285
3090
  }
3286
3091
 
3287
- interface TrackingLabel {
3288
- readonly id: string;
3289
- readonly carrier: string;
3290
- readonly carrier_tracking_number: string;
3291
- readonly events: io.flow.tracking.v0.models.TrackingEvent[];
3292
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3293
- readonly timestamp: string;
3294
- readonly delivery_estimate?: string;
3295
- readonly description?: string;
3092
+ interface FlexeInventoryData {
3093
+ readonly sku: string;
3094
+ readonly quantity: string;
3095
+ readonly unit: string;
3296
3096
  }
3297
3097
 
3298
- interface TrackingLabelForm {
3299
- readonly tracking_id: string;
3300
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3301
- readonly carrier: string;
3302
- readonly carrier_tracking_number: string;
3303
- readonly delivery_estimate?: string;
3304
- readonly description?: string;
3305
- readonly timestamp?: string;
3306
- readonly parent_id?: string;
3098
+ interface FlexeRetailAttachment {
3099
+ readonly display_name: string;
3100
+ readonly url: string;
3307
3101
  }
3308
3102
 
3309
- interface TrackingLabelSummary {
3310
- readonly id: string;
3311
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
3312
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3313
- readonly carrier: string;
3314
- readonly tracking_number: string;
3103
+ interface FlexeRetailFulfillment {
3104
+ readonly url: string;
3105
+ readonly client_request_id: string;
3106
+ readonly generated_at: string;
3107
+ readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
3108
+ readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
3315
3109
  }
3316
3110
 
3317
- interface TrackingLabelVersion {
3111
+ interface FlexeRetailFulfillmentData {
3318
3112
  readonly id: string;
3319
- readonly timestamp: string;
3320
- readonly type: io.flow.common.v0.enums.ChangeType;
3321
- readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary;
3113
+ readonly purchase_order_uuid: string;
3114
+ readonly status: string;
3322
3115
  }
3323
3116
 
3324
- interface TrackingSummary {
3325
- readonly id: string;
3326
- readonly status: io.flow.tracking.v0.enums.TrackingStatus;
3327
- readonly order_number?: string;
3117
+ interface FlexeRetailFulfillmentErrors {
3118
+ readonly type: string;
3119
+ readonly message: string;
3328
3120
  }
3329
3121
 
3330
- interface TrackingVersion {
3331
- readonly id: string;
3332
- readonly timestamp: string;
3333
- readonly type: io.flow.common.v0.enums.ChangeType;
3334
- readonly tracking: io.flow.tracking.v0.models.TrackingSummary;
3122
+ interface FlexeRetailFulfillmentForm {
3123
+ readonly reservation_id: number;
3124
+ readonly client_request_id?: string;
3125
+ readonly request: io.flow.flexe.v0.models.RetailOrder;
3335
3126
  }
3336
- }
3337
-
3338
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
3339
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
3340
- type ItemIdentifier = 'item_number' | 'sku';
3341
- }
3342
3127
 
3343
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
3344
- interface AccountOrdersExportType {
3345
- readonly discriminator: 'account_orders_export_type';
3346
- readonly statement_id?: string;
3347
- readonly transaction_summary_id?: string;
3348
- readonly transaction_created_from?: string;
3349
- readonly transaction_created_to?: string;
3350
- readonly transaction_created_on_or_after?: string;
3351
- readonly transaction_created_after?: string;
3352
- readonly transaction_created_on_or_before?: string;
3353
- readonly transaction_created_before?: string;
3354
- readonly transaction_posted_from?: string;
3355
- readonly transaction_posted_to?: string;
3356
- readonly transaction_posted_on_or_after?: string;
3357
- readonly transaction_posted_after?: string;
3358
- readonly transaction_posted_on_or_before?: string;
3359
- readonly transaction_posted_before?: string;
3128
+ interface FulfillmentOrderDetails {
3129
+ readonly shipment_uuid: string;
3130
+ readonly carrier?: string;
3131
+ readonly carrier_id?: string;
3360
3132
  }
3361
3133
 
3362
- interface AccountTransactionsExportType {
3363
- readonly discriminator: 'account_transactions_export_type';
3364
- readonly statement_id?: string;
3365
- readonly transaction_summary_id?: string;
3366
- readonly created_from?: string;
3367
- readonly created_to?: string;
3368
- readonly created_on_or_after?: string;
3369
- readonly created_after?: string;
3370
- readonly created_on_or_before?: string;
3371
- readonly created_before?: string;
3372
- readonly posted_from?: string;
3373
- readonly posted_to?: string;
3374
- readonly posted_on_or_after?: string;
3375
- readonly posted_after?: string;
3376
- readonly posted_on_or_before?: string;
3377
- readonly posted_before?: string;
3134
+ interface Gs1Us {
3135
+ readonly number: string;
3136
+ readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
3137
+ readonly bill_to?: io.flow.flexe.v0.models.BillTo;
3378
3138
  }
3379
3139
 
3380
- interface AnalyticsExportType {
3381
- readonly discriminator: 'analytics_export_type';
3382
- readonly from?: string;
3383
- readonly to?: string;
3384
- readonly region?: string;
3385
- readonly interval?: io.flow.common.v0.enums.UnitOfTime;
3140
+ interface Gs1UsShipTo {
3141
+ readonly cid_number?: string;
3142
+ readonly location_number?: string;
3143
+ readonly free_on_board?: boolean;
3386
3144
  }
3387
3145
 
3388
- interface CatalogItemExportType {
3389
- readonly discriminator: 'catalog_item_export_type';
3390
- readonly numbers?: string[];
3391
- readonly q?: string;
3392
- readonly sort?: string;
3146
+ interface Inventory {
3147
+ readonly url: string;
3148
+ readonly client_request_id: string;
3149
+ readonly generated_at: string;
3150
+ readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
3393
3151
  }
3394
3152
 
3395
- interface CsvPriceBookItemExportRowByItemNumber {
3396
- readonly item_number: string;
3397
- readonly price_book_key: string;
3398
- readonly price_book_item_key: string;
3399
- readonly item_name: string;
3153
+ interface InventoryCount {
3400
3154
  readonly amount: number;
3401
- readonly item_attributes?: Record<string, string>;
3402
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
3155
+ readonly unit: string;
3403
3156
  }
3404
3157
 
3405
- interface CsvPriceBookItemExportRowBySku {
3406
- readonly sku: string;
3407
- readonly price_book_key: string;
3408
- readonly price_book_item_key: string;
3409
- readonly item_name: string;
3410
- readonly amount: number;
3411
- readonly item_attributes?: Record<string, string>;
3412
- readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
3158
+ interface InventoryData {
3159
+ readonly pallet: io.flow.flexe.v0.models.InventoryCount;
3160
+ readonly carton?: io.flow.flexe.v0.models.InventoryCount;
3161
+ readonly each?: io.flow.flexe.v0.models.InventoryCount;
3413
3162
  }
3414
3163
 
3415
- interface ExclusionRulesExportType {
3416
- readonly discriminator: 'exclusion_rules_export_type';
3417
- readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[];
3418
- readonly sort?: string;
3164
+ interface InventoryDetails {
3165
+ readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
3419
3166
  }
3420
3167
 
3421
- interface ExperienceExportType {
3422
- readonly discriminator: 'experience_export_type';
3423
- readonly organization_id: string;
3424
- readonly ids?: string[];
3425
- readonly keys?: string[];
3168
+ interface LadingQuantity {
3169
+ readonly num_pallets: number;
3426
3170
  }
3427
3171
 
3428
- interface Export {
3429
- readonly id: string;
3430
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
3431
- readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
3432
- readonly organization_q: string;
3433
- readonly created_at: string;
3434
- readonly started_at?: string;
3435
- readonly completed_at?: string;
3436
- readonly url?: string;
3437
- readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
3172
+ interface Order {
3173
+ readonly shipment_uuid: string;
3174
+ readonly purchase_order: string;
3175
+ readonly carrier: string;
3176
+ readonly service_type: string;
3177
+ readonly carrier_assigned_id: string;
3178
+ readonly name: string;
3179
+ readonly address_1: string;
3180
+ readonly address_2?: string;
3181
+ readonly address_3?: string;
3182
+ readonly city: string;
3183
+ readonly state: string;
3184
+ readonly postal_code: string;
3185
+ readonly phone?: string;
3186
+ readonly instructions?: string;
3187
+ readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
3188
+ readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
3438
3189
  }
3439
3190
 
3440
- interface ExportDeliveryEmail {
3441
- readonly discriminator: 'export_delivery_email';
3442
- readonly email: string;
3191
+ interface Orders {
3192
+ readonly orders: io.flow.flexe.v0.models.Order[];
3443
3193
  }
3444
3194
 
3445
- interface ExportForm {
3446
- readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType;
3447
- readonly emails?: string[];
3448
- readonly organization_q?: string;
3195
+ interface Pallet {
3196
+ readonly pallet_id: string;
3197
+ readonly sku: string;
3198
+ readonly quantity: number;
3199
+ readonly packaging: string;
3449
3200
  }
3450
3201
 
3451
- interface ExportLocalizedItemPrices {
3452
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3453
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
3454
- readonly item: io.flow.common.v0.models.CatalogItemReference;
3455
- readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
3456
- readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
3457
- readonly rates?: io.flow.currency.v0.models.Rate[];
3202
+ interface PurchaseOrder {
3203
+ readonly retail_fulfillment_order_id: string;
3204
+ readonly bill_of_lading_number: string;
3205
+ readonly purchase_order_uuid: string;
3206
+ readonly pickup_window_start: string;
3207
+ readonly pickup_window_end: string;
3208
+ readonly tags: string[];
3458
3209
  }
3459
3210
 
3460
- interface ExportLocalizedItemPricesDetail {
3461
- readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
3462
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
3463
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
3464
- readonly price_attributes: Record<
3465
- string,
3466
- io.flow.common.v0.models.PriceWithBase
3467
- >;
3211
+ interface QuantityByInventory {
3212
+ readonly received: io.flow.flexe.v0.models.InventoryData;
3213
+ readonly expected?: io.flow.flexe.v0.models.InventoryData;
3214
+ readonly damaged?: io.flow.flexe.v0.models.InventoryData;
3468
3215
  }
3469
3216
 
3470
- interface ExportVersion {
3471
- readonly id: string;
3472
- readonly timestamp: string;
3473
- readonly type: io.flow.common.v0.enums.ChangeType;
3474
- readonly export: io.flow.RESERVED_WORD_export.v0.models.Export;
3217
+ interface ReceiptNotification {
3218
+ readonly shipment_id: string;
3219
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
3220
+ readonly reservation_id: string;
3221
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
3222
+ readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
3223
+ readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
3475
3224
  }
3476
3225
 
3477
- interface HarmonizationHs10ExportType {
3478
- readonly discriminator: 'harmonization_hs10_export_type';
3479
- readonly origin?: string;
3480
- readonly destination?: string;
3481
- readonly numbers?: string[];
3482
- readonly has_codes?: boolean;
3483
- readonly has_origins?: boolean;
3484
- readonly sort?: string;
3485
- }
3486
-
3487
- interface HarmonizationHs6ExportType {
3488
- readonly discriminator: 'harmonization_hs6_export_type';
3489
- readonly numbers?: string[];
3490
- readonly has_codes?: boolean;
3491
- readonly sort?: string;
3492
- }
3493
-
3494
- interface HarmonizationOverviewExportType {
3495
- readonly discriminator: 'harmonization_overview_export_type';
3496
- readonly origin?: string;
3497
- readonly destination?: string;
3498
- readonly sort?: string;
3499
- }
3500
-
3501
- interface HarmonizationTariffCodesExportType {
3502
- readonly discriminator: 'harmonization_tariff_codes_export_type';
3503
- readonly sort?: string;
3504
- }
3505
-
3506
- interface LandedCostItem {
3507
- readonly number: string;
3508
- readonly origin: string;
3509
- readonly destination: string;
3510
- }
3511
-
3512
- interface LocalizedItemPricesExportType {
3513
- readonly discriminator: 'localized_item_prices_export_type';
3514
- readonly since?: string;
3515
- }
3516
-
3517
- interface MarketingFeedsExportType {
3518
- readonly discriminator: 'marketing_feeds_export_type';
3519
- readonly organization: io.flow.common.v0.models.OrganizationReference;
3520
- readonly feed_ids: string[];
3521
- }
3522
-
3523
- interface OrderExportType {
3524
- readonly discriminator: 'order_export_type';
3525
- readonly numbers?: string[];
3526
- readonly min_hours_since_submitted_at?: number;
3527
- readonly submitted_on_or_before?: string;
3528
- readonly submitted_on_or_after?: string;
3529
- readonly status?: io.flow.experience.v0.enums.OrderStatus;
3530
- readonly has_tracking_label?: boolean;
3531
- readonly sort?: string;
3532
- }
3533
-
3534
- interface PriceBookItemExportType {
3535
- readonly discriminator: 'price_book_item_export_type';
3536
- readonly price_book_key?: string;
3537
- readonly item_numbers?: string[];
3538
- readonly start_date?: string;
3539
- readonly end_date?: string;
3540
- readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
3541
- }
3542
-
3543
- interface ScheduledExport {
3544
- readonly id: string;
3545
- readonly user: io.flow.common.v0.models.UserReference;
3546
- readonly organization_q: string;
3547
- readonly hour: number;
3548
- readonly minute: number;
3549
- readonly timezone: string;
3550
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
3551
- readonly last_sent_at?: string;
3552
- }
3553
-
3554
- interface ScheduledExportForm {
3555
- readonly user_id: string;
3556
- readonly organization_q: string;
3557
- readonly hour: number;
3558
- readonly minute: number;
3559
- readonly timezone: string;
3560
- readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
3561
- }
3562
-
3563
- interface SolidusProductExportType {
3564
- readonly discriminator: 'solidus_product_export_type';
3565
- readonly numbers?: string[];
3566
- readonly sort?: string;
3226
+ interface RetailFulfillmentOrderDetails {
3227
+ readonly master_bill_of_lading_number: string;
3228
+ readonly scac: string;
3229
+ readonly pro_number: string;
3230
+ readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
3231
+ readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
3567
3232
  }
3568
3233
 
3569
- interface SolidusVariantExportType {
3570
- readonly discriminator: 'solidus_variant_export_type';
3571
- readonly numbers?: string[];
3572
- readonly sort?: string;
3234
+ interface RetailInventoryData {
3235
+ readonly sku: string;
3236
+ readonly quantity: number;
3237
+ readonly unit: string;
3238
+ readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
3573
3239
  }
3574
3240
 
3575
- interface UnharmonizedItemExportType {
3576
- readonly discriminator: 'unharmonized_item_export_type';
3577
- readonly sort?: string;
3241
+ interface RetailOrder {
3242
+ readonly order: io.flow.flexe.v0.models.RetailOrderData;
3578
3243
  }
3579
- }
3580
-
3581
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
3582
- type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail;
3583
- type ExportType =
3584
- | io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType
3585
- | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType
3586
- | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType
3587
- | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType
3588
- | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType
3589
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType
3590
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType
3591
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType
3592
- | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType
3593
- | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType
3594
- | io.flow.RESERVED_WORD_export.v0.models.OrderExportType
3595
- | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType
3596
- | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType
3597
- | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType
3598
- | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType
3599
- | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType
3600
- | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType;
3601
- }
3602
-
3603
- declare namespace io.flow.flexe.v0.enums {
3604
- type FlexeAttachmentType =
3605
- | 'shipping_label'
3606
- | 'packing_slip'
3607
- | 'packing_slip_letter';
3608
- type FlexeNotification = 'receipt' | 'shipment';
3609
- type FlexeShipmentType =
3610
- | 'fulfillment_order'
3611
- | 'retail_fulfillment_order'
3612
- | 'carton_pick_delivery'
3613
- | 'delivery'
3614
- | 'container_delivery';
3615
- type FlexeStatus = 'in_transit' | 'completed';
3616
- }
3617
3244
 
3618
- declare namespace io.flow.flexe.v0.models {
3619
- interface BillOfLading {
3620
- readonly type: string;
3621
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
3245
+ interface RetailOrderData {
3246
+ readonly purchase_order_uuid: string;
3247
+ readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
3248
+ readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
3249
+ readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
3250
+ readonly ship_to: io.flow.flexe.v0.models.ShipTo;
3251
+ readonly build_by?: string;
3252
+ readonly instrunctions?: string;
3253
+ readonly routing_details_id?: string;
3254
+ readonly destination_type?: string;
3622
3255
  }
3623
3256
 
3624
- interface BillTo {
3257
+ interface ShipTo {
3625
3258
  readonly name: string;
3626
3259
  readonly address_1: string;
3627
3260
  readonly locality: string;
@@ -3632,285 +3265,38 @@ declare namespace io.flow.flexe.v0.models {
3632
3265
  readonly address_3?: string;
3633
3266
  }
3634
3267
 
3635
- interface CartonPickDeliveryDetails {
3636
- readonly shipment_uuid?: string;
3637
- readonly carrier?: string;
3638
- readonly carrier_id?: string;
3639
- }
3640
-
3641
- interface ContainerDeliveryDetails {
3642
- readonly purchase_order: string;
3643
- readonly container_number?: string;
3644
- readonly seal_number?: string;
3645
- readonly vendor?: string;
3646
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3647
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3648
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
3649
- readonly quantities_by_inventory: Record<
3650
- string,
3651
- io.flow.flexe.v0.models.QuantityByInventory
3652
- >;
3268
+ interface ShipWithin {
3269
+ readonly start: string;
3270
+ readonly end: string;
3653
3271
  }
3654
3272
 
3655
- interface DeliveryDetails {
3273
+ interface ShipmentDeliveryDetails {
3656
3274
  readonly shipment_uuid?: string;
3657
- readonly trailer_number?: string;
3658
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
3659
- readonly quantities_by_inventory: Record<
3660
- string,
3661
- io.flow.flexe.v0.models.QuantityByInventory
3662
- >;
3663
- }
3664
-
3665
- interface Error {
3666
- readonly url: string;
3667
- readonly client_request_id: string;
3668
- readonly generated_at: string;
3669
- readonly error: string;
3670
- }
3671
-
3672
- interface FlexeAttachment {
3673
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
3674
- readonly display_name: string;
3675
- readonly url: string;
3676
- }
3677
-
3678
- interface FlexeEcommerceFulfillment {
3679
- readonly url: string;
3680
- readonly client_request_id: string;
3681
- readonly generated_at: string;
3682
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
3683
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
3684
- }
3685
-
3686
- interface FlexeEcommerceFulfillmentData {
3687
- readonly import_id: string;
3688
- readonly succeeded_uuids: string[];
3689
- readonly failed_uuids: string[];
3690
- readonly errors: string[];
3691
- }
3692
-
3693
- interface FlexeEcommerceFulfillmentErrors {
3694
- readonly status: string;
3695
- readonly title: string;
3696
- readonly detail: string;
3697
- readonly source?: string;
3698
3275
  }
3699
3276
 
3700
- interface FlexeEcommerceFulfillmentForm {
3701
- readonly reservation_id: number;
3702
- readonly client_request_id: string;
3703
- readonly request: io.flow.flexe.v0.models.Orders;
3277
+ interface ShipmentNotification {
3278
+ readonly shipment_id: string;
3279
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
3280
+ readonly reservation_id: string;
3281
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
3282
+ readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
3283
+ readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
3284
+ readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
3285
+ readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
3704
3286
  }
3705
3287
 
3706
- interface FlexeInventoryData {
3288
+ interface Sku {
3707
3289
  readonly sku: string;
3708
- readonly quantity: string;
3709
- readonly unit: string;
3710
- }
3711
-
3712
- interface FlexeRetailAttachment {
3713
- readonly display_name: string;
3714
- readonly url: string;
3290
+ readonly description: string;
3291
+ readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
3715
3292
  }
3716
3293
 
3717
- interface FlexeRetailFulfillment {
3718
- readonly url: string;
3719
- readonly client_request_id: string;
3720
- readonly generated_at: string;
3721
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
3722
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
3294
+ interface SkuSummary {
3295
+ readonly key: string;
3296
+ readonly quantity: number;
3297
+ readonly unit: string;
3723
3298
  }
3724
-
3725
- interface FlexeRetailFulfillmentData {
3726
- readonly id: string;
3727
- readonly purchase_order_uuid: string;
3728
- readonly status: string;
3729
- }
3730
-
3731
- interface FlexeRetailFulfillmentErrors {
3732
- readonly type: string;
3733
- readonly message: string;
3734
- }
3735
-
3736
- interface FlexeRetailFulfillmentForm {
3737
- readonly reservation_id: number;
3738
- readonly client_request_id?: string;
3739
- readonly request: io.flow.flexe.v0.models.RetailOrder;
3740
- }
3741
-
3742
- interface FulfillmentOrderDetails {
3743
- readonly shipment_uuid: string;
3744
- readonly carrier?: string;
3745
- readonly carrier_id?: string;
3746
- }
3747
-
3748
- interface Gs1Us {
3749
- readonly number: string;
3750
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
3751
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
3752
- }
3753
-
3754
- interface Gs1UsShipTo {
3755
- readonly cid_number?: string;
3756
- readonly location_number?: string;
3757
- readonly free_on_board?: boolean;
3758
- }
3759
-
3760
- interface Inventory {
3761
- readonly url: string;
3762
- readonly client_request_id: string;
3763
- readonly generated_at: string;
3764
- readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
3765
- }
3766
-
3767
- interface InventoryCount {
3768
- readonly amount: number;
3769
- readonly unit: string;
3770
- }
3771
-
3772
- interface InventoryData {
3773
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
3774
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
3775
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
3776
- }
3777
-
3778
- interface InventoryDetails {
3779
- readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
3780
- }
3781
-
3782
- interface LadingQuantity {
3783
- readonly num_pallets: number;
3784
- }
3785
-
3786
- interface Order {
3787
- readonly shipment_uuid: string;
3788
- readonly purchase_order: string;
3789
- readonly carrier: string;
3790
- readonly service_type: string;
3791
- readonly carrier_assigned_id: string;
3792
- readonly name: string;
3793
- readonly address_1: string;
3794
- readonly address_2?: string;
3795
- readonly address_3?: string;
3796
- readonly city: string;
3797
- readonly state: string;
3798
- readonly postal_code: string;
3799
- readonly phone?: string;
3800
- readonly instructions?: string;
3801
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
3802
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
3803
- }
3804
-
3805
- interface Orders {
3806
- readonly orders: io.flow.flexe.v0.models.Order[];
3807
- }
3808
-
3809
- interface Pallet {
3810
- readonly pallet_id: string;
3811
- readonly sku: string;
3812
- readonly quantity: number;
3813
- readonly packaging: string;
3814
- }
3815
-
3816
- interface PurchaseOrder {
3817
- readonly retail_fulfillment_order_id: string;
3818
- readonly bill_of_lading_number: string;
3819
- readonly purchase_order_uuid: string;
3820
- readonly pickup_window_start: string;
3821
- readonly pickup_window_end: string;
3822
- readonly tags: string[];
3823
- }
3824
-
3825
- interface QuantityByInventory {
3826
- readonly received: io.flow.flexe.v0.models.InventoryData;
3827
- readonly expected?: io.flow.flexe.v0.models.InventoryData;
3828
- readonly damaged?: io.flow.flexe.v0.models.InventoryData;
3829
- }
3830
-
3831
- interface ReceiptNotification {
3832
- readonly shipment_id: string;
3833
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
3834
- readonly reservation_id: string;
3835
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
3836
- readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
3837
- readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
3838
- }
3839
-
3840
- interface RetailFulfillmentOrderDetails {
3841
- readonly master_bill_of_lading_number: string;
3842
- readonly scac: string;
3843
- readonly pro_number: string;
3844
- readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
3845
- readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
3846
- }
3847
-
3848
- interface RetailInventoryData {
3849
- readonly sku: string;
3850
- readonly quantity: number;
3851
- readonly unit: string;
3852
- readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
3853
- }
3854
-
3855
- interface RetailOrder {
3856
- readonly order: io.flow.flexe.v0.models.RetailOrderData;
3857
- }
3858
-
3859
- interface RetailOrderData {
3860
- readonly purchase_order_uuid: string;
3861
- readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
3862
- readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
3863
- readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
3864
- readonly ship_to: io.flow.flexe.v0.models.ShipTo;
3865
- readonly build_by?: string;
3866
- readonly instrunctions?: string;
3867
- readonly routing_details_id?: string;
3868
- readonly destination_type?: string;
3869
- }
3870
-
3871
- interface ShipTo {
3872
- readonly name: string;
3873
- readonly address_1: string;
3874
- readonly locality: string;
3875
- readonly region: string;
3876
- readonly postal_code: string;
3877
- readonly country: string;
3878
- readonly address_2?: string;
3879
- readonly address_3?: string;
3880
- }
3881
-
3882
- interface ShipWithin {
3883
- readonly start: string;
3884
- readonly end: string;
3885
- }
3886
-
3887
- interface ShipmentDeliveryDetails {
3888
- readonly shipment_uuid?: string;
3889
- }
3890
-
3891
- interface ShipmentNotification {
3892
- readonly shipment_id: string;
3893
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
3894
- readonly reservation_id: string;
3895
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
3896
- readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
3897
- readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
3898
- readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
3899
- readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
3900
- }
3901
-
3902
- interface Sku {
3903
- readonly sku: string;
3904
- readonly description: string;
3905
- readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
3906
- }
3907
-
3908
- interface SkuSummary {
3909
- readonly key: string;
3910
- readonly quantity: number;
3911
- readonly unit: string;
3912
- }
3913
- }
3299
+ }
3914
3300
 
3915
3301
  declare namespace io.flow.payment.v0.enums {
3916
3302
  type AuthorizationDeclineCode =
@@ -5424,7 +4810,7 @@ declare namespace io.flow.stripe.v0.models {
5424
4810
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
5425
4811
  readonly payment_method_types?: string[];
5426
4812
  readonly receipt_email?: string;
5427
- readonly save_payment_method: boolean;
4813
+ readonly save_payment_method?: boolean;
5428
4814
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
5429
4815
  }
5430
4816
 
@@ -5445,7 +4831,7 @@ declare namespace io.flow.stripe.v0.models {
5445
4831
  readonly payment_method_types?: string[];
5446
4832
  readonly receipt_email?: string;
5447
4833
  readonly return_url?: string;
5448
- readonly save_payment_method: boolean;
4834
+ readonly save_payment_method?: boolean;
5449
4835
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
5450
4836
  readonly statement_descriptor?: string;
5451
4837
  readonly statement_descriptor_suffix?: string;
@@ -5462,7 +4848,7 @@ declare namespace io.flow.stripe.v0.models {
5462
4848
  readonly payment_method?: string;
5463
4849
  readonly payment_method_types?: string[];
5464
4850
  readonly receipt_email?: string;
5465
- readonly save_payment_method: boolean;
4851
+ readonly save_payment_method?: boolean;
5466
4852
  readonly statement_descriptor?: string;
5467
4853
  readonly statement_descriptor_suffix?: string;
5468
4854
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -7018,7 +6404,7 @@ declare namespace io.flow.brickftp.v0.models {
7018
6404
  readonly id: number;
7019
6405
  readonly path: string;
7020
6406
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
7021
- readonly value: string[];
6407
+ readonly value: any /*object*/;
7022
6408
  }
7023
6409
 
7024
6410
  interface BehaviorForm {
@@ -7257,6 +6643,11 @@ declare namespace io.flow.adyen.v0.models {
7257
6643
  readonly currency: string;
7258
6644
  }
7259
6645
 
6646
+ interface Applepay {
6647
+ readonly type: 'applepay';
6648
+ readonly applePayToken: string;
6649
+ }
6650
+
7260
6651
  interface Authentication {
7261
6652
  readonly 'threeds2.fingerprintToken'?: string;
7262
6653
  readonly 'threeds2.challengeToken'?: string;
@@ -7440,6 +6831,14 @@ declare namespace io.flow.adyen.v0.models {
7440
6831
  readonly paymentData?: string;
7441
6832
  }
7442
6833
 
6834
+ interface PaymentDetailsV663Ds2Challenge {
6835
+ readonly 'threeds2.challengeResult': string;
6836
+ }
6837
+
6838
+ interface PaymentDetailsV663Ds2Fingerprint {
6839
+ readonly 'threeds2.fingerprint': string;
6840
+ }
6841
+
7443
6842
  interface PaymentRequest {
7444
6843
  readonly reference: string;
7445
6844
  readonly merchantAccount: string;
@@ -7461,7 +6860,7 @@ declare namespace io.flow.adyen.v0.models {
7461
6860
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
7462
6861
  readonly origin?: string;
7463
6862
  readonly channel?: io.flow.adyen.v0.enums.Channel;
7464
- readonly returnURL?: string;
6863
+ readonly returnUrl?: string;
7465
6864
  }
7466
6865
 
7467
6866
  interface PaymentResponse {
@@ -7517,6 +6916,15 @@ declare namespace io.flow.adyen.v0.models {
7517
6916
  readonly cvc?: string;
7518
6917
  }
7519
6918
 
6919
+ interface SdkV3OnCompleteData {
6920
+ readonly details: any /*object*/;
6921
+ readonly payment_data?: string;
6922
+ }
6923
+
6924
+ interface SdkV3OnCompleteResult {
6925
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
6926
+ }
6927
+
7520
6928
  interface ThreeDSecureData {
7521
6929
  readonly authenticationResponse?: string;
7522
6930
  readonly cavv?: string;
@@ -7548,7 +6956,9 @@ declare namespace io.flow.adyen.v0.unions {
7548
6956
  type BrowserInfo =
7549
6957
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
7550
6958
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
7551
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
6959
+ type PaymentMethodData =
6960
+ | io.flow.adyen.v0.models.Scheme
6961
+ | io.flow.adyen.v0.models.Applepay;
7552
6962
  }
7553
6963
 
7554
6964
  declare namespace io.flow.order.management.v0.enums {
@@ -8259,75 +7669,517 @@ declare namespace io.flow.shopify.external.v0.models {
8259
7669
  readonly updated_at?: string;
8260
7670
  }
8261
7671
 
8262
- interface ShopifyInventoryItemDelete {
8263
- readonly id: number;
7672
+ interface ShopifyInventoryItemDelete {
7673
+ readonly id: number;
7674
+ }
7675
+
7676
+ interface ShopifyInventoryLevel {
7677
+ readonly inventory_item_id: number;
7678
+ readonly location_id: number;
7679
+ readonly updated_at: string;
7680
+ readonly available?: number;
7681
+ }
7682
+
7683
+ interface ShopifyInventoryLevelDisconnect {
7684
+ readonly inventory_item_id: number;
7685
+ readonly location_id: number;
7686
+ }
7687
+
7688
+ interface ShopifyInventoryLevelResponseWrapper {
7689
+ readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
7690
+ }
7691
+
7692
+ interface ShopifyLineItem {
7693
+ readonly id: number;
7694
+ readonly quantity: number;
7695
+ readonly fulfillable_quantity?: number;
7696
+ readonly fulfillment_service: string;
7697
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7698
+ readonly grams?: number;
7699
+ readonly price?: string;
7700
+ readonly product_id?: number;
7701
+ readonly requires_shipping: boolean;
7702
+ readonly sku?: string;
7703
+ readonly title?: string;
7704
+ readonly variant_id?: number;
7705
+ readonly variant_title?: string;
7706
+ readonly vendor?: string;
7707
+ readonly name?: string;
7708
+ readonly gift_card: boolean;
7709
+ readonly properties: io.flow.shopify.external.v0.models.ShopifyProperty[];
7710
+ readonly taxable: boolean;
7711
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7712
+ readonly total_discount?: string;
7713
+ }
7714
+
7715
+ interface ShopifyLineItemForm {
7716
+ readonly fulfillable_quantity?: number;
7717
+ readonly fulfillment_service: string;
7718
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7719
+ readonly grams?: number;
7720
+ readonly price?: string;
7721
+ readonly product_id?: number;
7722
+ readonly quantity?: number;
7723
+ readonly requires_shipping: boolean;
7724
+ readonly sku?: string;
7725
+ readonly title?: string;
7726
+ readonly variant_id?: number;
7727
+ readonly variant_title?: string;
7728
+ readonly vendor?: string;
7729
+ readonly name?: string;
7730
+ readonly gift_card: boolean;
7731
+ readonly properties?: io.flow.shopify.external.v0.models.ShopifyProperty[];
7732
+ readonly taxable: boolean;
7733
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7734
+ readonly total_discount?: string;
7735
+ readonly id?: number;
7736
+ }
7737
+
7738
+ interface ShopifyLineLevelDiscountAllocation {
7739
+ readonly amount: number;
7740
+ readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
7741
+ }
7742
+
7743
+ interface ShopifyLocation {
7744
+ readonly active: boolean;
7745
+ readonly address1?: string;
7746
+ readonly address2?: string;
7747
+ readonly city?: string;
7748
+ readonly country?: string;
7749
+ readonly country_code?: string;
7750
+ readonly created_at: string;
7751
+ readonly id: number;
7752
+ readonly legacy: boolean;
7753
+ readonly name: string;
7754
+ readonly phone?: string;
7755
+ readonly province?: string;
7756
+ readonly province_code?: string;
7757
+ readonly updated_at?: string;
7758
+ readonly zip?: string;
7759
+ readonly localized_country_name?: string;
7760
+ readonly localized_province_name?: string;
7761
+ }
7762
+
7763
+ interface ShopifyLocationDelete {
7764
+ readonly id: number;
7765
+ }
7766
+
7767
+ interface ShopifyLocationsResponseWrapper {
7768
+ readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
7769
+ }
7770
+
7771
+ interface ShopifyOrder {
7772
+ readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
7773
+ readonly browser_ip?: string;
7774
+ readonly buyer_accepts_marketing: boolean;
7775
+ readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
7776
+ readonly cancelled_at?: string;
7777
+ readonly cart_token?: string;
7778
+ readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
7779
+ readonly closed_at?: string;
7780
+ readonly created_at?: string;
7781
+ readonly currency?: string;
7782
+ readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
7783
+ readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
7784
+ readonly email?: string;
7785
+ readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
7786
+ readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
7787
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7788
+ readonly id?: number;
7789
+ readonly landing_site?: string;
7790
+ readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
7791
+ readonly location_id?: number;
7792
+ readonly name?: string;
7793
+ readonly note?: string;
7794
+ readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
7795
+ readonly number?: number;
7796
+ readonly order_number?: number;
7797
+ readonly payment_gateway_names: string[];
7798
+ readonly processed_at?: string;
7799
+ readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
7800
+ readonly referring_site?: string;
7801
+ readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
7802
+ readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
7803
+ readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
7804
+ readonly source_name?: string;
7805
+ readonly subtotal_price?: string;
7806
+ readonly tags?: string;
7807
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7808
+ readonly taxes_included: boolean;
7809
+ readonly token?: string;
7810
+ readonly total_discounts?: string;
7811
+ readonly total_line_items_price?: string;
7812
+ readonly total_price?: string;
7813
+ readonly total_tax?: string;
7814
+ readonly total_weight?: number;
7815
+ readonly updated_at?: string;
7816
+ readonly user_id?: number;
7817
+ readonly order_status_url?: string;
7818
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
7819
+ readonly gateway?: string;
7820
+ readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
7821
+ readonly send_receipt?: boolean;
7822
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
7823
+ }
7824
+
7825
+ interface ShopifyOrderCount {
7826
+ readonly count: number;
7827
+ }
7828
+
7829
+ interface ShopifyOrderCustomer {
7830
+ readonly email?: string;
7831
+ readonly first_name?: string;
7832
+ readonly last_name?: string;
7833
+ readonly phone?: string;
7834
+ }
7835
+
7836
+ interface ShopifyOrderWrapper {
7837
+ readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
7838
+ }
7839
+
7840
+ interface ShopifyPaymentDetail {
7841
+ readonly avs_result_code?: string;
7842
+ readonly credit_card_bin?: string;
7843
+ readonly credit_card_company: string;
7844
+ readonly credit_card_number: string;
7845
+ readonly cvv_result_code?: string;
7846
+ }
7847
+
7848
+ interface ShopifyProperty {
7849
+ readonly name: string;
7850
+ readonly value: any /*json*/;
7851
+ }
7852
+
7853
+ interface ShopifyRefund {
7854
+ readonly id: number;
7855
+ readonly order_id: number;
7856
+ readonly created_at: string;
7857
+ readonly processed_at: string;
7858
+ readonly note?: string;
7859
+ readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
7860
+ readonly restock?: boolean;
7861
+ readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
7862
+ readonly user_id?: number;
7863
+ }
7864
+
7865
+ interface ShopifyRefundForm {
7866
+ readonly note?: string;
7867
+ readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
7868
+ readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
7869
+ readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
7870
+ readonly currency: string;
7871
+ }
7872
+
7873
+ interface ShopifyRefundLineItem {
7874
+ readonly id: number;
7875
+ readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
7876
+ readonly line_item_id: number;
7877
+ readonly quantity: number;
7878
+ readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
7879
+ readonly location_id?: number;
7880
+ readonly subtotal?: number;
7881
+ readonly total_tax?: number;
7882
+ }
7883
+
7884
+ interface ShopifyRefundLineItemForm {
7885
+ readonly line_item_id: number;
7886
+ readonly quantity: number;
7887
+ readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
7888
+ readonly location_id?: number;
7889
+ }
7890
+
7891
+ interface ShopifyShippingLine {
7892
+ readonly code: string;
7893
+ readonly price: string;
7894
+ readonly source: string;
7895
+ readonly title: string;
7896
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7897
+ readonly carrier_identifier?: string;
7898
+ readonly requested_fulfillment_service_id?: string;
7899
+ }
7900
+
7901
+ interface ShopifyTaxLine {
7902
+ readonly price: string;
7903
+ readonly rate: number;
7904
+ readonly title: string;
7905
+ }
7906
+
7907
+ interface ShopifyTransaction {
7908
+ readonly id: number;
7909
+ readonly order_id: number;
7910
+ readonly amount: number;
7911
+ readonly kind: io.flow.shopify.external.v0.enums.KindType;
7912
+ readonly gateway: string;
7913
+ readonly currency: string;
7914
+ readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
7915
+ readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
7916
+ readonly receipt: any /*object*/;
7917
+ readonly authorization?: string;
7918
+ readonly created_at: string;
7919
+ readonly device_id?: number;
7920
+ readonly gift_card_id?: number;
7921
+ readonly source_name: string;
7922
+ readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
7923
+ readonly test: boolean;
7924
+ readonly parent_id?: number;
7925
+ readonly user_id?: number;
7926
+ }
7927
+
7928
+ interface ShopifyTransactionForm {
7929
+ readonly amount: number;
7930
+ readonly currency: string;
7931
+ readonly gateway: string;
7932
+ readonly kind: io.flow.shopify.external.v0.enums.KindType;
7933
+ readonly source: string;
7934
+ readonly authorization?: string;
7935
+ readonly gift_card_id?: number;
7936
+ readonly parent_id?: number;
7937
+ readonly receipt?: any /*object*/;
7938
+ }
7939
+
7940
+ interface ShopifyTransactionGiftCardReceipt {
7941
+ readonly gift_card_id: number;
7942
+ readonly gift_card_last_characters: string;
7943
+ }
7944
+
7945
+ interface ShopifyWebhookCustomersRedact {
7946
+ readonly shop_id: number;
7947
+ readonly shop_domain: string;
7948
+ readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
7949
+ readonly orders_to_redact?: number[];
7950
+ }
7951
+
7952
+ interface ShopifyWebhookCustomersRedactCustomer {
7953
+ readonly id: number;
7954
+ readonly email?: string;
7955
+ readonly phone?: string;
7956
+ }
7957
+
7958
+ interface ShopifyWebhookOrder {
7959
+ readonly id?: number;
7960
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
7961
+ }
7962
+
7963
+ interface ShopifyWebhookOrderCancelled {
7964
+ readonly id: number;
7965
+ }
7966
+
7967
+ interface ShopifyWebhookOrderLineItem {
7968
+ readonly fulfillable_quantity?: number;
7969
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7970
+ readonly product_id?: number;
7971
+ readonly quantity?: number;
7972
+ readonly requires_shipping: boolean;
7973
+ readonly variant_id?: number;
7974
+ }
7975
+
7976
+ interface ShopifyWebhookShopRedact {
7977
+ readonly shop_id: number;
7978
+ readonly shop_domain: string;
7979
+ }
7980
+
7981
+ interface SmartCollection {
7982
+ readonly id: number;
7983
+ readonly handle: string;
7984
+ readonly title: string;
7985
+ readonly updated_at: string;
7986
+ }
7987
+
7988
+ interface Webhook {
7989
+ readonly address: string;
7990
+ readonly created_at: string;
7991
+ readonly format: io.flow.shopify.external.v0.enums.Format;
7992
+ readonly id: number;
7993
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
7994
+ readonly updated_at: string;
7995
+ readonly fields?: string[];
7996
+ readonly metafield_namespaces?: string[];
7997
+ }
7998
+
7999
+ interface WebhookForm {
8000
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
8001
+ readonly address: string;
8002
+ readonly format: io.flow.shopify.external.v0.enums.Format;
8003
+ readonly metafield_namespaces?: string[];
8004
+ }
8005
+
8006
+ interface WebhookFormWrapper {
8007
+ readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
8008
+ }
8009
+
8010
+ interface WebhookResponseList {
8011
+ readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
8012
+ }
8013
+
8014
+ interface WebhookResponseSingle {
8015
+ readonly webhook: io.flow.shopify.external.v0.models.Webhook;
8016
+ }
8017
+ }
8018
+
8019
+ declare namespace io.flow.shopify.markets.v0.enums {
8020
+ type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
8021
+ type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
8022
+ type ShopifyOrderCancelReason =
8023
+ | 'customer'
8024
+ | 'fraud'
8025
+ | 'inventory'
8026
+ | 'declined'
8027
+ | 'other';
8028
+ type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
8029
+ type ShopifyOrderDiscountApplicationTargetSelection =
8030
+ | 'all'
8031
+ | 'entitled'
8032
+ | 'explicit';
8033
+ type ShopifyOrderDiscountApplicationTargetType =
8034
+ | 'line_item'
8035
+ | 'shipping_line';
8036
+ type ShopifyOrderDiscountApplicationType =
8037
+ | 'automatic'
8038
+ | 'discount_code'
8039
+ | 'manual'
8040
+ | 'script';
8041
+ type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
8042
+ type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
8043
+ type ShopifyOrderFinancialStatusType =
8044
+ | 'pending'
8045
+ | 'authorized'
8046
+ | 'partially_paid'
8047
+ | 'paid'
8048
+ | 'partially_refunded'
8049
+ | 'refunded'
8050
+ | 'voided';
8051
+ type ShopifyOrderFulfillmentShipmentStatus =
8052
+ | 'label_printed'
8053
+ | 'label_purchased'
8054
+ | 'attempted_delivery'
8055
+ | 'ready_for_pickup'
8056
+ | 'confirmed'
8057
+ | 'in_transit'
8058
+ | 'out_for_delivery'
8059
+ | 'delivered'
8060
+ | 'failure';
8061
+ type ShopifyOrderFulfillmentStatus =
8062
+ | 'pending'
8063
+ | 'open'
8064
+ | 'success'
8065
+ | 'cancelled'
8066
+ | 'error'
8067
+ | 'failure';
8068
+ type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
8069
+ type ShopifyOrderInventoryBehaviour =
8070
+ | 'bypass'
8071
+ | 'decrement_ignoring_policy'
8072
+ | 'decrement_obeying_policy';
8073
+ type ShopifyOrderKindType =
8074
+ | 'authorization'
8075
+ | 'capture'
8076
+ | 'sale'
8077
+ | 'void'
8078
+ | 'refund';
8079
+ type ShopifyOrderProcessingMethodType =
8080
+ | 'checkout'
8081
+ | 'direct'
8082
+ | 'manual'
8083
+ | 'offsite'
8084
+ | 'express';
8085
+ type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
8086
+ type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
8087
+ type ShopifyOrderTransactionErrorCode =
8088
+ | 'incorrect_number'
8089
+ | 'invalid_number'
8090
+ | 'invalid_expiry_date'
8091
+ | 'invalid_cvc'
8092
+ | 'expired_card'
8093
+ | 'incorrect_cvc'
8094
+ | 'incorrect_zip'
8095
+ | 'incorrect_address'
8096
+ | 'card_declined'
8097
+ | 'processing_error'
8098
+ | 'call_issuer'
8099
+ | 'pick_up_card';
8100
+ type ShopifyOrderTransactionStatus =
8101
+ | 'pending'
8102
+ | 'failure'
8103
+ | 'success'
8104
+ | 'error';
8105
+ type ShopifyOrderValueType = 'string' | 'integer';
8106
+ type ShopifyWebhookFormat = 'json' | 'xml';
8107
+ type ShopifyWebhookTopic =
8108
+ | 'orders/cancelled'
8109
+ | 'orders/create'
8110
+ | 'orders/fulfilled'
8111
+ | 'orders/paid'
8112
+ | 'orders/partially_fulfilled'
8113
+ | 'orders/updated'
8114
+ | 'orders/delete'
8115
+ | 'orders/edited'
8116
+ | 'products/create'
8117
+ | 'products/delete'
8118
+ | 'products/update'
8119
+ | 'refunds/create'
8120
+ | 'fulfillment_events/create'
8121
+ | 'fulfillment_events/delete'
8122
+ | 'themes/create'
8123
+ | 'themes/publish'
8124
+ | 'themes/update';
8125
+ }
8126
+
8127
+ declare namespace io.flow.shopify.markets.v0.models {
8128
+ interface ResponseShopifyTransactions {
8129
+ readonly transactions: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
8130
+ }
8131
+
8132
+ interface ShopifyCountryHarmonizedSystemCode {
8133
+ readonly country_code: string;
8134
+ readonly harmonized_system_code: string;
8135
+ }
8136
+
8137
+ interface ShopifyError {
8138
+ readonly errors: any /*object*/;
8264
8139
  }
8265
8140
 
8266
- interface ShopifyInventoryLevel {
8267
- readonly inventory_item_id: number;
8268
- readonly location_id: number;
8269
- readonly updated_at: string;
8270
- readonly available?: number;
8141
+ interface ShopifyFulfillmentOrder {
8142
+ readonly assigned_location_id: number;
8143
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[];
8271
8144
  }
8272
8145
 
8273
- interface ShopifyInventoryLevelDisconnect {
8274
- readonly inventory_item_id: number;
8275
- readonly location_id: number;
8146
+ interface ShopifyFulfillmentOrderLineItem {
8147
+ readonly line_item_id: number;
8276
8148
  }
8277
8149
 
8278
- interface ShopifyInventoryLevelResponseWrapper {
8279
- readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
8150
+ interface ShopifyFulfillmentOrdersWrapper {
8151
+ readonly fulfillment_orders: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrder[];
8280
8152
  }
8281
8153
 
8282
- interface ShopifyLineItem {
8154
+ interface ShopifyInventoryItem {
8283
8155
  readonly id: number;
8284
- readonly quantity: number;
8285
- readonly fulfillable_quantity?: number;
8286
- readonly fulfillment_service: string;
8287
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
8288
- readonly grams?: number;
8289
- readonly price?: string;
8290
- readonly product_id?: number;
8156
+ readonly cost: number;
8157
+ readonly country_code_of_origin?: string;
8158
+ readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
8159
+ readonly harmonized_system_code?: string;
8160
+ readonly province_code_of_origin?: string;
8161
+ readonly sku: string;
8162
+ readonly tracked?: boolean;
8291
8163
  readonly requires_shipping: boolean;
8292
- readonly sku?: string;
8293
- readonly title?: string;
8294
- readonly variant_id?: number;
8295
- readonly variant_title?: string;
8296
- readonly vendor?: string;
8297
- readonly name?: string;
8298
- readonly gift_card: boolean;
8299
- readonly properties: io.flow.shopify.external.v0.models.ShopifyProperty[];
8300
- readonly taxable: boolean;
8301
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
8302
- readonly total_discount?: string;
8164
+ readonly created_at: string;
8165
+ readonly updated_at: string;
8303
8166
  }
8304
8167
 
8305
- interface ShopifyLineItemForm {
8306
- readonly fulfillable_quantity?: number;
8307
- readonly fulfillment_service: string;
8308
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
8309
- readonly grams?: number;
8310
- readonly price?: string;
8311
- readonly product_id?: number;
8312
- readonly quantity?: number;
8313
- readonly requires_shipping: boolean;
8314
- readonly sku?: string;
8315
- readonly title?: string;
8316
- readonly variant_id?: number;
8317
- readonly variant_title?: string;
8318
- readonly vendor?: string;
8319
- readonly name?: string;
8320
- readonly gift_card: boolean;
8321
- readonly properties?: io.flow.shopify.external.v0.models.ShopifyProperty[];
8322
- readonly taxable: boolean;
8323
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
8324
- readonly total_discount?: string;
8325
- readonly id?: number;
8168
+ interface ShopifyInventoryItemForm {
8169
+ readonly harmonized_system_code?: string;
8170
+ readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
8326
8171
  }
8327
8172
 
8328
- interface ShopifyLineLevelDiscountAllocation {
8329
- readonly amount: number;
8330
- readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
8173
+ interface ShopifyInventoryItemFormWrapper {
8174
+ readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItemForm;
8175
+ }
8176
+
8177
+ interface ShopifyInventoryItemWrapper {
8178
+ readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem;
8179
+ }
8180
+
8181
+ interface ShopifyInventoryItemsWrapper {
8182
+ readonly inventory_items: io.flow.shopify.markets.v0.models.ShopifyInventoryItem[];
8331
8183
  }
8332
8184
 
8333
8185
  interface ShopifyLocation {
@@ -8350,84 +8202,290 @@ declare namespace io.flow.shopify.external.v0.models {
8350
8202
  readonly localized_province_name?: string;
8351
8203
  }
8352
8204
 
8353
- interface ShopifyLocationDelete {
8354
- readonly id: number;
8355
- }
8356
-
8357
8205
  interface ShopifyLocationsResponseWrapper {
8358
- readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
8206
+ readonly locations: io.flow.shopify.markets.v0.models.ShopifyLocation[];
8359
8207
  }
8360
8208
 
8361
8209
  interface ShopifyOrder {
8362
- readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
8210
+ readonly id: number;
8211
+ readonly order_number: number;
8212
+ readonly checkout_id?: number;
8213
+ readonly checkout_token?: string;
8214
+ readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8363
8215
  readonly browser_ip?: string;
8364
8216
  readonly buyer_accepts_marketing: boolean;
8365
- readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
8217
+ readonly cancel_reason?: io.flow.shopify.markets.v0.enums.ShopifyOrderCancelReason;
8366
8218
  readonly cancelled_at?: string;
8367
8219
  readonly cart_token?: string;
8368
- readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
8220
+ readonly client_details?: io.flow.shopify.markets.v0.models.ShopifyOrderClientDetail;
8369
8221
  readonly closed_at?: string;
8370
- readonly created_at?: string;
8371
- readonly currency?: string;
8372
- readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
8373
- readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
8222
+ readonly created_at: string;
8223
+ readonly currency: string;
8224
+ readonly total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8225
+ readonly current_total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8226
+ readonly total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8227
+ readonly current_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8228
+ readonly original_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8229
+ readonly total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8230
+ readonly current_total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8231
+ readonly subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8232
+ readonly current_subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8233
+ readonly total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8234
+ readonly current_total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8235
+ readonly total_line_items_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8236
+ readonly customer: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
8237
+ readonly customer_locale?: string;
8238
+ readonly discount_applications: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[];
8239
+ readonly discount_codes: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[];
8374
8240
  readonly email?: string;
8375
- readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
8376
- readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
8377
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
8378
- readonly id?: number;
8241
+ readonly financial_status: io.flow.shopify.markets.v0.enums.ShopifyOrderFinancialStatusType;
8242
+ readonly fulfillments: io.flow.shopify.markets.v0.models.ShopifyOrderFulfillment[];
8243
+ readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
8379
8244
  readonly landing_site?: string;
8380
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
8245
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
8381
8246
  readonly location_id?: number;
8382
- readonly name?: string;
8247
+ readonly name: string;
8383
8248
  readonly note?: string;
8384
- readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
8249
+ readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
8385
8250
  readonly number?: number;
8386
- readonly order_number?: number;
8387
8251
  readonly payment_gateway_names: string[];
8388
8252
  readonly processed_at?: string;
8389
- readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
8253
+ readonly processing_method?: io.flow.shopify.markets.v0.enums.ShopifyOrderProcessingMethodType;
8390
8254
  readonly referring_site?: string;
8391
- readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
8392
- readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
8393
- readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
8255
+ readonly refunds: io.flow.shopify.markets.v0.models.ShopifyOrderRefund[];
8256
+ readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8257
+ readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
8394
8258
  readonly source_name?: string;
8395
- readonly subtotal_price?: string;
8396
8259
  readonly tags?: string;
8397
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
8260
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
8398
8261
  readonly taxes_included: boolean;
8399
8262
  readonly token?: string;
8400
- readonly total_discounts?: string;
8401
- readonly total_line_items_price?: string;
8402
- readonly total_price?: string;
8403
- readonly total_tax?: string;
8404
8263
  readonly total_weight?: number;
8405
8264
  readonly updated_at?: string;
8406
8265
  readonly user_id?: number;
8407
8266
  readonly order_status_url?: string;
8408
- readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
8267
+ readonly inventory_behaviour?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
8409
8268
  readonly gateway?: string;
8410
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
8269
+ readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
8411
8270
  readonly send_receipt?: boolean;
8412
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
8271
+ readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
8272
+ }
8273
+
8274
+ interface ShopifyOrderAddress {
8275
+ readonly id?: number;
8276
+ readonly address1?: string;
8277
+ readonly address2?: string;
8278
+ readonly city?: string;
8279
+ readonly company?: string;
8280
+ readonly country?: string;
8281
+ readonly country_code?: string;
8282
+ readonly default?: boolean;
8283
+ readonly first_name?: string;
8284
+ readonly last_name?: string;
8285
+ readonly latitude?: number;
8286
+ readonly longitude?: number;
8287
+ readonly name?: string;
8288
+ readonly phone?: string;
8289
+ readonly province?: string;
8290
+ readonly province_code?: string;
8291
+ readonly zip?: string;
8292
+ }
8293
+
8294
+ interface ShopifyOrderAttribute {
8295
+ readonly name: string;
8296
+ readonly value: string;
8297
+ }
8298
+
8299
+ interface ShopifyOrderCancellationForm {
8300
+ readonly refund: io.flow.shopify.markets.v0.models.ShopifyRefund;
8301
+ }
8302
+
8303
+ interface ShopifyOrderClientDetail {
8304
+ readonly accept_language?: string;
8305
+ readonly browser_height?: number;
8306
+ readonly browser_ip?: string;
8307
+ readonly browser_width?: number;
8308
+ readonly session_hash?: string;
8309
+ readonly user_agent?: string;
8310
+ }
8311
+
8312
+ interface ShopifyOrderCustomer {
8313
+ readonly id?: number;
8314
+ readonly email?: string;
8315
+ readonly accepts_marketing?: boolean;
8316
+ readonly created_at?: string;
8317
+ readonly updated_at?: string;
8318
+ readonly first_name?: string;
8319
+ readonly last_name?: string;
8320
+ readonly orders_count?: number;
8321
+ readonly state?: string;
8322
+ readonly total_spent?: string;
8323
+ readonly last_order_id?: number;
8324
+ readonly note?: string;
8325
+ readonly verified_email?: boolean;
8326
+ readonly multipass_identifier?: string;
8327
+ readonly tax_exempt?: boolean;
8328
+ readonly tax_exemptions?: any /*json*/[];
8329
+ readonly phone?: string;
8330
+ readonly tags?: string;
8331
+ readonly last_order_name?: string;
8332
+ readonly currency?: string;
8333
+ readonly addresses?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8334
+ readonly default_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
8335
+ }
8336
+
8337
+ interface ShopifyOrderDiscountAllocation {
8338
+ readonly amount: string;
8339
+ readonly discount_application_index: number;
8340
+ readonly amount_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8341
+ }
8342
+
8343
+ interface ShopifyOrderDiscountApplication {
8344
+ readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationType;
8345
+ readonly allocation_method: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountAllocationMethod;
8346
+ readonly code?: string;
8347
+ readonly description?: string;
8348
+ readonly target_selection: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
8349
+ readonly target_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetType;
8350
+ readonly title?: string;
8351
+ readonly value: string;
8352
+ readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationValueType;
8353
+ }
8354
+
8355
+ interface ShopifyOrderDiscountCode {
8356
+ readonly amount: string;
8357
+ readonly code: string;
8358
+ readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountType;
8359
+ }
8360
+
8361
+ interface ShopifyOrderDuty {
8362
+ readonly id: string;
8363
+ readonly harmonized_system_code: string;
8364
+ readonly country_code_of_origin: string;
8365
+ readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
8366
+ readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
8367
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
8368
+ }
8369
+
8370
+ interface ShopifyOrderEdit {
8371
+ readonly id: number;
8372
+ readonly created_at: string;
8373
+ readonly notify_customer: boolean;
8374
+ readonly order_id: number;
8375
+ readonly staff_note: string;
8376
+ readonly user_id?: number;
8377
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItems;
8378
+ readonly discounts: any /*object*/;
8379
+ readonly shipping_lines: any /*object*/;
8380
+ }
8381
+
8382
+ interface ShopifyOrderEditLineItems {
8383
+ readonly additions: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
8384
+ readonly removals: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
8385
+ }
8386
+
8387
+ interface ShopifyOrderEditLineItemsChange {
8388
+ readonly id: number;
8389
+ readonly delta: number;
8390
+ }
8391
+
8392
+ interface ShopifyOrderEditWrapper {
8393
+ readonly order_edit: io.flow.shopify.markets.v0.models.ShopifyOrderEdit;
8394
+ }
8395
+
8396
+ interface ShopifyOrderFulfillment {
8397
+ readonly created_at?: string;
8398
+ readonly id?: number;
8399
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
8400
+ readonly location_id: number;
8401
+ readonly name: string;
8402
+ readonly notify_customer?: boolean;
8403
+ readonly order_id?: number;
8404
+ readonly receipt?: any /*object*/;
8405
+ readonly service: string;
8406
+ readonly shipment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
8407
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatus;
8408
+ readonly tracking_company?: string;
8409
+ readonly tracking_number?: string;
8410
+ readonly tracking_numbers?: string[];
8411
+ readonly tracking_urls?: string[];
8412
+ readonly updated_at?: string;
8413
+ readonly variant_inventory_management?: string;
8414
+ }
8415
+
8416
+ interface ShopifyOrderLineItem {
8417
+ readonly fulfillable_quantity?: number;
8418
+ readonly fulfillment_service: string;
8419
+ readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
8420
+ readonly grams?: number;
8421
+ readonly id: number;
8422
+ readonly price?: string;
8423
+ readonly price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8424
+ readonly product_id?: number;
8425
+ readonly quantity: number;
8426
+ readonly requires_shipping: boolean;
8427
+ readonly sku?: string;
8428
+ readonly title?: string;
8429
+ readonly variant_id?: number;
8430
+ readonly variant_title?: string;
8431
+ readonly vendor?: string;
8432
+ readonly name?: string;
8433
+ readonly gift_card: boolean;
8434
+ readonly properties: io.flow.shopify.markets.v0.models.ShopifyOrderProperty[];
8435
+ readonly taxable: boolean;
8436
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
8437
+ readonly tip_payment_gateway?: string;
8438
+ readonly tip_payment_method?: string;
8439
+ readonly total_discount?: string;
8440
+ readonly total_discount_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8441
+ readonly discount_allocations?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[];
8442
+ readonly origin_location?: io.flow.shopify.markets.v0.models.ShopifyOrderOriginLocation;
8443
+ readonly variant_inventory_management?: string;
8444
+ readonly product_exists?: boolean;
8445
+ readonly duties: io.flow.shopify.markets.v0.models.ShopifyOrderDuty[];
8413
8446
  }
8414
8447
 
8415
- interface ShopifyOrderCount {
8416
- readonly count: number;
8448
+ interface ShopifyOrderMetafield {
8449
+ readonly id: number;
8450
+ readonly key: string;
8451
+ readonly namespace: string;
8452
+ readonly value: string;
8453
+ readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
8454
+ readonly description?: string;
8455
+ readonly owner_id: number;
8456
+ readonly owner_resource: string;
8417
8457
  }
8418
8458
 
8419
- interface ShopifyOrderCustomer {
8420
- readonly email?: string;
8421
- readonly first_name?: string;
8422
- readonly last_name?: string;
8423
- readonly phone?: string;
8459
+ interface ShopifyOrderMetafieldForm {
8460
+ readonly key: string;
8461
+ readonly namespace: string;
8462
+ readonly value: string;
8463
+ readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
8464
+ readonly description?: string;
8424
8465
  }
8425
8466
 
8426
- interface ShopifyOrderWrapper {
8427
- readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
8467
+ interface ShopifyOrderMoney {
8468
+ readonly amount: number;
8469
+ readonly currency_code: string;
8428
8470
  }
8429
8471
 
8430
- interface ShopifyPaymentDetail {
8472
+ interface ShopifyOrderMoneySet {
8473
+ readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
8474
+ readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
8475
+ }
8476
+
8477
+ interface ShopifyOrderOriginLocation {
8478
+ readonly id: number;
8479
+ readonly country_code: string;
8480
+ readonly province_code: string;
8481
+ readonly name: string;
8482
+ readonly address1: string;
8483
+ readonly address2: string;
8484
+ readonly city: string;
8485
+ readonly zip: string;
8486
+ }
8487
+
8488
+ interface ShopifyOrderPaymentDetail {
8431
8489
  readonly avs_result_code?: string;
8432
8490
  readonly credit_card_bin?: string;
8433
8491
  readonly credit_card_company: string;
@@ -8435,174 +8493,140 @@ declare namespace io.flow.shopify.external.v0.models {
8435
8493
  readonly cvv_result_code?: string;
8436
8494
  }
8437
8495
 
8438
- interface ShopifyProperty {
8496
+ interface ShopifyOrderProperty {
8439
8497
  readonly name: string;
8440
8498
  readonly value: any /*json*/;
8441
8499
  }
8442
8500
 
8443
- interface ShopifyRefund {
8501
+ interface ShopifyOrderRefund {
8444
8502
  readonly id: number;
8445
8503
  readonly order_id: number;
8446
8504
  readonly created_at: string;
8447
8505
  readonly processed_at: string;
8448
8506
  readonly note?: string;
8449
- readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
8507
+ readonly refund_line_items?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[];
8450
8508
  readonly restock?: boolean;
8451
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
8509
+ readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
8452
8510
  readonly user_id?: number;
8453
8511
  }
8454
8512
 
8455
- interface ShopifyRefundForm {
8456
- readonly note?: string;
8457
- readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
8458
- readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
8459
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
8460
- readonly currency: string;
8461
- }
8462
-
8463
- interface ShopifyRefundLineItem {
8513
+ interface ShopifyOrderRefundLineItem {
8464
8514
  readonly id: number;
8465
- readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
8515
+ readonly line_item: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem;
8466
8516
  readonly line_item_id: number;
8467
8517
  readonly quantity: number;
8468
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
8518
+ readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
8469
8519
  readonly location_id?: number;
8470
8520
  readonly subtotal?: number;
8471
8521
  readonly total_tax?: number;
8472
8522
  }
8473
8523
 
8474
- interface ShopifyRefundLineItemForm {
8475
- readonly line_item_id: number;
8476
- readonly quantity: number;
8477
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
8478
- readonly location_id?: number;
8479
- }
8480
-
8481
- interface ShopifyShippingLine {
8482
- readonly code: string;
8524
+ interface ShopifyOrderShippingLine {
8525
+ readonly code?: string;
8483
8526
  readonly price: string;
8484
8527
  readonly source: string;
8485
8528
  readonly title: string;
8486
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
8529
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
8487
8530
  readonly carrier_identifier?: string;
8488
8531
  readonly requested_fulfillment_service_id?: string;
8532
+ readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8533
+ readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8489
8534
  }
8490
8535
 
8491
- interface ShopifyTaxLine {
8492
- readonly price: string;
8536
+ interface ShopifyOrderTaxLine {
8537
+ readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8493
8538
  readonly rate: number;
8494
8539
  readonly title: string;
8495
8540
  }
8496
8541
 
8497
- interface ShopifyTransaction {
8542
+ interface ShopifyOrderTransaction {
8498
8543
  readonly id: number;
8499
8544
  readonly order_id: number;
8500
8545
  readonly amount: number;
8501
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
8546
+ readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
8502
8547
  readonly gateway: string;
8503
8548
  readonly currency: string;
8504
- readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
8505
- readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
8549
+ readonly status: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
8550
+ readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
8506
8551
  readonly receipt: any /*object*/;
8507
8552
  readonly authorization?: string;
8508
8553
  readonly created_at: string;
8509
8554
  readonly device_id?: number;
8510
8555
  readonly gift_card_id?: number;
8511
8556
  readonly source_name: string;
8512
- readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
8557
+ readonly error_code?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode;
8513
8558
  readonly test: boolean;
8514
8559
  readonly parent_id?: number;
8515
8560
  readonly user_id?: number;
8516
8561
  }
8517
8562
 
8518
- interface ShopifyTransactionForm {
8519
- readonly amount: number;
8520
- readonly currency: string;
8521
- readonly gateway: string;
8522
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
8523
- readonly source: string;
8524
- readonly authorization?: string;
8525
- readonly gift_card_id?: number;
8526
- readonly parent_id?: number;
8527
- readonly receipt?: any /*object*/;
8563
+ interface ShopifyOrderWrapper {
8564
+ readonly order: io.flow.shopify.markets.v0.models.ShopifyOrder;
8528
8565
  }
8529
8566
 
8530
- interface ShopifyTransactionGiftCardReceipt {
8531
- readonly gift_card_id: number;
8532
- readonly gift_card_last_characters: string;
8567
+ interface ShopifyOrdersWrapper {
8568
+ readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
8533
8569
  }
8534
8570
 
8535
- interface ShopifyWebhookCustomersRedact {
8536
- readonly shop_id: number;
8537
- readonly shop_domain: string;
8538
- readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
8539
- readonly orders_to_redact?: number[];
8571
+ interface ShopifyRefund {
8572
+ readonly notify_x: boolean;
8573
+ readonly note?: string;
8574
+ readonly discrepancy_reason?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason;
8575
+ readonly shipping: io.flow.shopify.markets.v0.models.ShopifyRefundShipping;
8576
+ readonly refund_line_items: io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[];
8577
+ readonly transactions: io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[];
8578
+ readonly currency: string;
8540
8579
  }
8541
8580
 
8542
- interface ShopifyWebhookCustomersRedactCustomer {
8543
- readonly id: number;
8544
- readonly email?: string;
8545
- readonly phone?: string;
8581
+ interface ShopifyRefundLineItem {
8582
+ readonly line_item_id: number;
8583
+ readonly quantity: number;
8584
+ readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
8585
+ readonly location_id?: number;
8546
8586
  }
8547
8587
 
8548
- interface ShopifyWebhookOrder {
8549
- readonly id?: number;
8550
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
8588
+ interface ShopifyRefundShipping {
8589
+ readonly full_refund?: boolean;
8590
+ readonly amount?: number;
8551
8591
  }
8552
8592
 
8553
- interface ShopifyWebhookOrderCancelled {
8554
- readonly id: number;
8593
+ interface ShopifyRefundTransaction {
8594
+ readonly parent_id: number;
8595
+ readonly amount: string;
8596
+ readonly currency: string;
8597
+ readonly kind: string;
8598
+ readonly gateway: string;
8555
8599
  }
8556
8600
 
8557
- interface ShopifyWebhookOrderLineItem {
8558
- readonly fulfillable_quantity?: number;
8559
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
8560
- readonly product_id?: number;
8561
- readonly quantity?: number;
8562
- readonly requires_shipping: boolean;
8563
- readonly variant_id?: number;
8601
+ interface ShopifyWebhookRequest {
8602
+ readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
8603
+ readonly address: string;
8604
+ readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
8564
8605
  }
8565
8606
 
8566
- interface ShopifyWebhookShopRedact {
8567
- readonly shop_id: number;
8568
- readonly shop_domain: string;
8607
+ interface ShopifyWebhookRequestWrapper {
8608
+ readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookRequest;
8569
8609
  }
8570
8610
 
8571
- interface SmartCollection {
8611
+ interface ShopifyWebhookResponse {
8572
8612
  readonly id: number;
8573
- readonly handle: string;
8574
- readonly title: string;
8575
- readonly updated_at: string;
8576
- }
8577
-
8578
- interface Webhook {
8579
8613
  readonly address: string;
8614
+ readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
8580
8615
  readonly created_at: string;
8581
- readonly format: io.flow.shopify.external.v0.enums.Format;
8582
- readonly id: number;
8583
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
8584
8616
  readonly updated_at: string;
8585
- readonly fields?: string[];
8586
- readonly metafield_namespaces?: string[];
8587
- }
8588
-
8589
- interface WebhookForm {
8590
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
8591
- readonly address: string;
8592
- readonly format: io.flow.shopify.external.v0.enums.Format;
8593
- readonly metafield_namespaces?: string[];
8594
- }
8595
-
8596
- interface WebhookFormWrapper {
8597
- readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
8617
+ readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
8618
+ readonly fields: any /*json*/[];
8619
+ readonly metafield_namespaces: any /*json*/[];
8620
+ readonly api_version: string;
8621
+ readonly private_metafield_namespaces: any /*json*/[];
8598
8622
  }
8599
8623
 
8600
- interface WebhookResponseList {
8601
- readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
8624
+ interface ShopifyWebhookResponseWrapper {
8625
+ readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
8602
8626
  }
8603
8627
 
8604
- interface WebhookResponseSingle {
8605
- readonly webhook: io.flow.shopify.external.v0.models.Webhook;
8628
+ interface ShopifyWebhooksResponseWrapper {
8629
+ readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
8606
8630
  }
8607
8631
  }
8608
8632
 
@@ -8815,6 +8839,13 @@ declare namespace io.flow.svb.v0.models {
8815
8839
  }
8816
8840
 
8817
8841
  declare namespace io.flow.payment.gateway.v0.enums {
8842
+ type InlineWindowViewportSize =
8843
+ | 'xxx_small'
8844
+ | 'xx_small'
8845
+ | 'x_small'
8846
+ | 'small'
8847
+ | 'fullscreen'
8848
+ | 'responsive';
8818
8849
  type PaymentActionType =
8819
8850
  | 'redirect'
8820
8851
  | 'use_sdk_klarna_v1'
@@ -8863,6 +8894,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8863
8894
  readonly method: string;
8864
8895
  readonly url: string;
8865
8896
  readonly data?: any /*object*/;
8897
+ readonly window_size?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize;
8866
8898
  }
8867
8899
 
8868
8900
  interface ActionExecuteScript {
@@ -9586,7 +9618,6 @@ declare namespace io.flow.crypto.v0.models {
9586
9618
  readonly recipient: string;
9587
9619
  readonly refunded: boolean;
9588
9620
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
9589
- readonly time_window: number;
9590
9621
  }
9591
9622
 
9592
9623
  interface PaymentRequest {
@@ -12301,6 +12332,15 @@ declare namespace io.flow.internal.v0.enums {
12301
12332
  | 'csv_fallback_rate'
12302
12333
  | 'hardcoded_rate';
12303
12334
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
12335
+ type DutySelectionRule =
12336
+ | 'lookup_by_tariff_code'
12337
+ | 'lookup_by_hs6_code'
12338
+ | 'fallback_for_jurisdiction'
12339
+ | 'domestic_sale'
12340
+ | 'intra_community_sale'
12341
+ | 'reimport'
12342
+ | 'override'
12343
+ | 'preferential_rate';
12304
12344
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
12305
12345
  type EmptyAttribute = 'irrelevant';
12306
12346
  type EventType =
@@ -17168,7 +17208,7 @@ declare namespace io.flow.internal.v0.models {
17168
17208
  readonly id: string;
17169
17209
  readonly fraud_review_id: string;
17170
17210
  readonly order: io.flow.experience.v0.models.OrderReference;
17171
- readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17211
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
17172
17212
  readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
17173
17213
  readonly apply_at?: string;
17174
17214
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
@@ -17208,7 +17248,7 @@ declare namespace io.flow.internal.v0.models {
17208
17248
  readonly id: string;
17209
17249
  readonly organization_id: string;
17210
17250
  readonly order: io.flow.experience.v0.models.OrderReference;
17211
- readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17251
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
17212
17252
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
17213
17253
  readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
17214
17254
  readonly description?: string;
@@ -17223,7 +17263,7 @@ declare namespace io.flow.internal.v0.models {
17223
17263
  readonly id: string;
17224
17264
  readonly fraud_review_id: string;
17225
17265
  readonly order: io.flow.experience.v0.models.OrderReference;
17226
- readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17266
+ readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference;
17227
17267
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
17228
17268
  readonly created_at: string;
17229
17269
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
@@ -18158,6 +18198,10 @@ declare namespace io.flow.internal.v0.models {
18158
18198
  readonly url: string;
18159
18199
  }
18160
18200
 
18201
+ interface Hs6Metadata {
18202
+ readonly description: string;
18203
+ }
18204
+
18161
18205
  interface HybrisCatalogItemsImportRequest {
18162
18206
  readonly discriminator: 'hybris_catalog_items_import_request';
18163
18207
  readonly event_id: string;
@@ -19311,6 +19355,11 @@ declare namespace io.flow.internal.v0.models {
19311
19355
  readonly connected_at?: string;
19312
19356
  }
19313
19357
 
19358
+ interface MarketsOrder {
19359
+ readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
19360
+ readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
19361
+ }
19362
+
19314
19363
  interface MerchantOfRecordEntitySettings {
19315
19364
  readonly id: string;
19316
19365
  readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity;
@@ -20200,6 +20249,35 @@ declare namespace io.flow.internal.v0.models {
20200
20249
  readonly reason?: string;
20201
20250
  }
20202
20251
 
20252
+ interface RateAndRuleItem {
20253
+ readonly item_reference: string;
20254
+ readonly hs_code: string;
20255
+ readonly origin: string;
20256
+ readonly ship_from_address: io.flow.common.v0.models.Address;
20257
+ readonly duty: io.flow.price.v0.models.Duty;
20258
+ readonly tax: io.flow.price.v0.models.Tax;
20259
+ readonly duty_selection_rule: io.flow.internal.v0.enums.DutySelectionRule;
20260
+ }
20261
+
20262
+ interface RateAndRuleItemForm {
20263
+ readonly item_reference: string;
20264
+ readonly hs_code: string;
20265
+ readonly origin: string;
20266
+ readonly ship_from_address: io.flow.common.v0.models.Address;
20267
+ }
20268
+
20269
+ interface RateAndRuleLookup {
20270
+ readonly address: io.flow.common.v0.models.Address;
20271
+ readonly effective_date: string;
20272
+ readonly items: io.flow.internal.v0.models.RateAndRuleItem[];
20273
+ }
20274
+
20275
+ interface RateAndRuleLookupForm {
20276
+ readonly address: io.flow.common.v0.models.Address;
20277
+ readonly effective_date: string;
20278
+ readonly items: io.flow.internal.v0.models.RateAndRuleItemForm[];
20279
+ }
20280
+
20203
20281
  interface RateData {
20204
20282
  readonly base: string;
20205
20283
  readonly target: string;
@@ -20822,6 +20900,27 @@ declare namespace io.flow.internal.v0.models {
20822
20900
  readonly placeholder: string;
20823
20901
  }
20824
20902
 
20903
+ interface ShopifyMarketsShop {
20904
+ readonly id: string;
20905
+ readonly domain: string;
20906
+ readonly myshopify_domain: string;
20907
+ readonly organization_id: string;
20908
+ readonly shop: string;
20909
+ readonly created_at: string;
20910
+ readonly api_key_masked: string;
20911
+ readonly api_password_masked: string;
20912
+ readonly shared_secret_masked: string;
20913
+ }
20914
+
20915
+ interface ShopifyMarketsShopForm {
20916
+ readonly shop: string;
20917
+ readonly domain: string;
20918
+ readonly myshopify_domain: string;
20919
+ readonly api_key: string;
20920
+ readonly api_password: string;
20921
+ readonly shared_secret: string;
20922
+ }
20923
+
20825
20924
  interface ShopifyOrderAuthorization {
20826
20925
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
20827
20926
  readonly detail?: io.flow.internal.v0.models.ShopifyOrderDetail;
@@ -21017,27 +21116,6 @@ declare namespace io.flow.internal.v0.models {
21017
21116
  readonly topic: io.flow.shopify.external.v0.enums.Topic;
21018
21117
  }
21019
21118
 
21020
- interface ShopifyXborderShop {
21021
- readonly id: string;
21022
- readonly domain: string;
21023
- readonly myshopify_domain: string;
21024
- readonly organization_id: string;
21025
- readonly shop: string;
21026
- readonly created_at: string;
21027
- readonly api_key_masked: string;
21028
- readonly api_password_masked: string;
21029
- readonly shared_secret_masked: string;
21030
- }
21031
-
21032
- interface ShopifyXborderShopForm {
21033
- readonly shop: string;
21034
- readonly domain: string;
21035
- readonly myshopify_domain: string;
21036
- readonly api_key: string;
21037
- readonly api_password: string;
21038
- readonly shared_secret: string;
21039
- }
21040
-
21041
21119
  interface SimplifiedItemLabel {
21042
21120
  readonly discriminator: 'item';
21043
21121
  readonly item_type: string;
@@ -21784,6 +21862,17 @@ declare namespace io.flow.internal.v0.models {
21784
21862
  readonly status: io.flow.common.v0.enums.UserStatus;
21785
21863
  }
21786
21864
 
21865
+ interface UserStatusRule {
21866
+ readonly id: string;
21867
+ readonly domain: string;
21868
+ readonly status: io.flow.common.v0.enums.UserStatus;
21869
+ }
21870
+
21871
+ interface UserStatusRuleForm {
21872
+ readonly domain: string;
21873
+ readonly status: io.flow.common.v0.enums.UserStatus;
21874
+ }
21875
+
21787
21876
  interface UserUpsertedV2 {
21788
21877
  readonly discriminator: 'user_upserted_v2';
21789
21878
  readonly event_id: string;
@@ -21874,11 +21963,6 @@ declare namespace io.flow.internal.v0.models {
21874
21963
  readonly discriminator: 'whole_order_action_form';
21875
21964
  readonly action: io.flow.internal.v0.enums.OrderAction;
21876
21965
  }
21877
-
21878
- interface XborderOrder {
21879
- readonly shopify_order: io.flow.shopify.xborder.v0.models.ShopifyOrder;
21880
- readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
21881
- }
21882
21966
  }
21883
21967
 
21884
21968
  declare namespace io.flow.internal.v0.unions {
@@ -23435,6 +23519,7 @@ export type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPublished;
23435
23519
  export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
23436
23520
  export type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted;
23437
23521
  export type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
23522
+ export type DutySelectionRule = io.flow.internal.v0.enums.DutySelectionRule;
23438
23523
  export type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression;
23439
23524
  export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
23440
23525
  export type EmailForm = io.flow.internal.v0.models.EmailForm;
@@ -23649,6 +23734,7 @@ export type HeapWebsocketRequest = io.flow.internal.v0.models.HeapWebsocketReque
23649
23734
  export type HeapWebsocketResponse = io.flow.internal.v0.models.HeapWebsocketResponse;
23650
23735
  export type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
23651
23736
  export type Href = io.flow.internal.v0.models.Href;
23737
+ export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
23652
23738
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
23653
23739
  export type HybrisCatalogItemsImportRequest = io.flow.internal.v0.models.HybrisCatalogItemsImportRequest;
23654
23740
  export type HybrisCatalogItemsImportRequestData = io.flow.internal.v0.models.HybrisCatalogItemsImportRequestData;
@@ -23839,6 +23925,7 @@ export type MarketingGatewaySchemaCompatibility = io.flow.internal.v0.enums.Mark
23839
23925
  export type MarketingGatewaySchemaSummary = io.flow.internal.v0.models.MarketingGatewaySchemaSummary;
23840
23926
  export type MarketingGatewaySourceSummary = io.flow.internal.v0.unions.MarketingGatewaySourceSummary;
23841
23927
  export type MarketingGatewaySupportedChannelDetails = io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
23928
+ export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
23842
23929
  export type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
23843
23930
  export type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
23844
23931
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
@@ -23988,6 +24075,10 @@ export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
23988
24075
  export type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
23989
24076
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
23990
24077
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
24078
+ export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
24079
+ export type RateAndRuleItemForm = io.flow.internal.v0.models.RateAndRuleItemForm;
24080
+ export type RateAndRuleLookup = io.flow.internal.v0.models.RateAndRuleLookup;
24081
+ export type RateAndRuleLookupForm = io.flow.internal.v0.models.RateAndRuleLookupForm;
23991
24082
  export type RateData = io.flow.internal.v0.models.RateData;
23992
24083
  export type RateDataV3 = io.flow.internal.v0.models.RateDataV3;
23993
24084
  export type RateDeleted = io.flow.internal.v0.models.RateDeleted;
@@ -24093,6 +24184,8 @@ export type ShopifyGiftCardReversal = io.flow.internal.v0.models.ShopifyGiftCard
24093
24184
  export type ShopifyGiftCardReversalForm = io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
24094
24185
  export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
24095
24186
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
24187
+ export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
24188
+ export type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
24096
24189
  export type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;
24097
24190
  export type ShopifyOrderCancelForm = io.flow.internal.v0.models.ShopifyOrderCancelForm;
24098
24191
  export type ShopifyOrderCancelResponse = io.flow.internal.v0.models.ShopifyOrderCancelResponse;
@@ -24132,8 +24225,6 @@ export type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShopUpserted
24132
24225
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
24133
24226
  export type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
24134
24227
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
24135
- export type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
24136
- export type ShopifyXborderShopForm = io.flow.internal.v0.models.ShopifyXborderShopForm;
24137
24228
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
24138
24229
  export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
24139
24230
  export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
@@ -24252,6 +24343,8 @@ export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm
24252
24343
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
24253
24344
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
24254
24345
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
24346
+ export type UserStatusRule = io.flow.internal.v0.models.UserStatusRule;
24347
+ export type UserStatusRuleForm = io.flow.internal.v0.models.UserStatusRuleForm;
24255
24348
  export type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2;
24256
24349
  export type V1Checkout = io.flow.internal.v0.models.V1Checkout;
24257
24350
  export type V2Checkout = io.flow.internal.v0.models.V2Checkout;
@@ -24266,4 +24359,3 @@ export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.intern
24266
24359
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
24267
24360
  export type Webhook = io.flow.internal.v0.models.Webhook;
24268
24361
  export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
24269
- export type XborderOrder = io.flow.internal.v0.models.XborderOrder;