@aneoconsultingfr/armonik.api.angular 3.9.0-edge.56.4225cff → 3.9.0-edge.60.de40d5c

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.
@@ -103,100 +103,6 @@ export declare module SessionRaw {
103
103
  duration: googleProtobuf000.Duration.AsProtobufJSON | null;
104
104
  }
105
105
  }
106
- /**
107
- * Message implementation for armonik.api.grpc.v1.sessions.SessionSummary
108
- */
109
- export declare class SessionSummary implements GrpcMessage {
110
- static id: string;
111
- /**
112
- * Deserialize binary data to message
113
- * @param instance message instance
114
- */
115
- static deserializeBinary(bytes: ByteSource): SessionSummary;
116
- /**
117
- * Check all the properties and set default protobuf values if necessary
118
- * @param _instance message instance
119
- */
120
- static refineValues(_instance: SessionSummary): void;
121
- /**
122
- * Deserializes / reads binary message into message instance using provided binary reader
123
- * @param _instance message instance
124
- * @param _reader binary reader instance
125
- */
126
- static deserializeBinaryFromReader(_instance: SessionSummary, _reader: BinaryReader): void;
127
- /**
128
- * Serializes a message to binary format using provided binary reader
129
- * @param _instance message instance
130
- * @param _writer binary writer instance
131
- */
132
- static serializeBinaryToWriter(_instance: SessionSummary, _writer: BinaryWriter): void;
133
- private _sessionId;
134
- private _status;
135
- private _createdAt?;
136
- private _cancelledAt?;
137
- private _duration?;
138
- private _options?;
139
- /**
140
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
141
- * @param _value initial values object or instance of SessionSummary to deeply clone from
142
- */
143
- constructor(_value?: RecursivePartial<SessionSummary.AsObject>);
144
- get sessionId(): string;
145
- set sessionId(value: string);
146
- get status(): armonikApiGrpcV1Session_status004.SessionStatus;
147
- set status(value: armonikApiGrpcV1Session_status004.SessionStatus);
148
- get createdAt(): googleProtobuf002.Timestamp | undefined;
149
- set createdAt(value: googleProtobuf002.Timestamp | undefined);
150
- get cancelledAt(): googleProtobuf002.Timestamp | undefined;
151
- set cancelledAt(value: googleProtobuf002.Timestamp | undefined);
152
- get duration(): googleProtobuf000.Duration | undefined;
153
- set duration(value: googleProtobuf000.Duration | undefined);
154
- get options(): armonikApiGrpcV1003.TaskOptions | undefined;
155
- set options(value: armonikApiGrpcV1003.TaskOptions | undefined);
156
- /**
157
- * Serialize message to binary data
158
- * @param instance message instance
159
- */
160
- serializeBinary(): Uint8Array;
161
- /**
162
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
163
- */
164
- toObject(): SessionSummary.AsObject;
165
- /**
166
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
167
- */
168
- toJSON(): SessionSummary.AsObject;
169
- /**
170
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
171
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
172
- * 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
173
- */
174
- toProtobufJSON(options?: ToProtobufJSONOptions): SessionSummary.AsProtobufJSON;
175
- }
176
- export declare module SessionSummary {
177
- /**
178
- * Standard JavaScript object representation for SessionSummary
179
- */
180
- interface AsObject {
181
- sessionId: string;
182
- status: armonikApiGrpcV1Session_status004.SessionStatus;
183
- createdAt?: googleProtobuf002.Timestamp.AsObject;
184
- cancelledAt?: googleProtobuf002.Timestamp.AsObject;
185
- duration?: googleProtobuf000.Duration.AsObject;
186
- options?: armonikApiGrpcV1003.TaskOptions.AsObject;
187
- }
188
- /**
189
- * Protobuf JSON representation for SessionSummary
190
- */
191
- interface AsProtobufJSON {
192
- sessionId: string;
193
- status: string;
194
- createdAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
195
- cancelledAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
196
- duration: googleProtobuf000.Duration.AsProtobufJSON | null;
197
- options: armonikApiGrpcV1003.TaskOptions.AsProtobufJSON | null;
198
- }
199
- }
200
106
  /**
201
107
  * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest
202
108
  */
@@ -512,8 +418,8 @@ export declare class ListSessionsResponse implements GrpcMessage {
512
418
  * @param _value initial values object or instance of ListSessionsResponse to deeply clone from
513
419
  */
514
420
  constructor(_value?: RecursivePartial<ListSessionsResponse.AsObject>);
515
- get sessions(): SessionSummary[] | undefined;
516
- set sessions(value: SessionSummary[] | undefined);
421
+ get sessions(): SessionRaw[] | undefined;
422
+ set sessions(value: SessionRaw[] | undefined);
517
423
  get page(): number;
518
424
  set page(value: number);
519
425
  get pageSize(): number;
@@ -545,7 +451,7 @@ export declare module ListSessionsResponse {
545
451
  * Standard JavaScript object representation for ListSessionsResponse
546
452
  */
547
453
  interface AsObject {
548
- sessions?: SessionSummary.AsObject[];
454
+ sessions?: SessionRaw.AsObject[];
549
455
  page: number;
550
456
  pageSize: number;
551
457
  total: number;
@@ -554,7 +460,7 @@ export declare module ListSessionsResponse {
554
460
  * Protobuf JSON representation for ListSessionsResponse
555
461
  */
556
462
  interface AsProtobufJSON {
557
- sessions: SessionSummary.AsProtobufJSON[] | null;
463
+ sessions: SessionRaw.AsProtobufJSON[] | null;
558
464
  page: number;
559
465
  pageSize: number;
560
466
  total: number;
package/lib/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export { ResultStatus } from "./generated/result-status.pb";
6
6
  export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, ResultRaw } from "./generated/results-common.pb";
7
7
  export { ResultsClient } from "./generated/results-service.pbsc";
8
8
  export { SessionStatus } from "./generated/session-status.pb";
9
- export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse } from "./generated/sessions-common.pb";
9
+ export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse, SessionRaw, } from "./generated/sessions-common.pb";
10
10
  export { SessionsClient } from "./generated/sessions-service.pbsc";
11
11
  export { TaskStatus } from "./generated/task-status.pb";
12
12
  export { CancelTasksRequest, CancelTasksResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, TaskRaw, TaskSummary } from "./generated/tasks-common.pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneoconsultingfr/armonik.api.angular",
3
- "version": "3.9.0-edge.56.4225cff",
3
+ "version": "3.9.0-edge.60.de40d5c",
4
4
  "description": "gRPC API to interact with ArmoniK built for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.0.1",