Skip to content

Commit

Permalink
Merge pull request #148 from isimluk/swagger-update
Browse files Browse the repository at this point in the history
Re-generate the codebase using the latest swagger
  • Loading branch information
isimluk authored Dec 5, 2022
2 parents 64a9f4c + 9dec004 commit 8d65229
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/apis/MsspApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get CID groups by ID.
* Deprecated : Please use GET /mssp/entities/cid-groups/v2. Get CID groups by ID.
*/
async getCIDGroupByIdRaw(requestParameters: GetCIDGroupByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCIDGroupsResponseV1>> {
if (requestParameters.cidGroupIds === null || requestParameters.cidGroupIds === undefined) {
Expand Down Expand Up @@ -667,15 +667,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get CID groups by ID.
* Deprecated : Please use GET /mssp/entities/cid-groups/v2. Get CID groups by ID.
*/
async getCIDGroupById(cidGroupIds: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainCIDGroupsResponseV1> {
const response = await this.getCIDGroupByIdRaw({ cidGroupIds: cidGroupIds }, initOverrides);
return await response.value();
}

/**
* Get CID Groups by ID. Identical to \'/entities/cid-groups/v1\' but accepts uniform \'ids\' parameter instead of \'cid_group_ids\'.
* Get CID Groups by ID.
*/
async getCIDGroupByIdV2Raw(requestParameters: GetCIDGroupByIdV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCIDGroupsResponseV1>> {
if (requestParameters.ids === null || requestParameters.ids === undefined) {
Expand Down Expand Up @@ -709,15 +709,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get CID Groups by ID. Identical to \'/entities/cid-groups/v1\' but accepts uniform \'ids\' parameter instead of \'cid_group_ids\'.
* Get CID Groups by ID.
*/
async getCIDGroupByIdV2(ids: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainCIDGroupsResponseV1> {
const response = await this.getCIDGroupByIdV2Raw({ ids: ids }, initOverrides);
return await response.value();
}

/**
* Get CID group members by CID group ID.
* Deprecated : Please use GET /mssp/entities/cid-group-members/v2. Get CID group members by CID group ID.
*/
async getCIDGroupMembersByRaw(
requestParameters: GetCIDGroupMembersByRequest,
Expand Down Expand Up @@ -754,15 +754,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get CID group members by CID group ID.
* Deprecated : Please use GET /mssp/entities/cid-group-members/v2. Get CID group members by CID group ID.
*/
async getCIDGroupMembersBy(cidGroupIds: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainCIDGroupMembersResponseV1> {
const response = await this.getCIDGroupMembersByRaw({ cidGroupIds: cidGroupIds }, initOverrides);
return await response.value();
}

/**
* Get CID group members by CID Group ID. Identical to \'/entities/cid-group-members/v1\' but accepts uniform \'ids\' parameter instead of \'cid_group_ids\'.
* Get CID group members by CID Group ID.
*/
async getCIDGroupMembersByV2Raw(
requestParameters: GetCIDGroupMembersByV2Request,
Expand Down Expand Up @@ -799,7 +799,7 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get CID group members by CID Group ID. Identical to \'/entities/cid-group-members/v1\' but accepts uniform \'ids\' parameter instead of \'cid_group_ids\'.
* Get CID group members by CID Group ID.
*/
async getCIDGroupMembersByV2(ids: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainCIDGroupMembersResponseV1> {
const response = await this.getCIDGroupMembersByV2Raw({ ids: ids }, initOverrides);
Expand Down Expand Up @@ -932,7 +932,7 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get user group members by user group ID.
* Deprecated : Please use GET /mssp/entities/user-group-members/v2. Get user group members by user group ID.
*/
async getUserGroupMembersByIDRaw(
requestParameters: GetUserGroupMembersByIDRequest,
Expand Down Expand Up @@ -969,15 +969,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get user group members by user group ID.
* Deprecated : Please use GET /mssp/entities/user-group-members/v2. Get user group members by user group ID.
*/
async getUserGroupMembersByID(userGroupIds: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUserGroupMembersResponseV1> {
const response = await this.getUserGroupMembersByIDRaw({ userGroupIds: userGroupIds }, initOverrides);
return await response.value();
}

/**
* Get user group members by user group ID. Identical to \'/entities/user-group-members/v1\' but accepts uniform \'ids\' parameter instead of \'user_group_ids\'.
* Get user group members by user group ID.
*/
async getUserGroupMembersByIDV2Raw(
requestParameters: GetUserGroupMembersByIDV2Request,
Expand Down Expand Up @@ -1014,15 +1014,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get user group members by user group ID. Identical to \'/entities/user-group-members/v1\' but accepts uniform \'ids\' parameter instead of \'user_group_ids\'.
* Get user group members by user group ID.
*/
async getUserGroupMembersByIDV2(ids: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUserGroupMembersResponseV1> {
const response = await this.getUserGroupMembersByIDV2Raw({ ids: ids }, initOverrides);
return await response.value();
}

/**
* Get user groups by ID.
* Deprecated : Please use GET /entities/user-groups/v2. Get user groups by ID.
*/
async getUserGroupsByIDRaw(requestParameters: GetUserGroupsByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainUserGroupsResponseV1>> {
if (requestParameters.userGroupIds === null || requestParameters.userGroupIds === undefined) {
Expand Down Expand Up @@ -1056,15 +1056,15 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get user groups by ID.
* Deprecated : Please use GET /entities/user-groups/v2. Get user groups by ID.
*/
async getUserGroupsByID(userGroupIds: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUserGroupsResponseV1> {
const response = await this.getUserGroupsByIDRaw({ userGroupIds: userGroupIds }, initOverrides);
return await response.value();
}

/**
* Get user groups by ID. Identical to \'/entities/user-groups/v1\' but accepts uniform \'ids\' parameter instead of \'user_group_ids\'.
* Get user groups by ID.
*/
async getUserGroupsByIDV2Raw(requestParameters: GetUserGroupsByIDV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainUserGroupsResponseV1>> {
if (requestParameters.ids === null || requestParameters.ids === undefined) {
Expand Down Expand Up @@ -1098,7 +1098,7 @@ export class MsspApi extends runtime.BaseAPI {
}

/**
* Get user groups by ID. Identical to \'/entities/user-groups/v1\' but accepts uniform \'ids\' parameter instead of \'user_group_ids\'.
* Get user groups by ID.
*/
async getUserGroupsByIDV2(ids: Array<string>, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUserGroupsResponseV1> {
const response = await this.getUserGroupsByIDV2Raw({ ids: ids }, initOverrides);
Expand Down

0 comments on commit 8d65229

Please sign in to comment.