@flowio/types 11.10.1 → 11.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,6 +92,142 @@ declare namespace io.flow.tracking.internal.v0.unions {
92
92
  | io.flow.tracking.internal.v0.models.Fedex;
93
93
  }
94
94
 
95
+ declare namespace io.flow.ups.license.v0.models {
96
+ interface AccessLicenceAgreementRequest {
97
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
98
+ readonly DeveloperLicenseNumber: string;
99
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
100
+ }
101
+
102
+ interface AccessLicenceAgreementRequestWrapper {
103
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
104
+ readonly AccessLicenseAgreementRequest: io.flow.ups.license.v0.models.AccessLicenceAgreementRequest;
105
+ }
106
+
107
+ interface AccessLicenceAgreementResponse {
108
+ readonly Response: io.flow.ups.license.v0.models.UpsLicenseResponse;
109
+ readonly AccessLicenseText: string;
110
+ }
111
+
112
+ interface AccessLicenceAgreementResponseWrapper {
113
+ readonly AccessLicenseAgreementResponse?: io.flow.ups.license.v0.models.AccessLicenceAgreementResponse;
114
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
115
+ }
116
+
117
+ interface AccessLicenceRequest {
118
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
119
+ readonly CompanyName: string;
120
+ readonly Address: io.flow.ups.license.v0.models.RequestAddress;
121
+ readonly PrimaryContact: io.flow.ups.license.v0.models.RequestContact;
122
+ readonly SecondaryContact?: io.flow.ups.license.v0.models.RequestContact;
123
+ readonly CompanyURL: string;
124
+ readonly ShipperNumber?: string;
125
+ readonly DeveloperLicenseNumber: string;
126
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
127
+ readonly ClientSoftwareProfile: io.flow.ups.license.v0.models.ClientSoftwareProfile;
128
+ }
129
+
130
+ interface AccessLicenceResponse {
131
+ readonly Response?: io.flow.ups.license.v0.models.UpsLicenseResponse;
132
+ readonly AccessLicenseNumber?: string;
133
+ }
134
+
135
+ interface AccessLicenseProfile {
136
+ readonly CountryCode: string;
137
+ readonly LanguageCode: string;
138
+ readonly AccessLicenseText?: string;
139
+ }
140
+
141
+ interface AccessLicenseRequestWrapper {
142
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
143
+ readonly AccessLicenseRequest: io.flow.ups.license.v0.models.AccessLicenceRequest;
144
+ }
145
+
146
+ interface AccessLicenseResponseWrapper {
147
+ readonly AccessLicenseResponse?: io.flow.ups.license.v0.models.AccessLicenceResponse;
148
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
149
+ }
150
+
151
+ interface ClientSoftwareProfile {
152
+ readonly SoftwareInstaller: string;
153
+ readonly SoftwareProductName: string;
154
+ readonly SoftwareProvider: string;
155
+ readonly SoftwareVersionNumber: string;
156
+ }
157
+
158
+ interface Fault {
159
+ readonly faultcode: string;
160
+ readonly faultstring: string;
161
+ readonly detail: io.flow.ups.license.v0.models.UpsLicenseDetail;
162
+ }
163
+
164
+ interface PrimaryErrorCode {
165
+ readonly Code: string;
166
+ readonly Description: string;
167
+ }
168
+
169
+ interface RequestAddress {
170
+ readonly AddressLine1: string;
171
+ readonly AddressLine2?: string;
172
+ readonly AddressLine3?: string;
173
+ readonly City: string;
174
+ readonly StateProvinceCode: string;
175
+ readonly PostalCode: string;
176
+ readonly CountryCode: string;
177
+ }
178
+
179
+ interface RequestContact {
180
+ readonly Name: string;
181
+ readonly Title: string;
182
+ readonly EMailAddress: string;
183
+ readonly PhoneNumber: string;
184
+ readonly FaxNumber?: string;
185
+ }
186
+
187
+ interface TransactionReference {
188
+ readonly CustomerContext: string;
189
+ readonly TransactionIdentifier?: string;
190
+ }
191
+
192
+ interface UpsLicenseDetail {
193
+ readonly Errors: io.flow.ups.license.v0.models.UpsLicenseErrors;
194
+ }
195
+
196
+ interface UpsLicenseErrorDetail {
197
+ readonly Severity: string;
198
+ readonly PrimaryErrorCode: io.flow.ups.license.v0.models.PrimaryErrorCode;
199
+ }
200
+
201
+ interface UpsLicenseErrors {
202
+ readonly ErrorDetail: io.flow.ups.license.v0.models.UpsLicenseErrorDetail;
203
+ }
204
+
205
+ interface UpsLicenseRequest {
206
+ readonly RequestOption: string;
207
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
208
+ }
209
+
210
+ interface UpsLicenseResponse {
211
+ readonly ResponseStatus: io.flow.ups.license.v0.models.UpsLicenseResponseStatus;
212
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
213
+ }
214
+
215
+ interface UpsLicenseResponseStatus {
216
+ readonly Code: string;
217
+ readonly Description: string;
218
+ }
219
+
220
+ interface UpsSecurity {
221
+ readonly UsernameToken: io.flow.ups.license.v0.models.UsernameToken;
222
+ readonly ServiceAccessToken: string;
223
+ }
224
+
225
+ interface UsernameToken {
226
+ readonly Username: string;
227
+ readonly Password: string;
228
+ }
229
+ }
230
+
95
231
  declare namespace io.flow.item.dimension.estimate.v0.models {
96
232
  interface ItemDimensionEstimate {
97
233
  readonly id: string;
@@ -2021,6 +2157,425 @@ declare namespace io.flow.harmonization.engine.internal.v0.unions {
2021
2157
  | io.flow.harmonization.engine.internal.v0.models.RateFreshnessSummary;
2022
2158
  }
2023
2159
 
2160
+ declare namespace io.flow.shopify.xborder.integration.test.v0.enums {
2161
+ type ShopifyOrderCancelReason =
2162
+ | 'customer'
2163
+ | 'fraud'
2164
+ | 'inventory'
2165
+ | 'declined'
2166
+ | 'other';
2167
+ type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
2168
+ type ShopifyOrderDiscountApplicationTargetSelection =
2169
+ | 'all'
2170
+ | 'entitled'
2171
+ | 'explicit';
2172
+ type ShopifyOrderDiscountApplicationTargetType =
2173
+ | 'line_item'
2174
+ | 'shipping_line';
2175
+ type ShopifyOrderDiscountApplicationType =
2176
+ | 'automatic'
2177
+ | 'discount_code'
2178
+ | 'manual'
2179
+ | 'script';
2180
+ type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
2181
+ type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2182
+ type ShopifyOrderFinancialStatusType =
2183
+ | 'pending'
2184
+ | 'authorized'
2185
+ | 'partially_paid'
2186
+ | 'paid'
2187
+ | 'partially_refunded'
2188
+ | 'refunded'
2189
+ | 'voided';
2190
+ type ShopifyOrderFulfillmentShipmentStatus =
2191
+ | 'label_printed'
2192
+ | 'label_purchased'
2193
+ | 'attempted_delivery'
2194
+ | 'ready_for_pickup'
2195
+ | 'confirmed'
2196
+ | 'in_transit'
2197
+ | 'out_for_delivery'
2198
+ | 'delivered'
2199
+ | 'failure';
2200
+ type ShopifyOrderFulfillmentStatus =
2201
+ | 'pending'
2202
+ | 'open'
2203
+ | 'success'
2204
+ | 'cancelled'
2205
+ | 'error'
2206
+ | 'failure';
2207
+ type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2208
+ type ShopifyOrderInventoryBehaviour =
2209
+ | 'bypass'
2210
+ | 'decrement_ignoring_policy'
2211
+ | 'decrement_obeying_policy';
2212
+ type ShopifyOrderKindType =
2213
+ | 'authorization'
2214
+ | 'capture'
2215
+ | 'sale'
2216
+ | 'void'
2217
+ | 'refund';
2218
+ type ShopifyOrderProcessingMethodType =
2219
+ | 'checkout'
2220
+ | 'direct'
2221
+ | 'manual'
2222
+ | 'offsite'
2223
+ | 'express';
2224
+ type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
2225
+ type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2226
+ type ShopifyOrderTransactionErrorCode =
2227
+ | 'incorrect_number'
2228
+ | 'invalid_number'
2229
+ | 'invalid_expiry_date'
2230
+ | 'invalid_cvc'
2231
+ | 'expired_card'
2232
+ | 'incorrect_cvc'
2233
+ | 'incorrect_zip'
2234
+ | 'incorrect_address'
2235
+ | 'card_declined'
2236
+ | 'processing_error'
2237
+ | 'call_issuer'
2238
+ | 'pick_up_card';
2239
+ type ShopifyOrderTransactionStatus =
2240
+ | 'pending'
2241
+ | 'failure'
2242
+ | 'success'
2243
+ | 'error';
2244
+ type ShopifyOrderValueType = 'string' | 'integer';
2245
+ }
2246
+
2247
+ declare namespace io.flow.shopify.xborder.integration.test.v0.models {
2248
+ interface ShopifyOrder {
2249
+ readonly id: number;
2250
+ readonly order_number: number;
2251
+ readonly billing_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2252
+ readonly browser_ip?: string;
2253
+ readonly buyer_accepts_marketing: boolean;
2254
+ readonly cancel_reason?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderCancelReason;
2255
+ readonly cancelled_at?: string;
2256
+ readonly cart_token?: string;
2257
+ readonly client_details: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderClientDetail;
2258
+ readonly closed_at?: string;
2259
+ readonly created_at: string;
2260
+ readonly currency: string;
2261
+ readonly total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2262
+ readonly current_total_discounts_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2263
+ readonly total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2264
+ readonly current_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2265
+ readonly original_total_duties_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2266
+ readonly total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2267
+ readonly current_total_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2268
+ readonly subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2269
+ readonly current_subtotal_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2270
+ readonly total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2271
+ readonly current_total_tax_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2272
+ readonly total_line_items_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2273
+ readonly customer: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderCustomer;
2274
+ readonly customer_locale?: string;
2275
+ readonly discount_applications: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountApplication[];
2276
+ readonly discount_codes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountCode[];
2277
+ readonly email?: string;
2278
+ readonly financial_status: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFinancialStatusType;
2279
+ readonly fulfillments: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderFulfillment[];
2280
+ readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2281
+ readonly landing_site?: string;
2282
+ readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2283
+ readonly location_id?: number;
2284
+ readonly name: string;
2285
+ readonly note?: string;
2286
+ readonly note_attributes: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAttribute[];
2287
+ readonly number?: number;
2288
+ readonly payment_gateway_names: string[];
2289
+ readonly processed_at?: string;
2290
+ readonly processing_method?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderProcessingMethodType;
2291
+ readonly referring_site?: string;
2292
+ readonly refunds: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefund[];
2293
+ readonly shipping_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2294
+ readonly shipping_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderShippingLine[];
2295
+ readonly source_name?: string;
2296
+ readonly tags?: string;
2297
+ readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2298
+ readonly taxes_included: boolean;
2299
+ readonly token?: string;
2300
+ readonly total_weight?: number;
2301
+ readonly updated_at?: string;
2302
+ readonly user_id?: number;
2303
+ readonly order_status_url?: string;
2304
+ readonly inventory_behaviour?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderInventoryBehaviour;
2305
+ readonly gateway?: string;
2306
+ readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2307
+ readonly send_receipt?: boolean;
2308
+ readonly metafields?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMetafield[];
2309
+ }
2310
+
2311
+ interface ShopifyOrderAddress {
2312
+ readonly id?: number;
2313
+ readonly address1?: string;
2314
+ readonly address2?: string;
2315
+ readonly city?: string;
2316
+ readonly company?: string;
2317
+ readonly country?: string;
2318
+ readonly country_code?: string;
2319
+ readonly default?: boolean;
2320
+ readonly first_name?: string;
2321
+ readonly last_name?: string;
2322
+ readonly latitude?: number;
2323
+ readonly longitude?: number;
2324
+ readonly name?: string;
2325
+ readonly phone?: string;
2326
+ readonly province?: string;
2327
+ readonly province_code?: string;
2328
+ readonly zip?: string;
2329
+ }
2330
+
2331
+ interface ShopifyOrderAttribute {
2332
+ readonly name: string;
2333
+ readonly value: string;
2334
+ }
2335
+
2336
+ interface ShopifyOrderClientDetail {
2337
+ readonly accept_language?: string;
2338
+ readonly browser_height?: number;
2339
+ readonly browser_ip?: string;
2340
+ readonly browser_width?: number;
2341
+ readonly session_hash?: string;
2342
+ readonly user_agent?: string;
2343
+ }
2344
+
2345
+ interface ShopifyOrderCustomer {
2346
+ readonly id?: number;
2347
+ readonly email?: string;
2348
+ readonly accepts_marketing?: boolean;
2349
+ readonly created_at?: string;
2350
+ readonly updated_at?: string;
2351
+ readonly first_name?: string;
2352
+ readonly last_name?: string;
2353
+ readonly orders_count?: number;
2354
+ readonly state?: string;
2355
+ readonly total_spent?: string;
2356
+ readonly last_order_id?: number;
2357
+ readonly note?: string;
2358
+ readonly verified_email?: boolean;
2359
+ readonly multipass_identifier?: string;
2360
+ readonly tax_exempt?: boolean;
2361
+ readonly tax_exemptions?: any /*json*/[];
2362
+ readonly phone?: string;
2363
+ readonly tags?: string;
2364
+ readonly last_order_name?: string;
2365
+ readonly currency?: string;
2366
+ readonly addresses?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2367
+ readonly default_address?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderAddress;
2368
+ }
2369
+
2370
+ interface ShopifyOrderDiscountAllocation {
2371
+ readonly amount: string;
2372
+ readonly discount_application_index: number;
2373
+ readonly amount_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2374
+ }
2375
+
2376
+ interface ShopifyOrderDiscountApplication {
2377
+ readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationType;
2378
+ readonly allocation_method: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountAllocationMethod;
2379
+ readonly code?: string;
2380
+ readonly description?: string;
2381
+ readonly target_selection: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
2382
+ readonly target_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationTargetType;
2383
+ readonly title?: string;
2384
+ readonly value: string;
2385
+ readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountApplicationValueType;
2386
+ }
2387
+
2388
+ interface ShopifyOrderDiscountCode {
2389
+ readonly amount: string;
2390
+ readonly code: string;
2391
+ readonly type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderDiscountType;
2392
+ }
2393
+
2394
+ interface ShopifyOrderDuty {
2395
+ readonly id: string;
2396
+ readonly harmonized_system_code: string;
2397
+ readonly country_code_of_origin: string;
2398
+ readonly presentment_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2399
+ readonly shop_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2400
+ readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2401
+ }
2402
+
2403
+ interface ShopifyOrderFulfillment {
2404
+ readonly created_at?: string;
2405
+ readonly id?: number;
2406
+ readonly line_items: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem[];
2407
+ readonly location_id: number;
2408
+ readonly name: string;
2409
+ readonly notify_customer?: boolean;
2410
+ readonly order_id?: number;
2411
+ readonly receipt?: any /*object*/;
2412
+ readonly service: string;
2413
+ readonly shipment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
2414
+ readonly status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatus;
2415
+ readonly tracking_company?: string;
2416
+ readonly tracking_number?: string;
2417
+ readonly tracking_numbers?: string[];
2418
+ readonly tracking_urls?: string[];
2419
+ readonly updated_at?: string;
2420
+ readonly variant_inventory_management?: string;
2421
+ }
2422
+
2423
+ interface ShopifyOrderLineItem {
2424
+ readonly fulfillable_quantity?: number;
2425
+ readonly fulfillment_service: string;
2426
+ readonly fulfillment_status?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderFulfillmentStatusType;
2427
+ readonly grams?: number;
2428
+ readonly id: number;
2429
+ readonly price?: string;
2430
+ readonly price_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2431
+ readonly product_id?: number;
2432
+ readonly quantity: number;
2433
+ readonly requires_shipping: boolean;
2434
+ readonly sku?: string;
2435
+ readonly title?: string;
2436
+ readonly variant_id?: number;
2437
+ readonly variant_title?: string;
2438
+ readonly vendor?: string;
2439
+ readonly name?: string;
2440
+ readonly gift_card: boolean;
2441
+ readonly properties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderProperty[];
2442
+ readonly taxable: boolean;
2443
+ readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2444
+ readonly tip_payment_gateway?: string;
2445
+ readonly tip_payment_method?: string;
2446
+ readonly total_discount?: string;
2447
+ readonly total_discount_set?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2448
+ readonly discount_allocations?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDiscountAllocation[];
2449
+ readonly origin_location: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderOriginLocation;
2450
+ readonly variant_inventory_management?: string;
2451
+ readonly product_exists?: boolean;
2452
+ readonly duties: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderDuty[];
2453
+ }
2454
+
2455
+ interface ShopifyOrderMetafield {
2456
+ readonly id: number;
2457
+ readonly key: string;
2458
+ readonly namespace: string;
2459
+ readonly value: string;
2460
+ readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2461
+ readonly description?: string;
2462
+ readonly owner_id: number;
2463
+ readonly owner_resource: string;
2464
+ }
2465
+
2466
+ interface ShopifyOrderMetafieldForm {
2467
+ readonly key: string;
2468
+ readonly namespace: string;
2469
+ readonly value: string;
2470
+ readonly value_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderValueType;
2471
+ readonly description?: string;
2472
+ }
2473
+
2474
+ interface ShopifyOrderMoney {
2475
+ readonly amount: number;
2476
+ readonly currency_code: string;
2477
+ }
2478
+
2479
+ interface ShopifyOrderMoneySet {
2480
+ readonly shop_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2481
+ readonly presentment_money: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoney;
2482
+ }
2483
+
2484
+ interface ShopifyOrderOriginLocation {
2485
+ readonly id: number;
2486
+ readonly country_code: string;
2487
+ readonly province_code: string;
2488
+ readonly name: string;
2489
+ readonly address1: string;
2490
+ readonly address2: string;
2491
+ readonly city: string;
2492
+ readonly zip: string;
2493
+ }
2494
+
2495
+ interface ShopifyOrderPaymentDetail {
2496
+ readonly avs_result_code?: string;
2497
+ readonly credit_card_bin?: string;
2498
+ readonly credit_card_company: string;
2499
+ readonly credit_card_number: string;
2500
+ readonly cvv_result_code?: string;
2501
+ }
2502
+
2503
+ interface ShopifyOrderProperty {
2504
+ readonly name: string;
2505
+ readonly value: any /*json*/;
2506
+ }
2507
+
2508
+ interface ShopifyOrderRefund {
2509
+ readonly id: number;
2510
+ readonly order_id: number;
2511
+ readonly created_at: string;
2512
+ readonly processed_at: string;
2513
+ readonly note?: string;
2514
+ readonly refund_line_items?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderRefundLineItem[];
2515
+ readonly restock?: boolean;
2516
+ readonly transactions?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTransaction[];
2517
+ readonly user_id?: number;
2518
+ }
2519
+
2520
+ interface ShopifyOrderRefundLineItem {
2521
+ readonly id: number;
2522
+ readonly line_item: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderLineItem;
2523
+ readonly line_item_id: number;
2524
+ readonly quantity: number;
2525
+ readonly restock_type: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderRestockType;
2526
+ readonly location_id?: number;
2527
+ readonly subtotal?: number;
2528
+ readonly total_tax?: number;
2529
+ }
2530
+
2531
+ interface ShopifyOrderShippingLine {
2532
+ readonly code: string;
2533
+ readonly price: string;
2534
+ readonly source: string;
2535
+ readonly title: string;
2536
+ readonly tax_lines: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderTaxLine[];
2537
+ readonly carrier_identifier?: string;
2538
+ readonly requested_fulfillment_service_id?: string;
2539
+ readonly price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2540
+ readonly discounted_price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2541
+ }
2542
+
2543
+ interface ShopifyOrderTaxLine {
2544
+ readonly price_set: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderMoneySet;
2545
+ readonly rate: number;
2546
+ readonly title: string;
2547
+ }
2548
+
2549
+ interface ShopifyOrderTransaction {
2550
+ readonly id: number;
2551
+ readonly order_id: number;
2552
+ readonly amount: number;
2553
+ readonly kind: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderKindType;
2554
+ readonly gateway: string;
2555
+ readonly currency: string;
2556
+ readonly status: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionStatus;
2557
+ readonly payment_details?: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrderPaymentDetail;
2558
+ readonly receipt: any /*object*/;
2559
+ readonly authorization?: string;
2560
+ readonly created_at: string;
2561
+ readonly device_id?: number;
2562
+ readonly gift_card_id?: number;
2563
+ readonly source_name: string;
2564
+ readonly error_code?: io.flow.shopify.xborder.integration.test.v0.enums.ShopifyOrderTransactionErrorCode;
2565
+ readonly test: boolean;
2566
+ readonly parent_id?: number;
2567
+ readonly user_id?: number;
2568
+ }
2569
+
2570
+ interface ShopifyOrderWrapper {
2571
+ readonly order: any /*json*/;
2572
+ }
2573
+
2574
+ interface ShopifyOrdersWrapper {
2575
+ readonly orders: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder[];
2576
+ }
2577
+ }
2578
+
2024
2579
  declare namespace io.flow.catalog.internal.v0.models {
2025
2580
  interface CatalogItemBatchIndexTask {
2026
2581
  readonly discriminator: 'catalog_item_batch_index_task';
@@ -13680,7 +14235,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
13680
14235
 
13681
14236
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
13682
14237
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
13683
- readonly authorization_key?: string;
13684
14238
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
13685
14239
  }
13686
14240
 
@@ -17105,6 +17659,123 @@ declare namespace io.flow.experiment.internal.v0.unions {
17105
17659
  | io.flow.experiment.internal.v0.models.FeatureVariantForm;
17106
17660
  }
17107
17661
 
17662
+ declare namespace io.flow.ups.registration.v0.models {
17663
+ interface Fault {
17664
+ readonly faultcode: string;
17665
+ readonly faultstring: string;
17666
+ readonly detail: io.flow.ups.registration.v0.models.UpsRegistrationDetail;
17667
+ }
17668
+
17669
+ interface PrimaryErrorCode {
17670
+ readonly Code: string;
17671
+ readonly Description: string;
17672
+ }
17673
+
17674
+ interface RegisterResponse {
17675
+ readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
17676
+ readonly SuggestedUsername: string;
17677
+ }
17678
+
17679
+ interface Request {
17680
+ readonly RequestOption: string;
17681
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
17682
+ }
17683
+
17684
+ interface RequestAddress {
17685
+ readonly AddressLine: string[];
17686
+ readonly City: string;
17687
+ readonly StateProvinceCode?: string;
17688
+ readonly PostalCode?: string;
17689
+ readonly CountryCode: string;
17690
+ }
17691
+
17692
+ interface RequestInvoiceInfo {
17693
+ readonly InvoiceNumber: string;
17694
+ readonly InvoiceDate: string;
17695
+ readonly CurrencyCode: string;
17696
+ readonly InvoiceAmount: string;
17697
+ readonly ControlID?: string;
17698
+ }
17699
+
17700
+ interface RequestShipperAccount {
17701
+ readonly AccountName?: string;
17702
+ readonly AccountNumber: string;
17703
+ readonly PostalCode: string;
17704
+ readonly CountryCode: string;
17705
+ readonly InvoiceInfo?: io.flow.ups.registration.v0.models.RequestInvoiceInfo;
17706
+ }
17707
+
17708
+ interface ResponseStatus {
17709
+ readonly Code: string;
17710
+ readonly Description: string;
17711
+ }
17712
+
17713
+ interface ServiceAccessToken {
17714
+ readonly AccessLicenseNumber: string;
17715
+ }
17716
+
17717
+ interface TransactionReference {
17718
+ readonly CustomerContext: string;
17719
+ readonly TransactionIdentifier?: string;
17720
+ }
17721
+
17722
+ interface UpsRegistrationDetail {
17723
+ readonly Errors: io.flow.ups.registration.v0.models.UpsRegistrationErrors;
17724
+ }
17725
+
17726
+ interface UpsRegistrationErrorDetail {
17727
+ readonly Severity: string;
17728
+ readonly PrimaryErrorCode: io.flow.ups.registration.v0.models.PrimaryErrorCode;
17729
+ }
17730
+
17731
+ interface UpsRegistrationErrors {
17732
+ readonly ErrorDetail: io.flow.ups.registration.v0.models.UpsRegistrationErrorDetail;
17733
+ }
17734
+
17735
+ interface UpsRegistrationRequest {
17736
+ readonly Request: io.flow.ups.registration.v0.models.Request;
17737
+ readonly Username: string;
17738
+ readonly Password: string;
17739
+ readonly CompanyName: string;
17740
+ readonly CustomerName: string;
17741
+ readonly EndUserIPAddress: string;
17742
+ readonly Title?: string;
17743
+ readonly Address: io.flow.ups.registration.v0.models.RequestAddress;
17744
+ readonly PhoneNumber: string;
17745
+ readonly PhoneExtension?: string;
17746
+ readonly EmailAddress: string;
17747
+ readonly NotificationCode: string;
17748
+ readonly DeviceIdentity?: string;
17749
+ readonly SuggestUsernameIndicator: string;
17750
+ readonly ShipperAccount?: io.flow.ups.registration.v0.models.RequestShipperAccount;
17751
+ }
17752
+
17753
+ interface UpsRegistrationRequestWrapper {
17754
+ readonly UPSSecurity: io.flow.ups.registration.v0.models.UpsSecurity;
17755
+ readonly RegisterRequest: io.flow.ups.registration.v0.models.UpsRegistrationRequest;
17756
+ }
17757
+
17758
+ interface UpsRegistrationResponse {
17759
+ readonly ResponseStatus: io.flow.ups.registration.v0.models.ResponseStatus;
17760
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
17761
+ }
17762
+
17763
+ interface UpsRegistrationResponseWrapper {
17764
+ readonly RegisterResponse?: io.flow.ups.registration.v0.models.RegisterResponse;
17765
+ readonly Fault?: io.flow.ups.registration.v0.models.Fault;
17766
+ }
17767
+
17768
+ interface UpsSecurity {
17769
+ readonly UsernameToken: io.flow.ups.registration.v0.models.UsernameToken;
17770
+ readonly ServiceAccessToken: io.flow.ups.registration.v0.models.ServiceAccessToken;
17771
+ }
17772
+
17773
+ interface UsernameToken {
17774
+ readonly Username: string;
17775
+ readonly Password: string;
17776
+ }
17777
+ }
17778
+
17108
17779
  declare namespace io.flow.internal.v0.enums {
17109
17780
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
17110
17781
  type BillingAllocationKey =
@@ -20243,7 +20914,6 @@ declare namespace io.flow.internal.v0.models {
20243
20914
 
20244
20915
  interface CheckoutSequencedInitiatePaymentResponseSuccess {
20245
20916
  readonly discriminator: 'checkout_sequenced_initiate_payment_response_success';
20246
- readonly authorization_key?: string;
20247
20917
  readonly action_requirement: io.flow.checkout.backend.v0.unions.CheckoutPaymentActionRequirement;
20248
20918
  }
20249
20919
 
@@ -22957,6 +23627,14 @@ declare namespace io.flow.internal.v0.models {
22957
23627
  readonly total: io.flow.common.v0.models.Price;
22958
23628
  }
22959
23629
 
23630
+ interface InvoiceInfoForm {
23631
+ readonly invoice_number: string;
23632
+ readonly invoice_date: string;
23633
+ readonly currency_code: string;
23634
+ readonly invoice_amount: string;
23635
+ readonly control_id?: string;
23636
+ }
23637
+
22960
23638
  interface InvoiceLine {
22961
23639
  readonly id: string;
22962
23640
  readonly description: string;
@@ -25256,6 +25934,14 @@ declare namespace io.flow.internal.v0.models {
25256
25934
  readonly total: io.flow.common.v0.models.PriceWithBase;
25257
25935
  }
25258
25936
 
25937
+ interface ShipperAccountInfoForm {
25938
+ readonly account_name?: string;
25939
+ readonly account_number: string;
25940
+ readonly postal: string;
25941
+ readonly country: string;
25942
+ readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
25943
+ }
25944
+
25259
25945
  interface Shop {
25260
25946
  readonly id: string;
25261
25947
  readonly organization?: io.flow.common.v0.models.OrganizationReference;
@@ -25275,6 +25961,13 @@ declare namespace io.flow.internal.v0.models {
25275
25961
  readonly shop: io.flow.internal.v0.models.Shop;
25276
25962
  }
25277
25963
 
25964
+ interface ShopifyXborderShop {
25965
+ readonly id: string;
25966
+ readonly organization_id: string;
25967
+ readonly shop: string;
25968
+ readonly created_at: string;
25969
+ }
25970
+
25278
25971
  interface ShopifyCheckInventoryError {
25279
25972
  readonly code: io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
25280
25973
  readonly messages: string[];
@@ -26229,6 +26922,38 @@ declare namespace io.flow.internal.v0.models {
26229
26922
  readonly direct_feed_location_code?: string;
26230
26923
  }
26231
26924
 
26925
+ interface UpsLicense {
26926
+ readonly access_license_number: string;
26927
+ readonly address: io.flow.common.v0.models.BillingAddress;
26928
+ readonly contact: io.flow.common.v0.models.Contact;
26929
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
26930
+ readonly company_url: string;
26931
+ }
26932
+
26933
+ interface UpsLicenseForm {
26934
+ readonly address: io.flow.common.v0.models.BillingAddress;
26935
+ readonly contact: io.flow.common.v0.models.Contact;
26936
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
26937
+ readonly developer_license_number: string;
26938
+ readonly company_url: string;
26939
+ }
26940
+
26941
+ interface UpsRegistration {
26942
+ readonly username: string;
26943
+ readonly address: io.flow.common.v0.models.BillingAddress;
26944
+ readonly contact: io.flow.common.v0.models.Contact;
26945
+ readonly suggest_username_indicator?: string;
26946
+ }
26947
+
26948
+ interface UpsRegistrationForm {
26949
+ readonly username: string;
26950
+ readonly password: string;
26951
+ readonly access_license_number: string;
26952
+ readonly address: io.flow.common.v0.models.BillingAddress;
26953
+ readonly contact: io.flow.common.v0.models.Contact;
26954
+ readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
26955
+ }
26956
+
26232
26957
  interface UserDeletedV2 {
26233
26958
  readonly discriminator: 'user_deleted_v2';
26234
26959
  readonly event_id: string;
@@ -26326,13 +27051,17 @@ declare namespace io.flow.internal.v0.models {
26326
27051
  readonly number: string;
26327
27052
  }
26328
27053
 
27054
+ interface Webhook {
27055
+ readonly placeholder?: any /*json*/;
27056
+ }
27057
+
26329
27058
  interface WholeOrderActionForm {
26330
27059
  readonly discriminator: 'whole_order_action_form';
26331
27060
  readonly action: io.flow.internal.v0.enums.OrderAction;
26332
27061
  }
26333
27062
 
26334
27063
  interface XborderOrder {
26335
- readonly shopify_order: io.flow.shopify.external.v0.models.ShopifyOrder;
27064
+ readonly shopify_order: io.flow.shopify.xborder.integration.test.v0.models.ShopifyOrder;
26336
27065
  readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
26337
27066
  }
26338
27067
  }
@@ -27953,6 +28682,7 @@ export type InventoryOrganizationSettings = io.flow.internal.v0.models.Inventory
27953
28682
  export type InventoryOrganizationSettingsForm = io.flow.internal.v0.models.InventoryOrganizationSettingsForm;
27954
28683
  export type InventoryReservation = io.flow.internal.v0.enums.InventoryReservation;
27955
28684
  export type Invoice = io.flow.internal.v0.models.Invoice;
28685
+ export type InvoiceInfoForm = io.flow.internal.v0.models.InvoiceInfoForm;
27956
28686
  export type InvoiceLine = io.flow.internal.v0.models.InvoiceLine;
27957
28687
  export type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction;
27958
28688
  export type Issuer = io.flow.internal.v0.models.Issuer;
@@ -28330,9 +29060,11 @@ export type SessionRollout = io.flow.internal.v0.models.SessionRollout;
28330
29060
  export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
28331
29061
  export type SfExpress = io.flow.internal.v0.models.SfExpress;
28332
29062
  export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
29063
+ export type ShipperAccountInfoForm = io.flow.internal.v0.models.ShipperAccountInfoForm;
28333
29064
  export type Shop = io.flow.internal.v0.models.Shop;
28334
29065
  export type ShopForm = io.flow.internal.v0.models.ShopForm;
28335
29066
  export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
29067
+ export type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
28336
29068
  export type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
28337
29069
  export type ShopifyCheckInventoryErrorCode = io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
28338
29070
  export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
@@ -28495,6 +29227,10 @@ export type UnclassifiedProductsSummary = io.flow.internal.v0.models.Unclassifie
28495
29227
  export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
28496
29228
  export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
28497
29229
  export type Ups = io.flow.internal.v0.models.Ups;
29230
+ export type UpsLicense = io.flow.internal.v0.models.UpsLicense;
29231
+ export type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
29232
+ export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
29233
+ export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
28498
29234
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
28499
29235
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
28500
29236
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
@@ -28510,5 +29246,6 @@ export type ViesResult = io.flow.internal.v0.models.ViesResult;
28510
29246
  export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
28511
29247
  export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
28512
29248
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
29249
+ export type Webhook = io.flow.internal.v0.models.Webhook;
28513
29250
  export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
28514
29251
  export type XborderOrder = io.flow.internal.v0.models.XborderOrder;