@streamlayer/sl-eslib 5.120.2 → 5.122.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.120.2",
3
+ "version": "5.122.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
6
+ import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -162,3 +162,15 @@ export const list: {
162
162
  readonly typeName: "streamlayer.interactive.feed.Feed"
163
163
  }
164
164
  };
165
+ /**
166
+ * @generated from rpc streamlayer.interactive.feed.Feed.Item
167
+ */
168
+ export const item: {
169
+ readonly name: "Item",
170
+ readonly I: typeof FeedItemRequest,
171
+ readonly O: typeof FeedItemResponse,
172
+ readonly kind: MethodKind.Unary,
173
+ readonly service: {
174
+ readonly typeName: "streamlayer.interactive.feed.Feed"
175
+ }
176
+ };
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
7
+ import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse } from "./interactive.feed_pb.js";
8
8
 
9
9
  /**
10
10
  * @generated from rpc streamlayer.interactive.feed.Feed.Get
@@ -187,3 +187,17 @@ export const list = {
187
187
  typeName: "streamlayer.interactive.feed.Feed"
188
188
  }
189
189
  };
190
+
191
+ /**
192
+ * @generated from rpc streamlayer.interactive.feed.Feed.Item
193
+ */
194
+ export const item = {
195
+ localName: "item",
196
+ name: "Item",
197
+ kind: MethodKind.Unary,
198
+ I: FeedItemRequest,
199
+ O: FeedItemResponse,
200
+ service: {
201
+ typeName: "streamlayer.interactive.feed.Feed"
202
+ }
203
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
6
+ import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -156,6 +156,15 @@ export declare const Feed: {
156
156
  readonly O: typeof FeedListResponse,
157
157
  readonly kind: MethodKind.Unary,
158
158
  },
159
+ /**
160
+ * @generated from rpc streamlayer.interactive.feed.Feed.Item
161
+ */
162
+ readonly item: {
163
+ readonly name: "Item",
164
+ readonly I: typeof FeedItemRequest,
165
+ readonly O: typeof FeedItemResponse,
166
+ readonly kind: MethodKind.Unary,
167
+ },
159
168
  /**
160
169
  * not implemented!!!
161
170
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
6
+ import { FeedItemRequest, FeedItemResponse, FeedListRequest, FeedListResponse, FeedSubscriptionRequest, FeedSubscriptionResponse, GetQuestionRequest, GetQuestionResponse, GetRequest, GetResponse, InsightHistoryRequest, InsightHistoryResponse, PickHistoryRequest, PickHistoryResponse, PromotionHistoryRequest, PromotionHistoryResponse, QuestionByUserRequest, QuestionByUserResponse, QuestionDetailRequest, QuestionDetailResponse, QuestionSubscriptionRequest, QuestionSubscriptionResponse, SkipQuestionRequest, SkipQuestionResponse, SubmitAnswerRequest, SubmitAnswerResponse, SubmitInplayRequest, SubmitInplayResponse, SubscriptionRequest, SubscriptionResponse, SyncQuestionRequest, SyncQuestionResponse, TweetHistoryRequest, TweetHistoryResponse, VotingSubscriptionRequest, VotingSubscriptionResponse } from "./interactive.feed_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -156,6 +156,15 @@ export const Feed = {
156
156
  O: FeedListResponse,
157
157
  kind: MethodKind.Unary,
158
158
  },
159
+ /**
160
+ * @generated from rpc streamlayer.interactive.feed.Feed.Item
161
+ */
162
+ item: {
163
+ name: "Item",
164
+ I: FeedItemRequest,
165
+ O: FeedItemResponse,
166
+ kind: MethodKind.Unary,
167
+ },
159
168
  /**
160
169
  * not implemented!!!
161
170
  *
@@ -2134,6 +2134,54 @@ export declare class FeedListResponse_FeedListResponseMetadata extends Message<F
2134
2134
  static equals(a: FeedListResponse_FeedListResponseMetadata | PlainMessage<FeedListResponse_FeedListResponseMetadata> | undefined, b: FeedListResponse_FeedListResponseMetadata | PlainMessage<FeedListResponse_FeedListResponseMetadata> | undefined): boolean;
2135
2135
  }
2136
2136
 
2137
+ /**
2138
+ * @generated from message streamlayer.interactive.feed.FeedItemRequest
2139
+ */
2140
+ export declare class FeedItemRequest extends Message<FeedItemRequest> {
2141
+ /**
2142
+ * @generated from field: string id = 1;
2143
+ */
2144
+ id: string;
2145
+
2146
+ constructor(data?: PartialMessage<FeedItemRequest>);
2147
+
2148
+ static readonly runtime: typeof proto3;
2149
+ static readonly typeName = "streamlayer.interactive.feed.FeedItemRequest";
2150
+ static readonly fields: FieldList;
2151
+
2152
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeedItemRequest;
2153
+
2154
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeedItemRequest;
2155
+
2156
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeedItemRequest;
2157
+
2158
+ static equals(a: FeedItemRequest | PlainMessage<FeedItemRequest> | undefined, b: FeedItemRequest | PlainMessage<FeedItemRequest> | undefined): boolean;
2159
+ }
2160
+
2161
+ /**
2162
+ * @generated from message streamlayer.interactive.feed.FeedItemResponse
2163
+ */
2164
+ export declare class FeedItemResponse extends Message<FeedItemResponse> {
2165
+ /**
2166
+ * @generated from field: streamlayer.interactive.feed.FeedItem data = 1;
2167
+ */
2168
+ data?: FeedItem;
2169
+
2170
+ constructor(data?: PartialMessage<FeedItemResponse>);
2171
+
2172
+ static readonly runtime: typeof proto3;
2173
+ static readonly typeName = "streamlayer.interactive.feed.FeedItemResponse";
2174
+ static readonly fields: FieldList;
2175
+
2176
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeedItemResponse;
2177
+
2178
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeedItemResponse;
2179
+
2180
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeedItemResponse;
2181
+
2182
+ static equals(a: FeedItemResponse | PlainMessage<FeedItemResponse> | undefined, b: FeedItemResponse | PlainMessage<FeedItemResponse> | undefined): boolean;
2183
+ }
2184
+
2137
2185
  /**
2138
2186
  * @generated from message streamlayer.interactive.feed.FeedSubscriptionRequest
2139
2187
  */
@@ -808,6 +808,26 @@ export const FeedListResponse_FeedListResponseMetadata = /*@__PURE__*/ proto3.ma
808
808
  {localName: "FeedListResponse_FeedListResponseMetadata"},
809
809
  );
810
810
 
811
+ /**
812
+ * @generated from message streamlayer.interactive.feed.FeedItemRequest
813
+ */
814
+ export const FeedItemRequest = /*@__PURE__*/ proto3.makeMessageType(
815
+ "streamlayer.interactive.feed.FeedItemRequest",
816
+ () => [
817
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
818
+ ],
819
+ );
820
+
821
+ /**
822
+ * @generated from message streamlayer.interactive.feed.FeedItemResponse
823
+ */
824
+ export const FeedItemResponse = /*@__PURE__*/ proto3.makeMessageType(
825
+ "streamlayer.interactive.feed.FeedItemResponse",
826
+ () => [
827
+ { no: 1, name: "data", kind: "message", T: FeedItem },
828
+ ],
829
+ );
830
+
811
831
  /**
812
832
  * @generated from message streamlayer.interactive.feed.FeedSubscriptionRequest
813
833
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
6
+ import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, CreateTriggersRequest, CreateTriggersResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -35,6 +35,18 @@ export const createTrigger: {
35
35
  readonly typeName: "streamlayer.triggers.Triggers"
36
36
  }
37
37
  };
38
+ /**
39
+ * @generated from rpc streamlayer.triggers.Triggers.CreateTriggers
40
+ */
41
+ export const createTriggers: {
42
+ readonly name: "CreateTriggers",
43
+ readonly I: typeof CreateTriggersRequest,
44
+ readonly O: typeof CreateTriggersResponse,
45
+ readonly kind: MethodKind.Unary,
46
+ readonly service: {
47
+ readonly typeName: "streamlayer.triggers.Triggers"
48
+ }
49
+ };
38
50
  /**
39
51
  * updates trigger
40
52
  *
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
7
+ import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, CreateTriggersRequest, CreateTriggersResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
8
8
 
9
9
  /**
10
10
  * returns a list of events along with allowed compare operations, targets etc
@@ -39,6 +39,20 @@ export const createTrigger = {
39
39
  }
40
40
  };
41
41
 
42
+ /**
43
+ * @generated from rpc streamlayer.triggers.Triggers.CreateTriggers
44
+ */
45
+ export const createTriggers = {
46
+ localName: "createTriggers",
47
+ name: "CreateTriggers",
48
+ kind: MethodKind.Unary,
49
+ I: CreateTriggersRequest,
50
+ O: CreateTriggersResponse,
51
+ service: {
52
+ typeName: "streamlayer.triggers.Triggers"
53
+ }
54
+ };
55
+
42
56
  /**
43
57
  * updates trigger
44
58
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
6
+ import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, CreateTriggersRequest, CreateTriggersResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -35,6 +35,15 @@ export declare const Triggers: {
35
35
  readonly O: typeof CreateTriggerResponse,
36
36
  readonly kind: MethodKind.Unary,
37
37
  },
38
+ /**
39
+ * @generated from rpc streamlayer.triggers.Triggers.CreateTriggers
40
+ */
41
+ readonly createTriggers: {
42
+ readonly name: "CreateTriggers",
43
+ readonly I: typeof CreateTriggersRequest,
44
+ readonly O: typeof CreateTriggersResponse,
45
+ readonly kind: MethodKind.Unary,
46
+ },
38
47
  /**
39
48
  * updates trigger
40
49
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
6
+ import { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateTriggerRequest, CreateTriggerResponse, CreateTriggersRequest, CreateTriggersResponse, DeleteTriggerRequest, DeleteTriggerResponse, DisableEntityRequest, DisableEntityResponse, DisableTriggerRequest, DisableTriggerResponse, EnableEntityRequest, EnableEntityResponse, EnableTriggerRequest, EnableTriggerResponse, GetEntityLimitsRequest, GetEntityLimitsResponse, GetEntityRequest, GetEntityResponse, GetMetadataRequest, GetMetadataResponse, GetSportLimitsRequest, GetSportLimitsResponse, GetTriggerRequest, GetTriggerResponse, ListSubscriptionResponse, ListSubscriptionsRequest, ListTriggerResponse, ListTriggersRequest, SetEntityLimitsRequest, SetEntityLimitsResponse, SubscribeRequest, SubscribeResponse, TriggerActivationsRequest, TriggerActivationsResponse, UpdateEntityRequest, UpdateEntityResponse, UpdateTriggerRequest, UpdateTriggerResponse } from "./triggers_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -35,6 +35,15 @@ export const Triggers = {
35
35
  O: CreateTriggerResponse,
36
36
  kind: MethodKind.Unary,
37
37
  },
38
+ /**
39
+ * @generated from rpc streamlayer.triggers.Triggers.CreateTriggers
40
+ */
41
+ createTriggers: {
42
+ name: "CreateTriggers",
43
+ I: CreateTriggersRequest,
44
+ O: CreateTriggersResponse,
45
+ kind: MethodKind.Unary,
46
+ },
38
47
  /**
39
48
  * updates trigger
40
49
  *
@@ -1107,6 +1107,243 @@ export declare class CreateTriggerResponse_Attributes extends Message<CreateTrig
1107
1107
  static equals(a: CreateTriggerResponse_Attributes | PlainMessage<CreateTriggerResponse_Attributes> | undefined, b: CreateTriggerResponse_Attributes | PlainMessage<CreateTriggerResponse_Attributes> | undefined): boolean;
1108
1108
  }
1109
1109
 
1110
+ /**
1111
+ * @generated from message streamlayer.triggers.CreateTriggersRequest
1112
+ */
1113
+ export declare class CreateTriggersRequest extends Message<CreateTriggersRequest> {
1114
+ /**
1115
+ * @generated from field: streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData data = 1;
1116
+ */
1117
+ data?: CreateTriggersRequest_CreateTriggersRequestData;
1118
+
1119
+ /**
1120
+ * required for ModerationSubscriptionResponse
1121
+ *
1122
+ * @generated from field: optional string organization_id = 2;
1123
+ */
1124
+ organizationId?: string;
1125
+
1126
+ /**
1127
+ * required for ModerationSubscriptionResponse
1128
+ *
1129
+ * @generated from field: optional string event_id = 3;
1130
+ */
1131
+ eventId?: string;
1132
+
1133
+ constructor(data?: PartialMessage<CreateTriggersRequest>);
1134
+
1135
+ static readonly runtime: typeof proto3;
1136
+ static readonly typeName = "streamlayer.triggers.CreateTriggersRequest";
1137
+ static readonly fields: FieldList;
1138
+
1139
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersRequest;
1140
+
1141
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersRequest;
1142
+
1143
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersRequest;
1144
+
1145
+ static equals(a: CreateTriggersRequest | PlainMessage<CreateTriggersRequest> | undefined, b: CreateTriggersRequest | PlainMessage<CreateTriggersRequest> | undefined): boolean;
1146
+ }
1147
+
1148
+ /**
1149
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.UniqTriggerData
1150
+ */
1151
+ export declare class CreateTriggersRequest_UniqTriggerData extends Message<CreateTriggersRequest_UniqTriggerData> {
1152
+ /**
1153
+ * @generated from field: string name = 1;
1154
+ */
1155
+ name: string;
1156
+
1157
+ /**
1158
+ * @generated from field: string description = 2;
1159
+ */
1160
+ description: string;
1161
+
1162
+ /**
1163
+ * should be set to true if trigger is created as disabled
1164
+ *
1165
+ * @generated from field: bool disabled = 3;
1166
+ */
1167
+ disabled: boolean;
1168
+
1169
+ /**
1170
+ * @generated from field: int32 threshold = 4;
1171
+ */
1172
+ threshold: number;
1173
+
1174
+ /**
1175
+ * should be set to true if trigger is created in disabled entity
1176
+ *
1177
+ * @generated from field: bool disabled_entity = 5;
1178
+ */
1179
+ disabledEntity: boolean;
1180
+
1181
+ /**
1182
+ * @generated from field: bool use_entity_limits = 6;
1183
+ */
1184
+ useEntityLimits: boolean;
1185
+
1186
+ /**
1187
+ * @generated from field: streamlayer.triggers.UseConditionThreshold use_condition_threshold = 7;
1188
+ */
1189
+ useConditionThreshold: UseConditionThreshold;
1190
+
1191
+ /**
1192
+ * @generated from field: streamlayer.triggers.UseTriggerLimits use_limits = 8;
1193
+ */
1194
+ useLimits: UseTriggerLimits;
1195
+
1196
+ constructor(data?: PartialMessage<CreateTriggersRequest_UniqTriggerData>);
1197
+
1198
+ static readonly runtime: typeof proto3;
1199
+ static readonly typeName = "streamlayer.triggers.CreateTriggersRequest.UniqTriggerData";
1200
+ static readonly fields: FieldList;
1201
+
1202
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersRequest_UniqTriggerData;
1203
+
1204
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersRequest_UniqTriggerData;
1205
+
1206
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersRequest_UniqTriggerData;
1207
+
1208
+ static equals(a: CreateTriggersRequest_UniqTriggerData | PlainMessage<CreateTriggersRequest_UniqTriggerData> | undefined, b: CreateTriggersRequest_UniqTriggerData | PlainMessage<CreateTriggersRequest_UniqTriggerData> | undefined): boolean;
1209
+ }
1210
+
1211
+ /**
1212
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.Trigger
1213
+ */
1214
+ export declare class CreateTriggersRequest_Trigger extends Message<CreateTriggersRequest_Trigger> {
1215
+ /**
1216
+ * @generated from field: streamlayer.triggers.CreateTriggersRequest.UniqTriggerData trigger = 1;
1217
+ */
1218
+ trigger?: CreateTriggersRequest_UniqTriggerData;
1219
+
1220
+ /**
1221
+ * @generated from field: repeated streamlayer.triggers.EssentialConditionData conditions = 2;
1222
+ */
1223
+ conditions: EssentialConditionData[];
1224
+
1225
+ /**
1226
+ * @generated from field: map<string, int32> limits = 3;
1227
+ */
1228
+ limits: { [key: string]: number };
1229
+
1230
+ constructor(data?: PartialMessage<CreateTriggersRequest_Trigger>);
1231
+
1232
+ static readonly runtime: typeof proto3;
1233
+ static readonly typeName = "streamlayer.triggers.CreateTriggersRequest.Trigger";
1234
+ static readonly fields: FieldList;
1235
+
1236
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersRequest_Trigger;
1237
+
1238
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersRequest_Trigger;
1239
+
1240
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersRequest_Trigger;
1241
+
1242
+ static equals(a: CreateTriggersRequest_Trigger | PlainMessage<CreateTriggersRequest_Trigger> | undefined, b: CreateTriggersRequest_Trigger | PlainMessage<CreateTriggersRequest_Trigger> | undefined): boolean;
1243
+ }
1244
+
1245
+ /**
1246
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData
1247
+ */
1248
+ export declare class CreateTriggersRequest_CreateTriggersRequestData extends Message<CreateTriggersRequest_CreateTriggersRequestData> {
1249
+ /**
1250
+ * @generated from field: string datasource = 3;
1251
+ */
1252
+ datasource: string;
1253
+
1254
+ /**
1255
+ * @generated from field: string scope = 4;
1256
+ */
1257
+ scope: string;
1258
+
1259
+ /**
1260
+ * @generated from field: string scope_id = 5;
1261
+ */
1262
+ scopeId: string;
1263
+
1264
+ /**
1265
+ * @generated from field: string entity = 6;
1266
+ */
1267
+ entity: string;
1268
+
1269
+ /**
1270
+ * @generated from field: string entity_id = 7;
1271
+ */
1272
+ entityId: string;
1273
+
1274
+ /**
1275
+ * @generated from field: repeated streamlayer.triggers.CreateTriggersRequest.Trigger triggers = 8;
1276
+ */
1277
+ triggers: CreateTriggersRequest_Trigger[];
1278
+
1279
+ constructor(data?: PartialMessage<CreateTriggersRequest_CreateTriggersRequestData>);
1280
+
1281
+ static readonly runtime: typeof proto3;
1282
+ static readonly typeName = "streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData";
1283
+ static readonly fields: FieldList;
1284
+
1285
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersRequest_CreateTriggersRequestData;
1286
+
1287
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersRequest_CreateTriggersRequestData;
1288
+
1289
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersRequest_CreateTriggersRequestData;
1290
+
1291
+ static equals(a: CreateTriggersRequest_CreateTriggersRequestData | PlainMessage<CreateTriggersRequest_CreateTriggersRequestData> | undefined, b: CreateTriggersRequest_CreateTriggersRequestData | PlainMessage<CreateTriggersRequest_CreateTriggersRequestData> | undefined): boolean;
1292
+ }
1293
+
1294
+ /**
1295
+ * @generated from message streamlayer.triggers.CreateTriggersResponse
1296
+ */
1297
+ export declare class CreateTriggersResponse extends Message<CreateTriggersResponse> {
1298
+ /**
1299
+ * @generated from field: repeated streamlayer.triggers.CreateTriggersResponse.Attributes data = 1;
1300
+ */
1301
+ data: CreateTriggersResponse_Attributes[];
1302
+
1303
+ constructor(data?: PartialMessage<CreateTriggersResponse>);
1304
+
1305
+ static readonly runtime: typeof proto3;
1306
+ static readonly typeName = "streamlayer.triggers.CreateTriggersResponse";
1307
+ static readonly fields: FieldList;
1308
+
1309
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersResponse;
1310
+
1311
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersResponse;
1312
+
1313
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersResponse;
1314
+
1315
+ static equals(a: CreateTriggersResponse | PlainMessage<CreateTriggersResponse> | undefined, b: CreateTriggersResponse | PlainMessage<CreateTriggersResponse> | undefined): boolean;
1316
+ }
1317
+
1318
+ /**
1319
+ * @generated from message streamlayer.triggers.CreateTriggersResponse.Attributes
1320
+ */
1321
+ export declare class CreateTriggersResponse_Attributes extends Message<CreateTriggersResponse_Attributes> {
1322
+ /**
1323
+ * @generated from field: string id = 1;
1324
+ */
1325
+ id: string;
1326
+
1327
+ /**
1328
+ * @generated from field: string type = 2;
1329
+ */
1330
+ type: string;
1331
+
1332
+ constructor(data?: PartialMessage<CreateTriggersResponse_Attributes>);
1333
+
1334
+ static readonly runtime: typeof proto3;
1335
+ static readonly typeName = "streamlayer.triggers.CreateTriggersResponse.Attributes";
1336
+ static readonly fields: FieldList;
1337
+
1338
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTriggersResponse_Attributes;
1339
+
1340
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTriggersResponse_Attributes;
1341
+
1342
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTriggersResponse_Attributes;
1343
+
1344
+ static equals(a: CreateTriggersResponse_Attributes | PlainMessage<CreateTriggersResponse_Attributes> | undefined, b: CreateTriggersResponse_Attributes | PlainMessage<CreateTriggersResponse_Attributes> | undefined): boolean;
1345
+ }
1346
+
1110
1347
  /**
1111
1348
  * @generated from message streamlayer.triggers.UpdateTriggerRequest
1112
1349
  */
@@ -341,6 +341,87 @@ export const CreateTriggerResponse_Attributes = /*@__PURE__*/ proto3.makeMessage
341
341
  {localName: "CreateTriggerResponse_Attributes"},
342
342
  );
343
343
 
344
+ /**
345
+ * @generated from message streamlayer.triggers.CreateTriggersRequest
346
+ */
347
+ export const CreateTriggersRequest = /*@__PURE__*/ proto3.makeMessageType(
348
+ "streamlayer.triggers.CreateTriggersRequest",
349
+ () => [
350
+ { no: 1, name: "data", kind: "message", T: CreateTriggersRequest_CreateTriggersRequestData },
351
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
352
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
353
+ ],
354
+ );
355
+
356
+ /**
357
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.UniqTriggerData
358
+ */
359
+ export const CreateTriggersRequest_UniqTriggerData = /*@__PURE__*/ proto3.makeMessageType(
360
+ "streamlayer.triggers.CreateTriggersRequest.UniqTriggerData",
361
+ () => [
362
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
363
+ { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
364
+ { no: 3, name: "disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
365
+ { no: 4, name: "threshold", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
366
+ { no: 5, name: "disabled_entity", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
367
+ { no: 6, name: "use_entity_limits", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
368
+ { no: 7, name: "use_condition_threshold", kind: "enum", T: proto3.getEnumType(UseConditionThreshold) },
369
+ { no: 8, name: "use_limits", kind: "enum", T: proto3.getEnumType(UseTriggerLimits) },
370
+ ],
371
+ {localName: "CreateTriggersRequest_UniqTriggerData"},
372
+ );
373
+
374
+ /**
375
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.Trigger
376
+ */
377
+ export const CreateTriggersRequest_Trigger = /*@__PURE__*/ proto3.makeMessageType(
378
+ "streamlayer.triggers.CreateTriggersRequest.Trigger",
379
+ () => [
380
+ { no: 1, name: "trigger", kind: "message", T: CreateTriggersRequest_UniqTriggerData },
381
+ { no: 2, name: "conditions", kind: "message", T: EssentialConditionData, repeated: true },
382
+ { no: 3, name: "limits", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} },
383
+ ],
384
+ {localName: "CreateTriggersRequest_Trigger"},
385
+ );
386
+
387
+ /**
388
+ * @generated from message streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData
389
+ */
390
+ export const CreateTriggersRequest_CreateTriggersRequestData = /*@__PURE__*/ proto3.makeMessageType(
391
+ "streamlayer.triggers.CreateTriggersRequest.CreateTriggersRequestData",
392
+ () => [
393
+ { no: 3, name: "datasource", kind: "scalar", T: 9 /* ScalarType.STRING */ },
394
+ { no: 4, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
395
+ { no: 5, name: "scope_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
396
+ { no: 6, name: "entity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 7, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
+ { no: 8, name: "triggers", kind: "message", T: CreateTriggersRequest_Trigger, repeated: true },
399
+ ],
400
+ {localName: "CreateTriggersRequest_CreateTriggersRequestData"},
401
+ );
402
+
403
+ /**
404
+ * @generated from message streamlayer.triggers.CreateTriggersResponse
405
+ */
406
+ export const CreateTriggersResponse = /*@__PURE__*/ proto3.makeMessageType(
407
+ "streamlayer.triggers.CreateTriggersResponse",
408
+ () => [
409
+ { no: 1, name: "data", kind: "message", T: CreateTriggersResponse_Attributes, repeated: true },
410
+ ],
411
+ );
412
+
413
+ /**
414
+ * @generated from message streamlayer.triggers.CreateTriggersResponse.Attributes
415
+ */
416
+ export const CreateTriggersResponse_Attributes = /*@__PURE__*/ proto3.makeMessageType(
417
+ "streamlayer.triggers.CreateTriggersResponse.Attributes",
418
+ () => [
419
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
420
+ { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
421
+ ],
422
+ {localName: "CreateTriggersResponse_Attributes"},
423
+ );
424
+
344
425
  /**
345
426
  * @generated from message streamlayer.triggers.UpdateTriggerRequest
346
427
  */