@aldiokta/protocgen 1.1.62 → 1.1.63
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/material/material_grpc_pb.js +33 -0
- package/prisca/v1/core/material/material_pb.js +787 -1
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +33 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +574 -0
|
@@ -119,6 +119,28 @@ function deserialize_UpdateGeneralLedgerAccountResponse(buffer_arg) {
|
|
|
119
119
|
return prisca_v1_general_ledger_account_general_ledger_account_pb.UpdateGeneralLedgerAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
function serialize_UpsertGlFromAccurateRequest(arg) {
|
|
123
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateRequest)) {
|
|
124
|
+
throw new Error('Expected argument of type UpsertGlFromAccurateRequest');
|
|
125
|
+
}
|
|
126
|
+
return Buffer.from(arg.serializeBinary());
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function deserialize_UpsertGlFromAccurateRequest(buffer_arg) {
|
|
130
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function serialize_UpsertGlFromAccurateResponse(arg) {
|
|
134
|
+
if (!(arg instanceof prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateResponse)) {
|
|
135
|
+
throw new Error('Expected argument of type UpsertGlFromAccurateResponse');
|
|
136
|
+
}
|
|
137
|
+
return Buffer.from(arg.serializeBinary());
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
function deserialize_UpsertGlFromAccurateResponse(buffer_arg) {
|
|
141
|
+
return prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
142
|
+
}
|
|
143
|
+
|
|
122
144
|
|
|
123
145
|
var GeneralLedgerAccountServiceService = exports.GeneralLedgerAccountServiceService = {
|
|
124
146
|
createGeneralLedgerAccount: {
|
|
@@ -176,6 +198,17 @@ var GeneralLedgerAccountServiceService = exports.GeneralLedgerAccountServiceServ
|
|
|
176
198
|
responseSerialize: serialize_DeleteGeneralLedgerAccountResponse,
|
|
177
199
|
responseDeserialize: deserialize_DeleteGeneralLedgerAccountResponse,
|
|
178
200
|
},
|
|
201
|
+
upsertFromAccurate: {
|
|
202
|
+
path: '/GeneralLedgerAccountService/UpsertFromAccurate',
|
|
203
|
+
requestStream: false,
|
|
204
|
+
responseStream: false,
|
|
205
|
+
requestType: prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateRequest,
|
|
206
|
+
responseType: prisca_v1_general_ledger_account_general_ledger_account_pb.UpsertGlFromAccurateResponse,
|
|
207
|
+
requestSerialize: serialize_UpsertGlFromAccurateRequest,
|
|
208
|
+
requestDeserialize: deserialize_UpsertGlFromAccurateRequest,
|
|
209
|
+
responseSerialize: serialize_UpsertGlFromAccurateResponse,
|
|
210
|
+
responseDeserialize: deserialize_UpsertGlFromAccurateResponse,
|
|
211
|
+
},
|
|
179
212
|
};
|
|
180
213
|
|
|
181
214
|
exports.GeneralLedgerAccountServiceClient = grpc.makeGenericClientConstructor(GeneralLedgerAccountServiceService, 'GeneralLedgerAccountService');
|
|
@@ -38,6 +38,8 @@ goog.exportSymbol('proto.GetListGeneralLedgerAccountRequest', null, global);
|
|
|
38
38
|
goog.exportSymbol('proto.GetListGeneralLedgerAccountResponse', null, global);
|
|
39
39
|
goog.exportSymbol('proto.UpdateGeneralLedgerAccountRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.UpdateGeneralLedgerAccountResponse', null, global);
|
|
41
|
+
goog.exportSymbol('proto.UpsertGlFromAccurateRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.UpsertGlFromAccurateResponse', null, global);
|
|
41
43
|
/**
|
|
42
44
|
* Generated by JsPbCodeGenerator.
|
|
43
45
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -311,6 +313,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
311
313
|
*/
|
|
312
314
|
proto.DeleteGeneralLedgerAccountResponse.displayName = 'proto.DeleteGeneralLedgerAccountResponse';
|
|
313
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* Generated by JsPbCodeGenerator.
|
|
318
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
319
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
320
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
321
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
322
|
+
* valid.
|
|
323
|
+
* @extends {jspb.Message}
|
|
324
|
+
* @constructor
|
|
325
|
+
*/
|
|
326
|
+
proto.UpsertGlFromAccurateRequest = function(opt_data) {
|
|
327
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpsertGlFromAccurateRequest.repeatedFields_, null);
|
|
328
|
+
};
|
|
329
|
+
goog.inherits(proto.UpsertGlFromAccurateRequest, jspb.Message);
|
|
330
|
+
if (goog.DEBUG && !COMPILED) {
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @override
|
|
334
|
+
*/
|
|
335
|
+
proto.UpsertGlFromAccurateRequest.displayName = 'proto.UpsertGlFromAccurateRequest';
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Generated by JsPbCodeGenerator.
|
|
339
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
340
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
341
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
342
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
343
|
+
* valid.
|
|
344
|
+
* @extends {jspb.Message}
|
|
345
|
+
* @constructor
|
|
346
|
+
*/
|
|
347
|
+
proto.UpsertGlFromAccurateResponse = function(opt_data) {
|
|
348
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
349
|
+
};
|
|
350
|
+
goog.inherits(proto.UpsertGlFromAccurateResponse, jspb.Message);
|
|
351
|
+
if (goog.DEBUG && !COMPILED) {
|
|
352
|
+
/**
|
|
353
|
+
* @public
|
|
354
|
+
* @override
|
|
355
|
+
*/
|
|
356
|
+
proto.UpsertGlFromAccurateResponse.displayName = 'proto.UpsertGlFromAccurateResponse';
|
|
357
|
+
}
|
|
314
358
|
|
|
315
359
|
/**
|
|
316
360
|
* List of repeated fields within this message type.
|
|
@@ -3319,4 +3363,534 @@ proto.DeleteGeneralLedgerAccountResponse.prototype.hasMeta = function() {
|
|
|
3319
3363
|
};
|
|
3320
3364
|
|
|
3321
3365
|
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* List of repeated fields within this message type.
|
|
3369
|
+
* @private {!Array<number>}
|
|
3370
|
+
* @const
|
|
3371
|
+
*/
|
|
3372
|
+
proto.UpsertGlFromAccurateRequest.repeatedFields_ = [8];
|
|
3373
|
+
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3377
|
+
/**
|
|
3378
|
+
* Creates an object representation of this proto.
|
|
3379
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3380
|
+
* Optional fields that are not set will be set to undefined.
|
|
3381
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3382
|
+
* For the list of reserved names please see:
|
|
3383
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3384
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3385
|
+
* JSPB instance for transitional soy proto support:
|
|
3386
|
+
* http://goto/soy-param-migration
|
|
3387
|
+
* @return {!Object}
|
|
3388
|
+
*/
|
|
3389
|
+
proto.UpsertGlFromAccurateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3390
|
+
return proto.UpsertGlFromAccurateRequest.toObject(opt_includeInstance, this);
|
|
3391
|
+
};
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
/**
|
|
3395
|
+
* Static version of the {@see toObject} method.
|
|
3396
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3397
|
+
* the JSPB instance for transitional soy proto support:
|
|
3398
|
+
* http://goto/soy-param-migration
|
|
3399
|
+
* @param {!proto.UpsertGlFromAccurateRequest} msg The msg instance to transform.
|
|
3400
|
+
* @return {!Object}
|
|
3401
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3402
|
+
*/
|
|
3403
|
+
proto.UpsertGlFromAccurateRequest.toObject = function(includeInstance, msg) {
|
|
3404
|
+
var f, obj = {
|
|
3405
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3406
|
+
accurateId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3407
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3408
|
+
accountType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3409
|
+
chartOfAccountRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3410
|
+
accountGroupRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3411
|
+
currencyRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3412
|
+
languageDescriptionList: jspb.Message.toObjectList(msg.getLanguageDescriptionList(),
|
|
3413
|
+
proto.GeneralLedgerLanguage.toObject, includeInstance)
|
|
3414
|
+
};
|
|
3415
|
+
|
|
3416
|
+
if (includeInstance) {
|
|
3417
|
+
obj.$jspbMessageInstance = msg;
|
|
3418
|
+
}
|
|
3419
|
+
return obj;
|
|
3420
|
+
};
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3423
|
+
|
|
3424
|
+
/**
|
|
3425
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3426
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3427
|
+
* @return {!proto.UpsertGlFromAccurateRequest}
|
|
3428
|
+
*/
|
|
3429
|
+
proto.UpsertGlFromAccurateRequest.deserializeBinary = function(bytes) {
|
|
3430
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3431
|
+
var msg = new proto.UpsertGlFromAccurateRequest;
|
|
3432
|
+
return proto.UpsertGlFromAccurateRequest.deserializeBinaryFromReader(msg, reader);
|
|
3433
|
+
};
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
/**
|
|
3437
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3438
|
+
* given reader into the given message object.
|
|
3439
|
+
* @param {!proto.UpsertGlFromAccurateRequest} msg The message object to deserialize into.
|
|
3440
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3441
|
+
* @return {!proto.UpsertGlFromAccurateRequest}
|
|
3442
|
+
*/
|
|
3443
|
+
proto.UpsertGlFromAccurateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3444
|
+
while (reader.nextField()) {
|
|
3445
|
+
if (reader.isEndGroup()) {
|
|
3446
|
+
break;
|
|
3447
|
+
}
|
|
3448
|
+
var field = reader.getFieldNumber();
|
|
3449
|
+
switch (field) {
|
|
3450
|
+
case 1:
|
|
3451
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3452
|
+
msg.setCompaniesReferencesId(value);
|
|
3453
|
+
break;
|
|
3454
|
+
case 2:
|
|
3455
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3456
|
+
msg.setAccurateId(value);
|
|
3457
|
+
break;
|
|
3458
|
+
case 3:
|
|
3459
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3460
|
+
msg.setAccountId(value);
|
|
3461
|
+
break;
|
|
3462
|
+
case 4:
|
|
3463
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3464
|
+
msg.setAccountType(value);
|
|
3465
|
+
break;
|
|
3466
|
+
case 5:
|
|
3467
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3468
|
+
msg.setChartOfAccountRef(value);
|
|
3469
|
+
break;
|
|
3470
|
+
case 6:
|
|
3471
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3472
|
+
msg.setAccountGroupRef(value);
|
|
3473
|
+
break;
|
|
3474
|
+
case 7:
|
|
3475
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3476
|
+
msg.setCurrencyRef(value);
|
|
3477
|
+
break;
|
|
3478
|
+
case 8:
|
|
3479
|
+
var value = new proto.GeneralLedgerLanguage;
|
|
3480
|
+
reader.readMessage(value,proto.GeneralLedgerLanguage.deserializeBinaryFromReader);
|
|
3481
|
+
msg.addLanguageDescription(value);
|
|
3482
|
+
break;
|
|
3483
|
+
default:
|
|
3484
|
+
reader.skipField();
|
|
3485
|
+
break;
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
return msg;
|
|
3489
|
+
};
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3494
|
+
* @return {!Uint8Array}
|
|
3495
|
+
*/
|
|
3496
|
+
proto.UpsertGlFromAccurateRequest.prototype.serializeBinary = function() {
|
|
3497
|
+
var writer = new jspb.BinaryWriter();
|
|
3498
|
+
proto.UpsertGlFromAccurateRequest.serializeBinaryToWriter(this, writer);
|
|
3499
|
+
return writer.getResultBuffer();
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
|
|
3503
|
+
/**
|
|
3504
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3505
|
+
* format), writing to the given BinaryWriter.
|
|
3506
|
+
* @param {!proto.UpsertGlFromAccurateRequest} message
|
|
3507
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3508
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3509
|
+
*/
|
|
3510
|
+
proto.UpsertGlFromAccurateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3511
|
+
var f = undefined;
|
|
3512
|
+
f = message.getCompaniesReferencesId();
|
|
3513
|
+
if (f.length > 0) {
|
|
3514
|
+
writer.writeString(
|
|
3515
|
+
1,
|
|
3516
|
+
f
|
|
3517
|
+
);
|
|
3518
|
+
}
|
|
3519
|
+
f = message.getAccurateId();
|
|
3520
|
+
if (f !== 0) {
|
|
3521
|
+
writer.writeInt64(
|
|
3522
|
+
2,
|
|
3523
|
+
f
|
|
3524
|
+
);
|
|
3525
|
+
}
|
|
3526
|
+
f = message.getAccountId();
|
|
3527
|
+
if (f.length > 0) {
|
|
3528
|
+
writer.writeString(
|
|
3529
|
+
3,
|
|
3530
|
+
f
|
|
3531
|
+
);
|
|
3532
|
+
}
|
|
3533
|
+
f = message.getAccountType();
|
|
3534
|
+
if (f.length > 0) {
|
|
3535
|
+
writer.writeString(
|
|
3536
|
+
4,
|
|
3537
|
+
f
|
|
3538
|
+
);
|
|
3539
|
+
}
|
|
3540
|
+
f = message.getChartOfAccountRef();
|
|
3541
|
+
if (f.length > 0) {
|
|
3542
|
+
writer.writeString(
|
|
3543
|
+
5,
|
|
3544
|
+
f
|
|
3545
|
+
);
|
|
3546
|
+
}
|
|
3547
|
+
f = message.getAccountGroupRef();
|
|
3548
|
+
if (f.length > 0) {
|
|
3549
|
+
writer.writeString(
|
|
3550
|
+
6,
|
|
3551
|
+
f
|
|
3552
|
+
);
|
|
3553
|
+
}
|
|
3554
|
+
f = message.getCurrencyRef();
|
|
3555
|
+
if (f.length > 0) {
|
|
3556
|
+
writer.writeString(
|
|
3557
|
+
7,
|
|
3558
|
+
f
|
|
3559
|
+
);
|
|
3560
|
+
}
|
|
3561
|
+
f = message.getLanguageDescriptionList();
|
|
3562
|
+
if (f.length > 0) {
|
|
3563
|
+
writer.writeRepeatedMessage(
|
|
3564
|
+
8,
|
|
3565
|
+
f,
|
|
3566
|
+
proto.GeneralLedgerLanguage.serializeBinaryToWriter
|
|
3567
|
+
);
|
|
3568
|
+
}
|
|
3569
|
+
};
|
|
3570
|
+
|
|
3571
|
+
|
|
3572
|
+
/**
|
|
3573
|
+
* optional string companies_references_id = 1;
|
|
3574
|
+
* @return {string}
|
|
3575
|
+
*/
|
|
3576
|
+
proto.UpsertGlFromAccurateRequest.prototype.getCompaniesReferencesId = function() {
|
|
3577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3578
|
+
};
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
/**
|
|
3582
|
+
* @param {string} value
|
|
3583
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3584
|
+
*/
|
|
3585
|
+
proto.UpsertGlFromAccurateRequest.prototype.setCompaniesReferencesId = function(value) {
|
|
3586
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
/**
|
|
3591
|
+
* optional int64 accurate_id = 2;
|
|
3592
|
+
* @return {number}
|
|
3593
|
+
*/
|
|
3594
|
+
proto.UpsertGlFromAccurateRequest.prototype.getAccurateId = function() {
|
|
3595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3596
|
+
};
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* @param {number} value
|
|
3601
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3602
|
+
*/
|
|
3603
|
+
proto.UpsertGlFromAccurateRequest.prototype.setAccurateId = function(value) {
|
|
3604
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3605
|
+
};
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
/**
|
|
3609
|
+
* optional string account_id = 3;
|
|
3610
|
+
* @return {string}
|
|
3611
|
+
*/
|
|
3612
|
+
proto.UpsertGlFromAccurateRequest.prototype.getAccountId = function() {
|
|
3613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3614
|
+
};
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* @param {string} value
|
|
3619
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3620
|
+
*/
|
|
3621
|
+
proto.UpsertGlFromAccurateRequest.prototype.setAccountId = function(value) {
|
|
3622
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3623
|
+
};
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
/**
|
|
3627
|
+
* optional string account_type = 4;
|
|
3628
|
+
* @return {string}
|
|
3629
|
+
*/
|
|
3630
|
+
proto.UpsertGlFromAccurateRequest.prototype.getAccountType = function() {
|
|
3631
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3632
|
+
};
|
|
3633
|
+
|
|
3634
|
+
|
|
3635
|
+
/**
|
|
3636
|
+
* @param {string} value
|
|
3637
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3638
|
+
*/
|
|
3639
|
+
proto.UpsertGlFromAccurateRequest.prototype.setAccountType = function(value) {
|
|
3640
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3641
|
+
};
|
|
3642
|
+
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* optional string chart_of_account_ref = 5;
|
|
3646
|
+
* @return {string}
|
|
3647
|
+
*/
|
|
3648
|
+
proto.UpsertGlFromAccurateRequest.prototype.getChartOfAccountRef = function() {
|
|
3649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3650
|
+
};
|
|
3651
|
+
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* @param {string} value
|
|
3655
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3656
|
+
*/
|
|
3657
|
+
proto.UpsertGlFromAccurateRequest.prototype.setChartOfAccountRef = function(value) {
|
|
3658
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3659
|
+
};
|
|
3660
|
+
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* optional string account_group_ref = 6;
|
|
3664
|
+
* @return {string}
|
|
3665
|
+
*/
|
|
3666
|
+
proto.UpsertGlFromAccurateRequest.prototype.getAccountGroupRef = function() {
|
|
3667
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3668
|
+
};
|
|
3669
|
+
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* @param {string} value
|
|
3673
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3674
|
+
*/
|
|
3675
|
+
proto.UpsertGlFromAccurateRequest.prototype.setAccountGroupRef = function(value) {
|
|
3676
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3677
|
+
};
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* optional string currency_ref = 7;
|
|
3682
|
+
* @return {string}
|
|
3683
|
+
*/
|
|
3684
|
+
proto.UpsertGlFromAccurateRequest.prototype.getCurrencyRef = function() {
|
|
3685
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3686
|
+
};
|
|
3687
|
+
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* @param {string} value
|
|
3691
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3692
|
+
*/
|
|
3693
|
+
proto.UpsertGlFromAccurateRequest.prototype.setCurrencyRef = function(value) {
|
|
3694
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3695
|
+
};
|
|
3696
|
+
|
|
3697
|
+
|
|
3698
|
+
/**
|
|
3699
|
+
* repeated GeneralLedgerLanguage language_description = 8;
|
|
3700
|
+
* @return {!Array<!proto.GeneralLedgerLanguage>}
|
|
3701
|
+
*/
|
|
3702
|
+
proto.UpsertGlFromAccurateRequest.prototype.getLanguageDescriptionList = function() {
|
|
3703
|
+
return /** @type{!Array<!proto.GeneralLedgerLanguage>} */ (
|
|
3704
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GeneralLedgerLanguage, 8));
|
|
3705
|
+
};
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* @param {!Array<!proto.GeneralLedgerLanguage>} value
|
|
3710
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3711
|
+
*/
|
|
3712
|
+
proto.UpsertGlFromAccurateRequest.prototype.setLanguageDescriptionList = function(value) {
|
|
3713
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* @param {!proto.GeneralLedgerLanguage=} opt_value
|
|
3719
|
+
* @param {number=} opt_index
|
|
3720
|
+
* @return {!proto.GeneralLedgerLanguage}
|
|
3721
|
+
*/
|
|
3722
|
+
proto.UpsertGlFromAccurateRequest.prototype.addLanguageDescription = function(opt_value, opt_index) {
|
|
3723
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.GeneralLedgerLanguage, opt_index);
|
|
3724
|
+
};
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
/**
|
|
3728
|
+
* Clears the list making it empty but non-null.
|
|
3729
|
+
* @return {!proto.UpsertGlFromAccurateRequest} returns this
|
|
3730
|
+
*/
|
|
3731
|
+
proto.UpsertGlFromAccurateRequest.prototype.clearLanguageDescriptionList = function() {
|
|
3732
|
+
return this.setLanguageDescriptionList([]);
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3740
|
+
/**
|
|
3741
|
+
* Creates an object representation of this proto.
|
|
3742
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3743
|
+
* Optional fields that are not set will be set to undefined.
|
|
3744
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3745
|
+
* For the list of reserved names please see:
|
|
3746
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3747
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3748
|
+
* JSPB instance for transitional soy proto support:
|
|
3749
|
+
* http://goto/soy-param-migration
|
|
3750
|
+
* @return {!Object}
|
|
3751
|
+
*/
|
|
3752
|
+
proto.UpsertGlFromAccurateResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3753
|
+
return proto.UpsertGlFromAccurateResponse.toObject(opt_includeInstance, this);
|
|
3754
|
+
};
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
/**
|
|
3758
|
+
* Static version of the {@see toObject} method.
|
|
3759
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3760
|
+
* the JSPB instance for transitional soy proto support:
|
|
3761
|
+
* http://goto/soy-param-migration
|
|
3762
|
+
* @param {!proto.UpsertGlFromAccurateResponse} msg The msg instance to transform.
|
|
3763
|
+
* @return {!Object}
|
|
3764
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3765
|
+
*/
|
|
3766
|
+
proto.UpsertGlFromAccurateResponse.toObject = function(includeInstance, msg) {
|
|
3767
|
+
var f, obj = {
|
|
3768
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3769
|
+
action: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3770
|
+
};
|
|
3771
|
+
|
|
3772
|
+
if (includeInstance) {
|
|
3773
|
+
obj.$jspbMessageInstance = msg;
|
|
3774
|
+
}
|
|
3775
|
+
return obj;
|
|
3776
|
+
};
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3782
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3783
|
+
* @return {!proto.UpsertGlFromAccurateResponse}
|
|
3784
|
+
*/
|
|
3785
|
+
proto.UpsertGlFromAccurateResponse.deserializeBinary = function(bytes) {
|
|
3786
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3787
|
+
var msg = new proto.UpsertGlFromAccurateResponse;
|
|
3788
|
+
return proto.UpsertGlFromAccurateResponse.deserializeBinaryFromReader(msg, reader);
|
|
3789
|
+
};
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3794
|
+
* given reader into the given message object.
|
|
3795
|
+
* @param {!proto.UpsertGlFromAccurateResponse} msg The message object to deserialize into.
|
|
3796
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3797
|
+
* @return {!proto.UpsertGlFromAccurateResponse}
|
|
3798
|
+
*/
|
|
3799
|
+
proto.UpsertGlFromAccurateResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3800
|
+
while (reader.nextField()) {
|
|
3801
|
+
if (reader.isEndGroup()) {
|
|
3802
|
+
break;
|
|
3803
|
+
}
|
|
3804
|
+
var field = reader.getFieldNumber();
|
|
3805
|
+
switch (field) {
|
|
3806
|
+
case 1:
|
|
3807
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3808
|
+
msg.setReferencesId(value);
|
|
3809
|
+
break;
|
|
3810
|
+
case 2:
|
|
3811
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3812
|
+
msg.setAction(value);
|
|
3813
|
+
break;
|
|
3814
|
+
default:
|
|
3815
|
+
reader.skipField();
|
|
3816
|
+
break;
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
return msg;
|
|
3820
|
+
};
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3825
|
+
* @return {!Uint8Array}
|
|
3826
|
+
*/
|
|
3827
|
+
proto.UpsertGlFromAccurateResponse.prototype.serializeBinary = function() {
|
|
3828
|
+
var writer = new jspb.BinaryWriter();
|
|
3829
|
+
proto.UpsertGlFromAccurateResponse.serializeBinaryToWriter(this, writer);
|
|
3830
|
+
return writer.getResultBuffer();
|
|
3831
|
+
};
|
|
3832
|
+
|
|
3833
|
+
|
|
3834
|
+
/**
|
|
3835
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3836
|
+
* format), writing to the given BinaryWriter.
|
|
3837
|
+
* @param {!proto.UpsertGlFromAccurateResponse} message
|
|
3838
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3839
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3840
|
+
*/
|
|
3841
|
+
proto.UpsertGlFromAccurateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3842
|
+
var f = undefined;
|
|
3843
|
+
f = message.getReferencesId();
|
|
3844
|
+
if (f.length > 0) {
|
|
3845
|
+
writer.writeString(
|
|
3846
|
+
1,
|
|
3847
|
+
f
|
|
3848
|
+
);
|
|
3849
|
+
}
|
|
3850
|
+
f = message.getAction();
|
|
3851
|
+
if (f.length > 0) {
|
|
3852
|
+
writer.writeString(
|
|
3853
|
+
2,
|
|
3854
|
+
f
|
|
3855
|
+
);
|
|
3856
|
+
}
|
|
3857
|
+
};
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
* optional string references_id = 1;
|
|
3862
|
+
* @return {string}
|
|
3863
|
+
*/
|
|
3864
|
+
proto.UpsertGlFromAccurateResponse.prototype.getReferencesId = function() {
|
|
3865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3866
|
+
};
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* @param {string} value
|
|
3871
|
+
* @return {!proto.UpsertGlFromAccurateResponse} returns this
|
|
3872
|
+
*/
|
|
3873
|
+
proto.UpsertGlFromAccurateResponse.prototype.setReferencesId = function(value) {
|
|
3874
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* optional string action = 2;
|
|
3880
|
+
* @return {string}
|
|
3881
|
+
*/
|
|
3882
|
+
proto.UpsertGlFromAccurateResponse.prototype.getAction = function() {
|
|
3883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3884
|
+
};
|
|
3885
|
+
|
|
3886
|
+
|
|
3887
|
+
/**
|
|
3888
|
+
* @param {string} value
|
|
3889
|
+
* @return {!proto.UpsertGlFromAccurateResponse} returns this
|
|
3890
|
+
*/
|
|
3891
|
+
proto.UpsertGlFromAccurateResponse.prototype.setAction = function(value) {
|
|
3892
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3893
|
+
};
|
|
3894
|
+
|
|
3895
|
+
|
|
3322
3896
|
goog.object.extend(exports, proto);
|