fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
2,521 lines • 95.7 kB
TypeScript
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { AddDomainConfig200Response } from '../model';
import type { AddDomainConfigParams } from '../model';
import type { AggregateQuestionResults200Response } from '../model';
import type { AggregateTimeBucket } from '../model';
import type { AggregationRequest } from '../model';
import type { AggregationResponse } from '../model';
import type { BlockFromCommentParams } from '../model';
import type { BlockFromCommentPublic200Response } from '../model';
import type { BulkAggregateQuestionResults200Response } from '../model';
import type { BulkAggregateQuestionResultsRequest } from '../model';
import type { CombineCommentsWithQuestionResults200Response } from '../model';
import type { CreateCommentParams } from '../model';
import type { CreateFeedPost200Response } from '../model';
import type { CreateFeedPostParams } from '../model';
import type { CreateUserBadge200Response } from '../model';
import type { CreateUserBadgeParams } from '../model';
import type { DeleteComment200Response } from '../model';
import type { DeleteDomainConfig200Response } from '../model';
import type { FeedPost } from '../model';
import type { FlagComment200Response } from '../model';
import type { FlagCommentPublic200Response } from '../model';
import type { GetAuditLogs200Response } from '../model';
import type { GetComment200Response } from '../model';
import type { GetComments200Response } from '../model';
import type { GetDomainConfig200Response } from '../model';
import type { GetDomainConfigs200Response } from '../model';
import type { GetFeedPosts200Response } from '../model';
import type { GetUserBadge200Response } from '../model';
import type { GetUserBadgeProgressById200Response } from '../model';
import type { GetUserBadgeProgressList200Response } from '../model';
import type { GetUserBadges200Response } from '../model';
import type { PatchDomainConfigParams } from '../model';
import type { PickAPICommentUpdatableCommentFields } from '../model';
import type { SORTDIR } from '../model';
import type { SaveComment200Response } from '../model';
import type { SortDirections } from '../model';
import type { UnBlockCommentPublic200Response } from '../model';
import type { UnBlockFromCommentParams } from '../model';
import type { UpdateDomainConfigParams } from '../model';
import type { UpdateUserBadge200Response } from '../model';
import type { UpdateUserBadgeParams } from '../model';
/**
* DefaultApi - axios parameter creator
* @export
*/
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @param {string} tenantId
* @param {AddDomainConfigParams} addDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
addDomainConfig: (tenantId: string, addDomainConfigParams: AddDomainConfigParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
* @param {string} tenantId
* @param {AggregationRequest} aggregationRequest
* @param {string} [parentTenantId]
* @param {boolean} [includeStats]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregate: (tenantId: string, aggregationRequest: AggregationRequest, parentTenantId?: string, includeStats?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [questionId]
* @param {Array<string>} [questionIds]
* @param {string} [urlId]
* @param {AggregateTimeBucket} [timeBucket]
* @param {string} [startDate]
* @param {boolean} [forceRecalculate]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregateQuestionResults: (tenantId: string, questionId?: string, questionIds?: Array<string>, urlId?: string, timeBucket?: AggregateTimeBucket, startDate?: string, forceRecalculate?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {BlockFromCommentParams} blockFromCommentParams
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockUserFromComment: (tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {BulkAggregateQuestionResultsRequest} bulkAggregateQuestionResultsRequest
* @param {boolean} [forceRecalculate]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
bulkAggregateQuestionResults: (tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [questionId]
* @param {Array<string>} [questionIds]
* @param {string} [urlId]
* @param {string} [startDate]
* @param {boolean} [forceRecalculate]
* @param {number} [minValue]
* @param {number} [maxValue]
* @param {number} [limit]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
combineCommentsWithQuestionResults: (tenantId: string, questionId?: string, questionIds?: Array<string>, urlId?: string, startDate?: string, forceRecalculate?: boolean, minValue?: number, maxValue?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {CreateFeedPostParams} createFeedPostParams
* @param {string} [broadcastId]
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [skipDupCheck]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPost: (tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId?: string, isLive?: boolean, doSpamCheck?: boolean, skipDupCheck?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {CreateUserBadgeParams} createUserBadgeParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createUserBadge: (tenantId: string, createUserBadgeParams: CreateUserBadgeParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [contextUserId]
* @param {boolean} [isLive]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteComment: (tenantId: string, id: string, contextUserId?: string, isLive?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} domain
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteDomainConfig: (tenantId: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteUserBadge: (tenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagComment: (tenantId: string, id: string, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {number} [limit]
* @param {number} [skip]
* @param {SORTDIR} [order]
* @param {number} [after]
* @param {number} [before]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getAuditLogs: (tenantId: string, limit?: number, skip?: number, order?: SORTDIR, after?: number, before?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComment: (tenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {number} [page]
* @param {number} [limit]
* @param {number} [skip]
* @param {boolean} [asTree]
* @param {number} [skipChildren]
* @param {number} [limitChildren]
* @param {number} [maxTreeDepth]
* @param {string} [urlId]
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {string} [contextUserId]
* @param {string} [hashTag]
* @param {string} [parentId]
* @param {SortDirections} [direction]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComments: (tenantId: string, page?: number, limit?: number, skip?: number, asTree?: boolean, skipChildren?: number, limitChildren?: number, maxTreeDepth?: number, urlId?: string, userId?: string, anonUserId?: string, contextUserId?: string, hashTag?: string, parentId?: string, direction?: SortDirections, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} domain
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfig: (tenantId: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfigs: (tenantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* req tenantId afterId
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [limit]
* @param {Array<string>} [tags]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPosts: (tenantId: string, afterId?: string, limit?: number, tags?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadge: (tenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressById: (tenantId: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} userId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressByUserId: (tenantId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [userId]
* @param {number} [limit]
* @param {number} [skip]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressList: (tenantId: string, userId?: string, limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} [userId]
* @param {string} [badgeId]
* @param {number} [type]
* @param {boolean} [displayedOnComments]
* @param {number} [limit]
* @param {number} [skip]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadges: (tenantId: string, userId?: string, badgeId?: string, type?: number, displayedOnComments?: boolean, limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} domainToUpdate
* @param {PatchDomainConfigParams} patchDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
patchDomainConfig: (tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} domainToUpdate
* @param {UpdateDomainConfigParams} updateDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
putDomainConfig: (tenantId: string, domainToUpdate: string, updateDomainConfigParams: UpdateDomainConfigParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {CreateCommentParams} createCommentParams
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [sendEmails]
* @param {boolean} [populateNotifications]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveComment: (tenantId: string, createCommentParams: CreateCommentParams, isLive?: boolean, doSpamCheck?: boolean, sendEmails?: boolean, populateNotifications?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {Array<CreateCommentParams>} createCommentParams
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [sendEmails]
* @param {boolean} [populateNotifications]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveCommentsBulk: (tenantId: string, createCommentParams: Array<CreateCommentParams>, isLive?: boolean, doSpamCheck?: boolean, sendEmails?: boolean, populateNotifications?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {UnBlockFromCommentParams} unBlockFromCommentParams
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockUserFromComment: (tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unFlagComment: (tenantId: string, id: string, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {PickAPICommentUpdatableCommentFields} body
* @param {string} [contextUserId]
* @param {boolean} [doSpamCheck]
* @param {boolean} [isLive]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateComment: (tenantId: string, id: string, body: PickAPICommentUpdatableCommentFields, contextUserId?: string, doSpamCheck?: boolean, isLive?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {FeedPost} feedPost
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPost: (tenantId: string, id: string, feedPost: FeedPost, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {UpdateUserBadgeParams} updateUserBadgeParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserBadge: (tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* DefaultApi - functional programming interface
* @export
*/
export declare const DefaultApiFp: (configuration?: Configuration) => {
/**
*
* @param {string} tenantId
* @param {AddDomainConfigParams} addDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
addDomainConfig(tenantId: string, addDomainConfigParams: AddDomainConfigParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddDomainConfig200Response>>;
/**
* Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
* @param {string} tenantId
* @param {AggregationRequest} aggregationRequest
* @param {string} [parentTenantId]
* @param {boolean} [includeStats]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregate(tenantId: string, aggregationRequest: AggregationRequest, parentTenantId?: string, includeStats?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AggregationResponse>>;
/**
*
* @param {string} tenantId
* @param {string} [questionId]
* @param {Array<string>} [questionIds]
* @param {string} [urlId]
* @param {AggregateTimeBucket} [timeBucket]
* @param {string} [startDate]
* @param {boolean} [forceRecalculate]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregateQuestionResults(tenantId: string, questionId?: string, questionIds?: Array<string>, urlId?: string, timeBucket?: AggregateTimeBucket, startDate?: string, forceRecalculate?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AggregateQuestionResults200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {BlockFromCommentParams} blockFromCommentParams
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockUserFromComment(tenantId: string, id: string, blockFromCommentParams: BlockFromCommentParams, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockFromCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {BulkAggregateQuestionResultsRequest} bulkAggregateQuestionResultsRequest
* @param {boolean} [forceRecalculate]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
bulkAggregateQuestionResults(tenantId: string, bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest, forceRecalculate?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkAggregateQuestionResults200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [questionId]
* @param {Array<string>} [questionIds]
* @param {string} [urlId]
* @param {string} [startDate]
* @param {boolean} [forceRecalculate]
* @param {number} [minValue]
* @param {number} [maxValue]
* @param {number} [limit]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
combineCommentsWithQuestionResults(tenantId: string, questionId?: string, questionIds?: Array<string>, urlId?: string, startDate?: string, forceRecalculate?: boolean, minValue?: number, maxValue?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CombineCommentsWithQuestionResults200Response>>;
/**
*
* @param {string} tenantId
* @param {CreateFeedPostParams} createFeedPostParams
* @param {string} [broadcastId]
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [skipDupCheck]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPost(tenantId: string, createFeedPostParams: CreateFeedPostParams, broadcastId?: string, isLive?: boolean, doSpamCheck?: boolean, skipDupCheck?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFeedPost200Response>>;
/**
*
* @param {string} tenantId
* @param {CreateUserBadgeParams} createUserBadgeParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createUserBadge(tenantId: string, createUserBadgeParams: CreateUserBadgeParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateUserBadge200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [contextUserId]
* @param {boolean} [isLive]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteComment(tenantId: string, id: string, contextUserId?: string, isLive?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} domain
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteDomainConfig(tenantId: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteDomainConfig200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteUserBadge(tenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserBadge200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagComment(tenantId: string, id: string, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagComment200Response>>;
/**
*
* @param {string} tenantId
* @param {number} [limit]
* @param {number} [skip]
* @param {SORTDIR} [order]
* @param {number} [after]
* @param {number} [before]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getAuditLogs(tenantId: string, limit?: number, skip?: number, order?: SORTDIR, after?: number, before?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuditLogs200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComment(tenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetComment200Response>>;
/**
*
* @param {string} tenantId
* @param {number} [page]
* @param {number} [limit]
* @param {number} [skip]
* @param {boolean} [asTree]
* @param {number} [skipChildren]
* @param {number} [limitChildren]
* @param {number} [maxTreeDepth]
* @param {string} [urlId]
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {string} [contextUserId]
* @param {string} [hashTag]
* @param {string} [parentId]
* @param {SortDirections} [direction]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComments(tenantId: string, page?: number, limit?: number, skip?: number, asTree?: boolean, skipChildren?: number, limitChildren?: number, maxTreeDepth?: number, urlId?: string, userId?: string, anonUserId?: string, contextUserId?: string, hashTag?: string, parentId?: string, direction?: SortDirections, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetComments200Response>>;
/**
*
* @param {string} tenantId
* @param {string} domain
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfig(tenantId: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDomainConfig200Response>>;
/**
*
* @param {string} tenantId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfigs(tenantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDomainConfigs200Response>>;
/**
* req tenantId afterId
* @param {string} tenantId
* @param {string} [afterId]
* @param {number} [limit]
* @param {Array<string>} [tags]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPosts(tenantId: string, afterId?: string, limit?: number, tags?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeedPosts200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadge(tenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserBadge200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressById(tenantId: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserBadgeProgressById200Response>>;
/**
*
* @param {string} tenantId
* @param {string} userId
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressByUserId(tenantId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserBadgeProgressById200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [userId]
* @param {number} [limit]
* @param {number} [skip]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressList(tenantId: string, userId?: string, limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserBadgeProgressList200Response>>;
/**
*
* @param {string} tenantId
* @param {string} [userId]
* @param {string} [badgeId]
* @param {number} [type]
* @param {boolean} [displayedOnComments]
* @param {number} [limit]
* @param {number} [skip]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadges(tenantId: string, userId?: string, badgeId?: string, type?: number, displayedOnComments?: boolean, limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserBadges200Response>>;
/**
*
* @param {string} tenantId
* @param {string} domainToUpdate
* @param {PatchDomainConfigParams} patchDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
patchDomainConfig(tenantId: string, domainToUpdate: string, patchDomainConfigParams: PatchDomainConfigParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDomainConfig200Response>>;
/**
*
* @param {string} tenantId
* @param {string} domainToUpdate
* @param {UpdateDomainConfigParams} updateDomainConfigParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
putDomainConfig(tenantId: string, domainToUpdate: string, updateDomainConfigParams: UpdateDomainConfigParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDomainConfig200Response>>;
/**
*
* @param {string} tenantId
* @param {CreateCommentParams} createCommentParams
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [sendEmails]
* @param {boolean} [populateNotifications]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveComment(tenantId: string, createCommentParams: CreateCommentParams, isLive?: boolean, doSpamCheck?: boolean, sendEmails?: boolean, populateNotifications?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveComment200Response>>;
/**
*
* @param {string} tenantId
* @param {Array<CreateCommentParams>} createCommentParams
* @param {boolean} [isLive]
* @param {boolean} [doSpamCheck]
* @param {boolean} [sendEmails]
* @param {boolean} [populateNotifications]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveCommentsBulk(tenantId: string, createCommentParams: Array<CreateCommentParams>, isLive?: boolean, doSpamCheck?: boolean, sendEmails?: boolean, populateNotifications?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SaveComment200Response>>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {UnBlockFromCommentParams} unBlockFromCommentParams
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockUserFromComment(tenantId: string, id: string, unBlockFromCommentParams: UnBlockFromCommentParams, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnBlockCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {string} [userId]
* @param {string} [anonUserId]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unFlagComment(tenantId: string, id: string, userId?: string, anonUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagComment200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {PickAPICommentUpdatableCommentFields} body
* @param {string} [contextUserId]
* @param {boolean} [doSpamCheck]
* @param {boolean} [isLive]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateComment(tenantId: string, id: string, body: PickAPICommentUpdatableCommentFields, contextUserId?: string, doSpamCheck?: boolean, isLive?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {FeedPost} feedPost
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPost(tenantId: string, id: string, feedPost: FeedPost, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlagCommentPublic200Response>>;
/**
*
* @param {string} tenantId
* @param {string} id
* @param {UpdateUserBadgeParams} updateUserBadgeParams
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserBadge(tenantId: string, id: string, updateUserBadgeParams: UpdateUserBadgeParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateUserBadge200Response>>;
};
/**
* DefaultApi - factory interface
* @export
*/
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @param {DefaultApiAddDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
addDomainConfig(requestParameters: DefaultApiAddDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddDomainConfig200Response>;
/**
* Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
* @param {DefaultApiAggregateRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregate(requestParameters: DefaultApiAggregateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AggregationResponse>;
/**
*
* @param {DefaultApiAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
aggregateQuestionResults(requestParameters: DefaultApiAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AggregateQuestionResults200Response>;
/**
*
* @param {DefaultApiBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
blockUserFromComment(requestParameters: DefaultApiBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlockFromCommentPublic200Response>;
/**
*
* @param {DefaultApiBulkAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
bulkAggregateQuestionResults(requestParameters: DefaultApiBulkAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkAggregateQuestionResults200Response>;
/**
*
* @param {DefaultApiCombineCommentsWithQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
combineCommentsWithQuestionResults(requestParameters: DefaultApiCombineCommentsWithQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CombineCommentsWithQuestionResults200Response>;
/**
*
* @param {DefaultApiCreateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createFeedPost(requestParameters: DefaultApiCreateFeedPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPost200Response>;
/**
*
* @param {DefaultApiCreateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createUserBadge(requestParameters: DefaultApiCreateUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateUserBadge200Response>;
/**
*
* @param {DefaultApiDeleteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteComment(requestParameters: DefaultApiDeleteCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteComment200Response>;
/**
*
* @param {DefaultApiDeleteDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteDomainConfig(requestParameters: DefaultApiDeleteDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteDomainConfig200Response>;
/**
*
* @param {DefaultApiDeleteUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteUserBadge(requestParameters: DefaultApiDeleteUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserBadge200Response>;
/**
*
* @param {DefaultApiFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
flagComment(requestParameters: DefaultApiFlagCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagComment200Response>;
/**
*
* @param {DefaultApiGetAuditLogsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getAuditLogs(requestParameters: DefaultApiGetAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuditLogs200Response>;
/**
*
* @param {DefaultApiGetCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComment(requestParameters: DefaultApiGetCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetComment200Response>;
/**
*
* @param {DefaultApiGetCommentsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getComments(requestParameters: DefaultApiGetCommentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetComments200Response>;
/**
*
* @param {DefaultApiGetDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfig(requestParameters: DefaultApiGetDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiGetDomainConfigsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getDomainConfigs(requestParameters: DefaultApiGetDomainConfigsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfigs200Response>;
/**
* req tenantId afterId
* @param {DefaultApiGetFeedPostsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getFeedPosts(requestParameters: DefaultApiGetFeedPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPosts200Response>;
/**
*
* @param {DefaultApiGetUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadge(requestParameters: DefaultApiGetUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadge200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressById(requestParameters: DefaultApiGetUserBadgeProgressByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressById200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByUserIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressByUserId(requestParameters: DefaultApiGetUserBadgeProgressByUserIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressById200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressListRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadgeProgressList(requestParameters: DefaultApiGetUserBadgeProgressListRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressList200Response>;
/**
*
* @param {DefaultApiGetUserBadgesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUserBadges(requestParameters: DefaultApiGetUserBadgesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadges200Response>;
/**
*
* @param {DefaultApiPatchDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
patchDomainConfig(requestParameters: DefaultApiPatchDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiPutDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
putDomainConfig(requestParameters: DefaultApiPutDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiSaveCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveComment(requestParameters: DefaultApiSaveCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SaveComment200Response>;
/**
*
* @param {DefaultApiSaveCommentsBulkRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
saveCommentsBulk(requestParameters: DefaultApiSaveCommentsBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SaveComment200Response>>;
/**
*
* @param {DefaultApiUnBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unBlockUserFromComment(requestParameters: DefaultApiUnBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnBlockCommentPublic200Response>;
/**
*
* @param {DefaultApiUnFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
unFlagComment(requestParameters: DefaultApiUnFlagCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagComment200Response>;
/**
*
* @param {DefaultApiUpdateCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateComment(requestParameters: DefaultApiUpdateCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {DefaultApiUpdateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateFeedPost(requestParameters: DefaultApiUpdateFeedPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {DefaultApiUpdateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateUserBadge(requestParameters: DefaultApiUpdateUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserBadge200Response>;
};
/**
* DefaultApi - interface
* @export
* @interface DefaultApi
*/
export interface DefaultApiInterface {
/**
*
* @param {DefaultApiAddDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
addDomainConfig(requestParameters: DefaultApiAddDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddDomainConfig200Response>;
/**
* Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
* @param {DefaultApiAggregateRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
aggregate(requestParameters: DefaultApiAggregateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AggregationResponse>;
/**
*
* @param {DefaultApiAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
aggregateQuestionResults(requestParameters: DefaultApiAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AggregateQuestionResults200Response>;
/**
*
* @param {DefaultApiBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
blockUserFromComment(requestParameters: DefaultApiBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlockFromCommentPublic200Response>;
/**
*
* @param {DefaultApiBulkAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
bulkAggregateQuestionResults(requestParameters: DefaultApiBulkAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkAggregateQuestionResults200Response>;
/**
*
* @param {DefaultApiCombineCommentsWithQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
combineCommentsWithQuestionResults(requestParameters: DefaultApiCombineCommentsWithQuestionResultsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CombineCommentsWithQuestionResults200Response>;
/**
*
* @param {DefaultApiCreateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
createFeedPost(requestParameters: DefaultApiCreateFeedPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFeedPost200Response>;
/**
*
* @param {DefaultApiCreateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
createUserBadge(requestParameters: DefaultApiCreateUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateUserBadge200Response>;
/**
*
* @param {DefaultApiDeleteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
deleteComment(requestParameters: DefaultApiDeleteCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteComment200Response>;
/**
*
* @param {DefaultApiDeleteDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
deleteDomainConfig(requestParameters: DefaultApiDeleteDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteDomainConfig200Response>;
/**
*
* @param {DefaultApiDeleteUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
deleteUserBadge(requestParameters: DefaultApiDeleteUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserBadge200Response>;
/**
*
* @param {DefaultApiFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
flagComment(requestParameters: DefaultApiFlagCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagComment200Response>;
/**
*
* @param {DefaultApiGetAuditLogsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getAuditLogs(requestParameters: DefaultApiGetAuditLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuditLogs200Response>;
/**
*
* @param {DefaultApiGetCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getComment(requestParameters: DefaultApiGetCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetComment200Response>;
/**
*
* @param {DefaultApiGetCommentsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getComments(requestParameters: DefaultApiGetCommentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetComments200Response>;
/**
*
* @param {DefaultApiGetDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getDomainConfig(requestParameters: DefaultApiGetDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiGetDomainConfigsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getDomainConfigs(requestParameters: DefaultApiGetDomainConfigsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfigs200Response>;
/**
* req tenantId afterId
* @param {DefaultApiGetFeedPostsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getFeedPosts(requestParameters: DefaultApiGetFeedPostsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeedPosts200Response>;
/**
*
* @param {DefaultApiGetUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getUserBadge(requestParameters: DefaultApiGetUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadge200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getUserBadgeProgressById(requestParameters: DefaultApiGetUserBadgeProgressByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressById200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByUserIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getUserBadgeProgressByUserId(requestParameters: DefaultApiGetUserBadgeProgressByUserIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressById200Response>;
/**
*
* @param {DefaultApiGetUserBadgeProgressListRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getUserBadgeProgressList(requestParameters: DefaultApiGetUserBadgeProgressListRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadgeProgressList200Response>;
/**
*
* @param {DefaultApiGetUserBadgesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
getUserBadges(requestParameters: DefaultApiGetUserBadgesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserBadges200Response>;
/**
*
* @param {DefaultApiPatchDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
patchDomainConfig(requestParameters: DefaultApiPatchDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiPutDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
putDomainConfig(requestParameters: DefaultApiPutDomainConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDomainConfig200Response>;
/**
*
* @param {DefaultApiSaveCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
saveComment(requestParameters: DefaultApiSaveCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SaveComment200Response>;
/**
*
* @param {DefaultApiSaveCommentsBulkRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
saveCommentsBulk(requestParameters: DefaultApiSaveCommentsBulkRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SaveComment200Response>>;
/**
*
* @param {DefaultApiUnBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
unBlockUserFromComment(requestParameters: DefaultApiUnBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<UnBlockCommentPublic200Response>;
/**
*
* @param {DefaultApiUnFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
unFlagComment(requestParameters: DefaultApiUnFlagCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagComment200Response>;
/**
*
* @param {DefaultApiUpdateCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
updateComment(requestParameters: DefaultApiUpdateCommentRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {DefaultApiUpdateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
updateFeedPost(requestParameters: DefaultApiUpdateFeedPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<FlagCommentPublic200Response>;
/**
*
* @param {DefaultApiUpdateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApiInterface
*/
updateUserBadge(requestParameters: DefaultApiUpdateUserBadgeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateUserBadge200Response>;
}
/**
* Request parameters for addDomainConfig operation in DefaultApi.
* @export
* @interface DefaultApiAddDomainConfigRequest
*/
export interface DefaultApiAddDomainConfigRequest {
/**
*
* @type {string}
* @memberof DefaultApiAddDomainConfig
*/
readonly tenantId: string;
/**
*
* @type {AddDomainConfigParams}
* @memberof DefaultApiAddDomainConfig
*/
readonly addDomainConfigParams: AddDomainConfigParams;
}
/**
* Request parameters for aggregate operation in DefaultApi.
* @export
* @interface DefaultApiAggregateRequest
*/
export interface DefaultApiAggregateRequest {
/**
*
* @type {string}
* @memberof DefaultApiAggregate
*/
readonly tenantId: string;
/**
*
* @type {AggregationRequest}
* @memberof DefaultApiAggregate
*/
readonly aggregationRequest: AggregationRequest;
/**
*
* @type {string}
* @memberof DefaultApiAggregate
*/
readonly parentTenantId?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiAggregate
*/
readonly includeStats?: boolean;
}
/**
* Request parameters for aggregateQuestionResults operation in DefaultApi.
* @export
* @interface DefaultApiAggregateQuestionResultsRequest
*/
export interface DefaultApiAggregateQuestionResultsRequest {
/**
*
* @type {string}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly questionId?: string;
/**
*
* @type {Array<string>}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly questionIds?: Array<string>;
/**
*
* @type {string}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly urlId?: string;
/**
*
* @type {AggregateTimeBucket}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly timeBucket?: AggregateTimeBucket;
/**
*
* @type {string}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly startDate?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiAggregateQuestionResults
*/
readonly forceRecalculate?: boolean;
}
/**
* Request parameters for blockUserFromComment operation in DefaultApi.
* @export
* @interface DefaultApiBlockUserFromCommentRequest
*/
export interface DefaultApiBlockUserFromCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiBlockUserFromComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiBlockUserFromComment
*/
readonly id: string;
/**
*
* @type {BlockFromCommentParams}
* @memberof DefaultApiBlockUserFromComment
*/
readonly blockFromCommentParams: BlockFromCommentParams;
/**
*
* @type {string}
* @memberof DefaultApiBlockUserFromComment
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiBlockUserFromComment
*/
readonly anonUserId?: string;
}
/**
* Request parameters for bulkAggregateQuestionResults operation in DefaultApi.
* @export
* @interface DefaultApiBulkAggregateQuestionResultsRequest
*/
export interface DefaultApiBulkAggregateQuestionResultsRequest {
/**
*
* @type {string}
* @memberof DefaultApiBulkAggregateQuestionResults
*/
readonly tenantId: string;
/**
*
* @type {BulkAggregateQuestionResultsRequest}
* @memberof DefaultApiBulkAggregateQuestionResults
*/
readonly bulkAggregateQuestionResultsRequest: BulkAggregateQuestionResultsRequest;
/**
*
* @type {boolean}
* @memberof DefaultApiBulkAggregateQuestionResults
*/
readonly forceRecalculate?: boolean;
}
/**
* Request parameters for combineCommentsWithQuestionResults operation in DefaultApi.
* @export
* @interface DefaultApiCombineCommentsWithQuestionResultsRequest
*/
export interface DefaultApiCombineCommentsWithQuestionResultsRequest {
/**
*
* @type {string}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly questionId?: string;
/**
*
* @type {Array<string>}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly questionIds?: Array<string>;
/**
*
* @type {string}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly urlId?: string;
/**
*
* @type {string}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly startDate?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly forceRecalculate?: boolean;
/**
*
* @type {number}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly minValue?: number;
/**
*
* @type {number}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly maxValue?: number;
/**
*
* @type {number}
* @memberof DefaultApiCombineCommentsWithQuestionResults
*/
readonly limit?: number;
}
/**
* Request parameters for createFeedPost operation in DefaultApi.
* @export
* @interface DefaultApiCreateFeedPostRequest
*/
export interface DefaultApiCreateFeedPostRequest {
/**
*
* @type {string}
* @memberof DefaultApiCreateFeedPost
*/
readonly tenantId: string;
/**
*
* @type {CreateFeedPostParams}
* @memberof DefaultApiCreateFeedPost
*/
readonly createFeedPostParams: CreateFeedPostParams;
/**
*
* @type {string}
* @memberof DefaultApiCreateFeedPost
*/
readonly broadcastId?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiCreateFeedPost
*/
readonly isLive?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiCreateFeedPost
*/
readonly doSpamCheck?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiCreateFeedPost
*/
readonly skipDupCheck?: boolean;
}
/**
* Request parameters for createUserBadge operation in DefaultApi.
* @export
* @interface DefaultApiCreateUserBadgeRequest
*/
export interface DefaultApiCreateUserBadgeRequest {
/**
*
* @type {string}
* @memberof DefaultApiCreateUserBadge
*/
readonly tenantId: string;
/**
*
* @type {CreateUserBadgeParams}
* @memberof DefaultApiCreateUserBadge
*/
readonly createUserBadgeParams: CreateUserBadgeParams;
}
/**
* Request parameters for deleteComment operation in DefaultApi.
* @export
* @interface DefaultApiDeleteCommentRequest
*/
export interface DefaultApiDeleteCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiDeleteComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiDeleteComment
*/
readonly id: string;
/**
*
* @type {string}
* @memberof DefaultApiDeleteComment
*/
readonly contextUserId?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiDeleteComment
*/
readonly isLive?: boolean;
}
/**
* Request parameters for deleteDomainConfig operation in DefaultApi.
* @export
* @interface DefaultApiDeleteDomainConfigRequest
*/
export interface DefaultApiDeleteDomainConfigRequest {
/**
*
* @type {string}
* @memberof DefaultApiDeleteDomainConfig
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiDeleteDomainConfig
*/
readonly domain: string;
}
/**
* Request parameters for deleteUserBadge operation in DefaultApi.
* @export
* @interface DefaultApiDeleteUserBadgeRequest
*/
export interface DefaultApiDeleteUserBadgeRequest {
/**
*
* @type {string}
* @memberof DefaultApiDeleteUserBadge
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiDeleteUserBadge
*/
readonly id: string;
}
/**
* Request parameters for flagComment operation in DefaultApi.
* @export
* @interface DefaultApiFlagCommentRequest
*/
export interface DefaultApiFlagCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiFlagComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiFlagComment
*/
readonly id: string;
/**
*
* @type {string}
* @memberof DefaultApiFlagComment
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiFlagComment
*/
readonly anonUserId?: string;
}
/**
* Request parameters for getAuditLogs operation in DefaultApi.
* @export
* @interface DefaultApiGetAuditLogsRequest
*/
export interface DefaultApiGetAuditLogsRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetAuditLogs
*/
readonly tenantId: string;
/**
*
* @type {number}
* @memberof DefaultApiGetAuditLogs
*/
readonly limit?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetAuditLogs
*/
readonly skip?: number;
/**
*
* @type {SORTDIR}
* @memberof DefaultApiGetAuditLogs
*/
readonly order?: SORTDIR;
/**
*
* @type {number}
* @memberof DefaultApiGetAuditLogs
*/
readonly after?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetAuditLogs
*/
readonly before?: number;
}
/**
* Request parameters for getComment operation in DefaultApi.
* @export
* @interface DefaultApiGetCommentRequest
*/
export interface DefaultApiGetCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComment
*/
readonly id: string;
}
/**
* Request parameters for getComments operation in DefaultApi.
* @export
* @interface DefaultApiGetCommentsRequest
*/
export interface DefaultApiGetCommentsRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly tenantId: string;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly page?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly limit?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly skip?: number;
/**
*
* @type {boolean}
* @memberof DefaultApiGetComments
*/
readonly asTree?: boolean;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly skipChildren?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly limitChildren?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetComments
*/
readonly maxTreeDepth?: number;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly urlId?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly anonUserId?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly contextUserId?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly hashTag?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetComments
*/
readonly parentId?: string;
/**
*
* @type {SortDirections}
* @memberof DefaultApiGetComments
*/
readonly direction?: SortDirections;
}
/**
* Request parameters for getDomainConfig operation in DefaultApi.
* @export
* @interface DefaultApiGetDomainConfigRequest
*/
export interface DefaultApiGetDomainConfigRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetDomainConfig
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetDomainConfig
*/
readonly domain: string;
}
/**
* Request parameters for getDomainConfigs operation in DefaultApi.
* @export
* @interface DefaultApiGetDomainConfigsRequest
*/
export interface DefaultApiGetDomainConfigsRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetDomainConfigs
*/
readonly tenantId: string;
}
/**
* Request parameters for getFeedPosts operation in DefaultApi.
* @export
* @interface DefaultApiGetFeedPostsRequest
*/
export interface DefaultApiGetFeedPostsRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetFeedPosts
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetFeedPosts
*/
readonly afterId?: string;
/**
*
* @type {number}
* @memberof DefaultApiGetFeedPosts
*/
readonly limit?: number;
/**
*
* @type {Array<string>}
* @memberof DefaultApiGetFeedPosts
*/
readonly tags?: Array<string>;
}
/**
* Request parameters for getUserBadge operation in DefaultApi.
* @export
* @interface DefaultApiGetUserBadgeRequest
*/
export interface DefaultApiGetUserBadgeRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadge
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadge
*/
readonly id: string;
}
/**
* Request parameters for getUserBadgeProgressById operation in DefaultApi.
* @export
* @interface DefaultApiGetUserBadgeProgressByIdRequest
*/
export interface DefaultApiGetUserBadgeProgressByIdRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressById
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressById
*/
readonly id: string;
}
/**
* Request parameters for getUserBadgeProgressByUserId operation in DefaultApi.
* @export
* @interface DefaultApiGetUserBadgeProgressByUserIdRequest
*/
export interface DefaultApiGetUserBadgeProgressByUserIdRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressByUserId
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressByUserId
*/
readonly userId: string;
}
/**
* Request parameters for getUserBadgeProgressList operation in DefaultApi.
* @export
* @interface DefaultApiGetUserBadgeProgressListRequest
*/
export interface DefaultApiGetUserBadgeProgressListRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressList
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadgeProgressList
*/
readonly userId?: string;
/**
*
* @type {number}
* @memberof DefaultApiGetUserBadgeProgressList
*/
readonly limit?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetUserBadgeProgressList
*/
readonly skip?: number;
}
/**
* Request parameters for getUserBadges operation in DefaultApi.
* @export
* @interface DefaultApiGetUserBadgesRequest
*/
export interface DefaultApiGetUserBadgesRequest {
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadges
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadges
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiGetUserBadges
*/
readonly badgeId?: string;
/**
*
* @type {number}
* @memberof DefaultApiGetUserBadges
*/
readonly type?: number;
/**
*
* @type {boolean}
* @memberof DefaultApiGetUserBadges
*/
readonly displayedOnComments?: boolean;
/**
*
* @type {number}
* @memberof DefaultApiGetUserBadges
*/
readonly limit?: number;
/**
*
* @type {number}
* @memberof DefaultApiGetUserBadges
*/
readonly skip?: number;
}
/**
* Request parameters for patchDomainConfig operation in DefaultApi.
* @export
* @interface DefaultApiPatchDomainConfigRequest
*/
export interface DefaultApiPatchDomainConfigRequest {
/**
*
* @type {string}
* @memberof DefaultApiPatchDomainConfig
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiPatchDomainConfig
*/
readonly domainToUpdate: string;
/**
*
* @type {PatchDomainConfigParams}
* @memberof DefaultApiPatchDomainConfig
*/
readonly patchDomainConfigParams: PatchDomainConfigParams;
}
/**
* Request parameters for putDomainConfig operation in DefaultApi.
* @export
* @interface DefaultApiPutDomainConfigRequest
*/
export interface DefaultApiPutDomainConfigRequest {
/**
*
* @type {string}
* @memberof DefaultApiPutDomainConfig
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiPutDomainConfig
*/
readonly domainToUpdate: string;
/**
*
* @type {UpdateDomainConfigParams}
* @memberof DefaultApiPutDomainConfig
*/
readonly updateDomainConfigParams: UpdateDomainConfigParams;
}
/**
* Request parameters for saveComment operation in DefaultApi.
* @export
* @interface DefaultApiSaveCommentRequest
*/
export interface DefaultApiSaveCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiSaveComment
*/
readonly tenantId: string;
/**
*
* @type {CreateCommentParams}
* @memberof DefaultApiSaveComment
*/
readonly createCommentParams: CreateCommentParams;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveComment
*/
readonly isLive?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveComment
*/
readonly doSpamCheck?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveComment
*/
readonly sendEmails?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveComment
*/
readonly populateNotifications?: boolean;
}
/**
* Request parameters for saveCommentsBulk operation in DefaultApi.
* @export
* @interface DefaultApiSaveCommentsBulkRequest
*/
export interface DefaultApiSaveCommentsBulkRequest {
/**
*
* @type {string}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly tenantId: string;
/**
*
* @type {Array<CreateCommentParams>}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly createCommentParams: Array<CreateCommentParams>;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly isLive?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly doSpamCheck?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly sendEmails?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiSaveCommentsBulk
*/
readonly populateNotifications?: boolean;
}
/**
* Request parameters for unBlockUserFromComment operation in DefaultApi.
* @export
* @interface DefaultApiUnBlockUserFromCommentRequest
*/
export interface DefaultApiUnBlockUserFromCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiUnBlockUserFromComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiUnBlockUserFromComment
*/
readonly id: string;
/**
*
* @type {UnBlockFromCommentParams}
* @memberof DefaultApiUnBlockUserFromComment
*/
readonly unBlockFromCommentParams: UnBlockFromCommentParams;
/**
*
* @type {string}
* @memberof DefaultApiUnBlockUserFromComment
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiUnBlockUserFromComment
*/
readonly anonUserId?: string;
}
/**
* Request parameters for unFlagComment operation in DefaultApi.
* @export
* @interface DefaultApiUnFlagCommentRequest
*/
export interface DefaultApiUnFlagCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiUnFlagComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiUnFlagComment
*/
readonly id: string;
/**
*
* @type {string}
* @memberof DefaultApiUnFlagComment
*/
readonly userId?: string;
/**
*
* @type {string}
* @memberof DefaultApiUnFlagComment
*/
readonly anonUserId?: string;
}
/**
* Request parameters for updateComment operation in DefaultApi.
* @export
* @interface DefaultApiUpdateCommentRequest
*/
export interface DefaultApiUpdateCommentRequest {
/**
*
* @type {string}
* @memberof DefaultApiUpdateComment
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiUpdateComment
*/
readonly id: string;
/**
*
* @type {PickAPICommentUpdatableCommentFields}
* @memberof DefaultApiUpdateComment
*/
readonly body: PickAPICommentUpdatableCommentFields;
/**
*
* @type {string}
* @memberof DefaultApiUpdateComment
*/
readonly contextUserId?: string;
/**
*
* @type {boolean}
* @memberof DefaultApiUpdateComment
*/
readonly doSpamCheck?: boolean;
/**
*
* @type {boolean}
* @memberof DefaultApiUpdateComment
*/
readonly isLive?: boolean;
}
/**
* Request parameters for updateFeedPost operation in DefaultApi.
* @export
* @interface DefaultApiUpdateFeedPostRequest
*/
export interface DefaultApiUpdateFeedPostRequest {
/**
*
* @type {string}
* @memberof DefaultApiUpdateFeedPost
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiUpdateFeedPost
*/
readonly id: string;
/**
*
* @type {FeedPost}
* @memberof DefaultApiUpdateFeedPost
*/
readonly feedPost: FeedPost;
}
/**
* Request parameters for updateUserBadge operation in DefaultApi.
* @export
* @interface DefaultApiUpdateUserBadgeRequest
*/
export interface DefaultApiUpdateUserBadgeRequest {
/**
*
* @type {string}
* @memberof DefaultApiUpdateUserBadge
*/
readonly tenantId: string;
/**
*
* @type {string}
* @memberof DefaultApiUpdateUserBadge
*/
readonly id: string;
/**
*
* @type {UpdateUserBadgeParams}
* @memberof DefaultApiUpdateUserBadge
*/
readonly updateUserBadgeParams: UpdateUserBadgeParams;
}
/**
* DefaultApi - object-oriented interface
* @export
* @class DefaultApi
* @extends {BaseAPI}
*/
export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
/**
*
* @param {DefaultApiAddDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
addDomainConfig(requestParameters: DefaultApiAddDomainConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddDomainConfig200Response, any>>;
/**
* Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
* @param {DefaultApiAggregateRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
aggregate(requestParameters: DefaultApiAggregateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AggregationResponse, any>>;
/**
*
* @param {DefaultApiAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
aggregateQuestionResults(requestParameters: DefaultApiAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AggregateQuestionResults200Response, any>>;
/**
*
* @param {DefaultApiBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
blockUserFromComment(requestParameters: DefaultApiBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlockFromCommentPublic200Response, any>>;
/**
*
* @param {DefaultApiBulkAggregateQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
bulkAggregateQuestionResults(requestParameters: DefaultApiBulkAggregateQuestionResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkAggregateQuestionResults200Response, any>>;
/**
*
* @param {DefaultApiCombineCommentsWithQuestionResultsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
combineCommentsWithQuestionResults(requestParameters: DefaultApiCombineCommentsWithQuestionResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CombineCommentsWithQuestionResults200Response, any>>;
/**
*
* @param {DefaultApiCreateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
createFeedPost(requestParameters: DefaultApiCreateFeedPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFeedPost200Response, any>>;
/**
*
* @param {DefaultApiCreateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
createUserBadge(requestParameters: DefaultApiCreateUserBadgeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserBadge200Response, any>>;
/**
*
* @param {DefaultApiDeleteCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
deleteComment(requestParameters: DefaultApiDeleteCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteComment200Response, any>>;
/**
*
* @param {DefaultApiDeleteDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
deleteDomainConfig(requestParameters: DefaultApiDeleteDomainConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteDomainConfig200Response, any>>;
/**
*
* @param {DefaultApiDeleteUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
deleteUserBadge(requestParameters: DefaultApiDeleteUserBadgeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserBadge200Response, any>>;
/**
*
* @param {DefaultApiFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
flagComment(requestParameters: DefaultApiFlagCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FlagComment200Response, any>>;
/**
*
* @param {DefaultApiGetAuditLogsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getAuditLogs(requestParameters: DefaultApiGetAuditLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuditLogs200Response, any>>;
/**
*
* @param {DefaultApiGetCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getComment(requestParameters: DefaultApiGetCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetComment200Response, any>>;
/**
*
* @param {DefaultApiGetCommentsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getComments(requestParameters: DefaultApiGetCommentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetComments200Response, any>>;
/**
*
* @param {DefaultApiGetDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getDomainConfig(requestParameters: DefaultApiGetDomainConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDomainConfig200Response, any>>;
/**
*
* @param {DefaultApiGetDomainConfigsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getDomainConfigs(requestParameters: DefaultApiGetDomainConfigsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDomainConfigs200Response, any>>;
/**
* req tenantId afterId
* @param {DefaultApiGetFeedPostsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getFeedPosts(requestParameters: DefaultApiGetFeedPostsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeedPosts200Response, any>>;
/**
*
* @param {DefaultApiGetUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getUserBadge(requestParameters: DefaultApiGetUserBadgeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserBadge200Response, any>>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getUserBadgeProgressById(requestParameters: DefaultApiGetUserBadgeProgressByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserBadgeProgressById200Response, any>>;
/**
*
* @param {DefaultApiGetUserBadgeProgressByUserIdRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getUserBadgeProgressByUserId(requestParameters: DefaultApiGetUserBadgeProgressByUserIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserBadgeProgressById200Response, any>>;
/**
*
* @param {DefaultApiGetUserBadgeProgressListRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getUserBadgeProgressList(requestParameters: DefaultApiGetUserBadgeProgressListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserBadgeProgressList200Response, any>>;
/**
*
* @param {DefaultApiGetUserBadgesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
getUserBadges(requestParameters: DefaultApiGetUserBadgesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserBadges200Response, any>>;
/**
*
* @param {DefaultApiPatchDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
patchDomainConfig(requestParameters: DefaultApiPatchDomainConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDomainConfig200Response, any>>;
/**
*
* @param {DefaultApiPutDomainConfigRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
putDomainConfig(requestParameters: DefaultApiPutDomainConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDomainConfig200Response, any>>;
/**
*
* @param {DefaultApiSaveCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
saveComment(requestParameters: DefaultApiSaveCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SaveComment200Response, any>>;
/**
*
* @param {DefaultApiSaveCommentsBulkRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
saveCommentsBulk(requestParameters: DefaultApiSaveCommentsBulkRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SaveComment200Response[], any>>;
/**
*
* @param {DefaultApiUnBlockUserFromCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
unBlockUserFromComment(requestParameters: DefaultApiUnBlockUserFromCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnBlockCommentPublic200Response, any>>;
/**
*
* @param {DefaultApiUnFlagCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
unFlagComment(requestParameters: DefaultApiUnFlagCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FlagComment200Response, any>>;
/**
*
* @param {DefaultApiUpdateCommentRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
updateComment(requestParameters: DefaultApiUpdateCommentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FlagCommentPublic200Response, any>>;
/**
*
* @param {DefaultApiUpdateFeedPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
updateFeedPost(requestParameters: DefaultApiUpdateFeedPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FlagCommentPublic200Response, any>>;
/**
*
* @param {DefaultApiUpdateUserBadgeRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof DefaultApi
*/
updateUserBadge(requestParameters: DefaultApiUpdateUserBadgeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserBadge200Response, any>>;
}
//# sourceMappingURL=default-api.d.ts.map