@resolution/organizations-api-client 0.15.8 → 0.15.9
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/lib/openapi/organizations/BaseOrganizationsApiClient.d.ts +5 -5
- package/lib/openapi/organizations/BaseOrganizationsApiClient.js +15 -1
- package/lib/openapi/organizations/BaseOrganizationsApiClient.js.map +1 -1
- package/lib/openapi/organizations/models/common.d.ts +39 -4
- package/lib/openapi/organizations/models/common.js +6 -2
- package/lib/openapi/organizations/models/common.js.map +1 -1
- package/lib/openapi/organizations/models/directory.d.ts +0 -203
- package/lib/openapi/organizations/models/directory.js +0 -59
- package/lib/openapi/organizations/models/directory.js.map +1 -1
- package/lib/openapi/organizations/models/groups.d.ts +68 -5
- package/lib/openapi/organizations/models/groups.js +18 -1
- package/lib/openapi/organizations/models/groups.js.map +1 -1
- package/lib/openapi/organizations/models/users.d.ts +337 -5
- package/lib/openapi/organizations/models/users.js +87 -2
- package/lib/openapi/organizations/models/users.js.map +1 -1
- package/lib/openapi/organizations/services/DirectoryService.d.ts +3 -607
- package/lib/openapi/organizations/services/DirectoryService.js +0 -550
- package/lib/openapi/organizations/services/DirectoryService.js.map +1 -1
- package/lib/openapi/organizations/services/DomainsService.d.ts +4 -4
- package/lib/openapi/organizations/services/EventsService.d.ts +8 -8
- package/lib/openapi/organizations/services/GroupsService.d.ts +605 -17
- package/lib/openapi/organizations/services/GroupsService.js +466 -0
- package/lib/openapi/organizations/services/GroupsService.js.map +1 -1
- package/lib/openapi/organizations/services/OrgsService.d.ts +2 -2
- package/lib/openapi/organizations/services/PoliciesService.d.ts +18 -18
- package/lib/openapi/organizations/services/UsersService.d.ts +542 -26
- package/lib/openapi/organizations/services/UsersService.js +488 -8
- package/lib/openapi/organizations/services/UsersService.js.map +1 -1
- package/lib/openapi/organizations/services/ValidateService.d.ts +2 -2
- package/lib/openapi/organizations/services/WorkspacesService.d.ts +2 -2
- package/package.json +3 -3
|
@@ -19,14 +19,107 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* **The API is available for customers using the [new user management experience
|
|
23
|
+
* only](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**.
|
|
23
24
|
*
|
|
24
|
-
*
|
|
25
|
+
* This API can be used to grant Platform Roles to a user.
|
|
26
|
+
*
|
|
27
|
+
* @path POST `/v1/orgs/{orgId}/users/{userId}/roles/assign`
|
|
28
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-users-userid-roles-assign-post
|
|
29
|
+
* @param params
|
|
30
|
+
*/
|
|
31
|
+
this.assignRole = ({ orgId, userId, roleApiRequest }) => {
|
|
32
|
+
return this.getClientInstance().request({
|
|
33
|
+
path: "/v1/orgs/{orgId}/users/{userId}/roles/assign",
|
|
34
|
+
method: "POST",
|
|
35
|
+
pathParams: {
|
|
36
|
+
orgId,
|
|
37
|
+
userId
|
|
38
|
+
},
|
|
39
|
+
headers: {
|
|
40
|
+
"Content-Type": "application/json"
|
|
41
|
+
},
|
|
42
|
+
body: roleApiRequest
|
|
43
|
+
}).then(commonHttpClient.discardResult);
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
47
|
+
* [Remove user from directory
|
|
48
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v2-orgs-orgid-directories-directoryid-users-accountid-delete)
|
|
49
|
+
* instead.
|
|
50
|
+
*
|
|
51
|
+
* **The API is available for customers using the new user management experience
|
|
52
|
+
* only.** Learn more about the [new user management
|
|
53
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).
|
|
54
|
+
*
|
|
55
|
+
* Specifications:
|
|
56
|
+
* - Remove user access to products listed in Atlassian Administration.
|
|
57
|
+
* - Remove users from **Users** and **Groups** in **Directory**.
|
|
58
|
+
* - Make product licenses available for active users.
|
|
59
|
+
*
|
|
60
|
+
* The users are not removed immediately; instead, they are placed in a queue for
|
|
61
|
+
* deletion. Please note that it may take some time for all users to be completely
|
|
62
|
+
* removed.
|
|
63
|
+
*
|
|
64
|
+
* Users with emails whose domain is claimed can still be found in **Managed
|
|
65
|
+
* accounts** in **Directory**.
|
|
66
|
+
*
|
|
67
|
+
* Learn the fastest way to call the API with a detailed
|
|
68
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/remove-user/).
|
|
69
|
+
*
|
|
70
|
+
* @deprecated
|
|
71
|
+
* @path DELETE `/v1/orgs/{orgId}/directory/users/{accountId}`
|
|
72
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-directory-users-accountid-delete
|
|
73
|
+
* @param params
|
|
74
|
+
*/
|
|
75
|
+
this.deleteV1OrgsOrgIdDirectoryUsersAccountId = ({ orgId, accountId }) => {
|
|
76
|
+
return this.getClientInstance().request({
|
|
77
|
+
path: "/v1/orgs/{orgId}/directory/users/{accountId}",
|
|
78
|
+
method: "DELETE",
|
|
79
|
+
pathParams: {
|
|
80
|
+
orgId,
|
|
81
|
+
accountId
|
|
82
|
+
}
|
|
83
|
+
}).then(commonHttpClient.discardResult);
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Remove a user from a directory if you don’t want them to appear in your
|
|
87
|
+
* directory or have access to your apps anymore. You’re not billed for a user
|
|
88
|
+
* once they’re removed.
|
|
89
|
+
* You must invite the user to your organization again if you want to reinstate
|
|
90
|
+
* their access to your apps. You’ll need to assign their roles and group
|
|
91
|
+
* memberships again.
|
|
92
|
+
*
|
|
93
|
+
* @path DELETE `/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}`
|
|
94
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-accountid-delete
|
|
95
|
+
* @param params
|
|
96
|
+
*/
|
|
97
|
+
this.deleteV2OrgsOrgIdDirectoriesDirectoryIdUsersAccountId = ({ orgId, directoryId, accountId }) => {
|
|
98
|
+
return this.getClientInstance().request({
|
|
99
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}",
|
|
100
|
+
method: "DELETE",
|
|
101
|
+
pathParams: {
|
|
102
|
+
orgId,
|
|
103
|
+
directoryId,
|
|
104
|
+
accountId
|
|
105
|
+
}
|
|
106
|
+
}).then(commonHttpClient.discardResult);
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Return a page of users in your organization that match the supplied parameters.
|
|
110
|
+
* By default, users in all your directories and all your managed accounts are
|
|
111
|
+
* returned (including managed accounts that aren’t in a directory).
|
|
112
|
+
*
|
|
113
|
+
* To get users in a directory only, use the `directoryIds` field. To get your
|
|
114
|
+
* managed accounts, regardless if they’re in a directory or not, use the
|
|
115
|
+
* `claimStatus` field.
|
|
116
|
+
*
|
|
117
|
+
* @returns Success
|
|
25
118
|
* @path GET `/v2/orgs/{orgId}/directories/{directoryId}/users`
|
|
26
119
|
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-get
|
|
27
120
|
* @param params
|
|
28
121
|
*/
|
|
29
|
-
this.getDirectoryUsers = ({ orgId, directoryId, cursor, limit, accountIds, directoryIds, resourceIds, groupIds, claimStatus, status, accountStatus, membershipStatus, roleIds, searchTerm, sortBy }) => {
|
|
122
|
+
this.getDirectoryUsers = ({ orgId, directoryId, cursor, limit, accountIds, directoryIds, resourceIds, groupIds, mfaEnabled, claimStatus, status, accountStatus, membershipStatus, roleIds, emailDomains, searchTerm, sortBy }) => {
|
|
30
123
|
return this.getClientInstance().request({
|
|
31
124
|
path: "/v2/orgs/{orgId}/directories/{directoryId}/users",
|
|
32
125
|
method: "GET",
|
|
@@ -41,11 +134,13 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
41
134
|
directoryIds,
|
|
42
135
|
resourceIds,
|
|
43
136
|
groupIds,
|
|
137
|
+
mfaEnabled,
|
|
44
138
|
claimStatus,
|
|
45
139
|
status,
|
|
46
140
|
accountStatus,
|
|
47
141
|
membershipStatus,
|
|
48
142
|
roleIds,
|
|
143
|
+
emailDomains,
|
|
49
144
|
searchTerm,
|
|
50
145
|
sortBy
|
|
51
146
|
}
|
|
@@ -57,13 +152,19 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
57
152
|
};
|
|
58
153
|
/**
|
|
59
154
|
* Returns a count of users in an organization that match the supplied parameters.
|
|
155
|
+
* By default, users in all your directories and all your managed accounts are
|
|
156
|
+
* counted (including managed accounts that aren’t in a directory).
|
|
60
157
|
*
|
|
61
|
-
*
|
|
158
|
+
* To count users in a directory only, use the `directoryIds` field. To count your
|
|
159
|
+
* managed accounts, regardless if they’re in a directory or not, use the
|
|
160
|
+
* `claimStatus` field.
|
|
161
|
+
*
|
|
162
|
+
* @returns Success
|
|
62
163
|
* @path GET `/v2/orgs/{orgId}/directories/{directoryId}/users/count`
|
|
63
164
|
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-count-get
|
|
64
165
|
* @param params
|
|
65
166
|
*/
|
|
66
|
-
this.getDirectoryUsersCount = ({ orgId, directoryId, accountIds, directoryIds, resourceIds, groupIds, claimStatus, status, accountStatus, membershipStatus, roleIds, searchTerm }) => {
|
|
167
|
+
this.getDirectoryUsersCount = ({ orgId, directoryId, accountIds, directoryIds, resourceIds, groupIds, mfaEnabled, claimStatus, status, accountStatus, membershipStatus, roleIds, searchTerm, emailDomains }) => {
|
|
67
168
|
return this.getClientInstance().request({
|
|
68
169
|
path: "/v2/orgs/{orgId}/directories/{directoryId}/users/count",
|
|
69
170
|
method: "GET",
|
|
@@ -76,12 +177,14 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
76
177
|
directoryIds,
|
|
77
178
|
resourceIds,
|
|
78
179
|
groupIds,
|
|
180
|
+
mfaEnabled,
|
|
79
181
|
claimStatus,
|
|
80
182
|
status,
|
|
81
183
|
accountStatus,
|
|
82
184
|
membershipStatus,
|
|
83
185
|
roleIds,
|
|
84
|
-
searchTerm
|
|
186
|
+
searchTerm,
|
|
187
|
+
emailDomains
|
|
85
188
|
}
|
|
86
189
|
}).then(this.getClientInstance().responseHandler({
|
|
87
190
|
200: {
|
|
@@ -146,9 +249,9 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
146
249
|
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getUsers.response"))).then(commonHttpClient.getBody);
|
|
147
250
|
};
|
|
148
251
|
/**
|
|
149
|
-
*
|
|
252
|
+
* Return user stats for the organization.
|
|
150
253
|
*
|
|
151
|
-
* @returns
|
|
254
|
+
* @returns Success
|
|
152
255
|
* @path GET `/v2/orgs/{orgId}/directories/{directoryId}/users/stats`
|
|
153
256
|
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-stats-get
|
|
154
257
|
* @param params
|
|
@@ -168,6 +271,342 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
168
271
|
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.getUserStats.response"))).then(commonHttpClient.getBody);
|
|
169
272
|
};
|
|
170
273
|
/**
|
|
274
|
+
* **Additional response parameters of the API (for e.g., `added_to_org`) are
|
|
275
|
+
* available only to customers using the new user management experience.** Learn
|
|
276
|
+
* more about the [new user management
|
|
277
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).
|
|
278
|
+
*
|
|
279
|
+
* Specifications:
|
|
280
|
+
* - Return a user’s last active date for each product listed in Atlassian
|
|
281
|
+
* Administration.
|
|
282
|
+
* - Active is defined as viewing a product's page for a minimum of 2 seconds.
|
|
283
|
+
* - The data for the last activity may be delayed by up to 24 hours.
|
|
284
|
+
* - If the user has not accessed a product, the `product_access` response field
|
|
285
|
+
* will be empty.
|
|
286
|
+
*
|
|
287
|
+
* Learn the fastest way to call the API with a detailed
|
|
288
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/user-last-active-dates/).
|
|
289
|
+
*
|
|
290
|
+
* @returns Successful operation
|
|
291
|
+
* @path GET `/v1/orgs/{orgId}/directory/users/{accountId}/last-active-dates`
|
|
292
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-directory-users-accountid-last-active-dates-get
|
|
293
|
+
* @param params
|
|
294
|
+
*/
|
|
295
|
+
this.getV1OrgsOrgIdDirectoryUsersAccountIdLastActiveDates = ({ orgId, accountId, cursor }) => {
|
|
296
|
+
return this.getClientInstance().request({
|
|
297
|
+
path: "/v1/orgs/{orgId}/directory/users/{accountId}/last-active-dates",
|
|
298
|
+
method: "GET",
|
|
299
|
+
pathParams: {
|
|
300
|
+
orgId,
|
|
301
|
+
accountId
|
|
302
|
+
},
|
|
303
|
+
query: {
|
|
304
|
+
cursor
|
|
305
|
+
}
|
|
306
|
+
}).then(this.getClientInstance().responseHandler({
|
|
307
|
+
200: {
|
|
308
|
+
"application/json": "json"
|
|
309
|
+
}
|
|
310
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.undefined.response"))).then(commonHttpClient.getBody);
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
314
|
+
* [Restore user access in directory
|
|
315
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v2-orgs-orgid-directories-directoryid-users-accountid-restore-post)
|
|
316
|
+
* instead.
|
|
317
|
+
*
|
|
318
|
+
* **The API is available for customers using the new user management experience
|
|
319
|
+
* only.** Learn more about the [new user management
|
|
320
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).
|
|
321
|
+
*
|
|
322
|
+
* This API will:
|
|
323
|
+
* - Restore access of an existing user to products listed in Atlassian
|
|
324
|
+
* Administration.
|
|
325
|
+
* - Retract the suspend user action.
|
|
326
|
+
*
|
|
327
|
+
* This API will not:
|
|
328
|
+
* - Restore access to a user when they have access to a product which is
|
|
329
|
+
* breaching it's license limit.\
|
|
330
|
+
* To make these changes, you will need to [remove
|
|
331
|
+
* users](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v1-orgs-orgid-directory-groups-groupid-memberships-accountid-delete)
|
|
332
|
+
* from the group or
|
|
333
|
+
* [suspend
|
|
334
|
+
* users](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v1-orgs-orgid-directory-users-accountid-suspend-access-post)
|
|
335
|
+
* that are in the group first.\
|
|
336
|
+
* You can also [manage your
|
|
337
|
+
* subscription](https://support.atlassian.com/subscriptions-and-billing/resources/)
|
|
338
|
+
* for the breaching product to increase your license limits.
|
|
339
|
+
* - Restore access to any user when your organisation has too many products that
|
|
340
|
+
* are breaching their license limits.
|
|
341
|
+
*
|
|
342
|
+
* Learn the fastest way to call the API with a detailed
|
|
343
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/restore-user/).
|
|
344
|
+
*
|
|
345
|
+
* @deprecated
|
|
346
|
+
* @returns User's access is successfully restored in the organization directory.
|
|
347
|
+
* @path POST `/v1/orgs/{orgId}/directory/users/{accountId}/restore-access`
|
|
348
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-directory-users-accountid-restore-access-post
|
|
349
|
+
* @param params
|
|
350
|
+
*/
|
|
351
|
+
this.postV1OrgsOrgIdDirectoryUsersAccountIdRestoreAccess = ({ orgId, accountId }) => {
|
|
352
|
+
return this.getClientInstance().request({
|
|
353
|
+
path: "/v1/orgs/{orgId}/directory/users/{accountId}/restore-access",
|
|
354
|
+
method: "POST",
|
|
355
|
+
pathParams: {
|
|
356
|
+
orgId,
|
|
357
|
+
accountId
|
|
358
|
+
}
|
|
359
|
+
}).then(this.getClientInstance().responseHandler({
|
|
360
|
+
200: {
|
|
361
|
+
"application/json": "json"
|
|
362
|
+
}
|
|
363
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.undefined.response"))).then(commonHttpClient.getBody);
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
367
|
+
* [Suspend user access in directory
|
|
368
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v2-orgs-orgid-directories-directoryid-users-accountid-suspend-post)
|
|
369
|
+
* instead.
|
|
370
|
+
*
|
|
371
|
+
* **The API is available for customers using the new user management experience
|
|
372
|
+
* only.** Learn more about the [new user management
|
|
373
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).
|
|
374
|
+
*
|
|
375
|
+
* Specifications:
|
|
376
|
+
* - Suspend user access to products listed in Atlassian Administration while
|
|
377
|
+
* keeping the account active.
|
|
378
|
+
* - Make product licenses available for active users.
|
|
379
|
+
* - Maintain respective users in **Groups** for easy restoration.
|
|
380
|
+
*
|
|
381
|
+
* User access can be restored anytime via the [Restore access
|
|
382
|
+
* API](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v1-orgs-orgid-directory-users-accountid-restore-access-post)
|
|
383
|
+
*
|
|
384
|
+
* Learn the fastest way to call the API with a detailed
|
|
385
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/suspend-user/).
|
|
386
|
+
*
|
|
387
|
+
* @deprecated
|
|
388
|
+
* @returns User was successfully suspended in the organization directory.
|
|
389
|
+
* @path POST `/v1/orgs/{orgId}/directory/users/{accountId}/suspend-access`
|
|
390
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-directory-users-accountid-suspend-access-post
|
|
391
|
+
* @param params
|
|
392
|
+
*/
|
|
393
|
+
this.postV1OrgsOrgIdDirectoryUsersAccountIdSuspendAccess = ({ orgId, accountId }) => {
|
|
394
|
+
return this.getClientInstance().request({
|
|
395
|
+
path: "/v1/orgs/{orgId}/directory/users/{accountId}/suspend-access",
|
|
396
|
+
method: "POST",
|
|
397
|
+
pathParams: {
|
|
398
|
+
orgId,
|
|
399
|
+
accountId
|
|
400
|
+
}
|
|
401
|
+
}).then(this.getClientInstance().responseHandler({
|
|
402
|
+
200: {
|
|
403
|
+
"application/json": "json"
|
|
404
|
+
}
|
|
405
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.undefined.response"))).then(commonHttpClient.getBody);
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* **The API is presently accessible exclusively to customers who hold a paid
|
|
409
|
+
* subscription.**
|
|
410
|
+
*
|
|
411
|
+
* **The API is available for customers using the [new user management experience
|
|
412
|
+
* only](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**.
|
|
413
|
+
*
|
|
414
|
+
* This API will:
|
|
415
|
+
* - invite user to org and add them to the directory
|
|
416
|
+
* - assign a role for a given resource
|
|
417
|
+
* - send email if the sendNotification field is set true with optional custom
|
|
418
|
+
* message for the email
|
|
419
|
+
*
|
|
420
|
+
* This API will not:
|
|
421
|
+
* - add users to group
|
|
422
|
+
*
|
|
423
|
+
* @deprecated
|
|
424
|
+
* @returns Invitation successfully sent
|
|
425
|
+
* @path POST `/v1/orgs/{orgId}/users/invite`
|
|
426
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-users-invite-post
|
|
427
|
+
* @param params
|
|
428
|
+
*/
|
|
429
|
+
this.postV1OrgsOrgIdUsersInvite = ({ orgId, inviteApiRequest }) => {
|
|
430
|
+
return this.getClientInstance().request({
|
|
431
|
+
path: "/v1/orgs/{orgId}/users/invite",
|
|
432
|
+
method: "POST",
|
|
433
|
+
pathParams: {
|
|
434
|
+
orgId
|
|
435
|
+
},
|
|
436
|
+
headers: {
|
|
437
|
+
"Content-Type": "application/json"
|
|
438
|
+
},
|
|
439
|
+
body: inviteApiRequest
|
|
440
|
+
}).then(this.getClientInstance().responseHandler({
|
|
441
|
+
202: {
|
|
442
|
+
"application/json": "json"
|
|
443
|
+
}
|
|
444
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.undefined.response"))).then(commonHttpClient.getBody);
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Assign an organization-level role to a user. These are roles that have
|
|
448
|
+
* organization-wide privileges, like organization admin.
|
|
449
|
+
*
|
|
450
|
+
* This operation follows eventual consistency. Changes may take up to 30 seconds
|
|
451
|
+
* to be reflected after the operation is performed.
|
|
452
|
+
*
|
|
453
|
+
* @path POST `/v1/orgs/{orgId}/users/{userId}/role-assignments/assign`
|
|
454
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-users-userid-role-assignments-assign-post
|
|
455
|
+
* @param params
|
|
456
|
+
*/
|
|
457
|
+
this.postV1OrgsOrgIdUsersUserIdRoleAssignmentsAssign = ({ orgId, userId, organizationLevelRoleApiRequest }) => {
|
|
458
|
+
return this.getClientInstance().request({
|
|
459
|
+
path: "/v1/orgs/{orgId}/users/{userId}/role-assignments/assign",
|
|
460
|
+
method: "POST",
|
|
461
|
+
pathParams: {
|
|
462
|
+
orgId,
|
|
463
|
+
userId
|
|
464
|
+
},
|
|
465
|
+
headers: {
|
|
466
|
+
"Content-Type": "application/json"
|
|
467
|
+
},
|
|
468
|
+
body: organizationLevelRoleApiRequest
|
|
469
|
+
}).then(commonHttpClient.discardResult);
|
|
470
|
+
};
|
|
471
|
+
/**
|
|
472
|
+
* Remove an organization-level role from a user. These are roles that have
|
|
473
|
+
* organization-wide privileges, like organization admin.
|
|
474
|
+
*
|
|
475
|
+
* This operation follows eventual consistency. Changes may take up to 30 seconds
|
|
476
|
+
* to be reflected after the operation is performed.
|
|
477
|
+
*
|
|
478
|
+
* @path POST `/v1/orgs/{orgId}/users/{userId}/role-assignments/revoke`
|
|
479
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-users-userid-role-assignments-revoke-post
|
|
480
|
+
* @param params
|
|
481
|
+
*/
|
|
482
|
+
this.postV1OrgsOrgIdUsersUserIdRoleAssignmentsRevoke = ({ orgId, userId, organizationLevelRoleApiRequest }) => {
|
|
483
|
+
return this.getClientInstance().request({
|
|
484
|
+
path: "/v1/orgs/{orgId}/users/{userId}/role-assignments/revoke",
|
|
485
|
+
method: "POST",
|
|
486
|
+
pathParams: {
|
|
487
|
+
orgId,
|
|
488
|
+
userId
|
|
489
|
+
},
|
|
490
|
+
headers: {
|
|
491
|
+
"Content-Type": "application/json"
|
|
492
|
+
},
|
|
493
|
+
body: organizationLevelRoleApiRequest
|
|
494
|
+
}).then(commonHttpClient.discardResult);
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* Restore a user’s access in a directory to let them access apps again. They
|
|
498
|
+
* regain their roles and group memberships from before their access was
|
|
499
|
+
* suspended. We resume billing you for this user.
|
|
500
|
+
*
|
|
501
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/restore`
|
|
502
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-accountid-restore-post
|
|
503
|
+
* @param params
|
|
504
|
+
*/
|
|
505
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdUsersAccountIdRestore = ({ orgId, directoryId, accountId }) => {
|
|
506
|
+
return this.getClientInstance().request({
|
|
507
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/restore",
|
|
508
|
+
method: "POST",
|
|
509
|
+
pathParams: {
|
|
510
|
+
orgId,
|
|
511
|
+
directoryId,
|
|
512
|
+
accountId
|
|
513
|
+
}
|
|
514
|
+
}).then(commonHttpClient.discardResult);
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* Suspend a user’s access in a directory to remove their access to apps
|
|
518
|
+
* temporarily. You’re not billed for a user when their access is suspended. They
|
|
519
|
+
* regain their roles and group memberships when you restore their access.
|
|
520
|
+
*
|
|
521
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/suspend`
|
|
522
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-directories-directoryid-users-accountid-suspend-post
|
|
523
|
+
* @param params
|
|
524
|
+
*/
|
|
525
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdUsersAccountIdSuspend = ({ orgId, directoryId, accountId }) => {
|
|
526
|
+
return this.getClientInstance().request({
|
|
527
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/users/{accountId}/suspend",
|
|
528
|
+
method: "POST",
|
|
529
|
+
pathParams: {
|
|
530
|
+
orgId,
|
|
531
|
+
directoryId,
|
|
532
|
+
accountId
|
|
533
|
+
}
|
|
534
|
+
}).then(commonHttpClient.discardResult);
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* Invite people to your organization. When you invite someone:
|
|
538
|
+
* - they’re given app roles according to your invitation.
|
|
539
|
+
* - they’re added to directories based on apps in your invitation.
|
|
540
|
+
* - they’re added to groups according to your invitation.
|
|
541
|
+
* - they receive an email invitation if the `sendNotification` field is set to
|
|
542
|
+
* `true` and the `notificationText` field contains a message to include in the
|
|
543
|
+
* email invitation.
|
|
544
|
+
*
|
|
545
|
+
* **This API is only available to customers who have at least one paid
|
|
546
|
+
* subscription in their organization.**
|
|
547
|
+
*
|
|
548
|
+
* @returns
|
|
549
|
+
* * status: 200, mediaType: application/json
|
|
550
|
+
*
|
|
551
|
+
* Success
|
|
552
|
+
*
|
|
553
|
+
* * status: 206, mediaType: application/json
|
|
554
|
+
*
|
|
555
|
+
* At least one invitation failed
|
|
556
|
+
* @path POST `/v2/orgs/{orgId}/users/invite`
|
|
557
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v2-orgs-orgid-users-invite-post
|
|
558
|
+
* @param params
|
|
559
|
+
*/
|
|
560
|
+
this.postV2OrgsOrgIdUsersInvite = ({ orgId, multidirectoryInviteApiRequest }) => {
|
|
561
|
+
return this.getClientInstance().request({
|
|
562
|
+
path: "/v2/orgs/{orgId}/users/invite",
|
|
563
|
+
method: "POST",
|
|
564
|
+
pathParams: {
|
|
565
|
+
orgId
|
|
566
|
+
},
|
|
567
|
+
headers: {
|
|
568
|
+
"Content-Type": "application/json"
|
|
569
|
+
},
|
|
570
|
+
body: multidirectoryInviteApiRequest
|
|
571
|
+
}).then(this.getClientInstance().responseHandler({
|
|
572
|
+
200: {
|
|
573
|
+
"application/json": "json"
|
|
574
|
+
},
|
|
575
|
+
206: {
|
|
576
|
+
"application/json": "json"
|
|
577
|
+
}
|
|
578
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("UsersService.undefined.response")));
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* **The API is available for customers using the [new user management experience
|
|
582
|
+
* only](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**.
|
|
583
|
+
*
|
|
584
|
+
* This API can be used to revoke Platform Roles from a user.
|
|
585
|
+
*
|
|
586
|
+
* @path POST `/v1/orgs/{orgId}/users/{userId}/roles/revoke`
|
|
587
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users#api-v1-orgs-orgid-users-userid-roles-revoke-post
|
|
588
|
+
* @param params
|
|
589
|
+
*/
|
|
590
|
+
this.revokeRole = ({ orgId, userId, roleApiRequest }) => {
|
|
591
|
+
return this.getClientInstance().request({
|
|
592
|
+
path: "/v1/orgs/{orgId}/users/{userId}/roles/revoke",
|
|
593
|
+
method: "POST",
|
|
594
|
+
pathParams: {
|
|
595
|
+
orgId,
|
|
596
|
+
userId
|
|
597
|
+
},
|
|
598
|
+
headers: {
|
|
599
|
+
"Content-Type": "application/json"
|
|
600
|
+
},
|
|
601
|
+
body: roleApiRequest
|
|
602
|
+
}).then(commonHttpClient.discardResult);
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
606
|
+
* [Get users in an organization
|
|
607
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-users/#api-v2-orgs-orgid-directories-directoryid-users-get)
|
|
608
|
+
* instead.
|
|
609
|
+
*
|
|
171
610
|
* **The API is available for customers using the new user management experience
|
|
172
611
|
* only. [How the new user management experience
|
|
173
612
|
* works](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**
|
|
@@ -175,6 +614,7 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
175
614
|
* Returns a list of users within an organization, offering search functionality
|
|
176
615
|
* through multiple parameters for more precise results.
|
|
177
616
|
*
|
|
617
|
+
* @deprecated
|
|
178
618
|
* @returns Organization found. Response contains user search results
|
|
179
619
|
*
|
|
180
620
|
* example: " users_search_response":
|
|
@@ -216,11 +656,35 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
216
656
|
};
|
|
217
657
|
}
|
|
218
658
|
static initialize() {
|
|
659
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.undefined.response", zod_1.z.object({
|
|
660
|
+
status: zod_1.z.literal(200),
|
|
661
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
662
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("UserProductAccessActivityPage")
|
|
663
|
+
}).describe("UsersService.undefined.response"));
|
|
664
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.undefined.response", zod_1.z.object({
|
|
665
|
+
status: zod_1.z.literal(200),
|
|
666
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
667
|
+
body: zod_1.z.object({
|
|
668
|
+
message: zod_1.z.string().optional()
|
|
669
|
+
}).catchall(zod_1.z.unknown())
|
|
670
|
+
}).describe("UsersService.undefined.response"));
|
|
671
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.undefined.response", zod_1.z.object({
|
|
672
|
+
status: zod_1.z.literal(200),
|
|
673
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
674
|
+
body: zod_1.z.object({
|
|
675
|
+
message: zod_1.z.string().optional()
|
|
676
|
+
}).catchall(zod_1.z.unknown())
|
|
677
|
+
}).describe("UsersService.undefined.response"));
|
|
219
678
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.getUsers.response", zod_1.z.object({
|
|
220
679
|
status: zod_1.z.literal(200),
|
|
221
680
|
mediaType: zod_1.z.literal("application/json"),
|
|
222
681
|
body: validationSchemaStorage_1.validationSchemaStorage.lazy("UserPage")
|
|
223
682
|
}).describe("UsersService.getUsers.response"));
|
|
683
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.undefined.response", zod_1.z.object({
|
|
684
|
+
status: zod_1.z.literal(202),
|
|
685
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
686
|
+
body: zod_1.z.array(zod_1.z.string())
|
|
687
|
+
}).describe("UsersService.undefined.response"));
|
|
224
688
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.searchUsers.response", zod_1.z.object({
|
|
225
689
|
status: zod_1.z.literal(200),
|
|
226
690
|
mediaType: zod_1.z.literal("application/json"),
|
|
@@ -248,6 +712,22 @@ class UsersService extends CommonHttpService_1.CommonHttpService {
|
|
|
248
712
|
mediaType: zod_1.z.literal("application/json"),
|
|
249
713
|
body: validationSchemaStorage_1.validationSchemaStorage.lazy("MultiDirectoryUserStats")
|
|
250
714
|
}).describe("UsersService.getUserStats.response"));
|
|
715
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("UsersService.undefined.response", zod_1.z.object({
|
|
716
|
+
status: zod_1.z.number(),
|
|
717
|
+
mediaType: zod_1.z.string(),
|
|
718
|
+
body: zod_1.z.unknown()
|
|
719
|
+
}).superRefine(({ status: status, body: body }, ctx) => {
|
|
720
|
+
if (status === 200 || status === 206) {
|
|
721
|
+
validationSchemaStorage_1.validationSchemaStorage.lazy("MultidirectoryInviteSuccessResponse").parse(body);
|
|
722
|
+
}
|
|
723
|
+
else {
|
|
724
|
+
ctx.addIssue({
|
|
725
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
726
|
+
path: ["status"],
|
|
727
|
+
message: `Unexpected status code: ${status}`
|
|
728
|
+
});
|
|
729
|
+
}
|
|
730
|
+
}).describe("UsersService.undefined.response"));
|
|
251
731
|
validationSchemaStorage_1.validationSchemaStorage.registerOnce([users_1.registerUsersValidationSchemas]);
|
|
252
732
|
}
|
|
253
733
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/organizations/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,2CAAqO;AACrO,wEAAqE;AACrE,6BAAwB;AACxB;;;;;GAKG;AACH,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;WAOG;QACH,sBAAiB,GAAG,CAAC,EACnB,KAAK,EACL,WAAW,EACX,MAAM,EACN,KAAK,EACL,UAAU,EACV,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,WAAW,EACX,MAAM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8C,CAAC,CAAC,CAAC;QAC7D,iDAAuB,CAAC,kBAAkB,CAAC,oCAAoC,EAAE,OAAC,CAAC,MAAM,CAAC;YACxF,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,yBAAyB,CAAC;SAC9D,CAAC,CAAC,QAAQ,CAAC,oCAAoC,CAAC,CAAC,CAAC;QACnD,iDAAuB,CAAC,YAAY,CAAC,CAAC,sCAA8B,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAjoBD,oCAioBC"}
|
|
1
|
+
{"version":3,"file":"UsersService.js","sourceRoot":"","sources":["../../../../src/openapi/organizations/services/UsersService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,2CAA0a;AAC1a,wEAAqE;AACrE,6BAAwB;AACxB;;;;;GAKG;AACH,MAAa,YAAa,SAAQ,qCAAiB;IAAnD;;QACE;;;;;;;;;WASG;QACH,eAAU,GAAG,CAAC,EACZ,KAAK,EACL,MAAM,EACN,cAAc,EAef,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,8CAA8C;gBACpD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,KAAK;oBACL,MAAM;iBACP;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,cAAc;aACrB,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6BG;QACH,6CAAwC,GAAG,CAAC,EAC1C,KAAK,EACL,SAAS,EAmBV,EAAiB,EAAE;YAClB,OAAO,IAAI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EAAE,2BAA2B,MAAM,EAAE;iBAC7C,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC,CAAC,CAAC;QAChD,iDAAuB,CAAC,YAAY,CAAC,CAAC,sCAA8B,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAz6CD,oCAy6CC"}
|
|
@@ -15,8 +15,8 @@ export declare class ValidateService extends CommonHttpService {
|
|
|
15
15
|
*/
|
|
16
16
|
validatePolicy: ({ orgId, policyId }: {
|
|
17
17
|
/**
|
|
18
|
-
* Your organization
|
|
19
|
-
*
|
|
18
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
19
|
+
* Administration URL or when you create your API key.
|
|
20
20
|
*/
|
|
21
21
|
orgId: string;
|
|
22
22
|
/** Policy ID */
|
|
@@ -26,8 +26,8 @@ export declare class WorkspacesService extends CommonHttpService {
|
|
|
26
26
|
*/
|
|
27
27
|
queryWorkspacesV2: ({ orgId, searchWorkspacesRequestV2 }: {
|
|
28
28
|
/**
|
|
29
|
-
* Your organization
|
|
30
|
-
*
|
|
29
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
30
|
+
* Administration URL or when you create your API key.
|
|
31
31
|
*/
|
|
32
32
|
orgId: string;
|
|
33
33
|
/**
|