@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.
@@ -14996,6 +14996,274 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
14996
14996
  args: [GRPC_CLIENT_FACTORY]
14997
14997
  }] }, { type: i1.GrpcHandler }]; } });
14998
14998
 
14999
+ /**
15000
+ * Message implementation for armonik.api.grpc.v1.versions.ListVersionsRequest
15001
+ */
15002
+ class ListVersionsRequest {
15003
+ static { this.id = 'armonik.api.grpc.v1.versions.ListVersionsRequest'; }
15004
+ /**
15005
+ * Deserialize binary data to message
15006
+ * @param instance message instance
15007
+ */
15008
+ static deserializeBinary(bytes) {
15009
+ const instance = new ListVersionsRequest();
15010
+ ListVersionsRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
15011
+ return instance;
15012
+ }
15013
+ /**
15014
+ * Check all the properties and set default protobuf values if necessary
15015
+ * @param _instance message instance
15016
+ */
15017
+ static refineValues(_instance) { }
15018
+ /**
15019
+ * Deserializes / reads binary message into message instance using provided binary reader
15020
+ * @param _instance message instance
15021
+ * @param _reader binary reader instance
15022
+ */
15023
+ static deserializeBinaryFromReader(_instance, _reader) {
15024
+ while (_reader.nextField()) {
15025
+ if (_reader.isEndGroup())
15026
+ break;
15027
+ switch (_reader.getFieldNumber()) {
15028
+ default:
15029
+ _reader.skipField();
15030
+ }
15031
+ }
15032
+ ListVersionsRequest.refineValues(_instance);
15033
+ }
15034
+ /**
15035
+ * Serializes a message to binary format using provided binary reader
15036
+ * @param _instance message instance
15037
+ * @param _writer binary writer instance
15038
+ */
15039
+ static serializeBinaryToWriter(_instance, _writer) { }
15040
+ /**
15041
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
15042
+ * @param _value initial values object or instance of ListVersionsRequest to deeply clone from
15043
+ */
15044
+ constructor(_value) {
15045
+ _value = _value || {};
15046
+ ListVersionsRequest.refineValues(this);
15047
+ }
15048
+ /**
15049
+ * Serialize message to binary data
15050
+ * @param instance message instance
15051
+ */
15052
+ serializeBinary() {
15053
+ const writer = new BinaryWriter();
15054
+ ListVersionsRequest.serializeBinaryToWriter(this, writer);
15055
+ return writer.getResultBuffer();
15056
+ }
15057
+ /**
15058
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
15059
+ */
15060
+ toObject() {
15061
+ return {};
15062
+ }
15063
+ /**
15064
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
15065
+ */
15066
+ toJSON() {
15067
+ return this.toObject();
15068
+ }
15069
+ /**
15070
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
15071
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
15072
+ * 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
15073
+ */
15074
+ toProtobufJSON(
15075
+ // @ts-ignore
15076
+ options) {
15077
+ return {};
15078
+ }
15079
+ }
15080
+ /**
15081
+ * Message implementation for armonik.api.grpc.v1.versions.ListVersionsResponse
15082
+ */
15083
+ class ListVersionsResponse {
15084
+ static { this.id = 'armonik.api.grpc.v1.versions.ListVersionsResponse'; }
15085
+ /**
15086
+ * Deserialize binary data to message
15087
+ * @param instance message instance
15088
+ */
15089
+ static deserializeBinary(bytes) {
15090
+ const instance = new ListVersionsResponse();
15091
+ ListVersionsResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
15092
+ return instance;
15093
+ }
15094
+ /**
15095
+ * Check all the properties and set default protobuf values if necessary
15096
+ * @param _instance message instance
15097
+ */
15098
+ static refineValues(_instance) {
15099
+ _instance.core = _instance.core || '';
15100
+ _instance.api = _instance.api || '';
15101
+ }
15102
+ /**
15103
+ * Deserializes / reads binary message into message instance using provided binary reader
15104
+ * @param _instance message instance
15105
+ * @param _reader binary reader instance
15106
+ */
15107
+ static deserializeBinaryFromReader(_instance, _reader) {
15108
+ while (_reader.nextField()) {
15109
+ if (_reader.isEndGroup())
15110
+ break;
15111
+ switch (_reader.getFieldNumber()) {
15112
+ case 1:
15113
+ _instance.core = _reader.readString();
15114
+ break;
15115
+ case 2:
15116
+ _instance.api = _reader.readString();
15117
+ break;
15118
+ default:
15119
+ _reader.skipField();
15120
+ }
15121
+ }
15122
+ ListVersionsResponse.refineValues(_instance);
15123
+ }
15124
+ /**
15125
+ * Serializes a message to binary format using provided binary reader
15126
+ * @param _instance message instance
15127
+ * @param _writer binary writer instance
15128
+ */
15129
+ static serializeBinaryToWriter(_instance, _writer) {
15130
+ if (_instance.core) {
15131
+ _writer.writeString(1, _instance.core);
15132
+ }
15133
+ if (_instance.api) {
15134
+ _writer.writeString(2, _instance.api);
15135
+ }
15136
+ }
15137
+ /**
15138
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
15139
+ * @param _value initial values object or instance of ListVersionsResponse to deeply clone from
15140
+ */
15141
+ constructor(_value) {
15142
+ _value = _value || {};
15143
+ this.core = _value.core;
15144
+ this.api = _value.api;
15145
+ ListVersionsResponse.refineValues(this);
15146
+ }
15147
+ get core() {
15148
+ return this._core;
15149
+ }
15150
+ set core(value) {
15151
+ this._core = value;
15152
+ }
15153
+ get api() {
15154
+ return this._api;
15155
+ }
15156
+ set api(value) {
15157
+ this._api = value;
15158
+ }
15159
+ /**
15160
+ * Serialize message to binary data
15161
+ * @param instance message instance
15162
+ */
15163
+ serializeBinary() {
15164
+ const writer = new BinaryWriter();
15165
+ ListVersionsResponse.serializeBinaryToWriter(this, writer);
15166
+ return writer.getResultBuffer();
15167
+ }
15168
+ /**
15169
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
15170
+ */
15171
+ toObject() {
15172
+ return {
15173
+ core: this.core,
15174
+ api: this.api
15175
+ };
15176
+ }
15177
+ /**
15178
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
15179
+ */
15180
+ toJSON() {
15181
+ return this.toObject();
15182
+ }
15183
+ /**
15184
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
15185
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
15186
+ * 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
15187
+ */
15188
+ toProtobufJSON(
15189
+ // @ts-ignore
15190
+ options) {
15191
+ return {
15192
+ core: this.core,
15193
+ api: this.api
15194
+ };
15195
+ }
15196
+ }
15197
+
15198
+ /* tslint:disable */
15199
+ /**
15200
+ * Specific GrpcClientSettings for Versions.
15201
+ * Use it only if your default settings are not set or the service requires other settings.
15202
+ */
15203
+ const GRPC_VERSIONS_CLIENT_SETTINGS = new InjectionToken('GRPC_VERSIONS_CLIENT_SETTINGS');
15204
+
15205
+ /* tslint:disable */
15206
+ /**
15207
+ * Service client implementation for armonik.api.grpc.v1.versions.Versions
15208
+ */
15209
+ class VersionsClient {
15210
+ constructor(settings, clientFactory, handler) {
15211
+ this.handler = handler;
15212
+ /**
15213
+ * Raw RPC implementation for each service client method.
15214
+ * The raw methods provide more control on the incoming data and events. E.g. they can be useful to read status `OK` metadata.
15215
+ * Attention: these methods do not throw errors when non-zero status codes are received.
15216
+ */
15217
+ this.$raw = {
15218
+ /**
15219
+ * Unary call: /armonik.api.grpc.v1.versions.Versions/ListVersions
15220
+ *
15221
+ * @param requestMessage Request message
15222
+ * @param requestMetadata Request metadata
15223
+ * @returns Observable<GrpcEvent<armonikApiGrpcV1Versions000.ListVersionsResponse>>
15224
+ */
15225
+ listVersions: (requestData, requestMetadata = new GrpcMetadata()) => {
15226
+ return this.handler.handle({
15227
+ type: GrpcCallType.unary,
15228
+ client: this.client,
15229
+ path: '/armonik.api.grpc.v1.versions.Versions/ListVersions',
15230
+ requestData,
15231
+ requestMetadata,
15232
+ requestClass: ListVersionsRequest,
15233
+ responseClass: ListVersionsResponse
15234
+ });
15235
+ }
15236
+ };
15237
+ this.client = clientFactory.createClient('armonik.api.grpc.v1.versions.Versions', settings);
15238
+ }
15239
+ /**
15240
+ * Unary call @/armonik.api.grpc.v1.versions.Versions/ListVersions
15241
+ *
15242
+ * @param requestMessage Request message
15243
+ * @param requestMetadata Request metadata
15244
+ * @returns Observable<armonikApiGrpcV1Versions000.ListVersionsResponse>
15245
+ */
15246
+ listVersions(requestData, requestMetadata = new GrpcMetadata()) {
15247
+ return this.$raw
15248
+ .listVersions(requestData, requestMetadata)
15249
+ .pipe(throwStatusErrors(), takeMessages());
15250
+ }
15251
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: VersionsClient, deps: [{ token: GRPC_VERSIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
15252
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: VersionsClient, providedIn: 'any' }); }
15253
+ }
15254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: VersionsClient, decorators: [{
15255
+ type: Injectable,
15256
+ args: [{ providedIn: 'any' }]
15257
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
15258
+ type: Optional
15259
+ }, {
15260
+ type: Inject,
15261
+ args: [GRPC_VERSIONS_CLIENT_SETTINGS]
15262
+ }] }, { type: undefined, decorators: [{
15263
+ type: Inject,
15264
+ args: [GRPC_CLIENT_FACTORY]
15265
+ }] }, { type: i1.GrpcHandler }]; } });
15266
+
14999
15267
  /*
15000
15268
  * Public API Surface of armonik.api.angular
15001
15269
  */
@@ -15004,5 +15272,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
15004
15272
  * Generated bundle index. Do not edit.
15005
15273
  */
15006
15274
 
15007
- export { ApplicationField, ApplicationRaw, ApplicationRawField, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest$2 as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse$2 as CountTasksByStatusApplicationResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, CountTasksByStatusRequest$1 as CountTasksByStatusSessionRequest, CountTasksByStatusResponse$1 as CountTasksByStatusSessionResponse, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, PartitionField, PartitionRaw, PartitionRawField, PartitionsClient, ResultField, ResultRaw, ResultRawField, ResultStatus, ResultsClient, SessionField, SessionRaw, SessionRawField, SessionStatus, SessionsClient, SortDirection, StatusCount, TaskRaw, TaskStatus, TaskSummary, TasksClient, User };
15275
+ export { ApplicationField, ApplicationRaw, ApplicationRawField, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest$2 as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse$2 as CountTasksByStatusApplicationResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, CountTasksByStatusRequest$1 as CountTasksByStatusSessionRequest, CountTasksByStatusResponse$1 as CountTasksByStatusSessionResponse, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetResultRequest, GetResultResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, ListVersionsRequest, ListVersionsResponse, PartitionField, PartitionRaw, PartitionRawField, PartitionsClient, ResultField, ResultRaw, ResultRawField, ResultStatus, ResultsClient, SessionField, SessionRaw, SessionRawField, SessionStatus, SessionsClient, SortDirection, StatusCount, TaskOptions, TaskRaw, TaskStatus, TaskSummary, TasksClient, User, VersionsClient };
15008
15276
  //# sourceMappingURL=aneoconsultingfr-armonik.api.angular.mjs.map