@thera-hr/api-sdk 0.0.1-prerelease2619-dev-2 → 0.0.1-prerelease2619-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/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 +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +59 -4
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.js +5 -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/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 -0
- package/api/resources/db/resources/generic/types/GenericType.d.ts +2 -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.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 +59 -4
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.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/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 -0
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +2 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/db/resources/company/types/Company.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/Company.js +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +2 -0
- package/serialization/resources/db/resources/generic/types/GenericType.js +2 -0
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-prerelease2619-
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2619-production",
|
|
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-prerelease2619-
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2619-production",
|
|
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-prerelease2619-
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2619-production",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -34,6 +34,7 @@ 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>;
|
|
37
38
|
teamsById: Record<string, TheraApi.db.Team>;
|
|
38
39
|
/** URLs for the business website(s). At least one is required for banking companies. */
|
|
39
40
|
urls: string[];
|
|
@@ -5,6 +5,8 @@ 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>;
|
|
8
10
|
/** Experimental, used for letting customers hit specific APIs externally, currently in ExternalController */
|
|
9
11
|
companyIdByApiToken: Record<string, string>;
|
|
10
12
|
}
|
|
@@ -40,6 +40,7 @@ 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>;
|
|
43
44
|
teamsById: Record<string, Team.Raw>;
|
|
44
45
|
urls: string[];
|
|
45
46
|
companyDescription?: string | null;
|
|
@@ -62,6 +62,7 @@ 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()),
|
|
65
66
|
teamsById: core.serialization.record(core.serialization.string(), Team_1.Team),
|
|
66
67
|
urls: core.serialization.list(core.serialization.string()),
|
|
67
68
|
companyDescription: core.serialization.string().optional(),
|
|
@@ -10,6 +10,8 @@ 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>;
|
|
13
15
|
companyIdByApiToken: Record<string, string>;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -32,5 +32,7 @@ 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()),
|
|
35
37
|
companyIdByApiToken: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
38
|
});
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ 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>;
|
|
43
44
|
teamsById: Record<string, Team.Raw>;
|
|
44
45
|
urls: string[];
|
|
45
46
|
companyDescription?: string | null;
|
|
@@ -62,6 +62,7 @@ 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()),
|
|
65
66
|
teamsById: core.serialization.record(core.serialization.string(), Team_1.Team),
|
|
66
67
|
urls: core.serialization.list(core.serialization.string()),
|
|
67
68
|
companyDescription: core.serialization.string().optional(),
|
|
@@ -10,6 +10,8 @@ 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>;
|
|
13
15
|
companyIdByApiToken: Record<string, string>;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -32,5 +32,7 @@ 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()),
|
|
35
37
|
companyIdByApiToken: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
36
38
|
});
|