@aldiokta/protocgen 1.1.67 → 1.1.68

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 (74) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/audit_trail/audit_trail_grpc_pb.js +92 -0
  3. package/prisca/v1/audit_trail/audit_trail_pb.js +2107 -0
  4. package/prisca/v1/bidding/bidding_pb.js +61 -1
  5. package/prisca/v1/business_partner/business_partner_grpc_pb.js +334 -0
  6. package/prisca/v1/business_partner/business_partner_pb.js +5244 -0
  7. package/prisca/v1/core/bp_config/bp_config_grpc_pb.js +697 -0
  8. package/prisca/v1/core/bp_config/bp_config_pb.js +10812 -0
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +340 -10
  10. package/prisca/v1/core/job_title/job_title_pb.js +31 -1
  11. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +73 -0
  12. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2027 -0
  13. package/prisca/v1/core/material_sales/material_account_assignment_group_grpc_pb.js +183 -0
  14. package/prisca/v1/core/material_sales/material_account_assignment_group_pb.js +2658 -0
  15. package/prisca/v1/core/material_sales/material_division_grpc_pb.js +199 -0
  16. package/prisca/v1/core/material_sales/material_division_pb.js +2706 -0
  17. package/prisca/v1/core/material_sales/material_item_category_group_grpc_pb.js +183 -0
  18. package/prisca/v1/core/material_sales/material_item_category_group_pb.js +2658 -0
  19. package/prisca/v1/core/material_sales/material_plant_grpc_pb.js +193 -0
  20. package/prisca/v1/core/material_sales/material_plant_pb.js +2757 -0
  21. package/prisca/v1/core/material_sales/material_sales_eligibility_grpc_pb.js +62 -0
  22. package/prisca/v1/core/material_sales/material_sales_eligibility_pb.js +475 -0
  23. package/prisca/v1/core/material_sales/material_sales_org_grpc_pb.js +191 -0
  24. package/prisca/v1/core/material_sales/material_sales_org_pb.js +2937 -0
  25. package/prisca/v1/core/material_sales/material_tax_classification_grpc_pb.js +193 -0
  26. package/prisca/v1/core/material_sales/material_tax_classification_pb.js +2817 -0
  27. package/prisca/v1/core/material_sales/material_tax_classification_value_grpc_pb.js +194 -0
  28. package/prisca/v1/core/material_sales/material_tax_classification_value_pb.js +2868 -0
  29. package/prisca/v1/core/material_sales/material_withholding_tax_group_grpc_pb.js +188 -0
  30. package/prisca/v1/core/material_sales/material_withholding_tax_group_pb.js +2658 -0
  31. package/prisca/v1/core/sales_org/distribution_channel_grpc_pb.js +180 -0
  32. package/prisca/v1/core/sales_org/distribution_channel_pb.js +2658 -0
  33. package/prisca/v1/core/sales_org/sales_address_grpc_pb.js +1 -0
  34. package/prisca/v1/core/sales_org/sales_address_pb.js +380 -0
  35. package/prisca/v1/core/sales_org/sales_area_grpc_pb.js +157 -0
  36. package/prisca/v1/core/sales_org/sales_area_pb.js +2381 -0
  37. package/prisca/v1/core/sales_org/sales_division_grpc_pb.js +180 -0
  38. package/prisca/v1/core/sales_org/sales_division_pb.js +2658 -0
  39. package/prisca/v1/core/sales_org/sales_group_assignment_grpc_pb.js +151 -0
  40. package/prisca/v1/core/sales_org/sales_group_assignment_pb.js +2231 -0
  41. package/prisca/v1/core/sales_org/sales_group_grpc_pb.js +180 -0
  42. package/prisca/v1/core/sales_org/sales_group_pb.js +2658 -0
  43. package/prisca/v1/core/sales_org/sales_office_assignment_grpc_pb.js +151 -0
  44. package/prisca/v1/core/sales_org/sales_office_assignment_pb.js +2231 -0
  45. package/prisca/v1/core/sales_org/sales_office_grpc_pb.js +181 -0
  46. package/prisca/v1/core/sales_org/sales_office_pb.js +2762 -0
  47. package/prisca/v1/core/sales_org/sales_org_distribution_channel_grpc_pb.js +151 -0
  48. package/prisca/v1/core/sales_org/sales_org_distribution_channel_pb.js +2231 -0
  49. package/prisca/v1/core/sales_org/sales_org_division_grpc_pb.js +151 -0
  50. package/prisca/v1/core/sales_org/sales_org_division_pb.js +2231 -0
  51. package/prisca/v1/core/sales_org/sales_org_plant_grpc_pb.js +152 -0
  52. package/prisca/v1/core/sales_org/sales_org_plant_pb.js +2291 -0
  53. package/prisca/v1/core/sales_org/sales_organization_grpc_pb.js +181 -0
  54. package/prisca/v1/core/sales_org/sales_organization_pb.js +2822 -0
  55. package/prisca/v1/core/sales_org/shipping_point_grpc_pb.js +181 -0
  56. package/prisca/v1/core/sales_org/shipping_point_pb.js +2762 -0
  57. package/prisca/v1/core/sales_org/shipping_point_plant_grpc_pb.js +152 -0
  58. package/prisca/v1/core/sales_org/shipping_point_plant_pb.js +2231 -0
  59. package/prisca/v1/core/transaction_type/transaction_type_grpc_pb.js +147 -0
  60. package/prisca/v1/core/transaction_type/transaction_type_pb.js +2587 -0
  61. package/prisca/v1/customer/customer_grpc_pb.js +184 -0
  62. package/prisca/v1/customer/customer_pb.js +3498 -0
  63. package/prisca/v1/customer/customer_registration_grpc_pb.js +93 -0
  64. package/prisca/v1/customer/customer_registration_pb.js +1300 -0
  65. package/prisca/v1/customer/customer_sales_area_grpc_pb.js +256 -0
  66. package/prisca/v1/customer/customer_sales_area_pb.js +4681 -0
  67. package/prisca/v1/delivery_order/delivery_order_pb.js +61 -1
  68. package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
  69. package/prisca/v1/invoice/invoice_pb.js +62 -2
  70. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +87 -0
  71. package/prisca/v1/purchase_order/purchase_order_pb.js +1015 -5
  72. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
  73. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +152 -2
  74. package/prisca/v1/vendor_domain/vendor_domain_pb.js +94 -15
@@ -421,7 +421,9 @@ purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 16, ""),
421
421
  salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
422
422
  deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
423
423
  customTransaction: jspb.Message.getFieldWithDefault(msg, 31, ""),
424
- requestedBy: jspb.Message.getFieldWithDefault(msg, 32, "")
424
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
425
+ currency: jspb.Message.getFieldWithDefault(msg, 33, ""),
426
+ documentType: jspb.Message.getFieldWithDefault(msg, 34, "")
425
427
  };
426
428
 
427
429
  if (includeInstance) {
@@ -540,6 +542,14 @@ proto.BaseDeliveryOrderRequest.deserializeBinaryFromReader = function(msg, reade
540
542
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
541
543
  msg.setRequestedBy(value);
542
544
  break;
545
+ case 33:
546
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
547
+ msg.setCurrency(value);
548
+ break;
549
+ case 34:
550
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
551
+ msg.setDocumentType(value);
552
+ break;
543
553
  default:
544
554
  reader.skipField();
545
555
  break;
@@ -711,6 +721,20 @@ proto.BaseDeliveryOrderRequest.serializeBinaryToWriter = function(message, write
711
721
  f
712
722
  );
713
723
  }
724
+ f = message.getCurrency();
725
+ if (f.length > 0) {
726
+ writer.writeString(
727
+ 33,
728
+ f
729
+ );
730
+ }
731
+ f = message.getDocumentType();
732
+ if (f.length > 0) {
733
+ writer.writeString(
734
+ 34,
735
+ f
736
+ );
737
+ }
714
738
  };
715
739
 
716
740
 
@@ -1114,6 +1138,42 @@ proto.BaseDeliveryOrderRequest.prototype.setRequestedBy = function(value) {
1114
1138
  };
1115
1139
 
1116
1140
 
1141
+ /**
1142
+ * optional string currency = 33;
1143
+ * @return {string}
1144
+ */
1145
+ proto.BaseDeliveryOrderRequest.prototype.getCurrency = function() {
1146
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
1147
+ };
1148
+
1149
+
1150
+ /**
1151
+ * @param {string} value
1152
+ * @return {!proto.BaseDeliveryOrderRequest} returns this
1153
+ */
1154
+ proto.BaseDeliveryOrderRequest.prototype.setCurrency = function(value) {
1155
+ return jspb.Message.setProto3StringField(this, 33, value);
1156
+ };
1157
+
1158
+
1159
+ /**
1160
+ * optional string document_type = 34;
1161
+ * @return {string}
1162
+ */
1163
+ proto.BaseDeliveryOrderRequest.prototype.getDocumentType = function() {
1164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
1165
+ };
1166
+
1167
+
1168
+ /**
1169
+ * @param {string} value
1170
+ * @return {!proto.BaseDeliveryOrderRequest} returns this
1171
+ */
1172
+ proto.BaseDeliveryOrderRequest.prototype.setDocumentType = function(value) {
1173
+ return jspb.Message.setProto3StringField(this, 34, value);
1174
+ };
1175
+
1176
+
1117
1177
 
1118
1178
 
1119
1179
 
@@ -466,7 +466,8 @@ purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
466
466
  customTransaction: jspb.Message.getFieldWithDefault(msg, 18, ""),
467
467
  requestedBy: jspb.Message.getFieldWithDefault(msg, 19, ""),
468
468
  department: jspb.Message.getFieldWithDefault(msg, 20, ""),
469
- documentType: jspb.Message.getFieldWithDefault(msg, 21, "")
469
+ documentType: jspb.Message.getFieldWithDefault(msg, 21, ""),
470
+ currency: jspb.Message.getFieldWithDefault(msg, 22, "")
470
471
  };
471
472
 
472
473
  if (includeInstance) {
@@ -592,6 +593,10 @@ proto.BaseGoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
592
593
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
593
594
  msg.setDocumentType(value);
594
595
  break;
596
+ case 22:
597
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
598
+ msg.setCurrency(value);
599
+ break;
595
600
  default:
596
601
  reader.skipField();
597
602
  break;
@@ -773,6 +778,13 @@ proto.BaseGoodReceipt.serializeBinaryToWriter = function(message, writer) {
773
778
  f
774
779
  );
775
780
  }
781
+ f = message.getCurrency();
782
+ if (f.length > 0) {
783
+ writer.writeString(
784
+ 22,
785
+ f
786
+ );
787
+ }
776
788
  };
777
789
 
778
790
 
@@ -1251,6 +1263,24 @@ proto.BaseGoodReceipt.prototype.setDocumentType = function(value) {
1251
1263
  };
1252
1264
 
1253
1265
 
1266
+ /**
1267
+ * optional string currency = 22;
1268
+ * @return {string}
1269
+ */
1270
+ proto.BaseGoodReceipt.prototype.getCurrency = function() {
1271
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1272
+ };
1273
+
1274
+
1275
+ /**
1276
+ * @param {string} value
1277
+ * @return {!proto.BaseGoodReceipt} returns this
1278
+ */
1279
+ proto.BaseGoodReceipt.prototype.setCurrency = function(value) {
1280
+ return jspb.Message.setProto3StringField(this, 22, value);
1281
+ };
1282
+
1283
+
1254
1284
 
1255
1285
 
1256
1286
 
@@ -707,7 +707,8 @@ shippingFilesList: jspb.Message.toObjectList(msg.getShippingFilesList(),
707
707
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
708
708
  customTransaction: jspb.Message.getFieldWithDefault(msg, 15, ""),
709
709
  invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
710
- prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.toObject, includeInstance)
710
+ prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.toObject, includeInstance),
711
+ currency: jspb.Message.getFieldWithDefault(msg, 40, "")
711
712
  };
712
713
 
713
714
  if (includeInstance) {
@@ -812,6 +813,10 @@ proto.CreateDownPaymentInvoiceReq.deserializeBinaryFromReader = function(msg, re
812
813
  reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.deserializeBinaryFromReader);
813
814
  msg.addInvoiceConditions(value);
814
815
  break;
816
+ case 40:
817
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
818
+ msg.setCurrency(value);
819
+ break;
815
820
  default:
816
821
  reader.skipField();
817
822
  break;
@@ -957,6 +962,13 @@ proto.CreateDownPaymentInvoiceReq.serializeBinaryToWriter = function(message, wr
957
962
  prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.serializeBinaryToWriter
958
963
  );
959
964
  }
965
+ f = message.getCurrency();
966
+ if (f.length > 0) {
967
+ writer.writeString(
968
+ 40,
969
+ f
970
+ );
971
+ }
960
972
  };
961
973
 
962
974
 
@@ -1328,6 +1340,24 @@ proto.CreateDownPaymentInvoiceReq.prototype.clearInvoiceConditionsList = functio
1328
1340
  };
1329
1341
 
1330
1342
 
1343
+ /**
1344
+ * optional string currency = 40;
1345
+ * @return {string}
1346
+ */
1347
+ proto.CreateDownPaymentInvoiceReq.prototype.getCurrency = function() {
1348
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
1349
+ };
1350
+
1351
+
1352
+ /**
1353
+ * @param {string} value
1354
+ * @return {!proto.CreateDownPaymentInvoiceReq} returns this
1355
+ */
1356
+ proto.CreateDownPaymentInvoiceReq.prototype.setCurrency = function(value) {
1357
+ return jspb.Message.setProto3StringField(this, 40, value);
1358
+ };
1359
+
1360
+
1331
1361
 
1332
1362
  /**
1333
1363
  * List of repeated fields within this message type.
@@ -1388,7 +1418,8 @@ customTransaction: jspb.Message.getFieldWithDefault(msg, 15, ""),
1388
1418
  invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
1389
1419
  prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.toObject, includeInstance),
1390
1420
  department: jspb.Message.getFieldWithDefault(msg, 40, ""),
1391
- documentType: jspb.Message.getFieldWithDefault(msg, 41, "")
1421
+ documentType: jspb.Message.getFieldWithDefault(msg, 41, ""),
1422
+ currency: jspb.Message.getFieldWithDefault(msg, 42, "")
1392
1423
  };
1393
1424
 
1394
1425
  if (includeInstance) {
@@ -1501,6 +1532,10 @@ proto.BaseInvoice.deserializeBinaryFromReader = function(msg, reader) {
1501
1532
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
1502
1533
  msg.setDocumentType(value);
1503
1534
  break;
1535
+ case 42:
1536
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1537
+ msg.setCurrency(value);
1538
+ break;
1504
1539
  default:
1505
1540
  reader.skipField();
1506
1541
  break;
@@ -1660,6 +1695,13 @@ proto.BaseInvoice.serializeBinaryToWriter = function(message, writer) {
1660
1695
  f
1661
1696
  );
1662
1697
  }
1698
+ f = message.getCurrency();
1699
+ if (f.length > 0) {
1700
+ writer.writeString(
1701
+ 42,
1702
+ f
1703
+ );
1704
+ }
1663
1705
  };
1664
1706
 
1665
1707
 
@@ -2067,6 +2109,24 @@ proto.BaseInvoice.prototype.setDocumentType = function(value) {
2067
2109
  };
2068
2110
 
2069
2111
 
2112
+ /**
2113
+ * optional string currency = 42;
2114
+ * @return {string}
2115
+ */
2116
+ proto.BaseInvoice.prototype.getCurrency = function() {
2117
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
2118
+ };
2119
+
2120
+
2121
+ /**
2122
+ * @param {string} value
2123
+ * @return {!proto.BaseInvoice} returns this
2124
+ */
2125
+ proto.BaseInvoice.prototype.setCurrency = function(value) {
2126
+ return jspb.Message.setProto3StringField(this, 42, value);
2127
+ };
2128
+
2129
+
2070
2130
 
2071
2131
  /**
2072
2132
  * List of repeated fields within this message type.
@@ -78,6 +78,28 @@ function deserialize_DeletePurchaseOrderResponse(buffer_arg) {
78
78
  return prisca_v1_purchase_order_purchase_order_pb.DeletePurchaseOrderResponse.deserializeBinary(new Uint8Array(buffer_arg));
79
79
  }
80
80
 
81
+ function serialize_GetDocumentVerificationTokenRequest(arg) {
82
+ if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenRequest)) {
83
+ throw new Error('Expected argument of type GetDocumentVerificationTokenRequest');
84
+ }
85
+ return Buffer.from(arg.serializeBinary());
86
+ }
87
+
88
+ function deserialize_GetDocumentVerificationTokenRequest(buffer_arg) {
89
+ return prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
90
+ }
91
+
92
+ function serialize_GetDocumentVerificationTokenResponse(arg) {
93
+ if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenResponse)) {
94
+ throw new Error('Expected argument of type GetDocumentVerificationTokenResponse');
95
+ }
96
+ return Buffer.from(arg.serializeBinary());
97
+ }
98
+
99
+ function deserialize_GetDocumentVerificationTokenResponse(buffer_arg) {
100
+ return prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
101
+ }
102
+
81
103
  function serialize_GetListPurchaseOrderRequest(arg) {
82
104
  if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.GetListPurchaseOrderRequest)) {
83
105
  throw new Error('Expected argument of type GetListPurchaseOrderRequest');
@@ -232,6 +254,28 @@ function deserialize_UpdatePurchaseOrderStatusRequest(buffer_arg) {
232
254
  return prisca_v1_purchase_order_purchase_order_pb.UpdatePurchaseOrderStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
233
255
  }
234
256
 
257
+ function serialize_VerifyDocumentTokenRequest(arg) {
258
+ if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenRequest)) {
259
+ throw new Error('Expected argument of type VerifyDocumentTokenRequest');
260
+ }
261
+ return Buffer.from(arg.serializeBinary());
262
+ }
263
+
264
+ function deserialize_VerifyDocumentTokenRequest(buffer_arg) {
265
+ return prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
266
+ }
267
+
268
+ function serialize_VerifyDocumentTokenResponse(arg) {
269
+ if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenResponse)) {
270
+ throw new Error('Expected argument of type VerifyDocumentTokenResponse');
271
+ }
272
+ return Buffer.from(arg.serializeBinary());
273
+ }
274
+
275
+ function deserialize_VerifyDocumentTokenResponse(buffer_arg) {
276
+ return prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
277
+ }
278
+
235
279
 
236
280
  // Purchase Order Service
237
281
  var PurchaseOrderServiceService = exports.PurchaseOrderServiceService = {
@@ -401,6 +445,49 @@ getPOReportList: {
401
445
  responseSerialize: serialize_GetPOReportListResponse,
402
446
  responseDeserialize: deserialize_GetPOReportListResponse,
403
447
  },
448
+ // PRISCA-89 — verifikasi keaslian dokumen dari QR pada cetakan PO.
449
+ //
450
+ // JALUR PUBLIK. Pemanggilnya tidak punya sesi: siapa pun yang memegang kertas
451
+ // ber-QR. Tenant dipulihkan dari BARIS TOKEN, bukan dari context dan bukan
452
+ // dari field di request — request ini memang tidak punya field tenant.
453
+ //
454
+ // WAJIB terdaftar `"/PurchaseOrderService/VerifyDocumentToken": false` di
455
+ // `protectedMethods` (cmd/grpc/main.go); wildcard `"/PurchaseOrderService/*":
456
+ // true` akan menolaknya. Dan begitu ia false, context kehilangan tenant —
457
+ // sehingga usecase WAJIB menyuntikkan tenant dari baris token sebelum
458
+ // menyentuh repository, atau BaseRepository menjalankan query tanpa filter
459
+ // tenant sama sekali (bocor lintas tenant, senyap).
460
+ verifyDocumentToken: {
461
+ path: '/PurchaseOrderService/VerifyDocumentToken',
462
+ requestStream: false,
463
+ responseStream: false,
464
+ requestType: prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenRequest,
465
+ responseType: prisca_v1_purchase_order_purchase_order_pb.VerifyDocumentTokenResponse,
466
+ requestSerialize: serialize_VerifyDocumentTokenRequest,
467
+ requestDeserialize: deserialize_VerifyDocumentTokenRequest,
468
+ responseSerialize: serialize_VerifyDocumentTokenResponse,
469
+ responseDeserialize: deserialize_VerifyDocumentTokenResponse,
470
+ },
471
+ // PRISCA-89 — mengambil token dokumen milik satu PO, untuk digambar jadi QR
472
+ // pada cetakan.
473
+ //
474
+ // TERAUTENTIKASI, dan itu disengaja — kebalikan dari VerifyDocumentToken di
475
+ // atas. Token adalah rahasia sampai ia tercetak: siapa pun yang memegangnya
476
+ // bisa membuka halaman verifikasi. Karena itu RPC ini SENGAJA TIDAK
477
+ // didaftarkan `false` di protectedMethods; ia tertutup wildcard
478
+ // "/PurchaseOrderService/*": true, sehingga tenant-nya datang dari JWT dan
479
+ // pembacaannya ter-scope seperti RPC PO lainnya.
480
+ getDocumentVerificationToken: {
481
+ path: '/PurchaseOrderService/GetDocumentVerificationToken',
482
+ requestStream: false,
483
+ responseStream: false,
484
+ requestType: prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenRequest,
485
+ responseType: prisca_v1_purchase_order_purchase_order_pb.GetDocumentVerificationTokenResponse,
486
+ requestSerialize: serialize_GetDocumentVerificationTokenRequest,
487
+ requestDeserialize: deserialize_GetDocumentVerificationTokenRequest,
488
+ responseSerialize: serialize_GetDocumentVerificationTokenResponse,
489
+ responseDeserialize: deserialize_GetDocumentVerificationTokenResponse,
490
+ },
404
491
  };
405
492
 
406
493
  exports.PurchaseOrderServiceClient = grpc.makeGenericClientConstructor(PurchaseOrderServiceService, 'PurchaseOrderService');