@milaboratories/pl-client 2.11.3 → 2.11.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.
Files changed (65) hide show
  1. package/dist/core/transaction.d.ts +2 -1
  2. package/dist/core/transaction.d.ts.map +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1377 -1173
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +3 -3
  8. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
  9. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
  10. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
  11. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +2 -2
  13. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +11 -11
  14. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
  15. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
  16. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
  17. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
  18. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +10 -10
  19. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +25 -25
  20. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +50 -50
  21. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +415 -304
  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 +70 -66
  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 +4 -4
  26. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +16 -16
  27. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +30 -30
  28. package/dist/proto/google/api/http.d.ts +93 -89
  29. package/dist/proto/google/api/http.d.ts.map +1 -1
  30. package/dist/proto/google/protobuf/any.d.ts +2 -2
  31. package/dist/proto/google/protobuf/descriptor.d.ts +1298 -1151
  32. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  33. package/dist/proto/google/protobuf/duration.d.ts +2 -2
  34. package/dist/proto/google/protobuf/struct.d.ts +10 -8
  35. package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
  36. package/dist/proto/google/protobuf/timestamp.d.ts +2 -2
  37. package/dist/proto/google/protobuf/wrappers.d.ts +36 -9
  38. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  39. package/package.json +3 -3
  40. package/src/core/ll_client.test.ts +3 -3
  41. package/src/core/ll_transaction.test.ts +4 -4
  42. package/src/core/transaction.ts +2 -0
  43. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +5 -5
  44. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +23 -24
  45. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +232 -247
  46. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +3 -3
  47. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +13 -13
  48. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +35 -37
  49. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +375 -399
  50. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +11 -11
  51. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +26 -26
  52. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +51 -51
  53. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +687 -418
  54. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +113 -101
  55. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +5 -5
  56. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +17 -17
  57. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +50 -50
  58. package/src/proto/google/api/http.ts +290 -295
  59. package/src/proto/google/protobuf/any.ts +3 -3
  60. package/src/proto/google/protobuf/descriptor.ts +3235 -3123
  61. package/src/proto/google/protobuf/duration.ts +3 -3
  62. package/src/proto/google/protobuf/empty.ts +1 -1
  63. package/src/proto/google/protobuf/struct.ts +13 -11
  64. package/src/proto/google/protobuf/timestamp.ts +3 -3
  65. package/src/proto/google/protobuf/wrappers.ts +48 -14
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3)
3
3
  // tslint:disable
4
4
  //
@@ -115,7 +115,7 @@ export interface Duration {
115
115
  * to +315,576,000,000 inclusive. Note: these bounds are computed from:
116
116
  * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
117
117
  *
118
- * @generated from protobuf field: int64 seconds = 1;
118
+ * @generated from protobuf field: int64 seconds = 1
119
119
  */
120
120
  seconds: bigint;
121
121
  /**
@@ -126,7 +126,7 @@ export interface Duration {
126
126
  * of the same sign as the `seconds` field. Must be from -999,999,999
127
127
  * to +999,999,999 inclusive.
128
128
  *
129
- * @generated from protobuf field: int32 nanos = 2;
129
+ * @generated from protobuf field: int32 nanos = 2
130
130
  */
131
131
  nanos: number;
132
132
  }
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3)
3
3
  // tslint:disable
4
4
  //
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "google/protobuf/struct.proto" (package "google.protobuf", syntax proto3)
3
3
  // tslint:disable
4
4
  //
@@ -63,7 +63,7 @@ export interface Struct {
63
63
  /**
64
64
  * Unordered map of dynamically typed values.
65
65
  *
66
- * @generated from protobuf field: map<string, google.protobuf.Value> fields = 1;
66
+ * @generated from protobuf field: map<string, google.protobuf.Value> fields = 1
67
67
  */
68
68
  fields: {
69
69
  [key: string]: Value;
@@ -81,6 +81,8 @@ export interface Struct {
81
81
  */
82
82
  export interface Value {
83
83
  /**
84
+ * The kind of value.
85
+ *
84
86
  * @generated from protobuf oneof: kind
85
87
  */
86
88
  kind: {
@@ -88,7 +90,7 @@ export interface Value {
88
90
  /**
89
91
  * Represents a null value.
90
92
  *
91
- * @generated from protobuf field: google.protobuf.NullValue null_value = 1;
93
+ * @generated from protobuf field: google.protobuf.NullValue null_value = 1
92
94
  */
93
95
  nullValue: NullValue;
94
96
  } | {
@@ -96,7 +98,7 @@ export interface Value {
96
98
  /**
97
99
  * Represents a double value.
98
100
  *
99
- * @generated from protobuf field: double number_value = 2;
101
+ * @generated from protobuf field: double number_value = 2
100
102
  */
101
103
  numberValue: number;
102
104
  } | {
@@ -104,7 +106,7 @@ export interface Value {
104
106
  /**
105
107
  * Represents a string value.
106
108
  *
107
- * @generated from protobuf field: string string_value = 3;
109
+ * @generated from protobuf field: string string_value = 3
108
110
  */
109
111
  stringValue: string;
110
112
  } | {
@@ -112,7 +114,7 @@ export interface Value {
112
114
  /**
113
115
  * Represents a boolean value.
114
116
  *
115
- * @generated from protobuf field: bool bool_value = 4;
117
+ * @generated from protobuf field: bool bool_value = 4
116
118
  */
117
119
  boolValue: boolean;
118
120
  } | {
@@ -120,7 +122,7 @@ export interface Value {
120
122
  /**
121
123
  * Represents a structured value.
122
124
  *
123
- * @generated from protobuf field: google.protobuf.Struct struct_value = 5;
125
+ * @generated from protobuf field: google.protobuf.Struct struct_value = 5
124
126
  */
125
127
  structValue: Struct;
126
128
  } | {
@@ -128,7 +130,7 @@ export interface Value {
128
130
  /**
129
131
  * Represents a repeated `Value`.
130
132
  *
131
- * @generated from protobuf field: google.protobuf.ListValue list_value = 6;
133
+ * @generated from protobuf field: google.protobuf.ListValue list_value = 6
132
134
  */
133
135
  listValue: ListValue;
134
136
  } | {
@@ -146,7 +148,7 @@ export interface ListValue {
146
148
  /**
147
149
  * Repeated field of dynamically typed values.
148
150
  *
149
- * @generated from protobuf field: repeated google.protobuf.Value values = 1;
151
+ * @generated from protobuf field: repeated google.protobuf.Value values = 1
150
152
  */
151
153
  values: Value[];
152
154
  }
@@ -233,7 +235,7 @@ class Struct$Type extends MessageType<Struct> {
233
235
  case 2:
234
236
  val = Value.internalBinaryRead(reader, reader.uint32(), options);
235
237
  break;
236
- default: throw new globalThis.Error("unknown map entry field for field google.protobuf.Struct.fields");
238
+ default: throw new globalThis.Error("unknown map entry field for google.protobuf.Struct.fields");
237
239
  }
238
240
  }
239
241
  map[key ?? ""] = val ?? Value.create();
@@ -419,7 +421,7 @@ export const Value = new Value$Type();
419
421
  class ListValue$Type extends MessageType<ListValue> {
420
422
  constructor() {
421
423
  super("google.protobuf.ListValue", [
422
- { no: 1, name: "values", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Value }
424
+ { no: 1, name: "values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }
423
425
  ]);
424
426
  }
425
427
  /**
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3)
3
3
  // tslint:disable
4
4
  //
@@ -146,7 +146,7 @@ export interface Timestamp {
146
146
  * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
147
147
  * 9999-12-31T23:59:59Z inclusive.
148
148
  *
149
- * @generated from protobuf field: int64 seconds = 1;
149
+ * @generated from protobuf field: int64 seconds = 1
150
150
  */
151
151
  seconds: bigint;
152
152
  /**
@@ -155,7 +155,7 @@ export interface Timestamp {
155
155
  * that count forward in time. Must be from 0 to 999,999,999
156
156
  * inclusive.
157
157
  *
158
- * @generated from protobuf field: int32 nanos = 2;
158
+ * @generated from protobuf field: int32 nanos = 2
159
159
  */
160
160
  nanos: number;
161
161
  }
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
1
+ // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3)
3
3
  // tslint:disable
4
4
  //
@@ -32,10 +32,17 @@
32
32
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
33
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
34
  //
35
- // Wrappers for primitive (non-message) types. These types are useful
36
- // for embedding primitives in the `google.protobuf.Any` type and for places
37
- // where we need to distinguish between the absence of a primitive
38
- // typed field and its default value.
35
+ // Wrappers for primitive (non-message) types. These types were needed
36
+ // for legacy reasons and are not recommended for use in new APIs.
37
+ //
38
+ // Historically these wrappers were useful to have presence on proto3 primitive
39
+ // fields, but proto3 syntax has been updated to support the `optional` keyword.
40
+ // Using that keyword is now the strongly preferred way to add presence to
41
+ // proto3 primitive fields.
42
+ //
43
+ // A secondary usecase was to embed primitives in the `google.protobuf.Any`
44
+ // type: it is now recommended that you embed your value in your own wrapper
45
+ // message which can be specifically documented.
39
46
  //
40
47
  // These wrappers have no meaningful use within repeated fields as they lack
41
48
  // the ability to detect presence on individual elements.
@@ -61,13 +68,16 @@ import { MessageType } from "@protobuf-ts/runtime";
61
68
  *
62
69
  * The JSON representation for `DoubleValue` is JSON number.
63
70
  *
71
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
72
+ * has no plan to be removed.
73
+ *
64
74
  * @generated from protobuf message google.protobuf.DoubleValue
65
75
  */
66
76
  export interface DoubleValue {
67
77
  /**
68
78
  * The double value.
69
79
  *
70
- * @generated from protobuf field: double value = 1;
80
+ * @generated from protobuf field: double value = 1
71
81
  */
72
82
  value: number;
73
83
  }
@@ -76,13 +86,16 @@ export interface DoubleValue {
76
86
  *
77
87
  * The JSON representation for `FloatValue` is JSON number.
78
88
  *
89
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
90
+ * has no plan to be removed.
91
+ *
79
92
  * @generated from protobuf message google.protobuf.FloatValue
80
93
  */
81
94
  export interface FloatValue {
82
95
  /**
83
96
  * The float value.
84
97
  *
85
- * @generated from protobuf field: float value = 1;
98
+ * @generated from protobuf field: float value = 1
86
99
  */
87
100
  value: number;
88
101
  }
@@ -91,13 +104,16 @@ export interface FloatValue {
91
104
  *
92
105
  * The JSON representation for `Int64Value` is JSON string.
93
106
  *
107
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
108
+ * has no plan to be removed.
109
+ *
94
110
  * @generated from protobuf message google.protobuf.Int64Value
95
111
  */
96
112
  export interface Int64Value {
97
113
  /**
98
114
  * The int64 value.
99
115
  *
100
- * @generated from protobuf field: int64 value = 1;
116
+ * @generated from protobuf field: int64 value = 1
101
117
  */
102
118
  value: bigint;
103
119
  }
@@ -106,13 +122,16 @@ export interface Int64Value {
106
122
  *
107
123
  * The JSON representation for `UInt64Value` is JSON string.
108
124
  *
125
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
126
+ * has no plan to be removed.
127
+ *
109
128
  * @generated from protobuf message google.protobuf.UInt64Value
110
129
  */
111
130
  export interface UInt64Value {
112
131
  /**
113
132
  * The uint64 value.
114
133
  *
115
- * @generated from protobuf field: uint64 value = 1;
134
+ * @generated from protobuf field: uint64 value = 1
116
135
  */
117
136
  value: bigint;
118
137
  }
@@ -121,13 +140,16 @@ export interface UInt64Value {
121
140
  *
122
141
  * The JSON representation for `Int32Value` is JSON number.
123
142
  *
143
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
144
+ * has no plan to be removed.
145
+ *
124
146
  * @generated from protobuf message google.protobuf.Int32Value
125
147
  */
126
148
  export interface Int32Value {
127
149
  /**
128
150
  * The int32 value.
129
151
  *
130
- * @generated from protobuf field: int32 value = 1;
152
+ * @generated from protobuf field: int32 value = 1
131
153
  */
132
154
  value: number;
133
155
  }
@@ -136,13 +158,16 @@ export interface Int32Value {
136
158
  *
137
159
  * The JSON representation for `UInt32Value` is JSON number.
138
160
  *
161
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
162
+ * has no plan to be removed.
163
+ *
139
164
  * @generated from protobuf message google.protobuf.UInt32Value
140
165
  */
141
166
  export interface UInt32Value {
142
167
  /**
143
168
  * The uint32 value.
144
169
  *
145
- * @generated from protobuf field: uint32 value = 1;
170
+ * @generated from protobuf field: uint32 value = 1
146
171
  */
147
172
  value: number;
148
173
  }
@@ -151,13 +176,16 @@ export interface UInt32Value {
151
176
  *
152
177
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
153
178
  *
179
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
180
+ * has no plan to be removed.
181
+ *
154
182
  * @generated from protobuf message google.protobuf.BoolValue
155
183
  */
156
184
  export interface BoolValue {
157
185
  /**
158
186
  * The bool value.
159
187
  *
160
- * @generated from protobuf field: bool value = 1;
188
+ * @generated from protobuf field: bool value = 1
161
189
  */
162
190
  value: boolean;
163
191
  }
@@ -166,13 +194,16 @@ export interface BoolValue {
166
194
  *
167
195
  * The JSON representation for `StringValue` is JSON string.
168
196
  *
197
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
198
+ * has no plan to be removed.
199
+ *
169
200
  * @generated from protobuf message google.protobuf.StringValue
170
201
  */
171
202
  export interface StringValue {
172
203
  /**
173
204
  * The string value.
174
205
  *
175
- * @generated from protobuf field: string value = 1;
206
+ * @generated from protobuf field: string value = 1
176
207
  */
177
208
  value: string;
178
209
  }
@@ -181,13 +212,16 @@ export interface StringValue {
181
212
  *
182
213
  * The JSON representation for `BytesValue` is JSON string.
183
214
  *
215
+ * Not recommended for use in new APIs, but still useful for legacy APIs and
216
+ * has no plan to be removed.
217
+ *
184
218
  * @generated from protobuf message google.protobuf.BytesValue
185
219
  */
186
220
  export interface BytesValue {
187
221
  /**
188
222
  * The bytes value.
189
223
  *
190
- * @generated from protobuf field: bytes value = 1;
224
+ * @generated from protobuf field: bytes value = 1
191
225
  */
192
226
  value: Uint8Array;
193
227
  }