@aneoconsultingfr/armonik.api.angular 3.9.0-edge.54.cf4e888 → 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.
@@ -481,6 +481,144 @@ export declare module ListResultsResponse {
481
481
  total: number;
482
482
  }
483
483
  }
484
+ /**
485
+ * Message implementation for armonik.api.grpc.v1.results.GetResultRequest
486
+ */
487
+ export declare class GetResultRequest implements GrpcMessage {
488
+ static id: string;
489
+ /**
490
+ * Deserialize binary data to message
491
+ * @param instance message instance
492
+ */
493
+ static deserializeBinary(bytes: ByteSource): GetResultRequest;
494
+ /**
495
+ * Check all the properties and set default protobuf values if necessary
496
+ * @param _instance message instance
497
+ */
498
+ static refineValues(_instance: GetResultRequest): void;
499
+ /**
500
+ * Deserializes / reads binary message into message instance using provided binary reader
501
+ * @param _instance message instance
502
+ * @param _reader binary reader instance
503
+ */
504
+ static deserializeBinaryFromReader(_instance: GetResultRequest, _reader: BinaryReader): void;
505
+ /**
506
+ * Serializes a message to binary format using provided binary reader
507
+ * @param _instance message instance
508
+ * @param _writer binary writer instance
509
+ */
510
+ static serializeBinaryToWriter(_instance: GetResultRequest, _writer: BinaryWriter): void;
511
+ private _resultId;
512
+ /**
513
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
514
+ * @param _value initial values object or instance of GetResultRequest to deeply clone from
515
+ */
516
+ constructor(_value?: RecursivePartial<GetResultRequest.AsObject>);
517
+ get resultId(): string;
518
+ set resultId(value: string);
519
+ /**
520
+ * Serialize message to binary data
521
+ * @param instance message instance
522
+ */
523
+ serializeBinary(): Uint8Array;
524
+ /**
525
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
526
+ */
527
+ toObject(): GetResultRequest.AsObject;
528
+ /**
529
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
530
+ */
531
+ toJSON(): GetResultRequest.AsObject;
532
+ /**
533
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
534
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
535
+ * 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
536
+ */
537
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetResultRequest.AsProtobufJSON;
538
+ }
539
+ export declare module GetResultRequest {
540
+ /**
541
+ * Standard JavaScript object representation for GetResultRequest
542
+ */
543
+ interface AsObject {
544
+ resultId: string;
545
+ }
546
+ /**
547
+ * Protobuf JSON representation for GetResultRequest
548
+ */
549
+ interface AsProtobufJSON {
550
+ resultId: string;
551
+ }
552
+ }
553
+ /**
554
+ * Message implementation for armonik.api.grpc.v1.results.GetResultResponse
555
+ */
556
+ export declare class GetResultResponse implements GrpcMessage {
557
+ static id: string;
558
+ /**
559
+ * Deserialize binary data to message
560
+ * @param instance message instance
561
+ */
562
+ static deserializeBinary(bytes: ByteSource): GetResultResponse;
563
+ /**
564
+ * Check all the properties and set default protobuf values if necessary
565
+ * @param _instance message instance
566
+ */
567
+ static refineValues(_instance: GetResultResponse): void;
568
+ /**
569
+ * Deserializes / reads binary message into message instance using provided binary reader
570
+ * @param _instance message instance
571
+ * @param _reader binary reader instance
572
+ */
573
+ static deserializeBinaryFromReader(_instance: GetResultResponse, _reader: BinaryReader): void;
574
+ /**
575
+ * Serializes a message to binary format using provided binary reader
576
+ * @param _instance message instance
577
+ * @param _writer binary writer instance
578
+ */
579
+ static serializeBinaryToWriter(_instance: GetResultResponse, _writer: BinaryWriter): void;
580
+ private _result?;
581
+ /**
582
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
583
+ * @param _value initial values object or instance of GetResultResponse to deeply clone from
584
+ */
585
+ constructor(_value?: RecursivePartial<GetResultResponse.AsObject>);
586
+ get result(): ResultRaw | undefined;
587
+ set result(value: ResultRaw | undefined);
588
+ /**
589
+ * Serialize message to binary data
590
+ * @param instance message instance
591
+ */
592
+ serializeBinary(): Uint8Array;
593
+ /**
594
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
595
+ */
596
+ toObject(): GetResultResponse.AsObject;
597
+ /**
598
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
599
+ */
600
+ toJSON(): GetResultResponse.AsObject;
601
+ /**
602
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
603
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
604
+ * 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
605
+ */
606
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetResultResponse.AsProtobufJSON;
607
+ }
608
+ export declare module GetResultResponse {
609
+ /**
610
+ * Standard JavaScript object representation for GetResultResponse
611
+ */
612
+ interface AsObject {
613
+ result?: ResultRaw.AsObject;
614
+ }
615
+ /**
616
+ * Protobuf JSON representation for GetResultResponse
617
+ */
618
+ interface AsProtobufJSON {
619
+ result: ResultRaw.AsProtobufJSON | null;
620
+ }
621
+ }
484
622
  /**
485
623
  * Message implementation for armonik.api.grpc.v1.results.GetOwnerTaskIdRequest
486
624
  */
@@ -24,6 +24,14 @@ export declare class ResultsClient {
24
24
  * @returns Observable<GrpcEvent<armonikApiGrpcV1Results005.ListResultsResponse>>
25
25
  */
26
26
  listResults: (requestData: armonikApiGrpcV1Results005.ListResultsRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Results005.ListResultsResponse>>;
27
+ /**
28
+ * Unary call: /armonik.api.grpc.v1.results.Results/GetResult
29
+ *
30
+ * @param requestMessage Request message
31
+ * @param requestMetadata Request metadata
32
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Results005.GetResultResponse>>
33
+ */
34
+ getResult: (requestData: armonikApiGrpcV1Results005.GetResultRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Results005.GetResultResponse>>;
27
35
  /**
28
36
  * Unary call: /armonik.api.grpc.v1.results.Results/GetOwnerTaskId
29
37
  *
@@ -90,6 +98,14 @@ export declare class ResultsClient {
90
98
  * @returns Observable<armonikApiGrpcV1Results005.ListResultsResponse>
91
99
  */
92
100
  listResults(requestData: armonikApiGrpcV1Results005.ListResultsRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Results005.ListResultsResponse>;
101
+ /**
102
+ * Unary call @/armonik.api.grpc.v1.results.Results/GetResult
103
+ *
104
+ * @param requestMessage Request message
105
+ * @param requestMetadata Request metadata
106
+ * @returns Observable<armonikApiGrpcV1Results005.GetResultResponse>
107
+ */
108
+ getResult(requestData: armonikApiGrpcV1Results005.GetResultRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Results005.GetResultResponse>;
93
109
  /**
94
110
  * Unary call @/armonik.api.grpc.v1.results.Results/GetOwnerTaskId
95
111
  *
@@ -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.54.cf4e888",
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",