@getcommunity/gc-validators 0.0.19 → 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.d.cts CHANGED
@@ -393,18 +393,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
393
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: - _ .">]>;
394
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: - _ .">]>;
395
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: - _ .">]>;
396
- 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>;
397
- 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>;
398
- 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>;
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>;
399
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.">]>;
400
- 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>;
401
- 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>;
402
- 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>;
403
- 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>;
404
- 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>;
405
- 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.">]>;
406
406
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
407
- 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>;
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>;
408
408
  }, undefined>;
409
409
  type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
410
410
  declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
@@ -412,18 +412,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
412
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: - _ .">]>;
413
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: - _ .">]>;
414
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: - _ .">]>;
415
- 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>;
416
- 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>;
417
- 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>;
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>;
418
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.">]>;
419
- 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>;
420
- 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>;
421
- 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>;
422
- 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>;
423
- 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>;
424
- 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.">]>;
425
425
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
426
- 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>;
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>;
427
427
  }, undefined>;
428
428
  type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
429
429
  declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
@@ -434,55 +434,55 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
434
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: - _ .">]>;
435
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: - _ .">]>;
436
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: - _ .">]>;
437
- 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>;
438
- 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>;
439
- 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>;
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>;
440
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.">]>;
441
- 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>;
442
- 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>;
443
- 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>;
444
- 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>;
445
- 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>;
446
- 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.">]>;
447
447
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
448
- 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>;
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>;
449
449
  }, undefined>, undefined>, v.MinLengthAction<{
450
450
  url_destination: string;
451
451
  utm_source: string;
452
452
  utm_medium: string;
453
453
  utm_campaign: string;
454
- utm_content: string | undefined;
455
- utm_creative_format: string | undefined;
456
- utm_id: string | undefined;
454
+ utm_content?: string | undefined;
455
+ utm_creative_format?: string | undefined;
456
+ utm_id?: string | undefined;
457
457
  campaign_phase: string;
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;
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;
463
463
  url: string;
464
464
  is_active: boolean;
465
- notes: string | undefined;
465
+ notes?: string | undefined;
466
466
  }[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
467
467
  url_destination: string;
468
468
  utm_source: string;
469
469
  utm_medium: string;
470
470
  utm_campaign: string;
471
- utm_content: string | undefined;
472
- utm_creative_format: string | undefined;
473
- utm_id: string | undefined;
471
+ utm_content?: string | undefined;
472
+ utm_creative_format?: string | undefined;
473
+ utm_id?: string | undefined;
474
474
  campaign_phase: string;
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;
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;
480
480
  url: string;
481
481
  is_active: boolean;
482
- notes: string | undefined;
482
+ notes?: string | undefined;
483
483
  }[], 100, "You can create a maximum of 100 links at once.">]>;
484
484
  }, undefined>;
485
- type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferOutput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
485
+ type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferInput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
486
486
  declare const SReadUtmTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
487
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">]>;
488
488
  }, undefined>;
@@ -494,18 +494,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
494
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: - _ .">]>;
495
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: - _ .">]>;
496
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: - _ .">]>;
497
- 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>;
498
- 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>;
499
- 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>;
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>;
500
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.">]>;
501
- 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>;
502
- 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>;
503
- 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>;
504
- 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>;
505
- 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>;
506
- 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.">]>;
507
507
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
508
- 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>;
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>;
509
509
  }, undefined>;
510
510
  type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
511
511
  declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
@@ -517,18 +517,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
517
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: - _ .">]>;
518
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: - _ .">]>;
519
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: - _ .">]>;
520
- 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>;
521
- 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>;
522
- 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>;
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>;
523
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.">]>;
524
- 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>;
525
- 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>;
526
- 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>;
527
- 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>;
528
- 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>;
529
- 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.">]>;
530
530
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
531
- 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>;
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>;
532
532
  }, undefined>;
533
533
  }, undefined>;
534
534
  type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;
package/dist/index.d.ts CHANGED
@@ -393,18 +393,18 @@ declare const SCreateUtmTrackingLinkDocument: v.ObjectSchema<{
393
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: - _ .">]>;
394
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: - _ .">]>;
395
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: - _ .">]>;
396
- 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>;
397
- 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>;
398
- 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>;
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>;
399
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.">]>;
400
- 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>;
401
- 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>;
402
- 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>;
403
- 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>;
404
- 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>;
405
- 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.">]>;
406
406
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
407
- 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>;
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>;
408
408
  }, undefined>;
409
409
  type SCreateUtmTrackingLinkDocument = v.InferOutput<typeof SCreateUtmTrackingLinkDocument>;
410
410
  declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
@@ -412,18 +412,18 @@ declare const SCreateUtmTrackingLinkParts: v.ObjectSchema<{
412
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: - _ .">]>;
413
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: - _ .">]>;
414
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: - _ .">]>;
415
- 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>;
416
- 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>;
417
- 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>;
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>;
418
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.">]>;
419
- 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>;
420
- 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>;
421
- 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>;
422
- 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>;
423
- 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>;
424
- 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.">]>;
425
425
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
426
- 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>;
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>;
427
427
  }, undefined>;
428
428
  type SCreateUtmTrackingLinkParts = v.InferOutput<typeof SCreateUtmTrackingLinkParts>;
429
429
  declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
@@ -434,55 +434,55 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
434
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: - _ .">]>;
435
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: - _ .">]>;
436
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: - _ .">]>;
437
- 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>;
438
- 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>;
439
- 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>;
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>;
440
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.">]>;
441
- 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>;
442
- 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>;
443
- 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>;
444
- 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>;
445
- 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>;
446
- 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.">]>;
447
447
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
448
- 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>;
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>;
449
449
  }, undefined>, undefined>, v.MinLengthAction<{
450
450
  url_destination: string;
451
451
  utm_source: string;
452
452
  utm_medium: string;
453
453
  utm_campaign: string;
454
- utm_content: string | undefined;
455
- utm_creative_format: string | undefined;
456
- utm_id: string | undefined;
454
+ utm_content?: string | undefined;
455
+ utm_creative_format?: string | undefined;
456
+ utm_id?: string | undefined;
457
457
  campaign_phase: string;
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;
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;
463
463
  url: string;
464
464
  is_active: boolean;
465
- notes: string | undefined;
465
+ notes?: string | undefined;
466
466
  }[], 1, "You must provide at least one link to create.">, v.MaxLengthAction<{
467
467
  url_destination: string;
468
468
  utm_source: string;
469
469
  utm_medium: string;
470
470
  utm_campaign: string;
471
- utm_content: string | undefined;
472
- utm_creative_format: string | undefined;
473
- utm_id: string | undefined;
471
+ utm_content?: string | undefined;
472
+ utm_creative_format?: string | undefined;
473
+ utm_id?: string | undefined;
474
474
  campaign_phase: string;
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;
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;
480
480
  url: string;
481
481
  is_active: boolean;
482
- notes: string | undefined;
482
+ notes?: string | undefined;
483
483
  }[], 100, "You can create a maximum of 100 links at once.">]>;
484
484
  }, undefined>;
485
- type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferOutput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
485
+ type SFormCreateMultipleUtmTrackingLinkDocuments = v.InferInput<typeof SFormCreateMultipleUtmTrackingLinkDocuments>;
486
486
  declare const SReadUtmTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
487
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">]>;
488
488
  }, undefined>;
@@ -494,18 +494,18 @@ declare const SUpdateUtmTrackingLinkDocument: v.ObjectSchema<{
494
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: - _ .">]>;
495
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: - _ .">]>;
496
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: - _ .">]>;
497
- 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>;
498
- 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>;
499
- 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>;
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>;
500
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.">]>;
501
- 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>;
502
- 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>;
503
- 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>;
504
- 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>;
505
- 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>;
506
- 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.">]>;
507
507
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
508
- 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>;
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>;
509
509
  }, undefined>;
510
510
  type SUpdateUtmTrackingLinkDocument = v.InferOutput<typeof SUpdateUtmTrackingLinkDocument>;
511
511
  declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
@@ -517,18 +517,18 @@ declare const SUpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
517
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: - _ .">]>;
518
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: - _ .">]>;
519
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: - _ .">]>;
520
- 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>;
521
- 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>;
522
- 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>;
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>;
523
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.">]>;
524
- 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>;
525
- 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>;
526
- 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>;
527
- 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>;
528
- 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>;
529
- 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.">]>;
530
530
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
531
- 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>;
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>;
532
532
  }, undefined>;
533
533
  }, undefined>;
534
534
  type SUpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateUtmTrackingLinkDocumentRequest>;