@streamlayer/sl-eslib 5.145.5 → 5.145.6
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
|
@@ -6,6 +6,26 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookToggle
|
|
11
|
+
*/
|
|
12
|
+
export declare enum WebhookToggle {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: WEBHOOK_TOGGLE_UNSET = 0;
|
|
15
|
+
*/
|
|
16
|
+
UNSET = 0,
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: WEBHOOK_TOGGLE_ENABLED = 1;
|
|
20
|
+
*/
|
|
21
|
+
ENABLED = 1,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: WEBHOOK_TOGGLE_DISABLED = 2;
|
|
25
|
+
*/
|
|
26
|
+
DISABLED = 2,
|
|
27
|
+
}
|
|
28
|
+
|
|
9
29
|
/**
|
|
10
30
|
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookStatus
|
|
11
31
|
*/
|
|
@@ -196,9 +216,9 @@ export declare class UpsertWebhookRequest extends Message<UpsertWebhookRequest>
|
|
|
196
216
|
limit?: number;
|
|
197
217
|
|
|
198
218
|
/**
|
|
199
|
-
* @generated from field: optional
|
|
219
|
+
* @generated from field: optional streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11;
|
|
200
220
|
*/
|
|
201
|
-
|
|
221
|
+
webhookToggle?: WebhookToggle;
|
|
202
222
|
|
|
203
223
|
constructor(data?: PartialMessage<UpsertWebhookRequest>);
|
|
204
224
|
|
|
@@ -5,6 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
import { proto3 } from "@bufbuild/protobuf";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookToggle
|
|
10
|
+
*/
|
|
11
|
+
export const WebhookToggle = /*@__PURE__*/ proto3.makeEnum(
|
|
12
|
+
"streamlayer.sdkSettings.organization.webhooks.WebhookToggle",
|
|
13
|
+
[
|
|
14
|
+
{no: 0, name: "WEBHOOK_TOGGLE_UNSET", localName: "UNSET"},
|
|
15
|
+
{no: 1, name: "WEBHOOK_TOGGLE_ENABLED", localName: "ENABLED"},
|
|
16
|
+
{no: 2, name: "WEBHOOK_TOGGLE_DISABLED", localName: "DISABLED"},
|
|
17
|
+
],
|
|
18
|
+
);
|
|
19
|
+
|
|
8
20
|
/**
|
|
9
21
|
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookStatus
|
|
10
22
|
*/
|
|
@@ -72,7 +84,7 @@ export const UpsertWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
72
84
|
{ no: 8, name: "api_key", kind: "message", T: ApiKey, opt: true },
|
|
73
85
|
{ no: 9, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
74
86
|
{ no: 10, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
75
|
-
{ no: 11, name: "
|
|
87
|
+
{ no: 11, name: "webhook_toggle", kind: "enum", T: proto3.getEnumType(WebhookToggle), opt: true },
|
|
76
88
|
],
|
|
77
89
|
);
|
|
78
90
|
|