@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/sl-eslib",
3
- "version": "5.145.4",
3
+ "version": "5.145.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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.CreateOrUpdateWebhook
10
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
11
11
  */
12
- export const createOrUpdateWebhook: {
13
- readonly name: "CreateOrUpdateWebhook",
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 GetWebhookRequest,
39
- readonly O: typeof WebhookResponse,
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.CreateOrUpdateWebhook
10
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
11
11
  */
12
- export const createOrUpdateWebhook = {
13
- localName: "createOrUpdateWebhook",
14
- name: "CreateOrUpdateWebhook",
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: GetWebhookRequest,
45
- O: WebhookResponse,
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.CreateOrUpdateWebhook
16
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
17
17
  */
18
- readonly createOrUpdateWebhook: {
19
- readonly name: "CreateOrUpdateWebhook",
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 GetWebhookRequest,
39
- readonly O: typeof WebhookResponse,
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.CreateOrUpdateWebhook
16
+ * @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
17
17
  */
18
- createOrUpdateWebhook: {
19
- name: "CreateOrUpdateWebhook",
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: GetWebhookRequest,
39
- O: WebhookResponse,
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 bool is_disabled = 11;
219
+ * @generated from field: optional streamlayer.sdkSettings.organization.webhooks.WebhookToggle webhook_toggle = 11;
200
220
  */
201
- isDisabled?: boolean;
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: "is_disabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
87
+ { no: 11, name: "webhook_toggle", kind: "enum", T: proto3.getEnumType(WebhookToggle), opt: true },
76
88
  ],
77
89
  );
78
90