@flowio/types 7.0.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -1259,6 +1259,8 @@ declare namespace io.flow.v0.enums {
1259
1259
  | 'snapshot_upserted'
1260
1260
  | 'snapshot_deleted'
1261
1261
  | 'label_upserted'
1262
+ | 'label_deleted_v2'
1263
+ | 'label_upserted_v2'
1262
1264
  | 'notification_upserted'
1263
1265
  | 'notification_deleted'
1264
1266
  | 'manifested_label_upserted'
@@ -1360,6 +1362,7 @@ declare namespace io.flow.v0.enums {
1360
1362
  | 'customs_description_tariffs'
1361
1363
  | 'experiences_with_settings'
1362
1364
  | 'harmonization_codes'
1365
+ | 'item_prices'
1363
1366
  | 'item_form_overlays'
1364
1367
  | 'price_book_items'
1365
1368
  | 'price_book_items_query'
@@ -1628,6 +1631,7 @@ declare namespace io.flow.v0.enums {
1628
1631
 
1629
1632
  declare namespace io.flow.v0.models {
1630
1633
  interface AccountOrdersExportType {
1634
+ readonly discriminator: 'account_orders_export_type';
1631
1635
  readonly statement_id?: string;
1632
1636
  readonly transaction_summary_id?: string;
1633
1637
  readonly transaction_created_from?: string;
@@ -1645,6 +1649,7 @@ declare namespace io.flow.v0.models {
1645
1649
  }
1646
1650
 
1647
1651
  interface AccountTransactionsExportType {
1652
+ readonly discriminator: 'account_transactions_export_type';
1648
1653
  readonly statement_id?: string;
1649
1654
  readonly transaction_summary_id?: string;
1650
1655
  readonly created_from?: string;
@@ -1662,6 +1667,7 @@ declare namespace io.flow.v0.models {
1662
1667
  }
1663
1668
 
1664
1669
  interface AchAuthorizationForm {
1670
+ readonly discriminator: 'ach_authorization_form';
1665
1671
  readonly account_owner_name: string;
1666
1672
  readonly account_number: string;
1667
1673
  readonly routing_number: string;
@@ -1743,14 +1749,17 @@ declare namespace io.flow.v0.models {
1743
1749
  }
1744
1750
 
1745
1751
  interface AdyenChallengeShopperData {
1752
+ readonly discriminator: 'adyen_challenge_shopper_data';
1746
1753
  readonly challenge_token: string;
1747
1754
  }
1748
1755
 
1749
1756
  interface AdyenIdentifyShopperData {
1757
+ readonly discriminator: 'adyen_identify_shopper_data';
1750
1758
  readonly fingerprint_token: string;
1751
1759
  }
1752
1760
 
1753
1761
  interface AdyenNativeActionDetails {
1762
+ readonly discriminator: 'adyen_native_action_details';
1754
1763
  readonly origin_key?: string;
1755
1764
  readonly data?: io.flow.v0.unions.AdyenNativeData;
1756
1765
  }
@@ -1761,6 +1770,7 @@ declare namespace io.flow.v0.models {
1761
1770
  }
1762
1771
 
1763
1772
  interface AllocationDeletedV2 {
1773
+ readonly discriminator: 'allocation_deleted_v2';
1764
1774
  readonly event_id: string;
1765
1775
  readonly timestamp: string;
1766
1776
  readonly organization: string;
@@ -1768,12 +1778,14 @@ declare namespace io.flow.v0.models {
1768
1778
  }
1769
1779
 
1770
1780
  interface AllocationDetailComponent {
1781
+ readonly discriminator: 'allocation_detail_component';
1771
1782
  readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey;
1772
1783
  readonly total: io.flow.v0.models.PriceWithBase;
1773
1784
  readonly price?: io.flow.v0.models.PriceWithBase;
1774
1785
  }
1775
1786
 
1776
1787
  interface AllocationLevyComponent {
1788
+ readonly discriminator: 'allocation_levy_component';
1777
1789
  readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey;
1778
1790
  readonly total: io.flow.v0.models.PriceWithBase;
1779
1791
  readonly rate: number;
@@ -1784,6 +1796,7 @@ declare namespace io.flow.v0.models {
1784
1796
  }
1785
1797
 
1786
1798
  interface AllocationLineDetail {
1799
+ readonly discriminator: 'allocation_line_detail';
1787
1800
  readonly number: string;
1788
1801
  readonly quantity: number;
1789
1802
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
@@ -1794,6 +1807,7 @@ declare namespace io.flow.v0.models {
1794
1807
  }
1795
1808
 
1796
1809
  interface AllocationOrderDetail {
1810
+ readonly discriminator: 'allocation_order_detail';
1797
1811
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
1798
1812
  readonly total: io.flow.v0.models.PriceWithBase;
1799
1813
  readonly included: io.flow.v0.unions.AllocationComponent[];
@@ -1807,6 +1821,7 @@ declare namespace io.flow.v0.models {
1807
1821
  }
1808
1822
 
1809
1823
  interface AllocationUpsertedV2 {
1824
+ readonly discriminator: 'allocation_upserted_v2';
1810
1825
  readonly event_id: string;
1811
1826
  readonly timestamp: string;
1812
1827
  readonly organization: string;
@@ -1821,14 +1836,17 @@ declare namespace io.flow.v0.models {
1821
1836
  }
1822
1837
 
1823
1838
  interface AmountMargin {
1839
+ readonly discriminator: 'amount_margin';
1824
1840
  readonly margin: io.flow.v0.models.Price;
1825
1841
  }
1826
1842
 
1827
1843
  interface AmountMarginForm {
1844
+ readonly discriminator: 'amount_margin_form';
1828
1845
  readonly margin: io.flow.v0.models.Money;
1829
1846
  }
1830
1847
 
1831
1848
  interface AnalyticsExportType {
1849
+ readonly discriminator: 'analytics_export_type';
1832
1850
  readonly from?: string;
1833
1851
  readonly to?: string;
1834
1852
  readonly region?: string;
@@ -1836,11 +1854,13 @@ declare namespace io.flow.v0.models {
1836
1854
  }
1837
1855
 
1838
1856
  interface ApplePayMerchantValidationPayload {
1857
+ readonly discriminator: 'apple_pay_merchant_validation_payload';
1839
1858
  readonly validation_url: string;
1840
1859
  readonly display_name?: string;
1841
1860
  }
1842
1861
 
1843
1862
  interface AtCost {
1863
+ readonly discriminator: 'at_cost';
1844
1864
  readonly ignore?: string;
1845
1865
  }
1846
1866
 
@@ -1855,6 +1875,7 @@ declare namespace io.flow.v0.models {
1855
1875
  }
1856
1876
 
1857
1877
  interface AttributeDeleted {
1878
+ readonly discriminator: 'attribute_deleted';
1858
1879
  readonly event_id: string;
1859
1880
  readonly timestamp: string;
1860
1881
  readonly organization: string;
@@ -1862,6 +1883,7 @@ declare namespace io.flow.v0.models {
1862
1883
  }
1863
1884
 
1864
1885
  interface AttributeDeletedV2 {
1886
+ readonly discriminator: 'attribute_deleted_v2';
1865
1887
  readonly event_id: string;
1866
1888
  readonly timestamp: string;
1867
1889
  readonly organization: string;
@@ -1878,6 +1900,7 @@ declare namespace io.flow.v0.models {
1878
1900
  }
1879
1901
 
1880
1902
  interface AttributeUpserted {
1903
+ readonly discriminator: 'attribute_upserted';
1881
1904
  readonly event_id: string;
1882
1905
  readonly timestamp: string;
1883
1906
  readonly organization: string;
@@ -1888,6 +1911,7 @@ declare namespace io.flow.v0.models {
1888
1911
  }
1889
1912
 
1890
1913
  interface AttributeUpsertedV2 {
1914
+ readonly discriminator: 'attribute_upserted_v2';
1891
1915
  readonly event_id: string;
1892
1916
  readonly timestamp: string;
1893
1917
  readonly organization: string;
@@ -1907,6 +1931,7 @@ declare namespace io.flow.v0.models {
1907
1931
  }
1908
1932
 
1909
1933
  interface AuthorizationCopyForm {
1934
+ readonly discriminator: 'authorization_copy_form';
1910
1935
  readonly source_authorization_key: string;
1911
1936
  readonly amount: number;
1912
1937
  readonly currency: string;
@@ -1916,6 +1941,7 @@ declare namespace io.flow.v0.models {
1916
1941
  }
1917
1942
 
1918
1943
  interface AuthorizationDeletedV2 {
1944
+ readonly discriminator: 'authorization_deleted_v2';
1919
1945
  readonly event_id: string;
1920
1946
  readonly timestamp: string;
1921
1947
  readonly organization: string;
@@ -1954,18 +1980,21 @@ declare namespace io.flow.v0.models {
1954
1980
  }
1955
1981
 
1956
1982
  interface AuthorizationResultActionGet {
1983
+ readonly discriminator: 'authorization_result_action_get';
1957
1984
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1958
1985
  readonly url?: string;
1959
1986
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1960
1987
  }
1961
1988
 
1962
1989
  interface AuthorizationResultActionNative {
1990
+ readonly discriminator: 'authorization_result_action_native';
1963
1991
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1964
1992
  readonly authorization: io.flow.v0.models.AuthorizationReference;
1965
1993
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1966
1994
  }
1967
1995
 
1968
1996
  interface AuthorizationResultActionPost {
1997
+ readonly discriminator: 'authorization_result_action_post';
1969
1998
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1970
1999
  readonly url: string;
1971
2000
  readonly parameters: {
@@ -1974,6 +2003,7 @@ declare namespace io.flow.v0.models {
1974
2003
  }
1975
2004
 
1976
2005
  interface AuthorizationResultActionWait {
2006
+ readonly discriminator: 'authorization_result_action_wait';
1977
2007
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1978
2008
  }
1979
2009
 
@@ -1982,6 +2012,7 @@ declare namespace io.flow.v0.models {
1982
2012
  }
1983
2013
 
1984
2014
  interface AuthorizationStatusChanged {
2015
+ readonly discriminator: 'authorization_status_changed';
1985
2016
  readonly event_id: string;
1986
2017
  readonly timestamp: string;
1987
2018
  readonly organization: string;
@@ -1997,6 +2028,7 @@ declare namespace io.flow.v0.models {
1997
2028
  }
1998
2029
 
1999
2030
  interface AvailableFilterStructured {
2031
+ readonly discriminator: 'structured';
2000
2032
  readonly field: string;
2001
2033
  readonly operators: string[];
2002
2034
  readonly format: io.flow.v0.enums.AvailableFilterFormat;
@@ -2005,6 +2037,7 @@ declare namespace io.flow.v0.models {
2005
2037
  }
2006
2038
 
2007
2039
  interface AvailableFilterUnstructured {
2040
+ readonly discriminator: 'unstructured';
2008
2041
  readonly placeholder?: string;
2009
2042
  }
2010
2043
 
@@ -2016,6 +2049,7 @@ declare namespace io.flow.v0.models {
2016
2049
  }
2017
2050
 
2018
2051
  interface AvailablePromotionsDeleted {
2052
+ readonly discriminator: 'available_promotions_deleted';
2019
2053
  readonly event_id: string;
2020
2054
  readonly timestamp: string;
2021
2055
  readonly organization: string;
@@ -2023,6 +2057,7 @@ declare namespace io.flow.v0.models {
2023
2057
  }
2024
2058
 
2025
2059
  interface AvailablePromotionsDeletedV2 {
2060
+ readonly discriminator: 'available_promotions_deleted_v2';
2026
2061
  readonly event_id: string;
2027
2062
  readonly timestamp: string;
2028
2063
  readonly organization: string;
@@ -2030,6 +2065,7 @@ declare namespace io.flow.v0.models {
2030
2065
  }
2031
2066
 
2032
2067
  interface AvailablePromotionsUpserted {
2068
+ readonly discriminator: 'available_promotions_upserted';
2033
2069
  readonly event_id: string;
2034
2070
  readonly timestamp: string;
2035
2071
  readonly organization: string;
@@ -2040,6 +2076,7 @@ declare namespace io.flow.v0.models {
2040
2076
  }
2041
2077
 
2042
2078
  interface AvailablePromotionsUpsertedV2 {
2079
+ readonly discriminator: 'available_promotions_upserted_v2';
2043
2080
  readonly event_id: string;
2044
2081
  readonly timestamp: string;
2045
2082
  readonly organization: string;
@@ -2053,12 +2090,14 @@ declare namespace io.flow.v0.models {
2053
2090
  }
2054
2091
 
2055
2092
  interface AvalaraTaxCsvSetting {
2093
+ readonly discriminator: 'avalara_tax_csv_setting';
2056
2094
  readonly schedule: io.flow.v0.unions.RepeatSchedule;
2057
2095
  readonly timezone: string;
2058
2096
  readonly email_recipients?: string[];
2059
2097
  }
2060
2098
 
2061
2099
  interface AvalaraTaxSetting {
2100
+ readonly discriminator: 'avalara_tax_setting';
2062
2101
  readonly company_code: string;
2063
2102
  readonly base_currency: string;
2064
2103
  readonly api_key?: string;
@@ -2089,6 +2128,7 @@ declare namespace io.flow.v0.models {
2089
2128
  }
2090
2129
 
2091
2130
  interface B2BCreditMemoDeleted {
2131
+ readonly discriminator: 'b2b_credit_memo_deleted';
2092
2132
  readonly event_id: string;
2093
2133
  readonly timestamp: string;
2094
2134
  readonly organization: string;
@@ -2096,6 +2136,7 @@ declare namespace io.flow.v0.models {
2096
2136
  }
2097
2137
 
2098
2138
  interface B2BCreditMemoUpserted {
2139
+ readonly discriminator: 'b2b_credit_memo_upserted';
2099
2140
  readonly event_id: string;
2100
2141
  readonly timestamp: string;
2101
2142
  readonly organization: string;
@@ -2123,6 +2164,7 @@ declare namespace io.flow.v0.models {
2123
2164
  }
2124
2165
 
2125
2166
  interface B2BInvoiceDeleted {
2167
+ readonly discriminator: 'b2b_invoice_deleted';
2126
2168
  readonly event_id: string;
2127
2169
  readonly timestamp: string;
2128
2170
  readonly organization: string;
@@ -2136,6 +2178,7 @@ declare namespace io.flow.v0.models {
2136
2178
  }
2137
2179
 
2138
2180
  interface B2BInvoiceUpserted {
2181
+ readonly discriminator: 'b2b_invoice_upserted';
2139
2182
  readonly event_id: string;
2140
2183
  readonly timestamp: string;
2141
2184
  readonly organization: string;
@@ -2165,6 +2208,7 @@ declare namespace io.flow.v0.models {
2165
2208
  }
2166
2209
 
2167
2210
  interface BrowseOptinResponsesDeleted {
2211
+ readonly discriminator: 'browse_optin_responses_deleted';
2168
2212
  readonly event_id: string;
2169
2213
  readonly timestamp: string;
2170
2214
  readonly organization: string;
@@ -2172,6 +2216,7 @@ declare namespace io.flow.v0.models {
2172
2216
  }
2173
2217
 
2174
2218
  interface BrowseOptinResponsesUpserted {
2219
+ readonly discriminator: 'browse_optin_responses_upserted';
2175
2220
  readonly event_id: string;
2176
2221
  readonly timestamp: string;
2177
2222
  readonly organization: string;
@@ -2206,6 +2251,7 @@ declare namespace io.flow.v0.models {
2206
2251
  }
2207
2252
 
2208
2253
  interface CaptureDeleted {
2254
+ readonly discriminator: 'capture_deleted';
2209
2255
  readonly event_id: string;
2210
2256
  readonly timestamp: string;
2211
2257
  readonly organization: string;
@@ -2237,6 +2283,7 @@ declare namespace io.flow.v0.models {
2237
2283
  }
2238
2284
 
2239
2285
  interface CaptureIdentifierDeleted {
2286
+ readonly discriminator: 'capture_identifier_deleted';
2240
2287
  readonly event_id: string;
2241
2288
  readonly timestamp: string;
2242
2289
  readonly organization: string;
@@ -2244,6 +2291,7 @@ declare namespace io.flow.v0.models {
2244
2291
  }
2245
2292
 
2246
2293
  interface CaptureIdentifierUpserted {
2294
+ readonly discriminator: 'capture_identifier_upserted';
2247
2295
  readonly event_id: string;
2248
2296
  readonly timestamp: string;
2249
2297
  readonly organization: string;
@@ -2256,6 +2304,7 @@ declare namespace io.flow.v0.models {
2256
2304
  }
2257
2305
 
2258
2306
  interface CaptureUpsertedV2 {
2307
+ readonly discriminator: 'capture_upserted_v2';
2259
2308
  readonly event_id: string;
2260
2309
  readonly timestamp: string;
2261
2310
  readonly organization: string;
@@ -2271,6 +2320,7 @@ declare namespace io.flow.v0.models {
2271
2320
  }
2272
2321
 
2273
2322
  interface Card {
2323
+ readonly discriminator: 'card';
2274
2324
  readonly id: string;
2275
2325
  readonly token: string;
2276
2326
  readonly type: io.flow.v0.enums.CardType;
@@ -2283,6 +2333,7 @@ declare namespace io.flow.v0.models {
2283
2333
  }
2284
2334
 
2285
2335
  interface CardAuthorization {
2336
+ readonly discriminator: 'card_authorization';
2286
2337
  readonly id: string;
2287
2338
  readonly key: string;
2288
2339
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
@@ -2306,6 +2357,7 @@ declare namespace io.flow.v0.models {
2306
2357
  }
2307
2358
 
2308
2359
  interface CardAuthorizationDeletedV2 {
2360
+ readonly discriminator: 'card_authorization_deleted_v2';
2309
2361
  readonly event_id: string;
2310
2362
  readonly timestamp: string;
2311
2363
  readonly organization: string;
@@ -2313,6 +2365,7 @@ declare namespace io.flow.v0.models {
2313
2365
  }
2314
2366
 
2315
2367
  interface CardAuthorizationUpsertedV2 {
2368
+ readonly discriminator: 'card_authorization_upserted_v2';
2316
2369
  readonly event_id: string;
2317
2370
  readonly timestamp: string;
2318
2371
  readonly organization: string;
@@ -2321,6 +2374,7 @@ declare namespace io.flow.v0.models {
2321
2374
  }
2322
2375
 
2323
2376
  interface CardDeleted {
2377
+ readonly discriminator: 'card_deleted';
2324
2378
  readonly event_id: string;
2325
2379
  readonly timestamp: string;
2326
2380
  readonly organization: string;
@@ -2360,12 +2414,14 @@ declare namespace io.flow.v0.models {
2360
2414
  }
2361
2415
 
2362
2416
  interface CardPaymentSource {
2417
+ readonly discriminator: 'card_payment_source';
2363
2418
  readonly id: string;
2364
2419
  readonly actions?: io.flow.v0.models.PaymentSourceConfirmationAction[];
2365
2420
  readonly summary: io.flow.v0.models.CardPaymentSourceSummary;
2366
2421
  }
2367
2422
 
2368
2423
  interface CardPaymentSourceAuthorizationForm {
2424
+ readonly discriminator: 'card_payment_source_authorization_form';
2369
2425
  readonly key?: string;
2370
2426
  readonly card_payment_source_id: string;
2371
2427
  readonly order_number: string;
@@ -2375,6 +2431,7 @@ declare namespace io.flow.v0.models {
2375
2431
  }
2376
2432
 
2377
2433
  interface CardPaymentSourceForm {
2434
+ readonly discriminator: 'card_payment_source_form';
2378
2435
  readonly customer_number: string;
2379
2436
  readonly card_id: string;
2380
2437
  }
@@ -2385,11 +2442,13 @@ declare namespace io.flow.v0.models {
2385
2442
  }
2386
2443
 
2387
2444
  interface CardReference {
2445
+ readonly discriminator: 'card_reference';
2388
2446
  readonly id: string;
2389
2447
  readonly token: string;
2390
2448
  }
2391
2449
 
2392
2450
  interface CardSummary {
2451
+ readonly discriminator: 'card_summary';
2393
2452
  readonly id: string;
2394
2453
  readonly type: io.flow.v0.enums.CardType;
2395
2454
  readonly expiration: io.flow.v0.models.Expiration;
@@ -2405,6 +2464,7 @@ declare namespace io.flow.v0.models {
2405
2464
  }
2406
2465
 
2407
2466
  interface CardUpsertedV2 {
2467
+ readonly discriminator: 'card_upserted_v2';
2408
2468
  readonly event_id: string;
2409
2469
  readonly timestamp: string;
2410
2470
  readonly organization: string;
@@ -2444,6 +2504,7 @@ declare namespace io.flow.v0.models {
2444
2504
  }
2445
2505
 
2446
2506
  interface CatalogDeleted {
2507
+ readonly discriminator: 'catalog_deleted';
2447
2508
  readonly event_id: string;
2448
2509
  readonly timestamp: string;
2449
2510
  readonly organization: string;
@@ -2451,6 +2512,7 @@ declare namespace io.flow.v0.models {
2451
2512
  }
2452
2513
 
2453
2514
  interface CatalogItemDeleted {
2515
+ readonly discriminator: 'catalog_item_deleted';
2454
2516
  readonly event_id: string;
2455
2517
  readonly timestamp: string;
2456
2518
  readonly organization: string;
@@ -2459,6 +2521,7 @@ declare namespace io.flow.v0.models {
2459
2521
  }
2460
2522
 
2461
2523
  interface CatalogItemDeletedV2 {
2524
+ readonly discriminator: 'catalog_item_deleted_v2';
2462
2525
  readonly event_id: string;
2463
2526
  readonly timestamp: string;
2464
2527
  readonly organization: string;
@@ -2466,6 +2529,7 @@ declare namespace io.flow.v0.models {
2466
2529
  }
2467
2530
 
2468
2531
  interface CatalogItemDocument {
2532
+ readonly discriminator: 'catalog_item_document';
2469
2533
  readonly number: string;
2470
2534
  readonly name: string;
2471
2535
  readonly categories: string[];
@@ -2481,6 +2545,7 @@ declare namespace io.flow.v0.models {
2481
2545
  }
2482
2546
 
2483
2547
  interface CatalogItemExportType {
2548
+ readonly discriminator: 'catalog_item_export_type';
2484
2549
  readonly numbers?: string[];
2485
2550
  readonly q?: string;
2486
2551
  readonly sort?: string;
@@ -2500,6 +2565,7 @@ declare namespace io.flow.v0.models {
2500
2565
  }
2501
2566
 
2502
2567
  interface CatalogItemUpserted {
2568
+ readonly discriminator: 'catalog_item_upserted';
2503
2569
  readonly event_id: string;
2504
2570
  readonly timestamp: string;
2505
2571
  readonly organization: string;
@@ -2523,6 +2589,7 @@ declare namespace io.flow.v0.models {
2523
2589
  }
2524
2590
 
2525
2591
  interface CatalogItemUpsertedV2 {
2592
+ readonly discriminator: 'catalog_item_upserted_v2';
2526
2593
  readonly event_id: string;
2527
2594
  readonly timestamp: string;
2528
2595
  readonly organization: string;
@@ -2548,6 +2615,7 @@ declare namespace io.flow.v0.models {
2548
2615
  }
2549
2616
 
2550
2617
  interface CatalogUpserted {
2618
+ readonly discriminator: 'catalog_upserted';
2551
2619
  readonly event_id: string;
2552
2620
  readonly timestamp: string;
2553
2621
  readonly organization: string;
@@ -2567,6 +2635,7 @@ declare namespace io.flow.v0.models {
2567
2635
  }
2568
2636
 
2569
2637
  interface Center {
2638
+ readonly discriminator: 'center';
2570
2639
  readonly id: string;
2571
2640
  readonly key: string;
2572
2641
  readonly address: io.flow.v0.models.ShippingAddress;
@@ -2580,6 +2649,7 @@ declare namespace io.flow.v0.models {
2580
2649
  }
2581
2650
 
2582
2651
  interface CenterDeleted {
2652
+ readonly discriminator: 'center_deleted';
2583
2653
  readonly event_id: string;
2584
2654
  readonly timestamp: string;
2585
2655
  readonly organization: string;
@@ -2603,6 +2673,7 @@ declare namespace io.flow.v0.models {
2603
2673
  }
2604
2674
 
2605
2675
  interface CenterReference {
2676
+ readonly discriminator: 'center_reference';
2606
2677
  readonly organization_id: string;
2607
2678
  readonly center_key: string;
2608
2679
  }
@@ -2614,6 +2685,7 @@ declare namespace io.flow.v0.models {
2614
2685
  }
2615
2686
 
2616
2687
  interface CenterUpserted {
2688
+ readonly discriminator: 'center_upserted';
2617
2689
  readonly event_id: string;
2618
2690
  readonly timestamp: string;
2619
2691
  readonly organization: string;
@@ -2666,6 +2738,7 @@ declare namespace io.flow.v0.models {
2666
2738
  }
2667
2739
 
2668
2740
  interface CheckoutOptinResponsesDeleted {
2741
+ readonly discriminator: 'checkout_optin_responses_deleted';
2669
2742
  readonly event_id: string;
2670
2743
  readonly timestamp: string;
2671
2744
  readonly organization: string;
@@ -2673,6 +2746,7 @@ declare namespace io.flow.v0.models {
2673
2746
  }
2674
2747
 
2675
2748
  interface CheckoutOptinResponsesUpserted {
2749
+ readonly discriminator: 'checkout_optin_responses_upserted';
2676
2750
  readonly event_id: string;
2677
2751
  readonly timestamp: string;
2678
2752
  readonly organization: string;
@@ -2699,6 +2773,7 @@ declare namespace io.flow.v0.models {
2699
2773
  }
2700
2774
 
2701
2775
  interface CheckoutTokenOrderForm {
2776
+ readonly discriminator: 'checkout_token_order_form';
2702
2777
  readonly order_form: io.flow.v0.models.OrderForm;
2703
2778
  readonly customer?: io.flow.v0.models.CustomerForm;
2704
2779
  readonly address_book?: io.flow.v0.models.CustomerAddressBookForm;
@@ -2709,6 +2784,7 @@ declare namespace io.flow.v0.models {
2709
2784
  }
2710
2785
 
2711
2786
  interface CheckoutTokenReferenceForm {
2787
+ readonly discriminator: 'checkout_token_reference_form';
2712
2788
  readonly order_number: string;
2713
2789
  readonly session_id: string;
2714
2790
  readonly urls: io.flow.v0.models.CheckoutUrlsForm;
@@ -2731,6 +2807,7 @@ declare namespace io.flow.v0.models {
2731
2807
  }
2732
2808
 
2733
2809
  interface CommercialInvoiceFee {
2810
+ readonly discriminator: 'commercial_invoice_fee';
2734
2811
  readonly amount: io.flow.v0.models.Money;
2735
2812
  }
2736
2813
 
@@ -2763,6 +2840,7 @@ declare namespace io.flow.v0.models {
2763
2840
  }
2764
2841
 
2765
2842
  interface ConsumerInvoiceDeleted {
2843
+ readonly discriminator: 'consumer_invoice_deleted';
2766
2844
  readonly event_id: string;
2767
2845
  readonly timestamp: string;
2768
2846
  readonly organization: string;
@@ -2799,14 +2877,17 @@ declare namespace io.flow.v0.models {
2799
2877
  }
2800
2878
 
2801
2879
  interface ConsumerInvoiceLineDiscount {
2880
+ readonly discriminator: 'discount';
2802
2881
  readonly price: io.flow.v0.models.Price;
2803
2882
  }
2804
2883
 
2805
2884
  interface ConsumerInvoiceLineDiscountForm {
2885
+ readonly discriminator: 'discount';
2806
2886
  readonly price: number;
2807
2887
  }
2808
2888
 
2809
2889
  interface ConsumerInvoiceLineItem {
2890
+ readonly discriminator: 'item';
2810
2891
  readonly item: io.flow.v0.models.ItemReference;
2811
2892
  readonly description: string;
2812
2893
  readonly quantity: number;
@@ -2817,6 +2898,7 @@ declare namespace io.flow.v0.models {
2817
2898
  }
2818
2899
 
2819
2900
  interface ConsumerInvoiceLineItemForm {
2901
+ readonly discriminator: 'item';
2820
2902
  readonly item_number: string;
2821
2903
  readonly quantity: number;
2822
2904
  readonly unit_price: number;
@@ -2826,6 +2908,7 @@ declare namespace io.flow.v0.models {
2826
2908
  }
2827
2909
 
2828
2910
  interface ConsumerInvoiceLineShipping {
2911
+ readonly discriminator: 'shipping';
2829
2912
  readonly price: io.flow.v0.models.Price;
2830
2913
  readonly discount?: io.flow.v0.models.Price;
2831
2914
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
@@ -2833,6 +2916,7 @@ declare namespace io.flow.v0.models {
2833
2916
  }
2834
2917
 
2835
2918
  interface ConsumerInvoiceLineShippingForm {
2919
+ readonly discriminator: 'shipping';
2836
2920
  readonly price: number;
2837
2921
  readonly discount?: number;
2838
2922
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
@@ -2859,6 +2943,7 @@ declare namespace io.flow.v0.models {
2859
2943
  }
2860
2944
 
2861
2945
  interface ConsumerInvoiceUpserted {
2946
+ readonly discriminator: 'consumer_invoice_upserted';
2862
2947
  readonly event_id: string;
2863
2948
  readonly timestamp: string;
2864
2949
  readonly organization: string;
@@ -2927,6 +3012,7 @@ declare namespace io.flow.v0.models {
2927
3012
  }
2928
3013
 
2929
3014
  interface CreditMemoDeleted {
3015
+ readonly discriminator: 'credit_memo_deleted';
2930
3016
  readonly event_id: string;
2931
3017
  readonly timestamp: string;
2932
3018
  readonly organization: string;
@@ -2944,6 +3030,7 @@ declare namespace io.flow.v0.models {
2944
3030
  }
2945
3031
 
2946
3032
  interface CreditMemoUpserted {
3033
+ readonly discriminator: 'credit_memo_upserted';
2947
3034
  readonly event_id: string;
2948
3035
  readonly timestamp: string;
2949
3036
  readonly organization: string;
@@ -2987,6 +3074,7 @@ declare namespace io.flow.v0.models {
2987
3074
  }
2988
3075
 
2989
3076
  interface CrossdockRatecardFee {
3077
+ readonly discriminator: 'crossdock_ratecard_fee';
2990
3078
  readonly amount: io.flow.v0.models.Money;
2991
3079
  }
2992
3080
 
@@ -2999,6 +3087,7 @@ declare namespace io.flow.v0.models {
2999
3087
  }
3000
3088
 
3001
3089
  interface CrossdockShipmentUpserted {
3090
+ readonly discriminator: 'crossdock_shipment_upserted';
3002
3091
  readonly event_id: string;
3003
3092
  readonly timestamp: string;
3004
3093
  readonly organization: string;
@@ -3032,6 +3121,7 @@ declare namespace io.flow.v0.models {
3032
3121
  }
3033
3122
 
3034
3123
  interface CurrencyFormatDeleted {
3124
+ readonly discriminator: 'currency_format_deleted';
3035
3125
  readonly event_id: string;
3036
3126
  readonly timestamp: string;
3037
3127
  readonly organization: string;
@@ -3039,6 +3129,7 @@ declare namespace io.flow.v0.models {
3039
3129
  }
3040
3130
 
3041
3131
  interface CurrencyFormatUpserted {
3132
+ readonly discriminator: 'currency_format_upserted';
3042
3133
  readonly event_id: string;
3043
3134
  readonly timestamp: string;
3044
3135
  readonly organization: string;
@@ -3073,6 +3164,7 @@ declare namespace io.flow.v0.models {
3073
3164
  }
3074
3165
 
3075
3166
  interface CustomerAddressBookContactDeleted {
3167
+ readonly discriminator: 'customer_address_book_contact_deleted';
3076
3168
  readonly event_id: string;
3077
3169
  readonly timestamp: string;
3078
3170
  readonly organization: string;
@@ -3086,6 +3178,7 @@ declare namespace io.flow.v0.models {
3086
3178
  }
3087
3179
 
3088
3180
  interface CustomerAddressBookContactUpserted {
3181
+ readonly discriminator: 'customer_address_book_contact_upserted';
3089
3182
  readonly event_id: string;
3090
3183
  readonly timestamp: string;
3091
3184
  readonly organization: string;
@@ -3106,6 +3199,7 @@ declare namespace io.flow.v0.models {
3106
3199
  }
3107
3200
 
3108
3201
  interface CustomerDeleted {
3202
+ readonly discriminator: 'customer_deleted';
3109
3203
  readonly event_id: string;
3110
3204
  readonly timestamp: string;
3111
3205
  readonly organization: string;
@@ -3156,6 +3250,7 @@ declare namespace io.flow.v0.models {
3156
3250
  }
3157
3251
 
3158
3252
  interface CustomerUpserted {
3253
+ readonly discriminator: 'customer_upserted';
3159
3254
  readonly event_id: string;
3160
3255
  readonly timestamp: string;
3161
3256
  readonly organization: string;
@@ -3173,6 +3268,7 @@ declare namespace io.flow.v0.models {
3173
3268
  }
3174
3269
 
3175
3270
  interface DdpRatecardFee {
3271
+ readonly discriminator: 'ddp_ratecard_fee';
3176
3272
  readonly amount: number;
3177
3273
  }
3178
3274
 
@@ -3289,12 +3385,14 @@ declare namespace io.flow.v0.models {
3289
3385
  }
3290
3386
 
3291
3387
  interface DeminimisPerItem {
3388
+ readonly discriminator: 'deminimis_per_item';
3292
3389
  readonly currency: string;
3293
3390
  readonly minimum?: number;
3294
3391
  readonly maximum?: number;
3295
3392
  }
3296
3393
 
3297
3394
  interface DeminimisSimple {
3395
+ readonly discriminator: 'deminimis_simple';
3298
3396
  readonly value?: number;
3299
3397
  readonly currency: string;
3300
3398
  readonly components: io.flow.v0.enums.LevyComponent[];
@@ -3302,6 +3400,7 @@ declare namespace io.flow.v0.models {
3302
3400
  }
3303
3401
 
3304
3402
  interface DetailedShippingLabelForm {
3403
+ readonly discriminator: 'detailed_shipping_label_form';
3305
3404
  readonly destination: io.flow.v0.models.ShippingAddress;
3306
3405
  readonly origin: io.flow.v0.models.ShippingAddress;
3307
3406
  readonly package: io.flow.v0.models.ShippingLabelPackage;
@@ -3316,6 +3415,7 @@ declare namespace io.flow.v0.models {
3316
3415
  }
3317
3416
 
3318
3417
  interface DetailedShippingNotificationForm {
3418
+ readonly discriminator: 'detailed_shipping_notification_form';
3319
3419
  readonly key?: string;
3320
3420
  readonly attributes?: {
3321
3421
  [key: string]: string;
@@ -3330,6 +3430,7 @@ declare namespace io.flow.v0.models {
3330
3430
  }
3331
3431
 
3332
3432
  interface DigitalDelivery {
3433
+ readonly discriminator: 'digital_delivery';
3333
3434
  readonly id: string;
3334
3435
  readonly key?: string;
3335
3436
  readonly items: io.flow.v0.models.DeliveryItem[];
@@ -3371,6 +3472,7 @@ declare namespace io.flow.v0.models {
3371
3472
  }
3372
3473
 
3373
3474
  interface DirectAuthorizationForm {
3475
+ readonly discriminator: 'direct_authorization_form';
3374
3476
  readonly token: string;
3375
3477
  readonly amount: number;
3376
3478
  readonly currency: string;
@@ -3389,11 +3491,13 @@ declare namespace io.flow.v0.models {
3389
3491
  }
3390
3492
 
3391
3493
  interface DirectDebit {
3494
+ readonly discriminator: 'direct_debit';
3392
3495
  readonly routing_number: string;
3393
3496
  readonly last4: string;
3394
3497
  }
3395
3498
 
3396
3499
  interface Discount {
3500
+ readonly discriminator: 'discount';
3397
3501
  readonly id: string;
3398
3502
  readonly code?: string;
3399
3503
  readonly label: string;
@@ -3410,10 +3514,12 @@ declare namespace io.flow.v0.models {
3410
3514
  }
3411
3515
 
3412
3516
  interface DiscountOfferFixed {
3517
+ readonly discriminator: 'discount_offer_fixed';
3413
3518
  readonly money: io.flow.v0.models.Money;
3414
3519
  }
3415
3520
 
3416
3521
  interface DiscountOfferPercent {
3522
+ readonly discriminator: 'discount_offer_percent';
3417
3523
  readonly percent: number;
3418
3524
  }
3419
3525
 
@@ -3440,6 +3546,7 @@ declare namespace io.flow.v0.models {
3440
3546
  }
3441
3547
 
3442
3548
  interface EcommercePlatformDeleted {
3549
+ readonly discriminator: 'ecommerce_platform_deleted';
3443
3550
  readonly event_id: string;
3444
3551
  readonly timestamp: string;
3445
3552
  readonly organization: string;
@@ -3452,6 +3559,7 @@ declare namespace io.flow.v0.models {
3452
3559
  }
3453
3560
 
3454
3561
  interface EcommercePlatformUpserted {
3562
+ readonly discriminator: 'ecommerce_platform_upserted';
3455
3563
  readonly event_id: string;
3456
3564
  readonly timestamp: string;
3457
3565
  readonly organization: string;
@@ -3466,12 +3574,14 @@ declare namespace io.flow.v0.models {
3466
3574
  }
3467
3575
 
3468
3576
  interface EmailNotificationDataRefund {
3577
+ readonly discriminator: 'refund';
3469
3578
  readonly order: io.flow.v0.models.OrderSummary;
3470
3579
  readonly return: io.flow.v0.models.OrderSummary;
3471
3580
  readonly payment: io.flow.v0.models.EmailPaymentSummary;
3472
3581
  }
3473
3582
 
3474
3583
  interface EmailNotificationDeleted {
3584
+ readonly discriminator: 'email_notification_deleted';
3475
3585
  readonly event_id: string;
3476
3586
  readonly timestamp: string;
3477
3587
  readonly organization: string;
@@ -3485,6 +3595,7 @@ declare namespace io.flow.v0.models {
3485
3595
  }
3486
3596
 
3487
3597
  interface EmailNotificationUpserted {
3598
+ readonly discriminator: 'email_notification_upserted';
3488
3599
  readonly event_id: string;
3489
3600
  readonly timestamp: string;
3490
3601
  readonly organization: string;
@@ -3551,6 +3662,7 @@ declare namespace io.flow.v0.models {
3551
3662
  }
3552
3663
 
3553
3664
  interface Experience {
3665
+ readonly discriminator: 'experience';
3554
3666
  readonly id: string;
3555
3667
  readonly key: string;
3556
3668
  readonly name: string;
@@ -3612,6 +3724,7 @@ declare namespace io.flow.v0.models {
3612
3724
  }
3613
3725
 
3614
3726
  interface ExperienceDeleted {
3727
+ readonly discriminator: 'experience_deleted';
3615
3728
  readonly event_id: string;
3616
3729
  readonly timestamp: string;
3617
3730
  readonly organization: string;
@@ -3620,6 +3733,7 @@ declare namespace io.flow.v0.models {
3620
3733
  }
3621
3734
 
3622
3735
  interface ExperienceDeletedV2 {
3736
+ readonly discriminator: 'experience_deleted_v2';
3623
3737
  readonly event_id: string;
3624
3738
  readonly timestamp: string;
3625
3739
  readonly organization: string;
@@ -3627,6 +3741,7 @@ declare namespace io.flow.v0.models {
3627
3741
  }
3628
3742
 
3629
3743
  interface ExperienceExportType {
3744
+ readonly discriminator: 'experience_export_type';
3630
3745
  readonly organization_id: string;
3631
3746
  readonly ids?: string[];
3632
3747
  readonly keys?: string[];
@@ -3661,6 +3776,7 @@ declare namespace io.flow.v0.models {
3661
3776
  }
3662
3777
 
3663
3778
  interface ExperienceLogisticsSettingsDeleted {
3779
+ readonly discriminator: 'experience_logistics_settings_deleted';
3664
3780
  readonly event_id: string;
3665
3781
  readonly timestamp: string;
3666
3782
  readonly organization: string;
@@ -3672,6 +3788,7 @@ declare namespace io.flow.v0.models {
3672
3788
  }
3673
3789
 
3674
3790
  interface ExperienceLogisticsSettingsUpserted {
3791
+ readonly discriminator: 'experience_logistics_settings_upserted';
3675
3792
  readonly event_id: string;
3676
3793
  readonly timestamp: string;
3677
3794
  readonly organization: string;
@@ -3710,6 +3827,7 @@ declare namespace io.flow.v0.models {
3710
3827
  }
3711
3828
 
3712
3829
  interface ExperiencePriceBookMappingDeleted {
3830
+ readonly discriminator: 'experience_price_book_mapping_deleted';
3713
3831
  readonly event_id: string;
3714
3832
  readonly timestamp: string;
3715
3833
  readonly organization: string;
@@ -3726,6 +3844,7 @@ declare namespace io.flow.v0.models {
3726
3844
  }
3727
3845
 
3728
3846
  interface ExperiencePriceBookMappingUpserted {
3847
+ readonly discriminator: 'experience_price_book_mapping_upserted';
3729
3848
  readonly event_id: string;
3730
3849
  readonly timestamp: string;
3731
3850
  readonly organization: string;
@@ -3764,6 +3883,7 @@ declare namespace io.flow.v0.models {
3764
3883
  }
3765
3884
 
3766
3885
  interface ExperienceReference {
3886
+ readonly discriminator: 'experience_reference';
3767
3887
  readonly key: string;
3768
3888
  }
3769
3889
 
@@ -3788,6 +3908,7 @@ declare namespace io.flow.v0.models {
3788
3908
  }
3789
3909
 
3790
3910
  interface ExperienceUpserted {
3911
+ readonly discriminator: 'experience_upserted';
3791
3912
  readonly event_id: string;
3792
3913
  readonly timestamp: string;
3793
3914
  readonly organization: string;
@@ -3805,6 +3926,7 @@ declare namespace io.flow.v0.models {
3805
3926
  }
3806
3927
 
3807
3928
  interface ExperienceUpsertedV2 {
3929
+ readonly discriminator: 'experience_upserted_v2';
3808
3930
  readonly event_id: string;
3809
3931
  readonly timestamp: string;
3810
3932
  readonly organization: string;
@@ -3836,6 +3958,7 @@ declare namespace io.flow.v0.models {
3836
3958
  }
3837
3959
 
3838
3960
  interface ExportDeliveryEmail {
3961
+ readonly discriminator: 'export_delivery_email';
3839
3962
  readonly email: string;
3840
3963
  }
3841
3964
 
@@ -3870,31 +3993,38 @@ declare namespace io.flow.v0.models {
3870
3993
  }
3871
3994
 
3872
3995
  interface ExternalApiTimeoutReservationError {
3996
+ readonly code: 'external_api_timeout';
3873
3997
  readonly messages: string[];
3874
3998
  }
3875
3999
 
3876
4000
  interface FieldValidationMax {
4001
+ readonly discriminator: 'max';
3877
4002
  readonly length: number;
3878
4003
  }
3879
4004
 
3880
4005
  interface FieldValidationMin {
4006
+ readonly discriminator: 'min';
3881
4007
  readonly length: number;
3882
4008
  }
3883
4009
 
3884
4010
  interface FieldValidationPattern {
4011
+ readonly discriminator: 'pattern';
3885
4012
  readonly pattern: string;
3886
4013
  }
3887
4014
 
3888
4015
  interface FieldValidationRequired {
4016
+ readonly discriminator: 'required';
3889
4017
  readonly unused: string;
3890
4018
  }
3891
4019
 
3892
4020
  interface FlatRate {
4021
+ readonly discriminator: 'flat_rate';
3893
4022
  readonly price: io.flow.v0.models.Price;
3894
4023
  readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator;
3895
4024
  }
3896
4025
 
3897
4026
  interface FlatRateForm {
4027
+ readonly discriminator: 'flat_rate_form';
3898
4028
  readonly price: io.flow.v0.models.Money;
3899
4029
  readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator;
3900
4030
  }
@@ -3917,6 +4047,7 @@ declare namespace io.flow.v0.models {
3917
4047
  }
3918
4048
 
3919
4049
  interface FraudStatusChanged {
4050
+ readonly discriminator: 'fraud_status_changed';
3920
4051
  readonly event_id: string;
3921
4052
  readonly timestamp: string;
3922
4053
  readonly id: string;
@@ -3926,11 +4057,13 @@ declare namespace io.flow.v0.models {
3926
4057
  }
3927
4058
 
3928
4059
  interface FreeShipping {
4060
+ readonly discriminator: 'free_shipping';
3929
4061
  readonly trigger: io.flow.v0.models.PromotionTrigger;
3930
4062
  readonly max?: io.flow.v0.models.Price;
3931
4063
  }
3932
4064
 
3933
4065
  interface FreeShippingOrderPromotion {
4066
+ readonly discriminator: 'free_shipping_order_promotion';
3934
4067
  readonly id: string;
3935
4068
  readonly order: io.flow.v0.unions.ExpandableOrder;
3936
4069
  readonly key: string;
@@ -3942,6 +4075,7 @@ declare namespace io.flow.v0.models {
3942
4075
  }
3943
4076
 
3944
4077
  interface FreeShippingOrderPromotionForm {
4078
+ readonly discriminator: 'free_shipping_order_promotion_form';
3945
4079
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
3946
4080
  readonly max?: io.flow.v0.models.PriceForm;
3947
4081
  readonly attributes?: {
@@ -4003,10 +4137,12 @@ declare namespace io.flow.v0.models {
4003
4137
  }
4004
4138
 
4005
4139
  interface FuelSurchargeRatecardFee {
4140
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
4006
4141
  readonly amount: io.flow.v0.models.Money;
4007
4142
  }
4008
4143
 
4009
4144
  interface FuelSurchargeServiceFee {
4145
+ readonly discriminator: 'fuel_surcharge_service_fee';
4010
4146
  readonly percent: number;
4011
4147
  }
4012
4148
 
@@ -4059,6 +4195,7 @@ declare namespace io.flow.v0.models {
4059
4195
  }
4060
4196
 
4061
4197
  interface FullyHarmonizedItemUpserted {
4198
+ readonly discriminator: 'fully_harmonized_item_upserted';
4062
4199
  readonly event_id: string;
4063
4200
  readonly timestamp: string;
4064
4201
  readonly organization: string;
@@ -4074,6 +4211,7 @@ declare namespace io.flow.v0.models {
4074
4211
  }
4075
4212
 
4076
4213
  interface GenericReservationError {
4214
+ readonly code: 'generic_reservation_error';
4077
4215
  readonly messages: string[];
4078
4216
  }
4079
4217
 
@@ -4086,18 +4224,21 @@ declare namespace io.flow.v0.models {
4086
4224
  }
4087
4225
 
4088
4226
  interface GooglePayAuthorizationPayload {
4227
+ readonly discriminator: 'google_pay_authorization_payload';
4089
4228
  readonly payload: {
4090
4229
  [key: string]: string;
4091
4230
  };
4092
4231
  }
4093
4232
 
4094
4233
  interface HarmonizationDocument {
4234
+ readonly discriminator: 'harmonization_document';
4095
4235
  readonly code: string;
4096
4236
  readonly categories: io.flow.v0.models.CategorySummary[];
4097
4237
  readonly origin?: string;
4098
4238
  }
4099
4239
 
4100
4240
  interface HarmonizationHs10ExportType {
4241
+ readonly discriminator: 'harmonization_hs10_export_type';
4101
4242
  readonly origin?: string;
4102
4243
  readonly destination?: string;
4103
4244
  readonly numbers?: string[];
@@ -4107,16 +4248,19 @@ declare namespace io.flow.v0.models {
4107
4248
  }
4108
4249
 
4109
4250
  interface HarmonizationHs6ExportType {
4251
+ readonly discriminator: 'harmonization_hs6_export_type';
4110
4252
  readonly numbers?: string[];
4111
4253
  readonly has_codes?: boolean;
4112
4254
  readonly sort?: string;
4113
4255
  }
4114
4256
 
4115
4257
  interface HarmonizationLandedCostExportType {
4258
+ readonly discriminator: 'harmonization_landed_cost_export_type';
4116
4259
  readonly items: io.flow.v0.models.LandedCostItem[];
4117
4260
  }
4118
4261
 
4119
4262
  interface HarmonizationOverviewExportType {
4263
+ readonly discriminator: 'harmonization_overview_export_type';
4120
4264
  readonly origin?: string;
4121
4265
  readonly destination?: string;
4122
4266
  readonly sort?: string;
@@ -4196,6 +4340,7 @@ declare namespace io.flow.v0.models {
4196
4340
  }
4197
4341
 
4198
4342
  interface HarmonizedLandedCostUpserted {
4343
+ readonly discriminator: 'harmonized_landed_cost_upserted';
4199
4344
  readonly event_id: string;
4200
4345
  readonly timestamp: string;
4201
4346
  readonly organization: string;
@@ -4237,6 +4382,7 @@ declare namespace io.flow.v0.models {
4237
4382
  }
4238
4383
 
4239
4384
  interface Hs10CodeDeleted {
4385
+ readonly discriminator: 'hs10_code_deleted';
4240
4386
  readonly event_id: string;
4241
4387
  readonly timestamp: string;
4242
4388
  readonly organization: string;
@@ -4246,6 +4392,7 @@ declare namespace io.flow.v0.models {
4246
4392
  }
4247
4393
 
4248
4394
  interface Hs10CodeUpserted {
4395
+ readonly discriminator: 'hs10_code_upserted';
4249
4396
  readonly event_id: string;
4250
4397
  readonly timestamp: string;
4251
4398
  readonly organization: string;
@@ -4269,6 +4416,7 @@ declare namespace io.flow.v0.models {
4269
4416
  }
4270
4417
 
4271
4418
  interface Hs6CodeDeleted {
4419
+ readonly discriminator: 'hs6_code_deleted';
4272
4420
  readonly event_id: string;
4273
4421
  readonly timestamp: string;
4274
4422
  readonly organization: string;
@@ -4276,6 +4424,7 @@ declare namespace io.flow.v0.models {
4276
4424
  }
4277
4425
 
4278
4426
  interface Hs6CodeUpserted {
4427
+ readonly discriminator: 'hs6_code_upserted';
4279
4428
  readonly event_id: string;
4280
4429
  readonly timestamp: string;
4281
4430
  readonly organization: string;
@@ -4345,6 +4494,7 @@ declare namespace io.flow.v0.models {
4345
4494
  }
4346
4495
 
4347
4496
  interface InboundCartonFee {
4497
+ readonly discriminator: 'inbound_carton_fee';
4348
4498
  readonly amount: io.flow.v0.models.Money;
4349
4499
  }
4350
4500
 
@@ -4354,6 +4504,7 @@ declare namespace io.flow.v0.models {
4354
4504
  }
4355
4505
 
4356
4506
  interface InlineAuthorizationDetails {
4507
+ readonly discriminator: 'inline_authorization_details';
4357
4508
  readonly id: string;
4358
4509
  readonly client_token?: string;
4359
4510
  readonly parameters?: {
@@ -4362,6 +4513,7 @@ declare namespace io.flow.v0.models {
4362
4513
  }
4363
4514
 
4364
4515
  interface InlineAuthorizationForm {
4516
+ readonly discriminator: 'inline_authorization_form';
4365
4517
  readonly method: string;
4366
4518
  readonly issuer?: io.flow.v0.models.IssuerReference;
4367
4519
  readonly order_number: string;
@@ -4394,6 +4546,7 @@ declare namespace io.flow.v0.models {
4394
4546
  }
4395
4547
 
4396
4548
  interface InputSpecificationLimitationMax {
4549
+ readonly discriminator: 'input_specification_limitation_max';
4397
4550
  readonly max: number;
4398
4551
  }
4399
4552
 
@@ -4402,6 +4555,7 @@ declare namespace io.flow.v0.models {
4402
4555
  }
4403
4556
 
4404
4557
  interface InventoryBackorder {
4558
+ readonly discriminator: 'inventory_backorder';
4405
4559
  readonly quantity: number;
4406
4560
  }
4407
4561
 
@@ -4472,10 +4626,12 @@ declare namespace io.flow.v0.models {
4472
4626
  }
4473
4627
 
4474
4628
  interface InventoryStock {
4629
+ readonly discriminator: 'inventory_stock';
4475
4630
  readonly quantity: number;
4476
4631
  }
4477
4632
 
4478
4633
  interface InventoryUnlimited {
4634
+ readonly discriminator: 'inventory_unlimited';
4479
4635
  readonly quantity: string;
4480
4636
  }
4481
4637
 
@@ -4643,6 +4799,7 @@ declare namespace io.flow.v0.models {
4643
4799
  }
4644
4800
 
4645
4801
  interface ItemMarginDeleted {
4802
+ readonly discriminator: 'item_margin_deleted';
4646
4803
  readonly event_id: string;
4647
4804
  readonly timestamp: string;
4648
4805
  readonly item_margin_id: string;
@@ -4668,6 +4825,7 @@ declare namespace io.flow.v0.models {
4668
4825
  }
4669
4826
 
4670
4827
  interface ItemMarginUpserted {
4828
+ readonly discriminator: 'item_margin_upserted';
4671
4829
  readonly event_id: string;
4672
4830
  readonly timestamp: string;
4673
4831
  readonly item_margin_id: string;
@@ -4689,6 +4847,7 @@ declare namespace io.flow.v0.models {
4689
4847
  }
4690
4848
 
4691
4849
  interface ItemOriginDeleted {
4850
+ readonly discriminator: 'item_origin_deleted';
4692
4851
  readonly event_id: string;
4693
4852
  readonly timestamp: string;
4694
4853
  readonly organization: string;
@@ -4697,6 +4856,7 @@ declare namespace io.flow.v0.models {
4697
4856
  }
4698
4857
 
4699
4858
  interface ItemOriginUpserted {
4859
+ readonly discriminator: 'item_origin_upserted';
4700
4860
  readonly event_id: string;
4701
4861
  readonly timestamp: string;
4702
4862
  readonly organization: string;
@@ -4704,8 +4864,17 @@ declare namespace io.flow.v0.models {
4704
4864
  readonly origin: string;
4705
4865
  }
4706
4866
 
4867
+ interface ItemPriceUpdateForm {
4868
+ readonly number: string;
4869
+ readonly currency?: string;
4870
+ readonly price: number;
4871
+ readonly attributes: {
4872
+ [key: string]: string;
4873
+ };
4874
+ }
4875
+
4707
4876
  interface ItemPriceUpdatePutForm {
4708
- readonly currency: string;
4877
+ readonly currency?: string;
4709
4878
  readonly price: number;
4710
4879
  readonly attributes: {
4711
4880
  [key: string]: string;
@@ -4722,6 +4891,7 @@ declare namespace io.flow.v0.models {
4722
4891
  }
4723
4892
 
4724
4893
  interface ItemSalesMarginDeleted {
4894
+ readonly discriminator: 'item_sales_margin_deleted';
4725
4895
  readonly event_id: string;
4726
4896
  readonly timestamp: string;
4727
4897
  readonly item_sales_margin_id: string;
@@ -4730,6 +4900,7 @@ declare namespace io.flow.v0.models {
4730
4900
  }
4731
4901
 
4732
4902
  interface ItemSalesMarginUpserted {
4903
+ readonly discriminator: 'item_sales_margin_upserted';
4733
4904
  readonly event_id: string;
4734
4905
  readonly timestamp: string;
4735
4906
  readonly item_sales_margin_id: string;
@@ -4792,7 +4963,16 @@ declare namespace io.flow.v0.models {
4792
4963
  readonly total: io.flow.v0.models.PriceWithBase;
4793
4964
  }
4794
4965
 
4966
+ interface LabelDeletedV2 {
4967
+ readonly discriminator: 'label_deleted_v2';
4968
+ readonly event_id: string;
4969
+ readonly timestamp: string;
4970
+ readonly organization: string;
4971
+ readonly label: io.flow.v0.models.ShippingLabel;
4972
+ }
4973
+
4795
4974
  interface LabelFormatDeleted {
4975
+ readonly discriminator: 'label_format_deleted';
4796
4976
  readonly event_id: string;
4797
4977
  readonly timestamp: string;
4798
4978
  readonly organization: string;
@@ -4800,6 +4980,7 @@ declare namespace io.flow.v0.models {
4800
4980
  }
4801
4981
 
4802
4982
  interface LabelFormatUpserted {
4983
+ readonly discriminator: 'label_format_upserted';
4803
4984
  readonly event_id: string;
4804
4985
  readonly timestamp: string;
4805
4986
  readonly organization: string;
@@ -4813,6 +4994,7 @@ declare namespace io.flow.v0.models {
4813
4994
  }
4814
4995
 
4815
4996
  interface LabelUpserted {
4997
+ readonly discriminator: 'label_upserted';
4816
4998
  readonly event_id: string;
4817
4999
  readonly timestamp: string;
4818
5000
  readonly organization: string;
@@ -4837,6 +5019,14 @@ declare namespace io.flow.v0.models {
4837
5019
  readonly fulfillment_key?: string;
4838
5020
  }
4839
5021
 
5022
+ interface LabelUpsertedV2 {
5023
+ readonly discriminator: 'label_upserted_v2';
5024
+ readonly event_id: string;
5025
+ readonly timestamp: string;
5026
+ readonly organization: string;
5027
+ readonly label: io.flow.v0.models.ShippingLabel;
5028
+ }
5029
+
4840
5030
  interface LandedCostItem {
4841
5031
  readonly number: string;
4842
5032
  readonly origin: string;
@@ -4920,6 +5110,7 @@ declare namespace io.flow.v0.models {
4920
5110
  }
4921
5111
 
4922
5112
  interface LocalItemDeleted {
5113
+ readonly discriminator: 'local_item_deleted';
4923
5114
  readonly event_id: string;
4924
5115
  readonly timestamp: string;
4925
5116
  readonly organization: string;
@@ -4936,6 +5127,7 @@ declare namespace io.flow.v0.models {
4936
5127
  }
4937
5128
 
4938
5129
  interface LocalItemUpserted {
5130
+ readonly discriminator: 'local_item_upserted';
4939
5131
  readonly event_id: string;
4940
5132
  readonly timestamp: string;
4941
5133
  readonly organization: string;
@@ -4980,6 +5172,7 @@ declare namespace io.flow.v0.models {
4980
5172
  }
4981
5173
 
4982
5174
  interface LocalizedItemDuty {
5175
+ readonly key: 'localized_item_duty';
4983
5176
  readonly currency: string;
4984
5177
  readonly amount: number;
4985
5178
  readonly label: string;
@@ -4989,6 +5182,7 @@ declare namespace io.flow.v0.models {
4989
5182
  }
4990
5183
 
4991
5184
  interface LocalizedItemPrice {
5185
+ readonly key: 'localized_item_price';
4992
5186
  readonly currency: string;
4993
5187
  readonly amount: number;
4994
5188
  readonly label: string;
@@ -4997,10 +5191,12 @@ declare namespace io.flow.v0.models {
4997
5191
  }
4998
5192
 
4999
5193
  interface LocalizedItemPricesExportType {
5194
+ readonly discriminator: 'localized_item_prices_export_type';
5000
5195
  readonly since?: string;
5001
5196
  }
5002
5197
 
5003
5198
  interface LocalizedItemVat {
5199
+ readonly key: 'localized_item_vat';
5004
5200
  readonly currency: string;
5005
5201
  readonly amount: number;
5006
5202
  readonly label: string;
@@ -5037,6 +5233,7 @@ declare namespace io.flow.v0.models {
5037
5233
  }
5038
5234
 
5039
5235
  interface LocalizedTotal {
5236
+ readonly key: 'localized_total';
5040
5237
  readonly currency: string;
5041
5238
  readonly amount: number;
5042
5239
  readonly label: string;
@@ -5071,12 +5268,14 @@ declare namespace io.flow.v0.models {
5071
5268
  }
5072
5269
 
5073
5270
  interface ManifestedLabelDeleted {
5271
+ readonly discriminator: 'manifested_label_deleted';
5074
5272
  readonly event_id: string;
5075
5273
  readonly timestamp: string;
5076
5274
  readonly id: string;
5077
5275
  }
5078
5276
 
5079
5277
  interface ManifestedLabelUpserted {
5278
+ readonly discriminator: 'manifested_label_upserted';
5080
5279
  readonly event_id: string;
5081
5280
  readonly timestamp: string;
5082
5281
  readonly organization: string;
@@ -5108,6 +5307,7 @@ declare namespace io.flow.v0.models {
5108
5307
  }
5109
5308
 
5110
5309
  interface MembershipDeletedV2 {
5310
+ readonly discriminator: 'membership_deleted_v2';
5111
5311
  readonly event_id: string;
5112
5312
  readonly timestamp: string;
5113
5313
  readonly membership: io.flow.v0.models.Membership;
@@ -5126,6 +5326,7 @@ declare namespace io.flow.v0.models {
5126
5326
  }
5127
5327
 
5128
5328
  interface MembershipUpsertedV2 {
5329
+ readonly discriminator: 'membership_upserted_v2';
5129
5330
  readonly event_id: string;
5130
5331
  readonly timestamp: string;
5131
5332
  readonly membership: io.flow.v0.models.Membership;
@@ -5173,6 +5374,7 @@ declare namespace io.flow.v0.models {
5173
5374
  }
5174
5375
 
5175
5376
  interface MerchantOfRecordAuthorizationForm {
5377
+ readonly discriminator: 'merchant_of_record_authorization_form';
5176
5378
  readonly token: string;
5177
5379
  readonly order_number: string;
5178
5380
  readonly amount?: number;
@@ -5207,6 +5409,7 @@ declare namespace io.flow.v0.models {
5207
5409
  }
5208
5410
 
5209
5411
  interface MerchantOfRecordPaymentForm {
5412
+ readonly discriminator: 'merchant_of_record_payment_form';
5210
5413
  readonly method: string;
5211
5414
  readonly order_number: string;
5212
5415
  readonly amount: number;
@@ -5241,6 +5444,7 @@ declare namespace io.flow.v0.models {
5241
5444
  }
5242
5445
 
5243
5446
  interface NoInventoryReservationError {
5447
+ readonly code: 'no_inventory';
5244
5448
  readonly messages: string[];
5245
5449
  readonly items: io.flow.v0.models.NoInventoryReservationErrorItem[];
5246
5450
  }
@@ -5252,6 +5456,7 @@ declare namespace io.flow.v0.models {
5252
5456
  }
5253
5457
 
5254
5458
  interface NotificationDeleted {
5459
+ readonly discriminator: 'notification_deleted';
5255
5460
  readonly event_id: string;
5256
5461
  readonly timestamp: string;
5257
5462
  readonly organization: string;
@@ -5267,6 +5472,7 @@ declare namespace io.flow.v0.models {
5267
5472
  }
5268
5473
 
5269
5474
  interface NotificationUpserted {
5475
+ readonly discriminator: 'notification_upserted';
5270
5476
  readonly event_id: string;
5271
5477
  readonly timestamp: string;
5272
5478
  readonly organization: string;
@@ -5289,6 +5495,7 @@ declare namespace io.flow.v0.models {
5289
5495
  }
5290
5496
 
5291
5497
  interface OnlineAuthorization {
5498
+ readonly discriminator: 'online_authorization';
5292
5499
  readonly id: string;
5293
5500
  readonly key: string;
5294
5501
  readonly method?: io.flow.v0.models.PaymentMethod;
@@ -5315,6 +5522,7 @@ declare namespace io.flow.v0.models {
5315
5522
  }
5316
5523
 
5317
5524
  interface OnlineAuthorizationDeletedV2 {
5525
+ readonly discriminator: 'online_authorization_deleted_v2';
5318
5526
  readonly event_id: string;
5319
5527
  readonly timestamp: string;
5320
5528
  readonly organization: string;
@@ -5322,6 +5530,7 @@ declare namespace io.flow.v0.models {
5322
5530
  }
5323
5531
 
5324
5532
  interface OnlineAuthorizationUpsertedV2 {
5533
+ readonly discriminator: 'online_authorization_upserted_v2';
5325
5534
  readonly event_id: string;
5326
5535
  readonly timestamp: string;
5327
5536
  readonly organization: string;
@@ -5346,6 +5555,7 @@ declare namespace io.flow.v0.models {
5346
5555
  }
5347
5556
 
5348
5557
  interface Order {
5558
+ readonly discriminator: 'order';
5349
5559
  readonly id: string;
5350
5560
  readonly number: string;
5351
5561
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
@@ -5431,6 +5641,7 @@ declare namespace io.flow.v0.models {
5431
5641
  }
5432
5642
 
5433
5643
  interface OrderDeleted {
5644
+ readonly discriminator: 'order_deleted';
5434
5645
  readonly event_id: string;
5435
5646
  readonly timestamp: string;
5436
5647
  readonly organization: string;
@@ -5438,6 +5649,7 @@ declare namespace io.flow.v0.models {
5438
5649
  }
5439
5650
 
5440
5651
  interface OrderDeletedV2 {
5652
+ readonly discriminator: 'order_deleted_v2';
5441
5653
  readonly event_id: string;
5442
5654
  readonly timestamp: string;
5443
5655
  readonly organization: string;
@@ -5475,6 +5687,7 @@ declare namespace io.flow.v0.models {
5475
5687
  }
5476
5688
 
5477
5689
  interface OrderExportType {
5690
+ readonly discriminator: 'order_export_type';
5478
5691
  readonly numbers?: string[];
5479
5692
  readonly min_hours_since_submitted_at?: number;
5480
5693
  readonly submitted_on_or_before?: string;
@@ -5521,12 +5734,14 @@ declare namespace io.flow.v0.models {
5521
5734
  }
5522
5735
 
5523
5736
  interface OrderIdentifierDeleted {
5737
+ readonly discriminator: 'order_identifier_deleted';
5524
5738
  readonly event_id: string;
5525
5739
  readonly timestamp: string;
5526
5740
  readonly id: string;
5527
5741
  }
5528
5742
 
5529
5743
  interface OrderIdentifierDeletedV2 {
5744
+ readonly discriminator: 'order_identifier_deleted_v2';
5530
5745
  readonly event_id: string;
5531
5746
  readonly timestamp: string;
5532
5747
  readonly organization: string;
@@ -5548,6 +5763,7 @@ declare namespace io.flow.v0.models {
5548
5763
  }
5549
5764
 
5550
5765
  interface OrderIdentifierUpserted {
5766
+ readonly discriminator: 'order_identifier_upserted';
5551
5767
  readonly event_id: string;
5552
5768
  readonly timestamp: string;
5553
5769
  readonly id: string;
@@ -5557,6 +5773,7 @@ declare namespace io.flow.v0.models {
5557
5773
  }
5558
5774
 
5559
5775
  interface OrderIdentifierUpsertedV2 {
5776
+ readonly discriminator: 'order_identifier_upserted_v2';
5560
5777
  readonly event_id: string;
5561
5778
  readonly timestamp: string;
5562
5779
  readonly organization: string;
@@ -5567,6 +5784,7 @@ declare namespace io.flow.v0.models {
5567
5784
  }
5568
5785
 
5569
5786
  interface OrderIdentifierUpsertedV3 {
5787
+ readonly discriminator: 'order_identifier_upserted_v3';
5570
5788
  readonly event_id: string;
5571
5789
  readonly timestamp: string;
5572
5790
  readonly organization: string;
@@ -5592,10 +5810,12 @@ declare namespace io.flow.v0.models {
5592
5810
  }
5593
5811
 
5594
5812
  interface OrderNumberGeneratorHexadecimal {
5813
+ readonly discriminator: 'hexadecimal';
5595
5814
  readonly length: number;
5596
5815
  }
5597
5816
 
5598
5817
  interface OrderNumberGeneratorPrefixSuffix {
5818
+ readonly discriminator: 'prefix_suffix';
5599
5819
  readonly prefix?: string;
5600
5820
  readonly starts_with?: number;
5601
5821
  readonly suffix?: string;
@@ -5603,6 +5823,7 @@ declare namespace io.flow.v0.models {
5603
5823
  }
5604
5824
 
5605
5825
  interface OrderNumberGeneratorUuid {
5826
+ readonly discriminator: 'uuid';
5606
5827
  readonly prefix?: string;
5607
5828
  }
5608
5829
 
@@ -5629,6 +5850,7 @@ declare namespace io.flow.v0.models {
5629
5850
  }
5630
5851
 
5631
5852
  interface OrderPlaced {
5853
+ readonly discriminator: 'order_placed';
5632
5854
  readonly event_id: string;
5633
5855
  readonly timestamp: string;
5634
5856
  readonly organization: string;
@@ -5644,6 +5866,7 @@ declare namespace io.flow.v0.models {
5644
5866
  }
5645
5867
 
5646
5868
  interface OrderPlacedV2 {
5869
+ readonly discriminator: 'order_placed_v2';
5647
5870
  readonly event_id: string;
5648
5871
  readonly timestamp: string;
5649
5872
  readonly organization: string;
@@ -5693,6 +5916,7 @@ declare namespace io.flow.v0.models {
5693
5916
  }
5694
5917
 
5695
5918
  interface OrderReference {
5919
+ readonly discriminator: 'order_reference';
5696
5920
  readonly id: string;
5697
5921
  readonly number: string;
5698
5922
  }
@@ -5718,6 +5942,7 @@ declare namespace io.flow.v0.models {
5718
5942
  }
5719
5943
 
5720
5944
  interface OrderServiceChangeRequest {
5945
+ readonly discriminator: 'order_service_change_request';
5721
5946
  readonly event_id: string;
5722
5947
  readonly timestamp: string;
5723
5948
  readonly organization: string;
@@ -5802,6 +6027,7 @@ declare namespace io.flow.v0.models {
5802
6027
  }
5803
6028
 
5804
6029
  interface OrderUpserted {
6030
+ readonly discriminator: 'order_upserted';
5805
6031
  readonly event_id: string;
5806
6032
  readonly timestamp: string;
5807
6033
  readonly organization: string;
@@ -5833,6 +6059,7 @@ declare namespace io.flow.v0.models {
5833
6059
  }
5834
6060
 
5835
6061
  interface OrderUpsertedV2 {
6062
+ readonly discriminator: 'order_upserted_v2';
5836
6063
  readonly event_id: string;
5837
6064
  readonly timestamp: string;
5838
6065
  readonly organization: string;
@@ -5846,7 +6073,13 @@ declare namespace io.flow.v0.models {
5846
6073
  readonly order: io.flow.v0.models.Order;
5847
6074
  }
5848
6075
 
6076
+ interface OrderWithDiscountsForm {
6077
+ readonly order: io.flow.v0.models.OrderForm;
6078
+ readonly discounts: string[];
6079
+ }
6080
+
5849
6081
  interface Organization {
6082
+ readonly discriminator: 'organization';
5850
6083
  readonly id: string;
5851
6084
  readonly name: string;
5852
6085
  readonly environment: io.flow.v0.enums.Environment;
@@ -5895,6 +6128,7 @@ declare namespace io.flow.v0.models {
5895
6128
  }
5896
6129
 
5897
6130
  interface OrganizationDefaultConfigurationsDeleted {
6131
+ readonly discriminator: 'organization_default_configurations_deleted';
5898
6132
  readonly event_id: string;
5899
6133
  readonly timestamp: string;
5900
6134
  readonly organization: string;
@@ -5906,6 +6140,7 @@ declare namespace io.flow.v0.models {
5906
6140
  }
5907
6141
 
5908
6142
  interface OrganizationDefaultConfigurationsUpserted {
6143
+ readonly discriminator: 'organization_default_configurations_upserted';
5909
6144
  readonly event_id: string;
5910
6145
  readonly timestamp: string;
5911
6146
  readonly organization: string;
@@ -5921,12 +6156,14 @@ declare namespace io.flow.v0.models {
5921
6156
  }
5922
6157
 
5923
6158
  interface OrganizationDeleted {
6159
+ readonly discriminator: 'organization_deleted';
5924
6160
  readonly event_id: string;
5925
6161
  readonly timestamp: string;
5926
6162
  readonly id: string;
5927
6163
  }
5928
6164
 
5929
6165
  interface OrganizationDeletedV2 {
6166
+ readonly discriminator: 'organization_deleted_v2';
5930
6167
  readonly event_id: string;
5931
6168
  readonly timestamp: string;
5932
6169
  readonly organization: io.flow.v0.models.Organization;
@@ -5952,6 +6189,7 @@ declare namespace io.flow.v0.models {
5952
6189
  }
5953
6190
 
5954
6191
  interface OrganizationRatesPublished {
6192
+ readonly discriminator: 'organization_rates_published';
5955
6193
  readonly event_id: string;
5956
6194
  readonly timestamp: string;
5957
6195
  readonly organization: string;
@@ -5959,10 +6197,12 @@ declare namespace io.flow.v0.models {
5959
6197
  }
5960
6198
 
5961
6199
  interface OrganizationReference {
6200
+ readonly discriminator: 'organization_reference';
5962
6201
  readonly id: string;
5963
6202
  }
5964
6203
 
5965
6204
  interface OrganizationSession {
6205
+ readonly discriminator: 'organization_session';
5966
6206
  readonly id: string;
5967
6207
  readonly organization: string;
5968
6208
  readonly visitor: io.flow.v0.models.SessionVisitor;
@@ -5980,6 +6220,7 @@ declare namespace io.flow.v0.models {
5980
6220
  }
5981
6221
 
5982
6222
  interface OrganizationSessionAuthorization {
6223
+ readonly discriminator: 'organization_session_authorization';
5983
6224
  readonly organization: io.flow.v0.models.OrganizationReference;
5984
6225
  readonly environment: io.flow.v0.enums.Environment;
5985
6226
  }
@@ -5991,12 +6232,14 @@ declare namespace io.flow.v0.models {
5991
6232
  }
5992
6233
 
5993
6234
  interface OrganizationShortIdDeleted {
6235
+ readonly discriminator: 'organization_short_id_deleted';
5994
6236
  readonly event_id: string;
5995
6237
  readonly timestamp: string;
5996
6238
  readonly organization_short_id: io.flow.v0.models.OrganizationShortId;
5997
6239
  }
5998
6240
 
5999
6241
  interface OrganizationShortIdUpserted {
6242
+ readonly discriminator: 'organization_short_id_upserted';
6000
6243
  readonly event_id: string;
6001
6244
  readonly timestamp: string;
6002
6245
  readonly organization_short_id: io.flow.v0.models.OrganizationShortId;
@@ -6008,6 +6251,7 @@ declare namespace io.flow.v0.models {
6008
6251
  }
6009
6252
 
6010
6253
  interface OrganizationToken {
6254
+ readonly discriminator: 'organization_token';
6011
6255
  readonly id: string;
6012
6256
  readonly organization: io.flow.v0.models.OrganizationReference;
6013
6257
  readonly user: io.flow.v0.models.UserReference;
@@ -6023,6 +6267,7 @@ declare namespace io.flow.v0.models {
6023
6267
  }
6024
6268
 
6025
6269
  interface OrganizationTokenReference {
6270
+ readonly discriminator: 'organization_token_reference';
6026
6271
  readonly id: string;
6027
6272
  readonly organization: io.flow.v0.models.OrganizationReference;
6028
6273
  readonly environment: io.flow.v0.enums.Environment;
@@ -6030,6 +6275,7 @@ declare namespace io.flow.v0.models {
6030
6275
  }
6031
6276
 
6032
6277
  interface OrganizationUpserted {
6278
+ readonly discriminator: 'organization_upserted';
6033
6279
  readonly event_id: string;
6034
6280
  readonly timestamp: string;
6035
6281
  readonly id: string;
@@ -6045,6 +6291,7 @@ declare namespace io.flow.v0.models {
6045
6291
  }
6046
6292
 
6047
6293
  interface OrganizationUpsertedV2 {
6294
+ readonly discriminator: 'organization_upserted_v2';
6048
6295
  readonly event_id: string;
6049
6296
  readonly timestamp: string;
6050
6297
  readonly organization: io.flow.v0.models.Organization;
@@ -6063,10 +6310,12 @@ declare namespace io.flow.v0.models {
6063
6310
  }
6064
6311
 
6065
6312
  interface OutboundCartonFee {
6313
+ readonly discriminator: 'outbound_carton_fee';
6066
6314
  readonly amount: io.flow.v0.models.Money;
6067
6315
  }
6068
6316
 
6069
6317
  interface OversizedShipmentRatecardFee {
6318
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
6070
6319
  readonly weight_threshold: number;
6071
6320
  readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
6072
6321
  readonly margin?: number;
@@ -6096,6 +6345,7 @@ declare namespace io.flow.v0.models {
6096
6345
  }
6097
6346
 
6098
6347
  interface PartnerToken {
6348
+ readonly discriminator: 'partner_token';
6099
6349
  readonly id: string;
6100
6350
  readonly partner: io.flow.v0.models.TokenPartnerReference;
6101
6351
  readonly user: io.flow.v0.models.UserReference;
@@ -6111,6 +6361,7 @@ declare namespace io.flow.v0.models {
6111
6361
  }
6112
6362
 
6113
6363
  interface PartnerTokenReference {
6364
+ readonly discriminator: 'partner_token_reference';
6114
6365
  readonly id: string;
6115
6366
  readonly partner: io.flow.v0.models.TokenPartnerReference;
6116
6367
  readonly environment: io.flow.v0.enums.Environment;
@@ -6132,6 +6383,7 @@ declare namespace io.flow.v0.models {
6132
6383
  }
6133
6384
 
6134
6385
  interface PaymentDeleted {
6386
+ readonly discriminator: 'payment_deleted';
6135
6387
  readonly event_id: string;
6136
6388
  readonly timestamp: string;
6137
6389
  readonly organization: string;
@@ -6187,6 +6439,7 @@ declare namespace io.flow.v0.models {
6187
6439
  }
6188
6440
 
6189
6441
  interface PaymentPaypal {
6442
+ readonly discriminator: 'payment_paypal';
6190
6443
  readonly id: string;
6191
6444
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
6192
6445
  readonly amount: number;
@@ -6207,6 +6460,7 @@ declare namespace io.flow.v0.models {
6207
6460
  }
6208
6461
 
6209
6462
  interface PaymentUpserted {
6463
+ readonly discriminator: 'payment_upserted';
6210
6464
  readonly event_id: string;
6211
6465
  readonly timestamp: string;
6212
6466
  readonly organization: string;
@@ -6222,10 +6476,12 @@ declare namespace io.flow.v0.models {
6222
6476
  }
6223
6477
 
6224
6478
  interface PaypalAuthorizationDetails {
6479
+ readonly discriminator: 'paypal_authorization_details';
6225
6480
  readonly payment_id: string;
6226
6481
  }
6227
6482
 
6228
6483
  interface PaypalAuthorizationForm {
6484
+ readonly discriminator: 'paypal_authorization_form';
6229
6485
  readonly paypal_payment_id: string;
6230
6486
  readonly paypal_payer_id: string;
6231
6487
  readonly key?: string;
@@ -6236,6 +6492,7 @@ declare namespace io.flow.v0.models {
6236
6492
  }
6237
6493
 
6238
6494
  interface PercentMargin {
6495
+ readonly discriminator: 'percent_margin';
6239
6496
  readonly percentage: number;
6240
6497
  }
6241
6498
 
@@ -6281,6 +6538,7 @@ declare namespace io.flow.v0.models {
6281
6538
  }
6282
6539
 
6283
6540
  interface PhysicalDelivery {
6541
+ readonly discriminator: 'physical_delivery';
6284
6542
  readonly id: string;
6285
6543
  readonly key?: string;
6286
6544
  readonly center?: io.flow.v0.models.CenterSummary;
@@ -6313,6 +6571,7 @@ declare namespace io.flow.v0.models {
6313
6571
  }
6314
6572
 
6315
6573
  interface PriceBookDeleted {
6574
+ readonly discriminator: 'price_book_deleted';
6316
6575
  readonly event_id: string;
6317
6576
  readonly timestamp: string;
6318
6577
  readonly organization: string;
@@ -6339,6 +6598,7 @@ declare namespace io.flow.v0.models {
6339
6598
  }
6340
6599
 
6341
6600
  interface PriceBookItemDeleted {
6601
+ readonly discriminator: 'price_book_item_deleted';
6342
6602
  readonly event_id: string;
6343
6603
  readonly timestamp: string;
6344
6604
  readonly organization: string;
@@ -6346,6 +6606,7 @@ declare namespace io.flow.v0.models {
6346
6606
  }
6347
6607
 
6348
6608
  interface PriceBookItemExportType {
6609
+ readonly discriminator: 'price_book_item_export_type';
6349
6610
  readonly price_book_key?: string;
6350
6611
  readonly item_numbers?: string[];
6351
6612
  readonly start_date?: string;
@@ -6378,6 +6639,7 @@ declare namespace io.flow.v0.models {
6378
6639
  }
6379
6640
 
6380
6641
  interface PriceBookItemUpserted {
6642
+ readonly discriminator: 'price_book_item_upserted';
6381
6643
  readonly event_id: string;
6382
6644
  readonly timestamp: string;
6383
6645
  readonly organization: string;
@@ -6390,6 +6652,7 @@ declare namespace io.flow.v0.models {
6390
6652
  }
6391
6653
 
6392
6654
  interface PriceBookUpserted {
6655
+ readonly discriminator: 'price_book_upserted';
6393
6656
  readonly event_id: string;
6394
6657
  readonly timestamp: string;
6395
6658
  readonly organization: string;
@@ -6450,10 +6713,12 @@ declare namespace io.flow.v0.models {
6450
6713
  }
6451
6714
 
6452
6715
  interface PriceSourceCatalog {
6716
+ readonly discriminator: 'catalog';
6453
6717
  readonly price: io.flow.v0.models.Money;
6454
6718
  }
6455
6719
 
6456
6720
  interface PriceSourcePriceBook {
6721
+ readonly discriminator: 'price_book';
6457
6722
  readonly price: io.flow.v0.models.Money;
6458
6723
  readonly includes: io.flow.v0.models.IncludedLevies;
6459
6724
  readonly price_book_reference: io.flow.v0.models.PriceSourcePriceBookReference;
@@ -6465,6 +6730,7 @@ declare namespace io.flow.v0.models {
6465
6730
  }
6466
6731
 
6467
6732
  interface PriceSourceProvided {
6733
+ readonly discriminator: 'provided';
6468
6734
  readonly price: io.flow.v0.models.Money;
6469
6735
  }
6470
6736
 
@@ -6490,6 +6756,7 @@ declare namespace io.flow.v0.models {
6490
6756
  }
6491
6757
 
6492
6758
  interface PricingDeleted {
6759
+ readonly discriminator: 'pricing_deleted';
6493
6760
  readonly event_id: string;
6494
6761
  readonly timestamp: string;
6495
6762
  readonly organization: string;
@@ -6503,6 +6770,7 @@ declare namespace io.flow.v0.models {
6503
6770
  }
6504
6771
 
6505
6772
  interface PricingUpserted {
6773
+ readonly discriminator: 'pricing_upserted';
6506
6774
  readonly event_id: string;
6507
6775
  readonly timestamp: string;
6508
6776
  readonly organization: string;
@@ -6562,14 +6830,17 @@ declare namespace io.flow.v0.models {
6562
6830
  }
6563
6831
 
6564
6832
  interface QueryBuilderFilterForm {
6833
+ readonly discriminator: 'filter';
6565
6834
  readonly filters: io.flow.v0.unions.QueryFilterForm[];
6566
6835
  }
6567
6836
 
6568
6837
  interface QueryBuilderQueryForm {
6838
+ readonly discriminator: 'query';
6569
6839
  readonly q: string;
6570
6840
  }
6571
6841
 
6572
6842
  interface QueryFilterStructured {
6843
+ readonly discriminator: 'structured';
6573
6844
  readonly q: string;
6574
6845
  readonly field: string;
6575
6846
  readonly operator: string;
@@ -6577,16 +6848,19 @@ declare namespace io.flow.v0.models {
6577
6848
  }
6578
6849
 
6579
6850
  interface QueryFilterStructuredForm {
6851
+ readonly discriminator: 'structured';
6580
6852
  readonly field: string;
6581
6853
  readonly operator: string;
6582
6854
  readonly values: string[];
6583
6855
  }
6584
6856
 
6585
6857
  interface QueryFilterUnstructured {
6858
+ readonly discriminator: 'unstructured';
6586
6859
  readonly q: string;
6587
6860
  }
6588
6861
 
6589
6862
  interface QueryFilterUnstructuredForm {
6863
+ readonly discriminator: 'unstructured';
6590
6864
  readonly q: string;
6591
6865
  }
6592
6866
 
@@ -6646,12 +6920,14 @@ declare namespace io.flow.v0.models {
6646
6920
  }
6647
6921
 
6648
6922
  interface RateDeleted {
6923
+ readonly discriminator: 'rate_deleted';
6649
6924
  readonly event_id: string;
6650
6925
  readonly timestamp: string;
6651
6926
  readonly rate_id: string;
6652
6927
  }
6653
6928
 
6654
6929
  interface RateDeletedV3 {
6930
+ readonly discriminator: 'rate_deleted_v3';
6655
6931
  readonly event_id: string;
6656
6932
  readonly timestamp: string;
6657
6933
  readonly organization: string;
@@ -6665,6 +6941,7 @@ declare namespace io.flow.v0.models {
6665
6941
  }
6666
6942
 
6667
6943
  interface RateUpserted {
6944
+ readonly discriminator: 'rate_upserted';
6668
6945
  readonly event_id: string;
6669
6946
  readonly timestamp: string;
6670
6947
  readonly rate_id: string;
@@ -6676,6 +6953,7 @@ declare namespace io.flow.v0.models {
6676
6953
  }
6677
6954
 
6678
6955
  interface RateUpsertedV3 {
6956
+ readonly discriminator: 'rate_upserted_v3';
6679
6957
  readonly event_id: string;
6680
6958
  readonly timestamp: string;
6681
6959
  readonly organization: string;
@@ -6706,6 +6984,7 @@ declare namespace io.flow.v0.models {
6706
6984
  }
6707
6985
 
6708
6986
  interface RatecardDeleted {
6987
+ readonly discriminator: 'ratecard_deleted';
6709
6988
  readonly event_id: string;
6710
6989
  readonly timestamp: string;
6711
6990
  readonly organization: string;
@@ -6713,6 +6992,7 @@ declare namespace io.flow.v0.models {
6713
6992
  }
6714
6993
 
6715
6994
  interface RatecardEstimateFormV1 {
6995
+ readonly discriminator: 'ratecard_estimate_form_v1';
6716
6996
  readonly origin?: string;
6717
6997
  readonly destination?: string;
6718
6998
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -6727,6 +7007,7 @@ declare namespace io.flow.v0.models {
6727
7007
  }
6728
7008
 
6729
7009
  interface RatecardEstimateFormV2 {
7010
+ readonly discriminator: 'ratecard_estimate_form_v2';
6730
7011
  readonly origin_address: io.flow.v0.models.Address;
6731
7012
  readonly destination_address: io.flow.v0.models.Address;
6732
7013
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -6749,6 +7030,7 @@ declare namespace io.flow.v0.models {
6749
7030
  }
6750
7031
 
6751
7032
  interface RatecardEstimateV1 {
7033
+ readonly discriminator: 'ratecard_estimate_v1';
6752
7034
  readonly service: io.flow.v0.models.RatecardServiceSummary;
6753
7035
  readonly shipment_window: io.flow.v0.models.ShipmentWindow;
6754
7036
  readonly currency: string;
@@ -6762,6 +7044,7 @@ declare namespace io.flow.v0.models {
6762
7044
  }
6763
7045
 
6764
7046
  interface RatecardEstimateV2 {
7047
+ readonly discriminator: 'ratecard_estimate_v2';
6765
7048
  readonly hops: io.flow.v0.models.Hop[];
6766
7049
  readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
6767
7050
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
@@ -6797,6 +7080,7 @@ declare namespace io.flow.v0.models {
6797
7080
  }
6798
7081
 
6799
7082
  interface RatecardLaneDeleted {
7083
+ readonly discriminator: 'ratecard_lane_deleted';
6800
7084
  readonly event_id: string;
6801
7085
  readonly timestamp: string;
6802
7086
  readonly organization: string;
@@ -6833,6 +7117,7 @@ declare namespace io.flow.v0.models {
6833
7117
  }
6834
7118
 
6835
7119
  interface RatecardLaneUpserted {
7120
+ readonly discriminator: 'ratecard_lane_upserted';
6836
7121
  readonly event_id: string;
6837
7122
  readonly timestamp: string;
6838
7123
  readonly organization: string;
@@ -6881,6 +7166,7 @@ declare namespace io.flow.v0.models {
6881
7166
  }
6882
7167
 
6883
7168
  interface RatecardUpserted {
7169
+ readonly discriminator: 'ratecard_upserted';
6884
7170
  readonly event_id: string;
6885
7171
  readonly timestamp: string;
6886
7172
  readonly organization: string;
@@ -6895,6 +7181,7 @@ declare namespace io.flow.v0.models {
6895
7181
  }
6896
7182
 
6897
7183
  interface ReadyToFulfill {
7184
+ readonly discriminator: 'ready_to_fulfill';
6898
7185
  readonly event_id: string;
6899
7186
  readonly timestamp: string;
6900
7187
  readonly organization: string;
@@ -6905,12 +7192,14 @@ declare namespace io.flow.v0.models {
6905
7192
  }
6906
7193
 
6907
7194
  interface RedirectAuthorizationDetails {
7195
+ readonly discriminator: 'redirect_authorization_details';
6908
7196
  readonly id: string;
6909
7197
  readonly payment_redirect_url: string;
6910
7198
  readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
6911
7199
  }
6912
7200
 
6913
7201
  interface RedirectAuthorizationForm {
7202
+ readonly discriminator: 'redirect_authorization_form';
6914
7203
  readonly method: string;
6915
7204
  readonly issuer?: io.flow.v0.models.IssuerReference;
6916
7205
  readonly order_number: string;
@@ -6956,6 +7245,7 @@ declare namespace io.flow.v0.models {
6956
7245
  }
6957
7246
 
6958
7247
  interface RefundCaptureUpsertedV2 {
7248
+ readonly discriminator: 'refund_capture_upserted_v2';
6959
7249
  readonly event_id: string;
6960
7250
  readonly timestamp: string;
6961
7251
  readonly organization: string;
@@ -6964,6 +7254,7 @@ declare namespace io.flow.v0.models {
6964
7254
  }
6965
7255
 
6966
7256
  interface RefundDeletedV2 {
7257
+ readonly discriminator: 'refund_deleted_v2';
6967
7258
  readonly event_id: string;
6968
7259
  readonly timestamp: string;
6969
7260
  readonly organization: string;
@@ -6998,6 +7289,7 @@ declare namespace io.flow.v0.models {
6998
7289
  }
6999
7290
 
7000
7291
  interface RefundIdentifierDeleted {
7292
+ readonly discriminator: 'refund_identifier_deleted';
7001
7293
  readonly event_id: string;
7002
7294
  readonly timestamp: string;
7003
7295
  readonly organization: string;
@@ -7005,6 +7297,7 @@ declare namespace io.flow.v0.models {
7005
7297
  }
7006
7298
 
7007
7299
  interface RefundIdentifierUpserted {
7300
+ readonly discriminator: 'refund_identifier_upserted';
7008
7301
  readonly event_id: string;
7009
7302
  readonly timestamp: string;
7010
7303
  readonly organization: string;
@@ -7031,6 +7324,7 @@ declare namespace io.flow.v0.models {
7031
7324
  }
7032
7325
 
7033
7326
  interface RefundUpsertedV2 {
7327
+ readonly discriminator: 'refund_upserted_v2';
7034
7328
  readonly event_id: string;
7035
7329
  readonly timestamp: string;
7036
7330
  readonly organization: string;
@@ -7070,27 +7364,33 @@ declare namespace io.flow.v0.models {
7070
7364
  }
7071
7365
 
7072
7366
  interface RemoteAreaRatecardFee {
7367
+ readonly discriminator: 'remote_area_ratecard_fee';
7073
7368
  readonly amount: io.flow.v0.models.Money;
7074
7369
  }
7075
7370
 
7076
7371
  interface RemoteAreaServiceFee {
7372
+ readonly discriminator: 'remote_area_service_fee';
7077
7373
  readonly amount: io.flow.v0.models.Money;
7078
7374
  }
7079
7375
 
7080
7376
  interface RepeatDaily {
7377
+ readonly discriminator: 'repeat_daily';
7081
7378
  readonly interval: number;
7082
7379
  }
7083
7380
 
7084
7381
  interface RepeatHourly {
7382
+ readonly discriminator: 'repeat_hourly';
7085
7383
  readonly interval: number;
7086
7384
  }
7087
7385
 
7088
7386
  interface RepeatMonthly {
7387
+ readonly discriminator: 'repeat_monthly';
7089
7388
  readonly interval: number;
7090
7389
  readonly days: number[];
7091
7390
  }
7092
7391
 
7093
7392
  interface RepeatWeekly {
7393
+ readonly discriminator: 'repeat_weekly';
7094
7394
  readonly interval: number;
7095
7395
  readonly days_of_week: io.flow.v0.enums.DayOfWeek[];
7096
7396
  }
@@ -7134,6 +7434,7 @@ declare namespace io.flow.v0.models {
7134
7434
  }
7135
7435
 
7136
7436
  interface ReturnDeleted {
7437
+ readonly discriminator: 'return_deleted';
7137
7438
  readonly event_id: string;
7138
7439
  readonly timestamp: string;
7139
7440
  readonly id: string;
@@ -7167,6 +7468,7 @@ declare namespace io.flow.v0.models {
7167
7468
  }
7168
7469
 
7169
7470
  interface ReturnPackageRatecardFee {
7471
+ readonly discriminator: 'return_package_ratecard_fee';
7170
7472
  readonly amount: number;
7171
7473
  }
7172
7474
 
@@ -7185,6 +7487,7 @@ declare namespace io.flow.v0.models {
7185
7487
  }
7186
7488
 
7187
7489
  interface ReturnUpserted {
7490
+ readonly discriminator: 'return_upserted';
7188
7491
  readonly event_id: string;
7189
7492
  readonly timestamp: string;
7190
7493
  readonly id: string;
@@ -7220,6 +7523,7 @@ declare namespace io.flow.v0.models {
7220
7523
  }
7221
7524
 
7222
7525
  interface ReversalDeleted {
7526
+ readonly discriminator: 'reversal_deleted';
7223
7527
  readonly event_id: string;
7224
7528
  readonly timestamp: string;
7225
7529
  readonly organization: string;
@@ -7252,6 +7556,7 @@ declare namespace io.flow.v0.models {
7252
7556
  }
7253
7557
 
7254
7558
  interface ReversalUpserted {
7559
+ readonly discriminator: 'reversal_upserted';
7255
7560
  readonly event_id: string;
7256
7561
  readonly timestamp: string;
7257
7562
  readonly organization: string;
@@ -7280,12 +7585,14 @@ declare namespace io.flow.v0.models {
7280
7585
  }
7281
7586
 
7282
7587
  interface RuleDeleted {
7588
+ readonly discriminator: 'rule_deleted';
7283
7589
  readonly event_id: string;
7284
7590
  readonly timestamp: string;
7285
7591
  readonly id: string;
7286
7592
  }
7287
7593
 
7288
7594
  interface RuleUpserted {
7595
+ readonly discriminator: 'rule_upserted';
7289
7596
  readonly event_id: string;
7290
7597
  readonly timestamp: string;
7291
7598
  readonly organization_id: string;
@@ -7340,6 +7647,7 @@ declare namespace io.flow.v0.models {
7340
7647
  }
7341
7648
 
7342
7649
  interface SerialDeleted {
7650
+ readonly discriminator: 'serial_deleted';
7343
7651
  readonly event_id: string;
7344
7652
  readonly timestamp: string;
7345
7653
  readonly id: string;
@@ -7358,6 +7666,7 @@ declare namespace io.flow.v0.models {
7358
7666
  }
7359
7667
 
7360
7668
  interface SerialUpserted {
7669
+ readonly discriminator: 'serial_upserted';
7361
7670
  readonly event_id: string;
7362
7671
  readonly timestamp: string;
7363
7672
  readonly organization: string;
@@ -7496,6 +7805,7 @@ declare namespace io.flow.v0.models {
7496
7805
  }
7497
7806
 
7498
7807
  interface ShippingConfigurationDeleted {
7808
+ readonly discriminator: 'shipping_configuration_deleted';
7499
7809
  readonly event_id: string;
7500
7810
  readonly timestamp: string;
7501
7811
  readonly organization: string;
@@ -7514,6 +7824,7 @@ declare namespace io.flow.v0.models {
7514
7824
  }
7515
7825
 
7516
7826
  interface ShippingConfigurationItemAvailabilityDeleted {
7827
+ readonly discriminator: 'shipping_configuration_item_availability_deleted';
7517
7828
  readonly event_id: string;
7518
7829
  readonly timestamp: string;
7519
7830
  readonly organization_id: string;
@@ -7521,6 +7832,7 @@ declare namespace io.flow.v0.models {
7521
7832
  }
7522
7833
 
7523
7834
  interface ShippingConfigurationItemAvailabilityUpserted {
7835
+ readonly discriminator: 'shipping_configuration_item_availability_upserted';
7524
7836
  readonly event_id: string;
7525
7837
  readonly timestamp: string;
7526
7838
  readonly organization_id: string;
@@ -7535,6 +7847,7 @@ declare namespace io.flow.v0.models {
7535
7847
  }
7536
7848
 
7537
7849
  interface ShippingConfigurationItemShippingPricingDeleted {
7850
+ readonly discriminator: 'shipping_configuration_item_shipping_pricing_deleted';
7538
7851
  readonly event_id: string;
7539
7852
  readonly timestamp: string;
7540
7853
  readonly organization_id: string;
@@ -7542,6 +7855,7 @@ declare namespace io.flow.v0.models {
7542
7855
  }
7543
7856
 
7544
7857
  interface ShippingConfigurationItemShippingPricingUpserted {
7858
+ readonly discriminator: 'shipping_configuration_item_shipping_pricing_upserted';
7545
7859
  readonly event_id: string;
7546
7860
  readonly timestamp: string;
7547
7861
  readonly organization_id: string;
@@ -7560,6 +7874,7 @@ declare namespace io.flow.v0.models {
7560
7874
  }
7561
7875
 
7562
7876
  interface ShippingConfigurationUpserted {
7877
+ readonly discriminator: 'shipping_configuration_upserted';
7563
7878
  readonly event_id: string;
7564
7879
  readonly timestamp: string;
7565
7880
  readonly organization: string;
@@ -7602,6 +7917,7 @@ declare namespace io.flow.v0.models {
7602
7917
  readonly pdf?: string;
7603
7918
  readonly png?: string;
7604
7919
  readonly html?: string;
7920
+ readonly required: boolean;
7605
7921
  }
7606
7922
 
7607
7923
  interface ShippingLabelPackage {
@@ -7645,6 +7961,7 @@ declare namespace io.flow.v0.models {
7645
7961
  }
7646
7962
 
7647
7963
  interface ShippingLaneDeleted {
7964
+ readonly discriminator: 'shipping_lane_deleted';
7648
7965
  readonly event_id: string;
7649
7966
  readonly timestamp: string;
7650
7967
  readonly shipping_lane: io.flow.v0.models.ShippingLane;
@@ -7665,6 +7982,7 @@ declare namespace io.flow.v0.models {
7665
7982
  }
7666
7983
 
7667
7984
  interface ShippingLaneUpserted {
7985
+ readonly discriminator: 'shipping_lane_upserted';
7668
7986
  readonly event_id: string;
7669
7987
  readonly timestamp: string;
7670
7988
  readonly organization: string;
@@ -7719,6 +8037,7 @@ declare namespace io.flow.v0.models {
7719
8037
  }
7720
8038
 
7721
8039
  interface ShopifyCartAddMultipleForm {
8040
+ readonly discriminator: 'shopify_cart_add_multiple_form';
7722
8041
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
7723
8042
  readonly attributes?: {
7724
8043
  [key: string]: string;
@@ -7726,6 +8045,7 @@ declare namespace io.flow.v0.models {
7726
8045
  }
7727
8046
 
7728
8047
  interface ShopifyCartAddSingleForm {
8048
+ readonly discriminator: 'shopify_cart_add_single_form';
7729
8049
  readonly id: number;
7730
8050
  readonly quantity: number;
7731
8051
  readonly properties?: {
@@ -7787,6 +8107,7 @@ declare namespace io.flow.v0.models {
7787
8107
  }
7788
8108
 
7789
8109
  interface ShopifyItemEventBucket {
8110
+ readonly discriminator: 'shopify_item_event_bucket';
7790
8111
  readonly range: io.flow.v0.models.DatetimeRange;
7791
8112
  readonly count: number;
7792
8113
  readonly data: io.flow.v0.models.ShopifyItemEventData[];
@@ -7832,6 +8153,7 @@ declare namespace io.flow.v0.models {
7832
8153
  }
7833
8154
 
7834
8155
  interface ShopifyLocalizationSettingDeleted {
8156
+ readonly discriminator: 'shopify_localization_setting_deleted';
7835
8157
  readonly event_id: string;
7836
8158
  readonly timestamp: string;
7837
8159
  readonly organization_id: string;
@@ -7844,6 +8166,7 @@ declare namespace io.flow.v0.models {
7844
8166
  }
7845
8167
 
7846
8168
  interface ShopifyLocalizationSettingUpserted {
8169
+ readonly discriminator: 'shopify_localization_setting_upserted';
7847
8170
  readonly event_id: string;
7848
8171
  readonly timestamp: string;
7849
8172
  readonly organization_id: string;
@@ -7906,6 +8229,7 @@ declare namespace io.flow.v0.models {
7906
8229
  readonly items: io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem[];
7907
8230
  readonly service: io.flow.v0.models.ServiceSummary;
7908
8231
  readonly window: io.flow.v0.models.DeliveryWindow;
8232
+ readonly liability?: io.flow.v0.enums.RatecardOwner;
7909
8233
  readonly cost?: io.flow.v0.models.MoneyWithOptionalBase;
7910
8234
  readonly prices?: io.flow.v0.models.ShopifyPrice[];
7911
8235
  readonly total?: io.flow.v0.models.ShopifyPrice;
@@ -7979,6 +8303,7 @@ declare namespace io.flow.v0.models {
7979
8303
  }
7980
8304
 
7981
8305
  interface SinglePackageShippingNotificationForm {
8306
+ readonly discriminator: 'single_package_shipping_notification_form';
7982
8307
  readonly fulfillment_key: string;
7983
8308
  readonly carrier_tracking_number: string;
7984
8309
  readonly package_dimensions?: io.flow.v0.models.Dimension;
@@ -7987,12 +8312,14 @@ declare namespace io.flow.v0.models {
7987
8312
  }
7988
8313
 
7989
8314
  interface SnapshotDeleted {
8315
+ readonly discriminator: 'snapshot_deleted';
7990
8316
  readonly event_id: string;
7991
8317
  readonly timestamp: string;
7992
8318
  readonly snapshot_id: string;
7993
8319
  }
7994
8320
 
7995
8321
  interface SnapshotUpserted {
8322
+ readonly discriminator: 'snapshot_upserted';
7996
8323
  readonly event_id: string;
7997
8324
  readonly timestamp: string;
7998
8325
  readonly organization: string;
@@ -8004,38 +8331,45 @@ declare namespace io.flow.v0.models {
8004
8331
  }
8005
8332
 
8006
8333
  interface SolidusProductExportType {
8334
+ readonly discriminator: 'solidus_product_export_type';
8007
8335
  readonly numbers?: string[];
8008
8336
  readonly sort?: string;
8009
8337
  }
8010
8338
 
8011
8339
  interface SolidusVariantExportType {
8340
+ readonly discriminator: 'solidus_variant_export_type';
8012
8341
  readonly numbers?: string[];
8013
8342
  readonly sort?: string;
8014
8343
  }
8015
8344
 
8016
8345
  interface StripeAuthenticationData {
8346
+ readonly discriminator: 'stripe_authentication_data';
8017
8347
  readonly secret_key_reference: string;
8018
8348
  }
8019
8349
 
8020
8350
  interface StripeAuthenticationDataForm {
8351
+ readonly discriminator: 'stripe_authentication_data_form';
8021
8352
  readonly account_id: string;
8022
8353
  readonly secret_key: string;
8023
8354
  readonly key?: string;
8024
8355
  }
8025
8356
 
8026
8357
  interface StripeAuthorizationResultActionDetails {
8358
+ readonly discriminator: 'stripe_authorization_result_action_details';
8027
8359
  readonly client_secret?: string;
8028
8360
  readonly payment_method_id?: string;
8029
8361
  readonly publishable_key?: string;
8030
8362
  }
8031
8363
 
8032
8364
  interface Subcatalog {
8365
+ readonly discriminator: 'subcatalog';
8033
8366
  readonly id: string;
8034
8367
  readonly catalog: io.flow.v0.models.Catalog;
8035
8368
  readonly settings: io.flow.v0.models.SubcatalogSettings;
8036
8369
  }
8037
8370
 
8038
8371
  interface SubcatalogDeleted {
8372
+ readonly discriminator: 'subcatalog_deleted';
8039
8373
  readonly event_id: string;
8040
8374
  readonly timestamp: string;
8041
8375
  readonly organization: string;
@@ -8054,6 +8388,7 @@ declare namespace io.flow.v0.models {
8054
8388
  }
8055
8389
 
8056
8390
  interface SubcatalogItemDeleted {
8391
+ readonly discriminator: 'subcatalog_item_deleted';
8057
8392
  readonly event_id: string;
8058
8393
  readonly timestamp: string;
8059
8394
  readonly organization: string;
@@ -8063,6 +8398,7 @@ declare namespace io.flow.v0.models {
8063
8398
  }
8064
8399
 
8065
8400
  interface SubcatalogItemUpserted {
8401
+ readonly discriminator: 'subcatalog_item_upserted';
8066
8402
  readonly event_id: string;
8067
8403
  readonly timestamp: string;
8068
8404
  readonly organization: string;
@@ -8096,6 +8432,7 @@ declare namespace io.flow.v0.models {
8096
8432
  }
8097
8433
 
8098
8434
  interface SubcatalogReference {
8435
+ readonly discriminator: 'subcatalog_reference';
8099
8436
  readonly id: string;
8100
8437
  }
8101
8438
 
@@ -8116,6 +8453,7 @@ declare namespace io.flow.v0.models {
8116
8453
  }
8117
8454
 
8118
8455
  interface SubcatalogUpserted {
8456
+ readonly discriminator: 'subcatalog_upserted';
8119
8457
  readonly event_id: string;
8120
8458
  readonly timestamp: string;
8121
8459
  readonly organization: string;
@@ -8136,6 +8474,7 @@ declare namespace io.flow.v0.models {
8136
8474
  }
8137
8475
 
8138
8476
  interface SummaryShippingLabelForm {
8477
+ readonly discriminator: 'summary_shipping_label_form';
8139
8478
  readonly order_number: string;
8140
8479
  readonly items: io.flow.v0.models.LineItemForm[];
8141
8480
  }
@@ -8179,12 +8518,14 @@ declare namespace io.flow.v0.models {
8179
8518
  }
8180
8519
 
8181
8520
  interface TargetingItemDeleted {
8521
+ readonly discriminator: 'targeting_item_deleted';
8182
8522
  readonly event_id: string;
8183
8523
  readonly timestamp: string;
8184
8524
  readonly id: string;
8185
8525
  }
8186
8526
 
8187
8527
  interface TargetingItemDeletedV3 {
8528
+ readonly discriminator: 'targeting_item_deleted_v3';
8188
8529
  readonly event_id: string;
8189
8530
  readonly timestamp: string;
8190
8531
  readonly organization: string;
@@ -8192,6 +8533,7 @@ declare namespace io.flow.v0.models {
8192
8533
  }
8193
8534
 
8194
8535
  interface TargetingItemUpserted {
8536
+ readonly discriminator: 'targeting_item_upserted';
8195
8537
  readonly event_id: string;
8196
8538
  readonly timestamp: string;
8197
8539
  readonly organization: string;
@@ -8206,6 +8548,7 @@ declare namespace io.flow.v0.models {
8206
8548
  }
8207
8549
 
8208
8550
  interface TargetingItemUpsertedV2 {
8551
+ readonly discriminator: 'targeting_item_upserted_v2';
8209
8552
  readonly event_id: string;
8210
8553
  readonly timestamp: string;
8211
8554
  readonly organization: string;
@@ -8286,6 +8629,7 @@ declare namespace io.flow.v0.models {
8286
8629
  }
8287
8630
 
8288
8631
  interface TierDeletedV2 {
8632
+ readonly discriminator: 'tier_deleted_v2';
8289
8633
  readonly event_id: string;
8290
8634
  readonly timestamp: string;
8291
8635
  readonly organization: string;
@@ -8359,6 +8703,7 @@ declare namespace io.flow.v0.models {
8359
8703
  }
8360
8704
 
8361
8705
  interface TierUpsertedV2 {
8706
+ readonly discriminator: 'tier_upserted_v2';
8362
8707
  readonly event_id: string;
8363
8708
  readonly timestamp: string;
8364
8709
  readonly organization: string;
@@ -8456,6 +8801,7 @@ declare namespace io.flow.v0.models {
8456
8801
  }
8457
8802
 
8458
8803
  interface TrackingLabelEventUpserted {
8804
+ readonly discriminator: 'tracking_label_event_upserted';
8459
8805
  readonly event_id: string;
8460
8806
  readonly timestamp: string;
8461
8807
  readonly organization: string;
@@ -8525,6 +8871,7 @@ declare namespace io.flow.v0.models {
8525
8871
  }
8526
8872
 
8527
8873
  interface UnharmonizedItemExportType {
8874
+ readonly discriminator: 'unharmonized_item_export_type';
8528
8875
  readonly sort?: string;
8529
8876
  }
8530
8877
 
@@ -8536,6 +8883,7 @@ declare namespace io.flow.v0.models {
8536
8883
  }
8537
8884
 
8538
8885
  interface User {
8886
+ readonly discriminator: 'user';
8539
8887
  readonly id: string;
8540
8888
  readonly email?: string;
8541
8889
  readonly name: io.flow.v0.models.Name;
@@ -8554,6 +8902,7 @@ declare namespace io.flow.v0.models {
8554
8902
  }
8555
8903
 
8556
8904
  interface UserReference {
8905
+ readonly discriminator: 'user_reference';
8557
8906
  readonly id: string;
8558
8907
  }
8559
8908
 
@@ -8596,6 +8945,7 @@ declare namespace io.flow.v0.models {
8596
8945
  }
8597
8946
 
8598
8947
  interface VirtualCardCaptureDeleted {
8948
+ readonly discriminator: 'virtual_card_capture_deleted';
8599
8949
  readonly event_id: string;
8600
8950
  readonly timestamp: string;
8601
8951
  readonly organization: string;
@@ -8603,6 +8953,7 @@ declare namespace io.flow.v0.models {
8603
8953
  }
8604
8954
 
8605
8955
  interface VirtualCardCaptureUpserted {
8956
+ readonly discriminator: 'virtual_card_capture_upserted';
8606
8957
  readonly event_id: string;
8607
8958
  readonly timestamp: string;
8608
8959
  readonly organization: string;
@@ -8639,6 +8990,7 @@ declare namespace io.flow.v0.models {
8639
8990
  }
8640
8991
 
8641
8992
  interface VirtualCardRefundDeleted {
8993
+ readonly discriminator: 'virtual_card_refund_deleted';
8642
8994
  readonly event_id: string;
8643
8995
  readonly timestamp: string;
8644
8996
  readonly organization: string;
@@ -8646,6 +8998,7 @@ declare namespace io.flow.v0.models {
8646
8998
  }
8647
8999
 
8648
9000
  interface VirtualCardRefundUpserted {
9001
+ readonly discriminator: 'virtual_card_refund_upserted';
8649
9002
  readonly event_id: string;
8650
9003
  readonly timestamp: string;
8651
9004
  readonly organization: string;
@@ -8733,785 +9086,275 @@ declare namespace io.flow.v0.models {
8733
9086
 
8734
9087
  declare namespace io.flow.v0.unions {
8735
9088
  type AdyenNativeData =
8736
- | {
8737
- discriminator: 'adyen_identify_shopper_data';
8738
- } & io.flow.v0.models.AdyenIdentifyShopperData
8739
- | {
8740
- discriminator: 'adyen_challenge_shopper_data';
8741
- } & io.flow.v0.models.AdyenChallengeShopperData;
8742
-
9089
+ | io.flow.v0.models.AdyenIdentifyShopperData
9090
+ | io.flow.v0.models.AdyenChallengeShopperData;
8743
9091
  type AllocationComponent =
8744
- | {
8745
- discriminator: 'allocation_detail_component';
8746
- } & io.flow.v0.models.AllocationDetailComponent
8747
- | {
8748
- discriminator: 'allocation_levy_component';
8749
- } & io.flow.v0.models.AllocationLevyComponent;
8750
-
9092
+ | io.flow.v0.models.AllocationDetailComponent
9093
+ | io.flow.v0.models.AllocationLevyComponent;
8751
9094
  type AllocationDetail =
8752
- | {
8753
- discriminator: 'allocation_line_detail';
8754
- } & io.flow.v0.models.AllocationLineDetail
8755
- | {
8756
- discriminator: 'allocation_order_detail';
8757
- } & io.flow.v0.models.AllocationOrderDetail;
8758
-
9095
+ | io.flow.v0.models.AllocationLineDetail
9096
+ | io.flow.v0.models.AllocationOrderDetail;
8759
9097
  type Authorization =
8760
- | {
8761
- discriminator: 'card_authorization';
8762
- } & io.flow.v0.models.CardAuthorization
8763
- | {
8764
- discriminator: 'online_authorization';
8765
- } & io.flow.v0.models.OnlineAuthorization;
8766
-
9098
+ | io.flow.v0.models.CardAuthorization
9099
+ | io.flow.v0.models.OnlineAuthorization;
8767
9100
  type AuthorizationForm =
8768
- | {
8769
- discriminator: 'authorization_copy_form';
8770
- } & io.flow.v0.models.AuthorizationCopyForm
8771
- | {
8772
- discriminator: 'direct_authorization_form';
8773
- } & io.flow.v0.models.DirectAuthorizationForm
8774
- | {
8775
- discriminator: 'merchant_of_record_authorization_form';
8776
- } & io.flow.v0.models.MerchantOfRecordAuthorizationForm
8777
- | {
8778
- discriminator: 'paypal_authorization_form';
8779
- } & io.flow.v0.models.PaypalAuthorizationForm
8780
- | {
8781
- discriminator: 'redirect_authorization_form';
8782
- } & io.flow.v0.models.RedirectAuthorizationForm
8783
- | {
8784
- discriminator: 'inline_authorization_form';
8785
- } & io.flow.v0.models.InlineAuthorizationForm
8786
- | {
8787
- discriminator: 'ach_authorization_form';
8788
- } & io.flow.v0.models.AchAuthorizationForm
8789
- | {
8790
- discriminator: 'card_payment_source_authorization_form';
8791
- } & io.flow.v0.models.CardPaymentSourceAuthorizationForm;
8792
-
9101
+ | io.flow.v0.models.AuthorizationCopyForm
9102
+ | io.flow.v0.models.DirectAuthorizationForm
9103
+ | io.flow.v0.models.MerchantOfRecordAuthorizationForm
9104
+ | io.flow.v0.models.PaypalAuthorizationForm
9105
+ | io.flow.v0.models.RedirectAuthorizationForm
9106
+ | io.flow.v0.models.InlineAuthorizationForm
9107
+ | io.flow.v0.models.AchAuthorizationForm
9108
+ | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
8793
9109
  type AuthorizationPayloadParameters =
8794
- | {
8795
- discriminator: 'google_pay_authorization_payload';
8796
- } & io.flow.v0.models.GooglePayAuthorizationPayload
8797
- | {
8798
- discriminator: 'apple_pay_merchant_validation_payload';
8799
- } & io.flow.v0.models.ApplePayMerchantValidationPayload;
8800
-
9110
+ | io.flow.v0.models.GooglePayAuthorizationPayload
9111
+ | io.flow.v0.models.ApplePayMerchantValidationPayload;
8801
9112
  type AuthorizationResultAction =
8802
- | {
8803
- discriminator: 'authorization_result_action_get';
8804
- } & io.flow.v0.models.AuthorizationResultActionGet
8805
- | {
8806
- discriminator: 'authorization_result_action_post';
8807
- } & io.flow.v0.models.AuthorizationResultActionPost
8808
- | {
8809
- discriminator: 'authorization_result_action_wait';
8810
- } & io.flow.v0.models.AuthorizationResultActionWait
8811
- | {
8812
- discriminator: 'authorization_result_action_native';
8813
- } & io.flow.v0.models.AuthorizationResultActionNative;
8814
-
9113
+ | io.flow.v0.models.AuthorizationResultActionGet
9114
+ | io.flow.v0.models.AuthorizationResultActionPost
9115
+ | io.flow.v0.models.AuthorizationResultActionWait
9116
+ | io.flow.v0.models.AuthorizationResultActionNative;
8815
9117
  type AuthorizationResultActionDetails =
8816
- | {
8817
- discriminator: 'adyen_native_action_details';
8818
- } & io.flow.v0.models.AdyenNativeActionDetails
8819
- | {
8820
- discriminator: 'stripe_authorization_result_action_details';
8821
- } & io.flow.v0.models.StripeAuthorizationResultActionDetails;
8822
-
9118
+ | io.flow.v0.models.AdyenNativeActionDetails
9119
+ | io.flow.v0.models.StripeAuthorizationResultActionDetails;
8823
9120
  type AvailableFilter =
8824
- | {
8825
- discriminator: 'structured';
8826
- } & io.flow.v0.models.AvailableFilterStructured
8827
- | {
8828
- discriminator: 'unstructured';
8829
- } & io.flow.v0.models.AvailableFilterUnstructured;
8830
-
9121
+ | io.flow.v0.models.AvailableFilterStructured
9122
+ | io.flow.v0.models.AvailableFilterUnstructured;
8831
9123
  type CheckoutTokenForm =
8832
- | {
8833
- discriminator: 'checkout_token_order_form';
8834
- } & io.flow.v0.models.CheckoutTokenOrderForm
8835
- | {
8836
- discriminator: 'checkout_token_reference_form';
8837
- } & io.flow.v0.models.CheckoutTokenReferenceForm;
8838
-
8839
- type ConfirmationDetails = {
8840
- discriminator: 'direct_debit';
8841
- } & io.flow.v0.models.DirectDebit;
8842
-
9124
+ | io.flow.v0.models.CheckoutTokenOrderForm
9125
+ | io.flow.v0.models.CheckoutTokenReferenceForm;
9126
+ type ConfirmationDetails = io.flow.v0.models.DirectDebit;
8843
9127
  type ConsumerInvoiceLine =
8844
- | {
8845
- discriminator: 'item';
8846
- } & io.flow.v0.models.ConsumerInvoiceLineItem
8847
- | {
8848
- discriminator: 'discount';
8849
- } & io.flow.v0.models.ConsumerInvoiceLineDiscount
8850
- | {
8851
- discriminator: 'shipping';
8852
- } & io.flow.v0.models.ConsumerInvoiceLineShipping;
8853
-
9128
+ | io.flow.v0.models.ConsumerInvoiceLineItem
9129
+ | io.flow.v0.models.ConsumerInvoiceLineDiscount
9130
+ | io.flow.v0.models.ConsumerInvoiceLineShipping;
8854
9131
  type ConsumerInvoiceLineForm =
8855
- | {
8856
- discriminator: 'item';
8857
- } & io.flow.v0.models.ConsumerInvoiceLineItemForm
8858
- | {
8859
- discriminator: 'discount';
8860
- } & io.flow.v0.models.ConsumerInvoiceLineDiscountForm
8861
- | {
8862
- discriminator: 'shipping';
8863
- } & io.flow.v0.models.ConsumerInvoiceLineShippingForm;
8864
-
9132
+ | io.flow.v0.models.ConsumerInvoiceLineItemForm
9133
+ | io.flow.v0.models.ConsumerInvoiceLineDiscountForm
9134
+ | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
8865
9135
  type Delivery =
8866
- | {
8867
- discriminator: 'digital_delivery';
8868
- } & io.flow.v0.models.DigitalDelivery
8869
- | {
8870
- discriminator: 'physical_delivery';
8871
- } & io.flow.v0.models.PhysicalDelivery;
8872
-
9136
+ | io.flow.v0.models.DigitalDelivery
9137
+ | io.flow.v0.models.PhysicalDelivery;
8873
9138
  type Deminimis =
8874
- | {
8875
- discriminator: 'deminimis_simple';
8876
- } & io.flow.v0.models.DeminimisSimple
8877
- | {
8878
- discriminator: 'deminimis_per_item';
8879
- } & io.flow.v0.models.DeminimisPerItem;
8880
-
9139
+ | io.flow.v0.models.DeminimisSimple
9140
+ | io.flow.v0.models.DeminimisPerItem;
8881
9141
  type DiscountOffer =
8882
- | {
8883
- discriminator: 'discount_offer_fixed';
8884
- } & io.flow.v0.models.DiscountOfferFixed
8885
- | {
8886
- discriminator: 'discount_offer_percent';
8887
- } & io.flow.v0.models.DiscountOfferPercent;
8888
-
9142
+ | io.flow.v0.models.DiscountOfferFixed
9143
+ | io.flow.v0.models.DiscountOfferPercent;
8889
9144
  type Document =
8890
- | {
8891
- discriminator: 'catalog_item_document';
8892
- } & io.flow.v0.models.CatalogItemDocument
8893
- | {
8894
- discriminator: 'harmonization_document';
8895
- } & io.flow.v0.models.HarmonizationDocument;
8896
-
8897
- type EmailNotificationData = {
8898
- discriminator: 'refund';
8899
- } & io.flow.v0.models.EmailNotificationDataRefund;
8900
-
9145
+ | io.flow.v0.models.CatalogItemDocument
9146
+ | io.flow.v0.models.HarmonizationDocument;
9147
+ type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund;
8901
9148
  type Event =
8902
- | {
8903
- discriminator: 'attribute_upserted';
8904
- } & io.flow.v0.models.AttributeUpserted
8905
- | {
8906
- discriminator: 'attribute_deleted';
8907
- } & io.flow.v0.models.AttributeDeleted
8908
- | {
8909
- discriminator: 'attribute_upserted_v2';
8910
- } & io.flow.v0.models.AttributeUpsertedV2
8911
- | {
8912
- discriminator: 'attribute_deleted_v2';
8913
- } & io.flow.v0.models.AttributeDeletedV2
8914
- | {
8915
- discriminator: 'catalog_upserted';
8916
- } & io.flow.v0.models.CatalogUpserted
8917
- | {
8918
- discriminator: 'catalog_deleted';
8919
- } & io.flow.v0.models.CatalogDeleted
8920
- | {
8921
- discriminator: 'subcatalog_upserted';
8922
- } & io.flow.v0.models.SubcatalogUpserted
8923
- | {
8924
- discriminator: 'subcatalog_deleted';
8925
- } & io.flow.v0.models.SubcatalogDeleted
8926
- | {
8927
- discriminator: 'catalog_item_upserted';
8928
- } & io.flow.v0.models.CatalogItemUpserted
8929
- | {
8930
- discriminator: 'catalog_item_deleted';
8931
- } & io.flow.v0.models.CatalogItemDeleted
8932
- | {
8933
- discriminator: 'catalog_item_upserted_v2';
8934
- } & io.flow.v0.models.CatalogItemUpsertedV2
8935
- | {
8936
- discriminator: 'catalog_item_deleted_v2';
8937
- } & io.flow.v0.models.CatalogItemDeletedV2
8938
- | {
8939
- discriminator: 'subcatalog_item_upserted';
8940
- } & io.flow.v0.models.SubcatalogItemUpserted
8941
- | {
8942
- discriminator: 'subcatalog_item_deleted';
8943
- } & io.flow.v0.models.SubcatalogItemDeleted
8944
- | {
8945
- discriminator: 'b2b_invoice_upserted';
8946
- } & io.flow.v0.models.B2BInvoiceUpserted
8947
- | {
8948
- discriminator: 'b2b_invoice_deleted';
8949
- } & io.flow.v0.models.B2BInvoiceDeleted
8950
- | {
8951
- discriminator: 'b2b_credit_memo_upserted';
8952
- } & io.flow.v0.models.B2BCreditMemoUpserted
8953
- | {
8954
- discriminator: 'b2b_credit_memo_deleted';
8955
- } & io.flow.v0.models.B2BCreditMemoDeleted
8956
- | {
8957
- discriminator: 'consumer_invoice_upserted';
8958
- } & io.flow.v0.models.ConsumerInvoiceUpserted
8959
- | {
8960
- discriminator: 'consumer_invoice_deleted';
8961
- } & io.flow.v0.models.ConsumerInvoiceDeleted
8962
- | {
8963
- discriminator: 'credit_memo_upserted';
8964
- } & io.flow.v0.models.CreditMemoUpserted
8965
- | {
8966
- discriminator: 'credit_memo_deleted';
8967
- } & io.flow.v0.models.CreditMemoDeleted
8968
- | {
8969
- discriminator: 'crossdock_shipment_upserted';
8970
- } & io.flow.v0.models.CrossdockShipmentUpserted
8971
- | {
8972
- discriminator: 'rate_deleted';
8973
- } & io.flow.v0.models.RateDeleted
8974
- | {
8975
- discriminator: 'rate_upserted';
8976
- } & io.flow.v0.models.RateUpserted
8977
- | {
8978
- discriminator: 'rate_deleted_v3';
8979
- } & io.flow.v0.models.RateDeletedV3
8980
- | {
8981
- discriminator: 'rate_upserted_v3';
8982
- } & io.flow.v0.models.RateUpsertedV3
8983
- | {
8984
- discriminator: 'customer_upserted';
8985
- } & io.flow.v0.models.CustomerUpserted
8986
- | {
8987
- discriminator: 'customer_deleted';
8988
- } & io.flow.v0.models.CustomerDeleted
8989
- | {
8990
- discriminator: 'customer_address_book_contact_upserted';
8991
- } & io.flow.v0.models.CustomerAddressBookContactUpserted
8992
- | {
8993
- discriminator: 'customer_address_book_contact_deleted';
8994
- } & io.flow.v0.models.CustomerAddressBookContactDeleted
8995
- | {
8996
- discriminator: 'email_notification_upserted';
8997
- } & io.flow.v0.models.EmailNotificationUpserted
8998
- | {
8999
- discriminator: 'email_notification_deleted';
9000
- } & io.flow.v0.models.EmailNotificationDeleted
9001
- | {
9002
- discriminator: 'available_promotions_upserted';
9003
- } & io.flow.v0.models.AvailablePromotionsUpserted
9004
- | {
9005
- discriminator: 'available_promotions_deleted';
9006
- } & io.flow.v0.models.AvailablePromotionsDeleted
9007
- | {
9008
- discriminator: 'available_promotions_upserted_v2';
9009
- } & io.flow.v0.models.AvailablePromotionsUpsertedV2
9010
- | {
9011
- discriminator: 'available_promotions_deleted_v2';
9012
- } & io.flow.v0.models.AvailablePromotionsDeletedV2
9013
- | {
9014
- discriminator: 'allocation_deleted_v2';
9015
- } & io.flow.v0.models.AllocationDeletedV2
9016
- | {
9017
- discriminator: 'allocation_upserted_v2';
9018
- } & io.flow.v0.models.AllocationUpsertedV2
9019
- | {
9020
- discriminator: 'currency_format_deleted';
9021
- } & io.flow.v0.models.CurrencyFormatDeleted
9022
- | {
9023
- discriminator: 'currency_format_upserted';
9024
- } & io.flow.v0.models.CurrencyFormatUpserted
9025
- | {
9026
- discriminator: 'experience_deleted';
9027
- } & io.flow.v0.models.ExperienceDeleted
9028
- | {
9029
- discriminator: 'experience_upserted';
9030
- } & io.flow.v0.models.ExperienceUpserted
9031
- | {
9032
- discriminator: 'experience_deleted_v2';
9033
- } & io.flow.v0.models.ExperienceDeletedV2
9034
- | {
9035
- discriminator: 'experience_upserted_v2';
9036
- } & io.flow.v0.models.ExperienceUpsertedV2
9037
- | {
9038
- discriminator: 'experience_price_book_mapping_deleted';
9039
- } & io.flow.v0.models.ExperiencePriceBookMappingDeleted
9040
- | {
9041
- discriminator: 'experience_price_book_mapping_upserted';
9042
- } & io.flow.v0.models.ExperiencePriceBookMappingUpserted
9043
- | {
9044
- discriminator: 'experience_logistics_settings_upserted';
9045
- } & io.flow.v0.models.ExperienceLogisticsSettingsUpserted
9046
- | {
9047
- discriminator: 'experience_logistics_settings_deleted';
9048
- } & io.flow.v0.models.ExperienceLogisticsSettingsDeleted
9049
- | {
9050
- discriminator: 'item_margin_deleted';
9051
- } & io.flow.v0.models.ItemMarginDeleted
9052
- | {
9053
- discriminator: 'item_margin_upserted';
9054
- } & io.flow.v0.models.ItemMarginUpserted
9055
- | {
9056
- discriminator: 'item_sales_margin_deleted';
9057
- } & io.flow.v0.models.ItemSalesMarginDeleted
9058
- | {
9059
- discriminator: 'item_sales_margin_upserted';
9060
- } & io.flow.v0.models.ItemSalesMarginUpserted
9061
- | {
9062
- discriminator: 'label_format_deleted';
9063
- } & io.flow.v0.models.LabelFormatDeleted
9064
- | {
9065
- discriminator: 'label_format_upserted';
9066
- } & io.flow.v0.models.LabelFormatUpserted
9067
- | {
9068
- discriminator: 'order_deleted';
9069
- } & io.flow.v0.models.OrderDeleted
9070
- | {
9071
- discriminator: 'order_upserted';
9072
- } & io.flow.v0.models.OrderUpserted
9073
- | {
9074
- discriminator: 'order_deleted_v2';
9075
- } & io.flow.v0.models.OrderDeletedV2
9076
- | {
9077
- discriminator: 'order_upserted_v2';
9078
- } & io.flow.v0.models.OrderUpsertedV2
9079
- | {
9080
- discriminator: 'order_identifier_deleted';
9081
- } & io.flow.v0.models.OrderIdentifierDeleted
9082
- | {
9083
- discriminator: 'order_identifier_upserted';
9084
- } & io.flow.v0.models.OrderIdentifierUpserted
9085
- | {
9086
- discriminator: 'order_identifier_deleted_v2';
9087
- } & io.flow.v0.models.OrderIdentifierDeletedV2
9088
- | {
9089
- discriminator: 'order_identifier_upserted_v2';
9090
- } & io.flow.v0.models.OrderIdentifierUpsertedV2
9091
- | {
9092
- discriminator: 'order_identifier_upserted_v3';
9093
- } & io.flow.v0.models.OrderIdentifierUpsertedV3
9094
- | {
9095
- discriminator: 'pricing_deleted';
9096
- } & io.flow.v0.models.PricingDeleted
9097
- | {
9098
- discriminator: 'pricing_upserted';
9099
- } & io.flow.v0.models.PricingUpserted
9100
- | {
9101
- discriminator: 'order_service_change_request';
9102
- } & io.flow.v0.models.OrderServiceChangeRequest
9103
- | {
9104
- discriminator: 'fraud_status_changed';
9105
- } & io.flow.v0.models.FraudStatusChanged
9106
- | {
9107
- discriminator: 'center_upserted';
9108
- } & io.flow.v0.models.CenterUpserted
9109
- | {
9110
- discriminator: 'center_deleted';
9111
- } & io.flow.v0.models.CenterDeleted
9112
- | {
9113
- discriminator: 'shipping_configuration_upserted';
9114
- } & io.flow.v0.models.ShippingConfigurationUpserted
9115
- | {
9116
- discriminator: 'shipping_configuration_deleted';
9117
- } & io.flow.v0.models.ShippingConfigurationDeleted
9118
- | {
9119
- discriminator: 'tier_upserted_v2';
9120
- } & io.flow.v0.models.TierUpsertedV2
9121
- | {
9122
- discriminator: 'tier_deleted_v2';
9123
- } & io.flow.v0.models.TierDeletedV2
9124
- | {
9125
- discriminator: 'shipping_lane_upserted';
9126
- } & io.flow.v0.models.ShippingLaneUpserted
9127
- | {
9128
- discriminator: 'shipping_lane_deleted';
9129
- } & io.flow.v0.models.ShippingLaneDeleted
9130
- | {
9131
- discriminator: 'shipping_configuration_item_availability_upserted';
9132
- } & io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted
9133
- | {
9134
- discriminator: 'shipping_configuration_item_availability_deleted';
9135
- } & io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted
9136
- | {
9137
- discriminator: 'shipping_configuration_item_shipping_pricing_upserted';
9138
- } & io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted
9139
- | {
9140
- discriminator: 'shipping_configuration_item_shipping_pricing_deleted';
9141
- } & io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted
9142
- | {
9143
- discriminator: 'hs6_code_upserted';
9144
- } & io.flow.v0.models.Hs6CodeUpserted
9145
- | {
9146
- discriminator: 'hs6_code_deleted';
9147
- } & io.flow.v0.models.Hs6CodeDeleted
9148
- | {
9149
- discriminator: 'hs10_code_upserted';
9150
- } & io.flow.v0.models.Hs10CodeUpserted
9151
- | {
9152
- discriminator: 'hs10_code_deleted';
9153
- } & io.flow.v0.models.Hs10CodeDeleted
9154
- | {
9155
- discriminator: 'item_origin_upserted';
9156
- } & io.flow.v0.models.ItemOriginUpserted
9157
- | {
9158
- discriminator: 'item_origin_deleted';
9159
- } & io.flow.v0.models.ItemOriginDeleted
9160
- | {
9161
- discriminator: 'harmonized_landed_cost_upserted';
9162
- } & io.flow.v0.models.HarmonizedLandedCostUpserted
9163
- | {
9164
- discriminator: 'fully_harmonized_item_upserted';
9165
- } & io.flow.v0.models.FullyHarmonizedItemUpserted
9166
- | {
9167
- discriminator: 'rule_upserted';
9168
- } & io.flow.v0.models.RuleUpserted
9169
- | {
9170
- discriminator: 'rule_deleted';
9171
- } & io.flow.v0.models.RuleDeleted
9172
- | {
9173
- discriminator: 'serial_upserted';
9174
- } & io.flow.v0.models.SerialUpserted
9175
- | {
9176
- discriminator: 'serial_deleted';
9177
- } & io.flow.v0.models.SerialDeleted
9178
- | {
9179
- discriminator: 'snapshot_upserted';
9180
- } & io.flow.v0.models.SnapshotUpserted
9181
- | {
9182
- discriminator: 'snapshot_deleted';
9183
- } & io.flow.v0.models.SnapshotDeleted
9184
- | {
9185
- discriminator: 'label_upserted';
9186
- } & io.flow.v0.models.LabelUpserted
9187
- | {
9188
- discriminator: 'notification_upserted';
9189
- } & io.flow.v0.models.NotificationUpserted
9190
- | {
9191
- discriminator: 'notification_deleted';
9192
- } & io.flow.v0.models.NotificationDeleted
9193
- | {
9194
- discriminator: 'manifested_label_upserted';
9195
- } & io.flow.v0.models.ManifestedLabelUpserted
9196
- | {
9197
- discriminator: 'manifested_label_deleted';
9198
- } & io.flow.v0.models.ManifestedLabelDeleted
9199
- | {
9200
- discriminator: 'local_item_upserted';
9201
- } & io.flow.v0.models.LocalItemUpserted
9202
- | {
9203
- discriminator: 'local_item_deleted';
9204
- } & io.flow.v0.models.LocalItemDeleted
9205
- | {
9206
- discriminator: 'checkout_optin_responses_upserted';
9207
- } & io.flow.v0.models.CheckoutOptinResponsesUpserted
9208
- | {
9209
- discriminator: 'checkout_optin_responses_deleted';
9210
- } & io.flow.v0.models.CheckoutOptinResponsesDeleted
9211
- | {
9212
- discriminator: 'browse_optin_responses_upserted';
9213
- } & io.flow.v0.models.BrowseOptinResponsesUpserted
9214
- | {
9215
- discriminator: 'browse_optin_responses_deleted';
9216
- } & io.flow.v0.models.BrowseOptinResponsesDeleted
9217
- | {
9218
- discriminator: 'order_placed';
9219
- } & io.flow.v0.models.OrderPlaced
9220
- | {
9221
- discriminator: 'order_placed_v2';
9222
- } & io.flow.v0.models.OrderPlacedV2
9223
- | {
9224
- discriminator: 'ready_to_fulfill';
9225
- } & io.flow.v0.models.ReadyToFulfill
9226
- | {
9227
- discriminator: 'membership_upserted_v2';
9228
- } & io.flow.v0.models.MembershipUpsertedV2
9229
- | {
9230
- discriminator: 'membership_deleted_v2';
9231
- } & io.flow.v0.models.MembershipDeletedV2
9232
- | {
9233
- discriminator: 'organization_upserted';
9234
- } & io.flow.v0.models.OrganizationUpserted
9235
- | {
9236
- discriminator: 'organization_deleted';
9237
- } & io.flow.v0.models.OrganizationDeleted
9238
- | {
9239
- discriminator: 'organization_upserted_v2';
9240
- } & io.flow.v0.models.OrganizationUpsertedV2
9241
- | {
9242
- discriminator: 'organization_deleted_v2';
9243
- } & io.flow.v0.models.OrganizationDeletedV2
9244
- | {
9245
- discriminator: 'organization_short_id_upserted';
9246
- } & io.flow.v0.models.OrganizationShortIdUpserted
9247
- | {
9248
- discriminator: 'organization_short_id_deleted';
9249
- } & io.flow.v0.models.OrganizationShortIdDeleted
9250
- | {
9251
- discriminator: 'organization_default_configurations_upserted';
9252
- } & io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
9253
- | {
9254
- discriminator: 'organization_default_configurations_deleted';
9255
- } & io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
9256
- | {
9257
- discriminator: 'ecommerce_platform_upserted';
9258
- } & io.flow.v0.models.EcommercePlatformUpserted
9259
- | {
9260
- discriminator: 'ecommerce_platform_deleted';
9261
- } & io.flow.v0.models.EcommercePlatformDeleted
9262
- | {
9263
- discriminator: 'authorization_deleted_v2';
9264
- } & io.flow.v0.models.AuthorizationDeletedV2
9265
- | {
9266
- discriminator: 'authorization_status_changed';
9267
- } & io.flow.v0.models.AuthorizationStatusChanged
9268
- | {
9269
- discriminator: 'card_authorization_upserted_v2';
9270
- } & io.flow.v0.models.CardAuthorizationUpsertedV2
9271
- | {
9272
- discriminator: 'card_authorization_deleted_v2';
9273
- } & io.flow.v0.models.CardAuthorizationDeletedV2
9274
- | {
9275
- discriminator: 'online_authorization_upserted_v2';
9276
- } & io.flow.v0.models.OnlineAuthorizationUpsertedV2
9277
- | {
9278
- discriminator: 'online_authorization_deleted_v2';
9279
- } & io.flow.v0.models.OnlineAuthorizationDeletedV2
9280
- | {
9281
- discriminator: 'capture_upserted_v2';
9282
- } & io.flow.v0.models.CaptureUpsertedV2
9283
- | {
9284
- discriminator: 'capture_deleted';
9285
- } & io.flow.v0.models.CaptureDeleted
9286
- | {
9287
- discriminator: 'card_upserted_v2';
9288
- } & io.flow.v0.models.CardUpsertedV2
9289
- | {
9290
- discriminator: 'card_deleted';
9291
- } & io.flow.v0.models.CardDeleted
9292
- | {
9293
- discriminator: 'payment_upserted';
9294
- } & io.flow.v0.models.PaymentUpserted
9295
- | {
9296
- discriminator: 'payment_deleted';
9297
- } & io.flow.v0.models.PaymentDeleted
9298
- | {
9299
- discriminator: 'refund_upserted_v2';
9300
- } & io.flow.v0.models.RefundUpsertedV2
9301
- | {
9302
- discriminator: 'refund_deleted_v2';
9303
- } & io.flow.v0.models.RefundDeletedV2
9304
- | {
9305
- discriminator: 'refund_capture_upserted_v2';
9306
- } & io.flow.v0.models.RefundCaptureUpsertedV2
9307
- | {
9308
- discriminator: 'reversal_upserted';
9309
- } & io.flow.v0.models.ReversalUpserted
9310
- | {
9311
- discriminator: 'reversal_deleted';
9312
- } & io.flow.v0.models.ReversalDeleted
9313
- | {
9314
- discriminator: 'capture_identifier_upserted';
9315
- } & io.flow.v0.models.CaptureIdentifierUpserted
9316
- | {
9317
- discriminator: 'capture_identifier_deleted';
9318
- } & io.flow.v0.models.CaptureIdentifierDeleted
9319
- | {
9320
- discriminator: 'refund_identifier_upserted';
9321
- } & io.flow.v0.models.RefundIdentifierUpserted
9322
- | {
9323
- discriminator: 'refund_identifier_deleted';
9324
- } & io.flow.v0.models.RefundIdentifierDeleted
9325
- | {
9326
- discriminator: 'virtual_card_capture_upserted';
9327
- } & io.flow.v0.models.VirtualCardCaptureUpserted
9328
- | {
9329
- discriminator: 'virtual_card_capture_deleted';
9330
- } & io.flow.v0.models.VirtualCardCaptureDeleted
9331
- | {
9332
- discriminator: 'virtual_card_refund_upserted';
9333
- } & io.flow.v0.models.VirtualCardRefundUpserted
9334
- | {
9335
- discriminator: 'virtual_card_refund_deleted';
9336
- } & io.flow.v0.models.VirtualCardRefundDeleted
9337
- | {
9338
- discriminator: 'price_book_upserted';
9339
- } & io.flow.v0.models.PriceBookUpserted
9340
- | {
9341
- discriminator: 'price_book_deleted';
9342
- } & io.flow.v0.models.PriceBookDeleted
9343
- | {
9344
- discriminator: 'price_book_item_upserted';
9345
- } & io.flow.v0.models.PriceBookItemUpserted
9346
- | {
9347
- discriminator: 'price_book_item_deleted';
9348
- } & io.flow.v0.models.PriceBookItemDeleted
9349
- | {
9350
- discriminator: 'organization_rates_published';
9351
- } & io.flow.v0.models.OrganizationRatesPublished
9352
- | {
9353
- discriminator: 'ratecard_lane_upserted';
9354
- } & io.flow.v0.models.RatecardLaneUpserted
9355
- | {
9356
- discriminator: 'ratecard_lane_deleted';
9357
- } & io.flow.v0.models.RatecardLaneDeleted
9358
- | {
9359
- discriminator: 'ratecard_upserted';
9360
- } & io.flow.v0.models.RatecardUpserted
9361
- | {
9362
- discriminator: 'ratecard_deleted';
9363
- } & io.flow.v0.models.RatecardDeleted
9364
- | {
9365
- discriminator: 'return_upserted';
9366
- } & io.flow.v0.models.ReturnUpserted
9367
- | {
9368
- discriminator: 'return_deleted';
9369
- } & io.flow.v0.models.ReturnDeleted
9370
- | {
9371
- discriminator: 'shopify_localization_setting_upserted';
9372
- } & io.flow.v0.models.ShopifyLocalizationSettingUpserted
9373
- | {
9374
- discriminator: 'shopify_localization_setting_deleted';
9375
- } & io.flow.v0.models.ShopifyLocalizationSettingDeleted
9376
- | {
9377
- discriminator: 'targeting_item_upserted';
9378
- } & io.flow.v0.models.TargetingItemUpserted
9379
- | {
9380
- discriminator: 'targeting_item_upserted_v2';
9381
- } & io.flow.v0.models.TargetingItemUpsertedV2
9382
- | {
9383
- discriminator: 'targeting_item_deleted';
9384
- } & io.flow.v0.models.TargetingItemDeleted
9385
- | {
9386
- discriminator: 'targeting_item_deleted_v3';
9387
- } & io.flow.v0.models.TargetingItemDeletedV3
9388
- | {
9389
- discriminator: 'tracking_label_event_upserted';
9390
- } & io.flow.v0.models.TrackingLabelEventUpserted;
9391
-
9149
+ | io.flow.v0.models.AttributeUpserted
9150
+ | io.flow.v0.models.AttributeDeleted
9151
+ | io.flow.v0.models.AttributeUpsertedV2
9152
+ | io.flow.v0.models.AttributeDeletedV2
9153
+ | io.flow.v0.models.CatalogUpserted
9154
+ | io.flow.v0.models.CatalogDeleted
9155
+ | io.flow.v0.models.SubcatalogUpserted
9156
+ | io.flow.v0.models.SubcatalogDeleted
9157
+ | io.flow.v0.models.CatalogItemUpserted
9158
+ | io.flow.v0.models.CatalogItemDeleted
9159
+ | io.flow.v0.models.CatalogItemUpsertedV2
9160
+ | io.flow.v0.models.CatalogItemDeletedV2
9161
+ | io.flow.v0.models.SubcatalogItemUpserted
9162
+ | io.flow.v0.models.SubcatalogItemDeleted
9163
+ | io.flow.v0.models.B2BInvoiceUpserted
9164
+ | io.flow.v0.models.B2BInvoiceDeleted
9165
+ | io.flow.v0.models.B2BCreditMemoUpserted
9166
+ | io.flow.v0.models.B2BCreditMemoDeleted
9167
+ | io.flow.v0.models.ConsumerInvoiceUpserted
9168
+ | io.flow.v0.models.ConsumerInvoiceDeleted
9169
+ | io.flow.v0.models.CreditMemoUpserted
9170
+ | io.flow.v0.models.CreditMemoDeleted
9171
+ | io.flow.v0.models.CrossdockShipmentUpserted
9172
+ | io.flow.v0.models.RateDeleted
9173
+ | io.flow.v0.models.RateUpserted
9174
+ | io.flow.v0.models.RateDeletedV3
9175
+ | io.flow.v0.models.RateUpsertedV3
9176
+ | io.flow.v0.models.CustomerUpserted
9177
+ | io.flow.v0.models.CustomerDeleted
9178
+ | io.flow.v0.models.CustomerAddressBookContactUpserted
9179
+ | io.flow.v0.models.CustomerAddressBookContactDeleted
9180
+ | io.flow.v0.models.EmailNotificationUpserted
9181
+ | io.flow.v0.models.EmailNotificationDeleted
9182
+ | io.flow.v0.models.AvailablePromotionsUpserted
9183
+ | io.flow.v0.models.AvailablePromotionsDeleted
9184
+ | io.flow.v0.models.AvailablePromotionsUpsertedV2
9185
+ | io.flow.v0.models.AvailablePromotionsDeletedV2
9186
+ | io.flow.v0.models.AllocationDeletedV2
9187
+ | io.flow.v0.models.AllocationUpsertedV2
9188
+ | io.flow.v0.models.CurrencyFormatDeleted
9189
+ | io.flow.v0.models.CurrencyFormatUpserted
9190
+ | io.flow.v0.models.ExperienceDeleted
9191
+ | io.flow.v0.models.ExperienceUpserted
9192
+ | io.flow.v0.models.ExperienceDeletedV2
9193
+ | io.flow.v0.models.ExperienceUpsertedV2
9194
+ | io.flow.v0.models.ExperiencePriceBookMappingDeleted
9195
+ | io.flow.v0.models.ExperiencePriceBookMappingUpserted
9196
+ | io.flow.v0.models.ExperienceLogisticsSettingsUpserted
9197
+ | io.flow.v0.models.ExperienceLogisticsSettingsDeleted
9198
+ | io.flow.v0.models.ItemMarginDeleted
9199
+ | io.flow.v0.models.ItemMarginUpserted
9200
+ | io.flow.v0.models.ItemSalesMarginDeleted
9201
+ | io.flow.v0.models.ItemSalesMarginUpserted
9202
+ | io.flow.v0.models.LabelFormatDeleted
9203
+ | io.flow.v0.models.LabelFormatUpserted
9204
+ | io.flow.v0.models.OrderDeleted
9205
+ | io.flow.v0.models.OrderUpserted
9206
+ | io.flow.v0.models.OrderDeletedV2
9207
+ | io.flow.v0.models.OrderUpsertedV2
9208
+ | io.flow.v0.models.OrderIdentifierDeleted
9209
+ | io.flow.v0.models.OrderIdentifierUpserted
9210
+ | io.flow.v0.models.OrderIdentifierDeletedV2
9211
+ | io.flow.v0.models.OrderIdentifierUpsertedV2
9212
+ | io.flow.v0.models.OrderIdentifierUpsertedV3
9213
+ | io.flow.v0.models.PricingDeleted
9214
+ | io.flow.v0.models.PricingUpserted
9215
+ | io.flow.v0.models.OrderServiceChangeRequest
9216
+ | io.flow.v0.models.FraudStatusChanged
9217
+ | io.flow.v0.models.CenterUpserted
9218
+ | io.flow.v0.models.CenterDeleted
9219
+ | io.flow.v0.models.ShippingConfigurationUpserted
9220
+ | io.flow.v0.models.ShippingConfigurationDeleted
9221
+ | io.flow.v0.models.TierUpsertedV2
9222
+ | io.flow.v0.models.TierDeletedV2
9223
+ | io.flow.v0.models.ShippingLaneUpserted
9224
+ | io.flow.v0.models.ShippingLaneDeleted
9225
+ | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted
9226
+ | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted
9227
+ | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted
9228
+ | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted
9229
+ | io.flow.v0.models.Hs6CodeUpserted
9230
+ | io.flow.v0.models.Hs6CodeDeleted
9231
+ | io.flow.v0.models.Hs10CodeUpserted
9232
+ | io.flow.v0.models.Hs10CodeDeleted
9233
+ | io.flow.v0.models.ItemOriginUpserted
9234
+ | io.flow.v0.models.ItemOriginDeleted
9235
+ | io.flow.v0.models.HarmonizedLandedCostUpserted
9236
+ | io.flow.v0.models.FullyHarmonizedItemUpserted
9237
+ | io.flow.v0.models.RuleUpserted
9238
+ | io.flow.v0.models.RuleDeleted
9239
+ | io.flow.v0.models.SerialUpserted
9240
+ | io.flow.v0.models.SerialDeleted
9241
+ | io.flow.v0.models.SnapshotUpserted
9242
+ | io.flow.v0.models.SnapshotDeleted
9243
+ | io.flow.v0.models.LabelUpserted
9244
+ | io.flow.v0.models.LabelDeletedV2
9245
+ | io.flow.v0.models.LabelUpsertedV2
9246
+ | io.flow.v0.models.NotificationUpserted
9247
+ | io.flow.v0.models.NotificationDeleted
9248
+ | io.flow.v0.models.ManifestedLabelUpserted
9249
+ | io.flow.v0.models.ManifestedLabelDeleted
9250
+ | io.flow.v0.models.LocalItemUpserted
9251
+ | io.flow.v0.models.LocalItemDeleted
9252
+ | io.flow.v0.models.CheckoutOptinResponsesUpserted
9253
+ | io.flow.v0.models.CheckoutOptinResponsesDeleted
9254
+ | io.flow.v0.models.BrowseOptinResponsesUpserted
9255
+ | io.flow.v0.models.BrowseOptinResponsesDeleted
9256
+ | io.flow.v0.models.OrderPlaced
9257
+ | io.flow.v0.models.OrderPlacedV2
9258
+ | io.flow.v0.models.ReadyToFulfill
9259
+ | io.flow.v0.models.MembershipUpsertedV2
9260
+ | io.flow.v0.models.MembershipDeletedV2
9261
+ | io.flow.v0.models.OrganizationUpserted
9262
+ | io.flow.v0.models.OrganizationDeleted
9263
+ | io.flow.v0.models.OrganizationUpsertedV2
9264
+ | io.flow.v0.models.OrganizationDeletedV2
9265
+ | io.flow.v0.models.OrganizationShortIdUpserted
9266
+ | io.flow.v0.models.OrganizationShortIdDeleted
9267
+ | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
9268
+ | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
9269
+ | io.flow.v0.models.EcommercePlatformUpserted
9270
+ | io.flow.v0.models.EcommercePlatformDeleted
9271
+ | io.flow.v0.models.AuthorizationDeletedV2
9272
+ | io.flow.v0.models.AuthorizationStatusChanged
9273
+ | io.flow.v0.models.CardAuthorizationUpsertedV2
9274
+ | io.flow.v0.models.CardAuthorizationDeletedV2
9275
+ | io.flow.v0.models.OnlineAuthorizationUpsertedV2
9276
+ | io.flow.v0.models.OnlineAuthorizationDeletedV2
9277
+ | io.flow.v0.models.CaptureUpsertedV2
9278
+ | io.flow.v0.models.CaptureDeleted
9279
+ | io.flow.v0.models.CardUpsertedV2
9280
+ | io.flow.v0.models.CardDeleted
9281
+ | io.flow.v0.models.PaymentUpserted
9282
+ | io.flow.v0.models.PaymentDeleted
9283
+ | io.flow.v0.models.RefundUpsertedV2
9284
+ | io.flow.v0.models.RefundDeletedV2
9285
+ | io.flow.v0.models.RefundCaptureUpsertedV2
9286
+ | io.flow.v0.models.ReversalUpserted
9287
+ | io.flow.v0.models.ReversalDeleted
9288
+ | io.flow.v0.models.CaptureIdentifierUpserted
9289
+ | io.flow.v0.models.CaptureIdentifierDeleted
9290
+ | io.flow.v0.models.RefundIdentifierUpserted
9291
+ | io.flow.v0.models.RefundIdentifierDeleted
9292
+ | io.flow.v0.models.VirtualCardCaptureUpserted
9293
+ | io.flow.v0.models.VirtualCardCaptureDeleted
9294
+ | io.flow.v0.models.VirtualCardRefundUpserted
9295
+ | io.flow.v0.models.VirtualCardRefundDeleted
9296
+ | io.flow.v0.models.PriceBookUpserted
9297
+ | io.flow.v0.models.PriceBookDeleted
9298
+ | io.flow.v0.models.PriceBookItemUpserted
9299
+ | io.flow.v0.models.PriceBookItemDeleted
9300
+ | io.flow.v0.models.OrganizationRatesPublished
9301
+ | io.flow.v0.models.RatecardLaneUpserted
9302
+ | io.flow.v0.models.RatecardLaneDeleted
9303
+ | io.flow.v0.models.RatecardUpserted
9304
+ | io.flow.v0.models.RatecardDeleted
9305
+ | io.flow.v0.models.ReturnUpserted
9306
+ | io.flow.v0.models.ReturnDeleted
9307
+ | io.flow.v0.models.ShopifyLocalizationSettingUpserted
9308
+ | io.flow.v0.models.ShopifyLocalizationSettingDeleted
9309
+ | io.flow.v0.models.TargetingItemUpserted
9310
+ | io.flow.v0.models.TargetingItemUpsertedV2
9311
+ | io.flow.v0.models.TargetingItemDeleted
9312
+ | io.flow.v0.models.TargetingItemDeletedV3
9313
+ | io.flow.v0.models.TrackingLabelEventUpserted;
9392
9314
  type ExpandableCard =
9393
- | {
9394
- discriminator: 'card';
9395
- } & io.flow.v0.models.Card
9396
- | {
9397
- discriminator: 'card_reference';
9398
- } & io.flow.v0.models.CardReference
9399
- | {
9400
- discriminator: 'card_summary';
9401
- } & io.flow.v0.models.CardSummary;
9402
-
9315
+ | io.flow.v0.models.Card
9316
+ | io.flow.v0.models.CardReference
9317
+ | io.flow.v0.models.CardSummary;
9403
9318
  type ExpandableCenter =
9404
- | {
9405
- discriminator: 'center';
9406
- } & io.flow.v0.models.Center
9407
- | {
9408
- discriminator: 'center_reference';
9409
- } & io.flow.v0.models.CenterReference;
9410
-
9319
+ | io.flow.v0.models.Center
9320
+ | io.flow.v0.models.CenterReference;
9411
9321
  type ExpandableExperience =
9412
- | {
9413
- discriminator: 'experience';
9414
- } & io.flow.v0.models.Experience
9415
- | {
9416
- discriminator: 'experience_reference';
9417
- } & io.flow.v0.models.ExperienceReference;
9418
-
9322
+ | io.flow.v0.models.Experience
9323
+ | io.flow.v0.models.ExperienceReference;
9419
9324
  type ExpandableOrder =
9420
- | {
9421
- discriminator: 'order';
9422
- } & io.flow.v0.models.Order
9423
- | {
9424
- discriminator: 'order_reference';
9425
- } & io.flow.v0.models.OrderReference;
9426
-
9325
+ | io.flow.v0.models.Order
9326
+ | io.flow.v0.models.OrderReference;
9427
9327
  type ExpandableOrganization =
9428
- | {
9429
- discriminator: 'organization';
9430
- } & io.flow.v0.models.Organization
9431
- | {
9432
- discriminator: 'organization_reference';
9433
- } & io.flow.v0.models.OrganizationReference;
9434
-
9328
+ | io.flow.v0.models.Organization
9329
+ | io.flow.v0.models.OrganizationReference;
9435
9330
  type ExpandableSubcatalog =
9436
- | {
9437
- discriminator: 'subcatalog';
9438
- } & io.flow.v0.models.Subcatalog
9439
- | {
9440
- discriminator: 'subcatalog_reference';
9441
- } & io.flow.v0.models.SubcatalogReference;
9442
-
9331
+ | io.flow.v0.models.Subcatalog
9332
+ | io.flow.v0.models.SubcatalogReference;
9443
9333
  type ExpandableUser =
9444
- | {
9445
- discriminator: 'user';
9446
- } & io.flow.v0.models.User
9447
- | {
9448
- discriminator: 'user_reference';
9449
- } & io.flow.v0.models.UserReference;
9450
-
9451
- type ExportDelivery = {
9452
- discriminator: 'export_delivery_email';
9453
- } & io.flow.v0.models.ExportDeliveryEmail;
9454
-
9334
+ | io.flow.v0.models.User
9335
+ | io.flow.v0.models.UserReference;
9336
+ type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
9455
9337
  type ExportType =
9456
- | {
9457
- discriminator: 'account_transactions_export_type';
9458
- } & io.flow.v0.models.AccountTransactionsExportType
9459
- | {
9460
- discriminator: 'account_orders_export_type';
9461
- } & io.flow.v0.models.AccountOrdersExportType
9462
- | {
9463
- discriminator: 'analytics_export_type';
9464
- } & io.flow.v0.models.AnalyticsExportType
9465
- | {
9466
- discriminator: 'catalog_item_export_type';
9467
- } & io.flow.v0.models.CatalogItemExportType
9468
- | {
9469
- discriminator: 'experience_export_type';
9470
- } & io.flow.v0.models.ExperienceExportType
9471
- | {
9472
- discriminator: 'harmonization_overview_export_type';
9473
- } & io.flow.v0.models.HarmonizationOverviewExportType
9474
- | {
9475
- discriminator: 'harmonization_hs6_export_type';
9476
- } & io.flow.v0.models.HarmonizationHs6ExportType
9477
- | {
9478
- discriminator: 'harmonization_hs10_export_type';
9479
- } & io.flow.v0.models.HarmonizationHs10ExportType
9480
- | {
9481
- discriminator: 'unharmonized_item_export_type';
9482
- } & io.flow.v0.models.UnharmonizedItemExportType
9483
- | {
9484
- discriminator: 'harmonization_landed_cost_export_type';
9485
- } & io.flow.v0.models.HarmonizationLandedCostExportType
9486
- | {
9487
- discriminator: 'order_export_type';
9488
- } & io.flow.v0.models.OrderExportType
9489
- | {
9490
- discriminator: 'price_book_item_export_type';
9491
- } & io.flow.v0.models.PriceBookItemExportType
9492
- | {
9493
- discriminator: 'solidus_product_export_type';
9494
- } & io.flow.v0.models.SolidusProductExportType
9495
- | {
9496
- discriminator: 'solidus_variant_export_type';
9497
- } & io.flow.v0.models.SolidusVariantExportType
9498
- | {
9499
- discriminator: 'localized_item_prices_export_type';
9500
- } & io.flow.v0.models.LocalizedItemPricesExportType;
9501
-
9338
+ | io.flow.v0.models.AccountTransactionsExportType
9339
+ | io.flow.v0.models.AccountOrdersExportType
9340
+ | io.flow.v0.models.AnalyticsExportType
9341
+ | io.flow.v0.models.CatalogItemExportType
9342
+ | io.flow.v0.models.ExperienceExportType
9343
+ | io.flow.v0.models.HarmonizationOverviewExportType
9344
+ | io.flow.v0.models.HarmonizationHs6ExportType
9345
+ | io.flow.v0.models.HarmonizationHs10ExportType
9346
+ | io.flow.v0.models.UnharmonizedItemExportType
9347
+ | io.flow.v0.models.HarmonizationLandedCostExportType
9348
+ | io.flow.v0.models.OrderExportType
9349
+ | io.flow.v0.models.PriceBookItemExportType
9350
+ | io.flow.v0.models.SolidusProductExportType
9351
+ | io.flow.v0.models.SolidusVariantExportType
9352
+ | io.flow.v0.models.LocalizedItemPricesExportType;
9502
9353
  type FieldValidationRule =
9503
- | {
9504
- discriminator: 'required';
9505
- } & io.flow.v0.models.FieldValidationRequired
9506
- | {
9507
- discriminator: 'min';
9508
- } & io.flow.v0.models.FieldValidationMin
9509
- | {
9510
- discriminator: 'max';
9511
- } & io.flow.v0.models.FieldValidationMax
9512
- | {
9513
- discriminator: 'pattern';
9514
- } & io.flow.v0.models.FieldValidationPattern;
9354
+ | io.flow.v0.models.FieldValidationRequired
9355
+ | io.flow.v0.models.FieldValidationMin
9356
+ | io.flow.v0.models.FieldValidationMax
9357
+ | io.flow.v0.models.FieldValidationPattern;
9515
9358
 
9516
9359
  type FlowRole =
9517
9360
  | {
@@ -9523,91 +9366,34 @@ declare namespace io.flow.v0.unions {
9523
9366
  value: io.flow.v0.enums.FlowAddonRole;
9524
9367
  };
9525
9368
 
9526
- type GatewayAuthenticationData = {
9527
- discriminator: 'stripe_authentication_data';
9528
- } & io.flow.v0.models.StripeAuthenticationData;
9529
-
9530
- type GatewayAuthenticationDataForm = {
9531
- discriminator: 'stripe_authentication_data_form';
9532
- } & io.flow.v0.models.StripeAuthenticationDataForm;
9533
-
9534
- type InputSpecificationLimitation = {
9535
- discriminator: 'input_specification_limitation_max';
9536
- } & io.flow.v0.models.InputSpecificationLimitationMax;
9537
-
9369
+ type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
9370
+ type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
9371
+ type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
9538
9372
  type InventoryStrategy =
9539
- | {
9540
- discriminator: 'inventory_backorder';
9541
- } & io.flow.v0.models.InventoryBackorder
9542
- | {
9543
- discriminator: 'inventory_stock';
9544
- } & io.flow.v0.models.InventoryStock
9545
- | {
9546
- discriminator: 'inventory_unlimited';
9547
- } & io.flow.v0.models.InventoryUnlimited;
9548
-
9373
+ | io.flow.v0.models.InventoryBackorder
9374
+ | io.flow.v0.models.InventoryStock
9375
+ | io.flow.v0.models.InventoryUnlimited;
9549
9376
  type LocalizedPrice =
9550
- | {
9551
- key: 'localized_item_price';
9552
- } & io.flow.v0.models.LocalizedItemPrice
9553
- | {
9554
- key: 'localized_item_vat';
9555
- } & io.flow.v0.models.LocalizedItemVat
9556
- | {
9557
- key: 'localized_item_duty';
9558
- } & io.flow.v0.models.LocalizedItemDuty
9559
- | {
9560
- key: 'localized_total';
9561
- } & io.flow.v0.models.LocalizedTotal;
9562
-
9377
+ | io.flow.v0.models.LocalizedItemPrice
9378
+ | io.flow.v0.models.LocalizedItemVat
9379
+ | io.flow.v0.models.LocalizedItemDuty
9380
+ | io.flow.v0.models.LocalizedTotal;
9563
9381
  type OnlineAuthorizationDetails =
9564
- | {
9565
- discriminator: 'paypal_authorization_details';
9566
- } & io.flow.v0.models.PaypalAuthorizationDetails
9567
- | {
9568
- discriminator: 'redirect_authorization_details';
9569
- } & io.flow.v0.models.RedirectAuthorizationDetails
9570
- | {
9571
- discriminator: 'inline_authorization_details';
9572
- } & io.flow.v0.models.InlineAuthorizationDetails;
9573
-
9382
+ | io.flow.v0.models.PaypalAuthorizationDetails
9383
+ | io.flow.v0.models.RedirectAuthorizationDetails
9384
+ | io.flow.v0.models.InlineAuthorizationDetails;
9574
9385
  type OrderNumberGenerator =
9575
- | {
9576
- discriminator: 'uuid';
9577
- } & io.flow.v0.models.OrderNumberGeneratorUuid
9578
- | {
9579
- discriminator: 'hexadecimal';
9580
- } & io.flow.v0.models.OrderNumberGeneratorHexadecimal
9581
- | {
9582
- discriminator: 'prefix_suffix';
9583
- } & io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
9584
-
9585
- type OrderPromotion = {
9586
- discriminator: 'free_shipping_order_promotion';
9587
- } & io.flow.v0.models.FreeShippingOrderPromotion;
9588
-
9589
- type OrderPromotionForm = {
9590
- discriminator: 'free_shipping_order_promotion_form';
9591
- } & io.flow.v0.models.FreeShippingOrderPromotionForm;
9592
-
9386
+ | io.flow.v0.models.OrderNumberGeneratorUuid
9387
+ | io.flow.v0.models.OrderNumberGeneratorHexadecimal
9388
+ | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
9389
+ type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
9390
+ type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
9593
9391
  type PartnerCenterFee =
9594
- | {
9595
- discriminator: 'commercial_invoice_fee';
9596
- } & io.flow.v0.models.CommercialInvoiceFee
9597
- | {
9598
- discriminator: 'inbound_carton_fee';
9599
- } & io.flow.v0.models.InboundCartonFee
9600
- | {
9601
- discriminator: 'outbound_carton_fee';
9602
- } & io.flow.v0.models.OutboundCartonFee;
9603
-
9604
- type Payment = {
9605
- discriminator: 'payment_paypal';
9606
- } & io.flow.v0.models.PaymentPaypal;
9607
-
9608
- type PaymentForm = {
9609
- discriminator: 'merchant_of_record_payment_form';
9610
- } & io.flow.v0.models.MerchantOfRecordPaymentForm;
9392
+ | io.flow.v0.models.CommercialInvoiceFee
9393
+ | io.flow.v0.models.InboundCartonFee
9394
+ | io.flow.v0.models.OutboundCartonFee;
9395
+ type Payment = io.flow.v0.models.PaymentPaypal;
9396
+ type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
9611
9397
 
9612
9398
  type PaymentMethodTag =
9613
9399
  | {
@@ -9619,213 +9405,78 @@ declare namespace io.flow.v0.unions {
9619
9405
  value: io.flow.v0.enums.ExperiencePaymentMethodTag;
9620
9406
  };
9621
9407
 
9622
- type PaymentSource = {
9623
- discriminator: 'card_payment_source';
9624
- } & io.flow.v0.models.CardPaymentSource;
9625
-
9626
- type PaymentSourceForm = {
9627
- discriminator: 'card_payment_source_form';
9628
- } & io.flow.v0.models.CardPaymentSourceForm;
9629
-
9408
+ type PaymentSource = io.flow.v0.models.CardPaymentSource;
9409
+ type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
9630
9410
  type PriceSource =
9631
- | {
9632
- discriminator: 'price_book';
9633
- } & io.flow.v0.models.PriceSourcePriceBook
9634
- | {
9635
- discriminator: 'catalog';
9636
- } & io.flow.v0.models.PriceSourceCatalog
9637
- | {
9638
- discriminator: 'provided';
9639
- } & io.flow.v0.models.PriceSourceProvided;
9640
-
9641
- type Promotion =
9642
- | {
9643
- discriminator: 'free_shipping';
9644
- } & io.flow.v0.models.FreeShipping
9645
- | {
9646
- discriminator: 'discount';
9647
- } & io.flow.v0.models.Discount;
9648
-
9411
+ | io.flow.v0.models.PriceSourcePriceBook
9412
+ | io.flow.v0.models.PriceSourceCatalog
9413
+ | io.flow.v0.models.PriceSourceProvided;
9414
+ type Promotion = io.flow.v0.models.FreeShipping | io.flow.v0.models.Discount;
9649
9415
  type QueryBuilderForm =
9650
- | {
9651
- discriminator: 'filter';
9652
- } & io.flow.v0.models.QueryBuilderFilterForm
9653
- | {
9654
- discriminator: 'query';
9655
- } & io.flow.v0.models.QueryBuilderQueryForm;
9656
-
9416
+ | io.flow.v0.models.QueryBuilderFilterForm
9417
+ | io.flow.v0.models.QueryBuilderQueryForm;
9657
9418
  type QueryFilter =
9658
- | {
9659
- discriminator: 'structured';
9660
- } & io.flow.v0.models.QueryFilterStructured
9661
- | {
9662
- discriminator: 'unstructured';
9663
- } & io.flow.v0.models.QueryFilterUnstructured;
9664
-
9419
+ | io.flow.v0.models.QueryFilterStructured
9420
+ | io.flow.v0.models.QueryFilterUnstructured;
9665
9421
  type QueryFilterForm =
9666
- | {
9667
- discriminator: 'structured';
9668
- } & io.flow.v0.models.QueryFilterStructuredForm
9669
- | {
9670
- discriminator: 'unstructured';
9671
- } & io.flow.v0.models.QueryFilterUnstructuredForm;
9672
-
9422
+ | io.flow.v0.models.QueryFilterStructuredForm
9423
+ | io.flow.v0.models.QueryFilterUnstructuredForm;
9673
9424
  type RatecardEstimate =
9674
- | {
9675
- discriminator: 'ratecard_estimate_v1';
9676
- } & io.flow.v0.models.RatecardEstimateV1
9677
- | {
9678
- discriminator: 'ratecard_estimate_v2';
9679
- } & io.flow.v0.models.RatecardEstimateV2;
9680
-
9425
+ | io.flow.v0.models.RatecardEstimateV1
9426
+ | io.flow.v0.models.RatecardEstimateV2;
9681
9427
  type RatecardEstimateForm =
9682
- | {
9683
- discriminator: 'ratecard_estimate_form_v1';
9684
- } & io.flow.v0.models.RatecardEstimateFormV1
9685
- | {
9686
- discriminator: 'ratecard_estimate_form_v2';
9687
- } & io.flow.v0.models.RatecardEstimateFormV2;
9688
-
9428
+ | io.flow.v0.models.RatecardEstimateFormV1
9429
+ | io.flow.v0.models.RatecardEstimateFormV2;
9689
9430
  type RatecardFee =
9690
- | {
9691
- discriminator: 'ddp_ratecard_fee';
9692
- } & io.flow.v0.models.DdpRatecardFee
9693
- | {
9694
- discriminator: 'fuel_surcharge_ratecard_fee';
9695
- } & io.flow.v0.models.FuelSurchargeRatecardFee
9696
- | {
9697
- discriminator: 'oversized_shipment_ratecard_fee';
9698
- } & io.flow.v0.models.OversizedShipmentRatecardFee
9699
- | {
9700
- discriminator: 'return_package_ratecard_fee';
9701
- } & io.flow.v0.models.ReturnPackageRatecardFee
9702
- | {
9703
- discriminator: 'crossdock_ratecard_fee';
9704
- } & io.flow.v0.models.CrossdockRatecardFee
9705
- | {
9706
- discriminator: 'remote_area_ratecard_fee';
9707
- } & io.flow.v0.models.RemoteAreaRatecardFee;
9708
-
9431
+ | io.flow.v0.models.DdpRatecardFee
9432
+ | io.flow.v0.models.FuelSurchargeRatecardFee
9433
+ | io.flow.v0.models.OversizedShipmentRatecardFee
9434
+ | io.flow.v0.models.ReturnPackageRatecardFee
9435
+ | io.flow.v0.models.CrossdockRatecardFee
9436
+ | io.flow.v0.models.RemoteAreaRatecardFee;
9709
9437
  type RepeatSchedule =
9710
- | {
9711
- discriminator: 'repeat_hourly';
9712
- } & io.flow.v0.models.RepeatHourly
9713
- | {
9714
- discriminator: 'repeat_daily';
9715
- } & io.flow.v0.models.RepeatDaily
9716
- | {
9717
- discriminator: 'repeat_weekly';
9718
- } & io.flow.v0.models.RepeatWeekly
9719
- | {
9720
- discriminator: 'repeat_monthly';
9721
- } & io.flow.v0.models.RepeatMonthly;
9722
-
9438
+ | io.flow.v0.models.RepeatHourly
9439
+ | io.flow.v0.models.RepeatDaily
9440
+ | io.flow.v0.models.RepeatWeekly
9441
+ | io.flow.v0.models.RepeatMonthly;
9723
9442
  type ReservationError =
9724
- | {
9725
- code: 'no_inventory';
9726
- } & io.flow.v0.models.NoInventoryReservationError
9727
- | {
9728
- code: 'external_api_timeout';
9729
- } & io.flow.v0.models.ExternalApiTimeoutReservationError
9730
- | {
9731
- code: 'generic_reservation_error';
9732
- } & io.flow.v0.models.GenericReservationError;
9733
-
9443
+ | io.flow.v0.models.NoInventoryReservationError
9444
+ | io.flow.v0.models.ExternalApiTimeoutReservationError
9445
+ | io.flow.v0.models.GenericReservationError;
9734
9446
  type ServiceFee =
9735
- | {
9736
- discriminator: 'fuel_surcharge_service_fee';
9737
- } & io.flow.v0.models.FuelSurchargeServiceFee
9738
- | {
9739
- discriminator: 'remote_area_service_fee';
9740
- } & io.flow.v0.models.RemoteAreaServiceFee;
9741
-
9742
- type Session = {
9743
- discriminator: 'organization_session';
9744
- } & io.flow.v0.models.OrganizationSession;
9745
-
9746
- type SessionAuthorization = {
9747
- discriminator: 'organization_session_authorization';
9748
- } & io.flow.v0.models.OrganizationSessionAuthorization;
9749
-
9447
+ | io.flow.v0.models.FuelSurchargeServiceFee
9448
+ | io.flow.v0.models.RemoteAreaServiceFee;
9449
+ type Session = io.flow.v0.models.OrganizationSession;
9450
+ type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
9750
9451
  type ShippingLabelForm =
9751
- | {
9752
- discriminator: 'detailed_shipping_label_form';
9753
- } & io.flow.v0.models.DetailedShippingLabelForm
9754
- | {
9755
- discriminator: 'summary_shipping_label_form';
9756
- } & io.flow.v0.models.SummaryShippingLabelForm;
9757
-
9452
+ | io.flow.v0.models.DetailedShippingLabelForm
9453
+ | io.flow.v0.models.SummaryShippingLabelForm;
9758
9454
  type ShippingNotificationForm =
9759
- | {
9760
- discriminator: 'detailed_shipping_notification_form';
9761
- } & io.flow.v0.models.DetailedShippingNotificationForm
9762
- | {
9763
- discriminator: 'single_package_shipping_notification_form';
9764
- } & io.flow.v0.models.SinglePackageShippingNotificationForm;
9765
-
9455
+ | io.flow.v0.models.DetailedShippingNotificationForm
9456
+ | io.flow.v0.models.SinglePackageShippingNotificationForm;
9766
9457
  type ShopifyCartAddForm =
9767
- | {
9768
- discriminator: 'shopify_cart_add_single_form';
9769
- } & io.flow.v0.models.ShopifyCartAddSingleForm
9770
- | {
9771
- discriminator: 'shopify_cart_add_multiple_form';
9772
- } & io.flow.v0.models.ShopifyCartAddMultipleForm;
9773
-
9774
- type ShopifyEventBucket = {
9775
- discriminator: 'shopify_item_event_bucket';
9776
- } & io.flow.v0.models.ShopifyItemEventBucket;
9777
-
9458
+ | io.flow.v0.models.ShopifyCartAddSingleForm
9459
+ | io.flow.v0.models.ShopifyCartAddMultipleForm;
9460
+ type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
9778
9461
  type TaxSetting =
9779
- | {
9780
- discriminator: 'avalara_tax_setting';
9781
- } & io.flow.v0.models.AvalaraTaxSetting
9782
- | {
9783
- discriminator: 'avalara_tax_csv_setting';
9784
- } & io.flow.v0.models.AvalaraTaxCsvSetting;
9785
-
9462
+ | io.flow.v0.models.AvalaraTaxSetting
9463
+ | io.flow.v0.models.AvalaraTaxCsvSetting;
9786
9464
  type TierRuleOutcome =
9787
- | {
9788
- discriminator: 'amount_margin';
9789
- } & io.flow.v0.models.AmountMargin
9790
- | {
9791
- discriminator: 'at_cost';
9792
- } & io.flow.v0.models.AtCost
9793
- | {
9794
- discriminator: 'flat_rate';
9795
- } & io.flow.v0.models.FlatRate
9796
- | {
9797
- discriminator: 'percent_margin';
9798
- } & io.flow.v0.models.PercentMargin;
9799
-
9465
+ | io.flow.v0.models.AmountMargin
9466
+ | io.flow.v0.models.AtCost
9467
+ | io.flow.v0.models.FlatRate
9468
+ | io.flow.v0.models.PercentMargin;
9800
9469
  type TierRuleOutcomeForm =
9801
- | {
9802
- discriminator: 'amount_margin_form';
9803
- } & io.flow.v0.models.AmountMarginForm
9804
- | {
9805
- discriminator: 'flat_rate_form';
9806
- } & io.flow.v0.models.FlatRateForm
9807
- | {
9808
- discriminator: 'at_cost';
9809
- } & io.flow.v0.models.AtCost
9810
- | {
9811
- discriminator: 'percent_margin';
9812
- } & io.flow.v0.models.PercentMargin;
9813
-
9470
+ | io.flow.v0.models.AmountMarginForm
9471
+ | io.flow.v0.models.FlatRateForm
9472
+ | io.flow.v0.models.AtCost
9473
+ | io.flow.v0.models.PercentMargin;
9814
9474
  type Token =
9815
- | {
9816
- discriminator: 'organization_token';
9817
- } & io.flow.v0.models.OrganizationToken
9818
- | {
9819
- discriminator: 'partner_token';
9820
- } & io.flow.v0.models.PartnerToken;
9821
-
9475
+ | io.flow.v0.models.OrganizationToken
9476
+ | io.flow.v0.models.PartnerToken;
9822
9477
  type TokenReference =
9823
- | {
9824
- discriminator: 'organization_token_reference';
9825
- } & io.flow.v0.models.OrganizationTokenReference
9826
- | {
9827
- discriminator: 'partner_token_reference';
9828
- } & io.flow.v0.models.PartnerTokenReference;
9478
+ | io.flow.v0.models.OrganizationTokenReference
9479
+ | io.flow.v0.models.PartnerTokenReference;
9829
9480
  }
9830
9481
 
9831
9482
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
@@ -10369,6 +10020,7 @@ export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
10369
10020
  export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
10370
10021
  export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
10371
10022
  export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;
10023
+ export type ItemPriceUpdateForm = io.flow.v0.models.ItemPriceUpdateForm;
10372
10024
  export type ItemPriceUpdatePutForm = io.flow.v0.models.ItemPriceUpdatePutForm;
10373
10025
  export type ItemQuerySuggestion = io.flow.v0.models.ItemQuerySuggestion;
10374
10026
  export type ItemReference = io.flow.v0.models.ItemReference;
@@ -10381,10 +10033,12 @@ export type JsonpResponse = io.flow.v0.models.JsonpResponse;
10381
10033
  export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
10382
10034
  export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
10383
10035
  export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
10036
+ export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
10384
10037
  export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
10385
10038
  export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10386
10039
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
10387
10040
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
10041
+ export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
10388
10042
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
10389
10043
  export type LaneDirection = io.flow.v0.enums.LaneDirection;
10390
10044
  export type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
@@ -10538,6 +10192,7 @@ export type OrderSummaryPriceDetail = io.flow.v0.models.OrderSummaryPriceDetail;
10538
10192
  export type OrderUpserted = io.flow.v0.models.OrderUpserted;
10539
10193
  export type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2;
10540
10194
  export type OrderVersion = io.flow.v0.models.OrderVersion;
10195
+ export type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscountsForm;
10541
10196
  export type Organization = io.flow.v0.models.Organization;
10542
10197
  export type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
10543
10198
  export type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;