@aldiokta/protocgen 1.0.101 → 1.1.1

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 (41) hide show
  1. package/cherry/v1/core/access_manager/access_manager_grpc_pb.js +1 -0
  2. package/cherry/v1/core/access_manager/access_manager_pb.js +240 -0
  3. package/cherry/v1/core/attribute/attribute_grpc_pb.js +309 -0
  4. package/cherry/v1/core/attribute/attribute_pb.js +4432 -0
  5. package/cherry/v1/core/auth/auth_grpc_pb.js +364 -0
  6. package/cherry/v1/core/auth/auth_pb.js +3766 -0
  7. package/cherry/v1/core/company/company_grpc_pb.js +177 -0
  8. package/cherry/v1/core/company/company_pb.js +2875 -0
  9. package/cherry/v1/core/employee/employee_grpc_pb.js +206 -0
  10. package/cherry/v1/core/employee/employee_pb.js +4283 -0
  11. package/cherry/v1/core/employee_personal/employee_personal_grpc_pb.js +177 -0
  12. package/cherry/v1/core/employee_personal/employee_personal_pb.js +2961 -0
  13. package/cherry/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  14. package/cherry/v1/core/job_grade/job_grade_pb.js +2605 -0
  15. package/cherry/v1/core/job_position/job_position_grpc_pb.js +181 -0
  16. package/cherry/v1/core/job_position/job_position_pb.js +3762 -0
  17. package/cherry/v1/core/job_title/job_title_grpc_pb.js +178 -0
  18. package/cherry/v1/core/job_title/job_title_pb.js +2958 -0
  19. package/cherry/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  20. package/cherry/v1/core/link_data_source/link_data_source_pb.js +2642 -0
  21. package/cherry/v1/core/location/location_grpc_pb.js +837 -0
  22. package/cherry/v1/core/location/location_pb.js +10879 -0
  23. package/cherry/v1/core/organization/organization_grpc_pb.js +180 -0
  24. package/cherry/v1/core/organization/organization_pb.js +3032 -0
  25. package/cherry/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  26. package/cherry/v1/core/organization_level/organization_level_pb.js +2545 -0
  27. package/cherry/v1/core/transaction_builder/transaction_builder_grpc_pb.js +254 -0
  28. package/cherry/v1/core/transaction_builder/transaction_builder_pb.js +7419 -0
  29. package/cherry/v1/core/users/users_grpc_pb.js +45 -0
  30. package/cherry/v1/core/users/users_pb.js +1246 -0
  31. package/cherry/v1/core/work_location/work_location_grpc_pb.js +179 -0
  32. package/cherry/v1/core/work_location/work_location_pb.js +3972 -0
  33. package/cherry/v1/global/meta/meta_grpc_pb.js +1 -0
  34. package/cherry/v1/global/meta/meta_pb.js +1179 -0
  35. package/package.json +1 -1
  36. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +144 -0
  37. package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -0
  38. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
  39. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -0
  40. package/prisca/v1/core/workflow/workflow_pb.js +128 -32
  41. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +182 -2
@@ -2977,7 +2977,7 @@ proto.WorkflowDeadline.prototype.setDeadlineEffect = function(value) {
2977
2977
  * @private {!Array<number>}
2978
2978
  * @const
2979
2979
  */
2980
- proto.WorkflowStepsRecipients.repeatedFields_ = [5,9];
2980
+ proto.WorkflowStepsRecipients.repeatedFields_ = [6,10];
2981
2981
 
2982
2982
 
2983
2983
 
@@ -3014,9 +3014,10 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3014
3014
  referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3015
3015
  workflowStepsRefId: jspb.Message.getFieldWithDefault(msg, 3, ""),
3016
3016
  jobPositionRefId: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
3017
- employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
3018
- createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
3019
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
3017
+ jobTitleRefId: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
3018
+ employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
3019
+ createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
3020
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
3020
3021
  jobPosition: (f = msg.getJobPosition()) && prisca_v1_core_job_position_job_position_pb.JobPosition.toObject(includeInstance, f),
3021
3022
  employeesList: jspb.Message.toObjectList(msg.getEmployeesList(),
3022
3023
  prisca_v1_core_employee_employee_pb.Employee.toObject, includeInstance)
@@ -3074,22 +3075,26 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
3074
3075
  break;
3075
3076
  case 5:
3076
3077
  var value = /** @type {string} */ (reader.readString());
3077
- msg.addEmployeesRefId(value);
3078
+ msg.setJobTitleRefId(value);
3078
3079
  break;
3079
3080
  case 6:
3080
3081
  var value = /** @type {string} */ (reader.readString());
3081
- msg.setCreatedAt(value);
3082
+ msg.addEmployeesRefId(value);
3082
3083
  break;
3083
3084
  case 7:
3084
3085
  var value = /** @type {string} */ (reader.readString());
3085
- msg.setUpdatedAt(value);
3086
+ msg.setCreatedAt(value);
3086
3087
  break;
3087
3088
  case 8:
3089
+ var value = /** @type {string} */ (reader.readString());
3090
+ msg.setUpdatedAt(value);
3091
+ break;
3092
+ case 9:
3088
3093
  var value = new prisca_v1_core_job_position_job_position_pb.JobPosition;
3089
3094
  reader.readMessage(value,prisca_v1_core_job_position_job_position_pb.JobPosition.deserializeBinaryFromReader);
3090
3095
  msg.setJobPosition(value);
3091
3096
  break;
3092
- case 9:
3097
+ case 10:
3093
3098
  var value = new prisca_v1_core_employee_employee_pb.Employee;
3094
3099
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
3095
3100
  msg.addEmployees(value);
@@ -3151,31 +3156,38 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
3151
3156
  f
3152
3157
  );
3153
3158
  }
3159
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
3160
+ if (f != null) {
3161
+ writer.writeString(
3162
+ 5,
3163
+ f
3164
+ );
3165
+ }
3154
3166
  f = message.getEmployeesRefIdList();
3155
3167
  if (f.length > 0) {
3156
3168
  writer.writeRepeatedString(
3157
- 5,
3169
+ 6,
3158
3170
  f
3159
3171
  );
3160
3172
  }
3161
3173
  f = message.getCreatedAt();
3162
3174
  if (f.length > 0) {
3163
3175
  writer.writeString(
3164
- 6,
3176
+ 7,
3165
3177
  f
3166
3178
  );
3167
3179
  }
3168
3180
  f = message.getUpdatedAt();
3169
3181
  if (f.length > 0) {
3170
3182
  writer.writeString(
3171
- 7,
3183
+ 8,
3172
3184
  f
3173
3185
  );
3174
3186
  }
3175
3187
  f = message.getJobPosition();
3176
3188
  if (f != null) {
3177
3189
  writer.writeMessage(
3178
- 8,
3190
+ 9,
3179
3191
  f,
3180
3192
  prisca_v1_core_job_position_job_position_pb.JobPosition.serializeBinaryToWriter
3181
3193
  );
@@ -3183,7 +3195,7 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
3183
3195
  f = message.getEmployeesList();
3184
3196
  if (f.length > 0) {
3185
3197
  writer.writeRepeatedMessage(
3186
- 9,
3198
+ 10,
3187
3199
  f,
3188
3200
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
3189
3201
  );
@@ -3282,11 +3294,47 @@ proto.WorkflowStepsRecipients.prototype.hasJobPositionRefId = function() {
3282
3294
 
3283
3295
 
3284
3296
  /**
3285
- * repeated string employees_ref_id = 5;
3297
+ * optional string job_title_ref_id = 5;
3298
+ * @return {string}
3299
+ */
3300
+ proto.WorkflowStepsRecipients.prototype.getJobTitleRefId = function() {
3301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3302
+ };
3303
+
3304
+
3305
+ /**
3306
+ * @param {string} value
3307
+ * @return {!proto.WorkflowStepsRecipients} returns this
3308
+ */
3309
+ proto.WorkflowStepsRecipients.prototype.setJobTitleRefId = function(value) {
3310
+ return jspb.Message.setField(this, 5, value);
3311
+ };
3312
+
3313
+
3314
+ /**
3315
+ * Clears the field making it undefined.
3316
+ * @return {!proto.WorkflowStepsRecipients} returns this
3317
+ */
3318
+ proto.WorkflowStepsRecipients.prototype.clearJobTitleRefId = function() {
3319
+ return jspb.Message.setField(this, 5, undefined);
3320
+ };
3321
+
3322
+
3323
+ /**
3324
+ * Returns whether this field is set.
3325
+ * @return {boolean}
3326
+ */
3327
+ proto.WorkflowStepsRecipients.prototype.hasJobTitleRefId = function() {
3328
+ return jspb.Message.getField(this, 5) != null;
3329
+ };
3330
+
3331
+
3332
+ /**
3333
+ * repeated string employees_ref_id = 6;
3286
3334
  * @return {!Array<string>}
3287
3335
  */
3288
3336
  proto.WorkflowStepsRecipients.prototype.getEmployeesRefIdList = function() {
3289
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
3337
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
3290
3338
  };
3291
3339
 
3292
3340
 
@@ -3295,7 +3343,7 @@ proto.WorkflowStepsRecipients.prototype.getEmployeesRefIdList = function() {
3295
3343
  * @return {!proto.WorkflowStepsRecipients} returns this
3296
3344
  */
3297
3345
  proto.WorkflowStepsRecipients.prototype.setEmployeesRefIdList = function(value) {
3298
- return jspb.Message.setField(this, 5, value || []);
3346
+ return jspb.Message.setField(this, 6, value || []);
3299
3347
  };
3300
3348
 
3301
3349
 
@@ -3305,7 +3353,7 @@ proto.WorkflowStepsRecipients.prototype.setEmployeesRefIdList = function(value)
3305
3353
  * @return {!proto.WorkflowStepsRecipients} returns this
3306
3354
  */
3307
3355
  proto.WorkflowStepsRecipients.prototype.addEmployeesRefId = function(value, opt_index) {
3308
- return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
3356
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
3309
3357
  };
3310
3358
 
3311
3359
 
@@ -3319,11 +3367,11 @@ proto.WorkflowStepsRecipients.prototype.clearEmployeesRefIdList = function() {
3319
3367
 
3320
3368
 
3321
3369
  /**
3322
- * optional string created_at = 6;
3370
+ * optional string created_at = 7;
3323
3371
  * @return {string}
3324
3372
  */
3325
3373
  proto.WorkflowStepsRecipients.prototype.getCreatedAt = function() {
3326
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3374
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3327
3375
  };
3328
3376
 
3329
3377
 
@@ -3332,16 +3380,16 @@ proto.WorkflowStepsRecipients.prototype.getCreatedAt = function() {
3332
3380
  * @return {!proto.WorkflowStepsRecipients} returns this
3333
3381
  */
3334
3382
  proto.WorkflowStepsRecipients.prototype.setCreatedAt = function(value) {
3335
- return jspb.Message.setProto3StringField(this, 6, value);
3383
+ return jspb.Message.setProto3StringField(this, 7, value);
3336
3384
  };
3337
3385
 
3338
3386
 
3339
3387
  /**
3340
- * optional string updated_at = 7;
3388
+ * optional string updated_at = 8;
3341
3389
  * @return {string}
3342
3390
  */
3343
3391
  proto.WorkflowStepsRecipients.prototype.getUpdatedAt = function() {
3344
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3392
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3345
3393
  };
3346
3394
 
3347
3395
 
@@ -3350,17 +3398,17 @@ proto.WorkflowStepsRecipients.prototype.getUpdatedAt = function() {
3350
3398
  * @return {!proto.WorkflowStepsRecipients} returns this
3351
3399
  */
3352
3400
  proto.WorkflowStepsRecipients.prototype.setUpdatedAt = function(value) {
3353
- return jspb.Message.setProto3StringField(this, 7, value);
3401
+ return jspb.Message.setProto3StringField(this, 8, value);
3354
3402
  };
3355
3403
 
3356
3404
 
3357
3405
  /**
3358
- * optional JobPosition job_position = 8;
3406
+ * optional JobPosition job_position = 9;
3359
3407
  * @return {?proto.JobPosition}
3360
3408
  */
3361
3409
  proto.WorkflowStepsRecipients.prototype.getJobPosition = function() {
3362
3410
  return /** @type{?proto.JobPosition} */ (
3363
- jspb.Message.getWrapperField(this, prisca_v1_core_job_position_job_position_pb.JobPosition, 8));
3411
+ jspb.Message.getWrapperField(this, prisca_v1_core_job_position_job_position_pb.JobPosition, 9));
3364
3412
  };
3365
3413
 
3366
3414
 
@@ -3369,7 +3417,7 @@ proto.WorkflowStepsRecipients.prototype.getJobPosition = function() {
3369
3417
  * @return {!proto.WorkflowStepsRecipients} returns this
3370
3418
  */
3371
3419
  proto.WorkflowStepsRecipients.prototype.setJobPosition = function(value) {
3372
- return jspb.Message.setWrapperField(this, 8, value);
3420
+ return jspb.Message.setWrapperField(this, 9, value);
3373
3421
  };
3374
3422
 
3375
3423
 
@@ -3387,17 +3435,17 @@ proto.WorkflowStepsRecipients.prototype.clearJobPosition = function() {
3387
3435
  * @return {boolean}
3388
3436
  */
3389
3437
  proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
3390
- return jspb.Message.getField(this, 8) != null;
3438
+ return jspb.Message.getField(this, 9) != null;
3391
3439
  };
3392
3440
 
3393
3441
 
3394
3442
  /**
3395
- * repeated Employee employees = 9;
3443
+ * repeated Employee employees = 10;
3396
3444
  * @return {!Array<!proto.Employee>}
3397
3445
  */
3398
3446
  proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
3399
3447
  return /** @type{!Array<!proto.Employee>} */ (
3400
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
3448
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 10));
3401
3449
  };
3402
3450
 
3403
3451
 
@@ -3406,7 +3454,7 @@ proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
3406
3454
  * @return {!proto.WorkflowStepsRecipients} returns this
3407
3455
  */
3408
3456
  proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
3409
- return jspb.Message.setRepeatedWrapperField(this, 9, value);
3457
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
3410
3458
  };
3411
3459
 
3412
3460
 
@@ -3416,7 +3464,7 @@ proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
3416
3464
  * @return {!proto.Employee}
3417
3465
  */
3418
3466
  proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
3419
- return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
3467
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.Employee, opt_index);
3420
3468
  };
3421
3469
 
3422
3470
 
@@ -5266,7 +5314,8 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.toObject = function(opt_includ
5266
5314
  proto.BaseWorkflowStepsRecipientRequest.toObject = function(includeInstance, msg) {
5267
5315
  var f, obj = {
5268
5316
  jobPositionRefId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
5269
- employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
5317
+ employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
5318
+ jobTitleRefId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
5270
5319
  };
5271
5320
 
5272
5321
  if (includeInstance) {
@@ -5311,6 +5360,10 @@ proto.BaseWorkflowStepsRecipientRequest.deserializeBinaryFromReader = function(m
5311
5360
  var value = /** @type {string} */ (reader.readString());
5312
5361
  msg.addEmployeesRefId(value);
5313
5362
  break;
5363
+ case 3:
5364
+ var value = /** @type {string} */ (reader.readString());
5365
+ msg.setJobTitleRefId(value);
5366
+ break;
5314
5367
  default:
5315
5368
  reader.skipField();
5316
5369
  break;
@@ -5354,6 +5407,13 @@ proto.BaseWorkflowStepsRecipientRequest.serializeBinaryToWriter = function(messa
5354
5407
  f
5355
5408
  );
5356
5409
  }
5410
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
5411
+ if (f != null) {
5412
+ writer.writeString(
5413
+ 3,
5414
+ f
5415
+ );
5416
+ }
5357
5417
  };
5358
5418
 
5359
5419
 
@@ -5430,6 +5490,42 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.clearEmployeesRefIdList = func
5430
5490
  };
5431
5491
 
5432
5492
 
5493
+ /**
5494
+ * optional string job_title_ref_id = 3;
5495
+ * @return {string}
5496
+ */
5497
+ proto.BaseWorkflowStepsRecipientRequest.prototype.getJobTitleRefId = function() {
5498
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5499
+ };
5500
+
5501
+
5502
+ /**
5503
+ * @param {string} value
5504
+ * @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
5505
+ */
5506
+ proto.BaseWorkflowStepsRecipientRequest.prototype.setJobTitleRefId = function(value) {
5507
+ return jspb.Message.setField(this, 3, value);
5508
+ };
5509
+
5510
+
5511
+ /**
5512
+ * Clears the field making it undefined.
5513
+ * @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
5514
+ */
5515
+ proto.BaseWorkflowStepsRecipientRequest.prototype.clearJobTitleRefId = function() {
5516
+ return jspb.Message.setField(this, 3, undefined);
5517
+ };
5518
+
5519
+
5520
+ /**
5521
+ * Returns whether this field is set.
5522
+ * @return {boolean}
5523
+ */
5524
+ proto.BaseWorkflowStepsRecipientRequest.prototype.hasJobTitleRefId = function() {
5525
+ return jspb.Message.getField(this, 3) != null;
5526
+ };
5527
+
5528
+
5433
5529
 
5434
5530
 
5435
5531
 
@@ -2606,7 +2606,10 @@ assetNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
2606
2606
  referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
2607
2607
  createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
2608
2608
  updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
2609
- costCenter: jspb.Message.getFieldWithDefault(msg, 18, "")
2609
+ costCenter: jspb.Message.getFieldWithDefault(msg, 18, ""),
2610
+ serviceNo: jspb.Message.getFieldWithDefault(msg, 19, ""),
2611
+ serviceDescription: jspb.Message.getFieldWithDefault(msg, 20, ""),
2612
+ amoutPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0)
2610
2613
  };
2611
2614
 
2612
2615
  if (includeInstance) {
@@ -2715,6 +2718,18 @@ proto.PurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(msg,
2715
2718
  var value = /** @type {string} */ (reader.readString());
2716
2719
  msg.setCostCenter(value);
2717
2720
  break;
2721
+ case 19:
2722
+ var value = /** @type {string} */ (reader.readString());
2723
+ msg.setServiceNo(value);
2724
+ break;
2725
+ case 20:
2726
+ var value = /** @type {string} */ (reader.readString());
2727
+ msg.setServiceDescription(value);
2728
+ break;
2729
+ case 21:
2730
+ var value = /** @type {number} */ (reader.readFloat());
2731
+ msg.setAmoutPrice(value);
2732
+ break;
2718
2733
  default:
2719
2734
  reader.skipField();
2720
2735
  break;
@@ -2870,6 +2885,27 @@ proto.PurchaseRequisitionItemDetail.serializeBinaryToWriter = function(message,
2870
2885
  f
2871
2886
  );
2872
2887
  }
2888
+ f = message.getServiceNo();
2889
+ if (f.length > 0) {
2890
+ writer.writeString(
2891
+ 19,
2892
+ f
2893
+ );
2894
+ }
2895
+ f = message.getServiceDescription();
2896
+ if (f.length > 0) {
2897
+ writer.writeString(
2898
+ 20,
2899
+ f
2900
+ );
2901
+ }
2902
+ f = message.getAmoutPrice();
2903
+ if (f !== 0.0) {
2904
+ writer.writeFloat(
2905
+ 21,
2906
+ f
2907
+ );
2908
+ }
2873
2909
  };
2874
2910
 
2875
2911
 
@@ -3197,6 +3233,60 @@ proto.PurchaseRequisitionItemDetail.prototype.setCostCenter = function(value) {
3197
3233
  };
3198
3234
 
3199
3235
 
3236
+ /**
3237
+ * optional string service_no = 19;
3238
+ * @return {string}
3239
+ */
3240
+ proto.PurchaseRequisitionItemDetail.prototype.getServiceNo = function() {
3241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
3242
+ };
3243
+
3244
+
3245
+ /**
3246
+ * @param {string} value
3247
+ * @return {!proto.PurchaseRequisitionItemDetail} returns this
3248
+ */
3249
+ proto.PurchaseRequisitionItemDetail.prototype.setServiceNo = function(value) {
3250
+ return jspb.Message.setProto3StringField(this, 19, value);
3251
+ };
3252
+
3253
+
3254
+ /**
3255
+ * optional string service_description = 20;
3256
+ * @return {string}
3257
+ */
3258
+ proto.PurchaseRequisitionItemDetail.prototype.getServiceDescription = function() {
3259
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
3260
+ };
3261
+
3262
+
3263
+ /**
3264
+ * @param {string} value
3265
+ * @return {!proto.PurchaseRequisitionItemDetail} returns this
3266
+ */
3267
+ proto.PurchaseRequisitionItemDetail.prototype.setServiceDescription = function(value) {
3268
+ return jspb.Message.setProto3StringField(this, 20, value);
3269
+ };
3270
+
3271
+
3272
+ /**
3273
+ * optional float amout_price = 21;
3274
+ * @return {number}
3275
+ */
3276
+ proto.PurchaseRequisitionItemDetail.prototype.getAmoutPrice = function() {
3277
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0));
3278
+ };
3279
+
3280
+
3281
+ /**
3282
+ * @param {number} value
3283
+ * @return {!proto.PurchaseRequisitionItemDetail} returns this
3284
+ */
3285
+ proto.PurchaseRequisitionItemDetail.prototype.setAmoutPrice = function(value) {
3286
+ return jspb.Message.setProto3FloatField(this, 21, value);
3287
+ };
3288
+
3289
+
3200
3290
 
3201
3291
  /**
3202
3292
  * List of repeated fields within this message type.
@@ -5207,7 +5297,10 @@ assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
5207
5297
  purchaseRequisitionItemRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
5208
5298
  costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
5209
5299
  orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
5210
- orderDescription: jspb.Message.getFieldWithDefault(msg, 13, "")
5300
+ orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
5301
+ serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
5302
+ serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
5303
+ amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0)
5211
5304
  };
5212
5305
 
5213
5306
  if (includeInstance) {
@@ -5296,6 +5389,18 @@ proto.BasePurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(m
5296
5389
  var value = /** @type {string} */ (reader.readString());
5297
5390
  msg.setOrderDescription(value);
5298
5391
  break;
5392
+ case 14:
5393
+ var value = /** @type {string} */ (reader.readString());
5394
+ msg.setServiceNo(value);
5395
+ break;
5396
+ case 15:
5397
+ var value = /** @type {string} */ (reader.readString());
5398
+ msg.setServiceDescription(value);
5399
+ break;
5400
+ case 16:
5401
+ var value = /** @type {number} */ (reader.readFloat());
5402
+ msg.setAmountPrice(value);
5403
+ break;
5299
5404
  default:
5300
5405
  reader.skipField();
5301
5406
  break;
@@ -5416,6 +5521,27 @@ proto.BasePurchaseRequisitionItemDetail.serializeBinaryToWriter = function(messa
5416
5521
  f
5417
5522
  );
5418
5523
  }
5524
+ f = message.getServiceNo();
5525
+ if (f.length > 0) {
5526
+ writer.writeString(
5527
+ 14,
5528
+ f
5529
+ );
5530
+ }
5531
+ f = message.getServiceDescription();
5532
+ if (f.length > 0) {
5533
+ writer.writeString(
5534
+ 15,
5535
+ f
5536
+ );
5537
+ }
5538
+ f = message.getAmountPrice();
5539
+ if (f !== 0.0) {
5540
+ writer.writeFloat(
5541
+ 16,
5542
+ f
5543
+ );
5544
+ }
5419
5545
  };
5420
5546
 
5421
5547
 
@@ -5653,6 +5779,60 @@ proto.BasePurchaseRequisitionItemDetail.prototype.setOrderDescription = function
5653
5779
  };
5654
5780
 
5655
5781
 
5782
+ /**
5783
+ * optional string service_no = 14;
5784
+ * @return {string}
5785
+ */
5786
+ proto.BasePurchaseRequisitionItemDetail.prototype.getServiceNo = function() {
5787
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
5788
+ };
5789
+
5790
+
5791
+ /**
5792
+ * @param {string} value
5793
+ * @return {!proto.BasePurchaseRequisitionItemDetail} returns this
5794
+ */
5795
+ proto.BasePurchaseRequisitionItemDetail.prototype.setServiceNo = function(value) {
5796
+ return jspb.Message.setProto3StringField(this, 14, value);
5797
+ };
5798
+
5799
+
5800
+ /**
5801
+ * optional string service_description = 15;
5802
+ * @return {string}
5803
+ */
5804
+ proto.BasePurchaseRequisitionItemDetail.prototype.getServiceDescription = function() {
5805
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
5806
+ };
5807
+
5808
+
5809
+ /**
5810
+ * @param {string} value
5811
+ * @return {!proto.BasePurchaseRequisitionItemDetail} returns this
5812
+ */
5813
+ proto.BasePurchaseRequisitionItemDetail.prototype.setServiceDescription = function(value) {
5814
+ return jspb.Message.setProto3StringField(this, 15, value);
5815
+ };
5816
+
5817
+
5818
+ /**
5819
+ * optional float amount_price = 16;
5820
+ * @return {number}
5821
+ */
5822
+ proto.BasePurchaseRequisitionItemDetail.prototype.getAmountPrice = function() {
5823
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
5824
+ };
5825
+
5826
+
5827
+ /**
5828
+ * @param {number} value
5829
+ * @return {!proto.BasePurchaseRequisitionItemDetail} returns this
5830
+ */
5831
+ proto.BasePurchaseRequisitionItemDetail.prototype.setAmountPrice = function(value) {
5832
+ return jspb.Message.setProto3FloatField(this, 16, value);
5833
+ };
5834
+
5835
+
5656
5836
 
5657
5837
 
5658
5838