@resolution/confluence-api-client 0.7.6 → 0.7.8

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/lib/index.d.ts +2 -2
  3. package/lib/openapi/v1/services/ContentBodyService.d.ts +9 -1
  4. package/lib/openapi/v1/services/ContentBodyService.js +9 -1
  5. package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
  6. package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +16 -3
  7. package/lib/openapi/v2/BaseConfluenceApiV2Client.js +16 -0
  8. package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
  9. package/lib/openapi/v2/models/common.d.ts +85 -0
  10. package/lib/openapi/v2/models/common.js +59 -1
  11. package/lib/openapi/v2/models/common.js.map +1 -1
  12. package/lib/openapi/v2/models/eap.d.ts +9 -0
  13. package/lib/openapi/v2/models/eap.js +12 -0
  14. package/lib/openapi/v2/models/eap.js.map +1 -0
  15. package/lib/openapi/v2/models/space.d.ts +2 -38
  16. package/lib/openapi/v2/models/space.js +1 -23
  17. package/lib/openapi/v2/models/space.js.map +1 -1
  18. package/lib/openapi/v2/services/EapService.d.ts +270 -0
  19. package/lib/openapi/v2/services/EapService.js +327 -0
  20. package/lib/openapi/v2/services/EapService.js.map +1 -0
  21. package/lib/openapi/v2/services/SpacePermissionsService.d.ts +40 -8
  22. package/lib/openapi/v2/services/SpacePermissionsService.js +54 -6
  23. package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
  24. package/lib/openapi/v2/services/SpaceRolesService.d.ts +168 -0
  25. package/lib/openapi/v2/services/SpaceRolesService.js +231 -0
  26. package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -0
  27. package/lib/openapi/v2/services/SpaceService.d.ts +82 -3
  28. package/lib/openapi/v2/services/SpaceService.js +51 -2
  29. package/lib/openapi/v2/services/SpaceService.js.map +1 -1
  30. package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -0
  31. package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
  32. package/package.json +3 -3
@@ -1,23 +1,55 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type MultiEntityLinks, type SpacePermission } from "../models/common";
2
+ import { type MultiEntityLinks, type SpacePermission, type SpacePermissionAssignment } from "../models/common";
3
3
  /**
4
4
  * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions
5
5
  * @category Services
6
6
  */
7
7
  export declare class SpacePermissionsService extends CommonHttpService {
8
8
  /**
9
- * Returns space permissions for a specific space.
9
+ * Retrieves the available space permissions.
10
+ *
11
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
12
+ * Permission to access the Confluence site.
13
+ *
14
+ * @returns Returned if the requested space permissions are retrieved.
15
+ * @path GET `/space-permissions`
16
+ * @scopes-current read:space.permission:confluence
17
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-permissions-get
18
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-space-permissions-get
19
+ * @param params
20
+ */
21
+ getAvailableSpacePermissions: ({ cursor, limit, }?: {
22
+ /**
23
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
24
+ * the `Link` response header. Use the relative URL in the `Link` header to
25
+ * retrieve the `next` set of results.
26
+ */
27
+ cursor?: string | undefined;
28
+ /**
29
+ * Maximum number of space permissions to return. If more results exist, use the
30
+ * `Link` response header to retrieve a relative URL that will return the next set
31
+ * of results.
32
+ */
33
+ limit?: number | undefined;
34
+ }) => Promise<{
35
+ results?: SpacePermission[] | undefined;
36
+ _links?: MultiEntityLinks | undefined;
37
+ } & {
38
+ [key: string]: unknown;
39
+ }>;
40
+ /**
41
+ * Returns space permission assignments for a specific space.
10
42
  *
11
43
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
12
44
  * Permission to view the space.
13
45
  *
14
- * @returns Returned if the requested space permissions are returned.
46
+ * @returns Returned if the requested assignments are returned.
15
47
  * @path GET `/spaces/{id}/permissions`
16
48
  * @scopes-current read:space:confluence
17
49
  * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-spaces-id-permissions-get
18
50
  * @param params
19
51
  */
20
- getSpacePermissions: ({ id, cursor, limit, }: {
52
+ getSpacePermissionsAssignments: ({ id, cursor, limit, }: {
21
53
  /** The ID of the space to be returned. */
22
54
  id: number;
23
55
  /**
@@ -27,13 +59,13 @@ export declare class SpacePermissionsService extends CommonHttpService {
27
59
  */
28
60
  cursor?: string | undefined;
29
61
  /**
30
- * Maximum number of spaces per result to return. If more results exist, use the
31
- * `Link` response header to retrieve a relative URL that will return the next set
32
- * of results.
62
+ * Maximum number of assignments to return. If more results exist, use the `Link`
63
+ * response header to retrieve a relative URL that will return the next set of
64
+ * results.
33
65
  */
34
66
  limit?: number | undefined;
35
67
  }) => Promise<{
36
- results?: SpacePermission[] | undefined;
68
+ results?: SpacePermissionAssignment[] | undefined;
37
69
  _links?: MultiEntityLinks | undefined;
38
70
  } & {
39
71
  [key: string]: unknown;
@@ -17,18 +17,50 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
17
17
  constructor() {
18
18
  super(...arguments);
19
19
  /**
20
- * Returns space permissions for a specific space.
20
+ * Retrieves the available space permissions.
21
+ *
22
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
23
+ * Permission to access the Confluence site.
24
+ *
25
+ * @returns Returned if the requested space permissions are retrieved.
26
+ * @path GET `/space-permissions`
27
+ * @scopes-current read:space.permission:confluence
28
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-permissions-get
29
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-space-permissions-get
30
+ * @param params
31
+ */
32
+ this.getAvailableSpacePermissions = ({ cursor, limit, } = {}) => {
33
+ return this.getClientInstance()
34
+ .request({
35
+ path: "/space-permissions",
36
+ method: "GET",
37
+ query: {
38
+ cursor,
39
+ limit,
40
+ },
41
+ })
42
+ .then(this.getClientInstance().responseHandler({
43
+ 200: {
44
+ "application/json": "json",
45
+ },
46
+ }))
47
+ .then(commonHttpClient.castResponse())
48
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpacePermissionsService.getAvailableSpacePermissions.response")))
49
+ .then(commonHttpClient.getBody);
50
+ };
51
+ /**
52
+ * Returns space permission assignments for a specific space.
21
53
  *
22
54
  * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
23
55
  * Permission to view the space.
24
56
  *
25
- * @returns Returned if the requested space permissions are returned.
57
+ * @returns Returned if the requested assignments are returned.
26
58
  * @path GET `/spaces/{id}/permissions`
27
59
  * @scopes-current read:space:confluence
28
60
  * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-spaces-id-permissions-get
29
61
  * @param params
30
62
  */
31
- this.getSpacePermissions = ({ id, cursor, limit, }) => {
63
+ this.getSpacePermissionsAssignments = ({ id, cursor, limit, }) => {
32
64
  return this.getClientInstance()
33
65
  .request({
34
66
  path: "/spaces/{id}/permissions",
@@ -47,12 +79,12 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
47
79
  },
48
80
  }))
49
81
  .then(commonHttpClient.castResponse())
50
- .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpacePermissionsService.getSpacePermissions.response")))
82
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpacePermissionsService.getSpacePermissionsAssignments.response")))
51
83
  .then(commonHttpClient.getBody);
52
84
  };
53
85
  }
54
86
  static initialize() {
55
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpacePermissionsService.getSpacePermissions.response", zod_1.z
87
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpacePermissionsService.getAvailableSpacePermissions.response", zod_1.z
56
88
  .object({
57
89
  status: zod_1.z.literal(200),
58
90
  mediaType: zod_1.z.literal("application/json"),
@@ -67,7 +99,23 @@ class SpacePermissionsService extends CommonHttpService_1.CommonHttpService {
67
99
  })
68
100
  .catchall(zod_1.z.unknown()),
69
101
  })
70
- .describe("SpacePermissionsService.getSpacePermissions.response"));
102
+ .describe("SpacePermissionsService.getAvailableSpacePermissions.response"));
103
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpacePermissionsService.getSpacePermissionsAssignments.response", zod_1.z
104
+ .object({
105
+ status: zod_1.z.literal(200),
106
+ mediaType: zod_1.z.literal("application/json"),
107
+ body: zod_1.z
108
+ .object({
109
+ results: zod_1.z
110
+ .array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpacePermissionAssignment"))
111
+ .optional(),
112
+ _links: validationSchemaStorage_1.validationSchemaStorage
113
+ .lazy("MultiEntityLinks")
114
+ .optional(),
115
+ })
116
+ .catchall(zod_1.z.unknown()),
117
+ })
118
+ .describe("SpacePermissionsService.getSpacePermissionsAssignments.response"));
71
119
  validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
72
120
  }
73
121
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SpacePermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpacePermissionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAI0B;AAC1B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;WAWG;QACH,wBAAmB,GAAG,CAAC,EACrB,EAAE,EACF,MAAM,EACN,KAAK,GAgBN,EAOC,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,0BAA0B;gBAChC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;iBACH;gBACD,KAAK,EAAE;oBACL,MAAM;oBACN,KAAK;iBACN;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EASzB,CACL;iBACA,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CACjC,iDAAuB,CAAC,SAAS,CAC/B,sDAAsD,CACvD,CACF,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAuBJ,CAAC;IAtBW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,sDAAsD,EACtD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC;iBACJ,MAAM,CAAC;gBACN,OAAO,EAAE,OAAC;qBACP,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;qBACtD,QAAQ,EAAE;gBACb,MAAM,EAAE,iDAAuB;qBAC5B,IAAI,CAAC,kBAAkB,CAAC;qBACxB,QAAQ,EAAE;aACd,CAAC;iBACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACzB,CAAC;aACD,QAAQ,CAAC,sDAAsD,CAAC,CACpE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAtGD,0DAsGC"}
1
+ {"version":3,"file":"SpacePermissionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpacePermissionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,g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;aACD,QAAQ,CACP,iEAAiE,CAClE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAzMD,0DAyMC"}
@@ -0,0 +1,168 @@
1
+ import { CommonHttpService } from "../../core/CommonHttpService";
2
+ import { type MultiEntityLinks, type Principal, type PrincipalType, type SpaceRole, type SpaceRoleAssignment } from "../models/common";
3
+ /**
4
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles
5
+ * @category Services
6
+ */
7
+ export declare class SpaceRolesService extends CommonHttpService {
8
+ /**
9
+ * Retrieves the available space roles.
10
+ *
11
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
12
+ * Permission to access the Confluence site; if requesting a certain space's
13
+ * roles, permission to view the space.
14
+ *
15
+ * @returns Returned if the requested space roles are retrieved.
16
+ * @path GET `/space-roles`
17
+ * @scopes-current read:space.permission:confluence
18
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-get
19
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-get
20
+ * @param params
21
+ */
22
+ getAvailableSpaceRoles: ({ spaceId, roleType, principalId, principalType, cursor, limit, }?: {
23
+ /**
24
+ * The space ID for which to filter available space roles; if empty, return all
25
+ * available space roles for the tenant.
26
+ */
27
+ spaceId?: string | undefined;
28
+ /** The space role type to filter results by. */
29
+ roleType?: string | undefined;
30
+ /**
31
+ * The principal ID to filter results by. If specified, a principal-type must also
32
+ * be specified. Paired with a `principal-type` of `ACCESS_CLASS`, valid values
33
+ * include [`anonymous-users`, `jsm-project-admins`, `authenticated-users`,
34
+ * `all-licensed-users`, `all-product-admins`]
35
+ */
36
+ principalId?: string | undefined;
37
+ /**
38
+ * The principal type to filter results by. If specified, a principal-id must also
39
+ * be specified.
40
+ */
41
+ principalType?: PrincipalType | undefined;
42
+ /**
43
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
44
+ * the `Link` response header. Use the relative URL in the `Link` header to
45
+ * retrieve the `next` set of results.
46
+ */
47
+ cursor?: string | undefined;
48
+ /**
49
+ * Maximum number of space roles to return. If more results exist, use the `Link`
50
+ * response header to retrieve a relative URL that will return the next set of
51
+ * results.
52
+ */
53
+ limit?: number | undefined;
54
+ }) => Promise<{
55
+ results?: SpaceRole[] | undefined;
56
+ _links?: MultiEntityLinks | undefined;
57
+ } & {
58
+ [key: string]: unknown;
59
+ }>;
60
+ /**
61
+ * Retrieves the space role assignments.
62
+ *
63
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
64
+ * Permission to view the space.
65
+ *
66
+ * @returns Returned if the requested space role assignments are retrieved.
67
+ * @path GET `/spaces/{id}/role-assignments`
68
+ * @scopes-current read:space.permission:confluence
69
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-get
70
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-get
71
+ * @param params
72
+ */
73
+ getSpaceRoleAssignments: ({ id, roleId, roleType, principalId, principalType, cursor, limit, }: {
74
+ /** The ID of the space for which to retrieve assignments. */
75
+ id: number;
76
+ /** Filters the returned role assignments to the provided role ID. */
77
+ roleId?: string | undefined;
78
+ /** Filters the returned role assignments to the provided role type. */
79
+ roleType?: string | undefined;
80
+ /**
81
+ * Filters the returned role assignments to the provided principal id. If
82
+ * specified, a principal-type must also be specified. Paired with a
83
+ * `principal-type` of `ACCESS_CLASS`, valid values include [`anonymous-users`,
84
+ * `jsm-project-admins`, `authenticated-users`, `all-licensed-users`,
85
+ * `all-product-admins`]
86
+ */
87
+ principalId?: string | undefined;
88
+ /**
89
+ * Filters the returned role assignments to the provided principal type. If
90
+ * specified, a principal-id must also be specified.
91
+ */
92
+ principalType?: PrincipalType | undefined;
93
+ /**
94
+ * Used for pagination, this opaque cursor will be returned in the `next` URL in
95
+ * the `Link` response header. Use the relative URL in the `Link` header to
96
+ * retrieve the `next` set of results.
97
+ */
98
+ cursor?: string | undefined;
99
+ /**
100
+ * Maximum number of space roles to return. If more results exist, use the `Link`
101
+ * response header to retrieve a relative URL that will return the next set of
102
+ * results.
103
+ */
104
+ limit?: number | undefined;
105
+ }) => Promise<{
106
+ results?: SpaceRoleAssignment[] | undefined;
107
+ _links?: MultiEntityLinks | undefined;
108
+ } & {
109
+ [key: string]: unknown;
110
+ }>;
111
+ /**
112
+ * Retrieves the space role by ID.
113
+ *
114
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
115
+ * Permission to access the Confluence site.
116
+ *
117
+ * @returns Returned if the requested space role is retrieved.
118
+ * @path GET `/space-roles/{id}`
119
+ * @scopes-current read:space.permission:confluence
120
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-id-get
121
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-id-get
122
+ * @param params
123
+ */
124
+ getSpaceRolesById: ({ id, }: {
125
+ /** The ID of the space role to retrieve. */
126
+ id: number;
127
+ }) => Promise<SpaceRole & {
128
+ _links?: ({
129
+ /** Base url of the Confluence site. */
130
+ base?: string | undefined;
131
+ } & {
132
+ [key: string]: unknown;
133
+ }) | undefined;
134
+ } & {
135
+ [key: string]: unknown;
136
+ }>;
137
+ /**
138
+ * Sets space role assignments as specified in the payload.
139
+ *
140
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
141
+ * Permission to manage roles in the space.
142
+ *
143
+ * @returns Returned if the requested update to space role assignments succeeds in its entirety.
144
+ * @path POST `/spaces/{id}/role-assignments`
145
+ * @scopes-current write:space.permission:confluence
146
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-post
147
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-post
148
+ * @param params
149
+ */
150
+ setSpaceRoleAssignments: ({ id, requestBody, }: {
151
+ /** The ID of the space for which to retrieve assignments. */
152
+ id: number;
153
+ requestBody: {
154
+ /** The principal of the role assignment. */
155
+ principal: Principal;
156
+ /** The role to which the principal is assigned. */
157
+ roleId?: string | undefined;
158
+ } & {
159
+ [key: string]: unknown;
160
+ };
161
+ }) => Promise<{
162
+ results?: SpaceRoleAssignment[] | undefined;
163
+ _links?: MultiEntityLinks | undefined;
164
+ } & {
165
+ [key: string]: unknown;
166
+ }>;
167
+ protected static initialize(): void;
168
+ }
@@ -0,0 +1,231 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpaceRolesService = void 0;
4
+ // DO NOT EDIT!
5
+ // This file is generated by "api-typescript-generator".
6
+ // To update this file run "yarn build:openapi".
7
+ const zod_1 = require("zod");
8
+ const commonHttpClient = require("../../core/CommonHttpClient");
9
+ const CommonHttpService_1 = require("../../core/CommonHttpService");
10
+ const common_1 = require("../models/common");
11
+ const validationSchemaStorage_1 = require("../validationSchemaStorage");
12
+ /**
13
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles
14
+ * @category Services
15
+ */
16
+ class SpaceRolesService extends CommonHttpService_1.CommonHttpService {
17
+ constructor() {
18
+ super(...arguments);
19
+ /**
20
+ * Retrieves the available space roles.
21
+ *
22
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
23
+ * Permission to access the Confluence site; if requesting a certain space's
24
+ * roles, permission to view the space.
25
+ *
26
+ * @returns Returned if the requested space roles are retrieved.
27
+ * @path GET `/space-roles`
28
+ * @scopes-current read:space.permission:confluence
29
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-get
30
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-get
31
+ * @param params
32
+ */
33
+ this.getAvailableSpaceRoles = ({ spaceId, roleType, principalId, principalType, cursor, limit, } = {}) => {
34
+ return this.getClientInstance()
35
+ .request({
36
+ path: "/space-roles",
37
+ method: "GET",
38
+ query: {
39
+ "space-id": spaceId,
40
+ "role-type": roleType,
41
+ "principal-id": principalId,
42
+ "principal-type": principalType,
43
+ cursor,
44
+ limit,
45
+ },
46
+ })
47
+ .then(this.getClientInstance().responseHandler({
48
+ 200: {
49
+ "application/json": "json",
50
+ },
51
+ }))
52
+ .then(commonHttpClient.castResponse())
53
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceRolesService.getAvailableSpaceRoles.response")))
54
+ .then(commonHttpClient.getBody);
55
+ };
56
+ /**
57
+ * Retrieves the space role assignments.
58
+ *
59
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
60
+ * Permission to view the space.
61
+ *
62
+ * @returns Returned if the requested space role assignments are retrieved.
63
+ * @path GET `/spaces/{id}/role-assignments`
64
+ * @scopes-current read:space.permission:confluence
65
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-get
66
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-get
67
+ * @param params
68
+ */
69
+ this.getSpaceRoleAssignments = ({ id, roleId, roleType, principalId, principalType, cursor, limit, }) => {
70
+ return this.getClientInstance()
71
+ .request({
72
+ path: "/spaces/{id}/role-assignments",
73
+ method: "GET",
74
+ pathParams: {
75
+ id,
76
+ },
77
+ query: {
78
+ "role-id": roleId,
79
+ "role-type": roleType,
80
+ "principal-id": principalId,
81
+ "principal-type": principalType,
82
+ cursor,
83
+ limit,
84
+ },
85
+ })
86
+ .then(this.getClientInstance().responseHandler({
87
+ 200: {
88
+ "application/json": "json",
89
+ },
90
+ }))
91
+ .then(commonHttpClient.castResponse())
92
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceRolesService.getSpaceRoleAssignments.response")))
93
+ .then(commonHttpClient.getBody);
94
+ };
95
+ /**
96
+ * Retrieves the space role by ID.
97
+ *
98
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
99
+ * Permission to access the Confluence site.
100
+ *
101
+ * @returns Returned if the requested space role is retrieved.
102
+ * @path GET `/space-roles/{id}`
103
+ * @scopes-current read:space.permission:confluence
104
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-id-get
105
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-id-get
106
+ * @param params
107
+ */
108
+ this.getSpaceRolesById = ({ id, }) => {
109
+ return this.getClientInstance()
110
+ .request({
111
+ path: "/space-roles/{id}",
112
+ method: "GET",
113
+ pathParams: {
114
+ id,
115
+ },
116
+ })
117
+ .then(this.getClientInstance().responseHandler({
118
+ 200: {
119
+ "application/json": "json",
120
+ },
121
+ }))
122
+ .then(commonHttpClient.castResponse())
123
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceRolesService.getSpaceRolesById.response")))
124
+ .then(commonHttpClient.getBody);
125
+ };
126
+ /**
127
+ * Sets space role assignments as specified in the payload.
128
+ *
129
+ * **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
130
+ * Permission to manage roles in the space.
131
+ *
132
+ * @returns Returned if the requested update to space role assignments succeeds in its entirety.
133
+ * @path POST `/spaces/{id}/role-assignments`
134
+ * @scopes-current write:space.permission:confluence
135
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-post
136
+ * @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-post
137
+ * @param params
138
+ */
139
+ this.setSpaceRoleAssignments = ({ id, requestBody, }) => {
140
+ return this.getClientInstance()
141
+ .request({
142
+ path: "/spaces/{id}/role-assignments",
143
+ method: "POST",
144
+ pathParams: {
145
+ id,
146
+ },
147
+ headers: {
148
+ "Content-Type": "application/json",
149
+ },
150
+ body: requestBody,
151
+ })
152
+ .then(this.getClientInstance().responseHandler({
153
+ 200: {
154
+ "application/json": "json",
155
+ },
156
+ }))
157
+ .then(commonHttpClient.castResponse())
158
+ .then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("SpaceRolesService.setSpaceRoleAssignments.response")))
159
+ .then(commonHttpClient.getBody);
160
+ };
161
+ }
162
+ static initialize() {
163
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceRolesService.getAvailableSpaceRoles.response", zod_1.z
164
+ .object({
165
+ status: zod_1.z.literal(200),
166
+ mediaType: zod_1.z.literal("application/json"),
167
+ body: zod_1.z
168
+ .object({
169
+ results: zod_1.z
170
+ .array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRole"))
171
+ .optional(),
172
+ _links: validationSchemaStorage_1.validationSchemaStorage
173
+ .lazy("MultiEntityLinks")
174
+ .optional(),
175
+ })
176
+ .catchall(zod_1.z.unknown()),
177
+ })
178
+ .describe("SpaceRolesService.getAvailableSpaceRoles.response"));
179
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceRolesService.getSpaceRolesById.response", zod_1.z
180
+ .object({
181
+ status: zod_1.z.literal(200),
182
+ mediaType: zod_1.z.literal("application/json"),
183
+ body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRole"), zod_1.z
184
+ .object({
185
+ _links: zod_1.z
186
+ .object({
187
+ base: zod_1.z.string().optional(),
188
+ })
189
+ .catchall(zod_1.z.unknown())
190
+ .optional(),
191
+ })
192
+ .catchall(zod_1.z.unknown())),
193
+ })
194
+ .describe("SpaceRolesService.getSpaceRolesById.response"));
195
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceRolesService.getSpaceRoleAssignments.response", zod_1.z
196
+ .object({
197
+ status: zod_1.z.literal(200),
198
+ mediaType: zod_1.z.literal("application/json"),
199
+ body: zod_1.z
200
+ .object({
201
+ results: zod_1.z
202
+ .array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRoleAssignment"))
203
+ .optional(),
204
+ _links: validationSchemaStorage_1.validationSchemaStorage
205
+ .lazy("MultiEntityLinks")
206
+ .optional(),
207
+ })
208
+ .catchall(zod_1.z.unknown()),
209
+ })
210
+ .describe("SpaceRolesService.getSpaceRoleAssignments.response"));
211
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("SpaceRolesService.setSpaceRoleAssignments.response", zod_1.z
212
+ .object({
213
+ status: zod_1.z.literal(200),
214
+ mediaType: zod_1.z.literal("application/json"),
215
+ body: zod_1.z
216
+ .object({
217
+ results: zod_1.z
218
+ .array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRoleAssignment"))
219
+ .optional(),
220
+ _links: validationSchemaStorage_1.validationSchemaStorage
221
+ .lazy("MultiEntityLinks")
222
+ .optional(),
223
+ })
224
+ .catchall(zod_1.z.unknown()),
225
+ })
226
+ .describe("SpaceRolesService.setSpaceRoleAssignments.response"));
227
+ validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
228
+ }
229
+ }
230
+ exports.SpaceRolesService = SpaceRolesService;
231
+ //# sourceMappingURL=SpaceRolesService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceRolesService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/SpaceRolesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAO0B;AAC1B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,qCAAiB;IAAxD;;QACE;;;;;;;;;;;;;WAaG;QACH,2BAAsB,GAAG,CAAC,EACxB,OAAO,EACP,QAAQ,EACR,WAAW,EACX,aAAa,EACb,MAAM,EACN,KAAK,MAiCH,EAAE,EAOJ,EAAE;YACF,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,cAAc;gBACpB,MAAM,EAAE,KAAK;gBACb,KAAK,EAA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