@aneoconsultingfr/armonik.api.angular 3.9.0-edge.99.db5fa3c → 3.9.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.
@@ -0,0 +1,140 @@
1
+ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
+ import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
+ /**
4
+ * Message implementation for armonik.api.grpc.v1.versions.ListVersionsRequest
5
+ */
6
+ export declare class ListVersionsRequest implements GrpcMessage {
7
+ static id: string;
8
+ /**
9
+ * Deserialize binary data to message
10
+ * @param instance message instance
11
+ */
12
+ static deserializeBinary(bytes: ByteSource): ListVersionsRequest;
13
+ /**
14
+ * Check all the properties and set default protobuf values if necessary
15
+ * @param _instance message instance
16
+ */
17
+ static refineValues(_instance: ListVersionsRequest): void;
18
+ /**
19
+ * Deserializes / reads binary message into message instance using provided binary reader
20
+ * @param _instance message instance
21
+ * @param _reader binary reader instance
22
+ */
23
+ static deserializeBinaryFromReader(_instance: ListVersionsRequest, _reader: BinaryReader): void;
24
+ /**
25
+ * Serializes a message to binary format using provided binary reader
26
+ * @param _instance message instance
27
+ * @param _writer binary writer instance
28
+ */
29
+ static serializeBinaryToWriter(_instance: ListVersionsRequest, _writer: BinaryWriter): void;
30
+ /**
31
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
32
+ * @param _value initial values object or instance of ListVersionsRequest to deeply clone from
33
+ */
34
+ constructor(_value?: RecursivePartial<ListVersionsRequest.AsObject>);
35
+ /**
36
+ * Serialize message to binary data
37
+ * @param instance message instance
38
+ */
39
+ serializeBinary(): Uint8Array;
40
+ /**
41
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
42
+ */
43
+ toObject(): ListVersionsRequest.AsObject;
44
+ /**
45
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
46
+ */
47
+ toJSON(): ListVersionsRequest.AsObject;
48
+ /**
49
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
50
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
51
+ * 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
52
+ */
53
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListVersionsRequest.AsProtobufJSON;
54
+ }
55
+ export declare module ListVersionsRequest {
56
+ /**
57
+ * Standard JavaScript object representation for ListVersionsRequest
58
+ */
59
+ interface AsObject {
60
+ }
61
+ /**
62
+ * Protobuf JSON representation for ListVersionsRequest
63
+ */
64
+ interface AsProtobufJSON {
65
+ }
66
+ }
67
+ /**
68
+ * Message implementation for armonik.api.grpc.v1.versions.ListVersionsResponse
69
+ */
70
+ export declare class ListVersionsResponse implements GrpcMessage {
71
+ static id: string;
72
+ /**
73
+ * Deserialize binary data to message
74
+ * @param instance message instance
75
+ */
76
+ static deserializeBinary(bytes: ByteSource): ListVersionsResponse;
77
+ /**
78
+ * Check all the properties and set default protobuf values if necessary
79
+ * @param _instance message instance
80
+ */
81
+ static refineValues(_instance: ListVersionsResponse): void;
82
+ /**
83
+ * Deserializes / reads binary message into message instance using provided binary reader
84
+ * @param _instance message instance
85
+ * @param _reader binary reader instance
86
+ */
87
+ static deserializeBinaryFromReader(_instance: ListVersionsResponse, _reader: BinaryReader): void;
88
+ /**
89
+ * Serializes a message to binary format using provided binary reader
90
+ * @param _instance message instance
91
+ * @param _writer binary writer instance
92
+ */
93
+ static serializeBinaryToWriter(_instance: ListVersionsResponse, _writer: BinaryWriter): void;
94
+ private _core;
95
+ private _api;
96
+ /**
97
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
98
+ * @param _value initial values object or instance of ListVersionsResponse to deeply clone from
99
+ */
100
+ constructor(_value?: RecursivePartial<ListVersionsResponse.AsObject>);
101
+ get core(): string;
102
+ set core(value: string);
103
+ get api(): string;
104
+ set api(value: string);
105
+ /**
106
+ * Serialize message to binary data
107
+ * @param instance message instance
108
+ */
109
+ serializeBinary(): Uint8Array;
110
+ /**
111
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
112
+ */
113
+ toObject(): ListVersionsResponse.AsObject;
114
+ /**
115
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
116
+ */
117
+ toJSON(): ListVersionsResponse.AsObject;
118
+ /**
119
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
120
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
121
+ * 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
122
+ */
123
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListVersionsResponse.AsProtobufJSON;
124
+ }
125
+ export declare module ListVersionsResponse {
126
+ /**
127
+ * Standard JavaScript object representation for ListVersionsResponse
128
+ */
129
+ interface AsObject {
130
+ core: string;
131
+ api: string;
132
+ }
133
+ /**
134
+ * Protobuf JSON representation for ListVersionsResponse
135
+ */
136
+ interface AsProtobufJSON {
137
+ core: string;
138
+ api: string;
139
+ }
140
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * Specific GrpcClientSettings for Versions.
4
+ * Use it only if your default settings are not set or the service requires other settings.
5
+ */
6
+ export declare const GRPC_VERSIONS_CLIENT_SETTINGS: InjectionToken<any>;
@@ -0,0 +1,38 @@
1
+ import { GrpcClientFactory, GrpcEvent, GrpcMetadata } from '@ngx-grpc/common';
2
+ import { GrpcHandler } from '@ngx-grpc/core';
3
+ import { Observable } from 'rxjs';
4
+ import * as armonikApiGrpcV1Versions000 from './versions-common.pb';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Service client implementation for armonik.api.grpc.v1.versions.Versions
8
+ */
9
+ export declare class VersionsClient {
10
+ private handler;
11
+ private client;
12
+ /**
13
+ * Raw RPC implementation for each service client method.
14
+ * The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
15
+ * Attention: these methods do not throw errors when non-zero status codes are received.
16
+ */
17
+ $raw: {
18
+ /**
19
+ * Unary call: /armonik.api.grpc.v1.versions.Versions/ListVersions
20
+ *
21
+ * @param requestMessage Request message
22
+ * @param requestMetadata Request metadata
23
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Versions000.ListVersionsResponse>>
24
+ */
25
+ listVersions: (requestData: armonikApiGrpcV1Versions000.ListVersionsRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Versions000.ListVersionsResponse>>;
26
+ };
27
+ constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
28
+ /**
29
+ * Unary call @/armonik.api.grpc.v1.versions.Versions/ListVersions
30
+ *
31
+ * @param requestMessage Request message
32
+ * @param requestMetadata Request metadata
33
+ * @returns Observable<armonikApiGrpcV1Versions000.ListVersionsResponse>
34
+ */
35
+ listVersions(requestData: armonikApiGrpcV1Versions000.ListVersionsRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Versions000.ListVersionsResponse>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<VersionsClient, [{ optional: true; }, null, null]>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<VersionsClient>;
38
+ }
package/lib/index.d.ts CHANGED
@@ -4,7 +4,7 @@ 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";
6
6
  export { ResultStatus } from "./generated/result-status.pb";
7
- export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, ResultRaw, ResultField, ResultRawField, } from "./generated/results-common.pb";
7
+ export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, GetResultRequest, GetResultResponse, ResultRaw, ResultField, ResultRawField, } from "./generated/results-common.pb";
8
8
  export { ResultsClient } from "./generated/results-service.pbsc";
9
9
  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";
@@ -15,3 +15,6 @@ 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";
17
17
  export { StatusCount } from "./generated/objects.pb";
18
+ export { ListVersionsRequest, ListVersionsResponse } from "./generated/versions-common.pb";
19
+ export { VersionsClient } from "./generated/versions-service.pbsc";
20
+ export { TaskOptions } from "./generated/objects.pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneoconsultingfr/armonik.api.angular",
3
- "version": "3.9.0-edge.99.db5fa3c",
3
+ "version": "3.9.0",
4
4
  "description": "gRPC API to interact with ArmoniK built for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.0.1",