Package Exports
- paismo-integration-sdk
- paismo-integration-sdk/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (paismo-integration-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This package is created by Paismo HR that allows their clients to upload timesheets (Employees data) to their server.
functions
This package has two functions:
init(client_id, client_secret)
pushData(data)
init(client_id, client_secret)
This functions initializes the package so that the data can be sent to Paismo HR's server. It expects a client_id
and client_secret
.
pushData(data)
This functions sends the given data to Paismo HR's server. It expects the json data in the following format:
[
{
"company_employee_id": "12345",
"start_time": "2023-08-10T09:00:00",
"end_time": "2023-08-10T05:00:00"
},
{
"company_employee_id": "12345",
"start_time": "2023-08-10T09:00:00",
"end_time": "2023-08-10T05:00:00"
},
...
]
If you face any issues or have any queries. You can reach out to us at abdullah@paismo.com :D.