@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.
- package/package.json +1 -1
- package/prisca/v1/audit_trail/audit_trail_grpc_pb.js +92 -0
- package/prisca/v1/audit_trail/audit_trail_pb.js +2107 -0
- package/prisca/v1/bidding/bidding_pb.js +61 -1
- package/prisca/v1/business_partner/business_partner_grpc_pb.js +334 -0
- package/prisca/v1/business_partner/business_partner_pb.js +5244 -0
- package/prisca/v1/core/bp_config/bp_config_grpc_pb.js +697 -0
- package/prisca/v1/core/bp_config/bp_config_pb.js +10812 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +340 -10
- package/prisca/v1/core/job_title/job_title_pb.js +31 -1
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +73 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2027 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_account_assignment_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_division_grpc_pb.js +199 -0
- package/prisca/v1/core/material_sales/material_division_pb.js +2706 -0
- package/prisca/v1/core/material_sales/material_item_category_group_grpc_pb.js +183 -0
- package/prisca/v1/core/material_sales/material_item_category_group_pb.js +2658 -0
- package/prisca/v1/core/material_sales/material_plant_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_plant_pb.js +2757 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_grpc_pb.js +62 -0
- package/prisca/v1/core/material_sales/material_sales_eligibility_pb.js +475 -0
- package/prisca/v1/core/material_sales/material_sales_org_grpc_pb.js +191 -0
- package/prisca/v1/core/material_sales/material_sales_org_pb.js +2937 -0
- package/prisca/v1/core/material_sales/material_tax_classification_grpc_pb.js +193 -0
- package/prisca/v1/core/material_sales/material_tax_classification_pb.js +2817 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_grpc_pb.js +194 -0
- package/prisca/v1/core/material_sales/material_tax_classification_value_pb.js +2868 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_grpc_pb.js +188 -0
- package/prisca/v1/core/material_sales/material_withholding_tax_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/distribution_channel_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/distribution_channel_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_address_grpc_pb.js +1 -0
- package/prisca/v1/core/sales_org/sales_address_pb.js +380 -0
- package/prisca/v1/core/sales_org/sales_area_grpc_pb.js +157 -0
- package/prisca/v1/core/sales_org/sales_area_pb.js +2381 -0
- package/prisca/v1/core/sales_org/sales_division_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_division_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_group_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_group_grpc_pb.js +180 -0
- package/prisca/v1/core/sales_org/sales_group_pb.js +2658 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_office_assignment_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_office_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_office_pb.js +2762 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_distribution_channel_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_division_grpc_pb.js +151 -0
- package/prisca/v1/core/sales_org/sales_org_division_pb.js +2231 -0
- package/prisca/v1/core/sales_org/sales_org_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/sales_org_plant_pb.js +2291 -0
- package/prisca/v1/core/sales_org/sales_organization_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/sales_organization_pb.js +2822 -0
- package/prisca/v1/core/sales_org/shipping_point_grpc_pb.js +181 -0
- package/prisca/v1/core/sales_org/shipping_point_pb.js +2762 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_grpc_pb.js +152 -0
- package/prisca/v1/core/sales_org/shipping_point_plant_pb.js +2231 -0
- package/prisca/v1/core/transaction_type/transaction_type_grpc_pb.js +147 -0
- package/prisca/v1/core/transaction_type/transaction_type_pb.js +2587 -0
- package/prisca/v1/customer/customer_grpc_pb.js +184 -0
- package/prisca/v1/customer/customer_pb.js +3498 -0
- package/prisca/v1/customer/customer_registration_grpc_pb.js +93 -0
- package/prisca/v1/customer/customer_registration_pb.js +1300 -0
- package/prisca/v1/customer/customer_sales_area_grpc_pb.js +256 -0
- package/prisca/v1/customer/customer_sales_area_pb.js +4681 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +61 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_pb.js +62 -2
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +87 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +1015 -5
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +152 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +94 -15
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_core_material_sales_material_withholding_tax_group_pb = require('../../../../prisca/v1/core/material_sales/material_withholding_tax_group_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
|
|
8
|
+
function serialize_CreateMaterialWithholdingTaxGroupRequest(arg) {
|
|
9
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupRequest)) {
|
|
10
|
+
throw new Error('Expected argument of type CreateMaterialWithholdingTaxGroupRequest');
|
|
11
|
+
}
|
|
12
|
+
return Buffer.from(arg.serializeBinary());
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function deserialize_CreateMaterialWithholdingTaxGroupRequest(buffer_arg) {
|
|
16
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function serialize_CreateMaterialWithholdingTaxGroupResponse(arg) {
|
|
20
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupResponse)) {
|
|
21
|
+
throw new Error('Expected argument of type CreateMaterialWithholdingTaxGroupResponse');
|
|
22
|
+
}
|
|
23
|
+
return Buffer.from(arg.serializeBinary());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function deserialize_CreateMaterialWithholdingTaxGroupResponse(buffer_arg) {
|
|
27
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function serialize_DeleteMaterialWithholdingTaxGroupRequest(arg) {
|
|
31
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupRequest)) {
|
|
32
|
+
throw new Error('Expected argument of type DeleteMaterialWithholdingTaxGroupRequest');
|
|
33
|
+
}
|
|
34
|
+
return Buffer.from(arg.serializeBinary());
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function deserialize_DeleteMaterialWithholdingTaxGroupRequest(buffer_arg) {
|
|
38
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function serialize_DeleteMaterialWithholdingTaxGroupResponse(arg) {
|
|
42
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupResponse)) {
|
|
43
|
+
throw new Error('Expected argument of type DeleteMaterialWithholdingTaxGroupResponse');
|
|
44
|
+
}
|
|
45
|
+
return Buffer.from(arg.serializeBinary());
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function deserialize_DeleteMaterialWithholdingTaxGroupResponse(buffer_arg) {
|
|
49
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function serialize_GetListMaterialWithholdingTaxGroupRequest(arg) {
|
|
53
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupRequest)) {
|
|
54
|
+
throw new Error('Expected argument of type GetListMaterialWithholdingTaxGroupRequest');
|
|
55
|
+
}
|
|
56
|
+
return Buffer.from(arg.serializeBinary());
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function deserialize_GetListMaterialWithholdingTaxGroupRequest(buffer_arg) {
|
|
60
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function serialize_GetListMaterialWithholdingTaxGroupResponse(arg) {
|
|
64
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupResponse)) {
|
|
65
|
+
throw new Error('Expected argument of type GetListMaterialWithholdingTaxGroupResponse');
|
|
66
|
+
}
|
|
67
|
+
return Buffer.from(arg.serializeBinary());
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function deserialize_GetListMaterialWithholdingTaxGroupResponse(buffer_arg) {
|
|
71
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function serialize_GetMaterialWithholdingTaxGroupByIdRequest(arg) {
|
|
75
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdRequest)) {
|
|
76
|
+
throw new Error('Expected argument of type GetMaterialWithholdingTaxGroupByIdRequest');
|
|
77
|
+
}
|
|
78
|
+
return Buffer.from(arg.serializeBinary());
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function deserialize_GetMaterialWithholdingTaxGroupByIdRequest(buffer_arg) {
|
|
82
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function serialize_GetMaterialWithholdingTaxGroupByIdResponse(arg) {
|
|
86
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdResponse)) {
|
|
87
|
+
throw new Error('Expected argument of type GetMaterialWithholdingTaxGroupByIdResponse');
|
|
88
|
+
}
|
|
89
|
+
return Buffer.from(arg.serializeBinary());
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function deserialize_GetMaterialWithholdingTaxGroupByIdResponse(buffer_arg) {
|
|
93
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function serialize_UpdateMaterialWithholdingTaxGroupRequest(arg) {
|
|
97
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupRequest)) {
|
|
98
|
+
throw new Error('Expected argument of type UpdateMaterialWithholdingTaxGroupRequest');
|
|
99
|
+
}
|
|
100
|
+
return Buffer.from(arg.serializeBinary());
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function deserialize_UpdateMaterialWithholdingTaxGroupRequest(buffer_arg) {
|
|
104
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function serialize_UpdateMaterialWithholdingTaxGroupResponse(arg) {
|
|
108
|
+
if (!(arg instanceof prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupResponse)) {
|
|
109
|
+
throw new Error('Expected argument of type UpdateMaterialWithholdingTaxGroupResponse');
|
|
110
|
+
}
|
|
111
|
+
return Buffer.from(arg.serializeBinary());
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function deserialize_UpdateMaterialWithholdingTaxGroupResponse(buffer_arg) {
|
|
115
|
+
return prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
// Withholding tax group material — indikator penentuan PPh (PRISCA-168 AC-1).
|
|
120
|
+
//
|
|
121
|
+
// PROVENANCE: ini adalah SAP MVKE-KONDM (master T178). Namanya SENGAJA tidak
|
|
122
|
+
// memakai istilah SAP ("material pricing group") melainkan maksud pemakaiannya,
|
|
123
|
+
// karena di PRISCA field ini dipakai untuk penentuan PPh — lihat dokumen sumber
|
|
124
|
+
// "SAP Material Master Sales View" sel T104: "Indikator Penentuan Pajak PPH".
|
|
125
|
+
// Jejak SAP ditulis di sini supaya tidak putus meski nama tabelnya berbeda.
|
|
126
|
+
//
|
|
127
|
+
// Master per-tenant. `code` wajib, maksimum 2 karakter (KONDM CHAR 2), unik per
|
|
128
|
+
// tenant — partial unique index `(companies_references_id, code) WHERE
|
|
129
|
+
// deleted_at IS NULL` (AC-2).
|
|
130
|
+
var MaterialWithholdingTaxGroupServiceService = exports.MaterialWithholdingTaxGroupServiceService = {
|
|
131
|
+
createMaterialWithholdingTaxGroup: {
|
|
132
|
+
path: '/MaterialWithholdingTaxGroupService/CreateMaterialWithholdingTaxGroup',
|
|
133
|
+
requestStream: false,
|
|
134
|
+
responseStream: false,
|
|
135
|
+
requestType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupRequest,
|
|
136
|
+
responseType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.CreateMaterialWithholdingTaxGroupResponse,
|
|
137
|
+
requestSerialize: serialize_CreateMaterialWithholdingTaxGroupRequest,
|
|
138
|
+
requestDeserialize: deserialize_CreateMaterialWithholdingTaxGroupRequest,
|
|
139
|
+
responseSerialize: serialize_CreateMaterialWithholdingTaxGroupResponse,
|
|
140
|
+
responseDeserialize: deserialize_CreateMaterialWithholdingTaxGroupResponse,
|
|
141
|
+
},
|
|
142
|
+
getMaterialWithholdingTaxGroupById: {
|
|
143
|
+
path: '/MaterialWithholdingTaxGroupService/GetMaterialWithholdingTaxGroupById',
|
|
144
|
+
requestStream: false,
|
|
145
|
+
responseStream: false,
|
|
146
|
+
requestType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdRequest,
|
|
147
|
+
responseType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetMaterialWithholdingTaxGroupByIdResponse,
|
|
148
|
+
requestSerialize: serialize_GetMaterialWithholdingTaxGroupByIdRequest,
|
|
149
|
+
requestDeserialize: deserialize_GetMaterialWithholdingTaxGroupByIdRequest,
|
|
150
|
+
responseSerialize: serialize_GetMaterialWithholdingTaxGroupByIdResponse,
|
|
151
|
+
responseDeserialize: deserialize_GetMaterialWithholdingTaxGroupByIdResponse,
|
|
152
|
+
},
|
|
153
|
+
updateMaterialWithholdingTaxGroup: {
|
|
154
|
+
path: '/MaterialWithholdingTaxGroupService/UpdateMaterialWithholdingTaxGroup',
|
|
155
|
+
requestStream: false,
|
|
156
|
+
responseStream: false,
|
|
157
|
+
requestType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupRequest,
|
|
158
|
+
responseType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.UpdateMaterialWithholdingTaxGroupResponse,
|
|
159
|
+
requestSerialize: serialize_UpdateMaterialWithholdingTaxGroupRequest,
|
|
160
|
+
requestDeserialize: deserialize_UpdateMaterialWithholdingTaxGroupRequest,
|
|
161
|
+
responseSerialize: serialize_UpdateMaterialWithholdingTaxGroupResponse,
|
|
162
|
+
responseDeserialize: deserialize_UpdateMaterialWithholdingTaxGroupResponse,
|
|
163
|
+
},
|
|
164
|
+
getListMaterialWithholdingTaxGroup: {
|
|
165
|
+
path: '/MaterialWithholdingTaxGroupService/GetListMaterialWithholdingTaxGroup',
|
|
166
|
+
requestStream: false,
|
|
167
|
+
responseStream: false,
|
|
168
|
+
requestType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupRequest,
|
|
169
|
+
responseType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.GetListMaterialWithholdingTaxGroupResponse,
|
|
170
|
+
requestSerialize: serialize_GetListMaterialWithholdingTaxGroupRequest,
|
|
171
|
+
requestDeserialize: deserialize_GetListMaterialWithholdingTaxGroupRequest,
|
|
172
|
+
responseSerialize: serialize_GetListMaterialWithholdingTaxGroupResponse,
|
|
173
|
+
responseDeserialize: deserialize_GetListMaterialWithholdingTaxGroupResponse,
|
|
174
|
+
},
|
|
175
|
+
deleteMaterialWithholdingTaxGroup: {
|
|
176
|
+
path: '/MaterialWithholdingTaxGroupService/DeleteMaterialWithholdingTaxGroup',
|
|
177
|
+
requestStream: false,
|
|
178
|
+
responseStream: false,
|
|
179
|
+
requestType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupRequest,
|
|
180
|
+
responseType: prisca_v1_core_material_sales_material_withholding_tax_group_pb.DeleteMaterialWithholdingTaxGroupResponse,
|
|
181
|
+
requestSerialize: serialize_DeleteMaterialWithholdingTaxGroupRequest,
|
|
182
|
+
requestDeserialize: deserialize_DeleteMaterialWithholdingTaxGroupRequest,
|
|
183
|
+
responseSerialize: serialize_DeleteMaterialWithholdingTaxGroupResponse,
|
|
184
|
+
responseDeserialize: deserialize_DeleteMaterialWithholdingTaxGroupResponse,
|
|
185
|
+
},
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
exports.MaterialWithholdingTaxGroupServiceClient = grpc.makeGenericClientConstructor(MaterialWithholdingTaxGroupServiceService, 'MaterialWithholdingTaxGroupService');
|