/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export class GroupsOrganizationsService { constructor(public readonly httpRequest: BaseHttpRequest) {} /** * @returns void * @throws ApiError */ public addOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/addOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getOrgDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getOrgDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getUserOrgDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getUserOrgDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAllOrgsCount(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getAllOrgsCount', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getAllOrgs(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getAllOrgs', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getCurrentOrgDetails(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getCurrentOrgDetails', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/updateOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateUserOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/updateUserOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateUsers(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/updateUsers', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public deactivateOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/deactivateOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public activateOrg(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/activateOrg', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public getOrgsType(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/getOrgsType', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } /** * @returns void * @throws ApiError */ public updateCurrentOrganization(): CancelablePromise { return this.httpRequest.request({ method: 'GET', url: '/groups/organizations/updateCurrentOrganization', errors: { 401: `Need proper authorization, it's usually acheived by getting the right permission.`, }, }); } }