@streamlayer/sl-eslib 5.145.3 → 5.145.4

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.145.3",
3
+ "version": "5.145.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -3,16 +3,16 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
6
+ import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
10
- * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
10
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateOrUpdateWebhook
11
11
  */
12
- export const createWebhook: {
13
- readonly name: "CreateWebhook",
14
- readonly I: typeof CreateWebhookRequest,
15
- readonly O: typeof CreateWebhookResponse,
12
+ export const createOrUpdateWebhook: {
13
+ readonly name: "CreateOrUpdateWebhook",
14
+ readonly I: typeof UpsertWebhookRequest,
15
+ readonly O: typeof WebhookResponse,
16
16
  readonly kind: MethodKind.Unary,
17
17
  readonly service: {
18
18
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
@@ -24,7 +24,7 @@ export const createWebhook: {
24
24
  export const getWebhook: {
25
25
  readonly name: "GetWebhook",
26
26
  readonly I: typeof GetWebhookRequest,
27
- readonly O: typeof GetWebhookResponse,
27
+ readonly O: typeof WebhookResponse,
28
28
  readonly kind: MethodKind.Unary,
29
29
  readonly service: {
30
30
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
@@ -36,7 +36,7 @@ export const getWebhook: {
36
36
  export const deleteWebhook: {
37
37
  readonly name: "DeleteWebhook",
38
38
  readonly I: typeof GetWebhookRequest,
39
- readonly O: typeof GetWebhookResponse,
39
+ readonly O: typeof WebhookResponse,
40
40
  readonly kind: MethodKind.Unary,
41
41
  readonly service: {
42
42
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
@@ -59,8 +59,8 @@ export const sendWebhookEvent: {
59
59
  */
60
60
  export const updateWebhook: {
61
61
  readonly name: "UpdateWebhook",
62
- readonly I: typeof UpdateWebhookRequest,
63
- readonly O: typeof UpdateWebhookResponse,
62
+ readonly I: typeof UpsertWebhookRequest,
63
+ readonly O: typeof WebhookResponse,
64
64
  readonly kind: MethodKind.Unary,
65
65
  readonly service: {
66
66
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
@@ -4,17 +4,17 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
7
+ import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
8
8
 
9
9
  /**
10
- * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
10
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateOrUpdateWebhook
11
11
  */
12
- export const createWebhook = {
13
- localName: "createWebhook",
14
- name: "CreateWebhook",
12
+ export const createOrUpdateWebhook = {
13
+ localName: "createOrUpdateWebhook",
14
+ name: "CreateOrUpdateWebhook",
15
15
  kind: MethodKind.Unary,
16
- I: CreateWebhookRequest,
17
- O: CreateWebhookResponse,
16
+ I: UpsertWebhookRequest,
17
+ O: WebhookResponse,
18
18
  service: {
19
19
  typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
20
20
  }
@@ -28,7 +28,7 @@ export const getWebhook = {
28
28
  name: "GetWebhook",
29
29
  kind: MethodKind.Unary,
30
30
  I: GetWebhookRequest,
31
- O: GetWebhookResponse,
31
+ O: WebhookResponse,
32
32
  service: {
33
33
  typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
34
34
  }
@@ -42,7 +42,7 @@ export const deleteWebhook = {
42
42
  name: "DeleteWebhook",
43
43
  kind: MethodKind.Unary,
44
44
  I: GetWebhookRequest,
45
- O: GetWebhookResponse,
45
+ O: WebhookResponse,
46
46
  service: {
47
47
  typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
48
48
  }
@@ -69,8 +69,8 @@ export const updateWebhook = {
69
69
  localName: "updateWebhook",
70
70
  name: "UpdateWebhook",
71
71
  kind: MethodKind.Unary,
72
- I: UpdateWebhookRequest,
73
- O: UpdateWebhookResponse,
72
+ I: UpsertWebhookRequest,
73
+ O: WebhookResponse,
74
74
  service: {
75
75
  typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
76
76
  }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
6
+ import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -13,12 +13,12 @@ export declare const OrganizationWebhooks: {
13
13
  readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks",
14
14
  readonly methods: {
15
15
  /**
16
- * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
16
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateOrUpdateWebhook
17
17
  */
18
- readonly createWebhook: {
19
- readonly name: "CreateWebhook",
20
- readonly I: typeof CreateWebhookRequest,
21
- readonly O: typeof CreateWebhookResponse,
18
+ readonly createOrUpdateWebhook: {
19
+ readonly name: "CreateOrUpdateWebhook",
20
+ readonly I: typeof UpsertWebhookRequest,
21
+ readonly O: typeof WebhookResponse,
22
22
  readonly kind: MethodKind.Unary,
23
23
  },
24
24
  /**
@@ -27,7 +27,7 @@ export declare const OrganizationWebhooks: {
27
27
  readonly getWebhook: {
28
28
  readonly name: "GetWebhook",
29
29
  readonly I: typeof GetWebhookRequest,
30
- readonly O: typeof GetWebhookResponse,
30
+ readonly O: typeof WebhookResponse,
31
31
  readonly kind: MethodKind.Unary,
32
32
  },
33
33
  /**
@@ -36,7 +36,7 @@ export declare const OrganizationWebhooks: {
36
36
  readonly deleteWebhook: {
37
37
  readonly name: "DeleteWebhook",
38
38
  readonly I: typeof GetWebhookRequest,
39
- readonly O: typeof GetWebhookResponse,
39
+ readonly O: typeof WebhookResponse,
40
40
  readonly kind: MethodKind.Unary,
41
41
  },
42
42
  /**
@@ -53,8 +53,8 @@ export declare const OrganizationWebhooks: {
53
53
  */
54
54
  readonly updateWebhook: {
55
55
  readonly name: "UpdateWebhook",
56
- readonly I: typeof UpdateWebhookRequest,
57
- readonly O: typeof UpdateWebhookResponse,
56
+ readonly I: typeof UpsertWebhookRequest,
57
+ readonly O: typeof WebhookResponse,
58
58
  readonly kind: MethodKind.Unary,
59
59
  },
60
60
  }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
6
+ import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -13,12 +13,12 @@ export const OrganizationWebhooks = {
13
13
  typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks",
14
14
  methods: {
15
15
  /**
16
- * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
16
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateOrUpdateWebhook
17
17
  */
18
- createWebhook: {
19
- name: "CreateWebhook",
20
- I: CreateWebhookRequest,
21
- O: CreateWebhookResponse,
18
+ createOrUpdateWebhook: {
19
+ name: "CreateOrUpdateWebhook",
20
+ I: UpsertWebhookRequest,
21
+ O: WebhookResponse,
22
22
  kind: MethodKind.Unary,
23
23
  },
24
24
  /**
@@ -27,7 +27,7 @@ export const OrganizationWebhooks = {
27
27
  getWebhook: {
28
28
  name: "GetWebhook",
29
29
  I: GetWebhookRequest,
30
- O: GetWebhookResponse,
30
+ O: WebhookResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
33
  /**
@@ -36,7 +36,7 @@ export const OrganizationWebhooks = {
36
36
  deleteWebhook: {
37
37
  name: "DeleteWebhook",
38
38
  I: GetWebhookRequest,
39
- O: GetWebhookResponse,
39
+ O: WebhookResponse,
40
40
  kind: MethodKind.Unary,
41
41
  },
42
42
  /**
@@ -53,8 +53,8 @@ export const OrganizationWebhooks = {
53
53
  */
54
54
  updateWebhook: {
55
55
  name: "UpdateWebhook",
56
- I: UpdateWebhookRequest,
57
- O: UpdateWebhookResponse,
56
+ I: UpsertWebhookRequest,
57
+ O: WebhookResponse,
58
58
  kind: MethodKind.Unary,
59
59
  },
60
60
  }
@@ -128,9 +128,9 @@ export declare class ApiKey extends Message<ApiKey> {
128
128
  }
129
129
 
130
130
  /**
131
- * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest
131
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest
132
132
  */
133
- export declare class CreateWebhookRequest extends Message<CreateWebhookRequest> {
133
+ export declare class UpsertWebhookRequest extends Message<UpsertWebhookRequest> {
134
134
  /**
135
135
  * @generated from field: string organization_id = 1;
136
136
  */
@@ -200,19 +200,19 @@ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest>
200
200
  */
201
201
  isDisabled?: boolean;
202
202
 
203
- constructor(data?: PartialMessage<CreateWebhookRequest>);
203
+ constructor(data?: PartialMessage<UpsertWebhookRequest>);
204
204
 
205
205
  static readonly runtime: typeof proto3;
206
- static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest";
206
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest";
207
207
  static readonly fields: FieldList;
208
208
 
209
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookRequest;
209
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpsertWebhookRequest;
210
210
 
211
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
211
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpsertWebhookRequest;
212
212
 
213
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
213
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpsertWebhookRequest;
214
214
 
215
- static equals(a: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined, b: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined): boolean;
215
+ static equals(a: UpsertWebhookRequest | PlainMessage<UpsertWebhookRequest> | undefined, b: UpsertWebhookRequest | PlainMessage<UpsertWebhookRequest> | undefined): boolean;
216
216
  }
217
217
 
218
218
  /**
@@ -350,27 +350,27 @@ export declare class WebhookData extends Message<WebhookData> {
350
350
  }
351
351
 
352
352
  /**
353
- * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse
353
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.WebhookResponse
354
354
  */
355
- export declare class CreateWebhookResponse extends Message<CreateWebhookResponse> {
355
+ export declare class WebhookResponse extends Message<WebhookResponse> {
356
356
  /**
357
357
  * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
358
358
  */
359
359
  data?: WebhookData;
360
360
 
361
- constructor(data?: PartialMessage<CreateWebhookResponse>);
361
+ constructor(data?: PartialMessage<WebhookResponse>);
362
362
 
363
363
  static readonly runtime: typeof proto3;
364
- static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse";
364
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.WebhookResponse";
365
365
  static readonly fields: FieldList;
366
366
 
367
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookResponse;
367
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookResponse;
368
368
 
369
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
369
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookResponse;
370
370
 
371
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
371
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookResponse;
372
372
 
373
- static equals(a: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined, b: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined): boolean;
373
+ static equals(a: WebhookResponse | PlainMessage<WebhookResponse> | undefined, b: WebhookResponse | PlainMessage<WebhookResponse> | undefined): boolean;
374
374
  }
375
375
 
376
376
  /**
@@ -407,30 +407,6 @@ export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
407
407
  static equals(a: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined, b: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined): boolean;
408
408
  }
409
409
 
410
- /**
411
- * @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse
412
- */
413
- export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
414
- /**
415
- * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
416
- */
417
- data?: WebhookData;
418
-
419
- constructor(data?: PartialMessage<GetWebhookResponse>);
420
-
421
- static readonly runtime: typeof proto3;
422
- static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse";
423
- static readonly fields: FieldList;
424
-
425
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookResponse;
426
-
427
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookResponse;
428
-
429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookResponse;
430
-
431
- static equals(a: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined, b: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined): boolean;
432
- }
433
-
434
410
  /**
435
411
  * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest
436
412
  */
@@ -612,118 +588,6 @@ export declare class DeleteWebhookResponse extends Message<DeleteWebhookResponse
612
588
  static equals(a: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined, b: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined): boolean;
613
589
  }
614
590
 
615
- /**
616
- * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
617
- */
618
- export declare class UpdateWebhookRequest extends Message<UpdateWebhookRequest> {
619
- /**
620
- * @generated from field: string organization_id = 1;
621
- */
622
- organizationId: string;
623
-
624
- /**
625
- * @generated from field: optional uint64 event_id = 2;
626
- */
627
- eventId?: bigint;
628
-
629
- /**
630
- * @generated from field: optional string question_id = 3;
631
- */
632
- questionId?: string;
633
-
634
- /**
635
- * Webhook name
636
- *
637
- * @generated from field: string name = 4;
638
- */
639
- name: string;
640
-
641
- /**
642
- * Webhook description
643
- *
644
- * @generated from field: string description = 5;
645
- */
646
- description: string;
647
-
648
- /**
649
- * Events to trigger the webhook
650
- *
651
- * @generated from field: repeated streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6;
652
- */
653
- events: WebhookEvent[];
654
-
655
- /**
656
- * Target endpoint for webhook delivery
657
- *
658
- * @generated from field: string target_url = 7;
659
- */
660
- targetUrl: string;
661
-
662
- /**
663
- * Target endpoint authentication
664
- *
665
- * @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
666
- */
667
- apiKey?: ApiKey;
668
-
669
- /**
670
- * Duration in seconds for which the webhook is valid
671
- *
672
- * @generated from field: uint32 duration = 9;
673
- */
674
- duration: number;
675
-
676
- /**
677
- * Rate limit for webhook requests
678
- *
679
- * @generated from field: uint32 limit = 10;
680
- */
681
- limit: number;
682
-
683
- /**
684
- * @generated from field: bool is_disabled = 11;
685
- */
686
- isDisabled: boolean;
687
-
688
- constructor(data?: PartialMessage<UpdateWebhookRequest>);
689
-
690
- static readonly runtime: typeof proto3;
691
- static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest";
692
- static readonly fields: FieldList;
693
-
694
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookRequest;
695
-
696
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
697
-
698
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
699
-
700
- static equals(a: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined, b: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined): boolean;
701
- }
702
-
703
- /**
704
- * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse
705
- */
706
- export declare class UpdateWebhookResponse extends Message<UpdateWebhookResponse> {
707
- /**
708
- * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
709
- */
710
- data?: WebhookData;
711
-
712
- constructor(data?: PartialMessage<UpdateWebhookResponse>);
713
-
714
- static readonly runtime: typeof proto3;
715
- static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse";
716
- static readonly fields: FieldList;
717
-
718
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookResponse;
719
-
720
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
721
-
722
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
723
-
724
- static equals(a: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined, b: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined): boolean;
725
- }
726
-
727
591
  /**
728
592
  * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse
729
593
  */
@@ -57,10 +57,10 @@ export const ApiKey = /*@__PURE__*/ proto3.makeMessageType(
57
57
  );
58
58
 
59
59
  /**
60
- * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest
60
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest
61
61
  */
62
- export const CreateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
63
- "streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest",
62
+ export const UpsertWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
63
+ "streamlayer.sdkSettings.organization.webhooks.UpsertWebhookRequest",
64
64
  () => [
65
65
  { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
66
66
  { no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
@@ -111,10 +111,10 @@ export const WebhookData = /*@__PURE__*/ proto3.makeMessageType(
111
111
  );
112
112
 
113
113
  /**
114
- * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse
114
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.WebhookResponse
115
115
  */
116
- export const CreateWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
117
- "streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse",
116
+ export const WebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
117
+ "streamlayer.sdkSettings.organization.webhooks.WebhookResponse",
118
118
  () => [
119
119
  { no: 1, name: "data", kind: "message", T: WebhookData },
120
120
  ],
@@ -132,16 +132,6 @@ export const GetWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
132
132
  ],
133
133
  );
134
134
 
135
- /**
136
- * @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse
137
- */
138
- export const GetWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
139
- "streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse",
140
- () => [
141
- { no: 1, name: "data", kind: "message", T: WebhookData },
142
- ],
143
- );
144
-
145
135
  /**
146
136
  * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest
147
137
  */
@@ -196,36 +186,6 @@ export const DeleteWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
196
186
  ],
197
187
  );
198
188
 
199
- /**
200
- * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
201
- */
202
- export const UpdateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
203
- "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest",
204
- () => [
205
- { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
- { no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
207
- { no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
208
- { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
209
- { no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
210
- { no: 6, name: "events", kind: "enum", T: proto3.getEnumType(WebhookEvent), repeated: true },
211
- { no: 7, name: "target_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
212
- { no: 8, name: "api_key", kind: "message", T: ApiKey },
213
- { no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
214
- { no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
215
- { no: 11, name: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
216
- ],
217
- );
218
-
219
- /**
220
- * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse
221
- */
222
- export const UpdateWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
223
- "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse",
224
- () => [
225
- { no: 1, name: "data", kind: "message", T: WebhookData },
226
- ],
227
- );
228
-
229
189
  /**
230
190
  * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse
231
191
  */