@thera-hr/api-sdk 0.0.1-prerelease2612-production → 0.0.1-prerelease2613-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.
Files changed (61) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
  6. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  7. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  8. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  9. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  10. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  11. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  12. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  13. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  14. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -12
  15. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +4 -59
  16. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  17. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  18. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  20. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  21. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  22. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  23. package/api/resources/db/resources/company/types/Company.d.ts +0 -1
  24. package/api/resources/db/resources/generic/types/GenericType.d.ts +0 -2
  25. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  26. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  27. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  28. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  29. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
  30. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  31. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  32. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  33. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  34. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  35. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  36. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  37. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  38. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -12
  39. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +4 -59
  40. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  41. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  42. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  43. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  44. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  45. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  46. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  47. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  48. package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +0 -2
  49. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
  50. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -1
  51. package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -2
  52. package/dist/serialization/resources/db/resources/generic/types/GenericType.js +0 -2
  53. package/package.json +1 -1
  54. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
  55. package/serialization/resources/db/resources/company/types/Company.js +0 -1
  56. package/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -2
  57. package/serialization/resources/db/resources/generic/types/GenericType.js +0 -2
  58. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +0 -12
  59. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.js +0 -5
  60. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.d.ts +0 -12
  61. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/ProcessAchTpInvoicesCronRequest.js +0 -5
@@ -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-prerelease2612-production",
74
+ "X-Fern-SDK-Version": "0.0.1-prerelease2613-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-prerelease2612-production",
140
+ "X-Fern-SDK-Version": "0.0.1-prerelease2613-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-prerelease2612-production",
203
+ "X-Fern-SDK-Version": "0.0.1-prerelease2613-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2612-production",
3
+ "version": "0.0.1-prerelease2613-dev-2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -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
  });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * theraWebhookSignatureHeader: "string"
8
- * }
9
- */
10
- export interface ProcessAchTpInvoicesCronRequest {
11
- theraWebhookSignatureHeader: string;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * theraWebhookSignatureHeader: "string"
8
- * }
9
- */
10
- export interface ProcessAchTpInvoicesCronRequest {
11
- theraWebhookSignatureHeader: string;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });