@streamlayer/sl-eslib 5.271.0 → 5.271.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.271.0",
3
+ "version": "5.271.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -4,7 +4,7 @@
4
4
 
5
5
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
6
  import type { Message } from "@bufbuild/protobuf";
7
- import type { TriggerWithConditions } from "./triggers_pb.js";
7
+ import type { CreateTriggerRequest, UpdateTriggerRequest } from "./triggers_pb.js";
8
8
 
9
9
  /**
10
10
  * Describes the file streamlayer/triggers/assistant.proto.
@@ -108,11 +108,25 @@ export declare type ChatResponse = Message<"streamlayer.triggers.ChatResponse">
108
108
  message: string;
109
109
 
110
110
  /**
111
- * present only when status = CHAT_STATUS_READY
111
+ * present only when status = CHAT_STATUS_READY. Create- or update-shaped so Studio
112
+ * submits it directly: create uses EssentialTriggerData (which carries datasource);
113
+ * update targets an existing trigger by id.
112
114
  *
113
- * @generated from field: optional streamlayer.triggers.TriggerWithConditions payload = 4;
114
- */
115
- payload?: TriggerWithConditions;
115
+ * @generated from oneof streamlayer.triggers.ChatResponse.payload
116
+ */
117
+ payload: {
118
+ /**
119
+ * @generated from field: streamlayer.triggers.CreateTriggerRequest create = 5;
120
+ */
121
+ value: CreateTriggerRequest;
122
+ case: "create";
123
+ } | {
124
+ /**
125
+ * @generated from field: streamlayer.triggers.UpdateTriggerRequest update = 6;
126
+ */
127
+ value: UpdateTriggerRequest;
128
+ case: "update";
129
+ } | { case: undefined; value?: undefined };
116
130
  };
117
131
 
118
132
  /**
@@ -10,7 +10,7 @@ import { file_streamlayer_triggers_triggers } from "./triggers_pb.js";
10
10
  * Describes the file streamlayer/triggers/assistant.proto.
11
11
  */
12
12
  export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bGF5ZXIudHJpZ2dlcnMuVXBkYXRlVHJpZ2dlclJlcXVlc3RIAEIJCgdwYXlsb2FkSgQIBBAFKnwKCkNoYXRTdGF0dXMSFQoRQ0hBVF9TVEFUVVNfVU5TRVQQABIVChFDSEFUX1NUQVRVU19SRUFEWRABEiMKH0NIQVRfU1RBVFVTX05FRURTX0NMQVJJRklDQVRJT04QAhIbChdDSEFUX1NUQVRVU19VTlNVUFBPUlRFRBADMowBChFUcmlnZ2Vyc0Fzc2lzdGFudBJfCgRDaGF0EiEuc3RyZWFtbGF5ZXIudHJpZ2dlcnMuQ2hhdFJlcXVlc3QaIi5zdHJlYW1sYXllci50cmlnZ2Vycy5DaGF0UmVzcG9uc2UiEIqmHQRjaGF0oKYdAqimHQEaFoq1GBJ0cmlnZ2Vycy5hc3Npc3RhbnRChgEKGGNvbS5zdHJlYW1sYXllci50cmlnZ2Vyc0IhU3RyZWFtTGF5ZXJUcmlnZ2Vyc0Fzc2lzdGFudFByb3RvUAFaPGdpdGh1Yi5jb20vc3RyZWFtbGF5ZXIvc2wtcHJvdG9maWxlcy92NC90cmlnZ2VycztzbF90cmlnZ2Vyc6ICBlNMX0FQSWIGcHJvdG8z", [file_streamlayer_common_streamlayer_common, file_streamlayer_triggers_triggers]);
14
14
 
15
15
  /**
16
16
  * Describes the message streamlayer.triggers.ChatMeta.