@milaboratories/pl-client 2.7.10 → 2.7.12

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.
Files changed (40) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +4858 -3025
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +8 -0
  6. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
  7. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
  8. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
  9. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
  10. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +171 -0
  11. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +27 -0
  13. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
  14. package/dist/proto/google/protobuf/descriptor.d.ts +89 -15
  15. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  16. package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
  17. package/package.json +6 -7
  18. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  19. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
  20. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +47 -5
  21. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  22. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +30 -4
  23. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
  24. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +44 -5
  25. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  26. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +16 -3
  27. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
  28. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +2200 -144
  29. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +79 -1
  30. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
  31. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
  32. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
  33. package/src/proto/google/api/http.ts +1 -1
  34. package/src/proto/google/protobuf/any.ts +1 -1
  35. package/src/proto/google/protobuf/descriptor.ts +174 -22
  36. package/src/proto/google/protobuf/duration.ts +1 -1
  37. package/src/proto/google/protobuf/empty.ts +16 -3
  38. package/src/proto/google/protobuf/struct.ts +1 -1
  39. package/src/proto/google/protobuf/timestamp.ts +1 -1
  40. package/src/proto/google/protobuf/wrappers.ts +1 -1
@@ -1,13 +1,13 @@
1
- // @generated by protobuf-ts 2.9.4 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
3
3
  // tslint:disable
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
5
  import { WireType } from "@protobuf-ts/runtime";
6
6
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
7
7
  import type { IBinaryWriter } from "@protobuf-ts/runtime";
8
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
9
8
  import type { BinaryReadOptions } from "@protobuf-ts/runtime";
10
9
  import type { IBinaryReader } from "@protobuf-ts/runtime";
10
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
11
11
  import type { PartialMessage } from "@protobuf-ts/runtime";
12
12
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
13
  import { MessageType } from "@protobuf-ts/runtime";
@@ -106,7 +106,20 @@ class ProgressAPI$Type extends MessageType<ProgressAPI> {
106
106
  return message;
107
107
  }
108
108
  internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI): ProgressAPI {
109
- return target ?? this.create();
109
+ let message = target ?? this.create(), end = reader.pos + length;
110
+ while (reader.pos < end) {
111
+ let [fieldNo, wireType] = reader.tag();
112
+ switch (fieldNo) {
113
+ default:
114
+ let u = options.readUnknownField;
115
+ if (u === "throw")
116
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
117
+ let d = reader.skip(wireType);
118
+ if (u !== false)
119
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
120
+ }
121
+ }
122
+ return message;
110
123
  }
111
124
  internalBinaryWrite(message: ProgressAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
112
125
  let u = options.writeUnknownFields;
@@ -210,7 +223,20 @@ class ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {
210
223
  return message;
211
224
  }
212
225
  internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus): ProgressAPI_GetStatus {
213
- return target ?? this.create();
226
+ let message = target ?? this.create(), end = reader.pos + length;
227
+ while (reader.pos < end) {
228
+ let [fieldNo, wireType] = reader.tag();
229
+ switch (fieldNo) {
230
+ default:
231
+ let u = options.readUnknownField;
232
+ if (u === "throw")
233
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
234
+ let d = reader.skip(wireType);
235
+ if (u !== false)
236
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
237
+ }
238
+ }
239
+ return message;
214
240
  }
215
241
  internalBinaryWrite(message: ProgressAPI_GetStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
216
242
  let u = options.writeUnknownFields;
@@ -328,7 +354,20 @@ class ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeSt
328
354
  return message;
329
355
  }
330
356
  internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus): ProgressAPI_RealtimeStatus {
331
- return target ?? this.create();
357
+ let message = target ?? this.create(), end = reader.pos + length;
358
+ while (reader.pos < end) {
359
+ let [fieldNo, wireType] = reader.tag();
360
+ switch (fieldNo) {
361
+ default:
362
+ let u = options.readUnknownField;
363
+ if (u === "throw")
364
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
365
+ let d = reader.skip(wireType);
366
+ if (u !== false)
367
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
368
+ }
369
+ }
370
+ return message;
332
371
  }
333
372
  internalBinaryWrite(message: ProgressAPI_RealtimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
334
373
  let u = options.writeUnknownFields;
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.4 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -1,13 +1,13 @@
1
- // @generated by protobuf-ts 2.9.4 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
3
3
  // tslint:disable
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
5
  import { WireType } from "@protobuf-ts/runtime";
6
6
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
7
7
  import type { IBinaryWriter } from "@protobuf-ts/runtime";
8
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
9
8
  import type { BinaryReadOptions } from "@protobuf-ts/runtime";
10
9
  import type { IBinaryReader } from "@protobuf-ts/runtime";
10
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
11
11
  import type { PartialMessage } from "@protobuf-ts/runtime";
12
12
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
13
  import { MessageType } from "@protobuf-ts/runtime";
@@ -260,7 +260,20 @@ class StreamingAPI$Type extends MessageType<StreamingAPI> {
260
260
  return message;
261
261
  }
262
262
  internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StreamingAPI): StreamingAPI {
263
- return target ?? this.create();
263
+ let message = target ?? this.create(), end = reader.pos + length;
264
+ while (reader.pos < end) {
265
+ let [fieldNo, wireType] = reader.tag();
266
+ switch (fieldNo) {
267
+ default:
268
+ let u = options.readUnknownField;
269
+ if (u === "throw")
270
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
271
+ let d = reader.skip(wireType);
272
+ if (u !== false)
273
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
274
+ }
275
+ }
276
+ return message;
264
277
  }
265
278
  internalBinaryWrite(message: StreamingAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
266
279
  let u = options.writeUnknownFields;
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.4 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/api.proto" (package "MiLaboratories.PL.API", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";