@milaboratories/pl-client 2.7.13 → 2.8.0

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 (86) hide show
  1. package/dist/core/auth.d.ts.map +1 -1
  2. package/dist/core/cache.d.ts.map +1 -1
  3. package/dist/core/client.d.ts +5 -2
  4. package/dist/core/client.d.ts.map +1 -1
  5. package/dist/core/default_client.d.ts.map +1 -1
  6. package/dist/core/driver.d.ts.map +1 -1
  7. package/dist/core/errors.d.ts.map +1 -1
  8. package/dist/core/final.d.ts.map +1 -1
  9. package/dist/core/ll_client.d.ts +12 -2
  10. package/dist/core/ll_client.d.ts.map +1 -1
  11. package/dist/core/ll_transaction.d.ts.map +1 -1
  12. package/dist/core/transaction.d.ts +1 -1
  13. package/dist/core/transaction.d.ts.map +1 -1
  14. package/dist/core/type_conversion.d.ts.map +1 -1
  15. package/dist/core/types.d.ts +1 -1
  16. package/dist/core/types.d.ts.map +1 -1
  17. package/dist/core/unauth_client.d.ts.map +1 -1
  18. package/dist/helpers/pl.d.ts.map +1 -1
  19. package/dist/helpers/poll.d.ts.map +1 -1
  20. package/dist/helpers/state_helpers.d.ts.map +1 -1
  21. package/dist/helpers/tx_helpers.d.ts.map +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/index.js.map +1 -1
  24. package/dist/index.mjs +2361 -2342
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
  27. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
  28. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
  29. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
  30. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
  31. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
  32. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
  33. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
  34. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +17 -0
  35. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  36. package/dist/proto/google/api/http.d.ts +89 -89
  37. package/dist/proto/google/api/http.d.ts.map +1 -1
  38. package/dist/proto/google/protobuf/descriptor.d.ts +1151 -1151
  39. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  40. package/dist/test/test_config.d.ts.map +1 -1
  41. package/dist/util/util.d.ts.map +1 -1
  42. package/package.json +7 -3
  43. package/src/core/auth.ts +3 -3
  44. package/src/core/cache.ts +1 -1
  45. package/src/core/client.ts +63 -59
  46. package/src/core/config.ts +21 -21
  47. package/src/core/default_client.ts +15 -14
  48. package/src/core/driver.ts +4 -4
  49. package/src/core/errors.ts +3 -3
  50. package/src/core/final.ts +7 -4
  51. package/src/core/ll_client.ts +72 -43
  52. package/src/core/ll_transaction.ts +17 -17
  53. package/src/core/stat.ts +2 -2
  54. package/src/core/transaction.ts +93 -95
  55. package/src/core/type_conversion.ts +11 -8
  56. package/src/core/types.ts +25 -26
  57. package/src/core/unauth_client.ts +6 -6
  58. package/src/helpers/pl.ts +8 -7
  59. package/src/helpers/poll.ts +25 -21
  60. package/src/helpers/state_helpers.ts +2 -1
  61. package/src/helpers/tx_helpers.ts +4 -3
  62. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  63. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +21 -20
  64. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +240 -225
  65. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  66. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
  67. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +32 -30
  68. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +388 -364
  69. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  70. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
  71. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
  72. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +27 -2
  73. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
  74. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
  75. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
  76. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
  77. package/src/proto/google/api/http.ts +280 -271
  78. package/src/proto/google/protobuf/any.ts +1 -1
  79. package/src/proto/google/protobuf/descriptor.ts +2952 -2853
  80. package/src/proto/google/protobuf/duration.ts +1 -1
  81. package/src/proto/google/protobuf/empty.ts +1 -1
  82. package/src/proto/google/protobuf/struct.ts +1 -1
  83. package/src/proto/google/protobuf/timestamp.ts +2 -2
  84. package/src/proto/google/protobuf/wrappers.ts +1 -1
  85. package/src/test/test_config.ts +21 -19
  86. package/src/util/util.ts +1 -0
@@ -1,17 +1,17 @@
1
1
  // @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
2
2
  // @generated from protobuf file "github.com/milaboratory/pl/controllers/shared/grpc/progressapi/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 { Progress } from "./protocol";
7
- import type { ProgressAPI_RealtimeStatus_Response } from "./protocol";
8
- import type { ProgressAPI_RealtimeStatus_Request } from "./protocol";
9
- import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
10
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
11
- import type { ProgressAPI_GetStatus_Response } from "./protocol";
12
- import type { ProgressAPI_GetStatus_Request } from "./protocol";
13
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
14
- 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 { Progress } from './protocol';
7
+ import type { ProgressAPI_RealtimeStatus_Response } from './protocol';
8
+ import type { ProgressAPI_RealtimeStatus_Request } from './protocol';
9
+ import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
10
+ import { stackIntercept } from '@protobuf-ts/runtime-rpc';
11
+ import type { ProgressAPI_GetStatus_Response } from './protocol';
12
+ import type { ProgressAPI_GetStatus_Request } from './protocol';
13
+ import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
14
+ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
15
15
  /**
16
16
  *
17
17
  * Progress provides access to progress of any long-running process associated with resource.
@@ -20,14 +20,14 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
20
20
  * @generated from protobuf service MiLaboratories.Controller.Shared.Progress
21
21
  */
22
22
  export interface IProgressClient {
23
- /**
23
+ /**
24
24
  * @generated from protobuf rpc: GetStatus(MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request) returns (MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response);
25
25
  */
26
- getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>;
27
- /**
26
+ getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>;
27
+ /**
28
28
  * @generated from protobuf rpc: RealtimeStatus(MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request) returns (stream MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response);
29
29
  */
30
- realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>;
30
+ realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>;
31
31
  }
32
32
  /**
33
33
  *
@@ -37,23 +37,25 @@ export interface IProgressClient {
37
37
  * @generated from protobuf service MiLaboratories.Controller.Shared.Progress
38
38
  */
39
39
  export class ProgressClient implements IProgressClient, ServiceInfo {
40
- typeName = Progress.typeName;
41
- methods = Progress.methods;
42
- options = Progress.options;
43
- constructor(private readonly _transport: RpcTransport) {
44
- }
45
- /**
40
+ typeName = Progress.typeName;
41
+ methods = Progress.methods;
42
+ options = Progress.options;
43
+ constructor(private readonly _transport: RpcTransport) {
44
+ }
45
+
46
+ /**
46
47
  * @generated from protobuf rpc: GetStatus(MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request) returns (MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response);
47
48
  */
48
- getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response> {
49
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
50
- return stackIntercept<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>("unary", this._transport, method, opt, input);
51
- }
52
- /**
49
+ getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response> {
50
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
51
+ return stackIntercept<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>('unary', this._transport, method, opt, input);
52
+ }
53
+
54
+ /**
53
55
  * @generated from protobuf rpc: RealtimeStatus(MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request) returns (stream MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response);
54
56
  */
55
- realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response> {
56
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
57
- return stackIntercept<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>("serverStreaming", this._transport, method, opt, input);
58
- }
57
+ realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response> {
58
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
59
+ return stackIntercept<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>('serverStreaming', this._transport, method, opt, input);
60
+ }
59
61
  }