@getcommunity/gc-validators 0.0.41 → 0.0.42
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 +42 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -7
- package/dist/index.d.ts +38 -7
- package/dist/index.js +35 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,12 @@ 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;
|
|
48
54
|
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
49
55
|
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
50
56
|
declare const LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
|
|
@@ -72,9 +78,9 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
|
|
|
72
78
|
* > const invalidScope: ClientEntityScope = "website:import"; // ❌ Type error!
|
|
73
79
|
*/
|
|
74
80
|
declare const CLIENT_ENTITY_PERMISSIONS: {
|
|
75
|
-
readonly "client-project": readonly ["list", "create", "read", "update", "delete"
|
|
76
|
-
readonly "client-report": readonly ["list", "create", "read", "update", "delete"
|
|
77
|
-
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"
|
|
81
|
+
readonly "client-project": readonly ["list", "create", "read", "update", "delete"];
|
|
82
|
+
readonly "client-report": readonly ["list", "create", "read", "update", "delete"];
|
|
83
|
+
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"];
|
|
78
84
|
};
|
|
79
85
|
type ClientEntityKey = keyof typeof CLIENT_ENTITY_PERMISSIONS;
|
|
80
86
|
type ClientEntityActions<K extends ClientEntityKey = ClientEntityKey> = (typeof CLIENT_ENTITY_PERMISSIONS)[K][number];
|
|
@@ -115,6 +121,23 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
115
121
|
}, undefined>;
|
|
116
122
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
117
123
|
|
|
124
|
+
declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
|
|
125
|
+
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
126
|
+
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
|
|
127
|
+
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>;
|
|
128
|
+
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>;
|
|
129
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
130
|
+
}, undefined>;
|
|
131
|
+
type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
|
|
132
|
+
|
|
133
|
+
declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
|
|
134
|
+
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
135
|
+
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
|
|
136
|
+
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>;
|
|
137
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
138
|
+
}, undefined>;
|
|
139
|
+
type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
|
|
140
|
+
|
|
118
141
|
declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
119
142
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
120
143
|
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 +1062,13 @@ type ClientReportDocument = {
|
|
|
1039
1062
|
is_active: boolean;
|
|
1040
1063
|
} & BaseDocument;
|
|
1041
1064
|
|
|
1065
|
+
type ClientStyleguideDocument = {
|
|
1066
|
+
client?: ClientDocument;
|
|
1067
|
+
title: string;
|
|
1068
|
+
styleguide: string;
|
|
1069
|
+
is_active: boolean;
|
|
1070
|
+
} & BaseDocument;
|
|
1071
|
+
|
|
1042
1072
|
type PermissionDocument = {
|
|
1043
1073
|
action: string;
|
|
1044
1074
|
role?: RoleDocument;
|
|
@@ -1105,9 +1135,9 @@ type UserAuthorizationSuccessResponse = {
|
|
|
1105
1135
|
};
|
|
1106
1136
|
|
|
1107
1137
|
type ClientUserDocument = {
|
|
1108
|
-
client
|
|
1109
|
-
user
|
|
1110
|
-
scopes:
|
|
1138
|
+
client: Partial<ClientDocument>;
|
|
1139
|
+
user: Partial<UserDocument>;
|
|
1140
|
+
scopes: ClientEntityScope[];
|
|
1111
1141
|
} & BaseDocument;
|
|
1112
1142
|
|
|
1113
1143
|
type MediaPlatformDocument = {
|
|
@@ -1161,6 +1191,7 @@ type ClientDocument = {
|
|
|
1161
1191
|
client_reports?: ClientReportDocument[];
|
|
1162
1192
|
users?: ClientUserDocument[];
|
|
1163
1193
|
utm_tracking_links?: UtmTrackingLinkDocument[];
|
|
1194
|
+
styleguides?: ClientStyleguideDocument[];
|
|
1164
1195
|
} & BaseDocument;
|
|
1165
1196
|
|
|
1166
1197
|
declare const ClientProjectStatusOptions: string[];
|
|
@@ -1554,4 +1585,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
1554
1585
|
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
1586
|
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
1587
|
|
|
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 };
|
|
1588
|
+
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, 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_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_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, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,12 @@ 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;
|
|
48
54
|
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
49
55
|
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
50
56
|
declare const LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
|
|
@@ -72,9 +78,9 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
|
|
|
72
78
|
* > const invalidScope: ClientEntityScope = "website:import"; // ❌ Type error!
|
|
73
79
|
*/
|
|
74
80
|
declare const CLIENT_ENTITY_PERMISSIONS: {
|
|
75
|
-
readonly "client-project": readonly ["list", "create", "read", "update", "delete"
|
|
76
|
-
readonly "client-report": readonly ["list", "create", "read", "update", "delete"
|
|
77
|
-
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"
|
|
81
|
+
readonly "client-project": readonly ["list", "create", "read", "update", "delete"];
|
|
82
|
+
readonly "client-report": readonly ["list", "create", "read", "update", "delete"];
|
|
83
|
+
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"];
|
|
78
84
|
};
|
|
79
85
|
type ClientEntityKey = keyof typeof CLIENT_ENTITY_PERMISSIONS;
|
|
80
86
|
type ClientEntityActions<K extends ClientEntityKey = ClientEntityKey> = (typeof CLIENT_ENTITY_PERMISSIONS)[K][number];
|
|
@@ -115,6 +121,23 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
115
121
|
}, undefined>;
|
|
116
122
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
117
123
|
|
|
124
|
+
declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
|
|
125
|
+
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
126
|
+
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
|
|
127
|
+
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>;
|
|
128
|
+
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>;
|
|
129
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
130
|
+
}, undefined>;
|
|
131
|
+
type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
|
|
132
|
+
|
|
133
|
+
declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
|
|
134
|
+
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
135
|
+
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 16>, 16>;
|
|
136
|
+
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>;
|
|
137
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
138
|
+
}, undefined>;
|
|
139
|
+
type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
|
|
140
|
+
|
|
118
141
|
declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
119
142
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
120
143
|
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 +1062,13 @@ type ClientReportDocument = {
|
|
|
1039
1062
|
is_active: boolean;
|
|
1040
1063
|
} & BaseDocument;
|
|
1041
1064
|
|
|
1065
|
+
type ClientStyleguideDocument = {
|
|
1066
|
+
client?: ClientDocument;
|
|
1067
|
+
title: string;
|
|
1068
|
+
styleguide: string;
|
|
1069
|
+
is_active: boolean;
|
|
1070
|
+
} & BaseDocument;
|
|
1071
|
+
|
|
1042
1072
|
type PermissionDocument = {
|
|
1043
1073
|
action: string;
|
|
1044
1074
|
role?: RoleDocument;
|
|
@@ -1105,9 +1135,9 @@ type UserAuthorizationSuccessResponse = {
|
|
|
1105
1135
|
};
|
|
1106
1136
|
|
|
1107
1137
|
type ClientUserDocument = {
|
|
1108
|
-
client
|
|
1109
|
-
user
|
|
1110
|
-
scopes:
|
|
1138
|
+
client: Partial<ClientDocument>;
|
|
1139
|
+
user: Partial<UserDocument>;
|
|
1140
|
+
scopes: ClientEntityScope[];
|
|
1111
1141
|
} & BaseDocument;
|
|
1112
1142
|
|
|
1113
1143
|
type MediaPlatformDocument = {
|
|
@@ -1161,6 +1191,7 @@ type ClientDocument = {
|
|
|
1161
1191
|
client_reports?: ClientReportDocument[];
|
|
1162
1192
|
users?: ClientUserDocument[];
|
|
1163
1193
|
utm_tracking_links?: UtmTrackingLinkDocument[];
|
|
1194
|
+
styleguides?: ClientStyleguideDocument[];
|
|
1164
1195
|
} & BaseDocument;
|
|
1165
1196
|
|
|
1166
1197
|
declare const ClientProjectStatusOptions: string[];
|
|
@@ -1554,4 +1585,4 @@ declare const IsValidOrUndefinedUrlUtmTerm: v.UndefinedableSchema<v.SchemaWithPi
|
|
|
1554
1585
|
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
1586
|
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
1587
|
|
|
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 };
|
|
1588
|
+
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, 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_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_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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -47,6 +47,12 @@ 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;
|
|
50
56
|
var LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
51
57
|
var LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
52
58
|
var LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
|
|
@@ -68,17 +74,9 @@ var LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1e3;
|
|
|
68
74
|
|
|
69
75
|
// src/constants/permission.constants.ts
|
|
70
76
|
var CLIENT_ENTITY_PERMISSIONS = {
|
|
71
|
-
"client-project": ["list", "create", "read", "update", "delete"
|
|
72
|
-
"client-report": ["list", "create", "read", "update", "delete"
|
|
73
|
-
"utm-tracking-link": [
|
|
74
|
-
"list",
|
|
75
|
-
"create",
|
|
76
|
-
"read",
|
|
77
|
-
"update",
|
|
78
|
-
"delete",
|
|
79
|
-
"export",
|
|
80
|
-
"import"
|
|
81
|
-
]
|
|
77
|
+
"client-project": ["list", "create", "read", "update", "delete"],
|
|
78
|
+
"client-report": ["list", "create", "read", "update", "delete"],
|
|
79
|
+
"utm-tracking-link": ["list", "create", "read", "update", "delete"]
|
|
82
80
|
};
|
|
83
81
|
var CLIENT_ENTITY_KEYS = Object.keys(
|
|
84
82
|
CLIENT_ENTITY_PERMISSIONS
|
|
@@ -764,6 +762,31 @@ var QueryStrapiSearchClientProjects = v4.object({
|
|
|
764
762
|
project_status: v4.optional(v4.picklist(ClientProjectStatusOptions)),
|
|
765
763
|
clientId: v4.optional(IsValidReferenceDocumentId)
|
|
766
764
|
});
|
|
765
|
+
var QueryStrapiSearchClientReports = v4.object({
|
|
766
|
+
page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
|
|
767
|
+
size: v4.fallback(
|
|
768
|
+
v4.optional(
|
|
769
|
+
v4.pipe(v4.number(), v4.minValue(1), v4.maxValue(LIMIT_CLIENT_PAGINATION_MAX_SIZE)),
|
|
770
|
+
LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
|
|
771
|
+
),
|
|
772
|
+
LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
|
|
773
|
+
),
|
|
774
|
+
title: v4.optional(IsValidShortString),
|
|
775
|
+
report_id: v4.optional(IsValidShortString),
|
|
776
|
+
is_active: v4.optional(v4.boolean())
|
|
777
|
+
});
|
|
778
|
+
var QueryStrapiSearchClientStyleguide = v4.object({
|
|
779
|
+
page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
|
|
780
|
+
size: v4.fallback(
|
|
781
|
+
v4.optional(
|
|
782
|
+
v4.pipe(v4.number(), v4.minValue(1), v4.maxValue(LIMIT_CLIENT_PAGINATION_MAX_SIZE)),
|
|
783
|
+
LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
|
|
784
|
+
),
|
|
785
|
+
LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE
|
|
786
|
+
),
|
|
787
|
+
title: v4.optional(IsValidShortString),
|
|
788
|
+
is_active: v4.optional(v4.boolean())
|
|
789
|
+
});
|
|
767
790
|
var QueryStrapiSearchClients = v4.object({
|
|
768
791
|
page: v4.fallback(v4.optional(v4.pipe(v4.number(), v4.minValue(1)), 1), 1),
|
|
769
792
|
size: v4.fallback(
|
|
@@ -1360,6 +1383,6 @@ function datePlusDays(today, days = 30) {
|
|
|
1360
1383
|
return date2;
|
|
1361
1384
|
}
|
|
1362
1385
|
|
|
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 };
|
|
1386
|
+
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_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_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, 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 };
|
|
1364
1387
|
//# sourceMappingURL=index.js.map
|
|
1365
1388
|
//# sourceMappingURL=index.js.map
|