@flowio/types 8.0.3 → 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.d.ts CHANGED
@@ -1,826 +1,3 @@
1
- declare namespace io.flow.shopify.external.v0.enums {
2
- type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
3
- type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
4
- type DiscountType = 'fixed_amount' | 'percentage' | 'shipping';
5
- type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
6
- type Event = 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop';
7
- type FinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
8
- type Format = 'json' | 'xml';
9
- type FulfillmentService = 'manual' | 'gift_card';
10
- type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
11
- type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
12
- type InventoryManagement = 'blank' | 'shopify';
13
- type InventoryPolicy = 'deny' | 'continue';
14
- type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
15
- type LocalizedPrice = 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total';
16
- type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
17
- type PriceRuleAllocationMethod = 'across' | 'each';
18
- type PriceRuleCustomerSelection = 'all' | 'prerequisite';
19
- type PriceRuleTargetSelection = 'all' | 'entitled';
20
- type PriceRuleTargetType = 'line_item' | 'shipping_line';
21
- type PriceRuleValueType = 'fixed_amount' | 'percentage';
22
- type PublishedScope = 'global';
23
- type RestockType = 'no_restock' | 'cancel' | 'return';
24
- type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
25
- type ShopifyDiscountPaginationDirection = 'next' | 'prev';
26
- type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
27
- type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
28
- 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';
29
- type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
30
- 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';
31
- type ValueType = 'string' | 'integer';
32
- type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
33
- }
34
- declare namespace io.flow.shopify.external.v0.models {
35
- interface Collect {
36
- readonly id: number;
37
- readonly collection_id: number;
38
- readonly product_id: number;
39
- readonly featured: boolean;
40
- readonly created_at?: string;
41
- readonly updated_at?: string;
42
- readonly position: number;
43
- readonly sort_value: string;
44
- }
45
- interface Collection {
46
- readonly id: number;
47
- readonly handle?: string;
48
- readonly title?: string;
49
- readonly published?: boolean;
50
- readonly published_at?: string;
51
- readonly updated_at?: string;
52
- }
53
- interface Count {
54
- readonly count: number;
55
- }
56
- interface Discount {
57
- readonly id: number;
58
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
59
- readonly code: string;
60
- readonly value?: number;
61
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
62
- readonly usage_limit?: number;
63
- readonly applies_once: boolean;
64
- readonly applies_once_per_customer: boolean;
65
- readonly ends_at?: string;
66
- readonly starts_at?: string;
67
- readonly minimum_order_amount?: number;
68
- readonly applies_to_id?: number;
69
- readonly applies_to_resource?: string;
70
- readonly times_used: number;
71
- }
72
- interface Metafield {
73
- readonly id: number;
74
- readonly key: string;
75
- readonly namespace: string;
76
- readonly value: string;
77
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
78
- readonly description?: string;
79
- readonly owner_id: number;
80
- readonly owner_resource: string;
81
- }
82
- interface MetafieldForm {
83
- readonly key: string;
84
- readonly namespace: string;
85
- readonly value: string;
86
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
87
- readonly description?: string;
88
- }
89
- interface Option {
90
- readonly id: number;
91
- readonly product_id: number;
92
- readonly name: string;
93
- readonly position: number;
94
- readonly values?: string[];
95
- }
96
- interface PriceRule {
97
- readonly id: number;
98
- readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
99
- readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
100
- readonly value: number;
101
- readonly starts_at: string;
102
- readonly ends_at?: string;
103
- readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
104
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
105
- readonly usage_limit?: number;
106
- readonly entitled_product_ids: number[];
107
- readonly entitled_variant_ids: number[];
108
- readonly entitled_collection_ids: number[];
109
- readonly entitled_country_ids: number[];
110
- readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
111
- readonly once_per_customer: boolean;
112
- readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
113
- readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
114
- readonly prerequisite_saved_search_ids: number[];
115
- readonly prerequisite_customer_ids?: number[];
116
- readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
117
- readonly prerequisite_product_ids?: number[];
118
- readonly prerequisite_variant_ids?: number[];
119
- readonly prerequisite_collection_ids?: number[];
120
- readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
121
- readonly allocation_limit?: number;
122
- readonly title?: string;
123
- readonly created_at?: string;
124
- readonly updated_at?: string;
125
- }
126
- interface PriceRuleDiscountCode {
127
- readonly id: number;
128
- readonly price_rule_id: number;
129
- readonly code: string;
130
- readonly usage_count: number;
131
- readonly created_at: string;
132
- readonly updated_at: string;
133
- }
134
- interface PriceRuleForm {
135
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
136
- }
137
- interface PriceRuleGreaterThanRange {
138
- readonly greater_than?: number;
139
- readonly greater_than_or_equal_to?: number;
140
- }
141
- interface PriceRuleLessThanRange {
142
- readonly less_than?: number;
143
- readonly less_than_or_equal_to?: number;
144
- }
145
- interface PriceRulePrerequisiteToEntitlementQuantityRatio {
146
- readonly prerequisite_quantity?: number;
147
- readonly entitled_quantity?: number;
148
- }
149
- interface Product {
150
- readonly id: number;
151
- readonly handle: string;
152
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
153
- readonly images: io.flow.shopify.external.v0.models.ProductImage[];
154
- readonly title: string;
155
- readonly vendor?: string;
156
- readonly body_html?: string;
157
- readonly product_type?: string;
158
- readonly options: io.flow.shopify.external.v0.models.Option[];
159
- readonly tags?: string;
160
- readonly template_suffix?: string;
161
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
162
- readonly published_at?: string;
163
- readonly created_at: string;
164
- readonly updated_at: string;
165
- }
166
- interface ProductDelete {
167
- readonly id: number;
168
- }
169
- interface ProductImage {
170
- readonly id: number;
171
- readonly product_id: number;
172
- readonly variant_ids: number[];
173
- readonly src: string;
174
- readonly position: number;
175
- readonly created_at: string;
176
- readonly updated_at: string;
177
- readonly alt?: string;
178
- }
179
- interface ProductVariant {
180
- readonly id: number;
181
- readonly sku?: string;
182
- readonly product_id: number;
183
- readonly price: number;
184
- readonly title: string;
185
- readonly taxable: boolean;
186
- readonly compare_at_price?: number;
187
- readonly grams?: number;
188
- readonly image_id?: number;
189
- readonly barcode?: string;
190
- readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
191
- readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
192
- readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
193
- readonly weight?: number;
194
- readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
195
- readonly inventory_item_id?: number;
196
- readonly inventory_quantity?: number;
197
- readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
198
- readonly option1?: string;
199
- readonly option2?: string;
200
- readonly option3?: string;
201
- readonly requires_shipping: boolean;
202
- readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
203
- }
204
- interface RequestMetafieldForm {
205
- readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
206
- }
207
- interface RequestShopifyGiftCard {
208
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
209
- }
210
- interface RequestShopifyRefundForm {
211
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
212
- }
213
- interface RequestShopifyTransactionForm {
214
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
215
- }
216
- interface ResponseCollect {
217
- readonly collect: io.flow.shopify.external.v0.models.Collect;
218
- }
219
- interface ResponseCollects {
220
- readonly collects: io.flow.shopify.external.v0.models.Collect[];
221
- }
222
- interface ResponseDiscount {
223
- readonly discount: io.flow.shopify.external.v0.models.Discount;
224
- }
225
- interface ResponseDiscounts {
226
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
227
- }
228
- interface ResponseMetafield {
229
- readonly metafield: io.flow.shopify.external.v0.models.Metafield;
230
- }
231
- interface ResponseMetafields {
232
- readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
233
- }
234
- interface ResponseOrdersWrapper {
235
- readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
236
- }
237
- interface ResponsePriceRule {
238
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
239
- }
240
- interface ResponsePriceRuleDiscountCode {
241
- readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
242
- }
243
- interface ResponsePriceRuleDiscountCodes {
244
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
245
- }
246
- interface ResponsePriceRules {
247
- readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
248
- }
249
- interface ResponseProduct {
250
- readonly product: io.flow.shopify.external.v0.models.Product;
251
- }
252
- interface ResponseProducts {
253
- readonly products: io.flow.shopify.external.v0.models.Product[];
254
- }
255
- interface ResponseShopifyGiftCard {
256
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
257
- }
258
- interface ResponseShopifyGiftCards {
259
- readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
260
- }
261
- interface ResponseShopifyRefundSingle {
262
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
263
- }
264
- interface ResponseShopifyTransaction {
265
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
266
- }
267
- interface ResponseShopifyTransactionSingle {
268
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
269
- }
270
- interface ResponseVariant {
271
- readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
272
- }
273
- interface Shop {
274
- readonly id: number;
275
- readonly domain: string;
276
- readonly myshopify_domain: string;
277
- readonly name: string;
278
- readonly primary_locale: string;
279
- readonly currency: string;
280
- readonly country_code: string;
281
- }
282
- interface ShopResponse {
283
- readonly shop: io.flow.shopify.external.v0.models.Shop;
284
- }
285
- interface ShopifyAddress {
286
- readonly id?: number;
287
- readonly address1?: string;
288
- readonly address2?: string;
289
- readonly city?: string;
290
- readonly company?: string;
291
- readonly country?: string;
292
- readonly country_code?: string;
293
- readonly default?: boolean;
294
- readonly first_name?: string;
295
- readonly last_name?: string;
296
- readonly latitude?: number;
297
- readonly longitude?: number;
298
- readonly name?: string;
299
- readonly phone?: string;
300
- readonly province?: string;
301
- readonly province_code?: string;
302
- readonly zip?: string;
303
- }
304
- interface ShopifyAttribute {
305
- readonly name: string;
306
- readonly value: string;
307
- }
308
- interface ShopifyCart {
309
- readonly token: string;
310
- readonly note?: string;
311
- readonly attributes?: {
312
- [key: string]: string;
313
- };
314
- readonly items_subtotal_price?: number;
315
- readonly total_price: number;
316
- readonly total_weight: number;
317
- readonly total_discount: number;
318
- readonly original_total_price: number;
319
- readonly item_count: number;
320
- readonly requires_shipping: boolean;
321
- readonly currency?: string;
322
- readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
323
- readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
324
- }
325
- interface ShopifyCartItem {
326
- readonly id: number;
327
- readonly title: string;
328
- readonly key?: string;
329
- readonly price: number;
330
- readonly line_price: number;
331
- readonly final_price: number;
332
- readonly final_line_price: number;
333
- readonly original_price: number;
334
- readonly original_line_price: number;
335
- readonly total_discount: number;
336
- readonly discounted_price: number;
337
- readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
338
- readonly taxable: boolean;
339
- readonly quantity: number;
340
- readonly sku?: string;
341
- readonly grams?: number;
342
- readonly vendor?: string;
343
- readonly properties?: {
344
- [key: string]: string;
345
- };
346
- readonly variant_id?: number;
347
- readonly gift_card: boolean;
348
- readonly url: string;
349
- readonly image?: string;
350
- readonly handle: string;
351
- readonly requires_shipping: boolean;
352
- readonly product_id: number;
353
- readonly product_title: string;
354
- readonly product_description?: string;
355
- readonly product_type: string;
356
- readonly variant_title?: string;
357
- readonly variant_options?: string[];
358
- readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
359
- }
360
- interface ShopifyCartItemDiscount {
361
- readonly amount: number;
362
- readonly title: string;
363
- }
364
- interface ShopifyClientDetail {
365
- readonly accept_language: boolean;
366
- readonly browser_height?: number;
367
- readonly browser_ip: string;
368
- readonly browser_width?: number;
369
- readonly session_hash?: string;
370
- readonly user_agent?: string;
371
- }
372
- interface ShopifyCustomer {
373
- readonly id: number;
374
- readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
375
- readonly created_at: string;
376
- readonly tags: string;
377
- readonly tax_exempt: boolean;
378
- readonly verified_email: boolean;
379
- readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
380
- readonly accepts_marketing?: boolean;
381
- readonly default_address?: {
382
- [key: string]: string;
383
- };
384
- readonly email?: string;
385
- readonly first_name?: string;
386
- readonly last_name?: string;
387
- readonly last_order_id?: number;
388
- readonly last_order_name?: string;
389
- readonly note?: string;
390
- readonly orders_count?: number;
391
- readonly phone?: string;
392
- readonly total_spent?: string;
393
- readonly updated_at?: string;
394
- }
395
- interface ShopifyCustomerAddress {
396
- readonly id: number;
397
- readonly customer_id: number;
398
- readonly default: boolean;
399
- readonly address1?: string;
400
- readonly address2?: string;
401
- readonly city?: string;
402
- readonly company?: string;
403
- readonly first_name?: string;
404
- readonly last_name?: string;
405
- readonly name?: string;
406
- readonly phone?: string;
407
- readonly country?: string;
408
- readonly country_code?: string;
409
- readonly country_name?: string;
410
- readonly province?: string;
411
- readonly province_code?: string;
412
- readonly zip?: string;
413
- }
414
- interface ShopifyCustomerDelete {
415
- readonly id: number;
416
- }
417
- interface ShopifyCustomersResponseWrapper {
418
- readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
419
- }
420
- interface ShopifyDiscountApplication {
421
- readonly type: string;
422
- readonly key: string;
423
- readonly title: string;
424
- readonly description?: string;
425
- readonly value: string;
426
- readonly created_at: string;
427
- readonly value_type: string;
428
- readonly allocation_method: string;
429
- readonly target_selection: string;
430
- readonly target_type: string;
431
- readonly total_allocated_amount: number;
432
- }
433
- interface ShopifyDiscountCode {
434
- readonly amount: string;
435
- readonly code: string;
436
- readonly type: io.flow.shopify.external.v0.enums.DiscountType;
437
- }
438
- interface ShopifyError {
439
- readonly errors: {
440
- [key: string]: string;
441
- };
442
- }
443
- interface ShopifyFulfillment {
444
- readonly location_id: number;
445
- readonly created_at?: string;
446
- readonly id?: number;
447
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
448
- readonly order_id?: number;
449
- readonly receipt?: {
450
- [key: string]: string;
451
- };
452
- readonly status?: string;
453
- readonly tracking_company?: string;
454
- readonly tracking_number?: string;
455
- readonly tracking_numbers?: string[];
456
- readonly tracking_url?: string;
457
- readonly tracking_urls?: string[];
458
- readonly updated_at?: string;
459
- readonly notify_customer?: boolean;
460
- }
461
- interface ShopifyFulfillmentWrapper {
462
- readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
463
- }
464
- interface ShopifyGiftCard {
465
- readonly id: number;
466
- readonly balance: number;
467
- readonly currency: string;
468
- readonly initial_value: number;
469
- readonly last_characters: string;
470
- readonly created_at: string;
471
- readonly updated_at: string;
472
- readonly api_client_id?: number;
473
- readonly code?: string;
474
- readonly customer_id?: number;
475
- readonly disabled_at?: string;
476
- readonly expires_on?: string;
477
- readonly line_item_id?: number;
478
- readonly note?: string;
479
- readonly order_id?: number;
480
- readonly template_suffix?: string;
481
- readonly user_id?: number;
482
- }
483
- interface ShopifyGiftCardAdjustment {
484
- readonly id: number;
485
- readonly gift_card_id: number;
486
- readonly number: number;
487
- readonly amount: number;
488
- readonly created_at: string;
489
- readonly processed_at: string;
490
- readonly note?: string;
491
- readonly remote_transaction_ref?: string;
492
- readonly remote_transaction_url?: string;
493
- readonly api_client_id?: number;
494
- readonly user_id?: number;
495
- readonly order_transaction_id?: number;
496
- }
497
- interface ShopifyGiftCardAdjustmentForm {
498
- readonly amount: number;
499
- readonly note?: string;
500
- readonly order_transaction_id?: number;
501
- readonly processed_at?: string;
502
- }
503
- interface ShopifyGiftCardAdjustmentFormWrapper {
504
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
505
- }
506
- interface ShopifyGiftCardAdjustmentResponseWrapper {
507
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
508
- }
509
- interface ShopifyGiftCardForm {
510
- readonly initial_value: number;
511
- readonly code?: string;
512
- readonly note?: string;
513
- readonly template_suffix?: string;
514
- }
515
- interface ShopifyInventoryItem {
516
- readonly id: number;
517
- readonly tracked: boolean;
518
- readonly sku?: string;
519
- readonly cost?: string;
520
- readonly country_code_of_origin?: string;
521
- readonly created_at: string;
522
- readonly updated_at?: string;
523
- }
524
- interface ShopifyInventoryItemDelete {
525
- readonly id: number;
526
- }
527
- interface ShopifyInventoryLevel {
528
- readonly inventory_item_id: number;
529
- readonly location_id: number;
530
- readonly updated_at: string;
531
- readonly available?: number;
532
- }
533
- interface ShopifyInventoryLevelDisconnect {
534
- readonly inventory_item_id: number;
535
- readonly location_id: number;
536
- }
537
- interface ShopifyInventoryLevelResponseWrapper {
538
- readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
539
- }
540
- interface ShopifyLineItem {
541
- readonly id: number;
542
- readonly quantity: number;
543
- readonly fulfillable_quantity?: number;
544
- readonly fulfillment_service: string;
545
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
546
- readonly grams?: number;
547
- readonly price?: string;
548
- readonly product_id?: number;
549
- readonly requires_shipping: boolean;
550
- readonly sku?: string;
551
- readonly title?: string;
552
- readonly variant_id?: number;
553
- readonly variant_title?: string;
554
- readonly vendor?: string;
555
- readonly name?: string;
556
- readonly gift_card: boolean;
557
- readonly properties: {
558
- [key: string]: string;
559
- }[];
560
- readonly taxable: boolean;
561
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
562
- readonly total_discount?: string;
563
- }
564
- interface ShopifyLineItemForm {
565
- readonly fulfillable_quantity?: number;
566
- readonly fulfillment_service: string;
567
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
568
- readonly grams?: number;
569
- readonly price?: string;
570
- readonly product_id?: number;
571
- readonly quantity?: number;
572
- readonly requires_shipping: boolean;
573
- readonly sku?: string;
574
- readonly title?: string;
575
- readonly variant_id?: number;
576
- readonly variant_title?: string;
577
- readonly vendor?: string;
578
- readonly name?: string;
579
- readonly gift_card: boolean;
580
- readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
581
- readonly taxable: boolean;
582
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
583
- readonly total_discount?: string;
584
- readonly id?: number;
585
- }
586
- interface ShopifyLineLevelDiscountAllocation {
587
- readonly amount: number;
588
- readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
589
- }
590
- interface ShopifyLocation {
591
- readonly active: boolean;
592
- readonly address1?: string;
593
- readonly address2?: string;
594
- readonly city?: string;
595
- readonly country?: string;
596
- readonly country_code?: string;
597
- readonly created_at: string;
598
- readonly id: number;
599
- readonly legacy: boolean;
600
- readonly name: string;
601
- readonly phone?: string;
602
- readonly province?: string;
603
- readonly province_code?: string;
604
- readonly updated_at?: string;
605
- readonly zip?: string;
606
- }
607
- interface ShopifyLocationDelete {
608
- readonly id: number;
609
- }
610
- interface ShopifyLocationsResponseWrapper {
611
- readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
612
- }
613
- interface ShopifyOrder {
614
- readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
615
- readonly browser_ip?: string;
616
- readonly buyer_accepts_marketing: boolean;
617
- readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
618
- readonly cancelled_at?: string;
619
- readonly cart_token?: string;
620
- readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
621
- readonly closed_at?: string;
622
- readonly created_at?: string;
623
- readonly currency?: string;
624
- readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
625
- readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
626
- readonly email?: string;
627
- readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
628
- readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
629
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
630
- readonly id?: number;
631
- readonly landing_site?: string;
632
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
633
- readonly location_id?: number;
634
- readonly name?: string;
635
- readonly note?: string;
636
- readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
637
- readonly number?: number;
638
- readonly order_number?: number;
639
- readonly payment_gateway_names: string[];
640
- readonly processed_at?: string;
641
- readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
642
- readonly referring_site?: string;
643
- readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
644
- readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
645
- readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
646
- readonly source_name?: string;
647
- readonly subtotal_price?: string;
648
- readonly tags?: string;
649
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
650
- readonly taxes_included: boolean;
651
- readonly token?: string;
652
- readonly total_discounts?: string;
653
- readonly total_line_items_price?: string;
654
- readonly total_price?: string;
655
- readonly total_tax?: string;
656
- readonly total_weight?: number;
657
- readonly updated_at?: string;
658
- readonly user_id?: number;
659
- readonly order_status_url?: string;
660
- readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
661
- readonly gateway?: string;
662
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
663
- readonly send_receipt?: boolean;
664
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
665
- }
666
- interface ShopifyOrderCount {
667
- readonly count: number;
668
- }
669
- interface ShopifyOrderCustomer {
670
- readonly email?: string;
671
- readonly first_name?: string;
672
- readonly last_name?: string;
673
- readonly phone?: string;
674
- }
675
- interface ShopifyOrderWrapper {
676
- readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
677
- }
678
- interface ShopifyPaymentDetail {
679
- readonly avs_result_code?: string;
680
- readonly credit_card_bin?: string;
681
- readonly credit_card_company: string;
682
- readonly credit_card_number: string;
683
- readonly cvv_result_code?: string;
684
- }
685
- interface ShopifyRefund {
686
- readonly id: number;
687
- readonly order_id: number;
688
- readonly created_at: string;
689
- readonly processed_at: string;
690
- readonly note?: string;
691
- readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
692
- readonly restock?: boolean;
693
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
694
- readonly user_id?: number;
695
- }
696
- interface ShopifyRefundForm {
697
- readonly note?: string;
698
- readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
699
- readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
700
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
701
- readonly currency: string;
702
- }
703
- interface ShopifyRefundLineItem {
704
- readonly id: number;
705
- readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
706
- readonly line_item_id: number;
707
- readonly quantity: number;
708
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
709
- readonly location_id?: number;
710
- readonly subtotal?: number;
711
- readonly total_tax?: number;
712
- }
713
- interface ShopifyRefundLineItemForm {
714
- readonly line_item_id: number;
715
- readonly quantity: number;
716
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
717
- readonly location_id?: number;
718
- }
719
- interface ShopifyShippingLine {
720
- readonly code: string;
721
- readonly price: string;
722
- readonly source: string;
723
- readonly title: string;
724
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
725
- readonly carrier_identifier?: string;
726
- readonly requested_fulfillment_service_id?: string;
727
- }
728
- interface ShopifyTaxLine {
729
- readonly price: string;
730
- readonly rate: number;
731
- readonly title: string;
732
- }
733
- interface ShopifyTransaction {
734
- readonly id: number;
735
- readonly order_id: number;
736
- readonly amount: number;
737
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
738
- readonly gateway: string;
739
- readonly currency: string;
740
- readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
741
- readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
742
- readonly receipt: {
743
- [key: string]: string;
744
- };
745
- readonly authorization?: string;
746
- readonly created_at: string;
747
- readonly device_id?: number;
748
- readonly gift_card_id?: number;
749
- readonly source_name: string;
750
- readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
751
- readonly test: boolean;
752
- readonly parent_id?: number;
753
- readonly user_id?: number;
754
- }
755
- interface ShopifyTransactionForm {
756
- readonly amount: number;
757
- readonly currency: string;
758
- readonly gateway: string;
759
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
760
- readonly source: string;
761
- readonly authorization?: string;
762
- readonly gift_card_id?: number;
763
- readonly parent_id?: number;
764
- readonly receipt?: {
765
- [key: string]: string;
766
- };
767
- }
768
- interface ShopifyWebhookCustomersRedact {
769
- readonly shop_id: number;
770
- readonly shop_domain: string;
771
- readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
772
- readonly orders_to_redact?: number[];
773
- }
774
- interface ShopifyWebhookCustomersRedactCustomer {
775
- readonly id: number;
776
- readonly email?: string;
777
- readonly phone?: string;
778
- }
779
- interface ShopifyWebhookOrder {
780
- readonly id?: number;
781
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
782
- }
783
- interface ShopifyWebhookOrderCancelled {
784
- readonly id: number;
785
- }
786
- interface ShopifyWebhookOrderLineItem {
787
- readonly fulfillable_quantity?: number;
788
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
789
- readonly product_id?: number;
790
- readonly quantity?: number;
791
- readonly requires_shipping: boolean;
792
- readonly variant_id?: number;
793
- }
794
- interface ShopifyWebhookShopRedact {
795
- readonly shop_id: number;
796
- readonly shop_domain: string;
797
- }
798
- interface Webhook {
799
- readonly address: string;
800
- readonly created_at: string;
801
- readonly format: io.flow.shopify.external.v0.enums.Format;
802
- readonly id: number;
803
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
804
- readonly updated_at: string;
805
- readonly fields?: string[];
806
- readonly metafield_namespaces?: string[];
807
- }
808
- interface WebhookForm {
809
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
810
- readonly address: string;
811
- readonly format: io.flow.shopify.external.v0.enums.Format;
812
- readonly metafield_namespaces?: string[];
813
- }
814
- interface WebhookFormWrapper {
815
- readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
816
- }
817
- interface WebhookResponseList {
818
- readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
819
- }
820
- interface WebhookResponseSingle {
821
- readonly webhook: io.flow.shopify.external.v0.models.Webhook;
822
- }
823
- }
824
1
  declare namespace io.flow.v0.enums {
825
2
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
826
3
  type Aggregate = 'maximum' | 'minimum';
@@ -864,7 +41,7 @@ declare namespace io.flow.v0.enums {
864
41
  type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
865
42
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
866
43
  type Environment = 'sandbox' | 'production';
867
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'targeting_item_upserted' | 'targeting_item_upserted_v2' | 'targeting_item_deleted' | 'targeting_item_deleted_v3' | 'tracking_label_event_upserted';
44
+ type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'serial_upserted' | 'serial_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
868
45
  type ExceptionType = 'open' | 'closed';
869
46
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
870
47
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1016,9 +193,7 @@ declare namespace io.flow.v0.models {
1016
193
  readonly amount: number;
1017
194
  readonly currency: string;
1018
195
  readonly key?: string;
1019
- readonly attributes?: {
1020
- [key: string]: string;
1021
- };
196
+ readonly attributes?: Record<string, string>;
1022
197
  readonly ip?: string;
1023
198
  }
1024
199
  interface Address {
@@ -1240,9 +415,7 @@ declare namespace io.flow.v0.models {
1240
415
  readonly source_authorization_key: string;
1241
416
  readonly amount: number;
1242
417
  readonly currency: string;
1243
- readonly attributes?: {
1244
- [key: string]: string;
1245
- };
418
+ readonly attributes?: Record<string, string>;
1246
419
  }
1247
420
  interface AuthorizationDeletedV2 {
1248
421
  readonly discriminator: 'authorization_deleted_v2';
@@ -1293,9 +466,7 @@ declare namespace io.flow.v0.models {
1293
466
  readonly discriminator: 'authorization_result_action_post';
1294
467
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1295
468
  readonly url: string;
1296
- readonly parameters: {
1297
- [key: string]: string;
1298
- };
469
+ readonly parameters: any;
1299
470
  }
1300
471
  interface AuthorizationResultActionWait {
1301
472
  readonly discriminator: 'authorization_result_action_wait';
@@ -1356,9 +527,7 @@ declare namespace io.flow.v0.models {
1356
527
  readonly timestamp: string;
1357
528
  readonly organization: string;
1358
529
  readonly experience_key: string;
1359
- readonly available_promotions: {
1360
- [key: string]: string;
1361
- }[];
530
+ readonly available_promotions: any[];
1362
531
  }
1363
532
  interface AvailablePromotionsUpsertedV2 {
1364
533
  readonly discriminator: 'available_promotions_upserted_v2';
@@ -1402,9 +571,7 @@ declare namespace io.flow.v0.models {
1402
571
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
1403
572
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1404
573
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1405
- readonly attributes: {
1406
- [key: string]: string;
1407
- };
574
+ readonly attributes: Record<string, string>;
1408
575
  }
1409
576
  interface B2BCreditMemoDeleted {
1410
577
  readonly discriminator: 'b2b_credit_memo_deleted';
@@ -1435,9 +602,7 @@ declare namespace io.flow.v0.models {
1435
602
  readonly tax: io.flow.v0.models.Money;
1436
603
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1437
604
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1438
- readonly attributes: {
1439
- [key: string]: string;
1440
- };
605
+ readonly attributes: Record<string, string>;
1441
606
  }
1442
607
  interface B2BInvoiceDeleted {
1443
608
  readonly discriminator: 'b2b_invoice_deleted';
@@ -1510,9 +675,7 @@ declare namespace io.flow.v0.models {
1510
675
  readonly currency: string;
1511
676
  readonly requested?: io.flow.v0.models.Money;
1512
677
  readonly created_at: string;
1513
- readonly attributes?: {
1514
- [key: string]: string;
1515
- };
678
+ readonly attributes?: Record<string, string>;
1516
679
  readonly status?: io.flow.v0.enums.CaptureStatus;
1517
680
  readonly base?: io.flow.v0.models.Money;
1518
681
  }
@@ -1533,9 +696,7 @@ declare namespace io.flow.v0.models {
1533
696
  readonly key?: string;
1534
697
  readonly amount?: number;
1535
698
  readonly currency?: string;
1536
- readonly attributes?: {
1537
- [key: string]: string;
1538
- };
699
+ readonly attributes?: Record<string, string>;
1539
700
  }
1540
701
  interface CaptureIdentifier {
1541
702
  readonly id: string;
@@ -1599,9 +760,7 @@ declare namespace io.flow.v0.models {
1599
760
  readonly currency: string;
1600
761
  readonly requested?: io.flow.v0.models.Money;
1601
762
  readonly customer: io.flow.v0.models.OrderCustomer;
1602
- readonly attributes: {
1603
- [key: string]: string;
1604
- };
763
+ readonly attributes: Record<string, string>;
1605
764
  readonly destination?: io.flow.v0.models.Address;
1606
765
  readonly billing_address?: io.flow.v0.models.BillingAddress;
1607
766
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -1765,9 +924,7 @@ declare namespace io.flow.v0.models {
1765
924
  readonly name: string;
1766
925
  readonly categories: string[];
1767
926
  readonly experiences: io.flow.v0.models.ExperienceSummary[];
1768
- readonly attributes: {
1769
- [key: string]: string;
1770
- };
927
+ readonly attributes: Record<string, string>;
1771
928
  readonly images: io.flow.v0.models.CatalogItemDocumentImages;
1772
929
  }
1773
930
  interface CatalogItemDocumentImages {
@@ -1786,9 +943,7 @@ declare namespace io.flow.v0.models {
1786
943
  interface CatalogItemSummary {
1787
944
  readonly number: string;
1788
945
  readonly name: string;
1789
- readonly attributes: {
1790
- [key: string]: string;
1791
- };
946
+ readonly attributes: Record<string, string>;
1792
947
  }
1793
948
  interface CatalogItemUpserted {
1794
949
  readonly discriminator: 'catalog_item_upserted';
@@ -1803,15 +958,9 @@ declare namespace io.flow.v0.models {
1803
958
  readonly price: number;
1804
959
  readonly categories: string[];
1805
960
  readonly description?: string;
1806
- readonly attributes: {
1807
- [key: string]: string;
1808
- };
1809
- readonly dimensions: {
1810
- [key: string]: string;
1811
- };
1812
- readonly images: {
1813
- [key: string]: string;
1814
- }[];
961
+ readonly attributes: Record<string, string>;
962
+ readonly dimensions: any;
963
+ readonly images: any[];
1815
964
  }
1816
965
  interface CatalogItemUpsertedV2 {
1817
966
  readonly discriminator: 'catalog_item_upserted_v2';
@@ -2019,9 +1168,7 @@ declare namespace io.flow.v0.models {
2019
1168
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2020
1169
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2021
1170
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2022
- readonly attributes: {
2023
- [key: string]: string;
2024
- };
1171
+ readonly attributes: Record<string, string>;
2025
1172
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2026
1173
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
2027
1174
  }
@@ -2045,14 +1192,10 @@ declare namespace io.flow.v0.models {
2045
1192
  }
2046
1193
  interface ConsumerInvoiceForm {
2047
1194
  readonly order_number: string;
2048
- readonly attributes?: {
2049
- [key: string]: string;
2050
- };
1195
+ readonly attributes?: Record<string, string>;
2051
1196
  }
2052
1197
  interface ConsumerInvoiceFormByOrder {
2053
- readonly attributes?: {
2054
- [key: string]: string;
2055
- };
1198
+ readonly attributes?: Record<string, string>;
2056
1199
  }
2057
1200
  interface ConsumerInvoiceLevy {
2058
1201
  readonly rate: number;
@@ -2132,6 +1275,16 @@ declare namespace io.flow.v0.models {
2132
1275
  readonly email?: string;
2133
1276
  readonly phone?: string;
2134
1277
  }
1278
+ interface Context {
1279
+ readonly id: string;
1280
+ readonly experiments: io.flow.v0.models.Experiment[];
1281
+ }
1282
+ interface ContextForm {
1283
+ readonly experiments: io.flow.v0.models.ExperimentForm[];
1284
+ }
1285
+ interface ContextReference {
1286
+ readonly id: string;
1287
+ }
2135
1288
  interface Country {
2136
1289
  readonly name: string;
2137
1290
  readonly iso_3166_2: string;
@@ -2174,9 +1327,7 @@ declare namespace io.flow.v0.models {
2174
1327
  readonly payments: io.flow.v0.models.ConsumerInvoicePayment[];
2175
1328
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2176
1329
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2177
- readonly attributes: {
2178
- [key: string]: string;
2179
- };
1330
+ readonly attributes: Record<string, string>;
2180
1331
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2181
1332
  }
2182
1333
  interface CreditMemoDeleted {
@@ -2191,9 +1342,7 @@ declare namespace io.flow.v0.models {
2191
1342
  readonly refund_key?: string;
2192
1343
  readonly refund_identifier?: string;
2193
1344
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[];
2194
- readonly attributes?: {
2195
- [key: string]: string;
2196
- };
1345
+ readonly attributes?: Record<string, string>;
2197
1346
  }
2198
1347
  interface CreditMemoUpserted {
2199
1348
  readonly discriminator: 'credit_memo_upserted';
@@ -2209,9 +1358,7 @@ declare namespace io.flow.v0.models {
2209
1358
  readonly description: string;
2210
1359
  readonly value: io.flow.v0.models.PriceWithBase;
2211
1360
  readonly original: io.flow.v0.models.OriginalPrices;
2212
- readonly attributes: {
2213
- [key: string]: string;
2214
- };
1361
+ readonly attributes: Record<string, string>;
2215
1362
  }
2216
1363
  interface CreditPaymentError {
2217
1364
  readonly code: io.flow.v0.enums.CreditPaymentErrorCode;
@@ -2224,9 +1371,7 @@ declare namespace io.flow.v0.models {
2224
1371
  readonly amount: number;
2225
1372
  readonly max: number;
2226
1373
  readonly currency: string;
2227
- readonly attributes?: {
2228
- [key: string]: string;
2229
- };
1374
+ readonly attributes?: Record<string, string>;
2230
1375
  }
2231
1376
  interface CreditPaymentVersion {
2232
1377
  readonly id: string;
@@ -2252,15 +1397,17 @@ declare namespace io.flow.v0.models {
2252
1397
  readonly organization: string;
2253
1398
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
2254
1399
  }
1400
+ interface CryptopayAuthorizationDetails {
1401
+ readonly discriminator: 'cryptopay_authorization_details';
1402
+ readonly payment_id: string;
1403
+ }
2255
1404
  interface CsvPriceBookItemExportRow {
2256
1405
  readonly price_book_key: string;
2257
1406
  readonly price_book_item_key: string;
2258
1407
  readonly item_number: string;
2259
1408
  readonly item_name: string;
2260
1409
  readonly amount: number;
2261
- readonly item_attributes?: {
2262
- [key: string]: string;
2263
- };
1410
+ readonly item_attributes?: Record<string, string>;
2264
1411
  readonly starts_at: string;
2265
1412
  readonly ends_at?: string;
2266
1413
  }
@@ -2412,9 +1559,7 @@ declare namespace io.flow.v0.models {
2412
1559
  readonly quantity: number;
2413
1560
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
2414
1561
  readonly price?: io.flow.v0.models.MoneyWithOptionalBase;
2415
- readonly attributes?: {
2416
- [key: string]: string;
2417
- };
1562
+ readonly attributes?: Record<string, string>;
2418
1563
  readonly center?: string;
2419
1564
  readonly line_number?: number;
2420
1565
  }
@@ -2517,9 +1662,7 @@ declare namespace io.flow.v0.models {
2517
1662
  readonly destination: io.flow.v0.models.ShippingAddress;
2518
1663
  readonly origin: io.flow.v0.models.ShippingAddress;
2519
1664
  readonly package: io.flow.v0.models.ShippingLabelPackage;
2520
- readonly attributes?: {
2521
- [key: string]: string;
2522
- };
1665
+ readonly attributes?: Record<string, string>;
2523
1666
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
2524
1667
  readonly direction?: io.flow.v0.enums.Direction;
2525
1668
  readonly order_number?: string;
@@ -2529,9 +1672,7 @@ declare namespace io.flow.v0.models {
2529
1672
  interface DetailedShippingNotificationForm {
2530
1673
  readonly discriminator: 'detailed_shipping_notification_form';
2531
1674
  readonly key?: string;
2532
- readonly attributes?: {
2533
- [key: string]: string;
2534
- };
1675
+ readonly attributes?: Record<string, string>;
2535
1676
  readonly carrier_tracking_number: string;
2536
1677
  readonly destination: io.flow.v0.models.ShippingAddress;
2537
1678
  readonly order_number: string;
@@ -2584,9 +1725,7 @@ declare namespace io.flow.v0.models {
2584
1725
  readonly customer?: io.flow.v0.models.OrderCustomer;
2585
1726
  readonly key?: string;
2586
1727
  readonly cvv?: string;
2587
- readonly attributes?: {
2588
- [key: string]: string;
2589
- };
1728
+ readonly attributes?: Record<string, string>;
2590
1729
  readonly destination?: io.flow.v0.models.Address;
2591
1730
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2592
1731
  readonly ip?: string;
@@ -2605,9 +1744,7 @@ declare namespace io.flow.v0.models {
2605
1744
  readonly code?: string;
2606
1745
  readonly label: string;
2607
1746
  readonly price: io.flow.v0.models.PriceWithBase;
2608
- readonly attributes?: {
2609
- [key: string]: string;
2610
- };
1747
+ readonly attributes?: Record<string, string>;
2611
1748
  }
2612
1749
  interface DiscountForm {
2613
1750
  readonly offer: io.flow.v0.unions.DiscountOffer;
@@ -2976,6 +2113,21 @@ declare namespace io.flow.v0.models {
2976
2113
  readonly type: io.flow.v0.enums.ChangeType;
2977
2114
  readonly experience: io.flow.v0.models.Experience;
2978
2115
  }
2116
+ interface Experiment {
2117
+ readonly key: string;
2118
+ readonly variant?: io.flow.v0.models.ExperimentVariant;
2119
+ }
2120
+ interface ExperimentForm {
2121
+ readonly key: string;
2122
+ readonly variant?: io.flow.v0.models.ExperimentVariantForm;
2123
+ }
2124
+ interface ExperimentVariant {
2125
+ readonly key: string;
2126
+ readonly name: string;
2127
+ }
2128
+ interface ExperimentVariantForm {
2129
+ readonly key: string;
2130
+ }
2979
2131
  interface Expiration {
2980
2132
  readonly month: number;
2981
2133
  readonly year: number;
@@ -3011,9 +2163,7 @@ declare namespace io.flow.v0.models {
3011
2163
  readonly item: io.flow.v0.models.LocalizedItemPrice;
3012
2164
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
3013
2165
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
3014
- readonly price_attributes: {
3015
- [key: string]: io.flow.v0.models.PriceWithBase;
3016
- };
2166
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
3017
2167
  }
3018
2168
  interface ExportVersion {
3019
2169
  readonly id: string;
@@ -3085,17 +2235,13 @@ declare namespace io.flow.v0.models {
3085
2235
  readonly key: string;
3086
2236
  readonly trigger: io.flow.v0.models.OrderPromotionTrigger;
3087
2237
  readonly max?: io.flow.v0.models.Price;
3088
- readonly attributes: {
3089
- [key: string]: string;
3090
- };
2238
+ readonly attributes: Record<string, string>;
3091
2239
  }
3092
2240
  interface FreeShippingOrderPromotionForm {
3093
2241
  readonly discriminator: 'free_shipping_order_promotion_form';
3094
2242
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
3095
2243
  readonly max?: io.flow.v0.models.PriceForm;
3096
- readonly attributes?: {
3097
- [key: string]: string;
3098
- };
2244
+ readonly attributes?: Record<string, string>;
3099
2245
  }
3100
2246
  interface FtpAccount {
3101
2247
  readonly server: io.flow.v0.models.FtpServer;
@@ -3216,9 +2362,7 @@ declare namespace io.flow.v0.models {
3216
2362
  }
3217
2363
  interface GooglePayAuthorizationPayload {
3218
2364
  readonly discriminator: 'google_pay_authorization_payload';
3219
- readonly payload: {
3220
- [key: string]: string;
3221
- };
2365
+ readonly payload: any;
3222
2366
  }
3223
2367
  interface HarmonizationDocument {
3224
2368
  readonly discriminator: 'harmonization_document';
@@ -3264,9 +2408,7 @@ declare namespace io.flow.v0.models {
3264
2408
  readonly number: string;
3265
2409
  readonly name: string;
3266
2410
  readonly categories: string[];
3267
- readonly attributes: {
3268
- [key: string]: string;
3269
- };
2411
+ readonly attributes: Record<string, string>;
3270
2412
  readonly description?: string;
3271
2413
  }
3272
2414
  interface HarmonizedItemForm {
@@ -3276,9 +2418,7 @@ declare namespace io.flow.v0.models {
3276
2418
  readonly price: number;
3277
2419
  readonly categories?: string[];
3278
2420
  readonly description?: string;
3279
- readonly attributes?: {
3280
- [key: string]: string;
3281
- };
2421
+ readonly attributes?: Record<string, string>;
3282
2422
  }
3283
2423
  interface HarmonizedItemPutForm {
3284
2424
  readonly name: string;
@@ -3286,9 +2426,7 @@ declare namespace io.flow.v0.models {
3286
2426
  readonly price: number;
3287
2427
  readonly categories?: string[];
3288
2428
  readonly description?: string;
3289
- readonly attributes?: {
3290
- [key: string]: string;
3291
- };
2429
+ readonly attributes?: Record<string, string>;
3292
2430
  }
3293
2431
  interface HarmonizedItemReference {
3294
2432
  readonly id: string;
@@ -3403,16 +2541,12 @@ declare namespace io.flow.v0.models {
3403
2541
  interface Image {
3404
2542
  readonly url: string;
3405
2543
  readonly tags: io.flow.v0.enums.ImageTag[];
3406
- readonly attributes?: {
3407
- [key: string]: string;
3408
- };
2544
+ readonly attributes?: Record<string, string>;
3409
2545
  }
3410
2546
  interface ImageForm {
3411
2547
  readonly url: string;
3412
2548
  readonly tags?: io.flow.v0.enums.ImageTag[];
3413
- readonly attributes?: {
3414
- [key: string]: string;
3415
- };
2549
+ readonly attributes?: Record<string, string>;
3416
2550
  }
3417
2551
  interface Import {
3418
2552
  readonly id: string;
@@ -3465,9 +2599,7 @@ declare namespace io.flow.v0.models {
3465
2599
  readonly discriminator: 'inline_authorization_details';
3466
2600
  readonly id: string;
3467
2601
  readonly client_token?: string;
3468
- readonly parameters?: {
3469
- [key: string]: string;
3470
- };
2602
+ readonly parameters?: any;
3471
2603
  }
3472
2604
  interface InlineAuthorizationForm {
3473
2605
  readonly discriminator: 'inline_authorization_form';
@@ -3478,16 +2610,12 @@ declare namespace io.flow.v0.models {
3478
2610
  readonly currency: string;
3479
2611
  readonly billing_address?: io.flow.v0.models.BillingAddress;
3480
2612
  readonly key?: string;
3481
- readonly attributes?: {
3482
- [key: string]: string;
3483
- };
2613
+ readonly attributes?: Record<string, string>;
3484
2614
  readonly ip?: string;
3485
2615
  readonly payload?: io.flow.v0.models.AuthorizationPayload;
3486
2616
  }
3487
2617
  interface InputForm {
3488
- readonly values?: {
3489
- [key: string]: string;
3490
- };
2618
+ readonly values?: Record<string, string>;
3491
2619
  }
3492
2620
  interface InputFormSpecification {
3493
2621
  readonly inputs?: io.flow.v0.models.InputSpecification[];
@@ -3576,9 +2704,7 @@ declare namespace io.flow.v0.models {
3576
2704
  readonly idempotency_key: string;
3577
2705
  readonly center: io.flow.v0.models.InventoryCenterReference;
3578
2706
  readonly item: io.flow.v0.models.InventoryItemReference;
3579
- readonly notes: {
3580
- [key: string]: string;
3581
- };
2707
+ readonly notes: any;
3582
2708
  readonly quantity: number;
3583
2709
  readonly type: io.flow.v0.enums.UpdateType;
3584
2710
  }
@@ -3588,9 +2714,7 @@ declare namespace io.flow.v0.models {
3588
2714
  readonly item_number: string;
3589
2715
  readonly quantity: number;
3590
2716
  readonly type: io.flow.v0.enums.UpdateType;
3591
- readonly notes?: {
3592
- [key: string]: string;
3593
- };
2717
+ readonly notes?: any;
3594
2718
  }
3595
2719
  interface InventoryUpdateVersion {
3596
2720
  readonly id: string;
@@ -3654,17 +2778,13 @@ declare namespace io.flow.v0.models {
3654
2778
  readonly price: io.flow.v0.models.Price;
3655
2779
  readonly categories: string[];
3656
2780
  readonly description?: string;
3657
- readonly attributes: {
3658
- [key: string]: string;
3659
- };
2781
+ readonly attributes: Record<string, string>;
3660
2782
  readonly dimensions: io.flow.v0.models.Dimensions;
3661
2783
  readonly images: io.flow.v0.models.Image[];
3662
2784
  readonly local?: io.flow.v0.models.Local;
3663
2785
  }
3664
2786
  interface ItemAttributesPatchForm {
3665
- readonly attributes: {
3666
- [key: string]: string;
3667
- };
2787
+ readonly attributes: Record<string, string>;
3668
2788
  }
3669
2789
  interface ItemForm {
3670
2790
  readonly number: string;
@@ -3674,9 +2794,7 @@ declare namespace io.flow.v0.models {
3674
2794
  readonly price: number;
3675
2795
  readonly categories?: string[];
3676
2796
  readonly description?: string;
3677
- readonly attributes?: {
3678
- [key: string]: string;
3679
- };
2797
+ readonly attributes?: Record<string, string>;
3680
2798
  readonly dimensions?: io.flow.v0.models.Dimensions;
3681
2799
  readonly images?: io.flow.v0.models.ImageForm[];
3682
2800
  }
@@ -3688,9 +2806,7 @@ declare namespace io.flow.v0.models {
3688
2806
  readonly price?: io.flow.v0.models.Price;
3689
2807
  readonly categories?: string[];
3690
2808
  readonly description?: string;
3691
- readonly attributes?: {
3692
- [key: string]: string;
3693
- };
2809
+ readonly attributes?: Record<string, string>;
3694
2810
  readonly dimensions?: io.flow.v0.models.Dimensions;
3695
2811
  readonly images?: io.flow.v0.models.ImageForm[];
3696
2812
  }
@@ -3701,9 +2817,7 @@ declare namespace io.flow.v0.models {
3701
2817
  readonly position?: number;
3702
2818
  readonly categories?: string[];
3703
2819
  readonly description?: string;
3704
- readonly attributes?: {
3705
- [key: string]: string;
3706
- };
2820
+ readonly attributes?: Record<string, string>;
3707
2821
  readonly dimensions?: io.flow.v0.models.Dimensions;
3708
2822
  readonly images?: io.flow.v0.models.ImageForm[];
3709
2823
  }
@@ -3779,16 +2893,12 @@ declare namespace io.flow.v0.models {
3779
2893
  readonly number: string;
3780
2894
  readonly currency?: string;
3781
2895
  readonly price: number;
3782
- readonly attributes: {
3783
- [key: string]: string;
3784
- };
2896
+ readonly attributes: Record<string, string>;
3785
2897
  }
3786
2898
  interface ItemPriceUpdatePutForm {
3787
2899
  readonly currency?: string;
3788
2900
  readonly price: number;
3789
- readonly attributes: {
3790
- [key: string]: string;
3791
- };
2901
+ readonly attributes: Record<string, string>;
3792
2902
  }
3793
2903
  interface ItemQuerySuggestion {
3794
2904
  readonly q: string;
@@ -3834,12 +2944,8 @@ declare namespace io.flow.v0.models {
3834
2944
  }
3835
2945
  interface JsonpResponse {
3836
2946
  readonly status: number;
3837
- readonly headers: {
3838
- [key: string]: string[];
3839
- };
3840
- readonly body: {
3841
- [key: string]: string;
3842
- };
2947
+ readonly headers: Record<string, string[]>;
2948
+ readonly body: any;
3843
2949
  }
3844
2950
  interface KlaviyoLineItem {
3845
2951
  readonly content: io.flow.v0.models.CheckoutItemContent;
@@ -3940,17 +3046,13 @@ declare namespace io.flow.v0.models {
3940
3046
  readonly quantity: number;
3941
3047
  readonly price: io.flow.v0.models.PriceWithBase;
3942
3048
  readonly total: io.flow.v0.models.PriceWithBase;
3943
- readonly attributes?: {
3944
- [key: string]: string;
3945
- };
3049
+ readonly attributes?: Record<string, string>;
3946
3050
  }
3947
3051
  interface LineItem {
3948
3052
  readonly number: string;
3949
3053
  readonly quantity: number;
3950
3054
  readonly price: io.flow.v0.models.Money;
3951
- readonly attributes: {
3952
- [key: string]: string;
3953
- };
3055
+ readonly attributes: Record<string, string>;
3954
3056
  readonly center?: string;
3955
3057
  readonly discount?: io.flow.v0.models.Money;
3956
3058
  }
@@ -3959,9 +3061,7 @@ declare namespace io.flow.v0.models {
3959
3061
  readonly quantity: number;
3960
3062
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
3961
3063
  readonly price?: io.flow.v0.models.Money;
3962
- readonly attributes?: {
3963
- [key: string]: string;
3964
- };
3064
+ readonly attributes?: Record<string, string>;
3965
3065
  readonly center?: string;
3966
3066
  readonly discount?: io.flow.v0.models.Money;
3967
3067
  readonly discounts?: io.flow.v0.models.DiscountsForm;
@@ -3973,16 +3073,10 @@ declare namespace io.flow.v0.models {
3973
3073
  readonly experience: io.flow.v0.models.ExperienceSummary;
3974
3074
  readonly prices: io.flow.v0.unions.LocalizedPrice[];
3975
3075
  readonly rates: io.flow.v0.models.Rate[];
3976
- readonly spot_rates: {
3977
- [key: string]: string;
3978
- }[];
3076
+ readonly spot_rates: any[];
3979
3077
  readonly status: io.flow.v0.enums.SubcatalogItemStatus;
3980
- readonly attributes?: {
3981
- [key: string]: string;
3982
- };
3983
- readonly price_attributes?: {
3984
- [key: string]: io.flow.v0.models.PriceWithBase;
3985
- };
3078
+ readonly attributes?: Record<string, string>;
3079
+ readonly price_attributes?: Record<string, io.flow.v0.models.PriceWithBase>;
3986
3080
  }
3987
3081
  interface LocalItem {
3988
3082
  readonly id: string;
@@ -4003,9 +3097,7 @@ declare namespace io.flow.v0.models {
4003
3097
  readonly price: io.flow.v0.models.LocalizedItemPrice;
4004
3098
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
4005
3099
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
4006
- readonly attributes: {
4007
- [key: string]: io.flow.v0.models.PriceWithBase;
4008
- };
3100
+ readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
4009
3101
  }
4010
3102
  interface LocalItemUpserted {
4011
3103
  readonly discriminator: 'local_item_upserted';
@@ -4086,9 +3178,7 @@ declare namespace io.flow.v0.models {
4086
3178
  readonly price?: io.flow.v0.models.Money;
4087
3179
  readonly discount?: io.flow.v0.models.LocalizedLineItemDiscount;
4088
3180
  readonly discounts?: io.flow.v0.models.LocalizedLineItemDiscount[];
4089
- readonly attributes?: {
4090
- [key: string]: string;
4091
- };
3181
+ readonly attributes?: Record<string, string>;
4092
3182
  readonly local: io.flow.v0.models.Local;
4093
3183
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
4094
3184
  readonly price_source?: io.flow.v0.unions.PriceSource;
@@ -4227,9 +3317,7 @@ declare namespace io.flow.v0.models {
4227
3317
  readonly currency?: string;
4228
3318
  readonly key?: string;
4229
3319
  readonly cvv?: string;
4230
- readonly attributes?: {
4231
- [key: string]: string;
4232
- };
3320
+ readonly attributes?: Record<string, string>;
4233
3321
  readonly ip?: string;
4234
3322
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
4235
3323
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
@@ -4333,16 +3421,12 @@ declare namespace io.flow.v0.models {
4333
3421
  readonly method?: io.flow.v0.models.PaymentMethod;
4334
3422
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
4335
3423
  readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
4336
- readonly payment?: {
4337
- [key: string]: string;
4338
- };
3424
+ readonly payment?: any;
4339
3425
  readonly amount: number;
4340
3426
  readonly currency: string;
4341
3427
  readonly requested?: io.flow.v0.models.Money;
4342
3428
  readonly customer: io.flow.v0.models.OrderCustomer;
4343
- readonly attributes: {
4344
- [key: string]: string;
4345
- };
3429
+ readonly attributes: Record<string, string>;
4346
3430
  readonly destination?: io.flow.v0.models.Address;
4347
3431
  readonly billing_address?: io.flow.v0.models.BillingAddress;
4348
3432
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -4367,6 +3451,11 @@ declare namespace io.flow.v0.models {
4367
3451
  readonly id: string;
4368
3452
  readonly authorization: io.flow.v0.models.OnlineAuthorization;
4369
3453
  }
3454
+ interface OnlinePaymentAuthorizationForm {
3455
+ readonly discriminator: 'online_payment_authorization_form';
3456
+ readonly payment_id: string;
3457
+ readonly key?: string;
3458
+ }
4370
3459
  interface OptinResponse {
4371
3460
  readonly key: string;
4372
3461
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -4395,9 +3484,7 @@ declare namespace io.flow.v0.models {
4395
3484
  readonly selections: string[];
4396
3485
  readonly prices: io.flow.v0.models.OrderPriceDetail[];
4397
3486
  readonly total: io.flow.v0.models.LocalizedTotal;
4398
- readonly attributes: {
4399
- [key: string]: string;
4400
- };
3487
+ readonly attributes: Record<string, string>;
4401
3488
  readonly submitted_at?: string;
4402
3489
  readonly lines?: io.flow.v0.models.Line[];
4403
3490
  readonly identifiers?: string[];
@@ -4424,9 +3511,7 @@ declare namespace io.flow.v0.models {
4424
3511
  readonly errors?: io.flow.v0.models.OrderError[];
4425
3512
  }
4426
3513
  interface OrderBuilderAttributesForm {
4427
- readonly attributes: {
4428
- [key: string]: string;
4429
- };
3514
+ readonly attributes: Record<string, string>;
4430
3515
  }
4431
3516
  interface OrderBuilderCustomerInvoiceAddressForm {
4432
3517
  readonly address: io.flow.v0.models.BillingAddress;
@@ -4514,9 +3599,7 @@ declare namespace io.flow.v0.models {
4514
3599
  readonly destination?: io.flow.v0.models.OrderAddress;
4515
3600
  readonly discount?: io.flow.v0.models.Money;
4516
3601
  readonly discounts?: io.flow.v0.models.DiscountsForm;
4517
- readonly attributes?: {
4518
- [key: string]: string;
4519
- };
3602
+ readonly attributes?: Record<string, string>;
4520
3603
  readonly authorization_keys?: string[];
4521
3604
  readonly options?: io.flow.v0.models.OrderOptions;
4522
3605
  }
@@ -4634,9 +3717,7 @@ declare namespace io.flow.v0.models {
4634
3717
  readonly total: io.flow.v0.models.PriceWithBase;
4635
3718
  readonly address?: io.flow.v0.models.BillingAddress;
4636
3719
  readonly date?: string;
4637
- readonly attributes?: {
4638
- [key: string]: string;
4639
- };
3720
+ readonly attributes?: Record<string, string>;
4640
3721
  }
4641
3722
  interface OrderPlaced {
4642
3723
  readonly discriminator: 'order_placed';
@@ -4691,9 +3772,7 @@ declare namespace io.flow.v0.models {
4691
3772
  readonly destination?: io.flow.v0.models.OrderAddress;
4692
3773
  readonly discount?: io.flow.v0.models.Money;
4693
3774
  readonly discounts?: io.flow.v0.models.DiscountsForm;
4694
- readonly attributes?: {
4695
- [key: string]: string;
4696
- };
3775
+ readonly attributes?: Record<string, string>;
4697
3776
  readonly authorization_keys?: string[];
4698
3777
  readonly options?: io.flow.v0.models.OrderOptions;
4699
3778
  }
@@ -4750,9 +3829,7 @@ declare namespace io.flow.v0.models {
4750
3829
  readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
4751
3830
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
4752
3831
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
4753
- readonly identifiers?: {
4754
- [key: string]: string;
4755
- };
3832
+ readonly identifiers?: Record<string, string>;
4756
3833
  }
4757
3834
  interface OrderSummaryImage {
4758
3835
  readonly url: string;
@@ -4767,9 +3844,7 @@ declare namespace io.flow.v0.models {
4767
3844
  readonly discount?: io.flow.v0.models.Price;
4768
3845
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4769
3846
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4770
- readonly price_attributes: {
4771
- [key: string]: io.flow.v0.models.Price;
4772
- };
3847
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
4773
3848
  }
4774
3849
  interface OrderSummaryLevy {
4775
3850
  readonly rate: number;
@@ -4783,9 +3858,7 @@ declare namespace io.flow.v0.models {
4783
3858
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4784
3859
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4785
3860
  readonly total: io.flow.v0.models.Price;
4786
- readonly price_attributes: {
4787
- [key: string]: io.flow.v0.models.Price;
4788
- };
3861
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
4789
3862
  }
4790
3863
  interface OrderSummaryPriceDetail {
4791
3864
  readonly price: io.flow.v0.models.Price;
@@ -4817,9 +3890,7 @@ declare namespace io.flow.v0.models {
4817
3890
  readonly updated_at?: string;
4818
3891
  readonly submitted_at?: string;
4819
3892
  readonly lines?: io.flow.v0.models.Line[];
4820
- readonly attributes?: {
4821
- [key: string]: string;
4822
- };
3893
+ readonly attributes?: Record<string, string>;
4823
3894
  readonly geo?: io.flow.v0.models.OrderGeo;
4824
3895
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
4825
3896
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
@@ -4952,15 +4023,14 @@ declare namespace io.flow.v0.models {
4952
4023
  readonly visitor: io.flow.v0.models.SessionVisitor;
4953
4024
  readonly visit: io.flow.v0.models.SessionVisit;
4954
4025
  readonly environment: io.flow.v0.enums.Environment;
4955
- readonly attributes: {
4956
- [key: string]: string;
4957
- };
4026
+ readonly attributes: Record<string, string>;
4958
4027
  readonly ip?: string;
4959
4028
  readonly local?: io.flow.v0.models.LocalSession;
4960
4029
  readonly geo?: io.flow.v0.models.SessionGeo;
4961
4030
  readonly experience?: io.flow.v0.models.ExperienceGeo;
4962
4031
  readonly format?: io.flow.v0.models.SessionFormat;
4963
4032
  readonly experiment?: io.flow.v0.models.SessionExperiment;
4033
+ readonly context?: io.flow.v0.models.ContextReference;
4964
4034
  }
4965
4035
  interface OrganizationSessionAuthorization {
4966
4036
  readonly discriminator: 'organization_session_authorization';
@@ -5101,6 +4171,14 @@ declare namespace io.flow.v0.models {
5101
4171
  interface PasswordResetRequestForm {
5102
4172
  readonly email: string;
5103
4173
  }
4174
+ interface PaymentCryptopay {
4175
+ readonly discriminator: 'payment_cryptopay';
4176
+ readonly id: string;
4177
+ readonly order?: io.flow.v0.models.AuthorizationOrderReference;
4178
+ readonly amount: number;
4179
+ readonly currency: string;
4180
+ readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
4181
+ }
5104
4182
  interface PaymentDeleted {
5105
4183
  readonly discriminator: 'payment_deleted';
5106
4184
  readonly event_id: string;
@@ -5140,9 +4218,7 @@ declare namespace io.flow.v0.models {
5140
4218
  readonly display_position: number;
5141
4219
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
5142
4220
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
5143
- readonly programs?: {
5144
- [key: string]: string;
5145
- }[];
4221
+ readonly programs?: any[];
5146
4222
  readonly q?: io.flow.v0.models.Query;
5147
4223
  }
5148
4224
  interface PaymentMethodRuleContent {
@@ -5155,10 +4231,7 @@ declare namespace io.flow.v0.models {
5155
4231
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
5156
4232
  readonly amount: number;
5157
4233
  readonly currency: string;
5158
- readonly paypal: io.flow.v0.models.PaymentPaypalData;
5159
- }
5160
- interface PaymentPaypalData {
5161
- readonly payment_id: string;
4234
+ readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
5162
4235
  }
5163
4236
  interface PaymentReference {
5164
4237
  readonly id: string;
@@ -5189,9 +4262,7 @@ declare namespace io.flow.v0.models {
5189
4262
  readonly paypal_payment_id: string;
5190
4263
  readonly paypal_payer_id: string;
5191
4264
  readonly key?: string;
5192
- readonly attributes?: {
5193
- [key: string]: string;
5194
- };
4265
+ readonly attributes?: Record<string, string>;
5195
4266
  readonly ip?: string;
5196
4267
  }
5197
4268
  interface PercentMargin {
@@ -5220,9 +4291,7 @@ declare namespace io.flow.v0.models {
5220
4291
  readonly path: string;
5221
4292
  }
5222
4293
  interface PfsInventoryCheckResponse {
5223
- readonly items: {
5224
- [key: string]: io.flow.v0.models.PfsInventoryCheckResponseItem;
5225
- };
4294
+ readonly items: Record<string, io.flow.v0.models.PfsInventoryCheckResponseItem>;
5226
4295
  }
5227
4296
  interface PfsInventoryCheckResponseItem {
5228
4297
  readonly number: string;
@@ -5281,9 +4350,7 @@ declare namespace io.flow.v0.models {
5281
4350
  readonly price: io.flow.v0.models.Price;
5282
4351
  readonly item_number: string;
5283
4352
  readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
5284
- readonly item_attributes?: {
5285
- [key: string]: string;
5286
- };
4353
+ readonly item_attributes?: Record<string, string>;
5287
4354
  }
5288
4355
  interface PriceBookItemDeleted {
5289
4356
  readonly discriminator: 'price_book_item_deleted';
@@ -5304,18 +4371,14 @@ declare namespace io.flow.v0.models {
5304
4371
  readonly item_number: string;
5305
4372
  readonly amount: number;
5306
4373
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
5307
- readonly item_attributes?: {
5308
- [key: string]: string;
5309
- };
4374
+ readonly item_attributes?: Record<string, string>;
5310
4375
  }
5311
4376
  interface PriceBookItemQueryForm {
5312
4377
  readonly price_book_key: string;
5313
4378
  readonly item_query: string;
5314
4379
  readonly amount: number;
5315
4380
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
5316
- readonly item_attributes?: {
5317
- [key: string]: string;
5318
- };
4381
+ readonly item_attributes?: Record<string, string>;
5319
4382
  }
5320
4383
  interface PriceBookItemSchedule {
5321
4384
  readonly starts_at: string;
@@ -5540,9 +4603,7 @@ declare namespace io.flow.v0.models {
5540
4603
  readonly quantity: number;
5541
4604
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5542
4605
  readonly price: io.flow.v0.models.MoneyWithBase;
5543
- readonly attributes?: {
5544
- [key: string]: string;
5545
- };
4606
+ readonly attributes?: Record<string, string>;
5546
4607
  readonly center?: string;
5547
4608
  }
5548
4609
  interface QuoteSummary {
@@ -5819,9 +4880,7 @@ declare namespace io.flow.v0.models {
5819
4880
  readonly currency: string;
5820
4881
  readonly redirect_urls: io.flow.v0.models.PostPaymentRedirectUrls;
5821
4882
  readonly key?: string;
5822
- readonly attributes?: {
5823
- [key: string]: string;
5824
- };
4883
+ readonly attributes?: Record<string, string>;
5825
4884
  readonly ip?: string;
5826
4885
  }
5827
4886
  interface Refund {
@@ -5833,9 +4892,7 @@ declare namespace io.flow.v0.models {
5833
4892
  readonly requested?: io.flow.v0.models.Money;
5834
4893
  readonly captures: io.flow.v0.models.RefundCaptureSummary[];
5835
4894
  readonly created_at: string;
5836
- readonly attributes?: {
5837
- [key: string]: string;
5838
- };
4895
+ readonly attributes?: Record<string, string>;
5839
4896
  readonly status?: io.flow.v0.enums.RefundStatus;
5840
4897
  readonly base?: io.flow.v0.models.Money;
5841
4898
  }
@@ -5880,9 +4937,7 @@ declare namespace io.flow.v0.models {
5880
4937
  readonly amount?: number;
5881
4938
  readonly currency?: string;
5882
4939
  readonly rma_key?: string;
5883
- readonly attributes?: {
5884
- [key: string]: string;
5885
- };
4940
+ readonly attributes?: Record<string, string>;
5886
4941
  }
5887
4942
  interface RefundIdentifier {
5888
4943
  readonly id: string;
@@ -6084,9 +5139,7 @@ declare namespace io.flow.v0.models {
6084
5139
  readonly currency: string;
6085
5140
  readonly requested: io.flow.v0.models.Money;
6086
5141
  readonly created_at: string;
6087
- readonly attributes: {
6088
- [key: string]: string;
6089
- };
5142
+ readonly attributes: Record<string, string>;
6090
5143
  readonly base?: io.flow.v0.models.Money;
6091
5144
  }
6092
5145
  interface ReversalDeleted {
@@ -6106,17 +5159,13 @@ declare namespace io.flow.v0.models {
6106
5159
  readonly authorization_id: string;
6107
5160
  readonly amount?: number;
6108
5161
  readonly currency?: string;
6109
- readonly attributes?: {
6110
- [key: string]: string;
6111
- };
5162
+ readonly attributes?: Record<string, string>;
6112
5163
  }
6113
5164
  interface ReversalPutForm {
6114
5165
  readonly authorization_id: string;
6115
5166
  readonly amount?: number;
6116
5167
  readonly currency?: string;
6117
- readonly attributes?: {
6118
- [key: string]: string;
6119
- };
5168
+ readonly attributes?: Record<string, string>;
6120
5169
  }
6121
5170
  interface ReversalUpserted {
6122
5171
  readonly discriminator: 'reversal_upserted';
@@ -6194,9 +5243,7 @@ declare namespace io.flow.v0.models {
6194
5243
  readonly item_price: io.flow.v0.models.Price;
6195
5244
  readonly status: io.flow.v0.enums.SerialStatus;
6196
5245
  readonly center: io.flow.v0.models.CenterReference;
6197
- readonly attributes: {
6198
- [key: string]: string;
6199
- };
5246
+ readonly attributes: Record<string, string>;
6200
5247
  }
6201
5248
  interface SerialDeleted {
6202
5249
  readonly discriminator: 'serial_deleted';
@@ -6211,9 +5258,7 @@ declare namespace io.flow.v0.models {
6211
5258
  readonly item_currency: string;
6212
5259
  readonly status: io.flow.v0.enums.SerialStatus;
6213
5260
  readonly center_key?: string;
6214
- readonly attributes?: {
6215
- [key: string]: string;
6216
- };
5261
+ readonly attributes?: Record<string, string>;
6217
5262
  }
6218
5263
  interface SerialUpserted {
6219
5264
  readonly discriminator: 'serial_upserted';
@@ -6270,10 +5315,9 @@ declare namespace io.flow.v0.models {
6270
5315
  readonly currency?: string;
6271
5316
  readonly language?: string;
6272
5317
  readonly locale?: string;
6273
- readonly attributes?: {
6274
- [key: string]: string;
6275
- };
5318
+ readonly attributes?: Record<string, string>;
6276
5319
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
5320
+ readonly context?: io.flow.v0.models.ContextForm;
6277
5321
  }
6278
5322
  interface SessionFormat {
6279
5323
  readonly currency: io.flow.v0.models.SessionCurrencyFormat;
@@ -6291,10 +5335,9 @@ declare namespace io.flow.v0.models {
6291
5335
  readonly currency?: string;
6292
5336
  readonly language?: string;
6293
5337
  readonly locale?: string;
6294
- readonly attributes?: {
6295
- [key: string]: string;
6296
- };
5338
+ readonly attributes?: Record<string, string>;
6297
5339
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
5340
+ readonly context?: io.flow.v0.models.ContextForm;
6298
5341
  }
6299
5342
  interface SessionReference {
6300
5343
  readonly id: string;
@@ -6405,9 +5448,7 @@ declare namespace io.flow.v0.models {
6405
5448
  }
6406
5449
  interface ShippingLabel {
6407
5450
  readonly id: string;
6408
- readonly attributes: {
6409
- [key: string]: string;
6410
- };
5451
+ readonly attributes: Record<string, string>;
6411
5452
  readonly carrier_tracking_number: string;
6412
5453
  readonly carrier_tracking_number_url: string;
6413
5454
  readonly cost: io.flow.v0.models.Price;
@@ -6501,9 +5542,7 @@ declare namespace io.flow.v0.models {
6501
5542
  interface ShippingNotification {
6502
5543
  readonly id: string;
6503
5544
  readonly key: string;
6504
- readonly attributes: {
6505
- [key: string]: string;
6506
- };
5545
+ readonly attributes: Record<string, string>;
6507
5546
  readonly carrier_tracking_number: string;
6508
5547
  readonly destination: io.flow.v0.models.ShippingAddress;
6509
5548
  readonly flow_tracking_number: string;
@@ -6528,9 +5567,7 @@ declare namespace io.flow.v0.models {
6528
5567
  readonly item_count: number;
6529
5568
  readonly total_price: number;
6530
5569
  readonly local: io.flow.v0.models.ShopifyLocalCartMetadata;
6531
- readonly attributes?: {
6532
- [key: string]: string;
6533
- };
5570
+ readonly attributes?: any;
6534
5571
  readonly note?: string;
6535
5572
  readonly requires_shipping: boolean;
6536
5573
  readonly total_weight?: number;
@@ -6538,25 +5575,19 @@ declare namespace io.flow.v0.models {
6538
5575
  interface ShopifyCartAddMultipleForm {
6539
5576
  readonly discriminator: 'shopify_cart_add_multiple_form';
6540
5577
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
6541
- readonly attributes?: {
6542
- [key: string]: string;
6543
- };
5578
+ readonly attributes?: Record<string, string>;
6544
5579
  }
6545
5580
  interface ShopifyCartAddSingleForm {
6546
5581
  readonly discriminator: 'shopify_cart_add_single_form';
6547
5582
  readonly id: number;
6548
5583
  readonly quantity: number;
6549
- readonly properties?: {
6550
- [key: string]: string;
6551
- };
5584
+ readonly properties?: Record<string, string>;
6552
5585
  }
6553
5586
  interface ShopifyCartChangeForm {
6554
5587
  readonly quantity: number;
6555
5588
  readonly line?: number;
6556
5589
  readonly id?: number;
6557
- readonly properties?: {
6558
- [key: string]: string;
6559
- };
5590
+ readonly properties?: Record<string, string>;
6560
5591
  }
6561
5592
  interface ShopifyCartConversion {
6562
5593
  readonly flow: io.flow.v0.models.ShopifyCartConversionFlowOrder;
@@ -6567,7 +5598,7 @@ declare namespace io.flow.v0.models {
6567
5598
  readonly errors?: io.flow.v0.models.OrderError[];
6568
5599
  }
6569
5600
  interface ShopifyCartConversionShopifyCart {
6570
- readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
5601
+ readonly cart: unknown;
6571
5602
  }
6572
5603
  interface ShopifyCartItem {
6573
5604
  readonly id: string;
@@ -6585,9 +5616,7 @@ declare namespace io.flow.v0.models {
6585
5616
  readonly image?: string;
6586
5617
  readonly product_description?: string;
6587
5618
  readonly product_type?: string;
6588
- readonly properties?: {
6589
- [key: string]: string;
6590
- };
5619
+ readonly properties?: Record<string, string>;
6591
5620
  readonly requires_shipping: boolean;
6592
5621
  readonly sku?: string;
6593
5622
  readonly variant_title?: string;
@@ -6694,9 +5723,7 @@ declare namespace io.flow.v0.models {
6694
5723
  readonly id: string;
6695
5724
  }
6696
5725
  interface ShopifyOrderAttributesForm {
6697
- readonly attributes: {
6698
- [key: string]: string;
6699
- };
5726
+ readonly attributes: Record<string, string>;
6700
5727
  }
6701
5728
  interface ShopifyOrderDeliveryMetafield {
6702
5729
  readonly key?: string;
@@ -6715,9 +5742,7 @@ declare namespace io.flow.v0.models {
6715
5742
  }
6716
5743
  interface ShopifyOrderPriceAttributesMetafield {
6717
5744
  readonly item_number: string;
6718
- readonly price_attributes: {
6719
- [key: string]: io.flow.v0.models.PriceWithBase;
6720
- };
5745
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
6721
5746
  }
6722
5747
  interface ShopifyOrderRomanizationMetafield {
6723
5748
  readonly destination: io.flow.v0.models.OrderAddress;
@@ -6930,80 +5955,6 @@ declare namespace io.flow.v0.models {
6930
5955
  readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey;
6931
5956
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
6932
5957
  }
6933
- interface Targeting {
6934
- readonly id: string;
6935
- readonly key: string;
6936
- readonly queries: io.flow.v0.models.TargetingQuery[];
6937
- readonly catalog: io.flow.v0.models.CatalogReference;
6938
- readonly subcatalog?: io.flow.v0.models.SubcatalogReference;
6939
- }
6940
- interface TargetingForm {
6941
- readonly key: string;
6942
- readonly queries: io.flow.v0.models.TargetingQueryForm[];
6943
- readonly subcatalog_id?: string;
6944
- }
6945
- interface TargetingItem {
6946
- readonly id: string;
6947
- readonly targeting: io.flow.v0.models.TargetingSummary;
6948
- readonly item_number: string;
6949
- readonly query: io.flow.v0.models.TargetingQuery;
6950
- }
6951
- interface TargetingItemDeleted {
6952
- readonly discriminator: 'targeting_item_deleted';
6953
- readonly event_id: string;
6954
- readonly timestamp: string;
6955
- readonly id: string;
6956
- }
6957
- interface TargetingItemDeletedV3 {
6958
- readonly discriminator: 'targeting_item_deleted_v3';
6959
- readonly event_id: string;
6960
- readonly timestamp: string;
6961
- readonly organization: string;
6962
- readonly id: string;
6963
- }
6964
- interface TargetingItemUpserted {
6965
- readonly discriminator: 'targeting_item_upserted';
6966
- readonly event_id: string;
6967
- readonly timestamp: string;
6968
- readonly organization: string;
6969
- readonly id: string;
6970
- readonly targeting_id: string;
6971
- readonly item_number: string;
6972
- readonly q: string;
6973
- readonly outcome_id: string;
6974
- readonly catalog_id: string;
6975
- readonly key: string;
6976
- readonly subcatalog_id?: string;
6977
- }
6978
- interface TargetingItemUpsertedV2 {
6979
- readonly discriminator: 'targeting_item_upserted_v2';
6980
- readonly event_id: string;
6981
- readonly timestamp: string;
6982
- readonly organization: string;
6983
- readonly targeting_item: io.flow.v0.models.TargetingItem;
6984
- }
6985
- interface TargetingQuery {
6986
- readonly id: string;
6987
- readonly q: string;
6988
- readonly outcome_id: string;
6989
- readonly position: number;
6990
- }
6991
- interface TargetingQueryForm {
6992
- readonly q: string;
6993
- readonly outcome_id: string;
6994
- }
6995
- interface TargetingSummary {
6996
- readonly id: string;
6997
- readonly key: string;
6998
- readonly catalog: io.flow.v0.models.CatalogReference;
6999
- readonly subcatalog?: io.flow.v0.models.SubcatalogReference;
7000
- }
7001
- interface TargetingVersion {
7002
- readonly id: string;
7003
- readonly timestamp: string;
7004
- readonly type: io.flow.v0.enums.ChangeType;
7005
- readonly targeting: io.flow.v0.models.Targeting;
7006
- }
7007
5958
  interface Tax {
7008
5959
  readonly name: string;
7009
5960
  readonly rate: number;
@@ -7144,9 +6095,7 @@ declare namespace io.flow.v0.models {
7144
6095
  readonly id: string;
7145
6096
  readonly labels: io.flow.v0.models.TrackingLabel[];
7146
6097
  readonly status: io.flow.v0.enums.TrackingStatus;
7147
- readonly attributes: {
7148
- [key: string]: string;
7149
- };
6098
+ readonly attributes: Record<string, string>;
7150
6099
  readonly url: string;
7151
6100
  readonly window?: io.flow.v0.models.DatetimeRange;
7152
6101
  readonly order_number?: string;
@@ -7179,9 +6128,7 @@ declare namespace io.flow.v0.models {
7179
6128
  interface TrackingForm {
7180
6129
  readonly status?: io.flow.v0.enums.TrackingStatus;
7181
6130
  readonly order_number?: string;
7182
- readonly attributes?: {
7183
- [key: string]: string;
7184
- };
6131
+ readonly attributes?: Record<string, string>;
7185
6132
  readonly window?: io.flow.v0.models.DatetimeRange;
7186
6133
  }
7187
6134
  interface TrackingLabel {
@@ -7307,9 +6254,7 @@ declare namespace io.flow.v0.models {
7307
6254
  readonly iin: string;
7308
6255
  readonly last4: string;
7309
6256
  readonly name: string;
7310
- readonly attributes?: {
7311
- [key: string]: string;
7312
- };
6257
+ readonly attributes?: Record<string, string>;
7313
6258
  }
7314
6259
  interface VirtualCardCapture {
7315
6260
  readonly id: string;
@@ -7343,9 +6288,7 @@ declare namespace io.flow.v0.models {
7343
6288
  }
7344
6289
  interface VirtualCardForm {
7345
6290
  readonly limit: io.flow.v0.models.Money;
7346
- readonly attributes?: {
7347
- [key: string]: string;
7348
- };
6291
+ readonly attributes?: Record<string, string>;
7349
6292
  }
7350
6293
  interface VirtualCardReference {
7351
6294
  readonly id: string;
@@ -7446,7 +6389,7 @@ declare namespace io.flow.v0.unions {
7446
6389
  type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
7447
6390
  type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
7448
6391
  type Authorization = io.flow.v0.models.CardAuthorization | io.flow.v0.models.OnlineAuthorization;
7449
- type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
6392
+ type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm;
7450
6393
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
7451
6394
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
7452
6395
  type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails;
@@ -7460,7 +6403,7 @@ declare namespace io.flow.v0.unions {
7460
6403
  type DiscountOffer = io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent;
7461
6404
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
7462
6405
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund;
7463
- type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SerialUpserted | io.flow.v0.models.SerialDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TargetingItemUpserted | io.flow.v0.models.TargetingItemUpsertedV2 | io.flow.v0.models.TargetingItemDeleted | io.flow.v0.models.TargetingItemDeletedV3 | io.flow.v0.models.TrackingLabelEventUpserted;
6406
+ type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SerialUpserted | io.flow.v0.models.SerialDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
7464
6407
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
7465
6408
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
7466
6409
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -7483,12 +6426,12 @@ declare namespace io.flow.v0.unions {
7483
6426
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
7484
6427
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
7485
6428
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
7486
- type OnlineAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
6429
+ type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
7487
6430
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
7488
6431
  type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
7489
6432
  type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
7490
6433
  type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
7491
- type Payment = io.flow.v0.models.PaymentPaypal;
6434
+ type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
7492
6435
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
7493
6436
  type PaymentMethodTag = {
7494
6437
  discriminator: 'organization_payment_method_tag';
@@ -7726,6 +6669,9 @@ export declare type ConsumerInvoiceReference = io.flow.v0.models.ConsumerInvoice
7726
6669
  export declare type ConsumerInvoiceStatus = io.flow.v0.enums.ConsumerInvoiceStatus;
7727
6670
  export declare type ConsumerInvoiceUpserted = io.flow.v0.models.ConsumerInvoiceUpserted;
7728
6671
  export declare type Contact = io.flow.v0.models.Contact;
6672
+ export declare type Context = io.flow.v0.models.Context;
6673
+ export declare type ContextForm = io.flow.v0.models.ContextForm;
6674
+ export declare type ContextReference = io.flow.v0.models.ContextReference;
7729
6675
  export declare type Country = io.flow.v0.models.Country;
7730
6676
  export declare type CountryAvailability = io.flow.v0.models.CountryAvailability;
7731
6677
  export declare type CountryDefaults = io.flow.v0.models.CountryDefaults;
@@ -7745,6 +6691,7 @@ export declare type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersio
7745
6691
  export declare type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
7746
6692
  export declare type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
7747
6693
  export declare type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
6694
+ export declare type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
7748
6695
  export declare type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
7749
6696
  export declare type Currency = io.flow.v0.models.Currency;
7750
6697
  export declare type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
@@ -7902,6 +6849,10 @@ export declare type ExperienceSummary = io.flow.v0.models.ExperienceSummary;
7902
6849
  export declare type ExperienceUpserted = io.flow.v0.models.ExperienceUpserted;
7903
6850
  export declare type ExperienceUpsertedV2 = io.flow.v0.models.ExperienceUpsertedV2;
7904
6851
  export declare type ExperienceVersion = io.flow.v0.models.ExperienceVersion;
6852
+ export declare type Experiment = io.flow.v0.models.Experiment;
6853
+ export declare type ExperimentForm = io.flow.v0.models.ExperimentForm;
6854
+ export declare type ExperimentVariant = io.flow.v0.models.ExperimentVariant;
6855
+ export declare type ExperimentVariantForm = io.flow.v0.models.ExperimentVariantForm;
7905
6856
  export declare type Expiration = io.flow.v0.models.Expiration;
7906
6857
  export declare type Export = io.flow.v0.models.Export;
7907
6858
  export declare type ExportDelivery = io.flow.v0.unions.ExportDelivery;
@@ -8158,6 +7109,7 @@ export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
8158
7109
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
8159
7110
  export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
8160
7111
  export declare type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
7112
+ export declare type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
8161
7113
  export declare type OptinResponse = io.flow.v0.models.OptinResponse;
8162
7114
  export declare type OptinResponseType = io.flow.v0.enums.OptinResponseType;
8163
7115
  export declare type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -8283,6 +7235,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
8283
7235
  export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
8284
7236
  export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
8285
7237
  export declare type Payment = io.flow.v0.unions.Payment;
7238
+ export declare type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
8286
7239
  export declare type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
8287
7240
  export declare type PaymentError = io.flow.v0.models.PaymentError;
8288
7241
  export declare type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
@@ -8297,7 +7250,6 @@ export declare type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethod
8297
7250
  export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
8298
7251
  export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
8299
7252
  export declare type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
8300
- export declare type PaymentPaypalData = io.flow.v0.models.PaymentPaypalData;
8301
7253
  export declare type PaymentReference = io.flow.v0.models.PaymentReference;
8302
7254
  export declare type PaymentSource = io.flow.v0.unions.PaymentSource;
8303
7255
  export declare type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;
@@ -8627,17 +7579,6 @@ export declare type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeRespon
8627
7579
  export declare type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
8628
7580
  export declare type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
8629
7581
  export declare type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
8630
- export declare type Targeting = io.flow.v0.models.Targeting;
8631
- export declare type TargetingForm = io.flow.v0.models.TargetingForm;
8632
- export declare type TargetingItem = io.flow.v0.models.TargetingItem;
8633
- export declare type TargetingItemDeleted = io.flow.v0.models.TargetingItemDeleted;
8634
- export declare type TargetingItemDeletedV3 = io.flow.v0.models.TargetingItemDeletedV3;
8635
- export declare type TargetingItemUpserted = io.flow.v0.models.TargetingItemUpserted;
8636
- export declare type TargetingItemUpsertedV2 = io.flow.v0.models.TargetingItemUpsertedV2;
8637
- export declare type TargetingQuery = io.flow.v0.models.TargetingQuery;
8638
- export declare type TargetingQueryForm = io.flow.v0.models.TargetingQueryForm;
8639
- export declare type TargetingSummary = io.flow.v0.models.TargetingSummary;
8640
- export declare type TargetingVersion = io.flow.v0.models.TargetingVersion;
8641
7582
  export declare type Tax = io.flow.v0.models.Tax;
8642
7583
  export declare type TaxApplicability = io.flow.v0.enums.TaxApplicability;
8643
7584
  export declare type TaxRegistration = io.flow.v0.models.TaxRegistration;