@maxischmaxi/maxforms-api-client 0.0.4
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/gen/auth/v1/auth_connect.d.ts +232 -0
- package/dist/gen/auth/v1/auth_connect.d.ts.map +1 -0
- package/dist/gen/auth/v1/auth_connect.js +236 -0
- package/dist/gen/auth/v1/auth_connect.js.map +1 -0
- package/dist/gen/auth/v1/auth_pb.d.ts +1072 -0
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/auth_pb.js +1779 -0
- package/dist/gen/auth/v1/auth_pb.js.map +1 -0
- package/dist/gen/forms/v1/forms_connect.d.ts +200 -0
- package/dist/gen/forms/v1/forms_connect.d.ts.map +1 -0
- package/dist/gen/forms/v1/forms_connect.js +204 -0
- package/dist/gen/forms/v1/forms_connect.js.map +1 -0
- package/dist/gen/forms/v1/forms_pb.d.ts +1154 -0
- package/dist/gen/forms/v1/forms_pb.d.ts.map +1 -0
- package/dist/gen/forms/v1/forms_pb.js +1779 -0
- package/dist/gen/forms/v1/forms_pb.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,1072 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from enum auth.v1.Role
|
|
5
|
+
*/
|
|
6
|
+
export declare enum Role {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from enum value: ROLE_UNSPECIFIED = 0;
|
|
9
|
+
*/
|
|
10
|
+
UNSPECIFIED = 0,
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum value: ROLE_OWNER = 1;
|
|
13
|
+
*/
|
|
14
|
+
OWNER = 1,
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: ROLE_MEMBER = 2;
|
|
17
|
+
*/
|
|
18
|
+
MEMBER = 2
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum auth.v1.ApiKeyScope
|
|
22
|
+
*/
|
|
23
|
+
export declare enum ApiKeyScope {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: API_KEY_SCOPE_UNSPECIFIED = 0;
|
|
26
|
+
*/
|
|
27
|
+
UNSPECIFIED = 0,
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: API_KEY_SCOPE_FORMS_READ = 1;
|
|
30
|
+
*/
|
|
31
|
+
FORMS_READ = 1,
|
|
32
|
+
/**
|
|
33
|
+
* @generated from enum value: API_KEY_SCOPE_FORMS_SUBMIT = 2;
|
|
34
|
+
*/
|
|
35
|
+
FORMS_SUBMIT = 2
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @generated from message auth.v1.User
|
|
39
|
+
*/
|
|
40
|
+
export declare class User extends Message<User> {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string id = 1;
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string email = 2;
|
|
47
|
+
*/
|
|
48
|
+
email: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string name = 3;
|
|
51
|
+
*/
|
|
52
|
+
name: string;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: bool email_verified = 4;
|
|
55
|
+
*/
|
|
56
|
+
emailVerified: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: bool blocked = 5;
|
|
59
|
+
*/
|
|
60
|
+
blocked: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: string blocked_reason = 6;
|
|
63
|
+
*/
|
|
64
|
+
blockedReason: string;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
67
|
+
*/
|
|
68
|
+
createdAt?: Timestamp;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
71
|
+
*/
|
|
72
|
+
updatedAt?: Timestamp;
|
|
73
|
+
/**
|
|
74
|
+
* Timestamp when last verification email was sent (for rate-limiting)
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: google.protobuf.Timestamp verification_email_sent_at = 9;
|
|
77
|
+
*/
|
|
78
|
+
verificationEmailSentAt?: Timestamp;
|
|
79
|
+
constructor(data?: PartialMessage<User>);
|
|
80
|
+
static readonly runtime: typeof proto3;
|
|
81
|
+
static readonly typeName = "auth.v1.User";
|
|
82
|
+
static readonly fields: FieldList;
|
|
83
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
|
|
84
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
|
|
85
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
|
|
86
|
+
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @generated from message auth.v1.Organization
|
|
90
|
+
*/
|
|
91
|
+
export declare class Organization extends Message<Organization> {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string id = 1;
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string name = 2;
|
|
98
|
+
*/
|
|
99
|
+
name: string;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string slug = 3;
|
|
102
|
+
*/
|
|
103
|
+
slug: string;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: bool personal = 4;
|
|
106
|
+
*/
|
|
107
|
+
personal: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: auth.v1.Role current_user_role = 5;
|
|
110
|
+
*/
|
|
111
|
+
currentUserRole: Role;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
114
|
+
*/
|
|
115
|
+
createdAt?: Timestamp;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
118
|
+
*/
|
|
119
|
+
updatedAt?: Timestamp;
|
|
120
|
+
constructor(data?: PartialMessage<Organization>);
|
|
121
|
+
static readonly runtime: typeof proto3;
|
|
122
|
+
static readonly typeName = "auth.v1.Organization";
|
|
123
|
+
static readonly fields: FieldList;
|
|
124
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Organization;
|
|
125
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Organization;
|
|
126
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Organization;
|
|
127
|
+
static equals(a: Organization | PlainMessage<Organization> | undefined, b: Organization | PlainMessage<Organization> | undefined): boolean;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @generated from message auth.v1.Member
|
|
131
|
+
*/
|
|
132
|
+
export declare class Member extends Message<Member> {
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string id = 1;
|
|
135
|
+
*/
|
|
136
|
+
id: string;
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string user_id = 2;
|
|
139
|
+
*/
|
|
140
|
+
userId: string;
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string email = 3;
|
|
143
|
+
*/
|
|
144
|
+
email: string;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string name = 4;
|
|
147
|
+
*/
|
|
148
|
+
name: string;
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: auth.v1.Role role = 5;
|
|
151
|
+
*/
|
|
152
|
+
role: Role;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: google.protobuf.Timestamp joined_at = 6;
|
|
155
|
+
*/
|
|
156
|
+
joinedAt?: Timestamp;
|
|
157
|
+
constructor(data?: PartialMessage<Member>);
|
|
158
|
+
static readonly runtime: typeof proto3;
|
|
159
|
+
static readonly typeName = "auth.v1.Member";
|
|
160
|
+
static readonly fields: FieldList;
|
|
161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Member;
|
|
162
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Member;
|
|
163
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Member;
|
|
164
|
+
static equals(a: Member | PlainMessage<Member> | undefined, b: Member | PlainMessage<Member> | undefined): boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message auth.v1.Invitation
|
|
168
|
+
*/
|
|
169
|
+
export declare class Invitation extends Message<Invitation> {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string id = 1;
|
|
172
|
+
*/
|
|
173
|
+
id: string;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string email = 2;
|
|
176
|
+
*/
|
|
177
|
+
email: string;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: auth.v1.Role role = 3;
|
|
180
|
+
*/
|
|
181
|
+
role: Role;
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: string invited_by_name = 4;
|
|
184
|
+
*/
|
|
185
|
+
invitedByName: string;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 5;
|
|
188
|
+
*/
|
|
189
|
+
expiresAt?: Timestamp;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
192
|
+
*/
|
|
193
|
+
createdAt?: Timestamp;
|
|
194
|
+
constructor(data?: PartialMessage<Invitation>);
|
|
195
|
+
static readonly runtime: typeof proto3;
|
|
196
|
+
static readonly typeName = "auth.v1.Invitation";
|
|
197
|
+
static readonly fields: FieldList;
|
|
198
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Invitation;
|
|
199
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Invitation;
|
|
200
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Invitation;
|
|
201
|
+
static equals(a: Invitation | PlainMessage<Invitation> | undefined, b: Invitation | PlainMessage<Invitation> | undefined): boolean;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @generated from message auth.v1.RegisterRequest
|
|
205
|
+
*/
|
|
206
|
+
export declare class RegisterRequest extends Message<RegisterRequest> {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string email = 1;
|
|
209
|
+
*/
|
|
210
|
+
email: string;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string password = 2;
|
|
213
|
+
*/
|
|
214
|
+
password: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string name = 3;
|
|
217
|
+
*/
|
|
218
|
+
name: string;
|
|
219
|
+
constructor(data?: PartialMessage<RegisterRequest>);
|
|
220
|
+
static readonly runtime: typeof proto3;
|
|
221
|
+
static readonly typeName = "auth.v1.RegisterRequest";
|
|
222
|
+
static readonly fields: FieldList;
|
|
223
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRequest;
|
|
224
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRequest;
|
|
225
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRequest;
|
|
226
|
+
static equals(a: RegisterRequest | PlainMessage<RegisterRequest> | undefined, b: RegisterRequest | PlainMessage<RegisterRequest> | undefined): boolean;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message auth.v1.RegisterResponse
|
|
230
|
+
*/
|
|
231
|
+
export declare class RegisterResponse extends Message<RegisterResponse> {
|
|
232
|
+
/**
|
|
233
|
+
* Note: Session cookie is set via HTTP header, not in response body
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: auth.v1.User user = 1;
|
|
236
|
+
*/
|
|
237
|
+
user?: User;
|
|
238
|
+
constructor(data?: PartialMessage<RegisterResponse>);
|
|
239
|
+
static readonly runtime: typeof proto3;
|
|
240
|
+
static readonly typeName = "auth.v1.RegisterResponse";
|
|
241
|
+
static readonly fields: FieldList;
|
|
242
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterResponse;
|
|
243
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterResponse;
|
|
244
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterResponse;
|
|
245
|
+
static equals(a: RegisterResponse | PlainMessage<RegisterResponse> | undefined, b: RegisterResponse | PlainMessage<RegisterResponse> | undefined): boolean;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @generated from message auth.v1.LoginRequest
|
|
249
|
+
*/
|
|
250
|
+
export declare class LoginRequest extends Message<LoginRequest> {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: string email = 1;
|
|
253
|
+
*/
|
|
254
|
+
email: string;
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string password = 2;
|
|
257
|
+
*/
|
|
258
|
+
password: string;
|
|
259
|
+
constructor(data?: PartialMessage<LoginRequest>);
|
|
260
|
+
static readonly runtime: typeof proto3;
|
|
261
|
+
static readonly typeName = "auth.v1.LoginRequest";
|
|
262
|
+
static readonly fields: FieldList;
|
|
263
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginRequest;
|
|
264
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginRequest;
|
|
265
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginRequest;
|
|
266
|
+
static equals(a: LoginRequest | PlainMessage<LoginRequest> | undefined, b: LoginRequest | PlainMessage<LoginRequest> | undefined): boolean;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message auth.v1.LoginResponse
|
|
270
|
+
*/
|
|
271
|
+
export declare class LoginResponse extends Message<LoginResponse> {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: auth.v1.User user = 1;
|
|
274
|
+
*/
|
|
275
|
+
user?: User;
|
|
276
|
+
/**
|
|
277
|
+
* Note: Session cookie is set via HTTP header
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: auth.v1.Organization current_organization = 2;
|
|
280
|
+
*/
|
|
281
|
+
currentOrganization?: Organization;
|
|
282
|
+
constructor(data?: PartialMessage<LoginResponse>);
|
|
283
|
+
static readonly runtime: typeof proto3;
|
|
284
|
+
static readonly typeName = "auth.v1.LoginResponse";
|
|
285
|
+
static readonly fields: FieldList;
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginResponse;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginResponse;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginResponse;
|
|
289
|
+
static equals(a: LoginResponse | PlainMessage<LoginResponse> | undefined, b: LoginResponse | PlainMessage<LoginResponse> | undefined): boolean;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @generated from message auth.v1.LogoutRequest
|
|
293
|
+
*/
|
|
294
|
+
export declare class LogoutRequest extends Message<LogoutRequest> {
|
|
295
|
+
constructor(data?: PartialMessage<LogoutRequest>);
|
|
296
|
+
static readonly runtime: typeof proto3;
|
|
297
|
+
static readonly typeName = "auth.v1.LogoutRequest";
|
|
298
|
+
static readonly fields: FieldList;
|
|
299
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogoutRequest;
|
|
300
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogoutRequest;
|
|
301
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogoutRequest;
|
|
302
|
+
static equals(a: LogoutRequest | PlainMessage<LogoutRequest> | undefined, b: LogoutRequest | PlainMessage<LogoutRequest> | undefined): boolean;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* @generated from message auth.v1.LogoutResponse
|
|
306
|
+
*/
|
|
307
|
+
export declare class LogoutResponse extends Message<LogoutResponse> {
|
|
308
|
+
constructor(data?: PartialMessage<LogoutResponse>);
|
|
309
|
+
static readonly runtime: typeof proto3;
|
|
310
|
+
static readonly typeName = "auth.v1.LogoutResponse";
|
|
311
|
+
static readonly fields: FieldList;
|
|
312
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogoutResponse;
|
|
313
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogoutResponse;
|
|
314
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogoutResponse;
|
|
315
|
+
static equals(a: LogoutResponse | PlainMessage<LogoutResponse> | undefined, b: LogoutResponse | PlainMessage<LogoutResponse> | undefined): boolean;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message auth.v1.GetCurrentUserRequest
|
|
319
|
+
*/
|
|
320
|
+
export declare class GetCurrentUserRequest extends Message<GetCurrentUserRequest> {
|
|
321
|
+
constructor(data?: PartialMessage<GetCurrentUserRequest>);
|
|
322
|
+
static readonly runtime: typeof proto3;
|
|
323
|
+
static readonly typeName = "auth.v1.GetCurrentUserRequest";
|
|
324
|
+
static readonly fields: FieldList;
|
|
325
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCurrentUserRequest;
|
|
326
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCurrentUserRequest;
|
|
327
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCurrentUserRequest;
|
|
328
|
+
static equals(a: GetCurrentUserRequest | PlainMessage<GetCurrentUserRequest> | undefined, b: GetCurrentUserRequest | PlainMessage<GetCurrentUserRequest> | undefined): boolean;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* @generated from message auth.v1.GetCurrentUserResponse
|
|
332
|
+
*/
|
|
333
|
+
export declare class GetCurrentUserResponse extends Message<GetCurrentUserResponse> {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: auth.v1.User user = 1;
|
|
336
|
+
*/
|
|
337
|
+
user?: User;
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: auth.v1.Organization current_organization = 2;
|
|
340
|
+
*/
|
|
341
|
+
currentOrganization?: Organization;
|
|
342
|
+
constructor(data?: PartialMessage<GetCurrentUserResponse>);
|
|
343
|
+
static readonly runtime: typeof proto3;
|
|
344
|
+
static readonly typeName = "auth.v1.GetCurrentUserResponse";
|
|
345
|
+
static readonly fields: FieldList;
|
|
346
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCurrentUserResponse;
|
|
347
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCurrentUserResponse;
|
|
348
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCurrentUserResponse;
|
|
349
|
+
static equals(a: GetCurrentUserResponse | PlainMessage<GetCurrentUserResponse> | undefined, b: GetCurrentUserResponse | PlainMessage<GetCurrentUserResponse> | undefined): boolean;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message auth.v1.VerifyEmailRequest
|
|
353
|
+
*/
|
|
354
|
+
export declare class VerifyEmailRequest extends Message<VerifyEmailRequest> {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: string token = 1;
|
|
357
|
+
*/
|
|
358
|
+
token: string;
|
|
359
|
+
constructor(data?: PartialMessage<VerifyEmailRequest>);
|
|
360
|
+
static readonly runtime: typeof proto3;
|
|
361
|
+
static readonly typeName = "auth.v1.VerifyEmailRequest";
|
|
362
|
+
static readonly fields: FieldList;
|
|
363
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEmailRequest;
|
|
364
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEmailRequest;
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEmailRequest;
|
|
366
|
+
static equals(a: VerifyEmailRequest | PlainMessage<VerifyEmailRequest> | undefined, b: VerifyEmailRequest | PlainMessage<VerifyEmailRequest> | undefined): boolean;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message auth.v1.VerifyEmailResponse
|
|
370
|
+
*/
|
|
371
|
+
export declare class VerifyEmailResponse extends Message<VerifyEmailResponse> {
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: auth.v1.User user = 1;
|
|
374
|
+
*/
|
|
375
|
+
user?: User;
|
|
376
|
+
constructor(data?: PartialMessage<VerifyEmailResponse>);
|
|
377
|
+
static readonly runtime: typeof proto3;
|
|
378
|
+
static readonly typeName = "auth.v1.VerifyEmailResponse";
|
|
379
|
+
static readonly fields: FieldList;
|
|
380
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyEmailResponse;
|
|
381
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyEmailResponse;
|
|
382
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyEmailResponse;
|
|
383
|
+
static equals(a: VerifyEmailResponse | PlainMessage<VerifyEmailResponse> | undefined, b: VerifyEmailResponse | PlainMessage<VerifyEmailResponse> | undefined): boolean;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* @generated from message auth.v1.ResendVerificationEmailRequest
|
|
387
|
+
*/
|
|
388
|
+
export declare class ResendVerificationEmailRequest extends Message<ResendVerificationEmailRequest> {
|
|
389
|
+
constructor(data?: PartialMessage<ResendVerificationEmailRequest>);
|
|
390
|
+
static readonly runtime: typeof proto3;
|
|
391
|
+
static readonly typeName = "auth.v1.ResendVerificationEmailRequest";
|
|
392
|
+
static readonly fields: FieldList;
|
|
393
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResendVerificationEmailRequest;
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResendVerificationEmailRequest;
|
|
395
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResendVerificationEmailRequest;
|
|
396
|
+
static equals(a: ResendVerificationEmailRequest | PlainMessage<ResendVerificationEmailRequest> | undefined, b: ResendVerificationEmailRequest | PlainMessage<ResendVerificationEmailRequest> | undefined): boolean;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* @generated from message auth.v1.ResendVerificationEmailResponse
|
|
400
|
+
*/
|
|
401
|
+
export declare class ResendVerificationEmailResponse extends Message<ResendVerificationEmailResponse> {
|
|
402
|
+
constructor(data?: PartialMessage<ResendVerificationEmailResponse>);
|
|
403
|
+
static readonly runtime: typeof proto3;
|
|
404
|
+
static readonly typeName = "auth.v1.ResendVerificationEmailResponse";
|
|
405
|
+
static readonly fields: FieldList;
|
|
406
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResendVerificationEmailResponse;
|
|
407
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResendVerificationEmailResponse;
|
|
408
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResendVerificationEmailResponse;
|
|
409
|
+
static equals(a: ResendVerificationEmailResponse | PlainMessage<ResendVerificationEmailResponse> | undefined, b: ResendVerificationEmailResponse | PlainMessage<ResendVerificationEmailResponse> | undefined): boolean;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* @generated from message auth.v1.RequestPasswordResetRequest
|
|
413
|
+
*/
|
|
414
|
+
export declare class RequestPasswordResetRequest extends Message<RequestPasswordResetRequest> {
|
|
415
|
+
/**
|
|
416
|
+
* @generated from field: string email = 1;
|
|
417
|
+
*/
|
|
418
|
+
email: string;
|
|
419
|
+
constructor(data?: PartialMessage<RequestPasswordResetRequest>);
|
|
420
|
+
static readonly runtime: typeof proto3;
|
|
421
|
+
static readonly typeName = "auth.v1.RequestPasswordResetRequest";
|
|
422
|
+
static readonly fields: FieldList;
|
|
423
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestPasswordResetRequest;
|
|
424
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestPasswordResetRequest;
|
|
425
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestPasswordResetRequest;
|
|
426
|
+
static equals(a: RequestPasswordResetRequest | PlainMessage<RequestPasswordResetRequest> | undefined, b: RequestPasswordResetRequest | PlainMessage<RequestPasswordResetRequest> | undefined): boolean;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Always returns success to prevent email enumeration
|
|
430
|
+
*
|
|
431
|
+
* @generated from message auth.v1.RequestPasswordResetResponse
|
|
432
|
+
*/
|
|
433
|
+
export declare class RequestPasswordResetResponse extends Message<RequestPasswordResetResponse> {
|
|
434
|
+
constructor(data?: PartialMessage<RequestPasswordResetResponse>);
|
|
435
|
+
static readonly runtime: typeof proto3;
|
|
436
|
+
static readonly typeName = "auth.v1.RequestPasswordResetResponse";
|
|
437
|
+
static readonly fields: FieldList;
|
|
438
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RequestPasswordResetResponse;
|
|
439
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RequestPasswordResetResponse;
|
|
440
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RequestPasswordResetResponse;
|
|
441
|
+
static equals(a: RequestPasswordResetResponse | PlainMessage<RequestPasswordResetResponse> | undefined, b: RequestPasswordResetResponse | PlainMessage<RequestPasswordResetResponse> | undefined): boolean;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message auth.v1.ResetPasswordRequest
|
|
445
|
+
*/
|
|
446
|
+
export declare class ResetPasswordRequest extends Message<ResetPasswordRequest> {
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: string token = 1;
|
|
449
|
+
*/
|
|
450
|
+
token: string;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: string new_password = 2;
|
|
453
|
+
*/
|
|
454
|
+
newPassword: string;
|
|
455
|
+
constructor(data?: PartialMessage<ResetPasswordRequest>);
|
|
456
|
+
static readonly runtime: typeof proto3;
|
|
457
|
+
static readonly typeName = "auth.v1.ResetPasswordRequest";
|
|
458
|
+
static readonly fields: FieldList;
|
|
459
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetPasswordRequest;
|
|
460
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetPasswordRequest;
|
|
461
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetPasswordRequest;
|
|
462
|
+
static equals(a: ResetPasswordRequest | PlainMessage<ResetPasswordRequest> | undefined, b: ResetPasswordRequest | PlainMessage<ResetPasswordRequest> | undefined): boolean;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* @generated from message auth.v1.ResetPasswordResponse
|
|
466
|
+
*/
|
|
467
|
+
export declare class ResetPasswordResponse extends Message<ResetPasswordResponse> {
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: auth.v1.User user = 1;
|
|
470
|
+
*/
|
|
471
|
+
user?: User;
|
|
472
|
+
constructor(data?: PartialMessage<ResetPasswordResponse>);
|
|
473
|
+
static readonly runtime: typeof proto3;
|
|
474
|
+
static readonly typeName = "auth.v1.ResetPasswordResponse";
|
|
475
|
+
static readonly fields: FieldList;
|
|
476
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetPasswordResponse;
|
|
477
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetPasswordResponse;
|
|
478
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetPasswordResponse;
|
|
479
|
+
static equals(a: ResetPasswordResponse | PlainMessage<ResetPasswordResponse> | undefined, b: ResetPasswordResponse | PlainMessage<ResetPasswordResponse> | undefined): boolean;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* @generated from message auth.v1.CreateOrganizationRequest
|
|
483
|
+
*/
|
|
484
|
+
export declare class CreateOrganizationRequest extends Message<CreateOrganizationRequest> {
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: string name = 1;
|
|
487
|
+
*/
|
|
488
|
+
name: string;
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: string slug = 2;
|
|
491
|
+
*/
|
|
492
|
+
slug: string;
|
|
493
|
+
constructor(data?: PartialMessage<CreateOrganizationRequest>);
|
|
494
|
+
static readonly runtime: typeof proto3;
|
|
495
|
+
static readonly typeName = "auth.v1.CreateOrganizationRequest";
|
|
496
|
+
static readonly fields: FieldList;
|
|
497
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationRequest;
|
|
498
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationRequest;
|
|
499
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationRequest;
|
|
500
|
+
static equals(a: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined, b: CreateOrganizationRequest | PlainMessage<CreateOrganizationRequest> | undefined): boolean;
|
|
501
|
+
}
|
|
502
|
+
/**
|
|
503
|
+
* @generated from message auth.v1.CreateOrganizationResponse
|
|
504
|
+
*/
|
|
505
|
+
export declare class CreateOrganizationResponse extends Message<CreateOrganizationResponse> {
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: auth.v1.Organization organization = 1;
|
|
508
|
+
*/
|
|
509
|
+
organization?: Organization;
|
|
510
|
+
constructor(data?: PartialMessage<CreateOrganizationResponse>);
|
|
511
|
+
static readonly runtime: typeof proto3;
|
|
512
|
+
static readonly typeName = "auth.v1.CreateOrganizationResponse";
|
|
513
|
+
static readonly fields: FieldList;
|
|
514
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateOrganizationResponse;
|
|
515
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateOrganizationResponse;
|
|
516
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationResponse;
|
|
517
|
+
static equals(a: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined, b: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined): boolean;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* @generated from message auth.v1.GetOrganizationRequest
|
|
521
|
+
*/
|
|
522
|
+
export declare class GetOrganizationRequest extends Message<GetOrganizationRequest> {
|
|
523
|
+
/**
|
|
524
|
+
* @generated from field: string id = 1;
|
|
525
|
+
*/
|
|
526
|
+
id: string;
|
|
527
|
+
constructor(data?: PartialMessage<GetOrganizationRequest>);
|
|
528
|
+
static readonly runtime: typeof proto3;
|
|
529
|
+
static readonly typeName = "auth.v1.GetOrganizationRequest";
|
|
530
|
+
static readonly fields: FieldList;
|
|
531
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRequest;
|
|
532
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
|
|
533
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
|
|
534
|
+
static equals(a: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined, b: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined): boolean;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* @generated from message auth.v1.GetOrganizationResponse
|
|
538
|
+
*/
|
|
539
|
+
export declare class GetOrganizationResponse extends Message<GetOrganizationResponse> {
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: auth.v1.Organization organization = 1;
|
|
542
|
+
*/
|
|
543
|
+
organization?: Organization;
|
|
544
|
+
constructor(data?: PartialMessage<GetOrganizationResponse>);
|
|
545
|
+
static readonly runtime: typeof proto3;
|
|
546
|
+
static readonly typeName = "auth.v1.GetOrganizationResponse";
|
|
547
|
+
static readonly fields: FieldList;
|
|
548
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationResponse;
|
|
549
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
|
|
550
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
|
|
551
|
+
static equals(a: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined, b: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined): boolean;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* @generated from message auth.v1.ListOrganizationsRequest
|
|
555
|
+
*/
|
|
556
|
+
export declare class ListOrganizationsRequest extends Message<ListOrganizationsRequest> {
|
|
557
|
+
constructor(data?: PartialMessage<ListOrganizationsRequest>);
|
|
558
|
+
static readonly runtime: typeof proto3;
|
|
559
|
+
static readonly typeName = "auth.v1.ListOrganizationsRequest";
|
|
560
|
+
static readonly fields: FieldList;
|
|
561
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsRequest;
|
|
562
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsRequest;
|
|
563
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsRequest;
|
|
564
|
+
static equals(a: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined, b: ListOrganizationsRequest | PlainMessage<ListOrganizationsRequest> | undefined): boolean;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* @generated from message auth.v1.ListOrganizationsResponse
|
|
568
|
+
*/
|
|
569
|
+
export declare class ListOrganizationsResponse extends Message<ListOrganizationsResponse> {
|
|
570
|
+
/**
|
|
571
|
+
* @generated from field: repeated auth.v1.Organization organizations = 1;
|
|
572
|
+
*/
|
|
573
|
+
organizations: Organization[];
|
|
574
|
+
constructor(data?: PartialMessage<ListOrganizationsResponse>);
|
|
575
|
+
static readonly runtime: typeof proto3;
|
|
576
|
+
static readonly typeName = "auth.v1.ListOrganizationsResponse";
|
|
577
|
+
static readonly fields: FieldList;
|
|
578
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListOrganizationsResponse;
|
|
579
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListOrganizationsResponse;
|
|
580
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListOrganizationsResponse;
|
|
581
|
+
static equals(a: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined, b: ListOrganizationsResponse | PlainMessage<ListOrganizationsResponse> | undefined): boolean;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* @generated from message auth.v1.UpdateOrganizationRequest
|
|
585
|
+
*/
|
|
586
|
+
export declare class UpdateOrganizationRequest extends Message<UpdateOrganizationRequest> {
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: string id = 1;
|
|
589
|
+
*/
|
|
590
|
+
id: string;
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: string name = 2;
|
|
593
|
+
*/
|
|
594
|
+
name: string;
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: string slug = 3;
|
|
597
|
+
*/
|
|
598
|
+
slug: string;
|
|
599
|
+
constructor(data?: PartialMessage<UpdateOrganizationRequest>);
|
|
600
|
+
static readonly runtime: typeof proto3;
|
|
601
|
+
static readonly typeName = "auth.v1.UpdateOrganizationRequest";
|
|
602
|
+
static readonly fields: FieldList;
|
|
603
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationRequest;
|
|
604
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest;
|
|
605
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationRequest;
|
|
606
|
+
static equals(a: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined, b: UpdateOrganizationRequest | PlainMessage<UpdateOrganizationRequest> | undefined): boolean;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* @generated from message auth.v1.UpdateOrganizationResponse
|
|
610
|
+
*/
|
|
611
|
+
export declare class UpdateOrganizationResponse extends Message<UpdateOrganizationResponse> {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from field: auth.v1.Organization organization = 1;
|
|
614
|
+
*/
|
|
615
|
+
organization?: Organization;
|
|
616
|
+
constructor(data?: PartialMessage<UpdateOrganizationResponse>);
|
|
617
|
+
static readonly runtime: typeof proto3;
|
|
618
|
+
static readonly typeName = "auth.v1.UpdateOrganizationResponse";
|
|
619
|
+
static readonly fields: FieldList;
|
|
620
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationResponse;
|
|
621
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse;
|
|
622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationResponse;
|
|
623
|
+
static equals(a: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined, b: UpdateOrganizationResponse | PlainMessage<UpdateOrganizationResponse> | undefined): boolean;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @generated from message auth.v1.DeleteOrganizationRequest
|
|
627
|
+
*/
|
|
628
|
+
export declare class DeleteOrganizationRequest extends Message<DeleteOrganizationRequest> {
|
|
629
|
+
/**
|
|
630
|
+
* @generated from field: string id = 1;
|
|
631
|
+
*/
|
|
632
|
+
id: string;
|
|
633
|
+
constructor(data?: PartialMessage<DeleteOrganizationRequest>);
|
|
634
|
+
static readonly runtime: typeof proto3;
|
|
635
|
+
static readonly typeName = "auth.v1.DeleteOrganizationRequest";
|
|
636
|
+
static readonly fields: FieldList;
|
|
637
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationRequest;
|
|
638
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
|
|
639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationRequest;
|
|
640
|
+
static equals(a: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined, b: DeleteOrganizationRequest | PlainMessage<DeleteOrganizationRequest> | undefined): boolean;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* @generated from message auth.v1.DeleteOrganizationResponse
|
|
644
|
+
*/
|
|
645
|
+
export declare class DeleteOrganizationResponse extends Message<DeleteOrganizationResponse> {
|
|
646
|
+
constructor(data?: PartialMessage<DeleteOrganizationResponse>);
|
|
647
|
+
static readonly runtime: typeof proto3;
|
|
648
|
+
static readonly typeName = "auth.v1.DeleteOrganizationResponse";
|
|
649
|
+
static readonly fields: FieldList;
|
|
650
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteOrganizationResponse;
|
|
651
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteOrganizationResponse;
|
|
652
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteOrganizationResponse;
|
|
653
|
+
static equals(a: DeleteOrganizationResponse | PlainMessage<DeleteOrganizationResponse> | undefined, b: DeleteOrganizationResponse | PlainMessage<DeleteOrganizationResponse> | undefined): boolean;
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* @generated from message auth.v1.SwitchOrganizationRequest
|
|
657
|
+
*/
|
|
658
|
+
export declare class SwitchOrganizationRequest extends Message<SwitchOrganizationRequest> {
|
|
659
|
+
/**
|
|
660
|
+
* @generated from field: string organization_id = 1;
|
|
661
|
+
*/
|
|
662
|
+
organizationId: string;
|
|
663
|
+
constructor(data?: PartialMessage<SwitchOrganizationRequest>);
|
|
664
|
+
static readonly runtime: typeof proto3;
|
|
665
|
+
static readonly typeName = "auth.v1.SwitchOrganizationRequest";
|
|
666
|
+
static readonly fields: FieldList;
|
|
667
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SwitchOrganizationRequest;
|
|
668
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SwitchOrganizationRequest;
|
|
669
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SwitchOrganizationRequest;
|
|
670
|
+
static equals(a: SwitchOrganizationRequest | PlainMessage<SwitchOrganizationRequest> | undefined, b: SwitchOrganizationRequest | PlainMessage<SwitchOrganizationRequest> | undefined): boolean;
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* @generated from message auth.v1.SwitchOrganizationResponse
|
|
674
|
+
*/
|
|
675
|
+
export declare class SwitchOrganizationResponse extends Message<SwitchOrganizationResponse> {
|
|
676
|
+
/**
|
|
677
|
+
* @generated from field: auth.v1.Organization organization = 1;
|
|
678
|
+
*/
|
|
679
|
+
organization?: Organization;
|
|
680
|
+
constructor(data?: PartialMessage<SwitchOrganizationResponse>);
|
|
681
|
+
static readonly runtime: typeof proto3;
|
|
682
|
+
static readonly typeName = "auth.v1.SwitchOrganizationResponse";
|
|
683
|
+
static readonly fields: FieldList;
|
|
684
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SwitchOrganizationResponse;
|
|
685
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SwitchOrganizationResponse;
|
|
686
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SwitchOrganizationResponse;
|
|
687
|
+
static equals(a: SwitchOrganizationResponse | PlainMessage<SwitchOrganizationResponse> | undefined, b: SwitchOrganizationResponse | PlainMessage<SwitchOrganizationResponse> | undefined): boolean;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* @generated from message auth.v1.InviteMemberRequest
|
|
691
|
+
*/
|
|
692
|
+
export declare class InviteMemberRequest extends Message<InviteMemberRequest> {
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: string organization_id = 1;
|
|
695
|
+
*/
|
|
696
|
+
organizationId: string;
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: string email = 2;
|
|
699
|
+
*/
|
|
700
|
+
email: string;
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: auth.v1.Role role = 3;
|
|
703
|
+
*/
|
|
704
|
+
role: Role;
|
|
705
|
+
constructor(data?: PartialMessage<InviteMemberRequest>);
|
|
706
|
+
static readonly runtime: typeof proto3;
|
|
707
|
+
static readonly typeName = "auth.v1.InviteMemberRequest";
|
|
708
|
+
static readonly fields: FieldList;
|
|
709
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InviteMemberRequest;
|
|
710
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InviteMemberRequest;
|
|
711
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InviteMemberRequest;
|
|
712
|
+
static equals(a: InviteMemberRequest | PlainMessage<InviteMemberRequest> | undefined, b: InviteMemberRequest | PlainMessage<InviteMemberRequest> | undefined): boolean;
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* @generated from message auth.v1.InviteMemberResponse
|
|
716
|
+
*/
|
|
717
|
+
export declare class InviteMemberResponse extends Message<InviteMemberResponse> {
|
|
718
|
+
/**
|
|
719
|
+
* @generated from field: auth.v1.Invitation invitation = 1;
|
|
720
|
+
*/
|
|
721
|
+
invitation?: Invitation;
|
|
722
|
+
constructor(data?: PartialMessage<InviteMemberResponse>);
|
|
723
|
+
static readonly runtime: typeof proto3;
|
|
724
|
+
static readonly typeName = "auth.v1.InviteMemberResponse";
|
|
725
|
+
static readonly fields: FieldList;
|
|
726
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InviteMemberResponse;
|
|
727
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InviteMemberResponse;
|
|
728
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InviteMemberResponse;
|
|
729
|
+
static equals(a: InviteMemberResponse | PlainMessage<InviteMemberResponse> | undefined, b: InviteMemberResponse | PlainMessage<InviteMemberResponse> | undefined): boolean;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @generated from message auth.v1.AcceptInvitationRequest
|
|
733
|
+
*/
|
|
734
|
+
export declare class AcceptInvitationRequest extends Message<AcceptInvitationRequest> {
|
|
735
|
+
/**
|
|
736
|
+
* @generated from field: string token = 1;
|
|
737
|
+
*/
|
|
738
|
+
token: string;
|
|
739
|
+
constructor(data?: PartialMessage<AcceptInvitationRequest>);
|
|
740
|
+
static readonly runtime: typeof proto3;
|
|
741
|
+
static readonly typeName = "auth.v1.AcceptInvitationRequest";
|
|
742
|
+
static readonly fields: FieldList;
|
|
743
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptInvitationRequest;
|
|
744
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptInvitationRequest;
|
|
745
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptInvitationRequest;
|
|
746
|
+
static equals(a: AcceptInvitationRequest | PlainMessage<AcceptInvitationRequest> | undefined, b: AcceptInvitationRequest | PlainMessage<AcceptInvitationRequest> | undefined): boolean;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* @generated from message auth.v1.AcceptInvitationResponse
|
|
750
|
+
*/
|
|
751
|
+
export declare class AcceptInvitationResponse extends Message<AcceptInvitationResponse> {
|
|
752
|
+
/**
|
|
753
|
+
* @generated from field: auth.v1.Organization organization = 1;
|
|
754
|
+
*/
|
|
755
|
+
organization?: Organization;
|
|
756
|
+
constructor(data?: PartialMessage<AcceptInvitationResponse>);
|
|
757
|
+
static readonly runtime: typeof proto3;
|
|
758
|
+
static readonly typeName = "auth.v1.AcceptInvitationResponse";
|
|
759
|
+
static readonly fields: FieldList;
|
|
760
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AcceptInvitationResponse;
|
|
761
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AcceptInvitationResponse;
|
|
762
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AcceptInvitationResponse;
|
|
763
|
+
static equals(a: AcceptInvitationResponse | PlainMessage<AcceptInvitationResponse> | undefined, b: AcceptInvitationResponse | PlainMessage<AcceptInvitationResponse> | undefined): boolean;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* @generated from message auth.v1.ListMembersRequest
|
|
767
|
+
*/
|
|
768
|
+
export declare class ListMembersRequest extends Message<ListMembersRequest> {
|
|
769
|
+
/**
|
|
770
|
+
* @generated from field: string organization_id = 1;
|
|
771
|
+
*/
|
|
772
|
+
organizationId: string;
|
|
773
|
+
constructor(data?: PartialMessage<ListMembersRequest>);
|
|
774
|
+
static readonly runtime: typeof proto3;
|
|
775
|
+
static readonly typeName = "auth.v1.ListMembersRequest";
|
|
776
|
+
static readonly fields: FieldList;
|
|
777
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListMembersRequest;
|
|
778
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListMembersRequest;
|
|
779
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListMembersRequest;
|
|
780
|
+
static equals(a: ListMembersRequest | PlainMessage<ListMembersRequest> | undefined, b: ListMembersRequest | PlainMessage<ListMembersRequest> | undefined): boolean;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* @generated from message auth.v1.ListMembersResponse
|
|
784
|
+
*/
|
|
785
|
+
export declare class ListMembersResponse extends Message<ListMembersResponse> {
|
|
786
|
+
/**
|
|
787
|
+
* @generated from field: repeated auth.v1.Member members = 1;
|
|
788
|
+
*/
|
|
789
|
+
members: Member[];
|
|
790
|
+
/**
|
|
791
|
+
* @generated from field: repeated auth.v1.Invitation pending_invitations = 2;
|
|
792
|
+
*/
|
|
793
|
+
pendingInvitations: Invitation[];
|
|
794
|
+
constructor(data?: PartialMessage<ListMembersResponse>);
|
|
795
|
+
static readonly runtime: typeof proto3;
|
|
796
|
+
static readonly typeName = "auth.v1.ListMembersResponse";
|
|
797
|
+
static readonly fields: FieldList;
|
|
798
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListMembersResponse;
|
|
799
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListMembersResponse;
|
|
800
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListMembersResponse;
|
|
801
|
+
static equals(a: ListMembersResponse | PlainMessage<ListMembersResponse> | undefined, b: ListMembersResponse | PlainMessage<ListMembersResponse> | undefined): boolean;
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* @generated from message auth.v1.UpdateMemberRoleRequest
|
|
805
|
+
*/
|
|
806
|
+
export declare class UpdateMemberRoleRequest extends Message<UpdateMemberRoleRequest> {
|
|
807
|
+
/**
|
|
808
|
+
* @generated from field: string organization_id = 1;
|
|
809
|
+
*/
|
|
810
|
+
organizationId: string;
|
|
811
|
+
/**
|
|
812
|
+
* @generated from field: string user_id = 2;
|
|
813
|
+
*/
|
|
814
|
+
userId: string;
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: auth.v1.Role role = 3;
|
|
817
|
+
*/
|
|
818
|
+
role: Role;
|
|
819
|
+
constructor(data?: PartialMessage<UpdateMemberRoleRequest>);
|
|
820
|
+
static readonly runtime: typeof proto3;
|
|
821
|
+
static readonly typeName = "auth.v1.UpdateMemberRoleRequest";
|
|
822
|
+
static readonly fields: FieldList;
|
|
823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateMemberRoleRequest;
|
|
824
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateMemberRoleRequest;
|
|
825
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateMemberRoleRequest;
|
|
826
|
+
static equals(a: UpdateMemberRoleRequest | PlainMessage<UpdateMemberRoleRequest> | undefined, b: UpdateMemberRoleRequest | PlainMessage<UpdateMemberRoleRequest> | undefined): boolean;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message auth.v1.UpdateMemberRoleResponse
|
|
830
|
+
*/
|
|
831
|
+
export declare class UpdateMemberRoleResponse extends Message<UpdateMemberRoleResponse> {
|
|
832
|
+
/**
|
|
833
|
+
* @generated from field: auth.v1.Member member = 1;
|
|
834
|
+
*/
|
|
835
|
+
member?: Member;
|
|
836
|
+
constructor(data?: PartialMessage<UpdateMemberRoleResponse>);
|
|
837
|
+
static readonly runtime: typeof proto3;
|
|
838
|
+
static readonly typeName = "auth.v1.UpdateMemberRoleResponse";
|
|
839
|
+
static readonly fields: FieldList;
|
|
840
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateMemberRoleResponse;
|
|
841
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateMemberRoleResponse;
|
|
842
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateMemberRoleResponse;
|
|
843
|
+
static equals(a: UpdateMemberRoleResponse | PlainMessage<UpdateMemberRoleResponse> | undefined, b: UpdateMemberRoleResponse | PlainMessage<UpdateMemberRoleResponse> | undefined): boolean;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* @generated from message auth.v1.RemoveMemberRequest
|
|
847
|
+
*/
|
|
848
|
+
export declare class RemoveMemberRequest extends Message<RemoveMemberRequest> {
|
|
849
|
+
/**
|
|
850
|
+
* @generated from field: string organization_id = 1;
|
|
851
|
+
*/
|
|
852
|
+
organizationId: string;
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: string user_id = 2;
|
|
855
|
+
*/
|
|
856
|
+
userId: string;
|
|
857
|
+
constructor(data?: PartialMessage<RemoveMemberRequest>);
|
|
858
|
+
static readonly runtime: typeof proto3;
|
|
859
|
+
static readonly typeName = "auth.v1.RemoveMemberRequest";
|
|
860
|
+
static readonly fields: FieldList;
|
|
861
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveMemberRequest;
|
|
862
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveMemberRequest;
|
|
863
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveMemberRequest;
|
|
864
|
+
static equals(a: RemoveMemberRequest | PlainMessage<RemoveMemberRequest> | undefined, b: RemoveMemberRequest | PlainMessage<RemoveMemberRequest> | undefined): boolean;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* @generated from message auth.v1.RemoveMemberResponse
|
|
868
|
+
*/
|
|
869
|
+
export declare class RemoveMemberResponse extends Message<RemoveMemberResponse> {
|
|
870
|
+
constructor(data?: PartialMessage<RemoveMemberResponse>);
|
|
871
|
+
static readonly runtime: typeof proto3;
|
|
872
|
+
static readonly typeName = "auth.v1.RemoveMemberResponse";
|
|
873
|
+
static readonly fields: FieldList;
|
|
874
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveMemberResponse;
|
|
875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveMemberResponse;
|
|
876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveMemberResponse;
|
|
877
|
+
static equals(a: RemoveMemberResponse | PlainMessage<RemoveMemberResponse> | undefined, b: RemoveMemberResponse | PlainMessage<RemoveMemberResponse> | undefined): boolean;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* @generated from message auth.v1.LeaveOrganizationRequest
|
|
881
|
+
*/
|
|
882
|
+
export declare class LeaveOrganizationRequest extends Message<LeaveOrganizationRequest> {
|
|
883
|
+
/**
|
|
884
|
+
* @generated from field: string organization_id = 1;
|
|
885
|
+
*/
|
|
886
|
+
organizationId: string;
|
|
887
|
+
constructor(data?: PartialMessage<LeaveOrganizationRequest>);
|
|
888
|
+
static readonly runtime: typeof proto3;
|
|
889
|
+
static readonly typeName = "auth.v1.LeaveOrganizationRequest";
|
|
890
|
+
static readonly fields: FieldList;
|
|
891
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LeaveOrganizationRequest;
|
|
892
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LeaveOrganizationRequest;
|
|
893
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LeaveOrganizationRequest;
|
|
894
|
+
static equals(a: LeaveOrganizationRequest | PlainMessage<LeaveOrganizationRequest> | undefined, b: LeaveOrganizationRequest | PlainMessage<LeaveOrganizationRequest> | undefined): boolean;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* @generated from message auth.v1.LeaveOrganizationResponse
|
|
898
|
+
*/
|
|
899
|
+
export declare class LeaveOrganizationResponse extends Message<LeaveOrganizationResponse> {
|
|
900
|
+
constructor(data?: PartialMessage<LeaveOrganizationResponse>);
|
|
901
|
+
static readonly runtime: typeof proto3;
|
|
902
|
+
static readonly typeName = "auth.v1.LeaveOrganizationResponse";
|
|
903
|
+
static readonly fields: FieldList;
|
|
904
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LeaveOrganizationResponse;
|
|
905
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LeaveOrganizationResponse;
|
|
906
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LeaveOrganizationResponse;
|
|
907
|
+
static equals(a: LeaveOrganizationResponse | PlainMessage<LeaveOrganizationResponse> | undefined, b: LeaveOrganizationResponse | PlainMessage<LeaveOrganizationResponse> | undefined): boolean;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* @generated from message auth.v1.ApiKey
|
|
911
|
+
*/
|
|
912
|
+
export declare class ApiKey extends Message<ApiKey> {
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: string id = 1;
|
|
915
|
+
*/
|
|
916
|
+
id: string;
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string org_id = 2;
|
|
919
|
+
*/
|
|
920
|
+
orgId: string;
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: string name = 3;
|
|
923
|
+
*/
|
|
924
|
+
name: string;
|
|
925
|
+
/**
|
|
926
|
+
* @generated from field: string key_prefix = 4;
|
|
927
|
+
*/
|
|
928
|
+
keyPrefix: string;
|
|
929
|
+
/**
|
|
930
|
+
* @generated from field: repeated auth.v1.ApiKeyScope scopes = 5;
|
|
931
|
+
*/
|
|
932
|
+
scopes: ApiKeyScope[];
|
|
933
|
+
/**
|
|
934
|
+
* @generated from field: google.protobuf.Timestamp last_used_at = 6;
|
|
935
|
+
*/
|
|
936
|
+
lastUsedAt?: Timestamp;
|
|
937
|
+
/**
|
|
938
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 7;
|
|
939
|
+
*/
|
|
940
|
+
expiresAt?: Timestamp;
|
|
941
|
+
/**
|
|
942
|
+
* @generated from field: google.protobuf.Timestamp revoked_at = 8;
|
|
943
|
+
*/
|
|
944
|
+
revokedAt?: Timestamp;
|
|
945
|
+
/**
|
|
946
|
+
* @generated from field: string created_by = 9;
|
|
947
|
+
*/
|
|
948
|
+
createdBy: string;
|
|
949
|
+
/**
|
|
950
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
951
|
+
*/
|
|
952
|
+
createdAt?: Timestamp;
|
|
953
|
+
constructor(data?: PartialMessage<ApiKey>);
|
|
954
|
+
static readonly runtime: typeof proto3;
|
|
955
|
+
static readonly typeName = "auth.v1.ApiKey";
|
|
956
|
+
static readonly fields: FieldList;
|
|
957
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApiKey;
|
|
958
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApiKey;
|
|
959
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApiKey;
|
|
960
|
+
static equals(a: ApiKey | PlainMessage<ApiKey> | undefined, b: ApiKey | PlainMessage<ApiKey> | undefined): boolean;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* @generated from message auth.v1.CreateApiKeyRequest
|
|
964
|
+
*/
|
|
965
|
+
export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
|
|
966
|
+
/**
|
|
967
|
+
* @generated from field: string name = 1;
|
|
968
|
+
*/
|
|
969
|
+
name: string;
|
|
970
|
+
/**
|
|
971
|
+
* @generated from field: repeated auth.v1.ApiKeyScope scopes = 2;
|
|
972
|
+
*/
|
|
973
|
+
scopes: ApiKeyScope[];
|
|
974
|
+
/**
|
|
975
|
+
* Optional: expiration in days (0 = no expiration)
|
|
976
|
+
*
|
|
977
|
+
* @generated from field: int32 expires_in_days = 3;
|
|
978
|
+
*/
|
|
979
|
+
expiresInDays: number;
|
|
980
|
+
constructor(data?: PartialMessage<CreateApiKeyRequest>);
|
|
981
|
+
static readonly runtime: typeof proto3;
|
|
982
|
+
static readonly typeName = "auth.v1.CreateApiKeyRequest";
|
|
983
|
+
static readonly fields: FieldList;
|
|
984
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyRequest;
|
|
985
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyRequest;
|
|
986
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateApiKeyRequest;
|
|
987
|
+
static equals(a: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined, b: CreateApiKeyRequest | PlainMessage<CreateApiKeyRequest> | undefined): boolean;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* @generated from message auth.v1.CreateApiKeyResponse
|
|
991
|
+
*/
|
|
992
|
+
export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse> {
|
|
993
|
+
/**
|
|
994
|
+
* @generated from field: auth.v1.ApiKey api_key = 1;
|
|
995
|
+
*/
|
|
996
|
+
apiKey?: ApiKey;
|
|
997
|
+
/**
|
|
998
|
+
* The plain API key - only shown once!
|
|
999
|
+
*
|
|
1000
|
+
* @generated from field: string plain_key = 2;
|
|
1001
|
+
*/
|
|
1002
|
+
plainKey: string;
|
|
1003
|
+
constructor(data?: PartialMessage<CreateApiKeyResponse>);
|
|
1004
|
+
static readonly runtime: typeof proto3;
|
|
1005
|
+
static readonly typeName = "auth.v1.CreateApiKeyResponse";
|
|
1006
|
+
static readonly fields: FieldList;
|
|
1007
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateApiKeyResponse;
|
|
1008
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateApiKeyResponse;
|
|
1009
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateApiKeyResponse;
|
|
1010
|
+
static equals(a: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined, b: CreateApiKeyResponse | PlainMessage<CreateApiKeyResponse> | undefined): boolean;
|
|
1011
|
+
}
|
|
1012
|
+
/**
|
|
1013
|
+
* @generated from message auth.v1.ListApiKeysRequest
|
|
1014
|
+
*/
|
|
1015
|
+
export declare class ListApiKeysRequest extends Message<ListApiKeysRequest> {
|
|
1016
|
+
constructor(data?: PartialMessage<ListApiKeysRequest>);
|
|
1017
|
+
static readonly runtime: typeof proto3;
|
|
1018
|
+
static readonly typeName = "auth.v1.ListApiKeysRequest";
|
|
1019
|
+
static readonly fields: FieldList;
|
|
1020
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeysRequest;
|
|
1021
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApiKeysRequest;
|
|
1022
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApiKeysRequest;
|
|
1023
|
+
static equals(a: ListApiKeysRequest | PlainMessage<ListApiKeysRequest> | undefined, b: ListApiKeysRequest | PlainMessage<ListApiKeysRequest> | undefined): boolean;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* @generated from message auth.v1.ListApiKeysResponse
|
|
1027
|
+
*/
|
|
1028
|
+
export declare class ListApiKeysResponse extends Message<ListApiKeysResponse> {
|
|
1029
|
+
/**
|
|
1030
|
+
* @generated from field: repeated auth.v1.ApiKey api_keys = 1;
|
|
1031
|
+
*/
|
|
1032
|
+
apiKeys: ApiKey[];
|
|
1033
|
+
constructor(data?: PartialMessage<ListApiKeysResponse>);
|
|
1034
|
+
static readonly runtime: typeof proto3;
|
|
1035
|
+
static readonly typeName = "auth.v1.ListApiKeysResponse";
|
|
1036
|
+
static readonly fields: FieldList;
|
|
1037
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListApiKeysResponse;
|
|
1038
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListApiKeysResponse;
|
|
1039
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApiKeysResponse;
|
|
1040
|
+
static equals(a: ListApiKeysResponse | PlainMessage<ListApiKeysResponse> | undefined, b: ListApiKeysResponse | PlainMessage<ListApiKeysResponse> | undefined): boolean;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from message auth.v1.RevokeApiKeyRequest
|
|
1044
|
+
*/
|
|
1045
|
+
export declare class RevokeApiKeyRequest extends Message<RevokeApiKeyRequest> {
|
|
1046
|
+
/**
|
|
1047
|
+
* @generated from field: string id = 1;
|
|
1048
|
+
*/
|
|
1049
|
+
id: string;
|
|
1050
|
+
constructor(data?: PartialMessage<RevokeApiKeyRequest>);
|
|
1051
|
+
static readonly runtime: typeof proto3;
|
|
1052
|
+
static readonly typeName = "auth.v1.RevokeApiKeyRequest";
|
|
1053
|
+
static readonly fields: FieldList;
|
|
1054
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeApiKeyRequest;
|
|
1055
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeApiKeyRequest;
|
|
1056
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeApiKeyRequest;
|
|
1057
|
+
static equals(a: RevokeApiKeyRequest | PlainMessage<RevokeApiKeyRequest> | undefined, b: RevokeApiKeyRequest | PlainMessage<RevokeApiKeyRequest> | undefined): boolean;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* @generated from message auth.v1.RevokeApiKeyResponse
|
|
1061
|
+
*/
|
|
1062
|
+
export declare class RevokeApiKeyResponse extends Message<RevokeApiKeyResponse> {
|
|
1063
|
+
constructor(data?: PartialMessage<RevokeApiKeyResponse>);
|
|
1064
|
+
static readonly runtime: typeof proto3;
|
|
1065
|
+
static readonly typeName = "auth.v1.RevokeApiKeyResponse";
|
|
1066
|
+
static readonly fields: FieldList;
|
|
1067
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeApiKeyResponse;
|
|
1068
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeApiKeyResponse;
|
|
1069
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeApiKeyResponse;
|
|
1070
|
+
static equals(a: RevokeApiKeyResponse | PlainMessage<RevokeApiKeyResponse> | undefined, b: RevokeApiKeyResponse | PlainMessage<RevokeApiKeyResponse> | undefined): boolean;
|
|
1071
|
+
}
|
|
1072
|
+
//# sourceMappingURL=auth_pb.d.ts.map
|