@aldiokta/protocgen 1.1.29 → 1.1.31
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 +1 -0
- package/prisca/v1/bidding/bidding_pb.js +206 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +316 -16
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
- package/prisca/v1/core/messaging/notification_grpc_pb.js +22 -0
- package/prisca/v1/core/messaging/notification_pb.js +425 -42
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +31 -1
- package/prisca/v1/delivery_order/delivery_order_pb.js +20 -1140
- package/prisca/v1/document_type/document_type_grpc_pb.js +22 -0
- package/prisca/v1/document_type/document_type_pb.js +214 -2
- package/prisca/v1/good_receipt/good_receipt_pb.js +25 -1235
- package/prisca/v1/invoice/invoice_pb.js +1615 -1559
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +4186 -21
- package/prisca/v1/quotation/quotation_grpc_pb.js +33 -0
- package/prisca/v1/quotation/quotation_pb.js +381 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +31 -1
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../.
|
|
|
10
10
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
11
11
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
12
12
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
13
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
13
14
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
14
15
|
|
|
15
16
|
function serialize_CreateBiddingRequest(arg) {
|
|
@@ -35,6 +35,8 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
|
|
|
35
35
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
36
36
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
37
37
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
38
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
39
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
38
40
|
var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
|
|
39
41
|
goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
|
|
40
42
|
goog.exportSymbol('proto.Bidding', null, global);
|
|
@@ -737,7 +739,8 @@ biddingDate: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
|
737
739
|
biddingStartDate: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
738
740
|
biddingEndDate: jspb.Message.getFieldWithDefault(msg, 42, ""),
|
|
739
741
|
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 43, ""),
|
|
740
|
-
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, "")
|
|
742
|
+
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
743
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
|
|
741
744
|
};
|
|
742
745
|
|
|
743
746
|
if (includeInstance) {
|
|
@@ -956,6 +959,11 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
956
959
|
var value = /** @type {string} */ (reader.readString());
|
|
957
960
|
msg.setMaxSubmissionDate(value);
|
|
958
961
|
break;
|
|
962
|
+
case 45:
|
|
963
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompany;
|
|
964
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
965
|
+
msg.setCompanies(value);
|
|
966
|
+
break;
|
|
959
967
|
default:
|
|
960
968
|
reader.skipField();
|
|
961
969
|
break;
|
|
@@ -1299,6 +1307,14 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
1299
1307
|
f
|
|
1300
1308
|
);
|
|
1301
1309
|
}
|
|
1310
|
+
f = message.getCompanies();
|
|
1311
|
+
if (f != null) {
|
|
1312
|
+
writer.writeMessage(
|
|
1313
|
+
45,
|
|
1314
|
+
f,
|
|
1315
|
+
prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
|
|
1316
|
+
);
|
|
1317
|
+
}
|
|
1302
1318
|
};
|
|
1303
1319
|
|
|
1304
1320
|
|
|
@@ -2210,6 +2226,43 @@ proto.Quotation.prototype.setMaxSubmissionDate = function(value) {
|
|
|
2210
2226
|
};
|
|
2211
2227
|
|
|
2212
2228
|
|
|
2229
|
+
/**
|
|
2230
|
+
* optional BaseCompany companies = 45;
|
|
2231
|
+
* @return {?proto.BaseCompany}
|
|
2232
|
+
*/
|
|
2233
|
+
proto.Quotation.prototype.getCompanies = function() {
|
|
2234
|
+
return /** @type{?proto.BaseCompany} */ (
|
|
2235
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompany, 45));
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* @param {?proto.BaseCompany|undefined} value
|
|
2241
|
+
* @return {!proto.Quotation} returns this
|
|
2242
|
+
*/
|
|
2243
|
+
proto.Quotation.prototype.setCompanies = function(value) {
|
|
2244
|
+
return jspb.Message.setWrapperField(this, 45, value);
|
|
2245
|
+
};
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* Clears the message field making it undefined.
|
|
2250
|
+
* @return {!proto.Quotation} returns this
|
|
2251
|
+
*/
|
|
2252
|
+
proto.Quotation.prototype.clearCompanies = function() {
|
|
2253
|
+
return this.setCompanies(undefined);
|
|
2254
|
+
};
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* Returns whether this field is set.
|
|
2259
|
+
* @return {boolean}
|
|
2260
|
+
*/
|
|
2261
|
+
proto.Quotation.prototype.hasCompanies = function() {
|
|
2262
|
+
return jspb.Message.getField(this, 45) != null;
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2213
2266
|
|
|
2214
2267
|
/**
|
|
2215
2268
|
* List of repeated fields within this message type.
|
|
@@ -2277,7 +2330,9 @@ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24,
|
|
|
2277
2330
|
totalQuotation: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
2278
2331
|
fullfiledQuotation: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
2279
2332
|
termOfPayment: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
2280
|
-
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, "")
|
|
2333
|
+
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
2334
|
+
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
2335
|
+
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 30, "")
|
|
2281
2336
|
};
|
|
2282
2337
|
|
|
2283
2338
|
if (includeInstance) {
|
|
@@ -2429,6 +2484,14 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2429
2484
|
var value = /** @type {string} */ (reader.readString());
|
|
2430
2485
|
msg.setPurchasingOrganization(value);
|
|
2431
2486
|
break;
|
|
2487
|
+
case 29:
|
|
2488
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2489
|
+
msg.setPurchasingGroup(value);
|
|
2490
|
+
break;
|
|
2491
|
+
case 30:
|
|
2492
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2493
|
+
msg.setPurchaseRequisitionType(value);
|
|
2494
|
+
break;
|
|
2432
2495
|
default:
|
|
2433
2496
|
reader.skipField();
|
|
2434
2497
|
break;
|
|
@@ -2657,6 +2720,20 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
|
|
|
2657
2720
|
f
|
|
2658
2721
|
);
|
|
2659
2722
|
}
|
|
2723
|
+
f = message.getPurchasingGroup();
|
|
2724
|
+
if (f.length > 0) {
|
|
2725
|
+
writer.writeString(
|
|
2726
|
+
29,
|
|
2727
|
+
f
|
|
2728
|
+
);
|
|
2729
|
+
}
|
|
2730
|
+
f = message.getPurchaseRequisitionType();
|
|
2731
|
+
if (f.length > 0) {
|
|
2732
|
+
writer.writeString(
|
|
2733
|
+
30,
|
|
2734
|
+
f
|
|
2735
|
+
);
|
|
2736
|
+
}
|
|
2660
2737
|
};
|
|
2661
2738
|
|
|
2662
2739
|
|
|
@@ -3222,6 +3299,42 @@ proto.Bidding.prototype.setPurchasingOrganization = function(value) {
|
|
|
3222
3299
|
};
|
|
3223
3300
|
|
|
3224
3301
|
|
|
3302
|
+
/**
|
|
3303
|
+
* optional string purchasing_group = 29;
|
|
3304
|
+
* @return {string}
|
|
3305
|
+
*/
|
|
3306
|
+
proto.Bidding.prototype.getPurchasingGroup = function() {
|
|
3307
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* @param {string} value
|
|
3313
|
+
* @return {!proto.Bidding} returns this
|
|
3314
|
+
*/
|
|
3315
|
+
proto.Bidding.prototype.setPurchasingGroup = function(value) {
|
|
3316
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* optional string purchase_requisition_type = 30;
|
|
3322
|
+
* @return {string}
|
|
3323
|
+
*/
|
|
3324
|
+
proto.Bidding.prototype.getPurchaseRequisitionType = function() {
|
|
3325
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
3326
|
+
};
|
|
3327
|
+
|
|
3328
|
+
|
|
3329
|
+
/**
|
|
3330
|
+
* @param {string} value
|
|
3331
|
+
* @return {!proto.Bidding} returns this
|
|
3332
|
+
*/
|
|
3333
|
+
proto.Bidding.prototype.setPurchaseRequisitionType = function(value) {
|
|
3334
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
3335
|
+
};
|
|
3336
|
+
|
|
3337
|
+
|
|
3225
3338
|
|
|
3226
3339
|
|
|
3227
3340
|
|
|
@@ -3496,7 +3609,10 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
|
3496
3609
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
3497
3610
|
status: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3498
3611
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3499
|
-
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
3612
|
+
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3613
|
+
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3614
|
+
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3615
|
+
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
3500
3616
|
};
|
|
3501
3617
|
|
|
3502
3618
|
if (includeInstance) {
|
|
@@ -3591,6 +3707,18 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3591
3707
|
var value = /** @type {string} */ (reader.readString());
|
|
3592
3708
|
msg.setGroupReferences(value);
|
|
3593
3709
|
break;
|
|
3710
|
+
case 17:
|
|
3711
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3712
|
+
msg.setPurchaseRequisitionType(value);
|
|
3713
|
+
break;
|
|
3714
|
+
case 18:
|
|
3715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3716
|
+
msg.setPurchasingOrganization(value);
|
|
3717
|
+
break;
|
|
3718
|
+
case 19:
|
|
3719
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3720
|
+
msg.setPurchasingGroup(value);
|
|
3721
|
+
break;
|
|
3594
3722
|
default:
|
|
3595
3723
|
reader.skipField();
|
|
3596
3724
|
break;
|
|
@@ -3720,6 +3848,27 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
3720
3848
|
f
|
|
3721
3849
|
);
|
|
3722
3850
|
}
|
|
3851
|
+
f = message.getPurchaseRequisitionType();
|
|
3852
|
+
if (f.length > 0) {
|
|
3853
|
+
writer.writeString(
|
|
3854
|
+
17,
|
|
3855
|
+
f
|
|
3856
|
+
);
|
|
3857
|
+
}
|
|
3858
|
+
f = message.getPurchasingOrganization();
|
|
3859
|
+
if (f.length > 0) {
|
|
3860
|
+
writer.writeString(
|
|
3861
|
+
18,
|
|
3862
|
+
f
|
|
3863
|
+
);
|
|
3864
|
+
}
|
|
3865
|
+
f = message.getPurchasingGroup();
|
|
3866
|
+
if (f.length > 0) {
|
|
3867
|
+
writer.writeString(
|
|
3868
|
+
19,
|
|
3869
|
+
f
|
|
3870
|
+
);
|
|
3871
|
+
}
|
|
3723
3872
|
};
|
|
3724
3873
|
|
|
3725
3874
|
|
|
@@ -4015,6 +4164,60 @@ proto.RequestBiddingBase.prototype.setGroupReferences = function(value) {
|
|
|
4015
4164
|
};
|
|
4016
4165
|
|
|
4017
4166
|
|
|
4167
|
+
/**
|
|
4168
|
+
* optional string purchase_requisition_type = 17;
|
|
4169
|
+
* @return {string}
|
|
4170
|
+
*/
|
|
4171
|
+
proto.RequestBiddingBase.prototype.getPurchaseRequisitionType = function() {
|
|
4172
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
4173
|
+
};
|
|
4174
|
+
|
|
4175
|
+
|
|
4176
|
+
/**
|
|
4177
|
+
* @param {string} value
|
|
4178
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
4179
|
+
*/
|
|
4180
|
+
proto.RequestBiddingBase.prototype.setPurchaseRequisitionType = function(value) {
|
|
4181
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
4182
|
+
};
|
|
4183
|
+
|
|
4184
|
+
|
|
4185
|
+
/**
|
|
4186
|
+
* optional string purchasing_organization = 18;
|
|
4187
|
+
* @return {string}
|
|
4188
|
+
*/
|
|
4189
|
+
proto.RequestBiddingBase.prototype.getPurchasingOrganization = function() {
|
|
4190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* @param {string} value
|
|
4196
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
4197
|
+
*/
|
|
4198
|
+
proto.RequestBiddingBase.prototype.setPurchasingOrganization = function(value) {
|
|
4199
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
4200
|
+
};
|
|
4201
|
+
|
|
4202
|
+
|
|
4203
|
+
/**
|
|
4204
|
+
* optional string purchasing_group = 19;
|
|
4205
|
+
* @return {string}
|
|
4206
|
+
*/
|
|
4207
|
+
proto.RequestBiddingBase.prototype.getPurchasingGroup = function() {
|
|
4208
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
4209
|
+
};
|
|
4210
|
+
|
|
4211
|
+
|
|
4212
|
+
/**
|
|
4213
|
+
* @param {string} value
|
|
4214
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
4215
|
+
*/
|
|
4216
|
+
proto.RequestBiddingBase.prototype.setPurchasingGroup = function(value) {
|
|
4217
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
4218
|
+
};
|
|
4219
|
+
|
|
4220
|
+
|
|
4018
4221
|
|
|
4019
4222
|
/**
|
|
4020
4223
|
* List of repeated fields within this message type.
|