Function SessionApiAxiosParamCreator
- SessionApiAxiosParamCreator(configuration?): {
addUserToSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
displayContent: ((sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getAuthProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getPasswordResetProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSessions: ((controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
play: ((sessionId: string, playCommand: PlayCommand, itemIds: string[], startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
postCapabilities: ((id?: string, playableMediaTypes?: MediaType[], supportedCommands?: GeneralCommandType[], supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
postFullCapabilities: ((clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
removeUserFromSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportSessionEnded: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportViewing: ((itemId: string, sessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendFullGeneralCommand: ((sessionId: string, generalCommand: GeneralCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendGeneralCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendMessageCommand: ((sessionId: string, messageCommand: MessageCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendPlaystateCommand: ((sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendSystemCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
} Returns {
addUserToSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
displayContent: ((sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getAuthProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getPasswordResetProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getSessions: ((controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
play: ((sessionId: string, playCommand: PlayCommand, itemIds: string[], startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
postCapabilities: ((id?: string, playableMediaTypes?: MediaType[], supportedCommands?: GeneralCommandType[], supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
postFullCapabilities: ((clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
removeUserFromSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportSessionEnded: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
reportViewing: ((itemId: string, sessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendFullGeneralCommand: ((sessionId: string, generalCommand: GeneralCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendGeneralCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendMessageCommand: ((sessionId: string, messageCommand: MessageCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendPlaystateCommand: ((sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
sendSystemCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
}
addUserToSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, userId, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- userId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
displayContent: ((sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, itemType, itemId, itemName, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- itemType: BaseItemKind
- itemId: string
- itemName: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getAuthProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (options?): Promise<RequestArgs>
Parameters
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getPasswordResetProviders: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (options?): Promise<RequestArgs>
Parameters
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getSessions: ((controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (controllableByUserId?, deviceId?, activeWithinSeconds?, options?): Promise<RequestArgs>
Parameters
Optional
controllableByUserId: stringOptional
deviceId: stringOptional
activeWithinSeconds: numberOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
play: ((sessionId: string, playCommand: PlayCommand, itemIds: string[], startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, playCommand, itemIds, startPositionTicks?, mediaSourceId?, audioStreamIndex?, subtitleStreamIndex?, startIndex?, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- playCommand: PlayCommand
- itemIds: string[]
Optional
startPositionTicks: numberOptional
mediaSourceId: stringOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
startIndex: numberOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
postCapabilities: ((id?: string, playableMediaTypes?: MediaType[], supportedCommands?: GeneralCommandType[], supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (id?, playableMediaTypes?, supportedCommands?, supportsMediaControl?, supportsPersistentIdentifier?, options?): Promise<RequestArgs>
Parameters
Optional
id: stringOptional
playableMediaTypes: MediaType[]Optional
supportedCommands: GeneralCommandType[]Optional
supportsMediaControl: booleanOptional
supportsPersistentIdentifier: booleanOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
postFullCapabilities: ((clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (clientCapabilitiesDto, id?, options?): Promise<RequestArgs>
Parameters
- clientCapabilitiesDto: ClientCapabilitiesDto
Optional
id: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
removeUserFromSession: ((sessionId: string, userId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, userId, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- userId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
reportSessionEnded: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (options?): Promise<RequestArgs>
Parameters
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
reportViewing: ((itemId: string, sessionId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, sessionId?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
sessionId: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
sendFullGeneralCommand: ((sessionId: string, generalCommand: GeneralCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, generalCommand, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- generalCommand: GeneralCommand
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
sendGeneralCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, command, options?): Promise<RequestArgs>
Returns Promise<RequestArgs>
sendMessageCommand: ((sessionId: string, messageCommand: MessageCommand, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, messageCommand, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- messageCommand: MessageCommand
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
sendPlaystateCommand: ((sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, command, seekPositionTicks?, controllingUserId?, options?): Promise<RequestArgs>
Parameters
- sessionId: string
- command: PlaystateCommand
Optional
seekPositionTicks: numberOptional
controllingUserId: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
sendSystemCommand: ((sessionId: string, command: GeneralCommandType, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (sessionId, command, options?): Promise<RequestArgs>
Returns Promise<RequestArgs>
SessionApi - axios parameter creator
Export