novyx 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -163,6 +163,7 @@ declare class Novyx {
|
|
|
163
163
|
usage(): Promise<Record<string, any>>;
|
|
164
164
|
plans(): Promise<Record<string, any>[]>;
|
|
165
165
|
health(): Promise<Record<string, any>>;
|
|
166
|
+
contextNow(): Promise<Record<string, any>>;
|
|
166
167
|
session(sessionId: string): NovyxSession;
|
|
167
168
|
link(sourceId: string, targetId: string, opts?: {
|
|
168
169
|
relation?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ declare class Novyx {
|
|
|
163
163
|
usage(): Promise<Record<string, any>>;
|
|
164
164
|
plans(): Promise<Record<string, any>[]>;
|
|
165
165
|
health(): Promise<Record<string, any>>;
|
|
166
|
+
contextNow(): Promise<Record<string, any>>;
|
|
166
167
|
session(sessionId: string): NovyxSession;
|
|
167
168
|
link(sourceId: string, targetId: string, opts?: {
|
|
168
169
|
relation?: string;
|
package/dist/index.js
CHANGED
|
@@ -401,6 +401,12 @@ var Novyx = class {
|
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
// ========================================================================
|
|
404
|
+
// Context
|
|
405
|
+
// ========================================================================
|
|
406
|
+
async contextNow() {
|
|
407
|
+
return this._request("GET", "/v1/context/now");
|
|
408
|
+
}
|
|
409
|
+
// ========================================================================
|
|
404
410
|
// Sessions
|
|
405
411
|
// ========================================================================
|
|
406
412
|
session(sessionId) {
|
package/dist/index.mjs
CHANGED
|
@@ -368,6 +368,12 @@ var Novyx = class {
|
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
// ========================================================================
|
|
371
|
+
// Context
|
|
372
|
+
// ========================================================================
|
|
373
|
+
async contextNow() {
|
|
374
|
+
return this._request("GET", "/v1/context/now");
|
|
375
|
+
}
|
|
376
|
+
// ========================================================================
|
|
371
377
|
// Sessions
|
|
372
378
|
// ========================================================================
|
|
373
379
|
session(sessionId) {
|