@streamlayer/sl-eslib 5.120.1 → 5.120.2

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.1",
3
+ "version": "5.120.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1026,9 +1026,18 @@ export declare class CreateTriggerRequest extends Message<CreateTriggerRequest>
1026
1026
  limits: { [key: string]: number };
1027
1027
 
1028
1028
  /**
1029
- * @generated from field: string organization_id = 4;
1029
+ * required for ModerationSubscriptionResponse
1030
+ *
1031
+ * @generated from field: optional string organization_id = 4;
1032
+ */
1033
+ organizationId?: string;
1034
+
1035
+ /**
1036
+ * required for ModerationSubscriptionResponse
1037
+ *
1038
+ * @generated from field: optional string event_id = 5;
1030
1039
  */
1031
- organizationId: string;
1040
+ eventId?: string;
1032
1041
 
1033
1042
  constructor(data?: PartialMessage<CreateTriggerRequest>);
1034
1043
 
@@ -1108,9 +1117,18 @@ export declare class UpdateTriggerRequest extends Message<UpdateTriggerRequest>
1108
1117
  updates: UpdateTriggerRequest_Update[];
1109
1118
 
1110
1119
  /**
1111
- * @generated from field: string organization_id = 2;
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;
1112
1130
  */
1113
- organizationId: string;
1131
+ eventId?: string;
1114
1132
 
1115
1133
  constructor(data?: PartialMessage<UpdateTriggerRequest>);
1116
1134
 
@@ -1190,9 +1208,18 @@ export declare class EnableTriggerRequest extends Message<EnableTriggerRequest>
1190
1208
  id: string;
1191
1209
 
1192
1210
  /**
1193
- * @generated from field: string organization_id = 2;
1211
+ * required for ModerationSubscriptionResponse
1212
+ *
1213
+ * @generated from field: optional string organization_id = 2;
1194
1214
  */
1195
- organizationId: string;
1215
+ organizationId?: string;
1216
+
1217
+ /**
1218
+ * required for ModerationSubscriptionResponse
1219
+ *
1220
+ * @generated from field: optional string event_id = 3;
1221
+ */
1222
+ eventId?: string;
1196
1223
 
1197
1224
  constructor(data?: PartialMessage<EnableTriggerRequest>);
1198
1225
 
@@ -1238,9 +1265,18 @@ export declare class DisableTriggerRequest extends Message<DisableTriggerRequest
1238
1265
  id: string;
1239
1266
 
1240
1267
  /**
1241
- * @generated from field: string organization_id = 2;
1268
+ * required for ModerationSubscriptionResponse
1269
+ *
1270
+ * @generated from field: optional string organization_id = 2;
1242
1271
  */
1243
- organizationId: string;
1272
+ organizationId?: string;
1273
+
1274
+ /**
1275
+ * required for ModerationSubscriptionResponse
1276
+ *
1277
+ * @generated from field: optional string event_id = 3;
1278
+ */
1279
+ eventId?: string;
1244
1280
 
1245
1281
  constructor(data?: PartialMessage<DisableTriggerRequest>);
1246
1282
 
@@ -1286,9 +1322,18 @@ export declare class DeleteTriggerRequest extends Message<DeleteTriggerRequest>
1286
1322
  id: string;
1287
1323
 
1288
1324
  /**
1289
- * @generated from field: string organization_id = 2;
1325
+ * required for ModerationSubscriptionResponse
1326
+ *
1327
+ * @generated from field: optional string organization_id = 2;
1290
1328
  */
1291
- organizationId: string;
1329
+ organizationId?: string;
1330
+
1331
+ /**
1332
+ * required for ModerationSubscriptionResponse
1333
+ *
1334
+ * @generated from field: optional string event_id = 3;
1335
+ */
1336
+ eventId?: string;
1292
1337
 
1293
1338
  constructor(data?: PartialMessage<DeleteTriggerRequest>);
1294
1339
 
@@ -1975,9 +2020,18 @@ export declare class UpdateEntityRequest extends Message<UpdateEntityRequest> {
1975
2020
  data: Entity[];
1976
2021
 
1977
2022
  /**
1978
- * @generated from field: string organization_id = 2;
2023
+ * required for ModerationSubscriptionResponse
2024
+ *
2025
+ * @generated from field: optional string organization_id = 2;
1979
2026
  */
1980
- organizationId: string;
2027
+ organizationId?: string;
2028
+
2029
+ /**
2030
+ * required for ModerationSubscriptionResponse
2031
+ *
2032
+ * @generated from field: optional string event_id = 3;
2033
+ */
2034
+ eventId?: string;
1981
2035
 
1982
2036
  constructor(data?: PartialMessage<UpdateEntityRequest>);
1983
2037
 
@@ -2076,9 +2130,18 @@ export declare class EnableEntityRequest extends Message<EnableEntityRequest> {
2076
2130
  entities: EnableEntityRequest_Data[];
2077
2131
 
2078
2132
  /**
2079
- * @generated from field: string organization_id = 2;
2133
+ * required for ModerationSubscriptionResponse
2134
+ *
2135
+ * @generated from field: optional string organization_id = 2;
2136
+ */
2137
+ organizationId?: string;
2138
+
2139
+ /**
2140
+ * required for ModerationSubscriptionResponse
2141
+ *
2142
+ * @generated from field: optional string event_id = 3;
2080
2143
  */
2081
- organizationId: string;
2144
+ eventId?: string;
2082
2145
 
2083
2146
  constructor(data?: PartialMessage<EnableEntityRequest>);
2084
2147
 
@@ -2153,9 +2216,18 @@ export declare class DisableEntityRequest extends Message<DisableEntityRequest>
2153
2216
  entities: DisableEntityRequest_Data[];
2154
2217
 
2155
2218
  /**
2156
- * @generated from field: string organization_id = 2;
2219
+ * required for ModerationSubscriptionResponse
2220
+ *
2221
+ * @generated from field: optional string organization_id = 2;
2222
+ */
2223
+ organizationId?: string;
2224
+
2225
+ /**
2226
+ * required for ModerationSubscriptionResponse
2227
+ *
2228
+ * @generated from field: optional string event_id = 3;
2157
2229
  */
2158
- organizationId: string;
2230
+ eventId?: string;
2159
2231
 
2160
2232
  constructor(data?: PartialMessage<DisableEntityRequest>);
2161
2233
 
@@ -2293,9 +2365,18 @@ export declare class SetEntityLimitsRequest extends Message<SetEntityLimitsReque
2293
2365
  enabled: boolean;
2294
2366
 
2295
2367
  /**
2296
- * @generated from field: string organization_id = 5;
2368
+ * required for ModerationSubscriptionResponse
2369
+ *
2370
+ * @generated from field: optional string organization_id = 5;
2371
+ */
2372
+ organizationId?: string;
2373
+
2374
+ /**
2375
+ * required for ModerationSubscriptionResponse
2376
+ *
2377
+ * @generated from field: optional string event_id = 6;
2297
2378
  */
2298
- organizationId: string;
2379
+ eventId?: string;
2299
2380
 
2300
2381
  constructor(data?: PartialMessage<SetEntityLimitsRequest>);
2301
2382
 
@@ -314,7 +314,8 @@ export const CreateTriggerRequest = /*@__PURE__*/ proto3.makeMessageType(
314
314
  { no: 1, name: "trigger", kind: "message", T: EssentialTriggerData },
315
315
  { no: 2, name: "conditions", kind: "message", T: EssentialConditionData, repeated: true },
316
316
  { no: 3, name: "limits", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} },
317
- { no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
+ { no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
318
+ { no: 5, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
318
319
  ],
319
320
  );
320
321
 
@@ -347,7 +348,8 @@ export const UpdateTriggerRequest = /*@__PURE__*/ proto3.makeMessageType(
347
348
  "streamlayer.triggers.UpdateTriggerRequest",
348
349
  () => [
349
350
  { no: 1, name: "updates", kind: "message", T: UpdateTriggerRequest_Update, repeated: true },
350
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
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 },
351
353
  ],
352
354
  );
353
355
 
@@ -379,7 +381,8 @@ export const EnableTriggerRequest = /*@__PURE__*/ proto3.makeMessageType(
379
381
  "streamlayer.triggers.EnableTriggerRequest",
380
382
  () => [
381
383
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
382
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
384
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
385
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
383
386
  ],
384
387
  );
385
388
 
@@ -398,7 +401,8 @@ export const DisableTriggerRequest = /*@__PURE__*/ proto3.makeMessageType(
398
401
  "streamlayer.triggers.DisableTriggerRequest",
399
402
  () => [
400
403
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
401
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
405
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
402
406
  ],
403
407
  );
404
408
 
@@ -417,7 +421,8 @@ export const DeleteTriggerRequest = /*@__PURE__*/ proto3.makeMessageType(
417
421
  "streamlayer.triggers.DeleteTriggerRequest",
418
422
  () => [
419
423
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
420
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
424
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
425
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
421
426
  ],
422
427
  );
423
428
 
@@ -677,7 +682,8 @@ export const UpdateEntityRequest = /*@__PURE__*/ proto3.makeMessageType(
677
682
  "streamlayer.triggers.UpdateEntityRequest",
678
683
  () => [
679
684
  { no: 1, name: "data", kind: "message", T: Entity, repeated: true },
680
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
685
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
686
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
681
687
  ],
682
688
  );
683
689
 
@@ -717,7 +723,8 @@ export const EnableEntityRequest = /*@__PURE__*/ proto3.makeMessageType(
717
723
  "streamlayer.triggers.EnableEntityRequest",
718
724
  () => [
719
725
  { no: 1, name: "entities", kind: "message", T: EnableEntityRequest_Data, repeated: true },
720
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
726
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
727
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
721
728
  ],
722
729
  );
723
730
 
@@ -748,7 +755,8 @@ export const DisableEntityRequest = /*@__PURE__*/ proto3.makeMessageType(
748
755
  "streamlayer.triggers.DisableEntityRequest",
749
756
  () => [
750
757
  { no: 1, name: "entities", kind: "message", T: DisableEntityRequest_Data, repeated: true },
751
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
758
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
759
+ { no: 3, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
752
760
  ],
753
761
  );
754
762
 
@@ -802,7 +810,8 @@ export const SetEntityLimitsRequest = /*@__PURE__*/ proto3.makeMessageType(
802
810
  { no: 2, name: "entity_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
803
811
  { no: 3, name: "limits", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 5 /* ScalarType.INT32 */} },
804
812
  { no: 4, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
805
- { no: 5, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
813
+ { no: 5, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
814
+ { no: 6, name: "event_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
806
815
  ],
807
816
  );
808
817