@thera-hr/api-sdk 0.0.1-prerelease3039-dev-4 → 0.0.1-prerelease3040-dev-4
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/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +59 -6
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +59 -6
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +1 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +71 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -9133,6 +9133,77 @@ await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("stri
|
|
|
9133
9133
|
</dl>
|
|
9134
9134
|
</details>
|
|
9135
9135
|
|
|
9136
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getSomePaySchedulePaydays</a>(companyId, checkPayScheduleId) -> TheraApi.GetPaySchedulePaydaysResponse[]</code></summary>
|
|
9137
|
+
<dl>
|
|
9138
|
+
<dd>
|
|
9139
|
+
|
|
9140
|
+
#### 📝 Description
|
|
9141
|
+
|
|
9142
|
+
<dl>
|
|
9143
|
+
<dd>
|
|
9144
|
+
|
|
9145
|
+
<dl>
|
|
9146
|
+
<dd>
|
|
9147
|
+
|
|
9148
|
+
Return several upcoming paydays (not all of them!)
|
|
9149
|
+
|
|
9150
|
+
</dd>
|
|
9151
|
+
</dl>
|
|
9152
|
+
</dd>
|
|
9153
|
+
</dl>
|
|
9154
|
+
|
|
9155
|
+
#### 🔌 Usage
|
|
9156
|
+
|
|
9157
|
+
<dl>
|
|
9158
|
+
<dd>
|
|
9159
|
+
|
|
9160
|
+
<dl>
|
|
9161
|
+
<dd>
|
|
9162
|
+
|
|
9163
|
+
```typescript
|
|
9164
|
+
await client.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays("string", "string");
|
|
9165
|
+
```
|
|
9166
|
+
|
|
9167
|
+
</dd>
|
|
9168
|
+
</dl>
|
|
9169
|
+
</dd>
|
|
9170
|
+
</dl>
|
|
9171
|
+
|
|
9172
|
+
#### ⚙️ Parameters
|
|
9173
|
+
|
|
9174
|
+
<dl>
|
|
9175
|
+
<dd>
|
|
9176
|
+
|
|
9177
|
+
<dl>
|
|
9178
|
+
<dd>
|
|
9179
|
+
|
|
9180
|
+
**companyId:** `string`
|
|
9181
|
+
|
|
9182
|
+
</dd>
|
|
9183
|
+
</dl>
|
|
9184
|
+
|
|
9185
|
+
<dl>
|
|
9186
|
+
<dd>
|
|
9187
|
+
|
|
9188
|
+
**checkPayScheduleId:** `string`
|
|
9189
|
+
|
|
9190
|
+
</dd>
|
|
9191
|
+
</dl>
|
|
9192
|
+
|
|
9193
|
+
<dl>
|
|
9194
|
+
<dd>
|
|
9195
|
+
|
|
9196
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
9197
|
+
|
|
9198
|
+
</dd>
|
|
9199
|
+
</dl>
|
|
9200
|
+
</dd>
|
|
9201
|
+
</dl>
|
|
9202
|
+
|
|
9203
|
+
</dd>
|
|
9204
|
+
</dl>
|
|
9205
|
+
</details>
|
|
9206
|
+
|
|
9136
9207
|
## Time Off Management
|
|
9137
9208
|
|
|
9138
9209
|
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { GetPaySchedulePaydaysResponse } from "../types/GetPaySchedulePaydaysResponse";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays.Response.Raw, TheraApi.api.thera.payroll.GetPaySchedulePaydaysResponse[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = GetPaySchedulePaydaysResponse.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const GetPaySchedulePaydaysResponse_1 = require("../types/GetPaySchedulePaydaysResponse");
|
|
42
|
+
exports.Response = core.serialization.list(GetPaySchedulePaydaysResponse_1.GetPaySchedulePaydaysResponse);
|
|
@@ -36,6 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.listW2PaySchedules = void 0;
|
|
39
|
+
exports.getSomePaySchedulePaydays = exports.listW2PaySchedules = void 0;
|
|
40
40
|
exports.listW2PaySchedules = __importStar(require("./listW2PaySchedules"));
|
|
41
|
+
exports.getSomePaySchedulePaydays = __importStar(require("./getSomePaySchedulePaydays"));
|
|
41
42
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const GetPaySchedulePaydaysResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.GetPaySchedulePaydaysResponse.Raw, TheraApi.api.thera.payroll.GetPaySchedulePaydaysResponse>;
|
|
8
|
+
export declare namespace GetPaySchedulePaydaysResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
payday: string;
|
|
11
|
+
periodStart: string;
|
|
12
|
+
periodEnd: string;
|
|
13
|
+
approvalDeadline: string;
|
|
14
|
+
impactedByWeekendOrHoliday: boolean;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetPaySchedulePaydaysResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.GetPaySchedulePaydaysResponse = core.serialization.object({
|
|
42
|
+
payday: core.serialization.string(),
|
|
43
|
+
periodStart: core.serialization.string(),
|
|
44
|
+
periodEnd: core.serialization.string(),
|
|
45
|
+
approvalDeadline: core.serialization.string(),
|
|
46
|
+
impactedByWeekendOrHoliday: core.serialization.boolean(),
|
|
47
|
+
});
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetPaySchedulePaydaysResponse"), exports);
|
|
17
18
|
__exportStar(require("./AssignW2EmployeeToPayScheduleResponse"), exports);
|
|
18
19
|
__exportStar(require("./CheckGetPayScheduleResponse"), exports);
|
|
19
20
|
__exportStar(require("./GetPayScheduleResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease3040-dev-4";
|
package/version.js
CHANGED