@flipdish/authorization 0.0.6-rc.1766077124 → 0.0.6-rc.1766077628
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 +1 -131
- package/base.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +0 -78
- package/dist/api.js +3 -137
- package/dist/base.js +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2847,25 +2847,6 @@ export const ListRolesSuccessResponseRolesEnum = {
|
|
|
2847
2847
|
|
|
2848
2848
|
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
2849
2849
|
|
|
2850
|
-
/**
|
|
2851
|
-
* Principals in org
|
|
2852
|
-
* @export
|
|
2853
|
-
* @interface PrincipalsInOrgResponse
|
|
2854
|
-
*/
|
|
2855
|
-
export interface PrincipalsInOrgResponse {
|
|
2856
|
-
/**
|
|
2857
|
-
*
|
|
2858
|
-
* @type {string}
|
|
2859
|
-
* @memberof PrincipalsInOrgResponse
|
|
2860
|
-
*/
|
|
2861
|
-
'orgId': string;
|
|
2862
|
-
/**
|
|
2863
|
-
* List of principals in org
|
|
2864
|
-
* @type {Array<AuthorizationRequestPrincipal>}
|
|
2865
|
-
* @memberof PrincipalsInOrgResponse
|
|
2866
|
-
*/
|
|
2867
|
-
'principals': Array<AuthorizationRequestPrincipal>;
|
|
2868
|
-
}
|
|
2869
2850
|
/**
|
|
2870
2851
|
* Details for revoking a forbidden role from a principal
|
|
2871
2852
|
* @export
|
|
@@ -4325,7 +4306,7 @@ export const RoleAssignmentApiAxiosParamCreator = function (configuration?: Conf
|
|
|
4325
4306
|
baseOptions = configuration.baseOptions;
|
|
4326
4307
|
}
|
|
4327
4308
|
|
|
4328
|
-
const localVarRequestOptions = { method: '
|
|
4309
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4329
4310
|
const localVarHeaderParameter = {} as any;
|
|
4330
4311
|
const localVarQueryParameter = {} as any;
|
|
4331
4312
|
|
|
@@ -4613,117 +4594,6 @@ export class RoleAssignmentApi extends BaseAPI {
|
|
|
4613
4594
|
|
|
4614
4595
|
|
|
4615
4596
|
|
|
4616
|
-
/**
|
|
4617
|
-
* UserManagementApi - axios parameter creator
|
|
4618
|
-
* @export
|
|
4619
|
-
*/
|
|
4620
|
-
export const UserManagementApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4621
|
-
return {
|
|
4622
|
-
/**
|
|
4623
|
-
* List the users in a given org
|
|
4624
|
-
* @summary List Users in Org
|
|
4625
|
-
* @param {string} orgId
|
|
4626
|
-
* @param {*} [options] Override http request option.
|
|
4627
|
-
* @throws {RequiredError}
|
|
4628
|
-
*/
|
|
4629
|
-
listUsersInOrg: async (orgId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4630
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
4631
|
-
assertParamExists('listUsersInOrg', 'orgId', orgId)
|
|
4632
|
-
const localVarPath = `/orgs/{orgId}/users`
|
|
4633
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
4634
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4635
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4636
|
-
let baseOptions;
|
|
4637
|
-
if (configuration) {
|
|
4638
|
-
baseOptions = configuration.baseOptions;
|
|
4639
|
-
}
|
|
4640
|
-
|
|
4641
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4642
|
-
const localVarHeaderParameter = {} as any;
|
|
4643
|
-
const localVarQueryParameter = {} as any;
|
|
4644
|
-
|
|
4645
|
-
// authentication ApiKeyAuth required
|
|
4646
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4651
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4652
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4653
|
-
|
|
4654
|
-
return {
|
|
4655
|
-
url: toPathString(localVarUrlObj),
|
|
4656
|
-
options: localVarRequestOptions,
|
|
4657
|
-
};
|
|
4658
|
-
},
|
|
4659
|
-
}
|
|
4660
|
-
};
|
|
4661
|
-
|
|
4662
|
-
/**
|
|
4663
|
-
* UserManagementApi - functional programming interface
|
|
4664
|
-
* @export
|
|
4665
|
-
*/
|
|
4666
|
-
export const UserManagementApiFp = function(configuration?: Configuration) {
|
|
4667
|
-
const localVarAxiosParamCreator = UserManagementApiAxiosParamCreator(configuration)
|
|
4668
|
-
return {
|
|
4669
|
-
/**
|
|
4670
|
-
* List the users in a given org
|
|
4671
|
-
* @summary List Users in Org
|
|
4672
|
-
* @param {string} orgId
|
|
4673
|
-
* @param {*} [options] Override http request option.
|
|
4674
|
-
* @throws {RequiredError}
|
|
4675
|
-
*/
|
|
4676
|
-
async listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrincipalsInOrgResponse>> {
|
|
4677
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsersInOrg(orgId, options);
|
|
4678
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4679
|
-
const localVarOperationServerBasePath = operationServerMap['UserManagementApi.listUsersInOrg']?.[localVarOperationServerIndex]?.url;
|
|
4680
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4681
|
-
},
|
|
4682
|
-
}
|
|
4683
|
-
};
|
|
4684
|
-
|
|
4685
|
-
/**
|
|
4686
|
-
* UserManagementApi - factory interface
|
|
4687
|
-
* @export
|
|
4688
|
-
*/
|
|
4689
|
-
export const UserManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4690
|
-
const localVarFp = UserManagementApiFp(configuration)
|
|
4691
|
-
return {
|
|
4692
|
-
/**
|
|
4693
|
-
* List the users in a given org
|
|
4694
|
-
* @summary List Users in Org
|
|
4695
|
-
* @param {string} orgId
|
|
4696
|
-
* @param {*} [options] Override http request option.
|
|
4697
|
-
* @throws {RequiredError}
|
|
4698
|
-
*/
|
|
4699
|
-
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<PrincipalsInOrgResponse> {
|
|
4700
|
-
return localVarFp.listUsersInOrg(orgId, options).then((request) => request(axios, basePath));
|
|
4701
|
-
},
|
|
4702
|
-
};
|
|
4703
|
-
};
|
|
4704
|
-
|
|
4705
|
-
/**
|
|
4706
|
-
* UserManagementApi - object-oriented interface
|
|
4707
|
-
* @export
|
|
4708
|
-
* @class UserManagementApi
|
|
4709
|
-
* @extends {BaseAPI}
|
|
4710
|
-
*/
|
|
4711
|
-
export class UserManagementApi extends BaseAPI {
|
|
4712
|
-
/**
|
|
4713
|
-
* List the users in a given org
|
|
4714
|
-
* @summary List Users in Org
|
|
4715
|
-
* @param {string} orgId
|
|
4716
|
-
* @param {*} [options] Override http request option.
|
|
4717
|
-
* @throws {RequiredError}
|
|
4718
|
-
* @memberof UserManagementApi
|
|
4719
|
-
*/
|
|
4720
|
-
public listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig) {
|
|
4721
|
-
return UserManagementApiFp(this.configuration).listUsersInOrg(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
4722
|
-
}
|
|
4723
|
-
}
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
4597
|
/**
|
|
4728
4598
|
* UserPermissionsApi - axios parameter creator
|
|
4729
4599
|
* @export
|
package/base.ts
CHANGED
|
@@ -19,7 +19,7 @@ import type { Configuration } from './configuration';
|
|
|
19
19
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
20
20
|
import globalAxios from 'axios';
|
|
21
21
|
|
|
22
|
-
export const BASE_PATH = "https://
|
|
22
|
+
export const BASE_PATH = "https://undefined".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
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.6-rc.
|
|
103
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.6-rc.1766077628"
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2778,25 +2778,6 @@ export declare const ListRolesSuccessResponseRolesEnum: {
|
|
|
2778
2778
|
readonly Factory: "Factory";
|
|
2779
2779
|
};
|
|
2780
2780
|
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
2781
|
-
/**
|
|
2782
|
-
* Principals in org
|
|
2783
|
-
* @export
|
|
2784
|
-
* @interface PrincipalsInOrgResponse
|
|
2785
|
-
*/
|
|
2786
|
-
export interface PrincipalsInOrgResponse {
|
|
2787
|
-
/**
|
|
2788
|
-
*
|
|
2789
|
-
* @type {string}
|
|
2790
|
-
* @memberof PrincipalsInOrgResponse
|
|
2791
|
-
*/
|
|
2792
|
-
'orgId': string;
|
|
2793
|
-
/**
|
|
2794
|
-
* List of principals in org
|
|
2795
|
-
* @type {Array<AuthorizationRequestPrincipal>}
|
|
2796
|
-
* @memberof PrincipalsInOrgResponse
|
|
2797
|
-
*/
|
|
2798
|
-
'principals': Array<AuthorizationRequestPrincipal>;
|
|
2799
|
-
}
|
|
2800
2781
|
/**
|
|
2801
2782
|
* Details for revoking a forbidden role from a principal
|
|
2802
2783
|
* @export
|
|
@@ -3727,65 +3708,6 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
3727
3708
|
*/
|
|
3728
3709
|
revokeRoleFromPrincipal(orgId: string, revokeRoleRequestBody?: RevokeRoleRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RevokeRoleSuccessResponse, any, {}>>;
|
|
3729
3710
|
}
|
|
3730
|
-
/**
|
|
3731
|
-
* UserManagementApi - axios parameter creator
|
|
3732
|
-
* @export
|
|
3733
|
-
*/
|
|
3734
|
-
export declare const UserManagementApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3735
|
-
/**
|
|
3736
|
-
* List the users in a given org
|
|
3737
|
-
* @summary List Users in Org
|
|
3738
|
-
* @param {string} orgId
|
|
3739
|
-
* @param {*} [options] Override http request option.
|
|
3740
|
-
* @throws {RequiredError}
|
|
3741
|
-
*/
|
|
3742
|
-
listUsersInOrg: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3743
|
-
};
|
|
3744
|
-
/**
|
|
3745
|
-
* UserManagementApi - functional programming interface
|
|
3746
|
-
* @export
|
|
3747
|
-
*/
|
|
3748
|
-
export declare const UserManagementApiFp: (configuration?: Configuration) => {
|
|
3749
|
-
/**
|
|
3750
|
-
* List the users in a given org
|
|
3751
|
-
* @summary List Users in Org
|
|
3752
|
-
* @param {string} orgId
|
|
3753
|
-
* @param {*} [options] Override http request option.
|
|
3754
|
-
* @throws {RequiredError}
|
|
3755
|
-
*/
|
|
3756
|
-
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrincipalsInOrgResponse>>;
|
|
3757
|
-
};
|
|
3758
|
-
/**
|
|
3759
|
-
* UserManagementApi - factory interface
|
|
3760
|
-
* @export
|
|
3761
|
-
*/
|
|
3762
|
-
export declare const UserManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3763
|
-
/**
|
|
3764
|
-
* List the users in a given org
|
|
3765
|
-
* @summary List Users in Org
|
|
3766
|
-
* @param {string} orgId
|
|
3767
|
-
* @param {*} [options] Override http request option.
|
|
3768
|
-
* @throws {RequiredError}
|
|
3769
|
-
*/
|
|
3770
|
-
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<PrincipalsInOrgResponse>;
|
|
3771
|
-
};
|
|
3772
|
-
/**
|
|
3773
|
-
* UserManagementApi - object-oriented interface
|
|
3774
|
-
* @export
|
|
3775
|
-
* @class UserManagementApi
|
|
3776
|
-
* @extends {BaseAPI}
|
|
3777
|
-
*/
|
|
3778
|
-
export declare class UserManagementApi extends BaseAPI {
|
|
3779
|
-
/**
|
|
3780
|
-
* List the users in a given org
|
|
3781
|
-
* @summary List Users in Org
|
|
3782
|
-
* @param {string} orgId
|
|
3783
|
-
* @param {*} [options] Override http request option.
|
|
3784
|
-
* @throws {RequiredError}
|
|
3785
|
-
* @memberof UserManagementApi
|
|
3786
|
-
*/
|
|
3787
|
-
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrincipalsInOrgResponse, any, {}>>;
|
|
3788
|
-
}
|
|
3789
3711
|
/**
|
|
3790
3712
|
* UserPermissionsApi - axios parameter creator
|
|
3791
3713
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -84,8 +84,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp =
|
|
87
|
+
exports.UserPermissionsApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.RevokeRoleRequestBodyRoleEnum = exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = exports.ListRolesSuccessResponseRolesEnum = exports.ListPermissionsSuccessResponsePermissionsEnum = exports.ListOrgRolesSuccessResponseValueValueRolesEnum = exports.ListOrgRolesSuccessResponseValueValueResourceTypeEnum = exports.IsInRoleRequestCheckModeEnum = exports.IsInRoleRequestRolesEnum = exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = exports.GetAuthorizedPropertiesRequestActionEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.GetAuthorizedOrgsRequestActionEnum = exports.GetAuthorizedBrandsRequestActionEnum = exports.FeatureBasedRolePermissionsEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthorizationBatchRequestActionEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndCheckIsInRoleRequestRolesEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = exports.AssignRoleRequestBodyRoleEnum = void 0;
|
|
88
|
+
exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = void 0;
|
|
89
89
|
var axios_1 = require("axios");
|
|
90
90
|
// Some imports not used depending on template conditions
|
|
91
91
|
// @ts-ignore
|
|
@@ -3584,7 +3584,7 @@ var RoleAssignmentApiAxiosParamCreator = function (configuration) {
|
|
|
3584
3584
|
if (configuration) {
|
|
3585
3585
|
baseOptions = configuration.baseOptions;
|
|
3586
3586
|
}
|
|
3587
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3587
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3588
3588
|
localVarHeaderParameter = {};
|
|
3589
3589
|
localVarQueryParameter = {};
|
|
3590
3590
|
// authentication ApiKeyAuth required
|
|
@@ -3930,140 +3930,6 @@ var RoleAssignmentApi = /** @class */ (function (_super) {
|
|
|
3930
3930
|
return RoleAssignmentApi;
|
|
3931
3931
|
}(base_1.BaseAPI));
|
|
3932
3932
|
exports.RoleAssignmentApi = RoleAssignmentApi;
|
|
3933
|
-
/**
|
|
3934
|
-
* UserManagementApi - axios parameter creator
|
|
3935
|
-
* @export
|
|
3936
|
-
*/
|
|
3937
|
-
var UserManagementApiAxiosParamCreator = function (configuration) {
|
|
3938
|
-
var _this = this;
|
|
3939
|
-
return {
|
|
3940
|
-
/**
|
|
3941
|
-
* List the users in a given org
|
|
3942
|
-
* @summary List Users in Org
|
|
3943
|
-
* @param {string} orgId
|
|
3944
|
-
* @param {*} [options] Override http request option.
|
|
3945
|
-
* @throws {RequiredError}
|
|
3946
|
-
*/
|
|
3947
|
-
listUsersInOrg: function (orgId_1) {
|
|
3948
|
-
var args_1 = [];
|
|
3949
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
3950
|
-
args_1[_i - 1] = arguments[_i];
|
|
3951
|
-
}
|
|
3952
|
-
return __awaiter(_this, __spreadArray([orgId_1], args_1, true), void 0, function (orgId, options) {
|
|
3953
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3954
|
-
if (options === void 0) { options = {}; }
|
|
3955
|
-
return __generator(this, function (_a) {
|
|
3956
|
-
switch (_a.label) {
|
|
3957
|
-
case 0:
|
|
3958
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
3959
|
-
(0, common_1.assertParamExists)('listUsersInOrg', 'orgId', orgId);
|
|
3960
|
-
localVarPath = "/orgs/{orgId}/users"
|
|
3961
|
-
.replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
|
|
3962
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3963
|
-
if (configuration) {
|
|
3964
|
-
baseOptions = configuration.baseOptions;
|
|
3965
|
-
}
|
|
3966
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3967
|
-
localVarHeaderParameter = {};
|
|
3968
|
-
localVarQueryParameter = {};
|
|
3969
|
-
// authentication ApiKeyAuth required
|
|
3970
|
-
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
3971
|
-
case 1:
|
|
3972
|
-
// authentication ApiKeyAuth required
|
|
3973
|
-
_a.sent();
|
|
3974
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3975
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3976
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3977
|
-
return [2 /*return*/, {
|
|
3978
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3979
|
-
options: localVarRequestOptions,
|
|
3980
|
-
}];
|
|
3981
|
-
}
|
|
3982
|
-
});
|
|
3983
|
-
});
|
|
3984
|
-
},
|
|
3985
|
-
};
|
|
3986
|
-
};
|
|
3987
|
-
exports.UserManagementApiAxiosParamCreator = UserManagementApiAxiosParamCreator;
|
|
3988
|
-
/**
|
|
3989
|
-
* UserManagementApi - functional programming interface
|
|
3990
|
-
* @export
|
|
3991
|
-
*/
|
|
3992
|
-
var UserManagementApiFp = function (configuration) {
|
|
3993
|
-
var localVarAxiosParamCreator = (0, exports.UserManagementApiAxiosParamCreator)(configuration);
|
|
3994
|
-
return {
|
|
3995
|
-
/**
|
|
3996
|
-
* List the users in a given org
|
|
3997
|
-
* @summary List Users in Org
|
|
3998
|
-
* @param {string} orgId
|
|
3999
|
-
* @param {*} [options] Override http request option.
|
|
4000
|
-
* @throws {RequiredError}
|
|
4001
|
-
*/
|
|
4002
|
-
listUsersInOrg: function (orgId, options) {
|
|
4003
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4004
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4005
|
-
var _a, _b, _c;
|
|
4006
|
-
return __generator(this, function (_d) {
|
|
4007
|
-
switch (_d.label) {
|
|
4008
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUsersInOrg(orgId, options)];
|
|
4009
|
-
case 1:
|
|
4010
|
-
localVarAxiosArgs = _d.sent();
|
|
4011
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4012
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserManagementApi.listUsersInOrg']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4013
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4014
|
-
}
|
|
4015
|
-
});
|
|
4016
|
-
});
|
|
4017
|
-
},
|
|
4018
|
-
};
|
|
4019
|
-
};
|
|
4020
|
-
exports.UserManagementApiFp = UserManagementApiFp;
|
|
4021
|
-
/**
|
|
4022
|
-
* UserManagementApi - factory interface
|
|
4023
|
-
* @export
|
|
4024
|
-
*/
|
|
4025
|
-
var UserManagementApiFactory = function (configuration, basePath, axios) {
|
|
4026
|
-
var localVarFp = (0, exports.UserManagementApiFp)(configuration);
|
|
4027
|
-
return {
|
|
4028
|
-
/**
|
|
4029
|
-
* List the users in a given org
|
|
4030
|
-
* @summary List Users in Org
|
|
4031
|
-
* @param {string} orgId
|
|
4032
|
-
* @param {*} [options] Override http request option.
|
|
4033
|
-
* @throws {RequiredError}
|
|
4034
|
-
*/
|
|
4035
|
-
listUsersInOrg: function (orgId, options) {
|
|
4036
|
-
return localVarFp.listUsersInOrg(orgId, options).then(function (request) { return request(axios, basePath); });
|
|
4037
|
-
},
|
|
4038
|
-
};
|
|
4039
|
-
};
|
|
4040
|
-
exports.UserManagementApiFactory = UserManagementApiFactory;
|
|
4041
|
-
/**
|
|
4042
|
-
* UserManagementApi - object-oriented interface
|
|
4043
|
-
* @export
|
|
4044
|
-
* @class UserManagementApi
|
|
4045
|
-
* @extends {BaseAPI}
|
|
4046
|
-
*/
|
|
4047
|
-
var UserManagementApi = /** @class */ (function (_super) {
|
|
4048
|
-
__extends(UserManagementApi, _super);
|
|
4049
|
-
function UserManagementApi() {
|
|
4050
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4051
|
-
}
|
|
4052
|
-
/**
|
|
4053
|
-
* List the users in a given org
|
|
4054
|
-
* @summary List Users in Org
|
|
4055
|
-
* @param {string} orgId
|
|
4056
|
-
* @param {*} [options] Override http request option.
|
|
4057
|
-
* @throws {RequiredError}
|
|
4058
|
-
* @memberof UserManagementApi
|
|
4059
|
-
*/
|
|
4060
|
-
UserManagementApi.prototype.listUsersInOrg = function (orgId, options) {
|
|
4061
|
-
var _this = this;
|
|
4062
|
-
return (0, exports.UserManagementApiFp)(this.configuration).listUsersInOrg(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4063
|
-
};
|
|
4064
|
-
return UserManagementApi;
|
|
4065
|
-
}(base_1.BaseAPI));
|
|
4066
|
-
exports.UserManagementApi = UserManagementApi;
|
|
4067
3933
|
/**
|
|
4068
3934
|
* UserPermissionsApi - axios parameter creator
|
|
4069
3935
|
* @export
|
package/dist/base.js
CHANGED
|
@@ -30,7 +30,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
32
32
|
var axios_1 = require("axios");
|
|
33
|
-
exports.BASE_PATH = "https://
|
|
33
|
+
exports.BASE_PATH = "https://undefined".replace(/\/+$/, "");
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @export
|
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.6-rc.
|
|
39
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.0.6-rc.1766077628"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
|