repo_name string | dataset string | owner string | lang string | func_name string | code string | docstring string | url string | sha string |
|---|---|---|---|---|---|---|---|---|
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.listAuthoritiesOfUserWithHttpInfo | public async listAuthoritiesOfUserWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Set<string> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Set<string> = ObjectSeriali... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listAuthoritiesOfUser
* @throws ApiException if the response code was not in [200,... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L813-L833 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.listTokensOfUserWithHttpInfo | public async listTokensOfUserWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<ApiTokenInfoDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<ApiTokenInfoDTO... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listTokensOfUser
* @throws ApiException if the response code was not in [200, 299]... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L842-L862 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.listUsersWithHttpInfo | public async listUsersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<UserBasicInfoDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<UserBasicInfoDTO> = O... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listUsers
* @throws ApiException if the response code was not in [200, 299]
*... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L871-L891 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.listUsers1WithHttpInfo | public async listUsers1WithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<UserBasicInfoDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<UserBasicInfoDTO> = ... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listUsers1
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L900-L920 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.listUsers2WithHttpInfo | public async listUsers2WithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<UserBasicInfoDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<UserBasicInfoDTO> = ... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listUsers2
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L929-L949 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.updateAuthoritiesOfUserWithHttpInfo | public async updateAuthoritiesOfUserWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.de... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateAuthoritiesOfUser
* @throws ApiException if the response code was not in [20... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L958-L978 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AccountManagerForAdminApiResponseProcessor.updateUserWithHttpInfo | public async updateUserWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateUser
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AccountManagerForAdminApi.ts#L987-L1007 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.batchSearchAgentDetails | public async batchSearchAgentDetails(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentQueryDTO' is not null or undefined
if (agentQueryDTO === null || agentQueryDTO === unde... | /**
* Batch call shortcut for /api/v2/agent/details/search.
* Batch Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L28-L69 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.batchSearchAgentSummary | public async batchSearchAgentSummary(agentQueryDTO: Array<AgentQueryDTO>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentQueryDTO' is not null or undefined
if (agentQueryDTO === null || agentQueryDTO === unde... | /**
* Batch call shortcut for /api/v2/agent/search.
* Batch Search Agent Summaries
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L76-L117 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.cloneAgent | public async cloneAgent(agentId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
throw new RequiredError("Agent... | /**
* Enter the agentId, generate a new record, the content is basically the same as the original agent, but the following fields are different: - Version number is 1 - Visibility is private - The parent agent is the source agentId - The creation time is the current moment. - All statistical indicators are zeroed... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L124-L155 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.cloneAgents | public async cloneAgents(requestBody: Array<number>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'requestBody' is not null or undefined
if (requestBody === null || requestBody === undefined) {
throw ... | /**
* Batch clone multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Clone Agents
* @param requestBody List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L162-L203 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.countAgents | public async countAgents(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentQueryDTO' is not null or undefined
if (agentQueryDTO === null || agentQueryDTO === undefined) {
... | /**
* Calculate the number of agents according to the specified query conditions.
* Calculate Number of Agents
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L210-L251 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.createAgent | public async createAgent(agentCreateDTO: AgentCreateDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentCreateDTO' is not null or undefined
if (agentCreateDTO === null || agentCreateDTO === undefined) {
... | /**
* Create a agent, ignore required fields: - Agent name - Agent configuration Limitations: - Description: 300 characters - Configuration: 2000 characters - Example: 2000 characters - Tags: 5 - Parameters: 10
* Create Agent
* @param agentCreateDTO Information of the agent to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L258-L299 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.createAgents | public async createAgents(agentCreateDTO: Array<AgentCreateDTO>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentCreateDTO' is not null or undefined
if (agentCreateDTO === null || agentCreateDTO === undefined)... | /**
* Batch create multiple agents. Ensure transactionality, return the agentId list after success.
* Batch Create Agents
* @param agentCreateDTO List of agent information to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L306-L347 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.deleteAgent | public async deleteAgent(agentId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
throw new RequiredError("Agen... | /**
* Delete agent. Return success or failure.
* Delete Agent
* @param agentId AgentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L354-L385 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.deleteAgents | public async deleteAgents(requestBody: Array<number>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'requestBody' is not null or undefined
if (requestBody === null || requestBody === undefined) {
throw... | /**
* Delete multiple agents. Ensure transactionality, return the list of successfully deleted agentId.
* Batch Delete Agents
* @param requestBody List of agentId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L392-L433 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.getAgentDetails | public async getAgentDetails(agentId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
throw new RequiredError("... | /**
* Get agent detailed information.
* Get Agent Details
* @param agentId AgentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L440-L471 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.getAgentSummary | public async getAgentSummary(agentId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
throw new RequiredError("... | /**
* Get agent summary information.
* Get Agent Summary
* @param agentId agentId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L478-L509 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.listAgentVersionsByName | public async listAgentVersionsByName(name: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'name' is not null or undefined
if (name === null || name === undefined) {
throw new RequiredError("Agen... | /**
* List the versions and corresponding agentIds by agent name.
* List Versions by Agent Name
* @param name Agent name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L516-L547 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.publishAgent | public async publishAgent(agentId: number, visibility: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
throw ne... | /**
* Publish agent, draft content becomes formal content, version number increases by 1. After successful publication, a new agentId will be generated and returned. You need to specify the visibility for publication.
* Publish Agent
* @param agentId The agentId to be published
* @param visibility V... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L555-L593 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.searchAgentDetails | public async searchAgentDetails(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentQueryDTO' is not null or undefined
if (agentQueryDTO === null || agentQueryDTO === undefined) {
... | /**
* Same as /api/v2/agent/search, but returns detailed information of the agent.
* Search Agent Details
* @param agentQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L600-L641 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.searchAgentSummary | public async searchAgentSummary(agentQueryDTO: AgentQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentQueryDTO' is not null or undefined
if (agentQueryDTO === null || agentQueryDTO === undefined) {
... | /**
* Search agents: - Specifiable query fields, and relationship: - Scope: private, public_org or public. Private can only search this account. - Username: exact match, only valid when searching public, public_org. If not specified, search all users. - Format: exact match, currently supported: langflow - ... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L648-L689 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiRequestFactory.updateAgent | public async updateAgent(agentId: number, agentUpdateDTO: AgentUpdateDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'agentId' is not null or undefined
if (agentId === null || agentId === undefined) {
... | /**
* Update agent, refer to /api/v2/agent/create, required field: agentId. Return success or failure.
* Update Agent
* @param agentId AgentId to be updated
* @param agentUpdateDTO Agent information to be updated
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L697-L745 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.batchSearchAgentDetailsWithHttpInfo | public async batchSearchAgentDetailsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<Array<AgentDetailsDTO>> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<A... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to batchSearchAgentDetails
* @throws ApiException if the response code was not in [20... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L758-L778 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.batchSearchAgentSummaryWithHttpInfo | public async batchSearchAgentSummaryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<Array<AgentSummaryDTO>> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<A... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to batchSearchAgentSummary
* @throws ApiException if the response code was not in [20... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L787-L807 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.cloneAgentWithHttpInfo | public async cloneAgentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to cloneAgent
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L816-L836 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.cloneAgentsWithHttpInfo | public async cloneAgentsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<number> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<number> = ObjectSerializer.de... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to cloneAgents
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L845-L865 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.countAgentsWithHttpInfo | public async countAgentsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to countAgents
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L874-L894 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.createAgentWithHttpInfo | public async createAgentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createAgent
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L903-L923 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.createAgentsWithHttpInfo | public async createAgentsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<number> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<number> = ObjectSerializer.d... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createAgents
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L932-L952 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.deleteAgentWithHttpInfo | public async deleteAgentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteAgent
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L961-L981 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.deleteAgentsWithHttpInfo | public async deleteAgentsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<number> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<number> = ObjectSerializer.d... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteAgents
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L990-L1010 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.getAgentDetailsWithHttpInfo | public async getAgentDetailsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<AgentDetailsDTO >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: AgentDetailsDTO = ObjectSeria... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getAgentDetails
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1019-L1039 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.getAgentSummaryWithHttpInfo | public async getAgentSummaryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<AgentSummaryDTO >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: AgentSummaryDTO = ObjectSeria... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getAgentSummary
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1048-L1068 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.listAgentVersionsByNameWithHttpInfo | public async listAgentVersionsByNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<AgentItemForNameDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<Agen... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to listAgentVersionsByName
* @throws ApiException if the response code was not in [20... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1077-L1097 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.publishAgentWithHttpInfo | public async publishAgentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to publishAgent
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1106-L1126 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.searchAgentDetailsWithHttpInfo | public async searchAgentDetailsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<AgentDetailsDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<AgentDetailsD... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to searchAgentDetails
* @throws ApiException if the response code was not in [200, 29... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1135-L1155 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.searchAgentSummaryWithHttpInfo | public async searchAgentSummaryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<AgentSummaryDTO> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<AgentSummaryD... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to searchAgentSummary
* @throws ApiException if the response code was not in [200, 29... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1164-L1184 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AgentApiResponseProcessor.updateAgentWithHttpInfo | public async updateAgentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to updateAgent
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AgentApi.ts#L1193-L1213 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AppConfigForAdminApiRequestFactory.getDefaultConfig | public async getDefaultConfig(_options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// Path Params
const localVarPath = '/api/v2/admin/app/configs/default';
// Make Request Context
const requestContext = _config.baseServer.makeReques... | /**
* Get default configuration information of the application.
* Get Default Config
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AppConfigForAdminApi.ts#L21-L45 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AppConfigForAdminApiResponseProcessor.getDefaultConfigWithHttpInfo | public async getDefaultConfigWithHttpInfo(response: ResponseContext): Promise<HttpInfo<string >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: string = ObjectSerializer.deserialize... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getDefaultConfig
* @throws ApiException if the response code was not in [200, 299]... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AppConfigForAdminApi.ts#L58-L78 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AppMetaForAdminApiRequestFactory.getAppMeta | public async getAppMeta(_options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// Path Params
const localVarPath = '/api/v2/admin/app/meta';
// Make Request Context
const requestContext = _config.baseServer.makeRequestContext(localVar... | /**
* Get application information to accurately locate the corresponding project version.
* Get Application Information
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AppMetaForAdminApi.ts#L22-L46 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | AppMetaForAdminApiResponseProcessor.getAppMetaWithHttpInfo | public async getAppMetaWithHttpInfo(response: ResponseContext): Promise<HttpInfo<AppMetaDTO >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: AppMetaDTO = ObjectSerializer.deseriali... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getAppMeta
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/AppMetaForAdminApi.ts#L59-L79 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.addCharacterBackend | public async addCharacterBackend(characterUid: string, characterBackendDTO: CharacterBackendDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || c... | /**
* Add a backend configuration for a character.
* Add Character Backend
* @param characterUid The characterUid to be added a backend
* @param characterBackendDTO The character backend to be added
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L31-L79 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.batchSearchCharacterDetails | public async batchSearchCharacterDetails(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || ch... | /**
* Batch call shortcut for /api/v2/character/details/search.
* Batch Search Character Details
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L86-L127 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.batchSearchCharacterSummary | public async batchSearchCharacterSummary(characterQueryDTO: Array<CharacterQueryDTO>, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || ch... | /**
* Batch call shortcut for /api/v2/character/search.
* Batch Search Character Summaries
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L134-L175 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.cloneCharacter | public async cloneCharacter(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw new ... | /**
* Enter the characterId, generate a new record, the content is basically the same as the original character, but the following fields are different: - Version number is 1 - Visibility is private - The parent character is the source characterId - The creation time is the current moment. - All statistical indica... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L182-L213 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.countCharacters | public async countCharacters(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || characterQueryDTO ===... | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L220-L261 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.countPublicCharacters | public async countPublicCharacters(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || characterQueryD... | /**
* Calculate the number of characters according to the specified query conditions.
* Calculate Number of Public Characters
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L268-L309 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.createCharacter | public async createCharacter(characterCreateDTO: CharacterCreateDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterCreateDTO' is not null or undefined
if (characterCreateDTO === null || characterCreateDT... | /**
* Create a character.
* Create Character
* @param characterCreateDTO Information of the character to be created
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L316-L357 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacter | public async deleteCharacter(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw new... | /**
* Delete character. Returns success or failure.
* Delete Character
* @param characterId The characterId to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L364-L395 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacterByName | public async deleteCharacterByName(name: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'name' is not null or undefined
if (name === null || name === undefined) {
throw new RequiredError("Charac... | /**
* Delete character by name. return the list of successfully deleted characterIds.
* Delete Character by Name
* @param name The character name to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L402-L433 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacterByUid | public async deleteCharacterByUid(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* Delete character by uid. return the list of successfully deleted characterIds.
* Delete Character by Uid
* @param characterUid The character uid to be deleted
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L440-L471 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacterDocument | public async deleteCharacterDocument(key: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'key' is not null or undefined
if (key === null || key === undefined) {
throw new RequiredError("Characte... | /**
* Delete a document of the character by key.
* Delete Character Document
* @param key Document key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L478-L509 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacterPicture | public async deleteCharacterPicture(key: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'key' is not null or undefined
if (key === null || key === undefined) {
throw new RequiredError("Character... | /**
* Delete a picture of the character by key.
* Delete Character Picture
* @param key Image key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L516-L547 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.deleteCharacterVoice | public async deleteCharacterVoice(characterBackendId: string, key: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBackendId === null || characterBa... | /**
* Delete a voice of the character by key.
* Delete Character Voice
* @param characterBackendId The characterBackendId
* @param key Voice key
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L555-L593 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.existsCharacterName | public async existsCharacterName(name: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'name' is not null or undefined
if (name === null || name === undefined) {
throw new RequiredError("Characte... | /**
* Check if the character name already exists.
* Check If Character Name Exists
* @param name Name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L600-L631 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.exportCharacter | public async exportCharacter(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw new... | /**
* Export character configuration in tar.gz format, including settings, documents and pictures.
* Export Character Configuration
* @param characterId Character identifier
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L638-L669 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.getCharacterDetails | public async getCharacterDetails(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw... | /**
* Get character detailed information.
* Get Character Details
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L676-L707 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.getCharacterLatestIdByName | public async getCharacterLatestIdByName(name: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'name' is not null or undefined
if (name === null || name === undefined) {
throw new RequiredError("C... | /**
* Get latest characterId by character name.
* Get Latest Character Id by Name
* @param name Character name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L714-L745 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.getCharacterSummary | public async getCharacterSummary(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw... | /**
* Get character summary information.
* Get Character Summary
* @param characterId CharacterId to be obtained
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L752-L783 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.getDefaultCharacterBackend | public async getDefaultCharacterBackend(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* Get the default backend configuration.
* Get Default Character Backend
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L790-L821 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.importCharacter | public async importCharacter(file: HttpFile, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'file' is not null or undefined
if (file === null || file === undefined) {
throw new RequiredError("CharacterA... | /**
* Import character configuration from a tar.gz file.
* Import Character Configuration
* @param file Character avatar
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L828-L885 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterBackendIds | public async listCharacterBackendIds(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* List character backend identifiers.
* List Character Backend ids
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L892-L923 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterBackends | public async listCharacterBackends(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* List character backends.
* List Character Backends
* @param characterUid The characterUid to be queried
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L930-L961 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterDocuments | public async listCharacterDocuments(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* List documents of the character.
* List Character Documents
* @param characterUid Character unique identifier
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L968-L999 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterPictures | public async listCharacterPictures(characterUid: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefined) {
... | /**
* List pictures of the character.
* List Character Pictures
* @param characterUid Character unique identifier
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1006-L1037 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterVersionsByName | public async listCharacterVersionsByName(name: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'name' is not null or undefined
if (name === null || name === undefined) {
throw new RequiredError("... | /**
* List the versions and corresponding characterIds by character name.
* List Versions by Character Name
* @param name Character name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1044-L1075 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.listCharacterVoices | public async listCharacterVoices(characterBackendId: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBackendId === null || characterBackendId === un... | /**
* List voices of the character.
* List Character Voices
* @param characterBackendId The characterBackendId
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1082-L1113 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.newCharacterName | public async newCharacterName(desired: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'desired' is not null or undefined
if (desired === null || desired === undefined) {
throw new RequiredError(... | /**
* Create a new character name starting with a desired name.
* Create New Character Name
* @param desired Desired name
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1120-L1151 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.publishCharacter | public async publishCharacter(characterId: number, visibility: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
... | /**
* Publish character, draft content becomes formal content, version number increases by 1. After successful publication, a new characterId will be generated and returned. You need to specify the visibility for publication.
* Publish Character
* @param characterId The characterId to be published
*... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1159-L1197 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.publishCharacter1 | public async publishCharacter1(characterId: number, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterId === undefined) {
throw n... | /**
* Publish character, draft content becomes formal content, version number increases by 1. After successful publication, a new characterId will be generated and returned. You need to specify the visibility for publication.
* Publish Character
* @param characterId The characterId to be published
*... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1204-L1235 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.removeCharacterBackend | public async removeCharacterBackend(characterBackendId: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBackendId === null || characterBackendId ===... | /**
* Remove a backend configuration.
* Remove Character Backend
* @param characterBackendId The characterBackendId to be removed
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1242-L1273 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.searchCharacterDetails | public async searchCharacterDetails(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || characterQuery... | /**
* Same as /api/v2/character/search, but returns detailed information of the character.
* Search Character Details
* @param characterQueryDTO Query conditions
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1280-L1321 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.searchCharacterSummary | public async searchCharacterSummary(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || characterQuery... | /**
* Search characters: - Specifiable query fields, and relationship: - Scope: private, public_org or public. Private can only search this account. - Username: exact match, only valid when searching public, public_org. If not specified, search all users. - Tags: exact match (support and, or logic). - Name... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1328-L1369 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.searchPublicCharacterSummary | public async searchPublicCharacterSummary(characterQueryDTO: CharacterQueryDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterQueryDTO' is not null or undefined
if (characterQueryDTO === null || characte... | /**
* Search characters: - Specifiable query fields, and relationship: - Scope: public(fixed). - Username: exact match. If not specified, search all users. - Tags: exact match (support and, or logic). - Name: left match. - Language, exact match. - General: name, description, profile, chat style, experi... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1376-L1417 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.setDefaultCharacterBackend | public async setDefaultCharacterBackend(characterBackendId: string, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBackendId === null || characterBackendId... | /**
* Set the default backend configuration.
* Set Default Character Backend
* @param characterBackendId The characterBackendId to be set to default
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1424-L1455 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.updateCharacter | public async updateCharacter(characterId: number, characterUpdateDTO: CharacterUpdateDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterId' is not null or undefined
if (characterId === null || characterI... | /**
* Update character, refer to /api/v2/character/create, required field: characterId. Returns success or failure.
* Update Character
* @param characterId The characterId to be updated
* @param characterUpdateDTO The character information to be updated
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1463-L1511 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.updateCharacterBackend | public async updateCharacterBackend(characterBackendId: string, characterBackendDTO: CharacterBackendDTO, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBa... | /**
* Update a backend configuration.
* Update Character Backend
* @param characterBackendId The characterBackendId to be updated
* @param characterBackendDTO The character backend configuration to be updated
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1519-L1567 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.uploadCharacterAvatar | public async uploadCharacterAvatar(characterUid: string, file: HttpFile, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefine... | /**
* Upload an avatar of the character.
* Upload Character Avatar
* @param characterUid Character unique identifier
* @param file Character avatar
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1575-L1639 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.uploadCharacterDocument | public async uploadCharacterDocument(characterUid: string, file: HttpFile, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefi... | /**
* Upload a document of the character.
* Upload Character Document
* @param characterUid Character unique identifier
* @param file Character document
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1647-L1711 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.uploadCharacterPicture | public async uploadCharacterPicture(characterUid: string, file: HttpFile, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterUid' is not null or undefined
if (characterUid === null || characterUid === undefin... | /**
* Upload a picture of the character.
* Upload Character Picture
* @param characterUid Character unique identifier
* @param file Character picture
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1719-L1783 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiRequestFactory.uploadCharacterVoice | public async uploadCharacterVoice(characterBackendId: string, file: HttpFile, _options?: Configuration): Promise<RequestContext> {
let _config = _options || this.configuration;
// verify required parameter 'characterBackendId' is not null or undefined
if (characterBackendId === null || characte... | /**
* Upload a voice of the character.
* Upload Character Voice
* @param characterBackendId The characterBackendId
* @param file Character voice
*/ | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1791-L1855 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.addCharacterBackendWithHttpInfo | public async addCharacterBackendWithHttpInfo(response: ResponseContext): Promise<HttpInfo<string >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: string = ObjectSerializer.deserial... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to addCharacterBackend
* @throws ApiException if the response code was not in [200, 2... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1868-L1888 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.batchSearchCharacterDetailsWithHttpInfo | public async batchSearchCharacterDetailsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<Array<CharacterDetailsDTO>> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body:... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to batchSearchCharacterDetails
* @throws ApiException if the response code was not in... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1897-L1917 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.batchSearchCharacterSummaryWithHttpInfo | public async batchSearchCharacterSummaryWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<Array<CharacterSummaryDTO>> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body:... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to batchSearchCharacterSummary
* @throws ApiException if the response code was not in... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1926-L1946 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.cloneCharacterWithHttpInfo | public async cloneCharacterWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(
... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to cloneCharacter
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1955-L1975 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.countCharactersWithHttpInfo | public async countCharactersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to countCharacters
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L1984-L2004 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.countPublicCharactersWithHttpInfo | public async countPublicCharactersWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deseri... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to countPublicCharacters
* @throws ApiException if the response code was not in [200,... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2013-L2033 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.createCharacterWithHttpInfo | public async createCharacterWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.deserialize(... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to createCharacter
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2042-L2062 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterWithHttpInfo | public async deleteCharacterWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deserializ... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacter
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2071-L2091 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterByNameWithHttpInfo | public async deleteCharacterByNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<number> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<number> = ObjectSer... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacterByName
* @throws ApiException if the response code was not in [200,... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2100-L2120 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterByUidWithHttpInfo | public async deleteCharacterByUidWithHttpInfo(response: ResponseContext): Promise<HttpInfo<Array<number> >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: Array<number> = ObjectSeri... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacterByUid
* @throws ApiException if the response code was not in [200, ... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2129-L2149 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterDocumentWithHttpInfo | public async deleteCharacterDocumentWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.de... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacterDocument
* @throws ApiException if the response code was not in [20... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2158-L2178 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterPictureWithHttpInfo | public async deleteCharacterPictureWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.des... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacterPicture
* @throws ApiException if the response code was not in [200... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2187-L2207 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.deleteCharacterVoiceWithHttpInfo | public async deleteCharacterVoiceWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deser... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to deleteCharacterVoice
* @throws ApiException if the response code was not in [200, ... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2216-L2236 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.existsCharacterNameWithHttpInfo | public async existsCharacterNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<boolean >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: boolean = ObjectSerializer.deseri... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to existsCharacterName
* @throws ApiException if the response code was not in [200, 2... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2245-L2265 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.exportCharacterWithHttpInfo | public async exportCharacterWithHttpInfo(response: ResponseContext): Promise<HttpInfo<void >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
return new HttpInfo(response.httpStatusCode, respons... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to exportCharacter
* @throws ApiException if the response code was not in [200, 299]
... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2274-L2290 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.getCharacterDetailsWithHttpInfo | public async getCharacterDetailsWithHttpInfo(response: ResponseContext): Promise<HttpInfo<CharacterDetailsDTO >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: CharacterDetailsDTO =... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCharacterDetails
* @throws ApiException if the response code was not in [200, 2... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2299-L2319 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
freechat | github_2023 | freechat-fun | typescript | CharacterApiResponseProcessor.getCharacterLatestIdByNameWithHttpInfo | public async getCharacterLatestIdByNameWithHttpInfo(response: ResponseContext): Promise<HttpInfo<number >> {
const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
if (isCodeInRange("200", response.httpStatusCode)) {
const body: number = ObjectSerializer.d... | /**
* Unwraps the actual response sent by the server from the response context and deserializes the response content
* to the expected objects
*
* @params response Response returned by the server for a request to getCharacterLatestIdByName
* @throws ApiException if the response code was not in ... | https://github.com/freechat-fun/freechat/blob/cb80c3708b85cf52c02a91bdc0c9e9ddc14856db/freechat-sdk/typescript/apis/CharacterApi.ts#L2328-L2348 | cb80c3708b85cf52c02a91bdc0c9e9ddc14856db |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.