[frontend] Fix openapi-generator run for mastodon

pull/2/head
ogdbd3h5qze42igcv8wcrqk3 2023-03-18 18:37:35 +01:00 committed by missytake
parent a548c2febc
commit 66fff6fd7d
9 changed files with 69 additions and 69 deletions

View File

@ -136,7 +136,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/admin/confirm/${encodeURIComponent(String(registerToken))}`,
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/api/admin/confirm/${encodeURIComponent(String(registerToken))}`,
null,
{
responseType: <any>responseType,
@ -195,7 +195,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/admin/reset/${encodeURIComponent(String(resetToken))}`,
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/api/admin/reset/${encodeURIComponent(String(resetToken))}`,
bodyPassword,
{
responseType: <any>responseType,
@ -243,7 +243,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/admin/`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/admin/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -292,7 +292,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/admin/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/admin/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -341,7 +341,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/admin/hoods/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/admin/hoods/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -429,7 +429,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/admin/login/`,
return this.httpClient.post<BodyAccessToken>(`${this.configuration.basePath}/api/admin/login/`,
convertFormParamsToString ? formParams.toString() : formParams,
{
responseType: <any>responseType,
@ -485,7 +485,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.post<object>(`${this.configuration.basePath}/admin/register/`,
return this.httpClient.post<object>(`${this.configuration.basePath}/api/admin/register/`,
bodyAdmin,
{
responseType: <any>responseType,
@ -541,7 +541,7 @@ export class AdminService {
responseType = 'text';
}
return this.httpClient.post<object>(`${this.configuration.basePath}/admin/reset/`,
return this.httpClient.post<object>(`${this.configuration.basePath}/api/admin/reset/`,
kibicaraWebapiAdminBodyEmail,
{
responseType: <any>responseType,

View File

@ -140,7 +140,7 @@ export class BadwordsService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/badwords/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/badwords/`,
bodyBadWord,
{
responseType: <any>responseType,
@ -198,7 +198,7 @@ export class BadwordsService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -255,7 +255,7 @@ export class BadwordsService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -308,7 +308,7 @@ export class BadwordsService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/badwords/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/badwords/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -378,7 +378,7 @@ export class BadwordsService {
responseType = 'text';
}
return this.httpClient.put<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
return this.httpClient.put<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/badwords/${encodeURIComponent(String(badwordId))}`,
bodyBadWord,
{
responseType: <any>responseType,

View File

@ -126,7 +126,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<object>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/subscribe/confirm/${encodeURIComponent(String(token))}`,
return this.httpClient.post<object>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/subscribe/confirm/${encodeURIComponent(String(token))}`,
null,
{
responseType: <any>responseType,
@ -193,7 +193,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/`,
kibicaraPlatformsEmailWebapiBodyEmail,
{
responseType: <any>responseType,
@ -251,7 +251,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/${encodeURIComponent(String(emailId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/${encodeURIComponent(String(emailId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -307,7 +307,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/${encodeURIComponent(String(emailId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/${encodeURIComponent(String(emailId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -359,7 +359,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -404,7 +404,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/public`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/public`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -460,7 +460,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/subscribers/${encodeURIComponent(String(subscriberId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/subscribers/${encodeURIComponent(String(subscriberId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -512,7 +512,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/subscribers/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/subscribers/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -571,7 +571,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/messages/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/messages/`,
kibicaraPlatformsEmailWebapiBodyMessage,
{
responseType: <any>responseType,
@ -624,7 +624,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/start`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/start`,
null,
{
responseType: <any>responseType,
@ -677,7 +677,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/status`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/status`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -729,7 +729,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/stop`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/stop`,
null,
{
responseType: <any>responseType,
@ -789,7 +789,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.post<object>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/subscribe/`,
return this.httpClient.post<object>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/subscribe/`,
bodySubscriber,
{
responseType: <any>responseType,
@ -840,7 +840,7 @@ export class EmailService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/email/unsubscribe/${encodeURIComponent(String(token))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/email/unsubscribe/${encodeURIComponent(String(token))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,

View File

@ -136,7 +136,7 @@ export class HoodsService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/`,
bodyHood,
{
responseType: <any>responseType,
@ -190,7 +190,7 @@ export class HoodsService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -236,7 +236,7 @@ export class HoodsService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -278,7 +278,7 @@ export class HoodsService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -344,7 +344,7 @@ export class HoodsService {
responseType = 'text';
}
return this.httpClient.put<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}`,
return this.httpClient.put<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}`,
bodyHood,
{
responseType: <any>responseType,

View File

@ -152,7 +152,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/`,
null,
{
params: queryParameters,
@ -210,7 +210,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -266,7 +266,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -318,7 +318,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -363,7 +363,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/public`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/public`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -419,7 +419,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/start`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/start`,
null,
{
responseType: <any>responseType,
@ -476,7 +476,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/status`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/status`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -532,7 +532,7 @@ export class MastodonService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/stop`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/mastodon/${encodeURIComponent(String(mastodonId))}/stop`,
null,
{
responseType: <any>responseType,

View File

@ -139,7 +139,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/`,
bodyTelegram,
{
responseType: <any>responseType,
@ -196,7 +196,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -252,7 +252,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -304,7 +304,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -349,7 +349,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/public`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/public`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -405,7 +405,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/start`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/start`,
null,
{
responseType: <any>responseType,
@ -462,7 +462,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/status`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/status`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -518,7 +518,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/stop`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}/stop`,
null,
{
responseType: <any>responseType,
@ -588,7 +588,7 @@ export class TelegramService {
responseType = 'text';
}
return this.httpClient.put<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
return this.httpClient.put<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/telegram/${encodeURIComponent(String(telegramId))}`,
bodyTelegram,
{
responseType: <any>responseType,

View File

@ -126,7 +126,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/`,
null,
{
responseType: <any>responseType,
@ -183,7 +183,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -252,7 +252,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}/messages/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}/messages/`,
kibicaraPlatformsTestWebapiBodyMessage,
{
responseType: <any>responseType,
@ -309,7 +309,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}/messages/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}/messages/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -361,7 +361,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -417,7 +417,7 @@ export class TestService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/test/${encodeURIComponent(String(testId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,

View File

@ -140,7 +140,7 @@ export class TriggersService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/triggers/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/triggers/`,
bodyTrigger,
{
responseType: <any>responseType,
@ -198,7 +198,7 @@ export class TriggersService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -255,7 +255,7 @@ export class TriggersService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -308,7 +308,7 @@ export class TriggersService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/triggers/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/triggers/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -378,7 +378,7 @@ export class TriggersService {
responseType = 'text';
}
return this.httpClient.put<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
return this.httpClient.put<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/triggers/${encodeURIComponent(String(triggerId))}`,
bodyTrigger,
{
responseType: <any>responseType,

View File

@ -147,7 +147,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/twitter/callback`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/twitter/callback`,
{
params: queryParameters,
responseType: <any>responseType,
@ -201,7 +201,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/`,
null,
{
responseType: <any>responseType,
@ -258,7 +258,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.delete<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}`,
return this.httpClient.delete<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -314,7 +314,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -366,7 +366,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -411,7 +411,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/public`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/public`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -467,7 +467,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/start`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/start`,
null,
{
responseType: <any>responseType,
@ -524,7 +524,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.get<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/status`,
return this.httpClient.get<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/status`,
{
responseType: <any>responseType,
withCredentials: this.configuration.withCredentials,
@ -580,7 +580,7 @@ export class TwitterService {
responseType = 'text';
}
return this.httpClient.post<any>(`${this.configuration.basePath}/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/stop`,
return this.httpClient.post<any>(`${this.configuration.basePath}/api/hoods/${encodeURIComponent(String(hoodId))}/twitter/${encodeURIComponent(String(twitterId))}/stop`,
null,
{
responseType: <any>responseType,