@aldiokta/protocgen 1.1.38 → 1.1.40
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/core/chat_messaging/chat_messaging_pb.js +259 -58
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +436 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +407 -0
- package/prisca/v1/core/workspace/workspace_grpc_pb.js +101 -0
- package/prisca/v1/core/workspace/workspace_pb.js +1381 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +182 -0
|
@@ -21,6 +21,8 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'
|
|
|
21
21
|
goog.object.extend(proto, google_protobuf_any_pb);
|
|
22
22
|
goog.exportSymbol('proto.CreateTransactionBuilderDefaultReq', null, global);
|
|
23
23
|
goog.exportSymbol('proto.CreateTransactionBuilderDefaultRes', null, global);
|
|
24
|
+
goog.exportSymbol('proto.DeleteTransactionBuilderFieldsRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.DeleteTransactionBuilderFieldsRes', null, global);
|
|
24
26
|
goog.exportSymbol('proto.EditTransactionBuilderById', null, global);
|
|
25
27
|
goog.exportSymbol('proto.EditTransactionConfigById', null, global);
|
|
26
28
|
goog.exportSymbol('proto.EditTransactionFieldsById', null, global);
|
|
@@ -69,6 +71,48 @@ goog.exportSymbol('proto.TransactionConfigRequest', null, global);
|
|
|
69
71
|
goog.exportSymbol('proto.TransactionFieldsRequest', null, global);
|
|
70
72
|
goog.exportSymbol('proto.TransactionFieldsRequestWithName', null, global);
|
|
71
73
|
goog.exportSymbol('proto.Value', null, global);
|
|
74
|
+
/**
|
|
75
|
+
* Generated by JsPbCodeGenerator.
|
|
76
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
77
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
78
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
79
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
80
|
+
* valid.
|
|
81
|
+
* @extends {jspb.Message}
|
|
82
|
+
* @constructor
|
|
83
|
+
*/
|
|
84
|
+
proto.DeleteTransactionBuilderFieldsRequest = function(opt_data) {
|
|
85
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTransactionBuilderFieldsRequest.repeatedFields_, null);
|
|
86
|
+
};
|
|
87
|
+
goog.inherits(proto.DeleteTransactionBuilderFieldsRequest, jspb.Message);
|
|
88
|
+
if (goog.DEBUG && !COMPILED) {
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @override
|
|
92
|
+
*/
|
|
93
|
+
proto.DeleteTransactionBuilderFieldsRequest.displayName = 'proto.DeleteTransactionBuilderFieldsRequest';
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Generated by JsPbCodeGenerator.
|
|
97
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
98
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
99
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
100
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
101
|
+
* valid.
|
|
102
|
+
* @extends {jspb.Message}
|
|
103
|
+
* @constructor
|
|
104
|
+
*/
|
|
105
|
+
proto.DeleteTransactionBuilderFieldsRes = function(opt_data) {
|
|
106
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTransactionBuilderFieldsRes.repeatedFields_, null);
|
|
107
|
+
};
|
|
108
|
+
goog.inherits(proto.DeleteTransactionBuilderFieldsRes, jspb.Message);
|
|
109
|
+
if (goog.DEBUG && !COMPILED) {
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* @override
|
|
113
|
+
*/
|
|
114
|
+
proto.DeleteTransactionBuilderFieldsRes.displayName = 'proto.DeleteTransactionBuilderFieldsRes';
|
|
115
|
+
}
|
|
72
116
|
/**
|
|
73
117
|
* Generated by JsPbCodeGenerator.
|
|
74
118
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1120,6 +1164,369 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1120
1164
|
proto.CreateTransactionBuilderDefaultRes.displayName = 'proto.CreateTransactionBuilderDefaultRes';
|
|
1121
1165
|
}
|
|
1122
1166
|
|
|
1167
|
+
/**
|
|
1168
|
+
* List of repeated fields within this message type.
|
|
1169
|
+
* @private {!Array<number>}
|
|
1170
|
+
* @const
|
|
1171
|
+
*/
|
|
1172
|
+
proto.DeleteTransactionBuilderFieldsRequest.repeatedFields_ = [1];
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1177
|
+
/**
|
|
1178
|
+
* Creates an object representation of this proto.
|
|
1179
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1180
|
+
* Optional fields that are not set will be set to undefined.
|
|
1181
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1182
|
+
* For the list of reserved names please see:
|
|
1183
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1184
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1185
|
+
* JSPB instance for transitional soy proto support:
|
|
1186
|
+
* http://goto/soy-param-migration
|
|
1187
|
+
* @return {!Object}
|
|
1188
|
+
*/
|
|
1189
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1190
|
+
return proto.DeleteTransactionBuilderFieldsRequest.toObject(opt_includeInstance, this);
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* Static version of the {@see toObject} method.
|
|
1196
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1197
|
+
* the JSPB instance for transitional soy proto support:
|
|
1198
|
+
* http://goto/soy-param-migration
|
|
1199
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRequest} msg The msg instance to transform.
|
|
1200
|
+
* @return {!Object}
|
|
1201
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1202
|
+
*/
|
|
1203
|
+
proto.DeleteTransactionBuilderFieldsRequest.toObject = function(includeInstance, msg) {
|
|
1204
|
+
var f, obj = {
|
|
1205
|
+
referencesIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
if (includeInstance) {
|
|
1209
|
+
obj.$jspbMessageInstance = msg;
|
|
1210
|
+
}
|
|
1211
|
+
return obj;
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1218
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1219
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRequest}
|
|
1220
|
+
*/
|
|
1221
|
+
proto.DeleteTransactionBuilderFieldsRequest.deserializeBinary = function(bytes) {
|
|
1222
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1223
|
+
var msg = new proto.DeleteTransactionBuilderFieldsRequest;
|
|
1224
|
+
return proto.DeleteTransactionBuilderFieldsRequest.deserializeBinaryFromReader(msg, reader);
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1230
|
+
* given reader into the given message object.
|
|
1231
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRequest} msg The message object to deserialize into.
|
|
1232
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1233
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRequest}
|
|
1234
|
+
*/
|
|
1235
|
+
proto.DeleteTransactionBuilderFieldsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1236
|
+
while (reader.nextField()) {
|
|
1237
|
+
if (reader.isEndGroup()) {
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
var field = reader.getFieldNumber();
|
|
1241
|
+
switch (field) {
|
|
1242
|
+
case 1:
|
|
1243
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1244
|
+
msg.addReferencesIds(value);
|
|
1245
|
+
break;
|
|
1246
|
+
default:
|
|
1247
|
+
reader.skipField();
|
|
1248
|
+
break;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
return msg;
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1257
|
+
* @return {!Uint8Array}
|
|
1258
|
+
*/
|
|
1259
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.serializeBinary = function() {
|
|
1260
|
+
var writer = new jspb.BinaryWriter();
|
|
1261
|
+
proto.DeleteTransactionBuilderFieldsRequest.serializeBinaryToWriter(this, writer);
|
|
1262
|
+
return writer.getResultBuffer();
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1268
|
+
* format), writing to the given BinaryWriter.
|
|
1269
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRequest} message
|
|
1270
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1272
|
+
*/
|
|
1273
|
+
proto.DeleteTransactionBuilderFieldsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1274
|
+
var f = undefined;
|
|
1275
|
+
f = message.getReferencesIdsList();
|
|
1276
|
+
if (f.length > 0) {
|
|
1277
|
+
writer.writeRepeatedString(
|
|
1278
|
+
1,
|
|
1279
|
+
f
|
|
1280
|
+
);
|
|
1281
|
+
}
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* repeated string references_ids = 1;
|
|
1287
|
+
* @return {!Array<string>}
|
|
1288
|
+
*/
|
|
1289
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.getReferencesIdsList = function() {
|
|
1290
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* @param {!Array<string>} value
|
|
1296
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRequest} returns this
|
|
1297
|
+
*/
|
|
1298
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.setReferencesIdsList = function(value) {
|
|
1299
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @param {string} value
|
|
1305
|
+
* @param {number=} opt_index
|
|
1306
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRequest} returns this
|
|
1307
|
+
*/
|
|
1308
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.addReferencesIds = function(value, opt_index) {
|
|
1309
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* Clears the list making it empty but non-null.
|
|
1315
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRequest} returns this
|
|
1316
|
+
*/
|
|
1317
|
+
proto.DeleteTransactionBuilderFieldsRequest.prototype.clearReferencesIdsList = function() {
|
|
1318
|
+
return this.setReferencesIdsList([]);
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* List of repeated fields within this message type.
|
|
1325
|
+
* @private {!Array<number>}
|
|
1326
|
+
* @const
|
|
1327
|
+
*/
|
|
1328
|
+
proto.DeleteTransactionBuilderFieldsRes.repeatedFields_ = [1];
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1333
|
+
/**
|
|
1334
|
+
* Creates an object representation of this proto.
|
|
1335
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1336
|
+
* Optional fields that are not set will be set to undefined.
|
|
1337
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1338
|
+
* For the list of reserved names please see:
|
|
1339
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1340
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1341
|
+
* JSPB instance for transitional soy proto support:
|
|
1342
|
+
* http://goto/soy-param-migration
|
|
1343
|
+
* @return {!Object}
|
|
1344
|
+
*/
|
|
1345
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.toObject = function(opt_includeInstance) {
|
|
1346
|
+
return proto.DeleteTransactionBuilderFieldsRes.toObject(opt_includeInstance, this);
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Static version of the {@see toObject} method.
|
|
1352
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1353
|
+
* the JSPB instance for transitional soy proto support:
|
|
1354
|
+
* http://goto/soy-param-migration
|
|
1355
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRes} msg The msg instance to transform.
|
|
1356
|
+
* @return {!Object}
|
|
1357
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1358
|
+
*/
|
|
1359
|
+
proto.DeleteTransactionBuilderFieldsRes.toObject = function(includeInstance, msg) {
|
|
1360
|
+
var f, obj = {
|
|
1361
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1362
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
if (includeInstance) {
|
|
1366
|
+
obj.$jspbMessageInstance = msg;
|
|
1367
|
+
}
|
|
1368
|
+
return obj;
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1375
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1376
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes}
|
|
1377
|
+
*/
|
|
1378
|
+
proto.DeleteTransactionBuilderFieldsRes.deserializeBinary = function(bytes) {
|
|
1379
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1380
|
+
var msg = new proto.DeleteTransactionBuilderFieldsRes;
|
|
1381
|
+
return proto.DeleteTransactionBuilderFieldsRes.deserializeBinaryFromReader(msg, reader);
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1387
|
+
* given reader into the given message object.
|
|
1388
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRes} msg The message object to deserialize into.
|
|
1389
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1390
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes}
|
|
1391
|
+
*/
|
|
1392
|
+
proto.DeleteTransactionBuilderFieldsRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
1393
|
+
while (reader.nextField()) {
|
|
1394
|
+
if (reader.isEndGroup()) {
|
|
1395
|
+
break;
|
|
1396
|
+
}
|
|
1397
|
+
var field = reader.getFieldNumber();
|
|
1398
|
+
switch (field) {
|
|
1399
|
+
case 1:
|
|
1400
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1401
|
+
msg.addReferenceIds(value);
|
|
1402
|
+
break;
|
|
1403
|
+
case 2:
|
|
1404
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1405
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1406
|
+
msg.setMeta(value);
|
|
1407
|
+
break;
|
|
1408
|
+
default:
|
|
1409
|
+
reader.skipField();
|
|
1410
|
+
break;
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
return msg;
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1419
|
+
* @return {!Uint8Array}
|
|
1420
|
+
*/
|
|
1421
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.serializeBinary = function() {
|
|
1422
|
+
var writer = new jspb.BinaryWriter();
|
|
1423
|
+
proto.DeleteTransactionBuilderFieldsRes.serializeBinaryToWriter(this, writer);
|
|
1424
|
+
return writer.getResultBuffer();
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1430
|
+
* format), writing to the given BinaryWriter.
|
|
1431
|
+
* @param {!proto.DeleteTransactionBuilderFieldsRes} message
|
|
1432
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1433
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1434
|
+
*/
|
|
1435
|
+
proto.DeleteTransactionBuilderFieldsRes.serializeBinaryToWriter = function(message, writer) {
|
|
1436
|
+
var f = undefined;
|
|
1437
|
+
f = message.getReferenceIdsList();
|
|
1438
|
+
if (f.length > 0) {
|
|
1439
|
+
writer.writeRepeatedString(
|
|
1440
|
+
1,
|
|
1441
|
+
f
|
|
1442
|
+
);
|
|
1443
|
+
}
|
|
1444
|
+
f = message.getMeta();
|
|
1445
|
+
if (f != null) {
|
|
1446
|
+
writer.writeMessage(
|
|
1447
|
+
2,
|
|
1448
|
+
f,
|
|
1449
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* repeated string reference_ids = 1;
|
|
1457
|
+
* @return {!Array<string>}
|
|
1458
|
+
*/
|
|
1459
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.getReferenceIdsList = function() {
|
|
1460
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* @param {!Array<string>} value
|
|
1466
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes} returns this
|
|
1467
|
+
*/
|
|
1468
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.setReferenceIdsList = function(value) {
|
|
1469
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* @param {string} value
|
|
1475
|
+
* @param {number=} opt_index
|
|
1476
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes} returns this
|
|
1477
|
+
*/
|
|
1478
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.addReferenceIds = function(value, opt_index) {
|
|
1479
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* Clears the list making it empty but non-null.
|
|
1485
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes} returns this
|
|
1486
|
+
*/
|
|
1487
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.clearReferenceIdsList = function() {
|
|
1488
|
+
return this.setReferenceIdsList([]);
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1494
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1495
|
+
*/
|
|
1496
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.getMeta = function() {
|
|
1497
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1498
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1504
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes} returns this
|
|
1505
|
+
*/
|
|
1506
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.setMeta = function(value) {
|
|
1507
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Clears the message field making it undefined.
|
|
1513
|
+
* @return {!proto.DeleteTransactionBuilderFieldsRes} returns this
|
|
1514
|
+
*/
|
|
1515
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.clearMeta = function() {
|
|
1516
|
+
return this.setMeta(undefined);
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* Returns whether this field is set.
|
|
1522
|
+
* @return {boolean}
|
|
1523
|
+
*/
|
|
1524
|
+
proto.DeleteTransactionBuilderFieldsRes.prototype.hasMeta = function() {
|
|
1525
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
|
|
1123
1530
|
|
|
1124
1531
|
|
|
1125
1532
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_core_workspace_workspace_pb = require('../../../../prisca/v1/core/workspace/workspace_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_auth_auth_pb = require('../../../../prisca/v1/core/auth/auth_pb.js');
|
|
8
|
+
|
|
9
|
+
function serialize_GetListWorkspaceRequest(arg) {
|
|
10
|
+
if (!(arg instanceof prisca_v1_core_workspace_workspace_pb.GetListWorkspaceRequest)) {
|
|
11
|
+
throw new Error('Expected argument of type GetListWorkspaceRequest');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_GetListWorkspaceRequest(buffer_arg) {
|
|
17
|
+
return prisca_v1_core_workspace_workspace_pb.GetListWorkspaceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_GetListWorkspaceResponse(arg) {
|
|
21
|
+
if (!(arg instanceof prisca_v1_core_workspace_workspace_pb.GetListWorkspaceResponse)) {
|
|
22
|
+
throw new Error('Expected argument of type GetListWorkspaceResponse');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_GetListWorkspaceResponse(buffer_arg) {
|
|
28
|
+
return prisca_v1_core_workspace_workspace_pb.GetListWorkspaceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function serialize_GetWorkspaceByIdRequest(arg) {
|
|
32
|
+
if (!(arg instanceof prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type GetWorkspaceByIdRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_GetWorkspaceByIdRequest(buffer_arg) {
|
|
39
|
+
return prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_GetWorkspaceByIdResponse(arg) {
|
|
43
|
+
if (!(arg instanceof prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type GetWorkspaceByIdResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_GetWorkspaceByIdResponse(buffer_arg) {
|
|
50
|
+
return prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function serialize_UserResponse(arg) {
|
|
54
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.UserResponse)) {
|
|
55
|
+
throw new Error('Expected argument of type UserResponse');
|
|
56
|
+
}
|
|
57
|
+
return Buffer.from(arg.serializeBinary());
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function deserialize_UserResponse(buffer_arg) {
|
|
61
|
+
return prisca_v1_core_auth_auth_pb.UserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
var WorkspaceServiceService = exports.WorkspaceServiceService = {
|
|
66
|
+
getList: {
|
|
67
|
+
path: '/WorkspaceService/GetList',
|
|
68
|
+
requestStream: false,
|
|
69
|
+
responseStream: false,
|
|
70
|
+
requestType: prisca_v1_core_workspace_workspace_pb.GetListWorkspaceRequest,
|
|
71
|
+
responseType: prisca_v1_core_workspace_workspace_pb.GetListWorkspaceResponse,
|
|
72
|
+
requestSerialize: serialize_GetListWorkspaceRequest,
|
|
73
|
+
requestDeserialize: deserialize_GetListWorkspaceRequest,
|
|
74
|
+
responseSerialize: serialize_GetListWorkspaceResponse,
|
|
75
|
+
responseDeserialize: deserialize_GetListWorkspaceResponse,
|
|
76
|
+
},
|
|
77
|
+
getById: {
|
|
78
|
+
path: '/WorkspaceService/GetById',
|
|
79
|
+
requestStream: false,
|
|
80
|
+
responseStream: false,
|
|
81
|
+
requestType: prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdRequest,
|
|
82
|
+
responseType: prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdResponse,
|
|
83
|
+
requestSerialize: serialize_GetWorkspaceByIdRequest,
|
|
84
|
+
requestDeserialize: deserialize_GetWorkspaceByIdRequest,
|
|
85
|
+
responseSerialize: serialize_GetWorkspaceByIdResponse,
|
|
86
|
+
responseDeserialize: deserialize_GetWorkspaceByIdResponse,
|
|
87
|
+
},
|
|
88
|
+
setCurrent: {
|
|
89
|
+
path: '/WorkspaceService/SetCurrent',
|
|
90
|
+
requestStream: false,
|
|
91
|
+
responseStream: false,
|
|
92
|
+
requestType: prisca_v1_core_workspace_workspace_pb.GetWorkspaceByIdRequest,
|
|
93
|
+
responseType: prisca_v1_core_auth_auth_pb.UserResponse,
|
|
94
|
+
requestSerialize: serialize_GetWorkspaceByIdRequest,
|
|
95
|
+
requestDeserialize: deserialize_GetWorkspaceByIdRequest,
|
|
96
|
+
responseSerialize: serialize_UserResponse,
|
|
97
|
+
responseDeserialize: deserialize_UserResponse,
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
exports.WorkspaceServiceClient = grpc.makeGenericClientConstructor(WorkspaceServiceService, 'WorkspaceService');
|