@pushwoosh/rpc-gateway-ai-assistant 0.1.644 → 0.1.645
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 +14 -0
- package/package.json +1 -1
- package/pushwoosh_uds_onyx_v1.d.ts +13 -1
package/data.js
CHANGED
|
@@ -6296,6 +6296,9 @@ export const data = {
|
|
|
6296
6296
|
"fields": {
|
|
6297
6297
|
"application": {
|
|
6298
6298
|
"type": "string"
|
|
6299
|
+
},
|
|
6300
|
+
"purgeObjects": {
|
|
6301
|
+
"type": "boolean"
|
|
6299
6302
|
}
|
|
6300
6303
|
}
|
|
6301
6304
|
},
|
|
@@ -6313,6 +6316,9 @@ export const data = {
|
|
|
6313
6316
|
},
|
|
6314
6317
|
"url": {
|
|
6315
6318
|
"type": "string"
|
|
6319
|
+
},
|
|
6320
|
+
"reason": {
|
|
6321
|
+
"type": "string"
|
|
6316
6322
|
}
|
|
6317
6323
|
}
|
|
6318
6324
|
},
|
|
@@ -6337,6 +6343,14 @@ export const data = {
|
|
|
6337
6343
|
"objects": {
|
|
6338
6344
|
"type": "pushwoosh.uds.onyx.v1.AgentBuiltObject",
|
|
6339
6345
|
"array": true
|
|
6346
|
+
},
|
|
6347
|
+
"purged": {
|
|
6348
|
+
"type": "pushwoosh.uds.onyx.v1.AgentBuiltObject",
|
|
6349
|
+
"array": true
|
|
6350
|
+
},
|
|
6351
|
+
"kept": {
|
|
6352
|
+
"type": "pushwoosh.uds.onyx.v1.AgentBuiltObject",
|
|
6353
|
+
"array": true
|
|
6340
6354
|
}
|
|
6341
6355
|
}
|
|
6342
6356
|
},
|
package/package.json
CHANGED
|
@@ -324,7 +324,7 @@ export type AgentFocus = {
|
|
|
324
324
|
id: string;
|
|
325
325
|
name: string;
|
|
326
326
|
description: string;
|
|
327
|
-
/** revenue | returns | first_purchases | purchases | conversions | active_users | subscribers */
|
|
327
|
+
/** revenue | returns | first_purchases | purchases | conversions | active_users | subscribers | levels */
|
|
328
328
|
metric: string;
|
|
329
329
|
};
|
|
330
330
|
export type AgentSkillSet = {
|
|
@@ -379,6 +379,11 @@ export type SetAgentModeResponse = {
|
|
|
379
379
|
};
|
|
380
380
|
export type ResetAgentRequest = {
|
|
381
381
|
application: string;
|
|
382
|
+
/**
|
|
383
|
+
* Delete what the cards built before the board is cleared: journeys paused then deleted, segments, presets,
|
|
384
|
+
* templates and control groups deleted; an object already gone counts as purged.
|
|
385
|
+
*/
|
|
386
|
+
purgeObjects: boolean;
|
|
382
387
|
};
|
|
383
388
|
/** An object a card built in the platform; reset leaves it running, the client removes it by hand. */
|
|
384
389
|
export type AgentBuiltObject = {
|
|
@@ -388,6 +393,8 @@ export type AgentBuiltObject = {
|
|
|
388
393
|
code: string;
|
|
389
394
|
/** The object's page in the panel. */
|
|
390
395
|
url: string;
|
|
396
|
+
/** Why purge_objects left it in place; empty otherwise. */
|
|
397
|
+
reason: string;
|
|
391
398
|
};
|
|
392
399
|
export type ResetAgentResponse = {
|
|
393
400
|
goalsDeleted: number;
|
|
@@ -396,7 +403,12 @@ export type ResetAgentResponse = {
|
|
|
396
403
|
/** The agency chat and the card chats emptied of their messages and files. */
|
|
397
404
|
chatsCleared: number;
|
|
398
405
|
snapshotDeleted: boolean;
|
|
406
|
+
/** What is left for manual cleanup: everything built without purge_objects, what the purge could not delete with it. */
|
|
399
407
|
objects: AgentBuiltObject[];
|
|
408
|
+
/** purge_objects: deleted in the platform (or already gone). */
|
|
409
|
+
purged: AgentBuiltObject[];
|
|
410
|
+
/** purge_objects: left in place, with the reason. */
|
|
411
|
+
kept: AgentBuiltObject[];
|
|
400
412
|
};
|
|
401
413
|
/**
|
|
402
414
|
* SkillCatalogService edits the agent's skills catalog (ai_agent_skills, scope catalog): agent skills,
|