@thera-hr/api-sdk 0.0.1-prerelease2612-production → 0.0.1-prerelease2614-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 +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.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 +0 -12
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +4 -59
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- 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 +0 -1
- package/api/resources/db/resources/generic/types/GenericType.d.ts +0 -2
- 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.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 +0 -12
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +4 -59
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
- 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 +0 -1
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/Company.js +0 -1
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -2
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +0 -2
- package/package.json +1 -1
- package/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/Company.js +0 -1
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -2
- package/serialization/resources/db/resources/generic/types/GenericType.js +0 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +0 -12
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.js +0 -5
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
|
@@ -71,7 +71,7 @@ class UserApi {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2614-dev-2",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -137,7 +137,7 @@ class UserApi {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2614-dev-2",
|
|
141
141
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
142
142
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
143
143
|
},
|
|
@@ -200,7 +200,7 @@ class UserApi {
|
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
203
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2614-dev-2",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -34,7 +34,6 @@ export interface Company {
|
|
|
34
34
|
settings: TheraApi.db.CompanySettings;
|
|
35
35
|
bankAccount: TheraApi.db.BankAccountResponseMetadata;
|
|
36
36
|
ledgerAccountIdsByCurrency: Record<string, string>;
|
|
37
|
-
v2LedgerAccountIdsByCurrency: Record<string, string>;
|
|
38
37
|
teamsById: Record<string, TheraApi.db.Team>;
|
|
39
38
|
/** URLs for the business website(s). At least one is required for banking companies. */
|
|
40
39
|
urls: string[];
|
|
@@ -5,8 +5,6 @@ import * as TheraApi from "../../../../../index";
|
|
|
5
5
|
export interface GenericType {
|
|
6
6
|
key: TheraApi.db.GenericTypeKey;
|
|
7
7
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
8
|
-
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
9
|
-
theraApAccountIdByCurrency: Record<string, string>;
|
|
10
8
|
/** Experimental, used for letting customers hit specific APIs externally, currently in ExternalController */
|
|
11
9
|
companyIdByApiToken: Record<string, string>;
|
|
12
10
|
}
|
|
@@ -40,7 +40,6 @@ export declare namespace Company {
|
|
|
40
40
|
settings: CompanySettings.Raw;
|
|
41
41
|
bankAccount: BankAccountResponseMetadata.Raw;
|
|
42
42
|
ledgerAccountIdsByCurrency: Record<string, string>;
|
|
43
|
-
v2LedgerAccountIdsByCurrency: Record<string, string>;
|
|
44
43
|
teamsById: Record<string, Team.Raw>;
|
|
45
44
|
urls: string[];
|
|
46
45
|
companyDescription?: string | null;
|
|
@@ -62,7 +62,6 @@ exports.Company = core.serialization.object({
|
|
|
62
62
|
settings: CompanySettings_1.CompanySettings,
|
|
63
63
|
bankAccount: BankAccountResponseMetadata_1.BankAccountResponseMetadata,
|
|
64
64
|
ledgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
65
|
-
v2LedgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
66
65
|
teamsById: core.serialization.record(core.serialization.string(), Team_1.Team),
|
|
67
66
|
urls: core.serialization.list(core.serialization.string()),
|
|
68
67
|
companyDescription: core.serialization.string().optional(),
|
|
@@ -10,8 +10,6 @@ export declare namespace GenericType {
|
|
|
10
10
|
interface Raw {
|
|
11
11
|
key: GenericTypeKey.Raw;
|
|
12
12
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
13
|
-
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
14
|
-
theraApAccountIdByCurrency: Record<string, string>;
|
|
15
13
|
companyIdByApiToken: Record<string, string>;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
@@ -32,7 +32,5 @@ const GenericTypeKey_1 = require("./GenericTypeKey");
|
|
|
32
32
|
exports.GenericType = core.serialization.object({
|
|
33
33
|
key: GenericTypeKey_1.GenericTypeKey,
|
|
34
34
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
35
|
-
stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
|
-
theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
37
35
|
companyIdByApiToken: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
38
36
|
});
|
package/package.json
CHANGED
|
@@ -40,7 +40,6 @@ export declare namespace Company {
|
|
|
40
40
|
settings: CompanySettings.Raw;
|
|
41
41
|
bankAccount: BankAccountResponseMetadata.Raw;
|
|
42
42
|
ledgerAccountIdsByCurrency: Record<string, string>;
|
|
43
|
-
v2LedgerAccountIdsByCurrency: Record<string, string>;
|
|
44
43
|
teamsById: Record<string, Team.Raw>;
|
|
45
44
|
urls: string[];
|
|
46
45
|
companyDescription?: string | null;
|
|
@@ -62,7 +62,6 @@ exports.Company = core.serialization.object({
|
|
|
62
62
|
settings: CompanySettings_1.CompanySettings,
|
|
63
63
|
bankAccount: BankAccountResponseMetadata_1.BankAccountResponseMetadata,
|
|
64
64
|
ledgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
65
|
-
v2LedgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
66
65
|
teamsById: core.serialization.record(core.serialization.string(), Team_1.Team),
|
|
67
66
|
urls: core.serialization.list(core.serialization.string()),
|
|
68
67
|
companyDescription: core.serialization.string().optional(),
|
|
@@ -10,8 +10,6 @@ export declare namespace GenericType {
|
|
|
10
10
|
interface Raw {
|
|
11
11
|
key: GenericTypeKey.Raw;
|
|
12
12
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
13
|
-
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
14
|
-
theraApAccountIdByCurrency: Record<string, string>;
|
|
15
13
|
companyIdByApiToken: Record<string, string>;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
@@ -32,7 +32,5 @@ const GenericTypeKey_1 = require("./GenericTypeKey");
|
|
|
32
32
|
exports.GenericType = core.serialization.object({
|
|
33
33
|
key: GenericTypeKey_1.GenericTypeKey,
|
|
34
34
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
35
|
-
stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
|
-
theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
37
35
|
companyIdByApiToken: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
38
36
|
});
|