@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/src/api.ts CHANGED
@@ -1,1018 +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 =
7
- | 'cart'
8
- | 'checkout'
9
- | 'collection'
10
- | 'customer'
11
- | 'customer_saved_search'
12
- | 'fulfillment'
13
- | 'fulfillment_event'
14
- | 'order'
15
- | 'order_transaction'
16
- | 'product'
17
- | 'refund'
18
- | 'shop';
19
- type FinancialStatusType =
20
- | 'pending'
21
- | 'authorized'
22
- | 'partially_paid'
23
- | 'paid'
24
- | 'partially_refunded'
25
- | 'refunded'
26
- | 'voided';
27
- type Format = 'json' | 'xml';
28
- type FulfillmentService = 'manual' | 'gift_card';
29
- type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
30
- type InventoryBehaviour =
31
- | 'bypass'
32
- | 'decrement_ignoring_policy'
33
- | 'decrement_obeying_policy';
34
- type InventoryManagement = 'blank' | 'shopify';
35
- type InventoryPolicy = 'deny' | 'continue';
36
- type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
37
- type LocalizedPrice =
38
- | 'localized_item_price'
39
- | 'localized_item_vat'
40
- | 'localized_item_duty'
41
- | 'localized_total';
42
- type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
43
- type PriceRuleAllocationMethod = 'across' | 'each';
44
- type PriceRuleCustomerSelection = 'all' | 'prerequisite';
45
- type PriceRuleTargetSelection = 'all' | 'entitled';
46
- type PriceRuleTargetType = 'line_item' | 'shipping_line';
47
- type PriceRuleValueType = 'fixed_amount' | 'percentage';
48
- type PublishedScope = 'global';
49
- type RestockType = 'no_restock' | 'cancel' | 'return';
50
- type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
51
- type ShopifyDiscountPaginationDirection = 'next' | 'prev';
52
- type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
53
- type ShopifyProcessingMethodType =
54
- | 'checkout'
55
- | 'direct'
56
- | 'manual'
57
- | 'offsite'
58
- | 'express';
59
- type ShopifyTransactionErrorCode =
60
- | 'incorrect_number'
61
- | 'invalid_number'
62
- | 'invalid_expiry_date'
63
- | 'invalid_cvc'
64
- | 'expired_card'
65
- | 'incorrect_cvc'
66
- | 'incorrect_zip'
67
- | 'incorrect_address'
68
- | 'card_declined'
69
- | 'processing_error'
70
- | 'call_issuer'
71
- | 'pick_up_card';
72
- type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
73
- type Topic =
74
- | 'carts/create'
75
- | 'carts/update'
76
- | 'checkouts/create'
77
- | 'checkouts/delete'
78
- | 'checkouts/update'
79
- | 'collections/create'
80
- | 'collections/delete'
81
- | 'collections/update'
82
- | 'customer_groups/create'
83
- | 'customer_groups/delete'
84
- | 'customer_groups/update'
85
- | 'customers/create'
86
- | 'customers/delete'
87
- | 'customers/disable'
88
- | 'customers/enable'
89
- | 'customers/update'
90
- | 'customers/redact'
91
- | 'disputes/create'
92
- | 'disputes/update'
93
- | 'fulfillment_events/create'
94
- | 'fulfillment_events/delete'
95
- | 'fulfillments/create'
96
- | 'fulfillments/update'
97
- | 'inventory_items/create'
98
- | 'inventory_items/update'
99
- | 'inventory_items/delete'
100
- | 'inventory_levels/connect'
101
- | 'inventory_levels/update'
102
- | 'inventory_levels/disconnect'
103
- | 'locations/create'
104
- | 'locations/update'
105
- | 'locations/delete'
106
- | 'order_transactions/create'
107
- | 'orders/cancelled'
108
- | 'orders/create'
109
- | 'orders/delete'
110
- | 'orders/fulfilled'
111
- | 'orders/paid'
112
- | 'orders/partially_fulfilled'
113
- | 'orders/updated'
114
- | 'products/create'
115
- | 'products/delete'
116
- | 'products/update'
117
- | 'refunds/create'
118
- | 'shop/update'
119
- | 'shop/redact'
120
- | 'themes/create'
121
- | 'themes/delete'
122
- | 'themes/publish'
123
- | 'themes/update';
124
- type ValueType = 'string' | 'integer';
125
- type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
126
- }
127
-
128
- declare namespace io.flow.shopify.external.v0.models {
129
- interface Collect {
130
- readonly id: number;
131
- readonly collection_id: number;
132
- readonly product_id: number;
133
- readonly featured: boolean;
134
- readonly created_at?: string;
135
- readonly updated_at?: string;
136
- readonly position: number;
137
- readonly sort_value: string;
138
- }
139
-
140
- interface Collection {
141
- readonly id: number;
142
- readonly handle?: string;
143
- readonly title?: string;
144
- readonly published?: boolean;
145
- readonly published_at?: string;
146
- readonly updated_at?: string;
147
- }
148
-
149
- interface Count {
150
- readonly count: number;
151
- }
152
-
153
- interface Discount {
154
- readonly id: number;
155
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
156
- readonly code: string;
157
- readonly value?: number;
158
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
159
- readonly usage_limit?: number;
160
- readonly applies_once: boolean;
161
- readonly applies_once_per_customer: boolean;
162
- readonly ends_at?: string;
163
- readonly starts_at?: string;
164
- readonly minimum_order_amount?: number;
165
- readonly applies_to_id?: number;
166
- readonly applies_to_resource?: string;
167
- readonly times_used: number;
168
- }
169
-
170
- interface Metafield {
171
- readonly id: number;
172
- readonly key: string;
173
- readonly namespace: string;
174
- readonly value: string;
175
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
176
- readonly description?: string;
177
- readonly owner_id: number;
178
- readonly owner_resource: string;
179
- }
180
-
181
- interface MetafieldForm {
182
- readonly key: string;
183
- readonly namespace: string;
184
- readonly value: string;
185
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
186
- readonly description?: string;
187
- }
188
-
189
- interface Option {
190
- readonly id: number;
191
- readonly product_id: number;
192
- readonly name: string;
193
- readonly position: number;
194
- readonly values?: string[];
195
- }
196
-
197
- interface PriceRule {
198
- readonly id: number;
199
- readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
200
- readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
201
- readonly value: number;
202
- readonly starts_at: string;
203
- readonly ends_at?: string;
204
- readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
205
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
206
- readonly usage_limit?: number;
207
- readonly entitled_product_ids: number[];
208
- readonly entitled_variant_ids: number[];
209
- readonly entitled_collection_ids: number[];
210
- readonly entitled_country_ids: number[];
211
- readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
212
- readonly once_per_customer: boolean;
213
- readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
214
- readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
215
- readonly prerequisite_saved_search_ids: number[];
216
- readonly prerequisite_customer_ids?: number[];
217
- readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
218
- readonly prerequisite_product_ids?: number[];
219
- readonly prerequisite_variant_ids?: number[];
220
- readonly prerequisite_collection_ids?: number[];
221
- readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
222
- readonly allocation_limit?: number;
223
- readonly title?: string;
224
- readonly created_at?: string;
225
- readonly updated_at?: string;
226
- }
227
-
228
- interface PriceRuleDiscountCode {
229
- readonly id: number;
230
- readonly price_rule_id: number;
231
- readonly code: string;
232
- readonly usage_count: number;
233
- readonly created_at: string;
234
- readonly updated_at: string;
235
- }
236
-
237
- interface PriceRuleForm {
238
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
239
- }
240
-
241
- interface PriceRuleGreaterThanRange {
242
- readonly greater_than?: number;
243
- readonly greater_than_or_equal_to?: number;
244
- }
245
-
246
- interface PriceRuleLessThanRange {
247
- readonly less_than?: number;
248
- readonly less_than_or_equal_to?: number;
249
- }
250
-
251
- interface PriceRulePrerequisiteToEntitlementQuantityRatio {
252
- readonly prerequisite_quantity?: number;
253
- readonly entitled_quantity?: number;
254
- }
255
-
256
- interface Product {
257
- readonly id: number;
258
- readonly handle: string;
259
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
260
- readonly images: io.flow.shopify.external.v0.models.ProductImage[];
261
- readonly title: string;
262
- readonly vendor?: string;
263
- readonly body_html?: string;
264
- readonly product_type?: string;
265
- readonly options: io.flow.shopify.external.v0.models.Option[];
266
- readonly tags?: string;
267
- readonly template_suffix?: string;
268
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
269
- readonly published_at?: string;
270
- readonly created_at: string;
271
- readonly updated_at: string;
272
- }
273
-
274
- interface ProductDelete {
275
- readonly id: number;
276
- }
277
-
278
- interface ProductImage {
279
- readonly id: number;
280
- readonly product_id: number;
281
- readonly variant_ids: number[];
282
- readonly src: string;
283
- readonly position: number;
284
- readonly created_at: string;
285
- readonly updated_at: string;
286
- readonly alt?: string;
287
- }
288
-
289
- interface ProductVariant {
290
- readonly id: number;
291
- readonly sku?: string;
292
- readonly product_id: number;
293
- readonly price: number;
294
- readonly title: string;
295
- readonly taxable: boolean;
296
- readonly compare_at_price?: number;
297
- readonly grams?: number;
298
- readonly image_id?: number;
299
- readonly barcode?: string;
300
- readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
301
- readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
302
- readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
303
- readonly weight?: number;
304
- readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
305
- readonly inventory_item_id?: number;
306
- readonly inventory_quantity?: number;
307
- readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
308
- readonly option1?: string;
309
- readonly option2?: string;
310
- readonly option3?: string;
311
- readonly requires_shipping: boolean;
312
- readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
313
- }
314
-
315
- interface RequestMetafieldForm {
316
- readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
317
- }
318
-
319
- interface RequestShopifyGiftCard {
320
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
321
- }
322
-
323
- interface RequestShopifyRefundForm {
324
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
325
- }
326
-
327
- interface RequestShopifyTransactionForm {
328
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
329
- }
330
-
331
- interface ResponseCollect {
332
- readonly collect: io.flow.shopify.external.v0.models.Collect;
333
- }
334
-
335
- interface ResponseCollects {
336
- readonly collects: io.flow.shopify.external.v0.models.Collect[];
337
- }
338
-
339
- interface ResponseDiscount {
340
- readonly discount: io.flow.shopify.external.v0.models.Discount;
341
- }
342
-
343
- interface ResponseDiscounts {
344
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
345
- }
346
-
347
- interface ResponseMetafield {
348
- readonly metafield: io.flow.shopify.external.v0.models.Metafield;
349
- }
350
-
351
- interface ResponseMetafields {
352
- readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
353
- }
354
-
355
- interface ResponseOrdersWrapper {
356
- readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
357
- }
358
-
359
- interface ResponsePriceRule {
360
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
361
- }
362
-
363
- interface ResponsePriceRuleDiscountCode {
364
- readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
365
- }
366
-
367
- interface ResponsePriceRuleDiscountCodes {
368
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
369
- }
370
-
371
- interface ResponsePriceRules {
372
- readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
373
- }
374
-
375
- interface ResponseProduct {
376
- readonly product: io.flow.shopify.external.v0.models.Product;
377
- }
378
-
379
- interface ResponseProducts {
380
- readonly products: io.flow.shopify.external.v0.models.Product[];
381
- }
382
-
383
- interface ResponseShopifyGiftCard {
384
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
385
- }
386
-
387
- interface ResponseShopifyGiftCards {
388
- readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
389
- }
390
-
391
- interface ResponseShopifyRefundSingle {
392
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
393
- }
394
-
395
- interface ResponseShopifyTransaction {
396
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
397
- }
398
-
399
- interface ResponseShopifyTransactionSingle {
400
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
401
- }
402
-
403
- interface ResponseVariant {
404
- readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
405
- }
406
-
407
- interface Shop {
408
- readonly id: number;
409
- readonly domain: string;
410
- readonly myshopify_domain: string;
411
- readonly name: string;
412
- readonly primary_locale: string;
413
- readonly currency: string;
414
- readonly country_code: string;
415
- }
416
-
417
- interface ShopResponse {
418
- readonly shop: io.flow.shopify.external.v0.models.Shop;
419
- }
420
-
421
- interface ShopifyAddress {
422
- readonly id?: number;
423
- readonly address1?: string;
424
- readonly address2?: string;
425
- readonly city?: string;
426
- readonly company?: string;
427
- readonly country?: string;
428
- readonly country_code?: string;
429
- readonly default?: boolean;
430
- readonly first_name?: string;
431
- readonly last_name?: string;
432
- readonly latitude?: number;
433
- readonly longitude?: number;
434
- readonly name?: string;
435
- readonly phone?: string;
436
- readonly province?: string;
437
- readonly province_code?: string;
438
- readonly zip?: string;
439
- }
440
-
441
- interface ShopifyAttribute {
442
- readonly name: string;
443
- readonly value: string;
444
- }
445
-
446
- interface ShopifyCart {
447
- readonly token: string;
448
- readonly note?: string;
449
- readonly attributes?: {
450
- [key: string]: string;
451
- };
452
- readonly items_subtotal_price?: number;
453
- readonly total_price: number;
454
- readonly total_weight: number;
455
- readonly total_discount: number;
456
- readonly original_total_price: number;
457
- readonly item_count: number;
458
- readonly requires_shipping: boolean;
459
- readonly currency?: string;
460
- readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
461
- readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
462
- }
463
-
464
- interface ShopifyCartItem {
465
- readonly id: number;
466
- readonly title: string;
467
- readonly key?: string;
468
- readonly price: number;
469
- readonly line_price: number;
470
- readonly final_price: number;
471
- readonly final_line_price: number;
472
- readonly original_price: number;
473
- readonly original_line_price: number;
474
- readonly total_discount: number;
475
- readonly discounted_price: number;
476
- readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
477
- readonly taxable: boolean;
478
- readonly quantity: number;
479
- readonly sku?: string;
480
- readonly grams?: number;
481
- readonly vendor?: string;
482
- readonly properties?: {
483
- [key: string]: string;
484
- };
485
- readonly variant_id?: number;
486
- readonly gift_card: boolean;
487
- readonly url: string;
488
- readonly image?: string;
489
- readonly handle: string;
490
- readonly requires_shipping: boolean;
491
- readonly product_id: number;
492
- readonly product_title: string;
493
- readonly product_description?: string;
494
- readonly product_type: string;
495
- readonly variant_title?: string;
496
- readonly variant_options?: string[];
497
- readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
498
- }
499
-
500
- interface ShopifyCartItemDiscount {
501
- readonly amount: number;
502
- readonly title: string;
503
- }
504
-
505
- interface ShopifyClientDetail {
506
- readonly accept_language: boolean;
507
- readonly browser_height?: number;
508
- readonly browser_ip: string;
509
- readonly browser_width?: number;
510
- readonly session_hash?: string;
511
- readonly user_agent?: string;
512
- }
513
-
514
- interface ShopifyCustomer {
515
- readonly id: number;
516
- readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
517
- readonly created_at: string;
518
- readonly tags: string;
519
- readonly tax_exempt: boolean;
520
- readonly verified_email: boolean;
521
- readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
522
- readonly accepts_marketing?: boolean;
523
- readonly default_address?: {
524
- [key: string]: string;
525
- };
526
- readonly email?: string;
527
- readonly first_name?: string;
528
- readonly last_name?: string;
529
- readonly last_order_id?: number;
530
- readonly last_order_name?: string;
531
- readonly note?: string;
532
- readonly orders_count?: number;
533
- readonly phone?: string;
534
- readonly total_spent?: string;
535
- readonly updated_at?: string;
536
- }
537
-
538
- interface ShopifyCustomerAddress {
539
- readonly id: number;
540
- readonly customer_id: number;
541
- readonly default: boolean;
542
- readonly address1?: string;
543
- readonly address2?: string;
544
- readonly city?: string;
545
- readonly company?: string;
546
- readonly first_name?: string;
547
- readonly last_name?: string;
548
- readonly name?: string;
549
- readonly phone?: string;
550
- readonly country?: string;
551
- readonly country_code?: string;
552
- readonly country_name?: string;
553
- readonly province?: string;
554
- readonly province_code?: string;
555
- readonly zip?: string;
556
- }
557
-
558
- interface ShopifyCustomerDelete {
559
- readonly id: number;
560
- }
561
-
562
- interface ShopifyCustomersResponseWrapper {
563
- readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
564
- }
565
-
566
- interface ShopifyDiscountApplication {
567
- readonly type: string;
568
- readonly key: string;
569
- readonly title: string;
570
- readonly description?: string;
571
- readonly value: string;
572
- readonly created_at: string;
573
- readonly value_type: string;
574
- readonly allocation_method: string;
575
- readonly target_selection: string;
576
- readonly target_type: string;
577
- readonly total_allocated_amount: number;
578
- }
579
-
580
- interface ShopifyDiscountCode {
581
- readonly amount: string;
582
- readonly code: string;
583
- readonly type: io.flow.shopify.external.v0.enums.DiscountType;
584
- }
585
-
586
- interface ShopifyError {
587
- readonly errors: {
588
- [key: string]: string;
589
- };
590
- }
591
-
592
- interface ShopifyFulfillment {
593
- readonly location_id: number;
594
- readonly created_at?: string;
595
- readonly id?: number;
596
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
597
- readonly order_id?: number;
598
- readonly receipt?: {
599
- [key: string]: string;
600
- };
601
- readonly status?: string;
602
- readonly tracking_company?: string;
603
- readonly tracking_number?: string;
604
- readonly tracking_numbers?: string[];
605
- readonly tracking_url?: string;
606
- readonly tracking_urls?: string[];
607
- readonly updated_at?: string;
608
- readonly notify_customer?: boolean;
609
- }
610
-
611
- interface ShopifyFulfillmentWrapper {
612
- readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
613
- }
614
-
615
- interface ShopifyGiftCard {
616
- readonly id: number;
617
- readonly balance: number;
618
- readonly currency: string;
619
- readonly initial_value: number;
620
- readonly last_characters: string;
621
- readonly created_at: string;
622
- readonly updated_at: string;
623
- readonly api_client_id?: number;
624
- readonly code?: string;
625
- readonly customer_id?: number;
626
- readonly disabled_at?: string;
627
- readonly expires_on?: string;
628
- readonly line_item_id?: number;
629
- readonly note?: string;
630
- readonly order_id?: number;
631
- readonly template_suffix?: string;
632
- readonly user_id?: number;
633
- }
634
-
635
- interface ShopifyGiftCardAdjustment {
636
- readonly id: number;
637
- readonly gift_card_id: number;
638
- readonly number: number;
639
- readonly amount: number;
640
- readonly created_at: string;
641
- readonly processed_at: string;
642
- readonly note?: string;
643
- readonly remote_transaction_ref?: string;
644
- readonly remote_transaction_url?: string;
645
- readonly api_client_id?: number;
646
- readonly user_id?: number;
647
- readonly order_transaction_id?: number;
648
- }
649
-
650
- interface ShopifyGiftCardAdjustmentForm {
651
- readonly amount: number;
652
- readonly note?: string;
653
- readonly order_transaction_id?: number;
654
- readonly processed_at?: string;
655
- }
656
-
657
- interface ShopifyGiftCardAdjustmentFormWrapper {
658
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
659
- }
660
-
661
- interface ShopifyGiftCardAdjustmentResponseWrapper {
662
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
663
- }
664
-
665
- interface ShopifyGiftCardForm {
666
- readonly initial_value: number;
667
- readonly code?: string;
668
- readonly note?: string;
669
- readonly template_suffix?: string;
670
- }
671
-
672
- interface ShopifyInventoryItem {
673
- readonly id: number;
674
- readonly tracked: boolean;
675
- readonly sku?: string;
676
- readonly cost?: string;
677
- readonly country_code_of_origin?: string;
678
- readonly created_at: string;
679
- readonly updated_at?: string;
680
- }
681
-
682
- interface ShopifyInventoryItemDelete {
683
- readonly id: number;
684
- }
685
-
686
- interface ShopifyInventoryLevel {
687
- readonly inventory_item_id: number;
688
- readonly location_id: number;
689
- readonly updated_at: string;
690
- readonly available?: number;
691
- }
692
-
693
- interface ShopifyInventoryLevelDisconnect {
694
- readonly inventory_item_id: number;
695
- readonly location_id: number;
696
- }
697
-
698
- interface ShopifyInventoryLevelResponseWrapper {
699
- readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
700
- }
701
-
702
- interface ShopifyLineItem {
703
- readonly id: number;
704
- readonly quantity: number;
705
- readonly fulfillable_quantity?: number;
706
- readonly fulfillment_service: string;
707
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
708
- readonly grams?: number;
709
- readonly price?: string;
710
- readonly product_id?: number;
711
- readonly requires_shipping: boolean;
712
- readonly sku?: string;
713
- readonly title?: string;
714
- readonly variant_id?: number;
715
- readonly variant_title?: string;
716
- readonly vendor?: string;
717
- readonly name?: string;
718
- readonly gift_card: boolean;
719
- readonly properties: {
720
- [key: string]: string;
721
- }[];
722
- readonly taxable: boolean;
723
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
724
- readonly total_discount?: string;
725
- }
726
-
727
- interface ShopifyLineItemForm {
728
- readonly fulfillable_quantity?: number;
729
- readonly fulfillment_service: string;
730
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
731
- readonly grams?: number;
732
- readonly price?: string;
733
- readonly product_id?: number;
734
- readonly quantity?: number;
735
- readonly requires_shipping: boolean;
736
- readonly sku?: string;
737
- readonly title?: string;
738
- readonly variant_id?: number;
739
- readonly variant_title?: string;
740
- readonly vendor?: string;
741
- readonly name?: string;
742
- readonly gift_card: boolean;
743
- readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
744
- readonly taxable: boolean;
745
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
746
- readonly total_discount?: string;
747
- readonly id?: number;
748
- }
749
-
750
- interface ShopifyLineLevelDiscountAllocation {
751
- readonly amount: number;
752
- readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
753
- }
754
-
755
- interface ShopifyLocation {
756
- readonly active: boolean;
757
- readonly address1?: string;
758
- readonly address2?: string;
759
- readonly city?: string;
760
- readonly country?: string;
761
- readonly country_code?: string;
762
- readonly created_at: string;
763
- readonly id: number;
764
- readonly legacy: boolean;
765
- readonly name: string;
766
- readonly phone?: string;
767
- readonly province?: string;
768
- readonly province_code?: string;
769
- readonly updated_at?: string;
770
- readonly zip?: string;
771
- }
772
-
773
- interface ShopifyLocationDelete {
774
- readonly id: number;
775
- }
776
-
777
- interface ShopifyLocationsResponseWrapper {
778
- readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
779
- }
780
-
781
- interface ShopifyOrder {
782
- readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
783
- readonly browser_ip?: string;
784
- readonly buyer_accepts_marketing: boolean;
785
- readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
786
- readonly cancelled_at?: string;
787
- readonly cart_token?: string;
788
- readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
789
- readonly closed_at?: string;
790
- readonly created_at?: string;
791
- readonly currency?: string;
792
- readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
793
- readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
794
- readonly email?: string;
795
- readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
796
- readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
797
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
798
- readonly id?: number;
799
- readonly landing_site?: string;
800
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
801
- readonly location_id?: number;
802
- readonly name?: string;
803
- readonly note?: string;
804
- readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
805
- readonly number?: number;
806
- readonly order_number?: number;
807
- readonly payment_gateway_names: string[];
808
- readonly processed_at?: string;
809
- readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
810
- readonly referring_site?: string;
811
- readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
812
- readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
813
- readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
814
- readonly source_name?: string;
815
- readonly subtotal_price?: string;
816
- readonly tags?: string;
817
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
818
- readonly taxes_included: boolean;
819
- readonly token?: string;
820
- readonly total_discounts?: string;
821
- readonly total_line_items_price?: string;
822
- readonly total_price?: string;
823
- readonly total_tax?: string;
824
- readonly total_weight?: number;
825
- readonly updated_at?: string;
826
- readonly user_id?: number;
827
- readonly order_status_url?: string;
828
- readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
829
- readonly gateway?: string;
830
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
831
- readonly send_receipt?: boolean;
832
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
833
- }
834
-
835
- interface ShopifyOrderCount {
836
- readonly count: number;
837
- }
838
-
839
- interface ShopifyOrderCustomer {
840
- readonly email?: string;
841
- readonly first_name?: string;
842
- readonly last_name?: string;
843
- readonly phone?: string;
844
- }
845
-
846
- interface ShopifyOrderWrapper {
847
- readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
848
- }
849
-
850
- interface ShopifyPaymentDetail {
851
- readonly avs_result_code?: string;
852
- readonly credit_card_bin?: string;
853
- readonly credit_card_company: string;
854
- readonly credit_card_number: string;
855
- readonly cvv_result_code?: string;
856
- }
857
-
858
- interface ShopifyRefund {
859
- readonly id: number;
860
- readonly order_id: number;
861
- readonly created_at: string;
862
- readonly processed_at: string;
863
- readonly note?: string;
864
- readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
865
- readonly restock?: boolean;
866
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
867
- readonly user_id?: number;
868
- }
869
-
870
- interface ShopifyRefundForm {
871
- readonly note?: string;
872
- readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
873
- readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
874
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
875
- readonly currency: string;
876
- }
877
-
878
- interface ShopifyRefundLineItem {
879
- readonly id: number;
880
- readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
881
- readonly line_item_id: number;
882
- readonly quantity: number;
883
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
884
- readonly location_id?: number;
885
- readonly subtotal?: number;
886
- readonly total_tax?: number;
887
- }
888
-
889
- interface ShopifyRefundLineItemForm {
890
- readonly line_item_id: number;
891
- readonly quantity: number;
892
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
893
- readonly location_id?: number;
894
- }
895
-
896
- interface ShopifyShippingLine {
897
- readonly code: string;
898
- readonly price: string;
899
- readonly source: string;
900
- readonly title: string;
901
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
902
- readonly carrier_identifier?: string;
903
- readonly requested_fulfillment_service_id?: string;
904
- }
905
-
906
- interface ShopifyTaxLine {
907
- readonly price: string;
908
- readonly rate: number;
909
- readonly title: string;
910
- }
911
-
912
- interface ShopifyTransaction {
913
- readonly id: number;
914
- readonly order_id: number;
915
- readonly amount: number;
916
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
917
- readonly gateway: string;
918
- readonly currency: string;
919
- readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
920
- readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
921
- readonly receipt: {
922
- [key: string]: string;
923
- };
924
- readonly authorization?: string;
925
- readonly created_at: string;
926
- readonly device_id?: number;
927
- readonly gift_card_id?: number;
928
- readonly source_name: string;
929
- readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
930
- readonly test: boolean;
931
- readonly parent_id?: number;
932
- readonly user_id?: number;
933
- }
934
-
935
- interface ShopifyTransactionForm {
936
- readonly amount: number;
937
- readonly currency: string;
938
- readonly gateway: string;
939
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
940
- readonly source: string;
941
- readonly authorization?: string;
942
- readonly gift_card_id?: number;
943
- readonly parent_id?: number;
944
- readonly receipt?: {
945
- [key: string]: string;
946
- };
947
- }
948
-
949
- interface ShopifyWebhookCustomersRedact {
950
- readonly shop_id: number;
951
- readonly shop_domain: string;
952
- readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
953
- readonly orders_to_redact?: number[];
954
- }
955
-
956
- interface ShopifyWebhookCustomersRedactCustomer {
957
- readonly id: number;
958
- readonly email?: string;
959
- readonly phone?: string;
960
- }
961
-
962
- interface ShopifyWebhookOrder {
963
- readonly id?: number;
964
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
965
- }
966
-
967
- interface ShopifyWebhookOrderCancelled {
968
- readonly id: number;
969
- }
970
-
971
- interface ShopifyWebhookOrderLineItem {
972
- readonly fulfillable_quantity?: number;
973
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
974
- readonly product_id?: number;
975
- readonly quantity?: number;
976
- readonly requires_shipping: boolean;
977
- readonly variant_id?: number;
978
- }
979
-
980
- interface ShopifyWebhookShopRedact {
981
- readonly shop_id: number;
982
- readonly shop_domain: string;
983
- }
984
-
985
- interface Webhook {
986
- readonly address: string;
987
- readonly created_at: string;
988
- readonly format: io.flow.shopify.external.v0.enums.Format;
989
- readonly id: number;
990
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
991
- readonly updated_at: string;
992
- readonly fields?: string[];
993
- readonly metafield_namespaces?: string[];
994
- }
995
-
996
- interface WebhookForm {
997
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
998
- readonly address: string;
999
- readonly format: io.flow.shopify.external.v0.enums.Format;
1000
- readonly metafield_namespaces?: string[];
1001
- }
1002
-
1003
- interface WebhookFormWrapper {
1004
- readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
1005
- }
1006
-
1007
- interface WebhookResponseList {
1008
- readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
1009
- }
1010
-
1011
- interface WebhookResponseSingle {
1012
- readonly webhook: io.flow.shopify.external.v0.models.Webhook;
1013
- }
1014
- }
1015
-
1016
1
  declare namespace io.flow.v0.enums {
1017
2
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
1018
3
  type Aggregate = 'maximum' | 'minimum';
@@ -1325,10 +310,6 @@ declare namespace io.flow.v0.enums {
1325
310
  | 'return_deleted'
1326
311
  | 'shopify_localization_setting_upserted'
1327
312
  | 'shopify_localization_setting_deleted'
1328
- | 'targeting_item_upserted'
1329
- | 'targeting_item_upserted_v2'
1330
- | 'targeting_item_deleted'
1331
- | 'targeting_item_deleted_v3'
1332
313
  | 'tracking_label_event_upserted';
1333
314
  type ExceptionType = 'open' | 'closed';
1334
315
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
@@ -1677,9 +658,7 @@ declare namespace io.flow.v0.models {
1677
658
  readonly amount: number;
1678
659
  readonly currency: string;
1679
660
  readonly key?: string;
1680
- readonly attributes?: {
1681
- [key: string]: string;
1682
- };
661
+ readonly attributes?: Record<string, string>;
1683
662
  readonly ip?: string;
1684
663
  }
1685
664
 
@@ -1936,9 +915,7 @@ declare namespace io.flow.v0.models {
1936
915
  readonly source_authorization_key: string;
1937
916
  readonly amount: number;
1938
917
  readonly currency: string;
1939
- readonly attributes?: {
1940
- [key: string]: string;
1941
- };
918
+ readonly attributes?: Record<string, string>;
1942
919
  }
1943
920
 
1944
921
  interface AuthorizationDeletedV2 {
@@ -1998,9 +975,7 @@ declare namespace io.flow.v0.models {
1998
975
  readonly discriminator: 'authorization_result_action_post';
1999
976
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
2000
977
  readonly url: string;
2001
- readonly parameters: {
2002
- [key: string]: string;
2003
- };
978
+ readonly parameters: any /*object*/;
2004
979
  }
2005
980
 
2006
981
  interface AuthorizationResultActionWait {
@@ -2071,9 +1046,7 @@ declare namespace io.flow.v0.models {
2071
1046
  readonly timestamp: string;
2072
1047
  readonly organization: string;
2073
1048
  readonly experience_key: string;
2074
- readonly available_promotions: {
2075
- [key: string]: string;
2076
- }[];
1049
+ readonly available_promotions: any /*object*/[];
2077
1050
  }
2078
1051
 
2079
1052
  interface AvailablePromotionsUpsertedV2 {
@@ -2123,9 +1096,7 @@ declare namespace io.flow.v0.models {
2123
1096
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
2124
1097
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2125
1098
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2126
- readonly attributes: {
2127
- [key: string]: string;
2128
- };
1099
+ readonly attributes: Record<string, string>;
2129
1100
  }
2130
1101
 
2131
1102
  interface B2BCreditMemoDeleted {
@@ -2159,9 +1130,7 @@ declare namespace io.flow.v0.models {
2159
1130
  readonly tax: io.flow.v0.models.Money;
2160
1131
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2161
1132
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2162
- readonly attributes: {
2163
- [key: string]: string;
2164
- };
1133
+ readonly attributes: Record<string, string>;
2165
1134
  }
2166
1135
 
2167
1136
  interface B2BInvoiceDeleted {
@@ -2244,9 +1213,7 @@ declare namespace io.flow.v0.models {
2244
1213
  readonly currency: string;
2245
1214
  readonly requested?: io.flow.v0.models.Money;
2246
1215
  readonly created_at: string;
2247
- readonly attributes?: {
2248
- [key: string]: string;
2249
- };
1216
+ readonly attributes?: Record<string, string>;
2250
1217
  readonly status?: io.flow.v0.enums.CaptureStatus;
2251
1218
  readonly base?: io.flow.v0.models.Money;
2252
1219
  }
@@ -2270,9 +1237,7 @@ declare namespace io.flow.v0.models {
2270
1237
  readonly key?: string;
2271
1238
  readonly amount?: number;
2272
1239
  readonly currency?: string;
2273
- readonly attributes?: {
2274
- [key: string]: string;
2275
- };
1240
+ readonly attributes?: Record<string, string>;
2276
1241
  }
2277
1242
 
2278
1243
  interface CaptureIdentifier {
@@ -2344,9 +1309,7 @@ declare namespace io.flow.v0.models {
2344
1309
  readonly currency: string;
2345
1310
  readonly requested?: io.flow.v0.models.Money;
2346
1311
  readonly customer: io.flow.v0.models.OrderCustomer;
2347
- readonly attributes: {
2348
- [key: string]: string;
2349
- };
1312
+ readonly attributes: Record<string, string>;
2350
1313
  readonly destination?: io.flow.v0.models.Address;
2351
1314
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2352
1315
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -2535,9 +1498,7 @@ declare namespace io.flow.v0.models {
2535
1498
  readonly name: string;
2536
1499
  readonly categories: string[];
2537
1500
  readonly experiences: io.flow.v0.models.ExperienceSummary[];
2538
- readonly attributes: {
2539
- [key: string]: string;
2540
- };
1501
+ readonly attributes: Record<string, string>;
2541
1502
  readonly images: io.flow.v0.models.CatalogItemDocumentImages;
2542
1503
  }
2543
1504
 
@@ -2560,9 +1521,7 @@ declare namespace io.flow.v0.models {
2560
1521
  interface CatalogItemSummary {
2561
1522
  readonly number: string;
2562
1523
  readonly name: string;
2563
- readonly attributes: {
2564
- [key: string]: string;
2565
- };
1524
+ readonly attributes: Record<string, string>;
2566
1525
  }
2567
1526
 
2568
1527
  interface CatalogItemUpserted {
@@ -2578,15 +1537,9 @@ declare namespace io.flow.v0.models {
2578
1537
  readonly price: number;
2579
1538
  readonly categories: string[];
2580
1539
  readonly description?: string;
2581
- readonly attributes: {
2582
- [key: string]: string;
2583
- };
2584
- readonly dimensions: {
2585
- [key: string]: string;
2586
- };
2587
- readonly images: {
2588
- [key: string]: string;
2589
- }[];
1540
+ readonly attributes: Record<string, string>;
1541
+ readonly dimensions: any /*object*/;
1542
+ readonly images: any /*object*/[];
2590
1543
  }
2591
1544
 
2592
1545
  interface CatalogItemUpsertedV2 {
@@ -2826,9 +1779,7 @@ declare namespace io.flow.v0.models {
2826
1779
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2827
1780
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2828
1781
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2829
- readonly attributes: {
2830
- [key: string]: string;
2831
- };
1782
+ readonly attributes: Record<string, string>;
2832
1783
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2833
1784
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
2834
1785
  }
@@ -2856,15 +1807,11 @@ declare namespace io.flow.v0.models {
2856
1807
 
2857
1808
  interface ConsumerInvoiceForm {
2858
1809
  readonly order_number: string;
2859
- readonly attributes?: {
2860
- [key: string]: string;
2861
- };
1810
+ readonly attributes?: Record<string, string>;
2862
1811
  }
2863
1812
 
2864
1813
  interface ConsumerInvoiceFormByOrder {
2865
- readonly attributes?: {
2866
- [key: string]: string;
2867
- };
1814
+ readonly attributes?: Record<string, string>;
2868
1815
  }
2869
1816
 
2870
1817
  interface ConsumerInvoiceLevy {
@@ -2958,6 +1905,19 @@ declare namespace io.flow.v0.models {
2958
1905
  readonly phone?: string;
2959
1906
  }
2960
1907
 
1908
+ interface Context {
1909
+ readonly id: string;
1910
+ readonly experiments: io.flow.v0.models.Experiment[];
1911
+ }
1912
+
1913
+ interface ContextForm {
1914
+ readonly experiments: io.flow.v0.models.ExperimentForm[];
1915
+ }
1916
+
1917
+ interface ContextReference {
1918
+ readonly id: string;
1919
+ }
1920
+
2961
1921
  interface Country {
2962
1922
  readonly name: string;
2963
1923
  readonly iso_3166_2: string;
@@ -3006,9 +1966,7 @@ declare namespace io.flow.v0.models {
3006
1966
  readonly payments: io.flow.v0.models.ConsumerInvoicePayment[];
3007
1967
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3008
1968
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3009
- readonly attributes: {
3010
- [key: string]: string;
3011
- };
1969
+ readonly attributes: Record<string, string>;
3012
1970
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
3013
1971
  }
3014
1972
 
@@ -3025,9 +1983,7 @@ declare namespace io.flow.v0.models {
3025
1983
  readonly refund_key?: string;
3026
1984
  readonly refund_identifier?: string;
3027
1985
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[];
3028
- readonly attributes?: {
3029
- [key: string]: string;
3030
- };
1986
+ readonly attributes?: Record<string, string>;
3031
1987
  }
3032
1988
 
3033
1989
  interface CreditMemoUpserted {
@@ -3045,9 +2001,7 @@ declare namespace io.flow.v0.models {
3045
2001
  readonly description: string;
3046
2002
  readonly value: io.flow.v0.models.PriceWithBase;
3047
2003
  readonly original: io.flow.v0.models.OriginalPrices;
3048
- readonly attributes: {
3049
- [key: string]: string;
3050
- };
2004
+ readonly attributes: Record<string, string>;
3051
2005
  }
3052
2006
 
3053
2007
  interface CreditPaymentError {
@@ -3062,9 +2016,7 @@ declare namespace io.flow.v0.models {
3062
2016
  readonly amount: number;
3063
2017
  readonly max: number;
3064
2018
  readonly currency: string;
3065
- readonly attributes?: {
3066
- [key: string]: string;
3067
- };
2019
+ readonly attributes?: Record<string, string>;
3068
2020
  }
3069
2021
 
3070
2022
  interface CreditPaymentVersion {
@@ -3095,15 +2047,18 @@ declare namespace io.flow.v0.models {
3095
2047
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
3096
2048
  }
3097
2049
 
2050
+ interface CryptopayAuthorizationDetails {
2051
+ readonly discriminator: 'cryptopay_authorization_details';
2052
+ readonly payment_id: string;
2053
+ }
2054
+
3098
2055
  interface CsvPriceBookItemExportRow {
3099
2056
  readonly price_book_key: string;
3100
2057
  readonly price_book_item_key: string;
3101
2058
  readonly item_number: string;
3102
2059
  readonly item_name: string;
3103
2060
  readonly amount: number;
3104
- readonly item_attributes?: {
3105
- [key: string]: string;
3106
- };
2061
+ readonly item_attributes?: Record<string, string>;
3107
2062
  readonly starts_at: string;
3108
2063
  readonly ends_at?: string;
3109
2064
  }
@@ -3284,9 +2239,7 @@ declare namespace io.flow.v0.models {
3284
2239
  readonly quantity: number;
3285
2240
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
3286
2241
  readonly price?: io.flow.v0.models.MoneyWithOptionalBase;
3287
- readonly attributes?: {
3288
- [key: string]: string;
3289
- };
2242
+ readonly attributes?: Record<string, string>;
3290
2243
  readonly center?: string;
3291
2244
  readonly line_number?: number;
3292
2245
  }
@@ -3405,9 +2358,7 @@ declare namespace io.flow.v0.models {
3405
2358
  readonly destination: io.flow.v0.models.ShippingAddress;
3406
2359
  readonly origin: io.flow.v0.models.ShippingAddress;
3407
2360
  readonly package: io.flow.v0.models.ShippingLabelPackage;
3408
- readonly attributes?: {
3409
- [key: string]: string;
3410
- };
2361
+ readonly attributes?: Record<string, string>;
3411
2362
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
3412
2363
  readonly direction?: io.flow.v0.enums.Direction;
3413
2364
  readonly order_number?: string;
@@ -3418,9 +2369,7 @@ declare namespace io.flow.v0.models {
3418
2369
  interface DetailedShippingNotificationForm {
3419
2370
  readonly discriminator: 'detailed_shipping_notification_form';
3420
2371
  readonly key?: string;
3421
- readonly attributes?: {
3422
- [key: string]: string;
3423
- };
2372
+ readonly attributes?: Record<string, string>;
3424
2373
  readonly carrier_tracking_number: string;
3425
2374
  readonly destination: io.flow.v0.models.ShippingAddress;
3426
2375
  readonly order_number: string;
@@ -3480,9 +2429,7 @@ declare namespace io.flow.v0.models {
3480
2429
  readonly customer?: io.flow.v0.models.OrderCustomer;
3481
2430
  readonly key?: string;
3482
2431
  readonly cvv?: string;
3483
- readonly attributes?: {
3484
- [key: string]: string;
3485
- };
2432
+ readonly attributes?: Record<string, string>;
3486
2433
  readonly destination?: io.flow.v0.models.Address;
3487
2434
  readonly billing_address?: io.flow.v0.models.BillingAddress;
3488
2435
  readonly ip?: string;
@@ -3503,9 +2450,7 @@ declare namespace io.flow.v0.models {
3503
2450
  readonly code?: string;
3504
2451
  readonly label: string;
3505
2452
  readonly price: io.flow.v0.models.PriceWithBase;
3506
- readonly attributes?: {
3507
- [key: string]: string;
3508
- };
2453
+ readonly attributes?: Record<string, string>;
3509
2454
  }
3510
2455
 
3511
2456
  interface DiscountForm {
@@ -3941,6 +2886,25 @@ declare namespace io.flow.v0.models {
3941
2886
  readonly experience: io.flow.v0.models.Experience;
3942
2887
  }
3943
2888
 
2889
+ interface Experiment {
2890
+ readonly key: string;
2891
+ readonly variant?: io.flow.v0.models.ExperimentVariant;
2892
+ }
2893
+
2894
+ interface ExperimentForm {
2895
+ readonly key: string;
2896
+ readonly variant?: io.flow.v0.models.ExperimentVariantForm;
2897
+ }
2898
+
2899
+ interface ExperimentVariant {
2900
+ readonly key: string;
2901
+ readonly name: string;
2902
+ }
2903
+
2904
+ interface ExperimentVariantForm {
2905
+ readonly key: string;
2906
+ }
2907
+
3944
2908
  interface Expiration {
3945
2909
  readonly month: number;
3946
2910
  readonly year: number;
@@ -3981,9 +2945,7 @@ declare namespace io.flow.v0.models {
3981
2945
  readonly item: io.flow.v0.models.LocalizedItemPrice;
3982
2946
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
3983
2947
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
3984
- readonly price_attributes: {
3985
- [key: string]: io.flow.v0.models.PriceWithBase;
3986
- };
2948
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
3987
2949
  }
3988
2950
 
3989
2951
  interface ExportVersion {
@@ -4070,18 +3032,14 @@ declare namespace io.flow.v0.models {
4070
3032
  readonly key: string;
4071
3033
  readonly trigger: io.flow.v0.models.OrderPromotionTrigger;
4072
3034
  readonly max?: io.flow.v0.models.Price;
4073
- readonly attributes: {
4074
- [key: string]: string;
4075
- };
3035
+ readonly attributes: Record<string, string>;
4076
3036
  }
4077
3037
 
4078
3038
  interface FreeShippingOrderPromotionForm {
4079
3039
  readonly discriminator: 'free_shipping_order_promotion_form';
4080
3040
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
4081
3041
  readonly max?: io.flow.v0.models.PriceForm;
4082
- readonly attributes?: {
4083
- [key: string]: string;
4084
- };
3042
+ readonly attributes?: Record<string, string>;
4085
3043
  }
4086
3044
 
4087
3045
  interface FtpAccount {
@@ -4226,9 +3184,7 @@ declare namespace io.flow.v0.models {
4226
3184
 
4227
3185
  interface GooglePayAuthorizationPayload {
4228
3186
  readonly discriminator: 'google_pay_authorization_payload';
4229
- readonly payload: {
4230
- [key: string]: string;
4231
- };
3187
+ readonly payload: any /*object*/;
4232
3188
  }
4233
3189
 
4234
3190
  interface HarmonizationDocument {
@@ -4282,9 +3238,7 @@ declare namespace io.flow.v0.models {
4282
3238
  readonly number: string;
4283
3239
  readonly name: string;
4284
3240
  readonly categories: string[];
4285
- readonly attributes: {
4286
- [key: string]: string;
4287
- };
3241
+ readonly attributes: Record<string, string>;
4288
3242
  readonly description?: string;
4289
3243
  }
4290
3244
 
@@ -4295,9 +3249,7 @@ declare namespace io.flow.v0.models {
4295
3249
  readonly price: number;
4296
3250
  readonly categories?: string[];
4297
3251
  readonly description?: string;
4298
- readonly attributes?: {
4299
- [key: string]: string;
4300
- };
3252
+ readonly attributes?: Record<string, string>;
4301
3253
  }
4302
3254
 
4303
3255
  interface HarmonizedItemPutForm {
@@ -4306,9 +3258,7 @@ declare namespace io.flow.v0.models {
4306
3258
  readonly price: number;
4307
3259
  readonly categories?: string[];
4308
3260
  readonly description?: string;
4309
- readonly attributes?: {
4310
- [key: string]: string;
4311
- };
3261
+ readonly attributes?: Record<string, string>;
4312
3262
  }
4313
3263
 
4314
3264
  interface HarmonizedItemReference {
@@ -4441,17 +3391,13 @@ declare namespace io.flow.v0.models {
4441
3391
  interface Image {
4442
3392
  readonly url: string;
4443
3393
  readonly tags: io.flow.v0.enums.ImageTag[];
4444
- readonly attributes?: {
4445
- [key: string]: string;
4446
- };
3394
+ readonly attributes?: Record<string, string>;
4447
3395
  }
4448
3396
 
4449
3397
  interface ImageForm {
4450
3398
  readonly url: string;
4451
3399
  readonly tags?: io.flow.v0.enums.ImageTag[];
4452
- readonly attributes?: {
4453
- [key: string]: string;
4454
- };
3400
+ readonly attributes?: Record<string, string>;
4455
3401
  }
4456
3402
 
4457
3403
  interface Import {
@@ -4514,9 +3460,7 @@ declare namespace io.flow.v0.models {
4514
3460
  readonly discriminator: 'inline_authorization_details';
4515
3461
  readonly id: string;
4516
3462
  readonly client_token?: string;
4517
- readonly parameters?: {
4518
- [key: string]: string;
4519
- };
3463
+ readonly parameters?: any /*object*/;
4520
3464
  }
4521
3465
 
4522
3466
  interface InlineAuthorizationForm {
@@ -4528,17 +3472,13 @@ declare namespace io.flow.v0.models {
4528
3472
  readonly currency: string;
4529
3473
  readonly billing_address?: io.flow.v0.models.BillingAddress;
4530
3474
  readonly key?: string;
4531
- readonly attributes?: {
4532
- [key: string]: string;
4533
- };
3475
+ readonly attributes?: Record<string, string>;
4534
3476
  readonly ip?: string;
4535
3477
  readonly payload?: io.flow.v0.models.AuthorizationPayload;
4536
3478
  }
4537
3479
 
4538
3480
  interface InputForm {
4539
- readonly values?: {
4540
- [key: string]: string;
4541
- };
3481
+ readonly values?: Record<string, string>;
4542
3482
  }
4543
3483
 
4544
3484
  interface InputFormSpecification {
@@ -4647,9 +3587,7 @@ declare namespace io.flow.v0.models {
4647
3587
  readonly idempotency_key: string;
4648
3588
  readonly center: io.flow.v0.models.InventoryCenterReference;
4649
3589
  readonly item: io.flow.v0.models.InventoryItemReference;
4650
- readonly notes: {
4651
- [key: string]: string;
4652
- };
3590
+ readonly notes: any /*object*/;
4653
3591
  readonly quantity: number;
4654
3592
  readonly type: io.flow.v0.enums.UpdateType;
4655
3593
  }
@@ -4660,9 +3598,7 @@ declare namespace io.flow.v0.models {
4660
3598
  readonly item_number: string;
4661
3599
  readonly quantity: number;
4662
3600
  readonly type: io.flow.v0.enums.UpdateType;
4663
- readonly notes?: {
4664
- [key: string]: string;
4665
- };
3601
+ readonly notes?: any /*object*/;
4666
3602
  }
4667
3603
 
4668
3604
  interface InventoryUpdateVersion {
@@ -4737,18 +3673,14 @@ declare namespace io.flow.v0.models {
4737
3673
  readonly price: io.flow.v0.models.Price;
4738
3674
  readonly categories: string[];
4739
3675
  readonly description?: string;
4740
- readonly attributes: {
4741
- [key: string]: string;
4742
- };
3676
+ readonly attributes: Record<string, string>;
4743
3677
  readonly dimensions: io.flow.v0.models.Dimensions;
4744
3678
  readonly images: io.flow.v0.models.Image[];
4745
3679
  readonly local?: io.flow.v0.models.Local;
4746
3680
  }
4747
3681
 
4748
3682
  interface ItemAttributesPatchForm {
4749
- readonly attributes: {
4750
- [key: string]: string;
4751
- };
3683
+ readonly attributes: Record<string, string>;
4752
3684
  }
4753
3685
 
4754
3686
  interface ItemForm {
@@ -4759,9 +3691,7 @@ declare namespace io.flow.v0.models {
4759
3691
  readonly price: number;
4760
3692
  readonly categories?: string[];
4761
3693
  readonly description?: string;
4762
- readonly attributes?: {
4763
- [key: string]: string;
4764
- };
3694
+ readonly attributes?: Record<string, string>;
4765
3695
  readonly dimensions?: io.flow.v0.models.Dimensions;
4766
3696
  readonly images?: io.flow.v0.models.ImageForm[];
4767
3697
  }
@@ -4774,9 +3704,7 @@ declare namespace io.flow.v0.models {
4774
3704
  readonly price?: io.flow.v0.models.Price;
4775
3705
  readonly categories?: string[];
4776
3706
  readonly description?: string;
4777
- readonly attributes?: {
4778
- [key: string]: string;
4779
- };
3707
+ readonly attributes?: Record<string, string>;
4780
3708
  readonly dimensions?: io.flow.v0.models.Dimensions;
4781
3709
  readonly images?: io.flow.v0.models.ImageForm[];
4782
3710
  }
@@ -4788,9 +3716,7 @@ declare namespace io.flow.v0.models {
4788
3716
  readonly position?: number;
4789
3717
  readonly categories?: string[];
4790
3718
  readonly description?: string;
4791
- readonly attributes?: {
4792
- [key: string]: string;
4793
- };
3719
+ readonly attributes?: Record<string, string>;
4794
3720
  readonly dimensions?: io.flow.v0.models.Dimensions;
4795
3721
  readonly images?: io.flow.v0.models.ImageForm[];
4796
3722
  }
@@ -4875,17 +3801,13 @@ declare namespace io.flow.v0.models {
4875
3801
  readonly number: string;
4876
3802
  readonly currency?: string;
4877
3803
  readonly price: number;
4878
- readonly attributes: {
4879
- [key: string]: string;
4880
- };
3804
+ readonly attributes: Record<string, string>;
4881
3805
  }
4882
3806
 
4883
3807
  interface ItemPriceUpdatePutForm {
4884
3808
  readonly currency?: string;
4885
3809
  readonly price: number;
4886
- readonly attributes: {
4887
- [key: string]: string;
4888
- };
3810
+ readonly attributes: Record<string, string>;
4889
3811
  }
4890
3812
 
4891
3813
  interface ItemQuerySuggestion {
@@ -4939,12 +3861,8 @@ declare namespace io.flow.v0.models {
4939
3861
 
4940
3862
  interface JsonpResponse {
4941
3863
  readonly status: number;
4942
- readonly headers: {
4943
- [key: string]: string[];
4944
- };
4945
- readonly body: {
4946
- [key: string]: string;
4947
- };
3864
+ readonly headers: Record<string, string[]>;
3865
+ readonly body: any /*object*/;
4948
3866
  }
4949
3867
 
4950
3868
  interface KlaviyoLineItem {
@@ -5058,18 +3976,14 @@ declare namespace io.flow.v0.models {
5058
3976
  readonly quantity: number;
5059
3977
  readonly price: io.flow.v0.models.PriceWithBase;
5060
3978
  readonly total: io.flow.v0.models.PriceWithBase;
5061
- readonly attributes?: {
5062
- [key: string]: string;
5063
- };
3979
+ readonly attributes?: Record<string, string>;
5064
3980
  }
5065
3981
 
5066
3982
  interface LineItem {
5067
3983
  readonly number: string;
5068
3984
  readonly quantity: number;
5069
3985
  readonly price: io.flow.v0.models.Money;
5070
- readonly attributes: {
5071
- [key: string]: string;
5072
- };
3986
+ readonly attributes: Record<string, string>;
5073
3987
  readonly center?: string;
5074
3988
  readonly discount?: io.flow.v0.models.Money;
5075
3989
  }
@@ -5079,9 +3993,7 @@ declare namespace io.flow.v0.models {
5079
3993
  readonly quantity: number;
5080
3994
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5081
3995
  readonly price?: io.flow.v0.models.Money;
5082
- readonly attributes?: {
5083
- [key: string]: string;
5084
- };
3996
+ readonly attributes?: Record<string, string>;
5085
3997
  readonly center?: string;
5086
3998
  readonly discount?: io.flow.v0.models.Money;
5087
3999
  readonly discounts?: io.flow.v0.models.DiscountsForm;
@@ -5095,16 +4007,10 @@ declare namespace io.flow.v0.models {
5095
4007
  readonly experience: io.flow.v0.models.ExperienceSummary;
5096
4008
  readonly prices: io.flow.v0.unions.LocalizedPrice[];
5097
4009
  readonly rates: io.flow.v0.models.Rate[];
5098
- readonly spot_rates: {
5099
- [key: string]: string;
5100
- }[];
4010
+ readonly spot_rates: any /*object*/[];
5101
4011
  readonly status: io.flow.v0.enums.SubcatalogItemStatus;
5102
- readonly attributes?: {
5103
- [key: string]: string;
5104
- };
5105
- readonly price_attributes?: {
5106
- [key: string]: io.flow.v0.models.PriceWithBase;
5107
- };
4012
+ readonly attributes?: Record<string, string>;
4013
+ readonly price_attributes?: Record<string, io.flow.v0.models.PriceWithBase>;
5108
4014
  }
5109
4015
 
5110
4016
  interface LocalItem {
@@ -5128,9 +4034,7 @@ declare namespace io.flow.v0.models {
5128
4034
  readonly price: io.flow.v0.models.LocalizedItemPrice;
5129
4035
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
5130
4036
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
5131
- readonly attributes: {
5132
- [key: string]: io.flow.v0.models.PriceWithBase;
5133
- };
4037
+ readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
5134
4038
  }
5135
4039
 
5136
4040
  interface LocalItemUpserted {
@@ -5222,9 +4126,7 @@ declare namespace io.flow.v0.models {
5222
4126
  readonly price?: io.flow.v0.models.Money;
5223
4127
  readonly discount?: io.flow.v0.models.LocalizedLineItemDiscount;
5224
4128
  readonly discounts?: io.flow.v0.models.LocalizedLineItemDiscount[];
5225
- readonly attributes?: {
5226
- [key: string]: string;
5227
- };
4129
+ readonly attributes?: Record<string, string>;
5228
4130
  readonly local: io.flow.v0.models.Local;
5229
4131
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5230
4132
  readonly price_source?: io.flow.v0.unions.PriceSource;
@@ -5388,9 +4290,7 @@ declare namespace io.flow.v0.models {
5388
4290
  readonly currency?: string;
5389
4291
  readonly key?: string;
5390
4292
  readonly cvv?: string;
5391
- readonly attributes?: {
5392
- [key: string]: string;
5393
- };
4293
+ readonly attributes?: Record<string, string>;
5394
4294
  readonly ip?: string;
5395
4295
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
5396
4296
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
@@ -5508,16 +4408,12 @@ declare namespace io.flow.v0.models {
5508
4408
  readonly method?: io.flow.v0.models.PaymentMethod;
5509
4409
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
5510
4410
  readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
5511
- readonly payment?: {
5512
- [key: string]: string;
5513
- };
4411
+ readonly payment?: any /*object*/;
5514
4412
  readonly amount: number;
5515
4413
  readonly currency: string;
5516
4414
  readonly requested?: io.flow.v0.models.Money;
5517
4415
  readonly customer: io.flow.v0.models.OrderCustomer;
5518
- readonly attributes: {
5519
- [key: string]: string;
5520
- };
4416
+ readonly attributes: Record<string, string>;
5521
4417
  readonly destination?: io.flow.v0.models.Address;
5522
4418
  readonly billing_address?: io.flow.v0.models.BillingAddress;
5523
4419
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -5545,6 +4441,12 @@ declare namespace io.flow.v0.models {
5545
4441
  readonly authorization: io.flow.v0.models.OnlineAuthorization;
5546
4442
  }
5547
4443
 
4444
+ interface OnlinePaymentAuthorizationForm {
4445
+ readonly discriminator: 'online_payment_authorization_form';
4446
+ readonly payment_id: string;
4447
+ readonly key?: string;
4448
+ }
4449
+
5548
4450
  interface OptinResponse {
5549
4451
  readonly key: string;
5550
4452
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -5576,9 +4478,7 @@ declare namespace io.flow.v0.models {
5576
4478
  readonly selections: string[];
5577
4479
  readonly prices: io.flow.v0.models.OrderPriceDetail[];
5578
4480
  readonly total: io.flow.v0.models.LocalizedTotal;
5579
- readonly attributes: {
5580
- [key: string]: string;
5581
- };
4481
+ readonly attributes: Record<string, string>;
5582
4482
  readonly submitted_at?: string;
5583
4483
  readonly lines?: io.flow.v0.models.Line[];
5584
4484
  readonly identifiers?: string[];
@@ -5608,9 +4508,7 @@ declare namespace io.flow.v0.models {
5608
4508
  }
5609
4509
 
5610
4510
  interface OrderBuilderAttributesForm {
5611
- readonly attributes: {
5612
- [key: string]: string;
5613
- };
4511
+ readonly attributes: Record<string, string>;
5614
4512
  }
5615
4513
 
5616
4514
  interface OrderBuilderCustomerInvoiceAddressForm {
@@ -5712,9 +4610,7 @@ declare namespace io.flow.v0.models {
5712
4610
  readonly destination?: io.flow.v0.models.OrderAddress;
5713
4611
  readonly discount?: io.flow.v0.models.Money;
5714
4612
  readonly discounts?: io.flow.v0.models.DiscountsForm;
5715
- readonly attributes?: {
5716
- [key: string]: string;
5717
- };
4613
+ readonly attributes?: Record<string, string>;
5718
4614
  readonly authorization_keys?: string[];
5719
4615
  readonly options?: io.flow.v0.models.OrderOptions;
5720
4616
  }
@@ -5851,9 +4747,7 @@ declare namespace io.flow.v0.models {
5851
4747
  readonly total: io.flow.v0.models.PriceWithBase;
5852
4748
  readonly address?: io.flow.v0.models.BillingAddress;
5853
4749
  readonly date?: string;
5854
- readonly attributes?: {
5855
- [key: string]: string;
5856
- };
4750
+ readonly attributes?: Record<string, string>;
5857
4751
  }
5858
4752
 
5859
4753
  interface OrderPlaced {
@@ -5915,9 +4809,7 @@ declare namespace io.flow.v0.models {
5915
4809
  readonly destination?: io.flow.v0.models.OrderAddress;
5916
4810
  readonly discount?: io.flow.v0.models.Money;
5917
4811
  readonly discounts?: io.flow.v0.models.DiscountsForm;
5918
- readonly attributes?: {
5919
- [key: string]: string;
5920
- };
4812
+ readonly attributes?: Record<string, string>;
5921
4813
  readonly authorization_keys?: string[];
5922
4814
  readonly options?: io.flow.v0.models.OrderOptions;
5923
4815
  }
@@ -5984,9 +4876,7 @@ declare namespace io.flow.v0.models {
5984
4876
  readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
5985
4877
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
5986
4878
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
5987
- readonly identifiers?: {
5988
- [key: string]: string;
5989
- };
4879
+ readonly identifiers?: Record<string, string>;
5990
4880
  }
5991
4881
 
5992
4882
  interface OrderSummaryImage {
@@ -6003,9 +4893,7 @@ declare namespace io.flow.v0.models {
6003
4893
  readonly discount?: io.flow.v0.models.Price;
6004
4894
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
6005
4895
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
6006
- readonly price_attributes: {
6007
- [key: string]: io.flow.v0.models.Price;
6008
- };
4896
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
6009
4897
  }
6010
4898
 
6011
4899
  interface OrderSummaryLevy {
@@ -6021,9 +4909,7 @@ declare namespace io.flow.v0.models {
6021
4909
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
6022
4910
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
6023
4911
  readonly total: io.flow.v0.models.Price;
6024
- readonly price_attributes: {
6025
- [key: string]: io.flow.v0.models.Price;
6026
- };
4912
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
6027
4913
  }
6028
4914
 
6029
4915
  interface OrderSummaryPriceDetail {
@@ -6057,9 +4943,7 @@ declare namespace io.flow.v0.models {
6057
4943
  readonly updated_at?: string;
6058
4944
  readonly submitted_at?: string;
6059
4945
  readonly lines?: io.flow.v0.models.Line[];
6060
- readonly attributes?: {
6061
- [key: string]: string;
6062
- };
4946
+ readonly attributes?: Record<string, string>;
6063
4947
  readonly geo?: io.flow.v0.models.OrderGeo;
6064
4948
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
6065
4949
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
@@ -6215,15 +5099,14 @@ declare namespace io.flow.v0.models {
6215
5099
  readonly visitor: io.flow.v0.models.SessionVisitor;
6216
5100
  readonly visit: io.flow.v0.models.SessionVisit;
6217
5101
  readonly environment: io.flow.v0.enums.Environment;
6218
- readonly attributes: {
6219
- [key: string]: string;
6220
- };
5102
+ readonly attributes: Record<string, string>;
6221
5103
  readonly ip?: string;
6222
5104
  readonly local?: io.flow.v0.models.LocalSession;
6223
5105
  readonly geo?: io.flow.v0.models.SessionGeo;
6224
5106
  readonly experience?: io.flow.v0.models.ExperienceGeo;
6225
5107
  readonly format?: io.flow.v0.models.SessionFormat;
6226
5108
  readonly experiment?: io.flow.v0.models.SessionExperiment;
5109
+ readonly context?: io.flow.v0.models.ContextReference;
6227
5110
  }
6228
5111
 
6229
5112
  interface OrganizationSessionAuthorization {
@@ -6389,6 +5272,15 @@ declare namespace io.flow.v0.models {
6389
5272
  readonly email: string;
6390
5273
  }
6391
5274
 
5275
+ interface PaymentCryptopay {
5276
+ readonly discriminator: 'payment_cryptopay';
5277
+ readonly id: string;
5278
+ readonly order?: io.flow.v0.models.AuthorizationOrderReference;
5279
+ readonly amount: number;
5280
+ readonly currency: string;
5281
+ readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
5282
+ }
5283
+
6392
5284
  interface PaymentDeleted {
6393
5285
  readonly discriminator: 'payment_deleted';
6394
5286
  readonly event_id: string;
@@ -6434,9 +5326,7 @@ declare namespace io.flow.v0.models {
6434
5326
  readonly display_position: number;
6435
5327
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
6436
5328
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
6437
- readonly programs?: {
6438
- [key: string]: string;
6439
- }[];
5329
+ readonly programs?: any /*object*/[];
6440
5330
  readonly q?: io.flow.v0.models.Query;
6441
5331
  }
6442
5332
 
@@ -6451,11 +5341,7 @@ declare namespace io.flow.v0.models {
6451
5341
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
6452
5342
  readonly amount: number;
6453
5343
  readonly currency: string;
6454
- readonly paypal: io.flow.v0.models.PaymentPaypalData;
6455
- }
6456
-
6457
- interface PaymentPaypalData {
6458
- readonly payment_id: string;
5344
+ readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
6459
5345
  }
6460
5346
 
6461
5347
  interface PaymentReference {
@@ -6492,9 +5378,7 @@ declare namespace io.flow.v0.models {
6492
5378
  readonly paypal_payment_id: string;
6493
5379
  readonly paypal_payer_id: string;
6494
5380
  readonly key?: string;
6495
- readonly attributes?: {
6496
- [key: string]: string;
6497
- };
5381
+ readonly attributes?: Record<string, string>;
6498
5382
  readonly ip?: string;
6499
5383
  }
6500
5384
 
@@ -6529,9 +5413,10 @@ declare namespace io.flow.v0.models {
6529
5413
  }
6530
5414
 
6531
5415
  interface PfsInventoryCheckResponse {
6532
- readonly items: {
6533
- [key: string]: io.flow.v0.models.PfsInventoryCheckResponseItem;
6534
- };
5416
+ readonly items: Record<
5417
+ string,
5418
+ io.flow.v0.models.PfsInventoryCheckResponseItem
5419
+ >;
6535
5420
  }
6536
5421
 
6537
5422
  interface PfsInventoryCheckResponseItem {
@@ -6599,9 +5484,7 @@ declare namespace io.flow.v0.models {
6599
5484
  readonly price: io.flow.v0.models.Price;
6600
5485
  readonly item_number: string;
6601
5486
  readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
6602
- readonly item_attributes?: {
6603
- [key: string]: string;
6604
- };
5487
+ readonly item_attributes?: Record<string, string>;
6605
5488
  }
6606
5489
 
6607
5490
  interface PriceBookItemDeleted {
@@ -6625,9 +5508,7 @@ declare namespace io.flow.v0.models {
6625
5508
  readonly item_number: string;
6626
5509
  readonly amount: number;
6627
5510
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
6628
- readonly item_attributes?: {
6629
- [key: string]: string;
6630
- };
5511
+ readonly item_attributes?: Record<string, string>;
6631
5512
  }
6632
5513
 
6633
5514
  interface PriceBookItemQueryForm {
@@ -6635,9 +5516,7 @@ declare namespace io.flow.v0.models {
6635
5516
  readonly item_query: string;
6636
5517
  readonly amount: number;
6637
5518
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
6638
- readonly item_attributes?: {
6639
- [key: string]: string;
6640
- };
5519
+ readonly item_attributes?: Record<string, string>;
6641
5520
  }
6642
5521
 
6643
5522
  interface PriceBookItemSchedule {
@@ -6900,9 +5779,7 @@ declare namespace io.flow.v0.models {
6900
5779
  readonly quantity: number;
6901
5780
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
6902
5781
  readonly price: io.flow.v0.models.MoneyWithBase;
6903
- readonly attributes?: {
6904
- [key: string]: string;
6905
- };
5782
+ readonly attributes?: Record<string, string>;
6906
5783
  readonly center?: string;
6907
5784
  }
6908
5785
 
@@ -7214,9 +6091,7 @@ declare namespace io.flow.v0.models {
7214
6091
  readonly currency: string;
7215
6092
  readonly redirect_urls: io.flow.v0.models.PostPaymentRedirectUrls;
7216
6093
  readonly key?: string;
7217
- readonly attributes?: {
7218
- [key: string]: string;
7219
- };
6094
+ readonly attributes?: Record<string, string>;
7220
6095
  readonly ip?: string;
7221
6096
  }
7222
6097
 
@@ -7229,9 +6104,7 @@ declare namespace io.flow.v0.models {
7229
6104
  readonly requested?: io.flow.v0.models.Money;
7230
6105
  readonly captures: io.flow.v0.models.RefundCaptureSummary[];
7231
6106
  readonly created_at: string;
7232
- readonly attributes?: {
7233
- [key: string]: string;
7234
- };
6107
+ readonly attributes?: Record<string, string>;
7235
6108
  readonly status?: io.flow.v0.enums.RefundStatus;
7236
6109
  readonly base?: io.flow.v0.models.Money;
7237
6110
  }
@@ -7282,9 +6155,7 @@ declare namespace io.flow.v0.models {
7282
6155
  readonly amount?: number;
7283
6156
  readonly currency?: string;
7284
6157
  readonly rma_key?: string;
7285
- readonly attributes?: {
7286
- [key: string]: string;
7287
- };
6158
+ readonly attributes?: Record<string, string>;
7288
6159
  }
7289
6160
 
7290
6161
  interface RefundIdentifier {
@@ -7523,9 +6394,7 @@ declare namespace io.flow.v0.models {
7523
6394
  readonly currency: string;
7524
6395
  readonly requested: io.flow.v0.models.Money;
7525
6396
  readonly created_at: string;
7526
- readonly attributes: {
7527
- [key: string]: string;
7528
- };
6397
+ readonly attributes: Record<string, string>;
7529
6398
  readonly base?: io.flow.v0.models.Money;
7530
6399
  }
7531
6400
 
@@ -7548,18 +6417,14 @@ declare namespace io.flow.v0.models {
7548
6417
  readonly authorization_id: string;
7549
6418
  readonly amount?: number;
7550
6419
  readonly currency?: string;
7551
- readonly attributes?: {
7552
- [key: string]: string;
7553
- };
6420
+ readonly attributes?: Record<string, string>;
7554
6421
  }
7555
6422
 
7556
6423
  interface ReversalPutForm {
7557
6424
  readonly authorization_id: string;
7558
6425
  readonly amount?: number;
7559
6426
  readonly currency?: string;
7560
- readonly attributes?: {
7561
- [key: string]: string;
7562
- };
6427
+ readonly attributes?: Record<string, string>;
7563
6428
  }
7564
6429
 
7565
6430
  interface ReversalUpserted {
@@ -7648,9 +6513,7 @@ declare namespace io.flow.v0.models {
7648
6513
  readonly item_price: io.flow.v0.models.Price;
7649
6514
  readonly status: io.flow.v0.enums.SerialStatus;
7650
6515
  readonly center: io.flow.v0.models.CenterReference;
7651
- readonly attributes: {
7652
- [key: string]: string;
7653
- };
6516
+ readonly attributes: Record<string, string>;
7654
6517
  }
7655
6518
 
7656
6519
  interface SerialDeleted {
@@ -7667,9 +6530,7 @@ declare namespace io.flow.v0.models {
7667
6530
  readonly item_currency: string;
7668
6531
  readonly status: io.flow.v0.enums.SerialStatus;
7669
6532
  readonly center_key?: string;
7670
- readonly attributes?: {
7671
- [key: string]: string;
7672
- };
6533
+ readonly attributes?: Record<string, string>;
7673
6534
  }
7674
6535
 
7675
6536
  interface SerialUpserted {
@@ -7738,10 +6599,9 @@ declare namespace io.flow.v0.models {
7738
6599
  readonly currency?: string;
7739
6600
  readonly language?: string;
7740
6601
  readonly locale?: string;
7741
- readonly attributes?: {
7742
- [key: string]: string;
7743
- };
6602
+ readonly attributes?: Record<string, string>;
7744
6603
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
6604
+ readonly context?: io.flow.v0.models.ContextForm;
7745
6605
  }
7746
6606
 
7747
6607
  interface SessionFormat {
@@ -7762,10 +6622,9 @@ declare namespace io.flow.v0.models {
7762
6622
  readonly currency?: string;
7763
6623
  readonly language?: string;
7764
6624
  readonly locale?: string;
7765
- readonly attributes?: {
7766
- [key: string]: string;
7767
- };
6625
+ readonly attributes?: Record<string, string>;
7768
6626
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
6627
+ readonly context?: io.flow.v0.models.ContextForm;
7769
6628
  }
7770
6629
 
7771
6630
  interface SessionReference {
@@ -7897,9 +6756,7 @@ declare namespace io.flow.v0.models {
7897
6756
 
7898
6757
  interface ShippingLabel {
7899
6758
  readonly id: string;
7900
- readonly attributes: {
7901
- [key: string]: string;
7902
- };
6759
+ readonly attributes: Record<string, string>;
7903
6760
  readonly carrier_tracking_number: string;
7904
6761
  readonly carrier_tracking_number_url: string;
7905
6762
  readonly cost: io.flow.v0.models.Price;
@@ -8006,9 +6863,7 @@ declare namespace io.flow.v0.models {
8006
6863
  interface ShippingNotification {
8007
6864
  readonly id: string;
8008
6865
  readonly key: string;
8009
- readonly attributes: {
8010
- [key: string]: string;
8011
- };
6866
+ readonly attributes: Record<string, string>;
8012
6867
  readonly carrier_tracking_number: string;
8013
6868
  readonly destination: io.flow.v0.models.ShippingAddress;
8014
6869
  readonly flow_tracking_number: string;
@@ -8035,9 +6890,7 @@ declare namespace io.flow.v0.models {
8035
6890
  readonly item_count: number;
8036
6891
  readonly total_price: number;
8037
6892
  readonly local: io.flow.v0.models.ShopifyLocalCartMetadata;
8038
- readonly attributes?: {
8039
- [key: string]: string;
8040
- };
6893
+ readonly attributes?: any /*object*/;
8041
6894
  readonly note?: string;
8042
6895
  readonly requires_shipping: boolean;
8043
6896
  readonly total_weight?: number;
@@ -8046,27 +6899,21 @@ declare namespace io.flow.v0.models {
8046
6899
  interface ShopifyCartAddMultipleForm {
8047
6900
  readonly discriminator: 'shopify_cart_add_multiple_form';
8048
6901
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
8049
- readonly attributes?: {
8050
- [key: string]: string;
8051
- };
6902
+ readonly attributes?: Record<string, string>;
8052
6903
  }
8053
6904
 
8054
6905
  interface ShopifyCartAddSingleForm {
8055
6906
  readonly discriminator: 'shopify_cart_add_single_form';
8056
6907
  readonly id: number;
8057
6908
  readonly quantity: number;
8058
- readonly properties?: {
8059
- [key: string]: string;
8060
- };
6909
+ readonly properties?: Record<string, string>;
8061
6910
  }
8062
6911
 
8063
6912
  interface ShopifyCartChangeForm {
8064
6913
  readonly quantity: number;
8065
6914
  readonly line?: number;
8066
6915
  readonly id?: number;
8067
- readonly properties?: {
8068
- [key: string]: string;
8069
- };
6916
+ readonly properties?: Record<string, string>;
8070
6917
  }
8071
6918
 
8072
6919
  interface ShopifyCartConversion {
@@ -8080,7 +6927,7 @@ declare namespace io.flow.v0.models {
8080
6927
  }
8081
6928
 
8082
6929
  interface ShopifyCartConversionShopifyCart {
8083
- readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
6930
+ readonly cart: unknown /*io.flow.shopify.external.v0.models.shopify_cart*/;
8084
6931
  }
8085
6932
 
8086
6933
  interface ShopifyCartItem {
@@ -8099,9 +6946,7 @@ declare namespace io.flow.v0.models {
8099
6946
  readonly image?: string;
8100
6947
  readonly product_description?: string;
8101
6948
  readonly product_type?: string;
8102
- readonly properties?: {
8103
- [key: string]: string;
8104
- };
6949
+ readonly properties?: Record<string, string>;
8105
6950
  readonly requires_shipping: boolean;
8106
6951
  readonly sku?: string;
8107
6952
  readonly variant_title?: string;
@@ -8226,9 +7071,7 @@ declare namespace io.flow.v0.models {
8226
7071
  }
8227
7072
 
8228
7073
  interface ShopifyOrderAttributesForm {
8229
- readonly attributes: {
8230
- [key: string]: string;
8231
- };
7074
+ readonly attributes: Record<string, string>;
8232
7075
  }
8233
7076
 
8234
7077
  interface ShopifyOrderDeliveryMetafield {
@@ -8250,9 +7093,7 @@ declare namespace io.flow.v0.models {
8250
7093
 
8251
7094
  interface ShopifyOrderPriceAttributesMetafield {
8252
7095
  readonly item_number: string;
8253
- readonly price_attributes: {
8254
- [key: string]: io.flow.v0.models.PriceWithBase;
8255
- };
7096
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
8256
7097
  }
8257
7098
 
8258
7099
  interface ShopifyOrderRomanizationMetafield {
@@ -8503,91 +7344,6 @@ declare namespace io.flow.v0.models {
8503
7344
  readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
8504
7345
  }
8505
7346
 
8506
- interface Targeting {
8507
- readonly id: string;
8508
- readonly key: string;
8509
- readonly queries: io.flow.v0.models.TargetingQuery[];
8510
- readonly catalog: io.flow.v0.models.CatalogReference;
8511
- readonly subcatalog?: io.flow.v0.models.SubcatalogReference;
8512
- }
8513
-
8514
- interface TargetingForm {
8515
- readonly key: string;
8516
- readonly queries: io.flow.v0.models.TargetingQueryForm[];
8517
- readonly subcatalog_id?: string;
8518
- }
8519
-
8520
- interface TargetingItem {
8521
- readonly id: string;
8522
- readonly targeting: io.flow.v0.models.TargetingSummary;
8523
- readonly item_number: string;
8524
- readonly query: io.flow.v0.models.TargetingQuery;
8525
- }
8526
-
8527
- interface TargetingItemDeleted {
8528
- readonly discriminator: 'targeting_item_deleted';
8529
- readonly event_id: string;
8530
- readonly timestamp: string;
8531
- readonly id: string;
8532
- }
8533
-
8534
- interface TargetingItemDeletedV3 {
8535
- readonly discriminator: 'targeting_item_deleted_v3';
8536
- readonly event_id: string;
8537
- readonly timestamp: string;
8538
- readonly organization: string;
8539
- readonly id: string;
8540
- }
8541
-
8542
- interface TargetingItemUpserted {
8543
- readonly discriminator: 'targeting_item_upserted';
8544
- readonly event_id: string;
8545
- readonly timestamp: string;
8546
- readonly organization: string;
8547
- readonly id: string;
8548
- readonly targeting_id: string;
8549
- readonly item_number: string;
8550
- readonly q: string;
8551
- readonly outcome_id: string;
8552
- readonly catalog_id: string;
8553
- readonly key: string;
8554
- readonly subcatalog_id?: string;
8555
- }
8556
-
8557
- interface TargetingItemUpsertedV2 {
8558
- readonly discriminator: 'targeting_item_upserted_v2';
8559
- readonly event_id: string;
8560
- readonly timestamp: string;
8561
- readonly organization: string;
8562
- readonly targeting_item: io.flow.v0.models.TargetingItem;
8563
- }
8564
-
8565
- interface TargetingQuery {
8566
- readonly id: string;
8567
- readonly q: string;
8568
- readonly outcome_id: string;
8569
- readonly position: number;
8570
- }
8571
-
8572
- interface TargetingQueryForm {
8573
- readonly q: string;
8574
- readonly outcome_id: string;
8575
- }
8576
-
8577
- interface TargetingSummary {
8578
- readonly id: string;
8579
- readonly key: string;
8580
- readonly catalog: io.flow.v0.models.CatalogReference;
8581
- readonly subcatalog?: io.flow.v0.models.SubcatalogReference;
8582
- }
8583
-
8584
- interface TargetingVersion {
8585
- readonly id: string;
8586
- readonly timestamp: string;
8587
- readonly type: io.flow.v0.enums.ChangeType;
8588
- readonly targeting: io.flow.v0.models.Targeting;
8589
- }
8590
-
8591
7347
  interface Tax {
8592
7348
  readonly name: string;
8593
7349
  readonly rate: number;
@@ -8750,9 +7506,7 @@ declare namespace io.flow.v0.models {
8750
7506
  readonly id: string;
8751
7507
  readonly labels: io.flow.v0.models.TrackingLabel[];
8752
7508
  readonly status: io.flow.v0.enums.TrackingStatus;
8753
- readonly attributes: {
8754
- [key: string]: string;
8755
- };
7509
+ readonly attributes: Record<string, string>;
8756
7510
  readonly url: string;
8757
7511
  readonly window?: io.flow.v0.models.DatetimeRange;
8758
7512
  readonly order_number?: string;
@@ -8790,9 +7544,7 @@ declare namespace io.flow.v0.models {
8790
7544
  interface TrackingForm {
8791
7545
  readonly status?: io.flow.v0.enums.TrackingStatus;
8792
7546
  readonly order_number?: string;
8793
- readonly attributes?: {
8794
- [key: string]: string;
8795
- };
7547
+ readonly attributes?: Record<string, string>;
8796
7548
  readonly window?: io.flow.v0.models.DatetimeRange;
8797
7549
  }
8798
7550
 
@@ -8936,9 +7688,7 @@ declare namespace io.flow.v0.models {
8936
7688
  readonly iin: string;
8937
7689
  readonly last4: string;
8938
7690
  readonly name: string;
8939
- readonly attributes?: {
8940
- [key: string]: string;
8941
- };
7691
+ readonly attributes?: Record<string, string>;
8942
7692
  }
8943
7693
 
8944
7694
  interface VirtualCardCapture {
@@ -8977,9 +7727,7 @@ declare namespace io.flow.v0.models {
8977
7727
 
8978
7728
  interface VirtualCardForm {
8979
7729
  readonly limit: io.flow.v0.models.Money;
8980
- readonly attributes?: {
8981
- [key: string]: string;
8982
- };
7730
+ readonly attributes?: Record<string, string>;
8983
7731
  }
8984
7732
 
8985
7733
  interface VirtualCardReference {
@@ -9112,7 +7860,8 @@ declare namespace io.flow.v0.unions {
9112
7860
  | io.flow.v0.models.RedirectAuthorizationForm
9113
7861
  | io.flow.v0.models.InlineAuthorizationForm
9114
7862
  | io.flow.v0.models.AchAuthorizationForm
9115
- | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
7863
+ | io.flow.v0.models.CardPaymentSourceAuthorizationForm
7864
+ | io.flow.v0.models.OnlinePaymentAuthorizationForm;
9116
7865
  type AuthorizationPayloadParameters =
9117
7866
  | io.flow.v0.models.GooglePayAuthorizationPayload
9118
7867
  | io.flow.v0.models.ApplePayMerchantValidationPayload;
@@ -9313,10 +8062,6 @@ declare namespace io.flow.v0.unions {
9313
8062
  | io.flow.v0.models.ReturnDeleted
9314
8063
  | io.flow.v0.models.ShopifyLocalizationSettingUpserted
9315
8064
  | io.flow.v0.models.ShopifyLocalizationSettingDeleted
9316
- | io.flow.v0.models.TargetingItemUpserted
9317
- | io.flow.v0.models.TargetingItemUpsertedV2
9318
- | io.flow.v0.models.TargetingItemDeleted
9319
- | io.flow.v0.models.TargetingItemDeletedV3
9320
8065
  | io.flow.v0.models.TrackingLabelEventUpserted;
9321
8066
  type ExpandableCard =
9322
8067
  | io.flow.v0.models.Card
@@ -9386,6 +8131,7 @@ declare namespace io.flow.v0.unions {
9386
8131
  | io.flow.v0.models.LocalizedItemDuty
9387
8132
  | io.flow.v0.models.LocalizedTotal;
9388
8133
  type OnlineAuthorizationDetails =
8134
+ | io.flow.v0.models.CryptopayAuthorizationDetails
9389
8135
  | io.flow.v0.models.PaypalAuthorizationDetails
9390
8136
  | io.flow.v0.models.RedirectAuthorizationDetails
9391
8137
  | io.flow.v0.models.InlineAuthorizationDetails;
@@ -9399,7 +8145,9 @@ declare namespace io.flow.v0.unions {
9399
8145
  | io.flow.v0.models.CommercialInvoiceFee
9400
8146
  | io.flow.v0.models.InboundCartonFee
9401
8147
  | io.flow.v0.models.OutboundCartonFee;
9402
- type Payment = io.flow.v0.models.PaymentPaypal;
8148
+ type Payment =
8149
+ | io.flow.v0.models.PaymentPaypal
8150
+ | io.flow.v0.models.PaymentCryptopay;
9403
8151
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
9404
8152
 
9405
8153
  type PaymentMethodTag =
@@ -9690,6 +8438,9 @@ export type ConsumerInvoiceReference = io.flow.v0.models.ConsumerInvoiceReferenc
9690
8438
  export type ConsumerInvoiceStatus = io.flow.v0.enums.ConsumerInvoiceStatus;
9691
8439
  export type ConsumerInvoiceUpserted = io.flow.v0.models.ConsumerInvoiceUpserted;
9692
8440
  export type Contact = io.flow.v0.models.Contact;
8441
+ export type Context = io.flow.v0.models.Context;
8442
+ export type ContextForm = io.flow.v0.models.ContextForm;
8443
+ export type ContextReference = io.flow.v0.models.ContextReference;
9693
8444
  export type Country = io.flow.v0.models.Country;
9694
8445
  export type CountryAvailability = io.flow.v0.models.CountryAvailability;
9695
8446
  export type CountryDefaults = io.flow.v0.models.CountryDefaults;
@@ -9709,6 +8460,7 @@ export type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersion;
9709
8460
  export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
9710
8461
  export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
9711
8462
  export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
8463
+ export type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
9712
8464
  export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
9713
8465
  export type Currency = io.flow.v0.models.Currency;
9714
8466
  export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
@@ -9866,6 +8618,10 @@ export type ExperienceSummary = io.flow.v0.models.ExperienceSummary;
9866
8618
  export type ExperienceUpserted = io.flow.v0.models.ExperienceUpserted;
9867
8619
  export type ExperienceUpsertedV2 = io.flow.v0.models.ExperienceUpsertedV2;
9868
8620
  export type ExperienceVersion = io.flow.v0.models.ExperienceVersion;
8621
+ export type Experiment = io.flow.v0.models.Experiment;
8622
+ export type ExperimentForm = io.flow.v0.models.ExperimentForm;
8623
+ export type ExperimentVariant = io.flow.v0.models.ExperimentVariant;
8624
+ export type ExperimentVariantForm = io.flow.v0.models.ExperimentVariantForm;
9869
8625
  export type Expiration = io.flow.v0.models.Expiration;
9870
8626
  export type Export = io.flow.v0.models.Export;
9871
8627
  export type ExportDelivery = io.flow.v0.unions.ExportDelivery;
@@ -10122,6 +8878,7 @@ export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
10122
8878
  export type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
10123
8879
  export type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
10124
8880
  export type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
8881
+ export type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
10125
8882
  export type OptinResponse = io.flow.v0.models.OptinResponse;
10126
8883
  export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
10127
8884
  export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -10247,6 +9004,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
10247
9004
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
10248
9005
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
10249
9006
  export type Payment = io.flow.v0.unions.Payment;
9007
+ export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
10250
9008
  export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
10251
9009
  export type PaymentError = io.flow.v0.models.PaymentError;
10252
9010
  export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
@@ -10261,7 +9019,6 @@ export type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethodRuleCont
10261
9019
  export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
10262
9020
  export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
10263
9021
  export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
10264
- export type PaymentPaypalData = io.flow.v0.models.PaymentPaypalData;
10265
9022
  export type PaymentReference = io.flow.v0.models.PaymentReference;
10266
9023
  export type PaymentSource = io.flow.v0.unions.PaymentSource;
10267
9024
  export type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;
@@ -10591,17 +9348,6 @@ export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsiblePar
10591
9348
  export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
10592
9349
  export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
10593
9350
  export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay;
10594
- export type Targeting = io.flow.v0.models.Targeting;
10595
- export type TargetingForm = io.flow.v0.models.TargetingForm;
10596
- export type TargetingItem = io.flow.v0.models.TargetingItem;
10597
- export type TargetingItemDeleted = io.flow.v0.models.TargetingItemDeleted;
10598
- export type TargetingItemDeletedV3 = io.flow.v0.models.TargetingItemDeletedV3;
10599
- export type TargetingItemUpserted = io.flow.v0.models.TargetingItemUpserted;
10600
- export type TargetingItemUpsertedV2 = io.flow.v0.models.TargetingItemUpsertedV2;
10601
- export type TargetingQuery = io.flow.v0.models.TargetingQuery;
10602
- export type TargetingQueryForm = io.flow.v0.models.TargetingQueryForm;
10603
- export type TargetingSummary = io.flow.v0.models.TargetingSummary;
10604
- export type TargetingVersion = io.flow.v0.models.TargetingVersion;
10605
9351
  export type Tax = io.flow.v0.models.Tax;
10606
9352
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
10607
9353
  export type TaxRegistration = io.flow.v0.models.TaxRegistration;