@aldiokta/protocgen 1.1.20 → 1.1.22

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 (49) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +97 -8
  3. package/prisca/v1/bidding/bidding_pb.js +1506 -178
  4. package/prisca/v1/core/company/company_pb.js +77 -25
  5. package/prisca/v1/core/employee/employee_pb.js +74 -22
  6. package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
  7. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
  8. package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +304 -4
  10. package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
  11. package/prisca/v1/core/job_position/job_position_pb.js +74 -22
  12. package/prisca/v1/core/job_title/job_title_pb.js +80 -28
  13. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
  14. package/prisca/v1/core/material/material_pb.js +74 -22
  15. package/prisca/v1/core/material_group/material_group_pb.js +77 -25
  16. package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
  17. package/prisca/v1/core/material_type/material_type_pb.js +407 -0
  18. package/prisca/v1/core/number_range/number_range_pb.js +74 -22
  19. package/prisca/v1/core/organization/organization_pb.js +80 -28
  20. package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
  21. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
  22. package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
  23. package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
  24. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
  25. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
  26. package/prisca/v1/core/users/users_grpc_pb.js +33 -0
  27. package/prisca/v1/core/users/users_pb.js +407 -0
  28. package/prisca/v1/core/work_location/work_location_pb.js +74 -22
  29. package/prisca/v1/core/workflow/workflow_pb.js +74 -22
  30. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  31. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  32. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  33. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  34. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
  35. package/prisca/v1/purchase_order/purchase_order_pb.js +464 -404
  36. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
  37. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
  38. package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
  39. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
  40. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
  41. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
  42. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
  43. package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
  44. package/prisca/v1/quotation/quotation_pb.js +479 -2
  45. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
  46. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
  47. package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
  48. package/prisca/v1/valuation/valuation_pb.js +7729 -0
  49. package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
@@ -219,7 +219,11 @@ previousReferences: jspb.Message.getFieldWithDefault(msg, 20, ""),
219
219
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
220
220
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
221
221
  previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 22, ""),
222
- currency: jspb.Message.getFieldWithDefault(msg, 23, "")
222
+ currency: jspb.Message.getFieldWithDefault(msg, 23, ""),
223
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
224
+ originalQuantity: jspb.Message.getFieldWithDefault(msg, 25, 0),
225
+ usedQuantity: jspb.Message.getFieldWithDefault(msg, 26, 0),
226
+ remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0)
223
227
  };
224
228
 
225
229
  if (includeInstance) {
@@ -351,6 +355,22 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
351
355
  var value = /** @type {string} */ (reader.readString());
352
356
  msg.setCurrency(value);
353
357
  break;
358
+ case 24:
359
+ var value = /** @type {string} */ (reader.readString());
360
+ msg.setPurchaseRequisitionTransactionNumber(value);
361
+ break;
362
+ case 25:
363
+ var value = /** @type {number} */ (reader.readInt64());
364
+ msg.setOriginalQuantity(value);
365
+ break;
366
+ case 26:
367
+ var value = /** @type {number} */ (reader.readInt64());
368
+ msg.setUsedQuantity(value);
369
+ break;
370
+ case 27:
371
+ var value = /** @type {number} */ (reader.readInt64());
372
+ msg.setRemainingQuantity(value);
373
+ break;
354
374
  default:
355
375
  reader.skipField();
356
376
  break;
@@ -544,6 +564,34 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
544
564
  f
545
565
  );
546
566
  }
567
+ f = message.getPurchaseRequisitionTransactionNumber();
568
+ if (f.length > 0) {
569
+ writer.writeString(
570
+ 24,
571
+ f
572
+ );
573
+ }
574
+ f = message.getOriginalQuantity();
575
+ if (f !== 0) {
576
+ writer.writeInt64(
577
+ 25,
578
+ f
579
+ );
580
+ }
581
+ f = message.getUsedQuantity();
582
+ if (f !== 0) {
583
+ writer.writeInt64(
584
+ 26,
585
+ f
586
+ );
587
+ }
588
+ f = message.getRemainingQuantity();
589
+ if (f !== 0) {
590
+ writer.writeInt64(
591
+ 27,
592
+ f
593
+ );
594
+ }
547
595
  };
548
596
 
549
597
 
@@ -1021,6 +1069,78 @@ proto.ItemTransaction.prototype.setCurrency = function(value) {
1021
1069
  };
1022
1070
 
1023
1071
 
1072
+ /**
1073
+ * optional string purchase_requisition_transaction_number = 24;
1074
+ * @return {string}
1075
+ */
1076
+ proto.ItemTransaction.prototype.getPurchaseRequisitionTransactionNumber = function() {
1077
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1078
+ };
1079
+
1080
+
1081
+ /**
1082
+ * @param {string} value
1083
+ * @return {!proto.ItemTransaction} returns this
1084
+ */
1085
+ proto.ItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
1086
+ return jspb.Message.setProto3StringField(this, 24, value);
1087
+ };
1088
+
1089
+
1090
+ /**
1091
+ * optional int64 original_quantity = 25;
1092
+ * @return {number}
1093
+ */
1094
+ proto.ItemTransaction.prototype.getOriginalQuantity = function() {
1095
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
1096
+ };
1097
+
1098
+
1099
+ /**
1100
+ * @param {number} value
1101
+ * @return {!proto.ItemTransaction} returns this
1102
+ */
1103
+ proto.ItemTransaction.prototype.setOriginalQuantity = function(value) {
1104
+ return jspb.Message.setProto3IntField(this, 25, value);
1105
+ };
1106
+
1107
+
1108
+ /**
1109
+ * optional int64 used_quantity = 26;
1110
+ * @return {number}
1111
+ */
1112
+ proto.ItemTransaction.prototype.getUsedQuantity = function() {
1113
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
1114
+ };
1115
+
1116
+
1117
+ /**
1118
+ * @param {number} value
1119
+ * @return {!proto.ItemTransaction} returns this
1120
+ */
1121
+ proto.ItemTransaction.prototype.setUsedQuantity = function(value) {
1122
+ return jspb.Message.setProto3IntField(this, 26, value);
1123
+ };
1124
+
1125
+
1126
+ /**
1127
+ * optional int64 remaining_quantity = 27;
1128
+ * @return {number}
1129
+ */
1130
+ proto.ItemTransaction.prototype.getRemainingQuantity = function() {
1131
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
1132
+ };
1133
+
1134
+
1135
+ /**
1136
+ * @param {number} value
1137
+ * @return {!proto.ItemTransaction} returns this
1138
+ */
1139
+ proto.ItemTransaction.prototype.setRemainingQuantity = function(value) {
1140
+ return jspb.Message.setProto3IntField(this, 27, value);
1141
+ };
1142
+
1143
+
1024
1144
 
1025
1145
  /**
1026
1146
  * List of repeated fields within this message type.
@@ -1852,7 +1972,9 @@ name: jspb.Message.getFieldWithDefault(msg, 6, ""),
1852
1972
  itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
1853
1973
  referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
1854
1974
  createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
1855
- updatedAt: jspb.Message.getFieldWithDefault(msg, 10, "")
1975
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
1976
+ code: jspb.Message.getFieldWithDefault(msg, 11, ""),
1977
+ isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
1856
1978
  };
1857
1979
 
1858
1980
  if (includeInstance) {
@@ -1929,6 +2051,14 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
1929
2051
  var value = /** @type {string} */ (reader.readString());
1930
2052
  msg.setUpdatedAt(value);
1931
2053
  break;
2054
+ case 11:
2055
+ var value = /** @type {string} */ (reader.readString());
2056
+ msg.setCode(value);
2057
+ break;
2058
+ case 12:
2059
+ var value = /** @type {boolean} */ (reader.readBool());
2060
+ msg.setIsGeneral(value);
2061
+ break;
1932
2062
  default:
1933
2063
  reader.skipField();
1934
2064
  break;
@@ -2028,6 +2158,20 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
2028
2158
  f
2029
2159
  );
2030
2160
  }
2161
+ f = message.getCode();
2162
+ if (f.length > 0) {
2163
+ writer.writeString(
2164
+ 11,
2165
+ f
2166
+ );
2167
+ }
2168
+ f = message.getIsGeneral();
2169
+ if (f) {
2170
+ writer.writeBool(
2171
+ 12,
2172
+ f
2173
+ );
2174
+ }
2031
2175
  };
2032
2176
 
2033
2177
 
@@ -2211,6 +2355,42 @@ proto.ItemTransactionPriceCondition.prototype.setUpdatedAt = function(value) {
2211
2355
  };
2212
2356
 
2213
2357
 
2358
+ /**
2359
+ * optional string code = 11;
2360
+ * @return {string}
2361
+ */
2362
+ proto.ItemTransactionPriceCondition.prototype.getCode = function() {
2363
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2364
+ };
2365
+
2366
+
2367
+ /**
2368
+ * @param {string} value
2369
+ * @return {!proto.ItemTransactionPriceCondition} returns this
2370
+ */
2371
+ proto.ItemTransactionPriceCondition.prototype.setCode = function(value) {
2372
+ return jspb.Message.setProto3StringField(this, 11, value);
2373
+ };
2374
+
2375
+
2376
+ /**
2377
+ * optional bool is_general = 12;
2378
+ * @return {boolean}
2379
+ */
2380
+ proto.ItemTransactionPriceCondition.prototype.getIsGeneral = function() {
2381
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
2382
+ };
2383
+
2384
+
2385
+ /**
2386
+ * @param {boolean} value
2387
+ * @return {!proto.ItemTransactionPriceCondition} returns this
2388
+ */
2389
+ proto.ItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
2390
+ return jspb.Message.setProto3BooleanField(this, 12, value);
2391
+ };
2392
+
2393
+
2214
2394
 
2215
2395
  /**
2216
2396
  * List of repeated fields within this message type.
@@ -2270,7 +2450,9 @@ previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
2270
2450
  previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
2271
2451
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
2272
2452
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2273
- currency: jspb.Message.getFieldWithDefault(msg, 18, "")
2453
+ currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
2454
+ referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
2455
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, "")
2274
2456
  };
2275
2457
 
2276
2458
  if (includeInstance) {
@@ -2382,6 +2564,14 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
2382
2564
  var value = /** @type {string} */ (reader.readString());
2383
2565
  msg.setCurrency(value);
2384
2566
  break;
2567
+ case 19:
2568
+ var value = /** @type {string} */ (reader.readString());
2569
+ msg.setReferencesId(value);
2570
+ break;
2571
+ case 20:
2572
+ var value = /** @type {string} */ (reader.readString());
2573
+ msg.setPurchaseRequisitionTransactionNumber(value);
2574
+ break;
2385
2575
  default:
2386
2576
  reader.skipField();
2387
2577
  break;
@@ -2540,6 +2730,20 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
2540
2730
  f
2541
2731
  );
2542
2732
  }
2733
+ f = message.getReferencesId();
2734
+ if (f.length > 0) {
2735
+ writer.writeString(
2736
+ 19,
2737
+ f
2738
+ );
2739
+ }
2740
+ f = message.getPurchaseRequisitionTransactionNumber();
2741
+ if (f.length > 0) {
2742
+ writer.writeString(
2743
+ 20,
2744
+ f
2745
+ );
2746
+ }
2543
2747
  };
2544
2748
 
2545
2749
 
@@ -2927,6 +3131,42 @@ proto.BaseItemTransaction.prototype.setCurrency = function(value) {
2927
3131
  };
2928
3132
 
2929
3133
 
3134
+ /**
3135
+ * optional string references_id = 19;
3136
+ * @return {string}
3137
+ */
3138
+ proto.BaseItemTransaction.prototype.getReferencesId = function() {
3139
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
3140
+ };
3141
+
3142
+
3143
+ /**
3144
+ * @param {string} value
3145
+ * @return {!proto.BaseItemTransaction} returns this
3146
+ */
3147
+ proto.BaseItemTransaction.prototype.setReferencesId = function(value) {
3148
+ return jspb.Message.setProto3StringField(this, 19, value);
3149
+ };
3150
+
3151
+
3152
+ /**
3153
+ * optional string purchase_requisition_transaction_number = 20;
3154
+ * @return {string}
3155
+ */
3156
+ proto.BaseItemTransaction.prototype.getPurchaseRequisitionTransactionNumber = function() {
3157
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
3158
+ };
3159
+
3160
+
3161
+ /**
3162
+ * @param {string} value
3163
+ * @return {!proto.BaseItemTransaction} returns this
3164
+ */
3165
+ proto.BaseItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
3166
+ return jspb.Message.setProto3StringField(this, 20, value);
3167
+ };
3168
+
3169
+
2930
3170
 
2931
3171
  /**
2932
3172
  * List of repeated fields within this message type.
@@ -3634,7 +3874,9 @@ operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
3634
3874
  divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
3635
3875
  type: jspb.Message.getFieldWithDefault(msg, 4, ""),
3636
3876
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
3637
- itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, "")
3877
+ itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
3878
+ code: jspb.Message.getFieldWithDefault(msg, 7, ""),
3879
+ isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
3638
3880
  };
3639
3881
 
3640
3882
  if (includeInstance) {
@@ -3695,6 +3937,14 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
3695
3937
  var value = /** @type {string} */ (reader.readString());
3696
3938
  msg.setItemTransactionRef(value);
3697
3939
  break;
3940
+ case 7:
3941
+ var value = /** @type {string} */ (reader.readString());
3942
+ msg.setCode(value);
3943
+ break;
3944
+ case 8:
3945
+ var value = /** @type {boolean} */ (reader.readBool());
3946
+ msg.setIsGeneral(value);
3947
+ break;
3698
3948
  default:
3699
3949
  reader.skipField();
3700
3950
  break;
@@ -3766,6 +4016,20 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
3766
4016
  f
3767
4017
  );
3768
4018
  }
4019
+ f = message.getCode();
4020
+ if (f.length > 0) {
4021
+ writer.writeString(
4022
+ 7,
4023
+ f
4024
+ );
4025
+ }
4026
+ f = message.getIsGeneral();
4027
+ if (f) {
4028
+ writer.writeBool(
4029
+ 8,
4030
+ f
4031
+ );
4032
+ }
3769
4033
  };
3770
4034
 
3771
4035
 
@@ -3877,4 +4141,40 @@ proto.BaseItemTransactionPriceCondition.prototype.setItemTransactionRef = functi
3877
4141
  };
3878
4142
 
3879
4143
 
4144
+ /**
4145
+ * optional string code = 7;
4146
+ * @return {string}
4147
+ */
4148
+ proto.BaseItemTransactionPriceCondition.prototype.getCode = function() {
4149
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4150
+ };
4151
+
4152
+
4153
+ /**
4154
+ * @param {string} value
4155
+ * @return {!proto.BaseItemTransactionPriceCondition} returns this
4156
+ */
4157
+ proto.BaseItemTransactionPriceCondition.prototype.setCode = function(value) {
4158
+ return jspb.Message.setProto3StringField(this, 7, value);
4159
+ };
4160
+
4161
+
4162
+ /**
4163
+ * optional bool is_general = 8;
4164
+ * @return {boolean}
4165
+ */
4166
+ proto.BaseItemTransactionPriceCondition.prototype.getIsGeneral = function() {
4167
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
4168
+ };
4169
+
4170
+
4171
+ /**
4172
+ * @param {boolean} value
4173
+ * @return {!proto.BaseItemTransactionPriceCondition} returns this
4174
+ */
4175
+ proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
4176
+ return jspb.Message.setProto3BooleanField(this, 8, value);
4177
+ };
4178
+
4179
+
3880
4180
  goog.object.extend(exports, proto);
@@ -153,7 +153,7 @@ if (goog.DEBUG && !COMPILED) {
153
153
  * @constructor
154
154
  */
155
155
  proto.DeleteJobGradeRequest = function(opt_data) {
156
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteJobGradeRequest.repeatedFields_, null);
157
157
  };
158
158
  goog.inherits(proto.DeleteJobGradeRequest, jspb.Message);
159
159
  if (goog.DEBUG && !COMPILED) {
@@ -174,7 +174,7 @@ if (goog.DEBUG && !COMPILED) {
174
174
  * @constructor
175
175
  */
176
176
  proto.DeleteJobGradeResponse = function(opt_data) {
177
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
177
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteJobGradeResponse.repeatedFields_, null);
178
178
  };
179
179
  goog.inherits(proto.DeleteJobGradeResponse, jspb.Message);
180
180
  if (goog.DEBUG && !COMPILED) {
@@ -1273,6 +1273,13 @@ proto.UpdateJobGradeRequest.prototype.hasJobGrade = function() {
1273
1273
 
1274
1274
 
1275
1275
 
1276
+ /**
1277
+ * List of repeated fields within this message type.
1278
+ * @private {!Array<number>}
1279
+ * @const
1280
+ */
1281
+ proto.DeleteJobGradeRequest.repeatedFields_ = [1];
1282
+
1276
1283
 
1277
1284
 
1278
1285
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1304,7 +1311,7 @@ proto.DeleteJobGradeRequest.prototype.toObject = function(opt_includeInstance) {
1304
1311
  */
1305
1312
  proto.DeleteJobGradeRequest.toObject = function(includeInstance, msg) {
1306
1313
  var f, obj = {
1307
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1314
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1308
1315
  };
1309
1316
 
1310
1317
  if (includeInstance) {
@@ -1342,8 +1349,8 @@ proto.DeleteJobGradeRequest.deserializeBinaryFromReader = function(msg, reader)
1342
1349
  var field = reader.getFieldNumber();
1343
1350
  switch (field) {
1344
1351
  case 1:
1345
- var value = /** @type {number} */ (reader.readInt64());
1346
- msg.setId(value);
1352
+ var value = /** @type {string} */ (reader.readString());
1353
+ msg.addReferenceIds(value);
1347
1354
  break;
1348
1355
  default:
1349
1356
  reader.skipField();
@@ -1374,9 +1381,9 @@ proto.DeleteJobGradeRequest.prototype.serializeBinary = function() {
1374
1381
  */
1375
1382
  proto.DeleteJobGradeRequest.serializeBinaryToWriter = function(message, writer) {
1376
1383
  var f = undefined;
1377
- f = message.getId();
1378
- if (f !== 0) {
1379
- writer.writeInt64(
1384
+ f = message.getReferenceIdsList();
1385
+ if (f.length > 0) {
1386
+ writer.writeRepeatedString(
1380
1387
  1,
1381
1388
  f
1382
1389
  );
@@ -1385,24 +1392,50 @@ proto.DeleteJobGradeRequest.serializeBinaryToWriter = function(message, writer)
1385
1392
 
1386
1393
 
1387
1394
  /**
1388
- * optional int64 id = 1;
1389
- * @return {number}
1395
+ * repeated string reference_ids = 1;
1396
+ * @return {!Array<string>}
1397
+ */
1398
+ proto.DeleteJobGradeRequest.prototype.getReferenceIdsList = function() {
1399
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1400
+ };
1401
+
1402
+
1403
+ /**
1404
+ * @param {!Array<string>} value
1405
+ * @return {!proto.DeleteJobGradeRequest} returns this
1406
+ */
1407
+ proto.DeleteJobGradeRequest.prototype.setReferenceIdsList = function(value) {
1408
+ return jspb.Message.setField(this, 1, value || []);
1409
+ };
1410
+
1411
+
1412
+ /**
1413
+ * @param {string} value
1414
+ * @param {number=} opt_index
1415
+ * @return {!proto.DeleteJobGradeRequest} returns this
1390
1416
  */
1391
- proto.DeleteJobGradeRequest.prototype.getId = function() {
1392
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1417
+ proto.DeleteJobGradeRequest.prototype.addReferenceIds = function(value, opt_index) {
1418
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1393
1419
  };
1394
1420
 
1395
1421
 
1396
1422
  /**
1397
- * @param {number} value
1423
+ * Clears the list making it empty but non-null.
1398
1424
  * @return {!proto.DeleteJobGradeRequest} returns this
1399
1425
  */
1400
- proto.DeleteJobGradeRequest.prototype.setId = function(value) {
1401
- return jspb.Message.setProto3IntField(this, 1, value);
1426
+ proto.DeleteJobGradeRequest.prototype.clearReferenceIdsList = function() {
1427
+ return this.setReferenceIdsList([]);
1402
1428
  };
1403
1429
 
1404
1430
 
1405
1431
 
1432
+ /**
1433
+ * List of repeated fields within this message type.
1434
+ * @private {!Array<number>}
1435
+ * @const
1436
+ */
1437
+ proto.DeleteJobGradeResponse.repeatedFields_ = [1];
1438
+
1406
1439
 
1407
1440
 
1408
1441
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1434,7 +1467,7 @@ proto.DeleteJobGradeResponse.prototype.toObject = function(opt_includeInstance)
1434
1467
  */
1435
1468
  proto.DeleteJobGradeResponse.toObject = function(includeInstance, msg) {
1436
1469
  var f, obj = {
1437
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1470
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1438
1471
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1439
1472
  };
1440
1473
 
@@ -1473,8 +1506,8 @@ proto.DeleteJobGradeResponse.deserializeBinaryFromReader = function(msg, reader)
1473
1506
  var field = reader.getFieldNumber();
1474
1507
  switch (field) {
1475
1508
  case 1:
1476
- var value = /** @type {number} */ (reader.readInt64());
1477
- msg.setId(value);
1509
+ var value = /** @type {string} */ (reader.readString());
1510
+ msg.addReferenceIds(value);
1478
1511
  break;
1479
1512
  case 2:
1480
1513
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -1510,9 +1543,9 @@ proto.DeleteJobGradeResponse.prototype.serializeBinary = function() {
1510
1543
  */
1511
1544
  proto.DeleteJobGradeResponse.serializeBinaryToWriter = function(message, writer) {
1512
1545
  var f = undefined;
1513
- f = message.getId();
1514
- if (f !== 0) {
1515
- writer.writeInt64(
1546
+ f = message.getReferenceIdsList();
1547
+ if (f.length > 0) {
1548
+ writer.writeRepeatedString(
1516
1549
  1,
1517
1550
  f
1518
1551
  );
@@ -1529,20 +1562,39 @@ proto.DeleteJobGradeResponse.serializeBinaryToWriter = function(message, writer)
1529
1562
 
1530
1563
 
1531
1564
  /**
1532
- * optional int64 id = 1;
1533
- * @return {number}
1565
+ * repeated string reference_ids = 1;
1566
+ * @return {!Array<string>}
1567
+ */
1568
+ proto.DeleteJobGradeResponse.prototype.getReferenceIdsList = function() {
1569
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1570
+ };
1571
+
1572
+
1573
+ /**
1574
+ * @param {!Array<string>} value
1575
+ * @return {!proto.DeleteJobGradeResponse} returns this
1576
+ */
1577
+ proto.DeleteJobGradeResponse.prototype.setReferenceIdsList = function(value) {
1578
+ return jspb.Message.setField(this, 1, value || []);
1579
+ };
1580
+
1581
+
1582
+ /**
1583
+ * @param {string} value
1584
+ * @param {number=} opt_index
1585
+ * @return {!proto.DeleteJobGradeResponse} returns this
1534
1586
  */
1535
- proto.DeleteJobGradeResponse.prototype.getId = function() {
1536
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1587
+ proto.DeleteJobGradeResponse.prototype.addReferenceIds = function(value, opt_index) {
1588
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1537
1589
  };
1538
1590
 
1539
1591
 
1540
1592
  /**
1541
- * @param {number} value
1593
+ * Clears the list making it empty but non-null.
1542
1594
  * @return {!proto.DeleteJobGradeResponse} returns this
1543
1595
  */
1544
- proto.DeleteJobGradeResponse.prototype.setId = function(value) {
1545
- return jspb.Message.setProto3IntField(this, 1, value);
1596
+ proto.DeleteJobGradeResponse.prototype.clearReferenceIdsList = function() {
1597
+ return this.setReferenceIdsList([]);
1546
1598
  };
1547
1599
 
1548
1600