@flowio/types 7.0.0 → 8.0.1

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
@@ -283,6 +283,7 @@ declare namespace io.flow.shopify.external.v0.models {
283
283
  readonly position: number;
284
284
  readonly created_at: string;
285
285
  readonly updated_at: string;
286
+ readonly alt?: string;
286
287
  }
287
288
 
288
289
  interface ProductVariant {
@@ -1259,6 +1260,8 @@ declare namespace io.flow.v0.enums {
1259
1260
  | 'snapshot_upserted'
1260
1261
  | 'snapshot_deleted'
1261
1262
  | 'label_upserted'
1263
+ | 'label_deleted_v2'
1264
+ | 'label_upserted_v2'
1262
1265
  | 'notification_upserted'
1263
1266
  | 'notification_deleted'
1264
1267
  | 'manifested_label_upserted'
@@ -1360,6 +1363,7 @@ declare namespace io.flow.v0.enums {
1360
1363
  | 'customs_description_tariffs'
1361
1364
  | 'experiences_with_settings'
1362
1365
  | 'harmonization_codes'
1366
+ | 'item_prices'
1363
1367
  | 'item_form_overlays'
1364
1368
  | 'price_book_items'
1365
1369
  | 'price_book_items_query'
@@ -1628,6 +1632,7 @@ declare namespace io.flow.v0.enums {
1628
1632
 
1629
1633
  declare namespace io.flow.v0.models {
1630
1634
  interface AccountOrdersExportType {
1635
+ readonly discriminator: 'account_orders_export_type';
1631
1636
  readonly statement_id?: string;
1632
1637
  readonly transaction_summary_id?: string;
1633
1638
  readonly transaction_created_from?: string;
@@ -1645,6 +1650,7 @@ declare namespace io.flow.v0.models {
1645
1650
  }
1646
1651
 
1647
1652
  interface AccountTransactionsExportType {
1653
+ readonly discriminator: 'account_transactions_export_type';
1648
1654
  readonly statement_id?: string;
1649
1655
  readonly transaction_summary_id?: string;
1650
1656
  readonly created_from?: string;
@@ -1662,6 +1668,7 @@ declare namespace io.flow.v0.models {
1662
1668
  }
1663
1669
 
1664
1670
  interface AchAuthorizationForm {
1671
+ readonly discriminator: 'ach_authorization_form';
1665
1672
  readonly account_owner_name: string;
1666
1673
  readonly account_number: string;
1667
1674
  readonly routing_number: string;
@@ -1743,14 +1750,17 @@ declare namespace io.flow.v0.models {
1743
1750
  }
1744
1751
 
1745
1752
  interface AdyenChallengeShopperData {
1753
+ readonly discriminator: 'adyen_challenge_shopper_data';
1746
1754
  readonly challenge_token: string;
1747
1755
  }
1748
1756
 
1749
1757
  interface AdyenIdentifyShopperData {
1758
+ readonly discriminator: 'adyen_identify_shopper_data';
1750
1759
  readonly fingerprint_token: string;
1751
1760
  }
1752
1761
 
1753
1762
  interface AdyenNativeActionDetails {
1763
+ readonly discriminator: 'adyen_native_action_details';
1754
1764
  readonly origin_key?: string;
1755
1765
  readonly data?: io.flow.v0.unions.AdyenNativeData;
1756
1766
  }
@@ -1761,6 +1771,7 @@ declare namespace io.flow.v0.models {
1761
1771
  }
1762
1772
 
1763
1773
  interface AllocationDeletedV2 {
1774
+ readonly discriminator: 'allocation_deleted_v2';
1764
1775
  readonly event_id: string;
1765
1776
  readonly timestamp: string;
1766
1777
  readonly organization: string;
@@ -1768,12 +1779,14 @@ declare namespace io.flow.v0.models {
1768
1779
  }
1769
1780
 
1770
1781
  interface AllocationDetailComponent {
1782
+ readonly discriminator: 'allocation_detail_component';
1771
1783
  readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey;
1772
1784
  readonly total: io.flow.v0.models.PriceWithBase;
1773
1785
  readonly price?: io.flow.v0.models.PriceWithBase;
1774
1786
  }
1775
1787
 
1776
1788
  interface AllocationLevyComponent {
1789
+ readonly discriminator: 'allocation_levy_component';
1777
1790
  readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey;
1778
1791
  readonly total: io.flow.v0.models.PriceWithBase;
1779
1792
  readonly rate: number;
@@ -1784,6 +1797,7 @@ declare namespace io.flow.v0.models {
1784
1797
  }
1785
1798
 
1786
1799
  interface AllocationLineDetail {
1800
+ readonly discriminator: 'allocation_line_detail';
1787
1801
  readonly number: string;
1788
1802
  readonly quantity: number;
1789
1803
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
@@ -1794,6 +1808,7 @@ declare namespace io.flow.v0.models {
1794
1808
  }
1795
1809
 
1796
1810
  interface AllocationOrderDetail {
1811
+ readonly discriminator: 'allocation_order_detail';
1797
1812
  readonly key: io.flow.v0.enums.OrderPriceDetailKey;
1798
1813
  readonly total: io.flow.v0.models.PriceWithBase;
1799
1814
  readonly included: io.flow.v0.unions.AllocationComponent[];
@@ -1807,6 +1822,7 @@ declare namespace io.flow.v0.models {
1807
1822
  }
1808
1823
 
1809
1824
  interface AllocationUpsertedV2 {
1825
+ readonly discriminator: 'allocation_upserted_v2';
1810
1826
  readonly event_id: string;
1811
1827
  readonly timestamp: string;
1812
1828
  readonly organization: string;
@@ -1821,14 +1837,17 @@ declare namespace io.flow.v0.models {
1821
1837
  }
1822
1838
 
1823
1839
  interface AmountMargin {
1840
+ readonly discriminator: 'amount_margin';
1824
1841
  readonly margin: io.flow.v0.models.Price;
1825
1842
  }
1826
1843
 
1827
1844
  interface AmountMarginForm {
1845
+ readonly discriminator: 'amount_margin_form';
1828
1846
  readonly margin: io.flow.v0.models.Money;
1829
1847
  }
1830
1848
 
1831
1849
  interface AnalyticsExportType {
1850
+ readonly discriminator: 'analytics_export_type';
1832
1851
  readonly from?: string;
1833
1852
  readonly to?: string;
1834
1853
  readonly region?: string;
@@ -1836,11 +1855,13 @@ declare namespace io.flow.v0.models {
1836
1855
  }
1837
1856
 
1838
1857
  interface ApplePayMerchantValidationPayload {
1858
+ readonly discriminator: 'apple_pay_merchant_validation_payload';
1839
1859
  readonly validation_url: string;
1840
1860
  readonly display_name?: string;
1841
1861
  }
1842
1862
 
1843
1863
  interface AtCost {
1864
+ readonly discriminator: 'at_cost';
1844
1865
  readonly ignore?: string;
1845
1866
  }
1846
1867
 
@@ -1855,6 +1876,7 @@ declare namespace io.flow.v0.models {
1855
1876
  }
1856
1877
 
1857
1878
  interface AttributeDeleted {
1879
+ readonly discriminator: 'attribute_deleted';
1858
1880
  readonly event_id: string;
1859
1881
  readonly timestamp: string;
1860
1882
  readonly organization: string;
@@ -1862,6 +1884,7 @@ declare namespace io.flow.v0.models {
1862
1884
  }
1863
1885
 
1864
1886
  interface AttributeDeletedV2 {
1887
+ readonly discriminator: 'attribute_deleted_v2';
1865
1888
  readonly event_id: string;
1866
1889
  readonly timestamp: string;
1867
1890
  readonly organization: string;
@@ -1878,6 +1901,7 @@ declare namespace io.flow.v0.models {
1878
1901
  }
1879
1902
 
1880
1903
  interface AttributeUpserted {
1904
+ readonly discriminator: 'attribute_upserted';
1881
1905
  readonly event_id: string;
1882
1906
  readonly timestamp: string;
1883
1907
  readonly organization: string;
@@ -1888,6 +1912,7 @@ declare namespace io.flow.v0.models {
1888
1912
  }
1889
1913
 
1890
1914
  interface AttributeUpsertedV2 {
1915
+ readonly discriminator: 'attribute_upserted_v2';
1891
1916
  readonly event_id: string;
1892
1917
  readonly timestamp: string;
1893
1918
  readonly organization: string;
@@ -1907,6 +1932,7 @@ declare namespace io.flow.v0.models {
1907
1932
  }
1908
1933
 
1909
1934
  interface AuthorizationCopyForm {
1935
+ readonly discriminator: 'authorization_copy_form';
1910
1936
  readonly source_authorization_key: string;
1911
1937
  readonly amount: number;
1912
1938
  readonly currency: string;
@@ -1916,6 +1942,7 @@ declare namespace io.flow.v0.models {
1916
1942
  }
1917
1943
 
1918
1944
  interface AuthorizationDeletedV2 {
1945
+ readonly discriminator: 'authorization_deleted_v2';
1919
1946
  readonly event_id: string;
1920
1947
  readonly timestamp: string;
1921
1948
  readonly organization: string;
@@ -1954,18 +1981,21 @@ declare namespace io.flow.v0.models {
1954
1981
  }
1955
1982
 
1956
1983
  interface AuthorizationResultActionGet {
1984
+ readonly discriminator: 'authorization_result_action_get';
1957
1985
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1958
1986
  readonly url?: string;
1959
1987
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1960
1988
  }
1961
1989
 
1962
1990
  interface AuthorizationResultActionNative {
1991
+ readonly discriminator: 'authorization_result_action_native';
1963
1992
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1964
1993
  readonly authorization: io.flow.v0.models.AuthorizationReference;
1965
1994
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1966
1995
  }
1967
1996
 
1968
1997
  interface AuthorizationResultActionPost {
1998
+ readonly discriminator: 'authorization_result_action_post';
1969
1999
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1970
2000
  readonly url: string;
1971
2001
  readonly parameters: {
@@ -1974,6 +2004,7 @@ declare namespace io.flow.v0.models {
1974
2004
  }
1975
2005
 
1976
2006
  interface AuthorizationResultActionWait {
2007
+ readonly discriminator: 'authorization_result_action_wait';
1977
2008
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1978
2009
  }
1979
2010
 
@@ -1982,6 +2013,7 @@ declare namespace io.flow.v0.models {
1982
2013
  }
1983
2014
 
1984
2015
  interface AuthorizationStatusChanged {
2016
+ readonly discriminator: 'authorization_status_changed';
1985
2017
  readonly event_id: string;
1986
2018
  readonly timestamp: string;
1987
2019
  readonly organization: string;
@@ -1997,6 +2029,7 @@ declare namespace io.flow.v0.models {
1997
2029
  }
1998
2030
 
1999
2031
  interface AvailableFilterStructured {
2032
+ readonly discriminator: 'structured';
2000
2033
  readonly field: string;
2001
2034
  readonly operators: string[];
2002
2035
  readonly format: io.flow.v0.enums.AvailableFilterFormat;
@@ -2005,6 +2038,7 @@ declare namespace io.flow.v0.models {
2005
2038
  }
2006
2039
 
2007
2040
  interface AvailableFilterUnstructured {
2041
+ readonly discriminator: 'unstructured';
2008
2042
  readonly placeholder?: string;
2009
2043
  }
2010
2044
 
@@ -2016,6 +2050,7 @@ declare namespace io.flow.v0.models {
2016
2050
  }
2017
2051
 
2018
2052
  interface AvailablePromotionsDeleted {
2053
+ readonly discriminator: 'available_promotions_deleted';
2019
2054
  readonly event_id: string;
2020
2055
  readonly timestamp: string;
2021
2056
  readonly organization: string;
@@ -2023,6 +2058,7 @@ declare namespace io.flow.v0.models {
2023
2058
  }
2024
2059
 
2025
2060
  interface AvailablePromotionsDeletedV2 {
2061
+ readonly discriminator: 'available_promotions_deleted_v2';
2026
2062
  readonly event_id: string;
2027
2063
  readonly timestamp: string;
2028
2064
  readonly organization: string;
@@ -2030,6 +2066,7 @@ declare namespace io.flow.v0.models {
2030
2066
  }
2031
2067
 
2032
2068
  interface AvailablePromotionsUpserted {
2069
+ readonly discriminator: 'available_promotions_upserted';
2033
2070
  readonly event_id: string;
2034
2071
  readonly timestamp: string;
2035
2072
  readonly organization: string;
@@ -2040,6 +2077,7 @@ declare namespace io.flow.v0.models {
2040
2077
  }
2041
2078
 
2042
2079
  interface AvailablePromotionsUpsertedV2 {
2080
+ readonly discriminator: 'available_promotions_upserted_v2';
2043
2081
  readonly event_id: string;
2044
2082
  readonly timestamp: string;
2045
2083
  readonly organization: string;
@@ -2053,12 +2091,14 @@ declare namespace io.flow.v0.models {
2053
2091
  }
2054
2092
 
2055
2093
  interface AvalaraTaxCsvSetting {
2094
+ readonly discriminator: 'avalara_tax_csv_setting';
2056
2095
  readonly schedule: io.flow.v0.unions.RepeatSchedule;
2057
2096
  readonly timezone: string;
2058
2097
  readonly email_recipients?: string[];
2059
2098
  }
2060
2099
 
2061
2100
  interface AvalaraTaxSetting {
2101
+ readonly discriminator: 'avalara_tax_setting';
2062
2102
  readonly company_code: string;
2063
2103
  readonly base_currency: string;
2064
2104
  readonly api_key?: string;
@@ -2089,6 +2129,7 @@ declare namespace io.flow.v0.models {
2089
2129
  }
2090
2130
 
2091
2131
  interface B2BCreditMemoDeleted {
2132
+ readonly discriminator: 'b2b_credit_memo_deleted';
2092
2133
  readonly event_id: string;
2093
2134
  readonly timestamp: string;
2094
2135
  readonly organization: string;
@@ -2096,6 +2137,7 @@ declare namespace io.flow.v0.models {
2096
2137
  }
2097
2138
 
2098
2139
  interface B2BCreditMemoUpserted {
2140
+ readonly discriminator: 'b2b_credit_memo_upserted';
2099
2141
  readonly event_id: string;
2100
2142
  readonly timestamp: string;
2101
2143
  readonly organization: string;
@@ -2123,6 +2165,7 @@ declare namespace io.flow.v0.models {
2123
2165
  }
2124
2166
 
2125
2167
  interface B2BInvoiceDeleted {
2168
+ readonly discriminator: 'b2b_invoice_deleted';
2126
2169
  readonly event_id: string;
2127
2170
  readonly timestamp: string;
2128
2171
  readonly organization: string;
@@ -2136,6 +2179,7 @@ declare namespace io.flow.v0.models {
2136
2179
  }
2137
2180
 
2138
2181
  interface B2BInvoiceUpserted {
2182
+ readonly discriminator: 'b2b_invoice_upserted';
2139
2183
  readonly event_id: string;
2140
2184
  readonly timestamp: string;
2141
2185
  readonly organization: string;
@@ -2165,6 +2209,7 @@ declare namespace io.flow.v0.models {
2165
2209
  }
2166
2210
 
2167
2211
  interface BrowseOptinResponsesDeleted {
2212
+ readonly discriminator: 'browse_optin_responses_deleted';
2168
2213
  readonly event_id: string;
2169
2214
  readonly timestamp: string;
2170
2215
  readonly organization: string;
@@ -2172,6 +2217,7 @@ declare namespace io.flow.v0.models {
2172
2217
  }
2173
2218
 
2174
2219
  interface BrowseOptinResponsesUpserted {
2220
+ readonly discriminator: 'browse_optin_responses_upserted';
2175
2221
  readonly event_id: string;
2176
2222
  readonly timestamp: string;
2177
2223
  readonly organization: string;
@@ -2206,6 +2252,7 @@ declare namespace io.flow.v0.models {
2206
2252
  }
2207
2253
 
2208
2254
  interface CaptureDeleted {
2255
+ readonly discriminator: 'capture_deleted';
2209
2256
  readonly event_id: string;
2210
2257
  readonly timestamp: string;
2211
2258
  readonly organization: string;
@@ -2237,6 +2284,7 @@ declare namespace io.flow.v0.models {
2237
2284
  }
2238
2285
 
2239
2286
  interface CaptureIdentifierDeleted {
2287
+ readonly discriminator: 'capture_identifier_deleted';
2240
2288
  readonly event_id: string;
2241
2289
  readonly timestamp: string;
2242
2290
  readonly organization: string;
@@ -2244,6 +2292,7 @@ declare namespace io.flow.v0.models {
2244
2292
  }
2245
2293
 
2246
2294
  interface CaptureIdentifierUpserted {
2295
+ readonly discriminator: 'capture_identifier_upserted';
2247
2296
  readonly event_id: string;
2248
2297
  readonly timestamp: string;
2249
2298
  readonly organization: string;
@@ -2256,6 +2305,7 @@ declare namespace io.flow.v0.models {
2256
2305
  }
2257
2306
 
2258
2307
  interface CaptureUpsertedV2 {
2308
+ readonly discriminator: 'capture_upserted_v2';
2259
2309
  readonly event_id: string;
2260
2310
  readonly timestamp: string;
2261
2311
  readonly organization: string;
@@ -2271,6 +2321,7 @@ declare namespace io.flow.v0.models {
2271
2321
  }
2272
2322
 
2273
2323
  interface Card {
2324
+ readonly discriminator: 'card';
2274
2325
  readonly id: string;
2275
2326
  readonly token: string;
2276
2327
  readonly type: io.flow.v0.enums.CardType;
@@ -2283,6 +2334,7 @@ declare namespace io.flow.v0.models {
2283
2334
  }
2284
2335
 
2285
2336
  interface CardAuthorization {
2337
+ readonly discriminator: 'card_authorization';
2286
2338
  readonly id: string;
2287
2339
  readonly key: string;
2288
2340
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
@@ -2306,6 +2358,7 @@ declare namespace io.flow.v0.models {
2306
2358
  }
2307
2359
 
2308
2360
  interface CardAuthorizationDeletedV2 {
2361
+ readonly discriminator: 'card_authorization_deleted_v2';
2309
2362
  readonly event_id: string;
2310
2363
  readonly timestamp: string;
2311
2364
  readonly organization: string;
@@ -2313,6 +2366,7 @@ declare namespace io.flow.v0.models {
2313
2366
  }
2314
2367
 
2315
2368
  interface CardAuthorizationUpsertedV2 {
2369
+ readonly discriminator: 'card_authorization_upserted_v2';
2316
2370
  readonly event_id: string;
2317
2371
  readonly timestamp: string;
2318
2372
  readonly organization: string;
@@ -2321,6 +2375,7 @@ declare namespace io.flow.v0.models {
2321
2375
  }
2322
2376
 
2323
2377
  interface CardDeleted {
2378
+ readonly discriminator: 'card_deleted';
2324
2379
  readonly event_id: string;
2325
2380
  readonly timestamp: string;
2326
2381
  readonly organization: string;
@@ -2360,12 +2415,14 @@ declare namespace io.flow.v0.models {
2360
2415
  }
2361
2416
 
2362
2417
  interface CardPaymentSource {
2418
+ readonly discriminator: 'card_payment_source';
2363
2419
  readonly id: string;
2364
2420
  readonly actions?: io.flow.v0.models.PaymentSourceConfirmationAction[];
2365
2421
  readonly summary: io.flow.v0.models.CardPaymentSourceSummary;
2366
2422
  }
2367
2423
 
2368
2424
  interface CardPaymentSourceAuthorizationForm {
2425
+ readonly discriminator: 'card_payment_source_authorization_form';
2369
2426
  readonly key?: string;
2370
2427
  readonly card_payment_source_id: string;
2371
2428
  readonly order_number: string;
@@ -2375,6 +2432,7 @@ declare namespace io.flow.v0.models {
2375
2432
  }
2376
2433
 
2377
2434
  interface CardPaymentSourceForm {
2435
+ readonly discriminator: 'card_payment_source_form';
2378
2436
  readonly customer_number: string;
2379
2437
  readonly card_id: string;
2380
2438
  }
@@ -2385,11 +2443,13 @@ declare namespace io.flow.v0.models {
2385
2443
  }
2386
2444
 
2387
2445
  interface CardReference {
2446
+ readonly discriminator: 'card_reference';
2388
2447
  readonly id: string;
2389
2448
  readonly token: string;
2390
2449
  }
2391
2450
 
2392
2451
  interface CardSummary {
2452
+ readonly discriminator: 'card_summary';
2393
2453
  readonly id: string;
2394
2454
  readonly type: io.flow.v0.enums.CardType;
2395
2455
  readonly expiration: io.flow.v0.models.Expiration;
@@ -2405,6 +2465,7 @@ declare namespace io.flow.v0.models {
2405
2465
  }
2406
2466
 
2407
2467
  interface CardUpsertedV2 {
2468
+ readonly discriminator: 'card_upserted_v2';
2408
2469
  readonly event_id: string;
2409
2470
  readonly timestamp: string;
2410
2471
  readonly organization: string;
@@ -2444,6 +2505,7 @@ declare namespace io.flow.v0.models {
2444
2505
  }
2445
2506
 
2446
2507
  interface CatalogDeleted {
2508
+ readonly discriminator: 'catalog_deleted';
2447
2509
  readonly event_id: string;
2448
2510
  readonly timestamp: string;
2449
2511
  readonly organization: string;
@@ -2451,6 +2513,7 @@ declare namespace io.flow.v0.models {
2451
2513
  }
2452
2514
 
2453
2515
  interface CatalogItemDeleted {
2516
+ readonly discriminator: 'catalog_item_deleted';
2454
2517
  readonly event_id: string;
2455
2518
  readonly timestamp: string;
2456
2519
  readonly organization: string;
@@ -2459,6 +2522,7 @@ declare namespace io.flow.v0.models {
2459
2522
  }
2460
2523
 
2461
2524
  interface CatalogItemDeletedV2 {
2525
+ readonly discriminator: 'catalog_item_deleted_v2';
2462
2526
  readonly event_id: string;
2463
2527
  readonly timestamp: string;
2464
2528
  readonly organization: string;
@@ -2466,6 +2530,7 @@ declare namespace io.flow.v0.models {
2466
2530
  }
2467
2531
 
2468
2532
  interface CatalogItemDocument {
2533
+ readonly discriminator: 'catalog_item_document';
2469
2534
  readonly number: string;
2470
2535
  readonly name: string;
2471
2536
  readonly categories: string[];
@@ -2481,6 +2546,7 @@ declare namespace io.flow.v0.models {
2481
2546
  }
2482
2547
 
2483
2548
  interface CatalogItemExportType {
2549
+ readonly discriminator: 'catalog_item_export_type';
2484
2550
  readonly numbers?: string[];
2485
2551
  readonly q?: string;
2486
2552
  readonly sort?: string;
@@ -2500,6 +2566,7 @@ declare namespace io.flow.v0.models {
2500
2566
  }
2501
2567
 
2502
2568
  interface CatalogItemUpserted {
2569
+ readonly discriminator: 'catalog_item_upserted';
2503
2570
  readonly event_id: string;
2504
2571
  readonly timestamp: string;
2505
2572
  readonly organization: string;
@@ -2523,6 +2590,7 @@ declare namespace io.flow.v0.models {
2523
2590
  }
2524
2591
 
2525
2592
  interface CatalogItemUpsertedV2 {
2593
+ readonly discriminator: 'catalog_item_upserted_v2';
2526
2594
  readonly event_id: string;
2527
2595
  readonly timestamp: string;
2528
2596
  readonly organization: string;
@@ -2548,6 +2616,7 @@ declare namespace io.flow.v0.models {
2548
2616
  }
2549
2617
 
2550
2618
  interface CatalogUpserted {
2619
+ readonly discriminator: 'catalog_upserted';
2551
2620
  readonly event_id: string;
2552
2621
  readonly timestamp: string;
2553
2622
  readonly organization: string;
@@ -2567,6 +2636,7 @@ declare namespace io.flow.v0.models {
2567
2636
  }
2568
2637
 
2569
2638
  interface Center {
2639
+ readonly discriminator: 'center';
2570
2640
  readonly id: string;
2571
2641
  readonly key: string;
2572
2642
  readonly address: io.flow.v0.models.ShippingAddress;
@@ -2580,6 +2650,7 @@ declare namespace io.flow.v0.models {
2580
2650
  }
2581
2651
 
2582
2652
  interface CenterDeleted {
2653
+ readonly discriminator: 'center_deleted';
2583
2654
  readonly event_id: string;
2584
2655
  readonly timestamp: string;
2585
2656
  readonly organization: string;
@@ -2603,6 +2674,7 @@ declare namespace io.flow.v0.models {
2603
2674
  }
2604
2675
 
2605
2676
  interface CenterReference {
2677
+ readonly discriminator: 'center_reference';
2606
2678
  readonly organization_id: string;
2607
2679
  readonly center_key: string;
2608
2680
  }
@@ -2614,6 +2686,7 @@ declare namespace io.flow.v0.models {
2614
2686
  }
2615
2687
 
2616
2688
  interface CenterUpserted {
2689
+ readonly discriminator: 'center_upserted';
2617
2690
  readonly event_id: string;
2618
2691
  readonly timestamp: string;
2619
2692
  readonly organization: string;
@@ -2666,6 +2739,7 @@ declare namespace io.flow.v0.models {
2666
2739
  }
2667
2740
 
2668
2741
  interface CheckoutOptinResponsesDeleted {
2742
+ readonly discriminator: 'checkout_optin_responses_deleted';
2669
2743
  readonly event_id: string;
2670
2744
  readonly timestamp: string;
2671
2745
  readonly organization: string;
@@ -2673,6 +2747,7 @@ declare namespace io.flow.v0.models {
2673
2747
  }
2674
2748
 
2675
2749
  interface CheckoutOptinResponsesUpserted {
2750
+ readonly discriminator: 'checkout_optin_responses_upserted';
2676
2751
  readonly event_id: string;
2677
2752
  readonly timestamp: string;
2678
2753
  readonly organization: string;
@@ -2699,6 +2774,7 @@ declare namespace io.flow.v0.models {
2699
2774
  }
2700
2775
 
2701
2776
  interface CheckoutTokenOrderForm {
2777
+ readonly discriminator: 'checkout_token_order_form';
2702
2778
  readonly order_form: io.flow.v0.models.OrderForm;
2703
2779
  readonly customer?: io.flow.v0.models.CustomerForm;
2704
2780
  readonly address_book?: io.flow.v0.models.CustomerAddressBookForm;
@@ -2709,6 +2785,7 @@ declare namespace io.flow.v0.models {
2709
2785
  }
2710
2786
 
2711
2787
  interface CheckoutTokenReferenceForm {
2788
+ readonly discriminator: 'checkout_token_reference_form';
2712
2789
  readonly order_number: string;
2713
2790
  readonly session_id: string;
2714
2791
  readonly urls: io.flow.v0.models.CheckoutUrlsForm;
@@ -2731,6 +2808,7 @@ declare namespace io.flow.v0.models {
2731
2808
  }
2732
2809
 
2733
2810
  interface CommercialInvoiceFee {
2811
+ readonly discriminator: 'commercial_invoice_fee';
2734
2812
  readonly amount: io.flow.v0.models.Money;
2735
2813
  }
2736
2814
 
@@ -2763,6 +2841,7 @@ declare namespace io.flow.v0.models {
2763
2841
  }
2764
2842
 
2765
2843
  interface ConsumerInvoiceDeleted {
2844
+ readonly discriminator: 'consumer_invoice_deleted';
2766
2845
  readonly event_id: string;
2767
2846
  readonly timestamp: string;
2768
2847
  readonly organization: string;
@@ -2799,14 +2878,17 @@ declare namespace io.flow.v0.models {
2799
2878
  }
2800
2879
 
2801
2880
  interface ConsumerInvoiceLineDiscount {
2881
+ readonly discriminator: 'discount';
2802
2882
  readonly price: io.flow.v0.models.Price;
2803
2883
  }
2804
2884
 
2805
2885
  interface ConsumerInvoiceLineDiscountForm {
2886
+ readonly discriminator: 'discount';
2806
2887
  readonly price: number;
2807
2888
  }
2808
2889
 
2809
2890
  interface ConsumerInvoiceLineItem {
2891
+ readonly discriminator: 'item';
2810
2892
  readonly item: io.flow.v0.models.ItemReference;
2811
2893
  readonly description: string;
2812
2894
  readonly quantity: number;
@@ -2817,6 +2899,7 @@ declare namespace io.flow.v0.models {
2817
2899
  }
2818
2900
 
2819
2901
  interface ConsumerInvoiceLineItemForm {
2902
+ readonly discriminator: 'item';
2820
2903
  readonly item_number: string;
2821
2904
  readonly quantity: number;
2822
2905
  readonly unit_price: number;
@@ -2826,6 +2909,7 @@ declare namespace io.flow.v0.models {
2826
2909
  }
2827
2910
 
2828
2911
  interface ConsumerInvoiceLineShipping {
2912
+ readonly discriminator: 'shipping';
2829
2913
  readonly price: io.flow.v0.models.Price;
2830
2914
  readonly discount?: io.flow.v0.models.Price;
2831
2915
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy;
@@ -2833,6 +2917,7 @@ declare namespace io.flow.v0.models {
2833
2917
  }
2834
2918
 
2835
2919
  interface ConsumerInvoiceLineShippingForm {
2920
+ readonly discriminator: 'shipping';
2836
2921
  readonly price: number;
2837
2922
  readonly discount?: number;
2838
2923
  readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm;
@@ -2859,6 +2944,7 @@ declare namespace io.flow.v0.models {
2859
2944
  }
2860
2945
 
2861
2946
  interface ConsumerInvoiceUpserted {
2947
+ readonly discriminator: 'consumer_invoice_upserted';
2862
2948
  readonly event_id: string;
2863
2949
  readonly timestamp: string;
2864
2950
  readonly organization: string;
@@ -2927,6 +3013,7 @@ declare namespace io.flow.v0.models {
2927
3013
  }
2928
3014
 
2929
3015
  interface CreditMemoDeleted {
3016
+ readonly discriminator: 'credit_memo_deleted';
2930
3017
  readonly event_id: string;
2931
3018
  readonly timestamp: string;
2932
3019
  readonly organization: string;
@@ -2944,6 +3031,7 @@ declare namespace io.flow.v0.models {
2944
3031
  }
2945
3032
 
2946
3033
  interface CreditMemoUpserted {
3034
+ readonly discriminator: 'credit_memo_upserted';
2947
3035
  readonly event_id: string;
2948
3036
  readonly timestamp: string;
2949
3037
  readonly organization: string;
@@ -2987,6 +3075,7 @@ declare namespace io.flow.v0.models {
2987
3075
  }
2988
3076
 
2989
3077
  interface CrossdockRatecardFee {
3078
+ readonly discriminator: 'crossdock_ratecard_fee';
2990
3079
  readonly amount: io.flow.v0.models.Money;
2991
3080
  }
2992
3081
 
@@ -2999,6 +3088,7 @@ declare namespace io.flow.v0.models {
2999
3088
  }
3000
3089
 
3001
3090
  interface CrossdockShipmentUpserted {
3091
+ readonly discriminator: 'crossdock_shipment_upserted';
3002
3092
  readonly event_id: string;
3003
3093
  readonly timestamp: string;
3004
3094
  readonly organization: string;
@@ -3032,6 +3122,7 @@ declare namespace io.flow.v0.models {
3032
3122
  }
3033
3123
 
3034
3124
  interface CurrencyFormatDeleted {
3125
+ readonly discriminator: 'currency_format_deleted';
3035
3126
  readonly event_id: string;
3036
3127
  readonly timestamp: string;
3037
3128
  readonly organization: string;
@@ -3039,6 +3130,7 @@ declare namespace io.flow.v0.models {
3039
3130
  }
3040
3131
 
3041
3132
  interface CurrencyFormatUpserted {
3133
+ readonly discriminator: 'currency_format_upserted';
3042
3134
  readonly event_id: string;
3043
3135
  readonly timestamp: string;
3044
3136
  readonly organization: string;
@@ -3073,6 +3165,7 @@ declare namespace io.flow.v0.models {
3073
3165
  }
3074
3166
 
3075
3167
  interface CustomerAddressBookContactDeleted {
3168
+ readonly discriminator: 'customer_address_book_contact_deleted';
3076
3169
  readonly event_id: string;
3077
3170
  readonly timestamp: string;
3078
3171
  readonly organization: string;
@@ -3086,6 +3179,7 @@ declare namespace io.flow.v0.models {
3086
3179
  }
3087
3180
 
3088
3181
  interface CustomerAddressBookContactUpserted {
3182
+ readonly discriminator: 'customer_address_book_contact_upserted';
3089
3183
  readonly event_id: string;
3090
3184
  readonly timestamp: string;
3091
3185
  readonly organization: string;
@@ -3106,6 +3200,7 @@ declare namespace io.flow.v0.models {
3106
3200
  }
3107
3201
 
3108
3202
  interface CustomerDeleted {
3203
+ readonly discriminator: 'customer_deleted';
3109
3204
  readonly event_id: string;
3110
3205
  readonly timestamp: string;
3111
3206
  readonly organization: string;
@@ -3156,6 +3251,7 @@ declare namespace io.flow.v0.models {
3156
3251
  }
3157
3252
 
3158
3253
  interface CustomerUpserted {
3254
+ readonly discriminator: 'customer_upserted';
3159
3255
  readonly event_id: string;
3160
3256
  readonly timestamp: string;
3161
3257
  readonly organization: string;
@@ -3173,6 +3269,7 @@ declare namespace io.flow.v0.models {
3173
3269
  }
3174
3270
 
3175
3271
  interface DdpRatecardFee {
3272
+ readonly discriminator: 'ddp_ratecard_fee';
3176
3273
  readonly amount: number;
3177
3274
  }
3178
3275
 
@@ -3289,12 +3386,14 @@ declare namespace io.flow.v0.models {
3289
3386
  }
3290
3387
 
3291
3388
  interface DeminimisPerItem {
3389
+ readonly discriminator: 'deminimis_per_item';
3292
3390
  readonly currency: string;
3293
3391
  readonly minimum?: number;
3294
3392
  readonly maximum?: number;
3295
3393
  }
3296
3394
 
3297
3395
  interface DeminimisSimple {
3396
+ readonly discriminator: 'deminimis_simple';
3298
3397
  readonly value?: number;
3299
3398
  readonly currency: string;
3300
3399
  readonly components: io.flow.v0.enums.LevyComponent[];
@@ -3302,6 +3401,7 @@ declare namespace io.flow.v0.models {
3302
3401
  }
3303
3402
 
3304
3403
  interface DetailedShippingLabelForm {
3404
+ readonly discriminator: 'detailed_shipping_label_form';
3305
3405
  readonly destination: io.flow.v0.models.ShippingAddress;
3306
3406
  readonly origin: io.flow.v0.models.ShippingAddress;
3307
3407
  readonly package: io.flow.v0.models.ShippingLabelPackage;
@@ -3316,6 +3416,7 @@ declare namespace io.flow.v0.models {
3316
3416
  }
3317
3417
 
3318
3418
  interface DetailedShippingNotificationForm {
3419
+ readonly discriminator: 'detailed_shipping_notification_form';
3319
3420
  readonly key?: string;
3320
3421
  readonly attributes?: {
3321
3422
  [key: string]: string;
@@ -3330,6 +3431,7 @@ declare namespace io.flow.v0.models {
3330
3431
  }
3331
3432
 
3332
3433
  interface DigitalDelivery {
3434
+ readonly discriminator: 'digital_delivery';
3333
3435
  readonly id: string;
3334
3436
  readonly key?: string;
3335
3437
  readonly items: io.flow.v0.models.DeliveryItem[];
@@ -3371,6 +3473,7 @@ declare namespace io.flow.v0.models {
3371
3473
  }
3372
3474
 
3373
3475
  interface DirectAuthorizationForm {
3476
+ readonly discriminator: 'direct_authorization_form';
3374
3477
  readonly token: string;
3375
3478
  readonly amount: number;
3376
3479
  readonly currency: string;
@@ -3389,11 +3492,13 @@ declare namespace io.flow.v0.models {
3389
3492
  }
3390
3493
 
3391
3494
  interface DirectDebit {
3495
+ readonly discriminator: 'direct_debit';
3392
3496
  readonly routing_number: string;
3393
3497
  readonly last4: string;
3394
3498
  }
3395
3499
 
3396
3500
  interface Discount {
3501
+ readonly discriminator: 'discount';
3397
3502
  readonly id: string;
3398
3503
  readonly code?: string;
3399
3504
  readonly label: string;
@@ -3410,10 +3515,12 @@ declare namespace io.flow.v0.models {
3410
3515
  }
3411
3516
 
3412
3517
  interface DiscountOfferFixed {
3518
+ readonly discriminator: 'discount_offer_fixed';
3413
3519
  readonly money: io.flow.v0.models.Money;
3414
3520
  }
3415
3521
 
3416
3522
  interface DiscountOfferPercent {
3523
+ readonly discriminator: 'discount_offer_percent';
3417
3524
  readonly percent: number;
3418
3525
  }
3419
3526
 
@@ -3440,6 +3547,7 @@ declare namespace io.flow.v0.models {
3440
3547
  }
3441
3548
 
3442
3549
  interface EcommercePlatformDeleted {
3550
+ readonly discriminator: 'ecommerce_platform_deleted';
3443
3551
  readonly event_id: string;
3444
3552
  readonly timestamp: string;
3445
3553
  readonly organization: string;
@@ -3452,6 +3560,7 @@ declare namespace io.flow.v0.models {
3452
3560
  }
3453
3561
 
3454
3562
  interface EcommercePlatformUpserted {
3563
+ readonly discriminator: 'ecommerce_platform_upserted';
3455
3564
  readonly event_id: string;
3456
3565
  readonly timestamp: string;
3457
3566
  readonly organization: string;
@@ -3466,12 +3575,14 @@ declare namespace io.flow.v0.models {
3466
3575
  }
3467
3576
 
3468
3577
  interface EmailNotificationDataRefund {
3578
+ readonly discriminator: 'refund';
3469
3579
  readonly order: io.flow.v0.models.OrderSummary;
3470
3580
  readonly return: io.flow.v0.models.OrderSummary;
3471
3581
  readonly payment: io.flow.v0.models.EmailPaymentSummary;
3472
3582
  }
3473
3583
 
3474
3584
  interface EmailNotificationDeleted {
3585
+ readonly discriminator: 'email_notification_deleted';
3475
3586
  readonly event_id: string;
3476
3587
  readonly timestamp: string;
3477
3588
  readonly organization: string;
@@ -3485,6 +3596,7 @@ declare namespace io.flow.v0.models {
3485
3596
  }
3486
3597
 
3487
3598
  interface EmailNotificationUpserted {
3599
+ readonly discriminator: 'email_notification_upserted';
3488
3600
  readonly event_id: string;
3489
3601
  readonly timestamp: string;
3490
3602
  readonly organization: string;
@@ -3551,6 +3663,7 @@ declare namespace io.flow.v0.models {
3551
3663
  }
3552
3664
 
3553
3665
  interface Experience {
3666
+ readonly discriminator: 'experience';
3554
3667
  readonly id: string;
3555
3668
  readonly key: string;
3556
3669
  readonly name: string;
@@ -3612,6 +3725,7 @@ declare namespace io.flow.v0.models {
3612
3725
  }
3613
3726
 
3614
3727
  interface ExperienceDeleted {
3728
+ readonly discriminator: 'experience_deleted';
3615
3729
  readonly event_id: string;
3616
3730
  readonly timestamp: string;
3617
3731
  readonly organization: string;
@@ -3620,6 +3734,7 @@ declare namespace io.flow.v0.models {
3620
3734
  }
3621
3735
 
3622
3736
  interface ExperienceDeletedV2 {
3737
+ readonly discriminator: 'experience_deleted_v2';
3623
3738
  readonly event_id: string;
3624
3739
  readonly timestamp: string;
3625
3740
  readonly organization: string;
@@ -3627,6 +3742,7 @@ declare namespace io.flow.v0.models {
3627
3742
  }
3628
3743
 
3629
3744
  interface ExperienceExportType {
3745
+ readonly discriminator: 'experience_export_type';
3630
3746
  readonly organization_id: string;
3631
3747
  readonly ids?: string[];
3632
3748
  readonly keys?: string[];
@@ -3661,6 +3777,7 @@ declare namespace io.flow.v0.models {
3661
3777
  }
3662
3778
 
3663
3779
  interface ExperienceLogisticsSettingsDeleted {
3780
+ readonly discriminator: 'experience_logistics_settings_deleted';
3664
3781
  readonly event_id: string;
3665
3782
  readonly timestamp: string;
3666
3783
  readonly organization: string;
@@ -3672,6 +3789,7 @@ declare namespace io.flow.v0.models {
3672
3789
  }
3673
3790
 
3674
3791
  interface ExperienceLogisticsSettingsUpserted {
3792
+ readonly discriminator: 'experience_logistics_settings_upserted';
3675
3793
  readonly event_id: string;
3676
3794
  readonly timestamp: string;
3677
3795
  readonly organization: string;
@@ -3710,6 +3828,7 @@ declare namespace io.flow.v0.models {
3710
3828
  }
3711
3829
 
3712
3830
  interface ExperiencePriceBookMappingDeleted {
3831
+ readonly discriminator: 'experience_price_book_mapping_deleted';
3713
3832
  readonly event_id: string;
3714
3833
  readonly timestamp: string;
3715
3834
  readonly organization: string;
@@ -3726,6 +3845,7 @@ declare namespace io.flow.v0.models {
3726
3845
  }
3727
3846
 
3728
3847
  interface ExperiencePriceBookMappingUpserted {
3848
+ readonly discriminator: 'experience_price_book_mapping_upserted';
3729
3849
  readonly event_id: string;
3730
3850
  readonly timestamp: string;
3731
3851
  readonly organization: string;
@@ -3764,6 +3884,7 @@ declare namespace io.flow.v0.models {
3764
3884
  }
3765
3885
 
3766
3886
  interface ExperienceReference {
3887
+ readonly discriminator: 'experience_reference';
3767
3888
  readonly key: string;
3768
3889
  }
3769
3890
 
@@ -3788,6 +3909,7 @@ declare namespace io.flow.v0.models {
3788
3909
  }
3789
3910
 
3790
3911
  interface ExperienceUpserted {
3912
+ readonly discriminator: 'experience_upserted';
3791
3913
  readonly event_id: string;
3792
3914
  readonly timestamp: string;
3793
3915
  readonly organization: string;
@@ -3805,6 +3927,7 @@ declare namespace io.flow.v0.models {
3805
3927
  }
3806
3928
 
3807
3929
  interface ExperienceUpsertedV2 {
3930
+ readonly discriminator: 'experience_upserted_v2';
3808
3931
  readonly event_id: string;
3809
3932
  readonly timestamp: string;
3810
3933
  readonly organization: string;
@@ -3836,6 +3959,7 @@ declare namespace io.flow.v0.models {
3836
3959
  }
3837
3960
 
3838
3961
  interface ExportDeliveryEmail {
3962
+ readonly discriminator: 'export_delivery_email';
3839
3963
  readonly email: string;
3840
3964
  }
3841
3965
 
@@ -3870,31 +3994,38 @@ declare namespace io.flow.v0.models {
3870
3994
  }
3871
3995
 
3872
3996
  interface ExternalApiTimeoutReservationError {
3997
+ readonly code: 'external_api_timeout';
3873
3998
  readonly messages: string[];
3874
3999
  }
3875
4000
 
3876
4001
  interface FieldValidationMax {
4002
+ readonly discriminator: 'max';
3877
4003
  readonly length: number;
3878
4004
  }
3879
4005
 
3880
4006
  interface FieldValidationMin {
4007
+ readonly discriminator: 'min';
3881
4008
  readonly length: number;
3882
4009
  }
3883
4010
 
3884
4011
  interface FieldValidationPattern {
4012
+ readonly discriminator: 'pattern';
3885
4013
  readonly pattern: string;
3886
4014
  }
3887
4015
 
3888
4016
  interface FieldValidationRequired {
4017
+ readonly discriminator: 'required';
3889
4018
  readonly unused: string;
3890
4019
  }
3891
4020
 
3892
4021
  interface FlatRate {
4022
+ readonly discriminator: 'flat_rate';
3893
4023
  readonly price: io.flow.v0.models.Price;
3894
4024
  readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator;
3895
4025
  }
3896
4026
 
3897
4027
  interface FlatRateForm {
4028
+ readonly discriminator: 'flat_rate_form';
3898
4029
  readonly price: io.flow.v0.models.Money;
3899
4030
  readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator;
3900
4031
  }
@@ -3917,6 +4048,7 @@ declare namespace io.flow.v0.models {
3917
4048
  }
3918
4049
 
3919
4050
  interface FraudStatusChanged {
4051
+ readonly discriminator: 'fraud_status_changed';
3920
4052
  readonly event_id: string;
3921
4053
  readonly timestamp: string;
3922
4054
  readonly id: string;
@@ -3926,11 +4058,13 @@ declare namespace io.flow.v0.models {
3926
4058
  }
3927
4059
 
3928
4060
  interface FreeShipping {
4061
+ readonly discriminator: 'free_shipping';
3929
4062
  readonly trigger: io.flow.v0.models.PromotionTrigger;
3930
4063
  readonly max?: io.flow.v0.models.Price;
3931
4064
  }
3932
4065
 
3933
4066
  interface FreeShippingOrderPromotion {
4067
+ readonly discriminator: 'free_shipping_order_promotion';
3934
4068
  readonly id: string;
3935
4069
  readonly order: io.flow.v0.unions.ExpandableOrder;
3936
4070
  readonly key: string;
@@ -3942,6 +4076,7 @@ declare namespace io.flow.v0.models {
3942
4076
  }
3943
4077
 
3944
4078
  interface FreeShippingOrderPromotionForm {
4079
+ readonly discriminator: 'free_shipping_order_promotion_form';
3945
4080
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
3946
4081
  readonly max?: io.flow.v0.models.PriceForm;
3947
4082
  readonly attributes?: {
@@ -4003,10 +4138,12 @@ declare namespace io.flow.v0.models {
4003
4138
  }
4004
4139
 
4005
4140
  interface FuelSurchargeRatecardFee {
4141
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
4006
4142
  readonly amount: io.flow.v0.models.Money;
4007
4143
  }
4008
4144
 
4009
4145
  interface FuelSurchargeServiceFee {
4146
+ readonly discriminator: 'fuel_surcharge_service_fee';
4010
4147
  readonly percent: number;
4011
4148
  }
4012
4149
 
@@ -4059,6 +4196,7 @@ declare namespace io.flow.v0.models {
4059
4196
  }
4060
4197
 
4061
4198
  interface FullyHarmonizedItemUpserted {
4199
+ readonly discriminator: 'fully_harmonized_item_upserted';
4062
4200
  readonly event_id: string;
4063
4201
  readonly timestamp: string;
4064
4202
  readonly organization: string;
@@ -4074,6 +4212,7 @@ declare namespace io.flow.v0.models {
4074
4212
  }
4075
4213
 
4076
4214
  interface GenericReservationError {
4215
+ readonly code: 'generic_reservation_error';
4077
4216
  readonly messages: string[];
4078
4217
  }
4079
4218
 
@@ -4086,18 +4225,21 @@ declare namespace io.flow.v0.models {
4086
4225
  }
4087
4226
 
4088
4227
  interface GooglePayAuthorizationPayload {
4228
+ readonly discriminator: 'google_pay_authorization_payload';
4089
4229
  readonly payload: {
4090
4230
  [key: string]: string;
4091
4231
  };
4092
4232
  }
4093
4233
 
4094
4234
  interface HarmonizationDocument {
4235
+ readonly discriminator: 'harmonization_document';
4095
4236
  readonly code: string;
4096
4237
  readonly categories: io.flow.v0.models.CategorySummary[];
4097
4238
  readonly origin?: string;
4098
4239
  }
4099
4240
 
4100
4241
  interface HarmonizationHs10ExportType {
4242
+ readonly discriminator: 'harmonization_hs10_export_type';
4101
4243
  readonly origin?: string;
4102
4244
  readonly destination?: string;
4103
4245
  readonly numbers?: string[];
@@ -4107,16 +4249,19 @@ declare namespace io.flow.v0.models {
4107
4249
  }
4108
4250
 
4109
4251
  interface HarmonizationHs6ExportType {
4252
+ readonly discriminator: 'harmonization_hs6_export_type';
4110
4253
  readonly numbers?: string[];
4111
4254
  readonly has_codes?: boolean;
4112
4255
  readonly sort?: string;
4113
4256
  }
4114
4257
 
4115
4258
  interface HarmonizationLandedCostExportType {
4259
+ readonly discriminator: 'harmonization_landed_cost_export_type';
4116
4260
  readonly items: io.flow.v0.models.LandedCostItem[];
4117
4261
  }
4118
4262
 
4119
4263
  interface HarmonizationOverviewExportType {
4264
+ readonly discriminator: 'harmonization_overview_export_type';
4120
4265
  readonly origin?: string;
4121
4266
  readonly destination?: string;
4122
4267
  readonly sort?: string;
@@ -4196,6 +4341,7 @@ declare namespace io.flow.v0.models {
4196
4341
  }
4197
4342
 
4198
4343
  interface HarmonizedLandedCostUpserted {
4344
+ readonly discriminator: 'harmonized_landed_cost_upserted';
4199
4345
  readonly event_id: string;
4200
4346
  readonly timestamp: string;
4201
4347
  readonly organization: string;
@@ -4237,6 +4383,7 @@ declare namespace io.flow.v0.models {
4237
4383
  }
4238
4384
 
4239
4385
  interface Hs10CodeDeleted {
4386
+ readonly discriminator: 'hs10_code_deleted';
4240
4387
  readonly event_id: string;
4241
4388
  readonly timestamp: string;
4242
4389
  readonly organization: string;
@@ -4246,6 +4393,7 @@ declare namespace io.flow.v0.models {
4246
4393
  }
4247
4394
 
4248
4395
  interface Hs10CodeUpserted {
4396
+ readonly discriminator: 'hs10_code_upserted';
4249
4397
  readonly event_id: string;
4250
4398
  readonly timestamp: string;
4251
4399
  readonly organization: string;
@@ -4269,6 +4417,7 @@ declare namespace io.flow.v0.models {
4269
4417
  }
4270
4418
 
4271
4419
  interface Hs6CodeDeleted {
4420
+ readonly discriminator: 'hs6_code_deleted';
4272
4421
  readonly event_id: string;
4273
4422
  readonly timestamp: string;
4274
4423
  readonly organization: string;
@@ -4276,6 +4425,7 @@ declare namespace io.flow.v0.models {
4276
4425
  }
4277
4426
 
4278
4427
  interface Hs6CodeUpserted {
4428
+ readonly discriminator: 'hs6_code_upserted';
4279
4429
  readonly event_id: string;
4280
4430
  readonly timestamp: string;
4281
4431
  readonly organization: string;
@@ -4291,11 +4441,17 @@ declare namespace io.flow.v0.models {
4291
4441
  interface Image {
4292
4442
  readonly url: string;
4293
4443
  readonly tags: io.flow.v0.enums.ImageTag[];
4444
+ readonly attributes?: {
4445
+ [key: string]: string;
4446
+ };
4294
4447
  }
4295
4448
 
4296
4449
  interface ImageForm {
4297
4450
  readonly url: string;
4298
4451
  readonly tags?: io.flow.v0.enums.ImageTag[];
4452
+ readonly attributes?: {
4453
+ [key: string]: string;
4454
+ };
4299
4455
  }
4300
4456
 
4301
4457
  interface Import {
@@ -4345,6 +4501,7 @@ declare namespace io.flow.v0.models {
4345
4501
  }
4346
4502
 
4347
4503
  interface InboundCartonFee {
4504
+ readonly discriminator: 'inbound_carton_fee';
4348
4505
  readonly amount: io.flow.v0.models.Money;
4349
4506
  }
4350
4507
 
@@ -4354,6 +4511,7 @@ declare namespace io.flow.v0.models {
4354
4511
  }
4355
4512
 
4356
4513
  interface InlineAuthorizationDetails {
4514
+ readonly discriminator: 'inline_authorization_details';
4357
4515
  readonly id: string;
4358
4516
  readonly client_token?: string;
4359
4517
  readonly parameters?: {
@@ -4362,6 +4520,7 @@ declare namespace io.flow.v0.models {
4362
4520
  }
4363
4521
 
4364
4522
  interface InlineAuthorizationForm {
4523
+ readonly discriminator: 'inline_authorization_form';
4365
4524
  readonly method: string;
4366
4525
  readonly issuer?: io.flow.v0.models.IssuerReference;
4367
4526
  readonly order_number: string;
@@ -4394,6 +4553,7 @@ declare namespace io.flow.v0.models {
4394
4553
  }
4395
4554
 
4396
4555
  interface InputSpecificationLimitationMax {
4556
+ readonly discriminator: 'input_specification_limitation_max';
4397
4557
  readonly max: number;
4398
4558
  }
4399
4559
 
@@ -4402,6 +4562,7 @@ declare namespace io.flow.v0.models {
4402
4562
  }
4403
4563
 
4404
4564
  interface InventoryBackorder {
4565
+ readonly discriminator: 'inventory_backorder';
4405
4566
  readonly quantity: number;
4406
4567
  }
4407
4568
 
@@ -4472,10 +4633,12 @@ declare namespace io.flow.v0.models {
4472
4633
  }
4473
4634
 
4474
4635
  interface InventoryStock {
4636
+ readonly discriminator: 'inventory_stock';
4475
4637
  readonly quantity: number;
4476
4638
  }
4477
4639
 
4478
4640
  interface InventoryUnlimited {
4641
+ readonly discriminator: 'inventory_unlimited';
4479
4642
  readonly quantity: string;
4480
4643
  }
4481
4644
 
@@ -4643,6 +4806,7 @@ declare namespace io.flow.v0.models {
4643
4806
  }
4644
4807
 
4645
4808
  interface ItemMarginDeleted {
4809
+ readonly discriminator: 'item_margin_deleted';
4646
4810
  readonly event_id: string;
4647
4811
  readonly timestamp: string;
4648
4812
  readonly item_margin_id: string;
@@ -4668,6 +4832,7 @@ declare namespace io.flow.v0.models {
4668
4832
  }
4669
4833
 
4670
4834
  interface ItemMarginUpserted {
4835
+ readonly discriminator: 'item_margin_upserted';
4671
4836
  readonly event_id: string;
4672
4837
  readonly timestamp: string;
4673
4838
  readonly item_margin_id: string;
@@ -4689,6 +4854,7 @@ declare namespace io.flow.v0.models {
4689
4854
  }
4690
4855
 
4691
4856
  interface ItemOriginDeleted {
4857
+ readonly discriminator: 'item_origin_deleted';
4692
4858
  readonly event_id: string;
4693
4859
  readonly timestamp: string;
4694
4860
  readonly organization: string;
@@ -4697,6 +4863,7 @@ declare namespace io.flow.v0.models {
4697
4863
  }
4698
4864
 
4699
4865
  interface ItemOriginUpserted {
4866
+ readonly discriminator: 'item_origin_upserted';
4700
4867
  readonly event_id: string;
4701
4868
  readonly timestamp: string;
4702
4869
  readonly organization: string;
@@ -4704,8 +4871,17 @@ declare namespace io.flow.v0.models {
4704
4871
  readonly origin: string;
4705
4872
  }
4706
4873
 
4874
+ interface ItemPriceUpdateForm {
4875
+ readonly number: string;
4876
+ readonly currency?: string;
4877
+ readonly price: number;
4878
+ readonly attributes: {
4879
+ [key: string]: string;
4880
+ };
4881
+ }
4882
+
4707
4883
  interface ItemPriceUpdatePutForm {
4708
- readonly currency: string;
4884
+ readonly currency?: string;
4709
4885
  readonly price: number;
4710
4886
  readonly attributes: {
4711
4887
  [key: string]: string;
@@ -4722,6 +4898,7 @@ declare namespace io.flow.v0.models {
4722
4898
  }
4723
4899
 
4724
4900
  interface ItemSalesMarginDeleted {
4901
+ readonly discriminator: 'item_sales_margin_deleted';
4725
4902
  readonly event_id: string;
4726
4903
  readonly timestamp: string;
4727
4904
  readonly item_sales_margin_id: string;
@@ -4730,6 +4907,7 @@ declare namespace io.flow.v0.models {
4730
4907
  }
4731
4908
 
4732
4909
  interface ItemSalesMarginUpserted {
4910
+ readonly discriminator: 'item_sales_margin_upserted';
4733
4911
  readonly event_id: string;
4734
4912
  readonly timestamp: string;
4735
4913
  readonly item_sales_margin_id: string;
@@ -4792,7 +4970,16 @@ declare namespace io.flow.v0.models {
4792
4970
  readonly total: io.flow.v0.models.PriceWithBase;
4793
4971
  }
4794
4972
 
4973
+ interface LabelDeletedV2 {
4974
+ readonly discriminator: 'label_deleted_v2';
4975
+ readonly event_id: string;
4976
+ readonly timestamp: string;
4977
+ readonly organization: string;
4978
+ readonly label: io.flow.v0.models.ShippingLabel;
4979
+ }
4980
+
4795
4981
  interface LabelFormatDeleted {
4982
+ readonly discriminator: 'label_format_deleted';
4796
4983
  readonly event_id: string;
4797
4984
  readonly timestamp: string;
4798
4985
  readonly organization: string;
@@ -4800,6 +4987,7 @@ declare namespace io.flow.v0.models {
4800
4987
  }
4801
4988
 
4802
4989
  interface LabelFormatUpserted {
4990
+ readonly discriminator: 'label_format_upserted';
4803
4991
  readonly event_id: string;
4804
4992
  readonly timestamp: string;
4805
4993
  readonly organization: string;
@@ -4813,6 +5001,7 @@ declare namespace io.flow.v0.models {
4813
5001
  }
4814
5002
 
4815
5003
  interface LabelUpserted {
5004
+ readonly discriminator: 'label_upserted';
4816
5005
  readonly event_id: string;
4817
5006
  readonly timestamp: string;
4818
5007
  readonly organization: string;
@@ -4837,6 +5026,14 @@ declare namespace io.flow.v0.models {
4837
5026
  readonly fulfillment_key?: string;
4838
5027
  }
4839
5028
 
5029
+ interface LabelUpsertedV2 {
5030
+ readonly discriminator: 'label_upserted_v2';
5031
+ readonly event_id: string;
5032
+ readonly timestamp: string;
5033
+ readonly organization: string;
5034
+ readonly label: io.flow.v0.models.ShippingLabel;
5035
+ }
5036
+
4840
5037
  interface LandedCostItem {
4841
5038
  readonly number: string;
4842
5039
  readonly origin: string;
@@ -4920,6 +5117,7 @@ declare namespace io.flow.v0.models {
4920
5117
  }
4921
5118
 
4922
5119
  interface LocalItemDeleted {
5120
+ readonly discriminator: 'local_item_deleted';
4923
5121
  readonly event_id: string;
4924
5122
  readonly timestamp: string;
4925
5123
  readonly organization: string;
@@ -4936,6 +5134,7 @@ declare namespace io.flow.v0.models {
4936
5134
  }
4937
5135
 
4938
5136
  interface LocalItemUpserted {
5137
+ readonly discriminator: 'local_item_upserted';
4939
5138
  readonly event_id: string;
4940
5139
  readonly timestamp: string;
4941
5140
  readonly organization: string;
@@ -4980,6 +5179,7 @@ declare namespace io.flow.v0.models {
4980
5179
  }
4981
5180
 
4982
5181
  interface LocalizedItemDuty {
5182
+ readonly key: 'localized_item_duty';
4983
5183
  readonly currency: string;
4984
5184
  readonly amount: number;
4985
5185
  readonly label: string;
@@ -4989,6 +5189,7 @@ declare namespace io.flow.v0.models {
4989
5189
  }
4990
5190
 
4991
5191
  interface LocalizedItemPrice {
5192
+ readonly key: 'localized_item_price';
4992
5193
  readonly currency: string;
4993
5194
  readonly amount: number;
4994
5195
  readonly label: string;
@@ -4997,10 +5198,12 @@ declare namespace io.flow.v0.models {
4997
5198
  }
4998
5199
 
4999
5200
  interface LocalizedItemPricesExportType {
5201
+ readonly discriminator: 'localized_item_prices_export_type';
5000
5202
  readonly since?: string;
5001
5203
  }
5002
5204
 
5003
5205
  interface LocalizedItemVat {
5206
+ readonly key: 'localized_item_vat';
5004
5207
  readonly currency: string;
5005
5208
  readonly amount: number;
5006
5209
  readonly label: string;
@@ -5037,6 +5240,7 @@ declare namespace io.flow.v0.models {
5037
5240
  }
5038
5241
 
5039
5242
  interface LocalizedTotal {
5243
+ readonly key: 'localized_total';
5040
5244
  readonly currency: string;
5041
5245
  readonly amount: number;
5042
5246
  readonly label: string;
@@ -5071,12 +5275,14 @@ declare namespace io.flow.v0.models {
5071
5275
  }
5072
5276
 
5073
5277
  interface ManifestedLabelDeleted {
5278
+ readonly discriminator: 'manifested_label_deleted';
5074
5279
  readonly event_id: string;
5075
5280
  readonly timestamp: string;
5076
5281
  readonly id: string;
5077
5282
  }
5078
5283
 
5079
5284
  interface ManifestedLabelUpserted {
5285
+ readonly discriminator: 'manifested_label_upserted';
5080
5286
  readonly event_id: string;
5081
5287
  readonly timestamp: string;
5082
5288
  readonly organization: string;
@@ -5108,6 +5314,7 @@ declare namespace io.flow.v0.models {
5108
5314
  }
5109
5315
 
5110
5316
  interface MembershipDeletedV2 {
5317
+ readonly discriminator: 'membership_deleted_v2';
5111
5318
  readonly event_id: string;
5112
5319
  readonly timestamp: string;
5113
5320
  readonly membership: io.flow.v0.models.Membership;
@@ -5126,6 +5333,7 @@ declare namespace io.flow.v0.models {
5126
5333
  }
5127
5334
 
5128
5335
  interface MembershipUpsertedV2 {
5336
+ readonly discriminator: 'membership_upserted_v2';
5129
5337
  readonly event_id: string;
5130
5338
  readonly timestamp: string;
5131
5339
  readonly membership: io.flow.v0.models.Membership;
@@ -5173,6 +5381,7 @@ declare namespace io.flow.v0.models {
5173
5381
  }
5174
5382
 
5175
5383
  interface MerchantOfRecordAuthorizationForm {
5384
+ readonly discriminator: 'merchant_of_record_authorization_form';
5176
5385
  readonly token: string;
5177
5386
  readonly order_number: string;
5178
5387
  readonly amount?: number;
@@ -5207,6 +5416,7 @@ declare namespace io.flow.v0.models {
5207
5416
  }
5208
5417
 
5209
5418
  interface MerchantOfRecordPaymentForm {
5419
+ readonly discriminator: 'merchant_of_record_payment_form';
5210
5420
  readonly method: string;
5211
5421
  readonly order_number: string;
5212
5422
  readonly amount: number;
@@ -5241,6 +5451,7 @@ declare namespace io.flow.v0.models {
5241
5451
  }
5242
5452
 
5243
5453
  interface NoInventoryReservationError {
5454
+ readonly code: 'no_inventory';
5244
5455
  readonly messages: string[];
5245
5456
  readonly items: io.flow.v0.models.NoInventoryReservationErrorItem[];
5246
5457
  }
@@ -5252,6 +5463,7 @@ declare namespace io.flow.v0.models {
5252
5463
  }
5253
5464
 
5254
5465
  interface NotificationDeleted {
5466
+ readonly discriminator: 'notification_deleted';
5255
5467
  readonly event_id: string;
5256
5468
  readonly timestamp: string;
5257
5469
  readonly organization: string;
@@ -5267,6 +5479,7 @@ declare namespace io.flow.v0.models {
5267
5479
  }
5268
5480
 
5269
5481
  interface NotificationUpserted {
5482
+ readonly discriminator: 'notification_upserted';
5270
5483
  readonly event_id: string;
5271
5484
  readonly timestamp: string;
5272
5485
  readonly organization: string;
@@ -5289,6 +5502,7 @@ declare namespace io.flow.v0.models {
5289
5502
  }
5290
5503
 
5291
5504
  interface OnlineAuthorization {
5505
+ readonly discriminator: 'online_authorization';
5292
5506
  readonly id: string;
5293
5507
  readonly key: string;
5294
5508
  readonly method?: io.flow.v0.models.PaymentMethod;
@@ -5315,6 +5529,7 @@ declare namespace io.flow.v0.models {
5315
5529
  }
5316
5530
 
5317
5531
  interface OnlineAuthorizationDeletedV2 {
5532
+ readonly discriminator: 'online_authorization_deleted_v2';
5318
5533
  readonly event_id: string;
5319
5534
  readonly timestamp: string;
5320
5535
  readonly organization: string;
@@ -5322,6 +5537,7 @@ declare namespace io.flow.v0.models {
5322
5537
  }
5323
5538
 
5324
5539
  interface OnlineAuthorizationUpsertedV2 {
5540
+ readonly discriminator: 'online_authorization_upserted_v2';
5325
5541
  readonly event_id: string;
5326
5542
  readonly timestamp: string;
5327
5543
  readonly organization: string;
@@ -5346,6 +5562,7 @@ declare namespace io.flow.v0.models {
5346
5562
  }
5347
5563
 
5348
5564
  interface Order {
5565
+ readonly discriminator: 'order';
5349
5566
  readonly id: string;
5350
5567
  readonly number: string;
5351
5568
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
@@ -5431,6 +5648,7 @@ declare namespace io.flow.v0.models {
5431
5648
  }
5432
5649
 
5433
5650
  interface OrderDeleted {
5651
+ readonly discriminator: 'order_deleted';
5434
5652
  readonly event_id: string;
5435
5653
  readonly timestamp: string;
5436
5654
  readonly organization: string;
@@ -5438,6 +5656,7 @@ declare namespace io.flow.v0.models {
5438
5656
  }
5439
5657
 
5440
5658
  interface OrderDeletedV2 {
5659
+ readonly discriminator: 'order_deleted_v2';
5441
5660
  readonly event_id: string;
5442
5661
  readonly timestamp: string;
5443
5662
  readonly organization: string;
@@ -5475,6 +5694,7 @@ declare namespace io.flow.v0.models {
5475
5694
  }
5476
5695
 
5477
5696
  interface OrderExportType {
5697
+ readonly discriminator: 'order_export_type';
5478
5698
  readonly numbers?: string[];
5479
5699
  readonly min_hours_since_submitted_at?: number;
5480
5700
  readonly submitted_on_or_before?: string;
@@ -5521,12 +5741,14 @@ declare namespace io.flow.v0.models {
5521
5741
  }
5522
5742
 
5523
5743
  interface OrderIdentifierDeleted {
5744
+ readonly discriminator: 'order_identifier_deleted';
5524
5745
  readonly event_id: string;
5525
5746
  readonly timestamp: string;
5526
5747
  readonly id: string;
5527
5748
  }
5528
5749
 
5529
5750
  interface OrderIdentifierDeletedV2 {
5751
+ readonly discriminator: 'order_identifier_deleted_v2';
5530
5752
  readonly event_id: string;
5531
5753
  readonly timestamp: string;
5532
5754
  readonly organization: string;
@@ -5548,6 +5770,7 @@ declare namespace io.flow.v0.models {
5548
5770
  }
5549
5771
 
5550
5772
  interface OrderIdentifierUpserted {
5773
+ readonly discriminator: 'order_identifier_upserted';
5551
5774
  readonly event_id: string;
5552
5775
  readonly timestamp: string;
5553
5776
  readonly id: string;
@@ -5557,6 +5780,7 @@ declare namespace io.flow.v0.models {
5557
5780
  }
5558
5781
 
5559
5782
  interface OrderIdentifierUpsertedV2 {
5783
+ readonly discriminator: 'order_identifier_upserted_v2';
5560
5784
  readonly event_id: string;
5561
5785
  readonly timestamp: string;
5562
5786
  readonly organization: string;
@@ -5567,6 +5791,7 @@ declare namespace io.flow.v0.models {
5567
5791
  }
5568
5792
 
5569
5793
  interface OrderIdentifierUpsertedV3 {
5794
+ readonly discriminator: 'order_identifier_upserted_v3';
5570
5795
  readonly event_id: string;
5571
5796
  readonly timestamp: string;
5572
5797
  readonly organization: string;
@@ -5592,10 +5817,12 @@ declare namespace io.flow.v0.models {
5592
5817
  }
5593
5818
 
5594
5819
  interface OrderNumberGeneratorHexadecimal {
5820
+ readonly discriminator: 'hexadecimal';
5595
5821
  readonly length: number;
5596
5822
  }
5597
5823
 
5598
5824
  interface OrderNumberGeneratorPrefixSuffix {
5825
+ readonly discriminator: 'prefix_suffix';
5599
5826
  readonly prefix?: string;
5600
5827
  readonly starts_with?: number;
5601
5828
  readonly suffix?: string;
@@ -5603,6 +5830,7 @@ declare namespace io.flow.v0.models {
5603
5830
  }
5604
5831
 
5605
5832
  interface OrderNumberGeneratorUuid {
5833
+ readonly discriminator: 'uuid';
5606
5834
  readonly prefix?: string;
5607
5835
  }
5608
5836
 
@@ -5629,6 +5857,7 @@ declare namespace io.flow.v0.models {
5629
5857
  }
5630
5858
 
5631
5859
  interface OrderPlaced {
5860
+ readonly discriminator: 'order_placed';
5632
5861
  readonly event_id: string;
5633
5862
  readonly timestamp: string;
5634
5863
  readonly organization: string;
@@ -5644,6 +5873,7 @@ declare namespace io.flow.v0.models {
5644
5873
  }
5645
5874
 
5646
5875
  interface OrderPlacedV2 {
5876
+ readonly discriminator: 'order_placed_v2';
5647
5877
  readonly event_id: string;
5648
5878
  readonly timestamp: string;
5649
5879
  readonly organization: string;
@@ -5693,6 +5923,7 @@ declare namespace io.flow.v0.models {
5693
5923
  }
5694
5924
 
5695
5925
  interface OrderReference {
5926
+ readonly discriminator: 'order_reference';
5696
5927
  readonly id: string;
5697
5928
  readonly number: string;
5698
5929
  }
@@ -5718,6 +5949,7 @@ declare namespace io.flow.v0.models {
5718
5949
  }
5719
5950
 
5720
5951
  interface OrderServiceChangeRequest {
5952
+ readonly discriminator: 'order_service_change_request';
5721
5953
  readonly event_id: string;
5722
5954
  readonly timestamp: string;
5723
5955
  readonly organization: string;
@@ -5802,6 +6034,7 @@ declare namespace io.flow.v0.models {
5802
6034
  }
5803
6035
 
5804
6036
  interface OrderUpserted {
6037
+ readonly discriminator: 'order_upserted';
5805
6038
  readonly event_id: string;
5806
6039
  readonly timestamp: string;
5807
6040
  readonly organization: string;
@@ -5833,6 +6066,7 @@ declare namespace io.flow.v0.models {
5833
6066
  }
5834
6067
 
5835
6068
  interface OrderUpsertedV2 {
6069
+ readonly discriminator: 'order_upserted_v2';
5836
6070
  readonly event_id: string;
5837
6071
  readonly timestamp: string;
5838
6072
  readonly organization: string;
@@ -5846,7 +6080,13 @@ declare namespace io.flow.v0.models {
5846
6080
  readonly order: io.flow.v0.models.Order;
5847
6081
  }
5848
6082
 
6083
+ interface OrderWithDiscountsForm {
6084
+ readonly order: io.flow.v0.models.OrderForm;
6085
+ readonly discounts: string[];
6086
+ }
6087
+
5849
6088
  interface Organization {
6089
+ readonly discriminator: 'organization';
5850
6090
  readonly id: string;
5851
6091
  readonly name: string;
5852
6092
  readonly environment: io.flow.v0.enums.Environment;
@@ -5895,6 +6135,7 @@ declare namespace io.flow.v0.models {
5895
6135
  }
5896
6136
 
5897
6137
  interface OrganizationDefaultConfigurationsDeleted {
6138
+ readonly discriminator: 'organization_default_configurations_deleted';
5898
6139
  readonly event_id: string;
5899
6140
  readonly timestamp: string;
5900
6141
  readonly organization: string;
@@ -5906,6 +6147,7 @@ declare namespace io.flow.v0.models {
5906
6147
  }
5907
6148
 
5908
6149
  interface OrganizationDefaultConfigurationsUpserted {
6150
+ readonly discriminator: 'organization_default_configurations_upserted';
5909
6151
  readonly event_id: string;
5910
6152
  readonly timestamp: string;
5911
6153
  readonly organization: string;
@@ -5921,12 +6163,14 @@ declare namespace io.flow.v0.models {
5921
6163
  }
5922
6164
 
5923
6165
  interface OrganizationDeleted {
6166
+ readonly discriminator: 'organization_deleted';
5924
6167
  readonly event_id: string;
5925
6168
  readonly timestamp: string;
5926
6169
  readonly id: string;
5927
6170
  }
5928
6171
 
5929
6172
  interface OrganizationDeletedV2 {
6173
+ readonly discriminator: 'organization_deleted_v2';
5930
6174
  readonly event_id: string;
5931
6175
  readonly timestamp: string;
5932
6176
  readonly organization: io.flow.v0.models.Organization;
@@ -5952,6 +6196,7 @@ declare namespace io.flow.v0.models {
5952
6196
  }
5953
6197
 
5954
6198
  interface OrganizationRatesPublished {
6199
+ readonly discriminator: 'organization_rates_published';
5955
6200
  readonly event_id: string;
5956
6201
  readonly timestamp: string;
5957
6202
  readonly organization: string;
@@ -5959,10 +6204,12 @@ declare namespace io.flow.v0.models {
5959
6204
  }
5960
6205
 
5961
6206
  interface OrganizationReference {
6207
+ readonly discriminator: 'organization_reference';
5962
6208
  readonly id: string;
5963
6209
  }
5964
6210
 
5965
6211
  interface OrganizationSession {
6212
+ readonly discriminator: 'organization_session';
5966
6213
  readonly id: string;
5967
6214
  readonly organization: string;
5968
6215
  readonly visitor: io.flow.v0.models.SessionVisitor;
@@ -5980,6 +6227,7 @@ declare namespace io.flow.v0.models {
5980
6227
  }
5981
6228
 
5982
6229
  interface OrganizationSessionAuthorization {
6230
+ readonly discriminator: 'organization_session_authorization';
5983
6231
  readonly organization: io.flow.v0.models.OrganizationReference;
5984
6232
  readonly environment: io.flow.v0.enums.Environment;
5985
6233
  }
@@ -5991,12 +6239,14 @@ declare namespace io.flow.v0.models {
5991
6239
  }
5992
6240
 
5993
6241
  interface OrganizationShortIdDeleted {
6242
+ readonly discriminator: 'organization_short_id_deleted';
5994
6243
  readonly event_id: string;
5995
6244
  readonly timestamp: string;
5996
6245
  readonly organization_short_id: io.flow.v0.models.OrganizationShortId;
5997
6246
  }
5998
6247
 
5999
6248
  interface OrganizationShortIdUpserted {
6249
+ readonly discriminator: 'organization_short_id_upserted';
6000
6250
  readonly event_id: string;
6001
6251
  readonly timestamp: string;
6002
6252
  readonly organization_short_id: io.flow.v0.models.OrganizationShortId;
@@ -6008,6 +6258,7 @@ declare namespace io.flow.v0.models {
6008
6258
  }
6009
6259
 
6010
6260
  interface OrganizationToken {
6261
+ readonly discriminator: 'organization_token';
6011
6262
  readonly id: string;
6012
6263
  readonly organization: io.flow.v0.models.OrganizationReference;
6013
6264
  readonly user: io.flow.v0.models.UserReference;
@@ -6023,6 +6274,7 @@ declare namespace io.flow.v0.models {
6023
6274
  }
6024
6275
 
6025
6276
  interface OrganizationTokenReference {
6277
+ readonly discriminator: 'organization_token_reference';
6026
6278
  readonly id: string;
6027
6279
  readonly organization: io.flow.v0.models.OrganizationReference;
6028
6280
  readonly environment: io.flow.v0.enums.Environment;
@@ -6030,6 +6282,7 @@ declare namespace io.flow.v0.models {
6030
6282
  }
6031
6283
 
6032
6284
  interface OrganizationUpserted {
6285
+ readonly discriminator: 'organization_upserted';
6033
6286
  readonly event_id: string;
6034
6287
  readonly timestamp: string;
6035
6288
  readonly id: string;
@@ -6045,6 +6298,7 @@ declare namespace io.flow.v0.models {
6045
6298
  }
6046
6299
 
6047
6300
  interface OrganizationUpsertedV2 {
6301
+ readonly discriminator: 'organization_upserted_v2';
6048
6302
  readonly event_id: string;
6049
6303
  readonly timestamp: string;
6050
6304
  readonly organization: io.flow.v0.models.Organization;
@@ -6063,10 +6317,12 @@ declare namespace io.flow.v0.models {
6063
6317
  }
6064
6318
 
6065
6319
  interface OutboundCartonFee {
6320
+ readonly discriminator: 'outbound_carton_fee';
6066
6321
  readonly amount: io.flow.v0.models.Money;
6067
6322
  }
6068
6323
 
6069
6324
  interface OversizedShipmentRatecardFee {
6325
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
6070
6326
  readonly weight_threshold: number;
6071
6327
  readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement;
6072
6328
  readonly margin?: number;
@@ -6096,6 +6352,7 @@ declare namespace io.flow.v0.models {
6096
6352
  }
6097
6353
 
6098
6354
  interface PartnerToken {
6355
+ readonly discriminator: 'partner_token';
6099
6356
  readonly id: string;
6100
6357
  readonly partner: io.flow.v0.models.TokenPartnerReference;
6101
6358
  readonly user: io.flow.v0.models.UserReference;
@@ -6111,6 +6368,7 @@ declare namespace io.flow.v0.models {
6111
6368
  }
6112
6369
 
6113
6370
  interface PartnerTokenReference {
6371
+ readonly discriminator: 'partner_token_reference';
6114
6372
  readonly id: string;
6115
6373
  readonly partner: io.flow.v0.models.TokenPartnerReference;
6116
6374
  readonly environment: io.flow.v0.enums.Environment;
@@ -6132,6 +6390,7 @@ declare namespace io.flow.v0.models {
6132
6390
  }
6133
6391
 
6134
6392
  interface PaymentDeleted {
6393
+ readonly discriminator: 'payment_deleted';
6135
6394
  readonly event_id: string;
6136
6395
  readonly timestamp: string;
6137
6396
  readonly organization: string;
@@ -6187,6 +6446,7 @@ declare namespace io.flow.v0.models {
6187
6446
  }
6188
6447
 
6189
6448
  interface PaymentPaypal {
6449
+ readonly discriminator: 'payment_paypal';
6190
6450
  readonly id: string;
6191
6451
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
6192
6452
  readonly amount: number;
@@ -6207,6 +6467,7 @@ declare namespace io.flow.v0.models {
6207
6467
  }
6208
6468
 
6209
6469
  interface PaymentUpserted {
6470
+ readonly discriminator: 'payment_upserted';
6210
6471
  readonly event_id: string;
6211
6472
  readonly timestamp: string;
6212
6473
  readonly organization: string;
@@ -6222,10 +6483,12 @@ declare namespace io.flow.v0.models {
6222
6483
  }
6223
6484
 
6224
6485
  interface PaypalAuthorizationDetails {
6486
+ readonly discriminator: 'paypal_authorization_details';
6225
6487
  readonly payment_id: string;
6226
6488
  }
6227
6489
 
6228
6490
  interface PaypalAuthorizationForm {
6491
+ readonly discriminator: 'paypal_authorization_form';
6229
6492
  readonly paypal_payment_id: string;
6230
6493
  readonly paypal_payer_id: string;
6231
6494
  readonly key?: string;
@@ -6236,6 +6499,7 @@ declare namespace io.flow.v0.models {
6236
6499
  }
6237
6500
 
6238
6501
  interface PercentMargin {
6502
+ readonly discriminator: 'percent_margin';
6239
6503
  readonly percentage: number;
6240
6504
  }
6241
6505
 
@@ -6281,6 +6545,7 @@ declare namespace io.flow.v0.models {
6281
6545
  }
6282
6546
 
6283
6547
  interface PhysicalDelivery {
6548
+ readonly discriminator: 'physical_delivery';
6284
6549
  readonly id: string;
6285
6550
  readonly key?: string;
6286
6551
  readonly center?: io.flow.v0.models.CenterSummary;
@@ -6313,6 +6578,7 @@ declare namespace io.flow.v0.models {
6313
6578
  }
6314
6579
 
6315
6580
  interface PriceBookDeleted {
6581
+ readonly discriminator: 'price_book_deleted';
6316
6582
  readonly event_id: string;
6317
6583
  readonly timestamp: string;
6318
6584
  readonly organization: string;
@@ -6339,6 +6605,7 @@ declare namespace io.flow.v0.models {
6339
6605
  }
6340
6606
 
6341
6607
  interface PriceBookItemDeleted {
6608
+ readonly discriminator: 'price_book_item_deleted';
6342
6609
  readonly event_id: string;
6343
6610
  readonly timestamp: string;
6344
6611
  readonly organization: string;
@@ -6346,6 +6613,7 @@ declare namespace io.flow.v0.models {
6346
6613
  }
6347
6614
 
6348
6615
  interface PriceBookItemExportType {
6616
+ readonly discriminator: 'price_book_item_export_type';
6349
6617
  readonly price_book_key?: string;
6350
6618
  readonly item_numbers?: string[];
6351
6619
  readonly start_date?: string;
@@ -6378,6 +6646,7 @@ declare namespace io.flow.v0.models {
6378
6646
  }
6379
6647
 
6380
6648
  interface PriceBookItemUpserted {
6649
+ readonly discriminator: 'price_book_item_upserted';
6381
6650
  readonly event_id: string;
6382
6651
  readonly timestamp: string;
6383
6652
  readonly organization: string;
@@ -6390,6 +6659,7 @@ declare namespace io.flow.v0.models {
6390
6659
  }
6391
6660
 
6392
6661
  interface PriceBookUpserted {
6662
+ readonly discriminator: 'price_book_upserted';
6393
6663
  readonly event_id: string;
6394
6664
  readonly timestamp: string;
6395
6665
  readonly organization: string;
@@ -6450,10 +6720,12 @@ declare namespace io.flow.v0.models {
6450
6720
  }
6451
6721
 
6452
6722
  interface PriceSourceCatalog {
6723
+ readonly discriminator: 'catalog';
6453
6724
  readonly price: io.flow.v0.models.Money;
6454
6725
  }
6455
6726
 
6456
6727
  interface PriceSourcePriceBook {
6728
+ readonly discriminator: 'price_book';
6457
6729
  readonly price: io.flow.v0.models.Money;
6458
6730
  readonly includes: io.flow.v0.models.IncludedLevies;
6459
6731
  readonly price_book_reference: io.flow.v0.models.PriceSourcePriceBookReference;
@@ -6465,6 +6737,7 @@ declare namespace io.flow.v0.models {
6465
6737
  }
6466
6738
 
6467
6739
  interface PriceSourceProvided {
6740
+ readonly discriminator: 'provided';
6468
6741
  readonly price: io.flow.v0.models.Money;
6469
6742
  }
6470
6743
 
@@ -6490,6 +6763,7 @@ declare namespace io.flow.v0.models {
6490
6763
  }
6491
6764
 
6492
6765
  interface PricingDeleted {
6766
+ readonly discriminator: 'pricing_deleted';
6493
6767
  readonly event_id: string;
6494
6768
  readonly timestamp: string;
6495
6769
  readonly organization: string;
@@ -6503,6 +6777,7 @@ declare namespace io.flow.v0.models {
6503
6777
  }
6504
6778
 
6505
6779
  interface PricingUpserted {
6780
+ readonly discriminator: 'pricing_upserted';
6506
6781
  readonly event_id: string;
6507
6782
  readonly timestamp: string;
6508
6783
  readonly organization: string;
@@ -6562,14 +6837,17 @@ declare namespace io.flow.v0.models {
6562
6837
  }
6563
6838
 
6564
6839
  interface QueryBuilderFilterForm {
6840
+ readonly discriminator: 'filter';
6565
6841
  readonly filters: io.flow.v0.unions.QueryFilterForm[];
6566
6842
  }
6567
6843
 
6568
6844
  interface QueryBuilderQueryForm {
6845
+ readonly discriminator: 'query';
6569
6846
  readonly q: string;
6570
6847
  }
6571
6848
 
6572
6849
  interface QueryFilterStructured {
6850
+ readonly discriminator: 'structured';
6573
6851
  readonly q: string;
6574
6852
  readonly field: string;
6575
6853
  readonly operator: string;
@@ -6577,16 +6855,19 @@ declare namespace io.flow.v0.models {
6577
6855
  }
6578
6856
 
6579
6857
  interface QueryFilterStructuredForm {
6858
+ readonly discriminator: 'structured';
6580
6859
  readonly field: string;
6581
6860
  readonly operator: string;
6582
6861
  readonly values: string[];
6583
6862
  }
6584
6863
 
6585
6864
  interface QueryFilterUnstructured {
6865
+ readonly discriminator: 'unstructured';
6586
6866
  readonly q: string;
6587
6867
  }
6588
6868
 
6589
6869
  interface QueryFilterUnstructuredForm {
6870
+ readonly discriminator: 'unstructured';
6590
6871
  readonly q: string;
6591
6872
  }
6592
6873
 
@@ -6646,12 +6927,14 @@ declare namespace io.flow.v0.models {
6646
6927
  }
6647
6928
 
6648
6929
  interface RateDeleted {
6930
+ readonly discriminator: 'rate_deleted';
6649
6931
  readonly event_id: string;
6650
6932
  readonly timestamp: string;
6651
6933
  readonly rate_id: string;
6652
6934
  }
6653
6935
 
6654
6936
  interface RateDeletedV3 {
6937
+ readonly discriminator: 'rate_deleted_v3';
6655
6938
  readonly event_id: string;
6656
6939
  readonly timestamp: string;
6657
6940
  readonly organization: string;
@@ -6665,6 +6948,7 @@ declare namespace io.flow.v0.models {
6665
6948
  }
6666
6949
 
6667
6950
  interface RateUpserted {
6951
+ readonly discriminator: 'rate_upserted';
6668
6952
  readonly event_id: string;
6669
6953
  readonly timestamp: string;
6670
6954
  readonly rate_id: string;
@@ -6676,6 +6960,7 @@ declare namespace io.flow.v0.models {
6676
6960
  }
6677
6961
 
6678
6962
  interface RateUpsertedV3 {
6963
+ readonly discriminator: 'rate_upserted_v3';
6679
6964
  readonly event_id: string;
6680
6965
  readonly timestamp: string;
6681
6966
  readonly organization: string;
@@ -6706,6 +6991,7 @@ declare namespace io.flow.v0.models {
6706
6991
  }
6707
6992
 
6708
6993
  interface RatecardDeleted {
6994
+ readonly discriminator: 'ratecard_deleted';
6709
6995
  readonly event_id: string;
6710
6996
  readonly timestamp: string;
6711
6997
  readonly organization: string;
@@ -6713,6 +6999,7 @@ declare namespace io.flow.v0.models {
6713
6999
  }
6714
7000
 
6715
7001
  interface RatecardEstimateFormV1 {
7002
+ readonly discriminator: 'ratecard_estimate_form_v1';
6716
7003
  readonly origin?: string;
6717
7004
  readonly destination?: string;
6718
7005
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -6727,6 +7014,7 @@ declare namespace io.flow.v0.models {
6727
7014
  }
6728
7015
 
6729
7016
  interface RatecardEstimateFormV2 {
7017
+ readonly discriminator: 'ratecard_estimate_form_v2';
6730
7018
  readonly origin_address: io.flow.v0.models.Address;
6731
7019
  readonly destination_address: io.flow.v0.models.Address;
6732
7020
  readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement;
@@ -6749,6 +7037,7 @@ declare namespace io.flow.v0.models {
6749
7037
  }
6750
7038
 
6751
7039
  interface RatecardEstimateV1 {
7040
+ readonly discriminator: 'ratecard_estimate_v1';
6752
7041
  readonly service: io.flow.v0.models.RatecardServiceSummary;
6753
7042
  readonly shipment_window: io.flow.v0.models.ShipmentWindow;
6754
7043
  readonly currency: string;
@@ -6762,6 +7051,7 @@ declare namespace io.flow.v0.models {
6762
7051
  }
6763
7052
 
6764
7053
  interface RatecardEstimateV2 {
7054
+ readonly discriminator: 'ratecard_estimate_v2';
6765
7055
  readonly hops: io.flow.v0.models.Hop[];
6766
7056
  readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
6767
7057
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
@@ -6797,6 +7087,7 @@ declare namespace io.flow.v0.models {
6797
7087
  }
6798
7088
 
6799
7089
  interface RatecardLaneDeleted {
7090
+ readonly discriminator: 'ratecard_lane_deleted';
6800
7091
  readonly event_id: string;
6801
7092
  readonly timestamp: string;
6802
7093
  readonly organization: string;
@@ -6833,6 +7124,7 @@ declare namespace io.flow.v0.models {
6833
7124
  }
6834
7125
 
6835
7126
  interface RatecardLaneUpserted {
7127
+ readonly discriminator: 'ratecard_lane_upserted';
6836
7128
  readonly event_id: string;
6837
7129
  readonly timestamp: string;
6838
7130
  readonly organization: string;
@@ -6881,6 +7173,7 @@ declare namespace io.flow.v0.models {
6881
7173
  }
6882
7174
 
6883
7175
  interface RatecardUpserted {
7176
+ readonly discriminator: 'ratecard_upserted';
6884
7177
  readonly event_id: string;
6885
7178
  readonly timestamp: string;
6886
7179
  readonly organization: string;
@@ -6895,6 +7188,7 @@ declare namespace io.flow.v0.models {
6895
7188
  }
6896
7189
 
6897
7190
  interface ReadyToFulfill {
7191
+ readonly discriminator: 'ready_to_fulfill';
6898
7192
  readonly event_id: string;
6899
7193
  readonly timestamp: string;
6900
7194
  readonly organization: string;
@@ -6905,12 +7199,14 @@ declare namespace io.flow.v0.models {
6905
7199
  }
6906
7200
 
6907
7201
  interface RedirectAuthorizationDetails {
7202
+ readonly discriminator: 'redirect_authorization_details';
6908
7203
  readonly id: string;
6909
7204
  readonly payment_redirect_url: string;
6910
7205
  readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails;
6911
7206
  }
6912
7207
 
6913
7208
  interface RedirectAuthorizationForm {
7209
+ readonly discriminator: 'redirect_authorization_form';
6914
7210
  readonly method: string;
6915
7211
  readonly issuer?: io.flow.v0.models.IssuerReference;
6916
7212
  readonly order_number: string;
@@ -6956,6 +7252,7 @@ declare namespace io.flow.v0.models {
6956
7252
  }
6957
7253
 
6958
7254
  interface RefundCaptureUpsertedV2 {
7255
+ readonly discriminator: 'refund_capture_upserted_v2';
6959
7256
  readonly event_id: string;
6960
7257
  readonly timestamp: string;
6961
7258
  readonly organization: string;
@@ -6964,6 +7261,7 @@ declare namespace io.flow.v0.models {
6964
7261
  }
6965
7262
 
6966
7263
  interface RefundDeletedV2 {
7264
+ readonly discriminator: 'refund_deleted_v2';
6967
7265
  readonly event_id: string;
6968
7266
  readonly timestamp: string;
6969
7267
  readonly organization: string;
@@ -6998,6 +7296,7 @@ declare namespace io.flow.v0.models {
6998
7296
  }
6999
7297
 
7000
7298
  interface RefundIdentifierDeleted {
7299
+ readonly discriminator: 'refund_identifier_deleted';
7001
7300
  readonly event_id: string;
7002
7301
  readonly timestamp: string;
7003
7302
  readonly organization: string;
@@ -7005,6 +7304,7 @@ declare namespace io.flow.v0.models {
7005
7304
  }
7006
7305
 
7007
7306
  interface RefundIdentifierUpserted {
7307
+ readonly discriminator: 'refund_identifier_upserted';
7008
7308
  readonly event_id: string;
7009
7309
  readonly timestamp: string;
7010
7310
  readonly organization: string;
@@ -7031,6 +7331,7 @@ declare namespace io.flow.v0.models {
7031
7331
  }
7032
7332
 
7033
7333
  interface RefundUpsertedV2 {
7334
+ readonly discriminator: 'refund_upserted_v2';
7034
7335
  readonly event_id: string;
7035
7336
  readonly timestamp: string;
7036
7337
  readonly organization: string;
@@ -7070,27 +7371,33 @@ declare namespace io.flow.v0.models {
7070
7371
  }
7071
7372
 
7072
7373
  interface RemoteAreaRatecardFee {
7374
+ readonly discriminator: 'remote_area_ratecard_fee';
7073
7375
  readonly amount: io.flow.v0.models.Money;
7074
7376
  }
7075
7377
 
7076
7378
  interface RemoteAreaServiceFee {
7379
+ readonly discriminator: 'remote_area_service_fee';
7077
7380
  readonly amount: io.flow.v0.models.Money;
7078
7381
  }
7079
7382
 
7080
7383
  interface RepeatDaily {
7384
+ readonly discriminator: 'repeat_daily';
7081
7385
  readonly interval: number;
7082
7386
  }
7083
7387
 
7084
7388
  interface RepeatHourly {
7389
+ readonly discriminator: 'repeat_hourly';
7085
7390
  readonly interval: number;
7086
7391
  }
7087
7392
 
7088
7393
  interface RepeatMonthly {
7394
+ readonly discriminator: 'repeat_monthly';
7089
7395
  readonly interval: number;
7090
7396
  readonly days: number[];
7091
7397
  }
7092
7398
 
7093
7399
  interface RepeatWeekly {
7400
+ readonly discriminator: 'repeat_weekly';
7094
7401
  readonly interval: number;
7095
7402
  readonly days_of_week: io.flow.v0.enums.DayOfWeek[];
7096
7403
  }
@@ -7134,6 +7441,7 @@ declare namespace io.flow.v0.models {
7134
7441
  }
7135
7442
 
7136
7443
  interface ReturnDeleted {
7444
+ readonly discriminator: 'return_deleted';
7137
7445
  readonly event_id: string;
7138
7446
  readonly timestamp: string;
7139
7447
  readonly id: string;
@@ -7167,6 +7475,7 @@ declare namespace io.flow.v0.models {
7167
7475
  }
7168
7476
 
7169
7477
  interface ReturnPackageRatecardFee {
7478
+ readonly discriminator: 'return_package_ratecard_fee';
7170
7479
  readonly amount: number;
7171
7480
  }
7172
7481
 
@@ -7185,6 +7494,7 @@ declare namespace io.flow.v0.models {
7185
7494
  }
7186
7495
 
7187
7496
  interface ReturnUpserted {
7497
+ readonly discriminator: 'return_upserted';
7188
7498
  readonly event_id: string;
7189
7499
  readonly timestamp: string;
7190
7500
  readonly id: string;
@@ -7220,6 +7530,7 @@ declare namespace io.flow.v0.models {
7220
7530
  }
7221
7531
 
7222
7532
  interface ReversalDeleted {
7533
+ readonly discriminator: 'reversal_deleted';
7223
7534
  readonly event_id: string;
7224
7535
  readonly timestamp: string;
7225
7536
  readonly organization: string;
@@ -7252,6 +7563,7 @@ declare namespace io.flow.v0.models {
7252
7563
  }
7253
7564
 
7254
7565
  interface ReversalUpserted {
7566
+ readonly discriminator: 'reversal_upserted';
7255
7567
  readonly event_id: string;
7256
7568
  readonly timestamp: string;
7257
7569
  readonly organization: string;
@@ -7280,12 +7592,14 @@ declare namespace io.flow.v0.models {
7280
7592
  }
7281
7593
 
7282
7594
  interface RuleDeleted {
7595
+ readonly discriminator: 'rule_deleted';
7283
7596
  readonly event_id: string;
7284
7597
  readonly timestamp: string;
7285
7598
  readonly id: string;
7286
7599
  }
7287
7600
 
7288
7601
  interface RuleUpserted {
7602
+ readonly discriminator: 'rule_upserted';
7289
7603
  readonly event_id: string;
7290
7604
  readonly timestamp: string;
7291
7605
  readonly organization_id: string;
@@ -7340,6 +7654,7 @@ declare namespace io.flow.v0.models {
7340
7654
  }
7341
7655
 
7342
7656
  interface SerialDeleted {
7657
+ readonly discriminator: 'serial_deleted';
7343
7658
  readonly event_id: string;
7344
7659
  readonly timestamp: string;
7345
7660
  readonly id: string;
@@ -7358,6 +7673,7 @@ declare namespace io.flow.v0.models {
7358
7673
  }
7359
7674
 
7360
7675
  interface SerialUpserted {
7676
+ readonly discriminator: 'serial_upserted';
7361
7677
  readonly event_id: string;
7362
7678
  readonly timestamp: string;
7363
7679
  readonly organization: string;
@@ -7496,6 +7812,7 @@ declare namespace io.flow.v0.models {
7496
7812
  }
7497
7813
 
7498
7814
  interface ShippingConfigurationDeleted {
7815
+ readonly discriminator: 'shipping_configuration_deleted';
7499
7816
  readonly event_id: string;
7500
7817
  readonly timestamp: string;
7501
7818
  readonly organization: string;
@@ -7514,6 +7831,7 @@ declare namespace io.flow.v0.models {
7514
7831
  }
7515
7832
 
7516
7833
  interface ShippingConfigurationItemAvailabilityDeleted {
7834
+ readonly discriminator: 'shipping_configuration_item_availability_deleted';
7517
7835
  readonly event_id: string;
7518
7836
  readonly timestamp: string;
7519
7837
  readonly organization_id: string;
@@ -7521,6 +7839,7 @@ declare namespace io.flow.v0.models {
7521
7839
  }
7522
7840
 
7523
7841
  interface ShippingConfigurationItemAvailabilityUpserted {
7842
+ readonly discriminator: 'shipping_configuration_item_availability_upserted';
7524
7843
  readonly event_id: string;
7525
7844
  readonly timestamp: string;
7526
7845
  readonly organization_id: string;
@@ -7535,6 +7854,7 @@ declare namespace io.flow.v0.models {
7535
7854
  }
7536
7855
 
7537
7856
  interface ShippingConfigurationItemShippingPricingDeleted {
7857
+ readonly discriminator: 'shipping_configuration_item_shipping_pricing_deleted';
7538
7858
  readonly event_id: string;
7539
7859
  readonly timestamp: string;
7540
7860
  readonly organization_id: string;
@@ -7542,6 +7862,7 @@ declare namespace io.flow.v0.models {
7542
7862
  }
7543
7863
 
7544
7864
  interface ShippingConfigurationItemShippingPricingUpserted {
7865
+ readonly discriminator: 'shipping_configuration_item_shipping_pricing_upserted';
7545
7866
  readonly event_id: string;
7546
7867
  readonly timestamp: string;
7547
7868
  readonly organization_id: string;
@@ -7560,6 +7881,7 @@ declare namespace io.flow.v0.models {
7560
7881
  }
7561
7882
 
7562
7883
  interface ShippingConfigurationUpserted {
7884
+ readonly discriminator: 'shipping_configuration_upserted';
7563
7885
  readonly event_id: string;
7564
7886
  readonly timestamp: string;
7565
7887
  readonly organization: string;
@@ -7602,6 +7924,7 @@ declare namespace io.flow.v0.models {
7602
7924
  readonly pdf?: string;
7603
7925
  readonly png?: string;
7604
7926
  readonly html?: string;
7927
+ readonly required: boolean;
7605
7928
  }
7606
7929
 
7607
7930
  interface ShippingLabelPackage {
@@ -7645,6 +7968,7 @@ declare namespace io.flow.v0.models {
7645
7968
  }
7646
7969
 
7647
7970
  interface ShippingLaneDeleted {
7971
+ readonly discriminator: 'shipping_lane_deleted';
7648
7972
  readonly event_id: string;
7649
7973
  readonly timestamp: string;
7650
7974
  readonly shipping_lane: io.flow.v0.models.ShippingLane;
@@ -7665,6 +7989,7 @@ declare namespace io.flow.v0.models {
7665
7989
  }
7666
7990
 
7667
7991
  interface ShippingLaneUpserted {
7992
+ readonly discriminator: 'shipping_lane_upserted';
7668
7993
  readonly event_id: string;
7669
7994
  readonly timestamp: string;
7670
7995
  readonly organization: string;
@@ -7719,6 +8044,7 @@ declare namespace io.flow.v0.models {
7719
8044
  }
7720
8045
 
7721
8046
  interface ShopifyCartAddMultipleForm {
8047
+ readonly discriminator: 'shopify_cart_add_multiple_form';
7722
8048
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
7723
8049
  readonly attributes?: {
7724
8050
  [key: string]: string;
@@ -7726,6 +8052,7 @@ declare namespace io.flow.v0.models {
7726
8052
  }
7727
8053
 
7728
8054
  interface ShopifyCartAddSingleForm {
8055
+ readonly discriminator: 'shopify_cart_add_single_form';
7729
8056
  readonly id: number;
7730
8057
  readonly quantity: number;
7731
8058
  readonly properties?: {
@@ -7787,6 +8114,7 @@ declare namespace io.flow.v0.models {
7787
8114
  }
7788
8115
 
7789
8116
  interface ShopifyItemEventBucket {
8117
+ readonly discriminator: 'shopify_item_event_bucket';
7790
8118
  readonly range: io.flow.v0.models.DatetimeRange;
7791
8119
  readonly count: number;
7792
8120
  readonly data: io.flow.v0.models.ShopifyItemEventData[];
@@ -7832,6 +8160,7 @@ declare namespace io.flow.v0.models {
7832
8160
  }
7833
8161
 
7834
8162
  interface ShopifyLocalizationSettingDeleted {
8163
+ readonly discriminator: 'shopify_localization_setting_deleted';
7835
8164
  readonly event_id: string;
7836
8165
  readonly timestamp: string;
7837
8166
  readonly organization_id: string;
@@ -7844,6 +8173,7 @@ declare namespace io.flow.v0.models {
7844
8173
  }
7845
8174
 
7846
8175
  interface ShopifyLocalizationSettingUpserted {
8176
+ readonly discriminator: 'shopify_localization_setting_upserted';
7847
8177
  readonly event_id: string;
7848
8178
  readonly timestamp: string;
7849
8179
  readonly organization_id: string;
@@ -7906,6 +8236,7 @@ declare namespace io.flow.v0.models {
7906
8236
  readonly items: io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem[];
7907
8237
  readonly service: io.flow.v0.models.ServiceSummary;
7908
8238
  readonly window: io.flow.v0.models.DeliveryWindow;
8239
+ readonly liability?: io.flow.v0.enums.RatecardOwner;
7909
8240
  readonly cost?: io.flow.v0.models.MoneyWithOptionalBase;
7910
8241
  readonly prices?: io.flow.v0.models.ShopifyPrice[];
7911
8242
  readonly total?: io.flow.v0.models.ShopifyPrice;
@@ -7979,6 +8310,7 @@ declare namespace io.flow.v0.models {
7979
8310
  }
7980
8311
 
7981
8312
  interface SinglePackageShippingNotificationForm {
8313
+ readonly discriminator: 'single_package_shipping_notification_form';
7982
8314
  readonly fulfillment_key: string;
7983
8315
  readonly carrier_tracking_number: string;
7984
8316
  readonly package_dimensions?: io.flow.v0.models.Dimension;
@@ -7987,12 +8319,14 @@ declare namespace io.flow.v0.models {
7987
8319
  }
7988
8320
 
7989
8321
  interface SnapshotDeleted {
8322
+ readonly discriminator: 'snapshot_deleted';
7990
8323
  readonly event_id: string;
7991
8324
  readonly timestamp: string;
7992
8325
  readonly snapshot_id: string;
7993
8326
  }
7994
8327
 
7995
8328
  interface SnapshotUpserted {
8329
+ readonly discriminator: 'snapshot_upserted';
7996
8330
  readonly event_id: string;
7997
8331
  readonly timestamp: string;
7998
8332
  readonly organization: string;
@@ -8004,38 +8338,45 @@ declare namespace io.flow.v0.models {
8004
8338
  }
8005
8339
 
8006
8340
  interface SolidusProductExportType {
8341
+ readonly discriminator: 'solidus_product_export_type';
8007
8342
  readonly numbers?: string[];
8008
8343
  readonly sort?: string;
8009
8344
  }
8010
8345
 
8011
8346
  interface SolidusVariantExportType {
8347
+ readonly discriminator: 'solidus_variant_export_type';
8012
8348
  readonly numbers?: string[];
8013
8349
  readonly sort?: string;
8014
8350
  }
8015
8351
 
8016
8352
  interface StripeAuthenticationData {
8353
+ readonly discriminator: 'stripe_authentication_data';
8017
8354
  readonly secret_key_reference: string;
8018
8355
  }
8019
8356
 
8020
8357
  interface StripeAuthenticationDataForm {
8358
+ readonly discriminator: 'stripe_authentication_data_form';
8021
8359
  readonly account_id: string;
8022
8360
  readonly secret_key: string;
8023
8361
  readonly key?: string;
8024
8362
  }
8025
8363
 
8026
8364
  interface StripeAuthorizationResultActionDetails {
8365
+ readonly discriminator: 'stripe_authorization_result_action_details';
8027
8366
  readonly client_secret?: string;
8028
8367
  readonly payment_method_id?: string;
8029
8368
  readonly publishable_key?: string;
8030
8369
  }
8031
8370
 
8032
8371
  interface Subcatalog {
8372
+ readonly discriminator: 'subcatalog';
8033
8373
  readonly id: string;
8034
8374
  readonly catalog: io.flow.v0.models.Catalog;
8035
8375
  readonly settings: io.flow.v0.models.SubcatalogSettings;
8036
8376
  }
8037
8377
 
8038
8378
  interface SubcatalogDeleted {
8379
+ readonly discriminator: 'subcatalog_deleted';
8039
8380
  readonly event_id: string;
8040
8381
  readonly timestamp: string;
8041
8382
  readonly organization: string;
@@ -8054,6 +8395,7 @@ declare namespace io.flow.v0.models {
8054
8395
  }
8055
8396
 
8056
8397
  interface SubcatalogItemDeleted {
8398
+ readonly discriminator: 'subcatalog_item_deleted';
8057
8399
  readonly event_id: string;
8058
8400
  readonly timestamp: string;
8059
8401
  readonly organization: string;
@@ -8063,6 +8405,7 @@ declare namespace io.flow.v0.models {
8063
8405
  }
8064
8406
 
8065
8407
  interface SubcatalogItemUpserted {
8408
+ readonly discriminator: 'subcatalog_item_upserted';
8066
8409
  readonly event_id: string;
8067
8410
  readonly timestamp: string;
8068
8411
  readonly organization: string;
@@ -8096,6 +8439,7 @@ declare namespace io.flow.v0.models {
8096
8439
  }
8097
8440
 
8098
8441
  interface SubcatalogReference {
8442
+ readonly discriminator: 'subcatalog_reference';
8099
8443
  readonly id: string;
8100
8444
  }
8101
8445
 
@@ -8116,6 +8460,7 @@ declare namespace io.flow.v0.models {
8116
8460
  }
8117
8461
 
8118
8462
  interface SubcatalogUpserted {
8463
+ readonly discriminator: 'subcatalog_upserted';
8119
8464
  readonly event_id: string;
8120
8465
  readonly timestamp: string;
8121
8466
  readonly organization: string;
@@ -8136,6 +8481,7 @@ declare namespace io.flow.v0.models {
8136
8481
  }
8137
8482
 
8138
8483
  interface SummaryShippingLabelForm {
8484
+ readonly discriminator: 'summary_shipping_label_form';
8139
8485
  readonly order_number: string;
8140
8486
  readonly items: io.flow.v0.models.LineItemForm[];
8141
8487
  }
@@ -8179,12 +8525,14 @@ declare namespace io.flow.v0.models {
8179
8525
  }
8180
8526
 
8181
8527
  interface TargetingItemDeleted {
8528
+ readonly discriminator: 'targeting_item_deleted';
8182
8529
  readonly event_id: string;
8183
8530
  readonly timestamp: string;
8184
8531
  readonly id: string;
8185
8532
  }
8186
8533
 
8187
8534
  interface TargetingItemDeletedV3 {
8535
+ readonly discriminator: 'targeting_item_deleted_v3';
8188
8536
  readonly event_id: string;
8189
8537
  readonly timestamp: string;
8190
8538
  readonly organization: string;
@@ -8192,6 +8540,7 @@ declare namespace io.flow.v0.models {
8192
8540
  }
8193
8541
 
8194
8542
  interface TargetingItemUpserted {
8543
+ readonly discriminator: 'targeting_item_upserted';
8195
8544
  readonly event_id: string;
8196
8545
  readonly timestamp: string;
8197
8546
  readonly organization: string;
@@ -8206,6 +8555,7 @@ declare namespace io.flow.v0.models {
8206
8555
  }
8207
8556
 
8208
8557
  interface TargetingItemUpsertedV2 {
8558
+ readonly discriminator: 'targeting_item_upserted_v2';
8209
8559
  readonly event_id: string;
8210
8560
  readonly timestamp: string;
8211
8561
  readonly organization: string;
@@ -8286,6 +8636,7 @@ declare namespace io.flow.v0.models {
8286
8636
  }
8287
8637
 
8288
8638
  interface TierDeletedV2 {
8639
+ readonly discriminator: 'tier_deleted_v2';
8289
8640
  readonly event_id: string;
8290
8641
  readonly timestamp: string;
8291
8642
  readonly organization: string;
@@ -8359,6 +8710,7 @@ declare namespace io.flow.v0.models {
8359
8710
  }
8360
8711
 
8361
8712
  interface TierUpsertedV2 {
8713
+ readonly discriminator: 'tier_upserted_v2';
8362
8714
  readonly event_id: string;
8363
8715
  readonly timestamp: string;
8364
8716
  readonly organization: string;
@@ -8456,6 +8808,7 @@ declare namespace io.flow.v0.models {
8456
8808
  }
8457
8809
 
8458
8810
  interface TrackingLabelEventUpserted {
8811
+ readonly discriminator: 'tracking_label_event_upserted';
8459
8812
  readonly event_id: string;
8460
8813
  readonly timestamp: string;
8461
8814
  readonly organization: string;
@@ -8525,6 +8878,7 @@ declare namespace io.flow.v0.models {
8525
8878
  }
8526
8879
 
8527
8880
  interface UnharmonizedItemExportType {
8881
+ readonly discriminator: 'unharmonized_item_export_type';
8528
8882
  readonly sort?: string;
8529
8883
  }
8530
8884
 
@@ -8536,6 +8890,7 @@ declare namespace io.flow.v0.models {
8536
8890
  }
8537
8891
 
8538
8892
  interface User {
8893
+ readonly discriminator: 'user';
8539
8894
  readonly id: string;
8540
8895
  readonly email?: string;
8541
8896
  readonly name: io.flow.v0.models.Name;
@@ -8554,6 +8909,7 @@ declare namespace io.flow.v0.models {
8554
8909
  }
8555
8910
 
8556
8911
  interface UserReference {
8912
+ readonly discriminator: 'user_reference';
8557
8913
  readonly id: string;
8558
8914
  }
8559
8915
 
@@ -8596,6 +8952,7 @@ declare namespace io.flow.v0.models {
8596
8952
  }
8597
8953
 
8598
8954
  interface VirtualCardCaptureDeleted {
8955
+ readonly discriminator: 'virtual_card_capture_deleted';
8599
8956
  readonly event_id: string;
8600
8957
  readonly timestamp: string;
8601
8958
  readonly organization: string;
@@ -8603,6 +8960,7 @@ declare namespace io.flow.v0.models {
8603
8960
  }
8604
8961
 
8605
8962
  interface VirtualCardCaptureUpserted {
8963
+ readonly discriminator: 'virtual_card_capture_upserted';
8606
8964
  readonly event_id: string;
8607
8965
  readonly timestamp: string;
8608
8966
  readonly organization: string;
@@ -8639,6 +8997,7 @@ declare namespace io.flow.v0.models {
8639
8997
  }
8640
8998
 
8641
8999
  interface VirtualCardRefundDeleted {
9000
+ readonly discriminator: 'virtual_card_refund_deleted';
8642
9001
  readonly event_id: string;
8643
9002
  readonly timestamp: string;
8644
9003
  readonly organization: string;
@@ -8646,6 +9005,7 @@ declare namespace io.flow.v0.models {
8646
9005
  }
8647
9006
 
8648
9007
  interface VirtualCardRefundUpserted {
9008
+ readonly discriminator: 'virtual_card_refund_upserted';
8649
9009
  readonly event_id: string;
8650
9010
  readonly timestamp: string;
8651
9011
  readonly organization: string;
@@ -8733,785 +9093,275 @@ declare namespace io.flow.v0.models {
8733
9093
 
8734
9094
  declare namespace io.flow.v0.unions {
8735
9095
  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
-
9096
+ | io.flow.v0.models.AdyenIdentifyShopperData
9097
+ | io.flow.v0.models.AdyenChallengeShopperData;
8743
9098
  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
-
9099
+ | io.flow.v0.models.AllocationDetailComponent
9100
+ | io.flow.v0.models.AllocationLevyComponent;
8751
9101
  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
-
9102
+ | io.flow.v0.models.AllocationLineDetail
9103
+ | io.flow.v0.models.AllocationOrderDetail;
8759
9104
  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
-
9105
+ | io.flow.v0.models.CardAuthorization
9106
+ | io.flow.v0.models.OnlineAuthorization;
8767
9107
  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
-
9108
+ | io.flow.v0.models.AuthorizationCopyForm
9109
+ | io.flow.v0.models.DirectAuthorizationForm
9110
+ | io.flow.v0.models.MerchantOfRecordAuthorizationForm
9111
+ | io.flow.v0.models.PaypalAuthorizationForm
9112
+ | io.flow.v0.models.RedirectAuthorizationForm
9113
+ | io.flow.v0.models.InlineAuthorizationForm
9114
+ | io.flow.v0.models.AchAuthorizationForm
9115
+ | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
8793
9116
  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
-
9117
+ | io.flow.v0.models.GooglePayAuthorizationPayload
9118
+ | io.flow.v0.models.ApplePayMerchantValidationPayload;
8801
9119
  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
-
9120
+ | io.flow.v0.models.AuthorizationResultActionGet
9121
+ | io.flow.v0.models.AuthorizationResultActionPost
9122
+ | io.flow.v0.models.AuthorizationResultActionWait
9123
+ | io.flow.v0.models.AuthorizationResultActionNative;
8815
9124
  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
-
9125
+ | io.flow.v0.models.AdyenNativeActionDetails
9126
+ | io.flow.v0.models.StripeAuthorizationResultActionDetails;
8823
9127
  type AvailableFilter =
8824
- | {
8825
- discriminator: 'structured';
8826
- } & io.flow.v0.models.AvailableFilterStructured
8827
- | {
8828
- discriminator: 'unstructured';
8829
- } & io.flow.v0.models.AvailableFilterUnstructured;
8830
-
9128
+ | io.flow.v0.models.AvailableFilterStructured
9129
+ | io.flow.v0.models.AvailableFilterUnstructured;
8831
9130
  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
-
9131
+ | io.flow.v0.models.CheckoutTokenOrderForm
9132
+ | io.flow.v0.models.CheckoutTokenReferenceForm;
9133
+ type ConfirmationDetails = io.flow.v0.models.DirectDebit;
8843
9134
  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
-
9135
+ | io.flow.v0.models.ConsumerInvoiceLineItem
9136
+ | io.flow.v0.models.ConsumerInvoiceLineDiscount
9137
+ | io.flow.v0.models.ConsumerInvoiceLineShipping;
8854
9138
  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
-
9139
+ | io.flow.v0.models.ConsumerInvoiceLineItemForm
9140
+ | io.flow.v0.models.ConsumerInvoiceLineDiscountForm
9141
+ | io.flow.v0.models.ConsumerInvoiceLineShippingForm;
8865
9142
  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
-
9143
+ | io.flow.v0.models.DigitalDelivery
9144
+ | io.flow.v0.models.PhysicalDelivery;
8873
9145
  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
-
9146
+ | io.flow.v0.models.DeminimisSimple
9147
+ | io.flow.v0.models.DeminimisPerItem;
8881
9148
  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
-
9149
+ | io.flow.v0.models.DiscountOfferFixed
9150
+ | io.flow.v0.models.DiscountOfferPercent;
8889
9151
  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
-
9152
+ | io.flow.v0.models.CatalogItemDocument
9153
+ | io.flow.v0.models.HarmonizationDocument;
9154
+ type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund;
8901
9155
  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
-
9156
+ | io.flow.v0.models.AttributeUpserted
9157
+ | io.flow.v0.models.AttributeDeleted
9158
+ | io.flow.v0.models.AttributeUpsertedV2
9159
+ | io.flow.v0.models.AttributeDeletedV2
9160
+ | io.flow.v0.models.CatalogUpserted
9161
+ | io.flow.v0.models.CatalogDeleted
9162
+ | io.flow.v0.models.SubcatalogUpserted
9163
+ | io.flow.v0.models.SubcatalogDeleted
9164
+ | io.flow.v0.models.CatalogItemUpserted
9165
+ | io.flow.v0.models.CatalogItemDeleted
9166
+ | io.flow.v0.models.CatalogItemUpsertedV2
9167
+ | io.flow.v0.models.CatalogItemDeletedV2
9168
+ | io.flow.v0.models.SubcatalogItemUpserted
9169
+ | io.flow.v0.models.SubcatalogItemDeleted
9170
+ | io.flow.v0.models.B2BInvoiceUpserted
9171
+ | io.flow.v0.models.B2BInvoiceDeleted
9172
+ | io.flow.v0.models.B2BCreditMemoUpserted
9173
+ | io.flow.v0.models.B2BCreditMemoDeleted
9174
+ | io.flow.v0.models.ConsumerInvoiceUpserted
9175
+ | io.flow.v0.models.ConsumerInvoiceDeleted
9176
+ | io.flow.v0.models.CreditMemoUpserted
9177
+ | io.flow.v0.models.CreditMemoDeleted
9178
+ | io.flow.v0.models.CrossdockShipmentUpserted
9179
+ | io.flow.v0.models.RateDeleted
9180
+ | io.flow.v0.models.RateUpserted
9181
+ | io.flow.v0.models.RateDeletedV3
9182
+ | io.flow.v0.models.RateUpsertedV3
9183
+ | io.flow.v0.models.CustomerUpserted
9184
+ | io.flow.v0.models.CustomerDeleted
9185
+ | io.flow.v0.models.CustomerAddressBookContactUpserted
9186
+ | io.flow.v0.models.CustomerAddressBookContactDeleted
9187
+ | io.flow.v0.models.EmailNotificationUpserted
9188
+ | io.flow.v0.models.EmailNotificationDeleted
9189
+ | io.flow.v0.models.AvailablePromotionsUpserted
9190
+ | io.flow.v0.models.AvailablePromotionsDeleted
9191
+ | io.flow.v0.models.AvailablePromotionsUpsertedV2
9192
+ | io.flow.v0.models.AvailablePromotionsDeletedV2
9193
+ | io.flow.v0.models.AllocationDeletedV2
9194
+ | io.flow.v0.models.AllocationUpsertedV2
9195
+ | io.flow.v0.models.CurrencyFormatDeleted
9196
+ | io.flow.v0.models.CurrencyFormatUpserted
9197
+ | io.flow.v0.models.ExperienceDeleted
9198
+ | io.flow.v0.models.ExperienceUpserted
9199
+ | io.flow.v0.models.ExperienceDeletedV2
9200
+ | io.flow.v0.models.ExperienceUpsertedV2
9201
+ | io.flow.v0.models.ExperiencePriceBookMappingDeleted
9202
+ | io.flow.v0.models.ExperiencePriceBookMappingUpserted
9203
+ | io.flow.v0.models.ExperienceLogisticsSettingsUpserted
9204
+ | io.flow.v0.models.ExperienceLogisticsSettingsDeleted
9205
+ | io.flow.v0.models.ItemMarginDeleted
9206
+ | io.flow.v0.models.ItemMarginUpserted
9207
+ | io.flow.v0.models.ItemSalesMarginDeleted
9208
+ | io.flow.v0.models.ItemSalesMarginUpserted
9209
+ | io.flow.v0.models.LabelFormatDeleted
9210
+ | io.flow.v0.models.LabelFormatUpserted
9211
+ | io.flow.v0.models.OrderDeleted
9212
+ | io.flow.v0.models.OrderUpserted
9213
+ | io.flow.v0.models.OrderDeletedV2
9214
+ | io.flow.v0.models.OrderUpsertedV2
9215
+ | io.flow.v0.models.OrderIdentifierDeleted
9216
+ | io.flow.v0.models.OrderIdentifierUpserted
9217
+ | io.flow.v0.models.OrderIdentifierDeletedV2
9218
+ | io.flow.v0.models.OrderIdentifierUpsertedV2
9219
+ | io.flow.v0.models.OrderIdentifierUpsertedV3
9220
+ | io.flow.v0.models.PricingDeleted
9221
+ | io.flow.v0.models.PricingUpserted
9222
+ | io.flow.v0.models.OrderServiceChangeRequest
9223
+ | io.flow.v0.models.FraudStatusChanged
9224
+ | io.flow.v0.models.CenterUpserted
9225
+ | io.flow.v0.models.CenterDeleted
9226
+ | io.flow.v0.models.ShippingConfigurationUpserted
9227
+ | io.flow.v0.models.ShippingConfigurationDeleted
9228
+ | io.flow.v0.models.TierUpsertedV2
9229
+ | io.flow.v0.models.TierDeletedV2
9230
+ | io.flow.v0.models.ShippingLaneUpserted
9231
+ | io.flow.v0.models.ShippingLaneDeleted
9232
+ | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted
9233
+ | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted
9234
+ | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted
9235
+ | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted
9236
+ | io.flow.v0.models.Hs6CodeUpserted
9237
+ | io.flow.v0.models.Hs6CodeDeleted
9238
+ | io.flow.v0.models.Hs10CodeUpserted
9239
+ | io.flow.v0.models.Hs10CodeDeleted
9240
+ | io.flow.v0.models.ItemOriginUpserted
9241
+ | io.flow.v0.models.ItemOriginDeleted
9242
+ | io.flow.v0.models.HarmonizedLandedCostUpserted
9243
+ | io.flow.v0.models.FullyHarmonizedItemUpserted
9244
+ | io.flow.v0.models.RuleUpserted
9245
+ | io.flow.v0.models.RuleDeleted
9246
+ | io.flow.v0.models.SerialUpserted
9247
+ | io.flow.v0.models.SerialDeleted
9248
+ | io.flow.v0.models.SnapshotUpserted
9249
+ | io.flow.v0.models.SnapshotDeleted
9250
+ | io.flow.v0.models.LabelUpserted
9251
+ | io.flow.v0.models.LabelDeletedV2
9252
+ | io.flow.v0.models.LabelUpsertedV2
9253
+ | io.flow.v0.models.NotificationUpserted
9254
+ | io.flow.v0.models.NotificationDeleted
9255
+ | io.flow.v0.models.ManifestedLabelUpserted
9256
+ | io.flow.v0.models.ManifestedLabelDeleted
9257
+ | io.flow.v0.models.LocalItemUpserted
9258
+ | io.flow.v0.models.LocalItemDeleted
9259
+ | io.flow.v0.models.CheckoutOptinResponsesUpserted
9260
+ | io.flow.v0.models.CheckoutOptinResponsesDeleted
9261
+ | io.flow.v0.models.BrowseOptinResponsesUpserted
9262
+ | io.flow.v0.models.BrowseOptinResponsesDeleted
9263
+ | io.flow.v0.models.OrderPlaced
9264
+ | io.flow.v0.models.OrderPlacedV2
9265
+ | io.flow.v0.models.ReadyToFulfill
9266
+ | io.flow.v0.models.MembershipUpsertedV2
9267
+ | io.flow.v0.models.MembershipDeletedV2
9268
+ | io.flow.v0.models.OrganizationUpserted
9269
+ | io.flow.v0.models.OrganizationDeleted
9270
+ | io.flow.v0.models.OrganizationUpsertedV2
9271
+ | io.flow.v0.models.OrganizationDeletedV2
9272
+ | io.flow.v0.models.OrganizationShortIdUpserted
9273
+ | io.flow.v0.models.OrganizationShortIdDeleted
9274
+ | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
9275
+ | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
9276
+ | io.flow.v0.models.EcommercePlatformUpserted
9277
+ | io.flow.v0.models.EcommercePlatformDeleted
9278
+ | io.flow.v0.models.AuthorizationDeletedV2
9279
+ | io.flow.v0.models.AuthorizationStatusChanged
9280
+ | io.flow.v0.models.CardAuthorizationUpsertedV2
9281
+ | io.flow.v0.models.CardAuthorizationDeletedV2
9282
+ | io.flow.v0.models.OnlineAuthorizationUpsertedV2
9283
+ | io.flow.v0.models.OnlineAuthorizationDeletedV2
9284
+ | io.flow.v0.models.CaptureUpsertedV2
9285
+ | io.flow.v0.models.CaptureDeleted
9286
+ | io.flow.v0.models.CardUpsertedV2
9287
+ | io.flow.v0.models.CardDeleted
9288
+ | io.flow.v0.models.PaymentUpserted
9289
+ | io.flow.v0.models.PaymentDeleted
9290
+ | io.flow.v0.models.RefundUpsertedV2
9291
+ | io.flow.v0.models.RefundDeletedV2
9292
+ | io.flow.v0.models.RefundCaptureUpsertedV2
9293
+ | io.flow.v0.models.ReversalUpserted
9294
+ | io.flow.v0.models.ReversalDeleted
9295
+ | io.flow.v0.models.CaptureIdentifierUpserted
9296
+ | io.flow.v0.models.CaptureIdentifierDeleted
9297
+ | io.flow.v0.models.RefundIdentifierUpserted
9298
+ | io.flow.v0.models.RefundIdentifierDeleted
9299
+ | io.flow.v0.models.VirtualCardCaptureUpserted
9300
+ | io.flow.v0.models.VirtualCardCaptureDeleted
9301
+ | io.flow.v0.models.VirtualCardRefundUpserted
9302
+ | io.flow.v0.models.VirtualCardRefundDeleted
9303
+ | io.flow.v0.models.PriceBookUpserted
9304
+ | io.flow.v0.models.PriceBookDeleted
9305
+ | io.flow.v0.models.PriceBookItemUpserted
9306
+ | io.flow.v0.models.PriceBookItemDeleted
9307
+ | io.flow.v0.models.OrganizationRatesPublished
9308
+ | io.flow.v0.models.RatecardLaneUpserted
9309
+ | io.flow.v0.models.RatecardLaneDeleted
9310
+ | io.flow.v0.models.RatecardUpserted
9311
+ | io.flow.v0.models.RatecardDeleted
9312
+ | io.flow.v0.models.ReturnUpserted
9313
+ | io.flow.v0.models.ReturnDeleted
9314
+ | io.flow.v0.models.ShopifyLocalizationSettingUpserted
9315
+ | io.flow.v0.models.ShopifyLocalizationSettingDeleted
9316
+ | io.flow.v0.models.TargetingItemUpserted
9317
+ | io.flow.v0.models.TargetingItemUpsertedV2
9318
+ | io.flow.v0.models.TargetingItemDeleted
9319
+ | io.flow.v0.models.TargetingItemDeletedV3
9320
+ | io.flow.v0.models.TrackingLabelEventUpserted;
9392
9321
  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
-
9322
+ | io.flow.v0.models.Card
9323
+ | io.flow.v0.models.CardReference
9324
+ | io.flow.v0.models.CardSummary;
9403
9325
  type ExpandableCenter =
9404
- | {
9405
- discriminator: 'center';
9406
- } & io.flow.v0.models.Center
9407
- | {
9408
- discriminator: 'center_reference';
9409
- } & io.flow.v0.models.CenterReference;
9410
-
9326
+ | io.flow.v0.models.Center
9327
+ | io.flow.v0.models.CenterReference;
9411
9328
  type ExpandableExperience =
9412
- | {
9413
- discriminator: 'experience';
9414
- } & io.flow.v0.models.Experience
9415
- | {
9416
- discriminator: 'experience_reference';
9417
- } & io.flow.v0.models.ExperienceReference;
9418
-
9329
+ | io.flow.v0.models.Experience
9330
+ | io.flow.v0.models.ExperienceReference;
9419
9331
  type ExpandableOrder =
9420
- | {
9421
- discriminator: 'order';
9422
- } & io.flow.v0.models.Order
9423
- | {
9424
- discriminator: 'order_reference';
9425
- } & io.flow.v0.models.OrderReference;
9426
-
9332
+ | io.flow.v0.models.Order
9333
+ | io.flow.v0.models.OrderReference;
9427
9334
  type ExpandableOrganization =
9428
- | {
9429
- discriminator: 'organization';
9430
- } & io.flow.v0.models.Organization
9431
- | {
9432
- discriminator: 'organization_reference';
9433
- } & io.flow.v0.models.OrganizationReference;
9434
-
9335
+ | io.flow.v0.models.Organization
9336
+ | io.flow.v0.models.OrganizationReference;
9435
9337
  type ExpandableSubcatalog =
9436
- | {
9437
- discriminator: 'subcatalog';
9438
- } & io.flow.v0.models.Subcatalog
9439
- | {
9440
- discriminator: 'subcatalog_reference';
9441
- } & io.flow.v0.models.SubcatalogReference;
9442
-
9338
+ | io.flow.v0.models.Subcatalog
9339
+ | io.flow.v0.models.SubcatalogReference;
9443
9340
  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
-
9341
+ | io.flow.v0.models.User
9342
+ | io.flow.v0.models.UserReference;
9343
+ type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail;
9455
9344
  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
-
9345
+ | io.flow.v0.models.AccountTransactionsExportType
9346
+ | io.flow.v0.models.AccountOrdersExportType
9347
+ | io.flow.v0.models.AnalyticsExportType
9348
+ | io.flow.v0.models.CatalogItemExportType
9349
+ | io.flow.v0.models.ExperienceExportType
9350
+ | io.flow.v0.models.HarmonizationOverviewExportType
9351
+ | io.flow.v0.models.HarmonizationHs6ExportType
9352
+ | io.flow.v0.models.HarmonizationHs10ExportType
9353
+ | io.flow.v0.models.UnharmonizedItemExportType
9354
+ | io.flow.v0.models.HarmonizationLandedCostExportType
9355
+ | io.flow.v0.models.OrderExportType
9356
+ | io.flow.v0.models.PriceBookItemExportType
9357
+ | io.flow.v0.models.SolidusProductExportType
9358
+ | io.flow.v0.models.SolidusVariantExportType
9359
+ | io.flow.v0.models.LocalizedItemPricesExportType;
9502
9360
  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;
9361
+ | io.flow.v0.models.FieldValidationRequired
9362
+ | io.flow.v0.models.FieldValidationMin
9363
+ | io.flow.v0.models.FieldValidationMax
9364
+ | io.flow.v0.models.FieldValidationPattern;
9515
9365
 
9516
9366
  type FlowRole =
9517
9367
  | {
@@ -9523,91 +9373,34 @@ declare namespace io.flow.v0.unions {
9523
9373
  value: io.flow.v0.enums.FlowAddonRole;
9524
9374
  };
9525
9375
 
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
-
9376
+ type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
9377
+ type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
9378
+ type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
9538
9379
  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
-
9380
+ | io.flow.v0.models.InventoryBackorder
9381
+ | io.flow.v0.models.InventoryStock
9382
+ | io.flow.v0.models.InventoryUnlimited;
9549
9383
  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
-
9384
+ | io.flow.v0.models.LocalizedItemPrice
9385
+ | io.flow.v0.models.LocalizedItemVat
9386
+ | io.flow.v0.models.LocalizedItemDuty
9387
+ | io.flow.v0.models.LocalizedTotal;
9563
9388
  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
-
9389
+ | io.flow.v0.models.PaypalAuthorizationDetails
9390
+ | io.flow.v0.models.RedirectAuthorizationDetails
9391
+ | io.flow.v0.models.InlineAuthorizationDetails;
9574
9392
  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
-
9393
+ | io.flow.v0.models.OrderNumberGeneratorUuid
9394
+ | io.flow.v0.models.OrderNumberGeneratorHexadecimal
9395
+ | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
9396
+ type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
9397
+ type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
9593
9398
  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;
9399
+ | io.flow.v0.models.CommercialInvoiceFee
9400
+ | io.flow.v0.models.InboundCartonFee
9401
+ | io.flow.v0.models.OutboundCartonFee;
9402
+ type Payment = io.flow.v0.models.PaymentPaypal;
9403
+ type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
9611
9404
 
9612
9405
  type PaymentMethodTag =
9613
9406
  | {
@@ -9619,213 +9412,78 @@ declare namespace io.flow.v0.unions {
9619
9412
  value: io.flow.v0.enums.ExperiencePaymentMethodTag;
9620
9413
  };
9621
9414
 
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
-
9415
+ type PaymentSource = io.flow.v0.models.CardPaymentSource;
9416
+ type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
9630
9417
  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
-
9418
+ | io.flow.v0.models.PriceSourcePriceBook
9419
+ | io.flow.v0.models.PriceSourceCatalog
9420
+ | io.flow.v0.models.PriceSourceProvided;
9421
+ type Promotion = io.flow.v0.models.FreeShipping | io.flow.v0.models.Discount;
9649
9422
  type QueryBuilderForm =
9650
- | {
9651
- discriminator: 'filter';
9652
- } & io.flow.v0.models.QueryBuilderFilterForm
9653
- | {
9654
- discriminator: 'query';
9655
- } & io.flow.v0.models.QueryBuilderQueryForm;
9656
-
9423
+ | io.flow.v0.models.QueryBuilderFilterForm
9424
+ | io.flow.v0.models.QueryBuilderQueryForm;
9657
9425
  type QueryFilter =
9658
- | {
9659
- discriminator: 'structured';
9660
- } & io.flow.v0.models.QueryFilterStructured
9661
- | {
9662
- discriminator: 'unstructured';
9663
- } & io.flow.v0.models.QueryFilterUnstructured;
9664
-
9426
+ | io.flow.v0.models.QueryFilterStructured
9427
+ | io.flow.v0.models.QueryFilterUnstructured;
9665
9428
  type QueryFilterForm =
9666
- | {
9667
- discriminator: 'structured';
9668
- } & io.flow.v0.models.QueryFilterStructuredForm
9669
- | {
9670
- discriminator: 'unstructured';
9671
- } & io.flow.v0.models.QueryFilterUnstructuredForm;
9672
-
9429
+ | io.flow.v0.models.QueryFilterStructuredForm
9430
+ | io.flow.v0.models.QueryFilterUnstructuredForm;
9673
9431
  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
-
9432
+ | io.flow.v0.models.RatecardEstimateV1
9433
+ | io.flow.v0.models.RatecardEstimateV2;
9681
9434
  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
-
9435
+ | io.flow.v0.models.RatecardEstimateFormV1
9436
+ | io.flow.v0.models.RatecardEstimateFormV2;
9689
9437
  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
-
9438
+ | io.flow.v0.models.DdpRatecardFee
9439
+ | io.flow.v0.models.FuelSurchargeRatecardFee
9440
+ | io.flow.v0.models.OversizedShipmentRatecardFee
9441
+ | io.flow.v0.models.ReturnPackageRatecardFee
9442
+ | io.flow.v0.models.CrossdockRatecardFee
9443
+ | io.flow.v0.models.RemoteAreaRatecardFee;
9709
9444
  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
-
9445
+ | io.flow.v0.models.RepeatHourly
9446
+ | io.flow.v0.models.RepeatDaily
9447
+ | io.flow.v0.models.RepeatWeekly
9448
+ | io.flow.v0.models.RepeatMonthly;
9723
9449
  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
-
9450
+ | io.flow.v0.models.NoInventoryReservationError
9451
+ | io.flow.v0.models.ExternalApiTimeoutReservationError
9452
+ | io.flow.v0.models.GenericReservationError;
9734
9453
  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
-
9454
+ | io.flow.v0.models.FuelSurchargeServiceFee
9455
+ | io.flow.v0.models.RemoteAreaServiceFee;
9456
+ type Session = io.flow.v0.models.OrganizationSession;
9457
+ type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
9750
9458
  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
-
9459
+ | io.flow.v0.models.DetailedShippingLabelForm
9460
+ | io.flow.v0.models.SummaryShippingLabelForm;
9758
9461
  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
-
9462
+ | io.flow.v0.models.DetailedShippingNotificationForm
9463
+ | io.flow.v0.models.SinglePackageShippingNotificationForm;
9766
9464
  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
-
9465
+ | io.flow.v0.models.ShopifyCartAddSingleForm
9466
+ | io.flow.v0.models.ShopifyCartAddMultipleForm;
9467
+ type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
9778
9468
  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
-
9469
+ | io.flow.v0.models.AvalaraTaxSetting
9470
+ | io.flow.v0.models.AvalaraTaxCsvSetting;
9786
9471
  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
-
9472
+ | io.flow.v0.models.AmountMargin
9473
+ | io.flow.v0.models.AtCost
9474
+ | io.flow.v0.models.FlatRate
9475
+ | io.flow.v0.models.PercentMargin;
9800
9476
  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
-
9477
+ | io.flow.v0.models.AmountMarginForm
9478
+ | io.flow.v0.models.FlatRateForm
9479
+ | io.flow.v0.models.AtCost
9480
+ | io.flow.v0.models.PercentMargin;
9814
9481
  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
-
9482
+ | io.flow.v0.models.OrganizationToken
9483
+ | io.flow.v0.models.PartnerToken;
9822
9484
  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;
9485
+ | io.flow.v0.models.OrganizationTokenReference
9486
+ | io.flow.v0.models.PartnerTokenReference;
9829
9487
  }
9830
9488
 
9831
9489
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
@@ -10369,6 +10027,7 @@ export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
10369
10027
  export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
10370
10028
  export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
10371
10029
  export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;
10030
+ export type ItemPriceUpdateForm = io.flow.v0.models.ItemPriceUpdateForm;
10372
10031
  export type ItemPriceUpdatePutForm = io.flow.v0.models.ItemPriceUpdatePutForm;
10373
10032
  export type ItemQuerySuggestion = io.flow.v0.models.ItemQuerySuggestion;
10374
10033
  export type ItemReference = io.flow.v0.models.ItemReference;
@@ -10381,10 +10040,12 @@ export type JsonpResponse = io.flow.v0.models.JsonpResponse;
10381
10040
  export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
10382
10041
  export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
10383
10042
  export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
10043
+ export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2;
10384
10044
  export type LabelFormatDeleted = io.flow.v0.models.LabelFormatDeleted;
10385
10045
  export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10386
10046
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
10387
10047
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
10048
+ export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2;
10388
10049
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
10389
10050
  export type LaneDirection = io.flow.v0.enums.LaneDirection;
10390
10051
  export type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
@@ -10538,6 +10199,7 @@ export type OrderSummaryPriceDetail = io.flow.v0.models.OrderSummaryPriceDetail;
10538
10199
  export type OrderUpserted = io.flow.v0.models.OrderUpserted;
10539
10200
  export type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2;
10540
10201
  export type OrderVersion = io.flow.v0.models.OrderVersion;
10202
+ export type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscountsForm;
10541
10203
  export type Organization = io.flow.v0.models.Organization;
10542
10204
  export type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization;
10543
10205
  export type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm;