@flowio/types 0.0.12 → 0.0.14

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
@@ -1053,7 +1053,7 @@ declare namespace io.flow.v0.enums {
1053
1053
  | 'not_supported'
1054
1054
  | 'unknown';
1055
1055
  type AuthorizationOption = 'store_card';
1056
- type AuthorizationResultActionType = 'redirect' | 'wait';
1056
+ type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
1057
1057
  type AuthorizationStatus =
1058
1058
  | 'pending'
1059
1059
  | 'expired'
@@ -1178,6 +1178,8 @@ declare namespace io.flow.v0.enums {
1178
1178
  | 'subcatalog_item_deleted'
1179
1179
  | 'b2b_invoice_upserted'
1180
1180
  | 'b2b_invoice_deleted'
1181
+ | 'b2b_credit_memo_upserted'
1182
+ | 'b2b_credit_memo_deleted'
1181
1183
  | 'consumer_invoice_upserted'
1182
1184
  | 'consumer_invoice_deleted'
1183
1185
  | 'credit_memo_upserted'
@@ -1224,6 +1226,7 @@ declare namespace io.flow.v0.enums {
1224
1226
  | 'order_identifier_upserted_v3'
1225
1227
  | 'pricing_deleted'
1226
1228
  | 'pricing_upserted'
1229
+ | 'order_service_change_request'
1227
1230
  | 'fraud_status_changed'
1228
1231
  | 'center_upserted'
1229
1232
  | 'center_deleted'
@@ -1312,6 +1315,8 @@ declare namespace io.flow.v0.enums {
1312
1315
  | 'organization_countries_published'
1313
1316
  | 'ratecard_lane_upserted'
1314
1317
  | 'ratecard_lane_deleted'
1318
+ | 'ratecard_upserted'
1319
+ | 'ratecard_deleted'
1315
1320
  | 'return_upserted'
1316
1321
  | 'return_deleted'
1317
1322
  | 'shopify_localization_setting_upserted'
@@ -1356,7 +1361,8 @@ declare namespace io.flow.v0.enums {
1356
1361
  | 'item_form_overlays'
1357
1362
  | 'price_book_items'
1358
1363
  | 'price_book_items_query'
1359
- | 'ratecard_lanes';
1364
+ | 'ratecard_lanes'
1365
+ | 'order_service_changes';
1360
1366
  type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
1361
1367
  type Incoterm =
1362
1368
  | 'EXW'
@@ -1382,6 +1388,7 @@ declare namespace io.flow.v0.enums {
1382
1388
  type InventoryStatus = 'has_inventory' | 'no_inventory';
1383
1389
  type InvitationErrorCode = 'expired' | 'invalid_email';
1384
1390
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
1391
+ type LaneDirection = 'outbound' | 'return';
1385
1392
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
1386
1393
  type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
1387
1394
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
@@ -1534,6 +1541,7 @@ declare namespace io.flow.v0.enums {
1534
1541
  | 'items_not_available'
1535
1542
  | 'shipping_unavailable';
1536
1543
  type RateType = 'flow' | 'organization';
1544
+ type RatecardOwner = 'flow' | 'organization';
1537
1545
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
1538
1546
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
1539
1547
  type ReturnStatus = 'open' | 'refunded';
@@ -1574,7 +1582,6 @@ declare namespace io.flow.v0.enums {
1574
1582
  type TaxabilityType = 'tax_rule';
1575
1583
  type TaxabilityValue = 'exempt';
1576
1584
  type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed';
1577
- type TierDirection = 'outbound' | 'return';
1578
1585
  type TierEstimateType = 'calculated' | 'custom';
1579
1586
  type TierStrategy = 'fastest' | 'lowest_cost';
1580
1587
  type TokenType = 'permanent' | 'one_time';
@@ -1712,6 +1719,19 @@ declare namespace io.flow.v0.models {
1712
1719
  readonly label: string;
1713
1720
  }
1714
1721
 
1722
+ interface AdyenChallengeShopperData {
1723
+ readonly challenge_token: string;
1724
+ }
1725
+
1726
+ interface AdyenIdentifyShopperData {
1727
+ readonly fingerprint_token: string;
1728
+ }
1729
+
1730
+ interface AdyenNativeActionDetails {
1731
+ readonly origin_key?: string;
1732
+ readonly data?: io.flow.v0.unions.AdyenNativeData;
1733
+ }
1734
+
1715
1735
  interface Allocation {
1716
1736
  readonly order: io.flow.v0.models.AllocationOrderSummary;
1717
1737
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -1913,6 +1933,13 @@ declare namespace io.flow.v0.models {
1913
1933
  interface AuthorizationResultActionGet {
1914
1934
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1915
1935
  readonly url?: string;
1936
+ readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1937
+ }
1938
+
1939
+ interface AuthorizationResultActionNative {
1940
+ readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1941
+ readonly authorization: io.flow.v0.models.AuthorizationReference;
1942
+ readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1916
1943
  }
1917
1944
 
1918
1945
  interface AuthorizationResultActionPost {
@@ -2022,6 +2049,36 @@ declare namespace io.flow.v0.models {
2022
2049
  readonly description?: string;
2023
2050
  }
2024
2051
 
2052
+ interface B2BCreditMemo {
2053
+ readonly id: string;
2054
+ readonly number: string;
2055
+ readonly buyer: io.flow.v0.models.MerchantOfRecordEntity;
2056
+ readonly seller: io.flow.v0.models.MerchantOfRecordEntity;
2057
+ readonly status: io.flow.v0.enums.ConsumerInvoiceStatus;
2058
+ readonly date: string;
2059
+ readonly key: string;
2060
+ readonly invoice: io.flow.v0.models.B2BInvoiceReference;
2061
+ readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2062
+ readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2063
+ readonly attributes: {
2064
+ [key: string]: string;
2065
+ };
2066
+ }
2067
+
2068
+ interface B2BCreditMemoDeleted {
2069
+ readonly event_id: string;
2070
+ readonly timestamp: string;
2071
+ readonly organization: string;
2072
+ readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
2073
+ }
2074
+
2075
+ interface B2BCreditMemoUpserted {
2076
+ readonly event_id: string;
2077
+ readonly timestamp: string;
2078
+ readonly organization: string;
2079
+ readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo;
2080
+ }
2081
+
2025
2082
  interface B2BInvoice {
2026
2083
  readonly id: string;
2027
2084
  readonly number: string;
@@ -2049,6 +2106,12 @@ declare namespace io.flow.v0.models {
2049
2106
  readonly b2b_invoice: io.flow.v0.models.B2BInvoice;
2050
2107
  }
2051
2108
 
2109
+ interface B2BInvoiceReference {
2110
+ readonly id: string;
2111
+ readonly key: string;
2112
+ readonly number: string;
2113
+ }
2114
+
2052
2115
  interface B2BInvoiceUpserted {
2053
2116
  readonly event_id: string;
2054
2117
  readonly timestamp: string;
@@ -2092,6 +2155,16 @@ declare namespace io.flow.v0.models {
2092
2155
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
2093
2156
  }
2094
2157
 
2158
+ interface BrowserInfo {
2159
+ readonly origin?: string;
2160
+ readonly language?: string;
2161
+ readonly java_enabled?: boolean;
2162
+ readonly color_depth?: number;
2163
+ readonly screen_height?: number;
2164
+ readonly screen_width?: number;
2165
+ readonly time_zone_offset?: number;
2166
+ }
2167
+
2095
2168
  interface Capture {
2096
2169
  readonly id: string;
2097
2170
  readonly key: string;
@@ -2429,6 +2502,15 @@ declare namespace io.flow.v0.models {
2429
2502
  readonly item: io.flow.v0.models.Item;
2430
2503
  }
2431
2504
 
2505
+ interface CatalogPriceBookItemDocument {
2506
+ readonly price_book_key: string;
2507
+ readonly price_book_item_key: string;
2508
+ readonly catalog: io.flow.v0.models.CatalogItemSummary;
2509
+ readonly amount: number;
2510
+ readonly starts_at: string;
2511
+ readonly ends_at?: string;
2512
+ }
2513
+
2432
2514
  interface CatalogReference {
2433
2515
  readonly id: string;
2434
2516
  }
@@ -2882,6 +2964,19 @@ declare namespace io.flow.v0.models {
2882
2964
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
2883
2965
  }
2884
2966
 
2967
+ interface CsvPriceBookItemExportRow {
2968
+ readonly price_book_key: string;
2969
+ readonly price_book_item_key: string;
2970
+ readonly item_number: string;
2971
+ readonly item_name: string;
2972
+ readonly amount: number;
2973
+ readonly item_attributes?: {
2974
+ [key: string]: string;
2975
+ };
2976
+ readonly starts_at: string;
2977
+ readonly ends_at?: string;
2978
+ }
2979
+
2885
2980
  interface Currency {
2886
2981
  readonly name: string;
2887
2982
  readonly iso_4217_3: string;
@@ -2964,6 +3059,11 @@ declare namespace io.flow.v0.models {
2964
3059
  readonly type: io.flow.v0.enums.CustomerAddressType;
2965
3060
  }
2966
3061
 
3062
+ interface CustomerBundle {
3063
+ readonly customer: io.flow.v0.models.Customer;
3064
+ readonly last_used?: io.flow.v0.models.CustomerLastUsed;
3065
+ }
3066
+
2967
3067
  interface CustomerDeleted {
2968
3068
  readonly event_id: string;
2969
3069
  readonly timestamp: string;
@@ -2982,6 +3082,22 @@ declare namespace io.flow.v0.models {
2982
3082
  readonly address?: io.flow.v0.models.BillingAddress;
2983
3083
  }
2984
3084
 
3085
+ interface CustomerLastUsed {
3086
+ readonly order: io.flow.v0.models.CustomerOrder;
3087
+ readonly payment: io.flow.v0.models.CustomerPayment;
3088
+ }
3089
+
3090
+ interface CustomerOrder {
3091
+ readonly number: string;
3092
+ readonly destination: io.flow.v0.models.OrderAddress;
3093
+ readonly payments?: io.flow.v0.models.OrderPayment[];
3094
+ readonly submitted_at?: string;
3095
+ }
3096
+
3097
+ interface CustomerPayment {
3098
+ readonly payment_methods: io.flow.v0.models.PaymentMethod[];
3099
+ }
3100
+
2985
3101
  interface CustomerPutForm {
2986
3102
  readonly email?: string;
2987
3103
  readonly name?: io.flow.v0.models.Name;
@@ -3050,6 +3166,7 @@ declare namespace io.flow.v0.models {
3050
3166
  readonly weight?: io.flow.v0.models.OptionWeightEstimates;
3051
3167
  readonly send_to?: io.flow.v0.models.ShippingAddress;
3052
3168
  readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails;
3169
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
3053
3170
  }
3054
3171
 
3055
3172
  interface DeliveryOptionCostComponent {
@@ -3228,6 +3345,7 @@ declare namespace io.flow.v0.models {
3228
3345
  readonly ip?: string;
3229
3346
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
3230
3347
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
3348
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
3231
3349
  }
3232
3350
 
3233
3351
  interface DirectDebit {
@@ -3494,6 +3612,7 @@ declare namespace io.flow.v0.models {
3494
3612
  interface ExperiencePaymentMethodRuleForm {
3495
3613
  readonly payment_method_id: string;
3496
3614
  readonly tags: io.flow.v0.enums.ExperiencePaymentMethodTag[];
3615
+ readonly q?: string;
3497
3616
  }
3498
3617
 
3499
3618
  interface ExperiencePriceBookMapping {
@@ -4976,6 +5095,7 @@ declare namespace io.flow.v0.models {
4976
5095
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
4977
5096
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
4978
5097
  readonly installment_program_id?: string;
5098
+ readonly browser_info?: io.flow.v0.models.BrowserInfo;
4979
5099
  }
4980
5100
 
4981
5101
  interface MerchantOfRecordEntity {
@@ -5486,6 +5606,30 @@ declare namespace io.flow.v0.models {
5486
5606
  readonly applied: io.flow.v0.models.OrderRuleReference[];
5487
5607
  }
5488
5608
 
5609
+ interface OrderServiceChange {
5610
+ readonly id: string;
5611
+ readonly from: io.flow.v0.models.CarrierService;
5612
+ readonly to: io.flow.v0.models.CarrierService;
5613
+ }
5614
+
5615
+ interface OrderServiceChangeForm {
5616
+ readonly from_service_id: string;
5617
+ readonly to_service_id: string;
5618
+ }
5619
+
5620
+ interface OrderServiceChangeRequest {
5621
+ readonly event_id: string;
5622
+ readonly timestamp: string;
5623
+ readonly organization: string;
5624
+ readonly request: io.flow.v0.models.OrderServiceChangeRequestData;
5625
+ }
5626
+
5627
+ interface OrderServiceChangeRequestData {
5628
+ readonly id: string;
5629
+ readonly source_url: string;
5630
+ readonly filename?: string;
5631
+ }
5632
+
5489
5633
  interface OrderSubmissionForm {
5490
5634
  readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
5491
5635
  }
@@ -5881,6 +6025,7 @@ declare namespace io.flow.v0.models {
5881
6025
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
5882
6026
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
5883
6027
  readonly programs: io.flow.v0.models.InstallmentProgramSummary[];
6028
+ readonly q?: io.flow.v0.models.Query;
5884
6029
  }
5885
6030
 
5886
6031
  interface PaymentMethodRuleContent {
@@ -6046,6 +6191,13 @@ declare namespace io.flow.v0.models {
6046
6191
  readonly id: string;
6047
6192
  }
6048
6193
 
6194
+ interface PriceBookItemExportType {
6195
+ readonly price_book_key?: string;
6196
+ readonly item_numbers?: string[];
6197
+ readonly start_date?: string;
6198
+ readonly end_date?: string;
6199
+ }
6200
+
6049
6201
  interface PriceBookItemForm {
6050
6202
  readonly price_book_key: string;
6051
6203
  readonly item_number: string;
@@ -6305,7 +6457,7 @@ declare namespace io.flow.v0.models {
6305
6457
  readonly items: io.flow.v0.models.QuoteLineItemForm[];
6306
6458
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
6307
6459
  readonly delivered_duties?: io.flow.v0.enums.DeliveredDuty[];
6308
- readonly direction?: io.flow.v0.enums.TierDirection;
6460
+ readonly direction?: io.flow.v0.enums.LaneDirection;
6309
6461
  }
6310
6462
 
6311
6463
  interface QuoteLineItemForm {
@@ -6393,6 +6545,7 @@ declare namespace io.flow.v0.models {
6393
6545
  readonly service: io.flow.v0.models.RatecardServiceSummary;
6394
6546
  readonly number?: string;
6395
6547
  readonly published_at?: string;
6548
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
6396
6549
  }
6397
6550
 
6398
6551
  interface RatecardCarrierSummary {
@@ -6400,6 +6553,13 @@ declare namespace io.flow.v0.models {
6400
6553
  readonly name: string;
6401
6554
  }
6402
6555
 
6556
+ interface RatecardDeleted {
6557
+ readonly event_id: string;
6558
+ readonly timestamp: string;
6559
+ readonly organization: string;
6560
+ readonly ratecard: io.flow.v0.models.Ratecard;
6561
+ }
6562
+
6403
6563
  interface RatecardEstimateFormV1 {
6404
6564
  readonly origin?: string;
6405
6565
  readonly destination?: string;
@@ -6455,6 +6615,7 @@ declare namespace io.flow.v0.models {
6455
6615
  readonly dimensional_weight?: io.flow.v0.models.Measurement;
6456
6616
  readonly gravitational_weight?: io.flow.v0.models.Measurement;
6457
6617
  readonly line_items?: io.flow.v0.models.LineItemForm[];
6618
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
6458
6619
  }
6459
6620
 
6460
6621
  interface RatecardForm {
@@ -6463,6 +6624,7 @@ declare namespace io.flow.v0.models {
6463
6624
  readonly origination_zones: io.flow.v0.models.Zone[];
6464
6625
  readonly service: string;
6465
6626
  readonly number?: string;
6627
+ readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner;
6466
6628
  }
6467
6629
 
6468
6630
  interface RatecardLane {
@@ -6505,6 +6667,7 @@ declare namespace io.flow.v0.models {
6505
6667
  }
6506
6668
 
6507
6669
  interface RatecardLaneImportForm {
6670
+ readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
6508
6671
  readonly service: string;
6509
6672
  readonly currency: string;
6510
6673
  readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
@@ -6565,6 +6728,13 @@ declare namespace io.flow.v0.models {
6565
6728
  readonly carrier: io.flow.v0.models.RatecardCarrierSummary;
6566
6729
  }
6567
6730
 
6731
+ interface RatecardUpserted {
6732
+ readonly event_id: string;
6733
+ readonly timestamp: string;
6734
+ readonly organization: string;
6735
+ readonly ratecard: io.flow.v0.models.Ratecard;
6736
+ }
6737
+
6568
6738
  interface RatecardVersion {
6569
6739
  readonly id: string;
6570
6740
  readonly timestamp: string;
@@ -6773,6 +6943,7 @@ declare namespace io.flow.v0.models {
6773
6943
  readonly key: string;
6774
6944
  readonly order?: io.flow.v0.models.ReservationOrderReference;
6775
6945
  readonly items: io.flow.v0.models.ReservationItem[];
6946
+ readonly reserved_until?: string;
6776
6947
  }
6777
6948
 
6778
6949
  interface ReservationForm {
@@ -6819,6 +6990,7 @@ declare namespace io.flow.v0.models {
6819
6990
  readonly destination?: io.flow.v0.models.ShippingAddress;
6820
6991
  readonly key?: string;
6821
6992
  readonly origin?: io.flow.v0.models.ShippingAddress;
6993
+ readonly center_key?: string;
6822
6994
  }
6823
6995
 
6824
6996
  interface ReturnItemReference {
@@ -7302,6 +7474,7 @@ declare namespace io.flow.v0.models {
7302
7474
  readonly tiers: io.flow.v0.models.Tier[];
7303
7475
  readonly query: io.flow.v0.models.Query;
7304
7476
  readonly strategy: io.flow.v0.enums.LaneStrategy;
7477
+ readonly direction?: io.flow.v0.enums.LaneDirection;
7305
7478
  }
7306
7479
 
7307
7480
  interface ShippingLaneDeleted {
@@ -7314,6 +7487,13 @@ declare namespace io.flow.v0.models {
7314
7487
  readonly from: string;
7315
7488
  readonly to: string;
7316
7489
  readonly strategy?: io.flow.v0.enums.LaneStrategy;
7490
+ readonly direction?: io.flow.v0.enums.LaneDirection;
7491
+ }
7492
+
7493
+ interface ShippingLaneSummary {
7494
+ readonly shipping_lane_id: string;
7495
+ readonly region: string;
7496
+ readonly centers: io.flow.v0.unions.ExpandableCenter[];
7317
7497
  }
7318
7498
 
7319
7499
  interface ShippingLaneUpserted {
@@ -7513,6 +7693,7 @@ declare namespace io.flow.v0.models {
7513
7693
  readonly incoterm?: io.flow.v0.enums.Incoterm;
7514
7694
  readonly flow_order_id?: string;
7515
7695
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
7696
+ readonly geo?: io.flow.v0.models.OrderGeo;
7516
7697
  }
7517
7698
 
7518
7699
  interface ShopifyLocalizedVariant {
@@ -7674,6 +7855,11 @@ declare namespace io.flow.v0.models {
7674
7855
  readonly key?: string;
7675
7856
  }
7676
7857
 
7858
+ interface StripeAuthorizationResultActionDetails {
7859
+ readonly client_secret?: string;
7860
+ readonly payment_method_id?: string;
7861
+ }
7862
+
7677
7863
  interface Subcatalog {
7678
7864
  readonly id: string;
7679
7865
  readonly catalog: io.flow.v0.models.Catalog;
@@ -7914,7 +8100,7 @@ declare namespace io.flow.v0.models {
7914
8100
 
7915
8101
  interface Tier {
7916
8102
  readonly id: string;
7917
- readonly direction: io.flow.v0.enums.TierDirection;
8103
+ readonly direction: io.flow.v0.enums.LaneDirection;
7918
8104
  readonly integration: io.flow.v0.enums.ShipmentIntegrationType;
7919
8105
  readonly name: string;
7920
8106
  readonly message?: string;
@@ -7927,6 +8113,7 @@ declare namespace io.flow.v0.models {
7927
8113
  readonly display?: io.flow.v0.models.TierDisplay;
7928
8114
  readonly shipping_lane?: string;
7929
8115
  readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
8116
+ readonly lane?: io.flow.v0.models.ShippingLaneSummary;
7930
8117
  }
7931
8118
 
7932
8119
  interface TierDeletedV2 {
@@ -7959,7 +8146,7 @@ declare namespace io.flow.v0.models {
7959
8146
  readonly strategy: io.flow.v0.enums.TierStrategy;
7960
8147
  readonly visibility: io.flow.v0.enums.Visibility;
7961
8148
  readonly description?: string;
7962
- readonly direction?: io.flow.v0.enums.TierDirection;
8149
+ readonly direction?: io.flow.v0.enums.LaneDirection;
7963
8150
  readonly display?: io.flow.v0.models.TierDisplayForm;
7964
8151
  readonly shipping_lane: string;
7965
8152
  readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
@@ -8376,6 +8563,14 @@ declare namespace io.flow.v0.models {
8376
8563
  }
8377
8564
 
8378
8565
  declare namespace io.flow.v0.unions {
8566
+ type AdyenNativeData =
8567
+ | {
8568
+ discriminator: 'adyen_identify_shopper_data';
8569
+ } & io.flow.v0.models.AdyenIdentifyShopperData
8570
+ | {
8571
+ discriminator: 'adyen_challenge_shopper_data';
8572
+ } & io.flow.v0.models.AdyenChallengeShopperData;
8573
+
8379
8574
  type AllocationComponent =
8380
8575
  | {
8381
8576
  discriminator: 'allocation_detail_component';
@@ -8443,7 +8638,18 @@ declare namespace io.flow.v0.unions {
8443
8638
  } & io.flow.v0.models.AuthorizationResultActionPost
8444
8639
  | {
8445
8640
  discriminator: 'authorization_result_action_wait';
8446
- } & io.flow.v0.models.AuthorizationResultActionWait;
8641
+ } & io.flow.v0.models.AuthorizationResultActionWait
8642
+ | {
8643
+ discriminator: 'authorization_result_action_native';
8644
+ } & io.flow.v0.models.AuthorizationResultActionNative;
8645
+
8646
+ type AuthorizationResultActionDetails =
8647
+ | {
8648
+ discriminator: 'adyen_native_action_details';
8649
+ } & io.flow.v0.models.AdyenNativeActionDetails
8650
+ | {
8651
+ discriminator: 'stripe_authorization_result_action_details';
8652
+ } & io.flow.v0.models.StripeAuthorizationResultActionDetails;
8447
8653
 
8448
8654
  type AvailableFilter =
8449
8655
  | {
@@ -8568,6 +8774,12 @@ declare namespace io.flow.v0.unions {
8568
8774
  | {
8569
8775
  discriminator: 'b2b_invoice_deleted';
8570
8776
  } & io.flow.v0.models.B2BInvoiceDeleted
8777
+ | {
8778
+ discriminator: 'b2b_credit_memo_upserted';
8779
+ } & io.flow.v0.models.B2BCreditMemoUpserted
8780
+ | {
8781
+ discriminator: 'b2b_credit_memo_deleted';
8782
+ } & io.flow.v0.models.B2BCreditMemoDeleted
8571
8783
  | {
8572
8784
  discriminator: 'consumer_invoice_upserted';
8573
8785
  } & io.flow.v0.models.ConsumerInvoiceUpserted
@@ -8706,6 +8918,9 @@ declare namespace io.flow.v0.unions {
8706
8918
  | {
8707
8919
  discriminator: 'pricing_upserted';
8708
8920
  } & io.flow.v0.models.PricingUpserted
8921
+ | {
8922
+ discriminator: 'order_service_change_request';
8923
+ } & io.flow.v0.models.OrderServiceChangeRequest
8709
8924
  | {
8710
8925
  discriminator: 'fraud_status_changed';
8711
8926
  } & io.flow.v0.models.FraudStatusChanged
@@ -8970,6 +9185,12 @@ declare namespace io.flow.v0.unions {
8970
9185
  | {
8971
9186
  discriminator: 'ratecard_lane_deleted';
8972
9187
  } & io.flow.v0.models.RatecardLaneDeleted
9188
+ | {
9189
+ discriminator: 'ratecard_upserted';
9190
+ } & io.flow.v0.models.RatecardUpserted
9191
+ | {
9192
+ discriminator: 'ratecard_deleted';
9193
+ } & io.flow.v0.models.RatecardDeleted
8973
9194
  | {
8974
9195
  discriminator: 'return_upserted';
8975
9196
  } & io.flow.v0.models.ReturnUpserted
@@ -9095,6 +9316,9 @@ declare namespace io.flow.v0.unions {
9095
9316
  | {
9096
9317
  discriminator: 'order_export_type';
9097
9318
  } & io.flow.v0.models.OrderExportType
9319
+ | {
9320
+ discriminator: 'price_book_item_export_type';
9321
+ } & io.flow.v0.models.PriceBookItemExportType
9098
9322
  | {
9099
9323
  discriminator: 'solidus_product_export_type';
9100
9324
  } & io.flow.v0.models.SolidusProductExportType
@@ -9441,6 +9665,10 @@ export type AddressSuggestion = io.flow.v0.models.AddressSuggestion;
9441
9665
  export type AddressVerification = io.flow.v0.models.AddressVerification;
9442
9666
  export type AdjustmentReason = io.flow.v0.models.AdjustmentReason;
9443
9667
  export type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey;
9668
+ export type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData;
9669
+ export type AdyenIdentifyShopperData = io.flow.v0.models.AdyenIdentifyShopperData;
9670
+ export type AdyenNativeActionDetails = io.flow.v0.models.AdyenNativeActionDetails;
9671
+ export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
9444
9672
  export type Aggregate = io.flow.v0.enums.Aggregate;
9445
9673
  export type Allocation = io.flow.v0.models.Allocation;
9446
9674
  export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
@@ -9482,7 +9710,9 @@ export type AuthorizationPayloadParameters = io.flow.v0.unions.AuthorizationPayl
9482
9710
  export type AuthorizationReference = io.flow.v0.models.AuthorizationReference;
9483
9711
  export type AuthorizationResult = io.flow.v0.models.AuthorizationResult;
9484
9712
  export type AuthorizationResultAction = io.flow.v0.unions.AuthorizationResultAction;
9713
+ export type AuthorizationResultActionDetails = io.flow.v0.unions.AuthorizationResultActionDetails;
9485
9714
  export type AuthorizationResultActionGet = io.flow.v0.models.AuthorizationResultActionGet;
9715
+ export type AuthorizationResultActionNative = io.flow.v0.models.AuthorizationResultActionNative;
9486
9716
  export type AuthorizationResultActionPost = io.flow.v0.models.AuthorizationResultActionPost;
9487
9717
  export type AuthorizationResultActionType = io.flow.v0.enums.AuthorizationResultActionType;
9488
9718
  export type AuthorizationResultActionWait = io.flow.v0.models.AuthorizationResultActionWait;
@@ -9505,14 +9735,19 @@ export type AvalaraTaxCsvSetting = io.flow.v0.models.AvalaraTaxCsvSetting;
9505
9735
  export type AvalaraTaxSetting = io.flow.v0.models.AvalaraTaxSetting;
9506
9736
  export type Avs = io.flow.v0.models.Avs;
9507
9737
  export type AvsCode = io.flow.v0.enums.AvsCode;
9738
+ export type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo;
9739
+ export type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted;
9740
+ export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted;
9508
9741
  export type B2BInvoice = io.flow.v0.models.B2BInvoice;
9509
9742
  export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted;
9743
+ export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference;
9510
9744
  export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted;
9511
9745
  export type BehaviorAudit = io.flow.v0.models.BehaviorAudit;
9512
9746
  export type BillingAddress = io.flow.v0.models.BillingAddress;
9513
9747
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
9514
9748
  export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
9515
9749
  export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
9750
+ export type BrowserInfo = io.flow.v0.models.BrowserInfo;
9516
9751
  export type Calendar = io.flow.v0.enums.Calendar;
9517
9752
  export type CancelReason = io.flow.v0.enums.CancelReason;
9518
9753
  export type Capability = io.flow.v0.enums.Capability;
@@ -9563,6 +9798,7 @@ export type CatalogItemReference = io.flow.v0.models.CatalogItemReference;
9563
9798
  export type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary;
9564
9799
  export type CatalogItemUpserted = io.flow.v0.models.CatalogItemUpserted;
9565
9800
  export type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpsertedV2;
9801
+ export type CatalogPriceBookItemDocument = io.flow.v0.models.CatalogPriceBookItemDocument;
9566
9802
  export type CatalogReference = io.flow.v0.models.CatalogReference;
9567
9803
  export type CatalogStatistics = io.flow.v0.models.CatalogStatistics;
9568
9804
  export type CatalogUpserted = io.flow.v0.models.CatalogUpserted;
@@ -9636,6 +9872,7 @@ export type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersion;
9636
9872
  export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
9637
9873
  export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
9638
9874
  export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
9875
+ export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
9639
9876
  export type Currency = io.flow.v0.models.Currency;
9640
9877
  export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
9641
9878
  export type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -9652,9 +9889,13 @@ export type CustomerAddressBookContactUpserted = io.flow.v0.models.CustomerAddre
9652
9889
  export type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm;
9653
9890
  export type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference;
9654
9891
  export type CustomerAddressType = io.flow.v0.enums.CustomerAddressType;
9892
+ export type CustomerBundle = io.flow.v0.models.CustomerBundle;
9655
9893
  export type CustomerDeleted = io.flow.v0.models.CustomerDeleted;
9656
9894
  export type CustomerForm = io.flow.v0.models.CustomerForm;
9657
9895
  export type CustomerInvoice = io.flow.v0.models.CustomerInvoice;
9896
+ export type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed;
9897
+ export type CustomerOrder = io.flow.v0.models.CustomerOrder;
9898
+ export type CustomerPayment = io.flow.v0.models.CustomerPayment;
9658
9899
  export type CustomerPutForm = io.flow.v0.models.CustomerPutForm;
9659
9900
  export type CustomerReference = io.flow.v0.models.CustomerReference;
9660
9901
  export type CustomerToken = io.flow.v0.models.CustomerToken;
@@ -9956,6 +10197,7 @@ export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
9956
10197
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
9957
10198
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
9958
10199
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
10200
+ export type LaneDirection = io.flow.v0.enums.LaneDirection;
9959
10201
  export type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
9960
10202
  export type LaneStrategy = io.flow.v0.enums.LaneStrategy;
9961
10203
  export type Language = io.flow.v0.models.Language;
@@ -10086,6 +10328,10 @@ export type OrderPutForm = io.flow.v0.models.OrderPutForm;
10086
10328
  export type OrderReference = io.flow.v0.models.OrderReference;
10087
10329
  export type OrderRuleReference = io.flow.v0.models.OrderRuleReference;
10088
10330
  export type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary;
10331
+ export type OrderServiceChange = io.flow.v0.models.OrderServiceChange;
10332
+ export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm;
10333
+ export type OrderServiceChangeRequest = io.flow.v0.models.OrderServiceChangeRequest;
10334
+ export type OrderServiceChangeRequestData = io.flow.v0.models.OrderServiceChangeRequestData;
10089
10335
  export type OrderStatus = io.flow.v0.enums.OrderStatus;
10090
10336
  export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm;
10091
10337
  export type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm;
@@ -10184,6 +10430,7 @@ export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
10184
10430
  export type PriceBookForm = io.flow.v0.models.PriceBookForm;
10185
10431
  export type PriceBookItem = io.flow.v0.models.PriceBookItem;
10186
10432
  export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
10433
+ export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
10187
10434
  export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
10188
10435
  export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
10189
10436
  export type PriceBookItemSchedule = io.flow.v0.models.PriceBookItemSchedule;
@@ -10249,6 +10496,7 @@ export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3;
10249
10496
  export type RateVersion = io.flow.v0.models.RateVersion;
10250
10497
  export type Ratecard = io.flow.v0.models.Ratecard;
10251
10498
  export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary;
10499
+ export type RatecardDeleted = io.flow.v0.models.RatecardDeleted;
10252
10500
  export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate;
10253
10501
  export type RatecardEstimateForm = io.flow.v0.unions.RatecardEstimateForm;
10254
10502
  export type RatecardEstimateFormV1 = io.flow.v0.models.RatecardEstimateFormV1;
@@ -10265,11 +10513,13 @@ export type RatecardLaneImportForm = io.flow.v0.models.RatecardLaneImportForm;
10265
10513
  export type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted;
10266
10514
  export type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion;
10267
10515
  export type RatecardLanesImportRequestData = io.flow.v0.models.RatecardLanesImportRequestData;
10516
+ export type RatecardOwner = io.flow.v0.enums.RatecardOwner;
10268
10517
  export type RatecardRate = io.flow.v0.models.RatecardRate;
10269
10518
  export type RatecardRateForm = io.flow.v0.models.RatecardRateForm;
10270
10519
  export type RatecardRateVersion = io.flow.v0.models.RatecardRateVersion;
10271
10520
  export type RatecardReference = io.flow.v0.models.RatecardReference;
10272
10521
  export type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary;
10522
+ export type RatecardUpserted = io.flow.v0.models.RatecardUpserted;
10273
10523
  export type RatecardVersion = io.flow.v0.models.RatecardVersion;
10274
10524
  export type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill;
10275
10525
  export type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails;
@@ -10396,6 +10646,7 @@ export type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion;
10396
10646
  export type ShippingLane = io.flow.v0.models.ShippingLane;
10397
10647
  export type ShippingLaneDeleted = io.flow.v0.models.ShippingLaneDeleted;
10398
10648
  export type ShippingLaneForm = io.flow.v0.models.ShippingLaneForm;
10649
+ export type ShippingLaneSummary = io.flow.v0.models.ShippingLaneSummary;
10399
10650
  export type ShippingLaneUpserted = io.flow.v0.models.ShippingLaneUpserted;
10400
10651
  export type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion;
10401
10652
  export type ShippingNotification = io.flow.v0.models.ShippingNotification;
@@ -10452,6 +10703,7 @@ export type SortDirection = io.flow.v0.enums.SortDirection;
10452
10703
  export type Strategy = io.flow.v0.enums.Strategy;
10453
10704
  export type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
10454
10705
  export type StripeAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
10706
+ export type StripeAuthorizationResultActionDetails = io.flow.v0.models.StripeAuthorizationResultActionDetails;
10455
10707
  export type Subcatalog = io.flow.v0.models.Subcatalog;
10456
10708
  export type SubcatalogDeleted = io.flow.v0.models.SubcatalogDeleted;
10457
10709
  export type SubcatalogForm = io.flow.v0.models.SubcatalogForm;
@@ -10498,7 +10750,6 @@ export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
10498
10750
  export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
10499
10751
  export type Tier = io.flow.v0.models.Tier;
10500
10752
  export type TierDeletedV2 = io.flow.v0.models.TierDeletedV2;
10501
- export type TierDirection = io.flow.v0.enums.TierDirection;
10502
10753
  export type TierDisplay = io.flow.v0.models.TierDisplay;
10503
10754
  export type TierDisplayForm = io.flow.v0.models.TierDisplayForm;
10504
10755
  export type TierEstimate = io.flow.v0.models.TierEstimate;