@ravi-os/sdk 0.261125.1 → 0.261128.1
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/client.d.ts +49 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +64 -0
- package/dist/client.js.map +1 -1
- package/dist/schemas.d.ts +1323 -17
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1761 -8
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +328 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -353,6 +353,14 @@ export class RaviClient {
|
|
|
353
353
|
body: { id },
|
|
354
354
|
});
|
|
355
355
|
},
|
|
356
|
+
/** Fetch and verify the signed official index, keys and block list */
|
|
357
|
+
refresh: async () => {
|
|
358
|
+
return this.transport.call({
|
|
359
|
+
groupSegments: ["apps"],
|
|
360
|
+
command: "refresh",
|
|
361
|
+
body: {},
|
|
362
|
+
});
|
|
363
|
+
},
|
|
356
364
|
/** Run a Ravi app operation through the runtime app router */
|
|
357
365
|
run: async (id, operation, args, options) => {
|
|
358
366
|
return this.transport.call({
|
|
@@ -369,6 +377,14 @@ export class RaviClient {
|
|
|
369
377
|
body: { id, ...(options ?? {}) },
|
|
370
378
|
});
|
|
371
379
|
},
|
|
380
|
+
/** Search the official Ravi Apps index */
|
|
381
|
+
search: async (query, options) => {
|
|
382
|
+
return this.transport.call({
|
|
383
|
+
groupSegments: ["apps"],
|
|
384
|
+
command: "search",
|
|
385
|
+
body: { query, ...(options ?? {}) },
|
|
386
|
+
});
|
|
387
|
+
},
|
|
372
388
|
/** Show a Ravi app manifest */
|
|
373
389
|
show: async (id) => {
|
|
374
390
|
return this.transport.call({
|
|
@@ -376,6 +392,14 @@ export class RaviClient {
|
|
|
376
392
|
command: "show",
|
|
377
393
|
body: { id },
|
|
378
394
|
});
|
|
395
|
+
},
|
|
396
|
+
/** Check installed store apps against their receipts and the block list */
|
|
397
|
+
verify: async (id) => {
|
|
398
|
+
return this.transport.call({
|
|
399
|
+
groupSegments: ["apps"],
|
|
400
|
+
command: "verify",
|
|
401
|
+
body: { id },
|
|
402
|
+
});
|
|
379
403
|
}
|
|
380
404
|
};
|
|
381
405
|
artifacts = {
|
|
@@ -2836,6 +2860,14 @@ export class RaviClient {
|
|
|
2836
2860
|
command: "show",
|
|
2837
2861
|
body: { id },
|
|
2838
2862
|
});
|
|
2863
|
+
},
|
|
2864
|
+
/** Replace an answered decision with a later answered one; the old leaves turn context, history stays */
|
|
2865
|
+
supersede: async (id, options) => {
|
|
2866
|
+
return this.transport.call({
|
|
2867
|
+
groupSegments: ["decisions"],
|
|
2868
|
+
command: "supersede",
|
|
2869
|
+
body: { id, ...(options ?? {}) },
|
|
2870
|
+
});
|
|
2839
2871
|
}
|
|
2840
2872
|
};
|
|
2841
2873
|
devin = {
|
|
@@ -6443,6 +6475,14 @@ export class RaviClient {
|
|
|
6443
6475
|
body: { slug, ...(options ?? {}) },
|
|
6444
6476
|
});
|
|
6445
6477
|
},
|
|
6478
|
+
/** Read-only health report: unused tags, orphan bindings, tags without consumer, tags that grant power */
|
|
6479
|
+
doctor: async (options) => {
|
|
6480
|
+
return this.transport.call({
|
|
6481
|
+
groupSegments: ["tags"],
|
|
6482
|
+
command: "doctor",
|
|
6483
|
+
body: { ...(options ?? {}) },
|
|
6484
|
+
});
|
|
6485
|
+
},
|
|
6446
6486
|
/** List tag definitions */
|
|
6447
6487
|
list: async (options) => {
|
|
6448
6488
|
return this.transport.call({
|
|
@@ -7002,6 +7042,14 @@ export class RaviClient {
|
|
|
7002
7042
|
};
|
|
7003
7043
|
voice = {
|
|
7004
7044
|
calls: {
|
|
7045
|
+
/** Tell the call whether the person is talking (holds when_idle speech until they stop) */
|
|
7046
|
+
activity: async (call, state) => {
|
|
7047
|
+
return this.transport.call({
|
|
7048
|
+
groupSegments: ["voice", "calls"],
|
|
7049
|
+
command: "activity",
|
|
7050
|
+
body: { call, state },
|
|
7051
|
+
});
|
|
7052
|
+
},
|
|
7005
7053
|
/** Approve a request shown in the call (tap only; dry-run by default; requires --execute) */
|
|
7006
7054
|
approve: async (call, approval, options) => {
|
|
7007
7055
|
return this.transport.call({
|
|
@@ -7160,6 +7208,14 @@ export class RaviClient {
|
|
|
7160
7208
|
}
|
|
7161
7209
|
},
|
|
7162
7210
|
profiles: {
|
|
7211
|
+
/** Make a profile the default for one session's calls */
|
|
7212
|
+
bind: async (id, session) => {
|
|
7213
|
+
return this.transport.call({
|
|
7214
|
+
groupSegments: ["voice", "profiles"],
|
|
7215
|
+
command: "bind",
|
|
7216
|
+
body: { id, session },
|
|
7217
|
+
});
|
|
7218
|
+
},
|
|
7163
7219
|
/** Create a voice profile */
|
|
7164
7220
|
create: async (id, options) => {
|
|
7165
7221
|
return this.transport.call({
|
|
@@ -7192,6 +7248,14 @@ export class RaviClient {
|
|
|
7192
7248
|
body: { id },
|
|
7193
7249
|
});
|
|
7194
7250
|
},
|
|
7251
|
+
/** Remove a session's default profile */
|
|
7252
|
+
unbind: async (session) => {
|
|
7253
|
+
return this.transport.call({
|
|
7254
|
+
groupSegments: ["voice", "profiles"],
|
|
7255
|
+
command: "unbind",
|
|
7256
|
+
body: { session },
|
|
7257
|
+
});
|
|
7258
|
+
},
|
|
7195
7259
|
/** Update a voice profile */
|
|
7196
7260
|
update: async (id, options) => {
|
|
7197
7261
|
return this.transport.call({
|