@milaboratories/pl-client 3.4.2 → 3.5.0

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 (67) hide show
  1. package/dist/core/final.cjs.map +1 -1
  2. package/dist/core/final.js.map +1 -1
  3. package/dist/core/ll_client.cjs +7 -1
  4. package/dist/core/ll_client.cjs.map +1 -1
  5. package/dist/core/ll_client.d.ts.map +1 -1
  6. package/dist/core/ll_client.js +7 -1
  7. package/dist/core/ll_client.js.map +1 -1
  8. package/dist/core/ll_transaction.cjs +151 -26
  9. package/dist/core/ll_transaction.cjs.map +1 -1
  10. package/dist/core/ll_transaction.d.ts +1 -0
  11. package/dist/core/ll_transaction.d.ts.map +1 -1
  12. package/dist/core/ll_transaction.js +151 -26
  13. package/dist/core/ll_transaction.js.map +1 -1
  14. package/dist/core/transaction.cjs +89 -0
  15. package/dist/core/transaction.cjs.map +1 -1
  16. package/dist/core/transaction.d.ts +47 -1
  17. package/dist/core/transaction.d.ts.map +1 -1
  18. package/dist/core/transaction.js +90 -1
  19. package/dist/core/transaction.js.map +1 -1
  20. package/dist/core/tree_filter.cjs +106 -0
  21. package/dist/core/tree_filter.cjs.map +1 -0
  22. package/dist/core/tree_filter.d.ts +85 -0
  23. package/dist/core/tree_filter.d.ts.map +1 -0
  24. package/dist/core/tree_filter.js +106 -0
  25. package/dist/core/tree_filter.js.map +1 -0
  26. package/dist/core/type_conversion.cjs +1 -0
  27. package/dist/core/type_conversion.cjs.map +1 -1
  28. package/dist/core/type_conversion.js +1 -1
  29. package/dist/core/type_conversion.js.map +1 -1
  30. package/dist/index.cjs +5 -0
  31. package/dist/index.d.ts +4 -2
  32. package/dist/index.js +3 -1
  33. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  34. package/dist/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  35. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +450 -4
  36. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  37. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +328 -2
  38. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  39. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js +449 -5
  40. package/dist/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  41. package/dist/proto-grpc/google/protobuf/timestamp.cjs.map +1 -1
  42. package/dist/proto-grpc/google/protobuf/timestamp.d.ts +9 -8
  43. package/dist/proto-grpc/google/protobuf/timestamp.d.ts.map +1 -1
  44. package/dist/proto-grpc/google/protobuf/timestamp.js.map +1 -1
  45. package/dist/proto-grpc/google/rpc/code.cjs.map +1 -1
  46. package/dist/proto-grpc/google/rpc/code.js.map +1 -1
  47. package/package.json +4 -4
  48. package/src/core/final.ts +1 -1
  49. package/src/core/ll_client.ts +11 -1
  50. package/src/core/ll_transaction.test.ts +13 -18
  51. package/src/core/ll_transaction.ts +237 -60
  52. package/src/core/transaction.test.ts +38 -0
  53. package/src/core/transaction.ts +136 -1
  54. package/src/core/tree_filter.test.ts +217 -0
  55. package/src/core/tree_filter.ts +182 -0
  56. package/src/core/type_conversion.ts +1 -1
  57. package/src/index.ts +1 -0
  58. package/src/proto-grpc/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  59. package/src/proto-grpc/github.com/milaboratory/pl/plapi/plapiproto/api.ts +604 -6
  60. package/src/proto-grpc/google/api/http.ts +1 -1
  61. package/src/proto-grpc/google/protobuf/descriptor.ts +242 -12
  62. package/src/proto-grpc/google/protobuf/timestamp.ts +9 -8
  63. package/src/proto-grpc/google/protobuf/wrappers.ts +38 -4
  64. package/src/proto-grpc/google/rpc/code.ts +1 -1
  65. package/src/proto-grpc/google/rpc/error_details.ts +5 -5
  66. package/src/proto-grpc/google/rpc/http.ts +1 -1
  67. package/src/proto-grpc/google/rpc/status.ts +1 -1
@@ -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,6 +68,9 @@ 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 {
@@ -76,6 +86,9 @@ 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 {
@@ -91,6 +104,9 @@ 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 {
@@ -106,6 +122,9 @@ 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 {
@@ -121,6 +140,9 @@ 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 {
@@ -136,6 +158,9 @@ 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 {
@@ -151,6 +176,9 @@ 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 {
@@ -166,6 +194,9 @@ 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 {
@@ -181,6 +212,9 @@ 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 {
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/rpc/code.proto" (package "google.rpc", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2025 Google LLC
5
+ // Copyright 2026 Google LLC
6
6
  //
7
7
  // Licensed under the Apache License, Version 2.0 (the "License");
8
8
  // you may not use this file except in compliance with the License.
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/rpc/error_details.proto" (package "google.rpc", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2025 Google LLC
5
+ // Copyright 2026 Google LLC
6
6
  //
7
7
  // Licensed under the Apache License, Version 2.0 (the "License");
8
8
  // you may not use this file except in compliance with the License.
@@ -368,17 +368,17 @@ export interface BadRequest_FieldViolation {
368
368
  * In this example, in proto `field` could take one of the following values:
369
369
  *
370
370
  * * `full_name` for a violation in the `full_name` value
371
- * * `email_addresses[1].email` for a violation in the `email` field of the
371
+ * * `email_addresses[0].email` for a violation in the `email` field of the
372
372
  * first `email_addresses` message
373
- * * `email_addresses[3].type[2]` for a violation in the second `type`
373
+ * * `email_addresses[2].type[1]` for a violation in the second `type`
374
374
  * value in the third `email_addresses` message.
375
375
  *
376
376
  * In JSON, the same values are represented as:
377
377
  *
378
378
  * * `fullName` for a violation in the `fullName` value
379
- * * `emailAddresses[1].email` for a violation in the `email` field of the
379
+ * * `emailAddresses[0].email` for a violation in the `email` field of the
380
380
  * first `emailAddresses` message
381
- * * `emailAddresses[3].type[2]` for a violation in the second `type`
381
+ * * `emailAddresses[2].type[1]` for a violation in the second `type`
382
382
  * value in the third `emailAddresses` message.
383
383
  *
384
384
  * @generated from protobuf field: string field = 1
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/rpc/http.proto" (package "google.rpc", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2025 Google LLC
5
+ // Copyright 2026 Google LLC
6
6
  //
7
7
  // Licensed under the Apache License, Version 2.0 (the "License");
8
8
  // you may not use this file except in compliance with the License.
@@ -2,7 +2,7 @@
2
2
  // @generated from protobuf file "google/rpc/status.proto" (package "google.rpc", syntax proto3)
3
3
  // tslint:disable
4
4
  //
5
- // Copyright 2025 Google LLC
5
+ // Copyright 2026 Google LLC
6
6
  //
7
7
  // Licensed under the Apache License, Version 2.0 (the "License");
8
8
  // you may not use this file except in compliance with the License.