@getcommunity/gc-validators 0.0.19 → 0.0.21
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.cjs +30 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -70
- package/dist/index.d.ts +71 -70
- package/dist/index.js +30 -34
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -386,6 +386,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
386
386
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
387
387
|
}, undefined>;
|
|
388
388
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
389
|
+
type SCreateUtmTrackingLinkDocumentInput = v.InferInput<typeof SCreateUtmTrackingLinkDocument>;
|
|
389
390
|
declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
390
391
|
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
391
392
|
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
@@ -393,18 +394,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
393
394
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
394
395
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
395
396
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
396
|
-
readonly utm_content: v.
|
|
397
|
-
readonly utm_creative_format: v.
|
|
398
|
-
readonly utm_id: v.
|
|
397
|
+
readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
398
|
+
readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
399
|
+
readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
399
400
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
400
|
-
readonly campaign_product: v.
|
|
401
|
-
readonly campaign_targeting: v.
|
|
402
|
-
readonly campaign_key: v.
|
|
403
|
-
readonly creative_format: v.
|
|
404
|
-
readonly creative_format_variants: v.
|
|
405
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
401
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
402
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
403
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
404
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
405
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
406
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
406
407
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
407
|
-
readonly notes: v.
|
|
408
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>, undefined>;
|
|
408
409
|
}, undefined>;
|
|
409
410
|
type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
|
|
410
411
|
declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
@@ -412,18 +413,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
412
413
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
413
414
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
414
415
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
415
|
-
readonly utm_content: v.
|
|
416
|
-
readonly utm_creative_format: v.
|
|
417
|
-
readonly utm_id: v.
|
|
416
|
+
readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
417
|
+
readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
418
|
+
readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
418
419
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
419
|
-
readonly campaign_product: v.
|
|
420
|
-
readonly campaign_targeting: v.
|
|
421
|
-
readonly campaign_key: v.
|
|
422
|
-
readonly creative_format: v.
|
|
423
|
-
readonly creative_format_variants: v.
|
|
424
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
420
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
421
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
422
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
423
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
424
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
425
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
425
426
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
426
|
-
readonly notes: v.
|
|
427
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>, undefined>;
|
|
427
428
|
}, undefined>;
|
|
428
429
|
type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
|
|
429
430
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
@@ -434,55 +435,55 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
434
435
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
435
436
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
436
437
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
437
|
-
readonly utm_content: v.
|
|
438
|
-
readonly utm_creative_format: v.
|
|
439
|
-
readonly utm_id: v.
|
|
438
|
+
readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
439
|
+
readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
440
|
+
readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
440
441
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
441
|
-
readonly campaign_product: v.
|
|
442
|
-
readonly campaign_targeting: v.
|
|
443
|
-
readonly campaign_key: v.
|
|
444
|
-
readonly creative_format: v.
|
|
445
|
-
readonly creative_format_variants: v.
|
|
446
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
442
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
443
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
444
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
445
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
446
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
447
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
447
448
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
448
|
-
readonly notes: v.
|
|
449
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>, undefined>;
|
|
449
450
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
450
451
|
url_destination: string;
|
|
451
452
|
utm_source: string;
|
|
452
453
|
utm_medium: string;
|
|
453
454
|
utm_campaign: string;
|
|
454
|
-
utm_content
|
|
455
|
-
utm_creative_format
|
|
456
|
-
utm_id
|
|
455
|
+
utm_content?: string | undefined;
|
|
456
|
+
utm_creative_format?: string | undefined;
|
|
457
|
+
utm_id?: string | undefined;
|
|
457
458
|
campaign_phase: string;
|
|
458
|
-
campaign_product
|
|
459
|
-
campaign_targeting
|
|
460
|
-
campaign_key
|
|
461
|
-
creative_format
|
|
462
|
-
creative_format_variants
|
|
459
|
+
campaign_product?: string | undefined;
|
|
460
|
+
campaign_targeting?: string | undefined;
|
|
461
|
+
campaign_key?: string | undefined;
|
|
462
|
+
creative_format?: string | undefined;
|
|
463
|
+
creative_format_variants?: string | undefined;
|
|
463
464
|
url: string;
|
|
464
465
|
is_active: boolean;
|
|
465
|
-
notes
|
|
466
|
+
notes?: string | undefined;
|
|
466
467
|
}[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
|
|
467
468
|
url_destination: string;
|
|
468
469
|
utm_source: string;
|
|
469
470
|
utm_medium: string;
|
|
470
471
|
utm_campaign: string;
|
|
471
|
-
utm_content
|
|
472
|
-
utm_creative_format
|
|
473
|
-
utm_id
|
|
472
|
+
utm_content?: string | undefined;
|
|
473
|
+
utm_creative_format?: string | undefined;
|
|
474
|
+
utm_id?: string | undefined;
|
|
474
475
|
campaign_phase: string;
|
|
475
|
-
campaign_product
|
|
476
|
-
campaign_targeting
|
|
477
|
-
campaign_key
|
|
478
|
-
creative_format
|
|
479
|
-
creative_format_variants
|
|
476
|
+
campaign_product?: string | undefined;
|
|
477
|
+
campaign_targeting?: string | undefined;
|
|
478
|
+
campaign_key?: string | undefined;
|
|
479
|
+
creative_format?: string | undefined;
|
|
480
|
+
creative_format_variants?: string | undefined;
|
|
480
481
|
url: string;
|
|
481
482
|
is_active: boolean;
|
|
482
|
-
notes
|
|
483
|
+
notes?: string | undefined;
|
|
483
484
|
}[], 100, "You can create a maximum of 100 links at once.">]>;
|
|
484
485
|
}, undefined>;
|
|
485
|
-
type SFormCreateMultipleUtmTrackingLinkDocuments = v.
|
|
486
|
+
type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferInput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
|
|
486
487
|
declare const SReadUtmTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
487
488
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
488
489
|
}, undefined>;
|
|
@@ -494,18 +495,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
494
495
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
495
496
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
496
497
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
497
|
-
readonly utm_content: v.
|
|
498
|
-
readonly utm_creative_format: v.
|
|
499
|
-
readonly utm_id: v.
|
|
498
|
+
readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
499
|
+
readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
500
|
+
readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
500
501
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
501
|
-
readonly campaign_product: v.
|
|
502
|
-
readonly campaign_targeting: v.
|
|
503
|
-
readonly campaign_key: v.
|
|
504
|
-
readonly creative_format: v.
|
|
505
|
-
readonly creative_format_variants: v.
|
|
506
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
502
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
503
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
504
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
505
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
506
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
507
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
507
508
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
508
|
-
readonly notes: v.
|
|
509
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>, undefined>;
|
|
509
510
|
}, undefined>;
|
|
510
511
|
type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
|
|
511
512
|
declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
@@ -517,18 +518,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
517
518
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
518
519
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
519
520
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
520
|
-
readonly utm_content: v.
|
|
521
|
-
readonly utm_creative_format: v.
|
|
522
|
-
readonly utm_id: v.
|
|
521
|
+
readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
522
|
+
readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
523
|
+
readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
523
524
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
524
|
-
readonly campaign_product: v.
|
|
525
|
-
readonly campaign_targeting: v.
|
|
526
|
-
readonly campaign_key: v.
|
|
527
|
-
readonly creative_format: v.
|
|
528
|
-
readonly creative_format_variants: v.
|
|
529
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
525
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
526
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
527
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
528
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
529
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
530
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
530
531
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
531
|
-
readonly notes: v.
|
|
532
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>, undefined>;
|
|
532
533
|
}, undefined>;
|
|
533
534
|
}, undefined>;
|
|
534
535
|
type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
|
|
@@ -1475,4 +1476,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
1475
1476
|
declare const IsValidUrlUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1476
1477
|
declare const IsValidOrUndefinedUrlUtmId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
1477
1478
|
|
|
1478
|
-
export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmCampaignKeyName, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringOrUndefined, IsValidStringList, IsValidStringListOrUndefined, IsValidStringSepListOfUrls, IsValidStringSepListOfUrlsOrUndefined, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlOrUndefined, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserPhone, IsValidUserPhoneRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmCampaignKeyNameOrUndefined, IsValidUtmLink, IsValidValue, type KeenSliderOrigin, type KeenSliderSliderSlides, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, 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_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_QUERY, 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_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_PAGINATION_MAX_SIZE, LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE, LIMIT_REDIRECT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TAGS_DEFAULT_SIZE, LIMIT_TAGS_MAX_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, type LandingPageDocument, type LeadDocument, type MediaFormat, type MediaFormats, type MediaPlatformDocument, type MediaUploadDocument, type OpenGraph, type PermissionDocument, type PolicyPageDocument, type ProductDocument, type ProductHighlightDocument, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientProjects, QueryStrapiSearchClients, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkParts, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, type SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SharedRichTextBlock, SharpSpringSignUpToDownload, type SlideContent, type SlideType, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowMode, type SlideshowSettings, type StrapiBgColorOptions, type StrapiDirection, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, type StrapiSingleResponse, type StrapiTextColorOptions, type StrapiThemeOptions, type TagDocument, type TeamMemberDocument, type TeamPageDocument, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UserAccountDocument, type UserAuthorizationLoginResponse, type UserAuthorizationSuccessResponse, type UserDocument, type UserWithAccountDocument, type UtmClassificationKey, type UtmMetaPageDocument, type UtmOption, type UtmSourceKey, type UtmTrackingLinkDocument, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
1479
|
+
export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmCampaignKeyName, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringOrUndefined, IsValidStringList, IsValidStringListOrUndefined, IsValidStringSepListOfUrls, IsValidStringSepListOfUrlsOrUndefined, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlOrUndefined, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserPhone, IsValidUserPhoneRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmCampaignKeyNameOrUndefined, IsValidUtmLink, IsValidValue, type KeenSliderOrigin, type KeenSliderSliderSlides, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, 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_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_QUERY, 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_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_PAGINATION_MAX_SIZE, LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE, LIMIT_REDIRECT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TAGS_DEFAULT_SIZE, LIMIT_TAGS_MAX_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, type LandingPageDocument, type LeadDocument, type MediaFormat, type MediaFormats, type MediaPlatformDocument, type MediaUploadDocument, type OpenGraph, type PermissionDocument, type PolicyPageDocument, type ProductDocument, type ProductHighlightDocument, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientProjects, QueryStrapiSearchClients, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, type SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SharedRichTextBlock, SharpSpringSignUpToDownload, type SlideContent, type SlideType, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowMode, type SlideshowSettings, type StrapiBgColorOptions, type StrapiDirection, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, type StrapiSingleResponse, type StrapiTextColorOptions, type StrapiThemeOptions, type TagDocument, type TeamMemberDocument, type TeamPageDocument, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UserAccountDocument, type UserAuthorizationLoginResponse, type UserAuthorizationSuccessResponse, type UserDocument, type UserWithAccountDocument, type UtmClassificationKey, type UtmMetaPageDocument, type UtmOption, type UtmSourceKey, type UtmTrackingLinkDocument, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
package/dist/index.js
CHANGED
|
@@ -1022,40 +1022,36 @@ var SCreateUtmTrackingLinkDocument = v4.object({
|
|
|
1022
1022
|
utm_source: IsValidUrlUtmSource,
|
|
1023
1023
|
utm_medium: IsValidUrlUtmMedium,
|
|
1024
1024
|
utm_campaign: IsValidUrlUtmCampaign,
|
|
1025
|
-
utm_content:
|
|
1026
|
-
utm_creative_format:
|
|
1027
|
-
utm_id:
|
|
1025
|
+
utm_content: IsValidShortStringOrUndefined,
|
|
1026
|
+
utm_creative_format: IsValidShortStringOrUndefined,
|
|
1027
|
+
utm_id: IsValidShortStringOrUndefined,
|
|
1028
1028
|
campaign_phase: IsValidShortString,
|
|
1029
|
-
campaign_product:
|
|
1030
|
-
campaign_targeting:
|
|
1031
|
-
campaign_key:
|
|
1032
|
-
creative_format:
|
|
1033
|
-
creative_format_variants:
|
|
1034
|
-
url:
|
|
1029
|
+
campaign_product: IsValidShortStringOrUndefined,
|
|
1030
|
+
campaign_targeting: IsValidStringListOrUndefined,
|
|
1031
|
+
campaign_key: IsValidUtmCampaignKeyNameOrUndefined,
|
|
1032
|
+
creative_format: IsValidShortStringOrUndefined,
|
|
1033
|
+
creative_format_variants: IsValidStringListOrUndefined,
|
|
1034
|
+
url: IsValidUtmLink,
|
|
1035
1035
|
is_active: IsValidIsActive,
|
|
1036
|
-
notes:
|
|
1036
|
+
notes: IsValidLongStringOrUndefined
|
|
1037
1037
|
});
|
|
1038
1038
|
var SCreateUtmTrackingLinkParts = v4.object({
|
|
1039
1039
|
url_destination: IsValidDestinationUrl,
|
|
1040
1040
|
utm_source: IsValidUrlUtmSource,
|
|
1041
1041
|
utm_medium: IsValidUrlUtmMedium,
|
|
1042
1042
|
utm_campaign: IsValidUrlUtmCampaign,
|
|
1043
|
-
utm_content:
|
|
1044
|
-
utm_creative_format:
|
|
1045
|
-
utm_id:
|
|
1043
|
+
utm_content: IsValidShortStringOrUndefined,
|
|
1044
|
+
utm_creative_format: IsValidShortStringOrUndefined,
|
|
1045
|
+
utm_id: IsValidShortStringOrUndefined,
|
|
1046
1046
|
campaign_phase: IsValidShortString,
|
|
1047
|
-
campaign_product:
|
|
1048
|
-
campaign_targeting:
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
creative_format_variants: v4.undefinedable(
|
|
1054
|
-
v4.pipe(v4.array(IsValidShortString), v4.minLength(1), v4.maxLength(10))
|
|
1055
|
-
),
|
|
1056
|
-
url: IsValidUrl,
|
|
1047
|
+
campaign_product: IsValidShortStringOrUndefined,
|
|
1048
|
+
campaign_targeting: IsValidStringListOrUndefined,
|
|
1049
|
+
campaign_key: IsValidUtmCampaignKeyNameOrUndefined,
|
|
1050
|
+
creative_format: IsValidShortStringOrUndefined,
|
|
1051
|
+
creative_format_variants: IsValidStringListOrUndefined,
|
|
1052
|
+
url: IsValidUtmLink,
|
|
1057
1053
|
is_active: IsValidIsActive,
|
|
1058
|
-
notes:
|
|
1054
|
+
notes: IsValidLongStringOrUndefined
|
|
1059
1055
|
});
|
|
1060
1056
|
var SFormCreateMultipleUtmTrackingLinkDocuments = v4.object({
|
|
1061
1057
|
creator: IsValidReferenceDocumentId,
|
|
@@ -1076,18 +1072,18 @@ var SUpdateUtmTrackingLinkDocument = v4.object({
|
|
|
1076
1072
|
utm_source: IsValidUrlUtmSource,
|
|
1077
1073
|
utm_medium: IsValidUrlUtmMedium,
|
|
1078
1074
|
utm_campaign: IsValidUrlUtmCampaign,
|
|
1079
|
-
utm_content:
|
|
1080
|
-
utm_creative_format:
|
|
1081
|
-
utm_id:
|
|
1075
|
+
utm_content: IsValidShortStringOrUndefined,
|
|
1076
|
+
utm_creative_format: IsValidShortStringOrUndefined,
|
|
1077
|
+
utm_id: IsValidShortStringOrUndefined,
|
|
1082
1078
|
campaign_phase: IsValidShortString,
|
|
1083
|
-
campaign_product:
|
|
1084
|
-
campaign_targeting:
|
|
1085
|
-
campaign_key:
|
|
1086
|
-
creative_format:
|
|
1087
|
-
creative_format_variants:
|
|
1088
|
-
url:
|
|
1079
|
+
campaign_product: IsValidShortStringOrUndefined,
|
|
1080
|
+
campaign_targeting: IsValidStringListOrUndefined,
|
|
1081
|
+
campaign_key: IsValidUtmCampaignKeyNameOrUndefined,
|
|
1082
|
+
creative_format: IsValidShortStringOrUndefined,
|
|
1083
|
+
creative_format_variants: IsValidStringListOrUndefined,
|
|
1084
|
+
url: IsValidUtmLink,
|
|
1089
1085
|
is_active: IsValidIsActive,
|
|
1090
|
-
notes:
|
|
1086
|
+
notes: IsValidLongStringOrUndefined
|
|
1091
1087
|
});
|
|
1092
1088
|
var SUpdateUtmTrackingLinkDocumentRequest = v4.object({
|
|
1093
1089
|
documentId: IsValidReferenceDocumentId,
|