@dailydotdev/schema 0.3.28 → 0.3.30
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 +8 -0
- package/dist/bragi/pipelines_pb.d.ts +8 -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 +67 -3
- package/dist/skirnir/skirnir_connect.d.ts +67 -3
- package/dist/skirnir/skirnir_connect.js +1 -1
- package/dist/skirnir/skirnir_pb.cjs +1 -1
- package/dist/skirnir/skirnir_pb.d.cts +212 -1
- package/dist/skirnir/skirnir_pb.d.ts +212 -1
- package/dist/skirnir/skirnir_pb.js +1 -1
- package/package.json +1 -1
- package/dist/onnx-server/inference_connect.cjs +0 -1
- package/dist/onnx-server/inference_connect.d.cts +0 -54
- package/dist/onnx-server/inference_connect.d.ts +0 -54
- package/dist/onnx-server/inference_connect.js +0 -1
- package/dist/onnx-server/inference_pb.cjs +0 -1
- package/dist/onnx-server/inference_pb.d.cts +0 -318
- package/dist/onnx-server/inference_pb.d.ts +0 -318
- package/dist/onnx-server/inference_pb.js +0 -1
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* What a user is to a room, as XEP-0045 defines it. OWNER isn't offered:
|
|
5
|
+
* the admin account owns every room, and an owner could destroy it.
|
|
6
|
+
*
|
|
7
|
+
* @generated from enum skirnir.RoomAffiliation
|
|
8
|
+
*/
|
|
9
|
+
declare enum RoomAffiliation {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum value: ROOM_AFFILIATION_UNSPECIFIED = 0;
|
|
12
|
+
*/
|
|
13
|
+
UNSPECIFIED = 0,
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: ROOM_AFFILIATION_NONE = 1;
|
|
16
|
+
*/
|
|
17
|
+
NONE = 1,
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: ROOM_AFFILIATION_MEMBER = 2;
|
|
20
|
+
*/
|
|
21
|
+
MEMBER = 2,
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: ROOM_AFFILIATION_ADMIN = 3;
|
|
24
|
+
*/
|
|
25
|
+
ADMIN = 3,
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: ROOM_AFFILIATION_OUTCAST = 4;
|
|
28
|
+
*/
|
|
29
|
+
OUTCAST = 4
|
|
30
|
+
}
|
|
3
31
|
/**
|
|
4
32
|
* @generated from message skirnir.EnsureUsersRequest
|
|
5
33
|
*/
|
|
@@ -239,5 +267,188 @@ declare class DeleteUserResponse extends Message<DeleteUserResponse> {
|
|
|
239
267
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
240
268
|
static equals(a: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined, b: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined): boolean;
|
|
241
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message skirnir.CreateRoomRequest
|
|
272
|
+
*/
|
|
273
|
+
declare class CreateRoomRequest extends Message<CreateRoomRequest> {
|
|
274
|
+
/**
|
|
275
|
+
* Lowercase ASCII letters, digits and "-", at most 64 bytes
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string room_id = 1;
|
|
278
|
+
*/
|
|
279
|
+
roomId: string;
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: string title = 2;
|
|
282
|
+
*/
|
|
283
|
+
title: string;
|
|
284
|
+
/**
|
|
285
|
+
* Keeps the room once its last occupant leaves. Off, ejabberd drops the
|
|
286
|
+
* room, with its in-memory history, as soon as it empties.
|
|
287
|
+
*
|
|
288
|
+
* @generated from field: bool persistent = 3;
|
|
289
|
+
*/
|
|
290
|
+
persistent: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Only users with the MEMBER (or higher) affiliation may join. Members may
|
|
293
|
+
* also subscribe to the room (XEP-0405 MucSub) to receive its messages
|
|
294
|
+
* while not joined.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: bool members_only = 4;
|
|
297
|
+
*/
|
|
298
|
+
membersOnly: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Stores messages in the archive (XEP-0313) so joiners can page back
|
|
301
|
+
* through them. Off, a joiner gets the last few messages ejabberd keeps in
|
|
302
|
+
* memory and nothing is written to the database.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: bool archive = 5;
|
|
305
|
+
*/
|
|
306
|
+
archive: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* Cap on occupants; 0 applies the service default. ejabberd lowers values
|
|
309
|
+
* above the service maximum.
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: uint32 max_users = 6;
|
|
312
|
+
*/
|
|
313
|
+
maxUsers: number;
|
|
314
|
+
/**
|
|
315
|
+
* Sends every occupant's presence to every other occupant. Off, only
|
|
316
|
+
* moderators' presence is broadcast, which keeps a busy room from sending
|
|
317
|
+
* each join and leave to everyone in it; callers count occupants with
|
|
318
|
+
* GetRoomOccupantCount instead.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: bool broadcast_presence = 7;
|
|
321
|
+
*/
|
|
322
|
+
broadcastPresence: boolean;
|
|
323
|
+
constructor(data?: PartialMessage<CreateRoomRequest>);
|
|
324
|
+
static readonly runtime: typeof proto3;
|
|
325
|
+
static readonly typeName = "skirnir.CreateRoomRequest";
|
|
326
|
+
static readonly fields: FieldList;
|
|
327
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRoomRequest;
|
|
328
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRoomRequest;
|
|
329
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRoomRequest;
|
|
330
|
+
static equals(a: CreateRoomRequest | PlainMessage<CreateRoomRequest> | undefined, b: CreateRoomRequest | PlainMessage<CreateRoomRequest> | undefined): boolean;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* @generated from message skirnir.CreateRoomResponse
|
|
334
|
+
*/
|
|
335
|
+
declare class CreateRoomResponse extends Message<CreateRoomResponse> {
|
|
336
|
+
/**
|
|
337
|
+
* Bare JID of the room
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: string room_jid = 1;
|
|
340
|
+
*/
|
|
341
|
+
roomJid: string;
|
|
342
|
+
constructor(data?: PartialMessage<CreateRoomResponse>);
|
|
343
|
+
static readonly runtime: typeof proto3;
|
|
344
|
+
static readonly typeName = "skirnir.CreateRoomResponse";
|
|
345
|
+
static readonly fields: FieldList;
|
|
346
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateRoomResponse;
|
|
347
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateRoomResponse;
|
|
348
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateRoomResponse;
|
|
349
|
+
static equals(a: CreateRoomResponse | PlainMessage<CreateRoomResponse> | undefined, b: CreateRoomResponse | PlainMessage<CreateRoomResponse> | undefined): boolean;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message skirnir.DestroyRoomRequest
|
|
353
|
+
*/
|
|
354
|
+
declare class DestroyRoomRequest extends Message<DestroyRoomRequest> {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: string room_id = 1;
|
|
357
|
+
*/
|
|
358
|
+
roomId: string;
|
|
359
|
+
constructor(data?: PartialMessage<DestroyRoomRequest>);
|
|
360
|
+
static readonly runtime: typeof proto3;
|
|
361
|
+
static readonly typeName = "skirnir.DestroyRoomRequest";
|
|
362
|
+
static readonly fields: FieldList;
|
|
363
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DestroyRoomRequest;
|
|
364
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DestroyRoomRequest;
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DestroyRoomRequest;
|
|
366
|
+
static equals(a: DestroyRoomRequest | PlainMessage<DestroyRoomRequest> | undefined, b: DestroyRoomRequest | PlainMessage<DestroyRoomRequest> | undefined): boolean;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @generated from message skirnir.DestroyRoomResponse
|
|
370
|
+
*/
|
|
371
|
+
declare class DestroyRoomResponse extends Message<DestroyRoomResponse> {
|
|
372
|
+
constructor(data?: PartialMessage<DestroyRoomResponse>);
|
|
373
|
+
static readonly runtime: typeof proto3;
|
|
374
|
+
static readonly typeName = "skirnir.DestroyRoomResponse";
|
|
375
|
+
static readonly fields: FieldList;
|
|
376
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DestroyRoomResponse;
|
|
377
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DestroyRoomResponse;
|
|
378
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DestroyRoomResponse;
|
|
379
|
+
static equals(a: DestroyRoomResponse | PlainMessage<DestroyRoomResponse> | undefined, b: DestroyRoomResponse | PlainMessage<DestroyRoomResponse> | undefined): boolean;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* @generated from message skirnir.SetRoomAffiliationRequest
|
|
383
|
+
*/
|
|
384
|
+
declare class SetRoomAffiliationRequest extends Message<SetRoomAffiliationRequest> {
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: string room_id = 1;
|
|
387
|
+
*/
|
|
388
|
+
roomId: string;
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: string user_id = 2;
|
|
391
|
+
*/
|
|
392
|
+
userId: string;
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: skirnir.RoomAffiliation affiliation = 3;
|
|
395
|
+
*/
|
|
396
|
+
affiliation: RoomAffiliation;
|
|
397
|
+
constructor(data?: PartialMessage<SetRoomAffiliationRequest>);
|
|
398
|
+
static readonly runtime: typeof proto3;
|
|
399
|
+
static readonly typeName = "skirnir.SetRoomAffiliationRequest";
|
|
400
|
+
static readonly fields: FieldList;
|
|
401
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRoomAffiliationRequest;
|
|
402
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRoomAffiliationRequest;
|
|
403
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRoomAffiliationRequest;
|
|
404
|
+
static equals(a: SetRoomAffiliationRequest | PlainMessage<SetRoomAffiliationRequest> | undefined, b: SetRoomAffiliationRequest | PlainMessage<SetRoomAffiliationRequest> | undefined): boolean;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* @generated from message skirnir.SetRoomAffiliationResponse
|
|
408
|
+
*/
|
|
409
|
+
declare class SetRoomAffiliationResponse extends Message<SetRoomAffiliationResponse> {
|
|
410
|
+
constructor(data?: PartialMessage<SetRoomAffiliationResponse>);
|
|
411
|
+
static readonly runtime: typeof proto3;
|
|
412
|
+
static readonly typeName = "skirnir.SetRoomAffiliationResponse";
|
|
413
|
+
static readonly fields: FieldList;
|
|
414
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRoomAffiliationResponse;
|
|
415
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRoomAffiliationResponse;
|
|
416
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRoomAffiliationResponse;
|
|
417
|
+
static equals(a: SetRoomAffiliationResponse | PlainMessage<SetRoomAffiliationResponse> | undefined, b: SetRoomAffiliationResponse | PlainMessage<SetRoomAffiliationResponse> | undefined): boolean;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* @generated from message skirnir.GetRoomOccupantCountRequest
|
|
421
|
+
*/
|
|
422
|
+
declare class GetRoomOccupantCountRequest extends Message<GetRoomOccupantCountRequest> {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: string room_id = 1;
|
|
425
|
+
*/
|
|
426
|
+
roomId: string;
|
|
427
|
+
constructor(data?: PartialMessage<GetRoomOccupantCountRequest>);
|
|
428
|
+
static readonly runtime: typeof proto3;
|
|
429
|
+
static readonly typeName = "skirnir.GetRoomOccupantCountRequest";
|
|
430
|
+
static readonly fields: FieldList;
|
|
431
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoomOccupantCountRequest;
|
|
432
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoomOccupantCountRequest;
|
|
433
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoomOccupantCountRequest;
|
|
434
|
+
static equals(a: GetRoomOccupantCountRequest | PlainMessage<GetRoomOccupantCountRequest> | undefined, b: GetRoomOccupantCountRequest | PlainMessage<GetRoomOccupantCountRequest> | undefined): boolean;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* @generated from message skirnir.GetRoomOccupantCountResponse
|
|
438
|
+
*/
|
|
439
|
+
declare class GetRoomOccupantCountResponse extends Message<GetRoomOccupantCountResponse> {
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: uint32 count = 1;
|
|
442
|
+
*/
|
|
443
|
+
count: number;
|
|
444
|
+
constructor(data?: PartialMessage<GetRoomOccupantCountResponse>);
|
|
445
|
+
static readonly runtime: typeof proto3;
|
|
446
|
+
static readonly typeName = "skirnir.GetRoomOccupantCountResponse";
|
|
447
|
+
static readonly fields: FieldList;
|
|
448
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRoomOccupantCountResponse;
|
|
449
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRoomOccupantCountResponse;
|
|
450
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRoomOccupantCountResponse;
|
|
451
|
+
static equals(a: GetRoomOccupantCountResponse | PlainMessage<GetRoomOccupantCountResponse> | undefined, b: GetRoomOccupantCountResponse | PlainMessage<GetRoomOccupantCountResponse> | undefined): boolean;
|
|
452
|
+
}
|
|
242
453
|
|
|
243
|
-
export { CloseConversationRequest, CloseConversationResponse, DeleteUserRequest, DeleteUserResponse, EnsureUsersRequest, EnsureUsersResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse, SetUserBannedRequest, SetUserBannedResponse };
|
|
454
|
+
export { CloseConversationRequest, CloseConversationResponse, CreateRoomRequest, CreateRoomResponse, DeleteUserRequest, DeleteUserResponse, DestroyRoomRequest, DestroyRoomResponse, EnsureUsersRequest, EnsureUsersResponse, GetRoomOccupantCountRequest, GetRoomOccupantCountResponse, IssueTokenRequest, IssueTokenResponse, OpenConversationRequest, OpenConversationResponse, RoomAffiliation, SetRoomAffiliationRequest, SetRoomAffiliationResponse, 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)}}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};
|
|
1
|
+
import{Message as t,proto3 as r,protoInt64 as n}from"@bufbuild/protobuf";var i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.NONE=1]="NONE",t[t.MEMBER=2]="MEMBER",t[t.ADMIN=3]="ADMIN",t[t.OUTCAST=4]="OUTCAST",t))(i||{});r.util.setEnumType(i,"skirnir.RoomAffiliation",[{no:0,name:"ROOM_AFFILIATION_UNSPECIFIED"},{no:1,name:"ROOM_AFFILIATION_NONE"},{no:2,name:"ROOM_AFFILIATION_MEMBER"},{no:3,name:"ROOM_AFFILIATION_ADMIN"},{no:4,name:"ROOM_AFFILIATION_OUTCAST"}]);class s 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 s).fromBinary(t,r)}static fromJson(t,r){return(new s).fromJson(t,r)}static fromJsonString(t,r){return(new s).fromJsonString(t,r)}static equals(t,n){return r.util.equals(s,t,n)}}class e 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 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,n){return r.util.equals(e,t,n)}}class a 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 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,n){return r.util.equals(a,t,n)}}class o 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 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,n){return r.util.equals(o,t,n)}}class u 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 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,n){return r.util.equals(u,t,n)}}class c 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 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,n){return r.util.equals(c,t,n)}}class l 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 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,n){return r.util.equals(l,t,n)}}class m extends t{token="";jid="";expiresAt=n.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 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,n){return r.util.equals(m,t,n)}}class f 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 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,n){return r.util.equals(f,t,n)}}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,n){return r.util.equals(d,t,n)}}class J 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 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,n){return r.util.equals(J,t,n)}}class w 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 w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,n){return r.util.equals(w,t,n)}}class p extends t{roomId="";title="";persistent=!1;membersOnly=!1;archive=!1;maxUsers=0;broadcastPresence=!1;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CreateRoomRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"room_id",kind:"scalar",T:9},{no:2,name:"title",kind:"scalar",T:9},{no:3,name:"persistent",kind:"scalar",T:8},{no:4,name:"members_only",kind:"scalar",T:8},{no:5,name:"archive",kind:"scalar",T:8},{no:6,name:"max_users",kind:"scalar",T:13},{no:7,name:"broadcast_presence",kind:"scalar",T:8}]));static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,n){return r.util.equals(p,t,n)}}class y extends t{roomJid="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.CreateRoomResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"room_jid",kind:"scalar",T:9}]));static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,n){return r.util.equals(y,t,n)}}class k extends t{roomId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.DestroyRoomRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"room_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,n){return r.util.equals(k,t,n)}}class S extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.DestroyRoomResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,n){return r.util.equals(S,t,n)}}class q extends t{roomId="";userId="";affiliation=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.SetRoomAffiliationRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"room_id",kind:"scalar",T:9},{no:2,name:"user_id",kind:"scalar",T:9},{no:3,name:"affiliation",kind:"enum",T:r.getEnumType(i)}]));static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,n){return r.util.equals(q,t,n)}}class B extends t{constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.SetRoomAffiliationResponse";static fields=r.util.newFieldList((()=>[]));static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,n){return r.util.equals(B,t,n)}}class T extends t{roomId="";constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.GetRoomOccupantCountRequest";static fields=r.util.newFieldList((()=>[{no:1,name:"room_id",kind:"scalar",T:9}]));static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,n){return r.util.equals(T,t,n)}}class g extends t{count=0;constructor(t){super(),r.util.initPartial(t,this)}static runtime=r;static typeName="skirnir.GetRoomOccupantCountResponse";static fields=r.util.newFieldList((()=>[{no:1,name:"count",kind:"scalar",T:13}]));static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,n){return r.util.equals(g,t,n)}}export{u as CloseConversationRequest,c as CloseConversationResponse,p as CreateRoomRequest,y as CreateRoomResponse,J as DeleteUserRequest,w as DeleteUserResponse,k as DestroyRoomRequest,S as DestroyRoomResponse,s as EnsureUsersRequest,e as EnsureUsersResponse,T as GetRoomOccupantCountRequest,g as GetRoomOccupantCountResponse,l as IssueTokenRequest,m as IssueTokenResponse,a as OpenConversationRequest,o as OpenConversationResponse,i as RoomAffiliation,q as SetRoomAffiliationRequest,B as SetRoomAffiliationResponse,f as SetUserBannedRequest,d as SetUserBannedResponse};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,d={};((e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})})(d,{InferenceService:()=>c}),module.exports=(e=d,((e,d,s,i)=>{if(d&&"object"==typeof d||"function"==typeof d)for(let c of o(d))n.call(e,c)||c===s||t(e,c,{get:()=>d[c],enumerable:!(i=r(d,c))||i.enumerable});return e})(t({},"__esModule",{value:!0}),e));var s=require("./inference_pb.cjs"),i=require("@bufbuild/protobuf");const c={typeName:"onnxserver.v1.InferenceService",methods:{predict:{name:"Predict",I:s.PredictRequest,O:s.PredictResponse,kind:i.MethodKind.Unary},listModels:{name:"ListModels",I:s.ListModelsRequest,O:s.ListModelsResponse,kind:i.MethodKind.Unary},getModel:{name:"GetModel",I:s.GetModelRequest,O:s.GetModelResponse,kind:i.MethodKind.Unary}}};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PredictRequest, PredictResponse, ListModelsRequest, ListModelsResponse, GetModelRequest, GetModelResponse } from './inference_pb.cjs';
|
|
2
|
-
import '@bufbuild/protobuf';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* InferenceService serves generic multi-model ONNX inference. The tensor
|
|
6
|
-
* encoding follows the KServe v2 gRPC inference protocol shape (name,
|
|
7
|
-
* datatype, shape, typed flat row-major contents), without claiming full
|
|
8
|
-
* v2 compliance.
|
|
9
|
-
*
|
|
10
|
-
* @generated from service onnxserver.v1.InferenceService
|
|
11
|
-
*/
|
|
12
|
-
declare const InferenceService: {
|
|
13
|
-
readonly typeName: "onnxserver.v1.InferenceService";
|
|
14
|
-
readonly methods: {
|
|
15
|
-
/**
|
|
16
|
-
* Predict runs inference on one loaded model.
|
|
17
|
-
* Errors: NOT_FOUND (unknown model), INVALID_ARGUMENT (input validation
|
|
18
|
-
* failure or model-side rejection; the message names the offending
|
|
19
|
-
* input), RESOURCE_EXHAUSTED (inference queue timeout - retryable).
|
|
20
|
-
*
|
|
21
|
-
* @generated from rpc onnxserver.v1.InferenceService.Predict
|
|
22
|
-
*/
|
|
23
|
-
readonly predict: {
|
|
24
|
-
readonly name: "Predict";
|
|
25
|
-
readonly I: typeof PredictRequest;
|
|
26
|
-
readonly O: typeof PredictResponse;
|
|
27
|
-
readonly kind: any;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* ListModels returns metadata for every loaded model.
|
|
31
|
-
*
|
|
32
|
-
* @generated from rpc onnxserver.v1.InferenceService.ListModels
|
|
33
|
-
*/
|
|
34
|
-
readonly listModels: {
|
|
35
|
-
readonly name: "ListModels";
|
|
36
|
-
readonly I: typeof ListModelsRequest;
|
|
37
|
-
readonly O: typeof ListModelsResponse;
|
|
38
|
-
readonly kind: any;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* GetModel returns metadata for one model. Errors: NOT_FOUND.
|
|
42
|
-
*
|
|
43
|
-
* @generated from rpc onnxserver.v1.InferenceService.GetModel
|
|
44
|
-
*/
|
|
45
|
-
readonly getModel: {
|
|
46
|
-
readonly name: "GetModel";
|
|
47
|
-
readonly I: typeof GetModelRequest;
|
|
48
|
-
readonly O: typeof GetModelResponse;
|
|
49
|
-
readonly kind: any;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { InferenceService };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PredictRequest, PredictResponse, ListModelsRequest, ListModelsResponse, GetModelRequest, GetModelResponse } from './inference_pb.js';
|
|
2
|
-
import '@bufbuild/protobuf';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* InferenceService serves generic multi-model ONNX inference. The tensor
|
|
6
|
-
* encoding follows the KServe v2 gRPC inference protocol shape (name,
|
|
7
|
-
* datatype, shape, typed flat row-major contents), without claiming full
|
|
8
|
-
* v2 compliance.
|
|
9
|
-
*
|
|
10
|
-
* @generated from service onnxserver.v1.InferenceService
|
|
11
|
-
*/
|
|
12
|
-
declare const InferenceService: {
|
|
13
|
-
readonly typeName: "onnxserver.v1.InferenceService";
|
|
14
|
-
readonly methods: {
|
|
15
|
-
/**
|
|
16
|
-
* Predict runs inference on one loaded model.
|
|
17
|
-
* Errors: NOT_FOUND (unknown model), INVALID_ARGUMENT (input validation
|
|
18
|
-
* failure or model-side rejection; the message names the offending
|
|
19
|
-
* input), RESOURCE_EXHAUSTED (inference queue timeout - retryable).
|
|
20
|
-
*
|
|
21
|
-
* @generated from rpc onnxserver.v1.InferenceService.Predict
|
|
22
|
-
*/
|
|
23
|
-
readonly predict: {
|
|
24
|
-
readonly name: "Predict";
|
|
25
|
-
readonly I: typeof PredictRequest;
|
|
26
|
-
readonly O: typeof PredictResponse;
|
|
27
|
-
readonly kind: any;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* ListModels returns metadata for every loaded model.
|
|
31
|
-
*
|
|
32
|
-
* @generated from rpc onnxserver.v1.InferenceService.ListModels
|
|
33
|
-
*/
|
|
34
|
-
readonly listModels: {
|
|
35
|
-
readonly name: "ListModels";
|
|
36
|
-
readonly I: typeof ListModelsRequest;
|
|
37
|
-
readonly O: typeof ListModelsResponse;
|
|
38
|
-
readonly kind: any;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* GetModel returns metadata for one model. Errors: NOT_FOUND.
|
|
42
|
-
*
|
|
43
|
-
* @generated from rpc onnxserver.v1.InferenceService.GetModel
|
|
44
|
-
*/
|
|
45
|
-
readonly getModel: {
|
|
46
|
-
readonly name: "GetModel";
|
|
47
|
-
readonly I: typeof GetModelRequest;
|
|
48
|
-
readonly O: typeof GetModelResponse;
|
|
49
|
-
readonly kind: any;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { InferenceService };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{GetModelRequest as e,GetModelResponse as n,ListModelsRequest as r,ListModelsResponse as o,PredictRequest as t,PredictResponse as i}from"./inference_pb.ts";import{MethodKind as d}from"@bufbuild/protobuf";const m={typeName:"onnxserver.v1.InferenceService",methods:{predict:{name:"Predict",I:t,O:i,kind:d.Unary},listModels:{name:"ListModels",I:r,O:o,kind:d.Unary},getModel:{name:"GetModel",I:e,O:n,kind:d.Unary}}};export{m as InferenceService};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t,e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o={};((t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})})(o,{DataType:()=>i,GetModelRequest:()=>y,GetModelResponse:()=>g,ListModelsRequest:()=>T,ListModelsResponse:()=>f,ModelMetadata:()=>d,PredictRequest:()=>c,PredictResponse:()=>l,Tensor:()=>m,TensorContents:()=>u,TensorMeta:()=>p}),module.exports=(t=o,((t,o,a,i)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let u of r(o))s.call(t,u)||u===a||e(t,u,{get:()=>o[u],enumerable:!(i=n(o,u))||i.enumerable});return t})(e({},"__esModule",{value:!0}),t));var a=require("@bufbuild/protobuf"),i=(t=>(t[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.FP32=1]="FP32",t[t.FP64=2]="FP64",t[t.INT8=3]="INT8",t[t.INT16=4]="INT16",t[t.INT32=5]="INT32",t[t.INT64=6]="INT64",t[t.UINT8=7]="UINT8",t[t.UINT16=8]="UINT16",t[t.UINT32=9]="UINT32",t[t.UINT64=10]="UINT64",t[t.BOOL=11]="BOOL",t[t.BYTES=12]="BYTES",t))(i||{});a.proto3.util.setEnumType(i,"onnxserver.v1.DataType",[{no:0,name:"DATA_TYPE_UNSPECIFIED"},{no:1,name:"DATA_TYPE_FP32"},{no:2,name:"DATA_TYPE_FP64"},{no:3,name:"DATA_TYPE_INT8"},{no:4,name:"DATA_TYPE_INT16"},{no:5,name:"DATA_TYPE_INT32"},{no:6,name:"DATA_TYPE_INT64"},{no:7,name:"DATA_TYPE_UINT8"},{no:8,name:"DATA_TYPE_UINT16"},{no:9,name:"DATA_TYPE_UINT32"},{no:10,name:"DATA_TYPE_UINT64"},{no:11,name:"DATA_TYPE_BOOL"},{no:12,name:"DATA_TYPE_BYTES"}]);class u extends a.Message{fp32Contents=[];fp64Contents=[];int32Contents=[];int64Contents=[];uint32Contents=[];uint64Contents=[];boolContents=[];bytesContents=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.TensorContents";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"fp32_contents",kind:"scalar",T:2,repeated:!0},{no:2,name:"fp64_contents",kind:"scalar",T:1,repeated:!0},{no:3,name:"int32_contents",kind:"scalar",T:5,repeated:!0},{no:4,name:"int64_contents",kind:"scalar",T:3,repeated:!0},{no:5,name:"uint32_contents",kind:"scalar",T:13,repeated:!0},{no:6,name:"uint64_contents",kind:"scalar",T:4,repeated:!0},{no:7,name:"bool_contents",kind:"scalar",T:8,repeated:!0},{no:8,name:"bytes_contents",kind:"scalar",T:12,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 a.proto3.util.equals(u,t,e)}}class m extends a.Message{name="";dataType=0;shape=[];contents;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.Tensor";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"data_type",kind:"enum",T:a.proto3.getEnumType(i)},{no:3,name:"shape",kind:"scalar",T:3,repeated:!0},{no:4,name:"contents",kind:"message",T:u}]));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 a.proto3.util.equals(m,t,e)}}class c extends a.Message{modelName="";inputs=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.PredictRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"model_name",kind:"scalar",T:9},{no:2,name:"inputs",kind:"message",T:m,repeated:!0}]));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 a.proto3.util.equals(c,t,e)}}class l extends a.Message{modelName="";outputs=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.PredictResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"model_name",kind:"scalar",T:9},{no:2,name:"outputs",kind:"message",T:m,repeated:!0}]));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 a.proto3.util.equals(l,t,e)}}class p extends a.Message{name="";dataType=0;shape=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.TensorMeta";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"data_type",kind:"enum",T:a.proto3.getEnumType(i)},{no:3,name:"shape",kind:"scalar",T:3,repeated:!0}]));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 a.proto3.util.equals(p,t,e)}}class d extends a.Message{name="";source="";inputs=[];outputs=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.ModelMetadata";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"name",kind:"scalar",T:9},{no:2,name:"source",kind:"scalar",T:9},{no:3,name:"inputs",kind:"message",T:p,repeated:!0},{no:4,name:"outputs",kind:"message",T:p,repeated:!0}]));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 a.proto3.util.equals(d,t,e)}}class T extends a.Message{constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.ListModelsRequest";static fields=a.proto3.util.newFieldList((()=>[]));static fromBinary(t,e){return(new T).fromBinary(t,e)}static fromJson(t,e){return(new T).fromJson(t,e)}static fromJsonString(t,e){return(new T).fromJsonString(t,e)}static equals(t,e){return a.proto3.util.equals(T,t,e)}}class f extends a.Message{models=[];constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.ListModelsResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"models",kind:"message",T:d,repeated:!0}]));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 a.proto3.util.equals(f,t,e)}}class y extends a.Message{name="";constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.GetModelRequest";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"name",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 a.proto3.util.equals(y,t,e)}}class g extends a.Message{model;constructor(t){super(),a.proto3.util.initPartial(t,this)}static runtime=a.proto3;static typeName="onnxserver.v1.GetModelResponse";static fields=a.proto3.util.newFieldList((()=>[{no:1,name:"model",kind:"message",T:d}]));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 a.proto3.util.equals(g,t,e)}}
|