@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 "github.com/milaboratory/pl/plapi/plapiproto/import.proto" (package "MiLaboratories.PL._Stub", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -34,67 +34,67 @@ import { Empty } from "../../../../../google/protobuf/empty";
34
34
  */
35
35
  export interface _ImportWellKnown {
36
36
  /**
37
- * @generated from protobuf field: google.protobuf.Empty empty = 1;
37
+ * @generated from protobuf field: google.protobuf.Empty empty = 1
38
38
  */
39
39
  empty?: Empty;
40
40
  /**
41
- * @generated from protobuf field: google.protobuf.Any any = 2;
41
+ * @generated from protobuf field: google.protobuf.Any any = 2
42
42
  */
43
43
  any?: Any;
44
44
  /**
45
- * @generated from protobuf field: google.protobuf.BytesValue bytes = 3;
45
+ * @generated from protobuf field: google.protobuf.BytesValue bytes = 3
46
46
  */
47
47
  bytes?: BytesValue;
48
48
  /**
49
- * @generated from protobuf field: google.protobuf.BoolValue bool = 4;
49
+ * @generated from protobuf field: google.protobuf.BoolValue bool = 4
50
50
  */
51
51
  bool?: BoolValue;
52
52
  /**
53
- * @generated from protobuf field: google.protobuf.StringValue string = 5;
53
+ * @generated from protobuf field: google.protobuf.StringValue string = 5
54
54
  */
55
55
  string?: StringValue;
56
56
  /**
57
- * @generated from protobuf field: google.protobuf.Int32Value int32 = 6;
57
+ * @generated from protobuf field: google.protobuf.Int32Value int32 = 6
58
58
  */
59
59
  int32?: Int32Value;
60
60
  /**
61
- * @generated from protobuf field: google.protobuf.UInt32Value uint32 = 7;
61
+ * @generated from protobuf field: google.protobuf.UInt32Value uint32 = 7
62
62
  */
63
63
  uint32?: UInt32Value;
64
64
  /**
65
- * @generated from protobuf field: google.protobuf.Int64Value int64 = 8;
65
+ * @generated from protobuf field: google.protobuf.Int64Value int64 = 8
66
66
  */
67
67
  int64?: Int64Value;
68
68
  /**
69
- * @generated from protobuf field: google.protobuf.UInt64Value uint64 = 9;
69
+ * @generated from protobuf field: google.protobuf.UInt64Value uint64 = 9
70
70
  */
71
71
  uint64?: UInt64Value;
72
72
  /**
73
- * @generated from protobuf field: google.protobuf.FloatValue float = 10;
73
+ * @generated from protobuf field: google.protobuf.FloatValue float = 10
74
74
  */
75
75
  float?: FloatValue;
76
76
  /**
77
- * @generated from protobuf field: google.protobuf.DoubleValue double = 11;
77
+ * @generated from protobuf field: google.protobuf.DoubleValue double = 11
78
78
  */
79
79
  double?: DoubleValue;
80
80
  /**
81
- * @generated from protobuf field: google.protobuf.Duration duration = 12;
81
+ * @generated from protobuf field: google.protobuf.Duration duration = 12
82
82
  */
83
83
  duration?: Duration;
84
84
  /**
85
- * @generated from protobuf field: google.protobuf.Timestamp timestamp = 13;
85
+ * @generated from protobuf field: google.protobuf.Timestamp timestamp = 13
86
86
  */
87
87
  timestamp?: Timestamp;
88
88
  /**
89
- * @generated from protobuf field: google.protobuf.Value value = 14;
89
+ * @generated from protobuf field: google.protobuf.Value value = 14
90
90
  */
91
91
  value?: Value;
92
92
  /**
93
- * @generated from protobuf field: google.protobuf.ListValue list = 15;
93
+ * @generated from protobuf field: google.protobuf.ListValue list = 15
94
94
  */
95
95
  list?: ListValue;
96
96
  /**
97
- * @generated from protobuf field: google.protobuf.Struct struct = 16;
97
+ * @generated from protobuf field: google.protobuf.Struct struct = 16
98
98
  */
99
99
  struct?: Struct;
100
100
  }
@@ -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 "github.com/milaboratory/pl/plapi/plapiproto/resource_types.proto" (package "MiLaboratories.PL.RTypes", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -21,37 +21,37 @@ export interface Number$ {
21
21
  value: {
22
22
  oneofKind: "int32";
23
23
  /**
24
- * @generated from protobuf field: int32 int32 = 1;
24
+ * @generated from protobuf field: int32 int32 = 1
25
25
  */
26
26
  int32: number;
27
27
  } | {
28
28
  oneofKind: "uint32";
29
29
  /**
30
- * @generated from protobuf field: uint32 uint32 = 2;
30
+ * @generated from protobuf field: uint32 uint32 = 2
31
31
  */
32
32
  uint32: number;
33
33
  } | {
34
34
  oneofKind: "int64";
35
35
  /**
36
- * @generated from protobuf field: int64 int64 = 3;
36
+ * @generated from protobuf field: int64 int64 = 3
37
37
  */
38
38
  int64: bigint;
39
39
  } | {
40
40
  oneofKind: "uint64";
41
41
  /**
42
- * @generated from protobuf field: uint64 uint64 = 4;
42
+ * @generated from protobuf field: uint64 uint64 = 4
43
43
  */
44
44
  uint64: bigint;
45
45
  } | {
46
46
  oneofKind: "float";
47
47
  /**
48
- * @generated from protobuf field: float float = 5;
48
+ * @generated from protobuf field: float float = 5
49
49
  */
50
50
  float: number;
51
51
  } | {
52
52
  oneofKind: "double";
53
53
  /**
54
- * @generated from protobuf field: double double = 6;
54
+ * @generated from protobuf field: double double = 6
55
55
  */
56
56
  double: number;
57
57
  } | {
@@ -63,7 +63,7 @@ export interface Number$ {
63
63
  */
64
64
  export interface ControllerSettings {
65
65
  /**
66
- * @generated from protobuf field: string type = 1;
66
+ * @generated from protobuf field: string type = 1
67
67
  */
68
68
  type: string;
69
69
  }
@@ -72,13 +72,13 @@ export interface ControllerSettings {
72
72
  */
73
73
  export interface SubscriptionSettings {
74
74
  /**
75
- * @generated from protobuf field: bool blocking = 1;
75
+ * @generated from protobuf field: bool blocking = 1
76
76
  */
77
77
  blocking: boolean;
78
78
  /**
79
79
  * FIXME: drop this hack once we allow Data in Structural resources
80
80
  *
81
- * @generated from protobuf field: uint64 randomizer = 2;
81
+ * @generated from protobuf field: uint64 randomizer = 2
82
82
  */
83
83
  randomizer: bigint; // dirty hack that makes subscription settings resources unique
84
84
  }
@@ -92,24 +92,24 @@ export interface NotificationFilter {
92
92
  resourceFilter: {
93
93
  oneofKind: "resourceType";
94
94
  /**
95
- * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1;
95
+ * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1
96
96
  */
97
97
  resourceType: ResourceType;
98
98
  } | {
99
99
  oneofKind: "resourceId";
100
100
  /**
101
- * @generated from protobuf field: uint64 resource_id = 7;
101
+ * @generated from protobuf field: uint64 resource_id = 7
102
102
  */
103
103
  resourceId: bigint;
104
104
  } | {
105
105
  oneofKind: undefined;
106
106
  };
107
107
  /**
108
- * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8;
108
+ * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8
109
109
  */
110
110
  eventFilter?: NotificationFilter_EventFilter;
111
111
  /**
112
- * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9;
112
+ * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9
113
113
  */
114
114
  payload?: NotificationFilter_Payload;
115
115
  }
@@ -118,7 +118,7 @@ export interface NotificationFilter {
118
118
  */
119
119
  export interface NotificationFilter_EventFilter {
120
120
  /**
121
- * @generated from protobuf field: optional bool all = 1;
121
+ * @generated from protobuf field: optional bool all = 1
122
122
  */
123
123
  all?: boolean;
124
124
  //
@@ -126,23 +126,23 @@ export interface NotificationFilter_EventFilter {
126
126
  //
127
127
 
128
128
  /**
129
- * @generated from protobuf field: optional bool resource_created = 2;
129
+ * @generated from protobuf field: optional bool resource_created = 2
130
130
  */
131
131
  resourceCreated?: boolean;
132
132
  /**
133
- * @generated from protobuf field: optional bool resource_deleted = 3;
133
+ * @generated from protobuf field: optional bool resource_deleted = 3
134
134
  */
135
135
  resourceDeleted?: boolean;
136
136
  /**
137
- * @generated from protobuf field: optional bool resource_ready = 5;
137
+ * @generated from protobuf field: optional bool resource_ready = 5
138
138
  */
139
139
  resourceReady?: boolean;
140
140
  /**
141
- * @generated from protobuf field: optional bool resource_duplicate = 6;
141
+ * @generated from protobuf field: optional bool resource_duplicate = 6
142
142
  */
143
143
  resourceDuplicate?: boolean;
144
144
  /**
145
- * @generated from protobuf field: optional bool resource_error = 16;
145
+ * @generated from protobuf field: optional bool resource_error = 16
146
146
  */
147
147
  resourceError?: boolean;
148
148
  /**
@@ -150,43 +150,43 @@ export interface NotificationFilter_EventFilter {
150
150
  * Field events
151
151
  *
152
152
  *
153
- * @generated from protobuf field: optional bool inputs_locked = 13;
153
+ * @generated from protobuf field: optional bool inputs_locked = 13
154
154
  */
155
155
  inputsLocked?: boolean;
156
156
  /**
157
- * @generated from protobuf field: optional bool outputs_locked = 14;
157
+ * @generated from protobuf field: optional bool outputs_locked = 14
158
158
  */
159
159
  outputsLocked?: boolean;
160
160
  /**
161
- * @generated from protobuf field: optional bool field_created = 12;
161
+ * @generated from protobuf field: optional bool field_created = 12
162
162
  */
163
163
  fieldCreated?: boolean;
164
164
  /**
165
- * @generated from protobuf field: optional bool field_got_error = 17;
165
+ * @generated from protobuf field: optional bool field_got_error = 17
166
166
  */
167
167
  fieldGotError?: boolean;
168
168
  /**
169
- * @generated from protobuf field: optional bool input_set = 7;
169
+ * @generated from protobuf field: optional bool input_set = 7
170
170
  */
171
171
  inputSet?: boolean;
172
172
  /**
173
- * @generated from protobuf field: optional bool all_inputs_set = 8;
173
+ * @generated from protobuf field: optional bool all_inputs_set = 8
174
174
  */
175
175
  allInputsSet?: boolean;
176
176
  /**
177
- * @generated from protobuf field: optional bool output_set = 9;
177
+ * @generated from protobuf field: optional bool output_set = 9
178
178
  */
179
179
  outputSet?: boolean;
180
180
  /**
181
- * @generated from protobuf field: optional bool all_outputs_set = 10;
181
+ * @generated from protobuf field: optional bool all_outputs_set = 10
182
182
  */
183
183
  allOutputsSet?: boolean;
184
184
  /**
185
- * @generated from protobuf field: optional bool generic_otw_set = 15;
185
+ * @generated from protobuf field: optional bool generic_otw_set = 15
186
186
  */
187
187
  genericOtwSet?: boolean;
188
188
  /**
189
- * @generated from protobuf field: optional bool dynamic_changed = 11;
189
+ * @generated from protobuf field: optional bool dynamic_changed = 11
190
190
  */
191
191
  dynamicChanged?: boolean;
192
192
  }
@@ -195,7 +195,7 @@ export interface NotificationFilter_EventFilter {
195
195
  */
196
196
  export interface NotificationFilter_Payload {
197
197
  /**
198
- * @generated from protobuf field: map<string, bytes> values = 1;
198
+ * @generated from protobuf field: map<string, bytes> values = 1
199
199
  */
200
200
  values: {
201
201
  [key: string]: Uint8Array;
@@ -585,21 +585,6 @@ class NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter
585
585
  /* optional bool resource_duplicate = 6; */
586
586
  if (message.resourceDuplicate !== undefined)
587
587
  writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);
588
- /* optional bool resource_error = 16; */
589
- if (message.resourceError !== undefined)
590
- writer.tag(16, WireType.Varint).bool(message.resourceError);
591
- /* optional bool inputs_locked = 13; */
592
- if (message.inputsLocked !== undefined)
593
- writer.tag(13, WireType.Varint).bool(message.inputsLocked);
594
- /* optional bool outputs_locked = 14; */
595
- if (message.outputsLocked !== undefined)
596
- writer.tag(14, WireType.Varint).bool(message.outputsLocked);
597
- /* optional bool field_created = 12; */
598
- if (message.fieldCreated !== undefined)
599
- writer.tag(12, WireType.Varint).bool(message.fieldCreated);
600
- /* optional bool field_got_error = 17; */
601
- if (message.fieldGotError !== undefined)
602
- writer.tag(17, WireType.Varint).bool(message.fieldGotError);
603
588
  /* optional bool input_set = 7; */
604
589
  if (message.inputSet !== undefined)
605
590
  writer.tag(7, WireType.Varint).bool(message.inputSet);
@@ -612,12 +597,27 @@ class NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter
612
597
  /* optional bool all_outputs_set = 10; */
613
598
  if (message.allOutputsSet !== undefined)
614
599
  writer.tag(10, WireType.Varint).bool(message.allOutputsSet);
615
- /* optional bool generic_otw_set = 15; */
616
- if (message.genericOtwSet !== undefined)
617
- writer.tag(15, WireType.Varint).bool(message.genericOtwSet);
618
600
  /* optional bool dynamic_changed = 11; */
619
601
  if (message.dynamicChanged !== undefined)
620
602
  writer.tag(11, WireType.Varint).bool(message.dynamicChanged);
603
+ /* optional bool field_created = 12; */
604
+ if (message.fieldCreated !== undefined)
605
+ writer.tag(12, WireType.Varint).bool(message.fieldCreated);
606
+ /* optional bool inputs_locked = 13; */
607
+ if (message.inputsLocked !== undefined)
608
+ writer.tag(13, WireType.Varint).bool(message.inputsLocked);
609
+ /* optional bool outputs_locked = 14; */
610
+ if (message.outputsLocked !== undefined)
611
+ writer.tag(14, WireType.Varint).bool(message.outputsLocked);
612
+ /* optional bool generic_otw_set = 15; */
613
+ if (message.genericOtwSet !== undefined)
614
+ writer.tag(15, WireType.Varint).bool(message.genericOtwSet);
615
+ /* optional bool resource_error = 16; */
616
+ if (message.resourceError !== undefined)
617
+ writer.tag(16, WireType.Varint).bool(message.resourceError);
618
+ /* optional bool field_got_error = 17; */
619
+ if (message.fieldGotError !== undefined)
620
+ writer.tag(17, WireType.Varint).bool(message.fieldGotError);
621
621
  let u = options.writeUnknownFields;
622
622
  if (u !== false)
623
623
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -672,7 +672,7 @@ class NotificationFilter_Payload$Type extends MessageType<NotificationFilter_Pay
672
672
  case 2:
673
673
  val = reader.bytes();
674
674
  break;
675
- default: throw new globalThis.Error("unknown map entry field for field MiLaboratories.PL.RTypes.NotificationFilter.Payload.values");
675
+ default: throw new globalThis.Error("unknown map entry field for MiLaboratories.PL.RTypes.NotificationFilter.Payload.values");
676
676
  }
677
677
  }
678
678
  map[key ?? ""] = val ?? new Uint8Array(0);