@flowio/types 8.0.4 → 8.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +916 -63
- package/dist/api.d.ts +37 -87
- package/package.json +2 -2
- package/src/api-internal.ts +1258 -197
- package/src/api.ts +42 -104
package/dist/api-internal.d.ts
CHANGED
|
@@ -1289,32 +1289,6 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
1289
1289
|
readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
|
-
declare namespace io.flow.order.price.v0.enums {
|
|
1293
|
-
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
|
|
1294
|
-
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
1295
|
-
}
|
|
1296
|
-
declare namespace io.flow.order.price.v0.models {
|
|
1297
|
-
interface OrderPriceDetail {
|
|
1298
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
1299
|
-
readonly currency: string;
|
|
1300
|
-
readonly amount: number;
|
|
1301
|
-
readonly label: string;
|
|
1302
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
1303
|
-
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
1304
|
-
readonly name?: string;
|
|
1305
|
-
readonly rate?: number;
|
|
1306
|
-
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
1307
|
-
readonly rate_label?: string;
|
|
1308
|
-
}
|
|
1309
|
-
interface OrderPriceDetailComponent {
|
|
1310
|
-
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
1311
|
-
readonly currency: string;
|
|
1312
|
-
readonly amount: number;
|
|
1313
|
-
readonly label: string;
|
|
1314
|
-
readonly base: io.flow.common.v0.models.Price;
|
|
1315
|
-
readonly name?: string;
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
1292
|
declare namespace io.flow.field.validation.v0.models {
|
|
1319
1293
|
interface FieldValidationMax {
|
|
1320
1294
|
readonly discriminator: 'max';
|
|
@@ -2233,6 +2207,842 @@ declare namespace io.flow.brickftp.v0.unions {
|
|
|
2233
2207
|
type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
|
|
2234
2208
|
type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
|
|
2235
2209
|
}
|
|
2210
|
+
declare namespace io.flow.shopify.external.v0.enums {
|
|
2211
|
+
type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
2212
|
+
type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
|
|
2213
|
+
type DiscountType = 'fixed_amount' | 'percentage' | 'shipping';
|
|
2214
|
+
type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
|
|
2215
|
+
type Event = 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop';
|
|
2216
|
+
type FinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
|
|
2217
|
+
type Format = 'json' | 'xml';
|
|
2218
|
+
type FulfillmentService = 'manual' | 'gift_card';
|
|
2219
|
+
type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
2220
|
+
type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
2221
|
+
type InventoryManagement = 'blank' | 'shopify';
|
|
2222
|
+
type InventoryPolicy = 'deny' | 'continue';
|
|
2223
|
+
type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
2224
|
+
type LocalizedPrice = 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total';
|
|
2225
|
+
type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
2226
|
+
type PriceRuleAllocationMethod = 'across' | 'each';
|
|
2227
|
+
type PriceRuleCustomerSelection = 'all' | 'prerequisite';
|
|
2228
|
+
type PriceRuleTargetSelection = 'all' | 'entitled';
|
|
2229
|
+
type PriceRuleTargetType = 'line_item' | 'shipping_line';
|
|
2230
|
+
type PriceRuleValueType = 'fixed_amount' | 'percentage';
|
|
2231
|
+
type PublishedScope = 'global';
|
|
2232
|
+
type RestockType = 'no_restock' | 'cancel' | 'return';
|
|
2233
|
+
type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
|
|
2234
|
+
type ShopifyDiscountPaginationDirection = 'next' | 'prev';
|
|
2235
|
+
type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
|
|
2236
|
+
type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
2237
|
+
type ShopifyTransactionErrorCode = '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';
|
|
2238
|
+
type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
2239
|
+
type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
|
|
2240
|
+
type ValueType = 'string' | 'integer';
|
|
2241
|
+
type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
|
|
2242
|
+
}
|
|
2243
|
+
declare namespace io.flow.shopify.external.v0.models {
|
|
2244
|
+
interface Collect {
|
|
2245
|
+
readonly id: number;
|
|
2246
|
+
readonly collection_id: number;
|
|
2247
|
+
readonly product_id: number;
|
|
2248
|
+
readonly created_at?: string;
|
|
2249
|
+
readonly updated_at?: string;
|
|
2250
|
+
readonly position: number;
|
|
2251
|
+
readonly sort_value: string;
|
|
2252
|
+
}
|
|
2253
|
+
interface Collection {
|
|
2254
|
+
readonly id: number;
|
|
2255
|
+
readonly handle?: string;
|
|
2256
|
+
readonly title?: string;
|
|
2257
|
+
readonly published?: boolean;
|
|
2258
|
+
readonly published_at?: string;
|
|
2259
|
+
readonly updated_at?: string;
|
|
2260
|
+
}
|
|
2261
|
+
interface Count {
|
|
2262
|
+
readonly count: number;
|
|
2263
|
+
}
|
|
2264
|
+
interface Discount {
|
|
2265
|
+
readonly id: number;
|
|
2266
|
+
readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
|
|
2267
|
+
readonly code: string;
|
|
2268
|
+
readonly value?: number;
|
|
2269
|
+
readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
|
|
2270
|
+
readonly usage_limit?: number;
|
|
2271
|
+
readonly applies_once: boolean;
|
|
2272
|
+
readonly applies_once_per_customer: boolean;
|
|
2273
|
+
readonly ends_at?: string;
|
|
2274
|
+
readonly starts_at?: string;
|
|
2275
|
+
readonly minimum_order_amount?: number;
|
|
2276
|
+
readonly applies_to_id?: number;
|
|
2277
|
+
readonly applies_to_resource?: string;
|
|
2278
|
+
readonly times_used: number;
|
|
2279
|
+
}
|
|
2280
|
+
interface Metafield {
|
|
2281
|
+
readonly id: number;
|
|
2282
|
+
readonly key: string;
|
|
2283
|
+
readonly namespace: string;
|
|
2284
|
+
readonly value: string;
|
|
2285
|
+
readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
|
|
2286
|
+
readonly description?: string;
|
|
2287
|
+
readonly owner_id: number;
|
|
2288
|
+
readonly owner_resource: string;
|
|
2289
|
+
}
|
|
2290
|
+
interface MetafieldForm {
|
|
2291
|
+
readonly key: string;
|
|
2292
|
+
readonly namespace: string;
|
|
2293
|
+
readonly value: string;
|
|
2294
|
+
readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
|
|
2295
|
+
readonly description?: string;
|
|
2296
|
+
}
|
|
2297
|
+
interface Option {
|
|
2298
|
+
readonly id: number;
|
|
2299
|
+
readonly product_id: number;
|
|
2300
|
+
readonly name: string;
|
|
2301
|
+
readonly position: number;
|
|
2302
|
+
readonly values?: string[];
|
|
2303
|
+
}
|
|
2304
|
+
interface PriceRule {
|
|
2305
|
+
readonly id: number;
|
|
2306
|
+
readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
|
|
2307
|
+
readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
|
|
2308
|
+
readonly value: number;
|
|
2309
|
+
readonly starts_at: string;
|
|
2310
|
+
readonly ends_at?: string;
|
|
2311
|
+
readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
|
|
2312
|
+
readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
|
|
2313
|
+
readonly usage_limit?: number;
|
|
2314
|
+
readonly entitled_product_ids: number[];
|
|
2315
|
+
readonly entitled_variant_ids: number[];
|
|
2316
|
+
readonly entitled_collection_ids: number[];
|
|
2317
|
+
readonly entitled_country_ids: number[];
|
|
2318
|
+
readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
|
|
2319
|
+
readonly once_per_customer: boolean;
|
|
2320
|
+
readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
|
|
2321
|
+
readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
|
|
2322
|
+
readonly prerequisite_saved_search_ids: number[];
|
|
2323
|
+
readonly prerequisite_customer_ids?: number[];
|
|
2324
|
+
readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
|
|
2325
|
+
readonly prerequisite_product_ids?: number[];
|
|
2326
|
+
readonly prerequisite_variant_ids?: number[];
|
|
2327
|
+
readonly prerequisite_collection_ids?: number[];
|
|
2328
|
+
readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
|
|
2329
|
+
readonly allocation_limit?: number;
|
|
2330
|
+
readonly title?: string;
|
|
2331
|
+
readonly created_at?: string;
|
|
2332
|
+
readonly updated_at?: string;
|
|
2333
|
+
}
|
|
2334
|
+
interface PriceRuleDiscountCode {
|
|
2335
|
+
readonly id: number;
|
|
2336
|
+
readonly price_rule_id: number;
|
|
2337
|
+
readonly code: string;
|
|
2338
|
+
readonly usage_count: number;
|
|
2339
|
+
readonly created_at: string;
|
|
2340
|
+
readonly updated_at: string;
|
|
2341
|
+
}
|
|
2342
|
+
interface PriceRuleForm {
|
|
2343
|
+
readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
|
|
2344
|
+
}
|
|
2345
|
+
interface PriceRuleGreaterThanRange {
|
|
2346
|
+
readonly greater_than?: number;
|
|
2347
|
+
readonly greater_than_or_equal_to?: number;
|
|
2348
|
+
}
|
|
2349
|
+
interface PriceRuleLessThanRange {
|
|
2350
|
+
readonly less_than?: number;
|
|
2351
|
+
readonly less_than_or_equal_to?: number;
|
|
2352
|
+
}
|
|
2353
|
+
interface PriceRulePrerequisiteToEntitlementQuantityRatio {
|
|
2354
|
+
readonly prerequisite_quantity?: number;
|
|
2355
|
+
readonly entitled_quantity?: number;
|
|
2356
|
+
}
|
|
2357
|
+
interface Product {
|
|
2358
|
+
readonly id: number;
|
|
2359
|
+
readonly handle: string;
|
|
2360
|
+
readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
|
|
2361
|
+
readonly images: io.flow.shopify.external.v0.models.ProductImage[];
|
|
2362
|
+
readonly title: string;
|
|
2363
|
+
readonly vendor?: string;
|
|
2364
|
+
readonly body_html?: string;
|
|
2365
|
+
readonly product_type?: string;
|
|
2366
|
+
readonly options: io.flow.shopify.external.v0.models.Option[];
|
|
2367
|
+
readonly tags?: string;
|
|
2368
|
+
readonly template_suffix?: string;
|
|
2369
|
+
readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
|
|
2370
|
+
readonly published_at?: string;
|
|
2371
|
+
readonly created_at: string;
|
|
2372
|
+
readonly updated_at: string;
|
|
2373
|
+
}
|
|
2374
|
+
interface ProductDelete {
|
|
2375
|
+
readonly id: number;
|
|
2376
|
+
}
|
|
2377
|
+
interface ProductImage {
|
|
2378
|
+
readonly id: number;
|
|
2379
|
+
readonly product_id: number;
|
|
2380
|
+
readonly variant_ids: number[];
|
|
2381
|
+
readonly src: string;
|
|
2382
|
+
readonly position: number;
|
|
2383
|
+
readonly created_at: string;
|
|
2384
|
+
readonly updated_at: string;
|
|
2385
|
+
readonly alt?: string;
|
|
2386
|
+
}
|
|
2387
|
+
interface ProductVariant {
|
|
2388
|
+
readonly id: number;
|
|
2389
|
+
readonly sku?: string;
|
|
2390
|
+
readonly product_id: number;
|
|
2391
|
+
readonly price: number;
|
|
2392
|
+
readonly title: string;
|
|
2393
|
+
readonly taxable: boolean;
|
|
2394
|
+
readonly compare_at_price?: number;
|
|
2395
|
+
readonly grams?: number;
|
|
2396
|
+
readonly image_id?: number;
|
|
2397
|
+
readonly barcode?: string;
|
|
2398
|
+
readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
|
|
2399
|
+
readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
|
|
2400
|
+
readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
|
|
2401
|
+
readonly weight?: number;
|
|
2402
|
+
readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
|
|
2403
|
+
readonly inventory_item_id?: number;
|
|
2404
|
+
readonly inventory_quantity?: number;
|
|
2405
|
+
readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
2406
|
+
readonly option1?: string;
|
|
2407
|
+
readonly option2?: string;
|
|
2408
|
+
readonly option3?: string;
|
|
2409
|
+
readonly requires_shipping: boolean;
|
|
2410
|
+
readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
|
|
2411
|
+
}
|
|
2412
|
+
interface RequestMetafieldForm {
|
|
2413
|
+
readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
|
|
2414
|
+
}
|
|
2415
|
+
interface RequestShopifyGiftCard {
|
|
2416
|
+
readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
|
|
2417
|
+
}
|
|
2418
|
+
interface RequestShopifyRefundForm {
|
|
2419
|
+
readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
|
|
2420
|
+
}
|
|
2421
|
+
interface RequestShopifyTransactionForm {
|
|
2422
|
+
readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
|
|
2423
|
+
}
|
|
2424
|
+
interface ResponseCollect {
|
|
2425
|
+
readonly collect: io.flow.shopify.external.v0.models.Collect;
|
|
2426
|
+
}
|
|
2427
|
+
interface ResponseCollects {
|
|
2428
|
+
readonly collects: io.flow.shopify.external.v0.models.Collect[];
|
|
2429
|
+
}
|
|
2430
|
+
interface ResponseDiscount {
|
|
2431
|
+
readonly discount: io.flow.shopify.external.v0.models.Discount;
|
|
2432
|
+
}
|
|
2433
|
+
interface ResponseDiscounts {
|
|
2434
|
+
readonly discounts: io.flow.shopify.external.v0.models.Discount[];
|
|
2435
|
+
}
|
|
2436
|
+
interface ResponseMetafield {
|
|
2437
|
+
readonly metafield: io.flow.shopify.external.v0.models.Metafield;
|
|
2438
|
+
}
|
|
2439
|
+
interface ResponseMetafields {
|
|
2440
|
+
readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
|
|
2441
|
+
}
|
|
2442
|
+
interface ResponseOrdersWrapper {
|
|
2443
|
+
readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
|
|
2444
|
+
}
|
|
2445
|
+
interface ResponsePriceRule {
|
|
2446
|
+
readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
|
|
2447
|
+
}
|
|
2448
|
+
interface ResponsePriceRuleDiscountCode {
|
|
2449
|
+
readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
|
|
2450
|
+
}
|
|
2451
|
+
interface ResponsePriceRuleDiscountCodes {
|
|
2452
|
+
readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
|
|
2453
|
+
}
|
|
2454
|
+
interface ResponsePriceRules {
|
|
2455
|
+
readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
|
|
2456
|
+
}
|
|
2457
|
+
interface ResponseProduct {
|
|
2458
|
+
readonly product: io.flow.shopify.external.v0.models.Product;
|
|
2459
|
+
}
|
|
2460
|
+
interface ResponseProducts {
|
|
2461
|
+
readonly products: io.flow.shopify.external.v0.models.Product[];
|
|
2462
|
+
}
|
|
2463
|
+
interface ResponseShopifyGiftCard {
|
|
2464
|
+
readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
|
|
2465
|
+
}
|
|
2466
|
+
interface ResponseShopifyGiftCards {
|
|
2467
|
+
readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
|
|
2468
|
+
}
|
|
2469
|
+
interface ResponseShopifyRefundSingle {
|
|
2470
|
+
readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
|
|
2471
|
+
}
|
|
2472
|
+
interface ResponseShopifyTransaction {
|
|
2473
|
+
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
|
|
2474
|
+
}
|
|
2475
|
+
interface ResponseShopifyTransactionSingle {
|
|
2476
|
+
readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
|
|
2477
|
+
}
|
|
2478
|
+
interface ResponseVariant {
|
|
2479
|
+
readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
|
|
2480
|
+
}
|
|
2481
|
+
interface Shop {
|
|
2482
|
+
readonly id: number;
|
|
2483
|
+
readonly domain: string;
|
|
2484
|
+
readonly myshopify_domain: string;
|
|
2485
|
+
readonly name: string;
|
|
2486
|
+
readonly primary_locale: string;
|
|
2487
|
+
readonly currency: string;
|
|
2488
|
+
readonly country_code: string;
|
|
2489
|
+
}
|
|
2490
|
+
interface ShopResponse {
|
|
2491
|
+
readonly shop: io.flow.shopify.external.v0.models.Shop;
|
|
2492
|
+
}
|
|
2493
|
+
interface ShopifyAddress {
|
|
2494
|
+
readonly id?: number;
|
|
2495
|
+
readonly address1?: string;
|
|
2496
|
+
readonly address2?: string;
|
|
2497
|
+
readonly city?: string;
|
|
2498
|
+
readonly company?: string;
|
|
2499
|
+
readonly country?: string;
|
|
2500
|
+
readonly country_code?: string;
|
|
2501
|
+
readonly default?: boolean;
|
|
2502
|
+
readonly first_name?: string;
|
|
2503
|
+
readonly last_name?: string;
|
|
2504
|
+
readonly latitude?: number;
|
|
2505
|
+
readonly longitude?: number;
|
|
2506
|
+
readonly name?: string;
|
|
2507
|
+
readonly phone?: string;
|
|
2508
|
+
readonly province?: string;
|
|
2509
|
+
readonly province_code?: string;
|
|
2510
|
+
readonly zip?: string;
|
|
2511
|
+
}
|
|
2512
|
+
interface ShopifyAttribute {
|
|
2513
|
+
readonly name: string;
|
|
2514
|
+
readonly value: string;
|
|
2515
|
+
}
|
|
2516
|
+
interface ShopifyCart {
|
|
2517
|
+
readonly token: string;
|
|
2518
|
+
readonly note?: string;
|
|
2519
|
+
readonly attributes?: any;
|
|
2520
|
+
readonly items_subtotal_price?: number;
|
|
2521
|
+
readonly total_price: number;
|
|
2522
|
+
readonly total_weight: number;
|
|
2523
|
+
readonly total_discount: number;
|
|
2524
|
+
readonly original_total_price: number;
|
|
2525
|
+
readonly item_count: number;
|
|
2526
|
+
readonly requires_shipping: boolean;
|
|
2527
|
+
readonly currency?: string;
|
|
2528
|
+
readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
|
|
2529
|
+
readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
|
|
2530
|
+
}
|
|
2531
|
+
interface ShopifyCartItem {
|
|
2532
|
+
readonly id: number;
|
|
2533
|
+
readonly title: string;
|
|
2534
|
+
readonly key?: string;
|
|
2535
|
+
readonly price: number;
|
|
2536
|
+
readonly line_price: number;
|
|
2537
|
+
readonly final_price: number;
|
|
2538
|
+
readonly final_line_price: number;
|
|
2539
|
+
readonly original_price: number;
|
|
2540
|
+
readonly original_line_price: number;
|
|
2541
|
+
readonly total_discount: number;
|
|
2542
|
+
readonly discounted_price: number;
|
|
2543
|
+
readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
|
|
2544
|
+
readonly taxable: boolean;
|
|
2545
|
+
readonly quantity: number;
|
|
2546
|
+
readonly sku?: string;
|
|
2547
|
+
readonly grams?: number;
|
|
2548
|
+
readonly vendor?: string;
|
|
2549
|
+
readonly properties?: any;
|
|
2550
|
+
readonly variant_id?: number;
|
|
2551
|
+
readonly gift_card: boolean;
|
|
2552
|
+
readonly url: string;
|
|
2553
|
+
readonly image?: string;
|
|
2554
|
+
readonly handle: string;
|
|
2555
|
+
readonly requires_shipping: boolean;
|
|
2556
|
+
readonly product_id: number;
|
|
2557
|
+
readonly product_title: string;
|
|
2558
|
+
readonly product_description?: string;
|
|
2559
|
+
readonly product_type: string;
|
|
2560
|
+
readonly variant_title?: string;
|
|
2561
|
+
readonly variant_options?: string[];
|
|
2562
|
+
readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
|
|
2563
|
+
}
|
|
2564
|
+
interface ShopifyCartItemDiscount {
|
|
2565
|
+
readonly amount: number;
|
|
2566
|
+
readonly title: string;
|
|
2567
|
+
}
|
|
2568
|
+
interface ShopifyClientDetail {
|
|
2569
|
+
readonly accept_language: boolean;
|
|
2570
|
+
readonly browser_height?: number;
|
|
2571
|
+
readonly browser_ip: string;
|
|
2572
|
+
readonly browser_width?: number;
|
|
2573
|
+
readonly session_hash?: string;
|
|
2574
|
+
readonly user_agent?: string;
|
|
2575
|
+
}
|
|
2576
|
+
interface ShopifyCustomer {
|
|
2577
|
+
readonly id: number;
|
|
2578
|
+
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
2579
|
+
readonly created_at: string;
|
|
2580
|
+
readonly tags: string;
|
|
2581
|
+
readonly tax_exempt: boolean;
|
|
2582
|
+
readonly verified_email: boolean;
|
|
2583
|
+
readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
|
|
2584
|
+
readonly accepts_marketing?: boolean;
|
|
2585
|
+
readonly default_address?: any;
|
|
2586
|
+
readonly email?: string;
|
|
2587
|
+
readonly first_name?: string;
|
|
2588
|
+
readonly last_name?: string;
|
|
2589
|
+
readonly last_order_id?: number;
|
|
2590
|
+
readonly last_order_name?: string;
|
|
2591
|
+
readonly note?: string;
|
|
2592
|
+
readonly orders_count?: number;
|
|
2593
|
+
readonly phone?: string;
|
|
2594
|
+
readonly total_spent?: string;
|
|
2595
|
+
readonly updated_at?: string;
|
|
2596
|
+
}
|
|
2597
|
+
interface ShopifyCustomerAddress {
|
|
2598
|
+
readonly id: number;
|
|
2599
|
+
readonly customer_id: number;
|
|
2600
|
+
readonly default: boolean;
|
|
2601
|
+
readonly address1?: string;
|
|
2602
|
+
readonly address2?: string;
|
|
2603
|
+
readonly city?: string;
|
|
2604
|
+
readonly company?: string;
|
|
2605
|
+
readonly first_name?: string;
|
|
2606
|
+
readonly last_name?: string;
|
|
2607
|
+
readonly name?: string;
|
|
2608
|
+
readonly phone?: string;
|
|
2609
|
+
readonly country?: string;
|
|
2610
|
+
readonly country_code?: string;
|
|
2611
|
+
readonly country_name?: string;
|
|
2612
|
+
readonly province?: string;
|
|
2613
|
+
readonly province_code?: string;
|
|
2614
|
+
readonly zip?: string;
|
|
2615
|
+
}
|
|
2616
|
+
interface ShopifyCustomerDelete {
|
|
2617
|
+
readonly id: number;
|
|
2618
|
+
}
|
|
2619
|
+
interface ShopifyCustomersResponseWrapper {
|
|
2620
|
+
readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
|
|
2621
|
+
}
|
|
2622
|
+
interface ShopifyDiscountApplication {
|
|
2623
|
+
readonly type: string;
|
|
2624
|
+
readonly key: string;
|
|
2625
|
+
readonly title: string;
|
|
2626
|
+
readonly description?: string;
|
|
2627
|
+
readonly value: string;
|
|
2628
|
+
readonly created_at: string;
|
|
2629
|
+
readonly value_type: string;
|
|
2630
|
+
readonly allocation_method: string;
|
|
2631
|
+
readonly target_selection: string;
|
|
2632
|
+
readonly target_type: string;
|
|
2633
|
+
readonly total_allocated_amount: number;
|
|
2634
|
+
}
|
|
2635
|
+
interface ShopifyDiscountCode {
|
|
2636
|
+
readonly amount: string;
|
|
2637
|
+
readonly code: string;
|
|
2638
|
+
readonly type: io.flow.shopify.external.v0.enums.DiscountType;
|
|
2639
|
+
}
|
|
2640
|
+
interface ShopifyError {
|
|
2641
|
+
readonly errors: any;
|
|
2642
|
+
}
|
|
2643
|
+
interface ShopifyFulfillment {
|
|
2644
|
+
readonly location_id: number;
|
|
2645
|
+
readonly created_at?: string;
|
|
2646
|
+
readonly id?: number;
|
|
2647
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
|
|
2648
|
+
readonly order_id?: number;
|
|
2649
|
+
readonly receipt?: any;
|
|
2650
|
+
readonly status?: string;
|
|
2651
|
+
readonly tracking_company?: string;
|
|
2652
|
+
readonly tracking_number?: string;
|
|
2653
|
+
readonly tracking_numbers?: string[];
|
|
2654
|
+
readonly tracking_url?: string;
|
|
2655
|
+
readonly tracking_urls?: string[];
|
|
2656
|
+
readonly updated_at?: string;
|
|
2657
|
+
readonly notify_customer?: boolean;
|
|
2658
|
+
}
|
|
2659
|
+
interface ShopifyFulfillmentWrapper {
|
|
2660
|
+
readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
|
|
2661
|
+
}
|
|
2662
|
+
interface ShopifyGiftCard {
|
|
2663
|
+
readonly id: number;
|
|
2664
|
+
readonly balance: number;
|
|
2665
|
+
readonly currency: string;
|
|
2666
|
+
readonly initial_value: number;
|
|
2667
|
+
readonly last_characters: string;
|
|
2668
|
+
readonly created_at: string;
|
|
2669
|
+
readonly updated_at: string;
|
|
2670
|
+
readonly api_client_id?: number;
|
|
2671
|
+
readonly code?: string;
|
|
2672
|
+
readonly customer_id?: number;
|
|
2673
|
+
readonly disabled_at?: string;
|
|
2674
|
+
readonly expires_on?: string;
|
|
2675
|
+
readonly line_item_id?: number;
|
|
2676
|
+
readonly note?: string;
|
|
2677
|
+
readonly order_id?: number;
|
|
2678
|
+
readonly template_suffix?: string;
|
|
2679
|
+
readonly user_id?: number;
|
|
2680
|
+
}
|
|
2681
|
+
interface ShopifyGiftCardAdjustment {
|
|
2682
|
+
readonly id: number;
|
|
2683
|
+
readonly gift_card_id: number;
|
|
2684
|
+
readonly number: number;
|
|
2685
|
+
readonly amount: number;
|
|
2686
|
+
readonly created_at: string;
|
|
2687
|
+
readonly processed_at: string;
|
|
2688
|
+
readonly note?: string;
|
|
2689
|
+
readonly remote_transaction_ref?: string;
|
|
2690
|
+
readonly remote_transaction_url?: string;
|
|
2691
|
+
readonly api_client_id?: number;
|
|
2692
|
+
readonly user_id?: number;
|
|
2693
|
+
readonly order_transaction_id?: number;
|
|
2694
|
+
}
|
|
2695
|
+
interface ShopifyGiftCardAdjustmentForm {
|
|
2696
|
+
readonly amount: number;
|
|
2697
|
+
readonly note?: string;
|
|
2698
|
+
readonly order_transaction_id?: number;
|
|
2699
|
+
readonly processed_at?: string;
|
|
2700
|
+
}
|
|
2701
|
+
interface ShopifyGiftCardAdjustmentFormWrapper {
|
|
2702
|
+
readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
|
|
2703
|
+
}
|
|
2704
|
+
interface ShopifyGiftCardAdjustmentResponseWrapper {
|
|
2705
|
+
readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
|
|
2706
|
+
}
|
|
2707
|
+
interface ShopifyGiftCardForm {
|
|
2708
|
+
readonly initial_value: number;
|
|
2709
|
+
readonly code?: string;
|
|
2710
|
+
readonly note?: string;
|
|
2711
|
+
readonly template_suffix?: string;
|
|
2712
|
+
}
|
|
2713
|
+
interface ShopifyInventoryItem {
|
|
2714
|
+
readonly id: number;
|
|
2715
|
+
readonly tracked: boolean;
|
|
2716
|
+
readonly sku?: string;
|
|
2717
|
+
readonly cost?: string;
|
|
2718
|
+
readonly country_code_of_origin?: string;
|
|
2719
|
+
readonly created_at: string;
|
|
2720
|
+
readonly updated_at?: string;
|
|
2721
|
+
}
|
|
2722
|
+
interface ShopifyInventoryItemDelete {
|
|
2723
|
+
readonly id: number;
|
|
2724
|
+
}
|
|
2725
|
+
interface ShopifyInventoryLevel {
|
|
2726
|
+
readonly inventory_item_id: number;
|
|
2727
|
+
readonly location_id: number;
|
|
2728
|
+
readonly updated_at: string;
|
|
2729
|
+
readonly available?: number;
|
|
2730
|
+
}
|
|
2731
|
+
interface ShopifyInventoryLevelDisconnect {
|
|
2732
|
+
readonly inventory_item_id: number;
|
|
2733
|
+
readonly location_id: number;
|
|
2734
|
+
}
|
|
2735
|
+
interface ShopifyInventoryLevelResponseWrapper {
|
|
2736
|
+
readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
|
|
2737
|
+
}
|
|
2738
|
+
interface ShopifyLineItem {
|
|
2739
|
+
readonly id: number;
|
|
2740
|
+
readonly quantity: number;
|
|
2741
|
+
readonly fulfillable_quantity?: number;
|
|
2742
|
+
readonly fulfillment_service: string;
|
|
2743
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
2744
|
+
readonly grams?: number;
|
|
2745
|
+
readonly price?: string;
|
|
2746
|
+
readonly product_id?: number;
|
|
2747
|
+
readonly requires_shipping: boolean;
|
|
2748
|
+
readonly sku?: string;
|
|
2749
|
+
readonly title?: string;
|
|
2750
|
+
readonly variant_id?: number;
|
|
2751
|
+
readonly variant_title?: string;
|
|
2752
|
+
readonly vendor?: string;
|
|
2753
|
+
readonly name?: string;
|
|
2754
|
+
readonly gift_card: boolean;
|
|
2755
|
+
readonly properties: Record<string, string>[];
|
|
2756
|
+
readonly taxable: boolean;
|
|
2757
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2758
|
+
readonly total_discount?: string;
|
|
2759
|
+
}
|
|
2760
|
+
interface ShopifyLineItemForm {
|
|
2761
|
+
readonly fulfillable_quantity?: number;
|
|
2762
|
+
readonly fulfillment_service: string;
|
|
2763
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
2764
|
+
readonly grams?: number;
|
|
2765
|
+
readonly price?: string;
|
|
2766
|
+
readonly product_id?: number;
|
|
2767
|
+
readonly quantity?: number;
|
|
2768
|
+
readonly requires_shipping: boolean;
|
|
2769
|
+
readonly sku?: string;
|
|
2770
|
+
readonly title?: string;
|
|
2771
|
+
readonly variant_id?: number;
|
|
2772
|
+
readonly variant_title?: string;
|
|
2773
|
+
readonly vendor?: string;
|
|
2774
|
+
readonly name?: string;
|
|
2775
|
+
readonly gift_card: boolean;
|
|
2776
|
+
readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
|
|
2777
|
+
readonly taxable: boolean;
|
|
2778
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2779
|
+
readonly total_discount?: string;
|
|
2780
|
+
readonly id?: number;
|
|
2781
|
+
}
|
|
2782
|
+
interface ShopifyLineLevelDiscountAllocation {
|
|
2783
|
+
readonly amount: number;
|
|
2784
|
+
readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
|
|
2785
|
+
}
|
|
2786
|
+
interface ShopifyLocation {
|
|
2787
|
+
readonly active: boolean;
|
|
2788
|
+
readonly address1?: string;
|
|
2789
|
+
readonly address2?: string;
|
|
2790
|
+
readonly city?: string;
|
|
2791
|
+
readonly country?: string;
|
|
2792
|
+
readonly country_code?: string;
|
|
2793
|
+
readonly created_at: string;
|
|
2794
|
+
readonly id: number;
|
|
2795
|
+
readonly legacy: boolean;
|
|
2796
|
+
readonly name: string;
|
|
2797
|
+
readonly phone?: string;
|
|
2798
|
+
readonly province?: string;
|
|
2799
|
+
readonly province_code?: string;
|
|
2800
|
+
readonly updated_at?: string;
|
|
2801
|
+
readonly zip?: string;
|
|
2802
|
+
}
|
|
2803
|
+
interface ShopifyLocationDelete {
|
|
2804
|
+
readonly id: number;
|
|
2805
|
+
}
|
|
2806
|
+
interface ShopifyLocationsResponseWrapper {
|
|
2807
|
+
readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
|
|
2808
|
+
}
|
|
2809
|
+
interface ShopifyOrder {
|
|
2810
|
+
readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
|
|
2811
|
+
readonly browser_ip?: string;
|
|
2812
|
+
readonly buyer_accepts_marketing: boolean;
|
|
2813
|
+
readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
|
|
2814
|
+
readonly cancelled_at?: string;
|
|
2815
|
+
readonly cart_token?: string;
|
|
2816
|
+
readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
|
|
2817
|
+
readonly closed_at?: string;
|
|
2818
|
+
readonly created_at?: string;
|
|
2819
|
+
readonly currency?: string;
|
|
2820
|
+
readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
|
|
2821
|
+
readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
|
|
2822
|
+
readonly email?: string;
|
|
2823
|
+
readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
|
|
2824
|
+
readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
|
|
2825
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
2826
|
+
readonly id?: number;
|
|
2827
|
+
readonly landing_site?: string;
|
|
2828
|
+
readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
|
|
2829
|
+
readonly location_id?: number;
|
|
2830
|
+
readonly name?: string;
|
|
2831
|
+
readonly note?: string;
|
|
2832
|
+
readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
|
|
2833
|
+
readonly number?: number;
|
|
2834
|
+
readonly order_number?: number;
|
|
2835
|
+
readonly payment_gateway_names: string[];
|
|
2836
|
+
readonly processed_at?: string;
|
|
2837
|
+
readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
|
|
2838
|
+
readonly referring_site?: string;
|
|
2839
|
+
readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
|
|
2840
|
+
readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
|
|
2841
|
+
readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
|
|
2842
|
+
readonly source_name?: string;
|
|
2843
|
+
readonly subtotal_price?: string;
|
|
2844
|
+
readonly tags?: string;
|
|
2845
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2846
|
+
readonly taxes_included: boolean;
|
|
2847
|
+
readonly token?: string;
|
|
2848
|
+
readonly total_discounts?: string;
|
|
2849
|
+
readonly total_line_items_price?: string;
|
|
2850
|
+
readonly total_price?: string;
|
|
2851
|
+
readonly total_tax?: string;
|
|
2852
|
+
readonly total_weight?: number;
|
|
2853
|
+
readonly updated_at?: string;
|
|
2854
|
+
readonly user_id?: number;
|
|
2855
|
+
readonly order_status_url?: string;
|
|
2856
|
+
readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
|
|
2857
|
+
readonly gateway?: string;
|
|
2858
|
+
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2859
|
+
readonly send_receipt?: boolean;
|
|
2860
|
+
readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
|
|
2861
|
+
}
|
|
2862
|
+
interface ShopifyOrderCount {
|
|
2863
|
+
readonly count: number;
|
|
2864
|
+
}
|
|
2865
|
+
interface ShopifyOrderCustomer {
|
|
2866
|
+
readonly email?: string;
|
|
2867
|
+
readonly first_name?: string;
|
|
2868
|
+
readonly last_name?: string;
|
|
2869
|
+
readonly phone?: string;
|
|
2870
|
+
}
|
|
2871
|
+
interface ShopifyOrderWrapper {
|
|
2872
|
+
readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
|
|
2873
|
+
}
|
|
2874
|
+
interface ShopifyPaymentDetail {
|
|
2875
|
+
readonly avs_result_code?: string;
|
|
2876
|
+
readonly credit_card_bin?: string;
|
|
2877
|
+
readonly credit_card_company: string;
|
|
2878
|
+
readonly credit_card_number: string;
|
|
2879
|
+
readonly cvv_result_code?: string;
|
|
2880
|
+
}
|
|
2881
|
+
interface ShopifyRefund {
|
|
2882
|
+
readonly id: number;
|
|
2883
|
+
readonly order_id: number;
|
|
2884
|
+
readonly created_at: string;
|
|
2885
|
+
readonly processed_at: string;
|
|
2886
|
+
readonly note?: string;
|
|
2887
|
+
readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
|
|
2888
|
+
readonly restock?: boolean;
|
|
2889
|
+
readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
|
|
2890
|
+
readonly user_id?: number;
|
|
2891
|
+
}
|
|
2892
|
+
interface ShopifyRefundForm {
|
|
2893
|
+
readonly note?: string;
|
|
2894
|
+
readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
|
|
2895
|
+
readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
|
|
2896
|
+
readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
|
|
2897
|
+
readonly currency: string;
|
|
2898
|
+
}
|
|
2899
|
+
interface ShopifyRefundLineItem {
|
|
2900
|
+
readonly id: number;
|
|
2901
|
+
readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
|
|
2902
|
+
readonly line_item_id: number;
|
|
2903
|
+
readonly quantity: number;
|
|
2904
|
+
readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
|
|
2905
|
+
readonly location_id?: number;
|
|
2906
|
+
readonly subtotal?: number;
|
|
2907
|
+
readonly total_tax?: number;
|
|
2908
|
+
}
|
|
2909
|
+
interface ShopifyRefundLineItemForm {
|
|
2910
|
+
readonly line_item_id: number;
|
|
2911
|
+
readonly quantity: number;
|
|
2912
|
+
readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
|
|
2913
|
+
readonly location_id?: number;
|
|
2914
|
+
}
|
|
2915
|
+
interface ShopifyShippingLine {
|
|
2916
|
+
readonly code: string;
|
|
2917
|
+
readonly price: string;
|
|
2918
|
+
readonly source: string;
|
|
2919
|
+
readonly title: string;
|
|
2920
|
+
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
2921
|
+
readonly carrier_identifier?: string;
|
|
2922
|
+
readonly requested_fulfillment_service_id?: string;
|
|
2923
|
+
}
|
|
2924
|
+
interface ShopifyTaxLine {
|
|
2925
|
+
readonly price: string;
|
|
2926
|
+
readonly rate: number;
|
|
2927
|
+
readonly title: string;
|
|
2928
|
+
}
|
|
2929
|
+
interface ShopifyTransaction {
|
|
2930
|
+
readonly id: number;
|
|
2931
|
+
readonly order_id: number;
|
|
2932
|
+
readonly amount: number;
|
|
2933
|
+
readonly kind: io.flow.shopify.external.v0.enums.KindType;
|
|
2934
|
+
readonly gateway: string;
|
|
2935
|
+
readonly currency: string;
|
|
2936
|
+
readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
|
|
2937
|
+
readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
|
|
2938
|
+
readonly receipt: any;
|
|
2939
|
+
readonly authorization?: string;
|
|
2940
|
+
readonly created_at: string;
|
|
2941
|
+
readonly device_id?: number;
|
|
2942
|
+
readonly gift_card_id?: number;
|
|
2943
|
+
readonly source_name: string;
|
|
2944
|
+
readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
|
|
2945
|
+
readonly test: boolean;
|
|
2946
|
+
readonly parent_id?: number;
|
|
2947
|
+
readonly user_id?: number;
|
|
2948
|
+
}
|
|
2949
|
+
interface ShopifyTransactionForm {
|
|
2950
|
+
readonly amount: number;
|
|
2951
|
+
readonly currency: string;
|
|
2952
|
+
readonly gateway: string;
|
|
2953
|
+
readonly kind: io.flow.shopify.external.v0.enums.KindType;
|
|
2954
|
+
readonly source: string;
|
|
2955
|
+
readonly authorization?: string;
|
|
2956
|
+
readonly gift_card_id?: number;
|
|
2957
|
+
readonly parent_id?: number;
|
|
2958
|
+
readonly receipt?: any;
|
|
2959
|
+
}
|
|
2960
|
+
interface ShopifyTransactionGiftCardReceipt {
|
|
2961
|
+
readonly gift_card_id: number;
|
|
2962
|
+
readonly gift_card_last_characters: string;
|
|
2963
|
+
}
|
|
2964
|
+
interface ShopifyWebhookCustomersRedact {
|
|
2965
|
+
readonly shop_id: number;
|
|
2966
|
+
readonly shop_domain: string;
|
|
2967
|
+
readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
|
|
2968
|
+
readonly orders_to_redact?: number[];
|
|
2969
|
+
}
|
|
2970
|
+
interface ShopifyWebhookCustomersRedactCustomer {
|
|
2971
|
+
readonly id: number;
|
|
2972
|
+
readonly email?: string;
|
|
2973
|
+
readonly phone?: string;
|
|
2974
|
+
}
|
|
2975
|
+
interface ShopifyWebhookOrder {
|
|
2976
|
+
readonly id?: number;
|
|
2977
|
+
readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
|
|
2978
|
+
}
|
|
2979
|
+
interface ShopifyWebhookOrderCancelled {
|
|
2980
|
+
readonly id: number;
|
|
2981
|
+
}
|
|
2982
|
+
interface ShopifyWebhookOrderLineItem {
|
|
2983
|
+
readonly fulfillable_quantity?: number;
|
|
2984
|
+
readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
|
|
2985
|
+
readonly product_id?: number;
|
|
2986
|
+
readonly quantity?: number;
|
|
2987
|
+
readonly requires_shipping: boolean;
|
|
2988
|
+
readonly variant_id?: number;
|
|
2989
|
+
}
|
|
2990
|
+
interface ShopifyWebhookShopRedact {
|
|
2991
|
+
readonly shop_id: number;
|
|
2992
|
+
readonly shop_domain: string;
|
|
2993
|
+
}
|
|
2994
|
+
interface Webhook {
|
|
2995
|
+
readonly address: string;
|
|
2996
|
+
readonly created_at: string;
|
|
2997
|
+
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
2998
|
+
readonly id: number;
|
|
2999
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
3000
|
+
readonly updated_at: string;
|
|
3001
|
+
readonly fields?: string[];
|
|
3002
|
+
readonly metafield_namespaces?: string[];
|
|
3003
|
+
}
|
|
3004
|
+
interface WebhookForm {
|
|
3005
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
3006
|
+
readonly address: string;
|
|
3007
|
+
readonly format: io.flow.shopify.external.v0.enums.Format;
|
|
3008
|
+
readonly metafield_namespaces?: string[];
|
|
3009
|
+
}
|
|
3010
|
+
interface WebhookFormWrapper {
|
|
3011
|
+
readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
|
|
3012
|
+
}
|
|
3013
|
+
interface WebhookResponseList {
|
|
3014
|
+
readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
|
|
3015
|
+
}
|
|
3016
|
+
interface WebhookResponseSingle {
|
|
3017
|
+
readonly webhook: io.flow.shopify.external.v0.models.Webhook;
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
declare namespace io.flow.order.price.v0.enums {
|
|
3021
|
+
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
|
|
3022
|
+
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
3023
|
+
}
|
|
3024
|
+
declare namespace io.flow.order.price.v0.models {
|
|
3025
|
+
interface OrderPriceDetail {
|
|
3026
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
|
|
3027
|
+
readonly currency: string;
|
|
3028
|
+
readonly amount: number;
|
|
3029
|
+
readonly label: string;
|
|
3030
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
3031
|
+
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
3032
|
+
readonly name?: string;
|
|
3033
|
+
readonly rate?: number;
|
|
3034
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
3035
|
+
readonly rate_label?: string;
|
|
3036
|
+
}
|
|
3037
|
+
interface OrderPriceDetailComponent {
|
|
3038
|
+
readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
|
|
3039
|
+
readonly currency: string;
|
|
3040
|
+
readonly amount: number;
|
|
3041
|
+
readonly label: string;
|
|
3042
|
+
readonly base: io.flow.common.v0.models.Price;
|
|
3043
|
+
readonly name?: string;
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
2236
3046
|
declare namespace io.flow.billing.v0.enums {
|
|
2237
3047
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
2238
3048
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
@@ -4135,7 +4945,7 @@ declare namespace io.flow.shopify.v0.models {
|
|
|
4135
4945
|
readonly errors?: io.flow.experience.v0.models.OrderError[];
|
|
4136
4946
|
}
|
|
4137
4947
|
interface ShopifyCartConversionShopifyCart {
|
|
4138
|
-
readonly cart:
|
|
4948
|
+
readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
|
|
4139
4949
|
}
|
|
4140
4950
|
interface ShopifyCartItem {
|
|
4141
4951
|
readonly id: string;
|
|
@@ -6548,8 +7358,8 @@ declare namespace io.flow.shopify.internal.v0.enums {
|
|
|
6548
7358
|
}
|
|
6549
7359
|
declare namespace io.flow.shopify.internal.v0.models {
|
|
6550
7360
|
interface CompletePriceRule {
|
|
6551
|
-
readonly price_rule:
|
|
6552
|
-
readonly discount_codes:
|
|
7361
|
+
readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
|
|
7362
|
+
readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
|
|
6553
7363
|
}
|
|
6554
7364
|
interface InstallForm {
|
|
6555
7365
|
readonly token: string;
|
|
@@ -6745,7 +7555,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6745
7555
|
readonly id: string;
|
|
6746
7556
|
readonly shop_id: string;
|
|
6747
7557
|
readonly address: string;
|
|
6748
|
-
readonly topic:
|
|
7558
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
6749
7559
|
}
|
|
6750
7560
|
interface ShopifyWebhookEvent {
|
|
6751
7561
|
readonly dummy: string;
|
|
@@ -6753,7 +7563,7 @@ declare namespace io.flow.shopify.internal.v0.models {
|
|
|
6753
7563
|
interface ShopifyWebhookForm {
|
|
6754
7564
|
readonly myshopify_domain: string;
|
|
6755
7565
|
readonly address: string;
|
|
6756
|
-
readonly topic:
|
|
7566
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
6757
7567
|
}
|
|
6758
7568
|
}
|
|
6759
7569
|
declare namespace io.flow.shopify.internal.v0.unions {
|
|
@@ -9009,7 +9819,7 @@ declare namespace io.flow.crypto.v0.enums {
|
|
|
9009
9819
|
type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
|
|
9010
9820
|
type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
|
|
9011
9821
|
type RefundStatus = 'pending' | 'succeeded';
|
|
9012
|
-
type WebhookEventName = 'payment.created' | 'payment.captured';
|
|
9822
|
+
type WebhookEventName = 'payment.created' | 'payment.captured' | 'payment.refund_requested' | 'payment.refund_transferred';
|
|
9013
9823
|
type WebhookObjectType = 'event';
|
|
9014
9824
|
}
|
|
9015
9825
|
declare namespace io.flow.crypto.v0.models {
|
|
@@ -9018,7 +9828,10 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9018
9828
|
readonly object_type: io.flow.crypto.v0.enums.WebhookObjectType;
|
|
9019
9829
|
readonly type: io.flow.crypto.v0.enums.WebhookEventName;
|
|
9020
9830
|
readonly created: number;
|
|
9021
|
-
readonly data:
|
|
9831
|
+
readonly data: any;
|
|
9832
|
+
}
|
|
9833
|
+
interface CryptoPaymentInfo {
|
|
9834
|
+
readonly publishable_key: string;
|
|
9022
9835
|
}
|
|
9023
9836
|
interface ErrorResponse {
|
|
9024
9837
|
readonly type: io.flow.crypto.v0.enums.ErrorType;
|
|
@@ -9067,13 +9880,15 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9067
9880
|
interface RefundRequest {
|
|
9068
9881
|
readonly payment_id: string;
|
|
9069
9882
|
readonly amount: number;
|
|
9070
|
-
readonly debit_currency: string;
|
|
9071
9883
|
readonly reason?: io.flow.crypto.v0.enums.ReasonType;
|
|
9072
9884
|
readonly description?: string;
|
|
9073
9885
|
}
|
|
9074
9886
|
interface WebhookPayment {
|
|
9075
9887
|
readonly object: io.flow.crypto.v0.models.Payment;
|
|
9076
9888
|
}
|
|
9889
|
+
interface WebhookRefund {
|
|
9890
|
+
readonly object: io.flow.crypto.v0.models.Refund;
|
|
9891
|
+
}
|
|
9077
9892
|
}
|
|
9078
9893
|
declare namespace io.flow.order.management.v0.enums {
|
|
9079
9894
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -9221,7 +10036,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9221
10036
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
9222
10037
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
9223
10038
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
9224
|
-
type ChargebackProcessStatus = 'open' | 'closed';
|
|
10039
|
+
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
9225
10040
|
type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
|
|
9226
10041
|
type CheckoutPromptBehavior = 'always' | 'incomplete';
|
|
9227
10042
|
type CheckoutRedirectMethod = 'get' | 'post';
|
|
@@ -9241,6 +10056,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9241
10056
|
type ExperienceImportType = 'experience_with_settings';
|
|
9242
10057
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9243
10058
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
10059
|
+
type ExperimentDiscriminatorValue = 'experience' | 'feature';
|
|
9244
10060
|
type FeatureScope = 'global' | 'organization';
|
|
9245
10061
|
type FeatureStatus = 'draft' | 'active' | 'archived';
|
|
9246
10062
|
type FeatureType = 'boolean' | 'decimal' | 'string';
|
|
@@ -9301,7 +10117,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9301
10117
|
type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
|
|
9302
10118
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
9303
10119
|
type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
|
|
9304
|
-
type Status = 'draft' | 'ended' | '
|
|
10120
|
+
type Status = 'draft' | 'live' | 'ended' | 'archived';
|
|
9305
10121
|
type SubscriptionFrequency = 'yearly' | 'monthly';
|
|
9306
10122
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
9307
10123
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
@@ -10357,8 +11173,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10357
11173
|
readonly classification_model_id: string;
|
|
10358
11174
|
}
|
|
10359
11175
|
interface CompletePriceRule {
|
|
10360
|
-
readonly price_rule:
|
|
10361
|
-
readonly discount_codes:
|
|
11176
|
+
readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
|
|
11177
|
+
readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
|
|
10362
11178
|
}
|
|
10363
11179
|
interface Components {
|
|
10364
11180
|
readonly vat: io.flow.common.v0.models.Price;
|
|
@@ -10662,6 +11478,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10662
11478
|
interface ExpectedOrderSummary {
|
|
10663
11479
|
readonly total?: io.flow.common.v0.models.Money;
|
|
10664
11480
|
}
|
|
11481
|
+
interface ExperienceExperiment {
|
|
11482
|
+
readonly discriminator: 'experience';
|
|
11483
|
+
readonly id: string;
|
|
11484
|
+
readonly key: string;
|
|
11485
|
+
readonly name: string;
|
|
11486
|
+
readonly status: io.flow.internal.v0.enums.Status;
|
|
11487
|
+
readonly started_at?: string;
|
|
11488
|
+
readonly ended_at?: string;
|
|
11489
|
+
readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
|
|
11490
|
+
}
|
|
10665
11491
|
interface ExperienceExportRequest {
|
|
10666
11492
|
readonly discriminator: 'experience_export_request';
|
|
10667
11493
|
readonly event_id: string;
|
|
@@ -10695,19 +11521,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10695
11521
|
}
|
|
10696
11522
|
interface ExperienceVariant {
|
|
10697
11523
|
readonly discriminator: 'experience_variant';
|
|
10698
|
-
readonly experience: io.flow.
|
|
11524
|
+
readonly experience: io.flow.internal.v0.models.ExperimentVariantSummary;
|
|
10699
11525
|
readonly traffic_percentage: number;
|
|
10700
11526
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
10701
|
-
readonly name?: string;
|
|
10702
11527
|
}
|
|
10703
|
-
interface
|
|
10704
|
-
readonly
|
|
11528
|
+
interface ExperienceVariantForm {
|
|
11529
|
+
readonly discriminator: 'experience';
|
|
10705
11530
|
readonly key: string;
|
|
10706
|
-
readonly
|
|
10707
|
-
readonly status: io.flow.internal.v0.enums.Status;
|
|
10708
|
-
readonly started_at?: string;
|
|
10709
|
-
readonly ended_at?: string;
|
|
10710
|
-
readonly variants: io.flow.internal.v0.unions.Variant[];
|
|
11531
|
+
readonly traffic_percentage: number;
|
|
10711
11532
|
}
|
|
10712
11533
|
interface ExperimentDeleted {
|
|
10713
11534
|
readonly discriminator: 'experiment_deleted';
|
|
@@ -10726,7 +11547,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10726
11547
|
}
|
|
10727
11548
|
interface ExperimentForm {
|
|
10728
11549
|
readonly name: string;
|
|
10729
|
-
readonly variants: io.flow.internal.v0.unions.
|
|
11550
|
+
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
11551
|
+
}
|
|
11552
|
+
interface ExperimentFormDefault {
|
|
11553
|
+
readonly discriminator: io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
|
|
11554
|
+
readonly values: io.flow.internal.v0.models.ExperimentVariantSummary[];
|
|
11555
|
+
readonly variants?: io.flow.internal.v0.models.ExperimentVariantFormDefault[];
|
|
10730
11556
|
}
|
|
10731
11557
|
interface ExperimentResults {
|
|
10732
11558
|
readonly id: string;
|
|
@@ -10764,11 +11590,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10764
11590
|
readonly organization_id: string;
|
|
10765
11591
|
readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
|
|
10766
11592
|
}
|
|
11593
|
+
interface ExperimentVariantFormDefault {
|
|
11594
|
+
readonly key: string;
|
|
11595
|
+
readonly name: string;
|
|
11596
|
+
readonly traffic_percentage: number;
|
|
11597
|
+
}
|
|
11598
|
+
interface ExperimentVariantSummary {
|
|
11599
|
+
readonly key: string;
|
|
11600
|
+
readonly name?: string;
|
|
11601
|
+
}
|
|
10767
11602
|
interface ExperimentVersion {
|
|
10768
11603
|
readonly id: string;
|
|
10769
11604
|
readonly timestamp: string;
|
|
10770
11605
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
10771
|
-
readonly experiment: io.flow.internal.v0.
|
|
11606
|
+
readonly experiment: io.flow.internal.v0.unions.Experiment;
|
|
10772
11607
|
}
|
|
10773
11608
|
interface ExplicitStatementDate {
|
|
10774
11609
|
readonly id: string;
|
|
@@ -10823,13 +11658,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10823
11658
|
readonly description?: string;
|
|
10824
11659
|
readonly order_number?: string;
|
|
10825
11660
|
}
|
|
10826
|
-
interface ExternalVariant {
|
|
10827
|
-
readonly discriminator: 'external_variant';
|
|
10828
|
-
readonly key: string;
|
|
10829
|
-
readonly traffic_percentage: number;
|
|
10830
|
-
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
10831
|
-
readonly name: string;
|
|
10832
|
-
}
|
|
10833
11661
|
interface FacebookPixel {
|
|
10834
11662
|
readonly discriminator: 'facebook_pixel';
|
|
10835
11663
|
readonly name?: string;
|
|
@@ -10858,6 +11686,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10858
11686
|
readonly organization: string;
|
|
10859
11687
|
readonly feature: io.flow.feature.v0.models.Feature;
|
|
10860
11688
|
}
|
|
11689
|
+
interface FeatureExperiment {
|
|
11690
|
+
readonly discriminator: 'feature';
|
|
11691
|
+
readonly id: string;
|
|
11692
|
+
readonly key: string;
|
|
11693
|
+
readonly name: string;
|
|
11694
|
+
readonly status: io.flow.internal.v0.enums.Status;
|
|
11695
|
+
readonly started_at?: string;
|
|
11696
|
+
readonly ended_at?: string;
|
|
11697
|
+
readonly variants: io.flow.internal.v0.models.FeatureVariant[];
|
|
11698
|
+
}
|
|
10861
11699
|
interface FeatureForm {
|
|
10862
11700
|
readonly name: string;
|
|
10863
11701
|
readonly description?: string;
|
|
@@ -10910,10 +11748,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10910
11748
|
}
|
|
10911
11749
|
interface FeatureVariant {
|
|
10912
11750
|
readonly discriminator: 'feature_variant';
|
|
10913
|
-
readonly
|
|
11751
|
+
readonly value: io.flow.internal.v0.models.ExperimentVariantSummary;
|
|
10914
11752
|
readonly traffic_percentage: number;
|
|
10915
11753
|
readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
|
|
10916
|
-
|
|
11754
|
+
}
|
|
11755
|
+
interface FeatureVariantForm {
|
|
11756
|
+
readonly discriminator: 'feature';
|
|
11757
|
+
readonly key: string;
|
|
11758
|
+
readonly traffic_percentage: number;
|
|
10917
11759
|
}
|
|
10918
11760
|
interface FedexCrossborder {
|
|
10919
11761
|
readonly discriminator: 'fedex_crossborder';
|
|
@@ -13173,6 +14015,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13173
14015
|
interface ShopifyOrderInventoryCheck {
|
|
13174
14016
|
readonly item_number: string;
|
|
13175
14017
|
readonly quantity: number;
|
|
14018
|
+
readonly order_number?: string;
|
|
13176
14019
|
}
|
|
13177
14020
|
interface ShopifyOrderLineAttribute {
|
|
13178
14021
|
readonly key: string;
|
|
@@ -13282,7 +14125,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13282
14125
|
readonly id: string;
|
|
13283
14126
|
readonly shop_id: string;
|
|
13284
14127
|
readonly address: string;
|
|
13285
|
-
readonly topic:
|
|
14128
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
13286
14129
|
}
|
|
13287
14130
|
interface ShopifyWebhookEvent {
|
|
13288
14131
|
readonly dummy: string;
|
|
@@ -13290,7 +14133,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13290
14133
|
interface ShopifyWebhookForm {
|
|
13291
14134
|
readonly myshopify_domain: string;
|
|
13292
14135
|
readonly address: string;
|
|
13293
|
-
readonly topic:
|
|
14136
|
+
readonly topic: io.flow.shopify.external.v0.enums.Topic;
|
|
13294
14137
|
}
|
|
13295
14138
|
interface SnapchatPixel {
|
|
13296
14139
|
readonly discriminator: 'snapchat_pixel';
|
|
@@ -13813,6 +14656,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
13813
14656
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
13814
14657
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
13815
14658
|
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
14659
|
+
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
13816
14660
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
13817
14661
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
13818
14662
|
type FeatureRule = io.flow.internal.v0.models.BooleanFeatureRule | io.flow.internal.v0.models.StringFeatureRule;
|
|
@@ -13850,7 +14694,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
13850
14694
|
type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction;
|
|
13851
14695
|
type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
|
|
13852
14696
|
type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
|
|
13853
|
-
type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.
|
|
14697
|
+
type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
|
|
14698
|
+
type VariantForm = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm;
|
|
13854
14699
|
}
|
|
13855
14700
|
export declare type Account = io.flow.internal.v0.models.Account;
|
|
13856
14701
|
export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
|
|
@@ -14107,6 +14952,7 @@ export declare type Encryption = io.flow.internal.v0.models.Encryption;
|
|
|
14107
14952
|
export declare type Event = io.flow.internal.v0.unions.Event;
|
|
14108
14953
|
export declare type EventType = io.flow.internal.v0.enums.EventType;
|
|
14109
14954
|
export declare type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
|
|
14955
|
+
export declare type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
|
|
14110
14956
|
export declare type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
|
|
14111
14957
|
export declare type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
|
|
14112
14958
|
export declare type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
|
|
@@ -14116,15 +14962,20 @@ export declare type ExperienceOrderActionRule = io.flow.internal.v0.models.Exper
|
|
|
14116
14962
|
export declare type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.ExperienceOrderActionTrigger;
|
|
14117
14963
|
export declare type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
|
|
14118
14964
|
export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
|
|
14119
|
-
export declare type
|
|
14965
|
+
export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
|
|
14966
|
+
export declare type Experiment = io.flow.internal.v0.unions.Experiment;
|
|
14120
14967
|
export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
|
|
14968
|
+
export declare type ExperimentDiscriminatorValue = io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
|
|
14121
14969
|
export declare type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
|
|
14122
14970
|
export declare type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
|
|
14971
|
+
export declare type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDefault;
|
|
14123
14972
|
export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
|
|
14124
14973
|
export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
|
|
14125
14974
|
export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
|
|
14126
14975
|
export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
|
|
14127
14976
|
export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
|
|
14977
|
+
export declare type ExperimentVariantFormDefault = io.flow.internal.v0.models.ExperimentVariantFormDefault;
|
|
14978
|
+
export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
|
|
14128
14979
|
export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
|
|
14129
14980
|
export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
|
|
14130
14981
|
export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
|
|
@@ -14135,12 +14986,12 @@ export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportSched
|
|
|
14135
14986
|
export declare type ExportScheduleRepeated = io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
14136
14987
|
export declare type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel;
|
|
14137
14988
|
export declare type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
14138
|
-
export declare type ExternalVariant = io.flow.internal.v0.models.ExternalVariant;
|
|
14139
14989
|
export declare type FacebookPixel = io.flow.internal.v0.models.FacebookPixel;
|
|
14140
14990
|
export declare type Feature = io.flow.internal.v0.models.Feature;
|
|
14141
14991
|
export declare type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
|
|
14142
14992
|
export declare type FeatureDefaultValue = io.flow.internal.v0.unions.FeatureDefaultValue;
|
|
14143
14993
|
export declare type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted;
|
|
14994
|
+
export declare type FeatureExperiment = io.flow.internal.v0.models.FeatureExperiment;
|
|
14144
14995
|
export declare type FeatureForm = io.flow.internal.v0.models.FeatureForm;
|
|
14145
14996
|
export declare type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm;
|
|
14146
14997
|
export declare type FeatureIdReference = io.flow.internal.v0.models.FeatureIdReference;
|
|
@@ -14160,6 +15011,7 @@ export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
|
|
|
14160
15011
|
export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
|
|
14161
15012
|
export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
|
|
14162
15013
|
export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
|
|
15014
|
+
export declare type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
|
|
14163
15015
|
export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
|
|
14164
15016
|
export declare type Fee = io.flow.internal.v0.models.Fee;
|
|
14165
15017
|
export declare type Feed = io.flow.internal.v0.unions.Feed;
|
|
@@ -14712,6 +15564,7 @@ export declare type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2;
|
|
|
14712
15564
|
export declare type ValidationCharacterLength = io.flow.internal.v0.models.ValidationCharacterLength;
|
|
14713
15565
|
export declare type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
|
|
14714
15566
|
export declare type Variant = io.flow.internal.v0.unions.Variant;
|
|
15567
|
+
export declare type VariantForm = io.flow.internal.v0.unions.VariantForm;
|
|
14715
15568
|
export declare type ViesResult = io.flow.internal.v0.models.ViesResult;
|
|
14716
15569
|
export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
|
|
14717
15570
|
export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
|