@artisan-commerce/builders 0.1.0-canary.148.1

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