@getcommunity/gc-validators 0.0.137 → 0.0.139
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 +23 -21
- package/dist/index.d.ts +23 -21
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1330,6 +1330,23 @@ type ClientUserDocumentStatus = {
|
|
|
1330
1330
|
scopes: ClientEntityScope[];
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
|
+
type GCFlyTourSnapDocument = {
|
|
1334
|
+
title: string;
|
|
1335
|
+
slug: string;
|
|
1336
|
+
utm_key: string | null;
|
|
1337
|
+
gcflytour?: GCFlyTourDocument;
|
|
1338
|
+
} & BaseDocument;
|
|
1339
|
+
|
|
1340
|
+
type GCFlyTourDocument = {
|
|
1341
|
+
title: string;
|
|
1342
|
+
slug: string;
|
|
1343
|
+
utm_key: string | null;
|
|
1344
|
+
is_active: boolean;
|
|
1345
|
+
is_hidden: boolean;
|
|
1346
|
+
clients?: ClientDocument[];
|
|
1347
|
+
gcflytour_snaps?: GCFlyTourSnapDocument[];
|
|
1348
|
+
} & BaseDocument;
|
|
1349
|
+
|
|
1333
1350
|
type ProductDocument = {
|
|
1334
1351
|
seo?: SeoMeta;
|
|
1335
1352
|
title: string;
|
|
@@ -1378,6 +1395,7 @@ type ClientDocument = {
|
|
|
1378
1395
|
styleguides?: ClientStyleguideDocument[];
|
|
1379
1396
|
media_platforms?: ClientMediaPlatformDocument[];
|
|
1380
1397
|
content_pillars?: ClientContentPillarDocument[];
|
|
1398
|
+
gcflytours?: GCFlyTourDocument[];
|
|
1381
1399
|
} & BaseDocument;
|
|
1382
1400
|
|
|
1383
1401
|
type ContentPillarDocument = {
|
|
@@ -1394,22 +1412,6 @@ type ClientContentPillarDocument = {
|
|
|
1394
1412
|
is_active: boolean;
|
|
1395
1413
|
} & BaseDocument;
|
|
1396
1414
|
|
|
1397
|
-
type GCFlyTourDocument = {
|
|
1398
|
-
title: string;
|
|
1399
|
-
slug: string;
|
|
1400
|
-
utm_key: string | null;
|
|
1401
|
-
is_active: boolean;
|
|
1402
|
-
is_hidden: boolean;
|
|
1403
|
-
clients?: ClientDocument[];
|
|
1404
|
-
} & BaseDocument;
|
|
1405
|
-
|
|
1406
|
-
type GCFlyTourSnapDocument = {
|
|
1407
|
-
title: string;
|
|
1408
|
-
slug: string;
|
|
1409
|
-
utm_key: string | null;
|
|
1410
|
-
gcflytour?: GCFlyTourDocument;
|
|
1411
|
-
} & BaseDocument;
|
|
1412
|
-
|
|
1413
1415
|
type LeadDocument = {
|
|
1414
1416
|
first_name: string;
|
|
1415
1417
|
last_name: string;
|
|
@@ -2398,7 +2400,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
|
|
|
2398
2400
|
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.">]>;
|
|
2399
2401
|
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.">]>;
|
|
2400
2402
|
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">]>;
|
|
2401
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2403
|
+
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.">]>;
|
|
2402
2404
|
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.">]>;
|
|
2403
2405
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2404
2406
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2411,7 +2413,7 @@ declare const SCreateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2411
2413
|
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.">]>;
|
|
2412
2414
|
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.">]>;
|
|
2413
2415
|
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">]>;
|
|
2414
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2416
|
+
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.">]>;
|
|
2415
2417
|
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.">]>;
|
|
2416
2418
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2417
2419
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2423,7 +2425,7 @@ declare const SUpdateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2423
2425
|
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>;
|
|
2424
2426
|
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>;
|
|
2425
2427
|
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>;
|
|
2426
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2428
|
+
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>;
|
|
2427
2429
|
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>;
|
|
2428
2430
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2429
2431
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2437,7 +2439,7 @@ declare const SUpdateNewsletterSignupRequest: v.ObjectSchema<{
|
|
|
2437
2439
|
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>;
|
|
2438
2440
|
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>;
|
|
2439
2441
|
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>;
|
|
2440
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2442
|
+
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>;
|
|
2441
2443
|
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>;
|
|
2442
2444
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2443
2445
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2554,7 +2556,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
|
|
|
2554
2556
|
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.">]>;
|
|
2555
2557
|
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.">]>;
|
|
2556
2558
|
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">]>;
|
|
2557
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2559
|
+
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.">]>;
|
|
2558
2560
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2559
2561
|
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.">]>;
|
|
2560
2562
|
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
|
@@ -1330,6 +1330,23 @@ type ClientUserDocumentStatus = {
|
|
|
1330
1330
|
scopes: ClientEntityScope[];
|
|
1331
1331
|
};
|
|
1332
1332
|
|
|
1333
|
+
type GCFlyTourSnapDocument = {
|
|
1334
|
+
title: string;
|
|
1335
|
+
slug: string;
|
|
1336
|
+
utm_key: string | null;
|
|
1337
|
+
gcflytour?: GCFlyTourDocument;
|
|
1338
|
+
} & BaseDocument;
|
|
1339
|
+
|
|
1340
|
+
type GCFlyTourDocument = {
|
|
1341
|
+
title: string;
|
|
1342
|
+
slug: string;
|
|
1343
|
+
utm_key: string | null;
|
|
1344
|
+
is_active: boolean;
|
|
1345
|
+
is_hidden: boolean;
|
|
1346
|
+
clients?: ClientDocument[];
|
|
1347
|
+
gcflytour_snaps?: GCFlyTourSnapDocument[];
|
|
1348
|
+
} & BaseDocument;
|
|
1349
|
+
|
|
1333
1350
|
type ProductDocument = {
|
|
1334
1351
|
seo?: SeoMeta;
|
|
1335
1352
|
title: string;
|
|
@@ -1378,6 +1395,7 @@ type ClientDocument = {
|
|
|
1378
1395
|
styleguides?: ClientStyleguideDocument[];
|
|
1379
1396
|
media_platforms?: ClientMediaPlatformDocument[];
|
|
1380
1397
|
content_pillars?: ClientContentPillarDocument[];
|
|
1398
|
+
gcflytours?: GCFlyTourDocument[];
|
|
1381
1399
|
} & BaseDocument;
|
|
1382
1400
|
|
|
1383
1401
|
type ContentPillarDocument = {
|
|
@@ -1394,22 +1412,6 @@ type ClientContentPillarDocument = {
|
|
|
1394
1412
|
is_active: boolean;
|
|
1395
1413
|
} & BaseDocument;
|
|
1396
1414
|
|
|
1397
|
-
type GCFlyTourDocument = {
|
|
1398
|
-
title: string;
|
|
1399
|
-
slug: string;
|
|
1400
|
-
utm_key: string | null;
|
|
1401
|
-
is_active: boolean;
|
|
1402
|
-
is_hidden: boolean;
|
|
1403
|
-
clients?: ClientDocument[];
|
|
1404
|
-
} & BaseDocument;
|
|
1405
|
-
|
|
1406
|
-
type GCFlyTourSnapDocument = {
|
|
1407
|
-
title: string;
|
|
1408
|
-
slug: string;
|
|
1409
|
-
utm_key: string | null;
|
|
1410
|
-
gcflytour?: GCFlyTourDocument;
|
|
1411
|
-
} & BaseDocument;
|
|
1412
|
-
|
|
1413
1415
|
type LeadDocument = {
|
|
1414
1416
|
first_name: string;
|
|
1415
1417
|
last_name: string;
|
|
@@ -2398,7 +2400,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
|
|
|
2398
2400
|
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.">]>;
|
|
2399
2401
|
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.">]>;
|
|
2400
2402
|
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">]>;
|
|
2401
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2403
|
+
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.">]>;
|
|
2402
2404
|
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.">]>;
|
|
2403
2405
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2404
2406
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2411,7 +2413,7 @@ declare const SCreateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2411
2413
|
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.">]>;
|
|
2412
2414
|
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.">]>;
|
|
2413
2415
|
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">]>;
|
|
2414
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2416
|
+
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.">]>;
|
|
2415
2417
|
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.">]>;
|
|
2416
2418
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2417
2419
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
@@ -2423,7 +2425,7 @@ declare const SUpdateNewsletterSignupDocument: v.ObjectSchema<{
|
|
|
2423
2425
|
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>;
|
|
2424
2426
|
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>;
|
|
2425
2427
|
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>;
|
|
2426
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2428
|
+
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>;
|
|
2427
2429
|
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>;
|
|
2428
2430
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2429
2431
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2437,7 +2439,7 @@ declare const SUpdateNewsletterSignupRequest: v.ObjectSchema<{
|
|
|
2437
2439
|
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>;
|
|
2438
2440
|
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>;
|
|
2439
2441
|
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>;
|
|
2440
|
-
readonly download_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2442
|
+
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>;
|
|
2441
2443
|
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>;
|
|
2442
2444
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2443
2445
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2554,7 +2556,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
|
|
|
2554
2556
|
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.">]>;
|
|
2555
2557
|
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.">]>;
|
|
2556
2558
|
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">]>;
|
|
2557
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
2559
|
+
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.">]>;
|
|
2558
2560
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2559
2561
|
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.">]>;
|
|
2560
2562
|
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,
|