@getcommunity/gc-validators 0.0.110 → 0.0.111

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
@@ -1986,6 +1986,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
1986
1986
  readonly email_consent: v.BooleanSchema<undefined>;
1987
1987
  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.">]>;
1988
1988
  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.">]>;
1989
+ readonly middle_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1989
1990
  }, undefined>;
1990
1991
  type SCreateNewsletterSignup = v.InferOutput<typeof SCreateNewsletterSignup>;
1991
1992
 
@@ -2100,6 +2101,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
2100
2101
  readonly email_consent: v.BooleanSchema<undefined>;
2101
2102
  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.">]>;
2102
2103
  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.">]>;
2104
+ readonly middle_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2103
2105
  }, undefined>;
2104
2106
  type SharpSpringSignUpToDownload = v.InferOutput<typeof SharpSpringSignUpToDownload>;
2105
2107
 
package/dist/index.d.ts CHANGED
@@ -1986,6 +1986,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
1986
1986
  readonly email_consent: v.BooleanSchema<undefined>;
1987
1987
  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.">]>;
1988
1988
  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.">]>;
1989
+ readonly middle_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1989
1990
  }, undefined>;
1990
1991
  type SCreateNewsletterSignup = v.InferOutput<typeof SCreateNewsletterSignup>;
1991
1992
 
@@ -2100,6 +2101,7 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
2100
2101
  readonly email_consent: v.BooleanSchema<undefined>;
2101
2102
  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.">]>;
2102
2103
  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.">]>;
2104
+ readonly middle_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2103
2105
  }, undefined>;
2104
2106
  type SharpSpringSignUpToDownload = v.InferOutput<typeof SharpSpringSignUpToDownload>;
2105
2107
 
package/dist/index.js CHANGED
@@ -1826,7 +1826,9 @@ var SCreateNewsletterSignup = v6.object({
1826
1826
  // hidden fields
1827
1827
  email_consent: IsValidUserConsent,
1828
1828
  on_page: IsValidRefPage,
1829
- captcha: IsValidCaptchaToken
1829
+ captcha: IsValidCaptchaToken,
1830
+ // honeypot field
1831
+ middle_name: v6.optional(v6.string())
1830
1832
  });
1831
1833
  var SCreateResume = v6.object({
1832
1834
  first_name: IsValidFirstName,
@@ -1915,7 +1917,9 @@ var SharpSpringSignUpToDownload = v6.object({
1915
1917
  download_key: IsValidShortString,
1916
1918
  email_consent: IsValidUserConsent,
1917
1919
  on_page: IsValidRefPage,
1918
- captcha: IsValidCaptchaToken
1920
+ captcha: IsValidCaptchaToken,
1921
+ // honeypot field
1922
+ middle_name: v6.optional(v6.string())
1919
1923
  });
1920
1924
  var SEntityRelationPositionBefore = v6.object({
1921
1925
  before: IsValidReferenceDocumentId