@aneoconsultingfr/armonik.api.angular 3.11.0-edge.89.ab31d7c → 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.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/esm2022/lib/generated/applications-common.pb.mjs +22 -618
  3. package/esm2022/lib/generated/applications-fields.pb.mjs +231 -0
  4. package/esm2022/lib/generated/applications-filters.pb.mjs +349 -0
  5. package/esm2022/lib/generated/applications-service.pb.mjs +1 -1
  6. package/esm2022/lib/generated/applications-service.pbsc.mjs +6 -36
  7. package/esm2022/lib/generated/events-common.pb.mjs +19 -3
  8. package/esm2022/lib/generated/filters-common.pb.mjs +642 -0
  9. package/esm2022/lib/generated/partitions-common.pb.mjs +25 -433
  10. package/esm2022/lib/generated/partitions-fields.pb.mjs +233 -0
  11. package/esm2022/lib/generated/partitions-filters.pb.mjs +431 -0
  12. package/esm2022/lib/generated/partitions-service.pb.mjs +1 -1
  13. package/esm2022/lib/generated/partitions-service.pbsc.mjs +10 -10
  14. package/esm2022/lib/generated/results-common.pb.mjs +33 -565
  15. package/esm2022/lib/generated/results-fields.pb.mjs +234 -0
  16. package/esm2022/lib/generated/results-filters.pb.mjs +546 -0
  17. package/esm2022/lib/generated/results-service.pb.mjs +1 -1
  18. package/esm2022/lib/generated/results-service.pbsc.mjs +39 -39
  19. package/esm2022/lib/generated/sessions-common.pb.mjs +104 -822
  20. package/esm2022/lib/generated/sessions-fields.pb.mjs +504 -0
  21. package/esm2022/lib/generated/sessions-filters.pb.mjs +602 -0
  22. package/esm2022/lib/generated/sessions-service.pb.mjs +1 -1
  23. package/esm2022/lib/generated/sessions-service.pbsc.mjs +24 -24
  24. package/esm2022/lib/generated/tasks-common.pb.mjs +166 -900
  25. package/esm2022/lib/generated/tasks-fields.pb.mjs +513 -0
  26. package/esm2022/lib/generated/tasks-filters.pb.mjs +602 -0
  27. package/esm2022/lib/generated/tasks-service.pb.mjs +1 -1
  28. package/esm2022/lib/generated/tasks-service.pbsc.mjs +36 -36
  29. package/esm2022/lib/index.mjs +22 -12
  30. package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +11857 -10006
  31. package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
  32. package/lib/generated/applications-common.pb.d.ts +11 -388
  33. package/lib/generated/applications-fields.pb.d.ts +153 -0
  34. package/lib/generated/applications-filters.pb.d.ts +222 -0
  35. package/lib/generated/applications-service.pbsc.d.ts +5 -21
  36. package/lib/generated/events-common.pb.d.ts +5 -0
  37. package/lib/generated/filters-common.pb.d.ts +408 -0
  38. package/lib/generated/partitions-common.pb.d.ts +15 -260
  39. package/lib/generated/partitions-fields.pb.d.ts +155 -0
  40. package/lib/generated/partitions-filters.pb.d.ts +240 -0
  41. package/lib/generated/partitions-service.pbsc.d.ts +9 -9
  42. package/lib/generated/results-common.pb.d.ts +24 -295
  43. package/lib/generated/results-fields.pb.d.ts +156 -0
  44. package/lib/generated/results-filters.pb.d.ts +315 -0
  45. package/lib/generated/results-service.pbsc.d.ts +38 -38
  46. package/lib/generated/sessions-common.pb.d.ts +76 -489
  47. package/lib/generated/sessions-fields.pb.d.ts +318 -0
  48. package/lib/generated/sessions-filters.pb.d.ts +327 -0
  49. package/lib/generated/sessions-service.pbsc.d.ts +19 -19
  50. package/lib/generated/tasks-common.pb.d.ts +139 -561
  51. package/lib/generated/tasks-fields.pb.d.ts +327 -0
  52. package/lib/generated/tasks-filters.pb.d.ts +327 -0
  53. package/lib/generated/tasks-service.pbsc.d.ts +31 -31
  54. package/lib/index.d.ts +21 -11
  55. package/package.json +2 -2
@@ -1,32 +1,12 @@
1
1
  import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
2
  import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
3
  import * as googleProtobuf000 from '@ngx-grpc/well-known-types';
4
- import * as googleProtobuf002 from '@ngx-grpc/well-known-types';
5
- import * as armonikApiGrpcV1003 from './objects.pb';
6
- import * as armonikApiGrpcV1Session_status004 from './session-status.pb';
7
- import * as armonikApiGrpcV1Sort_direction005 from './sort-direction.pb';
8
- export declare enum SessionRawEnumField {
9
- SESSION_RAW_ENUM_FIELD_UNSPECIFIED = 0,
10
- SESSION_RAW_ENUM_FIELD_SESSION_ID = 1,
11
- SESSION_RAW_ENUM_FIELD_STATUS = 2,
12
- SESSION_RAW_ENUM_FIELD_PARTITION_IDS = 3,
13
- SESSION_RAW_ENUM_FIELD_OPTIONS = 4,
14
- SESSION_RAW_ENUM_FIELD_CREATED_AT = 5,
15
- SESSION_RAW_ENUM_FIELD_CANCELLED_AT = 6,
16
- SESSION_RAW_ENUM_FIELD_DURATION = 7
17
- }
18
- export declare enum TaskOptionEnumField {
19
- TASK_OPTION_ENUM_FIELD_UNSPECIFIED = 0,
20
- TASK_OPTION_ENUM_FIELD_MAX_DURATION = 1,
21
- TASK_OPTION_ENUM_FIELD_MAX_RETRIES = 2,
22
- TASK_OPTION_ENUM_FIELD_PRIORITY = 3,
23
- TASK_OPTION_ENUM_FIELD_PARTITION_ID = 4,
24
- TASK_OPTION_ENUM_FIELD_APPLICATION_NAME = 5,
25
- TASK_OPTION_ENUM_FIELD_APPLICATION_VERSION = 6,
26
- TASK_OPTION_ENUM_FIELD_APPLICATION_NAMESPACE = 7,
27
- TASK_OPTION_ENUM_FIELD_APPLICATION_SERVICE = 8,
28
- TASK_OPTION_ENUM_FIELD_ENGINE_TYPE = 9
29
- }
4
+ import * as armonikApiGrpcV1Session_status003 from './session-status.pb';
5
+ import * as armonikApiGrpcV1Sessions004 from './sessions-fields.pb';
6
+ import * as googleProtobuf005 from '@ngx-grpc/well-known-types';
7
+ import * as armonikApiGrpcV1006 from './objects.pb';
8
+ import * as armonikApiGrpcV1Sessions007 from './sessions-filters.pb';
9
+ import * as armonikApiGrpcV1Sort_direction008 from './sort-direction.pb';
30
10
  /**
31
11
  * Message implementation for armonik.api.grpc.v1.sessions.SessionRaw
32
12
  */
@@ -68,16 +48,16 @@ export declare class SessionRaw implements GrpcMessage {
68
48
  constructor(_value?: RecursivePartial<SessionRaw.AsObject>);
69
49
  get sessionId(): string;
70
50
  set sessionId(value: string);
71
- get status(): armonikApiGrpcV1Session_status004.SessionStatus;
72
- set status(value: armonikApiGrpcV1Session_status004.SessionStatus);
51
+ get status(): armonikApiGrpcV1Session_status003.SessionStatus;
52
+ set status(value: armonikApiGrpcV1Session_status003.SessionStatus);
73
53
  get partitionIds(): string[];
74
54
  set partitionIds(value: string[]);
75
- get options(): armonikApiGrpcV1003.TaskOptions | undefined;
76
- set options(value: armonikApiGrpcV1003.TaskOptions | undefined);
77
- get createdAt(): googleProtobuf002.Timestamp | undefined;
78
- set createdAt(value: googleProtobuf002.Timestamp | undefined);
79
- get cancelledAt(): googleProtobuf002.Timestamp | undefined;
80
- set cancelledAt(value: googleProtobuf002.Timestamp | undefined);
55
+ get options(): armonikApiGrpcV1006.TaskOptions | undefined;
56
+ set options(value: armonikApiGrpcV1006.TaskOptions | undefined);
57
+ get createdAt(): googleProtobuf005.Timestamp | undefined;
58
+ set createdAt(value: googleProtobuf005.Timestamp | undefined);
59
+ get cancelledAt(): googleProtobuf005.Timestamp | undefined;
60
+ set cancelledAt(value: googleProtobuf005.Timestamp | undefined);
81
61
  get duration(): googleProtobuf000.Duration | undefined;
82
62
  set duration(value: googleProtobuf000.Duration | undefined);
83
63
  /**
@@ -106,11 +86,11 @@ export declare module SessionRaw {
106
86
  */
107
87
  interface AsObject {
108
88
  sessionId: string;
109
- status: armonikApiGrpcV1Session_status004.SessionStatus;
89
+ status: armonikApiGrpcV1Session_status003.SessionStatus;
110
90
  partitionIds: string[];
111
- options?: armonikApiGrpcV1003.TaskOptions.AsObject;
112
- createdAt?: googleProtobuf002.Timestamp.AsObject;
113
- cancelledAt?: googleProtobuf002.Timestamp.AsObject;
91
+ options?: armonikApiGrpcV1006.TaskOptions.AsObject;
92
+ createdAt?: googleProtobuf005.Timestamp.AsObject;
93
+ cancelledAt?: googleProtobuf005.Timestamp.AsObject;
114
94
  duration?: googleProtobuf000.Duration.AsObject;
115
95
  }
116
96
  /**
@@ -120,306 +100,12 @@ export declare module SessionRaw {
120
100
  sessionId: string;
121
101
  status: string;
122
102
  partitionIds: string[];
123
- options: armonikApiGrpcV1003.TaskOptions.AsProtobufJSON | null;
124
- createdAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
125
- cancelledAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
103
+ options: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null;
104
+ createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
105
+ cancelledAt: googleProtobuf005.Timestamp.AsProtobufJSON | null;
126
106
  duration: googleProtobuf000.Duration.AsProtobufJSON | null;
127
107
  }
128
108
  }
129
- /**
130
- * Message implementation for armonik.api.grpc.v1.sessions.SessionRawField
131
- */
132
- export declare class SessionRawField implements GrpcMessage {
133
- static id: string;
134
- /**
135
- * Deserialize binary data to message
136
- * @param instance message instance
137
- */
138
- static deserializeBinary(bytes: ByteSource): SessionRawField;
139
- /**
140
- * Check all the properties and set default protobuf values if necessary
141
- * @param _instance message instance
142
- */
143
- static refineValues(_instance: SessionRawField): void;
144
- /**
145
- * Deserializes / reads binary message into message instance using provided binary reader
146
- * @param _instance message instance
147
- * @param _reader binary reader instance
148
- */
149
- static deserializeBinaryFromReader(_instance: SessionRawField, _reader: BinaryReader): void;
150
- /**
151
- * Serializes a message to binary format using provided binary reader
152
- * @param _instance message instance
153
- * @param _writer binary writer instance
154
- */
155
- static serializeBinaryToWriter(_instance: SessionRawField, _writer: BinaryWriter): void;
156
- private _field;
157
- /**
158
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
159
- * @param _value initial values object or instance of SessionRawField to deeply clone from
160
- */
161
- constructor(_value?: RecursivePartial<SessionRawField.AsObject>);
162
- get field(): SessionRawEnumField;
163
- set field(value: SessionRawEnumField);
164
- /**
165
- * Serialize message to binary data
166
- * @param instance message instance
167
- */
168
- serializeBinary(): Uint8Array;
169
- /**
170
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
171
- */
172
- toObject(): SessionRawField.AsObject;
173
- /**
174
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
175
- */
176
- toJSON(): SessionRawField.AsObject;
177
- /**
178
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
179
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
180
- * 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
181
- */
182
- toProtobufJSON(options?: ToProtobufJSONOptions): SessionRawField.AsProtobufJSON;
183
- }
184
- export declare module SessionRawField {
185
- /**
186
- * Standard JavaScript object representation for SessionRawField
187
- */
188
- interface AsObject {
189
- field: SessionRawEnumField;
190
- }
191
- /**
192
- * Protobuf JSON representation for SessionRawField
193
- */
194
- interface AsProtobufJSON {
195
- field: string;
196
- }
197
- }
198
- /**
199
- * Message implementation for armonik.api.grpc.v1.sessions.TaskOptionField
200
- */
201
- export declare class TaskOptionField implements GrpcMessage {
202
- static id: string;
203
- /**
204
- * Deserialize binary data to message
205
- * @param instance message instance
206
- */
207
- static deserializeBinary(bytes: ByteSource): TaskOptionField;
208
- /**
209
- * Check all the properties and set default protobuf values if necessary
210
- * @param _instance message instance
211
- */
212
- static refineValues(_instance: TaskOptionField): void;
213
- /**
214
- * Deserializes / reads binary message into message instance using provided binary reader
215
- * @param _instance message instance
216
- * @param _reader binary reader instance
217
- */
218
- static deserializeBinaryFromReader(_instance: TaskOptionField, _reader: BinaryReader): void;
219
- /**
220
- * Serializes a message to binary format using provided binary reader
221
- * @param _instance message instance
222
- * @param _writer binary writer instance
223
- */
224
- static serializeBinaryToWriter(_instance: TaskOptionField, _writer: BinaryWriter): void;
225
- private _field;
226
- /**
227
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
228
- * @param _value initial values object or instance of TaskOptionField to deeply clone from
229
- */
230
- constructor(_value?: RecursivePartial<TaskOptionField.AsObject>);
231
- get field(): TaskOptionEnumField;
232
- set field(value: TaskOptionEnumField);
233
- /**
234
- * Serialize message to binary data
235
- * @param instance message instance
236
- */
237
- serializeBinary(): Uint8Array;
238
- /**
239
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
240
- */
241
- toObject(): TaskOptionField.AsObject;
242
- /**
243
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
244
- */
245
- toJSON(): TaskOptionField.AsObject;
246
- /**
247
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
248
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
249
- * 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
250
- */
251
- toProtobufJSON(options?: ToProtobufJSONOptions): TaskOptionField.AsProtobufJSON;
252
- }
253
- export declare module TaskOptionField {
254
- /**
255
- * Standard JavaScript object representation for TaskOptionField
256
- */
257
- interface AsObject {
258
- field: TaskOptionEnumField;
259
- }
260
- /**
261
- * Protobuf JSON representation for TaskOptionField
262
- */
263
- interface AsProtobufJSON {
264
- field: string;
265
- }
266
- }
267
- /**
268
- * Message implementation for armonik.api.grpc.v1.sessions.TaskOptionGenericField
269
- */
270
- export declare class TaskOptionGenericField implements GrpcMessage {
271
- static id: string;
272
- /**
273
- * Deserialize binary data to message
274
- * @param instance message instance
275
- */
276
- static deserializeBinary(bytes: ByteSource): TaskOptionGenericField;
277
- /**
278
- * Check all the properties and set default protobuf values if necessary
279
- * @param _instance message instance
280
- */
281
- static refineValues(_instance: TaskOptionGenericField): void;
282
- /**
283
- * Deserializes / reads binary message into message instance using provided binary reader
284
- * @param _instance message instance
285
- * @param _reader binary reader instance
286
- */
287
- static deserializeBinaryFromReader(_instance: TaskOptionGenericField, _reader: BinaryReader): void;
288
- /**
289
- * Serializes a message to binary format using provided binary reader
290
- * @param _instance message instance
291
- * @param _writer binary writer instance
292
- */
293
- static serializeBinaryToWriter(_instance: TaskOptionGenericField, _writer: BinaryWriter): void;
294
- private _field;
295
- /**
296
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
297
- * @param _value initial values object or instance of TaskOptionGenericField to deeply clone from
298
- */
299
- constructor(_value?: RecursivePartial<TaskOptionGenericField.AsObject>);
300
- get field(): string;
301
- set field(value: string);
302
- /**
303
- * Serialize message to binary data
304
- * @param instance message instance
305
- */
306
- serializeBinary(): Uint8Array;
307
- /**
308
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
309
- */
310
- toObject(): TaskOptionGenericField.AsObject;
311
- /**
312
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
313
- */
314
- toJSON(): TaskOptionGenericField.AsObject;
315
- /**
316
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
317
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
318
- * 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
319
- */
320
- toProtobufJSON(options?: ToProtobufJSONOptions): TaskOptionGenericField.AsProtobufJSON;
321
- }
322
- export declare module TaskOptionGenericField {
323
- /**
324
- * Standard JavaScript object representation for TaskOptionGenericField
325
- */
326
- interface AsObject {
327
- field: string;
328
- }
329
- /**
330
- * Protobuf JSON representation for TaskOptionGenericField
331
- */
332
- interface AsProtobufJSON {
333
- field: string;
334
- }
335
- }
336
- /**
337
- * Message implementation for armonik.api.grpc.v1.sessions.SessionField
338
- */
339
- export declare class SessionField implements GrpcMessage {
340
- static id: string;
341
- /**
342
- * Deserialize binary data to message
343
- * @param instance message instance
344
- */
345
- static deserializeBinary(bytes: ByteSource): SessionField;
346
- /**
347
- * Check all the properties and set default protobuf values if necessary
348
- * @param _instance message instance
349
- */
350
- static refineValues(_instance: SessionField): void;
351
- /**
352
- * Deserializes / reads binary message into message instance using provided binary reader
353
- * @param _instance message instance
354
- * @param _reader binary reader instance
355
- */
356
- static deserializeBinaryFromReader(_instance: SessionField, _reader: BinaryReader): void;
357
- /**
358
- * Serializes a message to binary format using provided binary reader
359
- * @param _instance message instance
360
- * @param _writer binary writer instance
361
- */
362
- static serializeBinaryToWriter(_instance: SessionField, _writer: BinaryWriter): void;
363
- private _sessionRawField?;
364
- private _taskOptionField?;
365
- private _taskOptionGenericField?;
366
- private _field;
367
- /**
368
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
369
- * @param _value initial values object or instance of SessionField to deeply clone from
370
- */
371
- constructor(_value?: RecursivePartial<SessionField.AsObject>);
372
- get sessionRawField(): SessionRawField | undefined;
373
- set sessionRawField(value: SessionRawField | undefined);
374
- get taskOptionField(): TaskOptionField | undefined;
375
- set taskOptionField(value: TaskOptionField | undefined);
376
- get taskOptionGenericField(): TaskOptionGenericField | undefined;
377
- set taskOptionGenericField(value: TaskOptionGenericField | undefined);
378
- get field(): SessionField.FieldCase;
379
- /**
380
- * Serialize message to binary data
381
- * @param instance message instance
382
- */
383
- serializeBinary(): Uint8Array;
384
- /**
385
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
386
- */
387
- toObject(): SessionField.AsObject;
388
- /**
389
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
390
- */
391
- toJSON(): SessionField.AsObject;
392
- /**
393
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
394
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
395
- * 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
396
- */
397
- toProtobufJSON(options?: ToProtobufJSONOptions): SessionField.AsProtobufJSON;
398
- }
399
- export declare module SessionField {
400
- /**
401
- * Standard JavaScript object representation for SessionField
402
- */
403
- interface AsObject {
404
- sessionRawField?: SessionRawField.AsObject;
405
- taskOptionField?: TaskOptionField.AsObject;
406
- taskOptionGenericField?: TaskOptionGenericField.AsObject;
407
- }
408
- /**
409
- * Protobuf JSON representation for SessionField
410
- */
411
- interface AsProtobufJSON {
412
- sessionRawField: SessionRawField.AsProtobufJSON | null;
413
- taskOptionField: TaskOptionField.AsProtobufJSON | null;
414
- taskOptionGenericField: TaskOptionGenericField.AsProtobufJSON | null;
415
- }
416
- enum FieldCase {
417
- none = 0,
418
- sessionRawField = 1,
419
- taskOptionField = 2,
420
- taskOptionGenericField = 3
421
- }
422
- }
423
109
  /**
424
110
  * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest
425
111
  */
@@ -449,7 +135,7 @@ export declare class ListSessionsRequest implements GrpcMessage {
449
135
  static serializeBinaryToWriter(_instance: ListSessionsRequest, _writer: BinaryWriter): void;
450
136
  private _page;
451
137
  private _pageSize;
452
- private _filter?;
138
+ private _filters?;
453
139
  private _sort?;
454
140
  private _withTaskOptions;
455
141
  /**
@@ -461,8 +147,8 @@ export declare class ListSessionsRequest implements GrpcMessage {
461
147
  set page(value: number);
462
148
  get pageSize(): number;
463
149
  set pageSize(value: number);
464
- get filter(): ListSessionsRequest.Filter | undefined;
465
- set filter(value: ListSessionsRequest.Filter | undefined);
150
+ get filters(): armonikApiGrpcV1Sessions007.Filters | undefined;
151
+ set filters(value: armonikApiGrpcV1Sessions007.Filters | undefined);
466
152
  get sort(): ListSessionsRequest.Sort | undefined;
467
153
  set sort(value: ListSessionsRequest.Sort | undefined);
468
154
  get withTaskOptions(): boolean;
@@ -494,7 +180,7 @@ export declare module ListSessionsRequest {
494
180
  interface AsObject {
495
181
  page: number;
496
182
  pageSize: number;
497
- filter?: ListSessionsRequest.Filter.AsObject;
183
+ filters?: armonikApiGrpcV1Sessions007.Filters.AsObject;
498
184
  sort?: ListSessionsRequest.Sort.AsObject;
499
185
  withTaskOptions: boolean;
500
186
  }
@@ -504,114 +190,10 @@ export declare module ListSessionsRequest {
504
190
  interface AsProtobufJSON {
505
191
  page: number;
506
192
  pageSize: number;
507
- filter: ListSessionsRequest.Filter.AsProtobufJSON | null;
193
+ filters: armonikApiGrpcV1Sessions007.Filters.AsProtobufJSON | null;
508
194
  sort: ListSessionsRequest.Sort.AsProtobufJSON | null;
509
195
  withTaskOptions: boolean;
510
196
  }
511
- /**
512
- * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest.Filter
513
- */
514
- class Filter implements GrpcMessage {
515
- static id: string;
516
- /**
517
- * Deserialize binary data to message
518
- * @param instance message instance
519
- */
520
- static deserializeBinary(bytes: ByteSource): Filter;
521
- /**
522
- * Check all the properties and set default protobuf values if necessary
523
- * @param _instance message instance
524
- */
525
- static refineValues(_instance: Filter): void;
526
- /**
527
- * Deserializes / reads binary message into message instance using provided binary reader
528
- * @param _instance message instance
529
- * @param _reader binary reader instance
530
- */
531
- static deserializeBinaryFromReader(_instance: Filter, _reader: BinaryReader): void;
532
- /**
533
- * Serializes a message to binary format using provided binary reader
534
- * @param _instance message instance
535
- * @param _writer binary writer instance
536
- */
537
- static serializeBinaryToWriter(_instance: Filter, _writer: BinaryWriter): void;
538
- private _applicationName;
539
- private _applicationVersion;
540
- private _sessionId;
541
- private _createdAfter?;
542
- private _createdBefore?;
543
- private _cancelledAfter?;
544
- private _cancelledBefore?;
545
- private _status;
546
- /**
547
- * Message constructor. Initializes the properties and applies default Protobuf values if necessary
548
- * @param _value initial values object or instance of Filter to deeply clone from
549
- */
550
- constructor(_value?: RecursivePartial<Filter.AsObject>);
551
- get applicationName(): string;
552
- set applicationName(value: string);
553
- get applicationVersion(): string;
554
- set applicationVersion(value: string);
555
- get sessionId(): string;
556
- set sessionId(value: string);
557
- get createdAfter(): googleProtobuf002.Timestamp | undefined;
558
- set createdAfter(value: googleProtobuf002.Timestamp | undefined);
559
- get createdBefore(): googleProtobuf002.Timestamp | undefined;
560
- set createdBefore(value: googleProtobuf002.Timestamp | undefined);
561
- get cancelledAfter(): googleProtobuf002.Timestamp | undefined;
562
- set cancelledAfter(value: googleProtobuf002.Timestamp | undefined);
563
- get cancelledBefore(): googleProtobuf002.Timestamp | undefined;
564
- set cancelledBefore(value: googleProtobuf002.Timestamp | undefined);
565
- get status(): armonikApiGrpcV1Session_status004.SessionStatus;
566
- set status(value: armonikApiGrpcV1Session_status004.SessionStatus);
567
- /**
568
- * Serialize message to binary data
569
- * @param instance message instance
570
- */
571
- serializeBinary(): Uint8Array;
572
- /**
573
- * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
574
- */
575
- toObject(): Filter.AsObject;
576
- /**
577
- * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
578
- */
579
- toJSON(): Filter.AsObject;
580
- /**
581
- * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
582
- * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
583
- * 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
584
- */
585
- toProtobufJSON(options?: ToProtobufJSONOptions): Filter.AsProtobufJSON;
586
- }
587
- module Filter {
588
- /**
589
- * Standard JavaScript object representation for Filter
590
- */
591
- interface AsObject {
592
- applicationName: string;
593
- applicationVersion: string;
594
- sessionId: string;
595
- createdAfter?: googleProtobuf002.Timestamp.AsObject;
596
- createdBefore?: googleProtobuf002.Timestamp.AsObject;
597
- cancelledAfter?: googleProtobuf002.Timestamp.AsObject;
598
- cancelledBefore?: googleProtobuf002.Timestamp.AsObject;
599
- status: armonikApiGrpcV1Session_status004.SessionStatus;
600
- }
601
- /**
602
- * Protobuf JSON representation for Filter
603
- */
604
- interface AsProtobufJSON {
605
- applicationName: string;
606
- applicationVersion: string;
607
- sessionId: string;
608
- createdAfter: googleProtobuf002.Timestamp.AsProtobufJSON | null;
609
- createdBefore: googleProtobuf002.Timestamp.AsProtobufJSON | null;
610
- cancelledAfter: googleProtobuf002.Timestamp.AsProtobufJSON | null;
611
- cancelledBefore: googleProtobuf002.Timestamp.AsProtobufJSON | null;
612
- status: string;
613
- }
614
- }
615
197
  /**
616
198
  * Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest.Sort
617
199
  */
@@ -646,10 +228,10 @@ export declare module ListSessionsRequest {
646
228
  * @param _value initial values object or instance of Sort to deeply clone from
647
229
  */
648
230
  constructor(_value?: RecursivePartial<Sort.AsObject>);
649
- get field(): SessionField | undefined;
650
- set field(value: SessionField | undefined);
651
- get direction(): armonikApiGrpcV1Sort_direction005.SortDirection;
652
- set direction(value: armonikApiGrpcV1Sort_direction005.SortDirection);
231
+ get field(): armonikApiGrpcV1Sessions004.SessionField | undefined;
232
+ set field(value: armonikApiGrpcV1Sessions004.SessionField | undefined);
233
+ get direction(): armonikApiGrpcV1Sort_direction008.SortDirection;
234
+ set direction(value: armonikApiGrpcV1Sort_direction008.SortDirection);
653
235
  /**
654
236
  * Serialize message to binary data
655
237
  * @param instance message instance
@@ -675,14 +257,14 @@ export declare module ListSessionsRequest {
675
257
  * Standard JavaScript object representation for Sort
676
258
  */
677
259
  interface AsObject {
678
- field?: SessionField.AsObject;
679
- direction: armonikApiGrpcV1Sort_direction005.SortDirection;
260
+ field?: armonikApiGrpcV1Sessions004.SessionField.AsObject;
261
+ direction: armonikApiGrpcV1Sort_direction008.SortDirection;
680
262
  }
681
263
  /**
682
264
  * Protobuf JSON representation for Sort
683
265
  */
684
266
  interface AsProtobufJSON {
685
- field: SessionField.AsProtobufJSON | null;
267
+ field: armonikApiGrpcV1Sessions004.SessionField.AsProtobufJSON | null;
686
268
  direction: string;
687
269
  }
688
270
  }
@@ -1048,40 +630,43 @@ export declare module CancelSessionResponse {
1048
630
  }
1049
631
  }
1050
632
  /**
1051
- * Message implementation for armonik.api.grpc.v1.sessions.CountTasksByStatusRequest
633
+ * Message implementation for armonik.api.grpc.v1.sessions.CreateSessionRequest
1052
634
  */
1053
- export declare class CountTasksByStatusRequest implements GrpcMessage {
635
+ export declare class CreateSessionRequest implements GrpcMessage {
1054
636
  static id: string;
1055
637
  /**
1056
638
  * Deserialize binary data to message
1057
639
  * @param instance message instance
1058
640
  */
1059
- static deserializeBinary(bytes: ByteSource): CountTasksByStatusRequest;
641
+ static deserializeBinary(bytes: ByteSource): CreateSessionRequest;
1060
642
  /**
1061
643
  * Check all the properties and set default protobuf values if necessary
1062
644
  * @param _instance message instance
1063
645
  */
1064
- static refineValues(_instance: CountTasksByStatusRequest): void;
646
+ static refineValues(_instance: CreateSessionRequest): void;
1065
647
  /**
1066
648
  * Deserializes / reads binary message into message instance using provided binary reader
1067
649
  * @param _instance message instance
1068
650
  * @param _reader binary reader instance
1069
651
  */
1070
- static deserializeBinaryFromReader(_instance: CountTasksByStatusRequest, _reader: BinaryReader): void;
652
+ static deserializeBinaryFromReader(_instance: CreateSessionRequest, _reader: BinaryReader): void;
1071
653
  /**
1072
654
  * Serializes a message to binary format using provided binary reader
1073
655
  * @param _instance message instance
1074
656
  * @param _writer binary writer instance
1075
657
  */
1076
- static serializeBinaryToWriter(_instance: CountTasksByStatusRequest, _writer: BinaryWriter): void;
1077
- private _sessionId;
658
+ static serializeBinaryToWriter(_instance: CreateSessionRequest, _writer: BinaryWriter): void;
659
+ private _defaultTaskOption?;
660
+ private _partitionIds;
1078
661
  /**
1079
662
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1080
- * @param _value initial values object or instance of CountTasksByStatusRequest to deeply clone from
663
+ * @param _value initial values object or instance of CreateSessionRequest to deeply clone from
1081
664
  */
1082
- constructor(_value?: RecursivePartial<CountTasksByStatusRequest.AsObject>);
1083
- get sessionId(): string;
1084
- set sessionId(value: string);
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[]);
1085
670
  /**
1086
671
  * Serialize message to binary data
1087
672
  * @param instance message instance
@@ -1090,67 +675,69 @@ export declare class CountTasksByStatusRequest implements GrpcMessage {
1090
675
  /**
1091
676
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1092
677
  */
1093
- toObject(): CountTasksByStatusRequest.AsObject;
678
+ toObject(): CreateSessionRequest.AsObject;
1094
679
  /**
1095
680
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1096
681
  */
1097
- toJSON(): CountTasksByStatusRequest.AsObject;
682
+ toJSON(): CreateSessionRequest.AsObject;
1098
683
  /**
1099
684
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1100
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.
1101
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
1102
687
  */
1103
- toProtobufJSON(options?: ToProtobufJSONOptions): CountTasksByStatusRequest.AsProtobufJSON;
688
+ toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionRequest.AsProtobufJSON;
1104
689
  }
1105
- export declare module CountTasksByStatusRequest {
690
+ export declare module CreateSessionRequest {
1106
691
  /**
1107
- * Standard JavaScript object representation for CountTasksByStatusRequest
692
+ * Standard JavaScript object representation for CreateSessionRequest
1108
693
  */
1109
694
  interface AsObject {
1110
- sessionId: string;
695
+ defaultTaskOption?: armonikApiGrpcV1006.TaskOptions.AsObject;
696
+ partitionIds: string[];
1111
697
  }
1112
698
  /**
1113
- * Protobuf JSON representation for CountTasksByStatusRequest
699
+ * Protobuf JSON representation for CreateSessionRequest
1114
700
  */
1115
701
  interface AsProtobufJSON {
1116
- sessionId: string;
702
+ defaultTaskOption: armonikApiGrpcV1006.TaskOptions.AsProtobufJSON | null;
703
+ partitionIds: string[];
1117
704
  }
1118
705
  }
1119
706
  /**
1120
- * Message implementation for armonik.api.grpc.v1.sessions.CountTasksByStatusResponse
707
+ * Message implementation for armonik.api.grpc.v1.sessions.CreateSessionReply
1121
708
  */
1122
- export declare class CountTasksByStatusResponse implements GrpcMessage {
709
+ export declare class CreateSessionReply implements GrpcMessage {
1123
710
  static id: string;
1124
711
  /**
1125
712
  * Deserialize binary data to message
1126
713
  * @param instance message instance
1127
714
  */
1128
- static deserializeBinary(bytes: ByteSource): CountTasksByStatusResponse;
715
+ static deserializeBinary(bytes: ByteSource): CreateSessionReply;
1129
716
  /**
1130
717
  * Check all the properties and set default protobuf values if necessary
1131
718
  * @param _instance message instance
1132
719
  */
1133
- static refineValues(_instance: CountTasksByStatusResponse): void;
720
+ static refineValues(_instance: CreateSessionReply): void;
1134
721
  /**
1135
722
  * Deserializes / reads binary message into message instance using provided binary reader
1136
723
  * @param _instance message instance
1137
724
  * @param _reader binary reader instance
1138
725
  */
1139
- static deserializeBinaryFromReader(_instance: CountTasksByStatusResponse, _reader: BinaryReader): void;
726
+ static deserializeBinaryFromReader(_instance: CreateSessionReply, _reader: BinaryReader): void;
1140
727
  /**
1141
728
  * Serializes a message to binary format using provided binary reader
1142
729
  * @param _instance message instance
1143
730
  * @param _writer binary writer instance
1144
731
  */
1145
- static serializeBinaryToWriter(_instance: CountTasksByStatusResponse, _writer: BinaryWriter): void;
1146
- private _status?;
732
+ static serializeBinaryToWriter(_instance: CreateSessionReply, _writer: BinaryWriter): void;
733
+ private _sessionId;
1147
734
  /**
1148
735
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1149
- * @param _value initial values object or instance of CountTasksByStatusResponse to deeply clone from
736
+ * @param _value initial values object or instance of CreateSessionReply to deeply clone from
1150
737
  */
1151
- constructor(_value?: RecursivePartial<CountTasksByStatusResponse.AsObject>);
1152
- get status(): armonikApiGrpcV1003.StatusCount[] | undefined;
1153
- set status(value: armonikApiGrpcV1003.StatusCount[] | undefined);
738
+ constructor(_value?: RecursivePartial<CreateSessionReply.AsObject>);
739
+ get sessionId(): string;
740
+ set sessionId(value: string);
1154
741
  /**
1155
742
  * Serialize message to binary data
1156
743
  * @param instance message instance
@@ -1159,29 +746,29 @@ export declare class CountTasksByStatusResponse implements GrpcMessage {
1159
746
  /**
1160
747
  * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1161
748
  */
1162
- toObject(): CountTasksByStatusResponse.AsObject;
749
+ toObject(): CreateSessionReply.AsObject;
1163
750
  /**
1164
751
  * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1165
752
  */
1166
- toJSON(): CountTasksByStatusResponse.AsObject;
753
+ toJSON(): CreateSessionReply.AsObject;
1167
754
  /**
1168
755
  * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1169
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.
1170
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
1171
758
  */
1172
- toProtobufJSON(options?: ToProtobufJSONOptions): CountTasksByStatusResponse.AsProtobufJSON;
759
+ toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionReply.AsProtobufJSON;
1173
760
  }
1174
- export declare module CountTasksByStatusResponse {
761
+ export declare module CreateSessionReply {
1175
762
  /**
1176
- * Standard JavaScript object representation for CountTasksByStatusResponse
763
+ * Standard JavaScript object representation for CreateSessionReply
1177
764
  */
1178
765
  interface AsObject {
1179
- status?: armonikApiGrpcV1003.StatusCount.AsObject[];
766
+ sessionId: string;
1180
767
  }
1181
768
  /**
1182
- * Protobuf JSON representation for CountTasksByStatusResponse
769
+ * Protobuf JSON representation for CreateSessionReply
1183
770
  */
1184
771
  interface AsProtobufJSON {
1185
- status: armonikApiGrpcV1003.StatusCount.AsProtobufJSON[] | null;
772
+ sessionId: string;
1186
773
  }
1187
774
  }