Skip to content

Commit

Permalink
👽 Change ImpersonateUser endpoints to go to js embark prod
Browse files Browse the repository at this point in the history
  • Loading branch information
mariush2 committed Dec 17, 2024
1 parent 28ba0a0 commit c99d200
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/api/services/ImpersonateUserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { ImpersonateUserDto } from 'src/api/models/ImpersonateUserDto';
import type { ImpersonateUserUpdateDto } from 'src/api/models/ImpersonateUserUpdateDto';
import type { ObjectServiceResponse } from 'src/api/models/ObjectServiceResponse';
import type { CancelablePromise } from 'src/api';
import { OpenAPI_SAM_Prod } from '../core/OpenAPI';
import { OpenAPI_JSEMBARK_Prod, OpenAPI_SAM_Prod } from '../core/OpenAPI';
import { request as __request } from '../core/request';
export class ImpersonateUserService {
/**
Expand Down Expand Up @@ -74,7 +74,7 @@ export class ImpersonateUserService {
public static getApiV1ImpersonateUserGetImpersonateUserForApp(
appName: string
): CancelablePromise<Array<ImpersonateUserDto>> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/GetImpersonateUserForApp/{appName}',
path: {
Expand All @@ -92,7 +92,7 @@ export class ImpersonateUserService {
* @throws ApiError
*/
public static getAllActiveUsers(): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/ActiveUsers',
errors: {
Expand All @@ -107,7 +107,7 @@ export class ImpersonateUserService {
* @throws ApiError
*/
public static getActiveUser(): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/ActiveUser',
errors: {
Expand All @@ -125,7 +125,7 @@ export class ImpersonateUserService {
public static getImpersonateUserById(
id?: string
): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/ImpersonateUser',
query: {
Expand All @@ -146,7 +146,7 @@ export class ImpersonateUserService {
public static getImpersonateUserByUserName(
username?: string
): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/ImpersonateUserByUserName',
query: {
Expand All @@ -163,7 +163,7 @@ export class ImpersonateUserService {
* @throws ApiError
*/
public static canImpersonate(): CancelablePromise<boolean> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'GET',
url: '/api/v1/ImpersonateUser/CanImpersonate',
errors: {
Expand All @@ -181,7 +181,7 @@ export class ImpersonateUserService {
public static startImpersonating(
username?: string
): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'PUT',
url: '/api/v1/ImpersonateUser/StartImpersonating',
query: {
Expand All @@ -199,7 +199,7 @@ export class ImpersonateUserService {
* @throws ApiError
*/
public static stopImpersonating(): CancelablePromise<ImpersonateUserDto> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'PUT',
url: '/api/v1/ImpersonateUser/StopImpersonating',
errors: {
Expand All @@ -218,7 +218,7 @@ export class ImpersonateUserService {
public static deleteImpersonationUser(
impersonationUserId?: string
): CancelablePromise<ObjectServiceResponse> {
return __request(OpenAPI_SAM_Prod, {
return __request(OpenAPI_JSEMBARK_Prod, {
method: 'DELETE',
url: '/api/v1/ImpersonateUser/DeleteImpersonationUser',
query: {
Expand Down

0 comments on commit c99d200

Please sign in to comment.