@milaboratories/pl-drivers 1.6.3 → 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
@@ -0,0 +1,172 @@
1
+ import { BinaryWriteOptions, IBinaryWriter, IBinaryReader, PartialMessage, JsonValue, JsonReadOptions, JsonWriteOptions, BinaryReadOptions, IMessageType, MessageType } from '@protobuf-ts/runtime';
2
+ /**
3
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
4
+ * URL that describes the type of the serialized message.
5
+ *
6
+ * Protobuf library provides support to pack/unpack Any values in the form
7
+ * of utility functions or additional generated methods of the Any type.
8
+ *
9
+ * Example 1: Pack and unpack a message in C++.
10
+ *
11
+ * Foo foo = ...;
12
+ * Any any;
13
+ * any.PackFrom(foo);
14
+ * ...
15
+ * if (any.UnpackTo(&foo)) {
16
+ * ...
17
+ * }
18
+ *
19
+ * Example 2: Pack and unpack a message in Java.
20
+ *
21
+ * Foo foo = ...;
22
+ * Any any = Any.pack(foo);
23
+ * ...
24
+ * if (any.is(Foo.class)) {
25
+ * foo = any.unpack(Foo.class);
26
+ * }
27
+ * // or ...
28
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
29
+ * foo = any.unpack(Foo.getDefaultInstance());
30
+ * }
31
+ *
32
+ * Example 3: Pack and unpack a message in Python.
33
+ *
34
+ * foo = Foo(...)
35
+ * any = Any()
36
+ * any.Pack(foo)
37
+ * ...
38
+ * if any.Is(Foo.DESCRIPTOR):
39
+ * any.Unpack(foo)
40
+ * ...
41
+ *
42
+ * Example 4: Pack and unpack a message in Go
43
+ *
44
+ * foo := &pb.Foo{...}
45
+ * any, err := anypb.New(foo)
46
+ * if err != nil {
47
+ * ...
48
+ * }
49
+ * ...
50
+ * foo := &pb.Foo{}
51
+ * if err := any.UnmarshalTo(foo); err != nil {
52
+ * ...
53
+ * }
54
+ *
55
+ * The pack methods provided by protobuf library will by default use
56
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
57
+ * methods only use the fully qualified type name after the last '/'
58
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
59
+ * name "y.z".
60
+ *
61
+ * JSON
62
+ * ====
63
+ * The JSON representation of an `Any` value uses the regular
64
+ * representation of the deserialized, embedded message, with an
65
+ * additional field `@type` which contains the type URL. Example:
66
+ *
67
+ * package google.profile;
68
+ * message Person {
69
+ * string first_name = 1;
70
+ * string last_name = 2;
71
+ * }
72
+ *
73
+ * {
74
+ * "@type": "type.googleapis.com/google.profile.Person",
75
+ * "firstName": <string>,
76
+ * "lastName": <string>
77
+ * }
78
+ *
79
+ * If the embedded message type is well-known and has a custom JSON
80
+ * representation, that representation will be embedded adding a field
81
+ * `value` which holds the custom JSON in addition to the `@type`
82
+ * field. Example (for message [google.protobuf.Duration][]):
83
+ *
84
+ * {
85
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
86
+ * "value": "1.212s"
87
+ * }
88
+ *
89
+ *
90
+ * @generated from protobuf message google.protobuf.Any
91
+ */
92
+ export interface Any {
93
+ /**
94
+ * A URL/resource name that uniquely identifies the type of the serialized
95
+ * protocol buffer message. This string must contain at least
96
+ * one "/" character. The last segment of the URL's path must represent
97
+ * the fully qualified name of the type (as in
98
+ * `path/google.protobuf.Duration`). The name should be in a canonical form
99
+ * (e.g., leading "." is not accepted).
100
+ *
101
+ * In practice, teams usually precompile into the binary all types that they
102
+ * expect it to use in the context of Any. However, for URLs which use the
103
+ * scheme `http`, `https`, or no scheme, one can optionally set up a type
104
+ * server that maps type URLs to message definitions as follows:
105
+ *
106
+ * * If no scheme is provided, `https` is assumed.
107
+ * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
108
+ * value in binary format, or produce an error.
109
+ * * Applications are allowed to cache lookup results based on the
110
+ * URL, or have them precompiled into a binary to avoid any
111
+ * lookup. Therefore, binary compatibility needs to be preserved
112
+ * on changes to types. (Use versioned type names to manage
113
+ * breaking changes.)
114
+ *
115
+ * Note: this functionality is not currently available in the official
116
+ * protobuf release, and it is not used for type URLs beginning with
117
+ * type.googleapis.com. As of May 2023, there are no widely used type server
118
+ * implementations and no plans to implement one.
119
+ *
120
+ * Schemes other than `http`, `https` (or the empty scheme) might be
121
+ * used with implementation specific semantics.
122
+ *
123
+ *
124
+ * @generated from protobuf field: string type_url = 1
125
+ */
126
+ typeUrl: string;
127
+ /**
128
+ * Must be a valid serialized protocol buffer of the above specified type.
129
+ *
130
+ * @generated from protobuf field: bytes value = 2
131
+ */
132
+ value: Uint8Array;
133
+ }
134
+ declare class Any$Type extends MessageType<Any> {
135
+ constructor();
136
+ /**
137
+ * Pack the message into a new `Any`.
138
+ *
139
+ * Uses 'type.googleapis.com/full.type.name' as the type URL.
140
+ */
141
+ pack<T extends object>(message: T, type: IMessageType<T>): Any;
142
+ /**
143
+ * Unpack the message from the `Any`.
144
+ */
145
+ unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T;
146
+ /**
147
+ * Does the given `Any` contain a packed message of the given type?
148
+ */
149
+ contains(any: Any, type: IMessageType<any> | string): boolean;
150
+ /**
151
+ * Convert the message to canonical JSON value.
152
+ *
153
+ * You have to provide the `typeRegistry` option so that the
154
+ * packed message can be converted to JSON.
155
+ *
156
+ * The `typeRegistry` option is also required to read
157
+ * `google.protobuf.Any` from JSON format.
158
+ */
159
+ internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue;
160
+ internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any;
161
+ typeNameToUrl(name: string): string;
162
+ typeUrlToName(url: string): string;
163
+ create(value?: PartialMessage<Any>): Any;
164
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any;
165
+ internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
166
+ }
167
+ /**
168
+ * @generated MessageType for protobuf message google.protobuf.Any
169
+ */
170
+ export declare const Any: Any$Type;
171
+ export {};
172
+ //# sourceMappingURL=any.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/protobuf/any.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;;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