@milaboratories/pl-client 2.11.9 → 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.
Files changed (132) hide show
  1. package/dist/core/auth.d.ts +2 -1
  2. package/dist/core/auth.d.ts.map +1 -0
  3. package/dist/core/cache.d.ts +2 -1
  4. package/dist/core/cache.d.ts.map +1 -0
  5. package/dist/core/client.cjs +3 -0
  6. package/dist/core/client.cjs.map +1 -1
  7. package/dist/core/client.d.ts +12 -10
  8. package/dist/core/client.d.ts.map +1 -0
  9. package/dist/core/client.js +3 -0
  10. package/dist/core/client.js.map +1 -1
  11. package/dist/core/config.d.ts +2 -1
  12. package/dist/core/config.d.ts.map +1 -0
  13. package/dist/core/default_client.d.ts +2 -1
  14. package/dist/core/default_client.d.ts.map +1 -0
  15. package/dist/core/driver.d.ts +6 -5
  16. package/dist/core/driver.d.ts.map +1 -0
  17. package/dist/core/error_resource.d.ts +2 -1
  18. package/dist/core/error_resource.d.ts.map +1 -0
  19. package/dist/core/errors.d.ts +2 -1
  20. package/dist/core/errors.d.ts.map +1 -0
  21. package/dist/core/final.d.ts +3 -2
  22. package/dist/core/final.d.ts.map +1 -0
  23. package/dist/core/grpc.d.ts +2 -1
  24. package/dist/core/grpc.d.ts.map +1 -0
  25. package/dist/core/http.d.ts +1 -0
  26. package/dist/core/http.d.ts.map +1 -0
  27. package/dist/core/ll_client.d.ts +4 -3
  28. package/dist/core/ll_client.d.ts.map +1 -0
  29. package/dist/core/ll_transaction.d.ts +3 -2
  30. package/dist/core/ll_transaction.d.ts.map +1 -0
  31. package/dist/core/stat.d.ts +1 -0
  32. package/dist/core/stat.d.ts.map +1 -0
  33. package/dist/core/transaction.d.ts +7 -6
  34. package/dist/core/transaction.d.ts.map +1 -0
  35. package/dist/core/type_conversion.d.ts +3 -2
  36. package/dist/core/type_conversion.d.ts.map +1 -0
  37. package/dist/core/types.d.ts +1 -0
  38. package/dist/core/types.d.ts.map +1 -0
  39. package/dist/core/unauth_client.d.ts +3 -2
  40. package/dist/core/unauth_client.d.ts.map +1 -0
  41. package/dist/helpers/pl.d.ts +11 -2
  42. package/dist/helpers/pl.d.ts.map +1 -0
  43. package/dist/helpers/poll.d.ts +5 -4
  44. package/dist/helpers/poll.d.ts.map +1 -0
  45. package/dist/helpers/rich_resource_types.d.ts +1 -0
  46. package/dist/helpers/rich_resource_types.d.ts.map +1 -0
  47. package/dist/helpers/smart_accessors.d.ts +1 -0
  48. package/dist/helpers/smart_accessors.d.ts.map +1 -0
  49. package/dist/helpers/state_helpers.d.ts +2 -1
  50. package/dist/helpers/state_helpers.d.ts.map +1 -0
  51. package/dist/helpers/tx_helpers.d.ts +3 -2
  52. package/dist/helpers/tx_helpers.d.ts.map +1 -0
  53. package/dist/index.d.ts +1 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +8 -2
  56. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  57. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +9 -4
  58. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  59. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +8 -2
  60. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  61. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +9 -4
  62. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  63. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +9 -3
  64. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  65. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +12 -4
  66. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  67. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +9 -3
  68. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  69. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +14 -4
  70. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  71. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +8 -2
  72. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  73. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +759 -124
  74. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  75. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs +7 -0
  76. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  77. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +68 -4
  78. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  79. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js +7 -0
  80. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  81. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +292 -7
  82. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  83. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +752 -125
  84. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  85. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +12 -4
  86. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  87. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +7 -1
  88. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  89. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +23 -7
  90. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  91. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +8 -2
  92. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  93. package/dist/proto/google/api/http.d.ts +7 -1
  94. package/dist/proto/google/api/http.d.ts.map +1 -0
  95. package/dist/proto/google/protobuf/any.cjs.map +1 -1
  96. package/dist/proto/google/protobuf/any.d.ts +16 -10
  97. package/dist/proto/google/protobuf/any.d.ts.map +1 -0
  98. package/dist/proto/google/protobuf/any.js.map +1 -1
  99. package/dist/proto/google/protobuf/descriptor.d.ts +52 -879
  100. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  101. package/dist/proto/google/protobuf/duration.cjs.map +1 -1
  102. package/dist/proto/google/protobuf/duration.d.ts +11 -1
  103. package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
  104. package/dist/proto/google/protobuf/duration.js.map +1 -1
  105. package/dist/proto/google/protobuf/empty.d.ts +7 -1
  106. package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
  107. package/dist/proto/google/protobuf/struct.d.ts +11 -2
  108. package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
  109. package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
  110. package/dist/proto/google/protobuf/timestamp.d.ts +14 -2
  111. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  112. package/dist/proto/google/protobuf/timestamp.js.map +1 -1
  113. package/dist/proto/google/protobuf/wrappers.d.ts +10 -28
  114. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
  115. package/dist/test/test_config.d.ts +2 -1
  116. package/dist/test/test_config.d.ts.map +1 -0
  117. package/dist/util/branding.d.ts +1 -0
  118. package/dist/util/branding.d.ts.map +1 -0
  119. package/dist/util/pl.d.ts +1 -0
  120. package/dist/util/pl.d.ts.map +1 -0
  121. package/dist/util/util.d.ts +1 -0
  122. package/dist/util/util.d.ts.map +1 -0
  123. package/package.json +5 -5
  124. package/src/core/client.ts +5 -1
  125. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +13 -0
  126. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +859 -82
  127. package/src/proto/google/protobuf/any.ts +5 -9
  128. package/src/proto/google/protobuf/descriptor.ts +75 -1465
  129. package/src/proto/google/protobuf/duration.ts +1 -0
  130. package/src/proto/google/protobuf/struct.ts +1 -1
  131. package/src/proto/google/protobuf/timestamp.ts +4 -1
  132. package/src/proto/google/protobuf/wrappers.ts +4 -37
@@ -1,12 +1,17 @@
1
- import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, JsonValue, JsonReadOptions, JsonWriteOptions, MessageType } from '@protobuf-ts/runtime';
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import type { JsonValue } from "@protobuf-ts/runtime";
7
+ import type { JsonReadOptions } from "@protobuf-ts/runtime";
8
+ import type { JsonWriteOptions } from "@protobuf-ts/runtime";
9
+ import { MessageType } from "@protobuf-ts/runtime";
2
10
  /**
3
11
  * Wrapper message for `double`.
4
12
  *
5
13
  * The JSON representation for `DoubleValue` is JSON number.
6
14
  *
7
- * Not recommended for use in new APIs, but still useful for legacy APIs and
8
- * has no plan to be removed.
9
- *
10
15
  * @generated from protobuf message google.protobuf.DoubleValue
11
16
  */
12
17
  export interface DoubleValue {
@@ -22,9 +27,6 @@ export interface DoubleValue {
22
27
  *
23
28
  * The JSON representation for `FloatValue` is JSON number.
24
29
  *
25
- * Not recommended for use in new APIs, but still useful for legacy APIs and
26
- * has no plan to be removed.
27
- *
28
30
  * @generated from protobuf message google.protobuf.FloatValue
29
31
  */
30
32
  export interface FloatValue {
@@ -40,9 +42,6 @@ export interface FloatValue {
40
42
  *
41
43
  * The JSON representation for `Int64Value` is JSON string.
42
44
  *
43
- * Not recommended for use in new APIs, but still useful for legacy APIs and
44
- * has no plan to be removed.
45
- *
46
45
  * @generated from protobuf message google.protobuf.Int64Value
47
46
  */
48
47
  export interface Int64Value {
@@ -58,9 +57,6 @@ export interface Int64Value {
58
57
  *
59
58
  * The JSON representation for `UInt64Value` is JSON string.
60
59
  *
61
- * Not recommended for use in new APIs, but still useful for legacy APIs and
62
- * has no plan to be removed.
63
- *
64
60
  * @generated from protobuf message google.protobuf.UInt64Value
65
61
  */
66
62
  export interface UInt64Value {
@@ -76,9 +72,6 @@ export interface UInt64Value {
76
72
  *
77
73
  * The JSON representation for `Int32Value` is JSON number.
78
74
  *
79
- * Not recommended for use in new APIs, but still useful for legacy APIs and
80
- * has no plan to be removed.
81
- *
82
75
  * @generated from protobuf message google.protobuf.Int32Value
83
76
  */
84
77
  export interface Int32Value {
@@ -94,9 +87,6 @@ export interface Int32Value {
94
87
  *
95
88
  * The JSON representation for `UInt32Value` is JSON number.
96
89
  *
97
- * Not recommended for use in new APIs, but still useful for legacy APIs and
98
- * has no plan to be removed.
99
- *
100
90
  * @generated from protobuf message google.protobuf.UInt32Value
101
91
  */
102
92
  export interface UInt32Value {
@@ -112,9 +102,6 @@ export interface UInt32Value {
112
102
  *
113
103
  * The JSON representation for `BoolValue` is JSON `true` and `false`.
114
104
  *
115
- * Not recommended for use in new APIs, but still useful for legacy APIs and
116
- * has no plan to be removed.
117
- *
118
105
  * @generated from protobuf message google.protobuf.BoolValue
119
106
  */
120
107
  export interface BoolValue {
@@ -130,9 +117,6 @@ export interface BoolValue {
130
117
  *
131
118
  * The JSON representation for `StringValue` is JSON string.
132
119
  *
133
- * Not recommended for use in new APIs, but still useful for legacy APIs and
134
- * has no plan to be removed.
135
- *
136
120
  * @generated from protobuf message google.protobuf.StringValue
137
121
  */
138
122
  export interface StringValue {
@@ -148,9 +132,6 @@ export interface StringValue {
148
132
  *
149
133
  * The JSON representation for `BytesValue` is JSON string.
150
134
  *
151
- * Not recommended for use in new APIs, but still useful for legacy APIs and
152
- * has no plan to be removed.
153
- *
154
135
  * @generated from protobuf message google.protobuf.BytesValue
155
136
  */
156
137
  export interface BytesValue {
@@ -324,3 +305,4 @@ declare class BytesValue$Type extends MessageType<BytesValue> {
324
305
  */
325
306
  export declare const BytesValue: BytesValue$Type;
326
307
  export {};
308
+ //# sourceMappingURL=wrappers.d.ts.map
@@ -0,0 +1 @@
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;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IACxB;;;;O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AAE,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"}
@@ -1,5 +1,5 @@
1
1
  import { LLPlClient } from '../core/ll_client';
2
- import { AuthOps, PlClientConfig } from '../core/config';
2
+ import type { AuthOps, PlClientConfig } from '../core/config';
3
3
  import { PlClient } from '../core/client';
4
4
  export interface TestConfig {
5
5
  address: string;
@@ -15,3 +15,4 @@ export declare function getTestClientConf(): Promise<{
15
15
  export declare function getTestLLClient(confOverrides?: Partial<PlClientConfig>): Promise<LLPlClient>;
16
16
  export declare function getTestClient(alternativeRoot?: string): Promise<PlClient>;
17
17
  export declare function withTempRoot<T>(body: (pl: PlClient) => Promise<T>): Promise<T>;
18
+ //# sourceMappingURL=test_config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test_config.d.ts","sourceRoot":"","sources":["../../src/test/test_config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAmB,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG/E,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAYD,wBAAgB,aAAa,IAAI,UAAU,CAmB1C;AAiCD,wBAAsB,iBAAiB,IAAI,OAAO,CAAC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC,CA0D1F;AAED,wBAAsB,eAAe,CAAC,aAAa,GAAE,OAAO,CAAC,cAAc,CAAM,uBAGhF;AAED,wBAAsB,aAAa,CAAC,eAAe,CAAC,EAAE,MAAM,qBAK3D;AAED,wBAAsB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAcpF"}
@@ -4,3 +4,4 @@ type Brand<B> = {
4
4
  };
5
5
  export type Branded<T, B> = T & Brand<B>;
6
6
  export {};
7
+ //# sourceMappingURL=branding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branding.d.ts","sourceRoot":"","sources":["../../src/util/branding.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,OAAO,EAAE,OAAO,MAAM,CAAC;AACrC,KAAK,KAAK,CAAC,CAAC,IAAI;IAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAEjC,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC"}
package/dist/util/pl.d.ts CHANGED
@@ -6,3 +6,4 @@ export type PlJWTPayload = {
6
6
  iat: number;
7
7
  };
8
8
  export declare function parsePlJwt(token: string): PlJWTPayload;
9
+ //# sourceMappingURL=pl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../src/util/pl.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAEtD"}
@@ -1 +1,2 @@
1
1
  export declare function toBytes(value: string | Uint8Array): Uint8Array;
2
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/util/util.ts"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAK9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-client",
3
- "version": "2.11.9",
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/pl-http": "^1.1.6",
37
- "@milaboratories/ts-helpers": "^1.4.4"
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",
@@ -45,9 +45,9 @@
45
45
  "jest": "^29.7.0",
46
46
  "@jest/globals": "^29.7.0",
47
47
  "ts-jest": "^29.2.6",
48
+ "@milaboratories/build-configs": "1.0.8",
48
49
  "@milaboratories/ts-configs": "1.0.6",
49
- "@milaboratories/build-configs": "1.0.6",
50
- "@milaboratories/ts-builder": "1.0.1"
50
+ "@milaboratories/ts-builder": "1.0.4"
51
51
  },
52
52
  "scripts": {
53
53
  "type-check": "ts-builder types --target node",
@@ -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
  }