@getcommunity/gc-validators 0.0.10 → 0.0.12
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 +89 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +744 -71
- package/dist/index.d.ts +744 -71
- package/dist/index.js +87 -62
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
|
|
3
|
+
declare const LIMIT_MIN_VALUE = 1;
|
|
4
|
+
declare const LIMIT_MIN_NAME = 2;
|
|
5
|
+
declare const LIMIT_MAX_DESCRIPTION = 1024;
|
|
6
|
+
declare const LIMIT_SHORT_STRING_MAX_LENGTH = 255;
|
|
7
|
+
declare const LIMIT_MEDIUM_STRING_MAX_LENGTH = 500;
|
|
8
|
+
declare const LIMIT_LONG_STRING_MAX_LENGTH = 5000;
|
|
9
|
+
declare const LIMIT_MIN_USERNAME = 3;
|
|
10
|
+
declare const LIMIT_MAX_USERNAME = 255;
|
|
11
|
+
declare const LIMIT_MIN_EMAIL = 5;
|
|
12
|
+
declare const LIMIT_MAX_EMAIL = 255;
|
|
13
|
+
declare const LIMIT_MIN_PASSWORD = 8;
|
|
14
|
+
declare const LIMIT_MAX_PASSWORD = 255;
|
|
15
|
+
declare const LIMIT_MAX_PROVIDER = 255;
|
|
16
|
+
declare const LIMIT_MIN_DESTINATION = 10;
|
|
17
|
+
declare const LIMIT_MAX_DESTINATION = 2048;
|
|
18
|
+
declare const LIMIT_MIN_DOMAIN = 10;
|
|
19
|
+
declare const LIMIT_MAX_DOMAIN = 253;
|
|
20
|
+
declare const LIMIT_MIN_PATH = 1;
|
|
21
|
+
declare const LIMIT_MAX_PATH = 2038;
|
|
22
|
+
declare const LIMIT_MIN_QUERY = 1;
|
|
23
|
+
declare const LIMIT_MAX_QUERY = 2038;
|
|
24
|
+
declare const LIMIT_MIN_FRAGMENT = 1;
|
|
25
|
+
declare const LIMIT_MAX_FRAGMENT = 2038;
|
|
26
|
+
declare const LIMIT_MIN_UTM_SOURCE = 1;
|
|
27
|
+
declare const LIMIT_MAX_UTM_SOURCE = 2026;
|
|
28
|
+
declare const LIMIT_MIN_UTM_MEDIUM = 1;
|
|
29
|
+
declare const LIMIT_MAX_UTM_MEDIUM = 2026;
|
|
30
|
+
declare const LIMIT_MIN_UTM_CAMPAIGN = 1;
|
|
31
|
+
declare const LIMIT_MAX_UTM_CAMPAIGN = 2024;
|
|
32
|
+
declare const LIMIT_MIN_UTM_CREATIVE_FORMAT = 1;
|
|
33
|
+
declare const LIMIT_MAX_UTM_CREATIVE_FORMAT = 2017;
|
|
34
|
+
declare const LIMIT_MIN_UTM_CONTENT = 1;
|
|
35
|
+
declare const LIMIT_MAX_UTM_CONTENT = 2025;
|
|
36
|
+
declare const LIMIT_MIN_UTM_TERM = 1;
|
|
37
|
+
declare const LIMIT_MAX_UTM_TERM = 2028;
|
|
38
|
+
declare const LIMIT_MIN_UTM_ID = 1;
|
|
39
|
+
declare const LIMIT_MAX_UTM_ID = 2030;
|
|
40
|
+
|
|
3
41
|
declare const LIMIT_PAGINATION_DEFAULT_SIZE = 100;
|
|
4
42
|
declare const LIMIT_PAGINATION_MAX_SIZE = 10000;
|
|
5
43
|
declare const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
@@ -31,6 +69,7 @@ declare const LIMIT_TAGS_MAX_SIZE = 1000;
|
|
|
31
69
|
* > const invalidScope: ClientEntityScope = "website:import"; // ❌ Type error!
|
|
32
70
|
*/
|
|
33
71
|
declare const CLIENT_ENTITY_PERMISSIONS: {
|
|
72
|
+
readonly "client-project": readonly ["list", "create", "read", "update", "delete", "export", "import"];
|
|
34
73
|
readonly "client-report": readonly ["list", "create", "read", "update", "delete", "export", "import"];
|
|
35
74
|
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete", "export", "import"];
|
|
36
75
|
};
|
|
@@ -43,44 +82,6 @@ type ClientEntityScope = {
|
|
|
43
82
|
declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
|
|
44
83
|
declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
|
|
45
84
|
|
|
46
|
-
declare const LIMIT_MIN_VALUE = 1;
|
|
47
|
-
declare const LIMIT_MIN_NAME = 2;
|
|
48
|
-
declare const LIMIT_MAX_DESCRIPTION = 1024;
|
|
49
|
-
declare const LIMIT_SHORT_STRING_MAX_LENGTH = 255;
|
|
50
|
-
declare const LIMIT_MEDIUM_STRING_MAX_LENGTH = 500;
|
|
51
|
-
declare const LIMIT_LONG_STRING_MAX_LENGTH = 5000;
|
|
52
|
-
declare const LIMIT_MIN_USERNAME = 3;
|
|
53
|
-
declare const LIMIT_MAX_USERNAME = 255;
|
|
54
|
-
declare const LIMIT_MIN_EMAIL = 5;
|
|
55
|
-
declare const LIMIT_MAX_EMAIL = 255;
|
|
56
|
-
declare const LIMIT_MIN_PASSWORD = 8;
|
|
57
|
-
declare const LIMIT_MAX_PASSWORD = 255;
|
|
58
|
-
declare const LIMIT_MAX_PROVIDER = 255;
|
|
59
|
-
declare const LIMIT_MIN_DESTINATION = 10;
|
|
60
|
-
declare const LIMIT_MAX_DESTINATION = 2048;
|
|
61
|
-
declare const LIMIT_MIN_DOMAIN = 10;
|
|
62
|
-
declare const LIMIT_MAX_DOMAIN = 253;
|
|
63
|
-
declare const LIMIT_MIN_PATH = 1;
|
|
64
|
-
declare const LIMIT_MAX_PATH = 2038;
|
|
65
|
-
declare const LIMIT_MIN_QUERY = 1;
|
|
66
|
-
declare const LIMIT_MAX_QUERY = 2038;
|
|
67
|
-
declare const LIMIT_MIN_FRAGMENT = 1;
|
|
68
|
-
declare const LIMIT_MAX_FRAGMENT = 2038;
|
|
69
|
-
declare const LIMIT_MIN_UTM_SOURCE = 1;
|
|
70
|
-
declare const LIMIT_MAX_UTM_SOURCE = 2026;
|
|
71
|
-
declare const LIMIT_MIN_UTM_MEDIUM = 1;
|
|
72
|
-
declare const LIMIT_MAX_UTM_MEDIUM = 2026;
|
|
73
|
-
declare const LIMIT_MIN_UTM_CAMPAIGN = 1;
|
|
74
|
-
declare const LIMIT_MAX_UTM_CAMPAIGN = 2024;
|
|
75
|
-
declare const LIMIT_MIN_UTM_CREATIVE_FORMAT = 1;
|
|
76
|
-
declare const LIMIT_MAX_UTM_CREATIVE_FORMAT = 2017;
|
|
77
|
-
declare const LIMIT_MIN_UTM_CONTENT = 1;
|
|
78
|
-
declare const LIMIT_MAX_UTM_CONTENT = 2025;
|
|
79
|
-
declare const LIMIT_MIN_UTM_TERM = 1;
|
|
80
|
-
declare const LIMIT_MAX_UTM_TERM = 2028;
|
|
81
|
-
declare const LIMIT_MIN_UTM_ID = 1;
|
|
82
|
-
declare const LIMIT_MAX_UTM_ID = 2030;
|
|
83
|
-
|
|
84
85
|
declare const ERROR_MESSAGE_REGEX_DOMAIN = "please provide a valid domain name";
|
|
85
86
|
declare const REGEX_DOMAIN: RegExp;
|
|
86
87
|
declare const ERROR_MESSAGE_REGEX_UTM_VALUE = "can only contain letters, numbers, and the special characters: - _ .";
|
|
@@ -101,6 +102,22 @@ declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
|
101
102
|
}, undefined>;
|
|
102
103
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
103
104
|
|
|
105
|
+
declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
106
|
+
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
107
|
+
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
|
|
108
|
+
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>;
|
|
109
|
+
readonly teamwork_id: 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>;
|
|
110
|
+
readonly teamwork_name: 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>;
|
|
111
|
+
readonly utm_sheet_id: 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>;
|
|
112
|
+
readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
113
|
+
readonly classification: v.OptionalSchema<v.PicklistSchema<["organic", "paid"], undefined>, undefined>;
|
|
114
|
+
readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
115
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
116
|
+
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
117
|
+
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
118
|
+
}, undefined>;
|
|
119
|
+
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
120
|
+
|
|
104
121
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
105
122
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
106
123
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
|
|
@@ -115,7 +132,7 @@ declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
|
115
132
|
}, undefined>;
|
|
116
133
|
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
117
134
|
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
118
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
135
|
+
readonly slug: 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.">]>;
|
|
119
136
|
}, undefined>;
|
|
120
137
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
121
138
|
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
@@ -127,7 +144,7 @@ declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
|
127
144
|
}, undefined>;
|
|
128
145
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
129
146
|
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
130
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
147
|
+
readonly name: 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.">]>;
|
|
131
148
|
}, undefined>;
|
|
132
149
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
133
150
|
|
|
@@ -143,7 +160,7 @@ declare const SCreateLead: v.ObjectSchema<{
|
|
|
143
160
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
144
161
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
145
162
|
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.">]>;
|
|
146
|
-
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
|
|
163
|
+
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.">]>;
|
|
147
164
|
}, undefined>;
|
|
148
165
|
type SCreateLead = v.InferOutput<typeof SCreateLead>;
|
|
149
166
|
|
|
@@ -153,7 +170,7 @@ declare const SCreateNewsletterSignup: v.ObjectSchema<{
|
|
|
153
170
|
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">]>;
|
|
154
171
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
155
172
|
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.">]>;
|
|
156
|
-
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
|
|
173
|
+
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.">]>;
|
|
157
174
|
}, undefined>;
|
|
158
175
|
type SCreateNewsletterSignup = v.InferOutput<typeof SCreateNewsletterSignup>;
|
|
159
176
|
|
|
@@ -163,12 +180,12 @@ declare const SCreateResume: v.ObjectSchema<{
|
|
|
163
180
|
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">]>;
|
|
164
181
|
readonly phone: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your phone number.">, v.TrimAction, v.MinLengthAction<string, 7, "Please enter your phone number.">, v.MaxLengthAction<string, 15, "The phone you provided does not appear to be a valid phone number.">]>, undefined>;
|
|
165
182
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"How can we be of service to your team?">, v.TrimAction, v.MaxLengthAction<string, 5000, "The message you provided is too long for our database, please abbreviate your message to be 5000 characters or less.">]>, undefined>;
|
|
166
|
-
readonly social_profiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
183
|
+
readonly social_profiles: 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.">, v.CheckAction<string, "Please enter a list of URLs separated by commas.">]>, undefined>;
|
|
167
184
|
readonly file: v.NullableSchema<v.SchemaWithPipe<readonly [v.FileSchema<"Please upload a PDF or Word document.">, v.MimeTypeAction<File, readonly ["application/pdf"], "Please upload a PDF or Word document.">]>, undefined>;
|
|
168
185
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
169
186
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
170
187
|
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.">]>;
|
|
171
|
-
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
|
|
188
|
+
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.">]>;
|
|
172
189
|
}, undefined>;
|
|
173
190
|
type SCreateResume = v.InferOutput<typeof SCreateResume>;
|
|
174
191
|
declare const SCreateResumeInfo: v.ObjectSchema<{
|
|
@@ -177,7 +194,7 @@ declare const SCreateResumeInfo: v.ObjectSchema<{
|
|
|
177
194
|
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">]>;
|
|
178
195
|
readonly phone: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your phone number.">, v.TrimAction, v.MinLengthAction<string, 7, "Please enter your phone number.">, v.MaxLengthAction<string, 15, "The phone you provided does not appear to be a valid phone number.">]>, undefined>;
|
|
179
196
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"How can we be of service to your team?">, v.TrimAction, v.MaxLengthAction<string, 5000, "The message you provided is too long for our database, please abbreviate your message to be 5000 characters or less.">]>, undefined>;
|
|
180
|
-
readonly social_profiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
197
|
+
readonly social_profiles: 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.">, v.CheckAction<string, "Please enter a list of URLs separated by commas.">]>, undefined>;
|
|
181
198
|
readonly file: v.ObjectSchema<{
|
|
182
199
|
readonly id: v.NumberSchema<undefined>;
|
|
183
200
|
readonly src: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -185,17 +202,17 @@ declare const SCreateResumeInfo: v.ObjectSchema<{
|
|
|
185
202
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
186
203
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
187
204
|
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.">]>;
|
|
188
|
-
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
|
|
205
|
+
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.">]>;
|
|
189
206
|
}, undefined>;
|
|
190
207
|
type SCreateResumeInfo = v.InferOutput<typeof SCreateResumeInfo>;
|
|
191
208
|
declare const SUpdateResumeInfo: v.ObjectSchema<{
|
|
192
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
209
|
+
readonly documentId: 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.">]>;
|
|
193
210
|
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.">]>;
|
|
194
211
|
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.">]>;
|
|
195
212
|
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">]>;
|
|
196
213
|
readonly phone: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your phone number.">, v.TrimAction, v.MinLengthAction<string, 7, "Please enter your phone number.">, v.MaxLengthAction<string, 15, "The phone you provided does not appear to be a valid phone number.">]>, undefined>;
|
|
197
214
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"How can we be of service to your team?">, v.TrimAction, v.MaxLengthAction<string, 5000, "The message you provided is too long for our database, please abbreviate your message to be 5000 characters or less.">]>, undefined>;
|
|
198
|
-
readonly social_profiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
215
|
+
readonly social_profiles: 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.">, v.CheckAction<string, "Please enter a list of URLs separated by commas.">]>, undefined>;
|
|
199
216
|
readonly file: v.ObjectSchema<{
|
|
200
217
|
readonly id: v.NumberSchema<undefined>;
|
|
201
218
|
readonly src: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -203,7 +220,7 @@ declare const SUpdateResumeInfo: v.ObjectSchema<{
|
|
|
203
220
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
204
221
|
readonly sms_consent: v.BooleanSchema<undefined>;
|
|
205
222
|
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.">]>;
|
|
206
|
-
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
|
|
223
|
+
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.">]>;
|
|
207
224
|
}, undefined>;
|
|
208
225
|
type SUpdateResumeInfo = v.InferOutput<typeof SUpdateResumeInfo>;
|
|
209
226
|
|
|
@@ -211,10 +228,10 @@ declare const SharpSpringSignUpToDownload: v.ObjectSchema<{
|
|
|
211
228
|
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.">]>;
|
|
212
229
|
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.">]>;
|
|
213
230
|
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">]>;
|
|
214
|
-
readonly download_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
231
|
+
readonly download_key: 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.">]>;
|
|
215
232
|
readonly email_consent: v.BooleanSchema<undefined>;
|
|
216
233
|
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.">]>;
|
|
217
|
-
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
|
|
234
|
+
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.">]>;
|
|
218
235
|
}, undefined>;
|
|
219
236
|
type SharpSpringSignUpToDownload = v.InferOutput<typeof SharpSpringSignUpToDownload>;
|
|
220
237
|
|
|
@@ -316,14 +333,6 @@ declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
|
316
333
|
}, undefined>;
|
|
317
334
|
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
318
335
|
|
|
319
|
-
declare const SReadUserById: v.ObjectSchema<{
|
|
320
|
-
readonly id: v.NumberSchema<"please provide a valid id">;
|
|
321
|
-
}, undefined>;
|
|
322
|
-
type SReadUserById = v.InferOutput<typeof SReadUserById>;
|
|
323
|
-
declare const SReadUserByDocumentId: v.ObjectSchema<{
|
|
324
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
325
|
-
}, undefined>;
|
|
326
|
-
type SReadUserByDocumentId = v.InferOutput<typeof SReadUserByDocumentId>;
|
|
327
336
|
declare const QueryStrapiUsers: v.ObjectSchema<{
|
|
328
337
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
329
338
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 3, undefined>, v.MaxValueAction<number, 10, undefined>]>, 10>, 10>;
|
|
@@ -335,6 +344,670 @@ declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
|
|
|
335
344
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 3, undefined>, v.MaxValueAction<number, 10, undefined>]>, 10>, 10>;
|
|
336
345
|
}, undefined>;
|
|
337
346
|
type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
|
|
347
|
+
declare const SReadUserById: v.ObjectSchema<{
|
|
348
|
+
readonly id: v.NumberSchema<"please provide a valid id">;
|
|
349
|
+
}, undefined>;
|
|
350
|
+
type SReadUserById = v.InferOutput<typeof SReadUserById>;
|
|
351
|
+
declare const SReadUserByDocumentId: v.ObjectSchema<{
|
|
352
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
353
|
+
}, undefined>;
|
|
354
|
+
type SReadUserByDocumentId = v.InferOutput<typeof SReadUserByDocumentId>;
|
|
355
|
+
|
|
356
|
+
type BaseDocument = {
|
|
357
|
+
id: number;
|
|
358
|
+
documentId: string;
|
|
359
|
+
publishedAt: string;
|
|
360
|
+
createdAt: string;
|
|
361
|
+
updatedAt: string;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @description Strapi Theme Options
|
|
366
|
+
*/
|
|
367
|
+
type StrapiThemeOptions = "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
368
|
+
type StrapiBgColorOptions = "red" | "pink" | "orange" | "yellow" | "green" | "blue-light" | "blue-dark" | "brown-light" | "brown-dark";
|
|
369
|
+
type StrapiTextColorOptions = "light" | "dark";
|
|
370
|
+
type StrapiDirection = "horizontal" | "vertical";
|
|
371
|
+
type StrapiGapSizes = "none" | "small" | "medium" | "large";
|
|
372
|
+
type StrapiLinkType = "email" | "phone" | "social" | "link" | null;
|
|
373
|
+
type StrapiIconPosition = "before" | "after" | "above" | "below";
|
|
374
|
+
type StrapiIconName = "link" | "email" | "phone" | "facebook" | "instagram" | "linkedin" | "tiktok" | "pinterest" | "twitter" | null;
|
|
375
|
+
/**
|
|
376
|
+
* @description Strapi Link Options
|
|
377
|
+
*/
|
|
378
|
+
type StrapiLinkTarget = "_blank" | "_self" | "_parent" | "_top" | null;
|
|
379
|
+
type StrapiLinkReferrerPolicy = "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
380
|
+
type StrapiLinkRel = "alternate" | "author" | "bookmark" | "external" | "help" | "license" | "next" | "nofollow" | "noreferrer" | "noopener" | "prev" | "search" | "tag";
|
|
381
|
+
|
|
382
|
+
type MediaFormat = {
|
|
383
|
+
ext: string;
|
|
384
|
+
url: string;
|
|
385
|
+
hash: string;
|
|
386
|
+
mime: string;
|
|
387
|
+
name: string;
|
|
388
|
+
path: string | null;
|
|
389
|
+
size: number;
|
|
390
|
+
width: number;
|
|
391
|
+
height: number;
|
|
392
|
+
sizeInBytes: number;
|
|
393
|
+
};
|
|
394
|
+
type MediaFormats = {
|
|
395
|
+
large?: MediaFormat;
|
|
396
|
+
small?: MediaFormat;
|
|
397
|
+
medium?: MediaFormat;
|
|
398
|
+
thumbnail?: MediaFormat;
|
|
399
|
+
};
|
|
400
|
+
type MediaUploadDocument = {
|
|
401
|
+
name: string;
|
|
402
|
+
alternativeText: string | null;
|
|
403
|
+
caption: string | null;
|
|
404
|
+
width: number;
|
|
405
|
+
height: number;
|
|
406
|
+
formats?: MediaFormats | null;
|
|
407
|
+
hash: string;
|
|
408
|
+
ext: string;
|
|
409
|
+
mime: string;
|
|
410
|
+
size: number;
|
|
411
|
+
url: string;
|
|
412
|
+
previewUrl: string | null;
|
|
413
|
+
provider: string;
|
|
414
|
+
provider_metadata: null;
|
|
415
|
+
} & BaseDocument;
|
|
416
|
+
|
|
417
|
+
type StrapiPagination = {
|
|
418
|
+
page: number;
|
|
419
|
+
pageSize: number;
|
|
420
|
+
pageCount: number;
|
|
421
|
+
total: number;
|
|
422
|
+
};
|
|
423
|
+
type StrapiResponseMeta = {
|
|
424
|
+
pagination?: StrapiPagination;
|
|
425
|
+
token?: string;
|
|
426
|
+
};
|
|
427
|
+
type StrapiErrorDetail = {
|
|
428
|
+
status: string | number;
|
|
429
|
+
name: string;
|
|
430
|
+
message: string;
|
|
431
|
+
details: Record<string, string>;
|
|
432
|
+
};
|
|
433
|
+
type StrapiSingleResponse<T> = {
|
|
434
|
+
data: T;
|
|
435
|
+
error?: undefined;
|
|
436
|
+
meta?: StrapiResponseMeta;
|
|
437
|
+
};
|
|
438
|
+
type StrapiListResponse<T> = {
|
|
439
|
+
data: T[];
|
|
440
|
+
error?: undefined;
|
|
441
|
+
meta?: StrapiResponseMeta;
|
|
442
|
+
};
|
|
443
|
+
type StrapiErrorResponse = {
|
|
444
|
+
data: null;
|
|
445
|
+
error: StrapiErrorDetail;
|
|
446
|
+
meta?: undefined;
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
type SharedLink = {
|
|
450
|
+
id: number;
|
|
451
|
+
href: string;
|
|
452
|
+
label: string;
|
|
453
|
+
target: StrapiLinkTarget;
|
|
454
|
+
};
|
|
455
|
+
type ComponentSharedLink = {
|
|
456
|
+
__component: string;
|
|
457
|
+
} & SharedLink;
|
|
458
|
+
|
|
459
|
+
type SharedButton = {
|
|
460
|
+
id: number;
|
|
461
|
+
theme: StrapiThemeOptions;
|
|
462
|
+
link: SharedLink;
|
|
463
|
+
show_icon: boolean;
|
|
464
|
+
icon: StrapiIconName;
|
|
465
|
+
icon_position: StrapiIconPosition;
|
|
466
|
+
full_width: boolean;
|
|
467
|
+
};
|
|
468
|
+
type ComponentSharedButton = {
|
|
469
|
+
__component: string;
|
|
470
|
+
} & SharedButton;
|
|
471
|
+
|
|
472
|
+
type RichTextBlockChildren = {
|
|
473
|
+
type: string;
|
|
474
|
+
url?: string;
|
|
475
|
+
text?: string;
|
|
476
|
+
bold?: boolean;
|
|
477
|
+
italic?: boolean;
|
|
478
|
+
underline?: boolean;
|
|
479
|
+
};
|
|
480
|
+
type RichTextBlock = {
|
|
481
|
+
type: string;
|
|
482
|
+
children: RichTextBlockChildren[];
|
|
483
|
+
};
|
|
484
|
+
type SharedRichTextBlock = {
|
|
485
|
+
id: number;
|
|
486
|
+
content?: RichTextBlock[] | null;
|
|
487
|
+
};
|
|
488
|
+
type ComponentSharedRichTextBlock = {
|
|
489
|
+
__component: string;
|
|
490
|
+
} & SharedRichTextBlock;
|
|
491
|
+
|
|
492
|
+
type SharedQuestionAnswer = {
|
|
493
|
+
id: number;
|
|
494
|
+
question: string;
|
|
495
|
+
answer: RichTextBlock[];
|
|
496
|
+
};
|
|
497
|
+
type ComponentSharedQuestionAnswer = {
|
|
498
|
+
__component: string;
|
|
499
|
+
} & SharedQuestionAnswer;
|
|
500
|
+
|
|
501
|
+
type OpenGraph = {
|
|
502
|
+
ogTitle: string;
|
|
503
|
+
ogDescription: string;
|
|
504
|
+
ogType: string | null;
|
|
505
|
+
ogUrl: string | null;
|
|
506
|
+
ogImage?: MediaUploadDocument | null;
|
|
507
|
+
};
|
|
508
|
+
type ComponentOpenGraph = {
|
|
509
|
+
__component: string;
|
|
510
|
+
} & OpenGraph;
|
|
511
|
+
type SeoMeta = {
|
|
512
|
+
metaTitle: string;
|
|
513
|
+
metaDescription: string;
|
|
514
|
+
metaImage?: MediaUploadDocument | null;
|
|
515
|
+
openGraph?: OpenGraph | null;
|
|
516
|
+
keywords: string | null;
|
|
517
|
+
canonicalURL: string | null;
|
|
518
|
+
metaRobots: string | null;
|
|
519
|
+
metaViewport: string | null;
|
|
520
|
+
structuredData: {
|
|
521
|
+
[key: string]: string;
|
|
522
|
+
} | null;
|
|
523
|
+
};
|
|
524
|
+
type ComponentSeoMeta = {
|
|
525
|
+
__component: string;
|
|
526
|
+
} & SeoMeta;
|
|
527
|
+
|
|
528
|
+
type BlockAnnouncementBar = {
|
|
529
|
+
id: number;
|
|
530
|
+
bg_color: StrapiBgColorOptions;
|
|
531
|
+
text_color: StrapiTextColorOptions;
|
|
532
|
+
href: string | null;
|
|
533
|
+
content: RichTextBlock[];
|
|
534
|
+
};
|
|
535
|
+
type ComponentBlockAnnouncementBar = {
|
|
536
|
+
__component: string;
|
|
537
|
+
} & BlockAnnouncementBar;
|
|
538
|
+
|
|
539
|
+
type BlockBrandLogos = {
|
|
540
|
+
id: number;
|
|
541
|
+
light: MediaUploadDocument;
|
|
542
|
+
dark: MediaUploadDocument;
|
|
543
|
+
color: MediaUploadDocument;
|
|
544
|
+
};
|
|
545
|
+
type ComponentBlockBrandLogos = {
|
|
546
|
+
__component: string;
|
|
547
|
+
} & BlockBrandLogos;
|
|
548
|
+
|
|
549
|
+
type BlockButtonGroup = {
|
|
550
|
+
id: number;
|
|
551
|
+
direction: StrapiDirection;
|
|
552
|
+
gap: StrapiGapSizes;
|
|
553
|
+
buttons: SharedButton[];
|
|
554
|
+
};
|
|
555
|
+
type ComponentBlockButtonGroup = {
|
|
556
|
+
__component: string;
|
|
557
|
+
} & BlockButtonGroup;
|
|
558
|
+
|
|
559
|
+
type BlockContact = {
|
|
560
|
+
id: number;
|
|
561
|
+
link_type: StrapiLinkType;
|
|
562
|
+
label: string;
|
|
563
|
+
destination: string;
|
|
564
|
+
icon: StrapiIconName;
|
|
565
|
+
show_icon: boolean;
|
|
566
|
+
icon_position: StrapiIconPosition;
|
|
567
|
+
full_width: boolean;
|
|
568
|
+
};
|
|
569
|
+
type ComponentBlockContact = {
|
|
570
|
+
__component: string;
|
|
571
|
+
} & BlockContact;
|
|
572
|
+
|
|
573
|
+
type BlockCtaLink = {
|
|
574
|
+
id: number;
|
|
575
|
+
cta_label: string;
|
|
576
|
+
cta_href: string | null;
|
|
577
|
+
cta_download: string | null;
|
|
578
|
+
cta_title: string | null;
|
|
579
|
+
cta_referrerpolicy: StrapiLinkReferrerPolicy | null;
|
|
580
|
+
cta_rel: StrapiLinkRel | null;
|
|
581
|
+
cta_target: StrapiLinkTarget | null;
|
|
582
|
+
};
|
|
583
|
+
type ComponentBlockCtaLink = {
|
|
584
|
+
__component: string;
|
|
585
|
+
} & BlockCtaLink;
|
|
586
|
+
|
|
587
|
+
type BlockFaq = {
|
|
588
|
+
id: number;
|
|
589
|
+
title: string;
|
|
590
|
+
theme: StrapiThemeOptions;
|
|
591
|
+
faq: SharedQuestionAnswer[];
|
|
592
|
+
};
|
|
593
|
+
type ComponentBlockFaq = {
|
|
594
|
+
__component: string;
|
|
595
|
+
} & BlockFaq;
|
|
596
|
+
|
|
597
|
+
type BlockVideoEmbed = {
|
|
598
|
+
id: number;
|
|
599
|
+
video_source: "youtube" | "upload";
|
|
600
|
+
video_id: string | null;
|
|
601
|
+
video_upload?: MediaUploadDocument | null;
|
|
602
|
+
};
|
|
603
|
+
type ComponentBlockVideo = {
|
|
604
|
+
__component: string;
|
|
605
|
+
} & BlockVideoEmbed;
|
|
606
|
+
|
|
607
|
+
type BlockFullscreenContentType = "zoomable-image" | "video" | "html" | "website";
|
|
608
|
+
type BlockFullscreenContent = {
|
|
609
|
+
id: number;
|
|
610
|
+
fullscreen_type: BlockFullscreenContentType;
|
|
611
|
+
fullscreen_img?: MediaUploadDocument | null;
|
|
612
|
+
website_url: string | null;
|
|
613
|
+
html_content: string | null;
|
|
614
|
+
video?: BlockVideoEmbed | null;
|
|
615
|
+
};
|
|
616
|
+
type ComponentBlockFullscreenContent = {
|
|
617
|
+
__component: string;
|
|
618
|
+
} & BlockFullscreenContent;
|
|
619
|
+
|
|
620
|
+
type BlockTextDetails = {
|
|
621
|
+
id: number;
|
|
622
|
+
subtitle: string;
|
|
623
|
+
description: string;
|
|
624
|
+
cta_link?: BlockCtaLink | null;
|
|
625
|
+
};
|
|
626
|
+
type ComponentBlockTextDetails = {
|
|
627
|
+
__component: string;
|
|
628
|
+
} & BlockTextDetails;
|
|
629
|
+
|
|
630
|
+
type FormDownloadKeys = "SS 2025 Get Community Trends Report" | "SS 2024 Get Community Trends Report" | "SS 2024 Fall Media Trends Report" | "SS 2024 Spring Media Trends Report" | "SS 2023 Trends Report" | "SS 2023 Fall Media Trends Report" | "SS 2023 Summer Media Trends Report" | "SS 2023 Spring Media Trends Report" | "SS 2023 Winter Media Trends Report" | "SS 2023 PCBC Presentation PDF" | "SS 2022 Get Community Trends Report" | "SS 2022 Fall Media Trends Report" | "SS 2022 Winter Media Trends Report" | "SS 2022 Build Good FOMO with Get Community" | "SS 2022 LinkedIn Checklist" | "SS 2021 Get Community Trends Report" | "SS 2020 Going Virtual Guide PDF" | "SS 2020 Marketable Home Quotes";
|
|
631
|
+
type FormDownload = {
|
|
632
|
+
id: number;
|
|
633
|
+
download_type: "link" | "file";
|
|
634
|
+
download_key: FormDownloadKeys;
|
|
635
|
+
download_file?: MediaUploadDocument | null;
|
|
636
|
+
download_link?: string | null;
|
|
637
|
+
};
|
|
638
|
+
type ComponentFormDownload = {
|
|
639
|
+
__component: string;
|
|
640
|
+
} & FormDownload;
|
|
641
|
+
|
|
642
|
+
type FormUID = "ss-newsletter" | "ss-sign-up-to-download" | "strapi-leads" | "strapi-resumes";
|
|
643
|
+
type FormSelect = {
|
|
644
|
+
id: number;
|
|
645
|
+
form_id: FormUID;
|
|
646
|
+
form_download?: FormDownload | null;
|
|
647
|
+
};
|
|
648
|
+
type ComponentFormSelect = {
|
|
649
|
+
__component: string;
|
|
650
|
+
} & FormSelect;
|
|
651
|
+
|
|
652
|
+
type SlideType = "image-contain" | "image-cover" | "image-fill" | "image" | "video" | "html" | "website";
|
|
653
|
+
type SlideContent = {
|
|
654
|
+
id: number;
|
|
655
|
+
slide_type: SlideType;
|
|
656
|
+
slide_image: MediaUploadDocument | null;
|
|
657
|
+
website_url: string | null;
|
|
658
|
+
html_content: string | null;
|
|
659
|
+
video?: ComponentBlockVideo;
|
|
660
|
+
};
|
|
661
|
+
type ComponentSlideContent = {
|
|
662
|
+
__component: string;
|
|
663
|
+
} & SlideContent;
|
|
664
|
+
|
|
665
|
+
type KeenSliderOrigin = number | "center" | "auto" | undefined;
|
|
666
|
+
type KeenSliderSliderSlides = {
|
|
667
|
+
slides: {
|
|
668
|
+
origin: KeenSliderOrigin;
|
|
669
|
+
perView: number;
|
|
670
|
+
spacing: number | undefined;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
type SliderSpacing = "none" | "small" | "medium" | "large";
|
|
675
|
+
type SliderSettings = {
|
|
676
|
+
id: number;
|
|
677
|
+
breakpoint: number;
|
|
678
|
+
slides_per_view: number;
|
|
679
|
+
slides_spacing: SliderSpacing;
|
|
680
|
+
slides_origin: string | null;
|
|
681
|
+
};
|
|
682
|
+
type ComponentSliderSettings = {
|
|
683
|
+
__component: string;
|
|
684
|
+
} & SliderSettings;
|
|
685
|
+
|
|
686
|
+
type SlideshowMode = "snap" | "free" | "free-snap";
|
|
687
|
+
type SlideshowSettings = {
|
|
688
|
+
id: number;
|
|
689
|
+
loop: boolean;
|
|
690
|
+
mode: SlideshowMode;
|
|
691
|
+
initial: number;
|
|
692
|
+
};
|
|
693
|
+
type ComponentSlideshowSettings = {
|
|
694
|
+
__component: string;
|
|
695
|
+
} & SlideshowSettings;
|
|
696
|
+
|
|
697
|
+
type Slideshow = {
|
|
698
|
+
id: number;
|
|
699
|
+
settings?: SlideshowSettings;
|
|
700
|
+
slider_settings?: SliderSettings[];
|
|
701
|
+
slides?: SlideContent[];
|
|
702
|
+
};
|
|
703
|
+
type ComponentSlideshow = {
|
|
704
|
+
__component: string;
|
|
705
|
+
} & Slideshow;
|
|
706
|
+
|
|
707
|
+
type UtmClassificationKey = "organic" | "paid";
|
|
708
|
+
type UtmSourceKey = "all" | "meta" | "meta_facebook" | "meta_instagram" | "tiktok" | "twitter" | "linkedin" | "pinterest" | "youtube" | "sms" | "email" | "google" | "realtor" | "zillow" | "bdx_nhs" | "yelp" | "qr_code" | "gcflytour" | "referral";
|
|
709
|
+
type UtmOption = {
|
|
710
|
+
id: number;
|
|
711
|
+
label: string;
|
|
712
|
+
value: string;
|
|
713
|
+
description: string | null;
|
|
714
|
+
is_active: boolean;
|
|
715
|
+
active_by_classification: Array<UtmClassificationKey>;
|
|
716
|
+
active_by_source: Array<UtmSourceKey>;
|
|
717
|
+
};
|
|
718
|
+
type ComponentUtmOption = {
|
|
719
|
+
__component: string;
|
|
720
|
+
} & UtmOption;
|
|
721
|
+
|
|
722
|
+
type CategoryDocument = {
|
|
723
|
+
label: string;
|
|
724
|
+
slug: string;
|
|
725
|
+
blog_posts?: Partial<BlogPostDocument>[] | null;
|
|
726
|
+
} & BaseDocument;
|
|
727
|
+
|
|
728
|
+
type TagDocument = {
|
|
729
|
+
label: string;
|
|
730
|
+
slug: string;
|
|
731
|
+
} & BaseDocument;
|
|
732
|
+
|
|
733
|
+
type TrendDocument = {
|
|
734
|
+
title: string;
|
|
735
|
+
creators?: TeamMemberDocument[];
|
|
736
|
+
video_embed?: BlockVideoEmbed | null;
|
|
737
|
+
caption: string | null;
|
|
738
|
+
featured_image: MediaUploadDocument;
|
|
739
|
+
likes: number;
|
|
740
|
+
} & BaseDocument;
|
|
741
|
+
|
|
742
|
+
type TeamMemberDocument = {
|
|
743
|
+
name: string;
|
|
744
|
+
order: number;
|
|
745
|
+
job_title: string;
|
|
746
|
+
tier: string;
|
|
747
|
+
is_employed: boolean;
|
|
748
|
+
trends?: TrendDocument[];
|
|
749
|
+
contact_links?: BlockContact;
|
|
750
|
+
biography: RichTextBlock[];
|
|
751
|
+
featured_image: MediaUploadDocument;
|
|
752
|
+
featured_video: MediaUploadDocument;
|
|
753
|
+
blog_posts?: BlogPostDocument[];
|
|
754
|
+
} & BaseDocument;
|
|
755
|
+
|
|
756
|
+
type BlogPostBlock = ComponentSharedRichTextBlock | ComponentBlockVideo | ComponentBlockFaq | ComponentBlockContact | ComponentBlockButtonGroup | ComponentFormSelect | ComponentBlockFullscreenContent | ComponentSlideshow;
|
|
757
|
+
type BlogPostDocument = {
|
|
758
|
+
title: string;
|
|
759
|
+
slug: string;
|
|
760
|
+
excerpt: string;
|
|
761
|
+
published: string;
|
|
762
|
+
is_live: boolean;
|
|
763
|
+
is_featured: boolean;
|
|
764
|
+
is_public: boolean;
|
|
765
|
+
featured_image: MediaUploadDocument | null;
|
|
766
|
+
category?: CategoryDocument | null;
|
|
767
|
+
tags?: TagDocument[] | null;
|
|
768
|
+
authors?: TeamMemberDocument[] | null;
|
|
769
|
+
related_posts?: BlogPostDocument[] | null;
|
|
770
|
+
seo?: SeoMeta | null;
|
|
771
|
+
blocks?: BlogPostBlock[];
|
|
772
|
+
} & BaseDocument;
|
|
773
|
+
|
|
774
|
+
type ClientReportDocument = {
|
|
775
|
+
client?: ClientDocument;
|
|
776
|
+
name: string;
|
|
777
|
+
report_id: string;
|
|
778
|
+
is_active: boolean;
|
|
779
|
+
} & BaseDocument;
|
|
780
|
+
|
|
781
|
+
type PermissionDocument = {
|
|
782
|
+
action: string;
|
|
783
|
+
role?: RoleDocument;
|
|
784
|
+
} & BaseDocument;
|
|
785
|
+
|
|
786
|
+
type RoleDocument = {
|
|
787
|
+
type: string;
|
|
788
|
+
name: string;
|
|
789
|
+
description: string | null;
|
|
790
|
+
permissions?: PermissionDocument[];
|
|
791
|
+
users?: UserDocument[];
|
|
792
|
+
} & BaseDocument;
|
|
793
|
+
|
|
794
|
+
type UserAccountDocument = {
|
|
795
|
+
user?: UserDocument;
|
|
796
|
+
preferred_name: string;
|
|
797
|
+
first_name: string;
|
|
798
|
+
last_name: string;
|
|
799
|
+
} & BaseDocument;
|
|
800
|
+
|
|
801
|
+
type UtmTrackingLinkDocument = {
|
|
802
|
+
creator?: UserDocument;
|
|
803
|
+
client?: ClientDocument;
|
|
804
|
+
url_destination: string;
|
|
805
|
+
utm_medium: string;
|
|
806
|
+
utm_source: string;
|
|
807
|
+
utm_campaign: string;
|
|
808
|
+
utm_content: string | null;
|
|
809
|
+
utm_creative_format: string | null;
|
|
810
|
+
utm_id: string | null;
|
|
811
|
+
campaign_phase: string;
|
|
812
|
+
campaign_product: string | null;
|
|
813
|
+
campaign_targeting: string | null;
|
|
814
|
+
campaign_key: string | null;
|
|
815
|
+
creative_format: string | null;
|
|
816
|
+
creative_format_variants: string | null;
|
|
817
|
+
url: string;
|
|
818
|
+
is_active: boolean;
|
|
819
|
+
notes: string | null;
|
|
820
|
+
} & BaseDocument;
|
|
821
|
+
|
|
822
|
+
type UserDocument = {
|
|
823
|
+
username: string;
|
|
824
|
+
email: string;
|
|
825
|
+
provider: string;
|
|
826
|
+
confirmed: boolean;
|
|
827
|
+
blocked: boolean;
|
|
828
|
+
clerk_user_id: string | null;
|
|
829
|
+
role?: RoleDocument;
|
|
830
|
+
account?: UserAccountDocument;
|
|
831
|
+
clients?: ClientUserDocument[];
|
|
832
|
+
utm_tracking_links?: UtmTrackingLinkDocument[];
|
|
833
|
+
} & BaseDocument;
|
|
834
|
+
type UserWithAccountDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
|
|
835
|
+
account: UserAccountDocument;
|
|
836
|
+
};
|
|
837
|
+
type UserAuthorizationLoginResponse = {
|
|
838
|
+
jwt: string;
|
|
839
|
+
user: UserWithAccountDocument;
|
|
840
|
+
};
|
|
841
|
+
type UserAuthorizationSuccessResponse = {
|
|
842
|
+
jwt: string;
|
|
843
|
+
user: Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id">;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
type ClientUserDocument = {
|
|
847
|
+
client?: ClientDocument;
|
|
848
|
+
user?: UserDocument;
|
|
849
|
+
scopes: Array<string> | string;
|
|
850
|
+
} & BaseDocument;
|
|
851
|
+
|
|
852
|
+
type MediaPlatformDocument = {
|
|
853
|
+
title: string;
|
|
854
|
+
slug: string;
|
|
855
|
+
clients?: ClientDocument[] | null;
|
|
856
|
+
logos: BlockBrandLogos | null;
|
|
857
|
+
description: string;
|
|
858
|
+
} & BaseDocument;
|
|
859
|
+
|
|
860
|
+
type ProductDocument = {
|
|
861
|
+
title: string;
|
|
862
|
+
introduction: string;
|
|
863
|
+
flyer_link: string | null;
|
|
864
|
+
featured_image: MediaUploadDocument;
|
|
865
|
+
cta_text: string;
|
|
866
|
+
cta_form_caption: string;
|
|
867
|
+
order: number;
|
|
868
|
+
} & BaseDocument;
|
|
869
|
+
|
|
870
|
+
type ProductHighlightDocument = {
|
|
871
|
+
title: string;
|
|
872
|
+
title_line_1: string;
|
|
873
|
+
title_line_2: string;
|
|
874
|
+
introduction: string;
|
|
875
|
+
highlight?: BlockFullscreenContent;
|
|
876
|
+
products: ProductDocument[] | null;
|
|
877
|
+
clients: ClientDocument[] | null;
|
|
878
|
+
tags: TagDocument[] | null;
|
|
879
|
+
featured_image: MediaUploadDocument;
|
|
880
|
+
background_color: string;
|
|
881
|
+
order: number;
|
|
882
|
+
text_invert: boolean;
|
|
883
|
+
} & BaseDocument;
|
|
884
|
+
|
|
885
|
+
type ClientDocument = {
|
|
886
|
+
title: string;
|
|
887
|
+
is_featured: boolean;
|
|
888
|
+
logos?: BlockBrandLogos;
|
|
889
|
+
teamwork_id: string;
|
|
890
|
+
teamwork_name: string;
|
|
891
|
+
utm_sheet_id: string;
|
|
892
|
+
allow_create_utm_link: boolean;
|
|
893
|
+
is_organic_social: boolean;
|
|
894
|
+
is_paid_media: boolean;
|
|
895
|
+
is_active: boolean;
|
|
896
|
+
classification: UtmClassificationKey;
|
|
897
|
+
product_highlights?: ProductHighlightDocument[];
|
|
898
|
+
media_platforms?: MediaPlatformDocument[];
|
|
899
|
+
client_projects?: ClientProjectDocument[];
|
|
900
|
+
client_reports?: ClientReportDocument[];
|
|
901
|
+
users?: ClientUserDocument[];
|
|
902
|
+
utm_tracking_links?: UtmTrackingLinkDocument[];
|
|
903
|
+
} & BaseDocument;
|
|
904
|
+
|
|
905
|
+
type ClientProjectStatus = "coming-soon" | "now-open" | "for-sale" | "sold-out" | "available";
|
|
906
|
+
type ClientProjectDocument = {
|
|
907
|
+
title: string;
|
|
908
|
+
slug: string;
|
|
909
|
+
project_status: ClientProjectStatus[];
|
|
910
|
+
clients?: ClientDocument[];
|
|
911
|
+
featured_image?: MediaUploadDocument | null;
|
|
912
|
+
} & BaseDocument;
|
|
913
|
+
|
|
914
|
+
type LeadDocument = {
|
|
915
|
+
first_name: string;
|
|
916
|
+
last_name: string;
|
|
917
|
+
email: string;
|
|
918
|
+
phone: string;
|
|
919
|
+
company: string | null;
|
|
920
|
+
title: string | null;
|
|
921
|
+
message: string | null;
|
|
922
|
+
email_consent: boolean;
|
|
923
|
+
sms_consent: boolean;
|
|
924
|
+
on_page: string;
|
|
925
|
+
product_interest: string | null;
|
|
926
|
+
captcha: string;
|
|
927
|
+
} & BaseDocument;
|
|
928
|
+
|
|
929
|
+
type ResumeDocument = {
|
|
930
|
+
file: MediaUploadDocument | null;
|
|
931
|
+
first_name: string;
|
|
932
|
+
last_name: string;
|
|
933
|
+
email: string;
|
|
934
|
+
phone: string | null;
|
|
935
|
+
message: string | null;
|
|
936
|
+
social_profiles: string | null;
|
|
937
|
+
email_consent: boolean;
|
|
938
|
+
sms_consent: boolean;
|
|
939
|
+
on_page: string;
|
|
940
|
+
captcha: string;
|
|
941
|
+
} & BaseDocument;
|
|
942
|
+
|
|
943
|
+
type UrlRedirectStatusCode = "found_302" | "moved_permanently_301" | "temporary_redirect_307" | "gone_410" | "unavailable_for_legal_reasons_451";
|
|
944
|
+
type UrlRedirectQueryParams = "ignore_and_pass_to_target" | "ignore_all_parameters" | "exact_match_in_any_order";
|
|
945
|
+
type UrlRedirectDocument = {
|
|
946
|
+
from: string;
|
|
947
|
+
to: string;
|
|
948
|
+
status_code: UrlRedirectStatusCode;
|
|
949
|
+
query_params: UrlRedirectQueryParams;
|
|
950
|
+
is_active: boolean;
|
|
951
|
+
} & BaseDocument;
|
|
952
|
+
|
|
953
|
+
type BlogPageDocument = {
|
|
954
|
+
seo: SeoMeta;
|
|
955
|
+
title: string;
|
|
956
|
+
subtitle: string | null;
|
|
957
|
+
introduction: RichTextBlock[] | null;
|
|
958
|
+
} & BaseDocument;
|
|
959
|
+
|
|
960
|
+
type CareersPageDocument = {
|
|
961
|
+
seo: SeoMeta;
|
|
962
|
+
title: string;
|
|
963
|
+
subtitle: string | null;
|
|
964
|
+
introduction: RichTextBlock[] | null;
|
|
965
|
+
} & BaseDocument;
|
|
966
|
+
|
|
967
|
+
type LandingPageDocument = {
|
|
968
|
+
seo: SeoMeta;
|
|
969
|
+
header_background: MediaUploadDocument[];
|
|
970
|
+
announcements: BlockAnnouncementBar[];
|
|
971
|
+
trends_title: string;
|
|
972
|
+
trends_description: string;
|
|
973
|
+
trends_cta_label: string;
|
|
974
|
+
products_title: string;
|
|
975
|
+
products_feature_fallback: MediaUploadDocument;
|
|
976
|
+
clients_title: string;
|
|
977
|
+
contact_title: string;
|
|
978
|
+
contact_image: MediaUploadDocument;
|
|
979
|
+
contact_description: string;
|
|
980
|
+
} & BaseDocument;
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* SMS & Privacy Policy
|
|
984
|
+
* - api::privacy-policy.privacy-policy
|
|
985
|
+
* - api::sms-policy.sms-policy
|
|
986
|
+
*/
|
|
987
|
+
type PolicyPageDocument = {
|
|
988
|
+
seo: SeoMeta;
|
|
989
|
+
featured_image: MediaUploadDocument;
|
|
990
|
+
title: string;
|
|
991
|
+
slug: string;
|
|
992
|
+
content: RichTextBlock[];
|
|
993
|
+
} & BaseDocument;
|
|
994
|
+
|
|
995
|
+
type TeamPageDocument = {
|
|
996
|
+
seo: SeoMeta;
|
|
997
|
+
title: string;
|
|
998
|
+
subtitle: string | null;
|
|
999
|
+
introduction: RichTextBlock[] | null;
|
|
1000
|
+
} & BaseDocument;
|
|
1001
|
+
|
|
1002
|
+
type UtmMetaPageDocument = {
|
|
1003
|
+
source_options: ComponentUtmOption[];
|
|
1004
|
+
medium_options: ComponentUtmOption[];
|
|
1005
|
+
campaign_phase_options: ComponentUtmOption[];
|
|
1006
|
+
campaign_targeting_options: ComponentUtmOption[];
|
|
1007
|
+
content_pillar_options: ComponentUtmOption[];
|
|
1008
|
+
creative_format_options: ComponentUtmOption[];
|
|
1009
|
+
creative_variant_options: ComponentUtmOption[];
|
|
1010
|
+
} & BaseDocument;
|
|
338
1011
|
|
|
339
1012
|
type ValidateAndCleanSuccess<T> = {
|
|
340
1013
|
data: Partial<T>;
|
|
@@ -391,7 +1064,7 @@ declare const InvalidRefPageMaxLength = "The string you provided is too long for
|
|
|
391
1064
|
declare const IsValidRefPage: 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.">]>;
|
|
392
1065
|
declare const InvalidProductInterestMaxLength = "The product interest provided is too long. It must be 255 characters or less.";
|
|
393
1066
|
declare const IsValidProductInterest: 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.">]>;
|
|
394
|
-
declare const IsValidCaptchaToken: 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
|
|
1067
|
+
declare const IsValidCaptchaToken: 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.">]>;
|
|
395
1068
|
declare const InvalidInstrustryName = "Please enter your industry.";
|
|
396
1069
|
declare const InvalidInstrustryNameMaxLength = "The industry you provided is too long for our database, please abbreviate your industry to be 255 characters or less.";
|
|
397
1070
|
declare const IsValidIndustryName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"Please enter your industry.">, v.TrimAction, v.MaxLengthAction<string, 255, "The industry you provided is too long for our database, please abbreviate your industry to be 255 characters or less.">]>, undefined>;
|
|
@@ -404,8 +1077,8 @@ declare const IsValidUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>,
|
|
|
404
1077
|
declare const IsValidUrlOrUndefined: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>;
|
|
405
1078
|
declare const IsValidUrlList: (input: string) => boolean;
|
|
406
1079
|
declare const InvalidListOfUrls = "Please enter a list of URLs separated by commas.";
|
|
407
|
-
declare const IsValidStringSepListOfUrls: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
408
|
-
declare const IsValidStringSepListOfUrlsOrUndefined: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
1080
|
+
declare const IsValidStringSepListOfUrls: 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.">, v.CheckAction<string, "Please enter a list of URLs separated by commas.">]>;
|
|
1081
|
+
declare const IsValidStringSepListOfUrlsOrUndefined: 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.">, v.CheckAction<string, "Please enter a list of URLs separated by commas.">]>, undefined>;
|
|
409
1082
|
declare const InvalidDestinationUrl = "Please remove any query parameters from the URL.";
|
|
410
1083
|
declare const IsValidDestinationUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
|
|
411
1084
|
declare const InvalidUtmLink = "Please enter a valid URL with UTM parameters.";
|
|
@@ -567,12 +1240,12 @@ declare const IsValidReferenceId: v.NumberSchema<"please provide a valid id">;
|
|
|
567
1240
|
declare const IsValidReferenceDocumentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>;
|
|
568
1241
|
declare const IsValidDateToday: v.SchemaWithPipe<readonly [v.DateSchema<undefined>, v.MinValueAction<Date, Date, undefined>, v.TransformAction<Date, string>]>;
|
|
569
1242
|
declare const IsValidPositiveInteger: v.SchemaWithPipe<readonly [v.NumberSchema<"Please enter a number.">, v.IntegerAction<number, "Please enter a whole number.">, v.MinValueAction<number, 1, "Please enter a positive number.">]>;
|
|
570
|
-
declare const InvalidShortStringMax = "The string you provided is too long
|
|
571
|
-
declare const IsValidShortString: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
572
|
-
declare const IsValidShortStringOrUndefined: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long
|
|
573
|
-
declare const InvalidLongStringOrUndefined = "The string you provided is too long
|
|
574
|
-
declare const IsValidLongString: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
575
|
-
declare const IsValidLongStringOrUndefined: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, "The string you provided is too long
|
|
1243
|
+
declare const InvalidShortStringMax = "The string you provided is too long, please abbreviate your string to be 255 characters or less.";
|
|
1244
|
+
declare const IsValidShortString: 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.">]>;
|
|
1245
|
+
declare const IsValidShortStringOrUndefined: 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>;
|
|
1246
|
+
declare const InvalidLongStringOrUndefined = "The string you provided is too long, please abbreviate your string to be 5000 characters or less.";
|
|
1247
|
+
declare const IsValidLongString: 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.">]>;
|
|
1248
|
+
declare const IsValidLongStringOrUndefined: 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>;
|
|
576
1249
|
declare const IsValidStringList: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>;
|
|
577
1250
|
declare const IsValidStringListOrUndefined: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
|
|
578
1251
|
|
|
@@ -591,8 +1264,8 @@ declare const IsValidOrUndefinedUrlFragment: v.UndefinedableSchema<v.SchemaWithP
|
|
|
591
1264
|
|
|
592
1265
|
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: - _ .">]>;
|
|
593
1266
|
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>;
|
|
594
|
-
declare const
|
|
595
|
-
declare const
|
|
1267
|
+
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">]>;
|
|
1268
|
+
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>;
|
|
596
1269
|
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">]>;
|
|
597
1270
|
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>;
|
|
598
1271
|
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">]>;
|
|
@@ -617,4 +1290,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
617
1290
|
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: - _ .">]>;
|
|
618
1291
|
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>;
|
|
619
1292
|
|
|
620
|
-
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmCampaignKeyName, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl,
|
|
1293
|
+
export { 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, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, type ClientReportDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, 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, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmCampaignKeyName, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, 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, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringOrUndefined, 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_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, 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_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, type LandingPageDocument, type LeadDocument, 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, QueryStrapiSearchClients, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SForgotUserPassword, SLoginUser, SReadUserByDocumentId, SReadUserById, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUpdateResumeInfo, SUpdateTrendsLikes, SUserToken, 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 StrapiBgColorOptions, type StrapiDirection, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, 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 UserWithAccountDocument, type UtmClassificationKey, type UtmMetaPageDocument, type UtmOption, type UtmSourceKey, type UtmTrackingLinkDocument, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|