@getcommunity/gc-validators 0.0.136 → 0.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1331,6 +1331,7 @@ type ClientUserDocumentStatus = {
|
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
1333
|
type ProductDocument = {
|
|
1334
|
+
seo?: SeoMeta;
|
|
1334
1335
|
title: string;
|
|
1335
1336
|
slug: string;
|
|
1336
1337
|
introduction: string;
|
|
@@ -2397,7 +2398,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
|
|
|
2397
2398
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2398
2399
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2399
2400
|
readonly email: 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">]>;
|
|
2400
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2401
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2401
2402
|
readonly product_interest: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>;
|
|
2402
2403
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2403
2404
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2410,7 +2411,7 @@ declare const SCreateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2410
2411
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2411
2412
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2412
2413
|
readonly email: 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">]>;
|
|
2413
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2414
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2414
2415
|
readonly product_interest: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>;
|
|
2415
2416
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2416
2417
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2422,7 +2423,7 @@ declare const SUpdateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2422
2423
|
readonly first_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>, undefined>;
|
|
2423
2424
|
readonly last_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>, undefined>;
|
|
2424
2425
|
readonly email: 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>;
|
|
2425
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2426
|
+
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
|
|
2426
2427
|
readonly product_interest: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>, undefined>;
|
|
2427
2428
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2428
2429
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2436,7 +2437,7 @@ declare const SUpdateNewsletterSignupRequest: v.ObjectSchema<{
|
|
|
2436
2437
|
readonly first_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>, undefined>;
|
|
2437
2438
|
readonly last_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>, undefined>;
|
|
2438
2439
|
readonly email: 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>;
|
|
2439
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2440
|
+
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
|
|
2440
2441
|
readonly product_interest: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>, undefined>;
|
|
2441
2442
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2442
2443
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2553,7 +2554,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
|
|
|
2553
2554
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2554
2555
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2555
2556
|
readonly email: 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">]>;
|
|
2556
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2557
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2557
2558
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2558
2559
|
readonly on_page: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 2048, "The string you provided is too long for our database, please abbreviate your string to be 2048 characters or less.">]>;
|
|
2559
2560
|
readonly captcha: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1331,6 +1331,7 @@ type ClientUserDocumentStatus = {
|
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
1333
|
type ProductDocument = {
|
|
1334
|
+
seo?: SeoMeta;
|
|
1334
1335
|
title: string;
|
|
1335
1336
|
slug: string;
|
|
1336
1337
|
introduction: string;
|
|
@@ -2397,7 +2398,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
|
|
|
2397
2398
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2398
2399
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2399
2400
|
readonly email: 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">]>;
|
|
2400
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2401
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2401
2402
|
readonly product_interest: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>;
|
|
2402
2403
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2403
2404
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2410,7 +2411,7 @@ declare const SCreateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2410
2411
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2411
2412
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2412
2413
|
readonly email: 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">]>;
|
|
2413
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2414
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2414
2415
|
readonly product_interest: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>;
|
|
2415
2416
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2416
2417
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2422,7 +2423,7 @@ declare const SUpdateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2422
2423
|
readonly first_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>, undefined>;
|
|
2423
2424
|
readonly last_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>, undefined>;
|
|
2424
2425
|
readonly email: 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>;
|
|
2425
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2426
|
+
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
|
|
2426
2427
|
readonly product_interest: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>, undefined>;
|
|
2427
2428
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2428
2429
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2436,7 +2437,7 @@ declare const SUpdateNewsletterSignupRequest: v.ObjectSchema<{
|
|
|
2436
2437
|
readonly first_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>, undefined>;
|
|
2437
2438
|
readonly last_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>, undefined>;
|
|
2438
2439
|
readonly email: 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>;
|
|
2439
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2440
|
+
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
|
|
2440
2441
|
readonly product_interest: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 255, "The product interest provided is too long. It must be 255 characters or less.">]>, undefined>;
|
|
2441
2442
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2442
2443
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2553,7 +2554,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
|
|
|
2553
2554
|
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your first name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your first name.">, v.MaxLengthAction<string, 255, "Your first name is too long for our datanase, please abbreviate your first name to be 255 characters or less.">]>;
|
|
2554
2555
|
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your last name.">, v.TrimAction, v.MinLengthAction<string, 1, "Please enter your last name.">, v.MaxLengthAction<string, 255, "Your last name is too long for our datanase, please abbreviate your last name to be 255 characters or less.">]>;
|
|
2555
2556
|
readonly email: 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">]>;
|
|
2556
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2557
|
+
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2557
2558
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2558
2559
|
readonly on_page: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 2048, "The string you provided is too long for our database, please abbreviate your string to be 2048 characters or less.">]>;
|
|
2559
2560
|
readonly captcha: v.SchemaWithPipe<readonly [v.StringSchema<"It appears you are a robot, please try again.">, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long, please abbreviate your string to be 5000 characters or less.">]>;
|
package/dist/index.js
CHANGED
|
@@ -2212,7 +2212,7 @@ var SCreateNewsletterSignup = v6.object({
|
|
|
2212
2212
|
last_name: IsValidLastName,
|
|
2213
2213
|
email: IsValidUserEmail,
|
|
2214
2214
|
// hidden fields
|
|
2215
|
-
download_key:
|
|
2215
|
+
download_key: IsValidShortStringNoMin,
|
|
2216
2216
|
product_interest: IsValidProductInterest,
|
|
2217
2217
|
email_consent: IsValidUserConsent,
|
|
2218
2218
|
sms_consent: IsValidUserConsent,
|
|
@@ -2226,7 +2226,7 @@ var SCreateNewsletterSignupDocument = v6.object({
|
|
|
2226
2226
|
last_name: IsValidLastName,
|
|
2227
2227
|
email: IsValidUserEmail,
|
|
2228
2228
|
// hidden fields
|
|
2229
|
-
download_key:
|
|
2229
|
+
download_key: IsValidShortStringNoMin,
|
|
2230
2230
|
product_interest: IsValidProductInterest,
|
|
2231
2231
|
email_consent: IsValidUserConsent,
|
|
2232
2232
|
sms_consent: IsValidUserConsent,
|
|
@@ -2238,7 +2238,7 @@ var SUpdateNewsletterSignupDocument = v6.object({
|
|
|
2238
2238
|
last_name: v6.optional(IsValidLastName),
|
|
2239
2239
|
email: v6.optional(IsValidUserEmail),
|
|
2240
2240
|
// hidden fields
|
|
2241
|
-
download_key:
|
|
2241
|
+
download_key: IsValidOrUndefinedShortStringNoMin,
|
|
2242
2242
|
product_interest: v6.optional(IsValidProductInterest),
|
|
2243
2243
|
email_consent: v6.optional(IsValidUserConsent),
|
|
2244
2244
|
sms_consent: v6.optional(IsValidUserConsent),
|
|
@@ -2333,7 +2333,7 @@ var SharpSpringSignUpToDownload = v6.object({
|
|
|
2333
2333
|
last_name: IsValidLastName,
|
|
2334
2334
|
email: IsValidUserEmail,
|
|
2335
2335
|
// hidden fields
|
|
2336
|
-
download_key:
|
|
2336
|
+
download_key: IsValidShortStringNoMin,
|
|
2337
2337
|
email_consent: IsValidUserConsent,
|
|
2338
2338
|
on_page: IsValidRefPage,
|
|
2339
2339
|
captcha: IsValidCaptchaToken,
|