@getcommunity/gc-validators 0.0.48 → 0.0.49
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 +34 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -10
- package/dist/index.d.ts +97 -10
- package/dist/index.js +29 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -150,7 +150,7 @@ declare const SEntityRelation: v.ObjectSchema<{
|
|
|
150
150
|
}, undefined>;
|
|
151
151
|
type SEntityRelationIn = v.InferInput<typeof SEntityRelation>;
|
|
152
152
|
type SEntityRelationOut = v.InferOutput<typeof SEntityRelation>;
|
|
153
|
-
declare const
|
|
153
|
+
declare const SConnectManyEntityRelation: v.ObjectSchema<{
|
|
154
154
|
readonly connect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
155
155
|
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">]>;
|
|
156
156
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -188,9 +188,9 @@ declare const SConnectEntityRelation: v.ObjectSchema<{
|
|
|
188
188
|
} | undefined;
|
|
189
189
|
})[], 100, "A maximum of 100 document IDs can be connected per request">]>;
|
|
190
190
|
}, undefined>;
|
|
191
|
-
type
|
|
192
|
-
type
|
|
193
|
-
declare const
|
|
191
|
+
type SConnectManyEntityRelationIn = v.InferInput<typeof SConnectManyEntityRelation>;
|
|
192
|
+
type SConnectManyEntityRelationOut = v.InferOutput<typeof SConnectManyEntityRelation>;
|
|
193
|
+
declare const SDisconnectManyEntityRelation: v.ObjectSchema<{
|
|
194
194
|
readonly disconnect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
195
195
|
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">]>;
|
|
196
196
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -228,9 +228,9 @@ declare const SDisconnectEntityRelation: v.ObjectSchema<{
|
|
|
228
228
|
} | undefined;
|
|
229
229
|
})[], 100, "A maximum of 100 document IDs can be disconnected per request">]>;
|
|
230
230
|
}, undefined>;
|
|
231
|
-
type
|
|
232
|
-
type
|
|
233
|
-
declare const
|
|
231
|
+
type SDisconnectManyEntityRelationIn = v.InferInput<typeof SDisconnectManyEntityRelation>;
|
|
232
|
+
type SDisconnectManyEntityRelationOut = v.InferOutput<typeof SDisconnectManyEntityRelation>;
|
|
233
|
+
declare const SSetManyEntityRelation: v.ObjectSchema<{
|
|
234
234
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
235
235
|
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">]>;
|
|
236
236
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -257,8 +257,95 @@ declare const SSetEntityRelation: v.ObjectSchema<{
|
|
|
257
257
|
} | undefined;
|
|
258
258
|
})[], 1, "At least one document ID is required to set a relation">]>;
|
|
259
259
|
}, undefined>;
|
|
260
|
-
type
|
|
261
|
-
type
|
|
260
|
+
type SSetManyEntityRelationIn = v.InferInput<typeof SSetManyEntityRelation>;
|
|
261
|
+
type SSetManyEntityRelationOut = v.InferOutput<typeof SSetManyEntityRelation>;
|
|
262
|
+
declare const SConnectOneEntityRelation: v.ObjectSchema<{
|
|
263
|
+
readonly connect: v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
264
|
+
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">]>;
|
|
265
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
266
|
+
readonly before: 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">]>;
|
|
267
|
+
}, undefined>, v.ObjectSchema<{
|
|
268
|
+
readonly after: 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">]>;
|
|
269
|
+
}, undefined>, v.ObjectSchema<{
|
|
270
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
271
|
+
}, undefined>, v.ObjectSchema<{
|
|
272
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
273
|
+
}, undefined>], undefined>]>, {
|
|
274
|
+
readonly end: true;
|
|
275
|
+
}>, undefined>;
|
|
276
|
+
}, undefined>], undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
type SConnectOneEntityRelationIn = v.InferInput<typeof SConnectOneEntityRelation>;
|
|
279
|
+
type SConnectOneEntityRelationOut = v.InferOutput<typeof SConnectOneEntityRelation>;
|
|
280
|
+
declare const SDisconnectOneEntityRelation: v.ObjectSchema<{
|
|
281
|
+
readonly disconnect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
282
|
+
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">]>;
|
|
283
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
284
|
+
readonly before: 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">]>;
|
|
285
|
+
}, undefined>, v.ObjectSchema<{
|
|
286
|
+
readonly after: 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">]>;
|
|
287
|
+
}, undefined>, v.ObjectSchema<{
|
|
288
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
289
|
+
}, undefined>, v.ObjectSchema<{
|
|
290
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
291
|
+
}, undefined>], undefined>]>, {
|
|
292
|
+
readonly end: true;
|
|
293
|
+
}>, undefined>;
|
|
294
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
|
|
295
|
+
documentId: string;
|
|
296
|
+
position?: {
|
|
297
|
+
before: string;
|
|
298
|
+
} | {
|
|
299
|
+
after: string;
|
|
300
|
+
} | {
|
|
301
|
+
start: boolean;
|
|
302
|
+
} | {
|
|
303
|
+
end: boolean;
|
|
304
|
+
} | undefined;
|
|
305
|
+
})[], 1, "At least one document ID is required to disconnect">, v.MaxLengthAction<(string | {
|
|
306
|
+
documentId: string;
|
|
307
|
+
position?: {
|
|
308
|
+
before: string;
|
|
309
|
+
} | {
|
|
310
|
+
after: string;
|
|
311
|
+
} | {
|
|
312
|
+
start: boolean;
|
|
313
|
+
} | {
|
|
314
|
+
end: boolean;
|
|
315
|
+
} | undefined;
|
|
316
|
+
})[], 100, "A maximum of 100 document IDs can be disconnected per request">]>;
|
|
317
|
+
}, undefined>;
|
|
318
|
+
type SDisconnectOneEntityRelationIn = v.InferInput<typeof SDisconnectOneEntityRelation>;
|
|
319
|
+
type SDisconnectOneEntityRelationOut = v.InferOutput<typeof SDisconnectOneEntityRelation>;
|
|
320
|
+
declare const SSetOneEntityRelation: v.ObjectSchema<{
|
|
321
|
+
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
322
|
+
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">]>;
|
|
323
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
324
|
+
readonly before: 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>, v.ObjectSchema<{
|
|
326
|
+
readonly after: 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">]>;
|
|
327
|
+
}, undefined>, v.ObjectSchema<{
|
|
328
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
329
|
+
}, undefined>, v.ObjectSchema<{
|
|
330
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
331
|
+
}, undefined>], undefined>]>, {
|
|
332
|
+
readonly end: true;
|
|
333
|
+
}>, undefined>;
|
|
334
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
|
|
335
|
+
documentId: string;
|
|
336
|
+
position?: {
|
|
337
|
+
before: string;
|
|
338
|
+
} | {
|
|
339
|
+
after: string;
|
|
340
|
+
} | {
|
|
341
|
+
start: boolean;
|
|
342
|
+
} | {
|
|
343
|
+
end: boolean;
|
|
344
|
+
} | undefined;
|
|
345
|
+
})[], 1, "At least one document ID is required to set a relation">]>;
|
|
346
|
+
}, undefined>;
|
|
347
|
+
type SSetOneEntityRelationIn = v.InferInput<typeof SSetOneEntityRelation>;
|
|
348
|
+
type SSetOneEntityRelationOut = v.InferOutput<typeof SSetOneEntityRelation>;
|
|
262
349
|
|
|
263
350
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
264
351
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
@@ -2178,4 +2265,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
2178
2265
|
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: - _ .">]>;
|
|
2179
2266
|
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>;
|
|
2180
2267
|
|
|
2181
|
-
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, type BrandStyleguideColor, type BrandStyleguideFont, 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, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_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, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, type SConnectClientProjectsIn, type SConnectClientProjectsOut, SConnectClientReports, type SConnectClientReportsIn, type SConnectClientReportsOut, SConnectEntityRelation, type SConnectEntityRelationIn, type SConnectEntityRelationOut, SConnectMediaPlatforms, type SConnectMediaPlatformsIn, type SConnectMediaPlatformsOut, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SDisconnectClientProjects, type SDisconnectClientProjectsIn, type SDisconnectClientProjectsOut, SDisconnectClientReports, type SDisconnectClientReportsIn, type SDisconnectClientReportsOut, SDisconnectEntityRelation, type SDisconnectEntityRelationIn, type SDisconnectEntityRelationOut, SDisconnectMediaPlatforms, type SDisconnectMediaPlatformsIn, type SDisconnectMediaPlatformsOut, SEntityRelation, type SEntityRelationIn, type SEntityRelationOut, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, type SEntityRelationPositionOut, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetClientProjects, type SSetClientProjectsIn, type SSetClientProjectsOut, SSetClientReports, type SSetClientReportsIn, type SSetClientReportsOut, SSetEntityRelation, type SSetEntityRelationIn, type SSetEntityRelationOut, SSetMediaPlatforms, type SSetMediaPlatformsIn, type SSetMediaPlatformsOut, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, 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, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
2268
|
+
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, type BrandStyleguideColor, type BrandStyleguideFont, 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, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_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, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, type SConnectClientProjectsIn, type SConnectClientProjectsOut, SConnectClientReports, type SConnectClientReportsIn, type SConnectClientReportsOut, SConnectManyEntityRelation, type SConnectManyEntityRelationIn, type SConnectManyEntityRelationOut, SConnectMediaPlatforms, type SConnectMediaPlatformsIn, type SConnectMediaPlatformsOut, SConnectOneEntityRelation, type SConnectOneEntityRelationIn, type SConnectOneEntityRelationOut, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SDisconnectClientProjects, type SDisconnectClientProjectsIn, type SDisconnectClientProjectsOut, SDisconnectClientReports, type SDisconnectClientReportsIn, type SDisconnectClientReportsOut, SDisconnectManyEntityRelation, type SDisconnectManyEntityRelationIn, type SDisconnectManyEntityRelationOut, SDisconnectMediaPlatforms, type SDisconnectMediaPlatformsIn, type SDisconnectMediaPlatformsOut, SDisconnectOneEntityRelation, type SDisconnectOneEntityRelationIn, type SDisconnectOneEntityRelationOut, SEntityRelation, type SEntityRelationIn, type SEntityRelationOut, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, type SEntityRelationPositionOut, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetClientProjects, type SSetClientProjectsIn, type SSetClientProjectsOut, SSetClientReports, type SSetClientReportsIn, type SSetClientReportsOut, SSetManyEntityRelation, type SSetManyEntityRelationIn, type SSetManyEntityRelationOut, SSetMediaPlatforms, type SSetMediaPlatformsIn, type SSetMediaPlatformsOut, SSetOneEntityRelation, type SSetOneEntityRelationIn, type SSetOneEntityRelationOut, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, 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, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
package/dist/index.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ declare const SEntityRelation: v.ObjectSchema<{
|
|
|
150
150
|
}, undefined>;
|
|
151
151
|
type SEntityRelationIn = v.InferInput<typeof SEntityRelation>;
|
|
152
152
|
type SEntityRelationOut = v.InferOutput<typeof SEntityRelation>;
|
|
153
|
-
declare const
|
|
153
|
+
declare const SConnectManyEntityRelation: v.ObjectSchema<{
|
|
154
154
|
readonly connect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
155
155
|
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">]>;
|
|
156
156
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -188,9 +188,9 @@ declare const SConnectEntityRelation: v.ObjectSchema<{
|
|
|
188
188
|
} | undefined;
|
|
189
189
|
})[], 100, "A maximum of 100 document IDs can be connected per request">]>;
|
|
190
190
|
}, undefined>;
|
|
191
|
-
type
|
|
192
|
-
type
|
|
193
|
-
declare const
|
|
191
|
+
type SConnectManyEntityRelationIn = v.InferInput<typeof SConnectManyEntityRelation>;
|
|
192
|
+
type SConnectManyEntityRelationOut = v.InferOutput<typeof SConnectManyEntityRelation>;
|
|
193
|
+
declare const SDisconnectManyEntityRelation: v.ObjectSchema<{
|
|
194
194
|
readonly disconnect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
195
195
|
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">]>;
|
|
196
196
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -228,9 +228,9 @@ declare const SDisconnectEntityRelation: v.ObjectSchema<{
|
|
|
228
228
|
} | undefined;
|
|
229
229
|
})[], 100, "A maximum of 100 document IDs can be disconnected per request">]>;
|
|
230
230
|
}, undefined>;
|
|
231
|
-
type
|
|
232
|
-
type
|
|
233
|
-
declare const
|
|
231
|
+
type SDisconnectManyEntityRelationIn = v.InferInput<typeof SDisconnectManyEntityRelation>;
|
|
232
|
+
type SDisconnectManyEntityRelationOut = v.InferOutput<typeof SDisconnectManyEntityRelation>;
|
|
233
|
+
declare const SSetManyEntityRelation: v.ObjectSchema<{
|
|
234
234
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
235
235
|
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">]>;
|
|
236
236
|
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -257,8 +257,95 @@ declare const SSetEntityRelation: v.ObjectSchema<{
|
|
|
257
257
|
} | undefined;
|
|
258
258
|
})[], 1, "At least one document ID is required to set a relation">]>;
|
|
259
259
|
}, undefined>;
|
|
260
|
-
type
|
|
261
|
-
type
|
|
260
|
+
type SSetManyEntityRelationIn = v.InferInput<typeof SSetManyEntityRelation>;
|
|
261
|
+
type SSetManyEntityRelationOut = v.InferOutput<typeof SSetManyEntityRelation>;
|
|
262
|
+
declare const SConnectOneEntityRelation: v.ObjectSchema<{
|
|
263
|
+
readonly connect: v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
264
|
+
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">]>;
|
|
265
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
266
|
+
readonly before: 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">]>;
|
|
267
|
+
}, undefined>, v.ObjectSchema<{
|
|
268
|
+
readonly after: 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">]>;
|
|
269
|
+
}, undefined>, v.ObjectSchema<{
|
|
270
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
271
|
+
}, undefined>, v.ObjectSchema<{
|
|
272
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
273
|
+
}, undefined>], undefined>]>, {
|
|
274
|
+
readonly end: true;
|
|
275
|
+
}>, undefined>;
|
|
276
|
+
}, undefined>], undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
type SConnectOneEntityRelationIn = v.InferInput<typeof SConnectOneEntityRelation>;
|
|
279
|
+
type SConnectOneEntityRelationOut = v.InferOutput<typeof SConnectOneEntityRelation>;
|
|
280
|
+
declare const SDisconnectOneEntityRelation: v.ObjectSchema<{
|
|
281
|
+
readonly disconnect: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
282
|
+
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">]>;
|
|
283
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
284
|
+
readonly before: 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">]>;
|
|
285
|
+
}, undefined>, v.ObjectSchema<{
|
|
286
|
+
readonly after: 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">]>;
|
|
287
|
+
}, undefined>, v.ObjectSchema<{
|
|
288
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
289
|
+
}, undefined>, v.ObjectSchema<{
|
|
290
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
291
|
+
}, undefined>], undefined>]>, {
|
|
292
|
+
readonly end: true;
|
|
293
|
+
}>, undefined>;
|
|
294
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
|
|
295
|
+
documentId: string;
|
|
296
|
+
position?: {
|
|
297
|
+
before: string;
|
|
298
|
+
} | {
|
|
299
|
+
after: string;
|
|
300
|
+
} | {
|
|
301
|
+
start: boolean;
|
|
302
|
+
} | {
|
|
303
|
+
end: boolean;
|
|
304
|
+
} | undefined;
|
|
305
|
+
})[], 1, "At least one document ID is required to disconnect">, v.MaxLengthAction<(string | {
|
|
306
|
+
documentId: string;
|
|
307
|
+
position?: {
|
|
308
|
+
before: string;
|
|
309
|
+
} | {
|
|
310
|
+
after: string;
|
|
311
|
+
} | {
|
|
312
|
+
start: boolean;
|
|
313
|
+
} | {
|
|
314
|
+
end: boolean;
|
|
315
|
+
} | undefined;
|
|
316
|
+
})[], 100, "A maximum of 100 document IDs can be disconnected per request">]>;
|
|
317
|
+
}, undefined>;
|
|
318
|
+
type SDisconnectOneEntityRelationIn = v.InferInput<typeof SDisconnectOneEntityRelation>;
|
|
319
|
+
type SDisconnectOneEntityRelationOut = v.InferOutput<typeof SDisconnectOneEntityRelation>;
|
|
320
|
+
declare const SSetOneEntityRelation: v.ObjectSchema<{
|
|
321
|
+
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[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">]>, v.ObjectSchema<{
|
|
322
|
+
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">]>;
|
|
323
|
+
readonly position: v.OptionalSchema<v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
|
|
324
|
+
readonly before: 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>, v.ObjectSchema<{
|
|
326
|
+
readonly after: 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">]>;
|
|
327
|
+
}, undefined>, v.ObjectSchema<{
|
|
328
|
+
readonly start: v.BooleanSchema<"start must be a boolean value">;
|
|
329
|
+
}, undefined>, v.ObjectSchema<{
|
|
330
|
+
readonly end: v.BooleanSchema<"end must be a boolean value">;
|
|
331
|
+
}, undefined>], undefined>]>, {
|
|
332
|
+
readonly end: true;
|
|
333
|
+
}>, undefined>;
|
|
334
|
+
}, undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
|
|
335
|
+
documentId: string;
|
|
336
|
+
position?: {
|
|
337
|
+
before: string;
|
|
338
|
+
} | {
|
|
339
|
+
after: string;
|
|
340
|
+
} | {
|
|
341
|
+
start: boolean;
|
|
342
|
+
} | {
|
|
343
|
+
end: boolean;
|
|
344
|
+
} | undefined;
|
|
345
|
+
})[], 1, "At least one document ID is required to set a relation">]>;
|
|
346
|
+
}, undefined>;
|
|
347
|
+
type SSetOneEntityRelationIn = v.InferInput<typeof SSetOneEntityRelation>;
|
|
348
|
+
type SSetOneEntityRelationOut = v.InferOutput<typeof SSetOneEntityRelation>;
|
|
262
349
|
|
|
263
350
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
264
351
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
@@ -2178,4 +2265,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
2178
2265
|
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: - _ .">]>;
|
|
2179
2266
|
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>;
|
|
2180
2267
|
|
|
2181
|
-
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, type BrandStyleguideColor, type BrandStyleguideFont, 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, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_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, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, type SConnectClientProjectsIn, type SConnectClientProjectsOut, SConnectClientReports, type SConnectClientReportsIn, type SConnectClientReportsOut, SConnectEntityRelation, type SConnectEntityRelationIn, type SConnectEntityRelationOut, SConnectMediaPlatforms, type SConnectMediaPlatformsIn, type SConnectMediaPlatformsOut, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SDisconnectClientProjects, type SDisconnectClientProjectsIn, type SDisconnectClientProjectsOut, SDisconnectClientReports, type SDisconnectClientReportsIn, type SDisconnectClientReportsOut, SDisconnectEntityRelation, type SDisconnectEntityRelationIn, type SDisconnectEntityRelationOut, SDisconnectMediaPlatforms, type SDisconnectMediaPlatformsIn, type SDisconnectMediaPlatformsOut, SEntityRelation, type SEntityRelationIn, type SEntityRelationOut, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, type SEntityRelationPositionOut, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetClientProjects, type SSetClientProjectsIn, type SSetClientProjectsOut, SSetClientReports, type SSetClientReportsIn, type SSetClientReportsOut, SSetEntityRelation, type SSetEntityRelationIn, type SSetEntityRelationOut, SSetMediaPlatforms, type SSetMediaPlatformsIn, type SSetMediaPlatformsOut, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, 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, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
2268
|
+
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, type BrandStyleguideColor, type BrandStyleguideFont, 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, ClientProjectStatusOptions, type ClientReportDocument, type ClientStyleguideDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentBrandStyleguideColor, type ComponentBrandStyleguideFont, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_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, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, type SConnectClientProjectsIn, type SConnectClientProjectsOut, SConnectClientReports, type SConnectClientReportsIn, type SConnectClientReportsOut, SConnectManyEntityRelation, type SConnectManyEntityRelationIn, type SConnectManyEntityRelationOut, SConnectMediaPlatforms, type SConnectMediaPlatformsIn, type SConnectMediaPlatformsOut, SConnectOneEntityRelation, type SConnectOneEntityRelationIn, type SConnectOneEntityRelationOut, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SDisconnectClientProjects, type SDisconnectClientProjectsIn, type SDisconnectClientProjectsOut, SDisconnectClientReports, type SDisconnectClientReportsIn, type SDisconnectClientReportsOut, SDisconnectManyEntityRelation, type SDisconnectManyEntityRelationIn, type SDisconnectManyEntityRelationOut, SDisconnectMediaPlatforms, type SDisconnectMediaPlatformsIn, type SDisconnectMediaPlatformsOut, SDisconnectOneEntityRelation, type SDisconnectOneEntityRelationIn, type SDisconnectOneEntityRelationOut, SEntityRelation, type SEntityRelationIn, type SEntityRelationOut, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, type SEntityRelationPositionIn, type SEntityRelationPositionOut, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetClientProjects, type SSetClientProjectsIn, type SSetClientProjectsOut, SSetClientReports, type SSetClientReportsIn, type SSetClientReportsOut, SSetManyEntityRelation, type SSetManyEntityRelationIn, type SSetManyEntityRelationOut, SSetMediaPlatforms, type SSetMediaPlatformsIn, type SSetMediaPlatformsOut, SSetOneEntityRelation, type SSetOneEntityRelationIn, type SSetOneEntityRelationOut, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, type SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderTableForm, type SUtmLinkBuilderTableFormInput, 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, type WebSafeFont, type WebSafeFontDisplay, type WebSafeFontMono, type WebSafeFontSans, type WebSafeFontSerif, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
package/dist/index.js
CHANGED
|
@@ -747,21 +747,37 @@ var SEntityRelation = v3.object({
|
|
|
747
747
|
documentId: IsValidReferenceDocumentId,
|
|
748
748
|
position: v3.optional(SEntityRelationPosition)
|
|
749
749
|
});
|
|
750
|
-
var
|
|
750
|
+
var SConnectManyEntityRelation = v3.object({
|
|
751
751
|
connect: v3.pipe(
|
|
752
752
|
v3.array(v3.union([IsValidReferenceDocumentId, SEntityRelation])),
|
|
753
753
|
v3.minLength(1, "At least one document ID is required to connect"),
|
|
754
754
|
v3.maxLength(100, "A maximum of 100 document IDs can be connected per request")
|
|
755
755
|
)
|
|
756
756
|
});
|
|
757
|
-
var
|
|
757
|
+
var SDisconnectManyEntityRelation = v3.object({
|
|
758
758
|
disconnect: v3.pipe(
|
|
759
759
|
v3.array(v3.union([IsValidReferenceDocumentId, SEntityRelation])),
|
|
760
760
|
v3.minLength(1, "At least one document ID is required to disconnect"),
|
|
761
761
|
v3.maxLength(100, "A maximum of 100 document IDs can be disconnected per request")
|
|
762
762
|
)
|
|
763
763
|
});
|
|
764
|
-
var
|
|
764
|
+
var SSetManyEntityRelation = v3.object({
|
|
765
|
+
set: v3.pipe(
|
|
766
|
+
v3.array(v3.union([IsValidReferenceDocumentId, SEntityRelation])),
|
|
767
|
+
v3.minLength(1, "At least one document ID is required to set a relation")
|
|
768
|
+
)
|
|
769
|
+
});
|
|
770
|
+
var SConnectOneEntityRelation = v3.object({
|
|
771
|
+
connect: v3.union([IsValidReferenceDocumentId, SEntityRelation])
|
|
772
|
+
});
|
|
773
|
+
var SDisconnectOneEntityRelation = v3.object({
|
|
774
|
+
disconnect: v3.pipe(
|
|
775
|
+
v3.array(v3.union([IsValidReferenceDocumentId, SEntityRelation])),
|
|
776
|
+
v3.minLength(1, "At least one document ID is required to disconnect"),
|
|
777
|
+
v3.maxLength(100, "A maximum of 100 document IDs can be disconnected per request")
|
|
778
|
+
)
|
|
779
|
+
});
|
|
780
|
+
var SSetOneEntityRelation = v3.object({
|
|
765
781
|
set: v3.pipe(
|
|
766
782
|
v3.array(v3.union([IsValidReferenceDocumentId, SEntityRelation])),
|
|
767
783
|
v3.minLength(1, "At least one document ID is required to set a relation")
|
|
@@ -815,13 +831,13 @@ var QueryStrapiSearchClientProjects = v3.object({
|
|
|
815
831
|
client_id: v3.optional(IsValidReferenceDocumentId)
|
|
816
832
|
});
|
|
817
833
|
var SConnectClientProjects = v3.object({
|
|
818
|
-
client_projects:
|
|
834
|
+
client_projects: SConnectManyEntityRelation
|
|
819
835
|
});
|
|
820
836
|
var SDisconnectClientProjects = v3.object({
|
|
821
|
-
client_projects:
|
|
837
|
+
client_projects: SDisconnectManyEntityRelation
|
|
822
838
|
});
|
|
823
839
|
var SSetClientProjects = v3.object({
|
|
824
|
-
client_projects:
|
|
840
|
+
client_projects: SSetManyEntityRelation
|
|
825
841
|
});
|
|
826
842
|
var QueryStrapiSearchClientReports = v3.object({
|
|
827
843
|
page: v3.fallback(v3.optional(v3.pipe(v3.number(), v3.minValue(1)), 1), 1),
|
|
@@ -838,13 +854,13 @@ var QueryStrapiSearchClientReports = v3.object({
|
|
|
838
854
|
client_id: v3.optional(IsValidReferenceDocumentId)
|
|
839
855
|
});
|
|
840
856
|
var SConnectClientReports = v3.object({
|
|
841
|
-
client_reports:
|
|
857
|
+
client_reports: SConnectManyEntityRelation
|
|
842
858
|
});
|
|
843
859
|
var SDisconnectClientReports = v3.object({
|
|
844
|
-
client_reports:
|
|
860
|
+
client_reports: SDisconnectManyEntityRelation
|
|
845
861
|
});
|
|
846
862
|
var SSetClientReports = v3.object({
|
|
847
|
-
client_reports:
|
|
863
|
+
client_reports: SSetManyEntityRelation
|
|
848
864
|
});
|
|
849
865
|
var QueryStrapiSearchClientStyleguide = v3.object({
|
|
850
866
|
page: v3.fallback(v3.optional(v3.pipe(v3.number(), v3.minValue(1)), 1), 1),
|
|
@@ -974,13 +990,13 @@ var QueryStrapiSearchMediaPlatforms = v3.object({
|
|
|
974
990
|
slug: v3.optional(IsValidShortString)
|
|
975
991
|
});
|
|
976
992
|
var SConnectMediaPlatforms = v3.object({
|
|
977
|
-
client_reports:
|
|
993
|
+
client_reports: SConnectManyEntityRelation
|
|
978
994
|
});
|
|
979
995
|
var SDisconnectMediaPlatforms = v3.object({
|
|
980
|
-
client_reports:
|
|
996
|
+
client_reports: SDisconnectManyEntityRelation
|
|
981
997
|
});
|
|
982
998
|
var SSetMediaPlatforms = v3.object({
|
|
983
|
-
client_reports:
|
|
999
|
+
client_reports: SSetManyEntityRelation
|
|
984
1000
|
});
|
|
985
1001
|
var SCreateNewsletterSignup = v3.object({
|
|
986
1002
|
first_name: IsValidFirstName,
|
|
@@ -1516,6 +1532,6 @@ function datePlusDays(today, days = 30) {
|
|
|
1516
1532
|
return date2;
|
|
1517
1533
|
}
|
|
1518
1534
|
|
|
1519
|
-
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientProjectStatusOptions, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, SConnectClientReports,
|
|
1535
|
+
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientProjectStatusOptions, 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, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, 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, IsValidPreferredName, 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, 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_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT, 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_TABLE_PAGINATION_DEFAULT_SIZE, 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, LIMIT_UTM_TRACKING_LINK_PAGINATION_DEFAULT_SIZE, LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_UTM_VALUE, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectClientProjects, SConnectClientReports, SConnectManyEntityRelation, SConnectMediaPlatforms, SConnectOneEntityRelation, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SDisconnectClientProjects, SDisconnectClientReports, SDisconnectManyEntityRelation, SDisconnectMediaPlatforms, SDisconnectOneEntityRelation, SEntityRelation, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SSetClientProjects, SSetClientReports, SSetManyEntityRelation, SSetMediaPlatforms, SSetOneEntityRelation, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderTableForm, SharpSpringSignUpToDownload, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
1520
1536
|
//# sourceMappingURL=index.js.map
|
|
1521
1537
|
//# sourceMappingURL=index.js.map
|