@streamlayer/sl-eslib 5.139.3 → 5.140.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.139.3",
3
+ "version": "5.140.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,6 +30,18 @@ export const getWebhook: {
30
30
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
31
31
  }
32
32
  };
33
+ /**
34
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
35
+ */
36
+ export const deleteWebhook: {
37
+ readonly name: "DeleteWebhook",
38
+ readonly I: typeof GetWebhookRequest,
39
+ readonly O: typeof GetWebhookResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ readonly service: {
42
+ readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
43
+ }
44
+ };
33
45
  /**
34
46
  * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
35
47
  */
@@ -34,6 +34,20 @@ export const getWebhook = {
34
34
  }
35
35
  };
36
36
 
37
+ /**
38
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
39
+ */
40
+ export const deleteWebhook = {
41
+ localName: "deleteWebhook",
42
+ name: "DeleteWebhook",
43
+ kind: MethodKind.Unary,
44
+ I: GetWebhookRequest,
45
+ O: GetWebhookResponse,
46
+ service: {
47
+ typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
48
+ }
49
+ };
50
+
37
51
  /**
38
52
  * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
39
53
  */
@@ -30,6 +30,15 @@ export declare const OrganizationWebhooks: {
30
30
  readonly O: typeof GetWebhookResponse,
31
31
  readonly kind: MethodKind.Unary,
32
32
  },
33
+ /**
34
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
35
+ */
36
+ readonly deleteWebhook: {
37
+ readonly name: "DeleteWebhook",
38
+ readonly I: typeof GetWebhookRequest,
39
+ readonly O: typeof GetWebhookResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ },
33
42
  /**
34
43
  * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
35
44
  */
@@ -30,6 +30,15 @@ export const OrganizationWebhooks = {
30
30
  O: GetWebhookResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
+ /**
34
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.DeleteWebhook
35
+ */
36
+ deleteWebhook: {
37
+ name: "DeleteWebhook",
38
+ I: GetWebhookRequest,
39
+ O: GetWebhookResponse,
40
+ kind: MethodKind.Unary,
41
+ },
33
42
  /**
34
43
  * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
35
44
  */
@@ -534,6 +534,74 @@ export declare class SendWebhookEventRequest_EventData extends Message<SendWebho
534
534
  static equals(a: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined, b: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined): boolean;
535
535
  }
536
536
 
537
+ /**
538
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest
539
+ */
540
+ export declare class DeleteWebhookRequest extends Message<DeleteWebhookRequest> {
541
+ /**
542
+ * @generated from field: string organization_id = 1;
543
+ */
544
+ organizationId: string;
545
+
546
+ /**
547
+ * @generated from field: optional uint64 event_id = 2;
548
+ */
549
+ eventId?: bigint;
550
+
551
+ /**
552
+ * @generated from field: optional string question_id = 3;
553
+ */
554
+ questionId?: string;
555
+
556
+ constructor(data?: PartialMessage<DeleteWebhookRequest>);
557
+
558
+ static readonly runtime: typeof proto3;
559
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest";
560
+ static readonly fields: FieldList;
561
+
562
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookRequest;
563
+
564
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
565
+
566
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
567
+
568
+ static equals(a: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined, b: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined): boolean;
569
+ }
570
+
571
+ /**
572
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse
573
+ */
574
+ export declare class DeleteWebhookResponse extends Message<DeleteWebhookResponse> {
575
+ /**
576
+ * @generated from field: bool status = 1;
577
+ */
578
+ status: boolean;
579
+
580
+ /**
581
+ * @generated from field: string message = 2;
582
+ */
583
+ message: string;
584
+
585
+ /**
586
+ * @generated from field: uint32 http_code = 3;
587
+ */
588
+ httpCode: number;
589
+
590
+ constructor(data?: PartialMessage<DeleteWebhookResponse>);
591
+
592
+ static readonly runtime: typeof proto3;
593
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse";
594
+ static readonly fields: FieldList;
595
+
596
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookResponse;
597
+
598
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
599
+
600
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
601
+
602
+ static equals(a: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined, b: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined): boolean;
603
+ }
604
+
537
605
  /**
538
606
  * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
539
607
  */
@@ -172,6 +172,30 @@ export const SendWebhookEventRequest_EventData = /*@__PURE__*/ proto3.makeMessag
172
172
  {localName: "SendWebhookEventRequest_EventData"},
173
173
  );
174
174
 
175
+ /**
176
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest
177
+ */
178
+ export const DeleteWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
179
+ "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookRequest",
180
+ () => [
181
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
+ { no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
183
+ { no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
184
+ ],
185
+ );
186
+
187
+ /**
188
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse
189
+ */
190
+ export const DeleteWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
191
+ "streamlayer.sdkSettings.organization.webhooks.DeleteWebhookResponse",
192
+ () => [
193
+ { no: 1, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
194
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
+ { no: 3, name: "http_code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
196
+ ],
197
+ );
198
+
175
199
  /**
176
200
  * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
177
201
  */