@aneoconsultingfr/armonik.api.angular 3.4.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 (68) hide show
  1. package/README.md +24 -0
  2. package/esm2020/aneoconsultingfr-armonik.api.angular.mjs +5 -0
  3. package/esm2020/lib/generated/applications-common.pb.mjs +964 -0
  4. package/esm2020/lib/generated/applications-service.pb.mjs +2 -0
  5. package/esm2020/lib/generated/applications-service.pbconf.mjs +13 -0
  6. package/esm2020/lib/generated/applications-service.pbsc.mjs +104 -0
  7. package/esm2020/lib/generated/auth-common.pb.mjs +318 -0
  8. package/esm2020/lib/generated/auth-service.pb.mjs +2 -0
  9. package/esm2020/lib/generated/auth-service.pbconf.mjs +13 -0
  10. package/esm2020/lib/generated/auth-service.pbsc.mjs +74 -0
  11. package/esm2020/lib/generated/objects.pb.mjs +2705 -0
  12. package/esm2020/lib/generated/partitions-common.pb.mjs +1169 -0
  13. package/esm2020/lib/generated/partitions-service.pb.mjs +2 -0
  14. package/esm2020/lib/generated/partitions-service.pbconf.mjs +13 -0
  15. package/esm2020/lib/generated/partitions-service.pbsc.mjs +104 -0
  16. package/esm2020/lib/generated/result-status.pb.mjs +15 -0
  17. package/esm2020/lib/generated/results-common.pb.mjs +1167 -0
  18. package/esm2020/lib/generated/results-service.pb.mjs +2 -0
  19. package/esm2020/lib/generated/results-service.pbconf.mjs +13 -0
  20. package/esm2020/lib/generated/results-service.pbsc.mjs +104 -0
  21. package/esm2020/lib/generated/session-status.pb.mjs +13 -0
  22. package/esm2020/lib/generated/sessions-common.pb.mjs +1683 -0
  23. package/esm2020/lib/generated/sessions-service.pb.mjs +2 -0
  24. package/esm2020/lib/generated/sessions-service.pbconf.mjs +13 -0
  25. package/esm2020/lib/generated/sessions-service.pbsc.mjs +164 -0
  26. package/esm2020/lib/generated/task-status.pb.mjs +21 -0
  27. package/esm2020/lib/generated/tasks-common.pb.mjs +2398 -0
  28. package/esm2020/lib/generated/tasks-service.pb.mjs +2 -0
  29. package/esm2020/lib/generated/tasks-service.pbconf.mjs +13 -0
  30. package/esm2020/lib/generated/tasks-service.pbsc.mjs +194 -0
  31. package/esm2020/lib/index.mjs +16 -0
  32. package/esm2020/public-api.mjs +5 -0
  33. package/fesm2015/aneoconsultingfr-armonik.api.angular.mjs +11173 -0
  34. package/fesm2015/aneoconsultingfr-armonik.api.angular.mjs.map +1 -0
  35. package/fesm2020/aneoconsultingfr-armonik.api.angular.mjs +11161 -0
  36. package/fesm2020/aneoconsultingfr-armonik.api.angular.mjs.map +1 -0
  37. package/index.d.ts +5 -0
  38. package/lib/generated/applications-common.pb.d.ts +568 -0
  39. package/lib/generated/applications-service.pb.d.ts +1 -0
  40. package/lib/generated/applications-service.pbconf.d.ts +6 -0
  41. package/lib/generated/applications-service.pbsc.d.ts +54 -0
  42. package/lib/generated/auth-common.pb.d.ts +214 -0
  43. package/lib/generated/auth-service.pb.d.ts +1 -0
  44. package/lib/generated/auth-service.pbconf.d.ts +6 -0
  45. package/lib/generated/auth-service.pbsc.d.ts +38 -0
  46. package/lib/generated/objects.pb.d.ts +1673 -0
  47. package/lib/generated/partitions-common.pb.d.ts +671 -0
  48. package/lib/generated/partitions-service.pb.d.ts +1 -0
  49. package/lib/generated/partitions-service.pbconf.d.ts +6 -0
  50. package/lib/generated/partitions-service.pbsc.d.ts +54 -0
  51. package/lib/generated/result-status.pb.d.ts +7 -0
  52. package/lib/generated/results-common.pb.d.ts +664 -0
  53. package/lib/generated/results-service.pb.d.ts +1 -0
  54. package/lib/generated/results-service.pbconf.d.ts +6 -0
  55. package/lib/generated/results-service.pbsc.d.ts +54 -0
  56. package/lib/generated/session-status.pb.d.ts +5 -0
  57. package/lib/generated/sessions-common.pb.d.ts +965 -0
  58. package/lib/generated/sessions-service.pb.d.ts +1 -0
  59. package/lib/generated/sessions-service.pbconf.d.ts +6 -0
  60. package/lib/generated/sessions-service.pbsc.d.ts +86 -0
  61. package/lib/generated/task-status.pb.d.ts +13 -0
  62. package/lib/generated/tasks-common.pb.d.ts +1328 -0
  63. package/lib/generated/tasks-service.pb.d.ts +1 -0
  64. package/lib/generated/tasks-service.pbconf.d.ts +6 -0
  65. package/lib/generated/tasks-service.pbsc.d.ts +102 -0
  66. package/lib/index.d.ts +15 -0
  67. package/package.json +52 -0
  68. package/public-api.d.ts +1 -0
@@ -0,0 +1,214 @@
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.auth.User
5
+ */
6
+ export declare class User implements GrpcMessage {
7
+ static id: string;
8
+ /**
9
+ * Deserialize binary data to message
10
+ * @param instance message instance
11
+ */
12
+ static deserializeBinary(bytes: ByteSource): User;
13
+ /**
14
+ * Check all the properties and set default protobuf values if necessary
15
+ * @param _instance message instance
16
+ */
17
+ static refineValues(_instance: User): 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: User, _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: User, _writer: BinaryWriter): void;
30
+ private _username;
31
+ private _roles;
32
+ private _permissions;
33
+ /**
34
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
35
+ * @param _value initial values object or instance of User to deeply clone from
36
+ */
37
+ constructor(_value?: RecursivePartial<User.AsObject>);
38
+ get username(): string;
39
+ set username(value: string);
40
+ get roles(): string[];
41
+ set roles(value: string[]);
42
+ get permissions(): string[];
43
+ set permissions(value: string[]);
44
+ /**
45
+ * Serialize message to binary data
46
+ * @param instance message instance
47
+ */
48
+ serializeBinary(): Uint8Array;
49
+ /**
50
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
51
+ */
52
+ toObject(): User.AsObject;
53
+ /**
54
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
55
+ */
56
+ toJSON(): User.AsObject;
57
+ /**
58
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
59
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
60
+ * 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
61
+ */
62
+ toProtobufJSON(options?: ToProtobufJSONOptions): User.AsProtobufJSON;
63
+ }
64
+ export declare module User {
65
+ /**
66
+ * Standard JavaScript object representation for User
67
+ */
68
+ interface AsObject {
69
+ username: string;
70
+ roles: string[];
71
+ permissions: string[];
72
+ }
73
+ /**
74
+ * Protobuf JSON representation for User
75
+ */
76
+ interface AsProtobufJSON {
77
+ username: string;
78
+ roles: string[];
79
+ permissions: string[];
80
+ }
81
+ }
82
+ /**
83
+ * Message implementation for armonik.api.grpc.v1.auth.GetCurrentUserRequest
84
+ */
85
+ export declare class GetCurrentUserRequest implements GrpcMessage {
86
+ static id: string;
87
+ /**
88
+ * Deserialize binary data to message
89
+ * @param instance message instance
90
+ */
91
+ static deserializeBinary(bytes: ByteSource): GetCurrentUserRequest;
92
+ /**
93
+ * Check all the properties and set default protobuf values if necessary
94
+ * @param _instance message instance
95
+ */
96
+ static refineValues(_instance: GetCurrentUserRequest): void;
97
+ /**
98
+ * Deserializes / reads binary message into message instance using provided binary reader
99
+ * @param _instance message instance
100
+ * @param _reader binary reader instance
101
+ */
102
+ static deserializeBinaryFromReader(_instance: GetCurrentUserRequest, _reader: BinaryReader): void;
103
+ /**
104
+ * Serializes a message to binary format using provided binary reader
105
+ * @param _instance message instance
106
+ * @param _writer binary writer instance
107
+ */
108
+ static serializeBinaryToWriter(_instance: GetCurrentUserRequest, _writer: BinaryWriter): void;
109
+ /**
110
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
111
+ * @param _value initial values object or instance of GetCurrentUserRequest to deeply clone from
112
+ */
113
+ constructor(_value?: RecursivePartial<GetCurrentUserRequest.AsObject>);
114
+ /**
115
+ * Serialize message to binary data
116
+ * @param instance message instance
117
+ */
118
+ serializeBinary(): Uint8Array;
119
+ /**
120
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
121
+ */
122
+ toObject(): GetCurrentUserRequest.AsObject;
123
+ /**
124
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
125
+ */
126
+ toJSON(): GetCurrentUserRequest.AsObject;
127
+ /**
128
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
129
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
130
+ * 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
131
+ */
132
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetCurrentUserRequest.AsProtobufJSON;
133
+ }
134
+ export declare module GetCurrentUserRequest {
135
+ /**
136
+ * Standard JavaScript object representation for GetCurrentUserRequest
137
+ */
138
+ interface AsObject {
139
+ }
140
+ /**
141
+ * Protobuf JSON representation for GetCurrentUserRequest
142
+ */
143
+ interface AsProtobufJSON {
144
+ }
145
+ }
146
+ /**
147
+ * Message implementation for armonik.api.grpc.v1.auth.GetCurrentUserResponse
148
+ */
149
+ export declare class GetCurrentUserResponse implements GrpcMessage {
150
+ static id: string;
151
+ /**
152
+ * Deserialize binary data to message
153
+ * @param instance message instance
154
+ */
155
+ static deserializeBinary(bytes: ByteSource): GetCurrentUserResponse;
156
+ /**
157
+ * Check all the properties and set default protobuf values if necessary
158
+ * @param _instance message instance
159
+ */
160
+ static refineValues(_instance: GetCurrentUserResponse): void;
161
+ /**
162
+ * Deserializes / reads binary message into message instance using provided binary reader
163
+ * @param _instance message instance
164
+ * @param _reader binary reader instance
165
+ */
166
+ static deserializeBinaryFromReader(_instance: GetCurrentUserResponse, _reader: BinaryReader): void;
167
+ /**
168
+ * Serializes a message to binary format using provided binary reader
169
+ * @param _instance message instance
170
+ * @param _writer binary writer instance
171
+ */
172
+ static serializeBinaryToWriter(_instance: GetCurrentUserResponse, _writer: BinaryWriter): void;
173
+ private _user?;
174
+ /**
175
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
176
+ * @param _value initial values object or instance of GetCurrentUserResponse to deeply clone from
177
+ */
178
+ constructor(_value?: RecursivePartial<GetCurrentUserResponse.AsObject>);
179
+ get user(): User | undefined;
180
+ set user(value: User | undefined);
181
+ /**
182
+ * Serialize message to binary data
183
+ * @param instance message instance
184
+ */
185
+ serializeBinary(): Uint8Array;
186
+ /**
187
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
188
+ */
189
+ toObject(): GetCurrentUserResponse.AsObject;
190
+ /**
191
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
192
+ */
193
+ toJSON(): GetCurrentUserResponse.AsObject;
194
+ /**
195
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
196
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
197
+ * 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
198
+ */
199
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetCurrentUserResponse.AsProtobufJSON;
200
+ }
201
+ export declare module GetCurrentUserResponse {
202
+ /**
203
+ * Standard JavaScript object representation for GetCurrentUserResponse
204
+ */
205
+ interface AsObject {
206
+ user?: User.AsObject;
207
+ }
208
+ /**
209
+ * Protobuf JSON representation for GetCurrentUserResponse
210
+ */
211
+ interface AsProtobufJSON {
212
+ user: User.AsProtobufJSON | null;
213
+ }
214
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * Specific GrpcClientSettings for Authentication.
4
+ * Use it only if your default settings are not set or the service requires other settings.
5
+ */
6
+ export declare const GRPC_AUTHENTICATION_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 armonikApiGrpcV1Auth000 from './auth-common.pb';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Service client implementation for armonik.api.grpc.v1.auth.Authentication
8
+ */
9
+ export declare class AuthenticationClient {
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.auth.Authentication/GetCurrentUser
20
+ *
21
+ * @param requestMessage Request message
22
+ * @param requestMetadata Request metadata
23
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Auth000.GetCurrentUserResponse>>
24
+ */
25
+ getCurrentUser: (requestData: armonikApiGrpcV1Auth000.GetCurrentUserRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Auth000.GetCurrentUserResponse>>;
26
+ };
27
+ constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
28
+ /**
29
+ * Unary call @/armonik.api.grpc.v1.auth.Authentication/GetCurrentUser
30
+ *
31
+ * @param requestMessage Request message
32
+ * @param requestMetadata Request metadata
33
+ * @returns Observable<armonikApiGrpcV1Auth000.GetCurrentUserResponse>
34
+ */
35
+ getCurrentUser(requestData: armonikApiGrpcV1Auth000.GetCurrentUserRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Auth000.GetCurrentUserResponse>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationClient, [{ optional: true; }, null, null]>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationClient>;
38
+ }