@milaboratories/pl-client 2.11.10 → 2.11.11
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/core/client.cjs +3 -0
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.d.ts +2 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +3 -0
- package/dist/core/client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +759 -124
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +10 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +7 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +270 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +752 -125
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
- package/dist/proto/google/protobuf/any.cjs.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +5 -9
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.js.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +45 -878
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.cjs.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +1 -0
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.js.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +1 -1
- package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +4 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +0 -27
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/core/client.ts +5 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +13 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +859 -82
- package/src/proto/google/protobuf/any.ts +5 -9
- package/src/proto/google/protobuf/descriptor.ts +75 -1465
- package/src/proto/google/protobuf/duration.ts +1 -0
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +4 -1
- package/src/proto/google/protobuf/wrappers.ts +4 -37
|
@@ -12,9 +12,6 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
12
12
|
*
|
|
13
13
|
* The JSON representation for `DoubleValue` is JSON number.
|
|
14
14
|
*
|
|
15
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
16
|
-
* has no plan to be removed.
|
|
17
|
-
*
|
|
18
15
|
* @generated from protobuf message google.protobuf.DoubleValue
|
|
19
16
|
*/
|
|
20
17
|
export interface DoubleValue {
|
|
@@ -30,9 +27,6 @@ export interface DoubleValue {
|
|
|
30
27
|
*
|
|
31
28
|
* The JSON representation for `FloatValue` is JSON number.
|
|
32
29
|
*
|
|
33
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
34
|
-
* has no plan to be removed.
|
|
35
|
-
*
|
|
36
30
|
* @generated from protobuf message google.protobuf.FloatValue
|
|
37
31
|
*/
|
|
38
32
|
export interface FloatValue {
|
|
@@ -48,9 +42,6 @@ export interface FloatValue {
|
|
|
48
42
|
*
|
|
49
43
|
* The JSON representation for `Int64Value` is JSON string.
|
|
50
44
|
*
|
|
51
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
52
|
-
* has no plan to be removed.
|
|
53
|
-
*
|
|
54
45
|
* @generated from protobuf message google.protobuf.Int64Value
|
|
55
46
|
*/
|
|
56
47
|
export interface Int64Value {
|
|
@@ -66,9 +57,6 @@ export interface Int64Value {
|
|
|
66
57
|
*
|
|
67
58
|
* The JSON representation for `UInt64Value` is JSON string.
|
|
68
59
|
*
|
|
69
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
70
|
-
* has no plan to be removed.
|
|
71
|
-
*
|
|
72
60
|
* @generated from protobuf message google.protobuf.UInt64Value
|
|
73
61
|
*/
|
|
74
62
|
export interface UInt64Value {
|
|
@@ -84,9 +72,6 @@ export interface UInt64Value {
|
|
|
84
72
|
*
|
|
85
73
|
* The JSON representation for `Int32Value` is JSON number.
|
|
86
74
|
*
|
|
87
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
88
|
-
* has no plan to be removed.
|
|
89
|
-
*
|
|
90
75
|
* @generated from protobuf message google.protobuf.Int32Value
|
|
91
76
|
*/
|
|
92
77
|
export interface Int32Value {
|
|
@@ -102,9 +87,6 @@ export interface Int32Value {
|
|
|
102
87
|
*
|
|
103
88
|
* The JSON representation for `UInt32Value` is JSON number.
|
|
104
89
|
*
|
|
105
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
106
|
-
* has no plan to be removed.
|
|
107
|
-
*
|
|
108
90
|
* @generated from protobuf message google.protobuf.UInt32Value
|
|
109
91
|
*/
|
|
110
92
|
export interface UInt32Value {
|
|
@@ -120,9 +102,6 @@ export interface UInt32Value {
|
|
|
120
102
|
*
|
|
121
103
|
* The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
122
104
|
*
|
|
123
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
124
|
-
* has no plan to be removed.
|
|
125
|
-
*
|
|
126
105
|
* @generated from protobuf message google.protobuf.BoolValue
|
|
127
106
|
*/
|
|
128
107
|
export interface BoolValue {
|
|
@@ -138,9 +117,6 @@ export interface BoolValue {
|
|
|
138
117
|
*
|
|
139
118
|
* The JSON representation for `StringValue` is JSON string.
|
|
140
119
|
*
|
|
141
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
142
|
-
* has no plan to be removed.
|
|
143
|
-
*
|
|
144
120
|
* @generated from protobuf message google.protobuf.StringValue
|
|
145
121
|
*/
|
|
146
122
|
export interface StringValue {
|
|
@@ -156,9 +132,6 @@ export interface StringValue {
|
|
|
156
132
|
*
|
|
157
133
|
* The JSON representation for `BytesValue` is JSON string.
|
|
158
134
|
*
|
|
159
|
-
* Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
160
|
-
* has no plan to be removed.
|
|
161
|
-
*
|
|
162
135
|
* @generated from protobuf message google.protobuf.BytesValue
|
|
163
136
|
*/
|
|
164
137
|
export interface BytesValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/protobuf/wrappers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/protobuf/wrappers.ts"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;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,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU;IAM5F,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU;IAOtD,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU;IAmBtH,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAS9G;AACD;;GAEG;AACH,eAAO,MAAM,UAAU,iBAAwB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-client",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.11",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20.3.0"
|
|
6
6
|
},
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"undici": "~7.13.0",
|
|
34
34
|
"utility-types": "^3.11.0",
|
|
35
35
|
"yaml": "^2.8.0",
|
|
36
|
-
"@milaboratories/
|
|
37
|
-
"@milaboratories/
|
|
36
|
+
"@milaboratories/pl-http": "^1.1.7",
|
|
37
|
+
"@milaboratories/ts-helpers": "^1.4.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "~5.6.3",
|
package/src/core/client.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ClientRoot } from '../helpers/pl';
|
|
|
10
10
|
import type { RetryOptions } from '@milaboratories/ts-helpers';
|
|
11
11
|
import { assertNever, createRetryState, nextRetryStateOrError } from '@milaboratories/ts-helpers';
|
|
12
12
|
import type { PlDriver, PlDriverDefinition } from './driver';
|
|
13
|
-
import type { MaintenanceAPI_Ping_Response } from '../proto/github.com/milaboratory/pl/plapi/plapiproto/api';
|
|
13
|
+
import type { MaintenanceAPI_Ping_Response, MaintenanceAPI_License_Response } from '../proto/github.com/milaboratory/pl/plapi/plapiproto/api';
|
|
14
14
|
import { MaintenanceAPI_Ping_Response_Compression } from '../proto/github.com/milaboratory/pl/plapi/plapiproto/api';
|
|
15
15
|
import * as tp from 'node:timers/promises';
|
|
16
16
|
import type { Dispatcher } from 'undici';
|
|
@@ -145,6 +145,10 @@ export class PlClient {
|
|
|
145
145
|
return (await this._ll.grpcPl.get().ping({})).response;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
public async license(): Promise<MaintenanceAPI_License_Response> {
|
|
149
|
+
return (await this._ll.grpcPl.get().license({})).response;
|
|
150
|
+
}
|
|
151
|
+
|
|
148
152
|
public get conf(): PlClientConfig {
|
|
149
153
|
return this._ll.conf;
|
|
150
154
|
}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
6
|
import { Platform } from "./api";
|
|
7
|
+
import type { MaintenanceAPI_License_Response } from "./api";
|
|
8
|
+
import type { MaintenanceAPI_License_Request } from "./api";
|
|
7
9
|
import type { MaintenanceAPI_Ping_Response } from "./api";
|
|
8
10
|
import type { MaintenanceAPI_Ping_Request } from "./api";
|
|
9
11
|
import type { MiscAPI_ListResourceTypes_Response } from "./api";
|
|
@@ -190,6 +192,10 @@ export interface IPlatformClient {
|
|
|
190
192
|
* @generated from protobuf rpc: Ping
|
|
191
193
|
*/
|
|
192
194
|
ping(input: MaintenanceAPI_Ping_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>;
|
|
195
|
+
/**
|
|
196
|
+
* @generated from protobuf rpc: License
|
|
197
|
+
*/
|
|
198
|
+
license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>;
|
|
193
199
|
}
|
|
194
200
|
/**
|
|
195
201
|
* @generated from protobuf service MiLaboratories.PL.API.Platform
|
|
@@ -403,4 +409,11 @@ export class PlatformClient implements IPlatformClient, ServiceInfo {
|
|
|
403
409
|
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
404
410
|
return stackIntercept<MaintenanceAPI_Ping_Request, MaintenanceAPI_Ping_Response>("unary", this._transport, method, opt, input);
|
|
405
411
|
}
|
|
412
|
+
/**
|
|
413
|
+
* @generated from protobuf rpc: License
|
|
414
|
+
*/
|
|
415
|
+
license(input: MaintenanceAPI_License_Request, options?: RpcOptions): UnaryCall<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response> {
|
|
416
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
417
|
+
return stackIntercept<MaintenanceAPI_License_Request, MaintenanceAPI_License_Response>("unary", this._transport, method, opt, input);
|
|
418
|
+
}
|
|
406
419
|
}
|