@flowio/api-factories 0.0.20 → 0.0.22

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/esm/api.js CHANGED
@@ -91,506 +91,6 @@ var factories = {
91
91
  amount: factories.decimal(),
92
92
  identifier: factories.string(),
93
93
  }); },
94
- 'io.flow.channel.internal.v0.enums.channel_currency_capability': function () { return faker.random.arrayElement(['payment_authorizations', 'settlement_currency']); },
95
- 'io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason': function () { return faker.random.arrayElement([
96
- 'unsupported_origin_country',
97
- 'unsupported_destination_country',
98
- 'domestic_order',
99
- 'order_contains_gift_card',
100
- ]); },
101
- 'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.random.arrayElement(['accepted', 'rejected', 'review']); },
102
- 'io.flow.channel.internal.v0.models.channel': function () { return ({
103
- id: factories.string(),
104
- name: factories.string(),
105
- environment: factories['io.flow.common.v0.enums.environment'](),
106
- organization_id_prefix: factories.string(),
107
- }); },
108
- 'io.flow.channel.internal.v0.models.channel_currency': function () { return ({
109
- id: factories.string(),
110
- currency: factories.string(),
111
- channel: factories['io.flow.common.v0.models.channel_reference'](),
112
- capabilities: arrayOf(function () { return factories['io.flow.channel.internal.v0.enums.channel_currency_capability'](); }),
113
- }); },
114
- 'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
115
- currency: factories.string(),
116
- channel_id: factories.string(),
117
- capabilities: arrayOf(function () { return factories['io.flow.channel.internal.v0.enums.channel_currency_capability'](); }),
118
- }); },
119
- 'io.flow.channel.internal.v0.models.channel_form': function () { return ({
120
- name: factories.string(),
121
- environment: factories['io.flow.common.v0.enums.environment'](),
122
- organization_id_prefix: factories.string(),
123
- }); },
124
- 'io.flow.channel.internal.v0.models.channel_membership': function () { return ({
125
- id: factories.string(),
126
- channel: factories['io.flow.common.v0.models.channel_reference'](),
127
- user: factories['io.flow.common.v0.unions.expandable_user'](),
128
- role: factories['io.flow.common.v0.enums.role'](),
129
- }); },
130
- 'io.flow.channel.internal.v0.models.channel_membership_form': function () { return ({
131
- channel_id: factories.string(),
132
- user_id: factories.string(),
133
- role: factories['io.flow.common.v0.enums.role'](),
134
- }); },
135
- 'io.flow.channel.internal.v0.models.channel_membership_put_form': function () { return ({
136
- role: factories['io.flow.common.v0.enums.role'](),
137
- }); },
138
- 'io.flow.channel.internal.v0.models.channel_order_acceptance': function () { return ({
139
- id: factories.string(),
140
- organization_id: factories.string(),
141
- order_number: factories.string(),
142
- channel_id: factories.string(),
143
- external_order_reference: factories.string(),
144
- payment_request_id: factories.string(),
145
- status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
146
- reasons: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](); }),
147
- }); },
148
- 'io.flow.channel.internal.v0.models.channel_order_acceptance_form': function () { return ({
149
- status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
150
- }); },
151
- 'io.flow.channel.internal.v0.models.channel_order_acceptance_reason': function () { return ({
152
- description: factories.string(),
153
- rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
154
- }); },
155
- 'io.flow.common.v0.enums.attribute_data_type': function () { return faker.random.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']); },
156
- 'io.flow.common.v0.enums.availability_status': function () { return faker.random.arrayElement(['enabled', 'disabled']); },
157
- 'io.flow.common.v0.enums.calendar': function () { return faker.random.arrayElement(['weekdays', 'everyday']); },
158
- 'io.flow.common.v0.enums.capability': function () { return faker.random.arrayElement(['crossdock']); },
159
- 'io.flow.common.v0.enums.change_type': function () { return faker.random.arrayElement(['insert', 'update', 'delete']); },
160
- 'io.flow.common.v0.enums.currency_label_formatter': function () { return faker.random.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']); },
161
- 'io.flow.common.v0.enums.currency_symbol_format': function () { return faker.random.arrayElement(['narrow', 'primary']); },
162
- 'io.flow.common.v0.enums.day_of_week': function () { return faker.random.arrayElement([
163
- 'sunday',
164
- 'monday',
165
- 'tuesday',
166
- 'wednesday',
167
- 'thursday',
168
- 'friday',
169
- 'saturday',
170
- ]); },
171
- 'io.flow.common.v0.enums.delivered_duty': function () { return faker.random.arrayElement(['paid', 'unpaid']); },
172
- 'io.flow.common.v0.enums.discount_target': function () { return faker.random.arrayElement(['item', 'shipping']); },
173
- 'io.flow.common.v0.enums.entity_identifier_type': function () { return faker.random.arrayElement(['ioss', 'voec']); },
174
- 'io.flow.common.v0.enums.environment': function () { return faker.random.arrayElement(['sandbox', 'production']); },
175
- 'io.flow.common.v0.enums.exception_type': function () { return faker.random.arrayElement(['open', 'closed']); },
176
- 'io.flow.common.v0.enums.goods_supply': function () { return faker.random.arrayElement(['export', 'intra_community', 'local']); },
177
- 'io.flow.common.v0.enums.holiday_calendar': function () { return faker.random.arrayElement(['us_bank_holidays', 'jewish_holidays']); },
178
- 'io.flow.common.v0.enums.included_levy_key': function () { return faker.random.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']); },
179
- 'io.flow.common.v0.enums.incoterm': function () { return faker.random.arrayElement([
180
- 'EXW',
181
- 'FCA',
182
- 'CPT',
183
- 'CIP',
184
- 'DAT',
185
- 'DAP',
186
- 'DDP',
187
- 'FAS',
188
- 'FOB',
189
- 'CFR',
190
- 'CIF',
191
- 'DAF',
192
- 'DES',
193
- 'DEQ',
194
- 'DDU',
195
- ]); },
196
- 'io.flow.common.v0.enums.input_specification_type': function () { return faker.random.arrayElement(['text', 'number']); },
197
- 'io.flow.common.v0.enums.margin_type': function () { return faker.random.arrayElement(['fixed', 'percent']); },
198
- 'io.flow.common.v0.enums.measurement_system': function () { return faker.random.arrayElement(['imperial', 'metric']); },
199
- 'io.flow.common.v0.enums.merchant_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
200
- 'io.flow.common.v0.enums.order_merchant_of_record': function () { return faker.random.arrayElement(['flow', 'organization', 'mixed']); },
201
- 'io.flow.common.v0.enums.organization_status': function () { return faker.random.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
202
- 'io.flow.common.v0.enums.price_book_status': function () { return faker.random.arrayElement(['draft', 'published', 'archived']); },
203
- 'io.flow.common.v0.enums.role': function () { return faker.random.arrayElement(['admin', 'member']); },
204
- 'io.flow.common.v0.enums.rounding_method': function () { return faker.random.arrayElement(['up', 'down', 'nearest']); },
205
- 'io.flow.common.v0.enums.rounding_type': function () { return faker.random.arrayElement(['pattern', 'multiple']); },
206
- 'io.flow.common.v0.enums.schedule_exception_status': function () { return faker.random.arrayElement(['Open', 'Closed']); },
207
- 'io.flow.common.v0.enums.sort_direction': function () { return faker.random.arrayElement(['ascending', 'descending']); },
208
- 'io.flow.common.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
209
- 'millimeter',
210
- 'centimeter',
211
- 'inch',
212
- 'foot',
213
- 'cubic_inch',
214
- 'cubic_meter',
215
- 'gram',
216
- 'kilogram',
217
- 'meter',
218
- 'ounce',
219
- 'pound',
220
- ]); },
221
- 'io.flow.common.v0.enums.unit_of_time': function () { return faker.random.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']); },
222
- 'io.flow.common.v0.enums.user_status': function () { return faker.random.arrayElement(['pending', 'active', 'inactive']); },
223
- 'io.flow.common.v0.enums.value_added_service': function () { return faker.random.arrayElement(['Hazardous Material']); },
224
- 'io.flow.common.v0.enums.visibility': function () { return faker.random.arrayElement(['public', 'private']); },
225
- 'io.flow.common.v0.models.address': function () { return ({
226
- text: factories.string(),
227
- streets: arrayOf(function () { return factories.string(); }),
228
- street_number: factories.string(),
229
- city: factories.string(),
230
- province: factories.string(),
231
- postal: factories.string(),
232
- country: factories.string(),
233
- latitude: factories.string(),
234
- longitude: factories.string(),
235
- }); },
236
- 'io.flow.common.v0.models.billing_address': function () { return ({
237
- name: factories['io.flow.common.v0.models.name'](),
238
- streets: arrayOf(function () { return factories.string(); }),
239
- city: factories.string(),
240
- province: factories.string(),
241
- postal: factories.string(),
242
- country: factories.string(),
243
- company: factories.string(),
244
- }); },
245
- 'io.flow.common.v0.models.catalog_item_reference': function () { return ({
246
- id: factories.string(),
247
- number: factories.string(),
248
- }); },
249
- 'io.flow.common.v0.models.catalog_item_summary': function () { return ({
250
- number: factories.string(),
251
- name: factories.string(),
252
- attributes: objectOf(function () { return factories.string(); }),
253
- }); },
254
- 'io.flow.common.v0.models.channel_reference': function () { return ({
255
- id: factories.string(),
256
- }); },
257
- 'io.flow.common.v0.models.checkout_reference': function () { return ({
258
- id: factories.string(),
259
- }); },
260
- 'io.flow.common.v0.models.contact': function () { return ({
261
- name: factories['io.flow.common.v0.models.name'](),
262
- company: factories.string(),
263
- email: factories.string(),
264
- phone: factories.string(),
265
- }); },
266
- 'io.flow.common.v0.models.customer_invoice': function () { return ({
267
- address: factories['io.flow.common.v0.models.billing_address'](),
268
- }); },
269
- 'io.flow.common.v0.models.customer_reference': function () { return ({
270
- number: factories.string(),
271
- }); },
272
- 'io.flow.common.v0.models.datetime_range': function () { return ({
273
- from: factories.date_time_iso_8601(),
274
- to: factories.date_time_iso_8601(),
275
- }); },
276
- 'io.flow.common.v0.models.dimension': function () { return ({
277
- depth: factories['io.flow.common.v0.models.measurement'](),
278
- diameter: factories['io.flow.common.v0.models.measurement'](),
279
- length: factories['io.flow.common.v0.models.measurement'](),
280
- weight: factories['io.flow.common.v0.models.measurement'](),
281
- width: factories['io.flow.common.v0.models.measurement'](),
282
- }); },
283
- 'io.flow.common.v0.models.dimensions': function () { return ({
284
- product: factories['io.flow.common.v0.models.dimension'](),
285
- packaging: factories['io.flow.common.v0.models.dimension'](),
286
- }); },
287
- 'io.flow.common.v0.models.discount_form': function () { return ({
288
- offer: factories['io.flow.common.v0.unions.discount_offer'](),
289
- target: factories['io.flow.common.v0.enums.discount_target'](),
290
- label: factories.string(),
291
- }); },
292
- 'io.flow.common.v0.models.discount_offer_fixed': function () { return ({
293
- discriminator: 'discount_offer_fixed',
294
- money: factories['io.flow.common.v0.models.money'](),
295
- }); },
296
- 'io.flow.common.v0.models.discount_offer_percent': function () { return ({
297
- discriminator: 'discount_offer_percent',
298
- percent: factories.decimal(),
299
- }); },
300
- 'io.flow.common.v0.models.discounts_form': function () { return ({
301
- discounts: arrayOf(function () { return factories['io.flow.common.v0.models.discount_form'](); }),
302
- }); },
303
- 'io.flow.common.v0.models.duration': function () { return ({
304
- unit: factories['io.flow.common.v0.enums.unit_of_time'](),
305
- value: factories.long(),
306
- }); },
307
- 'io.flow.common.v0.models.entity_identifier': function () { return ({
308
- name: factories['io.flow.common.v0.enums.entity_identifier_type'](),
309
- number: factories.string(),
310
- issuing_country: factories.string(),
311
- }); },
312
- 'io.flow.common.v0.models.exception': function () { return ({
313
- type: factories['io.flow.common.v0.enums.exception_type'](),
314
- datetime_range: factories['io.flow.common.v0.models.datetime_range'](),
315
- }); },
316
- 'io.flow.common.v0.models.experience_summary': function () { return ({
317
- id: factories.string(),
318
- key: factories.string(),
319
- name: factories.string(),
320
- country: factories.string(),
321
- currency: factories.string(),
322
- language: factories.string(),
323
- }); },
324
- 'io.flow.common.v0.models.included_levies': function () { return ({
325
- key: factories['io.flow.common.v0.enums.included_levy_key'](),
326
- label: factories.string(),
327
- }); },
328
- 'io.flow.common.v0.models.input_form': function () { return ({
329
- values: objectOf(function () { return factories.string(); }),
330
- }); },
331
- 'io.flow.common.v0.models.input_form_specification': function () { return ({
332
- inputs: arrayOf(function () { return factories['io.flow.common.v0.models.input_specification'](); }),
333
- limitations: factories['io.flow.common.v0.models.input_specification_limitations'](),
334
- }); },
335
- 'io.flow.common.v0.models.input_specification': function () { return ({
336
- type: factories['io.flow.common.v0.enums.input_specification_type'](),
337
- name: factories.string(),
338
- display_text: factories.string(),
339
- }); },
340
- 'io.flow.common.v0.models.input_specification_limitation_max': function () { return ({
341
- discriminator: 'input_specification_limitation_max',
342
- max: factories.long(),
343
- }); },
344
- 'io.flow.common.v0.models.input_specification_limitations': function () { return ({
345
- limitations: arrayOf(function () { return factories['io.flow.common.v0.unions.input_specification_limitation'](); }),
346
- }); },
347
- 'io.flow.common.v0.models.item_reference': function () { return ({
348
- number: factories.string(),
349
- }); },
350
- 'io.flow.common.v0.models.line_item': function () { return ({
351
- number: factories.string(),
352
- quantity: factories.long(),
353
- price: factories['io.flow.common.v0.models.money'](),
354
- attributes: objectOf(function () { return factories.string(); }),
355
- center: factories.string(),
356
- discount: factories['io.flow.common.v0.models.money'](),
357
- }); },
358
- 'io.flow.common.v0.models.line_item_attributes_form': function () { return ({
359
- attributes: objectOf(function () { return factories.string(); }),
360
- }); },
361
- 'io.flow.common.v0.models.line_item_form': function () { return ({
362
- number: factories.string(),
363
- quantity: factories.long(),
364
- shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
365
- price: factories['io.flow.common.v0.models.money'](),
366
- attributes: objectOf(function () { return factories.string(); }),
367
- center: factories.string(),
368
- discount: factories['io.flow.common.v0.models.money'](),
369
- discounts: factories['io.flow.common.v0.models.discounts_form'](),
370
- }); },
371
- 'io.flow.common.v0.models.line_item_quantity_form': function () { return ({
372
- quantity: factories.long(),
373
- }); },
374
- 'io.flow.common.v0.models.margin': function () { return ({
375
- type: factories['io.flow.common.v0.enums.margin_type'](),
376
- value: factories.decimal(),
377
- }); },
378
- 'io.flow.common.v0.models.measurement': function () { return ({
379
- value: factories.string(),
380
- units: factories['io.flow.common.v0.enums.unit_of_measurement'](),
381
- }); },
382
- 'io.flow.common.v0.models.merchant_of_record_entity': function () { return ({
383
- organization: factories['io.flow.common.v0.models.organization_reference'](),
384
- name: factories.string(),
385
- vat: factories['io.flow.common.v0.models.merchant_of_record_entity_registration'](),
386
- identifiers: arrayOf(function () { return factories['io.flow.common.v0.models.entity_identifier'](); }),
387
- streets: arrayOf(function () { return factories.string(); }),
388
- city: factories.string(),
389
- province: factories.string(),
390
- postal: factories.string(),
391
- country: factories.string(),
392
- phone: factories.string(),
393
- email: factories.string(),
394
- }); },
395
- 'io.flow.common.v0.models.merchant_of_record_entity_registration': function () { return ({
396
- number: factories.string(),
397
- country: factories.string(),
398
- }); },
399
- 'io.flow.common.v0.models.money': function () { return ({
400
- amount: factories.double(),
401
- currency: factories.string(),
402
- }); },
403
- 'io.flow.common.v0.models.money_with_base': function () { return ({
404
- currency: factories.string(),
405
- amount: factories.double(),
406
- base: factories['io.flow.common.v0.models.money'](),
407
- }); },
408
- 'io.flow.common.v0.models.money_with_optional_base': function () { return ({
409
- currency: factories.string(),
410
- amount: factories.double(),
411
- base: factories['io.flow.common.v0.models.money'](),
412
- }); },
413
- 'io.flow.common.v0.models.name': function () { return ({
414
- first: factories.string(),
415
- last: factories.string(),
416
- }); },
417
- 'io.flow.common.v0.models.order_customer': function () { return ({
418
- name: factories['io.flow.common.v0.models.name'](),
419
- number: factories.string(),
420
- phone: factories.string(),
421
- email: factories.string(),
422
- address: factories['io.flow.common.v0.models.billing_address'](),
423
- invoice: factories['io.flow.common.v0.models.customer_invoice'](),
424
- }); },
425
- 'io.flow.common.v0.models.order_customer_form': function () { return ({
426
- name: factories['io.flow.common.v0.models.name'](),
427
- number: factories.string(),
428
- phone: factories.string(),
429
- email: factories.string(),
430
- address: factories['io.flow.common.v0.models.billing_address'](),
431
- invoice: factories['io.flow.common.v0.models.customer_invoice'](),
432
- }); },
433
- 'io.flow.common.v0.models.organization': function () { return ({
434
- discriminator: 'organization',
435
- id: factories.string(),
436
- name: factories.string(),
437
- environment: factories['io.flow.common.v0.enums.environment'](),
438
- parent: factories['io.flow.common.v0.models.organization_reference'](),
439
- defaults: factories['io.flow.common.v0.models.organization_defaults'](),
440
- created_at: factories.date_time_iso_8601(),
441
- status: factories['io.flow.common.v0.enums.organization_status'](),
442
- }); },
443
- 'io.flow.common.v0.models.organization_defaults': function () { return ({
444
- country: factories.string(),
445
- base_currency: factories.string(),
446
- language: factories.string(),
447
- locale: factories.string(),
448
- timezone: factories.string(),
449
- }); },
450
- 'io.flow.common.v0.models.organization_reference': function () { return ({
451
- discriminator: 'organization_reference',
452
- id: factories.string(),
453
- }); },
454
- 'io.flow.common.v0.models.organization_summary': function () { return ({
455
- id: factories.string(),
456
- name: factories.string(),
457
- environment: factories['io.flow.common.v0.enums.environment'](),
458
- }); },
459
- 'io.flow.common.v0.models.partner_reference': function () { return ({
460
- id: factories.string(),
461
- }); },
462
- 'io.flow.common.v0.models.price': function () { return ({
463
- amount: factories.double(),
464
- currency: factories.string(),
465
- label: factories.string(),
466
- }); },
467
- 'io.flow.common.v0.models.price_form': function () { return ({
468
- amount: factories.double(),
469
- currency: factories.string(),
470
- }); },
471
- 'io.flow.common.v0.models.price_source_catalog': function () { return ({
472
- discriminator: 'catalog',
473
- price: factories['io.flow.common.v0.models.money'](),
474
- }); },
475
- 'io.flow.common.v0.models.price_source_price_book': function () { return ({
476
- discriminator: 'price_book',
477
- price: factories['io.flow.common.v0.models.money'](),
478
- includes: factories['io.flow.common.v0.models.included_levies'](),
479
- price_book_reference: factories['io.flow.common.v0.models.price_source_price_book_reference'](),
480
- }); },
481
- 'io.flow.common.v0.models.price_source_price_book_reference': function () { return ({
482
- id: factories.string(),
483
- key: factories.string(),
484
- }); },
485
- 'io.flow.common.v0.models.price_source_provided': function () { return ({
486
- discriminator: 'provided',
487
- price: factories['io.flow.common.v0.models.money'](),
488
- }); },
489
- 'io.flow.common.v0.models.price_with_base': function () { return ({
490
- currency: factories.string(),
491
- amount: factories.double(),
492
- label: factories.string(),
493
- base: factories['io.flow.common.v0.models.price'](),
494
- }); },
495
- 'io.flow.common.v0.models.repeat_daily': function () { return ({
496
- discriminator: 'repeat_daily',
497
- interval: factories.integer(),
498
- }); },
499
- 'io.flow.common.v0.models.repeat_hourly': function () { return ({
500
- discriminator: 'repeat_hourly',
501
- interval: factories.integer(),
502
- }); },
503
- 'io.flow.common.v0.models.repeat_monthly': function () { return ({
504
- discriminator: 'repeat_monthly',
505
- interval: factories.integer(),
506
- days: arrayOf(function () { return factories.integer(); }),
507
- }); },
508
- 'io.flow.common.v0.models.repeat_weekly': function () { return ({
509
- discriminator: 'repeat_weekly',
510
- interval: factories.integer(),
511
- days_of_week: arrayOf(function () { return factories['io.flow.common.v0.enums.day_of_week'](); }),
512
- }); },
513
- 'io.flow.common.v0.models.rounding': function () { return ({
514
- type: factories['io.flow.common.v0.enums.rounding_type'](),
515
- method: factories['io.flow.common.v0.enums.rounding_method'](),
516
- value: factories.decimal(),
517
- }); },
518
- 'io.flow.common.v0.models.schedule': function () { return ({
519
- calendar: factories['io.flow.common.v0.enums.calendar'](),
520
- holiday: factories['io.flow.common.v0.enums.holiday_calendar'](),
521
- exception: arrayOf(function () { return factories['io.flow.common.v0.models.exception'](); }),
522
- cutoff: factories.string(),
523
- min_lead_time: factories.long(),
524
- max_lead_time: factories.long(),
525
- }); },
526
- 'io.flow.common.v0.models.session_reference': function () { return ({
527
- id: factories.string(),
528
- }); },
529
- 'io.flow.common.v0.models.user': function () { return ({
530
- discriminator: 'user',
531
- id: factories.string(),
532
- email: factories.string(),
533
- name: factories['io.flow.common.v0.models.name'](),
534
- status: factories['io.flow.common.v0.enums.user_status'](),
535
- }); },
536
- 'io.flow.common.v0.models.user_reference': function () { return ({
537
- discriminator: 'user_reference',
538
- id: factories.string(),
539
- }); },
540
- 'io.flow.common.v0.models.zone': function () { return ({
541
- postals: arrayOf(function () { return factories.string(); }),
542
- provinces: arrayOf(function () { return factories.string(); }),
543
- country: factories.string(),
544
- }); },
545
- 'io.flow.common.v0.unions.discount_offer': function () {
546
- var f = faker.random.arrayElement([
547
- function () { return factories['io.flow.common.v0.models.discount_offer_fixed'](); },
548
- function () { return factories['io.flow.common.v0.models.discount_offer_percent'](); },
549
- ]);
550
- return f();
551
- },
552
- 'io.flow.common.v0.unions.expandable_organization': function () {
553
- var f = faker.random.arrayElement([
554
- function () { return factories['io.flow.common.v0.models.organization'](); },
555
- function () { return factories['io.flow.common.v0.models.organization_reference'](); },
556
- ]);
557
- return f();
558
- },
559
- 'io.flow.common.v0.unions.expandable_user': function () {
560
- var f = faker.random.arrayElement([
561
- function () { return factories['io.flow.common.v0.models.user'](); },
562
- function () { return factories['io.flow.common.v0.models.user_reference'](); },
563
- ]);
564
- return f();
565
- },
566
- 'io.flow.common.v0.unions.input_specification_limitation': function () {
567
- var f = faker.random.arrayElement([
568
- function () { return factories['io.flow.common.v0.models.input_specification_limitation_max'](); },
569
- ]);
570
- return f();
571
- },
572
- 'io.flow.common.v0.unions.price_source': function () {
573
- var f = faker.random.arrayElement([
574
- function () { return factories['io.flow.common.v0.models.price_source_price_book'](); },
575
- function () { return factories['io.flow.common.v0.models.price_source_catalog'](); },
576
- function () { return factories['io.flow.common.v0.models.price_source_provided'](); },
577
- ]);
578
- return f();
579
- },
580
- 'io.flow.common.v0.unions.repeat_schedule': function () {
581
- var f = faker.random.arrayElement([
582
- function () { return factories['io.flow.common.v0.models.repeat_hourly'](); },
583
- function () { return factories['io.flow.common.v0.models.repeat_daily'](); },
584
- function () { return factories['io.flow.common.v0.models.repeat_weekly'](); },
585
- function () { return factories['io.flow.common.v0.models.repeat_monthly'](); },
586
- ]);
587
- return f();
588
- },
589
- 'io.flow.error.v0.enums.generic_error_code': function () { return faker.random.arrayElement(['generic_error', 'client_error', 'server_error']); },
590
- 'io.flow.error.v0.models.generic_error': function () { return ({
591
- code: factories['io.flow.error.v0.enums.generic_error_code'](),
592
- messages: arrayOf(function () { return factories.string(); }),
593
- }); },
594
94
  'io.flow.google.pay.v0.enums.auth_method': function () { return faker.random.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
595
95
  'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.random.arrayElement(['MIN', 'FULL']); },
596
96
  'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.random.arrayElement(['adyen', 'stripe']); },
@@ -2385,130 +1885,6 @@ var factories = {
2385
1885
  amount: factories.integer(),
2386
1886
  destination: factories.string(),
2387
1887
  }); },
2388
- 'io.flow.token.internal.v0.models.channel_token_form': function () { return ({
2389
- channel_id: factories.string(),
2390
- description: factories.string(),
2391
- }); },
2392
- 'io.flow.token.v0.models.channel_token': function () { return ({
2393
- discriminator: 'channel_token',
2394
- id: factories.string(),
2395
- channel: factories['io.flow.common.v0.models.channel_reference'](),
2396
- user: factories['io.flow.common.v0.models.user_reference'](),
2397
- partial: factories.string(),
2398
- cleartext: factories.string(),
2399
- created_at: factories.date_time_iso_8601(),
2400
- description: factories.string(),
2401
- }); },
2402
- 'io.flow.token.v0.models.channel_token_form': function () { return ({
2403
- channel_id: factories.string(),
2404
- description: factories.string(),
2405
- }); },
2406
- 'io.flow.token.v0.models.channel_token_reference': function () { return ({
2407
- discriminator: 'channel_token_reference',
2408
- id: factories.string(),
2409
- channel: factories['io.flow.common.v0.models.channel_reference'](),
2410
- user: factories['io.flow.common.v0.models.user_reference'](),
2411
- }); },
2412
- 'io.flow.token.v0.models.cleartext': function () { return ({
2413
- value: factories.string(),
2414
- }); },
2415
- 'io.flow.token.v0.models.organization_token': function () { return ({
2416
- discriminator: 'organization_token',
2417
- id: factories.string(),
2418
- organization: factories['io.flow.common.v0.models.organization_reference'](),
2419
- user: factories['io.flow.common.v0.models.user_reference'](),
2420
- environment: factories['io.flow.common.v0.enums.environment'](),
2421
- partial: factories.string(),
2422
- created_at: factories.date_time_iso_8601(),
2423
- description: factories.string(),
2424
- }); },
2425
- 'io.flow.token.v0.models.organization_token_form': function () { return ({
2426
- environment: factories['io.flow.common.v0.enums.environment'](),
2427
- description: factories.string(),
2428
- }); },
2429
- 'io.flow.token.v0.models.organization_token_form_v2': function () { return ({
2430
- organization_id: factories.string(),
2431
- description: factories.string(),
2432
- }); },
2433
- 'io.flow.token.v0.models.organization_token_reference': function () { return ({
2434
- discriminator: 'organization_token_reference',
2435
- id: factories.string(),
2436
- organization: factories['io.flow.common.v0.models.organization_reference'](),
2437
- environment: factories['io.flow.common.v0.enums.environment'](),
2438
- user: factories['io.flow.common.v0.models.user_reference'](),
2439
- }); },
2440
- 'io.flow.token.v0.models.organization_token_v2': function () { return ({
2441
- discriminator: 'organization_token_v2',
2442
- id: factories.string(),
2443
- organization: factories['io.flow.common.v0.models.organization_reference'](),
2444
- user: factories['io.flow.common.v0.models.user_reference'](),
2445
- partial: factories.string(),
2446
- cleartext: factories.string(),
2447
- created_at: factories.date_time_iso_8601(),
2448
- description: factories.string(),
2449
- }); },
2450
- 'io.flow.token.v0.models.organization_token_v2_reference': function () { return ({
2451
- discriminator: 'organization_token_v2_reference',
2452
- id: factories.string(),
2453
- organization: factories['io.flow.common.v0.models.organization_reference'](),
2454
- }); },
2455
- 'io.flow.token.v0.models.partner_token': function () { return ({
2456
- discriminator: 'partner_token',
2457
- id: factories.string(),
2458
- partner: factories['io.flow.token.v0.models.token_partner_reference'](),
2459
- user: factories['io.flow.common.v0.models.user_reference'](),
2460
- environment: factories['io.flow.common.v0.enums.environment'](),
2461
- partial: factories.string(),
2462
- created_at: factories.date_time_iso_8601(),
2463
- description: factories.string(),
2464
- }); },
2465
- 'io.flow.token.v0.models.partner_token_form': function () { return ({
2466
- environment: factories['io.flow.common.v0.enums.environment'](),
2467
- description: factories.string(),
2468
- }); },
2469
- 'io.flow.token.v0.models.partner_token_reference': function () { return ({
2470
- discriminator: 'partner_token_reference',
2471
- id: factories.string(),
2472
- partner: factories['io.flow.token.v0.models.token_partner_reference'](),
2473
- environment: factories['io.flow.common.v0.enums.environment'](),
2474
- user: factories['io.flow.common.v0.models.user_reference'](),
2475
- }); },
2476
- 'io.flow.token.v0.models.token_authentication_form': function () { return ({
2477
- token: factories.string(),
2478
- }); },
2479
- 'io.flow.token.v0.models.token_partner_reference': function () { return ({
2480
- id: factories.string(),
2481
- }); },
2482
- 'io.flow.token.v0.models.token_rbac_authentication_form': function () { return ({
2483
- token: factories.string(),
2484
- method: factories.string(),
2485
- path_pattern: factories.string(),
2486
- path: factories.string(),
2487
- }); },
2488
- 'io.flow.token.v0.models.token_validation': function () { return ({
2489
- status: factories.string(),
2490
- }); },
2491
- 'io.flow.token.v0.models.token_validation_form': function () { return ({
2492
- token: factories.string(),
2493
- }); },
2494
- 'io.flow.token.v0.unions.token': function () {
2495
- var f = faker.random.arrayElement([
2496
- function () { return factories['io.flow.token.v0.models.channel_token'](); },
2497
- function () { return factories['io.flow.token.v0.models.organization_token'](); },
2498
- function () { return factories['io.flow.token.v0.models.organization_token_v2'](); },
2499
- function () { return factories['io.flow.token.v0.models.partner_token'](); },
2500
- ]);
2501
- return f();
2502
- },
2503
- 'io.flow.token.v0.unions.token_reference': function () {
2504
- var f = faker.random.arrayElement([
2505
- function () { return factories['io.flow.token.v0.models.channel_token_reference'](); },
2506
- function () { return factories['io.flow.token.v0.models.organization_token_reference'](); },
2507
- function () { return factories['io.flow.token.v0.models.organization_token_v2_reference'](); },
2508
- function () { return factories['io.flow.token.v0.models.partner_token_reference'](); },
2509
- ]);
2510
- return f();
2511
- },
2512
1888
  'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.random.arrayElement(['active', 'inactive']); },
2513
1889
  'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.random.arrayElement(['active', 'inactive']); },
2514
1890
  'io.flow.v0.enums.address_field_name': function () { return faker.random.arrayElement([
@@ -2624,6 +2000,7 @@ var factories = {
2624
2000
  ]); },
2625
2001
  'io.flow.v0.enums.center_capability': function () { return faker.random.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
2626
2002
  'io.flow.v0.enums.change_type': function () { return faker.random.arrayElement(['insert', 'update', 'delete']); },
2003
+ 'io.flow.v0.enums.channel_currency_capability': function () { return faker.random.arrayElement(['payment_authorizations', 'settlement_currency']); },
2627
2004
  'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker.random.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
2628
2005
  'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker.random.arrayElement(['pdf']); },
2629
2006
  'io.flow.v0.enums.consumer_invoice_status': function () { return faker.random.arrayElement(['pending', 'available', 'invalid']); },
@@ -2878,12 +2255,12 @@ var factories = {
2878
2255
  'io.flow.v0.enums.export_status': function () { return faker.random.arrayElement(['created', 'processing', 'completed', 'failed']); },
2879
2256
  'io.flow.v0.enums.exporter_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
2880
2257
  'io.flow.v0.enums.fee_deduction_type': function () { return faker.random.arrayElement([
2258
+ 'duty_guarantee',
2881
2259
  'mor',
2260
+ 'fraud',
2882
2261
  'fx',
2883
2262
  'processing',
2884
2263
  'rate_lock',
2885
- 'duty_guarantee',
2886
- 'revenue_share',
2887
2264
  'transfer',
2888
2265
  ]); },
2889
2266
  'io.flow.v0.enums.flow_behavior': function () { return faker.random.arrayElement(['view_consumer_data']); },
@@ -2967,29 +2344,34 @@ var factories = {
2967
2344
  'io.flow.v0.enums.merchant_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
2968
2345
  'io.flow.v0.enums.method': function () { return faker.random.arrayElement(['post']); },
2969
2346
  'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.random.arrayElement([
2970
- 'apparel',
2971
2347
  'accessories',
2972
- 'arts_and_entertainment',
2973
2348
  'animals_and_pet_supplies',
2349
+ 'apparel',
2350
+ 'apparel_and_accessories',
2351
+ 'arts_and_entertainment',
2974
2352
  'baby_and_toddler',
2975
2353
  'business_and_industrial',
2976
- 'camera_and_optics',
2354
+ 'cameras_and_optics',
2977
2355
  'electronics',
2978
- 'furniture',
2979
2356
  'food_beverages_and_tobacco',
2357
+ 'furniture',
2358
+ 'gift_cards',
2359
+ 'hardware',
2980
2360
  'health_and_beauty',
2981
2361
  'home_and_garden',
2982
- 'hardware',
2983
2362
  'jewelry',
2984
2363
  'luggage_and_bags',
2364
+ 'mature',
2985
2365
  'media',
2986
2366
  'office_supplies',
2987
- 'sporting_goods',
2988
- 'toys_and_games',
2989
- 'vehicles_and_parts',
2990
2367
  'paper_and_art',
2368
+ 'religious_and_ceremonial',
2369
+ 'software',
2370
+ 'sporting_goods',
2991
2371
  'sports_and_fitness',
2372
+ 'toys_and_games',
2992
2373
  'toys_hobbies_gifts',
2374
+ 'vehicles_and_parts',
2993
2375
  'other',
2994
2376
  ]); },
2995
2377
  'io.flow.v0.enums.optin_response_type': function () { return faker.random.arrayElement(['not_shown', 'opted_in', 'opted_out']); },
@@ -3325,7 +2707,20 @@ var factories = {
3325
2707
  ]); },
3326
2708
  'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
3327
2709
  'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
3328
- 'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement(['capture', 'refund', 'dispute', 'adjustment', 'shipping_label']); },
2710
+ 'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement([
2711
+ 'capture',
2712
+ 'refund',
2713
+ 'dispute',
2714
+ 'adjustment',
2715
+ 'shipping_label',
2716
+ 'platform_fee',
2717
+ 'other_adjustment',
2718
+ 'tax_adjustment',
2719
+ 'channel',
2720
+ 'order',
2721
+ 'virtual_card_capture',
2722
+ 'virtual_card_refund',
2723
+ ]); },
3329
2724
  'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
3330
2725
  'millimeter',
3331
2726
  'centimeter',
@@ -4463,12 +3858,24 @@ var factories = {
4463
3858
  type: factories['io.flow.v0.enums.change_type'](),
4464
3859
  center: factories['io.flow.v0.models.center'](),
4465
3860
  }); },
3861
+ 'io.flow.v0.models.channel': function () { return ({
3862
+ id: factories.string(),
3863
+ name: factories.string(),
3864
+ environment: factories['io.flow.v0.enums.environment'](),
3865
+ organization_id_prefix: factories.string(),
3866
+ }); },
4466
3867
  'io.flow.v0.models.channel_authorization': function () { return ({
4467
3868
  placeholder: factories.string(),
4468
3869
  }); },
4469
3870
  'io.flow.v0.models.channel_authorization_form': function () { return ({
4470
3871
  channel_id: factories.string(),
4471
3872
  }); },
3873
+ 'io.flow.v0.models.channel_currency': function () { return ({
3874
+ id: factories.string(),
3875
+ currency: factories.string(),
3876
+ channel: factories['io.flow.v0.models.channel_reference'](),
3877
+ capabilities: arrayOf(function () { return factories['io.flow.v0.enums.channel_currency_capability'](); }),
3878
+ }); },
4472
3879
  'io.flow.v0.models.channel_currency_deleted': function () { return ({
4473
3880
  discriminator: 'channel_currency_deleted',
4474
3881
  event_id: factories.string(),
@@ -4479,7 +3886,7 @@ var factories = {
4479
3886
  discriminator: 'channel_currency_upserted',
4480
3887
  event_id: factories.string(),
4481
3888
  timestamp: factories.date_time_iso_8601(),
4482
- channel_currency: factories['io.flow.channel.internal.v0.models.channel_currency'](),
3889
+ channel_currency: factories['io.flow.v0.models.channel_currency'](),
4483
3890
  }); },
4484
3891
  'io.flow.v0.models.channel_deleted': function () { return ({
4485
3892
  discriminator: 'channel_deleted',
@@ -4559,7 +3966,7 @@ var factories = {
4559
3966
  discriminator: 'channel_upserted',
4560
3967
  event_id: factories.string(),
4561
3968
  timestamp: factories.date_time_iso_8601(),
4562
- channel: factories['io.flow.channel.internal.v0.models.channel'](),
3969
+ channel: factories['io.flow.v0.models.channel'](),
4563
3970
  }); },
4564
3971
  'io.flow.v0.models.channel_vies_registration': function () { return ({
4565
3972
  id: factories.string(),
@@ -7174,6 +6581,14 @@ var factories = {
7174
6581
  amount: factories.decimal(),
7175
6582
  currency: factories.string(),
7176
6583
  }); },
6584
+ 'io.flow.v0.models.merchant_onboarding_address': function () { return ({
6585
+ full_name: factories.string(),
6586
+ streets: arrayOf(function () { return factories.string(); }),
6587
+ city: factories.string(),
6588
+ province: factories.string(),
6589
+ postal: factories.string(),
6590
+ country: factories.string(),
6591
+ }); },
7177
6592
  'io.flow.v0.models.money': function () { return ({
7178
6593
  amount: factories.double(),
7179
6594
  currency: factories.string(),
@@ -7232,6 +6647,20 @@ var factories = {
7232
6647
  min: factories.long(),
7233
6648
  max: factories.long(),
7234
6649
  }); },
6650
+ 'io.flow.v0.models.onboarding_merchant_pickup_window': function () { return ({
6651
+ from: factories['io.flow.v0.models.onboarding_merchant_time'](),
6652
+ to: factories['io.flow.v0.models.onboarding_merchant_time'](),
6653
+ }); },
6654
+ 'io.flow.v0.models.onboarding_merchant_scheduled_pickup': function () { return ({
6655
+ day_of_week: factories['io.flow.v0.enums.day_of_week'](),
6656
+ window: factories['io.flow.v0.models.onboarding_merchant_pickup_window'](),
6657
+ instructions: factories.string(),
6658
+ }); },
6659
+ 'io.flow.v0.models.onboarding_merchant_time': function () { return ({
6660
+ hour_of_day: factories.string(),
6661
+ minute_of_hour: factories.string(),
6662
+ timezone: factories.string(),
6663
+ }); },
7235
6664
  'io.flow.v0.models.online_authorization': function () { return ({
7236
6665
  discriminator: 'online_authorization',
7237
6666
  id: factories.string(),
@@ -10274,6 +9703,7 @@ var factories = {
10274
9703
  'io.flow.v0.models.shopify_merchant_application': function () { return ({
10275
9704
  discriminator: 'shopify_merchant_application',
10276
9705
  id: factories.string(),
9706
+ organization_id: factories.string(),
10277
9707
  company: factories['io.flow.v0.models.merchant_info'](),
10278
9708
  indirect_tax_number: factories.string(),
10279
9709
  parent_company: factories['io.flow.v0.models.merchant_info'](),
@@ -10742,17 +10172,12 @@ var factories = {
10742
10172
  email_recipients: arrayOf(function () { return factories.string(); }),
10743
10173
  }); },
10744
10174
  'io.flow.v0.models.third_party_logistics_partner': function () { return ({
10745
- warehouse_address: factories['io.flow.v0.models.billing_address'](),
10175
+ warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
10746
10176
  warehouse_url: factories.string(),
10747
- third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
10748
- pickup_location: factories['io.flow.v0.models.billing_address'](),
10749
- pickup_instructions: factories.string(),
10177
+ location: factories['io.flow.v0.models.merchant_onboarding_address'](),
10178
+ scheduled_pickups: arrayOf(function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); }),
10750
10179
  operations_contact: factories['io.flow.v0.models.operations_contact'](),
10751
10180
  }); },
10752
- 'io.flow.v0.models.third_party_logistics_pick_up_time_window': function () { return ({
10753
- from: factories.string(),
10754
- to: factories.string(),
10755
- }); },
10756
10181
  'io.flow.v0.models.three_d_secure': function () { return ({
10757
10182
  code: factories['io.flow.v0.enums.three_d_secure_code'](),
10758
10183
  description: factories.string(),
@@ -12317,8 +11742,11 @@ export var makeCenterSummary = function () { return factories['io.flow.v0.models
12317
11742
  export var makeCenterUpserted = function () { return factories['io.flow.v0.models.center_upserted'](); };
12318
11743
  export var makeCenterVersion = function () { return factories['io.flow.v0.models.center_version'](); };
12319
11744
  export var makeChangeType = function () { return factories['io.flow.v0.enums.change_type'](); };
11745
+ export var makeChannel = function () { return factories['io.flow.v0.models.channel'](); };
12320
11746
  export var makeChannelAuthorization = function () { return factories['io.flow.v0.models.channel_authorization'](); };
12321
11747
  export var makeChannelAuthorizationForm = function () { return factories['io.flow.v0.models.channel_authorization_form'](); };
11748
+ export var makeChannelCurrency = function () { return factories['io.flow.v0.models.channel_currency'](); };
11749
+ export var makeChannelCurrencyCapability = function () { return factories['io.flow.v0.enums.channel_currency_capability'](); };
12322
11750
  export var makeChannelCurrencyDeleted = function () { return factories['io.flow.v0.models.channel_currency_deleted'](); };
12323
11751
  export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
12324
11752
  export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
@@ -12872,6 +12300,7 @@ export var makeMerchantOfRecordAuthorizationForm = function () { return factorie
12872
12300
  export var makeMerchantOfRecordEntity = function () { return factories['io.flow.v0.models.merchant_of_record_entity'](); };
12873
12301
  export var makeMerchantOfRecordEntityRegistration = function () { return factories['io.flow.v0.models.merchant_of_record_entity_registration'](); };
12874
12302
  export var makeMerchantOfRecordPaymentForm = function () { return factories['io.flow.v0.models.merchant_of_record_payment_form'](); };
12303
+ export var makeMerchantOnboardingAddress = function () { return factories['io.flow.v0.models.merchant_onboarding_address'](); };
12875
12304
  export var makeMethod = function () { return factories['io.flow.v0.enums.method'](); };
12876
12305
  export var makeMoney = function () { return factories['io.flow.v0.models.money'](); };
12877
12306
  export var makeMoneyWithBase = function () { return factories['io.flow.v0.models.money_with_base'](); };
@@ -12885,6 +12314,9 @@ export var makeNoInventoryReservationErrorItem = function () { return factories[
12885
12314
  export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
12886
12315
  export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
12887
12316
  export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
12317
+ export var makeOnboardingMerchantPickupWindow = function () { return factories['io.flow.v0.models.onboarding_merchant_pickup_window'](); };
12318
+ export var makeOnboardingMerchantScheduledPickup = function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); };
12319
+ export var makeOnboardingMerchantTime = function () { return factories['io.flow.v0.models.onboarding_merchant_time'](); };
12888
12320
  export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
12889
12321
  export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
12890
12322
  export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
@@ -13565,7 +12997,6 @@ export var makeTaxVerificationResult = function () { return factories['io.flow.v
13565
12997
  export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
13566
12998
  export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
13567
12999
  export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
13568
- export var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](); };
13569
13000
  export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
13570
13001
  export var makeThreeDSecureCode = function () { return factories['io.flow.v0.enums.three_d_secure_code'](); };
13571
13002
  export var makeThreedsChallengeAction = function () { return factories['io.flow.v0.unions.threeds_challenge_action'](); };