@aneoconsultingfr/armonik.api.angular 3.16.0-edge.43.411cd4d → 3.16.0-edge.50.69fb55a

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.
@@ -13483,7 +13483,7 @@ var SessionStatus;
13483
13483
  SessionStatus[SessionStatus["SESSION_STATUS_RUNNING"] = 1] = "SESSION_STATUS_RUNNING";
13484
13484
  SessionStatus[SessionStatus["SESSION_STATUS_CANCELLED"] = 2] = "SESSION_STATUS_CANCELLED";
13485
13485
  SessionStatus[SessionStatus["SESSION_STATUS_PAUSED"] = 3] = "SESSION_STATUS_PAUSED";
13486
- SessionStatus[SessionStatus["SESSION_STATUS_CLOSED"] = 4] = "SESSION_STATUS_CLOSED";
13486
+ SessionStatus[SessionStatus["SESSION_STATUS_PURGED"] = 4] = "SESSION_STATUS_PURGED";
13487
13487
  SessionStatus[SessionStatus["SESSION_STATUS_DELETED"] = 5] = "SESSION_STATUS_DELETED";
13488
13488
  })(SessionStatus || (SessionStatus = {}));
13489
13489
 
@@ -14636,10 +14636,14 @@ class SessionRaw {
14636
14636
  static refineValues(_instance) {
14637
14637
  _instance.sessionId = _instance.sessionId || '';
14638
14638
  _instance.status = _instance.status || 0;
14639
+ _instance.clientSubmission = _instance.clientSubmission || false;
14640
+ _instance.workerSubmission = _instance.workerSubmission || false;
14639
14641
  _instance.partitionIds = _instance.partitionIds || [];
14640
14642
  _instance.options = _instance.options || undefined;
14641
14643
  _instance.createdAt = _instance.createdAt || undefined;
14642
14644
  _instance.cancelledAt = _instance.cancelledAt || undefined;
14645
+ _instance.purgedAt = _instance.purgedAt || undefined;
14646
+ _instance.deletedAt = _instance.deletedAt || undefined;
14643
14647
  _instance.duration = _instance.duration || undefined;
14644
14648
  }
14645
14649
  /**
@@ -14658,6 +14662,12 @@ class SessionRaw {
14658
14662
  case 2:
14659
14663
  _instance.status = _reader.readEnum();
14660
14664
  break;
14665
+ case 8:
14666
+ _instance.clientSubmission = _reader.readBool();
14667
+ break;
14668
+ case 9:
14669
+ _instance.workerSubmission = _reader.readBool();
14670
+ break;
14661
14671
  case 3:
14662
14672
  (_instance.partitionIds = _instance.partitionIds || []).push(_reader.readString());
14663
14673
  break;
@@ -14673,6 +14683,14 @@ class SessionRaw {
14673
14683
  _instance.cancelledAt = new googleProtobuf004.Timestamp();
14674
14684
  _reader.readMessage(_instance.cancelledAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
14675
14685
  break;
14686
+ case 10:
14687
+ _instance.purgedAt = new googleProtobuf004.Timestamp();
14688
+ _reader.readMessage(_instance.purgedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
14689
+ break;
14690
+ case 11:
14691
+ _instance.deletedAt = new googleProtobuf004.Timestamp();
14692
+ _reader.readMessage(_instance.deletedAt, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
14693
+ break;
14676
14694
  case 7:
14677
14695
  _instance.duration = new googleProtobuf004.Duration();
14678
14696
  _reader.readMessage(_instance.duration, googleProtobuf004.Duration.deserializeBinaryFromReader);
@@ -14695,6 +14713,12 @@ class SessionRaw {
14695
14713
  if (_instance.status) {
14696
14714
  _writer.writeEnum(2, _instance.status);
14697
14715
  }
14716
+ if (_instance.clientSubmission) {
14717
+ _writer.writeBool(8, _instance.clientSubmission);
14718
+ }
14719
+ if (_instance.workerSubmission) {
14720
+ _writer.writeBool(9, _instance.workerSubmission);
14721
+ }
14698
14722
  if (_instance.partitionIds && _instance.partitionIds.length) {
14699
14723
  _writer.writeRepeatedString(3, _instance.partitionIds);
14700
14724
  }
@@ -14707,6 +14731,12 @@ class SessionRaw {
14707
14731
  if (_instance.cancelledAt) {
14708
14732
  _writer.writeMessage(6, _instance.cancelledAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
14709
14733
  }
14734
+ if (_instance.purgedAt) {
14735
+ _writer.writeMessage(10, _instance.purgedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
14736
+ }
14737
+ if (_instance.deletedAt) {
14738
+ _writer.writeMessage(11, _instance.deletedAt, googleProtobuf004.Timestamp.serializeBinaryToWriter);
14739
+ }
14710
14740
  if (_instance.duration) {
14711
14741
  _writer.writeMessage(7, _instance.duration, googleProtobuf004.Duration.serializeBinaryToWriter);
14712
14742
  }
@@ -14719,6 +14749,8 @@ class SessionRaw {
14719
14749
  _value = _value || {};
14720
14750
  this.sessionId = _value.sessionId;
14721
14751
  this.status = _value.status;
14752
+ this.clientSubmission = _value.clientSubmission;
14753
+ this.workerSubmission = _value.workerSubmission;
14722
14754
  this.partitionIds = (_value.partitionIds || []).slice();
14723
14755
  this.options = _value.options
14724
14756
  ? new TaskOptions(_value.options)
@@ -14729,6 +14761,12 @@ class SessionRaw {
14729
14761
  this.cancelledAt = _value.cancelledAt
14730
14762
  ? new googleProtobuf004.Timestamp(_value.cancelledAt)
14731
14763
  : undefined;
14764
+ this.purgedAt = _value.purgedAt
14765
+ ? new googleProtobuf004.Timestamp(_value.purgedAt)
14766
+ : undefined;
14767
+ this.deletedAt = _value.deletedAt
14768
+ ? new googleProtobuf004.Timestamp(_value.deletedAt)
14769
+ : undefined;
14732
14770
  this.duration = _value.duration
14733
14771
  ? new googleProtobuf004.Duration(_value.duration)
14734
14772
  : undefined;
@@ -14746,6 +14784,18 @@ class SessionRaw {
14746
14784
  set status(value) {
14747
14785
  this._status = value;
14748
14786
  }
14787
+ get clientSubmission() {
14788
+ return this._clientSubmission;
14789
+ }
14790
+ set clientSubmission(value) {
14791
+ this._clientSubmission = value;
14792
+ }
14793
+ get workerSubmission() {
14794
+ return this._workerSubmission;
14795
+ }
14796
+ set workerSubmission(value) {
14797
+ this._workerSubmission = value;
14798
+ }
14749
14799
  get partitionIds() {
14750
14800
  return this._partitionIds;
14751
14801
  }
@@ -14770,6 +14820,18 @@ class SessionRaw {
14770
14820
  set cancelledAt(value) {
14771
14821
  this._cancelledAt = value;
14772
14822
  }
14823
+ get purgedAt() {
14824
+ return this._purgedAt;
14825
+ }
14826
+ set purgedAt(value) {
14827
+ this._purgedAt = value;
14828
+ }
14829
+ get deletedAt() {
14830
+ return this._deletedAt;
14831
+ }
14832
+ set deletedAt(value) {
14833
+ this._deletedAt = value;
14834
+ }
14773
14835
  get duration() {
14774
14836
  return this._duration;
14775
14837
  }
@@ -14792,10 +14854,14 @@ class SessionRaw {
14792
14854
  return {
14793
14855
  sessionId: this.sessionId,
14794
14856
  status: this.status,
14857
+ clientSubmission: this.clientSubmission,
14858
+ workerSubmission: this.workerSubmission,
14795
14859
  partitionIds: (this.partitionIds || []).slice(),
14796
14860
  options: this.options ? this.options.toObject() : undefined,
14797
14861
  createdAt: this.createdAt ? this.createdAt.toObject() : undefined,
14798
14862
  cancelledAt: this.cancelledAt ? this.cancelledAt.toObject() : undefined,
14863
+ purgedAt: this.purgedAt ? this.purgedAt.toObject() : undefined,
14864
+ deletedAt: this.deletedAt ? this.deletedAt.toObject() : undefined,
14799
14865
  duration: this.duration ? this.duration.toObject() : undefined
14800
14866
  };
14801
14867
  }
@@ -14816,12 +14882,16 @@ class SessionRaw {
14816
14882
  return {
14817
14883
  sessionId: this.sessionId,
14818
14884
  status: SessionStatus[this.status === null || this.status === undefined ? 0 : this.status],
14885
+ clientSubmission: this.clientSubmission,
14886
+ workerSubmission: this.workerSubmission,
14819
14887
  partitionIds: (this.partitionIds || []).slice(),
14820
14888
  options: this.options ? this.options.toProtobufJSON(options) : null,
14821
14889
  createdAt: this.createdAt ? this.createdAt.toProtobufJSON(options) : null,
14822
14890
  cancelledAt: this.cancelledAt
14823
14891
  ? this.cancelledAt.toProtobufJSON(options)
14824
14892
  : null,
14893
+ purgedAt: this.purgedAt ? this.purgedAt.toProtobufJSON(options) : null,
14894
+ deletedAt: this.deletedAt ? this.deletedAt.toProtobufJSON(options) : null,
14825
14895
  duration: this.duration ? this.duration.toProtobufJSON(options) : null
14826
14896
  };
14827
14897
  }
@@ -16312,17 +16382,17 @@ class ResumeSessionResponse {
16312
16382
  }
16313
16383
  }
16314
16384
  /**
16315
- * Message implementation for armonik.api.grpc.v1.sessions.CloseSessionRequest
16385
+ * Message implementation for armonik.api.grpc.v1.sessions.PurgeSessionRequest
16316
16386
  */
16317
- class CloseSessionRequest {
16318
- static { this.id = 'armonik.api.grpc.v1.sessions.CloseSessionRequest'; }
16387
+ class PurgeSessionRequest {
16388
+ static { this.id = 'armonik.api.grpc.v1.sessions.PurgeSessionRequest'; }
16319
16389
  /**
16320
16390
  * Deserialize binary data to message
16321
16391
  * @param instance message instance
16322
16392
  */
16323
16393
  static deserializeBinary(bytes) {
16324
- const instance = new CloseSessionRequest();
16325
- CloseSessionRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16394
+ const instance = new PurgeSessionRequest();
16395
+ PurgeSessionRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16326
16396
  return instance;
16327
16397
  }
16328
16398
  /**
@@ -16349,7 +16419,7 @@ class CloseSessionRequest {
16349
16419
  _reader.skipField();
16350
16420
  }
16351
16421
  }
16352
- CloseSessionRequest.refineValues(_instance);
16422
+ PurgeSessionRequest.refineValues(_instance);
16353
16423
  }
16354
16424
  /**
16355
16425
  * Serializes a message to binary format using provided binary reader
@@ -16363,12 +16433,12 @@ class CloseSessionRequest {
16363
16433
  }
16364
16434
  /**
16365
16435
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
16366
- * @param _value initial values object or instance of CloseSessionRequest to deeply clone from
16436
+ * @param _value initial values object or instance of PurgeSessionRequest to deeply clone from
16367
16437
  */
16368
16438
  constructor(_value) {
16369
16439
  _value = _value || {};
16370
16440
  this.sessionId = _value.sessionId;
16371
- CloseSessionRequest.refineValues(this);
16441
+ PurgeSessionRequest.refineValues(this);
16372
16442
  }
16373
16443
  get sessionId() {
16374
16444
  return this._sessionId;
@@ -16382,7 +16452,7 @@ class CloseSessionRequest {
16382
16452
  */
16383
16453
  serializeBinary() {
16384
16454
  const writer = new BinaryWriter();
16385
- CloseSessionRequest.serializeBinaryToWriter(this, writer);
16455
+ PurgeSessionRequest.serializeBinaryToWriter(this, writer);
16386
16456
  return writer.getResultBuffer();
16387
16457
  }
16388
16458
  /**
@@ -16413,17 +16483,17 @@ class CloseSessionRequest {
16413
16483
  }
16414
16484
  }
16415
16485
  /**
16416
- * Message implementation for armonik.api.grpc.v1.sessions.CloseSessionResponse
16486
+ * Message implementation for armonik.api.grpc.v1.sessions.PurgeSessionResponse
16417
16487
  */
16418
- class CloseSessionResponse {
16419
- static { this.id = 'armonik.api.grpc.v1.sessions.CloseSessionResponse'; }
16488
+ class PurgeSessionResponse {
16489
+ static { this.id = 'armonik.api.grpc.v1.sessions.PurgeSessionResponse'; }
16420
16490
  /**
16421
16491
  * Deserialize binary data to message
16422
16492
  * @param instance message instance
16423
16493
  */
16424
16494
  static deserializeBinary(bytes) {
16425
- const instance = new CloseSessionResponse();
16426
- CloseSessionResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16495
+ const instance = new PurgeSessionResponse();
16496
+ PurgeSessionResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16427
16497
  return instance;
16428
16498
  }
16429
16499
  /**
@@ -16451,7 +16521,7 @@ class CloseSessionResponse {
16451
16521
  _reader.skipField();
16452
16522
  }
16453
16523
  }
16454
- CloseSessionResponse.refineValues(_instance);
16524
+ PurgeSessionResponse.refineValues(_instance);
16455
16525
  }
16456
16526
  /**
16457
16527
  * Serializes a message to binary format using provided binary reader
@@ -16465,12 +16535,12 @@ class CloseSessionResponse {
16465
16535
  }
16466
16536
  /**
16467
16537
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
16468
- * @param _value initial values object or instance of CloseSessionResponse to deeply clone from
16538
+ * @param _value initial values object or instance of PurgeSessionResponse to deeply clone from
16469
16539
  */
16470
16540
  constructor(_value) {
16471
16541
  _value = _value || {};
16472
16542
  this.session = _value.session ? new SessionRaw(_value.session) : undefined;
16473
- CloseSessionResponse.refineValues(this);
16543
+ PurgeSessionResponse.refineValues(this);
16474
16544
  }
16475
16545
  get session() {
16476
16546
  return this._session;
@@ -16484,7 +16554,7 @@ class CloseSessionResponse {
16484
16554
  */
16485
16555
  serializeBinary() {
16486
16556
  const writer = new BinaryWriter();
16487
- CloseSessionResponse.serializeBinaryToWriter(this, writer);
16557
+ PurgeSessionResponse.serializeBinaryToWriter(this, writer);
16488
16558
  return writer.getResultBuffer();
16489
16559
  }
16490
16560
  /**
@@ -16717,6 +16787,241 @@ class DeleteSessionResponse {
16717
16787
  };
16718
16788
  }
16719
16789
  }
16790
+ /**
16791
+ * Message implementation for armonik.api.grpc.v1.sessions.StopSubmissionRequest
16792
+ */
16793
+ class StopSubmissionRequest {
16794
+ static { this.id = 'armonik.api.grpc.v1.sessions.StopSubmissionRequest'; }
16795
+ /**
16796
+ * Deserialize binary data to message
16797
+ * @param instance message instance
16798
+ */
16799
+ static deserializeBinary(bytes) {
16800
+ const instance = new StopSubmissionRequest();
16801
+ StopSubmissionRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16802
+ return instance;
16803
+ }
16804
+ /**
16805
+ * Check all the properties and set default protobuf values if necessary
16806
+ * @param _instance message instance
16807
+ */
16808
+ static refineValues(_instance) {
16809
+ _instance.sessionId = _instance.sessionId || '';
16810
+ _instance.client = _instance.client || false;
16811
+ _instance.worker = _instance.worker || false;
16812
+ }
16813
+ /**
16814
+ * Deserializes / reads binary message into message instance using provided binary reader
16815
+ * @param _instance message instance
16816
+ * @param _reader binary reader instance
16817
+ */
16818
+ static deserializeBinaryFromReader(_instance, _reader) {
16819
+ while (_reader.nextField()) {
16820
+ if (_reader.isEndGroup())
16821
+ break;
16822
+ switch (_reader.getFieldNumber()) {
16823
+ case 1:
16824
+ _instance.sessionId = _reader.readString();
16825
+ break;
16826
+ case 2:
16827
+ _instance.client = _reader.readBool();
16828
+ break;
16829
+ case 3:
16830
+ _instance.worker = _reader.readBool();
16831
+ break;
16832
+ default:
16833
+ _reader.skipField();
16834
+ }
16835
+ }
16836
+ StopSubmissionRequest.refineValues(_instance);
16837
+ }
16838
+ /**
16839
+ * Serializes a message to binary format using provided binary reader
16840
+ * @param _instance message instance
16841
+ * @param _writer binary writer instance
16842
+ */
16843
+ static serializeBinaryToWriter(_instance, _writer) {
16844
+ if (_instance.sessionId) {
16845
+ _writer.writeString(1, _instance.sessionId);
16846
+ }
16847
+ if (_instance.client) {
16848
+ _writer.writeBool(2, _instance.client);
16849
+ }
16850
+ if (_instance.worker) {
16851
+ _writer.writeBool(3, _instance.worker);
16852
+ }
16853
+ }
16854
+ /**
16855
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
16856
+ * @param _value initial values object or instance of StopSubmissionRequest to deeply clone from
16857
+ */
16858
+ constructor(_value) {
16859
+ _value = _value || {};
16860
+ this.sessionId = _value.sessionId;
16861
+ this.client = _value.client;
16862
+ this.worker = _value.worker;
16863
+ StopSubmissionRequest.refineValues(this);
16864
+ }
16865
+ get sessionId() {
16866
+ return this._sessionId;
16867
+ }
16868
+ set sessionId(value) {
16869
+ this._sessionId = value;
16870
+ }
16871
+ get client() {
16872
+ return this._client;
16873
+ }
16874
+ set client(value) {
16875
+ this._client = value;
16876
+ }
16877
+ get worker() {
16878
+ return this._worker;
16879
+ }
16880
+ set worker(value) {
16881
+ this._worker = value;
16882
+ }
16883
+ /**
16884
+ * Serialize message to binary data
16885
+ * @param instance message instance
16886
+ */
16887
+ serializeBinary() {
16888
+ const writer = new BinaryWriter();
16889
+ StopSubmissionRequest.serializeBinaryToWriter(this, writer);
16890
+ return writer.getResultBuffer();
16891
+ }
16892
+ /**
16893
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
16894
+ */
16895
+ toObject() {
16896
+ return {
16897
+ sessionId: this.sessionId,
16898
+ client: this.client,
16899
+ worker: this.worker
16900
+ };
16901
+ }
16902
+ /**
16903
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
16904
+ */
16905
+ toJSON() {
16906
+ return this.toObject();
16907
+ }
16908
+ /**
16909
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
16910
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
16911
+ * 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
16912
+ */
16913
+ toProtobufJSON(
16914
+ // @ts-ignore
16915
+ options) {
16916
+ return {
16917
+ sessionId: this.sessionId,
16918
+ client: this.client,
16919
+ worker: this.worker
16920
+ };
16921
+ }
16922
+ }
16923
+ /**
16924
+ * Message implementation for armonik.api.grpc.v1.sessions.StopSubmissionResponse
16925
+ */
16926
+ class StopSubmissionResponse {
16927
+ static { this.id = 'armonik.api.grpc.v1.sessions.StopSubmissionResponse'; }
16928
+ /**
16929
+ * Deserialize binary data to message
16930
+ * @param instance message instance
16931
+ */
16932
+ static deserializeBinary(bytes) {
16933
+ const instance = new StopSubmissionResponse();
16934
+ StopSubmissionResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
16935
+ return instance;
16936
+ }
16937
+ /**
16938
+ * Check all the properties and set default protobuf values if necessary
16939
+ * @param _instance message instance
16940
+ */
16941
+ static refineValues(_instance) {
16942
+ _instance.session = _instance.session || undefined;
16943
+ }
16944
+ /**
16945
+ * Deserializes / reads binary message into message instance using provided binary reader
16946
+ * @param _instance message instance
16947
+ * @param _reader binary reader instance
16948
+ */
16949
+ static deserializeBinaryFromReader(_instance, _reader) {
16950
+ while (_reader.nextField()) {
16951
+ if (_reader.isEndGroup())
16952
+ break;
16953
+ switch (_reader.getFieldNumber()) {
16954
+ case 1:
16955
+ _instance.session = new SessionRaw();
16956
+ _reader.readMessage(_instance.session, SessionRaw.deserializeBinaryFromReader);
16957
+ break;
16958
+ default:
16959
+ _reader.skipField();
16960
+ }
16961
+ }
16962
+ StopSubmissionResponse.refineValues(_instance);
16963
+ }
16964
+ /**
16965
+ * Serializes a message to binary format using provided binary reader
16966
+ * @param _instance message instance
16967
+ * @param _writer binary writer instance
16968
+ */
16969
+ static serializeBinaryToWriter(_instance, _writer) {
16970
+ if (_instance.session) {
16971
+ _writer.writeMessage(1, _instance.session, SessionRaw.serializeBinaryToWriter);
16972
+ }
16973
+ }
16974
+ /**
16975
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
16976
+ * @param _value initial values object or instance of StopSubmissionResponse to deeply clone from
16977
+ */
16978
+ constructor(_value) {
16979
+ _value = _value || {};
16980
+ this.session = _value.session ? new SessionRaw(_value.session) : undefined;
16981
+ StopSubmissionResponse.refineValues(this);
16982
+ }
16983
+ get session() {
16984
+ return this._session;
16985
+ }
16986
+ set session(value) {
16987
+ this._session = value;
16988
+ }
16989
+ /**
16990
+ * Serialize message to binary data
16991
+ * @param instance message instance
16992
+ */
16993
+ serializeBinary() {
16994
+ const writer = new BinaryWriter();
16995
+ StopSubmissionResponse.serializeBinaryToWriter(this, writer);
16996
+ return writer.getResultBuffer();
16997
+ }
16998
+ /**
16999
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
17000
+ */
17001
+ toObject() {
17002
+ return {
17003
+ session: this.session ? this.session.toObject() : undefined
17004
+ };
17005
+ }
17006
+ /**
17007
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
17008
+ */
17009
+ toJSON() {
17010
+ return this.toObject();
17011
+ }
17012
+ /**
17013
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
17014
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
17015
+ * 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
17016
+ */
17017
+ toProtobufJSON(
17018
+ // @ts-ignore
17019
+ options) {
17020
+ return {
17021
+ session: this.session ? this.session.toProtobufJSON(options) : null
17022
+ };
17023
+ }
17024
+ }
16720
17025
 
16721
17026
  /* tslint:disable */
16722
17027
  /* eslint-disable */
@@ -16857,21 +17162,21 @@ class SessionsClient {
16857
17162
  });
16858
17163
  },
16859
17164
  /**
16860
- * Unary call: /armonik.api.grpc.v1.sessions.Sessions/CloseSession
17165
+ * Unary call: /armonik.api.grpc.v1.sessions.Sessions/PurgeSession
16861
17166
  *
16862
17167
  * @param requestMessage Request message
16863
17168
  * @param requestMetadata Request metadata
16864
- * @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CloseSessionResponse>>
17169
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.PurgeSessionResponse>>
16865
17170
  */
16866
- closeSession: (requestData, requestMetadata = new GrpcMetadata()) => {
17171
+ purgeSession: (requestData, requestMetadata = new GrpcMetadata()) => {
16867
17172
  return this.handler.handle({
16868
17173
  type: GrpcCallType.unary,
16869
17174
  client: this.client,
16870
- path: '/armonik.api.grpc.v1.sessions.Sessions/CloseSession',
17175
+ path: '/armonik.api.grpc.v1.sessions.Sessions/PurgeSession',
16871
17176
  requestData,
16872
17177
  requestMetadata,
16873
- requestClass: CloseSessionRequest,
16874
- responseClass: CloseSessionResponse
17178
+ requestClass: PurgeSessionRequest,
17179
+ responseClass: PurgeSessionResponse
16875
17180
  });
16876
17181
  },
16877
17182
  /**
@@ -16891,6 +17196,24 @@ class SessionsClient {
16891
17196
  requestClass: DeleteSessionRequest,
16892
17197
  responseClass: DeleteSessionResponse
16893
17198
  });
17199
+ },
17200
+ /**
17201
+ * Unary call: /armonik.api.grpc.v1.sessions.Sessions/StopSubmission
17202
+ *
17203
+ * @param requestMessage Request message
17204
+ * @param requestMetadata Request metadata
17205
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.StopSubmissionResponse>>
17206
+ */
17207
+ stopSubmission: (requestData, requestMetadata = new GrpcMetadata()) => {
17208
+ return this.handler.handle({
17209
+ type: GrpcCallType.unary,
17210
+ client: this.client,
17211
+ path: '/armonik.api.grpc.v1.sessions.Sessions/StopSubmission',
17212
+ requestData,
17213
+ requestMetadata,
17214
+ requestClass: StopSubmissionRequest,
17215
+ responseClass: StopSubmissionResponse
17216
+ });
16894
17217
  }
16895
17218
  };
16896
17219
  this.client = clientFactory.createClient('armonik.api.grpc.v1.sessions.Sessions', settings);
@@ -16968,15 +17291,15 @@ class SessionsClient {
16968
17291
  .pipe(throwStatusErrors(), takeMessages());
16969
17292
  }
16970
17293
  /**
16971
- * Unary call @/armonik.api.grpc.v1.sessions.Sessions/CloseSession
17294
+ * Unary call @/armonik.api.grpc.v1.sessions.Sessions/PurgeSession
16972
17295
  *
16973
17296
  * @param requestMessage Request message
16974
17297
  * @param requestMetadata Request metadata
16975
- * @returns Observable<armonikApiGrpcV1Sessions007.CloseSessionResponse>
17298
+ * @returns Observable<armonikApiGrpcV1Sessions007.PurgeSessionResponse>
16976
17299
  */
16977
- closeSession(requestData, requestMetadata = new GrpcMetadata()) {
17300
+ purgeSession(requestData, requestMetadata = new GrpcMetadata()) {
16978
17301
  return this.$raw
16979
- .closeSession(requestData, requestMetadata)
17302
+ .purgeSession(requestData, requestMetadata)
16980
17303
  .pipe(throwStatusErrors(), takeMessages());
16981
17304
  }
16982
17305
  /**
@@ -16991,6 +17314,18 @@ class SessionsClient {
16991
17314
  .deleteSession(requestData, requestMetadata)
16992
17315
  .pipe(throwStatusErrors(), takeMessages());
16993
17316
  }
17317
+ /**
17318
+ * Unary call @/armonik.api.grpc.v1.sessions.Sessions/StopSubmission
17319
+ *
17320
+ * @param requestMessage Request message
17321
+ * @param requestMetadata Request metadata
17322
+ * @returns Observable<armonikApiGrpcV1Sessions007.StopSubmissionResponse>
17323
+ */
17324
+ stopSubmission(requestData, requestMetadata = new GrpcMetadata()) {
17325
+ return this.$raw
17326
+ .stopSubmission(requestData, requestMetadata)
17327
+ .pipe(throwStatusErrors(), takeMessages());
17328
+ }
16994
17329
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SessionsClient, deps: [{ token: GRPC_SESSIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
16995
17330
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SessionsClient, providedIn: 'any' }); }
16996
17331
  }