@alfresco/js-api 9.1.0-15340390815 → 9.1.0-15390753321
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/esm2015/package.json +1 -1
- package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js +15 -0
- package/esm2015/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRole.js +27 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +26 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +24 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +26 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePaging.js +26 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +28 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +18 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +18 -0
- package/esm2015/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
- package/esm2015/src/api/gs-core-rest-api/model/index.js +8 -0
- package/esm2015/src/api/gs-core-rest-api/model/index.js.map +1 -1
- package/esm5/package.json +1 -1
- package/esm5/src/api/gs-core-rest-api/api/filePlans.api.js +15 -0
- package/esm5/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
- package/esm5/src/api/gs-core-rest-api/model/filePlanRole.js +27 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +26 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +24 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +26 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRolePaging.js +26 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +28 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +18 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +18 -0
- package/esm5/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
- package/esm5/src/api/gs-core-rest-api/model/index.js +8 -0
- package/esm5/src/api/gs-core-rest-api/model/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/gs-core-rest-api/api/filePlans.api.js +15 -0
- package/src/api/gs-core-rest-api/api/filePlans.api.js.map +1 -1
- package/src/api/gs-core-rest-api/model/filePlanRole.js +31 -0
- package/src/api/gs-core-rest-api/model/filePlanRole.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleCapability.js +30 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js +28 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleEntry.js +30 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRolePaging.js +30 -0
- package/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRolePagingList.js +32 -0
- package/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleParameters.js +19 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map +1 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js +19 -0
- package/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map +1 -0
- package/src/api/gs-core-rest-api/model/index.js +8 -0
- package/src/api/gs-core-rest-api/model/index.js.map +1 -1
- package/typings/package.json +1 -1
- package/typings/src/api/gs-core-rest-api/api/filePlans.api.d.ts +8 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRole.d.ts +25 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRoleCapability.d.ts +24 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.d.ts +21 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRoleEntry.d.ts +21 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRolePaging.d.ts +21 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRolePagingList.d.ts +23 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRoleParameters.d.ts +20 -0
- package/typings/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.d.ts +19 -0
- package/typings/src/api/gs-core-rest-api/model/index.d.ts +8 -0
package/esm2015/package.json
CHANGED
|
@@ -94,5 +94,20 @@ export class FilePlansApi extends BaseApi {
|
|
|
94
94
|
returnType: FilePlanEntry
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
+
getFilePlanRoles(filePlanId, parameters) {
|
|
98
|
+
var _a;
|
|
99
|
+
throwIfNotDefined(filePlanId, 'filePlanId');
|
|
100
|
+
return this.get({
|
|
101
|
+
path: '/file-plans/{filePlanId}/roles',
|
|
102
|
+
pathParams: {
|
|
103
|
+
filePlanId
|
|
104
|
+
},
|
|
105
|
+
queryParams: {
|
|
106
|
+
where: ((_a = parameters === null || parameters === void 0 ? void 0 : parameters.where) === null || _a === void 0 ? void 0 : _a.capabilityNames)
|
|
107
|
+
? `(capabilityName in (${parameters.where.capabilityNames.map((value) => "'" + value + "'").join(', ')}))`
|
|
108
|
+
: undefined
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
97
112
|
}
|
|
98
113
|
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/api/filePlans.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CA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CAAE,SAAS;YAC1B,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;YACxB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,aAAa,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,aAAa;YAClC,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAWD,cAAc,CAAC,UAAkB,EAAE,kBAAsC,EAAE,IAA0B;QACjG,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,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AI,CAAC,IAAI,CAAC,IAAI;oBAC1G,CAAC,CAAC,SAAS;aAClB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\nimport { FilePlanRolePaging, FilePlanRoleParameters } from '../model';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * Gets a list of roles for the specified file plan.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param parameters Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlanRoles(filePlanId: string, parameters?: FilePlanRoleParameters): Promise<FilePlanRolePaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n return this.get({\n path: '/file-plans/{filePlanId}/roles',\n pathParams: {\n filePlanId\n },\n queryParams: {\n where: parameters?.where?.capabilityNames\n ? `(capabilityName in (${parameters.where.capabilityNames.map((value) => \"'\" + value + \"'\").join(', ')}))`\n : undefined\n }\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRoleCapability } from './filePlanRoleCapability';
|
|
18
|
+
export class FilePlanRole {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
var _a;
|
|
21
|
+
if (input) {
|
|
22
|
+
Object.assign(this, input);
|
|
23
|
+
this.capabilities = (_a = input.capabilities) === null || _a === void 0 ? void 0 : _a.map((capability) => new FilePlanRoleCapability(capability));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRole.js","sourceRoot":"","sources":["filePlanRole.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,OAAO,YAAY;IAOrB,YAAY,KAA6B;;QACrC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,MAAA,KAAK,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC;QACxG,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRoleCapability } from './filePlanRoleCapability';\n\nexport class FilePlanRole {\n displayLabel: string;\n groupShortName: string;\n name: string;\n roleGroupName: string;\n capabilities: FilePlanRoleCapability[];\n\n constructor(input?: Partial<FilePlanRole>) {\n if (input) {\n Object.assign(this, input);\n this.capabilities = input.capabilities?.map((capability) => new FilePlanRoleCapability(capability));\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';
|
|
18
|
+
export class FilePlanRoleCapability {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
if (input) {
|
|
21
|
+
Object.assign(this, input);
|
|
22
|
+
this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleCapability.js","sourceRoot":"","sources":["filePlanRoleCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,OAAO,sBAAsB;IAM/B,YAAY,KAAuC;QAC/C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,2BAA2B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACxF,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';\n\nexport class FilePlanRoleCapability {\n group: FilePlanRoleCapabilityGroup;\n index: number;\n name: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapability>) {\n if (input) {\n Object.assign(this, input);\n this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export class FilePlanRoleCapabilityGroup {
|
|
18
|
+
constructor(input) {
|
|
19
|
+
if (input) {
|
|
20
|
+
Object.assign(this, input);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleCapabilityGroup.js","sourceRoot":"","sources":["filePlanRoleCapabilityGroup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,OAAO,2BAA2B;IAIpC,YAAY,KAA4C;QACpD,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class FilePlanRoleCapabilityGroup {\n id: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapabilityGroup>) {\n if (input) {\n Object.assign(this, input);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRole } from './filePlanRole';
|
|
18
|
+
export class FilePlanRoleEntry {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
if (input) {
|
|
21
|
+
Object.assign(this, input);
|
|
22
|
+
this.entry = input.entry ? new FilePlanRole(input.entry) : undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleEntry.js","sourceRoot":"","sources":["filePlanRoleEntry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,OAAO,iBAAiB;IAG1B,YAAY,KAAkC;QAC1C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACzE,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRole } from './filePlanRole';\n\nexport class FilePlanRoleEntry {\n entry: FilePlanRole;\n\n constructor(input?: Partial<FilePlanRoleEntry>) {\n if (input) {\n Object.assign(this, input);\n this.entry = input.entry ? new FilePlanRole(input.entry) : undefined;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRolePagingList } from './filePlanRolePagingList';
|
|
18
|
+
export class FilePlanRolePaging {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
if (input) {
|
|
21
|
+
Object.assign(this, input);
|
|
22
|
+
this.list = input.list ? new FilePlanRolePagingList(input.list) : undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRolePaging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRolePaging.js","sourceRoot":"","sources":["filePlanRolePaging.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,OAAO,kBAAkB;IAG3B,YAAY,KAAkC;QAC1C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAChF,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRolePagingList } from './filePlanRolePagingList';\n\nexport class FilePlanRolePaging {\n list: FilePlanRolePagingList;\n\n constructor(input: Partial<FilePlanRolePaging>) {\n if (input) {\n Object.assign(this, input);\n this.list = input.list ? new FilePlanRolePagingList(input.list) : undefined;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Pagination } from '../../content-rest-api';
|
|
18
|
+
import { FilePlanRoleEntry } from './filePlanRoleEntry';
|
|
19
|
+
export class FilePlanRolePagingList {
|
|
20
|
+
constructor(input) {
|
|
21
|
+
if (input) {
|
|
22
|
+
Object.assign(this, input);
|
|
23
|
+
this.pagination = input.pagination ? new Pagination(input.pagination) : undefined;
|
|
24
|
+
this.entries = input === null || input === void 0 ? void 0 : input.entries.map((entry) => new FilePlanRoleEntry(entry));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRolePagingList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRolePagingList.js","sourceRoot":"","sources":["filePlanRolePagingList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,sBAAsB;IAI/B,YAAY,KAAsC;QAC9C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,IAAI,CAAC,OAAO,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;QAC/E,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Pagination } from '../../content-rest-api';\nimport { FilePlanRoleEntry } from './filePlanRoleEntry';\n\nexport class FilePlanRolePagingList {\n entries: FilePlanRoleEntry[];\n pagination: Pagination;\n\n constructor(input: Partial<FilePlanRolePagingList>) {\n if (input) {\n Object.assign(this, input);\n this.pagination = input.pagination ? new Pagination(input.pagination) : undefined;\n this.entries = input?.entries.map((entry) => new FilePlanRoleEntry(entry));\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleParameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleParameters.js","sourceRoot":"","sources":["filePlanRoleParameters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRoleParametersWhere } from './filePlanRoleParametersWhere';\n\nexport interface FilePlanRoleParameters {\n where?: FilePlanRoleParametersWhere;\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleParametersWhere.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleParametersWhere.js","sourceRoot":"","sources":["filePlanRoleParametersWhere.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface FilePlanRoleParametersWhere {\n capabilityNames?: string[];\n}\n"]}
|
|
@@ -18,6 +18,14 @@ export * from './filePlan';
|
|
|
18
18
|
export * from './filePlanBodyUpdate';
|
|
19
19
|
export * from './filePlanComponentBodyUpdate';
|
|
20
20
|
export * from './filePlanEntry';
|
|
21
|
+
export * from './filePlanRole';
|
|
22
|
+
export * from './filePlanRoleCapability';
|
|
23
|
+
export * from './filePlanRoleCapabilityGroup';
|
|
24
|
+
export * from './filePlanRoleEntry';
|
|
25
|
+
export * from './filePlanRolePaging';
|
|
26
|
+
export * from './filePlanRolePagingList';
|
|
27
|
+
export * from './filePlanRoleParameters';
|
|
28
|
+
export * from './filePlanRoleParametersWhere';
|
|
21
29
|
export * from './rMNodeBodyCreate';
|
|
22
30
|
export * from './rMNodeBodyCreateWithRelativePath';
|
|
23
31
|
export * from './rMSite';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oCAAoC,CAAC;AACnD,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './filePlan';\nexport * from './filePlanBodyUpdate';\nexport * from './filePlanComponentBodyUpdate';\nexport * from './filePlanEntry';\nexport * from './rMNodeBodyCreate';\nexport * from './rMNodeBodyCreateWithRelativePath';\nexport * from './rMSite';\nexport * from './rMSiteBodyCreate';\nexport * from './rMSiteBodyUpdate';\nexport * from './rMSiteEntry';\nexport * from './record';\nexport * from './recordCategory';\nexport * from './recordCategoryChild';\nexport * from './recordCategoryChildEntry';\nexport * from './recordCategoryChildPaging';\nexport * from './recordCategoryChildPagingList';\nexport * from './recordCategoryEntry';\nexport * from './recordCategoryPaging';\nexport * from './recordCategoryPagingList';\nexport * from './recordEntry';\nexport * from './recordFolder';\nexport * from './recordFolderAssociationPaging';\nexport * from './recordFolderAssociationPagingList';\nexport * from './recordFolderChildAssociationEntry';\nexport * from './recordFolderEntry';\nexport * from './requestBodyFile';\nexport * from './rootCategoryBodyCreate';\nexport * from './transfer';\nexport * from './transferAssociationPaging';\nexport * from './transferAssociationPagingList';\nexport * from './transferChild';\nexport * from './transferChildAssociationEntry';\nexport * from './transferContainer';\nexport * from './transferContainerAssociationPaging';\nexport * from './transferContainerAssociationPagingList';\nexport * from './transferContainerBodyUpdate';\nexport * from './transferContainerChild';\nexport * from './transferContainerChildAssociationEntry';\nexport * from './transferContainerEntry';\nexport * from './transferEntry';\nexport * from './unfiledContainer';\nexport * from './unfiledContainerAssociationPaging';\nexport * from './unfiledContainerAssociationPagingList';\nexport * from './unfiledContainerChild';\nexport * from './unfiledContainerChildAssociationEntry';\nexport * from './unfiledContainerEntry';\nexport * from './unfiledRecordContainerBodyUpdate';\nexport * from './unfiledRecordFolder';\nexport * from './unfiledRecordFolderAssociationPaging';\nexport * from './unfiledRecordFolderAssociationPagingList';\nexport * from './unfiledRecordFolderBodyUpdate';\nexport * from './unfiledRecordFolderChild';\nexport * from './unfiledRecordFolderChildAssociationEntry';\nexport * from './unfiledRecordFolderEntry';\nexport * from './recordFolderChildAssociation';\nexport * from './transferChildAssociation';\nexport * from './transferContainerChildAssociation';\nexport * from './unfiledContainerChildAssociation';\nexport * from './unfiledRecordFolderChildAssociation';\nexport * from './hold';\nexport * from './holdBody';\nexport * from './holdBulkOperation';\nexport * from './holdBulkStatus';\nexport * from './holdBulkStatusEntry';\nexport * from './holdEntry';\nexport * from './holdPaging';\nexport * from './holdPagingList';\nexport * from './nodeAssignedHold';\nexport * from './bulkAssignHoldResponse';\nexport * from './bulkAssignHoldResponseEntry';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oCAAoC,CAAC;AACnD,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAA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AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport * from './filePlan';\nexport * from './filePlanBodyUpdate';\nexport * from './filePlanComponentBodyUpdate';\nexport * from './filePlanEntry';\nexport * from './filePlanRole';\nexport * from './filePlanRoleCapability';\nexport * from './filePlanRoleCapabilityGroup';\nexport * from './filePlanRoleEntry';\nexport * from './filePlanRolePaging';\nexport * from './filePlanRolePagingList';\nexport * from './filePlanRoleParameters';\nexport * from './filePlanRoleParametersWhere';\nexport * from './rMNodeBodyCreate';\nexport * from './rMNodeBodyCreateWithRelativePath';\nexport * from './rMSite';\nexport * from './rMSiteBodyCreate';\nexport * from './rMSiteBodyUpdate';\nexport * from './rMSiteEntry';\nexport * from './record';\nexport * from './recordCategory';\nexport * from './recordCategoryChild';\nexport * from './recordCategoryChildEntry';\nexport * from './recordCategoryChildPaging';\nexport * from './recordCategoryChildPagingList';\nexport * from './recordCategoryEntry';\nexport * from './recordCategoryPaging';\nexport * from './recordCategoryPagingList';\nexport * from './recordEntry';\nexport * from './recordFolder';\nexport * from './recordFolderAssociationPaging';\nexport * from './recordFolderAssociationPagingList';\nexport * from './recordFolderChildAssociationEntry';\nexport * from './recordFolderEntry';\nexport * from './requestBodyFile';\nexport * from './rootCategoryBodyCreate';\nexport * from './transfer';\nexport * from './transferAssociationPaging';\nexport * from './transferAssociationPagingList';\nexport * from './transferChild';\nexport * from './transferChildAssociationEntry';\nexport * from './transferContainer';\nexport * from './transferContainerAssociationPaging';\nexport * from './transferContainerAssociationPagingList';\nexport * from './transferContainerBodyUpdate';\nexport * from './transferContainerChild';\nexport * from './transferContainerChildAssociationEntry';\nexport * from './transferContainerEntry';\nexport * from './transferEntry';\nexport * from './unfiledContainer';\nexport * from './unfiledContainerAssociationPaging';\nexport * from './unfiledContainerAssociationPagingList';\nexport * from './unfiledContainerChild';\nexport * from './unfiledContainerChildAssociationEntry';\nexport * from './unfiledContainerEntry';\nexport * from './unfiledRecordContainerBodyUpdate';\nexport * from './unfiledRecordFolder';\nexport * from './unfiledRecordFolderAssociationPaging';\nexport * from './unfiledRecordFolderAssociationPagingList';\nexport * from './unfiledRecordFolderBodyUpdate';\nexport * from './unfiledRecordFolderChild';\nexport * from './unfiledRecordFolderChildAssociationEntry';\nexport * from './unfiledRecordFolderEntry';\nexport * from './recordFolderChildAssociation';\nexport * from './transferChildAssociation';\nexport * from './transferContainerChildAssociation';\nexport * from './unfiledContainerChildAssociation';\nexport * from './unfiledRecordFolderChildAssociation';\nexport * from './hold';\nexport * from './holdBody';\nexport * from './holdBulkOperation';\nexport * from './holdBulkStatus';\nexport * from './holdBulkStatusEntry';\nexport * from './holdEntry';\nexport * from './holdPaging';\nexport * from './holdPagingList';\nexport * from './nodeAssignedHold';\nexport * from './bulkAssignHoldResponse';\nexport * from './bulkAssignHoldResponseEntry';\n"]}
|
package/esm5/package.json
CHANGED
|
@@ -94,5 +94,20 @@ export class FilePlansApi extends BaseApi {
|
|
|
94
94
|
returnType: FilePlanEntry
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
+
getFilePlanRoles(filePlanId, parameters) {
|
|
98
|
+
var _a;
|
|
99
|
+
throwIfNotDefined(filePlanId, 'filePlanId');
|
|
100
|
+
return this.get({
|
|
101
|
+
path: '/file-plans/{filePlanId}/roles',
|
|
102
|
+
pathParams: {
|
|
103
|
+
filePlanId
|
|
104
|
+
},
|
|
105
|
+
queryParams: {
|
|
106
|
+
where: ((_a = parameters === null || parameters === void 0 ? void 0 : parameters.where) === null || _a === void 0 ? void 0 : _a.capabilityNames)
|
|
107
|
+
? `(capabilityName in (${parameters.where.capabilityNames.map((value) => "'" + value + "'").join(', ')}))`
|
|
108
|
+
: undefined
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
}
|
|
97
112
|
}
|
|
98
113
|
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/api/filePlans.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filePlans.api.js","sourceRoot":"","sources":["filePlans.api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAMpD,MAAM,OAAO,YAAa,SAAQ,OAAO;IASrC,wBAAwB,CACpB,UAAkB,EAClB,cAAsC,EACtC,IAEuB;QAEvB,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;QAEpD,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,UAAU,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,UAAU;YAC5B,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBA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,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,qCAAqC;YAC3C,UAAU;YACV,WAAW;YACX,UAAU,EAAE,oBAAoB;SACnC,CAAC,CAAC;IACP,CAAC;IAWD,cAAc,CAAC,UAAkB,EAAE,kBAAsC,EAAE,IAA0B;QACjG,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: F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iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAC5C,iBAAiB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QAE5D,MAAM,UAAU,GAAG;YACf,UAAU;SACb,CAAC;QAEF,MAAM,WAAW,GAAG;YAChB,OAAO,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,EAAE,KAAK,CAAC;YACnD,MAAM,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAE,KAAK,CAAC;SACpD,CAAC;QAEF,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,0BAA0B;YAChC,UAAU;YACV,WAAW;YACX,SAAS,EAAE,kBAAkB;YAC7B,UAAU,EAAE,aAAa;SAC5B,CAAC,CAAC;IACP,CAAC;IAQD,gBAAgB,CAAC,UAAkB,EAAE,UAAmC;;QACpE,iBAAiB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QAE5C,OAAO,IAAI,CAAC,GAAG,CAAC;YACZ,IAAI,EAAE,gCAAgC;YACtC,UAAU,EAAE;gBACR,UAAU;aACb;YACD,WAAW,EAAE;gBACT,KAAK,EAAE,CAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,eAAe;oBACrC,CAAC,CAAC,uBAAuB,UAAU,CAAC,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;oBAC1G,CAAC,CAAC,SAAS;aAClB;SACJ,CAAC,CAAC;IACP,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanBodyUpdate } from '../model/filePlanBodyUpdate';\nimport { FilePlanEntry } from '../model/filePlanEntry';\nimport { RecordCategoryEntry } from '../model/recordCategoryEntry';\nimport { RecordCategoryPaging } from '../model/recordCategoryPaging';\nimport { RootCategoryBodyCreate } from '../model/rootCategoryBodyCreate';\nimport { BaseApi } from './base.api';\nimport { buildCollectionParam } from '../../../alfrescoApiClient';\nimport { throwIfNotDefined } from '../../../assert';\nimport { RecordsIncludeQuery, RecordsPagingQuery, RecordsSourceQuery } from './types';\nimport { FilePlanRolePaging, FilePlanRoleParameters } from '../model';\n\n/**\n * FilePlansApi service.\n */\nexport class FilePlansApi extends BaseApi {\n /**\n * Create record categories for a file plan\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param nodeBodyCreate The node information to create.\n * @param opts Optional parameters\n * @param opts.autoRename If `true`, then a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix.\n * @returns Promise<RecordCategoryEntry>\n */\n createFilePlanCategories(\n filePlanId: string,\n nodeBodyCreate: RootCategoryBodyCreate,\n opts?: {\n autoRename?: boolean;\n } & RecordsIncludeQuery\n ): Promise<RecordCategoryEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(nodeBodyCreate, 'nodeBodyCreate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n autoRename: opts?.autoRename,\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.post({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n contentTypes: ['application/json', 'multipart/form-data'],\n bodyParam: nodeBodyCreate,\n returnType: RecordCategoryEntry\n });\n }\n\n /**\n * Get a file plan\n *\n * Mandatory fields and the file plan's aspects and properties are returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlan(filePlanId: string, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * List file plans's children\n *\n * Minimal information for each child is returned by default.\n * You can use the **include** parameter (include=allowableOperations) to return additional information.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param opts Optional parameters\n * @returns Promise<RecordCategoryPaging>\n */\n getFilePlanCategories(filePlanId: string, opts?: RecordsIncludeQuery & RecordsPagingQuery & RecordsSourceQuery): Promise<RecordCategoryPaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n skipCount: opts?.skipCount,\n maxItems: opts?.maxItems,\n include: buildCollectionParam(opts?.include, 'csv'),\n includeSource: opts?.includeSource,\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.get({\n path: '/file-plans/{filePlanId}/categories',\n pathParams,\n queryParams,\n returnType: RecordCategoryPaging\n });\n }\n\n /**\n * Update a file plan\n *\n * **Note:** Currently there is no optimistic locking for updates, so they are applied in \\\"last one wins\\\" order.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param filePlanBodyUpdate The file plan information to update.\n * @param opts Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n updateFilePlan(filePlanId: string, filePlanBodyUpdate: FilePlanBodyUpdate, opts?: RecordsIncludeQuery): Promise<FilePlanEntry> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n throwIfNotDefined(filePlanBodyUpdate, 'filePlanBodyUpdate');\n\n const pathParams = {\n filePlanId\n };\n\n const queryParams = {\n include: buildCollectionParam(opts?.include, 'csv'),\n fields: buildCollectionParam(opts?.fields, 'csv')\n };\n\n return this.put({\n path: '/file-plans/{filePlanId}',\n pathParams,\n queryParams,\n bodyParam: filePlanBodyUpdate,\n returnType: FilePlanEntry\n });\n }\n\n /**\n * Gets a list of roles for the specified file plan.\n * @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.\n * @param parameters Optional parameters\n * @returns Promise<FilePlanEntry>\n */\n getFilePlanRoles(filePlanId: string, parameters?: FilePlanRoleParameters): Promise<FilePlanRolePaging> {\n throwIfNotDefined(filePlanId, 'filePlanId');\n\n return this.get({\n path: '/file-plans/{filePlanId}/roles',\n pathParams: {\n filePlanId\n },\n queryParams: {\n where: parameters?.where?.capabilityNames\n ? `(capabilityName in (${parameters.where.capabilityNames.map((value) => \"'\" + value + \"'\").join(', ')}))`\n : undefined\n }\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRoleCapability } from './filePlanRoleCapability';
|
|
18
|
+
export class FilePlanRole {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
var _a;
|
|
21
|
+
if (input) {
|
|
22
|
+
Object.assign(this, input);
|
|
23
|
+
this.capabilities = (_a = input.capabilities) === null || _a === void 0 ? void 0 : _a.map((capability) => new FilePlanRoleCapability(capability));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRole.js","sourceRoot":"","sources":["filePlanRole.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,OAAO,YAAY;IAOrB,YAAY,KAA6B;;QACrC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,YAAY,GAAG,MAAA,KAAK,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,sBAAsB,CAAC,UAAU,CAAC,CAAC,CAAC;QACxG,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRoleCapability } from './filePlanRoleCapability';\n\nexport class FilePlanRole {\n displayLabel: string;\n groupShortName: string;\n name: string;\n roleGroupName: string;\n capabilities: FilePlanRoleCapability[];\n\n constructor(input?: Partial<FilePlanRole>) {\n if (input) {\n Object.assign(this, input);\n this.capabilities = input.capabilities?.map((capability) => new FilePlanRoleCapability(capability));\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';
|
|
18
|
+
export class FilePlanRoleCapability {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
if (input) {
|
|
21
|
+
Object.assign(this, input);
|
|
22
|
+
this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleCapability.js","sourceRoot":"","sources":["filePlanRoleCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,OAAO,sBAAsB;IAM/B,YAAY,KAAuC;QAC/C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,2BAA2B,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACxF,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRoleCapabilityGroup } from './filePlanRoleCapabilityGroup';\n\nexport class FilePlanRoleCapability {\n group: FilePlanRoleCapabilityGroup;\n index: number;\n name: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapability>) {\n if (input) {\n Object.assign(this, input);\n this.group = input.group ? new FilePlanRoleCapabilityGroup(input.group) : undefined;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export class FilePlanRoleCapabilityGroup {
|
|
18
|
+
constructor(input) {
|
|
19
|
+
if (input) {
|
|
20
|
+
Object.assign(this, input);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleCapabilityGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleCapabilityGroup.js","sourceRoot":"","sources":["filePlanRoleCapabilityGroup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,OAAO,2BAA2B;IAIpC,YAAY,KAA4C;QACpD,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport class FilePlanRoleCapabilityGroup {\n id: string;\n title: string;\n\n constructor(input?: Partial<FilePlanRoleCapabilityGroup>) {\n if (input) {\n Object.assign(this, input);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FilePlanRole } from './filePlanRole';
|
|
18
|
+
export class FilePlanRoleEntry {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
if (input) {
|
|
21
|
+
Object.assign(this, input);
|
|
22
|
+
this.entry = input.entry ? new FilePlanRole(input.entry) : undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=../../../../../../../../lib/js-api/src/api/gs-core-rest-api/model/filePlanRoleEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filePlanRoleEntry.js","sourceRoot":"","sources":["filePlanRoleEntry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,OAAO,iBAAiB;IAG1B,YAAY,KAAkC;QAC1C,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACzE,CAAC;IACL,CAAC;CACJ","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilePlanRole } from './filePlanRole';\n\nexport class FilePlanRoleEntry {\n entry: FilePlanRole;\n\n constructor(input?: Partial<FilePlanRoleEntry>) {\n if (input) {\n Object.assign(this, input);\n this.entry = input.entry ? new FilePlanRole(input.entry) : undefined;\n }\n }\n}\n"]}
|