diff --git a/assets/navigation.js b/assets/navigation.js
index 8ca6652..52501a2 100644
--- a/assets/navigation.js
+++ b/assets/navigation.js
@@ -1 +1 @@
-window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA53YXVPiMBQG4L+y02tQUXR3uVo+ulqnSG0B13GcTmiPJWObsEmKMDv+951CxRZqknL/nuekaUIanv4ZAlbC6BgxXcKMrppBjIGIb81vy9bJ2cmZ0TAWSMyNjpHQMI2Bn+ZBfxs8mYskNhrGKyah0TlvGMEcxyEDYnSedvb9xHQt01Naea5stqvNYA7Bq4MwwyTq0xA+8SViGM0k/H5pud/F+Xtj1yWEGAQMgXMU1WlRqpP4EYgbQExwF2FSwy/Vyf1hnXFv8ipv81C8rrqtktgcSFh/pgtVeva0dZw+bSl8B6/uqKg79rxKYY+BC0wiFxIq4I4K/IIDJDCts2akzkH/58IIhqbnda9Nf/zoFHcxkDQ56FbKltUfBdJxrWm3/+g7I9vqW0p1P/41fM3QYn5v36fA1p9oECPOD6emGC6TrfMiatMl9Oiqv6lSqqW0jO2GSXHXYyKAvaDgUNwE935qL68KUo+uPBDZq+U6XiEuUwdIQD97Rh1zF5aLaz1rLVVgiQPQgjZJqcXQGyaRFraNyrTr3S+dDviZlplDYDjEkOiIH1m5pz1ArdFtIp5AItVaJ6UCmXwHb7Xx/RqpX/j5q7N5qup0+0w4sGN7FWtl/RxGX3Cs9X7zqExzIcEkBJZtbx2ymJe5HmSp7Jl01M+03NSfWZ2Z9BYQYBTrPnohLlPHONHispzM0Z071azlh+D2uHLhbwo8+7gMgRUmUqwXXx6fVZV7Dc9+fm9dFj9qLG9UntbKBnlKhd0+eAro9sFTIfmp3V1gm0aYPGAxdxDnb5SFLvAFJVw1Wg1BcxDbGe2mYg5EHHzpyZpXVWo2NROE448BH9NbAmgOYUxfgRzTuqJQ1XJkmwMHByJl0FsLUK31/biKn0ysgYLMIipmhjhctScsVli7nAqE7CUpsE1GBSWURNQKFVSeUmGLqot8Jbj46t5+iPLNJ4D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2wF/pbcE0BzCiL4B+UrrikJVy6Ft9h0ciJRBdyVAtdYP4yp+PLb6CjKLqJgp4nB9OWaxwtrlVCBkL0mBrTMqKKEkolaooPKUCptXXeQrwfln9/ZjlK8/AZRvdhtTcX3zd2dsj/xsJfjdjmdeX2rcviqqJHc9ezgxu8M/fsex/NuhN9JocFiiqY9duyY+dm2JPTFdzxrea5h5UmIFDJCAPkzTKCqeca8pCbKtfUSWC8ry9WXpLvtLzPD0otW6OCM0hCaDsJljx39P+dusn2V9BqGfZw/WysfLfyKiLohJEwAA"
\ No newline at end of file
diff --git a/classes/lovebox_client.GraphQLQuery.html b/classes/lovebox_client.GraphQLQuery.html
index a461fff..9de729a 100644
--- a/classes/lovebox_client.GraphQLQuery.html
+++ b/classes/lovebox_client.GraphQLQuery.html
@@ -1,6 +1,6 @@
-
GraphQLQuery | Node Lovebox - v1.0.0Class GraphQLQuery<TResponse, TVariables>
Type Parameters
TResponse
TVariables extends Variables | undefined = undefined
Index
Constructors
constructor
+
GraphQLQuery | Node Lovebox - v1.0.0Class GraphQLQuery<TResponse, TVariables>
Type Parameters
TResponse
TVariables extends Variables | undefined = undefined
Constructors
constructor
- new GraphQLQuery<TResponse, TVariables>(gql, name?): GraphQLQuery<TResponse, TVariables>
Type Parameters
TResponse
TVariables extends undefined | Variables = undefined
Parameters
gql: string
Optional
name: string
Returns GraphQLQuery<TResponse, TVariables>
Properties
Readonly
__query
__query: TVariables
Readonly
__response
__response: TResponse
Optional
Readonly
name
name?: string
\ No newline at end of file
+
Constructors
constructor
- new GraphQLQuery<TResponse, TVariables>(gql, name?): GraphQLQuery<TResponse, TVariables>
Type Parameters
TResponse
TVariables extends undefined | Variables = undefined
Parameters
gql: string
Optional
name: string
Returns GraphQLQuery<TResponse, TVariables>
Properties
Readonly
__query
__query: TVariables
Readonly
__response
__response: TResponse
Optional
Readonly
name
name?: string
\ No newline at end of file
diff --git a/classes/lovebox_client.LoveBoxClient.html b/classes/lovebox_client.LoveBoxClient.html
index f84353f..615cabc 100644
--- a/classes/lovebox_client.LoveBoxClient.html
+++ b/classes/lovebox_client.LoveBoxClient.html
@@ -1,4 +1,4 @@
-LoveBoxClient | Node Lovebox - v1.0.0 Index
Constructors
constructor
+
LoveBoxClient | Node Lovebox - v1.0.0Properties
Private
Optional
Readonly
#auth
Private
#graphQLClient
#graphQLClient: GraphQLClient
Private
Optional
#token
#token?: string
Methods
deleteMessage
- deleteMessage(messageId): Promise<true>
Returns Promise<true>
Private
getDefaultBoxAndSender
- getDefaultBoxAndSender(deviceId?, boxId?, hasColor?): Promise<{
box: string;
device: string;
}> Private
Properties
Private
Optional
Readonly
#auth
Private
#graphQLClient
#graphQLClient: GraphQLClient
Private
Optional
#token
#token?: string
Methods
deleteMessage
- deleteMessage(messageId): Promise<true>
Returns Promise<true>
Private
getDefaultBoxAndSender
- getDefaultBoxAndSender(deviceId?, boxId?, hasColor?): Promise<{
box: string;
device: string;
}> Private
Parameters
Optional
deviceId: string
Optional
boxId: string
Optional
hasColor: boolean
Returns Promise<{
box: string;
device: string;
}>
getMe
- getMe(): Promise<User>
Returns Promise<User>
getMessage
- getMessage(skip?, limit?): Promise<Message[]>
Parameters
skip: number = 0
limit: number = 10
Returns Promise<Message[]>
graphQlRequest
- graphQlRequest<TResponse, TVariables>(endpoint, variables, headers?): Promise<TResponse>
Type Parameters
TResponse
TVariables extends undefined | Variables
Parameters
endpoint: GraphQLQuery<TResponse, TVariables>
variables: TVariables
Returns Promise<TResponse>
Private
isEmailPasswordConfiguration
login
- login(): Promise<void>
Returns Promise<void>
rawGraphQLRequest
- rawGraphQLRequest<T>(gqlRequest, variables?, headers?): Promise<T>
Parameters
gqlRequest: string
Optional
variables: Variables
Returns Promise<T>
sendOLEDPicture
- sendOLEDPicture(__namedParameters): Promise<Message & {
type: OLED;
}> Parameters
__namedParameters: {
boxId?: string;
bytes: Buffer;
senderDeviceId?: string;
}
Optional
boxId?: string
bytes: Buffer
Optional
senderDeviceId?: string
Returns Promise<Message & {
type: OLED;
}>
sendPicture
- sendPicture(__namedParameters): Promise<Message & {
type: COLOR_PICTURE;
}> Parameters
__namedParameters: {
boxId?: string;
frames?: string[];
picture: string;
senderDeviceId?: string;
}
Optional
boxId?: string
Optional
frames?: string[]
picture: string
Optional
senderDeviceId?: string
\ No newline at end of file
+Parameters
Optional
deviceId: string
Optional
boxId: string
Optional
hasColor: boolean
Returns Promise<{
box: string;
device: string;
}>
getMe
- getMe(): Promise<User>
Returns Promise<User>
getMessage
- getMessage(skip?, limit?): Promise<Message[]>
Parameters
skip: number = 0
limit: number = 10
Returns Promise<Message[]>
graphQlRequest
- graphQlRequest<TResponse, TVariables>(endpoint, variables, headers?): Promise<TResponse>
Type Parameters
TResponse
TVariables extends undefined | Variables
Parameters
endpoint: GraphQLQuery<TResponse, TVariables>
variables: TVariables
Returns Promise<TResponse>
Private
isEmailPasswordConfiguration
login
- login(): Promise<void>
Returns Promise<void>
rawGraphQLRequest
- rawGraphQLRequest<T>(gqlRequest, variables?, headers?): Promise<T>
Parameters
gqlRequest: string
Optional
variables: Variables
Returns Promise<T>
sendOLEDPicture
- sendOLEDPicture(__namedParameters): Promise<Message & {
type: OLED;
}> Parameters
__namedParameters: {
boxId?: string;
bytes: Buffer;
senderDeviceId?: string;
}
Optional
boxId?: string
bytes: Buffer
Optional
senderDeviceId?: string
Returns Promise<Message & {
type: OLED;
}>
sendPicture
- sendPicture(__namedParameters): Promise<Message & {
type: COLOR_PICTURE;
}> Parameters
__namedParameters: {
boxId?: string;
frames?: string[];
picture: string;
senderDeviceId?: string;
}
Optional
boxId?: string
Optional
frames?: string[]
picture: string
Optional
senderDeviceId?: string
\ No newline at end of file
diff --git a/enums/lovebox_client.MESSAGE_TYPES.html b/enums/lovebox_client.MESSAGE_TYPES.html
index 870250f..dfa8829 100644
--- a/enums/lovebox_client.MESSAGE_TYPES.html
+++ b/enums/lovebox_client.MESSAGE_TYPES.html
@@ -1,3 +1,3 @@
-MESSAGE_TYPES | Node Lovebox - v1.0.0Enumeration MESSAGE_TYPES
Index
Enumeration Members
COLOR_PICTURE
+
MESSAGE_TYPES | Node Lovebox - v1.0.0Enumeration MESSAGE_TYPES
Enumeration Members
COLOR_PICTURE
COLOR_PICTURE: 6
\ No newline at end of file
+
Enumeration Members
COLOR_PICTURE
COLOR_PICTURE: 6
\ No newline at end of file
diff --git a/enums/lovebox_client.PRIVACY_POLICIES.html b/enums/lovebox_client.PRIVACY_POLICIES.html
index a1a984c..183b208 100644
--- a/enums/lovebox_client.PRIVACY_POLICIES.html
+++ b/enums/lovebox_client.PRIVACY_POLICIES.html
@@ -1,3 +1,3 @@
-PRIVACY_POLICIES | Node Lovebox - v1.0.0Enumeration PRIVACY_POLICIES
Index
Enumeration Members
ADMIN_AND_ME
+
PRIVACY_POLICIES | Node Lovebox - v1.0.0Enumeration PRIVACY_POLICIES
Enumeration Members
ADMIN_AND_ME
ADMIN_AND_ME: "ADMIN_AND_ME"
ONLY_ME
ONLY_ME: "ONLY_ME"
\ No newline at end of file
+
Enumeration Members
ADMIN_AND_ME
ADMIN_AND_ME: "ADMIN_AND_ME"
ONLY_ME
ONLY_ME: "ONLY_ME"
\ No newline at end of file
diff --git a/functions/lovebox_client.createDebugger.html b/functions/lovebox_client.createDebugger.html
index 650d3e0..9282be0 100644
--- a/functions/lovebox_client.createDebugger.html
+++ b/functions/lovebox_client.createDebugger.html
@@ -1 +1 @@
-createDebugger | Node Lovebox - v1.0.0- createDebugger(name): Debugger
Returns Debugger
\ No newline at end of file
+createDebugger | Node Lovebox - v1.0.0- createDebugger(name): Debugger
Returns Debugger
\ No newline at end of file
diff --git a/index.html b/index.html
index aa58d57..b45d523 100644
--- a/index.html
+++ b/index.html
@@ -8,4 +8,4 @@
node-red plugin to use the lovebox api here
you can use the editor to generate LoveBox N&B OLED pictures
-
This function will not check the hasColor if it can skip API call +