@flipdish/authorization 0.0.548-rc.1790672882 → 0.0.549-rc.1790676115
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/api.ts +85 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +46 -0
- package/dist/api.js +90 -0
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1952,6 +1952,19 @@ export const JoinAccessErrorResponseCodeEnum = {
|
|
|
1952
1952
|
|
|
1953
1953
|
export type JoinAccessErrorResponseCodeEnum = typeof JoinAccessErrorResponseCodeEnum[keyof typeof JoinAccessErrorResponseCodeEnum];
|
|
1954
1954
|
|
|
1955
|
+
/**
|
|
1956
|
+
* Caller removed from org
|
|
1957
|
+
* @export
|
|
1958
|
+
* @interface LeaveOrgSuccessResponse
|
|
1959
|
+
*/
|
|
1960
|
+
export interface LeaveOrgSuccessResponse {
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @type {string}
|
|
1964
|
+
* @memberof LeaveOrgSuccessResponse
|
|
1965
|
+
*/
|
|
1966
|
+
'message': string;
|
|
1967
|
+
}
|
|
1955
1968
|
/**
|
|
1956
1969
|
* An org\'s expired timed access grants, most recent first
|
|
1957
1970
|
* @export
|
|
@@ -6266,6 +6279,43 @@ export const RoleAssignmentApiAxiosParamCreator = function (configuration?: Conf
|
|
|
6266
6279
|
options: localVarRequestOptions,
|
|
6267
6280
|
};
|
|
6268
6281
|
},
|
|
6282
|
+
/**
|
|
6283
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
6284
|
+
* @summary Leave org
|
|
6285
|
+
* @param {string} orgId
|
|
6286
|
+
* @param {*} [options] Override http request option.
|
|
6287
|
+
* @throws {RequiredError}
|
|
6288
|
+
*/
|
|
6289
|
+
leaveOrg: async (orgId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6290
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
6291
|
+
assertParamExists('leaveOrg', 'orgId', orgId)
|
|
6292
|
+
const localVarPath = `/orgs/{orgId}/leave`
|
|
6293
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
6294
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6296
|
+
let baseOptions;
|
|
6297
|
+
if (configuration) {
|
|
6298
|
+
baseOptions = configuration.baseOptions;
|
|
6299
|
+
}
|
|
6300
|
+
|
|
6301
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6302
|
+
const localVarHeaderParameter = {} as any;
|
|
6303
|
+
const localVarQueryParameter = {} as any;
|
|
6304
|
+
|
|
6305
|
+
// authentication ApiKeyAuth required
|
|
6306
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6307
|
+
|
|
6308
|
+
|
|
6309
|
+
|
|
6310
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6311
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6312
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6313
|
+
|
|
6314
|
+
return {
|
|
6315
|
+
url: toPathString(localVarUrlObj),
|
|
6316
|
+
options: localVarRequestOptions,
|
|
6317
|
+
};
|
|
6318
|
+
},
|
|
6269
6319
|
/**
|
|
6270
6320
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
6271
6321
|
* @summary Rematerialize Role Assignment
|
|
@@ -6372,6 +6422,19 @@ export const RoleAssignmentApiFp = function(configuration?: Configuration) {
|
|
|
6372
6422
|
const localVarOperationServerBasePath = operationServerMap['RoleAssignmentApi.applyRoleAssignment']?.[localVarOperationServerIndex]?.url;
|
|
6373
6423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6374
6424
|
},
|
|
6425
|
+
/**
|
|
6426
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
6427
|
+
* @summary Leave org
|
|
6428
|
+
* @param {string} orgId
|
|
6429
|
+
* @param {*} [options] Override http request option.
|
|
6430
|
+
* @throws {RequiredError}
|
|
6431
|
+
*/
|
|
6432
|
+
async leaveOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveOrgSuccessResponse>> {
|
|
6433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrg(orgId, options);
|
|
6434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6435
|
+
const localVarOperationServerBasePath = operationServerMap['RoleAssignmentApi.leaveOrg']?.[localVarOperationServerIndex]?.url;
|
|
6436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6437
|
+
},
|
|
6375
6438
|
/**
|
|
6376
6439
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
6377
6440
|
* @summary Rematerialize Role Assignment
|
|
@@ -6421,6 +6484,16 @@ export const RoleAssignmentApiFactory = function (configuration?: Configuration,
|
|
|
6421
6484
|
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<RoleAssignmentSuccessResponse> {
|
|
6422
6485
|
return localVarFp.applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then((request) => request(axios, basePath));
|
|
6423
6486
|
},
|
|
6487
|
+
/**
|
|
6488
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
6489
|
+
* @summary Leave org
|
|
6490
|
+
* @param {string} orgId
|
|
6491
|
+
* @param {*} [options] Override http request option.
|
|
6492
|
+
* @throws {RequiredError}
|
|
6493
|
+
*/
|
|
6494
|
+
leaveOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<LeaveOrgSuccessResponse> {
|
|
6495
|
+
return localVarFp.leaveOrg(orgId, options).then((request) => request(axios, basePath));
|
|
6496
|
+
},
|
|
6424
6497
|
/**
|
|
6425
6498
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
6426
6499
|
* @summary Rematerialize Role Assignment
|
|
@@ -6466,6 +6539,18 @@ export class RoleAssignmentApi extends BaseAPI {
|
|
|
6466
6539
|
return RoleAssignmentApiFp(this.configuration).applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6467
6540
|
}
|
|
6468
6541
|
|
|
6542
|
+
/**
|
|
6543
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
6544
|
+
* @summary Leave org
|
|
6545
|
+
* @param {string} orgId
|
|
6546
|
+
* @param {*} [options] Override http request option.
|
|
6547
|
+
* @throws {RequiredError}
|
|
6548
|
+
* @memberof RoleAssignmentApi
|
|
6549
|
+
*/
|
|
6550
|
+
public leaveOrg(orgId: string, options?: RawAxiosRequestConfig) {
|
|
6551
|
+
return RoleAssignmentApiFp(this.configuration).leaveOrg(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
6552
|
+
}
|
|
6553
|
+
|
|
6469
6554
|
/**
|
|
6470
6555
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
6471
6556
|
* @summary Rematerialize Role Assignment
|
package/configuration.ts
CHANGED
|
@@ -100,7 +100,7 @@ export class Configuration {
|
|
|
100
100
|
|
|
101
101
|
const extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
102
102
|
headers: {
|
|
103
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.0.
|
|
103
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.549-rc.1790676115"
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1866,6 +1866,19 @@ export declare const JoinAccessErrorResponseCodeEnum: {
|
|
|
1866
1866
|
readonly AlreadyMember: "ALREADY_MEMBER";
|
|
1867
1867
|
};
|
|
1868
1868
|
export type JoinAccessErrorResponseCodeEnum = typeof JoinAccessErrorResponseCodeEnum[keyof typeof JoinAccessErrorResponseCodeEnum];
|
|
1869
|
+
/**
|
|
1870
|
+
* Caller removed from org
|
|
1871
|
+
* @export
|
|
1872
|
+
* @interface LeaveOrgSuccessResponse
|
|
1873
|
+
*/
|
|
1874
|
+
export interface LeaveOrgSuccessResponse {
|
|
1875
|
+
/**
|
|
1876
|
+
*
|
|
1877
|
+
* @type {string}
|
|
1878
|
+
* @memberof LeaveOrgSuccessResponse
|
|
1879
|
+
*/
|
|
1880
|
+
'message': string;
|
|
1881
|
+
}
|
|
1869
1882
|
/**
|
|
1870
1883
|
* An org\'s expired timed access grants, most recent first
|
|
1871
1884
|
* @export
|
|
@@ -4654,6 +4667,14 @@ export declare const RoleAssignmentApiAxiosParamCreator: (configuration?: Config
|
|
|
4654
4667
|
* @throws {RequiredError}
|
|
4655
4668
|
*/
|
|
4656
4669
|
applyRoleAssignment: (orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4670
|
+
/**
|
|
4671
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4672
|
+
* @summary Leave org
|
|
4673
|
+
* @param {string} orgId
|
|
4674
|
+
* @param {*} [options] Override http request option.
|
|
4675
|
+
* @throws {RequiredError}
|
|
4676
|
+
*/
|
|
4677
|
+
leaveOrg: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4657
4678
|
/**
|
|
4658
4679
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4659
4680
|
* @summary Rematerialize Role Assignment
|
|
@@ -4687,6 +4708,14 @@ export declare const RoleAssignmentApiFp: (configuration?: Configuration) => {
|
|
|
4687
4708
|
* @throws {RequiredError}
|
|
4688
4709
|
*/
|
|
4689
4710
|
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleAssignmentSuccessResponse>>;
|
|
4711
|
+
/**
|
|
4712
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4713
|
+
* @summary Leave org
|
|
4714
|
+
* @param {string} orgId
|
|
4715
|
+
* @param {*} [options] Override http request option.
|
|
4716
|
+
* @throws {RequiredError}
|
|
4717
|
+
*/
|
|
4718
|
+
leaveOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveOrgSuccessResponse>>;
|
|
4690
4719
|
/**
|
|
4691
4720
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4692
4721
|
* @summary Rematerialize Role Assignment
|
|
@@ -4720,6 +4749,14 @@ export declare const RoleAssignmentApiFactory: (configuration?: Configuration, b
|
|
|
4720
4749
|
* @throws {RequiredError}
|
|
4721
4750
|
*/
|
|
4722
4751
|
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<RoleAssignmentSuccessResponse>;
|
|
4752
|
+
/**
|
|
4753
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4754
|
+
* @summary Leave org
|
|
4755
|
+
* @param {string} orgId
|
|
4756
|
+
* @param {*} [options] Override http request option.
|
|
4757
|
+
* @throws {RequiredError}
|
|
4758
|
+
*/
|
|
4759
|
+
leaveOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<LeaveOrgSuccessResponse>;
|
|
4723
4760
|
/**
|
|
4724
4761
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4725
4762
|
* @summary Rematerialize Role Assignment
|
|
@@ -4756,6 +4793,15 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
4756
4793
|
* @memberof RoleAssignmentApi
|
|
4757
4794
|
*/
|
|
4758
4795
|
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleAssignmentSuccessResponse, any, {}, any>>;
|
|
4796
|
+
/**
|
|
4797
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4798
|
+
* @summary Leave org
|
|
4799
|
+
* @param {string} orgId
|
|
4800
|
+
* @param {*} [options] Override http request option.
|
|
4801
|
+
* @throws {RequiredError}
|
|
4802
|
+
* @memberof RoleAssignmentApi
|
|
4803
|
+
*/
|
|
4804
|
+
leaveOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LeaveOrgSuccessResponse, any, {}, any>>;
|
|
4759
4805
|
/**
|
|
4760
4806
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4761
4807
|
* @summary Rematerialize Role Assignment
|
package/dist/api.js
CHANGED
|
@@ -4100,6 +4100,51 @@ var RoleAssignmentApiAxiosParamCreator = function (configuration) {
|
|
|
4100
4100
|
});
|
|
4101
4101
|
});
|
|
4102
4102
|
},
|
|
4103
|
+
/**
|
|
4104
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4105
|
+
* @summary Leave org
|
|
4106
|
+
* @param {string} orgId
|
|
4107
|
+
* @param {*} [options] Override http request option.
|
|
4108
|
+
* @throws {RequiredError}
|
|
4109
|
+
*/
|
|
4110
|
+
leaveOrg: function (orgId_1) {
|
|
4111
|
+
var args_1 = [];
|
|
4112
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
4113
|
+
args_1[_i - 1] = arguments[_i];
|
|
4114
|
+
}
|
|
4115
|
+
return __awaiter(_this, __spreadArray([orgId_1], args_1, true), void 0, function (orgId, options) {
|
|
4116
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4117
|
+
if (options === void 0) { options = {}; }
|
|
4118
|
+
return __generator(this, function (_a) {
|
|
4119
|
+
switch (_a.label) {
|
|
4120
|
+
case 0:
|
|
4121
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
4122
|
+
(0, common_1.assertParamExists)('leaveOrg', 'orgId', orgId);
|
|
4123
|
+
localVarPath = "/orgs/{orgId}/leave"
|
|
4124
|
+
.replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
|
|
4125
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4126
|
+
if (configuration) {
|
|
4127
|
+
baseOptions = configuration.baseOptions;
|
|
4128
|
+
}
|
|
4129
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4130
|
+
localVarHeaderParameter = {};
|
|
4131
|
+
localVarQueryParameter = {};
|
|
4132
|
+
// authentication ApiKeyAuth required
|
|
4133
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
4134
|
+
case 1:
|
|
4135
|
+
// authentication ApiKeyAuth required
|
|
4136
|
+
_a.sent();
|
|
4137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4138
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4139
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4140
|
+
return [2 /*return*/, {
|
|
4141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4142
|
+
options: localVarRequestOptions,
|
|
4143
|
+
}];
|
|
4144
|
+
}
|
|
4145
|
+
});
|
|
4146
|
+
});
|
|
4147
|
+
},
|
|
4103
4148
|
/**
|
|
4104
4149
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4105
4150
|
* @summary Rematerialize Role Assignment
|
|
@@ -4230,6 +4275,29 @@ var RoleAssignmentApiFp = function (configuration) {
|
|
|
4230
4275
|
});
|
|
4231
4276
|
});
|
|
4232
4277
|
},
|
|
4278
|
+
/**
|
|
4279
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4280
|
+
* @summary Leave org
|
|
4281
|
+
* @param {string} orgId
|
|
4282
|
+
* @param {*} [options] Override http request option.
|
|
4283
|
+
* @throws {RequiredError}
|
|
4284
|
+
*/
|
|
4285
|
+
leaveOrg: function (orgId, options) {
|
|
4286
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4287
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4288
|
+
var _a, _b, _c;
|
|
4289
|
+
return __generator(this, function (_d) {
|
|
4290
|
+
switch (_d.label) {
|
|
4291
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.leaveOrg(orgId, options)];
|
|
4292
|
+
case 1:
|
|
4293
|
+
localVarAxiosArgs = _d.sent();
|
|
4294
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4295
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RoleAssignmentApi.leaveOrg']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4296
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4297
|
+
}
|
|
4298
|
+
});
|
|
4299
|
+
});
|
|
4300
|
+
},
|
|
4233
4301
|
/**
|
|
4234
4302
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4235
4303
|
* @summary Rematerialize Role Assignment
|
|
@@ -4299,6 +4367,16 @@ var RoleAssignmentApiFactory = function (configuration, basePath, axios) {
|
|
|
4299
4367
|
applyRoleAssignment: function (orgId, roleAssignmentRequestBody, options) {
|
|
4300
4368
|
return localVarFp.applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then(function (request) { return request(axios, basePath); });
|
|
4301
4369
|
},
|
|
4370
|
+
/**
|
|
4371
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4372
|
+
* @summary Leave org
|
|
4373
|
+
* @param {string} orgId
|
|
4374
|
+
* @param {*} [options] Override http request option.
|
|
4375
|
+
* @throws {RequiredError}
|
|
4376
|
+
*/
|
|
4377
|
+
leaveOrg: function (orgId, options) {
|
|
4378
|
+
return localVarFp.leaveOrg(orgId, options).then(function (request) { return request(axios, basePath); });
|
|
4379
|
+
},
|
|
4302
4380
|
/**
|
|
4303
4381
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4304
4382
|
* @summary Rematerialize Role Assignment
|
|
@@ -4348,6 +4426,18 @@ var RoleAssignmentApi = /** @class */ (function (_super) {
|
|
|
4348
4426
|
var _this = this;
|
|
4349
4427
|
return (0, exports.RoleAssignmentApiFp)(this.configuration).applyRoleAssignment(orgId, roleAssignmentRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4350
4428
|
};
|
|
4429
|
+
/**
|
|
4430
|
+
* Removes the caller from the org: revokes all of their V2 role assignments, reconciles away their policies, and removes them from the org user list. Does not change their Zeus teammate record.
|
|
4431
|
+
* @summary Leave org
|
|
4432
|
+
* @param {string} orgId
|
|
4433
|
+
* @param {*} [options] Override http request option.
|
|
4434
|
+
* @throws {RequiredError}
|
|
4435
|
+
* @memberof RoleAssignmentApi
|
|
4436
|
+
*/
|
|
4437
|
+
RoleAssignmentApi.prototype.leaveOrg = function (orgId, options) {
|
|
4438
|
+
var _this = this;
|
|
4439
|
+
return (0, exports.RoleAssignmentApiFp)(this.configuration).leaveOrg(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4440
|
+
};
|
|
4351
4441
|
/**
|
|
4352
4442
|
* Reconciles policy assignments for the role assignment principal: creates missing policies and revokes leftovers that materialize no longer emits
|
|
4353
4443
|
* @summary Rematerialize Role Assignment
|
package/dist/configuration.js
CHANGED
|
@@ -36,7 +36,7 @@ var Configuration = /** @class */ (function () {
|
|
|
36
36
|
this.serverIndex = param.serverIndex;
|
|
37
37
|
var extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
38
38
|
headers: {
|
|
39
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.0.
|
|
39
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.549-rc.1790676115"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
|
package/package.json
CHANGED