@artisan-commerce/builders 0.7.0-canary.4 → 0.7.0-canary.41

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