@thera-hr/api-sdk 0.0.1-prerelease2878-dev-3 → 0.0.1-prerelease2878-dev-2
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/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 +23 -23
- 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.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +28 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +91 -6
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.d.ts +31 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +1 -0
- 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 +3 -3
- 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.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- 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/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 +23 -23
- 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.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +28 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +91 -6
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.d.ts +31 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +1 -0
- 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 +3 -3
- 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.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.d.ts +15 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.js +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/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 +86 -4
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
- package/serialization/resources/api/resources/thera/resources/misc/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.d.ts +15 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.js +46 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.js +5 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeWebhookRequest.js} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
|
|
8
|
+
export declare namespace FilloutEorEmployeeWebhookResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.FilloutEorEmployeeWebhookResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./DailyCronResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./AutoWithdrawalResults"), exports);
|
|
19
19
|
__exportStar(require("./TriggeredWithdrawal"), exports);
|
|
20
20
|
__exportStar(require("./ContractRenewalCronResponse"), exports);
|
|
21
|
+
__exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2878-dev-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2878-dev-2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -7600,7 +7600,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7600
7600
|
</dl>
|
|
7601
7601
|
</details>
|
|
7602
7602
|
|
|
7603
|
-
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">
|
|
7603
|
+
<details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByEmail</a>(email) -> TheraApi.GetEorEmployeeByEmailResponse</code></summary>
|
|
7604
7604
|
<dl>
|
|
7605
7605
|
<dd>
|
|
7606
7606
|
|
|
@@ -7612,7 +7612,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
|
|
|
7612
7612
|
<dl>
|
|
7613
7613
|
<dd>
|
|
7614
7614
|
|
|
7615
|
-
Gets EOR employee data from Airtable for a specific employee
|
|
7615
|
+
Gets EOR employee data from Airtable for a specific employee email
|
|
7616
7616
|
|
|
7617
7617
|
</dd>
|
|
7618
7618
|
</dl>
|
|
@@ -7628,7 +7628,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
|
|
|
7628
7628
|
<dd>
|
|
7629
7629
|
|
|
7630
7630
|
```typescript
|
|
7631
|
-
await client.api.thera.eor.eorTrackerApi.
|
|
7631
|
+
await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
|
|
7632
7632
|
```
|
|
7633
7633
|
|
|
7634
7634
|
</dd>
|
|
@@ -7644,7 +7644,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
|
|
|
7644
7644
|
<dl>
|
|
7645
7645
|
<dd>
|
|
7646
7646
|
|
|
7647
|
-
**
|
|
7647
|
+
**email:** `string`
|
|
7648
7648
|
|
|
7649
7649
|
</dd>
|
|
7650
7650
|
</dl>
|
|
@@ -8055,6 +8055,87 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8055
8055
|
</dl>
|
|
8056
8056
|
</details>
|
|
8057
8057
|
|
|
8058
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
|
|
8059
|
+
<dl>
|
|
8060
|
+
<dd>
|
|
8061
|
+
|
|
8062
|
+
#### 📝 Description
|
|
8063
|
+
|
|
8064
|
+
<dl>
|
|
8065
|
+
<dd>
|
|
8066
|
+
|
|
8067
|
+
<dl>
|
|
8068
|
+
<dd>
|
|
8069
|
+
|
|
8070
|
+
Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
|
|
8071
|
+
|
|
8072
|
+
</dd>
|
|
8073
|
+
</dl>
|
|
8074
|
+
</dd>
|
|
8075
|
+
</dl>
|
|
8076
|
+
|
|
8077
|
+
#### 🔌 Usage
|
|
8078
|
+
|
|
8079
|
+
<dl>
|
|
8080
|
+
<dd>
|
|
8081
|
+
|
|
8082
|
+
<dl>
|
|
8083
|
+
<dd>
|
|
8084
|
+
|
|
8085
|
+
```typescript
|
|
8086
|
+
await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
8087
|
+
theraWebhookSignatureHeader: "string",
|
|
8088
|
+
employment: {
|
|
8089
|
+
companyId: "string",
|
|
8090
|
+
jobTitle: "string",
|
|
8091
|
+
name: "string",
|
|
8092
|
+
startDate: "2023-01-15",
|
|
8093
|
+
rate: 1.1,
|
|
8094
|
+
wageType: "HOURLY",
|
|
8095
|
+
currency: "string",
|
|
8096
|
+
teamId: "string",
|
|
8097
|
+
},
|
|
8098
|
+
user: {
|
|
8099
|
+
firstName: "string",
|
|
8100
|
+
lastName: "string",
|
|
8101
|
+
email: "string",
|
|
8102
|
+
country: "string",
|
|
8103
|
+
},
|
|
8104
|
+
});
|
|
8105
|
+
```
|
|
8106
|
+
|
|
8107
|
+
</dd>
|
|
8108
|
+
</dl>
|
|
8109
|
+
</dd>
|
|
8110
|
+
</dl>
|
|
8111
|
+
|
|
8112
|
+
#### ⚙️ Parameters
|
|
8113
|
+
|
|
8114
|
+
<dl>
|
|
8115
|
+
<dd>
|
|
8116
|
+
|
|
8117
|
+
<dl>
|
|
8118
|
+
<dd>
|
|
8119
|
+
|
|
8120
|
+
**request:** `TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest`
|
|
8121
|
+
|
|
8122
|
+
</dd>
|
|
8123
|
+
</dl>
|
|
8124
|
+
|
|
8125
|
+
<dl>
|
|
8126
|
+
<dd>
|
|
8127
|
+
|
|
8128
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
8129
|
+
|
|
8130
|
+
</dd>
|
|
8131
|
+
</dl>
|
|
8132
|
+
</dd>
|
|
8133
|
+
</dl>
|
|
8134
|
+
|
|
8135
|
+
</dd>
|
|
8136
|
+
</dl>
|
|
8137
|
+
</details>
|
|
8138
|
+
|
|
8058
8139
|
## Offcycle API
|
|
8059
8140
|
|
|
8060
8141
|
<details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
|
|
@@ -9910,6 +9991,7 @@ Get all time tracking entries for a user within a date range
|
|
|
9910
9991
|
await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
|
|
9911
9992
|
startDate: "string",
|
|
9912
9993
|
endDate: "string",
|
|
9994
|
+
timezone: "string",
|
|
9913
9995
|
});
|
|
9914
9996
|
```
|
|
9915
9997
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const GetEorEmployeeByEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByEmailResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByEmailResponse>;
|
|
8
|
+
export declare namespace GetEorEmployeeByEmailResponse {
|
|
9
9
|
interface Raw {
|
|
10
10
|
employee: Record<string, unknown>;
|
|
11
11
|
}
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.GetEorEmployeeByEmailResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.GetEorEmployeeByEmailResponse = core.serialization.object({
|
|
42
42
|
employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
43
43
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./GetEorTrackerResponse";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./GetEorEmployeeByEmailResponse";
|
|
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetEorTrackerResponse"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
|
package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
package/serialization/resources/api/resources/thera/resources/misc/resources/misc/client/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { AddEorEmployment } from "../../../../../../../dev/resources/dev/types/AddEorEmployment";
|
|
8
|
+
import { AddEorUser } from "../../../../../../../dev/resources/dev/types/AddEorUser";
|
|
9
|
+
export declare const FilloutEorEmployeeWebhookRequest: core.serialization.Schema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, Omit<TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest, "theraWebhookSignatureHeader">>;
|
|
10
|
+
export declare namespace FilloutEorEmployeeWebhookRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
employment: AddEorEmployment.Raw;
|
|
13
|
+
user: AddEorUser.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.FilloutEorEmployeeWebhookRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
|
+
const AddEorEmployment_1 = require("../../../../../../../dev/resources/dev/types/AddEorEmployment");
|
|
42
|
+
const AddEorUser_1 = require("../../../../../../../dev/resources/dev/types/AddEorUser");
|
|
43
|
+
exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
|
|
44
|
+
employment: AddEorEmployment_1.AddEorEmployment,
|
|
45
|
+
user: AddEorUser_1.AddEorUser,
|
|
46
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FilloutEorEmployeeWebhookRequest } from "./FilloutEorEmployeeWebhookRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilloutEorEmployeeWebhookRequest = void 0;
|
|
4
|
+
var FilloutEorEmployeeWebhookRequest_1 = require("./FilloutEorEmployeeWebhookRequest");
|
|
5
|
+
Object.defineProperty(exports, "FilloutEorEmployeeWebhookRequest", { enumerable: true, get: function () { return FilloutEorEmployeeWebhookRequest_1.FilloutEorEmployeeWebhookRequest; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
|
|
8
|
+
export declare namespace FilloutEorEmployeeWebhookResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.FilloutEorEmployeeWebhookResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
});
|
package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js
CHANGED
|
@@ -18,3 +18,4 @@ __exportStar(require("./DailyCronResponse"), exports);
|
|
|
18
18
|
__exportStar(require("./AutoWithdrawalResults"), exports);
|
|
19
19
|
__exportStar(require("./TriggeredWithdrawal"), exports);
|
|
20
20
|
__exportStar(require("./ContractRenewalCronResponse"), exports);
|
|
21
|
+
__exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.1-prerelease2878-dev-
|
|
1
|
+
export declare const SDK_VERSION = "0.0.1-prerelease2878-dev-2";
|
package/version.js
CHANGED
|
File without changes
|