@getcommunity/gc-validators 0.0.94 → 0.0.96
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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -102,7 +102,7 @@ var LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1e3;
|
|
|
102
102
|
|
|
103
103
|
// src/constants/permission.constants.ts
|
|
104
104
|
var CLIENT_ENTITY_PERMISSIONS = {
|
|
105
|
-
client: ["
|
|
105
|
+
client: ["admin", "owner", "manager", "billing", "access"],
|
|
106
106
|
"client-project": ["list", "create", "read", "update", "delete", "assign"],
|
|
107
107
|
"client-media-platform": ["list", "create", "read", "update", "delete"],
|
|
108
108
|
"client-content-pillar": ["list", "create", "read", "update", "delete"],
|
|
@@ -1189,6 +1189,10 @@ var SUpdateClientDocument = v6__namespace.object({
|
|
|
1189
1189
|
is_paid_media: IsValidOrUndefinedIsBoolean,
|
|
1190
1190
|
classification: IsValidOrUndefinedClientClassification
|
|
1191
1191
|
});
|
|
1192
|
+
var SUpdateClientDocumentRequest = v6__namespace.object({
|
|
1193
|
+
documentId: IsValidReferenceDocumentId,
|
|
1194
|
+
data: SUpdateClientDocument
|
|
1195
|
+
});
|
|
1192
1196
|
var QuerySortContentPillars = v6__namespace.optional(
|
|
1193
1197
|
v6__namespace.object({
|
|
1194
1198
|
key: v6__namespace.picklist(["id", "title", "slug", "createdAt", "updatedAt"]),
|
|
@@ -2280,6 +2284,7 @@ exports.SSetOneEntityRelation = SSetOneEntityRelation;
|
|
|
2280
2284
|
exports.SUpdateClientContentPillarDocument = SUpdateClientContentPillarDocument;
|
|
2281
2285
|
exports.SUpdateClientContentPillarDocumentRequest = SUpdateClientContentPillarDocumentRequest;
|
|
2282
2286
|
exports.SUpdateClientDocument = SUpdateClientDocument;
|
|
2287
|
+
exports.SUpdateClientDocumentRequest = SUpdateClientDocumentRequest;
|
|
2283
2288
|
exports.SUpdateClientMediaPlatformDocument = SUpdateClientMediaPlatformDocument;
|
|
2284
2289
|
exports.SUpdateClientMediaPlatformDocumentRequest = SUpdateClientMediaPlatformDocumentRequest;
|
|
2285
2290
|
exports.SUpdateClientProjectDocument = SUpdateClientProjectDocument;
|