@stack-spot/portal-network 0.230.0 → 0.232.0
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 +14 -0
- package/dist/api/account.d.ts +294 -677
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +274 -466
- package/dist/api/account.js.map +1 -1
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +180 -180
- package/dist/client/account.js.map +1 -1
- package/dist/client/content.d.ts +11 -0
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +10 -1
- package/dist/client/content.js.map +1 -1
- package/dist/client/workspace-manager.d.ts +12 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +19 -1
- package/dist/client/workspace-manager.js.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +321 -1006
- package/src/client/account.ts +353 -329
- package/src/client/content.ts +5 -0
- package/src/client/workspace-manager.ts +10 -0
package/dist/api/account.js
CHANGED
|
@@ -17,7 +17,7 @@ export const servers = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Get service credential permissions
|
|
19
19
|
*/
|
|
20
|
-
export function
|
|
20
|
+
export function serviceCredentialControllerV3GetPermissions({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
21
21
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions${QS.query(QS.explode({
|
|
22
22
|
size,
|
|
23
23
|
page,
|
|
@@ -36,7 +36,7 @@ export function getPermissions({ id, size, page, sort, direction, search, filter
|
|
|
36
36
|
/**
|
|
37
37
|
* Replace permission from service credential
|
|
38
38
|
*/
|
|
39
|
-
export function
|
|
39
|
+
export function serviceCredentialControllerV3ReplacePermissions({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
40
40
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
41
41
|
...opts,
|
|
42
42
|
method: "PUT",
|
|
@@ -46,7 +46,7 @@ export function replacePermissions({ id, serviceCredentialPermissionRequestV3 },
|
|
|
46
46
|
/**
|
|
47
47
|
* Remove permission from service credential
|
|
48
48
|
*/
|
|
49
|
-
export function
|
|
49
|
+
export function serviceCredentialControllerV3RemovePermissions({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
50
50
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
51
51
|
...opts,
|
|
52
52
|
method: "DELETE",
|
|
@@ -56,7 +56,7 @@ export function removePermissions({ id, serviceCredentialPermissionRequestV3 },
|
|
|
56
56
|
/**
|
|
57
57
|
* Add permissions to Service Credential
|
|
58
58
|
*/
|
|
59
|
-
export function
|
|
59
|
+
export function serviceCredentialControllerV3AddPermission({ id, serviceCredentialPermissionRequestV3 }, opts) {
|
|
60
60
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/permissions`, oazapfts.json({
|
|
61
61
|
...opts,
|
|
62
62
|
method: "PATCH",
|
|
@@ -66,7 +66,7 @@ export function addPermission({ id, serviceCredentialPermissionRequestV3 }, opts
|
|
|
66
66
|
/**
|
|
67
67
|
* Retrieves a list of rate limit with the associated service credential.
|
|
68
68
|
*/
|
|
69
|
-
export function
|
|
69
|
+
export function serviceCredentialControllerV2GetAllServiceCredentialRateLimit({ size, page, sort, direction, search }, opts) {
|
|
70
70
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/rate-limit${QS.query(QS.explode({
|
|
71
71
|
size,
|
|
72
72
|
page,
|
|
@@ -80,7 +80,7 @@ export function getAllServiceCredentialRateLimit({ size, page, sort, direction,
|
|
|
80
80
|
/**
|
|
81
81
|
* Updates the rate limit of a service credential.
|
|
82
82
|
*/
|
|
83
|
-
export function
|
|
83
|
+
export function serviceCredentialControllerV2UpdateRateLimitForServiceCredential({ serviceCredentialRateLimitRequest }, opts) {
|
|
84
84
|
return oazapfts.ok(oazapfts.fetchJson("/v2/service-credentials/rate-limit", oazapfts.json({
|
|
85
85
|
...opts,
|
|
86
86
|
method: "PUT",
|
|
@@ -90,7 +90,7 @@ export function updateServiceCredentialRateLimit({ serviceCredentialRateLimitReq
|
|
|
90
90
|
/**
|
|
91
91
|
* Returns the Feature Flag.
|
|
92
92
|
*/
|
|
93
|
-
export function
|
|
93
|
+
export function featureFlagControllerV2GetFeatureFlag({ id }, opts) {
|
|
94
94
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/feature-flags/${encodeURIComponent(id)}`, {
|
|
95
95
|
...opts
|
|
96
96
|
}));
|
|
@@ -98,7 +98,7 @@ export function getFeatureFlag({ id }, opts) {
|
|
|
98
98
|
/**
|
|
99
99
|
* Update a feature flag by id directly assigned to an account holder
|
|
100
100
|
*/
|
|
101
|
-
export function
|
|
101
|
+
export function featureFlagControllerV2UpdateFeatureFlag({ id, updateFeatureFlagAccountRequest }, opts) {
|
|
102
102
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/feature-flags/${encodeURIComponent(id)}`, oazapfts.json({
|
|
103
103
|
...opts,
|
|
104
104
|
method: "PUT",
|
|
@@ -108,7 +108,7 @@ export function updateFeatureFlag({ id, updateFeatureFlagAccountRequest }, opts)
|
|
|
108
108
|
/**
|
|
109
109
|
* Returns the Feature Flag.
|
|
110
110
|
*/
|
|
111
|
-
export function
|
|
111
|
+
export function featureFlagAdminControllerV2GetFeatureFlag({ id }, opts) {
|
|
112
112
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(id)}`, {
|
|
113
113
|
...opts
|
|
114
114
|
}));
|
|
@@ -116,7 +116,7 @@ export function getFeatureFlag1({ id }, opts) {
|
|
|
116
116
|
/**
|
|
117
117
|
* Updates an existing Feature Flag with the provided details.
|
|
118
118
|
*/
|
|
119
|
-
export function
|
|
119
|
+
export function featureFlagAdminControllerV2Update({ id, updateFeatureFlagRequest }, opts) {
|
|
120
120
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(id)}`, oazapfts.json({
|
|
121
121
|
...opts,
|
|
122
122
|
method: "PUT",
|
|
@@ -126,7 +126,7 @@ export function update({ id, updateFeatureFlagRequest }, opts) {
|
|
|
126
126
|
/**
|
|
127
127
|
* Deletes an existing Feature Flag with the provided id.
|
|
128
128
|
*/
|
|
129
|
-
export function
|
|
129
|
+
export function featureFlagAdminControllerV2Delete({ id }, opts) {
|
|
130
130
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(id)}`, {
|
|
131
131
|
...opts,
|
|
132
132
|
method: "DELETE"
|
|
@@ -135,7 +135,7 @@ export function deleteV2AdminFeatureFlagsById({ id }, opts) {
|
|
|
135
135
|
/**
|
|
136
136
|
* Updates an existing Feature Flag resources with the provided details.
|
|
137
137
|
*/
|
|
138
|
-
export function
|
|
138
|
+
export function featureFlagAdminControllerV2UpdateAccountAssociation({ featureFlagId, accountId, updateFeatureFlagAccountRequest }, opts) {
|
|
139
139
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(featureFlagId)}/account/${encodeURIComponent(accountId)}`, oazapfts.json({
|
|
140
140
|
...opts,
|
|
141
141
|
method: "PUT",
|
|
@@ -145,7 +145,7 @@ export function updateAccountAssociation({ featureFlagId, accountId, updateFeatu
|
|
|
145
145
|
/**
|
|
146
146
|
* Creates a new Feature Flag resource for the given account.
|
|
147
147
|
*/
|
|
148
|
-
export function
|
|
148
|
+
export function featureFlagAdminControllerV2CreateAccountAssociation({ featureFlagId, accountId, createFeatureFlagAccountRequest }, opts) {
|
|
149
149
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(featureFlagId)}/account/${encodeURIComponent(accountId)}`, oazapfts.json({
|
|
150
150
|
...opts,
|
|
151
151
|
method: "POST",
|
|
@@ -155,7 +155,7 @@ export function createAccountAssociation({ featureFlagId, accountId, createFeatu
|
|
|
155
155
|
/**
|
|
156
156
|
* Deletes Feature Flag resource for the given account.
|
|
157
157
|
*/
|
|
158
|
-
export function
|
|
158
|
+
export function featureFlagAdminControllerV2DeleteAccountAssociation({ featureFlagId, accountId }, opts) {
|
|
159
159
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/${encodeURIComponent(featureFlagId)}/account/${encodeURIComponent(accountId)}`, {
|
|
160
160
|
...opts,
|
|
161
161
|
method: "DELETE"
|
|
@@ -164,7 +164,7 @@ export function deleteAccountAssociation({ featureFlagId, accountId }, opts) {
|
|
|
164
164
|
/**
|
|
165
165
|
* Retrieves a list of SCM credentials associated with the current user's account, including secret names and provider details.
|
|
166
166
|
*/
|
|
167
|
-
export function
|
|
167
|
+
export function userControllerListScmCredentials(opts) {
|
|
168
168
|
return oazapfts.ok(oazapfts.fetchJson("/v1/users/scm-credentials", {
|
|
169
169
|
...opts
|
|
170
170
|
}));
|
|
@@ -172,7 +172,7 @@ export function listScmCredentials(opts) {
|
|
|
172
172
|
/**
|
|
173
173
|
* Updates the SCM credentials for a user by saving the new secret information and triggering an update event.
|
|
174
174
|
*/
|
|
175
|
-
export function
|
|
175
|
+
export function userControllerScmCredentialUpdate({ userScmInfoRequest }, opts) {
|
|
176
176
|
return oazapfts.ok(oazapfts.fetchJson("/v1/users/scm-credentials", oazapfts.json({
|
|
177
177
|
...opts,
|
|
178
178
|
method: "PUT",
|
|
@@ -182,7 +182,7 @@ export function scmCredentialUpdate({ userScmInfoRequest }, opts) {
|
|
|
182
182
|
/**
|
|
183
183
|
* Saves user SCM credentials by validating the user, storing the credentials securely, and triggering a creation event.
|
|
184
184
|
*/
|
|
185
|
-
export function
|
|
185
|
+
export function userControllerScmCredentialSave({ userScmInfoRequest }, opts) {
|
|
186
186
|
return oazapfts.ok(oazapfts.fetchJson("/v1/users/scm-credentials", oazapfts.json({
|
|
187
187
|
...opts,
|
|
188
188
|
method: "POST",
|
|
@@ -192,7 +192,7 @@ export function scmCredentialSave({ userScmInfoRequest }, opts) {
|
|
|
192
192
|
/**
|
|
193
193
|
* Deletes the SCM credentials of a user from the repository and secrets manager, and sends a deletion event if the credentials exist.
|
|
194
194
|
*/
|
|
195
|
-
export function
|
|
195
|
+
export function userControllerScmDelete(opts) {
|
|
196
196
|
return oazapfts.ok(oazapfts.fetchJson("/v1/users/scm-credentials", {
|
|
197
197
|
...opts,
|
|
198
198
|
method: "DELETE"
|
|
@@ -201,7 +201,7 @@ export function scmDelete(opts) {
|
|
|
201
201
|
/**
|
|
202
202
|
* Get secret by ID
|
|
203
203
|
*/
|
|
204
|
-
export function
|
|
204
|
+
export function secretControllerGetById({ secretId }, opts) {
|
|
205
205
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/secrets/${encodeURIComponent(secretId)}`, {
|
|
206
206
|
...opts
|
|
207
207
|
}));
|
|
@@ -209,7 +209,7 @@ export function getById({ secretId }, opts) {
|
|
|
209
209
|
/**
|
|
210
210
|
* Update secret information
|
|
211
211
|
*/
|
|
212
|
-
export function
|
|
212
|
+
export function secretControllerUpdateSecret({ secretId, updateSecretRequest }, opts) {
|
|
213
213
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}`, oazapfts.json({
|
|
214
214
|
...opts,
|
|
215
215
|
method: "PUT",
|
|
@@ -219,7 +219,7 @@ export function updateSecret({ secretId, updateSecretRequest }, opts) {
|
|
|
219
219
|
/**
|
|
220
220
|
* Delete secret by ID
|
|
221
221
|
*/
|
|
222
|
-
export function
|
|
222
|
+
export function secretControllerDeleteSecret({ immediate, secretId }, opts) {
|
|
223
223
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}${QS.query(QS.explode({
|
|
224
224
|
immediate
|
|
225
225
|
}))}`, {
|
|
@@ -230,7 +230,7 @@ export function deleteSecret({ immediate, secretId }, opts) {
|
|
|
230
230
|
/**
|
|
231
231
|
* Associate a secret with a resource
|
|
232
232
|
*/
|
|
233
|
-
export function
|
|
233
|
+
export function secretControllerAssociateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
234
234
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
235
235
|
...opts,
|
|
236
236
|
method: "PUT"
|
|
@@ -239,7 +239,7 @@ export function associateResource({ secretId, resourceSlug, resourceTypeSlug },
|
|
|
239
239
|
/**
|
|
240
240
|
* Disassociate a secret with a resource
|
|
241
241
|
*/
|
|
242
|
-
export function
|
|
242
|
+
export function secretControllerDisassociateResource({ secretId, resourceSlug, resourceTypeSlug }, opts) {
|
|
243
243
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/associations/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}`, {
|
|
244
244
|
...opts,
|
|
245
245
|
method: "DELETE"
|
|
@@ -248,7 +248,7 @@ export function disassociateResource({ secretId, resourceSlug, resourceTypeSlug
|
|
|
248
248
|
/**
|
|
249
249
|
* Retrieves a specific scope by its ID for the current user's tenant and returns it.
|
|
250
250
|
*/
|
|
251
|
-
export function
|
|
251
|
+
export function scopeControllerGetById({ scopeId }, opts) {
|
|
252
252
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/scopes/${encodeURIComponent(scopeId)}`, {
|
|
253
253
|
...opts
|
|
254
254
|
}));
|
|
@@ -256,7 +256,7 @@ export function getById1({ scopeId }, opts) {
|
|
|
256
256
|
/**
|
|
257
257
|
* Updates the details of a specific scope within the tenant using the provided scope ID and update request.
|
|
258
258
|
*/
|
|
259
|
-
export function
|
|
259
|
+
export function scopeControllerUpdateScope({ scopeId, iamUpdateScopeRequest }, opts) {
|
|
260
260
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/scopes/${encodeURIComponent(scopeId)}`, oazapfts.json({
|
|
261
261
|
...opts,
|
|
262
262
|
method: "PUT",
|
|
@@ -266,7 +266,7 @@ export function updateScope({ scopeId, iamUpdateScopeRequest }, opts) {
|
|
|
266
266
|
/**
|
|
267
267
|
* Deletes a specific scope identified by its ID within the user's current tenant.
|
|
268
268
|
*/
|
|
269
|
-
export function
|
|
269
|
+
export function scopeControllerDeleteScope({ scopeId }, opts) {
|
|
270
270
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/scopes/${encodeURIComponent(scopeId)}`, {
|
|
271
271
|
...opts,
|
|
272
272
|
method: "DELETE"
|
|
@@ -275,7 +275,7 @@ export function deleteScope({ scopeId }, opts) {
|
|
|
275
275
|
/**
|
|
276
276
|
* Retrieves a list of SCM credentials associated with the current user's account.
|
|
277
277
|
*/
|
|
278
|
-
export function
|
|
278
|
+
export function accountScmControllerListScmCredentials(opts) {
|
|
279
279
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scm-credentials", {
|
|
280
280
|
...opts
|
|
281
281
|
}));
|
|
@@ -283,7 +283,7 @@ export function listScmCredentials1(opts) {
|
|
|
283
283
|
/**
|
|
284
284
|
* Updates the SCM credentials for the current user's account, saving the changes and triggering an update event.
|
|
285
285
|
*/
|
|
286
|
-
export function
|
|
286
|
+
export function accountScmControllerScmCredentialUpdate({ accountScmInfoUpdateRequest }, opts) {
|
|
287
287
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scm-credentials", oazapfts.json({
|
|
288
288
|
...opts,
|
|
289
289
|
method: "PUT",
|
|
@@ -293,7 +293,7 @@ export function scmCredentialUpdate1({ accountScmInfoUpdateRequest }, opts) {
|
|
|
293
293
|
/**
|
|
294
294
|
* Saves SCM credentials for a user's account.
|
|
295
295
|
*/
|
|
296
|
-
export function
|
|
296
|
+
export function accountScmControllerScmCredentialSave({ accountScmInfoSaveRequest }, opts) {
|
|
297
297
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scm-credentials", oazapfts.json({
|
|
298
298
|
...opts,
|
|
299
299
|
method: "POST",
|
|
@@ -303,7 +303,7 @@ export function scmCredentialSave1({ accountScmInfoSaveRequest }, opts) {
|
|
|
303
303
|
/**
|
|
304
304
|
* Updates the role of an account.
|
|
305
305
|
*/
|
|
306
|
-
export function
|
|
306
|
+
export function roleControllerUpdateAccountRole({ roleId, updateAccountRoleRequest }, opts) {
|
|
307
307
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}`, oazapfts.json({
|
|
308
308
|
...opts,
|
|
309
309
|
method: "PUT",
|
|
@@ -313,7 +313,7 @@ export function updateAccountRole({ roleId, updateAccountRoleRequest }, opts) {
|
|
|
313
313
|
/**
|
|
314
314
|
* Deletes a specific account role by its ID.
|
|
315
315
|
*/
|
|
316
|
-
export function
|
|
316
|
+
export function roleControllerDeleteAccountRole({ roleId }, opts) {
|
|
317
317
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}`, {
|
|
318
318
|
...opts,
|
|
319
319
|
method: "DELETE"
|
|
@@ -322,7 +322,7 @@ export function deleteAccountRole({ roleId }, opts) {
|
|
|
322
322
|
/**
|
|
323
323
|
* Retrieves a of resources and their associated actions with their status compared to a specified role.
|
|
324
324
|
*/
|
|
325
|
-
export function
|
|
325
|
+
export function roleControllerGetResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
326
326
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/resources${QS.query(QS.explode({
|
|
327
327
|
size,
|
|
328
328
|
page,
|
|
@@ -341,7 +341,7 @@ export function getResourcesAndActionsWithStatus({ roleId, size, page, sort, dir
|
|
|
341
341
|
/**
|
|
342
342
|
* Updates the role of an account with new resource-action statements.
|
|
343
343
|
*/
|
|
344
|
-
export function
|
|
344
|
+
export function roleControllerUpdateRoleWithNewActions({ roleId, body }, opts) {
|
|
345
345
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/resources`, oazapfts.json({
|
|
346
346
|
...opts,
|
|
347
347
|
method: "PUT",
|
|
@@ -351,7 +351,7 @@ export function updateRoleWithNewActions({ roleId, body }, opts) {
|
|
|
351
351
|
/**
|
|
352
352
|
* Updates the actions associated with a specific resource in a role.
|
|
353
353
|
*/
|
|
354
|
-
export function
|
|
354
|
+
export function roleControllerUpdateResourceActions({ roleId, resourceId, updateResourceActionsRequest }, opts) {
|
|
355
355
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/resources/${encodeURIComponent(resourceId)}`, oazapfts.json({
|
|
356
356
|
...opts,
|
|
357
357
|
method: "PUT",
|
|
@@ -361,44 +361,17 @@ export function updateResourceActions({ roleId, resourceId, updateResourceAction
|
|
|
361
361
|
/**
|
|
362
362
|
* Update permission resource action
|
|
363
363
|
*/
|
|
364
|
-
export function
|
|
364
|
+
export function permissionControllerUpdatePermissionResourceAction({ permissionId, resourceId, updatePermissionResourceActionRequest }, opts) {
|
|
365
365
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/permissions/${encodeURIComponent(permissionId)}/resource/${encodeURIComponent(resourceId)}/action`, oazapfts.json({
|
|
366
366
|
...opts,
|
|
367
367
|
method: "PUT",
|
|
368
368
|
body: updatePermissionResourceActionRequest
|
|
369
369
|
})));
|
|
370
370
|
}
|
|
371
|
-
/**
|
|
372
|
-
* Get a permission set by Id
|
|
373
|
-
*/
|
|
374
|
-
export function getById2({ permissionSetId }, opts) {
|
|
375
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}`, {
|
|
376
|
-
...opts
|
|
377
|
-
}));
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Update a permission set by Id
|
|
381
|
-
*/
|
|
382
|
-
export function update1({ permissionSetId, updatePermissionSetRequest }, opts) {
|
|
383
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}`, oazapfts.json({
|
|
384
|
-
...opts,
|
|
385
|
-
method: "PUT",
|
|
386
|
-
body: updatePermissionSetRequest
|
|
387
|
-
})));
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Delete a permission set by Id
|
|
391
|
-
*/
|
|
392
|
-
export function delete1({ permissionSetId }, opts) {
|
|
393
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}`, {
|
|
394
|
-
...opts,
|
|
395
|
-
method: "DELETE"
|
|
396
|
-
}));
|
|
397
|
-
}
|
|
398
371
|
/**
|
|
399
372
|
* Retrieves account member details by their unique identifier.
|
|
400
373
|
*/
|
|
401
|
-
export function
|
|
374
|
+
export function memberControllerGetMemberById({ memberId }, opts) {
|
|
402
375
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}`, {
|
|
403
376
|
...opts
|
|
404
377
|
}));
|
|
@@ -406,7 +379,7 @@ export function getMemberById({ memberId }, opts) {
|
|
|
406
379
|
/**
|
|
407
380
|
* Updates the information of an existing user.
|
|
408
381
|
*/
|
|
409
|
-
export function
|
|
382
|
+
export function memberControllerUpdateUser({ memberId, updateUserRequest }, opts) {
|
|
410
383
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}`, oazapfts.json({
|
|
411
384
|
...opts,
|
|
412
385
|
method: "PUT",
|
|
@@ -416,7 +389,7 @@ export function updateUser({ memberId, updateUserRequest }, opts) {
|
|
|
416
389
|
/**
|
|
417
390
|
* Updates the password of a specified user.
|
|
418
391
|
*/
|
|
419
|
-
export function
|
|
392
|
+
export function memberControllerUpdateUserPassword({ memberId, updatePasswordRequest }, opts) {
|
|
420
393
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/password`, oazapfts.json({
|
|
421
394
|
...opts,
|
|
422
395
|
method: "PUT",
|
|
@@ -426,7 +399,7 @@ export function updateUserPassword({ memberId, updatePasswordRequest }, opts) {
|
|
|
426
399
|
/**
|
|
427
400
|
* Updates an account status based on the provided account ID.
|
|
428
401
|
*/
|
|
429
|
-
export function
|
|
402
|
+
export function adminAccountControllerUpdateAccountStatus({ accountId, accountStatusRequest }, opts) {
|
|
430
403
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/admin/accounts/${encodeURIComponent(accountId)}/status`, oazapfts.json({
|
|
431
404
|
...opts,
|
|
432
405
|
method: "PUT",
|
|
@@ -436,7 +409,7 @@ export function updateAccountStatus({ accountId, accountStatusRequest }, opts) {
|
|
|
436
409
|
/**
|
|
437
410
|
* Updates the sales representatives associated with an active account.
|
|
438
411
|
*/
|
|
439
|
-
export function
|
|
412
|
+
export function adminAccountControllerUpdateSalesRepresentatives({ accountId, updateSalesRepresentativesRequest }, opts) {
|
|
440
413
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/admin/accounts/${encodeURIComponent(accountId)}/sales-representatives`, oazapfts.json({
|
|
441
414
|
...opts,
|
|
442
415
|
method: "PUT",
|
|
@@ -446,7 +419,7 @@ export function updateSalesRepresentatives({ accountId, updateSalesRepresentativ
|
|
|
446
419
|
/**
|
|
447
420
|
* Enables an account by updating its status.
|
|
448
421
|
*/
|
|
449
|
-
export function
|
|
422
|
+
export function accountControllerUpdateAccountStatus({ accountId, accountStatusRequest }, opts) {
|
|
450
423
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/${encodeURIComponent(accountId)}/status`, oazapfts.json({
|
|
451
424
|
...opts,
|
|
452
425
|
method: "PUT",
|
|
@@ -456,7 +429,7 @@ export function updateAccountStatus1({ accountId, accountStatusRequest }, opts)
|
|
|
456
429
|
/**
|
|
457
430
|
* Retrieves detailed SSO information for a specified account.
|
|
458
431
|
*/
|
|
459
|
-
export function
|
|
432
|
+
export function ssoControllerGetAccountSso({ id }, opts) {
|
|
460
433
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}`, {
|
|
461
434
|
...opts
|
|
462
435
|
}));
|
|
@@ -464,7 +437,7 @@ export function getAccountSso({ id }, opts) {
|
|
|
464
437
|
/**
|
|
465
438
|
* Updates an existing SSO configuration for a specified ID.
|
|
466
439
|
*/
|
|
467
|
-
export function
|
|
440
|
+
export function ssoControllerUpdateSso({ id, accountSsoUpdateRequest }, opts) {
|
|
468
441
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}`, oazapfts.json({
|
|
469
442
|
...opts,
|
|
470
443
|
method: "PUT",
|
|
@@ -474,7 +447,7 @@ export function updateSso({ id, accountSsoUpdateRequest }, opts) {
|
|
|
474
447
|
/**
|
|
475
448
|
* Deletes a SSO configuration by its ID.
|
|
476
449
|
*/
|
|
477
|
-
export function
|
|
450
|
+
export function ssoControllerDeleteSso({ id }, opts) {
|
|
478
451
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}`, {
|
|
479
452
|
...opts,
|
|
480
453
|
method: "DELETE"
|
|
@@ -483,7 +456,7 @@ export function deleteSso({ id }, opts) {
|
|
|
483
456
|
/**
|
|
484
457
|
* Update partially a configured SSO from account
|
|
485
458
|
*/
|
|
486
|
-
export function
|
|
459
|
+
export function ssoControllerPartialUpdateSso({ id, accountSsoPartialUpdateRequest }, opts) {
|
|
487
460
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}`, oazapfts.json({
|
|
488
461
|
...opts,
|
|
489
462
|
method: "PATCH",
|
|
@@ -493,7 +466,7 @@ export function partialUpdateSso({ id, accountSsoPartialUpdateRequest }, opts) {
|
|
|
493
466
|
/**
|
|
494
467
|
* Retrieves the details of a SSO group mapping by its ID.
|
|
495
468
|
*/
|
|
496
|
-
export function
|
|
469
|
+
export function ssoControllerGetGroupMapById({ id, attributeImporterId }, opts) {
|
|
497
470
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/group-mapping/${encodeURIComponent(attributeImporterId)}`, {
|
|
498
471
|
...opts
|
|
499
472
|
}));
|
|
@@ -501,7 +474,7 @@ export function getGroupMapById({ id, attributeImporterId }, opts) {
|
|
|
501
474
|
/**
|
|
502
475
|
* Updates the SSO group mapping.
|
|
503
476
|
*/
|
|
504
|
-
export function
|
|
477
|
+
export function ssoControllerUpdateGroupMapping({ id, attributeImporterId, accountGroupMappingUpdateRequest }, opts) {
|
|
505
478
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/group-mapping/${encodeURIComponent(attributeImporterId)}`, oazapfts.json({
|
|
506
479
|
...opts,
|
|
507
480
|
method: "PUT",
|
|
@@ -511,7 +484,7 @@ export function updateGroupMapping({ id, attributeImporterId, accountGroupMappin
|
|
|
511
484
|
/**
|
|
512
485
|
* Deletes SSO Group Mapping.
|
|
513
486
|
*/
|
|
514
|
-
export function
|
|
487
|
+
export function ssoControllerDeleteGroupMapping({ id, attributeImporterId }, opts) {
|
|
515
488
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/group-mapping/${encodeURIComponent(attributeImporterId)}`, {
|
|
516
489
|
...opts,
|
|
517
490
|
method: "DELETE"
|
|
@@ -520,7 +493,7 @@ export function deleteGroupMapping({ id, attributeImporterId }, opts) {
|
|
|
520
493
|
/**
|
|
521
494
|
* TODO: Description
|
|
522
495
|
*/
|
|
523
|
-
export function
|
|
496
|
+
export function serviceCredentialControllerV3GetAll({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, status }, opts) {
|
|
524
497
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials${QS.query(QS.explode({
|
|
525
498
|
size,
|
|
526
499
|
page,
|
|
@@ -540,7 +513,7 @@ export function getAll({ size, page, sort, direction, search, filterMode, filter
|
|
|
540
513
|
/**
|
|
541
514
|
* Create a new Service Credential
|
|
542
515
|
*/
|
|
543
|
-
export function
|
|
516
|
+
export function serviceCredentialControllerV3Create({ serviceCredentialCreateRequestV3 }, opts) {
|
|
544
517
|
return oazapfts.ok(oazapfts.fetchJson("/v3/service-credentials", oazapfts.json({
|
|
545
518
|
...opts,
|
|
546
519
|
method: "POST",
|
|
@@ -550,7 +523,7 @@ export function create({ serviceCredentialCreateRequestV3 }, opts) {
|
|
|
550
523
|
/**
|
|
551
524
|
* Retrieves a list of service credentials associated with the current user
|
|
552
525
|
*/
|
|
553
|
-
export function
|
|
526
|
+
export function serviceCredentialControllerV2GetServiceCredentials({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, name, status }, opts) {
|
|
554
527
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials${QS.query(QS.explode({
|
|
555
528
|
size,
|
|
556
529
|
page,
|
|
@@ -571,46 +544,17 @@ export function getServiceCredentials({ size, page, sort, direction, search, fil
|
|
|
571
544
|
/**
|
|
572
545
|
* Creates a new service credential for the current user.
|
|
573
546
|
*/
|
|
574
|
-
export function
|
|
547
|
+
export function serviceCredentialControllerV2CreateServiceCredential({ serviceCredentialCreateRequestV2 }, opts) {
|
|
575
548
|
return oazapfts.ok(oazapfts.fetchJson("/v2/service-credentials", oazapfts.json({
|
|
576
549
|
...opts,
|
|
577
550
|
method: "POST",
|
|
578
551
|
body: serviceCredentialCreateRequestV2
|
|
579
552
|
})));
|
|
580
553
|
}
|
|
581
|
-
/**
|
|
582
|
-
* Retrieves a list of resources.
|
|
583
|
-
*/
|
|
584
|
-
export function getResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
585
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v2/resources${QS.query(QS.explode({
|
|
586
|
-
size,
|
|
587
|
-
page,
|
|
588
|
-
sort,
|
|
589
|
-
direction,
|
|
590
|
-
search,
|
|
591
|
-
filterMode,
|
|
592
|
-
filterBy,
|
|
593
|
-
filterValue,
|
|
594
|
-
multiFilterMode,
|
|
595
|
-
filterIn
|
|
596
|
-
}))}`, {
|
|
597
|
-
...opts
|
|
598
|
-
}));
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Creates a new resource for the account.
|
|
602
|
-
*/
|
|
603
|
-
export function createResource({ createResourceV2Request }, opts) {
|
|
604
|
-
return oazapfts.ok(oazapfts.fetchJson("/v2/resources", oazapfts.json({
|
|
605
|
-
...opts,
|
|
606
|
-
method: "POST",
|
|
607
|
-
body: createResourceV2Request
|
|
608
|
-
})));
|
|
609
|
-
}
|
|
610
554
|
/**
|
|
611
555
|
* Get Group Resources
|
|
612
556
|
*/
|
|
613
|
-
export function
|
|
557
|
+
export function groupControllerV2GetGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
614
558
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/resources${QS.query(QS.explode({
|
|
615
559
|
size,
|
|
616
560
|
page,
|
|
@@ -629,7 +573,7 @@ export function getGroupResources({ groupId, size, page, sort, direction, search
|
|
|
629
573
|
/**
|
|
630
574
|
* Add Multiple Resources to Group
|
|
631
575
|
*/
|
|
632
|
-
export function
|
|
576
|
+
export function groupControllerV2AddResourcesToGroupBySlugAndType({ groupId, body }, opts) {
|
|
633
577
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/resources`, oazapfts.json({
|
|
634
578
|
...opts,
|
|
635
579
|
method: "POST",
|
|
@@ -639,7 +583,7 @@ export function addResourcesToGroupBySlugAndType({ groupId, body }, opts) {
|
|
|
639
583
|
/**
|
|
640
584
|
* Returns a paged list of Feature Flags associated with the current user's account.
|
|
641
585
|
*/
|
|
642
|
-
export function
|
|
586
|
+
export function featureFlagControllerV2GetFeatures({ featureFlagPageRequest }, opts) {
|
|
643
587
|
return oazapfts.ok(oazapfts.fetchJson("/v2/feature-flags", oazapfts.json({
|
|
644
588
|
...opts,
|
|
645
589
|
method: "POST",
|
|
@@ -649,7 +593,7 @@ export function getFeatures({ featureFlagPageRequest }, opts) {
|
|
|
649
593
|
/**
|
|
650
594
|
* Returns a list of Feature Flags associated with the current user's account.
|
|
651
595
|
*/
|
|
652
|
-
export function
|
|
596
|
+
export function featureFlagAdminControllerV2GetFeatures(opts) {
|
|
653
597
|
return oazapfts.ok(oazapfts.fetchJson("/v2/admin/feature-flags", {
|
|
654
598
|
...opts
|
|
655
599
|
}));
|
|
@@ -657,7 +601,7 @@ export function getFeatures1(opts) {
|
|
|
657
601
|
/**
|
|
658
602
|
* Creates a new Feature Flag and returns its unique identifier.
|
|
659
603
|
*/
|
|
660
|
-
export function
|
|
604
|
+
export function featureFlagAdminControllerV2Create({ createFeatureFlagRequest }, opts) {
|
|
661
605
|
return oazapfts.ok(oazapfts.fetchJson("/v2/admin/feature-flags", oazapfts.json({
|
|
662
606
|
...opts,
|
|
663
607
|
method: "POST",
|
|
@@ -667,7 +611,7 @@ export function create1({ createFeatureFlagRequest }, opts) {
|
|
|
667
611
|
/**
|
|
668
612
|
* Returns a paged list of Feature Flags associated with the current user's account.
|
|
669
613
|
*/
|
|
670
|
-
export function
|
|
614
|
+
export function featureFlagAdminControllerV2GetAccountFeatureFlags({ accountId, featureFlagPageRequest }, opts) {
|
|
671
615
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/feature-flags/account/${encodeURIComponent(accountId)}`, oazapfts.json({
|
|
672
616
|
...opts,
|
|
673
617
|
method: "POST",
|
|
@@ -677,7 +621,7 @@ export function getFeatures2({ accountId, featureFlagPageRequest }, opts) {
|
|
|
677
621
|
/**
|
|
678
622
|
* Retrieves a page of external links for a specified account.
|
|
679
623
|
*/
|
|
680
|
-
export function
|
|
624
|
+
export function adminExternalLinkControllerGetExternalLinks({ accountId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
681
625
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/accounts/${encodeURIComponent(accountId)}/external-links${QS.query(QS.explode({
|
|
682
626
|
size,
|
|
683
627
|
page,
|
|
@@ -696,7 +640,7 @@ export function getExternalLinks({ accountId, size, page, sort, direction, searc
|
|
|
696
640
|
/**
|
|
697
641
|
* Creates a new external link.
|
|
698
642
|
*/
|
|
699
|
-
export function
|
|
643
|
+
export function adminExternalLinkControllerCreateExternalLink({ accountId, externalLinkRequest }, opts) {
|
|
700
644
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/accounts/${encodeURIComponent(accountId)}/external-links`, oazapfts.json({
|
|
701
645
|
...opts,
|
|
702
646
|
method: "POST",
|
|
@@ -706,7 +650,7 @@ export function createExternalLink({ accountId, externalLinkRequest }, opts) {
|
|
|
706
650
|
/**
|
|
707
651
|
* Get Service Credentials
|
|
708
652
|
*/
|
|
709
|
-
export function
|
|
653
|
+
export function serviceCredentialControllerGetServiceCredentials({ name, status, page, size }, opts) {
|
|
710
654
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials${QS.query(QS.explode({
|
|
711
655
|
name,
|
|
712
656
|
status,
|
|
@@ -719,7 +663,7 @@ export function getServiceCredentials1({ name, status, page, size }, opts) {
|
|
|
719
663
|
/**
|
|
720
664
|
* Create Service Credential
|
|
721
665
|
*/
|
|
722
|
-
export function
|
|
666
|
+
export function serviceCredentialControllerCreateServiceCredential({ serviceCredentialCreateRequest }, opts) {
|
|
723
667
|
return oazapfts.ok(oazapfts.fetchJson("/v1/service-credentials", oazapfts.json({
|
|
724
668
|
...opts,
|
|
725
669
|
method: "POST",
|
|
@@ -729,7 +673,7 @@ export function createServiceCredential1({ serviceCredentialCreateRequest }, opt
|
|
|
729
673
|
/**
|
|
730
674
|
* Notify about Service Credential expiration
|
|
731
675
|
*/
|
|
732
|
-
export function
|
|
676
|
+
export function serviceCredentialControllerNotifyServiceCredentialExpiration({ serviceCredentialExpirationRequest }, opts) {
|
|
733
677
|
return oazapfts.ok(oazapfts.fetchJson("/v1/service-credentials/expiration", oazapfts.json({
|
|
734
678
|
...opts,
|
|
735
679
|
method: "POST",
|
|
@@ -739,7 +683,7 @@ export function notifyServiceCredentialExpiration({ serviceCredentialExpirationR
|
|
|
739
683
|
/**
|
|
740
684
|
* Find secrets with multiple filters and conditions
|
|
741
685
|
*/
|
|
742
|
-
export function
|
|
686
|
+
export function secretControllerFindSecrets({ size, page, sort, direction, search, filterByScope, filterByType, filterByScopedBy, filterByScopedValue, authorizedOnly }, opts) {
|
|
743
687
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/secrets${QS.query(QS.explode({
|
|
744
688
|
size,
|
|
745
689
|
page,
|
|
@@ -758,7 +702,7 @@ export function findSecrets({ size, page, sort, direction, search, filterByScope
|
|
|
758
702
|
/**
|
|
759
703
|
* Create a new secret
|
|
760
704
|
*/
|
|
761
|
-
export function
|
|
705
|
+
export function secretControllerCreateSecret({ createSecretRequest }, opts) {
|
|
762
706
|
return oazapfts.ok(oazapfts.fetchJson("/v1/secrets", oazapfts.json({
|
|
763
707
|
...opts,
|
|
764
708
|
method: "POST",
|
|
@@ -768,7 +712,7 @@ export function createSecret({ createSecretRequest }, opts) {
|
|
|
768
712
|
/**
|
|
769
713
|
* Check if user has access to secret
|
|
770
714
|
*/
|
|
771
|
-
export function
|
|
715
|
+
export function secretControllerCheckAccess({ checkSecretAccessRequest }, opts) {
|
|
772
716
|
return oazapfts.ok(oazapfts.fetchJson("/v1/secrets/check-access", oazapfts.json({
|
|
773
717
|
...opts,
|
|
774
718
|
method: "POST",
|
|
@@ -778,7 +722,7 @@ export function findSecrets1({ checkSecretAccessRequest }, opts) {
|
|
|
778
722
|
/**
|
|
779
723
|
* Retrieves a paginated list of scope details for the current user's tenant.
|
|
780
724
|
*/
|
|
781
|
-
export function
|
|
725
|
+
export function scopeControllerFindScopes({ page }, opts) {
|
|
782
726
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/scopes${QS.query(QS.explode({
|
|
783
727
|
page
|
|
784
728
|
}))}`, {
|
|
@@ -788,7 +732,7 @@ export function findScopes({ page }, opts) {
|
|
|
788
732
|
/**
|
|
789
733
|
* Creates a new IAM scope for the current user's tenant using the provided request details.
|
|
790
734
|
*/
|
|
791
|
-
export function
|
|
735
|
+
export function scopeControllerCreateScope({ iamCreateScopeRequest }, opts) {
|
|
792
736
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scopes", oazapfts.json({
|
|
793
737
|
...opts,
|
|
794
738
|
method: "POST",
|
|
@@ -798,7 +742,7 @@ export function createScope({ iamCreateScopeRequest }, opts) {
|
|
|
798
742
|
/**
|
|
799
743
|
* Retrieves a list of roles available to the current account.
|
|
800
744
|
*/
|
|
801
|
-
export function
|
|
745
|
+
export function roleControllerGetRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
802
746
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles${QS.query(QS.explode({
|
|
803
747
|
size,
|
|
804
748
|
page,
|
|
@@ -817,7 +761,7 @@ export function getRoles({ size, page, sort, direction, search, filterMode, filt
|
|
|
817
761
|
/**
|
|
818
762
|
* Creates a new account role.
|
|
819
763
|
*/
|
|
820
|
-
export function
|
|
764
|
+
export function roleControllerCreateAccountRole({ createAccountRoleRequest }, opts) {
|
|
821
765
|
return oazapfts.ok(oazapfts.fetchJson("/v1/roles", oazapfts.json({
|
|
822
766
|
...opts,
|
|
823
767
|
method: "POST",
|
|
@@ -827,7 +771,7 @@ export function createAccountRole({ createAccountRoleRequest }, opts) {
|
|
|
827
771
|
/**
|
|
828
772
|
* Retrieves a list of role members for a specified role.
|
|
829
773
|
*/
|
|
830
|
-
export function
|
|
774
|
+
export function roleControllerGetRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
831
775
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/members${QS.query(QS.explode({
|
|
832
776
|
size,
|
|
833
777
|
page,
|
|
@@ -846,7 +790,7 @@ export function getRoleMembers({ roleId, size, page, sort, direction, search, fi
|
|
|
846
790
|
/**
|
|
847
791
|
* Assigns a specified role to a list of members.
|
|
848
792
|
*/
|
|
849
|
-
export function
|
|
793
|
+
export function roleControllerAddRoleToMember({ roleId, addRoleToMemberRequest }, opts) {
|
|
850
794
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/members`, oazapfts.json({
|
|
851
795
|
...opts,
|
|
852
796
|
method: "POST",
|
|
@@ -856,7 +800,7 @@ export function addRoleToMember({ roleId, addRoleToMemberRequest }, opts) {
|
|
|
856
800
|
/**
|
|
857
801
|
* Retrieves a list of role groups associated with a specific group ID.
|
|
858
802
|
*/
|
|
859
|
-
export function
|
|
803
|
+
export function roleControllerGetRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
860
804
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/groups${QS.query(QS.explode({
|
|
861
805
|
size,
|
|
862
806
|
page,
|
|
@@ -875,7 +819,7 @@ export function getRoleGroups({ roleId, size, page, sort, direction, search, fil
|
|
|
875
819
|
/**
|
|
876
820
|
* Bind a role to a group.
|
|
877
821
|
*/
|
|
878
|
-
export function
|
|
822
|
+
export function roleControllerBindRoleGroups({ roleId, roleGroupIdsRequest }, opts) {
|
|
879
823
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/groups`, oazapfts.json({
|
|
880
824
|
...opts,
|
|
881
825
|
method: "POST",
|
|
@@ -885,7 +829,7 @@ export function bindRoleGroups({ roleId, roleGroupIdsRequest }, opts) {
|
|
|
885
829
|
/**
|
|
886
830
|
* Retrieves a list of resources.
|
|
887
831
|
*/
|
|
888
|
-
export function
|
|
832
|
+
export function resourceControllerGetResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
889
833
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources${QS.query(QS.explode({
|
|
890
834
|
size,
|
|
891
835
|
page,
|
|
@@ -904,7 +848,7 @@ export function getResources1({ size, page, sort, direction, search, filterMode,
|
|
|
904
848
|
/**
|
|
905
849
|
* Creates a new resource for the account.
|
|
906
850
|
*/
|
|
907
|
-
export function
|
|
851
|
+
export function resourceControllerCreateResource({ createResourceRequest }, opts) {
|
|
908
852
|
return oazapfts.ok(oazapfts.fetchJson("/v1/resources", oazapfts.json({
|
|
909
853
|
...opts,
|
|
910
854
|
method: "POST",
|
|
@@ -914,7 +858,7 @@ export function createResource1({ createResourceRequest }, opts) {
|
|
|
914
858
|
/**
|
|
915
859
|
* Get all resources reviews
|
|
916
860
|
*/
|
|
917
|
-
export function
|
|
861
|
+
export function resourceReviewControllerGetReviews({ resourceSlug, resourceTypeSlug, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
918
862
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}/reviews${QS.query(QS.explode({
|
|
919
863
|
size,
|
|
920
864
|
page,
|
|
@@ -933,7 +877,7 @@ export function getReviews({ resourceSlug, resourceTypeSlug, size, page, sort, d
|
|
|
933
877
|
/**
|
|
934
878
|
* Create a resource review
|
|
935
879
|
*/
|
|
936
|
-
export function
|
|
880
|
+
export function resourceReviewControllerCreateReview({ resourceSlug, resourceTypeSlug, xMemberId, createResourceReviewRequest }, opts) {
|
|
937
881
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/${encodeURIComponent(resourceSlug)}/resource-type/${encodeURIComponent(resourceTypeSlug)}/reviews`, oazapfts.json({
|
|
938
882
|
...opts,
|
|
939
883
|
method: "POST",
|
|
@@ -946,7 +890,7 @@ export function createReview({ resourceSlug, resourceTypeSlug, xMemberId, create
|
|
|
946
890
|
/**
|
|
947
891
|
* Create an answer to a review
|
|
948
892
|
*/
|
|
949
|
-
export function
|
|
893
|
+
export function resourceReviewControllerCreateReviewAnswer({ reviewId, xMemberId, createReviewAnswerRequest }, opts) {
|
|
950
894
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/reviews/${encodeURIComponent(reviewId)}/answers`, oazapfts.json({
|
|
951
895
|
...opts,
|
|
952
896
|
method: "POST",
|
|
@@ -956,68 +900,10 @@ export function createReviewAnswer({ reviewId, xMemberId, createReviewAnswerRequ
|
|
|
956
900
|
})
|
|
957
901
|
})));
|
|
958
902
|
}
|
|
959
|
-
/**
|
|
960
|
-
* List permissions set
|
|
961
|
-
*/
|
|
962
|
-
export function listAll({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
963
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets${QS.query(QS.explode({
|
|
964
|
-
size,
|
|
965
|
-
page,
|
|
966
|
-
sort,
|
|
967
|
-
direction,
|
|
968
|
-
search,
|
|
969
|
-
filterMode,
|
|
970
|
-
filterBy,
|
|
971
|
-
filterValue,
|
|
972
|
-
multiFilterMode,
|
|
973
|
-
filterIn
|
|
974
|
-
}))}`, {
|
|
975
|
-
...opts
|
|
976
|
-
}));
|
|
977
|
-
}
|
|
978
|
-
/**
|
|
979
|
-
* Creates a new permission set
|
|
980
|
-
*/
|
|
981
|
-
export function create2({ createPermissionSetRequest }, opts) {
|
|
982
|
-
return oazapfts.ok(oazapfts.fetchJson("/v1/permission-sets", oazapfts.json({
|
|
983
|
-
...opts,
|
|
984
|
-
method: "POST",
|
|
985
|
-
body: createPermissionSetRequest
|
|
986
|
-
})));
|
|
987
|
-
}
|
|
988
|
-
/**
|
|
989
|
-
* List all revisions for a permission set
|
|
990
|
-
*/
|
|
991
|
-
export function listRevisions({ permissionSetId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
992
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/revisions${QS.query(QS.explode({
|
|
993
|
-
size,
|
|
994
|
-
page,
|
|
995
|
-
sort,
|
|
996
|
-
direction,
|
|
997
|
-
search,
|
|
998
|
-
filterMode,
|
|
999
|
-
filterBy,
|
|
1000
|
-
filterValue,
|
|
1001
|
-
multiFilterMode,
|
|
1002
|
-
filterIn
|
|
1003
|
-
}))}`, {
|
|
1004
|
-
...opts
|
|
1005
|
-
}));
|
|
1006
|
-
}
|
|
1007
|
-
/**
|
|
1008
|
-
* Creates a new revision for a permission set
|
|
1009
|
-
*/
|
|
1010
|
-
export function createRevision({ permissionSetId, createPermissionSetRevisionRequest }, opts) {
|
|
1011
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/revisions`, oazapfts.json({
|
|
1012
|
-
...opts,
|
|
1013
|
-
method: "POST",
|
|
1014
|
-
body: createPermissionSetRevisionRequest
|
|
1015
|
-
})));
|
|
1016
|
-
}
|
|
1017
903
|
/**
|
|
1018
904
|
* Retrieves a list of account members for a specified account.
|
|
1019
905
|
*/
|
|
1020
|
-
export function
|
|
906
|
+
export function memberControllerGetAccountMembers({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1021
907
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members${QS.query(QS.explode({
|
|
1022
908
|
size,
|
|
1023
909
|
page,
|
|
@@ -1036,7 +922,7 @@ export function getAccountMembers({ size, page, sort, direction, search, filterM
|
|
|
1036
922
|
/**
|
|
1037
923
|
* Creates a new user in the account.
|
|
1038
924
|
*/
|
|
1039
|
-
export function
|
|
925
|
+
export function memberControllerCreateUser({ createUserRequest }, opts) {
|
|
1040
926
|
return oazapfts.ok(oazapfts.fetchJson("/v1/members", oazapfts.json({
|
|
1041
927
|
...opts,
|
|
1042
928
|
method: "POST",
|
|
@@ -1046,7 +932,7 @@ export function createUser({ createUserRequest }, opts) {
|
|
|
1046
932
|
/**
|
|
1047
933
|
* Retrieves a paginated list of roles associated with a specific member.
|
|
1048
934
|
*/
|
|
1049
|
-
export function
|
|
935
|
+
export function memberControllerGetRoles({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1050
936
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/roles${QS.query(QS.explode({
|
|
1051
937
|
size,
|
|
1052
938
|
page,
|
|
@@ -1065,7 +951,7 @@ export function getRoles1({ memberId, size, page, sort, direction, search, filte
|
|
|
1065
951
|
/**
|
|
1066
952
|
* Binds a member to a list of roles.
|
|
1067
953
|
*/
|
|
1068
|
-
export function
|
|
954
|
+
export function memberControllerBindToRoles({ memberId, memberIdsCommonRequest }, opts) {
|
|
1069
955
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/roles`, oazapfts.json({
|
|
1070
956
|
...opts,
|
|
1071
957
|
method: "POST",
|
|
@@ -1075,7 +961,7 @@ export function bindToRoles({ memberId, memberIdsCommonRequest }, opts) {
|
|
|
1075
961
|
/**
|
|
1076
962
|
* Resets the OTP configuration for a specified member.
|
|
1077
963
|
*/
|
|
1078
|
-
export function
|
|
964
|
+
export function memberControllerResetOtp({ memberId }, opts) {
|
|
1079
965
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/reset-otp`, {
|
|
1080
966
|
...opts,
|
|
1081
967
|
method: "POST"
|
|
@@ -1084,7 +970,7 @@ export function resetOtp({ memberId }, opts) {
|
|
|
1084
970
|
/**
|
|
1085
971
|
* Retrieves a list of groups associated with a specific member.
|
|
1086
972
|
*/
|
|
1087
|
-
export function
|
|
973
|
+
export function memberControllerGetMemberGroups({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1088
974
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/groups${QS.query(QS.explode({
|
|
1089
975
|
size,
|
|
1090
976
|
page,
|
|
@@ -1103,7 +989,7 @@ export function getMemberGroups({ memberId, size, page, sort, direction, search,
|
|
|
1103
989
|
/**
|
|
1104
990
|
* Binds a member to a list of groups.
|
|
1105
991
|
*/
|
|
1106
|
-
export function
|
|
992
|
+
export function memberControllerBindToGroups({ memberId, memberIdsCommonRequest }, opts) {
|
|
1107
993
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/groups`, oazapfts.json({
|
|
1108
994
|
...opts,
|
|
1109
995
|
method: "POST",
|
|
@@ -1113,7 +999,7 @@ export function bindToGroups({ memberId, memberIdsCommonRequest }, opts) {
|
|
|
1113
999
|
/**
|
|
1114
1000
|
* Retrieves a magic link to create a new FIDO key.
|
|
1115
1001
|
*/
|
|
1116
|
-
export function
|
|
1002
|
+
export function memberControllerCreateFidoMagicLink({ memberId, magicLinkRequest }, opts) {
|
|
1117
1003
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/fido-credentials/magic-link`, oazapfts.json({
|
|
1118
1004
|
...opts,
|
|
1119
1005
|
method: "POST",
|
|
@@ -1123,7 +1009,7 @@ export function createFidoMagicLink({ memberId, magicLinkRequest }, opts) {
|
|
|
1123
1009
|
/**
|
|
1124
1010
|
* Get account member favorite resources
|
|
1125
1011
|
*/
|
|
1126
|
-
export function
|
|
1012
|
+
export function memberFavoritesControllerListAccountMemberFavorites({ memberId }, opts) {
|
|
1127
1013
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/favorites`, {
|
|
1128
1014
|
...opts
|
|
1129
1015
|
}));
|
|
@@ -1131,7 +1017,7 @@ export function listAccountMemberFavorites({ memberId }, opts) {
|
|
|
1131
1017
|
/**
|
|
1132
1018
|
* Add account member favorite resource
|
|
1133
1019
|
*/
|
|
1134
|
-
export function
|
|
1020
|
+
export function memberFavoritesControllerAddAccountMemberFavorite({ memberId, createFavoriteResourceRequest }, opts) {
|
|
1135
1021
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/favorites`, oazapfts.json({
|
|
1136
1022
|
...opts,
|
|
1137
1023
|
method: "POST",
|
|
@@ -1141,7 +1027,7 @@ export function addAccountMemberFavorite({ memberId, createFavoriteResourceReque
|
|
|
1141
1027
|
/**
|
|
1142
1028
|
* Resets the password for a user by generating a magic link and sending it to their email.
|
|
1143
1029
|
*/
|
|
1144
|
-
export function
|
|
1030
|
+
export function memberControllerResetPassword({ memberEmailRequest }, opts) {
|
|
1145
1031
|
return oazapfts.ok(oazapfts.fetchJson("/v1/members/reset-password", oazapfts.json({
|
|
1146
1032
|
...opts,
|
|
1147
1033
|
method: "POST",
|
|
@@ -1151,7 +1037,7 @@ export function resetPassword({ memberEmailRequest }, opts) {
|
|
|
1151
1037
|
/**
|
|
1152
1038
|
* Create a personal lead contact
|
|
1153
1039
|
*/
|
|
1154
|
-
export function
|
|
1040
|
+
export function leadControllerPersonalContact({ personalLeadRequest }, opts) {
|
|
1155
1041
|
return oazapfts.ok(oazapfts.fetchJson("/v1/leads/personal", oazapfts.json({
|
|
1156
1042
|
...opts,
|
|
1157
1043
|
method: "POST",
|
|
@@ -1161,7 +1047,7 @@ export function personalContact({ personalLeadRequest }, opts) {
|
|
|
1161
1047
|
/**
|
|
1162
1048
|
* Create an enterprise lead contact
|
|
1163
1049
|
*/
|
|
1164
|
-
export function
|
|
1050
|
+
export function leadControllerEnterpriseContact({ enterpriseLeadRequest }, opts) {
|
|
1165
1051
|
return oazapfts.ok(oazapfts.fetchJson("/v1/leads/enterprise", oazapfts.json({
|
|
1166
1052
|
...opts,
|
|
1167
1053
|
method: "POST",
|
|
@@ -1171,7 +1057,7 @@ export function enterpriseContact({ enterpriseLeadRequest }, opts) {
|
|
|
1171
1057
|
/**
|
|
1172
1058
|
* Get Groups
|
|
1173
1059
|
*/
|
|
1174
|
-
export function
|
|
1060
|
+
export function groupControllerGetGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }, opts) {
|
|
1175
1061
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups${QS.query(QS.explode({
|
|
1176
1062
|
size,
|
|
1177
1063
|
page,
|
|
@@ -1191,7 +1077,7 @@ export function getGroups({ size, page, sort, direction, search, filterMode, fil
|
|
|
1191
1077
|
/**
|
|
1192
1078
|
* Create Group
|
|
1193
1079
|
*/
|
|
1194
|
-
export function
|
|
1080
|
+
export function groupControllerSave({ newGroupRequest }, opts) {
|
|
1195
1081
|
return oazapfts.ok(oazapfts.fetchJson("/v1/groups", oazapfts.json({
|
|
1196
1082
|
...opts,
|
|
1197
1083
|
method: "POST",
|
|
@@ -1201,7 +1087,7 @@ export function save({ newGroupRequest }, opts) {
|
|
|
1201
1087
|
/**
|
|
1202
1088
|
* Get Group members
|
|
1203
1089
|
*/
|
|
1204
|
-
export function
|
|
1090
|
+
export function groupControllerGetRoles({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1205
1091
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/roles${QS.query(QS.explode({
|
|
1206
1092
|
size,
|
|
1207
1093
|
page,
|
|
@@ -1220,7 +1106,7 @@ export function getRoles2({ groupId, size, page, sort, direction, search, filter
|
|
|
1220
1106
|
/**
|
|
1221
1107
|
* Bind Group roles
|
|
1222
1108
|
*/
|
|
1223
|
-
export function
|
|
1109
|
+
export function groupControllerBindRoles({ groupId, groupRoleIdsRequest }, opts) {
|
|
1224
1110
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/roles`, oazapfts.json({
|
|
1225
1111
|
...opts,
|
|
1226
1112
|
method: "POST",
|
|
@@ -1230,7 +1116,7 @@ export function bindRoles({ groupId, groupRoleIdsRequest }, opts) {
|
|
|
1230
1116
|
/**
|
|
1231
1117
|
* Get Group Resources
|
|
1232
1118
|
*/
|
|
1233
|
-
export function
|
|
1119
|
+
export function groupControllerGetGroupResources({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1234
1120
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/resources${QS.query(QS.explode({
|
|
1235
1121
|
size,
|
|
1236
1122
|
page,
|
|
@@ -1249,7 +1135,7 @@ export function getGroupResources1({ groupId, size, page, sort, direction, searc
|
|
|
1249
1135
|
/**
|
|
1250
1136
|
* Add Multiple Resources to Group
|
|
1251
1137
|
*/
|
|
1252
|
-
export function
|
|
1138
|
+
export function groupControllerAddResourcesToGroup({ groupId, addResourcesToGroupRequest }, opts) {
|
|
1253
1139
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/resources`, oazapfts.json({
|
|
1254
1140
|
...opts,
|
|
1255
1141
|
method: "POST",
|
|
@@ -1259,7 +1145,7 @@ export function addResourcesToGroup({ groupId, addResourcesToGroupRequest }, opt
|
|
|
1259
1145
|
/**
|
|
1260
1146
|
* Get Group members
|
|
1261
1147
|
*/
|
|
1262
|
-
export function
|
|
1148
|
+
export function groupControllerGetMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1263
1149
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/members${QS.query(QS.explode({
|
|
1264
1150
|
size,
|
|
1265
1151
|
page,
|
|
@@ -1278,7 +1164,7 @@ export function getMembers({ groupId, size, page, sort, direction, search, filte
|
|
|
1278
1164
|
/**
|
|
1279
1165
|
* Bind Group member
|
|
1280
1166
|
*/
|
|
1281
|
-
export function
|
|
1167
|
+
export function groupControllerBindGroupMembers({ groupId, groupMemberIdsRequest }, opts) {
|
|
1282
1168
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/members`, oazapfts.json({
|
|
1283
1169
|
...opts,
|
|
1284
1170
|
method: "POST",
|
|
@@ -1288,7 +1174,7 @@ export function bindGroupMembers({ groupId, groupMemberIdsRequest }, opts) {
|
|
|
1288
1174
|
/**
|
|
1289
1175
|
* List extensions that user is allowed to manage
|
|
1290
1176
|
*/
|
|
1291
|
-
export function
|
|
1177
|
+
export function extensionControllerListManageableExtensions({ actions }, opts) {
|
|
1292
1178
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions${QS.query(QS.explode({
|
|
1293
1179
|
actions
|
|
1294
1180
|
}))}`, {
|
|
@@ -1298,7 +1184,7 @@ export function listManageableExtensions({ actions }, opts) {
|
|
|
1298
1184
|
/**
|
|
1299
1185
|
* Create Account Extension
|
|
1300
1186
|
*/
|
|
1301
|
-
export function
|
|
1187
|
+
export function extensionControllerCreateExtension({ extensionCreateRequest }, opts) {
|
|
1302
1188
|
return oazapfts.ok(oazapfts.fetchJson("/v1/extensions", oazapfts.json({
|
|
1303
1189
|
...opts,
|
|
1304
1190
|
method: "POST",
|
|
@@ -1308,7 +1194,7 @@ export function createExtension({ extensionCreateRequest }, opts) {
|
|
|
1308
1194
|
/**
|
|
1309
1195
|
* List all Account Extension Versions
|
|
1310
1196
|
*/
|
|
1311
|
-
export function
|
|
1197
|
+
export function extensionControllerListExtensionVersions({ slug }, opts) {
|
|
1312
1198
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}/versions`, {
|
|
1313
1199
|
...opts
|
|
1314
1200
|
}));
|
|
@@ -1316,7 +1202,7 @@ export function listExtensionVersions({ slug }, opts) {
|
|
|
1316
1202
|
/**
|
|
1317
1203
|
* Create Account Extension Version
|
|
1318
1204
|
*/
|
|
1319
|
-
export function
|
|
1205
|
+
export function extensionControllerCreateExtensionVersion({ slug, name, body }, opts) {
|
|
1320
1206
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}/versions${QS.query(QS.explode({
|
|
1321
1207
|
name
|
|
1322
1208
|
}))}`, oazapfts.multipart({
|
|
@@ -1328,7 +1214,7 @@ export function createExtensionVersion({ slug, name, body }, opts) {
|
|
|
1328
1214
|
/**
|
|
1329
1215
|
* List all Account Extension Links
|
|
1330
1216
|
*/
|
|
1331
|
-
export function
|
|
1217
|
+
export function extensionControllerListExtensionLinks({ workspaceId, $type, extensionSlug, showOnlyActive }, opts) {
|
|
1332
1218
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extension-links${QS.query(QS.explode({
|
|
1333
1219
|
workspaceId,
|
|
1334
1220
|
"type": $type,
|
|
@@ -1341,7 +1227,7 @@ export function listExtensionLinks({ workspaceId, $type, extensionSlug, showOnly
|
|
|
1341
1227
|
/**
|
|
1342
1228
|
* Create Account Extension Link
|
|
1343
1229
|
*/
|
|
1344
|
-
export function
|
|
1230
|
+
export function extensionControllerCreateExtensionLink({ extensionLinkCreateRequest }, opts) {
|
|
1345
1231
|
return oazapfts.ok(oazapfts.fetchJson("/v1/extension-links", oazapfts.json({
|
|
1346
1232
|
...opts,
|
|
1347
1233
|
method: "POST",
|
|
@@ -1351,7 +1237,7 @@ export function createExtensionLink({ extensionLinkCreateRequest }, opts) {
|
|
|
1351
1237
|
/**
|
|
1352
1238
|
* Receive engagement form webhook
|
|
1353
1239
|
*/
|
|
1354
|
-
export function
|
|
1240
|
+
export function engagementFormControllerReceiveWebhook({ provider, body }, opts) {
|
|
1355
1241
|
return oazapfts.ok(oazapfts.fetchText(`/v1/engagement/forms/webhook/${encodeURIComponent(provider)}`, oazapfts.json({
|
|
1356
1242
|
...opts,
|
|
1357
1243
|
method: "POST",
|
|
@@ -1361,7 +1247,7 @@ export function receiveWebhook({ provider, body }, opts) {
|
|
|
1361
1247
|
/**
|
|
1362
1248
|
* Check if user has answered forms
|
|
1363
1249
|
*/
|
|
1364
|
-
export function
|
|
1250
|
+
export function engagementFormControllerHasUserAnsweredForm({ hasUserAnsweredFormRequest }, opts) {
|
|
1365
1251
|
return oazapfts.ok(oazapfts.fetchJson("/v1/engagement/forms/answered", oazapfts.json({
|
|
1366
1252
|
...opts,
|
|
1367
1253
|
method: "POST",
|
|
@@ -1371,7 +1257,7 @@ export function hasUserAnsweredForm({ hasUserAnsweredFormRequest }, opts) {
|
|
|
1371
1257
|
/**
|
|
1372
1258
|
* Send Welcome Email
|
|
1373
1259
|
*/
|
|
1374
|
-
export function
|
|
1260
|
+
export function emailControllerSendWelcomeEmail({ welcomeEmailRequest }, opts) {
|
|
1375
1261
|
return oazapfts.ok(oazapfts.fetchJson("/v1/emails/welcome", oazapfts.json({
|
|
1376
1262
|
...opts,
|
|
1377
1263
|
method: "POST",
|
|
@@ -1381,7 +1267,7 @@ export function sendWelcomeEmail({ welcomeEmailRequest }, opts) {
|
|
|
1381
1267
|
/**
|
|
1382
1268
|
* Send Download Email
|
|
1383
1269
|
*/
|
|
1384
|
-
export function
|
|
1270
|
+
export function emailControllerSendDownloadEmail(opts) {
|
|
1385
1271
|
return oazapfts.ok(oazapfts.fetchJson("/v1/emails/download", {
|
|
1386
1272
|
...opts,
|
|
1387
1273
|
method: "POST"
|
|
@@ -1390,7 +1276,7 @@ export function sendDownloadEmail(opts) {
|
|
|
1390
1276
|
/**
|
|
1391
1277
|
* Send contact email
|
|
1392
1278
|
*/
|
|
1393
|
-
export function
|
|
1279
|
+
export function emailControllerSendContactEmail({ contactEmailRequest }, opts) {
|
|
1394
1280
|
return oazapfts.ok(oazapfts.fetchJson("/v1/emails/contact", oazapfts.json({
|
|
1395
1281
|
...opts,
|
|
1396
1282
|
method: "POST",
|
|
@@ -1400,7 +1286,7 @@ export function sendContactEmail({ contactEmailRequest }, opts) {
|
|
|
1400
1286
|
/**
|
|
1401
1287
|
* Validates a campaign code and returns true if exists and its enabled
|
|
1402
1288
|
*/
|
|
1403
|
-
export function
|
|
1289
|
+
export function campaignControllerValidateCampaignCode({ code }, opts) {
|
|
1404
1290
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/campaigns/${encodeURIComponent(code)}/available`, {
|
|
1405
1291
|
...opts,
|
|
1406
1292
|
method: "POST"
|
|
@@ -1409,7 +1295,7 @@ export function validateCampaignCode({ code }, opts) {
|
|
|
1409
1295
|
/**
|
|
1410
1296
|
* Get credentials from personal service client (create if not exists one to the logged user).
|
|
1411
1297
|
*/
|
|
1412
|
-
export function
|
|
1298
|
+
export function authenticationControllerGetPersonalClientCredentials(opts) {
|
|
1413
1299
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-client-credentials", {
|
|
1414
1300
|
...opts,
|
|
1415
1301
|
method: "POST"
|
|
@@ -1418,7 +1304,7 @@ export function getPersonalClientCredentials(opts) {
|
|
|
1418
1304
|
/**
|
|
1419
1305
|
* Get an Access Token generated With Audience on logged user behalf, since previously authorized.
|
|
1420
1306
|
*/
|
|
1421
|
-
export function
|
|
1307
|
+
export function authenticationControllerGetPersonalAccessTokenWithAudience({ apiAuthorization, generateTokenFromPersonalAccountRequest }, opts) {
|
|
1422
1308
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-access-token", oazapfts.json({
|
|
1423
1309
|
...opts,
|
|
1424
1310
|
method: "POST",
|
|
@@ -1431,7 +1317,7 @@ export function getPersonalAccessToken({ apiAuthorization, generateTokenFromPers
|
|
|
1431
1317
|
/**
|
|
1432
1318
|
* Disable client that generates Personal Access Tokens.
|
|
1433
1319
|
*/
|
|
1434
|
-
export function
|
|
1320
|
+
export function authenticationControllerDisablePersonalAccessTokenGeneration(opts) {
|
|
1435
1321
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-access-token/unauthorize", {
|
|
1436
1322
|
...opts,
|
|
1437
1323
|
method: "POST"
|
|
@@ -1440,7 +1326,7 @@ export function disablePersonalAccessTokenGeneration(opts) {
|
|
|
1440
1326
|
/**
|
|
1441
1327
|
* Verify if exists a client created (authorized) to generate Access Token on logged user behalf.
|
|
1442
1328
|
*/
|
|
1443
|
-
export function
|
|
1329
|
+
export function authenticationControllerPersonalAccessTokenAuthorization(opts) {
|
|
1444
1330
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-access-token/authorize", {
|
|
1445
1331
|
...opts
|
|
1446
1332
|
}));
|
|
@@ -1448,7 +1334,7 @@ export function personalAccessTokenAuthorization(opts) {
|
|
|
1448
1334
|
/**
|
|
1449
1335
|
* Authorize creating a client to generate Personal Access Tokens on your behalf.
|
|
1450
1336
|
*/
|
|
1451
|
-
export function
|
|
1337
|
+
export function authenticationControllerCreatePersonalAccessToken(opts) {
|
|
1452
1338
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-access-token/authorize", {
|
|
1453
1339
|
...opts,
|
|
1454
1340
|
method: "POST"
|
|
@@ -1457,7 +1343,7 @@ export function createPersonalAccessToken(opts) {
|
|
|
1457
1343
|
/**
|
|
1458
1344
|
* Get an Access Token generated on logged user's service account behalf, since previously authorized.
|
|
1459
1345
|
*/
|
|
1460
|
-
export function
|
|
1346
|
+
export function authenticationControllerGetPersonalAccessTokenFromServiceAccountOnly(opts) {
|
|
1461
1347
|
return oazapfts.ok(oazapfts.fetchJson("/v1/authentication/personal-access-token-sa", {
|
|
1462
1348
|
...opts,
|
|
1463
1349
|
method: "POST"
|
|
@@ -1466,7 +1352,7 @@ export function getPersonalAccessTokenFromServiceAccountOnly(opts) {
|
|
|
1466
1352
|
/**
|
|
1467
1353
|
* Generate device code.
|
|
1468
1354
|
*/
|
|
1469
|
-
export function
|
|
1355
|
+
export function authenticationControllerDeviceCode({ email, freemiumAccess, codeChallenge, body }, opts) {
|
|
1470
1356
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/authentication/device-code${QS.query(QS.explode({
|
|
1471
1357
|
email,
|
|
1472
1358
|
freemium_access: freemiumAccess,
|
|
@@ -1480,7 +1366,7 @@ export function deviceCode({ email, freemiumAccess, codeChallenge, body }, opts)
|
|
|
1480
1366
|
/**
|
|
1481
1367
|
* Allows to enable or disable trial SSO integrations.
|
|
1482
1368
|
*/
|
|
1483
|
-
export function
|
|
1369
|
+
export function adminConfigControllerUpdateTrialSsoSettings({ updateTrialSsoSettingsRequest }, opts) {
|
|
1484
1370
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/trial/sso", oazapfts.json({
|
|
1485
1371
|
...opts,
|
|
1486
1372
|
method: "POST",
|
|
@@ -1490,7 +1376,7 @@ export function updateTrialSsoSettings({ updateTrialSsoSettingsRequest }, opts)
|
|
|
1490
1376
|
/**
|
|
1491
1377
|
* Gets application settings related to secrets.
|
|
1492
1378
|
*/
|
|
1493
|
-
export function
|
|
1379
|
+
export function adminConfigControllerGetSecretSettings({ xAccountId }, opts) {
|
|
1494
1380
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/secrets", {
|
|
1495
1381
|
...opts,
|
|
1496
1382
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -1501,7 +1387,7 @@ export function getSecretSettings({ xAccountId }, opts) {
|
|
|
1501
1387
|
/**
|
|
1502
1388
|
* Manages application settings related to secrets.
|
|
1503
1389
|
*/
|
|
1504
|
-
export function
|
|
1390
|
+
export function adminConfigControllerUpdateSecretSettings({ xAccountId, updateSecretsSettingsRequest }, opts) {
|
|
1505
1391
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/secrets", oazapfts.json({
|
|
1506
1392
|
...opts,
|
|
1507
1393
|
method: "POST",
|
|
@@ -1514,7 +1400,7 @@ export function updateSecretSettings({ xAccountId, updateSecretsSettingsRequest
|
|
|
1514
1400
|
/**
|
|
1515
1401
|
* Allows to manage catalog integration.
|
|
1516
1402
|
*/
|
|
1517
|
-
export function
|
|
1403
|
+
export function adminConfigControllerUpdateCatalogSettings({ updateCatalogSettingsRequest }, opts) {
|
|
1518
1404
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/catalog", oazapfts.json({
|
|
1519
1405
|
...opts,
|
|
1520
1406
|
method: "POST",
|
|
@@ -1524,7 +1410,7 @@ export function updateCatalogSettings({ updateCatalogSettingsRequest }, opts) {
|
|
|
1524
1410
|
/**
|
|
1525
1411
|
* Gets the Vision One integration parameters for new accounts.
|
|
1526
1412
|
*/
|
|
1527
|
-
export function
|
|
1413
|
+
export function adminConfigControllerGetVisionOne(opts) {
|
|
1528
1414
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/account-order/vision-one", {
|
|
1529
1415
|
...opts
|
|
1530
1416
|
}));
|
|
@@ -1532,7 +1418,7 @@ export function getVisionOne(opts) {
|
|
|
1532
1418
|
/**
|
|
1533
1419
|
* Changes the Vision One integration parameters for new accounts.
|
|
1534
1420
|
*/
|
|
1535
|
-
export function
|
|
1421
|
+
export function adminConfigControllerUpdateVisionOne({ updateVisionOneIntegrationRequest }, opts) {
|
|
1536
1422
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/config/account-order/vision-one", oazapfts.json({
|
|
1537
1423
|
...opts,
|
|
1538
1424
|
method: "POST",
|
|
@@ -1542,7 +1428,7 @@ export function updateVisionOne({ updateVisionOneIntegrationRequest }, opts) {
|
|
|
1542
1428
|
/**
|
|
1543
1429
|
* Finds and returns a list of accounts filtered by account type.
|
|
1544
1430
|
*/
|
|
1545
|
-
export function
|
|
1431
|
+
export function adminAccountControllerGetAccounts({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1546
1432
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/admin/accounts${QS.query(QS.explode({
|
|
1547
1433
|
size,
|
|
1548
1434
|
page,
|
|
@@ -1561,7 +1447,7 @@ export function getAccounts({ size, page, sort, direction, search, filterMode, f
|
|
|
1561
1447
|
/**
|
|
1562
1448
|
* Creates a new account order and returns the associated account ID.
|
|
1563
1449
|
*/
|
|
1564
|
-
export function
|
|
1450
|
+
export function adminAccountControllerCreate({ createAccountOrderRequest }, opts) {
|
|
1565
1451
|
return oazapfts.ok(oazapfts.fetchJson("/v1/admin/accounts", oazapfts.json({
|
|
1566
1452
|
...opts,
|
|
1567
1453
|
method: "POST",
|
|
@@ -1571,7 +1457,7 @@ export function create3({ createAccountOrderRequest }, opts) {
|
|
|
1571
1457
|
/**
|
|
1572
1458
|
* Creates a Trial account.
|
|
1573
1459
|
*/
|
|
1574
|
-
export function
|
|
1460
|
+
export function accountControllerCreateTrialAccount({ accountTrialCreateRequest }, opts) {
|
|
1575
1461
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial", oazapfts.json({
|
|
1576
1462
|
...opts,
|
|
1577
1463
|
method: "POST",
|
|
@@ -1581,7 +1467,7 @@ export function createTrialAccount({ accountTrialCreateRequest }, opts) {
|
|
|
1581
1467
|
/**
|
|
1582
1468
|
* Sets trial account to be removed after expiration.
|
|
1583
1469
|
*/
|
|
1584
|
-
export function
|
|
1470
|
+
export function accountControllerRemoveTrialAccount(opts) {
|
|
1585
1471
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial", {
|
|
1586
1472
|
...opts,
|
|
1587
1473
|
method: "DELETE"
|
|
@@ -1590,7 +1476,7 @@ export function removeTrialAccount(opts) {
|
|
|
1590
1476
|
/**
|
|
1591
1477
|
* Retrieves a list of SSO group mappings.
|
|
1592
1478
|
*/
|
|
1593
|
-
export function
|
|
1479
|
+
export function ssoControllerGetAllGroupMapping({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1594
1480
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/group-mapping${QS.query(QS.explode({
|
|
1595
1481
|
size,
|
|
1596
1482
|
page,
|
|
@@ -1609,7 +1495,7 @@ export function getAllGroupMapping({ id, size, page, sort, direction, search, fi
|
|
|
1609
1495
|
/**
|
|
1610
1496
|
* Creates a new SSO group mapping.
|
|
1611
1497
|
*/
|
|
1612
|
-
export function
|
|
1498
|
+
export function ssoControllerCreateGroupMapping({ id, accountGroupMappingCreateRequest }, opts) {
|
|
1613
1499
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/group-mapping`, oazapfts.json({
|
|
1614
1500
|
...opts,
|
|
1615
1501
|
method: "POST",
|
|
@@ -1619,7 +1505,7 @@ export function createGroupMapping({ id, accountGroupMappingCreateRequest }, opt
|
|
|
1619
1505
|
/**
|
|
1620
1506
|
* Configures new SSO in account.
|
|
1621
1507
|
*/
|
|
1622
|
-
export function
|
|
1508
|
+
export function ssoControllerSsoConfigure({ protocol, accountSsoCreateRequest }, opts) {
|
|
1623
1509
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/protocol/${encodeURIComponent(protocol)}`, oazapfts.json({
|
|
1624
1510
|
...opts,
|
|
1625
1511
|
method: "POST",
|
|
@@ -1629,7 +1515,7 @@ export function ssoConfigure({ protocol, accountSsoCreateRequest }, opts) {
|
|
|
1629
1515
|
/**
|
|
1630
1516
|
* Parses an SSO configuration file and returns the parsed data with a callback URL.
|
|
1631
1517
|
*/
|
|
1632
|
-
export function
|
|
1518
|
+
export function ssoControllerSsoParseConfigurationFile({ protocol, body }, opts) {
|
|
1633
1519
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/protocol/${encodeURIComponent(protocol)}/parser`, oazapfts.multipart({
|
|
1634
1520
|
...opts,
|
|
1635
1521
|
method: "POST",
|
|
@@ -1639,7 +1525,7 @@ export function ssoParseConfigurationFile({ protocol, body }, opts) {
|
|
|
1639
1525
|
/**
|
|
1640
1526
|
* Create an Account Order for Partner
|
|
1641
1527
|
*/
|
|
1642
|
-
export function
|
|
1528
|
+
export function accountOrderControllerCreatePartner({ createAccountPartnerOrderRequest }, opts) {
|
|
1643
1529
|
return oazapfts.ok(oazapfts.fetchJson("/v1/account-orders/partners", oazapfts.json({
|
|
1644
1530
|
...opts,
|
|
1645
1531
|
method: "POST",
|
|
@@ -1649,57 +1535,17 @@ export function createPartner({ createAccountPartnerOrderRequest }, opts) {
|
|
|
1649
1535
|
/**
|
|
1650
1536
|
* Validate new Partner account data
|
|
1651
1537
|
*/
|
|
1652
|
-
export function
|
|
1538
|
+
export function accountOrderControllerValidateNewPartnerData({ validateAccountPartnerDataRequest }, opts) {
|
|
1653
1539
|
return oazapfts.ok(oazapfts.fetchJson("/v1/account-orders/partners/validations/creation-data", oazapfts.json({
|
|
1654
1540
|
...opts,
|
|
1655
1541
|
method: "POST",
|
|
1656
1542
|
body: validateAccountPartnerDataRequest
|
|
1657
1543
|
})));
|
|
1658
1544
|
}
|
|
1659
|
-
/**
|
|
1660
|
-
* Removes privileges to group's default role.
|
|
1661
|
-
*/
|
|
1662
|
-
export function removePermissions1({ groupId, body }, opts) {
|
|
1663
|
-
return oazapfts.ok(oazapfts.fetchText(`/v4/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1664
|
-
...opts,
|
|
1665
|
-
method: "DELETE",
|
|
1666
|
-
body
|
|
1667
|
-
})));
|
|
1668
|
-
}
|
|
1669
|
-
/**
|
|
1670
|
-
* Add privileges to group's default role.
|
|
1671
|
-
*/
|
|
1672
|
-
export function addPrivilegesToGroup({ groupId, body }, opts) {
|
|
1673
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v4/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1674
|
-
...opts,
|
|
1675
|
-
method: "PATCH",
|
|
1676
|
-
body
|
|
1677
|
-
})));
|
|
1678
|
-
}
|
|
1679
|
-
/**
|
|
1680
|
-
* Unapply a permission-set in a group
|
|
1681
|
-
*/
|
|
1682
|
-
export function unapplyPermissionSet({ groupId, permissionSetId, unapplyPermissionSetToGroupRequest }, opts) {
|
|
1683
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v4/groups/${encodeURIComponent(groupId)}/permission-sets/${encodeURIComponent(permissionSetId)}`, oazapfts.json({
|
|
1684
|
-
...opts,
|
|
1685
|
-
method: "DELETE",
|
|
1686
|
-
body: unapplyPermissionSetToGroupRequest
|
|
1687
|
-
})));
|
|
1688
|
-
}
|
|
1689
|
-
/**
|
|
1690
|
-
* Apply a permission-set to a group
|
|
1691
|
-
*/
|
|
1692
|
-
export function applyPermissionSet({ groupId, permissionSetId, applyPermissionSetToGroupRequest }, opts) {
|
|
1693
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v4/groups/${encodeURIComponent(groupId)}/permission-sets/${encodeURIComponent(permissionSetId)}`, oazapfts.json({
|
|
1694
|
-
...opts,
|
|
1695
|
-
method: "PATCH",
|
|
1696
|
-
body: applyPermissionSetToGroupRequest
|
|
1697
|
-
})));
|
|
1698
|
-
}
|
|
1699
1545
|
/**
|
|
1700
1546
|
* TODO: Description
|
|
1701
1547
|
*/
|
|
1702
|
-
export function
|
|
1548
|
+
export function serviceCredentialControllerV3GetById({ id }, opts) {
|
|
1703
1549
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, {
|
|
1704
1550
|
...opts
|
|
1705
1551
|
}));
|
|
@@ -1707,7 +1553,7 @@ export function getById3({ id }, opts) {
|
|
|
1707
1553
|
/**
|
|
1708
1554
|
* Revoke Service Credential
|
|
1709
1555
|
*/
|
|
1710
|
-
export function
|
|
1556
|
+
export function serviceCredentialControllerV3Revoke({ id }, opts) {
|
|
1711
1557
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, {
|
|
1712
1558
|
...opts,
|
|
1713
1559
|
method: "DELETE"
|
|
@@ -1716,7 +1562,7 @@ export function revoke({ id }, opts) {
|
|
|
1716
1562
|
/**
|
|
1717
1563
|
* Updates Service Credential Metadata
|
|
1718
1564
|
*/
|
|
1719
|
-
export function
|
|
1565
|
+
export function serviceCredentialControllerV3UpdateMetadata({ id, serviceCredentialUpdateRequestV3 }, opts) {
|
|
1720
1566
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}`, oazapfts.json({
|
|
1721
1567
|
...opts,
|
|
1722
1568
|
method: "PATCH",
|
|
@@ -1726,7 +1572,7 @@ export function updateMetadata({ id, serviceCredentialUpdateRequestV3 }, opts) {
|
|
|
1726
1572
|
/**
|
|
1727
1573
|
* Get service credential groups
|
|
1728
1574
|
*/
|
|
1729
|
-
export function
|
|
1575
|
+
export function serviceCredentialControllerV3GetGroups({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
1730
1576
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups${QS.query(QS.explode({
|
|
1731
1577
|
size,
|
|
1732
1578
|
page,
|
|
@@ -1745,7 +1591,7 @@ export function getGroups1({ id, size, page, sort, direction, search, filterMode
|
|
|
1745
1591
|
/**
|
|
1746
1592
|
* Remove Group(s) from Service Credential
|
|
1747
1593
|
*/
|
|
1748
|
-
export function
|
|
1594
|
+
export function serviceCredentialControllerV3RemoveGroup({ id, groupsRequest }, opts) {
|
|
1749
1595
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups`, oazapfts.json({
|
|
1750
1596
|
...opts,
|
|
1751
1597
|
method: "DELETE",
|
|
@@ -1755,7 +1601,7 @@ export function removeGroup({ id, groupsRequest }, opts) {
|
|
|
1755
1601
|
/**
|
|
1756
1602
|
* Add group to service credential
|
|
1757
1603
|
*/
|
|
1758
|
-
export function
|
|
1604
|
+
export function serviceCredentialControllerV3AddGroup({ id, groupsRequest }, opts) {
|
|
1759
1605
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/service-credentials/${encodeURIComponent(id)}/groups`, oazapfts.json({
|
|
1760
1606
|
...opts,
|
|
1761
1607
|
method: "PATCH",
|
|
@@ -1765,7 +1611,7 @@ export function addGroup({ id, groupsRequest }, opts) {
|
|
|
1765
1611
|
/**
|
|
1766
1612
|
* Delete a member permissions
|
|
1767
1613
|
*/
|
|
1768
|
-
export function
|
|
1614
|
+
export function memberControllerV3DeleteMemberPermissions({ memberId, body }, opts) {
|
|
1769
1615
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1770
1616
|
...opts,
|
|
1771
1617
|
method: "DELETE",
|
|
@@ -1775,7 +1621,7 @@ export function deleteMemberPermissions({ memberId, body }, opts) {
|
|
|
1775
1621
|
/**
|
|
1776
1622
|
* Update a member's permissions by assigning resources and actions, creating a default role if necessary.
|
|
1777
1623
|
*/
|
|
1778
|
-
export function
|
|
1624
|
+
export function memberControllerV3UpdateMemberPermissions({ memberId, body }, opts) {
|
|
1779
1625
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1780
1626
|
...opts,
|
|
1781
1627
|
method: "PATCH",
|
|
@@ -1785,7 +1631,7 @@ export function updateMemberPermissions({ memberId, body }, opts) {
|
|
|
1785
1631
|
/**
|
|
1786
1632
|
* Delete Group permissions
|
|
1787
1633
|
*/
|
|
1788
|
-
export function
|
|
1634
|
+
export function groupControllerV3DeleteGroupPermissions({ groupId, body }, opts) {
|
|
1789
1635
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1790
1636
|
...opts,
|
|
1791
1637
|
method: "DELETE",
|
|
@@ -1795,7 +1641,7 @@ export function deleteGroupPermissions({ groupId, body }, opts) {
|
|
|
1795
1641
|
/**
|
|
1796
1642
|
* Update a group's permissions by assigning resources and actions
|
|
1797
1643
|
*/
|
|
1798
|
-
export function
|
|
1644
|
+
export function groupControllerV3AddGroupPermissions({ groupId, body }, opts) {
|
|
1799
1645
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1800
1646
|
...opts,
|
|
1801
1647
|
method: "PATCH",
|
|
@@ -1805,7 +1651,7 @@ export function addGroupPermissions({ groupId, body }, opts) {
|
|
|
1805
1651
|
/**
|
|
1806
1652
|
* Rotates the secret of a service credential.
|
|
1807
1653
|
*/
|
|
1808
|
-
export function
|
|
1654
|
+
export function serviceCredentialControllerV2RotateServiceCredentialSecret({ id, rotateServiceCredentialSecretRequest }, opts) {
|
|
1809
1655
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/${encodeURIComponent(id)}/secret`, oazapfts.json({
|
|
1810
1656
|
...opts,
|
|
1811
1657
|
method: "PATCH",
|
|
@@ -1815,7 +1661,7 @@ export function rotateServiceCredentialSecret({ id, rotateServiceCredentialSecre
|
|
|
1815
1661
|
/**
|
|
1816
1662
|
* Updates the scopes of a service credential
|
|
1817
1663
|
*/
|
|
1818
|
-
export function
|
|
1664
|
+
export function serviceCredentialControllerV2UpdateServiceCredentialScopes({ id, updateServiceCredentialScopesRequest }, opts) {
|
|
1819
1665
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/${encodeURIComponent(id)}/scopes`, oazapfts.json({
|
|
1820
1666
|
...opts,
|
|
1821
1667
|
method: "PATCH",
|
|
@@ -1825,7 +1671,7 @@ export function updateServiceCredentialScopes({ id, updateServiceCredentialScope
|
|
|
1825
1671
|
/**
|
|
1826
1672
|
* Revokes a service account for the current user.
|
|
1827
1673
|
*/
|
|
1828
|
-
export function
|
|
1674
|
+
export function serviceCredentialControllerV2RevokeServiceCredential({ id }, opts) {
|
|
1829
1675
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/${encodeURIComponent(id)}/revoke`, {
|
|
1830
1676
|
...opts,
|
|
1831
1677
|
method: "PATCH"
|
|
@@ -1834,7 +1680,7 @@ export function revokeServiceCredential({ id }, opts) {
|
|
|
1834
1680
|
/**
|
|
1835
1681
|
* Delete a member permission of the entire resources if any action matches with existing permission.
|
|
1836
1682
|
*/
|
|
1837
|
-
export function
|
|
1683
|
+
export function memberControllerV2DeleteMemberPermissions({ memberId, body }, opts) {
|
|
1838
1684
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1839
1685
|
...opts,
|
|
1840
1686
|
method: "DELETE",
|
|
@@ -1844,7 +1690,7 @@ export function deleteMemberPermissions1({ memberId, body }, opts) {
|
|
|
1844
1690
|
/**
|
|
1845
1691
|
* Update a member's permissions by assigning resources and REPLACING actions, creating a default role if necessary.
|
|
1846
1692
|
*/
|
|
1847
|
-
export function
|
|
1693
|
+
export function memberControllerV2UpdateMemberPermissions({ memberId, body }, opts) {
|
|
1848
1694
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
1849
1695
|
...opts,
|
|
1850
1696
|
method: "PATCH",
|
|
@@ -1854,7 +1700,7 @@ export function updateMemberPermissions1({ memberId, body }, opts) {
|
|
|
1854
1700
|
/**
|
|
1855
1701
|
* Delete a group permission of the entire resources if any action matches with existing permission.
|
|
1856
1702
|
*/
|
|
1857
|
-
export function
|
|
1703
|
+
export function groupControllerV2DeleteGroupPermissions({ groupId, body }, opts) {
|
|
1858
1704
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1859
1705
|
...opts,
|
|
1860
1706
|
method: "DELETE",
|
|
@@ -1864,7 +1710,7 @@ export function deleteGroupPermissions1({ groupId, body }, opts) {
|
|
|
1864
1710
|
/**
|
|
1865
1711
|
* Update Group permissions
|
|
1866
1712
|
*/
|
|
1867
|
-
export function
|
|
1713
|
+
export function groupControllerV2UpdateGroupPermissions({ groupId, body }, opts) {
|
|
1868
1714
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
1869
1715
|
...opts,
|
|
1870
1716
|
method: "PATCH",
|
|
@@ -1874,7 +1720,7 @@ export function updateGroupPermissions({ groupId, body }, opts) {
|
|
|
1874
1720
|
/**
|
|
1875
1721
|
* Retrieves an external link by account.
|
|
1876
1722
|
*/
|
|
1877
|
-
export function
|
|
1723
|
+
export function adminExternalLinkControllerGetExternalLinkByIdAndAccountId({ externalLinkId, accountId }, opts) {
|
|
1878
1724
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/accounts/${encodeURIComponent(accountId)}/external-links/${encodeURIComponent(externalLinkId)}`, {
|
|
1879
1725
|
...opts
|
|
1880
1726
|
}));
|
|
@@ -1882,7 +1728,7 @@ export function getExternalLinkByIdAndAccountId({ externalLinkId, accountId }, o
|
|
|
1882
1728
|
/**
|
|
1883
1729
|
* Deletes an external link by its unique identifier.
|
|
1884
1730
|
*/
|
|
1885
|
-
export function
|
|
1731
|
+
export function adminExternalLinkControllerDeleteExternalLink({ accountId, externalLinkId }, opts) {
|
|
1886
1732
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/accounts/${encodeURIComponent(accountId)}/external-links/${encodeURIComponent(externalLinkId)}`, {
|
|
1887
1733
|
...opts,
|
|
1888
1734
|
method: "DELETE"
|
|
@@ -1891,7 +1737,7 @@ export function deleteExternalLink({ accountId, externalLinkId }, opts) {
|
|
|
1891
1737
|
/**
|
|
1892
1738
|
* Updates an external link by its unique identifier.
|
|
1893
1739
|
*/
|
|
1894
|
-
export function
|
|
1740
|
+
export function adminExternalLinkControllerUpdateExternalLink({ externalLinkId, accountId, externalLinkRequest }, opts) {
|
|
1895
1741
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/admin/accounts/${encodeURIComponent(accountId)}/external-links/${encodeURIComponent(externalLinkId)}`, oazapfts.json({
|
|
1896
1742
|
...opts,
|
|
1897
1743
|
method: "PATCH",
|
|
@@ -1901,7 +1747,7 @@ export function updateExternalLink({ externalLinkId, accountId, externalLinkRequ
|
|
|
1901
1747
|
/**
|
|
1902
1748
|
* Associate Group to Service Credential
|
|
1903
1749
|
*/
|
|
1904
|
-
export function
|
|
1750
|
+
export function serviceCredentialControllerAssociateGroupToServiceCredential({ id, serviceCredentialAssociateGroupRequest }, opts) {
|
|
1905
1751
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}/teams`, oazapfts.json({
|
|
1906
1752
|
...opts,
|
|
1907
1753
|
method: "PATCH",
|
|
@@ -1911,7 +1757,7 @@ export function associateGroupToServiceCredential({ id, serviceCredentialAssocia
|
|
|
1911
1757
|
/**
|
|
1912
1758
|
* Revoke Service Credential
|
|
1913
1759
|
*/
|
|
1914
|
-
export function
|
|
1760
|
+
export function serviceCredentialControllerRevokeServiceCredential({ id }, opts) {
|
|
1915
1761
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}/revocation`, {
|
|
1916
1762
|
...opts,
|
|
1917
1763
|
method: "PATCH"
|
|
@@ -1920,7 +1766,7 @@ export function revokeServiceCredential1({ id }, opts) {
|
|
|
1920
1766
|
/**
|
|
1921
1767
|
* Enable secret by ID
|
|
1922
1768
|
*/
|
|
1923
|
-
export function
|
|
1769
|
+
export function secretControllerEnableSecret({ secretId }, opts) {
|
|
1924
1770
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/enable`, {
|
|
1925
1771
|
...opts,
|
|
1926
1772
|
method: "PATCH"
|
|
@@ -1929,7 +1775,7 @@ export function enableSecret({ secretId }, opts) {
|
|
|
1929
1775
|
/**
|
|
1930
1776
|
* Disable secret by ID
|
|
1931
1777
|
*/
|
|
1932
|
-
export function
|
|
1778
|
+
export function secretControllerDisableSecret({ secretId }, opts) {
|
|
1933
1779
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/disable`, {
|
|
1934
1780
|
...opts,
|
|
1935
1781
|
method: "PATCH"
|
|
@@ -1938,7 +1784,7 @@ export function disableSecret({ secretId }, opts) {
|
|
|
1938
1784
|
/**
|
|
1939
1785
|
* Cancel Secret delete
|
|
1940
1786
|
*/
|
|
1941
|
-
export function
|
|
1787
|
+
export function secretControllerCancelSecretDelete({ secretId }, opts) {
|
|
1942
1788
|
return oazapfts.ok(oazapfts.fetchText(`/v1/secrets/${encodeURIComponent(secretId)}/cancel-delete`, {
|
|
1943
1789
|
...opts,
|
|
1944
1790
|
method: "PATCH"
|
|
@@ -1947,7 +1793,7 @@ export function cancelSecretDelete({ secretId }, opts) {
|
|
|
1947
1793
|
/**
|
|
1948
1794
|
* Migrate Api Key Secrets to new version
|
|
1949
1795
|
*/
|
|
1950
|
-
export function
|
|
1796
|
+
export function secretControllerMigrateApiKeySecretsToV2(opts) {
|
|
1951
1797
|
return oazapfts.ok(oazapfts.fetchText("/v1/secrets/migrate-api-key-secrets-to-v2", {
|
|
1952
1798
|
...opts,
|
|
1953
1799
|
method: "PATCH"
|
|
@@ -1956,7 +1802,7 @@ export function migrateApiKeySecretsToV2(opts) {
|
|
|
1956
1802
|
/**
|
|
1957
1803
|
* Delete a resources review
|
|
1958
1804
|
*/
|
|
1959
|
-
export function
|
|
1805
|
+
export function resourceReviewControllerDeleteReview({ reviewId, xMemberId }, opts) {
|
|
1960
1806
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/reviews/${encodeURIComponent(reviewId)}`, {
|
|
1961
1807
|
...opts,
|
|
1962
1808
|
method: "DELETE",
|
|
@@ -1968,7 +1814,7 @@ export function deleteReview({ reviewId, xMemberId }, opts) {
|
|
|
1968
1814
|
/**
|
|
1969
1815
|
* Update a resources review
|
|
1970
1816
|
*/
|
|
1971
|
-
export function
|
|
1817
|
+
export function resourceReviewControllerUpdateReview({ reviewId, xMemberId, updateResourceReviewRequest }, opts) {
|
|
1972
1818
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/reviews/${encodeURIComponent(reviewId)}`, oazapfts.json({
|
|
1973
1819
|
...opts,
|
|
1974
1820
|
method: "PATCH",
|
|
@@ -1981,7 +1827,7 @@ export function updateReview({ reviewId, xMemberId, updateResourceReviewRequest
|
|
|
1981
1827
|
/**
|
|
1982
1828
|
* Delete an answer to a review
|
|
1983
1829
|
*/
|
|
1984
|
-
export function
|
|
1830
|
+
export function resourceReviewControllerDeleteReviewAnswer({ answerId, reviewId, xMemberId }, opts) {
|
|
1985
1831
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, {
|
|
1986
1832
|
...opts,
|
|
1987
1833
|
method: "DELETE",
|
|
@@ -1993,7 +1839,7 @@ export function deleteReviewAnswer({ answerId, reviewId, xMemberId }, opts) {
|
|
|
1993
1839
|
/**
|
|
1994
1840
|
* Edit an evaluation comment
|
|
1995
1841
|
*/
|
|
1996
|
-
export function
|
|
1842
|
+
export function resourceReviewControllerEditReviewAnswer({ reviewId, answerId, xMemberId, updateReviewAnswerRequest }, opts) {
|
|
1997
1843
|
return oazapfts.ok(oazapfts.fetchText(`/v1/resources/reviews/${encodeURIComponent(reviewId)}/answers/${encodeURIComponent(answerId)}`, oazapfts.json({
|
|
1998
1844
|
...opts,
|
|
1999
1845
|
method: "PATCH",
|
|
@@ -2003,30 +1849,10 @@ export function editReviewAnswer({ reviewId, answerId, xMemberId, updateReviewAn
|
|
|
2003
1849
|
})
|
|
2004
1850
|
})));
|
|
2005
1851
|
}
|
|
2006
|
-
/**
|
|
2007
|
-
* Unapplies a permission set to all groups connected to it
|
|
2008
|
-
*/
|
|
2009
|
-
export function unapplyPermissionSet1({ permissionSetId, applyOrUnapplyPermissionSetRequest }, opts) {
|
|
2010
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/unapply`, oazapfts.json({
|
|
2011
|
-
...opts,
|
|
2012
|
-
method: "PATCH",
|
|
2013
|
-
body: applyOrUnapplyPermissionSetRequest
|
|
2014
|
-
})));
|
|
2015
|
-
}
|
|
2016
|
-
/**
|
|
2017
|
-
* Applies a permission set massively to all groups connected to it
|
|
2018
|
-
*/
|
|
2019
|
-
export function applyPermissionSet1({ permissionSetId, applyOrUnapplyPermissionSetRequest }, opts) {
|
|
2020
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/apply`, oazapfts.json({
|
|
2021
|
-
...opts,
|
|
2022
|
-
method: "PATCH",
|
|
2023
|
-
body: applyOrUnapplyPermissionSetRequest
|
|
2024
|
-
})));
|
|
2025
|
-
}
|
|
2026
1852
|
/**
|
|
2027
1853
|
* Retrieves the preferences of a specific member.
|
|
2028
1854
|
*/
|
|
2029
|
-
export function
|
|
1855
|
+
export function memberControllerGetMemberPreferences({ memberId }, opts) {
|
|
2030
1856
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/preferences`, {
|
|
2031
1857
|
...opts
|
|
2032
1858
|
}));
|
|
@@ -2034,7 +1860,7 @@ export function getMemberPreferences({ memberId }, opts) {
|
|
|
2034
1860
|
/**
|
|
2035
1861
|
* Updates the preferences of a specific member.
|
|
2036
1862
|
*/
|
|
2037
|
-
export function
|
|
1863
|
+
export function memberControllerUpdateMemberPreferences({ memberId, updateMemberPreferencesRequest }, opts) {
|
|
2038
1864
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/preferences`, oazapfts.json({
|
|
2039
1865
|
...opts,
|
|
2040
1866
|
method: "PATCH",
|
|
@@ -2044,7 +1870,7 @@ export function updateMemberPreferences({ memberId, updateMemberPreferencesReque
|
|
|
2044
1870
|
/**
|
|
2045
1871
|
* Delete a member permission of the entire resources if any action matches with existing permission.
|
|
2046
1872
|
*/
|
|
2047
|
-
export function
|
|
1873
|
+
export function memberControllerDeleteMemberPermissions({ memberId, deleteMemberPermissionsRequest }, opts) {
|
|
2048
1874
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
2049
1875
|
...opts,
|
|
2050
1876
|
method: "DELETE",
|
|
@@ -2054,7 +1880,7 @@ export function deleteMemberPermissions2({ memberId, deleteMemberPermissionsRequ
|
|
|
2054
1880
|
/**
|
|
2055
1881
|
* Update a member's permissions by assigning resources and REPLACING actions, creating a default role if necessary.
|
|
2056
1882
|
*/
|
|
2057
|
-
export function
|
|
1883
|
+
export function memberControllerUpdateMemberPermissions({ memberId, updateMemberPermissionsRequest }, opts) {
|
|
2058
1884
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/permissions`, oazapfts.json({
|
|
2059
1885
|
...opts,
|
|
2060
1886
|
method: "PATCH",
|
|
@@ -2064,7 +1890,7 @@ export function updateMemberPermissions2({ memberId, updateMemberPermissionsRequ
|
|
|
2064
1890
|
/**
|
|
2065
1891
|
* Retrieves a paginated list of Fido user credentials for a specific member.
|
|
2066
1892
|
*/
|
|
2067
|
-
export function
|
|
1893
|
+
export function memberControllerGetAllMemberFidoCredentials({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2068
1894
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/fido-credentials${QS.query(QS.explode({
|
|
2069
1895
|
size,
|
|
2070
1896
|
page,
|
|
@@ -2083,7 +1909,7 @@ export function getAllMemberFidoCredentials({ memberId, size, page, sort, direct
|
|
|
2083
1909
|
/**
|
|
2084
1910
|
* Deactivates all Fido credentials associated with a specific member.
|
|
2085
1911
|
*/
|
|
2086
|
-
export function
|
|
1912
|
+
export function memberControllerDeactivateFidoCredentials({ memberId }, opts) {
|
|
2087
1913
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/fido-credentials`, {
|
|
2088
1914
|
...opts,
|
|
2089
1915
|
method: "DELETE"
|
|
@@ -2092,7 +1918,7 @@ export function deactivateFidoCredentials({ memberId }, opts) {
|
|
|
2092
1918
|
/**
|
|
2093
1919
|
* Enables Fido credentials for a specified member.
|
|
2094
1920
|
*/
|
|
2095
|
-
export function
|
|
1921
|
+
export function memberControllerEnableFidoCredentials({ memberId }, opts) {
|
|
2096
1922
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/fido-credentials`, {
|
|
2097
1923
|
...opts,
|
|
2098
1924
|
method: "PATCH"
|
|
@@ -2101,7 +1927,7 @@ export function enableFidoCredentials({ memberId }, opts) {
|
|
|
2101
1927
|
/**
|
|
2102
1928
|
* Get Group by ID
|
|
2103
1929
|
*/
|
|
2104
|
-
export function
|
|
1930
|
+
export function groupControllerGetGroupById({ groupId }, opts) {
|
|
2105
1931
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}`, {
|
|
2106
1932
|
...opts
|
|
2107
1933
|
}));
|
|
@@ -2109,7 +1935,7 @@ export function getGroupById({ groupId }, opts) {
|
|
|
2109
1935
|
/**
|
|
2110
1936
|
* Delete Group
|
|
2111
1937
|
*/
|
|
2112
|
-
export function
|
|
1938
|
+
export function groupControllerDelete({ groupId }, opts) {
|
|
2113
1939
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}`, {
|
|
2114
1940
|
...opts,
|
|
2115
1941
|
method: "DELETE"
|
|
@@ -2118,7 +1944,7 @@ export function delete2({ groupId }, opts) {
|
|
|
2118
1944
|
/**
|
|
2119
1945
|
* Update Group
|
|
2120
1946
|
*/
|
|
2121
|
-
export function
|
|
1947
|
+
export function groupControllerUpdate({ groupId, updateGroupRequest }, opts) {
|
|
2122
1948
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}`, oazapfts.json({
|
|
2123
1949
|
...opts,
|
|
2124
1950
|
method: "PATCH",
|
|
@@ -2128,7 +1954,7 @@ export function update2({ groupId, updateGroupRequest }, opts) {
|
|
|
2128
1954
|
/**
|
|
2129
1955
|
* Delete a group permission of the entire resources if any action matches with existing permission.
|
|
2130
1956
|
*/
|
|
2131
|
-
export function
|
|
1957
|
+
export function groupControllerDeleteGroupPermissions({ groupId, deleteGroupPermissionsRequest }, opts) {
|
|
2132
1958
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
2133
1959
|
...opts,
|
|
2134
1960
|
method: "DELETE",
|
|
@@ -2138,7 +1964,7 @@ export function deleteGroupPermissions2({ groupId, deleteGroupPermissionsRequest
|
|
|
2138
1964
|
/**
|
|
2139
1965
|
* Update Group permissions
|
|
2140
1966
|
*/
|
|
2141
|
-
export function
|
|
1967
|
+
export function groupControllerUpdateGroupPermissions({ groupId, updateGroupPermissionsRequest }, opts) {
|
|
2142
1968
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/permissions`, oazapfts.json({
|
|
2143
1969
|
...opts,
|
|
2144
1970
|
method: "PATCH",
|
|
@@ -2148,7 +1974,7 @@ export function updateGroupPermissions1({ groupId, updateGroupPermissionsRequest
|
|
|
2148
1974
|
/**
|
|
2149
1975
|
* Delete Account Extension
|
|
2150
1976
|
*/
|
|
2151
|
-
export function
|
|
1977
|
+
export function extensionControllerDeleteExtension({ slug }, opts) {
|
|
2152
1978
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}`, {
|
|
2153
1979
|
...opts,
|
|
2154
1980
|
method: "DELETE"
|
|
@@ -2157,7 +1983,7 @@ export function deleteExtension({ slug }, opts) {
|
|
|
2157
1983
|
/**
|
|
2158
1984
|
* Update Account Extension
|
|
2159
1985
|
*/
|
|
2160
|
-
export function
|
|
1986
|
+
export function extensionControllerUpdateExtension({ slug, extensionUpdateRequest }, opts) {
|
|
2161
1987
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}`, oazapfts.json({
|
|
2162
1988
|
...opts,
|
|
2163
1989
|
method: "PATCH",
|
|
@@ -2167,7 +1993,7 @@ export function updateExtension({ slug, extensionUpdateRequest }, opts) {
|
|
|
2167
1993
|
/**
|
|
2168
1994
|
* Delete Account Extension Link
|
|
2169
1995
|
*/
|
|
2170
|
-
export function
|
|
1996
|
+
export function extensionControllerDeleteExtensionLink({ id }, opts) {
|
|
2171
1997
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extension-links/${encodeURIComponent(id)}`, {
|
|
2172
1998
|
...opts,
|
|
2173
1999
|
method: "DELETE"
|
|
@@ -2176,7 +2002,7 @@ export function deleteExtensionLink({ id }, opts) {
|
|
|
2176
2002
|
/**
|
|
2177
2003
|
* Update Account Extension Link
|
|
2178
2004
|
*/
|
|
2179
|
-
export function
|
|
2005
|
+
export function extensionControllerUpdateExtensionLink({ id, extensionLinkUpdateRequest }, opts) {
|
|
2180
2006
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extension-links/${encodeURIComponent(id)}`, oazapfts.json({
|
|
2181
2007
|
...opts,
|
|
2182
2008
|
method: "PATCH",
|
|
@@ -2186,7 +2012,7 @@ export function updateExtensionLink({ id, extensionLinkUpdateRequest }, opts) {
|
|
|
2186
2012
|
/**
|
|
2187
2013
|
* Adds a new email domain to an existing account.
|
|
2188
2014
|
*/
|
|
2189
|
-
export function
|
|
2015
|
+
export function adminAccountControllerAddNewEmailDomain({ accountId, addNewEmailDomainRequest }, opts) {
|
|
2190
2016
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/admin/accounts/${encodeURIComponent(accountId)}/domains`, oazapfts.json({
|
|
2191
2017
|
...opts,
|
|
2192
2018
|
method: "PATCH",
|
|
@@ -2196,7 +2022,7 @@ export function addNewEmailDomain({ accountId, addNewEmailDomainRequest }, opts)
|
|
|
2196
2022
|
/**
|
|
2197
2023
|
* Reactivates a Trial account.
|
|
2198
2024
|
*/
|
|
2199
|
-
export function
|
|
2025
|
+
export function accountControllerReactivateTrialAccount(opts) {
|
|
2200
2026
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial/reactivate", {
|
|
2201
2027
|
...opts,
|
|
2202
2028
|
method: "PATCH"
|
|
@@ -2205,7 +2031,7 @@ export function reactivateTrialAccount(opts) {
|
|
|
2205
2031
|
/**
|
|
2206
2032
|
* Update personal account details
|
|
2207
2033
|
*/
|
|
2208
|
-
export function
|
|
2034
|
+
export function accountControllerUpdatePersonalAccountDetails({ accountId, accountTrialUpdateRequest }, opts) {
|
|
2209
2035
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/trial/personal-details/${encodeURIComponent(accountId)}`, oazapfts.json({
|
|
2210
2036
|
...opts,
|
|
2211
2037
|
method: "PATCH",
|
|
@@ -2215,7 +2041,7 @@ export function updatePersonalAccountDetails({ accountId, accountTrialUpdateRequ
|
|
|
2215
2041
|
/**
|
|
2216
2042
|
* Retrieves the SSO attributes configuration for a given SSO ID.
|
|
2217
2043
|
*/
|
|
2218
|
-
export function
|
|
2044
|
+
export function ssoControllerSsoGetAttributesConfig({ id }, opts) {
|
|
2219
2045
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/attributes-configuration`, {
|
|
2220
2046
|
...opts
|
|
2221
2047
|
}));
|
|
@@ -2223,7 +2049,7 @@ export function ssoGetAttributesConfig({ id }, opts) {
|
|
|
2223
2049
|
/**
|
|
2224
2050
|
* Updates the configuration of SSO attributes for a specified SSO.
|
|
2225
2051
|
*/
|
|
2226
|
-
export function
|
|
2052
|
+
export function ssoControllerSsoAddAttributes({ id, accountSsoAddAttributesConfigRequest }, opts) {
|
|
2227
2053
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso/${encodeURIComponent(id)}/attributes-configuration`, oazapfts.json({
|
|
2228
2054
|
...opts,
|
|
2229
2055
|
method: "PATCH",
|
|
@@ -2233,7 +2059,7 @@ export function ssoAddAttributes({ id, accountSsoAddAttributesConfigRequest }, o
|
|
|
2233
2059
|
/**
|
|
2234
2060
|
* Get account rate limit
|
|
2235
2061
|
*/
|
|
2236
|
-
export function
|
|
2062
|
+
export function accountControllerGetAccountRateLimit(opts) {
|
|
2237
2063
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/rate-limit", {
|
|
2238
2064
|
...opts
|
|
2239
2065
|
}));
|
|
@@ -2241,7 +2067,7 @@ export function getAccountRateLimit(opts) {
|
|
|
2241
2067
|
/**
|
|
2242
2068
|
* Update Account rate limit
|
|
2243
2069
|
*/
|
|
2244
|
-
export function
|
|
2070
|
+
export function accountControllerUpdateRateLimit({ updateRateLimitRequest }, opts) {
|
|
2245
2071
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/rate-limit", oazapfts.json({
|
|
2246
2072
|
...opts,
|
|
2247
2073
|
method: "PATCH",
|
|
@@ -2251,7 +2077,7 @@ export function updateRateLimit({ updateRateLimitRequest }, opts) {
|
|
|
2251
2077
|
/**
|
|
2252
2078
|
* Get Partner by account Id
|
|
2253
2079
|
*/
|
|
2254
|
-
export function
|
|
2080
|
+
export function accountPartnerControllerGetPartnerAccount({ id }, opts) {
|
|
2255
2081
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/${encodeURIComponent(id)}`, {
|
|
2256
2082
|
...opts
|
|
2257
2083
|
}));
|
|
@@ -2259,7 +2085,7 @@ export function getPartnerAccount({ id }, opts) {
|
|
|
2259
2085
|
/**
|
|
2260
2086
|
* Delete Partner
|
|
2261
2087
|
*/
|
|
2262
|
-
export function
|
|
2088
|
+
export function accountPartnerControllerDeletePartner({ id }, opts) {
|
|
2263
2089
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/${encodeURIComponent(id)}`, {
|
|
2264
2090
|
...opts,
|
|
2265
2091
|
method: "DELETE"
|
|
@@ -2268,7 +2094,7 @@ export function deletePartner({ id }, opts) {
|
|
|
2268
2094
|
/**
|
|
2269
2095
|
* Update Partner Account data.
|
|
2270
2096
|
*/
|
|
2271
|
-
export function
|
|
2097
|
+
export function accountPartnerControllerUpdatePartnerAccountData({ id, accountPartnerAccountDataUpdateRequest }, opts) {
|
|
2272
2098
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/${encodeURIComponent(id)}`, oazapfts.json({
|
|
2273
2099
|
...opts,
|
|
2274
2100
|
method: "PATCH",
|
|
@@ -2278,37 +2104,17 @@ export function updatePartnerAccountData({ id, accountPartnerAccountDataUpdateRe
|
|
|
2278
2104
|
/**
|
|
2279
2105
|
* Update Partner Account Admin data.
|
|
2280
2106
|
*/
|
|
2281
|
-
export function
|
|
2107
|
+
export function accountPartnerControllerUpdatePartnerAccountAdminData({ id, accountPartnerAdminDataUpdateRequest }, opts) {
|
|
2282
2108
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/${encodeURIComponent(id)}/admin`, oazapfts.json({
|
|
2283
2109
|
...opts,
|
|
2284
2110
|
method: "PATCH",
|
|
2285
2111
|
body: accountPartnerAdminDataUpdateRequest
|
|
2286
2112
|
})));
|
|
2287
2113
|
}
|
|
2288
|
-
/**
|
|
2289
|
-
* Retrieves a list of groups for a specified member.
|
|
2290
|
-
*/
|
|
2291
|
-
export function getMemberGroups1({ memberId, permission, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2292
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v4/members/${encodeURIComponent(memberId)}/groups${QS.query(QS.explode({
|
|
2293
|
-
permission,
|
|
2294
|
-
size,
|
|
2295
|
-
page,
|
|
2296
|
-
sort,
|
|
2297
|
-
direction,
|
|
2298
|
-
search,
|
|
2299
|
-
filterMode,
|
|
2300
|
-
filterBy,
|
|
2301
|
-
filterValue,
|
|
2302
|
-
multiFilterMode,
|
|
2303
|
-
filterIn
|
|
2304
|
-
}))}`, {
|
|
2305
|
-
...opts
|
|
2306
|
-
}));
|
|
2307
|
-
}
|
|
2308
2114
|
/**
|
|
2309
2115
|
* Retrieve AI Resources
|
|
2310
2116
|
*/
|
|
2311
|
-
export function
|
|
2117
|
+
export function resourceControllerV3GetAiResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2312
2118
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/resources${QS.query(QS.explode({
|
|
2313
2119
|
size,
|
|
2314
2120
|
page,
|
|
@@ -2327,7 +2133,7 @@ export function getAiResources({ size, page, sort, direction, search, filterMode
|
|
|
2327
2133
|
/**
|
|
2328
2134
|
* Deletes a resource from the account by resource type and resource slug.
|
|
2329
2135
|
*/
|
|
2330
|
-
export function
|
|
2136
|
+
export function resourceControllerV3DeleteResource({ deleteResourceRequestV3 }, opts) {
|
|
2331
2137
|
return oazapfts.ok(oazapfts.fetchJson("/v3/resources", oazapfts.json({
|
|
2332
2138
|
...opts,
|
|
2333
2139
|
method: "DELETE",
|
|
@@ -2337,7 +2143,7 @@ export function deleteResource({ deleteResourceRequestV3 }, opts) {
|
|
|
2337
2143
|
/**
|
|
2338
2144
|
* Get Resource Types
|
|
2339
2145
|
*/
|
|
2340
|
-
export function
|
|
2146
|
+
export function resourceTypeControllerV3GetResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2341
2147
|
return oazapfts.ok(oazapfts.fetchJson(`/v3/resource-types${QS.query(QS.explode({
|
|
2342
2148
|
size,
|
|
2343
2149
|
page,
|
|
@@ -2356,7 +2162,7 @@ export function getResourceTypes({ size, page, sort, direction, search, filterMo
|
|
|
2356
2162
|
/**
|
|
2357
2163
|
* Retrieves a list of SCM credentials associated with the current user's account, including secret names and provider details.
|
|
2358
2164
|
*/
|
|
2359
|
-
export function
|
|
2165
|
+
export function userControllerV2ListScmCredentials({ userId }, opts) {
|
|
2360
2166
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/users/${encodeURIComponent(userId)}/scm-credentials`, {
|
|
2361
2167
|
...opts
|
|
2362
2168
|
}));
|
|
@@ -2364,7 +2170,7 @@ export function listScmCredentials2({ userId }, opts) {
|
|
|
2364
2170
|
/**
|
|
2365
2171
|
* Retrieves a paginated list of groups associated with a service credential for a given client ID.
|
|
2366
2172
|
*/
|
|
2367
|
-
export function
|
|
2173
|
+
export function serviceCredentialControllerV2GetServiceCredentialGroups({ id }, opts) {
|
|
2368
2174
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/${encodeURIComponent(id)}/groups`, {
|
|
2369
2175
|
...opts
|
|
2370
2176
|
}));
|
|
@@ -2372,7 +2178,7 @@ export function getServiceCredentialGroups({ id }, opts) {
|
|
|
2372
2178
|
/**
|
|
2373
2179
|
* Retrieves an rate limit associated to a given service credential id.
|
|
2374
2180
|
*/
|
|
2375
|
-
export function
|
|
2181
|
+
export function serviceCredentialControllerV2GetServiceCredentialByIdRateLimit({ clientId }, opts) {
|
|
2376
2182
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/service-credentials/${encodeURIComponent(clientId)}/rate-limit`, {
|
|
2377
2183
|
...opts
|
|
2378
2184
|
}));
|
|
@@ -2380,7 +2186,7 @@ export function getServiceCredentialByIdRateLimit({ clientId }, opts) {
|
|
|
2380
2186
|
/**
|
|
2381
2187
|
* Get Roles
|
|
2382
2188
|
*/
|
|
2383
|
-
export function
|
|
2189
|
+
export function roleControllerV2GetRoles({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2384
2190
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/roles${QS.query(QS.explode({
|
|
2385
2191
|
size,
|
|
2386
2192
|
page,
|
|
@@ -2399,7 +2205,7 @@ export function getRoles3({ size, page, sort, direction, search, filterMode, fil
|
|
|
2399
2205
|
/**
|
|
2400
2206
|
* Get all Global Resources and Actions compared to role
|
|
2401
2207
|
*/
|
|
2402
|
-
export function
|
|
2208
|
+
export function roleControllerV2GetResourcesAndActionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2403
2209
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/roles/${encodeURIComponent(roleId)}/resources${QS.query(QS.explode({
|
|
2404
2210
|
size,
|
|
2405
2211
|
page,
|
|
@@ -2418,7 +2224,7 @@ export function getResourcesAndActionsWithStatus1({ roleId, size, page, sort, di
|
|
|
2418
2224
|
/**
|
|
2419
2225
|
* Get role members
|
|
2420
2226
|
*/
|
|
2421
|
-
export function
|
|
2227
|
+
export function roleControllerV2GetRoleMembers({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2422
2228
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/roles/${encodeURIComponent(roleId)}/members${QS.query(QS.explode({
|
|
2423
2229
|
size,
|
|
2424
2230
|
page,
|
|
@@ -2437,7 +2243,7 @@ export function getRoleMembers1({ roleId, size, page, sort, direction, search, f
|
|
|
2437
2243
|
/**
|
|
2438
2244
|
* Get Groups from role
|
|
2439
2245
|
*/
|
|
2440
|
-
export function
|
|
2246
|
+
export function roleControllerV2GetRoleGroups({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2441
2247
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/roles/${encodeURIComponent(roleId)}/groups${QS.query(QS.explode({
|
|
2442
2248
|
size,
|
|
2443
2249
|
page,
|
|
@@ -2453,10 +2259,29 @@ export function getRoleGroups1({ roleId, size, page, sort, direction, search, fi
|
|
|
2453
2259
|
...opts
|
|
2454
2260
|
}));
|
|
2455
2261
|
}
|
|
2262
|
+
/**
|
|
2263
|
+
* Retrieves a list of resources.
|
|
2264
|
+
*/
|
|
2265
|
+
export function resourceControllerV2GetResources({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2266
|
+
return oazapfts.ok(oazapfts.fetchJson(`/v2/resources${QS.query(QS.explode({
|
|
2267
|
+
size,
|
|
2268
|
+
page,
|
|
2269
|
+
sort,
|
|
2270
|
+
direction,
|
|
2271
|
+
search,
|
|
2272
|
+
filterMode,
|
|
2273
|
+
filterBy,
|
|
2274
|
+
filterValue,
|
|
2275
|
+
multiFilterMode,
|
|
2276
|
+
filterIn
|
|
2277
|
+
}))}`, {
|
|
2278
|
+
...opts
|
|
2279
|
+
}));
|
|
2280
|
+
}
|
|
2456
2281
|
/**
|
|
2457
2282
|
* Retrieves a list of members for a specified resource.
|
|
2458
2283
|
*/
|
|
2459
|
-
export function
|
|
2284
|
+
export function resourceControllerV2GetResourceMembers({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2460
2285
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/resources/${encodeURIComponent(resourceId)}/members${QS.query(QS.explode({
|
|
2461
2286
|
size,
|
|
2462
2287
|
page,
|
|
@@ -2475,7 +2300,7 @@ export function getResourceMembers({ resourceId, size, page, sort, direction, se
|
|
|
2475
2300
|
/**
|
|
2476
2301
|
* Retrieves a list of groups associated with a specified resource.
|
|
2477
2302
|
*/
|
|
2478
|
-
export function
|
|
2303
|
+
export function resourceControllerV2GetResourceGroups({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2479
2304
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/resources/${encodeURIComponent(resourceId)}/groups${QS.query(QS.explode({
|
|
2480
2305
|
size,
|
|
2481
2306
|
page,
|
|
@@ -2494,7 +2319,7 @@ export function getResourceGroups({ resourceId, size, page, sort, direction, sea
|
|
|
2494
2319
|
/**
|
|
2495
2320
|
* Get Resource Types
|
|
2496
2321
|
*/
|
|
2497
|
-
export function
|
|
2322
|
+
export function resourceTypeControllerV2GetResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2498
2323
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/resource-types${QS.query(QS.explode({
|
|
2499
2324
|
size,
|
|
2500
2325
|
page,
|
|
@@ -2513,7 +2338,7 @@ export function getResourceTypes1({ size, page, sort, direction, search, filterM
|
|
|
2513
2338
|
/**
|
|
2514
2339
|
* Retrieves a list of account members.
|
|
2515
2340
|
*/
|
|
2516
|
-
export function
|
|
2341
|
+
export function memberControllerV2GetAccountMembers({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2517
2342
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members${QS.query(QS.explode({
|
|
2518
2343
|
size,
|
|
2519
2344
|
page,
|
|
@@ -2532,7 +2357,7 @@ export function getAccountMembers1({ size, page, sort, direction, search, filter
|
|
|
2532
2357
|
/**
|
|
2533
2358
|
* Retrieves a list of roles associated with a specific member.
|
|
2534
2359
|
*/
|
|
2535
|
-
export function
|
|
2360
|
+
export function memberControllerV2GetRoles({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2536
2361
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/roles${QS.query(QS.explode({
|
|
2537
2362
|
size,
|
|
2538
2363
|
page,
|
|
@@ -2551,7 +2376,7 @@ export function getRoles4({ memberId, size, page, sort, direction, search, filte
|
|
|
2551
2376
|
/**
|
|
2552
2377
|
* Retrieves a list of groups for a specified member.
|
|
2553
2378
|
*/
|
|
2554
|
-
export function
|
|
2379
|
+
export function memberControllerV2GetMemberGroups({ memberId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2555
2380
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/members/${encodeURIComponent(memberId)}/groups${QS.query(QS.explode({
|
|
2556
2381
|
size,
|
|
2557
2382
|
page,
|
|
@@ -2570,7 +2395,7 @@ export function getMemberGroups2({ memberId, size, page, sort, direction, search
|
|
|
2570
2395
|
/**
|
|
2571
2396
|
* Get Groups
|
|
2572
2397
|
*/
|
|
2573
|
-
export function
|
|
2398
|
+
export function groupControllerV2GetGroups({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, includeDefaultGroup }, opts) {
|
|
2574
2399
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups${QS.query(QS.explode({
|
|
2575
2400
|
size,
|
|
2576
2401
|
page,
|
|
@@ -2590,7 +2415,7 @@ export function getGroups2({ size, page, sort, direction, search, filterMode, fi
|
|
|
2590
2415
|
/**
|
|
2591
2416
|
* Get Group roles
|
|
2592
2417
|
*/
|
|
2593
|
-
export function
|
|
2418
|
+
export function groupControllerV2GetRoles({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2594
2419
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/roles${QS.query(QS.explode({
|
|
2595
2420
|
size,
|
|
2596
2421
|
page,
|
|
@@ -2609,7 +2434,7 @@ export function getRoles5({ groupId, size, page, sort, direction, search, filter
|
|
|
2609
2434
|
/**
|
|
2610
2435
|
* Get Group members
|
|
2611
2436
|
*/
|
|
2612
|
-
export function
|
|
2437
|
+
export function groupControllerV2GetMembers({ groupId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2613
2438
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/groups/${encodeURIComponent(groupId)}/members${QS.query(QS.explode({
|
|
2614
2439
|
size,
|
|
2615
2440
|
page,
|
|
@@ -2628,7 +2453,7 @@ export function getMembers1({ groupId, size, page, sort, direction, search, filt
|
|
|
2628
2453
|
/**
|
|
2629
2454
|
* Get enabled feature flags for an account
|
|
2630
2455
|
*/
|
|
2631
|
-
export function
|
|
2456
|
+
export function featureFlagControllerV2GetEnabledFeatureFlagsForAccount({ queryParams }, opts) {
|
|
2632
2457
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/feature-flags/available${QS.query(QS.explode({
|
|
2633
2458
|
queryParams
|
|
2634
2459
|
}))}`, {
|
|
@@ -2638,7 +2463,7 @@ export function getEnabledFeatureFlagsForAccount({ queryParams }, opts) {
|
|
|
2638
2463
|
/**
|
|
2639
2464
|
* Retries a external link by type.
|
|
2640
2465
|
*/
|
|
2641
|
-
export function
|
|
2466
|
+
export function externalLinkControllerGetExternalLinksByType({ externalLinkType }, opts) {
|
|
2642
2467
|
return oazapfts.ok(oazapfts.fetchJson(`/v2/external-links/${encodeURIComponent(externalLinkType)}`, {
|
|
2643
2468
|
...opts
|
|
2644
2469
|
}));
|
|
@@ -2646,7 +2471,7 @@ export function getExternalLinksByType({ externalLinkType }, opts) {
|
|
|
2646
2471
|
/**
|
|
2647
2472
|
* Verifies if SCM credentials exist for the current user's account and email, throwing an error if not found.
|
|
2648
2473
|
*/
|
|
2649
|
-
export function
|
|
2474
|
+
export function userControllerIsCreatedScmCredentials(opts) {
|
|
2650
2475
|
return oazapfts.ok(oazapfts.fetchJson("/v1/users/scm-credentials/configuration-status", {
|
|
2651
2476
|
...opts
|
|
2652
2477
|
}));
|
|
@@ -2654,7 +2479,7 @@ export function isCreatedScmCredentials(opts) {
|
|
|
2654
2479
|
/**
|
|
2655
2480
|
* Get Accounts
|
|
2656
2481
|
*/
|
|
2657
|
-
export function
|
|
2482
|
+
export function stackSpotAccountControllerGetAccounts({ accountType, slug, id }, opts) {
|
|
2658
2483
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/stackspot/accounts${QS.query(QS.explode({
|
|
2659
2484
|
accountType,
|
|
2660
2485
|
slug,
|
|
@@ -2666,7 +2491,7 @@ export function getAccounts1({ accountType, slug, id }, opts) {
|
|
|
2666
2491
|
/**
|
|
2667
2492
|
* Get Account by id
|
|
2668
2493
|
*/
|
|
2669
|
-
export function
|
|
2494
|
+
export function stackSpotAccountControllerGetAccount({ id }, opts) {
|
|
2670
2495
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/stackspot/accounts/${encodeURIComponent(id)}`, {
|
|
2671
2496
|
...opts
|
|
2672
2497
|
}));
|
|
@@ -2674,7 +2499,7 @@ export function getAccount({ id }, opts) {
|
|
|
2674
2499
|
/**
|
|
2675
2500
|
* Get Account Members
|
|
2676
2501
|
*/
|
|
2677
|
-
export function
|
|
2502
|
+
export function stackSpotAccountMemberControllerGetAccountMembers({ id, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2678
2503
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/stackspot/accounts/${encodeURIComponent(id)}/members${QS.query(QS.explode({
|
|
2679
2504
|
size,
|
|
2680
2505
|
page,
|
|
@@ -2693,7 +2518,7 @@ export function getAccountMembers2({ id, size, page, sort, direction, search, fi
|
|
|
2693
2518
|
/**
|
|
2694
2519
|
* Get Service Credential by ID (Client ID)
|
|
2695
2520
|
*/
|
|
2696
|
-
export function
|
|
2521
|
+
export function serviceCredentialControllerGetServiceCredential({ id }, opts) {
|
|
2697
2522
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}`, {
|
|
2698
2523
|
...opts
|
|
2699
2524
|
}));
|
|
@@ -2701,7 +2526,7 @@ export function getServiceCredential({ id }, opts) {
|
|
|
2701
2526
|
/**
|
|
2702
2527
|
* List service credential permissions
|
|
2703
2528
|
*/
|
|
2704
|
-
export function
|
|
2529
|
+
export function serviceCredentialControllerGetServiceCredentialPermissions({ id }, opts) {
|
|
2705
2530
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}/permissions`, {
|
|
2706
2531
|
...opts
|
|
2707
2532
|
}));
|
|
@@ -2709,7 +2534,7 @@ export function getServiceCredentialPermissions({ id }, opts) {
|
|
|
2709
2534
|
/**
|
|
2710
2535
|
* List service credential groups
|
|
2711
2536
|
*/
|
|
2712
|
-
export function
|
|
2537
|
+
export function serviceCredentialControllerGetServiceCredentialGroups({ id }, opts) {
|
|
2713
2538
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}/groups`, {
|
|
2714
2539
|
...opts
|
|
2715
2540
|
}));
|
|
@@ -2717,7 +2542,7 @@ export function getServiceCredentialGroups1({ id }, opts) {
|
|
|
2717
2542
|
/**
|
|
2718
2543
|
* Retrieve secret value
|
|
2719
2544
|
*/
|
|
2720
|
-
export function
|
|
2545
|
+
export function secretControllerGetSecretValue({ xMemberId, xAccountId, xResourceSlug, xResourceTypeSlug, secretId }, opts) {
|
|
2721
2546
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/secrets/${encodeURIComponent(secretId)}/value`, {
|
|
2722
2547
|
...opts,
|
|
2723
2548
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -2731,7 +2556,7 @@ export function getSecretValue({ xMemberId, xAccountId, xResourceSlug, xResource
|
|
|
2731
2556
|
/**
|
|
2732
2557
|
* Retrieve the resource associated to the secret
|
|
2733
2558
|
*/
|
|
2734
|
-
export function
|
|
2559
|
+
export function secretControllerFindAssociations({ secretId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2735
2560
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/secrets/${encodeURIComponent(secretId)}/associations${QS.query(QS.explode({
|
|
2736
2561
|
size,
|
|
2737
2562
|
page,
|
|
@@ -2750,7 +2575,7 @@ export function findAssociations({ secretId, size, page, sort, direction, search
|
|
|
2750
2575
|
/**
|
|
2751
2576
|
* Retrieves the SCM provider information for the current user's account.
|
|
2752
2577
|
*/
|
|
2753
|
-
export function
|
|
2578
|
+
export function accountScmControllerGetScmProvider(opts) {
|
|
2754
2579
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scm-credentials/provider", {
|
|
2755
2580
|
...opts
|
|
2756
2581
|
}));
|
|
@@ -2758,7 +2583,7 @@ export function getScmProvider(opts) {
|
|
|
2758
2583
|
/**
|
|
2759
2584
|
* Verifies the SCM credentials configuration for the current user's account and returns its status, indicating if the mandate or user-specific configuration exists.
|
|
2760
2585
|
*/
|
|
2761
|
-
export function
|
|
2586
|
+
export function accountScmControllerIsCreatedScmCredentials(opts) {
|
|
2762
2587
|
return oazapfts.ok(oazapfts.fetchJson("/v1/scm-credentials/configuration-status", {
|
|
2763
2588
|
...opts
|
|
2764
2589
|
}));
|
|
@@ -2766,7 +2591,7 @@ export function isCreatedScmCredentials1(opts) {
|
|
|
2766
2591
|
/**
|
|
2767
2592
|
* Retrieves a list of permissions with their status for a specified role.
|
|
2768
2593
|
*/
|
|
2769
|
-
export function
|
|
2594
|
+
export function roleControllerGetPermissionsWithStatus({ roleId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2770
2595
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/permissions${QS.query(QS.explode({
|
|
2771
2596
|
size,
|
|
2772
2597
|
page,
|
|
@@ -2785,7 +2610,7 @@ export function getPermissionsWithStatus({ roleId, size, page, sort, direction,
|
|
|
2785
2610
|
/**
|
|
2786
2611
|
* Retrieves a list of members for a specified resource.
|
|
2787
2612
|
*/
|
|
2788
|
-
export function
|
|
2613
|
+
export function resourceControllerGetResourceMembers({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2789
2614
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceId)}/members${QS.query(QS.explode({
|
|
2790
2615
|
size,
|
|
2791
2616
|
page,
|
|
@@ -2804,7 +2629,7 @@ export function getResourceMembers1({ resourceId, size, page, sort, direction, s
|
|
|
2804
2629
|
/**
|
|
2805
2630
|
* Retrieves a list of resource groups associated with a specific resource.
|
|
2806
2631
|
*/
|
|
2807
|
-
export function
|
|
2632
|
+
export function resourceControllerGetResourceGroups({ resourceId, size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2808
2633
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceId)}/groups${QS.query(QS.explode({
|
|
2809
2634
|
size,
|
|
2810
2635
|
page,
|
|
@@ -2823,7 +2648,7 @@ export function getResourceGroups1({ resourceId, size, page, sort, direction, se
|
|
|
2823
2648
|
/**
|
|
2824
2649
|
* Get Resource Types
|
|
2825
2650
|
*/
|
|
2826
|
-
export function
|
|
2651
|
+
export function resourceTypeControllerGetResourceTypes({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn, aiResources }, opts) {
|
|
2827
2652
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resource-types${QS.query(QS.explode({
|
|
2828
2653
|
size,
|
|
2829
2654
|
page,
|
|
@@ -2843,7 +2668,7 @@ export function getResourceTypes2({ size, page, sort, direction, search, filterM
|
|
|
2843
2668
|
/**
|
|
2844
2669
|
* Validate permission access
|
|
2845
2670
|
*/
|
|
2846
|
-
export function
|
|
2671
|
+
export function permissionControllerGetAccess({ resourceType, resource, action, attribute }, opts) {
|
|
2847
2672
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/permissions/access${QS.query(QS.explode({
|
|
2848
2673
|
resourceType,
|
|
2849
2674
|
resource,
|
|
@@ -2853,27 +2678,10 @@ export function getAccess({ resourceType, resource, action, attribute }, opts) {
|
|
|
2853
2678
|
...opts
|
|
2854
2679
|
}));
|
|
2855
2680
|
}
|
|
2856
|
-
/**
|
|
2857
|
-
* Get a permission-set revision by id with permissions
|
|
2858
|
-
*/
|
|
2859
|
-
export function getRevision({ permissionSetId, revisionId }, opts) {
|
|
2860
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/revisions/${encodeURIComponent(revisionId)}`, {
|
|
2861
|
-
...opts
|
|
2862
|
-
}));
|
|
2863
|
-
}
|
|
2864
|
-
/**
|
|
2865
|
-
* Delete a revision of a permission set
|
|
2866
|
-
*/
|
|
2867
|
-
export function deleteRevision({ permissionSetId, revisionId }, opts) {
|
|
2868
|
-
return oazapfts.ok(oazapfts.fetchJson(`/v1/permission-sets/${encodeURIComponent(permissionSetId)}/revisions/${encodeURIComponent(revisionId)}`, {
|
|
2869
|
-
...opts,
|
|
2870
|
-
method: "DELETE"
|
|
2871
|
-
}));
|
|
2872
|
-
}
|
|
2873
2681
|
/**
|
|
2874
2682
|
* Retrieves a list of resources associated with the specified member.
|
|
2875
2683
|
*/
|
|
2876
|
-
export function
|
|
2684
|
+
export function memberControllerGetResources({ memberId }, opts) {
|
|
2877
2685
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/resources`, {
|
|
2878
2686
|
...opts
|
|
2879
2687
|
}));
|
|
@@ -2881,7 +2689,7 @@ export function getResources2({ memberId }, opts) {
|
|
|
2881
2689
|
/**
|
|
2882
2690
|
* Get member favorite resources by type
|
|
2883
2691
|
*/
|
|
2884
|
-
export function
|
|
2692
|
+
export function memberFavoritesControllerListMemberFavoritesByResource({ memberId, resourceType }, opts) {
|
|
2885
2693
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/favorites/resources/${encodeURIComponent(resourceType)}`, {
|
|
2886
2694
|
...opts
|
|
2887
2695
|
}));
|
|
@@ -2889,7 +2697,7 @@ export function listMemberFavoritesByResource({ memberId, resourceType }, opts)
|
|
|
2889
2697
|
/**
|
|
2890
2698
|
* Returns a list of Feature Flags associated with the current user's account.
|
|
2891
2699
|
*/
|
|
2892
|
-
export function
|
|
2700
|
+
export function featureFlagControllerGetFeatures(opts) {
|
|
2893
2701
|
return oazapfts.ok(oazapfts.fetchJson("/v1/feature-flags", {
|
|
2894
2702
|
...opts
|
|
2895
2703
|
}));
|
|
@@ -2897,7 +2705,7 @@ export function getFeatures3(opts) {
|
|
|
2897
2705
|
/**
|
|
2898
2706
|
* Get a Account Extension Version
|
|
2899
2707
|
*/
|
|
2900
|
-
export function
|
|
2708
|
+
export function extensionControllerGetExtensionVersion({ slug, versionName }, opts) {
|
|
2901
2709
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}/versions/${encodeURIComponent(versionName)}`, {
|
|
2902
2710
|
...opts
|
|
2903
2711
|
}));
|
|
@@ -2905,7 +2713,7 @@ export function getExtensionVersion({ slug, versionName }, opts) {
|
|
|
2905
2713
|
/**
|
|
2906
2714
|
* Delete Account Extension Version
|
|
2907
2715
|
*/
|
|
2908
|
-
export function
|
|
2716
|
+
export function extensionControllerDeleteExtensionVersion({ slug, versionName }, opts) {
|
|
2909
2717
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}/versions/${encodeURIComponent(versionName)}`, {
|
|
2910
2718
|
...opts,
|
|
2911
2719
|
method: "DELETE"
|
|
@@ -2914,7 +2722,7 @@ export function deleteExtensionVersion({ slug, versionName }, opts) {
|
|
|
2914
2722
|
/**
|
|
2915
2723
|
* Get the active Extension Version
|
|
2916
2724
|
*/
|
|
2917
|
-
export function
|
|
2725
|
+
export function extensionControllerGetActiveExtensionVersion({ slug }, opts) {
|
|
2918
2726
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/extensions/${encodeURIComponent(slug)}/active`, {
|
|
2919
2727
|
...opts
|
|
2920
2728
|
}));
|
|
@@ -2922,7 +2730,7 @@ export function getActiveExtensionVersion({ slug }, opts) {
|
|
|
2922
2730
|
/**
|
|
2923
2731
|
* Get Authentication Configuration for account
|
|
2924
2732
|
*/
|
|
2925
|
-
export function
|
|
2733
|
+
export function authenticationControllerGetAuthenticationConfig({ tenantSlug }, opts) {
|
|
2926
2734
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/authentication/config${QS.query(QS.explode({
|
|
2927
2735
|
tenant_slug: tenantSlug
|
|
2928
2736
|
}))}`, {
|
|
@@ -2932,7 +2740,7 @@ export function getAuthenticationConfig({ tenantSlug }, opts) {
|
|
|
2932
2740
|
/**
|
|
2933
2741
|
* Finds and returns account details based on the provided account ID.
|
|
2934
2742
|
*/
|
|
2935
|
-
export function
|
|
2743
|
+
export function adminAccountControllerGetAccount({ accountId }, opts) {
|
|
2936
2744
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/admin/accounts/${encodeURIComponent(accountId)}`, {
|
|
2937
2745
|
...opts
|
|
2938
2746
|
}));
|
|
@@ -2940,7 +2748,7 @@ export function getAccount1({ accountId }, opts) {
|
|
|
2940
2748
|
/**
|
|
2941
2749
|
* Finds and returns account data associated with the provided email.
|
|
2942
2750
|
*/
|
|
2943
|
-
export function
|
|
2751
|
+
export function accountControllerGetAccountDataByEmail({ email }, opts) {
|
|
2944
2752
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts${QS.query(QS.explode({
|
|
2945
2753
|
email
|
|
2946
2754
|
}))}`, {
|
|
@@ -2950,7 +2758,7 @@ export function getAccountDataByEmail({ email }, opts) {
|
|
|
2950
2758
|
/**
|
|
2951
2759
|
* Finds the slug associated with an active account by its account ID.
|
|
2952
2760
|
*/
|
|
2953
|
-
export function
|
|
2761
|
+
export function accountControllerGetAccountSlug({ accountId }, opts) {
|
|
2954
2762
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/${encodeURIComponent(accountId)}`, {
|
|
2955
2763
|
...opts
|
|
2956
2764
|
}));
|
|
@@ -2958,7 +2766,7 @@ export function getAccountSlug({ accountId }, opts) {
|
|
|
2958
2766
|
/**
|
|
2959
2767
|
* Gets the SSO configuration for Freemium.
|
|
2960
2768
|
*/
|
|
2961
|
-
export function
|
|
2769
|
+
export function accountControllerGetTrialSsoSettings(opts) {
|
|
2962
2770
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial/sso", {
|
|
2963
2771
|
...opts
|
|
2964
2772
|
}));
|
|
@@ -2966,7 +2774,7 @@ export function getTrialSsoSettings(opts) {
|
|
|
2966
2774
|
/**
|
|
2967
2775
|
* Finds and returns personal account details.
|
|
2968
2776
|
*/
|
|
2969
|
-
export function
|
|
2777
|
+
export function accountControllerGetPersonalAccountDetails(opts) {
|
|
2970
2778
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial/personal-details", {
|
|
2971
2779
|
...opts
|
|
2972
2780
|
}));
|
|
@@ -2974,7 +2782,7 @@ export function getPersonalAccountDetails(opts) {
|
|
|
2974
2782
|
/**
|
|
2975
2783
|
* Finds and returns personal account expiration data associated with the provided token.
|
|
2976
2784
|
*/
|
|
2977
|
-
export function
|
|
2785
|
+
export function accountControllerGetPersonalAccountExpirationData(opts) {
|
|
2978
2786
|
return oazapfts.ok(oazapfts.fetchJson("/v1/accounts/trial/expiration", {
|
|
2979
2787
|
...opts
|
|
2980
2788
|
}));
|
|
@@ -2982,7 +2790,7 @@ export function getPersonalAccountExpirationData(opts) {
|
|
|
2982
2790
|
/**
|
|
2983
2791
|
* Retrieves a list of SSO for the current account.
|
|
2984
2792
|
*/
|
|
2985
|
-
export function
|
|
2793
|
+
export function ssoControllerGetAllAccountSso({ size, page, sort, direction, search, filterMode, filterBy, filterValue, multiFilterMode, filterIn }, opts) {
|
|
2986
2794
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/accounts/sso${QS.query(QS.explode({
|
|
2987
2795
|
size,
|
|
2988
2796
|
page,
|
|
@@ -3001,7 +2809,7 @@ export function getAllAccountSso({ size, page, sort, direction, search, filterMo
|
|
|
3001
2809
|
/**
|
|
3002
2810
|
* Get Partners who are sharing content.
|
|
3003
2811
|
*/
|
|
3004
|
-
export function
|
|
2812
|
+
export function accountPartnerControllerGetSharingPartners({ name }, opts) {
|
|
3005
2813
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/sharing${QS.query(QS.explode({
|
|
3006
2814
|
name
|
|
3007
2815
|
}))}`, {
|
|
@@ -3011,7 +2819,7 @@ export function getSharingPartners({ name }, opts) {
|
|
|
3011
2819
|
/**
|
|
3012
2820
|
* Get Partners with whom it is allowed to share content.
|
|
3013
2821
|
*/
|
|
3014
|
-
export function
|
|
2822
|
+
export function accountPartnerControllerGetPartnersSharingAllowed({ name }, opts) {
|
|
3015
2823
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/account-partners/sharing-allowed${QS.query(QS.explode({
|
|
3016
2824
|
name
|
|
3017
2825
|
}))}`, {
|
|
@@ -3021,7 +2829,7 @@ export function getPartnersSharingAllowed({ name }, opts) {
|
|
|
3021
2829
|
/**
|
|
3022
2830
|
* Validate Partner association limit
|
|
3023
2831
|
*/
|
|
3024
|
-
export function
|
|
2832
|
+
export function accountOrderControllerValidatePartnerAssociationLimit(opts) {
|
|
3025
2833
|
return oazapfts.ok(oazapfts.fetchJson("/v1/account-orders/partners/validations/association-limit", {
|
|
3026
2834
|
...opts
|
|
3027
2835
|
}));
|
|
@@ -3029,7 +2837,7 @@ export function validatePartnerAssociationLimit(opts) {
|
|
|
3029
2837
|
/**
|
|
3030
2838
|
* Disassociate Group to Service Credential
|
|
3031
2839
|
*/
|
|
3032
|
-
export function
|
|
2840
|
+
export function serviceCredentialControllerDisassociateGroupToServiceCredential({ id, groupId }, opts) {
|
|
3033
2841
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/service-credentials/${encodeURIComponent(id)}/teams/${encodeURIComponent(groupId)}`, {
|
|
3034
2842
|
...opts,
|
|
3035
2843
|
method: "DELETE"
|
|
@@ -3038,7 +2846,7 @@ export function disassociateGroupToServiceCredential({ id, groupId }, opts) {
|
|
|
3038
2846
|
/**
|
|
3039
2847
|
* Removes a specified role from a member.
|
|
3040
2848
|
*/
|
|
3041
|
-
export function
|
|
2849
|
+
export function roleControllerRemoveRoleFromMember({ roleId, memberId }, opts) {
|
|
3042
2850
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/roles/${encodeURIComponent(roleId)}/members/${encodeURIComponent(memberId)}`, {
|
|
3043
2851
|
...opts,
|
|
3044
2852
|
method: "DELETE"
|
|
@@ -3047,7 +2855,7 @@ export function removeRoleFromMember({ roleId, memberId }, opts) {
|
|
|
3047
2855
|
/**
|
|
3048
2856
|
* Deletes a resource from the account.
|
|
3049
2857
|
*/
|
|
3050
|
-
export function
|
|
2858
|
+
export function resourceControllerDeleteResource({ resourceId }, opts) {
|
|
3051
2859
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/resources/${encodeURIComponent(resourceId)}`, {
|
|
3052
2860
|
...opts,
|
|
3053
2861
|
method: "DELETE"
|
|
@@ -3056,7 +2864,7 @@ export function deleteResource1({ resourceId }, opts) {
|
|
|
3056
2864
|
/**
|
|
3057
2865
|
* Deletes the profile image of a member.
|
|
3058
2866
|
*/
|
|
3059
|
-
export function
|
|
2867
|
+
export function memberControllerDeleteProfileImage({ memberId }, opts) {
|
|
3060
2868
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/profile-image`, {
|
|
3061
2869
|
...opts,
|
|
3062
2870
|
method: "DELETE"
|
|
@@ -3065,7 +2873,7 @@ export function deleteProfileImage({ memberId }, opts) {
|
|
|
3065
2873
|
/**
|
|
3066
2874
|
* Deletes a specific FIDO key.
|
|
3067
2875
|
*/
|
|
3068
|
-
export function
|
|
2876
|
+
export function memberControllerDeleteFidoKey({ memberId, keyId }, opts) {
|
|
3069
2877
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/fido-credentials/${encodeURIComponent(keyId)}`, {
|
|
3070
2878
|
...opts,
|
|
3071
2879
|
method: "DELETE"
|
|
@@ -3074,7 +2882,7 @@ export function deleteFidoKey({ memberId, keyId }, opts) {
|
|
|
3074
2882
|
/**
|
|
3075
2883
|
* Remove resource from member favorites
|
|
3076
2884
|
*/
|
|
3077
|
-
export function
|
|
2885
|
+
export function memberFavoritesControllerDeleteMemberFavorite({ memberId, resourceType, resourceId }, opts) {
|
|
3078
2886
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/members/${encodeURIComponent(memberId)}/favorites/${encodeURIComponent(resourceType)}/${encodeURIComponent(resourceId)}`, {
|
|
3079
2887
|
...opts,
|
|
3080
2888
|
method: "DELETE"
|
|
@@ -3083,7 +2891,7 @@ export function deleteMemberFavorite({ memberId, resourceType, resourceId }, opt
|
|
|
3083
2891
|
/**
|
|
3084
2892
|
* Delete Group role
|
|
3085
2893
|
*/
|
|
3086
|
-
export function
|
|
2894
|
+
export function groupControllerDeleteRole({ groupId, roleId }, opts) {
|
|
3087
2895
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/roles/${encodeURIComponent(roleId)}`, {
|
|
3088
2896
|
...opts,
|
|
3089
2897
|
method: "DELETE"
|
|
@@ -3092,7 +2900,7 @@ export function deleteRole({ groupId, roleId }, opts) {
|
|
|
3092
2900
|
/**
|
|
3093
2901
|
* Delete Resource from Group
|
|
3094
2902
|
*/
|
|
3095
|
-
export function
|
|
2903
|
+
export function groupControllerDeleteResourceFromGroup({ groupId, resourceId }, opts) {
|
|
3096
2904
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/resources/${encodeURIComponent(resourceId)}`, {
|
|
3097
2905
|
...opts,
|
|
3098
2906
|
method: "DELETE"
|
|
@@ -3101,7 +2909,7 @@ export function deleteResourceFromGroup({ groupId, resourceId }, opts) {
|
|
|
3101
2909
|
/**
|
|
3102
2910
|
* Delete Group member
|
|
3103
2911
|
*/
|
|
3104
|
-
export function
|
|
2912
|
+
export function groupControllerDeleteMember({ groupId, memberId }, opts) {
|
|
3105
2913
|
return oazapfts.ok(oazapfts.fetchJson(`/v1/groups/${encodeURIComponent(groupId)}/members/${encodeURIComponent(memberId)}`, {
|
|
3106
2914
|
...opts,
|
|
3107
2915
|
method: "DELETE"
|