@aneoconsultingfr/armonik.api.angular 3.16.0-edge.60.a02b90c → 3.16.0-edge.85.8d52f10
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/esm2022/lib/generated/session-status.pb.mjs +4 -3
- package/esm2022/lib/generated/sessions-common.pb.mjs +223 -1
- package/esm2022/lib/generated/sessions-fields.pb.mjs +4 -1
- package/esm2022/lib/generated/sessions-service.pbsc.mjs +31 -1
- package/esm2022/lib/generated/tasks-common.pb.mjs +39 -1
- package/esm2022/lib/generated/tasks-fields.pb.mjs +2 -1
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +297 -2
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/session-status.pb.d.ts +3 -2
- package/lib/generated/sessions-common.pb.d.ts +143 -0
- package/lib/generated/sessions-fields.pb.d.ts +3 -0
- package/lib/generated/sessions-service.pbsc.d.ts +16 -0
- package/lib/generated/tasks-common.pb.d.ts +10 -0
- package/lib/generated/tasks-fields.pb.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export declare enum SessionStatus {
|
|
|
3
3
|
SESSION_STATUS_RUNNING = 1,
|
|
4
4
|
SESSION_STATUS_CANCELLED = 2,
|
|
5
5
|
SESSION_STATUS_PAUSED = 3,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
SESSION_STATUS_CLOSED = 4,
|
|
7
|
+
SESSION_STATUS_PURGED = 5,
|
|
8
|
+
SESSION_STATUS_DELETED = 6
|
|
8
9
|
}
|
|
@@ -42,6 +42,7 @@ export declare class SessionRaw implements GrpcMessage {
|
|
|
42
42
|
private _options?;
|
|
43
43
|
private _createdAt?;
|
|
44
44
|
private _cancelledAt?;
|
|
45
|
+
private _closedAt?;
|
|
45
46
|
private _purgedAt?;
|
|
46
47
|
private _deletedAt?;
|
|
47
48
|
private _duration?;
|
|
@@ -66,6 +67,8 @@ export declare class SessionRaw implements GrpcMessage {
|
|
|
66
67
|
set createdAt(value: googleProtobuf005.Timestamp | undefined);
|
|
67
68
|
get cancelledAt(): googleProtobuf005.Timestamp | undefined;
|
|
68
69
|
set cancelledAt(value: googleProtobuf005.Timestamp | undefined);
|
|
70
|
+
get closedAt(): googleProtobuf005.Timestamp | undefined;
|
|
71
|
+
set closedAt(value: googleProtobuf005.Timestamp | undefined);
|
|
69
72
|
get purgedAt(): googleProtobuf005.Timestamp | undefined;
|
|
70
73
|
set purgedAt(value: googleProtobuf005.Timestamp | undefined);
|
|
71
74
|
get deletedAt(): googleProtobuf005.Timestamp | undefined;
|
|
@@ -105,6 +108,7 @@ export declare module SessionRaw {
|
|
|
105
108
|
options?: armonikApiGrpcV1006.TaskOptions.AsObject;
|
|
106
109
|
createdAt?: googleProtobuf005.Timestamp.AsObject;
|
|
107
110
|
cancelledAt?: googleProtobuf005.Timestamp.AsObject;
|
|
111
|
+
closedAt?: googleProtobuf005.Timestamp.AsObject;
|
|
108
112
|
purgedAt?: googleProtobuf005.Timestamp.AsObject;
|
|
109
113
|
deletedAt?: googleProtobuf005.Timestamp.AsObject;
|
|
110
114
|
duration?: googleProtobuf000.Duration.AsObject;
|
|
@@ -121,6 +125,7 @@ export declare module SessionRaw {
|
|
|
121
125
|
options: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null;
|
|
122
126
|
createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
|
|
123
127
|
cancelledAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
|
|
128
|
+
closedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
|
|
124
129
|
purgedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
|
|
125
130
|
deletedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
|
|
126
131
|
duration: googleProtobuf000.Duration.AsProtobufJSON | null;
|
|
@@ -1068,6 +1073,144 @@ export declare module ResumeSessionResponse {
|
|
|
1068
1073
|
session: SessionRaw.AsProtobufJSON | null;
|
|
1069
1074
|
}
|
|
1070
1075
|
}
|
|
1076
|
+
/**
|
|
1077
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CloseSessionRequest
|
|
1078
|
+
*/
|
|
1079
|
+
export declare class CloseSessionRequest implements GrpcMessage {
|
|
1080
|
+
static id: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Deserialize binary data to message
|
|
1083
|
+
* @param instance message instance
|
|
1084
|
+
*/
|
|
1085
|
+
static deserializeBinary(bytes: ByteSource): CloseSessionRequest;
|
|
1086
|
+
/**
|
|
1087
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1088
|
+
* @param _instance message instance
|
|
1089
|
+
*/
|
|
1090
|
+
static refineValues(_instance: CloseSessionRequest): void;
|
|
1091
|
+
/**
|
|
1092
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1093
|
+
* @param _instance message instance
|
|
1094
|
+
* @param _reader binary reader instance
|
|
1095
|
+
*/
|
|
1096
|
+
static deserializeBinaryFromReader(_instance: CloseSessionRequest, _reader: BinaryReader): void;
|
|
1097
|
+
/**
|
|
1098
|
+
* Serializes a message to binary format using provided binary reader
|
|
1099
|
+
* @param _instance message instance
|
|
1100
|
+
* @param _writer binary writer instance
|
|
1101
|
+
*/
|
|
1102
|
+
static serializeBinaryToWriter(_instance: CloseSessionRequest, _writer: BinaryWriter): void;
|
|
1103
|
+
private _sessionId;
|
|
1104
|
+
/**
|
|
1105
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1106
|
+
* @param _value initial values object or instance of CloseSessionRequest to deeply clone from
|
|
1107
|
+
*/
|
|
1108
|
+
constructor(_value?: RecursivePartial<CloseSessionRequest.AsObject>);
|
|
1109
|
+
get sessionId(): string;
|
|
1110
|
+
set sessionId(value: string);
|
|
1111
|
+
/**
|
|
1112
|
+
* Serialize message to binary data
|
|
1113
|
+
* @param instance message instance
|
|
1114
|
+
*/
|
|
1115
|
+
serializeBinary(): Uint8Array;
|
|
1116
|
+
/**
|
|
1117
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1118
|
+
*/
|
|
1119
|
+
toObject(): CloseSessionRequest.AsObject;
|
|
1120
|
+
/**
|
|
1121
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1122
|
+
*/
|
|
1123
|
+
toJSON(): CloseSessionRequest.AsObject;
|
|
1124
|
+
/**
|
|
1125
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1126
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1127
|
+
* 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
|
|
1128
|
+
*/
|
|
1129
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CloseSessionRequest.AsProtobufJSON;
|
|
1130
|
+
}
|
|
1131
|
+
export declare module CloseSessionRequest {
|
|
1132
|
+
/**
|
|
1133
|
+
* Standard JavaScript object representation for CloseSessionRequest
|
|
1134
|
+
*/
|
|
1135
|
+
interface AsObject {
|
|
1136
|
+
sessionId: string;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* Protobuf JSON representation for CloseSessionRequest
|
|
1140
|
+
*/
|
|
1141
|
+
interface AsProtobufJSON {
|
|
1142
|
+
sessionId: string;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CloseSessionResponse
|
|
1147
|
+
*/
|
|
1148
|
+
export declare class CloseSessionResponse implements GrpcMessage {
|
|
1149
|
+
static id: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Deserialize binary data to message
|
|
1152
|
+
* @param instance message instance
|
|
1153
|
+
*/
|
|
1154
|
+
static deserializeBinary(bytes: ByteSource): CloseSessionResponse;
|
|
1155
|
+
/**
|
|
1156
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1157
|
+
* @param _instance message instance
|
|
1158
|
+
*/
|
|
1159
|
+
static refineValues(_instance: CloseSessionResponse): void;
|
|
1160
|
+
/**
|
|
1161
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1162
|
+
* @param _instance message instance
|
|
1163
|
+
* @param _reader binary reader instance
|
|
1164
|
+
*/
|
|
1165
|
+
static deserializeBinaryFromReader(_instance: CloseSessionResponse, _reader: BinaryReader): void;
|
|
1166
|
+
/**
|
|
1167
|
+
* Serializes a message to binary format using provided binary reader
|
|
1168
|
+
* @param _instance message instance
|
|
1169
|
+
* @param _writer binary writer instance
|
|
1170
|
+
*/
|
|
1171
|
+
static serializeBinaryToWriter(_instance: CloseSessionResponse, _writer: BinaryWriter): void;
|
|
1172
|
+
private _session?;
|
|
1173
|
+
/**
|
|
1174
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1175
|
+
* @param _value initial values object or instance of CloseSessionResponse to deeply clone from
|
|
1176
|
+
*/
|
|
1177
|
+
constructor(_value?: RecursivePartial<CloseSessionResponse.AsObject>);
|
|
1178
|
+
get session(): SessionRaw | undefined;
|
|
1179
|
+
set session(value: SessionRaw | undefined);
|
|
1180
|
+
/**
|
|
1181
|
+
* Serialize message to binary data
|
|
1182
|
+
* @param instance message instance
|
|
1183
|
+
*/
|
|
1184
|
+
serializeBinary(): Uint8Array;
|
|
1185
|
+
/**
|
|
1186
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1187
|
+
*/
|
|
1188
|
+
toObject(): CloseSessionResponse.AsObject;
|
|
1189
|
+
/**
|
|
1190
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1191
|
+
*/
|
|
1192
|
+
toJSON(): CloseSessionResponse.AsObject;
|
|
1193
|
+
/**
|
|
1194
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1195
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1196
|
+
* 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
|
|
1197
|
+
*/
|
|
1198
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CloseSessionResponse.AsProtobufJSON;
|
|
1199
|
+
}
|
|
1200
|
+
export declare module CloseSessionResponse {
|
|
1201
|
+
/**
|
|
1202
|
+
* Standard JavaScript object representation for CloseSessionResponse
|
|
1203
|
+
*/
|
|
1204
|
+
interface AsObject {
|
|
1205
|
+
session?: SessionRaw.AsObject;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Protobuf JSON representation for CloseSessionResponse
|
|
1209
|
+
*/
|
|
1210
|
+
interface AsProtobufJSON {
|
|
1211
|
+
session: SessionRaw.AsProtobufJSON | null;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1071
1214
|
/**
|
|
1072
1215
|
* Message implementation for armonik.api.grpc.v1.sessions.PurgeSessionRequest
|
|
1073
1216
|
*/
|
|
@@ -8,6 +8,9 @@ export declare enum SessionRawEnumField {
|
|
|
8
8
|
SESSION_RAW_ENUM_FIELD_OPTIONS = 4,
|
|
9
9
|
SESSION_RAW_ENUM_FIELD_CREATED_AT = 5,
|
|
10
10
|
SESSION_RAW_ENUM_FIELD_CANCELLED_AT = 6,
|
|
11
|
+
SESSION_RAW_ENUM_FIELD_CLOSED_AT = 8,
|
|
12
|
+
SESSION_RAW_ENUM_FIELD_PURGED_AT = 9,
|
|
13
|
+
SESSION_RAW_ENUM_FIELD_DELETED_AT = 10,
|
|
11
14
|
SESSION_RAW_ENUM_FIELD_DURATION = 7
|
|
12
15
|
}
|
|
13
16
|
export declare enum TaskOptionEnumField {
|
|
@@ -63,6 +63,14 @@ export declare class SessionsClient {
|
|
|
63
63
|
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.ResumeSessionResponse>>
|
|
64
64
|
*/
|
|
65
65
|
resumeSession: (requestData: armonikApiGrpcV1Sessions007.ResumeSessionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Sessions007.ResumeSessionResponse>>;
|
|
66
|
+
/**
|
|
67
|
+
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/CloseSession
|
|
68
|
+
*
|
|
69
|
+
* @param requestMessage Request message
|
|
70
|
+
* @param requestMetadata Request metadata
|
|
71
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CloseSessionResponse>>
|
|
72
|
+
*/
|
|
73
|
+
closeSession: (requestData: armonikApiGrpcV1Sessions007.CloseSessionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CloseSessionResponse>>;
|
|
66
74
|
/**
|
|
67
75
|
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/PurgeSession
|
|
68
76
|
*
|
|
@@ -137,6 +145,14 @@ export declare class SessionsClient {
|
|
|
137
145
|
* @returns Observable<armonikApiGrpcV1Sessions007.ResumeSessionResponse>
|
|
138
146
|
*/
|
|
139
147
|
resumeSession(requestData: armonikApiGrpcV1Sessions007.ResumeSessionRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Sessions007.ResumeSessionResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/CloseSession
|
|
150
|
+
*
|
|
151
|
+
* @param requestMessage Request message
|
|
152
|
+
* @param requestMetadata Request metadata
|
|
153
|
+
* @returns Observable<armonikApiGrpcV1Sessions007.CloseSessionResponse>
|
|
154
|
+
*/
|
|
155
|
+
closeSession(requestData: armonikApiGrpcV1Sessions007.CloseSessionRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Sessions007.CloseSessionResponse>;
|
|
140
156
|
/**
|
|
141
157
|
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/PurgeSession
|
|
142
158
|
*
|
|
@@ -49,6 +49,7 @@ export declare class TaskDetailed implements GrpcMessage {
|
|
|
49
49
|
private _submittedAt?;
|
|
50
50
|
private _receivedAt?;
|
|
51
51
|
private _acquiredAt?;
|
|
52
|
+
private _fetchedAt?;
|
|
52
53
|
private _startedAt?;
|
|
53
54
|
private _processedAt?;
|
|
54
55
|
private _endedAt?;
|
|
@@ -93,6 +94,8 @@ export declare class TaskDetailed implements GrpcMessage {
|
|
|
93
94
|
set receivedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
94
95
|
get acquiredAt(): googleProtobuf004.Timestamp | undefined;
|
|
95
96
|
set acquiredAt(value: googleProtobuf004.Timestamp | undefined);
|
|
97
|
+
get fetchedAt(): googleProtobuf004.Timestamp | undefined;
|
|
98
|
+
set fetchedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
96
99
|
get startedAt(): googleProtobuf004.Timestamp | undefined;
|
|
97
100
|
set startedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
98
101
|
get processedAt(): googleProtobuf004.Timestamp | undefined;
|
|
@@ -151,6 +154,7 @@ export declare module TaskDetailed {
|
|
|
151
154
|
submittedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
152
155
|
receivedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
153
156
|
acquiredAt?: googleProtobuf004.Timestamp.AsObject;
|
|
157
|
+
fetchedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
154
158
|
startedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
155
159
|
processedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
156
160
|
endedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
@@ -180,6 +184,7 @@ export declare module TaskDetailed {
|
|
|
180
184
|
submittedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
181
185
|
receivedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
182
186
|
acquiredAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
187
|
+
fetchedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
183
188
|
startedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
184
189
|
processedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
185
190
|
endedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
@@ -307,6 +312,7 @@ export declare class TaskSummary implements GrpcMessage {
|
|
|
307
312
|
private _submittedAt?;
|
|
308
313
|
private _receivedAt?;
|
|
309
314
|
private _acquiredAt?;
|
|
315
|
+
private _fetchedAt?;
|
|
310
316
|
private _startedAt?;
|
|
311
317
|
private _processedAt?;
|
|
312
318
|
private _endedAt?;
|
|
@@ -351,6 +357,8 @@ export declare class TaskSummary implements GrpcMessage {
|
|
|
351
357
|
set receivedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
352
358
|
get acquiredAt(): googleProtobuf004.Timestamp | undefined;
|
|
353
359
|
set acquiredAt(value: googleProtobuf004.Timestamp | undefined);
|
|
360
|
+
get fetchedAt(): googleProtobuf004.Timestamp | undefined;
|
|
361
|
+
set fetchedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
354
362
|
get startedAt(): googleProtobuf004.Timestamp | undefined;
|
|
355
363
|
set startedAt(value: googleProtobuf004.Timestamp | undefined);
|
|
356
364
|
get processedAt(): googleProtobuf004.Timestamp | undefined;
|
|
@@ -409,6 +417,7 @@ export declare module TaskSummary {
|
|
|
409
417
|
submittedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
410
418
|
receivedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
411
419
|
acquiredAt?: googleProtobuf004.Timestamp.AsObject;
|
|
420
|
+
fetchedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
412
421
|
startedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
413
422
|
processedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
414
423
|
endedAt?: googleProtobuf004.Timestamp.AsObject;
|
|
@@ -438,6 +447,7 @@ export declare module TaskSummary {
|
|
|
438
447
|
submittedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
439
448
|
receivedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
440
449
|
acquiredAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
450
|
+
fetchedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
441
451
|
startedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
442
452
|
processedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
443
453
|
endedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null;
|
|
@@ -19,7 +19,8 @@ export declare enum TaskSummaryEnumField {
|
|
|
19
19
|
TASK_SUMMARY_ENUM_FIELD_RECEIVED_AT = 14,
|
|
20
20
|
TASK_SUMMARY_ENUM_FIELD_ACQUIRED_AT = 15,
|
|
21
21
|
TASK_SUMMARY_ENUM_FIELD_PROCESSED_AT = 17,
|
|
22
|
-
TASK_SUMMARY_ENUM_FIELD_ERROR = 8
|
|
22
|
+
TASK_SUMMARY_ENUM_FIELD_ERROR = 8,
|
|
23
|
+
TASK_SUMMARY_ENUM_FIELD_FETCHED_AT = 19
|
|
23
24
|
}
|
|
24
25
|
export declare enum TaskOptionEnumField {
|
|
25
26
|
TASK_OPTION_ENUM_FIELD_UNSPECIFIED = 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aneoconsultingfr/armonik.api.angular",
|
|
3
|
-
"version": "3.16.0-edge.
|
|
3
|
+
"version": "3.16.0-edge.85.8d52f10",
|
|
4
4
|
"description": "gRPC API to interact with ArmoniK built for Angular",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/aneoconsulting/ArmoniK.Api#readme",
|