@aldiokta/protocgen 1.1.51 → 1.1.53
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/bidding/bidding_grpc_pb.js +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/budget/budget_grpc_pb.js +213 -0
- package/prisca/v1/budget/budget_pb.js +3008 -0
- package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
- package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
- package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
- package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1758 -19
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +102 -12
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
|
@@ -9,6 +9,30 @@ var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/docum
|
|
|
9
9
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
10
10
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
11
11
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
12
|
+
var prisca_v1_purchase_order_purchase_order_pb = require('../../../prisca/v1/purchase_order/purchase_order_pb.js');
|
|
13
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
14
|
+
|
|
15
|
+
function serialize_CheckAvailableReq(arg) {
|
|
16
|
+
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq)) {
|
|
17
|
+
throw new Error('Expected argument of type CheckAvailableReq');
|
|
18
|
+
}
|
|
19
|
+
return Buffer.from(arg.serializeBinary());
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function deserialize_CheckAvailableReq(buffer_arg) {
|
|
23
|
+
return prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function serialize_CheckAvailableRes(arg) {
|
|
27
|
+
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes)) {
|
|
28
|
+
throw new Error('Expected argument of type CheckAvailableRes');
|
|
29
|
+
}
|
|
30
|
+
return Buffer.from(arg.serializeBinary());
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function deserialize_CheckAvailableRes(buffer_arg) {
|
|
34
|
+
return prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
35
|
+
}
|
|
12
36
|
|
|
13
37
|
function serialize_CreatePurchaseRequisitionTemplateRequest(arg) {
|
|
14
38
|
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.CreatePurchaseRequisitionTemplateRequest)) {
|
|
@@ -650,6 +674,17 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
|
|
|
650
674
|
responseSerialize: serialize_GetPurchaseRequisitionTrxListResponse,
|
|
651
675
|
responseDeserialize: deserialize_GetPurchaseRequisitionTrxListResponse,
|
|
652
676
|
},
|
|
677
|
+
checkAvailable: {
|
|
678
|
+
path: '/PurchaseRequisitionTrxService/CheckAvailable',
|
|
679
|
+
requestStream: false,
|
|
680
|
+
responseStream: false,
|
|
681
|
+
requestType: prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq,
|
|
682
|
+
responseType: prisca_v1_purchase_order_purchase_order_pb.CheckAvailableRes,
|
|
683
|
+
requestSerialize: serialize_CheckAvailableReq,
|
|
684
|
+
requestDeserialize: deserialize_CheckAvailableReq,
|
|
685
|
+
responseSerialize: serialize_CheckAvailableRes,
|
|
686
|
+
responseDeserialize: deserialize_CheckAvailableRes,
|
|
687
|
+
},
|
|
653
688
|
};
|
|
654
689
|
|
|
655
690
|
exports.PurchaseRequisitionTrxServiceClient = grpc.makeGenericClientConstructor(PurchaseRequisitionTrxServiceService, 'PurchaseRequisitionTrxService');
|
|
@@ -27,6 +27,10 @@ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core
|
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
28
28
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
|
|
30
|
+
var prisca_v1_purchase_order_purchase_order_pb = require('../../../prisca/v1/purchase_order/purchase_order_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_purchase_order_purchase_order_pb);
|
|
32
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
30
34
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
31
35
|
goog.exportSymbol('proto.BaseUpdatePurchaseRequisitionTrx', null, global);
|
|
32
36
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTemplateRequest', null, global);
|
|
@@ -1152,7 +1156,8 @@ justification: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
|
1152
1156
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1153
1157
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1154
1158
|
requestedBy: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1155
|
-
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
1159
|
+
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
1160
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
|
|
1156
1161
|
};
|
|
1157
1162
|
|
|
1158
1163
|
if (includeInstance) {
|
|
@@ -1309,6 +1314,11 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1309
1314
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
1310
1315
|
msg.setRequestor(value);
|
|
1311
1316
|
break;
|
|
1317
|
+
case 30:
|
|
1318
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompany;
|
|
1319
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
1320
|
+
msg.setCompanies(value);
|
|
1321
|
+
break;
|
|
1312
1322
|
default:
|
|
1313
1323
|
reader.skipField();
|
|
1314
1324
|
break;
|
|
@@ -1545,6 +1555,14 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1545
1555
|
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
1546
1556
|
);
|
|
1547
1557
|
}
|
|
1558
|
+
f = message.getCompanies();
|
|
1559
|
+
if (f != null) {
|
|
1560
|
+
writer.writeMessage(
|
|
1561
|
+
30,
|
|
1562
|
+
f,
|
|
1563
|
+
prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
|
|
1564
|
+
);
|
|
1565
|
+
}
|
|
1548
1566
|
};
|
|
1549
1567
|
|
|
1550
1568
|
|
|
@@ -2148,6 +2166,43 @@ proto.PurchaseRequisitionTrx.prototype.hasRequestor = function() {
|
|
|
2148
2166
|
};
|
|
2149
2167
|
|
|
2150
2168
|
|
|
2169
|
+
/**
|
|
2170
|
+
* optional BaseCompany companies = 30;
|
|
2171
|
+
* @return {?proto.BaseCompany}
|
|
2172
|
+
*/
|
|
2173
|
+
proto.PurchaseRequisitionTrx.prototype.getCompanies = function() {
|
|
2174
|
+
return /** @type{?proto.BaseCompany} */ (
|
|
2175
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompany, 30));
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* @param {?proto.BaseCompany|undefined} value
|
|
2181
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2182
|
+
*/
|
|
2183
|
+
proto.PurchaseRequisitionTrx.prototype.setCompanies = function(value) {
|
|
2184
|
+
return jspb.Message.setWrapperField(this, 30, value);
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Clears the message field making it undefined.
|
|
2190
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2191
|
+
*/
|
|
2192
|
+
proto.PurchaseRequisitionTrx.prototype.clearCompanies = function() {
|
|
2193
|
+
return this.setCompanies(undefined);
|
|
2194
|
+
};
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Returns whether this field is set.
|
|
2199
|
+
* @return {boolean}
|
|
2200
|
+
*/
|
|
2201
|
+
proto.PurchaseRequisitionTrx.prototype.hasCompanies = function() {
|
|
2202
|
+
return jspb.Message.getField(this, 30) != null;
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
|
|
2151
2206
|
|
|
2152
2207
|
/**
|
|
2153
2208
|
* List of repeated fields within this message type.
|
|
@@ -12281,13 +12336,13 @@ proto.PurchaseRequisitionProgressTrack.prototype.toObject = function(opt_include
|
|
|
12281
12336
|
proto.PurchaseRequisitionProgressTrack.toObject = function(includeInstance, msg) {
|
|
12282
12337
|
var f, obj = {
|
|
12283
12338
|
purchaseRequestNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
|
|
12288
|
-
|
|
12289
|
-
|
|
12290
|
-
|
|
12339
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12340
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12341
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12342
|
+
total: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
12343
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12344
|
+
purchaseRequestFirstApprovalAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12345
|
+
purchaseRequestLastApprovedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
12291
12346
|
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
12292
12347
|
agingWorkdays: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
12293
12348
|
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
@@ -12336,31 +12391,31 @@ proto.PurchaseRequisitionProgressTrack.deserializeBinaryFromReader = function(ms
|
|
|
12336
12391
|
break;
|
|
12337
12392
|
case 2:
|
|
12338
12393
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12339
|
-
msg.
|
|
12394
|
+
msg.setMaterialCode(value);
|
|
12340
12395
|
break;
|
|
12341
12396
|
case 3:
|
|
12342
12397
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12343
|
-
msg.
|
|
12398
|
+
msg.setDetailDescription(value);
|
|
12344
12399
|
break;
|
|
12345
12400
|
case 4:
|
|
12346
|
-
var value = /** @type {
|
|
12347
|
-
msg.
|
|
12401
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12402
|
+
msg.setDescription(value);
|
|
12348
12403
|
break;
|
|
12349
12404
|
case 5:
|
|
12350
|
-
var value = /** @type {
|
|
12351
|
-
msg.
|
|
12405
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
12406
|
+
msg.setTotal(value);
|
|
12352
12407
|
break;
|
|
12353
12408
|
case 6:
|
|
12354
12409
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12355
|
-
msg.
|
|
12410
|
+
msg.setUnitOfMeasure(value);
|
|
12356
12411
|
break;
|
|
12357
12412
|
case 7:
|
|
12358
12413
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12359
|
-
msg.
|
|
12414
|
+
msg.setPurchaseRequestFirstApprovalAt(value);
|
|
12360
12415
|
break;
|
|
12361
12416
|
case 8:
|
|
12362
12417
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12363
|
-
msg.
|
|
12418
|
+
msg.setPurchaseRequestLastApprovedAt(value);
|
|
12364
12419
|
break;
|
|
12365
12420
|
case 9:
|
|
12366
12421
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -12423,49 +12478,49 @@ proto.PurchaseRequisitionProgressTrack.serializeBinaryToWriter = function(messag
|
|
|
12423
12478
|
f
|
|
12424
12479
|
);
|
|
12425
12480
|
}
|
|
12426
|
-
f = message.
|
|
12481
|
+
f = message.getMaterialCode();
|
|
12427
12482
|
if (f.length > 0) {
|
|
12428
12483
|
writer.writeString(
|
|
12429
12484
|
2,
|
|
12430
12485
|
f
|
|
12431
12486
|
);
|
|
12432
12487
|
}
|
|
12433
|
-
f = message.
|
|
12488
|
+
f = message.getDetailDescription();
|
|
12434
12489
|
if (f.length > 0) {
|
|
12435
12490
|
writer.writeString(
|
|
12436
12491
|
3,
|
|
12437
12492
|
f
|
|
12438
12493
|
);
|
|
12439
12494
|
}
|
|
12440
|
-
f = message.
|
|
12441
|
-
if (f
|
|
12442
|
-
writer.
|
|
12495
|
+
f = message.getDescription();
|
|
12496
|
+
if (f.length > 0) {
|
|
12497
|
+
writer.writeString(
|
|
12443
12498
|
4,
|
|
12444
12499
|
f
|
|
12445
12500
|
);
|
|
12446
12501
|
}
|
|
12447
|
-
f = message.
|
|
12448
|
-
if (f
|
|
12449
|
-
writer.
|
|
12502
|
+
f = message.getTotal();
|
|
12503
|
+
if (f !== 0.0) {
|
|
12504
|
+
writer.writeDouble(
|
|
12450
12505
|
5,
|
|
12451
12506
|
f
|
|
12452
12507
|
);
|
|
12453
12508
|
}
|
|
12454
|
-
f = message.
|
|
12509
|
+
f = message.getUnitOfMeasure();
|
|
12455
12510
|
if (f.length > 0) {
|
|
12456
12511
|
writer.writeString(
|
|
12457
12512
|
6,
|
|
12458
12513
|
f
|
|
12459
12514
|
);
|
|
12460
12515
|
}
|
|
12461
|
-
f = message.
|
|
12516
|
+
f = message.getPurchaseRequestFirstApprovalAt();
|
|
12462
12517
|
if (f.length > 0) {
|
|
12463
12518
|
writer.writeString(
|
|
12464
12519
|
7,
|
|
12465
12520
|
f
|
|
12466
12521
|
);
|
|
12467
12522
|
}
|
|
12468
|
-
f = message.
|
|
12523
|
+
f = message.getPurchaseRequestLastApprovedAt();
|
|
12469
12524
|
if (f.length > 0) {
|
|
12470
12525
|
writer.writeString(
|
|
12471
12526
|
8,
|
|
@@ -12537,10 +12592,10 @@ proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestNumber = func
|
|
|
12537
12592
|
|
|
12538
12593
|
|
|
12539
12594
|
/**
|
|
12540
|
-
* optional string
|
|
12595
|
+
* optional string material_code = 2;
|
|
12541
12596
|
* @return {string}
|
|
12542
12597
|
*/
|
|
12543
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12598
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getMaterialCode = function() {
|
|
12544
12599
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12545
12600
|
};
|
|
12546
12601
|
|
|
@@ -12549,16 +12604,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getDetailDescription = function
|
|
|
12549
12604
|
* @param {string} value
|
|
12550
12605
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12551
12606
|
*/
|
|
12552
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12607
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setMaterialCode = function(value) {
|
|
12553
12608
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12554
12609
|
};
|
|
12555
12610
|
|
|
12556
12611
|
|
|
12557
12612
|
/**
|
|
12558
|
-
* optional string
|
|
12613
|
+
* optional string detail_description = 3;
|
|
12559
12614
|
* @return {string}
|
|
12560
12615
|
*/
|
|
12561
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12616
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDetailDescription = function() {
|
|
12562
12617
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12563
12618
|
};
|
|
12564
12619
|
|
|
@@ -12567,52 +12622,52 @@ proto.PurchaseRequisitionProgressTrack.prototype.getDescription = function() {
|
|
|
12567
12622
|
* @param {string} value
|
|
12568
12623
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12569
12624
|
*/
|
|
12570
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12625
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDetailDescription = function(value) {
|
|
12571
12626
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12572
12627
|
};
|
|
12573
12628
|
|
|
12574
12629
|
|
|
12575
12630
|
/**
|
|
12576
|
-
* optional
|
|
12577
|
-
* @return {
|
|
12631
|
+
* optional string description = 4;
|
|
12632
|
+
* @return {string}
|
|
12578
12633
|
*/
|
|
12579
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12580
|
-
return /** @type {
|
|
12634
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDescription = function() {
|
|
12635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
12581
12636
|
};
|
|
12582
12637
|
|
|
12583
12638
|
|
|
12584
12639
|
/**
|
|
12585
|
-
* @param {
|
|
12640
|
+
* @param {string} value
|
|
12586
12641
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12587
12642
|
*/
|
|
12588
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12589
|
-
return jspb.Message.
|
|
12643
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDescription = function(value) {
|
|
12644
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
12590
12645
|
};
|
|
12591
12646
|
|
|
12592
12647
|
|
|
12593
12648
|
/**
|
|
12594
|
-
* optional
|
|
12595
|
-
* @return {
|
|
12649
|
+
* optional double total = 5;
|
|
12650
|
+
* @return {number}
|
|
12596
12651
|
*/
|
|
12597
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12598
|
-
return /** @type {
|
|
12652
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getTotal = function() {
|
|
12653
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
12599
12654
|
};
|
|
12600
12655
|
|
|
12601
12656
|
|
|
12602
12657
|
/**
|
|
12603
|
-
* @param {
|
|
12658
|
+
* @param {number} value
|
|
12604
12659
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12605
12660
|
*/
|
|
12606
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12607
|
-
return jspb.Message.
|
|
12661
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setTotal = function(value) {
|
|
12662
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
12608
12663
|
};
|
|
12609
12664
|
|
|
12610
12665
|
|
|
12611
12666
|
/**
|
|
12612
|
-
* optional string
|
|
12667
|
+
* optional string unit_of_measure = 6;
|
|
12613
12668
|
* @return {string}
|
|
12614
12669
|
*/
|
|
12615
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12670
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getUnitOfMeasure = function() {
|
|
12616
12671
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
12617
12672
|
};
|
|
12618
12673
|
|
|
@@ -12621,16 +12676,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestCreatedAt = f
|
|
|
12621
12676
|
* @param {string} value
|
|
12622
12677
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12623
12678
|
*/
|
|
12624
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12679
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setUnitOfMeasure = function(value) {
|
|
12625
12680
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
12626
12681
|
};
|
|
12627
12682
|
|
|
12628
12683
|
|
|
12629
12684
|
/**
|
|
12630
|
-
* optional string
|
|
12685
|
+
* optional string purchase_request_first_approval_at = 7;
|
|
12631
12686
|
* @return {string}
|
|
12632
12687
|
*/
|
|
12633
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12688
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestFirstApprovalAt = function() {
|
|
12634
12689
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12635
12690
|
};
|
|
12636
12691
|
|
|
@@ -12639,16 +12694,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestFullyApproved
|
|
|
12639
12694
|
* @param {string} value
|
|
12640
12695
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12641
12696
|
*/
|
|
12642
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12697
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestFirstApprovalAt = function(value) {
|
|
12643
12698
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12644
12699
|
};
|
|
12645
12700
|
|
|
12646
12701
|
|
|
12647
12702
|
/**
|
|
12648
|
-
* optional string
|
|
12703
|
+
* optional string purchase_request_last_approved_at = 8;
|
|
12649
12704
|
* @return {string}
|
|
12650
12705
|
*/
|
|
12651
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12706
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestLastApprovedAt = function() {
|
|
12652
12707
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
12653
12708
|
};
|
|
12654
12709
|
|
|
@@ -12657,7 +12712,7 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseOrderCreatedAt = fun
|
|
|
12657
12712
|
* @param {string} value
|
|
12658
12713
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12659
12714
|
*/
|
|
12660
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12715
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestLastApprovedAt = function(value) {
|
|
12661
12716
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
12662
12717
|
};
|
|
12663
12718
|
|
|
@@ -2445,7 +2445,7 @@ proto.GetListQuotationRequest.prototype.hasQuery = function() {
|
|
|
2445
2445
|
* @private {!Array<number>}
|
|
2446
2446
|
* @const
|
|
2447
2447
|
*/
|
|
2448
|
-
proto.SetItemQuotation.repeatedFields_ = [6];
|
|
2448
|
+
proto.SetItemQuotation.repeatedFields_ = [6,7];
|
|
2449
2449
|
|
|
2450
2450
|
|
|
2451
2451
|
|
|
@@ -2484,7 +2484,9 @@ replacement: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
2484
2484
|
quantity: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2485
2485
|
deliveryDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2486
2486
|
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
2487
|
-
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance)
|
|
2487
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance),
|
|
2488
|
+
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
2489
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.toObject, includeInstance)
|
|
2488
2490
|
};
|
|
2489
2491
|
|
|
2490
2492
|
if (includeInstance) {
|
|
@@ -2546,6 +2548,11 @@ proto.SetItemQuotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2546
2548
|
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
2547
2549
|
msg.addItemTransactionPriceCondition(value);
|
|
2548
2550
|
break;
|
|
2551
|
+
case 7:
|
|
2552
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService;
|
|
2553
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.deserializeBinaryFromReader);
|
|
2554
|
+
msg.addItemTransactionService(value);
|
|
2555
|
+
break;
|
|
2549
2556
|
default:
|
|
2550
2557
|
reader.skipField();
|
|
2551
2558
|
break;
|
|
@@ -2618,6 +2625,14 @@ proto.SetItemQuotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
2618
2625
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.serializeBinaryToWriter
|
|
2619
2626
|
);
|
|
2620
2627
|
}
|
|
2628
|
+
f = message.getItemTransactionServiceList();
|
|
2629
|
+
if (f.length > 0) {
|
|
2630
|
+
writer.writeRepeatedMessage(
|
|
2631
|
+
7,
|
|
2632
|
+
f,
|
|
2633
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.serializeBinaryToWriter
|
|
2634
|
+
);
|
|
2635
|
+
}
|
|
2621
2636
|
};
|
|
2622
2637
|
|
|
2623
2638
|
|
|
@@ -2749,6 +2764,44 @@ proto.SetItemQuotation.prototype.clearItemTransactionPriceConditionList = functi
|
|
|
2749
2764
|
};
|
|
2750
2765
|
|
|
2751
2766
|
|
|
2767
|
+
/**
|
|
2768
|
+
* repeated ItemTransactionService item_transaction_service = 7;
|
|
2769
|
+
* @return {!Array<!proto.ItemTransactionService>}
|
|
2770
|
+
*/
|
|
2771
|
+
proto.SetItemQuotation.prototype.getItemTransactionServiceList = function() {
|
|
2772
|
+
return /** @type{!Array<!proto.ItemTransactionService>} */ (
|
|
2773
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService, 7));
|
|
2774
|
+
};
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* @param {!Array<!proto.ItemTransactionService>} value
|
|
2779
|
+
* @return {!proto.SetItemQuotation} returns this
|
|
2780
|
+
*/
|
|
2781
|
+
proto.SetItemQuotation.prototype.setItemTransactionServiceList = function(value) {
|
|
2782
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* @param {!proto.ItemTransactionService=} opt_value
|
|
2788
|
+
* @param {number=} opt_index
|
|
2789
|
+
* @return {!proto.ItemTransactionService}
|
|
2790
|
+
*/
|
|
2791
|
+
proto.SetItemQuotation.prototype.addItemTransactionService = function(opt_value, opt_index) {
|
|
2792
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.ItemTransactionService, opt_index);
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
/**
|
|
2797
|
+
* Clears the list making it empty but non-null.
|
|
2798
|
+
* @return {!proto.SetItemQuotation} returns this
|
|
2799
|
+
*/
|
|
2800
|
+
proto.SetItemQuotation.prototype.clearItemTransactionServiceList = function() {
|
|
2801
|
+
return this.setItemTransactionServiceList([]);
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
|
|
2752
2805
|
|
|
2753
2806
|
/**
|
|
2754
2807
|
* List of repeated fields within this message type.
|
|
@@ -27,7 +27,6 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
|
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
28
28
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
30
|
-
goog.exportSymbol('proto.Creator', null, global);
|
|
31
30
|
goog.exportSymbol('proto.DeleteRFQRequest', null, global);
|
|
32
31
|
goog.exportSymbol('proto.DeleteRFQResponse', null, global);
|
|
33
32
|
goog.exportSymbol('proto.GetByIdRFQ', null, global);
|
|
@@ -113,27 +112,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
113
112
|
*/
|
|
114
113
|
proto.RequestForQuotation.displayName = 'proto.RequestForQuotation';
|
|
115
114
|
}
|
|
116
|
-
/**
|
|
117
|
-
* Generated by JsPbCodeGenerator.
|
|
118
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
119
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
120
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
121
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
122
|
-
* valid.
|
|
123
|
-
* @extends {jspb.Message}
|
|
124
|
-
* @constructor
|
|
125
|
-
*/
|
|
126
|
-
proto.Creator = function(opt_data) {
|
|
127
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
128
|
-
};
|
|
129
|
-
goog.inherits(proto.Creator, jspb.Message);
|
|
130
|
-
if (goog.DEBUG && !COMPILED) {
|
|
131
|
-
/**
|
|
132
|
-
* @public
|
|
133
|
-
* @override
|
|
134
|
-
*/
|
|
135
|
-
proto.Creator.displayName = 'proto.Creator';
|
|
136
|
-
}
|
|
137
115
|
/**
|
|
138
116
|
* Generated by JsPbCodeGenerator.
|
|
139
117
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2087,107 +2065,6 @@ proto.RequestForQuotation.prototype.setBiddingDate = function(value) {
|
|
|
2087
2065
|
|
|
2088
2066
|
|
|
2089
2067
|
|
|
2090
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2091
|
-
/**
|
|
2092
|
-
* Creates an object representation of this proto.
|
|
2093
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2094
|
-
* Optional fields that are not set will be set to undefined.
|
|
2095
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2096
|
-
* For the list of reserved names please see:
|
|
2097
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2098
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2099
|
-
* JSPB instance for transitional soy proto support:
|
|
2100
|
-
* http://goto/soy-param-migration
|
|
2101
|
-
* @return {!Object}
|
|
2102
|
-
*/
|
|
2103
|
-
proto.Creator.prototype.toObject = function(opt_includeInstance) {
|
|
2104
|
-
return proto.Creator.toObject(opt_includeInstance, this);
|
|
2105
|
-
};
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
/**
|
|
2109
|
-
* Static version of the {@see toObject} method.
|
|
2110
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2111
|
-
* the JSPB instance for transitional soy proto support:
|
|
2112
|
-
* http://goto/soy-param-migration
|
|
2113
|
-
* @param {!proto.Creator} msg The msg instance to transform.
|
|
2114
|
-
* @return {!Object}
|
|
2115
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2116
|
-
*/
|
|
2117
|
-
proto.Creator.toObject = function(includeInstance, msg) {
|
|
2118
|
-
var f, obj = {
|
|
2119
|
-
|
|
2120
|
-
};
|
|
2121
|
-
|
|
2122
|
-
if (includeInstance) {
|
|
2123
|
-
obj.$jspbMessageInstance = msg;
|
|
2124
|
-
}
|
|
2125
|
-
return obj;
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2132
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2133
|
-
* @return {!proto.Creator}
|
|
2134
|
-
*/
|
|
2135
|
-
proto.Creator.deserializeBinary = function(bytes) {
|
|
2136
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2137
|
-
var msg = new proto.Creator;
|
|
2138
|
-
return proto.Creator.deserializeBinaryFromReader(msg, reader);
|
|
2139
|
-
};
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2144
|
-
* given reader into the given message object.
|
|
2145
|
-
* @param {!proto.Creator} msg The message object to deserialize into.
|
|
2146
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2147
|
-
* @return {!proto.Creator}
|
|
2148
|
-
*/
|
|
2149
|
-
proto.Creator.deserializeBinaryFromReader = function(msg, reader) {
|
|
2150
|
-
while (reader.nextField()) {
|
|
2151
|
-
if (reader.isEndGroup()) {
|
|
2152
|
-
break;
|
|
2153
|
-
}
|
|
2154
|
-
var field = reader.getFieldNumber();
|
|
2155
|
-
switch (field) {
|
|
2156
|
-
default:
|
|
2157
|
-
reader.skipField();
|
|
2158
|
-
break;
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
2161
|
-
return msg;
|
|
2162
|
-
};
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
/**
|
|
2166
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2167
|
-
* @return {!Uint8Array}
|
|
2168
|
-
*/
|
|
2169
|
-
proto.Creator.prototype.serializeBinary = function() {
|
|
2170
|
-
var writer = new jspb.BinaryWriter();
|
|
2171
|
-
proto.Creator.serializeBinaryToWriter(this, writer);
|
|
2172
|
-
return writer.getResultBuffer();
|
|
2173
|
-
};
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
/**
|
|
2177
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2178
|
-
* format), writing to the given BinaryWriter.
|
|
2179
|
-
* @param {!proto.Creator} message
|
|
2180
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2181
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2182
|
-
*/
|
|
2183
|
-
proto.Creator.serializeBinaryToWriter = function(message, writer) {
|
|
2184
|
-
var f = undefined;
|
|
2185
|
-
};
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
2068
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2192
2069
|
/**
|
|
2193
2070
|
* Creates an object representation of this proto.
|