@getcommunity/gc-validators 0.0.41 → 0.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -45,6 +45,14 @@ declare const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
45
45
  declare const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
46
46
  declare const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 16;
47
47
  declare const LIMIT_CLIENT_PAGINATION_MAX_SIZE = 100;
48
+ declare const LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
49
+ declare const LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = 100;
50
+ declare const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
51
+ declare const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
52
+ declare const LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE = 10;
53
+ declare const LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE = 100;
54
+ declare const LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
55
+ declare const LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT = 100;
48
56
  declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
49
57
  declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
50
58
  declare const LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
@@ -72,9 +80,9 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
72
80
  * > const invalidScope: ClientEntityScope = "website:import"; // ❌ Type error!
73
81
  */
74
82
  declare const CLIENT_ENTITY_PERMISSIONS: {
75
- readonly "client-project": readonly ["list", "create", "read", "update", "delete", "export", "import"];
76
- readonly "client-report": readonly ["list", "create", "read", "update", "delete", "export", "import"];
77
- readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete", "export", "import"];
83
+ readonly "client-project": readonly ["list", "create", "read", "update", "delete"];
84
+ readonly "client-report": readonly ["list", "create", "read", "update", "delete"];
85
+ readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"];
78
86
  };
79
87
  type ClientEntityKey = keyof typeof CLIENT_ENTITY_PERMISSIONS;
80
88
  type ClientEntityActions<K extends ClientEntityKey = ClientEntityKey> = (typeof CLIENT_ENTITY_PERMISSIONS)[K][number];
@@ -115,6 +123,68 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
115
123
  }, undefined>;
116
124
  type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
117
125
 
126
+ declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
127
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
128
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
129
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
130
+ readonly report_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
131
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
132
+ }, undefined>;
133
+ type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
134
+
135
+ declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
136
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
137
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
138
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
139
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
140
+ }, undefined>;
141
+ type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
142
+
143
+ declare const SQueryListClientUserDocuments: v.ObjectSchema<{
144
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
145
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
146
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
147
+ }, undefined>;
148
+ type SQueryListClientUserDocuments = v.InferOutput<typeof SQueryListClientUserDocuments>;
149
+ declare const SCreateClientUserDocument: v.ObjectSchema<{
150
+ readonly client: 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">]>;
151
+ readonly user: 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">]>;
152
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
153
+ }, undefined>;
154
+ type SCreateClientUserDocument = v.InferOutput<typeof SCreateClientUserDocument>;
155
+ declare const SCreateClientUserDocumentRequest: v.ObjectSchema<{
156
+ 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">]>;
157
+ readonly data: v.ObjectSchema<{
158
+ readonly client: 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">]>;
159
+ readonly user: 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">]>;
160
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
161
+ }, undefined>;
162
+ }, undefined>;
163
+ type SCreateClientUserDocumentRequest = v.InferOutput<typeof SCreateClientUserDocumentRequest>;
164
+ declare const SReadClientUserDocumentById: v.ObjectSchema<{
165
+ readonly id: v.NumberSchema<"please provide a valid id">;
166
+ }, undefined>;
167
+ type SReadClientUserDocumentById = v.InferOutput<typeof SReadClientUserDocumentById>;
168
+ declare const SReadClientUserDocumentByDocumentId: v.ObjectSchema<{
169
+ 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">]>;
170
+ }, undefined>;
171
+ type SReadClientUserDocumentByDocumentId = v.InferOutput<typeof SReadClientUserDocumentByDocumentId>;
172
+ declare const SUpdateClientUserDocument: v.ObjectSchema<{
173
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
174
+ }, undefined>;
175
+ type SUpdateClientUserDocument = v.InferOutput<typeof SUpdateClientUserDocument>;
176
+ declare const SUpdateClientUserDocumentRequest: v.ObjectSchema<{
177
+ 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">]>;
178
+ readonly data: v.ObjectSchema<{
179
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
180
+ }, undefined>;
181
+ }, undefined>;
182
+ type SUpdateClientUserDocumentRequest = v.InferOutput<typeof SUpdateClientUserDocumentRequest>;
183
+ declare const SDeleteClientUserDocument: v.ObjectSchema<{
184
+ 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">]>;
185
+ }, undefined>;
186
+ type SDeleteClientUserDocument = v.InferOutput<typeof SDeleteClientUserDocument>;
187
+
118
188
  declare const QueryStrapiSearchClients: v.ObjectSchema<{
119
189
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
120
190
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
@@ -1039,6 +1109,13 @@ type ClientReportDocument = {
1039
1109
  is_active: boolean;
1040
1110
  } & BaseDocument;
1041
1111
 
1112
+ type ClientStyleguideDocument = {
1113
+ client?: ClientDocument;
1114
+ title: string;
1115
+ styleguide: string;
1116
+ is_active: boolean;
1117
+ } & BaseDocument;
1118
+
1042
1119
  type PermissionDocument = {
1043
1120
  action: string;
1044
1121
  role?: RoleDocument;
@@ -1105,9 +1182,9 @@ type UserAuthorizationSuccessResponse = {
1105
1182
  };
1106
1183
 
1107
1184
  type ClientUserDocument = {
1108
- client?: ClientDocument;
1109
- user?: UserDocument;
1110
- scopes: Array<string> | string;
1185
+ client: Partial<ClientDocument>;
1186
+ user: Partial<UserDocument>;
1187
+ scopes: ClientEntityScope[];
1111
1188
  } & BaseDocument;
1112
1189
 
1113
1190
  type MediaPlatformDocument = {
@@ -1161,6 +1238,7 @@ type ClientDocument = {
1161
1238
  client_reports?: ClientReportDocument[];
1162
1239
  users?: ClientUserDocument[];
1163
1240
  utm_tracking_links?: UtmTrackingLinkDocument[];
1241
+ styleguides?: ClientStyleguideDocument[];
1164
1242
  } & BaseDocument;
1165
1243
 
1166
1244
  declare const ClientProjectStatusOptions: string[];
@@ -1290,7 +1368,7 @@ declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T
1290
1368
  declare function dateToday(): Date;
1291
1369
  declare function datePlusDays(today: Date, days?: number): Date;
1292
1370
 
1293
- declare const IsValidGroupUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
1371
+ declare const IsValidClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
1294
1372
 
1295
1373
  declare const InvalidInputRobot = "It appears you are a robot, please try again.";
1296
1374
  declare const IsValidFileReferenceId: v.ObjectSchema<{
@@ -1554,4 +1632,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
1554
1632
  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: - _ .">]>;
1555
1633
  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>;
1556
1634
 
1557
- export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, 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_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, QueryStrapiSearchClients, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, 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, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
1635
+ export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, 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 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, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, 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, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
package/dist/index.d.ts CHANGED
@@ -45,6 +45,14 @@ declare const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
45
45
  declare const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
46
46
  declare const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 16;
47
47
  declare const LIMIT_CLIENT_PAGINATION_MAX_SIZE = 100;
48
+ declare const LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
49
+ declare const LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = 100;
50
+ declare const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
51
+ declare const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
52
+ declare const LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE = 10;
53
+ declare const LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE = 100;
54
+ declare const LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
55
+ declare const LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT = 100;
48
56
  declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
49
57
  declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
50
58
  declare const LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
@@ -72,9 +80,9 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
72
80
  * > const invalidScope: ClientEntityScope = "website:import"; // ❌ Type error!
73
81
  */
74
82
  declare const CLIENT_ENTITY_PERMISSIONS: {
75
- readonly "client-project": readonly ["list", "create", "read", "update", "delete", "export", "import"];
76
- readonly "client-report": readonly ["list", "create", "read", "update", "delete", "export", "import"];
77
- readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete", "export", "import"];
83
+ readonly "client-project": readonly ["list", "create", "read", "update", "delete"];
84
+ readonly "client-report": readonly ["list", "create", "read", "update", "delete"];
85
+ readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"];
78
86
  };
79
87
  type ClientEntityKey = keyof typeof CLIENT_ENTITY_PERMISSIONS;
80
88
  type ClientEntityActions<K extends ClientEntityKey = ClientEntityKey> = (typeof CLIENT_ENTITY_PERMISSIONS)[K][number];
@@ -115,6 +123,68 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
115
123
  }, undefined>;
116
124
  type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
117
125
 
126
+ declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
127
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
128
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
129
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
130
+ readonly report_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
131
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
132
+ }, undefined>;
133
+ type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
134
+
135
+ declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
136
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
137
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
138
+ readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
139
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
140
+ }, undefined>;
141
+ type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
142
+
143
+ declare const SQueryListClientUserDocuments: v.ObjectSchema<{
144
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
145
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
146
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
147
+ }, undefined>;
148
+ type SQueryListClientUserDocuments = v.InferOutput<typeof SQueryListClientUserDocuments>;
149
+ declare const SCreateClientUserDocument: v.ObjectSchema<{
150
+ readonly client: 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">]>;
151
+ readonly user: 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">]>;
152
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
153
+ }, undefined>;
154
+ type SCreateClientUserDocument = v.InferOutput<typeof SCreateClientUserDocument>;
155
+ declare const SCreateClientUserDocumentRequest: v.ObjectSchema<{
156
+ 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">]>;
157
+ readonly data: v.ObjectSchema<{
158
+ readonly client: 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">]>;
159
+ readonly user: 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">]>;
160
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
161
+ }, undefined>;
162
+ }, undefined>;
163
+ type SCreateClientUserDocumentRequest = v.InferOutput<typeof SCreateClientUserDocumentRequest>;
164
+ declare const SReadClientUserDocumentById: v.ObjectSchema<{
165
+ readonly id: v.NumberSchema<"please provide a valid id">;
166
+ }, undefined>;
167
+ type SReadClientUserDocumentById = v.InferOutput<typeof SReadClientUserDocumentById>;
168
+ declare const SReadClientUserDocumentByDocumentId: v.ObjectSchema<{
169
+ 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">]>;
170
+ }, undefined>;
171
+ type SReadClientUserDocumentByDocumentId = v.InferOutput<typeof SReadClientUserDocumentByDocumentId>;
172
+ declare const SUpdateClientUserDocument: v.ObjectSchema<{
173
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
174
+ }, undefined>;
175
+ type SUpdateClientUserDocument = v.InferOutput<typeof SUpdateClientUserDocument>;
176
+ declare const SUpdateClientUserDocumentRequest: v.ObjectSchema<{
177
+ 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">]>;
178
+ readonly data: v.ObjectSchema<{
179
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
180
+ }, undefined>;
181
+ }, undefined>;
182
+ type SUpdateClientUserDocumentRequest = v.InferOutput<typeof SUpdateClientUserDocumentRequest>;
183
+ declare const SDeleteClientUserDocument: v.ObjectSchema<{
184
+ 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">]>;
185
+ }, undefined>;
186
+ type SDeleteClientUserDocument = v.InferOutput<typeof SDeleteClientUserDocument>;
187
+
118
188
  declare const QueryStrapiSearchClients: v.ObjectSchema<{
119
189
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
120
190
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
@@ -1039,6 +1109,13 @@ type ClientReportDocument = {
1039
1109
  is_active: boolean;
1040
1110
  } & BaseDocument;
1041
1111
 
1112
+ type ClientStyleguideDocument = {
1113
+ client?: ClientDocument;
1114
+ title: string;
1115
+ styleguide: string;
1116
+ is_active: boolean;
1117
+ } & BaseDocument;
1118
+
1042
1119
  type PermissionDocument = {
1043
1120
  action: string;
1044
1121
  role?: RoleDocument;
@@ -1105,9 +1182,9 @@ type UserAuthorizationSuccessResponse = {
1105
1182
  };
1106
1183
 
1107
1184
  type ClientUserDocument = {
1108
- client?: ClientDocument;
1109
- user?: UserDocument;
1110
- scopes: Array<string> | string;
1185
+ client: Partial<ClientDocument>;
1186
+ user: Partial<UserDocument>;
1187
+ scopes: ClientEntityScope[];
1111
1188
  } & BaseDocument;
1112
1189
 
1113
1190
  type MediaPlatformDocument = {
@@ -1161,6 +1238,7 @@ type ClientDocument = {
1161
1238
  client_reports?: ClientReportDocument[];
1162
1239
  users?: ClientUserDocument[];
1163
1240
  utm_tracking_links?: UtmTrackingLinkDocument[];
1241
+ styleguides?: ClientStyleguideDocument[];
1164
1242
  } & BaseDocument;
1165
1243
 
1166
1244
  declare const ClientProjectStatusOptions: string[];
@@ -1290,7 +1368,7 @@ declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T
1290
1368
  declare function dateToday(): Date;
1291
1369
  declare function datePlusDays(today: Date, days?: number): Date;
1292
1370
 
1293
- declare const IsValidGroupUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
1371
+ declare const IsValidClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
1294
1372
 
1295
1373
  declare const InvalidInputRobot = "It appears you are a robot, please try again.";
1296
1374
  declare const IsValidFileReferenceId: v.ObjectSchema<{
@@ -1554,4 +1632,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
1554
1632
  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: - _ .">]>;
1555
1633
  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>;
1556
1634
 
1557
- export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, ClientProjectStatusOptions, type ClientReportDocument, type ClientUserDocument, type ComponentBlockAnnouncementBar, type ComponentBlockBrandLogos, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, type ComponentBlockFullscreenContent, type ComponentBlockTextDetails, type ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentOpenGraph, type ComponentSeoMeta, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, type ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, type ComponentUtmOption, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_UTM_VALUE, type FormDownload, type FormDownloadKeys, type FormSelect, type FormUID, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringOrUndefined, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserPhone, InvalidUserPhoneType, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidCaptchaToken, IsValidClientTerm, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, 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_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, QueryStrapiSearchClients, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, 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, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
1635
+ export { type BaseDocument, type BlockAnnouncementBar, type BlockBrandLogos, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockFullscreenContent, type BlockFullscreenContentType, type BlockTextDetails, type BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, type CareersPageDocument, type CategoryDocument, type ClientDocument, type ClientEntityActions, type ClientEntityKey, type ClientEntityScope, type ClientProjectDocument, type ClientProjectStatus, 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 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, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, type ResumeDocument, type RichTextBlock, type RichTextBlockChildren, type RoleDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, type SCreateUtmTrackingLinkDocumentInput, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, 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, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
package/dist/index.js CHANGED
@@ -47,6 +47,14 @@ var LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
47
47
  var LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
48
48
  var LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 16;
49
49
  var LIMIT_CLIENT_PAGINATION_MAX_SIZE = 100;
50
+ var LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
51
+ var LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = 100;
52
+ var LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
53
+ var LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
54
+ var LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE = 10;
55
+ var LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE = 100;
56
+ var LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
57
+ var LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT = 100;
50
58
  var LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
51
59
  var LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
52
60
  var LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
@@ -68,17 +76,9 @@ var LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1e3;
68
76
 
69
77
  // src/constants/permission.constants.ts
70
78
  var CLIENT_ENTITY_PERMISSIONS = {
71
- "client-project": ["list", "create", "read", "update", "delete", "export", "import"],
72
- "client-report": ["list", "create", "read", "update", "delete", "export", "import"],
73
- "utm-tracking-link": [
74
- "list",
75
- "create",
76
- "read",
77
- "update",
78
- "delete",
79
- "export",
80
- "import"
81
- ]
79
+ "client-project": ["list", "create", "read", "update", "delete"],
80
+ "client-report": ["list", "create", "read", "update", "delete"],
81
+ "utm-tracking-link": ["list", "create", "read", "update", "delete"]
82
82
  };
83
83
  var CLIENT_ENTITY_KEYS = Object.keys(
84
84
  CLIENT_ENTITY_PERMISSIONS
@@ -125,7 +125,7 @@ var ClientProjectStatusOptions = [
125
125
  "sold-out",
126
126
  "available"
127
127
  ];
128
- var IsValidGroupUserScopes = v4.pipe(
128
+ var IsValidClientUserScopes = v4.pipe(
129
129
  v4.array(
130
130
  v4.pipe(
131
131
  v4.string("please provide a valid scope"),
@@ -764,6 +764,71 @@ var QueryStrapiSearchClientProjects = v4.object({
764
764
  project_status: v4.optional(v4.picklist(ClientProjectStatusOptions)),
765
765
  clientId: v4.optional(IsValidReferenceDocumentId)
766
766
  });
767
+ var QueryStrapiSearchClientReports = v4.object({
768
+ page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
769
+ size: v4.fallback(
770
+ v4.optional(
771
+ v4.pipe(v4.number(), v4.minValue(1), v4.maxValue(LIMIT_CLIENT_PAGINATION_MAX_SIZE)),
772
+ LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
773
+ ),
774
+ LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
775
+ ),
776
+ title: v4.optional(IsValidShortString),
777
+ report_id: v4.optional(IsValidShortString),
778
+ is_active: v4.optional(v4.boolean())
779
+ });
780
+ var QueryStrapiSearchClientStyleguide = v4.object({
781
+ page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
782
+ size: v4.fallback(
783
+ v4.optional(
784
+ v4.pipe(v4.number(), v4.minValue(1), v4.maxValue(LIMIT_CLIENT_PAGINATION_MAX_SIZE)),
785
+ LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
786
+ ),
787
+ LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
788
+ ),
789
+ title: v4.optional(IsValidShortString),
790
+ is_active: v4.optional(v4.boolean())
791
+ });
792
+ var SQueryListClientUserDocuments = v4.object({
793
+ documentId: v4.pipe(v4.string(), v4.minLength(1), v4.maxLength(255)),
794
+ page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
795
+ size: v4.fallback(
796
+ v4.optional(
797
+ v4.pipe(
798
+ v4.number(),
799
+ v4.minValue(1),
800
+ v4.maxValue(LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT)
801
+ ),
802
+ LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT
803
+ ),
804
+ LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT
805
+ )
806
+ });
807
+ var SCreateClientUserDocument = v4.object({
808
+ client: IsValidReferenceDocumentId,
809
+ user: IsValidReferenceDocumentId,
810
+ scopes: IsValidClientUserScopes
811
+ });
812
+ var SCreateClientUserDocumentRequest = v4.object({
813
+ documentId: IsValidReferenceDocumentId,
814
+ data: SCreateClientUserDocument
815
+ });
816
+ var SReadClientUserDocumentById = v4.object({
817
+ id: IsValidReferenceId
818
+ });
819
+ var SReadClientUserDocumentByDocumentId = v4.object({
820
+ documentId: IsValidReferenceDocumentId
821
+ });
822
+ var SUpdateClientUserDocument = v4.object({
823
+ scopes: IsValidClientUserScopes
824
+ });
825
+ var SUpdateClientUserDocumentRequest = v4.object({
826
+ documentId: IsValidReferenceDocumentId,
827
+ data: SUpdateClientUserDocument
828
+ });
829
+ var SDeleteClientUserDocument = v4.object({
830
+ documentId: IsValidReferenceDocumentId
831
+ });
767
832
  var QueryStrapiSearchClients = v4.object({
768
833
  page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
769
834
  size: v4.fallback(
@@ -1360,6 +1425,6 @@ function datePlusDays(today, days = 30) {
1360
1425
  return date2;
1361
1426
  }
1362
1427
 
1363
- 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, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDateToday, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidGroupUserScopes, IsValidIndustryName, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringOrUndefined, IsValidName, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedProvider, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPositiveInteger, 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_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, QueryStrapiSearchClients, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkParts, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUpdateResumeInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderTableForm, SharpSpringSignUpToDownload, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
1428
+ 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, QueryStrapiSearchUtmTrackingLinks, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_DOMAIN, REGEX_UTM_VALUE, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SCreateClientUserDocument, SCreateClientUserDocumentRequest, SCreateLead, SCreateNewsletterSignup, SCreateResume, SCreateResumeInfo, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkParts, SDeleteClientUserDocument, SDeleteUtmTrackingLinkDocument, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadClientUserDocumentByDocumentId, SReadClientUserDocumentById, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUserByDocumentId, SReadUserById, SReadUtmTrackingLinkDocumentByDocumentId, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, 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 };
1364
1429
  //# sourceMappingURL=index.js.map
1365
1430
  //# sourceMappingURL=index.js.map