@dailydotdev/schema 0.3.24 → 0.3.26
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/dist/bragi/pipelines_pb.cjs +1 -1
- package/dist/bragi/pipelines_pb.d.cts +6 -0
- package/dist/bragi/pipelines_pb.d.ts +6 -0
- package/dist/bragi/pipelines_pb.js +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/skirnir/skirnir_connect.cjs +1 -1
- package/dist/skirnir/skirnir_connect.d.cts +53 -8
- package/dist/skirnir/skirnir_connect.d.ts +53 -8
- package/dist/skirnir/skirnir_connect.js +1 -1
- package/dist/skirnir/skirnir_pb.cjs +1 -1
- package/dist/skirnir/skirnir_pb.d.cts +68 -3
- package/dist/skirnir/skirnir_pb.d.ts +68 -3
- package/dist/skirnir/skirnir_pb.js +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
import { EnsureUsersRequest, EnsureUsersResponse, OpenConversationRequest, OpenConversationResponse, CloseConversationRequest, CloseConversationResponse, IssueTokenRequest, IssueTokenResponse } from './skirnir_pb.cjs';
|
|
1
|
+
import { EnsureUsersRequest, EnsureUsersResponse, OpenConversationRequest, OpenConversationResponse, CloseConversationRequest, CloseConversationResponse, IssueTokenRequest, IssueTokenResponse, SetUserBannedRequest, SetUserBannedResponse, DeleteUserRequest, DeleteUserResponse } from './skirnir_pb.cjs';
|
|
2
2
|
import '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Chat backend in front of ejabberd. Internal only: daily-api is the single
|
|
6
6
|
* caller, so clients never hold ejabberd admin access or reach this service.
|
|
7
7
|
*
|
|
8
|
+
* JIDs: ejabberd case-folds the local part, but daily.dev user ids are
|
|
9
|
+
* mixed-case, so plain lowercasing could map two users onto one account. The
|
|
10
|
+
* local part is therefore the user id with every uppercase letter replaced by
|
|
11
|
+
* "_" plus its lowercase form ("aB1" -> "a_b1"). User ids may only contain
|
|
12
|
+
* ASCII letters, digits and "-" (anything else is INVALID_ARGUMENT), so the
|
|
13
|
+
* mapping is reversible and non-ASCII case folding cannot collide. Callers
|
|
14
|
+
* use the JIDs returned here rather than building their own; clients decode
|
|
15
|
+
* a sender's user id the same way.
|
|
16
|
+
*
|
|
17
|
+
* Errors: INVALID_ARGUMENT for malformed requests (empty or invalid ids, a
|
|
18
|
+
* user paired with themselves, too many ids), UNAVAILABLE when ejabberd could
|
|
19
|
+
* not be reached and the call is safe to retry, INTERNAL for failures a retry
|
|
20
|
+
* will not fix. Every mutating RPC is idempotent.
|
|
21
|
+
*
|
|
8
22
|
* @generated from service skirnir.SkirnirService
|
|
9
23
|
*/
|
|
10
24
|
declare const SkirnirService: {
|
|
11
25
|
readonly typeName: "skirnir.SkirnirService";
|
|
12
26
|
readonly methods: {
|
|
13
27
|
/**
|
|
14
|
-
* Registers every given daily.dev user that has no chat account yet
|
|
15
|
-
*
|
|
16
|
-
*
|
|
28
|
+
* Registers every given daily.dev user that has no chat account yet, so it
|
|
29
|
+
* doubles as a lazy backfill for users who signed up before chat existed.
|
|
30
|
+
* At most 100 user_ids per call.
|
|
17
31
|
*
|
|
18
32
|
* @generated from rpc skirnir.SkirnirService.EnsureUsers
|
|
19
33
|
*/
|
|
@@ -25,8 +39,9 @@ declare const SkirnirService: {
|
|
|
25
39
|
};
|
|
26
40
|
/**
|
|
27
41
|
* Allows two users to message each other by adding each to the other's
|
|
28
|
-
* roster
|
|
29
|
-
*
|
|
42
|
+
* roster; ejabberd only delivers direct messages between roster contacts.
|
|
43
|
+
* Registers either account if missing. If the second roster write fails the
|
|
44
|
+
* first is rolled back, so a pairing is never one-sided.
|
|
30
45
|
*
|
|
31
46
|
* @generated from rpc skirnir.SkirnirService.OpenConversation
|
|
32
47
|
*/
|
|
@@ -38,7 +53,7 @@ declare const SkirnirService: {
|
|
|
38
53
|
};
|
|
39
54
|
/**
|
|
40
55
|
* Revokes an open conversation, e.g. after either user blocks the other.
|
|
41
|
-
*
|
|
56
|
+
* Closing a pair that never talked is a no-op.
|
|
42
57
|
*
|
|
43
58
|
* @generated from rpc skirnir.SkirnirService.CloseConversation
|
|
44
59
|
*/
|
|
@@ -50,7 +65,7 @@ declare const SkirnirService: {
|
|
|
50
65
|
};
|
|
51
66
|
/**
|
|
52
67
|
* Issues a short-lived token the client uses as its SASL X-OAUTH2 password
|
|
53
|
-
* on the websocket.
|
|
68
|
+
* on the websocket. Fails with FAILED_PRECONDITION for a banned user.
|
|
54
69
|
*
|
|
55
70
|
* @generated from rpc skirnir.SkirnirService.IssueToken
|
|
56
71
|
*/
|
|
@@ -60,6 +75,36 @@ declare const SkirnirService: {
|
|
|
60
75
|
readonly O: typeof IssueTokenResponse;
|
|
61
76
|
readonly kind: any;
|
|
62
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Bans or unbans a user's chat account. A ban ends their live sessions and
|
|
80
|
+
* makes IssueToken refuse them; the account, rosters and history are kept
|
|
81
|
+
* for an unban. A token issued before the ban can still log in until it
|
|
82
|
+
* expires: ejabberd only checks bans on password logins and cannot list a
|
|
83
|
+
* user's tokens on SQL storage. Closing that window is up to the ejabberd
|
|
84
|
+
* login policy module, so keep token TTLs short until it exists.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc skirnir.SkirnirService.SetUserBanned
|
|
87
|
+
*/
|
|
88
|
+
readonly setUserBanned: {
|
|
89
|
+
readonly name: "SetUserBanned";
|
|
90
|
+
readonly I: typeof SetUserBannedRequest;
|
|
91
|
+
readonly O: typeof SetUserBannedResponse;
|
|
92
|
+
readonly kind: any;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Deletes a user's chat account along with their rosters and message
|
|
96
|
+
* archive, and ends their sessions. Deleting a missing account is a no-op.
|
|
97
|
+
* As with bans, ejabberd does not check that the account still exists when
|
|
98
|
+
* an outstanding token logs in, so the same expiry window applies.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc skirnir.SkirnirService.DeleteUser
|
|
101
|
+
*/
|
|
102
|
+
readonly deleteUser: {
|
|
103
|
+
readonly name: "DeleteUser";
|
|
104
|
+
readonly I: typeof DeleteUserRequest;
|
|
105
|
+
readonly O: typeof DeleteUserResponse;
|
|
106
|
+
readonly kind: any;
|
|
107
|
+
};
|
|
63
108
|
};
|
|
64
109
|
};
|
|
65
110
|
|
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
import { EnsureUsersRequest, EnsureUsersResponse, OpenConversationRequest, OpenConversationResponse, CloseConversationRequest, CloseConversationResponse, IssueTokenRequest, IssueTokenResponse } from './skirnir_pb.js';
|
|
1
|
+
import { EnsureUsersRequest, EnsureUsersResponse, OpenConversationRequest, OpenConversationResponse, CloseConversationRequest, CloseConversationResponse, IssueTokenRequest, IssueTokenResponse, SetUserBannedRequest, SetUserBannedResponse, DeleteUserRequest, DeleteUserResponse } from './skirnir_pb.js';
|
|
2
2
|
import '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Chat backend in front of ejabberd. Internal only: daily-api is the single
|
|
6
6
|
* caller, so clients never hold ejabberd admin access or reach this service.
|
|
7
7
|
*
|
|
8
|
+
* JIDs: ejabberd case-folds the local part, but daily.dev user ids are
|
|
9
|
+
* mixed-case, so plain lowercasing could map two users onto one account. The
|
|
10
|
+
* local part is therefore the user id with every uppercase letter replaced by
|
|
11
|
+
* "_" plus its lowercase form ("aB1" -> "a_b1"). User ids may only contain
|
|
12
|
+
* ASCII letters, digits and "-" (anything else is INVALID_ARGUMENT), so the
|
|
13
|
+
* mapping is reversible and non-ASCII case folding cannot collide. Callers
|
|
14
|
+
* use the JIDs returned here rather than building their own; clients decode
|
|
15
|
+
* a sender's user id the same way.
|
|
16
|
+
*
|
|
17
|
+
* Errors: INVALID_ARGUMENT for malformed requests (empty or invalid ids, a
|
|
18
|
+
* user paired with themselves, too many ids), UNAVAILABLE when ejabberd could
|
|
19
|
+
* not be reached and the call is safe to retry, INTERNAL for failures a retry
|
|
20
|
+
* will not fix. Every mutating RPC is idempotent.
|
|
21
|
+
*
|
|
8
22
|
* @generated from service skirnir.SkirnirService
|
|
9
23
|
*/
|
|
10
24
|
declare const SkirnirService: {
|
|
11
25
|
readonly typeName: "skirnir.SkirnirService";
|
|
12
26
|
readonly methods: {
|
|
13
27
|
/**
|
|
14
|
-
* Registers every given daily.dev user that has no chat account yet
|
|
15
|
-
*
|
|
16
|
-
*
|
|
28
|
+
* Registers every given daily.dev user that has no chat account yet, so it
|
|
29
|
+
* doubles as a lazy backfill for users who signed up before chat existed.
|
|
30
|
+
* At most 100 user_ids per call.
|
|
17
31
|
*
|
|
18
32
|
* @generated from rpc skirnir.SkirnirService.EnsureUsers
|
|
19
33
|
*/
|
|
@@ -25,8 +39,9 @@ declare const SkirnirService: {
|
|
|
25
39
|
};
|
|
26
40
|
/**
|
|
27
41
|
* Allows two users to message each other by adding each to the other's
|
|
28
|
-
* roster
|
|
29
|
-
*
|
|
42
|
+
* roster; ejabberd only delivers direct messages between roster contacts.
|
|
43
|
+
* Registers either account if missing. If the second roster write fails the
|
|
44
|
+
* first is rolled back, so a pairing is never one-sided.
|
|
30
45
|
*
|
|
31
46
|
* @generated from rpc skirnir.SkirnirService.OpenConversation
|
|
32
47
|
*/
|
|
@@ -38,7 +53,7 @@ declare const SkirnirService: {
|
|
|
38
53
|
};
|
|
39
54
|
/**
|
|
40
55
|
* Revokes an open conversation, e.g. after either user blocks the other.
|
|
41
|
-
*
|
|
56
|
+
* Closing a pair that never talked is a no-op.
|
|
42
57
|
*
|
|
43
58
|
* @generated from rpc skirnir.SkirnirService.CloseConversation
|
|
44
59
|
*/
|
|
@@ -50,7 +65,7 @@ declare const SkirnirService: {
|
|
|
50
65
|
};
|
|
51
66
|
/**
|
|
52
67
|
* Issues a short-lived token the client uses as its SASL X-OAUTH2 password
|
|
53
|
-
* on the websocket.
|
|
68
|
+
* on the websocket. Fails with FAILED_PRECONDITION for a banned user.
|
|
54
69
|
*
|
|
55
70
|
* @generated from rpc skirnir.SkirnirService.IssueToken
|
|
56
71
|
*/
|
|
@@ -60,6 +75,36 @@ declare const SkirnirService: {
|
|
|
60
75
|
readonly O: typeof IssueTokenResponse;
|
|
61
76
|
readonly kind: any;
|
|
62
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Bans or unbans a user's chat account. A ban ends their live sessions and
|
|
80
|
+
* makes IssueToken refuse them; the account, rosters and history are kept
|
|
81
|
+
* for an unban. A token issued before the ban can still log in until it
|
|
82
|
+
* expires: ejabberd only checks bans on password logins and cannot list a
|
|
83
|
+
* user's tokens on SQL storage. Closing that window is up to the ejabberd
|
|
84
|
+
* login policy module, so keep token TTLs short until it exists.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc skirnir.SkirnirService.SetUserBanned
|
|
87
|
+
*/
|
|
88
|
+
readonly setUserBanned: {
|
|
89
|
+
readonly name: "SetUserBanned";
|
|
90
|
+
readonly I: typeof SetUserBannedRequest;
|
|
91
|
+
readonly O: typeof SetUserBannedResponse;
|
|
92
|
+
readonly kind: any;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Deletes a user's chat account along with their rosters and message
|
|
96
|
+
* archive, and ends their sessions. Deleting a missing account is a no-op.
|
|
97
|
+
* As with bans, ejabberd does not check that the account still exists when
|
|
98
|
+
* an outstanding token logs in, so the same expiry window applies.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc skirnir.SkirnirService.DeleteUser
|
|
101
|
+
*/
|
|
102
|
+
readonly deleteUser: {
|
|
103
|
+
readonly name: "DeleteUser";
|
|
104
|
+
readonly I: typeof DeleteUserRequest;
|
|
105
|
+
readonly O: typeof DeleteUserResponse;
|
|
106
|
+
readonly kind: any;
|
|
107
|
+
};
|
|
63
108
|
};
|
|
64
109
|
};
|
|
65
110
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CloseConversationRequest as
|
|
1
|
+
import{CloseConversationRequest as e,CloseConversationResponse as n,DeleteUserRequest as r,DeleteUserResponse as s,EnsureUsersRequest as o,EnsureUsersResponse as i,IssueTokenRequest as a,IssueTokenResponse as t,OpenConversationRequest as m,OpenConversationResponse as U,SetUserBannedRequest as d,SetUserBannedResponse as k}from"./skirnir_pb.ts";import{MethodKind as p}from"@bufbuild/protobuf";const u={typeName:"skirnir.SkirnirService",methods:{ensureUsers:{name:"EnsureUsers",I:o,O:i,kind:p.Unary},openConversation:{name:"OpenConversation",I:m,O:U,kind:p.Unary},closeConversation:{name:"CloseConversation",I:e,O:n,kind:p.Unary},issueToken:{name:"IssueToken",I:a,O:t,kind:p.Unary},setUserBanned:{name:"SetUserBanned",I:d,O:k,kind:p.Unary},deleteUser:{name:"DeleteUser",I:r,O:s,kind:p.Unary}}};export{u as SkirnirService};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={};((t,r)=>{for(var s in r)e(t,s,{get:r[s],enumerable:!0})})(i,{CloseConversationRequest:()=>m,CloseConversationResponse:()=>p,EnsureUsersRequest:()=>a,EnsureUsersResponse:()=>u,IssueTokenRequest:()=>
|
|
1
|
+
var t,e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={};((t,r)=>{for(var s in r)e(t,s,{get:r[s],enumerable:!0})})(i,{CloseConversationRequest:()=>m,CloseConversationResponse:()=>p,DeleteUserRequest:()=>y,DeleteUserResponse:()=>g,EnsureUsersRequest:()=>a,EnsureUsersResponse:()=>u,IssueTokenRequest:()=>f,IssueTokenResponse:()=>d,OpenConversationRequest:()=>c,OpenConversationResponse:()=>l,SetUserBannedRequest:()=>w,SetUserBannedResponse:()=>J}),module.exports=(t=i,((t,i,o,a)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let u of s(i))n.call(t,u)||u===o||e(t,u,{get:()=>i[u],enumerable:!(a=r(i,u))||a.enumerable});return t})(e({},"__esModule",{value:!0}),t));var o=require("@bufbuild/protobuf");class a extends o.Message{userIds=[];constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.EnsureUsersRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,e){return(new a).fromBinary(t,e)}static fromJson(t,e){return(new a).fromJson(t,e)}static fromJsonString(t,e){return(new a).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(a,t,e)}}class u extends o.Message{createdUserIds=[];constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.EnsureUsersResponse";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"created_user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,e){return(new u).fromBinary(t,e)}static fromJson(t,e){return(new u).fromJson(t,e)}static fromJsonString(t,e){return(new u).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(u,t,e)}}class c extends o.Message{userId="";peerId="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.OpenConversationRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new c).fromBinary(t,e)}static fromJson(t,e){return(new c).fromJson(t,e)}static fromJsonString(t,e){return(new c).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(c,t,e)}}class l extends o.Message{jid="";peerJid="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.OpenConversationResponse";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"jid",kind:"scalar",T:9},{no:2,name:"peer_jid",kind:"scalar",T:9}]));static fromBinary(t,e){return(new l).fromBinary(t,e)}static fromJson(t,e){return(new l).fromJson(t,e)}static fromJsonString(t,e){return(new l).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(l,t,e)}}class m extends o.Message{userId="";peerId="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.CloseConversationRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new m).fromBinary(t,e)}static fromJson(t,e){return(new m).fromJson(t,e)}static fromJsonString(t,e){return(new m).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(m,t,e)}}class p extends o.Message{constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.CloseConversationResponse";static fields=o.proto3.util.newFieldList((()=>[]));static fromBinary(t,e){return(new p).fromBinary(t,e)}static fromJson(t,e){return(new p).fromJson(t,e)}static fromJsonString(t,e){return(new p).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(p,t,e)}}class f extends o.Message{userId="";ttlSeconds=0;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.IssueTokenRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"ttl_seconds",kind:"scalar",T:13}]));static fromBinary(t,e){return(new f).fromBinary(t,e)}static fromJson(t,e){return(new f).fromJson(t,e)}static fromJsonString(t,e){return(new f).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(f,t,e)}}class d extends o.Message{token="";jid="";expiresAt=o.protoInt64.zero;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.IssueTokenResponse";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"token",kind:"scalar",T:9},{no:2,name:"jid",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"scalar",T:3}]));static fromBinary(t,e){return(new d).fromBinary(t,e)}static fromJson(t,e){return(new d).fromJson(t,e)}static fromJsonString(t,e){return(new d).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(d,t,e)}}class w extends o.Message{userId="";banned=!1;constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.SetUserBannedRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"banned",kind:"scalar",T:8}]));static fromBinary(t,e){return(new w).fromBinary(t,e)}static fromJson(t,e){return(new w).fromJson(t,e)}static fromJsonString(t,e){return(new w).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(w,t,e)}}class J extends o.Message{constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.SetUserBannedResponse";static fields=o.proto3.util.newFieldList((()=>[]));static fromBinary(t,e){return(new J).fromBinary(t,e)}static fromJson(t,e){return(new J).fromJson(t,e)}static fromJsonString(t,e){return(new J).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(J,t,e)}}class y extends o.Message{userId="";constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.DeleteUserRequest";static fields=o.proto3.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9}]));static fromBinary(t,e){return(new y).fromBinary(t,e)}static fromJson(t,e){return(new y).fromJson(t,e)}static fromJsonString(t,e){return(new y).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(y,t,e)}}class g extends o.Message{constructor(t){super(),o.proto3.util.initPartial(t,this)}static runtime=o.proto3;static typeName="skirnir.DeleteUserResponse";static fields=o.proto3.util.newFieldList((()=>[]));static fromBinary(t,e){return(new g).fromBinary(t,e)}static fromJson(t,e){return(new g).fromJson(t,e)}static fromJsonString(t,e){return(new g).fromJsonString(t,e)}static equals(t,e){return o.proto3.util.equals(g,t,e)}}
|
|
@@ -5,7 +5,7 @@ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValu
|
|
|
5
5
|
*/
|
|
6
6
|
declare class EnsureUsersRequest extends Message<EnsureUsersRequest> {
|
|
7
7
|
/**
|
|
8
|
-
* daily.dev user ids
|
|
8
|
+
* daily.dev user ids, at most 100
|
|
9
9
|
*
|
|
10
10
|
* @generated from field: repeated string user_ids = 1;
|
|
11
11
|
*/
|
|
@@ -131,7 +131,8 @@ declare class IssueTokenRequest extends Message<IssueTokenRequest> {
|
|
|
131
131
|
*/
|
|
132
132
|
userId: string;
|
|
133
133
|
/**
|
|
134
|
-
* 0
|
|
134
|
+
* 0 applies the default of 1 hour; values above 24 hours are capped to 24
|
|
135
|
+
* hours rather than rejected. The effective expiry is in the response.
|
|
135
136
|
*
|
|
136
137
|
* @generated from field: uint32 ttl_seconds = 2;
|
|
137
138
|
*/
|
|
@@ -174,5 +175,69 @@ declare class IssueTokenResponse extends Message<IssueTokenResponse> {
|
|
|
174
175
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IssueTokenResponse;
|
|
175
176
|
static equals(a: IssueTokenResponse | PlainMessage<IssueTokenResponse> | undefined, b: IssueTokenResponse | PlainMessage<IssueTokenResponse> | undefined): boolean;
|
|
176
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* @generated from message skirnir.SetUserBannedRequest
|
|
180
|
+
*/
|
|
181
|
+
declare class SetUserBannedRequest extends Message<SetUserBannedRequest> {
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string user_id = 1;
|
|
184
|
+
*/
|
|
185
|
+
userId: string;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: bool banned = 2;
|
|
188
|
+
*/
|
|
189
|
+
banned: boolean;
|
|
190
|
+
constructor(data?: PartialMessage<SetUserBannedRequest>);
|
|
191
|
+
static readonly runtime: typeof proto3;
|
|
192
|
+
static readonly typeName = "skirnir.SetUserBannedRequest";
|
|
193
|
+
static readonly fields: FieldList;
|
|
194
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetUserBannedRequest;
|
|
195
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetUserBannedRequest;
|
|
196
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetUserBannedRequest;
|
|
197
|
+
static equals(a: SetUserBannedRequest | PlainMessage<SetUserBannedRequest> | undefined, b: SetUserBannedRequest | PlainMessage<SetUserBannedRequest> | undefined): boolean;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message skirnir.SetUserBannedResponse
|
|
201
|
+
*/
|
|
202
|
+
declare class SetUserBannedResponse extends Message<SetUserBannedResponse> {
|
|
203
|
+
constructor(data?: PartialMessage<SetUserBannedResponse>);
|
|
204
|
+
static readonly runtime: typeof proto3;
|
|
205
|
+
static readonly typeName = "skirnir.SetUserBannedResponse";
|
|
206
|
+
static readonly fields: FieldList;
|
|
207
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetUserBannedResponse;
|
|
208
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetUserBannedResponse;
|
|
209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetUserBannedResponse;
|
|
210
|
+
static equals(a: SetUserBannedResponse | PlainMessage<SetUserBannedResponse> | undefined, b: SetUserBannedResponse | PlainMessage<SetUserBannedResponse> | undefined): boolean;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message skirnir.DeleteUserRequest
|
|
214
|
+
*/
|
|
215
|
+
declare class DeleteUserRequest extends Message<DeleteUserRequest> {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string user_id = 1;
|
|
218
|
+
*/
|
|
219
|
+
userId: string;
|
|
220
|
+
constructor(data?: PartialMessage<DeleteUserRequest>);
|
|
221
|
+
static readonly runtime: typeof proto3;
|
|
222
|
+
static readonly typeName = "skirnir.DeleteUserRequest";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserRequest;
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
227
|
+
static equals(a: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined, b: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined): boolean;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message skirnir.DeleteUserResponse
|
|
231
|
+
*/
|
|
232
|
+
declare class DeleteUserResponse extends Message<DeleteUserResponse> {
|
|
233
|
+
constructor(data?: PartialMessage<DeleteUserResponse>);
|
|
234
|
+
static readonly runtime: typeof proto3;
|
|
235
|
+
static readonly typeName = "skirnir.DeleteUserResponse";
|
|
236
|
+
static readonly fields: FieldList;
|
|
237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserResponse;
|
|
238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
240
|
+
static equals(a: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined, b: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined): boolean;
|
|
241
|
+
}
|
|
177
242
|
|
|
178
|
-
export { CloseConversationRequest, CloseConversationResponse, EnsureUsersRequest, EnsureUsersResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse };
|
|
243
|
+
export { CloseConversationRequest, CloseConversationResponse, DeleteUserRequest, DeleteUserResponse, EnsureUsersRequest, EnsureUsersResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse, SetUserBannedRequest, SetUserBannedResponse };
|
|
@@ -5,7 +5,7 @@ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValu
|
|
|
5
5
|
*/
|
|
6
6
|
declare class EnsureUsersRequest extends Message<EnsureUsersRequest> {
|
|
7
7
|
/**
|
|
8
|
-
* daily.dev user ids
|
|
8
|
+
* daily.dev user ids, at most 100
|
|
9
9
|
*
|
|
10
10
|
* @generated from field: repeated string user_ids = 1;
|
|
11
11
|
*/
|
|
@@ -131,7 +131,8 @@ declare class IssueTokenRequest extends Message<IssueTokenRequest> {
|
|
|
131
131
|
*/
|
|
132
132
|
userId: string;
|
|
133
133
|
/**
|
|
134
|
-
* 0
|
|
134
|
+
* 0 applies the default of 1 hour; values above 24 hours are capped to 24
|
|
135
|
+
* hours rather than rejected. The effective expiry is in the response.
|
|
135
136
|
*
|
|
136
137
|
* @generated from field: uint32 ttl_seconds = 2;
|
|
137
138
|
*/
|
|
@@ -174,5 +175,69 @@ declare class IssueTokenResponse extends Message<IssueTokenResponse> {
|
|
|
174
175
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IssueTokenResponse;
|
|
175
176
|
static equals(a: IssueTokenResponse | PlainMessage<IssueTokenResponse> | undefined, b: IssueTokenResponse | PlainMessage<IssueTokenResponse> | undefined): boolean;
|
|
176
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* @generated from message skirnir.SetUserBannedRequest
|
|
180
|
+
*/
|
|
181
|
+
declare class SetUserBannedRequest extends Message<SetUserBannedRequest> {
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string user_id = 1;
|
|
184
|
+
*/
|
|
185
|
+
userId: string;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: bool banned = 2;
|
|
188
|
+
*/
|
|
189
|
+
banned: boolean;
|
|
190
|
+
constructor(data?: PartialMessage<SetUserBannedRequest>);
|
|
191
|
+
static readonly runtime: typeof proto3;
|
|
192
|
+
static readonly typeName = "skirnir.SetUserBannedRequest";
|
|
193
|
+
static readonly fields: FieldList;
|
|
194
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetUserBannedRequest;
|
|
195
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetUserBannedRequest;
|
|
196
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetUserBannedRequest;
|
|
197
|
+
static equals(a: SetUserBannedRequest | PlainMessage<SetUserBannedRequest> | undefined, b: SetUserBannedRequest | PlainMessage<SetUserBannedRequest> | undefined): boolean;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message skirnir.SetUserBannedResponse
|
|
201
|
+
*/
|
|
202
|
+
declare class SetUserBannedResponse extends Message<SetUserBannedResponse> {
|
|
203
|
+
constructor(data?: PartialMessage<SetUserBannedResponse>);
|
|
204
|
+
static readonly runtime: typeof proto3;
|
|
205
|
+
static readonly typeName = "skirnir.SetUserBannedResponse";
|
|
206
|
+
static readonly fields: FieldList;
|
|
207
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetUserBannedResponse;
|
|
208
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetUserBannedResponse;
|
|
209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetUserBannedResponse;
|
|
210
|
+
static equals(a: SetUserBannedResponse | PlainMessage<SetUserBannedResponse> | undefined, b: SetUserBannedResponse | PlainMessage<SetUserBannedResponse> | undefined): boolean;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @generated from message skirnir.DeleteUserRequest
|
|
214
|
+
*/
|
|
215
|
+
declare class DeleteUserRequest extends Message<DeleteUserRequest> {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string user_id = 1;
|
|
218
|
+
*/
|
|
219
|
+
userId: string;
|
|
220
|
+
constructor(data?: PartialMessage<DeleteUserRequest>);
|
|
221
|
+
static readonly runtime: typeof proto3;
|
|
222
|
+
static readonly typeName = "skirnir.DeleteUserRequest";
|
|
223
|
+
static readonly fields: FieldList;
|
|
224
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserRequest;
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
226
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
227
|
+
static equals(a: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined, b: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined): boolean;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message skirnir.DeleteUserResponse
|
|
231
|
+
*/
|
|
232
|
+
declare class DeleteUserResponse extends Message<DeleteUserResponse> {
|
|
233
|
+
constructor(data?: PartialMessage<DeleteUserResponse>);
|
|
234
|
+
static readonly runtime: typeof proto3;
|
|
235
|
+
static readonly typeName = "skirnir.DeleteUserResponse";
|
|
236
|
+
static readonly fields: FieldList;
|
|
237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserResponse;
|
|
238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
240
|
+
static equals(a: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined, b: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined): boolean;
|
|
241
|
+
}
|
|
177
242
|
|
|
178
|
-
export { CloseConversationRequest, CloseConversationResponse, EnsureUsersRequest, EnsureUsersResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse };
|
|
243
|
+
export { CloseConversationRequest, CloseConversationResponse, DeleteUserRequest, DeleteUserResponse, EnsureUsersRequest, EnsureUsersResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse, SetUserBannedRequest, SetUserBannedResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Message as t,proto3 as r,protoInt64 as s}from"@bufbuild/protobuf";class e extends t{userIds=[];constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.EnsureUsersRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,r){return(new e).fromBinary(t,r)}static fromJson(t,r){return(new e).fromJson(t,r)}static fromJsonString(t,r){return(new e).fromJsonString(t,r)}static equals(t,s){return r.util.equals(e,t,s)}}class n extends t{createdUserIds=[];constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.EnsureUsersResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"created_user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,r){return(new n).fromBinary(t,r)}static fromJson(t,r){return(new n).fromJson(t,r)}static fromJsonString(t,r){return(new n).fromJsonString(t,r)}static equals(t,s){return r.util.equals(n,t,s)}}class i extends t{userId="";peerId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.OpenConversationRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,s){return r.util.equals(i,t,s)}}class a extends t{jid="";peerJid="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.OpenConversationResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"jid",kind:"scalar",T:9},{no:2,name:"peer_jid",kind:"scalar",T:9}]));static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,s){return r.util.equals(a,t,s)}}class o extends t{userId="";peerId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CloseConversationRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new o).fromBinary(t,r)}static fromJson(t,r){return(new o).fromJson(t,r)}static fromJsonString(t,r){return(new o).fromJsonString(t,r)}static equals(t,s){return r.util.equals(o,t,s)}}class u extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CloseConversationResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,s){return r.util.equals(u,t,s)}}class c extends t{userId="";ttlSeconds=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.IssueTokenRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"ttl_seconds",kind:"scalar",T:13}]));static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,s){return r.util.equals(c,t,s)}}class l extends t{token="";jid="";expiresAt=s.zero;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.IssueTokenResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"token",kind:"scalar",T:9},{no:2,name:"jid",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"scalar",T:3}]));static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,s){return r.util.equals(l,t,s)}}export{o as CloseConversationRequest,u as CloseConversationResponse,e as EnsureUsersRequest,n as EnsureUsersResponse,c as IssueTokenRequest,l as IssueTokenResponse,i as OpenConversationRequest,a as OpenConversationResponse};
|
|
1
|
+
import{Message as t,proto3 as r,protoInt64 as s}from"@bufbuild/protobuf";class e extends t{userIds=[];constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.EnsureUsersRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,r){return(new e).fromBinary(t,r)}static fromJson(t,r){return(new e).fromJson(t,r)}static fromJsonString(t,r){return(new e).fromJsonString(t,r)}static equals(t,s){return r.util.equals(e,t,s)}}class n extends t{createdUserIds=[];constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.EnsureUsersResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"created_user_ids",kind:"scalar",T:9,repeated:!0}]));static fromBinary(t,r){return(new n).fromBinary(t,r)}static fromJson(t,r){return(new n).fromJson(t,r)}static fromJsonString(t,r){return(new n).fromJsonString(t,r)}static equals(t,s){return r.util.equals(n,t,s)}}class i extends t{userId="";peerId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.OpenConversationRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,s){return r.util.equals(i,t,s)}}class a extends t{jid="";peerJid="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.OpenConversationResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"jid",kind:"scalar",T:9},{no:2,name:"peer_jid",kind:"scalar",T:9}]));static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,s){return r.util.equals(a,t,s)}}class o extends t{userId="";peerId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CloseConversationRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"peer_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new o).fromBinary(t,r)}static fromJson(t,r){return(new o).fromJson(t,r)}static fromJsonString(t,r){return(new o).fromJsonString(t,r)}static equals(t,s){return r.util.equals(o,t,s)}}class u extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CloseConversationResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,s){return r.util.equals(u,t,s)}}class c extends t{userId="";ttlSeconds=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.IssueTokenRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"ttl_seconds",kind:"scalar",T:13}]));static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,s){return r.util.equals(c,t,s)}}class l extends t{token="";jid="";expiresAt=s.zero;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.IssueTokenResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"token",kind:"scalar",T:9},{no:2,name:"jid",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"scalar",T:3}]));static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,s){return r.util.equals(l,t,s)}}class m extends t{userId="";banned=!1;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.SetUserBannedRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9},{no:2,name:"banned",kind:"scalar",T:8}]));static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,s){return r.util.equals(m,t,s)}}class d extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.SetUserBannedResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,s){return r.util.equals(d,t,s)}}class f extends t{userId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.DeleteUserRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"user_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,s){return r.util.equals(f,t,s)}}class J extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.DeleteUserResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,s){return r.util.equals(J,t,s)}}export{o as CloseConversationRequest,u as CloseConversationResponse,f as DeleteUserRequest,J as DeleteUserResponse,e as EnsureUsersRequest,n as EnsureUsersResponse,c as IssueTokenRequest,l as IssueTokenResponse,i as OpenConversationRequest,a as OpenConversationResponse,m as SetUserBannedRequest,d as SetUserBannedResponse};
|