@getcommunity/gc-validators 0.0.106 → 0.0.107
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 +8 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1882,6 +1882,7 @@ declare const SCreateLeadDocument: v.ObjectSchema<{
|
|
|
1882
1882
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
1883
1883
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
1884
1884
|
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.">]>;
|
|
1885
|
+
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.">]>;
|
|
1885
1886
|
}, undefined>;
|
|
1886
1887
|
type SCreateLeadDocument = v.InferOutput<typeof SCreateLeadDocument>;
|
|
1887
1888
|
declare const SUpdateLead: v.ObjectSchema<{
|
|
@@ -1911,6 +1912,7 @@ declare const SUpdateLeadDocument: v.ObjectSchema<{
|
|
|
1911
1912
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1912
1913
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1913
1914
|
readonly on_page: v.OptionalSchema<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.">]>, undefined>;
|
|
1915
|
+
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.">]>;
|
|
1914
1916
|
}, undefined>;
|
|
1915
1917
|
type SUpdateLeadDocument = v.InferOutput<typeof SUpdateLeadDocument>;
|
|
1916
1918
|
declare const SUpdateLeadRequest: v.ObjectSchema<{
|
|
@@ -2029,6 +2031,7 @@ declare const SCreateResumeInfoDocument: v.ObjectSchema<{
|
|
|
2029
2031
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2030
2032
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
2031
2033
|
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.">]>;
|
|
2034
|
+
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.">]>;
|
|
2032
2035
|
}, undefined>;
|
|
2033
2036
|
type SCreateResumeInfoDocument = v.InferOutput<typeof SCreateResumeInfoDocument>;
|
|
2034
2037
|
declare const SUpdateResumeInfo: v.ObjectSchema<{
|
|
@@ -2062,6 +2065,7 @@ declare const SUpdateResumeInfoDocument: v.ObjectSchema<{
|
|
|
2062
2065
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2063
2066
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2064
2067
|
readonly on_page: v.OptionalSchema<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.">]>, undefined>;
|
|
2068
|
+
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.">]>;
|
|
2065
2069
|
}, undefined>;
|
|
2066
2070
|
type SUpdateResumeInfoDocument = v.InferOutput<typeof SUpdateResumeInfoDocument>;
|
|
2067
2071
|
declare const SUpdateResumeInfoRequest: v.ObjectSchema<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1882,6 +1882,7 @@ declare const SCreateLeadDocument: v.ObjectSchema<{
|
|
|
1882
1882
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
1883
1883
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
1884
1884
|
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.">]>;
|
|
1885
|
+
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.">]>;
|
|
1885
1886
|
}, undefined>;
|
|
1886
1887
|
type SCreateLeadDocument = v.InferOutput<typeof SCreateLeadDocument>;
|
|
1887
1888
|
declare const SUpdateLead: v.ObjectSchema<{
|
|
@@ -1911,6 +1912,7 @@ declare const SUpdateLeadDocument: v.ObjectSchema<{
|
|
|
1911
1912
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1912
1913
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1913
1914
|
readonly on_page: v.OptionalSchema<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.">]>, undefined>;
|
|
1915
|
+
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.">]>;
|
|
1914
1916
|
}, undefined>;
|
|
1915
1917
|
type SUpdateLeadDocument = v.InferOutput<typeof SUpdateLeadDocument>;
|
|
1916
1918
|
declare const SUpdateLeadRequest: v.ObjectSchema<{
|
|
@@ -2029,6 +2031,7 @@ declare const SCreateResumeInfoDocument: v.ObjectSchema<{
|
|
|
2029
2031
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
2030
2032
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
2031
2033
|
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.">]>;
|
|
2034
|
+
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.">]>;
|
|
2032
2035
|
}, undefined>;
|
|
2033
2036
|
type SCreateResumeInfoDocument = v.InferOutput<typeof SCreateResumeInfoDocument>;
|
|
2034
2037
|
declare const SUpdateResumeInfo: v.ObjectSchema<{
|
|
@@ -2062,6 +2065,7 @@ declare const SUpdateResumeInfoDocument: v.ObjectSchema<{
|
|
|
2062
2065
|
readonly email_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2063
2066
|
readonly sms_consent: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2064
2067
|
readonly on_page: v.OptionalSchema<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.">]>, undefined>;
|
|
2068
|
+
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.">]>;
|
|
2065
2069
|
}, undefined>;
|
|
2066
2070
|
type SUpdateResumeInfoDocument = v.InferOutput<typeof SUpdateResumeInfoDocument>;
|
|
2067
2071
|
declare const SUpdateResumeInfoRequest: v.ObjectSchema<{
|
package/dist/index.js
CHANGED
|
@@ -1737,7 +1737,6 @@ var SCreateLead = v6.object({
|
|
|
1737
1737
|
sms_consent: IsValidUserConsent,
|
|
1738
1738
|
// hidden fields
|
|
1739
1739
|
on_page: IsValidRefPage,
|
|
1740
|
-
// recaptcha - not saved to db
|
|
1741
1740
|
captcha: IsValidCaptchaToken
|
|
1742
1741
|
});
|
|
1743
1742
|
var SCreateLeadDocument = v6.object({
|
|
@@ -1752,7 +1751,8 @@ var SCreateLeadDocument = v6.object({
|
|
|
1752
1751
|
email_consent: IsValidUserConsent,
|
|
1753
1752
|
sms_consent: IsValidUserConsent,
|
|
1754
1753
|
// hidden fields
|
|
1755
|
-
on_page: IsValidRefPage
|
|
1754
|
+
on_page: IsValidRefPage,
|
|
1755
|
+
captcha: IsValidCaptchaToken
|
|
1756
1756
|
});
|
|
1757
1757
|
var SUpdateLead = v6.object({
|
|
1758
1758
|
first_name: v6.optional(IsValidFirstName),
|
|
@@ -1767,7 +1767,6 @@ var SUpdateLead = v6.object({
|
|
|
1767
1767
|
sms_consent: v6.optional(IsValidUserConsent),
|
|
1768
1768
|
// hidden fields
|
|
1769
1769
|
on_page: v6.optional(IsValidRefPage),
|
|
1770
|
-
// recaptcha - not saved to db
|
|
1771
1770
|
captcha: IsValidCaptchaToken
|
|
1772
1771
|
});
|
|
1773
1772
|
var SUpdateLeadDocument = v6.object({
|
|
@@ -1782,7 +1781,8 @@ var SUpdateLeadDocument = v6.object({
|
|
|
1782
1781
|
email_consent: v6.optional(IsValidUserConsent),
|
|
1783
1782
|
sms_consent: v6.optional(IsValidUserConsent),
|
|
1784
1783
|
// hidden fields
|
|
1785
|
-
on_page: v6.optional(IsValidRefPage)
|
|
1784
|
+
on_page: v6.optional(IsValidRefPage),
|
|
1785
|
+
captcha: IsValidCaptchaToken
|
|
1786
1786
|
});
|
|
1787
1787
|
var SUpdateLeadRequest = v6.object({
|
|
1788
1788
|
documentId: IsValidReferenceDocumentId,
|
|
@@ -1842,7 +1842,6 @@ var SCreateResume = v6.object({
|
|
|
1842
1842
|
sms_consent: IsValidUserConsent,
|
|
1843
1843
|
// hidden fields
|
|
1844
1844
|
on_page: IsValidRefPage,
|
|
1845
|
-
// recaptcha - not saved to db
|
|
1846
1845
|
captcha: IsValidCaptchaToken
|
|
1847
1846
|
});
|
|
1848
1847
|
var SCreateResumeInfo = v6.object({
|
|
@@ -1858,7 +1857,6 @@ var SCreateResumeInfo = v6.object({
|
|
|
1858
1857
|
sms_consent: IsValidUserConsent,
|
|
1859
1858
|
// hidden fields
|
|
1860
1859
|
on_page: IsValidRefPage,
|
|
1861
|
-
// recaptcha - not saved to db
|
|
1862
1860
|
captcha: IsValidCaptchaToken
|
|
1863
1861
|
});
|
|
1864
1862
|
var SCreateResumeInfoDocument = v6.object({
|
|
@@ -1873,7 +1871,8 @@ var SCreateResumeInfoDocument = v6.object({
|
|
|
1873
1871
|
email_consent: IsValidUserConsent,
|
|
1874
1872
|
sms_consent: IsValidUserConsent,
|
|
1875
1873
|
// hidden fields
|
|
1876
|
-
on_page: IsValidRefPage
|
|
1874
|
+
on_page: IsValidRefPage,
|
|
1875
|
+
captcha: IsValidCaptchaToken
|
|
1877
1876
|
});
|
|
1878
1877
|
var SUpdateResumeInfo = v6.object({
|
|
1879
1878
|
first_name: v6.optional(IsValidFirstName),
|
|
@@ -1888,7 +1887,6 @@ var SUpdateResumeInfo = v6.object({
|
|
|
1888
1887
|
sms_consent: v6.optional(IsValidUserConsent),
|
|
1889
1888
|
// hidden fields
|
|
1890
1889
|
on_page: v6.optional(IsValidRefPage),
|
|
1891
|
-
// recaptcha - not saved to db
|
|
1892
1890
|
captcha: IsValidCaptchaToken
|
|
1893
1891
|
});
|
|
1894
1892
|
var SUpdateResumeInfoDocument = v6.object({
|
|
@@ -1903,7 +1901,8 @@ var SUpdateResumeInfoDocument = v6.object({
|
|
|
1903
1901
|
email_consent: v6.optional(IsValidUserConsent),
|
|
1904
1902
|
sms_consent: v6.optional(IsValidUserConsent),
|
|
1905
1903
|
// hidden fields
|
|
1906
|
-
on_page: v6.optional(IsValidRefPage)
|
|
1904
|
+
on_page: v6.optional(IsValidRefPage),
|
|
1905
|
+
captcha: IsValidCaptchaToken
|
|
1907
1906
|
});
|
|
1908
1907
|
var SUpdateResumeInfoRequest = v6.object({
|
|
1909
1908
|
documentId: IsValidReferenceDocumentId,
|