@getcommunity/gc-validators 0.0.18 → 0.0.20
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 +32 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +70 -69
- package/dist/index.d.ts +70 -69
- package/dist/index.js +32 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -110,6 +110,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
110
110
|
readonly title: 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>;
|
|
111
111
|
readonly slug: 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>;
|
|
112
112
|
readonly project_status: v.OptionalSchema<v.PicklistSchema<string[], undefined>, undefined>;
|
|
113
|
+
readonly clientId: v.OptionalSchema<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">]>, undefined>;
|
|
113
114
|
}, undefined>;
|
|
114
115
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
115
116
|
|
|
@@ -392,18 +393,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
392
393
|
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: - _ .">]>;
|
|
393
394
|
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: - _ .">]>;
|
|
394
395
|
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: - _ .">]>;
|
|
395
|
-
readonly utm_content: v.
|
|
396
|
-
readonly utm_creative_format: v.
|
|
397
|
-
readonly utm_id: v.
|
|
396
|
+
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>;
|
|
397
|
+
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>;
|
|
398
|
+
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>;
|
|
398
399
|
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.">]>;
|
|
399
|
-
readonly campaign_product: v.
|
|
400
|
-
readonly campaign_targeting: v.
|
|
401
|
-
readonly campaign_key: v.
|
|
402
|
-
readonly creative_format: v.
|
|
403
|
-
readonly creative_format_variants: v.
|
|
404
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
400
|
+
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>;
|
|
401
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
402
|
+
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>;
|
|
403
|
+
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>;
|
|
404
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
405
|
+
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.">]>;
|
|
405
406
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
406
|
-
readonly notes: v.
|
|
407
|
+
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>;
|
|
407
408
|
}, undefined>;
|
|
408
409
|
type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
|
|
409
410
|
declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
@@ -411,18 +412,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
411
412
|
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: - _ .">]>;
|
|
412
413
|
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: - _ .">]>;
|
|
413
414
|
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: - _ .">]>;
|
|
414
|
-
readonly utm_content: v.
|
|
415
|
-
readonly utm_creative_format: v.
|
|
416
|
-
readonly utm_id: v.
|
|
415
|
+
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>;
|
|
416
|
+
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>;
|
|
417
|
+
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>;
|
|
417
418
|
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.">]>;
|
|
418
|
-
readonly campaign_product: v.
|
|
419
|
-
readonly campaign_targeting: v.
|
|
420
|
-
readonly campaign_key: v.
|
|
421
|
-
readonly creative_format: v.
|
|
422
|
-
readonly creative_format_variants: v.
|
|
423
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
419
|
+
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>;
|
|
420
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
421
|
+
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>;
|
|
422
|
+
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>;
|
|
423
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
424
|
+
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.">]>;
|
|
424
425
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
425
|
-
readonly notes: v.
|
|
426
|
+
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>;
|
|
426
427
|
}, undefined>;
|
|
427
428
|
type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
|
|
428
429
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
@@ -433,55 +434,55 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
433
434
|
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: - _ .">]>;
|
|
434
435
|
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: - _ .">]>;
|
|
435
436
|
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: - _ .">]>;
|
|
436
|
-
readonly utm_content: v.
|
|
437
|
-
readonly utm_creative_format: v.
|
|
438
|
-
readonly utm_id: v.
|
|
437
|
+
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>;
|
|
438
|
+
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>;
|
|
439
|
+
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>;
|
|
439
440
|
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.">]>;
|
|
440
|
-
readonly campaign_product: v.
|
|
441
|
-
readonly campaign_targeting: v.
|
|
442
|
-
readonly campaign_key: v.
|
|
443
|
-
readonly creative_format: v.
|
|
444
|
-
readonly creative_format_variants: v.
|
|
445
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
441
|
+
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>;
|
|
442
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
443
|
+
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>;
|
|
444
|
+
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>;
|
|
445
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
446
|
+
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.">]>;
|
|
446
447
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
447
|
-
readonly notes: v.
|
|
448
|
+
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>;
|
|
448
449
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
449
450
|
url_destination: string;
|
|
450
451
|
utm_source: string;
|
|
451
452
|
utm_medium: string;
|
|
452
453
|
utm_campaign: string;
|
|
453
|
-
utm_content
|
|
454
|
-
utm_creative_format
|
|
455
|
-
utm_id
|
|
454
|
+
utm_content?: string | undefined;
|
|
455
|
+
utm_creative_format?: string | undefined;
|
|
456
|
+
utm_id?: string | undefined;
|
|
456
457
|
campaign_phase: string;
|
|
457
|
-
campaign_product
|
|
458
|
-
campaign_targeting
|
|
459
|
-
campaign_key
|
|
460
|
-
creative_format
|
|
461
|
-
creative_format_variants
|
|
458
|
+
campaign_product?: string | undefined;
|
|
459
|
+
campaign_targeting?: string | undefined;
|
|
460
|
+
campaign_key?: string | undefined;
|
|
461
|
+
creative_format?: string | undefined;
|
|
462
|
+
creative_format_variants?: string | undefined;
|
|
462
463
|
url: string;
|
|
463
464
|
is_active: boolean;
|
|
464
|
-
notes
|
|
465
|
+
notes?: string | undefined;
|
|
465
466
|
}[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
|
|
466
467
|
url_destination: string;
|
|
467
468
|
utm_source: string;
|
|
468
469
|
utm_medium: string;
|
|
469
470
|
utm_campaign: string;
|
|
470
|
-
utm_content
|
|
471
|
-
utm_creative_format
|
|
472
|
-
utm_id
|
|
471
|
+
utm_content?: string | undefined;
|
|
472
|
+
utm_creative_format?: string | undefined;
|
|
473
|
+
utm_id?: string | undefined;
|
|
473
474
|
campaign_phase: string;
|
|
474
|
-
campaign_product
|
|
475
|
-
campaign_targeting
|
|
476
|
-
campaign_key
|
|
477
|
-
creative_format
|
|
478
|
-
creative_format_variants
|
|
475
|
+
campaign_product?: string | undefined;
|
|
476
|
+
campaign_targeting?: string | undefined;
|
|
477
|
+
campaign_key?: string | undefined;
|
|
478
|
+
creative_format?: string | undefined;
|
|
479
|
+
creative_format_variants?: string | undefined;
|
|
479
480
|
url: string;
|
|
480
481
|
is_active: boolean;
|
|
481
|
-
notes
|
|
482
|
+
notes?: string | undefined;
|
|
482
483
|
}[], 100, "You can create a maximum of 100 links at once.">]>;
|
|
483
484
|
}, undefined>;
|
|
484
|
-
type SFormCreateMultipleUtmTrackingLinkDocuments = v.
|
|
485
|
+
type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferInput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
|
|
485
486
|
declare const SReadUtmTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
486
487
|
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">]>;
|
|
487
488
|
}, undefined>;
|
|
@@ -493,18 +494,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
493
494
|
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: - _ .">]>;
|
|
494
495
|
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: - _ .">]>;
|
|
495
496
|
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: - _ .">]>;
|
|
496
|
-
readonly utm_content: v.
|
|
497
|
-
readonly utm_creative_format: v.
|
|
498
|
-
readonly utm_id: v.
|
|
497
|
+
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>;
|
|
498
|
+
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>;
|
|
499
|
+
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>;
|
|
499
500
|
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.">]>;
|
|
500
|
-
readonly campaign_product: v.
|
|
501
|
-
readonly campaign_targeting: v.
|
|
502
|
-
readonly campaign_key: v.
|
|
503
|
-
readonly creative_format: v.
|
|
504
|
-
readonly creative_format_variants: v.
|
|
505
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
501
|
+
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>;
|
|
502
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
503
|
+
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>;
|
|
504
|
+
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>;
|
|
505
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
506
|
+
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.">]>;
|
|
506
507
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
507
|
-
readonly notes: v.
|
|
508
|
+
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>;
|
|
508
509
|
}, undefined>;
|
|
509
510
|
type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
|
|
510
511
|
declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
@@ -516,18 +517,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
516
517
|
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: - _ .">]>;
|
|
517
518
|
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: - _ .">]>;
|
|
518
519
|
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: - _ .">]>;
|
|
519
|
-
readonly utm_content: v.
|
|
520
|
-
readonly utm_creative_format: v.
|
|
521
|
-
readonly utm_id: v.
|
|
520
|
+
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>;
|
|
521
|
+
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>;
|
|
522
|
+
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>;
|
|
522
523
|
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.">]>;
|
|
523
|
-
readonly campaign_product: v.
|
|
524
|
-
readonly campaign_targeting: v.
|
|
525
|
-
readonly campaign_key: v.
|
|
526
|
-
readonly creative_format: v.
|
|
527
|
-
readonly creative_format_variants: v.
|
|
528
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
524
|
+
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>;
|
|
525
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
526
|
+
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>;
|
|
527
|
+
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>;
|
|
528
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
529
|
+
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.">]>;
|
|
529
530
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
530
|
-
readonly notes: v.
|
|
531
|
+
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>;
|
|
531
532
|
}, undefined>;
|
|
532
533
|
}, undefined>;
|
|
533
534
|
type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
|
package/dist/index.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
110
110
|
readonly title: 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>;
|
|
111
111
|
readonly slug: 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>;
|
|
112
112
|
readonly project_status: v.OptionalSchema<v.PicklistSchema<string[], undefined>, undefined>;
|
|
113
|
+
readonly clientId: v.OptionalSchema<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">]>, undefined>;
|
|
113
114
|
}, undefined>;
|
|
114
115
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
115
116
|
|
|
@@ -392,18 +393,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
392
393
|
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: - _ .">]>;
|
|
393
394
|
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: - _ .">]>;
|
|
394
395
|
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: - _ .">]>;
|
|
395
|
-
readonly utm_content: v.
|
|
396
|
-
readonly utm_creative_format: v.
|
|
397
|
-
readonly utm_id: v.
|
|
396
|
+
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>;
|
|
397
|
+
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>;
|
|
398
|
+
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>;
|
|
398
399
|
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.">]>;
|
|
399
|
-
readonly campaign_product: v.
|
|
400
|
-
readonly campaign_targeting: v.
|
|
401
|
-
readonly campaign_key: v.
|
|
402
|
-
readonly creative_format: v.
|
|
403
|
-
readonly creative_format_variants: v.
|
|
404
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
400
|
+
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>;
|
|
401
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
402
|
+
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>;
|
|
403
|
+
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>;
|
|
404
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
405
|
+
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.">]>;
|
|
405
406
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
406
|
-
readonly notes: v.
|
|
407
|
+
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>;
|
|
407
408
|
}, undefined>;
|
|
408
409
|
type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
|
|
409
410
|
declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
@@ -411,18 +412,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
411
412
|
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: - _ .">]>;
|
|
412
413
|
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: - _ .">]>;
|
|
413
414
|
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: - _ .">]>;
|
|
414
|
-
readonly utm_content: v.
|
|
415
|
-
readonly utm_creative_format: v.
|
|
416
|
-
readonly utm_id: v.
|
|
415
|
+
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>;
|
|
416
|
+
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>;
|
|
417
|
+
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>;
|
|
417
418
|
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.">]>;
|
|
418
|
-
readonly campaign_product: v.
|
|
419
|
-
readonly campaign_targeting: v.
|
|
420
|
-
readonly campaign_key: v.
|
|
421
|
-
readonly creative_format: v.
|
|
422
|
-
readonly creative_format_variants: v.
|
|
423
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
419
|
+
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>;
|
|
420
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
421
|
+
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>;
|
|
422
|
+
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>;
|
|
423
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
424
|
+
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.">]>;
|
|
424
425
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
425
|
-
readonly notes: v.
|
|
426
|
+
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>;
|
|
426
427
|
}, undefined>;
|
|
427
428
|
type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
|
|
428
429
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
@@ -433,55 +434,55 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
433
434
|
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: - _ .">]>;
|
|
434
435
|
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: - _ .">]>;
|
|
435
436
|
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: - _ .">]>;
|
|
436
|
-
readonly utm_content: v.
|
|
437
|
-
readonly utm_creative_format: v.
|
|
438
|
-
readonly utm_id: v.
|
|
437
|
+
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>;
|
|
438
|
+
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>;
|
|
439
|
+
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>;
|
|
439
440
|
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.">]>;
|
|
440
|
-
readonly campaign_product: v.
|
|
441
|
-
readonly campaign_targeting: v.
|
|
442
|
-
readonly campaign_key: v.
|
|
443
|
-
readonly creative_format: v.
|
|
444
|
-
readonly creative_format_variants: v.
|
|
445
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
441
|
+
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>;
|
|
442
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
443
|
+
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>;
|
|
444
|
+
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>;
|
|
445
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
446
|
+
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.">]>;
|
|
446
447
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
447
|
-
readonly notes: v.
|
|
448
|
+
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>;
|
|
448
449
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
449
450
|
url_destination: string;
|
|
450
451
|
utm_source: string;
|
|
451
452
|
utm_medium: string;
|
|
452
453
|
utm_campaign: string;
|
|
453
|
-
utm_content
|
|
454
|
-
utm_creative_format
|
|
455
|
-
utm_id
|
|
454
|
+
utm_content?: string | undefined;
|
|
455
|
+
utm_creative_format?: string | undefined;
|
|
456
|
+
utm_id?: string | undefined;
|
|
456
457
|
campaign_phase: string;
|
|
457
|
-
campaign_product
|
|
458
|
-
campaign_targeting
|
|
459
|
-
campaign_key
|
|
460
|
-
creative_format
|
|
461
|
-
creative_format_variants
|
|
458
|
+
campaign_product?: string | undefined;
|
|
459
|
+
campaign_targeting?: string | undefined;
|
|
460
|
+
campaign_key?: string | undefined;
|
|
461
|
+
creative_format?: string | undefined;
|
|
462
|
+
creative_format_variants?: string | undefined;
|
|
462
463
|
url: string;
|
|
463
464
|
is_active: boolean;
|
|
464
|
-
notes
|
|
465
|
+
notes?: string | undefined;
|
|
465
466
|
}[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
|
|
466
467
|
url_destination: string;
|
|
467
468
|
utm_source: string;
|
|
468
469
|
utm_medium: string;
|
|
469
470
|
utm_campaign: string;
|
|
470
|
-
utm_content
|
|
471
|
-
utm_creative_format
|
|
472
|
-
utm_id
|
|
471
|
+
utm_content?: string | undefined;
|
|
472
|
+
utm_creative_format?: string | undefined;
|
|
473
|
+
utm_id?: string | undefined;
|
|
473
474
|
campaign_phase: string;
|
|
474
|
-
campaign_product
|
|
475
|
-
campaign_targeting
|
|
476
|
-
campaign_key
|
|
477
|
-
creative_format
|
|
478
|
-
creative_format_variants
|
|
475
|
+
campaign_product?: string | undefined;
|
|
476
|
+
campaign_targeting?: string | undefined;
|
|
477
|
+
campaign_key?: string | undefined;
|
|
478
|
+
creative_format?: string | undefined;
|
|
479
|
+
creative_format_variants?: string | undefined;
|
|
479
480
|
url: string;
|
|
480
481
|
is_active: boolean;
|
|
481
|
-
notes
|
|
482
|
+
notes?: string | undefined;
|
|
482
483
|
}[], 100, "You can create a maximum of 100 links at once.">]>;
|
|
483
484
|
}, undefined>;
|
|
484
|
-
type SFormCreateMultipleUtmTrackingLinkDocuments = v.
|
|
485
|
+
type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferInput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
|
|
485
486
|
declare const SReadUtmTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
486
487
|
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">]>;
|
|
487
488
|
}, undefined>;
|
|
@@ -493,18 +494,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
493
494
|
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: - _ .">]>;
|
|
494
495
|
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: - _ .">]>;
|
|
495
496
|
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: - _ .">]>;
|
|
496
|
-
readonly utm_content: v.
|
|
497
|
-
readonly utm_creative_format: v.
|
|
498
|
-
readonly utm_id: v.
|
|
497
|
+
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>;
|
|
498
|
+
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>;
|
|
499
|
+
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>;
|
|
499
500
|
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.">]>;
|
|
500
|
-
readonly campaign_product: v.
|
|
501
|
-
readonly campaign_targeting: v.
|
|
502
|
-
readonly campaign_key: v.
|
|
503
|
-
readonly creative_format: v.
|
|
504
|
-
readonly creative_format_variants: v.
|
|
505
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
501
|
+
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>;
|
|
502
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
503
|
+
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>;
|
|
504
|
+
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>;
|
|
505
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
506
|
+
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.">]>;
|
|
506
507
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
507
|
-
readonly notes: v.
|
|
508
|
+
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>;
|
|
508
509
|
}, undefined>;
|
|
509
510
|
type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
|
|
510
511
|
declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
@@ -516,18 +517,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
516
517
|
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: - _ .">]>;
|
|
517
518
|
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: - _ .">]>;
|
|
518
519
|
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: - _ .">]>;
|
|
519
|
-
readonly utm_content: v.
|
|
520
|
-
readonly utm_creative_format: v.
|
|
521
|
-
readonly utm_id: v.
|
|
520
|
+
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>;
|
|
521
|
+
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>;
|
|
522
|
+
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>;
|
|
522
523
|
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.">]>;
|
|
523
|
-
readonly campaign_product: v.
|
|
524
|
-
readonly campaign_targeting: v.
|
|
525
|
-
readonly campaign_key: v.
|
|
526
|
-
readonly creative_format: v.
|
|
527
|
-
readonly creative_format_variants: v.
|
|
528
|
-
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>;
|
|
524
|
+
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>;
|
|
525
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
526
|
+
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>;
|
|
527
|
+
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>;
|
|
528
|
+
readonly creative_format_variants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
529
|
+
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.">]>;
|
|
529
530
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
530
|
-
readonly notes: v.
|
|
531
|
+
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>;
|
|
531
532
|
}, undefined>;
|
|
532
533
|
}, undefined>;
|
|
533
534
|
type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
|