@flowio/api-factories 0.0.109 → 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 +557 -2348
- package/dist/esm/api.js +485 -2279
- package/dist/types/api.d.ts +38 -35
- package/package.json +2 -2
- package/src/api.ts +523 -2644
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,1880 +876,184 @@ 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
|
-
updated_at: factories.date_time_iso_8601(),
|
|
2789
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
2790
|
-
}),
|
|
2791
|
-
|
|
2792
|
-
'io.flow.product.v0.models.product_taxonomy_category': (): io.flow.product.v0.models.ProductTaxonomyCategory => ({
|
|
2793
|
-
name: factories.string(),
|
|
2794
|
-
full_name: factories.string(),
|
|
2795
|
-
}),
|
|
2796
|
-
|
|
2797
|
-
'io.flow.product.v0.models.product_taxonomy_data': (): io.flow.product.v0.models.ProductTaxonomyData => ({
|
|
2798
|
-
key: factories.string(),
|
|
2799
|
-
value: arrayOf(() => factories.string()),
|
|
2800
|
-
}),
|
|
2801
|
-
|
|
2802
|
-
'io.flow.query.builder.v0.enums.available_filter_format': (): io.flow.query.builder.v0.enums.AvailableFilterFormat => faker.helpers.arrayElement([
|
|
2803
|
-
'boolean',
|
|
2804
|
-
'date',
|
|
2805
|
-
'money',
|
|
2806
|
-
'decimal',
|
|
2807
|
-
'string',
|
|
2808
|
-
'unit_of_length',
|
|
2809
|
-
'unit_of_mass',
|
|
2810
|
-
]),
|
|
2811
|
-
|
|
2812
|
-
'io.flow.query.builder.v0.models.available_filter_structured': (): io.flow.query.builder.v0.models.AvailableFilterStructured => ({
|
|
2813
|
-
discriminator: 'structured',
|
|
2814
|
-
field: factories.string(),
|
|
2815
|
-
operators: arrayOf(() => factories.string()),
|
|
2816
|
-
format: factories['io.flow.query.builder.v0.enums.available_filter_format'](),
|
|
2817
|
-
valid_values: arrayOf(() => factories.string()),
|
|
2818
|
-
placeholder: factories.string(),
|
|
2819
|
-
}),
|
|
2820
|
-
|
|
2821
|
-
'io.flow.query.builder.v0.models.available_filter_unstructured': (): io.flow.query.builder.v0.models.AvailableFilterUnstructured => ({
|
|
2822
|
-
discriminator: 'unstructured',
|
|
2823
|
-
placeholder: factories.string(),
|
|
2824
|
-
}),
|
|
2825
|
-
|
|
2826
|
-
'io.flow.query.builder.v0.models.query': (): io.flow.query.builder.v0.models.Query => ({
|
|
2827
|
-
q: factories.string(),
|
|
2828
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter']()),
|
|
2829
|
-
}),
|
|
2830
|
-
|
|
2831
|
-
'io.flow.query.builder.v0.models.query_builder': (): io.flow.query.builder.v0.models.QueryBuilder => ({
|
|
2832
|
-
q: factories.string(),
|
|
2833
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter']()),
|
|
2834
|
-
available: arrayOf(() => factories['io.flow.query.builder.v0.unions.available_filter']()),
|
|
2835
|
-
}),
|
|
2836
|
-
|
|
2837
|
-
'io.flow.query.builder.v0.models.query_builder_filter_form': (): io.flow.query.builder.v0.models.QueryBuilderFilterForm => ({
|
|
2838
|
-
discriminator: 'filter',
|
|
2839
|
-
filters: arrayOf(() => factories['io.flow.query.builder.v0.unions.query_filter_form']()),
|
|
2840
|
-
}),
|
|
2841
|
-
|
|
2842
|
-
'io.flow.query.builder.v0.models.query_builder_query_form': (): io.flow.query.builder.v0.models.QueryBuilderQueryForm => ({
|
|
2843
|
-
discriminator: 'query',
|
|
2844
|
-
q: factories.string(),
|
|
2845
|
-
}),
|
|
2846
|
-
|
|
2847
|
-
'io.flow.query.builder.v0.models.query_filter_structured': (): io.flow.query.builder.v0.models.QueryFilterStructured => ({
|
|
2848
|
-
discriminator: 'structured',
|
|
2849
|
-
q: factories.string(),
|
|
2850
|
-
field: factories.string(),
|
|
2851
|
-
operator: factories.string(),
|
|
2852
|
-
values: arrayOf(() => factories.string()),
|
|
2853
|
-
}),
|
|
2854
|
-
|
|
2855
|
-
'io.flow.query.builder.v0.models.query_filter_structured_form': (): io.flow.query.builder.v0.models.QueryFilterStructuredForm => ({
|
|
2856
|
-
discriminator: 'structured',
|
|
2857
|
-
field: factories.string(),
|
|
2858
|
-
operator: factories.string(),
|
|
2859
|
-
values: arrayOf(() => factories.string()),
|
|
2860
|
-
}),
|
|
2861
|
-
|
|
2862
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured': (): io.flow.query.builder.v0.models.QueryFilterUnstructured => ({
|
|
2863
|
-
discriminator: 'unstructured',
|
|
2864
|
-
q: factories.string(),
|
|
2865
|
-
}),
|
|
2866
|
-
|
|
2867
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured_form': (): io.flow.query.builder.v0.models.QueryFilterUnstructuredForm => ({
|
|
2868
|
-
discriminator: 'unstructured',
|
|
2869
|
-
q: factories.string(),
|
|
2870
|
-
}),
|
|
2871
|
-
|
|
2872
|
-
'io.flow.query.builder.v0.unions.available_filter': (): io.flow.query.builder.v0.unions.AvailableFilter => {
|
|
2873
|
-
const f = faker.helpers.arrayElement([
|
|
2874
|
-
() => factories['io.flow.query.builder.v0.models.available_filter_structured'](),
|
|
2875
|
-
() => factories['io.flow.query.builder.v0.models.available_filter_unstructured'](),
|
|
2876
|
-
]);
|
|
2877
|
-
|
|
2878
|
-
return f();
|
|
2879
|
-
},
|
|
2880
|
-
|
|
2881
|
-
'io.flow.query.builder.v0.unions.query_builder_form': (): io.flow.query.builder.v0.unions.QueryBuilderForm => {
|
|
2882
|
-
const f = faker.helpers.arrayElement([
|
|
2883
|
-
() => factories['io.flow.query.builder.v0.models.query_builder_filter_form'](),
|
|
2884
|
-
() => factories['io.flow.query.builder.v0.models.query_builder_query_form'](),
|
|
2885
|
-
]);
|
|
2886
|
-
|
|
2887
|
-
return f();
|
|
2888
|
-
},
|
|
2889
|
-
|
|
2890
|
-
'io.flow.query.builder.v0.unions.query_filter': (): io.flow.query.builder.v0.unions.QueryFilter => {
|
|
2891
|
-
const f = faker.helpers.arrayElement([
|
|
2892
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_structured'](),
|
|
2893
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_unstructured'](),
|
|
2894
|
-
]);
|
|
2895
|
-
|
|
2896
|
-
return f();
|
|
2897
|
-
},
|
|
2898
|
-
|
|
2899
|
-
'io.flow.query.builder.v0.unions.query_filter_form': (): io.flow.query.builder.v0.unions.QueryFilterForm => {
|
|
2900
|
-
const f = faker.helpers.arrayElement([
|
|
2901
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_structured_form'](),
|
|
2902
|
-
() => factories['io.flow.query.builder.v0.models.query_filter_unstructured_form'](),
|
|
2903
|
-
]);
|
|
2904
|
-
|
|
2905
|
-
return f();
|
|
2906
|
-
},
|
|
2907
|
-
|
|
2908
|
-
'io.flow.reference.v0.enums.payment_method_capability': (): io.flow.reference.v0.enums.PaymentMethodCapability => faker.helpers.arrayElement(['credit', 'debit']),
|
|
2909
|
-
'io.flow.reference.v0.enums.payment_method_type': (): io.flow.reference.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'online', 'offline']),
|
|
2910
|
-
'io.flow.reference.v0.enums.postal_type': (): io.flow.reference.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
|
|
2911
|
-
|
|
2912
|
-
'io.flow.reference.v0.enums.province_type': (): io.flow.reference.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
2913
|
-
'area',
|
|
2914
|
-
'city',
|
|
2915
|
-
'county',
|
|
2916
|
-
'department',
|
|
2917
|
-
'dependency',
|
|
2918
|
-
'district',
|
|
2919
|
-
'do_si',
|
|
2920
|
-
'emirate',
|
|
2921
|
-
'entity',
|
|
2922
|
-
'island',
|
|
2923
|
-
'municipality',
|
|
2924
|
-
'oblast',
|
|
2925
|
-
'outlying_area',
|
|
2926
|
-
'parish',
|
|
2927
|
-
'prefecture',
|
|
2928
|
-
'province',
|
|
2929
|
-
'state',
|
|
2930
|
-
'territory',
|
|
2931
|
-
'other',
|
|
2932
|
-
]),
|
|
2933
|
-
|
|
2934
|
-
'io.flow.reference.v0.models.carrier': (): io.flow.reference.v0.models.Carrier => ({
|
|
2935
|
-
id: factories.string(),
|
|
887
|
+
'io.flow.google.pay.v0.models.address': (): io.flow.google.pay.v0.models.Address => ({
|
|
2936
888
|
name: factories.string(),
|
|
2937
|
-
|
|
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(),
|
|
2938
899
|
}),
|
|
2939
900
|
|
|
2940
|
-
'io.flow.
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
name: factories.string(),
|
|
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(),
|
|
2944
904
|
}),
|
|
2945
905
|
|
|
2946
|
-
'io.flow.
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
iso_3166_3: factories.string(),
|
|
2950
|
-
languages: arrayOf(() => factories.string()),
|
|
2951
|
-
measurement_system: factories.string(),
|
|
2952
|
-
default_currency: factories.string(),
|
|
2953
|
-
default_language: factories.string(),
|
|
2954
|
-
timezones: arrayOf(() => factories.string()),
|
|
2955
|
-
default_delivered_duty: factories.string(),
|
|
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(),
|
|
2956
909
|
}),
|
|
2957
910
|
|
|
2958
|
-
'io.flow.
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
number_decimals: factories.integer(),
|
|
2962
|
-
symbols: factories['io.flow.reference.v0.models.currency_symbols'](),
|
|
2963
|
-
default_locale: factories.string(),
|
|
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(),
|
|
2964
914
|
}),
|
|
2965
915
|
|
|
2966
|
-
'io.flow.
|
|
2967
|
-
|
|
2968
|
-
|
|
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'](),
|
|
2969
920
|
}),
|
|
2970
921
|
|
|
2971
|
-
'io.flow.
|
|
2972
|
-
|
|
2973
|
-
|
|
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'](),
|
|
2974
927
|
}),
|
|
2975
928
|
|
|
2976
|
-
'io.flow.
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
numbers: factories['io.flow.reference.v0.models.locale_numbers'](),
|
|
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(),
|
|
2982
934
|
}),
|
|
2983
935
|
|
|
2984
|
-
'io.flow.
|
|
2985
|
-
|
|
2986
|
-
|
|
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'](),
|
|
2987
941
|
}),
|
|
2988
942
|
|
|
2989
|
-
'io.flow.
|
|
2990
|
-
|
|
2991
|
-
|
|
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(),
|
|
2992
947
|
}),
|
|
2993
948
|
|
|
2994
|
-
'io.flow.
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
capabilities: arrayOf(() => factories['io.flow.reference.v0.enums.payment_method_capability']()),
|
|
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'](),
|
|
3001
955
|
}),
|
|
3002
956
|
|
|
3003
|
-
'io.flow.
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
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'](),
|
|
3007
966
|
}),
|
|
3008
967
|
|
|
3009
|
-
'io.flow.
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
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'](),
|
|
3013
972
|
}),
|
|
3014
973
|
|
|
3015
|
-
'io.flow.
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
province_type: factories['io.flow.reference.v0.enums.province_type'](),
|
|
3021
|
-
translations: arrayOf(() => factories['io.flow.reference.v0.models.localized_translation']()),
|
|
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'](),
|
|
3022
979
|
}),
|
|
3023
980
|
|
|
3024
|
-
'io.flow.
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
timezones: arrayOf(() => factories.string()),
|
|
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(),
|
|
3032
988
|
}),
|
|
3033
989
|
|
|
3034
|
-
'io.flow.
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
offset: factories.integer(),
|
|
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(),
|
|
3038
993
|
}),
|
|
3039
994
|
|
|
3040
|
-
'io.flow.
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
'insufficient_details',
|
|
3044
|
-
'ineligible_category',
|
|
3045
|
-
'wait_for_high_fidelity',
|
|
3046
|
-
'external_service_unavailable',
|
|
3047
|
-
]),
|
|
3048
|
-
|
|
3049
|
-
'io.flow.sellability.v0.enums.sellability_request_status': (): io.flow.sellability.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
3050
|
-
|
|
3051
|
-
'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
|
|
3052
|
-
discriminator: 'product_sellability',
|
|
3053
|
-
shop_id: factories.string(),
|
|
3054
|
-
product_id: factories.string(),
|
|
3055
|
-
request_id: factories.string(),
|
|
3056
|
-
hs6_code: factories.string(),
|
|
3057
|
-
|
|
3058
|
-
restricted_regions: arrayOf(
|
|
3059
|
-
() => factories['io.flow.sellability.v0.models.sellablility_region_result'](),
|
|
3060
|
-
),
|
|
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(),
|
|
3061
998
|
}),
|
|
3062
999
|
|
|
3063
|
-
'io.flow.
|
|
3064
|
-
|
|
3065
|
-
product_id: factories.string(),
|
|
3066
|
-
name: factories.string(),
|
|
3067
|
-
price: factories['io.flow.sellability.v0.models.product_sellability_price'](),
|
|
3068
|
-
description: factories.string(),
|
|
3069
|
-
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
3070
|
-
status: factories['io.flow.sellability.v0.enums.sellability_request_status'](),
|
|
3071
|
-
dry_run: factories.boolean(),
|
|
1000
|
+
'io.flow.google.pay.v0.models.shipping_address_parameters': (): io.flow.google.pay.v0.models.ShippingAddressParameters => ({
|
|
1001
|
+
allowedCountryCodes: arrayOf(() => factories.string()),
|
|
3072
1002
|
}),
|
|
3073
1003
|
|
|
3074
|
-
'io.flow.
|
|
3075
|
-
|
|
3076
|
-
|
|
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(),
|
|
3077
1008
|
}),
|
|
3078
1009
|
|
|
3079
|
-
'io.flow.
|
|
3080
|
-
discriminator: '
|
|
3081
|
-
|
|
3082
|
-
messages: arrayOf(() => factories.string()),
|
|
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'](),
|
|
3083
1013
|
}),
|
|
3084
1014
|
|
|
3085
|
-
'io.flow.
|
|
3086
|
-
|
|
3087
|
-
|
|
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(),
|
|
3088
1019
|
}),
|
|
3089
1020
|
|
|
3090
|
-
'io.flow.
|
|
1021
|
+
'io.flow.google.pay.v0.unions.payment_method_token': (): io.flow.google.pay.v0.unions.PaymentMethodToken => {
|
|
3091
1022
|
const f = faker.helpers.arrayElement([
|
|
3092
|
-
() => factories['io.flow.
|
|
3093
|
-
() => factories['io.flow.
|
|
1023
|
+
() => factories['io.flow.google.pay.v0.models.direct_payment_method_token'](),
|
|
1024
|
+
() => factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](),
|
|
3094
1025
|
]);
|
|
3095
1026
|
|
|
3096
1027
|
return f();
|
|
3097
1028
|
},
|
|
3098
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(),
|
|
1039
|
+
}),
|
|
1040
|
+
|
|
1041
|
+
'io.flow.product.v0.models.product_taxonomy_category': (): io.flow.product.v0.models.ProductTaxonomyCategory => ({
|
|
1042
|
+
name: factories.string(),
|
|
1043
|
+
full_name: factories.string(),
|
|
1044
|
+
}),
|
|
1045
|
+
|
|
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']()),
|
|
1050
|
+
}),
|
|
1051
|
+
|
|
1052
|
+
'io.flow.product.v0.models.product_taxonomy_value': (): io.flow.product.v0.models.ProductTaxonomyValue => ({
|
|
1053
|
+
handle: factories.string(),
|
|
1054
|
+
name: factories.string(),
|
|
1055
|
+
}),
|
|
1056
|
+
|
|
3099
1057
|
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']),
|
|
3100
1058
|
'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']),
|
|
3101
1059
|
'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']),
|
|
@@ -3305,6 +1263,7 @@ const factories = {
|
|
|
3305
1263
|
'io.flow.shopify.external.v0.models.graphql_metaobject_field': (): io.flow.shopify.external.v0.models.GraphqlMetaobjectField => ({
|
|
3306
1264
|
key: factories.string(),
|
|
3307
1265
|
value: factories.string(),
|
|
1266
|
+
type: factories.string(),
|
|
3308
1267
|
}),
|
|
3309
1268
|
|
|
3310
1269
|
'io.flow.shopify.external.v0.models.graphql_option': (): io.flow.shopify.external.v0.models.GraphqlOption => ({
|
|
@@ -6202,10 +4161,13 @@ const factories = {
|
|
|
6202
4161
|
},
|
|
6203
4162
|
|
|
6204
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']),
|
|
6205
4165
|
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4166
|
+
'io.flow.tech.onboarding.playground.v0.enums.hosein_item_type': (): io.flow.tech.onboarding.playground.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6206
4167
|
'io.flow.tech.onboarding.playground.v0.enums.niall_item_type': (): io.flow.tech.onboarding.playground.v0.enums.NiallItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6207
4168
|
'io.flow.tech.onboarding.playground.v0.enums.prateek_item_type': (): io.flow.tech.onboarding.playground.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6208
4169
|
'io.flow.tech.onboarding.playground.v0.enums.rohan_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RohanItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4170
|
+
'io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.SarveshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6209
4171
|
|
|
6210
4172
|
'io.flow.tech.onboarding.playground.v0.models.aldo_item': (): io.flow.tech.onboarding.playground.v0.models.AldoItem => ({
|
|
6211
4173
|
id: factories.string(),
|
|
@@ -6224,6 +4186,23 @@ const factories = {
|
|
|
6224
4186
|
added_on: factories.date_iso_8601(),
|
|
6225
4187
|
}),
|
|
6226
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
|
+
|
|
6227
4206
|
'io.flow.tech.onboarding.playground.v0.models.ansh_item': (): io.flow.tech.onboarding.playground.v0.models.AnshItem => ({
|
|
6228
4207
|
id: factories.string(),
|
|
6229
4208
|
number: factories.string(),
|
|
@@ -6241,6 +4220,23 @@ const factories = {
|
|
|
6241
4220
|
added_on: factories.date_iso_8601(),
|
|
6242
4221
|
}),
|
|
6243
4222
|
|
|
4223
|
+
'io.flow.tech.onboarding.playground.v0.models.hosein_item': (): io.flow.tech.onboarding.playground.v0.models.HoseinItem => ({
|
|
4224
|
+
id: factories.string(),
|
|
4225
|
+
number: factories.string(),
|
|
4226
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4227
|
+
description: factories.string(),
|
|
4228
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
4229
|
+
added_on: factories.date_time_iso_8601(),
|
|
4230
|
+
}),
|
|
4231
|
+
|
|
4232
|
+
'io.flow.tech.onboarding.playground.v0.models.hosein_item_form': (): io.flow.tech.onboarding.playground.v0.models.HoseinItemForm => ({
|
|
4233
|
+
number: factories.string(),
|
|
4234
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4235
|
+
description: factories.string(),
|
|
4236
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
4237
|
+
added_on: factories.date_time_iso_8601(),
|
|
4238
|
+
}),
|
|
4239
|
+
|
|
6244
4240
|
'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': (): io.flow.tech.onboarding.playground.v0.models.JeanDemoItem => ({
|
|
6245
4241
|
id: factories.string(),
|
|
6246
4242
|
name: factories.string(),
|
|
@@ -6297,6 +4293,23 @@ const factories = {
|
|
|
6297
4293
|
added_on: factories.date_iso_8601(),
|
|
6298
4294
|
}),
|
|
6299
4295
|
|
|
4296
|
+
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item': (): io.flow.tech.onboarding.playground.v0.models.SarveshItem => ({
|
|
4297
|
+
id: factories.string(),
|
|
4298
|
+
number: factories.string(),
|
|
4299
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4300
|
+
description: factories.string(),
|
|
4301
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
4302
|
+
added_on: factories.date_time_iso_8601(),
|
|
4303
|
+
}),
|
|
4304
|
+
|
|
4305
|
+
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item_form': (): io.flow.tech.onboarding.playground.v0.models.SarveshItemForm => ({
|
|
4306
|
+
number: factories.string(),
|
|
4307
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4308
|
+
description: factories.string(),
|
|
4309
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
4310
|
+
added_on: factories.date_time_iso_8601(),
|
|
4311
|
+
}),
|
|
4312
|
+
|
|
6300
4313
|
'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': (): io.flow.tech.onboarding.playground.v0.models.TechOnboardingDescription => ({
|
|
6301
4314
|
description: factories.string(),
|
|
6302
4315
|
}),
|
|
@@ -6509,6 +4522,10 @@ const factories = {
|
|
|
6509
4522
|
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
6510
4523
|
'test_upserted',
|
|
6511
4524
|
'generate_load',
|
|
4525
|
+
'sarvesh_item_upserted',
|
|
4526
|
+
'sarvesh_item_deleted',
|
|
4527
|
+
'hosein_item_upserted',
|
|
4528
|
+
'hosein_item_deleted',
|
|
6512
4529
|
'niall_item_upserted',
|
|
6513
4530
|
'niall_item_deleted',
|
|
6514
4531
|
'rohan_item_upserted',
|
|
@@ -6517,6 +4534,8 @@ const factories = {
|
|
|
6517
4534
|
'aldo_item_deleted',
|
|
6518
4535
|
'ansh_item_upserted',
|
|
6519
4536
|
'ansh_item_deleted',
|
|
4537
|
+
'anirban_item_upserted',
|
|
4538
|
+
'anirban_item_deleted',
|
|
6520
4539
|
'transaction_upserted',
|
|
6521
4540
|
'organization_transaction_upserted',
|
|
6522
4541
|
'organization_transaction_deleted',
|
|
@@ -6571,44 +4590,12 @@ const factories = {
|
|
|
6571
4590
|
'rate_upserted',
|
|
6572
4591
|
'rate_deleted_v3',
|
|
6573
4592
|
'rate_upserted_v3',
|
|
6574
|
-
'available_promotions_upserted',
|
|
6575
|
-
'available_promotions_deleted',
|
|
6576
|
-
'available_promotions_upserted_v2',
|
|
6577
|
-
'available_promotions_deleted_v2',
|
|
6578
4593
|
'allocation_deleted_v2',
|
|
6579
4594
|
'allocation_upserted_v2',
|
|
6580
|
-
'currency_format_deleted',
|
|
6581
|
-
'currency_format_upserted',
|
|
6582
|
-
'experience_deleted',
|
|
6583
|
-
'experience_upserted',
|
|
6584
|
-
'experience_deleted_v2',
|
|
6585
|
-
'experience_upserted_v2',
|
|
6586
|
-
'country_status_upserted',
|
|
6587
|
-
'country_status_deleted',
|
|
6588
|
-
'experience_price_book_mapping_deleted',
|
|
6589
|
-
'experience_price_book_mapping_upserted',
|
|
6590
|
-
'experience_logistics_settings_upserted',
|
|
6591
|
-
'experience_logistics_settings_deleted',
|
|
6592
|
-
'item_margin_deleted_v2',
|
|
6593
|
-
'item_margin_upserted_v2',
|
|
6594
|
-
'item_sales_margin_deleted',
|
|
6595
|
-
'item_sales_margin_upserted',
|
|
6596
|
-
'label_format_deleted',
|
|
6597
|
-
'label_format_upserted',
|
|
6598
|
-
'order_deleted',
|
|
6599
|
-
'order_upserted',
|
|
6600
4595
|
'order_deleted_v2',
|
|
6601
4596
|
'order_upserted_v2',
|
|
6602
|
-
'order_identifier_deleted',
|
|
6603
|
-
'order_identifier_upserted',
|
|
6604
4597
|
'order_identifier_deleted_v2',
|
|
6605
|
-
'order_identifier_upserted_v2',
|
|
6606
4598
|
'order_identifier_upserted_v3',
|
|
6607
|
-
'order_replacement_upserted',
|
|
6608
|
-
'order_replacement_deleted',
|
|
6609
|
-
'pricing_deleted',
|
|
6610
|
-
'pricing_upserted',
|
|
6611
|
-
'order_service_change_request',
|
|
6612
4599
|
'fraud_status_changed',
|
|
6613
4600
|
'center_upserted',
|
|
6614
4601
|
'center_deleted',
|
|
@@ -6633,8 +4620,6 @@ const factories = {
|
|
|
6633
4620
|
'item_origin_deleted',
|
|
6634
4621
|
'harmonized_landed_cost_upserted',
|
|
6635
4622
|
'fully_harmonized_item_upserted',
|
|
6636
|
-
'import_completed_v2',
|
|
6637
|
-
'import_failed_v2',
|
|
6638
4623
|
'label_upserted',
|
|
6639
4624
|
'label_deleted_v2',
|
|
6640
4625
|
'label_upserted_v2',
|
|
@@ -6821,6 +4806,7 @@ const factories = {
|
|
|
6821
4806
|
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
|
|
6822
4807
|
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
|
|
6823
4808
|
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
|
|
4809
|
+
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.helpers.arrayElement(['tax', 'duty']),
|
|
6824
4810
|
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
|
|
6825
4811
|
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
|
|
6826
4812
|
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
|
|
@@ -6966,6 +4952,7 @@ const factories = {
|
|
|
6966
4952
|
'tip',
|
|
6967
4953
|
]),
|
|
6968
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']),
|
|
6969
4956
|
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
6970
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']),
|
|
6971
4958
|
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
|
|
@@ -7100,6 +5087,7 @@ const factories = {
|
|
|
7100
5087
|
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
7101
5088
|
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
|
|
7102
5089
|
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
|
|
5090
|
+
'io.flow.v0.enums.preferential_rate_eligibility': (): io.flow.v0.enums.PreferentialRateEligibility => faker.helpers.arrayElement(['baby_clothing', 'kids_clothing']),
|
|
7103
5091
|
'io.flow.v0.enums.preferred_service_selection_strategy': (): io.flow.v0.enums.PreferredServiceSelectionStrategy => faker.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']),
|
|
7104
5092
|
'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']),
|
|
7105
5093
|
'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.helpers.arrayElement(['draft', 'published', 'archived']),
|
|
@@ -7132,40 +5120,6 @@ const factories = {
|
|
|
7132
5120
|
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
7133
5121
|
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
7134
5122
|
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
7135
|
-
|
|
7136
|
-
'io.flow.v0.enums.product_restriction_rule': (): io.flow.v0.enums.ProductRestrictionRule => faker.helpers.arrayElement([
|
|
7137
|
-
'Adult Products',
|
|
7138
|
-
'Alcohol',
|
|
7139
|
-
'Anti Money Laundering',
|
|
7140
|
-
'Collagen',
|
|
7141
|
-
'Consumer Safety',
|
|
7142
|
-
'Cosmetics',
|
|
7143
|
-
'DG - Batteries',
|
|
7144
|
-
'DG - Hazmat',
|
|
7145
|
-
'Drugs',
|
|
7146
|
-
'Dual Use',
|
|
7147
|
-
'Fine Art',
|
|
7148
|
-
'Fish & Wildlife - CITES',
|
|
7149
|
-
'Fish & Wildlife - Plant',
|
|
7150
|
-
'Fish & Wildlife - USFWS',
|
|
7151
|
-
'Food',
|
|
7152
|
-
'Gambling',
|
|
7153
|
-
'Health',
|
|
7154
|
-
'Human hair',
|
|
7155
|
-
'Insufficient Details',
|
|
7156
|
-
'Intangible',
|
|
7157
|
-
'Jewelry',
|
|
7158
|
-
'Jewelry & Watches Over 5000',
|
|
7159
|
-
'Knives',
|
|
7160
|
-
'Liquids',
|
|
7161
|
-
'Oversized',
|
|
7162
|
-
'Restrict by Default',
|
|
7163
|
-
'Supplements',
|
|
7164
|
-
'Tattoo Ink And PMU',
|
|
7165
|
-
'Weapon',
|
|
7166
|
-
'Wood',
|
|
7167
|
-
]),
|
|
7168
|
-
|
|
7169
5123
|
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
7170
5124
|
|
|
7171
5125
|
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
@@ -7255,7 +5209,17 @@ const factories = {
|
|
|
7255
5209
|
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
|
|
7256
5210
|
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
|
|
7257
5211
|
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
|
|
5212
|
+
'io.flow.v0.enums.rule_effect_type': (): io.flow.v0.enums.RuleEffectType => faker.helpers.arrayElement(['market', 'dhl', 'dhl_ecommerce', 'ups']),
|
|
7258
5213
|
'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.helpers.arrayElement(['Open', 'Closed']),
|
|
5214
|
+
|
|
5215
|
+
'io.flow.v0.enums.sellability_error_code': (): io.flow.v0.enums.SellabilityErrorCode => faker.helpers.arrayElement([
|
|
5216
|
+
'insufficient_details',
|
|
5217
|
+
'ineligible_category',
|
|
5218
|
+
'wait_for_high_fidelity',
|
|
5219
|
+
'external_service_unavailable',
|
|
5220
|
+
]),
|
|
5221
|
+
|
|
5222
|
+
'io.flow.v0.enums.sellability_request_status': (): io.flow.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
7259
5223
|
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
7260
5224
|
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
7261
5225
|
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
@@ -7331,6 +5295,30 @@ const factories = {
|
|
|
7331
5295
|
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
7332
5296
|
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
7333
5297
|
|
|
5298
|
+
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
5299
|
+
'generic_error',
|
|
5300
|
+
'destination_country_not_defined',
|
|
5301
|
+
'destination_address_iso3166_unrecognized',
|
|
5302
|
+
'line_item_shipfrom_shipto_country_invalid',
|
|
5303
|
+
'line_item_ship_from_invalid',
|
|
5304
|
+
'line_item_currency_iso4217_unrecognized',
|
|
5305
|
+
'line_quantity_invalid',
|
|
5306
|
+
'line_item_quantity_invalid',
|
|
5307
|
+
'line_item_unit_price_precision_invalid',
|
|
5308
|
+
'line_item_unit_price_negative',
|
|
5309
|
+
'line_item_discount_amount_precision_invalid',
|
|
5310
|
+
'line_item_discount_amount_positive',
|
|
5311
|
+
'line_item_country_of_origin_iso3166_unrecognized',
|
|
5312
|
+
'line_item_hs_code_invalid',
|
|
5313
|
+
'line_item_duty_provider_invalid',
|
|
5314
|
+
'shipping_unit_price_precision_invalid',
|
|
5315
|
+
'shipping_unit_price_negative',
|
|
5316
|
+
'shipping_discount_amount_precision_invalid',
|
|
5317
|
+
'shipping_discount_amount_invalid',
|
|
5318
|
+
'merchant_of_record_invalid',
|
|
5319
|
+
'wrong_unit_specified',
|
|
5320
|
+
]),
|
|
5321
|
+
|
|
7334
5322
|
'io.flow.v0.enums.tax_duty_transaction_reason_code': (): io.flow.v0.enums.TaxDutyTransactionReasonCode => faker.helpers.arrayElement([
|
|
7335
5323
|
'post_capture',
|
|
7336
5324
|
'post_fulfilment',
|
|
@@ -7404,6 +5392,8 @@ const factories = {
|
|
|
7404
5392
|
'tax_refund',
|
|
7405
5393
|
'duty_refund',
|
|
7406
5394
|
'non_l4l_tax_duty_fx',
|
|
5395
|
+
'merchant_payout',
|
|
5396
|
+
'merchant_refund',
|
|
7407
5397
|
'ge_revenue_share',
|
|
7408
5398
|
]),
|
|
7409
5399
|
|
|
@@ -7439,6 +5429,7 @@ const factories = {
|
|
|
7439
5429
|
'saturday_stop',
|
|
7440
5430
|
'residential_extended_area_pickup',
|
|
7441
5431
|
'package_level_detail',
|
|
5432
|
+
'pickup',
|
|
7442
5433
|
]),
|
|
7443
5434
|
|
|
7444
5435
|
'io.flow.v0.enums.unit_of_length': (): io.flow.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|
|
@@ -7479,6 +5470,19 @@ const factories = {
|
|
|
7479
5470
|
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
7480
5471
|
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
|
|
7481
5472
|
|
|
5473
|
+
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.helpers.arrayElement([
|
|
5474
|
+
'zero_basis',
|
|
5475
|
+
'zero_rate_on_goods',
|
|
5476
|
+
'value_rounds_to_zero',
|
|
5477
|
+
'order_below_de_minimis_threshold',
|
|
5478
|
+
'amount_below_de_minimis_threshold',
|
|
5479
|
+
'delivered_unpaid',
|
|
5480
|
+
'duty_free_domestic',
|
|
5481
|
+
'duty_free_intra_community',
|
|
5482
|
+
'duty_free_reimport',
|
|
5483
|
+
'duty_free_by_trade_agreement',
|
|
5484
|
+
]),
|
|
5485
|
+
|
|
7482
5486
|
'io.flow.v0.models.abandoned_order_email_settings': (): io.flow.v0.models.AbandonedOrderEmailSettings => ({
|
|
7483
5487
|
delay: factories['io.flow.v0.models.duration'](),
|
|
7484
5488
|
frequency: factories['io.flow.v0.models.duration'](),
|
|
@@ -7933,6 +5937,20 @@ const factories = {
|
|
|
7933
5937
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
7934
5938
|
}),
|
|
7935
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
|
+
|
|
7936
5954
|
'io.flow.v0.models.ansh_item_deleted': (): io.flow.v0.models.AnshItemDeleted => ({
|
|
7937
5955
|
discriminator: 'ansh_item_deleted',
|
|
7938
5956
|
event_id: factories.string(),
|
|
@@ -8198,39 +6216,6 @@ const factories = {
|
|
|
8198
6216
|
promotions: arrayOf(() => factories['io.flow.v0.unions.promotion']()),
|
|
8199
6217
|
}),
|
|
8200
6218
|
|
|
8201
|
-
'io.flow.v0.models.available_promotions_deleted': (): io.flow.v0.models.AvailablePromotionsDeleted => ({
|
|
8202
|
-
discriminator: 'available_promotions_deleted',
|
|
8203
|
-
event_id: factories.string(),
|
|
8204
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8205
|
-
organization: factories.string(),
|
|
8206
|
-
experience_key: factories.string(),
|
|
8207
|
-
}),
|
|
8208
|
-
|
|
8209
|
-
'io.flow.v0.models.available_promotions_deleted_v2': (): io.flow.v0.models.AvailablePromotionsDeletedV2 => ({
|
|
8210
|
-
discriminator: 'available_promotions_deleted_v2',
|
|
8211
|
-
event_id: factories.string(),
|
|
8212
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8213
|
-
organization: factories.string(),
|
|
8214
|
-
available_promotion: factories['io.flow.v0.models.available_promotion'](),
|
|
8215
|
-
}),
|
|
8216
|
-
|
|
8217
|
-
'io.flow.v0.models.available_promotions_upserted': (): io.flow.v0.models.AvailablePromotionsUpserted => ({
|
|
8218
|
-
discriminator: 'available_promotions_upserted',
|
|
8219
|
-
event_id: factories.string(),
|
|
8220
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8221
|
-
organization: factories.string(),
|
|
8222
|
-
experience_key: factories.string(),
|
|
8223
|
-
available_promotions: arrayOf(() => factories.object()),
|
|
8224
|
-
}),
|
|
8225
|
-
|
|
8226
|
-
'io.flow.v0.models.available_promotions_upserted_v2': (): io.flow.v0.models.AvailablePromotionsUpsertedV2 => ({
|
|
8227
|
-
discriminator: 'available_promotions_upserted_v2',
|
|
8228
|
-
event_id: factories.string(),
|
|
8229
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8230
|
-
organization: factories.string(),
|
|
8231
|
-
available_promotion: factories['io.flow.v0.models.available_promotion'](),
|
|
8232
|
-
}),
|
|
8233
|
-
|
|
8234
6219
|
'io.flow.v0.models.available_service': (): io.flow.v0.models.AvailableService => ({
|
|
8235
6220
|
service: factories.string(),
|
|
8236
6221
|
scheduled_pickups: arrayOf(() => factories['io.flow.v0.models.scheduled_pickup']()),
|
|
@@ -9524,26 +7509,10 @@ const factories = {
|
|
|
9524
7509
|
status: factories['io.flow.v0.enums.experience_country_status'](),
|
|
9525
7510
|
}),
|
|
9526
7511
|
|
|
9527
|
-
'io.flow.v0.models.country_status_deleted': (): io.flow.v0.models.CountryStatusDeleted => ({
|
|
9528
|
-
discriminator: 'country_status_deleted',
|
|
9529
|
-
event_id: factories.string(),
|
|
9530
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9531
|
-
organization: factories.string(),
|
|
9532
|
-
country_status: factories['io.flow.v0.models.country_status'](),
|
|
9533
|
-
}),
|
|
9534
|
-
|
|
9535
7512
|
'io.flow.v0.models.country_status_form': (): io.flow.v0.models.CountryStatusForm => ({
|
|
9536
7513
|
status: factories['io.flow.v0.enums.experience_country_status'](),
|
|
9537
7514
|
}),
|
|
9538
7515
|
|
|
9539
|
-
'io.flow.v0.models.country_status_upserted': (): io.flow.v0.models.CountryStatusUpserted => ({
|
|
9540
|
-
discriminator: 'country_status_upserted',
|
|
9541
|
-
event_id: factories.string(),
|
|
9542
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9543
|
-
organization: factories.string(),
|
|
9544
|
-
country_status: factories['io.flow.v0.models.country_status'](),
|
|
9545
|
-
}),
|
|
9546
|
-
|
|
9547
7516
|
'io.flow.v0.models.credit_memo': (): io.flow.v0.models.CreditMemo => ({
|
|
9548
7517
|
id: factories.string(),
|
|
9549
7518
|
number: factories.string(),
|
|
@@ -9674,25 +7643,6 @@ const factories = {
|
|
|
9674
7643
|
label_formatters: arrayOf(() => factories['io.flow.v0.enums.currency_label_formatter']()),
|
|
9675
7644
|
}),
|
|
9676
7645
|
|
|
9677
|
-
'io.flow.v0.models.currency_format_deleted': (): io.flow.v0.models.CurrencyFormatDeleted => ({
|
|
9678
|
-
discriminator: 'currency_format_deleted',
|
|
9679
|
-
event_id: factories.string(),
|
|
9680
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9681
|
-
organization: factories.string(),
|
|
9682
|
-
id: factories.string(),
|
|
9683
|
-
}),
|
|
9684
|
-
|
|
9685
|
-
'io.flow.v0.models.currency_format_upserted': (): io.flow.v0.models.CurrencyFormatUpserted => ({
|
|
9686
|
-
discriminator: 'currency_format_upserted',
|
|
9687
|
-
event_id: factories.string(),
|
|
9688
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9689
|
-
organization: factories.string(),
|
|
9690
|
-
id: factories.string(),
|
|
9691
|
-
experience_key: factories.string(),
|
|
9692
|
-
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
9693
|
-
label_formatters: arrayOf(() => factories['io.flow.v0.enums.currency_label_formatter']()),
|
|
9694
|
-
}),
|
|
9695
|
-
|
|
9696
7646
|
'io.flow.v0.models.currency_symbols': (): io.flow.v0.models.CurrencySymbols => ({
|
|
9697
7647
|
primary: factories.string(),
|
|
9698
7648
|
narrow: factories.string(),
|
|
@@ -9986,6 +7936,7 @@ const factories = {
|
|
|
9986
7936
|
package_dimensions_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
9987
7937
|
origin_location_source: factories['io.flow.v0.enums.origin_location_source'](),
|
|
9988
7938
|
reference_id: factories.string(),
|
|
7939
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
9989
7940
|
}),
|
|
9990
7941
|
|
|
9991
7942
|
'io.flow.v0.models.detailed_shipping_notification_form': (): io.flow.v0.models.DetailedShippingNotificationForm => ({
|
|
@@ -10285,6 +8236,11 @@ const factories = {
|
|
|
10285
8236
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
10286
8237
|
}),
|
|
10287
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
|
+
|
|
10288
8244
|
'io.flow.v0.models.eei_filing_ratecard_fee': (): io.flow.v0.models.EeiFilingRatecardFee => ({
|
|
10289
8245
|
discriminator: 'eei_filing_ratecard_fee',
|
|
10290
8246
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -10487,23 +8443,6 @@ const factories = {
|
|
|
10487
8443
|
measurement_system: factories['io.flow.v0.enums.measurement_system'](),
|
|
10488
8444
|
}),
|
|
10489
8445
|
|
|
10490
|
-
'io.flow.v0.models.experience_deleted': (): io.flow.v0.models.ExperienceDeleted => ({
|
|
10491
|
-
discriminator: 'experience_deleted',
|
|
10492
|
-
event_id: factories.string(),
|
|
10493
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10494
|
-
organization: factories.string(),
|
|
10495
|
-
key: factories.string(),
|
|
10496
|
-
subcatalog_id: factories.string(),
|
|
10497
|
-
}),
|
|
10498
|
-
|
|
10499
|
-
'io.flow.v0.models.experience_deleted_v2': (): io.flow.v0.models.ExperienceDeletedV2 => ({
|
|
10500
|
-
discriminator: 'experience_deleted_v2',
|
|
10501
|
-
event_id: factories.string(),
|
|
10502
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10503
|
-
organization: factories.string(),
|
|
10504
|
-
experience: factories['io.flow.v0.models.experience'](),
|
|
10505
|
-
}),
|
|
10506
|
-
|
|
10507
8446
|
'io.flow.v0.models.experience_export_type': (): io.flow.v0.models.ExperienceExportType => ({
|
|
10508
8447
|
discriminator: 'experience_export_type',
|
|
10509
8448
|
organization_id: factories.string(),
|
|
@@ -10540,26 +8479,10 @@ const factories = {
|
|
|
10540
8479
|
shipping_configuration: factories['io.flow.v0.models.shipping_configuration_reference'](),
|
|
10541
8480
|
}),
|
|
10542
8481
|
|
|
10543
|
-
'io.flow.v0.models.experience_logistics_settings_deleted': (): io.flow.v0.models.ExperienceLogisticsSettingsDeleted => ({
|
|
10544
|
-
discriminator: 'experience_logistics_settings_deleted',
|
|
10545
|
-
event_id: factories.string(),
|
|
10546
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10547
|
-
organization: factories.string(),
|
|
10548
|
-
logistics_settings: factories['io.flow.v0.models.experience_logistics_settings'](),
|
|
10549
|
-
}),
|
|
10550
|
-
|
|
10551
8482
|
'io.flow.v0.models.experience_logistics_settings_put_form': (): io.flow.v0.models.ExperienceLogisticsSettingsPutForm => ({
|
|
10552
8483
|
shipping_configuration_key: factories.string(),
|
|
10553
8484
|
}),
|
|
10554
8485
|
|
|
10555
|
-
'io.flow.v0.models.experience_logistics_settings_upserted': (): io.flow.v0.models.ExperienceLogisticsSettingsUpserted => ({
|
|
10556
|
-
discriminator: 'experience_logistics_settings_upserted',
|
|
10557
|
-
event_id: factories.string(),
|
|
10558
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10559
|
-
organization: factories.string(),
|
|
10560
|
-
logistics_settings: factories['io.flow.v0.models.experience_logistics_settings'](),
|
|
10561
|
-
}),
|
|
10562
|
-
|
|
10563
8486
|
'io.flow.v0.models.experience_logistics_summary': (): io.flow.v0.models.ExperienceLogisticsSummary => ({
|
|
10564
8487
|
outbound: factories['io.flow.v0.models.experience_logistics_tier_summary'](),
|
|
10565
8488
|
'return': factories['io.flow.v0.models.experience_logistics_tier_summary'](),
|
|
@@ -10596,14 +8519,6 @@ const factories = {
|
|
|
10596
8519
|
position: factories.long(),
|
|
10597
8520
|
}),
|
|
10598
8521
|
|
|
10599
|
-
'io.flow.v0.models.experience_price_book_mapping_deleted': (): io.flow.v0.models.ExperiencePriceBookMappingDeleted => ({
|
|
10600
|
-
discriminator: 'experience_price_book_mapping_deleted',
|
|
10601
|
-
event_id: factories.string(),
|
|
10602
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10603
|
-
organization: factories.string(),
|
|
10604
|
-
id: factories.string(),
|
|
10605
|
-
}),
|
|
10606
|
-
|
|
10607
8522
|
'io.flow.v0.models.experience_price_book_mapping_form': (): io.flow.v0.models.ExperiencePriceBookMappingForm => ({
|
|
10608
8523
|
price_book_key: factories.string(),
|
|
10609
8524
|
position: factories.long(),
|
|
@@ -10613,14 +8528,6 @@ const factories = {
|
|
|
10613
8528
|
price_books: arrayOf(() => factories['io.flow.v0.models.experience_price_book_mapping_form']()),
|
|
10614
8529
|
}),
|
|
10615
8530
|
|
|
10616
|
-
'io.flow.v0.models.experience_price_book_mapping_upserted': (): io.flow.v0.models.ExperiencePriceBookMappingUpserted => ({
|
|
10617
|
-
discriminator: 'experience_price_book_mapping_upserted',
|
|
10618
|
-
event_id: factories.string(),
|
|
10619
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10620
|
-
organization: factories.string(),
|
|
10621
|
-
experience_price_book_mapping: factories['io.flow.v0.models.experience_price_book_mapping'](),
|
|
10622
|
-
}),
|
|
10623
|
-
|
|
10624
8531
|
'io.flow.v0.models.experience_price_conversion': (): io.flow.v0.models.ExperiencePriceConversion => ({
|
|
10625
8532
|
request: factories['io.flow.v0.models.experience_price_conversion_request'](),
|
|
10626
8533
|
price: factories['io.flow.v0.models.price_with_base'](),
|
|
@@ -10677,32 +8584,6 @@ const factories = {
|
|
|
10677
8584
|
language: factories.string(),
|
|
10678
8585
|
}),
|
|
10679
8586
|
|
|
10680
|
-
'io.flow.v0.models.experience_upserted': (): io.flow.v0.models.ExperienceUpserted => ({
|
|
10681
|
-
discriminator: 'experience_upserted',
|
|
10682
|
-
event_id: factories.string(),
|
|
10683
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10684
|
-
organization: factories.string(),
|
|
10685
|
-
key: factories.string(),
|
|
10686
|
-
name: factories.string(),
|
|
10687
|
-
delivered_duty: factories.string(),
|
|
10688
|
-
subcatalog_id: factories.string(),
|
|
10689
|
-
region_id: factories.string(),
|
|
10690
|
-
country: factories.string(),
|
|
10691
|
-
currency: factories.string(),
|
|
10692
|
-
language: factories.string(),
|
|
10693
|
-
measurement_system: factories.string(),
|
|
10694
|
-
position: factories.long(),
|
|
10695
|
-
status: factories.string(),
|
|
10696
|
-
}),
|
|
10697
|
-
|
|
10698
|
-
'io.flow.v0.models.experience_upserted_v2': (): io.flow.v0.models.ExperienceUpsertedV2 => ({
|
|
10699
|
-
discriminator: 'experience_upserted_v2',
|
|
10700
|
-
event_id: factories.string(),
|
|
10701
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10702
|
-
organization: factories.string(),
|
|
10703
|
-
experience: factories['io.flow.v0.models.experience'](),
|
|
10704
|
-
}),
|
|
10705
|
-
|
|
10706
8587
|
'io.flow.v0.models.experience_version': (): io.flow.v0.models.ExperienceVersion => ({
|
|
10707
8588
|
id: factories.string(),
|
|
10708
8589
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -11340,9 +9221,23 @@ const factories = {
|
|
|
11340
9221
|
lane: factories['io.flow.v0.models.lane_summary'](),
|
|
11341
9222
|
}),
|
|
11342
9223
|
|
|
11343
|
-
'io.flow.v0.models.hop_v2': (): io.flow.v0.models.HopV2 => ({
|
|
11344
|
-
hop_number: factories.integer(),
|
|
11345
|
-
hop_estimate: factories['io.flow.v0.models.hop_estimate_v2'](),
|
|
9224
|
+
'io.flow.v0.models.hop_v2': (): io.flow.v0.models.HopV2 => ({
|
|
9225
|
+
hop_number: factories.integer(),
|
|
9226
|
+
hop_estimate: factories['io.flow.v0.models.hop_estimate_v2'](),
|
|
9227
|
+
}),
|
|
9228
|
+
|
|
9229
|
+
'io.flow.v0.models.hosein_item_deleted': (): io.flow.v0.models.HoseinItemDeleted => ({
|
|
9230
|
+
discriminator: 'hosein_item_deleted',
|
|
9231
|
+
event_id: factories.string(),
|
|
9232
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9233
|
+
id: factories.string(),
|
|
9234
|
+
}),
|
|
9235
|
+
|
|
9236
|
+
'io.flow.v0.models.hosein_item_upserted': (): io.flow.v0.models.HoseinItemUpserted => ({
|
|
9237
|
+
discriminator: 'hosein_item_upserted',
|
|
9238
|
+
event_id: factories.string(),
|
|
9239
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9240
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.hosein_item'](),
|
|
11346
9241
|
}),
|
|
11347
9242
|
|
|
11348
9243
|
'io.flow.v0.models.hs10': (): io.flow.v0.models.Hs10 => ({
|
|
@@ -11434,22 +9329,6 @@ const factories = {
|
|
|
11434
9329
|
deliveries: arrayOf(() => factories['io.flow.v0.unions.export_delivery']()),
|
|
11435
9330
|
}),
|
|
11436
9331
|
|
|
11437
|
-
'io.flow.v0.models.import_completed_v2': (): io.flow.v0.models.ImportCompletedV2 => ({
|
|
11438
|
-
discriminator: 'import_completed_v2',
|
|
11439
|
-
event_id: factories.string(),
|
|
11440
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11441
|
-
organization: factories.string(),
|
|
11442
|
-
'import': factories['io.flow.v0.models.import'](),
|
|
11443
|
-
}),
|
|
11444
|
-
|
|
11445
|
-
'io.flow.v0.models.import_failed_v2': (): io.flow.v0.models.ImportFailedV2 => ({
|
|
11446
|
-
discriminator: 'import_failed_v2',
|
|
11447
|
-
event_id: factories.string(),
|
|
11448
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11449
|
-
organization: factories.string(),
|
|
11450
|
-
'import': factories['io.flow.v0.models.import'](),
|
|
11451
|
-
}),
|
|
11452
|
-
|
|
11453
9332
|
'io.flow.v0.models.import_form': (): io.flow.v0.models.ImportForm => ({
|
|
11454
9333
|
type: factories['io.flow.v0.enums.import_type'](),
|
|
11455
9334
|
source_url: factories.string(),
|
|
@@ -11712,14 +9591,6 @@ const factories = {
|
|
|
11712
9591
|
experience: factories['io.flow.v0.models.experience_reference'](),
|
|
11713
9592
|
}),
|
|
11714
9593
|
|
|
11715
|
-
'io.flow.v0.models.item_margin_deleted_v2': (): io.flow.v0.models.ItemMarginDeletedV2 => ({
|
|
11716
|
-
discriminator: 'item_margin_deleted_v2',
|
|
11717
|
-
event_id: factories.string(),
|
|
11718
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11719
|
-
organization: factories.string(),
|
|
11720
|
-
item_margin: factories['io.flow.v0.models.item_margin'](),
|
|
11721
|
-
}),
|
|
11722
|
-
|
|
11723
9594
|
'io.flow.v0.models.item_margin_post_form': (): io.flow.v0.models.ItemMarginPostForm => ({
|
|
11724
9595
|
name: factories.string(),
|
|
11725
9596
|
q: factories.string(),
|
|
@@ -11737,14 +9608,6 @@ const factories = {
|
|
|
11737
9608
|
position: factories.long(),
|
|
11738
9609
|
}),
|
|
11739
9610
|
|
|
11740
|
-
'io.flow.v0.models.item_margin_upserted_v2': (): io.flow.v0.models.ItemMarginUpsertedV2 => ({
|
|
11741
|
-
discriminator: 'item_margin_upserted_v2',
|
|
11742
|
-
event_id: factories.string(),
|
|
11743
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11744
|
-
organization: factories.string(),
|
|
11745
|
-
item_margin: factories['io.flow.v0.models.item_margin'](),
|
|
11746
|
-
}),
|
|
11747
|
-
|
|
11748
9611
|
'io.flow.v0.models.item_margin_version': (): io.flow.v0.models.ItemMarginVersion => ({
|
|
11749
9612
|
id: factories.string(),
|
|
11750
9613
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -11792,29 +9655,6 @@ const factories = {
|
|
|
11792
9655
|
number: factories.string(),
|
|
11793
9656
|
}),
|
|
11794
9657
|
|
|
11795
|
-
'io.flow.v0.models.item_sales_margin_deleted': (): io.flow.v0.models.ItemSalesMarginDeleted => ({
|
|
11796
|
-
discriminator: 'item_sales_margin_deleted',
|
|
11797
|
-
event_id: factories.string(),
|
|
11798
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11799
|
-
item_sales_margin_id: factories.string(),
|
|
11800
|
-
organization_id: factories.string(),
|
|
11801
|
-
experience_key: factories.string(),
|
|
11802
|
-
}),
|
|
11803
|
-
|
|
11804
|
-
'io.flow.v0.models.item_sales_margin_upserted': (): io.flow.v0.models.ItemSalesMarginUpserted => ({
|
|
11805
|
-
discriminator: 'item_sales_margin_upserted',
|
|
11806
|
-
event_id: factories.string(),
|
|
11807
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11808
|
-
item_sales_margin_id: factories.string(),
|
|
11809
|
-
organization_id: factories.string(),
|
|
11810
|
-
experience_key: factories.string(),
|
|
11811
|
-
name: factories.string(),
|
|
11812
|
-
q: factories.string(),
|
|
11813
|
-
fixed: factories.decimal(),
|
|
11814
|
-
percent: factories.decimal(),
|
|
11815
|
-
position: factories.long(),
|
|
11816
|
-
}),
|
|
11817
|
-
|
|
11818
9658
|
'io.flow.v0.models.item_shipping_pricing': (): io.flow.v0.models.ItemShippingPricing => ({
|
|
11819
9659
|
min: factories['io.flow.v0.models.price'](),
|
|
11820
9660
|
max: factories['io.flow.v0.models.price'](),
|
|
@@ -11929,23 +9769,6 @@ const factories = {
|
|
|
11929
9769
|
label: factories['io.flow.v0.models.shipping_label'](),
|
|
11930
9770
|
}),
|
|
11931
9771
|
|
|
11932
|
-
'io.flow.v0.models.label_format_deleted': (): io.flow.v0.models.LabelFormatDeleted => ({
|
|
11933
|
-
discriminator: 'label_format_deleted',
|
|
11934
|
-
event_id: factories.string(),
|
|
11935
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11936
|
-
organization: factories.string(),
|
|
11937
|
-
experience_key: factories.string(),
|
|
11938
|
-
}),
|
|
11939
|
-
|
|
11940
|
-
'io.flow.v0.models.label_format_upserted': (): io.flow.v0.models.LabelFormatUpserted => ({
|
|
11941
|
-
discriminator: 'label_format_upserted',
|
|
11942
|
-
event_id: factories.string(),
|
|
11943
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11944
|
-
organization: factories.string(),
|
|
11945
|
-
experience_key: factories.string(),
|
|
11946
|
-
format: factories.string(),
|
|
11947
|
-
}),
|
|
11948
|
-
|
|
11949
9772
|
'io.flow.v0.models.label_order_summary': (): io.flow.v0.models.LabelOrderSummary => ({
|
|
11950
9773
|
id: factories.string(),
|
|
11951
9774
|
number: factories.string(),
|
|
@@ -12260,6 +10083,7 @@ const factories = {
|
|
|
12260
10083
|
local: factories['io.flow.v0.models.local'](),
|
|
12261
10084
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
12262
10085
|
price_source: factories['io.flow.v0.unions.price_source'](),
|
|
10086
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
12263
10087
|
}),
|
|
12264
10088
|
|
|
12265
10089
|
'io.flow.v0.models.localized_line_item_discount': (): io.flow.v0.models.LocalizedLineItemDiscount => ({
|
|
@@ -12277,6 +10101,7 @@ const factories = {
|
|
|
12277
10101
|
amount: factories.double(),
|
|
12278
10102
|
label: factories.string(),
|
|
12279
10103
|
base: factories['io.flow.v0.models.price'](),
|
|
10104
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
12280
10105
|
}),
|
|
12281
10106
|
|
|
12282
10107
|
'io.flow.v0.models.localized_translation': (): io.flow.v0.models.LocalizedTranslation => ({
|
|
@@ -12575,6 +10400,11 @@ const factories = {
|
|
|
12575
10400
|
last: factories.string(),
|
|
12576
10401
|
}),
|
|
12577
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
|
+
|
|
12578
10408
|
'io.flow.v0.models.niall_item_deleted': (): io.flow.v0.models.NiallItemDeleted => ({
|
|
12579
10409
|
discriminator: 'niall_item_deleted',
|
|
12580
10410
|
event_id: factories.string(),
|
|
@@ -12736,6 +10566,8 @@ const factories = {
|
|
|
12736
10566
|
destination_contact_details: arrayOf(() => factories['io.flow.v0.models.destination_contact_detail']()),
|
|
12737
10567
|
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
12738
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']()),
|
|
12739
10571
|
}),
|
|
12740
10572
|
|
|
12741
10573
|
'io.flow.v0.models.order_address': (): io.flow.v0.models.OrderAddress => ({
|
|
@@ -12801,14 +10633,6 @@ const factories = {
|
|
|
12801
10633
|
invoice: factories['io.flow.v0.models.customer_invoice'](),
|
|
12802
10634
|
}),
|
|
12803
10635
|
|
|
12804
|
-
'io.flow.v0.models.order_deleted': (): io.flow.v0.models.OrderDeleted => ({
|
|
12805
|
-
discriminator: 'order_deleted',
|
|
12806
|
-
event_id: factories.string(),
|
|
12807
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12808
|
-
organization: factories.string(),
|
|
12809
|
-
number: factories.string(),
|
|
12810
|
-
}),
|
|
12811
|
-
|
|
12812
10636
|
'io.flow.v0.models.order_deleted_v2': (): io.flow.v0.models.OrderDeletedV2 => ({
|
|
12813
10637
|
discriminator: 'order_deleted_v2',
|
|
12814
10638
|
event_id: factories.string(),
|
|
@@ -12903,13 +10727,6 @@ const factories = {
|
|
|
12903
10727
|
number: factories.string(),
|
|
12904
10728
|
}),
|
|
12905
10729
|
|
|
12906
|
-
'io.flow.v0.models.order_identifier_deleted': (): io.flow.v0.models.OrderIdentifierDeleted => ({
|
|
12907
|
-
discriminator: 'order_identifier_deleted',
|
|
12908
|
-
event_id: factories.string(),
|
|
12909
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12910
|
-
id: factories.string(),
|
|
12911
|
-
}),
|
|
12912
|
-
|
|
12913
10730
|
'io.flow.v0.models.order_identifier_deleted_v2': (): io.flow.v0.models.OrderIdentifierDeletedV2 => ({
|
|
12914
10731
|
discriminator: 'order_identifier_deleted_v2',
|
|
12915
10732
|
event_id: factories.string(),
|
|
@@ -12932,27 +10749,6 @@ const factories = {
|
|
|
12932
10749
|
primary: factories.boolean(),
|
|
12933
10750
|
}),
|
|
12934
10751
|
|
|
12935
|
-
'io.flow.v0.models.order_identifier_upserted': (): io.flow.v0.models.OrderIdentifierUpserted => ({
|
|
12936
|
-
discriminator: 'order_identifier_upserted',
|
|
12937
|
-
event_id: factories.string(),
|
|
12938
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12939
|
-
id: factories.string(),
|
|
12940
|
-
organization: factories.string(),
|
|
12941
|
-
number: factories.string(),
|
|
12942
|
-
order_number: factories.string(),
|
|
12943
|
-
}),
|
|
12944
|
-
|
|
12945
|
-
'io.flow.v0.models.order_identifier_upserted_v2': (): io.flow.v0.models.OrderIdentifierUpsertedV2 => ({
|
|
12946
|
-
discriminator: 'order_identifier_upserted_v2',
|
|
12947
|
-
event_id: factories.string(),
|
|
12948
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12949
|
-
organization: factories.string(),
|
|
12950
|
-
id: factories.string(),
|
|
12951
|
-
order_number: factories.string(),
|
|
12952
|
-
identifier: factories.string(),
|
|
12953
|
-
primary: factories.boolean(),
|
|
12954
|
-
}),
|
|
12955
|
-
|
|
12956
10752
|
'io.flow.v0.models.order_identifier_upserted_v3': (): io.flow.v0.models.OrderIdentifierUpsertedV3 => ({
|
|
12957
10753
|
discriminator: 'order_identifier_upserted_v3',
|
|
12958
10754
|
event_id: factories.string(),
|
|
@@ -13070,6 +10866,12 @@ const factories = {
|
|
|
13070
10866
|
rate: factories.decimal(),
|
|
13071
10867
|
accuracy: factories['io.flow.v0.enums.price_accuracy'](),
|
|
13072
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']()),
|
|
13073
10875
|
}),
|
|
13074
10876
|
|
|
13075
10877
|
'io.flow.v0.models.order_price_detail_component': (): io.flow.v0.models.OrderPriceDetailComponent => ({
|
|
@@ -13081,6 +10883,12 @@ const factories = {
|
|
|
13081
10883
|
name: factories.string(),
|
|
13082
10884
|
}),
|
|
13083
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
|
+
|
|
13084
10892
|
'io.flow.v0.models.order_promotion_trigger': (): io.flow.v0.models.OrderPromotionTrigger => ({
|
|
13085
10893
|
type: factories['io.flow.v0.enums.promotion_trigger_type'](),
|
|
13086
10894
|
min: factories['io.flow.v0.models.price'](),
|
|
@@ -13102,6 +10910,12 @@ const factories = {
|
|
|
13102
10910
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
13103
10911
|
}),
|
|
13104
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
|
+
|
|
13105
10919
|
'io.flow.v0.models.order_reference': (): io.flow.v0.models.OrderReference => ({
|
|
13106
10920
|
discriminator: 'order_reference',
|
|
13107
10921
|
id: factories.string(),
|
|
@@ -13154,26 +10968,10 @@ const factories = {
|
|
|
13154
10968
|
replacement_order: factories['io.flow.v0.models.order'](),
|
|
13155
10969
|
}),
|
|
13156
10970
|
|
|
13157
|
-
'io.flow.v0.models.order_replacement_deleted': (): io.flow.v0.models.OrderReplacementDeleted => ({
|
|
13158
|
-
discriminator: 'order_replacement_deleted',
|
|
13159
|
-
event_id: factories.string(),
|
|
13160
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13161
|
-
organization: factories.string(),
|
|
13162
|
-
order_replacement: factories['io.flow.v0.models.order_replacement'](),
|
|
13163
|
-
}),
|
|
13164
|
-
|
|
13165
10971
|
'io.flow.v0.models.order_replacement_form': (): io.flow.v0.models.OrderReplacementForm => ({
|
|
13166
10972
|
items: arrayOf(() => factories['io.flow.v0.models.line_item_form']()),
|
|
13167
10973
|
}),
|
|
13168
10974
|
|
|
13169
|
-
'io.flow.v0.models.order_replacement_upserted': (): io.flow.v0.models.OrderReplacementUpserted => ({
|
|
13170
|
-
discriminator: 'order_replacement_upserted',
|
|
13171
|
-
event_id: factories.string(),
|
|
13172
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13173
|
-
organization: factories.string(),
|
|
13174
|
-
order_replacement: factories['io.flow.v0.models.order_replacement'](),
|
|
13175
|
-
}),
|
|
13176
|
-
|
|
13177
10975
|
'io.flow.v0.models.order_rule_reference': (): io.flow.v0.models.OrderRuleReference => ({
|
|
13178
10976
|
id: factories.string(),
|
|
13179
10977
|
key: factories.string(),
|
|
@@ -13194,14 +10992,6 @@ const factories = {
|
|
|
13194
10992
|
to_service_id: factories.string(),
|
|
13195
10993
|
}),
|
|
13196
10994
|
|
|
13197
|
-
'io.flow.v0.models.order_service_change_request': (): io.flow.v0.models.OrderServiceChangeRequest => ({
|
|
13198
|
-
discriminator: 'order_service_change_request',
|
|
13199
|
-
event_id: factories.string(),
|
|
13200
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13201
|
-
organization: factories.string(),
|
|
13202
|
-
request: factories['io.flow.v0.models.order_service_change_request_data'](),
|
|
13203
|
-
}),
|
|
13204
|
-
|
|
13205
10995
|
'io.flow.v0.models.order_service_change_request_data': (): io.flow.v0.models.OrderServiceChangeRequestData => ({
|
|
13206
10996
|
id: factories.string(),
|
|
13207
10997
|
source_url: factories.string(),
|
|
@@ -13276,36 +11066,6 @@ const factories = {
|
|
|
13276
11066
|
rate_label: factories.string(),
|
|
13277
11067
|
}),
|
|
13278
11068
|
|
|
13279
|
-
'io.flow.v0.models.order_upserted': (): io.flow.v0.models.OrderUpserted => ({
|
|
13280
|
-
discriminator: 'order_upserted',
|
|
13281
|
-
event_id: factories.string(),
|
|
13282
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13283
|
-
organization: factories.string(),
|
|
13284
|
-
number: factories.string(),
|
|
13285
|
-
environment: factories.string(),
|
|
13286
|
-
experience_id: factories.string(),
|
|
13287
|
-
expires_at: factories.date_time_iso_8601(),
|
|
13288
|
-
customer: factories['io.flow.v0.models.order_customer'](),
|
|
13289
|
-
selections: arrayOf(() => factories.string()),
|
|
13290
|
-
items: arrayOf(() => factories['io.flow.v0.models.localized_line_item']()),
|
|
13291
|
-
destination: factories['io.flow.v0.models.order_address'](),
|
|
13292
|
-
deliveries: arrayOf(() => factories['io.flow.v0.unions.delivery']()),
|
|
13293
|
-
prices: arrayOf(() => factories['io.flow.v0.models.order_price_detail']()),
|
|
13294
|
-
order_id: factories.string(),
|
|
13295
|
-
payments: arrayOf(() => factories['io.flow.v0.models.order_payment']()),
|
|
13296
|
-
discount: factories['io.flow.v0.models.money'](),
|
|
13297
|
-
delivered_duty: factories.string(),
|
|
13298
|
-
total: factories['io.flow.v0.models.localized_total'](),
|
|
13299
|
-
created_at: factories.date_time_iso_8601(),
|
|
13300
|
-
updated_at: factories.date_time_iso_8601(),
|
|
13301
|
-
submitted_at: factories.date_time_iso_8601(),
|
|
13302
|
-
lines: arrayOf(() => factories['io.flow.v0.models.line']()),
|
|
13303
|
-
attributes: objectOf(() => factories.string()),
|
|
13304
|
-
geo: factories['io.flow.v0.models.order_geo'](),
|
|
13305
|
-
merchant_of_record: factories['io.flow.v0.enums.order_merchant_of_record'](),
|
|
13306
|
-
tax_registration: factories['io.flow.v0.models.tax_registration'](),
|
|
13307
|
-
}),
|
|
13308
|
-
|
|
13309
11069
|
'io.flow.v0.models.order_upserted_v2': (): io.flow.v0.models.OrderUpsertedV2 => ({
|
|
13310
11070
|
discriminator: 'order_upserted_v2',
|
|
13311
11071
|
event_id: factories.string(),
|
|
@@ -14791,33 +12551,12 @@ const factories = {
|
|
|
14791
12551
|
rounding: factories['io.flow.v0.models.rounding'](),
|
|
14792
12552
|
}),
|
|
14793
12553
|
|
|
14794
|
-
'io.flow.v0.models.pricing_deleted': (): io.flow.v0.models.PricingDeleted => ({
|
|
14795
|
-
discriminator: 'pricing_deleted',
|
|
14796
|
-
event_id: factories.string(),
|
|
14797
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14798
|
-
organization: factories.string(),
|
|
14799
|
-
experience_key: factories.string(),
|
|
14800
|
-
}),
|
|
14801
|
-
|
|
14802
12554
|
'io.flow.v0.models.pricing_settings': (): io.flow.v0.models.PricingSettings => ({
|
|
14803
12555
|
editable: factories.boolean(),
|
|
14804
12556
|
default_tax_display: factories['io.flow.v0.enums.pricing_levy_setting'](),
|
|
14805
12557
|
default_duty_display: factories['io.flow.v0.enums.pricing_levy_setting'](),
|
|
14806
12558
|
}),
|
|
14807
12559
|
|
|
14808
|
-
'io.flow.v0.models.pricing_upserted': (): io.flow.v0.models.PricingUpserted => ({
|
|
14809
|
-
discriminator: 'pricing_upserted',
|
|
14810
|
-
event_id: factories.string(),
|
|
14811
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14812
|
-
organization: factories.string(),
|
|
14813
|
-
experience_key: factories.string(),
|
|
14814
|
-
vat: factories.string(),
|
|
14815
|
-
duty: factories.string(),
|
|
14816
|
-
rounding_type: factories.string(),
|
|
14817
|
-
rounding_method: factories.string(),
|
|
14818
|
-
rounding_value: factories.decimal(),
|
|
14819
|
-
}),
|
|
14820
|
-
|
|
14821
12560
|
'io.flow.v0.models.pricing_version': (): io.flow.v0.models.PricingVersion => ({
|
|
14822
12561
|
id: factories.string(),
|
|
14823
12562
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -14838,6 +12577,7 @@ const factories = {
|
|
|
14838
12577
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
14839
12578
|
taxonomy_data: arrayOf(() => factories['io.flow.v0.models.product_taxonomy_data']()),
|
|
14840
12579
|
item_numbers: arrayOf(() => factories.string()),
|
|
12580
|
+
highest_value_item_number: factories.string(),
|
|
14841
12581
|
updated_at: factories.date_time_iso_8601(),
|
|
14842
12582
|
deleted_at: factories.date_time_iso_8601(),
|
|
14843
12583
|
}),
|
|
@@ -14866,14 +12606,12 @@ const factories = {
|
|
|
14866
12606
|
sellability_restricted_regions: arrayOf(() => factories.string()),
|
|
14867
12607
|
reasons_per_region: arrayOf(() => factories['io.flow.v0.models.reasons_per_region']()),
|
|
14868
12608
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
14869
|
-
rules: arrayOf(() => factories
|
|
12609
|
+
rules: arrayOf(() => factories.string()),
|
|
14870
12610
|
updated_by: factories.string(),
|
|
14871
12611
|
product_restriction_id: factories.string(),
|
|
14872
12612
|
hs_code: factories.string(),
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
() => factories['io.flow.sellability.v0.models.sellablility_region_result'](),
|
|
14876
|
-
),
|
|
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']()),
|
|
14877
12615
|
}),
|
|
14878
12616
|
|
|
14879
12617
|
'io.flow.v0.models.product_restriction_result_deleted': (): io.flow.v0.models.ProductRestrictionResultDeleted => ({
|
|
@@ -14892,6 +12630,26 @@ const factories = {
|
|
|
14892
12630
|
product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
|
|
14893
12631
|
}),
|
|
14894
12632
|
|
|
12633
|
+
'io.flow.v0.models.product_sellability': (): io.flow.v0.models.ProductSellability => ({
|
|
12634
|
+
discriminator: 'product_sellability',
|
|
12635
|
+
shop_id: factories.string(),
|
|
12636
|
+
product_id: factories.string(),
|
|
12637
|
+
request_id: factories.string(),
|
|
12638
|
+
hs6_code: factories.string(),
|
|
12639
|
+
restricted_regions: arrayOf(() => factories['io.flow.v0.models.sellablility_region_result']()),
|
|
12640
|
+
}),
|
|
12641
|
+
|
|
12642
|
+
'io.flow.v0.models.product_sellability_form': (): io.flow.v0.models.ProductSellabilityForm => ({
|
|
12643
|
+
shop_id: factories.string(),
|
|
12644
|
+
product_id: factories.string(),
|
|
12645
|
+
name: factories.string(),
|
|
12646
|
+
price: factories['io.flow.v0.models.money'](),
|
|
12647
|
+
description: factories.string(),
|
|
12648
|
+
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12649
|
+
status: factories['io.flow.v0.enums.sellability_request_status'](),
|
|
12650
|
+
dry_run: factories.boolean(),
|
|
12651
|
+
}),
|
|
12652
|
+
|
|
14895
12653
|
'io.flow.v0.models.product_taxonomy_category': (): io.flow.v0.models.ProductTaxonomyCategory => ({
|
|
14896
12654
|
name: factories.string(),
|
|
14897
12655
|
full_name: factories.string(),
|
|
@@ -14900,6 +12658,12 @@ const factories = {
|
|
|
14900
12658
|
'io.flow.v0.models.product_taxonomy_data': (): io.flow.v0.models.ProductTaxonomyData => ({
|
|
14901
12659
|
key: factories.string(),
|
|
14902
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(),
|
|
14903
12667
|
}),
|
|
14904
12668
|
|
|
14905
12669
|
'io.flow.v0.models.product_updated': (): io.flow.v0.models.ProductUpdated => ({
|
|
@@ -14939,6 +12703,12 @@ const factories = {
|
|
|
14939
12703
|
id: factories.string(),
|
|
14940
12704
|
}),
|
|
14941
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
|
+
|
|
14942
12712
|
'io.flow.v0.models.query': (): io.flow.v0.models.Query => ({
|
|
14943
12713
|
q: factories.string(),
|
|
14944
12714
|
filters: arrayOf(() => factories['io.flow.v0.unions.query_filter']()),
|
|
@@ -15790,6 +13560,20 @@ const factories = {
|
|
|
15790
13560
|
roles: arrayOf(() => factories['io.flow.v0.enums.flow_role']()),
|
|
15791
13561
|
}),
|
|
15792
13562
|
|
|
13563
|
+
'io.flow.v0.models.sarvesh_item_deleted': (): io.flow.v0.models.SarveshItemDeleted => ({
|
|
13564
|
+
discriminator: 'sarvesh_item_deleted',
|
|
13565
|
+
event_id: factories.string(),
|
|
13566
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13567
|
+
id: factories.string(),
|
|
13568
|
+
}),
|
|
13569
|
+
|
|
13570
|
+
'io.flow.v0.models.sarvesh_item_upserted': (): io.flow.v0.models.SarveshItemUpserted => ({
|
|
13571
|
+
discriminator: 'sarvesh_item_upserted',
|
|
13572
|
+
event_id: factories.string(),
|
|
13573
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13574
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.sarvesh_item'](),
|
|
13575
|
+
}),
|
|
13576
|
+
|
|
15793
13577
|
'io.flow.v0.models.schedule': (): io.flow.v0.models.Schedule => ({
|
|
15794
13578
|
calendar: factories['io.flow.v0.enums.calendar'](),
|
|
15795
13579
|
holiday: factories['io.flow.v0.enums.holiday_calendar'](),
|
|
@@ -15841,6 +13625,17 @@ const factories = {
|
|
|
15841
13625
|
issuer_options: arrayOf(() => factories['io.flow.v0.models.issuer_reference']()),
|
|
15842
13626
|
}),
|
|
15843
13627
|
|
|
13628
|
+
'io.flow.v0.models.sellability_error': (): io.flow.v0.models.SellabilityError => ({
|
|
13629
|
+
discriminator: 'sellability_error',
|
|
13630
|
+
code: factories['io.flow.v0.enums.sellability_error_code'](),
|
|
13631
|
+
messages: arrayOf(() => factories.string()),
|
|
13632
|
+
}),
|
|
13633
|
+
|
|
13634
|
+
'io.flow.v0.models.sellablility_region_result': (): io.flow.v0.models.SellablilityRegionResult => ({
|
|
13635
|
+
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
13636
|
+
regions: arrayOf(() => factories.string()),
|
|
13637
|
+
}),
|
|
13638
|
+
|
|
15844
13639
|
'io.flow.v0.models.service_reference': (): io.flow.v0.models.ServiceReference => ({
|
|
15845
13640
|
id: factories.string(),
|
|
15846
13641
|
}),
|
|
@@ -16646,6 +14441,14 @@ const factories = {
|
|
|
16646
14441
|
statement: factories['io.flow.v0.models.statement'](),
|
|
16647
14442
|
}),
|
|
16648
14443
|
|
|
14444
|
+
'io.flow.v0.models.street_address': (): io.flow.v0.models.StreetAddress => ({
|
|
14445
|
+
streets: arrayOf(() => factories.string()),
|
|
14446
|
+
city: factories.string(),
|
|
14447
|
+
province: factories.string(),
|
|
14448
|
+
postal: factories.string(),
|
|
14449
|
+
country: factories.string(),
|
|
14450
|
+
}),
|
|
14451
|
+
|
|
16649
14452
|
'io.flow.v0.models.stripe_authentication_data': (): io.flow.v0.models.StripeAuthenticationData => ({
|
|
16650
14453
|
discriminator: 'stripe_authentication_data',
|
|
16651
14454
|
secret_key_reference: factories.string(),
|
|
@@ -16800,6 +14603,93 @@ const factories = {
|
|
|
16800
14603
|
deminimis: factories['io.flow.v0.unions.deminimis'](),
|
|
16801
14604
|
}),
|
|
16802
14605
|
|
|
14606
|
+
'io.flow.v0.models.tax_duty_calculator_validation_error': (): io.flow.v0.models.TaxDutyCalculatorValidationError => ({
|
|
14607
|
+
code: factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](),
|
|
14608
|
+
messages: arrayOf(() => factories.string()),
|
|
14609
|
+
}),
|
|
14610
|
+
|
|
14611
|
+
'io.flow.v0.models.tax_duty_quote': (): io.flow.v0.models.TaxDutyQuote => ({
|
|
14612
|
+
id: factories.string(),
|
|
14613
|
+
primary_identifier: factories.string(),
|
|
14614
|
+
attributes: objectOf(() => factories.string()),
|
|
14615
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
14616
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
14617
|
+
destination: factories['io.flow.v0.models.street_address'](),
|
|
14618
|
+
quote_date: factories.date_time_iso_8601(),
|
|
14619
|
+
currency: factories.string(),
|
|
14620
|
+
lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item']()),
|
|
14621
|
+
shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping']()),
|
|
14622
|
+
total_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
14623
|
+
}),
|
|
14624
|
+
|
|
14625
|
+
'io.flow.v0.models.tax_duty_quote_fee_value': (): io.flow.v0.models.TaxDutyQuoteFeeValue => ({
|
|
14626
|
+
amount: factories.decimal(),
|
|
14627
|
+
description: factories.string(),
|
|
14628
|
+
amount_refundable_on_return: factories.decimal(),
|
|
14629
|
+
}),
|
|
14630
|
+
|
|
14631
|
+
'io.flow.v0.models.tax_duty_quote_form': (): io.flow.v0.models.TaxDutyQuoteForm => ({
|
|
14632
|
+
primary_identifier: factories.string(),
|
|
14633
|
+
attributes: objectOf(() => factories.string()),
|
|
14634
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
14635
|
+
destination: factories['io.flow.v0.models.street_address'](),
|
|
14636
|
+
currency: factories.string(),
|
|
14637
|
+
lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item_form']()),
|
|
14638
|
+
shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']()),
|
|
14639
|
+
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
14640
|
+
}),
|
|
14641
|
+
|
|
14642
|
+
'io.flow.v0.models.tax_duty_quote_line_item': (): io.flow.v0.models.TaxDutyQuoteLineItem => ({
|
|
14643
|
+
primary_identifier: factories.string(),
|
|
14644
|
+
attributes: objectOf(() => factories.string()),
|
|
14645
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
14646
|
+
quantity: factories.long(),
|
|
14647
|
+
unit_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
14648
|
+
country_of_origin: factories.string(),
|
|
14649
|
+
hs_code: factories.string(),
|
|
14650
|
+
}),
|
|
14651
|
+
|
|
14652
|
+
'io.flow.v0.models.tax_duty_quote_line_item_form': (): io.flow.v0.models.TaxDutyQuoteLineItemForm => ({
|
|
14653
|
+
primary_identifier: factories.string(),
|
|
14654
|
+
attributes: objectOf(() => factories.string()),
|
|
14655
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
14656
|
+
quantity: factories.long(),
|
|
14657
|
+
unit_price: factories.decimal(),
|
|
14658
|
+
unit_weight: factories['io.flow.v0.models.measurement'](),
|
|
14659
|
+
country_of_origin: factories.string(),
|
|
14660
|
+
hs_code: factories.string(),
|
|
14661
|
+
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
14662
|
+
preferential_rate_eligibilities: arrayOf(() => factories['io.flow.v0.enums.preferential_rate_eligibility']()),
|
|
14663
|
+
}),
|
|
14664
|
+
|
|
14665
|
+
'io.flow.v0.models.tax_duty_quote_simple_levy_value': (): io.flow.v0.models.TaxDutyQuoteSimpleLevyValue => ({
|
|
14666
|
+
discriminator: 'tax_duty_quote_simple_levy_value',
|
|
14667
|
+
amount: factories.decimal(),
|
|
14668
|
+
rate: factories.decimal(),
|
|
14669
|
+
description: factories.string(),
|
|
14670
|
+
zero_levy_reason: arrayOf(() => factories['io.flow.v0.enums.zero_levy_reason_code']()),
|
|
14671
|
+
amount_refundable_on_return: factories.decimal(),
|
|
14672
|
+
}),
|
|
14673
|
+
|
|
14674
|
+
'io.flow.v0.models.tax_duty_quote_simple_shipping': (): io.flow.v0.models.TaxDutyQuoteSimpleShipping => ({
|
|
14675
|
+
values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
14676
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
14677
|
+
}),
|
|
14678
|
+
|
|
14679
|
+
'io.flow.v0.models.tax_duty_quote_simple_shipping_form': (): io.flow.v0.models.TaxDutyQuoteSimpleShippingForm => ({
|
|
14680
|
+
price: factories.decimal(),
|
|
14681
|
+
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
14682
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
14683
|
+
}),
|
|
14684
|
+
|
|
14685
|
+
'io.flow.v0.models.tax_duty_quote_values': (): io.flow.v0.models.TaxDutyQuoteValues => ({
|
|
14686
|
+
price: factories.decimal(),
|
|
14687
|
+
duty: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
14688
|
+
tax: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
14689
|
+
fees: factories['io.flow.v0.models.tax_duty_quote_fee_value'](),
|
|
14690
|
+
total: factories.decimal(),
|
|
14691
|
+
}),
|
|
14692
|
+
|
|
16803
14693
|
'io.flow.v0.models.tax_registration': (): io.flow.v0.models.TaxRegistration => ({
|
|
16804
14694
|
id: factories.string(),
|
|
16805
14695
|
key: factories.string(),
|
|
@@ -17908,6 +15798,10 @@ const factories = {
|
|
|
17908
15798
|
const f = faker.helpers.arrayElement([
|
|
17909
15799
|
() => factories['io.flow.v0.models.test_upserted'](),
|
|
17910
15800
|
() => factories['io.flow.v0.models.generate_load'](),
|
|
15801
|
+
() => factories['io.flow.v0.models.sarvesh_item_upserted'](),
|
|
15802
|
+
() => factories['io.flow.v0.models.sarvesh_item_deleted'](),
|
|
15803
|
+
() => factories['io.flow.v0.models.hosein_item_upserted'](),
|
|
15804
|
+
() => factories['io.flow.v0.models.hosein_item_deleted'](),
|
|
17911
15805
|
() => factories['io.flow.v0.models.niall_item_upserted'](),
|
|
17912
15806
|
() => factories['io.flow.v0.models.niall_item_deleted'](),
|
|
17913
15807
|
() => factories['io.flow.v0.models.rohan_item_upserted'](),
|
|
@@ -17916,6 +15810,8 @@ const factories = {
|
|
|
17916
15810
|
() => factories['io.flow.v0.models.aldo_item_deleted'](),
|
|
17917
15811
|
() => factories['io.flow.v0.models.ansh_item_upserted'](),
|
|
17918
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'](),
|
|
17919
15815
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
17920
15816
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
17921
15817
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -17970,44 +15866,12 @@ const factories = {
|
|
|
17970
15866
|
() => factories['io.flow.v0.models.rate_upserted'](),
|
|
17971
15867
|
() => factories['io.flow.v0.models.rate_deleted_v3'](),
|
|
17972
15868
|
() => factories['io.flow.v0.models.rate_upserted_v3'](),
|
|
17973
|
-
() => factories['io.flow.v0.models.available_promotions_upserted'](),
|
|
17974
|
-
() => factories['io.flow.v0.models.available_promotions_deleted'](),
|
|
17975
|
-
() => factories['io.flow.v0.models.available_promotions_upserted_v2'](),
|
|
17976
|
-
() => factories['io.flow.v0.models.available_promotions_deleted_v2'](),
|
|
17977
15869
|
() => factories['io.flow.v0.models.allocation_deleted_v2'](),
|
|
17978
15870
|
() => factories['io.flow.v0.models.allocation_upserted_v2'](),
|
|
17979
|
-
() => factories['io.flow.v0.models.currency_format_deleted'](),
|
|
17980
|
-
() => factories['io.flow.v0.models.currency_format_upserted'](),
|
|
17981
|
-
() => factories['io.flow.v0.models.experience_deleted'](),
|
|
17982
|
-
() => factories['io.flow.v0.models.experience_upserted'](),
|
|
17983
|
-
() => factories['io.flow.v0.models.experience_deleted_v2'](),
|
|
17984
|
-
() => factories['io.flow.v0.models.experience_upserted_v2'](),
|
|
17985
|
-
() => factories['io.flow.v0.models.country_status_upserted'](),
|
|
17986
|
-
() => factories['io.flow.v0.models.country_status_deleted'](),
|
|
17987
|
-
() => factories['io.flow.v0.models.experience_price_book_mapping_deleted'](),
|
|
17988
|
-
() => factories['io.flow.v0.models.experience_price_book_mapping_upserted'](),
|
|
17989
|
-
() => factories['io.flow.v0.models.experience_logistics_settings_upserted'](),
|
|
17990
|
-
() => factories['io.flow.v0.models.experience_logistics_settings_deleted'](),
|
|
17991
|
-
() => factories['io.flow.v0.models.item_margin_deleted_v2'](),
|
|
17992
|
-
() => factories['io.flow.v0.models.item_margin_upserted_v2'](),
|
|
17993
|
-
() => factories['io.flow.v0.models.item_sales_margin_deleted'](),
|
|
17994
|
-
() => factories['io.flow.v0.models.item_sales_margin_upserted'](),
|
|
17995
|
-
() => factories['io.flow.v0.models.label_format_deleted'](),
|
|
17996
|
-
() => factories['io.flow.v0.models.label_format_upserted'](),
|
|
17997
|
-
() => factories['io.flow.v0.models.order_deleted'](),
|
|
17998
|
-
() => factories['io.flow.v0.models.order_upserted'](),
|
|
17999
15871
|
() => factories['io.flow.v0.models.order_deleted_v2'](),
|
|
18000
15872
|
() => factories['io.flow.v0.models.order_upserted_v2'](),
|
|
18001
|
-
() => factories['io.flow.v0.models.order_identifier_deleted'](),
|
|
18002
|
-
() => factories['io.flow.v0.models.order_identifier_upserted'](),
|
|
18003
15873
|
() => factories['io.flow.v0.models.order_identifier_deleted_v2'](),
|
|
18004
|
-
() => factories['io.flow.v0.models.order_identifier_upserted_v2'](),
|
|
18005
15874
|
() => factories['io.flow.v0.models.order_identifier_upserted_v3'](),
|
|
18006
|
-
() => factories['io.flow.v0.models.order_replacement_upserted'](),
|
|
18007
|
-
() => factories['io.flow.v0.models.order_replacement_deleted'](),
|
|
18008
|
-
() => factories['io.flow.v0.models.pricing_deleted'](),
|
|
18009
|
-
() => factories['io.flow.v0.models.pricing_upserted'](),
|
|
18010
|
-
() => factories['io.flow.v0.models.order_service_change_request'](),
|
|
18011
15875
|
() => factories['io.flow.v0.models.fraud_status_changed'](),
|
|
18012
15876
|
() => factories['io.flow.v0.models.center_upserted'](),
|
|
18013
15877
|
() => factories['io.flow.v0.models.center_deleted'](),
|
|
@@ -18032,8 +15896,6 @@ const factories = {
|
|
|
18032
15896
|
() => factories['io.flow.v0.models.item_origin_deleted'](),
|
|
18033
15897
|
() => factories['io.flow.v0.models.harmonized_landed_cost_upserted'](),
|
|
18034
15898
|
() => factories['io.flow.v0.models.fully_harmonized_item_upserted'](),
|
|
18035
|
-
() => factories['io.flow.v0.models.import_completed_v2'](),
|
|
18036
|
-
() => factories['io.flow.v0.models.import_failed_v2'](),
|
|
18037
15899
|
() => factories['io.flow.v0.models.label_upserted'](),
|
|
18038
15900
|
() => factories['io.flow.v0.models.label_deleted_v2'](),
|
|
18039
15901
|
() => factories['io.flow.v0.models.label_upserted_v2'](),
|
|
@@ -18706,6 +16568,15 @@ const factories = {
|
|
|
18706
16568
|
return f();
|
|
18707
16569
|
},
|
|
18708
16570
|
|
|
16571
|
+
'io.flow.v0.unions.sellability_response': (): io.flow.v0.unions.SellabilityResponse => {
|
|
16572
|
+
const f = faker.helpers.arrayElement([
|
|
16573
|
+
() => factories['io.flow.v0.models.product_sellability'](),
|
|
16574
|
+
() => factories['io.flow.v0.models.sellability_error'](),
|
|
16575
|
+
]);
|
|
16576
|
+
|
|
16577
|
+
return f();
|
|
16578
|
+
},
|
|
16579
|
+
|
|
18709
16580
|
'io.flow.v0.unions.service_description': (): io.flow.v0.unions.ServiceDescription => {
|
|
18710
16581
|
const f = faker.helpers.arrayElement([
|
|
18711
16582
|
() => factories['io.flow.v0.models.service_summary'](),
|
|
@@ -18794,6 +16665,11 @@ const factories = {
|
|
|
18794
16665
|
return f();
|
|
18795
16666
|
},
|
|
18796
16667
|
|
|
16668
|
+
'io.flow.v0.unions.tax_duty_quote_levy_value': (): io.flow.v0.unions.TaxDutyQuoteLevyValue => {
|
|
16669
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
|
|
16670
|
+
return f();
|
|
16671
|
+
},
|
|
16672
|
+
|
|
18797
16673
|
'io.flow.v0.unions.tax_setting': (): io.flow.v0.unions.TaxSetting => {
|
|
18798
16674
|
const f = faker.helpers.arrayElement([
|
|
18799
16675
|
() => factories['io.flow.v0.models.avalara_tax_setting'](),
|
|
@@ -18960,6 +16836,8 @@ export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2
|
|
|
18960
16836
|
export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
|
|
18961
16837
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
18962
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']();
|
|
18963
16841
|
export const makeAnshItemDeleted = () => factories['io.flow.v0.models.ansh_item_deleted']();
|
|
18964
16842
|
export const makeAnshItemUpserted = () => factories['io.flow.v0.models.ansh_item_upserted']();
|
|
18965
16843
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
@@ -19013,10 +16891,6 @@ export const makeAvailableFilterFormat = () => factories['io.flow.v0.enums.avail
|
|
|
19013
16891
|
export const makeAvailableFilterStructured = () => factories['io.flow.v0.models.available_filter_structured']();
|
|
19014
16892
|
export const makeAvailableFilterUnstructured = () => factories['io.flow.v0.models.available_filter_unstructured']();
|
|
19015
16893
|
export const makeAvailablePromotion = () => factories['io.flow.v0.models.available_promotion']();
|
|
19016
|
-
export const makeAvailablePromotionsDeleted = () => factories['io.flow.v0.models.available_promotions_deleted']();
|
|
19017
|
-
export const makeAvailablePromotionsDeletedV2 = () => factories['io.flow.v0.models.available_promotions_deleted_v2']();
|
|
19018
|
-
export const makeAvailablePromotionsUpserted = () => factories['io.flow.v0.models.available_promotions_upserted']();
|
|
19019
|
-
export const makeAvailablePromotionsUpsertedV2 = () => factories['io.flow.v0.models.available_promotions_upserted_v2']();
|
|
19020
16894
|
export const makeAvailableService = () => factories['io.flow.v0.models.available_service']();
|
|
19021
16895
|
export const makeAvalaraTaxCsvSetting = () => factories['io.flow.v0.models.avalara_tax_csv_setting']();
|
|
19022
16896
|
export const makeAvalaraTaxSetting = () => factories['io.flow.v0.models.avalara_tax_setting']();
|
|
@@ -19221,9 +17095,7 @@ export const makeCountryPickerForm = () => factories['io.flow.v0.models.country_
|
|
|
19221
17095
|
export const makeCountryPickerSource = () => factories['io.flow.v0.enums.country_picker_source']();
|
|
19222
17096
|
export const makeCountryShippingPricing = () => factories['io.flow.v0.models.country_shipping_pricing']();
|
|
19223
17097
|
export const makeCountryStatus = () => factories['io.flow.v0.models.country_status']();
|
|
19224
|
-
export const makeCountryStatusDeleted = () => factories['io.flow.v0.models.country_status_deleted']();
|
|
19225
17098
|
export const makeCountryStatusForm = () => factories['io.flow.v0.models.country_status_form']();
|
|
19226
|
-
export const makeCountryStatusUpserted = () => factories['io.flow.v0.models.country_status_upserted']();
|
|
19227
17099
|
export const makeCreditMemo = () => factories['io.flow.v0.models.credit_memo']();
|
|
19228
17100
|
export const makeCreditMemoDeleted = () => factories['io.flow.v0.models.credit_memo_deleted']();
|
|
19229
17101
|
export const makeCreditMemoForm = () => factories['io.flow.v0.models.credit_memo_form']();
|
|
@@ -19241,8 +17113,6 @@ export const makeCsvPriceBookItemExportRowByItemNumber = () => factories['io.flo
|
|
|
19241
17113
|
export const makeCsvPriceBookItemExportRowBySku = () => factories['io.flow.v0.models.csv_price_book_item_export_row_by_sku']();
|
|
19242
17114
|
export const makeCurrency = () => factories['io.flow.v0.models.currency']();
|
|
19243
17115
|
export const makeCurrencyFormat = () => factories['io.flow.v0.models.currency_format']();
|
|
19244
|
-
export const makeCurrencyFormatDeleted = () => factories['io.flow.v0.models.currency_format_deleted']();
|
|
19245
|
-
export const makeCurrencyFormatUpserted = () => factories['io.flow.v0.models.currency_format_upserted']();
|
|
19246
17116
|
export const makeCurrencyLabelFormatter = () => factories['io.flow.v0.enums.currency_label_formatter']();
|
|
19247
17117
|
export const makeCurrencySymbolFormat = () => factories['io.flow.v0.enums.currency_symbol_format']();
|
|
19248
17118
|
export const makeCurrencySymbols = () => factories['io.flow.v0.models.currency_symbols']();
|
|
@@ -19353,6 +17223,7 @@ export const makeEcommercePlatformForm = () => factories['io.flow.v0.models.ecom
|
|
|
19353
17223
|
export const makeEcommercePlatformType = () => factories['io.flow.v0.enums.ecommerce_platform_type']();
|
|
19354
17224
|
export const makeEcommercePlatformUpserted = () => factories['io.flow.v0.models.ecommerce_platform_upserted']();
|
|
19355
17225
|
export const makeEconomicTitleLocation = () => factories['io.flow.v0.enums.economic_title_location']();
|
|
17226
|
+
export const makeEditSummary = () => factories['io.flow.v0.models.edit_summary']();
|
|
19356
17227
|
export const makeEeiFilingRatecardFee = () => factories['io.flow.v0.models.eei_filing_ratecard_fee']();
|
|
19357
17228
|
export const makeEeiFilingServiceFee = () => factories['io.flow.v0.models.eei_filing_service_fee']();
|
|
19358
17229
|
export const makeEmailAbandonedOrderPromotion = () => factories['io.flow.v0.models.email_abandoned_order_promotion']();
|
|
@@ -19404,15 +17275,11 @@ export const makeExperienceCountryStatus = () => factories['io.flow.v0.enums.exp
|
|
|
19404
17275
|
export const makeExperienceCurrencyFormat = () => factories['io.flow.v0.models.experience_currency_format']();
|
|
19405
17276
|
export const makeExperienceCurrencyFormatForm = () => factories['io.flow.v0.models.experience_currency_format_form']();
|
|
19406
17277
|
export const makeExperienceDefaults = () => factories['io.flow.v0.models.experience_defaults']();
|
|
19407
|
-
export const makeExperienceDeleted = () => factories['io.flow.v0.models.experience_deleted']();
|
|
19408
|
-
export const makeExperienceDeletedV2 = () => factories['io.flow.v0.models.experience_deleted_v2']();
|
|
19409
17278
|
export const makeExperienceExportType = () => factories['io.flow.v0.models.experience_export_type']();
|
|
19410
17279
|
export const makeExperienceForm = () => factories['io.flow.v0.models.experience_form']();
|
|
19411
17280
|
export const makeExperienceGeo = () => factories['io.flow.v0.models.experience_geo']();
|
|
19412
17281
|
export const makeExperienceLogisticsSettings = () => factories['io.flow.v0.models.experience_logistics_settings']();
|
|
19413
|
-
export const makeExperienceLogisticsSettingsDeleted = () => factories['io.flow.v0.models.experience_logistics_settings_deleted']();
|
|
19414
17282
|
export const makeExperienceLogisticsSettingsPutForm = () => factories['io.flow.v0.models.experience_logistics_settings_put_form']();
|
|
19415
|
-
export const makeExperienceLogisticsSettingsUpserted = () => factories['io.flow.v0.models.experience_logistics_settings_upserted']();
|
|
19416
17283
|
export const makeExperienceLogisticsSummary = () => factories['io.flow.v0.models.experience_logistics_summary']();
|
|
19417
17284
|
export const makeExperienceLogisticsTierSummary = () => factories['io.flow.v0.models.experience_logistics_tier_summary']();
|
|
19418
17285
|
export const makeExperienceLogisticsTierSummaryPrices = () => factories['io.flow.v0.models.experience_logistics_tier_summary_prices']();
|
|
@@ -19421,10 +17288,8 @@ export const makeExperiencePaymentMethodRule = () => factories['io.flow.v0.model
|
|
|
19421
17288
|
export const makeExperiencePaymentMethodRuleForm = () => factories['io.flow.v0.models.experience_payment_method_rule_form']();
|
|
19422
17289
|
export const makeExperiencePaymentMethodTag = () => factories['io.flow.v0.enums.experience_payment_method_tag']();
|
|
19423
17290
|
export const makeExperiencePriceBookMapping = () => factories['io.flow.v0.models.experience_price_book_mapping']();
|
|
19424
|
-
export const makeExperiencePriceBookMappingDeleted = () => factories['io.flow.v0.models.experience_price_book_mapping_deleted']();
|
|
19425
17291
|
export const makeExperiencePriceBookMappingForm = () => factories['io.flow.v0.models.experience_price_book_mapping_form']();
|
|
19426
17292
|
export const makeExperiencePriceBookMappingPutForm = () => factories['io.flow.v0.models.experience_price_book_mapping_put_form']();
|
|
19427
|
-
export const makeExperiencePriceBookMappingUpserted = () => factories['io.flow.v0.models.experience_price_book_mapping_upserted']();
|
|
19428
17293
|
export const makeExperiencePriceConversion = () => factories['io.flow.v0.models.experience_price_conversion']();
|
|
19429
17294
|
export const makeExperiencePriceConversionRequest = () => factories['io.flow.v0.models.experience_price_conversion_request']();
|
|
19430
17295
|
export const makeExperiencePriceConversionResponse = () => factories['io.flow.v0.models.experience_price_conversion_response']();
|
|
@@ -19436,8 +17301,6 @@ export const makeExperienceSettings = () => factories['io.flow.v0.models.experie
|
|
|
19436
17301
|
export const makeExperienceStatus = () => factories['io.flow.v0.enums.experience_status']();
|
|
19437
17302
|
export const makeExperienceStatusForm = () => factories['io.flow.v0.models.experience_status_form']();
|
|
19438
17303
|
export const makeExperienceSummary = () => factories['io.flow.v0.models.experience_summary']();
|
|
19439
|
-
export const makeExperienceUpserted = () => factories['io.flow.v0.models.experience_upserted']();
|
|
19440
|
-
export const makeExperienceUpsertedV2 = () => factories['io.flow.v0.models.experience_upserted_v2']();
|
|
19441
17304
|
export const makeExperienceVersion = () => factories['io.flow.v0.models.experience_version']();
|
|
19442
17305
|
export const makeExpiration = () => factories['io.flow.v0.models.expiration']();
|
|
19443
17306
|
export const makeExport = () => factories['io.flow.v0.models.export']();
|
|
@@ -19557,6 +17420,8 @@ export const makeHop = () => factories['io.flow.v0.models.hop']();
|
|
|
19557
17420
|
export const makeHopEstimate = () => factories['io.flow.v0.models.hop_estimate']();
|
|
19558
17421
|
export const makeHopEstimateV2 = () => factories['io.flow.v0.models.hop_estimate_v2']();
|
|
19559
17422
|
export const makeHopV2 = () => factories['io.flow.v0.models.hop_v2']();
|
|
17423
|
+
export const makeHoseinItemDeleted = () => factories['io.flow.v0.models.hosein_item_deleted']();
|
|
17424
|
+
export const makeHoseinItemUpserted = () => factories['io.flow.v0.models.hosein_item_upserted']();
|
|
19560
17425
|
export const makeHs10 = () => factories['io.flow.v0.models.hs10']();
|
|
19561
17426
|
export const makeHs10CodeDeleted = () => factories['io.flow.v0.models.hs10_code_deleted']();
|
|
19562
17427
|
export const makeHs10CodeUpserted = () => factories['io.flow.v0.models.hs10_code_upserted']();
|
|
@@ -19569,8 +17434,6 @@ export const makeImage = () => factories['io.flow.v0.models.image']();
|
|
|
19569
17434
|
export const makeImageForm = () => factories['io.flow.v0.models.image_form']();
|
|
19570
17435
|
export const makeImageTag = () => factories['io.flow.v0.enums.image_tag']();
|
|
19571
17436
|
export const makeImport = () => factories['io.flow.v0.models.import']();
|
|
19572
|
-
export const makeImportCompletedV2 = () => factories['io.flow.v0.models.import_completed_v2']();
|
|
19573
|
-
export const makeImportFailedV2 = () => factories['io.flow.v0.models.import_failed_v2']();
|
|
19574
17437
|
export const makeImportForm = () => factories['io.flow.v0.models.import_form']();
|
|
19575
17438
|
export const makeImportResults = () => factories['io.flow.v0.models.import_results']();
|
|
19576
17439
|
export const makeImportTemplate = () => factories['io.flow.v0.models.import_template']();
|
|
@@ -19619,10 +17482,8 @@ export const makeItemFormOverlayForm = () => factories['io.flow.v0.models.item_f
|
|
|
19619
17482
|
export const makeItemIdentifier = () => factories['io.flow.v0.enums.item_identifier']();
|
|
19620
17483
|
export const makeItemInserted = () => factories['io.flow.v0.models.item_inserted']();
|
|
19621
17484
|
export const makeItemMargin = () => factories['io.flow.v0.models.item_margin']();
|
|
19622
|
-
export const makeItemMarginDeletedV2 = () => factories['io.flow.v0.models.item_margin_deleted_v2']();
|
|
19623
17485
|
export const makeItemMarginPostForm = () => factories['io.flow.v0.models.item_margin_post_form']();
|
|
19624
17486
|
export const makeItemMarginPutForm = () => factories['io.flow.v0.models.item_margin_put_form']();
|
|
19625
|
-
export const makeItemMarginUpsertedV2 = () => factories['io.flow.v0.models.item_margin_upserted_v2']();
|
|
19626
17487
|
export const makeItemMarginVersion = () => factories['io.flow.v0.models.item_margin_version']();
|
|
19627
17488
|
export const makeItemOriginDeleted = () => factories['io.flow.v0.models.item_origin_deleted']();
|
|
19628
17489
|
export const makeItemOriginUpserted = () => factories['io.flow.v0.models.item_origin_upserted']();
|
|
@@ -19630,8 +17491,6 @@ export const makeItemPriceUpdateForm = () => factories['io.flow.v0.models.item_p
|
|
|
19630
17491
|
export const makeItemPriceUpdatePutForm = () => factories['io.flow.v0.models.item_price_update_put_form']();
|
|
19631
17492
|
export const makeItemQuerySuggestion = () => factories['io.flow.v0.models.item_query_suggestion']();
|
|
19632
17493
|
export const makeItemReference = () => factories['io.flow.v0.models.item_reference']();
|
|
19633
|
-
export const makeItemSalesMarginDeleted = () => factories['io.flow.v0.models.item_sales_margin_deleted']();
|
|
19634
|
-
export const makeItemSalesMarginUpserted = () => factories['io.flow.v0.models.item_sales_margin_upserted']();
|
|
19635
17494
|
export const makeItemShippingPricing = () => factories['io.flow.v0.models.item_shipping_pricing']();
|
|
19636
17495
|
export const makeItemStatistics = () => factories['io.flow.v0.models.item_statistics']();
|
|
19637
17496
|
export const makeItemUpdated = () => factories['io.flow.v0.models.item_updated']();
|
|
@@ -19650,8 +17509,6 @@ export const makeKnowYourBusinessUsaForm = () => factories['io.flow.v0.models.kn
|
|
|
19650
17509
|
export const makeKubeHealthcheck = () => factories['io.flow.v0.models.kube-healthcheck']();
|
|
19651
17510
|
export const makeLabelBase = () => factories['io.flow.v0.models.label_base']();
|
|
19652
17511
|
export const makeLabelDeletedV2 = () => factories['io.flow.v0.models.label_deleted_v2']();
|
|
19653
|
-
export const makeLabelFormatDeleted = () => factories['io.flow.v0.models.label_format_deleted']();
|
|
19654
|
-
export const makeLabelFormatUpserted = () => factories['io.flow.v0.models.label_format_upserted']();
|
|
19655
17512
|
export const makeLabelOrderSummary = () => factories['io.flow.v0.models.label_order_summary']();
|
|
19656
17513
|
export const makeLabelProcessingModification = () => factories['io.flow.v0.models.label_processing_modification']();
|
|
19657
17514
|
export const makeLabelProcessingModificationDeleted = () => factories['io.flow.v0.models.label_processing_modification_deleted']();
|
|
@@ -19679,6 +17536,7 @@ export const makeLaneSummary = () => factories['io.flow.v0.models.lane_summary']
|
|
|
19679
17536
|
export const makeLanguage = () => factories['io.flow.v0.models.language']();
|
|
19680
17537
|
export const makeLargePackageServiceFee = () => factories['io.flow.v0.models.large_package_service_fee']();
|
|
19681
17538
|
export const makeLevyComponent = () => factories['io.flow.v0.enums.levy_component']();
|
|
17539
|
+
export const makeLevyInclusion = () => factories['io.flow.v0.enums.levy_inclusion']();
|
|
19682
17540
|
export const makeLevyStrategy = () => factories['io.flow.v0.enums.levy_strategy']();
|
|
19683
17541
|
export const makeLine = () => factories['io.flow.v0.models.line']();
|
|
19684
17542
|
export const makeLineItem = () => factories['io.flow.v0.models.line_item']();
|
|
@@ -19763,6 +17621,7 @@ export const makeMonthlyAverage = () => factories['io.flow.v0.models.monthly_ave
|
|
|
19763
17621
|
export const makeMonthlyAverageVolume = () => factories['io.flow.v0.models.monthly_average_volume']();
|
|
19764
17622
|
export const makeName = () => factories['io.flow.v0.models.name']();
|
|
19765
17623
|
export const makeNameForm = () => factories['io.flow.v0.models.name_form']();
|
|
17624
|
+
export const makeNeedsActionAttributes = () => factories['io.flow.v0.models.needs_action_attributes']();
|
|
19766
17625
|
export const makeNiallItemDeleted = () => factories['io.flow.v0.models.niall_item_deleted']();
|
|
19767
17626
|
export const makeNiallItemUpserted = () => factories['io.flow.v0.models.niall_item_upserted']();
|
|
19768
17627
|
export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.notification_deleted_v2']();
|
|
@@ -19798,7 +17657,6 @@ export const makeOrderBuilderSelectionsForm = () => factories['io.flow.v0.models
|
|
|
19798
17657
|
export const makeOrderChangeSource = () => factories['io.flow.v0.enums.order_change_source']();
|
|
19799
17658
|
export const makeOrderCustomer = () => factories['io.flow.v0.models.order_customer']();
|
|
19800
17659
|
export const makeOrderCustomerForm = () => factories['io.flow.v0.models.order_customer_form']();
|
|
19801
|
-
export const makeOrderDeleted = () => factories['io.flow.v0.models.order_deleted']();
|
|
19802
17660
|
export const makeOrderDeletedV2 = () => factories['io.flow.v0.models.order_deleted_v2']();
|
|
19803
17661
|
export const makeOrderDestinationPutForm = () => factories['io.flow.v0.models.order_destination_put_form']();
|
|
19804
17662
|
export const makeOrderDetails = () => factories['io.flow.v0.models.order_details']();
|
|
@@ -19811,12 +17669,9 @@ export const makeOrderForm = () => factories['io.flow.v0.models.order_form']();
|
|
|
19811
17669
|
export const makeOrderFraudStatus = () => factories['io.flow.v0.models.order_fraud_status']();
|
|
19812
17670
|
export const makeOrderGeo = () => factories['io.flow.v0.models.order_geo']();
|
|
19813
17671
|
export const makeOrderIdentifier = () => factories['io.flow.v0.models.order_identifier']();
|
|
19814
|
-
export const makeOrderIdentifierDeleted = () => factories['io.flow.v0.models.order_identifier_deleted']();
|
|
19815
17672
|
export const makeOrderIdentifierDeletedV2 = () => factories['io.flow.v0.models.order_identifier_deleted_v2']();
|
|
19816
17673
|
export const makeOrderIdentifierForm = () => factories['io.flow.v0.models.order_identifier_form']();
|
|
19817
17674
|
export const makeOrderIdentifierPutForm = () => factories['io.flow.v0.models.order_identifier_put_form']();
|
|
19818
|
-
export const makeOrderIdentifierUpserted = () => factories['io.flow.v0.models.order_identifier_upserted']();
|
|
19819
|
-
export const makeOrderIdentifierUpsertedV2 = () => factories['io.flow.v0.models.order_identifier_upserted_v2']();
|
|
19820
17675
|
export const makeOrderIdentifierUpsertedV3 = () => factories['io.flow.v0.models.order_identifier_upserted_v3']();
|
|
19821
17676
|
export const makeOrderIdentifierVersion = () => factories['io.flow.v0.models.order_identifier_version']();
|
|
19822
17677
|
export const makeOrderInformation = () => factories['io.flow.v0.unions.order_information']();
|
|
@@ -19839,13 +17694,17 @@ export const makeOrderPlaced = () => factories['io.flow.v0.models.order_placed']
|
|
|
19839
17694
|
export const makeOrderPlacedDetails = () => factories['io.flow.v0.models.order_placed_details']();
|
|
19840
17695
|
export const makeOrderPlacedV2 = () => factories['io.flow.v0.models.order_placed_v2']();
|
|
19841
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']();
|
|
19842
17698
|
export const makeOrderPriceDetailComponent = () => factories['io.flow.v0.models.order_price_detail_component']();
|
|
19843
17699
|
export const makeOrderPriceDetailComponentKey = () => factories['io.flow.v0.enums.order_price_detail_component_key']();
|
|
19844
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']();
|
|
19845
17703
|
export const makeOrderPromotion = () => factories['io.flow.v0.unions.order_promotion']();
|
|
19846
17704
|
export const makeOrderPromotionForm = () => factories['io.flow.v0.unions.order_promotion_form']();
|
|
19847
17705
|
export const makeOrderPromotionTrigger = () => factories['io.flow.v0.models.order_promotion_trigger']();
|
|
19848
17706
|
export const makeOrderPutForm = () => factories['io.flow.v0.models.order_put_form']();
|
|
17707
|
+
export const makeOrderRate = () => factories['io.flow.v0.models.order_rate']();
|
|
19849
17708
|
export const makeOrderReference = () => factories['io.flow.v0.models.order_reference']();
|
|
19850
17709
|
export const makeOrderRefundSummary = () => factories['io.flow.v0.models.order_refund_summary']();
|
|
19851
17710
|
export const makeOrderRefundSummaryAmounts = () => factories['io.flow.v0.models.order_refund_summary_amounts']();
|
|
@@ -19857,14 +17716,11 @@ export const makeOrderRefundSummaryPartialCharged = () => factories['io.flow.v0.
|
|
|
19857
17716
|
export const makeOrderRefundSummaryPartialForm = () => factories['io.flow.v0.models.order_refund_summary_partial_form']();
|
|
19858
17717
|
export const makeOrderRefundSummaryPartialIncludes = () => factories['io.flow.v0.models.order_refund_summary_partial_includes']();
|
|
19859
17718
|
export const makeOrderReplacement = () => factories['io.flow.v0.models.order_replacement']();
|
|
19860
|
-
export const makeOrderReplacementDeleted = () => factories['io.flow.v0.models.order_replacement_deleted']();
|
|
19861
17719
|
export const makeOrderReplacementForm = () => factories['io.flow.v0.models.order_replacement_form']();
|
|
19862
|
-
export const makeOrderReplacementUpserted = () => factories['io.flow.v0.models.order_replacement_upserted']();
|
|
19863
17720
|
export const makeOrderRuleReference = () => factories['io.flow.v0.models.order_rule_reference']();
|
|
19864
17721
|
export const makeOrderRulesSummary = () => factories['io.flow.v0.models.order_rules_summary']();
|
|
19865
17722
|
export const makeOrderServiceChange = () => factories['io.flow.v0.models.order_service_change']();
|
|
19866
17723
|
export const makeOrderServiceChangeForm = () => factories['io.flow.v0.models.order_service_change_form']();
|
|
19867
|
-
export const makeOrderServiceChangeRequest = () => factories['io.flow.v0.models.order_service_change_request']();
|
|
19868
17724
|
export const makeOrderServiceChangeRequestData = () => factories['io.flow.v0.models.order_service_change_request_data']();
|
|
19869
17725
|
export const makeOrderStatus = () => factories['io.flow.v0.enums.order_status']();
|
|
19870
17726
|
export const makeOrderStorage = () => factories['io.flow.v0.enums.order_storage']();
|
|
@@ -19877,7 +17733,6 @@ export const makeOrderSummaryLevy = () => factories['io.flow.v0.models.order_sum
|
|
|
19877
17733
|
export const makeOrderSummaryLineItem = () => factories['io.flow.v0.models.order_summary_line_item']();
|
|
19878
17734
|
export const makeOrderSummaryPriceDetail = () => factories['io.flow.v0.models.order_summary_price_detail']();
|
|
19879
17735
|
export const makeOrderType = () => factories['io.flow.v0.enums.order_type']();
|
|
19880
|
-
export const makeOrderUpserted = () => factories['io.flow.v0.models.order_upserted']();
|
|
19881
17736
|
export const makeOrderUpsertedV2 = () => factories['io.flow.v0.models.order_upserted_v2']();
|
|
19882
17737
|
export const makeOrderVersion = () => factories['io.flow.v0.models.order_version']();
|
|
19883
17738
|
export const makeOrderWithDiscountsForm = () => factories['io.flow.v0.models.order_with_discounts_form']();
|
|
@@ -20110,6 +17965,7 @@ export const makePhysicalDeliveryPreferredService = () => factories['io.flow.v0.
|
|
|
20110
17965
|
export const makePhysicalDeliverySpecialSerivce = () => factories['io.flow.v0.enums.physical_delivery_special_serivce']();
|
|
20111
17966
|
export const makePostPaymentRedirectUrls = () => factories['io.flow.v0.models.post_payment_redirect_urls']();
|
|
20112
17967
|
export const makePostalType = () => factories['io.flow.v0.enums.postal_type']();
|
|
17968
|
+
export const makePreferentialRateEligibility = () => factories['io.flow.v0.enums.preferential_rate_eligibility']();
|
|
20113
17969
|
export const makePreferredServiceSelectionStrategy = () => factories['io.flow.v0.enums.preferred_service_selection_strategy']();
|
|
20114
17970
|
export const makePrice = () => factories['io.flow.v0.models.price']();
|
|
20115
17971
|
export const makePriceAccuracy = () => factories['io.flow.v0.enums.price_accuracy']();
|
|
@@ -20143,10 +17999,8 @@ export const makePriceSourceProvided = () => factories['io.flow.v0.models.price_
|
|
|
20143
17999
|
export const makePriceWithBase = () => factories['io.flow.v0.models.price_with_base']();
|
|
20144
18000
|
export const makePriceWithBaseAndDetails = () => factories['io.flow.v0.models.price_with_base_and_details']();
|
|
20145
18001
|
export const makePricing = () => factories['io.flow.v0.models.pricing']();
|
|
20146
|
-
export const makePricingDeleted = () => factories['io.flow.v0.models.pricing_deleted']();
|
|
20147
18002
|
export const makePricingLevySetting = () => factories['io.flow.v0.enums.pricing_levy_setting']();
|
|
20148
18003
|
export const makePricingSettings = () => factories['io.flow.v0.models.pricing_settings']();
|
|
20149
|
-
export const makePricingUpserted = () => factories['io.flow.v0.models.pricing_upserted']();
|
|
20150
18004
|
export const makePricingVersion = () => factories['io.flow.v0.models.pricing_version']();
|
|
20151
18005
|
export const makeProcessingEstimate = () => factories['io.flow.v0.models.processing_estimate']();
|
|
20152
18006
|
export const makeProduct = () => factories['io.flow.v0.models.product']();
|
|
@@ -20155,9 +18009,11 @@ export const makeProductInserted = () => factories['io.flow.v0.models.product_in
|
|
|
20155
18009
|
export const makeProductRestrictionResult = () => factories['io.flow.v0.models.product_restriction_result']();
|
|
20156
18010
|
export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.product_restriction_result_deleted']();
|
|
20157
18011
|
export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
|
|
20158
|
-
export const
|
|
18012
|
+
export const makeProductSellability = () => factories['io.flow.v0.models.product_sellability']();
|
|
18013
|
+
export const makeProductSellabilityForm = () => factories['io.flow.v0.models.product_sellability_form']();
|
|
20159
18014
|
export const makeProductTaxonomyCategory = () => factories['io.flow.v0.models.product_taxonomy_category']();
|
|
20160
18015
|
export const makeProductTaxonomyData = () => factories['io.flow.v0.models.product_taxonomy_data']();
|
|
18016
|
+
export const makeProductTaxonomyValue = () => factories['io.flow.v0.models.product_taxonomy_value']();
|
|
20161
18017
|
export const makeProductUpdated = () => factories['io.flow.v0.models.product_updated']();
|
|
20162
18018
|
export const makePromotion = () => factories['io.flow.v0.unions.promotion']();
|
|
20163
18019
|
export const makePromotionTrigger = () => factories['io.flow.v0.models.promotion_trigger']();
|
|
@@ -20167,6 +18023,7 @@ export const makePromotions = () => factories['io.flow.v0.models.promotions']();
|
|
|
20167
18023
|
export const makeProvince = () => factories['io.flow.v0.models.province']();
|
|
20168
18024
|
export const makeProvinceType = () => factories['io.flow.v0.enums.province_type']();
|
|
20169
18025
|
export const makePublicKey = () => factories['io.flow.v0.models.public_key']();
|
|
18026
|
+
export const makePurchasePriceBreakdown = () => factories['io.flow.v0.models.purchase_price_breakdown']();
|
|
20170
18027
|
export const makeQuery = () => factories['io.flow.v0.models.query']();
|
|
20171
18028
|
export const makeQueryBuilder = () => factories['io.flow.v0.models.query_builder']();
|
|
20172
18029
|
export const makeQueryBuilderFilterForm = () => factories['io.flow.v0.models.query_builder_filter_form']();
|
|
@@ -20302,6 +18159,9 @@ export const makeRounding = () => factories['io.flow.v0.models.rounding']();
|
|
|
20302
18159
|
export const makeRoundingMethod = () => factories['io.flow.v0.enums.rounding_method']();
|
|
20303
18160
|
export const makeRoundingType = () => factories['io.flow.v0.enums.rounding_type']();
|
|
20304
18161
|
export const makeRouteAudit = () => factories['io.flow.v0.models.route_audit']();
|
|
18162
|
+
export const makeRuleEffectType = () => factories['io.flow.v0.enums.rule_effect_type']();
|
|
18163
|
+
export const makeSarveshItemDeleted = () => factories['io.flow.v0.models.sarvesh_item_deleted']();
|
|
18164
|
+
export const makeSarveshItemUpserted = () => factories['io.flow.v0.models.sarvesh_item_upserted']();
|
|
20305
18165
|
export const makeSchedule = () => factories['io.flow.v0.models.schedule']();
|
|
20306
18166
|
export const makeScheduleExceptionStatus = () => factories['io.flow.v0.enums.schedule_exception_status']();
|
|
20307
18167
|
export const makeScheduledExport = () => factories['io.flow.v0.models.scheduled_export']();
|
|
@@ -20311,6 +18171,11 @@ export const makeSdkAdyenV3AuthenticationToken = () => factories['io.flow.v0.uni
|
|
|
20311
18171
|
export const makeSecurityRatecardFee = () => factories['io.flow.v0.models.security_ratecard_fee']();
|
|
20312
18172
|
export const makeSecurityServiceFee = () => factories['io.flow.v0.models.security_service_fee']();
|
|
20313
18173
|
export const makeSelectIssuerOptionActionDetails = () => factories['io.flow.v0.models.select_issuer_option_action_details']();
|
|
18174
|
+
export const makeSellabilityError = () => factories['io.flow.v0.models.sellability_error']();
|
|
18175
|
+
export const makeSellabilityErrorCode = () => factories['io.flow.v0.enums.sellability_error_code']();
|
|
18176
|
+
export const makeSellabilityRequestStatus = () => factories['io.flow.v0.enums.sellability_request_status']();
|
|
18177
|
+
export const makeSellabilityResponse = () => factories['io.flow.v0.unions.sellability_response']();
|
|
18178
|
+
export const makeSellablilityRegionResult = () => factories['io.flow.v0.models.sellablility_region_result']();
|
|
20314
18179
|
export const makeServiceDescription = () => factories['io.flow.v0.unions.service_description']();
|
|
20315
18180
|
export const makeServiceFee = () => factories['io.flow.v0.unions.service_fee']();
|
|
20316
18181
|
export const makeServiceReference = () => factories['io.flow.v0.models.service_reference']();
|
|
@@ -20435,6 +18300,7 @@ export const makeStatementDeleted = () => factories['io.flow.v0.models.statement
|
|
|
20435
18300
|
export const makeStatementUpserted = () => factories['io.flow.v0.models.statement_upserted']();
|
|
20436
18301
|
export const makeStoredMethodUsageStep = () => factories['io.flow.v0.enums.stored_method_usage_step']();
|
|
20437
18302
|
export const makeStrategy = () => factories['io.flow.v0.enums.strategy']();
|
|
18303
|
+
export const makeStreetAddress = () => factories['io.flow.v0.models.street_address']();
|
|
20438
18304
|
export const makeStripeAuthenticationData = () => factories['io.flow.v0.models.stripe_authentication_data']();
|
|
20439
18305
|
export const makeStripeAuthenticationDataForm = () => factories['io.flow.v0.models.stripe_authentication_data_form']();
|
|
20440
18306
|
export const makeStripeAuthorizationResultActionDetails = () => factories['io.flow.v0.models.stripe_authorization_result_action_details']();
|
|
@@ -20462,6 +18328,18 @@ export const makeSurchargeSetting = () => factories['io.flow.v0.models.surcharge
|
|
|
20462
18328
|
export const makeSurchargeSettingDisplay = () => factories['io.flow.v0.models.surcharge_setting_display']();
|
|
20463
18329
|
export const makeTax = () => factories['io.flow.v0.models.tax']();
|
|
20464
18330
|
export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
|
|
18331
|
+
export const makeTaxDutyCalculatorValidationError = () => factories['io.flow.v0.models.tax_duty_calculator_validation_error']();
|
|
18332
|
+
export const makeTaxDutyCalculatorValidationErrorCode = () => factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code']();
|
|
18333
|
+
export const makeTaxDutyQuote = () => factories['io.flow.v0.models.tax_duty_quote']();
|
|
18334
|
+
export const makeTaxDutyQuoteFeeValue = () => factories['io.flow.v0.models.tax_duty_quote_fee_value']();
|
|
18335
|
+
export const makeTaxDutyQuoteForm = () => factories['io.flow.v0.models.tax_duty_quote_form']();
|
|
18336
|
+
export const makeTaxDutyQuoteLevyValue = () => factories['io.flow.v0.unions.tax_duty_quote_levy_value']();
|
|
18337
|
+
export const makeTaxDutyQuoteLineItem = () => factories['io.flow.v0.models.tax_duty_quote_line_item']();
|
|
18338
|
+
export const makeTaxDutyQuoteLineItemForm = () => factories['io.flow.v0.models.tax_duty_quote_line_item_form']();
|
|
18339
|
+
export const makeTaxDutyQuoteSimpleLevyValue = () => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']();
|
|
18340
|
+
export const makeTaxDutyQuoteSimpleShipping = () => factories['io.flow.v0.models.tax_duty_quote_simple_shipping']();
|
|
18341
|
+
export const makeTaxDutyQuoteSimpleShippingForm = () => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']();
|
|
18342
|
+
export const makeTaxDutyQuoteValues = () => factories['io.flow.v0.models.tax_duty_quote_values']();
|
|
20465
18343
|
export const makeTaxDutyTransactionReasonCode = () => factories['io.flow.v0.enums.tax_duty_transaction_reason_code']();
|
|
20466
18344
|
export const makeTaxRegistration = () => factories['io.flow.v0.models.tax_registration']();
|
|
20467
18345
|
export const makeTaxRegistrationForm = () => factories['io.flow.v0.models.tax_registration_form']();
|
|
@@ -20616,4 +18494,5 @@ export const makeWebhookStatus = () => factories['io.flow.v0.enums.webhook_statu
|
|
|
20616
18494
|
export const makeWithholdingDeduction = () => factories['io.flow.v0.models.withholding_deduction']();
|
|
20617
18495
|
export const makeWithholdingDeductionType = () => factories['io.flow.v0.enums.withholding_deduction_type']();
|
|
20618
18496
|
export const makeZeroAmountIndicator = () => factories['io.flow.v0.enums.zero_amount_indicator']();
|
|
18497
|
+
export const makeZeroLevyReasonCode = () => factories['io.flow.v0.enums.zero_levy_reason_code']();
|
|
20619
18498
|
export const makeZone = () => factories['io.flow.v0.models.zone']();
|