@getcommunity/gc-validators 0.0.167 → 0.0.169
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 +93 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +73 -41
- package/dist/index.d.ts +73 -41
- package/dist/index.js +92 -75
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -106,11 +106,11 @@ var ROLE_PERMISSIONS = {
|
|
|
106
106
|
create: true,
|
|
107
107
|
update: (u, p, d) => {
|
|
108
108
|
var _a;
|
|
109
|
-
return u.
|
|
109
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
110
110
|
},
|
|
111
111
|
delete: (u, p, d) => {
|
|
112
112
|
var _a;
|
|
113
|
-
return u.
|
|
113
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
114
114
|
},
|
|
115
115
|
report: true
|
|
116
116
|
},
|
|
@@ -352,11 +352,11 @@ var ROLE_PERMISSIONS = {
|
|
|
352
352
|
create: true,
|
|
353
353
|
update: (u, p, d) => {
|
|
354
354
|
var _a;
|
|
355
|
-
return u.
|
|
355
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
356
356
|
},
|
|
357
357
|
delete: (u, p, d) => {
|
|
358
358
|
var _a;
|
|
359
|
-
return u.
|
|
359
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
360
360
|
},
|
|
361
361
|
report: true
|
|
362
362
|
},
|
|
@@ -488,7 +488,7 @@ var ROLE_PERMISSIONS = {
|
|
|
488
488
|
create: true,
|
|
489
489
|
update: (u, p, d) => {
|
|
490
490
|
var _a;
|
|
491
|
-
return u.
|
|
491
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
492
492
|
},
|
|
493
493
|
delete: true,
|
|
494
494
|
report: true
|
|
@@ -612,11 +612,11 @@ var ROLE_PERMISSIONS = {
|
|
|
612
612
|
create: true,
|
|
613
613
|
update: (u, p, d) => {
|
|
614
614
|
var _a;
|
|
615
|
-
return u.
|
|
615
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
616
616
|
},
|
|
617
617
|
delete: (u, p, d) => {
|
|
618
618
|
var _a;
|
|
619
|
-
return u.
|
|
619
|
+
return u.id === ((_a = d == null ? void 0 : d.author) == null ? void 0 : _a.id);
|
|
620
620
|
},
|
|
621
621
|
report: true
|
|
622
622
|
},
|
|
@@ -2044,92 +2044,109 @@ var SUpdateClientDocumentRequest = v6.object({
|
|
|
2044
2044
|
documentId: IsValidReferenceDocumentId,
|
|
2045
2045
|
data: SUpdateClientDocument
|
|
2046
2046
|
});
|
|
2047
|
-
var QueryStrapiSortComments = v6.
|
|
2048
|
-
v6.
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
)
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
page: v6.optional(v6.pipe(v6.number(), v6.minValue(1))),
|
|
2098
|
-
size: v6.optional(
|
|
2099
|
-
v6.pipe(v6.number(), v6.minValue(1), v6.maxValue(LIMIT_PAGINATION_MAX_SIZE))
|
|
2047
|
+
var QueryStrapiSortComments = v6.object({
|
|
2048
|
+
key: v6.picklist([
|
|
2049
|
+
"id",
|
|
2050
|
+
"content",
|
|
2051
|
+
"blocked",
|
|
2052
|
+
"blockedThread",
|
|
2053
|
+
"approvalStatus",
|
|
2054
|
+
"createdAt",
|
|
2055
|
+
"updatedAt"
|
|
2056
|
+
]),
|
|
2057
|
+
order: v6.picklist(["ASC", "DESC"])
|
|
2058
|
+
});
|
|
2059
|
+
var QueryStrapiFilterComments = v6.object({
|
|
2060
|
+
approvalStatus: v6.optional(
|
|
2061
|
+
v6.object({
|
|
2062
|
+
eq: v6.picklist(
|
|
2063
|
+
CommentApprovalStatusOptions,
|
|
2064
|
+
"You must provide a valid approval status."
|
|
2065
|
+
)
|
|
2066
|
+
})
|
|
2067
|
+
),
|
|
2068
|
+
authorName: v6.optional(
|
|
2069
|
+
v6.object({
|
|
2070
|
+
containsi: IsValidShortStringNoMin
|
|
2071
|
+
})
|
|
2072
|
+
),
|
|
2073
|
+
authorEmail: v6.optional(
|
|
2074
|
+
v6.object({
|
|
2075
|
+
containsi: IsValidShortStringNoMin
|
|
2076
|
+
})
|
|
2077
|
+
),
|
|
2078
|
+
blocked: v6.optional(
|
|
2079
|
+
v6.object({
|
|
2080
|
+
eq: IsValidIsBoolean
|
|
2081
|
+
})
|
|
2082
|
+
),
|
|
2083
|
+
blockedThread: v6.optional(
|
|
2084
|
+
v6.object({
|
|
2085
|
+
eq: IsValidIsBoolean
|
|
2086
|
+
})
|
|
2087
|
+
),
|
|
2088
|
+
content: v6.optional(
|
|
2089
|
+
v6.object({
|
|
2090
|
+
containsi: IsValidShortStringNoMin
|
|
2091
|
+
})
|
|
2092
|
+
),
|
|
2093
|
+
removed: v6.optional(
|
|
2094
|
+
v6.object({
|
|
2095
|
+
eq: IsValidIsBoolean
|
|
2096
|
+
})
|
|
2100
2097
|
)
|
|
2101
2098
|
});
|
|
2102
|
-
var
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2099
|
+
var QueryStrapiCommentsInHeirarchy = v6.object({
|
|
2100
|
+
relation: IsValidShortString,
|
|
2101
|
+
sort: v6.optional(v6.array(QueryStrapiSortComments)),
|
|
2102
|
+
filters: v6.optional(QueryStrapiFilterComments),
|
|
2103
|
+
nested_levels: v6.optional(v6.pipe(v6.number(), v6.minValue(1)))
|
|
2104
|
+
});
|
|
2105
|
+
var QueryStrapiCommentsFlat = v6.object({
|
|
2106
|
+
relation: IsValidShortString,
|
|
2107
|
+
filters: v6.optional(QueryStrapiFilterComments),
|
|
2108
|
+
pagination: v6.optional(
|
|
2109
|
+
v6.object({
|
|
2110
|
+
page: v6.optional(v6.pipe(v6.number(), v6.minValue(1))),
|
|
2111
|
+
pageSize: v6.optional(
|
|
2112
|
+
v6.pipe(v6.number(), v6.minValue(1), v6.maxValue(LIMIT_PAGINATION_MAX_SIZE))
|
|
2113
|
+
)
|
|
2114
|
+
})
|
|
2115
|
+
),
|
|
2116
|
+
sort: v6.optional(v6.array(QueryStrapiSortComments))
|
|
2110
2117
|
});
|
|
2111
2118
|
var SCreateCommentDocument = v6.object({
|
|
2112
2119
|
relation: IsValidShortString,
|
|
2113
2120
|
content: IsValidLongString,
|
|
2121
|
+
author: v6.object({
|
|
2122
|
+
id: IsValidReferenceId,
|
|
2123
|
+
name: IsValidShortString
|
|
2124
|
+
}),
|
|
2114
2125
|
threadOf: IsValidOrUndefinedReferenceId
|
|
2115
2126
|
});
|
|
2116
2127
|
var SUpdateCommentDocument = v6.object({
|
|
2117
|
-
id: IsValidReferenceId,
|
|
2118
2128
|
relation: IsValidShortString,
|
|
2119
|
-
|
|
2129
|
+
id: IsValidReferenceId,
|
|
2130
|
+
content: IsValidLongString,
|
|
2131
|
+
author: v6.object({
|
|
2132
|
+
id: IsValidReferenceId
|
|
2133
|
+
})
|
|
2120
2134
|
});
|
|
2121
2135
|
var SDeleteCommentDocument = v6.object({
|
|
2136
|
+
relation: IsValidShortString,
|
|
2122
2137
|
id: IsValidReferenceId,
|
|
2123
|
-
|
|
2138
|
+
author: v6.object({
|
|
2139
|
+
id: IsValidReferenceId
|
|
2140
|
+
})
|
|
2124
2141
|
});
|
|
2125
2142
|
var SReportCommentDocument = v6.object({
|
|
2126
|
-
commentId: IsValidReferenceId,
|
|
2127
2143
|
relation: IsValidShortString,
|
|
2144
|
+
commentId: IsValidReferenceId,
|
|
2145
|
+
content: IsValidLongString,
|
|
2128
2146
|
reason: v6.picklist(
|
|
2129
2147
|
ReportCommentReasonOptions,
|
|
2130
2148
|
"You must select a valid reason for reporting this comment."
|
|
2131
|
-
)
|
|
2132
|
-
content: IsValidLongString
|
|
2149
|
+
)
|
|
2133
2150
|
});
|
|
2134
2151
|
var QuerySortContentPillars = v6.optional(
|
|
2135
2152
|
v6.object({
|
|
@@ -3284,6 +3301,6 @@ function omitUndefined(obj) {
|
|
|
3284
3301
|
return result;
|
|
3285
3302
|
}
|
|
3286
3303
|
|
|
3287
|
-
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientProjectPhaseOptions, ClientProjectPhaseSelectOptions, ClientProjectStatusOptions, CommentApprovalStatus, CommentApprovalStatusOptions, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringMax, InvalidPhoneNumber, InvalidPhoneNumberType, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidBlogPostStatus, IsValidCaptchaToken, IsValidClientClassification, IsValidClientClassificationOption, IsValidClientClassificationSelectOptions, IsValidClientProjectPhase, IsValidClientProjectStatus, IsValidClientTerm, IsValidClientUserScope, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidIndustryName, IsValidInteger, IsValidIsActive, IsValidIsBoolean, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringNoMin, IsValidMediaFile, IsValidMediaFileList, IsValidName, IsValidNumber, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedBlogPostStatus, IsValidOrUndefinedBlogPostStatusFallback, IsValidOrUndefinedClientClassification, IsValidOrUndefinedClientProjectPhase, IsValidOrUndefinedClientProjectStatus, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedDestinationUrl, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsBoolean, IsValidOrUndefinedIsSecure, IsValidOrUndefinedIsoDate, IsValidOrUndefinedIsoDateTime, IsValidOrUndefinedLabel, IsValidOrUndefinedLongString, IsValidOrUndefinedLongStringNoMin, IsValidOrUndefinedMetricInteger, IsValidOrUndefinedMetricNumber, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPhoneNumber, IsValidOrUndefinedProvider, IsValidOrUndefinedReferenceDocumentId, IsValidOrUndefinedReferenceDocumentIdList, IsValidOrUndefinedReferenceId, IsValidOrUndefinedShortString, IsValidOrUndefinedShortStringNoMin, IsValidOrUndefinedSlug, IsValidOrUndefinedSlugNoMin, IsValidOrUndefinedStringList, IsValidOrUndefinedStringListTransformed, IsValidOrUndefinedStringSepListOfUrls, IsValidOrUndefinedUrl, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmKey, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedUtmCampaignKeyName, IsValidOrUndefinedUtmLink, IsValidOrUndefinedValue, IsValidPassword, IsValidPhoneNumberRequired, IsValidPositiveInteger, IsValidPreferredName, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceDocumentIdList, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringNoMin, IsValidSlug, IsValidStringList, IsValidStringListTransformed, IsValidStringSepListOfUrls, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmKey, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserMessageRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmLink, IsValidValue, IsoDateSchema, IsoDateTimeSchema, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_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_KEY, 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_KEY, 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, MAX_FILE_SIZE, MAX_FILE_SIZE_LABEL, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatformContentTypes, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaPlatforms, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiComments, QueryStrapiCommentsByAuthor, QueryStrapiFilterComments, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatformContentTypes, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiSortComments, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, ROLE_PERMISSIONS, ReportCommentReason, ReportCommentReasonOptions, SAssociateClientMediaPlatformContentTypesToMediaContentType, SAssociateClientToClientProjectDocument, SAssociateClientsToGCFlyTour, SAssociateMediaContentTypesToClientMediaPlatform, SAssociateMediaContentTypesToMediaPlatform, SAssociateMediaPlatformsToMediaContentType, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectManyEntityRelation, SConnectOneEntityRelation, SCreateCategoryDocument, SCreateClientContentPillarDocument, SCreateClientDocument, SCreateClientMediaPlatformContentTypeDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientStyleguideDocument, SCreateClientUserDocument, SCreateCommentDocument, SCreateContentPillarDocument, SCreateGCFlyTourDocument, SCreateGCFlyTourSnapDocument, SCreateLeadDocument, SCreateMediaContentTypeDocument, SCreateMediaPlatformDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateNewsletterSignupDocument, SCreateResume, SCreateResumeInfo, SCreateResumeInfoDocument, SCreateStrapiMediaUploadDocument, SCreateUserDocument, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkDocumentRequest, SCreateUtmTrackingLinkParts, SDeleteCommentDocument, SDisconnectManyEntityRelation, SDisconnectOneEntityRelation, SEntityRelation, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SReportCommentDocument, SRequestConfirmEmail, SResetUserPassword, SSetManyEntityRelation, SSetOneEntityRelation, SUpdateCategoryDocument, SUpdateCategoryDocumentRequest, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientDocument, SUpdateClientDocumentRequest, SUpdateClientMediaPlatformContentTypeDocument, SUpdateClientMediaPlatformContentTypeDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientStyleguideDocument, SUpdateClientStyleguideDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateCommentDocument, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateGCFlyTourDocument, SUpdateGCFlyTourDocumentRequest, SUpdateGCFlyTourSnapDocument, SUpdateGCFlyTourSnapDocumentRequest, SUpdateLeadDocument, SUpdateLeadRequest, SUpdateMediaContentTypeDocument, SUpdateMediaContentTypeDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateNewsletterSignupDocument, SUpdateNewsletterSignupRequest, SUpdateResumeInfo, SUpdateResumeInfoDocument, SUpdateResumeInfoRequest, SUpdateStrapiMediaFileInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderTableForm, SVerifyClientUserDocument, SharpSpringSignUpToDownload, TeamworkProjectHealthProjectStatusOptions, TeamworkProjectHealthSelectSortOptions, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, hasPermission, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
3304
|
+
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientProjectPhaseOptions, ClientProjectPhaseSelectOptions, ClientProjectStatusOptions, CommentApprovalStatus, CommentApprovalStatusOptions, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, InvalidClientTermMin, InvalidClientTermNumber, InvalidCompanyName, InvalidCompanyNameMaxLength, InvalidCsvFileType, InvalidDestinationUrl, InvalidFirstName, InvalidFirstNameMaxLength, InvalidFullName, InvalidFullNameMaxLength, InvalidInputRobot, InvalidInstrustryName, InvalidInstrustryNameMaxLength, InvalidLastName, InvalidLastNameMaxLength, InvalidListOfUrls, InvalidLongStringMax, InvalidPhoneNumber, InvalidPhoneNumberType, InvalidPreferredName, InvalidPreferredNameMaxLength, InvalidProductInterestMaxLength, InvalidRangeValueOneToFive, InvalidRefPageMaxLength, InvalidResumeFileType, InvalidShortStringMax, InvalidUserMessage, InvalidUserMessageMaxLength, InvalidUserTitle, InvalidUserTitleMaxLength, InvalidUtmLink, IsValidBlocked, IsValidBlogPostStatus, IsValidCaptchaToken, IsValidClientClassification, IsValidClientClassificationOption, IsValidClientClassificationSelectOptions, IsValidClientProjectPhase, IsValidClientProjectStatus, IsValidClientTerm, IsValidClientUserScope, IsValidClientUserScopes, IsValidCompanyName, IsValidCompanyNameRequired, IsValidConfirmed, IsValidCost, IsValidCsvFile, IsValidDescription, IsValidDestinationUrl, IsValidFileReferenceId, IsValidFirstName, IsValidFullName, IsValidIndustryName, IsValidInteger, IsValidIsActive, IsValidIsBoolean, IsValidIsSecure, IsValidLabel, IsValidLastName, IsValidLongString, IsValidLongStringNoMin, IsValidMediaFile, IsValidMediaFileList, IsValidName, IsValidNumber, IsValidNumberOfEmployees, IsValidOrUndefinedBlocked, IsValidOrUndefinedBlogPostStatus, IsValidOrUndefinedBlogPostStatusFallback, IsValidOrUndefinedClientClassification, IsValidOrUndefinedClientProjectPhase, IsValidOrUndefinedClientProjectStatus, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedDescription, IsValidOrUndefinedDestinationUrl, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsBoolean, IsValidOrUndefinedIsSecure, IsValidOrUndefinedIsoDate, IsValidOrUndefinedIsoDateTime, IsValidOrUndefinedLabel, IsValidOrUndefinedLongString, IsValidOrUndefinedLongStringNoMin, IsValidOrUndefinedMetricInteger, IsValidOrUndefinedMetricNumber, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPhoneNumber, IsValidOrUndefinedProvider, IsValidOrUndefinedReferenceDocumentId, IsValidOrUndefinedReferenceDocumentIdList, IsValidOrUndefinedReferenceId, IsValidOrUndefinedShortString, IsValidOrUndefinedShortStringNoMin, IsValidOrUndefinedSlug, IsValidOrUndefinedSlugNoMin, IsValidOrUndefinedStringList, IsValidOrUndefinedStringListTransformed, IsValidOrUndefinedStringSepListOfUrls, IsValidOrUndefinedUrl, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmKey, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUserEmail, IsValidOrUndefinedUsername, IsValidOrUndefinedUtmCampaignKeyName, IsValidOrUndefinedUtmLink, IsValidOrUndefinedValue, IsValidPassword, IsValidPhoneNumberRequired, IsValidPositiveInteger, IsValidPreferredName, IsValidProductInterest, IsValidProvider, IsValidRangeValueOneToFive, IsValidRefPage, IsValidReferenceDocumentId, IsValidReferenceDocumentIdList, IsValidReferenceId, IsValidResumeFile, IsValidShortString, IsValidShortStringNoMin, IsValidSlug, IsValidStringList, IsValidStringListTransformed, IsValidStringSepListOfUrls, IsValidUrl, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlList, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmKey, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUserConsent, IsValidUserEmail, IsValidUserMessage, IsValidUserMessageRequired, IsValidUserRole, IsValidUserTitle, IsValidUserTitleRequired, IsValidUsername, IsValidUtmCampaignKeyName, IsValidUtmLink, IsValidValue, IsoDateSchema, IsoDateTimeSchema, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE, LIMIT_CATEGORIES_DEFAULT_SIZE, LIMIT_CATEGORIES_MAX_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_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_KEY, 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_KEY, 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, MAX_FILE_SIZE, MAX_FILE_SIZE_LABEL, QuerySortBlogPosts, QuerySortCategories, QuerySortClientContentPillars, QuerySortClientMediaPlatformContentTypes, QuerySortClientMediaPlatforms, QuerySortClientProjects, QuerySortClientReports, QuerySortClientStyleguides, QuerySortClientUsers, QuerySortClients, QuerySortContentPillars, QuerySortEntities, QuerySortGCFlyTourSnaps, QuerySortGCFlyTours, QuerySortMediaContentType, QuerySortMediaPlatforms, QuerySortTeamMembers, QuerySortTeamworkProjectHealth, QuerySortUrlRedirects, QuerySortUsers, QuerySortUtmTrackingLinks, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiCommentsFlat, QueryStrapiCommentsInHeirarchy, QueryStrapiFilterComments, QueryStrapiPaginated, QueryStrapiPaginatedUrlRedirects, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug, QueryStrapiSearchCategories, QueryStrapiSearchClientContentPillars, QueryStrapiSearchClientMediaPlatformContentTypes, QueryStrapiSearchClientMediaPlatforms, QueryStrapiSearchClientProjects, QueryStrapiSearchClientReports, QueryStrapiSearchClientStyleguide, QueryStrapiSearchClients, QueryStrapiSearchContentPillars, QueryStrapiSearchGCFlyTourSnaps, QueryStrapiSearchGCFlyTours, QueryStrapiSearchMediaContentTypes, QueryStrapiSearchMediaPlatforms, QueryStrapiSearchTeamMembers, QueryStrapiSearchTeamworkProjectHealth, QueryStrapiSearchUtmTrackingLinks, QueryStrapiSortComments, QueryStrapiUrlRedirectsByFrom, QueryStrapiUsers, QueryStrapiUsersByIdentifier, REGEX_BRAND_COLOR_SLUG, REGEX_DOMAIN, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, ROLE_PERMISSIONS, ReportCommentReason, ReportCommentReasonOptions, SAssociateClientMediaPlatformContentTypesToMediaContentType, SAssociateClientToClientProjectDocument, SAssociateClientsToGCFlyTour, SAssociateMediaContentTypesToClientMediaPlatform, SAssociateMediaContentTypesToMediaPlatform, SAssociateMediaPlatformsToMediaContentType, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SConnectManyEntityRelation, SConnectOneEntityRelation, SCreateCategoryDocument, SCreateClientContentPillarDocument, SCreateClientDocument, SCreateClientMediaPlatformContentTypeDocument, SCreateClientMediaPlatformDocument, SCreateClientProjectDocument, SCreateClientReportDocument, SCreateClientStyleguideDocument, SCreateClientUserDocument, SCreateCommentDocument, SCreateContentPillarDocument, SCreateGCFlyTourDocument, SCreateGCFlyTourSnapDocument, SCreateLeadDocument, SCreateMediaContentTypeDocument, SCreateMediaPlatformDocument, SCreateMultipleStrapiMediaUploadDocument, SCreateNewsletterSignup, SCreateNewsletterSignupDocument, SCreateResume, SCreateResumeInfo, SCreateResumeInfoDocument, SCreateStrapiMediaUploadDocument, SCreateUserDocument, SCreateUtmTrackingLinkDocument, SCreateUtmTrackingLinkDocumentRequest, SCreateUtmTrackingLinkParts, SDeleteCommentDocument, SDisconnectManyEntityRelation, SDisconnectOneEntityRelation, SEntityRelation, SEntityRelationPosition, SEntityRelationPositionAfter, SEntityRelationPositionBefore, SEntityRelationPositionEnd, SEntityRelationPositionStart, SForgotUserPassword, SFormCreateMultipleUtmTrackingLinkDocuments, SLoginUser, SQueryListClientUserDocuments, SReadUserAccountByDocumentId, SReadUserAccountById, SReadUtmTrackingLinkDocumentByUrl, SRegisterUser, SReportCommentDocument, SRequestConfirmEmail, SResetUserPassword, SSetManyEntityRelation, SSetOneEntityRelation, SUpdateCategoryDocument, SUpdateCategoryDocumentRequest, SUpdateClientContentPillarDocument, SUpdateClientContentPillarDocumentRequest, SUpdateClientDocument, SUpdateClientDocumentRequest, SUpdateClientMediaPlatformContentTypeDocument, SUpdateClientMediaPlatformContentTypeDocumentRequest, SUpdateClientMediaPlatformDocument, SUpdateClientMediaPlatformDocumentRequest, SUpdateClientProjectDocument, SUpdateClientProjectDocumentRequest, SUpdateClientReportDocument, SUpdateClientReportDocumentRequest, SUpdateClientStyleguideDocument, SUpdateClientStyleguideDocumentRequest, SUpdateClientUserDocument, SUpdateClientUserDocumentRequest, SUpdateCommentDocument, SUpdateContentPillarDocument, SUpdateContentPillarDocumentRequest, SUpdateGCFlyTourDocument, SUpdateGCFlyTourDocumentRequest, SUpdateGCFlyTourSnapDocument, SUpdateGCFlyTourSnapDocumentRequest, SUpdateLeadDocument, SUpdateLeadRequest, SUpdateMediaContentTypeDocument, SUpdateMediaContentTypeDocumentRequest, SUpdateMediaPlatformDocument, SUpdateMediaPlatformDocumentRequest, SUpdateNewsletterSignupDocument, SUpdateNewsletterSignupRequest, SUpdateResumeInfo, SUpdateResumeInfoDocument, SUpdateResumeInfoRequest, SUpdateStrapiMediaFileInfo, SUpdateTrendsLikes, SUpdateUserAccount, SUpdateUserAccountFirstName, SUpdateUserAccountLastName, SUpdateUserAccountPreferredName, SUpdateUtmTrackingLinkDocument, SUpdateUtmTrackingLinkDocumentRequest, SUserToken, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderTableForm, SVerifyClientUserDocument, SharpSpringSignUpToDownload, TeamworkProjectHealthProjectStatusOptions, TeamworkProjectHealthSelectSortOptions, ValidGcDesiredContentOptions, ValidGcServiceOptions, ValidGcVideoServiceOptions, ValidJobRoleGroup, ValidNumberOfEmployeeOptions, ValidRatingRange5, datePlusDays, dateToday, hasPermission, isStrapiAttributeError, isStrapiStandardError, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
|
|
3288
3305
|
//# sourceMappingURL=index.js.map
|
|
3289
3306
|
//# sourceMappingURL=index.js.map
|