@pushwoosh/rpc-gateway-ai-assistant 0.1.651 → 0.1.652
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/data.js +31 -0
- package/package.json +1 -1
- package/pushwoosh_uds_onyx_v1.d.ts +18 -1
package/data.js
CHANGED
|
@@ -5585,6 +5585,12 @@ export const data = {
|
|
|
5585
5585
|
"method": "post",
|
|
5586
5586
|
"path": "/api/v1/applications/{application}/agent/reset"
|
|
5587
5587
|
},
|
|
5588
|
+
"DeactivateAgent": {
|
|
5589
|
+
"request": "pushwoosh.uds.onyx.v1.DeactivateAgentRequest",
|
|
5590
|
+
"response": "pushwoosh.uds.onyx.v1.DeactivateAgentResponse",
|
|
5591
|
+
"method": "post",
|
|
5592
|
+
"path": "/api/v1/applications/{application}/agent/deactivate"
|
|
5593
|
+
},
|
|
5588
5594
|
"ListAgentSkills": {
|
|
5589
5595
|
"request": "pushwoosh.uds.onyx.v1.ListAgentSkillsRequest",
|
|
5590
5596
|
"response": "pushwoosh.uds.onyx.v1.ListAgentSkillsResponse",
|
|
@@ -6353,6 +6359,31 @@ export const data = {
|
|
|
6353
6359
|
}
|
|
6354
6360
|
}
|
|
6355
6361
|
},
|
|
6362
|
+
"pushwoosh.uds.onyx.v1.DeactivateAgentRequest": {
|
|
6363
|
+
"type": "I",
|
|
6364
|
+
"fields": {
|
|
6365
|
+
"application": {
|
|
6366
|
+
"type": "string"
|
|
6367
|
+
}
|
|
6368
|
+
}
|
|
6369
|
+
},
|
|
6370
|
+
"pushwoosh.uds.onyx.v1.DeactivateAgentResponse": {
|
|
6371
|
+
"type": "I",
|
|
6372
|
+
"fields": {
|
|
6373
|
+
"profile": {
|
|
6374
|
+
"type": "pushwoosh.uds.onyx.v1.AgentSetupProfile"
|
|
6375
|
+
},
|
|
6376
|
+
"wakesClosed": {
|
|
6377
|
+
"type": "number"
|
|
6378
|
+
},
|
|
6379
|
+
"cardsFailed": {
|
|
6380
|
+
"type": "number"
|
|
6381
|
+
},
|
|
6382
|
+
"cardsUnprepared": {
|
|
6383
|
+
"type": "number"
|
|
6384
|
+
}
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6356
6387
|
"pushwoosh.uds.onyx.v1.ResetAgentRequest": {
|
|
6357
6388
|
"type": "I",
|
|
6358
6389
|
"fields": {
|
package/package.json
CHANGED
|
@@ -16,6 +16,7 @@ export type BoardService_GetAgentSetup = RpcMethod<GetAgentSetupRequest, GetAgen
|
|
|
16
16
|
export type BoardService_ActivateAgent = RpcMethod<ActivateAgentRequest, ActivateAgentResponse>;
|
|
17
17
|
export type BoardService_SetAgentMode = RpcMethod<SetAgentModeRequest, SetAgentModeResponse>;
|
|
18
18
|
export type BoardService_ResetAgent = RpcMethod<ResetAgentRequest, ResetAgentResponse>;
|
|
19
|
+
export type BoardService_DeactivateAgent = RpcMethod<DeactivateAgentRequest, DeactivateAgentResponse>;
|
|
19
20
|
export type BoardService_ListAgentSkills = RpcMethod<ListAgentSkillsRequest, ListAgentSkillsResponse>;
|
|
20
21
|
export type BoardService_SaveAccountSkill = RpcMethod<SaveAccountSkillRequest, SaveAccountSkillResponse>;
|
|
21
22
|
export type BoardService_PublishAccountSkill = RpcMethod<PublishAccountSkillRequest, PublishAccountSkillResponse>;
|
|
@@ -36,7 +37,7 @@ export interface BoardService {
|
|
|
36
37
|
ListGoals: BoardService_ListGoals;
|
|
37
38
|
GetAgentAccess: BoardService_GetAgentAccess;
|
|
38
39
|
/**
|
|
39
|
-
* The
|
|
40
|
+
* The five below need the X-Agency-Key header (meta_agent.access_key), else PermissionDenied.
|
|
40
41
|
* The application's passport and the verticals with a published passport and their published jobs.
|
|
41
42
|
*/
|
|
42
43
|
GetAgentSetup: BoardService_GetAgentSetup;
|
|
@@ -49,6 +50,11 @@ export interface BoardService {
|
|
|
49
50
|
* The passport, card history and project skills stay; what the platform holds is listed, never touched.
|
|
50
51
|
*/
|
|
51
52
|
ResetAgent: BoardService_ResetAgent;
|
|
53
|
+
/**
|
|
54
|
+
* Switches the agent off: open wake-ups closed, an accepted or building proposal failed, a preparing one back to
|
|
55
|
+
* the plan, all with reason agent_disabled; goals, the board and chats stay. ActivateAgent switches it back on.
|
|
56
|
+
*/
|
|
57
|
+
DeactivateAgent: BoardService_DeactivateAgent;
|
|
52
58
|
/**
|
|
53
59
|
* The four below edit the account's overrides of catalog skills, also behind X-Agency-Key: an account row with the
|
|
54
60
|
* catalog skill's (kind, vertical, slug) replaces it for every application of the account. The catalog is read-only here.
|
|
@@ -393,6 +399,17 @@ export type SetAgentModeRequest = {
|
|
|
393
399
|
export type SetAgentModeResponse = {
|
|
394
400
|
profile: AgentSetupProfile;
|
|
395
401
|
};
|
|
402
|
+
export type DeactivateAgentRequest = {
|
|
403
|
+
application: string;
|
|
404
|
+
};
|
|
405
|
+
export type DeactivateAgentResponse = {
|
|
406
|
+
profile: AgentSetupProfile;
|
|
407
|
+
wakesClosed: number;
|
|
408
|
+
/** Accepted or building proposals moved to failed. */
|
|
409
|
+
cardsFailed: number;
|
|
410
|
+
/** Preparing proposals moved back to planned. */
|
|
411
|
+
cardsUnprepared: number;
|
|
412
|
+
};
|
|
396
413
|
export type ResetAgentRequest = {
|
|
397
414
|
application: string;
|
|
398
415
|
/**
|