@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
@@ -0,0 +1,180 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var prisca_v1_core_sales_org_distribution_channel_pb = require('../../../../prisca/v1/core/sales_org/distribution_channel_pb.js');
6
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
+
8
+ function serialize_CreateDistributionChannelRequest(arg) {
9
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelRequest)) {
10
+ throw new Error('Expected argument of type CreateDistributionChannelRequest');
11
+ }
12
+ return Buffer.from(arg.serializeBinary());
13
+ }
14
+
15
+ function deserialize_CreateDistributionChannelRequest(buffer_arg) {
16
+ return prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelRequest.deserializeBinary(new Uint8Array(buffer_arg));
17
+ }
18
+
19
+ function serialize_CreateDistributionChannelResponse(arg) {
20
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelResponse)) {
21
+ throw new Error('Expected argument of type CreateDistributionChannelResponse');
22
+ }
23
+ return Buffer.from(arg.serializeBinary());
24
+ }
25
+
26
+ function deserialize_CreateDistributionChannelResponse(buffer_arg) {
27
+ return prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelResponse.deserializeBinary(new Uint8Array(buffer_arg));
28
+ }
29
+
30
+ function serialize_DeleteDistributionChannelRequest(arg) {
31
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelRequest)) {
32
+ throw new Error('Expected argument of type DeleteDistributionChannelRequest');
33
+ }
34
+ return Buffer.from(arg.serializeBinary());
35
+ }
36
+
37
+ function deserialize_DeleteDistributionChannelRequest(buffer_arg) {
38
+ return prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelRequest.deserializeBinary(new Uint8Array(buffer_arg));
39
+ }
40
+
41
+ function serialize_DeleteDistributionChannelResponse(arg) {
42
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelResponse)) {
43
+ throw new Error('Expected argument of type DeleteDistributionChannelResponse');
44
+ }
45
+ return Buffer.from(arg.serializeBinary());
46
+ }
47
+
48
+ function deserialize_DeleteDistributionChannelResponse(buffer_arg) {
49
+ return prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelResponse.deserializeBinary(new Uint8Array(buffer_arg));
50
+ }
51
+
52
+ function serialize_GetDistributionChannelByIdRequest(arg) {
53
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdRequest)) {
54
+ throw new Error('Expected argument of type GetDistributionChannelByIdRequest');
55
+ }
56
+ return Buffer.from(arg.serializeBinary());
57
+ }
58
+
59
+ function deserialize_GetDistributionChannelByIdRequest(buffer_arg) {
60
+ return prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
61
+ }
62
+
63
+ function serialize_GetDistributionChannelByIdResponse(arg) {
64
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdResponse)) {
65
+ throw new Error('Expected argument of type GetDistributionChannelByIdResponse');
66
+ }
67
+ return Buffer.from(arg.serializeBinary());
68
+ }
69
+
70
+ function deserialize_GetDistributionChannelByIdResponse(buffer_arg) {
71
+ return prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
72
+ }
73
+
74
+ function serialize_GetListDistributionChannelRequest(arg) {
75
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelRequest)) {
76
+ throw new Error('Expected argument of type GetListDistributionChannelRequest');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_GetListDistributionChannelRequest(buffer_arg) {
82
+ return prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelRequest.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
85
+ function serialize_GetListDistributionChannelResponse(arg) {
86
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelResponse)) {
87
+ throw new Error('Expected argument of type GetListDistributionChannelResponse');
88
+ }
89
+ return Buffer.from(arg.serializeBinary());
90
+ }
91
+
92
+ function deserialize_GetListDistributionChannelResponse(buffer_arg) {
93
+ return prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelResponse.deserializeBinary(new Uint8Array(buffer_arg));
94
+ }
95
+
96
+ function serialize_UpdateDistributionChannelRequest(arg) {
97
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelRequest)) {
98
+ throw new Error('Expected argument of type UpdateDistributionChannelRequest');
99
+ }
100
+ return Buffer.from(arg.serializeBinary());
101
+ }
102
+
103
+ function deserialize_UpdateDistributionChannelRequest(buffer_arg) {
104
+ return prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelRequest.deserializeBinary(new Uint8Array(buffer_arg));
105
+ }
106
+
107
+ function serialize_UpdateDistributionChannelResponse(arg) {
108
+ if (!(arg instanceof prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelResponse)) {
109
+ throw new Error('Expected argument of type UpdateDistributionChannelResponse');
110
+ }
111
+ return Buffer.from(arg.serializeBinary());
112
+ }
113
+
114
+ function deserialize_UpdateDistributionChannelResponse(buffer_arg) {
115
+ return prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelResponse.deserializeBinary(new Uint8Array(buffer_arg));
116
+ }
117
+
118
+
119
+ // Distribution channel — jalur distribusi penjualan (SAP TVTW) (PRISCA-152 AC-1).
120
+ // Master per-tenant; `code` wajib, maksimum 2 karakter, dan unik per tenant —
121
+ // keunikan ditegakkan unique index di DB, bukan hanya validasi aplikasi (AC-2).
122
+ var DistributionChannelServiceService = exports.DistributionChannelServiceService = {
123
+ createDistributionChannel: {
124
+ path: '/DistributionChannelService/CreateDistributionChannel',
125
+ requestStream: false,
126
+ responseStream: false,
127
+ requestType: prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelRequest,
128
+ responseType: prisca_v1_core_sales_org_distribution_channel_pb.CreateDistributionChannelResponse,
129
+ requestSerialize: serialize_CreateDistributionChannelRequest,
130
+ requestDeserialize: deserialize_CreateDistributionChannelRequest,
131
+ responseSerialize: serialize_CreateDistributionChannelResponse,
132
+ responseDeserialize: deserialize_CreateDistributionChannelResponse,
133
+ },
134
+ getDistributionChannelById: {
135
+ path: '/DistributionChannelService/GetDistributionChannelById',
136
+ requestStream: false,
137
+ responseStream: false,
138
+ requestType: prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdRequest,
139
+ responseType: prisca_v1_core_sales_org_distribution_channel_pb.GetDistributionChannelByIdResponse,
140
+ requestSerialize: serialize_GetDistributionChannelByIdRequest,
141
+ requestDeserialize: deserialize_GetDistributionChannelByIdRequest,
142
+ responseSerialize: serialize_GetDistributionChannelByIdResponse,
143
+ responseDeserialize: deserialize_GetDistributionChannelByIdResponse,
144
+ },
145
+ updateDistributionChannel: {
146
+ path: '/DistributionChannelService/UpdateDistributionChannel',
147
+ requestStream: false,
148
+ responseStream: false,
149
+ requestType: prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelRequest,
150
+ responseType: prisca_v1_core_sales_org_distribution_channel_pb.UpdateDistributionChannelResponse,
151
+ requestSerialize: serialize_UpdateDistributionChannelRequest,
152
+ requestDeserialize: deserialize_UpdateDistributionChannelRequest,
153
+ responseSerialize: serialize_UpdateDistributionChannelResponse,
154
+ responseDeserialize: deserialize_UpdateDistributionChannelResponse,
155
+ },
156
+ getListDistributionChannel: {
157
+ path: '/DistributionChannelService/GetListDistributionChannel',
158
+ requestStream: false,
159
+ responseStream: false,
160
+ requestType: prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelRequest,
161
+ responseType: prisca_v1_core_sales_org_distribution_channel_pb.GetListDistributionChannelResponse,
162
+ requestSerialize: serialize_GetListDistributionChannelRequest,
163
+ requestDeserialize: deserialize_GetListDistributionChannelRequest,
164
+ responseSerialize: serialize_GetListDistributionChannelResponse,
165
+ responseDeserialize: deserialize_GetListDistributionChannelResponse,
166
+ },
167
+ deleteDistributionChannel: {
168
+ path: '/DistributionChannelService/DeleteDistributionChannel',
169
+ requestStream: false,
170
+ responseStream: false,
171
+ requestType: prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelRequest,
172
+ responseType: prisca_v1_core_sales_org_distribution_channel_pb.DeleteDistributionChannelResponse,
173
+ requestSerialize: serialize_DeleteDistributionChannelRequest,
174
+ requestDeserialize: deserialize_DeleteDistributionChannelRequest,
175
+ responseSerialize: serialize_DeleteDistributionChannelResponse,
176
+ responseDeserialize: deserialize_DeleteDistributionChannelResponse,
177
+ },
178
+ };
179
+
180
+ exports.DistributionChannelServiceClient = grpc.makeGenericClientConstructor(DistributionChannelServiceService, 'DistributionChannelService');