- Preparing search index...
- The search index is not available
OneSDK
Properties
platform
platform: string
Methods
addBlock
- addBlock(comment): void
-
Returns void
addWaitingList
- addWaitingList(comment): Promise<boolean>
-
Returns Promise<boolean>
changeActiveSurvey
- changeActiveSurvey(activeSurvey): void
-
Returns void
changeBookmark
- changeBookmark(bookmark): void
-
Returns void
changeOrderItemCount
- changeOrderItemCount(orderId, count): Promise<OrderItem[]>
-
Parameters
-
orderId: string
-
count: number
Returns Promise<OrderItem[]>
changeResultVisible
- changeResultVisible(visible): void
-
Returns void
changeServiceOrder
- changeServiceOrder(from, to): void
-
Returns void
changeThemeTemporarily
- changeThemeTemporarily(mode): void
-
Returns void
checkIntegration
- checkIntegration(name, ...args): Promise<any>
-
Parameters
-
name: string
-
Rest
...args: any[]
Returns Promise<any>
clearComents
- clearComents(): void
-
Returns void
clearSurveyResult
- clearSurveyResult(surveyId, questionId): void
-
Parameters
-
surveyId: string
-
questionId: string
Returns void
cloneTemplateResource
- cloneTemplateResource(dir, files): Promise<string[]>
-
Parameters
-
dir: string
-
files: string[]
Returns Promise<string[]>
closeWindow
- closeWindow(): void
-
Returns void
completeSetListItems
- completeSetListItems(id, items): Promise<void>
-
Parameters
-
id: number
-
items: number[]
Returns Promise<void>
createReport
- createReport(): void
-
Returns void
deleteMusicBox
- deleteMusicBox(id): Promise<void>
-
Returns Promise<void>
deleteMusicList
- deleteMusicList(ids): Promise<void>
-
Returns Promise<void>
deleteSetList
- deleteSetList(id): Promise<void>
-
Returns Promise<void>
deleteSurvey
- deleteSurvey(surveyId): Promise<null | Survey>
-
Returns Promise<null | Survey>
deleteSurveyAnswer
- deleteSurveyAnswer(surveyId, questionId, label): Promise<SurveyResult>
-
Parameters
-
surveyId: string
-
questionId: string
-
label: string
deleteTemplate
- deleteTemplate(templateId): Promise<boolean>
-
Returns Promise<boolean>
deleteTemplateResource
- deleteTemplateResource(dir, files): Promise<string[]>
-
Parameters
-
dir: string
-
files: string[]
Returns Promise<string[]>
deleteUserData
- deleteUserData(ids): void
-
Returns void
downloadUpdate
- downloadUpdate(): void
-
Returns void
dragFileStart
- dragFileStart(filename): void
-
Returns void
dragStart
- dragStart(templateData): void
-
Returns void
dragStaticFile
- dragStaticFile(pathname): void
-
Returns void
endSetList
- endSetList(): void
-
Returns void
generateAPIToken
- generateAPIToken(): Promise<string>
-
Returns Promise<string>
getAPIToken
- getAPIToken(): Promise<string>
-
Returns Promise<string>
getCurrentSetListId
- getCurrentSetListId(): Promise<number>
-
Returns Promise<number>
getFavorites
- getFavorites(): Promise<string[]>
-
Returns Promise<string[]>
getFontList
- getFontList(): Promise<string[]>
-
Returns Promise<string[]>
getLocale
- getLocale(): Promise<string>
-
Returns Promise<string>
getSurveyResult
- getSurveyResult(surveyId, questionId): Promise<SurveyResult>
-
Parameters
-
surveyId: string
-
questionId: string
getTemplatePath
- getTemplatePath(): Promise<string>
-
Returns Promise<string>
getVersion
- getVersion(): Promise<string>
-
Returns Promise<string>
getYNCVoiceList
- getYNCVoiceList(): Promise<string[]>
-
Returns Promise<string[]>
insertMusicList
- insertMusicList(boxId, params): Promise<void>
-
Returns Promise<void>
isProMode
- isProMode(): Promise<{
    key: string;
    proMode: boolean;
    type: string;
}>
-
Returns Promise<{
    key: string;
    proMode: boolean;
    type: string;
}>
joinSurveyAnswers
- joinSurveyAnswers(surveyId, questionId, from, to): Promise<SurveyResult>
-
Parameters
-
surveyId: string
-
questionId: string
-
from: string
-
to: string
loadWordParty
- loadWordParty(): void
-
Returns void
maximizeWindow
- maximizeWindow(): void
-
Returns void
minimizeWindow
- minimizeWindow(): void
-
Returns void
openAnalysisWindow
- openAnalysisWindow(): void
-
Returns void
openAppDirectory
- openAppDirectory(): void
-
Returns void
openBrowserWindow
- openBrowserWindow(url): Promise<void>
-
Returns Promise<void>
openChatWindow
- openChatWindow(serviceId): void
-
Returns void
openDirectorySelectDialog
- openDirectorySelectDialog(): Promise<undefined | string[]>
-
Returns Promise<undefined | string[]>
openFolder
- openFolder(path): void
-
Returns void
openLink
- openLink(url): void
-
Returns void
openListenersWindow
- openListenersWindow(): void
-
Returns void
openLogsDirectory
- openLogsDirectory(): void
-
Returns void
openOrderManagerWindow
- openOrderManagerWindow(): void
-
Returns void
openSetlistManagerWindow
- openSetlistManagerWindow(): void
-
Returns void
openSurveyManager
- openSurveyManager(): void
-
Returns void
openTemplateWindow
- openTemplateWindow(): void
-
Returns void
openUserDirectory
- openUserDirectory(templateName?): void
-
Parameters
-
Optional
templateName: string
Returns void
openWordPartyWindow
- openWordPartyWindow(dir): void
-
Returns void
receiveBeepSound
- receiveBeepSound(callback): UnregisterFunction
-
Parameters
-
callback: ((file, volume) => void)
-
- (file, volume): void
-
Parameters
-
file: string
-
volume: number
Returns void
Returns UnregisterFunction
receiveBookmark
- receiveBookmark(callback): UnregisterFunction
-
Parameters
-
callback: ((bookmark) => void)
-
- (bookmark): void
-
Returns void
Returns UnregisterFunction
receiveClearMeta
- receiveClearMeta(callback): UnregisterFunction
-
Returns UnregisterFunction
receiveComments
-
Parameters
-
callback: ((comments, listeners, options) => void)
-
- (comments, listeners, options): void
-
Returns void
Returns UnregisterFunction
receiveConfigUpdate
- receiveConfigUpdate(callback): UnregisterFunction
-
Parameters
-
callback: ((config) => void)
-
- (config): void
-
Returns void
Returns UnregisterFunction
receiveDeleteComment
-
Parameters
-
callback: ((deleteComment) => void)
-
- (deleteComment): void
-
Parameters
-
deleteComment: {
    id: string;
    message: string;
}[]
Returns void
Returns UnregisterFunction
receiveDeleteUserDatas
- receiveDeleteUserDatas(callback): UnregisterFunction
-
Parameters
-
callback: ((ids) => void)
Returns UnregisterFunction
receiveLoadWordParty
- receiveLoadWordParty(callback): UnregisterFunction
-
Parameters
-
callback: ((data) => void)
-
- (data): void
-
Returns void
Returns UnregisterFunction
receiveNotification
- receiveNotification(callback): UnregisterFunction
-
Parameters
-
callback: ((type, message) => void)
-
- (type, message): void
-
Parameters
-
type: string
-
message: string
Returns void
Returns UnregisterFunction
receivePageError
- receivePageError(callback): UnregisterFunction
-
Parameters
-
callback: ((error) => void)
-
- (error): void
-
Returns void
Returns UnregisterFunction
receivePinned
- receivePinned(callback): UnregisterFunction
-
Parameters
-
callback: ((comment) => void)
-
- (comment): void
-
Returns void
Returns UnregisterFunction
receiveProgress
- receiveProgress(callback): UnregisterFunction
-
Parameters
-
callback: ((message) => void)
-
- (message): void
-
Returns void
Returns UnregisterFunction
receiveReactions
- receiveReactions(callback): UnregisterFunction
-
Parameters
-
callback: ((reactions) => void)
-
- (reactions): void
-
Returns void
Returns UnregisterFunction
receiveSpeech
- receiveSpeech(callback): UnregisterFunction
-
Parameters
-
callback: ((text, config) => void)
-
- (text, config): void
-
Returns void
Returns UnregisterFunction
receiveSurveyResult
- receiveSurveyResult(callback): UnregisterFunction
-
Parameters
-
callback: ((result) => void)
-
- (result): void
-
Returns void
Returns UnregisterFunction
receiveUpdateMeta
- receiveUpdateMeta(callback): UnregisterFunction
-
Parameters
-
callback: ((id, meta) => void)
-
- (id, meta): void
-
Returns void
Returns UnregisterFunction
receiveUpdateUserDatas
- receiveUpdateUserDatas(callback): UnregisterFunction
-
Parameters
-
callback: ((userData) => void)
-
- (userData): void
-
Returns void
Returns UnregisterFunction
receiveWatings
- receiveWatings(callback): UnregisterFunction
-
Parameters
-
callback: ((orders) => void)
-
- (orders): void
-
Returns void
Returns UnregisterFunction
removeService
- removeService(service): void
-
Returns void
resetResultView
- resetResultView(): void
-
Returns void
resetSettings
- resetSettings(type): void
-
Returns void
restoreBackup
- restoreBackup(path): Promise<boolean>
-
Returns Promise<boolean>
rewriteOrderFile
- rewriteOrderFile(): void
-
Returns void
rewriteSetListTemplates
- rewriteSetListTemplates(): void
-
Returns void
saveFavorites
- saveFavorites(names): Promise<string[]>
-
Returns Promise<string[]>
saveWordPartyConfig
- saveWordPartyConfig(dir, config, items): Promise<void>
-
Returns Promise<void>
sendCorrectAnswer
- sendCorrectAnswer(surveyId, questionId): void
-
Parameters
-
surveyId: string
-
questionId: string
Returns void
sendQuizResult
- sendQuizResult(surveyId): void
-
Returns void
sendSurveyResult
- sendSurveyResult(surveyId, questionId): void
-
Parameters
-
surveyId: string
-
questionId: string
Returns void
showContextMenu
-
Parameters
-
type: string
-
Rest
...args: any[]
Returns void
showNews
- showNews(): void
-
Returns void
speechPreview
- speechPreview(comment, username, config): void
-
Parameters
-
comment: string
-
username: string
-
Returns void
startSetList
- startSetList(id): void
-
Returns void
stopSpeech
- stopSpeech(): void
-
Returns void
toggleSecretMode
- toggleSecretMode(): Promise<boolean>
-
Returns Promise<boolean>
updateConfig
- updateConfig(config): Promise<Config>
-
Returns Promise<Config>
updateLicense
- updateLicense(licenseKey): void
-
Returns void
updateMusicList
- updateMusicList(id, params): Promise<void>
-
Returns Promise<void>
updateService
- updateService(service): void
-
Returns void
updateSetList
- updateSetList(id, name): Promise<void>
-
Returns Promise<void>
updateSetListItems
- updateSetListItems(id, items): Promise<void>
-
Parameters
-
id: number
-
items: number[]
Returns Promise<void>
updateSurveys
- updateSurveys(surveys): Promise<Survey[]>
-
Returns Promise<Survey[]>
updateUserData
- updateUserData(id, userData): void
-
Returns void
uploadTemplate
- uploadTemplate(): Promise<{
    message: string;
    path?: string;
    status: "error" | "succeeded";
}>
-
Returns Promise<{
    message: string;
    path?: string;
    status: "error" | "succeeded";
}>
uploadTemplateFile
- uploadTemplateFile(filepath): Promise<{
    message: string;
    path?: string;
    status: "error" | "succeeded";
}>
-
Returns Promise<{
    message: string;
    path?: string;
    status: "error" | "succeeded";
}>
uploadTemplateResource
- uploadTemplateResource(dir, files): Promise<string[]>
-
Parameters
-
dir: string
-
files: {
    buffer: ArrayBuffer;
    name: string;
    type: string;
}[]
Returns Promise<string[]>