@getcommunity/gc-validators 0.0.86 → 0.0.88

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
@@ -404,17 +404,20 @@ declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
404
404
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, undefined>;
405
405
  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>;
406
406
  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>;
407
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
407
408
  }, undefined>;
408
409
  type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
409
410
  declare const SCreateMediaPlatformDocument: v.ObjectSchema<{
410
411
  readonly title: 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.">]>;
411
412
  readonly slug: v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
413
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
412
414
  readonly description: 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>;
413
415
  }, undefined>;
414
416
  type SCreateMediaPlatformDocument = v.InferOutput<typeof SCreateMediaPlatformDocument>;
415
417
  declare const SUpdateMediaPlatformDocument: v.ObjectSchema<{
416
418
  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>;
417
419
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
420
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
418
421
  readonly description: 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>;
419
422
  }, undefined>;
420
423
  type SUpdateMediaPlatformDocument = v.InferOutput<typeof SUpdateMediaPlatformDocument>;
@@ -423,6 +426,7 @@ declare const SUpdateMediaPlatformDocumentRequest: v.ObjectSchema<{
423
426
  readonly data: v.ObjectSchema<{
424
427
  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>;
425
428
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
429
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
426
430
  readonly description: 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
431
  }, undefined>;
428
432
  }, undefined>;
@@ -1596,6 +1600,7 @@ type BlogPostDocument = {
1596
1600
  type MediaPlatformDocument = {
1597
1601
  title: string;
1598
1602
  slug: string;
1603
+ utm_source: string | null;
1599
1604
  logos: BlockBrandLogos | null;
1600
1605
  description: string;
1601
1606
  information: RichTextBlock[] | null;
@@ -2142,44 +2147,44 @@ declare const IsValidMediaFile: v.SchemaWithPipe<readonly [v.FileSchema<undefine
2142
2147
  declare const IsValidMediaFileList: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.FileSchema<undefined>, v.MinSizeAction<File, 1, "file is required">, v.MaxSizeAction<File, number, "file size cannot exceed 10MB">]>, undefined>, v.MinLengthAction<File[], 1, "at least one file is required">]>;
2143
2148
 
2144
2149
  declare const IsValidUrlDestination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
2145
- declare const IsValidOrUndefinedUrlDestination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
2150
+ declare const IsValidOrUndefinedUrlDestination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
2146
2151
  declare const IsValidUrlProtocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
2147
- declare const IsValidOrUndefinedUrlProtocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
2152
+ declare const IsValidOrUndefinedUrlProtocol: v.OptionalSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
2148
2153
  declare const IsValidUrlDomain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
2149
- declare const IsValidOrUndefinedUrlDomain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
2154
+ declare const IsValidOrUndefinedUrlDomain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
2150
2155
  declare const IsValidUrlPath: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>;
2151
- declare const IsValidOrUndefinedUrlPath: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
2156
+ declare const IsValidOrUndefinedUrlPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
2152
2157
  declare const IsValidUrlQuery: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>;
2153
- declare const IsValidOrUndefinedUrlQuery: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
2158
+ declare const IsValidOrUndefinedUrlQuery: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
2154
2159
  declare const IsValidUrlFragment: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>;
2155
- declare const IsValidOrUndefinedUrlFragment: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
2160
+ declare const IsValidOrUndefinedUrlFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
2156
2161
 
2157
2162
  declare const IsValidUsername: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
2158
- declare const IsValidOrUndefinedUsername: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2163
+ declare const IsValidOrUndefinedUsername: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2159
2164
  declare const IsValidUserEmail: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
2160
- declare const IsValidOrUndefinedUserEmail: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>, undefined>;
2165
+ declare const IsValidOrUndefinedUserEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>, undefined>;
2161
2166
  declare const IsValidPassword: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
2162
- declare const IsValidOrUndefinedPassword: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>, undefined>;
2167
+ declare const IsValidOrUndefinedPassword: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>, undefined>;
2163
2168
  declare const IsValidProvider: v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>;
2164
- declare const IsValidOrUndefinedProvider: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
2169
+ declare const IsValidOrUndefinedProvider: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
2165
2170
  declare const IsValidConfirmed: v.BooleanSchema<undefined>;
2166
- declare const IsValidOrUndefinedConfirmed: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
2171
+ declare const IsValidOrUndefinedConfirmed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2167
2172
  declare const IsValidBlocked: v.BooleanSchema<undefined>;
2168
- declare const IsValidOrUndefinedBlocked: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
2173
+ declare const IsValidOrUndefinedBlocked: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2169
2174
 
2170
2175
  declare const IsValidUrlUtmSource: 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: - _ .">]>;
2171
- declare const IsValidOrUndefinedUrlUtmSource: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2176
+ declare const IsValidOrUndefinedUrlUtmSource: v.OptionalSchema<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: - _ .">]>, undefined>;
2172
2177
  declare const IsValidUrlUtmMedium: 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: - _ .">]>;
2173
- declare const IsValidOrUndefinedUrlUtmMedium: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2178
+ declare const IsValidOrUndefinedUrlUtmMedium: v.OptionalSchema<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: - _ .">]>, undefined>;
2174
2179
  declare const IsValidUrlUtmCampaign: 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: - _ .">]>;
2175
- declare const IsValidOrUndefinedUrlUtmCampaign: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2180
+ declare const IsValidOrUndefinedUrlUtmCampaign: v.OptionalSchema<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: - _ .">]>, undefined>;
2176
2181
  declare const IsValidUrlUtmCreativeFormat: 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: - _ .">]>;
2177
- declare const IsValidOrUndefinedUrlUtmCreativeFormat: 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>;
2182
+ declare const IsValidOrUndefinedUrlUtmCreativeFormat: v.OptionalSchema<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>;
2178
2183
  declare const IsValidUrlUtmContent: 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: - _ .">]>;
2179
- declare const IsValidOrUndefinedUrlUtmContent: 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>;
2184
+ declare const IsValidOrUndefinedUrlUtmContent: v.OptionalSchema<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>;
2180
2185
  declare const IsValidUrlUtmTerm: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>;
2181
- declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2186
+ declare const IsValidOrUndefinedUrlUtmTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2182
2187
  declare const IsValidUrlUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>;
2183
- declare const IsValidOrUndefinedUrlUtmId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2188
+ declare const IsValidOrUndefinedUrlUtmId: v.OptionalSchema<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>;
2184
2189
 
2185
2190
  export { type AuthorizedUserDocument, type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, type BrandStyleguideColor, type BrandStyleguideFont, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientContentPillarDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientMediaPlatformDocument, type ClientProjectDocument, type ClientProjectPhase, ClientProjectPhaseOptions, ClientProjectPhaseSelectOptions, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ClientUserDocumentStatus, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, type ContentPillarDocument, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormSelectInputOption, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientProjectPhase, IsValidClientProjectStatus, IsValidClientTerm, IsValidClientUserScope, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidMediaFile, IsValidMediaFileList, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedClientProjectPhase, IsValidOrUndefinedClientProjectStatus, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, IsValidPreferredName, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringOrUndefined, IsValidSlug, IsValidSlugOrUndefined, IsValidStringList, IsValidStringListOrUndefined, IsValidStringSepListOfUrls, IsValidStringSepListOfUrlsOrUndefined, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlOrUndefined, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserPhone, IsValidUserPhoneRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmCampaignKeyNameOrUndefined, IsValidUtmLink, IsValidValue, type KeenSliderOrigin, type KeenSliderSliderSlides, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_QUERY, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_PAGINATION_MAX_SIZE, LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE, LIMIT_REDIRECT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_TAGS_DEFAULT_SIZE, LIMIT_TAGS_MAX_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, type LandingPageDocument, type LeadDocument, MAX_FILE_SIZE, MAX_FILE_SIZE_LABEL, type MediaFormat, type MediaFormats, type MediaPlatformDocument, type MediaUploadDocument, type OpenGraph, type PermissionDocument, type PolicyPageDocument, type ProductDocument, type ProductHighlightDocument, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAssociateClientToClientProjectDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectManyEntityRelation, type SConnectManyEntityRelationIn, SConnectOneEntityRelation, type SConnectOneEntityRelationIn, SCreateClientContentPillarDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientUserDocument, SCreateContentPillarDocument, SCreateLead, SCreateMediaPlatformDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateStrapiMediaUploadDocument, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDisconnectManyEntityRelation, type SDisconnectManyEntityRelationIn, SDisconnectOneEntityRelation, type SDisconnectOneEntityRelationIn, SEntityRelation, type SEntityRelationIn, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetManyEntityRelation, type SSetManyEntityRelationIn, SSetOneEntityRelation, type SSetOneEntityRelationIn, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateResumeInfo, SUpdateStrapiMediaFileInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, SVerifyClientContentPillarDocument, SVerifyClientMediaPlatformDocument, SVerifyClientUserDocument, type SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SharedRichTextBlock, SharpSpringSignUpToDownload, type SlideContent, type SlideType, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowMode, type SlideshowSettings, type StrapiAttributeErrorDetail, type StrapiAttributeErrorKey, type StrapiAttributeErrorResponse, type StrapiBgColorOptions, type StrapiDirection, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiErrorResult, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, type StrapiResponseMetaWithPagination, type StrapiSingleResponse, type StrapiTextColorOptions, type StrapiThemeOptions, type TagDocument, type TeamMemberDocument, type TeamPageDocument, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UserAccountDocument, type UserAuthorizationLoginResponse, type UserAuthorizationSuccessResponse, type UserDocument, type UtmClassificationKey, type UtmMetaPageDocument, type UtmOption, type UtmSourceKey, type UtmTrackingLinkDocument, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
package/dist/index.d.ts CHANGED
@@ -404,17 +404,20 @@ declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
404
404
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, undefined>;
405
405
  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>;
406
406
  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>;
407
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
407
408
  }, undefined>;
408
409
  type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
409
410
  declare const SCreateMediaPlatformDocument: v.ObjectSchema<{
410
411
  readonly title: 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.">]>;
411
412
  readonly slug: v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
413
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
412
414
  readonly description: 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>;
413
415
  }, undefined>;
414
416
  type SCreateMediaPlatformDocument = v.InferOutput<typeof SCreateMediaPlatformDocument>;
415
417
  declare const SUpdateMediaPlatformDocument: v.ObjectSchema<{
416
418
  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>;
417
419
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
420
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
418
421
  readonly description: 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>;
419
422
  }, undefined>;
420
423
  type SUpdateMediaPlatformDocument = v.InferOutput<typeof SUpdateMediaPlatformDocument>;
@@ -423,6 +426,7 @@ declare const SUpdateMediaPlatformDocumentRequest: v.ObjectSchema<{
423
426
  readonly data: v.ObjectSchema<{
424
427
  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>;
425
428
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [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.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
429
+ readonly utm_source: v.OptionalSchema<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: - _ .">]>, undefined>;
426
430
  readonly description: 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
431
  }, undefined>;
428
432
  }, undefined>;
@@ -1596,6 +1600,7 @@ type BlogPostDocument = {
1596
1600
  type MediaPlatformDocument = {
1597
1601
  title: string;
1598
1602
  slug: string;
1603
+ utm_source: string | null;
1599
1604
  logos: BlockBrandLogos | null;
1600
1605
  description: string;
1601
1606
  information: RichTextBlock[] | null;
@@ -2142,44 +2147,44 @@ declare const IsValidMediaFile: v.SchemaWithPipe<readonly [v.FileSchema<undefine
2142
2147
  declare const IsValidMediaFileList: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.FileSchema<undefined>, v.MinSizeAction<File, 1, "file is required">, v.MaxSizeAction<File, number, "file size cannot exceed 10MB">]>, undefined>, v.MinLengthAction<File[], 1, "at least one file is required">]>;
2143
2148
 
2144
2149
  declare const IsValidUrlDestination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
2145
- declare const IsValidOrUndefinedUrlDestination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
2150
+ declare const IsValidOrUndefinedUrlDestination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
2146
2151
  declare const IsValidUrlProtocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
2147
- declare const IsValidOrUndefinedUrlProtocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
2152
+ declare const IsValidOrUndefinedUrlProtocol: v.OptionalSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
2148
2153
  declare const IsValidUrlDomain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
2149
- declare const IsValidOrUndefinedUrlDomain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
2154
+ declare const IsValidOrUndefinedUrlDomain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
2150
2155
  declare const IsValidUrlPath: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>;
2151
- declare const IsValidOrUndefinedUrlPath: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
2156
+ declare const IsValidOrUndefinedUrlPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
2152
2157
  declare const IsValidUrlQuery: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>;
2153
- declare const IsValidOrUndefinedUrlQuery: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
2158
+ declare const IsValidOrUndefinedUrlQuery: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
2154
2159
  declare const IsValidUrlFragment: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>;
2155
- declare const IsValidOrUndefinedUrlFragment: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
2160
+ declare const IsValidOrUndefinedUrlFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
2156
2161
 
2157
2162
  declare const IsValidUsername: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
2158
- declare const IsValidOrUndefinedUsername: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2163
+ declare const IsValidOrUndefinedUsername: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2159
2164
  declare const IsValidUserEmail: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
2160
- declare const IsValidOrUndefinedUserEmail: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>, undefined>;
2165
+ declare const IsValidOrUndefinedUserEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>, undefined>;
2161
2166
  declare const IsValidPassword: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
2162
- declare const IsValidOrUndefinedPassword: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>, undefined>;
2167
+ declare const IsValidOrUndefinedPassword: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>, undefined>;
2163
2168
  declare const IsValidProvider: v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>;
2164
- declare const IsValidOrUndefinedProvider: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
2169
+ declare const IsValidOrUndefinedProvider: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
2165
2170
  declare const IsValidConfirmed: v.BooleanSchema<undefined>;
2166
- declare const IsValidOrUndefinedConfirmed: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
2171
+ declare const IsValidOrUndefinedConfirmed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2167
2172
  declare const IsValidBlocked: v.BooleanSchema<undefined>;
2168
- declare const IsValidOrUndefinedBlocked: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
2173
+ declare const IsValidOrUndefinedBlocked: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2169
2174
 
2170
2175
  declare const IsValidUrlUtmSource: 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: - _ .">]>;
2171
- declare const IsValidOrUndefinedUrlUtmSource: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2176
+ declare const IsValidOrUndefinedUrlUtmSource: v.OptionalSchema<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: - _ .">]>, undefined>;
2172
2177
  declare const IsValidUrlUtmMedium: 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: - _ .">]>;
2173
- declare const IsValidOrUndefinedUrlUtmMedium: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2178
+ declare const IsValidOrUndefinedUrlUtmMedium: v.OptionalSchema<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: - _ .">]>, undefined>;
2174
2179
  declare const IsValidUrlUtmCampaign: 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: - _ .">]>;
2175
- declare const IsValidOrUndefinedUrlUtmCampaign: v.UndefinedableSchema<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: - _ .">]>, undefined>;
2180
+ declare const IsValidOrUndefinedUrlUtmCampaign: v.OptionalSchema<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: - _ .">]>, undefined>;
2176
2181
  declare const IsValidUrlUtmCreativeFormat: 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: - _ .">]>;
2177
- declare const IsValidOrUndefinedUrlUtmCreativeFormat: 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>;
2182
+ declare const IsValidOrUndefinedUrlUtmCreativeFormat: v.OptionalSchema<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>;
2178
2183
  declare const IsValidUrlUtmContent: 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: - _ .">]>;
2179
- declare const IsValidOrUndefinedUrlUtmContent: 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>;
2184
+ declare const IsValidOrUndefinedUrlUtmContent: v.OptionalSchema<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>;
2180
2185
  declare const IsValidUrlUtmTerm: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>;
2181
- declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2186
+ declare const IsValidOrUndefinedUrlUtmTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2182
2187
  declare const IsValidUrlUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>;
2183
- declare const IsValidOrUndefinedUrlUtmId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2188
+ declare const IsValidOrUndefinedUrlUtmId: v.OptionalSchema<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>;
2184
2189
 
2185
2190
  export { type AuthorizedUserDocument, type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, type BrandStyleguideColor, type BrandStyleguideFont, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientContentPillarDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientMediaPlatformDocument, type ClientProjectDocument, type ClientProjectPhase, ClientProjectPhaseOptions, ClientProjectPhaseSelectOptions, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ClientUserDocumentStatus, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, type ContentPillarDocument, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormSelectInputOption, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientProjectPhase, IsValidClientProjectStatus, IsValidClientTerm, IsValidClientUserScope, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidMediaFile, IsValidMediaFileList, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedClientProjectPhase, IsValidOrUndefinedClientProjectStatus, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, IsValidPreferredName, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringOrUndefined, IsValidSlug, IsValidSlugOrUndefined, IsValidStringList, IsValidStringListOrUndefined, IsValidStringSepListOfUrls, IsValidStringSepListOfUrlsOrUndefined, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlOrUndefined, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserPhone, IsValidUserPhoneRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmCampaignKeyNameOrUndefined, IsValidUtmLink, IsValidValue, type KeenSliderOrigin, type KeenSliderSliderSlides, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_QUERY, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_PAGINATION_MAX_SIZE, LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE, LIMIT_REDIRECT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_TAGS_DEFAULT_SIZE, LIMIT_TAGS_MAX_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, type LandingPageDocument, type LeadDocument, MAX_FILE_SIZE, MAX_FILE_SIZE_LABEL, type MediaFormat, type MediaFormats, type MediaPlatformDocument, type MediaUploadDocument, type OpenGraph, type PermissionDocument, type PolicyPageDocument, type ProductDocument, type ProductHighlightDocument, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAssociateClientToClientProjectDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectManyEntityRelation, type SConnectManyEntityRelationIn, SConnectOneEntityRelation, type SConnectOneEntityRelationIn, SCreateClientContentPillarDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientUserDocument, SCreateContentPillarDocument, SCreateLead, SCreateMediaPlatformDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateStrapiMediaUploadDocument, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDisconnectManyEntityRelation, type SDisconnectManyEntityRelationIn, SDisconnectOneEntityRelation, type SDisconnectOneEntityRelationIn, SEntityRelation, type SEntityRelationIn, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetManyEntityRelation, type SSetManyEntityRelationIn, SSetOneEntityRelation, type SSetOneEntityRelationIn, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateResumeInfo, SUpdateStrapiMediaFileInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, SVerifyClientContentPillarDocument, SVerifyClientMediaPlatformDocument, SVerifyClientUserDocument, type SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SharedRichTextBlock, SharpSpringSignUpToDownload, type SlideContent, type SlideType, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowMode, type SlideshowSettings, type StrapiAttributeErrorDetail, type StrapiAttributeErrorKey, type StrapiAttributeErrorResponse, type StrapiBgColorOptions, type StrapiDirection, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiErrorResult, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, type StrapiResponseMetaWithPagination, type StrapiSingleResponse, type StrapiTextColorOptions, type StrapiThemeOptions, type TagDocument, type TeamMemberDocument, type TeamPageDocument, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UserAccountDocument, type UserAuthorizationLoginResponse, type UserAuthorizationSuccessResponse, type UserDocument, type UtmClassificationKey, type UtmMetaPageDocument, type UtmOption, type UtmSourceKey, type UtmTrackingLinkDocument, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
package/dist/index.js CHANGED
@@ -625,12 +625,12 @@ var IsValidUrlDestination = v5.pipe(
625
625
  ),
626
626
  v5.url("please provide a valid url")
627
627
  );
628
- var IsValidOrUndefinedUrlDestination = v5.undefinedable(IsValidUrlDestination);
628
+ var IsValidOrUndefinedUrlDestination = v5.optional(IsValidUrlDestination);
629
629
  var IsValidUrlProtocol = v5.picklist(
630
630
  ["http", "https"],
631
631
  "please provide a valid url protocol"
632
632
  );
633
- var IsValidOrUndefinedUrlProtocol = v5.undefinedable(IsValidUrlProtocol);
633
+ var IsValidOrUndefinedUrlProtocol = v5.optional(IsValidUrlProtocol);
634
634
  var IsValidUrlDomain = v5.pipe(
635
635
  v5.string("please provide a domain"),
636
636
  v5.trim(),
@@ -644,7 +644,7 @@ var IsValidUrlDomain = v5.pipe(
644
644
  ),
645
645
  v5.regex(REGEX_DOMAIN, ERROR_MESSAGE_REGEX_DOMAIN)
646
646
  );
647
- var IsValidOrUndefinedUrlDomain = v5.undefinedable(IsValidUrlDomain);
647
+ var IsValidOrUndefinedUrlDomain = v5.optional(IsValidUrlDomain);
648
648
  var IsValidUrlPath = v5.pipe(
649
649
  v5.string("please provide a url path"),
650
650
  v5.trim(),
@@ -657,7 +657,7 @@ var IsValidUrlPath = v5.pipe(
657
657
  `the url path is too long, it must be ${LIMIT_MAX_PATH} characters or less`
658
658
  )
659
659
  );
660
- var IsValidOrUndefinedUrlPath = v5.undefinedable(IsValidUrlPath);
660
+ var IsValidOrUndefinedUrlPath = v5.optional(IsValidUrlPath);
661
661
  var IsValidUrlQuery = v5.pipe(
662
662
  v5.string("please provide a url query"),
663
663
  v5.trim(),
@@ -670,7 +670,7 @@ var IsValidUrlQuery = v5.pipe(
670
670
  `the url query is too long, it must be ${LIMIT_MAX_QUERY} characters or less`
671
671
  )
672
672
  );
673
- var IsValidOrUndefinedUrlQuery = v5.undefinedable(IsValidUrlQuery);
673
+ var IsValidOrUndefinedUrlQuery = v5.optional(IsValidUrlQuery);
674
674
  var IsValidUrlFragment = v5.pipe(
675
675
  v5.string("please provide a url hash/fragment"),
676
676
  v5.trim(),
@@ -683,7 +683,7 @@ var IsValidUrlFragment = v5.pipe(
683
683
  `the url hash/fragment is too long, it must be ${LIMIT_MAX_FRAGMENT} characters or less`
684
684
  )
685
685
  );
686
- var IsValidOrUndefinedUrlFragment = v5.undefinedable(IsValidUrlFragment);
686
+ var IsValidOrUndefinedUrlFragment = v5.optional(IsValidUrlFragment);
687
687
  var IsValidUsername = v5.pipe(
688
688
  v5.string("please provide a username"),
689
689
  v5.trim(),
@@ -697,7 +697,7 @@ var IsValidUsername = v5.pipe(
697
697
  ),
698
698
  v5.regex(REGEX_UTM_VALUE, `your username ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
699
699
  );
700
- var IsValidOrUndefinedUsername = v5.undefinedable(IsValidUsername);
700
+ var IsValidOrUndefinedUsername = v5.optional(IsValidUsername);
701
701
  var IsValidUserEmail = v5.pipe(
702
702
  v5.string("please provide an email"),
703
703
  v5.trim(),
@@ -711,7 +711,7 @@ var IsValidUserEmail = v5.pipe(
711
711
  ),
712
712
  v5.email("please provide a valid email address")
713
713
  );
714
- var IsValidOrUndefinedUserEmail = v5.undefinedable(IsValidUserEmail);
714
+ var IsValidOrUndefinedUserEmail = v5.optional(IsValidUserEmail);
715
715
  var IsValidPassword = v5.pipe(
716
716
  v5.string("a password is required"),
717
717
  v5.trim(),
@@ -724,7 +724,7 @@ var IsValidPassword = v5.pipe(
724
724
  `your password is too long, it must be ${LIMIT_MAX_PASSWORD} characters or less`
725
725
  )
726
726
  );
727
- var IsValidOrUndefinedPassword = v5.undefinedable(IsValidPassword);
727
+ var IsValidOrUndefinedPassword = v5.optional(IsValidPassword);
728
728
  var IsValidProvider = v5.pipe(
729
729
  v5.string("please enter a provider"),
730
730
  v5.trim(),
@@ -733,11 +733,11 @@ var IsValidProvider = v5.pipe(
733
733
  `the provider string is too long, it must be ${LIMIT_MAX_PROVIDER} characters or less`
734
734
  )
735
735
  );
736
- var IsValidOrUndefinedProvider = v5.undefinedable(IsValidProvider);
736
+ var IsValidOrUndefinedProvider = v5.optional(IsValidProvider);
737
737
  var IsValidConfirmed = v5.boolean();
738
- var IsValidOrUndefinedConfirmed = v5.undefinedable(IsValidConfirmed);
738
+ var IsValidOrUndefinedConfirmed = v5.optional(IsValidConfirmed);
739
739
  var IsValidBlocked = v5.boolean();
740
- var IsValidOrUndefinedBlocked = v5.undefinedable(IsValidBlocked);
740
+ var IsValidOrUndefinedBlocked = v5.optional(IsValidBlocked);
741
741
  var IsValidUrlUtmSource = v5.pipe(
742
742
  v5.string(),
743
743
  v5.trim(),
@@ -751,7 +751,7 @@ var IsValidUrlUtmSource = v5.pipe(
751
751
  ),
752
752
  v5.regex(REGEX_UTM_VALUE, `utm_source ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
753
753
  );
754
- var IsValidOrUndefinedUrlUtmSource = v5.undefinedable(IsValidUrlUtmSource);
754
+ var IsValidOrUndefinedUrlUtmSource = v5.optional(IsValidUrlUtmSource);
755
755
  var IsValidUrlUtmMedium = v5.pipe(
756
756
  v5.string(),
757
757
  v5.trim(),
@@ -765,7 +765,7 @@ var IsValidUrlUtmMedium = v5.pipe(
765
765
  ),
766
766
  v5.regex(REGEX_UTM_VALUE, `utm_medium ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
767
767
  );
768
- var IsValidOrUndefinedUrlUtmMedium = v5.undefinedable(IsValidUrlUtmMedium);
768
+ var IsValidOrUndefinedUrlUtmMedium = v5.optional(IsValidUrlUtmMedium);
769
769
  var IsValidUrlUtmCampaign = v5.pipe(
770
770
  v5.string(),
771
771
  v5.trim(),
@@ -779,7 +779,7 @@ var IsValidUrlUtmCampaign = v5.pipe(
779
779
  ),
780
780
  v5.regex(REGEX_UTM_VALUE, `utm_campaign ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
781
781
  );
782
- var IsValidOrUndefinedUrlUtmCampaign = v5.undefinedable(IsValidUrlUtmCampaign);
782
+ var IsValidOrUndefinedUrlUtmCampaign = v5.optional(IsValidUrlUtmCampaign);
783
783
  var IsValidUrlUtmCreativeFormat = v5.pipe(
784
784
  v5.string(),
785
785
  v5.trim(),
@@ -793,7 +793,7 @@ var IsValidUrlUtmCreativeFormat = v5.pipe(
793
793
  ),
794
794
  v5.regex(REGEX_UTM_VALUE, `utm_creative_format ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
795
795
  );
796
- var IsValidOrUndefinedUrlUtmCreativeFormat = v5.undefinedable(
796
+ var IsValidOrUndefinedUrlUtmCreativeFormat = v5.optional(
797
797
  IsValidUrlUtmCreativeFormat
798
798
  );
799
799
  var IsValidUrlUtmContent = v5.pipe(
@@ -809,7 +809,7 @@ var IsValidUrlUtmContent = v5.pipe(
809
809
  ),
810
810
  v5.regex(REGEX_UTM_VALUE, `utm_content ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
811
811
  );
812
- var IsValidOrUndefinedUrlUtmContent = v5.undefinedable(IsValidUrlUtmContent);
812
+ var IsValidOrUndefinedUrlUtmContent = v5.optional(IsValidUrlUtmContent);
813
813
  var IsValidUrlUtmTerm = v5.pipe(
814
814
  v5.string(),
815
815
  v5.trim(),
@@ -823,7 +823,7 @@ var IsValidUrlUtmTerm = v5.pipe(
823
823
  ),
824
824
  v5.regex(REGEX_UTM_VALUE, `utm_term ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
825
825
  );
826
- var IsValidOrUndefinedUrlUtmTerm = v5.undefinedable(IsValidUrlUtmTerm);
826
+ var IsValidOrUndefinedUrlUtmTerm = v5.optional(IsValidUrlUtmTerm);
827
827
  var IsValidUrlUtmId = v5.pipe(
828
828
  v5.string(),
829
829
  v5.trim(),
@@ -837,7 +837,7 @@ var IsValidUrlUtmId = v5.pipe(
837
837
  ),
838
838
  v5.regex(REGEX_UTM_VALUE, `utm_id ${ERROR_MESSAGE_REGEX_UTM_VALUE}`)
839
839
  );
840
- var IsValidOrUndefinedUrlUtmId = v5.undefinedable(IsValidUrlUtmId);
840
+ var IsValidOrUndefinedUrlUtmId = v5.optional(IsValidUrlUtmId);
841
841
 
842
842
  // src/schemas/client-content-pillar.schemas.ts
843
843
  var QueryStrapiSearchClientContentPillars = v5.object({
@@ -1087,16 +1087,19 @@ var QueryStrapiSearchMediaPlatforms = v5.object({
1087
1087
  v5.pipe(v5.number(), v5.minValue(1), v5.maxValue(LIMIT_PAGINATION_MAX_SIZE))
1088
1088
  ),
1089
1089
  title: v5.optional(IsValidShortString),
1090
- slug: v5.optional(IsValidShortString)
1090
+ slug: v5.optional(IsValidShortString),
1091
+ utm_source: v5.optional(IsValidUrlUtmSource)
1091
1092
  });
1092
1093
  var SCreateMediaPlatformDocument = v5.object({
1093
1094
  title: IsValidShortString,
1094
1095
  slug: IsValidSlug,
1096
+ utm_source: IsValidOrUndefinedUrlUtmSource,
1095
1097
  description: IsValidLongStringOrUndefined
1096
1098
  });
1097
1099
  var SUpdateMediaPlatformDocument = v5.object({
1098
1100
  title: IsValidShortStringOrUndefined,
1099
1101
  slug: IsValidSlugOrUndefined,
1102
+ utm_source: IsValidOrUndefinedUrlUtmSource,
1100
1103
  description: IsValidLongStringOrUndefined
1101
1104
  });
1102
1105
  var SUpdateMediaPlatformDocumentRequest = v5.object({