@pushwoosh/rpc-gateway-ai-assistant 0.1.621 → 0.1.623
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 +27 -0
- package/package.json +1 -1
- package/pushwoosh_uds_onyx_v1.d.ts +17 -0
package/data.js
CHANGED
|
@@ -5603,6 +5603,30 @@ export const data = {
|
|
|
5603
5603
|
"actions": {
|
|
5604
5604
|
"type": "pushwoosh.uds.onyx.v1.CardAction",
|
|
5605
5605
|
"array": true
|
|
5606
|
+
},
|
|
5607
|
+
"objects": {
|
|
5608
|
+
"type": "pushwoosh.uds.onyx.v1.CardObject",
|
|
5609
|
+
"array": true
|
|
5610
|
+
}
|
|
5611
|
+
}
|
|
5612
|
+
},
|
|
5613
|
+
"pushwoosh.uds.onyx.v1.CardObject": {
|
|
5614
|
+
"type": "I",
|
|
5615
|
+
"fields": {
|
|
5616
|
+
"type": {
|
|
5617
|
+
"type": "string"
|
|
5618
|
+
},
|
|
5619
|
+
"code": {
|
|
5620
|
+
"type": "string"
|
|
5621
|
+
},
|
|
5622
|
+
"role": {
|
|
5623
|
+
"type": "string"
|
|
5624
|
+
},
|
|
5625
|
+
"state": {
|
|
5626
|
+
"type": "string"
|
|
5627
|
+
},
|
|
5628
|
+
"url": {
|
|
5629
|
+
"type": "string"
|
|
5606
5630
|
}
|
|
5607
5631
|
}
|
|
5608
5632
|
},
|
|
@@ -6014,6 +6038,9 @@ export const data = {
|
|
|
6014
6038
|
},
|
|
6015
6039
|
"message": {
|
|
6016
6040
|
"type": "pushwoosh.accounts.assistant.v1.Message"
|
|
6041
|
+
},
|
|
6042
|
+
"sourceChat": {
|
|
6043
|
+
"type": "pushwoosh.uds.onyx.v1.SourceChat"
|
|
6017
6044
|
}
|
|
6018
6045
|
},
|
|
6019
6046
|
"oneofs": {
|
package/package.json
CHANGED
|
@@ -60,6 +60,21 @@ export type CardView = {
|
|
|
60
60
|
error: string;
|
|
61
61
|
result: CardResult;
|
|
62
62
|
actions: CardAction[];
|
|
63
|
+
/** What the card's build created, each linked to its page in the panel. */
|
|
64
|
+
objects: CardObject[];
|
|
65
|
+
};
|
|
66
|
+
/** A platform object a card built (ai_agent_card_objects). */
|
|
67
|
+
export type CardObject = {
|
|
68
|
+
/** journey | filter | preset (push) | sms_preset | email_template | control_group | tag | event | other */
|
|
69
|
+
type: string;
|
|
70
|
+
/** The object's code; a journey's uuid, an event's or a tag's name. */
|
|
71
|
+
code: string;
|
|
72
|
+
/** audience | message | holdout | measure | other */
|
|
73
|
+
role: string;
|
|
74
|
+
/** created | running | stopped | deleted */
|
|
75
|
+
state: string;
|
|
76
|
+
/** The object's page, relative to the panel's origin; empty when its type has none. */
|
|
77
|
+
url: string;
|
|
63
78
|
};
|
|
64
79
|
/** The card this one is a new version of. */
|
|
65
80
|
export type CardParent = {
|
|
@@ -242,6 +257,8 @@ export type TimelineItem_item_message = {
|
|
|
242
257
|
export type TimelineItem_item = TimelineItem_item_event | TimelineItem_item_message;
|
|
243
258
|
export type TimelineItem = {
|
|
244
259
|
at: Date;
|
|
260
|
+
/** A message forwarded from another chat of the application (the assistant's send_to_card): that chat. */
|
|
261
|
+
sourceChat: SourceChat;
|
|
245
262
|
item: TimelineItem_item;
|
|
246
263
|
};
|
|
247
264
|
/** CardEvent is one row of the card's history, the only record of its moves. */
|