@aldiokta/protocgen 1.1.63 → 1.1.65
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/accurate_oauth/accurate_oauth_grpc_pb.js +210 -0
- package/prisca/v1/accurate_oauth/accurate_oauth_pb.js +2330 -0
- package/prisca/v1/bidding/bidding_pb.js +43 -13
- package/prisca/v1/core/auth/auth_grpc_pb.js +99 -0
- package/prisca/v1/core/auth/auth_pb.js +2347 -851
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +33 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +304 -0
- package/prisca/v1/core/messaging/notification_event_grpc_pb.js +211 -0
- package/prisca/v1/core/messaging/notification_event_pb.js +3015 -0
- package/prisca/v1/core/user_device/user_device_grpc_pb.js +144 -0
- package/prisca/v1/core/user_device/user_device_pb.js +2255 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +41 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +991 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +61 -1
- package/prisca/v1/invoice/invoice_pb.js +61 -1
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +154 -138
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +18 -71
- package/prisca/v1/quotation/quotation_grpc_pb.js +33 -0
- package/prisca/v1/quotation/quotation_pb.js +1030 -131
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +603 -4
- package/prisca/v1/valuation/valuation_pb.js +93 -3
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +66 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +940 -0
|
@@ -983,7 +983,8 @@ biddingEndDate: jspb.Message.getFieldWithDefault(msg, 42, ""),
|
|
|
983
983
|
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 43, ""),
|
|
984
984
|
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
985
985
|
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f),
|
|
986
|
-
department: jspb.Message.getFieldWithDefault(msg, 46, "")
|
|
986
|
+
department: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
987
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 47, "")
|
|
987
988
|
};
|
|
988
989
|
|
|
989
990
|
if (includeInstance) {
|
|
@@ -1211,6 +1212,10 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1211
1212
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1212
1213
|
msg.setDepartment(value);
|
|
1213
1214
|
break;
|
|
1215
|
+
case 47:
|
|
1216
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1217
|
+
msg.setDocumentType(value);
|
|
1218
|
+
break;
|
|
1214
1219
|
default:
|
|
1215
1220
|
reader.skipField();
|
|
1216
1221
|
break;
|
|
@@ -1569,6 +1574,13 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
1569
1574
|
f
|
|
1570
1575
|
);
|
|
1571
1576
|
}
|
|
1577
|
+
f = message.getDocumentType();
|
|
1578
|
+
if (f.length > 0) {
|
|
1579
|
+
writer.writeString(
|
|
1580
|
+
47,
|
|
1581
|
+
f
|
|
1582
|
+
);
|
|
1583
|
+
}
|
|
1572
1584
|
};
|
|
1573
1585
|
|
|
1574
1586
|
|
|
@@ -2535,6 +2547,24 @@ proto.Quotation.prototype.setDepartment = function(value) {
|
|
|
2535
2547
|
};
|
|
2536
2548
|
|
|
2537
2549
|
|
|
2550
|
+
/**
|
|
2551
|
+
* optional string document_type = 47;
|
|
2552
|
+
* @return {string}
|
|
2553
|
+
*/
|
|
2554
|
+
proto.Quotation.prototype.getDocumentType = function() {
|
|
2555
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 47, ""));
|
|
2556
|
+
};
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* @param {string} value
|
|
2561
|
+
* @return {!proto.Quotation} returns this
|
|
2562
|
+
*/
|
|
2563
|
+
proto.Quotation.prototype.setDocumentType = function(value) {
|
|
2564
|
+
return jspb.Message.setProto3StringField(this, 47, value);
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
|
|
2538
2568
|
|
|
2539
2569
|
/**
|
|
2540
2570
|
* List of repeated fields within this message type.
|
|
@@ -2604,7 +2634,7 @@ fullfiledQuotation: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
|
2604
2634
|
termOfPayment: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
2605
2635
|
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
2606
2636
|
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
2607
|
-
|
|
2637
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
2608
2638
|
biddingDate: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
2609
2639
|
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
2610
2640
|
};
|
|
@@ -2764,7 +2794,7 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2764
2794
|
break;
|
|
2765
2795
|
case 30:
|
|
2766
2796
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2767
|
-
msg.
|
|
2797
|
+
msg.setDocumentType(value);
|
|
2768
2798
|
break;
|
|
2769
2799
|
case 31:
|
|
2770
2800
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -3009,7 +3039,7 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
|
|
|
3009
3039
|
f
|
|
3010
3040
|
);
|
|
3011
3041
|
}
|
|
3012
|
-
f = message.
|
|
3042
|
+
f = message.getDocumentType();
|
|
3013
3043
|
if (f.length > 0) {
|
|
3014
3044
|
writer.writeString(
|
|
3015
3045
|
30,
|
|
@@ -3614,10 +3644,10 @@ proto.Bidding.prototype.setPurchasingGroup = function(value) {
|
|
|
3614
3644
|
|
|
3615
3645
|
|
|
3616
3646
|
/**
|
|
3617
|
-
* optional string
|
|
3647
|
+
* optional string document_type = 30;
|
|
3618
3648
|
* @return {string}
|
|
3619
3649
|
*/
|
|
3620
|
-
proto.Bidding.prototype.
|
|
3650
|
+
proto.Bidding.prototype.getDocumentType = function() {
|
|
3621
3651
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
3622
3652
|
};
|
|
3623
3653
|
|
|
@@ -3626,7 +3656,7 @@ proto.Bidding.prototype.getPurchaseRequisitionType = function() {
|
|
|
3626
3656
|
* @param {string} value
|
|
3627
3657
|
* @return {!proto.Bidding} returns this
|
|
3628
3658
|
*/
|
|
3629
|
-
proto.Bidding.prototype.
|
|
3659
|
+
proto.Bidding.prototype.setDocumentType = function(value) {
|
|
3630
3660
|
return jspb.Message.setProto3StringField(this, 30, value);
|
|
3631
3661
|
};
|
|
3632
3662
|
|
|
@@ -3942,7 +3972,7 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
|
3942
3972
|
status: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3943
3973
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3944
3974
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3945
|
-
|
|
3975
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3946
3976
|
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3947
3977
|
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3948
3978
|
biddingDate: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
@@ -4043,7 +4073,7 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4043
4073
|
break;
|
|
4044
4074
|
case 17:
|
|
4045
4075
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4046
|
-
msg.
|
|
4076
|
+
msg.setDocumentType(value);
|
|
4047
4077
|
break;
|
|
4048
4078
|
case 18:
|
|
4049
4079
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -4190,7 +4220,7 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
4190
4220
|
f
|
|
4191
4221
|
);
|
|
4192
4222
|
}
|
|
4193
|
-
f = message.
|
|
4223
|
+
f = message.getDocumentType();
|
|
4194
4224
|
if (f.length > 0) {
|
|
4195
4225
|
writer.writeString(
|
|
4196
4226
|
17,
|
|
@@ -4521,10 +4551,10 @@ proto.RequestBiddingBase.prototype.setGroupReferences = function(value) {
|
|
|
4521
4551
|
|
|
4522
4552
|
|
|
4523
4553
|
/**
|
|
4524
|
-
* optional string
|
|
4554
|
+
* optional string document_type = 17;
|
|
4525
4555
|
* @return {string}
|
|
4526
4556
|
*/
|
|
4527
|
-
proto.RequestBiddingBase.prototype.
|
|
4557
|
+
proto.RequestBiddingBase.prototype.getDocumentType = function() {
|
|
4528
4558
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
4529
4559
|
};
|
|
4530
4560
|
|
|
@@ -4533,7 +4563,7 @@ proto.RequestBiddingBase.prototype.getPurchaseRequisitionType = function() {
|
|
|
4533
4563
|
* @param {string} value
|
|
4534
4564
|
* @return {!proto.RequestBiddingBase} returns this
|
|
4535
4565
|
*/
|
|
4536
|
-
proto.RequestBiddingBase.prototype.
|
|
4566
|
+
proto.RequestBiddingBase.prototype.setDocumentType = function(value) {
|
|
4537
4567
|
return jspb.Message.setProto3StringField(this, 17, value);
|
|
4538
4568
|
};
|
|
4539
4569
|
|
|
@@ -67,6 +67,28 @@ function deserialize_AuthVerifyToken(buffer_arg) {
|
|
|
67
67
|
return prisca_v1_core_auth_auth_pb.AuthVerifyToken.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
function serialize_BlastSetPasswordEmailRequest(arg) {
|
|
71
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest)) {
|
|
72
|
+
throw new Error('Expected argument of type BlastSetPasswordEmailRequest');
|
|
73
|
+
}
|
|
74
|
+
return Buffer.from(arg.serializeBinary());
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function deserialize_BlastSetPasswordEmailRequest(buffer_arg) {
|
|
78
|
+
return prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function serialize_BlastSetPasswordEmailResponse(arg) {
|
|
82
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse)) {
|
|
83
|
+
throw new Error('Expected argument of type BlastSetPasswordEmailResponse');
|
|
84
|
+
}
|
|
85
|
+
return Buffer.from(arg.serializeBinary());
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function deserialize_BlastSetPasswordEmailResponse(buffer_arg) {
|
|
89
|
+
return prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
90
|
+
}
|
|
91
|
+
|
|
70
92
|
function serialize_ChangePasswordRequest(arg) {
|
|
71
93
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.ChangePasswordRequest)) {
|
|
72
94
|
throw new Error('Expected argument of type ChangePasswordRequest');
|
|
@@ -232,6 +254,28 @@ function deserialize_LoginRequestVendor(buffer_arg) {
|
|
|
232
254
|
return prisca_v1_core_auth_auth_pb.LoginRequestVendor.deserializeBinary(new Uint8Array(buffer_arg));
|
|
233
255
|
}
|
|
234
256
|
|
|
257
|
+
function serialize_RefreshTokenRequest(arg) {
|
|
258
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RefreshTokenRequest)) {
|
|
259
|
+
throw new Error('Expected argument of type RefreshTokenRequest');
|
|
260
|
+
}
|
|
261
|
+
return Buffer.from(arg.serializeBinary());
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function deserialize_RefreshTokenRequest(buffer_arg) {
|
|
265
|
+
return prisca_v1_core_auth_auth_pb.RefreshTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function serialize_RefreshTokenResponse(arg) {
|
|
269
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RefreshTokenResponse)) {
|
|
270
|
+
throw new Error('Expected argument of type RefreshTokenResponse');
|
|
271
|
+
}
|
|
272
|
+
return Buffer.from(arg.serializeBinary());
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function deserialize_RefreshTokenResponse(buffer_arg) {
|
|
276
|
+
return prisca_v1_core_auth_auth_pb.RefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
277
|
+
}
|
|
278
|
+
|
|
235
279
|
function serialize_RequestForgotPasswordReq(arg) {
|
|
236
280
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RequestForgotPasswordReq)) {
|
|
237
281
|
throw new Error('Expected argument of type RequestForgotPasswordReq');
|
|
@@ -276,6 +320,28 @@ function deserialize_RequestRegisterVendorResponse(buffer_arg) {
|
|
|
276
320
|
return prisca_v1_core_auth_auth_pb.RequestRegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
277
321
|
}
|
|
278
322
|
|
|
323
|
+
function serialize_RevokeRefreshTokenRequest(arg) {
|
|
324
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest)) {
|
|
325
|
+
throw new Error('Expected argument of type RevokeRefreshTokenRequest');
|
|
326
|
+
}
|
|
327
|
+
return Buffer.from(arg.serializeBinary());
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
function deserialize_RevokeRefreshTokenRequest(buffer_arg) {
|
|
331
|
+
return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function serialize_RevokeRefreshTokenResponse(arg) {
|
|
335
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse)) {
|
|
336
|
+
throw new Error('Expected argument of type RevokeRefreshTokenResponse');
|
|
337
|
+
}
|
|
338
|
+
return Buffer.from(arg.serializeBinary());
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function deserialize_RevokeRefreshTokenResponse(buffer_arg) {
|
|
342
|
+
return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
343
|
+
}
|
|
344
|
+
|
|
279
345
|
function serialize_UpdateAccessPayload(arg) {
|
|
280
346
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.UpdateAccessPayload)) {
|
|
281
347
|
throw new Error('Expected argument of type UpdateAccessPayload');
|
|
@@ -498,6 +564,28 @@ var AuthServiceService = exports.AuthServiceService = {
|
|
|
498
564
|
responseSerialize: serialize_CheckCompaniesResponse,
|
|
499
565
|
responseDeserialize: deserialize_CheckCompaniesResponse,
|
|
500
566
|
},
|
|
567
|
+
refreshToken: {
|
|
568
|
+
path: '/AuthService/RefreshToken',
|
|
569
|
+
requestStream: false,
|
|
570
|
+
responseStream: false,
|
|
571
|
+
requestType: prisca_v1_core_auth_auth_pb.RefreshTokenRequest,
|
|
572
|
+
responseType: prisca_v1_core_auth_auth_pb.RefreshTokenResponse,
|
|
573
|
+
requestSerialize: serialize_RefreshTokenRequest,
|
|
574
|
+
requestDeserialize: deserialize_RefreshTokenRequest,
|
|
575
|
+
responseSerialize: serialize_RefreshTokenResponse,
|
|
576
|
+
responseDeserialize: deserialize_RefreshTokenResponse,
|
|
577
|
+
},
|
|
578
|
+
revokeRefreshToken: {
|
|
579
|
+
path: '/AuthService/RevokeRefreshToken',
|
|
580
|
+
requestStream: false,
|
|
581
|
+
responseStream: false,
|
|
582
|
+
requestType: prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest,
|
|
583
|
+
responseType: prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse,
|
|
584
|
+
requestSerialize: serialize_RevokeRefreshTokenRequest,
|
|
585
|
+
requestDeserialize: deserialize_RevokeRefreshTokenRequest,
|
|
586
|
+
responseSerialize: serialize_RevokeRefreshTokenResponse,
|
|
587
|
+
responseDeserialize: deserialize_RevokeRefreshTokenResponse,
|
|
588
|
+
},
|
|
501
589
|
requestRegisterVendor: {
|
|
502
590
|
path: '/AuthService/RequestRegisterVendor',
|
|
503
591
|
requestStream: false,
|
|
@@ -542,6 +630,17 @@ var AuthServiceService = exports.AuthServiceService = {
|
|
|
542
630
|
responseSerialize: serialize_ChangePasswordResponse,
|
|
543
631
|
responseDeserialize: deserialize_ChangePasswordResponse,
|
|
544
632
|
},
|
|
633
|
+
blastSetPasswordEmail: {
|
|
634
|
+
path: '/AuthService/BlastSetPasswordEmail',
|
|
635
|
+
requestStream: false,
|
|
636
|
+
responseStream: false,
|
|
637
|
+
requestType: prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest,
|
|
638
|
+
responseType: prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse,
|
|
639
|
+
requestSerialize: serialize_BlastSetPasswordEmailRequest,
|
|
640
|
+
requestDeserialize: deserialize_BlastSetPasswordEmailRequest,
|
|
641
|
+
responseSerialize: serialize_BlastSetPasswordEmailResponse,
|
|
642
|
+
responseDeserialize: deserialize_BlastSetPasswordEmailResponse,
|
|
643
|
+
},
|
|
545
644
|
};
|
|
546
645
|
|
|
547
646
|
exports.AuthServiceClient = grpc.makeGenericClientConstructor(AuthServiceService, 'AuthService');
|