@scalekit-sdk/node 2.1.3 → 2.1.5
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/buf.gen.yaml +2 -0
- package/lib/core.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +19 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +27 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +154 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +226 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +46 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +54 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +377 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +513 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -0
- package/lib/scalekit.d.ts +22 -0
- package/lib/scalekit.js +35 -6
- package/lib/scalekit.js.map +1 -1
- package/lib/session.d.ts +48 -0
- package/lib/session.js +101 -0
- package/lib/session.js.map +1 -0
- package/package.json +1 -1
- package/src/core.ts +1 -1
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +26 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +282 -0
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +53 -0
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +697 -0
- package/src/scalekit.ts +42 -6
- package/src/session.ts +134 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from message scalekit.v1.sessions.SessionDetailsRequest
|
|
5
|
+
*/
|
|
6
|
+
export declare class SessionDetailsRequest extends Message<SessionDetailsRequest> {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from field: string session_id = 1;
|
|
9
|
+
*/
|
|
10
|
+
sessionId: string;
|
|
11
|
+
constructor(data?: PartialMessage<SessionDetailsRequest>);
|
|
12
|
+
static readonly runtime: typeof proto3;
|
|
13
|
+
static readonly typeName = "scalekit.v1.sessions.SessionDetailsRequest";
|
|
14
|
+
static readonly fields: FieldList;
|
|
15
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionDetailsRequest;
|
|
16
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionDetailsRequest;
|
|
17
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionDetailsRequest;
|
|
18
|
+
static equals(a: SessionDetailsRequest | PlainMessage<SessionDetailsRequest> | undefined, b: SessionDetailsRequest | PlainMessage<SessionDetailsRequest> | undefined): boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message scalekit.v1.sessions.UserSessionDetailsRequest
|
|
22
|
+
*/
|
|
23
|
+
export declare class UserSessionDetailsRequest extends Message<UserSessionDetailsRequest> {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string user_id = 1;
|
|
26
|
+
*/
|
|
27
|
+
userId: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: uint32 page_size = 2;
|
|
30
|
+
*/
|
|
31
|
+
pageSize: number;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string page_token = 3;
|
|
34
|
+
*/
|
|
35
|
+
pageToken: string;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: scalekit.v1.sessions.UserSessionFilter filter = 4;
|
|
38
|
+
*/
|
|
39
|
+
filter?: UserSessionFilter;
|
|
40
|
+
constructor(data?: PartialMessage<UserSessionDetailsRequest>);
|
|
41
|
+
static readonly runtime: typeof proto3;
|
|
42
|
+
static readonly typeName = "scalekit.v1.sessions.UserSessionDetailsRequest";
|
|
43
|
+
static readonly fields: FieldList;
|
|
44
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserSessionDetailsRequest;
|
|
45
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserSessionDetailsRequest;
|
|
46
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserSessionDetailsRequest;
|
|
47
|
+
static equals(a: UserSessionDetailsRequest | PlainMessage<UserSessionDetailsRequest> | undefined, b: UserSessionDetailsRequest | PlainMessage<UserSessionDetailsRequest> | undefined): boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message scalekit.v1.sessions.UserSessionFilter
|
|
51
|
+
*/
|
|
52
|
+
export declare class UserSessionFilter extends Message<UserSessionFilter> {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: repeated string status = 1;
|
|
55
|
+
*/
|
|
56
|
+
status: string[];
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
59
|
+
*/
|
|
60
|
+
startTime?: Timestamp;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: google.protobuf.Timestamp end_time = 3;
|
|
63
|
+
*/
|
|
64
|
+
endTime?: Timestamp;
|
|
65
|
+
constructor(data?: PartialMessage<UserSessionFilter>);
|
|
66
|
+
static readonly runtime: typeof proto3;
|
|
67
|
+
static readonly typeName = "scalekit.v1.sessions.UserSessionFilter";
|
|
68
|
+
static readonly fields: FieldList;
|
|
69
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserSessionFilter;
|
|
70
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserSessionFilter;
|
|
71
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserSessionFilter;
|
|
72
|
+
static equals(a: UserSessionFilter | PlainMessage<UserSessionFilter> | undefined, b: UserSessionFilter | PlainMessage<UserSessionFilter> | undefined): boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message scalekit.v1.sessions.RevokeSessionRequest
|
|
76
|
+
*/
|
|
77
|
+
export declare class RevokeSessionRequest extends Message<RevokeSessionRequest> {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string session_id = 1;
|
|
80
|
+
*/
|
|
81
|
+
sessionId: string;
|
|
82
|
+
constructor(data?: PartialMessage<RevokeSessionRequest>);
|
|
83
|
+
static readonly runtime: typeof proto3;
|
|
84
|
+
static readonly typeName = "scalekit.v1.sessions.RevokeSessionRequest";
|
|
85
|
+
static readonly fields: FieldList;
|
|
86
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeSessionRequest;
|
|
87
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeSessionRequest;
|
|
88
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeSessionRequest;
|
|
89
|
+
static equals(a: RevokeSessionRequest | PlainMessage<RevokeSessionRequest> | undefined, b: RevokeSessionRequest | PlainMessage<RevokeSessionRequest> | undefined): boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message scalekit.v1.sessions.RevokeSessionResponse
|
|
93
|
+
*/
|
|
94
|
+
export declare class RevokeSessionResponse extends Message<RevokeSessionResponse> {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: scalekit.v1.sessions.RevokedSessionDetails revoked_session = 1;
|
|
97
|
+
*/
|
|
98
|
+
revokedSession?: RevokedSessionDetails;
|
|
99
|
+
constructor(data?: PartialMessage<RevokeSessionResponse>);
|
|
100
|
+
static readonly runtime: typeof proto3;
|
|
101
|
+
static readonly typeName = "scalekit.v1.sessions.RevokeSessionResponse";
|
|
102
|
+
static readonly fields: FieldList;
|
|
103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeSessionResponse;
|
|
104
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeSessionResponse;
|
|
105
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeSessionResponse;
|
|
106
|
+
static equals(a: RevokeSessionResponse | PlainMessage<RevokeSessionResponse> | undefined, b: RevokeSessionResponse | PlainMessage<RevokeSessionResponse> | undefined): boolean;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message scalekit.v1.sessions.RevokeAllUserSessionsRequest
|
|
110
|
+
*/
|
|
111
|
+
export declare class RevokeAllUserSessionsRequest extends Message<RevokeAllUserSessionsRequest> {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string user_id = 1;
|
|
114
|
+
*/
|
|
115
|
+
userId: string;
|
|
116
|
+
constructor(data?: PartialMessage<RevokeAllUserSessionsRequest>);
|
|
117
|
+
static readonly runtime: typeof proto3;
|
|
118
|
+
static readonly typeName = "scalekit.v1.sessions.RevokeAllUserSessionsRequest";
|
|
119
|
+
static readonly fields: FieldList;
|
|
120
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeAllUserSessionsRequest;
|
|
121
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeAllUserSessionsRequest;
|
|
122
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeAllUserSessionsRequest;
|
|
123
|
+
static equals(a: RevokeAllUserSessionsRequest | PlainMessage<RevokeAllUserSessionsRequest> | undefined, b: RevokeAllUserSessionsRequest | PlainMessage<RevokeAllUserSessionsRequest> | undefined): boolean;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message scalekit.v1.sessions.RevokeAllUserSessionsResponse
|
|
127
|
+
*/
|
|
128
|
+
export declare class RevokeAllUserSessionsResponse extends Message<RevokeAllUserSessionsResponse> {
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: repeated scalekit.v1.sessions.RevokedSessionDetails revoked_sessions = 1;
|
|
131
|
+
*/
|
|
132
|
+
revokedSessions: RevokedSessionDetails[];
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: uint32 total_revoked = 2;
|
|
135
|
+
*/
|
|
136
|
+
totalRevoked: number;
|
|
137
|
+
constructor(data?: PartialMessage<RevokeAllUserSessionsResponse>);
|
|
138
|
+
static readonly runtime: typeof proto3;
|
|
139
|
+
static readonly typeName = "scalekit.v1.sessions.RevokeAllUserSessionsResponse";
|
|
140
|
+
static readonly fields: FieldList;
|
|
141
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokeAllUserSessionsResponse;
|
|
142
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokeAllUserSessionsResponse;
|
|
143
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokeAllUserSessionsResponse;
|
|
144
|
+
static equals(a: RevokeAllUserSessionsResponse | PlainMessage<RevokeAllUserSessionsResponse> | undefined, b: RevokeAllUserSessionsResponse | PlainMessage<RevokeAllUserSessionsResponse> | undefined): boolean;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @generated from message scalekit.v1.sessions.UserSessionDetails
|
|
148
|
+
*/
|
|
149
|
+
export declare class UserSessionDetails extends Message<UserSessionDetails> {
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: repeated scalekit.v1.sessions.SessionDetails sessions = 1;
|
|
152
|
+
*/
|
|
153
|
+
sessions: SessionDetails[];
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string next_page_token = 2;
|
|
156
|
+
*/
|
|
157
|
+
nextPageToken: string;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string prev_page_token = 3;
|
|
160
|
+
*/
|
|
161
|
+
prevPageToken: string;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: uint32 total_size = 4;
|
|
164
|
+
*/
|
|
165
|
+
totalSize: number;
|
|
166
|
+
constructor(data?: PartialMessage<UserSessionDetails>);
|
|
167
|
+
static readonly runtime: typeof proto3;
|
|
168
|
+
static readonly typeName = "scalekit.v1.sessions.UserSessionDetails";
|
|
169
|
+
static readonly fields: FieldList;
|
|
170
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserSessionDetails;
|
|
171
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserSessionDetails;
|
|
172
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserSessionDetails;
|
|
173
|
+
static equals(a: UserSessionDetails | PlainMessage<UserSessionDetails> | undefined, b: UserSessionDetails | PlainMessage<UserSessionDetails> | undefined): boolean;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message scalekit.v1.sessions.SessionDetails
|
|
177
|
+
*/
|
|
178
|
+
export declare class SessionDetails extends Message<SessionDetails> {
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: string session_id = 1;
|
|
181
|
+
*/
|
|
182
|
+
sessionId: string;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string user_id = 2;
|
|
185
|
+
*/
|
|
186
|
+
userId: string;
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: repeated string authenticated_organizations = 3;
|
|
189
|
+
*/
|
|
190
|
+
authenticatedOrganizations: string[];
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string organization_id = 4;
|
|
193
|
+
*/
|
|
194
|
+
organizationId: string;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
197
|
+
*/
|
|
198
|
+
createdAt?: Timestamp;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
201
|
+
*/
|
|
202
|
+
updatedAt?: Timestamp;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: google.protobuf.Timestamp idle_expires_at = 7;
|
|
205
|
+
*/
|
|
206
|
+
idleExpiresAt?: Timestamp;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: google.protobuf.Timestamp absolute_expires_at = 8;
|
|
209
|
+
*/
|
|
210
|
+
absoluteExpiresAt?: Timestamp;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: google.protobuf.Timestamp expired_at = 9;
|
|
213
|
+
*/
|
|
214
|
+
expiredAt?: Timestamp;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: google.protobuf.Timestamp logout_at = 10;
|
|
217
|
+
*/
|
|
218
|
+
logoutAt?: Timestamp;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string status = 11;
|
|
221
|
+
*/
|
|
222
|
+
status: string;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string initial_user_agent = 12;
|
|
225
|
+
*/
|
|
226
|
+
initialUserAgent: string;
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: string initial_os = 13;
|
|
229
|
+
*/
|
|
230
|
+
initialOs: string;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: string initial_os_version = 14;
|
|
233
|
+
*/
|
|
234
|
+
initialOsVersion: string;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string initial_browser = 15;
|
|
237
|
+
*/
|
|
238
|
+
initialBrowser: string;
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: string initial_browser_version = 16;
|
|
241
|
+
*/
|
|
242
|
+
initialBrowserVersion: string;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: string initial_device_type = 17;
|
|
245
|
+
*/
|
|
246
|
+
initialDeviceType: string;
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: string initial_ip = 19;
|
|
249
|
+
*/
|
|
250
|
+
initialIp: string;
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: scalekit.v1.sessions.Location initial_location = 20;
|
|
253
|
+
*/
|
|
254
|
+
initialLocation?: Location;
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string latest_user_agent = 21;
|
|
257
|
+
*/
|
|
258
|
+
latestUserAgent: string;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: string latest_os = 22;
|
|
261
|
+
*/
|
|
262
|
+
latestOs: string;
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: string latest_os_version = 23;
|
|
265
|
+
*/
|
|
266
|
+
latestOsVersion: string;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: string latest_browser = 24;
|
|
269
|
+
*/
|
|
270
|
+
latestBrowser: string;
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: string latest_browser_version = 25;
|
|
273
|
+
*/
|
|
274
|
+
latestBrowserVersion: string;
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: string latest_device_type = 26;
|
|
277
|
+
*/
|
|
278
|
+
latestDeviceType: string;
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: string latest_ip = 28;
|
|
281
|
+
*/
|
|
282
|
+
latestIp: string;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: scalekit.v1.sessions.Location latest_location = 29;
|
|
285
|
+
*/
|
|
286
|
+
latestLocation?: Location;
|
|
287
|
+
constructor(data?: PartialMessage<SessionDetails>);
|
|
288
|
+
static readonly runtime: typeof proto3;
|
|
289
|
+
static readonly typeName = "scalekit.v1.sessions.SessionDetails";
|
|
290
|
+
static readonly fields: FieldList;
|
|
291
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionDetails;
|
|
292
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionDetails;
|
|
293
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionDetails;
|
|
294
|
+
static equals(a: SessionDetails | PlainMessage<SessionDetails> | undefined, b: SessionDetails | PlainMessage<SessionDetails> | undefined): boolean;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @generated from message scalekit.v1.sessions.RevokedSessionDetails
|
|
298
|
+
*/
|
|
299
|
+
export declare class RevokedSessionDetails extends Message<RevokedSessionDetails> {
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string session_id = 1;
|
|
302
|
+
*/
|
|
303
|
+
sessionId: string;
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: string user_id = 2;
|
|
306
|
+
*/
|
|
307
|
+
userId: string;
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
310
|
+
*/
|
|
311
|
+
createdAt?: Timestamp;
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
314
|
+
*/
|
|
315
|
+
updatedAt?: Timestamp;
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: google.protobuf.Timestamp idle_expires_at = 7;
|
|
318
|
+
*/
|
|
319
|
+
idleExpiresAt?: Timestamp;
|
|
320
|
+
/**
|
|
321
|
+
* @generated from field: google.protobuf.Timestamp absolute_expires_at = 8;
|
|
322
|
+
*/
|
|
323
|
+
absoluteExpiresAt?: Timestamp;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: google.protobuf.Timestamp expired_at = 9;
|
|
326
|
+
*/
|
|
327
|
+
expiredAt?: Timestamp;
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: google.protobuf.Timestamp logout_at = 10;
|
|
330
|
+
*/
|
|
331
|
+
logoutAt?: Timestamp;
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string status = 11;
|
|
334
|
+
*/
|
|
335
|
+
status: string;
|
|
336
|
+
constructor(data?: PartialMessage<RevokedSessionDetails>);
|
|
337
|
+
static readonly runtime: typeof proto3;
|
|
338
|
+
static readonly typeName = "scalekit.v1.sessions.RevokedSessionDetails";
|
|
339
|
+
static readonly fields: FieldList;
|
|
340
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RevokedSessionDetails;
|
|
341
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RevokedSessionDetails;
|
|
342
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RevokedSessionDetails;
|
|
343
|
+
static equals(a: RevokedSessionDetails | PlainMessage<RevokedSessionDetails> | undefined, b: RevokedSessionDetails | PlainMessage<RevokedSessionDetails> | undefined): boolean;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* @generated from message scalekit.v1.sessions.Location
|
|
347
|
+
*/
|
|
348
|
+
export declare class Location extends Message<Location> {
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: string region = 1;
|
|
351
|
+
*/
|
|
352
|
+
region: string;
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: string region_subdivision = 2;
|
|
355
|
+
*/
|
|
356
|
+
regionSubdivision: string;
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: string city = 3;
|
|
359
|
+
*/
|
|
360
|
+
city: string;
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: string latitude = 4;
|
|
363
|
+
*/
|
|
364
|
+
latitude: string;
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string longitude = 5;
|
|
367
|
+
*/
|
|
368
|
+
longitude: string;
|
|
369
|
+
constructor(data?: PartialMessage<Location>);
|
|
370
|
+
static readonly runtime: typeof proto3;
|
|
371
|
+
static readonly typeName = "scalekit.v1.sessions.Location";
|
|
372
|
+
static readonly fields: FieldList;
|
|
373
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Location;
|
|
374
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Location;
|
|
375
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Location;
|
|
376
|
+
static equals(a: Location | PlainMessage<Location> | undefined, b: Location | PlainMessage<Location> | undefined): boolean;
|
|
377
|
+
}
|