@thera-hr/api-sdk 0.0.1-prerelease2917-dev-3 → 0.0.1-prerelease2918-production
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/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js +5 -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/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 +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.d.ts +26 -26
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +36 -36
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +26 -26
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +1 -1
- package/api/resources/db/resources/company/types/CompanyBeneficiary.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/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/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +4 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.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/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 +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.d.ts +26 -26
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +36 -36
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +26 -26
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/CompanyBankingDetails.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js +45 -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/db/resources/company/types/CompanyBankingDetails.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +25 -25
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.d.ts +5 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricPaymentDetail.js +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/W2SubscriptionPayIn.js +45 -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/db/resources/company/types/CompanyBankingDetails.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/CompanyBankingDetails.js +2 -1
- package/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -10537,32 +10537,32 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
|
|
|
10537
10537
|
legalStructure: "ccorp",
|
|
10538
10538
|
naics: "string",
|
|
10539
10539
|
callerUserBeneficiaryInformation: {
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
isControlPerson: true,
|
|
10540
|
+
dateOfBirth: "2023-01-15",
|
|
10541
|
+
emailAddress: "string",
|
|
10542
|
+
firstName: "string",
|
|
10543
|
+
lastName: "string",
|
|
10544
|
+
middleName: {
|
|
10545
|
+
key: "value",
|
|
10546
|
+
},
|
|
10547
|
+
phoneNumber: "string",
|
|
10548
|
+
mailingAddress: {
|
|
10549
|
+
key: "value",
|
|
10550
|
+
},
|
|
10551
|
+
physicalAddress: {
|
|
10552
|
+
city: "string",
|
|
10553
|
+
country: "string",
|
|
10554
|
+
line1: "string",
|
|
10555
|
+
line2: "string",
|
|
10556
|
+
postalCode: "string",
|
|
10557
|
+
state: "string",
|
|
10558
|
+
},
|
|
10559
|
+
tin: "string",
|
|
10560
|
+
ownershipPercentage: 1,
|
|
10561
|
+
title: "string",
|
|
10562
|
+
makeOrgAdmin: {
|
|
10563
|
+
key: "value",
|
|
10565
10564
|
},
|
|
10565
|
+
isControlPerson: true,
|
|
10566
10566
|
},
|
|
10567
10567
|
beneficiaries: [
|
|
10568
10568
|
{
|
|
@@ -6,13 +6,17 @@ import * as TheraApi from "../../../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
7
|
import { InvoicePayment } from "./InvoicePayment";
|
|
8
8
|
import { EorPayIn } from "./EorPayIn";
|
|
9
|
+
import { W2SubscriptionPayIn } from "./W2SubscriptionPayIn";
|
|
9
10
|
export declare const HistoricPaymentDetail: core.serialization.Schema<serializers.api.thera.bank.HistoricPaymentDetail.Raw, TheraApi.api.thera.bank.HistoricPaymentDetail>;
|
|
10
11
|
export declare namespace HistoricPaymentDetail {
|
|
11
|
-
type Raw = HistoricPaymentDetail.InvoicePayment | HistoricPaymentDetail.EorPayIn;
|
|
12
|
+
type Raw = HistoricPaymentDetail.InvoicePayment | HistoricPaymentDetail.EorPayIn | HistoricPaymentDetail.W2SubscriptionFee;
|
|
12
13
|
interface InvoicePayment extends InvoicePayment.Raw {
|
|
13
14
|
type: "invoicePayment";
|
|
14
15
|
}
|
|
15
16
|
interface EorPayIn extends EorPayIn.Raw {
|
|
16
17
|
type: "eorPayIn";
|
|
17
18
|
}
|
|
19
|
+
interface W2SubscriptionFee extends W2SubscriptionPayIn.Raw {
|
|
20
|
+
type: "w2SubscriptionFee";
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -40,10 +40,12 @@ exports.HistoricPaymentDetail = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
41
|
const InvoicePayment_1 = require("./InvoicePayment");
|
|
42
42
|
const EorPayIn_1 = require("./EorPayIn");
|
|
43
|
+
const W2SubscriptionPayIn_1 = require("./W2SubscriptionPayIn");
|
|
43
44
|
exports.HistoricPaymentDetail = core.serialization
|
|
44
45
|
.union("type", {
|
|
45
46
|
invoicePayment: InvoicePayment_1.InvoicePayment,
|
|
46
47
|
eorPayIn: EorPayIn_1.EorPayIn,
|
|
48
|
+
w2SubscriptionFee: W2SubscriptionPayIn_1.W2SubscriptionPayIn,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
transform: (value) => value,
|
|
@@ -0,0 +1,14 @@
|
|
|
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 W2SubscriptionPayIn: core.serialization.ObjectSchema<serializers.api.thera.bank.W2SubscriptionPayIn.Raw, TheraApi.api.thera.bank.W2SubscriptionPayIn>;
|
|
8
|
+
export declare namespace W2SubscriptionPayIn {
|
|
9
|
+
interface Raw {
|
|
10
|
+
companySubscriptionMonthlyFeeAmount: number;
|
|
11
|
+
companySubscriptionPerEmployeeMonthlyFeeAmount: number;
|
|
12
|
+
numberOfEmployeeCharged: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.W2SubscriptionPayIn = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.W2SubscriptionPayIn = core.serialization.object({
|
|
42
|
+
companySubscriptionMonthlyFeeAmount: core.serialization.number(),
|
|
43
|
+
companySubscriptionPerEmployeeMonthlyFeeAmount: core.serialization.number(),
|
|
44
|
+
numberOfEmployeeCharged: core.serialization.number(),
|
|
45
|
+
});
|
|
@@ -43,6 +43,7 @@ export * from "./GetPayInHistoryResponse";
|
|
|
43
43
|
export * from "./HistoricalPayIn";
|
|
44
44
|
export * from "./HistoricPayment";
|
|
45
45
|
export * from "./HistoricPaymentDetail";
|
|
46
|
+
export * from "./W2SubscriptionPayIn";
|
|
46
47
|
export * from "./EorPayIn";
|
|
47
48
|
export * from "./InvoicePayment";
|
|
48
49
|
export * from "./GetPayInDetailsResponse";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -59,6 +59,7 @@ __exportStar(require("./GetPayInHistoryResponse"), exports);
|
|
|
59
59
|
__exportStar(require("./HistoricalPayIn"), exports);
|
|
60
60
|
__exportStar(require("./HistoricPayment"), exports);
|
|
61
61
|
__exportStar(require("./HistoricPaymentDetail"), exports);
|
|
62
|
+
__exportStar(require("./W2SubscriptionPayIn"), exports);
|
|
62
63
|
__exportStar(require("./EorPayIn"), exports);
|
|
63
64
|
__exportStar(require("./InvoicePayment"), exports);
|
|
64
65
|
__exportStar(require("./GetPayInDetailsResponse"), exports);
|
|
@@ -5,6 +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 { CompanyLegalStructure } from "./CompanyLegalStructure";
|
|
8
|
+
import { CompanyBeneficiary } from "./CompanyBeneficiary";
|
|
8
9
|
import { AddCompanyBeneficiary } from "./AddCompanyBeneficiary";
|
|
9
10
|
export declare const CompanyBankingDetails: core.serialization.ObjectSchema<serializers.db.CompanyBankingDetails.Raw, TheraApi.db.CompanyBankingDetails>;
|
|
10
11
|
export declare namespace CompanyBankingDetails {
|
|
@@ -13,7 +14,7 @@ export declare namespace CompanyBankingDetails {
|
|
|
13
14
|
incorporationState: string;
|
|
14
15
|
legalStructure: CompanyLegalStructure.Raw;
|
|
15
16
|
naics: string;
|
|
16
|
-
callerUserBeneficiaryInformation:
|
|
17
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary.Raw;
|
|
17
18
|
beneficiaries: AddCompanyBeneficiary.Raw[];
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -39,12 +39,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CompanyBankingDetails = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
41
|
const CompanyLegalStructure_1 = require("./CompanyLegalStructure");
|
|
42
|
+
const CompanyBeneficiary_1 = require("./CompanyBeneficiary");
|
|
42
43
|
const AddCompanyBeneficiary_1 = require("./AddCompanyBeneficiary");
|
|
43
44
|
exports.CompanyBankingDetails = core.serialization.object({
|
|
44
45
|
establishedOn: core.serialization.string(),
|
|
45
46
|
incorporationState: core.serialization.string(),
|
|
46
47
|
legalStructure: CompanyLegalStructure_1.CompanyLegalStructure,
|
|
47
48
|
naics: core.serialization.string(),
|
|
48
|
-
callerUserBeneficiaryInformation:
|
|
49
|
+
callerUserBeneficiaryInformation: CompanyBeneficiary_1.CompanyBeneficiary,
|
|
49
50
|
beneficiaries: core.serialization.list(AddCompanyBeneficiary_1.AddCompanyBeneficiary),
|
|
50
51
|
});
|
|
@@ -51,5 +51,6 @@ exports.CompanyBeneficiary = core.serialization.object({
|
|
|
51
51
|
tin: core.serialization.string(),
|
|
52
52
|
ownershipPercentage: core.serialization.number(),
|
|
53
53
|
title: core.serialization.string(),
|
|
54
|
+
makeOrgAdmin: core.serialization.boolean().optional(),
|
|
54
55
|
isControlPerson: core.serialization.boolean(),
|
|
55
56
|
});
|
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-prerelease2918-production";
|
package/version.js
CHANGED