@sniipwebmaster/payroll-service-client-grpcweb-ts 25.10.264 → 25.10.276

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.
@@ -642,6 +642,49 @@ export class PayrollServiceClient {
642
642
  this.methodDescriptorListBusinesses);
643
643
  }
644
644
 
645
+ methodDescriptorGetUserBusinessSummary = new grpcWeb.MethodDescriptor(
646
+ '/payrollserviceapi.PayrollService/GetUserBusinessSummary',
647
+ grpcWeb.MethodType.UNARY,
648
+ service_pb.GetUserBusinessSummaryRequest,
649
+ service_pb.GetUserBusinessSummaryResponse,
650
+ (request: service_pb.GetUserBusinessSummaryRequest) => {
651
+ return request.serializeBinary();
652
+ },
653
+ service_pb.GetUserBusinessSummaryResponse.deserializeBinary
654
+ );
655
+
656
+ getUserBusinessSummary(
657
+ request: service_pb.GetUserBusinessSummaryRequest,
658
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetUserBusinessSummaryResponse>;
659
+
660
+ getUserBusinessSummary(
661
+ request: service_pb.GetUserBusinessSummaryRequest,
662
+ metadata: grpcWeb.Metadata | null,
663
+ callback: (err: grpcWeb.RpcError,
664
+ response: service_pb.GetUserBusinessSummaryResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUserBusinessSummaryResponse>;
665
+
666
+ getUserBusinessSummary(
667
+ request: service_pb.GetUserBusinessSummaryRequest,
668
+ metadata?: grpcWeb.Metadata | null,
669
+ callback?: (err: grpcWeb.RpcError,
670
+ response: service_pb.GetUserBusinessSummaryResponse) => void) {
671
+ if (callback !== undefined) {
672
+ return this.client_.rpcCall(
673
+ this.hostname_ +
674
+ '/payrollserviceapi.PayrollService/GetUserBusinessSummary',
675
+ request,
676
+ metadata || {},
677
+ this.methodDescriptorGetUserBusinessSummary,
678
+ callback);
679
+ }
680
+ return this.client_.unaryCall(
681
+ this.hostname_ +
682
+ '/payrollserviceapi.PayrollService/GetUserBusinessSummary',
683
+ request,
684
+ metadata || {},
685
+ this.methodDescriptorGetUserBusinessSummary);
686
+ }
687
+
645
688
  methodDescriptorGetBusiness = new grpcWeb.MethodDescriptor(
646
689
  '/payrollserviceapi.PayrollService/GetBusiness',
647
690
  grpcWeb.MethodType.UNARY,
@@ -363,6 +363,88 @@ export namespace GetBatchDetailsRequest {
363
363
  }
364
364
  }
365
365
 
366
+ export class GetUserBusinessSummaryRequest extends jspb.Message {
367
+ getClientUserId(): number;
368
+ setClientUserId(value: number): GetUserBusinessSummaryRequest;
369
+
370
+ serializeBinary(): Uint8Array;
371
+ toObject(includeInstance?: boolean): GetUserBusinessSummaryRequest.AsObject;
372
+ static toObject(includeInstance: boolean, msg: GetUserBusinessSummaryRequest): GetUserBusinessSummaryRequest.AsObject;
373
+ static serializeBinaryToWriter(message: GetUserBusinessSummaryRequest, writer: jspb.BinaryWriter): void;
374
+ static deserializeBinary(bytes: Uint8Array): GetUserBusinessSummaryRequest;
375
+ static deserializeBinaryFromReader(message: GetUserBusinessSummaryRequest, reader: jspb.BinaryReader): GetUserBusinessSummaryRequest;
376
+ }
377
+
378
+ export namespace GetUserBusinessSummaryRequest {
379
+ export type AsObject = {
380
+ clientUserId: number,
381
+ }
382
+ }
383
+
384
+ export class GetUserBusinessSummaryResponse extends jspb.Message {
385
+ getResponsecode(): ResponseCode | undefined;
386
+ setResponsecode(value?: ResponseCode): GetUserBusinessSummaryResponse;
387
+ hasResponsecode(): boolean;
388
+ clearResponsecode(): GetUserBusinessSummaryResponse;
389
+
390
+ getBusinessdetailsList(): Array<BusinessCountsDetails>;
391
+ setBusinessdetailsList(value: Array<BusinessCountsDetails>): GetUserBusinessSummaryResponse;
392
+ clearBusinessdetailsList(): GetUserBusinessSummaryResponse;
393
+ addBusinessdetails(value?: BusinessCountsDetails, index?: number): BusinessCountsDetails;
394
+
395
+ serializeBinary(): Uint8Array;
396
+ toObject(includeInstance?: boolean): GetUserBusinessSummaryResponse.AsObject;
397
+ static toObject(includeInstance: boolean, msg: GetUserBusinessSummaryResponse): GetUserBusinessSummaryResponse.AsObject;
398
+ static serializeBinaryToWriter(message: GetUserBusinessSummaryResponse, writer: jspb.BinaryWriter): void;
399
+ static deserializeBinary(bytes: Uint8Array): GetUserBusinessSummaryResponse;
400
+ static deserializeBinaryFromReader(message: GetUserBusinessSummaryResponse, reader: jspb.BinaryReader): GetUserBusinessSummaryResponse;
401
+ }
402
+
403
+ export namespace GetUserBusinessSummaryResponse {
404
+ export type AsObject = {
405
+ responsecode?: ResponseCode.AsObject,
406
+ businessdetailsList: Array<BusinessCountsDetails.AsObject>,
407
+ }
408
+ }
409
+
410
+ export class BusinessCountsDetails extends jspb.Message {
411
+ getBusinessId(): number;
412
+ setBusinessId(value: number): BusinessCountsDetails;
413
+
414
+ getName(): string;
415
+ setName(value: string): BusinessCountsDetails;
416
+
417
+ getStatus(): string;
418
+ setStatus(value: string): BusinessCountsDetails;
419
+
420
+ getTotalemployees(): number;
421
+ setTotalemployees(value: number): BusinessCountsDetails;
422
+
423
+ getTotalunpaidbatches(): number;
424
+ setTotalunpaidbatches(value: number): BusinessCountsDetails;
425
+
426
+ getTotalpaidbatches(): number;
427
+ setTotalpaidbatches(value: number): BusinessCountsDetails;
428
+
429
+ serializeBinary(): Uint8Array;
430
+ toObject(includeInstance?: boolean): BusinessCountsDetails.AsObject;
431
+ static toObject(includeInstance: boolean, msg: BusinessCountsDetails): BusinessCountsDetails.AsObject;
432
+ static serializeBinaryToWriter(message: BusinessCountsDetails, writer: jspb.BinaryWriter): void;
433
+ static deserializeBinary(bytes: Uint8Array): BusinessCountsDetails;
434
+ static deserializeBinaryFromReader(message: BusinessCountsDetails, reader: jspb.BinaryReader): BusinessCountsDetails;
435
+ }
436
+
437
+ export namespace BusinessCountsDetails {
438
+ export type AsObject = {
439
+ businessId: number,
440
+ name: string,
441
+ status: string,
442
+ totalemployees: number,
443
+ totalunpaidbatches: number,
444
+ totalpaidbatches: number,
445
+ }
446
+ }
447
+
366
448
  export class GetBatchDetailsResponse extends jspb.Message {
367
449
  getResponseCode(): ResponseCode | undefined;
368
450
  setResponseCode(value?: ResponseCode): GetBatchDetailsResponse;
@@ -1315,11 +1397,13 @@ export class CreateEmployeeRequest extends jspb.Message {
1315
1397
  getTaxFileNumber(): string;
1316
1398
  setTaxFileNumber(value: string): CreateEmployeeRequest;
1317
1399
 
1318
- getBsb(): string;
1319
- setBsb(value: string): CreateEmployeeRequest;
1400
+ getBankaccountsList(): Array<EmployeeBankAccountInfoRequest>;
1401
+ setBankaccountsList(value: Array<EmployeeBankAccountInfoRequest>): CreateEmployeeRequest;
1402
+ clearBankaccountsList(): CreateEmployeeRequest;
1403
+ addBankaccounts(value?: EmployeeBankAccountInfoRequest, index?: number): EmployeeBankAccountInfoRequest;
1320
1404
 
1321
- getAccountNumber(): string;
1322
- setAccountNumber(value: string): CreateEmployeeRequest;
1405
+ getRecordId(): number;
1406
+ setRecordId(value: number): CreateEmployeeRequest;
1323
1407
 
1324
1408
  getClientUserId(): number;
1325
1409
  setClientUserId(value: number): CreateEmployeeRequest;
@@ -1339,9 +1423,77 @@ export namespace CreateEmployeeRequest {
1339
1423
  firstName: string,
1340
1424
  lastName: string,
1341
1425
  taxFileNumber: string,
1426
+ bankaccountsList: Array<EmployeeBankAccountInfoRequest.AsObject>,
1427
+ recordId: number,
1428
+ clientUserId: number,
1429
+ }
1430
+ }
1431
+
1432
+ export class EmployeeBankAccountInfoRequest extends jspb.Message {
1433
+ getId(): number;
1434
+ setId(value: number): EmployeeBankAccountInfoRequest;
1435
+
1436
+ getBsb(): string;
1437
+ setBsb(value: string): EmployeeBankAccountInfoRequest;
1438
+
1439
+ getAccountNumber(): string;
1440
+ setAccountNumber(value: string): EmployeeBankAccountInfoRequest;
1441
+
1442
+ getAccountName(): string;
1443
+ setAccountName(value: string): EmployeeBankAccountInfoRequest;
1444
+
1445
+ getVerifiedmanually(): boolean;
1446
+ setVerifiedmanually(value: boolean): EmployeeBankAccountInfoRequest;
1447
+
1448
+ serializeBinary(): Uint8Array;
1449
+ toObject(includeInstance?: boolean): EmployeeBankAccountInfoRequest.AsObject;
1450
+ static toObject(includeInstance: boolean, msg: EmployeeBankAccountInfoRequest): EmployeeBankAccountInfoRequest.AsObject;
1451
+ static serializeBinaryToWriter(message: EmployeeBankAccountInfoRequest, writer: jspb.BinaryWriter): void;
1452
+ static deserializeBinary(bytes: Uint8Array): EmployeeBankAccountInfoRequest;
1453
+ static deserializeBinaryFromReader(message: EmployeeBankAccountInfoRequest, reader: jspb.BinaryReader): EmployeeBankAccountInfoRequest;
1454
+ }
1455
+
1456
+ export namespace EmployeeBankAccountInfoRequest {
1457
+ export type AsObject = {
1458
+ id: number,
1342
1459
  bsb: string,
1343
1460
  accountNumber: string,
1344
- clientUserId: number,
1461
+ accountName: string,
1462
+ verifiedmanually: boolean,
1463
+ }
1464
+ }
1465
+
1466
+ export class EmployeeBankAccountInfo extends jspb.Message {
1467
+ getId(): number;
1468
+ setId(value: number): EmployeeBankAccountInfo;
1469
+
1470
+ getBsb(): string;
1471
+ setBsb(value: string): EmployeeBankAccountInfo;
1472
+
1473
+ getAccountNumber(): string;
1474
+ setAccountNumber(value: string): EmployeeBankAccountInfo;
1475
+
1476
+ getAccountName(): string;
1477
+ setAccountName(value: string): EmployeeBankAccountInfo;
1478
+
1479
+ getVerificationstatus(): string;
1480
+ setVerificationstatus(value: string): EmployeeBankAccountInfo;
1481
+
1482
+ serializeBinary(): Uint8Array;
1483
+ toObject(includeInstance?: boolean): EmployeeBankAccountInfo.AsObject;
1484
+ static toObject(includeInstance: boolean, msg: EmployeeBankAccountInfo): EmployeeBankAccountInfo.AsObject;
1485
+ static serializeBinaryToWriter(message: EmployeeBankAccountInfo, writer: jspb.BinaryWriter): void;
1486
+ static deserializeBinary(bytes: Uint8Array): EmployeeBankAccountInfo;
1487
+ static deserializeBinaryFromReader(message: EmployeeBankAccountInfo, reader: jspb.BinaryReader): EmployeeBankAccountInfo;
1488
+ }
1489
+
1490
+ export namespace EmployeeBankAccountInfo {
1491
+ export type AsObject = {
1492
+ id: number,
1493
+ bsb: string,
1494
+ accountNumber: string,
1495
+ accountName: string,
1496
+ verificationstatus: string,
1345
1497
  }
1346
1498
  }
1347
1499
 
@@ -1464,11 +1616,10 @@ export class EmployeeSummary extends jspb.Message {
1464
1616
  getTaxFileNumber(): string;
1465
1617
  setTaxFileNumber(value: string): EmployeeSummary;
1466
1618
 
1467
- getBsb(): string;
1468
- setBsb(value: string): EmployeeSummary;
1469
-
1470
- getAccountNumber(): string;
1471
- setAccountNumber(value: string): EmployeeSummary;
1619
+ getBankAccountsList(): Array<EmployeeBankAccountInfo>;
1620
+ setBankAccountsList(value: Array<EmployeeBankAccountInfo>): EmployeeSummary;
1621
+ clearBankAccountsList(): EmployeeSummary;
1622
+ addBankAccounts(value?: EmployeeBankAccountInfo, index?: number): EmployeeBankAccountInfo;
1472
1623
 
1473
1624
  getCreatedAt(): string;
1474
1625
  setCreatedAt(value: string): EmployeeSummary;
@@ -1492,8 +1643,7 @@ export namespace EmployeeSummary {
1492
1643
  firstName: string,
1493
1644
  lastName: string,
1494
1645
  taxFileNumber: string,
1495
- bsb: string,
1496
- accountNumber: string,
1646
+ bankAccountsList: Array<EmployeeBankAccountInfo.AsObject>,
1497
1647
  createdAt: string,
1498
1648
  updatedAt: string,
1499
1649
  }
@@ -1566,11 +1716,10 @@ export class EmployeeDetails extends jspb.Message {
1566
1716
  getTaxFileNumber(): string;
1567
1717
  setTaxFileNumber(value: string): EmployeeDetails;
1568
1718
 
1569
- getBsb(): string;
1570
- setBsb(value: string): EmployeeDetails;
1571
-
1572
- getAccountNumber(): string;
1573
- setAccountNumber(value: string): EmployeeDetails;
1719
+ getBankAccountsList(): Array<EmployeeBankAccountInfo>;
1720
+ setBankAccountsList(value: Array<EmployeeBankAccountInfo>): EmployeeDetails;
1721
+ clearBankAccountsList(): EmployeeDetails;
1722
+ addBankAccounts(value?: EmployeeBankAccountInfo, index?: number): EmployeeBankAccountInfo;
1574
1723
 
1575
1724
  getCreatedAt(): string;
1576
1725
  setCreatedAt(value: string): EmployeeDetails;
@@ -1594,8 +1743,7 @@ export namespace EmployeeDetails {
1594
1743
  firstName: string,
1595
1744
  lastName: string,
1596
1745
  taxFileNumber: string,
1597
- bsb: string,
1598
- accountNumber: string,
1746
+ bankAccountsList: Array<EmployeeBankAccountInfo.AsObject>,
1599
1747
  createdAt: string,
1600
1748
  updatedAt: string,
1601
1749
  }
@@ -1617,11 +1765,10 @@ export class UpdateEmployeeRequest extends jspb.Message {
1617
1765
  getTaxFileNumber(): string;
1618
1766
  setTaxFileNumber(value: string): UpdateEmployeeRequest;
1619
1767
 
1620
- getBsb(): string;
1621
- setBsb(value: string): UpdateEmployeeRequest;
1622
-
1623
- getAccountNumber(): string;
1624
- setAccountNumber(value: string): UpdateEmployeeRequest;
1768
+ getBankAccountsList(): Array<EmployeeBankAccountInfo>;
1769
+ setBankAccountsList(value: Array<EmployeeBankAccountInfo>): UpdateEmployeeRequest;
1770
+ clearBankAccountsList(): UpdateEmployeeRequest;
1771
+ addBankAccounts(value?: EmployeeBankAccountInfo, index?: number): EmployeeBankAccountInfo;
1625
1772
 
1626
1773
  getClientUserId(): number;
1627
1774
  setClientUserId(value: number): UpdateEmployeeRequest;
@@ -1641,8 +1788,7 @@ export namespace UpdateEmployeeRequest {
1641
1788
  firstName: string,
1642
1789
  lastName: string,
1643
1790
  taxFileNumber: string,
1644
- bsb: string,
1645
- accountNumber: string,
1791
+ bankAccountsList: Array<EmployeeBankAccountInfo.AsObject>,
1646
1792
  clientUserId: number,
1647
1793
  }
1648
1794
  }