@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/dist/api.d.ts CHANGED
@@ -1,826 +1,3 @@
1
- declare namespace io.flow.shopify.external.v0.enums {
2
- type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
3
- type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
4
- type DiscountType = 'fixed_amount' | 'percentage' | 'shipping';
5
- type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
6
- type Event = 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop';
7
- type FinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
8
- type Format = 'json' | 'xml';
9
- type FulfillmentService = 'manual' | 'gift_card';
10
- type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
11
- type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
12
- type InventoryManagement = 'blank' | 'shopify';
13
- type InventoryPolicy = 'deny' | 'continue';
14
- type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
15
- type LocalizedPrice = 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total';
16
- type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
17
- type PriceRuleAllocationMethod = 'across' | 'each';
18
- type PriceRuleCustomerSelection = 'all' | 'prerequisite';
19
- type PriceRuleTargetSelection = 'all' | 'entitled';
20
- type PriceRuleTargetType = 'line_item' | 'shipping_line';
21
- type PriceRuleValueType = 'fixed_amount' | 'percentage';
22
- type PublishedScope = 'global';
23
- type RestockType = 'no_restock' | 'cancel' | 'return';
24
- type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
25
- type ShopifyDiscountPaginationDirection = 'next' | 'prev';
26
- type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
27
- type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
28
- type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
29
- type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
30
- type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
31
- type ValueType = 'string' | 'integer';
32
- type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
33
- }
34
- declare namespace io.flow.shopify.external.v0.models {
35
- interface Collect {
36
- readonly id: number;
37
- readonly collection_id: number;
38
- readonly product_id: number;
39
- readonly featured: boolean;
40
- readonly created_at?: string;
41
- readonly updated_at?: string;
42
- readonly position: number;
43
- readonly sort_value: string;
44
- }
45
- interface Collection {
46
- readonly id: number;
47
- readonly handle?: string;
48
- readonly title?: string;
49
- readonly published?: boolean;
50
- readonly published_at?: string;
51
- readonly updated_at?: string;
52
- }
53
- interface Count {
54
- readonly count: number;
55
- }
56
- interface Discount {
57
- readonly id: number;
58
- readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
59
- readonly code: string;
60
- readonly value?: number;
61
- readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
62
- readonly usage_limit?: number;
63
- readonly applies_once: boolean;
64
- readonly applies_once_per_customer: boolean;
65
- readonly ends_at?: string;
66
- readonly starts_at?: string;
67
- readonly minimum_order_amount?: number;
68
- readonly applies_to_id?: number;
69
- readonly applies_to_resource?: string;
70
- readonly times_used: number;
71
- }
72
- interface Metafield {
73
- readonly id: number;
74
- readonly key: string;
75
- readonly namespace: string;
76
- readonly value: string;
77
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
78
- readonly description?: string;
79
- readonly owner_id: number;
80
- readonly owner_resource: string;
81
- }
82
- interface MetafieldForm {
83
- readonly key: string;
84
- readonly namespace: string;
85
- readonly value: string;
86
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
87
- readonly description?: string;
88
- }
89
- interface Option {
90
- readonly id: number;
91
- readonly product_id: number;
92
- readonly name: string;
93
- readonly position: number;
94
- readonly values?: string[];
95
- }
96
- interface PriceRule {
97
- readonly id: number;
98
- readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
99
- readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
100
- readonly value: number;
101
- readonly starts_at: string;
102
- readonly ends_at?: string;
103
- readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
104
- readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
105
- readonly usage_limit?: number;
106
- readonly entitled_product_ids: number[];
107
- readonly entitled_variant_ids: number[];
108
- readonly entitled_collection_ids: number[];
109
- readonly entitled_country_ids: number[];
110
- readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
111
- readonly once_per_customer: boolean;
112
- readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
113
- readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
114
- readonly prerequisite_saved_search_ids: number[];
115
- readonly prerequisite_customer_ids?: number[];
116
- readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
117
- readonly prerequisite_product_ids?: number[];
118
- readonly prerequisite_variant_ids?: number[];
119
- readonly prerequisite_collection_ids?: number[];
120
- readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
121
- readonly allocation_limit?: number;
122
- readonly title?: string;
123
- readonly created_at?: string;
124
- readonly updated_at?: string;
125
- }
126
- interface PriceRuleDiscountCode {
127
- readonly id: number;
128
- readonly price_rule_id: number;
129
- readonly code: string;
130
- readonly usage_count: number;
131
- readonly created_at: string;
132
- readonly updated_at: string;
133
- }
134
- interface PriceRuleForm {
135
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
136
- }
137
- interface PriceRuleGreaterThanRange {
138
- readonly greater_than?: number;
139
- readonly greater_than_or_equal_to?: number;
140
- }
141
- interface PriceRuleLessThanRange {
142
- readonly less_than?: number;
143
- readonly less_than_or_equal_to?: number;
144
- }
145
- interface PriceRulePrerequisiteToEntitlementQuantityRatio {
146
- readonly prerequisite_quantity?: number;
147
- readonly entitled_quantity?: number;
148
- }
149
- interface Product {
150
- readonly id: number;
151
- readonly handle: string;
152
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
153
- readonly images: io.flow.shopify.external.v0.models.ProductImage[];
154
- readonly title: string;
155
- readonly vendor?: string;
156
- readonly body_html?: string;
157
- readonly product_type?: string;
158
- readonly options: io.flow.shopify.external.v0.models.Option[];
159
- readonly tags?: string;
160
- readonly template_suffix?: string;
161
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
162
- readonly published_at?: string;
163
- readonly created_at: string;
164
- readonly updated_at: string;
165
- }
166
- interface ProductDelete {
167
- readonly id: number;
168
- }
169
- interface ProductImage {
170
- readonly id: number;
171
- readonly product_id: number;
172
- readonly variant_ids: number[];
173
- readonly src: string;
174
- readonly position: number;
175
- readonly created_at: string;
176
- readonly updated_at: string;
177
- readonly alt?: string;
178
- }
179
- interface ProductVariant {
180
- readonly id: number;
181
- readonly sku?: string;
182
- readonly product_id: number;
183
- readonly price: number;
184
- readonly title: string;
185
- readonly taxable: boolean;
186
- readonly compare_at_price?: number;
187
- readonly grams?: number;
188
- readonly image_id?: number;
189
- readonly barcode?: string;
190
- readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
191
- readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
192
- readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
193
- readonly weight?: number;
194
- readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
195
- readonly inventory_item_id?: number;
196
- readonly inventory_quantity?: number;
197
- readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
198
- readonly option1?: string;
199
- readonly option2?: string;
200
- readonly option3?: string;
201
- readonly requires_shipping: boolean;
202
- readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
203
- }
204
- interface RequestMetafieldForm {
205
- readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
206
- }
207
- interface RequestShopifyGiftCard {
208
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
209
- }
210
- interface RequestShopifyRefundForm {
211
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
212
- }
213
- interface RequestShopifyTransactionForm {
214
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
215
- }
216
- interface ResponseCollect {
217
- readonly collect: io.flow.shopify.external.v0.models.Collect;
218
- }
219
- interface ResponseCollects {
220
- readonly collects: io.flow.shopify.external.v0.models.Collect[];
221
- }
222
- interface ResponseDiscount {
223
- readonly discount: io.flow.shopify.external.v0.models.Discount;
224
- }
225
- interface ResponseDiscounts {
226
- readonly discounts: io.flow.shopify.external.v0.models.Discount[];
227
- }
228
- interface ResponseMetafield {
229
- readonly metafield: io.flow.shopify.external.v0.models.Metafield;
230
- }
231
- interface ResponseMetafields {
232
- readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
233
- }
234
- interface ResponseOrdersWrapper {
235
- readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
236
- }
237
- interface ResponsePriceRule {
238
- readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
239
- }
240
- interface ResponsePriceRuleDiscountCode {
241
- readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
242
- }
243
- interface ResponsePriceRuleDiscountCodes {
244
- readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
245
- }
246
- interface ResponsePriceRules {
247
- readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
248
- }
249
- interface ResponseProduct {
250
- readonly product: io.flow.shopify.external.v0.models.Product;
251
- }
252
- interface ResponseProducts {
253
- readonly products: io.flow.shopify.external.v0.models.Product[];
254
- }
255
- interface ResponseShopifyGiftCard {
256
- readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
257
- }
258
- interface ResponseShopifyGiftCards {
259
- readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
260
- }
261
- interface ResponseShopifyRefundSingle {
262
- readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
263
- }
264
- interface ResponseShopifyTransaction {
265
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
266
- }
267
- interface ResponseShopifyTransactionSingle {
268
- readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
269
- }
270
- interface ResponseVariant {
271
- readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
272
- }
273
- interface Shop {
274
- readonly id: number;
275
- readonly domain: string;
276
- readonly myshopify_domain: string;
277
- readonly name: string;
278
- readonly primary_locale: string;
279
- readonly currency: string;
280
- readonly country_code: string;
281
- }
282
- interface ShopResponse {
283
- readonly shop: io.flow.shopify.external.v0.models.Shop;
284
- }
285
- interface ShopifyAddress {
286
- readonly id?: number;
287
- readonly address1?: string;
288
- readonly address2?: string;
289
- readonly city?: string;
290
- readonly company?: string;
291
- readonly country?: string;
292
- readonly country_code?: string;
293
- readonly default?: boolean;
294
- readonly first_name?: string;
295
- readonly last_name?: string;
296
- readonly latitude?: number;
297
- readonly longitude?: number;
298
- readonly name?: string;
299
- readonly phone?: string;
300
- readonly province?: string;
301
- readonly province_code?: string;
302
- readonly zip?: string;
303
- }
304
- interface ShopifyAttribute {
305
- readonly name: string;
306
- readonly value: string;
307
- }
308
- interface ShopifyCart {
309
- readonly token: string;
310
- readonly note?: string;
311
- readonly attributes?: {
312
- [key: string]: string;
313
- };
314
- readonly items_subtotal_price?: number;
315
- readonly total_price: number;
316
- readonly total_weight: number;
317
- readonly total_discount: number;
318
- readonly original_total_price: number;
319
- readonly item_count: number;
320
- readonly requires_shipping: boolean;
321
- readonly currency?: string;
322
- readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
323
- readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
324
- }
325
- interface ShopifyCartItem {
326
- readonly id: number;
327
- readonly title: string;
328
- readonly key?: string;
329
- readonly price: number;
330
- readonly line_price: number;
331
- readonly final_price: number;
332
- readonly final_line_price: number;
333
- readonly original_price: number;
334
- readonly original_line_price: number;
335
- readonly total_discount: number;
336
- readonly discounted_price: number;
337
- readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
338
- readonly taxable: boolean;
339
- readonly quantity: number;
340
- readonly sku?: string;
341
- readonly grams?: number;
342
- readonly vendor?: string;
343
- readonly properties?: {
344
- [key: string]: string;
345
- };
346
- readonly variant_id?: number;
347
- readonly gift_card: boolean;
348
- readonly url: string;
349
- readonly image?: string;
350
- readonly handle: string;
351
- readonly requires_shipping: boolean;
352
- readonly product_id: number;
353
- readonly product_title: string;
354
- readonly product_description?: string;
355
- readonly product_type: string;
356
- readonly variant_title?: string;
357
- readonly variant_options?: string[];
358
- readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
359
- }
360
- interface ShopifyCartItemDiscount {
361
- readonly amount: number;
362
- readonly title: string;
363
- }
364
- interface ShopifyClientDetail {
365
- readonly accept_language: boolean;
366
- readonly browser_height?: number;
367
- readonly browser_ip: string;
368
- readonly browser_width?: number;
369
- readonly session_hash?: string;
370
- readonly user_agent?: string;
371
- }
372
- interface ShopifyCustomer {
373
- readonly id: number;
374
- readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
375
- readonly created_at: string;
376
- readonly tags: string;
377
- readonly tax_exempt: boolean;
378
- readonly verified_email: boolean;
379
- readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
380
- readonly accepts_marketing?: boolean;
381
- readonly default_address?: {
382
- [key: string]: string;
383
- };
384
- readonly email?: string;
385
- readonly first_name?: string;
386
- readonly last_name?: string;
387
- readonly last_order_id?: number;
388
- readonly last_order_name?: string;
389
- readonly note?: string;
390
- readonly orders_count?: number;
391
- readonly phone?: string;
392
- readonly total_spent?: string;
393
- readonly updated_at?: string;
394
- }
395
- interface ShopifyCustomerAddress {
396
- readonly id: number;
397
- readonly customer_id: number;
398
- readonly default: boolean;
399
- readonly address1?: string;
400
- readonly address2?: string;
401
- readonly city?: string;
402
- readonly company?: string;
403
- readonly first_name?: string;
404
- readonly last_name?: string;
405
- readonly name?: string;
406
- readonly phone?: string;
407
- readonly country?: string;
408
- readonly country_code?: string;
409
- readonly country_name?: string;
410
- readonly province?: string;
411
- readonly province_code?: string;
412
- readonly zip?: string;
413
- }
414
- interface ShopifyCustomerDelete {
415
- readonly id: number;
416
- }
417
- interface ShopifyCustomersResponseWrapper {
418
- readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
419
- }
420
- interface ShopifyDiscountApplication {
421
- readonly type: string;
422
- readonly key: string;
423
- readonly title: string;
424
- readonly description?: string;
425
- readonly value: string;
426
- readonly created_at: string;
427
- readonly value_type: string;
428
- readonly allocation_method: string;
429
- readonly target_selection: string;
430
- readonly target_type: string;
431
- readonly total_allocated_amount: number;
432
- }
433
- interface ShopifyDiscountCode {
434
- readonly amount: string;
435
- readonly code: string;
436
- readonly type: io.flow.shopify.external.v0.enums.DiscountType;
437
- }
438
- interface ShopifyError {
439
- readonly errors: {
440
- [key: string]: string;
441
- };
442
- }
443
- interface ShopifyFulfillment {
444
- readonly location_id: number;
445
- readonly created_at?: string;
446
- readonly id?: number;
447
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
448
- readonly order_id?: number;
449
- readonly receipt?: {
450
- [key: string]: string;
451
- };
452
- readonly status?: string;
453
- readonly tracking_company?: string;
454
- readonly tracking_number?: string;
455
- readonly tracking_numbers?: string[];
456
- readonly tracking_url?: string;
457
- readonly tracking_urls?: string[];
458
- readonly updated_at?: string;
459
- readonly notify_customer?: boolean;
460
- }
461
- interface ShopifyFulfillmentWrapper {
462
- readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
463
- }
464
- interface ShopifyGiftCard {
465
- readonly id: number;
466
- readonly balance: number;
467
- readonly currency: string;
468
- readonly initial_value: number;
469
- readonly last_characters: string;
470
- readonly created_at: string;
471
- readonly updated_at: string;
472
- readonly api_client_id?: number;
473
- readonly code?: string;
474
- readonly customer_id?: number;
475
- readonly disabled_at?: string;
476
- readonly expires_on?: string;
477
- readonly line_item_id?: number;
478
- readonly note?: string;
479
- readonly order_id?: number;
480
- readonly template_suffix?: string;
481
- readonly user_id?: number;
482
- }
483
- interface ShopifyGiftCardAdjustment {
484
- readonly id: number;
485
- readonly gift_card_id: number;
486
- readonly number: number;
487
- readonly amount: number;
488
- readonly created_at: string;
489
- readonly processed_at: string;
490
- readonly note?: string;
491
- readonly remote_transaction_ref?: string;
492
- readonly remote_transaction_url?: string;
493
- readonly api_client_id?: number;
494
- readonly user_id?: number;
495
- readonly order_transaction_id?: number;
496
- }
497
- interface ShopifyGiftCardAdjustmentForm {
498
- readonly amount: number;
499
- readonly note?: string;
500
- readonly order_transaction_id?: number;
501
- readonly processed_at?: string;
502
- }
503
- interface ShopifyGiftCardAdjustmentFormWrapper {
504
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
505
- }
506
- interface ShopifyGiftCardAdjustmentResponseWrapper {
507
- readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
508
- }
509
- interface ShopifyGiftCardForm {
510
- readonly initial_value: number;
511
- readonly code?: string;
512
- readonly note?: string;
513
- readonly template_suffix?: string;
514
- }
515
- interface ShopifyInventoryItem {
516
- readonly id: number;
517
- readonly tracked: boolean;
518
- readonly sku?: string;
519
- readonly cost?: string;
520
- readonly country_code_of_origin?: string;
521
- readonly created_at: string;
522
- readonly updated_at?: string;
523
- }
524
- interface ShopifyInventoryItemDelete {
525
- readonly id: number;
526
- }
527
- interface ShopifyInventoryLevel {
528
- readonly inventory_item_id: number;
529
- readonly location_id: number;
530
- readonly updated_at: string;
531
- readonly available?: number;
532
- }
533
- interface ShopifyInventoryLevelDisconnect {
534
- readonly inventory_item_id: number;
535
- readonly location_id: number;
536
- }
537
- interface ShopifyInventoryLevelResponseWrapper {
538
- readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
539
- }
540
- interface ShopifyLineItem {
541
- readonly id: number;
542
- readonly quantity: number;
543
- readonly fulfillable_quantity?: number;
544
- readonly fulfillment_service: string;
545
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
546
- readonly grams?: number;
547
- readonly price?: string;
548
- readonly product_id?: number;
549
- readonly requires_shipping: boolean;
550
- readonly sku?: string;
551
- readonly title?: string;
552
- readonly variant_id?: number;
553
- readonly variant_title?: string;
554
- readonly vendor?: string;
555
- readonly name?: string;
556
- readonly gift_card: boolean;
557
- readonly properties: {
558
- [key: string]: string;
559
- }[];
560
- readonly taxable: boolean;
561
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
562
- readonly total_discount?: string;
563
- }
564
- interface ShopifyLineItemForm {
565
- readonly fulfillable_quantity?: number;
566
- readonly fulfillment_service: string;
567
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
568
- readonly grams?: number;
569
- readonly price?: string;
570
- readonly product_id?: number;
571
- readonly quantity?: number;
572
- readonly requires_shipping: boolean;
573
- readonly sku?: string;
574
- readonly title?: string;
575
- readonly variant_id?: number;
576
- readonly variant_title?: string;
577
- readonly vendor?: string;
578
- readonly name?: string;
579
- readonly gift_card: boolean;
580
- readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
581
- readonly taxable: boolean;
582
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
583
- readonly total_discount?: string;
584
- readonly id?: number;
585
- }
586
- interface ShopifyLineLevelDiscountAllocation {
587
- readonly amount: number;
588
- readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
589
- }
590
- interface ShopifyLocation {
591
- readonly active: boolean;
592
- readonly address1?: string;
593
- readonly address2?: string;
594
- readonly city?: string;
595
- readonly country?: string;
596
- readonly country_code?: string;
597
- readonly created_at: string;
598
- readonly id: number;
599
- readonly legacy: boolean;
600
- readonly name: string;
601
- readonly phone?: string;
602
- readonly province?: string;
603
- readonly province_code?: string;
604
- readonly updated_at?: string;
605
- readonly zip?: string;
606
- }
607
- interface ShopifyLocationDelete {
608
- readonly id: number;
609
- }
610
- interface ShopifyLocationsResponseWrapper {
611
- readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
612
- }
613
- interface ShopifyOrder {
614
- readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
615
- readonly browser_ip?: string;
616
- readonly buyer_accepts_marketing: boolean;
617
- readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
618
- readonly cancelled_at?: string;
619
- readonly cart_token?: string;
620
- readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
621
- readonly closed_at?: string;
622
- readonly created_at?: string;
623
- readonly currency?: string;
624
- readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
625
- readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
626
- readonly email?: string;
627
- readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
628
- readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
629
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
630
- readonly id?: number;
631
- readonly landing_site?: string;
632
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
633
- readonly location_id?: number;
634
- readonly name?: string;
635
- readonly note?: string;
636
- readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
637
- readonly number?: number;
638
- readonly order_number?: number;
639
- readonly payment_gateway_names: string[];
640
- readonly processed_at?: string;
641
- readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
642
- readonly referring_site?: string;
643
- readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
644
- readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
645
- readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
646
- readonly source_name?: string;
647
- readonly subtotal_price?: string;
648
- readonly tags?: string;
649
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
650
- readonly taxes_included: boolean;
651
- readonly token?: string;
652
- readonly total_discounts?: string;
653
- readonly total_line_items_price?: string;
654
- readonly total_price?: string;
655
- readonly total_tax?: string;
656
- readonly total_weight?: number;
657
- readonly updated_at?: string;
658
- readonly user_id?: number;
659
- readonly order_status_url?: string;
660
- readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
661
- readonly gateway?: string;
662
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
663
- readonly send_receipt?: boolean;
664
- readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
665
- }
666
- interface ShopifyOrderCount {
667
- readonly count: number;
668
- }
669
- interface ShopifyOrderCustomer {
670
- readonly email?: string;
671
- readonly first_name?: string;
672
- readonly last_name?: string;
673
- readonly phone?: string;
674
- }
675
- interface ShopifyOrderWrapper {
676
- readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
677
- }
678
- interface ShopifyPaymentDetail {
679
- readonly avs_result_code?: string;
680
- readonly credit_card_bin?: string;
681
- readonly credit_card_company: string;
682
- readonly credit_card_number: string;
683
- readonly cvv_result_code?: string;
684
- }
685
- interface ShopifyRefund {
686
- readonly id: number;
687
- readonly order_id: number;
688
- readonly created_at: string;
689
- readonly processed_at: string;
690
- readonly note?: string;
691
- readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
692
- readonly restock?: boolean;
693
- readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
694
- readonly user_id?: number;
695
- }
696
- interface ShopifyRefundForm {
697
- readonly note?: string;
698
- readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
699
- readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
700
- readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
701
- readonly currency: string;
702
- }
703
- interface ShopifyRefundLineItem {
704
- readonly id: number;
705
- readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
706
- readonly line_item_id: number;
707
- readonly quantity: number;
708
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
709
- readonly location_id?: number;
710
- readonly subtotal?: number;
711
- readonly total_tax?: number;
712
- }
713
- interface ShopifyRefundLineItemForm {
714
- readonly line_item_id: number;
715
- readonly quantity: number;
716
- readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
717
- readonly location_id?: number;
718
- }
719
- interface ShopifyShippingLine {
720
- readonly code: string;
721
- readonly price: string;
722
- readonly source: string;
723
- readonly title: string;
724
- readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
725
- readonly carrier_identifier?: string;
726
- readonly requested_fulfillment_service_id?: string;
727
- }
728
- interface ShopifyTaxLine {
729
- readonly price: string;
730
- readonly rate: number;
731
- readonly title: string;
732
- }
733
- interface ShopifyTransaction {
734
- readonly id: number;
735
- readonly order_id: number;
736
- readonly amount: number;
737
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
738
- readonly gateway: string;
739
- readonly currency: string;
740
- readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
741
- readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
742
- readonly receipt: {
743
- [key: string]: string;
744
- };
745
- readonly authorization?: string;
746
- readonly created_at: string;
747
- readonly device_id?: number;
748
- readonly gift_card_id?: number;
749
- readonly source_name: string;
750
- readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
751
- readonly test: boolean;
752
- readonly parent_id?: number;
753
- readonly user_id?: number;
754
- }
755
- interface ShopifyTransactionForm {
756
- readonly amount: number;
757
- readonly currency: string;
758
- readonly gateway: string;
759
- readonly kind: io.flow.shopify.external.v0.enums.KindType;
760
- readonly source: string;
761
- readonly authorization?: string;
762
- readonly gift_card_id?: number;
763
- readonly parent_id?: number;
764
- readonly receipt?: {
765
- [key: string]: string;
766
- };
767
- }
768
- interface ShopifyWebhookCustomersRedact {
769
- readonly shop_id: number;
770
- readonly shop_domain: string;
771
- readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
772
- readonly orders_to_redact?: number[];
773
- }
774
- interface ShopifyWebhookCustomersRedactCustomer {
775
- readonly id: number;
776
- readonly email?: string;
777
- readonly phone?: string;
778
- }
779
- interface ShopifyWebhookOrder {
780
- readonly id?: number;
781
- readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
782
- }
783
- interface ShopifyWebhookOrderCancelled {
784
- readonly id: number;
785
- }
786
- interface ShopifyWebhookOrderLineItem {
787
- readonly fulfillable_quantity?: number;
788
- readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
789
- readonly product_id?: number;
790
- readonly quantity?: number;
791
- readonly requires_shipping: boolean;
792
- readonly variant_id?: number;
793
- }
794
- interface ShopifyWebhookShopRedact {
795
- readonly shop_id: number;
796
- readonly shop_domain: string;
797
- }
798
- interface Webhook {
799
- readonly address: string;
800
- readonly created_at: string;
801
- readonly format: io.flow.shopify.external.v0.enums.Format;
802
- readonly id: number;
803
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
804
- readonly updated_at: string;
805
- readonly fields?: string[];
806
- readonly metafield_namespaces?: string[];
807
- }
808
- interface WebhookForm {
809
- readonly topic: io.flow.shopify.external.v0.enums.Topic;
810
- readonly address: string;
811
- readonly format: io.flow.shopify.external.v0.enums.Format;
812
- readonly metafield_namespaces?: string[];
813
- }
814
- interface WebhookFormWrapper {
815
- readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
816
- }
817
- interface WebhookResponseList {
818
- readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
819
- }
820
- interface WebhookResponseSingle {
821
- readonly webhook: io.flow.shopify.external.v0.models.Webhook;
822
- }
823
- }
824
1
  declare namespace io.flow.v0.enums {
825
2
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
826
3
  type Aggregate = 'maximum' | 'minimum';
@@ -1016,9 +193,7 @@ declare namespace io.flow.v0.models {
1016
193
  readonly amount: number;
1017
194
  readonly currency: string;
1018
195
  readonly key?: string;
1019
- readonly attributes?: {
1020
- [key: string]: string;
1021
- };
196
+ readonly attributes?: Record<string, string>;
1022
197
  readonly ip?: string;
1023
198
  }
1024
199
  interface Address {
@@ -1240,9 +415,7 @@ declare namespace io.flow.v0.models {
1240
415
  readonly source_authorization_key: string;
1241
416
  readonly amount: number;
1242
417
  readonly currency: string;
1243
- readonly attributes?: {
1244
- [key: string]: string;
1245
- };
418
+ readonly attributes?: Record<string, string>;
1246
419
  }
1247
420
  interface AuthorizationDeletedV2 {
1248
421
  readonly discriminator: 'authorization_deleted_v2';
@@ -1293,9 +466,7 @@ declare namespace io.flow.v0.models {
1293
466
  readonly discriminator: 'authorization_result_action_post';
1294
467
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1295
468
  readonly url: string;
1296
- readonly parameters: {
1297
- [key: string]: string;
1298
- };
469
+ readonly parameters: any;
1299
470
  }
1300
471
  interface AuthorizationResultActionWait {
1301
472
  readonly discriminator: 'authorization_result_action_wait';
@@ -1356,9 +527,7 @@ declare namespace io.flow.v0.models {
1356
527
  readonly timestamp: string;
1357
528
  readonly organization: string;
1358
529
  readonly experience_key: string;
1359
- readonly available_promotions: {
1360
- [key: string]: string;
1361
- }[];
530
+ readonly available_promotions: any[];
1362
531
  }
1363
532
  interface AvailablePromotionsUpsertedV2 {
1364
533
  readonly discriminator: 'available_promotions_upserted_v2';
@@ -1402,9 +571,7 @@ declare namespace io.flow.v0.models {
1402
571
  readonly invoice: io.flow.v0.models.B2BInvoiceReference;
1403
572
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1404
573
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1405
- readonly attributes: {
1406
- [key: string]: string;
1407
- };
574
+ readonly attributes: Record<string, string>;
1408
575
  }
1409
576
  interface B2BCreditMemoDeleted {
1410
577
  readonly discriminator: 'b2b_credit_memo_deleted';
@@ -1435,9 +602,7 @@ declare namespace io.flow.v0.models {
1435
602
  readonly tax: io.flow.v0.models.Money;
1436
603
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
1437
604
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
1438
- readonly attributes: {
1439
- [key: string]: string;
1440
- };
605
+ readonly attributes: Record<string, string>;
1441
606
  }
1442
607
  interface B2BInvoiceDeleted {
1443
608
  readonly discriminator: 'b2b_invoice_deleted';
@@ -1510,9 +675,7 @@ declare namespace io.flow.v0.models {
1510
675
  readonly currency: string;
1511
676
  readonly requested?: io.flow.v0.models.Money;
1512
677
  readonly created_at: string;
1513
- readonly attributes?: {
1514
- [key: string]: string;
1515
- };
678
+ readonly attributes?: Record<string, string>;
1516
679
  readonly status?: io.flow.v0.enums.CaptureStatus;
1517
680
  readonly base?: io.flow.v0.models.Money;
1518
681
  }
@@ -1533,9 +696,7 @@ declare namespace io.flow.v0.models {
1533
696
  readonly key?: string;
1534
697
  readonly amount?: number;
1535
698
  readonly currency?: string;
1536
- readonly attributes?: {
1537
- [key: string]: string;
1538
- };
699
+ readonly attributes?: Record<string, string>;
1539
700
  }
1540
701
  interface CaptureIdentifier {
1541
702
  readonly id: string;
@@ -1599,9 +760,7 @@ declare namespace io.flow.v0.models {
1599
760
  readonly currency: string;
1600
761
  readonly requested?: io.flow.v0.models.Money;
1601
762
  readonly customer: io.flow.v0.models.OrderCustomer;
1602
- readonly attributes: {
1603
- [key: string]: string;
1604
- };
763
+ readonly attributes: Record<string, string>;
1605
764
  readonly destination?: io.flow.v0.models.Address;
1606
765
  readonly billing_address?: io.flow.v0.models.BillingAddress;
1607
766
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -1765,9 +924,7 @@ declare namespace io.flow.v0.models {
1765
924
  readonly name: string;
1766
925
  readonly categories: string[];
1767
926
  readonly experiences: io.flow.v0.models.ExperienceSummary[];
1768
- readonly attributes: {
1769
- [key: string]: string;
1770
- };
927
+ readonly attributes: Record<string, string>;
1771
928
  readonly images: io.flow.v0.models.CatalogItemDocumentImages;
1772
929
  }
1773
930
  interface CatalogItemDocumentImages {
@@ -1786,9 +943,7 @@ declare namespace io.flow.v0.models {
1786
943
  interface CatalogItemSummary {
1787
944
  readonly number: string;
1788
945
  readonly name: string;
1789
- readonly attributes: {
1790
- [key: string]: string;
1791
- };
946
+ readonly attributes: Record<string, string>;
1792
947
  }
1793
948
  interface CatalogItemUpserted {
1794
949
  readonly discriminator: 'catalog_item_upserted';
@@ -1803,15 +958,9 @@ declare namespace io.flow.v0.models {
1803
958
  readonly price: number;
1804
959
  readonly categories: string[];
1805
960
  readonly description?: string;
1806
- readonly attributes: {
1807
- [key: string]: string;
1808
- };
1809
- readonly dimensions: {
1810
- [key: string]: string;
1811
- };
1812
- readonly images: {
1813
- [key: string]: string;
1814
- }[];
961
+ readonly attributes: Record<string, string>;
962
+ readonly dimensions: any;
963
+ readonly images: any[];
1815
964
  }
1816
965
  interface CatalogItemUpsertedV2 {
1817
966
  readonly discriminator: 'catalog_item_upserted_v2';
@@ -2019,9 +1168,7 @@ declare namespace io.flow.v0.models {
2019
1168
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2020
1169
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2021
1170
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2022
- readonly attributes: {
2023
- [key: string]: string;
2024
- };
1171
+ readonly attributes: Record<string, string>;
2025
1172
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2026
1173
  readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType;
2027
1174
  }
@@ -2045,14 +1192,10 @@ declare namespace io.flow.v0.models {
2045
1192
  }
2046
1193
  interface ConsumerInvoiceForm {
2047
1194
  readonly order_number: string;
2048
- readonly attributes?: {
2049
- [key: string]: string;
2050
- };
1195
+ readonly attributes?: Record<string, string>;
2051
1196
  }
2052
1197
  interface ConsumerInvoiceFormByOrder {
2053
- readonly attributes?: {
2054
- [key: string]: string;
2055
- };
1198
+ readonly attributes?: Record<string, string>;
2056
1199
  }
2057
1200
  interface ConsumerInvoiceLevy {
2058
1201
  readonly rate: number;
@@ -2174,9 +1317,7 @@ declare namespace io.flow.v0.models {
2174
1317
  readonly payments: io.flow.v0.models.ConsumerInvoicePayment[];
2175
1318
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[];
2176
1319
  readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[];
2177
- readonly attributes: {
2178
- [key: string]: string;
2179
- };
1320
+ readonly attributes: Record<string, string>;
2180
1321
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
2181
1322
  }
2182
1323
  interface CreditMemoDeleted {
@@ -2191,9 +1332,7 @@ declare namespace io.flow.v0.models {
2191
1332
  readonly refund_key?: string;
2192
1333
  readonly refund_identifier?: string;
2193
1334
  readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[];
2194
- readonly attributes?: {
2195
- [key: string]: string;
2196
- };
1335
+ readonly attributes?: Record<string, string>;
2197
1336
  }
2198
1337
  interface CreditMemoUpserted {
2199
1338
  readonly discriminator: 'credit_memo_upserted';
@@ -2209,9 +1348,7 @@ declare namespace io.flow.v0.models {
2209
1348
  readonly description: string;
2210
1349
  readonly value: io.flow.v0.models.PriceWithBase;
2211
1350
  readonly original: io.flow.v0.models.OriginalPrices;
2212
- readonly attributes: {
2213
- [key: string]: string;
2214
- };
1351
+ readonly attributes: Record<string, string>;
2215
1352
  }
2216
1353
  interface CreditPaymentError {
2217
1354
  readonly code: io.flow.v0.enums.CreditPaymentErrorCode;
@@ -2224,9 +1361,7 @@ declare namespace io.flow.v0.models {
2224
1361
  readonly amount: number;
2225
1362
  readonly max: number;
2226
1363
  readonly currency: string;
2227
- readonly attributes?: {
2228
- [key: string]: string;
2229
- };
1364
+ readonly attributes?: Record<string, string>;
2230
1365
  }
2231
1366
  interface CreditPaymentVersion {
2232
1367
  readonly id: string;
@@ -2252,15 +1387,17 @@ declare namespace io.flow.v0.models {
2252
1387
  readonly organization: string;
2253
1388
  readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment;
2254
1389
  }
1390
+ interface CryptopayAuthorizationDetails {
1391
+ readonly discriminator: 'cryptopay_authorization_details';
1392
+ readonly payment_id: string;
1393
+ }
2255
1394
  interface CsvPriceBookItemExportRow {
2256
1395
  readonly price_book_key: string;
2257
1396
  readonly price_book_item_key: string;
2258
1397
  readonly item_number: string;
2259
1398
  readonly item_name: string;
2260
1399
  readonly amount: number;
2261
- readonly item_attributes?: {
2262
- [key: string]: string;
2263
- };
1400
+ readonly item_attributes?: Record<string, string>;
2264
1401
  readonly starts_at: string;
2265
1402
  readonly ends_at?: string;
2266
1403
  }
@@ -2412,9 +1549,7 @@ declare namespace io.flow.v0.models {
2412
1549
  readonly quantity: number;
2413
1550
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
2414
1551
  readonly price?: io.flow.v0.models.MoneyWithOptionalBase;
2415
- readonly attributes?: {
2416
- [key: string]: string;
2417
- };
1552
+ readonly attributes?: Record<string, string>;
2418
1553
  readonly center?: string;
2419
1554
  readonly line_number?: number;
2420
1555
  }
@@ -2517,9 +1652,7 @@ declare namespace io.flow.v0.models {
2517
1652
  readonly destination: io.flow.v0.models.ShippingAddress;
2518
1653
  readonly origin: io.flow.v0.models.ShippingAddress;
2519
1654
  readonly package: io.flow.v0.models.ShippingLabelPackage;
2520
- readonly attributes?: {
2521
- [key: string]: string;
2522
- };
1655
+ readonly attributes?: Record<string, string>;
2523
1656
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
2524
1657
  readonly direction?: io.flow.v0.enums.Direction;
2525
1658
  readonly order_number?: string;
@@ -2529,9 +1662,7 @@ declare namespace io.flow.v0.models {
2529
1662
  interface DetailedShippingNotificationForm {
2530
1663
  readonly discriminator: 'detailed_shipping_notification_form';
2531
1664
  readonly key?: string;
2532
- readonly attributes?: {
2533
- [key: string]: string;
2534
- };
1665
+ readonly attributes?: Record<string, string>;
2535
1666
  readonly carrier_tracking_number: string;
2536
1667
  readonly destination: io.flow.v0.models.ShippingAddress;
2537
1668
  readonly order_number: string;
@@ -2584,9 +1715,7 @@ declare namespace io.flow.v0.models {
2584
1715
  readonly customer?: io.flow.v0.models.OrderCustomer;
2585
1716
  readonly key?: string;
2586
1717
  readonly cvv?: string;
2587
- readonly attributes?: {
2588
- [key: string]: string;
2589
- };
1718
+ readonly attributes?: Record<string, string>;
2590
1719
  readonly destination?: io.flow.v0.models.Address;
2591
1720
  readonly billing_address?: io.flow.v0.models.BillingAddress;
2592
1721
  readonly ip?: string;
@@ -2605,9 +1734,7 @@ declare namespace io.flow.v0.models {
2605
1734
  readonly code?: string;
2606
1735
  readonly label: string;
2607
1736
  readonly price: io.flow.v0.models.PriceWithBase;
2608
- readonly attributes?: {
2609
- [key: string]: string;
2610
- };
1737
+ readonly attributes?: Record<string, string>;
2611
1738
  }
2612
1739
  interface DiscountForm {
2613
1740
  readonly offer: io.flow.v0.unions.DiscountOffer;
@@ -3011,9 +2138,7 @@ declare namespace io.flow.v0.models {
3011
2138
  readonly item: io.flow.v0.models.LocalizedItemPrice;
3012
2139
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
3013
2140
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
3014
- readonly price_attributes: {
3015
- [key: string]: io.flow.v0.models.PriceWithBase;
3016
- };
2141
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
3017
2142
  }
3018
2143
  interface ExportVersion {
3019
2144
  readonly id: string;
@@ -3085,17 +2210,13 @@ declare namespace io.flow.v0.models {
3085
2210
  readonly key: string;
3086
2211
  readonly trigger: io.flow.v0.models.OrderPromotionTrigger;
3087
2212
  readonly max?: io.flow.v0.models.Price;
3088
- readonly attributes: {
3089
- [key: string]: string;
3090
- };
2213
+ readonly attributes: Record<string, string>;
3091
2214
  }
3092
2215
  interface FreeShippingOrderPromotionForm {
3093
2216
  readonly discriminator: 'free_shipping_order_promotion_form';
3094
2217
  readonly trigger: io.flow.v0.models.PromotionTriggerForm;
3095
2218
  readonly max?: io.flow.v0.models.PriceForm;
3096
- readonly attributes?: {
3097
- [key: string]: string;
3098
- };
2219
+ readonly attributes?: Record<string, string>;
3099
2220
  }
3100
2221
  interface FtpAccount {
3101
2222
  readonly server: io.flow.v0.models.FtpServer;
@@ -3216,9 +2337,7 @@ declare namespace io.flow.v0.models {
3216
2337
  }
3217
2338
  interface GooglePayAuthorizationPayload {
3218
2339
  readonly discriminator: 'google_pay_authorization_payload';
3219
- readonly payload: {
3220
- [key: string]: string;
3221
- };
2340
+ readonly payload: any;
3222
2341
  }
3223
2342
  interface HarmonizationDocument {
3224
2343
  readonly discriminator: 'harmonization_document';
@@ -3264,9 +2383,7 @@ declare namespace io.flow.v0.models {
3264
2383
  readonly number: string;
3265
2384
  readonly name: string;
3266
2385
  readonly categories: string[];
3267
- readonly attributes: {
3268
- [key: string]: string;
3269
- };
2386
+ readonly attributes: Record<string, string>;
3270
2387
  readonly description?: string;
3271
2388
  }
3272
2389
  interface HarmonizedItemForm {
@@ -3276,9 +2393,7 @@ declare namespace io.flow.v0.models {
3276
2393
  readonly price: number;
3277
2394
  readonly categories?: string[];
3278
2395
  readonly description?: string;
3279
- readonly attributes?: {
3280
- [key: string]: string;
3281
- };
2396
+ readonly attributes?: Record<string, string>;
3282
2397
  }
3283
2398
  interface HarmonizedItemPutForm {
3284
2399
  readonly name: string;
@@ -3286,9 +2401,7 @@ declare namespace io.flow.v0.models {
3286
2401
  readonly price: number;
3287
2402
  readonly categories?: string[];
3288
2403
  readonly description?: string;
3289
- readonly attributes?: {
3290
- [key: string]: string;
3291
- };
2404
+ readonly attributes?: Record<string, string>;
3292
2405
  }
3293
2406
  interface HarmonizedItemReference {
3294
2407
  readonly id: string;
@@ -3403,16 +2516,12 @@ declare namespace io.flow.v0.models {
3403
2516
  interface Image {
3404
2517
  readonly url: string;
3405
2518
  readonly tags: io.flow.v0.enums.ImageTag[];
3406
- readonly attributes?: {
3407
- [key: string]: string;
3408
- };
2519
+ readonly attributes?: Record<string, string>;
3409
2520
  }
3410
2521
  interface ImageForm {
3411
2522
  readonly url: string;
3412
2523
  readonly tags?: io.flow.v0.enums.ImageTag[];
3413
- readonly attributes?: {
3414
- [key: string]: string;
3415
- };
2524
+ readonly attributes?: Record<string, string>;
3416
2525
  }
3417
2526
  interface Import {
3418
2527
  readonly id: string;
@@ -3465,9 +2574,7 @@ declare namespace io.flow.v0.models {
3465
2574
  readonly discriminator: 'inline_authorization_details';
3466
2575
  readonly id: string;
3467
2576
  readonly client_token?: string;
3468
- readonly parameters?: {
3469
- [key: string]: string;
3470
- };
2577
+ readonly parameters?: any;
3471
2578
  }
3472
2579
  interface InlineAuthorizationForm {
3473
2580
  readonly discriminator: 'inline_authorization_form';
@@ -3478,16 +2585,12 @@ declare namespace io.flow.v0.models {
3478
2585
  readonly currency: string;
3479
2586
  readonly billing_address?: io.flow.v0.models.BillingAddress;
3480
2587
  readonly key?: string;
3481
- readonly attributes?: {
3482
- [key: string]: string;
3483
- };
2588
+ readonly attributes?: Record<string, string>;
3484
2589
  readonly ip?: string;
3485
2590
  readonly payload?: io.flow.v0.models.AuthorizationPayload;
3486
2591
  }
3487
2592
  interface InputForm {
3488
- readonly values?: {
3489
- [key: string]: string;
3490
- };
2593
+ readonly values?: Record<string, string>;
3491
2594
  }
3492
2595
  interface InputFormSpecification {
3493
2596
  readonly inputs?: io.flow.v0.models.InputSpecification[];
@@ -3576,9 +2679,7 @@ declare namespace io.flow.v0.models {
3576
2679
  readonly idempotency_key: string;
3577
2680
  readonly center: io.flow.v0.models.InventoryCenterReference;
3578
2681
  readonly item: io.flow.v0.models.InventoryItemReference;
3579
- readonly notes: {
3580
- [key: string]: string;
3581
- };
2682
+ readonly notes: any;
3582
2683
  readonly quantity: number;
3583
2684
  readonly type: io.flow.v0.enums.UpdateType;
3584
2685
  }
@@ -3588,9 +2689,7 @@ declare namespace io.flow.v0.models {
3588
2689
  readonly item_number: string;
3589
2690
  readonly quantity: number;
3590
2691
  readonly type: io.flow.v0.enums.UpdateType;
3591
- readonly notes?: {
3592
- [key: string]: string;
3593
- };
2692
+ readonly notes?: any;
3594
2693
  }
3595
2694
  interface InventoryUpdateVersion {
3596
2695
  readonly id: string;
@@ -3654,17 +2753,13 @@ declare namespace io.flow.v0.models {
3654
2753
  readonly price: io.flow.v0.models.Price;
3655
2754
  readonly categories: string[];
3656
2755
  readonly description?: string;
3657
- readonly attributes: {
3658
- [key: string]: string;
3659
- };
2756
+ readonly attributes: Record<string, string>;
3660
2757
  readonly dimensions: io.flow.v0.models.Dimensions;
3661
2758
  readonly images: io.flow.v0.models.Image[];
3662
2759
  readonly local?: io.flow.v0.models.Local;
3663
2760
  }
3664
2761
  interface ItemAttributesPatchForm {
3665
- readonly attributes: {
3666
- [key: string]: string;
3667
- };
2762
+ readonly attributes: Record<string, string>;
3668
2763
  }
3669
2764
  interface ItemForm {
3670
2765
  readonly number: string;
@@ -3674,9 +2769,7 @@ declare namespace io.flow.v0.models {
3674
2769
  readonly price: number;
3675
2770
  readonly categories?: string[];
3676
2771
  readonly description?: string;
3677
- readonly attributes?: {
3678
- [key: string]: string;
3679
- };
2772
+ readonly attributes?: Record<string, string>;
3680
2773
  readonly dimensions?: io.flow.v0.models.Dimensions;
3681
2774
  readonly images?: io.flow.v0.models.ImageForm[];
3682
2775
  }
@@ -3688,9 +2781,7 @@ declare namespace io.flow.v0.models {
3688
2781
  readonly price?: io.flow.v0.models.Price;
3689
2782
  readonly categories?: string[];
3690
2783
  readonly description?: string;
3691
- readonly attributes?: {
3692
- [key: string]: string;
3693
- };
2784
+ readonly attributes?: Record<string, string>;
3694
2785
  readonly dimensions?: io.flow.v0.models.Dimensions;
3695
2786
  readonly images?: io.flow.v0.models.ImageForm[];
3696
2787
  }
@@ -3701,9 +2792,7 @@ declare namespace io.flow.v0.models {
3701
2792
  readonly position?: number;
3702
2793
  readonly categories?: string[];
3703
2794
  readonly description?: string;
3704
- readonly attributes?: {
3705
- [key: string]: string;
3706
- };
2795
+ readonly attributes?: Record<string, string>;
3707
2796
  readonly dimensions?: io.flow.v0.models.Dimensions;
3708
2797
  readonly images?: io.flow.v0.models.ImageForm[];
3709
2798
  }
@@ -3779,16 +2868,12 @@ declare namespace io.flow.v0.models {
3779
2868
  readonly number: string;
3780
2869
  readonly currency?: string;
3781
2870
  readonly price: number;
3782
- readonly attributes: {
3783
- [key: string]: string;
3784
- };
2871
+ readonly attributes: Record<string, string>;
3785
2872
  }
3786
2873
  interface ItemPriceUpdatePutForm {
3787
2874
  readonly currency?: string;
3788
2875
  readonly price: number;
3789
- readonly attributes: {
3790
- [key: string]: string;
3791
- };
2876
+ readonly attributes: Record<string, string>;
3792
2877
  }
3793
2878
  interface ItemQuerySuggestion {
3794
2879
  readonly q: string;
@@ -3834,12 +2919,8 @@ declare namespace io.flow.v0.models {
3834
2919
  }
3835
2920
  interface JsonpResponse {
3836
2921
  readonly status: number;
3837
- readonly headers: {
3838
- [key: string]: string[];
3839
- };
3840
- readonly body: {
3841
- [key: string]: string;
3842
- };
2922
+ readonly headers: Record<string, string[]>;
2923
+ readonly body: any;
3843
2924
  }
3844
2925
  interface KlaviyoLineItem {
3845
2926
  readonly content: io.flow.v0.models.CheckoutItemContent;
@@ -3940,17 +3021,13 @@ declare namespace io.flow.v0.models {
3940
3021
  readonly quantity: number;
3941
3022
  readonly price: io.flow.v0.models.PriceWithBase;
3942
3023
  readonly total: io.flow.v0.models.PriceWithBase;
3943
- readonly attributes?: {
3944
- [key: string]: string;
3945
- };
3024
+ readonly attributes?: Record<string, string>;
3946
3025
  }
3947
3026
  interface LineItem {
3948
3027
  readonly number: string;
3949
3028
  readonly quantity: number;
3950
3029
  readonly price: io.flow.v0.models.Money;
3951
- readonly attributes: {
3952
- [key: string]: string;
3953
- };
3030
+ readonly attributes: Record<string, string>;
3954
3031
  readonly center?: string;
3955
3032
  readonly discount?: io.flow.v0.models.Money;
3956
3033
  }
@@ -3959,9 +3036,7 @@ declare namespace io.flow.v0.models {
3959
3036
  readonly quantity: number;
3960
3037
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
3961
3038
  readonly price?: io.flow.v0.models.Money;
3962
- readonly attributes?: {
3963
- [key: string]: string;
3964
- };
3039
+ readonly attributes?: Record<string, string>;
3965
3040
  readonly center?: string;
3966
3041
  readonly discount?: io.flow.v0.models.Money;
3967
3042
  readonly discounts?: io.flow.v0.models.DiscountsForm;
@@ -3973,16 +3048,10 @@ declare namespace io.flow.v0.models {
3973
3048
  readonly experience: io.flow.v0.models.ExperienceSummary;
3974
3049
  readonly prices: io.flow.v0.unions.LocalizedPrice[];
3975
3050
  readonly rates: io.flow.v0.models.Rate[];
3976
- readonly spot_rates: {
3977
- [key: string]: string;
3978
- }[];
3051
+ readonly spot_rates: any[];
3979
3052
  readonly status: io.flow.v0.enums.SubcatalogItemStatus;
3980
- readonly attributes?: {
3981
- [key: string]: string;
3982
- };
3983
- readonly price_attributes?: {
3984
- [key: string]: io.flow.v0.models.PriceWithBase;
3985
- };
3053
+ readonly attributes?: Record<string, string>;
3054
+ readonly price_attributes?: Record<string, io.flow.v0.models.PriceWithBase>;
3986
3055
  }
3987
3056
  interface LocalItem {
3988
3057
  readonly id: string;
@@ -4003,9 +3072,7 @@ declare namespace io.flow.v0.models {
4003
3072
  readonly price: io.flow.v0.models.LocalizedItemPrice;
4004
3073
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
4005
3074
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
4006
- readonly attributes: {
4007
- [key: string]: io.flow.v0.models.PriceWithBase;
4008
- };
3075
+ readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
4009
3076
  }
4010
3077
  interface LocalItemUpserted {
4011
3078
  readonly discriminator: 'local_item_upserted';
@@ -4086,9 +3153,7 @@ declare namespace io.flow.v0.models {
4086
3153
  readonly price?: io.flow.v0.models.Money;
4087
3154
  readonly discount?: io.flow.v0.models.LocalizedLineItemDiscount;
4088
3155
  readonly discounts?: io.flow.v0.models.LocalizedLineItemDiscount[];
4089
- readonly attributes?: {
4090
- [key: string]: string;
4091
- };
3156
+ readonly attributes?: Record<string, string>;
4092
3157
  readonly local: io.flow.v0.models.Local;
4093
3158
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
4094
3159
  readonly price_source?: io.flow.v0.unions.PriceSource;
@@ -4227,9 +3292,7 @@ declare namespace io.flow.v0.models {
4227
3292
  readonly currency?: string;
4228
3293
  readonly key?: string;
4229
3294
  readonly cvv?: string;
4230
- readonly attributes?: {
4231
- [key: string]: string;
4232
- };
3295
+ readonly attributes?: Record<string, string>;
4233
3296
  readonly ip?: string;
4234
3297
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
4235
3298
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
@@ -4333,16 +3396,12 @@ declare namespace io.flow.v0.models {
4333
3396
  readonly method?: io.flow.v0.models.PaymentMethod;
4334
3397
  readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord;
4335
3398
  readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails;
4336
- readonly payment?: {
4337
- [key: string]: string;
4338
- };
3399
+ readonly payment?: any;
4339
3400
  readonly amount: number;
4340
3401
  readonly currency: string;
4341
3402
  readonly requested?: io.flow.v0.models.Money;
4342
3403
  readonly customer: io.flow.v0.models.OrderCustomer;
4343
- readonly attributes: {
4344
- [key: string]: string;
4345
- };
3404
+ readonly attributes: Record<string, string>;
4346
3405
  readonly destination?: io.flow.v0.models.Address;
4347
3406
  readonly billing_address?: io.flow.v0.models.BillingAddress;
4348
3407
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
@@ -4367,6 +3426,11 @@ declare namespace io.flow.v0.models {
4367
3426
  readonly id: string;
4368
3427
  readonly authorization: io.flow.v0.models.OnlineAuthorization;
4369
3428
  }
3429
+ interface OnlinePaymentAuthorizationForm {
3430
+ readonly discriminator: 'online_payment_authorization_form';
3431
+ readonly payment_id: string;
3432
+ readonly key?: string;
3433
+ }
4370
3434
  interface OptinResponse {
4371
3435
  readonly key: string;
4372
3436
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -4395,9 +3459,7 @@ declare namespace io.flow.v0.models {
4395
3459
  readonly selections: string[];
4396
3460
  readonly prices: io.flow.v0.models.OrderPriceDetail[];
4397
3461
  readonly total: io.flow.v0.models.LocalizedTotal;
4398
- readonly attributes: {
4399
- [key: string]: string;
4400
- };
3462
+ readonly attributes: Record<string, string>;
4401
3463
  readonly submitted_at?: string;
4402
3464
  readonly lines?: io.flow.v0.models.Line[];
4403
3465
  readonly identifiers?: string[];
@@ -4424,9 +3486,7 @@ declare namespace io.flow.v0.models {
4424
3486
  readonly errors?: io.flow.v0.models.OrderError[];
4425
3487
  }
4426
3488
  interface OrderBuilderAttributesForm {
4427
- readonly attributes: {
4428
- [key: string]: string;
4429
- };
3489
+ readonly attributes: Record<string, string>;
4430
3490
  }
4431
3491
  interface OrderBuilderCustomerInvoiceAddressForm {
4432
3492
  readonly address: io.flow.v0.models.BillingAddress;
@@ -4514,9 +3574,7 @@ declare namespace io.flow.v0.models {
4514
3574
  readonly destination?: io.flow.v0.models.OrderAddress;
4515
3575
  readonly discount?: io.flow.v0.models.Money;
4516
3576
  readonly discounts?: io.flow.v0.models.DiscountsForm;
4517
- readonly attributes?: {
4518
- [key: string]: string;
4519
- };
3577
+ readonly attributes?: Record<string, string>;
4520
3578
  readonly authorization_keys?: string[];
4521
3579
  readonly options?: io.flow.v0.models.OrderOptions;
4522
3580
  }
@@ -4634,9 +3692,7 @@ declare namespace io.flow.v0.models {
4634
3692
  readonly total: io.flow.v0.models.PriceWithBase;
4635
3693
  readonly address?: io.flow.v0.models.BillingAddress;
4636
3694
  readonly date?: string;
4637
- readonly attributes?: {
4638
- [key: string]: string;
4639
- };
3695
+ readonly attributes?: Record<string, string>;
4640
3696
  }
4641
3697
  interface OrderPlaced {
4642
3698
  readonly discriminator: 'order_placed';
@@ -4691,9 +3747,7 @@ declare namespace io.flow.v0.models {
4691
3747
  readonly destination?: io.flow.v0.models.OrderAddress;
4692
3748
  readonly discount?: io.flow.v0.models.Money;
4693
3749
  readonly discounts?: io.flow.v0.models.DiscountsForm;
4694
- readonly attributes?: {
4695
- [key: string]: string;
4696
- };
3750
+ readonly attributes?: Record<string, string>;
4697
3751
  readonly authorization_keys?: string[];
4698
3752
  readonly options?: io.flow.v0.models.OrderOptions;
4699
3753
  }
@@ -4750,9 +3804,7 @@ declare namespace io.flow.v0.models {
4750
3804
  readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail;
4751
3805
  readonly total: io.flow.v0.models.OrderSummaryPriceDetail;
4752
3806
  readonly lines: io.flow.v0.models.OrderSummaryLineItem[];
4753
- readonly identifiers?: {
4754
- [key: string]: string;
4755
- };
3807
+ readonly identifiers?: Record<string, string>;
4756
3808
  }
4757
3809
  interface OrderSummaryImage {
4758
3810
  readonly url: string;
@@ -4767,9 +3819,7 @@ declare namespace io.flow.v0.models {
4767
3819
  readonly discount?: io.flow.v0.models.Price;
4768
3820
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4769
3821
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4770
- readonly price_attributes: {
4771
- [key: string]: io.flow.v0.models.Price;
4772
- };
3822
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
4773
3823
  }
4774
3824
  interface OrderSummaryLevy {
4775
3825
  readonly rate: number;
@@ -4783,9 +3833,7 @@ declare namespace io.flow.v0.models {
4783
3833
  readonly tax?: io.flow.v0.models.OrderSummaryLevy;
4784
3834
  readonly duty?: io.flow.v0.models.OrderSummaryLevy;
4785
3835
  readonly total: io.flow.v0.models.Price;
4786
- readonly price_attributes: {
4787
- [key: string]: io.flow.v0.models.Price;
4788
- };
3836
+ readonly price_attributes: Record<string, io.flow.v0.models.Price>;
4789
3837
  }
4790
3838
  interface OrderSummaryPriceDetail {
4791
3839
  readonly price: io.flow.v0.models.Price;
@@ -4817,9 +3865,7 @@ declare namespace io.flow.v0.models {
4817
3865
  readonly updated_at?: string;
4818
3866
  readonly submitted_at?: string;
4819
3867
  readonly lines?: io.flow.v0.models.Line[];
4820
- readonly attributes?: {
4821
- [key: string]: string;
4822
- };
3868
+ readonly attributes?: Record<string, string>;
4823
3869
  readonly geo?: io.flow.v0.models.OrderGeo;
4824
3870
  readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord;
4825
3871
  readonly tax_registration?: io.flow.v0.models.TaxRegistration;
@@ -4952,9 +3998,7 @@ declare namespace io.flow.v0.models {
4952
3998
  readonly visitor: io.flow.v0.models.SessionVisitor;
4953
3999
  readonly visit: io.flow.v0.models.SessionVisit;
4954
4000
  readonly environment: io.flow.v0.enums.Environment;
4955
- readonly attributes: {
4956
- [key: string]: string;
4957
- };
4001
+ readonly attributes: Record<string, string>;
4958
4002
  readonly ip?: string;
4959
4003
  readonly local?: io.flow.v0.models.LocalSession;
4960
4004
  readonly geo?: io.flow.v0.models.SessionGeo;
@@ -5101,6 +4145,14 @@ declare namespace io.flow.v0.models {
5101
4145
  interface PasswordResetRequestForm {
5102
4146
  readonly email: string;
5103
4147
  }
4148
+ interface PaymentCryptopay {
4149
+ readonly discriminator: 'payment_cryptopay';
4150
+ readonly id: string;
4151
+ readonly order?: io.flow.v0.models.AuthorizationOrderReference;
4152
+ readonly amount: number;
4153
+ readonly currency: string;
4154
+ readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
4155
+ }
5104
4156
  interface PaymentDeleted {
5105
4157
  readonly discriminator: 'payment_deleted';
5106
4158
  readonly event_id: string;
@@ -5140,9 +4192,7 @@ declare namespace io.flow.v0.models {
5140
4192
  readonly display_position: number;
5141
4193
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
5142
4194
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
5143
- readonly programs?: {
5144
- [key: string]: string;
5145
- }[];
4195
+ readonly programs?: any[];
5146
4196
  readonly q?: io.flow.v0.models.Query;
5147
4197
  }
5148
4198
  interface PaymentMethodRuleContent {
@@ -5155,10 +4205,7 @@ declare namespace io.flow.v0.models {
5155
4205
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
5156
4206
  readonly amount: number;
5157
4207
  readonly currency: string;
5158
- readonly paypal: io.flow.v0.models.PaymentPaypalData;
5159
- }
5160
- interface PaymentPaypalData {
5161
- readonly payment_id: string;
4208
+ readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
5162
4209
  }
5163
4210
  interface PaymentReference {
5164
4211
  readonly id: string;
@@ -5189,9 +4236,7 @@ declare namespace io.flow.v0.models {
5189
4236
  readonly paypal_payment_id: string;
5190
4237
  readonly paypal_payer_id: string;
5191
4238
  readonly key?: string;
5192
- readonly attributes?: {
5193
- [key: string]: string;
5194
- };
4239
+ readonly attributes?: Record<string, string>;
5195
4240
  readonly ip?: string;
5196
4241
  }
5197
4242
  interface PercentMargin {
@@ -5220,9 +4265,7 @@ declare namespace io.flow.v0.models {
5220
4265
  readonly path: string;
5221
4266
  }
5222
4267
  interface PfsInventoryCheckResponse {
5223
- readonly items: {
5224
- [key: string]: io.flow.v0.models.PfsInventoryCheckResponseItem;
5225
- };
4268
+ readonly items: Record<string, io.flow.v0.models.PfsInventoryCheckResponseItem>;
5226
4269
  }
5227
4270
  interface PfsInventoryCheckResponseItem {
5228
4271
  readonly number: string;
@@ -5281,9 +4324,7 @@ declare namespace io.flow.v0.models {
5281
4324
  readonly price: io.flow.v0.models.Price;
5282
4325
  readonly item_number: string;
5283
4326
  readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
5284
- readonly item_attributes?: {
5285
- [key: string]: string;
5286
- };
4327
+ readonly item_attributes?: Record<string, string>;
5287
4328
  }
5288
4329
  interface PriceBookItemDeleted {
5289
4330
  readonly discriminator: 'price_book_item_deleted';
@@ -5304,18 +4345,14 @@ declare namespace io.flow.v0.models {
5304
4345
  readonly item_number: string;
5305
4346
  readonly amount: number;
5306
4347
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
5307
- readonly item_attributes?: {
5308
- [key: string]: string;
5309
- };
4348
+ readonly item_attributes?: Record<string, string>;
5310
4349
  }
5311
4350
  interface PriceBookItemQueryForm {
5312
4351
  readonly price_book_key: string;
5313
4352
  readonly item_query: string;
5314
4353
  readonly amount: number;
5315
4354
  readonly schedule?: io.flow.v0.models.PriceBookItemSchedule;
5316
- readonly item_attributes?: {
5317
- [key: string]: string;
5318
- };
4355
+ readonly item_attributes?: Record<string, string>;
5319
4356
  }
5320
4357
  interface PriceBookItemSchedule {
5321
4358
  readonly starts_at: string;
@@ -5540,9 +4577,7 @@ declare namespace io.flow.v0.models {
5540
4577
  readonly quantity: number;
5541
4578
  readonly shipment_estimate?: io.flow.v0.models.DatetimeRange;
5542
4579
  readonly price: io.flow.v0.models.MoneyWithBase;
5543
- readonly attributes?: {
5544
- [key: string]: string;
5545
- };
4580
+ readonly attributes?: Record<string, string>;
5546
4581
  readonly center?: string;
5547
4582
  }
5548
4583
  interface QuoteSummary {
@@ -5819,9 +4854,7 @@ declare namespace io.flow.v0.models {
5819
4854
  readonly currency: string;
5820
4855
  readonly redirect_urls: io.flow.v0.models.PostPaymentRedirectUrls;
5821
4856
  readonly key?: string;
5822
- readonly attributes?: {
5823
- [key: string]: string;
5824
- };
4857
+ readonly attributes?: Record<string, string>;
5825
4858
  readonly ip?: string;
5826
4859
  }
5827
4860
  interface Refund {
@@ -5833,9 +4866,7 @@ declare namespace io.flow.v0.models {
5833
4866
  readonly requested?: io.flow.v0.models.Money;
5834
4867
  readonly captures: io.flow.v0.models.RefundCaptureSummary[];
5835
4868
  readonly created_at: string;
5836
- readonly attributes?: {
5837
- [key: string]: string;
5838
- };
4869
+ readonly attributes?: Record<string, string>;
5839
4870
  readonly status?: io.flow.v0.enums.RefundStatus;
5840
4871
  readonly base?: io.flow.v0.models.Money;
5841
4872
  }
@@ -5880,9 +4911,7 @@ declare namespace io.flow.v0.models {
5880
4911
  readonly amount?: number;
5881
4912
  readonly currency?: string;
5882
4913
  readonly rma_key?: string;
5883
- readonly attributes?: {
5884
- [key: string]: string;
5885
- };
4914
+ readonly attributes?: Record<string, string>;
5886
4915
  }
5887
4916
  interface RefundIdentifier {
5888
4917
  readonly id: string;
@@ -6084,9 +5113,7 @@ declare namespace io.flow.v0.models {
6084
5113
  readonly currency: string;
6085
5114
  readonly requested: io.flow.v0.models.Money;
6086
5115
  readonly created_at: string;
6087
- readonly attributes: {
6088
- [key: string]: string;
6089
- };
5116
+ readonly attributes: Record<string, string>;
6090
5117
  readonly base?: io.flow.v0.models.Money;
6091
5118
  }
6092
5119
  interface ReversalDeleted {
@@ -6106,17 +5133,13 @@ declare namespace io.flow.v0.models {
6106
5133
  readonly authorization_id: string;
6107
5134
  readonly amount?: number;
6108
5135
  readonly currency?: string;
6109
- readonly attributes?: {
6110
- [key: string]: string;
6111
- };
5136
+ readonly attributes?: Record<string, string>;
6112
5137
  }
6113
5138
  interface ReversalPutForm {
6114
5139
  readonly authorization_id: string;
6115
5140
  readonly amount?: number;
6116
5141
  readonly currency?: string;
6117
- readonly attributes?: {
6118
- [key: string]: string;
6119
- };
5142
+ readonly attributes?: Record<string, string>;
6120
5143
  }
6121
5144
  interface ReversalUpserted {
6122
5145
  readonly discriminator: 'reversal_upserted';
@@ -6194,9 +5217,7 @@ declare namespace io.flow.v0.models {
6194
5217
  readonly item_price: io.flow.v0.models.Price;
6195
5218
  readonly status: io.flow.v0.enums.SerialStatus;
6196
5219
  readonly center: io.flow.v0.models.CenterReference;
6197
- readonly attributes: {
6198
- [key: string]: string;
6199
- };
5220
+ readonly attributes: Record<string, string>;
6200
5221
  }
6201
5222
  interface SerialDeleted {
6202
5223
  readonly discriminator: 'serial_deleted';
@@ -6211,9 +5232,7 @@ declare namespace io.flow.v0.models {
6211
5232
  readonly item_currency: string;
6212
5233
  readonly status: io.flow.v0.enums.SerialStatus;
6213
5234
  readonly center_key?: string;
6214
- readonly attributes?: {
6215
- [key: string]: string;
6216
- };
5235
+ readonly attributes?: Record<string, string>;
6217
5236
  }
6218
5237
  interface SerialUpserted {
6219
5238
  readonly discriminator: 'serial_upserted';
@@ -6270,9 +5289,7 @@ declare namespace io.flow.v0.models {
6270
5289
  readonly currency?: string;
6271
5290
  readonly language?: string;
6272
5291
  readonly locale?: string;
6273
- readonly attributes?: {
6274
- [key: string]: string;
6275
- };
5292
+ readonly attributes?: Record<string, string>;
6276
5293
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
6277
5294
  }
6278
5295
  interface SessionFormat {
@@ -6291,9 +5308,7 @@ declare namespace io.flow.v0.models {
6291
5308
  readonly currency?: string;
6292
5309
  readonly language?: string;
6293
5310
  readonly locale?: string;
6294
- readonly attributes?: {
6295
- [key: string]: string;
6296
- };
5311
+ readonly attributes?: Record<string, string>;
6297
5312
  readonly experiment?: io.flow.v0.models.SessionExperimentForm;
6298
5313
  }
6299
5314
  interface SessionReference {
@@ -6405,9 +5420,7 @@ declare namespace io.flow.v0.models {
6405
5420
  }
6406
5421
  interface ShippingLabel {
6407
5422
  readonly id: string;
6408
- readonly attributes: {
6409
- [key: string]: string;
6410
- };
5423
+ readonly attributes: Record<string, string>;
6411
5424
  readonly carrier_tracking_number: string;
6412
5425
  readonly carrier_tracking_number_url: string;
6413
5426
  readonly cost: io.flow.v0.models.Price;
@@ -6501,9 +5514,7 @@ declare namespace io.flow.v0.models {
6501
5514
  interface ShippingNotification {
6502
5515
  readonly id: string;
6503
5516
  readonly key: string;
6504
- readonly attributes: {
6505
- [key: string]: string;
6506
- };
5517
+ readonly attributes: Record<string, string>;
6507
5518
  readonly carrier_tracking_number: string;
6508
5519
  readonly destination: io.flow.v0.models.ShippingAddress;
6509
5520
  readonly flow_tracking_number: string;
@@ -6528,9 +5539,7 @@ declare namespace io.flow.v0.models {
6528
5539
  readonly item_count: number;
6529
5540
  readonly total_price: number;
6530
5541
  readonly local: io.flow.v0.models.ShopifyLocalCartMetadata;
6531
- readonly attributes?: {
6532
- [key: string]: string;
6533
- };
5542
+ readonly attributes?: any;
6534
5543
  readonly note?: string;
6535
5544
  readonly requires_shipping: boolean;
6536
5545
  readonly total_weight?: number;
@@ -6538,25 +5547,19 @@ declare namespace io.flow.v0.models {
6538
5547
  interface ShopifyCartAddMultipleForm {
6539
5548
  readonly discriminator: 'shopify_cart_add_multiple_form';
6540
5549
  readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[];
6541
- readonly attributes?: {
6542
- [key: string]: string;
6543
- };
5550
+ readonly attributes?: Record<string, string>;
6544
5551
  }
6545
5552
  interface ShopifyCartAddSingleForm {
6546
5553
  readonly discriminator: 'shopify_cart_add_single_form';
6547
5554
  readonly id: number;
6548
5555
  readonly quantity: number;
6549
- readonly properties?: {
6550
- [key: string]: string;
6551
- };
5556
+ readonly properties?: Record<string, string>;
6552
5557
  }
6553
5558
  interface ShopifyCartChangeForm {
6554
5559
  readonly quantity: number;
6555
5560
  readonly line?: number;
6556
5561
  readonly id?: number;
6557
- readonly properties?: {
6558
- [key: string]: string;
6559
- };
5562
+ readonly properties?: Record<string, string>;
6560
5563
  }
6561
5564
  interface ShopifyCartConversion {
6562
5565
  readonly flow: io.flow.v0.models.ShopifyCartConversionFlowOrder;
@@ -6567,7 +5570,7 @@ declare namespace io.flow.v0.models {
6567
5570
  readonly errors?: io.flow.v0.models.OrderError[];
6568
5571
  }
6569
5572
  interface ShopifyCartConversionShopifyCart {
6570
- readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
5573
+ readonly cart: unknown;
6571
5574
  }
6572
5575
  interface ShopifyCartItem {
6573
5576
  readonly id: string;
@@ -6585,9 +5588,7 @@ declare namespace io.flow.v0.models {
6585
5588
  readonly image?: string;
6586
5589
  readonly product_description?: string;
6587
5590
  readonly product_type?: string;
6588
- readonly properties?: {
6589
- [key: string]: string;
6590
- };
5591
+ readonly properties?: Record<string, string>;
6591
5592
  readonly requires_shipping: boolean;
6592
5593
  readonly sku?: string;
6593
5594
  readonly variant_title?: string;
@@ -6694,9 +5695,7 @@ declare namespace io.flow.v0.models {
6694
5695
  readonly id: string;
6695
5696
  }
6696
5697
  interface ShopifyOrderAttributesForm {
6697
- readonly attributes: {
6698
- [key: string]: string;
6699
- };
5698
+ readonly attributes: Record<string, string>;
6700
5699
  }
6701
5700
  interface ShopifyOrderDeliveryMetafield {
6702
5701
  readonly key?: string;
@@ -6715,9 +5714,7 @@ declare namespace io.flow.v0.models {
6715
5714
  }
6716
5715
  interface ShopifyOrderPriceAttributesMetafield {
6717
5716
  readonly item_number: string;
6718
- readonly price_attributes: {
6719
- [key: string]: io.flow.v0.models.PriceWithBase;
6720
- };
5717
+ readonly price_attributes: Record<string, io.flow.v0.models.PriceWithBase>;
6721
5718
  }
6722
5719
  interface ShopifyOrderRomanizationMetafield {
6723
5720
  readonly destination: io.flow.v0.models.OrderAddress;
@@ -7144,9 +6141,7 @@ declare namespace io.flow.v0.models {
7144
6141
  readonly id: string;
7145
6142
  readonly labels: io.flow.v0.models.TrackingLabel[];
7146
6143
  readonly status: io.flow.v0.enums.TrackingStatus;
7147
- readonly attributes: {
7148
- [key: string]: string;
7149
- };
6144
+ readonly attributes: Record<string, string>;
7150
6145
  readonly url: string;
7151
6146
  readonly window?: io.flow.v0.models.DatetimeRange;
7152
6147
  readonly order_number?: string;
@@ -7179,9 +6174,7 @@ declare namespace io.flow.v0.models {
7179
6174
  interface TrackingForm {
7180
6175
  readonly status?: io.flow.v0.enums.TrackingStatus;
7181
6176
  readonly order_number?: string;
7182
- readonly attributes?: {
7183
- [key: string]: string;
7184
- };
6177
+ readonly attributes?: Record<string, string>;
7185
6178
  readonly window?: io.flow.v0.models.DatetimeRange;
7186
6179
  }
7187
6180
  interface TrackingLabel {
@@ -7307,9 +6300,7 @@ declare namespace io.flow.v0.models {
7307
6300
  readonly iin: string;
7308
6301
  readonly last4: string;
7309
6302
  readonly name: string;
7310
- readonly attributes?: {
7311
- [key: string]: string;
7312
- };
6303
+ readonly attributes?: Record<string, string>;
7313
6304
  }
7314
6305
  interface VirtualCardCapture {
7315
6306
  readonly id: string;
@@ -7343,9 +6334,7 @@ declare namespace io.flow.v0.models {
7343
6334
  }
7344
6335
  interface VirtualCardForm {
7345
6336
  readonly limit: io.flow.v0.models.Money;
7346
- readonly attributes?: {
7347
- [key: string]: string;
7348
- };
6337
+ readonly attributes?: Record<string, string>;
7349
6338
  }
7350
6339
  interface VirtualCardReference {
7351
6340
  readonly id: string;
@@ -7446,7 +6435,7 @@ declare namespace io.flow.v0.unions {
7446
6435
  type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
7447
6436
  type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
7448
6437
  type Authorization = io.flow.v0.models.CardAuthorization | io.flow.v0.models.OnlineAuthorization;
7449
- type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm;
6438
+ type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm;
7450
6439
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
7451
6440
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
7452
6441
  type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails;
@@ -7483,12 +6472,12 @@ declare namespace io.flow.v0.unions {
7483
6472
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
7484
6473
  type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
7485
6474
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
7486
- type OnlineAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
6475
+ type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
7487
6476
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
7488
6477
  type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion;
7489
6478
  type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm;
7490
6479
  type PartnerCenterFee = io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee;
7491
- type Payment = io.flow.v0.models.PaymentPaypal;
6480
+ type Payment = io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay;
7492
6481
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
7493
6482
  type PaymentMethodTag = {
7494
6483
  discriminator: 'organization_payment_method_tag';
@@ -7745,6 +6734,7 @@ export declare type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersio
7745
6734
  export declare type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
7746
6735
  export declare type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
7747
6736
  export declare type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
6737
+ export declare type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
7748
6738
  export declare type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
7749
6739
  export declare type Currency = io.flow.v0.models.Currency;
7750
6740
  export declare type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
@@ -8158,6 +7148,7 @@ export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
8158
7148
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
8159
7149
  export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
8160
7150
  export declare type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
7151
+ export declare type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
8161
7152
  export declare type OptinResponse = io.flow.v0.models.OptinResponse;
8162
7153
  export declare type OptinResponseType = io.flow.v0.enums.OptinResponseType;
8163
7154
  export declare type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -8283,6 +7274,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
8283
7274
  export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
8284
7275
  export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
8285
7276
  export declare type Payment = io.flow.v0.unions.Payment;
7277
+ export declare type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay;
8286
7278
  export declare type PaymentDeleted = io.flow.v0.models.PaymentDeleted;
8287
7279
  export declare type PaymentError = io.flow.v0.models.PaymentError;
8288
7280
  export declare type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode;
@@ -8297,7 +7289,6 @@ export declare type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethod
8297
7289
  export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
8298
7290
  export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
8299
7291
  export declare type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
8300
- export declare type PaymentPaypalData = io.flow.v0.models.PaymentPaypalData;
8301
7292
  export declare type PaymentReference = io.flow.v0.models.PaymentReference;
8302
7293
  export declare type PaymentSource = io.flow.v0.unions.PaymentSource;
8303
7294
  export declare type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction;