@aneoconsultingfr/armonik.api.angular 3.11.0-edge.24.2016d6e → 3.11.0-edge.28.34a9809
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/applications-common.pb.mjs +122 -19
- package/esm2022/lib/generated/tasks-common.pb.mjs +262 -56
- package/esm2022/lib/index.mjs +3 -3
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +383 -74
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/applications-common.pb.d.ts +75 -6
- package/lib/generated/tasks-common.pb.d.ts +150 -12
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/
|
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
3
|
import * as armonikApiGrpcV1002 from './objects.pb';
|
|
4
4
|
import * as armonikApiGrpcV1Sort_direction003 from './sort-direction.pb';
|
|
5
|
-
export declare enum
|
|
5
|
+
export declare enum ApplicationRawEnumField {
|
|
6
6
|
APPLICATION_RAW_FIELD_UNSPECIFIED = 0,
|
|
7
7
|
APPLICATION_RAW_FIELD_NAME = 1,
|
|
8
8
|
APPLICATION_RAW_FIELD_VERSION = 2,
|
|
@@ -93,6 +93,75 @@ export declare module ApplicationRaw {
|
|
|
93
93
|
service: string;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Message implementation for armonik.api.grpc.v1.applications.ApplicationRawField
|
|
98
|
+
*/
|
|
99
|
+
export declare class ApplicationRawField implements GrpcMessage {
|
|
100
|
+
static id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Deserialize binary data to message
|
|
103
|
+
* @param instance message instance
|
|
104
|
+
*/
|
|
105
|
+
static deserializeBinary(bytes: ByteSource): ApplicationRawField;
|
|
106
|
+
/**
|
|
107
|
+
* Check all the properties and set default protobuf values if necessary
|
|
108
|
+
* @param _instance message instance
|
|
109
|
+
*/
|
|
110
|
+
static refineValues(_instance: ApplicationRawField): void;
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
113
|
+
* @param _instance message instance
|
|
114
|
+
* @param _reader binary reader instance
|
|
115
|
+
*/
|
|
116
|
+
static deserializeBinaryFromReader(_instance: ApplicationRawField, _reader: BinaryReader): void;
|
|
117
|
+
/**
|
|
118
|
+
* Serializes a message to binary format using provided binary reader
|
|
119
|
+
* @param _instance message instance
|
|
120
|
+
* @param _writer binary writer instance
|
|
121
|
+
*/
|
|
122
|
+
static serializeBinaryToWriter(_instance: ApplicationRawField, _writer: BinaryWriter): void;
|
|
123
|
+
private _field;
|
|
124
|
+
/**
|
|
125
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
126
|
+
* @param _value initial values object or instance of ApplicationRawField to deeply clone from
|
|
127
|
+
*/
|
|
128
|
+
constructor(_value?: RecursivePartial<ApplicationRawField.AsObject>);
|
|
129
|
+
get field(): ApplicationRawEnumField;
|
|
130
|
+
set field(value: ApplicationRawEnumField);
|
|
131
|
+
/**
|
|
132
|
+
* Serialize message to binary data
|
|
133
|
+
* @param instance message instance
|
|
134
|
+
*/
|
|
135
|
+
serializeBinary(): Uint8Array;
|
|
136
|
+
/**
|
|
137
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
138
|
+
*/
|
|
139
|
+
toObject(): ApplicationRawField.AsObject;
|
|
140
|
+
/**
|
|
141
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
142
|
+
*/
|
|
143
|
+
toJSON(): ApplicationRawField.AsObject;
|
|
144
|
+
/**
|
|
145
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
146
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
147
|
+
* 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
|
|
148
|
+
*/
|
|
149
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ApplicationRawField.AsProtobufJSON;
|
|
150
|
+
}
|
|
151
|
+
export declare module ApplicationRawField {
|
|
152
|
+
/**
|
|
153
|
+
* Standard JavaScript object representation for ApplicationRawField
|
|
154
|
+
*/
|
|
155
|
+
interface AsObject {
|
|
156
|
+
field: ApplicationRawEnumField;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Protobuf JSON representation for ApplicationRawField
|
|
160
|
+
*/
|
|
161
|
+
interface AsProtobufJSON {
|
|
162
|
+
field: string;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
96
165
|
/**
|
|
97
166
|
* Message implementation for armonik.api.grpc.v1.applications.ApplicationField
|
|
98
167
|
*/
|
|
@@ -120,15 +189,15 @@ export declare class ApplicationField implements GrpcMessage {
|
|
|
120
189
|
* @param _writer binary writer instance
|
|
121
190
|
*/
|
|
122
191
|
static serializeBinaryToWriter(_instance: ApplicationField, _writer: BinaryWriter): void;
|
|
123
|
-
private _applicationField
|
|
192
|
+
private _applicationField?;
|
|
124
193
|
private _field;
|
|
125
194
|
/**
|
|
126
195
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
127
196
|
* @param _value initial values object or instance of ApplicationField to deeply clone from
|
|
128
197
|
*/
|
|
129
198
|
constructor(_value?: RecursivePartial<ApplicationField.AsObject>);
|
|
130
|
-
get applicationField(): ApplicationRawField;
|
|
131
|
-
set applicationField(value: ApplicationRawField);
|
|
199
|
+
get applicationField(): ApplicationRawField | undefined;
|
|
200
|
+
set applicationField(value: ApplicationRawField | undefined);
|
|
132
201
|
get field(): ApplicationField.FieldCase;
|
|
133
202
|
/**
|
|
134
203
|
* Serialize message to binary data
|
|
@@ -155,13 +224,13 @@ export declare module ApplicationField {
|
|
|
155
224
|
* Standard JavaScript object representation for ApplicationField
|
|
156
225
|
*/
|
|
157
226
|
interface AsObject {
|
|
158
|
-
applicationField
|
|
227
|
+
applicationField?: ApplicationRawField.AsObject;
|
|
159
228
|
}
|
|
160
229
|
/**
|
|
161
230
|
* Protobuf JSON representation for ApplicationField
|
|
162
231
|
*/
|
|
163
232
|
interface AsProtobufJSON {
|
|
164
|
-
applicationField:
|
|
233
|
+
applicationField: ApplicationRawField.AsProtobufJSON | null;
|
|
165
234
|
}
|
|
166
235
|
enum FieldCase {
|
|
167
236
|
none = 0,
|
|
@@ -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
|
|
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
|
|
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
|
|
599
|
-
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:
|
|
607
|
-
taskOptionField:
|
|
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SortDirection } from "./generated/sort-direction.pb";
|
|
2
|
-
export { ListApplicationsRequest, ListApplicationsResponse, CountTasksByStatusRequest as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse as CountTasksByStatusApplicationResponse, ApplicationRaw, ApplicationField, ApplicationRawField } from "./generated/applications-common.pb";
|
|
2
|
+
export { ListApplicationsRequest, ListApplicationsResponse, CountTasksByStatusRequest as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse as CountTasksByStatusApplicationResponse, ApplicationRaw, ApplicationRawEnumField, ApplicationField, ApplicationRawField } from "./generated/applications-common.pb";
|
|
3
3
|
export { ApplicationsClient } from "./generated/applications-service.pbsc";
|
|
4
4
|
export { GetCurrentUserRequest, GetCurrentUserResponse, User } from "./generated/auth-common.pb";
|
|
5
5
|
export { AuthenticationClient } from "./generated/auth-service.pbsc";
|
|
@@ -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