@flowio/api-internal-prop-types 9.19.10 → 9.19.12

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.
@@ -337,6 +337,10 @@ declare namespace io.flow.common.v0.models {
337
337
  readonly 'attributes': Record<string, string>;
338
338
  }
339
339
 
340
+ interface ChannelReference {
341
+ readonly 'id': string;
342
+ }
343
+
340
344
  interface CheckoutReference {
341
345
  readonly 'id': string;
342
346
  }
@@ -704,7 +708,7 @@ declare namespace io.flow.experience.v0.enums {
704
708
  type ExperiencePaymentMethodTag = 'display';
705
709
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
706
710
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
707
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
711
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
708
712
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
709
713
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
710
714
  type OrderStatus = 'open' | 'submitted';
@@ -1799,6 +1803,11 @@ declare namespace io.flow.ratecard.v0.models {
1799
1803
  readonly 'width': io.flow.common.v0.models.Measurement;
1800
1804
  }
1801
1805
 
1806
+ interface FeeWeight {
1807
+ readonly 'weight': number;
1808
+ readonly 'unit': io.flow.common.v0.enums.UnitOfMeasurement;
1809
+ }
1810
+
1802
1811
  interface FuelSurchargeRatecardFee {
1803
1812
  readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
1804
1813
  readonly 'amount': io.flow.common.v0.models.Money;
@@ -1833,6 +1842,15 @@ declare namespace io.flow.ratecard.v0.models {
1833
1842
  readonly 'amount'?: number;
1834
1843
  }
1835
1844
 
1845
+ interface PeakSurchargeByWeightServiceFee {
1846
+ readonly 'discriminator': 'peak_surcharge_by_weight_service_fee';
1847
+ readonly 'amount': io.flow.common.v0.models.Money;
1848
+ readonly 'weight': io.flow.ratecard.v0.models.FeeWeight;
1849
+ readonly 'regions'?: string[];
1850
+ readonly 'starts_at'?: string;
1851
+ readonly 'ends_at'?: string;
1852
+ }
1853
+
1836
1854
  interface PeakSurchargeRatecardFee {
1837
1855
  readonly 'discriminator': 'peak_surcharge_ratecard_fee';
1838
1856
  readonly 'amount': io.flow.common.v0.models.Money;
@@ -2063,7 +2081,7 @@ declare namespace io.flow.ratecard.v0.unions {
2063
2081
  type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2);
2064
2082
  type RatecardEstimateForm = (io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2);
2065
2083
  type RatecardFee = (io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee);
2066
- type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee);
2084
+ type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee);
2067
2085
  }
2068
2086
 
2069
2087
  declare namespace io.flow.error.v0.enums {
@@ -2239,688 +2257,156 @@ declare namespace io.flow.price.v0.unions {
2239
2257
  type Deminimis = (io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem);
2240
2258
  }
2241
2259
 
2242
- declare namespace io.flow.shopify.xborder.v0.enums {
2243
- type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
2244
- type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
2245
- type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
2246
- type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
2247
- type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
2248
- type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
2249
- type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
2250
- type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
2251
- type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2252
- type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
2253
- type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
2254
- type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
2255
- type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2256
- type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
2257
- type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
2258
- type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
2259
- type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
2260
- type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2261
- type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
2262
- type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
2263
- type ShopifyOrderValueType = 'string' | 'integer';
2264
- type ShopifyWebhookFormat = 'json' | 'xml';
2265
- type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
2260
+ declare namespace io.flow.reference.v0.enums {
2261
+ type PaymentMethodCapability = 'credit' | 'debit';
2262
+ type PaymentMethodType = 'card' | 'online' | 'offline';
2263
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
2264
+ type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2266
2265
  }
2267
2266
 
2268
- declare namespace io.flow.shopify.xborder.v0.models {
2269
- interface ResponseShopifyTransactions {
2270
- readonly 'transactions': io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2267
+ declare namespace io.flow.reference.v0.models {
2268
+ interface Carrier {
2269
+ readonly 'id': string;
2270
+ readonly 'name': string;
2271
+ readonly 'tracking_url': string;
2271
2272
  }
2272
2273
 
2273
- interface ShopifyCountryHarmonizedSystemCode {
2274
- readonly 'country_code': string;
2275
- readonly 'harmonized_system_code': string;
2274
+ interface CarrierService {
2275
+ readonly 'id': string;
2276
+ readonly 'carrier': io.flow.reference.v0.models.Carrier;
2277
+ readonly 'name': string;
2276
2278
  }
2277
2279
 
2278
- interface ShopifyError {
2279
- readonly 'errors': any/*object*/;
2280
+ interface Country {
2281
+ readonly 'name': string;
2282
+ readonly 'iso_3166_2': string;
2283
+ readonly 'iso_3166_3': string;
2284
+ readonly 'languages': string[];
2285
+ readonly 'measurement_system': string;
2286
+ readonly 'default_currency'?: string;
2287
+ readonly 'default_language'?: string;
2288
+ readonly 'timezones': string[];
2289
+ readonly 'default_delivered_duty'?: string;
2280
2290
  }
2281
2291
 
2282
- interface ShopifyFulfillmentOrder {
2283
- readonly 'assigned_location_id': number;
2284
- readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrderLineItem[];
2292
+ interface Currency {
2293
+ readonly 'name': string;
2294
+ readonly 'iso_4217_3': string;
2295
+ readonly 'number_decimals': number;
2296
+ readonly 'symbols'?: io.flow.reference.v0.models.CurrencySymbols;
2297
+ readonly 'default_locale'?: string;
2285
2298
  }
2286
2299
 
2287
- interface ShopifyFulfillmentOrderLineItem {
2288
- readonly 'line_item_id': number;
2300
+ interface CurrencySymbols {
2301
+ readonly 'primary': string;
2302
+ readonly 'narrow'?: string;
2289
2303
  }
2290
2304
 
2291
- interface ShopifyFulfillmentOrdersWrapper {
2292
- readonly 'fulfillment_orders': io.flow.shopify.xborder.v0.models.ShopifyFulfillmentOrder[];
2305
+ interface Language {
2306
+ readonly 'name': string;
2307
+ readonly 'iso_639_2': string;
2293
2308
  }
2294
2309
 
2295
- interface ShopifyInventoryItem {
2296
- readonly 'id': number;
2297
- readonly 'cost': number;
2298
- readonly 'country_code_of_origin'?: string;
2299
- readonly 'country_harmonized_system_codes'?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2300
- readonly 'harmonized_system_code'?: string;
2301
- readonly 'province_code_of_origin'?: string;
2302
- readonly 'sku': string;
2303
- readonly 'tracked'?: boolean;
2304
- readonly 'requires_shipping': boolean;
2305
- readonly 'created_at': string;
2306
- readonly 'updated_at': string;
2310
+ interface Locale {
2311
+ readonly 'id': string;
2312
+ readonly 'name': string;
2313
+ readonly 'country': string;
2314
+ readonly 'language': string;
2315
+ readonly 'numbers': io.flow.reference.v0.models.LocaleNumbers;
2307
2316
  }
2308
2317
 
2309
- interface ShopifyInventoryItemForm {
2310
- readonly 'harmonized_system_code'?: string;
2311
- readonly 'country_harmonized_system_codes'?: io.flow.shopify.xborder.v0.models.ShopifyCountryHarmonizedSystemCode[];
2318
+ interface LocaleNumbers {
2319
+ readonly 'decimal': string;
2320
+ readonly 'group': string;
2312
2321
  }
2313
2322
 
2314
- interface ShopifyInventoryItemFormWrapper {
2315
- readonly 'inventory_item': io.flow.shopify.xborder.v0.models.ShopifyInventoryItemForm;
2323
+ interface LocalizedTranslation {
2324
+ readonly 'locale': io.flow.reference.v0.models.Locale;
2325
+ readonly 'name': string;
2316
2326
  }
2317
2327
 
2318
- interface ShopifyInventoryItemWrapper {
2319
- readonly 'inventory_item': io.flow.shopify.xborder.v0.models.ShopifyInventoryItem;
2328
+ interface PaymentMethod {
2329
+ readonly 'id': string;
2330
+ readonly 'type': io.flow.reference.v0.enums.PaymentMethodType;
2331
+ readonly 'name': string;
2332
+ readonly 'images': io.flow.reference.v0.models.PaymentMethodImages;
2333
+ readonly 'regions': string[];
2334
+ readonly 'capabilities'?: io.flow.reference.v0.enums.PaymentMethodCapability[];
2320
2335
  }
2321
2336
 
2322
- interface ShopifyInventoryItemsWrapper {
2323
- readonly 'inventory_items': io.flow.shopify.xborder.v0.models.ShopifyInventoryItem[];
2337
+ interface PaymentMethodImage {
2338
+ readonly 'url': string;
2339
+ readonly 'width': number;
2340
+ readonly 'height': number;
2324
2341
  }
2325
2342
 
2326
- interface ShopifyLocation {
2327
- readonly 'active': boolean;
2328
- readonly 'address1'?: string;
2329
- readonly 'address2'?: string;
2330
- readonly 'city'?: string;
2331
- readonly 'country'?: string;
2332
- readonly 'country_code'?: string;
2333
- readonly 'created_at': string;
2334
- readonly 'id': number;
2335
- readonly 'legacy': boolean;
2343
+ interface PaymentMethodImages {
2344
+ readonly 'small': io.flow.reference.v0.models.PaymentMethodImage;
2345
+ readonly 'medium': io.flow.reference.v0.models.PaymentMethodImage;
2346
+ readonly 'large': io.flow.reference.v0.models.PaymentMethodImage;
2347
+ }
2348
+
2349
+ interface Province {
2350
+ readonly 'id': string;
2351
+ readonly 'iso_3166_2': string;
2336
2352
  readonly 'name': string;
2337
- readonly 'phone'?: string;
2338
- readonly 'province'?: string;
2339
- readonly 'province_code'?: string;
2340
- readonly 'updated_at'?: string;
2341
- readonly 'zip'?: string;
2342
- readonly 'localized_country_name'?: string;
2343
- readonly 'localized_province_name'?: string;
2353
+ readonly 'country': string;
2354
+ readonly 'province_type': io.flow.reference.v0.enums.ProvinceType;
2355
+ readonly 'translations'?: io.flow.reference.v0.models.LocalizedTranslation[];
2344
2356
  }
2345
2357
 
2346
- interface ShopifyLocationsResponseWrapper {
2347
- readonly 'locations': io.flow.shopify.xborder.v0.models.ShopifyLocation[];
2358
+ interface Region {
2359
+ readonly 'id': string;
2360
+ readonly 'name': string;
2361
+ readonly 'countries': string[];
2362
+ readonly 'currencies': string[];
2363
+ readonly 'languages': string[];
2364
+ readonly 'measurement_systems': string[];
2365
+ readonly 'timezones': string[];
2348
2366
  }
2349
2367
 
2350
- interface ShopifyOrder {
2351
- readonly 'id': number;
2352
- readonly 'order_number': number;
2353
- readonly 'checkout_id': number;
2354
- readonly 'checkout_token': string;
2355
- readonly 'billing_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2356
- readonly 'browser_ip'?: string;
2357
- readonly 'buyer_accepts_marketing': boolean;
2358
- readonly 'cancel_reason'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderCancelReason;
2359
- readonly 'cancelled_at'?: string;
2360
- readonly 'cart_token'?: string;
2361
- readonly 'client_details'?: io.flow.shopify.xborder.v0.models.ShopifyOrderClientDetail;
2362
- readonly 'closed_at'?: string;
2363
- readonly 'created_at': string;
2364
- readonly 'currency': string;
2365
- readonly 'total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2366
- readonly 'current_total_discounts_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2367
- readonly 'total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2368
- readonly 'current_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2369
- readonly 'original_total_duties_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2370
- readonly 'total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2371
- readonly 'current_total_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2372
- readonly 'subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2373
- readonly 'current_subtotal_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2374
- readonly 'total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2375
- readonly 'current_total_tax_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2376
- readonly 'total_line_items_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2377
- readonly 'customer': io.flow.shopify.xborder.v0.models.ShopifyOrderCustomer;
2378
- readonly 'customer_locale'?: string;
2379
- readonly 'discount_applications': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountApplication[];
2380
- readonly 'discount_codes': io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountCode[];
2381
- readonly 'email'?: string;
2382
- readonly 'financial_status': io.flow.shopify.xborder.v0.enums.ShopifyOrderFinancialStatusType;
2383
- readonly 'fulfillments': io.flow.shopify.xborder.v0.models.ShopifyOrderFulfillment[];
2384
- readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
2385
- readonly 'landing_site'?: string;
2386
- readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
2387
- readonly 'location_id'?: number;
2368
+ interface Timezone {
2388
2369
  readonly 'name': string;
2389
- readonly 'note'?: string;
2390
- readonly 'note_attributes': io.flow.shopify.xborder.v0.models.ShopifyOrderAttribute[];
2391
- readonly 'number'?: number;
2392
- readonly 'payment_gateway_names': string[];
2393
- readonly 'processed_at'?: string;
2394
- readonly 'processing_method'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderProcessingMethodType;
2395
- readonly 'referring_site'?: string;
2396
- readonly 'refunds': io.flow.shopify.xborder.v0.models.ShopifyOrderRefund[];
2397
- readonly 'shipping_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2398
- readonly 'shipping_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderShippingLine[];
2399
- readonly 'source_name'?: string;
2400
- readonly 'tags'?: string;
2401
- readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2402
- readonly 'taxes_included': boolean;
2403
- readonly 'token'?: string;
2404
- readonly 'total_weight'?: number;
2405
- readonly 'updated_at'?: string;
2406
- readonly 'user_id'?: number;
2407
- readonly 'order_status_url'?: string;
2408
- readonly 'inventory_behaviour'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
2409
- readonly 'gateway'?: string;
2410
- readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2411
- readonly 'send_receipt'?: boolean;
2412
- readonly 'metafields'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMetafield[];
2370
+ readonly 'description': string;
2371
+ readonly 'offset': number;
2413
2372
  }
2373
+ }
2414
2374
 
2415
- interface ShopifyOrderAddress {
2416
- readonly 'id'?: number;
2417
- readonly 'address1'?: string;
2418
- readonly 'address2'?: string;
2419
- readonly 'city'?: string;
2420
- readonly 'company'?: string;
2421
- readonly 'country'?: string;
2422
- readonly 'country_code'?: string;
2423
- readonly 'default'?: boolean;
2424
- readonly 'first_name'?: string;
2425
- readonly 'last_name'?: string;
2426
- readonly 'latitude'?: number;
2427
- readonly 'longitude'?: number;
2428
- readonly 'name'?: string;
2429
- readonly 'phone'?: string;
2430
- readonly 'province'?: string;
2431
- readonly 'province_code'?: string;
2432
- readonly 'zip'?: string;
2375
+ declare namespace io.flow.tracking.v0.enums {
2376
+ type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2377
+ }
2378
+
2379
+ declare namespace io.flow.tracking.v0.models {
2380
+ interface Tracking {
2381
+ readonly 'id': string;
2382
+ readonly 'labels': io.flow.tracking.v0.models.TrackingLabel[];
2383
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2384
+ readonly 'attributes': Record<string, string>;
2385
+ readonly 'url': string;
2386
+ readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
2387
+ readonly 'order_number'?: string;
2433
2388
  }
2434
2389
 
2435
- interface ShopifyOrderAttribute {
2436
- readonly 'name': string;
2437
- readonly 'value': string;
2390
+ interface TrackingEvent {
2391
+ readonly 'id': string;
2392
+ readonly 'address': io.flow.common.v0.models.Address;
2393
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2394
+ readonly 'timestamp': string;
2395
+ readonly 'description'?: string;
2438
2396
  }
2439
2397
 
2440
- interface ShopifyOrderCancellationForm {
2441
- readonly 'refund': io.flow.shopify.xborder.v0.models.ShopifyRefund;
2398
+ interface TrackingEventForm {
2399
+ readonly 'tracking_label_id': string;
2400
+ readonly 'timestamp': string;
2401
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2402
+ readonly 'description'?: string;
2403
+ readonly 'address'?: string;
2442
2404
  }
2443
2405
 
2444
- interface ShopifyOrderClientDetail {
2445
- readonly 'accept_language'?: string;
2446
- readonly 'browser_height'?: number;
2447
- readonly 'browser_ip'?: string;
2448
- readonly 'browser_width'?: number;
2449
- readonly 'session_hash'?: string;
2450
- readonly 'user_agent'?: string;
2451
- }
2452
-
2453
- interface ShopifyOrderCustomer {
2454
- readonly 'id'?: number;
2455
- readonly 'email'?: string;
2456
- readonly 'accepts_marketing'?: boolean;
2457
- readonly 'created_at'?: string;
2458
- readonly 'updated_at'?: string;
2459
- readonly 'first_name'?: string;
2460
- readonly 'last_name'?: string;
2461
- readonly 'orders_count'?: number;
2462
- readonly 'state'?: string;
2463
- readonly 'total_spent'?: string;
2464
- readonly 'last_order_id'?: number;
2465
- readonly 'note'?: string;
2466
- readonly 'verified_email'?: boolean;
2467
- readonly 'multipass_identifier'?: string;
2468
- readonly 'tax_exempt'?: boolean;
2469
- readonly 'tax_exemptions'?: any/*json*/[];
2470
- readonly 'phone'?: string;
2471
- readonly 'tags'?: string;
2472
- readonly 'last_order_name'?: string;
2473
- readonly 'currency'?: string;
2474
- readonly 'addresses'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2475
- readonly 'default_address'?: io.flow.shopify.xborder.v0.models.ShopifyOrderAddress;
2476
- }
2477
-
2478
- interface ShopifyOrderDiscountAllocation {
2479
- readonly 'amount': string;
2480
- readonly 'discount_application_index': number;
2481
- readonly 'amount_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2482
- }
2483
-
2484
- interface ShopifyOrderDiscountApplication {
2485
- readonly 'type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationType;
2486
- readonly 'allocation_method': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountAllocationMethod;
2487
- readonly 'code'?: string;
2488
- readonly 'description'?: string;
2489
- readonly 'target_selection': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
2490
- readonly 'target_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationTargetType;
2491
- readonly 'title'?: string;
2492
- readonly 'value': string;
2493
- readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountApplicationValueType;
2494
- }
2495
-
2496
- interface ShopifyOrderDiscountCode {
2497
- readonly 'amount': string;
2498
- readonly 'code': string;
2499
- readonly 'type': io.flow.shopify.xborder.v0.enums.ShopifyOrderDiscountType;
2500
- }
2501
-
2502
- interface ShopifyOrderDuty {
2503
- readonly 'id': string;
2504
- readonly 'harmonized_system_code': string;
2505
- readonly 'country_code_of_origin': string;
2506
- readonly 'presentment_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2507
- readonly 'shop_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2508
- readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2509
- }
2510
-
2511
- interface ShopifyOrderEdit {
2512
- readonly 'id': number;
2513
- readonly 'created_at': string;
2514
- readonly 'notify_customer': boolean;
2515
- readonly 'order_id': number;
2516
- readonly 'staff_note': string;
2517
- readonly 'user_id'?: number;
2518
- readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
2519
- readonly 'discounts': any/*object*/;
2520
- readonly 'shipping_lines': any/*object*/;
2521
- }
2522
-
2523
- interface ShopifyOrderEditLineItems {
2524
- readonly 'additions': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
2525
- readonly 'removals': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
2526
- }
2527
-
2528
- interface ShopifyOrderEditLineItemsChange {
2529
- readonly 'id': number;
2530
- readonly 'delta': number;
2531
- }
2532
-
2533
- interface ShopifyOrderEditWrapper {
2534
- readonly 'order_edit': io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
2535
- }
2536
-
2537
- interface ShopifyOrderFulfillment {
2538
- readonly 'created_at'?: string;
2539
- readonly 'id'?: number;
2540
- readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem[];
2541
- readonly 'location_id': number;
2542
- readonly 'name': string;
2543
- readonly 'notify_customer'?: boolean;
2544
- readonly 'order_id'?: number;
2545
- readonly 'receipt'?: any/*object*/;
2546
- readonly 'service': string;
2547
- readonly 'shipment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
2548
- readonly 'status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatus;
2549
- readonly 'tracking_company'?: string;
2550
- readonly 'tracking_number'?: string;
2551
- readonly 'tracking_numbers'?: string[];
2552
- readonly 'tracking_urls'?: string[];
2553
- readonly 'updated_at'?: string;
2554
- readonly 'variant_inventory_management'?: string;
2555
- }
2556
-
2557
- interface ShopifyOrderLineItem {
2558
- readonly 'fulfillable_quantity'?: number;
2559
- readonly 'fulfillment_service': string;
2560
- readonly 'fulfillment_status'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderFulfillmentStatusType;
2561
- readonly 'grams'?: number;
2562
- readonly 'id': number;
2563
- readonly 'price'?: string;
2564
- readonly 'price_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2565
- readonly 'product_id'?: number;
2566
- readonly 'quantity': number;
2567
- readonly 'requires_shipping': boolean;
2568
- readonly 'sku'?: string;
2569
- readonly 'title'?: string;
2570
- readonly 'variant_id'?: number;
2571
- readonly 'variant_title'?: string;
2572
- readonly 'vendor'?: string;
2573
- readonly 'name'?: string;
2574
- readonly 'gift_card': boolean;
2575
- readonly 'properties': io.flow.shopify.xborder.v0.models.ShopifyOrderProperty[];
2576
- readonly 'taxable': boolean;
2577
- readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2578
- readonly 'tip_payment_gateway'?: string;
2579
- readonly 'tip_payment_method'?: string;
2580
- readonly 'total_discount'?: string;
2581
- readonly 'total_discount_set'?: io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2582
- readonly 'discount_allocations'?: io.flow.shopify.xborder.v0.models.ShopifyOrderDiscountAllocation[];
2583
- readonly 'origin_location'?: io.flow.shopify.xborder.v0.models.ShopifyOrderOriginLocation;
2584
- readonly 'variant_inventory_management'?: string;
2585
- readonly 'product_exists'?: boolean;
2586
- readonly 'duties': io.flow.shopify.xborder.v0.models.ShopifyOrderDuty[];
2587
- }
2588
-
2589
- interface ShopifyOrderMetafield {
2590
- readonly 'id': number;
2591
- readonly 'key': string;
2592
- readonly 'namespace': string;
2593
- readonly 'value': string;
2594
- readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
2595
- readonly 'description'?: string;
2596
- readonly 'owner_id': number;
2597
- readonly 'owner_resource': string;
2598
- }
2599
-
2600
- interface ShopifyOrderMetafieldForm {
2601
- readonly 'key': string;
2602
- readonly 'namespace': string;
2603
- readonly 'value': string;
2604
- readonly 'value_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderValueType;
2605
- readonly 'description'?: string;
2606
- }
2607
-
2608
- interface ShopifyOrderMoney {
2609
- readonly 'amount': number;
2610
- readonly 'currency_code': string;
2611
- }
2612
-
2613
- interface ShopifyOrderMoneySet {
2614
- readonly 'shop_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2615
- readonly 'presentment_money': io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
2616
- }
2617
-
2618
- interface ShopifyOrderOriginLocation {
2619
- readonly 'id': number;
2620
- readonly 'country_code': string;
2621
- readonly 'province_code': string;
2622
- readonly 'name': string;
2623
- readonly 'address1': string;
2624
- readonly 'address2': string;
2625
- readonly 'city': string;
2626
- readonly 'zip': string;
2627
- }
2628
-
2629
- interface ShopifyOrderPaymentDetail {
2630
- readonly 'avs_result_code'?: string;
2631
- readonly 'credit_card_bin'?: string;
2632
- readonly 'credit_card_company': string;
2633
- readonly 'credit_card_number': string;
2634
- readonly 'cvv_result_code'?: string;
2635
- }
2636
-
2637
- interface ShopifyOrderProperty {
2638
- readonly 'name': string;
2639
- readonly 'value': any/*json*/;
2640
- }
2641
-
2642
- interface ShopifyOrderRefund {
2643
- readonly 'id': number;
2644
- readonly 'order_id': number;
2645
- readonly 'created_at': string;
2646
- readonly 'processed_at': string;
2647
- readonly 'note'?: string;
2648
- readonly 'refund_line_items'?: io.flow.shopify.xborder.v0.models.ShopifyOrderRefundLineItem[];
2649
- readonly 'restock'?: boolean;
2650
- readonly 'transactions'?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
2651
- readonly 'user_id'?: number;
2652
- }
2653
-
2654
- interface ShopifyOrderRefundLineItem {
2655
- readonly 'id': number;
2656
- readonly 'line_item': io.flow.shopify.xborder.v0.models.ShopifyOrderLineItem;
2657
- readonly 'line_item_id': number;
2658
- readonly 'quantity': number;
2659
- readonly 'restock_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
2660
- readonly 'location_id'?: number;
2661
- readonly 'subtotal'?: number;
2662
- readonly 'total_tax'?: number;
2663
- }
2664
-
2665
- interface ShopifyOrderShippingLine {
2666
- readonly 'code'?: string;
2667
- readonly 'price': string;
2668
- readonly 'source': string;
2669
- readonly 'title': string;
2670
- readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
2671
- readonly 'carrier_identifier'?: string;
2672
- readonly 'requested_fulfillment_service_id'?: string;
2673
- readonly 'price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2674
- readonly 'discounted_price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2675
- }
2676
-
2677
- interface ShopifyOrderTaxLine {
2678
- readonly 'price_set': io.flow.shopify.xborder.v0.models.ShopifyOrderMoneySet;
2679
- readonly 'rate': number;
2680
- readonly 'title': string;
2681
- }
2682
-
2683
- interface ShopifyOrderTransaction {
2684
- readonly 'id': number;
2685
- readonly 'order_id': number;
2686
- readonly 'amount': number;
2687
- readonly 'kind': io.flow.shopify.xborder.v0.enums.ShopifyOrderKindType;
2688
- readonly 'gateway': string;
2689
- readonly 'currency': string;
2690
- readonly 'status': io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionStatus;
2691
- readonly 'payment_details'?: io.flow.shopify.xborder.v0.models.ShopifyOrderPaymentDetail;
2692
- readonly 'receipt': any/*object*/;
2693
- readonly 'authorization'?: string;
2694
- readonly 'created_at': string;
2695
- readonly 'device_id'?: number;
2696
- readonly 'gift_card_id'?: number;
2697
- readonly 'source_name': string;
2698
- readonly 'error_code'?: io.flow.shopify.xborder.v0.enums.ShopifyOrderTransactionErrorCode;
2699
- readonly 'test': boolean;
2700
- readonly 'parent_id'?: number;
2701
- readonly 'user_id'?: number;
2702
- }
2703
-
2704
- interface ShopifyOrderWrapper {
2705
- readonly 'order': io.flow.shopify.xborder.v0.models.ShopifyOrder;
2706
- }
2707
-
2708
- interface ShopifyOrdersWrapper {
2709
- readonly 'orders': io.flow.shopify.xborder.v0.models.ShopifyOrder[];
2710
- }
2711
-
2712
- interface ShopifyRefund {
2713
- readonly 'notify_x': boolean;
2714
- readonly 'note'?: string;
2715
- readonly 'discrepancy_reason'?: io.flow.shopify.xborder.v0.enums.ShopifyDiscrepancyReason;
2716
- readonly 'shipping': io.flow.shopify.xborder.v0.models.ShopifyRefundShipping;
2717
- readonly 'refund_line_items': io.flow.shopify.xborder.v0.models.ShopifyRefundLineItem[];
2718
- readonly 'transactions': io.flow.shopify.xborder.v0.models.ShopifyRefundTransaction[];
2719
- readonly 'currency': string;
2720
- }
2721
-
2722
- interface ShopifyRefundLineItem {
2723
- readonly 'line_item_id': number;
2724
- readonly 'quantity': number;
2725
- readonly 'restock_type': io.flow.shopify.xborder.v0.enums.ShopifyOrderRestockType;
2726
- readonly 'location_id'?: number;
2727
- }
2728
-
2729
- interface ShopifyRefundShipping {
2730
- readonly 'full_refund'?: boolean;
2731
- readonly 'amount'?: number;
2732
- }
2733
-
2734
- interface ShopifyRefundTransaction {
2735
- readonly 'parent_id': number;
2736
- readonly 'amount': string;
2737
- readonly 'currency': string;
2738
- readonly 'kind': string;
2739
- readonly 'gateway': string;
2740
- }
2741
-
2742
- interface ShopifyWebhookRequest {
2743
- readonly 'topic': io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
2744
- readonly 'address': string;
2745
- readonly 'format': io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
2746
- }
2747
-
2748
- interface ShopifyWebhookRequestWrapper {
2749
- readonly 'webhook': io.flow.shopify.xborder.v0.models.ShopifyWebhookRequest;
2750
- }
2751
-
2752
- interface ShopifyWebhookResponse {
2753
- readonly 'id': number;
2754
- readonly 'address': string;
2755
- readonly 'topic': io.flow.shopify.xborder.v0.enums.ShopifyWebhookTopic;
2756
- readonly 'created_at': string;
2757
- readonly 'updated_at': string;
2758
- readonly 'format': io.flow.shopify.xborder.v0.enums.ShopifyWebhookFormat;
2759
- readonly 'fields': any/*json*/[];
2760
- readonly 'metafield_namespaces': any/*json*/[];
2761
- readonly 'api_version': string;
2762
- readonly 'private_metafield_namespaces': any/*json*/[];
2763
- }
2764
-
2765
- interface ShopifyWebhookResponseWrapper {
2766
- readonly 'webhook': io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse;
2767
- }
2768
-
2769
- interface ShopifyWebhooksResponseWrapper {
2770
- readonly 'webhooks': io.flow.shopify.xborder.v0.models.ShopifyWebhookResponse[];
2771
- }
2772
- }
2773
-
2774
- declare namespace io.flow.reference.v0.enums {
2775
- type PaymentMethodCapability = 'credit' | 'debit';
2776
- type PaymentMethodType = 'card' | 'online' | 'offline';
2777
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
2778
- type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
2779
- }
2780
-
2781
- declare namespace io.flow.reference.v0.models {
2782
- interface Carrier {
2783
- readonly 'id': string;
2784
- readonly 'name': string;
2785
- readonly 'tracking_url': string;
2786
- }
2787
-
2788
- interface CarrierService {
2789
- readonly 'id': string;
2790
- readonly 'carrier': io.flow.reference.v0.models.Carrier;
2791
- readonly 'name': string;
2792
- }
2793
-
2794
- interface Country {
2795
- readonly 'name': string;
2796
- readonly 'iso_3166_2': string;
2797
- readonly 'iso_3166_3': string;
2798
- readonly 'languages': string[];
2799
- readonly 'measurement_system': string;
2800
- readonly 'default_currency'?: string;
2801
- readonly 'default_language'?: string;
2802
- readonly 'timezones': string[];
2803
- readonly 'default_delivered_duty'?: string;
2804
- }
2805
-
2806
- interface Currency {
2807
- readonly 'name': string;
2808
- readonly 'iso_4217_3': string;
2809
- readonly 'number_decimals': number;
2810
- readonly 'symbols'?: io.flow.reference.v0.models.CurrencySymbols;
2811
- readonly 'default_locale'?: string;
2812
- }
2813
-
2814
- interface CurrencySymbols {
2815
- readonly 'primary': string;
2816
- readonly 'narrow'?: string;
2817
- }
2818
-
2819
- interface Language {
2820
- readonly 'name': string;
2821
- readonly 'iso_639_2': string;
2822
- }
2823
-
2824
- interface Locale {
2825
- readonly 'id': string;
2826
- readonly 'name': string;
2827
- readonly 'country': string;
2828
- readonly 'language': string;
2829
- readonly 'numbers': io.flow.reference.v0.models.LocaleNumbers;
2830
- }
2831
-
2832
- interface LocaleNumbers {
2833
- readonly 'decimal': string;
2834
- readonly 'group': string;
2835
- }
2836
-
2837
- interface LocalizedTranslation {
2838
- readonly 'locale': io.flow.reference.v0.models.Locale;
2839
- readonly 'name': string;
2840
- }
2841
-
2842
- interface PaymentMethod {
2843
- readonly 'id': string;
2844
- readonly 'type': io.flow.reference.v0.enums.PaymentMethodType;
2845
- readonly 'name': string;
2846
- readonly 'images': io.flow.reference.v0.models.PaymentMethodImages;
2847
- readonly 'regions': string[];
2848
- readonly 'capabilities'?: io.flow.reference.v0.enums.PaymentMethodCapability[];
2849
- }
2850
-
2851
- interface PaymentMethodImage {
2852
- readonly 'url': string;
2853
- readonly 'width': number;
2854
- readonly 'height': number;
2855
- }
2856
-
2857
- interface PaymentMethodImages {
2858
- readonly 'small': io.flow.reference.v0.models.PaymentMethodImage;
2859
- readonly 'medium': io.flow.reference.v0.models.PaymentMethodImage;
2860
- readonly 'large': io.flow.reference.v0.models.PaymentMethodImage;
2861
- }
2862
-
2863
- interface Province {
2864
- readonly 'id': string;
2865
- readonly 'iso_3166_2': string;
2866
- readonly 'name': string;
2867
- readonly 'country': string;
2868
- readonly 'province_type': io.flow.reference.v0.enums.ProvinceType;
2869
- readonly 'translations'?: io.flow.reference.v0.models.LocalizedTranslation[];
2870
- }
2871
-
2872
- interface Region {
2873
- readonly 'id': string;
2874
- readonly 'name': string;
2875
- readonly 'countries': string[];
2876
- readonly 'currencies': string[];
2877
- readonly 'languages': string[];
2878
- readonly 'measurement_systems': string[];
2879
- readonly 'timezones': string[];
2880
- }
2881
-
2882
- interface Timezone {
2883
- readonly 'name': string;
2884
- readonly 'description': string;
2885
- readonly 'offset': number;
2886
- }
2887
- }
2888
-
2889
- declare namespace io.flow.tracking.v0.enums {
2890
- type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2891
- }
2892
-
2893
- declare namespace io.flow.tracking.v0.models {
2894
- interface Tracking {
2895
- readonly 'id': string;
2896
- readonly 'labels': io.flow.tracking.v0.models.TrackingLabel[];
2897
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2898
- readonly 'attributes': Record<string, string>;
2899
- readonly 'url': string;
2900
- readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
2901
- readonly 'order_number'?: string;
2902
- }
2903
-
2904
- interface TrackingEvent {
2905
- readonly 'id': string;
2906
- readonly 'address': io.flow.common.v0.models.Address;
2907
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2908
- readonly 'timestamp': string;
2909
- readonly 'description'?: string;
2910
- }
2911
-
2912
- interface TrackingEventForm {
2913
- readonly 'tracking_label_id': string;
2914
- readonly 'timestamp': string;
2915
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2916
- readonly 'description'?: string;
2917
- readonly 'address'?: string;
2918
- }
2919
-
2920
- interface TrackingEventSummary {
2921
- readonly 'id': string;
2922
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2923
- readonly 'timestamp': string;
2406
+ interface TrackingEventSummary {
2407
+ readonly 'id': string;
2408
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
2409
+ readonly 'timestamp': string;
2924
2410
  }
2925
2411
 
2926
2412
  interface TrackingEventVersion {
@@ -3606,6 +3092,7 @@ declare namespace io.flow.payment.v0.models {
3606
3092
  }
3607
3093
 
3608
3094
  interface AuthorizationOrderReference {
3095
+ readonly 'discriminator': 'flow_order';
3609
3096
  readonly 'number': string;
3610
3097
  }
3611
3098
 
@@ -3767,6 +3254,7 @@ declare namespace io.flow.payment.v0.models {
3767
3254
  readonly 'destination'?: io.flow.common.v0.models.Address;
3768
3255
  readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
3769
3256
  readonly 'order'?: io.flow.payment.v0.models.AuthorizationOrderReference;
3257
+ readonly 'payment_order_reference'?: io.flow.payment.v0.unions.PaymentOrderReference;
3770
3258
  readonly 'ip'?: string;
3771
3259
  readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
3772
3260
  readonly 'created_at': string;
@@ -3997,6 +3485,7 @@ declare namespace io.flow.payment.v0.models {
3997
3485
  readonly 'destination'?: io.flow.common.v0.models.Address;
3998
3486
  readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
3999
3487
  readonly 'order'?: io.flow.payment.v0.models.AuthorizationOrderReference;
3488
+ readonly 'payment_order_reference'?: io.flow.payment.v0.unions.PaymentOrderReference;
4000
3489
  readonly 'ip'?: string;
4001
3490
  readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
4002
3491
  readonly 'created_at': string;
@@ -4026,6 +3515,11 @@ declare namespace io.flow.payment.v0.models {
4026
3515
  readonly 'codes': io.flow.payment.v0.enums.PaymentErrorCode[];
4027
3516
  }
4028
3517
 
3518
+ interface PaymentPaymentRequestReference {
3519
+ readonly 'discriminator': 'payment_request';
3520
+ readonly 'payment_request_id': string;
3521
+ }
3522
+
4029
3523
  interface PaymentPaypal {
4030
3524
  readonly 'discriminator': 'payment_paypal';
4031
3525
  readonly 'id': string;
@@ -4377,6 +3871,7 @@ declare namespace io.flow.payment.v0.unions {
4377
3871
  type OnlineAuthorizationDetails = (io.flow.payment.v0.models.CryptopayAuthorizationDetails | io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails);
4378
3872
  type Payment = (io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay);
4379
3873
  type PaymentForm = (io.flow.payment.v0.models.MerchantOfRecordPaymentForm);
3874
+ type PaymentOrderReference = (io.flow.payment.v0.models.AuthorizationOrderReference | io.flow.payment.v0.models.PaymentPaymentRequestReference);
4380
3875
  type PaymentSource = (io.flow.payment.v0.models.CardPaymentSource);
4381
3876
  type PaymentSourceForm = (io.flow.payment.v0.models.CardPaymentSourceForm);
4382
3877
  type ThreedsChallengeAction = (io.flow.payment.v0.models.ThreedsTwoChallengeRequest);
@@ -4787,7 +4282,7 @@ declare namespace io.flow.stripe.v0.models {
4787
4282
  readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
4788
4283
  readonly 'payment_method_types'?: string[];
4789
4284
  readonly 'receipt_email'?: string;
4790
- readonly 'save_payment_method': boolean;
4285
+ readonly 'save_payment_method'?: boolean;
4791
4286
  readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
4792
4287
  }
4793
4288
 
@@ -4808,7 +4303,7 @@ declare namespace io.flow.stripe.v0.models {
4808
4303
  readonly 'payment_method_types'?: string[];
4809
4304
  readonly 'receipt_email'?: string;
4810
4305
  readonly 'return_url'?: string;
4811
- readonly 'save_payment_method': boolean;
4306
+ readonly 'save_payment_method'?: boolean;
4812
4307
  readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
4813
4308
  readonly 'statement_descriptor'?: string;
4814
4309
  readonly 'statement_descriptor_suffix'?: string;
@@ -4825,7 +4320,7 @@ declare namespace io.flow.stripe.v0.models {
4825
4320
  readonly 'payment_method'?: string;
4826
4321
  readonly 'payment_method_types'?: string[];
4827
4322
  readonly 'receipt_email'?: string;
4828
- readonly 'save_payment_method': boolean;
4323
+ readonly 'save_payment_method'?: boolean;
4829
4324
  readonly 'statement_descriptor'?: string;
4830
4325
  readonly 'statement_descriptor_suffix'?: string;
4831
4326
  readonly 'transfer_data'?: io.flow.stripe.v0.models.TransferData;
@@ -5364,11 +4859,21 @@ declare namespace io.flow.label.v0.models {
5364
4859
  readonly 'items': io.flow.common.v0.models.LineItemForm[];
5365
4860
  readonly 'center_key'?: string;
5366
4861
  }
4862
+
4863
+ interface SummaryShippingNotificationForm {
4864
+ readonly 'discriminator': 'summary_shipping_notification_form';
4865
+ readonly 'order_number': string;
4866
+ readonly 'items': io.flow.common.v0.models.LineItemForm[];
4867
+ readonly 'service': string;
4868
+ readonly 'carrier_tracking_number': string;
4869
+ readonly 'key'?: string;
4870
+ readonly 'shipment_recipient'?: io.flow.label.v0.enums.ShipmentRecipient;
4871
+ }
5367
4872
  }
5368
4873
 
5369
4874
  declare namespace io.flow.label.v0.unions {
5370
4875
  type ShippingLabelForm = (io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm);
5371
- type ShippingNotificationForm = (io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm);
4876
+ type ShippingNotificationForm = (io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm);
5372
4877
  }
5373
4878
 
5374
4879
  declare namespace io.flow.external.paypal.v1.enums {
@@ -6740,454 +6245,814 @@ declare namespace io.flow.shopify.external.v0.models {
6740
6245
  readonly 'alt'?: string;
6741
6246
  }
6742
6247
 
6743
- interface ProductVariant {
6248
+ interface ProductVariant {
6249
+ readonly 'id': number;
6250
+ readonly 'sku'?: string;
6251
+ readonly 'product_id': number;
6252
+ readonly 'price': number;
6253
+ readonly 'title': string;
6254
+ readonly 'taxable': boolean;
6255
+ readonly 'compare_at_price'?: number;
6256
+ readonly 'grams'?: number;
6257
+ readonly 'image_id'?: number;
6258
+ readonly 'barcode'?: string;
6259
+ readonly 'fulfillment_service'?: io.flow.shopify.external.v0.enums.FulfillmentService;
6260
+ readonly 'inventory_management'?: io.flow.shopify.external.v0.enums.InventoryManagement;
6261
+ readonly 'inventory_policy': io.flow.shopify.external.v0.enums.InventoryPolicy;
6262
+ readonly 'weight'?: number;
6263
+ readonly 'weight_unit'?: io.flow.shopify.external.v0.enums.WeightUnit;
6264
+ readonly 'inventory_item_id'?: number;
6265
+ readonly 'inventory_quantity'?: number;
6266
+ readonly 'metafield'?: io.flow.shopify.external.v0.models.MetafieldForm[];
6267
+ readonly 'option1'?: string;
6268
+ readonly 'option2'?: string;
6269
+ readonly 'option3'?: string;
6270
+ readonly 'requires_shipping': boolean;
6271
+ readonly 'metafields'?: io.flow.shopify.external.v0.models.Metafield[];
6272
+ }
6273
+
6274
+ interface RequestMetafieldForm {
6275
+ readonly 'metafield': io.flow.shopify.external.v0.models.MetafieldForm;
6276
+ }
6277
+
6278
+ interface RequestShopifyGiftCard {
6279
+ readonly 'gift_card': io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
6280
+ }
6281
+
6282
+ interface RequestShopifyRefundForm {
6283
+ readonly 'refund': io.flow.shopify.external.v0.models.ShopifyRefundForm;
6284
+ }
6285
+
6286
+ interface RequestShopifyTransactionForm {
6287
+ readonly 'transaction': io.flow.shopify.external.v0.models.ShopifyTransactionForm;
6288
+ }
6289
+
6290
+ interface ResponseCollection {
6291
+ readonly 'collection': io.flow.shopify.external.v0.models.Collection;
6292
+ }
6293
+
6294
+ interface ResponseMetafield {
6295
+ readonly 'metafield': io.flow.shopify.external.v0.models.Metafield;
6296
+ }
6297
+
6298
+ interface ResponseMetafields {
6299
+ readonly 'metafields': io.flow.shopify.external.v0.models.Metafield[];
6300
+ }
6301
+
6302
+ interface ResponseOrdersWrapper {
6303
+ readonly 'orders': io.flow.shopify.external.v0.models.ShopifyOrder[];
6304
+ }
6305
+
6306
+ interface ResponsePriceRule {
6307
+ readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
6308
+ }
6309
+
6310
+ interface ResponsePriceRuleDiscountCode {
6311
+ readonly 'discount_code': io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
6312
+ }
6313
+
6314
+ interface ResponsePriceRuleDiscountCodes {
6315
+ readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
6316
+ }
6317
+
6318
+ interface ResponsePriceRules {
6319
+ readonly 'price_rules': io.flow.shopify.external.v0.models.PriceRule[];
6320
+ }
6321
+
6322
+ interface ResponseProduct {
6323
+ readonly 'product': io.flow.shopify.external.v0.models.Product;
6324
+ }
6325
+
6326
+ interface ResponseProducts {
6327
+ readonly 'products': io.flow.shopify.external.v0.models.Product[];
6328
+ }
6329
+
6330
+ interface ResponseShopifyGiftCard {
6331
+ readonly 'gift_card': io.flow.shopify.external.v0.models.ShopifyGiftCard;
6332
+ }
6333
+
6334
+ interface ResponseShopifyGiftCards {
6335
+ readonly 'gift_cards': io.flow.shopify.external.v0.models.ShopifyGiftCard[];
6336
+ }
6337
+
6338
+ interface ResponseShopifyRefundSingle {
6339
+ readonly 'refund': io.flow.shopify.external.v0.models.ShopifyRefund;
6340
+ }
6341
+
6342
+ interface ResponseShopifyTransaction {
6343
+ readonly 'transactions': io.flow.shopify.external.v0.models.ShopifyTransaction[];
6344
+ }
6345
+
6346
+ interface ResponseShopifyTransactionSingle {
6347
+ readonly 'transaction': io.flow.shopify.external.v0.models.ShopifyTransaction;
6348
+ }
6349
+
6350
+ interface ResponseSmartCollection {
6351
+ readonly 'smart_collections': io.flow.shopify.external.v0.models.SmartCollection[];
6352
+ }
6353
+
6354
+ interface ResponseVariant {
6355
+ readonly 'variant': io.flow.shopify.external.v0.models.ProductVariant;
6356
+ }
6357
+
6358
+ interface Shop {
6359
+ readonly 'id': number;
6360
+ readonly 'domain': string;
6361
+ readonly 'myshopify_domain': string;
6362
+ readonly 'name': string;
6363
+ readonly 'primary_locale': string;
6364
+ readonly 'currency': string;
6365
+ readonly 'country_code': string;
6366
+ }
6367
+
6368
+ interface ShopResponse {
6369
+ readonly 'shop': io.flow.shopify.external.v0.models.Shop;
6370
+ }
6371
+
6372
+ interface ShopifyAddress {
6373
+ readonly 'id'?: number;
6374
+ readonly 'address1'?: string;
6375
+ readonly 'address2'?: string;
6376
+ readonly 'city'?: string;
6377
+ readonly 'company'?: string;
6378
+ readonly 'country'?: string;
6379
+ readonly 'country_code'?: string;
6380
+ readonly 'default'?: boolean;
6381
+ readonly 'first_name'?: string;
6382
+ readonly 'last_name'?: string;
6383
+ readonly 'latitude'?: number;
6384
+ readonly 'longitude'?: number;
6385
+ readonly 'name'?: string;
6386
+ readonly 'phone'?: string;
6387
+ readonly 'province'?: string;
6388
+ readonly 'province_code'?: string;
6389
+ readonly 'zip'?: string;
6390
+ }
6391
+
6392
+ interface ShopifyAttribute {
6393
+ readonly 'name': string;
6394
+ readonly 'value': string;
6395
+ }
6396
+
6397
+ interface ShopifyCartItemDiscount {
6398
+ readonly 'amount': number;
6399
+ readonly 'title': string;
6400
+ }
6401
+
6402
+ interface ShopifyClientDetail {
6403
+ readonly 'accept_language'?: boolean;
6404
+ readonly 'browser_height'?: number;
6405
+ readonly 'browser_ip'?: string;
6406
+ readonly 'browser_width'?: number;
6407
+ readonly 'session_hash'?: string;
6408
+ readonly 'user_agent'?: string;
6409
+ }
6410
+
6411
+ interface ShopifyCustomer {
6412
+ readonly 'id': number;
6413
+ readonly 'addresses': io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
6414
+ readonly 'created_at': string;
6415
+ readonly 'tags': string;
6416
+ readonly 'tax_exempt': boolean;
6417
+ readonly 'verified_email': boolean;
6418
+ readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
6419
+ readonly 'accepts_marketing'?: boolean;
6420
+ readonly 'default_address'?: any/*object*/;
6421
+ readonly 'email'?: string;
6422
+ readonly 'first_name'?: string;
6423
+ readonly 'last_name'?: string;
6424
+ readonly 'last_order_id'?: number;
6425
+ readonly 'last_order_name'?: string;
6426
+ readonly 'note'?: string;
6427
+ readonly 'orders_count'?: number;
6428
+ readonly 'phone'?: string;
6429
+ readonly 'total_spent'?: string;
6430
+ readonly 'updated_at'?: string;
6431
+ }
6432
+
6433
+ interface ShopifyCustomerAddress {
6434
+ readonly 'id': number;
6435
+ readonly 'customer_id': number;
6436
+ readonly 'default': boolean;
6437
+ readonly 'address1'?: string;
6438
+ readonly 'address2'?: string;
6439
+ readonly 'city'?: string;
6440
+ readonly 'company'?: string;
6441
+ readonly 'first_name'?: string;
6442
+ readonly 'last_name'?: string;
6443
+ readonly 'name'?: string;
6444
+ readonly 'phone'?: string;
6445
+ readonly 'country'?: string;
6446
+ readonly 'country_code'?: string;
6447
+ readonly 'country_name'?: string;
6448
+ readonly 'province'?: string;
6449
+ readonly 'province_code'?: string;
6450
+ readonly 'zip'?: string;
6451
+ }
6452
+
6453
+ interface ShopifyCustomerDelete {
6744
6454
  readonly 'id': number;
6745
- readonly 'sku'?: string;
6746
- readonly 'product_id': number;
6747
- readonly 'price': number;
6748
- readonly 'title': string;
6749
- readonly 'taxable': boolean;
6750
- readonly 'compare_at_price'?: number;
6751
- readonly 'grams'?: number;
6752
- readonly 'image_id'?: number;
6753
- readonly 'barcode'?: string;
6754
- readonly 'fulfillment_service'?: io.flow.shopify.external.v0.enums.FulfillmentService;
6755
- readonly 'inventory_management'?: io.flow.shopify.external.v0.enums.InventoryManagement;
6756
- readonly 'inventory_policy': io.flow.shopify.external.v0.enums.InventoryPolicy;
6757
- readonly 'weight'?: number;
6758
- readonly 'weight_unit'?: io.flow.shopify.external.v0.enums.WeightUnit;
6759
- readonly 'inventory_item_id'?: number;
6760
- readonly 'inventory_quantity'?: number;
6761
- readonly 'metafield'?: io.flow.shopify.external.v0.models.MetafieldForm[];
6762
- readonly 'option1'?: string;
6763
- readonly 'option2'?: string;
6764
- readonly 'option3'?: string;
6765
- readonly 'requires_shipping': boolean;
6766
- readonly 'metafields'?: io.flow.shopify.external.v0.models.Metafield[];
6767
6455
  }
6768
6456
 
6769
- interface RequestMetafieldForm {
6770
- readonly 'metafield': io.flow.shopify.external.v0.models.MetafieldForm;
6457
+ interface ShopifyCustomersResponseWrapper {
6458
+ readonly 'customers': io.flow.shopify.external.v0.models.ShopifyCustomer[];
6771
6459
  }
6772
6460
 
6773
- interface RequestShopifyGiftCard {
6774
- readonly 'gift_card': io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
6461
+ interface ShopifyDiscountApplication {
6462
+ readonly 'type': string;
6463
+ readonly 'key': string;
6464
+ readonly 'title': string;
6465
+ readonly 'description'?: string;
6466
+ readonly 'value': string;
6467
+ readonly 'created_at': string;
6468
+ readonly 'value_type': string;
6469
+ readonly 'allocation_method': string;
6470
+ readonly 'target_selection': string;
6471
+ readonly 'target_type': string;
6472
+ readonly 'total_allocated_amount': number;
6775
6473
  }
6776
6474
 
6777
- interface RequestShopifyRefundForm {
6778
- readonly 'refund': io.flow.shopify.external.v0.models.ShopifyRefundForm;
6475
+ interface ShopifyDiscountCode {
6476
+ readonly 'amount': string;
6477
+ readonly 'code': string;
6478
+ readonly 'type': io.flow.shopify.external.v0.enums.DiscountType;
6779
6479
  }
6780
6480
 
6781
- interface RequestShopifyTransactionForm {
6782
- readonly 'transaction': io.flow.shopify.external.v0.models.ShopifyTransactionForm;
6481
+ interface ShopifyError {
6482
+ readonly 'errors': any/*object*/;
6783
6483
  }
6784
6484
 
6785
- interface ResponseCollection {
6786
- readonly 'collection': io.flow.shopify.external.v0.models.Collection;
6485
+ interface ShopifyExternalCart {
6486
+ readonly 'token'?: string;
6487
+ readonly 'note'?: string;
6488
+ readonly 'attributes'?: any/*object*/;
6489
+ readonly 'items_subtotal_price'?: number;
6490
+ readonly 'total_price': number;
6491
+ readonly 'total_weight': number;
6492
+ readonly 'total_discount': number;
6493
+ readonly 'original_total_price': number;
6494
+ readonly 'item_count': number;
6495
+ readonly 'requires_shipping': boolean;
6496
+ readonly 'currency'?: string;
6497
+ readonly 'items': io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
6498
+ readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6787
6499
  }
6788
6500
 
6789
- interface ResponseMetafield {
6790
- readonly 'metafield': io.flow.shopify.external.v0.models.Metafield;
6501
+ interface ShopifyExternalCartItem {
6502
+ readonly 'id': number;
6503
+ readonly 'title': string;
6504
+ readonly 'key'?: string;
6505
+ readonly 'price': number;
6506
+ readonly 'line_price': number;
6507
+ readonly 'final_price': number;
6508
+ readonly 'final_line_price': number;
6509
+ readonly 'original_price': number;
6510
+ readonly 'original_line_price': number;
6511
+ readonly 'total_discount': number;
6512
+ readonly 'discounted_price': number;
6513
+ readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6514
+ readonly 'taxable': boolean;
6515
+ readonly 'quantity': number;
6516
+ readonly 'sku'?: string;
6517
+ readonly 'grams'?: number;
6518
+ readonly 'vendor'?: string;
6519
+ readonly 'properties'?: any/*object*/;
6520
+ readonly 'variant_id'?: number;
6521
+ readonly 'gift_card': boolean;
6522
+ readonly 'url': string;
6523
+ readonly 'image'?: string;
6524
+ readonly 'handle': string;
6525
+ readonly 'requires_shipping': boolean;
6526
+ readonly 'product_id': number;
6527
+ readonly 'product_title': string;
6528
+ readonly 'product_description'?: string;
6529
+ readonly 'product_type': string;
6530
+ readonly 'variant_title'?: string;
6531
+ readonly 'variant_options'?: string[];
6532
+ readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
6791
6533
  }
6792
6534
 
6793
- interface ResponseMetafields {
6794
- readonly 'metafields': io.flow.shopify.external.v0.models.Metafield[];
6535
+ interface ShopifyFulfillment {
6536
+ readonly 'location_id': number;
6537
+ readonly 'created_at'?: string;
6538
+ readonly 'id'?: number;
6539
+ readonly 'line_items': io.flow.shopify.external.v0.models.ShopifyLineItem[];
6540
+ readonly 'order_id'?: number;
6541
+ readonly 'receipt'?: any/*object*/;
6542
+ readonly 'status'?: string;
6543
+ readonly 'tracking_company'?: string;
6544
+ readonly 'tracking_number'?: string;
6545
+ readonly 'tracking_numbers'?: string[];
6546
+ readonly 'tracking_url'?: string;
6547
+ readonly 'tracking_urls'?: string[];
6548
+ readonly 'updated_at'?: string;
6549
+ readonly 'notify_customer'?: boolean;
6795
6550
  }
6796
6551
 
6797
- interface ResponseOrdersWrapper {
6798
- readonly 'orders': io.flow.shopify.external.v0.models.ShopifyOrder[];
6552
+ interface ShopifyFulfillmentWrapper {
6553
+ readonly 'fulfillment': io.flow.shopify.external.v0.models.ShopifyFulfillment;
6799
6554
  }
6800
6555
 
6801
- interface ResponsePriceRule {
6802
- readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
6556
+ interface ShopifyGiftCard {
6557
+ readonly 'id': number;
6558
+ readonly 'balance': number;
6559
+ readonly 'currency': string;
6560
+ readonly 'initial_value': number;
6561
+ readonly 'last_characters': string;
6562
+ readonly 'created_at': string;
6563
+ readonly 'updated_at': string;
6564
+ readonly 'api_client_id'?: number;
6565
+ readonly 'code'?: string;
6566
+ readonly 'customer_id'?: number;
6567
+ readonly 'disabled_at'?: string;
6568
+ readonly 'expires_on'?: string;
6569
+ readonly 'line_item_id'?: number;
6570
+ readonly 'note'?: string;
6571
+ readonly 'order_id'?: number;
6572
+ readonly 'template_suffix'?: string;
6573
+ readonly 'user_id'?: number;
6803
6574
  }
6804
6575
 
6805
- interface ResponsePriceRuleDiscountCode {
6806
- readonly 'discount_code': io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
6576
+ interface ShopifyGiftCardAdjustment {
6577
+ readonly 'id': number;
6578
+ readonly 'gift_card_id': number;
6579
+ readonly 'number': number;
6580
+ readonly 'amount': number;
6581
+ readonly 'created_at': string;
6582
+ readonly 'processed_at': string;
6583
+ readonly 'note'?: string;
6584
+ readonly 'remote_transaction_ref'?: string;
6585
+ readonly 'remote_transaction_url'?: string;
6586
+ readonly 'api_client_id'?: number;
6587
+ readonly 'user_id'?: number;
6588
+ readonly 'order_transaction_id'?: number;
6807
6589
  }
6808
6590
 
6809
- interface ResponsePriceRuleDiscountCodes {
6810
- readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
6591
+ interface ShopifyGiftCardAdjustmentForm {
6592
+ readonly 'amount': number;
6593
+ readonly 'note'?: string;
6594
+ readonly 'order_transaction_id'?: number;
6595
+ readonly 'processed_at'?: string;
6811
6596
  }
6812
6597
 
6813
- interface ResponsePriceRules {
6814
- readonly 'price_rules': io.flow.shopify.external.v0.models.PriceRule[];
6598
+ interface ShopifyGiftCardAdjustmentFormWrapper {
6599
+ readonly 'adjustment': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
6815
6600
  }
6816
6601
 
6817
- interface ResponseProduct {
6818
- readonly 'product': io.flow.shopify.external.v0.models.Product;
6602
+ interface ShopifyGiftCardAdjustmentResponseWrapper {
6603
+ readonly 'adjustment': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
6819
6604
  }
6820
6605
 
6821
- interface ResponseProducts {
6822
- readonly 'products': io.flow.shopify.external.v0.models.Product[];
6606
+ interface ShopifyGiftCardAdjustmentsResponseWrapper {
6607
+ readonly 'adjustments': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment[];
6823
6608
  }
6824
6609
 
6825
- interface ResponseShopifyGiftCard {
6826
- readonly 'gift_card': io.flow.shopify.external.v0.models.ShopifyGiftCard;
6610
+ interface ShopifyGiftCardForm {
6611
+ readonly 'initial_value': number;
6612
+ readonly 'code'?: string;
6613
+ readonly 'note'?: string;
6614
+ readonly 'template_suffix'?: string;
6827
6615
  }
6828
6616
 
6829
- interface ResponseShopifyGiftCards {
6830
- readonly 'gift_cards': io.flow.shopify.external.v0.models.ShopifyGiftCard[];
6617
+ interface ShopifyInventoryItem {
6618
+ readonly 'id': number;
6619
+ readonly 'tracked': boolean;
6620
+ readonly 'sku'?: string;
6621
+ readonly 'cost'?: string;
6622
+ readonly 'country_code_of_origin'?: string;
6623
+ readonly 'created_at': string;
6624
+ readonly 'updated_at'?: string;
6831
6625
  }
6832
6626
 
6833
- interface ResponseShopifyRefundSingle {
6834
- readonly 'refund': io.flow.shopify.external.v0.models.ShopifyRefund;
6627
+ interface ShopifyInventoryItemDelete {
6628
+ readonly 'id': number;
6835
6629
  }
6836
6630
 
6837
- interface ResponseShopifyTransaction {
6838
- readonly 'transactions': io.flow.shopify.external.v0.models.ShopifyTransaction[];
6631
+ interface ShopifyInventoryLevel {
6632
+ readonly 'inventory_item_id': number;
6633
+ readonly 'location_id': number;
6634
+ readonly 'updated_at': string;
6635
+ readonly 'available'?: number;
6839
6636
  }
6840
6637
 
6841
- interface ResponseShopifyTransactionSingle {
6842
- readonly 'transaction': io.flow.shopify.external.v0.models.ShopifyTransaction;
6638
+ interface ShopifyInventoryLevelDisconnect {
6639
+ readonly 'inventory_item_id': number;
6640
+ readonly 'location_id': number;
6843
6641
  }
6844
6642
 
6845
- interface ResponseSmartCollection {
6846
- readonly 'smart_collections': io.flow.shopify.external.v0.models.SmartCollection[];
6643
+ interface ShopifyInventoryLevelResponseWrapper {
6644
+ readonly 'inventory_levels': io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
6847
6645
  }
6848
6646
 
6849
- interface ResponseVariant {
6850
- readonly 'variant': io.flow.shopify.external.v0.models.ProductVariant;
6647
+ interface ShopifyLineItem {
6648
+ readonly 'id': number;
6649
+ readonly 'quantity': number;
6650
+ readonly 'fulfillable_quantity'?: number;
6651
+ readonly 'fulfillment_service': string;
6652
+ readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
6653
+ readonly 'grams'?: number;
6654
+ readonly 'price'?: string;
6655
+ readonly 'product_id'?: number;
6656
+ readonly 'requires_shipping': boolean;
6657
+ readonly 'sku'?: string;
6658
+ readonly 'title'?: string;
6659
+ readonly 'variant_id'?: number;
6660
+ readonly 'variant_title'?: string;
6661
+ readonly 'vendor'?: string;
6662
+ readonly 'name'?: string;
6663
+ readonly 'gift_card': boolean;
6664
+ readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
6665
+ readonly 'taxable': boolean;
6666
+ readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
6667
+ readonly 'total_discount'?: string;
6851
6668
  }
6852
6669
 
6853
- interface Shop {
6854
- readonly 'id': number;
6855
- readonly 'domain': string;
6856
- readonly 'myshopify_domain': string;
6857
- readonly 'name': string;
6858
- readonly 'primary_locale': string;
6859
- readonly 'currency': string;
6860
- readonly 'country_code': string;
6670
+ interface ShopifyLineItemForm {
6671
+ readonly 'fulfillable_quantity'?: number;
6672
+ readonly 'fulfillment_service': string;
6673
+ readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
6674
+ readonly 'grams'?: number;
6675
+ readonly 'price'?: string;
6676
+ readonly 'product_id'?: number;
6677
+ readonly 'quantity'?: number;
6678
+ readonly 'requires_shipping': boolean;
6679
+ readonly 'sku'?: string;
6680
+ readonly 'title'?: string;
6681
+ readonly 'variant_id'?: number;
6682
+ readonly 'variant_title'?: string;
6683
+ readonly 'vendor'?: string;
6684
+ readonly 'name'?: string;
6685
+ readonly 'gift_card': boolean;
6686
+ readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
6687
+ readonly 'taxable': boolean;
6688
+ readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
6689
+ readonly 'total_discount'?: string;
6690
+ readonly 'id'?: number;
6861
6691
  }
6862
6692
 
6863
- interface ShopResponse {
6864
- readonly 'shop': io.flow.shopify.external.v0.models.Shop;
6693
+ interface ShopifyLineLevelDiscountAllocation {
6694
+ readonly 'amount': number;
6695
+ readonly 'discount_application': io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
6865
6696
  }
6866
6697
 
6867
- interface ShopifyAddress {
6868
- readonly 'id'?: number;
6698
+ interface ShopifyLocation {
6699
+ readonly 'active': boolean;
6869
6700
  readonly 'address1'?: string;
6870
6701
  readonly 'address2'?: string;
6871
6702
  readonly 'city'?: string;
6872
- readonly 'company'?: string;
6873
6703
  readonly 'country'?: string;
6874
6704
  readonly 'country_code'?: string;
6875
- readonly 'default'?: boolean;
6876
- readonly 'first_name'?: string;
6877
- readonly 'last_name'?: string;
6878
- readonly 'latitude'?: number;
6879
- readonly 'longitude'?: number;
6880
- readonly 'name'?: string;
6705
+ readonly 'created_at': string;
6706
+ readonly 'id': number;
6707
+ readonly 'legacy': boolean;
6708
+ readonly 'name': string;
6881
6709
  readonly 'phone'?: string;
6882
6710
  readonly 'province'?: string;
6883
6711
  readonly 'province_code'?: string;
6712
+ readonly 'updated_at'?: string;
6884
6713
  readonly 'zip'?: string;
6714
+ readonly 'localized_country_name'?: string;
6715
+ readonly 'localized_province_name'?: string;
6885
6716
  }
6886
6717
 
6887
- interface ShopifyAttribute {
6888
- readonly 'name': string;
6889
- readonly 'value': string;
6718
+ interface ShopifyLocationDelete {
6719
+ readonly 'id': number;
6890
6720
  }
6891
6721
 
6892
- interface ShopifyCartItemDiscount {
6893
- readonly 'amount': number;
6894
- readonly 'title': string;
6722
+ interface ShopifyLocationsResponseWrapper {
6723
+ readonly 'locations': io.flow.shopify.external.v0.models.ShopifyLocation[];
6895
6724
  }
6896
6725
 
6897
- interface ShopifyClientDetail {
6898
- readonly 'accept_language'?: boolean;
6899
- readonly 'browser_height'?: number;
6726
+ interface ShopifyOrder {
6727
+ readonly 'billing_address'?: io.flow.shopify.external.v0.models.ShopifyAddress;
6900
6728
  readonly 'browser_ip'?: string;
6901
- readonly 'browser_width'?: number;
6902
- readonly 'session_hash'?: string;
6903
- readonly 'user_agent'?: string;
6729
+ readonly 'buyer_accepts_marketing': boolean;
6730
+ readonly 'cancel_reason'?: io.flow.shopify.external.v0.enums.CancelReason;
6731
+ readonly 'cancelled_at'?: string;
6732
+ readonly 'cart_token'?: string;
6733
+ readonly 'client_details'?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
6734
+ readonly 'closed_at'?: string;
6735
+ readonly 'created_at'?: string;
6736
+ readonly 'currency'?: string;
6737
+ readonly 'customer'?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
6738
+ readonly 'discount_codes': io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
6739
+ readonly 'email'?: string;
6740
+ readonly 'financial_status': io.flow.shopify.external.v0.enums.FinancialStatusType;
6741
+ readonly 'fulfillments': io.flow.shopify.external.v0.models.ShopifyFulfillment[];
6742
+ readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
6743
+ readonly 'id'?: number;
6744
+ readonly 'landing_site'?: string;
6745
+ readonly 'line_items': io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
6746
+ readonly 'location_id'?: number;
6747
+ readonly 'name'?: string;
6748
+ readonly 'note'?: string;
6749
+ readonly 'note_attributes': io.flow.shopify.external.v0.models.ShopifyAttribute[];
6750
+ readonly 'number'?: number;
6751
+ readonly 'order_number'?: number;
6752
+ readonly 'payment_gateway_names': string[];
6753
+ readonly 'processed_at'?: string;
6754
+ readonly 'processing_method'?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
6755
+ readonly 'referring_site'?: string;
6756
+ readonly 'refunds': io.flow.shopify.external.v0.models.ShopifyRefund[];
6757
+ readonly 'shipping_address'?: io.flow.shopify.external.v0.models.ShopifyAddress;
6758
+ readonly 'shipping_lines': io.flow.shopify.external.v0.models.ShopifyShippingLine[];
6759
+ readonly 'source_name'?: string;
6760
+ readonly 'subtotal_price'?: string;
6761
+ readonly 'tags'?: string;
6762
+ readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
6763
+ readonly 'taxes_included': boolean;
6764
+ readonly 'token'?: string;
6765
+ readonly 'total_discounts'?: string;
6766
+ readonly 'total_line_items_price'?: string;
6767
+ readonly 'total_price'?: string;
6768
+ readonly 'total_tax'?: string;
6769
+ readonly 'total_weight'?: number;
6770
+ readonly 'updated_at'?: string;
6771
+ readonly 'user_id'?: number;
6772
+ readonly 'order_status_url'?: string;
6773
+ readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6774
+ readonly 'gateway'?: string;
6775
+ readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6776
+ readonly 'send_receipt'?: boolean;
6777
+ readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
6904
6778
  }
6905
6779
 
6906
- interface ShopifyCustomer {
6907
- readonly 'id': number;
6908
- readonly 'addresses': io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
6909
- readonly 'created_at': string;
6910
- readonly 'tags': string;
6911
- readonly 'tax_exempt': boolean;
6912
- readonly 'verified_email': boolean;
6913
- readonly 'state': io.flow.shopify.external.v0.enums.ShopifyCustomerState;
6914
- readonly 'accepts_marketing'?: boolean;
6915
- readonly 'default_address'?: any/*object*/;
6780
+ interface ShopifyOrderCount {
6781
+ readonly 'count': number;
6782
+ }
6783
+
6784
+ interface ShopifyOrderCustomer {
6916
6785
  readonly 'email'?: string;
6917
6786
  readonly 'first_name'?: string;
6918
6787
  readonly 'last_name'?: string;
6919
- readonly 'last_order_id'?: number;
6920
- readonly 'last_order_name'?: string;
6921
- readonly 'note'?: string;
6922
- readonly 'orders_count'?: number;
6923
6788
  readonly 'phone'?: string;
6924
- readonly 'total_spent'?: string;
6925
- readonly 'updated_at'?: string;
6926
6789
  }
6927
6790
 
6928
- interface ShopifyCustomerAddress {
6791
+ interface ShopifyOrderWrapper {
6792
+ readonly 'order': io.flow.shopify.external.v0.models.ShopifyOrder;
6793
+ }
6794
+
6795
+ interface ShopifyPaymentDetail {
6796
+ readonly 'avs_result_code'?: string;
6797
+ readonly 'credit_card_bin'?: string;
6798
+ readonly 'credit_card_company': string;
6799
+ readonly 'credit_card_number': string;
6800
+ readonly 'cvv_result_code'?: string;
6801
+ }
6802
+
6803
+ interface ShopifyProperty {
6804
+ readonly 'name': string;
6805
+ readonly 'value': any/*json*/;
6806
+ }
6807
+
6808
+ interface ShopifyRefund {
6929
6809
  readonly 'id': number;
6930
- readonly 'customer_id': number;
6931
- readonly 'default': boolean;
6932
- readonly 'address1'?: string;
6933
- readonly 'address2'?: string;
6934
- readonly 'city'?: string;
6935
- readonly 'company'?: string;
6936
- readonly 'first_name'?: string;
6937
- readonly 'last_name'?: string;
6938
- readonly 'name'?: string;
6939
- readonly 'phone'?: string;
6940
- readonly 'country'?: string;
6941
- readonly 'country_code'?: string;
6942
- readonly 'country_name'?: string;
6943
- readonly 'province'?: string;
6944
- readonly 'province_code'?: string;
6945
- readonly 'zip'?: string;
6810
+ readonly 'order_id': number;
6811
+ readonly 'created_at': string;
6812
+ readonly 'processed_at': string;
6813
+ readonly 'note'?: string;
6814
+ readonly 'refund_line_items'?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
6815
+ readonly 'restock'?: boolean;
6816
+ readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
6817
+ readonly 'user_id'?: number;
6946
6818
  }
6947
6819
 
6948
- interface ShopifyCustomerDelete {
6820
+ interface ShopifyRefundForm {
6821
+ readonly 'note'?: string;
6822
+ readonly 'discrepancy_reason'?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
6823
+ readonly 'refund_line_items': io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
6824
+ readonly 'transactions': io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6825
+ readonly 'currency': string;
6826
+ }
6827
+
6828
+ interface ShopifyRefundLineItem {
6949
6829
  readonly 'id': number;
6830
+ readonly 'line_item': io.flow.shopify.external.v0.models.ShopifyLineItem;
6831
+ readonly 'line_item_id': number;
6832
+ readonly 'quantity': number;
6833
+ readonly 'restock_type': io.flow.shopify.external.v0.enums.RestockType;
6834
+ readonly 'location_id'?: number;
6835
+ readonly 'subtotal'?: number;
6836
+ readonly 'total_tax'?: number;
6950
6837
  }
6951
6838
 
6952
- interface ShopifyCustomersResponseWrapper {
6953
- readonly 'customers': io.flow.shopify.external.v0.models.ShopifyCustomer[];
6839
+ interface ShopifyRefundLineItemForm {
6840
+ readonly 'line_item_id': number;
6841
+ readonly 'quantity': number;
6842
+ readonly 'restock_type': io.flow.shopify.external.v0.enums.RestockType;
6843
+ readonly 'location_id'?: number;
6954
6844
  }
6955
6845
 
6956
- interface ShopifyDiscountApplication {
6957
- readonly 'type': string;
6958
- readonly 'key': string;
6846
+ interface ShopifyShippingLine {
6847
+ readonly 'code': string;
6848
+ readonly 'price': string;
6849
+ readonly 'source': string;
6959
6850
  readonly 'title': string;
6960
- readonly 'description'?: string;
6961
- readonly 'value': string;
6851
+ readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
6852
+ readonly 'carrier_identifier'?: string;
6853
+ readonly 'requested_fulfillment_service_id'?: string;
6854
+ }
6855
+
6856
+ interface ShopifyTaxLine {
6857
+ readonly 'price': string;
6858
+ readonly 'rate': number;
6859
+ readonly 'title': string;
6860
+ }
6861
+
6862
+ interface ShopifyTransaction {
6863
+ readonly 'id': number;
6864
+ readonly 'order_id': number;
6865
+ readonly 'amount': number;
6866
+ readonly 'kind': io.flow.shopify.external.v0.enums.KindType;
6867
+ readonly 'gateway': string;
6868
+ readonly 'currency': string;
6869
+ readonly 'status': io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
6870
+ readonly 'payment_details'?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
6871
+ readonly 'receipt': any/*object*/;
6872
+ readonly 'authorization'?: string;
6962
6873
  readonly 'created_at': string;
6963
- readonly 'value_type': string;
6964
- readonly 'allocation_method': string;
6965
- readonly 'target_selection': string;
6966
- readonly 'target_type': string;
6967
- readonly 'total_allocated_amount': number;
6874
+ readonly 'device_id'?: number;
6875
+ readonly 'gift_card_id'?: number;
6876
+ readonly 'source_name': string;
6877
+ readonly 'error_code'?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
6878
+ readonly 'test': boolean;
6879
+ readonly 'parent_id'?: number;
6880
+ readonly 'user_id'?: number;
6968
6881
  }
6969
6882
 
6970
- interface ShopifyDiscountCode {
6971
- readonly 'amount': string;
6972
- readonly 'code': string;
6973
- readonly 'type': io.flow.shopify.external.v0.enums.DiscountType;
6883
+ interface ShopifyTransactionForm {
6884
+ readonly 'amount': number;
6885
+ readonly 'currency': string;
6886
+ readonly 'gateway': string;
6887
+ readonly 'kind': io.flow.shopify.external.v0.enums.KindType;
6888
+ readonly 'source': string;
6889
+ readonly 'authorization'?: string;
6890
+ readonly 'gift_card_id'?: number;
6891
+ readonly 'parent_id'?: number;
6892
+ readonly 'receipt'?: any/*object*/;
6893
+ }
6894
+
6895
+ interface ShopifyTransactionGiftCardReceipt {
6896
+ readonly 'gift_card_id': number;
6897
+ readonly 'gift_card_last_characters': string;
6898
+ }
6899
+
6900
+ interface ShopifyWebhookCustomersRedact {
6901
+ readonly 'shop_id': number;
6902
+ readonly 'shop_domain': string;
6903
+ readonly 'customer': io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
6904
+ readonly 'orders_to_redact'?: number[];
6974
6905
  }
6975
6906
 
6976
- interface ShopifyError {
6977
- readonly 'errors': any/*object*/;
6907
+ interface ShopifyWebhookCustomersRedactCustomer {
6908
+ readonly 'id': number;
6909
+ readonly 'email'?: string;
6910
+ readonly 'phone'?: string;
6978
6911
  }
6979
6912
 
6980
- interface ShopifyExternalCart {
6981
- readonly 'token'?: string;
6982
- readonly 'note'?: string;
6983
- readonly 'attributes'?: any/*object*/;
6984
- readonly 'items_subtotal_price'?: number;
6985
- readonly 'total_price': number;
6986
- readonly 'total_weight': number;
6987
- readonly 'total_discount': number;
6988
- readonly 'original_total_price': number;
6989
- readonly 'item_count': number;
6990
- readonly 'requires_shipping': boolean;
6991
- readonly 'currency'?: string;
6992
- readonly 'items': io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
6993
- readonly 'cart_level_discount_applications'?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6913
+ interface ShopifyWebhookOrder {
6914
+ readonly 'id'?: number;
6915
+ readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6994
6916
  }
6995
6917
 
6996
- interface ShopifyExternalCartItem {
6918
+ interface ShopifyWebhookOrderCancelled {
6997
6919
  readonly 'id': number;
6998
- readonly 'title': string;
6999
- readonly 'key'?: string;
7000
- readonly 'price': number;
7001
- readonly 'line_price': number;
7002
- readonly 'final_price': number;
7003
- readonly 'final_line_price': number;
7004
- readonly 'original_price': number;
7005
- readonly 'original_line_price': number;
7006
- readonly 'total_discount': number;
7007
- readonly 'discounted_price': number;
7008
- readonly 'discounts'?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
7009
- readonly 'taxable': boolean;
7010
- readonly 'quantity': number;
7011
- readonly 'sku'?: string;
7012
- readonly 'grams'?: number;
7013
- readonly 'vendor'?: string;
7014
- readonly 'properties'?: any/*object*/;
7015
- readonly 'variant_id'?: number;
7016
- readonly 'gift_card': boolean;
7017
- readonly 'url': string;
7018
- readonly 'image'?: string;
7019
- readonly 'handle': string;
7020
- readonly 'requires_shipping': boolean;
7021
- readonly 'product_id': number;
7022
- readonly 'product_title': string;
7023
- readonly 'product_description'?: string;
7024
- readonly 'product_type': string;
7025
- readonly 'variant_title'?: string;
7026
- readonly 'variant_options'?: string[];
7027
- readonly 'line_level_discount_allocations'?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
7028
6920
  }
7029
6921
 
7030
- interface ShopifyFulfillment {
7031
- readonly 'location_id': number;
7032
- readonly 'created_at'?: string;
7033
- readonly 'id'?: number;
7034
- readonly 'line_items': io.flow.shopify.external.v0.models.ShopifyLineItem[];
7035
- readonly 'order_id'?: number;
7036
- readonly 'receipt'?: any/*object*/;
7037
- readonly 'status'?: string;
7038
- readonly 'tracking_company'?: string;
7039
- readonly 'tracking_number'?: string;
7040
- readonly 'tracking_numbers'?: string[];
7041
- readonly 'tracking_url'?: string;
7042
- readonly 'tracking_urls'?: string[];
7043
- readonly 'updated_at'?: string;
7044
- readonly 'notify_customer'?: boolean;
6922
+ interface ShopifyWebhookOrderLineItem {
6923
+ readonly 'fulfillable_quantity'?: number;
6924
+ readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
6925
+ readonly 'product_id'?: number;
6926
+ readonly 'quantity'?: number;
6927
+ readonly 'requires_shipping': boolean;
6928
+ readonly 'variant_id'?: number;
7045
6929
  }
7046
6930
 
7047
- interface ShopifyFulfillmentWrapper {
7048
- readonly 'fulfillment': io.flow.shopify.external.v0.models.ShopifyFulfillment;
6931
+ interface ShopifyWebhookShopRedact {
6932
+ readonly 'shop_id': number;
6933
+ readonly 'shop_domain': string;
7049
6934
  }
7050
6935
 
7051
- interface ShopifyGiftCard {
6936
+ interface SmartCollection {
7052
6937
  readonly 'id': number;
7053
- readonly 'balance': number;
7054
- readonly 'currency': string;
7055
- readonly 'initial_value': number;
7056
- readonly 'last_characters': string;
7057
- readonly 'created_at': string;
6938
+ readonly 'handle': string;
6939
+ readonly 'title': string;
7058
6940
  readonly 'updated_at': string;
7059
- readonly 'api_client_id'?: number;
7060
- readonly 'code'?: string;
7061
- readonly 'customer_id'?: number;
7062
- readonly 'disabled_at'?: string;
7063
- readonly 'expires_on'?: string;
7064
- readonly 'line_item_id'?: number;
7065
- readonly 'note'?: string;
7066
- readonly 'order_id'?: number;
7067
- readonly 'template_suffix'?: string;
7068
- readonly 'user_id'?: number;
7069
6941
  }
7070
6942
 
7071
- interface ShopifyGiftCardAdjustment {
7072
- readonly 'id': number;
7073
- readonly 'gift_card_id': number;
7074
- readonly 'number': number;
7075
- readonly 'amount': number;
6943
+ interface Webhook {
6944
+ readonly 'address': string;
7076
6945
  readonly 'created_at': string;
7077
- readonly 'processed_at': string;
7078
- readonly 'note'?: string;
7079
- readonly 'remote_transaction_ref'?: string;
7080
- readonly 'remote_transaction_url'?: string;
7081
- readonly 'api_client_id'?: number;
7082
- readonly 'user_id'?: number;
7083
- readonly 'order_transaction_id'?: number;
6946
+ readonly 'format': io.flow.shopify.external.v0.enums.Format;
6947
+ readonly 'id': number;
6948
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
6949
+ readonly 'updated_at': string;
6950
+ readonly 'fields'?: string[];
6951
+ readonly 'metafield_namespaces'?: string[];
7084
6952
  }
7085
6953
 
7086
- interface ShopifyGiftCardAdjustmentForm {
7087
- readonly 'amount': number;
7088
- readonly 'note'?: string;
7089
- readonly 'order_transaction_id'?: number;
7090
- readonly 'processed_at'?: string;
6954
+ interface WebhookForm {
6955
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
6956
+ readonly 'address': string;
6957
+ readonly 'format': io.flow.shopify.external.v0.enums.Format;
6958
+ readonly 'metafield_namespaces'?: string[];
7091
6959
  }
7092
6960
 
7093
- interface ShopifyGiftCardAdjustmentFormWrapper {
7094
- readonly 'adjustment': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
6961
+ interface WebhookFormWrapper {
6962
+ readonly 'webhook': io.flow.shopify.external.v0.models.WebhookForm;
7095
6963
  }
7096
6964
 
7097
- interface ShopifyGiftCardAdjustmentResponseWrapper {
7098
- readonly 'adjustment': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
6965
+ interface WebhookResponseList {
6966
+ readonly 'webhooks': io.flow.shopify.external.v0.models.Webhook[];
7099
6967
  }
7100
6968
 
7101
- interface ShopifyGiftCardAdjustmentsResponseWrapper {
7102
- readonly 'adjustments': io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment[];
6969
+ interface WebhookResponseSingle {
6970
+ readonly 'webhook': io.flow.shopify.external.v0.models.Webhook;
7103
6971
  }
6972
+ }
7104
6973
 
7105
- interface ShopifyGiftCardForm {
7106
- readonly 'initial_value': number;
7107
- readonly 'code'?: string;
7108
- readonly 'note'?: string;
7109
- readonly 'template_suffix'?: string;
6974
+ declare namespace io.flow.shopify.markets.v0.enums {
6975
+ type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
6976
+ type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
6977
+ type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
6978
+ type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
6979
+ type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
6980
+ type ShopifyOrderDiscountApplicationTargetType = 'line_item' | 'shipping_line';
6981
+ type ShopifyOrderDiscountApplicationType = 'automatic' | 'discount_code' | 'manual' | 'script';
6982
+ type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage';
6983
+ type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping';
6984
+ type ShopifyOrderFinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
6985
+ type ShopifyOrderFulfillmentShipmentStatus = 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure';
6986
+ type ShopifyOrderFulfillmentStatus = 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure';
6987
+ type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
6988
+ type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
6989
+ type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
6990
+ type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
6991
+ type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
6992
+ type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
6993
+ type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
6994
+ type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
6995
+ type ShopifyOrderValueType = 'string' | 'integer';
6996
+ type ShopifyWebhookFormat = 'json' | 'xml';
6997
+ type ShopifyWebhookTopic = 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'themes/create' | 'themes/publish' | 'themes/update';
6998
+ }
6999
+
7000
+ declare namespace io.flow.shopify.markets.v0.models {
7001
+ interface ResponseShopifyTransactions {
7002
+ readonly 'transactions': io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7110
7003
  }
7111
7004
 
7112
- interface ShopifyInventoryItem {
7113
- readonly 'id': number;
7114
- readonly 'tracked': boolean;
7115
- readonly 'sku'?: string;
7116
- readonly 'cost'?: string;
7117
- readonly 'country_code_of_origin'?: string;
7118
- readonly 'created_at': string;
7119
- readonly 'updated_at'?: string;
7005
+ interface ShopifyCountryHarmonizedSystemCode {
7006
+ readonly 'country_code': string;
7007
+ readonly 'harmonized_system_code': string;
7120
7008
  }
7121
7009
 
7122
- interface ShopifyInventoryItemDelete {
7123
- readonly 'id': number;
7010
+ interface ShopifyError {
7011
+ readonly 'errors': any/*object*/;
7124
7012
  }
7125
7013
 
7126
- interface ShopifyInventoryLevel {
7127
- readonly 'inventory_item_id': number;
7128
- readonly 'location_id': number;
7129
- readonly 'updated_at': string;
7130
- readonly 'available'?: number;
7014
+ interface ShopifyFulfillmentOrder {
7015
+ readonly 'assigned_location_id': number;
7016
+ readonly 'line_items': io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[];
7131
7017
  }
7132
7018
 
7133
- interface ShopifyInventoryLevelDisconnect {
7134
- readonly 'inventory_item_id': number;
7135
- readonly 'location_id': number;
7019
+ interface ShopifyFulfillmentOrderLineItem {
7020
+ readonly 'line_item_id': number;
7136
7021
  }
7137
7022
 
7138
- interface ShopifyInventoryLevelResponseWrapper {
7139
- readonly 'inventory_levels': io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
7023
+ interface ShopifyFulfillmentOrdersWrapper {
7024
+ readonly 'fulfillment_orders': io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrder[];
7140
7025
  }
7141
7026
 
7142
- interface ShopifyLineItem {
7027
+ interface ShopifyInventoryItem {
7143
7028
  readonly 'id': number;
7144
- readonly 'quantity': number;
7145
- readonly 'fulfillable_quantity'?: number;
7146
- readonly 'fulfillment_service': string;
7147
- readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7148
- readonly 'grams'?: number;
7149
- readonly 'price'?: string;
7150
- readonly 'product_id'?: number;
7029
+ readonly 'cost': number;
7030
+ readonly 'country_code_of_origin'?: string;
7031
+ readonly 'country_harmonized_system_codes'?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
7032
+ readonly 'harmonized_system_code'?: string;
7033
+ readonly 'province_code_of_origin'?: string;
7034
+ readonly 'sku': string;
7035
+ readonly 'tracked'?: boolean;
7151
7036
  readonly 'requires_shipping': boolean;
7152
- readonly 'sku'?: string;
7153
- readonly 'title'?: string;
7154
- readonly 'variant_id'?: number;
7155
- readonly 'variant_title'?: string;
7156
- readonly 'vendor'?: string;
7157
- readonly 'name'?: string;
7158
- readonly 'gift_card': boolean;
7159
- readonly 'properties': io.flow.shopify.external.v0.models.ShopifyProperty[];
7160
- readonly 'taxable': boolean;
7161
- readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7162
- readonly 'total_discount'?: string;
7037
+ readonly 'created_at': string;
7038
+ readonly 'updated_at': string;
7163
7039
  }
7164
7040
 
7165
- interface ShopifyLineItemForm {
7166
- readonly 'fulfillable_quantity'?: number;
7167
- readonly 'fulfillment_service': string;
7168
- readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7169
- readonly 'grams'?: number;
7170
- readonly 'price'?: string;
7171
- readonly 'product_id'?: number;
7172
- readonly 'quantity'?: number;
7173
- readonly 'requires_shipping': boolean;
7174
- readonly 'sku'?: string;
7175
- readonly 'title'?: string;
7176
- readonly 'variant_id'?: number;
7177
- readonly 'variant_title'?: string;
7178
- readonly 'vendor'?: string;
7179
- readonly 'name'?: string;
7180
- readonly 'gift_card': boolean;
7181
- readonly 'properties'?: io.flow.shopify.external.v0.models.ShopifyProperty[];
7182
- readonly 'taxable': boolean;
7183
- readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7184
- readonly 'total_discount'?: string;
7185
- readonly 'id'?: number;
7041
+ interface ShopifyInventoryItemForm {
7042
+ readonly 'harmonized_system_code'?: string;
7043
+ readonly 'country_harmonized_system_codes'?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
7186
7044
  }
7187
7045
 
7188
- interface ShopifyLineLevelDiscountAllocation {
7189
- readonly 'amount': number;
7190
- readonly 'discount_application': io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
7046
+ interface ShopifyInventoryItemFormWrapper {
7047
+ readonly 'inventory_item': io.flow.shopify.markets.v0.models.ShopifyInventoryItemForm;
7048
+ }
7049
+
7050
+ interface ShopifyInventoryItemWrapper {
7051
+ readonly 'inventory_item': io.flow.shopify.markets.v0.models.ShopifyInventoryItem;
7052
+ }
7053
+
7054
+ interface ShopifyInventoryItemsWrapper {
7055
+ readonly 'inventory_items': io.flow.shopify.markets.v0.models.ShopifyInventoryItem[];
7191
7056
  }
7192
7057
 
7193
7058
  interface ShopifyLocation {
@@ -7210,84 +7075,290 @@ declare namespace io.flow.shopify.external.v0.models {
7210
7075
  readonly 'localized_province_name'?: string;
7211
7076
  }
7212
7077
 
7213
- interface ShopifyLocationDelete {
7214
- readonly 'id': number;
7215
- }
7216
-
7217
7078
  interface ShopifyLocationsResponseWrapper {
7218
- readonly 'locations': io.flow.shopify.external.v0.models.ShopifyLocation[];
7079
+ readonly 'locations': io.flow.shopify.markets.v0.models.ShopifyLocation[];
7219
7080
  }
7220
7081
 
7221
7082
  interface ShopifyOrder {
7222
- readonly 'billing_address'?: io.flow.shopify.external.v0.models.ShopifyAddress;
7083
+ readonly 'id': number;
7084
+ readonly 'order_number': number;
7085
+ readonly 'checkout_id': number;
7086
+ readonly 'checkout_token': string;
7087
+ readonly 'billing_address'?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7223
7088
  readonly 'browser_ip'?: string;
7224
7089
  readonly 'buyer_accepts_marketing': boolean;
7225
- readonly 'cancel_reason'?: io.flow.shopify.external.v0.enums.CancelReason;
7090
+ readonly 'cancel_reason'?: io.flow.shopify.markets.v0.enums.ShopifyOrderCancelReason;
7226
7091
  readonly 'cancelled_at'?: string;
7227
7092
  readonly 'cart_token'?: string;
7228
- readonly 'client_details'?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
7093
+ readonly 'client_details'?: io.flow.shopify.markets.v0.models.ShopifyOrderClientDetail;
7229
7094
  readonly 'closed_at'?: string;
7230
- readonly 'created_at'?: string;
7231
- readonly 'currency'?: string;
7232
- readonly 'customer'?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
7233
- readonly 'discount_codes': io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
7095
+ readonly 'created_at': string;
7096
+ readonly 'currency': string;
7097
+ readonly 'total_discounts_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7098
+ readonly 'current_total_discounts_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7099
+ readonly 'total_duties_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7100
+ readonly 'current_total_duties_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7101
+ readonly 'original_total_duties_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7102
+ readonly 'total_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7103
+ readonly 'current_total_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7104
+ readonly 'subtotal_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7105
+ readonly 'current_subtotal_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7106
+ readonly 'total_tax_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7107
+ readonly 'current_total_tax_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7108
+ readonly 'total_line_items_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7109
+ readonly 'customer': io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
7110
+ readonly 'customer_locale'?: string;
7111
+ readonly 'discount_applications': io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[];
7112
+ readonly 'discount_codes': io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[];
7234
7113
  readonly 'email'?: string;
7235
- readonly 'financial_status': io.flow.shopify.external.v0.enums.FinancialStatusType;
7236
- readonly 'fulfillments': io.flow.shopify.external.v0.models.ShopifyFulfillment[];
7237
- readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7238
- readonly 'id'?: number;
7114
+ readonly 'financial_status': io.flow.shopify.markets.v0.enums.ShopifyOrderFinancialStatusType;
7115
+ readonly 'fulfillments': io.flow.shopify.markets.v0.models.ShopifyOrderFulfillment[];
7116
+ readonly 'fulfillment_status'?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
7239
7117
  readonly 'landing_site'?: string;
7240
- readonly 'line_items': io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
7118
+ readonly 'line_items': io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
7241
7119
  readonly 'location_id'?: number;
7242
- readonly 'name'?: string;
7120
+ readonly 'name': string;
7243
7121
  readonly 'note'?: string;
7244
- readonly 'note_attributes': io.flow.shopify.external.v0.models.ShopifyAttribute[];
7122
+ readonly 'note_attributes': io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
7245
7123
  readonly 'number'?: number;
7246
- readonly 'order_number'?: number;
7247
7124
  readonly 'payment_gateway_names': string[];
7248
7125
  readonly 'processed_at'?: string;
7249
- readonly 'processing_method'?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
7126
+ readonly 'processing_method'?: io.flow.shopify.markets.v0.enums.ShopifyOrderProcessingMethodType;
7250
7127
  readonly 'referring_site'?: string;
7251
- readonly 'refunds': io.flow.shopify.external.v0.models.ShopifyRefund[];
7252
- readonly 'shipping_address'?: io.flow.shopify.external.v0.models.ShopifyAddress;
7253
- readonly 'shipping_lines': io.flow.shopify.external.v0.models.ShopifyShippingLine[];
7128
+ readonly 'refunds': io.flow.shopify.markets.v0.models.ShopifyOrderRefund[];
7129
+ readonly 'shipping_address'?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7130
+ readonly 'shipping_lines': io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
7254
7131
  readonly 'source_name'?: string;
7255
- readonly 'subtotal_price'?: string;
7256
7132
  readonly 'tags'?: string;
7257
- readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7133
+ readonly 'tax_lines': io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7258
7134
  readonly 'taxes_included': boolean;
7259
7135
  readonly 'token'?: string;
7260
- readonly 'total_discounts'?: string;
7261
- readonly 'total_line_items_price'?: string;
7262
- readonly 'total_price'?: string;
7263
- readonly 'total_tax'?: string;
7264
7136
  readonly 'total_weight'?: number;
7265
7137
  readonly 'updated_at'?: string;
7266
7138
  readonly 'user_id'?: number;
7267
7139
  readonly 'order_status_url'?: string;
7268
- readonly 'inventory_behaviour'?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
7140
+ readonly 'inventory_behaviour'?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
7269
7141
  readonly 'gateway'?: string;
7270
- readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
7142
+ readonly 'transactions'?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7271
7143
  readonly 'send_receipt'?: boolean;
7272
- readonly 'metafields'?: io.flow.shopify.external.v0.models.MetafieldForm[];
7144
+ readonly 'metafields'?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
7273
7145
  }
7274
7146
 
7275
- interface ShopifyOrderCount {
7276
- readonly 'count': number;
7147
+ interface ShopifyOrderAddress {
7148
+ readonly 'id'?: number;
7149
+ readonly 'address1'?: string;
7150
+ readonly 'address2'?: string;
7151
+ readonly 'city'?: string;
7152
+ readonly 'company'?: string;
7153
+ readonly 'country'?: string;
7154
+ readonly 'country_code'?: string;
7155
+ readonly 'default'?: boolean;
7156
+ readonly 'first_name'?: string;
7157
+ readonly 'last_name'?: string;
7158
+ readonly 'latitude'?: number;
7159
+ readonly 'longitude'?: number;
7160
+ readonly 'name'?: string;
7161
+ readonly 'phone'?: string;
7162
+ readonly 'province'?: string;
7163
+ readonly 'province_code'?: string;
7164
+ readonly 'zip'?: string;
7165
+ }
7166
+
7167
+ interface ShopifyOrderAttribute {
7168
+ readonly 'name': string;
7169
+ readonly 'value': string;
7170
+ }
7171
+
7172
+ interface ShopifyOrderCancellationForm {
7173
+ readonly 'refund': io.flow.shopify.markets.v0.models.ShopifyRefund;
7174
+ }
7175
+
7176
+ interface ShopifyOrderClientDetail {
7177
+ readonly 'accept_language'?: string;
7178
+ readonly 'browser_height'?: number;
7179
+ readonly 'browser_ip'?: string;
7180
+ readonly 'browser_width'?: number;
7181
+ readonly 'session_hash'?: string;
7182
+ readonly 'user_agent'?: string;
7277
7183
  }
7278
7184
 
7279
7185
  interface ShopifyOrderCustomer {
7186
+ readonly 'id'?: number;
7280
7187
  readonly 'email'?: string;
7188
+ readonly 'accepts_marketing'?: boolean;
7189
+ readonly 'created_at'?: string;
7190
+ readonly 'updated_at'?: string;
7281
7191
  readonly 'first_name'?: string;
7282
7192
  readonly 'last_name'?: string;
7193
+ readonly 'orders_count'?: number;
7194
+ readonly 'state'?: string;
7195
+ readonly 'total_spent'?: string;
7196
+ readonly 'last_order_id'?: number;
7197
+ readonly 'note'?: string;
7198
+ readonly 'verified_email'?: boolean;
7199
+ readonly 'multipass_identifier'?: string;
7200
+ readonly 'tax_exempt'?: boolean;
7201
+ readonly 'tax_exemptions'?: any/*json*/[];
7283
7202
  readonly 'phone'?: string;
7203
+ readonly 'tags'?: string;
7204
+ readonly 'last_order_name'?: string;
7205
+ readonly 'currency'?: string;
7206
+ readonly 'addresses'?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7207
+ readonly 'default_address'?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7284
7208
  }
7285
7209
 
7286
- interface ShopifyOrderWrapper {
7287
- readonly 'order': io.flow.shopify.external.v0.models.ShopifyOrder;
7210
+ interface ShopifyOrderDiscountAllocation {
7211
+ readonly 'amount': string;
7212
+ readonly 'discount_application_index': number;
7213
+ readonly 'amount_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7288
7214
  }
7289
7215
 
7290
- interface ShopifyPaymentDetail {
7216
+ interface ShopifyOrderDiscountApplication {
7217
+ readonly 'type': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationType;
7218
+ readonly 'allocation_method': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountAllocationMethod;
7219
+ readonly 'code'?: string;
7220
+ readonly 'description'?: string;
7221
+ readonly 'target_selection': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetSelection;
7222
+ readonly 'target_type': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetType;
7223
+ readonly 'title'?: string;
7224
+ readonly 'value': string;
7225
+ readonly 'value_type': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationValueType;
7226
+ }
7227
+
7228
+ interface ShopifyOrderDiscountCode {
7229
+ readonly 'amount': string;
7230
+ readonly 'code': string;
7231
+ readonly 'type': io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountType;
7232
+ }
7233
+
7234
+ interface ShopifyOrderDuty {
7235
+ readonly 'id': string;
7236
+ readonly 'harmonized_system_code': string;
7237
+ readonly 'country_code_of_origin': string;
7238
+ readonly 'presentment_money': io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
7239
+ readonly 'shop_money': io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
7240
+ readonly 'tax_lines': io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7241
+ }
7242
+
7243
+ interface ShopifyOrderEdit {
7244
+ readonly 'id': number;
7245
+ readonly 'created_at': string;
7246
+ readonly 'notify_customer': boolean;
7247
+ readonly 'order_id': number;
7248
+ readonly 'staff_note': string;
7249
+ readonly 'user_id'?: number;
7250
+ readonly 'line_items': io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItems;
7251
+ readonly 'discounts': any/*object*/;
7252
+ readonly 'shipping_lines': any/*object*/;
7253
+ }
7254
+
7255
+ interface ShopifyOrderEditLineItems {
7256
+ readonly 'additions': io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
7257
+ readonly 'removals': io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[];
7258
+ }
7259
+
7260
+ interface ShopifyOrderEditLineItemsChange {
7261
+ readonly 'id': number;
7262
+ readonly 'delta': number;
7263
+ }
7264
+
7265
+ interface ShopifyOrderEditWrapper {
7266
+ readonly 'order_edit': io.flow.shopify.markets.v0.models.ShopifyOrderEdit;
7267
+ }
7268
+
7269
+ interface ShopifyOrderFulfillment {
7270
+ readonly 'created_at'?: string;
7271
+ readonly 'id'?: number;
7272
+ readonly 'line_items': io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
7273
+ readonly 'location_id': number;
7274
+ readonly 'name': string;
7275
+ readonly 'notify_customer'?: boolean;
7276
+ readonly 'order_id'?: number;
7277
+ readonly 'receipt'?: any/*object*/;
7278
+ readonly 'service': string;
7279
+ readonly 'shipment_status'?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentShipmentStatus;
7280
+ readonly 'status'?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatus;
7281
+ readonly 'tracking_company'?: string;
7282
+ readonly 'tracking_number'?: string;
7283
+ readonly 'tracking_numbers'?: string[];
7284
+ readonly 'tracking_urls'?: string[];
7285
+ readonly 'updated_at'?: string;
7286
+ readonly 'variant_inventory_management'?: string;
7287
+ }
7288
+
7289
+ interface ShopifyOrderLineItem {
7290
+ readonly 'fulfillable_quantity'?: number;
7291
+ readonly 'fulfillment_service': string;
7292
+ readonly 'fulfillment_status'?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType;
7293
+ readonly 'grams'?: number;
7294
+ readonly 'id': number;
7295
+ readonly 'price'?: string;
7296
+ readonly 'price_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7297
+ readonly 'product_id'?: number;
7298
+ readonly 'quantity': number;
7299
+ readonly 'requires_shipping': boolean;
7300
+ readonly 'sku'?: string;
7301
+ readonly 'title'?: string;
7302
+ readonly 'variant_id'?: number;
7303
+ readonly 'variant_title'?: string;
7304
+ readonly 'vendor'?: string;
7305
+ readonly 'name'?: string;
7306
+ readonly 'gift_card': boolean;
7307
+ readonly 'properties': io.flow.shopify.markets.v0.models.ShopifyOrderProperty[];
7308
+ readonly 'taxable': boolean;
7309
+ readonly 'tax_lines': io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7310
+ readonly 'tip_payment_gateway'?: string;
7311
+ readonly 'tip_payment_method'?: string;
7312
+ readonly 'total_discount'?: string;
7313
+ readonly 'total_discount_set'?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7314
+ readonly 'discount_allocations'?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[];
7315
+ readonly 'origin_location'?: io.flow.shopify.markets.v0.models.ShopifyOrderOriginLocation;
7316
+ readonly 'variant_inventory_management'?: string;
7317
+ readonly 'product_exists'?: boolean;
7318
+ readonly 'duties': io.flow.shopify.markets.v0.models.ShopifyOrderDuty[];
7319
+ }
7320
+
7321
+ interface ShopifyOrderMetafield {
7322
+ readonly 'id': number;
7323
+ readonly 'key': string;
7324
+ readonly 'namespace': string;
7325
+ readonly 'value': string;
7326
+ readonly 'value_type': io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
7327
+ readonly 'description'?: string;
7328
+ readonly 'owner_id': number;
7329
+ readonly 'owner_resource': string;
7330
+ }
7331
+
7332
+ interface ShopifyOrderMetafieldForm {
7333
+ readonly 'key': string;
7334
+ readonly 'namespace': string;
7335
+ readonly 'value': string;
7336
+ readonly 'value_type': io.flow.shopify.markets.v0.enums.ShopifyOrderValueType;
7337
+ readonly 'description'?: string;
7338
+ }
7339
+
7340
+ interface ShopifyOrderMoney {
7341
+ readonly 'amount': number;
7342
+ readonly 'currency_code': string;
7343
+ }
7344
+
7345
+ interface ShopifyOrderMoneySet {
7346
+ readonly 'shop_money': io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
7347
+ readonly 'presentment_money': io.flow.shopify.markets.v0.models.ShopifyOrderMoney;
7348
+ }
7349
+
7350
+ interface ShopifyOrderOriginLocation {
7351
+ readonly 'id': number;
7352
+ readonly 'country_code': string;
7353
+ readonly 'province_code': string;
7354
+ readonly 'name': string;
7355
+ readonly 'address1': string;
7356
+ readonly 'address2': string;
7357
+ readonly 'city': string;
7358
+ readonly 'zip': string;
7359
+ }
7360
+
7361
+ interface ShopifyOrderPaymentDetail {
7291
7362
  readonly 'avs_result_code'?: string;
7292
7363
  readonly 'credit_card_bin'?: string;
7293
7364
  readonly 'credit_card_company': string;
@@ -7295,174 +7366,140 @@ declare namespace io.flow.shopify.external.v0.models {
7295
7366
  readonly 'cvv_result_code'?: string;
7296
7367
  }
7297
7368
 
7298
- interface ShopifyProperty {
7369
+ interface ShopifyOrderProperty {
7299
7370
  readonly 'name': string;
7300
7371
  readonly 'value': any/*json*/;
7301
7372
  }
7302
7373
 
7303
- interface ShopifyRefund {
7374
+ interface ShopifyOrderRefund {
7304
7375
  readonly 'id': number;
7305
7376
  readonly 'order_id': number;
7306
7377
  readonly 'created_at': string;
7307
7378
  readonly 'processed_at': string;
7308
7379
  readonly 'note'?: string;
7309
- readonly 'refund_line_items'?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
7380
+ readonly 'refund_line_items'?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[];
7310
7381
  readonly 'restock'?: boolean;
7311
- readonly 'transactions'?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
7382
+ readonly 'transactions'?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7312
7383
  readonly 'user_id'?: number;
7313
7384
  }
7314
7385
 
7315
- interface ShopifyRefundForm {
7316
- readonly 'note'?: string;
7317
- readonly 'discrepancy_reason'?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
7318
- readonly 'refund_line_items': io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
7319
- readonly 'transactions': io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
7320
- readonly 'currency': string;
7321
- }
7322
-
7323
- interface ShopifyRefundLineItem {
7386
+ interface ShopifyOrderRefundLineItem {
7324
7387
  readonly 'id': number;
7325
- readonly 'line_item': io.flow.shopify.external.v0.models.ShopifyLineItem;
7388
+ readonly 'line_item': io.flow.shopify.markets.v0.models.ShopifyOrderLineItem;
7326
7389
  readonly 'line_item_id': number;
7327
7390
  readonly 'quantity': number;
7328
- readonly 'restock_type': io.flow.shopify.external.v0.enums.RestockType;
7391
+ readonly 'restock_type': io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
7329
7392
  readonly 'location_id'?: number;
7330
7393
  readonly 'subtotal'?: number;
7331
7394
  readonly 'total_tax'?: number;
7332
7395
  }
7333
7396
 
7334
- interface ShopifyRefundLineItemForm {
7335
- readonly 'line_item_id': number;
7336
- readonly 'quantity': number;
7337
- readonly 'restock_type': io.flow.shopify.external.v0.enums.RestockType;
7338
- readonly 'location_id'?: number;
7339
- }
7340
-
7341
- interface ShopifyShippingLine {
7342
- readonly 'code': string;
7397
+ interface ShopifyOrderShippingLine {
7398
+ readonly 'code'?: string;
7343
7399
  readonly 'price': string;
7344
7400
  readonly 'source': string;
7345
7401
  readonly 'title': string;
7346
- readonly 'tax_lines': io.flow.shopify.external.v0.models.ShopifyTaxLine[];
7402
+ readonly 'tax_lines': io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7347
7403
  readonly 'carrier_identifier'?: string;
7348
7404
  readonly 'requested_fulfillment_service_id'?: string;
7405
+ readonly 'price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7406
+ readonly 'discounted_price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7349
7407
  }
7350
7408
 
7351
- interface ShopifyTaxLine {
7352
- readonly 'price': string;
7409
+ interface ShopifyOrderTaxLine {
7410
+ readonly 'price_set': io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7353
7411
  readonly 'rate': number;
7354
7412
  readonly 'title': string;
7355
7413
  }
7356
7414
 
7357
- interface ShopifyTransaction {
7415
+ interface ShopifyOrderTransaction {
7358
7416
  readonly 'id': number;
7359
7417
  readonly 'order_id': number;
7360
7418
  readonly 'amount': number;
7361
- readonly 'kind': io.flow.shopify.external.v0.enums.KindType;
7419
+ readonly 'kind': io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
7362
7420
  readonly 'gateway': string;
7363
7421
  readonly 'currency': string;
7364
- readonly 'status': io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
7365
- readonly 'payment_details'?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
7422
+ readonly 'status': io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
7423
+ readonly 'payment_details'?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
7366
7424
  readonly 'receipt': any/*object*/;
7367
7425
  readonly 'authorization'?: string;
7368
7426
  readonly 'created_at': string;
7369
7427
  readonly 'device_id'?: number;
7370
7428
  readonly 'gift_card_id'?: number;
7371
7429
  readonly 'source_name': string;
7372
- readonly 'error_code'?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
7430
+ readonly 'error_code'?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode;
7373
7431
  readonly 'test': boolean;
7374
7432
  readonly 'parent_id'?: number;
7375
7433
  readonly 'user_id'?: number;
7376
7434
  }
7377
7435
 
7378
- interface ShopifyTransactionForm {
7379
- readonly 'amount': number;
7380
- readonly 'currency': string;
7381
- readonly 'gateway': string;
7382
- readonly 'kind': io.flow.shopify.external.v0.enums.KindType;
7383
- readonly 'source': string;
7384
- readonly 'authorization'?: string;
7385
- readonly 'gift_card_id'?: number;
7386
- readonly 'parent_id'?: number;
7387
- readonly 'receipt'?: any/*object*/;
7436
+ interface ShopifyOrderWrapper {
7437
+ readonly 'order': io.flow.shopify.markets.v0.models.ShopifyOrder;
7388
7438
  }
7389
7439
 
7390
- interface ShopifyTransactionGiftCardReceipt {
7391
- readonly 'gift_card_id': number;
7392
- readonly 'gift_card_last_characters': string;
7440
+ interface ShopifyOrdersWrapper {
7441
+ readonly 'orders': io.flow.shopify.markets.v0.models.ShopifyOrder[];
7393
7442
  }
7394
7443
 
7395
- interface ShopifyWebhookCustomersRedact {
7396
- readonly 'shop_id': number;
7397
- readonly 'shop_domain': string;
7398
- readonly 'customer': io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
7399
- readonly 'orders_to_redact'?: number[];
7444
+ interface ShopifyRefund {
7445
+ readonly 'notify_x': boolean;
7446
+ readonly 'note'?: string;
7447
+ readonly 'discrepancy_reason'?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason;
7448
+ readonly 'shipping': io.flow.shopify.markets.v0.models.ShopifyRefundShipping;
7449
+ readonly 'refund_line_items': io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[];
7450
+ readonly 'transactions': io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[];
7451
+ readonly 'currency': string;
7400
7452
  }
7401
7453
 
7402
- interface ShopifyWebhookCustomersRedactCustomer {
7403
- readonly 'id': number;
7404
- readonly 'email'?: string;
7405
- readonly 'phone'?: string;
7454
+ interface ShopifyRefundLineItem {
7455
+ readonly 'line_item_id': number;
7456
+ readonly 'quantity': number;
7457
+ readonly 'restock_type': io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType;
7458
+ readonly 'location_id'?: number;
7406
7459
  }
7407
7460
 
7408
- interface ShopifyWebhookOrder {
7409
- readonly 'id'?: number;
7410
- readonly 'line_items'?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
7461
+ interface ShopifyRefundShipping {
7462
+ readonly 'full_refund'?: boolean;
7463
+ readonly 'amount'?: number;
7411
7464
  }
7412
7465
 
7413
- interface ShopifyWebhookOrderCancelled {
7414
- readonly 'id': number;
7466
+ interface ShopifyRefundTransaction {
7467
+ readonly 'parent_id': number;
7468
+ readonly 'amount': string;
7469
+ readonly 'currency': string;
7470
+ readonly 'kind': string;
7471
+ readonly 'gateway': string;
7415
7472
  }
7416
7473
 
7417
- interface ShopifyWebhookOrderLineItem {
7418
- readonly 'fulfillable_quantity'?: number;
7419
- readonly 'fulfillment_status'?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
7420
- readonly 'product_id'?: number;
7421
- readonly 'quantity'?: number;
7422
- readonly 'requires_shipping': boolean;
7423
- readonly 'variant_id'?: number;
7474
+ interface ShopifyWebhookRequest {
7475
+ readonly 'topic': io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
7476
+ readonly 'address': string;
7477
+ readonly 'format': io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
7424
7478
  }
7425
7479
 
7426
- interface ShopifyWebhookShopRedact {
7427
- readonly 'shop_id': number;
7428
- readonly 'shop_domain': string;
7480
+ interface ShopifyWebhookRequestWrapper {
7481
+ readonly 'webhook': io.flow.shopify.markets.v0.models.ShopifyWebhookRequest;
7429
7482
  }
7430
7483
 
7431
- interface SmartCollection {
7484
+ interface ShopifyWebhookResponse {
7432
7485
  readonly 'id': number;
7433
- readonly 'handle': string;
7434
- readonly 'title': string;
7435
- readonly 'updated_at': string;
7436
- }
7437
-
7438
- interface Webhook {
7439
7486
  readonly 'address': string;
7487
+ readonly 'topic': io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
7440
7488
  readonly 'created_at': string;
7441
- readonly 'format': io.flow.shopify.external.v0.enums.Format;
7442
- readonly 'id': number;
7443
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
7444
7489
  readonly 'updated_at': string;
7445
- readonly 'fields'?: string[];
7446
- readonly 'metafield_namespaces'?: string[];
7447
- }
7448
-
7449
- interface WebhookForm {
7450
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
7451
- readonly 'address': string;
7452
- readonly 'format': io.flow.shopify.external.v0.enums.Format;
7453
- readonly 'metafield_namespaces'?: string[];
7454
- }
7455
-
7456
- interface WebhookFormWrapper {
7457
- readonly 'webhook': io.flow.shopify.external.v0.models.WebhookForm;
7490
+ readonly 'format': io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat;
7491
+ readonly 'fields': any/*json*/[];
7492
+ readonly 'metafield_namespaces': any/*json*/[];
7493
+ readonly 'api_version': string;
7494
+ readonly 'private_metafield_namespaces': any/*json*/[];
7458
7495
  }
7459
7496
 
7460
- interface WebhookResponseList {
7461
- readonly 'webhooks': io.flow.shopify.external.v0.models.Webhook[];
7497
+ interface ShopifyWebhookResponseWrapper {
7498
+ readonly 'webhook': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
7462
7499
  }
7463
7500
 
7464
- interface WebhookResponseSingle {
7465
- readonly 'webhook': io.flow.shopify.external.v0.models.Webhook;
7501
+ interface ShopifyWebhooksResponseWrapper {
7502
+ readonly 'webhooks': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
7466
7503
  }
7467
7504
  }
7468
7505
 
@@ -7663,32 +7700,21 @@ declare namespace io.flow.svb.v0.models {
7663
7700
  }
7664
7701
 
7665
7702
  declare namespace io.flow.payment.gateway.v0.enums {
7703
+ type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
7704
+ type PaymentActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
7666
7705
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error';
7667
7706
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
7668
7707
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'afterpay';
7669
- type SupportedActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
7670
7708
  }
7671
7709
 
7672
7710
  declare namespace io.flow.payment.gateway.v0.models {
7673
- interface ActionAddPaymentMethod {
7674
- readonly 'type': 'add_payment_method';
7675
- readonly 'expires_at'?: string;
7676
- readonly 'available_payment_methods': io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
7677
- }
7678
-
7679
- interface ActionCapture {
7680
- readonly 'type': 'capture';
7681
- readonly 'expires_at'?: string;
7682
- readonly 'amount_awaiting_capture': number;
7683
- readonly 'currency': string;
7684
- }
7685
-
7686
7711
  interface ActionDisplayInlineWindow {
7687
7712
  readonly 'type': 'display_inline_window';
7688
7713
  readonly 'expires_at'?: string;
7689
7714
  readonly 'method': string;
7690
7715
  readonly 'url': string;
7691
7716
  readonly 'data'?: any/*object*/;
7717
+ readonly 'window_size'?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize;
7692
7718
  }
7693
7719
 
7694
7720
  interface ActionExecuteScript {
@@ -7729,13 +7755,13 @@ declare namespace io.flow.payment.gateway.v0.models {
7729
7755
  readonly 'type': 'use_sdk_applepay_js_create_session';
7730
7756
  readonly 'expires_at'?: string;
7731
7757
  readonly 'merchant_identifier': string;
7732
- readonly 'payment_data_request': any/*object*/;
7758
+ readonly 'payment_data_request': io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
7733
7759
  }
7734
7760
 
7735
7761
  interface ActionUseSdkGooglepay {
7736
7762
  readonly 'type': 'use_sdk_googlepay';
7737
7763
  readonly 'expires_at'?: string;
7738
- readonly 'payment_data_request': any/*object*/;
7764
+ readonly 'payment_data_request': io.flow.google.pay.v0.models.PaymentDataRequest;
7739
7765
  }
7740
7766
 
7741
7767
  interface ActionUseSdkKlarnaV1 {
@@ -7785,19 +7811,23 @@ declare namespace io.flow.payment.gateway.v0.models {
7785
7811
 
7786
7812
  interface BrowserDetails {
7787
7813
  readonly 'type': 'browser';
7788
- readonly 'origin'?: string;
7789
- readonly 'language'?: string;
7790
- readonly 'java_enabled'?: boolean;
7791
- readonly 'color_depth'?: number;
7792
- readonly 'screen_height'?: number;
7793
- readonly 'screen_width'?: number;
7794
- readonly 'time_zone_offset'?: number;
7814
+ readonly 'origin': string;
7815
+ readonly 'language': string;
7816
+ readonly 'java_enabled': boolean;
7817
+ readonly 'color_depth': number;
7818
+ readonly 'screen_height': number;
7819
+ readonly 'screen_width': number;
7820
+ readonly 'time_zone_offset': number;
7795
7821
  readonly 'user_agent'?: string;
7796
7822
  readonly 'accept'?: string;
7797
7823
  }
7798
7824
 
7799
7825
  interface OrderDetails {
7800
7826
  readonly 'line_items': io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
7827
+ readonly 'shipping'?: io.flow.payment.gateway.v0.models.Shipping;
7828
+ readonly 'discounts'?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
7829
+ readonly 'tax'?: io.flow.payment.gateway.v0.models.PaymentTax;
7830
+ readonly 'duty'?: io.flow.payment.gateway.v0.models.PaymentDuty;
7801
7831
  }
7802
7832
 
7803
7833
  interface OrderInformationDetails {
@@ -7855,18 +7885,57 @@ declare namespace io.flow.payment.gateway.v0.models {
7855
7885
  readonly 'reason'?: io.flow.payment.v0.enums.CaptureDeclineCode;
7856
7886
  }
7857
7887
 
7888
+ interface PaymentDiscount {
7889
+ readonly 'amount': number;
7890
+ readonly 'name'?: string;
7891
+ readonly 'code'?: string;
7892
+ }
7893
+
7894
+ interface PaymentDuty {
7895
+ readonly 'amount': number;
7896
+ readonly 'name'?: string;
7897
+ }
7898
+
7858
7899
  interface PaymentFailure {
7859
7900
  readonly 'authorization_id'?: string;
7860
7901
  readonly 'failure_code': io.flow.payment.gateway.v0.enums.PaymentFailureCode;
7861
7902
  readonly 'failure_message': string;
7862
7903
  }
7863
7904
 
7905
+ interface PaymentInformation {
7906
+ readonly 'amount_refundable'?: number;
7907
+ readonly 'amount_refunded'?: number;
7908
+ readonly 'refundable_before'?: string;
7909
+ readonly 'amount_capturable'?: number;
7910
+ readonly 'amount_captured'?: number;
7911
+ readonly 'capturable_before'?: string;
7912
+ readonly 'authorizations': io.flow.payment.gateway.v0.models.PaymentAuthorization[];
7913
+ }
7914
+
7864
7915
  interface PaymentMethodBrand {
7865
7916
  readonly 'id': string;
7866
7917
  readonly 'name': string;
7867
7918
  readonly 'images': io.flow.reference.v0.models.PaymentMethodImages;
7868
7919
  }
7869
7920
 
7921
+ interface PaymentMethodCardNumberCipher {
7922
+ readonly 'type': 'cipher';
7923
+ readonly 'cipher': string;
7924
+ }
7925
+
7926
+ interface PaymentMethodCardNumberCleartext {
7927
+ readonly 'type': 'cleartext';
7928
+ readonly 'number': string;
7929
+ }
7930
+
7931
+ interface PaymentMethodCardPciDetails {
7932
+ readonly 'type': 'card_pci_details';
7933
+ readonly 'card_number': io.flow.payment.gateway.v0.unions.CardNumber;
7934
+ readonly 'expiration_month': number;
7935
+ readonly 'expiration_year': number;
7936
+ readonly 'name': string;
7937
+ }
7938
+
7870
7939
  interface PaymentMethodCardToken {
7871
7940
  readonly 'type': 'token';
7872
7941
  readonly 'token': string;
@@ -7950,6 +8019,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7950
8019
  readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
7951
8020
  readonly 'last_four': string;
7952
8021
  readonly 'card_type': io.flow.payment.v0.enums.CardType;
8022
+ readonly 'id': string;
7953
8023
  }
7954
8024
 
7955
8025
  interface PaymentMethodSummaryGooglepay {
@@ -7974,13 +8044,16 @@ declare namespace io.flow.payment.gateway.v0.models {
7974
8044
  }
7975
8045
 
7976
8046
  interface PaymentOrderDetailsLineItem {
8047
+ readonly 'id': string;
7977
8048
  readonly 'description': string;
7978
8049
  readonly 'quantity': number;
7979
- readonly 'amount_excluding_tax_and_duty': number;
7980
- readonly 'tax_amount'?: number;
7981
- readonly 'duty_amount'?: number;
8050
+ readonly 'amount': number;
8051
+ readonly 'tax'?: io.flow.payment.gateway.v0.models.PaymentTax;
8052
+ readonly 'duty'?: io.flow.payment.gateway.v0.models.PaymentDuty;
7982
8053
  readonly 'product_url'?: string;
7983
8054
  readonly 'image_url'?: string;
8055
+ readonly 'category'?: string;
8056
+ readonly 'discounts'?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
7984
8057
  }
7985
8058
 
7986
8059
  interface PaymentPaymentMethod {
@@ -7990,7 +8063,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7990
8063
  readonly 'brands': io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
7991
8064
  readonly 'merchant_of_record': io.flow.common.v0.enums.MerchantOfRecord;
7992
8065
  readonly 'images': io.flow.reference.v0.models.PaymentMethodImages;
7993
- readonly 'possible_actions': io.flow.payment.gateway.v0.enums.SupportedActionType[];
8066
+ readonly 'possible_actions': io.flow.payment.gateway.v0.enums.PaymentActionType[];
7994
8067
  }
7995
8068
 
7996
8069
  interface PaymentRefund {
@@ -8015,18 +8088,19 @@ declare namespace io.flow.payment.gateway.v0.models {
8015
8088
  interface PaymentRequest {
8016
8089
  readonly 'id': string;
8017
8090
  readonly 'status': io.flow.payment.gateway.v0.enums.PaymentStatus;
8091
+ readonly 'available_payment_methods': io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
8018
8092
  readonly 'last_payment_failure'?: io.flow.payment.gateway.v0.models.PaymentFailure;
8019
8093
  readonly 'next_action'?: io.flow.payment.gateway.v0.unions.Action;
8020
8094
  readonly 'amount': number;
8021
- readonly 'amount_refundable'?: number;
8022
8095
  readonly 'currency': string;
8023
8096
  readonly 'order_information': io.flow.payment.gateway.v0.unions.OrderInformation;
8024
8097
  readonly 'ip'?: string;
8098
+ readonly 'locale'?: string;
8025
8099
  readonly 'return_url': string;
8026
8100
  readonly 'attributes'?: Record<string, string>;
8027
8101
  readonly 'reference'?: string;
8028
- readonly 'authorizations': io.flow.payment.gateway.v0.models.PaymentAuthorization[];
8029
- readonly 'supported_actions': io.flow.payment.gateway.v0.enums.SupportedActionType[];
8102
+ readonly 'payment_information': io.flow.payment.gateway.v0.models.PaymentInformation;
8103
+ readonly 'supported_actions': io.flow.payment.gateway.v0.enums.PaymentActionType[];
8030
8104
  }
8031
8105
 
8032
8106
  interface PaymentRequestForm {
@@ -8034,11 +8108,17 @@ declare namespace io.flow.payment.gateway.v0.models {
8034
8108
  readonly 'currency': string;
8035
8109
  readonly 'order_information': io.flow.payment.gateway.v0.unions.OrderInformation;
8036
8110
  readonly 'ip'?: string;
8111
+ readonly 'locale'?: string;
8037
8112
  readonly 'return_url': string;
8038
8113
  readonly 'attributes'?: Record<string, string>;
8039
8114
  readonly 'reference'?: string;
8040
8115
  readonly 'payment_method_data'?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
8041
- readonly 'supported_actions'?: io.flow.payment.gateway.v0.enums.SupportedActionType[];
8116
+ readonly 'supported_actions'?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
8117
+ }
8118
+
8119
+ interface PaymentRequestReference {
8120
+ readonly 'id': string;
8121
+ readonly 'reference'?: string;
8042
8122
  }
8043
8123
 
8044
8124
  interface PaymentReversal {
@@ -8059,14 +8139,28 @@ declare namespace io.flow.payment.gateway.v0.models {
8059
8139
  readonly 'status': io.flow.payment.v0.enums.ReversalStatus;
8060
8140
  readonly 'reason'?: io.flow.payment.v0.enums.ReversalErrorCode;
8061
8141
  }
8142
+
8143
+ interface PaymentTax {
8144
+ readonly 'amount': number;
8145
+ readonly 'name'?: string;
8146
+ }
8147
+
8148
+ interface Shipping {
8149
+ readonly 'description': string;
8150
+ readonly 'amount': number;
8151
+ readonly 'tax'?: io.flow.payment.gateway.v0.models.PaymentTax;
8152
+ readonly 'duty'?: io.flow.payment.gateway.v0.models.PaymentDuty;
8153
+ readonly 'discounts'?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
8154
+ }
8062
8155
  }
8063
8156
 
8064
8157
  declare namespace io.flow.payment.gateway.v0.unions {
8065
- type Action = (io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionCapture | io.flow.payment.gateway.v0.models.ActionAddPaymentMethod | io.flow.payment.gateway.v0.models.ActionWait);
8158
+ type Action = (io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait);
8066
8159
  type CardAuthorizationActionResult = (io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4);
8160
+ type CardNumber = (io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher);
8067
8161
  type DeviceDetails = (io.flow.payment.gateway.v0.models.BrowserDetails);
8068
8162
  type OrderInformation = (io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails);
8069
- type PaymentMethodCard = (io.flow.payment.gateway.v0.models.PaymentMethodCardToken);
8163
+ type PaymentMethodCard = (io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken);
8070
8164
  type PaymentMethodData = (io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard);
8071
8165
  type PaymentMethodSummary = (io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal);
8072
8166
  type SdkAdyenV3AuthenticationToken = (io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken);
@@ -8812,7 +8906,7 @@ declare namespace io.flow.inventory.v0.unions {
8812
8906
  declare namespace io.flow.permission.v0.enums {
8813
8907
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
8814
8908
  type FlowBehavior = 'view_consumer_data';
8815
- type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
8909
+ type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
8816
8910
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
8817
8911
  }
8818
8912
 
@@ -9562,6 +9656,8 @@ declare namespace io.flow.fulfillment.v0.models {
9562
9656
  readonly 'to': string;
9563
9657
  readonly 'timezone'?: string;
9564
9658
  readonly 'label'?: string;
9659
+ readonly 'min_days'?: number;
9660
+ readonly 'max_days'?: number;
9565
9661
  }
9566
9662
 
9567
9663
  interface DeliveryWindowComponent {
@@ -10168,12 +10264,26 @@ declare namespace io.flow.fraud.v0.models {
10168
10264
  readonly 'rule': io.flow.fraud.v0.models.FraudEmailRule;
10169
10265
  }
10170
10266
 
10267
+ interface FraudFlowOrderReference {
10268
+ readonly 'discriminator': 'flow_order';
10269
+ readonly 'reference': io.flow.experience.v0.models.OrderReference;
10270
+ }
10271
+
10272
+ interface FraudPaymentRequestReference {
10273
+ readonly 'discriminator': 'payment_request';
10274
+ readonly 'reference': io.flow.payment.gateway.v0.models.PaymentRequestReference;
10275
+ }
10276
+
10171
10277
  interface OrderFraudStatus {
10172
10278
  readonly 'order': io.flow.experience.v0.models.OrderReference;
10173
10279
  readonly 'status': io.flow.fraud.v0.enums.FraudStatus;
10174
10280
  }
10175
10281
  }
10176
10282
 
10283
+ declare namespace io.flow.fraud.v0.unions {
10284
+ type FraudOrderReference = (io.flow.fraud.v0.models.FraudFlowOrderReference | io.flow.fraud.v0.models.FraudPaymentRequestReference);
10285
+ }
10286
+
10177
10287
  declare namespace io.flow.currency.v0.models {
10178
10288
  interface Rate {
10179
10289
  readonly 'id': string;
@@ -10199,7 +10309,7 @@ declare namespace io.flow.currency.v0.models {
10199
10309
 
10200
10310
  declare namespace io.flow.organization.v0.enums {
10201
10311
  type CountryPickerSource = 'experience' | 'destination';
10202
- type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
10312
+ type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
10203
10313
  type InvitationErrorCode = 'expired' | 'invalid_email';
10204
10314
  }
10205
10315
 
@@ -10544,6 +10654,7 @@ declare namespace io.flow.internal.v0.enums {
10544
10654
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
10545
10655
  type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_book_contact_invalid' | 'address_book_contact_not_found' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_not_found' | 'checkout_not_found' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'first_name_invalid' | 'first_name_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'last_name_invalid' | 'last_name_required' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'national_id_number_invalid' | 'no_customer' | 'no_valid_address_book_contacts' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_balance_not_available' | 'order_identifier_invalid' | 'payment_failed' | 'payment_not_found' | 'payment_source_confirmation_required' | 'payment_source_failed' | 'payment_source_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
10546
10656
  type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
10657
+ type ClassificationErrorCode = 'generic_error';
10547
10658
  type ComplianceType = 'weee';
10548
10659
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
10549
10660
  type ContentStatus = 'draft' | 'live' | 'archived';
@@ -12757,6 +12868,11 @@ declare namespace io.flow.internal.v0.models {
12757
12868
  readonly 'invoicing'?: io.flow.internal.v0.models.CheckoutAddress;
12758
12869
  }
12759
12870
 
12871
+ interface CheckoutOrderAddressSourceInputs {
12872
+ readonly 'shipping'?: io.flow.internal.v0.enums.CheckoutAddressSource;
12873
+ readonly 'invoicing'?: io.flow.internal.v0.enums.CheckoutAddressSource;
12874
+ }
12875
+
12760
12876
  interface CheckoutOrderAddresses {
12761
12877
  readonly 'shipping'?: io.flow.internal.v0.models.CheckoutAddress;
12762
12878
  readonly 'invoicing'?: io.flow.internal.v0.models.CheckoutAddress;
@@ -12846,6 +12962,7 @@ declare namespace io.flow.internal.v0.models {
12846
12962
  readonly 'contact'?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
12847
12963
  readonly 'addresses'?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
12848
12964
  readonly 'address_book'?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
12965
+ readonly 'address_sources'?: io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
12849
12966
  readonly 'attributes'?: Record<string, string>;
12850
12967
  readonly 'delivery_options'?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
12851
12968
  readonly 'gift_cards'?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
@@ -13788,6 +13905,19 @@ declare namespace io.flow.internal.v0.models {
13788
13905
  readonly 'PaRes': string;
13789
13906
  }
13790
13907
 
13908
+ interface Classification {
13909
+ readonly 'discriminator': 'classification';
13910
+ readonly 'product_id': string;
13911
+ readonly 'description': string;
13912
+ readonly 'items': io.flow.common.v0.models.CatalogItemSummary[];
13913
+ readonly 'images': string[];
13914
+ readonly 'categories': string[];
13915
+ readonly 'product_harmonization': io.flow.internal.v0.models.ClassificationProductHarmonization;
13916
+ readonly 'status'?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
13917
+ readonly 'suggested_action'?: io.flow.internal.v0.enums.ItemClassificationAction;
13918
+ readonly 'score'?: number;
13919
+ }
13920
+
13791
13921
  interface ClassificationDetails {
13792
13922
  readonly 'updated_by_user_id': string;
13793
13923
  readonly 'organization_id': string;
@@ -13805,6 +13935,17 @@ declare namespace io.flow.internal.v0.models {
13805
13935
  readonly 'construction': string;
13806
13936
  }
13807
13937
 
13938
+ interface ClassificationError {
13939
+ readonly 'discriminator': 'classification_error';
13940
+ readonly 'code': io.flow.internal.v0.enums.ClassificationErrorCode;
13941
+ readonly 'messages': string[];
13942
+ readonly 'form': io.flow.internal.v0.unions.ClassificationForm;
13943
+ }
13944
+
13945
+ interface ClassificationFormWrapper {
13946
+ readonly 'classifications': io.flow.internal.v0.unions.ClassificationForm[];
13947
+ }
13948
+
13808
13949
  interface ClassificationItem {
13809
13950
  readonly 'id': string;
13810
13951
  readonly 'organization_id': string;
@@ -13826,6 +13967,13 @@ declare namespace io.flow.internal.v0.models {
13826
13967
  readonly 'next_id'?: io.flow.internal.v0.models.ClassificationProductId;
13827
13968
  }
13828
13969
 
13970
+ interface ClassificationProductHarmonization {
13971
+ readonly 'product_labels'?: io.flow.internal.v0.models.ProductLabels;
13972
+ readonly 'customs_description'?: string;
13973
+ readonly 'hs6_code'?: string;
13974
+ readonly 'hs6_description'?: string;
13975
+ }
13976
+
13829
13977
  interface ClassificationProductId {
13830
13978
  readonly 'organization_id': string;
13831
13979
  readonly 'product_id': string;
@@ -13853,6 +14001,10 @@ declare namespace io.flow.internal.v0.models {
13853
14001
  readonly 'number_of_items': number;
13854
14002
  }
13855
14003
 
14004
+ interface ClassificationWrapper {
14005
+ readonly 'classifications': io.flow.internal.v0.unions.ClassificationResponse[];
14006
+ }
14007
+
13856
14008
  interface ClassifiedProduct {
13857
14009
  readonly 'product_id': string;
13858
14010
  readonly 'organization_id': string;
@@ -14415,6 +14567,12 @@ declare namespace io.flow.internal.v0.models {
14415
14567
  readonly 'email'?: string;
14416
14568
  }
14417
14569
 
14570
+ interface EmptyClassificationForm {
14571
+ readonly 'discriminator': 'empty_classification_form';
14572
+ readonly 'product_id': string;
14573
+ readonly 'harmonization_status': io.flow.internal.v0.enums.ItemHarmonizationStatus;
14574
+ }
14575
+
14418
14576
  interface Encryption {
14419
14577
  readonly 'id': string;
14420
14578
  readonly 'key': io.flow.internal.v0.models.KeyReference;
@@ -15030,6 +15188,7 @@ declare namespace io.flow.internal.v0.models {
15030
15188
  readonly 'id': string;
15031
15189
  readonly 'fraud_review_id': string;
15032
15190
  readonly 'order': io.flow.experience.v0.models.OrderReference;
15191
+ readonly 'fraud_order_reference'?: io.flow.fraud.v0.unions.FraudOrderReference;
15033
15192
  readonly 'recommended_status': io.flow.fraud.v0.enums.FraudStatus;
15034
15193
  readonly 'apply_at'?: string;
15035
15194
  readonly 'liability'?: io.flow.fraud.v0.enums.FraudLiability;
@@ -15069,6 +15228,7 @@ declare namespace io.flow.internal.v0.models {
15069
15228
  readonly 'id': string;
15070
15229
  readonly 'organization_id': string;
15071
15230
  readonly 'order': io.flow.experience.v0.models.OrderReference;
15231
+ readonly 'fraud_order_reference'?: io.flow.fraud.v0.unions.FraudOrderReference;
15072
15232
  readonly 'status': io.flow.fraud.v0.enums.FraudStatus;
15073
15233
  readonly 'responsible_party': io.flow.internal.v0.enums.FraudReviewResponsibleParty;
15074
15234
  readonly 'description'?: string;
@@ -15083,6 +15243,7 @@ declare namespace io.flow.internal.v0.models {
15083
15243
  readonly 'id': string;
15084
15244
  readonly 'fraud_review_id': string;
15085
15245
  readonly 'order': io.flow.experience.v0.models.OrderReference;
15246
+ readonly 'fraud_order_reference'?: io.flow.fraud.v0.unions.FraudOrderReference;
15086
15247
  readonly 'status': io.flow.fraud.v0.enums.FraudStatus;
15087
15248
  readonly 'created_at': string;
15088
15249
  readonly 'liability'?: io.flow.fraud.v0.enums.FraudLiability;
@@ -17161,6 +17322,11 @@ declare namespace io.flow.internal.v0.models {
17161
17322
  readonly 'connected_at'?: string;
17162
17323
  }
17163
17324
 
17325
+ interface MarketsOrder {
17326
+ readonly 'shopify_order': io.flow.shopify.markets.v0.models.ShopifyOrder;
17327
+ readonly 'flow_authorization': io.flow.payment.v0.unions.Authorization;
17328
+ }
17329
+
17164
17330
  interface MerchantOfRecordEntitySettings {
17165
17331
  readonly 'id': string;
17166
17332
  readonly 'merchant_of_record_entity': io.flow.common.v0.models.MerchantOfRecordEntity;
@@ -18672,6 +18838,27 @@ declare namespace io.flow.internal.v0.models {
18672
18838
  readonly 'placeholder': string;
18673
18839
  }
18674
18840
 
18841
+ interface ShopifyMarketsShop {
18842
+ readonly 'id': string;
18843
+ readonly 'domain': string;
18844
+ readonly 'myshopify_domain': string;
18845
+ readonly 'organization_id': string;
18846
+ readonly 'shop': string;
18847
+ readonly 'created_at': string;
18848
+ readonly 'api_key_masked': string;
18849
+ readonly 'api_password_masked': string;
18850
+ readonly 'shared_secret_masked': string;
18851
+ }
18852
+
18853
+ interface ShopifyMarketsShopForm {
18854
+ readonly 'shop': string;
18855
+ readonly 'domain': string;
18856
+ readonly 'myshopify_domain': string;
18857
+ readonly 'api_key': string;
18858
+ readonly 'api_password': string;
18859
+ readonly 'shared_secret': string;
18860
+ }
18861
+
18675
18862
  interface ShopifyOrderAuthorization {
18676
18863
  readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
18677
18864
  readonly 'detail'?: io.flow.internal.v0.models.ShopifyOrderDetail;
@@ -18867,27 +19054,6 @@ declare namespace io.flow.internal.v0.models {
18867
19054
  readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
18868
19055
  }
18869
19056
 
18870
- interface ShopifyXborderShop {
18871
- readonly 'id': string;
18872
- readonly 'domain': string;
18873
- readonly 'myshopify_domain': string;
18874
- readonly 'organization_id': string;
18875
- readonly 'shop': string;
18876
- readonly 'created_at': string;
18877
- readonly 'api_key_masked': string;
18878
- readonly 'api_password_masked': string;
18879
- readonly 'shared_secret_masked': string;
18880
- }
18881
-
18882
- interface ShopifyXborderShopForm {
18883
- readonly 'shop': string;
18884
- readonly 'domain': string;
18885
- readonly 'myshopify_domain': string;
18886
- readonly 'api_key': string;
18887
- readonly 'api_password': string;
18888
- readonly 'shared_secret': string;
18889
- }
18890
-
18891
19057
  interface SimplifiedItemLabel {
18892
19058
  readonly 'discriminator': 'item';
18893
19059
  readonly 'item_type': string;
@@ -18899,6 +19065,13 @@ declare namespace io.flow.internal.v0.models {
18899
19065
  readonly 'children': io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[];
18900
19066
  }
18901
19067
 
19068
+ interface SingleClassificationForm {
19069
+ readonly 'discriminator': 'single_classification_form';
19070
+ readonly 'product_id': string;
19071
+ readonly 'product_harmonization': io.flow.internal.v0.models.ProductHarmonizationForm;
19072
+ readonly 'initial_customs_description'?: string;
19073
+ }
19074
+
18902
19075
  interface SnapchatPixel {
18903
19076
  readonly 'discriminator': 'snapchat_pixel';
18904
19077
  readonly 'name'?: string;
@@ -19627,6 +19800,17 @@ declare namespace io.flow.internal.v0.models {
19627
19800
  readonly 'status': io.flow.common.v0.enums.UserStatus;
19628
19801
  }
19629
19802
 
19803
+ interface UserStatusRule {
19804
+ readonly 'id': string;
19805
+ readonly 'domain': string;
19806
+ readonly 'status': io.flow.common.v0.enums.UserStatus;
19807
+ }
19808
+
19809
+ interface UserStatusRuleForm {
19810
+ readonly 'domain': string;
19811
+ readonly 'status': io.flow.common.v0.enums.UserStatus;
19812
+ }
19813
+
19630
19814
  interface UserUpsertedV2 {
19631
19815
  readonly 'discriminator': 'user_upserted_v2';
19632
19816
  readonly 'event_id': string;
@@ -19717,18 +19901,13 @@ declare namespace io.flow.internal.v0.models {
19717
19901
  readonly 'discriminator': 'whole_order_action_form';
19718
19902
  readonly 'action': io.flow.internal.v0.enums.OrderAction;
19719
19903
  }
19720
-
19721
- interface XborderOrder {
19722
- readonly 'shopify_order': io.flow.shopify.xborder.v0.models.ShopifyOrder;
19723
- readonly 'flow_authorization': io.flow.payment.v0.unions.Authorization;
19724
- }
19725
19904
  }
19726
19905
 
19727
19906
  declare namespace io.flow.internal.v0.unions {
19728
19907
  type AuthorizationPayload = (io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload);
19729
19908
  type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
19730
19909
  type BlazeConsumerMessage = (io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage);
19731
- type BlazeProviderMessage = (io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage);
19910
+ type BlazeProviderMessage = (io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage);
19732
19911
  type CarrierCredentials = (io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex);
19733
19912
  type CheckoutAddressBookEdit = (io.flow.internal.v0.models.CheckoutAddressBookContactRemoved);
19734
19913
  type CheckoutAnalyticsDeliveryOption = (io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
@@ -19801,6 +19980,7 @@ declare namespace io.flow.internal.v0.unions {
19801
19980
  type CheckoutSequencedSubmitResponse = (io.flow.internal.v0.models.CheckoutSequencedSubmitResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess);
19802
19981
  type CheckoutSubmitOrderBundles = (io.flow.internal.v0.models.CheckoutSubmitOrderBundle);
19803
19982
  type CheckoutSubmitOrderForms = (io.flow.internal.v0.models.CheckoutSubmitOrderForm);
19983
+ type ClassificationForm = (io.flow.internal.v0.models.SingleClassificationForm | io.flow.internal.v0.models.EmptyClassificationForm);
19804
19984
  type ClassificationJudgementForm = (io.flow.internal.v0.models.ProductClassificationForm | io.flow.internal.v0.models.NoClassificationForm);
19805
19985
 
19806
19986
  type ClassificationLabelAttribute = ({
@@ -19808,6 +19988,7 @@ declare namespace io.flow.internal.v0.unions {
19808
19988
  value: io.flow.internal.v0.enums.EmptyAttribute
19809
19989
  } | io.flow.internal.v0.models.SupportedLabels);
19810
19990
 
19991
+ type ClassificationResponse = (io.flow.internal.v0.models.Classification | io.flow.internal.v0.models.ClassificationError);
19811
19992
  type ClassificationTaxonomy = (io.flow.internal.v0.models.TaxonomyCategory | io.flow.internal.v0.models.LabelTaxonomy);
19812
19993
  type ComplianceData = (io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData);
19813
19994
  type ComplianceForm = (io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm);
@@ -19949,6 +20130,7 @@ export const checkoutSetPromotionCodeErrorCode: PropTypes.Requireable<io.flow.in
19949
20130
  export const checkoutShippingMethodPromptBehavior: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior>;
19950
20131
  export const checkoutSubmitErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutSubmitErrorCode>;
19951
20132
  export const checkoutUrlType: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutUrlType>;
20133
+ export const classificationErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.ClassificationErrorCode>;
19952
20134
  export const complianceType: PropTypes.Requireable<io.flow.internal.v0.enums.ComplianceType>;
19953
20135
  export const contentElementType: PropTypes.Requireable<io.flow.internal.v0.enums.ContentElementType>;
19954
20136
  export const contentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ContentStatus>;
@@ -20390,6 +20572,7 @@ export const checkoutNationalIdNumberValidation: PropTypes.Requireable<io.flow.i
20390
20572
  export const checkoutOpenOrder: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOpenOrder>;
20391
20573
  export const checkoutOrderAddressBookInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderAddressBookInputs>;
20392
20574
  export const checkoutOrderAddressInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderAddressInputs>;
20575
+ export const checkoutOrderAddressSourceInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs>;
20393
20576
  export const checkoutOrderAddresses: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderAddresses>;
20394
20577
  export const checkoutOrderContactInputs: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderContactInputs>;
20395
20578
  export const checkoutOrderDeliveries: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutOrderDeliveries>;
@@ -20576,14 +20759,19 @@ export const cipher: PropTypes.Requireable<io.flow.internal.v0.models.Cipher>;
20576
20759
  export const cipherForm: PropTypes.Requireable<io.flow.internal.v0.models.CipherForm>;
20577
20760
  export const cipherReference: PropTypes.Requireable<io.flow.internal.v0.models.CipherReference>;
20578
20761
  export const classicPaymentRedirectForm: PropTypes.Requireable<io.flow.internal.v0.models.ClassicPaymentRedirectForm>;
20762
+ export const classification: PropTypes.Requireable<io.flow.internal.v0.models.Classification>;
20579
20763
  export const classificationDetails: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationDetails>;
20764
+ export const classificationError: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationError>;
20765
+ export const classificationFormWrapper: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationFormWrapper>;
20580
20766
  export const classificationItem: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationItem>;
20581
20767
  export const classificationProduct: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationProduct>;
20768
+ export const classificationProductHarmonization: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationProductHarmonization>;
20582
20769
  export const classificationProductId: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationProductId>;
20583
20770
  export const classificationProductSummary: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationProductSummary>;
20584
20771
  export const classificationProductSummaryPage: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationProductSummaryPage>;
20585
20772
  export const classificationRequeueRequest: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationRequeueRequest>;
20586
20773
  export const classificationStatistics: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationStatistics>;
20774
+ export const classificationWrapper: PropTypes.Requireable<io.flow.internal.v0.models.ClassificationWrapper>;
20587
20775
  export const classifiedProduct: PropTypes.Requireable<io.flow.internal.v0.models.ClassifiedProduct>;
20588
20776
  export const compliance: PropTypes.Requireable<io.flow.internal.v0.models.Compliance>;
20589
20777
  export const components: PropTypes.Requireable<io.flow.internal.v0.models.Components>;
@@ -20661,6 +20849,7 @@ export const dutyRawUpserted: PropTypes.Requireable<io.flow.internal.v0.models.D
20661
20849
  export const dutySimpleExpression: PropTypes.Requireable<io.flow.internal.v0.models.DutySimpleExpression>;
20662
20850
  export const emailForm: PropTypes.Requireable<io.flow.internal.v0.models.EmailForm>;
20663
20851
  export const emailModificationForm: PropTypes.Requireable<io.flow.internal.v0.models.EmailModificationForm>;
20852
+ export const emptyClassificationForm: PropTypes.Requireable<io.flow.internal.v0.models.EmptyClassificationForm>;
20664
20853
  export const encryption: PropTypes.Requireable<io.flow.internal.v0.models.Encryption>;
20665
20854
  export const exclusionRuleDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ExclusionRuleDeleted>;
20666
20855
  export const exclusionRuleExportRequest: PropTypes.Requireable<io.flow.internal.v0.models.ExclusionRuleExportRequest>;
@@ -20997,6 +21186,7 @@ export const marketingGatewayNewChannelRequestForm: PropTypes.Requireable<io.flo
20997
21186
  export const marketingGatewayProductDatasourceSummary: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewayProductDatasourceSummary>;
20998
21187
  export const marketingGatewaySchemaSummary: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewaySchemaSummary>;
20999
21188
  export const marketingGatewaySupportedChannelDetails: PropTypes.Requireable<io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails>;
21189
+ export const marketsOrder: PropTypes.Requireable<io.flow.internal.v0.models.MarketsOrder>;
21000
21190
  export const merchantOfRecordEntitySettings: PropTypes.Requireable<io.flow.internal.v0.models.MerchantOfRecordEntitySettings>;
21001
21191
  export const merchantOfRecordEntitySettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm>;
21002
21192
  export const nextBillingStatement: PropTypes.Requireable<io.flow.internal.v0.models.NextBillingStatement>;
@@ -21202,6 +21392,8 @@ export const shopifyGiftCardRedemptionForm: PropTypes.Requireable<io.flow.intern
21202
21392
  export const shopifyGiftCardReversal: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyGiftCardReversal>;
21203
21393
  export const shopifyGiftCardReversalForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyGiftCardReversalForm>;
21204
21394
  export const shopifyGrantsCheck: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyGrantsCheck>;
21395
+ export const shopifyMarketsShop: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsShop>;
21396
+ export const shopifyMarketsShopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsShopForm>;
21205
21397
  export const shopifyOrderAuthorization: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyOrderAuthorization>;
21206
21398
  export const shopifyOrderCancelForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyOrderCancelForm>;
21207
21399
  export const shopifyOrderCancelResponse: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyOrderCancelResponse>;
@@ -21233,10 +21425,9 @@ export const shopifyShopUpserted: PropTypes.Requireable<io.flow.internal.v0.mode
21233
21425
  export const shopifyWebhook: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyWebhook>;
21234
21426
  export const shopifyWebhookEvent: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyWebhookEvent>;
21235
21427
  export const shopifyWebhookForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyWebhookForm>;
21236
- export const shopifyXborderShop: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShop>;
21237
- export const shopifyXborderShopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyXborderShopForm>;
21238
21428
  export const simplifiedItemLabel: PropTypes.Requireable<io.flow.internal.v0.models.SimplifiedItemLabel>;
21239
21429
  export const simplifiedTaxonomyCategory: PropTypes.Requireable<io.flow.internal.v0.models.SimplifiedTaxonomyCategory>;
21430
+ export const singleClassificationForm: PropTypes.Requireable<io.flow.internal.v0.models.SingleClassificationForm>;
21240
21431
  export const snapchatPixel: PropTypes.Requireable<io.flow.internal.v0.models.SnapchatPixel>;
21241
21432
  export const spotRate: PropTypes.Requireable<io.flow.internal.v0.models.SpotRate>;
21242
21433
  export const spotRateDeleted: PropTypes.Requireable<io.flow.internal.v0.models.SpotRateDeleted>;
@@ -21331,6 +21522,8 @@ export const upsRegistrationForm: PropTypes.Requireable<io.flow.internal.v0.mode
21331
21522
  export const userDeletedV2: PropTypes.Requireable<io.flow.internal.v0.models.UserDeletedV2>;
21332
21523
  export const userOneTimeToken: PropTypes.Requireable<io.flow.internal.v0.models.UserOneTimeToken>;
21333
21524
  export const userStatusForm: PropTypes.Requireable<io.flow.internal.v0.models.UserStatusForm>;
21525
+ export const userStatusRule: PropTypes.Requireable<io.flow.internal.v0.models.UserStatusRule>;
21526
+ export const userStatusRuleForm: PropTypes.Requireable<io.flow.internal.v0.models.UserStatusRuleForm>;
21334
21527
  export const userUpsertedV2: PropTypes.Requireable<io.flow.internal.v0.models.UserUpsertedV2>;
21335
21528
  export const v1Checkout: PropTypes.Requireable<io.flow.internal.v0.models.V1Checkout>;
21336
21529
  export const v2Checkout: PropTypes.Requireable<io.flow.internal.v0.models.V2Checkout>;
@@ -21342,7 +21535,6 @@ export const wasteElectricalAndElectronicEquipmentComplianceData: PropTypes.Requ
21342
21535
  export const wasteElectricalAndElectronicEquipmentComplianceForm: PropTypes.Requireable<io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm>;
21343
21536
  export const webhook: PropTypes.Requireable<io.flow.internal.v0.models.Webhook>;
21344
21537
  export const wholeOrderActionForm: PropTypes.Requireable<io.flow.internal.v0.models.WholeOrderActionForm>;
21345
- export const xborderOrder: PropTypes.Requireable<io.flow.internal.v0.models.XborderOrder>;
21346
21538
  export const authorizationPayload: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizationPayload>;
21347
21539
  export const authorizedOrderCharge: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizedOrderCharge>;
21348
21540
  export const blazeConsumerMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeConsumerMessage>;
@@ -21419,8 +21611,10 @@ export const checkoutSequencedSetPromotionCodeResponse: PropTypes.Requireable<io
21419
21611
  export const checkoutSequencedSubmitResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSequencedSubmitResponse>;
21420
21612
  export const checkoutSubmitOrderBundles: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderBundles>;
21421
21613
  export const checkoutSubmitOrderForms: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderForms>;
21614
+ export const classificationForm: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationForm>;
21422
21615
  export const classificationJudgementForm: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationJudgementForm>;
21423
21616
  export const classificationLabelAttribute: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationLabelAttribute>;
21617
+ export const classificationResponse: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationResponse>;
21424
21618
  export const classificationTaxonomy: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationTaxonomy>;
21425
21619
  export const complianceData: PropTypes.Requireable<io.flow.internal.v0.unions.ComplianceData>;
21426
21620
  export const complianceForm: PropTypes.Requireable<io.flow.internal.v0.unions.ComplianceForm>;