@aneoconsultingfr/armonik.api.angular 3.11.0-edge.24.2016d6e → 3.11.0-edge.26.0e3ef4b

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.
@@ -5,7 +5,7 @@ import * as armonikApiGrpcV1Task_status001 from './task-status.pb';
5
5
  import * as googleProtobuf002 from '@ngx-grpc/well-known-types';
6
6
  import * as armonikApiGrpcV1003 from './objects.pb';
7
7
  import * as armonikApiGrpcV1Sort_direction004 from './sort-direction.pb';
8
- export declare enum TaskSummaryField {
8
+ export declare enum TaskSummaryEnumField {
9
9
  TASK_SUMMARY_FIELD_UNSPECIFIED = 0,
10
10
  TASK_SUMMARY_FIELD_TASK_ID = 16,
11
11
  TASK_SUMMARY_FIELD_SESSION_ID = 1,
@@ -24,7 +24,7 @@ export declare enum TaskSummaryField {
24
24
  TASK_SUMMARY_FIELD_ACQUIRED_AT = 15,
25
25
  TASK_SUMMARY_FIELD_ERROR = 8
26
26
  }
27
- export declare enum TaskOptionField {
27
+ export declare enum TaskOptionEnumField {
28
28
  TASK_OPTION_FIELD_UNSPECIFIED = 0,
29
29
  TASK_OPTION_FIELD_MAX_DURATION = 1,
30
30
  TASK_OPTION_FIELD_MAX_RETRIES = 2,
@@ -458,6 +458,144 @@ export declare module TaskSummary {
458
458
  acquiredAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
459
459
  }
460
460
  }
461
+ /**
462
+ * Message implementation for armonik.api.grpc.v1.tasks.TaskSummaryField
463
+ */
464
+ export declare class TaskSummaryField implements GrpcMessage {
465
+ static id: string;
466
+ /**
467
+ * Deserialize binary data to message
468
+ * @param instance message instance
469
+ */
470
+ static deserializeBinary(bytes: ByteSource): TaskSummaryField;
471
+ /**
472
+ * Check all the properties and set default protobuf values if necessary
473
+ * @param _instance message instance
474
+ */
475
+ static refineValues(_instance: TaskSummaryField): void;
476
+ /**
477
+ * Deserializes / reads binary message into message instance using provided binary reader
478
+ * @param _instance message instance
479
+ * @param _reader binary reader instance
480
+ */
481
+ static deserializeBinaryFromReader(_instance: TaskSummaryField, _reader: BinaryReader): void;
482
+ /**
483
+ * Serializes a message to binary format using provided binary reader
484
+ * @param _instance message instance
485
+ * @param _writer binary writer instance
486
+ */
487
+ static serializeBinaryToWriter(_instance: TaskSummaryField, _writer: BinaryWriter): void;
488
+ private _field;
489
+ /**
490
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
491
+ * @param _value initial values object or instance of TaskSummaryField to deeply clone from
492
+ */
493
+ constructor(_value?: RecursivePartial<TaskSummaryField.AsObject>);
494
+ get field(): TaskSummaryEnumField;
495
+ set field(value: TaskSummaryEnumField);
496
+ /**
497
+ * Serialize message to binary data
498
+ * @param instance message instance
499
+ */
500
+ serializeBinary(): Uint8Array;
501
+ /**
502
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
503
+ */
504
+ toObject(): TaskSummaryField.AsObject;
505
+ /**
506
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
507
+ */
508
+ toJSON(): TaskSummaryField.AsObject;
509
+ /**
510
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
511
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
512
+ * 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
513
+ */
514
+ toProtobufJSON(options?: ToProtobufJSONOptions): TaskSummaryField.AsProtobufJSON;
515
+ }
516
+ export declare module TaskSummaryField {
517
+ /**
518
+ * Standard JavaScript object representation for TaskSummaryField
519
+ */
520
+ interface AsObject {
521
+ field: TaskSummaryEnumField;
522
+ }
523
+ /**
524
+ * Protobuf JSON representation for TaskSummaryField
525
+ */
526
+ interface AsProtobufJSON {
527
+ field: string;
528
+ }
529
+ }
530
+ /**
531
+ * Message implementation for armonik.api.grpc.v1.tasks.TaskOptionField
532
+ */
533
+ export declare class TaskOptionField implements GrpcMessage {
534
+ static id: string;
535
+ /**
536
+ * Deserialize binary data to message
537
+ * @param instance message instance
538
+ */
539
+ static deserializeBinary(bytes: ByteSource): TaskOptionField;
540
+ /**
541
+ * Check all the properties and set default protobuf values if necessary
542
+ * @param _instance message instance
543
+ */
544
+ static refineValues(_instance: TaskOptionField): void;
545
+ /**
546
+ * Deserializes / reads binary message into message instance using provided binary reader
547
+ * @param _instance message instance
548
+ * @param _reader binary reader instance
549
+ */
550
+ static deserializeBinaryFromReader(_instance: TaskOptionField, _reader: BinaryReader): void;
551
+ /**
552
+ * Serializes a message to binary format using provided binary reader
553
+ * @param _instance message instance
554
+ * @param _writer binary writer instance
555
+ */
556
+ static serializeBinaryToWriter(_instance: TaskOptionField, _writer: BinaryWriter): void;
557
+ private _field;
558
+ /**
559
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
560
+ * @param _value initial values object or instance of TaskOptionField to deeply clone from
561
+ */
562
+ constructor(_value?: RecursivePartial<TaskOptionField.AsObject>);
563
+ get field(): TaskOptionEnumField;
564
+ set field(value: TaskOptionEnumField);
565
+ /**
566
+ * Serialize message to binary data
567
+ * @param instance message instance
568
+ */
569
+ serializeBinary(): Uint8Array;
570
+ /**
571
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
572
+ */
573
+ toObject(): TaskOptionField.AsObject;
574
+ /**
575
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
576
+ */
577
+ toJSON(): TaskOptionField.AsObject;
578
+ /**
579
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
580
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
581
+ * 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
582
+ */
583
+ toProtobufJSON(options?: ToProtobufJSONOptions): TaskOptionField.AsProtobufJSON;
584
+ }
585
+ export declare module TaskOptionField {
586
+ /**
587
+ * Standard JavaScript object representation for TaskOptionField
588
+ */
589
+ interface AsObject {
590
+ field: TaskOptionEnumField;
591
+ }
592
+ /**
593
+ * Protobuf JSON representation for TaskOptionField
594
+ */
595
+ interface AsProtobufJSON {
596
+ field: string;
597
+ }
598
+ }
461
599
  /**
462
600
  * Message implementation for armonik.api.grpc.v1.tasks.TaskOptionGenericField
463
601
  */
@@ -554,8 +692,8 @@ export declare class TaskField implements GrpcMessage {
554
692
  * @param _writer binary writer instance
555
693
  */
556
694
  static serializeBinaryToWriter(_instance: TaskField, _writer: BinaryWriter): void;
557
- private _taskSummaryField;
558
- private _taskOptionField;
695
+ private _taskSummaryField?;
696
+ private _taskOptionField?;
559
697
  private _taskOptionGenericField?;
560
698
  private _field;
561
699
  /**
@@ -563,10 +701,10 @@ export declare class TaskField implements GrpcMessage {
563
701
  * @param _value initial values object or instance of TaskField to deeply clone from
564
702
  */
565
703
  constructor(_value?: RecursivePartial<TaskField.AsObject>);
566
- get taskSummaryField(): TaskSummaryField;
567
- set taskSummaryField(value: TaskSummaryField);
568
- get taskOptionField(): TaskOptionField;
569
- set taskOptionField(value: TaskOptionField);
704
+ get taskSummaryField(): TaskSummaryField | undefined;
705
+ set taskSummaryField(value: TaskSummaryField | undefined);
706
+ get taskOptionField(): TaskOptionField | undefined;
707
+ set taskOptionField(value: TaskOptionField | undefined);
570
708
  get taskOptionGenericField(): TaskOptionGenericField | undefined;
571
709
  set taskOptionGenericField(value: TaskOptionGenericField | undefined);
572
710
  get field(): TaskField.FieldCase;
@@ -595,16 +733,16 @@ export declare module TaskField {
595
733
  * Standard JavaScript object representation for TaskField
596
734
  */
597
735
  interface AsObject {
598
- taskSummaryField: TaskSummaryField;
599
- taskOptionField: TaskOptionField;
736
+ taskSummaryField?: TaskSummaryField.AsObject;
737
+ taskOptionField?: TaskOptionField.AsObject;
600
738
  taskOptionGenericField?: TaskOptionGenericField.AsObject;
601
739
  }
602
740
  /**
603
741
  * Protobuf JSON representation for TaskField
604
742
  */
605
743
  interface AsProtobufJSON {
606
- taskSummaryField: string | null;
607
- taskOptionField: string | null;
744
+ taskSummaryField: TaskSummaryField.AsProtobufJSON | null;
745
+ taskOptionField: TaskOptionField.AsProtobufJSON | null;
608
746
  taskOptionGenericField: TaskOptionGenericField.AsProtobufJSON | null;
609
747
  }
610
748
  enum FieldCase {
package/lib/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export { SessionStatus } from "./generated/session-status.pb";
10
10
  export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse, CountTasksByStatusRequest as CountTasksByStatusSessionRequest, CountTasksByStatusResponse as CountTasksByStatusSessionResponse, SessionRaw, SessionRawField, SessionField } from "./generated/sessions-common.pb";
11
11
  export { SessionsClient } from "./generated/sessions-service.pbsc";
12
12
  export { TaskStatus } from "./generated/task-status.pb";
13
- export { CancelTasksRequest, CancelTasksResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, TaskRaw, TaskSummary, TaskField, TaskSummaryField, TaskOptionField, TaskOptionGenericField, } from "./generated/tasks-common.pb";
13
+ export { CancelTasksRequest, CancelTasksResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, TaskRaw, TaskSummary, TaskField, TaskOptionEnumField, TaskSummaryEnumField, TaskSummaryField, TaskOptionField, TaskOptionGenericField, } from "./generated/tasks-common.pb";
14
14
  export { TasksClient } from "./generated/tasks-service.pbsc";
15
15
  export { GetPartitionRequest, GetPartitionResponse, ListPartitionsRequest, ListPartitionsResponse, PartitionRaw, PartitionRawField, PartitionField, } from "./generated/partitions-common.pb";
16
16
  export { PartitionsClient } from "./generated/partitions-service.pbsc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneoconsultingfr/armonik.api.angular",
3
- "version": "3.11.0-edge.24.2016d6e",
3
+ "version": "3.11.0-edge.26.0e3ef4b",
4
4
  "description": "gRPC API to interact with ArmoniK built for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.1.3",