[frontend] Fix openapi-generator run for mastodon

This commit is contained in:
ogdbd3h5qze42igcv8wcrqk3 2023-03-18 18:37:35 +01:00
parent 59dce0ebf6
commit f05c43ff59
9 changed files with 69 additions and 69 deletions

View file

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

View file

@ -140,7 +140,7 @@ export class BadwordsService {
responseType = 'text'; 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, bodyBadWord,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -198,7 +198,7 @@ export class BadwordsService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -255,7 +255,7 @@ export class BadwordsService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -308,7 +308,7 @@ export class BadwordsService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -378,7 +378,7 @@ export class BadwordsService {
responseType = 'text'; 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, bodyBadWord,
{ {
responseType: <any>responseType, responseType: <any>responseType,

View file

@ -126,7 +126,7 @@ export class EmailService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -193,7 +193,7 @@ export class EmailService {
responseType = 'text'; 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, kibicaraPlatformsEmailWebapiBodyEmail,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -251,7 +251,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -307,7 +307,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -359,7 +359,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -404,7 +404,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -460,7 +460,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -512,7 +512,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -571,7 +571,7 @@ export class EmailService {
responseType = 'text'; 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, kibicaraPlatformsEmailWebapiBodyMessage,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -624,7 +624,7 @@ export class EmailService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -677,7 +677,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -729,7 +729,7 @@ export class EmailService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -789,7 +789,7 @@ export class EmailService {
responseType = 'text'; 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, bodySubscriber,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -840,7 +840,7 @@ export class EmailService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,

View file

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

View file

@ -152,7 +152,7 @@ export class MastodonService {
responseType = 'text'; 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, null,
{ {
params: queryParameters, params: queryParameters,
@ -210,7 +210,7 @@ export class MastodonService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -266,7 +266,7 @@ export class MastodonService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -318,7 +318,7 @@ export class MastodonService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -363,7 +363,7 @@ export class MastodonService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -419,7 +419,7 @@ export class MastodonService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -476,7 +476,7 @@ export class MastodonService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -532,7 +532,7 @@ export class MastodonService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,

View file

@ -139,7 +139,7 @@ export class TelegramService {
responseType = 'text'; 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, bodyTelegram,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -196,7 +196,7 @@ export class TelegramService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -252,7 +252,7 @@ export class TelegramService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -304,7 +304,7 @@ export class TelegramService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -349,7 +349,7 @@ export class TelegramService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -405,7 +405,7 @@ export class TelegramService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -462,7 +462,7 @@ export class TelegramService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -518,7 +518,7 @@ export class TelegramService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -588,7 +588,7 @@ export class TelegramService {
responseType = 'text'; 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, bodyTelegram,
{ {
responseType: <any>responseType, responseType: <any>responseType,

View file

@ -126,7 +126,7 @@ export class TestService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -183,7 +183,7 @@ export class TestService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -252,7 +252,7 @@ export class TestService {
responseType = 'text'; 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, kibicaraPlatformsTestWebapiBodyMessage,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -309,7 +309,7 @@ export class TestService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -361,7 +361,7 @@ export class TestService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -417,7 +417,7 @@ export class TestService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,

View file

@ -140,7 +140,7 @@ export class TriggersService {
responseType = 'text'; 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, bodyTrigger,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -198,7 +198,7 @@ export class TriggersService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -255,7 +255,7 @@ export class TriggersService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -308,7 +308,7 @@ export class TriggersService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -378,7 +378,7 @@ export class TriggersService {
responseType = 'text'; 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, bodyTrigger,
{ {
responseType: <any>responseType, responseType: <any>responseType,

View file

@ -147,7 +147,7 @@ export class TwitterService {
responseType = 'text'; 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, params: queryParameters,
responseType: <any>responseType, responseType: <any>responseType,
@ -201,7 +201,7 @@ export class TwitterService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -258,7 +258,7 @@ export class TwitterService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -314,7 +314,7 @@ export class TwitterService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -366,7 +366,7 @@ export class TwitterService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -411,7 +411,7 @@ export class TwitterService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -467,7 +467,7 @@ export class TwitterService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,
@ -524,7 +524,7 @@ export class TwitterService {
responseType = 'text'; 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, responseType: <any>responseType,
withCredentials: this.configuration.withCredentials, withCredentials: this.configuration.withCredentials,
@ -580,7 +580,7 @@ export class TwitterService {
responseType = 'text'; 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, null,
{ {
responseType: <any>responseType, responseType: <any>responseType,