@dynamic-labs/sdk-api 0.86.0 → 0.87.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/package.json
CHANGED
package/src/apis/MembersApi.cjs
CHANGED
|
@@ -282,7 +282,7 @@ class MembersApi extends runtime.BaseAPI {
|
|
|
282
282
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
283
283
|
* Get Signed Membership Environment IDs
|
|
284
284
|
*/
|
|
285
|
-
async
|
|
285
|
+
async getBAMutateAccessEnvIdsFromJWTRaw(requestParameters, initOverrides) {
|
|
286
286
|
const queryParameters = {};
|
|
287
287
|
if (requestParameters.minimumRole !== undefined) {
|
|
288
288
|
queryParameters['minimumRole'] = requestParameters.minimumRole;
|
|
@@ -296,7 +296,7 @@ class MembersApi extends runtime.BaseAPI {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
const response = await this.request({
|
|
299
|
-
path: `/
|
|
299
|
+
path: `/getBAMutateAccessEnvIdsFromJWT`,
|
|
300
300
|
method: 'GET',
|
|
301
301
|
headers: headerParameters,
|
|
302
302
|
query: queryParameters,
|
|
@@ -307,8 +307,8 @@ class MembersApi extends runtime.BaseAPI {
|
|
|
307
307
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
308
308
|
* Get Signed Membership Environment IDs
|
|
309
309
|
*/
|
|
310
|
-
async
|
|
311
|
-
const response = await this.
|
|
310
|
+
async getBAMutateAccessEnvIdsFromJWT(requestParameters = {}, initOverrides) {
|
|
311
|
+
const response = await this.getBAMutateAccessEnvIdsFromJWTRaw(requestParameters, initOverrides);
|
|
312
312
|
return await response.value();
|
|
313
313
|
}
|
|
314
314
|
/**
|
package/src/apis/MembersApi.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface DelegateOwnershipOperationRequest {
|
|
|
18
18
|
export interface DeleteMemberByIdRequest {
|
|
19
19
|
memberId: string;
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface GetBAMutateAccessEnvIdsFromJWTRequest {
|
|
22
22
|
minimumRole?: RoleEnum;
|
|
23
23
|
}
|
|
24
24
|
export interface GetOrganizationMembersRequest {
|
|
@@ -59,12 +59,12 @@ export declare class MembersApi extends runtime.BaseAPI {
|
|
|
59
59
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
60
60
|
* Get Signed Membership Environment IDs
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
getBAMutateAccessEnvIdsFromJWTRaw(requestParameters: GetBAMutateAccessEnvIdsFromJWTRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<SignedMembershipEnvironmentIds>>;
|
|
63
63
|
/**
|
|
64
64
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
65
65
|
* Get Signed Membership Environment IDs
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
getBAMutateAccessEnvIdsFromJWT(requestParameters?: GetBAMutateAccessEnvIdsFromJWTRequest, initOverrides?: RequestInit): Promise<SignedMembershipEnvironmentIds>;
|
|
68
68
|
/**
|
|
69
69
|
* Returns the members for the specified organization.
|
|
70
70
|
* Get members for an organization
|
package/src/apis/MembersApi.js
CHANGED
|
@@ -278,7 +278,7 @@ class MembersApi extends BaseAPI {
|
|
|
278
278
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
279
279
|
* Get Signed Membership Environment IDs
|
|
280
280
|
*/
|
|
281
|
-
async
|
|
281
|
+
async getBAMutateAccessEnvIdsFromJWTRaw(requestParameters, initOverrides) {
|
|
282
282
|
const queryParameters = {};
|
|
283
283
|
if (requestParameters.minimumRole !== undefined) {
|
|
284
284
|
queryParameters['minimumRole'] = requestParameters.minimumRole;
|
|
@@ -292,7 +292,7 @@ class MembersApi extends BaseAPI {
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
const response = await this.request({
|
|
295
|
-
path: `/
|
|
295
|
+
path: `/getBAMutateAccessEnvIdsFromJWT`,
|
|
296
296
|
method: 'GET',
|
|
297
297
|
headers: headerParameters,
|
|
298
298
|
query: queryParameters,
|
|
@@ -303,8 +303,8 @@ class MembersApi extends BaseAPI {
|
|
|
303
303
|
* Returns a short-lived JWT attesting the project environments the caller can administer (same list as /membershipEnvironmentIds, which excludes read-only roles). Signed with the caller\'s session environment key. Only valid for the enclave; it is not a session token.
|
|
304
304
|
* Get Signed Membership Environment IDs
|
|
305
305
|
*/
|
|
306
|
-
async
|
|
307
|
-
const response = await this.
|
|
306
|
+
async getBAMutateAccessEnvIdsFromJWT(requestParameters = {}, initOverrides) {
|
|
307
|
+
const response = await this.getBAMutateAccessEnvIdsFromJWTRaw(requestParameters, initOverrides);
|
|
308
308
|
return await response.value();
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SignedMembershipEnvironmentIds {
|
|
18
18
|
/**
|
|
19
|
-
* JWT carrying the
|
|
19
|
+
* JWT carrying the mutate-access environment ids in ba_rbac_mutate_access_environment_ids
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SignedMembershipEnvironmentIds
|
|
22
22
|
*/
|