@milaboratories/pl-client 2.4.10 → 2.4.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 (101) hide show
  1. package/dist/core/auth.d.ts +6 -0
  2. package/dist/core/auth.d.ts.map +1 -0
  3. package/dist/core/client.d.ts +50 -0
  4. package/dist/core/client.d.ts.map +1 -0
  5. package/dist/core/config.d.ts +91 -0
  6. package/dist/core/config.d.ts.map +1 -0
  7. package/dist/core/default_client.d.ts +11 -0
  8. package/dist/core/default_client.d.ts.map +1 -0
  9. package/dist/core/driver.d.ts +18 -0
  10. package/dist/core/driver.d.ts.map +1 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/errors.d.ts.map +1 -0
  13. package/dist/core/http.d.ts +1 -0
  14. package/dist/core/http.d.ts.map +1 -0
  15. package/dist/core/ll_client.d.ts +50 -0
  16. package/dist/core/ll_client.d.ts.map +1 -0
  17. package/dist/core/ll_transaction.d.ts +55 -0
  18. package/dist/core/ll_transaction.d.ts.map +1 -0
  19. package/dist/core/transaction.d.ts +152 -0
  20. package/dist/core/transaction.d.ts.map +1 -0
  21. package/dist/core/type_conversion.d.ts +8 -0
  22. package/dist/core/type_conversion.d.ts.map +1 -0
  23. package/dist/core/types.d.ts +77 -0
  24. package/dist/core/types.d.ts.map +1 -0
  25. package/dist/core/unauth_client.d.ts +13 -0
  26. package/dist/core/unauth_client.d.ts.map +1 -0
  27. package/dist/helpers/pl.d.ts +34 -0
  28. package/dist/helpers/pl.d.ts.map +1 -0
  29. package/dist/helpers/poll.d.ts +39 -0
  30. package/dist/helpers/poll.d.ts.map +1 -0
  31. package/dist/helpers/rich_resource_types.d.ts +1 -0
  32. package/dist/helpers/rich_resource_types.d.ts.map +1 -0
  33. package/dist/helpers/smart_accessors.d.ts +1 -0
  34. package/dist/helpers/smart_accessors.d.ts.map +1 -0
  35. package/dist/helpers/state_helpers.d.ts +3 -0
  36. package/dist/helpers/state_helpers.d.ts.map +1 -0
  37. package/dist/helpers/tx_helpers.d.ts +9 -0
  38. package/dist/helpers/tx_helpers.d.ts.map +1 -0
  39. package/dist/index.d.ts +14 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.js +1 -14425
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +12126 -0
  44. package/dist/index.mjs.map +1 -0
  45. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
  46. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
  47. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +36 -0
  48. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  49. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +103 -0
  50. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  51. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +42 -0
  52. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  53. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +165 -0
  54. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  55. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +44 -0
  56. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  57. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +171 -0
  58. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  59. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +122 -0
  60. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  61. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +315 -0
  62. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  63. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +276 -0
  64. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
  65. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5045 -0
  66. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
  67. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +499 -0
  68. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
  69. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
  70. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
  71. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
  72. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
  73. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
  74. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
  75. package/dist/proto/google/api/http.d.ts +451 -0
  76. package/dist/proto/google/api/http.d.ts.map +1 -0
  77. package/dist/proto/google/protobuf/any.d.ts +172 -0
  78. package/dist/proto/google/protobuf/any.d.ts.map +1 -0
  79. package/dist/proto/google/protobuf/descriptor.d.ts +2258 -0
  80. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  81. package/dist/proto/google/protobuf/duration.d.ts +105 -0
  82. package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
  83. package/dist/proto/google/protobuf/empty.d.ts +27 -0
  84. package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
  85. package/dist/proto/google/protobuf/struct.d.ts +177 -0
  86. package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
  87. package/dist/proto/google/protobuf/timestamp.d.ts +148 -0
  88. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  89. package/dist/proto/google/protobuf/wrappers.d.ts +300 -0
  90. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
  91. package/dist/test/test_config.d.ts +18 -0
  92. package/dist/test/test_config.d.ts.map +1 -0
  93. package/dist/util/branding.d.ts +7 -0
  94. package/dist/util/branding.d.ts.map +1 -0
  95. package/dist/util/pl.d.ts +9 -0
  96. package/dist/util/pl.d.ts.map +1 -0
  97. package/dist/util/util.d.ts +2 -0
  98. package/dist/util/util.d.ts.map +1 -0
  99. package/package.json +10 -14
  100. package/dist/index.cjs +0 -14527
  101. package/dist/index.cjs.map +0 -1
@@ -0,0 +1,48 @@
1
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
2
+ import { Any } from '../../../../../google/protobuf/any';
3
+ /**
4
+ * The `Status` type defines a logical error model that is suitable for
5
+ * different programming environments, including REST APIs and RPC APIs. It is
6
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
7
+ * three pieces of data: error code, error message, and error details.
8
+ *
9
+ * You can find out more about this error model and how to work with it in the
10
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
11
+ *
12
+ * @generated from protobuf message google.rpc.Status
13
+ */
14
+ export interface Status {
15
+ /**
16
+ * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
17
+ *
18
+ * @generated from protobuf field: int32 code = 1;
19
+ */
20
+ code: number;
21
+ /**
22
+ * A developer-facing error message, which should be in English. Any
23
+ * user-facing error message should be localized and sent in the
24
+ * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
25
+ *
26
+ * @generated from protobuf field: string message = 2;
27
+ */
28
+ message: string;
29
+ /**
30
+ * A list of messages that carry the error details. There is a common set of
31
+ * message types for APIs to use.
32
+ *
33
+ * @generated from protobuf field: repeated google.protobuf.Any details = 3;
34
+ */
35
+ details: Any[];
36
+ }
37
+ declare class Status$Type extends MessageType<Status> {
38
+ constructor();
39
+ create(value?: PartialMessage<Status>): Status;
40
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status;
41
+ internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
42
+ }
43
+ /**
44
+ * @generated MessageType for protobuf message google.rpc.Status
45
+ */
46
+ export declare const Status: Status$Type;
47
+ export {};
48
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"names":[],"mappings":"AAkBA,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,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,EAAE,GAAG,EAAE,CAAC;CAClB;AAED,cAAM,WAAY,SAAQ,WAAW,CAAC,MAAM,CAAC;;IAQzC,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IAS9C,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAyB9G,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAe1G;AACD;;GAEG;AACH,eAAO,MAAM,MAAM,aAAoB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
+ import { DownloadAPI_GetDownloadURL_Response, DownloadAPI_GetDownloadURL_Request } from './protocol';
3
+ /**
4
+ *
5
+ * Download provides access to any data, that can be downloaded via network.
6
+ *
7
+ *
8
+ * @generated from protobuf service MiLaboratories.Controller.Shared.Download
9
+ */
10
+ export interface IDownloadClient {
11
+ /**
12
+ * @generated from protobuf rpc: GetDownloadURL(MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request) returns (MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response);
13
+ */
14
+ getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;
15
+ }
16
+ /**
17
+ *
18
+ * Download provides access to any data, that can be downloaded via network.
19
+ *
20
+ *
21
+ * @generated from protobuf service MiLaboratories.Controller.Shared.Download
22
+ */
23
+ export declare class DownloadClient implements IDownloadClient, ServiceInfo {
24
+ private readonly _transport;
25
+ typeName: string;
26
+ methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
27
+ options: {
28
+ [extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
29
+ };
30
+ constructor(_transport: RpcTransport);
31
+ /**
32
+ * @generated from protobuf rpc: GetDownloadURL(MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request) returns (MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response);
33
+ */
34
+ getDownloadURL(input: DownloadAPI_GetDownloadURL_Request, options?: RpcOptions): UnaryCall<DownloadAPI_GetDownloadURL_Request, DownloadAPI_GetDownloadURL_Response>;
35
+ }
36
+ //# sourceMappingURL=protocol.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kCAAkC,EAAE,mCAAmC,CAAC,CAAC;CACvK;AACD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,eAAe,EAAE,WAAW;IAInD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAqB;IAC7B,OAAO,4DAAoB;IAC3B,OAAO;;MAAoB;gBACE,UAAU,EAAE,YAAY;IAErD;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kCAAkC,EAAE,mCAAmC,CAAC;CAItK"}
@@ -0,0 +1,103 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ /**
4
+ * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI
5
+ */
6
+ export interface DownloadAPI {
7
+ }
8
+ /**
9
+ * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL
10
+ */
11
+ export interface DownloadAPI_GetDownloadURL {
12
+ }
13
+ /**
14
+ * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request
15
+ */
16
+ export interface DownloadAPI_GetDownloadURL_Request {
17
+ /**
18
+ * @generated from protobuf field: uint64 resource_id = 1;
19
+ */
20
+ resourceId: bigint;
21
+ }
22
+ /**
23
+ * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader
24
+ */
25
+ export interface DownloadAPI_GetDownloadURL_HTTPHeader {
26
+ /**
27
+ * @generated from protobuf field: string Name = 1 [json_name = "Name"];
28
+ */
29
+ name: string;
30
+ /**
31
+ * @generated from protobuf field: string Value = 2 [json_name = "Value"];
32
+ */
33
+ value: string;
34
+ }
35
+ /**
36
+ * @generated from protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response
37
+ */
38
+ export interface DownloadAPI_GetDownloadURL_Response {
39
+ /**
40
+ * @generated from protobuf field: string download_url = 1;
41
+ */
42
+ downloadUrl: string;
43
+ /**
44
+ * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader headers = 2;
45
+ */
46
+ headers: DownloadAPI_GetDownloadURL_HTTPHeader[];
47
+ }
48
+ declare class DownloadAPI$Type extends MessageType<DownloadAPI> {
49
+ constructor();
50
+ create(value?: PartialMessage<DownloadAPI>): DownloadAPI;
51
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI): DownloadAPI;
52
+ internalBinaryWrite(message: DownloadAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
53
+ }
54
+ /**
55
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI
56
+ */
57
+ export declare const DownloadAPI: DownloadAPI$Type;
58
+ declare class DownloadAPI_GetDownloadURL$Type extends MessageType<DownloadAPI_GetDownloadURL> {
59
+ constructor();
60
+ create(value?: PartialMessage<DownloadAPI_GetDownloadURL>): DownloadAPI_GetDownloadURL;
61
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL): DownloadAPI_GetDownloadURL;
62
+ internalBinaryWrite(message: DownloadAPI_GetDownloadURL, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
63
+ }
64
+ /**
65
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL
66
+ */
67
+ export declare const DownloadAPI_GetDownloadURL: DownloadAPI_GetDownloadURL$Type;
68
+ declare class DownloadAPI_GetDownloadURL_Request$Type extends MessageType<DownloadAPI_GetDownloadURL_Request> {
69
+ constructor();
70
+ create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Request>): DownloadAPI_GetDownloadURL_Request;
71
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Request): DownloadAPI_GetDownloadURL_Request;
72
+ internalBinaryWrite(message: DownloadAPI_GetDownloadURL_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
73
+ }
74
+ /**
75
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Request
76
+ */
77
+ export declare const DownloadAPI_GetDownloadURL_Request: DownloadAPI_GetDownloadURL_Request$Type;
78
+ declare class DownloadAPI_GetDownloadURL_HTTPHeader$Type extends MessageType<DownloadAPI_GetDownloadURL_HTTPHeader> {
79
+ constructor();
80
+ create(value?: PartialMessage<DownloadAPI_GetDownloadURL_HTTPHeader>): DownloadAPI_GetDownloadURL_HTTPHeader;
81
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_HTTPHeader): DownloadAPI_GetDownloadURL_HTTPHeader;
82
+ internalBinaryWrite(message: DownloadAPI_GetDownloadURL_HTTPHeader, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
83
+ }
84
+ /**
85
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.HTTPHeader
86
+ */
87
+ export declare const DownloadAPI_GetDownloadURL_HTTPHeader: DownloadAPI_GetDownloadURL_HTTPHeader$Type;
88
+ declare class DownloadAPI_GetDownloadURL_Response$Type extends MessageType<DownloadAPI_GetDownloadURL_Response> {
89
+ constructor();
90
+ create(value?: PartialMessage<DownloadAPI_GetDownloadURL_Response>): DownloadAPI_GetDownloadURL_Response;
91
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DownloadAPI_GetDownloadURL_Response): DownloadAPI_GetDownloadURL_Response;
92
+ internalBinaryWrite(message: DownloadAPI_GetDownloadURL_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
93
+ }
94
+ /**
95
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.DownloadAPI.GetDownloadURL.Response
96
+ */
97
+ export declare const DownloadAPI_GetDownloadURL_Response: DownloadAPI_GetDownloadURL_Response$Type;
98
+ /**
99
+ * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Download
100
+ */
101
+ export declare const Download: ServiceType;
102
+ export {};
103
+ //# sourceMappingURL=protocol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAA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GAAG,aAAa;CAYzI;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,4CAAmD,CAAC;AAEtG,cAAM,wCAAyC,SAAQ,WAAW,CAAC,mCAAmC,CAAC;;IAOnG,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,mCAAmC,CAAC,GAAG,mCAAmC;IAQxG,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,mCAAmC,GAAG,mCAAmC;IAsBxK,mBAAmB,CAAC,OAAO,EAAE,mCAAmC,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYvI;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,0CAAiD,CAAC;AAClG;;GAEG;AACH,eAAO,MAAM,QAAQ,aAEnB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
+ import { LsAPI_List_Response, LsAPI_List_Request } from './protocol';
3
+ /**
4
+ *
5
+ * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.
6
+ * This API allows clients to know, whan items are available in storages, that
7
+ * the contorllers can access, providing clients with the ability to start indexation
8
+ * on, say, existing sequence files from the corporate storage.
9
+ *
10
+ *
11
+ * @generated from protobuf service MiLaboratories.Controller.Shared.LS
12
+ */
13
+ export interface ILSClient {
14
+ /**
15
+ * @generated from protobuf rpc: List(MiLaboratories.Controller.Shared.LsAPI.List.Request) returns (MiLaboratories.Controller.Shared.LsAPI.List.Response);
16
+ */
17
+ list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;
18
+ }
19
+ /**
20
+ *
21
+ * LS provides access to lists of blobs (files, S3 objects and so on) is some storage.
22
+ * This API allows clients to know, whan items are available in storages, that
23
+ * the contorllers can access, providing clients with the ability to start indexation
24
+ * on, say, existing sequence files from the corporate storage.
25
+ *
26
+ *
27
+ * @generated from protobuf service MiLaboratories.Controller.Shared.LS
28
+ */
29
+ export declare class LSClient implements ILSClient, ServiceInfo {
30
+ private readonly _transport;
31
+ typeName: string;
32
+ methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
33
+ options: {
34
+ [extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
35
+ };
36
+ constructor(_transport: RpcTransport);
37
+ /**
38
+ * @generated from protobuf rpc: List(MiLaboratories.Controller.Shared.LsAPI.List.Request) returns (MiLaboratories.Controller.Shared.LsAPI.List.Response);
39
+ */
40
+ list(input: LsAPI_List_Request, options?: RpcOptions): UnaryCall<LsAPI_List_Request, LsAPI_List_Response>;
41
+ }
42
+ //# sourceMappingURL=protocol.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAC;CAC7G;AACD;;;;;;;;;GASG;AACH,qBAAa,QAAS,YAAW,SAAS,EAAE,WAAW;IAIvC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAe;IACvB,OAAO,4DAAc;IACrB,OAAO;;MAAc;gBACQ,UAAU,EAAE,YAAY;IAErD;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,kBAAkB,EAAE,mBAAmB,CAAC;CAI5G"}
@@ -0,0 +1,165 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { Timestamp } from '../../../../../../../google/protobuf/timestamp';
4
+ /**
5
+ * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI
6
+ */
7
+ export interface LsAPI {
8
+ }
9
+ /**
10
+ * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem
11
+ */
12
+ export interface LsAPI_ListItem {
13
+ /**
14
+ * name of the item in storage, without any prefixes
15
+ *
16
+ * @generated from protobuf field: string name = 1;
17
+ */
18
+ name: string;
19
+ /**
20
+ * size of item in bytes
21
+ * is always zero for directories (is_dir = true)
22
+ *
23
+ * @generated from protobuf field: uint64 size = 2;
24
+ */
25
+ size: bigint;
26
+ /**
27
+ * is_dir is true for item, that can have subitems.
28
+ *
29
+ * @generated from protobuf field: bool is_dir = 3;
30
+ */
31
+ isDir: boolean;
32
+ /**
33
+ * full_name is the name of item absolute to storage root.
34
+ * it is <directory> + <name>
35
+ * The <delimiter>, used in names, is storage-specific and is NOT guaranteed to be '/'.
36
+ *
37
+ * @generated from protobuf field: string full_name = 10;
38
+ */
39
+ fullName: string;
40
+ /**
41
+ * directory, the item is located in. The value here is always a prefix of name:
42
+ * name.HasPrefix(directory) is always true.
43
+ *
44
+ * @generated from protobuf field: string directory = 11;
45
+ */
46
+ directory: string;
47
+ /**
48
+ * last_modified keeps the item last modification timestamp
49
+ *
50
+ * @generated from protobuf field: google.protobuf.Timestamp last_modified = 12;
51
+ */
52
+ lastModified?: Timestamp;
53
+ /**
54
+ * version of item in storage.
55
+ * When storage supports versioning or provides checksums for the data stored,
56
+ * the <version> field keeps that data.
57
+ * If not - it keeps the any simple combination of item attributes, that helps to
58
+ * detect if the contents of item has changed, e.g. <size>+<mtime>.
59
+ * Anyway, client should not try to interpret this field, but should provide it to the Platform
60
+ * in operations with given item (like BlobImportInternal) to help Platform with deduplication.
61
+ *
62
+ * @generated from protobuf field: string version = 13;
63
+ */
64
+ version: string;
65
+ }
66
+ /**
67
+ * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List
68
+ */
69
+ export interface LsAPI_List {
70
+ }
71
+ /**
72
+ * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request
73
+ */
74
+ export interface LsAPI_List_Request {
75
+ /**
76
+ * resource_id of 'LS/<Storage>' resource
77
+ *
78
+ * @generated from protobuf field: uint64 resource_id = 1;
79
+ */
80
+ resourceId: bigint;
81
+ /**
82
+ * location to list, absolute to storage root. Only items, that have <full_name> starting
83
+ * from <location> are included into list response.
84
+ *
85
+ * @generated from protobuf field: string location = 2;
86
+ */
87
+ location: string;
88
+ }
89
+ /**
90
+ * @generated from protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response
91
+ */
92
+ export interface LsAPI_List_Response {
93
+ /**
94
+ * List of the full (absolute to storage root) names of items from storage.
95
+ * E.g., for 'fs' storage each name will consist of names of all directories, where the
96
+ * item is located, and the item name itself.
97
+ * The delimiter, used in names, is storage-specific and is NOT guaranteed to be '/'.
98
+ *
99
+ * @generated from protobuf field: repeated MiLaboratories.Controller.Shared.LsAPI.ListItem items = 1;
100
+ */
101
+ items: LsAPI_ListItem[];
102
+ /**
103
+ * delimiter is path separator, used in this storage. Client can use it to parse item names into parts,
104
+ * to extract directory names.
105
+ *
106
+ * @generated from protobuf field: string delimiter = 2;
107
+ */
108
+ delimiter: string;
109
+ }
110
+ declare class LsAPI$Type extends MessageType<LsAPI> {
111
+ constructor();
112
+ create(value?: PartialMessage<LsAPI>): LsAPI;
113
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI): LsAPI;
114
+ internalBinaryWrite(message: LsAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
115
+ }
116
+ /**
117
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI
118
+ */
119
+ export declare const LsAPI: LsAPI$Type;
120
+ declare class LsAPI_ListItem$Type extends MessageType<LsAPI_ListItem> {
121
+ constructor();
122
+ create(value?: PartialMessage<LsAPI_ListItem>): LsAPI_ListItem;
123
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_ListItem): LsAPI_ListItem;
124
+ internalBinaryWrite(message: LsAPI_ListItem, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
125
+ }
126
+ /**
127
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.ListItem
128
+ */
129
+ export declare const LsAPI_ListItem: LsAPI_ListItem$Type;
130
+ declare class LsAPI_List$Type extends MessageType<LsAPI_List> {
131
+ constructor();
132
+ create(value?: PartialMessage<LsAPI_List>): LsAPI_List;
133
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List): LsAPI_List;
134
+ internalBinaryWrite(message: LsAPI_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
135
+ }
136
+ /**
137
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List
138
+ */
139
+ export declare const LsAPI_List: LsAPI_List$Type;
140
+ declare class LsAPI_List_Request$Type extends MessageType<LsAPI_List_Request> {
141
+ constructor();
142
+ create(value?: PartialMessage<LsAPI_List_Request>): LsAPI_List_Request;
143
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Request): LsAPI_List_Request;
144
+ internalBinaryWrite(message: LsAPI_List_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
145
+ }
146
+ /**
147
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Request
148
+ */
149
+ export declare const LsAPI_List_Request: LsAPI_List_Request$Type;
150
+ declare class LsAPI_List_Response$Type extends MessageType<LsAPI_List_Response> {
151
+ constructor();
152
+ create(value?: PartialMessage<LsAPI_List_Response>): LsAPI_List_Response;
153
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LsAPI_List_Response): LsAPI_List_Response;
154
+ internalBinaryWrite(message: LsAPI_List_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
155
+ }
156
+ /**
157
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.LsAPI.List.Response
158
+ */
159
+ export declare const LsAPI_List_Response: LsAPI_List_Response$Type;
160
+ /**
161
+ * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.LS
162
+ */
163
+ export declare const LS: ServiceType;
164
+ export {};
165
+ //# sourceMappingURL=protocol.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,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;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,M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AQ,WAAW,CAAC,mBAAmB,CAAC;;IAOnE,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;IAQxE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG,mBAAmB;IAsBxI,mBAAmB,CAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYvH;AACD;;GAEG;AACH,eAAO,MAAM,mBAAmB,0BAAiC,CAAC;AAClE;;GAEG;AACH,eAAO,MAAM,EAAE,aAEb,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { RpcTransport, ServiceInfo, ServerStreamingCall, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
+ import { ProgressAPI_RealtimeStatus_Response, ProgressAPI_RealtimeStatus_Request, ProgressAPI_GetStatus_Response, ProgressAPI_GetStatus_Request } from './protocol';
3
+ /**
4
+ *
5
+ * Progress provides access to progress of any long-running process associated with resource.
6
+ *
7
+ *
8
+ * @generated from protobuf service MiLaboratories.Controller.Shared.Progress
9
+ */
10
+ export interface IProgressClient {
11
+ /**
12
+ * @generated from protobuf rpc: GetStatus(MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request) returns (MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response);
13
+ */
14
+ getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>;
15
+ /**
16
+ * @generated from protobuf rpc: RealtimeStatus(MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request) returns (stream MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response);
17
+ */
18
+ realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>;
19
+ }
20
+ /**
21
+ *
22
+ * Progress provides access to progress of any long-running process associated with resource.
23
+ *
24
+ *
25
+ * @generated from protobuf service MiLaboratories.Controller.Shared.Progress
26
+ */
27
+ export declare class ProgressClient implements IProgressClient, ServiceInfo {
28
+ private readonly _transport;
29
+ typeName: string;
30
+ methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
31
+ options: {
32
+ [extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
33
+ };
34
+ constructor(_transport: RpcTransport);
35
+ /**
36
+ * @generated from protobuf rpc: GetStatus(MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request) returns (MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response);
37
+ */
38
+ getStatus(input: ProgressAPI_GetStatus_Request, options?: RpcOptions): UnaryCall<ProgressAPI_GetStatus_Request, ProgressAPI_GetStatus_Response>;
39
+ /**
40
+ * @generated from protobuf rpc: RealtimeStatus(MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request) returns (stream MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response);
41
+ */
42
+ realtimeStatus(input: ProgressAPI_RealtimeStatus_Request, options?: RpcOptions): ServerStreamingCall<ProgressAPI_RealtimeStatus_Request, ProgressAPI_RealtimeStatus_Response>;
43
+ }
44
+ //# sourceMappingURL=protocol.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"protocol.client.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,6BAA6B,EAAE,8BAA8B,CAAC,CAAC;IAChJ;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,mBAAmB,CAAC,kCAAkC,EAAE,mCAAmC,CAAC,CAAC;CACjL;AACD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,eAAe,EAAE,WAAW;IAInD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAqB;IAC7B,OAAO,4DAAoB;IAC3B,OAAO;;MAAoB;gBACE,UAAU,EAAE,YAAY;IAErD;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,6BAA6B,EAAE,8BAA8B,CAAC;IAI/I;;OAEG;IACH,cAAc,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,mBAAmB,CAAC,kCAAkC,EAAE,mCAAmC,CAAC;CAIhL"}
@@ -0,0 +1,171 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { Duration } from '../../../../../../../google/protobuf/duration';
4
+ /**
5
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI
6
+ */
7
+ export interface ProgressAPI {
8
+ }
9
+ /**
10
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report
11
+ */
12
+ export interface ProgressAPI_Report {
13
+ /**
14
+ * @generated from protobuf field: float progress = 1;
15
+ */
16
+ progress: number;
17
+ /**
18
+ * @generated from protobuf field: uint64 bytes_processed = 2;
19
+ */
20
+ bytesProcessed: bigint;
21
+ /**
22
+ * @generated from protobuf field: uint64 bytes_total = 3;
23
+ */
24
+ bytesTotal: bigint;
25
+ /**
26
+ * @generated from protobuf field: bool done = 4;
27
+ */
28
+ done: boolean;
29
+ /**
30
+ * Name of current progress stage (if any)
31
+ *
32
+ * @generated from protobuf field: string name = 5;
33
+ */
34
+ name: string;
35
+ }
36
+ /**
37
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus
38
+ */
39
+ export interface ProgressAPI_GetStatus {
40
+ }
41
+ /**
42
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request
43
+ */
44
+ export interface ProgressAPI_GetStatus_Request {
45
+ /**
46
+ * @generated from protobuf field: uint64 resource_id = 1;
47
+ */
48
+ resourceId: bigint;
49
+ }
50
+ /**
51
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response
52
+ */
53
+ export interface ProgressAPI_GetStatus_Response {
54
+ /**
55
+ * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1;
56
+ */
57
+ report?: ProgressAPI_Report;
58
+ }
59
+ /**
60
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus
61
+ */
62
+ export interface ProgressAPI_RealtimeStatus {
63
+ }
64
+ /**
65
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request
66
+ */
67
+ export interface ProgressAPI_RealtimeStatus_Request {
68
+ /**
69
+ * @generated from protobuf field: uint64 resource_id = 1;
70
+ */
71
+ resourceId: bigint;
72
+ /**
73
+ * @generated from protobuf field: google.protobuf.Duration update_interval = 2;
74
+ */
75
+ updateInterval?: Duration;
76
+ }
77
+ /**
78
+ * @generated from protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response
79
+ */
80
+ export interface ProgressAPI_RealtimeStatus_Response {
81
+ /**
82
+ * @generated from protobuf field: MiLaboratories.Controller.Shared.ProgressAPI.Report report = 1;
83
+ */
84
+ report?: ProgressAPI_Report;
85
+ }
86
+ declare class ProgressAPI$Type extends MessageType<ProgressAPI> {
87
+ constructor();
88
+ create(value?: PartialMessage<ProgressAPI>): ProgressAPI;
89
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI): ProgressAPI;
90
+ internalBinaryWrite(message: ProgressAPI, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
91
+ }
92
+ /**
93
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI
94
+ */
95
+ export declare const ProgressAPI: ProgressAPI$Type;
96
+ declare class ProgressAPI_Report$Type extends MessageType<ProgressAPI_Report> {
97
+ constructor();
98
+ create(value?: PartialMessage<ProgressAPI_Report>): ProgressAPI_Report;
99
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_Report): ProgressAPI_Report;
100
+ internalBinaryWrite(message: ProgressAPI_Report, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
101
+ }
102
+ /**
103
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.Report
104
+ */
105
+ export declare const ProgressAPI_Report: ProgressAPI_Report$Type;
106
+ declare class ProgressAPI_GetStatus$Type extends MessageType<ProgressAPI_GetStatus> {
107
+ constructor();
108
+ create(value?: PartialMessage<ProgressAPI_GetStatus>): ProgressAPI_GetStatus;
109
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus): ProgressAPI_GetStatus;
110
+ internalBinaryWrite(message: ProgressAPI_GetStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
111
+ }
112
+ /**
113
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus
114
+ */
115
+ export declare const ProgressAPI_GetStatus: ProgressAPI_GetStatus$Type;
116
+ declare class ProgressAPI_GetStatus_Request$Type extends MessageType<ProgressAPI_GetStatus_Request> {
117
+ constructor();
118
+ create(value?: PartialMessage<ProgressAPI_GetStatus_Request>): ProgressAPI_GetStatus_Request;
119
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Request): ProgressAPI_GetStatus_Request;
120
+ internalBinaryWrite(message: ProgressAPI_GetStatus_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
121
+ }
122
+ /**
123
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Request
124
+ */
125
+ export declare const ProgressAPI_GetStatus_Request: ProgressAPI_GetStatus_Request$Type;
126
+ declare class ProgressAPI_GetStatus_Response$Type extends MessageType<ProgressAPI_GetStatus_Response> {
127
+ constructor();
128
+ create(value?: PartialMessage<ProgressAPI_GetStatus_Response>): ProgressAPI_GetStatus_Response;
129
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_GetStatus_Response): ProgressAPI_GetStatus_Response;
130
+ internalBinaryWrite(message: ProgressAPI_GetStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
131
+ }
132
+ /**
133
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.GetStatus.Response
134
+ */
135
+ export declare const ProgressAPI_GetStatus_Response: ProgressAPI_GetStatus_Response$Type;
136
+ declare class ProgressAPI_RealtimeStatus$Type extends MessageType<ProgressAPI_RealtimeStatus> {
137
+ constructor();
138
+ create(value?: PartialMessage<ProgressAPI_RealtimeStatus>): ProgressAPI_RealtimeStatus;
139
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus): ProgressAPI_RealtimeStatus;
140
+ internalBinaryWrite(message: ProgressAPI_RealtimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
141
+ }
142
+ /**
143
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus
144
+ */
145
+ export declare const ProgressAPI_RealtimeStatus: ProgressAPI_RealtimeStatus$Type;
146
+ declare class ProgressAPI_RealtimeStatus_Request$Type extends MessageType<ProgressAPI_RealtimeStatus_Request> {
147
+ constructor();
148
+ create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Request>): ProgressAPI_RealtimeStatus_Request;
149
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Request): ProgressAPI_RealtimeStatus_Request;
150
+ internalBinaryWrite(message: ProgressAPI_RealtimeStatus_Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
151
+ }
152
+ /**
153
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Request
154
+ */
155
+ export declare const ProgressAPI_RealtimeStatus_Request: ProgressAPI_RealtimeStatus_Request$Type;
156
+ declare class ProgressAPI_RealtimeStatus_Response$Type extends MessageType<ProgressAPI_RealtimeStatus_Response> {
157
+ constructor();
158
+ create(value?: PartialMessage<ProgressAPI_RealtimeStatus_Response>): ProgressAPI_RealtimeStatus_Response;
159
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProgressAPI_RealtimeStatus_Response): ProgressAPI_RealtimeStatus_Response;
160
+ internalBinaryWrite(message: ProgressAPI_RealtimeStatus_Response, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
161
+ }
162
+ /**
163
+ * @generated MessageType for protobuf message MiLaboratories.Controller.Shared.ProgressAPI.RealtimeStatus.Response
164
+ */
165
+ export declare const ProgressAPI_RealtimeStatus_Response: ProgressAPI_RealtimeStatus_Response$Type;
166
+ /**
167
+ * @generated ServiceType for protobuf service MiLaboratories.Controller.Shared.Progress
168
+ */
169
+ export declare const Progress: ServiceType;
170
+ export {};
171
+ //# sourceMappingURL=protocol.d.ts.map