Skip to content

Commit 2d62c1d

Browse files
committed
SDK Release v1.46.2-alpha
1 parent b33a895 commit 2d62c1d

8 files changed

Lines changed: 199 additions & 199 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## @nexgencloud/hyperstack-sdk-typescript@v1.46.1-alpha
1+
## @nexgencloud/hyperstack-sdk-typescript@v1.46.2-alpha
22

33
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
44

@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
3636
_published:_
3737

3838
```
39-
npm install @nexgencloud/hyperstack-sdk-typescript@v1.46.1-alpha --save
39+
npm install @nexgencloud/hyperstack-sdk-typescript@v1.46.2-alpha --save
4040
```
4141

4242
_unPublished (not recommended):_

api.ts

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -10370,13 +10370,13 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1037010370
};
1037110371
},
1037210372
/**
10373-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10374-
* @summary Retrieve Authenticated User Details
10373+
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
10374+
* @summary Get MFA status for authenticated user
1037510375
* @param {*} [options] Override http request option.
1037610376
* @throws {RequiredError}
1037710377
*/
10378-
getAuthenticatedUser: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10379-
const localVarPath = `/auth/me`;
10378+
getUserMFAStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10379+
const localVarPath = `/auth/me/mfa`;
1038010380
// use dummy base URL string because the URL constructor only accepts absolute URLs.
1038110381
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1038210382
let baseOptions;
@@ -10403,13 +10403,13 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1040310403
};
1040410404
},
1040510405
/**
10406-
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
10407-
* @summary Get MFA status for authenticated user
10406+
* Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user\'s organizational affiliations.
10407+
* @summary Get User Organizations
1040810408
* @param {*} [options] Override http request option.
1040910409
* @throws {RequiredError}
1041010410
*/
10411-
getUserMFAStatus: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10412-
const localVarPath = `/auth/me/mfa`;
10411+
getUserOrganizations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10412+
const localVarPath = `/auth/me/organizations`;
1041310413
// use dummy base URL string because the URL constructor only accepts absolute URLs.
1041410414
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1041510415
let baseOptions;
@@ -10436,13 +10436,13 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
1043610436
};
1043710437
},
1043810438
/**
10439-
* Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user\'s organizational affiliations.
10440-
* @summary Get User Organizations
10439+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10440+
* @summary Retrieve Authenticated User Details
1044110441
* @param {*} [options] Override http request option.
1044210442
* @throws {RequiredError}
1044310443
*/
10444-
getUserOrganizations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10445-
const localVarPath = `/auth/me/organizations`;
10444+
retrieveAuthenticatedUserDetails: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10445+
const localVarPath = `/auth/me`;
1044610446
// use dummy base URL string because the URL constructor only accepts absolute URLs.
1044710447
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1044810448
let baseOptions;
@@ -10501,18 +10501,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
1050110501
const localVarOperationServerBasePath = operationServerMap['AuthApi.disableMFA']?.[localVarOperationServerIndex]?.url;
1050210502
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1050310503
},
10504-
/**
10505-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10506-
* @summary Retrieve Authenticated User Details
10507-
* @param {*} [options] Override http request option.
10508-
* @throws {RequiredError}
10509-
*/
10510-
async getAuthenticatedUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUserInfoResponseModel>> {
10511-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAuthenticatedUser(options);
10512-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10513-
const localVarOperationServerBasePath = operationServerMap['AuthApi.getAuthenticatedUser']?.[localVarOperationServerIndex]?.url;
10514-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10515-
},
1051610504
/**
1051710505
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
1051810506
* @summary Get MFA status for authenticated user
@@ -10537,6 +10525,18 @@ export const AuthApiFp = function(configuration?: Configuration) {
1053710525
const localVarOperationServerBasePath = operationServerMap['AuthApi.getUserOrganizations']?.[localVarOperationServerIndex]?.url;
1053810526
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1053910527
},
10528+
/**
10529+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10530+
* @summary Retrieve Authenticated User Details
10531+
* @param {*} [options] Override http request option.
10532+
* @throws {RequiredError}
10533+
*/
10534+
async retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUserInfoResponseModel>> {
10535+
const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveAuthenticatedUserDetails(options);
10536+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10537+
const localVarOperationServerBasePath = operationServerMap['AuthApi.retrieveAuthenticatedUserDetails']?.[localVarOperationServerIndex]?.url;
10538+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10539+
},
1054010540
}
1054110541
};
1054210542

@@ -10564,15 +10564,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
1056410564
disableMFA(options?: RawAxiosRequestConfig): AxiosPromise<CommonResponseModel> {
1056510565
return localVarFp.disableMFA(options).then((request) => request(axios, basePath));
1056610566
},
10567-
/**
10568-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10569-
* @summary Retrieve Authenticated User Details
10570-
* @param {*} [options] Override http request option.
10571-
* @throws {RequiredError}
10572-
*/
10573-
getAuthenticatedUser(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel> {
10574-
return localVarFp.getAuthenticatedUser(options).then((request) => request(axios, basePath));
10575-
},
1057610567
/**
1057710568
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
1057810569
* @summary Get MFA status for authenticated user
@@ -10591,6 +10582,15 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
1059110582
getUserOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<UserOrganizationsResponse> {
1059210583
return localVarFp.getUserOrganizations(options).then((request) => request(axios, basePath));
1059310584
},
10585+
/**
10586+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10587+
* @summary Retrieve Authenticated User Details
10588+
* @param {*} [options] Override http request option.
10589+
* @throws {RequiredError}
10590+
*/
10591+
retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel> {
10592+
return localVarFp.retrieveAuthenticatedUserDetails(options).then((request) => request(axios, basePath));
10593+
},
1059410594
};
1059510595
};
1059610596

@@ -10622,17 +10622,6 @@ export class AuthApi extends BaseAPI {
1062210622
return AuthApiFp(this.configuration).disableMFA(options).then((request) => request(this.axios, this.basePath));
1062310623
}
1062410624

10625-
/**
10626-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10627-
* @summary Retrieve Authenticated User Details
10628-
* @param {*} [options] Override http request option.
10629-
* @throws {RequiredError}
10630-
* @memberof AuthApi
10631-
*/
10632-
public getAuthenticatedUser(options?: RawAxiosRequestConfig) {
10633-
return AuthApiFp(this.configuration).getAuthenticatedUser(options).then((request) => request(this.axios, this.basePath));
10634-
}
10635-
1063610625
/**
1063710626
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
1063810627
* @summary Get MFA status for authenticated user
@@ -10654,6 +10643,17 @@ export class AuthApi extends BaseAPI {
1065410643
public getUserOrganizations(options?: RawAxiosRequestConfig) {
1065510644
return AuthApiFp(this.configuration).getUserOrganizations(options).then((request) => request(this.axios, this.basePath));
1065610645
}
10646+
10647+
/**
10648+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10649+
* @summary Retrieve Authenticated User Details
10650+
* @param {*} [options] Override http request option.
10651+
* @throws {RequiredError}
10652+
* @memberof AuthApi
10653+
*/
10654+
public retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig) {
10655+
return AuthApiFp(this.configuration).retrieveAuthenticatedUserDetails(options).then((request) => request(this.axios, this.basePath));
10656+
}
1065710657
}
1065810658

1065910659

dist/api.d.ts

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9925,13 +9925,6 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
99259925
* @throws {RequiredError}
99269926
*/
99279927
disableMFA: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9928-
/**
9929-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
9930-
* @summary Retrieve Authenticated User Details
9931-
* @param {*} [options] Override http request option.
9932-
* @throws {RequiredError}
9933-
*/
9934-
getAuthenticatedUser: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99359928
/**
99369929
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
99379930
* @summary Get MFA status for authenticated user
@@ -9946,6 +9939,13 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
99469939
* @throws {RequiredError}
99479940
*/
99489941
getUserOrganizations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9942+
/**
9943+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
9944+
* @summary Retrieve Authenticated User Details
9945+
* @param {*} [options] Override http request option.
9946+
* @throws {RequiredError}
9947+
*/
9948+
retrieveAuthenticatedUserDetails: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99499949
};
99509950
/**
99519951
* AuthApi - functional programming interface
@@ -9965,13 +9965,6 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
99659965
* @throws {RequiredError}
99669966
*/
99679967
disableMFA(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonResponseModel>>;
9968-
/**
9969-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
9970-
* @summary Retrieve Authenticated User Details
9971-
* @param {*} [options] Override http request option.
9972-
* @throws {RequiredError}
9973-
*/
9974-
getAuthenticatedUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUserInfoResponseModel>>;
99759968
/**
99769969
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
99779970
* @summary Get MFA status for authenticated user
@@ -9986,6 +9979,13 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
99869979
* @throws {RequiredError}
99879980
*/
99889981
getUserOrganizations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrganizationsResponse>>;
9982+
/**
9983+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
9984+
* @summary Retrieve Authenticated User Details
9985+
* @param {*} [options] Override http request option.
9986+
* @throws {RequiredError}
9987+
*/
9988+
retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthUserInfoResponseModel>>;
99899989
};
99909990
/**
99919991
* AuthApi - factory interface
@@ -10005,13 +10005,6 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
1000510005
* @throws {RequiredError}
1000610006
*/
1000710007
disableMFA(options?: RawAxiosRequestConfig): AxiosPromise<CommonResponseModel>;
10008-
/**
10009-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10010-
* @summary Retrieve Authenticated User Details
10011-
* @param {*} [options] Override http request option.
10012-
* @throws {RequiredError}
10013-
*/
10014-
getAuthenticatedUser(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel>;
1001510008
/**
1001610009
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
1001710010
* @summary Get MFA status for authenticated user
@@ -10026,6 +10019,13 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
1002610019
* @throws {RequiredError}
1002710020
*/
1002810021
getUserOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<UserOrganizationsResponse>;
10022+
/**
10023+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10024+
* @summary Retrieve Authenticated User Details
10025+
* @param {*} [options] Override http request option.
10026+
* @throws {RequiredError}
10027+
*/
10028+
retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel>;
1002910029
};
1003010030
/**
1003110031
* AuthApi - object-oriented interface
@@ -10049,14 +10049,6 @@ export declare class AuthApi extends BaseAPI {
1004910049
* @memberof AuthApi
1005010050
*/
1005110051
disableMFA(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonResponseModel, any, {}>>;
10052-
/**
10053-
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10054-
* @summary Retrieve Authenticated User Details
10055-
* @param {*} [options] Override http request option.
10056-
* @throws {RequiredError}
10057-
* @memberof AuthApi
10058-
*/
10059-
getAuthenticatedUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUserInfoResponseModel, any, {}>>;
1006010052
/**
1006110053
* Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
1006210054
* @summary Get MFA status for authenticated user
@@ -10073,6 +10065,14 @@ export declare class AuthApi extends BaseAPI {
1007310065
* @memberof AuthApi
1007410066
*/
1007510067
getUserOrganizations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserOrganizationsResponse, any, {}>>;
10068+
/**
10069+
* Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10070+
* @summary Retrieve Authenticated User Details
10071+
* @param {*} [options] Override http request option.
10072+
* @throws {RequiredError}
10073+
* @memberof AuthApi
10074+
*/
10075+
retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUserInfoResponseModel, any, {}>>;
1007610076
}
1007710077
/**
1007810078
* BetaAccessApi - axios parameter creator

0 commit comments

Comments
 (0)