@thera-hr/api-sdk 0.0.1-prerelease2734-dev-anthony → 0.0.1-prerelease2734-dev-3
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.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -32
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
- 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/misc/resources/misc/client/Client.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -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/DailyCronResponse.d.ts +1 -2
- 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/Company.d.ts +1 -1
- package/api/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +1 -1
- package/api/resources/db/resources/company/types/Team.d.ts +2 -0
- package/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/api/resources/db/resources/company/types/index.js +1 -1
- package/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/api/resources/db/resources/user/types/index.js +1 -1
- 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.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +91 -32
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- 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/companyApi/types/Manager.d.ts +1 -1
- 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/misc/resources/misc/client/Client.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +66 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.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/DailyCronResponse.d.ts +1 -2
- 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/Company.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/company/types/MercoaCompanyDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/Team.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/index.js +1 -1
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.d.ts +20 -1
- package/dist/api/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/dist/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.js → MercoaCompanyDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/company/types/Team.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/Team.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.js +2 -2
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js +33 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/DailyCronResponse.js +1 -2
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.d.ts → MercoaCompanyDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/company/types/{MoniteCompanyDetails.js → MercoaCompanyDetails.js} +2 -2
- package/serialization/resources/db/resources/company/types/Team.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/Team.js +1 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/index.js +1 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/ComplianceDocumentType.js +19 -0
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/serialization/resources/db/resources/user/types/User.js +2 -2
- package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/index.js +1 -1
- /package/api/resources/{db/resources/company/types/MoniteCompanyDetails.js → api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoApproveInvoiceForTeamsRequest.js} +0 -0
- /package/api/resources/{db/resources/user/types/MoniteUserDetails.js → api/resources/thera/resources/misc/resources/misc/client/requests/AutoWithdrawalCronRequest.js} +0 -0
- /package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.js → api/resources/db/resources/company/types/MercoaCompanyDetails.js} +0 -0
- /package/{dist/api/resources/db/resources/user/types/MoniteUserDetails.js → api/resources/db/resources/user/types/MercoaUserDetails.js} +0 -0
|
@@ -32,7 +32,7 @@ export * from "./UserCompanyDocuments";
|
|
|
32
32
|
export * from "./UsIrs1099NecDocumentIds";
|
|
33
33
|
export * from "./UserApiResponse";
|
|
34
34
|
export * from "./EmployeeInformationResponse";
|
|
35
|
-
export * from "./
|
|
35
|
+
export * from "./MercoaUserDetails";
|
|
36
36
|
export * from "./MfaType";
|
|
37
37
|
export * from "./MfaUserDetails";
|
|
38
38
|
export * from "./NotificationAlerts";
|
|
@@ -48,7 +48,7 @@ __exportStar(require("./UserCompanyDocuments"), exports);
|
|
|
48
48
|
__exportStar(require("./UsIrs1099NecDocumentIds"), exports);
|
|
49
49
|
__exportStar(require("./UserApiResponse"), exports);
|
|
50
50
|
__exportStar(require("./EmployeeInformationResponse"), exports);
|
|
51
|
-
__exportStar(require("./
|
|
51
|
+
__exportStar(require("./MercoaUserDetails"), exports);
|
|
52
52
|
__exportStar(require("./MfaType"), exports);
|
|
53
53
|
__exportStar(require("./MfaUserDetails"), exports);
|
|
54
54
|
__exportStar(require("./NotificationAlerts"), exports);
|
package/package.json
CHANGED
|
@@ -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 SetBulkAutoApproveInvoiceForTeamsRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.SetBulkAutoApproveInvoiceForTeamsRequest.Raw, TheraApi.api.thera.bank.SetBulkAutoApproveInvoiceForTeamsRequest>;
|
|
8
|
+
export declare namespace SetBulkAutoApproveInvoiceForTeamsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
autoApproveInvoiceRequestByTeamId: Record<string, boolean>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SetBulkAutoApproveInvoiceForTeamsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
exports.SetBulkAutoApproveInvoiceForTeamsRequest = core.serialization.object({
|
|
32
|
+
autoApproveInvoiceRequestByTeamId: core.serialization.record(core.serialization.string(), core.serialization.boolean()),
|
|
33
|
+
});
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -81,3 +81,4 @@ __exportStar(require("./GetWorkerWithdrawalDeliveryEstimate"), exports);
|
|
|
81
81
|
__exportStar(require("./GetBankAccountDetailsResponse"), exports);
|
|
82
82
|
__exportStar(require("./SetAutoWithdrawalResponse"), exports);
|
|
83
83
|
__exportStar(require("./WorkerTransactionStatus"), exports);
|
|
84
|
+
__exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
|
|
@@ -6,12 +6,12 @@ import * as TheraApi from "../../../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
7
|
import { UserApiResponse } from "../../../../../../../../db/resources/user/types/UserApiResponse";
|
|
8
8
|
import { CompanyPermissions } from "./CompanyPermissions";
|
|
9
|
-
import {
|
|
9
|
+
import { MercoaUserDetails } from "../../../../../../../../db/resources/user/types/MercoaUserDetails";
|
|
10
10
|
export declare const Manager: core.serialization.ObjectSchema<serializers.api.thera.company.Manager.Raw, TheraApi.api.thera.company.Manager>;
|
|
11
11
|
export declare namespace Manager {
|
|
12
12
|
interface Raw {
|
|
13
13
|
user: UserApiResponse.Raw;
|
|
14
14
|
companyPermissions: CompanyPermissions.Raw;
|
|
15
|
-
|
|
15
|
+
mercoaUserDetails?: MercoaUserDetails.Raw | null;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -30,9 +30,9 @@ exports.Manager = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
const UserApiResponse_1 = require("../../../../../../../../db/resources/user/types/UserApiResponse");
|
|
32
32
|
const CompanyPermissions_1 = require("./CompanyPermissions");
|
|
33
|
-
const
|
|
33
|
+
const MercoaUserDetails_1 = require("../../../../../../../../db/resources/user/types/MercoaUserDetails");
|
|
34
34
|
exports.Manager = core.serialization.object({
|
|
35
35
|
user: UserApiResponse_1.UserApiResponse,
|
|
36
36
|
companyPermissions: CompanyPermissions_1.CompanyPermissions,
|
|
37
|
-
|
|
37
|
+
mercoaUserDetails: MercoaUserDetails_1.MercoaUserDetails.optional(),
|
|
38
38
|
});
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
|
-
import { AutoWithdrawalResults } from "./AutoWithdrawalResults";
|
|
8
7
|
export declare const DailyCronResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.DailyCronResponse.Raw, TheraApi.api.thera.misc.DailyCronResponse>;
|
|
9
8
|
export declare namespace DailyCronResponse {
|
|
10
9
|
interface Raw {
|
|
11
|
-
|
|
10
|
+
message: string;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DailyCronResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
-
const AutoWithdrawalResults_1 = require("./AutoWithdrawalResults");
|
|
32
31
|
exports.DailyCronResponse = core.serialization.object({
|
|
33
|
-
|
|
32
|
+
message: core.serialization.string(),
|
|
34
33
|
});
|
|
@@ -13,7 +13,7 @@ import { CompanySettings } from "./CompanySettings";
|
|
|
13
13
|
import { BankAccountResponseMetadata } from "./BankAccountResponseMetadata";
|
|
14
14
|
import { Team } from "./Team";
|
|
15
15
|
import { TpCompanyInformation } from "./TpCompanyInformation";
|
|
16
|
-
import {
|
|
16
|
+
import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
17
17
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
18
18
|
import { CompanyBankingDetails } from "./CompanyBankingDetails";
|
|
19
19
|
export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
|
|
@@ -47,7 +47,7 @@ export declare namespace Company {
|
|
|
47
47
|
tp?: TpCompanyInformation.Raw | null;
|
|
48
48
|
onboarderUserId?: string | null;
|
|
49
49
|
creationTimestamp?: string | null;
|
|
50
|
-
|
|
50
|
+
mercoaCompanyDetails?: MercoaCompanyDetails.Raw | null;
|
|
51
51
|
companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
|
|
52
52
|
companyBankingDetails?: CompanyBankingDetails.Raw | null;
|
|
53
53
|
}
|
|
@@ -37,7 +37,7 @@ const CompanySettings_1 = require("./CompanySettings");
|
|
|
37
37
|
const BankAccountResponseMetadata_1 = require("./BankAccountResponseMetadata");
|
|
38
38
|
const Team_1 = require("./Team");
|
|
39
39
|
const TpCompanyInformation_1 = require("./TpCompanyInformation");
|
|
40
|
-
const
|
|
40
|
+
const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
41
41
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
42
42
|
const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
|
|
43
43
|
exports.Company = core.serialization.object({
|
|
@@ -69,7 +69,7 @@ exports.Company = core.serialization.object({
|
|
|
69
69
|
tp: TpCompanyInformation_1.TpCompanyInformation.optional(),
|
|
70
70
|
onboarderUserId: core.serialization.string().optional(),
|
|
71
71
|
creationTimestamp: core.serialization.date().optional(),
|
|
72
|
-
|
|
72
|
+
mercoaCompanyDetails: MercoaCompanyDetails_1.MercoaCompanyDetails.optional(),
|
|
73
73
|
companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
|
|
74
74
|
companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
|
|
75
75
|
});
|
|
@@ -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 MercoaCompanyDetails: core.serialization.ObjectSchema<serializers.db.MercoaCompanyDetails.Raw, TheraApi.db.MercoaCompanyDetails>;
|
|
8
|
+
export declare namespace MercoaCompanyDetails {
|
|
9
9
|
interface Raw {
|
|
10
10
|
entityId: string;
|
|
11
11
|
}
|
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.MercoaCompanyDetails = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.MercoaCompanyDetails = core.serialization.object({
|
|
32
32
|
entityId: core.serialization.string(),
|
|
33
33
|
});
|
|
@@ -35,4 +35,5 @@ exports.Team = core.serialization.object({
|
|
|
35
35
|
name: core.serialization.string(),
|
|
36
36
|
defaultPayCycles: core.serialization.record(PayCycleType_1.PayCycleType, DefaultPayCycle_1.DefaultPayCycle.optional()),
|
|
37
37
|
autoPay: TeamAutoPay_1.TeamAutoPay.optional(),
|
|
38
|
+
autoApproveInvoice: core.serialization.boolean().optional(),
|
|
38
39
|
});
|
|
@@ -37,7 +37,7 @@ export * from "./W2ImplementationStatus";
|
|
|
37
37
|
export * from "./CompanyPayFrequency";
|
|
38
38
|
export * from "./PayrollRun";
|
|
39
39
|
export * from "./PaymentMethodStatus";
|
|
40
|
-
export * from "./
|
|
40
|
+
export * from "./MercoaCompanyDetails";
|
|
41
41
|
export * from "./AddCompanyBeneficiary";
|
|
42
42
|
export * from "./CompanyBeneficiary";
|
|
43
43
|
export * from "./CompanyBankingDetails";
|
|
@@ -53,7 +53,7 @@ __exportStar(require("./W2ImplementationStatus"), exports);
|
|
|
53
53
|
__exportStar(require("./CompanyPayFrequency"), exports);
|
|
54
54
|
__exportStar(require("./PayrollRun"), exports);
|
|
55
55
|
__exportStar(require("./PaymentMethodStatus"), exports);
|
|
56
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./MercoaCompanyDetails"), exports);
|
|
57
57
|
__exportStar(require("./AddCompanyBeneficiary"), exports);
|
|
58
58
|
__exportStar(require("./CompanyBeneficiary"), exports);
|
|
59
59
|
__exportStar(require("./CompanyBankingDetails"), exports);
|
|
@@ -6,5 +6,5 @@ import * as TheraApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ComplianceDocumentType: core.serialization.Schema<serializers.db.ComplianceDocumentType.Raw, TheraApi.db.ComplianceDocumentType>;
|
|
8
8
|
export declare namespace ComplianceDocumentType {
|
|
9
|
-
type Raw = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE" | "GST_REGISTRATION_NUMBER_OR_TAN" | "TIN" | "ENTITY_PROOF_OF_REGISTRATION";
|
|
9
|
+
type Raw = "PASSPORT" | "ID" | "PASSPORT_OR_ID" | "AADHAR" | "SSN" | "LICENSE" | "GST_REGISTRATION_NUMBER_OR_TAN" | "TIN" | "ENTITY_PROOF_OF_REGISTRATION" | "ANNUAL_RETURNS_PAYMENT" | "REGISTRATION_UNDER_INCOME_TAX_LAWS" | "PIN_CERTIFICATE" | "NHIF_MEMBERSHIP" | "SECTOR_SPECIFIC_LICENSES_OR_PERMITS" | "TAX_ID" | "BANK_ACCOUNT" | "CURRENT_TAX_COMPLIANCE_CERTIFICATE" | "SOCIAL_SECURITY_CONTRIBUTIONS" | "CPF" | "PIS_NISS" | "RNC" | "AUTHORIZED_NCF_NUMBER" | "HST_REGISTRATION" | "ARTICLES_OF_INCORPORATION" | "CERTIFICATE_OF_GOOD_STANDING" | "FEDERAL_TAXPAYER_REGISTRY" | "EMPLOYER_REGISTRATION" | "CTC";
|
|
10
10
|
}
|
|
@@ -38,4 +38,23 @@ exports.ComplianceDocumentType = core.serialization.enum_([
|
|
|
38
38
|
"GST_REGISTRATION_NUMBER_OR_TAN",
|
|
39
39
|
"TIN",
|
|
40
40
|
"ENTITY_PROOF_OF_REGISTRATION",
|
|
41
|
+
"ANNUAL_RETURNS_PAYMENT",
|
|
42
|
+
"REGISTRATION_UNDER_INCOME_TAX_LAWS",
|
|
43
|
+
"PIN_CERTIFICATE",
|
|
44
|
+
"NHIF_MEMBERSHIP",
|
|
45
|
+
"SECTOR_SPECIFIC_LICENSES_OR_PERMITS",
|
|
46
|
+
"TAX_ID",
|
|
47
|
+
"BANK_ACCOUNT",
|
|
48
|
+
"CURRENT_TAX_COMPLIANCE_CERTIFICATE",
|
|
49
|
+
"SOCIAL_SECURITY_CONTRIBUTIONS",
|
|
50
|
+
"CPF",
|
|
51
|
+
"PIS_NISS",
|
|
52
|
+
"RNC",
|
|
53
|
+
"AUTHORIZED_NCF_NUMBER",
|
|
54
|
+
"HST_REGISTRATION",
|
|
55
|
+
"ARTICLES_OF_INCORPORATION",
|
|
56
|
+
"CERTIFICATE_OF_GOOD_STANDING",
|
|
57
|
+
"FEDERAL_TAXPAYER_REGISTRY",
|
|
58
|
+
"EMPLOYER_REGISTRATION",
|
|
59
|
+
"CTC",
|
|
41
60
|
]);
|
|
@@ -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 MercoaUserDetails: core.serialization.ObjectSchema<serializers.db.MercoaUserDetails.Raw, TheraApi.db.MercoaUserDetails>;
|
|
8
|
+
export declare namespace MercoaUserDetails {
|
|
9
9
|
interface Raw {
|
|
10
10
|
entityUserId: string;
|
|
11
11
|
}
|
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.MercoaUserDetails = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.MercoaUserDetails = core.serialization.object({
|
|
32
32
|
entityUserId: core.serialization.string(),
|
|
33
33
|
});
|
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as TheraApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EmployeeInformation } from "./EmployeeInformation";
|
|
8
|
-
import {
|
|
8
|
+
import { MercoaUserDetails } from "./MercoaUserDetails";
|
|
9
9
|
import { MfaUserDetails } from "./MfaUserDetails";
|
|
10
10
|
import { NotificationAlerts } from "./NotificationAlerts";
|
|
11
11
|
export declare const User: core.serialization.ObjectSchema<serializers.db.User.Raw, TheraApi.db.User>;
|
|
@@ -19,7 +19,7 @@ export declare namespace User {
|
|
|
19
19
|
employeeInformation: EmployeeInformation.Raw;
|
|
20
20
|
lastPosthogEventDate: string;
|
|
21
21
|
creationTimestamp?: string | null;
|
|
22
|
-
|
|
22
|
+
mercoaUserDetails?: MercoaUserDetails.Raw | null;
|
|
23
23
|
mfaUserDetails?: MfaUserDetails.Raw | null;
|
|
24
24
|
notificationsByCompanyId: Record<string, NotificationAlerts.Raw>;
|
|
25
25
|
}
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.User = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
const EmployeeInformation_1 = require("./EmployeeInformation");
|
|
32
|
-
const
|
|
32
|
+
const MercoaUserDetails_1 = require("./MercoaUserDetails");
|
|
33
33
|
const MfaUserDetails_1 = require("./MfaUserDetails");
|
|
34
34
|
const NotificationAlerts_1 = require("./NotificationAlerts");
|
|
35
35
|
exports.User = core.serialization.object({
|
|
@@ -41,7 +41,7 @@ exports.User = core.serialization.object({
|
|
|
41
41
|
employeeInformation: EmployeeInformation_1.EmployeeInformation,
|
|
42
42
|
lastPosthogEventDate: core.serialization.string(),
|
|
43
43
|
creationTimestamp: core.serialization.date().optional(),
|
|
44
|
-
|
|
44
|
+
mercoaUserDetails: MercoaUserDetails_1.MercoaUserDetails.optional(),
|
|
45
45
|
mfaUserDetails: MfaUserDetails_1.MfaUserDetails.optional(),
|
|
46
46
|
notificationsByCompanyId: core.serialization.record(core.serialization.string(), NotificationAlerts_1.NotificationAlerts),
|
|
47
47
|
});
|
|
@@ -10,7 +10,6 @@ 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>;
|
|
14
13
|
accountIdsByCurrency: Record<string, string>;
|
|
15
14
|
autoWithdrawalsOn: boolean;
|
|
16
15
|
documents?: UserCompanyDocuments.Raw | null;
|
|
@@ -32,7 +32,6 @@ 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()),
|
|
36
35
|
accountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
37
36
|
autoWithdrawalsOn: core.serialization.boolean(),
|
|
38
37
|
documents: UserCompanyDocuments_1.UserCompanyDocuments.optional(),
|
|
@@ -32,7 +32,7 @@ export * from "./UserCompanyDocuments";
|
|
|
32
32
|
export * from "./UsIrs1099NecDocumentIds";
|
|
33
33
|
export * from "./UserApiResponse";
|
|
34
34
|
export * from "./EmployeeInformationResponse";
|
|
35
|
-
export * from "./
|
|
35
|
+
export * from "./MercoaUserDetails";
|
|
36
36
|
export * from "./MfaType";
|
|
37
37
|
export * from "./MfaUserDetails";
|
|
38
38
|
export * from "./NotificationAlerts";
|
|
@@ -48,7 +48,7 @@ __exportStar(require("./UserCompanyDocuments"), exports);
|
|
|
48
48
|
__exportStar(require("./UsIrs1099NecDocumentIds"), exports);
|
|
49
49
|
__exportStar(require("./UserApiResponse"), exports);
|
|
50
50
|
__exportStar(require("./EmployeeInformationResponse"), exports);
|
|
51
|
-
__exportStar(require("./
|
|
51
|
+
__exportStar(require("./MercoaUserDetails"), exports);
|
|
52
52
|
__exportStar(require("./MfaType"), exports);
|
|
53
53
|
__exportStar(require("./MfaUserDetails"), exports);
|
|
54
54
|
__exportStar(require("./NotificationAlerts"), exports);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|