@rasadov/lumoar-sdk 1.0.16 → 1.0.17

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 CHANGED
@@ -5791,10 +5791,10 @@ export const RolesApiAxiosParamCreator = function (configuration?: Configuration
5791
5791
  * @param {*} [options] Override http request option.
5792
5792
  * @throws {RequiredError}
5793
5793
  */
5794
- getUsersV1RolesCompanyIdListGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5794
+ getUsersV1RolesCompanyIdUsersGet: async (companyId: string, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5795
5795
  // verify required parameter 'companyId' is not null or undefined
5796
- assertParamExists('getUsersV1RolesCompanyIdListGet', 'companyId', companyId)
5797
- const localVarPath = `/v1/roles/{company_id}/list`
5796
+ assertParamExists('getUsersV1RolesCompanyIdUsersGet', 'companyId', companyId)
5797
+ const localVarPath = `/v1/roles/{company_id}/users`
5798
5798
  .replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
5799
5799
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5800
5800
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5937,10 +5937,10 @@ export const RolesApiFp = function(configuration?: Configuration) {
5937
5937
  * @param {*} [options] Override http request option.
5938
5938
  * @throws {RequiredError}
5939
5939
  */
5940
- async getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>> {
5941
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options);
5940
+ async getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>> {
5941
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options);
5942
5942
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5943
- const localVarOperationServerBasePath = operationServerMap['RolesApi.getUsersV1RolesCompanyIdListGet']?.[localVarOperationServerIndex]?.url;
5943
+ const localVarOperationServerBasePath = operationServerMap['RolesApi.getUsersV1RolesCompanyIdUsersGet']?.[localVarOperationServerIndex]?.url;
5944
5944
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5945
5945
  },
5946
5946
  /**
@@ -6004,8 +6004,8 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
6004
6004
  * @param {*} [options] Override http request option.
6005
6005
  * @throws {RequiredError}
6006
6006
  */
6007
- getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>> {
6008
- return localVarFp.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
6007
+ getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>> {
6008
+ return localVarFp.getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
6009
6009
  },
6010
6010
  /**
6011
6011
  *
@@ -6065,8 +6065,8 @@ export class RolesApi extends BaseAPI {
6065
6065
  * @throws {RequiredError}
6066
6066
  * @memberof RolesApi
6067
6067
  */
6068
- public getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
6069
- return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
6068
+ public getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
6069
+ return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
6070
6070
  }
6071
6071
 
6072
6072
  /**
package/dist/api.d.ts CHANGED
@@ -3957,7 +3957,7 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
3957
3957
  * @param {*} [options] Override http request option.
3958
3958
  * @throws {RequiredError}
3959
3959
  */
3960
- getUsersV1RolesCompanyIdListGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3960
+ getUsersV1RolesCompanyIdUsersGet: (companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3961
3961
  /**
3962
3962
  *
3963
3963
  * @summary Invite
@@ -4003,7 +4003,7 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
4003
4003
  * @param {*} [options] Override http request option.
4004
4004
  * @throws {RequiredError}
4005
4005
  */
4006
- getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>>;
4006
+ getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserWithId>>>;
4007
4007
  /**
4008
4008
  *
4009
4009
  * @summary Invite
@@ -4049,7 +4049,7 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
4049
4049
  * @param {*} [options] Override http request option.
4050
4050
  * @throws {RequiredError}
4051
4051
  */
4052
- getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>>;
4052
+ getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserWithId>>;
4053
4053
  /**
4054
4054
  *
4055
4055
  * @summary Invite
@@ -4099,7 +4099,7 @@ export declare class RolesApi extends BaseAPI {
4099
4099
  * @throws {RequiredError}
4100
4100
  * @memberof RolesApi
4101
4101
  */
4102
- getUsersV1RolesCompanyIdListGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWithId[], any, {}>>;
4102
+ getUsersV1RolesCompanyIdUsersGet(companyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWithId[], any, {}>>;
4103
4103
  /**
4104
4104
  *
4105
4105
  * @summary Invite
package/dist/api.js CHANGED
@@ -3571,10 +3571,10 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3571
3571
  * @param {*} [options] Override http request option.
3572
3572
  * @throws {RequiredError}
3573
3573
  */
3574
- getUsersV1RolesCompanyIdListGet: (companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, authorization, sessionId, options = {}) {
3574
+ getUsersV1RolesCompanyIdUsersGet: (companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, authorization, sessionId, options = {}) {
3575
3575
  // verify required parameter 'companyId' is not null or undefined
3576
- assertParamExists('getUsersV1RolesCompanyIdListGet', 'companyId', companyId);
3577
- const localVarPath = `/v1/roles/{company_id}/list`
3576
+ assertParamExists('getUsersV1RolesCompanyIdUsersGet', 'companyId', companyId);
3577
+ const localVarPath = `/v1/roles/{company_id}/users`
3578
3578
  .replace(`{${"company_id"}}`, encodeURIComponent(String(companyId)));
3579
3579
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3580
3580
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3702,12 +3702,12 @@ export const RolesApiFp = function (configuration) {
3702
3702
  * @param {*} [options] Override http request option.
3703
3703
  * @throws {RequiredError}
3704
3704
  */
3705
- getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
3705
+ getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options) {
3706
3706
  return __awaiter(this, void 0, void 0, function* () {
3707
3707
  var _a, _b, _c;
3708
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options);
3708
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options);
3709
3709
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3710
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.getUsersV1RolesCompanyIdListGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3710
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.getUsersV1RolesCompanyIdUsersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3711
3711
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3712
3712
  });
3713
3713
  },
@@ -3777,8 +3777,8 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3777
3777
  * @param {*} [options] Override http request option.
3778
3778
  * @throws {RequiredError}
3779
3779
  */
3780
- getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
3781
- return localVarFp.getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3780
+ getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options) {
3781
+ return localVarFp.getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3782
3782
  },
3783
3783
  /**
3784
3784
  *
@@ -3836,8 +3836,8 @@ export class RolesApi extends BaseAPI {
3836
3836
  * @throws {RequiredError}
3837
3837
  * @memberof RolesApi
3838
3838
  */
3839
- getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options) {
3840
- return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdListGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3839
+ getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options) {
3840
+ return RolesApiFp(this.configuration).getUsersV1RolesCompanyIdUsersGet(companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3841
3841
  }
3842
3842
  /**
3843
3843
  *
package/dist/index.d.ts CHANGED
@@ -11,3 +11,4 @@
11
11
  */
12
12
  export * from "./api";
13
13
  export * from "./configuration";
14
+ export * from "./sdk";
package/dist/index.js CHANGED
@@ -13,3 +13,4 @@
13
13
  */
14
14
  export * from "./api";
15
15
  export * from "./configuration";
16
+ export * from "./sdk";
package/docs/RolesApi.md CHANGED
@@ -5,7 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getUserPermissionsV1RolesCompanyIdMeGet**](#getuserpermissionsv1rolescompanyidmeget) | **GET** /v1/roles/{company_id}/me | Get User Permissions|
8
- |[**getUsersV1RolesCompanyIdListGet**](#getusersv1rolescompanyidlistget) | **GET** /v1/roles/{company_id}/list | Get Users|
8
+ |[**getUsersV1RolesCompanyIdUsersGet**](#getusersv1rolescompanyidusersget) | **GET** /v1/roles/{company_id}/users | Get Users|
9
9
  |[**inviteV1RolesInvitesPost**](#invitev1rolesinvitespost) | **POST** /v1/roles/invites | Invite|
10
10
  |[**removePeopleV1RolesInvitesDelete**](#removepeoplev1rolesinvitesdelete) | **DELETE** /v1/roles/invites | Remove People|
11
11
 
@@ -66,8 +66,8 @@ No authorization required
66
66
 
67
67
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
68
68
 
69
- # **getUsersV1RolesCompanyIdListGet**
70
- > Array<UserWithId> getUsersV1RolesCompanyIdListGet()
69
+ # **getUsersV1RolesCompanyIdUsersGet**
70
+ > Array<UserWithId> getUsersV1RolesCompanyIdUsersGet()
71
71
 
72
72
 
73
73
  ### Example
@@ -85,7 +85,7 @@ let companyId: string; // (default to undefined)
85
85
  let authorization: string; // (optional) (default to undefined)
86
86
  let sessionId: string; // (optional) (default to undefined)
87
87
 
88
- const { status, data } = await apiInstance.getUsersV1RolesCompanyIdListGet(
88
+ const { status, data } = await apiInstance.getUsersV1RolesCompanyIdUsersGet(
89
89
  companyId,
90
90
  authorization,
91
91
  sessionId
package/index.ts CHANGED
@@ -15,4 +15,4 @@
15
15
 
16
16
  export * from "./api";
17
17
  export * from "./configuration";
18
-
18
+ export * from "./sdk"
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "openapi-generator-cli": "^1.0.0"
5
5
  },
6
6
  "name": "@rasadov/lumoar-sdk",
7
- "version": "1.0.16",
7
+ "version": "1.0.17",
8
8
  "description": "Lumoar API SDK",
9
9
  "main": "dist/index.js",
10
10
  "directories": {