@sniipwebmaster/payroll-service-client-grpcweb 25.10.234 → 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.
- package/dependancies/service_pb.js +134 -14
- package/package.json +1 -1
|
@@ -7617,8 +7617,8 @@ proto.payrollserviceapi.CreateBusinessRequest.toObject = function(includeInstanc
|
|
|
7617
7617
|
var f, obj = {
|
|
7618
7618
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7619
7619
|
abn: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7620
|
-
|
|
7621
|
-
|
|
7620
|
+
email: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7621
|
+
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7622
7622
|
agentUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7623
7623
|
clientUserId: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
7624
7624
|
};
|
|
@@ -7667,11 +7667,11 @@ proto.payrollserviceapi.CreateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
7667
7667
|
break;
|
|
7668
7668
|
case 3:
|
|
7669
7669
|
var value = /** @type {string} */ (reader.readString());
|
|
7670
|
-
msg.
|
|
7670
|
+
msg.setEmail(value);
|
|
7671
7671
|
break;
|
|
7672
7672
|
case 4:
|
|
7673
7673
|
var value = /** @type {string} */ (reader.readString());
|
|
7674
|
-
msg.
|
|
7674
|
+
msg.setPhone(value);
|
|
7675
7675
|
break;
|
|
7676
7676
|
case 6:
|
|
7677
7677
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -7724,14 +7724,14 @@ proto.payrollserviceapi.CreateBusinessRequest.serializeBinaryToWriter = function
|
|
|
7724
7724
|
f
|
|
7725
7725
|
);
|
|
7726
7726
|
}
|
|
7727
|
-
f = message.
|
|
7727
|
+
f = message.getEmail();
|
|
7728
7728
|
if (f.length > 0) {
|
|
7729
7729
|
writer.writeString(
|
|
7730
7730
|
3,
|
|
7731
7731
|
f
|
|
7732
7732
|
);
|
|
7733
7733
|
}
|
|
7734
|
-
f = message.
|
|
7734
|
+
f = message.getPhone();
|
|
7735
7735
|
if (f.length > 0) {
|
|
7736
7736
|
writer.writeString(
|
|
7737
7737
|
4,
|
|
@@ -7792,10 +7792,10 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.setAbn = function(value)
|
|
|
7792
7792
|
|
|
7793
7793
|
|
|
7794
7794
|
/**
|
|
7795
|
-
* optional string
|
|
7795
|
+
* optional string email = 3;
|
|
7796
7796
|
* @return {string}
|
|
7797
7797
|
*/
|
|
7798
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7798
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getEmail = function() {
|
|
7799
7799
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7800
7800
|
};
|
|
7801
7801
|
|
|
@@ -7804,16 +7804,16 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.getBsb = function() {
|
|
|
7804
7804
|
* @param {string} value
|
|
7805
7805
|
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7806
7806
|
*/
|
|
7807
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7807
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setEmail = function(value) {
|
|
7808
7808
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7809
7809
|
};
|
|
7810
7810
|
|
|
7811
7811
|
|
|
7812
7812
|
/**
|
|
7813
|
-
* optional string
|
|
7813
|
+
* optional string phone = 4;
|
|
7814
7814
|
* @return {string}
|
|
7815
7815
|
*/
|
|
7816
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7816
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getPhone = function() {
|
|
7817
7817
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7818
7818
|
};
|
|
7819
7819
|
|
|
@@ -7822,7 +7822,7 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.getAccountNumber = funct
|
|
|
7822
7822
|
* @param {string} value
|
|
7823
7823
|
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7824
7824
|
*/
|
|
7825
|
-
proto.payrollserviceapi.CreateBusinessRequest.prototype.
|
|
7825
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setPhone = function(value) {
|
|
7826
7826
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7827
7827
|
};
|
|
7828
7828
|
|
|
@@ -9303,7 +9303,9 @@ proto.payrollserviceapi.BusinessDetails.toObject = function(includeInstance, msg
|
|
|
9303
9303
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9304
9304
|
abn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9305
9305
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9306
|
-
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, "")
|
|
9307
9309
|
};
|
|
9308
9310
|
|
|
9309
9311
|
if (includeInstance) {
|
|
@@ -9360,6 +9362,14 @@ proto.payrollserviceapi.BusinessDetails.deserializeBinaryFromReader = function(m
|
|
|
9360
9362
|
var value = /** @type {string} */ (reader.readString());
|
|
9361
9363
|
msg.setUpdatedAt(value);
|
|
9362
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;
|
|
9363
9373
|
default:
|
|
9364
9374
|
reader.skipField();
|
|
9365
9375
|
break;
|
|
@@ -9424,6 +9434,20 @@ proto.payrollserviceapi.BusinessDetails.serializeBinaryToWriter = function(messa
|
|
|
9424
9434
|
f
|
|
9425
9435
|
);
|
|
9426
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
|
+
}
|
|
9427
9451
|
};
|
|
9428
9452
|
|
|
9429
9453
|
|
|
@@ -9517,6 +9541,42 @@ proto.payrollserviceapi.BusinessDetails.prototype.setUpdatedAt = function(value)
|
|
|
9517
9541
|
};
|
|
9518
9542
|
|
|
9519
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
|
+
|
|
9520
9580
|
|
|
9521
9581
|
|
|
9522
9582
|
|
|
@@ -9552,8 +9612,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.toObject = function(includeInstanc
|
|
|
9552
9612
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9553
9613
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9554
9614
|
abn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9615
|
+
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9555
9616
|
agentUserId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9556
|
-
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
9617
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
9618
|
+
phone: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
9557
9619
|
};
|
|
9558
9620
|
|
|
9559
9621
|
if (includeInstance) {
|
|
@@ -9602,6 +9664,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9602
9664
|
var value = /** @type {string} */ (reader.readString());
|
|
9603
9665
|
msg.setAbn(value);
|
|
9604
9666
|
break;
|
|
9667
|
+
case 4:
|
|
9668
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9669
|
+
msg.setEmail(value);
|
|
9670
|
+
break;
|
|
9605
9671
|
case 5:
|
|
9606
9672
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9607
9673
|
msg.setAgentUserId(value);
|
|
@@ -9610,6 +9676,10 @@ proto.payrollserviceapi.UpdateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9610
9676
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9611
9677
|
msg.setClientUserId(value);
|
|
9612
9678
|
break;
|
|
9679
|
+
case 7:
|
|
9680
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9681
|
+
msg.setPhone(value);
|
|
9682
|
+
break;
|
|
9613
9683
|
default:
|
|
9614
9684
|
reader.skipField();
|
|
9615
9685
|
break;
|
|
@@ -9660,6 +9730,13 @@ proto.payrollserviceapi.UpdateBusinessRequest.serializeBinaryToWriter = function
|
|
|
9660
9730
|
f
|
|
9661
9731
|
);
|
|
9662
9732
|
}
|
|
9733
|
+
f = message.getEmail();
|
|
9734
|
+
if (f.length > 0) {
|
|
9735
|
+
writer.writeString(
|
|
9736
|
+
4,
|
|
9737
|
+
f
|
|
9738
|
+
);
|
|
9739
|
+
}
|
|
9663
9740
|
f = message.getAgentUserId();
|
|
9664
9741
|
if (f !== 0) {
|
|
9665
9742
|
writer.writeInt64(
|
|
@@ -9674,6 +9751,13 @@ proto.payrollserviceapi.UpdateBusinessRequest.serializeBinaryToWriter = function
|
|
|
9674
9751
|
f
|
|
9675
9752
|
);
|
|
9676
9753
|
}
|
|
9754
|
+
f = message.getPhone();
|
|
9755
|
+
if (f.length > 0) {
|
|
9756
|
+
writer.writeString(
|
|
9757
|
+
7,
|
|
9758
|
+
f
|
|
9759
|
+
);
|
|
9760
|
+
}
|
|
9677
9761
|
};
|
|
9678
9762
|
|
|
9679
9763
|
|
|
@@ -9731,6 +9815,24 @@ proto.payrollserviceapi.UpdateBusinessRequest.prototype.setAbn = function(value)
|
|
|
9731
9815
|
};
|
|
9732
9816
|
|
|
9733
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
|
+
|
|
9734
9836
|
/**
|
|
9735
9837
|
* optional int64 agent_user_id = 5;
|
|
9736
9838
|
* @return {number}
|
|
@@ -9767,6 +9869,24 @@ proto.payrollserviceapi.UpdateBusinessRequest.prototype.setClientUserId = functi
|
|
|
9767
9869
|
};
|
|
9768
9870
|
|
|
9769
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
|
+
|
|
9770
9890
|
|
|
9771
9891
|
|
|
9772
9892
|
|