@streamlayer/sl-eslib 5.145.4 → 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 +1 -1
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks-OrganizationWebhooks_connectquery.d.ts +6 -6
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks-OrganizationWebhooks_connectquery.js +7 -7
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.d.ts +6 -6
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.js +6 -6
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.d.ts +22 -2
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_pb.js +13 -1
package/package.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
6
|
+
import { DeleteWebhookRequest, DeleteWebhookResponse, 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.
|
|
10
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
11
11
|
*/
|
|
12
|
-
export const
|
|
13
|
-
readonly name: "
|
|
12
|
+
export const createWebhook: {
|
|
13
|
+
readonly name: "CreateWebhook",
|
|
14
14
|
readonly I: typeof UpsertWebhookRequest,
|
|
15
15
|
readonly O: typeof WebhookResponse,
|
|
16
16
|
readonly kind: MethodKind.Unary,
|
|
@@ -35,8 +35,8 @@ export const getWebhook: {
|
|
|
35
35
|
*/
|
|
36
36
|
export const deleteWebhook: {
|
|
37
37
|
readonly name: "DeleteWebhook",
|
|
38
|
-
readonly I: typeof
|
|
39
|
-
readonly O: typeof
|
|
38
|
+
readonly I: typeof DeleteWebhookRequest,
|
|
39
|
+
readonly O: typeof DeleteWebhookResponse,
|
|
40
40
|
readonly kind: MethodKind.Unary,
|
|
41
41
|
readonly service: {
|
|
42
42
|
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
|
+
import { DeleteWebhookRequest, DeleteWebhookResponse, GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.
|
|
10
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
11
11
|
*/
|
|
12
|
-
export const
|
|
13
|
-
localName: "
|
|
14
|
-
name: "
|
|
12
|
+
export const createWebhook = {
|
|
13
|
+
localName: "createWebhook",
|
|
14
|
+
name: "CreateWebhook",
|
|
15
15
|
kind: MethodKind.Unary,
|
|
16
16
|
I: UpsertWebhookRequest,
|
|
17
17
|
O: WebhookResponse,
|
|
@@ -41,8 +41,8 @@ export const deleteWebhook = {
|
|
|
41
41
|
localName: "deleteWebhook",
|
|
42
42
|
name: "DeleteWebhook",
|
|
43
43
|
kind: MethodKind.Unary,
|
|
44
|
-
I:
|
|
45
|
-
O:
|
|
44
|
+
I: DeleteWebhookRequest,
|
|
45
|
+
O: DeleteWebhookResponse,
|
|
46
46
|
service: {
|
|
47
47
|
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
48
48
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
6
|
+
import { DeleteWebhookRequest, DeleteWebhookResponse, GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -13,10 +13,10 @@ 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.
|
|
16
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
17
17
|
*/
|
|
18
|
-
readonly
|
|
19
|
-
readonly name: "
|
|
18
|
+
readonly createWebhook: {
|
|
19
|
+
readonly name: "CreateWebhook",
|
|
20
20
|
readonly I: typeof UpsertWebhookRequest,
|
|
21
21
|
readonly O: typeof WebhookResponse,
|
|
22
22
|
readonly kind: MethodKind.Unary,
|
|
@@ -35,8 +35,8 @@ export declare const OrganizationWebhooks: {
|
|
|
35
35
|
*/
|
|
36
36
|
readonly deleteWebhook: {
|
|
37
37
|
readonly name: "DeleteWebhook",
|
|
38
|
-
readonly I: typeof
|
|
39
|
-
readonly O: typeof
|
|
38
|
+
readonly I: typeof DeleteWebhookRequest,
|
|
39
|
+
readonly O: typeof DeleteWebhookResponse,
|
|
40
40
|
readonly kind: MethodKind.Unary,
|
|
41
41
|
},
|
|
42
42
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
6
|
+
import { DeleteWebhookRequest, DeleteWebhookResponse, GetWebhookRequest, SendWebhookEventRequest, SendWebhookEventResponse, UpsertWebhookRequest, WebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -13,10 +13,10 @@ 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.
|
|
16
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
name: "
|
|
18
|
+
createWebhook: {
|
|
19
|
+
name: "CreateWebhook",
|
|
20
20
|
I: UpsertWebhookRequest,
|
|
21
21
|
O: WebhookResponse,
|
|
22
22
|
kind: MethodKind.Unary,
|
|
@@ -35,8 +35,8 @@ export const OrganizationWebhooks = {
|
|
|
35
35
|
*/
|
|
36
36
|
deleteWebhook: {
|
|
37
37
|
name: "DeleteWebhook",
|
|
38
|
-
I:
|
|
39
|
-
O:
|
|
38
|
+
I: DeleteWebhookRequest,
|
|
39
|
+
O: DeleteWebhookResponse,
|
|
40
40
|
kind: MethodKind.Unary,
|
|
41
41
|
},
|
|
42
42
|
/**
|
|
@@ -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
|
|