@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
|
@@ -3284,6 +3284,7 @@ var TaskSummaryEnumField;
|
|
|
3284
3284
|
TaskSummaryEnumField[TaskSummaryEnumField["TASK_SUMMARY_ENUM_FIELD_ACQUIRED_AT"] = 15] = "TASK_SUMMARY_ENUM_FIELD_ACQUIRED_AT";
|
|
3285
3285
|
TaskSummaryEnumField[TaskSummaryEnumField["TASK_SUMMARY_ENUM_FIELD_PROCESSED_AT"] = 17] = "TASK_SUMMARY_ENUM_FIELD_PROCESSED_AT";
|
|
3286
3286
|
TaskSummaryEnumField[TaskSummaryEnumField["TASK_SUMMARY_ENUM_FIELD_ERROR"] = 8] = "TASK_SUMMARY_ENUM_FIELD_ERROR";
|
|
3287
|
+
TaskSummaryEnumField[TaskSummaryEnumField["TASK_SUMMARY_ENUM_FIELD_FETCHED_AT"] = 19] = "TASK_SUMMARY_ENUM_FIELD_FETCHED_AT";
|
|
3287
3288
|
})(TaskSummaryEnumField || (TaskSummaryEnumField = {}));
|
|
3288
3289
|
var TaskOptionEnumField$1;
|
|
3289
3290
|
(function (TaskOptionEnumField) {
|
|
@@ -13483,8 +13484,9 @@ var SessionStatus;
|
|
|
13483
13484
|
SessionStatus[SessionStatus["SESSION_STATUS_RUNNING"] = 1] = "SESSION_STATUS_RUNNING";
|
|
13484
13485
|
SessionStatus[SessionStatus["SESSION_STATUS_CANCELLED"] = 2] = "SESSION_STATUS_CANCELLED";
|
|
13485
13486
|
SessionStatus[SessionStatus["SESSION_STATUS_PAUSED"] = 3] = "SESSION_STATUS_PAUSED";
|
|
13486
|
-
SessionStatus[SessionStatus["
|
|
13487
|
-
SessionStatus[SessionStatus["
|
|
13487
|
+
SessionStatus[SessionStatus["SESSION_STATUS_CLOSED"] = 4] = "SESSION_STATUS_CLOSED";
|
|
13488
|
+
SessionStatus[SessionStatus["SESSION_STATUS_PURGED"] = 5] = "SESSION_STATUS_PURGED";
|
|
13489
|
+
SessionStatus[SessionStatus["SESSION_STATUS_DELETED"] = 6] = "SESSION_STATUS_DELETED";
|
|
13488
13490
|
})(SessionStatus || (SessionStatus = {}));
|
|
13489
13491
|
|
|
13490
13492
|
var SessionRawEnumField;
|
|
@@ -13496,6 +13498,9 @@ var SessionRawEnumField;
|
|
|
13496
13498
|
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_OPTIONS"] = 4] = "SESSION_RAW_ENUM_FIELD_OPTIONS";
|
|
13497
13499
|
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_CREATED_AT"] = 5] = "SESSION_RAW_ENUM_FIELD_CREATED_AT";
|
|
13498
13500
|
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_CANCELLED_AT"] = 6] = "SESSION_RAW_ENUM_FIELD_CANCELLED_AT";
|
|
13501
|
+
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_CLOSED_AT"] = 8] = "SESSION_RAW_ENUM_FIELD_CLOSED_AT";
|
|
13502
|
+
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_PURGED_AT"] = 9] = "SESSION_RAW_ENUM_FIELD_PURGED_AT";
|
|
13503
|
+
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_DELETED_AT"] = 10] = "SESSION_RAW_ENUM_FIELD_DELETED_AT";
|
|
13499
13504
|
SessionRawEnumField[SessionRawEnumField["SESSION_RAW_ENUM_FIELD_DURATION"] = 7] = "SESSION_RAW_ENUM_FIELD_DURATION";
|
|
13500
13505
|
})(SessionRawEnumField || (SessionRawEnumField = {}));
|
|
13501
13506
|
var TaskOptionEnumField;
|
|
@@ -14642,6 +14647,7 @@ class SessionRaw {
|
|
|
14642
14647
|
_instance.options = _instance.options || undefined;
|
|
14643
14648
|
_instance.createdAt = _instance.createdAt || undefined;
|
|
14644
14649
|
_instance.cancelledAt = _instance.cancelledAt || undefined;
|
|
14650
|
+
_instance.closedAt = _instance.closedAt || undefined;
|
|
14645
14651
|
_instance.purgedAt = _instance.purgedAt || undefined;
|
|
14646
14652
|
_instance.deletedAt = _instance.deletedAt || undefined;
|
|
14647
14653
|
_instance.duration = _instance.duration || undefined;
|
|
@@ -14683,6 +14689,10 @@ class SessionRaw {
|
|
|
14683
14689
|
_instance.cancelledAt = new googleProtobuf004.Timestamp();
|
|
14684
14690
|
_reader.readMessage(_instance.cancelledAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
14685
14691
|
break;
|
|
14692
|
+
case 12:
|
|
14693
|
+
_instance.closedAt = new googleProtobuf004.Timestamp();
|
|
14694
|
+
_reader.readMessage(_instance.closedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
14695
|
+
break;
|
|
14686
14696
|
case 10:
|
|
14687
14697
|
_instance.purgedAt = new googleProtobuf004.Timestamp();
|
|
14688
14698
|
_reader.readMessage(_instance.purgedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
@@ -14731,6 +14741,9 @@ class SessionRaw {
|
|
|
14731
14741
|
if (_instance.cancelledAt) {
|
|
14732
14742
|
_writer.writeMessage(6, _instance.cancelledAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
14733
14743
|
}
|
|
14744
|
+
if (_instance.closedAt) {
|
|
14745
|
+
_writer.writeMessage(12, _instance.closedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
14746
|
+
}
|
|
14734
14747
|
if (_instance.purgedAt) {
|
|
14735
14748
|
_writer.writeMessage(10, _instance.purgedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
14736
14749
|
}
|
|
@@ -14761,6 +14774,9 @@ class SessionRaw {
|
|
|
14761
14774
|
this.cancelledAt = _value.cancelledAt
|
|
14762
14775
|
? new googleProtobuf004.Timestamp(_value.cancelledAt)
|
|
14763
14776
|
: undefined;
|
|
14777
|
+
this.closedAt = _value.closedAt
|
|
14778
|
+
? new googleProtobuf004.Timestamp(_value.closedAt)
|
|
14779
|
+
: undefined;
|
|
14764
14780
|
this.purgedAt = _value.purgedAt
|
|
14765
14781
|
? new googleProtobuf004.Timestamp(_value.purgedAt)
|
|
14766
14782
|
: undefined;
|
|
@@ -14820,6 +14836,12 @@ class SessionRaw {
|
|
|
14820
14836
|
set cancelledAt(value) {
|
|
14821
14837
|
this._cancelledAt = value;
|
|
14822
14838
|
}
|
|
14839
|
+
get closedAt() {
|
|
14840
|
+
return this._closedAt;
|
|
14841
|
+
}
|
|
14842
|
+
set closedAt(value) {
|
|
14843
|
+
this._closedAt = value;
|
|
14844
|
+
}
|
|
14823
14845
|
get purgedAt() {
|
|
14824
14846
|
return this._purgedAt;
|
|
14825
14847
|
}
|
|
@@ -14860,6 +14882,7 @@ class SessionRaw {
|
|
|
14860
14882
|
options: this.options ? this.options.toObject() : undefined,
|
|
14861
14883
|
createdAt: this.createdAt ? this.createdAt.toObject() : undefined,
|
|
14862
14884
|
cancelledAt: this.cancelledAt ? this.cancelledAt.toObject() : undefined,
|
|
14885
|
+
closedAt: this.closedAt ? this.closedAt.toObject() : undefined,
|
|
14863
14886
|
purgedAt: this.purgedAt ? this.purgedAt.toObject() : undefined,
|
|
14864
14887
|
deletedAt: this.deletedAt ? this.deletedAt.toObject() : undefined,
|
|
14865
14888
|
duration: this.duration ? this.duration.toObject() : undefined
|
|
@@ -14890,6 +14913,7 @@ class SessionRaw {
|
|
|
14890
14913
|
cancelledAt: this.cancelledAt
|
|
14891
14914
|
? this.cancelledAt.toProtobufJSON(options)
|
|
14892
14915
|
: null,
|
|
14916
|
+
closedAt: this.closedAt ? this.closedAt.toProtobufJSON(options) : null,
|
|
14893
14917
|
purgedAt: this.purgedAt ? this.purgedAt.toProtobufJSON(options) : null,
|
|
14894
14918
|
deletedAt: this.deletedAt ? this.deletedAt.toProtobufJSON(options) : null,
|
|
14895
14919
|
duration: this.duration ? this.duration.toProtobufJSON(options) : null
|
|
@@ -16381,6 +16405,209 @@ class ResumeSessionResponse {
|
|
|
16381
16405
|
};
|
|
16382
16406
|
}
|
|
16383
16407
|
}
|
|
16408
|
+
/**
|
|
16409
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CloseSessionRequest
|
|
16410
|
+
*/
|
|
16411
|
+
class CloseSessionRequest {
|
|
16412
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.CloseSessionRequest'; }
|
|
16413
|
+
/**
|
|
16414
|
+
* Deserialize binary data to message
|
|
16415
|
+
* @param instance message instance
|
|
16416
|
+
*/
|
|
16417
|
+
static deserializeBinary(bytes) {
|
|
16418
|
+
const instance = new CloseSessionRequest();
|
|
16419
|
+
CloseSessionRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
16420
|
+
return instance;
|
|
16421
|
+
}
|
|
16422
|
+
/**
|
|
16423
|
+
* Check all the properties and set default protobuf values if necessary
|
|
16424
|
+
* @param _instance message instance
|
|
16425
|
+
*/
|
|
16426
|
+
static refineValues(_instance) {
|
|
16427
|
+
_instance.sessionId = _instance.sessionId || '';
|
|
16428
|
+
}
|
|
16429
|
+
/**
|
|
16430
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
16431
|
+
* @param _instance message instance
|
|
16432
|
+
* @param _reader binary reader instance
|
|
16433
|
+
*/
|
|
16434
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
16435
|
+
while (_reader.nextField()) {
|
|
16436
|
+
if (_reader.isEndGroup())
|
|
16437
|
+
break;
|
|
16438
|
+
switch (_reader.getFieldNumber()) {
|
|
16439
|
+
case 1:
|
|
16440
|
+
_instance.sessionId = _reader.readString();
|
|
16441
|
+
break;
|
|
16442
|
+
default:
|
|
16443
|
+
_reader.skipField();
|
|
16444
|
+
}
|
|
16445
|
+
}
|
|
16446
|
+
CloseSessionRequest.refineValues(_instance);
|
|
16447
|
+
}
|
|
16448
|
+
/**
|
|
16449
|
+
* Serializes a message to binary format using provided binary reader
|
|
16450
|
+
* @param _instance message instance
|
|
16451
|
+
* @param _writer binary writer instance
|
|
16452
|
+
*/
|
|
16453
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
16454
|
+
if (_instance.sessionId) {
|
|
16455
|
+
_writer.writeString(1, _instance.sessionId);
|
|
16456
|
+
}
|
|
16457
|
+
}
|
|
16458
|
+
/**
|
|
16459
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
16460
|
+
* @param _value initial values object or instance of CloseSessionRequest to deeply clone from
|
|
16461
|
+
*/
|
|
16462
|
+
constructor(_value) {
|
|
16463
|
+
_value = _value || {};
|
|
16464
|
+
this.sessionId = _value.sessionId;
|
|
16465
|
+
CloseSessionRequest.refineValues(this);
|
|
16466
|
+
}
|
|
16467
|
+
get sessionId() {
|
|
16468
|
+
return this._sessionId;
|
|
16469
|
+
}
|
|
16470
|
+
set sessionId(value) {
|
|
16471
|
+
this._sessionId = value;
|
|
16472
|
+
}
|
|
16473
|
+
/**
|
|
16474
|
+
* Serialize message to binary data
|
|
16475
|
+
* @param instance message instance
|
|
16476
|
+
*/
|
|
16477
|
+
serializeBinary() {
|
|
16478
|
+
const writer = new BinaryWriter();
|
|
16479
|
+
CloseSessionRequest.serializeBinaryToWriter(this, writer);
|
|
16480
|
+
return writer.getResultBuffer();
|
|
16481
|
+
}
|
|
16482
|
+
/**
|
|
16483
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
16484
|
+
*/
|
|
16485
|
+
toObject() {
|
|
16486
|
+
return {
|
|
16487
|
+
sessionId: this.sessionId
|
|
16488
|
+
};
|
|
16489
|
+
}
|
|
16490
|
+
/**
|
|
16491
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
16492
|
+
*/
|
|
16493
|
+
toJSON() {
|
|
16494
|
+
return this.toObject();
|
|
16495
|
+
}
|
|
16496
|
+
/**
|
|
16497
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
16498
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
16499
|
+
* 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
|
|
16500
|
+
*/
|
|
16501
|
+
toProtobufJSON(
|
|
16502
|
+
// @ts-ignore
|
|
16503
|
+
options) {
|
|
16504
|
+
return {
|
|
16505
|
+
sessionId: this.sessionId
|
|
16506
|
+
};
|
|
16507
|
+
}
|
|
16508
|
+
}
|
|
16509
|
+
/**
|
|
16510
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CloseSessionResponse
|
|
16511
|
+
*/
|
|
16512
|
+
class CloseSessionResponse {
|
|
16513
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.CloseSessionResponse'; }
|
|
16514
|
+
/**
|
|
16515
|
+
* Deserialize binary data to message
|
|
16516
|
+
* @param instance message instance
|
|
16517
|
+
*/
|
|
16518
|
+
static deserializeBinary(bytes) {
|
|
16519
|
+
const instance = new CloseSessionResponse();
|
|
16520
|
+
CloseSessionResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
16521
|
+
return instance;
|
|
16522
|
+
}
|
|
16523
|
+
/**
|
|
16524
|
+
* Check all the properties and set default protobuf values if necessary
|
|
16525
|
+
* @param _instance message instance
|
|
16526
|
+
*/
|
|
16527
|
+
static refineValues(_instance) {
|
|
16528
|
+
_instance.session = _instance.session || undefined;
|
|
16529
|
+
}
|
|
16530
|
+
/**
|
|
16531
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
16532
|
+
* @param _instance message instance
|
|
16533
|
+
* @param _reader binary reader instance
|
|
16534
|
+
*/
|
|
16535
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
16536
|
+
while (_reader.nextField()) {
|
|
16537
|
+
if (_reader.isEndGroup())
|
|
16538
|
+
break;
|
|
16539
|
+
switch (_reader.getFieldNumber()) {
|
|
16540
|
+
case 1:
|
|
16541
|
+
_instance.session = new SessionRaw();
|
|
16542
|
+
_reader.readMessage(_instance.session, SessionRaw.deserializeBinaryFromReader);
|
|
16543
|
+
break;
|
|
16544
|
+
default:
|
|
16545
|
+
_reader.skipField();
|
|
16546
|
+
}
|
|
16547
|
+
}
|
|
16548
|
+
CloseSessionResponse.refineValues(_instance);
|
|
16549
|
+
}
|
|
16550
|
+
/**
|
|
16551
|
+
* Serializes a message to binary format using provided binary reader
|
|
16552
|
+
* @param _instance message instance
|
|
16553
|
+
* @param _writer binary writer instance
|
|
16554
|
+
*/
|
|
16555
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
16556
|
+
if (_instance.session) {
|
|
16557
|
+
_writer.writeMessage(1, _instance.session, SessionRaw.serializeBinaryToWriter);
|
|
16558
|
+
}
|
|
16559
|
+
}
|
|
16560
|
+
/**
|
|
16561
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
16562
|
+
* @param _value initial values object or instance of CloseSessionResponse to deeply clone from
|
|
16563
|
+
*/
|
|
16564
|
+
constructor(_value) {
|
|
16565
|
+
_value = _value || {};
|
|
16566
|
+
this.session = _value.session ? new SessionRaw(_value.session) : undefined;
|
|
16567
|
+
CloseSessionResponse.refineValues(this);
|
|
16568
|
+
}
|
|
16569
|
+
get session() {
|
|
16570
|
+
return this._session;
|
|
16571
|
+
}
|
|
16572
|
+
set session(value) {
|
|
16573
|
+
this._session = value;
|
|
16574
|
+
}
|
|
16575
|
+
/**
|
|
16576
|
+
* Serialize message to binary data
|
|
16577
|
+
* @param instance message instance
|
|
16578
|
+
*/
|
|
16579
|
+
serializeBinary() {
|
|
16580
|
+
const writer = new BinaryWriter();
|
|
16581
|
+
CloseSessionResponse.serializeBinaryToWriter(this, writer);
|
|
16582
|
+
return writer.getResultBuffer();
|
|
16583
|
+
}
|
|
16584
|
+
/**
|
|
16585
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
16586
|
+
*/
|
|
16587
|
+
toObject() {
|
|
16588
|
+
return {
|
|
16589
|
+
session: this.session ? this.session.toObject() : undefined
|
|
16590
|
+
};
|
|
16591
|
+
}
|
|
16592
|
+
/**
|
|
16593
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
16594
|
+
*/
|
|
16595
|
+
toJSON() {
|
|
16596
|
+
return this.toObject();
|
|
16597
|
+
}
|
|
16598
|
+
/**
|
|
16599
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
16600
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
16601
|
+
* 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
|
|
16602
|
+
*/
|
|
16603
|
+
toProtobufJSON(
|
|
16604
|
+
// @ts-ignore
|
|
16605
|
+
options) {
|
|
16606
|
+
return {
|
|
16607
|
+
session: this.session ? this.session.toProtobufJSON(options) : null
|
|
16608
|
+
};
|
|
16609
|
+
}
|
|
16610
|
+
}
|
|
16384
16611
|
/**
|
|
16385
16612
|
* Message implementation for armonik.api.grpc.v1.sessions.PurgeSessionRequest
|
|
16386
16613
|
*/
|
|
@@ -17161,6 +17388,24 @@ class SessionsClient {
|
|
|
17161
17388
|
responseClass: ResumeSessionResponse
|
|
17162
17389
|
});
|
|
17163
17390
|
},
|
|
17391
|
+
/**
|
|
17392
|
+
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/CloseSession
|
|
17393
|
+
*
|
|
17394
|
+
* @param requestMessage Request message
|
|
17395
|
+
* @param requestMetadata Request metadata
|
|
17396
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CloseSessionResponse>>
|
|
17397
|
+
*/
|
|
17398
|
+
closeSession: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
17399
|
+
return this.handler.handle({
|
|
17400
|
+
type: GrpcCallType.unary,
|
|
17401
|
+
client: this.client,
|
|
17402
|
+
path: '/armonik.api.grpc.v1.sessions.Sessions/CloseSession',
|
|
17403
|
+
requestData,
|
|
17404
|
+
requestMetadata,
|
|
17405
|
+
requestClass: CloseSessionRequest,
|
|
17406
|
+
responseClass: CloseSessionResponse
|
|
17407
|
+
});
|
|
17408
|
+
},
|
|
17164
17409
|
/**
|
|
17165
17410
|
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/PurgeSession
|
|
17166
17411
|
*
|
|
@@ -17290,6 +17535,18 @@ class SessionsClient {
|
|
|
17290
17535
|
.resumeSession(requestData, requestMetadata)
|
|
17291
17536
|
.pipe(throwStatusErrors(), takeMessages());
|
|
17292
17537
|
}
|
|
17538
|
+
/**
|
|
17539
|
+
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/CloseSession
|
|
17540
|
+
*
|
|
17541
|
+
* @param requestMessage Request message
|
|
17542
|
+
* @param requestMetadata Request metadata
|
|
17543
|
+
* @returns Observable<armonikApiGrpcV1Sessions007.CloseSessionResponse>
|
|
17544
|
+
*/
|
|
17545
|
+
closeSession(requestData, requestMetadata = new GrpcMetadata()) {
|
|
17546
|
+
return this.$raw
|
|
17547
|
+
.closeSession(requestData, requestMetadata)
|
|
17548
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
17549
|
+
}
|
|
17293
17550
|
/**
|
|
17294
17551
|
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/PurgeSession
|
|
17295
17552
|
*
|
|
@@ -17376,6 +17633,7 @@ class TaskDetailed {
|
|
|
17376
17633
|
_instance.submittedAt = _instance.submittedAt || undefined;
|
|
17377
17634
|
_instance.receivedAt = _instance.receivedAt || undefined;
|
|
17378
17635
|
_instance.acquiredAt = _instance.acquiredAt || undefined;
|
|
17636
|
+
_instance.fetchedAt = _instance.fetchedAt || undefined;
|
|
17379
17637
|
_instance.startedAt = _instance.startedAt || undefined;
|
|
17380
17638
|
_instance.processedAt = _instance.processedAt || undefined;
|
|
17381
17639
|
_instance.endedAt = _instance.endedAt || undefined;
|
|
@@ -17450,6 +17708,10 @@ class TaskDetailed {
|
|
|
17450
17708
|
_instance.acquiredAt = new googleProtobuf004.Timestamp();
|
|
17451
17709
|
_reader.readMessage(_instance.acquiredAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
17452
17710
|
break;
|
|
17711
|
+
case 25:
|
|
17712
|
+
_instance.fetchedAt = new googleProtobuf004.Timestamp();
|
|
17713
|
+
_reader.readMessage(_instance.fetchedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
17714
|
+
break;
|
|
17453
17715
|
case 13:
|
|
17454
17716
|
_instance.startedAt = new googleProtobuf004.Timestamp();
|
|
17455
17717
|
_reader.readMessage(_instance.startedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
@@ -17542,6 +17804,9 @@ class TaskDetailed {
|
|
|
17542
17804
|
if (_instance.acquiredAt) {
|
|
17543
17805
|
_writer.writeMessage(19, _instance.acquiredAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
17544
17806
|
}
|
|
17807
|
+
if (_instance.fetchedAt) {
|
|
17808
|
+
_writer.writeMessage(25, _instance.fetchedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
17809
|
+
}
|
|
17545
17810
|
if (_instance.startedAt) {
|
|
17546
17811
|
_writer.writeMessage(13, _instance.startedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
17547
17812
|
}
|
|
@@ -17601,6 +17866,9 @@ class TaskDetailed {
|
|
|
17601
17866
|
this.acquiredAt = _value.acquiredAt
|
|
17602
17867
|
? new googleProtobuf004.Timestamp(_value.acquiredAt)
|
|
17603
17868
|
: undefined;
|
|
17869
|
+
this.fetchedAt = _value.fetchedAt
|
|
17870
|
+
? new googleProtobuf004.Timestamp(_value.fetchedAt)
|
|
17871
|
+
: undefined;
|
|
17604
17872
|
this.startedAt = _value.startedAt
|
|
17605
17873
|
? new googleProtobuf004.Timestamp(_value.startedAt)
|
|
17606
17874
|
: undefined;
|
|
@@ -17718,6 +17986,12 @@ class TaskDetailed {
|
|
|
17718
17986
|
set acquiredAt(value) {
|
|
17719
17987
|
this._acquiredAt = value;
|
|
17720
17988
|
}
|
|
17989
|
+
get fetchedAt() {
|
|
17990
|
+
return this._fetchedAt;
|
|
17991
|
+
}
|
|
17992
|
+
set fetchedAt(value) {
|
|
17993
|
+
this._fetchedAt = value;
|
|
17994
|
+
}
|
|
17721
17995
|
get startedAt() {
|
|
17722
17996
|
return this._startedAt;
|
|
17723
17997
|
}
|
|
@@ -17801,6 +18075,7 @@ class TaskDetailed {
|
|
|
17801
18075
|
submittedAt: this.submittedAt ? this.submittedAt.toObject() : undefined,
|
|
17802
18076
|
receivedAt: this.receivedAt ? this.receivedAt.toObject() : undefined,
|
|
17803
18077
|
acquiredAt: this.acquiredAt ? this.acquiredAt.toObject() : undefined,
|
|
18078
|
+
fetchedAt: this.fetchedAt ? this.fetchedAt.toObject() : undefined,
|
|
17804
18079
|
startedAt: this.startedAt ? this.startedAt.toObject() : undefined,
|
|
17805
18080
|
processedAt: this.processedAt ? this.processedAt.toObject() : undefined,
|
|
17806
18081
|
endedAt: this.endedAt ? this.endedAt.toObject() : undefined,
|
|
@@ -17854,6 +18129,7 @@ class TaskDetailed {
|
|
|
17854
18129
|
acquiredAt: this.acquiredAt
|
|
17855
18130
|
? this.acquiredAt.toProtobufJSON(options)
|
|
17856
18131
|
: null,
|
|
18132
|
+
fetchedAt: this.fetchedAt ? this.fetchedAt.toProtobufJSON(options) : null,
|
|
17857
18133
|
startedAt: this.startedAt ? this.startedAt.toProtobufJSON(options) : null,
|
|
17858
18134
|
processedAt: this.processedAt
|
|
17859
18135
|
? this.processedAt.toProtobufJSON(options)
|
|
@@ -18028,6 +18304,7 @@ class TaskSummary {
|
|
|
18028
18304
|
_instance.submittedAt = _instance.submittedAt || undefined;
|
|
18029
18305
|
_instance.receivedAt = _instance.receivedAt || undefined;
|
|
18030
18306
|
_instance.acquiredAt = _instance.acquiredAt || undefined;
|
|
18307
|
+
_instance.fetchedAt = _instance.fetchedAt || undefined;
|
|
18031
18308
|
_instance.startedAt = _instance.startedAt || undefined;
|
|
18032
18309
|
_instance.processedAt = _instance.processedAt || undefined;
|
|
18033
18310
|
_instance.endedAt = _instance.endedAt || undefined;
|
|
@@ -18101,6 +18378,10 @@ class TaskSummary {
|
|
|
18101
18378
|
_instance.acquiredAt = new googleProtobuf004.Timestamp();
|
|
18102
18379
|
_reader.readMessage(_instance.acquiredAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
18103
18380
|
break;
|
|
18381
|
+
case 25:
|
|
18382
|
+
_instance.fetchedAt = new googleProtobuf004.Timestamp();
|
|
18383
|
+
_reader.readMessage(_instance.fetchedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
18384
|
+
break;
|
|
18104
18385
|
case 6:
|
|
18105
18386
|
_instance.startedAt = new googleProtobuf004.Timestamp();
|
|
18106
18387
|
_reader.readMessage(_instance.startedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
@@ -18192,6 +18473,9 @@ class TaskSummary {
|
|
|
18192
18473
|
if (_instance.acquiredAt) {
|
|
18193
18474
|
_writer.writeMessage(19, _instance.acquiredAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
18194
18475
|
}
|
|
18476
|
+
if (_instance.fetchedAt) {
|
|
18477
|
+
_writer.writeMessage(25, _instance.fetchedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
18478
|
+
}
|
|
18195
18479
|
if (_instance.startedAt) {
|
|
18196
18480
|
_writer.writeMessage(6, _instance.startedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
18197
18481
|
}
|
|
@@ -18251,6 +18535,9 @@ class TaskSummary {
|
|
|
18251
18535
|
this.acquiredAt = _value.acquiredAt
|
|
18252
18536
|
? new googleProtobuf004.Timestamp(_value.acquiredAt)
|
|
18253
18537
|
: undefined;
|
|
18538
|
+
this.fetchedAt = _value.fetchedAt
|
|
18539
|
+
? new googleProtobuf004.Timestamp(_value.fetchedAt)
|
|
18540
|
+
: undefined;
|
|
18254
18541
|
this.startedAt = _value.startedAt
|
|
18255
18542
|
? new googleProtobuf004.Timestamp(_value.startedAt)
|
|
18256
18543
|
: undefined;
|
|
@@ -18366,6 +18653,12 @@ class TaskSummary {
|
|
|
18366
18653
|
set acquiredAt(value) {
|
|
18367
18654
|
this._acquiredAt = value;
|
|
18368
18655
|
}
|
|
18656
|
+
get fetchedAt() {
|
|
18657
|
+
return this._fetchedAt;
|
|
18658
|
+
}
|
|
18659
|
+
set fetchedAt(value) {
|
|
18660
|
+
this._fetchedAt = value;
|
|
18661
|
+
}
|
|
18369
18662
|
get startedAt() {
|
|
18370
18663
|
return this._startedAt;
|
|
18371
18664
|
}
|
|
@@ -18449,6 +18742,7 @@ class TaskSummary {
|
|
|
18449
18742
|
submittedAt: this.submittedAt ? this.submittedAt.toObject() : undefined,
|
|
18450
18743
|
receivedAt: this.receivedAt ? this.receivedAt.toObject() : undefined,
|
|
18451
18744
|
acquiredAt: this.acquiredAt ? this.acquiredAt.toObject() : undefined,
|
|
18745
|
+
fetchedAt: this.fetchedAt ? this.fetchedAt.toObject() : undefined,
|
|
18452
18746
|
startedAt: this.startedAt ? this.startedAt.toObject() : undefined,
|
|
18453
18747
|
processedAt: this.processedAt ? this.processedAt.toObject() : undefined,
|
|
18454
18748
|
endedAt: this.endedAt ? this.endedAt.toObject() : undefined,
|
|
@@ -18502,6 +18796,7 @@ class TaskSummary {
|
|
|
18502
18796
|
acquiredAt: this.acquiredAt
|
|
18503
18797
|
? this.acquiredAt.toProtobufJSON(options)
|
|
18504
18798
|
: null,
|
|
18799
|
+
fetchedAt: this.fetchedAt ? this.fetchedAt.toProtobufJSON(options) : null,
|
|
18505
18800
|
startedAt: this.startedAt ? this.startedAt.toProtobufJSON(options) : null,
|
|
18506
18801
|
processedAt: this.processedAt
|
|
18507
18802
|
? this.processedAt.toProtobufJSON(options)
|