@resolution/confluence-api-client 0.7.6 → 0.7.7
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/CHANGELOG.md +11 -0
- package/lib/index.d.ts +2 -2
- package/lib/openapi/v1/services/ContentBodyService.d.ts +7 -0
- package/lib/openapi/v1/services/ContentBodyService.js +7 -0
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +16 -3
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +16 -0
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/models/common.d.ts +85 -0
- package/lib/openapi/v2/models/common.js +59 -1
- package/lib/openapi/v2/models/common.js.map +1 -1
- package/lib/openapi/v2/models/eap.d.ts +9 -0
- package/lib/openapi/v2/models/eap.js +12 -0
- package/lib/openapi/v2/models/eap.js.map +1 -0
- package/lib/openapi/v2/models/space.d.ts +2 -38
- package/lib/openapi/v2/models/space.js +1 -23
- package/lib/openapi/v2/models/space.js.map +1 -1
- package/lib/openapi/v2/services/EapService.d.ts +270 -0
- package/lib/openapi/v2/services/EapService.js +327 -0
- package/lib/openapi/v2/services/EapService.js.map +1 -0
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +40 -8
- package/lib/openapi/v2/services/SpacePermissionsService.js +54 -6
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceRolesService.d.ts +168 -0
- package/lib/openapi/v2/services/SpaceRolesService.js +231 -0
- package/lib/openapi/v2/services/SpaceRolesService.js.map +1 -0
- package/lib/openapi/v2/services/SpaceService.d.ts +82 -3
- package/lib/openapi/v2/services/SpaceService.js +51 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -0
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../src/openapi/v2/models/space.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,
|
|
1
|
+
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../src/openapi/v2/models/space.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAyC;AAGzC,qCAakB;AA4DlB,SAAgB,8BAA8B,CAC5C,uBAAkE;IAElE,uBAAuB,CAAC,QAAQ,CAC9B,oCAAoC,EACpC,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC,CACzE,CAAC;IACF,uBAAuB,CAAC,QAAQ,CAC9B,aAAa,EACb,OAAC;SACE,MAAM,CAAC;QACN,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACzB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;QAC1D,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE;QAC9D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,WAAW,EAAE,uBAAuB;aACjC,IAAI,CAAC,kBAAkB,CAAC;aACxB,QAAQ,EAAE;QACb,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,WAAW,C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E,OAAC;iBACP,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;iBAChE,QAAQ,EAAE;YACb,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE;YAClE,MAAM,EAAE,uBAAuB;iBAC5B,IAAI,CAAC,oBAAoB,CAAC;iBAC1B,QAAQ,EAAE;SACd,CAAC;aACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;aACrB,QAAQ,EAAE;QACb,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE;KAC9D,CAAC;SACD,QAAQ,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SACrB,QAAQ,CAAC,aAAa,CAAC,CAC3B,CAAC;IACF,uBAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;AAC1E,CAAC;AA3ED,wEA2EC"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
+
import { type MultiEntityLinks, type Principal, type PrincipalType, type SpaceBulk, type SpacePermission, type SpaceRole, type SpaceRoleAssignment } from "../models/common";
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap
|
|
5
|
+
* @category Services
|
|
6
|
+
*/
|
|
7
|
+
export declare class EapService extends CommonHttpService {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a Space as specified in the payload.
|
|
10
|
+
*
|
|
11
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
12
|
+
* Permission to create spaces.
|
|
13
|
+
*
|
|
14
|
+
* @returns Returned if the requested space is created.
|
|
15
|
+
* @path POST `/spaces`
|
|
16
|
+
* @scopes-current write:space:confluence
|
|
17
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-post
|
|
18
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-post
|
|
19
|
+
* @param params
|
|
20
|
+
*/
|
|
21
|
+
createSpace: ({ requestBody, }: {
|
|
22
|
+
requestBody: {
|
|
23
|
+
/** The name of the space to be created. */
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The key for the new space. See [Space
|
|
27
|
+
* Keys](https://support.atlassian.com/confluence-cloud/docs/create-a-space/). If
|
|
28
|
+
* the key property is not provided, the alias property is required to be used
|
|
29
|
+
* instead.
|
|
30
|
+
*/
|
|
31
|
+
key?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* This field will be used as the new identifier for the space in confluence page
|
|
34
|
+
* URLs. If the alias property is not provided, the key property is required to be
|
|
35
|
+
* used instead. Maximum 255 alphanumeric characters in length.
|
|
36
|
+
*/
|
|
37
|
+
alias?: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* The description of the new/updated space. Note, only the 'plain' representation
|
|
40
|
+
* is currently supported.
|
|
41
|
+
*/
|
|
42
|
+
description?: ({
|
|
43
|
+
/** The space description. */
|
|
44
|
+
value?: string | undefined;
|
|
45
|
+
/** The format of the description. */
|
|
46
|
+
representation?: string | undefined;
|
|
47
|
+
} & {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
}) | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The role assignments for the new space. If none are provided, the Default Space
|
|
52
|
+
* Roles are applied. If roles are provided, the space is created with exactly the
|
|
53
|
+
* provided set of roles. A private space is created if only the creator is
|
|
54
|
+
* assigned to a role and it’s the Admin role. At least one Admin role assignment
|
|
55
|
+
* must be specified.
|
|
56
|
+
*/
|
|
57
|
+
roleAssignments?: ({
|
|
58
|
+
/** The principal of the role assignment. */
|
|
59
|
+
principal?: Principal | undefined;
|
|
60
|
+
/** The role to which the principal is assigned. */
|
|
61
|
+
roleId?: string | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}) | undefined;
|
|
65
|
+
} & {
|
|
66
|
+
[key: string]: unknown;
|
|
67
|
+
};
|
|
68
|
+
}) => Promise<SpaceBulk & {
|
|
69
|
+
_links?: ({
|
|
70
|
+
/** Base url of the Confluence site. */
|
|
71
|
+
base?: string | undefined;
|
|
72
|
+
} & {
|
|
73
|
+
[key: string]: unknown;
|
|
74
|
+
}) | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
[key: string]: unknown;
|
|
77
|
+
}>;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves the available space permissions.
|
|
80
|
+
*
|
|
81
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
82
|
+
* Permission to access the Confluence site.
|
|
83
|
+
*
|
|
84
|
+
* @returns Returned if the requested space permissions are retrieved.
|
|
85
|
+
* @path GET `/space-permissions`
|
|
86
|
+
* @scopes-current read:space.permission:confluence
|
|
87
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-permissions-get
|
|
88
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-space-permissions-get
|
|
89
|
+
* @param params
|
|
90
|
+
*/
|
|
91
|
+
getAvailableSpacePermissions: ({ cursor, limit, }?: {
|
|
92
|
+
/**
|
|
93
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
94
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
95
|
+
* retrieve the `next` set of results.
|
|
96
|
+
*/
|
|
97
|
+
cursor?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Maximum number of space permissions to return. If more results exist, use the
|
|
100
|
+
* `Link` response header to retrieve a relative URL that will return the next set
|
|
101
|
+
* of results.
|
|
102
|
+
*/
|
|
103
|
+
limit?: number | undefined;
|
|
104
|
+
}) => Promise<{
|
|
105
|
+
results?: SpacePermission[] | undefined;
|
|
106
|
+
_links?: MultiEntityLinks | undefined;
|
|
107
|
+
} & {
|
|
108
|
+
[key: string]: unknown;
|
|
109
|
+
}>;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves the available space roles.
|
|
112
|
+
*
|
|
113
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
114
|
+
* Permission to access the Confluence site; if requesting a certain space's
|
|
115
|
+
* roles, permission to view the space.
|
|
116
|
+
*
|
|
117
|
+
* @returns Returned if the requested space roles are retrieved.
|
|
118
|
+
* @path GET `/space-roles`
|
|
119
|
+
* @scopes-current read:space.permission:confluence
|
|
120
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-get
|
|
121
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-get
|
|
122
|
+
* @param params
|
|
123
|
+
*/
|
|
124
|
+
getAvailableSpaceRoles: ({ spaceId, roleType, principalId, principalType, cursor, limit, }?: {
|
|
125
|
+
/**
|
|
126
|
+
* The space ID for which to filter available space roles; if empty, return all
|
|
127
|
+
* available space roles for the tenant.
|
|
128
|
+
*/
|
|
129
|
+
spaceId?: string | undefined;
|
|
130
|
+
/** The space role type to filter results by. */
|
|
131
|
+
roleType?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* The principal ID to filter results by. If specified, a principal-type must also
|
|
134
|
+
* be specified. Paired with a `principal-type` of `ACCESS_CLASS`, valid values
|
|
135
|
+
* include [`anonymous-users`, `jsm-project-admins`, `authenticated-users`,
|
|
136
|
+
* `all-licensed-users`, `all-product-admins`]
|
|
137
|
+
*/
|
|
138
|
+
principalId?: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* The principal type to filter results by. If specified, a principal-id must also
|
|
141
|
+
* be specified.
|
|
142
|
+
*/
|
|
143
|
+
principalType?: PrincipalType | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
146
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
147
|
+
* retrieve the `next` set of results.
|
|
148
|
+
*/
|
|
149
|
+
cursor?: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Maximum number of space roles to return. If more results exist, use the `Link`
|
|
152
|
+
* response header to retrieve a relative URL that will return the next set of
|
|
153
|
+
* results.
|
|
154
|
+
*/
|
|
155
|
+
limit?: number | undefined;
|
|
156
|
+
}) => Promise<{
|
|
157
|
+
results?: SpaceRole[] | undefined;
|
|
158
|
+
_links?: MultiEntityLinks | undefined;
|
|
159
|
+
} & {
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
}>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the space role assignments.
|
|
164
|
+
*
|
|
165
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
166
|
+
* Permission to view the space.
|
|
167
|
+
*
|
|
168
|
+
* @returns Returned if the requested space role assignments are retrieved.
|
|
169
|
+
* @path GET `/spaces/{id}/role-assignments`
|
|
170
|
+
* @scopes-current read:space.permission:confluence
|
|
171
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-get
|
|
172
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-get
|
|
173
|
+
* @param params
|
|
174
|
+
*/
|
|
175
|
+
getSpaceRoleAssignments: ({ id, roleId, roleType, principalId, principalType, cursor, limit, }: {
|
|
176
|
+
/** The ID of the space for which to retrieve assignments. */
|
|
177
|
+
id: number;
|
|
178
|
+
/** Filters the returned role assignments to the provided role ID. */
|
|
179
|
+
roleId?: string | undefined;
|
|
180
|
+
/** Filters the returned role assignments to the provided role type. */
|
|
181
|
+
roleType?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Filters the returned role assignments to the provided principal id. If
|
|
184
|
+
* specified, a principal-type must also be specified. Paired with a
|
|
185
|
+
* `principal-type` of `ACCESS_CLASS`, valid values include [`anonymous-users`,
|
|
186
|
+
* `jsm-project-admins`, `authenticated-users`, `all-licensed-users`,
|
|
187
|
+
* `all-product-admins`]
|
|
188
|
+
*/
|
|
189
|
+
principalId?: string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Filters the returned role assignments to the provided principal type. If
|
|
192
|
+
* specified, a principal-id must also be specified.
|
|
193
|
+
*/
|
|
194
|
+
principalType?: PrincipalType | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* Used for pagination, this opaque cursor will be returned in the `next` URL in
|
|
197
|
+
* the `Link` response header. Use the relative URL in the `Link` header to
|
|
198
|
+
* retrieve the `next` set of results.
|
|
199
|
+
*/
|
|
200
|
+
cursor?: string | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* Maximum number of space roles to return. If more results exist, use the `Link`
|
|
203
|
+
* response header to retrieve a relative URL that will return the next set of
|
|
204
|
+
* results.
|
|
205
|
+
*/
|
|
206
|
+
limit?: number | undefined;
|
|
207
|
+
}) => Promise<{
|
|
208
|
+
results?: SpaceRoleAssignment[] | undefined;
|
|
209
|
+
_links?: MultiEntityLinks | undefined;
|
|
210
|
+
} & {
|
|
211
|
+
[key: string]: unknown;
|
|
212
|
+
}>;
|
|
213
|
+
/**
|
|
214
|
+
* Retrieves the space role by ID.
|
|
215
|
+
*
|
|
216
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
217
|
+
* Permission to access the Confluence site.
|
|
218
|
+
*
|
|
219
|
+
* @returns Returned if the requested space role is retrieved.
|
|
220
|
+
* @path GET `/space-roles/{id}`
|
|
221
|
+
* @scopes-current read:space.permission:confluence
|
|
222
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-id-get
|
|
223
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-id-get
|
|
224
|
+
* @param params
|
|
225
|
+
*/
|
|
226
|
+
getSpaceRolesById: ({ id, }: {
|
|
227
|
+
/** The ID of the space role to retrieve. */
|
|
228
|
+
id: number;
|
|
229
|
+
}) => Promise<SpaceRole & {
|
|
230
|
+
_links?: ({
|
|
231
|
+
/** Base url of the Confluence site. */
|
|
232
|
+
base?: string | undefined;
|
|
233
|
+
} & {
|
|
234
|
+
[key: string]: unknown;
|
|
235
|
+
}) | undefined;
|
|
236
|
+
} & {
|
|
237
|
+
[key: string]: unknown;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* Sets space role assignments as specified in the payload.
|
|
241
|
+
*
|
|
242
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
243
|
+
* Permission to manage roles in the space.
|
|
244
|
+
*
|
|
245
|
+
* @returns Returned if the requested update to space role assignments succeeds in its entirety.
|
|
246
|
+
* @path POST `/spaces/{id}/role-assignments`
|
|
247
|
+
* @scopes-current write:space.permission:confluence
|
|
248
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-post
|
|
249
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-post
|
|
250
|
+
* @param params
|
|
251
|
+
*/
|
|
252
|
+
setSpaceRoleAssignments: ({ id, requestBody, }: {
|
|
253
|
+
/** The ID of the space for which to retrieve assignments. */
|
|
254
|
+
id: number;
|
|
255
|
+
requestBody: {
|
|
256
|
+
/** The principal of the role assignment. */
|
|
257
|
+
principal: Principal;
|
|
258
|
+
/** The role to which the principal is assigned. */
|
|
259
|
+
roleId?: string | undefined;
|
|
260
|
+
} & {
|
|
261
|
+
[key: string]: unknown;
|
|
262
|
+
};
|
|
263
|
+
}) => Promise<{
|
|
264
|
+
results?: SpaceRoleAssignment[] | undefined;
|
|
265
|
+
_links?: MultiEntityLinks | undefined;
|
|
266
|
+
} & {
|
|
267
|
+
[key: string]: unknown;
|
|
268
|
+
}>;
|
|
269
|
+
protected static initialize(): void;
|
|
270
|
+
}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EapService = 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-eap
|
|
14
|
+
* @category Services
|
|
15
|
+
*/
|
|
16
|
+
class EapService extends CommonHttpService_1.CommonHttpService {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
/**
|
|
20
|
+
* Creates a Space as specified in the payload.
|
|
21
|
+
*
|
|
22
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
23
|
+
* Permission to create spaces.
|
|
24
|
+
*
|
|
25
|
+
* @returns Returned if the requested space is created.
|
|
26
|
+
* @path POST `/spaces`
|
|
27
|
+
* @scopes-current write:space:confluence
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-post
|
|
29
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space#api-spaces-post
|
|
30
|
+
* @param params
|
|
31
|
+
*/
|
|
32
|
+
this.createSpace = ({ requestBody, }) => {
|
|
33
|
+
return this.getClientInstance()
|
|
34
|
+
.request({
|
|
35
|
+
path: "/spaces",
|
|
36
|
+
method: "POST",
|
|
37
|
+
headers: {
|
|
38
|
+
"Content-Type": "application/json",
|
|
39
|
+
},
|
|
40
|
+
body: requestBody,
|
|
41
|
+
})
|
|
42
|
+
.then(this.getClientInstance().responseHandler({
|
|
43
|
+
201: {
|
|
44
|
+
"application/json": "json",
|
|
45
|
+
},
|
|
46
|
+
}))
|
|
47
|
+
.then(commonHttpClient.castResponse())
|
|
48
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.createSpace.response")))
|
|
49
|
+
.then(commonHttpClient.getBody);
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves the available space permissions.
|
|
53
|
+
*
|
|
54
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
55
|
+
* Permission to access the Confluence site.
|
|
56
|
+
*
|
|
57
|
+
* @returns Returned if the requested space permissions are retrieved.
|
|
58
|
+
* @path GET `/space-permissions`
|
|
59
|
+
* @scopes-current read:space.permission:confluence
|
|
60
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-permissions-get
|
|
61
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-permissions#api-space-permissions-get
|
|
62
|
+
* @param params
|
|
63
|
+
*/
|
|
64
|
+
this.getAvailableSpacePermissions = ({ cursor, limit, } = {}) => {
|
|
65
|
+
return this.getClientInstance()
|
|
66
|
+
.request({
|
|
67
|
+
path: "/space-permissions",
|
|
68
|
+
method: "GET",
|
|
69
|
+
query: {
|
|
70
|
+
cursor,
|
|
71
|
+
limit,
|
|
72
|
+
},
|
|
73
|
+
})
|
|
74
|
+
.then(this.getClientInstance().responseHandler({
|
|
75
|
+
200: {
|
|
76
|
+
"application/json": "json",
|
|
77
|
+
},
|
|
78
|
+
}))
|
|
79
|
+
.then(commonHttpClient.castResponse())
|
|
80
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.getAvailableSpacePermissions.response")))
|
|
81
|
+
.then(commonHttpClient.getBody);
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Retrieves the available space roles.
|
|
85
|
+
*
|
|
86
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
87
|
+
* Permission to access the Confluence site; if requesting a certain space's
|
|
88
|
+
* roles, permission to view the space.
|
|
89
|
+
*
|
|
90
|
+
* @returns Returned if the requested space roles are retrieved.
|
|
91
|
+
* @path GET `/space-roles`
|
|
92
|
+
* @scopes-current read:space.permission:confluence
|
|
93
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-get
|
|
94
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-get
|
|
95
|
+
* @param params
|
|
96
|
+
*/
|
|
97
|
+
this.getAvailableSpaceRoles = ({ spaceId, roleType, principalId, principalType, cursor, limit, } = {}) => {
|
|
98
|
+
return this.getClientInstance()
|
|
99
|
+
.request({
|
|
100
|
+
path: "/space-roles",
|
|
101
|
+
method: "GET",
|
|
102
|
+
query: {
|
|
103
|
+
"space-id": spaceId,
|
|
104
|
+
"role-type": roleType,
|
|
105
|
+
"principal-id": principalId,
|
|
106
|
+
"principal-type": principalType,
|
|
107
|
+
cursor,
|
|
108
|
+
limit,
|
|
109
|
+
},
|
|
110
|
+
})
|
|
111
|
+
.then(this.getClientInstance().responseHandler({
|
|
112
|
+
200: {
|
|
113
|
+
"application/json": "json",
|
|
114
|
+
},
|
|
115
|
+
}))
|
|
116
|
+
.then(commonHttpClient.castResponse())
|
|
117
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.getAvailableSpaceRoles.response")))
|
|
118
|
+
.then(commonHttpClient.getBody);
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Retrieves the space role assignments.
|
|
122
|
+
*
|
|
123
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
124
|
+
* Permission to view the space.
|
|
125
|
+
*
|
|
126
|
+
* @returns Returned if the requested space role assignments are retrieved.
|
|
127
|
+
* @path GET `/spaces/{id}/role-assignments`
|
|
128
|
+
* @scopes-current read:space.permission:confluence
|
|
129
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-get
|
|
130
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-get
|
|
131
|
+
* @param params
|
|
132
|
+
*/
|
|
133
|
+
this.getSpaceRoleAssignments = ({ id, roleId, roleType, principalId, principalType, cursor, limit, }) => {
|
|
134
|
+
return this.getClientInstance()
|
|
135
|
+
.request({
|
|
136
|
+
path: "/spaces/{id}/role-assignments",
|
|
137
|
+
method: "GET",
|
|
138
|
+
pathParams: {
|
|
139
|
+
id,
|
|
140
|
+
},
|
|
141
|
+
query: {
|
|
142
|
+
"role-id": roleId,
|
|
143
|
+
"role-type": roleType,
|
|
144
|
+
"principal-id": principalId,
|
|
145
|
+
"principal-type": principalType,
|
|
146
|
+
cursor,
|
|
147
|
+
limit,
|
|
148
|
+
},
|
|
149
|
+
})
|
|
150
|
+
.then(this.getClientInstance().responseHandler({
|
|
151
|
+
200: {
|
|
152
|
+
"application/json": "json",
|
|
153
|
+
},
|
|
154
|
+
}))
|
|
155
|
+
.then(commonHttpClient.castResponse())
|
|
156
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.getSpaceRoleAssignments.response")))
|
|
157
|
+
.then(commonHttpClient.getBody);
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Retrieves the space role by ID.
|
|
161
|
+
*
|
|
162
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
163
|
+
* Permission to access the Confluence site.
|
|
164
|
+
*
|
|
165
|
+
* @returns Returned if the requested space role is retrieved.
|
|
166
|
+
* @path GET `/space-roles/{id}`
|
|
167
|
+
* @scopes-current read:space.permission:confluence
|
|
168
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-space-roles-id-get
|
|
169
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-space-roles-id-get
|
|
170
|
+
* @param params
|
|
171
|
+
*/
|
|
172
|
+
this.getSpaceRolesById = ({ id, }) => {
|
|
173
|
+
return this.getClientInstance()
|
|
174
|
+
.request({
|
|
175
|
+
path: "/space-roles/{id}",
|
|
176
|
+
method: "GET",
|
|
177
|
+
pathParams: {
|
|
178
|
+
id,
|
|
179
|
+
},
|
|
180
|
+
})
|
|
181
|
+
.then(this.getClientInstance().responseHandler({
|
|
182
|
+
200: {
|
|
183
|
+
"application/json": "json",
|
|
184
|
+
},
|
|
185
|
+
}))
|
|
186
|
+
.then(commonHttpClient.castResponse())
|
|
187
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.getSpaceRolesById.response")))
|
|
188
|
+
.then(commonHttpClient.getBody);
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Sets space role assignments as specified in the payload.
|
|
192
|
+
*
|
|
193
|
+
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
194
|
+
* Permission to manage roles in the space.
|
|
195
|
+
*
|
|
196
|
+
* @returns Returned if the requested update to space role assignments succeeds in its entirety.
|
|
197
|
+
* @path POST `/spaces/{id}/role-assignments`
|
|
198
|
+
* @scopes-current write:space.permission:confluence
|
|
199
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-eap#api-spaces-id-role-assignments-post
|
|
200
|
+
* @see https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-roles#api-spaces-id-role-assignments-post
|
|
201
|
+
* @param params
|
|
202
|
+
*/
|
|
203
|
+
this.setSpaceRoleAssignments = ({ id, requestBody, }) => {
|
|
204
|
+
return this.getClientInstance()
|
|
205
|
+
.request({
|
|
206
|
+
path: "/spaces/{id}/role-assignments",
|
|
207
|
+
method: "POST",
|
|
208
|
+
pathParams: {
|
|
209
|
+
id,
|
|
210
|
+
},
|
|
211
|
+
headers: {
|
|
212
|
+
"Content-Type": "application/json",
|
|
213
|
+
},
|
|
214
|
+
body: requestBody,
|
|
215
|
+
})
|
|
216
|
+
.then(this.getClientInstance().responseHandler({
|
|
217
|
+
200: {
|
|
218
|
+
"application/json": "json",
|
|
219
|
+
},
|
|
220
|
+
}))
|
|
221
|
+
.then(commonHttpClient.castResponse())
|
|
222
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("EapService.setSpaceRoleAssignments.response")))
|
|
223
|
+
.then(commonHttpClient.getBody);
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
static initialize() {
|
|
227
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.getAvailableSpacePermissions.response", zod_1.z
|
|
228
|
+
.object({
|
|
229
|
+
status: zod_1.z.literal(200),
|
|
230
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
231
|
+
body: zod_1.z
|
|
232
|
+
.object({
|
|
233
|
+
results: zod_1.z
|
|
234
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpacePermission"))
|
|
235
|
+
.optional(),
|
|
236
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
237
|
+
.lazy("MultiEntityLinks")
|
|
238
|
+
.optional(),
|
|
239
|
+
})
|
|
240
|
+
.catchall(zod_1.z.unknown()),
|
|
241
|
+
})
|
|
242
|
+
.describe("EapService.getAvailableSpacePermissions.response"));
|
|
243
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.getAvailableSpaceRoles.response", zod_1.z
|
|
244
|
+
.object({
|
|
245
|
+
status: zod_1.z.literal(200),
|
|
246
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
247
|
+
body: zod_1.z
|
|
248
|
+
.object({
|
|
249
|
+
results: zod_1.z
|
|
250
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRole"))
|
|
251
|
+
.optional(),
|
|
252
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
253
|
+
.lazy("MultiEntityLinks")
|
|
254
|
+
.optional(),
|
|
255
|
+
})
|
|
256
|
+
.catchall(zod_1.z.unknown()),
|
|
257
|
+
})
|
|
258
|
+
.describe("EapService.getAvailableSpaceRoles.response"));
|
|
259
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.getSpaceRolesById.response", zod_1.z
|
|
260
|
+
.object({
|
|
261
|
+
status: zod_1.z.literal(200),
|
|
262
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
263
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRole"), zod_1.z
|
|
264
|
+
.object({
|
|
265
|
+
_links: zod_1.z
|
|
266
|
+
.object({
|
|
267
|
+
base: zod_1.z.string().optional(),
|
|
268
|
+
})
|
|
269
|
+
.catchall(zod_1.z.unknown())
|
|
270
|
+
.optional(),
|
|
271
|
+
})
|
|
272
|
+
.catchall(zod_1.z.unknown())),
|
|
273
|
+
})
|
|
274
|
+
.describe("EapService.getSpaceRolesById.response"));
|
|
275
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.createSpace.response", zod_1.z
|
|
276
|
+
.object({
|
|
277
|
+
status: zod_1.z.literal(201),
|
|
278
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
279
|
+
body: zod_1.z.intersection(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceBulk"), zod_1.z
|
|
280
|
+
.object({
|
|
281
|
+
_links: zod_1.z
|
|
282
|
+
.object({
|
|
283
|
+
base: zod_1.z.string().optional(),
|
|
284
|
+
})
|
|
285
|
+
.catchall(zod_1.z.unknown())
|
|
286
|
+
.optional(),
|
|
287
|
+
})
|
|
288
|
+
.catchall(zod_1.z.unknown())),
|
|
289
|
+
})
|
|
290
|
+
.describe("EapService.createSpace.response"));
|
|
291
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.getSpaceRoleAssignments.response", zod_1.z
|
|
292
|
+
.object({
|
|
293
|
+
status: zod_1.z.literal(200),
|
|
294
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
295
|
+
body: zod_1.z
|
|
296
|
+
.object({
|
|
297
|
+
results: zod_1.z
|
|
298
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRoleAssignment"))
|
|
299
|
+
.optional(),
|
|
300
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
301
|
+
.lazy("MultiEntityLinks")
|
|
302
|
+
.optional(),
|
|
303
|
+
})
|
|
304
|
+
.catchall(zod_1.z.unknown()),
|
|
305
|
+
})
|
|
306
|
+
.describe("EapService.getSpaceRoleAssignments.response"));
|
|
307
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("EapService.setSpaceRoleAssignments.response", zod_1.z
|
|
308
|
+
.object({
|
|
309
|
+
status: zod_1.z.literal(200),
|
|
310
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
311
|
+
body: zod_1.z
|
|
312
|
+
.object({
|
|
313
|
+
results: zod_1.z
|
|
314
|
+
.array(validationSchemaStorage_1.validationSchemaStorage.lazy("SpaceRoleAssignment"))
|
|
315
|
+
.optional(),
|
|
316
|
+
_links: validationSchemaStorage_1.validationSchemaStorage
|
|
317
|
+
.lazy("MultiEntityLinks")
|
|
318
|
+
.optional(),
|
|
319
|
+
})
|
|
320
|
+
.catchall(zod_1.z.unknown()),
|
|
321
|
+
})
|
|
322
|
+
.describe("EapService.setSpaceRoleAssignments.response"));
|
|
323
|
+
validationSchemaStorage_1.validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.EapService = EapService;
|
|
327
|
+
//# sourceMappingURL=EapService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EapService.js","sourceRoot":"","sources":["../../../../src/openapi/v2/services/EapService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,6CAS0B;AAC1B,wEAAqE;AACrE;;;GAGG;AACH,MAAa,UAAW,SAAQ,qCAAiB;IAAjD;;QACE;;;;;;;;;;;;WAYG;QACH,gBAAW,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