@getcommunity/gc-validators 0.0.16 → 0.0.17
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 +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +63 -63
- package/dist/index.d.ts +63 -63
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -383,18 +383,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
383
383
|
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: - _ .">]>;
|
|
384
384
|
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: - _ .">]>;
|
|
385
385
|
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: - _ .">]>;
|
|
386
|
-
readonly utm_content: v.
|
|
387
|
-
readonly utm_creative_format: v.
|
|
388
|
-
readonly utm_id: v.
|
|
386
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
387
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
388
|
+
readonly utm_id: 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>;
|
|
389
389
|
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.">]>;
|
|
390
|
-
readonly campaign_product: v.
|
|
391
|
-
readonly campaign_targeting: v.
|
|
392
|
-
readonly campaign_key: v.
|
|
393
|
-
readonly creative_format: v.
|
|
394
|
-
readonly creative_format_variants: v.
|
|
390
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
391
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
392
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
393
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
394
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
395
395
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
396
396
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
397
|
-
readonly notes: v.
|
|
397
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
398
398
|
}, undefined>;
|
|
399
399
|
type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
|
|
400
400
|
declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
@@ -402,18 +402,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
402
402
|
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: - _ .">]>;
|
|
403
403
|
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: - _ .">]>;
|
|
404
404
|
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: - _ .">]>;
|
|
405
|
-
readonly utm_content: v.
|
|
406
|
-
readonly utm_creative_format: v.
|
|
407
|
-
readonly utm_id: v.
|
|
405
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
406
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
407
|
+
readonly utm_id: 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>;
|
|
408
408
|
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.">]>;
|
|
409
|
-
readonly campaign_product: v.
|
|
410
|
-
readonly campaign_targeting: v.
|
|
411
|
-
readonly campaign_key: v.
|
|
412
|
-
readonly creative_format: v.
|
|
413
|
-
readonly creative_format_variants: v.
|
|
409
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
410
|
+
readonly campaign_targeting: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
411
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
412
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
413
|
+
readonly creative_format_variants: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
414
414
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
415
415
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
416
|
-
readonly notes: v.
|
|
416
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
417
417
|
}, undefined>;
|
|
418
418
|
type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
|
|
419
419
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
@@ -424,52 +424,52 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
424
424
|
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: - _ .">]>;
|
|
425
425
|
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: - _ .">]>;
|
|
426
426
|
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: - _ .">]>;
|
|
427
|
-
readonly utm_content: v.
|
|
428
|
-
readonly utm_creative_format: v.
|
|
429
|
-
readonly utm_id: v.
|
|
427
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
428
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
429
|
+
readonly utm_id: 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>;
|
|
430
430
|
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.">]>;
|
|
431
|
-
readonly campaign_product: v.
|
|
432
|
-
readonly campaign_targeting: v.
|
|
433
|
-
readonly campaign_key: v.
|
|
434
|
-
readonly creative_format: v.
|
|
435
|
-
readonly creative_format_variants: v.
|
|
431
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
432
|
+
readonly campaign_targeting: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
433
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
434
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
435
|
+
readonly creative_format_variants: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
436
436
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
437
437
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
438
|
-
readonly notes: v.
|
|
438
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
439
439
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
440
440
|
url_destination: string;
|
|
441
441
|
utm_source: string;
|
|
442
442
|
utm_medium: string;
|
|
443
443
|
utm_campaign: string;
|
|
444
|
-
utm_content: string |
|
|
445
|
-
utm_creative_format: string |
|
|
446
|
-
utm_id: string |
|
|
444
|
+
utm_content: string | undefined;
|
|
445
|
+
utm_creative_format: string | undefined;
|
|
446
|
+
utm_id: string | undefined;
|
|
447
447
|
campaign_phase: string;
|
|
448
|
-
campaign_product: string |
|
|
449
|
-
campaign_targeting: string[] |
|
|
450
|
-
campaign_key: string |
|
|
451
|
-
creative_format: string |
|
|
452
|
-
creative_format_variants: string[] |
|
|
448
|
+
campaign_product: string | undefined;
|
|
449
|
+
campaign_targeting: string[] | undefined;
|
|
450
|
+
campaign_key: string | undefined;
|
|
451
|
+
creative_format: string | undefined;
|
|
452
|
+
creative_format_variants: string[] | undefined;
|
|
453
453
|
url: string;
|
|
454
454
|
is_active: boolean;
|
|
455
|
-
notes: string |
|
|
455
|
+
notes: string | undefined;
|
|
456
456
|
}[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
|
|
457
457
|
url_destination: string;
|
|
458
458
|
utm_source: string;
|
|
459
459
|
utm_medium: string;
|
|
460
460
|
utm_campaign: string;
|
|
461
|
-
utm_content: string |
|
|
462
|
-
utm_creative_format: string |
|
|
463
|
-
utm_id: string |
|
|
461
|
+
utm_content: string | undefined;
|
|
462
|
+
utm_creative_format: string | undefined;
|
|
463
|
+
utm_id: string | undefined;
|
|
464
464
|
campaign_phase: string;
|
|
465
|
-
campaign_product: string |
|
|
466
|
-
campaign_targeting: string[] |
|
|
467
|
-
campaign_key: string |
|
|
468
|
-
creative_format: string |
|
|
469
|
-
creative_format_variants: string[] |
|
|
465
|
+
campaign_product: string | undefined;
|
|
466
|
+
campaign_targeting: string[] | undefined;
|
|
467
|
+
campaign_key: string | undefined;
|
|
468
|
+
creative_format: string | undefined;
|
|
469
|
+
creative_format_variants: string[] | undefined;
|
|
470
470
|
url: string;
|
|
471
471
|
is_active: boolean;
|
|
472
|
-
notes: string |
|
|
472
|
+
notes: string | undefined;
|
|
473
473
|
}[], 100, "You can create a maximum of 100 links at once.">]>;
|
|
474
474
|
}, undefined>;
|
|
475
475
|
type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferOutput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
|
|
@@ -484,18 +484,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
484
484
|
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: - _ .">]>;
|
|
485
485
|
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: - _ .">]>;
|
|
486
486
|
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: - _ .">]>;
|
|
487
|
-
readonly utm_content: v.
|
|
488
|
-
readonly utm_creative_format: v.
|
|
489
|
-
readonly utm_id: v.
|
|
487
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
488
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
489
|
+
readonly utm_id: 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>;
|
|
490
490
|
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.">]>;
|
|
491
|
-
readonly campaign_product: v.
|
|
492
|
-
readonly campaign_targeting: v.
|
|
493
|
-
readonly campaign_key: v.
|
|
494
|
-
readonly creative_format: v.
|
|
495
|
-
readonly creative_format_variants: v.
|
|
491
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
492
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
493
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
494
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
495
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
496
496
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
497
497
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
498
|
-
readonly notes: v.
|
|
498
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
499
499
|
}, undefined>;
|
|
500
500
|
type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
|
|
501
501
|
declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
@@ -507,18 +507,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
507
507
|
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: - _ .">]>;
|
|
508
508
|
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: - _ .">]>;
|
|
509
509
|
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: - _ .">]>;
|
|
510
|
-
readonly utm_content: v.
|
|
511
|
-
readonly utm_creative_format: v.
|
|
512
|
-
readonly utm_id: v.
|
|
510
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
511
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
512
|
+
readonly utm_id: 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>;
|
|
513
513
|
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.">]>;
|
|
514
|
-
readonly campaign_product: v.
|
|
515
|
-
readonly campaign_targeting: v.
|
|
516
|
-
readonly campaign_key: v.
|
|
517
|
-
readonly creative_format: v.
|
|
518
|
-
readonly creative_format_variants: v.
|
|
514
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
515
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
516
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
517
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
518
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
519
519
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
520
520
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
521
|
-
readonly notes: v.
|
|
521
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
522
522
|
}, undefined>;
|
|
523
523
|
}, undefined>;
|
|
524
524
|
type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
|
package/dist/index.d.ts
CHANGED
|
@@ -383,18 +383,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
383
383
|
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: - _ .">]>;
|
|
384
384
|
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: - _ .">]>;
|
|
385
385
|
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: - _ .">]>;
|
|
386
|
-
readonly utm_content: v.
|
|
387
|
-
readonly utm_creative_format: v.
|
|
388
|
-
readonly utm_id: v.
|
|
386
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
387
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
388
|
+
readonly utm_id: 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>;
|
|
389
389
|
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.">]>;
|
|
390
|
-
readonly campaign_product: v.
|
|
391
|
-
readonly campaign_targeting: v.
|
|
392
|
-
readonly campaign_key: v.
|
|
393
|
-
readonly creative_format: v.
|
|
394
|
-
readonly creative_format_variants: v.
|
|
390
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
391
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
392
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
393
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
394
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
395
395
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
396
396
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
397
|
-
readonly notes: v.
|
|
397
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
398
398
|
}, undefined>;
|
|
399
399
|
type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
|
|
400
400
|
declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
@@ -402,18 +402,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
402
402
|
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: - _ .">]>;
|
|
403
403
|
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: - _ .">]>;
|
|
404
404
|
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: - _ .">]>;
|
|
405
|
-
readonly utm_content: v.
|
|
406
|
-
readonly utm_creative_format: v.
|
|
407
|
-
readonly utm_id: v.
|
|
405
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
406
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
407
|
+
readonly utm_id: 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>;
|
|
408
408
|
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.">]>;
|
|
409
|
-
readonly campaign_product: v.
|
|
410
|
-
readonly campaign_targeting: v.
|
|
411
|
-
readonly campaign_key: v.
|
|
412
|
-
readonly creative_format: v.
|
|
413
|
-
readonly creative_format_variants: v.
|
|
409
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
410
|
+
readonly campaign_targeting: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
411
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
412
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
413
|
+
readonly creative_format_variants: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
414
414
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
415
415
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
416
|
-
readonly notes: v.
|
|
416
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
417
417
|
}, undefined>;
|
|
418
418
|
type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
|
|
419
419
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
@@ -424,52 +424,52 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
424
424
|
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: - _ .">]>;
|
|
425
425
|
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: - _ .">]>;
|
|
426
426
|
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: - _ .">]>;
|
|
427
|
-
readonly utm_content: v.
|
|
428
|
-
readonly utm_creative_format: v.
|
|
429
|
-
readonly utm_id: v.
|
|
427
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
428
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
429
|
+
readonly utm_id: 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>;
|
|
430
430
|
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.">]>;
|
|
431
|
-
readonly campaign_product: v.
|
|
432
|
-
readonly campaign_targeting: v.
|
|
433
|
-
readonly campaign_key: v.
|
|
434
|
-
readonly creative_format: v.
|
|
435
|
-
readonly creative_format_variants: v.
|
|
431
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
432
|
+
readonly campaign_targeting: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
433
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
434
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
435
|
+
readonly creative_format_variants: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
436
436
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
437
437
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
438
|
-
readonly notes: v.
|
|
438
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
439
439
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
440
440
|
url_destination: string;
|
|
441
441
|
utm_source: string;
|
|
442
442
|
utm_medium: string;
|
|
443
443
|
utm_campaign: string;
|
|
444
|
-
utm_content: string |
|
|
445
|
-
utm_creative_format: string |
|
|
446
|
-
utm_id: string |
|
|
444
|
+
utm_content: string | undefined;
|
|
445
|
+
utm_creative_format: string | undefined;
|
|
446
|
+
utm_id: string | undefined;
|
|
447
447
|
campaign_phase: string;
|
|
448
|
-
campaign_product: string |
|
|
449
|
-
campaign_targeting: string[] |
|
|
450
|
-
campaign_key: string |
|
|
451
|
-
creative_format: string |
|
|
452
|
-
creative_format_variants: string[] |
|
|
448
|
+
campaign_product: string | undefined;
|
|
449
|
+
campaign_targeting: string[] | undefined;
|
|
450
|
+
campaign_key: string | undefined;
|
|
451
|
+
creative_format: string | undefined;
|
|
452
|
+
creative_format_variants: string[] | undefined;
|
|
453
453
|
url: string;
|
|
454
454
|
is_active: boolean;
|
|
455
|
-
notes: string |
|
|
455
|
+
notes: string | undefined;
|
|
456
456
|
}[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
|
|
457
457
|
url_destination: string;
|
|
458
458
|
utm_source: string;
|
|
459
459
|
utm_medium: string;
|
|
460
460
|
utm_campaign: string;
|
|
461
|
-
utm_content: string |
|
|
462
|
-
utm_creative_format: string |
|
|
463
|
-
utm_id: string |
|
|
461
|
+
utm_content: string | undefined;
|
|
462
|
+
utm_creative_format: string | undefined;
|
|
463
|
+
utm_id: string | undefined;
|
|
464
464
|
campaign_phase: string;
|
|
465
|
-
campaign_product: string |
|
|
466
|
-
campaign_targeting: string[] |
|
|
467
|
-
campaign_key: string |
|
|
468
|
-
creative_format: string |
|
|
469
|
-
creative_format_variants: string[] |
|
|
465
|
+
campaign_product: string | undefined;
|
|
466
|
+
campaign_targeting: string[] | undefined;
|
|
467
|
+
campaign_key: string | undefined;
|
|
468
|
+
creative_format: string | undefined;
|
|
469
|
+
creative_format_variants: string[] | undefined;
|
|
470
470
|
url: string;
|
|
471
471
|
is_active: boolean;
|
|
472
|
-
notes: string |
|
|
472
|
+
notes: string | undefined;
|
|
473
473
|
}[], 100, "You can create a maximum of 100 links at once.">]>;
|
|
474
474
|
}, undefined>;
|
|
475
475
|
type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferOutput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
|
|
@@ -484,18 +484,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
484
484
|
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: - _ .">]>;
|
|
485
485
|
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: - _ .">]>;
|
|
486
486
|
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: - _ .">]>;
|
|
487
|
-
readonly utm_content: v.
|
|
488
|
-
readonly utm_creative_format: v.
|
|
489
|
-
readonly utm_id: v.
|
|
487
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
488
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
489
|
+
readonly utm_id: 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>;
|
|
490
490
|
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.">]>;
|
|
491
|
-
readonly campaign_product: v.
|
|
492
|
-
readonly campaign_targeting: v.
|
|
493
|
-
readonly campaign_key: v.
|
|
494
|
-
readonly creative_format: v.
|
|
495
|
-
readonly creative_format_variants: v.
|
|
491
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
492
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
493
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
494
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
495
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
496
496
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
497
497
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
498
|
-
readonly notes: v.
|
|
498
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
499
499
|
}, undefined>;
|
|
500
500
|
type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
|
|
501
501
|
declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
@@ -507,18 +507,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
507
507
|
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: - _ .">]>;
|
|
508
508
|
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: - _ .">]>;
|
|
509
509
|
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: - _ .">]>;
|
|
510
|
-
readonly utm_content: v.
|
|
511
|
-
readonly utm_creative_format: v.
|
|
512
|
-
readonly utm_id: v.
|
|
510
|
+
readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
511
|
+
readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
512
|
+
readonly utm_id: 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>;
|
|
513
513
|
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.">]>;
|
|
514
|
-
readonly campaign_product: v.
|
|
515
|
-
readonly campaign_targeting: v.
|
|
516
|
-
readonly campaign_key: v.
|
|
517
|
-
readonly creative_format: v.
|
|
518
|
-
readonly creative_format_variants: v.
|
|
514
|
+
readonly campaign_product: v.UndefinedableSchema<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>;
|
|
515
|
+
readonly campaign_targeting: v.UndefinedableSchema<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>;
|
|
516
|
+
readonly campaign_key: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Campaign key name may only contain alphanumeric characters, and underscores.">]>, undefined>;
|
|
517
|
+
readonly creative_format: v.UndefinedableSchema<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>;
|
|
518
|
+
readonly creative_format_variants: v.UndefinedableSchema<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>;
|
|
519
519
|
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
520
520
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
521
|
-
readonly notes: v.
|
|
521
|
+
readonly notes: v.UndefinedableSchema<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>;
|
|
522
522
|
}, undefined>;
|
|
523
523
|
}, undefined>;
|
|
524
524
|
type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
|