@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,19 +1,19 @@
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/controllers/shared/grpc/streamingapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
3
3
  // tslint:disable
4
- import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
5
- import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
6
- import { Streaming } from './protocol';
7
- import type { StreamingAPI_LastLines } from './protocol';
8
- import type { StreamingAPI_ReadText } from './protocol';
9
- import type { StreamingAPI_StreamText } from './protocol';
10
- import type { StreamingAPI_ReadBinary } from './protocol';
11
- import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
12
- import { stackIntercept } from '@protobuf-ts/runtime-rpc';
13
- import type { StreamingAPI_Response } from './protocol';
14
- import type { StreamingAPI_StreamBinary } from './protocol';
15
- import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
16
- import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import { Streaming } from "./protocol";
7
+ import type { StreamingAPI_LastLines } from "./protocol";
8
+ import type { StreamingAPI_ReadText } from "./protocol";
9
+ import type { StreamingAPI_StreamText } from "./protocol";
10
+ import type { StreamingAPI_ReadBinary } from "./protocol";
11
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
12
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
13
+ import type { StreamingAPI_Response } from "./protocol";
14
+ import type { StreamingAPI_StreamBinary } from "./protocol";
15
+ import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
16
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
17
17
  /**
18
18
  *
19
19
  * Streaming provides access to online data stream from item in storage. Whenever item is appended with data,
@@ -23,15 +23,15 @@ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
23
23
  * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
24
24
  */
25
25
  export interface IStreamingClient {
26
- /**
26
+ /**
27
27
  * StreamBinary provides stream of binary file. Each response message keeps
28
28
  * one single chunk of binary data from data source. See StreamingAPI.Binary message
29
29
  * for more info on available options.
30
30
  *
31
31
  * @generated from protobuf rpc: StreamBinary(MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
32
32
  */
33
- streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
34
- /**
33
+ streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response>;
34
+ /**
35
35
  * ReadBinary allows to read remote item in chunks using stream-like API.
36
36
  * The difference to StreamBinary is that the client receives single response for each
37
37
  * call and has to send new calls to the server to get fresh data from remote item.
@@ -39,15 +39,15 @@ export interface IStreamingClient {
39
39
  *
40
40
  * @generated from protobuf rpc: ReadBinary(MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
41
41
  */
42
- readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
43
- /**
42
+ readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response>;
43
+ /**
44
44
  * StreamText provides stream of textual file, splitting the data by newline symbol.
45
45
  * Each response message keeps one single line of text from data source.
46
46
  *
47
47
  * @generated from protobuf rpc: StreamText(MiLaboratories.Controller.Shared.StreamingAPI.StreamText) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
48
48
  */
49
- streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
50
- /**
49
+ streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response>;
50
+ /**
51
51
  * ReadBinary allows to read remote item in chunks using stream-like API.
52
52
  * The difference to StreamBinary is that the client receives single response for each
53
53
  * call and has to send new calls to the server to get fresh data from remote item.
@@ -55,8 +55,8 @@ export interface IStreamingClient {
55
55
  *
56
56
  * @generated from protobuf rpc: ReadText(MiLaboratories.Controller.Shared.StreamingAPI.ReadText) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
57
57
  */
58
- readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
59
- /**
58
+ readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response>;
59
+ /**
60
60
  * LastLines provides single message with the last lines from data source.
61
61
  * When search pattern is specified, the last lines matching the given pattern are returned.
62
62
  * The lines are returned in reversed order, as server reads data source from the end.
@@ -68,7 +68,7 @@ export interface IStreamingClient {
68
68
  *
69
69
  * @generated from protobuf rpc: LastLines(MiLaboratories.Controller.Shared.StreamingAPI.LastLines) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
70
70
  */
71
- lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;
71
+ lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response>;
72
72
  }
73
73
  /**
74
74
  *
@@ -79,25 +79,23 @@ export interface IStreamingClient {
79
79
  * @generated from protobuf service MiLaboratories.Controller.Shared.Streaming
80
80
  */
81
81
  export class StreamingClient implements IStreamingClient, ServiceInfo {
82
- typeName = Streaming.typeName;
83
- methods = Streaming.methods;
84
- options = Streaming.options;
85
- constructor(private readonly _transport: RpcTransport) {
86
- }
87
-
88
- /**
82
+ typeName = Streaming.typeName;
83
+ methods = Streaming.methods;
84
+ options = Streaming.options;
85
+ constructor(private readonly _transport: RpcTransport) {
86
+ }
87
+ /**
89
88
  * StreamBinary provides stream of binary file. Each response message keeps
90
89
  * one single chunk of binary data from data source. See StreamingAPI.Binary message
91
90
  * for more info on available options.
92
91
  *
93
92
  * @generated from protobuf rpc: StreamBinary(MiLaboratories.Controller.Shared.StreamingAPI.StreamBinary) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
94
93
  */
95
- streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response> {
96
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
97
- return stackIntercept<StreamingAPI_StreamBinary, StreamingAPI_Response>('serverStreaming', this._transport, method, opt, input);
98
- }
99
-
100
- /**
94
+ streamBinary(input: StreamingAPI_StreamBinary, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamBinary, StreamingAPI_Response> {
95
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
96
+ return stackIntercept<StreamingAPI_StreamBinary, StreamingAPI_Response>("serverStreaming", this._transport, method, opt, input);
97
+ }
98
+ /**
101
99
  * ReadBinary allows to read remote item in chunks using stream-like API.
102
100
  * The difference to StreamBinary is that the client receives single response for each
103
101
  * call and has to send new calls to the server to get fresh data from remote item.
@@ -105,23 +103,21 @@ export class StreamingClient implements IStreamingClient, ServiceInfo {
105
103
  *
106
104
  * @generated from protobuf rpc: ReadBinary(MiLaboratories.Controller.Shared.StreamingAPI.ReadBinary) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
107
105
  */
108
- readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {
109
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
110
- return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>('unary', this._transport, method, opt, input);
111
- }
112
-
113
- /**
106
+ readBinary(input: StreamingAPI_ReadBinary, options?: RpcOptions): UnaryCall<StreamingAPI_ReadBinary, StreamingAPI_Response> {
107
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
108
+ return stackIntercept<StreamingAPI_ReadBinary, StreamingAPI_Response>("unary", this._transport, method, opt, input);
109
+ }
110
+ /**
114
111
  * StreamText provides stream of textual file, splitting the data by newline symbol.
115
112
  * Each response message keeps one single line of text from data source.
116
113
  *
117
114
  * @generated from protobuf rpc: StreamText(MiLaboratories.Controller.Shared.StreamingAPI.StreamText) returns (stream MiLaboratories.Controller.Shared.StreamingAPI.Response);
118
115
  */
119
- streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response> {
120
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
121
- return stackIntercept<StreamingAPI_StreamText, StreamingAPI_Response>('serverStreaming', this._transport, method, opt, input);
122
- }
123
-
124
- /**
116
+ streamText(input: StreamingAPI_StreamText, options?: RpcOptions): ServerStreamingCall<StreamingAPI_StreamText, StreamingAPI_Response> {
117
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
118
+ return stackIntercept<StreamingAPI_StreamText, StreamingAPI_Response>("serverStreaming", this._transport, method, opt, input);
119
+ }
120
+ /**
125
121
  * ReadBinary allows to read remote item in chunks using stream-like API.
126
122
  * The difference to StreamBinary is that the client receives single response for each
127
123
  * call and has to send new calls to the server to get fresh data from remote item.
@@ -129,12 +125,11 @@ export class StreamingClient implements IStreamingClient, ServiceInfo {
129
125
  *
130
126
  * @generated from protobuf rpc: ReadText(MiLaboratories.Controller.Shared.StreamingAPI.ReadText) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
131
127
  */
132
- readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {
133
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
134
- return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>('unary', this._transport, method, opt, input);
135
- }
136
-
137
- /**
128
+ readText(input: StreamingAPI_ReadText, options?: RpcOptions): UnaryCall<StreamingAPI_ReadText, StreamingAPI_Response> {
129
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
130
+ return stackIntercept<StreamingAPI_ReadText, StreamingAPI_Response>("unary", this._transport, method, opt, input);
131
+ }
132
+ /**
138
133
  * LastLines provides single message with the last lines from data source.
139
134
  * When search pattern is specified, the last lines matching the given pattern are returned.
140
135
  * The lines are returned in reversed order, as server reads data source from the end.
@@ -146,8 +141,8 @@ export class StreamingClient implements IStreamingClient, ServiceInfo {
146
141
  *
147
142
  * @generated from protobuf rpc: LastLines(MiLaboratories.Controller.Shared.StreamingAPI.LastLines) returns (MiLaboratories.Controller.Shared.StreamingAPI.Response);
148
143
  */
149
- lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {
150
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
151
- return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>('unary', this._transport, method, opt, input);
152
- }
144
+ lastLines(input: StreamingAPI_LastLines, options?: RpcOptions): UnaryCall<StreamingAPI_LastLines, StreamingAPI_Response> {
145
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
146
+ return stackIntercept<StreamingAPI_LastLines, StreamingAPI_Response>("unary", this._transport, method, opt, input);
147
+ }
153
148
  }