@aneoconsultingfr/armonik.api.angular 3.11.0-edge.30.e4e5e2b → 3.11.0-edge.32.34f1c44

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.
@@ -3,7 +3,7 @@ import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
3
  import * as googleProtobuf000 from '@ngx-grpc/well-known-types';
4
4
  import * as armonikApiGrpcV1Result_status001 from './result-status.pb';
5
5
  import * as armonikApiGrpcV1Sort_direction002 from './sort-direction.pb';
6
- export declare enum ResultRawField {
6
+ export declare enum ResultRawEnumField {
7
7
  RESULT_RAW_FIELD_UNSPECIFIED = 0,
8
8
  RESULT_RAW_FIELD_SESSION_ID = 1,
9
9
  RESULT_RAW_FIELD_NAME = 2,
@@ -112,6 +112,75 @@ export declare module ResultRaw {
112
112
  resultId: string;
113
113
  }
114
114
  }
115
+ /**
116
+ * Message implementation for armonik.api.grpc.v1.results.ResultRawField
117
+ */
118
+ export declare class ResultRawField implements GrpcMessage {
119
+ static id: string;
120
+ /**
121
+ * Deserialize binary data to message
122
+ * @param instance message instance
123
+ */
124
+ static deserializeBinary(bytes: ByteSource): ResultRawField;
125
+ /**
126
+ * Check all the properties and set default protobuf values if necessary
127
+ * @param _instance message instance
128
+ */
129
+ static refineValues(_instance: ResultRawField): void;
130
+ /**
131
+ * Deserializes / reads binary message into message instance using provided binary reader
132
+ * @param _instance message instance
133
+ * @param _reader binary reader instance
134
+ */
135
+ static deserializeBinaryFromReader(_instance: ResultRawField, _reader: BinaryReader): void;
136
+ /**
137
+ * Serializes a message to binary format using provided binary reader
138
+ * @param _instance message instance
139
+ * @param _writer binary writer instance
140
+ */
141
+ static serializeBinaryToWriter(_instance: ResultRawField, _writer: BinaryWriter): void;
142
+ private _field;
143
+ /**
144
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
145
+ * @param _value initial values object or instance of ResultRawField to deeply clone from
146
+ */
147
+ constructor(_value?: RecursivePartial<ResultRawField.AsObject>);
148
+ get field(): ResultRawEnumField;
149
+ set field(value: ResultRawEnumField);
150
+ /**
151
+ * Serialize message to binary data
152
+ * @param instance message instance
153
+ */
154
+ serializeBinary(): Uint8Array;
155
+ /**
156
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
157
+ */
158
+ toObject(): ResultRawField.AsObject;
159
+ /**
160
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
161
+ */
162
+ toJSON(): ResultRawField.AsObject;
163
+ /**
164
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
165
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
166
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
167
+ */
168
+ toProtobufJSON(options?: ToProtobufJSONOptions): ResultRawField.AsProtobufJSON;
169
+ }
170
+ export declare module ResultRawField {
171
+ /**
172
+ * Standard JavaScript object representation for ResultRawField
173
+ */
174
+ interface AsObject {
175
+ field: ResultRawEnumField;
176
+ }
177
+ /**
178
+ * Protobuf JSON representation for ResultRawField
179
+ */
180
+ interface AsProtobufJSON {
181
+ field: string;
182
+ }
183
+ }
115
184
  /**
116
185
  * Message implementation for armonik.api.grpc.v1.results.ResultField
117
186
  */
@@ -139,15 +208,15 @@ export declare class ResultField implements GrpcMessage {
139
208
  * @param _writer binary writer instance
140
209
  */
141
210
  static serializeBinaryToWriter(_instance: ResultField, _writer: BinaryWriter): void;
142
- private _resultRawField;
211
+ private _resultRawField?;
143
212
  private _field;
144
213
  /**
145
214
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
146
215
  * @param _value initial values object or instance of ResultField to deeply clone from
147
216
  */
148
217
  constructor(_value?: RecursivePartial<ResultField.AsObject>);
149
- get resultRawField(): ResultRawField;
150
- set resultRawField(value: ResultRawField);
218
+ get resultRawField(): ResultRawField | undefined;
219
+ set resultRawField(value: ResultRawField | undefined);
151
220
  get field(): ResultField.FieldCase;
152
221
  /**
153
222
  * Serialize message to binary data
@@ -174,13 +243,13 @@ export declare module ResultField {
174
243
  * Standard JavaScript object representation for ResultField
175
244
  */
176
245
  interface AsObject {
177
- resultRawField: ResultRawField;
246
+ resultRawField?: ResultRawField.AsObject;
178
247
  }
179
248
  /**
180
249
  * Protobuf JSON representation for ResultField
181
250
  */
182
251
  interface AsProtobufJSON {
183
- resultRawField: string | null;
252
+ resultRawField: ResultRawField.AsProtobufJSON | null;
184
253
  }
185
254
  enum FieldCase {
186
255
  none = 0,
package/lib/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export { ApplicationsClient } from "./generated/applications-service.pbsc";
4
4
  export { GetCurrentUserRequest, GetCurrentUserResponse, User } from "./generated/auth-common.pb";
5
5
  export { AuthenticationClient } from "./generated/auth-service.pbsc";
6
6
  export { ResultStatus } from "./generated/result-status.pb";
7
- export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, GetResultRequest, GetResultResponse, ResultRaw, ResultField, ResultRawField, } from "./generated/results-common.pb";
7
+ export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, GetResultRequest, GetResultResponse, ResultRaw, ResultRawEnumField, ResultField, ResultRawField, } from "./generated/results-common.pb";
8
8
  export { ResultsClient } from "./generated/results-service.pbsc";
9
9
  export { SessionStatus } from "./generated/session-status.pb";
10
10
  export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse, CountTasksByStatusRequest as CountTasksByStatusSessionRequest, CountTasksByStatusResponse as CountTasksByStatusSessionResponse, SessionRaw, SessionRawField, SessionField } from "./generated/sessions-common.pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneoconsultingfr/armonik.api.angular",
3
- "version": "3.11.0-edge.30.e4e5e2b",
3
+ "version": "3.11.0-edge.32.34f1c44",
4
4
  "description": "gRPC API to interact with ArmoniK built for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.1.3",