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

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