@flowio/types 8.0.3 → 8.0.4

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';
@@ -1677,9 +662,7 @@ declare namespace io.flow.v0.models {
1677
662
  readonly amount: number;
1678
663
  readonly currency: string;
1679
664
  readonly key?: string;
1680
- readonly attributes?: {
1681
- [key: string]: string;
1682
- };
665
+ readonly attributes?: Record<string, string>;
1683
666
  readonly ip?: string;
1684
667
  }
1685
668
 
@@ -1936,9 +919,7 @@ declare namespace io.flow.v0.models {
1936
919
  readonly source_authorization_key: string;
1937
920
  readonly amount: number;
1938
921
  readonly currency: string;
1939
- readonly attributes?: {
1940
- [key: string]: string;
1941
- };
922
+ readonly attributes?: Record<string, string>;
1942
923
  }
1943
924
 
1944
925
  interface AuthorizationDeletedV2 {
@@ -1998,9 +979,7 @@ declare namespace io.flow.v0.models {
1998
979
  readonly discriminator: 'authorization_result_action_post';
1999
980
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
2000
981
  readonly url: string;
2001
- readonly parameters: {
2002
- [key: string]: string;
2003
- };
982
+ readonly parameters: any /*object*/;
2004
983
  }
2005
984
 
2006
985
  interface AuthorizationResultActionWait {
@@ -2071,9 +1050,7 @@ declare namespace io.flow.v0.models {
2071
1050
  readonly timestamp: string;
2072
1051
  readonly organization: string;
2073
1052
  readonly experience_key: string;
2074
- readonly available_promotions: {
2075
- [key: string]: string;
2076
- }[];
1053
+ readonly available_promotions: any /*object*/[];
2077
1054
  }
2078
1055
 
2079
1056
  interface AvailablePromotionsUpsertedV2 {
@@ -2123,9 +1100,7 @@ declare namespace io.flow.v0.models {
2123
1100
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
2124
1101
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2125
1102
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2126
- readonly attributes: {
2127
- [key: string]: string;
2128
- };
1103
+ readonly attributes: Record<string, string>;
2129
1104
  }
2130
1105
 
2131
1106
  interface B2BCreditMemoDeleted {
@@ -2159,9 +1134,7 @@ declare namespace io.flow.v0.models {
2159
1134
  readonly tax: io.flow.v0.models.Money;
2160
1135
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2161
1136
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2162
- readonly attributes: {
2163
- [key: string]: string;
2164
- };
1137
+ readonly attributes: Record<string, string>;
2165
1138
  }
2166
1139
 
2167
1140
  interface B2BInvoiceDeleted {
@@ -2244,9 +1217,7 @@ declare namespace io.flow.v0.models {
2244
1217
  readonly currency: string;
2245
1218
  readonly requested?: io.flow.v0.models.Money;
2246
1219
  readonly created_at: string;
2247
- readonly attributes?: {
2248
- [key: string]: string;
2249
- };
1220
+ readonly attributes?: Record<string, string>;
2250
1221
  readonly status?: io.flow.v0.enums.CaptureStatus;
2251
1222
  readonly base?: io.flow.v0.models.Money;
2252
1223
  }
@@ -2270,9 +1241,7 @@ declare namespace io.flow.v0.models {
2270
1241
  readonly key?: string;
2271
1242
  readonly amount?: number;
2272
1243
  readonly currency?: string;
2273
- readonly attributes?: {
2274
- [key: string]: string;
2275
- };
1244
+ readonly attributes?: Record<string, string>;
2276
1245
  }
2277
1246
 
2278
1247
  interface CaptureIdentifier {
@@ -2344,9 +1313,7 @@ declare namespace io.flow.v0.models {
2344
1313
  readonly currency: string;
2345
1314
  readonly requested?: io.flow.v0.models.Money;
2346
1315
  readonly customer: io.flow.v0.models.OrderCustomer;
2347
- readonly attributes: {
2348
- [key: string]: string;
2349
- };
1316
+ readonly attributes: Record<string, string>;
2350
1317
  readonly destination?: io.flow.v0.models.Address;
2351
1318
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2352
1319
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -2535,9 +1502,7 @@ declare namespace io.flow.v0.models {
2535
1502
  readonly name: string;
2536
1503
  readonly categories: string[];
2537
1504
  readonly experiences: io.flow.v0.models.ExperienceSummary[];
2538
- readonly attributes: {
2539
- [key: string]: string;
2540
- };
1505
+ readonly attributes: Record<string, string>;
2541
1506
  readonly images: io.flow.v0.models.CatalogItemDocumentImages;
2542
1507
  }
2543
1508
 
@@ -2560,9 +1525,7 @@ declare namespace io.flow.v0.models {
2560
1525
  interface CatalogItemSummary {
2561
1526
  readonly number: string;
2562
1527
  readonly name: string;
2563
- readonly attributes: {
2564
- [key: string]: string;
2565
- };
1528
+ readonly attributes: Record<string, string>;
2566
1529
  }
2567
1530
 
2568
1531
  interface CatalogItemUpserted {
@@ -2578,15 +1541,9 @@ declare namespace io.flow.v0.models {
2578
1541
  readonly price: number;
2579
1542
  readonly categories: string[];
2580
1543
  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
- }[];
1544
+ readonly attributes: Record<string, string>;
1545
+ readonly dimensions: any /*object*/;
1546
+ readonly images: any /*object*/[];
2590
1547
  }
2591
1548
 
2592
1549
  interface CatalogItemUpsertedV2 {
@@ -2826,9 +1783,7 @@ declare namespace io.flow.v0.models {
2826
1783
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2827
1784
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2828
1785
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2829
- readonly attributes: {
2830
- [key: string]: string;
2831
- };
1786
+ readonly attributes: Record<string, string>;
2832
1787
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2833
1788
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
2834
1789
  }
@@ -2856,15 +1811,11 @@ declare namespace io.flow.v0.models {
2856
1811
 
2857
1812
  interface ConsumerInvoiceForm {
2858
1813
  readonly order_number: string;
2859
- readonly attributes?: {
2860
- [key: string]: string;
2861
- };
1814
+ readonly attributes?: Record<string, string>;
2862
1815
  }
2863
1816
 
2864
1817
  interface ConsumerInvoiceFormByOrder {
2865
- readonly attributes?: {
2866
- [key: string]: string;
2867
- };
1818
+ readonly attributes?: Record<string, string>;
2868
1819
  }
2869
1820
 
2870
1821
  interface ConsumerInvoiceLevy {
@@ -3006,9 +1957,7 @@ declare namespace io.flow.v0.models {
3006
1957
  readonly payments: io.flow.v0.models.ConsumerInvoicePayment[];
3007
1958
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
3008
1959
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
3009
- readonly attributes: {
3010
- [key: string]: string;
3011
- };
1960
+ readonly attributes: Record<string, string>;
3012
1961
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
3013
1962
  }
3014
1963
 
@@ -3025,9 +1974,7 @@ declare namespace io.flow.v0.models {
3025
1974
  readonly refund_key?: string;
3026
1975
  readonly refund_identifier?: string;
3027
1976
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[];
3028
- readonly attributes?: {
3029
- [key: string]: string;
3030
- };
1977
+ readonly attributes?: Record<string, string>;
3031
1978
  }
3032
1979
 
3033
1980
  interface CreditMemoUpserted {
@@ -3045,9 +1992,7 @@ declare namespace io.flow.v0.models {
3045
1992
  readonly description: string;
3046
1993
  readonly value: io.flow.v0.models.PriceWithBase;
3047
1994
  readonly original: io.flow.v0.models.OriginalPrices;
3048
- readonly attributes: {
3049
- [key: string]: string;
3050
- };
1995
+ readonly attributes: Record<string, string>;
3051
1996
  }
3052
1997
 
3053
1998
  interface CreditPaymentError {
@@ -3062,9 +2007,7 @@ declare namespace io.flow.v0.models {
3062
2007
  readonly amount: number;
3063
2008
  readonly max: number;
3064
2009
  readonly currency: string;
3065
- readonly attributes?: {
3066
- [key: string]: string;
3067
- };
2010
+ readonly attributes?: Record<string, string>;
3068
2011
  }
3069
2012
 
3070
2013
  interface CreditPaymentVersion {
@@ -3095,15 +2038,18 @@ declare namespace io.flow.v0.models {
3095
2038
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
3096
2039
  }
3097
2040
 
2041
+ interface CryptopayAuthorizationDetails {
2042
+ readonly discriminator: 'cryptopay_authorization_details';
2043
+ readonly payment_id: string;
2044
+ }
2045
+
3098
2046
  interface CsvPriceBookItemExportRow {
3099
2047
  readonly price_book_key: string;
3100
2048
  readonly price_book_item_key: string;
3101
2049
  readonly item_number: string;
3102
2050
  readonly item_name: string;
3103
2051
  readonly amount: number;
3104
- readonly item_attributes?: {
3105
- [key: string]: string;
3106
- };
2052
+ readonly item_attributes?: Record<string, string>;
3107
2053
  readonly starts_at: string;
3108
2054
  readonly ends_at?: string;
3109
2055
  }
@@ -3284,9 +2230,7 @@ declare namespace io.flow.v0.models {
3284
2230
  readonly quantity: number;
3285
2231
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
3286
2232
  readonly price?: io.flow.v0.models.MoneyWithOptionalBase;
3287
- readonly attributes?: {
3288
- [key: string]: string;
3289
- };
2233
+ readonly attributes?: Record<string, string>;
3290
2234
  readonly center?: string;
3291
2235
  readonly line_number?: number;
3292
2236
  }
@@ -3405,9 +2349,7 @@ declare namespace io.flow.v0.models {
3405
2349
  readonly destination: io.flow.v0.models.ShippingAddress;
3406
2350
  readonly origin: io.flow.v0.models.ShippingAddress;
3407
2351
  readonly package: io.flow.v0.models.ShippingLabelPackage;
3408
- readonly attributes?: {
3409
- [key: string]: string;
3410
- };
2352
+ readonly attributes?: Record<string, string>;
3411
2353
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
3412
2354
  readonly direction?: io.flow.v0.enums.Direction;
3413
2355
  readonly order_number?: string;
@@ -3418,9 +2360,7 @@ declare namespace io.flow.v0.models {
3418
2360
  interface DetailedShippingNotificationForm {
3419
2361
  readonly discriminator: 'detailed_shipping_notification_form';
3420
2362
  readonly key?: string;
3421
- readonly attributes?: {
3422
- [key: string]: string;
3423
- };
2363
+ readonly attributes?: Record<string, string>;
3424
2364
  readonly carrier_tracking_number: string;
3425
2365
  readonly destination: io.flow.v0.models.ShippingAddress;
3426
2366
  readonly order_number: string;
@@ -3480,9 +2420,7 @@ declare namespace io.flow.v0.models {
3480
2420
  readonly customer?: io.flow.v0.models.OrderCustomer;
3481
2421
  readonly key?: string;
3482
2422
  readonly cvv?: string;
3483
- readonly attributes?: {
3484
- [key: string]: string;
3485
- };
2423
+ readonly attributes?: Record<string, string>;
3486
2424
  readonly destination?: io.flow.v0.models.Address;
3487
2425
  readonly billing_address?: io.flow.v0.models.BillingAddress;
3488
2426
  readonly ip?: string;
@@ -3503,9 +2441,7 @@ declare namespace io.flow.v0.models {
3503
2441
  readonly code?: string;
3504
2442
  readonly label: string;
3505
2443
  readonly price: io.flow.v0.models.PriceWithBase;
3506
- readonly attributes?: {
3507
- [key: string]: string;
3508
- };
2444
+ readonly attributes?: Record<string, string>;
3509
2445
  }
3510
2446
 
3511
2447
  interface DiscountForm {
@@ -3981,9 +2917,7 @@ declare namespace io.flow.v0.models {
3981
2917
  readonly item: io.flow.v0.models.LocalizedItemPrice;
3982
2918
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
3983
2919
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
3984
- readonly price_attributes: {
3985
- [key: string]: io.flow.v0.models.PriceWithBase;
3986
- };
2920
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
3987
2921
  }
3988
2922
 
3989
2923
  interface ExportVersion {
@@ -4070,18 +3004,14 @@ declare namespace io.flow.v0.models {
4070
3004
  readonly key: string;
4071
3005
  readonly trigger: io.flow.v0.models.OrderPromotionTrigger;
4072
3006
  readonly max?: io.flow.v0.models.Price;
4073
- readonly attributes: {
4074
- [key: string]: string;
4075
- };
3007
+ readonly attributes: Record<string, string>;
4076
3008
  }
4077
3009
 
4078
3010
  interface FreeShippingOrderPromotionForm {
4079
3011
  readonly discriminator: 'free_shipping_order_promotion_form';
4080
3012
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
4081
3013
  readonly max?: io.flow.v0.models.PriceForm;
4082
- readonly attributes?: {
4083
- [key: string]: string;
4084
- };
3014
+ readonly attributes?: Record<string, string>;
4085
3015
  }
4086
3016
 
4087
3017
  interface FtpAccount {
@@ -4226,9 +3156,7 @@ declare namespace io.flow.v0.models {
4226
3156
 
4227
3157
  interface GooglePayAuthorizationPayload {
4228
3158
  readonly discriminator: 'google_pay_authorization_payload';
4229
- readonly payload: {
4230
- [key: string]: string;
4231
- };
3159
+ readonly payload: any /*object*/;
4232
3160
  }
4233
3161
 
4234
3162
  interface HarmonizationDocument {
@@ -4282,9 +3210,7 @@ declare namespace io.flow.v0.models {
4282
3210
  readonly number: string;
4283
3211
  readonly name: string;
4284
3212
  readonly categories: string[];
4285
- readonly attributes: {
4286
- [key: string]: string;
4287
- };
3213
+ readonly attributes: Record<string, string>;
4288
3214
  readonly description?: string;
4289
3215
  }
4290
3216
 
@@ -4295,9 +3221,7 @@ declare namespace io.flow.v0.models {
4295
3221
  readonly price: number;
4296
3222
  readonly categories?: string[];
4297
3223
  readonly description?: string;
4298
- readonly attributes?: {
4299
- [key: string]: string;
4300
- };
3224
+ readonly attributes?: Record<string, string>;
4301
3225
  }
4302
3226
 
4303
3227
  interface HarmonizedItemPutForm {
@@ -4306,9 +3230,7 @@ declare namespace io.flow.v0.models {
4306
3230
  readonly price: number;
4307
3231
  readonly categories?: string[];
4308
3232
  readonly description?: string;
4309
- readonly attributes?: {
4310
- [key: string]: string;
4311
- };
3233
+ readonly attributes?: Record<string, string>;
4312
3234
  }
4313
3235
 
4314
3236
  interface HarmonizedItemReference {
@@ -4441,17 +3363,13 @@ declare namespace io.flow.v0.models {
4441
3363
  interface Image {
4442
3364
  readonly url: string;
4443
3365
  readonly tags: io.flow.v0.enums.ImageTag[];
4444
- readonly attributes?: {
4445
- [key: string]: string;
4446
- };
3366
+ readonly attributes?: Record<string, string>;
4447
3367
  }
4448
3368
 
4449
3369
  interface ImageForm {
4450
3370
  readonly url: string;
4451
3371
  readonly tags?: io.flow.v0.enums.ImageTag[];
4452
- readonly attributes?: {
4453
- [key: string]: string;
4454
- };
3372
+ readonly attributes?: Record<string, string>;
4455
3373
  }
4456
3374
 
4457
3375
  interface Import {
@@ -4514,9 +3432,7 @@ declare namespace io.flow.v0.models {
4514
3432
  readonly discriminator: 'inline_authorization_details';
4515
3433
  readonly id: string;
4516
3434
  readonly client_token?: string;
4517
- readonly parameters?: {
4518
- [key: string]: string;
4519
- };
3435
+ readonly parameters?: any /*object*/;
4520
3436
  }
4521
3437
 
4522
3438
  interface InlineAuthorizationForm {
@@ -4528,17 +3444,13 @@ declare namespace io.flow.v0.models {
4528
3444
  readonly currency: string;
4529
3445
  readonly billing_address?: io.flow.v0.models.BillingAddress;
4530
3446
  readonly key?: string;
4531
- readonly attributes?: {
4532
- [key: string]: string;
4533
- };
3447
+ readonly attributes?: Record<string, string>;
4534
3448
  readonly ip?: string;
4535
3449
  readonly payload?: io.flow.v0.models.AuthorizationPayload;
4536
3450
  }
4537
3451
 
4538
3452
  interface InputForm {
4539
- readonly values?: {
4540
- [key: string]: string;
4541
- };
3453
+ readonly values?: Record<string, string>;
4542
3454
  }
4543
3455
 
4544
3456
  interface InputFormSpecification {
@@ -4647,9 +3559,7 @@ declare namespace io.flow.v0.models {
4647
3559
  readonly idempotency_key: string;
4648
3560
  readonly center: io.flow.v0.models.InventoryCenterReference;
4649
3561
  readonly item: io.flow.v0.models.InventoryItemReference;
4650
- readonly notes: {
4651
- [key: string]: string;
4652
- };
3562
+ readonly notes: any /*object*/;
4653
3563
  readonly quantity: number;
4654
3564
  readonly type: io.flow.v0.enums.UpdateType;
4655
3565
  }
@@ -4660,9 +3570,7 @@ declare namespace io.flow.v0.models {
4660
3570
  readonly item_number: string;
4661
3571
  readonly quantity: number;
4662
3572
  readonly type: io.flow.v0.enums.UpdateType;
4663
- readonly notes?: {
4664
- [key: string]: string;
4665
- };
3573
+ readonly notes?: any /*object*/;
4666
3574
  }
4667
3575
 
4668
3576
  interface InventoryUpdateVersion {
@@ -4737,18 +3645,14 @@ declare namespace io.flow.v0.models {
4737
3645
  readonly price: io.flow.v0.models.Price;
4738
3646
  readonly categories: string[];
4739
3647
  readonly description?: string;
4740
- readonly attributes: {
4741
- [key: string]: string;
4742
- };
3648
+ readonly attributes: Record<string, string>;
4743
3649
  readonly dimensions: io.flow.v0.models.Dimensions;
4744
3650
  readonly images: io.flow.v0.models.Image[];
4745
3651
  readonly local?: io.flow.v0.models.Local;
4746
3652
  }
4747
3653
 
4748
3654
  interface ItemAttributesPatchForm {
4749
- readonly attributes: {
4750
- [key: string]: string;
4751
- };
3655
+ readonly attributes: Record<string, string>;
4752
3656
  }
4753
3657
 
4754
3658
  interface ItemForm {
@@ -4759,9 +3663,7 @@ declare namespace io.flow.v0.models {
4759
3663
  readonly price: number;
4760
3664
  readonly categories?: string[];
4761
3665
  readonly description?: string;
4762
- readonly attributes?: {
4763
- [key: string]: string;
4764
- };
3666
+ readonly attributes?: Record<string, string>;
4765
3667
  readonly dimensions?: io.flow.v0.models.Dimensions;
4766
3668
  readonly images?: io.flow.v0.models.ImageForm[];
4767
3669
  }
@@ -4774,9 +3676,7 @@ declare namespace io.flow.v0.models {
4774
3676
  readonly price?: io.flow.v0.models.Price;
4775
3677
  readonly categories?: string[];
4776
3678
  readonly description?: string;
4777
- readonly attributes?: {
4778
- [key: string]: string;
4779
- };
3679
+ readonly attributes?: Record<string, string>;
4780
3680
  readonly dimensions?: io.flow.v0.models.Dimensions;
4781
3681
  readonly images?: io.flow.v0.models.ImageForm[];
4782
3682
  }
@@ -4788,9 +3688,7 @@ declare namespace io.flow.v0.models {
4788
3688
  readonly position?: number;
4789
3689
  readonly categories?: string[];
4790
3690
  readonly description?: string;
4791
- readonly attributes?: {
4792
- [key: string]: string;
4793
- };
3691
+ readonly attributes?: Record<string, string>;
4794
3692
  readonly dimensions?: io.flow.v0.models.Dimensions;
4795
3693
  readonly images?: io.flow.v0.models.ImageForm[];
4796
3694
  }
@@ -4875,17 +3773,13 @@ declare namespace io.flow.v0.models {
4875
3773
  readonly number: string;
4876
3774
  readonly currency?: string;
4877
3775
  readonly price: number;
4878
- readonly attributes: {
4879
- [key: string]: string;
4880
- };
3776
+ readonly attributes: Record<string, string>;
4881
3777
  }
4882
3778
 
4883
3779
  interface ItemPriceUpdatePutForm {
4884
3780
  readonly currency?: string;
4885
3781
  readonly price: number;
4886
- readonly attributes: {
4887
- [key: string]: string;
4888
- };
3782
+ readonly attributes: Record<string, string>;
4889
3783
  }
4890
3784
 
4891
3785
  interface ItemQuerySuggestion {
@@ -4939,12 +3833,8 @@ declare namespace io.flow.v0.models {
4939
3833
 
4940
3834
  interface JsonpResponse {
4941
3835
  readonly status: number;
4942
- readonly headers: {
4943
- [key: string]: string[];
4944
- };
4945
- readonly body: {
4946
- [key: string]: string;
4947
- };
3836
+ readonly headers: Record<string, string[]>;
3837
+ readonly body: any /*object*/;
4948
3838
  }
4949
3839
 
4950
3840
  interface KlaviyoLineItem {
@@ -5058,18 +3948,14 @@ declare namespace io.flow.v0.models {
5058
3948
  readonly quantity: number;
5059
3949
  readonly price: io.flow.v0.models.PriceWithBase;
5060
3950
  readonly total: io.flow.v0.models.PriceWithBase;
5061
- readonly attributes?: {
5062
- [key: string]: string;
5063
- };
3951
+ readonly attributes?: Record<string, string>;
5064
3952
  }
5065
3953
 
5066
3954
  interface LineItem {
5067
3955
  readonly number: string;
5068
3956
  readonly quantity: number;
5069
3957
  readonly price: io.flow.v0.models.Money;
5070
- readonly attributes: {
5071
- [key: string]: string;
5072
- };
3958
+ readonly attributes: Record<string, string>;
5073
3959
  readonly center?: string;
5074
3960
  readonly discount?: io.flow.v0.models.Money;
5075
3961
  }
@@ -5079,9 +3965,7 @@ declare namespace io.flow.v0.models {
5079
3965
  readonly quantity: number;
5080
3966
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5081
3967
  readonly price?: io.flow.v0.models.Money;
5082
- readonly attributes?: {
5083
- [key: string]: string;
5084
- };
3968
+ readonly attributes?: Record<string, string>;
5085
3969
  readonly center?: string;
5086
3970
  readonly discount?: io.flow.v0.models.Money;
5087
3971
  readonly discounts?: io.flow.v0.models.DiscountsForm;
@@ -5095,16 +3979,10 @@ declare namespace io.flow.v0.models {
5095
3979
  readonly experience: io.flow.v0.models.ExperienceSummary;
5096
3980
  readonly prices: io.flow.v0.unions.LocalizedPrice[];
5097
3981
  readonly rates: io.flow.v0.models.Rate[];
5098
- readonly spot_rates: {
5099
- [key: string]: string;
5100
- }[];
3982
+ readonly spot_rates: any /*object*/[];
5101
3983
  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
- };
3984
+ readonly attributes?: Record<string, string>;
3985
+ readonly price_attributes?: Record<string, io.flow.v0.models.PriceWithBase>;
5108
3986
  }
5109
3987
 
5110
3988
  interface LocalItem {
@@ -5128,9 +4006,7 @@ declare namespace io.flow.v0.models {
5128
4006
  readonly price: io.flow.v0.models.LocalizedItemPrice;
5129
4007
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
5130
4008
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
5131
- readonly attributes: {
5132
- [key: string]: io.flow.v0.models.PriceWithBase;
5133
- };
4009
+ readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
5134
4010
  }
5135
4011
 
5136
4012
  interface LocalItemUpserted {
@@ -5222,9 +4098,7 @@ declare namespace io.flow.v0.models {
5222
4098
  readonly price?: io.flow.v0.models.Money;
5223
4099
  readonly discount?: io.flow.v0.models.LocalizedLineItemDiscount;
5224
4100
  readonly discounts?: io.flow.v0.models.LocalizedLineItemDiscount[];
5225
- readonly attributes?: {
5226
- [key: string]: string;
5227
- };
4101
+ readonly attributes?: Record<string, string>;
5228
4102
  readonly local: io.flow.v0.models.Local;
5229
4103
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5230
4104
  readonly price_source?: io.flow.v0.unions.PriceSource;
@@ -5388,9 +4262,7 @@ declare namespace io.flow.v0.models {
5388
4262
  readonly currency?: string;
5389
4263
  readonly key?: string;
5390
4264
  readonly cvv?: string;
5391
- readonly attributes?: {
5392
- [key: string]: string;
5393
- };
4265
+ readonly attributes?: Record<string, string>;
5394
4266
  readonly ip?: string;
5395
4267
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
5396
4268
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
@@ -5508,16 +4380,12 @@ declare namespace io.flow.v0.models {
5508
4380
  readonly method?: io.flow.v0.models.PaymentMethod;
5509
4381
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
5510
4382
  readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
5511
- readonly payment?: {
5512
- [key: string]: string;
5513
- };
4383
+ readonly payment?: any /*object*/;
5514
4384
  readonly amount: number;
5515
4385
  readonly currency: string;
5516
4386
  readonly requested?: io.flow.v0.models.Money;
5517
4387
  readonly customer: io.flow.v0.models.OrderCustomer;
5518
- readonly attributes: {
5519
- [key: string]: string;
5520
- };
4388
+ readonly attributes: Record<string, string>;
5521
4389
  readonly destination?: io.flow.v0.models.Address;
5522
4390
  readonly billing_address?: io.flow.v0.models.BillingAddress;
5523
4391
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -5545,6 +4413,12 @@ declare namespace io.flow.v0.models {
5545
4413
  readonly authorization: io.flow.v0.models.OnlineAuthorization;
5546
4414
  }
5547
4415
 
4416
+ interface OnlinePaymentAuthorizationForm {
4417
+ readonly discriminator: 'online_payment_authorization_form';
4418
+ readonly payment_id: string;
4419
+ readonly key?: string;
4420
+ }
4421
+
5548
4422
  interface OptinResponse {
5549
4423
  readonly key: string;
5550
4424
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -5576,9 +4450,7 @@ declare namespace io.flow.v0.models {
5576
4450
  readonly selections: string[];
5577
4451
  readonly prices: io.flow.v0.models.OrderPriceDetail[];
5578
4452
  readonly total: io.flow.v0.models.LocalizedTotal;
5579
- readonly attributes: {
5580
- [key: string]: string;
5581
- };
4453
+ readonly attributes: Record<string, string>;
5582
4454
  readonly submitted_at?: string;
5583
4455
  readonly lines?: io.flow.v0.models.Line[];
5584
4456
  readonly identifiers?: string[];
@@ -5608,9 +4480,7 @@ declare namespace io.flow.v0.models {
5608
4480
  }
5609
4481
 
5610
4482
  interface OrderBuilderAttributesForm {
5611
- readonly attributes: {
5612
- [key: string]: string;
5613
- };
4483
+ readonly attributes: Record<string, string>;
5614
4484
  }
5615
4485
 
5616
4486
  interface OrderBuilderCustomerInvoiceAddressForm {
@@ -5712,9 +4582,7 @@ declare namespace io.flow.v0.models {
5712
4582
  readonly destination?: io.flow.v0.models.OrderAddress;
5713
4583
  readonly discount?: io.flow.v0.models.Money;
5714
4584
  readonly discounts?: io.flow.v0.models.DiscountsForm;
5715
- readonly attributes?: {
5716
- [key: string]: string;
5717
- };
4585
+ readonly attributes?: Record<string, string>;
5718
4586
  readonly authorization_keys?: string[];
5719
4587
  readonly options?: io.flow.v0.models.OrderOptions;
5720
4588
  }
@@ -5851,9 +4719,7 @@ declare namespace io.flow.v0.models {
5851
4719
  readonly total: io.flow.v0.models.PriceWithBase;
5852
4720
  readonly address?: io.flow.v0.models.BillingAddress;
5853
4721
  readonly date?: string;
5854
- readonly attributes?: {
5855
- [key: string]: string;
5856
- };
4722
+ readonly attributes?: Record<string, string>;
5857
4723
  }
5858
4724
 
5859
4725
  interface OrderPlaced {
@@ -5915,9 +4781,7 @@ declare namespace io.flow.v0.models {
5915
4781
  readonly destination?: io.flow.v0.models.OrderAddress;
5916
4782
  readonly discount?: io.flow.v0.models.Money;
5917
4783
  readonly discounts?: io.flow.v0.models.DiscountsForm;
5918
- readonly attributes?: {
5919
- [key: string]: string;
5920
- };
4784
+ readonly attributes?: Record<string, string>;
5921
4785
  readonly authorization_keys?: string[];
5922
4786
  readonly options?: io.flow.v0.models.OrderOptions;
5923
4787
  }
@@ -5984,9 +4848,7 @@ declare namespace io.flow.v0.models {
5984
4848
  readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
5985
4849
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
5986
4850
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
5987
- readonly identifiers?: {
5988
- [key: string]: string;
5989
- };
4851
+ readonly identifiers?: Record<string, string>;
5990
4852
  }
5991
4853
 
5992
4854
  interface OrderSummaryImage {
@@ -6003,9 +4865,7 @@ declare namespace io.flow.v0.models {
6003
4865
  readonly discount?: io.flow.v0.models.Price;
6004
4866
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
6005
4867
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
6006
- readonly price_attributes: {
6007
- [key: string]: io.flow.v0.models.Price;
6008
- };
4868
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
6009
4869
  }
6010
4870
 
6011
4871
  interface OrderSummaryLevy {
@@ -6021,9 +4881,7 @@ declare namespace io.flow.v0.models {
6021
4881
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
6022
4882
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
6023
4883
  readonly total: io.flow.v0.models.Price;
6024
- readonly price_attributes: {
6025
- [key: string]: io.flow.v0.models.Price;
6026
- };
4884
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
6027
4885
  }
6028
4886
 
6029
4887
  interface OrderSummaryPriceDetail {
@@ -6057,9 +4915,7 @@ declare namespace io.flow.v0.models {
6057
4915
  readonly updated_at?: string;
6058
4916
  readonly submitted_at?: string;
6059
4917
  readonly lines?: io.flow.v0.models.Line[];
6060
- readonly attributes?: {
6061
- [key: string]: string;
6062
- };
4918
+ readonly attributes?: Record<string, string>;
6063
4919
  readonly geo?: io.flow.v0.models.OrderGeo;
6064
4920
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
6065
4921
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
@@ -6215,9 +5071,7 @@ declare namespace io.flow.v0.models {
6215
5071
  readonly visitor: io.flow.v0.models.SessionVisitor;
6216
5072
  readonly visit: io.flow.v0.models.SessionVisit;
6217
5073
  readonly environment: io.flow.v0.enums.Environment;
6218
- readonly attributes: {
6219
- [key: string]: string;
6220
- };
5074
+ readonly attributes: Record<string, string>;
6221
5075
  readonly ip?: string;
6222
5076
  readonly local?: io.flow.v0.models.LocalSession;
6223
5077
  readonly geo?: io.flow.v0.models.SessionGeo;
@@ -6389,6 +5243,15 @@ declare namespace io.flow.v0.models {
6389
5243
  readonly email: string;
6390
5244
  }
6391
5245
 
5246
+ interface PaymentCryptopay {
5247
+ readonly discriminator: 'payment_cryptopay';
5248
+ readonly id: string;
5249
+ readonly order?: io.flow.v0.models.AuthorizationOrderReference;
5250
+ readonly amount: number;
5251
+ readonly currency: string;
5252
+ readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
5253
+ }
5254
+
6392
5255
  interface PaymentDeleted {
6393
5256
  readonly discriminator: 'payment_deleted';
6394
5257
  readonly event_id: string;
@@ -6434,9 +5297,7 @@ declare namespace io.flow.v0.models {
6434
5297
  readonly display_position: number;
6435
5298
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
6436
5299
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
6437
- readonly programs?: {
6438
- [key: string]: string;
6439
- }[];
5300
+ readonly programs?: any /*object*/[];
6440
5301
  readonly q?: io.flow.v0.models.Query;
6441
5302
  }
6442
5303
 
@@ -6451,11 +5312,7 @@ declare namespace io.flow.v0.models {
6451
5312
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
6452
5313
  readonly amount: number;
6453
5314
  readonly currency: string;
6454
- readonly paypal: io.flow.v0.models.PaymentPaypalData;
6455
- }
6456
-
6457
- interface PaymentPaypalData {
6458
- readonly payment_id: string;
5315
+ readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
6459
5316
  }
6460
5317
 
6461
5318
  interface PaymentReference {
@@ -6492,9 +5349,7 @@ declare namespace io.flow.v0.models {
6492
5349
  readonly paypal_payment_id: string;
6493
5350
  readonly paypal_payer_id: string;
6494
5351
  readonly key?: string;
6495
- readonly attributes?: {
6496
- [key: string]: string;
6497
- };
5352
+ readonly attributes?: Record<string, string>;
6498
5353
  readonly ip?: string;
6499
5354
  }
6500
5355
 
@@ -6529,9 +5384,10 @@ declare namespace io.flow.v0.models {
6529
5384
  }
6530
5385
 
6531
5386
  interface PfsInventoryCheckResponse {
6532
- readonly items: {
6533
- [key: string]: io.flow.v0.models.PfsInventoryCheckResponseItem;
6534
- };
5387
+ readonly items: Record<
5388
+ string,
5389
+ io.flow.v0.models.PfsInventoryCheckResponseItem
5390
+ >;
6535
5391
  }
6536
5392
 
6537
5393
  interface PfsInventoryCheckResponseItem {
@@ -6599,9 +5455,7 @@ declare namespace io.flow.v0.models {
6599
5455
  readonly price: io.flow.v0.models.Price;
6600
5456
  readonly item_number: string;
6601
5457
  readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
6602
- readonly item_attributes?: {
6603
- [key: string]: string;
6604
- };
5458
+ readonly item_attributes?: Record<string, string>;
6605
5459
  }
6606
5460
 
6607
5461
  interface PriceBookItemDeleted {
@@ -6625,9 +5479,7 @@ declare namespace io.flow.v0.models {
6625
5479
  readonly item_number: string;
6626
5480
  readonly amount: number;
6627
5481
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
6628
- readonly item_attributes?: {
6629
- [key: string]: string;
6630
- };
5482
+ readonly item_attributes?: Record<string, string>;
6631
5483
  }
6632
5484
 
6633
5485
  interface PriceBookItemQueryForm {
@@ -6635,9 +5487,7 @@ declare namespace io.flow.v0.models {
6635
5487
  readonly item_query: string;
6636
5488
  readonly amount: number;
6637
5489
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
6638
- readonly item_attributes?: {
6639
- [key: string]: string;
6640
- };
5490
+ readonly item_attributes?: Record<string, string>;
6641
5491
  }
6642
5492
 
6643
5493
  interface PriceBookItemSchedule {
@@ -6900,9 +5750,7 @@ declare namespace io.flow.v0.models {
6900
5750
  readonly quantity: number;
6901
5751
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
6902
5752
  readonly price: io.flow.v0.models.MoneyWithBase;
6903
- readonly attributes?: {
6904
- [key: string]: string;
6905
- };
5753
+ readonly attributes?: Record<string, string>;
6906
5754
  readonly center?: string;
6907
5755
  }
6908
5756
 
@@ -7214,9 +6062,7 @@ declare namespace io.flow.v0.models {
7214
6062
  readonly currency: string;
7215
6063
  readonly redirect_urls: io.flow.v0.models.PostPaymentRedirectUrls;
7216
6064
  readonly key?: string;
7217
- readonly attributes?: {
7218
- [key: string]: string;
7219
- };
6065
+ readonly attributes?: Record<string, string>;
7220
6066
  readonly ip?: string;
7221
6067
  }
7222
6068
 
@@ -7229,9 +6075,7 @@ declare namespace io.flow.v0.models {
7229
6075
  readonly requested?: io.flow.v0.models.Money;
7230
6076
  readonly captures: io.flow.v0.models.RefundCaptureSummary[];
7231
6077
  readonly created_at: string;
7232
- readonly attributes?: {
7233
- [key: string]: string;
7234
- };
6078
+ readonly attributes?: Record<string, string>;
7235
6079
  readonly status?: io.flow.v0.enums.RefundStatus;
7236
6080
  readonly base?: io.flow.v0.models.Money;
7237
6081
  }
@@ -7282,9 +6126,7 @@ declare namespace io.flow.v0.models {
7282
6126
  readonly amount?: number;
7283
6127
  readonly currency?: string;
7284
6128
  readonly rma_key?: string;
7285
- readonly attributes?: {
7286
- [key: string]: string;
7287
- };
6129
+ readonly attributes?: Record<string, string>;
7288
6130
  }
7289
6131
 
7290
6132
  interface RefundIdentifier {
@@ -7523,9 +6365,7 @@ declare namespace io.flow.v0.models {
7523
6365
  readonly currency: string;
7524
6366
  readonly requested: io.flow.v0.models.Money;
7525
6367
  readonly created_at: string;
7526
- readonly attributes: {
7527
- [key: string]: string;
7528
- };
6368
+ readonly attributes: Record<string, string>;
7529
6369
  readonly base?: io.flow.v0.models.Money;
7530
6370
  }
7531
6371
 
@@ -7548,18 +6388,14 @@ declare namespace io.flow.v0.models {
7548
6388
  readonly authorization_id: string;
7549
6389
  readonly amount?: number;
7550
6390
  readonly currency?: string;
7551
- readonly attributes?: {
7552
- [key: string]: string;
7553
- };
6391
+ readonly attributes?: Record<string, string>;
7554
6392
  }
7555
6393
 
7556
6394
  interface ReversalPutForm {
7557
6395
  readonly authorization_id: string;
7558
6396
  readonly amount?: number;
7559
6397
  readonly currency?: string;
7560
- readonly attributes?: {
7561
- [key: string]: string;
7562
- };
6398
+ readonly attributes?: Record<string, string>;
7563
6399
  }
7564
6400
 
7565
6401
  interface ReversalUpserted {
@@ -7648,9 +6484,7 @@ declare namespace io.flow.v0.models {
7648
6484
  readonly item_price: io.flow.v0.models.Price;
7649
6485
  readonly status: io.flow.v0.enums.SerialStatus;
7650
6486
  readonly center: io.flow.v0.models.CenterReference;
7651
- readonly attributes: {
7652
- [key: string]: string;
7653
- };
6487
+ readonly attributes: Record<string, string>;
7654
6488
  }
7655
6489
 
7656
6490
  interface SerialDeleted {
@@ -7667,9 +6501,7 @@ declare namespace io.flow.v0.models {
7667
6501
  readonly item_currency: string;
7668
6502
  readonly status: io.flow.v0.enums.SerialStatus;
7669
6503
  readonly center_key?: string;
7670
- readonly attributes?: {
7671
- [key: string]: string;
7672
- };
6504
+ readonly attributes?: Record<string, string>;
7673
6505
  }
7674
6506
 
7675
6507
  interface SerialUpserted {
@@ -7738,9 +6570,7 @@ declare namespace io.flow.v0.models {
7738
6570
  readonly currency?: string;
7739
6571
  readonly language?: string;
7740
6572
  readonly locale?: string;
7741
- readonly attributes?: {
7742
- [key: string]: string;
7743
- };
6573
+ readonly attributes?: Record<string, string>;
7744
6574
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
7745
6575
  }
7746
6576
 
@@ -7762,9 +6592,7 @@ declare namespace io.flow.v0.models {
7762
6592
  readonly currency?: string;
7763
6593
  readonly language?: string;
7764
6594
  readonly locale?: string;
7765
- readonly attributes?: {
7766
- [key: string]: string;
7767
- };
6595
+ readonly attributes?: Record<string, string>;
7768
6596
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
7769
6597
  }
7770
6598
 
@@ -7897,9 +6725,7 @@ declare namespace io.flow.v0.models {
7897
6725
 
7898
6726
  interface ShippingLabel {
7899
6727
  readonly id: string;
7900
- readonly attributes: {
7901
- [key: string]: string;
7902
- };
6728
+ readonly attributes: Record<string, string>;
7903
6729
  readonly carrier_tracking_number: string;
7904
6730
  readonly carrier_tracking_number_url: string;
7905
6731
  readonly cost: io.flow.v0.models.Price;
@@ -8006,9 +6832,7 @@ declare namespace io.flow.v0.models {
8006
6832
  interface ShippingNotification {
8007
6833
  readonly id: string;
8008
6834
  readonly key: string;
8009
- readonly attributes: {
8010
- [key: string]: string;
8011
- };
6835
+ readonly attributes: Record<string, string>;
8012
6836
  readonly carrier_tracking_number: string;
8013
6837
  readonly destination: io.flow.v0.models.ShippingAddress;
8014
6838
  readonly flow_tracking_number: string;
@@ -8035,9 +6859,7 @@ declare namespace io.flow.v0.models {
8035
6859
  readonly item_count: number;
8036
6860
  readonly total_price: number;
8037
6861
  readonly local: io.flow.v0.models.ShopifyLocalCartMetadata;
8038
- readonly attributes?: {
8039
- [key: string]: string;
8040
- };
6862
+ readonly attributes?: any /*object*/;
8041
6863
  readonly note?: string;
8042
6864
  readonly requires_shipping: boolean;
8043
6865
  readonly total_weight?: number;
@@ -8046,27 +6868,21 @@ declare namespace io.flow.v0.models {
8046
6868
  interface ShopifyCartAddMultipleForm {
8047
6869
  readonly discriminator: 'shopify_cart_add_multiple_form';
8048
6870
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
8049
- readonly attributes?: {
8050
- [key: string]: string;
8051
- };
6871
+ readonly attributes?: Record<string, string>;
8052
6872
  }
8053
6873
 
8054
6874
  interface ShopifyCartAddSingleForm {
8055
6875
  readonly discriminator: 'shopify_cart_add_single_form';
8056
6876
  readonly id: number;
8057
6877
  readonly quantity: number;
8058
- readonly properties?: {
8059
- [key: string]: string;
8060
- };
6878
+ readonly properties?: Record<string, string>;
8061
6879
  }
8062
6880
 
8063
6881
  interface ShopifyCartChangeForm {
8064
6882
  readonly quantity: number;
8065
6883
  readonly line?: number;
8066
6884
  readonly id?: number;
8067
- readonly properties?: {
8068
- [key: string]: string;
8069
- };
6885
+ readonly properties?: Record<string, string>;
8070
6886
  }
8071
6887
 
8072
6888
  interface ShopifyCartConversion {
@@ -8080,7 +6896,7 @@ declare namespace io.flow.v0.models {
8080
6896
  }
8081
6897
 
8082
6898
  interface ShopifyCartConversionShopifyCart {
8083
- readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
6899
+ readonly cart: unknown /*io.flow.shopify.external.v0.models.shopify_cart*/;
8084
6900
  }
8085
6901
 
8086
6902
  interface ShopifyCartItem {
@@ -8099,9 +6915,7 @@ declare namespace io.flow.v0.models {
8099
6915
  readonly image?: string;
8100
6916
  readonly product_description?: string;
8101
6917
  readonly product_type?: string;
8102
- readonly properties?: {
8103
- [key: string]: string;
8104
- };
6918
+ readonly properties?: Record<string, string>;
8105
6919
  readonly requires_shipping: boolean;
8106
6920
  readonly sku?: string;
8107
6921
  readonly variant_title?: string;
@@ -8226,9 +7040,7 @@ declare namespace io.flow.v0.models {
8226
7040
  }
8227
7041
 
8228
7042
  interface ShopifyOrderAttributesForm {
8229
- readonly attributes: {
8230
- [key: string]: string;
8231
- };
7043
+ readonly attributes: Record<string, string>;
8232
7044
  }
8233
7045
 
8234
7046
  interface ShopifyOrderDeliveryMetafield {
@@ -8250,9 +7062,7 @@ declare namespace io.flow.v0.models {
8250
7062
 
8251
7063
  interface ShopifyOrderPriceAttributesMetafield {
8252
7064
  readonly item_number: string;
8253
- readonly price_attributes: {
8254
- [key: string]: io.flow.v0.models.PriceWithBase;
8255
- };
7065
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
8256
7066
  }
8257
7067
 
8258
7068
  interface ShopifyOrderRomanizationMetafield {
@@ -8750,9 +7560,7 @@ declare namespace io.flow.v0.models {
8750
7560
  readonly id: string;
8751
7561
  readonly labels: io.flow.v0.models.TrackingLabel[];
8752
7562
  readonly status: io.flow.v0.enums.TrackingStatus;
8753
- readonly attributes: {
8754
- [key: string]: string;
8755
- };
7563
+ readonly attributes: Record<string, string>;
8756
7564
  readonly url: string;
8757
7565
  readonly window?: io.flow.v0.models.DatetimeRange;
8758
7566
  readonly order_number?: string;
@@ -8790,9 +7598,7 @@ declare namespace io.flow.v0.models {
8790
7598
  interface TrackingForm {
8791
7599
  readonly status?: io.flow.v0.enums.TrackingStatus;
8792
7600
  readonly order_number?: string;
8793
- readonly attributes?: {
8794
- [key: string]: string;
8795
- };
7601
+ readonly attributes?: Record<string, string>;
8796
7602
  readonly window?: io.flow.v0.models.DatetimeRange;
8797
7603
  }
8798
7604
 
@@ -8936,9 +7742,7 @@ declare namespace io.flow.v0.models {
8936
7742
  readonly iin: string;
8937
7743
  readonly last4: string;
8938
7744
  readonly name: string;
8939
- readonly attributes?: {
8940
- [key: string]: string;
8941
- };
7745
+ readonly attributes?: Record<string, string>;
8942
7746
  }
8943
7747
 
8944
7748
  interface VirtualCardCapture {
@@ -8977,9 +7781,7 @@ declare namespace io.flow.v0.models {
8977
7781
 
8978
7782
  interface VirtualCardForm {
8979
7783
  readonly limit: io.flow.v0.models.Money;
8980
- readonly attributes?: {
8981
- [key: string]: string;
8982
- };
7784
+ readonly attributes?: Record<string, string>;
8983
7785
  }
8984
7786
 
8985
7787
  interface VirtualCardReference {
@@ -9112,7 +7914,8 @@ declare namespace io.flow.v0.unions {
9112
7914
  | io.flow.v0.models.RedirectAuthorizationForm
9113
7915
  | io.flow.v0.models.InlineAuthorizationForm
9114
7916
  | io.flow.v0.models.AchAuthorizationForm
9115
- | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
7917
+ | io.flow.v0.models.CardPaymentSourceAuthorizationForm
7918
+ | io.flow.v0.models.OnlinePaymentAuthorizationForm;
9116
7919
  type AuthorizationPayloadParameters =
9117
7920
  | io.flow.v0.models.GooglePayAuthorizationPayload
9118
7921
  | io.flow.v0.models.ApplePayMerchantValidationPayload;
@@ -9386,6 +8189,7 @@ declare namespace io.flow.v0.unions {
9386
8189
  | io.flow.v0.models.LocalizedItemDuty
9387
8190
  | io.flow.v0.models.LocalizedTotal;
9388
8191
  type OnlineAuthorizationDetails =
8192
+ | io.flow.v0.models.CryptopayAuthorizationDetails
9389
8193
  | io.flow.v0.models.PaypalAuthorizationDetails
9390
8194
  | io.flow.v0.models.RedirectAuthorizationDetails
9391
8195
  | io.flow.v0.models.InlineAuthorizationDetails;
@@ -9399,7 +8203,9 @@ declare namespace io.flow.v0.unions {
9399
8203
  | io.flow.v0.models.CommercialInvoiceFee
9400
8204
  | io.flow.v0.models.InboundCartonFee
9401
8205
  | io.flow.v0.models.OutboundCartonFee;
9402
- type Payment = io.flow.v0.models.PaymentPaypal;
8206
+ type Payment =
8207
+ | io.flow.v0.models.PaymentPaypal
8208
+ | io.flow.v0.models.PaymentCryptopay;
9403
8209
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
9404
8210
 
9405
8211
  type PaymentMethodTag =
@@ -9709,6 +8515,7 @@ export type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersion;
9709
8515
  export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
9710
8516
  export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
9711
8517
  export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
8518
+ export type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
9712
8519
  export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
9713
8520
  export type Currency = io.flow.v0.models.Currency;
9714
8521
  export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
@@ -10122,6 +8929,7 @@ export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
10122
8929
  export type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
10123
8930
  export type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
10124
8931
  export type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
8932
+ export type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
10125
8933
  export type OptinResponse = io.flow.v0.models.OptinResponse;
10126
8934
  export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
10127
8935
  export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -10247,6 +9055,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
10247
9055
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
10248
9056
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
10249
9057
  export type Payment = io.flow.v0.unions.Payment;
9058
+ export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
10250
9059
  export type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
10251
9060
  export type PaymentError = io.flow.v0.models.PaymentError;
10252
9061
  export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
@@ -10261,7 +9070,6 @@ export type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethodRuleCont
10261
9070
  export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
10262
9071
  export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
10263
9072
  export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
10264
- export type PaymentPaypalData = io.flow.v0.models.PaymentPaypalData;
10265
9073
  export type PaymentReference = io.flow.v0.models.PaymentReference;
10266
9074
  export type PaymentSource = io.flow.v0.unions.PaymentSource;
10267
9075
  export type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;