@streamlayer/sl-eslib 5.137.0 → 5.139.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.
@@ -1,5 +1,5 @@
1
1
  // @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
2
- // @generated from file streamlayer/organizations/studio/webhooks/organizations.studio.webhooks.proto (package streamlayer.organizations.studio.webhooks, syntax proto3)
2
+ // @generated from file streamlayer/sdkSettings/organization/webhooks/organization.webhooks.proto (package streamlayer.sdkSettings.organization.webhooks, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
@@ -7,7 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
10
- * @generated from enum streamlayer.organizations.studio.webhooks.WebhookStatus
10
+ * @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookStatus
11
11
  */
12
12
  export declare enum WebhookStatus {
13
13
  /**
@@ -45,7 +45,7 @@ export declare enum WebhookStatus {
45
45
  }
46
46
 
47
47
  /**
48
- * @generated from enum streamlayer.organizations.studio.webhooks.WebhookEvent
48
+ * @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookEvent
49
49
  */
50
50
  export declare enum WebhookEvent {
51
51
  /**
@@ -75,7 +75,27 @@ export declare enum WebhookEvent {
75
75
  }
76
76
 
77
77
  /**
78
- * @generated from message streamlayer.organizations.studio.webhooks.ApiKey
78
+ * @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType
79
+ */
80
+ export declare enum WebhookNotificationType {
81
+ /**
82
+ * @generated from enum value: WEBHOOK_NOTIFICATION_TYPE_UNSET = 0;
83
+ */
84
+ UNSET = 0,
85
+
86
+ /**
87
+ * @generated from enum value: WEBHOOK_NOTIFICATION_TYPE_PHONE = 1;
88
+ */
89
+ PHONE = 1,
90
+
91
+ /**
92
+ * @generated from enum value: WEBHOOK_NOTIFICATION_TYPE_MAIL = 2;
93
+ */
94
+ MAIL = 2,
95
+ }
96
+
97
+ /**
98
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.ApiKey
79
99
  */
80
100
  export declare class ApiKey extends Message<ApiKey> {
81
101
  /**
@@ -95,7 +115,7 @@ export declare class ApiKey extends Message<ApiKey> {
95
115
  constructor(data?: PartialMessage<ApiKey>);
96
116
 
97
117
  static readonly runtime: typeof proto3;
98
- static readonly typeName = "streamlayer.organizations.studio.webhooks.ApiKey";
118
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.ApiKey";
99
119
  static readonly fields: FieldList;
100
120
 
101
121
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApiKey;
@@ -108,11 +128,94 @@ export declare class ApiKey extends Message<ApiKey> {
108
128
  }
109
129
 
110
130
  /**
111
- * @generated from message streamlayer.organizations.studio.webhooks.Webhook
131
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest
132
+ */
133
+ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest> {
134
+ /**
135
+ * @generated from field: string organization_id = 1;
136
+ */
137
+ organizationId: string;
138
+
139
+ /**
140
+ * @generated from field: optional uint64 event_id = 2;
141
+ */
142
+ eventId?: bigint;
143
+
144
+ /**
145
+ * @generated from field: optional string question_id = 3;
146
+ */
147
+ questionId?: string;
148
+
149
+ /**
150
+ * Webhook name
151
+ *
152
+ * @generated from field: string name = 4;
153
+ */
154
+ name: string;
155
+
156
+ /**
157
+ * Webhook description
158
+ *
159
+ * @generated from field: string description = 5;
160
+ */
161
+ description: string;
162
+
163
+ /**
164
+ * Events to trigger the webhook
165
+ *
166
+ * @generated from field: repeated streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 6;
167
+ */
168
+ events: WebhookEvent[];
169
+
170
+ /**
171
+ * Target endpoint for webhook delivery
172
+ *
173
+ * @generated from field: string target_url = 7;
174
+ */
175
+ targetUrl: string;
176
+
177
+ /**
178
+ * Target endpoint authentication
179
+ *
180
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
181
+ */
182
+ apiKey?: ApiKey;
183
+
184
+ /**
185
+ * Duration in seconds for which the webhook is valid
186
+ *
187
+ * @generated from field: uint32 duration = 9;
188
+ */
189
+ duration: number;
190
+
191
+ /**
192
+ * Rate limit for webhook requests
193
+ *
194
+ * @generated from field: uint32 limit = 10;
195
+ */
196
+ limit: number;
197
+
198
+ constructor(data?: PartialMessage<CreateWebhookRequest>);
199
+
200
+ static readonly runtime: typeof proto3;
201
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest";
202
+ static readonly fields: FieldList;
203
+
204
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookRequest;
205
+
206
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
207
+
208
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
209
+
210
+ static equals(a: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined, b: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined): boolean;
211
+ }
212
+
213
+ /**
214
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.Webhook
112
215
  */
113
216
  export declare class Webhook extends Message<Webhook> {
114
217
  /**
115
- * ID of the created webhook
218
+ * endpoint_id of the created webhook
116
219
  *
117
220
  * @generated from field: string id = 1;
118
221
  */
@@ -169,21 +272,31 @@ export declare class Webhook extends Message<Webhook> {
169
272
  rateLimitDuration: number;
170
273
 
171
274
  /**
172
- * @generated from field: streamlayer.organizations.studio.webhooks.WebhookStatus status = 10;
275
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10;
173
276
  */
174
277
  status: WebhookStatus;
175
278
 
176
279
  /**
177
280
  * Target URL authentication
178
281
  *
179
- * @generated from field: streamlayer.organizations.studio.webhooks.ApiKey api_key = 11;
282
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11;
180
283
  */
181
284
  apiKey?: ApiKey;
182
285
 
286
+ /**
287
+ * @generated from field: optional uint64 event_id = 12;
288
+ */
289
+ eventId?: bigint;
290
+
291
+ /**
292
+ * @generated from field: optional string question_id = 13;
293
+ */
294
+ questionId?: string;
295
+
183
296
  constructor(data?: PartialMessage<Webhook>);
184
297
 
185
298
  static readonly runtime: typeof proto3;
186
- static readonly typeName = "streamlayer.organizations.studio.webhooks.Webhook";
299
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.Webhook";
187
300
  static readonly fields: FieldList;
188
301
 
189
302
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Webhook;
@@ -196,10 +309,12 @@ export declare class Webhook extends Message<Webhook> {
196
309
  }
197
310
 
198
311
  /**
199
- * @generated from message streamlayer.organizations.studio.webhooks.WebhookData
312
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.WebhookData
200
313
  */
201
314
  export declare class WebhookData extends Message<WebhookData> {
202
315
  /**
316
+ * endpoint_id
317
+ *
203
318
  * @generated from field: string id = 1;
204
319
  */
205
320
  id: string;
@@ -210,14 +325,14 @@ export declare class WebhookData extends Message<WebhookData> {
210
325
  type: string;
211
326
 
212
327
  /**
213
- * @generated from field: streamlayer.organizations.studio.webhooks.Webhook attributes = 3;
328
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.Webhook attributes = 3;
214
329
  */
215
330
  attributes?: Webhook;
216
331
 
217
332
  constructor(data?: PartialMessage<WebhookData>);
218
333
 
219
334
  static readonly runtime: typeof proto3;
220
- static readonly typeName = "streamlayer.organizations.studio.webhooks.WebhookData";
335
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.WebhookData";
221
336
  static readonly fields: FieldList;
222
337
 
223
338
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookData;
@@ -230,7 +345,31 @@ export declare class WebhookData extends Message<WebhookData> {
230
345
  }
231
346
 
232
347
  /**
233
- * @generated from message streamlayer.organizations.studio.webhooks.GetWebhookRequest
348
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse
349
+ */
350
+ export declare class CreateWebhookResponse extends Message<CreateWebhookResponse> {
351
+ /**
352
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
353
+ */
354
+ data?: WebhookData;
355
+
356
+ constructor(data?: PartialMessage<CreateWebhookResponse>);
357
+
358
+ static readonly runtime: typeof proto3;
359
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse";
360
+ static readonly fields: FieldList;
361
+
362
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookResponse;
363
+
364
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
365
+
366
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
367
+
368
+ static equals(a: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined, b: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined): boolean;
369
+ }
370
+
371
+ /**
372
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest
234
373
  */
235
374
  export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
236
375
  /**
@@ -238,10 +377,20 @@ export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
238
377
  */
239
378
  organizationId: string;
240
379
 
380
+ /**
381
+ * @generated from field: optional uint64 event_id = 2;
382
+ */
383
+ eventId?: bigint;
384
+
385
+ /**
386
+ * @generated from field: optional string question_id = 3;
387
+ */
388
+ questionId?: string;
389
+
241
390
  constructor(data?: PartialMessage<GetWebhookRequest>);
242
391
 
243
392
  static readonly runtime: typeof proto3;
244
- static readonly typeName = "streamlayer.organizations.studio.webhooks.GetWebhookRequest";
393
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest";
245
394
  static readonly fields: FieldList;
246
395
 
247
396
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookRequest;
@@ -254,18 +403,18 @@ export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
254
403
  }
255
404
 
256
405
  /**
257
- * @generated from message streamlayer.organizations.studio.webhooks.GetWebhookResponse
406
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse
258
407
  */
259
408
  export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
260
409
  /**
261
- * @generated from field: streamlayer.organizations.studio.webhooks.WebhookData data = 1;
410
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
262
411
  */
263
412
  data?: WebhookData;
264
413
 
265
414
  constructor(data?: PartialMessage<GetWebhookResponse>);
266
415
 
267
416
  static readonly runtime: typeof proto3;
268
- static readonly typeName = "streamlayer.organizations.studio.webhooks.GetWebhookResponse";
417
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse";
269
418
  static readonly fields: FieldList;
270
419
 
271
420
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookResponse;
@@ -278,153 +427,230 @@ export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
278
427
  }
279
428
 
280
429
  /**
281
- * @generated from message streamlayer.organizations.studio.webhooks.CreateWebhookRequest
430
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest
282
431
  */
283
- export declare class CreateWebhookRequest extends Message<CreateWebhookRequest> {
432
+ export declare class SendWebhookEventRequest extends Message<SendWebhookEventRequest> {
284
433
  /**
285
- * Webhook name
434
+ * Target webhook endpoint_id
286
435
  *
287
- * @generated from field: string name = 1;
436
+ * @generated from field: string id = 1;
288
437
  */
289
- name: string;
438
+ id: string;
290
439
 
291
440
  /**
292
- * Webhook description
441
+ * Event type
293
442
  *
294
- * @generated from field: string description = 2;
443
+ * @generated from field: string event_type = 2;
295
444
  */
296
- description: string;
445
+ eventType: string;
446
+
447
+ /**
448
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData data = 3;
449
+ */
450
+ data?: SendWebhookEventRequest_EventData;
451
+
452
+ constructor(data?: PartialMessage<SendWebhookEventRequest>);
453
+
454
+ static readonly runtime: typeof proto3;
455
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest";
456
+ static readonly fields: FieldList;
457
+
458
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventRequest;
459
+
460
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendWebhookEventRequest;
461
+
462
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendWebhookEventRequest;
463
+
464
+ static equals(a: SendWebhookEventRequest | PlainMessage<SendWebhookEventRequest> | undefined, b: SendWebhookEventRequest | PlainMessage<SendWebhookEventRequest> | undefined): boolean;
465
+ }
297
466
 
467
+ /**
468
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData
469
+ */
470
+ export declare class SendWebhookEventRequest_EventData extends Message<SendWebhookEventRequest_EventData> {
298
471
  /**
299
- * events to trigger the webhook
472
+ * @generated from field: uint64 event_id = 1;
473
+ */
474
+ eventId: bigint;
475
+
476
+ /**
477
+ * External client user ID
300
478
  *
301
- * @generated from field: repeated streamlayer.organizations.studio.webhooks.WebhookEvent events = 3;
479
+ * @generated from field: string user_id = 2;
302
480
  */
303
- events: WebhookEvent[];
481
+ userId: string;
304
482
 
305
483
  /**
306
- * Target EP for webhook delivery
484
+ * Action, e.g., CLICK_SECONDARY_BUTTON
307
485
  *
308
- * @generated from field: string target_url = 4;
486
+ * @generated from field: optional string action = 3;
309
487
  */
310
- targetUrl: string;
488
+ action?: string;
311
489
 
312
490
  /**
313
- * Target EP authentication
491
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType notification_type = 4;
492
+ */
493
+ notificationType: WebhookNotificationType;
494
+
495
+ /**
496
+ * Event description
314
497
  *
315
- * @generated from field: streamlayer.organizations.studio.webhooks.ApiKey api_key = 5;
498
+ * @generated from field: string description = 5;
316
499
  */
317
- apiKey?: ApiKey;
500
+ description: string;
318
501
 
319
502
  /**
320
- * Duration in seconds for which the webhook is valid
503
+ * Metadata for the event
321
504
  *
322
- * @generated from field: uint32 duration = 6;
505
+ * @generated from field: map<string, string> metadata = 6;
323
506
  */
324
- duration: number;
507
+ metadata: { [key: string]: string };
325
508
 
326
509
  /**
327
- * Rate limit for webhook requests
510
+ * Custom fields for the event
328
511
  *
329
- * @generated from field: uint32 limit = 7;
512
+ * @generated from field: map<string, string> custom_fields = 7;
330
513
  */
331
- limit: number;
514
+ customFields: { [key: string]: string };
332
515
 
333
- constructor(data?: PartialMessage<CreateWebhookRequest>);
516
+ constructor(data?: PartialMessage<SendWebhookEventRequest_EventData>);
334
517
 
335
518
  static readonly runtime: typeof proto3;
336
- static readonly typeName = "streamlayer.organizations.studio.webhooks.CreateWebhookRequest";
519
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData";
337
520
  static readonly fields: FieldList;
338
521
 
339
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookRequest;
522
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventRequest_EventData;
340
523
 
341
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
524
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendWebhookEventRequest_EventData;
342
525
 
343
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
526
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendWebhookEventRequest_EventData;
344
527
 
345
- static equals(a: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined, b: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined): boolean;
528
+ static equals(a: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined, b: SendWebhookEventRequest_EventData | PlainMessage<SendWebhookEventRequest_EventData> | undefined): boolean;
346
529
  }
347
530
 
348
531
  /**
349
- * @generated from message streamlayer.organizations.studio.webhooks.CreateWebhookResponse
532
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
350
533
  */
351
- export declare class CreateWebhookResponse extends Message<CreateWebhookResponse> {
534
+ export declare class UpdateWebhookRequest extends Message<UpdateWebhookRequest> {
352
535
  /**
353
- * @generated from field: streamlayer.organizations.studio.webhooks.WebhookData data = 1;
536
+ * Target endpoint_id to update
537
+ *
538
+ * @generated from field: string id = 1;
354
539
  */
355
- data?: WebhookData;
540
+ id: string;
356
541
 
357
- constructor(data?: PartialMessage<CreateWebhookResponse>);
542
+ /**
543
+ * @generated from field: string organization_id = 2;
544
+ */
545
+ organizationId: string;
358
546
 
359
- static readonly runtime: typeof proto3;
360
- static readonly typeName = "streamlayer.organizations.studio.webhooks.CreateWebhookResponse";
361
- static readonly fields: FieldList;
547
+ /**
548
+ * @generated from field: optional uint64 event_id = 3;
549
+ */
550
+ eventId?: bigint;
362
551
 
363
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookResponse;
552
+ /**
553
+ * @generated from field: optional string question_id = 4;
554
+ */
555
+ questionId?: string;
364
556
 
365
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
557
+ /**
558
+ * Webhook name
559
+ *
560
+ * @generated from field: string name = 5;
561
+ */
562
+ name: string;
366
563
 
367
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
564
+ /**
565
+ * Webhook description
566
+ *
567
+ * @generated from field: string description = 6;
568
+ */
569
+ description: string;
368
570
 
369
- static equals(a: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined, b: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined): boolean;
370
- }
571
+ /**
572
+ * Events to trigger the webhook
573
+ *
574
+ * @generated from field: repeated streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 7;
575
+ */
576
+ events: WebhookEvent[];
371
577
 
372
- /**
373
- * @generated from message streamlayer.organizations.studio.webhooks.SendWebhookEventRequest
374
- */
375
- export declare class SendWebhookEventRequest extends Message<SendWebhookEventRequest> {
376
578
  /**
377
- * Target endpoint ID
579
+ * Target endpoint for webhook delivery
378
580
  *
379
- * @generated from field: string id = 1;
581
+ * @generated from field: string target_url = 8;
380
582
  */
381
- id: string;
583
+ targetUrl: string;
382
584
 
383
585
  /**
384
- * Event type to trigger
586
+ * Target endpoint authentication
385
587
  *
386
- * @generated from field: string event_type = 2;
588
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 9;
387
589
  */
388
- eventType: string;
590
+ apiKey?: ApiKey;
389
591
 
390
592
  /**
391
- * Metadata for the event, e.g. device_type = 'ios', user_agent, ip, location = 'Los Angeles', topic_subtype, banner_url
593
+ * Duration in seconds for which the webhook is valid
392
594
  *
393
- * @generated from field: map<string, string> metadata = 3;
595
+ * @generated from field: uint32 duration = 10;
394
596
  */
395
- metadata: { [key: string]: string };
597
+ duration: number;
396
598
 
397
599
  /**
398
- * AD context. Client custom fields for the event, e.g. promo_code = 'SUMMER2024', campaign = 'BeachSale', brand = 'Nike', model, etc
600
+ * Rate limit for webhook requests
399
601
  *
400
- * @generated from field: map<string, string> custom_fields = 4;
602
+ * @generated from field: uint32 limit = 11;
401
603
  */
402
- customFields: { [key: string]: string };
604
+ limit: number;
403
605
 
404
606
  /**
405
- * Event description, e.g. "User clicked on a secondary button"
607
+ * Webhook status
406
608
  *
407
- * @generated from field: string description = 5;
609
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 12;
408
610
  */
409
- description: string;
611
+ status: WebhookStatus;
410
612
 
411
- constructor(data?: PartialMessage<SendWebhookEventRequest>);
613
+ constructor(data?: PartialMessage<UpdateWebhookRequest>);
412
614
 
413
615
  static readonly runtime: typeof proto3;
414
- static readonly typeName = "streamlayer.organizations.studio.webhooks.SendWebhookEventRequest";
616
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest";
415
617
  static readonly fields: FieldList;
416
618
 
417
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventRequest;
619
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookRequest;
418
620
 
419
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendWebhookEventRequest;
621
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
420
622
 
421
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendWebhookEventRequest;
623
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
422
624
 
423
- static equals(a: SendWebhookEventRequest | PlainMessage<SendWebhookEventRequest> | undefined, b: SendWebhookEventRequest | PlainMessage<SendWebhookEventRequest> | undefined): boolean;
625
+ static equals(a: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined, b: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined): boolean;
626
+ }
627
+
628
+ /**
629
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse
630
+ */
631
+ export declare class UpdateWebhookResponse extends Message<UpdateWebhookResponse> {
632
+ /**
633
+ * @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
634
+ */
635
+ data?: WebhookData;
636
+
637
+ constructor(data?: PartialMessage<UpdateWebhookResponse>);
638
+
639
+ static readonly runtime: typeof proto3;
640
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse";
641
+ static readonly fields: FieldList;
642
+
643
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookResponse;
644
+
645
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
646
+
647
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
648
+
649
+ static equals(a: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined, b: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined): boolean;
424
650
  }
425
651
 
426
652
  /**
427
- * @generated from message streamlayer.organizations.studio.webhooks.SendWebhookEventResponse
653
+ * @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse
428
654
  */
429
655
  export declare class SendWebhookEventResponse extends Message<SendWebhookEventResponse> {
430
656
  /**
@@ -435,7 +661,7 @@ export declare class SendWebhookEventResponse extends Message<SendWebhookEventRe
435
661
  status: boolean;
436
662
 
437
663
  /**
438
- * Response message, "Event queued successfully"
664
+ * Response message
439
665
  *
440
666
  * @generated from field: string message = 2;
441
667
  */
@@ -451,7 +677,7 @@ export declare class SendWebhookEventResponse extends Message<SendWebhookEventRe
451
677
  constructor(data?: PartialMessage<SendWebhookEventResponse>);
452
678
 
453
679
  static readonly runtime: typeof proto3;
454
- static readonly typeName = "streamlayer.organizations.studio.webhooks.SendWebhookEventResponse";
680
+ static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse";
455
681
  static readonly fields: FieldList;
456
682
 
457
683
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventResponse;