@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.
Files changed (82) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2026 -2480
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
  6. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  7. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
  8. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
  9. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +13 -5
  10. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
  11. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +2 -2
  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 +11 -11
  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/progressapi/protocol.client.d.ts +4 -4
  16. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
  17. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +10 -10
  18. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
  19. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +10 -10
  20. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
  21. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +25 -25
  22. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
  23. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +8 -8
  24. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -1
  25. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +24 -16
  26. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -1
  27. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +277 -0
  28. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  29. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5344 -0
  30. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  31. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +530 -0
  32. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  33. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
  34. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  35. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
  36. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  37. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
  38. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  39. package/dist/proto/google/api/http.d.ts +46 -42
  40. package/dist/proto/google/api/http.d.ts.map +1 -1
  41. package/dist/proto/google/protobuf/any.d.ts +172 -0
  42. package/dist/proto/google/protobuf/any.d.ts.map +1 -0
  43. package/dist/proto/google/protobuf/descriptor.d.ts +1003 -170
  44. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  45. package/dist/proto/google/protobuf/duration.d.ts +2 -3
  46. package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
  47. package/dist/proto/google/protobuf/empty.d.ts +27 -0
  48. package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
  49. package/dist/proto/google/protobuf/struct.d.ts +179 -0
  50. package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
  51. package/dist/proto/google/protobuf/timestamp.d.ts +3 -6
  52. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
  53. package/dist/proto/google/protobuf/wrappers.d.ts +327 -0
  54. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
  55. package/package.json +5 -5
  56. package/src/clients/download.ts +1 -1
  57. package/src/clients/upload.ts +1 -1
  58. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +125 -0
  59. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +25 -40
  60. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +252 -396
  61. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +25 -37
  62. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +341 -453
  63. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +39 -65
  64. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +398 -630
  65. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +126 -194
  66. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +626 -964
  67. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +102 -153
  68. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +741 -1082
  69. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +406 -0
  70. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +14986 -0
  71. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1474 -0
  72. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +181 -0
  73. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +251 -0
  74. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +693 -0
  75. package/src/proto/google/api/http.ts +336 -492
  76. package/src/proto/google/protobuf/any.ts +326 -0
  77. package/src/proto/google/protobuf/descriptor.ts +4383 -4772
  78. package/src/proto/google/protobuf/duration.ts +122 -169
  79. package/src/proto/google/protobuf/empty.ts +94 -0
  80. package/src/proto/google/protobuf/struct.ts +484 -0
  81. package/src/proto/google/protobuf/timestamp.ts +150 -225
  82. package/src/proto/google/protobuf/wrappers.ts +785 -0
@@ -1,20 +1,20 @@
1
- // @generated by protobuf-ts 2.9.4 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/controllers/shared/grpc/uploadapi/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 { 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';
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
- * Init upload, making controller to do all required preparation steps.
29
- *
30
- *
31
- * @generated from protobuf rpc: Init(MiLaboratories.Controller.Shared.uploadapi.Init.Request) returns (MiLaboratories.Controller.Shared.uploadapi.Init.Response);
32
- */
33
- init(
34
- input: uploadapi_Init_Request,
35
- options?: RpcOptions
36
- ): UnaryCall<uploadapi_Init_Request, uploadapi_Init_Response>;
37
- /**
38
- *
39
- * GetPartURL provides URL for uploading chunk of the data.
40
- * Clients are expected to put their data directly to the given location.
41
- *
42
- *
43
- * @generated from protobuf rpc: GetPartURL(MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request) returns (MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response);
44
- */
45
- getPartURL(
46
- input: uploadapi_GetPartURL_Request,
47
- options?: RpcOptions
48
- ): UnaryCall<uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response>;
49
- /**
50
- *
51
- * UpdateProgress of the upload, so other clients can see how it is going.
52
- *
53
- *
54
- * @generated from protobuf rpc: UpdateProgress(MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request) returns (MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response);
55
- */
56
- updateProgress(
57
- input: uploadapi_UpdateProgress_Request,
58
- options?: RpcOptions
59
- ): UnaryCall<
60
- uploadapi_UpdateProgress_Request,
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
- typeName = Upload.typeName;
86
- methods = Upload.methods;
87
- options = Upload.options;
88
- constructor(private readonly _transport: RpcTransport) {}
89
- /**
90
- *
91
- * Init upload, making controller to do all required preparation steps.
92
- *
93
- *
94
- * @generated from protobuf rpc: Init(MiLaboratories.Controller.Shared.uploadapi.Init.Request) returns (MiLaboratories.Controller.Shared.uploadapi.Init.Response);
95
- */
96
- init(
97
- input: uploadapi_Init_Request,
98
- options?: RpcOptions,
99
- ): UnaryCall<uploadapi_Init_Request, uploadapi_Init_Response> {
100
- const method = this.methods[0],
101
- opt = this._transport.mergeOptions(options);
102
- return stackIntercept<uploadapi_Init_Request, uploadapi_Init_Response>(
103
- 'unary',
104
- this._transport,
105
- method,
106
- opt,
107
- input,
108
- );
109
- }
110
-
111
- /**
112
- *
113
- * GetPartURL provides URL for uploading chunk of the data.
114
- * Clients are expected to put their data directly to the given location.
115
- *
116
- *
117
- * @generated from protobuf rpc: GetPartURL(MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Request) returns (MiLaboratories.Controller.Shared.uploadapi.GetPartURL.Response);
118
- */
119
- getPartURL(
120
- input: uploadapi_GetPartURL_Request,
121
- options?: RpcOptions,
122
- ): UnaryCall<uploadapi_GetPartURL_Request, uploadapi_GetPartURL_Response> {
123
- const method = this.methods[1],
124
- opt = this._transport.mergeOptions(options);
125
- return stackIntercept<
126
- uploadapi_GetPartURL_Request,
127
- uploadapi_GetPartURL_Response
128
- >('unary', this._transport, method, opt, input);
129
- }
130
-
131
- /**
132
- *
133
- * UpdateProgress of the upload, so other clients can see how it is going.
134
- *
135
- *
136
- * @generated from protobuf rpc: UpdateProgress(MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Request) returns (MiLaboratories.Controller.Shared.uploadapi.UpdateProgress.Response);
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
  }