@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/dist/esm/api.js
CHANGED
|
@@ -115,289 +115,6 @@ var factories = {
|
|
|
115
115
|
]);
|
|
116
116
|
return f();
|
|
117
117
|
},
|
|
118
|
-
'io.flow.catalog.v0.enums.adjustment_reason_key': function () { return faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']); },
|
|
119
|
-
'io.flow.catalog.v0.enums.attribute_intent': function () { return faker.helpers.arrayElement([
|
|
120
|
-
'brand',
|
|
121
|
-
'color',
|
|
122
|
-
'countries_of_origin',
|
|
123
|
-
'product_id',
|
|
124
|
-
'fulfillment_method',
|
|
125
|
-
'hazardous',
|
|
126
|
-
'price',
|
|
127
|
-
'size',
|
|
128
|
-
'sku',
|
|
129
|
-
'taxability',
|
|
130
|
-
'consumer_url',
|
|
131
|
-
'gtin',
|
|
132
|
-
'mpn',
|
|
133
|
-
'facet',
|
|
134
|
-
'eccn',
|
|
135
|
-
'returnable',
|
|
136
|
-
'searchable',
|
|
137
|
-
'barcode',
|
|
138
|
-
'min_days_to_ship',
|
|
139
|
-
'max_days_to_ship',
|
|
140
|
-
'commercial_invoice_item_number',
|
|
141
|
-
'include_in_product_feeds',
|
|
142
|
-
]); },
|
|
143
|
-
'io.flow.catalog.v0.enums.fulfillment_method_type': function () { return faker.helpers.arrayElement(['fulfillment_method']); },
|
|
144
|
-
'io.flow.catalog.v0.enums.fulfillment_method_value': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
145
|
-
'io.flow.catalog.v0.enums.image_tag': function () { return faker.helpers.arrayElement(['thumbnail', 'checkout']); },
|
|
146
|
-
'io.flow.catalog.v0.enums.return_item_status': function () { return faker.helpers.arrayElement(['returnable', 'non-returnable']); },
|
|
147
|
-
'io.flow.catalog.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
148
|
-
'io.flow.catalog.v0.enums.taxability_type': function () { return faker.helpers.arrayElement(['tax_rule']); },
|
|
149
|
-
'io.flow.catalog.v0.enums.taxability_value': function () { return faker.helpers.arrayElement(['exempt']); },
|
|
150
|
-
'io.flow.catalog.v0.enums.update_policy': function () { return faker.helpers.arrayElement(['auto', 'queue', 'discard']); },
|
|
151
|
-
'io.flow.catalog.v0.models.adjustment_reason': function () { return ({
|
|
152
|
-
key: factories['io.flow.catalog.v0.enums.adjustment_reason_key'](),
|
|
153
|
-
label: factories.string(),
|
|
154
|
-
}); },
|
|
155
|
-
'io.flow.catalog.v0.models.attribute': function () { return ({
|
|
156
|
-
id: factories.string(),
|
|
157
|
-
key: factories.string(),
|
|
158
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
159
|
-
label: factories.string(),
|
|
160
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
161
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
162
|
-
position: factories.long(),
|
|
163
|
-
}); },
|
|
164
|
-
'io.flow.catalog.v0.models.attribute_form': function () { return ({
|
|
165
|
-
key: factories.string(),
|
|
166
|
-
options: factories['io.flow.catalog.v0.models.options'](),
|
|
167
|
-
label: factories.string(),
|
|
168
|
-
intent: factories['io.flow.catalog.v0.enums.attribute_intent'](),
|
|
169
|
-
type: factories['io.flow.common.v0.enums.attribute_data_type'](),
|
|
170
|
-
position: factories.long(),
|
|
171
|
-
}); },
|
|
172
|
-
'io.flow.catalog.v0.models.attribute_version': function () { return ({
|
|
173
|
-
id: factories.string(),
|
|
174
|
-
timestamp: factories.date_time_iso_8601(),
|
|
175
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
176
|
-
attribute: factories['io.flow.catalog.v0.models.attribute'](),
|
|
177
|
-
}); },
|
|
178
|
-
'io.flow.catalog.v0.models.catalog': function () { return ({
|
|
179
|
-
id: factories.string(),
|
|
180
|
-
}); },
|
|
181
|
-
'io.flow.catalog.v0.models.catalog_reference': function () { return ({
|
|
182
|
-
id: factories.string(),
|
|
183
|
-
}); },
|
|
184
|
-
'io.flow.catalog.v0.models.catalog_statistics': function () { return ({
|
|
185
|
-
id: factories.string(),
|
|
186
|
-
items: factories.long(),
|
|
187
|
-
categories: factories.long(),
|
|
188
|
-
}); },
|
|
189
|
-
'io.flow.catalog.v0.models.catalog_version': function () { return ({
|
|
190
|
-
id: factories.string(),
|
|
191
|
-
timestamp: factories.date_time_iso_8601(),
|
|
192
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
193
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
194
|
-
}); },
|
|
195
|
-
'io.flow.catalog.v0.models.flow_item_index_metadata': function () { return ({
|
|
196
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
197
|
-
}); },
|
|
198
|
-
'io.flow.catalog.v0.models.image': function () { return ({
|
|
199
|
-
url: factories.string(),
|
|
200
|
-
tags: arrayOf(function () { return factories['io.flow.catalog.v0.enums.image_tag'](); }),
|
|
201
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
202
|
-
}); },
|
|
203
|
-
'io.flow.catalog.v0.models.image_form': function () { return ({
|
|
204
|
-
url: factories.string(),
|
|
205
|
-
tags: arrayOf(function () { return factories['io.flow.catalog.v0.enums.image_tag'](); }),
|
|
206
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
207
|
-
}); },
|
|
208
|
-
'io.flow.catalog.v0.models.item': function () { return ({
|
|
209
|
-
id: factories.string(),
|
|
210
|
-
number: factories.string(),
|
|
211
|
-
locale: factories.string(),
|
|
212
|
-
name: factories.string(),
|
|
213
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
214
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
215
|
-
description: factories.string(),
|
|
216
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
217
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
218
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
219
|
-
local: factories['io.flow.catalog.v0.models.local'](),
|
|
220
|
-
created_at: factories.date_time_iso_8601(),
|
|
221
|
-
updated_at: factories.date_time_iso_8601(),
|
|
222
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
223
|
-
}); },
|
|
224
|
-
'io.flow.catalog.v0.models.item_attributes_patch_form': function () { return ({
|
|
225
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
226
|
-
}); },
|
|
227
|
-
'io.flow.catalog.v0.models.item_form': function () { return ({
|
|
228
|
-
number: factories.string(),
|
|
229
|
-
locale: factories.string(),
|
|
230
|
-
name: factories.string(),
|
|
231
|
-
currency: factories.string(),
|
|
232
|
-
price: factories.double(),
|
|
233
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
234
|
-
description: factories.string(),
|
|
235
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
236
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
237
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
238
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
239
|
-
}); },
|
|
240
|
-
'io.flow.catalog.v0.models.item_form_overlay': function () { return ({
|
|
241
|
-
id: factories.string(),
|
|
242
|
-
number: factories.string(),
|
|
243
|
-
key: factories.string(),
|
|
244
|
-
position: factories.long(),
|
|
245
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
246
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
247
|
-
description: factories.string(),
|
|
248
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
249
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
250
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
251
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
252
|
-
}); },
|
|
253
|
-
'io.flow.catalog.v0.models.item_form_overlay_form': function () { return ({
|
|
254
|
-
number: factories.string(),
|
|
255
|
-
price: factories.double(),
|
|
256
|
-
currency: factories.string(),
|
|
257
|
-
position: factories.long(),
|
|
258
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
259
|
-
description: factories.string(),
|
|
260
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
261
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
262
|
-
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image_form'](); }),
|
|
263
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
264
|
-
}); },
|
|
265
|
-
'io.flow.catalog.v0.models.item_price_update_form': function () { return ({
|
|
266
|
-
number: factories.string(),
|
|
267
|
-
currency: factories.string(),
|
|
268
|
-
price: factories.decimal(),
|
|
269
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
270
|
-
}); },
|
|
271
|
-
'io.flow.catalog.v0.models.item_price_update_put_form': function () { return ({
|
|
272
|
-
currency: factories.string(),
|
|
273
|
-
price: factories.decimal(),
|
|
274
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
275
|
-
}); },
|
|
276
|
-
'io.flow.catalog.v0.models.item_statistics': function () { return ({
|
|
277
|
-
items: factories.long(),
|
|
278
|
-
categories: factories.long(),
|
|
279
|
-
}); },
|
|
280
|
-
'io.flow.catalog.v0.models.item_version': function () { return ({
|
|
281
|
-
id: factories.string(),
|
|
282
|
-
timestamp: factories.date_time_iso_8601(),
|
|
283
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
284
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
285
|
-
}); },
|
|
286
|
-
'io.flow.catalog.v0.models.local': function () { return ({
|
|
287
|
-
experience: factories['io.flow.common.v0.models.experience_summary'](),
|
|
288
|
-
prices: arrayOf(function () { return factories['io.flow.catalog.v0.unions.localized_price'](); }),
|
|
289
|
-
rates: arrayOf(function () { return factories['io.flow.currency.v0.models.rate'](); }),
|
|
290
|
-
spot_rates: arrayOf(function () { return factories.object(); }),
|
|
291
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
292
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
293
|
-
price_attributes: objectOf(function () { return factories['io.flow.common.v0.models.price_with_base'](); }),
|
|
294
|
-
}); },
|
|
295
|
-
'io.flow.catalog.v0.models.localized_adjustment': function () { return ({
|
|
296
|
-
currency: factories.string(),
|
|
297
|
-
amount: factories.double(),
|
|
298
|
-
label: factories.string(),
|
|
299
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
300
|
-
reason: factories['io.flow.catalog.v0.models.adjustment_reason'](),
|
|
301
|
-
}); },
|
|
302
|
-
'io.flow.catalog.v0.models.localized_item_duty': function () { return ({
|
|
303
|
-
key: 'localized_item_duty',
|
|
304
|
-
currency: factories.string(),
|
|
305
|
-
amount: factories.double(),
|
|
306
|
-
label: factories.string(),
|
|
307
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
308
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
309
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
310
|
-
}); },
|
|
311
|
-
'io.flow.catalog.v0.models.localized_item_price': function () { return ({
|
|
312
|
-
key: 'localized_item_price',
|
|
313
|
-
currency: factories.string(),
|
|
314
|
-
amount: factories.double(),
|
|
315
|
-
label: factories.string(),
|
|
316
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
317
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
318
|
-
}); },
|
|
319
|
-
'io.flow.catalog.v0.models.localized_item_vat': function () { return ({
|
|
320
|
-
key: 'localized_item_vat',
|
|
321
|
-
currency: factories.string(),
|
|
322
|
-
amount: factories.double(),
|
|
323
|
-
label: factories.string(),
|
|
324
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
325
|
-
name: factories.string(),
|
|
326
|
-
adjustment: factories['io.flow.catalog.v0.models.localized_adjustment'](),
|
|
327
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
328
|
-
basis: factories['io.flow.common.v0.models.money_with_base'](),
|
|
329
|
-
}); },
|
|
330
|
-
'io.flow.catalog.v0.models.localized_total': function () { return ({
|
|
331
|
-
key: 'localized_total',
|
|
332
|
-
currency: factories.string(),
|
|
333
|
-
amount: factories.double(),
|
|
334
|
-
label: factories.string(),
|
|
335
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
336
|
-
}); },
|
|
337
|
-
'io.flow.catalog.v0.models.options': function () { return ({
|
|
338
|
-
required: factories.boolean(),
|
|
339
|
-
show_in_catalog: factories.boolean(),
|
|
340
|
-
show_in_harmonization: factories.boolean(),
|
|
341
|
-
}); },
|
|
342
|
-
'io.flow.catalog.v0.models.subcatalog': function () { return ({
|
|
343
|
-
discriminator: 'subcatalog',
|
|
344
|
-
id: factories.string(),
|
|
345
|
-
catalog: factories['io.flow.catalog.v0.models.catalog'](),
|
|
346
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings'](),
|
|
347
|
-
}); },
|
|
348
|
-
'io.flow.catalog.v0.models.subcatalog_form': function () { return ({
|
|
349
|
-
settings: factories['io.flow.catalog.v0.models.subcatalog_settings_form'](),
|
|
350
|
-
}); },
|
|
351
|
-
'io.flow.catalog.v0.models.subcatalog_item': function () { return ({
|
|
352
|
-
id: factories.string(),
|
|
353
|
-
item: factories['io.flow.catalog.v0.models.item'](),
|
|
354
|
-
status: factories['io.flow.catalog.v0.enums.subcatalog_item_status'](),
|
|
355
|
-
}); },
|
|
356
|
-
'io.flow.catalog.v0.models.subcatalog_item_version': function () { return ({
|
|
357
|
-
id: factories.string(),
|
|
358
|
-
timestamp: factories.date_time_iso_8601(),
|
|
359
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
360
|
-
subcatalog_item: factories['io.flow.catalog.v0.models.subcatalog_item'](),
|
|
361
|
-
}); },
|
|
362
|
-
'io.flow.catalog.v0.models.subcatalog_reference': function () { return ({
|
|
363
|
-
discriminator: 'subcatalog_reference',
|
|
364
|
-
id: factories.string(),
|
|
365
|
-
}); },
|
|
366
|
-
'io.flow.catalog.v0.models.subcatalog_settings': function () { return ({
|
|
367
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
368
|
-
}); },
|
|
369
|
-
'io.flow.catalog.v0.models.subcatalog_settings_form': function () { return ({
|
|
370
|
-
update_policy: factories['io.flow.catalog.v0.enums.update_policy'](),
|
|
371
|
-
}); },
|
|
372
|
-
'io.flow.catalog.v0.models.subcatalog_statistics': function () { return ({
|
|
373
|
-
excluded: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
374
|
-
included: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
375
|
-
restricted: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
376
|
-
queue: factories['io.flow.catalog.v0.models.item_statistics'](),
|
|
377
|
-
catalog: factories['io.flow.catalog.v0.models.catalog_statistics'](),
|
|
378
|
-
}); },
|
|
379
|
-
'io.flow.catalog.v0.models.subcatalog_version': function () { return ({
|
|
380
|
-
id: factories.string(),
|
|
381
|
-
timestamp: factories.date_time_iso_8601(),
|
|
382
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
383
|
-
subcatalog: factories['io.flow.catalog.v0.models.subcatalog'](),
|
|
384
|
-
}); },
|
|
385
|
-
'io.flow.catalog.v0.unions.expandable_subcatalog': function () {
|
|
386
|
-
var f = faker.helpers.arrayElement([
|
|
387
|
-
function () { return factories['io.flow.catalog.v0.models.subcatalog'](); },
|
|
388
|
-
function () { return factories['io.flow.catalog.v0.models.subcatalog_reference'](); },
|
|
389
|
-
]);
|
|
390
|
-
return f();
|
|
391
|
-
},
|
|
392
|
-
'io.flow.catalog.v0.unions.localized_price': function () {
|
|
393
|
-
var f = faker.helpers.arrayElement([
|
|
394
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_price'](); },
|
|
395
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_vat'](); },
|
|
396
|
-
function () { return factories['io.flow.catalog.v0.models.localized_item_duty'](); },
|
|
397
|
-
function () { return factories['io.flow.catalog.v0.models.localized_total'](); },
|
|
398
|
-
]);
|
|
399
|
-
return f();
|
|
400
|
-
},
|
|
401
118
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker.helpers.arrayElement(['auto_reject', 'auto_accept']); },
|
|
402
119
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
|
|
403
120
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': function () { return faker.helpers.arrayElement([
|
|
@@ -462,6 +179,7 @@ var factories = {
|
|
|
462
179
|
channel_id: factories.string(),
|
|
463
180
|
external_order_reference: factories.string(),
|
|
464
181
|
payment_request_id: factories.string(),
|
|
182
|
+
order_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
465
183
|
order_edit_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
466
184
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
467
185
|
reasons: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](); }),
|
|
@@ -1006,1593 +724,162 @@ var factories = {
|
|
|
1006
724
|
]);
|
|
1007
725
|
return f();
|
|
1008
726
|
},
|
|
1009
|
-
'io.flow.currency.v0.models.rate': function () { return ({
|
|
1010
|
-
id: factories.string(),
|
|
1011
|
-
base: factories.string(),
|
|
1012
|
-
target: factories.string(),
|
|
1013
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1014
|
-
value: factories.decimal(),
|
|
1015
|
-
}); },
|
|
1016
|
-
'io.flow.currency.v0.models.rate_form': function () { return ({
|
|
1017
|
-
base: factories.string(),
|
|
1018
|
-
target: factories.string(),
|
|
1019
|
-
effective_at: factories.date_time_iso_8601(),
|
|
1020
|
-
}); },
|
|
1021
|
-
'io.flow.currency.v0.models.rate_version': function () { return ({
|
|
1022
|
-
id: factories.string(),
|
|
1023
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1024
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1025
|
-
rate: factories['io.flow.currency.v0.models.rate'](),
|
|
1026
|
-
}); },
|
|
1027
727
|
'io.flow.error.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
1028
728
|
'io.flow.error.v0.models.generic_error': function () { return ({
|
|
1029
729
|
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
1030
730
|
messages: arrayOf(function () { return factories.string(); }),
|
|
1031
731
|
}); },
|
|
1032
|
-
'io.flow.
|
|
1033
|
-
'io.flow.
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
'ratecard_peak_surcharge_fee',
|
|
1041
|
-
'ratecard_duties_taxes_paid_surcharge_fee',
|
|
1042
|
-
'center_commercial_invoice_fee',
|
|
1043
|
-
'center_inbound_carton_fee',
|
|
1044
|
-
'center_outbound_carton_fee',
|
|
1045
|
-
]); },
|
|
1046
|
-
'io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source': function () { return faker.helpers.arrayElement(['center', 'ratecard']); },
|
|
1047
|
-
'io.flow.fulfillment.v0.enums.delivery_window_component_source': function () { return faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']); },
|
|
1048
|
-
'io.flow.fulfillment.v0.enums.delivery_window_location': function () { return faker.helpers.arrayElement(['center', 'crossdock', 'customer']); },
|
|
1049
|
-
'io.flow.fulfillment.v0.enums.fulfillment_routing': function () { return faker.helpers.arrayElement(['fulfilled_from_center', 'fulfillment_service']); },
|
|
1050
|
-
'io.flow.fulfillment.v0.enums.item_availability_status': function () { return faker.helpers.arrayElement(['available', 'low', 'out_of_stock']); },
|
|
1051
|
-
'io.flow.fulfillment.v0.enums.lane_direction': function () { return faker.helpers.arrayElement(['outbound', 'return']); },
|
|
1052
|
-
'io.flow.fulfillment.v0.enums.lane_preselect_preference': function () { return faker.helpers.arrayElement(['lowest_cost', 'default_tier']); },
|
|
1053
|
-
'io.flow.fulfillment.v0.enums.lane_strategy': function () { return faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']); },
|
|
1054
|
-
'io.flow.fulfillment.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
1055
|
-
'io.flow.fulfillment.v0.enums.preferred_service_selection_strategy': function () { return faker.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']); },
|
|
1056
|
-
'io.flow.fulfillment.v0.enums.quote_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']); },
|
|
1057
|
-
'io.flow.fulfillment.v0.enums.ratecard_owner': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
1058
|
-
'io.flow.fulfillment.v0.enums.shipment_integration_type': function () { return faker.helpers.arrayElement(['direct', 'information', 'preadvice']); },
|
|
1059
|
-
'io.flow.fulfillment.v0.enums.shipping_configuration_type': function () { return faker.helpers.arrayElement(['default', 'variant']); },
|
|
1060
|
-
'io.flow.fulfillment.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
|
|
1061
|
-
'io.flow.fulfillment.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
|
|
1062
|
-
'io.flow.fulfillment.v0.enums.tier_availability': function () { return faker.helpers.arrayElement(['always', 'backup']); },
|
|
1063
|
-
'io.flow.fulfillment.v0.enums.tier_estimate_type': function () { return faker.helpers.arrayElement(['calculated', 'custom']); },
|
|
1064
|
-
'io.flow.fulfillment.v0.enums.tier_strategy': function () { return faker.helpers.arrayElement(['fastest', 'lowest_cost']); },
|
|
1065
|
-
'io.flow.fulfillment.v0.enums.zero_amount_indicator': function () { return faker.helpers.arrayElement(['zero', 'free']); },
|
|
1066
|
-
'io.flow.fulfillment.v0.models.amount_margin': function () { return ({
|
|
1067
|
-
discriminator: 'amount_margin',
|
|
1068
|
-
margin: factories['io.flow.common.v0.models.price'](),
|
|
1069
|
-
}); },
|
|
1070
|
-
'io.flow.fulfillment.v0.models.amount_margin_form': function () { return ({
|
|
1071
|
-
discriminator: 'amount_margin_form',
|
|
1072
|
-
margin: factories['io.flow.common.v0.models.money'](),
|
|
1073
|
-
}); },
|
|
1074
|
-
'io.flow.fulfillment.v0.models.at_cost': function () { return ({
|
|
1075
|
-
discriminator: 'at_cost',
|
|
1076
|
-
ignore: factories.string(),
|
|
1077
|
-
}); },
|
|
1078
|
-
'io.flow.fulfillment.v0.models.available_service': function () { return ({
|
|
1079
|
-
service: factories.string(),
|
|
1080
|
-
scheduled_pickups: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.scheduled_pickup'](); }),
|
|
1081
|
-
lead_days: factories['io.flow.fulfillment.v0.models.number_range'](),
|
|
1082
|
-
}); },
|
|
1083
|
-
'io.flow.fulfillment.v0.models.carrier_reference': function () { return ({
|
|
1084
|
-
id: factories.string(),
|
|
1085
|
-
}); },
|
|
1086
|
-
'io.flow.fulfillment.v0.models.center': function () { return ({
|
|
1087
|
-
discriminator: 'center',
|
|
1088
|
-
id: factories.string(),
|
|
1089
|
-
key: factories.string(),
|
|
1090
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1091
|
-
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
1092
|
-
name: factories.string(),
|
|
1093
|
-
services: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.available_service'](); }),
|
|
1094
|
-
schedule: factories['io.flow.common.v0.models.schedule'](),
|
|
1095
|
-
timezone: factories.string(),
|
|
1096
|
-
capabilities: arrayOf(function () { return factories['io.flow.fulfillment.v0.enums.center_capability'](); }),
|
|
1097
|
-
partner_center: factories['io.flow.fulfillment.v0.models.partner_center'](),
|
|
1098
|
-
}); },
|
|
1099
|
-
'io.flow.fulfillment.v0.models.center_form': function () { return ({
|
|
1100
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1101
|
-
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
732
|
+
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
733
|
+
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.helpers.arrayElement(['MIN', 'FULL']); },
|
|
734
|
+
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.helpers.arrayElement(['adyen', 'stripe']); },
|
|
735
|
+
'io.flow.google.pay.v0.enums.card_network': function () { return faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']); },
|
|
736
|
+
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['CARD']); },
|
|
737
|
+
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']); },
|
|
738
|
+
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']); },
|
|
739
|
+
'io.flow.google.pay.v0.models.address': function () { return ({
|
|
1102
740
|
name: factories.string(),
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
'io.flow.fulfillment.v0.models.center_reference': function () { return ({
|
|
1114
|
-
discriminator: 'center_reference',
|
|
1115
|
-
organization_id: factories.string(),
|
|
1116
|
-
center_key: factories.string(),
|
|
1117
|
-
}); },
|
|
1118
|
-
'io.flow.fulfillment.v0.models.center_summary': function () { return ({
|
|
1119
|
-
id: factories.string(),
|
|
1120
|
-
key: factories.string(),
|
|
1121
|
-
address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
741
|
+
postalCode: factories.string(),
|
|
742
|
+
countryCode: factories.string(),
|
|
743
|
+
phoneNumber: factories.string(),
|
|
744
|
+
companyName: factories.string(),
|
|
745
|
+
address1: factories.string(),
|
|
746
|
+
address2: factories.string(),
|
|
747
|
+
address3: factories.string(),
|
|
748
|
+
locality: factories.string(),
|
|
749
|
+
administrativeArea: factories.string(),
|
|
750
|
+
sortingCode: factories.string(),
|
|
1122
751
|
}); },
|
|
1123
|
-
'io.flow.
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1127
|
-
center: factories['io.flow.fulfillment.v0.models.center'](),
|
|
752
|
+
'io.flow.google.pay.v0.models.billing_address_parameters': function () { return ({
|
|
753
|
+
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
754
|
+
phoneNumberRequired: factories.boolean(),
|
|
1128
755
|
}); },
|
|
1129
|
-
'io.flow.
|
|
1130
|
-
|
|
1131
|
-
|
|
756
|
+
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': function () { return ({
|
|
757
|
+
gateway: factories.string(),
|
|
758
|
+
gatewayMerchantId: factories.string(),
|
|
1132
759
|
}); },
|
|
1133
|
-
'io.flow.
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
}); },
|
|
1137
|
-
'io.flow.fulfillment.v0.models.country_shipping_pricing': function () { return ({
|
|
1138
|
-
pricing: factories['io.flow.fulfillment.v0.models.item_shipping_pricing'](),
|
|
1139
|
-
countries: arrayOf(function () { return factories.string(); }),
|
|
1140
|
-
}); },
|
|
1141
|
-
'io.flow.fulfillment.v0.models.delivery_item': function () { return ({
|
|
1142
|
-
id: factories.string(),
|
|
1143
|
-
number: factories.string(),
|
|
1144
|
-
quantity: factories.long(),
|
|
1145
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1146
|
-
price: factories['io.flow.common.v0.models.money_with_optional_base'](),
|
|
1147
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
1148
|
-
center: factories.string(),
|
|
1149
|
-
line_number: factories.long(),
|
|
1150
|
-
}); },
|
|
1151
|
-
'io.flow.fulfillment.v0.models.delivery_option': function () { return ({
|
|
1152
|
-
id: factories.string(),
|
|
1153
|
-
cost: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1154
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1155
|
-
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1156
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1157
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1158
|
-
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1159
|
-
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1160
|
-
weight: factories['io.flow.fulfillment.v0.models.option_weight_estimates'](),
|
|
1161
|
-
send_to: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1162
|
-
surcharge: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
1163
|
-
ratecard_owner: factories['io.flow.fulfillment.v0.enums.ratecard_owner'](),
|
|
1164
|
-
}); },
|
|
1165
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_component': function () { return ({
|
|
1166
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1167
|
-
currency: factories.string(),
|
|
1168
|
-
amount: factories.decimal(),
|
|
1169
|
-
label: factories.string(),
|
|
1170
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1171
|
-
}); },
|
|
1172
|
-
'io.flow.fulfillment.v0.models.delivery_option_cost_detail': function () { return ({
|
|
1173
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source'](),
|
|
1174
|
-
ratecard_id: factories.string(),
|
|
1175
|
-
currency: factories.string(),
|
|
1176
|
-
amount: factories.decimal(),
|
|
1177
|
-
label: factories.string(),
|
|
1178
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1179
|
-
components: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_cost_component'](); }),
|
|
1180
|
-
}); },
|
|
1181
|
-
'io.flow.fulfillment.v0.models.delivery_option_form': function () { return ({
|
|
1182
|
-
delivery: factories.string(),
|
|
1183
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.quote_line_item_form'](); }),
|
|
1184
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1185
|
-
}); },
|
|
1186
|
-
'io.flow.fulfillment.v0.models.delivery_option_reference': function () { return ({
|
|
1187
|
-
id: factories.string(),
|
|
1188
|
-
}); },
|
|
1189
|
-
'io.flow.fulfillment.v0.models.delivery_option_summary': function () { return ({
|
|
1190
|
-
id: factories.string(),
|
|
1191
|
-
cost: factories['io.flow.common.v0.models.price'](),
|
|
1192
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1193
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1194
|
-
service: factories['io.flow.fulfillment.v0.models.service_reference'](),
|
|
1195
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1196
|
-
window: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1197
|
-
}); },
|
|
1198
|
-
'io.flow.fulfillment.v0.models.delivery_option_version': function () { return ({
|
|
1199
|
-
id: factories.string(),
|
|
1200
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1201
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1202
|
-
delivery_option: factories['io.flow.fulfillment.v0.models.delivery_option_summary'](),
|
|
1203
|
-
}); },
|
|
1204
|
-
'io.flow.fulfillment.v0.models.delivery_summary': function () { return ({
|
|
1205
|
-
id: factories.string(),
|
|
1206
|
-
items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
1207
|
-
}); },
|
|
1208
|
-
'io.flow.fulfillment.v0.models.delivery_version': function () { return ({
|
|
1209
|
-
id: factories.string(),
|
|
1210
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1211
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1212
|
-
delivery: factories['io.flow.fulfillment.v0.models.delivery_summary'](),
|
|
1213
|
-
}); },
|
|
1214
|
-
'io.flow.fulfillment.v0.models.delivery_window': function () { return ({
|
|
1215
|
-
from: factories.date_time_iso_8601(),
|
|
1216
|
-
to: factories.date_time_iso_8601(),
|
|
1217
|
-
timezone: factories.string(),
|
|
1218
|
-
label: factories.string(),
|
|
1219
|
-
min_days: factories.long(),
|
|
1220
|
-
max_days: factories.long(),
|
|
1221
|
-
}); },
|
|
1222
|
-
'io.flow.fulfillment.v0.models.delivery_window_component': function () { return ({
|
|
1223
|
-
from: factories.date_time_iso_8601(),
|
|
1224
|
-
to: factories.date_time_iso_8601(),
|
|
1225
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1226
|
-
}); },
|
|
1227
|
-
'io.flow.fulfillment.v0.models.delivery_window_components': function () { return ({
|
|
1228
|
-
shipment_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1229
|
-
transit_estimate: factories['io.flow.fulfillment.v0.models.delivery_window_component'](),
|
|
1230
|
-
}); },
|
|
1231
|
-
'io.flow.fulfillment.v0.models.delivery_window_components_v2': function () { return ({
|
|
1232
|
-
processing_estimates: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.processing_estimate'](); }),
|
|
1233
|
-
transit_estimates: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.transit_estimate'](); }),
|
|
1234
|
-
}); },
|
|
1235
|
-
'io.flow.fulfillment.v0.models.delivery_window_summary': function () { return ({
|
|
1236
|
-
country: factories.string(),
|
|
1237
|
-
delivery_window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
1238
|
-
}); },
|
|
1239
|
-
'io.flow.fulfillment.v0.models.digital_delivery': function () { return ({
|
|
1240
|
-
discriminator: 'digital_delivery',
|
|
1241
|
-
id: factories.string(),
|
|
1242
|
-
key: factories.string(),
|
|
1243
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_item'](); }),
|
|
1244
|
-
prices: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail'](); }),
|
|
1245
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1246
|
-
}); },
|
|
1247
|
-
'io.flow.fulfillment.v0.models.estimated_window': function () { return ({
|
|
1248
|
-
from: factories.long(),
|
|
1249
|
-
to: factories.long(),
|
|
1250
|
-
unit: factories['io.flow.common.v0.enums.unit_of_time'](),
|
|
1251
|
-
}); },
|
|
1252
|
-
'io.flow.fulfillment.v0.models.flat_rate': function () { return ({
|
|
1253
|
-
discriminator: 'flat_rate',
|
|
1254
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
1255
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1256
|
-
}); },
|
|
1257
|
-
'io.flow.fulfillment.v0.models.flat_rate_form': function () { return ({
|
|
1258
|
-
discriminator: 'flat_rate_form',
|
|
1259
|
-
price: factories['io.flow.common.v0.models.money'](),
|
|
1260
|
-
zero_amount_indicator: factories['io.flow.fulfillment.v0.enums.zero_amount_indicator'](),
|
|
1261
|
-
}); },
|
|
1262
|
-
'io.flow.fulfillment.v0.models.fulfillment_experience_reference': function () { return ({
|
|
1263
|
-
id: factories.string(),
|
|
1264
|
-
currency: factories.string(),
|
|
1265
|
-
}); },
|
|
1266
|
-
'io.flow.fulfillment.v0.models.inbound_carton_fee': function () { return ({
|
|
1267
|
-
discriminator: 'inbound_carton_fee',
|
|
1268
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1269
|
-
}); },
|
|
1270
|
-
'io.flow.fulfillment.v0.models.item_shipping_pricing': function () { return ({
|
|
1271
|
-
min: factories['io.flow.common.v0.models.price'](),
|
|
1272
|
-
max: factories['io.flow.common.v0.models.price'](),
|
|
1273
|
-
}); },
|
|
1274
|
-
'io.flow.fulfillment.v0.models.number_range': function () { return ({
|
|
1275
|
-
min: factories.long(),
|
|
1276
|
-
max: factories.long(),
|
|
1277
|
-
}); },
|
|
1278
|
-
'io.flow.fulfillment.v0.models.option_weight_estimates': function () { return ({
|
|
1279
|
-
gravitational: factories['io.flow.common.v0.models.measurement'](),
|
|
1280
|
-
dimensional: factories['io.flow.common.v0.models.measurement'](),
|
|
1281
|
-
}); },
|
|
1282
|
-
'io.flow.fulfillment.v0.models.outbound_carton_fee': function () { return ({
|
|
1283
|
-
discriminator: 'outbound_carton_fee',
|
|
1284
|
-
amount: factories['io.flow.common.v0.models.money'](),
|
|
1285
|
-
}); },
|
|
1286
|
-
'io.flow.fulfillment.v0.models.packaging': function () { return ({
|
|
1287
|
-
dimensions: factories['io.flow.common.v0.models.dimensions'](),
|
|
1288
|
-
name: factories.string(),
|
|
1289
|
-
number: factories.string(),
|
|
1290
|
-
}); },
|
|
1291
|
-
'io.flow.fulfillment.v0.models.partner_center': function () { return ({
|
|
1292
|
-
partner_reference: factories['io.flow.common.v0.models.partner_reference'](),
|
|
1293
|
-
number: factories.string(),
|
|
1294
|
-
fees: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.partner_center_fee'](); }),
|
|
1295
|
-
}); },
|
|
1296
|
-
'io.flow.fulfillment.v0.models.partner_center_form': function () { return ({
|
|
1297
|
-
partner_id: factories.string(),
|
|
1298
|
-
number: factories.string(),
|
|
1299
|
-
fees: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.partner_center_fee'](); }),
|
|
1300
|
-
}); },
|
|
1301
|
-
'io.flow.fulfillment.v0.models.percent_margin': function () { return ({
|
|
1302
|
-
discriminator: 'percent_margin',
|
|
1303
|
-
percentage: factories.double(),
|
|
1304
|
-
}); },
|
|
1305
|
-
'io.flow.fulfillment.v0.models.physical_delivery': function () { return ({
|
|
1306
|
-
discriminator: 'physical_delivery',
|
|
1307
|
-
id: factories.string(),
|
|
1308
|
-
key: factories.string(),
|
|
1309
|
-
center: factories['io.flow.fulfillment.v0.models.center_summary'](),
|
|
1310
|
-
fulfillment_routing: factories['io.flow.fulfillment.v0.enums.fulfillment_routing'](),
|
|
1311
|
-
ship_from_country: factories.string(),
|
|
1312
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_item'](); }),
|
|
1313
|
-
options: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option'](); }),
|
|
1314
|
-
special_services: arrayOf(function () { return factories['io.flow.fulfillment.v0.enums.physical_delivery_special_serivce'](); }),
|
|
1315
|
-
prices: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail'](); }),
|
|
1316
|
-
total: factories['io.flow.catalog.v0.models.localized_total'](),
|
|
1317
|
-
goods_supply: factories['io.flow.common.v0.enums.goods_supply'](),
|
|
1318
|
-
merchant_of_record_flow_entity: factories['io.flow.merchant.of.record.v0.enums.flow_entity'](),
|
|
1319
|
-
preferred_service: factories['io.flow.fulfillment.v0.models.physical_delivery_preferred_service'](),
|
|
1320
|
-
}); },
|
|
1321
|
-
'io.flow.fulfillment.v0.models.physical_delivery_preferred_service': function () { return ({
|
|
1322
|
-
id: factories.string(),
|
|
1323
|
-
selection_stratey: factories['io.flow.fulfillment.v0.enums.preferred_service_selection_strategy'](),
|
|
1324
|
-
}); },
|
|
1325
|
-
'io.flow.fulfillment.v0.models.price_with_base_and_details': function () { return ({
|
|
1326
|
-
currency: factories.string(),
|
|
1327
|
-
amount: factories.double(),
|
|
1328
|
-
label: factories.string(),
|
|
1329
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1330
|
-
details: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_cost_detail'](); }),
|
|
1331
|
-
}); },
|
|
1332
|
-
'io.flow.fulfillment.v0.models.processing_estimate': function () { return ({
|
|
1333
|
-
location: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1334
|
-
min_date: factories.date_time_iso_8601(),
|
|
1335
|
-
max_date: factories.date_time_iso_8601(),
|
|
1336
|
-
source: factories['io.flow.fulfillment.v0.enums.delivery_window_component_source'](),
|
|
1337
|
-
}); },
|
|
1338
|
-
'io.flow.fulfillment.v0.models.quote': function () { return ({
|
|
1339
|
-
id: factories.string(),
|
|
1340
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1341
|
-
deliveries: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.delivery'](); }),
|
|
1342
|
-
selections: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.delivery_option_reference'](); }),
|
|
1343
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1344
|
-
delivered_duties: arrayOf(function () { return factories['io.flow.common.v0.enums.delivered_duty'](); }),
|
|
1345
|
-
}); },
|
|
1346
|
-
'io.flow.fulfillment.v0.models.quote_error': function () { return ({
|
|
1347
|
-
code: factories['io.flow.fulfillment.v0.enums.quote_error_code'](),
|
|
1348
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1349
|
-
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
1350
|
-
}); },
|
|
1351
|
-
'io.flow.fulfillment.v0.models.quote_form': function () { return ({
|
|
1352
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1353
|
-
experience: factories.string(),
|
|
1354
|
-
items: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.quote_line_item_form'](); }),
|
|
1355
|
-
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
1356
|
-
delivered_duties: arrayOf(function () { return factories['io.flow.common.v0.enums.delivered_duty'](); }),
|
|
1357
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1358
|
-
}); },
|
|
1359
|
-
'io.flow.fulfillment.v0.models.quote_line_item_form': function () { return ({
|
|
1360
|
-
number: factories.string(),
|
|
1361
|
-
quantity: factories.long(),
|
|
1362
|
-
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1363
|
-
price: factories['io.flow.common.v0.models.money_with_base'](),
|
|
1364
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
1365
|
-
center: factories.string(),
|
|
1366
|
-
}); },
|
|
1367
|
-
'io.flow.fulfillment.v0.models.quote_summary': function () { return ({
|
|
1368
|
-
id: factories.string(),
|
|
1369
|
-
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
1370
|
-
}); },
|
|
1371
|
-
'io.flow.fulfillment.v0.models.quote_version': function () { return ({
|
|
1372
|
-
id: factories.string(),
|
|
1373
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1374
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1375
|
-
quote: factories['io.flow.fulfillment.v0.models.quote_summary'](),
|
|
1376
|
-
}); },
|
|
1377
|
-
'io.flow.fulfillment.v0.models.scheduled_pickup': function () { return ({
|
|
1378
|
-
day_of_week: factories['io.flow.common.v0.enums.day_of_week'](),
|
|
1379
|
-
hour_of_day: factories.string(),
|
|
1380
|
-
minute_of_hour: factories.string(),
|
|
1381
|
-
}); },
|
|
1382
|
-
'io.flow.fulfillment.v0.models.service_reference': function () { return ({
|
|
1383
|
-
id: factories.string(),
|
|
1384
|
-
}); },
|
|
1385
|
-
'io.flow.fulfillment.v0.models.service_summary': function () { return ({
|
|
1386
|
-
discriminator: 'service_summary',
|
|
1387
|
-
id: factories.string(),
|
|
1388
|
-
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
1389
|
-
name: factories.string(),
|
|
1390
|
-
center_code: factories.string(),
|
|
1391
|
-
}); },
|
|
1392
|
-
'io.flow.fulfillment.v0.models.service_unknown': function () { return ({
|
|
1393
|
-
discriminator: 'service_unknown',
|
|
1394
|
-
name: factories.string(),
|
|
1395
|
-
}); },
|
|
1396
|
-
'io.flow.fulfillment.v0.models.shipping_address': function () { return ({
|
|
1397
|
-
contact: factories['io.flow.common.v0.models.contact'](),
|
|
1398
|
-
location: factories['io.flow.common.v0.models.address'](),
|
|
1399
|
-
center_key: factories.string(),
|
|
1400
|
-
center_reference: factories['io.flow.fulfillment.v0.models.center_reference'](),
|
|
1401
|
-
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
1402
|
-
}); },
|
|
1403
|
-
'io.flow.fulfillment.v0.models.shipping_configuration': function () { return ({
|
|
1404
|
-
id: factories.string(),
|
|
1405
|
-
name: factories.string(),
|
|
1406
|
-
key: factories.string(),
|
|
1407
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1408
|
-
shipping_lanes: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.shipping_lane'](); }),
|
|
1409
|
-
}); },
|
|
1410
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy': function () { return ({
|
|
1411
|
-
original: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1412
|
-
'new': factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1413
|
-
}); },
|
|
1414
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_copy_form': function () { return ({
|
|
1415
|
-
name: factories.string(),
|
|
1416
|
-
}); },
|
|
1417
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_form': function () { return ({
|
|
1418
|
-
name: factories.string(),
|
|
1419
|
-
}); },
|
|
1420
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_availability': function () { return ({
|
|
1421
|
-
id: factories.string(),
|
|
1422
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1423
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1424
|
-
availabilities: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.country_availability'](); }),
|
|
1425
|
-
}); },
|
|
1426
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_item_shipping_pricing': function () { return ({
|
|
1427
|
-
id: factories.string(),
|
|
1428
|
-
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
1429
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_summary'](),
|
|
1430
|
-
country_shipping_pricings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.country_shipping_pricing'](); }),
|
|
1431
|
-
}); },
|
|
1432
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_reference': function () { return ({
|
|
1433
|
-
key: factories.string(),
|
|
1434
|
-
}); },
|
|
1435
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_summary': function () { return ({
|
|
1436
|
-
id: factories.string(),
|
|
1437
|
-
name: factories.string(),
|
|
1438
|
-
key: factories.string(),
|
|
1439
|
-
type: factories['io.flow.fulfillment.v0.enums.shipping_configuration_type'](),
|
|
1440
|
-
}); },
|
|
1441
|
-
'io.flow.fulfillment.v0.models.shipping_configuration_version': function () { return ({
|
|
1442
|
-
id: factories.string(),
|
|
1443
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1444
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1445
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration'](),
|
|
1446
|
-
}); },
|
|
1447
|
-
'io.flow.fulfillment.v0.models.shipping_lane': function () { return ({
|
|
1448
|
-
id: factories.string(),
|
|
1449
|
-
shipping_configuration: factories['io.flow.fulfillment.v0.models.shipping_configuration_reference'](),
|
|
1450
|
-
region: factories.string(),
|
|
1451
|
-
centers: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.expandable_center'](); }),
|
|
1452
|
-
tiers: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier'](); }),
|
|
1453
|
-
query: factories['io.flow.query.builder.v0.models.query'](),
|
|
1454
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1455
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1456
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1457
|
-
}); },
|
|
1458
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier': function () { return ({
|
|
1459
|
-
id: factories.string(),
|
|
1460
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_reference'](),
|
|
1461
|
-
}); },
|
|
1462
|
-
'io.flow.fulfillment.v0.models.shipping_lane_default_tier_form': function () { return ({
|
|
1463
|
-
tier_id: factories.string(),
|
|
1464
|
-
}); },
|
|
1465
|
-
'io.flow.fulfillment.v0.models.shipping_lane_form': function () { return ({
|
|
1466
|
-
from: factories.string(),
|
|
1467
|
-
to: factories.string(),
|
|
1468
|
-
strategy: factories['io.flow.fulfillment.v0.enums.lane_strategy'](),
|
|
1469
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1470
|
-
preference: factories['io.flow.fulfillment.v0.enums.lane_preselect_preference'](),
|
|
1471
|
-
}); },
|
|
1472
|
-
'io.flow.fulfillment.v0.models.shipping_lane_summary': function () { return ({
|
|
1473
|
-
shipping_lane_id: factories.string(),
|
|
1474
|
-
region: factories.string(),
|
|
1475
|
-
centers: arrayOf(function () { return factories['io.flow.fulfillment.v0.unions.expandable_center'](); }),
|
|
1476
|
-
}); },
|
|
1477
|
-
'io.flow.fulfillment.v0.models.shipping_lane_version': function () { return ({
|
|
1478
|
-
id: factories.string(),
|
|
1479
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1480
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1481
|
-
shipping_lane: factories['io.flow.fulfillment.v0.models.shipping_lane'](),
|
|
1482
|
-
}); },
|
|
1483
|
-
'io.flow.fulfillment.v0.models.surcharge_responsible_party_display': function () { return ({
|
|
1484
|
-
name: factories.string(),
|
|
1485
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1486
|
-
}); },
|
|
1487
|
-
'io.flow.fulfillment.v0.models.surcharge_setting': function () { return ({
|
|
1488
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1489
|
-
responsible_party: factories['io.flow.fulfillment.v0.enums.surcharge_responsible_party'](),
|
|
1490
|
-
}); },
|
|
1491
|
-
'io.flow.fulfillment.v0.models.surcharge_setting_display': function () { return ({
|
|
1492
|
-
name: factories.string(),
|
|
1493
|
-
description: factories.string(),
|
|
1494
|
-
key: factories['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'](),
|
|
1495
|
-
available: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_responsible_party_display'](); }),
|
|
1496
|
-
}); },
|
|
1497
|
-
'io.flow.fulfillment.v0.models.tier': function () { return ({
|
|
1498
|
-
id: factories.string(),
|
|
1499
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1500
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1501
|
-
name: factories.string(),
|
|
1502
|
-
message: factories.string(),
|
|
1503
|
-
rules: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier_rule'](); }),
|
|
1504
|
-
services: arrayOf(function () { return factories['io.flow.reference.v0.models.carrier_service'](); }),
|
|
1505
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1506
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1507
|
-
currency: factories.string(),
|
|
1508
|
-
description: factories.string(),
|
|
1509
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1510
|
-
shipping_lane: factories.string(),
|
|
1511
|
-
surcharge_settings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_setting'](); }),
|
|
1512
|
-
lane: factories['io.flow.fulfillment.v0.models.shipping_lane_summary'](),
|
|
1513
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1514
|
-
}); },
|
|
1515
|
-
'io.flow.fulfillment.v0.models.tier_display': function () { return ({
|
|
1516
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1517
|
-
}); },
|
|
1518
|
-
'io.flow.fulfillment.v0.models.tier_display_form': function () { return ({
|
|
1519
|
-
estimate: factories['io.flow.fulfillment.v0.models.tier_estimate'](),
|
|
1520
|
-
}); },
|
|
1521
|
-
'io.flow.fulfillment.v0.models.tier_estimate': function () { return ({
|
|
1522
|
-
type: factories['io.flow.fulfillment.v0.enums.tier_estimate_type'](),
|
|
1523
|
-
label: factories.string(),
|
|
1524
|
-
}); },
|
|
1525
|
-
'io.flow.fulfillment.v0.models.tier_form': function () { return ({
|
|
1526
|
-
currency: factories.string(),
|
|
1527
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1528
|
-
name: factories.string(),
|
|
1529
|
-
message: factories.string(),
|
|
1530
|
-
rules: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.tier_rule_form'](); }),
|
|
1531
|
-
services: arrayOf(function () { return factories.string(); }),
|
|
1532
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1533
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1534
|
-
description: factories.string(),
|
|
1535
|
-
direction: factories['io.flow.fulfillment.v0.enums.lane_direction'](),
|
|
1536
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display_form'](),
|
|
1537
|
-
shipping_lane: factories.string(),
|
|
1538
|
-
surcharge_settings: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.surcharge_setting'](); }),
|
|
1539
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1540
|
-
}); },
|
|
1541
|
-
'io.flow.fulfillment.v0.models.tier_reference': function () { return ({
|
|
1542
|
-
id: factories.string(),
|
|
1543
|
-
}); },
|
|
1544
|
-
'io.flow.fulfillment.v0.models.tier_rule': function () { return ({
|
|
1545
|
-
id: factories.string(),
|
|
1546
|
-
position: factories.long(),
|
|
1547
|
-
query: factories.string(),
|
|
1548
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
1549
|
-
}); },
|
|
1550
|
-
'io.flow.fulfillment.v0.models.tier_rule_form': function () { return ({
|
|
1551
|
-
position: factories.long(),
|
|
1552
|
-
query: factories.string(),
|
|
1553
|
-
outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome_form'](),
|
|
1554
|
-
}); },
|
|
1555
|
-
'io.flow.fulfillment.v0.models.tier_rule_version': function () { return ({
|
|
1556
|
-
id: factories.string(),
|
|
1557
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1558
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1559
|
-
tier_rule: factories['io.flow.fulfillment.v0.models.tier_rule'](),
|
|
1560
|
-
}); },
|
|
1561
|
-
'io.flow.fulfillment.v0.models.tier_settings': function () { return ({
|
|
1562
|
-
availability: factories['io.flow.fulfillment.v0.enums.tier_availability'](),
|
|
1563
|
-
}); },
|
|
1564
|
-
'io.flow.fulfillment.v0.models.tier_summary': function () { return ({
|
|
1565
|
-
id: factories.string(),
|
|
1566
|
-
experience: factories['io.flow.fulfillment.v0.models.fulfillment_experience_reference'](),
|
|
1567
|
-
integration: factories['io.flow.fulfillment.v0.enums.shipment_integration_type'](),
|
|
1568
|
-
name: factories.string(),
|
|
1569
|
-
services: arrayOf(function () { return factories.string(); }),
|
|
1570
|
-
strategy: factories['io.flow.fulfillment.v0.enums.tier_strategy'](),
|
|
1571
|
-
visibility: factories['io.flow.common.v0.enums.visibility'](),
|
|
1572
|
-
currency: factories.string(),
|
|
1573
|
-
display: factories['io.flow.fulfillment.v0.models.tier_display'](),
|
|
1574
|
-
message: factories.string(),
|
|
1575
|
-
settings: factories['io.flow.fulfillment.v0.models.tier_settings'](),
|
|
1576
|
-
}); },
|
|
1577
|
-
'io.flow.fulfillment.v0.models.tier_version': function () { return ({
|
|
1578
|
-
id: factories.string(),
|
|
1579
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1580
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1581
|
-
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
1582
|
-
}); },
|
|
1583
|
-
'io.flow.fulfillment.v0.models.transit_estimate': function () { return ({
|
|
1584
|
-
origin: factories['io.flow.fulfillment.v0.enums.delivery_window_location'](),
|
|
1585
|
-
destination: 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
|
-
'io.flow.fulfillment.v0.unions.delivery': function () {
|
|
1591
|
-
var f = faker.helpers.arrayElement([
|
|
1592
|
-
function () { return factories['io.flow.fulfillment.v0.models.digital_delivery'](); },
|
|
1593
|
-
function () { return factories['io.flow.fulfillment.v0.models.physical_delivery'](); },
|
|
1594
|
-
]);
|
|
1595
|
-
return f();
|
|
1596
|
-
},
|
|
1597
|
-
'io.flow.fulfillment.v0.unions.expandable_center': function () {
|
|
1598
|
-
var f = faker.helpers.arrayElement([
|
|
1599
|
-
function () { return factories['io.flow.fulfillment.v0.models.center'](); },
|
|
1600
|
-
function () { return factories['io.flow.fulfillment.v0.models.center_reference'](); },
|
|
1601
|
-
]);
|
|
1602
|
-
return f();
|
|
1603
|
-
},
|
|
1604
|
-
'io.flow.fulfillment.v0.unions.partner_center_fee': function () {
|
|
1605
|
-
var f = faker.helpers.arrayElement([
|
|
1606
|
-
function () { return factories['io.flow.fulfillment.v0.models.commercial_invoice_fee'](); },
|
|
1607
|
-
function () { return factories['io.flow.fulfillment.v0.models.inbound_carton_fee'](); },
|
|
1608
|
-
function () { return factories['io.flow.fulfillment.v0.models.outbound_carton_fee'](); },
|
|
1609
|
-
]);
|
|
1610
|
-
return f();
|
|
1611
|
-
},
|
|
1612
|
-
'io.flow.fulfillment.v0.unions.service_description': function () {
|
|
1613
|
-
var f = faker.helpers.arrayElement([
|
|
1614
|
-
function () { return factories['io.flow.fulfillment.v0.models.service_summary'](); },
|
|
1615
|
-
function () { return factories['io.flow.fulfillment.v0.models.service_unknown'](); },
|
|
1616
|
-
]);
|
|
1617
|
-
return f();
|
|
1618
|
-
},
|
|
1619
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome': function () {
|
|
1620
|
-
var f = faker.helpers.arrayElement([
|
|
1621
|
-
function () { return factories['io.flow.fulfillment.v0.models.amount_margin'](); },
|
|
1622
|
-
function () { return factories['io.flow.fulfillment.v0.models.at_cost'](); },
|
|
1623
|
-
function () { return factories['io.flow.fulfillment.v0.models.flat_rate'](); },
|
|
1624
|
-
function () { return factories['io.flow.fulfillment.v0.models.percent_margin'](); },
|
|
1625
|
-
]);
|
|
1626
|
-
return f();
|
|
1627
|
-
},
|
|
1628
|
-
'io.flow.fulfillment.v0.unions.tier_rule_outcome_form': function () {
|
|
1629
|
-
var f = faker.helpers.arrayElement([
|
|
1630
|
-
function () { return factories['io.flow.fulfillment.v0.models.amount_margin_form'](); },
|
|
1631
|
-
function () { return factories['io.flow.fulfillment.v0.models.flat_rate_form'](); },
|
|
1632
|
-
function () { return factories['io.flow.fulfillment.v0.models.at_cost'](); },
|
|
1633
|
-
function () { return factories['io.flow.fulfillment.v0.models.percent_margin'](); },
|
|
1634
|
-
]);
|
|
1635
|
-
return f();
|
|
1636
|
-
},
|
|
1637
|
-
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
1638
|
-
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.helpers.arrayElement(['MIN', 'FULL']); },
|
|
1639
|
-
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.helpers.arrayElement(['adyen', 'stripe']); },
|
|
1640
|
-
'io.flow.google.pay.v0.enums.card_network': function () { return faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']); },
|
|
1641
|
-
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['CARD']); },
|
|
1642
|
-
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']); },
|
|
1643
|
-
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']); },
|
|
1644
|
-
'io.flow.google.pay.v0.models.address': function () { return ({
|
|
1645
|
-
name: factories.string(),
|
|
1646
|
-
postalCode: factories.string(),
|
|
1647
|
-
countryCode: factories.string(),
|
|
1648
|
-
phoneNumber: factories.string(),
|
|
1649
|
-
companyName: factories.string(),
|
|
1650
|
-
address1: factories.string(),
|
|
1651
|
-
address2: factories.string(),
|
|
1652
|
-
address3: factories.string(),
|
|
1653
|
-
locality: factories.string(),
|
|
1654
|
-
administrativeArea: factories.string(),
|
|
1655
|
-
sortingCode: factories.string(),
|
|
1656
|
-
}); },
|
|
1657
|
-
'io.flow.google.pay.v0.models.billing_address_parameters': function () { return ({
|
|
1658
|
-
format: factories['io.flow.google.pay.v0.enums.billing_address_format'](),
|
|
1659
|
-
phoneNumberRequired: factories.boolean(),
|
|
1660
|
-
}); },
|
|
1661
|
-
'io.flow.google.pay.v0.models.card_adyen_tokenization_parameters': function () { return ({
|
|
1662
|
-
gateway: factories.string(),
|
|
1663
|
-
gatewayMerchantId: factories.string(),
|
|
1664
|
-
}); },
|
|
1665
|
-
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': function () { return ({
|
|
1666
|
-
protocolVersion: factories.string(),
|
|
1667
|
-
publicKey: factories.string(),
|
|
1668
|
-
}); },
|
|
1669
|
-
'io.flow.google.pay.v0.models.card_payment_method_data_info': function () { return ({
|
|
1670
|
-
cardDetails: factories.string(),
|
|
1671
|
-
cardNetwork: factories.string(),
|
|
1672
|
-
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
1673
|
-
}); },
|
|
1674
|
-
'io.flow.google.pay.v0.models.card_payment_method_parameters': function () { return ({
|
|
1675
|
-
allowedAuthMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.auth_method'](); }),
|
|
1676
|
-
allowedCardNetworks: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.card_network'](); }),
|
|
1677
|
-
billingAddressRequired: factories.boolean(),
|
|
1678
|
-
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
1679
|
-
}); },
|
|
1680
|
-
'io.flow.google.pay.v0.models.direct_payment_method_token': function () { return ({
|
|
1681
|
-
discriminator: 'direct_payment_method_token',
|
|
1682
|
-
protocolVersion: factories.string(),
|
|
1683
|
-
signature: factories.string(),
|
|
1684
|
-
signedMessage: factories.string(),
|
|
1685
|
-
}); },
|
|
1686
|
-
'io.flow.google.pay.v0.models.encrypted_message': function () { return ({
|
|
1687
|
-
messageExpiration: factories.string(),
|
|
1688
|
-
messageId: factories.string(),
|
|
1689
|
-
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
1690
|
-
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
1691
|
-
}); },
|
|
1692
|
-
'io.flow.google.pay.v0.models.merchant_info': function () { return ({
|
|
1693
|
-
merchantId: factories.string(),
|
|
1694
|
-
merchantName: factories.string(),
|
|
1695
|
-
authJwt: factories.string(),
|
|
1696
|
-
}); },
|
|
1697
|
-
'io.flow.google.pay.v0.models.payment_data': function () { return ({
|
|
1698
|
-
apiVersion: factories.integer(),
|
|
1699
|
-
apiVersionMinor: factories.integer(),
|
|
1700
|
-
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
1701
|
-
email: factories.string(),
|
|
1702
|
-
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
1703
|
-
}); },
|
|
1704
|
-
'io.flow.google.pay.v0.models.payment_data_request': function () { return ({
|
|
1705
|
-
apiVersion: factories.integer(),
|
|
1706
|
-
apiVersionMinor: factories.integer(),
|
|
1707
|
-
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
1708
|
-
allowedPaymentMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.models.payment_method'](); }),
|
|
1709
|
-
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
1710
|
-
emailRequired: factories.boolean(),
|
|
1711
|
-
shippingAddressRequired: factories.boolean(),
|
|
1712
|
-
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
1713
|
-
}); },
|
|
1714
|
-
'io.flow.google.pay.v0.models.payment_method': function () { return ({
|
|
1715
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
1716
|
-
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
1717
|
-
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
1718
|
-
}); },
|
|
1719
|
-
'io.flow.google.pay.v0.models.payment_method_data': function () { return ({
|
|
1720
|
-
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
1721
|
-
description: factories.string(),
|
|
1722
|
-
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
1723
|
-
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
1724
|
-
}); },
|
|
1725
|
-
'io.flow.google.pay.v0.models.payment_method_details': function () { return ({
|
|
1726
|
-
pan: factories.string(),
|
|
1727
|
-
expirationMonth: factories.integer(),
|
|
1728
|
-
expirationYear: factories.integer(),
|
|
1729
|
-
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
1730
|
-
cryptogram: factories.string(),
|
|
1731
|
-
eciIndicator: factories.string(),
|
|
1732
|
-
}); },
|
|
1733
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_data': function () { return ({
|
|
1734
|
-
type: factories.string(),
|
|
1735
|
-
token: factories.string(),
|
|
1736
|
-
}); },
|
|
1737
|
-
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': function () { return ({
|
|
1738
|
-
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
1739
|
-
parameters: factories.object(),
|
|
1740
|
-
}); },
|
|
1741
|
-
'io.flow.google.pay.v0.models.shipping_address_parameters': function () { return ({
|
|
1742
|
-
allowedCountryCodes: arrayOf(function () { return factories.string(); }),
|
|
1743
|
-
}); },
|
|
1744
|
-
'io.flow.google.pay.v0.models.signed_message': function () { return ({
|
|
1745
|
-
encryptedMessage: factories.string(),
|
|
1746
|
-
ephemeralPublicKey: factories.string(),
|
|
1747
|
-
tag: factories.string(),
|
|
1748
|
-
}); },
|
|
1749
|
-
'io.flow.google.pay.v0.models.stripe_payment_method_token': function () { return ({
|
|
1750
|
-
discriminator: 'stripe_payment_method_token',
|
|
1751
|
-
token: factories['io.flow.stripe.v0.models.token'](),
|
|
1752
|
-
}); },
|
|
1753
|
-
'io.flow.google.pay.v0.models.transaction_info': function () { return ({
|
|
1754
|
-
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
1755
|
-
totalPrice: factories.string(),
|
|
1756
|
-
currencyCode: factories.string(),
|
|
1757
|
-
}); },
|
|
1758
|
-
'io.flow.google.pay.v0.unions.payment_method_token': function () {
|
|
1759
|
-
var f = faker.helpers.arrayElement([
|
|
1760
|
-
function () { return factories['io.flow.google.pay.v0.models.direct_payment_method_token'](); },
|
|
1761
|
-
function () { return factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](); },
|
|
1762
|
-
]);
|
|
1763
|
-
return f();
|
|
1764
|
-
},
|
|
1765
|
-
'io.flow.inventory.v0.enums.aggregate': function () { return faker.helpers.arrayElement(['maximum', 'minimum']); },
|
|
1766
|
-
'io.flow.inventory.v0.enums.inventory_status': function () { return faker.helpers.arrayElement(['has_inventory', 'no_inventory']); },
|
|
1767
|
-
'io.flow.inventory.v0.enums.update_type': function () { return faker.helpers.arrayElement(['change', 'set']); },
|
|
1768
|
-
'io.flow.inventory.v0.models.external_api_timeout_reservation_error': function () { return ({
|
|
1769
|
-
code: 'external_api_timeout',
|
|
1770
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1771
|
-
}); },
|
|
1772
|
-
'io.flow.inventory.v0.models.generic_reservation_error': function () { return ({
|
|
1773
|
-
code: 'generic_reservation_error',
|
|
1774
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1775
|
-
}); },
|
|
1776
|
-
'io.flow.inventory.v0.models.inventory_backorder': function () { return ({
|
|
1777
|
-
discriminator: 'inventory_backorder',
|
|
1778
|
-
quantity: factories.long(),
|
|
1779
|
-
}); },
|
|
1780
|
-
'io.flow.inventory.v0.models.inventory_center_reference': function () { return ({
|
|
1781
|
-
key: factories.string(),
|
|
1782
|
-
}); },
|
|
1783
|
-
'io.flow.inventory.v0.models.inventory_check_response': function () { return ({
|
|
1784
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.inventory_check_response_item'](); }),
|
|
1785
|
-
}); },
|
|
1786
|
-
'io.flow.inventory.v0.models.inventory_check_response_item': function () { return ({
|
|
1787
|
-
number: factories.string(),
|
|
1788
|
-
quantity: factories.long(),
|
|
1789
|
-
inventory_status: factories['io.flow.inventory.v0.enums.inventory_status'](),
|
|
1790
|
-
}); },
|
|
1791
|
-
'io.flow.inventory.v0.models.inventory_experience_reference': function () { return ({
|
|
1792
|
-
key: factories.string(),
|
|
1793
|
-
}); },
|
|
1794
|
-
'io.flow.inventory.v0.models.inventory_follow_ecommerce_platform': function () { return ({
|
|
1795
|
-
discriminator: 'inventory_follow_ecommerce_platform',
|
|
1796
|
-
quantity: factories.long(),
|
|
1797
|
-
}); },
|
|
1798
|
-
'io.flow.inventory.v0.models.inventory_item_reference': function () { return ({
|
|
1799
|
-
number: factories.string(),
|
|
1800
|
-
}); },
|
|
1801
|
-
'io.flow.inventory.v0.models.inventory_request': function () { return ({
|
|
1802
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.inventory_request_item'](); }),
|
|
1803
|
-
}); },
|
|
1804
|
-
'io.flow.inventory.v0.models.inventory_request_item': function () { return ({
|
|
1805
|
-
number: factories.string(),
|
|
1806
|
-
quantity: factories.long(),
|
|
1807
|
-
}); },
|
|
1808
|
-
'io.flow.inventory.v0.models.inventory_rule': function () { return ({
|
|
1809
|
-
id: factories.string(),
|
|
1810
|
-
position: factories.long(),
|
|
1811
|
-
query: factories.string(),
|
|
1812
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
1813
|
-
}); },
|
|
1814
|
-
'io.flow.inventory.v0.models.inventory_rule_form': function () { return ({
|
|
1815
|
-
position: factories.long(),
|
|
1816
|
-
query: factories.string(),
|
|
1817
|
-
strategy: factories['io.flow.inventory.v0.unions.inventory_strategy'](),
|
|
1818
|
-
}); },
|
|
1819
|
-
'io.flow.inventory.v0.models.inventory_rule_version': function () { return ({
|
|
1820
|
-
id: factories.string(),
|
|
1821
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1822
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1823
|
-
inventory_rule: factories['io.flow.inventory.v0.models.inventory_rule'](),
|
|
1824
|
-
}); },
|
|
1825
|
-
'io.flow.inventory.v0.models.inventory_snapshot': function () { return ({
|
|
1826
|
-
id: factories.string(),
|
|
1827
|
-
available: factories.long(),
|
|
1828
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
1829
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
1830
|
-
quantity: factories.long(),
|
|
1831
|
-
}); },
|
|
1832
|
-
'io.flow.inventory.v0.models.inventory_snapshot_version': function () { return ({
|
|
1833
|
-
id: factories.string(),
|
|
1834
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1835
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1836
|
-
inventory_snapshot: factories['io.flow.inventory.v0.models.inventory_snapshot'](),
|
|
1837
|
-
}); },
|
|
1838
|
-
'io.flow.inventory.v0.models.inventory_stock': function () { return ({
|
|
1839
|
-
discriminator: 'inventory_stock',
|
|
1840
|
-
quantity: factories.long(),
|
|
1841
|
-
}); },
|
|
1842
|
-
'io.flow.inventory.v0.models.inventory_unlimited': function () { return ({
|
|
1843
|
-
discriminator: 'inventory_unlimited',
|
|
1844
|
-
placeholder: factories.string(),
|
|
1845
|
-
}); },
|
|
1846
|
-
'io.flow.inventory.v0.models.inventory_update': function () { return ({
|
|
1847
|
-
id: factories.string(),
|
|
1848
|
-
idempotency_key: factories.string(),
|
|
1849
|
-
center: factories['io.flow.inventory.v0.models.inventory_center_reference'](),
|
|
1850
|
-
item: factories['io.flow.inventory.v0.models.inventory_item_reference'](),
|
|
1851
|
-
notes: factories.object(),
|
|
1852
|
-
quantity: factories.long(),
|
|
1853
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
1854
|
-
}); },
|
|
1855
|
-
'io.flow.inventory.v0.models.inventory_update_form': function () { return ({
|
|
1856
|
-
center: factories.string(),
|
|
1857
|
-
idempotency_key: factories.string(),
|
|
1858
|
-
item_number: factories.string(),
|
|
1859
|
-
quantity: factories.long(),
|
|
1860
|
-
type: factories['io.flow.inventory.v0.enums.update_type'](),
|
|
1861
|
-
notes: factories.object(),
|
|
1862
|
-
}); },
|
|
1863
|
-
'io.flow.inventory.v0.models.inventory_update_version': function () { return ({
|
|
1864
|
-
id: factories.string(),
|
|
1865
|
-
timestamp: factories.date_time_iso_8601(),
|
|
1866
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
1867
|
-
inventory_update: factories['io.flow.inventory.v0.models.inventory_update'](),
|
|
1868
|
-
}); },
|
|
1869
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error': function () { return ({
|
|
1870
|
-
code: 'no_inventory',
|
|
1871
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
1872
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.no_inventory_reservation_error_item'](); }),
|
|
1873
|
-
}); },
|
|
1874
|
-
'io.flow.inventory.v0.models.no_inventory_reservation_error_item': function () { return ({
|
|
1875
|
-
number: factories.string(),
|
|
1876
|
-
requested_quantity: factories.long(),
|
|
1877
|
-
available_quantity: factories.long(),
|
|
1878
|
-
}); },
|
|
1879
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response': function () { return ({
|
|
1880
|
-
items: objectOf(function () { return factories['io.flow.inventory.v0.models.pfs_inventory_check_response_item'](); }),
|
|
1881
|
-
}); },
|
|
1882
|
-
'io.flow.inventory.v0.models.pfs_inventory_check_response_item': function () { return ({
|
|
1883
|
-
number: factories.string(),
|
|
1884
|
-
ats: factories.long(),
|
|
1885
|
-
in_stock: factories.boolean(),
|
|
1886
|
-
}); },
|
|
1887
|
-
'io.flow.inventory.v0.models.pfs_inventory_status': function () { return ({
|
|
1888
|
-
status: factories.string(),
|
|
1889
|
-
}); },
|
|
1890
|
-
'io.flow.inventory.v0.models.reservation': function () { return ({
|
|
1891
|
-
id: factories.string(),
|
|
1892
|
-
key: factories.string(),
|
|
1893
|
-
order: factories['io.flow.inventory.v0.models.reservation_order_reference'](),
|
|
1894
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.reservation_item'](); }),
|
|
1895
|
-
reserved_until: factories.date_time_iso_8601(),
|
|
1896
|
-
}); },
|
|
1897
|
-
'io.flow.inventory.v0.models.reservation_form': function () { return ({
|
|
1898
|
-
order_number: factories.string(),
|
|
1899
|
-
items: arrayOf(function () { return factories['io.flow.inventory.v0.models.reservation_item_form'](); }),
|
|
1900
|
-
}); },
|
|
1901
|
-
'io.flow.inventory.v0.models.reservation_item': function () { return ({
|
|
1902
|
-
item: factories['io.flow.inventory.v0.models.reservation_item_reference'](),
|
|
1903
|
-
quantity: factories.long(),
|
|
1904
|
-
}); },
|
|
1905
|
-
'io.flow.inventory.v0.models.reservation_item_form': function () { return ({
|
|
1906
|
-
item_number: factories.string(),
|
|
1907
|
-
quantity: factories.long(),
|
|
1908
|
-
}); },
|
|
1909
|
-
'io.flow.inventory.v0.models.reservation_item_reference': function () { return ({
|
|
1910
|
-
number: factories.string(),
|
|
1911
|
-
}); },
|
|
1912
|
-
'io.flow.inventory.v0.models.reservation_order_reference': function () { return ({
|
|
1913
|
-
number: factories.string(),
|
|
1914
|
-
}); },
|
|
1915
|
-
'io.flow.inventory.v0.unions.inventory_strategy': function () {
|
|
1916
|
-
var f = faker.helpers.arrayElement([
|
|
1917
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_backorder'](); },
|
|
1918
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_stock'](); },
|
|
1919
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_unlimited'](); },
|
|
1920
|
-
function () { return factories['io.flow.inventory.v0.models.inventory_follow_ecommerce_platform'](); },
|
|
1921
|
-
]);
|
|
1922
|
-
return f();
|
|
1923
|
-
},
|
|
1924
|
-
'io.flow.inventory.v0.unions.reservation_error': function () {
|
|
1925
|
-
var f = faker.helpers.arrayElement([
|
|
1926
|
-
function () { return factories['io.flow.inventory.v0.models.no_inventory_reservation_error'](); },
|
|
1927
|
-
function () { return factories['io.flow.inventory.v0.models.external_api_timeout_reservation_error'](); },
|
|
1928
|
-
function () { return factories['io.flow.inventory.v0.models.generic_reservation_error'](); },
|
|
1929
|
-
]);
|
|
1930
|
-
return f();
|
|
1931
|
-
},
|
|
1932
|
-
'io.flow.merchant.of.record.v0.enums.economic_title_location': function () { return faker.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
|
|
1933
|
-
'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
|
|
1934
|
-
'io.flow.order.price.v0.enums.order_price_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
1935
|
-
'adjustment',
|
|
1936
|
-
'vat_deminimis',
|
|
1937
|
-
'duty_deminimis',
|
|
1938
|
-
'duties_item_price',
|
|
1939
|
-
'duties_freight',
|
|
1940
|
-
'duties_insurance',
|
|
1941
|
-
'vat_item_price',
|
|
1942
|
-
'vat_freight',
|
|
1943
|
-
'vat_insurance',
|
|
1944
|
-
'vat_duties_item_price',
|
|
1945
|
-
'vat_duties_freight',
|
|
1946
|
-
'vat_duties_insurance',
|
|
1947
|
-
'item_price',
|
|
1948
|
-
'item_discount',
|
|
1949
|
-
'rounding',
|
|
1950
|
-
'insurance',
|
|
1951
|
-
'shipping',
|
|
1952
|
-
'shipping_discount',
|
|
1953
|
-
'order_discount',
|
|
1954
|
-
'subtotal_percent_sales_margin',
|
|
1955
|
-
'subtotal_vat_percent_sales_margin',
|
|
1956
|
-
'subtotal_duty_percent_sales_margin',
|
|
1957
|
-
'vat_subsidy',
|
|
1958
|
-
'duty_subsidy',
|
|
1959
|
-
'remote_area_surcharge',
|
|
1960
|
-
'fuel_surcharge',
|
|
1961
|
-
'emergency_situation_surcharge',
|
|
1962
|
-
'peak_surcharge',
|
|
1963
|
-
'duties_taxes_paid_surcharge',
|
|
1964
|
-
'tip',
|
|
1965
|
-
]); },
|
|
1966
|
-
'io.flow.order.price.v0.enums.order_price_detail_key': function () { return faker.helpers.arrayElement([
|
|
1967
|
-
'adjustment',
|
|
1968
|
-
'subtotal',
|
|
1969
|
-
'vat',
|
|
1970
|
-
'duty',
|
|
1971
|
-
'shipping',
|
|
1972
|
-
'insurance',
|
|
1973
|
-
'discount',
|
|
1974
|
-
'surcharges',
|
|
1975
|
-
'tip',
|
|
1976
|
-
]); },
|
|
1977
|
-
'io.flow.order.price.v0.models.order_price_detail': function () { return ({
|
|
1978
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_key'](),
|
|
1979
|
-
currency: factories.string(),
|
|
1980
|
-
amount: factories.decimal(),
|
|
1981
|
-
label: factories.string(),
|
|
1982
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1983
|
-
components: arrayOf(function () { return factories['io.flow.order.price.v0.models.order_price_detail_component'](); }),
|
|
1984
|
-
name: factories.string(),
|
|
1985
|
-
rate: factories.decimal(),
|
|
1986
|
-
accuracy: factories['io.flow.price.v0.enums.price_accuracy'](),
|
|
1987
|
-
rate_label: factories.string(),
|
|
1988
|
-
}); },
|
|
1989
|
-
'io.flow.order.price.v0.models.order_price_detail_component': function () { return ({
|
|
1990
|
-
key: factories['io.flow.order.price.v0.enums.order_price_detail_component_key'](),
|
|
1991
|
-
currency: factories.string(),
|
|
1992
|
-
amount: factories.decimal(),
|
|
1993
|
-
label: factories.string(),
|
|
1994
|
-
base: factories['io.flow.common.v0.models.price'](),
|
|
1995
|
-
name: factories.string(),
|
|
1996
|
-
}); },
|
|
1997
|
-
'io.flow.organization.v0.enums.country_picker_source': function () { return faker.helpers.arrayElement(['experience', 'destination']); },
|
|
1998
|
-
'io.flow.organization.v0.enums.ecommerce_platform_type': function () { return faker.helpers.arrayElement([
|
|
1999
|
-
'commercetools',
|
|
2000
|
-
'custom',
|
|
2001
|
-
'hybris',
|
|
2002
|
-
'magento',
|
|
2003
|
-
'shopify',
|
|
2004
|
-
'shopify_markets',
|
|
2005
|
-
'sfcc',
|
|
2006
|
-
'solidus',
|
|
2007
|
-
'workarea',
|
|
2008
|
-
]); },
|
|
2009
|
-
'io.flow.organization.v0.enums.invitation_error_code': function () { return faker.helpers.arrayElement(['expired', 'invalid_email']); },
|
|
2010
|
-
'io.flow.organization.v0.models.country_picker': function () { return ({
|
|
2011
|
-
id: factories.string(),
|
|
2012
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2013
|
-
}); },
|
|
2014
|
-
'io.flow.organization.v0.models.country_picker_form': function () { return ({
|
|
2015
|
-
source: factories['io.flow.organization.v0.enums.country_picker_source'](),
|
|
2016
|
-
}); },
|
|
2017
|
-
'io.flow.organization.v0.models.ecommerce_platform': function () { return ({
|
|
2018
|
-
id: factories.string(),
|
|
2019
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2020
|
-
version: factories.string(),
|
|
2021
|
-
}); },
|
|
2022
|
-
'io.flow.organization.v0.models.ecommerce_platform_form': function () { return ({
|
|
2023
|
-
type: factories['io.flow.organization.v0.enums.ecommerce_platform_type'](),
|
|
2024
|
-
version: factories.string(),
|
|
2025
|
-
}); },
|
|
2026
|
-
'io.flow.organization.v0.models.invitation': function () { return ({
|
|
2027
|
-
id: factories.string(),
|
|
2028
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2029
|
-
email: factories.string(),
|
|
2030
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2031
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2032
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2033
|
-
expiration: factories.date_time_iso_8601(),
|
|
2034
|
-
}); },
|
|
2035
|
-
'io.flow.organization.v0.models.invitation_error': function () { return ({
|
|
2036
|
-
code: factories['io.flow.organization.v0.enums.invitation_error_code'](),
|
|
2037
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
2038
|
-
}); },
|
|
2039
|
-
'io.flow.organization.v0.models.invitation_form': function () { return ({
|
|
2040
|
-
organization: factories.string(),
|
|
2041
|
-
email: factories.string(),
|
|
2042
|
-
name: factories['io.flow.common.v0.models.name'](),
|
|
2043
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2044
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2045
|
-
}); },
|
|
2046
|
-
'io.flow.organization.v0.models.invitation_version': function () { return ({
|
|
2047
|
-
id: factories.string(),
|
|
2048
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2049
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2050
|
-
invitation: factories['io.flow.organization.v0.models.invitation'](),
|
|
2051
|
-
}); },
|
|
2052
|
-
'io.flow.organization.v0.models.membership': function () { return ({
|
|
2053
|
-
id: factories.string(),
|
|
2054
|
-
organization: factories['io.flow.common.v0.unions.expandable_organization'](),
|
|
2055
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2056
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2057
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2058
|
-
}); },
|
|
2059
|
-
'io.flow.organization.v0.models.membership_form': function () { return ({
|
|
2060
|
-
organization: factories.string(),
|
|
2061
|
-
user: factories.string(),
|
|
2062
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2063
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2064
|
-
}); },
|
|
2065
|
-
'io.flow.organization.v0.models.membership_put_form': function () { return ({
|
|
2066
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2067
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2068
|
-
}); },
|
|
2069
|
-
'io.flow.organization.v0.models.membership_version': function () { return ({
|
|
2070
|
-
id: factories.string(),
|
|
2071
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2072
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2073
|
-
membership: factories['io.flow.organization.v0.models.membership'](),
|
|
2074
|
-
}); },
|
|
2075
|
-
'io.flow.organization.v0.models.organization_authorization': function () { return ({
|
|
2076
|
-
role: factories['io.flow.common.v0.enums.role'](),
|
|
2077
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2078
|
-
}); },
|
|
2079
|
-
'io.flow.organization.v0.models.organization_authorization_form': function () { return ({
|
|
2080
|
-
organization: factories.string(),
|
|
2081
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2082
|
-
}); },
|
|
2083
|
-
'io.flow.organization.v0.models.organization_configuration_reference': function () { return ({
|
|
2084
|
-
id: factories.string(),
|
|
2085
|
-
}); },
|
|
2086
|
-
'io.flow.organization.v0.models.organization_default_configurations': function () { return ({
|
|
2087
|
-
id: factories.string(),
|
|
2088
|
-
checkout_configuration: factories['io.flow.organization.v0.models.organization_configuration_reference'](),
|
|
2089
|
-
}); },
|
|
2090
|
-
'io.flow.organization.v0.models.organization_default_configurations_form': function () { return ({
|
|
2091
|
-
id: factories.string(),
|
|
2092
|
-
}); },
|
|
2093
|
-
'io.flow.organization.v0.models.organization_form': function () { return ({
|
|
2094
|
-
id: factories.string(),
|
|
2095
|
-
name: factories.string(),
|
|
2096
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2097
|
-
parent_id: factories.string(),
|
|
2098
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2099
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2100
|
-
type: factories['io.flow.common.v0.enums.organization_type'](),
|
|
2101
|
-
}); },
|
|
2102
|
-
'io.flow.organization.v0.models.organization_put_form': function () { return ({
|
|
2103
|
-
name: factories.string(),
|
|
2104
|
-
environment: factories['io.flow.common.v0.enums.environment'](),
|
|
2105
|
-
parent_id: factories.string(),
|
|
2106
|
-
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
2107
|
-
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
2108
|
-
}); },
|
|
2109
|
-
'io.flow.organization.v0.models.organization_version': function () { return ({
|
|
2110
|
-
id: factories.string(),
|
|
2111
|
-
timestamp: factories.date_time_iso_8601(),
|
|
2112
|
-
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
2113
|
-
organization: factories['io.flow.common.v0.models.organization'](),
|
|
2114
|
-
}); },
|
|
2115
|
-
'io.flow.organization.v0.models.region_setting': function () { return ({
|
|
2116
|
-
id: factories.string(),
|
|
2117
|
-
region: factories.string(),
|
|
2118
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2119
|
-
}); },
|
|
2120
|
-
'io.flow.organization.v0.models.region_setting_form': function () { return ({
|
|
2121
|
-
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
2122
|
-
}); },
|
|
2123
|
-
'io.flow.permission.v0.enums.authentication_technique': function () { return faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']); },
|
|
2124
|
-
'io.flow.permission.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
|
|
2125
|
-
'io.flow.permission.v0.enums.flow_role': function () { return faker.helpers.arrayElement([
|
|
2126
|
-
'organization_admin',
|
|
2127
|
-
'organization_merchant',
|
|
2128
|
-
'organization_customer_service',
|
|
2129
|
-
'organization_fulfillment',
|
|
2130
|
-
'organization_marketing',
|
|
2131
|
-
'organization_finance',
|
|
2132
|
-
'organization_classification',
|
|
2133
|
-
'flow_operations',
|
|
2134
|
-
'channel_admin',
|
|
2135
|
-
'channel_organization_admin',
|
|
2136
|
-
]); },
|
|
2137
|
-
'io.flow.permission.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
2138
|
-
'io.flow.permission.v0.models.behavior_audit': function () { return ({
|
|
2139
|
-
behavior: factories['io.flow.permission.v0.enums.flow_behavior'](),
|
|
2140
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
2141
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2142
|
-
}); },
|
|
2143
|
-
'io.flow.permission.v0.models.permission_audit': function () { return ({
|
|
2144
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.route_audit'](); }),
|
|
2145
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.models.behavior_audit'](); }),
|
|
2146
|
-
}); },
|
|
2147
|
-
'io.flow.permission.v0.models.permission_check': function () { return ({
|
|
2148
|
-
authentication_technique: factories['io.flow.permission.v0.enums.authentication_technique'](),
|
|
2149
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
2150
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2151
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
2152
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.permitted_route'](); }),
|
|
2153
|
-
}); },
|
|
2154
|
-
'io.flow.permission.v0.models.permitted_route': function () { return ({
|
|
2155
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2156
|
-
path: factories.string(),
|
|
2157
|
-
}); },
|
|
2158
|
-
'io.flow.permission.v0.models.route_audit': function () { return ({
|
|
2159
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
2160
|
-
path: factories.string(),
|
|
2161
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
2162
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
2163
|
-
}); },
|
|
2164
|
-
'io.flow.permission.v0.models.simple_permission_check': function () { return ({
|
|
2165
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
2166
|
-
}); },
|
|
2167
|
-
'io.flow.price.v0.enums.levy_component': function () { return faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']); },
|
|
2168
|
-
'io.flow.price.v0.enums.levy_strategy': function () { return faker.helpers.arrayElement(['minimum', 'average', 'maximum']); },
|
|
2169
|
-
'io.flow.price.v0.enums.price_accuracy': function () { return faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']); },
|
|
2170
|
-
'io.flow.price.v0.enums.price_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
2171
|
-
'base_price',
|
|
2172
|
-
'discount',
|
|
2173
|
-
'currency_margin',
|
|
2174
|
-
'percent_item_margin',
|
|
2175
|
-
'fixed_item_margin',
|
|
2176
|
-
'duties_item_price',
|
|
2177
|
-
'duties_added_margin',
|
|
2178
|
-
'duties_rounding',
|
|
2179
|
-
'duties_deminimis',
|
|
2180
|
-
'vat_item_price',
|
|
2181
|
-
'vat_added_margin',
|
|
2182
|
-
'vat_rounding',
|
|
2183
|
-
'vat_duties_item_price',
|
|
2184
|
-
'vat_duties_added_margin',
|
|
2185
|
-
'vat_duties_rounding',
|
|
2186
|
-
'vat_deminimis',
|
|
2187
|
-
'item_price_percent_sales_margin',
|
|
2188
|
-
'margins_percent_sales_margin',
|
|
2189
|
-
'rounding_percent_sales_margin',
|
|
2190
|
-
'vat_percent_sales_margin',
|
|
2191
|
-
'vat_duty_percent_sales_margin',
|
|
2192
|
-
'duty_percent_sales_margin',
|
|
2193
|
-
]); },
|
|
2194
|
-
'io.flow.price.v0.enums.price_detail_key': function () { return faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
2195
|
-
'io.flow.price.v0.enums.pricing_levy_setting': function () { return faker.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
2196
|
-
'io.flow.price.v0.models.currency_format': function () { return ({
|
|
2197
|
-
symbol: factories['io.flow.common.v0.enums.currency_symbol_format'](),
|
|
2198
|
-
label_formatters: arrayOf(function () { return factories['io.flow.common.v0.enums.currency_label_formatter'](); }),
|
|
2199
|
-
}); },
|
|
2200
|
-
'io.flow.price.v0.models.deminimis_per_item': function () { return ({
|
|
2201
|
-
discriminator: 'deminimis_per_item',
|
|
2202
|
-
currency: factories.string(),
|
|
2203
|
-
minimum: factories.decimal(),
|
|
2204
|
-
maximum: factories.decimal(),
|
|
2205
|
-
}); },
|
|
2206
|
-
'io.flow.price.v0.models.deminimis_simple': function () { return ({
|
|
2207
|
-
discriminator: 'deminimis_simple',
|
|
2208
|
-
value: factories.decimal(),
|
|
2209
|
-
currency: factories.string(),
|
|
2210
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2211
|
-
minimum: factories.decimal(),
|
|
2212
|
-
}); },
|
|
2213
|
-
'io.flow.price.v0.models.duty': function () { return ({
|
|
2214
|
-
rate: factories.decimal(),
|
|
2215
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2216
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2217
|
-
name: factories.string(),
|
|
2218
|
-
}); },
|
|
2219
|
-
'io.flow.price.v0.models.local_price_details': function () { return ({
|
|
2220
|
-
base: factories['io.flow.price.v0.models.price_details'](),
|
|
2221
|
-
local: factories['io.flow.price.v0.models.price_details'](),
|
|
2222
|
-
discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2223
|
-
local_before_discount: factories['io.flow.price.v0.models.price_detail'](),
|
|
2224
|
-
}); },
|
|
2225
|
-
'io.flow.price.v0.models.price_book': function () { return ({
|
|
2226
|
-
id: factories.string(),
|
|
2227
|
-
key: factories.string(),
|
|
2228
|
-
currency: factories.string(),
|
|
2229
|
-
name: factories.string(),
|
|
2230
|
-
includes: factories['io.flow.common.v0.models.included_levies'](),
|
|
2231
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2232
|
-
}); },
|
|
2233
|
-
'io.flow.price.v0.models.price_book_form': function () { return ({
|
|
2234
|
-
currency: factories.string(),
|
|
2235
|
-
name: factories.string(),
|
|
2236
|
-
includes: factories['io.flow.common.v0.enums.included_levy_key'](),
|
|
2237
|
-
status: factories['io.flow.common.v0.enums.price_book_status'](),
|
|
2238
|
-
}); },
|
|
2239
|
-
'io.flow.price.v0.models.price_book_item': function () { return ({
|
|
2240
|
-
id: factories.string(),
|
|
2241
|
-
key: factories.string(),
|
|
2242
|
-
price_book: factories['io.flow.price.v0.models.price_book_reference'](),
|
|
2243
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2244
|
-
item_number: factories.string(),
|
|
2245
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2246
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2247
|
-
}); },
|
|
2248
|
-
'io.flow.price.v0.models.price_book_item_form': function () { return ({
|
|
2249
|
-
price_book_key: factories.string(),
|
|
2250
|
-
item_number: factories.string(),
|
|
2251
|
-
amount: factories.decimal(),
|
|
2252
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2253
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2254
|
-
}); },
|
|
2255
|
-
'io.flow.price.v0.models.price_book_item_query_form': function () { return ({
|
|
2256
|
-
price_book_key: factories.string(),
|
|
2257
|
-
item_query: factories.string(),
|
|
2258
|
-
amount: factories.decimal(),
|
|
2259
|
-
schedule: factories['io.flow.price.v0.models.price_book_item_schedule'](),
|
|
2260
|
-
item_attributes: objectOf(function () { return factories.string(); }),
|
|
2261
|
-
}); },
|
|
2262
|
-
'io.flow.price.v0.models.price_book_item_schedule': function () { return ({
|
|
2263
|
-
starts_at: factories.date_time_iso_8601(),
|
|
2264
|
-
ends_at: factories.date_time_iso_8601(),
|
|
2265
|
-
}); },
|
|
2266
|
-
'io.flow.price.v0.models.price_book_reference': function () { return ({
|
|
2267
|
-
id: factories.string(),
|
|
2268
|
-
key: factories.string(),
|
|
2269
|
-
}); },
|
|
2270
|
-
'io.flow.price.v0.models.price_check': function () { return ({
|
|
2271
|
-
display: factories['io.flow.price.v0.models.local_price_details'](),
|
|
2272
|
-
'final': factories['io.flow.price.v0.models.local_price_details'](),
|
|
2273
|
-
}); },
|
|
2274
|
-
'io.flow.price.v0.models.price_detail': function () { return ({
|
|
2275
|
-
key: factories['io.flow.price.v0.enums.price_detail_key'](),
|
|
2276
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.models.price_detail_component'](); }),
|
|
2277
|
-
amount: factories.decimal(),
|
|
2278
|
-
label: factories.string(),
|
|
2279
|
-
name: factories.string(),
|
|
2280
|
-
basis: factories.decimal(),
|
|
2281
|
-
}); },
|
|
2282
|
-
'io.flow.price.v0.models.price_detail_component': function () { return ({
|
|
2283
|
-
key: factories['io.flow.price.v0.enums.price_detail_component_key'](),
|
|
2284
|
-
amount: factories.decimal(),
|
|
2285
|
-
label: factories.string(),
|
|
2286
|
-
name: factories.string(),
|
|
2287
|
-
}); },
|
|
2288
|
-
'io.flow.price.v0.models.price_details': function () { return ({
|
|
2289
|
-
currency: factories.string(),
|
|
2290
|
-
item_price: factories['io.flow.price.v0.models.price_detail'](),
|
|
2291
|
-
margins: factories['io.flow.price.v0.models.price_detail'](),
|
|
2292
|
-
vat: factories['io.flow.price.v0.models.price_detail'](),
|
|
2293
|
-
duty: factories['io.flow.price.v0.models.price_detail'](),
|
|
2294
|
-
rounding: factories['io.flow.price.v0.models.price_detail'](),
|
|
2295
|
-
price: factories['io.flow.common.v0.models.price'](),
|
|
2296
|
-
total: factories['io.flow.common.v0.models.price'](),
|
|
2297
|
-
adjustment: factories['io.flow.price.v0.models.price_detail'](),
|
|
2298
|
-
}); },
|
|
2299
|
-
'io.flow.price.v0.models.price_equation': function () { return ({
|
|
2300
|
-
contracted_rate: factories.decimal(),
|
|
2301
|
-
rate: factories.decimal(),
|
|
2302
|
-
pricing: factories['io.flow.price.v0.models.pricing'](),
|
|
2303
|
-
base_price: factories.decimal(),
|
|
2304
|
-
discount: factories.decimal(),
|
|
2305
|
-
fixed_margin: factories.decimal(),
|
|
2306
|
-
percent_margin: factories.decimal(),
|
|
2307
|
-
insurance: factories.decimal(),
|
|
2308
|
-
freight: factories.decimal(),
|
|
2309
|
-
duty: factories['io.flow.price.v0.models.duty'](),
|
|
2310
|
-
tax: factories['io.flow.price.v0.models.tax'](),
|
|
2311
|
-
percent_sales_margin: factories.decimal(),
|
|
2312
|
-
}); },
|
|
2313
|
-
'io.flow.price.v0.models.pricing': function () { return ({
|
|
2314
|
-
vat: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2315
|
-
duty: factories['io.flow.price.v0.enums.pricing_levy_setting'](),
|
|
2316
|
-
rounding: factories['io.flow.common.v0.models.rounding'](),
|
|
2317
|
-
}); },
|
|
2318
|
-
'io.flow.price.v0.models.tax': function () { return ({
|
|
2319
|
-
name: factories.string(),
|
|
2320
|
-
rate: factories.decimal(),
|
|
2321
|
-
components: arrayOf(function () { return factories['io.flow.price.v0.enums.levy_component'](); }),
|
|
2322
|
-
deminimis: factories['io.flow.price.v0.unions.deminimis'](),
|
|
2323
|
-
}); },
|
|
2324
|
-
'io.flow.price.v0.unions.deminimis': function () {
|
|
2325
|
-
var f = faker.helpers.arrayElement([
|
|
2326
|
-
function () { return factories['io.flow.price.v0.models.deminimis_simple'](); },
|
|
2327
|
-
function () { return factories['io.flow.price.v0.models.deminimis_per_item'](); },
|
|
2328
|
-
]);
|
|
2329
|
-
return f();
|
|
2330
|
-
},
|
|
2331
|
-
'io.flow.product.v0.models.product': function () { return ({
|
|
2332
|
-
organization_id: factories.string(),
|
|
2333
|
-
number: factories.string(),
|
|
2334
|
-
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
2335
|
-
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
2336
|
-
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
2337
|
-
updated_at: factories.date_time_iso_8601(),
|
|
2338
|
-
deleted_at: factories.date_time_iso_8601(),
|
|
2339
|
-
}); },
|
|
2340
|
-
'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
|
|
2341
|
-
name: factories.string(),
|
|
2342
|
-
full_name: factories.string(),
|
|
2343
|
-
}); },
|
|
2344
|
-
'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
|
|
2345
|
-
key: factories.string(),
|
|
2346
|
-
value: arrayOf(function () { return factories.string(); }),
|
|
2347
|
-
}); },
|
|
2348
|
-
'io.flow.query.builder.v0.enums.available_filter_format': function () { return faker.helpers.arrayElement([
|
|
2349
|
-
'boolean',
|
|
2350
|
-
'date',
|
|
2351
|
-
'money',
|
|
2352
|
-
'decimal',
|
|
2353
|
-
'string',
|
|
2354
|
-
'unit_of_length',
|
|
2355
|
-
'unit_of_mass',
|
|
2356
|
-
]); },
|
|
2357
|
-
'io.flow.query.builder.v0.models.available_filter_structured': function () { return ({
|
|
2358
|
-
discriminator: 'structured',
|
|
2359
|
-
field: factories.string(),
|
|
2360
|
-
operators: arrayOf(function () { return factories.string(); }),
|
|
2361
|
-
format: factories['io.flow.query.builder.v0.enums.available_filter_format'](),
|
|
2362
|
-
valid_values: arrayOf(function () { return factories.string(); }),
|
|
2363
|
-
placeholder: factories.string(),
|
|
2364
|
-
}); },
|
|
2365
|
-
'io.flow.query.builder.v0.models.available_filter_unstructured': function () { return ({
|
|
2366
|
-
discriminator: 'unstructured',
|
|
2367
|
-
placeholder: factories.string(),
|
|
2368
|
-
}); },
|
|
2369
|
-
'io.flow.query.builder.v0.models.query': function () { return ({
|
|
2370
|
-
q: factories.string(),
|
|
2371
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter'](); }),
|
|
2372
|
-
}); },
|
|
2373
|
-
'io.flow.query.builder.v0.models.query_builder': function () { return ({
|
|
2374
|
-
q: factories.string(),
|
|
2375
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter'](); }),
|
|
2376
|
-
available: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.available_filter'](); }),
|
|
2377
|
-
}); },
|
|
2378
|
-
'io.flow.query.builder.v0.models.query_builder_filter_form': function () { return ({
|
|
2379
|
-
discriminator: 'filter',
|
|
2380
|
-
filters: arrayOf(function () { return factories['io.flow.query.builder.v0.unions.query_filter_form'](); }),
|
|
2381
|
-
}); },
|
|
2382
|
-
'io.flow.query.builder.v0.models.query_builder_query_form': function () { return ({
|
|
2383
|
-
discriminator: 'query',
|
|
2384
|
-
q: factories.string(),
|
|
2385
|
-
}); },
|
|
2386
|
-
'io.flow.query.builder.v0.models.query_filter_structured': function () { return ({
|
|
2387
|
-
discriminator: 'structured',
|
|
2388
|
-
q: factories.string(),
|
|
2389
|
-
field: factories.string(),
|
|
2390
|
-
operator: factories.string(),
|
|
2391
|
-
values: arrayOf(function () { return factories.string(); }),
|
|
2392
|
-
}); },
|
|
2393
|
-
'io.flow.query.builder.v0.models.query_filter_structured_form': function () { return ({
|
|
2394
|
-
discriminator: 'structured',
|
|
2395
|
-
field: factories.string(),
|
|
2396
|
-
operator: factories.string(),
|
|
2397
|
-
values: arrayOf(function () { return factories.string(); }),
|
|
2398
|
-
}); },
|
|
2399
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured': function () { return ({
|
|
2400
|
-
discriminator: 'unstructured',
|
|
2401
|
-
q: factories.string(),
|
|
2402
|
-
}); },
|
|
2403
|
-
'io.flow.query.builder.v0.models.query_filter_unstructured_form': function () { return ({
|
|
2404
|
-
discriminator: 'unstructured',
|
|
2405
|
-
q: factories.string(),
|
|
2406
|
-
}); },
|
|
2407
|
-
'io.flow.query.builder.v0.unions.available_filter': function () {
|
|
2408
|
-
var f = faker.helpers.arrayElement([
|
|
2409
|
-
function () { return factories['io.flow.query.builder.v0.models.available_filter_structured'](); },
|
|
2410
|
-
function () { return factories['io.flow.query.builder.v0.models.available_filter_unstructured'](); },
|
|
2411
|
-
]);
|
|
2412
|
-
return f();
|
|
2413
|
-
},
|
|
2414
|
-
'io.flow.query.builder.v0.unions.query_builder_form': function () {
|
|
2415
|
-
var f = faker.helpers.arrayElement([
|
|
2416
|
-
function () { return factories['io.flow.query.builder.v0.models.query_builder_filter_form'](); },
|
|
2417
|
-
function () { return factories['io.flow.query.builder.v0.models.query_builder_query_form'](); },
|
|
2418
|
-
]);
|
|
2419
|
-
return f();
|
|
2420
|
-
},
|
|
2421
|
-
'io.flow.query.builder.v0.unions.query_filter': function () {
|
|
2422
|
-
var f = faker.helpers.arrayElement([
|
|
2423
|
-
function () { return factories['io.flow.query.builder.v0.models.query_filter_structured'](); },
|
|
2424
|
-
function () { return factories['io.flow.query.builder.v0.models.query_filter_unstructured'](); },
|
|
2425
|
-
]);
|
|
2426
|
-
return f();
|
|
2427
|
-
},
|
|
2428
|
-
'io.flow.query.builder.v0.unions.query_filter_form': function () {
|
|
2429
|
-
var f = faker.helpers.arrayElement([
|
|
2430
|
-
function () { return factories['io.flow.query.builder.v0.models.query_filter_structured_form'](); },
|
|
2431
|
-
function () { return factories['io.flow.query.builder.v0.models.query_filter_unstructured_form'](); },
|
|
2432
|
-
]);
|
|
2433
|
-
return f();
|
|
2434
|
-
},
|
|
2435
|
-
'io.flow.reference.v0.enums.payment_method_capability': function () { return faker.helpers.arrayElement(['credit', 'debit']); },
|
|
2436
|
-
'io.flow.reference.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'online', 'offline']); },
|
|
2437
|
-
'io.flow.reference.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
2438
|
-
'io.flow.reference.v0.enums.province_type': function () { return faker.helpers.arrayElement([
|
|
2439
|
-
'area',
|
|
2440
|
-
'city',
|
|
2441
|
-
'county',
|
|
2442
|
-
'department',
|
|
2443
|
-
'dependency',
|
|
2444
|
-
'district',
|
|
2445
|
-
'do_si',
|
|
2446
|
-
'emirate',
|
|
2447
|
-
'entity',
|
|
2448
|
-
'island',
|
|
2449
|
-
'municipality',
|
|
2450
|
-
'oblast',
|
|
2451
|
-
'outlying_area',
|
|
2452
|
-
'parish',
|
|
2453
|
-
'prefecture',
|
|
2454
|
-
'province',
|
|
2455
|
-
'state',
|
|
2456
|
-
'territory',
|
|
2457
|
-
'other',
|
|
2458
|
-
]); },
|
|
2459
|
-
'io.flow.reference.v0.models.carrier': function () { return ({
|
|
2460
|
-
id: factories.string(),
|
|
2461
|
-
name: factories.string(),
|
|
2462
|
-
tracking_url: factories.string(),
|
|
2463
|
-
}); },
|
|
2464
|
-
'io.flow.reference.v0.models.carrier_service': function () { return ({
|
|
2465
|
-
id: factories.string(),
|
|
2466
|
-
carrier: factories['io.flow.reference.v0.models.carrier'](),
|
|
2467
|
-
name: factories.string(),
|
|
2468
|
-
}); },
|
|
2469
|
-
'io.flow.reference.v0.models.country': function () { return ({
|
|
2470
|
-
name: factories.string(),
|
|
2471
|
-
iso_3166_2: factories.string(),
|
|
2472
|
-
iso_3166_3: factories.string(),
|
|
2473
|
-
languages: arrayOf(function () { return factories.string(); }),
|
|
2474
|
-
measurement_system: factories.string(),
|
|
2475
|
-
default_currency: factories.string(),
|
|
2476
|
-
default_language: factories.string(),
|
|
2477
|
-
timezones: arrayOf(function () { return factories.string(); }),
|
|
2478
|
-
default_delivered_duty: factories.string(),
|
|
2479
|
-
}); },
|
|
2480
|
-
'io.flow.reference.v0.models.currency': function () { return ({
|
|
2481
|
-
name: factories.string(),
|
|
2482
|
-
iso_4217_3: factories.string(),
|
|
2483
|
-
number_decimals: factories.integer(),
|
|
2484
|
-
symbols: factories['io.flow.reference.v0.models.currency_symbols'](),
|
|
2485
|
-
default_locale: factories.string(),
|
|
2486
|
-
}); },
|
|
2487
|
-
'io.flow.reference.v0.models.currency_symbols': function () { return ({
|
|
2488
|
-
primary: factories.string(),
|
|
2489
|
-
narrow: factories.string(),
|
|
2490
|
-
}); },
|
|
2491
|
-
'io.flow.reference.v0.models.language': function () { return ({
|
|
2492
|
-
name: factories.string(),
|
|
2493
|
-
iso_639_2: factories.string(),
|
|
760
|
+
'io.flow.google.pay.v0.models.card_direct_tokenization_parameters': function () { return ({
|
|
761
|
+
protocolVersion: factories.string(),
|
|
762
|
+
publicKey: factories.string(),
|
|
2494
763
|
}); },
|
|
2495
|
-
'io.flow.
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
language: factories.string(),
|
|
2500
|
-
numbers: factories['io.flow.reference.v0.models.locale_numbers'](),
|
|
764
|
+
'io.flow.google.pay.v0.models.card_payment_method_data_info': function () { return ({
|
|
765
|
+
cardDetails: factories.string(),
|
|
766
|
+
cardNetwork: factories.string(),
|
|
767
|
+
billingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2501
768
|
}); },
|
|
2502
|
-
'io.flow.
|
|
2503
|
-
|
|
2504
|
-
|
|
769
|
+
'io.flow.google.pay.v0.models.card_payment_method_parameters': function () { return ({
|
|
770
|
+
allowedAuthMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.auth_method'](); }),
|
|
771
|
+
allowedCardNetworks: arrayOf(function () { return factories['io.flow.google.pay.v0.enums.card_network'](); }),
|
|
772
|
+
billingAddressRequired: factories.boolean(),
|
|
773
|
+
billingAddressParameters: factories['io.flow.google.pay.v0.models.billing_address_parameters'](),
|
|
2505
774
|
}); },
|
|
2506
|
-
'io.flow.
|
|
2507
|
-
|
|
2508
|
-
|
|
775
|
+
'io.flow.google.pay.v0.models.direct_payment_method_token': function () { return ({
|
|
776
|
+
discriminator: 'direct_payment_method_token',
|
|
777
|
+
protocolVersion: factories.string(),
|
|
778
|
+
signature: factories.string(),
|
|
779
|
+
signedMessage: factories.string(),
|
|
2509
780
|
}); },
|
|
2510
|
-
'io.flow.
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
regions: arrayOf(function () { return factories.string(); }),
|
|
2516
|
-
capabilities: arrayOf(function () { return factories['io.flow.reference.v0.enums.payment_method_capability'](); }),
|
|
781
|
+
'io.flow.google.pay.v0.models.encrypted_message': function () { return ({
|
|
782
|
+
messageExpiration: factories.string(),
|
|
783
|
+
messageId: factories.string(),
|
|
784
|
+
paymentMethod: factories['io.flow.google.pay.v0.models.payment_method'](),
|
|
785
|
+
paymentMethodDetails: factories['io.flow.google.pay.v0.models.payment_method_details'](),
|
|
2517
786
|
}); },
|
|
2518
|
-
'io.flow.
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
787
|
+
'io.flow.google.pay.v0.models.merchant_info': function () { return ({
|
|
788
|
+
merchantId: factories.string(),
|
|
789
|
+
merchantName: factories.string(),
|
|
790
|
+
authJwt: factories.string(),
|
|
2522
791
|
}); },
|
|
2523
|
-
'io.flow.
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
792
|
+
'io.flow.google.pay.v0.models.payment_data': function () { return ({
|
|
793
|
+
apiVersion: factories.integer(),
|
|
794
|
+
apiVersionMinor: factories.integer(),
|
|
795
|
+
paymentMethodData: factories['io.flow.google.pay.v0.models.payment_method_data'](),
|
|
796
|
+
email: factories.string(),
|
|
797
|
+
shippingAddress: factories['io.flow.google.pay.v0.models.address'](),
|
|
2527
798
|
}); },
|
|
2528
|
-
'io.flow.
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
799
|
+
'io.flow.google.pay.v0.models.payment_data_request': function () { return ({
|
|
800
|
+
apiVersion: factories.integer(),
|
|
801
|
+
apiVersionMinor: factories.integer(),
|
|
802
|
+
merchantInfo: factories['io.flow.google.pay.v0.models.merchant_info'](),
|
|
803
|
+
allowedPaymentMethods: arrayOf(function () { return factories['io.flow.google.pay.v0.models.payment_method'](); }),
|
|
804
|
+
transactionInfo: factories['io.flow.google.pay.v0.models.transaction_info'](),
|
|
805
|
+
emailRequired: factories.boolean(),
|
|
806
|
+
shippingAddressRequired: factories.boolean(),
|
|
807
|
+
shippingAddressParameters: factories['io.flow.google.pay.v0.models.shipping_address_parameters'](),
|
|
2535
808
|
}); },
|
|
2536
|
-
'io.flow.
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
currencies: arrayOf(function () { return factories.string(); }),
|
|
2541
|
-
languages: arrayOf(function () { return factories.string(); }),
|
|
2542
|
-
measurement_systems: arrayOf(function () { return factories.string(); }),
|
|
2543
|
-
timezones: arrayOf(function () { return factories.string(); }),
|
|
809
|
+
'io.flow.google.pay.v0.models.payment_method': function () { return ({
|
|
810
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
811
|
+
parameters: factories['io.flow.google.pay.v0.models.card_payment_method_parameters'](),
|
|
812
|
+
tokenizationSpecification: factories['io.flow.google.pay.v0.models.payment_method_tokenization_specification'](),
|
|
2544
813
|
}); },
|
|
2545
|
-
'io.flow.
|
|
2546
|
-
|
|
814
|
+
'io.flow.google.pay.v0.models.payment_method_data': function () { return ({
|
|
815
|
+
type: factories['io.flow.google.pay.v0.enums.payment_method_type'](),
|
|
2547
816
|
description: factories.string(),
|
|
2548
|
-
|
|
817
|
+
info: factories['io.flow.google.pay.v0.models.card_payment_method_data_info'](),
|
|
818
|
+
tokenizationData: factories['io.flow.google.pay.v0.models.payment_method_tokenization_data'](),
|
|
2549
819
|
}); },
|
|
2550
|
-
'io.flow.
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
'
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
'io.flow.sellability.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
2558
|
-
'io.flow.sellability.v0.models.product_sellability': function () { return ({
|
|
2559
|
-
discriminator: 'product_sellability',
|
|
2560
|
-
shop_id: factories.string(),
|
|
2561
|
-
product_id: factories.string(),
|
|
2562
|
-
request_id: factories.string(),
|
|
2563
|
-
hs6_code: factories.string(),
|
|
2564
|
-
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellablility_region_result'](); }),
|
|
820
|
+
'io.flow.google.pay.v0.models.payment_method_details': function () { return ({
|
|
821
|
+
pan: factories.string(),
|
|
822
|
+
expirationMonth: factories.integer(),
|
|
823
|
+
expirationYear: factories.integer(),
|
|
824
|
+
authMethod: factories['io.flow.google.pay.v0.enums.auth_method'](),
|
|
825
|
+
cryptogram: factories.string(),
|
|
826
|
+
eciIndicator: factories.string(),
|
|
2565
827
|
}); },
|
|
2566
|
-
'io.flow.
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
name: factories.string(),
|
|
2570
|
-
price: factories['io.flow.sellability.v0.models.product_sellability_price'](),
|
|
2571
|
-
description: factories.string(),
|
|
2572
|
-
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
2573
|
-
status: factories['io.flow.sellability.v0.enums.sellability_request_status'](),
|
|
2574
|
-
dry_run: factories.boolean(),
|
|
828
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_data': function () { return ({
|
|
829
|
+
type: factories.string(),
|
|
830
|
+
token: factories.string(),
|
|
2575
831
|
}); },
|
|
2576
|
-
'io.flow.
|
|
2577
|
-
|
|
2578
|
-
|
|
832
|
+
'io.flow.google.pay.v0.models.payment_method_tokenization_specification': function () { return ({
|
|
833
|
+
type: factories['io.flow.google.pay.v0.enums.tokenization_type'](),
|
|
834
|
+
parameters: factories.object(),
|
|
2579
835
|
}); },
|
|
2580
|
-
'io.flow.
|
|
2581
|
-
|
|
2582
|
-
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
2583
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
836
|
+
'io.flow.google.pay.v0.models.shipping_address_parameters': function () { return ({
|
|
837
|
+
allowedCountryCodes: arrayOf(function () { return factories.string(); }),
|
|
2584
838
|
}); },
|
|
2585
|
-
'io.flow.
|
|
2586
|
-
|
|
2587
|
-
|
|
839
|
+
'io.flow.google.pay.v0.models.signed_message': function () { return ({
|
|
840
|
+
encryptedMessage: factories.string(),
|
|
841
|
+
ephemeralPublicKey: factories.string(),
|
|
842
|
+
tag: factories.string(),
|
|
2588
843
|
}); },
|
|
2589
|
-
'io.flow.
|
|
844
|
+
'io.flow.google.pay.v0.models.stripe_payment_method_token': function () { return ({
|
|
845
|
+
discriminator: 'stripe_payment_method_token',
|
|
846
|
+
token: factories['io.flow.stripe.v0.models.token'](),
|
|
847
|
+
}); },
|
|
848
|
+
'io.flow.google.pay.v0.models.transaction_info': function () { return ({
|
|
849
|
+
totalPriceStatus: factories['io.flow.google.pay.v0.enums.total_price_status'](),
|
|
850
|
+
totalPrice: factories.string(),
|
|
851
|
+
currencyCode: factories.string(),
|
|
852
|
+
}); },
|
|
853
|
+
'io.flow.google.pay.v0.unions.payment_method_token': function () {
|
|
2590
854
|
var f = faker.helpers.arrayElement([
|
|
2591
|
-
function () { return factories['io.flow.
|
|
2592
|
-
function () { return factories['io.flow.
|
|
855
|
+
function () { return factories['io.flow.google.pay.v0.models.direct_payment_method_token'](); },
|
|
856
|
+
function () { return factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](); },
|
|
2593
857
|
]);
|
|
2594
858
|
return f();
|
|
2595
859
|
},
|
|
860
|
+
'io.flow.product.v0.models.product': function () { return ({
|
|
861
|
+
organization_id: factories.string(),
|
|
862
|
+
number: factories.string(),
|
|
863
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
864
|
+
taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
|
|
865
|
+
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
866
|
+
highest_value_item_number: factories.string(),
|
|
867
|
+
updated_at: factories.date_time_iso_8601(),
|
|
868
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
869
|
+
}); },
|
|
870
|
+
'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
|
|
871
|
+
name: factories.string(),
|
|
872
|
+
full_name: factories.string(),
|
|
873
|
+
}); },
|
|
874
|
+
'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
|
|
875
|
+
key: factories.string(),
|
|
876
|
+
value: arrayOf(function () { return factories.string(); }),
|
|
877
|
+
value_obj: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_value'](); }),
|
|
878
|
+
}); },
|
|
879
|
+
'io.flow.product.v0.models.product_taxonomy_value': function () { return ({
|
|
880
|
+
handle: factories.string(),
|
|
881
|
+
name: factories.string(),
|
|
882
|
+
}); },
|
|
2596
883
|
'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']); },
|
|
2597
884
|
'io.flow.shopify.external.v0.enums.discount_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']); },
|
|
2598
885
|
'io.flow.shopify.external.v0.enums.discount_type': function () { return faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']); },
|
|
@@ -2780,6 +1067,7 @@ var factories = {
|
|
|
2780
1067
|
'io.flow.shopify.external.v0.models.graphql_metaobject_field': function () { return ({
|
|
2781
1068
|
key: factories.string(),
|
|
2782
1069
|
value: factories.string(),
|
|
1070
|
+
type: factories.string(),
|
|
2783
1071
|
}); },
|
|
2784
1072
|
'io.flow.shopify.external.v0.models.graphql_option': function () { return ({
|
|
2785
1073
|
id: factories.string(),
|
|
@@ -5303,10 +3591,13 @@ var factories = {
|
|
|
5303
3591
|
return f();
|
|
5304
3592
|
},
|
|
5305
3593
|
'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3594
|
+
'io.flow.tech.onboarding.playground.v0.enums.anirban_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
5306
3595
|
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3596
|
+
'io.flow.tech.onboarding.playground.v0.enums.hosein_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
5307
3597
|
'io.flow.tech.onboarding.playground.v0.enums.niall_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
5308
3598
|
'io.flow.tech.onboarding.playground.v0.enums.prateek_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
5309
3599
|
'io.flow.tech.onboarding.playground.v0.enums.rohan_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3600
|
+
'io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
5310
3601
|
'io.flow.tech.onboarding.playground.v0.models.aldo_item': function () { return ({
|
|
5311
3602
|
id: factories.string(),
|
|
5312
3603
|
number: factories.string(),
|
|
@@ -5322,6 +3613,21 @@ var factories = {
|
|
|
5322
3613
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
|
|
5323
3614
|
added_on: factories.date_iso_8601(),
|
|
5324
3615
|
}); },
|
|
3616
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item': function () { return ({
|
|
3617
|
+
id: factories.string(),
|
|
3618
|
+
number: factories.string(),
|
|
3619
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3620
|
+
description: factories.string(),
|
|
3621
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
3622
|
+
added_on: factories.date_time_iso_8601(),
|
|
3623
|
+
}); },
|
|
3624
|
+
'io.flow.tech.onboarding.playground.v0.models.anirban_item_form': function () { return ({
|
|
3625
|
+
number: factories.string(),
|
|
3626
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3627
|
+
description: factories.string(),
|
|
3628
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
3629
|
+
added_on: factories.date_time_iso_8601(),
|
|
3630
|
+
}); },
|
|
5325
3631
|
'io.flow.tech.onboarding.playground.v0.models.ansh_item': function () { return ({
|
|
5326
3632
|
id: factories.string(),
|
|
5327
3633
|
number: factories.string(),
|
|
@@ -5337,6 +3643,21 @@ var factories = {
|
|
|
5337
3643
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
|
|
5338
3644
|
added_on: factories.date_iso_8601(),
|
|
5339
3645
|
}); },
|
|
3646
|
+
'io.flow.tech.onboarding.playground.v0.models.hosein_item': function () { return ({
|
|
3647
|
+
id: factories.string(),
|
|
3648
|
+
number: factories.string(),
|
|
3649
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3650
|
+
description: factories.string(),
|
|
3651
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
3652
|
+
added_on: factories.date_time_iso_8601(),
|
|
3653
|
+
}); },
|
|
3654
|
+
'io.flow.tech.onboarding.playground.v0.models.hosein_item_form': function () { return ({
|
|
3655
|
+
number: factories.string(),
|
|
3656
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3657
|
+
description: factories.string(),
|
|
3658
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
3659
|
+
added_on: factories.date_time_iso_8601(),
|
|
3660
|
+
}); },
|
|
5340
3661
|
'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': function () { return ({
|
|
5341
3662
|
id: factories.string(),
|
|
5342
3663
|
name: factories.string(),
|
|
@@ -5386,6 +3707,21 @@ var factories = {
|
|
|
5386
3707
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.rohan_item_type'](),
|
|
5387
3708
|
added_on: factories.date_iso_8601(),
|
|
5388
3709
|
}); },
|
|
3710
|
+
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item': function () { return ({
|
|
3711
|
+
id: factories.string(),
|
|
3712
|
+
number: factories.string(),
|
|
3713
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3714
|
+
description: factories.string(),
|
|
3715
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
3716
|
+
added_on: factories.date_time_iso_8601(),
|
|
3717
|
+
}); },
|
|
3718
|
+
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item_form': function () { return ({
|
|
3719
|
+
number: factories.string(),
|
|
3720
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3721
|
+
description: factories.string(),
|
|
3722
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
3723
|
+
added_on: factories.date_time_iso_8601(),
|
|
3724
|
+
}); },
|
|
5389
3725
|
'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': function () { return ({
|
|
5390
3726
|
description: factories.string(),
|
|
5391
3727
|
}); },
|
|
@@ -5575,6 +3911,10 @@ var factories = {
|
|
|
5575
3911
|
'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
|
|
5576
3912
|
'test_upserted',
|
|
5577
3913
|
'generate_load',
|
|
3914
|
+
'sarvesh_item_upserted',
|
|
3915
|
+
'sarvesh_item_deleted',
|
|
3916
|
+
'hosein_item_upserted',
|
|
3917
|
+
'hosein_item_deleted',
|
|
5578
3918
|
'niall_item_upserted',
|
|
5579
3919
|
'niall_item_deleted',
|
|
5580
3920
|
'rohan_item_upserted',
|
|
@@ -5583,6 +3923,8 @@ var factories = {
|
|
|
5583
3923
|
'aldo_item_deleted',
|
|
5584
3924
|
'ansh_item_upserted',
|
|
5585
3925
|
'ansh_item_deleted',
|
|
3926
|
+
'anirban_item_upserted',
|
|
3927
|
+
'anirban_item_deleted',
|
|
5586
3928
|
'transaction_upserted',
|
|
5587
3929
|
'organization_transaction_upserted',
|
|
5588
3930
|
'organization_transaction_deleted',
|
|
@@ -5637,44 +3979,12 @@ var factories = {
|
|
|
5637
3979
|
'rate_upserted',
|
|
5638
3980
|
'rate_deleted_v3',
|
|
5639
3981
|
'rate_upserted_v3',
|
|
5640
|
-
'available_promotions_upserted',
|
|
5641
|
-
'available_promotions_deleted',
|
|
5642
|
-
'available_promotions_upserted_v2',
|
|
5643
|
-
'available_promotions_deleted_v2',
|
|
5644
3982
|
'allocation_deleted_v2',
|
|
5645
3983
|
'allocation_upserted_v2',
|
|
5646
|
-
'currency_format_deleted',
|
|
5647
|
-
'currency_format_upserted',
|
|
5648
|
-
'experience_deleted',
|
|
5649
|
-
'experience_upserted',
|
|
5650
|
-
'experience_deleted_v2',
|
|
5651
|
-
'experience_upserted_v2',
|
|
5652
|
-
'country_status_upserted',
|
|
5653
|
-
'country_status_deleted',
|
|
5654
|
-
'experience_price_book_mapping_deleted',
|
|
5655
|
-
'experience_price_book_mapping_upserted',
|
|
5656
|
-
'experience_logistics_settings_upserted',
|
|
5657
|
-
'experience_logistics_settings_deleted',
|
|
5658
|
-
'item_margin_deleted_v2',
|
|
5659
|
-
'item_margin_upserted_v2',
|
|
5660
|
-
'item_sales_margin_deleted',
|
|
5661
|
-
'item_sales_margin_upserted',
|
|
5662
|
-
'label_format_deleted',
|
|
5663
|
-
'label_format_upserted',
|
|
5664
|
-
'order_deleted',
|
|
5665
|
-
'order_upserted',
|
|
5666
3984
|
'order_deleted_v2',
|
|
5667
3985
|
'order_upserted_v2',
|
|
5668
|
-
'order_identifier_deleted',
|
|
5669
|
-
'order_identifier_upserted',
|
|
5670
3986
|
'order_identifier_deleted_v2',
|
|
5671
|
-
'order_identifier_upserted_v2',
|
|
5672
3987
|
'order_identifier_upserted_v3',
|
|
5673
|
-
'order_replacement_upserted',
|
|
5674
|
-
'order_replacement_deleted',
|
|
5675
|
-
'pricing_deleted',
|
|
5676
|
-
'pricing_upserted',
|
|
5677
|
-
'order_service_change_request',
|
|
5678
3988
|
'fraud_status_changed',
|
|
5679
3989
|
'center_upserted',
|
|
5680
3990
|
'center_deleted',
|
|
@@ -5699,8 +4009,6 @@ var factories = {
|
|
|
5699
4009
|
'item_origin_deleted',
|
|
5700
4010
|
'harmonized_landed_cost_upserted',
|
|
5701
4011
|
'fully_harmonized_item_upserted',
|
|
5702
|
-
'import_completed_v2',
|
|
5703
|
-
'import_failed_v2',
|
|
5704
4012
|
'label_upserted',
|
|
5705
4013
|
'label_deleted_v2',
|
|
5706
4014
|
'label_upserted_v2',
|
|
@@ -5876,6 +4184,7 @@ var factories = {
|
|
|
5876
4184
|
'io.flow.v0.enums.lane_preselect_preference': function () { return faker.helpers.arrayElement(['lowest_cost', 'default_tier']); },
|
|
5877
4185
|
'io.flow.v0.enums.lane_strategy': function () { return faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']); },
|
|
5878
4186
|
'io.flow.v0.enums.levy_component': function () { return faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']); },
|
|
4187
|
+
'io.flow.v0.enums.levy_inclusion': function () { return faker.helpers.arrayElement(['tax', 'duty']); },
|
|
5879
4188
|
'io.flow.v0.enums.levy_strategy': function () { return faker.helpers.arrayElement(['minimum', 'average', 'maximum']); },
|
|
5880
4189
|
'io.flow.v0.enums.location_error_code': function () { return faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']); },
|
|
5881
4190
|
'io.flow.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
|
|
@@ -6008,6 +4317,7 @@ var factories = {
|
|
|
6008
4317
|
'surcharges',
|
|
6009
4318
|
'tip',
|
|
6010
4319
|
]); },
|
|
4320
|
+
'io.flow.v0.enums.order_price_fee_type': function () { return faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product']); },
|
|
6011
4321
|
'io.flow.v0.enums.order_refund_summary_includes': function () { return faker.helpers.arrayElement(['duties', 'vat', 'shipping']); },
|
|
6012
4322
|
'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']); },
|
|
6013
4323
|
'io.flow.v0.enums.order_status': function () { return faker.helpers.arrayElement(['open', 'submitted']); },
|
|
@@ -6129,6 +4439,7 @@ var factories = {
|
|
|
6129
4439
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
6130
4440
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
6131
4441
|
'io.flow.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
4442
|
+
'io.flow.v0.enums.preferential_rate_eligibility': function () { return faker.helpers.arrayElement(['baby_clothing', 'kids_clothing']); },
|
|
6132
4443
|
'io.flow.v0.enums.preferred_service_selection_strategy': function () { return faker.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']); },
|
|
6133
4444
|
'io.flow.v0.enums.price_accuracy': function () { return faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']); },
|
|
6134
4445
|
'io.flow.v0.enums.price_book_status': function () { return faker.helpers.arrayElement(['draft', 'published', 'archived']); },
|
|
@@ -6159,38 +4470,6 @@ var factories = {
|
|
|
6159
4470
|
'io.flow.v0.enums.price_detail_key': function () { return faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
6160
4471
|
'io.flow.v0.enums.price_facet_boundary': function () { return faker.helpers.arrayElement(['min', 'max']); },
|
|
6161
4472
|
'io.flow.v0.enums.pricing_levy_setting': function () { return faker.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
6162
|
-
'io.flow.v0.enums.product_restriction_rule': function () { return faker.helpers.arrayElement([
|
|
6163
|
-
'Adult Products',
|
|
6164
|
-
'Alcohol',
|
|
6165
|
-
'Anti Money Laundering',
|
|
6166
|
-
'Collagen',
|
|
6167
|
-
'Consumer Safety',
|
|
6168
|
-
'Cosmetics',
|
|
6169
|
-
'DG - Batteries',
|
|
6170
|
-
'DG - Hazmat',
|
|
6171
|
-
'Drugs',
|
|
6172
|
-
'Dual Use',
|
|
6173
|
-
'Fine Art',
|
|
6174
|
-
'Fish & Wildlife - CITES',
|
|
6175
|
-
'Fish & Wildlife - Plant',
|
|
6176
|
-
'Fish & Wildlife - USFWS',
|
|
6177
|
-
'Food',
|
|
6178
|
-
'Gambling',
|
|
6179
|
-
'Health',
|
|
6180
|
-
'Human hair',
|
|
6181
|
-
'Insufficient Details',
|
|
6182
|
-
'Intangible',
|
|
6183
|
-
'Jewelry',
|
|
6184
|
-
'Jewelry & Watches Over 5000',
|
|
6185
|
-
'Knives',
|
|
6186
|
-
'Liquids',
|
|
6187
|
-
'Oversized',
|
|
6188
|
-
'Restrict by Default',
|
|
6189
|
-
'Supplements',
|
|
6190
|
-
'Tattoo Ink And PMU',
|
|
6191
|
-
'Weapon',
|
|
6192
|
-
'Wood',
|
|
6193
|
-
]); },
|
|
6194
4473
|
'io.flow.v0.enums.promotion_trigger_type': function () { return faker.helpers.arrayElement(['automatic', 'order_subtotal']); },
|
|
6195
4474
|
'io.flow.v0.enums.province_type': function () { return faker.helpers.arrayElement([
|
|
6196
4475
|
'area',
|
|
@@ -6273,7 +4552,15 @@ var factories = {
|
|
|
6273
4552
|
'io.flow.v0.enums.role': function () { return faker.helpers.arrayElement(['admin', 'member']); },
|
|
6274
4553
|
'io.flow.v0.enums.rounding_method': function () { return faker.helpers.arrayElement(['up', 'down', 'nearest']); },
|
|
6275
4554
|
'io.flow.v0.enums.rounding_type': function () { return faker.helpers.arrayElement(['pattern', 'multiple']); },
|
|
4555
|
+
'io.flow.v0.enums.rule_effect_type': function () { return faker.helpers.arrayElement(['market', 'dhl', 'dhl_ecommerce', 'ups']); },
|
|
6276
4556
|
'io.flow.v0.enums.schedule_exception_status': function () { return faker.helpers.arrayElement(['Open', 'Closed']); },
|
|
4557
|
+
'io.flow.v0.enums.sellability_error_code': function () { return faker.helpers.arrayElement([
|
|
4558
|
+
'insufficient_details',
|
|
4559
|
+
'ineligible_category',
|
|
4560
|
+
'wait_for_high_fidelity',
|
|
4561
|
+
'external_service_unavailable',
|
|
4562
|
+
]); },
|
|
4563
|
+
'io.flow.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
6277
4564
|
'io.flow.v0.enums.shipment_integration_type': function () { return faker.helpers.arrayElement(['direct', 'information', 'preadvice']); },
|
|
6278
4565
|
'io.flow.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
|
|
6279
4566
|
'io.flow.v0.enums.shipping_configuration_type': function () { return faker.helpers.arrayElement(['default', 'variant']); },
|
|
@@ -6344,6 +4631,29 @@ var factories = {
|
|
|
6344
4631
|
]); },
|
|
6345
4632
|
'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
|
|
6346
4633
|
'io.flow.v0.enums.tax_applicability': function () { return faker.helpers.arrayElement(['none', 'all']); },
|
|
4634
|
+
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': function () { return faker.helpers.arrayElement([
|
|
4635
|
+
'generic_error',
|
|
4636
|
+
'destination_country_not_defined',
|
|
4637
|
+
'destination_address_iso3166_unrecognized',
|
|
4638
|
+
'line_item_shipfrom_shipto_country_invalid',
|
|
4639
|
+
'line_item_ship_from_invalid',
|
|
4640
|
+
'line_item_currency_iso4217_unrecognized',
|
|
4641
|
+
'line_quantity_invalid',
|
|
4642
|
+
'line_item_quantity_invalid',
|
|
4643
|
+
'line_item_unit_price_precision_invalid',
|
|
4644
|
+
'line_item_unit_price_negative',
|
|
4645
|
+
'line_item_discount_amount_precision_invalid',
|
|
4646
|
+
'line_item_discount_amount_positive',
|
|
4647
|
+
'line_item_country_of_origin_iso3166_unrecognized',
|
|
4648
|
+
'line_item_hs_code_invalid',
|
|
4649
|
+
'line_item_duty_provider_invalid',
|
|
4650
|
+
'shipping_unit_price_precision_invalid',
|
|
4651
|
+
'shipping_unit_price_negative',
|
|
4652
|
+
'shipping_discount_amount_precision_invalid',
|
|
4653
|
+
'shipping_discount_amount_invalid',
|
|
4654
|
+
'merchant_of_record_invalid',
|
|
4655
|
+
'wrong_unit_specified',
|
|
4656
|
+
]); },
|
|
6347
4657
|
'io.flow.v0.enums.tax_duty_transaction_reason_code': function () { return faker.helpers.arrayElement([
|
|
6348
4658
|
'post_capture',
|
|
6349
4659
|
'post_fulfilment',
|
|
@@ -6413,6 +4723,8 @@ var factories = {
|
|
|
6413
4723
|
'tax_refund',
|
|
6414
4724
|
'duty_refund',
|
|
6415
4725
|
'non_l4l_tax_duty_fx',
|
|
4726
|
+
'merchant_payout',
|
|
4727
|
+
'merchant_refund',
|
|
6416
4728
|
'ge_revenue_share',
|
|
6417
4729
|
]); },
|
|
6418
4730
|
'io.flow.v0.enums.transfer_status': function () { return faker.helpers.arrayElement(['succeeded', 'canceled']); },
|
|
@@ -6444,6 +4756,7 @@ var factories = {
|
|
|
6444
4756
|
'saturday_stop',
|
|
6445
4757
|
'residential_extended_area_pickup',
|
|
6446
4758
|
'package_level_detail',
|
|
4759
|
+
'pickup',
|
|
6447
4760
|
]); },
|
|
6448
4761
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
6449
4762
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
@@ -6478,6 +4791,18 @@ var factories = {
|
|
|
6478
4791
|
'io.flow.v0.enums.webhook_status': function () { return faker.helpers.arrayElement(['pending', 'success', 'failure', 'ignored']); },
|
|
6479
4792
|
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
6480
4793
|
'io.flow.v0.enums.zero_amount_indicator': function () { return faker.helpers.arrayElement(['zero', 'free']); },
|
|
4794
|
+
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.helpers.arrayElement([
|
|
4795
|
+
'zero_basis',
|
|
4796
|
+
'zero_rate_on_goods',
|
|
4797
|
+
'value_rounds_to_zero',
|
|
4798
|
+
'order_below_de_minimis_threshold',
|
|
4799
|
+
'amount_below_de_minimis_threshold',
|
|
4800
|
+
'delivered_unpaid',
|
|
4801
|
+
'duty_free_domestic',
|
|
4802
|
+
'duty_free_intra_community',
|
|
4803
|
+
'duty_free_reimport',
|
|
4804
|
+
'duty_free_by_trade_agreement',
|
|
4805
|
+
]); },
|
|
6481
4806
|
'io.flow.v0.models.abandoned_order_email_settings': function () { return ({
|
|
6482
4807
|
delay: factories['io.flow.v0.models.duration'](),
|
|
6483
4808
|
frequency: factories['io.flow.v0.models.duration'](),
|
|
@@ -6867,6 +5192,18 @@ var factories = {
|
|
|
6867
5192
|
region: factories.string(),
|
|
6868
5193
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
6869
5194
|
}); },
|
|
5195
|
+
'io.flow.v0.models.anirban_item_deleted': function () { return ({
|
|
5196
|
+
discriminator: 'anirban_item_deleted',
|
|
5197
|
+
event_id: factories.string(),
|
|
5198
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5199
|
+
id: factories.string(),
|
|
5200
|
+
}); },
|
|
5201
|
+
'io.flow.v0.models.anirban_item_upserted': function () { return ({
|
|
5202
|
+
discriminator: 'anirban_item_upserted',
|
|
5203
|
+
event_id: factories.string(),
|
|
5204
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5205
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.anirban_item'](),
|
|
5206
|
+
}); },
|
|
6870
5207
|
'io.flow.v0.models.ansh_item_deleted': function () { return ({
|
|
6871
5208
|
discriminator: 'ansh_item_deleted',
|
|
6872
5209
|
event_id: factories.string(),
|
|
@@ -7094,35 +5431,6 @@ var factories = {
|
|
|
7094
5431
|
region: factories['io.flow.v0.models.region_reference'](),
|
|
7095
5432
|
promotions: arrayOf(function () { return factories['io.flow.v0.unions.promotion'](); }),
|
|
7096
5433
|
}); },
|
|
7097
|
-
'io.flow.v0.models.available_promotions_deleted': function () { return ({
|
|
7098
|
-
discriminator: 'available_promotions_deleted',
|
|
7099
|
-
event_id: factories.string(),
|
|
7100
|
-
timestamp: factories.date_time_iso_8601(),
|
|
7101
|
-
organization: factories.string(),
|
|
7102
|
-
experience_key: factories.string(),
|
|
7103
|
-
}); },
|
|
7104
|
-
'io.flow.v0.models.available_promotions_deleted_v2': function () { return ({
|
|
7105
|
-
discriminator: 'available_promotions_deleted_v2',
|
|
7106
|
-
event_id: factories.string(),
|
|
7107
|
-
timestamp: factories.date_time_iso_8601(),
|
|
7108
|
-
organization: factories.string(),
|
|
7109
|
-
available_promotion: factories['io.flow.v0.models.available_promotion'](),
|
|
7110
|
-
}); },
|
|
7111
|
-
'io.flow.v0.models.available_promotions_upserted': function () { return ({
|
|
7112
|
-
discriminator: 'available_promotions_upserted',
|
|
7113
|
-
event_id: factories.string(),
|
|
7114
|
-
timestamp: factories.date_time_iso_8601(),
|
|
7115
|
-
organization: factories.string(),
|
|
7116
|
-
experience_key: factories.string(),
|
|
7117
|
-
available_promotions: arrayOf(function () { return factories.object(); }),
|
|
7118
|
-
}); },
|
|
7119
|
-
'io.flow.v0.models.available_promotions_upserted_v2': function () { return ({
|
|
7120
|
-
discriminator: 'available_promotions_upserted_v2',
|
|
7121
|
-
event_id: factories.string(),
|
|
7122
|
-
timestamp: factories.date_time_iso_8601(),
|
|
7123
|
-
organization: factories.string(),
|
|
7124
|
-
available_promotion: factories['io.flow.v0.models.available_promotion'](),
|
|
7125
|
-
}); },
|
|
7126
5434
|
'io.flow.v0.models.available_service': function () { return ({
|
|
7127
5435
|
service: factories.string(),
|
|
7128
5436
|
scheduled_pickups: arrayOf(function () { return factories['io.flow.v0.models.scheduled_pickup'](); }),
|
|
@@ -8240,23 +6548,9 @@ var factories = {
|
|
|
8240
6548
|
country: factories.string(),
|
|
8241
6549
|
status: factories['io.flow.v0.enums.experience_country_status'](),
|
|
8242
6550
|
}); },
|
|
8243
|
-
'io.flow.v0.models.country_status_deleted': function () { return ({
|
|
8244
|
-
discriminator: 'country_status_deleted',
|
|
8245
|
-
event_id: factories.string(),
|
|
8246
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8247
|
-
organization: factories.string(),
|
|
8248
|
-
country_status: factories['io.flow.v0.models.country_status'](),
|
|
8249
|
-
}); },
|
|
8250
6551
|
'io.flow.v0.models.country_status_form': function () { return ({
|
|
8251
6552
|
status: factories['io.flow.v0.enums.experience_country_status'](),
|
|
8252
6553
|
}); },
|
|
8253
|
-
'io.flow.v0.models.country_status_upserted': function () { return ({
|
|
8254
|
-
discriminator: 'country_status_upserted',
|
|
8255
|
-
event_id: factories.string(),
|
|
8256
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8257
|
-
organization: factories.string(),
|
|
8258
|
-
country_status: factories['io.flow.v0.models.country_status'](),
|
|
8259
|
-
}); },
|
|
8260
6554
|
'io.flow.v0.models.credit_memo': function () { return ({
|
|
8261
6555
|
id: factories.string(),
|
|
8262
6556
|
number: factories.string(),
|
|
@@ -8371,23 +6665,6 @@ var factories = {
|
|
|
8371
6665
|
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
8372
6666
|
label_formatters: arrayOf(function () { return factories['io.flow.v0.enums.currency_label_formatter'](); }),
|
|
8373
6667
|
}); },
|
|
8374
|
-
'io.flow.v0.models.currency_format_deleted': function () { return ({
|
|
8375
|
-
discriminator: 'currency_format_deleted',
|
|
8376
|
-
event_id: factories.string(),
|
|
8377
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8378
|
-
organization: factories.string(),
|
|
8379
|
-
id: factories.string(),
|
|
8380
|
-
}); },
|
|
8381
|
-
'io.flow.v0.models.currency_format_upserted': function () { return ({
|
|
8382
|
-
discriminator: 'currency_format_upserted',
|
|
8383
|
-
event_id: factories.string(),
|
|
8384
|
-
timestamp: factories.date_time_iso_8601(),
|
|
8385
|
-
organization: factories.string(),
|
|
8386
|
-
id: factories.string(),
|
|
8387
|
-
experience_key: factories.string(),
|
|
8388
|
-
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
8389
|
-
label_formatters: arrayOf(function () { return factories['io.flow.v0.enums.currency_label_formatter'](); }),
|
|
8390
|
-
}); },
|
|
8391
6668
|
'io.flow.v0.models.currency_symbols': function () { return ({
|
|
8392
6669
|
primary: factories.string(),
|
|
8393
6670
|
narrow: factories.string(),
|
|
@@ -8635,6 +6912,7 @@ var factories = {
|
|
|
8635
6912
|
package_dimensions_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
8636
6913
|
origin_location_source: factories['io.flow.v0.enums.origin_location_source'](),
|
|
8637
6914
|
reference_id: factories.string(),
|
|
6915
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
8638
6916
|
}); },
|
|
8639
6917
|
'io.flow.v0.models.detailed_shipping_notification_form': function () { return ({
|
|
8640
6918
|
discriminator: 'detailed_shipping_notification_form',
|
|
@@ -8896,6 +7174,10 @@ var factories = {
|
|
|
8896
7174
|
organization: factories.string(),
|
|
8897
7175
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
8898
7176
|
}); },
|
|
7177
|
+
'io.flow.v0.models.edit_summary': function () { return ({
|
|
7178
|
+
id: factories.string(),
|
|
7179
|
+
edited_at: factories.date_time_iso_8601(),
|
|
7180
|
+
}); },
|
|
8899
7181
|
'io.flow.v0.models.eei_filing_ratecard_fee': function () { return ({
|
|
8900
7182
|
discriminator: 'eei_filing_ratecard_fee',
|
|
8901
7183
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -9056,30 +7338,15 @@ var factories = {
|
|
|
9056
7338
|
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
9057
7339
|
label_formatters: arrayOf(function () { return factories['io.flow.v0.enums.currency_label_formatter'](); }),
|
|
9058
7340
|
}); },
|
|
9059
|
-
'io.flow.v0.models.experience_defaults': function () { return ({
|
|
9060
|
-
key: factories.string(),
|
|
9061
|
-
name: factories.string(),
|
|
9062
|
-
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
9063
|
-
country: factories.string(),
|
|
9064
|
-
currency: factories.string(),
|
|
9065
|
-
language: factories.string(),
|
|
9066
|
-
measurement_system: factories['io.flow.v0.enums.measurement_system'](),
|
|
9067
|
-
}); },
|
|
9068
|
-
'io.flow.v0.models.experience_deleted': function () { return ({
|
|
9069
|
-
discriminator: 'experience_deleted',
|
|
9070
|
-
event_id: factories.string(),
|
|
9071
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9072
|
-
organization: factories.string(),
|
|
9073
|
-
key: factories.string(),
|
|
9074
|
-
subcatalog_id: factories.string(),
|
|
9075
|
-
}); },
|
|
9076
|
-
'io.flow.v0.models.experience_deleted_v2': function () { return ({
|
|
9077
|
-
discriminator: 'experience_deleted_v2',
|
|
9078
|
-
event_id: factories.string(),
|
|
9079
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9080
|
-
organization: factories.string(),
|
|
9081
|
-
experience: factories['io.flow.v0.models.experience'](),
|
|
9082
|
-
}); },
|
|
7341
|
+
'io.flow.v0.models.experience_defaults': function () { return ({
|
|
7342
|
+
key: factories.string(),
|
|
7343
|
+
name: factories.string(),
|
|
7344
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
7345
|
+
country: factories.string(),
|
|
7346
|
+
currency: factories.string(),
|
|
7347
|
+
language: factories.string(),
|
|
7348
|
+
measurement_system: factories['io.flow.v0.enums.measurement_system'](),
|
|
7349
|
+
}); },
|
|
9083
7350
|
'io.flow.v0.models.experience_export_type': function () { return ({
|
|
9084
7351
|
discriminator: 'experience_export_type',
|
|
9085
7352
|
organization_id: factories.string(),
|
|
@@ -9112,23 +7379,9 @@ var factories = {
|
|
|
9112
7379
|
experience: factories['io.flow.v0.models.experience_overview'](),
|
|
9113
7380
|
shipping_configuration: factories['io.flow.v0.models.shipping_configuration_reference'](),
|
|
9114
7381
|
}); },
|
|
9115
|
-
'io.flow.v0.models.experience_logistics_settings_deleted': function () { return ({
|
|
9116
|
-
discriminator: 'experience_logistics_settings_deleted',
|
|
9117
|
-
event_id: factories.string(),
|
|
9118
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9119
|
-
organization: factories.string(),
|
|
9120
|
-
logistics_settings: factories['io.flow.v0.models.experience_logistics_settings'](),
|
|
9121
|
-
}); },
|
|
9122
7382
|
'io.flow.v0.models.experience_logistics_settings_put_form': function () { return ({
|
|
9123
7383
|
shipping_configuration_key: factories.string(),
|
|
9124
7384
|
}); },
|
|
9125
|
-
'io.flow.v0.models.experience_logistics_settings_upserted': function () { return ({
|
|
9126
|
-
discriminator: 'experience_logistics_settings_upserted',
|
|
9127
|
-
event_id: factories.string(),
|
|
9128
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9129
|
-
organization: factories.string(),
|
|
9130
|
-
logistics_settings: factories['io.flow.v0.models.experience_logistics_settings'](),
|
|
9131
|
-
}); },
|
|
9132
7385
|
'io.flow.v0.models.experience_logistics_summary': function () { return ({
|
|
9133
7386
|
outbound: factories['io.flow.v0.models.experience_logistics_tier_summary'](),
|
|
9134
7387
|
'return': factories['io.flow.v0.models.experience_logistics_tier_summary'](),
|
|
@@ -9158,13 +7411,6 @@ var factories = {
|
|
|
9158
7411
|
price_book: factories['io.flow.v0.models.price_book_reference'](),
|
|
9159
7412
|
position: factories.long(),
|
|
9160
7413
|
}); },
|
|
9161
|
-
'io.flow.v0.models.experience_price_book_mapping_deleted': function () { return ({
|
|
9162
|
-
discriminator: 'experience_price_book_mapping_deleted',
|
|
9163
|
-
event_id: factories.string(),
|
|
9164
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9165
|
-
organization: factories.string(),
|
|
9166
|
-
id: factories.string(),
|
|
9167
|
-
}); },
|
|
9168
7414
|
'io.flow.v0.models.experience_price_book_mapping_form': function () { return ({
|
|
9169
7415
|
price_book_key: factories.string(),
|
|
9170
7416
|
position: factories.long(),
|
|
@@ -9172,13 +7418,6 @@ var factories = {
|
|
|
9172
7418
|
'io.flow.v0.models.experience_price_book_mapping_put_form': function () { return ({
|
|
9173
7419
|
price_books: arrayOf(function () { return factories['io.flow.v0.models.experience_price_book_mapping_form'](); }),
|
|
9174
7420
|
}); },
|
|
9175
|
-
'io.flow.v0.models.experience_price_book_mapping_upserted': function () { return ({
|
|
9176
|
-
discriminator: 'experience_price_book_mapping_upserted',
|
|
9177
|
-
event_id: factories.string(),
|
|
9178
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9179
|
-
organization: factories.string(),
|
|
9180
|
-
experience_price_book_mapping: factories['io.flow.v0.models.experience_price_book_mapping'](),
|
|
9181
|
-
}); },
|
|
9182
7421
|
'io.flow.v0.models.experience_price_conversion': function () { return ({
|
|
9183
7422
|
request: factories['io.flow.v0.models.experience_price_conversion_request'](),
|
|
9184
7423
|
price: factories['io.flow.v0.models.price_with_base'](),
|
|
@@ -9225,30 +7464,6 @@ var factories = {
|
|
|
9225
7464
|
currency: factories.string(),
|
|
9226
7465
|
language: factories.string(),
|
|
9227
7466
|
}); },
|
|
9228
|
-
'io.flow.v0.models.experience_upserted': function () { return ({
|
|
9229
|
-
discriminator: 'experience_upserted',
|
|
9230
|
-
event_id: factories.string(),
|
|
9231
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9232
|
-
organization: factories.string(),
|
|
9233
|
-
key: factories.string(),
|
|
9234
|
-
name: factories.string(),
|
|
9235
|
-
delivered_duty: factories.string(),
|
|
9236
|
-
subcatalog_id: factories.string(),
|
|
9237
|
-
region_id: factories.string(),
|
|
9238
|
-
country: factories.string(),
|
|
9239
|
-
currency: factories.string(),
|
|
9240
|
-
language: factories.string(),
|
|
9241
|
-
measurement_system: factories.string(),
|
|
9242
|
-
position: factories.long(),
|
|
9243
|
-
status: factories.string(),
|
|
9244
|
-
}); },
|
|
9245
|
-
'io.flow.v0.models.experience_upserted_v2': function () { return ({
|
|
9246
|
-
discriminator: 'experience_upserted_v2',
|
|
9247
|
-
event_id: factories.string(),
|
|
9248
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9249
|
-
organization: factories.string(),
|
|
9250
|
-
experience: factories['io.flow.v0.models.experience'](),
|
|
9251
|
-
}); },
|
|
9252
7467
|
'io.flow.v0.models.experience_version': function () { return ({
|
|
9253
7468
|
id: factories.string(),
|
|
9254
7469
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -9799,6 +8014,18 @@ var factories = {
|
|
|
9799
8014
|
hop_number: factories.integer(),
|
|
9800
8015
|
hop_estimate: factories['io.flow.v0.models.hop_estimate_v2'](),
|
|
9801
8016
|
}); },
|
|
8017
|
+
'io.flow.v0.models.hosein_item_deleted': function () { return ({
|
|
8018
|
+
discriminator: 'hosein_item_deleted',
|
|
8019
|
+
event_id: factories.string(),
|
|
8020
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8021
|
+
id: factories.string(),
|
|
8022
|
+
}); },
|
|
8023
|
+
'io.flow.v0.models.hosein_item_upserted': function () { return ({
|
|
8024
|
+
discriminator: 'hosein_item_upserted',
|
|
8025
|
+
event_id: factories.string(),
|
|
8026
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8027
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.hosein_item'](),
|
|
8028
|
+
}); },
|
|
9802
8029
|
'io.flow.v0.models.hs10': function () { return ({
|
|
9803
8030
|
id: factories.string(),
|
|
9804
8031
|
item: factories['io.flow.v0.models.harmonized_item_reference'](),
|
|
@@ -9877,20 +8104,6 @@ var factories = {
|
|
|
9877
8104
|
results: factories['io.flow.v0.models.import_results'](),
|
|
9878
8105
|
deliveries: arrayOf(function () { return factories['io.flow.v0.unions.export_delivery'](); }),
|
|
9879
8106
|
}); },
|
|
9880
|
-
'io.flow.v0.models.import_completed_v2': function () { return ({
|
|
9881
|
-
discriminator: 'import_completed_v2',
|
|
9882
|
-
event_id: factories.string(),
|
|
9883
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9884
|
-
organization: factories.string(),
|
|
9885
|
-
'import': factories['io.flow.v0.models.import'](),
|
|
9886
|
-
}); },
|
|
9887
|
-
'io.flow.v0.models.import_failed_v2': function () { return ({
|
|
9888
|
-
discriminator: 'import_failed_v2',
|
|
9889
|
-
event_id: factories.string(),
|
|
9890
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9891
|
-
organization: factories.string(),
|
|
9892
|
-
'import': factories['io.flow.v0.models.import'](),
|
|
9893
|
-
}); },
|
|
9894
8107
|
'io.flow.v0.models.import_form': function () { return ({
|
|
9895
8108
|
type: factories['io.flow.v0.enums.import_type'](),
|
|
9896
8109
|
source_url: factories.string(),
|
|
@@ -10116,13 +8329,6 @@ var factories = {
|
|
|
10116
8329
|
position: factories.long(),
|
|
10117
8330
|
experience: factories['io.flow.v0.models.experience_reference'](),
|
|
10118
8331
|
}); },
|
|
10119
|
-
'io.flow.v0.models.item_margin_deleted_v2': function () { return ({
|
|
10120
|
-
discriminator: 'item_margin_deleted_v2',
|
|
10121
|
-
event_id: factories.string(),
|
|
10122
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10123
|
-
organization: factories.string(),
|
|
10124
|
-
item_margin: factories['io.flow.v0.models.item_margin'](),
|
|
10125
|
-
}); },
|
|
10126
8332
|
'io.flow.v0.models.item_margin_post_form': function () { return ({
|
|
10127
8333
|
name: factories.string(),
|
|
10128
8334
|
q: factories.string(),
|
|
@@ -10138,13 +8344,6 @@ var factories = {
|
|
|
10138
8344
|
percent: factories.decimal(),
|
|
10139
8345
|
position: factories.long(),
|
|
10140
8346
|
}); },
|
|
10141
|
-
'io.flow.v0.models.item_margin_upserted_v2': function () { return ({
|
|
10142
|
-
discriminator: 'item_margin_upserted_v2',
|
|
10143
|
-
event_id: factories.string(),
|
|
10144
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10145
|
-
organization: factories.string(),
|
|
10146
|
-
item_margin: factories['io.flow.v0.models.item_margin'](),
|
|
10147
|
-
}); },
|
|
10148
8347
|
'io.flow.v0.models.item_margin_version': function () { return ({
|
|
10149
8348
|
id: factories.string(),
|
|
10150
8349
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -10185,27 +8384,6 @@ var factories = {
|
|
|
10185
8384
|
'io.flow.v0.models.item_reference': function () { return ({
|
|
10186
8385
|
number: factories.string(),
|
|
10187
8386
|
}); },
|
|
10188
|
-
'io.flow.v0.models.item_sales_margin_deleted': function () { return ({
|
|
10189
|
-
discriminator: 'item_sales_margin_deleted',
|
|
10190
|
-
event_id: factories.string(),
|
|
10191
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10192
|
-
item_sales_margin_id: factories.string(),
|
|
10193
|
-
organization_id: factories.string(),
|
|
10194
|
-
experience_key: factories.string(),
|
|
10195
|
-
}); },
|
|
10196
|
-
'io.flow.v0.models.item_sales_margin_upserted': function () { return ({
|
|
10197
|
-
discriminator: 'item_sales_margin_upserted',
|
|
10198
|
-
event_id: factories.string(),
|
|
10199
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10200
|
-
item_sales_margin_id: factories.string(),
|
|
10201
|
-
organization_id: factories.string(),
|
|
10202
|
-
experience_key: factories.string(),
|
|
10203
|
-
name: factories.string(),
|
|
10204
|
-
q: factories.string(),
|
|
10205
|
-
fixed: factories.decimal(),
|
|
10206
|
-
percent: factories.decimal(),
|
|
10207
|
-
position: factories.long(),
|
|
10208
|
-
}); },
|
|
10209
8387
|
'io.flow.v0.models.item_shipping_pricing': function () { return ({
|
|
10210
8388
|
min: factories['io.flow.v0.models.price'](),
|
|
10211
8389
|
max: factories['io.flow.v0.models.price'](),
|
|
@@ -10304,21 +8482,6 @@ var factories = {
|
|
|
10304
8482
|
organization: factories.string(),
|
|
10305
8483
|
label: factories['io.flow.v0.models.shipping_label'](),
|
|
10306
8484
|
}); },
|
|
10307
|
-
'io.flow.v0.models.label_format_deleted': function () { return ({
|
|
10308
|
-
discriminator: 'label_format_deleted',
|
|
10309
|
-
event_id: factories.string(),
|
|
10310
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10311
|
-
organization: factories.string(),
|
|
10312
|
-
experience_key: factories.string(),
|
|
10313
|
-
}); },
|
|
10314
|
-
'io.flow.v0.models.label_format_upserted': function () { return ({
|
|
10315
|
-
discriminator: 'label_format_upserted',
|
|
10316
|
-
event_id: factories.string(),
|
|
10317
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10318
|
-
organization: factories.string(),
|
|
10319
|
-
experience_key: factories.string(),
|
|
10320
|
-
format: factories.string(),
|
|
10321
|
-
}); },
|
|
10322
8485
|
'io.flow.v0.models.label_order_summary': function () { return ({
|
|
10323
8486
|
id: factories.string(),
|
|
10324
8487
|
number: factories.string(),
|
|
@@ -10594,6 +8757,7 @@ var factories = {
|
|
|
10594
8757
|
local: factories['io.flow.v0.models.local'](),
|
|
10595
8758
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
10596
8759
|
price_source: factories['io.flow.v0.unions.price_source'](),
|
|
8760
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
10597
8761
|
}); },
|
|
10598
8762
|
'io.flow.v0.models.localized_line_item_discount': function () { return ({
|
|
10599
8763
|
amount: factories.double(),
|
|
@@ -10609,6 +8773,7 @@ var factories = {
|
|
|
10609
8773
|
amount: factories.double(),
|
|
10610
8774
|
label: factories.string(),
|
|
10611
8775
|
base: factories['io.flow.v0.models.price'](),
|
|
8776
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
10612
8777
|
}); },
|
|
10613
8778
|
'io.flow.v0.models.localized_translation': function () { return ({
|
|
10614
8779
|
locale: factories['io.flow.v0.models.locale'](),
|
|
@@ -10860,6 +9025,10 @@ var factories = {
|
|
|
10860
9025
|
first: factories.string(),
|
|
10861
9026
|
last: factories.string(),
|
|
10862
9027
|
}); },
|
|
9028
|
+
'io.flow.v0.models.needs_action_attributes': function () { return ({
|
|
9029
|
+
reason_code: factories.string(),
|
|
9030
|
+
category_metafield_handles: arrayOf(function () { return factories.string(); }),
|
|
9031
|
+
}); },
|
|
10863
9032
|
'io.flow.v0.models.niall_item_deleted': function () { return ({
|
|
10864
9033
|
discriminator: 'niall_item_deleted',
|
|
10865
9034
|
event_id: factories.string(),
|
|
@@ -11004,6 +9173,8 @@ var factories = {
|
|
|
11004
9173
|
destination_contact_details: arrayOf(function () { return factories['io.flow.v0.models.destination_contact_detail'](); }),
|
|
11005
9174
|
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
11006
9175
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
9176
|
+
edits: arrayOf(function () { return factories['io.flow.v0.models.edit_summary'](); }),
|
|
9177
|
+
rates: arrayOf(function () { return factories['io.flow.v0.models.order_rate'](); }),
|
|
11007
9178
|
}); },
|
|
11008
9179
|
'io.flow.v0.models.order_address': function () { return ({
|
|
11009
9180
|
text: factories.string(),
|
|
@@ -11057,13 +9228,6 @@ var factories = {
|
|
|
11057
9228
|
address: factories['io.flow.v0.models.billing_address'](),
|
|
11058
9229
|
invoice: factories['io.flow.v0.models.customer_invoice'](),
|
|
11059
9230
|
}); },
|
|
11060
|
-
'io.flow.v0.models.order_deleted': function () { return ({
|
|
11061
|
-
discriminator: 'order_deleted',
|
|
11062
|
-
event_id: factories.string(),
|
|
11063
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11064
|
-
organization: factories.string(),
|
|
11065
|
-
number: factories.string(),
|
|
11066
|
-
}); },
|
|
11067
9231
|
'io.flow.v0.models.order_deleted_v2': function () { return ({
|
|
11068
9232
|
discriminator: 'order_deleted_v2',
|
|
11069
9233
|
event_id: factories.string(),
|
|
@@ -11147,12 +9311,6 @@ var factories = {
|
|
|
11147
9311
|
primary: factories.boolean(),
|
|
11148
9312
|
number: factories.string(),
|
|
11149
9313
|
}); },
|
|
11150
|
-
'io.flow.v0.models.order_identifier_deleted': function () { return ({
|
|
11151
|
-
discriminator: 'order_identifier_deleted',
|
|
11152
|
-
event_id: factories.string(),
|
|
11153
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11154
|
-
id: factories.string(),
|
|
11155
|
-
}); },
|
|
11156
9314
|
'io.flow.v0.models.order_identifier_deleted_v2': function () { return ({
|
|
11157
9315
|
discriminator: 'order_identifier_deleted_v2',
|
|
11158
9316
|
event_id: factories.string(),
|
|
@@ -11172,25 +9330,6 @@ var factories = {
|
|
|
11172
9330
|
name: factories.string(),
|
|
11173
9331
|
primary: factories.boolean(),
|
|
11174
9332
|
}); },
|
|
11175
|
-
'io.flow.v0.models.order_identifier_upserted': function () { return ({
|
|
11176
|
-
discriminator: 'order_identifier_upserted',
|
|
11177
|
-
event_id: factories.string(),
|
|
11178
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11179
|
-
id: factories.string(),
|
|
11180
|
-
organization: factories.string(),
|
|
11181
|
-
number: factories.string(),
|
|
11182
|
-
order_number: factories.string(),
|
|
11183
|
-
}); },
|
|
11184
|
-
'io.flow.v0.models.order_identifier_upserted_v2': function () { return ({
|
|
11185
|
-
discriminator: 'order_identifier_upserted_v2',
|
|
11186
|
-
event_id: factories.string(),
|
|
11187
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11188
|
-
organization: factories.string(),
|
|
11189
|
-
id: factories.string(),
|
|
11190
|
-
order_number: factories.string(),
|
|
11191
|
-
identifier: factories.string(),
|
|
11192
|
-
primary: factories.boolean(),
|
|
11193
|
-
}); },
|
|
11194
9333
|
'io.flow.v0.models.order_identifier_upserted_v3': function () { return ({
|
|
11195
9334
|
discriminator: 'order_identifier_upserted_v3',
|
|
11196
9335
|
event_id: factories.string(),
|
|
@@ -11292,6 +9431,11 @@ var factories = {
|
|
|
11292
9431
|
rate: factories.decimal(),
|
|
11293
9432
|
accuracy: factories['io.flow.v0.enums.price_accuracy'](),
|
|
11294
9433
|
rate_label: factories.string(),
|
|
9434
|
+
breakdown: factories['io.flow.v0.models.order_price_detail_breakdown'](),
|
|
9435
|
+
}); },
|
|
9436
|
+
'io.flow.v0.models.order_price_detail_breakdown': function () { return ({
|
|
9437
|
+
purchase_price: factories['io.flow.v0.models.purchase_price_breakdown'](),
|
|
9438
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.order_price_fee'](); }),
|
|
11295
9439
|
}); },
|
|
11296
9440
|
'io.flow.v0.models.order_price_detail_component': function () { return ({
|
|
11297
9441
|
key: factories['io.flow.v0.enums.order_price_detail_component_key'](),
|
|
@@ -11301,6 +9445,11 @@ var factories = {
|
|
|
11301
9445
|
base: factories['io.flow.v0.models.price'](),
|
|
11302
9446
|
name: factories.string(),
|
|
11303
9447
|
}); },
|
|
9448
|
+
'io.flow.v0.models.order_price_fee': function () { return ({
|
|
9449
|
+
key: factories.string(),
|
|
9450
|
+
value: factories['io.flow.v0.models.price_with_base'](),
|
|
9451
|
+
type: factories['io.flow.v0.enums.order_price_fee_type'](),
|
|
9452
|
+
}); },
|
|
11304
9453
|
'io.flow.v0.models.order_promotion_trigger': function () { return ({
|
|
11305
9454
|
type: factories['io.flow.v0.enums.promotion_trigger_type'](),
|
|
11306
9455
|
min: factories['io.flow.v0.models.price'](),
|
|
@@ -11320,6 +9469,11 @@ var factories = {
|
|
|
11320
9469
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
11321
9470
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
11322
9471
|
}); },
|
|
9472
|
+
'io.flow.v0.models.order_rate': function () { return ({
|
|
9473
|
+
from: factories.string(),
|
|
9474
|
+
to: factories.string(),
|
|
9475
|
+
rate: factories.decimal(),
|
|
9476
|
+
}); },
|
|
11323
9477
|
'io.flow.v0.models.order_reference': function () { return ({
|
|
11324
9478
|
discriminator: 'order_reference',
|
|
11325
9479
|
id: factories.string(),
|
|
@@ -11360,23 +9514,9 @@ var factories = {
|
|
|
11360
9514
|
parent_order: factories['io.flow.v0.models.order'](),
|
|
11361
9515
|
replacement_order: factories['io.flow.v0.models.order'](),
|
|
11362
9516
|
}); },
|
|
11363
|
-
'io.flow.v0.models.order_replacement_deleted': function () { return ({
|
|
11364
|
-
discriminator: 'order_replacement_deleted',
|
|
11365
|
-
event_id: factories.string(),
|
|
11366
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11367
|
-
organization: factories.string(),
|
|
11368
|
-
order_replacement: factories['io.flow.v0.models.order_replacement'](),
|
|
11369
|
-
}); },
|
|
11370
9517
|
'io.flow.v0.models.order_replacement_form': function () { return ({
|
|
11371
9518
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
11372
9519
|
}); },
|
|
11373
|
-
'io.flow.v0.models.order_replacement_upserted': function () { return ({
|
|
11374
|
-
discriminator: 'order_replacement_upserted',
|
|
11375
|
-
event_id: factories.string(),
|
|
11376
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11377
|
-
organization: factories.string(),
|
|
11378
|
-
order_replacement: factories['io.flow.v0.models.order_replacement'](),
|
|
11379
|
-
}); },
|
|
11380
9520
|
'io.flow.v0.models.order_rule_reference': function () { return ({
|
|
11381
9521
|
id: factories.string(),
|
|
11382
9522
|
key: factories.string(),
|
|
@@ -11393,13 +9533,6 @@ var factories = {
|
|
|
11393
9533
|
from_service_id: factories.string(),
|
|
11394
9534
|
to_service_id: factories.string(),
|
|
11395
9535
|
}); },
|
|
11396
|
-
'io.flow.v0.models.order_service_change_request': function () { return ({
|
|
11397
|
-
discriminator: 'order_service_change_request',
|
|
11398
|
-
event_id: factories.string(),
|
|
11399
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11400
|
-
organization: factories.string(),
|
|
11401
|
-
request: factories['io.flow.v0.models.order_service_change_request_data'](),
|
|
11402
|
-
}); },
|
|
11403
9536
|
'io.flow.v0.models.order_service_change_request_data': function () { return ({
|
|
11404
9537
|
id: factories.string(),
|
|
11405
9538
|
source_url: factories.string(),
|
|
@@ -11465,35 +9598,6 @@ var factories = {
|
|
|
11465
9598
|
rate: factories.decimal(),
|
|
11466
9599
|
rate_label: factories.string(),
|
|
11467
9600
|
}); },
|
|
11468
|
-
'io.flow.v0.models.order_upserted': function () { return ({
|
|
11469
|
-
discriminator: 'order_upserted',
|
|
11470
|
-
event_id: factories.string(),
|
|
11471
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11472
|
-
organization: factories.string(),
|
|
11473
|
-
number: factories.string(),
|
|
11474
|
-
environment: factories.string(),
|
|
11475
|
-
experience_id: factories.string(),
|
|
11476
|
-
expires_at: factories.date_time_iso_8601(),
|
|
11477
|
-
customer: factories['io.flow.v0.models.order_customer'](),
|
|
11478
|
-
selections: arrayOf(function () { return factories.string(); }),
|
|
11479
|
-
items: arrayOf(function () { return factories['io.flow.v0.models.localized_line_item'](); }),
|
|
11480
|
-
destination: factories['io.flow.v0.models.order_address'](),
|
|
11481
|
-
deliveries: arrayOf(function () { return factories['io.flow.v0.unions.delivery'](); }),
|
|
11482
|
-
prices: arrayOf(function () { return factories['io.flow.v0.models.order_price_detail'](); }),
|
|
11483
|
-
order_id: factories.string(),
|
|
11484
|
-
payments: arrayOf(function () { return factories['io.flow.v0.models.order_payment'](); }),
|
|
11485
|
-
discount: factories['io.flow.v0.models.money'](),
|
|
11486
|
-
delivered_duty: factories.string(),
|
|
11487
|
-
total: factories['io.flow.v0.models.localized_total'](),
|
|
11488
|
-
created_at: factories.date_time_iso_8601(),
|
|
11489
|
-
updated_at: factories.date_time_iso_8601(),
|
|
11490
|
-
submitted_at: factories.date_time_iso_8601(),
|
|
11491
|
-
lines: arrayOf(function () { return factories['io.flow.v0.models.line'](); }),
|
|
11492
|
-
attributes: objectOf(function () { return factories.string(); }),
|
|
11493
|
-
geo: factories['io.flow.v0.models.order_geo'](),
|
|
11494
|
-
merchant_of_record: factories['io.flow.v0.enums.order_merchant_of_record'](),
|
|
11495
|
-
tax_registration: factories['io.flow.v0.models.tax_registration'](),
|
|
11496
|
-
}); },
|
|
11497
9601
|
'io.flow.v0.models.order_upserted_v2': function () { return ({
|
|
11498
9602
|
discriminator: 'order_upserted_v2',
|
|
11499
9603
|
event_id: factories.string(),
|
|
@@ -12764,30 +10868,11 @@ var factories = {
|
|
|
12764
10868
|
duty: factories['io.flow.v0.enums.pricing_levy_setting'](),
|
|
12765
10869
|
rounding: factories['io.flow.v0.models.rounding'](),
|
|
12766
10870
|
}); },
|
|
12767
|
-
'io.flow.v0.models.pricing_deleted': function () { return ({
|
|
12768
|
-
discriminator: 'pricing_deleted',
|
|
12769
|
-
event_id: factories.string(),
|
|
12770
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12771
|
-
organization: factories.string(),
|
|
12772
|
-
experience_key: factories.string(),
|
|
12773
|
-
}); },
|
|
12774
10871
|
'io.flow.v0.models.pricing_settings': function () { return ({
|
|
12775
10872
|
editable: factories.boolean(),
|
|
12776
10873
|
default_tax_display: factories['io.flow.v0.enums.pricing_levy_setting'](),
|
|
12777
10874
|
default_duty_display: factories['io.flow.v0.enums.pricing_levy_setting'](),
|
|
12778
10875
|
}); },
|
|
12779
|
-
'io.flow.v0.models.pricing_upserted': function () { return ({
|
|
12780
|
-
discriminator: 'pricing_upserted',
|
|
12781
|
-
event_id: factories.string(),
|
|
12782
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12783
|
-
organization: factories.string(),
|
|
12784
|
-
experience_key: factories.string(),
|
|
12785
|
-
vat: factories.string(),
|
|
12786
|
-
duty: factories.string(),
|
|
12787
|
-
rounding_type: factories.string(),
|
|
12788
|
-
rounding_method: factories.string(),
|
|
12789
|
-
rounding_value: factories.decimal(),
|
|
12790
|
-
}); },
|
|
12791
10876
|
'io.flow.v0.models.pricing_version': function () { return ({
|
|
12792
10877
|
id: factories.string(),
|
|
12793
10878
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -12806,6 +10891,7 @@ var factories = {
|
|
|
12806
10891
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12807
10892
|
taxonomy_data: arrayOf(function () { return factories['io.flow.v0.models.product_taxonomy_data'](); }),
|
|
12808
10893
|
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
10894
|
+
highest_value_item_number: factories.string(),
|
|
12809
10895
|
updated_at: factories.date_time_iso_8601(),
|
|
12810
10896
|
deleted_at: factories.date_time_iso_8601(),
|
|
12811
10897
|
}); },
|
|
@@ -12831,11 +10917,12 @@ var factories = {
|
|
|
12831
10917
|
sellability_restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
12832
10918
|
reasons_per_region: arrayOf(function () { return factories['io.flow.v0.models.reasons_per_region'](); }),
|
|
12833
10919
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
12834
|
-
rules: arrayOf(function () { return factories
|
|
10920
|
+
rules: arrayOf(function () { return factories.string(); }),
|
|
12835
10921
|
updated_by: factories.string(),
|
|
12836
10922
|
product_restriction_id: factories.string(),
|
|
12837
10923
|
hs_code: factories.string(),
|
|
12838
|
-
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.
|
|
10924
|
+
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.v0.models.sellablility_region_result'](); }),
|
|
10925
|
+
needs_action_attributes: arrayOf(function () { return factories['io.flow.v0.models.needs_action_attributes'](); }),
|
|
12839
10926
|
}); },
|
|
12840
10927
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
12841
10928
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -12851,6 +10938,24 @@ var factories = {
|
|
|
12851
10938
|
organization: factories.string(),
|
|
12852
10939
|
product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
|
|
12853
10940
|
}); },
|
|
10941
|
+
'io.flow.v0.models.product_sellability': function () { return ({
|
|
10942
|
+
discriminator: 'product_sellability',
|
|
10943
|
+
shop_id: factories.string(),
|
|
10944
|
+
product_id: factories.string(),
|
|
10945
|
+
request_id: factories.string(),
|
|
10946
|
+
hs6_code: factories.string(),
|
|
10947
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.v0.models.sellablility_region_result'](); }),
|
|
10948
|
+
}); },
|
|
10949
|
+
'io.flow.v0.models.product_sellability_form': function () { return ({
|
|
10950
|
+
shop_id: factories.string(),
|
|
10951
|
+
product_id: factories.string(),
|
|
10952
|
+
name: factories.string(),
|
|
10953
|
+
price: factories['io.flow.v0.models.money'](),
|
|
10954
|
+
description: factories.string(),
|
|
10955
|
+
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
10956
|
+
status: factories['io.flow.v0.enums.sellability_request_status'](),
|
|
10957
|
+
dry_run: factories.boolean(),
|
|
10958
|
+
}); },
|
|
12854
10959
|
'io.flow.v0.models.product_taxonomy_category': function () { return ({
|
|
12855
10960
|
name: factories.string(),
|
|
12856
10961
|
full_name: factories.string(),
|
|
@@ -12858,6 +10963,11 @@ var factories = {
|
|
|
12858
10963
|
'io.flow.v0.models.product_taxonomy_data': function () { return ({
|
|
12859
10964
|
key: factories.string(),
|
|
12860
10965
|
value: arrayOf(function () { return factories.string(); }),
|
|
10966
|
+
value_obj: arrayOf(function () { return factories['io.flow.v0.models.product_taxonomy_value'](); }),
|
|
10967
|
+
}); },
|
|
10968
|
+
'io.flow.v0.models.product_taxonomy_value': function () { return ({
|
|
10969
|
+
handle: factories.string(),
|
|
10970
|
+
name: factories.string(),
|
|
12861
10971
|
}); },
|
|
12862
10972
|
'io.flow.v0.models.product_updated': function () { return ({
|
|
12863
10973
|
discriminator: 'product_updated',
|
|
@@ -12890,6 +11000,11 @@ var factories = {
|
|
|
12890
11000
|
'io.flow.v0.models.public_key': function () { return ({
|
|
12891
11001
|
id: factories.string(),
|
|
12892
11002
|
}); },
|
|
11003
|
+
'io.flow.v0.models.purchase_price_breakdown': function () { return ({
|
|
11004
|
+
total_price: factories['io.flow.v0.models.price_with_base'](),
|
|
11005
|
+
product_price: factories['io.flow.v0.models.price_with_base'](),
|
|
11006
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.order_price_fee'](); }),
|
|
11007
|
+
}); },
|
|
12893
11008
|
'io.flow.v0.models.query': function () { return ({
|
|
12894
11009
|
q: factories.string(),
|
|
12895
11010
|
filters: arrayOf(function () { return factories['io.flow.v0.unions.query_filter'](); }),
|
|
@@ -13630,6 +11745,18 @@ var factories = {
|
|
|
13630
11745
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
13631
11746
|
roles: arrayOf(function () { return factories['io.flow.v0.enums.flow_role'](); }),
|
|
13632
11747
|
}); },
|
|
11748
|
+
'io.flow.v0.models.sarvesh_item_deleted': function () { return ({
|
|
11749
|
+
discriminator: 'sarvesh_item_deleted',
|
|
11750
|
+
event_id: factories.string(),
|
|
11751
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11752
|
+
id: factories.string(),
|
|
11753
|
+
}); },
|
|
11754
|
+
'io.flow.v0.models.sarvesh_item_upserted': function () { return ({
|
|
11755
|
+
discriminator: 'sarvesh_item_upserted',
|
|
11756
|
+
event_id: factories.string(),
|
|
11757
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11758
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.sarvesh_item'](),
|
|
11759
|
+
}); },
|
|
13633
11760
|
'io.flow.v0.models.schedule': function () { return ({
|
|
13634
11761
|
calendar: factories['io.flow.v0.enums.calendar'](),
|
|
13635
11762
|
holiday: factories['io.flow.v0.enums.holiday_calendar'](),
|
|
@@ -13674,6 +11801,15 @@ var factories = {
|
|
|
13674
11801
|
discriminator: 'select_issuer_option_action_details',
|
|
13675
11802
|
issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
|
|
13676
11803
|
}); },
|
|
11804
|
+
'io.flow.v0.models.sellability_error': function () { return ({
|
|
11805
|
+
discriminator: 'sellability_error',
|
|
11806
|
+
code: factories['io.flow.v0.enums.sellability_error_code'](),
|
|
11807
|
+
messages: arrayOf(function () { return factories.string(); }),
|
|
11808
|
+
}); },
|
|
11809
|
+
'io.flow.v0.models.sellablility_region_result': function () { return ({
|
|
11810
|
+
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
11811
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
11812
|
+
}); },
|
|
13677
11813
|
'io.flow.v0.models.service_reference': function () { return ({
|
|
13678
11814
|
id: factories.string(),
|
|
13679
11815
|
}); },
|
|
@@ -14371,6 +12507,13 @@ var factories = {
|
|
|
14371
12507
|
organization: factories.string(),
|
|
14372
12508
|
statement: factories['io.flow.v0.models.statement'](),
|
|
14373
12509
|
}); },
|
|
12510
|
+
'io.flow.v0.models.street_address': function () { return ({
|
|
12511
|
+
streets: arrayOf(function () { return factories.string(); }),
|
|
12512
|
+
city: factories.string(),
|
|
12513
|
+
province: factories.string(),
|
|
12514
|
+
postal: factories.string(),
|
|
12515
|
+
country: factories.string(),
|
|
12516
|
+
}); },
|
|
14374
12517
|
'io.flow.v0.models.stripe_authentication_data': function () { return ({
|
|
14375
12518
|
discriminator: 'stripe_authentication_data',
|
|
14376
12519
|
secret_key_reference: factories.string(),
|
|
@@ -14502,6 +12645,83 @@ var factories = {
|
|
|
14502
12645
|
components: arrayOf(function () { return factories['io.flow.v0.enums.levy_component'](); }),
|
|
14503
12646
|
deminimis: factories['io.flow.v0.unions.deminimis'](),
|
|
14504
12647
|
}); },
|
|
12648
|
+
'io.flow.v0.models.tax_duty_calculator_validation_error': function () { return ({
|
|
12649
|
+
code: factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](),
|
|
12650
|
+
messages: arrayOf(function () { return factories.string(); }),
|
|
12651
|
+
}); },
|
|
12652
|
+
'io.flow.v0.models.tax_duty_quote': function () { return ({
|
|
12653
|
+
id: factories.string(),
|
|
12654
|
+
primary_identifier: factories.string(),
|
|
12655
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
12656
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
12657
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
12658
|
+
destination: factories['io.flow.v0.models.street_address'](),
|
|
12659
|
+
quote_date: factories.date_time_iso_8601(),
|
|
12660
|
+
currency: factories.string(),
|
|
12661
|
+
lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item'](); }),
|
|
12662
|
+
shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping'](); }),
|
|
12663
|
+
total_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
12664
|
+
}); },
|
|
12665
|
+
'io.flow.v0.models.tax_duty_quote_fee_value': function () { return ({
|
|
12666
|
+
amount: factories.decimal(),
|
|
12667
|
+
description: factories.string(),
|
|
12668
|
+
amount_refundable_on_return: factories.decimal(),
|
|
12669
|
+
}); },
|
|
12670
|
+
'io.flow.v0.models.tax_duty_quote_form': function () { return ({
|
|
12671
|
+
primary_identifier: factories.string(),
|
|
12672
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
12673
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
12674
|
+
destination: factories['io.flow.v0.models.street_address'](),
|
|
12675
|
+
currency: factories.string(),
|
|
12676
|
+
lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
|
|
12677
|
+
shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
|
|
12678
|
+
includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
|
|
12679
|
+
}); },
|
|
12680
|
+
'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
|
|
12681
|
+
primary_identifier: factories.string(),
|
|
12682
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
12683
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
12684
|
+
quantity: factories.long(),
|
|
12685
|
+
unit_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
12686
|
+
country_of_origin: factories.string(),
|
|
12687
|
+
hs_code: factories.string(),
|
|
12688
|
+
}); },
|
|
12689
|
+
'io.flow.v0.models.tax_duty_quote_line_item_form': function () { return ({
|
|
12690
|
+
primary_identifier: factories.string(),
|
|
12691
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
12692
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
12693
|
+
quantity: factories.long(),
|
|
12694
|
+
unit_price: factories.decimal(),
|
|
12695
|
+
unit_weight: factories['io.flow.v0.models.measurement'](),
|
|
12696
|
+
country_of_origin: factories.string(),
|
|
12697
|
+
hs_code: factories.string(),
|
|
12698
|
+
includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
|
|
12699
|
+
preferential_rate_eligibilities: arrayOf(function () { return factories['io.flow.v0.enums.preferential_rate_eligibility'](); }),
|
|
12700
|
+
}); },
|
|
12701
|
+
'io.flow.v0.models.tax_duty_quote_simple_levy_value': function () { return ({
|
|
12702
|
+
discriminator: 'tax_duty_quote_simple_levy_value',
|
|
12703
|
+
amount: factories.decimal(),
|
|
12704
|
+
rate: factories.decimal(),
|
|
12705
|
+
description: factories.string(),
|
|
12706
|
+
zero_levy_reason: arrayOf(function () { return factories['io.flow.v0.enums.zero_levy_reason_code'](); }),
|
|
12707
|
+
amount_refundable_on_return: factories.decimal(),
|
|
12708
|
+
}); },
|
|
12709
|
+
'io.flow.v0.models.tax_duty_quote_simple_shipping': function () { return ({
|
|
12710
|
+
values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
12711
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
12712
|
+
}); },
|
|
12713
|
+
'io.flow.v0.models.tax_duty_quote_simple_shipping_form': function () { return ({
|
|
12714
|
+
price: factories.decimal(),
|
|
12715
|
+
includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
|
|
12716
|
+
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
12717
|
+
}); },
|
|
12718
|
+
'io.flow.v0.models.tax_duty_quote_values': function () { return ({
|
|
12719
|
+
price: factories.decimal(),
|
|
12720
|
+
duty: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
12721
|
+
tax: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
12722
|
+
fees: factories['io.flow.v0.models.tax_duty_quote_fee_value'](),
|
|
12723
|
+
total: factories.decimal(),
|
|
12724
|
+
}); },
|
|
14505
12725
|
'io.flow.v0.models.tax_registration': function () { return ({
|
|
14506
12726
|
id: factories.string(),
|
|
14507
12727
|
key: factories.string(),
|
|
@@ -15436,6 +13656,10 @@ var factories = {
|
|
|
15436
13656
|
var f = faker.helpers.arrayElement([
|
|
15437
13657
|
function () { return factories['io.flow.v0.models.test_upserted'](); },
|
|
15438
13658
|
function () { return factories['io.flow.v0.models.generate_load'](); },
|
|
13659
|
+
function () { return factories['io.flow.v0.models.sarvesh_item_upserted'](); },
|
|
13660
|
+
function () { return factories['io.flow.v0.models.sarvesh_item_deleted'](); },
|
|
13661
|
+
function () { return factories['io.flow.v0.models.hosein_item_upserted'](); },
|
|
13662
|
+
function () { return factories['io.flow.v0.models.hosein_item_deleted'](); },
|
|
15439
13663
|
function () { return factories['io.flow.v0.models.niall_item_upserted'](); },
|
|
15440
13664
|
function () { return factories['io.flow.v0.models.niall_item_deleted'](); },
|
|
15441
13665
|
function () { return factories['io.flow.v0.models.rohan_item_upserted'](); },
|
|
@@ -15444,6 +13668,8 @@ var factories = {
|
|
|
15444
13668
|
function () { return factories['io.flow.v0.models.aldo_item_deleted'](); },
|
|
15445
13669
|
function () { return factories['io.flow.v0.models.ansh_item_upserted'](); },
|
|
15446
13670
|
function () { return factories['io.flow.v0.models.ansh_item_deleted'](); },
|
|
13671
|
+
function () { return factories['io.flow.v0.models.anirban_item_upserted'](); },
|
|
13672
|
+
function () { return factories['io.flow.v0.models.anirban_item_deleted'](); },
|
|
15447
13673
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
15448
13674
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
15449
13675
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -15498,44 +13724,12 @@ var factories = {
|
|
|
15498
13724
|
function () { return factories['io.flow.v0.models.rate_upserted'](); },
|
|
15499
13725
|
function () { return factories['io.flow.v0.models.rate_deleted_v3'](); },
|
|
15500
13726
|
function () { return factories['io.flow.v0.models.rate_upserted_v3'](); },
|
|
15501
|
-
function () { return factories['io.flow.v0.models.available_promotions_upserted'](); },
|
|
15502
|
-
function () { return factories['io.flow.v0.models.available_promotions_deleted'](); },
|
|
15503
|
-
function () { return factories['io.flow.v0.models.available_promotions_upserted_v2'](); },
|
|
15504
|
-
function () { return factories['io.flow.v0.models.available_promotions_deleted_v2'](); },
|
|
15505
13727
|
function () { return factories['io.flow.v0.models.allocation_deleted_v2'](); },
|
|
15506
13728
|
function () { return factories['io.flow.v0.models.allocation_upserted_v2'](); },
|
|
15507
|
-
function () { return factories['io.flow.v0.models.currency_format_deleted'](); },
|
|
15508
|
-
function () { return factories['io.flow.v0.models.currency_format_upserted'](); },
|
|
15509
|
-
function () { return factories['io.flow.v0.models.experience_deleted'](); },
|
|
15510
|
-
function () { return factories['io.flow.v0.models.experience_upserted'](); },
|
|
15511
|
-
function () { return factories['io.flow.v0.models.experience_deleted_v2'](); },
|
|
15512
|
-
function () { return factories['io.flow.v0.models.experience_upserted_v2'](); },
|
|
15513
|
-
function () { return factories['io.flow.v0.models.country_status_upserted'](); },
|
|
15514
|
-
function () { return factories['io.flow.v0.models.country_status_deleted'](); },
|
|
15515
|
-
function () { return factories['io.flow.v0.models.experience_price_book_mapping_deleted'](); },
|
|
15516
|
-
function () { return factories['io.flow.v0.models.experience_price_book_mapping_upserted'](); },
|
|
15517
|
-
function () { return factories['io.flow.v0.models.experience_logistics_settings_upserted'](); },
|
|
15518
|
-
function () { return factories['io.flow.v0.models.experience_logistics_settings_deleted'](); },
|
|
15519
|
-
function () { return factories['io.flow.v0.models.item_margin_deleted_v2'](); },
|
|
15520
|
-
function () { return factories['io.flow.v0.models.item_margin_upserted_v2'](); },
|
|
15521
|
-
function () { return factories['io.flow.v0.models.item_sales_margin_deleted'](); },
|
|
15522
|
-
function () { return factories['io.flow.v0.models.item_sales_margin_upserted'](); },
|
|
15523
|
-
function () { return factories['io.flow.v0.models.label_format_deleted'](); },
|
|
15524
|
-
function () { return factories['io.flow.v0.models.label_format_upserted'](); },
|
|
15525
|
-
function () { return factories['io.flow.v0.models.order_deleted'](); },
|
|
15526
|
-
function () { return factories['io.flow.v0.models.order_upserted'](); },
|
|
15527
13729
|
function () { return factories['io.flow.v0.models.order_deleted_v2'](); },
|
|
15528
13730
|
function () { return factories['io.flow.v0.models.order_upserted_v2'](); },
|
|
15529
|
-
function () { return factories['io.flow.v0.models.order_identifier_deleted'](); },
|
|
15530
|
-
function () { return factories['io.flow.v0.models.order_identifier_upserted'](); },
|
|
15531
13731
|
function () { return factories['io.flow.v0.models.order_identifier_deleted_v2'](); },
|
|
15532
|
-
function () { return factories['io.flow.v0.models.order_identifier_upserted_v2'](); },
|
|
15533
13732
|
function () { return factories['io.flow.v0.models.order_identifier_upserted_v3'](); },
|
|
15534
|
-
function () { return factories['io.flow.v0.models.order_replacement_upserted'](); },
|
|
15535
|
-
function () { return factories['io.flow.v0.models.order_replacement_deleted'](); },
|
|
15536
|
-
function () { return factories['io.flow.v0.models.pricing_deleted'](); },
|
|
15537
|
-
function () { return factories['io.flow.v0.models.pricing_upserted'](); },
|
|
15538
|
-
function () { return factories['io.flow.v0.models.order_service_change_request'](); },
|
|
15539
13733
|
function () { return factories['io.flow.v0.models.fraud_status_changed'](); },
|
|
15540
13734
|
function () { return factories['io.flow.v0.models.center_upserted'](); },
|
|
15541
13735
|
function () { return factories['io.flow.v0.models.center_deleted'](); },
|
|
@@ -15560,8 +13754,6 @@ var factories = {
|
|
|
15560
13754
|
function () { return factories['io.flow.v0.models.item_origin_deleted'](); },
|
|
15561
13755
|
function () { return factories['io.flow.v0.models.harmonized_landed_cost_upserted'](); },
|
|
15562
13756
|
function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); },
|
|
15563
|
-
function () { return factories['io.flow.v0.models.import_completed_v2'](); },
|
|
15564
|
-
function () { return factories['io.flow.v0.models.import_failed_v2'](); },
|
|
15565
13757
|
function () { return factories['io.flow.v0.models.label_upserted'](); },
|
|
15566
13758
|
function () { return factories['io.flow.v0.models.label_deleted_v2'](); },
|
|
15567
13759
|
function () { return factories['io.flow.v0.models.label_upserted_v2'](); },
|
|
@@ -16111,6 +14303,13 @@ var factories = {
|
|
|
16111
14303
|
]);
|
|
16112
14304
|
return f();
|
|
16113
14305
|
},
|
|
14306
|
+
'io.flow.v0.unions.sellability_response': function () {
|
|
14307
|
+
var f = faker.helpers.arrayElement([
|
|
14308
|
+
function () { return factories['io.flow.v0.models.product_sellability'](); },
|
|
14309
|
+
function () { return factories['io.flow.v0.models.sellability_error'](); },
|
|
14310
|
+
]);
|
|
14311
|
+
return f();
|
|
14312
|
+
},
|
|
16114
14313
|
'io.flow.v0.unions.service_description': function () {
|
|
16115
14314
|
var f = faker.helpers.arrayElement([
|
|
16116
14315
|
function () { return factories['io.flow.v0.models.service_summary'](); },
|
|
@@ -16181,6 +14380,10 @@ var factories = {
|
|
|
16181
14380
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.shopify_item_event_bucket'](); }]);
|
|
16182
14381
|
return f();
|
|
16183
14382
|
},
|
|
14383
|
+
'io.flow.v0.unions.tax_duty_quote_levy_value': function () {
|
|
14384
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](); }]);
|
|
14385
|
+
return f();
|
|
14386
|
+
},
|
|
16184
14387
|
'io.flow.v0.unions.tax_setting': function () {
|
|
16185
14388
|
var f = faker.helpers.arrayElement([
|
|
16186
14389
|
function () { return factories['io.flow.v0.models.avalara_tax_setting'](); },
|
|
@@ -16330,6 +14533,8 @@ export var makeAllocationV2 = function () { return factories['io.flow.v0.models.
|
|
|
16330
14533
|
export var makeAmountMargin = function () { return factories['io.flow.v0.models.amount_margin'](); };
|
|
16331
14534
|
export var makeAmountMarginForm = function () { return factories['io.flow.v0.models.amount_margin_form'](); };
|
|
16332
14535
|
export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
|
|
14536
|
+
export var makeAnirbanItemDeleted = function () { return factories['io.flow.v0.models.anirban_item_deleted'](); };
|
|
14537
|
+
export var makeAnirbanItemUpserted = function () { return factories['io.flow.v0.models.anirban_item_upserted'](); };
|
|
16333
14538
|
export var makeAnshItemDeleted = function () { return factories['io.flow.v0.models.ansh_item_deleted'](); };
|
|
16334
14539
|
export var makeAnshItemUpserted = function () { return factories['io.flow.v0.models.ansh_item_upserted'](); };
|
|
16335
14540
|
export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
|
|
@@ -16383,10 +14588,6 @@ export var makeAvailableFilterFormat = function () { return factories['io.flow.v
|
|
|
16383
14588
|
export var makeAvailableFilterStructured = function () { return factories['io.flow.v0.models.available_filter_structured'](); };
|
|
16384
14589
|
export var makeAvailableFilterUnstructured = function () { return factories['io.flow.v0.models.available_filter_unstructured'](); };
|
|
16385
14590
|
export var makeAvailablePromotion = function () { return factories['io.flow.v0.models.available_promotion'](); };
|
|
16386
|
-
export var makeAvailablePromotionsDeleted = function () { return factories['io.flow.v0.models.available_promotions_deleted'](); };
|
|
16387
|
-
export var makeAvailablePromotionsDeletedV2 = function () { return factories['io.flow.v0.models.available_promotions_deleted_v2'](); };
|
|
16388
|
-
export var makeAvailablePromotionsUpserted = function () { return factories['io.flow.v0.models.available_promotions_upserted'](); };
|
|
16389
|
-
export var makeAvailablePromotionsUpsertedV2 = function () { return factories['io.flow.v0.models.available_promotions_upserted_v2'](); };
|
|
16390
14591
|
export var makeAvailableService = function () { return factories['io.flow.v0.models.available_service'](); };
|
|
16391
14592
|
export var makeAvalaraTaxCsvSetting = function () { return factories['io.flow.v0.models.avalara_tax_csv_setting'](); };
|
|
16392
14593
|
export var makeAvalaraTaxSetting = function () { return factories['io.flow.v0.models.avalara_tax_setting'](); };
|
|
@@ -16591,9 +14792,7 @@ export var makeCountryPickerForm = function () { return factories['io.flow.v0.mo
|
|
|
16591
14792
|
export var makeCountryPickerSource = function () { return factories['io.flow.v0.enums.country_picker_source'](); };
|
|
16592
14793
|
export var makeCountryShippingPricing = function () { return factories['io.flow.v0.models.country_shipping_pricing'](); };
|
|
16593
14794
|
export var makeCountryStatus = function () { return factories['io.flow.v0.models.country_status'](); };
|
|
16594
|
-
export var makeCountryStatusDeleted = function () { return factories['io.flow.v0.models.country_status_deleted'](); };
|
|
16595
14795
|
export var makeCountryStatusForm = function () { return factories['io.flow.v0.models.country_status_form'](); };
|
|
16596
|
-
export var makeCountryStatusUpserted = function () { return factories['io.flow.v0.models.country_status_upserted'](); };
|
|
16597
14796
|
export var makeCreditMemo = function () { return factories['io.flow.v0.models.credit_memo'](); };
|
|
16598
14797
|
export var makeCreditMemoDeleted = function () { return factories['io.flow.v0.models.credit_memo_deleted'](); };
|
|
16599
14798
|
export var makeCreditMemoForm = function () { return factories['io.flow.v0.models.credit_memo_form'](); };
|
|
@@ -16611,8 +14810,6 @@ export var makeCsvPriceBookItemExportRowByItemNumber = function () { return fact
|
|
|
16611
14810
|
export var makeCsvPriceBookItemExportRowBySku = function () { return factories['io.flow.v0.models.csv_price_book_item_export_row_by_sku'](); };
|
|
16612
14811
|
export var makeCurrency = function () { return factories['io.flow.v0.models.currency'](); };
|
|
16613
14812
|
export var makeCurrencyFormat = function () { return factories['io.flow.v0.models.currency_format'](); };
|
|
16614
|
-
export var makeCurrencyFormatDeleted = function () { return factories['io.flow.v0.models.currency_format_deleted'](); };
|
|
16615
|
-
export var makeCurrencyFormatUpserted = function () { return factories['io.flow.v0.models.currency_format_upserted'](); };
|
|
16616
14813
|
export var makeCurrencyLabelFormatter = function () { return factories['io.flow.v0.enums.currency_label_formatter'](); };
|
|
16617
14814
|
export var makeCurrencySymbolFormat = function () { return factories['io.flow.v0.enums.currency_symbol_format'](); };
|
|
16618
14815
|
export var makeCurrencySymbols = function () { return factories['io.flow.v0.models.currency_symbols'](); };
|
|
@@ -16723,6 +14920,7 @@ export var makeEcommercePlatformForm = function () { return factories['io.flow.v
|
|
|
16723
14920
|
export var makeEcommercePlatformType = function () { return factories['io.flow.v0.enums.ecommerce_platform_type'](); };
|
|
16724
14921
|
export var makeEcommercePlatformUpserted = function () { return factories['io.flow.v0.models.ecommerce_platform_upserted'](); };
|
|
16725
14922
|
export var makeEconomicTitleLocation = function () { return factories['io.flow.v0.enums.economic_title_location'](); };
|
|
14923
|
+
export var makeEditSummary = function () { return factories['io.flow.v0.models.edit_summary'](); };
|
|
16726
14924
|
export var makeEeiFilingRatecardFee = function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); };
|
|
16727
14925
|
export var makeEeiFilingServiceFee = function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); };
|
|
16728
14926
|
export var makeEmailAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.email_abandoned_order_promotion'](); };
|
|
@@ -16774,15 +14972,11 @@ export var makeExperienceCountryStatus = function () { return factories['io.flow
|
|
|
16774
14972
|
export var makeExperienceCurrencyFormat = function () { return factories['io.flow.v0.models.experience_currency_format'](); };
|
|
16775
14973
|
export var makeExperienceCurrencyFormatForm = function () { return factories['io.flow.v0.models.experience_currency_format_form'](); };
|
|
16776
14974
|
export var makeExperienceDefaults = function () { return factories['io.flow.v0.models.experience_defaults'](); };
|
|
16777
|
-
export var makeExperienceDeleted = function () { return factories['io.flow.v0.models.experience_deleted'](); };
|
|
16778
|
-
export var makeExperienceDeletedV2 = function () { return factories['io.flow.v0.models.experience_deleted_v2'](); };
|
|
16779
14975
|
export var makeExperienceExportType = function () { return factories['io.flow.v0.models.experience_export_type'](); };
|
|
16780
14976
|
export var makeExperienceForm = function () { return factories['io.flow.v0.models.experience_form'](); };
|
|
16781
14977
|
export var makeExperienceGeo = function () { return factories['io.flow.v0.models.experience_geo'](); };
|
|
16782
14978
|
export var makeExperienceLogisticsSettings = function () { return factories['io.flow.v0.models.experience_logistics_settings'](); };
|
|
16783
|
-
export var makeExperienceLogisticsSettingsDeleted = function () { return factories['io.flow.v0.models.experience_logistics_settings_deleted'](); };
|
|
16784
14979
|
export var makeExperienceLogisticsSettingsPutForm = function () { return factories['io.flow.v0.models.experience_logistics_settings_put_form'](); };
|
|
16785
|
-
export var makeExperienceLogisticsSettingsUpserted = function () { return factories['io.flow.v0.models.experience_logistics_settings_upserted'](); };
|
|
16786
14980
|
export var makeExperienceLogisticsSummary = function () { return factories['io.flow.v0.models.experience_logistics_summary'](); };
|
|
16787
14981
|
export var makeExperienceLogisticsTierSummary = function () { return factories['io.flow.v0.models.experience_logistics_tier_summary'](); };
|
|
16788
14982
|
export var makeExperienceLogisticsTierSummaryPrices = function () { return factories['io.flow.v0.models.experience_logistics_tier_summary_prices'](); };
|
|
@@ -16791,10 +14985,8 @@ export var makeExperiencePaymentMethodRule = function () { return factories['io.
|
|
|
16791
14985
|
export var makeExperiencePaymentMethodRuleForm = function () { return factories['io.flow.v0.models.experience_payment_method_rule_form'](); };
|
|
16792
14986
|
export var makeExperiencePaymentMethodTag = function () { return factories['io.flow.v0.enums.experience_payment_method_tag'](); };
|
|
16793
14987
|
export var makeExperiencePriceBookMapping = function () { return factories['io.flow.v0.models.experience_price_book_mapping'](); };
|
|
16794
|
-
export var makeExperiencePriceBookMappingDeleted = function () { return factories['io.flow.v0.models.experience_price_book_mapping_deleted'](); };
|
|
16795
14988
|
export var makeExperiencePriceBookMappingForm = function () { return factories['io.flow.v0.models.experience_price_book_mapping_form'](); };
|
|
16796
14989
|
export var makeExperiencePriceBookMappingPutForm = function () { return factories['io.flow.v0.models.experience_price_book_mapping_put_form'](); };
|
|
16797
|
-
export var makeExperiencePriceBookMappingUpserted = function () { return factories['io.flow.v0.models.experience_price_book_mapping_upserted'](); };
|
|
16798
14990
|
export var makeExperiencePriceConversion = function () { return factories['io.flow.v0.models.experience_price_conversion'](); };
|
|
16799
14991
|
export var makeExperiencePriceConversionRequest = function () { return factories['io.flow.v0.models.experience_price_conversion_request'](); };
|
|
16800
14992
|
export var makeExperiencePriceConversionResponse = function () { return factories['io.flow.v0.models.experience_price_conversion_response'](); };
|
|
@@ -16806,8 +14998,6 @@ export var makeExperienceSettings = function () { return factories['io.flow.v0.m
|
|
|
16806
14998
|
export var makeExperienceStatus = function () { return factories['io.flow.v0.enums.experience_status'](); };
|
|
16807
14999
|
export var makeExperienceStatusForm = function () { return factories['io.flow.v0.models.experience_status_form'](); };
|
|
16808
15000
|
export var makeExperienceSummary = function () { return factories['io.flow.v0.models.experience_summary'](); };
|
|
16809
|
-
export var makeExperienceUpserted = function () { return factories['io.flow.v0.models.experience_upserted'](); };
|
|
16810
|
-
export var makeExperienceUpsertedV2 = function () { return factories['io.flow.v0.models.experience_upserted_v2'](); };
|
|
16811
15001
|
export var makeExperienceVersion = function () { return factories['io.flow.v0.models.experience_version'](); };
|
|
16812
15002
|
export var makeExpiration = function () { return factories['io.flow.v0.models.expiration'](); };
|
|
16813
15003
|
export var makeExport = function () { return factories['io.flow.v0.models.export'](); };
|
|
@@ -16927,6 +15117,8 @@ export var makeHop = function () { return factories['io.flow.v0.models.hop']();
|
|
|
16927
15117
|
export var makeHopEstimate = function () { return factories['io.flow.v0.models.hop_estimate'](); };
|
|
16928
15118
|
export var makeHopEstimateV2 = function () { return factories['io.flow.v0.models.hop_estimate_v2'](); };
|
|
16929
15119
|
export var makeHopV2 = function () { return factories['io.flow.v0.models.hop_v2'](); };
|
|
15120
|
+
export var makeHoseinItemDeleted = function () { return factories['io.flow.v0.models.hosein_item_deleted'](); };
|
|
15121
|
+
export var makeHoseinItemUpserted = function () { return factories['io.flow.v0.models.hosein_item_upserted'](); };
|
|
16930
15122
|
export var makeHs10 = function () { return factories['io.flow.v0.models.hs10'](); };
|
|
16931
15123
|
export var makeHs10CodeDeleted = function () { return factories['io.flow.v0.models.hs10_code_deleted'](); };
|
|
16932
15124
|
export var makeHs10CodeUpserted = function () { return factories['io.flow.v0.models.hs10_code_upserted'](); };
|
|
@@ -16939,8 +15131,6 @@ export var makeImage = function () { return factories['io.flow.v0.models.image']
|
|
|
16939
15131
|
export var makeImageForm = function () { return factories['io.flow.v0.models.image_form'](); };
|
|
16940
15132
|
export var makeImageTag = function () { return factories['io.flow.v0.enums.image_tag'](); };
|
|
16941
15133
|
export var makeImport = function () { return factories['io.flow.v0.models.import'](); };
|
|
16942
|
-
export var makeImportCompletedV2 = function () { return factories['io.flow.v0.models.import_completed_v2'](); };
|
|
16943
|
-
export var makeImportFailedV2 = function () { return factories['io.flow.v0.models.import_failed_v2'](); };
|
|
16944
15134
|
export var makeImportForm = function () { return factories['io.flow.v0.models.import_form'](); };
|
|
16945
15135
|
export var makeImportResults = function () { return factories['io.flow.v0.models.import_results'](); };
|
|
16946
15136
|
export var makeImportTemplate = function () { return factories['io.flow.v0.models.import_template'](); };
|
|
@@ -16989,10 +15179,8 @@ export var makeItemFormOverlayForm = function () { return factories['io.flow.v0.
|
|
|
16989
15179
|
export var makeItemIdentifier = function () { return factories['io.flow.v0.enums.item_identifier'](); };
|
|
16990
15180
|
export var makeItemInserted = function () { return factories['io.flow.v0.models.item_inserted'](); };
|
|
16991
15181
|
export var makeItemMargin = function () { return factories['io.flow.v0.models.item_margin'](); };
|
|
16992
|
-
export var makeItemMarginDeletedV2 = function () { return factories['io.flow.v0.models.item_margin_deleted_v2'](); };
|
|
16993
15182
|
export var makeItemMarginPostForm = function () { return factories['io.flow.v0.models.item_margin_post_form'](); };
|
|
16994
15183
|
export var makeItemMarginPutForm = function () { return factories['io.flow.v0.models.item_margin_put_form'](); };
|
|
16995
|
-
export var makeItemMarginUpsertedV2 = function () { return factories['io.flow.v0.models.item_margin_upserted_v2'](); };
|
|
16996
15184
|
export var makeItemMarginVersion = function () { return factories['io.flow.v0.models.item_margin_version'](); };
|
|
16997
15185
|
export var makeItemOriginDeleted = function () { return factories['io.flow.v0.models.item_origin_deleted'](); };
|
|
16998
15186
|
export var makeItemOriginUpserted = function () { return factories['io.flow.v0.models.item_origin_upserted'](); };
|
|
@@ -17000,8 +15188,6 @@ export var makeItemPriceUpdateForm = function () { return factories['io.flow.v0.
|
|
|
17000
15188
|
export var makeItemPriceUpdatePutForm = function () { return factories['io.flow.v0.models.item_price_update_put_form'](); };
|
|
17001
15189
|
export var makeItemQuerySuggestion = function () { return factories['io.flow.v0.models.item_query_suggestion'](); };
|
|
17002
15190
|
export var makeItemReference = function () { return factories['io.flow.v0.models.item_reference'](); };
|
|
17003
|
-
export var makeItemSalesMarginDeleted = function () { return factories['io.flow.v0.models.item_sales_margin_deleted'](); };
|
|
17004
|
-
export var makeItemSalesMarginUpserted = function () { return factories['io.flow.v0.models.item_sales_margin_upserted'](); };
|
|
17005
15191
|
export var makeItemShippingPricing = function () { return factories['io.flow.v0.models.item_shipping_pricing'](); };
|
|
17006
15192
|
export var makeItemStatistics = function () { return factories['io.flow.v0.models.item_statistics'](); };
|
|
17007
15193
|
export var makeItemUpdated = function () { return factories['io.flow.v0.models.item_updated'](); };
|
|
@@ -17020,8 +15206,6 @@ export var makeKnowYourBusinessUsaForm = function () { return factories['io.flow
|
|
|
17020
15206
|
export var makeKubeHealthcheck = function () { return factories['io.flow.v0.models.kube-healthcheck'](); };
|
|
17021
15207
|
export var makeLabelBase = function () { return factories['io.flow.v0.models.label_base'](); };
|
|
17022
15208
|
export var makeLabelDeletedV2 = function () { return factories['io.flow.v0.models.label_deleted_v2'](); };
|
|
17023
|
-
export var makeLabelFormatDeleted = function () { return factories['io.flow.v0.models.label_format_deleted'](); };
|
|
17024
|
-
export var makeLabelFormatUpserted = function () { return factories['io.flow.v0.models.label_format_upserted'](); };
|
|
17025
15209
|
export var makeLabelOrderSummary = function () { return factories['io.flow.v0.models.label_order_summary'](); };
|
|
17026
15210
|
export var makeLabelProcessingModification = function () { return factories['io.flow.v0.models.label_processing_modification'](); };
|
|
17027
15211
|
export var makeLabelProcessingModificationDeleted = function () { return factories['io.flow.v0.models.label_processing_modification_deleted'](); };
|
|
@@ -17049,6 +15233,7 @@ export var makeLaneSummary = function () { return factories['io.flow.v0.models.l
|
|
|
17049
15233
|
export var makeLanguage = function () { return factories['io.flow.v0.models.language'](); };
|
|
17050
15234
|
export var makeLargePackageServiceFee = function () { return factories['io.flow.v0.models.large_package_service_fee'](); };
|
|
17051
15235
|
export var makeLevyComponent = function () { return factories['io.flow.v0.enums.levy_component'](); };
|
|
15236
|
+
export var makeLevyInclusion = function () { return factories['io.flow.v0.enums.levy_inclusion'](); };
|
|
17052
15237
|
export var makeLevyStrategy = function () { return factories['io.flow.v0.enums.levy_strategy'](); };
|
|
17053
15238
|
export var makeLine = function () { return factories['io.flow.v0.models.line'](); };
|
|
17054
15239
|
export var makeLineItem = function () { return factories['io.flow.v0.models.line_item'](); };
|
|
@@ -17133,6 +15318,7 @@ export var makeMonthlyAverage = function () { return factories['io.flow.v0.model
|
|
|
17133
15318
|
export var makeMonthlyAverageVolume = function () { return factories['io.flow.v0.models.monthly_average_volume'](); };
|
|
17134
15319
|
export var makeName = function () { return factories['io.flow.v0.models.name'](); };
|
|
17135
15320
|
export var makeNameForm = function () { return factories['io.flow.v0.models.name_form'](); };
|
|
15321
|
+
export var makeNeedsActionAttributes = function () { return factories['io.flow.v0.models.needs_action_attributes'](); };
|
|
17136
15322
|
export var makeNiallItemDeleted = function () { return factories['io.flow.v0.models.niall_item_deleted'](); };
|
|
17137
15323
|
export var makeNiallItemUpserted = function () { return factories['io.flow.v0.models.niall_item_upserted'](); };
|
|
17138
15324
|
export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
|
|
@@ -17168,7 +15354,6 @@ export var makeOrderBuilderSelectionsForm = function () { return factories['io.f
|
|
|
17168
15354
|
export var makeOrderChangeSource = function () { return factories['io.flow.v0.enums.order_change_source'](); };
|
|
17169
15355
|
export var makeOrderCustomer = function () { return factories['io.flow.v0.models.order_customer'](); };
|
|
17170
15356
|
export var makeOrderCustomerForm = function () { return factories['io.flow.v0.models.order_customer_form'](); };
|
|
17171
|
-
export var makeOrderDeleted = function () { return factories['io.flow.v0.models.order_deleted'](); };
|
|
17172
15357
|
export var makeOrderDeletedV2 = function () { return factories['io.flow.v0.models.order_deleted_v2'](); };
|
|
17173
15358
|
export var makeOrderDestinationPutForm = function () { return factories['io.flow.v0.models.order_destination_put_form'](); };
|
|
17174
15359
|
export var makeOrderDetails = function () { return factories['io.flow.v0.models.order_details'](); };
|
|
@@ -17181,12 +15366,9 @@ export var makeOrderForm = function () { return factories['io.flow.v0.models.ord
|
|
|
17181
15366
|
export var makeOrderFraudStatus = function () { return factories['io.flow.v0.models.order_fraud_status'](); };
|
|
17182
15367
|
export var makeOrderGeo = function () { return factories['io.flow.v0.models.order_geo'](); };
|
|
17183
15368
|
export var makeOrderIdentifier = function () { return factories['io.flow.v0.models.order_identifier'](); };
|
|
17184
|
-
export var makeOrderIdentifierDeleted = function () { return factories['io.flow.v0.models.order_identifier_deleted'](); };
|
|
17185
15369
|
export var makeOrderIdentifierDeletedV2 = function () { return factories['io.flow.v0.models.order_identifier_deleted_v2'](); };
|
|
17186
15370
|
export var makeOrderIdentifierForm = function () { return factories['io.flow.v0.models.order_identifier_form'](); };
|
|
17187
15371
|
export var makeOrderIdentifierPutForm = function () { return factories['io.flow.v0.models.order_identifier_put_form'](); };
|
|
17188
|
-
export var makeOrderIdentifierUpserted = function () { return factories['io.flow.v0.models.order_identifier_upserted'](); };
|
|
17189
|
-
export var makeOrderIdentifierUpsertedV2 = function () { return factories['io.flow.v0.models.order_identifier_upserted_v2'](); };
|
|
17190
15372
|
export var makeOrderIdentifierUpsertedV3 = function () { return factories['io.flow.v0.models.order_identifier_upserted_v3'](); };
|
|
17191
15373
|
export var makeOrderIdentifierVersion = function () { return factories['io.flow.v0.models.order_identifier_version'](); };
|
|
17192
15374
|
export var makeOrderInformation = function () { return factories['io.flow.v0.unions.order_information'](); };
|
|
@@ -17209,13 +15391,17 @@ export var makeOrderPlaced = function () { return factories['io.flow.v0.models.o
|
|
|
17209
15391
|
export var makeOrderPlacedDetails = function () { return factories['io.flow.v0.models.order_placed_details'](); };
|
|
17210
15392
|
export var makeOrderPlacedV2 = function () { return factories['io.flow.v0.models.order_placed_v2'](); };
|
|
17211
15393
|
export var makeOrderPriceDetail = function () { return factories['io.flow.v0.models.order_price_detail'](); };
|
|
15394
|
+
export var makeOrderPriceDetailBreakdown = function () { return factories['io.flow.v0.models.order_price_detail_breakdown'](); };
|
|
17212
15395
|
export var makeOrderPriceDetailComponent = function () { return factories['io.flow.v0.models.order_price_detail_component'](); };
|
|
17213
15396
|
export var makeOrderPriceDetailComponentKey = function () { return factories['io.flow.v0.enums.order_price_detail_component_key'](); };
|
|
17214
15397
|
export var makeOrderPriceDetailKey = function () { return factories['io.flow.v0.enums.order_price_detail_key'](); };
|
|
15398
|
+
export var makeOrderPriceFee = function () { return factories['io.flow.v0.models.order_price_fee'](); };
|
|
15399
|
+
export var makeOrderPriceFeeType = function () { return factories['io.flow.v0.enums.order_price_fee_type'](); };
|
|
17215
15400
|
export var makeOrderPromotion = function () { return factories['io.flow.v0.unions.order_promotion'](); };
|
|
17216
15401
|
export var makeOrderPromotionForm = function () { return factories['io.flow.v0.unions.order_promotion_form'](); };
|
|
17217
15402
|
export var makeOrderPromotionTrigger = function () { return factories['io.flow.v0.models.order_promotion_trigger'](); };
|
|
17218
15403
|
export var makeOrderPutForm = function () { return factories['io.flow.v0.models.order_put_form'](); };
|
|
15404
|
+
export var makeOrderRate = function () { return factories['io.flow.v0.models.order_rate'](); };
|
|
17219
15405
|
export var makeOrderReference = function () { return factories['io.flow.v0.models.order_reference'](); };
|
|
17220
15406
|
export var makeOrderRefundSummary = function () { return factories['io.flow.v0.models.order_refund_summary'](); };
|
|
17221
15407
|
export var makeOrderRefundSummaryAmounts = function () { return factories['io.flow.v0.models.order_refund_summary_amounts'](); };
|
|
@@ -17227,14 +15413,11 @@ export var makeOrderRefundSummaryPartialCharged = function () { return factories
|
|
|
17227
15413
|
export var makeOrderRefundSummaryPartialForm = function () { return factories['io.flow.v0.models.order_refund_summary_partial_form'](); };
|
|
17228
15414
|
export var makeOrderRefundSummaryPartialIncludes = function () { return factories['io.flow.v0.models.order_refund_summary_partial_includes'](); };
|
|
17229
15415
|
export var makeOrderReplacement = function () { return factories['io.flow.v0.models.order_replacement'](); };
|
|
17230
|
-
export var makeOrderReplacementDeleted = function () { return factories['io.flow.v0.models.order_replacement_deleted'](); };
|
|
17231
15416
|
export var makeOrderReplacementForm = function () { return factories['io.flow.v0.models.order_replacement_form'](); };
|
|
17232
|
-
export var makeOrderReplacementUpserted = function () { return factories['io.flow.v0.models.order_replacement_upserted'](); };
|
|
17233
15417
|
export var makeOrderRuleReference = function () { return factories['io.flow.v0.models.order_rule_reference'](); };
|
|
17234
15418
|
export var makeOrderRulesSummary = function () { return factories['io.flow.v0.models.order_rules_summary'](); };
|
|
17235
15419
|
export var makeOrderServiceChange = function () { return factories['io.flow.v0.models.order_service_change'](); };
|
|
17236
15420
|
export var makeOrderServiceChangeForm = function () { return factories['io.flow.v0.models.order_service_change_form'](); };
|
|
17237
|
-
export var makeOrderServiceChangeRequest = function () { return factories['io.flow.v0.models.order_service_change_request'](); };
|
|
17238
15421
|
export var makeOrderServiceChangeRequestData = function () { return factories['io.flow.v0.models.order_service_change_request_data'](); };
|
|
17239
15422
|
export var makeOrderStatus = function () { return factories['io.flow.v0.enums.order_status'](); };
|
|
17240
15423
|
export var makeOrderStorage = function () { return factories['io.flow.v0.enums.order_storage'](); };
|
|
@@ -17247,7 +15430,6 @@ export var makeOrderSummaryLevy = function () { return factories['io.flow.v0.mod
|
|
|
17247
15430
|
export var makeOrderSummaryLineItem = function () { return factories['io.flow.v0.models.order_summary_line_item'](); };
|
|
17248
15431
|
export var makeOrderSummaryPriceDetail = function () { return factories['io.flow.v0.models.order_summary_price_detail'](); };
|
|
17249
15432
|
export var makeOrderType = function () { return factories['io.flow.v0.enums.order_type'](); };
|
|
17250
|
-
export var makeOrderUpserted = function () { return factories['io.flow.v0.models.order_upserted'](); };
|
|
17251
15433
|
export var makeOrderUpsertedV2 = function () { return factories['io.flow.v0.models.order_upserted_v2'](); };
|
|
17252
15434
|
export var makeOrderVersion = function () { return factories['io.flow.v0.models.order_version'](); };
|
|
17253
15435
|
export var makeOrderWithDiscountsForm = function () { return factories['io.flow.v0.models.order_with_discounts_form'](); };
|
|
@@ -17480,6 +15662,7 @@ export var makePhysicalDeliveryPreferredService = function () { return factories
|
|
|
17480
15662
|
export var makePhysicalDeliverySpecialSerivce = function () { return factories['io.flow.v0.enums.physical_delivery_special_serivce'](); };
|
|
17481
15663
|
export var makePostPaymentRedirectUrls = function () { return factories['io.flow.v0.models.post_payment_redirect_urls'](); };
|
|
17482
15664
|
export var makePostalType = function () { return factories['io.flow.v0.enums.postal_type'](); };
|
|
15665
|
+
export var makePreferentialRateEligibility = function () { return factories['io.flow.v0.enums.preferential_rate_eligibility'](); };
|
|
17483
15666
|
export var makePreferredServiceSelectionStrategy = function () { return factories['io.flow.v0.enums.preferred_service_selection_strategy'](); };
|
|
17484
15667
|
export var makePrice = function () { return factories['io.flow.v0.models.price'](); };
|
|
17485
15668
|
export var makePriceAccuracy = function () { return factories['io.flow.v0.enums.price_accuracy'](); };
|
|
@@ -17513,10 +15696,8 @@ export var makePriceSourceProvided = function () { return factories['io.flow.v0.
|
|
|
17513
15696
|
export var makePriceWithBase = function () { return factories['io.flow.v0.models.price_with_base'](); };
|
|
17514
15697
|
export var makePriceWithBaseAndDetails = function () { return factories['io.flow.v0.models.price_with_base_and_details'](); };
|
|
17515
15698
|
export var makePricing = function () { return factories['io.flow.v0.models.pricing'](); };
|
|
17516
|
-
export var makePricingDeleted = function () { return factories['io.flow.v0.models.pricing_deleted'](); };
|
|
17517
15699
|
export var makePricingLevySetting = function () { return factories['io.flow.v0.enums.pricing_levy_setting'](); };
|
|
17518
15700
|
export var makePricingSettings = function () { return factories['io.flow.v0.models.pricing_settings'](); };
|
|
17519
|
-
export var makePricingUpserted = function () { return factories['io.flow.v0.models.pricing_upserted'](); };
|
|
17520
15701
|
export var makePricingVersion = function () { return factories['io.flow.v0.models.pricing_version'](); };
|
|
17521
15702
|
export var makeProcessingEstimate = function () { return factories['io.flow.v0.models.processing_estimate'](); };
|
|
17522
15703
|
export var makeProduct = function () { return factories['io.flow.v0.models.product'](); };
|
|
@@ -17525,9 +15706,11 @@ export var makeProductInserted = function () { return factories['io.flow.v0.mode
|
|
|
17525
15706
|
export var makeProductRestrictionResult = function () { return factories['io.flow.v0.models.product_restriction_result'](); };
|
|
17526
15707
|
export var makeProductRestrictionResultDeleted = function () { return factories['io.flow.v0.models.product_restriction_result_deleted'](); };
|
|
17527
15708
|
export var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
|
|
17528
|
-
export var
|
|
15709
|
+
export var makeProductSellability = function () { return factories['io.flow.v0.models.product_sellability'](); };
|
|
15710
|
+
export var makeProductSellabilityForm = function () { return factories['io.flow.v0.models.product_sellability_form'](); };
|
|
17529
15711
|
export var makeProductTaxonomyCategory = function () { return factories['io.flow.v0.models.product_taxonomy_category'](); };
|
|
17530
15712
|
export var makeProductTaxonomyData = function () { return factories['io.flow.v0.models.product_taxonomy_data'](); };
|
|
15713
|
+
export var makeProductTaxonomyValue = function () { return factories['io.flow.v0.models.product_taxonomy_value'](); };
|
|
17531
15714
|
export var makeProductUpdated = function () { return factories['io.flow.v0.models.product_updated'](); };
|
|
17532
15715
|
export var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
|
|
17533
15716
|
export var makePromotionTrigger = function () { return factories['io.flow.v0.models.promotion_trigger'](); };
|
|
@@ -17537,6 +15720,7 @@ export var makePromotions = function () { return factories['io.flow.v0.models.pr
|
|
|
17537
15720
|
export var makeProvince = function () { return factories['io.flow.v0.models.province'](); };
|
|
17538
15721
|
export var makeProvinceType = function () { return factories['io.flow.v0.enums.province_type'](); };
|
|
17539
15722
|
export var makePublicKey = function () { return factories['io.flow.v0.models.public_key'](); };
|
|
15723
|
+
export var makePurchasePriceBreakdown = function () { return factories['io.flow.v0.models.purchase_price_breakdown'](); };
|
|
17540
15724
|
export var makeQuery = function () { return factories['io.flow.v0.models.query'](); };
|
|
17541
15725
|
export var makeQueryBuilder = function () { return factories['io.flow.v0.models.query_builder'](); };
|
|
17542
15726
|
export var makeQueryBuilderFilterForm = function () { return factories['io.flow.v0.models.query_builder_filter_form'](); };
|
|
@@ -17672,6 +15856,9 @@ export var makeRounding = function () { return factories['io.flow.v0.models.roun
|
|
|
17672
15856
|
export var makeRoundingMethod = function () { return factories['io.flow.v0.enums.rounding_method'](); };
|
|
17673
15857
|
export var makeRoundingType = function () { return factories['io.flow.v0.enums.rounding_type'](); };
|
|
17674
15858
|
export var makeRouteAudit = function () { return factories['io.flow.v0.models.route_audit'](); };
|
|
15859
|
+
export var makeRuleEffectType = function () { return factories['io.flow.v0.enums.rule_effect_type'](); };
|
|
15860
|
+
export var makeSarveshItemDeleted = function () { return factories['io.flow.v0.models.sarvesh_item_deleted'](); };
|
|
15861
|
+
export var makeSarveshItemUpserted = function () { return factories['io.flow.v0.models.sarvesh_item_upserted'](); };
|
|
17675
15862
|
export var makeSchedule = function () { return factories['io.flow.v0.models.schedule'](); };
|
|
17676
15863
|
export var makeScheduleExceptionStatus = function () { return factories['io.flow.v0.enums.schedule_exception_status'](); };
|
|
17677
15864
|
export var makeScheduledExport = function () { return factories['io.flow.v0.models.scheduled_export'](); };
|
|
@@ -17681,6 +15868,11 @@ export var makeSdkAdyenV3AuthenticationToken = function () { return factories['i
|
|
|
17681
15868
|
export var makeSecurityRatecardFee = function () { return factories['io.flow.v0.models.security_ratecard_fee'](); };
|
|
17682
15869
|
export var makeSecurityServiceFee = function () { return factories['io.flow.v0.models.security_service_fee'](); };
|
|
17683
15870
|
export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
|
|
15871
|
+
export var makeSellabilityError = function () { return factories['io.flow.v0.models.sellability_error'](); };
|
|
15872
|
+
export var makeSellabilityErrorCode = function () { return factories['io.flow.v0.enums.sellability_error_code'](); };
|
|
15873
|
+
export var makeSellabilityRequestStatus = function () { return factories['io.flow.v0.enums.sellability_request_status'](); };
|
|
15874
|
+
export var makeSellabilityResponse = function () { return factories['io.flow.v0.unions.sellability_response'](); };
|
|
15875
|
+
export var makeSellablilityRegionResult = function () { return factories['io.flow.v0.models.sellablility_region_result'](); };
|
|
17684
15876
|
export var makeServiceDescription = function () { return factories['io.flow.v0.unions.service_description'](); };
|
|
17685
15877
|
export var makeServiceFee = function () { return factories['io.flow.v0.unions.service_fee'](); };
|
|
17686
15878
|
export var makeServiceReference = function () { return factories['io.flow.v0.models.service_reference'](); };
|
|
@@ -17805,6 +15997,7 @@ export var makeStatementDeleted = function () { return factories['io.flow.v0.mod
|
|
|
17805
15997
|
export var makeStatementUpserted = function () { return factories['io.flow.v0.models.statement_upserted'](); };
|
|
17806
15998
|
export var makeStoredMethodUsageStep = function () { return factories['io.flow.v0.enums.stored_method_usage_step'](); };
|
|
17807
15999
|
export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
|
|
16000
|
+
export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
|
|
17808
16001
|
export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
|
|
17809
16002
|
export var makeStripeAuthenticationDataForm = function () { return factories['io.flow.v0.models.stripe_authentication_data_form'](); };
|
|
17810
16003
|
export var makeStripeAuthorizationResultActionDetails = function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); };
|
|
@@ -17832,6 +16025,18 @@ export var makeSurchargeSetting = function () { return factories['io.flow.v0.mod
|
|
|
17832
16025
|
export var makeSurchargeSettingDisplay = function () { return factories['io.flow.v0.models.surcharge_setting_display'](); };
|
|
17833
16026
|
export var makeTax = function () { return factories['io.flow.v0.models.tax'](); };
|
|
17834
16027
|
export var makeTaxApplicability = function () { return factories['io.flow.v0.enums.tax_applicability'](); };
|
|
16028
|
+
export var makeTaxDutyCalculatorValidationError = function () { return factories['io.flow.v0.models.tax_duty_calculator_validation_error'](); };
|
|
16029
|
+
export var makeTaxDutyCalculatorValidationErrorCode = function () { return factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](); };
|
|
16030
|
+
export var makeTaxDutyQuote = function () { return factories['io.flow.v0.models.tax_duty_quote'](); };
|
|
16031
|
+
export var makeTaxDutyQuoteFeeValue = function () { return factories['io.flow.v0.models.tax_duty_quote_fee_value'](); };
|
|
16032
|
+
export var makeTaxDutyQuoteForm = function () { return factories['io.flow.v0.models.tax_duty_quote_form'](); };
|
|
16033
|
+
export var makeTaxDutyQuoteLevyValue = function () { return factories['io.flow.v0.unions.tax_duty_quote_levy_value'](); };
|
|
16034
|
+
export var makeTaxDutyQuoteLineItem = function () { return factories['io.flow.v0.models.tax_duty_quote_line_item'](); };
|
|
16035
|
+
export var makeTaxDutyQuoteLineItemForm = function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); };
|
|
16036
|
+
export var makeTaxDutyQuoteSimpleLevyValue = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](); };
|
|
16037
|
+
export var makeTaxDutyQuoteSimpleShipping = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping'](); };
|
|
16038
|
+
export var makeTaxDutyQuoteSimpleShippingForm = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); };
|
|
16039
|
+
export var makeTaxDutyQuoteValues = function () { return factories['io.flow.v0.models.tax_duty_quote_values'](); };
|
|
17835
16040
|
export var makeTaxDutyTransactionReasonCode = function () { return factories['io.flow.v0.enums.tax_duty_transaction_reason_code'](); };
|
|
17836
16041
|
export var makeTaxRegistration = function () { return factories['io.flow.v0.models.tax_registration'](); };
|
|
17837
16042
|
export var makeTaxRegistrationForm = function () { return factories['io.flow.v0.models.tax_registration_form'](); };
|
|
@@ -17986,4 +16191,5 @@ export var makeWebhookStatus = function () { return factories['io.flow.v0.enums.
|
|
|
17986
16191
|
export var makeWithholdingDeduction = function () { return factories['io.flow.v0.models.withholding_deduction'](); };
|
|
17987
16192
|
export var makeWithholdingDeductionType = function () { return factories['io.flow.v0.enums.withholding_deduction_type'](); };
|
|
17988
16193
|
export var makeZeroAmountIndicator = function () { return factories['io.flow.v0.enums.zero_amount_indicator'](); };
|
|
16194
|
+
export var makeZeroLevyReasonCode = function () { return factories['io.flow.v0.enums.zero_levy_reason_code'](); };
|
|
17989
16195
|
export var makeZone = function () { return factories['io.flow.v0.models.zone'](); };
|