@streamlayer/sl-eslib 5.145.2 → 5.145.3
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
|
@@ -149,16 +149,16 @@ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest>
|
|
|
149
149
|
/**
|
|
150
150
|
* Webhook name
|
|
151
151
|
*
|
|
152
|
-
* @generated from field: string
|
|
152
|
+
* @generated from field: string title = 4;
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
title: string;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Webhook description
|
|
158
158
|
*
|
|
159
|
-
* @generated from field: string description = 5;
|
|
159
|
+
* @generated from field: optional string description = 5;
|
|
160
160
|
*/
|
|
161
|
-
description
|
|
161
|
+
description?: string;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Events to trigger the webhook
|
|
@@ -177,28 +177,28 @@ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest>
|
|
|
177
177
|
/**
|
|
178
178
|
* Target endpoint authentication
|
|
179
179
|
*
|
|
180
|
-
* @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
|
|
180
|
+
* @generated from field: optional streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 8;
|
|
181
181
|
*/
|
|
182
182
|
apiKey?: ApiKey;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Duration in seconds for which the webhook is valid
|
|
186
186
|
*
|
|
187
|
-
* @generated from field: uint32 duration = 9;
|
|
187
|
+
* @generated from field: optional uint32 duration = 9;
|
|
188
188
|
*/
|
|
189
|
-
duration
|
|
189
|
+
duration?: number;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Rate limit for webhook requests
|
|
193
193
|
*
|
|
194
|
-
* @generated from field: uint32 limit = 10;
|
|
194
|
+
* @generated from field: optional uint32 limit = 10;
|
|
195
195
|
*/
|
|
196
|
-
limit
|
|
196
|
+
limit?: number;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* @generated from field: bool is_disabled = 11;
|
|
199
|
+
* @generated from field: optional bool is_disabled = 11;
|
|
200
200
|
*/
|
|
201
|
-
isDisabled
|
|
201
|
+
isDisabled?: boolean;
|
|
202
202
|
|
|
203
203
|
constructor(data?: PartialMessage<CreateWebhookRequest>);
|
|
204
204
|
|
|
@@ -65,14 +65,14 @@ export const CreateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
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 },
|
|
67
67
|
{ no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
68
|
-
{ no: 4, name: "
|
|
69
|
-
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING
|
|
68
|
+
{ no: 4, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
70
70
|
{ no: 6, name: "events", kind: "enum", T: proto3.getEnumType(WebhookEvent), repeated: true },
|
|
71
71
|
{ no: 7, name: "target_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
-
{ no: 8, name: "api_key", kind: "message", T: ApiKey },
|
|
73
|
-
{ no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32
|
|
74
|
-
{ no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32
|
|
75
|
-
{ no: 11, name: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL
|
|
72
|
+
{ no: 8, name: "api_key", kind: "message", T: ApiKey, opt: true },
|
|
73
|
+
{ no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
74
|
+
{ no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
75
|
+
{ no: 11, name: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
76
76
|
],
|
|
77
77
|
);
|
|
78
78
|
|