@milaboratories/pl-client 2.7.14 → 2.8.1

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 (61) hide show
  1. package/dist/core/client.d.ts +4 -1
  2. package/dist/core/client.d.ts.map +1 -1
  3. package/dist/core/ll_client.d.ts +12 -2
  4. package/dist/core/ll_client.d.ts.map +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +4341 -4316
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +15 -15
  10. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
  11. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +4 -4
  12. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -1
  13. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +59 -59
  14. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
  15. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +72 -72
  16. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
  17. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +152 -152
  18. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
  19. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +156 -156
  20. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
  21. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +790 -773
  22. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  23. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +163 -163
  24. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
  25. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +22 -22
  26. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
  27. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +32 -32
  28. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -1
  29. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +78 -78
  30. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
  31. package/dist/proto/google/protobuf/any.d.ts +52 -52
  32. package/dist/proto/google/protobuf/any.d.ts.map +1 -1
  33. package/dist/proto/google/protobuf/duration.d.ts +19 -19
  34. package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
  35. package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
  36. package/dist/proto/google/protobuf/struct.d.ts +56 -56
  37. package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
  38. package/dist/proto/google/protobuf/timestamp.d.ts +25 -25
  39. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
  40. package/dist/proto/google/protobuf/wrappers.d.ts +72 -72
  41. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  42. package/package.json +3 -3
  43. package/src/core/client.ts +31 -35
  44. package/src/core/ll_client.ts +48 -23
  45. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +72 -75
  46. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +21 -22
  47. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +276 -291
  48. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +54 -59
  49. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +470 -491
  50. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +238 -263
  51. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +11058 -11752
  52. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1115 -1156
  53. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +126 -132
  54. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +201 -204
  55. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +541 -560
  56. package/src/proto/google/protobuf/any.ts +140 -150
  57. package/src/proto/google/protobuf/duration.ts +103 -108
  58. package/src/proto/google/protobuf/empty.ts +39 -42
  59. package/src/proto/google/protobuf/struct.ts +323 -337
  60. package/src/proto/google/protobuf/timestamp.ts +124 -132
  61. package/src/proto/google/protobuf/wrappers.ts +492 -537
@@ -1,127 +1,124 @@
1
- // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/base_types.proto" (package "MiLaboratories.PL.Base", syntax proto3)
3
3
  // tslint:disable
4
- import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
5
- import type { IBinaryWriter } from '@protobuf-ts/runtime';
6
- import { WireType } from '@protobuf-ts/runtime';
7
- import type { BinaryReadOptions } from '@protobuf-ts/runtime';
8
- import type { IBinaryReader } from '@protobuf-ts/runtime';
9
- import { UnknownFieldHandler } from '@protobuf-ts/runtime';
10
- import type { PartialMessage } from '@protobuf-ts/runtime';
11
- import { reflectionMergePartial } from '@protobuf-ts/runtime';
12
- import { MessageType } from '@protobuf-ts/runtime';
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import { WireType } from "@protobuf-ts/runtime";
7
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
9
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
+ import type { PartialMessage } from "@protobuf-ts/runtime";
11
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
+ import { MessageType } from "@protobuf-ts/runtime";
13
13
  /**
14
14
  * @generated from protobuf message MiLaboratories.PL.Base.ResourceType
15
15
  */
16
16
  export interface ResourceType {
17
- /**
17
+ /**
18
18
  * @generated from protobuf field: string name = 1;
19
19
  */
20
- name: string;
21
- /**
20
+ name: string;
21
+ /**
22
22
  * @generated from protobuf field: string version = 2;
23
23
  */
24
- version: string;
24
+ version: string;
25
25
  }
26
26
  /**
27
27
  * @generated from protobuf message MiLaboratories.PL.Base.FieldRef
28
28
  */
29
29
  export interface FieldRef {
30
- /**
30
+ /**
31
31
  * @generated from protobuf field: uint64 resource_id = 2;
32
32
  */
33
- resourceId: bigint;
34
- /**
33
+ resourceId: bigint;
34
+ /**
35
35
  * @generated from protobuf field: string field_name = 3;
36
36
  */
37
- fieldName: string;
37
+ fieldName: string;
38
38
  }
39
39
  /**
40
40
  * @generated from protobuf enum MiLaboratories.PL.Base.FieldType
41
41
  */
42
42
  export enum FieldType {
43
- /**
43
+ /**
44
44
  * @generated from protobuf enum value: INVALID = 0;
45
45
  */
46
- INVALID = 0,
47
- /**
46
+ INVALID = 0,
47
+ /**
48
48
  * @generated from protobuf enum value: INPUT = 1;
49
49
  */
50
- INPUT = 1,
51
- /**
50
+ INPUT = 1,
51
+ /**
52
52
  * @generated from protobuf enum value: OUTPUT = 2;
53
53
  */
54
- OUTPUT = 2,
55
- /**
54
+ OUTPUT = 2,
55
+ /**
56
56
  * @generated from protobuf enum value: SERVICE = 6;
57
57
  */
58
- SERVICE = 6,
59
- /**
58
+ SERVICE = 6,
59
+ /**
60
60
  * @generated from protobuf enum value: ONE_TIME_WRITABLE = 4;
61
61
  */
62
- ONE_TIME_WRITABLE = 4,
63
- /**
62
+ ONE_TIME_WRITABLE = 4,
63
+ /**
64
64
  * @generated from protobuf enum value: DYNAMIC = 3;
65
65
  */
66
- DYNAMIC = 3,
67
- /**
66
+ DYNAMIC = 3,
67
+ /**
68
68
  * @generated from protobuf enum value: MULTIPLE_TIMES_WRITABLE = 5;
69
69
  */
70
- MULTIPLE_TIMES_WRITABLE = 5,
70
+ MULTIPLE_TIMES_WRITABLE = 5
71
71
  }
72
72
  // @generated message type with reflection information, may provide speed optimized methods
73
73
  class ResourceType$Type extends MessageType<ResourceType> {
74
- constructor() {
75
- super('MiLaboratories.PL.Base.ResourceType', [
76
- { no: 1, name: 'name', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
77
- { no: 2, name: 'version', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
78
- ]);
79
- }
80
-
81
- create(value?: PartialMessage<ResourceType>): ResourceType {
82
- const message = globalThis.Object.create((this.messagePrototype!));
83
- message.name = '';
84
- message.version = '';
85
- if (value !== undefined)
86
- reflectionMergePartial<ResourceType>(this, message, value);
87
- return message;
88
- }
89
-
90
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceType): ResourceType {
91
- const message = target ?? this.create(), end = reader.pos + length;
92
- while (reader.pos < end) {
93
- const [fieldNo, wireType] = reader.tag();
94
- switch (fieldNo) {
95
- case /* string name */ 1:
96
- message.name = reader.string();
97
- break;
98
- case /* string version */ 2:
99
- message.version = reader.string();
100
- break;
101
- default:
102
- const u = options.readUnknownField;
103
- if (u === 'throw')
104
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
105
- const d = reader.skip(wireType);
106
- if (u !== false)
107
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
108
- }
74
+ constructor() {
75
+ super("MiLaboratories.PL.Base.ResourceType", [
76
+ { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
77
+ { no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
78
+ ]);
79
+ }
80
+ create(value?: PartialMessage<ResourceType>): ResourceType {
81
+ const message = globalThis.Object.create((this.messagePrototype!));
82
+ message.name = "";
83
+ message.version = "";
84
+ if (value !== undefined)
85
+ reflectionMergePartial<ResourceType>(this, message, value);
86
+ return message;
87
+ }
88
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceType): ResourceType {
89
+ let message = target ?? this.create(), end = reader.pos + length;
90
+ while (reader.pos < end) {
91
+ let [fieldNo, wireType] = reader.tag();
92
+ switch (fieldNo) {
93
+ case /* string name */ 1:
94
+ message.name = reader.string();
95
+ break;
96
+ case /* string version */ 2:
97
+ message.version = reader.string();
98
+ break;
99
+ default:
100
+ let u = options.readUnknownField;
101
+ if (u === "throw")
102
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
103
+ let d = reader.skip(wireType);
104
+ if (u !== false)
105
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
106
+ }
107
+ }
108
+ return message;
109
+ }
110
+ internalBinaryWrite(message: ResourceType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
111
+ /* string name = 1; */
112
+ if (message.name !== "")
113
+ writer.tag(1, WireType.LengthDelimited).string(message.name);
114
+ /* string version = 2; */
115
+ if (message.version !== "")
116
+ writer.tag(2, WireType.LengthDelimited).string(message.version);
117
+ let u = options.writeUnknownFields;
118
+ if (u !== false)
119
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
120
+ return writer;
109
121
  }
110
- return message;
111
- }
112
-
113
- internalBinaryWrite(message: ResourceType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
114
- /* string name = 1; */
115
- if (message.name !== '')
116
- writer.tag(1, WireType.LengthDelimited).string(message.name);
117
- /* string version = 2; */
118
- if (message.version !== '')
119
- writer.tag(2, WireType.LengthDelimited).string(message.version);
120
- const u = options.writeUnknownFields;
121
- if (u !== false)
122
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
123
- return writer;
124
- }
125
122
  }
126
123
  /**
127
124
  * @generated MessageType for protobuf message MiLaboratories.PL.Base.ResourceType
@@ -129,57 +126,54 @@ class ResourceType$Type extends MessageType<ResourceType> {
129
126
  export const ResourceType = new ResourceType$Type();
130
127
  // @generated message type with reflection information, may provide speed optimized methods
131
128
  class FieldRef$Type extends MessageType<FieldRef> {
132
- constructor() {
133
- super('MiLaboratories.PL.Base.FieldRef', [
134
- { no: 2, name: 'resource_id', kind: 'scalar', T: 4 /* ScalarType.UINT64 */, L: 0 /* LongType.BIGINT */ },
135
- { no: 3, name: 'field_name', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
136
- ]);
137
- }
138
-
139
- create(value?: PartialMessage<FieldRef>): FieldRef {
140
- const message = globalThis.Object.create((this.messagePrototype!));
141
- message.resourceId = 0n;
142
- message.fieldName = '';
143
- if (value !== undefined)
144
- reflectionMergePartial<FieldRef>(this, message, value);
145
- return message;
146
- }
147
-
148
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldRef): FieldRef {
149
- const message = target ?? this.create(), end = reader.pos + length;
150
- while (reader.pos < end) {
151
- const [fieldNo, wireType] = reader.tag();
152
- switch (fieldNo) {
153
- case /* uint64 resource_id */ 2:
154
- message.resourceId = reader.uint64().toBigInt();
155
- break;
156
- case /* string field_name */ 3:
157
- message.fieldName = reader.string();
158
- break;
159
- default:
160
- const u = options.readUnknownField;
161
- if (u === 'throw')
162
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
163
- const d = reader.skip(wireType);
164
- if (u !== false)
165
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
166
- }
129
+ constructor() {
130
+ super("MiLaboratories.PL.Base.FieldRef", [
131
+ { no: 2, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
132
+ { no: 3, name: "field_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
133
+ ]);
134
+ }
135
+ create(value?: PartialMessage<FieldRef>): FieldRef {
136
+ const message = globalThis.Object.create((this.messagePrototype!));
137
+ message.resourceId = 0n;
138
+ message.fieldName = "";
139
+ if (value !== undefined)
140
+ reflectionMergePartial<FieldRef>(this, message, value);
141
+ return message;
142
+ }
143
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldRef): FieldRef {
144
+ let message = target ?? this.create(), end = reader.pos + length;
145
+ while (reader.pos < end) {
146
+ let [fieldNo, wireType] = reader.tag();
147
+ switch (fieldNo) {
148
+ case /* uint64 resource_id */ 2:
149
+ message.resourceId = reader.uint64().toBigInt();
150
+ break;
151
+ case /* string field_name */ 3:
152
+ message.fieldName = reader.string();
153
+ break;
154
+ default:
155
+ let u = options.readUnknownField;
156
+ if (u === "throw")
157
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
158
+ let d = reader.skip(wireType);
159
+ if (u !== false)
160
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
161
+ }
162
+ }
163
+ return message;
164
+ }
165
+ internalBinaryWrite(message: FieldRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
166
+ /* uint64 resource_id = 2; */
167
+ if (message.resourceId !== 0n)
168
+ writer.tag(2, WireType.Varint).uint64(message.resourceId);
169
+ /* string field_name = 3; */
170
+ if (message.fieldName !== "")
171
+ writer.tag(3, WireType.LengthDelimited).string(message.fieldName);
172
+ let u = options.writeUnknownFields;
173
+ if (u !== false)
174
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
175
+ return writer;
167
176
  }
168
- return message;
169
- }
170
-
171
- internalBinaryWrite(message: FieldRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
172
- /* uint64 resource_id = 2; */
173
- if (message.resourceId !== 0n)
174
- writer.tag(2, WireType.Varint).uint64(message.resourceId);
175
- /* string field_name = 3; */
176
- if (message.fieldName !== '')
177
- writer.tag(3, WireType.LengthDelimited).string(message.fieldName);
178
- const u = options.writeUnknownFields;
179
- if (u !== false)
180
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
181
- return writer;
182
- }
183
177
  }
184
178
  /**
185
179
  * @generated MessageType for protobuf message MiLaboratories.PL.Base.FieldRef