@resolution/organizations-api-client 0.15.7 → 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
|
@@ -18,6 +18,183 @@ const zod_1 = require("zod");
|
|
|
18
18
|
class GroupsService extends CommonHttpService_1.CommonHttpService {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments);
|
|
21
|
+
/**
|
|
22
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
23
|
+
* [Grant access to group
|
|
24
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-role-assignments-assign-post)
|
|
25
|
+
* instead.
|
|
26
|
+
*
|
|
27
|
+
* **The API is available for customers using the [new user management experience
|
|
28
|
+
* only](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**.
|
|
29
|
+
*
|
|
30
|
+
* Assign roles that grant product access to groups. Please note that this
|
|
31
|
+
* operation adheres to eventual consistency, and it might take up to 30 seconds
|
|
32
|
+
* for changes to take effect.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated
|
|
35
|
+
* @returns Roles were successfully added to the group
|
|
36
|
+
* @path POST `/v1/orgs/{orgId}/directory/groups/{groupId}/roles/assign`
|
|
37
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-groupid-roles-assign-post
|
|
38
|
+
* @param params
|
|
39
|
+
*/
|
|
40
|
+
this.assignRoleToGroup = ({ orgId, groupId, groupRoleAssignmentInput }) => {
|
|
41
|
+
return this.getClientInstance().request({
|
|
42
|
+
path: "/v1/orgs/{orgId}/directory/groups/{groupId}/roles/assign",
|
|
43
|
+
method: "POST",
|
|
44
|
+
pathParams: {
|
|
45
|
+
orgId,
|
|
46
|
+
groupId
|
|
47
|
+
},
|
|
48
|
+
headers: {
|
|
49
|
+
"Content-Type": "application/json"
|
|
50
|
+
},
|
|
51
|
+
body: groupRoleAssignmentInput
|
|
52
|
+
}).then(this.getClientInstance().responseHandler({
|
|
53
|
+
202: {
|
|
54
|
+
"application/json": "json"
|
|
55
|
+
}
|
|
56
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.assignRoleToGroup.response"))).then(commonHttpClient.getBody);
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
60
|
+
* [new Delete group
|
|
61
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-delete)
|
|
62
|
+
* instead.
|
|
63
|
+
*
|
|
64
|
+
* **The API is available for customers using the new user management experience
|
|
65
|
+
* only. Learn more about the [new user management
|
|
66
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).**
|
|
67
|
+
*
|
|
68
|
+
* This API will:
|
|
69
|
+
* - Delete a group from the organization's directory.
|
|
70
|
+
* - Delete the permissions, content access, notification schemes, and roles
|
|
71
|
+
* granted to the users.
|
|
72
|
+
*
|
|
73
|
+
* This API will not:
|
|
74
|
+
* - Delete groups that are synchronized through SCIM. To delete these groups, you
|
|
75
|
+
* will need to delete them within your external identity provider. Learn more
|
|
76
|
+
* about [configuring user provisioning with an identity
|
|
77
|
+
* provider](https://support.atlassian.com/provisioning-users/docs/configure-user-provisioning-with-an-identity-provider/).
|
|
78
|
+
* - Delete a group if it’s marked as a [default
|
|
79
|
+
* group](https://support.atlassian.com/user-management/docs/default-groups-and-permissions).
|
|
80
|
+
* - Delete `site-admin` group and therefore revoke org-admin role from a user.
|
|
81
|
+
* - Delete a group if it contains users (unless forced).
|
|
82
|
+
*
|
|
83
|
+
* Learn the fastest way to call the API with a detailed
|
|
84
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/delete-group/#delete-group).
|
|
85
|
+
*
|
|
86
|
+
* @deprecated
|
|
87
|
+
* @returns Group was successfully deleted from organization's directory.
|
|
88
|
+
* @path DELETE `/v1/orgs/{orgId}/directory/groups/{groupId}`
|
|
89
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-groupid-delete
|
|
90
|
+
* @param params
|
|
91
|
+
*/
|
|
92
|
+
this.deleteV1OrgsOrgIdDirectoryGroupsGroupId = ({ orgId, groupId, forceIfNotEmpty }) => {
|
|
93
|
+
return this.getClientInstance().request({
|
|
94
|
+
path: "/v1/orgs/{orgId}/directory/groups/{groupId}",
|
|
95
|
+
method: "DELETE",
|
|
96
|
+
pathParams: {
|
|
97
|
+
orgId,
|
|
98
|
+
groupId
|
|
99
|
+
},
|
|
100
|
+
query: {
|
|
101
|
+
forceIfNotEmpty
|
|
102
|
+
}
|
|
103
|
+
}).then(this.getClientInstance().responseHandler({
|
|
104
|
+
200: {
|
|
105
|
+
"application/json": "json"
|
|
106
|
+
}
|
|
107
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.undefined.response"))).then(commonHttpClient.getBody);
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
111
|
+
* [new Remove user from group
|
|
112
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-memberships-accountid-delete)
|
|
113
|
+
* instead.
|
|
114
|
+
*
|
|
115
|
+
* **The API is available for customers using the new user management experience
|
|
116
|
+
* only. Learn more about the [new user management
|
|
117
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).**
|
|
118
|
+
*
|
|
119
|
+
* This API will:
|
|
120
|
+
* - Remove user from a group.
|
|
121
|
+
* - Remove multiple permissions for user at once.
|
|
122
|
+
* - Easily manage permissions, content access, notification schemes, and roles.
|
|
123
|
+
*
|
|
124
|
+
* This API will not:
|
|
125
|
+
* - Make modifications to group memberships that are synchronized through SCIM.
|
|
126
|
+
* To make changes to these memberships, you will need to modify them within your
|
|
127
|
+
* external identity provider. Learn more about [configuring user provisioning
|
|
128
|
+
* with an identity
|
|
129
|
+
* provider](https://support.atlassian.com/provisioning-users/docs/configure-user-provisioning-with-an-identity-provider/).
|
|
130
|
+
* - Modify `site-admin` group and therefore revoke org-admin role from a user.
|
|
131
|
+
*
|
|
132
|
+
* Learn the fastest way to call the API with a detailed
|
|
133
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/remove-user-to-group/).
|
|
134
|
+
*
|
|
135
|
+
* @deprecated
|
|
136
|
+
* @returns User was successfully removed from the group in the organization directory.
|
|
137
|
+
* @path DELETE `/v1/orgs/{orgId}/directory/groups/{groupId}/memberships/{accountId}`
|
|
138
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-groupid-memberships-accountid-delete
|
|
139
|
+
* @param params
|
|
140
|
+
*/
|
|
141
|
+
this.deleteV1OrgsOrgIdDirectoryGroupsGroupIdMembershipsAccountId = ({ orgId, groupId, accountId }) => {
|
|
142
|
+
return this.getClientInstance().request({
|
|
143
|
+
path: "/v1/orgs/{orgId}/directory/groups/{groupId}/memberships/{accountId}",
|
|
144
|
+
method: "DELETE",
|
|
145
|
+
pathParams: {
|
|
146
|
+
orgId,
|
|
147
|
+
groupId,
|
|
148
|
+
accountId
|
|
149
|
+
}
|
|
150
|
+
}).then(this.getClientInstance().responseHandler({
|
|
151
|
+
200: {
|
|
152
|
+
"application/json": "json"
|
|
153
|
+
}
|
|
154
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.undefined.response"))).then(commonHttpClient.getBody);
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Delete a group from a directory if you don’t need this group anymore. This
|
|
158
|
+
* removes any app access and permissions granted by this group from all members.
|
|
159
|
+
* A member can still access an app if they’re in another group that grants access
|
|
160
|
+
* to the same app.
|
|
161
|
+
*
|
|
162
|
+
* @path DELETE `/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}`
|
|
163
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-groupid-delete
|
|
164
|
+
* @param params
|
|
165
|
+
*/
|
|
166
|
+
this.deleteV2OrgsOrgIdDirectoriesDirectoryIdGroupsGroupId = ({ orgId, directoryId, groupId }) => {
|
|
167
|
+
return this.getClientInstance().request({
|
|
168
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}",
|
|
169
|
+
method: "DELETE",
|
|
170
|
+
pathParams: {
|
|
171
|
+
orgId,
|
|
172
|
+
directoryId,
|
|
173
|
+
groupId
|
|
174
|
+
}
|
|
175
|
+
}).then(commonHttpClient.discardResult);
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Remove a user from a group. This removes any app access and permissions granted
|
|
179
|
+
* by this group, but the user may still be in other groups that grant the same
|
|
180
|
+
* app access and permissions.
|
|
181
|
+
*
|
|
182
|
+
* @path DELETE `/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships/{accountId}"`
|
|
183
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-groupid-memberships-accountid-delete
|
|
184
|
+
* @param params
|
|
185
|
+
*/
|
|
186
|
+
this.deleteV2OrgsOrgIdDirectoriesDirectoryIdGroupsGroupIdMembershipsAccountId = ({ orgId, directoryId, groupId, accountId }) => {
|
|
187
|
+
return this.getClientInstance().request({
|
|
188
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships/{accountId}\"",
|
|
189
|
+
method: "DELETE",
|
|
190
|
+
pathParams: {
|
|
191
|
+
orgId,
|
|
192
|
+
directoryId,
|
|
193
|
+
groupId,
|
|
194
|
+
accountId
|
|
195
|
+
}
|
|
196
|
+
}).then(commonHttpClient.discardResult);
|
|
197
|
+
};
|
|
21
198
|
/**
|
|
22
199
|
* Returns the details of a group.
|
|
23
200
|
*
|
|
@@ -163,6 +340,251 @@ class GroupsService extends CommonHttpService_1.CommonHttpService {
|
|
|
163
340
|
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.getGroupsStats.response"))).then(commonHttpClient.getBody);
|
|
164
341
|
};
|
|
165
342
|
/**
|
|
343
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
344
|
+
* [new Create group
|
|
345
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-post)
|
|
346
|
+
* instead.
|
|
347
|
+
*
|
|
348
|
+
* **The API is available for customers using the new user management experience
|
|
349
|
+
* only. Learn more about the [new user management
|
|
350
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).**
|
|
351
|
+
*
|
|
352
|
+
* This API will:
|
|
353
|
+
* - Create a group in the organization's directory.
|
|
354
|
+
* - Create a collection of users that you can use to easily manage permissions,
|
|
355
|
+
* content access, notification schemes, and roles.
|
|
356
|
+
*
|
|
357
|
+
* **The creation of new groups using existing group names is not permitted.**
|
|
358
|
+
*
|
|
359
|
+
* Learn the fastest way to call the API with a detailed
|
|
360
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/create-group/#create-group).
|
|
361
|
+
*
|
|
362
|
+
* @deprecated
|
|
363
|
+
* @returns Request to create group was successfully accepted and will be eventually created in the organization directory.
|
|
364
|
+
* @path POST `/v1/orgs/{orgId}/directory/groups`
|
|
365
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-post
|
|
366
|
+
* @param params
|
|
367
|
+
*/
|
|
368
|
+
this.postV1OrgsOrgIdDirectoryGroups = ({ orgId, createGroupInput }) => {
|
|
369
|
+
return this.getClientInstance().request({
|
|
370
|
+
path: "/v1/orgs/{orgId}/directory/groups",
|
|
371
|
+
method: "POST",
|
|
372
|
+
pathParams: {
|
|
373
|
+
orgId
|
|
374
|
+
},
|
|
375
|
+
headers: {
|
|
376
|
+
"Content-Type": "application/json"
|
|
377
|
+
},
|
|
378
|
+
body: createGroupInput
|
|
379
|
+
}).then(this.getClientInstance().responseHandler({
|
|
380
|
+
200: {
|
|
381
|
+
"application/json": "json"
|
|
382
|
+
}
|
|
383
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.undefined.response"))).then(commonHttpClient.getBody);
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
387
|
+
* [new Add user to group
|
|
388
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-memberships-post)
|
|
389
|
+
* instead.
|
|
390
|
+
*
|
|
391
|
+
* **The API is available for customers using the new user management experience
|
|
392
|
+
* only. Learn more about the [new user management
|
|
393
|
+
* experience](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592).**
|
|
394
|
+
*
|
|
395
|
+
* This API will:
|
|
396
|
+
* - Add user to a group.
|
|
397
|
+
* - Assign multiple permissions to user at once.
|
|
398
|
+
* - Easily manage permissions, content access, notification schemes, and roles.
|
|
399
|
+
*
|
|
400
|
+
* This API will not:
|
|
401
|
+
* - Make modifications to group memberships that are synchronized through SCIM.
|
|
402
|
+
* To make changes to these memberships, you will need to modify them within your
|
|
403
|
+
* external identity provider. Learn more about [configuring user provisioning
|
|
404
|
+
* with an identity
|
|
405
|
+
* provider](https://support.atlassian.com/provisioning-users/docs/configure-user-provisioning-with-an-identity-provider/).
|
|
406
|
+
* - Add a user to a group that gives access to a product which is breaching it's
|
|
407
|
+
* license limit.\
|
|
408
|
+
* To make these changes, you will need to [remove
|
|
409
|
+
* users](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v1-orgs-orgid-directory-groups-groupid-memberships-accountid-delete)
|
|
410
|
+
* from the group or
|
|
411
|
+
* [suspend
|
|
412
|
+
* users](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/#api-v1-orgs-orgid-directory-users-accountid-suspend-access-post)
|
|
413
|
+
* that are in the group first.\
|
|
414
|
+
* You can also [manage your
|
|
415
|
+
* subscription](https://support.atlassian.com/subscriptions-and-billing/resources/)
|
|
416
|
+
* for the breaching product to increase your license limits.
|
|
417
|
+
* - Add a user to any group when your organisation has too many products that are
|
|
418
|
+
* breaching their license limits.
|
|
419
|
+
*
|
|
420
|
+
* Learn the fastest way to call the API with a detailed
|
|
421
|
+
* [tutorial](https://developer.atlassian.com/cloud/admin/organization/add-user-to-group/).
|
|
422
|
+
*
|
|
423
|
+
* @deprecated
|
|
424
|
+
* @returns User was successfully added to the group in the organization directory.
|
|
425
|
+
* @path POST `/v1/orgs/{orgId}/directory/groups/{groupId}/memberships`
|
|
426
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-groupid-memberships-post
|
|
427
|
+
* @param params
|
|
428
|
+
*/
|
|
429
|
+
this.postV1OrgsOrgIdDirectoryGroupsGroupIdMemberships = ({ orgId, groupId, addGroupMembershipInput }) => {
|
|
430
|
+
return this.getClientInstance().request({
|
|
431
|
+
path: "/v1/orgs/{orgId}/directory/groups/{groupId}/memberships",
|
|
432
|
+
method: "POST",
|
|
433
|
+
pathParams: {
|
|
434
|
+
orgId,
|
|
435
|
+
groupId
|
|
436
|
+
},
|
|
437
|
+
headers: {
|
|
438
|
+
"Content-Type": "application/json"
|
|
439
|
+
},
|
|
440
|
+
body: addGroupMembershipInput
|
|
441
|
+
}).then(this.getClientInstance().responseHandler({
|
|
442
|
+
200: {
|
|
443
|
+
"application/json": "json"
|
|
444
|
+
}
|
|
445
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.undefined.response"))).then(commonHttpClient.getBody);
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* Create a group in a directory to manage app access and permissions for multiple
|
|
449
|
+
* users together.
|
|
450
|
+
*
|
|
451
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/groups`
|
|
452
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-post
|
|
453
|
+
* @param params
|
|
454
|
+
*/
|
|
455
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdGroups = ({ orgId, directoryId, requestBody }) => {
|
|
456
|
+
return this.getClientInstance().request({
|
|
457
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups",
|
|
458
|
+
method: "POST",
|
|
459
|
+
pathParams: {
|
|
460
|
+
orgId,
|
|
461
|
+
directoryId
|
|
462
|
+
},
|
|
463
|
+
headers: {
|
|
464
|
+
"Content-Type": "application/json"
|
|
465
|
+
},
|
|
466
|
+
body: requestBody
|
|
467
|
+
}).then(commonHttpClient.discardResult);
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Add a user to a group. This gives the user the same app access and permissions
|
|
471
|
+
* as the group. The user must be in the same directory as the group.
|
|
472
|
+
*
|
|
473
|
+
* You can’t add a user to a group synced from an identity provider. Manage this
|
|
474
|
+
* group in your identity provider instead.
|
|
475
|
+
*
|
|
476
|
+
* You can’t add a user to a group if you’ve exceeded your user limit for an app
|
|
477
|
+
* that the group grants access to. Increase your user limit or suspend another
|
|
478
|
+
* user from the app first.
|
|
479
|
+
*
|
|
480
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships`
|
|
481
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-groupid-memberships-post
|
|
482
|
+
* @param params
|
|
483
|
+
*/
|
|
484
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdGroupsGroupIdMemberships = ({ orgId, directoryId, groupId, requestBody }) => {
|
|
485
|
+
return this.getClientInstance().request({
|
|
486
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/memberships",
|
|
487
|
+
method: "POST",
|
|
488
|
+
pathParams: {
|
|
489
|
+
orgId,
|
|
490
|
+
directoryId,
|
|
491
|
+
groupId
|
|
492
|
+
},
|
|
493
|
+
headers: {
|
|
494
|
+
"Content-Type": "application/json"
|
|
495
|
+
},
|
|
496
|
+
body: requestBody
|
|
497
|
+
}).then(commonHttpClient.discardResult);
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Assign a role to a group to assign all members the same role.
|
|
501
|
+
*
|
|
502
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/assign`
|
|
503
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-groupid-role-assignments-assign-post
|
|
504
|
+
* @param params
|
|
505
|
+
*/
|
|
506
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdGroupsGroupIdRoleAssignmentsAssign = ({ orgId, directoryId, groupId, requestBody }) => {
|
|
507
|
+
return this.getClientInstance().request({
|
|
508
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/assign",
|
|
509
|
+
method: "POST",
|
|
510
|
+
pathParams: {
|
|
511
|
+
orgId,
|
|
512
|
+
directoryId,
|
|
513
|
+
groupId
|
|
514
|
+
},
|
|
515
|
+
headers: {
|
|
516
|
+
"Content-Type": "application/json"
|
|
517
|
+
},
|
|
518
|
+
body: requestBody
|
|
519
|
+
}).then(commonHttpClient.discardResult);
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Revoke a role from a group to remove access to an app from all members. A
|
|
523
|
+
* member can still access the app if they’re in another group that grants access
|
|
524
|
+
* to the same app.
|
|
525
|
+
*
|
|
526
|
+
* @path POST `/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/revoke'`
|
|
527
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v2-orgs-orgid-directories-directoryid-groups-groupid-role-assignments-revoke-post
|
|
528
|
+
* @param params
|
|
529
|
+
*/
|
|
530
|
+
this.postV2OrgsOrgIdDirectoriesDirectoryIdGroupsGroupIdRoleAssignmentsRevoke = ({ orgId, directoryId, groupId, requestBody }) => {
|
|
531
|
+
return this.getClientInstance().request({
|
|
532
|
+
path: "/v2/orgs/{orgId}/directories/{directoryId}/groups/{groupId}/role-assignments/revoke'",
|
|
533
|
+
method: "POST",
|
|
534
|
+
pathParams: {
|
|
535
|
+
orgId,
|
|
536
|
+
directoryId,
|
|
537
|
+
groupId
|
|
538
|
+
},
|
|
539
|
+
headers: {
|
|
540
|
+
"Content-Type": "application/json"
|
|
541
|
+
},
|
|
542
|
+
body: requestBody
|
|
543
|
+
}).then(commonHttpClient.discardResult);
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
547
|
+
* [Remove access from group
|
|
548
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-groupid-role-assignments-revoke-post)
|
|
549
|
+
* instead.
|
|
550
|
+
*
|
|
551
|
+
* **The API is available for customers using the [new user management experience
|
|
552
|
+
* only](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**.
|
|
553
|
+
*
|
|
554
|
+
* Revoke roles that provide product access to groups. It's important to note that
|
|
555
|
+
* this operation follows eventual consistency principles and may require up to 30
|
|
556
|
+
* seconds to take effect.
|
|
557
|
+
*
|
|
558
|
+
* @deprecated
|
|
559
|
+
* @returns Roles were successfully removed from the group
|
|
560
|
+
* @path POST `/v1/orgs/{orgId}/directory/groups/{groupId}/roles/revoke`
|
|
561
|
+
* @see https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups#api-v1-orgs-orgid-directory-groups-groupid-roles-revoke-post
|
|
562
|
+
* @param params
|
|
563
|
+
*/
|
|
564
|
+
this.revokeRoleToGroup = ({ orgId, groupId, groupRoleAssignmentInput }) => {
|
|
565
|
+
return this.getClientInstance().request({
|
|
566
|
+
path: "/v1/orgs/{orgId}/directory/groups/{groupId}/roles/revoke",
|
|
567
|
+
method: "POST",
|
|
568
|
+
pathParams: {
|
|
569
|
+
orgId,
|
|
570
|
+
groupId
|
|
571
|
+
},
|
|
572
|
+
headers: {
|
|
573
|
+
"Content-Type": "application/json"
|
|
574
|
+
},
|
|
575
|
+
body: groupRoleAssignmentInput
|
|
576
|
+
}).then(this.getClientInstance().responseHandler({
|
|
577
|
+
202: {
|
|
578
|
+
"application/json": "json"
|
|
579
|
+
}
|
|
580
|
+
})).then(commonHttpClient.castResponse()).then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("GroupsService.revokeRoleToGroup.response"))).then(commonHttpClient.getBody);
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* **This API is deprecated and will no longer work after June 30, 2026.** Use the
|
|
584
|
+
* [Get groups in an organization
|
|
585
|
+
* endpoint](https://developer.atlassian.com/cloud/admin/organization/rest/api-group-groups/#api-v2-orgs-orgid-directories-directoryid-groups-get)
|
|
586
|
+
* instead.
|
|
587
|
+
*
|
|
166
588
|
* **The API is available for customers using the new user management experience
|
|
167
589
|
* only. [How the new user management experience
|
|
168
590
|
* works](https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592)**
|
|
@@ -170,6 +592,7 @@ class GroupsService extends CommonHttpService_1.CommonHttpService {
|
|
|
170
592
|
* Returns a list of groups within an organization, offering search functionality
|
|
171
593
|
* through multiple parameters for more precise results.
|
|
172
594
|
*
|
|
595
|
+
* @deprecated
|
|
173
596
|
* @returns Organization found. Response contains group search results
|
|
174
597
|
*
|
|
175
598
|
* example: " groups_search_response":
|
|
@@ -211,6 +634,49 @@ class GroupsService extends CommonHttpService_1.CommonHttpService {
|
|
|
211
634
|
};
|
|
212
635
|
}
|
|
213
636
|
static initialize() {
|
|
637
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.undefined.response", zod_1.z.object({
|
|
638
|
+
status: zod_1.z.literal(200),
|
|
639
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
640
|
+
body: zod_1.z.object({
|
|
641
|
+
message: zod_1.z.string().optional(),
|
|
642
|
+
groupId: zod_1.z.string().optional()
|
|
643
|
+
}).catchall(zod_1.z.unknown())
|
|
644
|
+
}).describe("GroupsService.undefined.response"));
|
|
645
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.undefined.response", zod_1.z.object({
|
|
646
|
+
status: zod_1.z.literal(200),
|
|
647
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
648
|
+
body: zod_1.z.object({
|
|
649
|
+
message: zod_1.z.string().optional()
|
|
650
|
+
}).catchall(zod_1.z.unknown())
|
|
651
|
+
}).describe("GroupsService.undefined.response"));
|
|
652
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.undefined.response", zod_1.z.object({
|
|
653
|
+
status: zod_1.z.literal(200),
|
|
654
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
655
|
+
body: zod_1.z.object({
|
|
656
|
+
message: zod_1.z.string().optional()
|
|
657
|
+
}).catchall(zod_1.z.unknown())
|
|
658
|
+
}).describe("GroupsService.undefined.response"));
|
|
659
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.undefined.response", zod_1.z.object({
|
|
660
|
+
status: zod_1.z.literal(200),
|
|
661
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
662
|
+
body: zod_1.z.object({
|
|
663
|
+
message: zod_1.z.string().optional()
|
|
664
|
+
}).catchall(zod_1.z.unknown())
|
|
665
|
+
}).describe("GroupsService.undefined.response"));
|
|
666
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.assignRoleToGroup.response", zod_1.z.object({
|
|
667
|
+
status: zod_1.z.literal(202),
|
|
668
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
669
|
+
body: zod_1.z.object({
|
|
670
|
+
message: zod_1.z.string()
|
|
671
|
+
}).catchall(zod_1.z.unknown())
|
|
672
|
+
}).describe("GroupsService.assignRoleToGroup.response"));
|
|
673
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.revokeRoleToGroup.response", zod_1.z.object({
|
|
674
|
+
status: zod_1.z.literal(202),
|
|
675
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
676
|
+
body: zod_1.z.object({
|
|
677
|
+
message: zod_1.z.string()
|
|
678
|
+
}).catchall(zod_1.z.unknown())
|
|
679
|
+
}).describe("GroupsService.revokeRoleToGroup.response"));
|
|
214
680
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("GroupsService.searchGroups.response", zod_1.z.object({
|
|
215
681
|
status: zod_1.z.literal(200),
|
|
216
682
|
mediaType: zod_1.z.literal("application/json"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupsService.js","sourceRoot":"","sources":["../../../../src/openapi/organizations/services/GroupsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAA8P;AAC9P,wEAAqE;AACrE,6BAAwB;AACxB;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;WAOG;QACH,aAAQ,GAAG,CAAC,EACV,KAAK,EACL,WAAW,EACX,OAAO,EAeR,EAAuC,EAAE;YACxC,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBAC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O,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,0BAA0B,CAAC;SAC/D,CAAC,CAAC,QAAQ,CAAC,uCAAuC,CAAC,CAAC,CAAC;QACtD,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAvkBD,sCAukBC"}
|
|
1
|
+
{"version":3,"file":"GroupsService.js","sourceRoot":"","sources":["../../../../src/openapi/organizations/services/GroupsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAkV;AAClV,wEAAqE;AACrE,6BAAwB;AACxB;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,qCAAiB;IAApD;;QACE;;;;;;;;;;;;;;;;;;WAkBG;QACH,sBAAiB,GAAG,CAAC,EACnB,KAAK,EACL,OAAO,EACP,wBAAwB,EAezB,EAWE,EAAE;YACH,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,0DAA0D;gBAChE,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,KAAK;oBACL,OAAO;iBACR;gBACD,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,wBAAwB;aAC/B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBAC/C,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAQlC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,UAAU,CAAC,iDAAuB,CAAC,SAAS,CAAC,0CAA0C,CAAC,CAAC,CAAC,CAAC,IA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CAAC,uCAAuC,CAAC,CAAC,CAAC;QACtD,iDAAuB,CAAC,kBAAkB,CAAC,uCAAuC,EAAE,OAAC,CAAC,MAAM,CAAC;YAC3F,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,0BAA0B,CAAC;SAC/D,CAAC,CAAC,QAAQ,CAAC,uCAAuC,CAAC,CAAC,CAAC;QACtD,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AA/8CD,sCA+8CC"}
|
|
@@ -17,8 +17,8 @@ export declare class OrgsService extends CommonHttpService {
|
|
|
17
17
|
*/
|
|
18
18
|
getOrgById: ({ orgId }: {
|
|
19
19
|
/**
|
|
20
|
-
* Your organization
|
|
21
|
-
*
|
|
20
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
21
|
+
* Administration URL or when you create your API key.
|
|
22
22
|
*/
|
|
23
23
|
orgId: string;
|
|
24
24
|
}) => Promise<Org>;
|
|
@@ -17,8 +17,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
17
17
|
*/
|
|
18
18
|
addResourceToPolicy: ({ orgId, policyId, resourceInput }: {
|
|
19
19
|
/**
|
|
20
|
-
* Your organization
|
|
21
|
-
*
|
|
20
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
21
|
+
* Administration URL or when you create your API key.
|
|
22
22
|
*/
|
|
23
23
|
orgId: string;
|
|
24
24
|
/** ID of the policy to query */
|
|
@@ -35,8 +35,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
35
35
|
*/
|
|
36
36
|
createPolicy: ({ orgId, policyCreateInput }: {
|
|
37
37
|
/**
|
|
38
|
-
* Your organization
|
|
39
|
-
*
|
|
38
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
39
|
+
* Administration URL or when you create your API key.
|
|
40
40
|
*/
|
|
41
41
|
orgId: string;
|
|
42
42
|
policyCreateInput: PolicyCreateInput;
|
|
@@ -50,8 +50,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
50
50
|
*/
|
|
51
51
|
deletePolicy: ({ orgId, policyId }: {
|
|
52
52
|
/**
|
|
53
|
-
* Your organization
|
|
54
|
-
*
|
|
53
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
54
|
+
* Administration URL or when you create your API key.
|
|
55
55
|
*/
|
|
56
56
|
orgId: string;
|
|
57
57
|
/** ID of the policy to delete */
|
|
@@ -67,8 +67,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
67
67
|
*/
|
|
68
68
|
deletePolicyResource: ({ orgId, policyId, resourceId }: {
|
|
69
69
|
/**
|
|
70
|
-
* Your organization
|
|
71
|
-
*
|
|
70
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
71
|
+
* Administration URL or when you create your API key.
|
|
72
72
|
*/
|
|
73
73
|
orgId: string;
|
|
74
74
|
/** ID of the policy to query */
|
|
@@ -86,8 +86,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
86
86
|
*/
|
|
87
87
|
getPolicies: ({ orgId, cursor, type }: {
|
|
88
88
|
/**
|
|
89
|
-
* Your organization
|
|
90
|
-
*
|
|
89
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
90
|
+
* Administration URL or when you create your API key.
|
|
91
91
|
*/
|
|
92
92
|
orgId: string;
|
|
93
93
|
/** Sets the starting point for the page of results to return. */
|
|
@@ -105,8 +105,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
105
105
|
*/
|
|
106
106
|
getPolicyById: ({ orgId, policyId }: {
|
|
107
107
|
/**
|
|
108
|
-
* Your organization
|
|
109
|
-
*
|
|
108
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
109
|
+
* Administration URL or when you create your API key.
|
|
110
110
|
*/
|
|
111
111
|
orgId: string;
|
|
112
112
|
/** ID of the policy to query */
|
|
@@ -122,8 +122,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
122
122
|
*/
|
|
123
123
|
updatePolicy: ({ orgId, policyId, policyUpdateInput }: {
|
|
124
124
|
/**
|
|
125
|
-
* Your organization
|
|
126
|
-
*
|
|
125
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
126
|
+
* Administration URL or when you create your API key.
|
|
127
127
|
*/
|
|
128
128
|
orgId: string;
|
|
129
129
|
/** ID of the policy to update */
|
|
@@ -140,8 +140,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
140
140
|
*/
|
|
141
141
|
updatePolicyResource: ({ orgId, policyId, resourceId, resourceUpdateInput }: {
|
|
142
142
|
/**
|
|
143
|
-
* Your organization
|
|
144
|
-
*
|
|
143
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
144
|
+
* Administration URL or when you create your API key.
|
|
145
145
|
*/
|
|
146
146
|
orgId: string;
|
|
147
147
|
/** ID of the policy to query */
|
|
@@ -161,8 +161,8 @@ export declare class PoliciesService extends CommonHttpService {
|
|
|
161
161
|
*/
|
|
162
162
|
validatePolicy: ({ orgId, policyId }: {
|
|
163
163
|
/**
|
|
164
|
-
* Your organization
|
|
165
|
-
*
|
|
164
|
+
* Your organization has a unique ID. Find this ID in your Atlassian
|
|
165
|
+
* Administration URL or when you create your API key.
|
|
166
166
|
*/
|
|
167
167
|
orgId: string;
|
|
168
168
|
/** Policy ID */
|