@aldiokta/protocgen 1.1.41 → 1.1.43

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.
@@ -3455,8 +3455,8 @@ token: jspb.Message.getFieldWithDefault(msg, 4, ""),
3455
3455
  referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
3456
3456
  usersRoleList: jspb.Message.toObjectList(msg.getUsersRoleList(),
3457
3457
  prisca_v1_core_access_manager_access_manager_pb.UsersRole.toObject, includeInstance),
3458
- actionsList: jspb.Message.toObjectList(msg.getActionsList(),
3459
- prisca_v1_core_access_manager_access_manager_pb.Action.toObject, includeInstance)
3458
+ statementsList: jspb.Message.toObjectList(msg.getStatementsList(),
3459
+ prisca_v1_core_access_manager_access_manager_pb.Statement.toObject, includeInstance)
3460
3460
  };
3461
3461
 
3462
3462
  if (includeInstance) {
@@ -3519,9 +3519,9 @@ proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
3519
3519
  msg.addUsersRole(value);
3520
3520
  break;
3521
3521
  case 7:
3522
- var value = new prisca_v1_core_access_manager_access_manager_pb.Action;
3523
- reader.readMessage(value,prisca_v1_core_access_manager_access_manager_pb.Action.deserializeBinaryFromReader);
3524
- msg.addActions(value);
3522
+ var value = new prisca_v1_core_access_manager_access_manager_pb.Statement;
3523
+ reader.readMessage(value,prisca_v1_core_access_manager_access_manager_pb.Statement.deserializeBinaryFromReader);
3524
+ msg.addStatements(value);
3525
3525
  break;
3526
3526
  default:
3527
3527
  reader.skipField();
@@ -3595,12 +3595,12 @@ proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
3595
3595
  prisca_v1_core_access_manager_access_manager_pb.UsersRole.serializeBinaryToWriter
3596
3596
  );
3597
3597
  }
3598
- f = message.getActionsList();
3598
+ f = message.getStatementsList();
3599
3599
  if (f.length > 0) {
3600
3600
  writer.writeRepeatedMessage(
3601
3601
  7,
3602
3602
  f,
3603
- prisca_v1_core_access_manager_access_manager_pb.Action.serializeBinaryToWriter
3603
+ prisca_v1_core_access_manager_access_manager_pb.Statement.serializeBinaryToWriter
3604
3604
  );
3605
3605
  }
3606
3606
  };
@@ -3735,31 +3735,31 @@ proto.UserResponse.prototype.clearUsersRoleList = function() {
3735
3735
 
3736
3736
 
3737
3737
  /**
3738
- * repeated Action actions = 7;
3739
- * @return {!Array<!proto.Action>}
3738
+ * repeated Statement statements = 7;
3739
+ * @return {!Array<!proto.Statement>}
3740
3740
  */
3741
- proto.UserResponse.prototype.getActionsList = function() {
3742
- return /** @type{!Array<!proto.Action>} */ (
3743
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_access_manager_access_manager_pb.Action, 7));
3741
+ proto.UserResponse.prototype.getStatementsList = function() {
3742
+ return /** @type{!Array<!proto.Statement>} */ (
3743
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_access_manager_access_manager_pb.Statement, 7));
3744
3744
  };
3745
3745
 
3746
3746
 
3747
3747
  /**
3748
- * @param {!Array<!proto.Action>} value
3748
+ * @param {!Array<!proto.Statement>} value
3749
3749
  * @return {!proto.UserResponse} returns this
3750
3750
  */
3751
- proto.UserResponse.prototype.setActionsList = function(value) {
3751
+ proto.UserResponse.prototype.setStatementsList = function(value) {
3752
3752
  return jspb.Message.setRepeatedWrapperField(this, 7, value);
3753
3753
  };
3754
3754
 
3755
3755
 
3756
3756
  /**
3757
- * @param {!proto.Action=} opt_value
3757
+ * @param {!proto.Statement=} opt_value
3758
3758
  * @param {number=} opt_index
3759
- * @return {!proto.Action}
3759
+ * @return {!proto.Statement}
3760
3760
  */
3761
- proto.UserResponse.prototype.addActions = function(opt_value, opt_index) {
3762
- return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.Action, opt_index);
3761
+ proto.UserResponse.prototype.addStatements = function(opt_value, opt_index) {
3762
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.Statement, opt_index);
3763
3763
  };
3764
3764
 
3765
3765
 
@@ -3767,8 +3767,8 @@ proto.UserResponse.prototype.addActions = function(opt_value, opt_index) {
3767
3767
  * Clears the list making it empty but non-null.
3768
3768
  * @return {!proto.UserResponse} returns this
3769
3769
  */
3770
- proto.UserResponse.prototype.clearActionsList = function() {
3771
- return this.setActionsList([]);
3770
+ proto.UserResponse.prototype.clearStatementsList = function() {
3771
+ return this.setStatementsList([]);
3772
3772
  };
3773
3773
 
3774
3774
 
@@ -4,6 +4,17 @@
4
4
  var grpc = require('@grpc/grpc-js');
5
5
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../../prisca/v1/core/file_upload/file_upload_pb.js');
6
6
 
7
+ function serialize_FileUploadReferencesReq(arg) {
8
+ if (!(arg instanceof prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq)) {
9
+ throw new Error('Expected argument of type FileUploadReferencesReq');
10
+ }
11
+ return Buffer.from(arg.serializeBinary());
12
+ }
13
+
14
+ function deserialize_FileUploadReferencesReq(buffer_arg) {
15
+ return prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinary(new Uint8Array(buffer_arg));
16
+ }
17
+
7
18
  function serialize_FileUploadReq(arg) {
8
19
  if (!(arg instanceof prisca_v1_core_file_upload_file_upload_pb.FileUploadReq)) {
9
20
  throw new Error('Expected argument of type FileUploadReq');
@@ -39,6 +50,17 @@ var UploadFileServiceService = exports.UploadFileServiceService = {
39
50
  responseSerialize: serialize_FileUploadRes,
40
51
  responseDeserialize: deserialize_FileUploadRes,
41
52
  },
53
+ updateFileInformation: {
54
+ path: '/UploadFileService/UpdateFileInformation',
55
+ requestStream: false,
56
+ responseStream: false,
57
+ requestType: prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq,
58
+ responseType: prisca_v1_core_file_upload_file_upload_pb.FileUploadRes,
59
+ requestSerialize: serialize_FileUploadReferencesReq,
60
+ requestDeserialize: deserialize_FileUploadReferencesReq,
61
+ responseSerialize: serialize_FileUploadRes,
62
+ responseDeserialize: deserialize_FileUploadRes,
63
+ },
42
64
  };
43
65
 
44
66
  exports.UploadFileServiceClient = grpc.makeGenericClientConstructor(UploadFileServiceService, 'UploadFileService');
@@ -5,15 +5,15 @@ var grpc = require('@grpc/grpc-js');
5
5
  var prisca_v1_core_messaging_notification_pb = require('../../../../prisca/v1/core/messaging/notification_pb.js');
6
6
  var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
7
 
8
- function serialize_CountUnreadNotificationEmployeeRes(arg) {
9
- if (!(arg instanceof prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes)) {
10
- throw new Error('Expected argument of type CountUnreadNotificationEmployeeRes');
8
+ function serialize_CountUnreadNotificationRes(arg) {
9
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.CountUnreadNotificationRes)) {
10
+ throw new Error('Expected argument of type CountUnreadNotificationRes');
11
11
  }
12
12
  return Buffer.from(arg.serializeBinary());
13
13
  }
14
14
 
15
- function deserialize_CountUnreadNotificationEmployeeRes(buffer_arg) {
16
- return prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes.deserializeBinary(new Uint8Array(buffer_arg));
15
+ function deserialize_CountUnreadNotificationRes(buffer_arg) {
16
+ return prisca_v1_core_messaging_notification_pb.CountUnreadNotificationRes.deserializeBinary(new Uint8Array(buffer_arg));
17
17
  }
18
18
 
19
19
  function serialize_CreateNotificationReq(arg) {
@@ -60,6 +60,28 @@ function deserialize_DeleteNotificationEmployeeRes(buffer_arg) {
60
60
  return prisca_v1_core_messaging_notification_pb.DeleteNotificationEmployeeRes.deserializeBinary(new Uint8Array(buffer_arg));
61
61
  }
62
62
 
63
+ function serialize_DeleteNotificationVendorReq(arg) {
64
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorReq)) {
65
+ throw new Error('Expected argument of type DeleteNotificationVendorReq');
66
+ }
67
+ return Buffer.from(arg.serializeBinary());
68
+ }
69
+
70
+ function deserialize_DeleteNotificationVendorReq(buffer_arg) {
71
+ return prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorReq.deserializeBinary(new Uint8Array(buffer_arg));
72
+ }
73
+
74
+ function serialize_DeleteNotificationVendorRes(arg) {
75
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorRes)) {
76
+ throw new Error('Expected argument of type DeleteNotificationVendorRes');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_DeleteNotificationVendorRes(buffer_arg) {
82
+ return prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorRes.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
63
85
  function serialize_EmptyMessage(arg) {
64
86
  if (!(arg instanceof prisca_v1_core_messaging_notification_pb.EmptyMessage)) {
65
87
  throw new Error('Expected argument of type EmptyMessage');
@@ -93,6 +115,28 @@ function deserialize_GetListNotificationEmployeeRes(buffer_arg) {
93
115
  return prisca_v1_core_messaging_notification_pb.GetListNotificationEmployeeRes.deserializeBinary(new Uint8Array(buffer_arg));
94
116
  }
95
117
 
118
+ function serialize_GetListNotificationVendorReq(arg) {
119
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.GetListNotificationVendorReq)) {
120
+ throw new Error('Expected argument of type GetListNotificationVendorReq');
121
+ }
122
+ return Buffer.from(arg.serializeBinary());
123
+ }
124
+
125
+ function deserialize_GetListNotificationVendorReq(buffer_arg) {
126
+ return prisca_v1_core_messaging_notification_pb.GetListNotificationVendorReq.deserializeBinary(new Uint8Array(buffer_arg));
127
+ }
128
+
129
+ function serialize_GetListNotificationVendorRes(arg) {
130
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.GetListNotificationVendorRes)) {
131
+ throw new Error('Expected argument of type GetListNotificationVendorRes');
132
+ }
133
+ return Buffer.from(arg.serializeBinary());
134
+ }
135
+
136
+ function deserialize_GetListNotificationVendorRes(buffer_arg) {
137
+ return prisca_v1_core_messaging_notification_pb.GetListNotificationVendorRes.deserializeBinary(new Uint8Array(buffer_arg));
138
+ }
139
+
96
140
  function serialize_NotificationEmployeeItem(arg) {
97
141
  if (!(arg instanceof prisca_v1_core_messaging_notification_pb.NotificationEmployeeItem)) {
98
142
  throw new Error('Expected argument of type NotificationEmployeeItem');
@@ -104,6 +148,17 @@ function deserialize_NotificationEmployeeItem(buffer_arg) {
104
148
  return prisca_v1_core_messaging_notification_pb.NotificationEmployeeItem.deserializeBinary(new Uint8Array(buffer_arg));
105
149
  }
106
150
 
151
+ function serialize_NotificationVendorItem(arg) {
152
+ if (!(arg instanceof prisca_v1_core_messaging_notification_pb.NotificationVendorItem)) {
153
+ throw new Error('Expected argument of type NotificationVendorItem');
154
+ }
155
+ return Buffer.from(arg.serializeBinary());
156
+ }
157
+
158
+ function deserialize_NotificationVendorItem(buffer_arg) {
159
+ return prisca_v1_core_messaging_notification_pb.NotificationVendorItem.deserializeBinary(new Uint8Array(buffer_arg));
160
+ }
161
+
107
162
  function serialize_ReferenceId(arg) {
108
163
  if (!(arg instanceof prisca_v1_core_messaging_notification_pb.ReferenceId)) {
109
164
  throw new Error('Expected argument of type ReferenceId');
@@ -161,6 +216,28 @@ var NotificationServiceService = exports.NotificationServiceService = {
161
216
  responseSerialize: serialize_EmptyMessage,
162
217
  responseDeserialize: deserialize_EmptyMessage,
163
218
  },
219
+ markAsReadNotificationVendor: {
220
+ path: '/NotificationService/MarkAsReadNotificationVendor',
221
+ requestStream: false,
222
+ responseStream: false,
223
+ requestType: prisca_v1_core_messaging_notification_pb.ReferenceIds,
224
+ responseType: prisca_v1_core_messaging_notification_pb.EmptyMessage,
225
+ requestSerialize: serialize_ReferenceIds,
226
+ requestDeserialize: deserialize_ReferenceIds,
227
+ responseSerialize: serialize_EmptyMessage,
228
+ responseDeserialize: deserialize_EmptyMessage,
229
+ },
230
+ markAsUnReadNotificationVendor: {
231
+ path: '/NotificationService/MarkAsUnReadNotificationVendor',
232
+ requestStream: false,
233
+ responseStream: false,
234
+ requestType: prisca_v1_core_messaging_notification_pb.ReferenceIds,
235
+ responseType: prisca_v1_core_messaging_notification_pb.EmptyMessage,
236
+ requestSerialize: serialize_ReferenceIds,
237
+ requestDeserialize: deserialize_ReferenceIds,
238
+ responseSerialize: serialize_EmptyMessage,
239
+ responseDeserialize: deserialize_EmptyMessage,
240
+ },
164
241
  deleteNotificationEmployee: {
165
242
  path: '/NotificationService/DeleteNotificationEmployee',
166
243
  requestStream: false,
@@ -172,6 +249,17 @@ var NotificationServiceService = exports.NotificationServiceService = {
172
249
  responseSerialize: serialize_DeleteNotificationEmployeeRes,
173
250
  responseDeserialize: deserialize_DeleteNotificationEmployeeRes,
174
251
  },
252
+ deleteNotificationVendor: {
253
+ path: '/NotificationService/DeleteNotificationVendor',
254
+ requestStream: false,
255
+ responseStream: false,
256
+ requestType: prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorReq,
257
+ responseType: prisca_v1_core_messaging_notification_pb.DeleteNotificationVendorRes,
258
+ requestSerialize: serialize_DeleteNotificationVendorReq,
259
+ requestDeserialize: deserialize_DeleteNotificationVendorReq,
260
+ responseSerialize: serialize_DeleteNotificationVendorRes,
261
+ responseDeserialize: deserialize_DeleteNotificationVendorRes,
262
+ },
175
263
  getListNotificationEmployee: {
176
264
  path: '/NotificationService/GetListNotificationEmployee',
177
265
  requestStream: false,
@@ -183,6 +271,17 @@ var NotificationServiceService = exports.NotificationServiceService = {
183
271
  responseSerialize: serialize_GetListNotificationEmployeeRes,
184
272
  responseDeserialize: deserialize_GetListNotificationEmployeeRes,
185
273
  },
274
+ getListNotificationVendor: {
275
+ path: '/NotificationService/GetListNotificationVendor',
276
+ requestStream: false,
277
+ responseStream: false,
278
+ requestType: prisca_v1_core_messaging_notification_pb.GetListNotificationVendorReq,
279
+ responseType: prisca_v1_core_messaging_notification_pb.GetListNotificationVendorRes,
280
+ requestSerialize: serialize_GetListNotificationVendorReq,
281
+ requestDeserialize: deserialize_GetListNotificationVendorReq,
282
+ responseSerialize: serialize_GetListNotificationVendorRes,
283
+ responseDeserialize: deserialize_GetListNotificationVendorRes,
284
+ },
186
285
  getNotificationEmployeeByReferenceId: {
187
286
  path: '/NotificationService/GetNotificationEmployeeByReferenceId',
188
287
  requestStream: false,
@@ -194,16 +293,38 @@ var NotificationServiceService = exports.NotificationServiceService = {
194
293
  responseSerialize: serialize_NotificationEmployeeItem,
195
294
  responseDeserialize: deserialize_NotificationEmployeeItem,
196
295
  },
296
+ getNotificationVendorByReferenceId: {
297
+ path: '/NotificationService/GetNotificationVendorByReferenceId',
298
+ requestStream: false,
299
+ responseStream: false,
300
+ requestType: prisca_v1_core_messaging_notification_pb.ReferenceId,
301
+ responseType: prisca_v1_core_messaging_notification_pb.NotificationVendorItem,
302
+ requestSerialize: serialize_ReferenceId,
303
+ requestDeserialize: deserialize_ReferenceId,
304
+ responseSerialize: serialize_NotificationVendorItem,
305
+ responseDeserialize: deserialize_NotificationVendorItem,
306
+ },
197
307
  countUnReadNotificationEmployee: {
198
308
  path: '/NotificationService/CountUnReadNotificationEmployee',
199
309
  requestStream: false,
200
310
  responseStream: false,
201
311
  requestType: prisca_v1_core_messaging_notification_pb.EmptyMessage,
202
- responseType: prisca_v1_core_messaging_notification_pb.CountUnreadNotificationEmployeeRes,
312
+ responseType: prisca_v1_core_messaging_notification_pb.CountUnreadNotificationRes,
313
+ requestSerialize: serialize_EmptyMessage,
314
+ requestDeserialize: deserialize_EmptyMessage,
315
+ responseSerialize: serialize_CountUnreadNotificationRes,
316
+ responseDeserialize: deserialize_CountUnreadNotificationRes,
317
+ },
318
+ countUnReadNotificationVendor: {
319
+ path: '/NotificationService/CountUnReadNotificationVendor',
320
+ requestStream: false,
321
+ responseStream: false,
322
+ requestType: prisca_v1_core_messaging_notification_pb.EmptyMessage,
323
+ responseType: prisca_v1_core_messaging_notification_pb.CountUnreadNotificationRes,
203
324
  requestSerialize: serialize_EmptyMessage,
204
325
  requestDeserialize: deserialize_EmptyMessage,
205
- responseSerialize: serialize_CountUnreadNotificationEmployeeRes,
206
- responseDeserialize: deserialize_CountUnreadNotificationEmployeeRes,
326
+ responseSerialize: serialize_CountUnreadNotificationRes,
327
+ responseDeserialize: deserialize_CountUnreadNotificationRes,
207
328
  },
208
329
  };
209
330