@towns-protocol/proto 0.0.191
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/LICENSE.txt +21 -0
- package/README.md +3 -0
- package/dist/gen/apps_pb.d.ts +438 -0
- package/dist/gen/apps_pb.d.ts.map +1 -0
- package/dist/gen/apps_pb.js +113 -0
- package/dist/gen/apps_pb.js.map +1 -0
- package/dist/gen/auth_pb.d.ts +154 -0
- package/dist/gen/auth_pb.d.ts.map +1 -0
- package/dist/gen/auth_pb.js +37 -0
- package/dist/gen/auth_pb.js.map +1 -0
- package/dist/gen/internal_pb.d.ts +82 -0
- package/dist/gen/internal_pb.d.ts.map +1 -0
- package/dist/gen/internal_pb.js +25 -0
- package/dist/gen/internal_pb.js.map +1 -0
- package/dist/gen/notifications_pb.d.ts +874 -0
- package/dist/gen/notifications_pb.d.ts.map +1 -0
- package/dist/gen/notifications_pb.js +349 -0
- package/dist/gen/notifications_pb.js.map +1 -0
- package/dist/gen/payloads_pb.d.ts +893 -0
- package/dist/gen/payloads_pb.d.ts.map +1 -0
- package/dist/gen/payloads_pb.js +180 -0
- package/dist/gen/payloads_pb.js.map +1 -0
- package/dist/gen/protocol_pb.d.ts +3972 -0
- package/dist/gen/protocol_pb.d.ts.map +1 -0
- package/dist/gen/protocol_pb.js +1158 -0
- package/dist/gen/protocol_pb.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/tests/stub.test.d.ts +1 -0
- package/dist/tests/stub.test.d.ts.map +1 -0
- package/dist/tests/stub.test.js +7 -0
- package/dist/tests/stub.test.js.map +1 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +41 -0
package/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 River Association
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,438 @@
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
2
|
+
import type { Empty } from "@bufbuild/protobuf/wkt";
|
3
|
+
import type { Envelope, UserMetadataPayload_EncryptionDevice } from "./protocol_pb";
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
5
|
+
/**
|
6
|
+
* Describes the file apps.proto.
|
7
|
+
*/
|
8
|
+
export declare const file_apps: GenFile;
|
9
|
+
/**
|
10
|
+
* @generated from message river.RegisterRequest
|
11
|
+
*/
|
12
|
+
export type RegisterRequest = Message<"river.RegisterRequest"> & {
|
13
|
+
/**
|
14
|
+
* public key of the app
|
15
|
+
*
|
16
|
+
* @generated from field: bytes app_id = 1;
|
17
|
+
*/
|
18
|
+
appId: Uint8Array;
|
19
|
+
/**
|
20
|
+
* public key of the app owner
|
21
|
+
*
|
22
|
+
* @generated from field: bytes app_owner_id = 2;
|
23
|
+
*/
|
24
|
+
appOwnerId: Uint8Array;
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
* Describes the message river.RegisterRequest.
|
28
|
+
* Use `create(RegisterRequestSchema)` to create a new message.
|
29
|
+
*/
|
30
|
+
export declare const RegisterRequestSchema: GenMessage<RegisterRequest>;
|
31
|
+
/**
|
32
|
+
* @generated from message river.RegisterResponse
|
33
|
+
*/
|
34
|
+
export type RegisterResponse = Message<"river.RegisterResponse"> & {
|
35
|
+
/**
|
36
|
+
* The shared secret used to sign the jwt the app registry will use to authenticate to the
|
37
|
+
* app service. This secret should be exactly 32 bytes.
|
38
|
+
*
|
39
|
+
* @generated from field: bytes hs256_shared_secret = 1;
|
40
|
+
*/
|
41
|
+
hs256SharedSecret: Uint8Array;
|
42
|
+
};
|
43
|
+
/**
|
44
|
+
* Describes the message river.RegisterResponse.
|
45
|
+
* Use `create(RegisterResponseSchema)` to create a new message.
|
46
|
+
*/
|
47
|
+
export declare const RegisterResponseSchema: GenMessage<RegisterResponse>;
|
48
|
+
/**
|
49
|
+
* @generated from message river.RegisterWebhookRequest
|
50
|
+
*/
|
51
|
+
export type RegisterWebhookRequest = Message<"river.RegisterWebhookRequest"> & {
|
52
|
+
/**
|
53
|
+
* public key of the app
|
54
|
+
*
|
55
|
+
* @generated from field: bytes app_id = 1;
|
56
|
+
*/
|
57
|
+
appId: Uint8Array;
|
58
|
+
/**
|
59
|
+
* Webhook for sending requests to the app service
|
60
|
+
*
|
61
|
+
* @generated from field: string webhook_url = 2;
|
62
|
+
*/
|
63
|
+
webhookUrl: string;
|
64
|
+
};
|
65
|
+
/**
|
66
|
+
* Describes the message river.RegisterWebhookRequest.
|
67
|
+
* Use `create(RegisterWebhookRequestSchema)` to create a new message.
|
68
|
+
*/
|
69
|
+
export declare const RegisterWebhookRequestSchema: GenMessage<RegisterWebhookRequest>;
|
70
|
+
/**
|
71
|
+
* @generated from message river.RegisterWebhookResponse
|
72
|
+
*/
|
73
|
+
export type RegisterWebhookResponse = Message<"river.RegisterWebhookResponse"> & {};
|
74
|
+
/**
|
75
|
+
* Describes the message river.RegisterWebhookResponse.
|
76
|
+
* Use `create(RegisterWebhookResponseSchema)` to create a new message.
|
77
|
+
*/
|
78
|
+
export declare const RegisterWebhookResponseSchema: GenMessage<RegisterWebhookResponse>;
|
79
|
+
/**
|
80
|
+
* @generated from message river.RotateSecretRequest
|
81
|
+
*/
|
82
|
+
export type RotateSecretRequest = Message<"river.RotateSecretRequest"> & {
|
83
|
+
/**
|
84
|
+
* public key of the app
|
85
|
+
*
|
86
|
+
* @generated from field: bytes app_id = 1;
|
87
|
+
*/
|
88
|
+
appId: Uint8Array;
|
89
|
+
};
|
90
|
+
/**
|
91
|
+
* Describes the message river.RotateSecretRequest.
|
92
|
+
* Use `create(RotateSecretRequestSchema)` to create a new message.
|
93
|
+
*/
|
94
|
+
export declare const RotateSecretRequestSchema: GenMessage<RotateSecretRequest>;
|
95
|
+
/**
|
96
|
+
* @generated from message river.RotateSecretResponse
|
97
|
+
*/
|
98
|
+
export type RotateSecretResponse = Message<"river.RotateSecretResponse"> & {
|
99
|
+
/**
|
100
|
+
* the updated shared secret used to sign the jwt the app registry will use to authenticate
|
101
|
+
* to the app service. This secret should be exactly 32 bytes.
|
102
|
+
*
|
103
|
+
* @generated from field: string hs256_shared_secret = 1;
|
104
|
+
*/
|
105
|
+
hs256SharedSecret: string;
|
106
|
+
};
|
107
|
+
/**
|
108
|
+
* Describes the message river.RotateSecretResponse.
|
109
|
+
* Use `create(RotateSecretResponseSchema)` to create a new message.
|
110
|
+
*/
|
111
|
+
export declare const RotateSecretResponseSchema: GenMessage<RotateSecretResponse>;
|
112
|
+
/**
|
113
|
+
* @generated from message river.GetStatusRequest
|
114
|
+
*/
|
115
|
+
export type GetStatusRequest = Message<"river.GetStatusRequest"> & {
|
116
|
+
/**
|
117
|
+
* public key of the app
|
118
|
+
*
|
119
|
+
* @generated from field: bytes app_id = 1;
|
120
|
+
*/
|
121
|
+
appId: Uint8Array;
|
122
|
+
};
|
123
|
+
/**
|
124
|
+
* Describes the message river.GetStatusRequest.
|
125
|
+
* Use `create(GetStatusRequestSchema)` to create a new message.
|
126
|
+
*/
|
127
|
+
export declare const GetStatusRequestSchema: GenMessage<GetStatusRequest>;
|
128
|
+
/**
|
129
|
+
* @generated from message river.GetStatusResponse
|
130
|
+
*/
|
131
|
+
export type GetStatusResponse = Message<"river.GetStatusResponse"> & {
|
132
|
+
/**
|
133
|
+
* is_registered describes if the app is registered with a webhook
|
134
|
+
*
|
135
|
+
* @generated from field: bool is_registered = 1;
|
136
|
+
*/
|
137
|
+
isRegistered: boolean;
|
138
|
+
/**
|
139
|
+
* valid_response is set to true if calling the webhook results in a 200 with version
|
140
|
+
* info included in the response body.
|
141
|
+
*
|
142
|
+
* @generated from field: bool valid_response = 2;
|
143
|
+
*/
|
144
|
+
validResponse: boolean;
|
145
|
+
/**
|
146
|
+
* version info returned by the webhook
|
147
|
+
*
|
148
|
+
* @generated from field: string version_info = 3;
|
149
|
+
*/
|
150
|
+
versionInfo: string;
|
151
|
+
};
|
152
|
+
/**
|
153
|
+
* Describes the message river.GetStatusResponse.
|
154
|
+
* Use `create(GetStatusResponseSchema)` to create a new message.
|
155
|
+
*/
|
156
|
+
export declare const GetStatusResponseSchema: GenMessage<GetStatusResponse>;
|
157
|
+
/**
|
158
|
+
* @generated from message river.GetSessionRequest
|
159
|
+
*/
|
160
|
+
export type GetSessionRequest = Message<"river.GetSessionRequest"> & {
|
161
|
+
/**
|
162
|
+
* public key of the app
|
163
|
+
*
|
164
|
+
* @generated from field: bytes app_id = 1;
|
165
|
+
*/
|
166
|
+
appId: Uint8Array;
|
167
|
+
/**
|
168
|
+
* @generated from field: string session_id = 2;
|
169
|
+
*/
|
170
|
+
sessionId: string;
|
171
|
+
};
|
172
|
+
/**
|
173
|
+
* Describes the message river.GetSessionRequest.
|
174
|
+
* Use `create(GetSessionRequestSchema)` to create a new message.
|
175
|
+
*/
|
176
|
+
export declare const GetSessionRequestSchema: GenMessage<GetSessionRequest>;
|
177
|
+
/**
|
178
|
+
* @generated from message river.GetSessionResponse
|
179
|
+
*/
|
180
|
+
export type GetSessionResponse = Message<"river.GetSessionResponse"> & {
|
181
|
+
/**
|
182
|
+
* This will be
|
183
|
+
*
|
184
|
+
* @generated from field: river.Envelope group_encryption_sessions = 1;
|
185
|
+
*/
|
186
|
+
groupEncryptionSessions?: Envelope;
|
187
|
+
};
|
188
|
+
/**
|
189
|
+
* Describes the message river.GetSessionResponse.
|
190
|
+
* Use `create(GetSessionResponseSchema)` to create a new message.
|
191
|
+
*/
|
192
|
+
export declare const GetSessionResponseSchema: GenMessage<GetSessionResponse>;
|
193
|
+
/**
|
194
|
+
* As a performance optimization, we may wish to bundle together many key solicitation requests
|
195
|
+
* and channel messages for the bot to respond to in a single webhook call. Thus, an isolated
|
196
|
+
* group of channel messages and encryption keys, or a request for a key solicitation, is
|
197
|
+
* represented here. For webhook calls regarding channel content, the payload may contain one or
|
198
|
+
* more of these events.
|
199
|
+
*
|
200
|
+
* @generated from message river.EventPayload
|
201
|
+
*/
|
202
|
+
export type EventPayload = Message<"river.EventPayload"> & {
|
203
|
+
/**
|
204
|
+
* @generated from oneof river.EventPayload.payload
|
205
|
+
*/
|
206
|
+
payload: {
|
207
|
+
/**
|
208
|
+
* @generated from field: river.EventPayload.Messages messages = 1;
|
209
|
+
*/
|
210
|
+
value: EventPayload_Messages;
|
211
|
+
case: "messages";
|
212
|
+
} | {
|
213
|
+
/**
|
214
|
+
* @generated from field: river.EventPayload.SolicitKeys solicitation = 2;
|
215
|
+
*/
|
216
|
+
value: EventPayload_SolicitKeys;
|
217
|
+
case: "solicitation";
|
218
|
+
} | {
|
219
|
+
case: undefined;
|
220
|
+
value?: undefined;
|
221
|
+
};
|
222
|
+
};
|
223
|
+
/**
|
224
|
+
* Describes the message river.EventPayload.
|
225
|
+
* Use `create(EventPayloadSchema)` to create a new message.
|
226
|
+
*/
|
227
|
+
export declare const EventPayloadSchema: GenMessage<EventPayload>;
|
228
|
+
/**
|
229
|
+
* A Messages payload represents a group of user messages in a channel that qualifies for the app
|
230
|
+
* to be notified. The included set of group encryption sessions in this message should have
|
231
|
+
* all the needed ciphertexts to decrypt the set of messages sent in the same payload.
|
232
|
+
*
|
233
|
+
* @generated from message river.EventPayload.Messages
|
234
|
+
*/
|
235
|
+
export type EventPayload_Messages = Message<"river.EventPayload.Messages"> & {
|
236
|
+
/**
|
237
|
+
* @generated from field: bytes stream_id = 1;
|
238
|
+
*/
|
239
|
+
streamId: Uint8Array;
|
240
|
+
/**
|
241
|
+
* @generated from field: repeated river.Envelope messages = 2;
|
242
|
+
*/
|
243
|
+
messages: Envelope[];
|
244
|
+
/**
|
245
|
+
* @generated from field: repeated river.Envelope group_encryption_sessions_messages = 3;
|
246
|
+
*/
|
247
|
+
groupEncryptionSessionsMessages: Envelope[];
|
248
|
+
};
|
249
|
+
/**
|
250
|
+
* Describes the message river.EventPayload.Messages.
|
251
|
+
* Use `create(EventPayload_MessagesSchema)` to create a new message.
|
252
|
+
*/
|
253
|
+
export declare const EventPayload_MessagesSchema: GenMessage<EventPayload_Messages>;
|
254
|
+
/**
|
255
|
+
* A SolicitKeys request is sent when one or more messages in the same channel cannot be forwarded
|
256
|
+
* to the app because the app does not have keys available to decrypt it in it's user inbox stream.
|
257
|
+
* In this case, the app must be prompted to send a message to the stream to solicit the missing
|
258
|
+
* session keys so that all queued messages can be forwarded.
|
259
|
+
*
|
260
|
+
* @generated from message river.EventPayload.SolicitKeys
|
261
|
+
*/
|
262
|
+
export type EventPayload_SolicitKeys = Message<"river.EventPayload.SolicitKeys"> & {
|
263
|
+
/**
|
264
|
+
* @generated from field: bytes stream_id = 1;
|
265
|
+
*/
|
266
|
+
streamId: Uint8Array;
|
267
|
+
/**
|
268
|
+
* @generated from field: repeated string session_ids = 2;
|
269
|
+
*/
|
270
|
+
sessionIds: string[];
|
271
|
+
};
|
272
|
+
/**
|
273
|
+
* Describes the message river.EventPayload.SolicitKeys.
|
274
|
+
* Use `create(EventPayload_SolicitKeysSchema)` to create a new message.
|
275
|
+
*/
|
276
|
+
export declare const EventPayload_SolicitKeysSchema: GenMessage<EventPayload_SolicitKeys>;
|
277
|
+
/**
|
278
|
+
* @generated from message river.EventsPayload
|
279
|
+
*/
|
280
|
+
export type EventsPayload = Message<"river.EventsPayload"> & {
|
281
|
+
/**
|
282
|
+
* @generated from field: repeated river.EventPayload events = 1;
|
283
|
+
*/
|
284
|
+
events: EventPayload[];
|
285
|
+
};
|
286
|
+
/**
|
287
|
+
* Describes the message river.EventsPayload.
|
288
|
+
* Use `create(EventsPayloadSchema)` to create a new message.
|
289
|
+
*/
|
290
|
+
export declare const EventsPayloadSchema: GenMessage<EventsPayload>;
|
291
|
+
/**
|
292
|
+
* @generated from message river.AppServiceRequest
|
293
|
+
*/
|
294
|
+
export type AppServiceRequest = Message<"river.AppServiceRequest"> & {
|
295
|
+
/**
|
296
|
+
* @generated from oneof river.AppServiceRequest.payload
|
297
|
+
*/
|
298
|
+
payload: {
|
299
|
+
/**
|
300
|
+
* @generated from field: google.protobuf.Empty initialize = 101;
|
301
|
+
*/
|
302
|
+
value: Empty;
|
303
|
+
case: "initialize";
|
304
|
+
} | {
|
305
|
+
/**
|
306
|
+
* @generated from field: google.protobuf.Empty status = 102;
|
307
|
+
*/
|
308
|
+
value: Empty;
|
309
|
+
case: "status";
|
310
|
+
} | {
|
311
|
+
/**
|
312
|
+
* @generated from field: river.EventsPayload events = 103;
|
313
|
+
*/
|
314
|
+
value: EventsPayload;
|
315
|
+
case: "events";
|
316
|
+
} | {
|
317
|
+
case: undefined;
|
318
|
+
value?: undefined;
|
319
|
+
};
|
320
|
+
};
|
321
|
+
/**
|
322
|
+
* Describes the message river.AppServiceRequest.
|
323
|
+
* Use `create(AppServiceRequestSchema)` to create a new message.
|
324
|
+
*/
|
325
|
+
export declare const AppServiceRequestSchema: GenMessage<AppServiceRequest>;
|
326
|
+
/**
|
327
|
+
* @generated from message river.AppServiceResponse
|
328
|
+
*/
|
329
|
+
export type AppServiceResponse = Message<"river.AppServiceResponse"> & {
|
330
|
+
/**
|
331
|
+
* @generated from oneof river.AppServiceResponse.payload
|
332
|
+
*/
|
333
|
+
payload: {
|
334
|
+
/**
|
335
|
+
* @generated from field: river.AppServiceResponse.InitializeResponse initialize = 101;
|
336
|
+
*/
|
337
|
+
value: AppServiceResponse_InitializeResponse;
|
338
|
+
case: "initialize";
|
339
|
+
} | {
|
340
|
+
/**
|
341
|
+
* @generated from field: river.AppServiceResponse.StatusResponse status = 102;
|
342
|
+
*/
|
343
|
+
value: AppServiceResponse_StatusResponse;
|
344
|
+
case: "status";
|
345
|
+
} | {
|
346
|
+
case: undefined;
|
347
|
+
value?: undefined;
|
348
|
+
};
|
349
|
+
};
|
350
|
+
/**
|
351
|
+
* Describes the message river.AppServiceResponse.
|
352
|
+
* Use `create(AppServiceResponseSchema)` to create a new message.
|
353
|
+
*/
|
354
|
+
export declare const AppServiceResponseSchema: GenMessage<AppServiceResponse>;
|
355
|
+
/**
|
356
|
+
* @generated from message river.AppServiceResponse.InitializeResponse
|
357
|
+
*/
|
358
|
+
export type AppServiceResponse_InitializeResponse = Message<"river.AppServiceResponse.InitializeResponse"> & {
|
359
|
+
/**
|
360
|
+
* @generated from field: river.UserMetadataPayload.EncryptionDevice encryption_device = 1;
|
361
|
+
*/
|
362
|
+
encryptionDevice?: UserMetadataPayload_EncryptionDevice;
|
363
|
+
};
|
364
|
+
/**
|
365
|
+
* Describes the message river.AppServiceResponse.InitializeResponse.
|
366
|
+
* Use `create(AppServiceResponse_InitializeResponseSchema)` to create a new message.
|
367
|
+
*/
|
368
|
+
export declare const AppServiceResponse_InitializeResponseSchema: GenMessage<AppServiceResponse_InitializeResponse>;
|
369
|
+
/**
|
370
|
+
* @generated from message river.AppServiceResponse.StatusResponse
|
371
|
+
*/
|
372
|
+
export type AppServiceResponse_StatusResponse = Message<"river.AppServiceResponse.StatusResponse"> & {
|
373
|
+
/**
|
374
|
+
* @generated from field: int32 framework_version = 1;
|
375
|
+
*/
|
376
|
+
frameworkVersion: number;
|
377
|
+
/**
|
378
|
+
* @generated from field: string device_key = 2;
|
379
|
+
*/
|
380
|
+
deviceKey: string;
|
381
|
+
/**
|
382
|
+
* @generated from field: string fallback_key = 3;
|
383
|
+
*/
|
384
|
+
fallbackKey: string;
|
385
|
+
};
|
386
|
+
/**
|
387
|
+
* Describes the message river.AppServiceResponse.StatusResponse.
|
388
|
+
* Use `create(AppServiceResponse_StatusResponseSchema)` to create a new message.
|
389
|
+
*/
|
390
|
+
export declare const AppServiceResponse_StatusResponseSchema: GenMessage<AppServiceResponse_StatusResponse>;
|
391
|
+
/**
|
392
|
+
* AppRegistryService allows apps and app owners to register apps, and set app-related preferences for messages added
|
393
|
+
* to channels the app has membership in.
|
394
|
+
*
|
395
|
+
* These functions are all authenticated, with the exception of GetStatus, and require a session token to be passed
|
396
|
+
* through the authorization metadata.
|
397
|
+
* This session token can be obtained from the AuthenticationService. If the session token is missing or invalid an
|
398
|
+
* Err_UNAUTHENTICATED (code=16) is returned.
|
399
|
+
*
|
400
|
+
* @generated from service river.AppRegistryService
|
401
|
+
*/
|
402
|
+
export declare const AppRegistryService: GenService<{
|
403
|
+
/**
|
404
|
+
* @generated from rpc river.AppRegistryService.Register
|
405
|
+
*/
|
406
|
+
register: {
|
407
|
+
methodKind: "unary";
|
408
|
+
input: typeof RegisterRequestSchema;
|
409
|
+
output: typeof RegisterResponseSchema;
|
410
|
+
};
|
411
|
+
/**
|
412
|
+
* @generated from rpc river.AppRegistryService.RegisterWebhook
|
413
|
+
*/
|
414
|
+
registerWebhook: {
|
415
|
+
methodKind: "unary";
|
416
|
+
input: typeof RegisterWebhookRequestSchema;
|
417
|
+
output: typeof RegisterWebhookResponseSchema;
|
418
|
+
};
|
419
|
+
/**
|
420
|
+
* rpc RotateSecret(RotateSecretRequest) returns (RotateSecretResponse);
|
421
|
+
*
|
422
|
+
* @generated from rpc river.AppRegistryService.GetStatus
|
423
|
+
*/
|
424
|
+
getStatus: {
|
425
|
+
methodKind: "unary";
|
426
|
+
input: typeof GetStatusRequestSchema;
|
427
|
+
output: typeof GetStatusResponseSchema;
|
428
|
+
};
|
429
|
+
/**
|
430
|
+
* @generated from rpc river.AppRegistryService.GetSession
|
431
|
+
*/
|
432
|
+
getSession: {
|
433
|
+
methodKind: "unary";
|
434
|
+
input: typeof GetSessionRequestSchema;
|
435
|
+
output: typeof GetSessionResponseSchema;
|
436
|
+
};
|
437
|
+
}>;
|
438
|
+
//# sourceMappingURL=apps_pb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"apps_pb.d.ts","sourceRoot":"","sources":["../../src/gen/apps_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,OACi4E,CAAC;AAE15E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAC/D;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAElB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAAe,CACnC,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG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AAE,OAAO,qBAAqB,CAAC;QACpC,MAAM,EAAE,OAAO,sBAAsB,CAAC;KACvC,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,6BAA6B,CAAC;KAC9C,CAAC;IACF;;;;OAIG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,uBAAuB,CAAC;KACxC,CAAC;IACF;;OAEG;IACH,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,wBAAwB,CAAC;KACzC,CAAC;CACH,CAC0B,CAAC"}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3 with parameter "target=ts"
|
2
|
+
// @generated from file apps.proto (package river, syntax proto3)
|
3
|
+
/* eslint-disable */
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
5
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
6
|
+
import { file_protocol } from "./protocol_pb";
|
7
|
+
/**
|
8
|
+
* Describes the file apps.proto.
|
9
|
+
*/
|
10
|
+
export const file_apps = /*@__PURE__*/ fileDesc("CgphcHBzLnByb3RvEgVyaXZlciI3Cg9SZWdpc3RlclJlcXVlc3QSDgoGYXBwX2lkGAEgASgMEhQKDGFwcF9vd25lcl9pZBgCIAEoDCIvChBSZWdpc3RlclJlc3BvbnNlEhsKE2hzMjU2X3NoYXJlZF9zZWNyZXQYASABKAwiPQoWUmVnaXN0ZXJXZWJob29rUmVxdWVzdBIOCgZhcHBfaWQYASABKAwSEwoLd2ViaG9va191cmwYAiABKAkiGQoXUmVnaXN0ZXJXZWJob29rUmVzcG9uc2UiJQ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isterRequest.
|
13
|
+
* Use `create(RegisterRequestSchema)` to create a new message.
|
14
|
+
*/
|
15
|
+
export const RegisterRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 0);
|
16
|
+
/**
|
17
|
+
* Describes the message river.RegisterResponse.
|
18
|
+
* Use `create(RegisterResponseSchema)` to create a new message.
|
19
|
+
*/
|
20
|
+
export const RegisterResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 1);
|
21
|
+
/**
|
22
|
+
* Describes the message river.RegisterWebhookRequest.
|
23
|
+
* Use `create(RegisterWebhookRequestSchema)` to create a new message.
|
24
|
+
*/
|
25
|
+
export const RegisterWebhookRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 2);
|
26
|
+
/**
|
27
|
+
* Describes the message river.RegisterWebhookResponse.
|
28
|
+
* Use `create(RegisterWebhookResponseSchema)` to create a new message.
|
29
|
+
*/
|
30
|
+
export const RegisterWebhookResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 3);
|
31
|
+
/**
|
32
|
+
* Describes the message river.RotateSecretRequest.
|
33
|
+
* Use `create(RotateSecretRequestSchema)` to create a new message.
|
34
|
+
*/
|
35
|
+
export const RotateSecretRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 4);
|
36
|
+
/**
|
37
|
+
* Describes the message river.RotateSecretResponse.
|
38
|
+
* Use `create(RotateSecretResponseSchema)` to create a new message.
|
39
|
+
*/
|
40
|
+
export const RotateSecretResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 5);
|
41
|
+
/**
|
42
|
+
* Describes the message river.GetStatusRequest.
|
43
|
+
* Use `create(GetStatusRequestSchema)` to create a new message.
|
44
|
+
*/
|
45
|
+
export const GetStatusRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 6);
|
46
|
+
/**
|
47
|
+
* Describes the message river.GetStatusResponse.
|
48
|
+
* Use `create(GetStatusResponseSchema)` to create a new message.
|
49
|
+
*/
|
50
|
+
export const GetStatusResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 7);
|
51
|
+
/**
|
52
|
+
* Describes the message river.GetSessionRequest.
|
53
|
+
* Use `create(GetSessionRequestSchema)` to create a new message.
|
54
|
+
*/
|
55
|
+
export const GetSessionRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 8);
|
56
|
+
/**
|
57
|
+
* Describes the message river.GetSessionResponse.
|
58
|
+
* Use `create(GetSessionResponseSchema)` to create a new message.
|
59
|
+
*/
|
60
|
+
export const GetSessionResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 9);
|
61
|
+
/**
|
62
|
+
* Describes the message river.EventPayload.
|
63
|
+
* Use `create(EventPayloadSchema)` to create a new message.
|
64
|
+
*/
|
65
|
+
export const EventPayloadSchema = /*@__PURE__*/ messageDesc(file_apps, 10);
|
66
|
+
/**
|
67
|
+
* Describes the message river.EventPayload.Messages.
|
68
|
+
* Use `create(EventPayload_MessagesSchema)` to create a new message.
|
69
|
+
*/
|
70
|
+
export const EventPayload_MessagesSchema = /*@__PURE__*/ messageDesc(file_apps, 10, 0);
|
71
|
+
/**
|
72
|
+
* Describes the message river.EventPayload.SolicitKeys.
|
73
|
+
* Use `create(EventPayload_SolicitKeysSchema)` to create a new message.
|
74
|
+
*/
|
75
|
+
export const EventPayload_SolicitKeysSchema = /*@__PURE__*/ messageDesc(file_apps, 10, 1);
|
76
|
+
/**
|
77
|
+
* Describes the message river.EventsPayload.
|
78
|
+
* Use `create(EventsPayloadSchema)` to create a new message.
|
79
|
+
*/
|
80
|
+
export const EventsPayloadSchema = /*@__PURE__*/ messageDesc(file_apps, 11);
|
81
|
+
/**
|
82
|
+
* Describes the message river.AppServiceRequest.
|
83
|
+
* Use `create(AppServiceRequestSchema)` to create a new message.
|
84
|
+
*/
|
85
|
+
export const AppServiceRequestSchema = /*@__PURE__*/ messageDesc(file_apps, 12);
|
86
|
+
/**
|
87
|
+
* Describes the message river.AppServiceResponse.
|
88
|
+
* Use `create(AppServiceResponseSchema)` to create a new message.
|
89
|
+
*/
|
90
|
+
export const AppServiceResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 13);
|
91
|
+
/**
|
92
|
+
* Describes the message river.AppServiceResponse.InitializeResponse.
|
93
|
+
* Use `create(AppServiceResponse_InitializeResponseSchema)` to create a new message.
|
94
|
+
*/
|
95
|
+
export const AppServiceResponse_InitializeResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 13, 0);
|
96
|
+
/**
|
97
|
+
* Describes the message river.AppServiceResponse.StatusResponse.
|
98
|
+
* Use `create(AppServiceResponse_StatusResponseSchema)` to create a new message.
|
99
|
+
*/
|
100
|
+
export const AppServiceResponse_StatusResponseSchema = /*@__PURE__*/ messageDesc(file_apps, 13, 1);
|
101
|
+
/**
|
102
|
+
* AppRegistryService allows apps and app owners to register apps, and set app-related preferences for messages added
|
103
|
+
* to channels the app has membership in.
|
104
|
+
*
|
105
|
+
* These functions are all authenticated, with the exception of GetStatus, and require a session token to be passed
|
106
|
+
* through the authorization metadata.
|
107
|
+
* This session token can be obtained from the AuthenticationService. If the session token is missing or invalid an
|
108
|
+
* Err_UNAUTHENTICATED (code=16) is returned.
|
109
|
+
*
|
110
|
+
* @generated from service river.AppRegistryService
|
111
|
+
*/
|
112
|
+
export const AppRegistryService = /*@__PURE__*/ serviceDesc(file_apps, 0);
|
113
|
+
//# sourceMappingURL=apps_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"apps_pb.js","sourceRoot":"","sources":["../../src/gen/apps_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iEAAiE;AACjE,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAY,aAAa,CAC7C,QAAQ,CAAC,g2EAAg2E,E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