@milaboratories/pl-drivers 1.6.4 → 1.6.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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2026 -2480
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +13 -5
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +2 -2
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +11 -11
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +10 -10
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +10 -10
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +25 -25
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +24 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +277 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5344 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +530 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
- package/dist/proto/google/api/http.d.ts +46 -42
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +172 -0
- package/dist/proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/proto/google/protobuf/descriptor.d.ts +1003 -170
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +2 -3
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts +27 -0
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/proto/google/protobuf/struct.d.ts +179 -0
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/proto/google/protobuf/timestamp.d.ts +3 -6
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +327 -0
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
- package/package.json +5 -5
- package/src/clients/download.ts +1 -1
- package/src/clients/upload.ts +1 -1
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +125 -0
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +25 -40
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +252 -396
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +25 -37
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +341 -453
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +39 -65
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +398 -630
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +126 -194
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +626 -964
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +102 -153
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +741 -1082
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +406 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +14986 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1474 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +181 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +251 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +693 -0
- package/src/proto/google/api/http.ts +336 -492
- package/src/proto/google/protobuf/any.ts +326 -0
- package/src/proto/google/protobuf/descriptor.ts +4383 -4772
- package/src/proto/google/protobuf/duration.ts +122 -169
- package/src/proto/google/protobuf/empty.ts +94 -0
- package/src/proto/google/protobuf/struct.ts +484 -0
- package/src/proto/google/protobuf/timestamp.ts +150 -225
- package/src/proto/google/protobuf/wrappers.ts +785 -0
package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
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/controllers/shared/grpc/uploadapi/protocol.proto" (package "MiLaboratories.Controller.Shared", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
|
-
import type { RpcTransport } from
|
|
5
|
-
import type { ServiceInfo } from
|
|
6
|
-
import { Upload } from
|
|
7
|
-
import type { uploadapi_Finalize_Response } from
|
|
8
|
-
import type { uploadapi_Finalize_Request } from
|
|
9
|
-
import type { uploadapi_UpdateProgress_Response } from
|
|
10
|
-
import type { uploadapi_UpdateProgress_Request } from
|
|
11
|
-
import type { uploadapi_GetPartURL_Response } from
|
|
12
|
-
import type { uploadapi_GetPartURL_Request } from
|
|
13
|
-
import { stackIntercept } from
|
|
14
|
-
import type { uploadapi_Init_Response } from
|
|
15
|
-
import type { uploadapi_Init_Request } from
|
|
16
|
-
import type { UnaryCall } from
|
|
17
|
-
import type { RpcOptions } from
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import { Upload } from "./protocol";
|
|
7
|
+
import type { uploadapi_Finalize_Response } from "./protocol";
|
|
8
|
+
import type { uploadapi_Finalize_Request } from "./protocol";
|
|
9
|
+
import type { uploadapi_UpdateProgress_Response } from "./protocol";
|
|
10
|
+
import type { uploadapi_UpdateProgress_Request } from "./protocol";
|
|
11
|
+
import type { uploadapi_GetPartURL_Response } from "./protocol";
|
|
12
|
+
import type { uploadapi_GetPartURL_Request } from "./protocol";
|
|
13
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
14
|
+
import type { uploadapi_Init_Response } from "./protocol";
|
|
15
|
+
import type { uploadapi_Init_Request } from "./protocol";
|
|
16
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
17
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* Upload provides access to data upload feature, allowing clients to uplad data to Platforma.
|
|
@@ -23,56 +23,41 @@ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
|
23
23
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Upload
|
|
24
24
|
*/
|
|
25
25
|
export interface IUploadClient {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
uploadapi_UpdateProgress_Response
|
|
62
|
-
>;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* Finalize informs Controller that the upload process is done.
|
|
66
|
-
* Returns an error, if the total size of all uploaded chunks is not equal to
|
|
67
|
-
* size of the upload given in Init.
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* @generated from protobuf rpc: Finalize(MiLaboratories.Controller.Shared.uploadapi.Finalize.Request) returns (MiLaboratories.Controller.Shared.uploadapi.Finalize.Response);
|
|
71
|
-
*/
|
|
72
|
-
finalize(
|
|
73
|
-
input: uploadapi_Finalize_Request,
|
|
74
|
-
options?: RpcOptions
|
|
75
|
-
): UnaryCall<uploadapi_Finalize_Request, uploadapi_Finalize_Response>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* Init upload, making controller to do all required preparation steps.
|
|
29
|
+
*
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf rpc: Init
|
|
32
|
+
*/
|
|
33
|
+
init(input: uploadapi_Init_Request, options?: RpcOptions): UnaryCall<uploadapi_Init_Request, uploadapi_Init_Response>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* GetPartURL provides URL for uploading chunk of the data.
|
|
37
|
+
* Clients are expected to put their data directly to the given location.
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: GetPartURL
|
|
41
|
+
*/
|
|
42
|
+
getPartURL(input: uploadapi_GetPartURL_Request, options?: RpcOptions): UnaryCall<uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* UpdateProgress of the upload, so other clients can see how it is going.
|
|
46
|
+
*
|
|
47
|
+
*
|
|
48
|
+
* @generated from protobuf rpc: UpdateProgress
|
|
49
|
+
*/
|
|
50
|
+
updateProgress(input: uploadapi_UpdateProgress_Request, options?: RpcOptions): UnaryCall<uploadapi_UpdateProgress_Request, uploadapi_UpdateProgress_Response>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* Finalize informs Controller that the upload process is done.
|
|
54
|
+
* Returns an error, if the total size of all uploaded chunks is not equal to
|
|
55
|
+
* size of the upload given in Init.
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf rpc: Finalize
|
|
59
|
+
*/
|
|
60
|
+
finalize(input: uploadapi_Finalize_Request, options?: RpcOptions): UnaryCall<uploadapi_Finalize_Request, uploadapi_Finalize_Response>;
|
|
76
61
|
}
|
|
77
62
|
/**
|
|
78
63
|
*
|
|
@@ -82,92 +67,56 @@ export interface IUploadClient {
|
|
|
82
67
|
* @generated from protobuf service MiLaboratories.Controller.Shared.Upload
|
|
83
68
|
*/
|
|
84
69
|
export class UploadClient implements IUploadClient, ServiceInfo {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
input: uploadapi_Init_Request,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
input:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*/
|
|
138
|
-
updateProgress(
|
|
139
|
-
input: uploadapi_UpdateProgress_Request,
|
|
140
|
-
options?: RpcOptions,
|
|
141
|
-
): UnaryCall<
|
|
142
|
-
uploadapi_UpdateProgress_Request,
|
|
143
|
-
uploadapi_UpdateProgress_Response
|
|
144
|
-
> {
|
|
145
|
-
const method = this.methods[2],
|
|
146
|
-
opt = this._transport.mergeOptions(options);
|
|
147
|
-
return stackIntercept<
|
|
148
|
-
uploadapi_UpdateProgress_Request,
|
|
149
|
-
uploadapi_UpdateProgress_Response
|
|
150
|
-
>('unary', this._transport, method, opt, input);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* Finalize informs Controller that the upload process is done.
|
|
156
|
-
* Returns an error, if the total size of all uploaded chunks is not equal to
|
|
157
|
-
* size of the upload given in Init.
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* @generated from protobuf rpc: Finalize(MiLaboratories.Controller.Shared.uploadapi.Finalize.Request) returns (MiLaboratories.Controller.Shared.uploadapi.Finalize.Response);
|
|
161
|
-
*/
|
|
162
|
-
finalize(
|
|
163
|
-
input: uploadapi_Finalize_Request,
|
|
164
|
-
options?: RpcOptions,
|
|
165
|
-
): UnaryCall<uploadapi_Finalize_Request, uploadapi_Finalize_Response> {
|
|
166
|
-
const method = this.methods[3],
|
|
167
|
-
opt = this._transport.mergeOptions(options);
|
|
168
|
-
return stackIntercept<
|
|
169
|
-
uploadapi_Finalize_Request,
|
|
170
|
-
uploadapi_Finalize_Response
|
|
171
|
-
>('unary', this._transport, method, opt, input);
|
|
172
|
-
}
|
|
70
|
+
typeName = Upload.typeName;
|
|
71
|
+
methods = Upload.methods;
|
|
72
|
+
options = Upload.options;
|
|
73
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* Init upload, making controller to do all required preparation steps.
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf rpc: Init
|
|
81
|
+
*/
|
|
82
|
+
init(input: uploadapi_Init_Request, options?: RpcOptions): UnaryCall<uploadapi_Init_Request, uploadapi_Init_Response> {
|
|
83
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
84
|
+
return stackIntercept<uploadapi_Init_Request, uploadapi_Init_Response>("unary", this._transport, method, opt, input);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* GetPartURL provides URL for uploading chunk of the data.
|
|
89
|
+
* Clients are expected to put their data directly to the given location.
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf rpc: GetPartURL
|
|
93
|
+
*/
|
|
94
|
+
getPartURL(input: uploadapi_GetPartURL_Request, options?: RpcOptions): UnaryCall<uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response> {
|
|
95
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
96
|
+
return stackIntercept<uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response>("unary", this._transport, method, opt, input);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* UpdateProgress of the upload, so other clients can see how it is going.
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @generated from protobuf rpc: UpdateProgress
|
|
104
|
+
*/
|
|
105
|
+
updateProgress(input: uploadapi_UpdateProgress_Request, options?: RpcOptions): UnaryCall<uploadapi_UpdateProgress_Request, uploadapi_UpdateProgress_Response> {
|
|
106
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
107
|
+
return stackIntercept<uploadapi_UpdateProgress_Request, uploadapi_UpdateProgress_Response>("unary", this._transport, method, opt, input);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* Finalize informs Controller that the upload process is done.
|
|
112
|
+
* Returns an error, if the total size of all uploaded chunks is not equal to
|
|
113
|
+
* size of the upload given in Init.
|
|
114
|
+
*
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf rpc: Finalize
|
|
117
|
+
*/
|
|
118
|
+
finalize(input: uploadapi_Finalize_Request, options?: RpcOptions): UnaryCall<uploadapi_Finalize_Request, uploadapi_Finalize_Response> {
|
|
119
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
120
|
+
return stackIntercept<uploadapi_Finalize_Request, uploadapi_Finalize_Response>("unary", this._transport, method, opt, input);
|
|
121
|
+
}
|
|
173
122
|
}
|