@artisan-commerce/builders 0.7.0-canary.7 → 0.7.0-canary.71

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.
Files changed (46) hide show
  1. package/dev/package.json +7 -0
  2. package/dist/bundle.cjs +2665 -0
  3. package/dist/bundle.cjs.map +1 -0
  4. package/dist/bundle.d.ts +2958 -0
  5. package/dist/bundle.mjs +2643 -0
  6. package/dist/bundle.mjs.map +1 -0
  7. package/dist/bundle.umd.js +2668 -0
  8. package/dist/bundle.umd.js.map +1 -0
  9. package/dist/noop.cjs +334 -0
  10. package/dist/noop.cjs.map +1 -0
  11. package/dist/noop.mjs +312 -0
  12. package/dist/noop.mjs.map +1 -0
  13. package/package.json +67 -57
  14. package/CHANGELOG.md +0 -372
  15. package/build/builders/account.builder.d.ts +0 -17
  16. package/build/builders/banner.builder.d.ts +0 -35
  17. package/build/builders/billingData.builder.d.ts +0 -18
  18. package/build/builders/catalogue.builder.d.ts +0 -18
  19. package/build/builders/category.builder.d.ts +0 -36
  20. package/build/builders/common.builder.d.ts +0 -289
  21. package/build/builders/country.builder.d.ts +0 -51
  22. package/build/builders/coupon.builder.d.ts +0 -50
  23. package/build/builders/fulfillment.builder.d.ts +0 -199
  24. package/build/builders/image.builder.d.ts +0 -34
  25. package/build/builders/notification.builder.d.ts +0 -19
  26. package/build/builders/order.builder.d.ts +0 -427
  27. package/build/builders/payment.builder.d.ts +0 -93
  28. package/build/builders/product.builder.d.ts +0 -161
  29. package/build/builders/settings.builder.d.ts +0 -37
  30. package/build/builders/shippingAddress.builder.d.ts +0 -108
  31. package/build/builders/shoppingCart.builder.d.ts +0 -76
  32. package/build/builders/store.builder.d.ts +0 -106
  33. package/build/builders/user.builder.d.ts +0 -33
  34. package/build/builders/vendor.builder.d.ts +0 -17
  35. package/build/config/constants.d.ts +0 -2
  36. package/build/data/products.data.d.ts +0 -4
  37. package/build/index.d.ts +0 -23
  38. package/build/lib/artisn.d.ts +0 -5
  39. package/build/main.bundle.js +0 -10
  40. package/build/report.json +0 -1
  41. package/build/types/artisn.types.d.ts +0 -1
  42. package/build/types/product.types.d.ts +0 -6
  43. package/build/utils/artisn.utils.d.ts +0 -2
  44. package/build/utils/common.utils.d.ts +0 -8
  45. package/build/vendors.bundle.js +0 -1
  46. package/build/vendors.d.ts +0 -1
@@ -0,0 +1,2958 @@
1
+ import { AdditionalInfo, Account, Banner, BannerCoupon, BannerBenefits, BannerImage, BillingData, Catalogue, Category, CategoryWithProducts, CommonDocumentType, ARDocumentType, BODocumentType, BRDocumentType, CLDocumentType, CODocumentType, ECDocumentType, PYDocumentType, PEDocumentType, UYDocumentType, VEDocumentType, USDocumentType, RandomImageConfig, CountryCode, DocumentType, CountrySummary, CountryCurrency, Country, Benefit, Award, Wallet, StoreCoupon, ProductCoupon, BenefitData, Coupon, CouponCategory, Code, Token, StoreCouponDetail, StepCategory, StepCode, Issue, IssueAdditionalInfo, IssueHistory, Workflow, StepNotification, StepWorkflow, WebhookWorkflow, StepWorkflowAdditionalInfo, StepWorkflowGroup, TransitionWorkflow, URLImage, CDNImage, Notification, NotificationUser, NotificationStore, NotificationStep, NotificationAdditionalInfo, NotificationExtraData, NotificationListItem, OrderStatus, PaymentStatus, Allocation, BaseOrder, OrderDetails, OrderStep, OrderStepAdditionalInfo, OrderStepAdditionalInfoGroup, OrderDetailShippingCost, OrderRetry, Status, OrderPaymentMethod, OrderShoppingCart, OrderStoreAdditionalInfo, OrderStoreDelivery, OrderStore, OrderProductAttributes, OrderProductAdditionalInfo, OrderProductImage, OrderBillProductAdditionalInfo, TaxCalculation, TaxCalculations, OrderProductPriceCategory, OrderProduct, OrderBillProduct, OrderProductBillTotal, OrderBillTotal, MetadataShipping, BaseField, ZipCodeField, IntegrationMessage, InjectionDetail, OrderUser, OperatorInformation, Suborder, PaymentMethodByOrder, OrderRetryPaymentMethod, BasePaymentMethod, PaymentMethod, PaymentProvider, CreditCardMapping, CardInscription, PriceCategoryTax, PriceCategory, BaseProduct, ProductAnswer, ProductQuestion, ProductDetails, CartProductAnswer, CartProductQuestion, CartProduct, Settings, UserSettings, Field, Rule, Message, LivingPlace, ShippingAddress, BillTotalCategory, BillTotal, CartStore, Objectify, ShoppingCart, ShippingCost, ShippingCostTax, Discount, Store, Delivery, Schedule, Service, GenericStoreLocation, StoreLocation, User, Phone, Vendor } from '@artisan-commerce/types';
2
+ import * as _faker_js_faker_utils_types from '@faker-js/faker/utils/types';
3
+ import * as _faker_js_faker_modules_random from '@faker-js/faker/modules/random';
4
+
5
+ /**
6
+ * Generates Account object with random data.
7
+ *
8
+ * @template T Account additional info
9
+ * @since 0.1.0
10
+ * @param {Partial<Account>} overrides Properties to override a {@link Account}
11
+ * @returns {Account} A {@link Account} object
12
+ */
13
+ declare const buildAccount: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Account<T>>) => Account<T>;
14
+ /**
15
+ * Generates a list of Account objects with random data.
16
+ *
17
+ * @template T Accounts additional info
18
+ * @since 0.1.0
19
+ * @param {number} quantity The number of objects to be generated
20
+ * @returns {Account[]} An array of {@link Account}s objects
21
+ */
22
+ declare const genAccounts: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Account<T>[];
23
+
24
+ declare const account_builder_buildAccount: typeof buildAccount;
25
+ declare const account_builder_genAccounts: typeof genAccounts;
26
+ declare namespace account_builder {
27
+ export {
28
+ account_builder_buildAccount as buildAccount,
29
+ account_builder_genAccounts as genAccounts,
30
+ };
31
+ }
32
+
33
+ /**
34
+ * Generates banner object with random data.
35
+ *
36
+ * @template T Banner additional info
37
+ * @since 0.1.0
38
+ * @param {Partial<Banner>} overrides Properties to override a {@link Banner}
39
+ * @returns {Banner} A {@link Banner} object
40
+ */
41
+ declare const buildBanner: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Banner<T>>) => Banner<T>;
42
+ /**
43
+ * Generates BannerCoupon object with random data.
44
+ *
45
+ * @since 0.1.0
46
+ * @param {Partial<BannerCoupon>} overrides Properties to override
47
+ * a {@link BannerCoupon}
48
+ * @returns {BannerCoupon} A {@link BannerCoupon} object
49
+ */
50
+ declare const buildBannerCoupon: (overrides?: Partial<BannerCoupon>) => BannerCoupon;
51
+ /**
52
+ * Generates BannerBenefits object with random data.
53
+ *
54
+ * @since 0.1.0
55
+ * @param {Partial<BannerBenefits>} overrides Properties to override
56
+ * a {@link BannerBenefits}
57
+ * @returns {BannerBenefits} A {@link BannerBenefits} object
58
+ */
59
+ declare const buildBannerBenefits: (overrides?: Partial<BannerBenefits>) => BannerBenefits;
60
+ /**
61
+ * Generates a list of banner benefits objects with random data.
62
+ *
63
+ * @since 0.1.0
64
+ * @param {number} quantity The number of objects to be generated
65
+ * @returns {BannerBenefits[]} An array of banner benefits, see {@link BannerBenefits}
66
+ */
67
+ declare const genBannerBenefits: (quantity?: number) => BannerBenefits[];
68
+ /**
69
+ * Generates a list of Banner objects with random data.
70
+ *
71
+ * @template T Banners additional info
72
+ * @since 0.1.0
73
+ * @param {number} quantity The number of objects to be generated
74
+ * @returns {Banner[]} An array of {@link Banner}s objects
75
+ */
76
+ declare const genBanners: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Banner<T>[];
77
+ /**
78
+ * Generates BannerImage object with random data.
79
+ *
80
+ * @since 0.1.0
81
+ * @param {Partial<BannerImage>} overrides Properties to override
82
+ * a {@link BannerImage}
83
+ * @returns {BannerImage} A {@link BannerImage} object
84
+ */
85
+ declare const buildBannerImage: (overrides?: Partial<BannerImage>) => BannerImage;
86
+ /**
87
+ * Generates a list of banner image objects with random data.
88
+ *
89
+ * @since 0.1.0
90
+ * @param {number} quantity The number of objects to be generated
91
+ * @returns {BannerImage[]} An array of banner images, see {@link BannerImage}
92
+ */
93
+ declare const genBannerImages: (quantity?: number) => BannerImage[];
94
+
95
+ declare const banner_builder_buildBanner: typeof buildBanner;
96
+ declare const banner_builder_buildBannerBenefits: typeof buildBannerBenefits;
97
+ declare const banner_builder_buildBannerCoupon: typeof buildBannerCoupon;
98
+ declare const banner_builder_buildBannerImage: typeof buildBannerImage;
99
+ declare const banner_builder_genBannerBenefits: typeof genBannerBenefits;
100
+ declare const banner_builder_genBannerImages: typeof genBannerImages;
101
+ declare const banner_builder_genBanners: typeof genBanners;
102
+ declare namespace banner_builder {
103
+ export {
104
+ banner_builder_buildBanner as buildBanner,
105
+ banner_builder_buildBannerBenefits as buildBannerBenefits,
106
+ banner_builder_buildBannerCoupon as buildBannerCoupon,
107
+ banner_builder_buildBannerImage as buildBannerImage,
108
+ banner_builder_genBannerBenefits as genBannerBenefits,
109
+ banner_builder_genBannerImages as genBannerImages,
110
+ banner_builder_genBanners as genBanners,
111
+ };
112
+ }
113
+
114
+ /**
115
+ * Generates BillingData object with random data.
116
+ *
117
+ * @template T Billing data additional info
118
+ * @since 0.1.0
119
+ * @param {Partial<BillingData>} overrides Properties to override
120
+ * a {@link BillingData}
121
+ * @returns {BillingData} A {@link BillingData} object
122
+ */
123
+ declare const buildBillingData: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<BillingData<T>>) => BillingData<T>;
124
+ /**
125
+ * Generates a list of Billing Data objects with random data.
126
+ *
127
+ * @template T Billing data additional info
128
+ * @since 0.1.0
129
+ * @param {number} quantity The number of objects to be generated
130
+ * @returns {BillingData[]} An array of {@link BillingData}s objects
131
+ */
132
+ declare const genBillingData: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => BillingData<T>[];
133
+
134
+ declare const billingData_builder_buildBillingData: typeof buildBillingData;
135
+ declare const billingData_builder_genBillingData: typeof genBillingData;
136
+ declare namespace billingData_builder {
137
+ export {
138
+ billingData_builder_buildBillingData as buildBillingData,
139
+ billingData_builder_genBillingData as genBillingData,
140
+ };
141
+ }
142
+
143
+ /**
144
+ * Generates Catalogue object with random data.
145
+ *
146
+ * @template T Catalogue additional info
147
+ * @since 0.1.0
148
+ * @param {Partial<Catalogue>} overrides Properties to override
149
+ * a {@link Catalogue}
150
+ * @returns {Catalogue} A {@link Catalogue} object
151
+ */
152
+ declare const buildCatalogue: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Catalogue<T>>) => Catalogue<T>;
153
+ /**
154
+ * Generates a list of Catalogue objects with custom data.
155
+ *
156
+ * @template T Catalogues additional info
157
+ * @since 0.1.0
158
+ * @param {number} quantity The number of objects to be generated
159
+ * @returns {Catalogue[]} An array of {@link Catalogue}s objects
160
+ */
161
+ declare const genCatalogues: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Catalogue<T>[];
162
+
163
+ declare const catalogue_builder_buildCatalogue: typeof buildCatalogue;
164
+ declare const catalogue_builder_genCatalogues: typeof genCatalogues;
165
+ declare namespace catalogue_builder {
166
+ export {
167
+ catalogue_builder_buildCatalogue as buildCatalogue,
168
+ catalogue_builder_genCatalogues as genCatalogues,
169
+ };
170
+ }
171
+
172
+ /**
173
+ * Generates Category object with random data.
174
+ *
175
+ * @template T Category additional info
176
+ * @since 0.1.0
177
+ * @param {Partial<Category>} overrides Properties to override
178
+ * a {@link Category}
179
+ * @returns {Category} A {@link Category} object
180
+ */
181
+ declare const buildCategory: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Category<T>>) => Category<T>;
182
+ /**
183
+ * Generates a list of Category objects with random data.
184
+ *
185
+ * @template T Categories additional info
186
+ * @since 0.1.0
187
+ * @param {number} quantity The number of objects to be generated
188
+ * @returns {Category[]} An array of categories objects, see {@link Category}
189
+ */
190
+ declare const genCategories: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Category<T>[];
191
+ /**
192
+ * Generates CategoryWithProducts object with random data.
193
+ *
194
+ * @since 0.1.0
195
+ * @param {Partial<CategoryWithProducts>} overrides Properties to override
196
+ * a {@link CategoryWithProducts}
197
+ * @returns {CategoryWithProducts} A {@link CategoryWithProducts} object
198
+ */
199
+ declare const buildCategoryWithProducts: (overrides?: Partial<CategoryWithProducts>) => CategoryWithProducts;
200
+ /**
201
+ * Generates a list of CategoryWithProducts objects with random data.
202
+ *
203
+ * @since 0.1.0
204
+ * @param {number} quantity The number of objects to be generated
205
+ * @returns {CategoryWithProducts[]} An array of products by categories,
206
+ * see {@link CategoryWithProducts}
207
+ */
208
+ declare const genCategoryWithProducts: (quantity?: number) => CategoryWithProducts[];
209
+
210
+ declare const category_builder_buildCategory: typeof buildCategory;
211
+ declare const category_builder_buildCategoryWithProducts: typeof buildCategoryWithProducts;
212
+ declare const category_builder_genCategories: typeof genCategories;
213
+ declare const category_builder_genCategoryWithProducts: typeof genCategoryWithProducts;
214
+ declare namespace category_builder {
215
+ export {
216
+ category_builder_buildCategory as buildCategory,
217
+ category_builder_buildCategoryWithProducts as buildCategoryWithProducts,
218
+ category_builder_genCategories as genCategories,
219
+ category_builder_genCategoryWithProducts as genCategoryWithProducts,
220
+ };
221
+ }
222
+
223
+ /**
224
+ * Generates and array of objects of the given type.
225
+ *
226
+ * @param {Function} builder Function passed to generate random data for each object
227
+ * @param {number} quantity The number of objects to be generated
228
+ * @returns {T[]} An array of objects of the given type
229
+ */
230
+ declare const genItems: <T>(builder: (overrides?: Partial<T> | undefined) => T, quantity?: number) => T[];
231
+
232
+ /**
233
+ * Default document types for all countries.
234
+ *
235
+ * @since 0.1.0
236
+ */
237
+ declare const getCommonDocumentTypes: () => CommonDocumentType[];
238
+ /**
239
+ * Argentina supported document types.
240
+ *
241
+ * @since 0.1.0
242
+ */
243
+ declare const getARDocumentTypes: () => ARDocumentType[];
244
+ /**
245
+ * Bolivia supported document types.
246
+ *
247
+ * @since 0.1.0
248
+ */
249
+ declare const getBODocumentTypes: () => BODocumentType[];
250
+ /**
251
+ * Brasil supported document types.
252
+ *
253
+ * @since 0.1.0
254
+ */
255
+ declare const getBRDocumentTypes: () => BRDocumentType[];
256
+ /**
257
+ * Chile supported document types.
258
+ *
259
+ * @since 0.1.0
260
+ */
261
+ declare const getCLDocumentTypes: () => CLDocumentType[];
262
+ /**
263
+ * Colombia supported document types.
264
+ *
265
+ * @since 0.1.0
266
+ */
267
+ declare const getCODocumentTypes: () => CODocumentType[];
268
+ /**
269
+ * Ecuador supported document types.
270
+ *
271
+ * @since 0.1.0
272
+ */
273
+ declare const getECDocumentTypes: () => ECDocumentType[];
274
+ /**
275
+ * Paraguay supported document types.
276
+ *
277
+ * @since 0.1.0
278
+ */
279
+ declare const getPYDocumentTypes: () => PYDocumentType[];
280
+ /**
281
+ * Perú supported document types.
282
+ *
283
+ * @since 0.1.0
284
+ */
285
+ declare const getPEDocumentTypes: () => PEDocumentType[];
286
+ /**
287
+ * Uruguay supported document types.
288
+ *
289
+ * @since 0.1.0
290
+ */
291
+ declare const getUYDocumentTypes: () => UYDocumentType[];
292
+ /**
293
+ * Venezuela supported document types.
294
+ *
295
+ * @since 0.1.0
296
+ */
297
+ declare const getVEDocumentTypes: () => VEDocumentType[];
298
+ /**
299
+ * United States supported document types.
300
+ *
301
+ * @since 0.1.0
302
+ */
303
+ declare const getUSDocumentTypes: () => USDocumentType[];
304
+ /**
305
+ * Generates a random password.
306
+ *
307
+ * @since 0.1.0
308
+ * @param {any[]} args An array of arguments to be passed when
309
+ * generating the password
310
+ * @returns A random password
311
+ */
312
+ declare const getPassword: (...args: any[]) => string;
313
+ /**
314
+ * Generates a random username.
315
+ *
316
+ * @since 0.1.0
317
+ */
318
+ declare const getUsername: (firstName?: string | undefined, lastName?: string | undefined) => string;
319
+ /**
320
+ * Generates a random unique identifier.
321
+ *
322
+ * @since 0.1.0
323
+ */
324
+ declare const genId: () => string;
325
+ /**
326
+ * Generates a random id of type number.
327
+ *
328
+ * @since 0.1.0
329
+ */
330
+ declare const genNumericId: (length?: number | undefined, options?: {
331
+ allowLeadingZeros?: boolean | undefined;
332
+ bannedDigits?: string | readonly _faker_js_faker_utils_types.LiteralUnion<_faker_js_faker_modules_random.NumericChar>[] | undefined;
333
+ } | undefined) => number;
334
+ /**
335
+ * Generates a random word.
336
+ *
337
+ * @since 0.1.0
338
+ */
339
+ declare const genWord: (options?: number | {
340
+ length?: number | {
341
+ min: number;
342
+ max: number;
343
+ } | undefined;
344
+ strategy?: "fail" | "closest" | "shortest" | "longest" | "any-length" | undefined;
345
+ } | undefined) => string;
346
+ /**
347
+ * Generates a random address.
348
+ *
349
+ * @since 0.1.0
350
+ */
351
+ declare const genAddress: (useFullAddress?: boolean | undefined) => string;
352
+ /**
353
+ * Generates a random name.
354
+ *
355
+ * @since 0.1.0
356
+ */
357
+ declare const genName: (options?: {
358
+ firstName?: string | undefined;
359
+ lastName?: string | undefined;
360
+ gender?: "female" | "male" | undefined;
361
+ sex?: "female" | "male" | undefined;
362
+ } | undefined) => string;
363
+ /**
364
+ * Generates a random email.
365
+ *
366
+ * @since 0.1.0
367
+ */
368
+ declare const genEmail: (firstName?: string | undefined, lastName?: string | undefined, provider?: string | undefined, options?: {
369
+ allowSpecialCharacters?: boolean | undefined;
370
+ } | undefined) => string;
371
+ /**
372
+ * Generates a random company name.
373
+ *
374
+ * @since 0.1.0
375
+ */
376
+ declare const genCompanyName: (format?: number | undefined) => string;
377
+ /**
378
+ * Generates a random paragraph.
379
+ *
380
+ * @since 0.1.0
381
+ */
382
+ declare const genParagraph: (sentenceCount?: number | undefined) => string;
383
+ /**
384
+ * Generates a random title containing 3 words.
385
+ *
386
+ * @since 0.1.0
387
+ */
388
+ declare const genTitle: (wordCount?: number | undefined) => string;
389
+ /**
390
+ * Generates a random number.
391
+ *
392
+ * @since 0.1.0
393
+ */
394
+ declare const genNumber: (options?: number | {
395
+ min?: number | undefined;
396
+ max?: number | undefined;
397
+ precision?: number | undefined;
398
+ } | undefined) => number;
399
+ /**
400
+ * Generates a random boolean value.
401
+ *
402
+ * @since 0.1.0
403
+ */
404
+ declare const getBoolean: () => boolean;
405
+ /**
406
+ * Generates a random country name.
407
+ *
408
+ * @since 0.1.0
409
+ */
410
+ declare const genCountryName: () => string;
411
+ /**
412
+ * Generates a random image based on custom configuration.
413
+ *
414
+ * @since 0.5.15
415
+ * @param {RandomImageConfig} randomImageConfig Configuration
416
+ * to generate a random image
417
+ * @returns {string} An url of the image generated
418
+ */
419
+ declare const genRandomImage: (randomImageConfig?: RandomImageConfig) => string;
420
+ /** Generates random words.
421
+ *
422
+ * @since 0.1.0
423
+ * @param {number} words The quantity of words to be generated
424
+ */
425
+ declare const genWords: (words?: number) => string;
426
+ /**
427
+ * Generates a random internet url.
428
+ *
429
+ * @since 0.1.0
430
+ */
431
+ declare const genURL: () => string;
432
+ /**
433
+ * Generates a random date in ISO format.
434
+ *
435
+ * @since 0.1.0
436
+ */
437
+ declare const genDate: () => string;
438
+ /**
439
+ * Generates a random base64 value.
440
+ *
441
+ * @since 0.1.0
442
+ */
443
+ declare const genBase64: () => string;
444
+ /**
445
+ * Generates a random boolean value.
446
+ *
447
+ * @since 0.1.0
448
+ * @param {number} bias A number between 0 and 1 which will be used
449
+ * to generate a boolean
450
+ * @throws Error if bias is not between 0 and 1
451
+ * @returns {boolean} A boolean value
452
+ */
453
+ declare const genBiasBoolean: (bias: number) => boolean;
454
+ /**
455
+ * Generates a random document.
456
+ *
457
+ * @since 0.1.0
458
+ * @param {number} digits The number of digits with which the document
459
+ * will be generated
460
+ * @returns {string} A random document
461
+ */
462
+ declare const genDocument: (digits: number) => string;
463
+ /**
464
+ * Generates a random document type.
465
+ *
466
+ * @since 0.1.0
467
+ * @param {string} countryISOCode Country calling code
468
+ */
469
+ declare const genDocumentType: (countryISOCode?: CountryCode) => DocumentType;
470
+ /**
471
+ * Generates a random mobile phone with the country code provided.
472
+ *
473
+ * @since 0.1.0
474
+ * @param {string} countryCode Country calling code
475
+ * @returns {string} A string like a mobile phone
476
+ */
477
+ declare const genMobilPhone: (countryCode: string) => string;
478
+ /**
479
+ * Generates a Country Summary object with random data.
480
+ *
481
+ * @since 0.1.0
482
+ * @param {number} id Country specific id
483
+ * @param {string} name Country specific name
484
+ * @returns {CountrySummary} A {@link CountrySummary} object
485
+ */
486
+ declare const genCountry: (id?: string, name?: string) => CountrySummary;
487
+ /**
488
+ * Fills a number of type string with characters.
489
+ *
490
+ * @since 0.1.0
491
+ * @param {string} num A string, the length of it will
492
+ * be used to fill the number
493
+ * @param {number} max A number, the length of it will
494
+ * be used to fill the number
495
+ * @returns {string} A string filled with the data passed
496
+ */
497
+ declare const fillNumber: (num: string, max?: number) => string;
498
+ /**
499
+ * Chooses a random item inside the array provided.
500
+ *
501
+ * @since 0.1.0
502
+ * @param {T[]} arr An array of generic items
503
+ * @returns {T} A random item of the array passed as param
504
+ */
505
+ declare const chooseRandom: <T = string>(array?: T[] | undefined) => T;
506
+ declare const genSymbol: () => string;
507
+ declare const genIP: () => string;
508
+
509
+ declare const common_builder_chooseRandom: typeof chooseRandom;
510
+ declare const common_builder_fillNumber: typeof fillNumber;
511
+ declare const common_builder_genAddress: typeof genAddress;
512
+ declare const common_builder_genBase64: typeof genBase64;
513
+ declare const common_builder_genBiasBoolean: typeof genBiasBoolean;
514
+ declare const common_builder_genCompanyName: typeof genCompanyName;
515
+ declare const common_builder_genCountry: typeof genCountry;
516
+ declare const common_builder_genCountryName: typeof genCountryName;
517
+ declare const common_builder_genDate: typeof genDate;
518
+ declare const common_builder_genDocument: typeof genDocument;
519
+ declare const common_builder_genDocumentType: typeof genDocumentType;
520
+ declare const common_builder_genEmail: typeof genEmail;
521
+ declare const common_builder_genIP: typeof genIP;
522
+ declare const common_builder_genId: typeof genId;
523
+ declare const common_builder_genItems: typeof genItems;
524
+ declare const common_builder_genMobilPhone: typeof genMobilPhone;
525
+ declare const common_builder_genName: typeof genName;
526
+ declare const common_builder_genNumber: typeof genNumber;
527
+ declare const common_builder_genNumericId: typeof genNumericId;
528
+ declare const common_builder_genParagraph: typeof genParagraph;
529
+ declare const common_builder_genRandomImage: typeof genRandomImage;
530
+ declare const common_builder_genSymbol: typeof genSymbol;
531
+ declare const common_builder_genTitle: typeof genTitle;
532
+ declare const common_builder_genURL: typeof genURL;
533
+ declare const common_builder_genWord: typeof genWord;
534
+ declare const common_builder_genWords: typeof genWords;
535
+ declare const common_builder_getARDocumentTypes: typeof getARDocumentTypes;
536
+ declare const common_builder_getBODocumentTypes: typeof getBODocumentTypes;
537
+ declare const common_builder_getBRDocumentTypes: typeof getBRDocumentTypes;
538
+ declare const common_builder_getBoolean: typeof getBoolean;
539
+ declare const common_builder_getCLDocumentTypes: typeof getCLDocumentTypes;
540
+ declare const common_builder_getCODocumentTypes: typeof getCODocumentTypes;
541
+ declare const common_builder_getCommonDocumentTypes: typeof getCommonDocumentTypes;
542
+ declare const common_builder_getECDocumentTypes: typeof getECDocumentTypes;
543
+ declare const common_builder_getPEDocumentTypes: typeof getPEDocumentTypes;
544
+ declare const common_builder_getPYDocumentTypes: typeof getPYDocumentTypes;
545
+ declare const common_builder_getPassword: typeof getPassword;
546
+ declare const common_builder_getUSDocumentTypes: typeof getUSDocumentTypes;
547
+ declare const common_builder_getUYDocumentTypes: typeof getUYDocumentTypes;
548
+ declare const common_builder_getUsername: typeof getUsername;
549
+ declare const common_builder_getVEDocumentTypes: typeof getVEDocumentTypes;
550
+ declare namespace common_builder {
551
+ export {
552
+ common_builder_chooseRandom as chooseRandom,
553
+ common_builder_fillNumber as fillNumber,
554
+ common_builder_genAddress as genAddress,
555
+ common_builder_genBase64 as genBase64,
556
+ common_builder_genBiasBoolean as genBiasBoolean,
557
+ common_builder_genCompanyName as genCompanyName,
558
+ common_builder_genCountry as genCountry,
559
+ common_builder_genCountryName as genCountryName,
560
+ common_builder_genDate as genDate,
561
+ common_builder_genDocument as genDocument,
562
+ common_builder_genDocumentType as genDocumentType,
563
+ common_builder_genEmail as genEmail,
564
+ common_builder_genIP as genIP,
565
+ common_builder_genId as genId,
566
+ common_builder_genItems as genItems,
567
+ common_builder_genMobilPhone as genMobilPhone,
568
+ common_builder_genName as genName,
569
+ common_builder_genNumber as genNumber,
570
+ common_builder_genNumericId as genNumericId,
571
+ common_builder_genParagraph as genParagraph,
572
+ common_builder_genRandomImage as genRandomImage,
573
+ common_builder_genSymbol as genSymbol,
574
+ common_builder_genTitle as genTitle,
575
+ common_builder_genURL as genURL,
576
+ common_builder_genWord as genWord,
577
+ common_builder_genWords as genWords,
578
+ common_builder_getARDocumentTypes as getARDocumentTypes,
579
+ common_builder_getBODocumentTypes as getBODocumentTypes,
580
+ common_builder_getBRDocumentTypes as getBRDocumentTypes,
581
+ common_builder_getBoolean as getBoolean,
582
+ common_builder_getCLDocumentTypes as getCLDocumentTypes,
583
+ common_builder_getCODocumentTypes as getCODocumentTypes,
584
+ common_builder_getCommonDocumentTypes as getCommonDocumentTypes,
585
+ common_builder_getECDocumentTypes as getECDocumentTypes,
586
+ common_builder_getPEDocumentTypes as getPEDocumentTypes,
587
+ common_builder_getPYDocumentTypes as getPYDocumentTypes,
588
+ common_builder_getPassword as getPassword,
589
+ common_builder_getUSDocumentTypes as getUSDocumentTypes,
590
+ common_builder_getUYDocumentTypes as getUYDocumentTypes,
591
+ common_builder_getUsername as getUsername,
592
+ common_builder_getVEDocumentTypes as getVEDocumentTypes,
593
+ };
594
+ }
595
+
596
+ /**
597
+ * All values of CountryCode.
598
+ *
599
+ * @since 0.1.0
600
+ */
601
+ declare const countriesCodes: CountryCode[];
602
+ /**
603
+ * Generates CountryCurrency object with random data.
604
+ *
605
+ * @since 0.1.0
606
+ * @param {Partial<CountryCurrency>} overrides Properties to override
607
+ * a {@link CountryCurrency}
608
+ * @returns {CountryCurrency} A {@link CountryCurrency} object
609
+ */
610
+ declare const buildCountryCurrency: (overrides?: Partial<CountryCurrency>) => CountryCurrency;
611
+ /**
612
+ * Generates a list of country's currency objects with random data.
613
+ *
614
+ * @since 0.1.0
615
+ * @param {number} quantity The number of objects to be generated
616
+ * @returns A list of country's currency objects, see {@link CountryCurrency}
617
+ */
618
+ declare const genCountryCurrencies: (quantity?: number) => CountryCurrency[];
619
+ /**
620
+ * Generates Country object with random data.
621
+ *
622
+ * @template T Country additional info
623
+ * @since 0.1.0
624
+ * @param {Country} overrides Properties to override a {@link Country}
625
+ * @returns {Country} A {@link Country} object
626
+ */
627
+ declare const buildCountry: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Country<T>>) => Country<T>;
628
+ /**
629
+ * Generates a list of countries objects with random data.
630
+ *
631
+ * @template T Countries additional info
632
+ * @since 0.1.0
633
+ * @param {number} quantity The number of objects to be generated
634
+ * @returns An array of countries objects, see {@link Country}
635
+ */
636
+ declare const genCountries: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Country<T>[];
637
+
638
+ declare const country_builder_buildCountry: typeof buildCountry;
639
+ declare const country_builder_buildCountryCurrency: typeof buildCountryCurrency;
640
+ declare const country_builder_countriesCodes: typeof countriesCodes;
641
+ declare const country_builder_genCountries: typeof genCountries;
642
+ declare const country_builder_genCountryCurrencies: typeof genCountryCurrencies;
643
+ declare namespace country_builder {
644
+ export {
645
+ country_builder_buildCountry as buildCountry,
646
+ country_builder_buildCountryCurrency as buildCountryCurrency,
647
+ country_builder_countriesCodes as countriesCodes,
648
+ country_builder_genCountries as genCountries,
649
+ country_builder_genCountryCurrencies as genCountryCurrencies,
650
+ };
651
+ }
652
+
653
+ /**
654
+ * Generates Benefit object with random data.
655
+ *
656
+ * @since 0.1.0
657
+ * @param {Partial<Benefit>} overrides Properties to override a {@link Benefit}
658
+ * @returns {Benefit} A {@link Benefit} object
659
+ */
660
+ declare const buildBenefit: (overrides?: Partial<Benefit>) => Benefit;
661
+ /**
662
+ * Generates a list of Benefit objects with random data.
663
+ *
664
+ * @since 0.1.0
665
+ * @param {number} quantity The number of objects to be generated
666
+ * @returns {Benefit[]} An array of Benefit objects, see {@link Benefit}
667
+ */
668
+ declare const genBenefits: (quantity?: number) => Benefit[];
669
+ /**
670
+ * Generates Award object with random data.
671
+ *
672
+ * @since 0.1.0
673
+ * @param {Partial<Award>} overrides Properties to override a {@link Award}
674
+ * @returns {Award} A {@link Award} object
675
+ */
676
+ declare const buildAward: (overrides?: Partial<Award>) => Award;
677
+ /**
678
+ * Generates a list of Award objects with random data.
679
+ *
680
+ * @since 0.1.0
681
+ * @param {number} quantity The number of objects to be generated
682
+ * @returns {Award[]} An array of Award objects, see {@link Award}
683
+ */
684
+ declare const genAwards: (quantity?: number) => Award[];
685
+ /**
686
+ * Generates Wallet object with random data.
687
+ *
688
+ * @since 0.1.0
689
+ * @param {Partial<Wallet>} overrides Properties to override a {@link Wallet}
690
+ * @returns {Wallet} A {@link Wallet} object
691
+ */
692
+ declare const buildWallet: (overrides?: Partial<Wallet>) => Wallet;
693
+ /**
694
+ * Generates a list of Wallet objects with random data.
695
+ *
696
+ * @since 0.1.0
697
+ * @param {number} quantity The number of objects to be generated
698
+ * @returns {Wallet[]} An array of Wallet objects, see {@link Wallet}
699
+ */
700
+ declare const genWallets: (quantity?: number) => Wallet[];
701
+ /**
702
+ * Generates StoreCoupon object with random data.
703
+ *
704
+ * @since 0.1.0
705
+ * @param {Partial<StoreCoupon>} overrides Properties to override
706
+ * a {@link StoreCoupon}
707
+ * @returns {StoreCoupon} A {@link StoreCoupon} object
708
+ */
709
+ declare const buildStoreCoupon: (overrides?: Partial<StoreCoupon>) => StoreCoupon;
710
+ /**
711
+ * Generates a list of StoreCoupon objects with random data.
712
+ *
713
+ * @since 0.1.0
714
+ * @param {number} quantity The number of objects to be generated
715
+ * @returns {StoreCoupon[]} An array of StoreCoupon objects,
716
+ * see {@link StoreCoupon}
717
+ */
718
+ declare const genStoreCoupons: (quantity?: number) => StoreCoupon[];
719
+ /**
720
+ * Generates ProductCoupon object with random data.
721
+ *
722
+ * @since 0.1.0
723
+ * @param {Partial<ProductCoupon>} overrides Properties to override
724
+ * a {@link ProductCoupon}
725
+ * @returns {ProductCoupon} A {@link ProductCoupon} object
726
+ */
727
+ declare const buildProductCoupon: (overrides?: Partial<ProductCoupon>) => ProductCoupon;
728
+ /**
729
+ * Generates a list of ProductCoupon objects with random data.
730
+ *
731
+ * @since 0.1.0
732
+ * @param {number} quantity The number of objects to be generated
733
+ * @returns {ProductCoupon[]} An array of ProductCoupon objects,
734
+ * see {@link ProductCoupon}
735
+ */
736
+ declare const genProductCoupons: (quantity?: number) => ProductCoupon[];
737
+ /**
738
+ * Generates BenefitData object with random data.
739
+ *
740
+ * @since 0.1.0
741
+ * @param {Partial<BenefitData>} overrides Properties to override
742
+ * a {@link BenefitData}
743
+ * @returns {BenefitData} A {@link BenefitData} object
744
+ */
745
+ declare const buildBenefitData: (overrides?: Partial<BenefitData>) => BenefitData;
746
+ /**
747
+ * Generates a list of BenefitData objects with random data.
748
+ *
749
+ * @since 0.1.0
750
+ * @param {number} quantity The number of objects to be generated
751
+ * @returns {BenefitData[]} An array of BenefitData objects,
752
+ * see {@link BenefitData}
753
+ */
754
+ declare const genBenefitData: (quantity?: number) => BenefitData[];
755
+ /**
756
+ * Generates Coupon object with random data.
757
+ *
758
+ * @since 0.1.0
759
+ * @param {Partial<Coupon>} overrides Properties to override
760
+ * a {@link Coupon}
761
+ * @returns {Coupon} A {@link Coupon} object
762
+ */
763
+ declare const buildCoupon: (overrides?: Partial<Coupon>) => Coupon;
764
+ /**
765
+ * Generates a list of Coupon objects with random data.
766
+ *
767
+ * @since 0.1.0
768
+ * @param {number} quantity The number of objects to be generated
769
+ * @returns {Coupon[]} An array of Coupon objects,
770
+ * see {@link Coupon}
771
+ */
772
+ declare const genCoupons: (quantity?: number) => Coupon[];
773
+ /**
774
+ * Generates CouponCategory object with random data.
775
+ *
776
+ * @since 0.1.0
777
+ * @param {Partial<CouponCategory>} overrides Properties to override
778
+ * a {@link CouponCategory}
779
+ * @returns {CouponCategory} A {@link CouponCategory} object
780
+ */
781
+ declare const buildCouponCategory: (overrides?: Partial<CouponCategory>) => CouponCategory;
782
+ /**
783
+ * Generates a list of CouponCategory objects with random data.
784
+ *
785
+ * @since 0.1.0
786
+ * @param {number} quantity The number of objects to be generated
787
+ * @returns {CouponCategory[]} An array of CouponCategory objects,
788
+ * see {@link CouponCategory}
789
+ */
790
+ declare const genCouponCategories: (quantity?: number) => CouponCategory[];
791
+ /**
792
+ * Generates Code object with random data.
793
+ *
794
+ * @since 0.1.0
795
+ * @param {Partial<Code>} overrides Properties to override
796
+ * a {@link Code}
797
+ * @returns {Code} A {@link Code} object
798
+ */
799
+ declare const buildCode: (overrides?: Partial<Code>) => Code;
800
+ /**
801
+ * Generates a list of Code objects with random data.
802
+ *
803
+ * @since 0.1.0
804
+ * @param {number} quantity The number of objects to be generated
805
+ * @returns {Code[]} An array of Code objects,
806
+ * see {@link Code}
807
+ */
808
+ declare const genCodes: (quantity?: number) => Code[];
809
+ /**
810
+ * Generates Token object with random data.
811
+ *
812
+ * @since 0.1.0
813
+ * @param {Partial<Token>} overrides Properties to override
814
+ * a {@link Token}
815
+ * @returns {Token} A {@link Token} object
816
+ */
817
+ declare const buildToken: (overrides?: Partial<Token>) => Token;
818
+ /**
819
+ * Generates a list of Token objects with random data.
820
+ *
821
+ * @since 0.1.0
822
+ * @param {number} quantity The number of objects to be generated
823
+ * @returns {Token[]} An array of Token objects,
824
+ * see {@link Token}
825
+ */
826
+ declare const genTokens: (quantity?: number) => Token[];
827
+ /**
828
+ * Generates StoreCouponDetail object with random data.
829
+ *
830
+ * @since 0.1.0
831
+ * @param {Partial<StoreCouponDetail>} overrides Properties to override
832
+ * a {@link StoreCouponDetail}
833
+ * @returns {StoreCouponDetail} A {@link StoreCouponDetail} object
834
+ */
835
+ declare const buildStoreCouponDetail: (overrides?: Partial<StoreCouponDetail>) => StoreCouponDetail;
836
+ /**
837
+ * Generates a list of StoreCouponDetail objects with random data.
838
+ *
839
+ * @since 0.1.0
840
+ * @param {number} quantity The number of objects to be generated
841
+ * @returns {StoreCouponDetail[]} An array of StoreCouponDetail objects,
842
+ * see {@link StoreCouponDetail}
843
+ */
844
+ declare const genStoreCouponDetails: (quantity?: number) => StoreCouponDetail[];
845
+
846
+ declare const coupon_builder_buildAward: typeof buildAward;
847
+ declare const coupon_builder_buildBenefit: typeof buildBenefit;
848
+ declare const coupon_builder_buildBenefitData: typeof buildBenefitData;
849
+ declare const coupon_builder_buildCode: typeof buildCode;
850
+ declare const coupon_builder_buildCoupon: typeof buildCoupon;
851
+ declare const coupon_builder_buildCouponCategory: typeof buildCouponCategory;
852
+ declare const coupon_builder_buildProductCoupon: typeof buildProductCoupon;
853
+ declare const coupon_builder_buildStoreCoupon: typeof buildStoreCoupon;
854
+ declare const coupon_builder_buildStoreCouponDetail: typeof buildStoreCouponDetail;
855
+ declare const coupon_builder_buildToken: typeof buildToken;
856
+ declare const coupon_builder_buildWallet: typeof buildWallet;
857
+ declare const coupon_builder_genAwards: typeof genAwards;
858
+ declare const coupon_builder_genBenefitData: typeof genBenefitData;
859
+ declare const coupon_builder_genBenefits: typeof genBenefits;
860
+ declare const coupon_builder_genCodes: typeof genCodes;
861
+ declare const coupon_builder_genCouponCategories: typeof genCouponCategories;
862
+ declare const coupon_builder_genCoupons: typeof genCoupons;
863
+ declare const coupon_builder_genProductCoupons: typeof genProductCoupons;
864
+ declare const coupon_builder_genStoreCouponDetails: typeof genStoreCouponDetails;
865
+ declare const coupon_builder_genStoreCoupons: typeof genStoreCoupons;
866
+ declare const coupon_builder_genTokens: typeof genTokens;
867
+ declare const coupon_builder_genWallets: typeof genWallets;
868
+ declare namespace coupon_builder {
869
+ export {
870
+ coupon_builder_buildAward as buildAward,
871
+ coupon_builder_buildBenefit as buildBenefit,
872
+ coupon_builder_buildBenefitData as buildBenefitData,
873
+ coupon_builder_buildCode as buildCode,
874
+ coupon_builder_buildCoupon as buildCoupon,
875
+ coupon_builder_buildCouponCategory as buildCouponCategory,
876
+ coupon_builder_buildProductCoupon as buildProductCoupon,
877
+ coupon_builder_buildStoreCoupon as buildStoreCoupon,
878
+ coupon_builder_buildStoreCouponDetail as buildStoreCouponDetail,
879
+ coupon_builder_buildToken as buildToken,
880
+ coupon_builder_buildWallet as buildWallet,
881
+ coupon_builder_genAwards as genAwards,
882
+ coupon_builder_genBenefitData as genBenefitData,
883
+ coupon_builder_genBenefits as genBenefits,
884
+ coupon_builder_genCodes as genCodes,
885
+ coupon_builder_genCouponCategories as genCouponCategories,
886
+ coupon_builder_genCoupons as genCoupons,
887
+ coupon_builder_genProductCoupons as genProductCoupons,
888
+ coupon_builder_genStoreCouponDetails as genStoreCouponDetails,
889
+ coupon_builder_genStoreCoupons as genStoreCoupons,
890
+ coupon_builder_genTokens as genTokens,
891
+ coupon_builder_genWallets as genWallets,
892
+ };
893
+ }
894
+
895
+ /**
896
+ * All values of StepCategory.
897
+ *
898
+ * @since 0.1.0
899
+ */
900
+ declare const stepCategory: StepCategory[];
901
+ /**
902
+ * All values of StepCode.
903
+ *
904
+ * @since 0.1.0
905
+ */
906
+ declare const stepCode: StepCode[];
907
+ /**
908
+ * Generates Issue object with random data.
909
+ *
910
+ * @since 0.5.15
911
+ * @param {Partial<Issue>} overrides Properties to override
912
+ * a {@link Issue}
913
+ * @returns {Issue} A {@link Issue} object
914
+ */
915
+ declare const buildIssue: (overrides?: Partial<Issue>) => Issue;
916
+ /**
917
+ * Generates a list of Issue objects with random data.
918
+ *
919
+ * @since 0.5.15
920
+ * @param {number} quantity The number of objects to be generated
921
+ * @returns {Issue[]} An array of Issue objects,
922
+ * see {@link Issue}
923
+ */
924
+ declare const genIssues: (quantity?: number) => Issue[];
925
+ /**
926
+ * Generates IssueAdditionalInfo object with random data.
927
+ *
928
+ * @since 0.5.15
929
+ * @param {Partial<IssueAdditionalInfo>} overrides Properties to override
930
+ * a {@link IssueAdditionalInfo}
931
+ * @returns {IssueAdditionalInfo} A {@link IssueAdditionalInfo} object
932
+ */
933
+ declare const buildIssueAdditionalInfo: (overrides?: Partial<IssueAdditionalInfo>) => IssueAdditionalInfo;
934
+ /**
935
+ * Generates a list of IssueAdditionalInfo objects with random data.
936
+ *
937
+ * @since 0.5.15
938
+ * @param {number} quantity The number of objects to be generated
939
+ * @returns {IssueAdditionalInfo[]} An array of IssueAdditionalInfo objects,
940
+ * see {@link IssueAdditionalInfo}
941
+ */
942
+ declare const genIssueAdditionalInfo: (quantity?: number) => IssueAdditionalInfo[];
943
+ /**
944
+ * Generates IssueHistory object with random data.
945
+ *
946
+ * @since 0.5.15
947
+ * @param {Partial<IssueHistory>} overrides Properties to override
948
+ * a {@link IssueHistory}
949
+ * @returns {IssueHistory} A {@link IssueHistory} object
950
+ */
951
+ declare const buildIssueHistory: (overrides?: Partial<IssueHistory>) => IssueHistory;
952
+ /**
953
+ * Generates a list of IssueHistory objects with random data.
954
+ *
955
+ * @since 0.5.15
956
+ * @param {number} quantity The number of objects to be generated
957
+ * @returns {IssueHistory[]} An array of IssueHistory objects,
958
+ * see {@link IssueHistory}
959
+ */
960
+ declare const genIssueHistory: (quantity?: number) => IssueHistory[];
961
+ /**
962
+ * Generates Workflow object with random data.
963
+ *
964
+ * @since 0.5.15
965
+ * @param {Partial<Workflow>} overrides Properties to override
966
+ * a {@link Workflow}
967
+ * @returns {Workflow} A {@link Workflow} object
968
+ */
969
+ declare const buildWorkflow: (overrides?: Partial<Workflow>) => Workflow;
970
+ /**
971
+ * Generates a list of Workflow objects with random data.
972
+ *
973
+ * @since 0.5.15
974
+ * @param {number} quantity The number of objects to be generated
975
+ * @returns {Workflow[]} An array of Workflow objects, see {@link Workflow}
976
+ */
977
+ declare const genWorkflows: (quantity?: number) => Workflow[];
978
+ /**
979
+ * Generates StepNotification object with random data.
980
+ *
981
+ * @since 0.5.15
982
+ * @param {Partial<StepNotification>} overrides Properties to override
983
+ * a {@link StepNotification}
984
+ * @returns {StepNotification} A {@link StepNotification} object
985
+ */
986
+ declare const buildStepNotification: (overrides?: Partial<StepNotification>) => StepNotification;
987
+ /**
988
+ * Generates a list of StepNotification objects with random data.
989
+ *
990
+ * @since 0.5.15
991
+ * @param {number} quantity The number of objects to be generated
992
+ * @returns {StepNotification[]} An array of StepNotification objects,
993
+ * see {@link StepNotification}
994
+ */
995
+ declare const genStepNotifications: (quantity?: number) => StepNotification[];
996
+ /**
997
+ * Generates StepWorkflow object with random data.
998
+ *
999
+ * @since 0.5.15
1000
+ * @param {Partial<StepWorkflow>} overrides Properties to override
1001
+ * a {@link StepWorkflow}
1002
+ * @returns {StepWorkflow} A {@link StepWorkflow} object
1003
+ */
1004
+ declare const buildStepWorkflow: (overrides?: Partial<StepWorkflow>) => StepWorkflow;
1005
+ /**
1006
+ * Generates a list of StepWorkflow objects with random data.
1007
+ *
1008
+ * @since 0.5.15
1009
+ * @param {number} quantity The number of objects to be generated
1010
+ * @returns {StepWorkflow[]} An array of StepWorkflow objects,
1011
+ * see {@link StepWorkflow}
1012
+ */
1013
+ declare const genStepWorkflows: (quantity?: number) => StepWorkflow[];
1014
+ /**
1015
+ * Generates WebhookWorkflow object with random data.
1016
+ *
1017
+ * @since 0.5.15
1018
+ * @param {Partial<WebhookWorkflow>} overrides Properties to override
1019
+ * a {@link WebhookWorkflow}
1020
+ * @returns {WebhookWorkflow} A {@link WebhookWorkflow} object
1021
+ */
1022
+ declare const buildWebhookWorkflow: (overrides?: Partial<WebhookWorkflow>) => WebhookWorkflow;
1023
+ /**
1024
+ * Generates a list of WebhookWorkflow objects with random data.
1025
+ *
1026
+ * @since 0.5.15
1027
+ * @param {number} quantity The number of objects to be generated
1028
+ * @returns {WebhookWorkflow[]} An array of WebhookWorkflow objects,
1029
+ * see {@link WebhookWorkflow}
1030
+ */
1031
+ declare const genWebhookWorkflows: (quantity?: number) => WebhookWorkflow[];
1032
+ /**
1033
+ * Generates StepWorkflowAdditionalInfo object with random data.
1034
+ *
1035
+ * @since 0.5.15
1036
+ * @param {Partial<StepWorkflowAdditionalInfo>} overrides Properties to
1037
+ * override a {@link StepWorkflowAdditionalInfo}
1038
+ * @returns {StepWorkflowAdditionalInfo} A
1039
+ * {@link StepWorkflowAdditionalInfo} object
1040
+ */
1041
+ declare const buildStepWorkflowAdditionalInfo: (overrides?: Partial<StepWorkflowAdditionalInfo>) => StepWorkflowAdditionalInfo;
1042
+ /**
1043
+ * Generates a list of StepWorkflowAdditionalInfo objects with random data.
1044
+ *
1045
+ * @since 0.5.15
1046
+ * @param {number} quantity The number of objects to be generated
1047
+ * @returns {StepWorkflowAdditionalInfo[]} An array of
1048
+ * StepWorkflowAdditionalInfo objects, see {@link StepWorkflowAdditionalInfo}
1049
+ */
1050
+ declare const genStepWorkflowAdditionalInfos: (quantity?: number) => StepWorkflowAdditionalInfo[];
1051
+ /**
1052
+ * Generates StepWorkflowGroup object with random data.
1053
+ *
1054
+ * @since 0.5.15
1055
+ * @param {Partial<StepWorkflowGroup>} overrides Properties to override
1056
+ * a {@link StepWorkflowGroup}
1057
+ * @returns {StepWorkflowGroup} A {@link StepWorkflowGroup} object
1058
+ */
1059
+ declare const buildStepWorkflowGroup: (overrides?: Partial<StepWorkflowGroup>) => StepWorkflowGroup;
1060
+ /**
1061
+ * Generates a list of StepWorkflowGroup objects with random data.
1062
+ *
1063
+ * @since 0.5.15
1064
+ * @param {number} quantity The number of objects to be generated
1065
+ * @returns {StepWorkflowGroup[]} An array of StepWorkflowGroup objects,
1066
+ * see {@link StepWorkflowGroup}
1067
+ */
1068
+ declare const genStepWorkflowGroups: (quantity?: number) => StepWorkflowGroup[];
1069
+ /**
1070
+ * Generates TransitionWorkflow object with random data.
1071
+ *
1072
+ * @since 0.5.15
1073
+ * @param {Partial<TransitionWorkflow>} overrides Properties to override
1074
+ * a {@link TransitionWorkflow}
1075
+ * @returns {TransitionWorkflow} A {@link TransitionWorkflow} object
1076
+ */
1077
+ declare const buildTransitionWorkflow: (overrides?: Partial<TransitionWorkflow>) => TransitionWorkflow;
1078
+ /**
1079
+ * Generates a list of TransitionWorkflow objects with random data.
1080
+ *
1081
+ * @since 0.5.15
1082
+ * @param {number} quantity The number of objects to be generated
1083
+ * @returns {TransitionWorkflow[]} An array of TransitionWorkflow objects,
1084
+ * see {@link TransitionWorkflow}
1085
+ */
1086
+ declare const genTransitionWorkflows: (quantity?: number) => TransitionWorkflow[];
1087
+
1088
+ declare const fulfillment_builder_buildIssue: typeof buildIssue;
1089
+ declare const fulfillment_builder_buildIssueAdditionalInfo: typeof buildIssueAdditionalInfo;
1090
+ declare const fulfillment_builder_buildIssueHistory: typeof buildIssueHistory;
1091
+ declare const fulfillment_builder_buildStepNotification: typeof buildStepNotification;
1092
+ declare const fulfillment_builder_buildStepWorkflow: typeof buildStepWorkflow;
1093
+ declare const fulfillment_builder_buildStepWorkflowAdditionalInfo: typeof buildStepWorkflowAdditionalInfo;
1094
+ declare const fulfillment_builder_buildStepWorkflowGroup: typeof buildStepWorkflowGroup;
1095
+ declare const fulfillment_builder_buildTransitionWorkflow: typeof buildTransitionWorkflow;
1096
+ declare const fulfillment_builder_buildWebhookWorkflow: typeof buildWebhookWorkflow;
1097
+ declare const fulfillment_builder_buildWorkflow: typeof buildWorkflow;
1098
+ declare const fulfillment_builder_genIssueAdditionalInfo: typeof genIssueAdditionalInfo;
1099
+ declare const fulfillment_builder_genIssueHistory: typeof genIssueHistory;
1100
+ declare const fulfillment_builder_genIssues: typeof genIssues;
1101
+ declare const fulfillment_builder_genStepNotifications: typeof genStepNotifications;
1102
+ declare const fulfillment_builder_genStepWorkflowAdditionalInfos: typeof genStepWorkflowAdditionalInfos;
1103
+ declare const fulfillment_builder_genStepWorkflowGroups: typeof genStepWorkflowGroups;
1104
+ declare const fulfillment_builder_genStepWorkflows: typeof genStepWorkflows;
1105
+ declare const fulfillment_builder_genTransitionWorkflows: typeof genTransitionWorkflows;
1106
+ declare const fulfillment_builder_genWebhookWorkflows: typeof genWebhookWorkflows;
1107
+ declare const fulfillment_builder_genWorkflows: typeof genWorkflows;
1108
+ declare const fulfillment_builder_stepCategory: typeof stepCategory;
1109
+ declare const fulfillment_builder_stepCode: typeof stepCode;
1110
+ declare namespace fulfillment_builder {
1111
+ export {
1112
+ fulfillment_builder_buildIssue as buildIssue,
1113
+ fulfillment_builder_buildIssueAdditionalInfo as buildIssueAdditionalInfo,
1114
+ fulfillment_builder_buildIssueHistory as buildIssueHistory,
1115
+ fulfillment_builder_buildStepNotification as buildStepNotification,
1116
+ fulfillment_builder_buildStepWorkflow as buildStepWorkflow,
1117
+ fulfillment_builder_buildStepWorkflowAdditionalInfo as buildStepWorkflowAdditionalInfo,
1118
+ fulfillment_builder_buildStepWorkflowGroup as buildStepWorkflowGroup,
1119
+ fulfillment_builder_buildTransitionWorkflow as buildTransitionWorkflow,
1120
+ fulfillment_builder_buildWebhookWorkflow as buildWebhookWorkflow,
1121
+ fulfillment_builder_buildWorkflow as buildWorkflow,
1122
+ fulfillment_builder_genIssueAdditionalInfo as genIssueAdditionalInfo,
1123
+ fulfillment_builder_genIssueHistory as genIssueHistory,
1124
+ fulfillment_builder_genIssues as genIssues,
1125
+ fulfillment_builder_genStepNotifications as genStepNotifications,
1126
+ fulfillment_builder_genStepWorkflowAdditionalInfos as genStepWorkflowAdditionalInfos,
1127
+ fulfillment_builder_genStepWorkflowGroups as genStepWorkflowGroups,
1128
+ fulfillment_builder_genStepWorkflows as genStepWorkflows,
1129
+ fulfillment_builder_genTransitionWorkflows as genTransitionWorkflows,
1130
+ fulfillment_builder_genWebhookWorkflows as genWebhookWorkflows,
1131
+ fulfillment_builder_genWorkflows as genWorkflows,
1132
+ fulfillment_builder_stepCategory as stepCategory,
1133
+ fulfillment_builder_stepCode as stepCode,
1134
+ };
1135
+ }
1136
+
1137
+ /**
1138
+ * Generates a random image url.
1139
+ *
1140
+ * @since 0.5.15
1141
+ */
1142
+ declare const buildURLImage: (randomImageConfig?: RandomImageConfig | undefined) => string;
1143
+ /**
1144
+ * Generates a list of URLImage.
1145
+ *
1146
+ * @since 0.5.15
1147
+ * @param {number} quantity The number of objects to be generated
1148
+ * @returns {URLImage} An array of {@link URLImage}
1149
+ */
1150
+ declare const genURLImages: (quantity?: number, overrides?: RandomImageConfig) => URLImage[];
1151
+ /**
1152
+ * Generates CDNImage object with random data.
1153
+ *
1154
+ * @since 0.5.15
1155
+ * @param {Partial<CDNImage>} overrides Properties to override
1156
+ * a {@link CDNImage}
1157
+ * @param {RandomImageConfig} options image request options{{@link RandomImageConfig}
1158
+ * @returns {CDNImage} A {@link CDNImage} object
1159
+ */
1160
+ declare const buildCDNImage: (overrides?: Partial<CDNImage>, options?: RandomImageConfig) => CDNImage;
1161
+ /**
1162
+ * Generates a list of CDNImage objects with random data.
1163
+ *
1164
+ * @since 0.5.15
1165
+ * @param {number} quantity The number of objects to be generated
1166
+ * @param {RandomImageConfig} options image request options{{@link RandomImageConfig}
1167
+ * @returns {CDNImage[]} An array of CDNImage objects, see {@link CDNImage}
1168
+ */
1169
+ declare const genCDNImages: (quantity?: number, options?: RandomImageConfig) => CDNImage[];
1170
+
1171
+ declare const image_builder_buildCDNImage: typeof buildCDNImage;
1172
+ declare const image_builder_buildURLImage: typeof buildURLImage;
1173
+ declare const image_builder_genCDNImages: typeof genCDNImages;
1174
+ declare const image_builder_genURLImages: typeof genURLImages;
1175
+ declare namespace image_builder {
1176
+ export {
1177
+ image_builder_buildCDNImage as buildCDNImage,
1178
+ image_builder_buildURLImage as buildURLImage,
1179
+ image_builder_genCDNImages as genCDNImages,
1180
+ image_builder_genURLImages as genURLImages,
1181
+ };
1182
+ }
1183
+
1184
+ /**
1185
+ * Generates Notification object with random data.
1186
+ *
1187
+ * @since 0.5.15
1188
+ * @param {Partial<Notification>} overrides Properties to override
1189
+ * a {@link Notification}
1190
+ * @returns {Notification} A {@link Notification} object
1191
+ */
1192
+ declare const buildNotification: (overrides?: Partial<Notification>) => Notification;
1193
+ /**
1194
+ * Generates a list of Notification objects with random data.
1195
+ *
1196
+ * @since 0.5.15
1197
+ * @param {number} quantity The number of objects to be generated
1198
+ * @returns {Notification[]} An array of Notification objects,
1199
+ * see {@link Notification}
1200
+ */
1201
+ declare const genNotifications: (quantity?: number) => Notification[];
1202
+ /**
1203
+ * Generates NotificationUser object with random data.
1204
+ *
1205
+ * @since 0.1.0
1206
+ * @param {Partial<NotificationUser>} overrides Properties to override
1207
+ * a {@link NotificationUser}
1208
+ * @returns {NotificationUser} A {@link NotificationUser} object
1209
+ */
1210
+ declare const buildNotificationUser: (overrides?: Partial<NotificationUser>) => NotificationUser;
1211
+ /**
1212
+ * Generates a list of NotificationUser objects with random data.
1213
+ *
1214
+ * @since 0.1.0
1215
+ * @param {number} quantity The number of objects to be generated
1216
+ * @returns {NotificationUser[]} An array of NotificationUser objects,
1217
+ * see {@link NotificationUser}
1218
+ */
1219
+ declare const genNotificationUsers: (quantity?: number) => NotificationUser[];
1220
+ /**
1221
+ * Generates NotificationStore object with random data.
1222
+ *
1223
+ * @since 0.1.0
1224
+ * @param {Partial<NotificationStore>} overrides Properties to override
1225
+ * a {@link NotificationStore}
1226
+ * @returns {NotificationStore} A {@link NotificationStore} object
1227
+ */
1228
+ declare const buildNotificationStore: (overrides?: Partial<NotificationStore>) => NotificationStore;
1229
+ /**
1230
+ * Generates a list of NotificationStore objects with random data.
1231
+ *
1232
+ * @since 0.1.0
1233
+ * @param {number} quantity The number of objects to be generated
1234
+ * @returns {NotificationStore[]} An array of NotificationStore objects,
1235
+ * see {@link NotificationStore}
1236
+ */
1237
+ declare const genNotificationStores: (quantity?: number) => NotificationStore[];
1238
+ /**
1239
+ * Generates NotificationStep object with random data.
1240
+ *
1241
+ * @since 0.1.0
1242
+ * @param {Partial<NotificationStep>} overrides Properties to override
1243
+ * a {@link NotificationStep}
1244
+ * @returns {NotificationStep} A {@link NotificationStep} object
1245
+ */
1246
+ declare const buildNotificationStep: (overrides?: Partial<NotificationStep>) => NotificationStep;
1247
+ /**
1248
+ * Generates a list of NotificationStep objects with random data.
1249
+ *
1250
+ * @since 0.1.0
1251
+ * @param {number} quantity The number of objects to be generated
1252
+ * @returns {NotificationStep[]} An array of NotificationStep objects,
1253
+ * see {@link NotificationStep}
1254
+ */
1255
+ declare const genNotificationSteps: (quantity?: number) => NotificationStep[];
1256
+ /**
1257
+ * Generates NotificationAdditionalInfo object with random data.
1258
+ *
1259
+ * @since 0.1.0
1260
+ * @param {Partial<NotificationAdditionalInfo>} overrides Properties to override
1261
+ * a {@link NotificationAdditionalInfo}
1262
+ * @returns {NotificationAdditionalInfo} A {@link NotificationAdditionalInfo} object
1263
+ */
1264
+ declare const buildNotificationAdditionalInfo: (overrides?: Partial<NotificationAdditionalInfo>) => NotificationAdditionalInfo;
1265
+ /**
1266
+ * Generates a list of NotificationAdditionalInfo objects with random data.
1267
+ *
1268
+ * @since 0.1.0
1269
+ * @param {number} quantity The number of objects to be generated
1270
+ * @returns {NotificationAdditionalInfo[]} An array of NotificationAdditionalInfo objects,
1271
+ * see {@link NotificationAdditionalInfo}
1272
+ */
1273
+ declare const genNotificationAdditionalInfos: (quantity?: number) => NotificationAdditionalInfo[];
1274
+ /**
1275
+ * Generates NotificationExtraData object with random data.
1276
+ *
1277
+ * @since 0.1.0
1278
+ * @param {Partial<NotificationExtraData>} overrides Properties to override
1279
+ * a {@link NotificationExtraData}
1280
+ * @returns {NotificationExtraData} A {@link NotificationExtraData} object
1281
+ */
1282
+ declare const buildNotificationExtraData: (overrides?: Partial<NotificationExtraData>) => NotificationExtraData;
1283
+ /**
1284
+ * Generates a list of NotificationExtraData objects with random data.
1285
+ *
1286
+ * @since 0.1.0
1287
+ * @param {number} quantity The number of objects to be generated
1288
+ * @returns {NotificationExtraData[]} An array of NotificationExtraData objects,
1289
+ * see {@link NotificationExtraData}
1290
+ */
1291
+ declare const genNotificationExtraDatas: (quantity?: number) => NotificationExtraData[];
1292
+ /**
1293
+ * Generates NotificationListItem object with random data.
1294
+ *
1295
+ * @since 0.1.0
1296
+ * @param {Partial<NotificationListItem>} overrides Properties to override
1297
+ * a {@link NotificationListItem}
1298
+ * @returns {NotificationListItem} A {@link NotificationListItem} object
1299
+ */
1300
+ declare const buildNotificationListItem: (overrides?: Partial<NotificationListItem>) => NotificationListItem;
1301
+ /**
1302
+ * Generates a list of NotificationListItem objects with random data.
1303
+ *
1304
+ * @since 0.1.0
1305
+ * @param {number} quantity The number of objects to be generated
1306
+ * @returns {NotificationListItem[]} An array of NotificationListItem objects,
1307
+ * see {@link NotificationListItem}
1308
+ */
1309
+ declare const genNotificationListItems: (quantity?: number) => NotificationListItem[];
1310
+
1311
+ declare const notification_builder_buildNotification: typeof buildNotification;
1312
+ declare const notification_builder_buildNotificationAdditionalInfo: typeof buildNotificationAdditionalInfo;
1313
+ declare const notification_builder_buildNotificationExtraData: typeof buildNotificationExtraData;
1314
+ declare const notification_builder_buildNotificationListItem: typeof buildNotificationListItem;
1315
+ declare const notification_builder_buildNotificationStep: typeof buildNotificationStep;
1316
+ declare const notification_builder_buildNotificationStore: typeof buildNotificationStore;
1317
+ declare const notification_builder_buildNotificationUser: typeof buildNotificationUser;
1318
+ declare const notification_builder_genNotificationAdditionalInfos: typeof genNotificationAdditionalInfos;
1319
+ declare const notification_builder_genNotificationExtraDatas: typeof genNotificationExtraDatas;
1320
+ declare const notification_builder_genNotificationListItems: typeof genNotificationListItems;
1321
+ declare const notification_builder_genNotificationSteps: typeof genNotificationSteps;
1322
+ declare const notification_builder_genNotificationStores: typeof genNotificationStores;
1323
+ declare const notification_builder_genNotificationUsers: typeof genNotificationUsers;
1324
+ declare const notification_builder_genNotifications: typeof genNotifications;
1325
+ declare namespace notification_builder {
1326
+ export {
1327
+ notification_builder_buildNotification as buildNotification,
1328
+ notification_builder_buildNotificationAdditionalInfo as buildNotificationAdditionalInfo,
1329
+ notification_builder_buildNotificationExtraData as buildNotificationExtraData,
1330
+ notification_builder_buildNotificationListItem as buildNotificationListItem,
1331
+ notification_builder_buildNotificationStep as buildNotificationStep,
1332
+ notification_builder_buildNotificationStore as buildNotificationStore,
1333
+ notification_builder_buildNotificationUser as buildNotificationUser,
1334
+ notification_builder_genNotificationAdditionalInfos as genNotificationAdditionalInfos,
1335
+ notification_builder_genNotificationExtraDatas as genNotificationExtraDatas,
1336
+ notification_builder_genNotificationListItems as genNotificationListItems,
1337
+ notification_builder_genNotificationSteps as genNotificationSteps,
1338
+ notification_builder_genNotificationStores as genNotificationStores,
1339
+ notification_builder_genNotificationUsers as genNotificationUsers,
1340
+ notification_builder_genNotifications as genNotifications,
1341
+ };
1342
+ }
1343
+
1344
+ /**
1345
+ * All values of OrderStatus.
1346
+ *
1347
+ * @since 0.1.0
1348
+ */
1349
+ declare const orderStatusOptions: OrderStatus[];
1350
+ /**
1351
+ * All values of PaymentStatus.
1352
+ *
1353
+ * @since 0.5.4
1354
+ */
1355
+ declare const paymentStatus: PaymentStatus[];
1356
+ /**
1357
+ * All values of Allocation.
1358
+ *
1359
+ * @since 0.1.0
1360
+ */
1361
+ declare const allocationOptions: Allocation[];
1362
+ /**
1363
+ * Generate a sequence identifier with random numbers.
1364
+ *
1365
+ * @since 0.1.0
1366
+ */
1367
+ declare const genSeqId: () => string;
1368
+ /**
1369
+ * Generate a order reference with random data.
1370
+ *
1371
+ * @since 0.1.0
1372
+ */
1373
+ declare const genReference: () => string;
1374
+ /**
1375
+ * Generates BaseOrder object with random data.
1376
+ *
1377
+ * @template T Order additional info
1378
+ * @template U Shopping cart additional info
1379
+ * @template V User additional info
1380
+ * @since 0.1.0
1381
+ * @param {Partial<BaseOrder>} overrides Properties to override
1382
+ * a {@link BaseOrder}
1383
+ * @returns {BaseOrder} A {@link BaseOrder} object
1384
+ */
1385
+ declare const buildBaseOrder: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<BaseOrder<T, U, V>>) => BaseOrder<T, U, V>;
1386
+ /**
1387
+ * Generates a list of BaseOrder objects with random data.
1388
+ *
1389
+ * @template T Orders additional info
1390
+ * @template U Shopping carts additional info
1391
+ * @template V Users additional info
1392
+ * @since 0.1.0
1393
+ * @param {number} quantity The number of objects to be generated
1394
+ * @returns {BaseOrder[]} An array of BaseOrder objects,
1395
+ * see {@link BaseOrder}
1396
+ */
1397
+ declare const genBaseOrders: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(quantity?: number) => BaseOrder<T, U, V>[];
1398
+ /**
1399
+ * Generates OrderDetails object with random data.
1400
+ *
1401
+ * @template T Order additional info
1402
+ * @template U Shopping cart additional info
1403
+ * @template V User additional info
1404
+ * @since 0.1.0
1405
+ * @param {Partial<OrderDetails>} overrides Properties to override
1406
+ * a {@link OrderDetails}
1407
+ * @returns {OrderDetails} A {@link OrderDetails} object
1408
+ */
1409
+ declare const buildOrderDetails: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<OrderDetails<T, U, V>>) => OrderDetails<T, U, V>;
1410
+ /**
1411
+ * Generates a list of OrderDetails objects with random data.
1412
+ *
1413
+ * @template T Orders additional info
1414
+ * @template U Shopping carts additional info
1415
+ * @template V Users additional info
1416
+ * @since 0.1.0
1417
+ * @param {number} quantity The number of objects to be generated
1418
+ * @returns {OrderDetails[]} An array of OrderDetails objects,
1419
+ * see {@link OrderDetails}
1420
+ */
1421
+ declare const genOrderDetails: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(quantity?: number) => OrderDetails<T, U, V>[];
1422
+ /**
1423
+ * Generates OrderStep object with random data.
1424
+ *
1425
+ * @since 0.1.0
1426
+ * @param {Partial<OrderStep>} overrides Properties to override
1427
+ * a {@link OrderStep}
1428
+ * @returns {OrderStep} A {@link OrderStep} object
1429
+ */
1430
+ declare const buildOrderStep: (overrides?: Partial<OrderStep>) => OrderStep;
1431
+ /**
1432
+ * Generates OrderStepAdditionalInfo object with random data.
1433
+ *
1434
+ * @since 0.1.0
1435
+ * @param {Partial<OrderStepAdditionalInfo>} overrides Properties to override
1436
+ * a {@link OrderStepAdditionalInfo}
1437
+ * @returns {OrderStepAdditionalInfo} A
1438
+ * {@link OrderStepAdditionalInfo} object
1439
+ */
1440
+ declare const buildOrderStepAdditionalInfo: (overrides?: Partial<OrderStepAdditionalInfo>) => OrderStepAdditionalInfo;
1441
+ /**
1442
+ * Generates a list of OrderStepAdditionalInfo objects with random data.
1443
+ *
1444
+ * @since 0.1.0
1445
+ * @param {number} quantity The number of objects to be generated
1446
+ * @returns {OrderStepAdditionalInfo[]} An array of
1447
+ * OrderStepAdditionalInfo objects,
1448
+ * see {@link OrderStepAdditionalInfo}
1449
+ */
1450
+ declare const genOrderStepAdditionalInfos: (quantity?: number) => OrderStepAdditionalInfo[];
1451
+ /**
1452
+ * Generates OrderStepAdditionalInfoGroup object with random data.
1453
+ *
1454
+ * @since 0.1.0
1455
+ * @param {Partial<OrderStepAdditionalInfoGroup>} overrides Properties
1456
+ * to override a {@link OrderStepAdditionalInfoGroup}
1457
+ * @returns {OrderStepAdditionalInfoGroup} A
1458
+ * {@link OrderStepAdditionalInfoGroup} object
1459
+ */
1460
+ declare const buildOrderStepAdditionalInfoGroup: (overrides?: Partial<OrderStepAdditionalInfoGroup>) => OrderStepAdditionalInfoGroup;
1461
+ /**
1462
+ * Generates a list of OrderStep objects with random data.
1463
+ *
1464
+ * @since 0.1.0
1465
+ * @param {number} quantity The number of objects to be generated
1466
+ * @returns {OrderStep[]} An array of OrderStep objects,
1467
+ * see {@link OrderStep}
1468
+ */
1469
+ declare const genOrderSteps: (quantity?: number) => OrderStep[];
1470
+ /**
1471
+ * Generates OrderDetailShippingCost object with random data.
1472
+ *
1473
+ * @since 0.1.0
1474
+ * @param {Partial<OrderDetailShippingCost>} overrides Properties to override
1475
+ * a {@link OrderDetailShippingCost}
1476
+ * @returns {OrderDetailShippingCost} A {@link OrderDetailShippingCost} object
1477
+ */
1478
+ declare const buildOrderDetailShippingCost: (overrides?: Partial<OrderDetailShippingCost>) => OrderDetailShippingCost;
1479
+ /**
1480
+ * Generates a list of OrderDetailShippingCost objects with random data.
1481
+ *
1482
+ * @since 0.1.0
1483
+ * @param {number} quantity The number of objects to be generated
1484
+ * @returns {OrderDetailShippingCost[]} An array of OrderDetailShippingCost
1485
+ * objects, see {@link OrderDetailShippingCost}
1486
+ */
1487
+ declare const genOrderDetailShippingCosts: (quantity?: number) => OrderDetailShippingCost[];
1488
+ /**
1489
+ * Generates OrderRetry object with random data.
1490
+ *
1491
+ * @since 0.1.0
1492
+ * @param {Partial<OrderRetry>} overrides Properties to override
1493
+ * a {@link OrderRetry}
1494
+ * @returns {OrderRetry} A {@link OrderRetry} object
1495
+ */
1496
+ declare const buildOrderRetry: (overrides?: Partial<OrderRetry>) => OrderRetry;
1497
+ /**
1498
+ * Generates Status object with random data.
1499
+ *
1500
+ * @since 0.1.0
1501
+ * @param {Partial<Status>} overrides Properties to override
1502
+ * a {@link Status}
1503
+ * @returns {Status} A {@link Status} object
1504
+ */
1505
+ declare const buildStatus: (overrides?: Partial<Status>) => Status;
1506
+ /**
1507
+ * Generates a list of Status objects with random data.
1508
+ *
1509
+ * @since 0.1.0
1510
+ * @param {number} quantity The number of objects to be generated
1511
+ * @returns {Status[]} An array of Status objects,
1512
+ * see {@link Status}
1513
+ */
1514
+ declare const genStatus: (quantity?: number) => Status[];
1515
+ /**
1516
+ * Generates a list of OrderRetry objects with random data.
1517
+ *
1518
+ * @since 0.1.0
1519
+ * @param {number} quantity The number of objects to be generated
1520
+ * @returns {OrderRetry[]} An array of OrderRetry objects,
1521
+ * see {@link OrderRetry}
1522
+ */
1523
+ declare const genOrderRetries: (quantity?: number) => OrderRetry[];
1524
+ /**
1525
+ * Generates OrderPaymentMethod object with random data.
1526
+ *
1527
+ * @since 0.1.0
1528
+ * @param {Partial<OrderPaymentMethod>} overrides Properties to override
1529
+ * a {@link OrderPaymentMethod}
1530
+ * @returns {OrderPaymentMethod} A {@link OrderPaymentMethod} object
1531
+ */
1532
+ declare const buildOrderPaymentMethod: (overrides?: Partial<OrderPaymentMethod>) => OrderPaymentMethod;
1533
+ /**
1534
+ * Generates a list of OrderPaymentMethod objects with random data.
1535
+ *
1536
+ * @since 0.1.0
1537
+ * @param {number} quantity The number of objects to be generated
1538
+ * @returns {OrderPaymentMethod[]} An array of OrderPaymentMethod
1539
+ * objects, see {@link OrderPaymentMethod}
1540
+ */
1541
+ declare const genOrderPaymentMethods: (quantity?: number) => OrderPaymentMethod[];
1542
+ /**
1543
+ * Generates OrderShoppingCart object with random data.
1544
+ *
1545
+ * @since 0.1.0
1546
+ * @param {Partial<OrderShoppingCart>} overrides Properties to override
1547
+ * a {@link OrderShoppingCart}
1548
+ * @returns {OrderShoppingCart} A {@link OrderShoppingCart} object
1549
+ */
1550
+ declare const buildOrderShoppingCart: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<OrderShoppingCart<T>>) => OrderShoppingCart<T>;
1551
+ /**
1552
+ * Generates OrderStoreAdditionalInfo object with random data.
1553
+ *
1554
+ * @since 0.1.0
1555
+ * @param {Partial<OrderStoreAdditionalInfo>} overrides Properties to override
1556
+ * a {@link OrderStoreAdditionalInfo}
1557
+ * @returns {OrderStoreAdditionalInfo} A {@link OrderStoreAdditionalInfo} object
1558
+ */
1559
+ declare const buildOrderStoreAdditionalInfo: (overrides?: Partial<OrderStoreAdditionalInfo>) => OrderStoreAdditionalInfo;
1560
+ /**
1561
+ * Generates a list of OrderStoreAdditionalInfo objects with random data.
1562
+ *
1563
+ * @since 0.1.0
1564
+ * @param {number} quantity The number of objects to be generated
1565
+ * @returns {OrderStoreAdditionalInfo[]} An array of OrderStoreAdditionalInfo objects,
1566
+ * see {@link OrderStoreAdditionalInfo}
1567
+ */
1568
+ declare const genOrderStoreAdditionalInfos: (quantity?: number) => OrderStoreAdditionalInfo[];
1569
+ /**
1570
+ * Generates OrderStoreDelivery object with random data.
1571
+ *
1572
+ * @since 0.1.0
1573
+ * @param {Partial<OrderStoreDelivery>} overrides Properties to override
1574
+ * a {@link OrderStoreDelivery}
1575
+ * @returns {OrderStoreDelivery} A {@link OrderStoreDelivery} object
1576
+ */
1577
+ declare const buildOrderStoreDelivery: (overrides?: Partial<OrderStoreDelivery>) => OrderStoreDelivery;
1578
+ /**
1579
+ * Generates a list of OrderStoreDelivery objects with random data.
1580
+ *
1581
+ * @since 0.1.0
1582
+ * @param {number} quantity The number of objects to be generated
1583
+ * @returns {OrderStoreDelivery[]} An array of OrderStoreDelivery objects,
1584
+ * see {@link OrderStoreDelivery}
1585
+ */
1586
+ declare const genOrderStoreDeliveries: (quantity?: number) => OrderStoreDelivery[];
1587
+ /**
1588
+ * Generates OrderStore object with random data.
1589
+ *
1590
+ * @since 0.1.0
1591
+ * @param {Partial<OrderStore>} overrides Properties to override
1592
+ * a {@link OrderStore}
1593
+ * @returns {OrderStore} A {@link OrderStore} object
1594
+ */
1595
+ declare const buildOrderStore: (overrides?: Partial<OrderStore>) => OrderStore;
1596
+ /**
1597
+ * Generates a list of OrderStore objects with random data.
1598
+ *
1599
+ * @since 0.1.0
1600
+ * @param {number} quantity The number of objects to be generated
1601
+ * @returns {OrderStore[]} An array of OrderStore objects,
1602
+ * see {@link OrderStore}
1603
+ */
1604
+ declare const genOrderStores: (quantity?: number) => OrderStore[];
1605
+ /**
1606
+ * Generates OrderProductAttributes object with random data.
1607
+ *
1608
+ * @since 0.1.0
1609
+ * @param {Partial<OrderProductAttributes>} overrides Properties to override
1610
+ * a {@link OrderProductAttributes}
1611
+ * @returns {OrderProductAttributes} A {@link OrderProductAttributes} object
1612
+ */
1613
+ declare const buildOrderProductAttributes: (overrides?: Partial<OrderProductAttributes>) => OrderProductAttributes;
1614
+ /**
1615
+ * Generates a list of OrderProductAttributes objects with random data.
1616
+ *
1617
+ * @since 0.1.0
1618
+ * @param {number} quantity The number of objects to be generated
1619
+ * @returns {OrderProductAttributes[]} An array of OrderProductAttributes
1620
+ * objects, see {@link OrderProductAttributes}
1621
+ */
1622
+ declare const genOrderProductAttributes: (quantity?: number) => OrderProductAttributes[];
1623
+ /**
1624
+ * Generates OrderProductAdditionalInfo object with random data.
1625
+ *
1626
+ * @since 0.1.0
1627
+ * @param {Partial<OrderProductAdditionalInfo>} overrides Properties to override
1628
+ * a {@link OrderProductAdditionalInfo}
1629
+ * @returns {OrderProductAdditionalInfo} A {@link OrderProductAdditionalInfo}
1630
+ * object
1631
+ */
1632
+ declare const buildOrderProductAdditionalInfo: (overrides?: Partial<OrderProductAdditionalInfo>) => OrderProductAdditionalInfo;
1633
+ /**
1634
+ * Generates a list of OrderProductAdditionalInfo objects with random data.
1635
+ *
1636
+ * @since 0.1.0
1637
+ * @param {number} quantity The number of objects to be generated
1638
+ * @returns {OrderProductAdditionalInfo[]} An array of
1639
+ * OrderProductAdditionalInfo objects, see {@link OrderProductAdditionalInfo}
1640
+ */
1641
+ declare const genOrderProductAdditionalInfos: (quantity?: number) => OrderProductAdditionalInfo[];
1642
+ /**
1643
+ * Generates OrderProductImage object with random data.
1644
+ *
1645
+ * @since 0.1.0
1646
+ * @param {Partial<OrderProductImage>} overrides Properties to override
1647
+ * a {@link OrderProductImage}
1648
+ * @returns {OrderProductImage} A {@link OrderProductImage} object
1649
+ */
1650
+ declare const buildOrderProductImage: (overrides?: Partial<OrderProductImage>) => OrderProductImage;
1651
+ /**
1652
+ * Generates a list of OrderProductImage objects with random data.
1653
+ *
1654
+ * @since 0.1.0
1655
+ * @param {number} quantity The number of objects to be generated
1656
+ * @returns {OrderProductImage[]} An array of OrderProductImage objects,
1657
+ * see {@link OrderProductImage}
1658
+ */
1659
+ declare const genOrderProductImages: (quantity?: number) => OrderProductImage[];
1660
+ /**
1661
+ * Generates OrderBillProductAdditionalInfo object with random data.
1662
+ *
1663
+ * @since 0.1.0
1664
+ * @param {Partial<OrderBillProductAdditionalInfo>} overrides Properties to
1665
+ * override a {@link OrderBillProductAdditionalInfo}
1666
+ * @returns {OrderBillProductAdditionalInfo} A
1667
+ * {@link OrderBillProductAdditionalInfo} object
1668
+ */
1669
+ declare const buildOrderBillProductAdditionalInfo: (overrides?: Partial<OrderBillProductAdditionalInfo>) => OrderBillProductAdditionalInfo;
1670
+ /**
1671
+ * Generates TaxCalculation object with random data.
1672
+ *
1673
+ * @since 0.1.0
1674
+ * @param {Partial<TaxCalculation>} overrides Properties to override
1675
+ * a {@link TaxCalculation}
1676
+ * @returns {TaxCalculation} A {@link TaxCalculation} object
1677
+ */
1678
+ declare const buildTaxCalculation: (overrides?: Partial<TaxCalculation>) => TaxCalculation;
1679
+ /**
1680
+ * Generates a list of TaxCalculation objects with random data.
1681
+ *
1682
+ * @since 0.1.0
1683
+ * @param {number} quantity The number of objects to be generated
1684
+ * @returns {TaxCalculation[]} An array of TaxCalculation objects,
1685
+ * see {@link TaxCalculation}
1686
+ */
1687
+ declare const genTaxCalculations: (quantity?: number) => TaxCalculation[];
1688
+ /**
1689
+ * Generates TaxCalculations object with random data.
1690
+ *
1691
+ * @since 0.1.0
1692
+ * @param {Partial<TaxCalculations>} overrides Properties to override
1693
+ * a {@link TaxCalculations}
1694
+ * @returns {TaxCalculations} A {@link TaxCalculations} object
1695
+ */
1696
+ declare const buildTaxCalculations: (overrides?: Partial<TaxCalculations>) => TaxCalculations;
1697
+ /**
1698
+ * Generates OrderProductPriceCategory object with random data.
1699
+ *
1700
+ * @since 0.1.0
1701
+ * @param {Partial<OrderProductPriceCategory>} overrides Properties to override
1702
+ * a {@link OrderProductPriceCategory}
1703
+ * @returns {OrderProductPriceCategory} A {@link OrderProductPriceCategory}
1704
+ * object
1705
+ */
1706
+ declare const buildOrderProductPriceCategory: (overrides?: Partial<OrderProductPriceCategory>) => OrderProductPriceCategory;
1707
+ /**
1708
+ * Generates a list of OrderProductPriceCategory objects with random data.
1709
+ *
1710
+ * @since 0.1.0
1711
+ * @param {number} quantity The number of objects to be generated
1712
+ * @returns {OrderProductPriceCategory[]} An array of OrderProductPriceCategory
1713
+ * objects, see {@link OrderProductPriceCategory}
1714
+ */
1715
+ declare const genOrderProductPriceCategories: (quantity?: number) => OrderProductPriceCategory[];
1716
+ /**
1717
+ * Generates OrderProduct object with random data.
1718
+ *
1719
+ * @since 0.1.0
1720
+ * @param {Partial<OrderProduct>} overrides Properties to override
1721
+ * a {@link OrderProduct}
1722
+ * @returns {OrderProduct} A {@link OrderProduct} object
1723
+ */
1724
+ declare const buildOrderProduct: (overrides?: Partial<OrderProduct>) => OrderProduct;
1725
+ /**
1726
+ * Generates a list of OrderProduct objects with random data.
1727
+ *
1728
+ * @since 0.1.0
1729
+ * @param {number} quantity The number of objects to be generated
1730
+ * @returns {OrderProduct[]} An array of OrderProduct objects,
1731
+ * see {@link OrderProduct}
1732
+ */
1733
+ declare const genOrderProducts: (quantity?: number) => OrderProduct[];
1734
+ /**
1735
+ * Generates OrderBillProduct object with random data.
1736
+ *
1737
+ * @since 0.1.0
1738
+ * @param {Partial<OrderBillProduct>} overrides Properties to override
1739
+ * a {@link OrderBillProduct}
1740
+ * @returns {OrderBillProduct} A {@link OrderBillProduct} object
1741
+ */
1742
+ declare const buildOrderBillProduct: (overrides?: Partial<OrderBillProduct>) => OrderBillProduct;
1743
+ /**
1744
+ * Generates OrderProductBillTotal object with random data.
1745
+ *
1746
+ * @since 0.1.0
1747
+ * @param {Partial<OrderProductBillTotal>} overrides Properties to override
1748
+ * a {@link OrderProductBillTotal}
1749
+ * @returns {OrderProductBillTotal} A {@link OrderProductBillTotal} object
1750
+ */
1751
+ declare const buildOrderProductBillTotal: (overrides?: Partial<OrderProductBillTotal>) => OrderProductBillTotal;
1752
+ /**
1753
+ * Generates OrderBillTotal object with random data.
1754
+ *
1755
+ * @since 0.1.0
1756
+ * @param {Partial<OrderBillTotal>} overrides Properties to override
1757
+ * a {@link OrderBillTotal}
1758
+ * @returns {OrderBillTotal} A {@link OrderBillTotal} object
1759
+ */
1760
+ declare const buildOrderBillTotal: (overrides?: Partial<OrderBillTotal>) => OrderBillTotal;
1761
+ /**
1762
+ * Generates a list of OrderShoppingCart objects with random data.
1763
+ *
1764
+ * @since 0.1.0
1765
+ * @param {number} quantity The number of objects to be generated
1766
+ * @returns {OrderShoppingCart[]} An array of OrderShoppingCart objects,
1767
+ * see {@link OrderShoppingCart}
1768
+ */
1769
+ declare const genOrderShoppingCarts: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => OrderShoppingCart<T>[];
1770
+ /**
1771
+ * Generates MetadataShipping object with random data.
1772
+ *
1773
+ * @since 0.1.0
1774
+ * @param {Partial<MetadataShipping>} overrides Properties to override
1775
+ * a {@link MetadataShipping}
1776
+ * @returns {MetadataShipping} A {@link MetadataShipping} object
1777
+ */
1778
+ declare const buildMetadataShipping: (overrides?: Partial<MetadataShipping>) => MetadataShipping;
1779
+ /**
1780
+ * Generates a list of MetadataShipping objects with random data.
1781
+ *
1782
+ * @since 0.1.0
1783
+ * @param {number} quantity The number of objects to be generated
1784
+ * @returns {MetadataShipping[]} An array of MetadataShipping objects,
1785
+ * see {@link MetadataShipping}
1786
+ */
1787
+ declare const genMetadataShippings: (quantity?: number) => MetadataShipping[];
1788
+ /**
1789
+ * Generates BaseField object with random data.
1790
+ *
1791
+ * @since 0.1.0
1792
+ * @param {Partial<BaseField>} overrides Properties to override
1793
+ * a {@link BaseField}
1794
+ * @returns {BaseField} A {@link BaseField} object
1795
+ */
1796
+ declare const buildBaseField: (overrides?: Partial<BaseField>) => BaseField;
1797
+ /**
1798
+ * Generates a list of BaseField objects with random data.
1799
+ *
1800
+ * @since 0.1.0
1801
+ * @param {number} quantity The number of objects to be generated
1802
+ * @returns {BaseField[]} An array of BaseField objects,
1803
+ * see {@link BaseField}
1804
+ */
1805
+ declare const genBaseFields: (quantity?: number) => BaseField[];
1806
+ /**
1807
+ * Generates ZipCodeField object with random data.
1808
+ *
1809
+ * @since 0.1.0
1810
+ * @param {Partial<ZipCodeField>} overrides Properties to override
1811
+ * a {@link ZipCodeField}
1812
+ * @returns {ZipCodeField} A {@link ZipCodeField} object
1813
+ */
1814
+ declare const buildZipCodeField: (overrides?: Partial<ZipCodeField>) => ZipCodeField;
1815
+ /**
1816
+ * Generates a list of ZipCodeField objects with random data.
1817
+ *
1818
+ * @since 0.1.0
1819
+ * @param {number} quantity The number of objects to be generated
1820
+ * @returns {ZipCodeField[]} An array of ZipCodeField objects,
1821
+ * see {@link ZipCodeField}
1822
+ */
1823
+ declare const genZipCodeFields: (quantity?: number) => ZipCodeField[];
1824
+ /**
1825
+ * Generates IntegrationMessage object with random data.
1826
+ *
1827
+ * @since 0.1.0
1828
+ * @param {Partial<IntegrationMessage>} overrides Properties to override
1829
+ * a {@link IntegrationMessage}
1830
+ * @returns {IntegrationMessage} A {@link IntegrationMessage} object
1831
+ */
1832
+ declare const buildIntegrationMessage: (overrides?: Partial<IntegrationMessage>) => IntegrationMessage;
1833
+ /**
1834
+ * Generates a list of IntegrationMessage objects with random data.
1835
+ *
1836
+ * @since 0.1.0
1837
+ * @param {number} quantity The number of objects to be generated
1838
+ * @returns {IntegrationMessage[]} An array of IntegrationMessage objects,
1839
+ * see {@link IntegrationMessage}
1840
+ */
1841
+ declare const genIntegrationMessages: (quantity?: number) => IntegrationMessage[];
1842
+ /**
1843
+ * Generates InjectionDetail object with random data.
1844
+ *
1845
+ * @since 0.1.0
1846
+ * @param {Partial<InjectionDetail>} overrides Properties to override
1847
+ * a {@link InjectionDetail}
1848
+ * @returns {InjectionDetail} A {@link InjectionDetail} object
1849
+ */
1850
+ declare const buildInjectionDetail: (overrides?: Partial<InjectionDetail>) => InjectionDetail;
1851
+ /**
1852
+ * Generates a list of InjectionDetail objects with random data.
1853
+ *
1854
+ * @since 0.1.0
1855
+ * @param {number} quantity The number of objects to be generated
1856
+ * @returns {InjectionDetail[]} An array of InjectionDetail objects,
1857
+ * see {@link InjectionDetail}
1858
+ */
1859
+ declare const genInjectionDetails: (quantity?: number) => InjectionDetail[];
1860
+ /**
1861
+ * Generates OrderUser object with random data.
1862
+ *
1863
+ * @since 0.1.0
1864
+ * @param {Partial<OrderUser>} overrides Properties to override
1865
+ * a {@link OrderUser}
1866
+ * @returns {OrderUser} A {@link OrderUser} object
1867
+ */
1868
+ declare const buildOrderUser: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<OrderUser<T>>) => OrderUser<T>;
1869
+ /**
1870
+ * Generates a list of OrderUser objects with random data.
1871
+ *
1872
+ * @since 0.1.0
1873
+ * @param {number} quantity The number of objects to be generated
1874
+ * @returns {OrderUser[]} An array of OrderUser objects,
1875
+ * see {@link OrderUser}
1876
+ */
1877
+ declare const genOrderUsers: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => OrderUser<T>[];
1878
+ /**
1879
+ * Generates OperatorInformation object with random data.
1880
+ *
1881
+ * @param {Partial<OperatorInformation>} overrides Properties to override
1882
+ * a {@link OperatorInformation}
1883
+ * @returns {OperatorInformation} A {@link OperatorInformation} object
1884
+ */
1885
+ declare const buildOperatorInformation: (overrides?: Partial<OperatorInformation>) => OperatorInformation;
1886
+ /**
1887
+ * Generates a list of OperatorInformation objects with random data.
1888
+ *
1889
+ * @param {number} quantity The number of objects to be generated
1890
+ * @returns {OperatorInformation[]} An array of OperatorInformation objects,
1891
+ * see {@link OperatorInformation}
1892
+ */
1893
+ declare const genOperatorInformation: (quantity?: number) => OperatorInformation[];
1894
+ /**
1895
+ * Generates Suborder object with random data.
1896
+ *
1897
+ * @since 0.1.0
1898
+ * @param {Partial<Suborder>} overrides Properties to override
1899
+ * a {@link Suborder}
1900
+ * @returns {Suborder} A {@link Suborder} object
1901
+ */
1902
+ declare const buildSuborder: (overrides?: Partial<Suborder>) => Suborder;
1903
+ /**
1904
+ * Generates a list of Suborder objects with random data.
1905
+ *
1906
+ * @since 0.1.0
1907
+ * @param {number} quantity The number of objects to be generated
1908
+ * @returns {Suborder[]} An array of Suborder objects,
1909
+ * see {@link Suborder}
1910
+ */
1911
+ declare const genSuborders: (quantity?: number) => Suborder[];
1912
+ /**
1913
+ * Generates PaymentMethodByOrder object with random data.
1914
+ *
1915
+ * @since 0.1.0
1916
+ * @param {Partial<PaymentMethodByOrder>} overrides Properties to override
1917
+ * a {@link PaymentMethodByOrder}
1918
+ * @returns {PaymentMethodByOrder} A {@link PaymentMethodByOrder} object
1919
+ */
1920
+ declare const buildPaymentMethodByOrder: (overrides?: Partial<PaymentMethodByOrder>) => PaymentMethodByOrder;
1921
+ /**
1922
+ * Generates a list of PaymentMethodByOrder objects with random data.
1923
+ *
1924
+ * @since 0.1.0
1925
+ * @param {number} quantity The number of objects to be generated
1926
+ * @returns {PaymentMethodByOrder[]} An array of PaymentMethodByOrder objects,
1927
+ * see {@link PaymentMethodByOrder}
1928
+ */
1929
+ declare const genPaymentMethodByOrders: (quantity?: number) => PaymentMethodByOrder[];
1930
+ /**
1931
+ * Generates OrderRetryPaymentMethod object with random data.
1932
+ *
1933
+ * @since 0.1.0
1934
+ * @param {Partial<OrderRetryPaymentMethod>} overrides Properties to override
1935
+ * a {@link OrderRetryPaymentMethod}
1936
+ * @returns {OrderRetryPaymentMethod} A {@link OrderRetryPaymentMethod} object
1937
+ */
1938
+ declare const buildOrderRetryPaymentMethod: (overrides?: Partial<OrderRetryPaymentMethod>) => OrderRetryPaymentMethod;
1939
+ /**
1940
+ * Generates a list of OrderRetryPaymentMethod objects with random data.
1941
+ *
1942
+ * @since 0.1.0
1943
+ * @param {number} quantity The number of objects to be generated
1944
+ * @returns {OrderRetryPaymentMethod[]} An array of
1945
+ * OrderRetryPaymentMethod objects, see {@link OrderRetryPaymentMethod}
1946
+ */
1947
+ declare const genOrderRetryPaymentMethods: (quantity?: number) => OrderRetryPaymentMethod[];
1948
+
1949
+ declare const order_builder_allocationOptions: typeof allocationOptions;
1950
+ declare const order_builder_buildBaseField: typeof buildBaseField;
1951
+ declare const order_builder_buildBaseOrder: typeof buildBaseOrder;
1952
+ declare const order_builder_buildInjectionDetail: typeof buildInjectionDetail;
1953
+ declare const order_builder_buildIntegrationMessage: typeof buildIntegrationMessage;
1954
+ declare const order_builder_buildMetadataShipping: typeof buildMetadataShipping;
1955
+ declare const order_builder_buildOperatorInformation: typeof buildOperatorInformation;
1956
+ declare const order_builder_buildOrderBillProduct: typeof buildOrderBillProduct;
1957
+ declare const order_builder_buildOrderBillProductAdditionalInfo: typeof buildOrderBillProductAdditionalInfo;
1958
+ declare const order_builder_buildOrderBillTotal: typeof buildOrderBillTotal;
1959
+ declare const order_builder_buildOrderDetailShippingCost: typeof buildOrderDetailShippingCost;
1960
+ declare const order_builder_buildOrderDetails: typeof buildOrderDetails;
1961
+ declare const order_builder_buildOrderPaymentMethod: typeof buildOrderPaymentMethod;
1962
+ declare const order_builder_buildOrderProduct: typeof buildOrderProduct;
1963
+ declare const order_builder_buildOrderProductAdditionalInfo: typeof buildOrderProductAdditionalInfo;
1964
+ declare const order_builder_buildOrderProductAttributes: typeof buildOrderProductAttributes;
1965
+ declare const order_builder_buildOrderProductBillTotal: typeof buildOrderProductBillTotal;
1966
+ declare const order_builder_buildOrderProductImage: typeof buildOrderProductImage;
1967
+ declare const order_builder_buildOrderProductPriceCategory: typeof buildOrderProductPriceCategory;
1968
+ declare const order_builder_buildOrderRetry: typeof buildOrderRetry;
1969
+ declare const order_builder_buildOrderRetryPaymentMethod: typeof buildOrderRetryPaymentMethod;
1970
+ declare const order_builder_buildOrderShoppingCart: typeof buildOrderShoppingCart;
1971
+ declare const order_builder_buildOrderStep: typeof buildOrderStep;
1972
+ declare const order_builder_buildOrderStepAdditionalInfo: typeof buildOrderStepAdditionalInfo;
1973
+ declare const order_builder_buildOrderStepAdditionalInfoGroup: typeof buildOrderStepAdditionalInfoGroup;
1974
+ declare const order_builder_buildOrderStore: typeof buildOrderStore;
1975
+ declare const order_builder_buildOrderStoreAdditionalInfo: typeof buildOrderStoreAdditionalInfo;
1976
+ declare const order_builder_buildOrderStoreDelivery: typeof buildOrderStoreDelivery;
1977
+ declare const order_builder_buildOrderUser: typeof buildOrderUser;
1978
+ declare const order_builder_buildPaymentMethodByOrder: typeof buildPaymentMethodByOrder;
1979
+ declare const order_builder_buildStatus: typeof buildStatus;
1980
+ declare const order_builder_buildSuborder: typeof buildSuborder;
1981
+ declare const order_builder_buildTaxCalculation: typeof buildTaxCalculation;
1982
+ declare const order_builder_buildTaxCalculations: typeof buildTaxCalculations;
1983
+ declare const order_builder_buildZipCodeField: typeof buildZipCodeField;
1984
+ declare const order_builder_genBaseFields: typeof genBaseFields;
1985
+ declare const order_builder_genBaseOrders: typeof genBaseOrders;
1986
+ declare const order_builder_genInjectionDetails: typeof genInjectionDetails;
1987
+ declare const order_builder_genIntegrationMessages: typeof genIntegrationMessages;
1988
+ declare const order_builder_genMetadataShippings: typeof genMetadataShippings;
1989
+ declare const order_builder_genOperatorInformation: typeof genOperatorInformation;
1990
+ declare const order_builder_genOrderDetailShippingCosts: typeof genOrderDetailShippingCosts;
1991
+ declare const order_builder_genOrderDetails: typeof genOrderDetails;
1992
+ declare const order_builder_genOrderPaymentMethods: typeof genOrderPaymentMethods;
1993
+ declare const order_builder_genOrderProductAdditionalInfos: typeof genOrderProductAdditionalInfos;
1994
+ declare const order_builder_genOrderProductAttributes: typeof genOrderProductAttributes;
1995
+ declare const order_builder_genOrderProductImages: typeof genOrderProductImages;
1996
+ declare const order_builder_genOrderProductPriceCategories: typeof genOrderProductPriceCategories;
1997
+ declare const order_builder_genOrderProducts: typeof genOrderProducts;
1998
+ declare const order_builder_genOrderRetries: typeof genOrderRetries;
1999
+ declare const order_builder_genOrderRetryPaymentMethods: typeof genOrderRetryPaymentMethods;
2000
+ declare const order_builder_genOrderShoppingCarts: typeof genOrderShoppingCarts;
2001
+ declare const order_builder_genOrderStepAdditionalInfos: typeof genOrderStepAdditionalInfos;
2002
+ declare const order_builder_genOrderSteps: typeof genOrderSteps;
2003
+ declare const order_builder_genOrderStoreAdditionalInfos: typeof genOrderStoreAdditionalInfos;
2004
+ declare const order_builder_genOrderStoreDeliveries: typeof genOrderStoreDeliveries;
2005
+ declare const order_builder_genOrderStores: typeof genOrderStores;
2006
+ declare const order_builder_genOrderUsers: typeof genOrderUsers;
2007
+ declare const order_builder_genPaymentMethodByOrders: typeof genPaymentMethodByOrders;
2008
+ declare const order_builder_genReference: typeof genReference;
2009
+ declare const order_builder_genSeqId: typeof genSeqId;
2010
+ declare const order_builder_genStatus: typeof genStatus;
2011
+ declare const order_builder_genSuborders: typeof genSuborders;
2012
+ declare const order_builder_genTaxCalculations: typeof genTaxCalculations;
2013
+ declare const order_builder_genZipCodeFields: typeof genZipCodeFields;
2014
+ declare const order_builder_orderStatusOptions: typeof orderStatusOptions;
2015
+ declare const order_builder_paymentStatus: typeof paymentStatus;
2016
+ declare namespace order_builder {
2017
+ export {
2018
+ order_builder_allocationOptions as allocationOptions,
2019
+ order_builder_buildBaseField as buildBaseField,
2020
+ order_builder_buildBaseOrder as buildBaseOrder,
2021
+ order_builder_buildInjectionDetail as buildInjectionDetail,
2022
+ order_builder_buildIntegrationMessage as buildIntegrationMessage,
2023
+ order_builder_buildMetadataShipping as buildMetadataShipping,
2024
+ order_builder_buildOperatorInformation as buildOperatorInformation,
2025
+ order_builder_buildOrderBillProduct as buildOrderBillProduct,
2026
+ order_builder_buildOrderBillProductAdditionalInfo as buildOrderBillProductAdditionalInfo,
2027
+ order_builder_buildOrderBillTotal as buildOrderBillTotal,
2028
+ order_builder_buildOrderDetailShippingCost as buildOrderDetailShippingCost,
2029
+ order_builder_buildOrderDetails as buildOrderDetails,
2030
+ order_builder_buildOrderPaymentMethod as buildOrderPaymentMethod,
2031
+ order_builder_buildOrderProduct as buildOrderProduct,
2032
+ order_builder_buildOrderProductAdditionalInfo as buildOrderProductAdditionalInfo,
2033
+ order_builder_buildOrderProductAttributes as buildOrderProductAttributes,
2034
+ order_builder_buildOrderProductBillTotal as buildOrderProductBillTotal,
2035
+ order_builder_buildOrderProductImage as buildOrderProductImage,
2036
+ order_builder_buildOrderProductPriceCategory as buildOrderProductPriceCategory,
2037
+ order_builder_buildOrderRetry as buildOrderRetry,
2038
+ order_builder_buildOrderRetryPaymentMethod as buildOrderRetryPaymentMethod,
2039
+ order_builder_buildOrderShoppingCart as buildOrderShoppingCart,
2040
+ order_builder_buildOrderStep as buildOrderStep,
2041
+ order_builder_buildOrderStepAdditionalInfo as buildOrderStepAdditionalInfo,
2042
+ order_builder_buildOrderStepAdditionalInfoGroup as buildOrderStepAdditionalInfoGroup,
2043
+ order_builder_buildOrderStore as buildOrderStore,
2044
+ order_builder_buildOrderStoreAdditionalInfo as buildOrderStoreAdditionalInfo,
2045
+ order_builder_buildOrderStoreDelivery as buildOrderStoreDelivery,
2046
+ order_builder_buildOrderUser as buildOrderUser,
2047
+ order_builder_buildPaymentMethodByOrder as buildPaymentMethodByOrder,
2048
+ order_builder_buildStatus as buildStatus,
2049
+ order_builder_buildSuborder as buildSuborder,
2050
+ order_builder_buildTaxCalculation as buildTaxCalculation,
2051
+ order_builder_buildTaxCalculations as buildTaxCalculations,
2052
+ order_builder_buildZipCodeField as buildZipCodeField,
2053
+ order_builder_genBaseFields as genBaseFields,
2054
+ order_builder_genBaseOrders as genBaseOrders,
2055
+ order_builder_genInjectionDetails as genInjectionDetails,
2056
+ order_builder_genIntegrationMessages as genIntegrationMessages,
2057
+ order_builder_genMetadataShippings as genMetadataShippings,
2058
+ order_builder_genOperatorInformation as genOperatorInformation,
2059
+ order_builder_genOrderDetailShippingCosts as genOrderDetailShippingCosts,
2060
+ order_builder_genOrderDetails as genOrderDetails,
2061
+ order_builder_genOrderPaymentMethods as genOrderPaymentMethods,
2062
+ order_builder_genOrderProductAdditionalInfos as genOrderProductAdditionalInfos,
2063
+ order_builder_genOrderProductAttributes as genOrderProductAttributes,
2064
+ order_builder_genOrderProductImages as genOrderProductImages,
2065
+ order_builder_genOrderProductPriceCategories as genOrderProductPriceCategories,
2066
+ order_builder_genOrderProducts as genOrderProducts,
2067
+ order_builder_genOrderRetries as genOrderRetries,
2068
+ order_builder_genOrderRetryPaymentMethods as genOrderRetryPaymentMethods,
2069
+ order_builder_genOrderShoppingCarts as genOrderShoppingCarts,
2070
+ order_builder_genOrderStepAdditionalInfos as genOrderStepAdditionalInfos,
2071
+ order_builder_genOrderSteps as genOrderSteps,
2072
+ order_builder_genOrderStoreAdditionalInfos as genOrderStoreAdditionalInfos,
2073
+ order_builder_genOrderStoreDeliveries as genOrderStoreDeliveries,
2074
+ order_builder_genOrderStores as genOrderStores,
2075
+ order_builder_genOrderUsers as genOrderUsers,
2076
+ order_builder_genPaymentMethodByOrders as genPaymentMethodByOrders,
2077
+ order_builder_genReference as genReference,
2078
+ order_builder_genSeqId as genSeqId,
2079
+ order_builder_genStatus as genStatus,
2080
+ order_builder_genSuborders as genSuborders,
2081
+ order_builder_genTaxCalculations as genTaxCalculations,
2082
+ order_builder_genZipCodeFields as genZipCodeFields,
2083
+ order_builder_orderStatusOptions as orderStatusOptions,
2084
+ order_builder_paymentStatus as paymentStatus,
2085
+ };
2086
+ }
2087
+
2088
+ /**
2089
+ * Generates BasePaymentMethod object with random data.
2090
+ *
2091
+ * @since 0.5.15
2092
+ * @param {Partial<BasePaymentMethod>} overrides Properties to override
2093
+ * a {@link BasePaymentMethod}
2094
+ * @returns {BasePaymentMethod} A {@link BasePaymentMethod} object
2095
+ */
2096
+ declare const buildBasePaymentMethod: (overrides?: Partial<BasePaymentMethod>) => BasePaymentMethod;
2097
+ /**
2098
+ * Generates a list of BasePaymentMethod objects with random data.
2099
+ *
2100
+ * @since 0.5.15
2101
+ * @param {number} quantity The number of objects to be generated
2102
+ * @returns {BasePaymentMethod[]} An array of BasePaymentMethod objects,
2103
+ * see {@link BasePaymentMethod}
2104
+ */
2105
+ declare const genBasePaymentMethods: (quantity?: number) => BasePaymentMethod[];
2106
+ /**
2107
+ * Generates PaymentMethod object with random data.
2108
+ *
2109
+ * @since 0.5.15
2110
+ * @param {Partial<PaymentMethod>} overrides Properties to override
2111
+ * a {@link PaymentMethod}
2112
+ * @returns {PaymentMethod} A {@link PaymentMethod} object
2113
+ */
2114
+ declare const buildPaymentMethod: (overrides?: Partial<PaymentMethod>) => PaymentMethod;
2115
+ /**
2116
+ * Generates a list of PaymentMethod objects with random data.
2117
+ *
2118
+ * @since 0.5.15
2119
+ * @param {number} quantity The number of objects to be generated
2120
+ * @returns {PaymentMethod[]} An array of PaymentMethod objects,
2121
+ * see {@link PaymentMethod}
2122
+ */
2123
+ declare const genPaymentMethods: (quantity?: number) => PaymentMethod[];
2124
+ /**
2125
+ * Generates PaymentProvider object with random data.
2126
+ *
2127
+ * @since 0.5.15
2128
+ * @param {Partial<PaymentProvider>} overrides Properties to override
2129
+ * a {@link PaymentProvider}
2130
+ * @returns {PaymentProvider} A {@link PaymentProvider} object
2131
+ */
2132
+ declare const buildPaymentProvider: (overrides?: Partial<PaymentProvider>) => PaymentProvider;
2133
+ /**
2134
+ * Generates a list of PaymentProvider objects with random data.
2135
+ *
2136
+ * @since 0.5.15
2137
+ * @param {number} quantity The number of objects to be generated
2138
+ * @returns {PaymentProvider[]} An array of credit card brands,
2139
+ * see {@link PaymentProvider}
2140
+ */
2141
+ declare const genPaymentProviders: (quantity?: number) => PaymentProvider[];
2142
+ /**
2143
+ * Generates CreditCardMapping object with random data.
2144
+ *
2145
+ * @since 0.5.15
2146
+ * @param {Partial<CreditCardMapping>} overrides Properties to override
2147
+ * a {@link CreditCardMapping}
2148
+ * @returns {CreditCardMapping} A {@link CreditCardMapping} object
2149
+ */
2150
+ declare const buildCreditCardMapping: (overrides?: Partial<CreditCardMapping>) => CreditCardMapping;
2151
+ /**
2152
+ * Generates a list of CreditCardMapping objects with random data.
2153
+ *
2154
+ * @since 0.5.15
2155
+ * @param {number} quantity The number of objects to be generated
2156
+ * @returns {CreditCardMapping[]} An array of credit card mappings,
2157
+ * see {@link CreditCardMapping}
2158
+ */
2159
+ declare const genCreditCardMappings: (quantity?: number) => CreditCardMapping[];
2160
+ /**
2161
+ * Generates CardInscription object with random data.
2162
+ *
2163
+ * @since 0.5.15
2164
+ * @param {Partial<CardInscription>} overrides Properties to override
2165
+ * a {@link CardInscription}
2166
+ * @returns {CardInscription} A {@link CardInscription} object
2167
+ */
2168
+ declare const buildCardInscription: (overrides?: Partial<CardInscription>) => CardInscription;
2169
+ /**
2170
+ * Generates a list of CardInscription objects with random data.
2171
+ *
2172
+ * @since 0.5.15
2173
+ * @param {number} quantity The number of objects to be generated
2174
+ * @returns {CardInscription[]} An array of card inscriptions,
2175
+ * see {@link CardInscription}
2176
+ */
2177
+ declare const genCardInscriptions: (quantity?: number) => CardInscription[];
2178
+
2179
+ declare const payment_builder_buildBasePaymentMethod: typeof buildBasePaymentMethod;
2180
+ declare const payment_builder_buildCardInscription: typeof buildCardInscription;
2181
+ declare const payment_builder_buildCreditCardMapping: typeof buildCreditCardMapping;
2182
+ declare const payment_builder_buildPaymentMethod: typeof buildPaymentMethod;
2183
+ declare const payment_builder_buildPaymentProvider: typeof buildPaymentProvider;
2184
+ declare const payment_builder_genBasePaymentMethods: typeof genBasePaymentMethods;
2185
+ declare const payment_builder_genCardInscriptions: typeof genCardInscriptions;
2186
+ declare const payment_builder_genCreditCardMappings: typeof genCreditCardMappings;
2187
+ declare const payment_builder_genPaymentMethods: typeof genPaymentMethods;
2188
+ declare const payment_builder_genPaymentProviders: typeof genPaymentProviders;
2189
+ declare namespace payment_builder {
2190
+ export {
2191
+ payment_builder_buildBasePaymentMethod as buildBasePaymentMethod,
2192
+ payment_builder_buildCardInscription as buildCardInscription,
2193
+ payment_builder_buildCreditCardMapping as buildCreditCardMapping,
2194
+ payment_builder_buildPaymentMethod as buildPaymentMethod,
2195
+ payment_builder_buildPaymentProvider as buildPaymentProvider,
2196
+ payment_builder_genBasePaymentMethods as genBasePaymentMethods,
2197
+ payment_builder_genCardInscriptions as genCardInscriptions,
2198
+ payment_builder_genCreditCardMappings as genCreditCardMappings,
2199
+ payment_builder_genPaymentMethods as genPaymentMethods,
2200
+ payment_builder_genPaymentProviders as genPaymentProviders,
2201
+ };
2202
+ }
2203
+
2204
+ /**
2205
+ * Generates PriceCategoryTax object with random data.
2206
+ *
2207
+ * @since 0.1.0
2208
+ * @param {Partial<PriceCategoryTax>} overrides Properties to override
2209
+ * a {@link PriceCategoryTax}
2210
+ * @returns {PriceCategoryTax} A {@link PriceCategoryTax} object
2211
+ */
2212
+ declare const buildPriceCategoryTax: (overrides?: Partial<PriceCategoryTax>) => PriceCategoryTax;
2213
+ /**
2214
+ * Generates a list of PriceCategoryTax objects with random data.
2215
+ *
2216
+ * @since 0.1.0
2217
+ * @param {number} quantity The number of objects to be generated
2218
+ * @returns {PriceCategoryTax[]} An array of price category taxes objects,
2219
+ * see {@link PriceCategoryTax}
2220
+ */
2221
+ declare const genPriceCategoryTaxes: (quantity?: number) => PriceCategoryTax[];
2222
+ /**
2223
+ * Generates PriceCategory object with random data.
2224
+ *
2225
+ * @since 0.1.0
2226
+ * @param {Partial<PriceCategory>} overrides Properties to override
2227
+ * a {@link PriceCategory}
2228
+ * @returns {PriceCategory} A {@link PriceCategory} object
2229
+ */
2230
+ declare const buildPriceCategory: (overrides?: Partial<PriceCategory>) => PriceCategory;
2231
+ /**
2232
+ * Generates BaseProduct object with random data.
2233
+ *
2234
+ * @template T Product additional info
2235
+ * @since 0.1.0
2236
+ * @param {Partial<BaseProduct>} overrides Properties to override
2237
+ * a {@link BaseProduct}
2238
+ * @returns {BaseProduct} A {@link BaseProduct} object
2239
+ */
2240
+ declare const buildBaseProduct: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<BaseProduct<T>>) => BaseProduct<T>;
2241
+ /**
2242
+ * Generates a list of BaseProduct objects with random data.
2243
+ *
2244
+ * @template T Product additional info
2245
+ * @template U Product additional info
2246
+ * @since 0.1.0
2247
+ * @param {number} quantity The number of objects to be generated
2248
+ * @returns {BaseProduct[]} An array of BaseProduct objects,
2249
+ * see {@link BaseProduct}
2250
+ */
2251
+ declare const genBaseProducts: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => BaseProduct<T>[];
2252
+ /**
2253
+ * Render type for product answers
2254
+ *
2255
+ * @since 0.1.0
2256
+ */
2257
+ declare const MODIFIER_TYPES: string[];
2258
+ /**
2259
+ * Generates ProductAnswer object with random data.
2260
+ *
2261
+ * @template T Product additional info
2262
+ * @since 0.1.0
2263
+ * @param {Partial<ProductAnswer>} overrides Properties to override
2264
+ * a {@link ProductAnswer}
2265
+ * @param {number} loop The quantity of loops the function will be run
2266
+ * @returns {ProductAnswer} A {@link ProductAnswer} object
2267
+ */
2268
+ declare const buildProductAnswer: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ProductAnswer<T>>, loop?: number) => ProductAnswer<T>;
2269
+ /**
2270
+ * Generates a list of ProductAnswer objects with random data.
2271
+ *
2272
+ * @template T Product answers additional info
2273
+ * @since 0.1.0
2274
+ * @param {number} quantity The number of objects to be generated
2275
+ * @param {number} loop The quantity of loops the function will be run
2276
+ * @returns {ProductAnswer[]} An array of ProductAnswer objects,
2277
+ * see {@link ProductAnswer}
2278
+ */
2279
+ declare const genProductAnswers: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number, loop?: number) => ProductAnswer<T>[];
2280
+ /**
2281
+ * Generates ProductQuestion object with random data.
2282
+ *
2283
+ * @template T Product answers additional info
2284
+ * @since 0.1.0
2285
+ * @param {Partial<ProductQuestion>} overrides Properties to override
2286
+ * a {@link ProductQuestion}
2287
+ * @param {number} loop The quantity of loops the function will be run
2288
+ * @returns {ProductQuestion} A {@link ProductQuestion} object
2289
+ */
2290
+ declare const buildProductQuestion: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ProductQuestion<T>>, loop?: number) => ProductQuestion<T>;
2291
+ /**
2292
+ * Generates a list of ProductQuestion objects with random data.
2293
+ *
2294
+ * @template T Product answers additional info
2295
+ * @since 0.1.0
2296
+ * @param {number} quantity The number of objects to be generated
2297
+ * @param {number} loop The quantity of loops the function will be run
2298
+ * @returns {ProductQuestion[]} An array of ProductQuestion objects,
2299
+ * see {@link ProductQuestion}
2300
+ */
2301
+ declare const genProductQuestions: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number, loop?: number) => ProductQuestion<T>[];
2302
+ /**
2303
+ * Generates ProductDetails object with random data.
2304
+ *
2305
+ * @template T Product additional info
2306
+ * @since 0.1.0
2307
+ * @param {Partial<ProductDetails>} overrides Properties to override
2308
+ * a {@link ProductDetails}
2309
+ * @returns {ProductDetails} A {@link ProductDetails} object
2310
+ */
2311
+ declare const buildProductDetails: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ProductDetails<T, U>>) => ProductDetails<T, U>;
2312
+ /**
2313
+ * Generates a list of ProductDetails objects with random data.
2314
+ *
2315
+ * @template T Products additional info
2316
+ * @template U Categories additional info
2317
+ * @since 0.1.0
2318
+ * @param {number} quantity The number of objects to be generated
2319
+ * @returns {ProductDetails[]} An array of ProductDetails objects,
2320
+ * see {@link ProductDetails}
2321
+ */
2322
+ declare const genProductDetails: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo>(quantity?: number) => ProductDetails<T, U>[];
2323
+ /**
2324
+ * Generates CartProductAnswer object with random data.
2325
+ *
2326
+ * @template T Product answer additional info
2327
+ * @since 0.1.0
2328
+ * @param questionId The question id associated with the answer
2329
+ * @param {Partial<CartProductAnswer>} overrides Properties to override
2330
+ * a {@link CartProductAnswer}
2331
+ * @returns {CartProductAnswer} A {@link CartProductAnswer} object
2332
+ */
2333
+ declare const buildCartProductAnswer: <T extends AdditionalInfo = AdditionalInfo>(questionId: string, overrides?: Partial<CartProductAnswer<T>>) => CartProductAnswer<T>;
2334
+ /**
2335
+ * Generates a list of CartProductAnswer objects with random data.
2336
+ *
2337
+ * @template T Product answers additional info
2338
+ * @since 0.1.0
2339
+ * @param {number} quantity The number of objects to be generated
2340
+ * @returns {CartProductAnswer[]} An array of CartProductAnswer objects,
2341
+ * see {@link CartProductAnswer}
2342
+ */
2343
+ declare const genCartProductAnswers: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => CartProductAnswer<T>[];
2344
+ /**
2345
+ * Generates CartProductQuestion object with random data.
2346
+ *
2347
+ * @template T Product answers additional info
2348
+ * @since 0.1.0
2349
+ * @param {Partial<CartProductQuestion>} overrides Properties to override
2350
+ * a {@link CartProductQuestion}
2351
+ * @returns {CartProductQuestion} A {@link CartProductQuestion} object
2352
+ */
2353
+ declare const buildCartProductQuestion: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<CartProductQuestion<T>>) => CartProductQuestion<T>;
2354
+ /**
2355
+ * Generates a list of CartProductQuestion objects with random data.
2356
+ *
2357
+ * @template T Product answers additional info
2358
+ * @since 0.1.0
2359
+ * @param {number} quantity The number of objects to be generated
2360
+ * @returns {CartProductQuestion[]} An array of CartProductQuestion objects,
2361
+ * see {@link CartProductQuestion}
2362
+ */
2363
+ declare const genCartProductQuestions: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => CartProductQuestion<T>[];
2364
+ /**
2365
+ * Generates CartProduct object with random data.
2366
+ *
2367
+ * @template T Product additional info
2368
+ * @template U Categories additional info
2369
+ * @since 0.1.0
2370
+ * @param {Partial<CartProduct>} overrides Properties to override
2371
+ * a {@link CartProduct}
2372
+ * @returns {CartProduct} A {@link CartProduct} object
2373
+ */
2374
+ declare const buildCartProduct: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<CartProduct<T, U>>) => CartProduct<T, U>;
2375
+ /**
2376
+ * Generates a list of CartProduct objects with random data.
2377
+ *
2378
+ * @template T Products additional info
2379
+ * @template U Categories additional info
2380
+ * @since 0.1.0
2381
+ * @param {number} quantity The number of objects to be generated
2382
+ * @returns {CartProduct[]} An array of CartProduct objects,
2383
+ * see {@link CartProduct}
2384
+ */
2385
+ declare const genCartProducts: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo>(quantity?: number) => CartProduct<T, U>[];
2386
+
2387
+ declare const product_builder_MODIFIER_TYPES: typeof MODIFIER_TYPES;
2388
+ declare const product_builder_buildBaseProduct: typeof buildBaseProduct;
2389
+ declare const product_builder_buildCartProduct: typeof buildCartProduct;
2390
+ declare const product_builder_buildCartProductAnswer: typeof buildCartProductAnswer;
2391
+ declare const product_builder_buildCartProductQuestion: typeof buildCartProductQuestion;
2392
+ declare const product_builder_buildPriceCategory: typeof buildPriceCategory;
2393
+ declare const product_builder_buildPriceCategoryTax: typeof buildPriceCategoryTax;
2394
+ declare const product_builder_buildProductAnswer: typeof buildProductAnswer;
2395
+ declare const product_builder_buildProductDetails: typeof buildProductDetails;
2396
+ declare const product_builder_buildProductQuestion: typeof buildProductQuestion;
2397
+ declare const product_builder_genBaseProducts: typeof genBaseProducts;
2398
+ declare const product_builder_genCartProductAnswers: typeof genCartProductAnswers;
2399
+ declare const product_builder_genCartProductQuestions: typeof genCartProductQuestions;
2400
+ declare const product_builder_genCartProducts: typeof genCartProducts;
2401
+ declare const product_builder_genPriceCategoryTaxes: typeof genPriceCategoryTaxes;
2402
+ declare const product_builder_genProductAnswers: typeof genProductAnswers;
2403
+ declare const product_builder_genProductDetails: typeof genProductDetails;
2404
+ declare const product_builder_genProductQuestions: typeof genProductQuestions;
2405
+ declare namespace product_builder {
2406
+ export {
2407
+ product_builder_MODIFIER_TYPES as MODIFIER_TYPES,
2408
+ product_builder_buildBaseProduct as buildBaseProduct,
2409
+ product_builder_buildCartProduct as buildCartProduct,
2410
+ product_builder_buildCartProductAnswer as buildCartProductAnswer,
2411
+ product_builder_buildCartProductQuestion as buildCartProductQuestion,
2412
+ product_builder_buildPriceCategory as buildPriceCategory,
2413
+ product_builder_buildPriceCategoryTax as buildPriceCategoryTax,
2414
+ product_builder_buildProductAnswer as buildProductAnswer,
2415
+ product_builder_buildProductDetails as buildProductDetails,
2416
+ product_builder_buildProductQuestion as buildProductQuestion,
2417
+ product_builder_genBaseProducts as genBaseProducts,
2418
+ product_builder_genCartProductAnswers as genCartProductAnswers,
2419
+ product_builder_genCartProductQuestions as genCartProductQuestions,
2420
+ product_builder_genCartProducts as genCartProducts,
2421
+ product_builder_genPriceCategoryTaxes as genPriceCategoryTaxes,
2422
+ product_builder_genProductAnswers as genProductAnswers,
2423
+ product_builder_genProductDetails as genProductDetails,
2424
+ product_builder_genProductQuestions as genProductQuestions,
2425
+ };
2426
+ }
2427
+
2428
+ /**
2429
+ * Generates Settings object with random data.
2430
+ *
2431
+ * @since 0.5.15
2432
+ * @param {Partial<Settings>} overrides Properties to override
2433
+ * a {@link Settings}
2434
+ * @returns {Settings} A {@link Settings} object
2435
+ */
2436
+ declare const buildSettings: (overrides?: Partial<Settings>) => Settings;
2437
+ /**
2438
+ * Generates a list of Settings objects with random data.
2439
+ *
2440
+ * @since 0.5.15
2441
+ * @param {number} quantity The number of objects to be generated
2442
+ * @returns {Settings[]} An array of Settings objects,
2443
+ * see {@link Settings}
2444
+ */
2445
+ declare const genSettings: (quantity?: number) => Settings[];
2446
+ /**
2447
+ * Generates UserSettings object with random data.
2448
+ *
2449
+ * @since 0.5.15
2450
+ * @param {Partial<UserSettings>} overrides Properties to override
2451
+ * a {@link UserSettings}
2452
+ * @returns {UserSettings} A {@link UserSettings} object
2453
+ */
2454
+ declare const buildUserSettings: (overrides?: Partial<UserSettings>) => UserSettings;
2455
+ /**
2456
+ * Generates a list of UserSettings objects with random data.
2457
+ *
2458
+ * @since 0.5.15
2459
+ * @param {number} quantity The number of objects to be generated
2460
+ * @returns {UserSettings[]} An array of UserSettings objects,
2461
+ * see {@link UserSettings}
2462
+ */
2463
+ declare const genUserSettings: (quantity?: number) => UserSettings[];
2464
+
2465
+ declare const settings_builder_buildSettings: typeof buildSettings;
2466
+ declare const settings_builder_buildUserSettings: typeof buildUserSettings;
2467
+ declare const settings_builder_genSettings: typeof genSettings;
2468
+ declare const settings_builder_genUserSettings: typeof genUserSettings;
2469
+ declare namespace settings_builder {
2470
+ export {
2471
+ settings_builder_buildSettings as buildSettings,
2472
+ settings_builder_buildUserSettings as buildUserSettings,
2473
+ settings_builder_genSettings as genSettings,
2474
+ settings_builder_genUserSettings as genUserSettings,
2475
+ };
2476
+ }
2477
+
2478
+ /**
2479
+ * Generates a random street name.
2480
+ *
2481
+ * @since 0.1.0
2482
+ */
2483
+ declare const genStreetName: () => string;
2484
+ /**
2485
+ * Generates a random street number.
2486
+ *
2487
+ * @since 0.1.0
2488
+ */
2489
+ declare const genStreetNumber: (format?: string | undefined) => string;
2490
+ /**
2491
+ * Generates a random latitude.
2492
+ *
2493
+ * @since 0.1.0
2494
+ */
2495
+ declare const genLatitude: (max?: number | undefined, min?: number | undefined, precision?: number | undefined) => string;
2496
+ /**
2497
+ * Generates a random longitude.
2498
+ *
2499
+ * @since 0.1.0
2500
+ */
2501
+ declare const genLongitude: (max?: number | undefined, min?: number | undefined, precision?: number | undefined) => string;
2502
+ /**
2503
+ * Generates Field object with random data.
2504
+ *
2505
+ * @since 0.1.0
2506
+ * @param {Partial<Field>} overrides Properties to override a {@link Field}
2507
+ * @returns {Field} A {@link Field} object
2508
+ */
2509
+ declare const buildField: (overrides?: Partial<Field>) => Field;
2510
+ /**
2511
+ * Generates a list of Field objects with random data.
2512
+ *
2513
+ * @since 0.1.0
2514
+ * @param {number} quantity The number of objects to be generated
2515
+ * @returns {Field[]} A list of {@link Field} objects
2516
+ */
2517
+ declare const genFields: (quantity?: number) => Field[];
2518
+ /**
2519
+ * Generates Rule object with random data.
2520
+ *
2521
+ * @since 0.1.0
2522
+ * @param {Partial<Rule>} overrides Properties to override a {@link Rule}
2523
+ * @returns {Rule} A {@link Rule} object
2524
+ */
2525
+ declare const buildRule: (overrides?: Partial<Rule>) => Rule;
2526
+ /**
2527
+ * Generates Message object with random data.
2528
+ *
2529
+ * @since 0.1.0
2530
+ * @param {Partial<Message>} overrides Properties to override a {@link Message}
2531
+ * @returns {Message} A {@link Message} object
2532
+ */
2533
+ declare const buildMessage: (overrides?: Partial<Message>) => Message;
2534
+ /**
2535
+ * Generates a list of Rules objects with random data.
2536
+ *
2537
+ * @since 0.1.0
2538
+ * @param {number} quantity The number of objects to be generated
2539
+ * @returns {Rule[]} A list of {@link Rule} objects
2540
+ */
2541
+ declare const genRules: (quantity?: number) => Rule[];
2542
+ /**
2543
+ * Generates a list of Messages objects with random data.
2544
+ *
2545
+ * @since 0.1.0
2546
+ * @param {number} quantity The number of objects to be generated
2547
+ * @returns {Message[]} A list of {@link Message} objects
2548
+ */
2549
+ declare const genMessages: (quantity?: number) => Message[];
2550
+ /**
2551
+ * Generates LivingPlace object with random data.
2552
+ *
2553
+ * @since 0.1.0
2554
+ * @param {Partial<LivingPlace>} overrides Properties to override
2555
+ * a {@link LivingPlace}
2556
+ * @returns {LivingPlace} A {@link LivingPlace} object
2557
+ */
2558
+ declare const buildLivingPlace: (overrides?: Partial<LivingPlace>) => LivingPlace;
2559
+ /**
2560
+ * Generates a list of LivingPlaces objects with random data.
2561
+ *
2562
+ * @since 0.1.0
2563
+ * @param {number} quantity The number of objects to be generated
2564
+ * @returns {LivingPlace[]} A list of {@link LivingPlace} objects
2565
+ */
2566
+ declare const genLivingPlaces: (quantity?: number) => LivingPlace[];
2567
+ /**
2568
+ * Generates ShippingAddress object with random data.
2569
+ *
2570
+ * @template T Shipping address additional info
2571
+ * @since 0.1.0
2572
+ * @param {Partial<ShippingAddress>} overrides Properties to override
2573
+ * a {@link ShippingAddress}
2574
+ * @returns {ShippingAddress} A {@link ShippingAddress} object
2575
+ */
2576
+ declare const buildShippingAddress: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ShippingAddress<T>>) => ShippingAddress<T>;
2577
+ /**
2578
+ * Generates a list of ShippingAddresses objects with random data.
2579
+ *
2580
+ * @template T Shipping addresses additional info
2581
+ * @since 0.1.0
2582
+ * @param {number} quantity The number of objects to be generated
2583
+ * @returns {ShippingAddress[]} A list of {@link ShippingAddress} objects
2584
+ */
2585
+ declare const genShippingAddress: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => ShippingAddress<T>[];
2586
+
2587
+ declare const shippingAddress_builder_buildField: typeof buildField;
2588
+ declare const shippingAddress_builder_buildLivingPlace: typeof buildLivingPlace;
2589
+ declare const shippingAddress_builder_buildMessage: typeof buildMessage;
2590
+ declare const shippingAddress_builder_buildRule: typeof buildRule;
2591
+ declare const shippingAddress_builder_buildShippingAddress: typeof buildShippingAddress;
2592
+ declare const shippingAddress_builder_genFields: typeof genFields;
2593
+ declare const shippingAddress_builder_genLatitude: typeof genLatitude;
2594
+ declare const shippingAddress_builder_genLivingPlaces: typeof genLivingPlaces;
2595
+ declare const shippingAddress_builder_genLongitude: typeof genLongitude;
2596
+ declare const shippingAddress_builder_genMessages: typeof genMessages;
2597
+ declare const shippingAddress_builder_genRules: typeof genRules;
2598
+ declare const shippingAddress_builder_genShippingAddress: typeof genShippingAddress;
2599
+ declare const shippingAddress_builder_genStreetName: typeof genStreetName;
2600
+ declare const shippingAddress_builder_genStreetNumber: typeof genStreetNumber;
2601
+ declare namespace shippingAddress_builder {
2602
+ export {
2603
+ shippingAddress_builder_buildField as buildField,
2604
+ shippingAddress_builder_buildLivingPlace as buildLivingPlace,
2605
+ shippingAddress_builder_buildMessage as buildMessage,
2606
+ shippingAddress_builder_buildRule as buildRule,
2607
+ shippingAddress_builder_buildShippingAddress as buildShippingAddress,
2608
+ shippingAddress_builder_genFields as genFields,
2609
+ shippingAddress_builder_genLatitude as genLatitude,
2610
+ shippingAddress_builder_genLivingPlaces as genLivingPlaces,
2611
+ shippingAddress_builder_genLongitude as genLongitude,
2612
+ shippingAddress_builder_genMessages as genMessages,
2613
+ shippingAddress_builder_genRules as genRules,
2614
+ shippingAddress_builder_genShippingAddress as genShippingAddress,
2615
+ shippingAddress_builder_genStreetName as genStreetName,
2616
+ shippingAddress_builder_genStreetNumber as genStreetNumber,
2617
+ };
2618
+ }
2619
+
2620
+ /**
2621
+ * Generates BillTotalCategory object with random data.
2622
+ *
2623
+ * @since 0.1.0
2624
+ * @param {Partial<BillTotalCategory>} overrides Properties to override
2625
+ * a {@link BillTotalCategory}
2626
+ * @returns {BillTotalCategory} A {@link BillTotalCategory} object
2627
+ */
2628
+ declare const buildBillTotalNormalCategory: (overrides?: Partial<BillTotalCategory>) => BillTotalCategory;
2629
+ /**
2630
+ * Generates BillTotal object with random data.
2631
+ *
2632
+ * @since 0.1.0
2633
+ * @param {Partial<BillTotal>} overrides Properties to override
2634
+ * a {@link BillTotal}
2635
+ * @returns {BillTotal} A {@link BillTotal} object
2636
+ */
2637
+ declare const buildBillTotal: (overrides?: Partial<BillTotal>) => BillTotal;
2638
+ /**
2639
+ * Generates CartStore object with random data.
2640
+ *
2641
+ * @template T Store additional info
2642
+ * @template U Product additional info
2643
+ * @template V Categories additional info
2644
+ * @template W Vendor additional info
2645
+ * @template X Catalogues additional info
2646
+ * @since 0.1.0
2647
+ * @param {Partial<CartStore>} overrides Properties to override
2648
+ * a {@link CartStore}
2649
+ * @returns {CartStore} A {@link CartStore} object
2650
+ */
2651
+ declare const buildCartStore: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo, W extends AdditionalInfo = AdditionalInfo, X extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<CartStore<T, U, V, W, X>>) => CartStore<T, U, V, W, X>;
2652
+ /**
2653
+ * Generates a CartStore object where the key is the store id
2654
+ * and the value is the cart store object
2655
+ *
2656
+ * @template T Store additional info
2657
+ * @template U Product additional info
2658
+ * @template V Categories additional info
2659
+ * @template W Vendor additional info
2660
+ * @template X Catalogues additional info
2661
+ * @since 0.1.0
2662
+ * @param {number} quantity The number of objects to be generated
2663
+ * @returns {Objectify<CartStore>} An Objectify<{@link CartStore}>
2664
+ */
2665
+ declare const genCartStores: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo, W extends AdditionalInfo = AdditionalInfo, X extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Objectify<CartStore<T, U, V, W, X>>;
2666
+ /**
2667
+ * Generates ShoppingCart object with random data.
2668
+ *
2669
+ * @template T Shopping cart additional info
2670
+ * @template U Product additional info
2671
+ * @template V Categories additional info
2672
+ * @template W Store additional info
2673
+ * @template X Vendor additional info
2674
+ * @template Y Catalogues additional info
2675
+ * @template Z Shipping cost additional info
2676
+ * @since 0.1.0
2677
+ * @param {Partial<ShoppingCart>} overrides Properties to override
2678
+ * a {@link ShoppingCart}
2679
+ * @returns {ShoppingCart} A {@link ShoppingCart} object
2680
+ */
2681
+ declare const buildShoppingCart: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo, W extends AdditionalInfo = AdditionalInfo, X extends AdditionalInfo = AdditionalInfo, Y extends AdditionalInfo = AdditionalInfo, Z extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ShoppingCart<T, U, V, W, X, Y, Z>>) => ShoppingCart<T, U, V, W, X, Y, Z>;
2682
+ /**
2683
+ * Generates ShippingCost object with random data.
2684
+ *
2685
+ * @template T Shipping cost additional info
2686
+ * @since 0.1.0
2687
+ * @param {Partial<ShippingCost>} overrides Properties to override
2688
+ * a {@link ShippingCost}
2689
+ * @returns {ShippingCost} A {@link ShippingCost} object
2690
+ */
2691
+ declare const buildShippingCost: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<ShippingCost<T>>) => ShippingCost<T>;
2692
+ /**
2693
+ * Generates ShippingCostTax object with random data.
2694
+ *
2695
+ * @since 0.1.0
2696
+ * @param {Partial<ShippingCostTax>} overrides Properties to override
2697
+ * a {@link ShippingCostTax}
2698
+ * @returns {ShippingCostTax} A {@link ShippingCostTax} object
2699
+ */
2700
+ declare const buildShippingCostTax: (overrides?: Partial<ShippingCostTax>) => ShippingCostTax;
2701
+ /**
2702
+ * Generates a list of ShippingCostTax objects with random data.
2703
+ *
2704
+ * @since 0.1.0
2705
+ * @param {number} quantity The number of objects to be generated
2706
+ * @returns {ShippingCostTax[]} An array of shipping cost taxes objects,
2707
+ * see {@link ShippingCostTax}
2708
+ */
2709
+ declare const genShippingCostTaxes: (quantity?: number) => ShippingCostTax[];
2710
+ /**
2711
+ * Generates Discount object with random data.
2712
+ *
2713
+ * @since 0.1.0
2714
+ * @param {Partial<Discount>} overrides Properties to override
2715
+ * a {@link Discount}
2716
+ * @returns {Discount} A {@link Discount} object
2717
+ */
2718
+ declare const buildDiscount: (overrides?: Partial<Discount>) => Discount;
2719
+ declare const genDiscounts: (quantity?: number) => Discount[];
2720
+
2721
+ declare const shoppingCart_builder_buildBillTotal: typeof buildBillTotal;
2722
+ declare const shoppingCart_builder_buildBillTotalNormalCategory: typeof buildBillTotalNormalCategory;
2723
+ declare const shoppingCart_builder_buildCartStore: typeof buildCartStore;
2724
+ declare const shoppingCart_builder_buildDiscount: typeof buildDiscount;
2725
+ declare const shoppingCart_builder_buildShippingCost: typeof buildShippingCost;
2726
+ declare const shoppingCart_builder_buildShippingCostTax: typeof buildShippingCostTax;
2727
+ declare const shoppingCart_builder_buildShoppingCart: typeof buildShoppingCart;
2728
+ declare const shoppingCart_builder_genCartStores: typeof genCartStores;
2729
+ declare const shoppingCart_builder_genDiscounts: typeof genDiscounts;
2730
+ declare const shoppingCart_builder_genShippingCostTaxes: typeof genShippingCostTaxes;
2731
+ declare namespace shoppingCart_builder {
2732
+ export {
2733
+ shoppingCart_builder_buildBillTotal as buildBillTotal,
2734
+ shoppingCart_builder_buildBillTotalNormalCategory as buildBillTotalNormalCategory,
2735
+ shoppingCart_builder_buildCartStore as buildCartStore,
2736
+ shoppingCart_builder_buildDiscount as buildDiscount,
2737
+ shoppingCart_builder_buildShippingCost as buildShippingCost,
2738
+ shoppingCart_builder_buildShippingCostTax as buildShippingCostTax,
2739
+ shoppingCart_builder_buildShoppingCart as buildShoppingCart,
2740
+ shoppingCart_builder_genCartStores as genCartStores,
2741
+ shoppingCart_builder_genDiscounts as genDiscounts,
2742
+ shoppingCart_builder_genShippingCostTaxes as genShippingCostTaxes,
2743
+ };
2744
+ }
2745
+
2746
+ /**
2747
+ * Generates Store object with random data.
2748
+ *
2749
+ * @template T Store additional info
2750
+ * @template U Vendor additional info
2751
+ * @template V Catalogues additional info
2752
+ * @since 0.1.0
2753
+ * @param {Partial<Store>} overrides Properties to override a {@link Store}
2754
+ * @returns {Store} A {@link Store} object
2755
+ */
2756
+ declare const buildStore: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Store<T, U, V>>) => Store<T, U, V>;
2757
+ /**
2758
+ * Generates Delivery object with random data.
2759
+ *
2760
+ * @since 0.1.0
2761
+ * @param {Partial<Delivery>} overrides Properties to override
2762
+ * a {@link Delivery}
2763
+ * @returns {Delivery} A {@link Delivery} object
2764
+ */
2765
+ declare const buildDelivery: (overrides?: Partial<Delivery>) => Delivery;
2766
+ /**
2767
+ * Generates Schedule object with random data.
2768
+ *
2769
+ * @since 0.1.0
2770
+ * @param {Partial<Schedule>} overrides Properties to override
2771
+ * a {@link Schedule}
2772
+ * @returns {Schedule} A {@link Schedule} object
2773
+ */
2774
+ declare const buildSchedule: (overrides?: Partial<Schedule>) => Schedule;
2775
+ /**
2776
+ * Generates Service object with random data.
2777
+ *
2778
+ * @since 0.1.0
2779
+ * @param {Partial<Service>} overrides Properties to override a {@link Service}
2780
+ * @returns {Service} A {@link Service} object
2781
+ */
2782
+ declare const buildService: (overrides?: Partial<Service>) => Service;
2783
+ /**
2784
+ * Generates a list of Service objects with random data.
2785
+ *
2786
+ * @since 0.1.0
2787
+ * @param {number} quantity The number of objects to be generated
2788
+ * @returns {Service[]} An array of {@link Service}s objects
2789
+ */
2790
+ declare const genServices: (quantity?: number) => Service[];
2791
+ /**
2792
+ * Generates a list of Schedule objects with random data.
2793
+ *
2794
+ * @since 0.1.0
2795
+ * @param {number} quantity The number of objects to be generated
2796
+ * @returns {Schedule[]} An array of {@link Schedule}s objects
2797
+ */
2798
+ declare const genSchedules: (quantity?: number) => Schedule[];
2799
+ /**
2800
+ * Generates a list of Store objects with random data.
2801
+ *
2802
+ * @template T Store additional info
2803
+ * @template U Vendor additional info
2804
+ * @template V Catalogues additional info
2805
+ * @since 0.1.0
2806
+ * @param {number} quantity The number of objects to be generated
2807
+ * @returns {Store[]} An array of {@link Store}s objects
2808
+ */
2809
+ declare const genStores: <T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Store<T, U, V>[];
2810
+ /**
2811
+ * Generates GenericStoreLocation object with random data.
2812
+ *
2813
+ * @since 0.1.0
2814
+ * @param {Partial<GenericStoreLocation>} overrides Properties to override
2815
+ * a {@link GenericStoreLocation}
2816
+ * @returns {GenericStoreLocation} A {@link GenericStoreLocation} object
2817
+ */
2818
+ declare const buildGenericStoreLocation: (overrides?: Partial<GenericStoreLocation>) => GenericStoreLocation;
2819
+ /**
2820
+ * Generates a list of GenericStoreLocation objects with random data.
2821
+ *
2822
+ * @since 0.1.0
2823
+ * @param {number} quantity The number of objects to be generated
2824
+ * @returns {GenericStoreLocation[]} An array of {@link GenericStoreLocation}s
2825
+ * objects
2826
+ */
2827
+ declare const genGenericStoreLocation: (quantity?: number) => GenericStoreLocation[];
2828
+ /**
2829
+ * Generates StoreLocation object with random data.
2830
+ *
2831
+ * @since 0.1.0
2832
+ * @param {Partial<StoreLocation>} overrides Properties to override
2833
+ * a {@link StoreLocation}
2834
+ * @returns {StoreLocation} A {@link StoreLocation} object
2835
+ */
2836
+ declare const buildStoreLocation: (overrides?: Partial<StoreLocation>) => StoreLocation;
2837
+ /**
2838
+ * Generates a list of StoreLocation objects with random data.
2839
+ *
2840
+ * @since 0.1.0
2841
+ * @param {number} quantity The number of objects to be generated
2842
+ * @returns {StoreLocation[]} An array of {@link StoreLocation}s objects
2843
+ */
2844
+ declare const genStoreLocation: (quantity?: number) => StoreLocation[];
2845
+
2846
+ declare const store_builder_buildDelivery: typeof buildDelivery;
2847
+ declare const store_builder_buildGenericStoreLocation: typeof buildGenericStoreLocation;
2848
+ declare const store_builder_buildSchedule: typeof buildSchedule;
2849
+ declare const store_builder_buildService: typeof buildService;
2850
+ declare const store_builder_buildStore: typeof buildStore;
2851
+ declare const store_builder_buildStoreLocation: typeof buildStoreLocation;
2852
+ declare const store_builder_genGenericStoreLocation: typeof genGenericStoreLocation;
2853
+ declare const store_builder_genSchedules: typeof genSchedules;
2854
+ declare const store_builder_genServices: typeof genServices;
2855
+ declare const store_builder_genStoreLocation: typeof genStoreLocation;
2856
+ declare const store_builder_genStores: typeof genStores;
2857
+ declare namespace store_builder {
2858
+ export {
2859
+ store_builder_buildDelivery as buildDelivery,
2860
+ store_builder_buildGenericStoreLocation as buildGenericStoreLocation,
2861
+ store_builder_buildSchedule as buildSchedule,
2862
+ store_builder_buildService as buildService,
2863
+ store_builder_buildStore as buildStore,
2864
+ store_builder_buildStoreLocation as buildStoreLocation,
2865
+ store_builder_genGenericStoreLocation as genGenericStoreLocation,
2866
+ store_builder_genSchedules as genSchedules,
2867
+ store_builder_genServices as genServices,
2868
+ store_builder_genStoreLocation as genStoreLocation,
2869
+ store_builder_genStores as genStores,
2870
+ };
2871
+ }
2872
+
2873
+ /**
2874
+ * Generates User object with random data.
2875
+ *
2876
+ * @template T User additional info
2877
+ * @since 0.1.0
2878
+ * @param {Partial<User>} overrides Properties to override a {@link User}
2879
+ * @returns {User} A {@link User} object
2880
+ */
2881
+ declare const buildUser: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<User<T>>) => User<T>;
2882
+ /**
2883
+ * Generates a list of User objects with random data.
2884
+ *
2885
+ * @template T Users additional info
2886
+ * @since 0.1.0
2887
+ * @param {number} quantity The number of objects to be generated
2888
+ * @returns {User[]} An array of {@link User}s objects
2889
+ */
2890
+ declare const genUsers: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => User<T>[];
2891
+ /**
2892
+ * Generates Phone object with random data.
2893
+ *
2894
+ * @since 0.1.0
2895
+ * @param {Partial<Phone>} overrides Properties to override a {@link Phone}
2896
+ * @returns {Phone} A {@link Phone} object
2897
+ */
2898
+ declare const buildPhone: (overrides?: Partial<Phone>) => Phone;
2899
+ /**
2900
+ * Generates a list of Phone objects with random data.
2901
+ *
2902
+ * @since 0.1.0
2903
+ * @param {number} quantity The number of objects to be generated
2904
+ * @returns {Phone[]} An array of Phone objects, see {@link Phone}
2905
+ */
2906
+ declare const genPhones: (quantity?: number) => Phone[];
2907
+
2908
+ declare const user_builder_buildPhone: typeof buildPhone;
2909
+ declare const user_builder_buildUser: typeof buildUser;
2910
+ declare const user_builder_genPhones: typeof genPhones;
2911
+ declare const user_builder_genUsers: typeof genUsers;
2912
+ declare namespace user_builder {
2913
+ export {
2914
+ user_builder_buildPhone as buildPhone,
2915
+ user_builder_buildUser as buildUser,
2916
+ user_builder_genPhones as genPhones,
2917
+ user_builder_genUsers as genUsers,
2918
+ };
2919
+ }
2920
+
2921
+ /**
2922
+ * Generates Vendor object with random data.
2923
+ *
2924
+ * @template T Vendor additional info
2925
+ * @since 0.1.0
2926
+ * @param {Partial<Vendor>} overrides Properties to override a {@link Vendor}
2927
+ * @returns {Vendor} A {@link Vendor} object
2928
+ */
2929
+ declare const buildVendor: <T extends AdditionalInfo = AdditionalInfo>(overrides?: Partial<Vendor<T>>) => Vendor<T>;
2930
+ /**
2931
+ * Generates a list of Vendor objects with random data.
2932
+ *
2933
+ * @template T Vendors additional info
2934
+ * @since 0.1.0
2935
+ * @param {number} quantity The number of objects to be generated
2936
+ * @returns {Vendor[]} An array of {@link Vendor}s objects
2937
+ */
2938
+ declare const genVendors: <T extends AdditionalInfo = AdditionalInfo>(quantity?: number) => Vendor<T>[];
2939
+
2940
+ declare const vendor_builder_buildVendor: typeof buildVendor;
2941
+ declare const vendor_builder_genVendors: typeof genVendors;
2942
+ declare namespace vendor_builder {
2943
+ export {
2944
+ vendor_builder_buildVendor as buildVendor,
2945
+ vendor_builder_genVendors as genVendors,
2946
+ };
2947
+ }
2948
+
2949
+ declare const seed: <T extends number | number[] | undefined = undefined>(seed?: T | undefined) => T extends number ? number : T extends number[] ? number[] : number;
2950
+
2951
+ declare const instance_utils_seed: typeof seed;
2952
+ declare namespace instance_utils {
2953
+ export {
2954
+ instance_utils_seed as seed,
2955
+ };
2956
+ }
2957
+
2958
+ export { instance_utils as Builders, account_builder as accountBuilders, banner_builder as bannerBuilders, billingData_builder as billingDataBuilders, catalogue_builder as catalogueBuilders, category_builder as categoryBuilders, country_builder as countryBuilders, coupon_builder as couponBuilders, fulfillment_builder as fulfillmentBuilders, image_builder as imageBuilders, notification_builder as notificationBuilders, order_builder as orderBuilders, payment_builder as paymentBuilders, product_builder as productBuilders, settings_builder as settingsBuilders, shippingAddress_builder as shippingAddressBuilders, shoppingCart_builder as shoppingCartBuilders, store_builder as storeBuilders, user_builder as userBuilders, common_builder as utils, vendor_builder as vendorBuilders };