@flowio/api-factories 0.0.110 → 0.0.111
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/cjs/api.js +284 -1894
- package/dist/esm/api.js +240 -1859
- package/dist/types/api.d.ts +10 -1
- package/package.json +2 -2
- package/src/api.ts +229 -2155
package/src/api.ts
CHANGED
|
@@ -141,332 +141,6 @@ const factories = {
|
|
|
141
141
|
return f();
|
|
142
142
|
},
|
|
143
143
|
|
|
144
|
-
'io.flow.catalog.v0.enums.adjustment_reason_key': (): io.flow.catalog.v0.enums.AdjustmentReasonKey => faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']),
|
|
145
|
-
|
|
146
|
-
'io.flow.catalog.v0.enums.attribute_intent': (): io.flow.catalog.v0.enums.AttributeIntent => faker.helpers.arrayElement([
|
|
147
|
-
'brand',
|
|
148
|
-
'color',
|
|
149
|
-
'countries_of_origin',
|
|
150
|
-
'product_id',
|
|
151
|
-
'fulfillment_method',
|
|
152
|
-
'hazardous',
|
|
153
|
-
'price',
|
|
154
|
-
'size',
|
|
155
|
-
'sku',
|
|
156
|
-
'taxability',
|
|
157
|
-
'consumer_url',
|
|
158
|
-
'gtin',
|
|
159
|
-
'mpn',
|
|
160
|
-
'facet',
|
|
161
|
-
'eccn',
|
|
162
|
-
'returnable',
|
|
163
|
-
'searchable',
|
|
164
|
-
'barcode',
|
|
165
|
-
'min_days_to_ship',
|
|
166
|
-
'max_days_to_ship',
|
|
167
|
-
'commercial_invoice_item_number',
|
|
168
|
-
'include_in_product_feeds',
|
|
169
|
-
]),
|
|
170
|
-
|
|
171
|
-
'io.flow.catalog.v0.enums.fulfillment_method_type': (): io.flow.catalog.v0.enums.FulfillmentMethodType => faker.helpers.arrayElement(['fulfillment_method']),
|
|
172
|
-
'io.flow.catalog.v0.enums.fulfillment_method_value': (): io.flow.catalog.v0.enums.FulfillmentMethodValue => faker.helpers.arrayElement(['digital', 'physical']),
|
|
173
|
-
'io.flow.catalog.v0.enums.image_tag': (): io.flow.catalog.v0.enums.ImageTag => faker.helpers.arrayElement(['thumbnail', 'checkout']),
|
|
174
|
-
'io.flow.catalog.v0.enums.return_item_status': (): io.flow.catalog.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
|
|
175
|
-
'io.flow.catalog.v0.enums.subcatalog_item_status': (): io.flow.catalog.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
176
|
-
'io.flow.catalog.v0.enums.taxability_type': (): io.flow.catalog.v0.enums.TaxabilityType => faker.helpers.arrayElement(['tax_rule']),
|
|
177
|
-
'io.flow.catalog.v0.enums.taxability_value': (): io.flow.catalog.v0.enums.TaxabilityValue => faker.helpers.arrayElement(['exempt']),
|
|
178
|
-
'io.flow.catalog.v0.enums.update_policy': (): io.flow.catalog.v0.enums.UpdatePolicy => faker.helpers.arrayElement(['auto', 'queue', 'discard']),
|
|
179
|
-
|
|
180
|
-
'io.flow.catalog.v0.models.adjustment_reason': (): io.flow.catalog.v0.models.AdjustmentReason => ({
|
|
181
|
-
key: factories['io.flow.catalog.v0.enums.adjustment_reason_key'](),
|
|
182
|
-
label: factories.string(),
|
|
183
|
-
}),
|
|
184
|
-
|
|
185
|
-
'io.flow.catalog.v0.models.attribute': (): io.flow.catalog.v0.models.Attribute => ({
|
|
186
|
-
id: factories.string(),
|
|
187
|
-
key: factories.string(),
|
|
188
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
189
|
-
label: factories.string(),
|
|
190
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
191
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
192
|
-
position: factories.long(),
|
|
193
|
-
}),
|
|
194
|
-
|
|
195
|
-
'io.flow.catalog.v0.models.attribute_form': (): io.flow.catalog.v0.models.AttributeForm => ({
|
|
196
|
-
key: factories.string(),
|
|
197
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
198
|
-
label: factories.string(),
|
|
199
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
200
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
201
|
-
position: factories.long(),
|
|
202
|
-
}),
|
|
203
|
-
|
|
204
|
-
'io.flow.catalog.v0.models.attribute_version': (): io.flow.catalog.v0.models.AttributeVersion => ({
|
|
205
|
-
id: factories.string(),
|
|
206
|
-
timestamp: factories.date_time_iso_8601(),
|
|
207
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
208
|
-
attribute: factories['io.flow.catalog.v0.models.attribute'](),
|
|
209
|
-
}),
|
|
210
|
-
|
|
211
|
-
'io.flow.catalog.v0.models.catalog': (): io.flow.catalog.v0.models.Catalog => ({
|
|
212
|
-
id: factories.string(),
|
|
213
|
-
}),
|
|
214
|
-
|
|
215
|
-
'io.flow.catalog.v0.models.catalog_reference': (): io.flow.catalog.v0.models.CatalogReference => ({
|
|
216
|
-
id: factories.string(),
|
|
217
|
-
}),
|
|
218
|
-
|
|
219
|
-
'io.flow.catalog.v0.models.catalog_statistics': (): io.flow.catalog.v0.models.CatalogStatistics => ({
|
|
220
|
-
id: factories.string(),
|
|
221
|
-
items: factories.long(),
|
|
222
|
-
categories: factories.long(),
|
|
223
|
-
}),
|
|
224
|
-
|
|
225
|
-
'io.flow.catalog.v0.models.catalog_version': (): io.flow.catalog.v0.models.CatalogVersion => ({
|
|
226
|
-
id: factories.string(),
|
|
227
|
-
timestamp: factories.date_time_iso_8601(),
|
|
228
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
229
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
230
|
-
}),
|
|
231
|
-
|
|
232
|
-
'io.flow.catalog.v0.models.flow_item_index_metadata': (): io.flow.catalog.v0.models.FlowItemIndexMetadata => ({
|
|
233
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
234
|
-
}),
|
|
235
|
-
|
|
236
|
-
'io.flow.catalog.v0.models.image': (): io.flow.catalog.v0.models.Image => ({
|
|
237
|
-
url: factories.string(),
|
|
238
|
-
tags: arrayOf(() => factories['io.flow.catalog.v0.enums.image_tag']()),
|
|
239
|
-
attributes: objectOf(() => factories.string()),
|
|
240
|
-
}),
|
|
241
|
-
|
|
242
|
-
'io.flow.catalog.v0.models.image_form': (): io.flow.catalog.v0.models.ImageForm => ({
|
|
243
|
-
url: factories.string(),
|
|
244
|
-
tags: arrayOf(() => factories['io.flow.catalog.v0.enums.image_tag']()),
|
|
245
|
-
attributes: objectOf(() => factories.string()),
|
|
246
|
-
}),
|
|
247
|
-
|
|
248
|
-
'io.flow.catalog.v0.models.item': (): io.flow.catalog.v0.models.Item => ({
|
|
249
|
-
id: factories.string(),
|
|
250
|
-
number: factories.string(),
|
|
251
|
-
locale: factories.string(),
|
|
252
|
-
name: factories.string(),
|
|
253
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
254
|
-
categories: arrayOf(() => factories.string()),
|
|
255
|
-
description: factories.string(),
|
|
256
|
-
attributes: objectOf(() => factories.string()),
|
|
257
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
258
|
-
images: arrayOf(() => factories['io.flow.catalog.v0.models.image']()),
|
|
259
|
-
local: factories['io.flow.catalog.v0.models.local'](),
|
|
260
|
-
created_at: factories.date_time_iso_8601(),
|
|
261
|
-
updated_at: factories.date_time_iso_8601(),
|
|
262
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
263
|
-
}),
|
|
264
|
-
|
|
265
|
-
'io.flow.catalog.v0.models.item_attributes_patch_form': (): io.flow.catalog.v0.models.ItemAttributesPatchForm => ({
|
|
266
|
-
attributes: objectOf(() => factories.string()),
|
|
267
|
-
}),
|
|
268
|
-
|
|
269
|
-
'io.flow.catalog.v0.models.item_form': (): io.flow.catalog.v0.models.ItemForm => ({
|
|
270
|
-
number: factories.string(),
|
|
271
|
-
locale: factories.string(),
|
|
272
|
-
name: factories.string(),
|
|
273
|
-
currency: factories.string(),
|
|
274
|
-
price: factories.double(),
|
|
275
|
-
categories: arrayOf(() => factories.string()),
|
|
276
|
-
description: factories.string(),
|
|
277
|
-
attributes: objectOf(() => factories.string()),
|
|
278
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
279
|
-
images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
|
|
280
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
281
|
-
}),
|
|
282
|
-
|
|
283
|
-
'io.flow.catalog.v0.models.item_form_overlay': (): io.flow.catalog.v0.models.ItemFormOverlay => ({
|
|
284
|
-
id: factories.string(),
|
|
285
|
-
number: factories.string(),
|
|
286
|
-
key: factories.string(),
|
|
287
|
-
position: factories.long(),
|
|
288
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
289
|
-
categories: arrayOf(() => factories.string()),
|
|
290
|
-
description: factories.string(),
|
|
291
|
-
attributes: objectOf(() => factories.string()),
|
|
292
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
293
|
-
images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
|
|
294
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
295
|
-
}),
|
|
296
|
-
|
|
297
|
-
'io.flow.catalog.v0.models.item_form_overlay_form': (): io.flow.catalog.v0.models.ItemFormOverlayForm => ({
|
|
298
|
-
number: factories.string(),
|
|
299
|
-
price: factories.double(),
|
|
300
|
-
currency: factories.string(),
|
|
301
|
-
position: factories.long(),
|
|
302
|
-
categories: arrayOf(() => factories.string()),
|
|
303
|
-
description: factories.string(),
|
|
304
|
-
attributes: objectOf(() => factories.string()),
|
|
305
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
306
|
-
images: arrayOf(() => factories['io.flow.catalog.v0.models.image_form']()),
|
|
307
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
308
|
-
}),
|
|
309
|
-
|
|
310
|
-
'io.flow.catalog.v0.models.item_price_update_form': (): io.flow.catalog.v0.models.ItemPriceUpdateForm => ({
|
|
311
|
-
number: factories.string(),
|
|
312
|
-
currency: factories.string(),
|
|
313
|
-
price: factories.decimal(),
|
|
314
|
-
attributes: objectOf(() => factories.string()),
|
|
315
|
-
}),
|
|
316
|
-
|
|
317
|
-
'io.flow.catalog.v0.models.item_price_update_put_form': (): io.flow.catalog.v0.models.ItemPriceUpdatePutForm => ({
|
|
318
|
-
currency: factories.string(),
|
|
319
|
-
price: factories.decimal(),
|
|
320
|
-
attributes: objectOf(() => factories.string()),
|
|
321
|
-
}),
|
|
322
|
-
|
|
323
|
-
'io.flow.catalog.v0.models.item_statistics': (): io.flow.catalog.v0.models.ItemStatistics => ({
|
|
324
|
-
items: factories.long(),
|
|
325
|
-
categories: factories.long(),
|
|
326
|
-
}),
|
|
327
|
-
|
|
328
|
-
'io.flow.catalog.v0.models.item_version': (): io.flow.catalog.v0.models.ItemVersion => ({
|
|
329
|
-
id: factories.string(),
|
|
330
|
-
timestamp: factories.date_time_iso_8601(),
|
|
331
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
332
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
333
|
-
}),
|
|
334
|
-
|
|
335
|
-
'io.flow.catalog.v0.models.local': (): io.flow.catalog.v0.models.Local => ({
|
|
336
|
-
experience: factories['io.flow.common.v0.models.experience_summary'](),
|
|
337
|
-
prices: arrayOf(() => factories['io.flow.catalog.v0.unions.localized_price']()),
|
|
338
|
-
rates: arrayOf(() => factories['io.flow.currency.v0.models.rate']()),
|
|
339
|
-
spot_rates: arrayOf(() => factories.object()),
|
|
340
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
341
|
-
attributes: objectOf(() => factories.string()),
|
|
342
|
-
price_attributes: objectOf(() => factories['io.flow.common.v0.models.price_with_base']()),
|
|
343
|
-
}),
|
|
344
|
-
|
|
345
|
-
'io.flow.catalog.v0.models.localized_adjustment': (): io.flow.catalog.v0.models.LocalizedAdjustment => ({
|
|
346
|
-
currency: factories.string(),
|
|
347
|
-
amount: factories.double(),
|
|
348
|
-
label: factories.string(),
|
|
349
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
350
|
-
reason: factories['io.flow.catalog.v0.models.adjustment_reason'](),
|
|
351
|
-
}),
|
|
352
|
-
|
|
353
|
-
'io.flow.catalog.v0.models.localized_item_duty': (): io.flow.catalog.v0.models.LocalizedItemDuty => ({
|
|
354
|
-
key: 'localized_item_duty',
|
|
355
|
-
currency: factories.string(),
|
|
356
|
-
amount: factories.double(),
|
|
357
|
-
label: factories.string(),
|
|
358
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
359
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
360
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
361
|
-
}),
|
|
362
|
-
|
|
363
|
-
'io.flow.catalog.v0.models.localized_item_price': (): io.flow.catalog.v0.models.LocalizedItemPrice => ({
|
|
364
|
-
key: 'localized_item_price',
|
|
365
|
-
currency: factories.string(),
|
|
366
|
-
amount: factories.double(),
|
|
367
|
-
label: factories.string(),
|
|
368
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
369
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
370
|
-
}),
|
|
371
|
-
|
|
372
|
-
'io.flow.catalog.v0.models.localized_item_vat': (): io.flow.catalog.v0.models.LocalizedItemVat => ({
|
|
373
|
-
key: 'localized_item_vat',
|
|
374
|
-
currency: factories.string(),
|
|
375
|
-
amount: factories.double(),
|
|
376
|
-
label: factories.string(),
|
|
377
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
378
|
-
name: factories.string(),
|
|
379
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
380
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
381
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
382
|
-
}),
|
|
383
|
-
|
|
384
|
-
'io.flow.catalog.v0.models.localized_total': (): io.flow.catalog.v0.models.LocalizedTotal => ({
|
|
385
|
-
key: 'localized_total',
|
|
386
|
-
currency: factories.string(),
|
|
387
|
-
amount: factories.double(),
|
|
388
|
-
label: factories.string(),
|
|
389
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
390
|
-
}),
|
|
391
|
-
|
|
392
|
-
'io.flow.catalog.v0.models.options': (): io.flow.catalog.v0.models.Options => ({
|
|
393
|
-
required: factories.boolean(),
|
|
394
|
-
show_in_catalog: factories.boolean(),
|
|
395
|
-
show_in_harmonization: factories.boolean(),
|
|
396
|
-
}),
|
|
397
|
-
|
|
398
|
-
'io.flow.catalog.v0.models.subcatalog': (): io.flow.catalog.v0.models.Subcatalog => ({
|
|
399
|
-
discriminator: 'subcatalog',
|
|
400
|
-
id: factories.string(),
|
|
401
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
402
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings'](),
|
|
403
|
-
}),
|
|
404
|
-
|
|
405
|
-
'io.flow.catalog.v0.models.subcatalog_form': (): io.flow.catalog.v0.models.SubcatalogForm => ({
|
|
406
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings_form'](),
|
|
407
|
-
}),
|
|
408
|
-
|
|
409
|
-
'io.flow.catalog.v0.models.subcatalog_item': (): io.flow.catalog.v0.models.SubcatalogItem => ({
|
|
410
|
-
id: factories.string(),
|
|
411
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
412
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
413
|
-
}),
|
|
414
|
-
|
|
415
|
-
'io.flow.catalog.v0.models.subcatalog_item_version': (): io.flow.catalog.v0.models.SubcatalogItemVersion => ({
|
|
416
|
-
id: factories.string(),
|
|
417
|
-
timestamp: factories.date_time_iso_8601(),
|
|
418
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
419
|
-
subcatalog_item: factories['io.flow.catalog.v0.models.subcatalog_item'](),
|
|
420
|
-
}),
|
|
421
|
-
|
|
422
|
-
'io.flow.catalog.v0.models.subcatalog_reference': (): io.flow.catalog.v0.models.SubcatalogReference => ({
|
|
423
|
-
discriminator: 'subcatalog_reference',
|
|
424
|
-
id: factories.string(),
|
|
425
|
-
}),
|
|
426
|
-
|
|
427
|
-
'io.flow.catalog.v0.models.subcatalog_settings': (): io.flow.catalog.v0.models.SubcatalogSettings => ({
|
|
428
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
429
|
-
}),
|
|
430
|
-
|
|
431
|
-
'io.flow.catalog.v0.models.subcatalog_settings_form': (): io.flow.catalog.v0.models.SubcatalogSettingsForm => ({
|
|
432
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
433
|
-
}),
|
|
434
|
-
|
|
435
|
-
'io.flow.catalog.v0.models.subcatalog_statistics': (): io.flow.catalog.v0.models.SubcatalogStatistics => ({
|
|
436
|
-
excluded: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
437
|
-
included: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
438
|
-
restricted: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
439
|
-
queue: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
440
|
-
catalog: factories['io.flow.catalog.v0.models.catalog_statistics'](),
|
|
441
|
-
}),
|
|
442
|
-
|
|
443
|
-
'io.flow.catalog.v0.models.subcatalog_version': (): io.flow.catalog.v0.models.SubcatalogVersion => ({
|
|
444
|
-
id: factories.string(),
|
|
445
|
-
timestamp: factories.date_time_iso_8601(),
|
|
446
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
447
|
-
subcatalog: factories['io.flow.catalog.v0.models.subcatalog'](),
|
|
448
|
-
}),
|
|
449
|
-
|
|
450
|
-
'io.flow.catalog.v0.unions.expandable_subcatalog': (): io.flow.catalog.v0.unions.ExpandableSubcatalog => {
|
|
451
|
-
const f = faker.helpers.arrayElement([
|
|
452
|
-
() => factories['io.flow.catalog.v0.models.subcatalog'](),
|
|
453
|
-
() => factories['io.flow.catalog.v0.models.subcatalog_reference'](),
|
|
454
|
-
]);
|
|
455
|
-
|
|
456
|
-
return f();
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
'io.flow.catalog.v0.unions.localized_price': (): io.flow.catalog.v0.unions.LocalizedPrice => {
|
|
460
|
-
const f = faker.helpers.arrayElement([
|
|
461
|
-
() => factories['io.flow.catalog.v0.models.localized_item_price'](),
|
|
462
|
-
() => factories['io.flow.catalog.v0.models.localized_item_vat'](),
|
|
463
|
-
() => factories['io.flow.catalog.v0.models.localized_item_duty'](),
|
|
464
|
-
() => factories['io.flow.catalog.v0.models.localized_total'](),
|
|
465
|
-
]);
|
|
466
|
-
|
|
467
|
-
return f();
|
|
468
|
-
},
|
|
469
|
-
|
|
470
144
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction => faker.helpers.arrayElement(['auto_reject', 'auto_accept']),
|
|
471
145
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode => faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']),
|
|
472
146
|
|
|
@@ -540,6 +214,7 @@ const factories = {
|
|
|
540
214
|
channel_id: factories.string(),
|
|
541
215
|
external_order_reference: factories.string(),
|
|
542
216
|
payment_request_id: factories.string(),
|
|
217
|
+
order_payment_request_ids: arrayOf(() => factories.string()),
|
|
543
218
|
order_edit_payment_request_ids: arrayOf(() => factories.string()),
|
|
544
219
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
545
220
|
|
|
@@ -1194,27 +869,6 @@ const factories = {
|
|
|
1194
869
|
return f();
|
|
1195
870
|
},
|
|
1196
871
|
|
|
1197
|
-
'io.flow.currency.v0.models.rate': (): io.flow.currency.v0.models.Rate => ({
|
|
1198
|
-
id: factories.string(),
|
|
1199
|
-
base: factories.string(),
|
|
1200
|
-
target: factories.string(),
|
|
1201
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1202
|
-
value: factories.decimal(),
|
|
1203
|
-
}),
|
|
1204
|
-
|
|
1205
|
-
'io.flow.currency.v0.models.rate_form': (): io.flow.currency.v0.models.RateForm => ({
|
|
1206
|
-
base: factories.string(),
|
|
1207
|
-
target: factories.string(),
|
|
1208
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1209
|
-
}),
|
|
1210
|
-
|
|
1211
|
-
'io.flow.currency.v0.models.rate_version': (): io.flow.currency.v0.models.RateVersion => ({
|
|
1212
|
-
id: factories.string(),
|
|
1213
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1214
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1215
|
-
rate: factories['io.flow.currency.v0.models.rate'](),
|
|
1216
|
-
}),
|
|
1217
|
-
|
|
1218
872
|
'io.flow.error.v0.enums.generic_error_code': (): io.flow.error.v0.enums.GenericErrorCode => faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']),
|
|
1219
873
|
|
|
1220
874
|
'io.flow.error.v0.models.generic_error': (): io.flow.error.v0.models.GenericError => ({
|
|
@@ -1222,1820 +876,182 @@ const factories = {
|
|
|
1222
876
|
messages: arrayOf(() => factories.string()),
|
|
1223
877
|
}),
|
|
1224
878
|
|
|
1225
|
-
'io.flow.
|
|
1226
|
-
|
|
1227
|
-
'io.flow.
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
'ratecard_rural_shipment_fee',
|
|
1233
|
-
'ratecard_emergency_situation_surcharge_fee',
|
|
1234
|
-
'ratecard_peak_surcharge_fee',
|
|
1235
|
-
'ratecard_duties_taxes_paid_surcharge_fee',
|
|
1236
|
-
'center_commercial_invoice_fee',
|
|
1237
|
-
'center_inbound_carton_fee',
|
|
1238
|
-
'center_outbound_carton_fee',
|
|
1239
|
-
]),
|
|
1240
|
-
|
|
1241
|
-
'io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source': (): io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailSource => faker.helpers.arrayElement(['center', 'ratecard']),
|
|
1242
|
-
'io.flow.fulfillment.v0.enums.delivery_window_component_source': (): io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource => faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']),
|
|
1243
|
-
'io.flow.fulfillment.v0.enums.delivery_window_location': (): io.flow.fulfillment.v0.enums.DeliveryWindowLocation => faker.helpers.arrayElement(['center', 'crossdock', 'customer']),
|
|
1244
|
-
'io.flow.fulfillment.v0.enums.fulfillment_routing': (): io.flow.fulfillment.v0.enums.FulfillmentRouting => faker.helpers.arrayElement(['fulfilled_from_center', 'fulfillment_service']),
|
|
1245
|
-
'io.flow.fulfillment.v0.enums.item_availability_status': (): io.flow.fulfillment.v0.enums.ItemAvailabilityStatus => faker.helpers.arrayElement(['available', 'low', 'out_of_stock']),
|
|
1246
|
-
'io.flow.fulfillment.v0.enums.lane_direction': (): io.flow.fulfillment.v0.enums.LaneDirection => faker.helpers.arrayElement(['outbound', 'return']),
|
|
1247
|
-
'io.flow.fulfillment.v0.enums.lane_preselect_preference': (): io.flow.fulfillment.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
|
|
1248
|
-
'io.flow.fulfillment.v0.enums.lane_strategy': (): io.flow.fulfillment.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
|
|
1249
|
-
'io.flow.fulfillment.v0.enums.physical_delivery_special_serivce': (): io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
|
|
1250
|
-
'io.flow.fulfillment.v0.enums.preferred_service_selection_strategy': (): io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy => faker.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']),
|
|
1251
|
-
'io.flow.fulfillment.v0.enums.quote_error_code': (): io.flow.fulfillment.v0.enums.QuoteErrorCode => faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']),
|
|
1252
|
-
'io.flow.fulfillment.v0.enums.ratecard_owner': (): io.flow.fulfillment.v0.enums.RatecardOwner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
1253
|
-
'io.flow.fulfillment.v0.enums.shipment_integration_type': (): io.flow.fulfillment.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
1254
|
-
'io.flow.fulfillment.v0.enums.shipping_configuration_type': (): io.flow.fulfillment.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
1255
|
-
'io.flow.fulfillment.v0.enums.strategy': (): io.flow.fulfillment.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
1256
|
-
'io.flow.fulfillment.v0.enums.surcharge_responsible_party': (): io.flow.fulfillment.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
1257
|
-
'io.flow.fulfillment.v0.enums.tier_availability': (): io.flow.fulfillment.v0.enums.TierAvailability => faker.helpers.arrayElement(['always', 'backup']),
|
|
1258
|
-
'io.flow.fulfillment.v0.enums.tier_estimate_type': (): io.flow.fulfillment.v0.enums.TierEstimateType => faker.helpers.arrayElement(['calculated', 'custom']),
|
|
1259
|
-
'io.flow.fulfillment.v0.enums.tier_strategy': (): io.flow.fulfillment.v0.enums.TierStrategy => faker.helpers.arrayElement(['fastest', 'lowest_cost']),
|
|
1260
|
-
'io.flow.fulfillment.v0.enums.zero_amount_indicator': (): io.flow.fulfillment.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
|
|
1261
|
-
|
|
1262
|
-
'io.flow.fulfillment.v0.models.amount_margin': (): io.flow.fulfillment.v0.models.AmountMargin => ({
|
|
1263
|
-
discriminator: 'amount_margin',
|
|
1264
|
-
margin: factories['io.flow.common.v0.models.price'](),
|
|
1265
|
-
}),
|
|
879
|
+
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']),
|
|
880
|
+
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.helpers.arrayElement(['MIN', 'FULL']),
|
|
881
|
+
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.helpers.arrayElement(['adyen', 'stripe']),
|
|
882
|
+
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']),
|
|
883
|
+
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['CARD']),
|
|
884
|
+
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']),
|
|
885
|
+
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']),
|
|
1266
886
|
|
|
1267
|
-
'io.flow.
|
|
1268
|
-
discriminator: 'amount_margin_form',
|
|
1269
|
-
margin: factories['io.flow.common.v0.models.money'](),
|
|
1270
|
-
}),
|
|
1271
|
-
|
|
1272
|
-
'io.flow.fulfillment.v0.models.at_cost': (): io.flow.fulfillment.v0.models.AtCost => ({
|
|
1273
|
-
discriminator: 'at_cost',
|
|
1274
|
-
ignore: factories.string(),
|
|
1275
|
-
}),
|
|
1276
|
-
|
|
1277
|
-
'io.flow.fulfillment.v0.models.available_service': (): io.flow.fulfillment.v0.models.AvailableService => ({
|
|
1278
|
-
service: factories.string(),
|
|
1279
|
-
scheduled_pickups: arrayOf(() => factories['io.flow.fulfillment.v0.models.scheduled_pickup']()),
|
|
1280
|
-
lead_days: factories['io.flow.fulfillment.v0.models.number_range'](),
|
|
1281
|
-
}),
|
|
1282
|
-
|
|
1283
|
-
'io.flow.fulfillment.v0.models.carrier_reference': (): io.flow.fulfillment.v0.models.CarrierReference => ({
|
|
1284
|
-
id: factories.string(),
|
|
1285
|
-
}),
|
|
1286
|
-
|
|
1287
|
-
'io.flow.fulfillment.v0.models.center': (): io.flow.fulfillment.v0.models.Center => ({
|
|
1288
|
-
discriminator: 'center',
|
|
1289
|
-
id: factories.string(),
|
|
1290
|
-
key: factories.string(),
|
|
1291
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1292
|
-
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
1293
|
-
name: factories.string(),
|
|
1294
|
-
services: arrayOf(() => factories['io.flow.fulfillment.v0.models.available_service']()),
|
|
1295
|
-
schedule: factories['io.flow.common.v0.models.schedule'](),
|
|
1296
|
-
timezone: factories.string(),
|
|
1297
|
-
capabilities: arrayOf(() => factories['io.flow.fulfillment.v0.enums.center_capability']()),
|
|
1298
|
-
partner_center: factories['io.flow.fulfillment.v0.models.partner_center'](),
|
|
1299
|
-
}),
|
|
1300
|
-
|
|
1301
|
-
'io.flow.fulfillment.v0.models.center_form': (): io.flow.fulfillment.v0.models.CenterForm => ({
|
|
1302
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1303
|
-
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
1304
|
-
name: factories.string(),
|
|
1305
|
-
services: arrayOf(() => factories['io.flow.fulfillment.v0.models.available_service']()),
|
|
1306
|
-
schedule: factories['io.flow.common.v0.models.schedule'](),
|
|
1307
|
-
timezone: factories.string(),
|
|
1308
|
-
key: factories.string(),
|
|
1309
|
-
capabilities: arrayOf(() => factories['io.flow.fulfillment.v0.enums.center_capability']()),
|
|
1310
|
-
partner_center_form: factories['io.flow.fulfillment.v0.models.partner_center_form'](),
|
|
1311
|
-
}),
|
|
1312
|
-
|
|
1313
|
-
'io.flow.fulfillment.v0.models.center_query': (): io.flow.fulfillment.v0.models.CenterQuery => ({
|
|
1314
|
-
q: factories.string(),
|
|
1315
|
-
}),
|
|
1316
|
-
|
|
1317
|
-
'io.flow.fulfillment.v0.models.center_reference': (): io.flow.fulfillment.v0.models.CenterReference => ({
|
|
1318
|
-
discriminator: 'center_reference',
|
|
1319
|
-
organization_id: factories.string(),
|
|
1320
|
-
center_key: factories.string(),
|
|
1321
|
-
}),
|
|
1322
|
-
|
|
1323
|
-
'io.flow.fulfillment.v0.models.center_summary': (): io.flow.fulfillment.v0.models.CenterSummary => ({
|
|
1324
|
-
id: factories.string(),
|
|
1325
|
-
key: factories.string(),
|
|
1326
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1327
|
-
}),
|
|
1328
|
-
|
|
1329
|
-
'io.flow.fulfillment.v0.models.center_version': (): io.flow.fulfillment.v0.models.CenterVersion => ({
|
|
1330
|
-
id: factories.string(),
|
|
1331
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1332
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1333
|
-
center: factories['io.flow.fulfillment.v0.models.center'](),
|
|
1334
|
-
}),
|
|
1335
|
-
|
|
1336
|
-
'io.flow.fulfillment.v0.models.commercial_invoice_fee': (): io.flow.fulfillment.v0.models.CommercialInvoiceFee => ({
|
|
1337
|
-
discriminator: 'commercial_invoice_fee',
|
|
1338
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1339
|
-
}),
|
|
1340
|
-
|
|
1341
|
-
'io.flow.fulfillment.v0.models.country_availability': (): io.flow.fulfillment.v0.models.CountryAvailability => ({
|
|
1342
|
-
status: factories['io.flow.fulfillment.v0.enums.item_availability_status'](),
|
|
1343
|
-
countries: arrayOf(() => factories.string()),
|
|
1344
|
-
}),
|
|
1345
|
-
|
|
1346
|
-
'io.flow.fulfillment.v0.models.country_shipping_pricing': (): io.flow.fulfillment.v0.models.CountryShippingPricing => ({
|
|
1347
|
-
pricing: factories['io.flow.fulfillment.v0.models.item_shipping_pricing'](),
|
|
1348
|
-
countries: arrayOf(() => factories.string()),
|
|
1349
|
-
}),
|
|
1350
|
-
|
|
1351
|
-
'io.flow.fulfillment.v0.models.delivery_item': (): io.flow.fulfillment.v0.models.DeliveryItem => ({
|
|
1352
|
-
id: factories.string(),
|
|
1353
|
-
number: factories.string(),
|
|
1354
|
-
quantity: factories.long(),
|
|
1355
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1356
|
-
price: factories['io.flow.common.v0.models.money_with_optional_base'](),
|
|
1357
|
-
attributes: objectOf(() => factories.string()),
|
|
1358
|
-
center: factories.string(),
|
|
1359
|
-
line_number: factories.long(),
|
|
1360
|
-
}),
|
|
1361
|
-
|
|
1362
|
-
'io.flow.fulfillment.v0.models.delivery_option': (): io.flow.fulfillment.v0.models.DeliveryOption => ({
|
|
1363
|
-
id: factories.string(),
|
|
1364
|
-
cost: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1365
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1366
|
-
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1367
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1368
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1369
|
-
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1370
|
-
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1371
|
-
weight: factories['io.flow.fulfillment.v0.models.option_weight_estimates'](),
|
|
1372
|
-
send_to: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1373
|
-
surcharge: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1374
|
-
ratecard_owner: factories['io.flow.fulfillment.v0.enums.ratecard_owner'](),
|
|
1375
|
-
}),
|
|
1376
|
-
|
|
1377
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_component': (): io.flow.fulfillment.v0.models.DeliveryOptionCostComponent => ({
|
|
1378
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1379
|
-
currency: factories.string(),
|
|
1380
|
-
amount: factories.decimal(),
|
|
1381
|
-
label: factories.string(),
|
|
1382
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1383
|
-
}),
|
|
1384
|
-
|
|
1385
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_detail': (): io.flow.fulfillment.v0.models.DeliveryOptionCostDetail => ({
|
|
1386
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source'](),
|
|
1387
|
-
ratecard_id: factories.string(),
|
|
1388
|
-
currency: factories.string(),
|
|
1389
|
-
amount: factories.decimal(),
|
|
1390
|
-
label: factories.string(),
|
|
1391
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1392
|
-
|
|
1393
|
-
components: arrayOf(
|
|
1394
|
-
() => factories['io.flow.fulfillment.v0.models.delivery_option_cost_component'](),
|
|
1395
|
-
),
|
|
1396
|
-
}),
|
|
1397
|
-
|
|
1398
|
-
'io.flow.fulfillment.v0.models.delivery_option_form': (): io.flow.fulfillment.v0.models.DeliveryOptionForm => ({
|
|
1399
|
-
delivery: factories.string(),
|
|
1400
|
-
items: arrayOf(() => factories['io.flow.fulfillment.v0.models.quote_line_item_form']()),
|
|
1401
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1402
|
-
}),
|
|
1403
|
-
|
|
1404
|
-
'io.flow.fulfillment.v0.models.delivery_option_reference': (): io.flow.fulfillment.v0.models.DeliveryOptionReference => ({
|
|
1405
|
-
id: factories.string(),
|
|
1406
|
-
}),
|
|
1407
|
-
|
|
1408
|
-
'io.flow.fulfillment.v0.models.delivery_option_summary': (): io.flow.fulfillment.v0.models.DeliveryOptionSummary => ({
|
|
1409
|
-
id: factories.string(),
|
|
1410
|
-
cost: factories['io.flow.common.v0.models.price'](),
|
|
1411
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1412
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1413
|
-
service: factories['io.flow.fulfillment.v0.models.service_reference'](),
|
|
1414
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1415
|
-
window: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1416
|
-
}),
|
|
1417
|
-
|
|
1418
|
-
'io.flow.fulfillment.v0.models.delivery_option_version': (): io.flow.fulfillment.v0.models.DeliveryOptionVersion => ({
|
|
1419
|
-
id: factories.string(),
|
|
1420
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1421
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1422
|
-
delivery_option: factories['io.flow.fulfillment.v0.models.delivery_option_summary'](),
|
|
1423
|
-
}),
|
|
1424
|
-
|
|
1425
|
-
'io.flow.fulfillment.v0.models.delivery_summary': (): io.flow.fulfillment.v0.models.DeliverySummary => ({
|
|
1426
|
-
id: factories.string(),
|
|
1427
|
-
items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
1428
|
-
}),
|
|
1429
|
-
|
|
1430
|
-
'io.flow.fulfillment.v0.models.delivery_version': (): io.flow.fulfillment.v0.models.DeliveryVersion => ({
|
|
1431
|
-
id: factories.string(),
|
|
1432
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1433
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1434
|
-
delivery: factories['io.flow.fulfillment.v0.models.delivery_summary'](),
|
|
1435
|
-
}),
|
|
1436
|
-
|
|
1437
|
-
'io.flow.fulfillment.v0.models.delivery_window': (): io.flow.fulfillment.v0.models.DeliveryWindow => ({
|
|
1438
|
-
from: factories.date_time_iso_8601(),
|
|
1439
|
-
to: factories.date_time_iso_8601(),
|
|
1440
|
-
timezone: factories.string(),
|
|
1441
|
-
label: factories.string(),
|
|
1442
|
-
min_days: factories.long(),
|
|
1443
|
-
max_days: factories.long(),
|
|
1444
|
-
}),
|
|
1445
|
-
|
|
1446
|
-
'io.flow.fulfillment.v0.models.delivery_window_component': (): io.flow.fulfillment.v0.models.DeliveryWindowComponent => ({
|
|
1447
|
-
from: factories.date_time_iso_8601(),
|
|
1448
|
-
to: factories.date_time_iso_8601(),
|
|
1449
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1450
|
-
}),
|
|
1451
|
-
|
|
1452
|
-
'io.flow.fulfillment.v0.models.delivery_window_components': (): io.flow.fulfillment.v0.models.DeliveryWindowComponents => ({
|
|
1453
|
-
shipment_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1454
|
-
transit_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1455
|
-
}),
|
|
1456
|
-
|
|
1457
|
-
'io.flow.fulfillment.v0.models.delivery_window_components_v2': (): io.flow.fulfillment.v0.models.DeliveryWindowComponentsV2 => ({
|
|
1458
|
-
processing_estimates: arrayOf(() => factories['io.flow.fulfillment.v0.models.processing_estimate']()),
|
|
1459
|
-
transit_estimates: arrayOf(() => factories['io.flow.fulfillment.v0.models.transit_estimate']()),
|
|
1460
|
-
}),
|
|
1461
|
-
|
|
1462
|
-
'io.flow.fulfillment.v0.models.delivery_window_summary': (): io.flow.fulfillment.v0.models.DeliveryWindowSummary => ({
|
|
1463
|
-
country: factories.string(),
|
|
1464
|
-
delivery_window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1465
|
-
}),
|
|
1466
|
-
|
|
1467
|
-
'io.flow.fulfillment.v0.models.digital_delivery': (): io.flow.fulfillment.v0.models.DigitalDelivery => ({
|
|
1468
|
-
discriminator: 'digital_delivery',
|
|
1469
|
-
id: factories.string(),
|
|
1470
|
-
key: factories.string(),
|
|
1471
|
-
items: arrayOf(() => factories['io.flow.fulfillment.v0.models.delivery_item']()),
|
|
1472
|
-
prices: arrayOf(() => factories['io.flow.order.price.v0.models.order_price_detail']()),
|
|
1473
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1474
|
-
}),
|
|
1475
|
-
|
|
1476
|
-
'io.flow.fulfillment.v0.models.estimated_window': (): io.flow.fulfillment.v0.models.EstimatedWindow => ({
|
|
1477
|
-
from: factories.long(),
|
|
1478
|
-
to: factories.long(),
|
|
1479
|
-
unit: factories['io.flow.common.v0.enums.unit_of_time'](),
|
|
1480
|
-
}),
|
|
1481
|
-
|
|
1482
|
-
'io.flow.fulfillment.v0.models.flat_rate': (): io.flow.fulfillment.v0.models.FlatRate => ({
|
|
1483
|
-
discriminator: 'flat_rate',
|
|
1484
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1485
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1486
|
-
}),
|
|
1487
|
-
|
|
1488
|
-
'io.flow.fulfillment.v0.models.flat_rate_form': (): io.flow.fulfillment.v0.models.FlatRateForm => ({
|
|
1489
|
-
discriminator: 'flat_rate_form',
|
|
1490
|
-
price: factories['io.flow.common.v0.models.money'](),
|
|
1491
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1492
|
-
}),
|
|
1493
|
-
|
|
1494
|
-
'io.flow.fulfillment.v0.models.fulfillment_experience_reference': (): io.flow.fulfillment.v0.models.FulfillmentExperienceReference => ({
|
|
1495
|
-
id: factories.string(),
|
|
1496
|
-
currency: factories.string(),
|
|
1497
|
-
}),
|
|
1498
|
-
|
|
1499
|
-
'io.flow.fulfillment.v0.models.inbound_carton_fee': (): io.flow.fulfillment.v0.models.InboundCartonFee => ({
|
|
1500
|
-
discriminator: 'inbound_carton_fee',
|
|
1501
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1502
|
-
}),
|
|
1503
|
-
|
|
1504
|
-
'io.flow.fulfillment.v0.models.item_shipping_pricing': (): io.flow.fulfillment.v0.models.ItemShippingPricing => ({
|
|
1505
|
-
min: factories['io.flow.common.v0.models.price'](),
|
|
1506
|
-
max: factories['io.flow.common.v0.models.price'](),
|
|
1507
|
-
}),
|
|
1508
|
-
|
|
1509
|
-
'io.flow.fulfillment.v0.models.number_range': (): io.flow.fulfillment.v0.models.NumberRange => ({
|
|
1510
|
-
min: factories.long(),
|
|
1511
|
-
max: factories.long(),
|
|
1512
|
-
}),
|
|
1513
|
-
|
|
1514
|
-
'io.flow.fulfillment.v0.models.option_weight_estimates': (): io.flow.fulfillment.v0.models.OptionWeightEstimates => ({
|
|
1515
|
-
gravitational: factories['io.flow.common.v0.models.measurement'](),
|
|
1516
|
-
dimensional: factories['io.flow.common.v0.models.measurement'](),
|
|
1517
|
-
}),
|
|
1518
|
-
|
|
1519
|
-
'io.flow.fulfillment.v0.models.outbound_carton_fee': (): io.flow.fulfillment.v0.models.OutboundCartonFee => ({
|
|
1520
|
-
discriminator: 'outbound_carton_fee',
|
|
1521
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1522
|
-
}),
|
|
1523
|
-
|
|
1524
|
-
'io.flow.fulfillment.v0.models.packaging': (): io.flow.fulfillment.v0.models.Packaging => ({
|
|
1525
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
1526
|
-
name: factories.string(),
|
|
1527
|
-
number: factories.string(),
|
|
1528
|
-
}),
|
|
1529
|
-
|
|
1530
|
-
'io.flow.fulfillment.v0.models.partner_center': (): io.flow.fulfillment.v0.models.PartnerCenter => ({
|
|
1531
|
-
partner_reference: factories['io.flow.common.v0.models.partner_reference'](),
|
|
1532
|
-
number: factories.string(),
|
|
1533
|
-
fees: arrayOf(() => factories['io.flow.fulfillment.v0.unions.partner_center_fee']()),
|
|
1534
|
-
}),
|
|
1535
|
-
|
|
1536
|
-
'io.flow.fulfillment.v0.models.partner_center_form': (): io.flow.fulfillment.v0.models.PartnerCenterForm => ({
|
|
1537
|
-
partner_id: factories.string(),
|
|
1538
|
-
number: factories.string(),
|
|
1539
|
-
fees: arrayOf(() => factories['io.flow.fulfillment.v0.unions.partner_center_fee']()),
|
|
1540
|
-
}),
|
|
1541
|
-
|
|
1542
|
-
'io.flow.fulfillment.v0.models.percent_margin': (): io.flow.fulfillment.v0.models.PercentMargin => ({
|
|
1543
|
-
discriminator: 'percent_margin',
|
|
1544
|
-
percentage: factories.double(),
|
|
1545
|
-
}),
|
|
1546
|
-
|
|
1547
|
-
'io.flow.fulfillment.v0.models.physical_delivery': (): io.flow.fulfillment.v0.models.PhysicalDelivery => ({
|
|
1548
|
-
discriminator: 'physical_delivery',
|
|
1549
|
-
id: factories.string(),
|
|
1550
|
-
key: factories.string(),
|
|
1551
|
-
center: factories['io.flow.fulfillment.v0.models.center_summary'](),
|
|
1552
|
-
fulfillment_routing: factories['io.flow.fulfillment.v0.enums.fulfillment_routing'](),
|
|
1553
|
-
ship_from_country: factories.string(),
|
|
1554
|
-
items: arrayOf(() => factories['io.flow.fulfillment.v0.models.delivery_item']()),
|
|
1555
|
-
options: arrayOf(() => factories['io.flow.fulfillment.v0.models.delivery_option']()),
|
|
1556
|
-
|
|
1557
|
-
special_services: arrayOf(
|
|
1558
|
-
() => factories['io.flow.fulfillment.v0.enums.physical_delivery_special_serivce'](),
|
|
1559
|
-
),
|
|
1560
|
-
|
|
1561
|
-
prices: arrayOf(() => factories['io.flow.order.price.v0.models.order_price_detail']()),
|
|
1562
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1563
|
-
goods_supply: factories['io.flow.common.v0.enums.goods_supply'](),
|
|
1564
|
-
merchant_of_record_flow_entity: factories['io.flow.merchant.of.record.v0.enums.flow_entity'](),
|
|
1565
|
-
preferred_service: factories['io.flow.fulfillment.v0.models.physical_delivery_preferred_service'](),
|
|
1566
|
-
}),
|
|
1567
|
-
|
|
1568
|
-
'io.flow.fulfillment.v0.models.physical_delivery_preferred_service': (): io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService => ({
|
|
1569
|
-
id: factories.string(),
|
|
1570
|
-
selection_stratey: factories['io.flow.fulfillment.v0.enums.preferred_service_selection_strategy'](),
|
|
1571
|
-
}),
|
|
1572
|
-
|
|
1573
|
-
'io.flow.fulfillment.v0.models.price_with_base_and_details': (): io.flow.fulfillment.v0.models.PriceWithBaseAndDetails => ({
|
|
1574
|
-
currency: factories.string(),
|
|
1575
|
-
amount: factories.double(),
|
|
1576
|
-
label: factories.string(),
|
|
1577
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1578
|
-
|
|
1579
|
-
details: arrayOf(
|
|
1580
|
-
() => factories['io.flow.fulfillment.v0.models.delivery_option_cost_detail'](),
|
|
1581
|
-
),
|
|
1582
|
-
}),
|
|
1583
|
-
|
|
1584
|
-
'io.flow.fulfillment.v0.models.processing_estimate': (): io.flow.fulfillment.v0.models.ProcessingEstimate => ({
|
|
1585
|
-
location: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1586
|
-
min_date: factories.date_time_iso_8601(),
|
|
1587
|
-
max_date: factories.date_time_iso_8601(),
|
|
1588
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1589
|
-
}),
|
|
1590
|
-
|
|
1591
|
-
'io.flow.fulfillment.v0.models.quote': (): io.flow.fulfillment.v0.models.Quote => ({
|
|
1592
|
-
id: factories.string(),
|
|
1593
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1594
|
-
deliveries: arrayOf(() => factories['io.flow.fulfillment.v0.unions.delivery']()),
|
|
1595
|
-
|
|
1596
|
-
selections: arrayOf(
|
|
1597
|
-
() => factories['io.flow.fulfillment.v0.models.delivery_option_reference'](),
|
|
1598
|
-
),
|
|
1599
|
-
|
|
1600
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1601
|
-
delivered_duties: arrayOf(() => factories['io.flow.common.v0.enums.delivered_duty']()),
|
|
1602
|
-
}),
|
|
1603
|
-
|
|
1604
|
-
'io.flow.fulfillment.v0.models.quote_error': (): io.flow.fulfillment.v0.models.QuoteError => ({
|
|
1605
|
-
code: factories['io.flow.fulfillment.v0.enums.quote_error_code'](),
|
|
1606
|
-
messages: arrayOf(() => factories.string()),
|
|
1607
|
-
item_numbers: arrayOf(() => factories.string()),
|
|
1608
|
-
}),
|
|
1609
|
-
|
|
1610
|
-
'io.flow.fulfillment.v0.models.quote_form': (): io.flow.fulfillment.v0.models.QuoteForm => ({
|
|
1611
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1612
|
-
experience: factories.string(),
|
|
1613
|
-
items: arrayOf(() => factories['io.flow.fulfillment.v0.models.quote_line_item_form']()),
|
|
1614
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1615
|
-
delivered_duties: arrayOf(() => factories['io.flow.common.v0.enums.delivered_duty']()),
|
|
1616
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1617
|
-
}),
|
|
1618
|
-
|
|
1619
|
-
'io.flow.fulfillment.v0.models.quote_line_item_form': (): io.flow.fulfillment.v0.models.QuoteLineItemForm => ({
|
|
1620
|
-
number: factories.string(),
|
|
1621
|
-
quantity: factories.long(),
|
|
1622
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1623
|
-
price: factories['io.flow.common.v0.models.money_with_base'](),
|
|
1624
|
-
attributes: objectOf(() => factories.string()),
|
|
1625
|
-
center: factories.string(),
|
|
1626
|
-
}),
|
|
1627
|
-
|
|
1628
|
-
'io.flow.fulfillment.v0.models.quote_summary': (): io.flow.fulfillment.v0.models.QuoteSummary => ({
|
|
1629
|
-
id: factories.string(),
|
|
1630
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1631
|
-
}),
|
|
1632
|
-
|
|
1633
|
-
'io.flow.fulfillment.v0.models.quote_version': (): io.flow.fulfillment.v0.models.QuoteVersion => ({
|
|
1634
|
-
id: factories.string(),
|
|
1635
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1636
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1637
|
-
quote: factories['io.flow.fulfillment.v0.models.quote_summary'](),
|
|
1638
|
-
}),
|
|
1639
|
-
|
|
1640
|
-
'io.flow.fulfillment.v0.models.scheduled_pickup': (): io.flow.fulfillment.v0.models.ScheduledPickup => ({
|
|
1641
|
-
day_of_week: factories['io.flow.common.v0.enums.day_of_week'](),
|
|
1642
|
-
hour_of_day: factories.string(),
|
|
1643
|
-
minute_of_hour: factories.string(),
|
|
1644
|
-
}),
|
|
1645
|
-
|
|
1646
|
-
'io.flow.fulfillment.v0.models.service_reference': (): io.flow.fulfillment.v0.models.ServiceReference => ({
|
|
1647
|
-
id: factories.string(),
|
|
1648
|
-
}),
|
|
1649
|
-
|
|
1650
|
-
'io.flow.fulfillment.v0.models.service_summary': (): io.flow.fulfillment.v0.models.ServiceSummary => ({
|
|
1651
|
-
discriminator: 'service_summary',
|
|
1652
|
-
id: factories.string(),
|
|
1653
|
-
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
1654
|
-
name: factories.string(),
|
|
1655
|
-
center_code: factories.string(),
|
|
1656
|
-
}),
|
|
1657
|
-
|
|
1658
|
-
'io.flow.fulfillment.v0.models.service_unknown': (): io.flow.fulfillment.v0.models.ServiceUnknown => ({
|
|
1659
|
-
discriminator: 'service_unknown',
|
|
1660
|
-
name: factories.string(),
|
|
1661
|
-
}),
|
|
1662
|
-
|
|
1663
|
-
'io.flow.fulfillment.v0.models.shipping_address': (): io.flow.fulfillment.v0.models.ShippingAddress => ({
|
|
1664
|
-
contact: factories['io.flow.common.v0.models.contact'](),
|
|
1665
|
-
location: factories['io.flow.common.v0.models.address'](),
|
|
1666
|
-
center_key: factories.string(),
|
|
1667
|
-
center_reference: factories['io.flow.fulfillment.v0.models.center_reference'](),
|
|
1668
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1669
|
-
}),
|
|
1670
|
-
|
|
1671
|
-
'io.flow.fulfillment.v0.models.shipping_configuration': (): io.flow.fulfillment.v0.models.ShippingConfiguration => ({
|
|
1672
|
-
id: factories.string(),
|
|
1673
|
-
name: factories.string(),
|
|
1674
|
-
key: factories.string(),
|
|
1675
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1676
|
-
shipping_lanes: arrayOf(() => factories['io.flow.fulfillment.v0.models.shipping_lane']()),
|
|
1677
|
-
}),
|
|
1678
|
-
|
|
1679
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy': (): io.flow.fulfillment.v0.models.ShippingConfigurationCopy => ({
|
|
1680
|
-
original: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1681
|
-
'new': factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1682
|
-
}),
|
|
1683
|
-
|
|
1684
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy_form': (): io.flow.fulfillment.v0.models.ShippingConfigurationCopyForm => ({
|
|
1685
|
-
name: factories.string(),
|
|
1686
|
-
}),
|
|
1687
|
-
|
|
1688
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_form': (): io.flow.fulfillment.v0.models.ShippingConfigurationForm => ({
|
|
1689
|
-
name: factories.string(),
|
|
1690
|
-
}),
|
|
1691
|
-
|
|
1692
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_availability': (): io.flow.fulfillment.v0.models.ShippingConfigurationItemAvailability => ({
|
|
1693
|
-
id: factories.string(),
|
|
1694
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1695
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1696
|
-
availabilities: arrayOf(() => factories['io.flow.fulfillment.v0.models.country_availability']()),
|
|
1697
|
-
}),
|
|
1698
|
-
|
|
1699
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_shipping_pricing': (): io.flow.fulfillment.v0.models.ShippingConfigurationItemShippingPricing => ({
|
|
1700
|
-
id: factories.string(),
|
|
1701
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1702
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1703
|
-
|
|
1704
|
-
country_shipping_pricings: arrayOf(
|
|
1705
|
-
() => factories['io.flow.fulfillment.v0.models.country_shipping_pricing'](),
|
|
1706
|
-
),
|
|
1707
|
-
}),
|
|
1708
|
-
|
|
1709
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_reference': (): io.flow.fulfillment.v0.models.ShippingConfigurationReference => ({
|
|
1710
|
-
key: factories.string(),
|
|
1711
|
-
}),
|
|
1712
|
-
|
|
1713
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_summary': (): io.flow.fulfillment.v0.models.ShippingConfigurationSummary => ({
|
|
1714
|
-
id: factories.string(),
|
|
1715
|
-
name: factories.string(),
|
|
1716
|
-
key: factories.string(),
|
|
1717
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1718
|
-
}),
|
|
1719
|
-
|
|
1720
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_version': (): io.flow.fulfillment.v0.models.ShippingConfigurationVersion => ({
|
|
1721
|
-
id: factories.string(),
|
|
1722
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1723
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1724
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration'](),
|
|
1725
|
-
}),
|
|
1726
|
-
|
|
1727
|
-
'io.flow.fulfillment.v0.models.shipping_lane': (): io.flow.fulfillment.v0.models.ShippingLane => ({
|
|
1728
|
-
id: factories.string(),
|
|
1729
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1730
|
-
region: factories.string(),
|
|
1731
|
-
centers: arrayOf(() => factories['io.flow.fulfillment.v0.unions.expandable_center']()),
|
|
1732
|
-
tiers: arrayOf(() => factories['io.flow.fulfillment.v0.models.tier']()),
|
|
1733
|
-
query: factories['io.flow.query.builder.v0.models.query'](),
|
|
1734
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1735
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1736
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1737
|
-
}),
|
|
1738
|
-
|
|
1739
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier': (): io.flow.fulfillment.v0.models.ShippingLaneDefaultTier => ({
|
|
1740
|
-
id: factories.string(),
|
|
1741
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1742
|
-
}),
|
|
1743
|
-
|
|
1744
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier_form': (): io.flow.fulfillment.v0.models.ShippingLaneDefaultTierForm => ({
|
|
1745
|
-
tier_id: factories.string(),
|
|
1746
|
-
}),
|
|
1747
|
-
|
|
1748
|
-
'io.flow.fulfillment.v0.models.shipping_lane_form': (): io.flow.fulfillment.v0.models.ShippingLaneForm => ({
|
|
1749
|
-
from: factories.string(),
|
|
1750
|
-
to: factories.string(),
|
|
1751
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1752
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1753
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1754
|
-
}),
|
|
1755
|
-
|
|
1756
|
-
'io.flow.fulfillment.v0.models.shipping_lane_summary': (): io.flow.fulfillment.v0.models.ShippingLaneSummary => ({
|
|
1757
|
-
shipping_lane_id: factories.string(),
|
|
1758
|
-
region: factories.string(),
|
|
1759
|
-
centers: arrayOf(() => factories['io.flow.fulfillment.v0.unions.expandable_center']()),
|
|
1760
|
-
}),
|
|
1761
|
-
|
|
1762
|
-
'io.flow.fulfillment.v0.models.shipping_lane_version': (): io.flow.fulfillment.v0.models.ShippingLaneVersion => ({
|
|
1763
|
-
id: factories.string(),
|
|
1764
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1765
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1766
|
-
shipping_lane: factories['io.flow.fulfillment.v0.models.shipping_lane'](),
|
|
1767
|
-
}),
|
|
1768
|
-
|
|
1769
|
-
'io.flow.fulfillment.v0.models.surcharge_responsible_party_display': (): io.flow.fulfillment.v0.models.SurchargeResponsiblePartyDisplay => ({
|
|
1770
|
-
name: factories.string(),
|
|
1771
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1772
|
-
}),
|
|
1773
|
-
|
|
1774
|
-
'io.flow.fulfillment.v0.models.surcharge_setting': (): io.flow.fulfillment.v0.models.SurchargeSetting => ({
|
|
1775
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1776
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1777
|
-
}),
|
|
1778
|
-
|
|
1779
|
-
'io.flow.fulfillment.v0.models.surcharge_setting_display': (): io.flow.fulfillment.v0.models.SurchargeSettingDisplay => ({
|
|
1780
|
-
name: factories.string(),
|
|
1781
|
-
description: factories.string(),
|
|
1782
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1783
|
-
|
|
1784
|
-
available: arrayOf(
|
|
1785
|
-
() => factories['io.flow.fulfillment.v0.models.surcharge_responsible_party_display'](),
|
|
1786
|
-
),
|
|
1787
|
-
}),
|
|
1788
|
-
|
|
1789
|
-
'io.flow.fulfillment.v0.models.tier': (): io.flow.fulfillment.v0.models.Tier => ({
|
|
1790
|
-
id: factories.string(),
|
|
1791
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1792
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1793
|
-
name: factories.string(),
|
|
1794
|
-
message: factories.string(),
|
|
1795
|
-
rules: arrayOf(() => factories['io.flow.fulfillment.v0.models.tier_rule']()),
|
|
1796
|
-
services: arrayOf(() => factories['io.flow.reference.v0.models.carrier_service']()),
|
|
1797
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1798
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1799
|
-
currency: factories.string(),
|
|
1800
|
-
description: factories.string(),
|
|
1801
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1802
|
-
shipping_lane: factories.string(),
|
|
1803
|
-
surcharge_settings: arrayOf(() => factories['io.flow.fulfillment.v0.models.surcharge_setting']()),
|
|
1804
|
-
lane: factories['io.flow.fulfillment.v0.models.shipping_lane_summary'](),
|
|
1805
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1806
|
-
}),
|
|
1807
|
-
|
|
1808
|
-
'io.flow.fulfillment.v0.models.tier_display': (): io.flow.fulfillment.v0.models.TierDisplay => ({
|
|
1809
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1810
|
-
}),
|
|
1811
|
-
|
|
1812
|
-
'io.flow.fulfillment.v0.models.tier_display_form': (): io.flow.fulfillment.v0.models.TierDisplayForm => ({
|
|
1813
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1814
|
-
}),
|
|
1815
|
-
|
|
1816
|
-
'io.flow.fulfillment.v0.models.tier_estimate': (): io.flow.fulfillment.v0.models.TierEstimate => ({
|
|
1817
|
-
type: factories['io.flow.fulfillment.v0.enums.tier_estimate_type'](),
|
|
1818
|
-
label: factories.string(),
|
|
1819
|
-
}),
|
|
1820
|
-
|
|
1821
|
-
'io.flow.fulfillment.v0.models.tier_form': (): io.flow.fulfillment.v0.models.TierForm => ({
|
|
1822
|
-
currency: factories.string(),
|
|
1823
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1824
|
-
name: factories.string(),
|
|
1825
|
-
message: factories.string(),
|
|
1826
|
-
rules: arrayOf(() => factories['io.flow.fulfillment.v0.models.tier_rule_form']()),
|
|
1827
|
-
services: arrayOf(() => factories.string()),
|
|
1828
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1829
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1830
|
-
description: factories.string(),
|
|
1831
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1832
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display_form'](),
|
|
1833
|
-
shipping_lane: factories.string(),
|
|
1834
|
-
surcharge_settings: arrayOf(() => factories['io.flow.fulfillment.v0.models.surcharge_setting']()),
|
|
1835
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1836
|
-
}),
|
|
1837
|
-
|
|
1838
|
-
'io.flow.fulfillment.v0.models.tier_reference': (): io.flow.fulfillment.v0.models.TierReference => ({
|
|
1839
|
-
id: factories.string(),
|
|
1840
|
-
}),
|
|
1841
|
-
|
|
1842
|
-
'io.flow.fulfillment.v0.models.tier_rule': (): io.flow.fulfillment.v0.models.TierRule => ({
|
|
1843
|
-
id: factories.string(),
|
|
1844
|
-
position: factories.long(),
|
|
1845
|
-
query: factories.string(),
|
|
1846
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1847
|
-
}),
|
|
1848
|
-
|
|
1849
|
-
'io.flow.fulfillment.v0.models.tier_rule_form': (): io.flow.fulfillment.v0.models.TierRuleForm => ({
|
|
1850
|
-
position: factories.long(),
|
|
1851
|
-
query: factories.string(),
|
|
1852
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome_form'](),
|
|
1853
|
-
}),
|
|
1854
|
-
|
|
1855
|
-
'io.flow.fulfillment.v0.models.tier_rule_version': (): io.flow.fulfillment.v0.models.TierRuleVersion => ({
|
|
1856
|
-
id: factories.string(),
|
|
1857
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1858
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1859
|
-
tier_rule: factories['io.flow.fulfillment.v0.models.tier_rule'](),
|
|
1860
|
-
}),
|
|
1861
|
-
|
|
1862
|
-
'io.flow.fulfillment.v0.models.tier_settings': (): io.flow.fulfillment.v0.models.TierSettings => ({
|
|
1863
|
-
availability: factories['io.flow.fulfillment.v0.enums.tier_availability'](),
|
|
1864
|
-
}),
|
|
1865
|
-
|
|
1866
|
-
'io.flow.fulfillment.v0.models.tier_summary': (): io.flow.fulfillment.v0.models.TierSummary => ({
|
|
1867
|
-
id: factories.string(),
|
|
1868
|
-
experience: factories['io.flow.fulfillment.v0.models.fulfillment_experience_reference'](),
|
|
1869
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1870
|
-
name: factories.string(),
|
|
1871
|
-
services: arrayOf(() => factories.string()),
|
|
1872
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1873
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1874
|
-
currency: factories.string(),
|
|
1875
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1876
|
-
message: factories.string(),
|
|
1877
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1878
|
-
}),
|
|
1879
|
-
|
|
1880
|
-
'io.flow.fulfillment.v0.models.tier_version': (): io.flow.fulfillment.v0.models.TierVersion => ({
|
|
1881
|
-
id: factories.string(),
|
|
1882
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1883
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1884
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1885
|
-
}),
|
|
1886
|
-
|
|
1887
|
-
'io.flow.fulfillment.v0.models.transit_estimate': (): io.flow.fulfillment.v0.models.TransitEstimate => ({
|
|
1888
|
-
origin: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1889
|
-
destination: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1890
|
-
min_date: factories.date_time_iso_8601(),
|
|
1891
|
-
max_date: factories.date_time_iso_8601(),
|
|
1892
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1893
|
-
}),
|
|
1894
|
-
|
|
1895
|
-
'io.flow.fulfillment.v0.unions.delivery': (): io.flow.fulfillment.v0.unions.Delivery => {
|
|
1896
|
-
const f = faker.helpers.arrayElement([
|
|
1897
|
-
() => factories['io.flow.fulfillment.v0.models.digital_delivery'](),
|
|
1898
|
-
() => factories['io.flow.fulfillment.v0.models.physical_delivery'](),
|
|
1899
|
-
]);
|
|
1900
|
-
|
|
1901
|
-
return f();
|
|
1902
|
-
},
|
|
1903
|
-
|
|
1904
|
-
'io.flow.fulfillment.v0.unions.expandable_center': (): io.flow.fulfillment.v0.unions.ExpandableCenter => {
|
|
1905
|
-
const f = faker.helpers.arrayElement([
|
|
1906
|
-
() => factories['io.flow.fulfillment.v0.models.center'](),
|
|
1907
|
-
() => factories['io.flow.fulfillment.v0.models.center_reference'](),
|
|
1908
|
-
]);
|
|
1909
|
-
|
|
1910
|
-
return f();
|
|
1911
|
-
},
|
|
1912
|
-
|
|
1913
|
-
'io.flow.fulfillment.v0.unions.partner_center_fee': (): io.flow.fulfillment.v0.unions.PartnerCenterFee => {
|
|
1914
|
-
const f = faker.helpers.arrayElement([
|
|
1915
|
-
() => factories['io.flow.fulfillment.v0.models.commercial_invoice_fee'](),
|
|
1916
|
-
() => factories['io.flow.fulfillment.v0.models.inbound_carton_fee'](),
|
|
1917
|
-
() => factories['io.flow.fulfillment.v0.models.outbound_carton_fee'](),
|
|
1918
|
-
]);
|
|
1919
|
-
|
|
1920
|
-
return f();
|
|
1921
|
-
},
|
|
1922
|
-
|
|
1923
|
-
'io.flow.fulfillment.v0.unions.service_description': (): io.flow.fulfillment.v0.unions.ServiceDescription => {
|
|
1924
|
-
const f = faker.helpers.arrayElement([
|
|
1925
|
-
() => factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1926
|
-
() => factories['io.flow.fulfillment.v0.models.service_unknown'](),
|
|
1927
|
-
]);
|
|
1928
|
-
|
|
1929
|
-
return f();
|
|
1930
|
-
},
|
|
1931
|
-
|
|
1932
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome': (): io.flow.fulfillment.v0.unions.TierRuleOutcome => {
|
|
1933
|
-
const f = faker.helpers.arrayElement([
|
|
1934
|
-
() => factories['io.flow.fulfillment.v0.models.amount_margin'](),
|
|
1935
|
-
() => factories['io.flow.fulfillment.v0.models.at_cost'](),
|
|
1936
|
-
() => factories['io.flow.fulfillment.v0.models.flat_rate'](),
|
|
1937
|
-
() => factories['io.flow.fulfillment.v0.models.percent_margin'](),
|
|
1938
|
-
]);
|
|
1939
|
-
|
|
1940
|
-
return f();
|
|
1941
|
-
},
|
|
1942
|
-
|
|
1943
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome_form': (): io.flow.fulfillment.v0.unions.TierRuleOutcomeForm => {
|
|
1944
|
-
const f = faker.helpers.arrayElement([
|
|
1945
|
-
() => factories['io.flow.fulfillment.v0.models.amount_margin_form'](),
|
|
1946
|
-
() => factories['io.flow.fulfillment.v0.models.flat_rate_form'](),
|
|
1947
|
-
() => factories['io.flow.fulfillment.v0.models.at_cost'](),
|
|
1948
|
-
() => factories['io.flow.fulfillment.v0.models.percent_margin'](),
|
|
1949
|
-
]);
|
|
1950
|
-
|
|
1951
|
-
return f();
|
|
1952
|
-
},
|
|
1953
|
-
|
|
1954
|
-
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']),
|
|
1955
|
-
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.helpers.arrayElement(['MIN', 'FULL']),
|
|
1956
|
-
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.helpers.arrayElement(['adyen', 'stripe']),
|
|
1957
|
-
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']),
|
|
1958
|
-
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['CARD']),
|
|
1959
|
-
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']),
|
|
1960
|
-
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']),
|
|
1961
|
-
|
|
1962
|
-
'io.flow.google.pay.v0.models.address': (): io.flow.google.pay.v0.models.Address => ({
|
|
1963
|
-
name: factories.string(),
|
|
1964
|
-
postalCode: factories.string(),
|
|
1965
|
-
countryCode: factories.string(),
|
|
1966
|
-
phoneNumber: factories.string(),
|
|
1967
|
-
companyName: factories.string(),
|
|
1968
|
-
address1: factories.string(),
|
|
1969
|
-
address2: factories.string(),
|
|
1970
|
-
address3: factories.string(),
|
|
1971
|
-
locality: factories.string(),
|
|
1972
|
-
administrativeArea: factories.string(),
|
|
1973
|
-
sortingCode: factories.string(),
|
|
1974
|
-
}),
|
|
1975
|
-
|
|
1976
|
-
'io.flow.google.pay.v0.models.billing_address_parameters': (): io.flow.google.pay.v0.models.BillingAddressParameters => ({
|
|
1977
|
-
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
1978
|
-
phoneNumberRequired: factories.boolean(),
|
|
1979
|
-
}),
|
|
1980
|
-
|
|
1981
|
-
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': (): io.flow.google.pay.v0.models.CardAdyenTokenizationParameters => ({
|
|
1982
|
-
gateway: factories.string(),
|
|
1983
|
-
gatewayMerchantId: factories.string(),
|
|
1984
|
-
}),
|
|
1985
|
-
|
|
1986
|
-
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': (): io.flow.google.pay.v0.models.CardDirectTokenizationParameters => ({
|
|
1987
|
-
protocolVersion: factories.string(),
|
|
1988
|
-
publicKey: factories.string(),
|
|
1989
|
-
}),
|
|
1990
|
-
|
|
1991
|
-
'io.flow.google.pay.v0.models.card_payment_method_data_info': (): io.flow.google.pay.v0.models.CardPaymentMethodDataInfo => ({
|
|
1992
|
-
cardDetails: factories.string(),
|
|
1993
|
-
cardNetwork: factories.string(),
|
|
1994
|
-
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
1995
|
-
}),
|
|
1996
|
-
|
|
1997
|
-
'io.flow.google.pay.v0.models.card_payment_method_parameters': (): io.flow.google.pay.v0.models.CardPaymentMethodParameters => ({
|
|
1998
|
-
allowedAuthMethods: arrayOf(() => factories['io.flow.google.pay.v0.enums.auth_method']()),
|
|
1999
|
-
allowedCardNetworks: arrayOf(() => factories['io.flow.google.pay.v0.enums.card_network']()),
|
|
2000
|
-
billingAddressRequired: factories.boolean(),
|
|
2001
|
-
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
2002
|
-
}),
|
|
2003
|
-
|
|
2004
|
-
'io.flow.google.pay.v0.models.direct_payment_method_token': (): io.flow.google.pay.v0.models.DirectPaymentMethodToken => ({
|
|
2005
|
-
discriminator: 'direct_payment_method_token',
|
|
2006
|
-
protocolVersion: factories.string(),
|
|
2007
|
-
signature: factories.string(),
|
|
2008
|
-
signedMessage: factories.string(),
|
|
2009
|
-
}),
|
|
2010
|
-
|
|
2011
|
-
'io.flow.google.pay.v0.models.encrypted_message': (): io.flow.google.pay.v0.models.EncryptedMessage => ({
|
|
2012
|
-
messageExpiration: factories.string(),
|
|
2013
|
-
messageId: factories.string(),
|
|
2014
|
-
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
2015
|
-
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
2016
|
-
}),
|
|
2017
|
-
|
|
2018
|
-
'io.flow.google.pay.v0.models.merchant_info': (): io.flow.google.pay.v0.models.MerchantInfo => ({
|
|
2019
|
-
merchantId: factories.string(),
|
|
2020
|
-
merchantName: factories.string(),
|
|
2021
|
-
authJwt: factories.string(),
|
|
2022
|
-
}),
|
|
2023
|
-
|
|
2024
|
-
'io.flow.google.pay.v0.models.payment_data': (): io.flow.google.pay.v0.models.PaymentData => ({
|
|
2025
|
-
apiVersion: factories.integer(),
|
|
2026
|
-
apiVersionMinor: factories.integer(),
|
|
2027
|
-
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
2028
|
-
email: factories.string(),
|
|
2029
|
-
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2030
|
-
}),
|
|
2031
|
-
|
|
2032
|
-
'io.flow.google.pay.v0.models.payment_data_request': (): io.flow.google.pay.v0.models.PaymentDataRequest => ({
|
|
2033
|
-
apiVersion: factories.integer(),
|
|
2034
|
-
apiVersionMinor: factories.integer(),
|
|
2035
|
-
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
2036
|
-
allowedPaymentMethods: arrayOf(() => factories['io.flow.google.pay.v0.models.payment_method']()),
|
|
2037
|
-
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
2038
|
-
emailRequired: factories.boolean(),
|
|
2039
|
-
shippingAddressRequired: factories.boolean(),
|
|
2040
|
-
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
2041
|
-
}),
|
|
2042
|
-
|
|
2043
|
-
'io.flow.google.pay.v0.models.payment_method': (): io.flow.google.pay.v0.models.PaymentMethod => ({
|
|
2044
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
2045
|
-
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
2046
|
-
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
2047
|
-
}),
|
|
2048
|
-
|
|
2049
|
-
'io.flow.google.pay.v0.models.payment_method_data': (): io.flow.google.pay.v0.models.PaymentMethodData => ({
|
|
2050
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
2051
|
-
description: factories.string(),
|
|
2052
|
-
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
2053
|
-
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
2054
|
-
}),
|
|
2055
|
-
|
|
2056
|
-
'io.flow.google.pay.v0.models.payment_method_details': (): io.flow.google.pay.v0.models.PaymentMethodDetails => ({
|
|
2057
|
-
pan: factories.string(),
|
|
2058
|
-
expirationMonth: factories.integer(),
|
|
2059
|
-
expirationYear: factories.integer(),
|
|
2060
|
-
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
2061
|
-
cryptogram: factories.string(),
|
|
2062
|
-
eciIndicator: factories.string(),
|
|
2063
|
-
}),
|
|
2064
|
-
|
|
2065
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_data': (): io.flow.google.pay.v0.models.PaymentMethodTokenizationData => ({
|
|
2066
|
-
type: factories.string(),
|
|
2067
|
-
token: factories.string(),
|
|
2068
|
-
}),
|
|
2069
|
-
|
|
2070
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': (): io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification => ({
|
|
2071
|
-
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
2072
|
-
parameters: factories.object(),
|
|
2073
|
-
}),
|
|
2074
|
-
|
|
2075
|
-
'io.flow.google.pay.v0.models.shipping_address_parameters': (): io.flow.google.pay.v0.models.ShippingAddressParameters => ({
|
|
2076
|
-
allowedCountryCodes: arrayOf(() => factories.string()),
|
|
2077
|
-
}),
|
|
2078
|
-
|
|
2079
|
-
'io.flow.google.pay.v0.models.signed_message': (): io.flow.google.pay.v0.models.SignedMessage => ({
|
|
2080
|
-
encryptedMessage: factories.string(),
|
|
2081
|
-
ephemeralPublicKey: factories.string(),
|
|
2082
|
-
tag: factories.string(),
|
|
2083
|
-
}),
|
|
2084
|
-
|
|
2085
|
-
'io.flow.google.pay.v0.models.stripe_payment_method_token': (): io.flow.google.pay.v0.models.StripePaymentMethodToken => ({
|
|
2086
|
-
discriminator: 'stripe_payment_method_token',
|
|
2087
|
-
token: factories['io.flow.stripe.v0.models.token'](),
|
|
2088
|
-
}),
|
|
2089
|
-
|
|
2090
|
-
'io.flow.google.pay.v0.models.transaction_info': (): io.flow.google.pay.v0.models.TransactionInfo => ({
|
|
2091
|
-
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
2092
|
-
totalPrice: factories.string(),
|
|
2093
|
-
currencyCode: factories.string(),
|
|
2094
|
-
}),
|
|
2095
|
-
|
|
2096
|
-
'io.flow.google.pay.v0.unions.payment_method_token': (): io.flow.google.pay.v0.unions.PaymentMethodToken => {
|
|
2097
|
-
const f = faker.helpers.arrayElement([
|
|
2098
|
-
() => factories['io.flow.google.pay.v0.models.direct_payment_method_token'](),
|
|
2099
|
-
() => factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](),
|
|
2100
|
-
]);
|
|
2101
|
-
|
|
2102
|
-
return f();
|
|
2103
|
-
},
|
|
2104
|
-
|
|
2105
|
-
'io.flow.inventory.v0.enums.aggregate': (): io.flow.inventory.v0.enums.Aggregate => faker.helpers.arrayElement(['maximum', 'minimum']),
|
|
2106
|
-
'io.flow.inventory.v0.enums.inventory_status': (): io.flow.inventory.v0.enums.InventoryStatus => faker.helpers.arrayElement(['has_inventory', 'no_inventory']),
|
|
2107
|
-
'io.flow.inventory.v0.enums.update_type': (): io.flow.inventory.v0.enums.UpdateType => faker.helpers.arrayElement(['change', 'set']),
|
|
2108
|
-
|
|
2109
|
-
'io.flow.inventory.v0.models.external_api_timeout_reservation_error': (): io.flow.inventory.v0.models.ExternalApiTimeoutReservationError => ({
|
|
2110
|
-
code: 'external_api_timeout',
|
|
2111
|
-
messages: arrayOf(() => factories.string()),
|
|
2112
|
-
}),
|
|
2113
|
-
|
|
2114
|
-
'io.flow.inventory.v0.models.generic_reservation_error': (): io.flow.inventory.v0.models.GenericReservationError => ({
|
|
2115
|
-
code: 'generic_reservation_error',
|
|
2116
|
-
messages: arrayOf(() => factories.string()),
|
|
2117
|
-
}),
|
|
2118
|
-
|
|
2119
|
-
'io.flow.inventory.v0.models.inventory_backorder': (): io.flow.inventory.v0.models.InventoryBackorder => ({
|
|
2120
|
-
discriminator: 'inventory_backorder',
|
|
2121
|
-
quantity: factories.long(),
|
|
2122
|
-
}),
|
|
2123
|
-
|
|
2124
|
-
'io.flow.inventory.v0.models.inventory_center_reference': (): io.flow.inventory.v0.models.InventoryCenterReference => ({
|
|
2125
|
-
key: factories.string(),
|
|
2126
|
-
}),
|
|
2127
|
-
|
|
2128
|
-
'io.flow.inventory.v0.models.inventory_check_response': (): io.flow.inventory.v0.models.InventoryCheckResponse => ({
|
|
2129
|
-
items: arrayOf(
|
|
2130
|
-
() => factories['io.flow.inventory.v0.models.inventory_check_response_item'](),
|
|
2131
|
-
),
|
|
2132
|
-
}),
|
|
2133
|
-
|
|
2134
|
-
'io.flow.inventory.v0.models.inventory_check_response_item': (): io.flow.inventory.v0.models.InventoryCheckResponseItem => ({
|
|
2135
|
-
number: factories.string(),
|
|
2136
|
-
quantity: factories.long(),
|
|
2137
|
-
inventory_status: factories['io.flow.inventory.v0.enums.inventory_status'](),
|
|
2138
|
-
}),
|
|
2139
|
-
|
|
2140
|
-
'io.flow.inventory.v0.models.inventory_experience_reference': (): io.flow.inventory.v0.models.InventoryExperienceReference => ({
|
|
2141
|
-
key: factories.string(),
|
|
2142
|
-
}),
|
|
2143
|
-
|
|
2144
|
-
'io.flow.inventory.v0.models.inventory_follow_ecommerce_platform': (): io.flow.inventory.v0.models.InventoryFollowEcommercePlatform => ({
|
|
2145
|
-
discriminator: 'inventory_follow_ecommerce_platform',
|
|
2146
|
-
quantity: factories.long(),
|
|
2147
|
-
}),
|
|
2148
|
-
|
|
2149
|
-
'io.flow.inventory.v0.models.inventory_item_reference': (): io.flow.inventory.v0.models.InventoryItemReference => ({
|
|
2150
|
-
number: factories.string(),
|
|
2151
|
-
}),
|
|
2152
|
-
|
|
2153
|
-
'io.flow.inventory.v0.models.inventory_request': (): io.flow.inventory.v0.models.InventoryRequest => ({
|
|
2154
|
-
items: arrayOf(() => factories['io.flow.inventory.v0.models.inventory_request_item']()),
|
|
2155
|
-
}),
|
|
2156
|
-
|
|
2157
|
-
'io.flow.inventory.v0.models.inventory_request_item': (): io.flow.inventory.v0.models.InventoryRequestItem => ({
|
|
2158
|
-
number: factories.string(),
|
|
2159
|
-
quantity: factories.long(),
|
|
2160
|
-
}),
|
|
2161
|
-
|
|
2162
|
-
'io.flow.inventory.v0.models.inventory_rule': (): io.flow.inventory.v0.models.InventoryRule => ({
|
|
2163
|
-
id: factories.string(),
|
|
2164
|
-
position: factories.long(),
|
|
2165
|
-
query: factories.string(),
|
|
2166
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
2167
|
-
}),
|
|
2168
|
-
|
|
2169
|
-
'io.flow.inventory.v0.models.inventory_rule_form': (): io.flow.inventory.v0.models.InventoryRuleForm => ({
|
|
2170
|
-
position: factories.long(),
|
|
2171
|
-
query: factories.string(),
|
|
2172
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
2173
|
-
}),
|
|
2174
|
-
|
|
2175
|
-
'io.flow.inventory.v0.models.inventory_rule_version': (): io.flow.inventory.v0.models.InventoryRuleVersion => ({
|
|
2176
|
-
id: factories.string(),
|
|
2177
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2178
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2179
|
-
inventory_rule: factories['io.flow.inventory.v0.models.inventory_rule'](),
|
|
2180
|
-
}),
|
|
2181
|
-
|
|
2182
|
-
'io.flow.inventory.v0.models.inventory_snapshot': (): io.flow.inventory.v0.models.InventorySnapshot => ({
|
|
2183
|
-
id: factories.string(),
|
|
2184
|
-
available: factories.long(),
|
|
2185
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
2186
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
2187
|
-
quantity: factories.long(),
|
|
2188
|
-
}),
|
|
2189
|
-
|
|
2190
|
-
'io.flow.inventory.v0.models.inventory_snapshot_version': (): io.flow.inventory.v0.models.InventorySnapshotVersion => ({
|
|
2191
|
-
id: factories.string(),
|
|
2192
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2193
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2194
|
-
inventory_snapshot: factories['io.flow.inventory.v0.models.inventory_snapshot'](),
|
|
2195
|
-
}),
|
|
2196
|
-
|
|
2197
|
-
'io.flow.inventory.v0.models.inventory_stock': (): io.flow.inventory.v0.models.InventoryStock => ({
|
|
2198
|
-
discriminator: 'inventory_stock',
|
|
2199
|
-
quantity: factories.long(),
|
|
2200
|
-
}),
|
|
2201
|
-
|
|
2202
|
-
'io.flow.inventory.v0.models.inventory_unlimited': (): io.flow.inventory.v0.models.InventoryUnlimited => ({
|
|
2203
|
-
discriminator: 'inventory_unlimited',
|
|
2204
|
-
placeholder: factories.string(),
|
|
2205
|
-
}),
|
|
2206
|
-
|
|
2207
|
-
'io.flow.inventory.v0.models.inventory_update': (): io.flow.inventory.v0.models.InventoryUpdate => ({
|
|
2208
|
-
id: factories.string(),
|
|
2209
|
-
idempotency_key: factories.string(),
|
|
2210
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
2211
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
2212
|
-
notes: factories.object(),
|
|
2213
|
-
quantity: factories.long(),
|
|
2214
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
2215
|
-
}),
|
|
2216
|
-
|
|
2217
|
-
'io.flow.inventory.v0.models.inventory_update_form': (): io.flow.inventory.v0.models.InventoryUpdateForm => ({
|
|
2218
|
-
center: factories.string(),
|
|
2219
|
-
idempotency_key: factories.string(),
|
|
2220
|
-
item_number: factories.string(),
|
|
2221
|
-
quantity: factories.long(),
|
|
2222
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
2223
|
-
notes: factories.object(),
|
|
2224
|
-
}),
|
|
2225
|
-
|
|
2226
|
-
'io.flow.inventory.v0.models.inventory_update_version': (): io.flow.inventory.v0.models.InventoryUpdateVersion => ({
|
|
2227
|
-
id: factories.string(),
|
|
2228
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2229
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2230
|
-
inventory_update: factories['io.flow.inventory.v0.models.inventory_update'](),
|
|
2231
|
-
}),
|
|
2232
|
-
|
|
2233
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error': (): io.flow.inventory.v0.models.NoInventoryReservationError => ({
|
|
2234
|
-
code: 'no_inventory',
|
|
2235
|
-
messages: arrayOf(() => factories.string()),
|
|
2236
|
-
|
|
2237
|
-
items: arrayOf(
|
|
2238
|
-
() => factories['io.flow.inventory.v0.models.no_inventory_reservation_error_item'](),
|
|
2239
|
-
),
|
|
2240
|
-
}),
|
|
2241
|
-
|
|
2242
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error_item': (): io.flow.inventory.v0.models.NoInventoryReservationErrorItem => ({
|
|
2243
|
-
number: factories.string(),
|
|
2244
|
-
requested_quantity: factories.long(),
|
|
2245
|
-
available_quantity: factories.long(),
|
|
2246
|
-
}),
|
|
2247
|
-
|
|
2248
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response': (): io.flow.inventory.v0.models.PfsInventoryCheckResponse => ({
|
|
2249
|
-
items: objectOf(
|
|
2250
|
-
() => factories['io.flow.inventory.v0.models.pfs_inventory_check_response_item'](),
|
|
2251
|
-
),
|
|
2252
|
-
}),
|
|
2253
|
-
|
|
2254
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response_item': (): io.flow.inventory.v0.models.PfsInventoryCheckResponseItem => ({
|
|
2255
|
-
number: factories.string(),
|
|
2256
|
-
ats: factories.long(),
|
|
2257
|
-
in_stock: factories.boolean(),
|
|
2258
|
-
}),
|
|
2259
|
-
|
|
2260
|
-
'io.flow.inventory.v0.models.pfs_inventory_status': (): io.flow.inventory.v0.models.PfsInventoryStatus => ({
|
|
2261
|
-
status: factories.string(),
|
|
2262
|
-
}),
|
|
2263
|
-
|
|
2264
|
-
'io.flow.inventory.v0.models.reservation': (): io.flow.inventory.v0.models.Reservation => ({
|
|
2265
|
-
id: factories.string(),
|
|
2266
|
-
key: factories.string(),
|
|
2267
|
-
order: factories['io.flow.inventory.v0.models.reservation_order_reference'](),
|
|
2268
|
-
items: arrayOf(() => factories['io.flow.inventory.v0.models.reservation_item']()),
|
|
2269
|
-
reserved_until: factories.date_time_iso_8601(),
|
|
2270
|
-
}),
|
|
2271
|
-
|
|
2272
|
-
'io.flow.inventory.v0.models.reservation_form': (): io.flow.inventory.v0.models.ReservationForm => ({
|
|
2273
|
-
order_number: factories.string(),
|
|
2274
|
-
items: arrayOf(() => factories['io.flow.inventory.v0.models.reservation_item_form']()),
|
|
2275
|
-
}),
|
|
2276
|
-
|
|
2277
|
-
'io.flow.inventory.v0.models.reservation_item': (): io.flow.inventory.v0.models.ReservationItem => ({
|
|
2278
|
-
item: factories['io.flow.inventory.v0.models.reservation_item_reference'](),
|
|
2279
|
-
quantity: factories.long(),
|
|
2280
|
-
}),
|
|
2281
|
-
|
|
2282
|
-
'io.flow.inventory.v0.models.reservation_item_form': (): io.flow.inventory.v0.models.ReservationItemForm => ({
|
|
2283
|
-
item_number: factories.string(),
|
|
2284
|
-
quantity: factories.long(),
|
|
2285
|
-
}),
|
|
2286
|
-
|
|
2287
|
-
'io.flow.inventory.v0.models.reservation_item_reference': (): io.flow.inventory.v0.models.ReservationItemReference => ({
|
|
2288
|
-
number: factories.string(),
|
|
2289
|
-
}),
|
|
2290
|
-
|
|
2291
|
-
'io.flow.inventory.v0.models.reservation_order_reference': (): io.flow.inventory.v0.models.ReservationOrderReference => ({
|
|
2292
|
-
number: factories.string(),
|
|
2293
|
-
}),
|
|
2294
|
-
|
|
2295
|
-
'io.flow.inventory.v0.unions.inventory_strategy': (): io.flow.inventory.v0.unions.InventoryStrategy => {
|
|
2296
|
-
const f = faker.helpers.arrayElement([
|
|
2297
|
-
() => factories['io.flow.inventory.v0.models.inventory_backorder'](),
|
|
2298
|
-
() => factories['io.flow.inventory.v0.models.inventory_stock'](),
|
|
2299
|
-
() => factories['io.flow.inventory.v0.models.inventory_unlimited'](),
|
|
2300
|
-
() => factories['io.flow.inventory.v0.models.inventory_follow_ecommerce_platform'](),
|
|
2301
|
-
]);
|
|
2302
|
-
|
|
2303
|
-
return f();
|
|
2304
|
-
},
|
|
2305
|
-
|
|
2306
|
-
'io.flow.inventory.v0.unions.reservation_error': (): io.flow.inventory.v0.unions.ReservationError => {
|
|
2307
|
-
const f = faker.helpers.arrayElement([
|
|
2308
|
-
() => factories['io.flow.inventory.v0.models.no_inventory_reservation_error'](),
|
|
2309
|
-
() => factories['io.flow.inventory.v0.models.external_api_timeout_reservation_error'](),
|
|
2310
|
-
() => factories['io.flow.inventory.v0.models.generic_reservation_error'](),
|
|
2311
|
-
]);
|
|
2312
|
-
|
|
2313
|
-
return f();
|
|
2314
|
-
},
|
|
2315
|
-
|
|
2316
|
-
'io.flow.merchant.of.record.v0.enums.economic_title_location': (): io.flow.merchant.of.record.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
|
|
2317
|
-
'io.flow.merchant.of.record.v0.enums.flow_entity': (): io.flow.merchant.of.record.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']),
|
|
2318
|
-
|
|
2319
|
-
'io.flow.order.price.v0.enums.order_price_detail_component_key': (): io.flow.order.price.v0.enums.OrderPriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2320
|
-
'adjustment',
|
|
2321
|
-
'vat_deminimis',
|
|
2322
|
-
'duty_deminimis',
|
|
2323
|
-
'duties_item_price',
|
|
2324
|
-
'duties_freight',
|
|
2325
|
-
'duties_insurance',
|
|
2326
|
-
'vat_item_price',
|
|
2327
|
-
'vat_freight',
|
|
2328
|
-
'vat_insurance',
|
|
2329
|
-
'vat_duties_item_price',
|
|
2330
|
-
'vat_duties_freight',
|
|
2331
|
-
'vat_duties_insurance',
|
|
2332
|
-
'item_price',
|
|
2333
|
-
'item_discount',
|
|
2334
|
-
'rounding',
|
|
2335
|
-
'insurance',
|
|
2336
|
-
'shipping',
|
|
2337
|
-
'shipping_discount',
|
|
2338
|
-
'order_discount',
|
|
2339
|
-
'subtotal_percent_sales_margin',
|
|
2340
|
-
'subtotal_vat_percent_sales_margin',
|
|
2341
|
-
'subtotal_duty_percent_sales_margin',
|
|
2342
|
-
'vat_subsidy',
|
|
2343
|
-
'duty_subsidy',
|
|
2344
|
-
'remote_area_surcharge',
|
|
2345
|
-
'fuel_surcharge',
|
|
2346
|
-
'emergency_situation_surcharge',
|
|
2347
|
-
'peak_surcharge',
|
|
2348
|
-
'duties_taxes_paid_surcharge',
|
|
2349
|
-
'tip',
|
|
2350
|
-
]),
|
|
2351
|
-
|
|
2352
|
-
'io.flow.order.price.v0.enums.order_price_detail_key': (): io.flow.order.price.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
|
|
2353
|
-
'adjustment',
|
|
2354
|
-
'subtotal',
|
|
2355
|
-
'vat',
|
|
2356
|
-
'duty',
|
|
2357
|
-
'shipping',
|
|
2358
|
-
'insurance',
|
|
2359
|
-
'discount',
|
|
2360
|
-
'surcharges',
|
|
2361
|
-
'tip',
|
|
2362
|
-
]),
|
|
2363
|
-
|
|
2364
|
-
'io.flow.order.price.v0.models.order_price_detail': (): io.flow.order.price.v0.models.OrderPriceDetail => ({
|
|
2365
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_key'](),
|
|
2366
|
-
currency: factories.string(),
|
|
2367
|
-
amount: factories.decimal(),
|
|
2368
|
-
label: factories.string(),
|
|
2369
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
2370
|
-
|
|
2371
|
-
components: arrayOf(
|
|
2372
|
-
() => factories['io.flow.order.price.v0.models.order_price_detail_component'](),
|
|
2373
|
-
),
|
|
2374
|
-
|
|
2375
|
-
name: factories.string(),
|
|
2376
|
-
rate: factories.decimal(),
|
|
2377
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
2378
|
-
rate_label: factories.string(),
|
|
2379
|
-
}),
|
|
2380
|
-
|
|
2381
|
-
'io.flow.order.price.v0.models.order_price_detail_component': (): io.flow.order.price.v0.models.OrderPriceDetailComponent => ({
|
|
2382
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_component_key'](),
|
|
2383
|
-
currency: factories.string(),
|
|
2384
|
-
amount: factories.decimal(),
|
|
2385
|
-
label: factories.string(),
|
|
2386
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
2387
|
-
name: factories.string(),
|
|
2388
|
-
}),
|
|
2389
|
-
|
|
2390
|
-
'io.flow.organization.v0.enums.country_picker_source': (): io.flow.organization.v0.enums.CountryPickerSource => faker.helpers.arrayElement(['experience', 'destination']),
|
|
2391
|
-
|
|
2392
|
-
'io.flow.organization.v0.enums.ecommerce_platform_type': (): io.flow.organization.v0.enums.EcommercePlatformType => faker.helpers.arrayElement([
|
|
2393
|
-
'commercetools',
|
|
2394
|
-
'custom',
|
|
2395
|
-
'hybris',
|
|
2396
|
-
'magento',
|
|
2397
|
-
'shopify',
|
|
2398
|
-
'shopify_markets',
|
|
2399
|
-
'sfcc',
|
|
2400
|
-
'solidus',
|
|
2401
|
-
'workarea',
|
|
2402
|
-
]),
|
|
2403
|
-
|
|
2404
|
-
'io.flow.organization.v0.enums.invitation_error_code': (): io.flow.organization.v0.enums.InvitationErrorCode => faker.helpers.arrayElement(['expired', 'invalid_email']),
|
|
2405
|
-
|
|
2406
|
-
'io.flow.organization.v0.models.country_picker': (): io.flow.organization.v0.models.CountryPicker => ({
|
|
2407
|
-
id: factories.string(),
|
|
2408
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2409
|
-
}),
|
|
2410
|
-
|
|
2411
|
-
'io.flow.organization.v0.models.country_picker_form': (): io.flow.organization.v0.models.CountryPickerForm => ({
|
|
2412
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2413
|
-
}),
|
|
2414
|
-
|
|
2415
|
-
'io.flow.organization.v0.models.ecommerce_platform': (): io.flow.organization.v0.models.EcommercePlatform => ({
|
|
2416
|
-
id: factories.string(),
|
|
2417
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2418
|
-
version: factories.string(),
|
|
2419
|
-
}),
|
|
2420
|
-
|
|
2421
|
-
'io.flow.organization.v0.models.ecommerce_platform_form': (): io.flow.organization.v0.models.EcommercePlatformForm => ({
|
|
2422
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2423
|
-
version: factories.string(),
|
|
2424
|
-
}),
|
|
2425
|
-
|
|
2426
|
-
'io.flow.organization.v0.models.invitation': (): io.flow.organization.v0.models.Invitation => ({
|
|
2427
|
-
id: factories.string(),
|
|
2428
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2429
|
-
email: factories.string(),
|
|
2430
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2431
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2432
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2433
|
-
expiration: factories.date_time_iso_8601(),
|
|
2434
|
-
}),
|
|
2435
|
-
|
|
2436
|
-
'io.flow.organization.v0.models.invitation_error': (): io.flow.organization.v0.models.InvitationError => ({
|
|
2437
|
-
code: factories['io.flow.organization.v0.enums.invitation_error_code'](),
|
|
2438
|
-
messages: arrayOf(() => factories.string()),
|
|
2439
|
-
}),
|
|
2440
|
-
|
|
2441
|
-
'io.flow.organization.v0.models.invitation_form': (): io.flow.organization.v0.models.InvitationForm => ({
|
|
2442
|
-
organization: factories.string(),
|
|
2443
|
-
email: factories.string(),
|
|
2444
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2445
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2446
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2447
|
-
}),
|
|
2448
|
-
|
|
2449
|
-
'io.flow.organization.v0.models.invitation_version': (): io.flow.organization.v0.models.InvitationVersion => ({
|
|
2450
|
-
id: factories.string(),
|
|
2451
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2452
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2453
|
-
invitation: factories['io.flow.organization.v0.models.invitation'](),
|
|
2454
|
-
}),
|
|
2455
|
-
|
|
2456
|
-
'io.flow.organization.v0.models.membership': (): io.flow.organization.v0.models.Membership => ({
|
|
2457
|
-
id: factories.string(),
|
|
2458
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2459
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2460
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2461
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2462
|
-
}),
|
|
2463
|
-
|
|
2464
|
-
'io.flow.organization.v0.models.membership_form': (): io.flow.organization.v0.models.MembershipForm => ({
|
|
2465
|
-
organization: factories.string(),
|
|
2466
|
-
user: factories.string(),
|
|
2467
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2468
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2469
|
-
}),
|
|
2470
|
-
|
|
2471
|
-
'io.flow.organization.v0.models.membership_put_form': (): io.flow.organization.v0.models.MembershipPutForm => ({
|
|
2472
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2473
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2474
|
-
}),
|
|
2475
|
-
|
|
2476
|
-
'io.flow.organization.v0.models.membership_version': (): io.flow.organization.v0.models.MembershipVersion => ({
|
|
2477
|
-
id: factories.string(),
|
|
2478
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2479
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2480
|
-
membership: factories['io.flow.organization.v0.models.membership'](),
|
|
2481
|
-
}),
|
|
2482
|
-
|
|
2483
|
-
'io.flow.organization.v0.models.organization_authorization': (): io.flow.organization.v0.models.OrganizationAuthorization => ({
|
|
2484
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2485
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2486
|
-
}),
|
|
2487
|
-
|
|
2488
|
-
'io.flow.organization.v0.models.organization_authorization_form': (): io.flow.organization.v0.models.OrganizationAuthorizationForm => ({
|
|
2489
|
-
organization: factories.string(),
|
|
2490
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2491
|
-
}),
|
|
2492
|
-
|
|
2493
|
-
'io.flow.organization.v0.models.organization_configuration_reference': (): io.flow.organization.v0.models.OrganizationConfigurationReference => ({
|
|
2494
|
-
id: factories.string(),
|
|
2495
|
-
}),
|
|
2496
|
-
|
|
2497
|
-
'io.flow.organization.v0.models.organization_default_configurations': (): io.flow.organization.v0.models.OrganizationDefaultConfigurations => ({
|
|
2498
|
-
id: factories.string(),
|
|
2499
|
-
checkout_configuration: factories['io.flow.organization.v0.models.organization_configuration_reference'](),
|
|
2500
|
-
}),
|
|
2501
|
-
|
|
2502
|
-
'io.flow.organization.v0.models.organization_default_configurations_form': (): io.flow.organization.v0.models.OrganizationDefaultConfigurationsForm => ({
|
|
2503
|
-
id: factories.string(),
|
|
2504
|
-
}),
|
|
2505
|
-
|
|
2506
|
-
'io.flow.organization.v0.models.organization_form': (): io.flow.organization.v0.models.OrganizationForm => ({
|
|
2507
|
-
id: factories.string(),
|
|
2508
|
-
name: factories.string(),
|
|
2509
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2510
|
-
parent_id: factories.string(),
|
|
2511
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2512
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2513
|
-
type: factories['io.flow.common.v0.enums.organization_type'](),
|
|
2514
|
-
}),
|
|
2515
|
-
|
|
2516
|
-
'io.flow.organization.v0.models.organization_put_form': (): io.flow.organization.v0.models.OrganizationPutForm => ({
|
|
2517
|
-
name: factories.string(),
|
|
2518
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2519
|
-
parent_id: factories.string(),
|
|
2520
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2521
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2522
|
-
}),
|
|
2523
|
-
|
|
2524
|
-
'io.flow.organization.v0.models.organization_version': (): io.flow.organization.v0.models.OrganizationVersion => ({
|
|
2525
|
-
id: factories.string(),
|
|
2526
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2527
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2528
|
-
organization: factories['io.flow.common.v0.models.organization'](),
|
|
2529
|
-
}),
|
|
2530
|
-
|
|
2531
|
-
'io.flow.organization.v0.models.region_setting': (): io.flow.organization.v0.models.RegionSetting => ({
|
|
2532
|
-
id: factories.string(),
|
|
2533
|
-
region: factories.string(),
|
|
2534
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2535
|
-
}),
|
|
2536
|
-
|
|
2537
|
-
'io.flow.organization.v0.models.region_setting_form': (): io.flow.organization.v0.models.RegionSettingForm => ({
|
|
2538
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2539
|
-
}),
|
|
2540
|
-
|
|
2541
|
-
'io.flow.permission.v0.enums.authentication_technique': (): io.flow.permission.v0.enums.AuthenticationTechnique => faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']),
|
|
2542
|
-
'io.flow.permission.v0.enums.flow_behavior': (): io.flow.permission.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
2543
|
-
|
|
2544
|
-
'io.flow.permission.v0.enums.flow_role': (): io.flow.permission.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
2545
|
-
'organization_admin',
|
|
2546
|
-
'organization_merchant',
|
|
2547
|
-
'organization_customer_service',
|
|
2548
|
-
'organization_fulfillment',
|
|
2549
|
-
'organization_marketing',
|
|
2550
|
-
'organization_finance',
|
|
2551
|
-
'organization_classification',
|
|
2552
|
-
'flow_operations',
|
|
2553
|
-
'channel_admin',
|
|
2554
|
-
'channel_organization_admin',
|
|
2555
|
-
]),
|
|
2556
|
-
|
|
2557
|
-
'io.flow.permission.v0.enums.permitted_http_method': (): io.flow.permission.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
2558
|
-
|
|
2559
|
-
'io.flow.permission.v0.models.behavior_audit': (): io.flow.permission.v0.models.BehaviorAudit => ({
|
|
2560
|
-
behavior: factories['io.flow.permission.v0.enums.flow_behavior'](),
|
|
2561
|
-
authentication_techniques: arrayOf(() => factories['io.flow.permission.v0.enums.authentication_technique']()),
|
|
2562
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2563
|
-
}),
|
|
2564
|
-
|
|
2565
|
-
'io.flow.permission.v0.models.permission_audit': (): io.flow.permission.v0.models.PermissionAudit => ({
|
|
2566
|
-
routes: arrayOf(() => factories['io.flow.permission.v0.models.route_audit']()),
|
|
2567
|
-
behaviors: arrayOf(() => factories['io.flow.permission.v0.models.behavior_audit']()),
|
|
2568
|
-
}),
|
|
2569
|
-
|
|
2570
|
-
'io.flow.permission.v0.models.permission_check': (): io.flow.permission.v0.models.PermissionCheck => ({
|
|
2571
|
-
authentication_technique: factories['io.flow.permission.v0.enums.authentication_technique'](),
|
|
2572
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2573
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2574
|
-
behaviors: arrayOf(() => factories['io.flow.permission.v0.enums.flow_behavior']()),
|
|
2575
|
-
routes: arrayOf(() => factories['io.flow.permission.v0.models.permitted_route']()),
|
|
2576
|
-
}),
|
|
2577
|
-
|
|
2578
|
-
'io.flow.permission.v0.models.permitted_route': (): io.flow.permission.v0.models.PermittedRoute => ({
|
|
2579
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2580
|
-
path: factories.string(),
|
|
2581
|
-
}),
|
|
2582
|
-
|
|
2583
|
-
'io.flow.permission.v0.models.route_audit': (): io.flow.permission.v0.models.RouteAudit => ({
|
|
2584
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2585
|
-
path: factories.string(),
|
|
2586
|
-
authentication_techniques: arrayOf(() => factories['io.flow.permission.v0.enums.authentication_technique']()),
|
|
2587
|
-
roles: arrayOf(() => factories['io.flow.permission.v0.enums.flow_role']()),
|
|
2588
|
-
}),
|
|
2589
|
-
|
|
2590
|
-
'io.flow.permission.v0.models.simple_permission_check': (): io.flow.permission.v0.models.SimplePermissionCheck => ({
|
|
2591
|
-
behaviors: arrayOf(() => factories['io.flow.permission.v0.enums.flow_behavior']()),
|
|
2592
|
-
}),
|
|
2593
|
-
|
|
2594
|
-
'io.flow.price.v0.enums.levy_component': (): io.flow.price.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
|
|
2595
|
-
'io.flow.price.v0.enums.levy_strategy': (): io.flow.price.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
|
|
2596
|
-
'io.flow.price.v0.enums.price_accuracy': (): io.flow.price.v0.enums.PriceAccuracy => faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']),
|
|
2597
|
-
|
|
2598
|
-
'io.flow.price.v0.enums.price_detail_component_key': (): io.flow.price.v0.enums.PriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2599
|
-
'base_price',
|
|
2600
|
-
'discount',
|
|
2601
|
-
'currency_margin',
|
|
2602
|
-
'percent_item_margin',
|
|
2603
|
-
'fixed_item_margin',
|
|
2604
|
-
'duties_item_price',
|
|
2605
|
-
'duties_added_margin',
|
|
2606
|
-
'duties_rounding',
|
|
2607
|
-
'duties_deminimis',
|
|
2608
|
-
'vat_item_price',
|
|
2609
|
-
'vat_added_margin',
|
|
2610
|
-
'vat_rounding',
|
|
2611
|
-
'vat_duties_item_price',
|
|
2612
|
-
'vat_duties_added_margin',
|
|
2613
|
-
'vat_duties_rounding',
|
|
2614
|
-
'vat_deminimis',
|
|
2615
|
-
'item_price_percent_sales_margin',
|
|
2616
|
-
'margins_percent_sales_margin',
|
|
2617
|
-
'rounding_percent_sales_margin',
|
|
2618
|
-
'vat_percent_sales_margin',
|
|
2619
|
-
'vat_duty_percent_sales_margin',
|
|
2620
|
-
'duty_percent_sales_margin',
|
|
2621
|
-
]),
|
|
2622
|
-
|
|
2623
|
-
'io.flow.price.v0.enums.price_detail_key': (): io.flow.price.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
2624
|
-
'io.flow.price.v0.enums.pricing_levy_setting': (): io.flow.price.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
2625
|
-
|
|
2626
|
-
'io.flow.price.v0.models.currency_format': (): io.flow.price.v0.models.CurrencyFormat => ({
|
|
2627
|
-
symbol: factories['io.flow.common.v0.enums.currency_symbol_format'](),
|
|
2628
|
-
label_formatters: arrayOf(() => factories['io.flow.common.v0.enums.currency_label_formatter']()),
|
|
2629
|
-
}),
|
|
2630
|
-
|
|
2631
|
-
'io.flow.price.v0.models.deminimis_per_item': (): io.flow.price.v0.models.DeminimisPerItem => ({
|
|
2632
|
-
discriminator: 'deminimis_per_item',
|
|
2633
|
-
currency: factories.string(),
|
|
2634
|
-
minimum: factories.decimal(),
|
|
2635
|
-
maximum: factories.decimal(),
|
|
2636
|
-
}),
|
|
2637
|
-
|
|
2638
|
-
'io.flow.price.v0.models.deminimis_simple': (): io.flow.price.v0.models.DeminimisSimple => ({
|
|
2639
|
-
discriminator: 'deminimis_simple',
|
|
2640
|
-
value: factories.decimal(),
|
|
2641
|
-
currency: factories.string(),
|
|
2642
|
-
components: arrayOf(() => factories['io.flow.price.v0.enums.levy_component']()),
|
|
2643
|
-
minimum: factories.decimal(),
|
|
2644
|
-
}),
|
|
2645
|
-
|
|
2646
|
-
'io.flow.price.v0.models.duty': (): io.flow.price.v0.models.Duty => ({
|
|
2647
|
-
rate: factories.decimal(),
|
|
2648
|
-
components: arrayOf(() => factories['io.flow.price.v0.enums.levy_component']()),
|
|
2649
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2650
|
-
name: factories.string(),
|
|
2651
|
-
}),
|
|
2652
|
-
|
|
2653
|
-
'io.flow.price.v0.models.local_price_details': (): io.flow.price.v0.models.LocalPriceDetails => ({
|
|
2654
|
-
base: factories['io.flow.price.v0.models.price_details'](),
|
|
2655
|
-
local: factories['io.flow.price.v0.models.price_details'](),
|
|
2656
|
-
discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2657
|
-
local_before_discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2658
|
-
}),
|
|
2659
|
-
|
|
2660
|
-
'io.flow.price.v0.models.price_book': (): io.flow.price.v0.models.PriceBook => ({
|
|
2661
|
-
id: factories.string(),
|
|
2662
|
-
key: factories.string(),
|
|
2663
|
-
currency: factories.string(),
|
|
2664
|
-
name: factories.string(),
|
|
2665
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
2666
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2667
|
-
}),
|
|
2668
|
-
|
|
2669
|
-
'io.flow.price.v0.models.price_book_form': (): io.flow.price.v0.models.PriceBookForm => ({
|
|
2670
|
-
currency: factories.string(),
|
|
2671
|
-
name: factories.string(),
|
|
2672
|
-
includes: factories['io.flow.common.v0.enums.included_levy_key'](),
|
|
2673
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2674
|
-
}),
|
|
2675
|
-
|
|
2676
|
-
'io.flow.price.v0.models.price_book_item': (): io.flow.price.v0.models.PriceBookItem => ({
|
|
2677
|
-
id: factories.string(),
|
|
2678
|
-
key: factories.string(),
|
|
2679
|
-
price_book: factories['io.flow.price.v0.models.price_book_reference'](),
|
|
2680
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2681
|
-
item_number: factories.string(),
|
|
2682
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2683
|
-
item_attributes: objectOf(() => factories.string()),
|
|
2684
|
-
}),
|
|
2685
|
-
|
|
2686
|
-
'io.flow.price.v0.models.price_book_item_form': (): io.flow.price.v0.models.PriceBookItemForm => ({
|
|
2687
|
-
price_book_key: factories.string(),
|
|
2688
|
-
item_number: factories.string(),
|
|
2689
|
-
amount: factories.decimal(),
|
|
2690
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2691
|
-
item_attributes: objectOf(() => factories.string()),
|
|
2692
|
-
}),
|
|
2693
|
-
|
|
2694
|
-
'io.flow.price.v0.models.price_book_item_query_form': (): io.flow.price.v0.models.PriceBookItemQueryForm => ({
|
|
2695
|
-
price_book_key: factories.string(),
|
|
2696
|
-
item_query: factories.string(),
|
|
2697
|
-
amount: factories.decimal(),
|
|
2698
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2699
|
-
item_attributes: objectOf(() => factories.string()),
|
|
2700
|
-
}),
|
|
2701
|
-
|
|
2702
|
-
'io.flow.price.v0.models.price_book_item_schedule': (): io.flow.price.v0.models.PriceBookItemSchedule => ({
|
|
2703
|
-
starts_at: factories.date_time_iso_8601(),
|
|
2704
|
-
ends_at: factories.date_time_iso_8601(),
|
|
2705
|
-
}),
|
|
2706
|
-
|
|
2707
|
-
'io.flow.price.v0.models.price_book_reference': (): io.flow.price.v0.models.PriceBookReference => ({
|
|
2708
|
-
id: factories.string(),
|
|
2709
|
-
key: factories.string(),
|
|
2710
|
-
}),
|
|
2711
|
-
|
|
2712
|
-
'io.flow.price.v0.models.price_check': (): io.flow.price.v0.models.PriceCheck => ({
|
|
2713
|
-
display: factories['io.flow.price.v0.models.local_price_details'](),
|
|
2714
|
-
'final': factories['io.flow.price.v0.models.local_price_details'](),
|
|
2715
|
-
}),
|
|
2716
|
-
|
|
2717
|
-
'io.flow.price.v0.models.price_detail': (): io.flow.price.v0.models.PriceDetail => ({
|
|
2718
|
-
key: factories['io.flow.price.v0.enums.price_detail_key'](),
|
|
2719
|
-
components: arrayOf(() => factories['io.flow.price.v0.models.price_detail_component']()),
|
|
2720
|
-
amount: factories.decimal(),
|
|
2721
|
-
label: factories.string(),
|
|
2722
|
-
name: factories.string(),
|
|
2723
|
-
basis: factories.decimal(),
|
|
2724
|
-
}),
|
|
2725
|
-
|
|
2726
|
-
'io.flow.price.v0.models.price_detail_component': (): io.flow.price.v0.models.PriceDetailComponent => ({
|
|
2727
|
-
key: factories['io.flow.price.v0.enums.price_detail_component_key'](),
|
|
2728
|
-
amount: factories.decimal(),
|
|
2729
|
-
label: factories.string(),
|
|
2730
|
-
name: factories.string(),
|
|
2731
|
-
}),
|
|
2732
|
-
|
|
2733
|
-
'io.flow.price.v0.models.price_details': (): io.flow.price.v0.models.PriceDetails => ({
|
|
2734
|
-
currency: factories.string(),
|
|
2735
|
-
item_price: factories['io.flow.price.v0.models.price_detail'](),
|
|
2736
|
-
margins: factories['io.flow.price.v0.models.price_detail'](),
|
|
2737
|
-
vat: factories['io.flow.price.v0.models.price_detail'](),
|
|
2738
|
-
duty: factories['io.flow.price.v0.models.price_detail'](),
|
|
2739
|
-
rounding: factories['io.flow.price.v0.models.price_detail'](),
|
|
2740
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2741
|
-
total: factories['io.flow.common.v0.models.price'](),
|
|
2742
|
-
adjustment: factories['io.flow.price.v0.models.price_detail'](),
|
|
2743
|
-
}),
|
|
2744
|
-
|
|
2745
|
-
'io.flow.price.v0.models.price_equation': (): io.flow.price.v0.models.PriceEquation => ({
|
|
2746
|
-
contracted_rate: factories.decimal(),
|
|
2747
|
-
rate: factories.decimal(),
|
|
2748
|
-
pricing: factories['io.flow.price.v0.models.pricing'](),
|
|
2749
|
-
base_price: factories.decimal(),
|
|
2750
|
-
discount: factories.decimal(),
|
|
2751
|
-
fixed_margin: factories.decimal(),
|
|
2752
|
-
percent_margin: factories.decimal(),
|
|
2753
|
-
insurance: factories.decimal(),
|
|
2754
|
-
freight: factories.decimal(),
|
|
2755
|
-
duty: factories['io.flow.price.v0.models.duty'](),
|
|
2756
|
-
tax: factories['io.flow.price.v0.models.tax'](),
|
|
2757
|
-
percent_sales_margin: factories.decimal(),
|
|
2758
|
-
}),
|
|
2759
|
-
|
|
2760
|
-
'io.flow.price.v0.models.pricing': (): io.flow.price.v0.models.Pricing => ({
|
|
2761
|
-
vat: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2762
|
-
duty: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2763
|
-
rounding: factories['io.flow.common.v0.models.rounding'](),
|
|
2764
|
-
}),
|
|
2765
|
-
|
|
2766
|
-
'io.flow.price.v0.models.tax': (): io.flow.price.v0.models.Tax => ({
|
|
2767
|
-
name: factories.string(),
|
|
2768
|
-
rate: factories.decimal(),
|
|
2769
|
-
components: arrayOf(() => factories['io.flow.price.v0.enums.levy_component']()),
|
|
2770
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2771
|
-
}),
|
|
2772
|
-
|
|
2773
|
-
'io.flow.price.v0.unions.deminimis': (): io.flow.price.v0.unions.Deminimis => {
|
|
2774
|
-
const f = faker.helpers.arrayElement([
|
|
2775
|
-
() => factories['io.flow.price.v0.models.deminimis_simple'](),
|
|
2776
|
-
() => factories['io.flow.price.v0.models.deminimis_per_item'](),
|
|
2777
|
-
]);
|
|
2778
|
-
|
|
2779
|
-
return f();
|
|
2780
|
-
},
|
|
2781
|
-
|
|
2782
|
-
'io.flow.product.v0.models.product': (): io.flow.product.v0.models.Product => ({
|
|
2783
|
-
organization_id: factories.string(),
|
|
2784
|
-
number: factories.string(),
|
|
2785
|
-
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
2786
|
-
taxonomy_data: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_data']()),
|
|
2787
|
-
item_numbers: arrayOf(() => factories.string()),
|
|
2788
|
-
highest_value_item_number: factories.string(),
|
|
2789
|
-
updated_at: factories.date_time_iso_8601(),
|
|
2790
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
2791
|
-
}),
|
|
2792
|
-
|
|
2793
|
-
'io.flow.product.v0.models.product_taxonomy_category': (): io.flow.product.v0.models.ProductTaxonomyCategory => ({
|
|
887
|
+
'io.flow.google.pay.v0.models.address': (): io.flow.google.pay.v0.models.Address => ({
|
|
2794
888
|
name: factories.string(),
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
'date',
|
|
2806
|
-
'money',
|
|
2807
|
-
'decimal',
|
|
2808
|
-
'string',
|
|
2809
|
-
'unit_of_length',
|
|
2810
|
-
'unit_of_mass',
|
|
2811
|
-
]),
|
|
2812
|
-
|
|
2813
|
-
'io.flow.query.builder.v0.models.available_filter_structured': (): io.flow.query.builder.v0.models.AvailableFilterStructured => ({
|
|
2814
|
-
discriminator: 'structured',
|
|
2815
|
-
field: factories.string(),
|
|
2816
|
-
operators: arrayOf(() => factories.string()),
|
|
2817
|
-
format: factories['io.flow.query.builder.v0.enums.available_filter_format'](),
|
|
2818
|
-
valid_values: arrayOf(() => factories.string()),
|
|
2819
|
-
placeholder: factories.string(),
|
|
2820
|
-
}),
|
|
2821
|
-
|
|
2822
|
-
'io.flow.query.builder.v0.models.available_filter_unstructured': (): io.flow.query.builder.v0.models.AvailableFilterUnstructured => ({
|
|
2823
|
-
discriminator: 'unstructured',
|
|
2824
|
-
placeholder: factories.string(),
|
|
2825
|
-
}),
|
|
2826
|
-
|
|
2827
|
-
'io.flow.query.builder.v0.models.query': (): io.flow.query.builder.v0.models.Query => ({
|
|
2828
|
-
q: factories.string(),
|
|
2829
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter']()),
|
|
2830
|
-
}),
|
|
2831
|
-
|
|
2832
|
-
'io.flow.query.builder.v0.models.query_builder': (): io.flow.query.builder.v0.models.QueryBuilder => ({
|
|
2833
|
-
q: factories.string(),
|
|
2834
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter']()),
|
|
2835
|
-
available: arrayOf(() => factories['io.flow.query.builder.v0.unions.available_filter']()),
|
|
2836
|
-
}),
|
|
2837
|
-
|
|
2838
|
-
'io.flow.query.builder.v0.models.query_builder_filter_form': (): io.flow.query.builder.v0.models.QueryBuilderFilterForm => ({
|
|
2839
|
-
discriminator: 'filter',
|
|
2840
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter_form']()),
|
|
2841
|
-
}),
|
|
2842
|
-
|
|
2843
|
-
'io.flow.query.builder.v0.models.query_builder_query_form': (): io.flow.query.builder.v0.models.QueryBuilderQueryForm => ({
|
|
2844
|
-
discriminator: 'query',
|
|
2845
|
-
q: factories.string(),
|
|
2846
|
-
}),
|
|
2847
|
-
|
|
2848
|
-
'io.flow.query.builder.v0.models.query_filter_structured': (): io.flow.query.builder.v0.models.QueryFilterStructured => ({
|
|
2849
|
-
discriminator: 'structured',
|
|
2850
|
-
q: factories.string(),
|
|
2851
|
-
field: factories.string(),
|
|
2852
|
-
operator: factories.string(),
|
|
2853
|
-
values: arrayOf(() => factories.string()),
|
|
2854
|
-
}),
|
|
2855
|
-
|
|
2856
|
-
'io.flow.query.builder.v0.models.query_filter_structured_form': (): io.flow.query.builder.v0.models.QueryFilterStructuredForm => ({
|
|
2857
|
-
discriminator: 'structured',
|
|
2858
|
-
field: factories.string(),
|
|
2859
|
-
operator: factories.string(),
|
|
2860
|
-
values: arrayOf(() => factories.string()),
|
|
889
|
+
postalCode: factories.string(),
|
|
890
|
+
countryCode: factories.string(),
|
|
891
|
+
phoneNumber: factories.string(),
|
|
892
|
+
companyName: factories.string(),
|
|
893
|
+
address1: factories.string(),
|
|
894
|
+
address2: factories.string(),
|
|
895
|
+
address3: factories.string(),
|
|
896
|
+
locality: factories.string(),
|
|
897
|
+
administrativeArea: factories.string(),
|
|
898
|
+
sortingCode: factories.string(),
|
|
2861
899
|
}),
|
|
2862
900
|
|
|
2863
|
-
'io.flow.
|
|
2864
|
-
|
|
2865
|
-
|
|
901
|
+
'io.flow.google.pay.v0.models.billing_address_parameters': (): io.flow.google.pay.v0.models.BillingAddressParameters => ({
|
|
902
|
+
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
903
|
+
phoneNumberRequired: factories.boolean(),
|
|
2866
904
|
}),
|
|
2867
905
|
|
|
2868
|
-
'io.flow.
|
|
2869
|
-
|
|
2870
|
-
|
|
906
|
+
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': (): io.flow.google.pay.v0.models.CardAdyenTokenizationParameters => ({
|
|
907
|
+
gateway: factories.string(),
|
|
908
|
+
gatewayMerchantId: factories.string(),
|
|
2871
909
|
}),
|
|
2872
910
|
|
|
2873
|
-
'io.flow.
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
]);
|
|
2878
|
-
|
|
2879
|
-
return f();
|
|
2880
|
-
},
|
|
2881
|
-
|
|
2882
|
-
'io.flow.query.builder.v0.unions.query_builder_form': (): io.flow.query.builder.v0.unions.QueryBuilderForm => {
|
|
2883
|
-
const f = faker.helpers.arrayElement([
|
|
2884
|
-
() => factories['io.flow.query.builder.v0.models.query_builder_filter_form'](),
|
|
2885
|
-
() => factories['io.flow.query.builder.v0.models.query_builder_query_form'](),
|
|
2886
|
-
]);
|
|
2887
|
-
|
|
2888
|
-
return f();
|
|
2889
|
-
},
|
|
2890
|
-
|
|
2891
|
-
'io.flow.query.builder.v0.unions.query_filter': (): io.flow.query.builder.v0.unions.QueryFilter => {
|
|
2892
|
-
const f = faker.helpers.arrayElement([
|
|
2893
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_structured'](),
|
|
2894
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_unstructured'](),
|
|
2895
|
-
]);
|
|
911
|
+
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': (): io.flow.google.pay.v0.models.CardDirectTokenizationParameters => ({
|
|
912
|
+
protocolVersion: factories.string(),
|
|
913
|
+
publicKey: factories.string(),
|
|
914
|
+
}),
|
|
2896
915
|
|
|
2897
|
-
|
|
2898
|
-
|
|
916
|
+
'io.flow.google.pay.v0.models.card_payment_method_data_info': (): io.flow.google.pay.v0.models.CardPaymentMethodDataInfo => ({
|
|
917
|
+
cardDetails: factories.string(),
|
|
918
|
+
cardNetwork: factories.string(),
|
|
919
|
+
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
920
|
+
}),
|
|
2899
921
|
|
|
2900
|
-
'io.flow.
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
])
|
|
922
|
+
'io.flow.google.pay.v0.models.card_payment_method_parameters': (): io.flow.google.pay.v0.models.CardPaymentMethodParameters => ({
|
|
923
|
+
allowedAuthMethods: arrayOf(() => factories['io.flow.google.pay.v0.enums.auth_method']()),
|
|
924
|
+
allowedCardNetworks: arrayOf(() => factories['io.flow.google.pay.v0.enums.card_network']()),
|
|
925
|
+
billingAddressRequired: factories.boolean(),
|
|
926
|
+
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
927
|
+
}),
|
|
2905
928
|
|
|
2906
|
-
|
|
2907
|
-
|
|
929
|
+
'io.flow.google.pay.v0.models.direct_payment_method_token': (): io.flow.google.pay.v0.models.DirectPaymentMethodToken => ({
|
|
930
|
+
discriminator: 'direct_payment_method_token',
|
|
931
|
+
protocolVersion: factories.string(),
|
|
932
|
+
signature: factories.string(),
|
|
933
|
+
signedMessage: factories.string(),
|
|
934
|
+
}),
|
|
2908
935
|
|
|
2909
|
-
'io.flow.
|
|
2910
|
-
|
|
2911
|
-
|
|
936
|
+
'io.flow.google.pay.v0.models.encrypted_message': (): io.flow.google.pay.v0.models.EncryptedMessage => ({
|
|
937
|
+
messageExpiration: factories.string(),
|
|
938
|
+
messageId: factories.string(),
|
|
939
|
+
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
940
|
+
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
941
|
+
}),
|
|
2912
942
|
|
|
2913
|
-
'io.flow.
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
'dependency',
|
|
2919
|
-
'district',
|
|
2920
|
-
'do_si',
|
|
2921
|
-
'emirate',
|
|
2922
|
-
'entity',
|
|
2923
|
-
'island',
|
|
2924
|
-
'municipality',
|
|
2925
|
-
'oblast',
|
|
2926
|
-
'outlying_area',
|
|
2927
|
-
'parish',
|
|
2928
|
-
'prefecture',
|
|
2929
|
-
'province',
|
|
2930
|
-
'state',
|
|
2931
|
-
'territory',
|
|
2932
|
-
'other',
|
|
2933
|
-
]),
|
|
943
|
+
'io.flow.google.pay.v0.models.merchant_info': (): io.flow.google.pay.v0.models.MerchantInfo => ({
|
|
944
|
+
merchantId: factories.string(),
|
|
945
|
+
merchantName: factories.string(),
|
|
946
|
+
authJwt: factories.string(),
|
|
947
|
+
}),
|
|
2934
948
|
|
|
2935
|
-
'io.flow.
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
949
|
+
'io.flow.google.pay.v0.models.payment_data': (): io.flow.google.pay.v0.models.PaymentData => ({
|
|
950
|
+
apiVersion: factories.integer(),
|
|
951
|
+
apiVersionMinor: factories.integer(),
|
|
952
|
+
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
953
|
+
email: factories.string(),
|
|
954
|
+
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2939
955
|
}),
|
|
2940
956
|
|
|
2941
|
-
'io.flow.
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
957
|
+
'io.flow.google.pay.v0.models.payment_data_request': (): io.flow.google.pay.v0.models.PaymentDataRequest => ({
|
|
958
|
+
apiVersion: factories.integer(),
|
|
959
|
+
apiVersionMinor: factories.integer(),
|
|
960
|
+
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
961
|
+
allowedPaymentMethods: arrayOf(() => factories['io.flow.google.pay.v0.models.payment_method']()),
|
|
962
|
+
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
963
|
+
emailRequired: factories.boolean(),
|
|
964
|
+
shippingAddressRequired: factories.boolean(),
|
|
965
|
+
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
2945
966
|
}),
|
|
2946
967
|
|
|
2947
|
-
'io.flow.
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
languages: arrayOf(() => factories.string()),
|
|
2952
|
-
measurement_system: factories.string(),
|
|
2953
|
-
default_currency: factories.string(),
|
|
2954
|
-
default_language: factories.string(),
|
|
2955
|
-
timezones: arrayOf(() => factories.string()),
|
|
2956
|
-
default_delivered_duty: factories.string(),
|
|
968
|
+
'io.flow.google.pay.v0.models.payment_method': (): io.flow.google.pay.v0.models.PaymentMethod => ({
|
|
969
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
970
|
+
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
971
|
+
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
2957
972
|
}),
|
|
2958
973
|
|
|
2959
|
-
'io.flow.
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
default_locale: factories.string(),
|
|
974
|
+
'io.flow.google.pay.v0.models.payment_method_data': (): io.flow.google.pay.v0.models.PaymentMethodData => ({
|
|
975
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
976
|
+
description: factories.string(),
|
|
977
|
+
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
978
|
+
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
2965
979
|
}),
|
|
2966
980
|
|
|
2967
|
-
'io.flow.
|
|
2968
|
-
|
|
2969
|
-
|
|
981
|
+
'io.flow.google.pay.v0.models.payment_method_details': (): io.flow.google.pay.v0.models.PaymentMethodDetails => ({
|
|
982
|
+
pan: factories.string(),
|
|
983
|
+
expirationMonth: factories.integer(),
|
|
984
|
+
expirationYear: factories.integer(),
|
|
985
|
+
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
986
|
+
cryptogram: factories.string(),
|
|
987
|
+
eciIndicator: factories.string(),
|
|
2970
988
|
}),
|
|
2971
989
|
|
|
2972
|
-
'io.flow.
|
|
2973
|
-
|
|
2974
|
-
|
|
990
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_data': (): io.flow.google.pay.v0.models.PaymentMethodTokenizationData => ({
|
|
991
|
+
type: factories.string(),
|
|
992
|
+
token: factories.string(),
|
|
2975
993
|
}),
|
|
2976
994
|
|
|
2977
|
-
'io.flow.
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
country: factories.string(),
|
|
2981
|
-
language: factories.string(),
|
|
2982
|
-
numbers: factories['io.flow.reference.v0.models.locale_numbers'](),
|
|
995
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': (): io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification => ({
|
|
996
|
+
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
997
|
+
parameters: factories.object(),
|
|
2983
998
|
}),
|
|
2984
999
|
|
|
2985
|
-
'io.flow.
|
|
2986
|
-
|
|
2987
|
-
group: factories.string(),
|
|
1000
|
+
'io.flow.google.pay.v0.models.shipping_address_parameters': (): io.flow.google.pay.v0.models.ShippingAddressParameters => ({
|
|
1001
|
+
allowedCountryCodes: arrayOf(() => factories.string()),
|
|
2988
1002
|
}),
|
|
2989
1003
|
|
|
2990
|
-
'io.flow.
|
|
2991
|
-
|
|
2992
|
-
|
|
1004
|
+
'io.flow.google.pay.v0.models.signed_message': (): io.flow.google.pay.v0.models.SignedMessage => ({
|
|
1005
|
+
encryptedMessage: factories.string(),
|
|
1006
|
+
ephemeralPublicKey: factories.string(),
|
|
1007
|
+
tag: factories.string(),
|
|
2993
1008
|
}),
|
|
2994
1009
|
|
|
2995
|
-
'io.flow.
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
name: factories.string(),
|
|
2999
|
-
images: factories['io.flow.reference.v0.models.payment_method_images'](),
|
|
3000
|
-
regions: arrayOf(() => factories.string()),
|
|
3001
|
-
capabilities: arrayOf(() => factories['io.flow.reference.v0.enums.payment_method_capability']()),
|
|
1010
|
+
'io.flow.google.pay.v0.models.stripe_payment_method_token': (): io.flow.google.pay.v0.models.StripePaymentMethodToken => ({
|
|
1011
|
+
discriminator: 'stripe_payment_method_token',
|
|
1012
|
+
token: factories['io.flow.stripe.v0.models.token'](),
|
|
3002
1013
|
}),
|
|
3003
1014
|
|
|
3004
|
-
'io.flow.
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
1015
|
+
'io.flow.google.pay.v0.models.transaction_info': (): io.flow.google.pay.v0.models.TransactionInfo => ({
|
|
1016
|
+
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
1017
|
+
totalPrice: factories.string(),
|
|
1018
|
+
currencyCode: factories.string(),
|
|
3008
1019
|
}),
|
|
3009
1020
|
|
|
3010
|
-
'io.flow.
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
1021
|
+
'io.flow.google.pay.v0.unions.payment_method_token': (): io.flow.google.pay.v0.unions.PaymentMethodToken => {
|
|
1022
|
+
const f = faker.helpers.arrayElement([
|
|
1023
|
+
() => factories['io.flow.google.pay.v0.models.direct_payment_method_token'](),
|
|
1024
|
+
() => factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](),
|
|
1025
|
+
]);
|
|
1026
|
+
|
|
1027
|
+
return f();
|
|
1028
|
+
},
|
|
1029
|
+
|
|
1030
|
+
'io.flow.product.v0.models.product': (): io.flow.product.v0.models.Product => ({
|
|
1031
|
+
organization_id: factories.string(),
|
|
1032
|
+
number: factories.string(),
|
|
1033
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
1034
|
+
taxonomy_data: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_data']()),
|
|
1035
|
+
item_numbers: arrayOf(() => factories.string()),
|
|
1036
|
+
highest_value_item_number: factories.string(),
|
|
1037
|
+
updated_at: factories.date_time_iso_8601(),
|
|
1038
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
3014
1039
|
}),
|
|
3015
1040
|
|
|
3016
|
-
'io.flow.
|
|
3017
|
-
id: factories.string(),
|
|
3018
|
-
iso_3166_2: factories.string(),
|
|
1041
|
+
'io.flow.product.v0.models.product_taxonomy_category': (): io.flow.product.v0.models.ProductTaxonomyCategory => ({
|
|
3019
1042
|
name: factories.string(),
|
|
3020
|
-
|
|
3021
|
-
province_type: factories['io.flow.reference.v0.enums.province_type'](),
|
|
3022
|
-
translations: arrayOf(() => factories['io.flow.reference.v0.models.localized_translation']()),
|
|
1043
|
+
full_name: factories.string(),
|
|
3023
1044
|
}),
|
|
3024
1045
|
|
|
3025
|
-
'io.flow.
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
currencies: arrayOf(() => factories.string()),
|
|
3030
|
-
languages: arrayOf(() => factories.string()),
|
|
3031
|
-
measurement_systems: arrayOf(() => factories.string()),
|
|
3032
|
-
timezones: arrayOf(() => factories.string()),
|
|
1046
|
+
'io.flow.product.v0.models.product_taxonomy_data': (): io.flow.product.v0.models.ProductTaxonomyData => ({
|
|
1047
|
+
key: factories.string(),
|
|
1048
|
+
value: arrayOf(() => factories.string()),
|
|
1049
|
+
value_obj: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_value']()),
|
|
3033
1050
|
}),
|
|
3034
1051
|
|
|
3035
|
-
'io.flow.
|
|
1052
|
+
'io.flow.product.v0.models.product_taxonomy_value': (): io.flow.product.v0.models.ProductTaxonomyValue => ({
|
|
1053
|
+
handle: factories.string(),
|
|
3036
1054
|
name: factories.string(),
|
|
3037
|
-
description: factories.string(),
|
|
3038
|
-
offset: factories.integer(),
|
|
3039
1055
|
}),
|
|
3040
1056
|
|
|
3041
1057
|
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']),
|
|
@@ -3247,6 +1263,7 @@ const factories = {
|
|
|
3247
1263
|
'io.flow.shopify.external.v0.models.graphql_metaobject_field': (): io.flow.shopify.external.v0.models.GraphqlMetaobjectField => ({
|
|
3248
1264
|
key: factories.string(),
|
|
3249
1265
|
value: factories.string(),
|
|
1266
|
+
type: factories.string(),
|
|
3250
1267
|
}),
|
|
3251
1268
|
|
|
3252
1269
|
'io.flow.shopify.external.v0.models.graphql_option': (): io.flow.shopify.external.v0.models.GraphqlOption => ({
|
|
@@ -6144,6 +4161,7 @@ const factories = {
|
|
|
6144
4161
|
},
|
|
6145
4162
|
|
|
6146
4163
|
'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AldoItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4164
|
+
'io.flow.tech.onboarding.playground.v0.enums.anirban_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6147
4165
|
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6148
4166
|
'io.flow.tech.onboarding.playground.v0.enums.hosein_item_type': (): io.flow.tech.onboarding.playground.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6149
4167
|
'io.flow.tech.onboarding.playground.v0.enums.niall_item_type': (): io.flow.tech.onboarding.playground.v0.enums.NiallItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
@@ -6168,6 +4186,23 @@ const factories = {
|
|
|
6168
4186
|
added_on: factories.date_iso_8601(),
|
|
6169
4187
|
}),
|
|
6170
4188
|
|
|
4189
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item': (): io.flow.tech.onboarding.playground.v0.models.AnirbanItem => ({
|
|
4190
|
+
id: factories.string(),
|
|
4191
|
+
number: factories.string(),
|
|
4192
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4193
|
+
description: factories.string(),
|
|
4194
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
4195
|
+
added_on: factories.date_time_iso_8601(),
|
|
4196
|
+
}),
|
|
4197
|
+
|
|
4198
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item_form': (): io.flow.tech.onboarding.playground.v0.models.AnirbanItemForm => ({
|
|
4199
|
+
number: factories.string(),
|
|
4200
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4201
|
+
description: factories.string(),
|
|
4202
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
4203
|
+
added_on: factories.date_time_iso_8601(),
|
|
4204
|
+
}),
|
|
4205
|
+
|
|
6171
4206
|
'io.flow.tech.onboarding.playground.v0.models.ansh_item': (): io.flow.tech.onboarding.playground.v0.models.AnshItem => ({
|
|
6172
4207
|
id: factories.string(),
|
|
6173
4208
|
number: factories.string(),
|
|
@@ -6499,6 +4534,8 @@ const factories = {
|
|
|
6499
4534
|
'aldo_item_deleted',
|
|
6500
4535
|
'ansh_item_upserted',
|
|
6501
4536
|
'ansh_item_deleted',
|
|
4537
|
+
'anirban_item_upserted',
|
|
4538
|
+
'anirban_item_deleted',
|
|
6502
4539
|
'transaction_upserted',
|
|
6503
4540
|
'organization_transaction_upserted',
|
|
6504
4541
|
'organization_transaction_deleted',
|
|
@@ -6915,6 +4952,7 @@ const factories = {
|
|
|
6915
4952
|
'tip',
|
|
6916
4953
|
]),
|
|
6917
4954
|
|
|
4955
|
+
'io.flow.v0.enums.order_price_fee_type': (): io.flow.v0.enums.OrderPriceFeeType => faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product']),
|
|
6918
4956
|
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
6919
4957
|
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']),
|
|
6920
4958
|
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
|
|
@@ -7082,42 +5120,6 @@ const factories = {
|
|
|
7082
5120
|
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
7083
5121
|
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
7084
5122
|
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
7085
|
-
|
|
7086
|
-
'io.flow.v0.enums.product_restriction_rule': (): io.flow.v0.enums.ProductRestrictionRule => faker.helpers.arrayElement([
|
|
7087
|
-
'Adult Products',
|
|
7088
|
-
'Alcohol',
|
|
7089
|
-
'Anti Money Laundering',
|
|
7090
|
-
'Collagen',
|
|
7091
|
-
'Consumer Safety',
|
|
7092
|
-
'Cosmetics',
|
|
7093
|
-
'DG - Batteries',
|
|
7094
|
-
'DG - Hazmat',
|
|
7095
|
-
'Drugs',
|
|
7096
|
-
'Dual Use',
|
|
7097
|
-
'Fine Art',
|
|
7098
|
-
'Fish & Wildlife - CITES',
|
|
7099
|
-
'Fish & Wildlife - Plant',
|
|
7100
|
-
'Fish & Wildlife - USFWS',
|
|
7101
|
-
'Food',
|
|
7102
|
-
'Gambling',
|
|
7103
|
-
'Health',
|
|
7104
|
-
'Human hair',
|
|
7105
|
-
'Insufficient Details',
|
|
7106
|
-
'Intangible',
|
|
7107
|
-
'Jewelry',
|
|
7108
|
-
'Jewelry & Watches Over 5000',
|
|
7109
|
-
'Knives',
|
|
7110
|
-
'Liquids',
|
|
7111
|
-
'Oversized',
|
|
7112
|
-
'Pending Classification',
|
|
7113
|
-
'Restrict by Default',
|
|
7114
|
-
'Supplements',
|
|
7115
|
-
'Tattoo Ink And PMU',
|
|
7116
|
-
'Unknown Bundles',
|
|
7117
|
-
'Weapon',
|
|
7118
|
-
'Wood',
|
|
7119
|
-
]),
|
|
7120
|
-
|
|
7121
5123
|
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
7122
5124
|
|
|
7123
5125
|
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
@@ -7427,6 +5429,7 @@ const factories = {
|
|
|
7427
5429
|
'saturday_stop',
|
|
7428
5430
|
'residential_extended_area_pickup',
|
|
7429
5431
|
'package_level_detail',
|
|
5432
|
+
'pickup',
|
|
7430
5433
|
]),
|
|
7431
5434
|
|
|
7432
5435
|
'io.flow.v0.enums.unit_of_length': (): io.flow.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|
|
@@ -7934,6 +5937,20 @@ const factories = {
|
|
|
7934
5937
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
7935
5938
|
}),
|
|
7936
5939
|
|
|
5940
|
+
'io.flow.v0.models.anirban_item_deleted': (): io.flow.v0.models.AnirbanItemDeleted => ({
|
|
5941
|
+
discriminator: 'anirban_item_deleted',
|
|
5942
|
+
event_id: factories.string(),
|
|
5943
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5944
|
+
id: factories.string(),
|
|
5945
|
+
}),
|
|
5946
|
+
|
|
5947
|
+
'io.flow.v0.models.anirban_item_upserted': (): io.flow.v0.models.AnirbanItemUpserted => ({
|
|
5948
|
+
discriminator: 'anirban_item_upserted',
|
|
5949
|
+
event_id: factories.string(),
|
|
5950
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5951
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.anirban_item'](),
|
|
5952
|
+
}),
|
|
5953
|
+
|
|
7937
5954
|
'io.flow.v0.models.ansh_item_deleted': (): io.flow.v0.models.AnshItemDeleted => ({
|
|
7938
5955
|
discriminator: 'ansh_item_deleted',
|
|
7939
5956
|
event_id: factories.string(),
|
|
@@ -9919,6 +7936,7 @@ const factories = {
|
|
|
9919
7936
|
package_dimensions_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
9920
7937
|
origin_location_source: factories['io.flow.v0.enums.origin_location_source'](),
|
|
9921
7938
|
reference_id: factories.string(),
|
|
7939
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
9922
7940
|
}),
|
|
9923
7941
|
|
|
9924
7942
|
'io.flow.v0.models.detailed_shipping_notification_form': (): io.flow.v0.models.DetailedShippingNotificationForm => ({
|
|
@@ -10218,6 +8236,11 @@ const factories = {
|
|
|
10218
8236
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
10219
8237
|
}),
|
|
10220
8238
|
|
|
8239
|
+
'io.flow.v0.models.edit_summary': (): io.flow.v0.models.EditSummary => ({
|
|
8240
|
+
id: factories.string(),
|
|
8241
|
+
edited_at: factories.date_time_iso_8601(),
|
|
8242
|
+
}),
|
|
8243
|
+
|
|
10221
8244
|
'io.flow.v0.models.eei_filing_ratecard_fee': (): io.flow.v0.models.EeiFilingRatecardFee => ({
|
|
10222
8245
|
discriminator: 'eei_filing_ratecard_fee',
|
|
10223
8246
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -12060,6 +10083,7 @@ const factories = {
|
|
|
12060
10083
|
local: factories['io.flow.v0.models.local'](),
|
|
12061
10084
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
12062
10085
|
price_source: factories['io.flow.v0.unions.price_source'](),
|
|
10086
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
12063
10087
|
}),
|
|
12064
10088
|
|
|
12065
10089
|
'io.flow.v0.models.localized_line_item_discount': (): io.flow.v0.models.LocalizedLineItemDiscount => ({
|
|
@@ -12077,6 +10101,7 @@ const factories = {
|
|
|
12077
10101
|
amount: factories.double(),
|
|
12078
10102
|
label: factories.string(),
|
|
12079
10103
|
base: factories['io.flow.v0.models.price'](),
|
|
10104
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
12080
10105
|
}),
|
|
12081
10106
|
|
|
12082
10107
|
'io.flow.v0.models.localized_translation': (): io.flow.v0.models.LocalizedTranslation => ({
|
|
@@ -12375,6 +10400,11 @@ const factories = {
|
|
|
12375
10400
|
last: factories.string(),
|
|
12376
10401
|
}),
|
|
12377
10402
|
|
|
10403
|
+
'io.flow.v0.models.needs_action_attributes': (): io.flow.v0.models.NeedsActionAttributes => ({
|
|
10404
|
+
reason_code: factories.string(),
|
|
10405
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
10406
|
+
}),
|
|
10407
|
+
|
|
12378
10408
|
'io.flow.v0.models.niall_item_deleted': (): io.flow.v0.models.NiallItemDeleted => ({
|
|
12379
10409
|
discriminator: 'niall_item_deleted',
|
|
12380
10410
|
event_id: factories.string(),
|
|
@@ -12536,6 +10566,8 @@ const factories = {
|
|
|
12536
10566
|
destination_contact_details: arrayOf(() => factories['io.flow.v0.models.destination_contact_detail']()),
|
|
12537
10567
|
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
12538
10568
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
10569
|
+
edits: arrayOf(() => factories['io.flow.v0.models.edit_summary']()),
|
|
10570
|
+
rates: arrayOf(() => factories['io.flow.v0.models.order_rate']()),
|
|
12539
10571
|
}),
|
|
12540
10572
|
|
|
12541
10573
|
'io.flow.v0.models.order_address': (): io.flow.v0.models.OrderAddress => ({
|
|
@@ -12834,6 +10866,12 @@ const factories = {
|
|
|
12834
10866
|
rate: factories.decimal(),
|
|
12835
10867
|
accuracy: factories['io.flow.v0.enums.price_accuracy'](),
|
|
12836
10868
|
rate_label: factories.string(),
|
|
10869
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
10870
|
+
}),
|
|
10871
|
+
|
|
10872
|
+
'io.flow.v0.models.order_price_detail_breakdown': (): io.flow.v0.models.OrderPriceDetailBreakdown => ({
|
|
10873
|
+
purchase_price: factories['io.flow.v0.models.purchase_price_breakdown'](),
|
|
10874
|
+
fees: arrayOf(() => factories['io.flow.v0.models.order_price_fee']()),
|
|
12837
10875
|
}),
|
|
12838
10876
|
|
|
12839
10877
|
'io.flow.v0.models.order_price_detail_component': (): io.flow.v0.models.OrderPriceDetailComponent => ({
|
|
@@ -12845,6 +10883,12 @@ const factories = {
|
|
|
12845
10883
|
name: factories.string(),
|
|
12846
10884
|
}),
|
|
12847
10885
|
|
|
10886
|
+
'io.flow.v0.models.order_price_fee': (): io.flow.v0.models.OrderPriceFee => ({
|
|
10887
|
+
key: factories.string(),
|
|
10888
|
+
value: factories['io.flow.v0.models.price_with_base'](),
|
|
10889
|
+
type: factories['io.flow.v0.enums.order_price_fee_type'](),
|
|
10890
|
+
}),
|
|
10891
|
+
|
|
12848
10892
|
'io.flow.v0.models.order_promotion_trigger': (): io.flow.v0.models.OrderPromotionTrigger => ({
|
|
12849
10893
|
type: factories['io.flow.v0.enums.promotion_trigger_type'](),
|
|
12850
10894
|
min: factories['io.flow.v0.models.price'](),
|
|
@@ -12866,6 +10910,12 @@ const factories = {
|
|
|
12866
10910
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
12867
10911
|
}),
|
|
12868
10912
|
|
|
10913
|
+
'io.flow.v0.models.order_rate': (): io.flow.v0.models.OrderRate => ({
|
|
10914
|
+
from: factories.string(),
|
|
10915
|
+
to: factories.string(),
|
|
10916
|
+
rate: factories.decimal(),
|
|
10917
|
+
}),
|
|
10918
|
+
|
|
12869
10919
|
'io.flow.v0.models.order_reference': (): io.flow.v0.models.OrderReference => ({
|
|
12870
10920
|
discriminator: 'order_reference',
|
|
12871
10921
|
id: factories.string(),
|
|
@@ -14556,11 +12606,12 @@ const factories = {
|
|
|
14556
12606
|
sellability_restricted_regions: arrayOf(() => factories.string()),
|
|
14557
12607
|
reasons_per_region: arrayOf(() => factories['io.flow.v0.models.reasons_per_region']()),
|
|
14558
12608
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
14559
|
-
rules: arrayOf(() => factories
|
|
12609
|
+
rules: arrayOf(() => factories.string()),
|
|
14560
12610
|
updated_by: factories.string(),
|
|
14561
12611
|
product_restriction_id: factories.string(),
|
|
14562
12612
|
hs_code: factories.string(),
|
|
14563
12613
|
restricted_regions_by_type: arrayOf(() => factories['io.flow.v0.models.sellablility_region_result']()),
|
|
12614
|
+
needs_action_attributes: arrayOf(() => factories['io.flow.v0.models.needs_action_attributes']()),
|
|
14564
12615
|
}),
|
|
14565
12616
|
|
|
14566
12617
|
'io.flow.v0.models.product_restriction_result_deleted': (): io.flow.v0.models.ProductRestrictionResultDeleted => ({
|
|
@@ -14607,6 +12658,12 @@ const factories = {
|
|
|
14607
12658
|
'io.flow.v0.models.product_taxonomy_data': (): io.flow.v0.models.ProductTaxonomyData => ({
|
|
14608
12659
|
key: factories.string(),
|
|
14609
12660
|
value: arrayOf(() => factories.string()),
|
|
12661
|
+
value_obj: arrayOf(() => factories['io.flow.v0.models.product_taxonomy_value']()),
|
|
12662
|
+
}),
|
|
12663
|
+
|
|
12664
|
+
'io.flow.v0.models.product_taxonomy_value': (): io.flow.v0.models.ProductTaxonomyValue => ({
|
|
12665
|
+
handle: factories.string(),
|
|
12666
|
+
name: factories.string(),
|
|
14610
12667
|
}),
|
|
14611
12668
|
|
|
14612
12669
|
'io.flow.v0.models.product_updated': (): io.flow.v0.models.ProductUpdated => ({
|
|
@@ -14646,6 +12703,12 @@ const factories = {
|
|
|
14646
12703
|
id: factories.string(),
|
|
14647
12704
|
}),
|
|
14648
12705
|
|
|
12706
|
+
'io.flow.v0.models.purchase_price_breakdown': (): io.flow.v0.models.PurchasePriceBreakdown => ({
|
|
12707
|
+
total_price: factories['io.flow.v0.models.price_with_base'](),
|
|
12708
|
+
product_price: factories['io.flow.v0.models.price_with_base'](),
|
|
12709
|
+
fees: arrayOf(() => factories['io.flow.v0.models.order_price_fee']()),
|
|
12710
|
+
}),
|
|
12711
|
+
|
|
14649
12712
|
'io.flow.v0.models.query': (): io.flow.v0.models.Query => ({
|
|
14650
12713
|
q: factories.string(),
|
|
14651
12714
|
filters: arrayOf(() => factories['io.flow.v0.unions.query_filter']()),
|
|
@@ -17747,6 +15810,8 @@ const factories = {
|
|
|
17747
15810
|
() => factories['io.flow.v0.models.aldo_item_deleted'](),
|
|
17748
15811
|
() => factories['io.flow.v0.models.ansh_item_upserted'](),
|
|
17749
15812
|
() => factories['io.flow.v0.models.ansh_item_deleted'](),
|
|
15813
|
+
() => factories['io.flow.v0.models.anirban_item_upserted'](),
|
|
15814
|
+
() => factories['io.flow.v0.models.anirban_item_deleted'](),
|
|
17750
15815
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
17751
15816
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
17752
15817
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -18771,6 +16836,8 @@ export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2
|
|
|
18771
16836
|
export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
|
|
18772
16837
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
18773
16838
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
16839
|
+
export const makeAnirbanItemDeleted = () => factories['io.flow.v0.models.anirban_item_deleted']();
|
|
16840
|
+
export const makeAnirbanItemUpserted = () => factories['io.flow.v0.models.anirban_item_upserted']();
|
|
18774
16841
|
export const makeAnshItemDeleted = () => factories['io.flow.v0.models.ansh_item_deleted']();
|
|
18775
16842
|
export const makeAnshItemUpserted = () => factories['io.flow.v0.models.ansh_item_upserted']();
|
|
18776
16843
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
@@ -19156,6 +17223,7 @@ export const makeEcommercePlatformForm = () => factories['io.flow.v0.models.ecom
|
|
|
19156
17223
|
export const makeEcommercePlatformType = () => factories['io.flow.v0.enums.ecommerce_platform_type']();
|
|
19157
17224
|
export const makeEcommercePlatformUpserted = () => factories['io.flow.v0.models.ecommerce_platform_upserted']();
|
|
19158
17225
|
export const makeEconomicTitleLocation = () => factories['io.flow.v0.enums.economic_title_location']();
|
|
17226
|
+
export const makeEditSummary = () => factories['io.flow.v0.models.edit_summary']();
|
|
19159
17227
|
export const makeEeiFilingRatecardFee = () => factories['io.flow.v0.models.eei_filing_ratecard_fee']();
|
|
19160
17228
|
export const makeEeiFilingServiceFee = () => factories['io.flow.v0.models.eei_filing_service_fee']();
|
|
19161
17229
|
export const makeEmailAbandonedOrderPromotion = () => factories['io.flow.v0.models.email_abandoned_order_promotion']();
|
|
@@ -19553,6 +17621,7 @@ export const makeMonthlyAverage = () => factories['io.flow.v0.models.monthly_ave
|
|
|
19553
17621
|
export const makeMonthlyAverageVolume = () => factories['io.flow.v0.models.monthly_average_volume']();
|
|
19554
17622
|
export const makeName = () => factories['io.flow.v0.models.name']();
|
|
19555
17623
|
export const makeNameForm = () => factories['io.flow.v0.models.name_form']();
|
|
17624
|
+
export const makeNeedsActionAttributes = () => factories['io.flow.v0.models.needs_action_attributes']();
|
|
19556
17625
|
export const makeNiallItemDeleted = () => factories['io.flow.v0.models.niall_item_deleted']();
|
|
19557
17626
|
export const makeNiallItemUpserted = () => factories['io.flow.v0.models.niall_item_upserted']();
|
|
19558
17627
|
export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.notification_deleted_v2']();
|
|
@@ -19625,13 +17694,17 @@ export const makeOrderPlaced = () => factories['io.flow.v0.models.order_placed']
|
|
|
19625
17694
|
export const makeOrderPlacedDetails = () => factories['io.flow.v0.models.order_placed_details']();
|
|
19626
17695
|
export const makeOrderPlacedV2 = () => factories['io.flow.v0.models.order_placed_v2']();
|
|
19627
17696
|
export const makeOrderPriceDetail = () => factories['io.flow.v0.models.order_price_detail']();
|
|
17697
|
+
export const makeOrderPriceDetailBreakdown = () => factories['io.flow.v0.models.order_price_detail_breakdown']();
|
|
19628
17698
|
export const makeOrderPriceDetailComponent = () => factories['io.flow.v0.models.order_price_detail_component']();
|
|
19629
17699
|
export const makeOrderPriceDetailComponentKey = () => factories['io.flow.v0.enums.order_price_detail_component_key']();
|
|
19630
17700
|
export const makeOrderPriceDetailKey = () => factories['io.flow.v0.enums.order_price_detail_key']();
|
|
17701
|
+
export const makeOrderPriceFee = () => factories['io.flow.v0.models.order_price_fee']();
|
|
17702
|
+
export const makeOrderPriceFeeType = () => factories['io.flow.v0.enums.order_price_fee_type']();
|
|
19631
17703
|
export const makeOrderPromotion = () => factories['io.flow.v0.unions.order_promotion']();
|
|
19632
17704
|
export const makeOrderPromotionForm = () => factories['io.flow.v0.unions.order_promotion_form']();
|
|
19633
17705
|
export const makeOrderPromotionTrigger = () => factories['io.flow.v0.models.order_promotion_trigger']();
|
|
19634
17706
|
export const makeOrderPutForm = () => factories['io.flow.v0.models.order_put_form']();
|
|
17707
|
+
export const makeOrderRate = () => factories['io.flow.v0.models.order_rate']();
|
|
19635
17708
|
export const makeOrderReference = () => factories['io.flow.v0.models.order_reference']();
|
|
19636
17709
|
export const makeOrderRefundSummary = () => factories['io.flow.v0.models.order_refund_summary']();
|
|
19637
17710
|
export const makeOrderRefundSummaryAmounts = () => factories['io.flow.v0.models.order_refund_summary_amounts']();
|
|
@@ -19936,11 +18009,11 @@ export const makeProductInserted = () => factories['io.flow.v0.models.product_in
|
|
|
19936
18009
|
export const makeProductRestrictionResult = () => factories['io.flow.v0.models.product_restriction_result']();
|
|
19937
18010
|
export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.product_restriction_result_deleted']();
|
|
19938
18011
|
export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
|
|
19939
|
-
export const makeProductRestrictionRule = () => factories['io.flow.v0.enums.product_restriction_rule']();
|
|
19940
18012
|
export const makeProductSellability = () => factories['io.flow.v0.models.product_sellability']();
|
|
19941
18013
|
export const makeProductSellabilityForm = () => factories['io.flow.v0.models.product_sellability_form']();
|
|
19942
18014
|
export const makeProductTaxonomyCategory = () => factories['io.flow.v0.models.product_taxonomy_category']();
|
|
19943
18015
|
export const makeProductTaxonomyData = () => factories['io.flow.v0.models.product_taxonomy_data']();
|
|
18016
|
+
export const makeProductTaxonomyValue = () => factories['io.flow.v0.models.product_taxonomy_value']();
|
|
19944
18017
|
export const makeProductUpdated = () => factories['io.flow.v0.models.product_updated']();
|
|
19945
18018
|
export const makePromotion = () => factories['io.flow.v0.unions.promotion']();
|
|
19946
18019
|
export const makePromotionTrigger = () => factories['io.flow.v0.models.promotion_trigger']();
|
|
@@ -19950,6 +18023,7 @@ export const makePromotions = () => factories['io.flow.v0.models.promotions']();
|
|
|
19950
18023
|
export const makeProvince = () => factories['io.flow.v0.models.province']();
|
|
19951
18024
|
export const makeProvinceType = () => factories['io.flow.v0.enums.province_type']();
|
|
19952
18025
|
export const makePublicKey = () => factories['io.flow.v0.models.public_key']();
|
|
18026
|
+
export const makePurchasePriceBreakdown = () => factories['io.flow.v0.models.purchase_price_breakdown']();
|
|
19953
18027
|
export const makeQuery = () => factories['io.flow.v0.models.query']();
|
|
19954
18028
|
export const makeQueryBuilder = () => factories['io.flow.v0.models.query_builder']();
|
|
19955
18029
|
export const makeQueryBuilderFilterForm = () => factories['io.flow.v0.models.query_builder_filter_form']();
|