@sniipwebmaster/payroll-service-client-grpcweb 25.10.228 → 25.10.240
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.
|
@@ -24,8 +24,6 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
|
24
24
|
|
|
25
25
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
26
26
|
|
|
27
|
-
var google_type_decimal_pb = require('./google/type/decimal_pb.js')
|
|
28
|
-
|
|
29
27
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js')
|
|
30
28
|
const proto = {};
|
|
31
29
|
proto.payrollserviceapi = require('./service_pb.js');
|
|
@@ -19,8 +19,6 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
19
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
20
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
21
21
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
22
|
-
var google_type_decimal_pb = require('./google/type/decimal_pb.js');
|
|
23
|
-
goog.object.extend(proto, google_type_decimal_pb);
|
|
24
22
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
25
23
|
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
26
24
|
goog.exportSymbol('proto.payrollserviceapi.ABAFileDetails', null, global);
|
|
@@ -7619,8 +7617,8 @@ proto.payrollserviceapi.CreateBusinessRequest.toObject = function(includeInstanc
|
|
|
7619
7617
|
var f, obj = {
|
|
7620
7618
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7621
7619
|
abn: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7622
|
-
|
|
7623
|
-
|
|
7620
|
+
email: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7621
|
+
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7624
7622
|
agentUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7625
7623
|
clientUserId: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
7626
7624
|
};
|
|
@@ -7669,11 +7667,11 @@ proto.payrollserviceapi.CreateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
7669
7667
|
break;
|
|
7670
7668
|
case 3:
|
|
7671
7669
|
var value = /** @type {string} */ (reader.readString());
|
|
7672
|
-
msg.
|
|
7670
|
+
msg.setEmail(value);
|
|
7673
7671
|
break;
|
|
7674
7672
|
case 4:
|
|
7675
7673
|
var value = /** @type {string} */ (reader.readString());
|
|
7676
|
-
msg.
|
|
7674
|
+
msg.setPhone(value);
|
|
7677
7675
|
break;
|
|
7678
7676
|
case 6:
|
|
7679
7677
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -7726,14 +7724,14 @@ proto.payrollserviceapi.CreateBusinessRequest.serializeBinaryToWriter = function
|
|
|
7726
7724
|
f
|
|
7727
7725
|
);
|
|
7728
7726
|
}
|
|
7729
|
-
f = message.
|
|
7727
|
+
f = message.getEmail();
|
|
7730
7728
|
if (f.length > 0) {
|
|
7731
7729
|
writer.writeString(
|
|
7732
7730
|
3,
|
|
7733
7731
|
f
|
|
7734
7732
|
);
|
|
7735
7733
|
}
|
|
7736
|
-
f = message.
|
|
7734
|
+
f = message.getPhone();
|
|
7737
7735
|
if (f.length > 0) {
|
|
7738
7736
|
writer.writeString(
|
|
7739
7737
|
4,
|
|
@@ -7794,10 +7792,10 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.setAbn = function(value)
|
|
|
7794
7792
|
|
|
7795
7793
|
|
|
7796
7794
|
/**
|
|
7797
|
-
* optional string
|
|
7795
|
+
* optional string email = 3;
|
|
7798
7796
|
* @return {string}
|
|
7799
7797
|
*/
|
|
7800
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7798
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getEmail = function() {
|
|
7801
7799
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7802
7800
|
};
|
|
7803
7801
|
|
|
@@ -7806,16 +7804,16 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.getBsb = function() {
|
|
|
7806
7804
|
* @param {string} value
|
|
7807
7805
|
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7808
7806
|
*/
|
|
7809
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7807
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setEmail = function(value) {
|
|
7810
7808
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7811
7809
|
};
|
|
7812
7810
|
|
|
7813
7811
|
|
|
7814
7812
|
/**
|
|
7815
|
-
* optional string
|
|
7813
|
+
* optional string phone = 4;
|
|
7816
7814
|
* @return {string}
|
|
7817
7815
|
*/
|
|
7818
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7816
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getPhone = function() {
|
|
7819
7817
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7820
7818
|
};
|
|
7821
7819
|
|
|
@@ -7824,7 +7822,7 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.getAccountNumber = funct
|
|
|
7824
7822
|
* @param {string} value
|
|
7825
7823
|
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7826
7824
|
*/
|
|
7827
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7825
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setPhone = function(value) {
|
|
7828
7826
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7829
7827
|
};
|
|
7830
7828
|
|
|
@@ -9305,7 +9303,9 @@ proto.payrollserviceapi.BusinessDetails.toObject = function(includeInstance, msg
|
|
|
9305
9303
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9306
9304
|
abn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9307
9305
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9308
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
9306
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9307
|
+
email: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9308
|
+
phone: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
9309
9309
|
};
|
|
9310
9310
|
|
|
9311
9311
|
if (includeInstance) {
|
|
@@ -9362,6 +9362,14 @@ proto.payrollserviceapi.BusinessDetails.deserializeBinaryFromReader = function(m
|
|
|
9362
9362
|
var value = /** @type {string} */ (reader.readString());
|
|
9363
9363
|
msg.setUpdatedAt(value);
|
|
9364
9364
|
break;
|
|
9365
|
+
case 7:
|
|
9366
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9367
|
+
msg.setEmail(value);
|
|
9368
|
+
break;
|
|
9369
|
+
case 8:
|
|
9370
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9371
|
+
msg.setPhone(value);
|
|
9372
|
+
break;
|
|
9365
9373
|
default:
|
|
9366
9374
|
reader.skipField();
|
|
9367
9375
|
break;
|
|
@@ -9426,6 +9434,20 @@ proto.payrollserviceapi.BusinessDetails.serializeBinaryToWriter = function(messa
|
|
|
9426
9434
|
f
|
|
9427
9435
|
);
|
|
9428
9436
|
}
|
|
9437
|
+
f = message.getEmail();
|
|
9438
|
+
if (f.length > 0) {
|
|
9439
|
+
writer.writeString(
|
|
9440
|
+
7,
|
|
9441
|
+
f
|
|
9442
|
+
);
|
|
9443
|
+
}
|
|
9444
|
+
f = message.getPhone();
|
|
9445
|
+
if (f.length > 0) {
|
|
9446
|
+
writer.writeString(
|
|
9447
|
+
8,
|
|
9448
|
+
f
|
|
9449
|
+
);
|
|
9450
|
+
}
|
|
9429
9451
|
};
|
|
9430
9452
|
|
|
9431
9453
|
|
|
@@ -9519,6 +9541,42 @@ proto.payrollserviceapi.BusinessDetails.prototype.setUpdatedAt = function(value)
|
|
|
9519
9541
|
};
|
|
9520
9542
|
|
|
9521
9543
|
|
|
9544
|
+
/**
|
|
9545
|
+
* optional string email = 7;
|
|
9546
|
+
* @return {string}
|
|
9547
|
+
*/
|
|
9548
|
+
proto.payrollserviceapi.BusinessDetails.prototype.getEmail = function() {
|
|
9549
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
9550
|
+
};
|
|
9551
|
+
|
|
9552
|
+
|
|
9553
|
+
/**
|
|
9554
|
+
* @param {string} value
|
|
9555
|
+
* @return {!proto.payrollserviceapi.BusinessDetails} returns this
|
|
9556
|
+
*/
|
|
9557
|
+
proto.payrollserviceapi.BusinessDetails.prototype.setEmail = function(value) {
|
|
9558
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
9559
|
+
};
|
|
9560
|
+
|
|
9561
|
+
|
|
9562
|
+
/**
|
|
9563
|
+
* optional string phone = 8;
|
|
9564
|
+
* @return {string}
|
|
9565
|
+
*/
|
|
9566
|
+
proto.payrollserviceapi.BusinessDetails.prototype.getPhone = function() {
|
|
9567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
9568
|
+
};
|
|
9569
|
+
|
|
9570
|
+
|
|
9571
|
+
/**
|
|
9572
|
+
* @param {string} value
|
|
9573
|
+
* @return {!proto.payrollserviceapi.BusinessDetails} returns this
|
|
9574
|
+
*/
|
|
9575
|
+
proto.payrollserviceapi.BusinessDetails.prototype.setPhone = function(value) {
|
|
9576
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
9577
|
+
};
|
|
9578
|
+
|
|
9579
|
+
|
|
9522
9580
|
|
|
9523
9581
|
|
|
9524
9582
|
|
|
@@ -9554,8 +9612,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.toObject = function(includeInstanc
|
|
|
9554
9612
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9555
9613
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9556
9614
|
abn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9615
|
+
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9557
9616
|
agentUserId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9558
|
-
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
9617
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
9618
|
+
phone: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
9559
9619
|
};
|
|
9560
9620
|
|
|
9561
9621
|
if (includeInstance) {
|
|
@@ -9604,6 +9664,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9604
9664
|
var value = /** @type {string} */ (reader.readString());
|
|
9605
9665
|
msg.setAbn(value);
|
|
9606
9666
|
break;
|
|
9667
|
+
case 4:
|
|
9668
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9669
|
+
msg.setEmail(value);
|
|
9670
|
+
break;
|
|
9607
9671
|
case 5:
|
|
9608
9672
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9609
9673
|
msg.setAgentUserId(value);
|
|
@@ -9612,6 +9676,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9612
9676
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9613
9677
|
msg.setClientUserId(value);
|
|
9614
9678
|
break;
|
|
9679
|
+
case 7:
|
|
9680
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9681
|
+
msg.setPhone(value);
|
|
9682
|
+
break;
|
|
9615
9683
|
default:
|
|
9616
9684
|
reader.skipField();
|
|
9617
9685
|
break;
|
|
@@ -9662,6 +9730,13 @@ proto.payrollserviceapi.UpdateBusinessRequest.serializeBinaryToWriter = function
|
|
|
9662
9730
|
f
|
|
9663
9731
|
);
|
|
9664
9732
|
}
|
|
9733
|
+
f = message.getEmail();
|
|
9734
|
+
if (f.length > 0) {
|
|
9735
|
+
writer.writeString(
|
|
9736
|
+
4,
|
|
9737
|
+
f
|
|
9738
|
+
);
|
|
9739
|
+
}
|
|
9665
9740
|
f = message.getAgentUserId();
|
|
9666
9741
|
if (f !== 0) {
|
|
9667
9742
|
writer.writeInt64(
|
|
@@ -9676,6 +9751,13 @@ proto.payrollserviceapi.UpdateBusinessRequest.serializeBinaryToWriter = function
|
|
|
9676
9751
|
f
|
|
9677
9752
|
);
|
|
9678
9753
|
}
|
|
9754
|
+
f = message.getPhone();
|
|
9755
|
+
if (f.length > 0) {
|
|
9756
|
+
writer.writeString(
|
|
9757
|
+
7,
|
|
9758
|
+
f
|
|
9759
|
+
);
|
|
9760
|
+
}
|
|
9679
9761
|
};
|
|
9680
9762
|
|
|
9681
9763
|
|
|
@@ -9733,6 +9815,24 @@ proto.payrollserviceapi.UpdateBusinessRequest.prototype.setAbn = function(value)
|
|
|
9733
9815
|
};
|
|
9734
9816
|
|
|
9735
9817
|
|
|
9818
|
+
/**
|
|
9819
|
+
* optional string email = 4;
|
|
9820
|
+
* @return {string}
|
|
9821
|
+
*/
|
|
9822
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.getEmail = function() {
|
|
9823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9824
|
+
};
|
|
9825
|
+
|
|
9826
|
+
|
|
9827
|
+
/**
|
|
9828
|
+
* @param {string} value
|
|
9829
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessRequest} returns this
|
|
9830
|
+
*/
|
|
9831
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.setEmail = function(value) {
|
|
9832
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
9833
|
+
};
|
|
9834
|
+
|
|
9835
|
+
|
|
9736
9836
|
/**
|
|
9737
9837
|
* optional int64 agent_user_id = 5;
|
|
9738
9838
|
* @return {number}
|
|
@@ -9769,6 +9869,24 @@ proto.payrollserviceapi.UpdateBusinessRequest.prototype.setClientUserId = functi
|
|
|
9769
9869
|
};
|
|
9770
9870
|
|
|
9771
9871
|
|
|
9872
|
+
/**
|
|
9873
|
+
* optional string phone = 7;
|
|
9874
|
+
* @return {string}
|
|
9875
|
+
*/
|
|
9876
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.getPhone = function() {
|
|
9877
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
9878
|
+
};
|
|
9879
|
+
|
|
9880
|
+
|
|
9881
|
+
/**
|
|
9882
|
+
* @param {string} value
|
|
9883
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessRequest} returns this
|
|
9884
|
+
*/
|
|
9885
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.setPhone = function(value) {
|
|
9886
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
9887
|
+
};
|
|
9888
|
+
|
|
9889
|
+
|
|
9772
9890
|
|
|
9773
9891
|
|
|
9774
9892
|
|