@streamlayer/sl-eslib 5.118.1 → 5.120.0

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.118.1",
3
+ "version": "5.120.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
- import type { BypassNotifications, Pagination, Question, QuestionStats, QuestionStatus, QuestionType, ServerNotificationOptions, Sort } from "../interactive.common_pb.js";
8
+ import type { BypassNotifications, Pagination, Question, QuestionPosition, QuestionStats, QuestionStatus, QuestionType, ServerNotificationOptions, Sort } from "../interactive.common_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from message streamlayer.interactive.question.CreateRequest
@@ -616,6 +616,11 @@ export declare class SetStatusRequest extends Message<SetStatusRequest> {
616
616
  */
617
617
  serverNotification?: ServerNotificationOptions;
618
618
 
619
+ /**
620
+ * @generated from field: optional streamlayer.interactive.QuestionPosition position = 5;
621
+ */
622
+ position?: QuestionPosition;
623
+
619
624
  constructor(data?: PartialMessage<SetStatusRequest>);
620
625
 
621
626
  static readonly runtime: typeof proto3;
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { proto3, Timestamp } from "@bufbuild/protobuf";
7
- import { BypassNotifications, Pagination, Question, QuestionStats, QuestionStatus, QuestionType, ServerNotificationOptions, Sort } from "../interactive.common_pb.js";
7
+ import { BypassNotifications, Pagination, Question, QuestionPosition, QuestionStats, QuestionStatus, QuestionType, ServerNotificationOptions, Sort } from "../interactive.common_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from message streamlayer.interactive.question.CreateRequest
@@ -219,6 +219,7 @@ export const SetStatusRequest = /*@__PURE__*/ proto3.makeMessageType(
219
219
  { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(QuestionStatus) },
220
220
  { no: 3, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
221
221
  { no: 4, name: "server_notification", kind: "message", T: ServerNotificationOptions },
222
+ { no: 5, name: "position", kind: "enum", T: proto3.getEnumType(QuestionPosition), opt: true },
222
223
  ],
223
224
  );
224
225
 
@@ -6,6 +6,7 @@
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
  import type { BypassNotifications, EventModeration, Question, QuestionStatus, QuestionTimeline, QuestionType, ServerNotificationOptions } from "../interactive.common_pb.js";
9
+ import type { Trigger } from "../../triggers/triggers_pb.js";
9
10
 
10
11
  /**
11
12
  * @generated from enum streamlayer.interactive.studio.UpdateType
@@ -140,6 +141,21 @@ export declare enum UpdateType {
140
141
  * @generated from enum value: UPDATE_TYPE_QUESTION_REACTIVATED = 25;
141
142
  */
142
143
  QUESTION_REACTIVATED = 25,
144
+
145
+ /**
146
+ * @generated from enum value: UPDATE_TYPE_TRIGGER_CREATE = 26;
147
+ */
148
+ TRIGGER_CREATE = 26,
149
+
150
+ /**
151
+ * @generated from enum value: UPDATE_TYPE_TRIGGER_UPDATE = 27;
152
+ */
153
+ TRIGGER_UPDATE = 27,
154
+
155
+ /**
156
+ * @generated from enum value: UPDATE_TYPE_TRIGGER_DELETE = 28;
157
+ */
158
+ TRIGGER_DELETE = 28,
143
159
  }
144
160
 
145
161
  /**
@@ -278,6 +294,11 @@ export declare class ModerationSubscriptionAttributes extends Message<Moderation
278
294
  */
279
295
  questions: Question[];
280
296
 
297
+ /**
298
+ * @generated from field: repeated streamlayer.triggers.Trigger triggers = 4;
299
+ */
300
+ triggers: Trigger[];
301
+
281
302
  constructor(data?: PartialMessage<ModerationSubscriptionAttributes>);
282
303
 
283
304
  static readonly runtime: typeof proto3;
@@ -5,6 +5,7 @@
5
5
 
6
6
  import { proto3, Timestamp } from "@bufbuild/protobuf";
7
7
  import { BypassNotifications, EventModeration, Question, QuestionStatus, QuestionTimeline, QuestionType, ServerNotificationOptions } from "../interactive.common_pb.js";
8
+ import { Trigger } from "../../triggers/triggers_pb.js";
8
9
 
9
10
  /**
10
11
  * @generated from enum streamlayer.interactive.studio.UpdateType
@@ -38,6 +39,9 @@ export const UpdateType = /*@__PURE__*/ proto3.makeEnum(
38
39
  {no: 23, name: "UPDATE_TYPE_QUESTION_AI_FAILED", localName: "QUESTION_AI_FAILED"},
39
40
  {no: 24, name: "UPDATE_TYPE_QUESTION_AI_REGENERATED", localName: "QUESTION_AI_REGENERATED"},
40
41
  {no: 25, name: "UPDATE_TYPE_QUESTION_REACTIVATED", localName: "QUESTION_REACTIVATED"},
42
+ {no: 26, name: "UPDATE_TYPE_TRIGGER_CREATE", localName: "TRIGGER_CREATE"},
43
+ {no: 27, name: "UPDATE_TYPE_TRIGGER_UPDATE", localName: "TRIGGER_UPDATE"},
44
+ {no: 28, name: "UPDATE_TYPE_TRIGGER_DELETE", localName: "TRIGGER_DELETE"},
41
45
  ],
42
46
  );
43
47
 
@@ -107,6 +111,7 @@ export const ModerationSubscriptionAttributes = /*@__PURE__*/ proto3.makeMessage
107
111
  { no: 1, name: "moderation", kind: "message", T: EventModeration },
108
112
  { no: 2, name: "question", kind: "message", T: Question },
109
113
  { no: 3, name: "questions", kind: "message", T: Question, repeated: true },
114
+ { no: 4, name: "triggers", kind: "message", T: Trigger, repeated: true },
110
115
  ],
111
116
  );
112
117