@thera-hr/api-sdk 0.0.1-prerelease2735-dev-3 → 0.0.1-prerelease2735-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 (117) 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/client/Client.d.ts +3 -0
  5. package/api/resources/api/resources/thera/client/Client.js +17 -12
  6. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  11. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  12. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  13. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  15. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  16. package/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +22 -0
  17. package/api/resources/api/resources/thera/resources/eor/client/Client.js +17 -0
  18. package/api/resources/api/resources/thera/resources/eor/client/index.d.ts +1 -0
  19. package/api/resources/api/resources/thera/resources/eor/client/index.js +2 -0
  20. package/api/resources/api/resources/thera/resources/eor/index.d.ts +2 -0
  21. package/api/resources/api/resources/thera/resources/eor/index.js +18 -0
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +41 -0
  23. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +174 -0
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +1 -0
  25. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +2 -0
  26. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +2 -0
  27. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +18 -0
  28. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +6 -0
  29. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +5 -0
  30. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +6 -0
  31. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +5 -0
  32. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
  33. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
  34. package/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
  35. package/api/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
  36. package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  37. package/api/resources/api/resources/thera/resources/index.js +2 -1
  38. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  39. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  40. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  41. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  42. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  43. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  44. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  45. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  46. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  47. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  48. package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  49. package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
  50. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  52. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  53. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  55. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  56. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  57. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  58. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  59. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  60. package/dist/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +22 -0
  61. package/dist/api/resources/api/resources/thera/resources/eor/client/Client.js +17 -0
  62. package/dist/api/resources/api/resources/thera/resources/eor/client/index.d.ts +1 -0
  63. package/dist/api/resources/api/resources/thera/resources/eor/client/index.js +2 -0
  64. package/dist/api/resources/api/resources/thera/resources/eor/index.d.ts +2 -0
  65. package/dist/api/resources/api/resources/thera/resources/eor/index.js +18 -0
  66. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +41 -0
  67. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +174 -0
  68. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +1 -0
  69. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +2 -0
  70. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +2 -0
  71. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +18 -0
  72. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +6 -0
  73. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +5 -0
  74. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +6 -0
  75. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +5 -0
  76. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
  77. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
  78. package/dist/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
  79. package/dist/api/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
  80. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  81. package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
  82. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  83. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  84. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  85. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  86. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  87. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  88. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  89. package/dist/serialization/resources/api/resources/thera/resources/eor/index.d.ts +1 -0
  90. package/dist/serialization/resources/api/resources/thera/resources/eor/index.js +17 -0
  91. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +1 -0
  92. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +17 -0
  93. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +12 -0
  94. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +33 -0
  95. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +12 -0
  96. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +33 -0
  97. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
  98. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
  99. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
  100. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
  101. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  102. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
  103. package/package.json +1 -1
  104. package/serialization/resources/api/resources/thera/resources/eor/index.d.ts +1 -0
  105. package/serialization/resources/api/resources/thera/resources/eor/index.js +17 -0
  106. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +1 -0
  107. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +17 -0
  108. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +12 -0
  109. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +33 -0
  110. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +12 -0
  111. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +33 -0
  112. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -0
  113. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +18 -0
  114. package/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +2 -0
  115. package/serialization/resources/api/resources/thera/resources/eor/resources/index.js +31 -0
  116. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  117. package/serialization/resources/api/resources/thera/resources/index.js +2 -1
@@ -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.GetEorEmployeeByUserIdResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
32
+ employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
33
+ });
@@ -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 GetEorTrackerResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorTrackerResponse.Raw, TheraApi.api.thera.eor.GetEorTrackerResponse>;
8
+ export declare namespace GetEorTrackerResponse {
9
+ interface Raw {
10
+ employees: Record<string, unknown>[];
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.GetEorTrackerResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.GetEorTrackerResponse = core.serialization.object({
32
+ employees: core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.unknown())),
33
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./GetEorTrackerResponse";
2
+ export * from "./GetEorEmployeeByUserIdResponse";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetEorTrackerResponse"), exports);
18
+ __exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
@@ -0,0 +1,2 @@
1
+ export * as eorTrackerApi from "./eorTrackerApi";
2
+ export * from "./eorTrackerApi/types";
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.eorTrackerApi = void 0;
30
+ exports.eorTrackerApi = __importStar(require("./eorTrackerApi"));
31
+ __exportStar(require("./eorTrackerApi/types"), exports);
@@ -7,6 +7,7 @@ export * as disbursement from "./disbursement";
7
7
  export * as document from "./document";
8
8
  export * as email from "./email";
9
9
  export * as employment from "./employment";
10
+ export * as eor from "./eor";
10
11
  export * as misc from "./misc";
11
12
  export * as payroll from "./payroll";
12
13
  export * as timeoff from "./timeoff";
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = exports.accounting = void 0;
26
+ exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = exports.accounting = void 0;
27
27
  exports.accounting = __importStar(require("./accounting"));
28
28
  exports.bank = __importStar(require("./bank"));
29
29
  exports.common = __importStar(require("./common"));
@@ -33,6 +33,7 @@ exports.disbursement = __importStar(require("./disbursement"));
33
33
  exports.document = __importStar(require("./document"));
34
34
  exports.email = __importStar(require("./email"));
35
35
  exports.employment = __importStar(require("./employment"));
36
+ exports.eor = __importStar(require("./eor"));
36
37
  exports.misc = __importStar(require("./misc"));
37
38
  exports.payroll = __importStar(require("./payroll"));
38
39
  exports.timeoff = __importStar(require("./timeoff"));