@thera-hr/api-sdk 0.0.1-prerelease2634-staging → 0.0.1-prerelease2646-dev-anthony
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 +31 -31
- 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.d.ts +1 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +8 -9
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +1 -3
- 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/misc/resources/misc/client/Client.js +5 -5
- 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.js +9 -9
- 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/api/resources/db/resources/company/types/EnabledApps.d.ts +1 -2
- package/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +1 -2
- package/api/resources/db/resources/user/types/MfaType.d.ts +1 -3
- package/api/resources/db/resources/user/types/MfaType.js +0 -2
- package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +1 -0
- 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 +31 -31
- 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.d.ts +1 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +8 -9
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +1 -3
- 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/misc/resources/misc/client/Client.js +5 -5
- 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.js +9 -9
- 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/api/resources/db/resources/company/types/EnabledApps.d.ts +1 -2
- package/dist/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +1 -2
- package/dist/api/resources/db/resources/user/types/MfaType.d.ts +1 -3
- package/dist/api/resources/db/resources/user/types/MfaType.js +0 -2
- package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/EnabledApps.d.ts +1 -2
- package/dist/serialization/resources/db/resources/company/types/EnabledApps.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +1 -2
- package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +1 -2
- package/dist/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/MfaType.js +1 -1
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +1 -0
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +1 -2
- package/serialization/resources/db/resources/company/types/EnabledApps.d.ts +1 -2
- package/serialization/resources/db/resources/company/types/EnabledApps.js +1 -2
- package/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +1 -2
- package/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +1 -2
- package/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/MfaType.js +1 -1
- package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +1 -0
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +1 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as TheraApi from "../../../../../index";
|
|
5
5
|
export interface UserCompanySettings {
|
|
6
|
+
v2AccountIdsByCurrency: Record<string, string>;
|
|
6
7
|
accountIdsByCurrency: Record<string, string>;
|
|
7
8
|
autoWithdrawalsOn: boolean;
|
|
8
9
|
documents?: TheraApi.db.UserCompanyDocuments;
|
|
@@ -7,8 +7,7 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const EditInvoiceRequest: core.serialization.ObjectSchema<serializers.api.thera.disbursement.EditInvoiceRequest.Raw, TheraApi.api.thera.disbursement.EditInvoiceRequest>;
|
|
8
8
|
export declare namespace EditInvoiceRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
amount
|
|
10
|
+
amount: number;
|
|
11
11
|
workUnitTotal?: number | null;
|
|
12
|
-
date?: string | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -29,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.EditInvoiceRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.EditInvoiceRequest = core.serialization.object({
|
|
32
|
-
amount: core.serialization.number()
|
|
32
|
+
amount: core.serialization.number(),
|
|
33
33
|
workUnitTotal: core.serialization.number().optional(),
|
|
34
|
-
date: core.serialization.string().optional(),
|
|
35
34
|
});
|
|
@@ -30,7 +30,6 @@ exports.EnabledApps = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.EnabledApps = core.serialization.object({
|
|
32
32
|
payroll: core.serialization.boolean(),
|
|
33
|
-
|
|
34
|
-
ar: core.serialization.boolean(),
|
|
33
|
+
apAndAr: core.serialization.boolean(),
|
|
35
34
|
banking: core.serialization.boolean(),
|
|
36
35
|
});
|
|
@@ -7,7 +7,6 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const RequestedToEnableApps: core.serialization.ObjectSchema<serializers.db.RequestedToEnableApps.Raw, TheraApi.db.RequestedToEnableApps>;
|
|
8
8
|
export declare namespace RequestedToEnableApps {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
11
|
-
ar: boolean;
|
|
10
|
+
apAndAr: boolean;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -29,6 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.RequestedToEnableApps = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.RequestedToEnableApps = core.serialization.object({
|
|
32
|
-
|
|
33
|
-
ar: core.serialization.boolean(),
|
|
32
|
+
apAndAr: core.serialization.boolean(),
|
|
34
33
|
});
|
|
@@ -6,5 +6,5 @@ import * as TheraApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const MfaType: core.serialization.Schema<serializers.db.MfaType.Raw, TheraApi.db.MfaType>;
|
|
8
8
|
export declare namespace MfaType {
|
|
9
|
-
type Raw = "EMAIL" | "TOTP"
|
|
9
|
+
type Raw = "EMAIL" | "TOTP";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MfaType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP"
|
|
31
|
+
exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP"]);
|
|
@@ -10,6 +10,7 @@ import { TimeOffHistory } from "./TimeOffHistory";
|
|
|
10
10
|
export declare const UserCompanySettings: core.serialization.ObjectSchema<serializers.db.UserCompanySettings.Raw, TheraApi.db.UserCompanySettings>;
|
|
11
11
|
export declare namespace UserCompanySettings {
|
|
12
12
|
interface Raw {
|
|
13
|
+
v2AccountIdsByCurrency: Record<string, string>;
|
|
13
14
|
accountIdsByCurrency: Record<string, string>;
|
|
14
15
|
autoWithdrawalsOn: boolean;
|
|
15
16
|
documents?: UserCompanyDocuments.Raw | null;
|
|
@@ -32,6 +32,7 @@ const UserCompanyDocuments_1 = require("./UserCompanyDocuments");
|
|
|
32
32
|
const WorkerTaxData_1 = require("./WorkerTaxData");
|
|
33
33
|
const TimeOffHistory_1 = require("./TimeOffHistory");
|
|
34
34
|
exports.UserCompanySettings = core.serialization.object({
|
|
35
|
+
v2AccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
35
36
|
accountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
37
|
autoWithdrawalsOn: core.serialization.boolean(),
|
|
37
38
|
documents: UserCompanyDocuments_1.UserCompanyDocuments.optional(),
|
package/package.json
CHANGED
|
@@ -7,8 +7,7 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const EditInvoiceRequest: core.serialization.ObjectSchema<serializers.api.thera.disbursement.EditInvoiceRequest.Raw, TheraApi.api.thera.disbursement.EditInvoiceRequest>;
|
|
8
8
|
export declare namespace EditInvoiceRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
amount
|
|
10
|
+
amount: number;
|
|
11
11
|
workUnitTotal?: number | null;
|
|
12
|
-
date?: string | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -29,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.EditInvoiceRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.EditInvoiceRequest = core.serialization.object({
|
|
32
|
-
amount: core.serialization.number()
|
|
32
|
+
amount: core.serialization.number(),
|
|
33
33
|
workUnitTotal: core.serialization.number().optional(),
|
|
34
|
-
date: core.serialization.string().optional(),
|
|
35
34
|
});
|
|
@@ -30,7 +30,6 @@ exports.EnabledApps = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.EnabledApps = core.serialization.object({
|
|
32
32
|
payroll: core.serialization.boolean(),
|
|
33
|
-
|
|
34
|
-
ar: core.serialization.boolean(),
|
|
33
|
+
apAndAr: core.serialization.boolean(),
|
|
35
34
|
banking: core.serialization.boolean(),
|
|
36
35
|
});
|
|
@@ -7,7 +7,6 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const RequestedToEnableApps: core.serialization.ObjectSchema<serializers.db.RequestedToEnableApps.Raw, TheraApi.db.RequestedToEnableApps>;
|
|
8
8
|
export declare namespace RequestedToEnableApps {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
11
|
-
ar: boolean;
|
|
10
|
+
apAndAr: boolean;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -29,6 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.RequestedToEnableApps = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.RequestedToEnableApps = core.serialization.object({
|
|
32
|
-
|
|
33
|
-
ar: core.serialization.boolean(),
|
|
32
|
+
apAndAr: core.serialization.boolean(),
|
|
34
33
|
});
|
|
@@ -6,5 +6,5 @@ import * as TheraApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const MfaType: core.serialization.Schema<serializers.db.MfaType.Raw, TheraApi.db.MfaType>;
|
|
8
8
|
export declare namespace MfaType {
|
|
9
|
-
type Raw = "EMAIL" | "TOTP"
|
|
9
|
+
type Raw = "EMAIL" | "TOTP";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MfaType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP"
|
|
31
|
+
exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP"]);
|
|
@@ -10,6 +10,7 @@ import { TimeOffHistory } from "./TimeOffHistory";
|
|
|
10
10
|
export declare const UserCompanySettings: core.serialization.ObjectSchema<serializers.db.UserCompanySettings.Raw, TheraApi.db.UserCompanySettings>;
|
|
11
11
|
export declare namespace UserCompanySettings {
|
|
12
12
|
interface Raw {
|
|
13
|
+
v2AccountIdsByCurrency: Record<string, string>;
|
|
13
14
|
accountIdsByCurrency: Record<string, string>;
|
|
14
15
|
autoWithdrawalsOn: boolean;
|
|
15
16
|
documents?: UserCompanyDocuments.Raw | null;
|
|
@@ -32,6 +32,7 @@ const UserCompanyDocuments_1 = require("./UserCompanyDocuments");
|
|
|
32
32
|
const WorkerTaxData_1 = require("./WorkerTaxData");
|
|
33
33
|
const TimeOffHistory_1 = require("./TimeOffHistory");
|
|
34
34
|
exports.UserCompanySettings = core.serialization.object({
|
|
35
|
+
v2AccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
35
36
|
accountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
37
|
autoWithdrawalsOn: core.serialization.boolean(),
|
|
37
38
|
documents: UserCompanyDocuments_1.UserCompanyDocuments.optional(),
|