@streamlayer/sl-eslib 5.138.0 → 5.139.1
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 +56 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks-OrganizationWebhooks_connectquery.js +63 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.d.ts +53 -0
- package/streamlayer/sdkSettings/organization/webhooks/organization.webhooks_connect.js +53 -0
- package/streamlayer/{organizations/studio/webhooks/organizations.studio.webhooks_pb.d.ts → sdkSettings/organization/webhooks/organization.webhooks_pb.d.ts} +278 -120
- package/streamlayer/{organizations/studio/webhooks/organizations.studio.webhooks_pb.js → sdkSettings/organization/webhooks/organization.webhooks_pb.js} +83 -45
- package/streamlayer/organizations/studio/webhooks/organizations.studio.webhooks-Webhooks_connectquery.d.ts +0 -44
- package/streamlayer/organizations/studio/webhooks/organizations.studio.webhooks-Webhooks_connectquery.js +0 -49
- package/streamlayer/organizations/studio/webhooks/organizations.studio.webhooks_connect.d.ts +0 -44
- package/streamlayer/organizations/studio/webhooks/organizations.studio.webhooks_connect.js +0 -44
package/package.json
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/sdkSettings/organization/webhooks/organization.webhooks.proto (package streamlayer.sdkSettings.organization.webhooks, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
11
|
+
*/
|
|
12
|
+
export const createWebhook: {
|
|
13
|
+
readonly name: "CreateWebhook",
|
|
14
|
+
readonly I: typeof CreateWebhookRequest,
|
|
15
|
+
readonly O: typeof CreateWebhookResponse,
|
|
16
|
+
readonly kind: MethodKind.Unary,
|
|
17
|
+
readonly service: {
|
|
18
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.GetWebhook
|
|
23
|
+
*/
|
|
24
|
+
export const getWebhook: {
|
|
25
|
+
readonly name: "GetWebhook",
|
|
26
|
+
readonly I: typeof GetWebhookRequest,
|
|
27
|
+
readonly O: typeof GetWebhookResponse,
|
|
28
|
+
readonly kind: MethodKind.Unary,
|
|
29
|
+
readonly service: {
|
|
30
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
|
+
*/
|
|
36
|
+
export const sendWebhookEvent: {
|
|
37
|
+
readonly name: "SendWebhookEvent",
|
|
38
|
+
readonly I: typeof SendWebhookEventRequest,
|
|
39
|
+
readonly O: typeof SendWebhookEventResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
readonly service: {
|
|
42
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.UpdateWebhook
|
|
47
|
+
*/
|
|
48
|
+
export const updateWebhook: {
|
|
49
|
+
readonly name: "UpdateWebhook",
|
|
50
|
+
readonly I: typeof UpdateWebhookRequest,
|
|
51
|
+
readonly O: typeof UpdateWebhookResponse,
|
|
52
|
+
readonly kind: MethodKind.Unary,
|
|
53
|
+
readonly service: {
|
|
54
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/sdkSettings/organization/webhooks/organization.webhooks.proto (package streamlayer.sdkSettings.organization.webhooks, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
11
|
+
*/
|
|
12
|
+
export const createWebhook = {
|
|
13
|
+
localName: "createWebhook",
|
|
14
|
+
name: "CreateWebhook",
|
|
15
|
+
kind: MethodKind.Unary,
|
|
16
|
+
I: CreateWebhookRequest,
|
|
17
|
+
O: CreateWebhookResponse,
|
|
18
|
+
service: {
|
|
19
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.GetWebhook
|
|
25
|
+
*/
|
|
26
|
+
export const getWebhook = {
|
|
27
|
+
localName: "getWebhook",
|
|
28
|
+
name: "GetWebhook",
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
I: GetWebhookRequest,
|
|
31
|
+
O: GetWebhookResponse,
|
|
32
|
+
service: {
|
|
33
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
39
|
+
*/
|
|
40
|
+
export const sendWebhookEvent = {
|
|
41
|
+
localName: "sendWebhookEvent",
|
|
42
|
+
name: "SendWebhookEvent",
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
I: SendWebhookEventRequest,
|
|
45
|
+
O: SendWebhookEventResponse,
|
|
46
|
+
service: {
|
|
47
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.UpdateWebhook
|
|
53
|
+
*/
|
|
54
|
+
export const updateWebhook = {
|
|
55
|
+
localName: "updateWebhook",
|
|
56
|
+
name: "UpdateWebhook",
|
|
57
|
+
kind: MethodKind.Unary,
|
|
58
|
+
I: UpdateWebhookRequest,
|
|
59
|
+
O: UpdateWebhookResponse,
|
|
60
|
+
service: {
|
|
61
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks"
|
|
62
|
+
}
|
|
63
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/sdkSettings/organization/webhooks/organization.webhooks.proto (package streamlayer.sdkSettings.organization.webhooks, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks
|
|
11
|
+
*/
|
|
12
|
+
export declare const OrganizationWebhooks: {
|
|
13
|
+
readonly typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
17
|
+
*/
|
|
18
|
+
readonly createWebhook: {
|
|
19
|
+
readonly name: "CreateWebhook",
|
|
20
|
+
readonly I: typeof CreateWebhookRequest,
|
|
21
|
+
readonly O: typeof CreateWebhookResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.GetWebhook
|
|
26
|
+
*/
|
|
27
|
+
readonly getWebhook: {
|
|
28
|
+
readonly name: "GetWebhook",
|
|
29
|
+
readonly I: typeof GetWebhookRequest,
|
|
30
|
+
readonly O: typeof GetWebhookResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
|
+
*/
|
|
36
|
+
readonly sendWebhookEvent: {
|
|
37
|
+
readonly name: "SendWebhookEvent",
|
|
38
|
+
readonly I: typeof SendWebhookEventRequest,
|
|
39
|
+
readonly O: typeof SendWebhookEventResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.UpdateWebhook
|
|
44
|
+
*/
|
|
45
|
+
readonly updateWebhook: {
|
|
46
|
+
readonly name: "UpdateWebhook",
|
|
47
|
+
readonly I: typeof UpdateWebhookRequest,
|
|
48
|
+
readonly O: typeof UpdateWebhookResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/sdkSettings/organization/webhooks/organization.webhooks.proto (package streamlayer.sdkSettings.organization.webhooks, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse, UpdateWebhookRequest, UpdateWebhookResponse } from "./organization.webhooks_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks
|
|
11
|
+
*/
|
|
12
|
+
export const OrganizationWebhooks = {
|
|
13
|
+
typeName: "streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.CreateWebhook
|
|
17
|
+
*/
|
|
18
|
+
createWebhook: {
|
|
19
|
+
name: "CreateWebhook",
|
|
20
|
+
I: CreateWebhookRequest,
|
|
21
|
+
O: CreateWebhookResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.GetWebhook
|
|
26
|
+
*/
|
|
27
|
+
getWebhook: {
|
|
28
|
+
name: "GetWebhook",
|
|
29
|
+
I: GetWebhookRequest,
|
|
30
|
+
O: GetWebhookResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.SendWebhookEvent
|
|
35
|
+
*/
|
|
36
|
+
sendWebhookEvent: {
|
|
37
|
+
name: "SendWebhookEvent",
|
|
38
|
+
I: SendWebhookEventRequest,
|
|
39
|
+
O: SendWebhookEventResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc streamlayer.sdkSettings.organization.webhooks.OrganizationWebhooks.UpdateWebhook
|
|
44
|
+
*/
|
|
45
|
+
updateWebhook: {
|
|
46
|
+
name: "UpdateWebhook",
|
|
47
|
+
I: UpdateWebhookRequest,
|
|
48
|
+
O: UpdateWebhookResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
-
// @generated from file streamlayer/
|
|
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.
|
|
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.
|
|
48
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookEvent
|
|
49
49
|
*/
|
|
50
50
|
export declare enum WebhookEvent {
|
|
51
51
|
/**
|
|
@@ -75,7 +75,7 @@ export declare enum WebhookEvent {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* @generated from enum streamlayer.
|
|
78
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType
|
|
79
79
|
*/
|
|
80
80
|
export declare enum WebhookNotificationType {
|
|
81
81
|
/**
|
|
@@ -95,7 +95,7 @@ export declare enum WebhookNotificationType {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* @generated from message streamlayer.
|
|
98
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.ApiKey
|
|
99
99
|
*/
|
|
100
100
|
export declare class ApiKey extends Message<ApiKey> {
|
|
101
101
|
/**
|
|
@@ -115,7 +115,7 @@ export declare class ApiKey extends Message<ApiKey> {
|
|
|
115
115
|
constructor(data?: PartialMessage<ApiKey>);
|
|
116
116
|
|
|
117
117
|
static readonly runtime: typeof proto3;
|
|
118
|
-
static readonly typeName = "streamlayer.
|
|
118
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.ApiKey";
|
|
119
119
|
static readonly fields: FieldList;
|
|
120
120
|
|
|
121
121
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApiKey;
|
|
@@ -128,11 +128,94 @@ export declare class ApiKey extends Message<ApiKey> {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* @generated from message streamlayer.
|
|
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
|
|
132
215
|
*/
|
|
133
216
|
export declare class Webhook extends Message<Webhook> {
|
|
134
217
|
/**
|
|
135
|
-
*
|
|
218
|
+
* endpoint_id of the created webhook
|
|
136
219
|
*
|
|
137
220
|
* @generated from field: string id = 1;
|
|
138
221
|
*/
|
|
@@ -189,21 +272,31 @@ export declare class Webhook extends Message<Webhook> {
|
|
|
189
272
|
rateLimitDuration: number;
|
|
190
273
|
|
|
191
274
|
/**
|
|
192
|
-
* @generated from field: streamlayer.
|
|
275
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 10;
|
|
193
276
|
*/
|
|
194
277
|
status: WebhookStatus;
|
|
195
278
|
|
|
196
279
|
/**
|
|
197
280
|
* Target URL authentication
|
|
198
281
|
*
|
|
199
|
-
* @generated from field: streamlayer.
|
|
282
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 11;
|
|
200
283
|
*/
|
|
201
284
|
apiKey?: ApiKey;
|
|
202
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
|
+
|
|
203
296
|
constructor(data?: PartialMessage<Webhook>);
|
|
204
297
|
|
|
205
298
|
static readonly runtime: typeof proto3;
|
|
206
|
-
static readonly typeName = "streamlayer.
|
|
299
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.Webhook";
|
|
207
300
|
static readonly fields: FieldList;
|
|
208
301
|
|
|
209
302
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Webhook;
|
|
@@ -216,10 +309,12 @@ export declare class Webhook extends Message<Webhook> {
|
|
|
216
309
|
}
|
|
217
310
|
|
|
218
311
|
/**
|
|
219
|
-
* @generated from message streamlayer.
|
|
312
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.WebhookData
|
|
220
313
|
*/
|
|
221
314
|
export declare class WebhookData extends Message<WebhookData> {
|
|
222
315
|
/**
|
|
316
|
+
* endpoint_id
|
|
317
|
+
*
|
|
223
318
|
* @generated from field: string id = 1;
|
|
224
319
|
*/
|
|
225
320
|
id: string;
|
|
@@ -230,14 +325,14 @@ export declare class WebhookData extends Message<WebhookData> {
|
|
|
230
325
|
type: string;
|
|
231
326
|
|
|
232
327
|
/**
|
|
233
|
-
* @generated from field: streamlayer.
|
|
328
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.Webhook attributes = 3;
|
|
234
329
|
*/
|
|
235
330
|
attributes?: Webhook;
|
|
236
331
|
|
|
237
332
|
constructor(data?: PartialMessage<WebhookData>);
|
|
238
333
|
|
|
239
334
|
static readonly runtime: typeof proto3;
|
|
240
|
-
static readonly typeName = "streamlayer.
|
|
335
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.WebhookData";
|
|
241
336
|
static readonly fields: FieldList;
|
|
242
337
|
|
|
243
338
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookData;
|
|
@@ -250,172 +345,114 @@ export declare class WebhookData extends Message<WebhookData> {
|
|
|
250
345
|
}
|
|
251
346
|
|
|
252
347
|
/**
|
|
253
|
-
* @generated from message streamlayer.
|
|
348
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse
|
|
254
349
|
*/
|
|
255
|
-
export declare class
|
|
256
|
-
/**
|
|
257
|
-
* @generated from field: string organization_id = 1;
|
|
258
|
-
*/
|
|
259
|
-
organizationId: string;
|
|
260
|
-
|
|
261
|
-
constructor(data?: PartialMessage<GetWebhookRequest>);
|
|
262
|
-
|
|
263
|
-
static readonly runtime: typeof proto3;
|
|
264
|
-
static readonly typeName = "streamlayer.organizations.studio.webhooks.GetWebhookRequest";
|
|
265
|
-
static readonly fields: FieldList;
|
|
266
|
-
|
|
267
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookRequest;
|
|
268
|
-
|
|
269
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookRequest;
|
|
270
|
-
|
|
271
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookRequest;
|
|
272
|
-
|
|
273
|
-
static equals(a: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined, b: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined): boolean;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @generated from message streamlayer.organizations.studio.webhooks.GetWebhookResponse
|
|
278
|
-
*/
|
|
279
|
-
export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
|
|
350
|
+
export declare class CreateWebhookResponse extends Message<CreateWebhookResponse> {
|
|
280
351
|
/**
|
|
281
|
-
* @generated from field: streamlayer.
|
|
352
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
|
|
282
353
|
*/
|
|
283
354
|
data?: WebhookData;
|
|
284
355
|
|
|
285
|
-
constructor(data?: PartialMessage<
|
|
356
|
+
constructor(data?: PartialMessage<CreateWebhookResponse>);
|
|
286
357
|
|
|
287
358
|
static readonly runtime: typeof proto3;
|
|
288
|
-
static readonly typeName = "streamlayer.
|
|
359
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse";
|
|
289
360
|
static readonly fields: FieldList;
|
|
290
361
|
|
|
291
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
362
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookResponse;
|
|
292
363
|
|
|
293
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
364
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
|
|
294
365
|
|
|
295
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
366
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
|
|
296
367
|
|
|
297
|
-
static equals(a:
|
|
368
|
+
static equals(a: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined, b: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined): boolean;
|
|
298
369
|
}
|
|
299
370
|
|
|
300
371
|
/**
|
|
301
|
-
* @generated from message streamlayer.
|
|
372
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest
|
|
302
373
|
*/
|
|
303
|
-
export declare class
|
|
304
|
-
/**
|
|
305
|
-
* Webhook name
|
|
306
|
-
*
|
|
307
|
-
* @generated from field: string name = 1;
|
|
308
|
-
*/
|
|
309
|
-
name: string;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Webhook description
|
|
313
|
-
*
|
|
314
|
-
* @generated from field: string description = 2;
|
|
315
|
-
*/
|
|
316
|
-
description: string;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* events to trigger the webhook
|
|
320
|
-
*
|
|
321
|
-
* @generated from field: repeated streamlayer.organizations.studio.webhooks.WebhookEvent events = 3;
|
|
322
|
-
*/
|
|
323
|
-
events: WebhookEvent[];
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Target EP for webhook delivery
|
|
327
|
-
*
|
|
328
|
-
* @generated from field: string target_url = 4;
|
|
329
|
-
*/
|
|
330
|
-
targetUrl: string;
|
|
331
|
-
|
|
374
|
+
export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
|
|
332
375
|
/**
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
* @generated from field: streamlayer.organizations.studio.webhooks.ApiKey api_key = 5;
|
|
376
|
+
* @generated from field: string organization_id = 1;
|
|
336
377
|
*/
|
|
337
|
-
|
|
378
|
+
organizationId: string;
|
|
338
379
|
|
|
339
380
|
/**
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
* @generated from field: uint32 duration = 6;
|
|
381
|
+
* @generated from field: optional uint64 event_id = 2;
|
|
343
382
|
*/
|
|
344
|
-
|
|
383
|
+
eventId?: bigint;
|
|
345
384
|
|
|
346
385
|
/**
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
* @generated from field: uint32 limit = 7;
|
|
386
|
+
* @generated from field: optional string question_id = 3;
|
|
350
387
|
*/
|
|
351
|
-
|
|
388
|
+
questionId?: string;
|
|
352
389
|
|
|
353
|
-
constructor(data?: PartialMessage<
|
|
390
|
+
constructor(data?: PartialMessage<GetWebhookRequest>);
|
|
354
391
|
|
|
355
392
|
static readonly runtime: typeof proto3;
|
|
356
|
-
static readonly typeName = "streamlayer.
|
|
393
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest";
|
|
357
394
|
static readonly fields: FieldList;
|
|
358
395
|
|
|
359
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
396
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookRequest;
|
|
360
397
|
|
|
361
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
398
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookRequest;
|
|
362
399
|
|
|
363
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
400
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookRequest;
|
|
364
401
|
|
|
365
|
-
static equals(a:
|
|
402
|
+
static equals(a: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined, b: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined): boolean;
|
|
366
403
|
}
|
|
367
404
|
|
|
368
405
|
/**
|
|
369
|
-
* @generated from message streamlayer.
|
|
406
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse
|
|
370
407
|
*/
|
|
371
|
-
export declare class
|
|
408
|
+
export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
|
|
372
409
|
/**
|
|
373
|
-
* @generated from field: streamlayer.
|
|
410
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookData data = 1;
|
|
374
411
|
*/
|
|
375
412
|
data?: WebhookData;
|
|
376
413
|
|
|
377
|
-
constructor(data?: PartialMessage<
|
|
414
|
+
constructor(data?: PartialMessage<GetWebhookResponse>);
|
|
378
415
|
|
|
379
416
|
static readonly runtime: typeof proto3;
|
|
380
|
-
static readonly typeName = "streamlayer.
|
|
417
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse";
|
|
381
418
|
static readonly fields: FieldList;
|
|
382
419
|
|
|
383
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
420
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookResponse;
|
|
384
421
|
|
|
385
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
422
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookResponse;
|
|
386
423
|
|
|
387
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
424
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookResponse;
|
|
388
425
|
|
|
389
|
-
static equals(a:
|
|
426
|
+
static equals(a: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined, b: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined): boolean;
|
|
390
427
|
}
|
|
391
428
|
|
|
392
429
|
/**
|
|
393
|
-
* @generated from message streamlayer.
|
|
430
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest
|
|
394
431
|
*/
|
|
395
432
|
export declare class SendWebhookEventRequest extends Message<SendWebhookEventRequest> {
|
|
396
433
|
/**
|
|
397
|
-
* Target
|
|
434
|
+
* Target webhook endpoint_id
|
|
398
435
|
*
|
|
399
436
|
* @generated from field: string id = 1;
|
|
400
437
|
*/
|
|
401
438
|
id: string;
|
|
402
439
|
|
|
403
440
|
/**
|
|
404
|
-
* Event type
|
|
441
|
+
* Event type
|
|
405
442
|
*
|
|
406
443
|
* @generated from field: string event_type = 2;
|
|
407
444
|
*/
|
|
408
445
|
eventType: string;
|
|
409
446
|
|
|
410
447
|
/**
|
|
411
|
-
* @generated from field: streamlayer.
|
|
448
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData data = 3;
|
|
412
449
|
*/
|
|
413
450
|
data?: SendWebhookEventRequest_EventData;
|
|
414
451
|
|
|
415
452
|
constructor(data?: PartialMessage<SendWebhookEventRequest>);
|
|
416
453
|
|
|
417
454
|
static readonly runtime: typeof proto3;
|
|
418
|
-
static readonly typeName = "streamlayer.
|
|
455
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest";
|
|
419
456
|
static readonly fields: FieldList;
|
|
420
457
|
|
|
421
458
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventRequest;
|
|
@@ -428,7 +465,7 @@ export declare class SendWebhookEventRequest extends Message<SendWebhookEventReq
|
|
|
428
465
|
}
|
|
429
466
|
|
|
430
467
|
/**
|
|
431
|
-
* @generated from message streamlayer.
|
|
468
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData
|
|
432
469
|
*/
|
|
433
470
|
export declare class SendWebhookEventRequest_EventData extends Message<SendWebhookEventRequest_EventData> {
|
|
434
471
|
/**
|
|
@@ -437,40 +474,40 @@ export declare class SendWebhookEventRequest_EventData extends Message<SendWebho
|
|
|
437
474
|
eventId: bigint;
|
|
438
475
|
|
|
439
476
|
/**
|
|
440
|
-
*
|
|
477
|
+
* External client user ID
|
|
441
478
|
*
|
|
442
479
|
* @generated from field: string user_id = 2;
|
|
443
480
|
*/
|
|
444
481
|
userId: string;
|
|
445
482
|
|
|
446
483
|
/**
|
|
447
|
-
* e.g., CLICK_SECONDARY_BUTTON
|
|
484
|
+
* Action, e.g., CLICK_SECONDARY_BUTTON
|
|
448
485
|
*
|
|
449
486
|
* @generated from field: optional string action = 3;
|
|
450
487
|
*/
|
|
451
488
|
action?: string;
|
|
452
489
|
|
|
453
490
|
/**
|
|
454
|
-
* @generated from field: streamlayer.
|
|
491
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType notification_type = 4;
|
|
455
492
|
*/
|
|
456
493
|
notificationType: WebhookNotificationType;
|
|
457
494
|
|
|
458
495
|
/**
|
|
459
|
-
* Event description
|
|
496
|
+
* Event description
|
|
460
497
|
*
|
|
461
498
|
* @generated from field: string description = 5;
|
|
462
499
|
*/
|
|
463
500
|
description: string;
|
|
464
501
|
|
|
465
502
|
/**
|
|
466
|
-
* Metadata for the event
|
|
503
|
+
* Metadata for the event
|
|
467
504
|
*
|
|
468
505
|
* @generated from field: map<string, string> metadata = 6;
|
|
469
506
|
*/
|
|
470
507
|
metadata: { [key: string]: string };
|
|
471
508
|
|
|
472
509
|
/**
|
|
473
|
-
*
|
|
510
|
+
* Custom fields for the event
|
|
474
511
|
*
|
|
475
512
|
* @generated from field: map<string, string> custom_fields = 7;
|
|
476
513
|
*/
|
|
@@ -479,7 +516,7 @@ export declare class SendWebhookEventRequest_EventData extends Message<SendWebho
|
|
|
479
516
|
constructor(data?: PartialMessage<SendWebhookEventRequest_EventData>);
|
|
480
517
|
|
|
481
518
|
static readonly runtime: typeof proto3;
|
|
482
|
-
static readonly typeName = "streamlayer.
|
|
519
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData";
|
|
483
520
|
static readonly fields: FieldList;
|
|
484
521
|
|
|
485
522
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventRequest_EventData;
|
|
@@ -492,7 +529,128 @@ export declare class SendWebhookEventRequest_EventData extends Message<SendWebho
|
|
|
492
529
|
}
|
|
493
530
|
|
|
494
531
|
/**
|
|
495
|
-
* @generated from message streamlayer.
|
|
532
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
|
|
533
|
+
*/
|
|
534
|
+
export declare class UpdateWebhookRequest extends Message<UpdateWebhookRequest> {
|
|
535
|
+
/**
|
|
536
|
+
* Target endpoint_id to update
|
|
537
|
+
*
|
|
538
|
+
* @generated from field: string id = 1;
|
|
539
|
+
*/
|
|
540
|
+
id: string;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: string organization_id = 2;
|
|
544
|
+
*/
|
|
545
|
+
organizationId: string;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: optional uint64 event_id = 3;
|
|
549
|
+
*/
|
|
550
|
+
eventId?: bigint;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: optional string question_id = 4;
|
|
554
|
+
*/
|
|
555
|
+
questionId?: string;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Webhook name
|
|
559
|
+
*
|
|
560
|
+
* @generated from field: string name = 5;
|
|
561
|
+
*/
|
|
562
|
+
name: string;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Webhook description
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: string description = 6;
|
|
568
|
+
*/
|
|
569
|
+
description: string;
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Events to trigger the webhook
|
|
573
|
+
*
|
|
574
|
+
* @generated from field: repeated streamlayer.sdkSettings.organization.webhooks.WebhookEvent events = 7;
|
|
575
|
+
*/
|
|
576
|
+
events: WebhookEvent[];
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Target endpoint for webhook delivery
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: string target_url = 8;
|
|
582
|
+
*/
|
|
583
|
+
targetUrl: string;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Target endpoint authentication
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.ApiKey api_key = 9;
|
|
589
|
+
*/
|
|
590
|
+
apiKey?: ApiKey;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Duration in seconds for which the webhook is valid
|
|
594
|
+
*
|
|
595
|
+
* @generated from field: uint32 duration = 10;
|
|
596
|
+
*/
|
|
597
|
+
duration: number;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Rate limit for webhook requests
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: uint32 limit = 11;
|
|
603
|
+
*/
|
|
604
|
+
limit: number;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Webhook status
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: streamlayer.sdkSettings.organization.webhooks.WebhookStatus status = 12;
|
|
610
|
+
*/
|
|
611
|
+
status: WebhookStatus;
|
|
612
|
+
|
|
613
|
+
constructor(data?: PartialMessage<UpdateWebhookRequest>);
|
|
614
|
+
|
|
615
|
+
static readonly runtime: typeof proto3;
|
|
616
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest";
|
|
617
|
+
static readonly fields: FieldList;
|
|
618
|
+
|
|
619
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookRequest;
|
|
620
|
+
|
|
621
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
|
|
622
|
+
|
|
623
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
|
|
624
|
+
|
|
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;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse
|
|
496
654
|
*/
|
|
497
655
|
export declare class SendWebhookEventResponse extends Message<SendWebhookEventResponse> {
|
|
498
656
|
/**
|
|
@@ -503,7 +661,7 @@ export declare class SendWebhookEventResponse extends Message<SendWebhookEventRe
|
|
|
503
661
|
status: boolean;
|
|
504
662
|
|
|
505
663
|
/**
|
|
506
|
-
* Response message
|
|
664
|
+
* Response message
|
|
507
665
|
*
|
|
508
666
|
* @generated from field: string message = 2;
|
|
509
667
|
*/
|
|
@@ -519,7 +677,7 @@ export declare class SendWebhookEventResponse extends Message<SendWebhookEventRe
|
|
|
519
677
|
constructor(data?: PartialMessage<SendWebhookEventResponse>);
|
|
520
678
|
|
|
521
679
|
static readonly runtime: typeof proto3;
|
|
522
|
-
static readonly typeName = "streamlayer.
|
|
680
|
+
static readonly typeName = "streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse";
|
|
523
681
|
static readonly fields: FieldList;
|
|
524
682
|
|
|
525
683
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendWebhookEventResponse;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v1.10.0 with parameter "target=js+dts"
|
|
2
|
-
// @generated from file streamlayer/
|
|
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
|
|
|
6
6
|
import { proto3 } from "@bufbuild/protobuf";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @generated from enum streamlayer.
|
|
9
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookStatus
|
|
10
10
|
*/
|
|
11
11
|
export const WebhookStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
12
|
-
"streamlayer.
|
|
12
|
+
"streamlayer.sdkSettings.organization.webhooks.WebhookStatus",
|
|
13
13
|
[
|
|
14
14
|
{no: 0, name: "WEBHOOK_STATUS_UNSET", localName: "UNSET"},
|
|
15
15
|
{no: 1, name: "WEBHOOK_STATUS_ACTIVE", localName: "ACTIVE"},
|
|
@@ -20,10 +20,10 @@ export const WebhookStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* @generated from enum streamlayer.
|
|
23
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookEvent
|
|
24
24
|
*/
|
|
25
25
|
export const WebhookEvent = /*@__PURE__*/ proto3.makeEnum(
|
|
26
|
-
"streamlayer.
|
|
26
|
+
"streamlayer.sdkSettings.organization.webhooks.WebhookEvent",
|
|
27
27
|
[
|
|
28
28
|
{no: 0, name: "WEBHOOK_EVENT_UNSET", localName: "UNSET"},
|
|
29
29
|
{no: 1, name: "WEBHOOK_EVENT_CLICK_BANNER", localName: "CLICK_BANNER"},
|
|
@@ -34,10 +34,10 @@ export const WebhookEvent = /*@__PURE__*/ proto3.makeEnum(
|
|
|
34
34
|
);
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* @generated from enum streamlayer.
|
|
37
|
+
* @generated from enum streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType
|
|
38
38
|
*/
|
|
39
39
|
export const WebhookNotificationType = /*@__PURE__*/ proto3.makeEnum(
|
|
40
|
-
"streamlayer.
|
|
40
|
+
"streamlayer.sdkSettings.organization.webhooks.WebhookNotificationType",
|
|
41
41
|
[
|
|
42
42
|
{no: 0, name: "WEBHOOK_NOTIFICATION_TYPE_UNSET", localName: "UNSET"},
|
|
43
43
|
{no: 1, name: "WEBHOOK_NOTIFICATION_TYPE_PHONE", localName: "PHONE"},
|
|
@@ -46,10 +46,10 @@ export const WebhookNotificationType = /*@__PURE__*/ proto3.makeEnum(
|
|
|
46
46
|
);
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* @generated from message streamlayer.
|
|
49
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.ApiKey
|
|
50
50
|
*/
|
|
51
51
|
export const ApiKey = /*@__PURE__*/ proto3.makeMessageType(
|
|
52
|
-
"streamlayer.
|
|
52
|
+
"streamlayer.sdkSettings.organization.webhooks.ApiKey",
|
|
53
53
|
() => [
|
|
54
54
|
{ no: 1, name: "header_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
55
|
{ no: 2, name: "header_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -57,10 +57,29 @@ export const ApiKey = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* @generated from message streamlayer.
|
|
60
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest
|
|
61
|
+
*/
|
|
62
|
+
export const CreateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
63
|
+
"streamlayer.sdkSettings.organization.webhooks.CreateWebhookRequest",
|
|
64
|
+
() => [
|
|
65
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
66
|
+
{ no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
67
|
+
{ no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
68
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
70
|
+
{ no: 6, name: "events", kind: "enum", T: proto3.getEnumType(WebhookEvent), repeated: true },
|
|
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
|
+
],
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.Webhook
|
|
61
80
|
*/
|
|
62
81
|
export const Webhook = /*@__PURE__*/ proto3.makeMessageType(
|
|
63
|
-
"streamlayer.
|
|
82
|
+
"streamlayer.sdkSettings.organization.webhooks.Webhook",
|
|
64
83
|
() => [
|
|
65
84
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
66
85
|
{ no: 2, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -73,14 +92,16 @@ export const Webhook = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
73
92
|
{ no: 9, name: "rate_limit_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
74
93
|
{ no: 10, name: "status", kind: "enum", T: proto3.getEnumType(WebhookStatus) },
|
|
75
94
|
{ no: 11, name: "api_key", kind: "message", T: ApiKey },
|
|
95
|
+
{ no: 12, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
96
|
+
{ no: 13, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
76
97
|
],
|
|
77
98
|
);
|
|
78
99
|
|
|
79
100
|
/**
|
|
80
|
-
* @generated from message streamlayer.
|
|
101
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.WebhookData
|
|
81
102
|
*/
|
|
82
103
|
export const WebhookData = /*@__PURE__*/ proto3.makeMessageType(
|
|
83
|
-
"streamlayer.
|
|
104
|
+
"streamlayer.sdkSettings.organization.webhooks.WebhookData",
|
|
84
105
|
() => [
|
|
85
106
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
86
107
|
{ no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -89,56 +110,42 @@ export const WebhookData = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
89
110
|
);
|
|
90
111
|
|
|
91
112
|
/**
|
|
92
|
-
* @generated from message streamlayer.
|
|
113
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse
|
|
93
114
|
*/
|
|
94
|
-
export const
|
|
95
|
-
"streamlayer.
|
|
96
|
-
() => [
|
|
97
|
-
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
98
|
-
],
|
|
99
|
-
);
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @generated from message streamlayer.organizations.studio.webhooks.GetWebhookResponse
|
|
103
|
-
*/
|
|
104
|
-
export const GetWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
105
|
-
"streamlayer.organizations.studio.webhooks.GetWebhookResponse",
|
|
115
|
+
export const CreateWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
116
|
+
"streamlayer.sdkSettings.organization.webhooks.CreateWebhookResponse",
|
|
106
117
|
() => [
|
|
107
118
|
{ no: 1, name: "data", kind: "message", T: WebhookData },
|
|
108
119
|
],
|
|
109
120
|
);
|
|
110
121
|
|
|
111
122
|
/**
|
|
112
|
-
* @generated from message streamlayer.
|
|
123
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest
|
|
113
124
|
*/
|
|
114
|
-
export const
|
|
115
|
-
"streamlayer.
|
|
125
|
+
export const GetWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
126
|
+
"streamlayer.sdkSettings.organization.webhooks.GetWebhookRequest",
|
|
116
127
|
() => [
|
|
117
|
-
{ no: 1, name: "
|
|
118
|
-
{ no: 2, name: "
|
|
119
|
-
{ no: 3, name: "
|
|
120
|
-
{ no: 4, name: "target_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
-
{ no: 5, name: "api_key", kind: "message", T: ApiKey },
|
|
122
|
-
{ no: 6, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
123
|
-
{ no: 7, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
128
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
129
|
+
{ no: 2, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
130
|
+
{ no: 3, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
124
131
|
],
|
|
125
132
|
);
|
|
126
133
|
|
|
127
134
|
/**
|
|
128
|
-
* @generated from message streamlayer.
|
|
135
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse
|
|
129
136
|
*/
|
|
130
|
-
export const
|
|
131
|
-
"streamlayer.
|
|
137
|
+
export const GetWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
138
|
+
"streamlayer.sdkSettings.organization.webhooks.GetWebhookResponse",
|
|
132
139
|
() => [
|
|
133
140
|
{ no: 1, name: "data", kind: "message", T: WebhookData },
|
|
134
141
|
],
|
|
135
142
|
);
|
|
136
143
|
|
|
137
144
|
/**
|
|
138
|
-
* @generated from message streamlayer.
|
|
145
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest
|
|
139
146
|
*/
|
|
140
147
|
export const SendWebhookEventRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
141
|
-
"streamlayer.
|
|
148
|
+
"streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest",
|
|
142
149
|
() => [
|
|
143
150
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
144
151
|
{ no: 2, name: "event_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -147,10 +154,10 @@ export const SendWebhookEventRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
147
154
|
);
|
|
148
155
|
|
|
149
156
|
/**
|
|
150
|
-
* @generated from message streamlayer.
|
|
157
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData
|
|
151
158
|
*/
|
|
152
159
|
export const SendWebhookEventRequest_EventData = /*@__PURE__*/ proto3.makeMessageType(
|
|
153
|
-
"streamlayer.
|
|
160
|
+
"streamlayer.sdkSettings.organization.webhooks.SendWebhookEventRequest.EventData",
|
|
154
161
|
() => [
|
|
155
162
|
{ no: 1, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
156
163
|
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -164,10 +171,41 @@ export const SendWebhookEventRequest_EventData = /*@__PURE__*/ proto3.makeMessag
|
|
|
164
171
|
);
|
|
165
172
|
|
|
166
173
|
/**
|
|
167
|
-
* @generated from message streamlayer.
|
|
174
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest
|
|
175
|
+
*/
|
|
176
|
+
export const UpdateWebhookRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
177
|
+
"streamlayer.sdkSettings.organization.webhooks.UpdateWebhookRequest",
|
|
178
|
+
() => [
|
|
179
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
180
|
+
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
181
|
+
{ no: 3, name: "event_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
182
|
+
{ no: 4, name: "question_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
183
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
|
+
{ no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
|
+
{ no: 7, name: "events", kind: "enum", T: proto3.getEnumType(WebhookEvent), repeated: true },
|
|
186
|
+
{ no: 8, name: "target_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
|
+
{ no: 9, name: "api_key", kind: "message", T: ApiKey },
|
|
188
|
+
{ no: 10, name: "duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
189
|
+
{ no: 11, name: "limit", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
190
|
+
{ no: 12, name: "status", kind: "enum", T: proto3.getEnumType(WebhookStatus) },
|
|
191
|
+
],
|
|
192
|
+
);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse
|
|
196
|
+
*/
|
|
197
|
+
export const UpdateWebhookResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
198
|
+
"streamlayer.sdkSettings.organization.webhooks.UpdateWebhookResponse",
|
|
199
|
+
() => [
|
|
200
|
+
{ no: 1, name: "data", kind: "message", T: WebhookData },
|
|
201
|
+
],
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from message streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse
|
|
168
206
|
*/
|
|
169
207
|
export const SendWebhookEventResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
170
|
-
"streamlayer.
|
|
208
|
+
"streamlayer.sdkSettings.organization.webhooks.SendWebhookEventResponse",
|
|
171
209
|
() => [
|
|
172
210
|
{ no: 1, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
173
211
|
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
-
// @generated from file streamlayer/organizations/studio/webhooks/organizations.studio.webhooks.proto (package streamlayer.organizations.studio.webhooks, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse } from "./organizations.studio.webhooks_pb.js";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.GetWebhook
|
|
11
|
-
*/
|
|
12
|
-
export const getWebhook: {
|
|
13
|
-
readonly name: "GetWebhook",
|
|
14
|
-
readonly I: typeof GetWebhookRequest,
|
|
15
|
-
readonly O: typeof GetWebhookResponse,
|
|
16
|
-
readonly kind: MethodKind.Unary,
|
|
17
|
-
readonly service: {
|
|
18
|
-
readonly typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.CreateWebhook
|
|
23
|
-
*/
|
|
24
|
-
export const createWebhook: {
|
|
25
|
-
readonly name: "CreateWebhook",
|
|
26
|
-
readonly I: typeof CreateWebhookRequest,
|
|
27
|
-
readonly O: typeof CreateWebhookResponse,
|
|
28
|
-
readonly kind: MethodKind.Unary,
|
|
29
|
-
readonly service: {
|
|
30
|
-
readonly typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.SendWebhookEvent
|
|
35
|
-
*/
|
|
36
|
-
export const sendWebhookEvent: {
|
|
37
|
-
readonly name: "SendWebhookEvent",
|
|
38
|
-
readonly I: typeof SendWebhookEventRequest,
|
|
39
|
-
readonly O: typeof SendWebhookEventResponse,
|
|
40
|
-
readonly kind: MethodKind.Unary,
|
|
41
|
-
readonly service: {
|
|
42
|
-
readonly typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
43
|
-
}
|
|
44
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.3.1 with parameter "target=js+dts"
|
|
2
|
-
// @generated from file streamlayer/organizations/studio/webhooks/organizations.studio.webhooks.proto (package streamlayer.organizations.studio.webhooks, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse } from "./organizations.studio.webhooks_pb.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.GetWebhook
|
|
11
|
-
*/
|
|
12
|
-
export const getWebhook = {
|
|
13
|
-
localName: "getWebhook",
|
|
14
|
-
name: "GetWebhook",
|
|
15
|
-
kind: MethodKind.Unary,
|
|
16
|
-
I: GetWebhookRequest,
|
|
17
|
-
O: GetWebhookResponse,
|
|
18
|
-
service: {
|
|
19
|
-
typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.CreateWebhook
|
|
25
|
-
*/
|
|
26
|
-
export const createWebhook = {
|
|
27
|
-
localName: "createWebhook",
|
|
28
|
-
name: "CreateWebhook",
|
|
29
|
-
kind: MethodKind.Unary,
|
|
30
|
-
I: CreateWebhookRequest,
|
|
31
|
-
O: CreateWebhookResponse,
|
|
32
|
-
service: {
|
|
33
|
-
typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.SendWebhookEvent
|
|
39
|
-
*/
|
|
40
|
-
export const sendWebhookEvent = {
|
|
41
|
-
localName: "sendWebhookEvent",
|
|
42
|
-
name: "SendWebhookEvent",
|
|
43
|
-
kind: MethodKind.Unary,
|
|
44
|
-
I: SendWebhookEventRequest,
|
|
45
|
-
O: SendWebhookEventResponse,
|
|
46
|
-
service: {
|
|
47
|
-
typeName: "streamlayer.organizations.studio.webhooks.Webhooks"
|
|
48
|
-
}
|
|
49
|
-
};
|
package/streamlayer/organizations/studio/webhooks/organizations.studio.webhooks_connect.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.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)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse } from "./organizations.studio.webhooks_pb.js";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service streamlayer.organizations.studio.webhooks.Webhooks
|
|
11
|
-
*/
|
|
12
|
-
export declare const Webhooks: {
|
|
13
|
-
readonly typeName: "streamlayer.organizations.studio.webhooks.Webhooks",
|
|
14
|
-
readonly methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.GetWebhook
|
|
17
|
-
*/
|
|
18
|
-
readonly getWebhook: {
|
|
19
|
-
readonly name: "GetWebhook",
|
|
20
|
-
readonly I: typeof GetWebhookRequest,
|
|
21
|
-
readonly O: typeof GetWebhookResponse,
|
|
22
|
-
readonly kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.CreateWebhook
|
|
26
|
-
*/
|
|
27
|
-
readonly createWebhook: {
|
|
28
|
-
readonly name: "CreateWebhook",
|
|
29
|
-
readonly I: typeof CreateWebhookRequest,
|
|
30
|
-
readonly O: typeof CreateWebhookResponse,
|
|
31
|
-
readonly kind: MethodKind.Unary,
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.SendWebhookEvent
|
|
35
|
-
*/
|
|
36
|
-
readonly sendWebhookEvent: {
|
|
37
|
-
readonly name: "SendWebhookEvent",
|
|
38
|
-
readonly I: typeof SendWebhookEventRequest,
|
|
39
|
-
readonly O: typeof SendWebhookEventResponse,
|
|
40
|
-
readonly kind: MethodKind.Unary,
|
|
41
|
-
},
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.4.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)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
|
|
6
|
-
import { CreateWebhookRequest, CreateWebhookResponse, GetWebhookRequest, GetWebhookResponse, SendWebhookEventRequest, SendWebhookEventResponse } from "./organizations.studio.webhooks_pb.js";
|
|
7
|
-
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @generated from service streamlayer.organizations.studio.webhooks.Webhooks
|
|
11
|
-
*/
|
|
12
|
-
export const Webhooks = {
|
|
13
|
-
typeName: "streamlayer.organizations.studio.webhooks.Webhooks",
|
|
14
|
-
methods: {
|
|
15
|
-
/**
|
|
16
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.GetWebhook
|
|
17
|
-
*/
|
|
18
|
-
getWebhook: {
|
|
19
|
-
name: "GetWebhook",
|
|
20
|
-
I: GetWebhookRequest,
|
|
21
|
-
O: GetWebhookResponse,
|
|
22
|
-
kind: MethodKind.Unary,
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.CreateWebhook
|
|
26
|
-
*/
|
|
27
|
-
createWebhook: {
|
|
28
|
-
name: "CreateWebhook",
|
|
29
|
-
I: CreateWebhookRequest,
|
|
30
|
-
O: CreateWebhookResponse,
|
|
31
|
-
kind: MethodKind.Unary,
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* @generated from rpc streamlayer.organizations.studio.webhooks.Webhooks.SendWebhookEvent
|
|
35
|
-
*/
|
|
36
|
-
sendWebhookEvent: {
|
|
37
|
-
name: "SendWebhookEvent",
|
|
38
|
-
I: SendWebhookEventRequest,
|
|
39
|
-
O: SendWebhookEventResponse,
|
|
40
|
-
kind: MethodKind.Unary,
|
|
41
|
-
},
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|