@joeygrable94/utm-src-pub-validators 0.0.100 → 0.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -53,47 +53,6 @@ var SOURCE_PAGINATION_MAX_SIZE_LIMIT = 1e4;
53
53
  var TERM_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
54
54
  var TERM_PAGINATION_MAX_SIZE_LIMIT = 1e4;
55
55
 
56
- // src/constants/permission.constants.ts
57
- var GROUP_ENTITY_PERMISSIONS = {
58
- website: ["list", "create", "read", "update", "delete", "export", "import"],
59
- "tracking-link": ["list", "create", "read", "update", "delete", "export", "import"],
60
- source: ["list", "create", "read", "update", "delete", "export", "import"],
61
- medium: ["list", "create", "read", "update", "delete", "export", "import"],
62
- "campaign-id": ["list", "create", "read", "update", "delete", "export", "import"],
63
- "campaign-phase": ["list", "create", "read", "update", "delete", "export", "import"],
64
- "campaign-product": [
65
- "list",
66
- "create",
67
- "read",
68
- "update",
69
- "delete",
70
- "export",
71
- "import"
72
- ],
73
- "campaign-target": ["list", "create", "read", "update", "delete", "export", "import"],
74
- "campaign-key": ["list", "create", "read", "update", "delete", "export", "import"],
75
- content: ["list", "create", "read", "update", "delete", "export", "import"],
76
- "creative-format": ["list", "create", "read", "update", "delete", "export", "import"],
77
- "creative-format-variant": [
78
- "list",
79
- "create",
80
- "read",
81
- "update",
82
- "delete",
83
- "export",
84
- "import"
85
- ],
86
- term: ["list", "create", "read", "update", "delete", "export", "import"]
87
- };
88
- var GROUP_ENTITY_KEYS = Object.keys(
89
- GROUP_ENTITY_PERMISSIONS
90
- );
91
- var GROUP_ENTITY_SCOPES = Object.entries(
92
- GROUP_ENTITY_PERMISSIONS
93
- ).flatMap(
94
- ([entity, actions]) => actions.map((action) => `${entity}:${action}`)
95
- );
96
-
97
56
  // src/constants/regex.constants.ts
98
57
  var REGEX_VALUE = /^([a-zA-Z0-9._-]+)?$/;
99
58
  var ERROR_MESSAGE_REGEX_VALUE = `can only contain letters, numbers, and the special characters: - _ .`;
@@ -187,7 +146,7 @@ var IsValidCost = v12.pipe(
187
146
  "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions"
188
147
  )
189
148
  );
190
- var IsValidOrUndefinedCost = v12.undefinedable(IsValidCost);
149
+ var IsValidOrUndefinedCost = v12.optional(IsValidCost);
191
150
  var IsValidLabel = v12.pipe(
192
151
  v12.string("please provide a label"),
193
152
  v12.trim(),
@@ -200,7 +159,7 @@ var IsValidLabel = v12.pipe(
200
159
  `the label is too long, it must be ${LIMIT_MAX_LABEL} characters or less`
201
160
  )
202
161
  );
203
- var IsValidOrUndefinedLabel = v12.undefinedable(IsValidLabel);
162
+ var IsValidOrUndefinedLabel = v12.optional(IsValidLabel);
204
163
  var IsValidValue = v12.pipe(
205
164
  v12.string("please provide a value"),
206
165
  v12.trim(),
@@ -214,7 +173,7 @@ var IsValidValue = v12.pipe(
214
173
  ),
215
174
  v12.regex(REGEX_VALUE, `the value ${ERROR_MESSAGE_REGEX_VALUE}`)
216
175
  );
217
- var IsValidOrUndefinedValue = v12.undefinedable(IsValidValue);
176
+ var IsValidOrUndefinedValue = v12.optional(IsValidValue);
218
177
  var IsValidDescription = v12.nullable(
219
178
  v12.pipe(
220
179
  v12.string("the description must be a string"),
@@ -225,13 +184,13 @@ var IsValidDescription = v12.nullable(
225
184
  )
226
185
  )
227
186
  );
228
- var IsValidOrUndefinedDescription = v12.undefinedable(IsValidDescription);
187
+ var IsValidOrUndefinedDescription = v12.optional(IsValidDescription);
229
188
  var IsValidIsActive = v12.boolean("isActive must be a boolean");
230
- var IsValidOrUndefinedIsActive = v12.undefinedable(IsValidIsActive);
189
+ var IsValidOrUndefinedIsActive = v12.optional(IsValidIsActive);
231
190
  var IsValidIsSecure = v12.boolean("isSecure must be a boolean");
232
- var IsValidOrUndefinedIsSecure = v12.undefinedable(IsValidIsSecure);
191
+ var IsValidOrUndefinedIsSecure = v12.optional(IsValidIsSecure);
233
192
  var IsValidIsBoolean = v12.boolean("this value must be either true or false");
234
- var IsValidOrUndefinedIsBoolean = v12.undefinedable(IsValidIsBoolean);
193
+ var IsValidOrUndefinedIsBoolean = v12.optional(IsValidIsBoolean);
235
194
  var IsValidName = v12.pipe(
236
195
  v12.string("please provide a name"),
237
196
  v12.trim(),
@@ -244,7 +203,496 @@ var IsValidName = v12.pipe(
244
203
  `the name is too long, it must be ${LIMIT_MAX_NAME} characters or less`
245
204
  )
246
205
  );
247
- var IsValidOrUndefinedName = v12.undefinedable(IsValidName);
206
+ var IsValidOrUndefinedName = v12.optional(IsValidName);
207
+
208
+ // src/permissions/permission.abac.ts
209
+ var ROLE_PERMISSIONS = {
210
+ authenticated: {
211
+ "user-account": {
212
+ list: false,
213
+ create: false,
214
+ read: false,
215
+ update: false,
216
+ delete: false
217
+ },
218
+ group: {
219
+ access: false,
220
+ billing: false,
221
+ manager: false,
222
+ admin: false,
223
+ list: false,
224
+ create: false,
225
+ read: false,
226
+ update: false,
227
+ delete: false
228
+ },
229
+ "group-user": {
230
+ list: false,
231
+ create: false,
232
+ read: false,
233
+ update: false,
234
+ delete: false
235
+ },
236
+ website: {
237
+ list: false,
238
+ create: false,
239
+ read: false,
240
+ update: false,
241
+ delete: false,
242
+ import: false,
243
+ export: false
244
+ },
245
+ "tracking-link": {
246
+ list: false,
247
+ create: false,
248
+ read: false,
249
+ update: false,
250
+ delete: false,
251
+ import: false,
252
+ export: false
253
+ },
254
+ source: {
255
+ list: false,
256
+ create: false,
257
+ read: false,
258
+ update: false,
259
+ delete: false,
260
+ import: false,
261
+ export: false
262
+ },
263
+ medium: {
264
+ list: false,
265
+ create: false,
266
+ read: false,
267
+ update: false,
268
+ delete: false,
269
+ import: false,
270
+ export: false
271
+ },
272
+ "campaign-id": {
273
+ list: false,
274
+ create: false,
275
+ read: false,
276
+ update: false,
277
+ delete: false,
278
+ import: false,
279
+ export: false
280
+ },
281
+ "campaign-phase": {
282
+ list: false,
283
+ create: false,
284
+ read: false,
285
+ update: false,
286
+ delete: false,
287
+ import: false,
288
+ export: false
289
+ },
290
+ "campaign-product": {
291
+ list: false,
292
+ create: false,
293
+ read: false,
294
+ update: false,
295
+ delete: false,
296
+ import: false,
297
+ export: false
298
+ },
299
+ "campaign-target": {
300
+ list: false,
301
+ create: false,
302
+ read: false,
303
+ update: false,
304
+ delete: false,
305
+ import: false,
306
+ export: false
307
+ },
308
+ "campaign-key": {
309
+ list: false,
310
+ create: false,
311
+ read: false,
312
+ update: false,
313
+ delete: false,
314
+ import: false,
315
+ export: false
316
+ },
317
+ content: {
318
+ list: false,
319
+ create: false,
320
+ read: false,
321
+ update: false,
322
+ delete: false,
323
+ import: false,
324
+ export: false
325
+ },
326
+ "creative-format": {
327
+ list: false,
328
+ create: false,
329
+ read: false,
330
+ update: false,
331
+ delete: false,
332
+ import: false,
333
+ export: false
334
+ },
335
+ "creative-format-variant": {
336
+ list: false,
337
+ create: false,
338
+ read: false,
339
+ update: false,
340
+ delete: false,
341
+ import: false,
342
+ export: false
343
+ },
344
+ term: {
345
+ list: false,
346
+ create: false,
347
+ read: false,
348
+ update: false,
349
+ delete: false,
350
+ import: false,
351
+ export: false
352
+ }
353
+ },
354
+ public: {
355
+ "user-account": {
356
+ list: false,
357
+ create: false,
358
+ read: false,
359
+ update: false,
360
+ delete: false
361
+ },
362
+ group: {
363
+ access: false,
364
+ billing: false,
365
+ manager: false,
366
+ admin: false,
367
+ list: false,
368
+ create: false,
369
+ read: false,
370
+ update: false,
371
+ delete: false
372
+ },
373
+ "group-user": {
374
+ list: false,
375
+ create: false,
376
+ read: false,
377
+ update: false,
378
+ delete: false
379
+ },
380
+ website: {
381
+ list: false,
382
+ create: false,
383
+ read: false,
384
+ update: false,
385
+ delete: false,
386
+ import: false,
387
+ export: false
388
+ },
389
+ "tracking-link": {
390
+ list: false,
391
+ create: false,
392
+ read: false,
393
+ update: false,
394
+ delete: false,
395
+ import: false,
396
+ export: false
397
+ },
398
+ source: {
399
+ list: false,
400
+ create: false,
401
+ read: false,
402
+ update: false,
403
+ delete: false,
404
+ import: false,
405
+ export: false
406
+ },
407
+ medium: {
408
+ list: false,
409
+ create: false,
410
+ read: false,
411
+ update: false,
412
+ delete: false,
413
+ import: false,
414
+ export: false
415
+ },
416
+ "campaign-id": {
417
+ list: false,
418
+ create: false,
419
+ read: false,
420
+ update: false,
421
+ delete: false,
422
+ import: false,
423
+ export: false
424
+ },
425
+ "campaign-phase": {
426
+ list: false,
427
+ create: false,
428
+ read: false,
429
+ update: false,
430
+ delete: false,
431
+ import: false,
432
+ export: false
433
+ },
434
+ "campaign-product": {
435
+ list: false,
436
+ create: false,
437
+ read: false,
438
+ update: false,
439
+ delete: false,
440
+ import: false,
441
+ export: false
442
+ },
443
+ "campaign-target": {
444
+ list: false,
445
+ create: false,
446
+ read: false,
447
+ update: false,
448
+ delete: false,
449
+ import: false,
450
+ export: false
451
+ },
452
+ "campaign-key": {
453
+ list: false,
454
+ create: false,
455
+ read: false,
456
+ update: false,
457
+ delete: false,
458
+ import: false,
459
+ export: false
460
+ },
461
+ content: {
462
+ list: false,
463
+ create: false,
464
+ read: false,
465
+ update: false,
466
+ delete: false,
467
+ import: false,
468
+ export: false
469
+ },
470
+ "creative-format": {
471
+ list: false,
472
+ create: false,
473
+ read: false,
474
+ update: false,
475
+ delete: false,
476
+ import: false,
477
+ export: false
478
+ },
479
+ "creative-format-variant": {
480
+ list: false,
481
+ create: false,
482
+ read: false,
483
+ update: false,
484
+ delete: false,
485
+ import: false,
486
+ export: false
487
+ },
488
+ term: {
489
+ list: false,
490
+ create: false,
491
+ read: false,
492
+ update: false,
493
+ delete: false,
494
+ import: false,
495
+ export: false
496
+ }
497
+ },
498
+ member: {
499
+ "user-account": {
500
+ list: true,
501
+ create: false,
502
+ read: true,
503
+ update: (u, p, d) => u.account.documentId === d.documentId,
504
+ delete: (u, p, d) => u.account.documentId === d.documentId
505
+ },
506
+ group: {
507
+ access: (u, p, d) => p.scopes.includes("group:access"),
508
+ billing: (u, p, d) => p.scopes.includes("group:billing"),
509
+ manager: (u, p, d) => p.scopes.includes("group:manager"),
510
+ admin: (u, p, d) => p.scopes.includes("group:admin"),
511
+ list: true,
512
+ create: true,
513
+ read: true,
514
+ update: true,
515
+ delete: true
516
+ },
517
+ "group-user": {
518
+ list: false,
519
+ create: false,
520
+ read: false,
521
+ update: false,
522
+ delete: false
523
+ },
524
+ website: {
525
+ list: (u, p, d) => p.scopes.includes("website:list"),
526
+ create: (u, p, d) => p.scopes.includes("website:create"),
527
+ read: (u, p, d) => p.scopes.includes("website:read"),
528
+ update: (u, p, d) => p.scopes.includes("website:update"),
529
+ delete: (u, p, d) => p.scopes.includes("website:delete"),
530
+ import: (u, p, d) => p.scopes.includes("website:import"),
531
+ export: (u, p, d) => p.scopes.includes("website:export")
532
+ },
533
+ "tracking-link": {
534
+ list: (u, p, d) => p.scopes.includes("tracking-link:list"),
535
+ create: (u, p, d) => p.scopes.includes("tracking-link:create"),
536
+ read: (u, p, d) => p.scopes.includes("tracking-link:read"),
537
+ update: (u, p, d) => p.scopes.includes("tracking-link:update"),
538
+ delete: (u, p, d) => p.scopes.includes("tracking-link:delete"),
539
+ import: (u, p, d) => p.scopes.includes("tracking-link:import"),
540
+ export: (u, p, d) => p.scopes.includes("tracking-link:export")
541
+ },
542
+ source: {
543
+ list: (u, p, d) => p.scopes.includes("source:list"),
544
+ create: (u, p, d) => p.scopes.includes("source:create"),
545
+ read: (u, p, d) => p.scopes.includes("source:read"),
546
+ update: (u, p, d) => p.scopes.includes("source:update"),
547
+ delete: (u, p, d) => p.scopes.includes("source:delete"),
548
+ import: (u, p, d) => p.scopes.includes("source:import"),
549
+ export: (u, p, d) => p.scopes.includes("source:export")
550
+ },
551
+ medium: {
552
+ list: (u, p, d) => p.scopes.includes("medium:list"),
553
+ create: (u, p, d) => p.scopes.includes("medium:create"),
554
+ read: (u, p, d) => p.scopes.includes("medium:read"),
555
+ update: (u, p, d) => p.scopes.includes("medium:update"),
556
+ delete: (u, p, d) => p.scopes.includes("medium:delete"),
557
+ import: (u, p, d) => p.scopes.includes("medium:import"),
558
+ export: (u, p, d) => p.scopes.includes("medium:export")
559
+ },
560
+ "campaign-id": {
561
+ list: (u, p, d) => p.scopes.includes("campaign-id:list"),
562
+ create: (u, p, d) => p.scopes.includes("campaign-id:create"),
563
+ read: (u, p, d) => p.scopes.includes("campaign-id:read"),
564
+ update: (u, p, d) => p.scopes.includes("campaign-id:update"),
565
+ delete: (u, p, d) => p.scopes.includes("campaign-id:delete"),
566
+ import: (u, p, d) => p.scopes.includes("campaign-id:import"),
567
+ export: (u, p, d) => p.scopes.includes("campaign-id:export")
568
+ },
569
+ "campaign-phase": {
570
+ list: (u, p, d) => p.scopes.includes("campaign-phase:list"),
571
+ create: (u, p, d) => p.scopes.includes("campaign-phase:create"),
572
+ read: (u, p, d) => p.scopes.includes("campaign-phase:read"),
573
+ update: (u, p, d) => p.scopes.includes("campaign-phase:update"),
574
+ delete: (u, p, d) => p.scopes.includes("campaign-phase:delete"),
575
+ import: (u, p, d) => p.scopes.includes("campaign-phase:import"),
576
+ export: (u, p, d) => p.scopes.includes("campaign-phase:export")
577
+ },
578
+ "campaign-product": {
579
+ list: (u, p, d) => p.scopes.includes("campaign-product:list"),
580
+ create: (u, p, d) => p.scopes.includes("campaign-product:create"),
581
+ read: (u, p, d) => p.scopes.includes("campaign-product:read"),
582
+ update: (u, p, d) => p.scopes.includes("campaign-product:update"),
583
+ delete: (u, p, d) => p.scopes.includes("campaign-product:delete"),
584
+ import: (u, p, d) => p.scopes.includes("campaign-product:import"),
585
+ export: (u, p, d) => p.scopes.includes("campaign-product:export")
586
+ },
587
+ "campaign-target": {
588
+ list: (u, p, d) => p.scopes.includes("campaign-target:list"),
589
+ create: (u, p, d) => p.scopes.includes("campaign-target:create"),
590
+ read: (u, p, d) => p.scopes.includes("campaign-target:read"),
591
+ update: (u, p, d) => p.scopes.includes("campaign-target:update"),
592
+ delete: (u, p, d) => p.scopes.includes("campaign-target:delete"),
593
+ import: (u, p, d) => p.scopes.includes("campaign-target:import"),
594
+ export: (u, p, d) => p.scopes.includes("campaign-target:export")
595
+ },
596
+ "campaign-key": {
597
+ list: (u, p, d) => p.scopes.includes("campaign-key:list"),
598
+ create: (u, p, d) => p.scopes.includes("campaign-key:create"),
599
+ read: (u, p, d) => p.scopes.includes("campaign-key:read"),
600
+ update: (u, p, d) => p.scopes.includes("campaign-key:update"),
601
+ delete: (u, p, d) => p.scopes.includes("campaign-key:delete"),
602
+ import: (u, p, d) => p.scopes.includes("campaign-key:import"),
603
+ export: (u, p, d) => p.scopes.includes("campaign-key:export")
604
+ },
605
+ content: {
606
+ list: (u, p, d) => p.scopes.includes("content:list"),
607
+ create: (u, p, d) => p.scopes.includes("content:create"),
608
+ read: (u, p, d) => p.scopes.includes("content:read"),
609
+ update: (u, p, d) => p.scopes.includes("content:update"),
610
+ delete: (u, p, d) => p.scopes.includes("content:delete"),
611
+ import: (u, p, d) => p.scopes.includes("content:import"),
612
+ export: (u, p, d) => p.scopes.includes("content:export")
613
+ },
614
+ "creative-format": {
615
+ list: (u, p, d) => p.scopes.includes("creative-format:list"),
616
+ create: (u, p, d) => p.scopes.includes("creative-format:create"),
617
+ read: (u, p, d) => p.scopes.includes("creative-format:read"),
618
+ update: (u, p, d) => p.scopes.includes("creative-format:update"),
619
+ delete: (u, p, d) => p.scopes.includes("creative-format:delete"),
620
+ import: (u, p, d) => p.scopes.includes("creative-format:import"),
621
+ export: (u, p, d) => p.scopes.includes("creative-format:export")
622
+ },
623
+ "creative-format-variant": {
624
+ list: (u, p, d) => p.scopes.includes("creative-format-variant:list"),
625
+ create: (u, p, d) => p.scopes.includes("creative-format-variant:create"),
626
+ read: (u, p, d) => p.scopes.includes("creative-format-variant:read"),
627
+ update: (u, p, d) => p.scopes.includes("creative-format-variant:update"),
628
+ delete: (u, p, d) => p.scopes.includes("creative-format-variant:delete"),
629
+ import: (u, p, d) => p.scopes.includes("creative-format-variant:import"),
630
+ export: (u, p, d) => p.scopes.includes("creative-format-variant:export")
631
+ },
632
+ term: {
633
+ list: (u, p, d) => p.scopes.includes("term:list"),
634
+ create: (u, p, d) => p.scopes.includes("term:create"),
635
+ read: (u, p, d) => p.scopes.includes("term:read"),
636
+ update: (u, p, d) => p.scopes.includes("term:update"),
637
+ delete: (u, p, d) => p.scopes.includes("term:delete"),
638
+ import: (u, p, d) => p.scopes.includes("term:import"),
639
+ export: (u, p, d) => p.scopes.includes("term:export")
640
+ }
641
+ }
642
+ };
643
+
644
+ // src/permissions/permission.constants.ts
645
+ var GROUP_ENTITY_PERMISSIONS = {
646
+ group: ["admin", "manager", "billing", "access"],
647
+ website: ["list", "create", "read", "update", "delete", "export", "import"],
648
+ "tracking-link": ["list", "create", "read", "update", "delete", "export", "import"],
649
+ source: ["list", "create", "read", "update", "delete", "export", "import"],
650
+ medium: ["list", "create", "read", "update", "delete", "export", "import"],
651
+ "campaign-id": ["list", "create", "read", "update", "delete", "export", "import"],
652
+ "campaign-phase": ["list", "create", "read", "update", "delete", "export", "import"],
653
+ "campaign-product": [
654
+ "list",
655
+ "create",
656
+ "read",
657
+ "update",
658
+ "delete",
659
+ "export",
660
+ "import"
661
+ ],
662
+ "campaign-target": ["list", "create", "read", "update", "delete", "export", "import"],
663
+ "campaign-key": ["list", "create", "read", "update", "delete", "export", "import"],
664
+ content: ["list", "create", "read", "update", "delete", "export", "import"],
665
+ "creative-format": ["list", "create", "read", "update", "delete", "export", "import"],
666
+ "creative-format-variant": [
667
+ "list",
668
+ "create",
669
+ "read",
670
+ "update",
671
+ "delete",
672
+ "export",
673
+ "import"
674
+ ],
675
+ term: ["list", "create", "read", "update", "delete", "export", "import"]
676
+ };
677
+ var GROUP_ENTITY_KEYS = Object.keys(
678
+ GROUP_ENTITY_PERMISSIONS
679
+ );
680
+ var GROUP_ENTITY_SCOPES = Object.entries(
681
+ GROUP_ENTITY_PERMISSIONS
682
+ ).flatMap(
683
+ ([entity, actions]) => actions.map((action) => `${entity}:${action}`)
684
+ );
685
+
686
+ // src/permissions/permission.utilities.ts
687
+ function hasPermission(user, permissions, resource, action, data) {
688
+ var _a;
689
+ const permission = (_a = ROLE_PERMISSIONS[user.role.type][resource]) == null ? void 0 : _a[action];
690
+ if (permission == null) return false;
691
+ if (typeof permission === "boolean") return permission;
692
+ return data != null && permission(user, permissions, data);
693
+ }
694
+
695
+ // src/validators/validators-group-users.ts
248
696
  var IsValidGroupUserScopes = v12.pipe(
249
697
  v12.array(
250
698
  v12.pipe(
@@ -272,11 +720,11 @@ var IsValidGroupValue = v12.pipe(
272
720
  ),
273
721
  v12.regex(REGEX_VALUE, `the value ${ERROR_MESSAGE_REGEX_VALUE}`)
274
722
  );
275
- var IsValidOrUndefinedGroupValue = v12.undefinedable(IsValidGroupValue);
723
+ var IsValidOrUndefinedGroupValue = v12.optional(IsValidGroupValue);
276
724
  var IsValidApplyValueTo = v12.picklist(GroupApplyValueToOptions);
277
- var IsValidOrUndefinedApplyValueTo = v12.undefinedable(IsValidApplyValueTo);
725
+ var IsValidOrUndefinedApplyValueTo = v12.optional(IsValidApplyValueTo);
278
726
  var IsValidApplyValueAs = v12.picklist(GroupApplyValueAsOptions);
279
- var IsValidOrUndefinedApplyValueAs = v12.undefinedable(IsValidApplyValueAs);
727
+ var IsValidOrUndefinedApplyValueAs = v12.optional(IsValidApplyValueAs);
280
728
  var IsValidProductId = v12.pipe(
281
729
  v12.string("please provide a product_id"),
282
730
  v12.trim(),
@@ -289,7 +737,7 @@ var IsValidProductId = v12.pipe(
289
737
  `the product_id is too long, it must be ${LIMIT_MAX_PRODUCT_ID} characters or less`
290
738
  )
291
739
  );
292
- var IsValidOrUndefinedProductId = v12.undefinedable(IsValidProductId);
740
+ var IsValidOrUndefinedProductId = v12.optional(IsValidProductId);
293
741
  var IsValidPriceId = v12.pipe(
294
742
  v12.string("please provide a price_id"),
295
743
  v12.trim(),
@@ -302,7 +750,7 @@ var IsValidPriceId = v12.pipe(
302
750
  `the price_id is too long, it must be ${LIMIT_MAX_PRICE_ID} characters or less`
303
751
  )
304
752
  );
305
- var IsValidOrUndefinedPriceId = v12.undefinedable(IsValidPriceId);
753
+ var IsValidOrUndefinedPriceId = v12.optional(IsValidPriceId);
306
754
  var IsValidUnitAmount = v12.pipe(
307
755
  v12.number("please provide a unit_amount"),
308
756
  v12.minValue(
@@ -310,7 +758,7 @@ var IsValidUnitAmount = v12.pipe(
310
758
  `the unit_amount must be a decimal greater than or equal to ${LIMIT_MIN_UNIT_AMOUNT}`
311
759
  )
312
760
  );
313
- var IsValidOrUndefinedUnitAmount = v12.undefinedable(IsValidUnitAmount);
761
+ var IsValidOrUndefinedUnitAmount = v12.optional(IsValidUnitAmount);
314
762
  var IsValidUnitTermInMonths = v12.pipe(
315
763
  v12.number("please provide a unit_term_in_months"),
316
764
  v12.minValue(
@@ -322,9 +770,7 @@ var IsValidUnitTermInMonths = v12.pipe(
322
770
  `the unit_term_in_months must be an integer less than or equal to ${LIMIT_MAX_UNIT_TERM_IN_MONTHS}`
323
771
  )
324
772
  );
325
- var IsValidOrUndefinedUnitTermInMonths = v12.undefinedable(
326
- IsValidUnitTermInMonths
327
- );
773
+ var IsValidOrUndefinedUnitTermInMonths = v12.optional(IsValidUnitTermInMonths);
328
774
  var IsValidUrlDestination = v12.pipe(
329
775
  v12.string("please provide a url destination"),
330
776
  v12.trim(),
@@ -338,12 +784,12 @@ var IsValidUrlDestination = v12.pipe(
338
784
  ),
339
785
  v12.url("please provide a valid url")
340
786
  );
341
- var IsValidOrUndefinedUrlDestination = v12.undefinedable(IsValidUrlDestination);
787
+ var IsValidOrUndefinedUrlDestination = v12.optional(IsValidUrlDestination);
342
788
  var IsValidUrlProtocol = v12.pipe(
343
789
  v12.string(),
344
790
  v12.picklist(UrlProtocolOptions, "please provide a valid url protocol")
345
791
  );
346
- var IsValidOrUndefinedUrlProtocol = v12.undefinedable(IsValidUrlProtocol);
792
+ var IsValidOrUndefinedUrlProtocol = v12.optional(IsValidUrlProtocol);
347
793
  var IsValidUrlDomain = v12.pipe(
348
794
  v12.string("please provide a domain"),
349
795
  v12.trim(),
@@ -357,7 +803,7 @@ var IsValidUrlDomain = v12.pipe(
357
803
  ),
358
804
  v12.regex(REGEX_DOMAIN, ERROR_MESSAGE_REGEX_DOMAIN)
359
805
  );
360
- var IsValidOrUndefinedUrlDomain = v12.undefinedable(IsValidUrlDomain);
806
+ var IsValidOrUndefinedUrlDomain = v12.optional(IsValidUrlDomain);
361
807
  var IsValidUrlPath = v12.pipe(
362
808
  v12.string("please provide a url path"),
363
809
  v12.trim(),
@@ -366,7 +812,7 @@ var IsValidUrlPath = v12.pipe(
366
812
  `the url path is too long, it must be ${LIMIT_MAX_PATH} characters or less`
367
813
  )
368
814
  );
369
- var IsValidOrUndefinedUrlPath = v12.undefinedable(IsValidUrlPath);
815
+ var IsValidOrUndefinedUrlPath = v12.optional(IsValidUrlPath);
370
816
  var IsValidUrlQuery = v12.pipe(
371
817
  v12.string("please provide a url query"),
372
818
  v12.trim(),
@@ -375,7 +821,7 @@ var IsValidUrlQuery = v12.pipe(
375
821
  `the url query is too long, it must be ${LIMIT_MAX_QUERY} characters or less`
376
822
  )
377
823
  );
378
- var IsValidOrUndefinedUrlQuery = v12.undefinedable(IsValidUrlQuery);
824
+ var IsValidOrUndefinedUrlQuery = v12.optional(IsValidUrlQuery);
379
825
  var IsValidUrlFragment = v12.pipe(
380
826
  v12.string("please provide a url hash/fragment"),
381
827
  v12.trim(),
@@ -384,7 +830,7 @@ var IsValidUrlFragment = v12.pipe(
384
830
  `the url hash/fragment is too long, it must be ${LIMIT_MAX_FRAGMENT} characters or less`
385
831
  )
386
832
  );
387
- var IsValidOrUndefinedUrlFragment = v12.undefinedable(IsValidUrlFragment);
833
+ var IsValidOrUndefinedUrlFragment = v12.optional(IsValidUrlFragment);
388
834
  var IsValidCustomerId = v12.pipe(
389
835
  v12.string("please provide a customer ID"),
390
836
  v12.trim(),
@@ -393,7 +839,7 @@ var IsValidCustomerId = v12.pipe(
393
839
  `the customer ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
394
840
  )
395
841
  );
396
- var IsValidOrUndefinedCustomerId = v12.undefinedable(IsValidCustomerId);
842
+ var IsValidOrUndefinedCustomerId = v12.optional(IsValidCustomerId);
397
843
  var IsValidSubscriptionId = v12.pipe(
398
844
  v12.string("please provide a subscription ID"),
399
845
  v12.trim(),
@@ -402,25 +848,23 @@ var IsValidSubscriptionId = v12.pipe(
402
848
  `the subscription ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
403
849
  )
404
850
  );
405
- var IsValidOrUndefinedSubscriptionId = v12.undefinedable(IsValidSubscriptionId);
851
+ var IsValidOrUndefinedSubscriptionId = v12.optional(IsValidSubscriptionId);
406
852
  var IsValidSubscriptionStatus = v12.pipe(
407
853
  v12.string("please provide a subscription status"),
408
854
  v12.trim(),
409
855
  v12.picklist(SubscriptionStatusValues)
410
856
  );
411
- var IsValidOrUndefinedSubscriptionStatus = v12.undefinedable(
857
+ var IsValidOrUndefinedSubscriptionStatus = v12.optional(
412
858
  IsValidSubscriptionStatus
413
859
  );
414
860
  var IsValidCurrentPeriodStart = v12.nullable(v12.date());
415
- var IsValidOrUndefinedCurrentPeriodStart = v12.undefinedable(
861
+ var IsValidOrUndefinedCurrentPeriodStart = v12.optional(
416
862
  IsValidCurrentPeriodStart
417
863
  );
418
864
  var IsValidCurrentPeriodEnd = v12.nullable(v12.date());
419
- var IsValidOrUndefinedCurrentPeriodEnd = v12.undefinedable(
420
- IsValidCurrentPeriodEnd
421
- );
865
+ var IsValidOrUndefinedCurrentPeriodEnd = v12.optional(IsValidCurrentPeriodEnd);
422
866
  var IsValidTrialPeriodEnd = v12.date();
423
- var IsValidOrUndefinedTrialPeriodEnd = v12.undefinedable(IsValidTrialPeriodEnd);
867
+ var IsValidOrUndefinedTrialPeriodEnd = v12.optional(IsValidTrialPeriodEnd);
424
868
  var IsValidUserLimitationNumber = v12.pipe(
425
869
  v12.number(),
426
870
  v12.minValue(0, "the user limitation number must be a positive number")
@@ -429,7 +873,7 @@ var IsValidUserLimitationNumberFallback = v12.fallback(
429
873
  IsValidUserLimitationNumber,
430
874
  0
431
875
  );
432
- var IsValidOrUndefinedUserLimitationNumber = v12.undefinedable(
876
+ var IsValidOrUndefinedUserLimitationNumber = v12.optional(
433
877
  IsValidUserLimitationNumber
434
878
  );
435
879
  var IsValidUsername = v12.pipe(
@@ -445,7 +889,7 @@ var IsValidUsername = v12.pipe(
445
889
  ),
446
890
  v12.regex(REGEX_VALUE, `your username ${ERROR_MESSAGE_REGEX_VALUE}`)
447
891
  );
448
- var IsValidOrUndefinedUsername = v12.undefinedable(IsValidUsername);
892
+ var IsValidOrUndefinedUsername = v12.optional(IsValidUsername);
449
893
  var IsValidEmail = v12.pipe(
450
894
  v12.string("please provide an email"),
451
895
  v12.trim(),
@@ -459,7 +903,7 @@ var IsValidEmail = v12.pipe(
459
903
  ),
460
904
  v12.email("please provide a valid email address")
461
905
  );
462
- var IsValidOrUndefinedEmail = v12.undefinedable(IsValidEmail);
906
+ var IsValidOrUndefinedEmail = v12.optional(IsValidEmail);
463
907
  var IsValidPassword = v12.pipe(
464
908
  v12.string("a password is required"),
465
909
  v12.trim(),
@@ -472,7 +916,7 @@ var IsValidPassword = v12.pipe(
472
916
  `your password is too long, it must be ${LIMIT_MAX_PASSWORD} characters or less`
473
917
  )
474
918
  );
475
- var IsValidOrUndefinedPassword = v12.undefinedable(IsValidPassword);
919
+ var IsValidOrUndefinedPassword = v12.optional(IsValidPassword);
476
920
  var IsValidProvider = v12.pipe(
477
921
  v12.string("please enter a provider"),
478
922
  v12.trim(),
@@ -481,11 +925,11 @@ var IsValidProvider = v12.pipe(
481
925
  `the provider string is too long, it must be ${LIMIT_MAX_PROVIDER} characters or less`
482
926
  )
483
927
  );
484
- var IsValidOrUndefinedProvider = v12.undefinedable(IsValidProvider);
928
+ var IsValidOrUndefinedProvider = v12.optional(IsValidProvider);
485
929
  var IsValidConfirmed = v12.boolean();
486
- var IsValidOrUndefinedConfirmed = v12.undefinedable(IsValidConfirmed);
930
+ var IsValidOrUndefinedConfirmed = v12.optional(IsValidConfirmed);
487
931
  var IsValidBlocked = v12.boolean();
488
- var IsValidOrUndefinedBlocked = v12.undefinedable(IsValidBlocked);
932
+ var IsValidOrUndefinedBlocked = v12.optional(IsValidBlocked);
489
933
  var IsValidUrlUtmPart = v12.pipe(
490
934
  v12.string(),
491
935
  v12.trim(),
@@ -499,7 +943,7 @@ var IsValidUrlUtmPart = v12.pipe(
499
943
  ),
500
944
  v12.regex(REGEX_VALUE, `value ${ERROR_MESSAGE_REGEX_VALUE}`)
501
945
  );
502
- var IsValidOrUndefinedUrlUtmPart = v12.undefinedable(IsValidUrlUtmPart);
946
+ var IsValidOrUndefinedUrlUtmPart = v12.optional(IsValidUrlUtmPart);
503
947
  var IsValidUrlUtmSource = v12.pipe(
504
948
  v12.string(),
505
949
  v12.trim(),
@@ -509,7 +953,7 @@ var IsValidUrlUtmSource = v12.pipe(
509
953
  ),
510
954
  v12.regex(REGEX_VALUE, `utm_source ${ERROR_MESSAGE_REGEX_VALUE}`)
511
955
  );
512
- var IsValidOrUndefinedUrlUtmSource = v12.undefinedable(IsValidUrlUtmSource);
956
+ var IsValidOrUndefinedUrlUtmSource = v12.optional(IsValidUrlUtmSource);
513
957
  var IsValidUrlUtmMedium = v12.pipe(
514
958
  v12.string(),
515
959
  v12.trim(),
@@ -519,7 +963,7 @@ var IsValidUrlUtmMedium = v12.pipe(
519
963
  ),
520
964
  v12.regex(REGEX_VALUE, `utm_medium ${ERROR_MESSAGE_REGEX_VALUE}`)
521
965
  );
522
- var IsValidOrUndefinedUrlUtmMedium = v12.undefinedable(IsValidUrlUtmMedium);
966
+ var IsValidOrUndefinedUrlUtmMedium = v12.optional(IsValidUrlUtmMedium);
523
967
  var IsValidUrlUtmCampaign = v12.pipe(
524
968
  v12.string(),
525
969
  v12.trim(),
@@ -529,7 +973,7 @@ var IsValidUrlUtmCampaign = v12.pipe(
529
973
  ),
530
974
  v12.regex(REGEX_VALUE, `utm_campaign ${ERROR_MESSAGE_REGEX_VALUE}`)
531
975
  );
532
- var IsValidOrUndefinedUrlUtmCampaign = v12.undefinedable(IsValidUrlUtmCampaign);
976
+ var IsValidOrUndefinedUrlUtmCampaign = v12.optional(IsValidUrlUtmCampaign);
533
977
  var IsValidUrlUtmCreativeFormat = v12.pipe(
534
978
  v12.string(),
535
979
  v12.trim(),
@@ -539,7 +983,7 @@ var IsValidUrlUtmCreativeFormat = v12.pipe(
539
983
  ),
540
984
  v12.regex(REGEX_VALUE, `utm_creative_format ${ERROR_MESSAGE_REGEX_VALUE}`)
541
985
  );
542
- var IsValidOrUndefinedUrlUtmCreativeFormat = v12.undefinedable(
986
+ var IsValidOrUndefinedUrlUtmCreativeFormat = v12.optional(
543
987
  IsValidUrlUtmCreativeFormat
544
988
  );
545
989
  var IsValidUrlUtmContent = v12.pipe(
@@ -551,7 +995,7 @@ var IsValidUrlUtmContent = v12.pipe(
551
995
  ),
552
996
  v12.regex(REGEX_VALUE, `utm_content ${ERROR_MESSAGE_REGEX_VALUE}`)
553
997
  );
554
- var IsValidOrUndefinedUrlUtmContent = v12.undefinedable(IsValidUrlUtmContent);
998
+ var IsValidOrUndefinedUrlUtmContent = v12.optional(IsValidUrlUtmContent);
555
999
  var IsValidUrlUtmTerm = v12.pipe(
556
1000
  v12.string(),
557
1001
  v12.trim(),
@@ -561,7 +1005,7 @@ var IsValidUrlUtmTerm = v12.pipe(
561
1005
  ),
562
1006
  v12.regex(REGEX_VALUE, `utm_term ${ERROR_MESSAGE_REGEX_VALUE}`)
563
1007
  );
564
- var IsValidOrUndefinedUrlUtmTerm = v12.undefinedable(IsValidUrlUtmTerm);
1008
+ var IsValidOrUndefinedUrlUtmTerm = v12.optional(IsValidUrlUtmTerm);
565
1009
  var IsValidUrlUtmId = v12.pipe(
566
1010
  v12.string(),
567
1011
  v12.trim(),
@@ -571,7 +1015,7 @@ var IsValidUrlUtmId = v12.pipe(
571
1015
  ),
572
1016
  v12.regex(REGEX_VALUE, `utm_id ${ERROR_MESSAGE_REGEX_VALUE}`)
573
1017
  );
574
- var IsValidOrUndefinedUrlUtmId = v12.undefinedable(IsValidUrlUtmId);
1018
+ var IsValidOrUndefinedUrlUtmId = v12.optional(IsValidUrlUtmId);
575
1019
 
576
1020
  // src/actions/group-user.crud.ts
577
1021
  var SQueryListGroupUserDocuments = v12.object({
@@ -3397,6 +3841,6 @@ function omitUndefined(obj) {
3397
3841
  return result;
3398
3842
  }
3399
3843
 
3400
- export { CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT, CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT, CONTENT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT, DEFAULT_CAMPAIGN_PHASES, DEFAULT_CONTENTS, DEFAULT_CREATIVE_FORMATS, DEFAULT_CREATIVE_FORMAT_VARIANTS, DEFAULT_MEDIUMS, DEFAULT_SOURCES, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, GROUP_ENTITY_KEYS, GROUP_ENTITY_PERMISSIONS, GROUP_ENTITY_SCOPES, GROUP_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_PAGINATION_MAX_SIZE_LIMIT, GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_USER_PAGINATION_MAX_SIZE_LIMIT, GroupApplyValueAsOptions, GroupApplyValueToOptions, IsValidApplyValueAs, IsValidApplyValueTo, IsValidBlocked, IsValidConfirmed, IsValidCost, IsValidCurrentPeriodEnd, IsValidCurrentPeriodStart, IsValidCustomerId, IsValidDescription, IsValidEmail, IsValidGroupUserScopes, IsValidGroupValue, IsValidIsActive, IsValidIsBoolean, IsValidIsSecure, IsValidLabel, IsValidMinPage, IsValidName, IsValidOrUndefinedApplyValueAs, IsValidOrUndefinedApplyValueTo, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedCurrentPeriodEnd, IsValidOrUndefinedCurrentPeriodStart, IsValidOrUndefinedCustomerId, IsValidOrUndefinedDescription, IsValidOrUndefinedEmail, IsValidOrUndefinedGroupValue, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsBoolean, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPriceId, IsValidOrUndefinedProductId, IsValidOrUndefinedProvider, IsValidOrUndefinedSubscriptionId, IsValidOrUndefinedSubscriptionStatus, IsValidOrUndefinedTrialPeriodEnd, IsValidOrUndefinedUnitAmount, IsValidOrUndefinedUnitTermInMonths, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmPart, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserLimitationNumber, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPriceId, IsValidProductId, IsValidProvider, IsValidReferenceDocumentId, IsValidReferenceId, IsValidSubscriptionId, IsValidSubscriptionStatus, IsValidTrialPeriodEnd, IsValidUnitAmount, IsValidUnitTermInMonths, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmPart, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserLimitationNumber, IsValidUserLimitationNumberFallback, IsValidUsername, IsValidValue, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_GROUP_VALUE, LIMIT_MAX_LABEL, LIMIT_MAX_NAME, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PRICE_ID, LIMIT_MAX_PRODUCT_ID, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_STRIPE_ID, LIMIT_MAX_UNIT_TERM_IN_MONTHS, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_PART, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MAX_VALUE, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_GROUP_VALUE, LIMIT_MIN_LABEL, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_PRICE_ID, LIMIT_MIN_PRODUCT_ID, LIMIT_MIN_QUERY, LIMIT_MIN_UNIT_AMOUNT, LIMIT_MIN_UNIT_TERM_IN_MONTHS, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_PART, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT, MEDIUM_PAGINATION_MAX_SIZE_LIMIT, REGEX_DOMAIN, REGEX_VALUE, SBaseCampaignIdDocument, SBaseCampaignKeyDocument, SBaseCampaignPhaseDocument, SBaseCampaignProductDocument, SBaseCampaignTargetDocument, SBaseContentDocument, SBaseCreativeFormatDocument, SBaseCreativeFormatVariantDocument, SBaseDocument, SBaseDocumentCreatedBy, SBaseGroupDocument, SBaseGroupUserDocument, SBaseMediumDocument, SBaseRoleDocument, SBaseSourceDocument, SBaseTermDocument, SBaseTrackingLinkDocument, SBaseUserAccountDocument, SBaseUserDocument, SBaseUserLimitationsDocument, SBaseWebsiteDocument, SCampaignIdDocument, SCampaignIdDocumentWithRelations, SCampaignIdRelationsDocument, SCampaignKeyDocument, SCampaignKeyDocumentWithRelations, SCampaignKeyRelationsDocument, SCampaignPhaseDocument, SCampaignPhaseDocumentWithRelations, SCampaignPhaseRelationsDocument, SCampaignProductDocument, SCampaignProductDocumentWithRelations, SCampaignProductRelationsDocument, SCampaignTargetDocument, SCampaignTargetDocumentWithRelations, SCampaignTargetRelationsDocument, SChangePassword, SContentDocument, SContentDocumentWithRelations, SContentRelationsDocument, SCreateCampaignIdDocument, SCreateCampaignKeyDocument, SCreateCampaignPhaseDocument, SCreateCampaignProductDocument, SCreateCampaignTargetDocument, SCreateContentDocument, SCreateCreativeFormatDocument, SCreateCreativeFormatVariantDocument, SCreateGroupDocument, SCreateGroupUserAssignMultipleUsers, SCreateGroupUserDocument, SCreateMediumDocument, SCreateMultipleCampaignIdDocuments, SCreateMultipleCampaignKeyDocuments, SCreateMultipleCampaignPhaseDocuments, SCreateMultipleCampaignProductDocuments, SCreateMultipleCampaignTargetDocuments, SCreateMultipleContentDocuments, SCreateMultipleCreativeFormatDocuments, SCreateMultipleCreativeFormatVariantDocuments, SCreateMultipleMediumDocuments, SCreateMultipleSourceDocuments, SCreateMultipleTermDocuments, SCreateMultipleTrackingLinkDocuments, SCreateMultipleWebsiteDocuments, SCreatePreviewMultipleTrackingLinkDocuments, SCreatePreviewTrackingLinkDocument, SCreateSourceDocument, SCreateTermDocument, SCreateTrackingLinkDocument, SCreateUserAccountDocument, SCreateUserDocument, SCreateUserLimitationsDocument, SCreateWebsiteDocument, SCreativeFormatDocument, SCreativeFormatDocumentWithRelations, SCreativeFormatRelationsDocument, SCreativeFormatVariantDocument, SCreativeFormatVariantDocumentWithRelations, SCreativeFormatVariantRelationsDocument, SDeleteCampaignIdDocument, SDeleteCampaignKeyDocument, SDeleteCampaignPhaseDocument, SDeleteCampaignProductDocument, SDeleteCampaignTargetDocument, SDeleteContentDocument, SDeleteCreativeFormatDocument, SDeleteCreativeFormatVariantDocument, SDeleteGroupDocument, SDeleteGroupUserDocument, SDeleteMediumDocument, SDeleteSourceDocument, SDeleteTermDocument, SDeleteTrackingLinkDocument, SDeleteWebsiteDocument, SForgotPasswordUserDocument, SGroupDocument, SGroupDocumentWithRelations, SGroupRelationAuthorizedUsers, SGroupRelationCampaignIds, SGroupRelationCampaignKeys, SGroupRelationCampaignPhases, SGroupRelationCampaignProducts, SGroupRelationContents, SGroupRelationCreativeFormatVariants, SGroupRelationCreativeFormats, SGroupRelationMediums, SGroupRelationSources, SGroupRelationTerms, SGroupRelationTrackingLinks, SGroupRelationWebsites, SGroupRelationsDocument, SGroupUserDocument, SGroupUserDocumentReqRelations, SGroupUserDocumentStatus, SGroupUserDocumentWithRelations, SGroupUserRelationsDocument, SGroupUserRelationsReqDocument, SLoginUserDocument, SMediumDocument, SMediumDocumentWithRelations, SMediumRelationsDocument, SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT, SOURCE_PAGINATION_MAX_SIZE_LIMIT, SQueryListCampaignIdDocuments, SQueryListCampaignKeyDocuments, SQueryListCampaignPhaseDocuments, SQueryListCampaignProductDocuments, SQueryListCampaignTargetDocuments, SQueryListContentDocuments, SQueryListCreativeFormatDocuments, SQueryListCreativeFormatVariantDocuments, SQueryListGroupDocuments, SQueryListGroupUserDocuments, SQueryListMediumDocuments, SQueryListSourceDocuments, SQueryListTermDocuments, SQueryListTrackingLinkDocuments, SQueryListUserAccountDocuments, SQueryListUserDocuments, SQueryListUserDocumentsByIdentifier, SQueryListUserLimitationDocuments, SQueryListWebsiteDocuments, SQuerySortCampaignIdDocuments, SQuerySortCampaignKeyDocuments, SQuerySortCampaignPhaseDocuments, SQuerySortCampaignProductDocuments, SQuerySortCampaignTargetDocuments, SQuerySortContentDocuments, SQuerySortCreativeFormatDocuments, SQuerySortCreativeFormatVariantDocuments, SQuerySortGroupDocuments, SQuerySortMediumDocuments, SQuerySortSourceDocuments, SQuerySortTermDocuments, SQuerySortTrackingLinkDocuments, SQuerySortUserDocuments, SQuerySortWebsiteDocuments, SReadCampaignIdDocumentByDocumentId, SReadCampaignIdDocumentById, SReadCampaignKeyDocumentByDocumentId, SReadCampaignKeyDocumentById, SReadCampaignPhaseDocumentByDocumentId, SReadCampaignPhaseDocumentById, SReadCampaignProductDocumentByDocumentId, SReadCampaignProductDocumentById, SReadCampaignTargetDocumentByDocumentId, SReadCampaignTargetDocumentById, SReadContentDocumentByDocumentId, SReadContentDocumentById, SReadCreativeFormatDocumentByDocumentId, SReadCreativeFormatDocumentById, SReadCreativeFormatVariantDocumentByDocumentId, SReadCreativeFormatVariantDocumentById, SReadGroupDocumentByDocumentId, SReadGroupDocumentById, SReadGroupUserDocumentByDocumentId, SReadGroupUserDocumentById, SReadMediumDocumentByDocumentId, SReadMediumDocumentById, SReadSourceDocumentByDocumentId, SReadSourceDocumentById, SReadTermDocumentByDocumentId, SReadTermDocumentById, SReadTrackingLinkDocumentByDocumentId, SReadTrackingLinkDocumentById, SReadUserAccountDocumentByDocumentId, SReadUserAccountDocumentById, SReadUserDocumentByDocumentId, SReadUserDocumentById, SReadUserDocumentToken, SReadUserLimitationsDocumentByDocumentId, SReadUserLimitationsDocumentById, SReadWebsiteDocumentByDocumentId, SReadWebsiteDocumentById, SRegisterUserDocument, SRequestConfirmEmail, SResetPasswordUserDocument, SRoleDocument, SRoleDocumentWithRelations, SRoleRelationsDocument, SSourceDocument, SSourceDocumentWithRelations, SSourceRelationsDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, STRAPI_PAGINATION_DEFAULT_SIZE_LIMIT, STRAPI_PAGINATION_MAX_SIZE_LIMIT, STRAPI_PAGINATION_MIN_SIZE_LIMIT, STermDocument, STermDocumentWithRelations, STermRelationsDocument, STrackingLinkDocument, STrackingLinkDocumentWithRelations, STrackingLinkRelationsDocument, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignIdDocumentRequest, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignKeyDocumentRequest, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignPhaseDocumentRequest, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorCampaignProductDocumentRequest, SUpdateAsCreatorCampaignTargetDocument, SUpdateAsCreatorCampaignTargetDocumentRequest, SUpdateAsCreatorContentDocument, SUpdateAsCreatorContentDocumentRequest, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatDocumentRequest, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorCreativeFormatVariantDocumentRequest, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorGroupDocumentRequest, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorMediumDocumentRequest, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorSourceDocumentRequest, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTermDocumentRequest, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorTrackingLinkDocumentRequest, SUpdateAsCreatorWebsiteDocument, SUpdateAsCreatorWebsiteDocumentRequest, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignIdDocumentRequest, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignKeyDocumentRequest, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignPhaseDocumentRequest, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedCampaignProductDocumentRequest, SUpdateAsInvitedCampaignTargetDocument, SUpdateAsInvitedCampaignTargetDocumentRequest, SUpdateAsInvitedContentDocument, SUpdateAsInvitedContentDocumentRequest, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatDocumentRequest, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedCreativeFormatVariantDocumentRequest, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedGroupDocumentRequest, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedMediumDocumentRequest, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedSourceDocumentRequest, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTermDocumentRequest, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedTrackingLinkDocumentRequest, SUpdateAsInvitedWebsiteDocument, SUpdateAsInvitedWebsiteDocumentRequest, SUpdateCampaignIdDocumentRequest, SUpdateCampaignKeyDocumentRequest, SUpdateCampaignPhaseDocumentRequest, SUpdateCampaignProductDocumentRequest, SUpdateCampaignTargetDocumentRequest, SUpdateContentDocumentRequest, SUpdateCreativeFormatDocumentRequest, SUpdateCreativeFormatVariantDocumentRequest, SUpdateGroupDocumentRequest, SUpdateGroupUserDocument, SUpdateGroupUserDocumentRequest, SUpdateMediumDocumentRequest, SUpdateSourceDocumentRequest, SUpdateTermDocumentRequest, SUpdateTrackingLinkDocumentRequest, SUpdateUserAccountDocument, SUpdateUserDocument, SUpdateUserLimitationsDocument, SUpdateWebsiteDocumentRequest, SUserAccountDocument, SUserAccountDocumentReqRelations, SUserAccountDocumentWithRelations, SUserAccountRelationsDocument, SUserAccountRelationsReqDocument, SUserAuthorizationSuccessResponse, SUserDocument, SUserDocumentWithAccountAndRoleRelations, SUserDocumentWithAccountRelations, SUserDocumentWithRelations, SUserLimitationsDocument, SUserLimitationsDocumentWithRelations, SUserLimitationsRelationsDocument, SUserRelationAccount, SUserRelationAuthorizedGroups, SUserRelationCampaignIds, SUserRelationCampaignKeys, SUserRelationCampaignPhases, SUserRelationCampaignProducts, SUserRelationContents, SUserRelationCreatedWebsites, SUserRelationCreativeFormatVariants, SUserRelationCreativeFormats, SUserRelationLimits, SUserRelationMediums, SUserRelationReqAccount, SUserRelationReqLimits, SUserRelationReqRole, SUserRelationRole, SUserRelationSources, SUserRelationTerms, SUserRelationTrackingLinks, SUserRelationsDocument, SUtmLinkBuilderPartCampaignDateFormat, SUtmLinkBuilderPartCampaignDateFormatOptions, SUtmLinkBuilderPartCampaignDateObject, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderPartCampaignDateValueDay, SUtmLinkBuilderPartCampaignDateValueMonth, SUtmLinkBuilderPartCampaignDateValueQuarter, SUtmLinkBuilderPartCampaignDateValueYear, SUtmLinkBuilderPartCampaignId, SUtmLinkBuilderPartCampaignKey, SUtmLinkBuilderPartCampaignObject, SUtmLinkBuilderPartCampaignPhase, SUtmLinkBuilderPartCampaignProduct, SUtmLinkBuilderPartCampaignTargeting, SUtmLinkBuilderPartCampaigns, SUtmLinkBuilderPartContents, SUtmLinkBuilderPartCreativeFormatObject, SUtmLinkBuilderPartCreativeFormatValue, SUtmLinkBuilderPartCreativeFormatVariantValue, SUtmLinkBuilderPartCreativeFormats, SUtmLinkBuilderPartMediums, SUtmLinkBuilderPartSources, SUtmLinkBuilderPartTerms, SUtmLinkBuilderPartUrlDestinations, SUtmLinkBuilderPartUrlObject, SUtmLinkBuilderTableForm, SVerifyGroupUserDocument, SWebsiteDocument, SWebsiteDocumentWithRelations, SWebsiteRelationsDocument, SubscriptionStatusValues, TERM_PAGINATION_DEFAULT_SIZE_LIMIT, TERM_PAGINATION_MAX_SIZE_LIMIT, TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT, TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT, USER_ACCOUNT_PAGINATION_DEFAULT_SIZE_LIMIT, USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT, USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT, USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT, USER_PAGINATION_DEFAULT_SIZE_LIMIT, USER_PAGINATION_MAX_SIZE_LIMIT, UrlProtocolOptions, WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT, WEBSITE_PAGINATION_MAX_SIZE_LIMIT, datePlusDays, dateToday, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
3844
+ export { CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT, CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT, CONTENT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT, DEFAULT_CAMPAIGN_PHASES, DEFAULT_CONTENTS, DEFAULT_CREATIVE_FORMATS, DEFAULT_CREATIVE_FORMAT_VARIANTS, DEFAULT_MEDIUMS, DEFAULT_SOURCES, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, GROUP_ENTITY_KEYS, GROUP_ENTITY_PERMISSIONS, GROUP_ENTITY_SCOPES, GROUP_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_PAGINATION_MAX_SIZE_LIMIT, GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_USER_PAGINATION_MAX_SIZE_LIMIT, GroupApplyValueAsOptions, GroupApplyValueToOptions, IsValidApplyValueAs, IsValidApplyValueTo, IsValidBlocked, IsValidConfirmed, IsValidCost, IsValidCurrentPeriodEnd, IsValidCurrentPeriodStart, IsValidCustomerId, IsValidDescription, IsValidEmail, IsValidGroupUserScopes, IsValidGroupValue, IsValidIsActive, IsValidIsBoolean, IsValidIsSecure, IsValidLabel, IsValidMinPage, IsValidName, IsValidOrUndefinedApplyValueAs, IsValidOrUndefinedApplyValueTo, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedCurrentPeriodEnd, IsValidOrUndefinedCurrentPeriodStart, IsValidOrUndefinedCustomerId, IsValidOrUndefinedDescription, IsValidOrUndefinedEmail, IsValidOrUndefinedGroupValue, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsBoolean, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPriceId, IsValidOrUndefinedProductId, IsValidOrUndefinedProvider, IsValidOrUndefinedSubscriptionId, IsValidOrUndefinedSubscriptionStatus, IsValidOrUndefinedTrialPeriodEnd, IsValidOrUndefinedUnitAmount, IsValidOrUndefinedUnitTermInMonths, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmPart, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserLimitationNumber, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPriceId, IsValidProductId, IsValidProvider, IsValidReferenceDocumentId, IsValidReferenceId, IsValidSubscriptionId, IsValidSubscriptionStatus, IsValidTrialPeriodEnd, IsValidUnitAmount, IsValidUnitTermInMonths, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmPart, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserLimitationNumber, IsValidUserLimitationNumberFallback, IsValidUsername, IsValidValue, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_GROUP_VALUE, LIMIT_MAX_LABEL, LIMIT_MAX_NAME, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PRICE_ID, LIMIT_MAX_PRODUCT_ID, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_STRIPE_ID, LIMIT_MAX_UNIT_TERM_IN_MONTHS, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_PART, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MAX_VALUE, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_GROUP_VALUE, LIMIT_MIN_LABEL, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_PRICE_ID, LIMIT_MIN_PRODUCT_ID, LIMIT_MIN_QUERY, LIMIT_MIN_UNIT_AMOUNT, LIMIT_MIN_UNIT_TERM_IN_MONTHS, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_PART, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT, MEDIUM_PAGINATION_MAX_SIZE_LIMIT, REGEX_DOMAIN, REGEX_VALUE, ROLE_PERMISSIONS, SBaseCampaignIdDocument, SBaseCampaignKeyDocument, SBaseCampaignPhaseDocument, SBaseCampaignProductDocument, SBaseCampaignTargetDocument, SBaseContentDocument, SBaseCreativeFormatDocument, SBaseCreativeFormatVariantDocument, SBaseDocument, SBaseDocumentCreatedBy, SBaseGroupDocument, SBaseGroupUserDocument, SBaseMediumDocument, SBaseRoleDocument, SBaseSourceDocument, SBaseTermDocument, SBaseTrackingLinkDocument, SBaseUserAccountDocument, SBaseUserDocument, SBaseUserLimitationsDocument, SBaseWebsiteDocument, SCampaignIdDocument, SCampaignIdDocumentWithRelations, SCampaignIdRelationsDocument, SCampaignKeyDocument, SCampaignKeyDocumentWithRelations, SCampaignKeyRelationsDocument, SCampaignPhaseDocument, SCampaignPhaseDocumentWithRelations, SCampaignPhaseRelationsDocument, SCampaignProductDocument, SCampaignProductDocumentWithRelations, SCampaignProductRelationsDocument, SCampaignTargetDocument, SCampaignTargetDocumentWithRelations, SCampaignTargetRelationsDocument, SChangePassword, SContentDocument, SContentDocumentWithRelations, SContentRelationsDocument, SCreateCampaignIdDocument, SCreateCampaignKeyDocument, SCreateCampaignPhaseDocument, SCreateCampaignProductDocument, SCreateCampaignTargetDocument, SCreateContentDocument, SCreateCreativeFormatDocument, SCreateCreativeFormatVariantDocument, SCreateGroupDocument, SCreateGroupUserAssignMultipleUsers, SCreateGroupUserDocument, SCreateMediumDocument, SCreateMultipleCampaignIdDocuments, SCreateMultipleCampaignKeyDocuments, SCreateMultipleCampaignPhaseDocuments, SCreateMultipleCampaignProductDocuments, SCreateMultipleCampaignTargetDocuments, SCreateMultipleContentDocuments, SCreateMultipleCreativeFormatDocuments, SCreateMultipleCreativeFormatVariantDocuments, SCreateMultipleMediumDocuments, SCreateMultipleSourceDocuments, SCreateMultipleTermDocuments, SCreateMultipleTrackingLinkDocuments, SCreateMultipleWebsiteDocuments, SCreatePreviewMultipleTrackingLinkDocuments, SCreatePreviewTrackingLinkDocument, SCreateSourceDocument, SCreateTermDocument, SCreateTrackingLinkDocument, SCreateUserAccountDocument, SCreateUserDocument, SCreateUserLimitationsDocument, SCreateWebsiteDocument, SCreativeFormatDocument, SCreativeFormatDocumentWithRelations, SCreativeFormatRelationsDocument, SCreativeFormatVariantDocument, SCreativeFormatVariantDocumentWithRelations, SCreativeFormatVariantRelationsDocument, SDeleteCampaignIdDocument, SDeleteCampaignKeyDocument, SDeleteCampaignPhaseDocument, SDeleteCampaignProductDocument, SDeleteCampaignTargetDocument, SDeleteContentDocument, SDeleteCreativeFormatDocument, SDeleteCreativeFormatVariantDocument, SDeleteGroupDocument, SDeleteGroupUserDocument, SDeleteMediumDocument, SDeleteSourceDocument, SDeleteTermDocument, SDeleteTrackingLinkDocument, SDeleteWebsiteDocument, SForgotPasswordUserDocument, SGroupDocument, SGroupDocumentWithRelations, SGroupRelationAuthorizedUsers, SGroupRelationCampaignIds, SGroupRelationCampaignKeys, SGroupRelationCampaignPhases, SGroupRelationCampaignProducts, SGroupRelationContents, SGroupRelationCreativeFormatVariants, SGroupRelationCreativeFormats, SGroupRelationMediums, SGroupRelationSources, SGroupRelationTerms, SGroupRelationTrackingLinks, SGroupRelationWebsites, SGroupRelationsDocument, SGroupUserDocument, SGroupUserDocumentReqRelations, SGroupUserDocumentStatus, SGroupUserDocumentWithRelations, SGroupUserRelationsDocument, SGroupUserRelationsReqDocument, SLoginUserDocument, SMediumDocument, SMediumDocumentWithRelations, SMediumRelationsDocument, SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT, SOURCE_PAGINATION_MAX_SIZE_LIMIT, SQueryListCampaignIdDocuments, SQueryListCampaignKeyDocuments, SQueryListCampaignPhaseDocuments, SQueryListCampaignProductDocuments, SQueryListCampaignTargetDocuments, SQueryListContentDocuments, SQueryListCreativeFormatDocuments, SQueryListCreativeFormatVariantDocuments, SQueryListGroupDocuments, SQueryListGroupUserDocuments, SQueryListMediumDocuments, SQueryListSourceDocuments, SQueryListTermDocuments, SQueryListTrackingLinkDocuments, SQueryListUserAccountDocuments, SQueryListUserDocuments, SQueryListUserDocumentsByIdentifier, SQueryListUserLimitationDocuments, SQueryListWebsiteDocuments, SQuerySortCampaignIdDocuments, SQuerySortCampaignKeyDocuments, SQuerySortCampaignPhaseDocuments, SQuerySortCampaignProductDocuments, SQuerySortCampaignTargetDocuments, SQuerySortContentDocuments, SQuerySortCreativeFormatDocuments, SQuerySortCreativeFormatVariantDocuments, SQuerySortGroupDocuments, SQuerySortMediumDocuments, SQuerySortSourceDocuments, SQuerySortTermDocuments, SQuerySortTrackingLinkDocuments, SQuerySortUserDocuments, SQuerySortWebsiteDocuments, SReadCampaignIdDocumentByDocumentId, SReadCampaignIdDocumentById, SReadCampaignKeyDocumentByDocumentId, SReadCampaignKeyDocumentById, SReadCampaignPhaseDocumentByDocumentId, SReadCampaignPhaseDocumentById, SReadCampaignProductDocumentByDocumentId, SReadCampaignProductDocumentById, SReadCampaignTargetDocumentByDocumentId, SReadCampaignTargetDocumentById, SReadContentDocumentByDocumentId, SReadContentDocumentById, SReadCreativeFormatDocumentByDocumentId, SReadCreativeFormatDocumentById, SReadCreativeFormatVariantDocumentByDocumentId, SReadCreativeFormatVariantDocumentById, SReadGroupDocumentByDocumentId, SReadGroupDocumentById, SReadGroupUserDocumentByDocumentId, SReadGroupUserDocumentById, SReadMediumDocumentByDocumentId, SReadMediumDocumentById, SReadSourceDocumentByDocumentId, SReadSourceDocumentById, SReadTermDocumentByDocumentId, SReadTermDocumentById, SReadTrackingLinkDocumentByDocumentId, SReadTrackingLinkDocumentById, SReadUserAccountDocumentByDocumentId, SReadUserAccountDocumentById, SReadUserDocumentByDocumentId, SReadUserDocumentById, SReadUserDocumentToken, SReadUserLimitationsDocumentByDocumentId, SReadUserLimitationsDocumentById, SReadWebsiteDocumentByDocumentId, SReadWebsiteDocumentById, SRegisterUserDocument, SRequestConfirmEmail, SResetPasswordUserDocument, SRoleDocument, SRoleDocumentWithRelations, SRoleRelationsDocument, SSourceDocument, SSourceDocumentWithRelations, SSourceRelationsDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, STRAPI_PAGINATION_DEFAULT_SIZE_LIMIT, STRAPI_PAGINATION_MAX_SIZE_LIMIT, STRAPI_PAGINATION_MIN_SIZE_LIMIT, STermDocument, STermDocumentWithRelations, STermRelationsDocument, STrackingLinkDocument, STrackingLinkDocumentWithRelations, STrackingLinkRelationsDocument, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignIdDocumentRequest, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignKeyDocumentRequest, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignPhaseDocumentRequest, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorCampaignProductDocumentRequest, SUpdateAsCreatorCampaignTargetDocument, SUpdateAsCreatorCampaignTargetDocumentRequest, SUpdateAsCreatorContentDocument, SUpdateAsCreatorContentDocumentRequest, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatDocumentRequest, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorCreativeFormatVariantDocumentRequest, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorGroupDocumentRequest, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorMediumDocumentRequest, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorSourceDocumentRequest, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTermDocumentRequest, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorTrackingLinkDocumentRequest, SUpdateAsCreatorWebsiteDocument, SUpdateAsCreatorWebsiteDocumentRequest, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignIdDocumentRequest, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignKeyDocumentRequest, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignPhaseDocumentRequest, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedCampaignProductDocumentRequest, SUpdateAsInvitedCampaignTargetDocument, SUpdateAsInvitedCampaignTargetDocumentRequest, SUpdateAsInvitedContentDocument, SUpdateAsInvitedContentDocumentRequest, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatDocumentRequest, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedCreativeFormatVariantDocumentRequest, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedGroupDocumentRequest, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedMediumDocumentRequest, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedSourceDocumentRequest, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTermDocumentRequest, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedTrackingLinkDocumentRequest, SUpdateAsInvitedWebsiteDocument, SUpdateAsInvitedWebsiteDocumentRequest, SUpdateCampaignIdDocumentRequest, SUpdateCampaignKeyDocumentRequest, SUpdateCampaignPhaseDocumentRequest, SUpdateCampaignProductDocumentRequest, SUpdateCampaignTargetDocumentRequest, SUpdateContentDocumentRequest, SUpdateCreativeFormatDocumentRequest, SUpdateCreativeFormatVariantDocumentRequest, SUpdateGroupDocumentRequest, SUpdateGroupUserDocument, SUpdateGroupUserDocumentRequest, SUpdateMediumDocumentRequest, SUpdateSourceDocumentRequest, SUpdateTermDocumentRequest, SUpdateTrackingLinkDocumentRequest, SUpdateUserAccountDocument, SUpdateUserDocument, SUpdateUserLimitationsDocument, SUpdateWebsiteDocumentRequest, SUserAccountDocument, SUserAccountDocumentReqRelations, SUserAccountDocumentWithRelations, SUserAccountRelationsDocument, SUserAccountRelationsReqDocument, SUserAuthorizationSuccessResponse, SUserDocument, SUserDocumentWithAccountAndRoleRelations, SUserDocumentWithAccountRelations, SUserDocumentWithRelations, SUserLimitationsDocument, SUserLimitationsDocumentWithRelations, SUserLimitationsRelationsDocument, SUserRelationAccount, SUserRelationAuthorizedGroups, SUserRelationCampaignIds, SUserRelationCampaignKeys, SUserRelationCampaignPhases, SUserRelationCampaignProducts, SUserRelationContents, SUserRelationCreatedWebsites, SUserRelationCreativeFormatVariants, SUserRelationCreativeFormats, SUserRelationLimits, SUserRelationMediums, SUserRelationReqAccount, SUserRelationReqLimits, SUserRelationReqRole, SUserRelationRole, SUserRelationSources, SUserRelationTerms, SUserRelationTrackingLinks, SUserRelationsDocument, SUtmLinkBuilderPartCampaignDateFormat, SUtmLinkBuilderPartCampaignDateFormatOptions, SUtmLinkBuilderPartCampaignDateObject, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderPartCampaignDateValueDay, SUtmLinkBuilderPartCampaignDateValueMonth, SUtmLinkBuilderPartCampaignDateValueQuarter, SUtmLinkBuilderPartCampaignDateValueYear, SUtmLinkBuilderPartCampaignId, SUtmLinkBuilderPartCampaignKey, SUtmLinkBuilderPartCampaignObject, SUtmLinkBuilderPartCampaignPhase, SUtmLinkBuilderPartCampaignProduct, SUtmLinkBuilderPartCampaignTargeting, SUtmLinkBuilderPartCampaigns, SUtmLinkBuilderPartContents, SUtmLinkBuilderPartCreativeFormatObject, SUtmLinkBuilderPartCreativeFormatValue, SUtmLinkBuilderPartCreativeFormatVariantValue, SUtmLinkBuilderPartCreativeFormats, SUtmLinkBuilderPartMediums, SUtmLinkBuilderPartSources, SUtmLinkBuilderPartTerms, SUtmLinkBuilderPartUrlDestinations, SUtmLinkBuilderPartUrlObject, SUtmLinkBuilderTableForm, SVerifyGroupUserDocument, SWebsiteDocument, SWebsiteDocumentWithRelations, SWebsiteRelationsDocument, SubscriptionStatusValues, TERM_PAGINATION_DEFAULT_SIZE_LIMIT, TERM_PAGINATION_MAX_SIZE_LIMIT, TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT, TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT, USER_ACCOUNT_PAGINATION_DEFAULT_SIZE_LIMIT, USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT, USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT, USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT, USER_PAGINATION_DEFAULT_SIZE_LIMIT, USER_PAGINATION_MAX_SIZE_LIMIT, UrlProtocolOptions, WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT, WEBSITE_PAGINATION_MAX_SIZE_LIMIT, datePlusDays, dateToday, hasPermission, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
3401
3845
  //# sourceMappingURL=index.js.map
3402
3846
  //# sourceMappingURL=index.js.map