@aneoconsultingfr/armonik.api.angular 3.11.0-edge.97.da9b639 → 3.11.0
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.
- package/README.md +1 -1
- package/esm2022/lib/generated/events-common.pb.mjs +19 -3
- package/esm2022/lib/generated/sessions-common.pb.mjs +226 -1
- package/esm2022/lib/generated/sessions-service.pbsc.mjs +31 -1
- package/esm2022/lib/generated/tasks-common.pb.mjs +38 -36
- package/esm2022/lib/generated/tasks-service.pbsc.mjs +10 -10
- package/esm2022/lib/index.mjs +2 -2
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +320 -47
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/events-common.pb.d.ts +5 -0
- package/lib/generated/sessions-common.pb.d.ts +143 -0
- package/lib/generated/sessions-service.pbsc.d.ts +16 -0
- package/lib/generated/tasks-common.pb.d.ts +41 -41
- package/lib/generated/tasks-service.pbsc.d.ts +6 -6
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -435,6 +435,7 @@ export declare module EventSubscriptionResponse {
|
|
|
435
435
|
private _expectedOutputKeys;
|
|
436
436
|
private _dataDependencies;
|
|
437
437
|
private _retryOfIds;
|
|
438
|
+
private _parentTaskIds;
|
|
438
439
|
/**
|
|
439
440
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
440
441
|
* @param _value initial values object or instance of NewTask to deeply clone from
|
|
@@ -454,6 +455,8 @@ export declare module EventSubscriptionResponse {
|
|
|
454
455
|
set dataDependencies(value: string[]);
|
|
455
456
|
get retryOfIds(): string[];
|
|
456
457
|
set retryOfIds(value: string[]);
|
|
458
|
+
get parentTaskIds(): string[];
|
|
459
|
+
set parentTaskIds(value: string[]);
|
|
457
460
|
/**
|
|
458
461
|
* Serialize message to binary data
|
|
459
462
|
* @param instance message instance
|
|
@@ -486,6 +489,7 @@ export declare module EventSubscriptionResponse {
|
|
|
486
489
|
expectedOutputKeys: string[];
|
|
487
490
|
dataDependencies: string[];
|
|
488
491
|
retryOfIds: string[];
|
|
492
|
+
parentTaskIds: string[];
|
|
489
493
|
}
|
|
490
494
|
/**
|
|
491
495
|
* Protobuf JSON representation for NewTask
|
|
@@ -498,6 +502,7 @@ export declare module EventSubscriptionResponse {
|
|
|
498
502
|
expectedOutputKeys: string[];
|
|
499
503
|
dataDependencies: string[];
|
|
500
504
|
retryOfIds: string[];
|
|
505
|
+
parentTaskIds: string[];
|
|
501
506
|
}
|
|
502
507
|
}
|
|
503
508
|
/**
|
|
@@ -629,3 +629,146 @@ export declare module CancelSessionResponse {
|
|
|
629
629
|
session: SessionRaw.AsProtobufJSON | null;
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
+
/**
|
|
633
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CreateSessionRequest
|
|
634
|
+
*/
|
|
635
|
+
export declare class CreateSessionRequest implements GrpcMessage {
|
|
636
|
+
static id: string;
|
|
637
|
+
/**
|
|
638
|
+
* Deserialize binary data to message
|
|
639
|
+
* @param instance message instance
|
|
640
|
+
*/
|
|
641
|
+
static deserializeBinary(bytes: ByteSource): CreateSessionRequest;
|
|
642
|
+
/**
|
|
643
|
+
* Check all the properties and set default protobuf values if necessary
|
|
644
|
+
* @param _instance message instance
|
|
645
|
+
*/
|
|
646
|
+
static refineValues(_instance: CreateSessionRequest): void;
|
|
647
|
+
/**
|
|
648
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
649
|
+
* @param _instance message instance
|
|
650
|
+
* @param _reader binary reader instance
|
|
651
|
+
*/
|
|
652
|
+
static deserializeBinaryFromReader(_instance: CreateSessionRequest, _reader: BinaryReader): void;
|
|
653
|
+
/**
|
|
654
|
+
* Serializes a message to binary format using provided binary reader
|
|
655
|
+
* @param _instance message instance
|
|
656
|
+
* @param _writer binary writer instance
|
|
657
|
+
*/
|
|
658
|
+
static serializeBinaryToWriter(_instance: CreateSessionRequest, _writer: BinaryWriter): void;
|
|
659
|
+
private _defaultTaskOption?;
|
|
660
|
+
private _partitionIds;
|
|
661
|
+
/**
|
|
662
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
663
|
+
* @param _value initial values object or instance of CreateSessionRequest to deeply clone from
|
|
664
|
+
*/
|
|
665
|
+
constructor(_value?: RecursivePartial<CreateSessionRequest.AsObject>);
|
|
666
|
+
get defaultTaskOption(): armonikApiGrpcV1006.TaskOptions | undefined;
|
|
667
|
+
set defaultTaskOption(value: armonikApiGrpcV1006.TaskOptions | undefined);
|
|
668
|
+
get partitionIds(): string[];
|
|
669
|
+
set partitionIds(value: string[]);
|
|
670
|
+
/**
|
|
671
|
+
* Serialize message to binary data
|
|
672
|
+
* @param instance message instance
|
|
673
|
+
*/
|
|
674
|
+
serializeBinary(): Uint8Array;
|
|
675
|
+
/**
|
|
676
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
677
|
+
*/
|
|
678
|
+
toObject(): CreateSessionRequest.AsObject;
|
|
679
|
+
/**
|
|
680
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
681
|
+
*/
|
|
682
|
+
toJSON(): CreateSessionRequest.AsObject;
|
|
683
|
+
/**
|
|
684
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
685
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
686
|
+
* 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
|
|
687
|
+
*/
|
|
688
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionRequest.AsProtobufJSON;
|
|
689
|
+
}
|
|
690
|
+
export declare module CreateSessionRequest {
|
|
691
|
+
/**
|
|
692
|
+
* Standard JavaScript object representation for CreateSessionRequest
|
|
693
|
+
*/
|
|
694
|
+
interface AsObject {
|
|
695
|
+
defaultTaskOption?: armonikApiGrpcV1006.TaskOptions.AsObject;
|
|
696
|
+
partitionIds: string[];
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Protobuf JSON representation for CreateSessionRequest
|
|
700
|
+
*/
|
|
701
|
+
interface AsProtobufJSON {
|
|
702
|
+
defaultTaskOption: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null;
|
|
703
|
+
partitionIds: string[];
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CreateSessionReply
|
|
708
|
+
*/
|
|
709
|
+
export declare class CreateSessionReply implements GrpcMessage {
|
|
710
|
+
static id: string;
|
|
711
|
+
/**
|
|
712
|
+
* Deserialize binary data to message
|
|
713
|
+
* @param instance message instance
|
|
714
|
+
*/
|
|
715
|
+
static deserializeBinary(bytes: ByteSource): CreateSessionReply;
|
|
716
|
+
/**
|
|
717
|
+
* Check all the properties and set default protobuf values if necessary
|
|
718
|
+
* @param _instance message instance
|
|
719
|
+
*/
|
|
720
|
+
static refineValues(_instance: CreateSessionReply): void;
|
|
721
|
+
/**
|
|
722
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
723
|
+
* @param _instance message instance
|
|
724
|
+
* @param _reader binary reader instance
|
|
725
|
+
*/
|
|
726
|
+
static deserializeBinaryFromReader(_instance: CreateSessionReply, _reader: BinaryReader): void;
|
|
727
|
+
/**
|
|
728
|
+
* Serializes a message to binary format using provided binary reader
|
|
729
|
+
* @param _instance message instance
|
|
730
|
+
* @param _writer binary writer instance
|
|
731
|
+
*/
|
|
732
|
+
static serializeBinaryToWriter(_instance: CreateSessionReply, _writer: BinaryWriter): void;
|
|
733
|
+
private _sessionId;
|
|
734
|
+
/**
|
|
735
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
736
|
+
* @param _value initial values object or instance of CreateSessionReply to deeply clone from
|
|
737
|
+
*/
|
|
738
|
+
constructor(_value?: RecursivePartial<CreateSessionReply.AsObject>);
|
|
739
|
+
get sessionId(): string;
|
|
740
|
+
set sessionId(value: string);
|
|
741
|
+
/**
|
|
742
|
+
* Serialize message to binary data
|
|
743
|
+
* @param instance message instance
|
|
744
|
+
*/
|
|
745
|
+
serializeBinary(): Uint8Array;
|
|
746
|
+
/**
|
|
747
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
748
|
+
*/
|
|
749
|
+
toObject(): CreateSessionReply.AsObject;
|
|
750
|
+
/**
|
|
751
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
752
|
+
*/
|
|
753
|
+
toJSON(): CreateSessionReply.AsObject;
|
|
754
|
+
/**
|
|
755
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
756
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
757
|
+
* 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
|
|
758
|
+
*/
|
|
759
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionReply.AsProtobufJSON;
|
|
760
|
+
}
|
|
761
|
+
export declare module CreateSessionReply {
|
|
762
|
+
/**
|
|
763
|
+
* Standard JavaScript object representation for CreateSessionReply
|
|
764
|
+
*/
|
|
765
|
+
interface AsObject {
|
|
766
|
+
sessionId: string;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Protobuf JSON representation for CreateSessionReply
|
|
770
|
+
*/
|
|
771
|
+
interface AsProtobufJSON {
|
|
772
|
+
sessionId: string;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
@@ -39,6 +39,14 @@ export declare class SessionsClient {
|
|
|
39
39
|
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CancelSessionResponse>>
|
|
40
40
|
*/
|
|
41
41
|
cancelSession: (requestData: armonikApiGrpcV1Sessions007.CancelSessionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CancelSessionResponse>>;
|
|
42
|
+
/**
|
|
43
|
+
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/CreateSession
|
|
44
|
+
*
|
|
45
|
+
* @param requestMessage Request message
|
|
46
|
+
* @param requestMetadata Request metadata
|
|
47
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CreateSessionReply>>
|
|
48
|
+
*/
|
|
49
|
+
createSession: (requestData: armonikApiGrpcV1Sessions007.CreateSessionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CreateSessionReply>>;
|
|
42
50
|
};
|
|
43
51
|
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
44
52
|
/**
|
|
@@ -65,6 +73,14 @@ export declare class SessionsClient {
|
|
|
65
73
|
* @returns Observable<armonikApiGrpcV1Sessions007.CancelSessionResponse>
|
|
66
74
|
*/
|
|
67
75
|
cancelSession(requestData: armonikApiGrpcV1Sessions007.CancelSessionRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Sessions007.CancelSessionResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/CreateSession
|
|
78
|
+
*
|
|
79
|
+
* @param requestMessage Request message
|
|
80
|
+
* @param requestMetadata Request metadata
|
|
81
|
+
* @returns Observable<armonikApiGrpcV1Sessions007.CreateSessionReply>
|
|
82
|
+
*/
|
|
83
|
+
createSession(requestData: armonikApiGrpcV1Sessions007.CreateSessionRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Sessions007.CreateSessionReply>;
|
|
68
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<SessionsClient, [{ optional: true; }, null, null]>;
|
|
69
85
|
static ɵprov: i0.ɵɵInjectableDeclaration<SessionsClient>;
|
|
70
86
|
}
|
|
@@ -8,32 +8,32 @@ import * as armonikApiGrpcV1005 from './objects.pb';
|
|
|
8
8
|
import * as armonikApiGrpcV1Sort_direction006 from './sort-direction.pb';
|
|
9
9
|
import * as armonikApiGrpcV1Tasks007 from './tasks-filters.pb';
|
|
10
10
|
/**
|
|
11
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
11
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class TaskDetailed implements GrpcMessage {
|
|
14
14
|
static id: string;
|
|
15
15
|
/**
|
|
16
16
|
* Deserialize binary data to message
|
|
17
17
|
* @param instance message instance
|
|
18
18
|
*/
|
|
19
|
-
static deserializeBinary(bytes: ByteSource):
|
|
19
|
+
static deserializeBinary(bytes: ByteSource): TaskDetailed;
|
|
20
20
|
/**
|
|
21
21
|
* Check all the properties and set default protobuf values if necessary
|
|
22
22
|
* @param _instance message instance
|
|
23
23
|
*/
|
|
24
|
-
static refineValues(_instance:
|
|
24
|
+
static refineValues(_instance: TaskDetailed): void;
|
|
25
25
|
/**
|
|
26
26
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
27
27
|
* @param _instance message instance
|
|
28
28
|
* @param _reader binary reader instance
|
|
29
29
|
*/
|
|
30
|
-
static deserializeBinaryFromReader(_instance:
|
|
30
|
+
static deserializeBinaryFromReader(_instance: TaskDetailed, _reader: BinaryReader): void;
|
|
31
31
|
/**
|
|
32
32
|
* Serializes a message to binary format using provided binary reader
|
|
33
33
|
* @param _instance message instance
|
|
34
34
|
* @param _writer binary writer instance
|
|
35
35
|
*/
|
|
36
|
-
static serializeBinaryToWriter(_instance:
|
|
36
|
+
static serializeBinaryToWriter(_instance: TaskDetailed, _writer: BinaryWriter): void;
|
|
37
37
|
private _id;
|
|
38
38
|
private _sessionId;
|
|
39
39
|
private _ownerPodId;
|
|
@@ -58,9 +58,9 @@ export declare class TaskRaw implements GrpcMessage {
|
|
|
58
58
|
private _acquiredAt?;
|
|
59
59
|
/**
|
|
60
60
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
61
|
-
* @param _value initial values object or instance of
|
|
61
|
+
* @param _value initial values object or instance of TaskDetailed to deeply clone from
|
|
62
62
|
*/
|
|
63
|
-
constructor(_value?: RecursivePartial<
|
|
63
|
+
constructor(_value?: RecursivePartial<TaskDetailed.AsObject>);
|
|
64
64
|
get id(): string;
|
|
65
65
|
set id(value: string);
|
|
66
66
|
get sessionId(): string;
|
|
@@ -97,8 +97,8 @@ export declare class TaskRaw implements GrpcMessage {
|
|
|
97
97
|
set processingToEndDuration(value: googleProtobuf000.Duration | undefined);
|
|
98
98
|
get podTtl(): googleProtobuf004.Timestamp | undefined;
|
|
99
99
|
set podTtl(value: googleProtobuf004.Timestamp | undefined);
|
|
100
|
-
get output():
|
|
101
|
-
set output(value:
|
|
100
|
+
get output(): TaskDetailed.Output | undefined;
|
|
101
|
+
set output(value: TaskDetailed.Output | undefined);
|
|
102
102
|
get podHostname(): string;
|
|
103
103
|
set podHostname(value: string);
|
|
104
104
|
get receivedAt(): googleProtobuf004.Timestamp | undefined;
|
|
@@ -113,21 +113,21 @@ export declare class TaskRaw implements GrpcMessage {
|
|
|
113
113
|
/**
|
|
114
114
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
115
115
|
*/
|
|
116
|
-
toObject():
|
|
116
|
+
toObject(): TaskDetailed.AsObject;
|
|
117
117
|
/**
|
|
118
118
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
119
119
|
*/
|
|
120
|
-
toJSON():
|
|
120
|
+
toJSON(): TaskDetailed.AsObject;
|
|
121
121
|
/**
|
|
122
122
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
123
123
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
124
124
|
* 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
|
|
125
125
|
*/
|
|
126
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
126
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TaskDetailed.AsProtobufJSON;
|
|
127
127
|
}
|
|
128
|
-
export declare module
|
|
128
|
+
export declare module TaskDetailed {
|
|
129
129
|
/**
|
|
130
|
-
* Standard JavaScript object representation for
|
|
130
|
+
* Standard JavaScript object representation for TaskDetailed
|
|
131
131
|
*/
|
|
132
132
|
interface AsObject {
|
|
133
133
|
id: string;
|
|
@@ -148,13 +148,13 @@ export declare module TaskRaw {
|
|
|
148
148
|
creationToEndDuration?: googleProtobuf000.Duration.AsObject;
|
|
149
149
|
processingToEndDuration?: googleProtobuf000.Duration.AsObject;
|
|
150
150
|
podTtl?: googleProtobuf004.Timestamp.AsObject;
|
|
151
|
-
output?:
|
|
151
|
+
output?: TaskDetailed.Output.AsObject;
|
|
152
152
|
podHostname: string;
|
|
153
153
|
receivedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
154
154
|
acquiredAt?: googleProtobuf004.Timestamp.AsObject;
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
* Protobuf JSON representation for
|
|
157
|
+
* Protobuf JSON representation for TaskDetailed
|
|
158
158
|
*/
|
|
159
159
|
interface AsProtobufJSON {
|
|
160
160
|
id: string;
|
|
@@ -175,13 +175,13 @@ export declare module TaskRaw {
|
|
|
175
175
|
creationToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null;
|
|
176
176
|
processingToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null;
|
|
177
177
|
podTtl: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
178
|
-
output:
|
|
178
|
+
output: TaskDetailed.Output.AsProtobufJSON | null;
|
|
179
179
|
podHostname: string;
|
|
180
180
|
receivedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
181
181
|
acquiredAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
184
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed.Output
|
|
185
185
|
*/
|
|
186
186
|
class Output implements GrpcMessage {
|
|
187
187
|
static id: string;
|
|
@@ -677,43 +677,43 @@ export declare module ListTasksResponse {
|
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
680
|
+
* Message implementation for armonik.api.grpc.v1.tasks.ListTasksDetailedResponse
|
|
681
681
|
*/
|
|
682
|
-
export declare class
|
|
682
|
+
export declare class ListTasksDetailedResponse implements GrpcMessage {
|
|
683
683
|
static id: string;
|
|
684
684
|
/**
|
|
685
685
|
* Deserialize binary data to message
|
|
686
686
|
* @param instance message instance
|
|
687
687
|
*/
|
|
688
|
-
static deserializeBinary(bytes: ByteSource):
|
|
688
|
+
static deserializeBinary(bytes: ByteSource): ListTasksDetailedResponse;
|
|
689
689
|
/**
|
|
690
690
|
* Check all the properties and set default protobuf values if necessary
|
|
691
691
|
* @param _instance message instance
|
|
692
692
|
*/
|
|
693
|
-
static refineValues(_instance:
|
|
693
|
+
static refineValues(_instance: ListTasksDetailedResponse): void;
|
|
694
694
|
/**
|
|
695
695
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
696
696
|
* @param _instance message instance
|
|
697
697
|
* @param _reader binary reader instance
|
|
698
698
|
*/
|
|
699
|
-
static deserializeBinaryFromReader(_instance:
|
|
699
|
+
static deserializeBinaryFromReader(_instance: ListTasksDetailedResponse, _reader: BinaryReader): void;
|
|
700
700
|
/**
|
|
701
701
|
* Serializes a message to binary format using provided binary reader
|
|
702
702
|
* @param _instance message instance
|
|
703
703
|
* @param _writer binary writer instance
|
|
704
704
|
*/
|
|
705
|
-
static serializeBinaryToWriter(_instance:
|
|
705
|
+
static serializeBinaryToWriter(_instance: ListTasksDetailedResponse, _writer: BinaryWriter): void;
|
|
706
706
|
private _tasks?;
|
|
707
707
|
private _page;
|
|
708
708
|
private _pageSize;
|
|
709
709
|
private _total;
|
|
710
710
|
/**
|
|
711
711
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
712
|
-
* @param _value initial values object or instance of
|
|
712
|
+
* @param _value initial values object or instance of ListTasksDetailedResponse to deeply clone from
|
|
713
713
|
*/
|
|
714
|
-
constructor(_value?: RecursivePartial<
|
|
715
|
-
get tasks():
|
|
716
|
-
set tasks(value:
|
|
714
|
+
constructor(_value?: RecursivePartial<ListTasksDetailedResponse.AsObject>);
|
|
715
|
+
get tasks(): TaskDetailed[] | undefined;
|
|
716
|
+
set tasks(value: TaskDetailed[] | undefined);
|
|
717
717
|
get page(): number;
|
|
718
718
|
set page(value: number);
|
|
719
719
|
get pageSize(): number;
|
|
@@ -728,33 +728,33 @@ export declare class ListTasksRawResponse implements GrpcMessage {
|
|
|
728
728
|
/**
|
|
729
729
|
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
730
730
|
*/
|
|
731
|
-
toObject():
|
|
731
|
+
toObject(): ListTasksDetailedResponse.AsObject;
|
|
732
732
|
/**
|
|
733
733
|
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
734
734
|
*/
|
|
735
|
-
toJSON():
|
|
735
|
+
toJSON(): ListTasksDetailedResponse.AsObject;
|
|
736
736
|
/**
|
|
737
737
|
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
738
738
|
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
739
739
|
* 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
|
|
740
740
|
*/
|
|
741
|
-
toProtobufJSON(options?: ToProtobufJSONOptions):
|
|
741
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksDetailedResponse.AsProtobufJSON;
|
|
742
742
|
}
|
|
743
|
-
export declare module
|
|
743
|
+
export declare module ListTasksDetailedResponse {
|
|
744
744
|
/**
|
|
745
|
-
* Standard JavaScript object representation for
|
|
745
|
+
* Standard JavaScript object representation for ListTasksDetailedResponse
|
|
746
746
|
*/
|
|
747
747
|
interface AsObject {
|
|
748
|
-
tasks?:
|
|
748
|
+
tasks?: TaskDetailed.AsObject[];
|
|
749
749
|
page: number;
|
|
750
750
|
pageSize: number;
|
|
751
751
|
total: number;
|
|
752
752
|
}
|
|
753
753
|
/**
|
|
754
|
-
* Protobuf JSON representation for
|
|
754
|
+
* Protobuf JSON representation for ListTasksDetailedResponse
|
|
755
755
|
*/
|
|
756
756
|
interface AsProtobufJSON {
|
|
757
|
-
tasks:
|
|
757
|
+
tasks: TaskDetailed.AsProtobufJSON[] | null;
|
|
758
758
|
page: number;
|
|
759
759
|
pageSize: number;
|
|
760
760
|
total: number;
|
|
@@ -862,8 +862,8 @@ export declare class GetTaskResponse implements GrpcMessage {
|
|
|
862
862
|
* @param _value initial values object or instance of GetTaskResponse to deeply clone from
|
|
863
863
|
*/
|
|
864
864
|
constructor(_value?: RecursivePartial<GetTaskResponse.AsObject>);
|
|
865
|
-
get task():
|
|
866
|
-
set task(value:
|
|
865
|
+
get task(): TaskDetailed | undefined;
|
|
866
|
+
set task(value: TaskDetailed | undefined);
|
|
867
867
|
/**
|
|
868
868
|
* Serialize message to binary data
|
|
869
869
|
* @param instance message instance
|
|
@@ -889,13 +889,13 @@ export declare module GetTaskResponse {
|
|
|
889
889
|
* Standard JavaScript object representation for GetTaskResponse
|
|
890
890
|
*/
|
|
891
891
|
interface AsObject {
|
|
892
|
-
task?:
|
|
892
|
+
task?: TaskDetailed.AsObject;
|
|
893
893
|
}
|
|
894
894
|
/**
|
|
895
895
|
* Protobuf JSON representation for GetTaskResponse
|
|
896
896
|
*/
|
|
897
897
|
interface AsProtobufJSON {
|
|
898
|
-
task:
|
|
898
|
+
task: TaskDetailed.AsProtobufJSON | null;
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
901
|
/**
|
|
@@ -24,13 +24,13 @@ export declare class TasksClient {
|
|
|
24
24
|
*/
|
|
25
25
|
listTasks: (requestData: armonikApiGrpcV1Tasks007.ListTasksRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Tasks007.ListTasksResponse>>;
|
|
26
26
|
/**
|
|
27
|
-
* Unary call: /armonik.api.grpc.v1.tasks.Tasks/
|
|
27
|
+
* Unary call: /armonik.api.grpc.v1.tasks.Tasks/ListTasksDetailed
|
|
28
28
|
*
|
|
29
29
|
* @param requestMessage Request message
|
|
30
30
|
* @param requestMetadata Request metadata
|
|
31
|
-
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks007.
|
|
31
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>>
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
listTasksDetailed: (requestData: armonikApiGrpcV1Tasks007.ListTasksRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>>;
|
|
34
34
|
/**
|
|
35
35
|
* Unary call: /armonik.api.grpc.v1.tasks.Tasks/GetTask
|
|
36
36
|
*
|
|
@@ -82,13 +82,13 @@ export declare class TasksClient {
|
|
|
82
82
|
*/
|
|
83
83
|
listTasks(requestData: armonikApiGrpcV1Tasks007.ListTasksRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Tasks007.ListTasksResponse>;
|
|
84
84
|
/**
|
|
85
|
-
* Unary call @/armonik.api.grpc.v1.tasks.Tasks/
|
|
85
|
+
* Unary call @/armonik.api.grpc.v1.tasks.Tasks/ListTasksDetailed
|
|
86
86
|
*
|
|
87
87
|
* @param requestMessage Request message
|
|
88
88
|
* @param requestMetadata Request metadata
|
|
89
|
-
* @returns Observable<armonikApiGrpcV1Tasks007.
|
|
89
|
+
* @returns Observable<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
listTasksDetailed(requestData: armonikApiGrpcV1Tasks007.ListTasksRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>;
|
|
92
92
|
/**
|
|
93
93
|
* Unary call @/armonik.api.grpc.v1.tasks.Tasks/GetTask
|
|
94
94
|
*
|
package/lib/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { FilterField as SessionFilterField, Filters as SessionFilters, FiltersAn
|
|
|
24
24
|
export { SessionsClient } from "./generated/sessions-service.pbsc";
|
|
25
25
|
export { SortDirection } from "./generated/sort-direction.pb";
|
|
26
26
|
export { TaskStatus } from "./generated/task-status.pb";
|
|
27
|
-
export { CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse,
|
|
27
|
+
export { CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, TaskDetailed, TaskSummary } from "./generated/tasks-common.pb";
|
|
28
28
|
export { TaskField, TaskOptionEnumField, TaskOptionField, TaskOptionGenericField, TaskSummaryEnumField, TaskSummaryField } from "./generated/tasks-fields.pb";
|
|
29
29
|
export { FilterField as TaskFilterField, Filters as TaskFilters, FiltersAnd as TaskFiltersAnd, FilterStatus as TaskFilterStatus } from "./generated/tasks-filters.pb";
|
|
30
30
|
export { TasksClient } from "./generated/tasks-service.pbsc";
|
package/package.json
CHANGED