@thera-hr/api-sdk 0.0.1-prerelease2885-dev-3 → 0.0.1-prerelease2886-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 (176) hide show
  1. package/api/resources/api/client/Client.d.ts +0 -3
  2. package/api/resources/api/client/Client.js +4 -9
  3. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  5. package/api/resources/api/resources/index.d.ts +0 -1
  6. package/api/resources/api/resources/index.js +1 -2
  7. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  8. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  11. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -8
  12. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +19 -26
  13. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  15. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  16. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  17. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  19. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  20. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -4
  21. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  23. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  25. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  26. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  27. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  28. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  29. package/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts} +9 -6
  30. package/{dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts} +2 -2
  31. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  32. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  34. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  35. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  36. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.d.ts +2 -1
  37. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
  38. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
  39. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  40. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  41. package/dist/api/resources/api/client/Client.d.ts +0 -3
  42. package/dist/api/resources/api/client/Client.js +4 -9
  43. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  44. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  45. package/dist/api/resources/api/resources/index.d.ts +0 -1
  46. package/dist/api/resources/api/resources/index.js +1 -2
  47. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  48. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  49. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  50. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  51. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -8
  52. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +19 -26
  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/resources/eorTrackerApi/client/Client.d.ts +4 -4
  61. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  62. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  63. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  64. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  65. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  66. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  67. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  68. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  69. package/dist/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts} +9 -6
  70. package/{api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts → dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts} +2 -2
  71. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  72. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  73. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  74. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  75. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  76. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.d.ts +2 -1
  77. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
  78. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
  79. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  80. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  81. package/dist/serialization/resources/api/resources/index.d.ts +0 -1
  82. package/dist/serialization/resources/api/resources/index.js +1 -2
  83. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
  84. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  85. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  86. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  87. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  88. package/dist/serialization/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +11 -10
  89. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  90. package/{serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js → dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +4 -4
  91. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  92. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +1 -1
  96. package/reference.md +84 -94
  97. package/serialization/resources/api/resources/index.d.ts +0 -1
  98. package/serialization/resources/api/resources/index.js +1 -2
  99. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
  100. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  101. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  102. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  103. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  104. package/serialization/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +11 -10
  105. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  106. package/{dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js → serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +4 -4
  107. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  108. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  109. package/version.d.ts +1 -1
  110. package/version.js +1 -1
  111. package/api/resources/api/resources/external/client/Client.d.ts +0 -19
  112. package/api/resources/api/resources/external/client/Client.js +0 -17
  113. package/api/resources/api/resources/external/client/index.d.ts +0 -1
  114. package/api/resources/api/resources/external/client/index.js +0 -2
  115. package/api/resources/api/resources/external/index.d.ts +0 -2
  116. package/api/resources/api/resources/external/index.js +0 -18
  117. package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +0 -68
  118. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +0 -155
  119. package/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +0 -1
  120. package/api/resources/api/resources/external/resources/externalApi/client/index.js +0 -2
  121. package/api/resources/api/resources/external/resources/externalApi/index.d.ts +0 -2
  122. package/api/resources/api/resources/external/resources/externalApi/index.js +0 -18
  123. package/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
  124. package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
  125. package/api/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
  126. package/api/resources/api/resources/external/resources/index.d.ts +0 -2
  127. package/api/resources/api/resources/external/resources/index.js +0 -41
  128. package/dist/api/resources/api/resources/external/client/Client.d.ts +0 -19
  129. package/dist/api/resources/api/resources/external/client/Client.js +0 -17
  130. package/dist/api/resources/api/resources/external/client/index.d.ts +0 -1
  131. package/dist/api/resources/api/resources/external/client/index.js +0 -2
  132. package/dist/api/resources/api/resources/external/index.d.ts +0 -2
  133. package/dist/api/resources/api/resources/external/index.js +0 -18
  134. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +0 -68
  135. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +0 -155
  136. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +0 -1
  137. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +0 -2
  138. package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +0 -2
  139. package/dist/api/resources/api/resources/external/resources/externalApi/index.js +0 -18
  140. package/dist/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
  141. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
  142. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
  143. package/dist/api/resources/api/resources/external/resources/index.d.ts +0 -2
  144. package/dist/api/resources/api/resources/external/resources/index.js +0 -41
  145. package/dist/serialization/resources/api/resources/external/index.d.ts +0 -1
  146. package/dist/serialization/resources/api/resources/external/index.js +0 -17
  147. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +0 -1
  148. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +0 -17
  149. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
  150. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.js +0 -46
  151. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +0 -22
  152. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +0 -12
  153. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
  154. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
  155. package/dist/serialization/resources/api/resources/external/resources/index.d.ts +0 -2
  156. package/dist/serialization/resources/api/resources/external/resources/index.js +0 -41
  157. package/serialization/resources/api/resources/external/index.d.ts +0 -1
  158. package/serialization/resources/api/resources/external/index.js +0 -17
  159. package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +0 -1
  160. package/serialization/resources/api/resources/external/resources/externalApi/index.js +0 -17
  161. package/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
  162. package/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.js +0 -46
  163. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +0 -22
  164. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +0 -12
  165. package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +0 -3
  166. package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +0 -19
  167. package/serialization/resources/api/resources/external/resources/index.d.ts +0 -2
  168. package/serialization/resources/api/resources/external/resources/index.js +0 -41
  169. /package/api/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
  170. /package/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
  171. /package/api/resources/api/resources/{external/resources/externalApi/types/ExternalSuccessResponseV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +0 -0
  172. /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +0 -0
  173. /package/dist/api/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
  174. /package/dist/api/resources/api/resources/{external/resources/externalApi/types/ExternalCreateContractorRequestV2.js → thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
  175. /package/dist/api/resources/api/resources/{external/resources/externalApi/types/ExternalSuccessResponseV2.js → thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +0 -0
  176. /package/dist/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +0 -0
@@ -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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
8
+ export declare namespace FilloutEorEmployeeWebhookResponse {
9
+ interface Raw {
10
+ message: string;
11
+ }
12
+ }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ExternalSuccessResponseV2 = void 0;
40
- const core = __importStar(require("../../../../../../../../core"));
41
- exports.ExternalSuccessResponseV2 = core.serialization.object({
42
- success: core.serialization.boolean(),
39
+ exports.FilloutEorEmployeeWebhookResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
42
+ message: core.serialization.string(),
43
43
  });
@@ -2,3 +2,5 @@ export * from "./DailyCronResponse";
2
2
  export * from "./AutoWithdrawalResults";
3
3
  export * from "./TriggeredWithdrawal";
4
4
  export * from "./ContractRenewalCronResponse";
5
+ export * from "./FilloutEorEmployeeWebhookResponse";
6
+ export * from "./FilloutEorEmployeeWebhookRequest";
@@ -18,3 +18,5 @@ __exportStar(require("./DailyCronResponse"), exports);
18
18
  __exportStar(require("./AutoWithdrawalResults"), exports);
19
19
  __exportStar(require("./TriggeredWithdrawal"), exports);
20
20
  __exportStar(require("./ContractRenewalCronResponse"), exports);
21
+ __exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
22
+ __exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease2885-dev-3";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2886-dev-2";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease2885-dev-3";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2886-dev-2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2885-dev-3",
3
+ "version": "0.0.1-prerelease2886-dev-2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -176,88 +176,6 @@ await client.api.dev.dev.uploadEor({
176
176
  </dl>
177
177
  </details>
178
178
 
179
- ## Api External ExternalApi
180
-
181
- <details><summary><code>client.api.external.externalApi.<a href="/src/api/resources/api/resources/external/resources/externalApi/client/Client.ts">createContractorV2</a>({ ...params }) -> TheraApi.ExternalSuccessResponseV2</code></summary>
182
- <dl>
183
- <dd>
184
-
185
- #### 🔌 Usage
186
-
187
- <dl>
188
- <dd>
189
-
190
- <dl>
191
- <dd>
192
-
193
- ```typescript
194
- await client.api.external.externalApi.createContractorV2({
195
- email: "string",
196
- firstName: "string",
197
- lastName: "string",
198
- country: "string",
199
- currency: "string",
200
- wageType: "HOURLY",
201
- payCycle: {
202
- timezone: "string",
203
- cycleStartDate: "2023-01-15",
204
- cycleEnd: {
205
- type: "weekly",
206
- },
207
- paymentDueDays: 1,
208
- firstPayDate: "2023-01-15",
209
- lastPayDate: "2023-01-15",
210
- firstPayTotal: 1000000,
211
- lastPayTotal: 1000000,
212
- itemRecurrencesById: {
213
- string: {
214
- itemType: "EXPENSE",
215
- description: "string",
216
- amount: 1000000,
217
- firstInvoiceDate: "2023-01-15",
218
- paymentCurrency: "string",
219
- deletedDateTime: {
220
- key: "value",
221
- },
222
- },
223
- },
224
- },
225
- contractType: "FIXED_RATE",
226
- });
227
- ```
228
-
229
- </dd>
230
- </dl>
231
- </dd>
232
- </dl>
233
-
234
- #### ⚙️ Parameters
235
-
236
- <dl>
237
- <dd>
238
-
239
- <dl>
240
- <dd>
241
-
242
- **request:** `TheraApi.ExternalCreateContractorRequestV2`
243
-
244
- </dd>
245
- </dl>
246
-
247
- <dl>
248
- <dd>
249
-
250
- **requestOptions:** `ExternalApi.RequestOptions`
251
-
252
- </dd>
253
- </dl>
254
- </dd>
255
- </dl>
256
-
257
- </dd>
258
- </dl>
259
- </details>
260
-
261
179
  ## Api Services File
262
180
 
263
181
  <details><summary><code>client.api.services.file.<a href="/src/api/resources/api/resources/services/resources/file/client/Client.ts">attachDocumentToEmployment</a>(contractId, { ...params }) -> void</code></summary>
@@ -4727,14 +4645,7 @@ await client.api.thera.company.companyApi.inviteContractor({
4727
4645
  lastPayTotal: 1000000,
4728
4646
  itemRecurrencesById: {
4729
4647
  string: {
4730
- itemType: "EXPENSE",
4731
- description: "string",
4732
- amount: 1000000,
4733
- firstInvoiceDate: "2023-01-15",
4734
- paymentCurrency: "string",
4735
- deletedDateTime: {
4736
- key: "value",
4737
- },
4648
+ key: "value",
4738
4649
  },
4739
4650
  },
4740
4651
  },
@@ -7689,7 +7600,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7689
7600
  </dl>
7690
7601
  </details>
7691
7602
 
7692
- <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByUserId</a>(employeeUserId) -> TheraApi.GetEorEmployeeByUserIdResponse</code></summary>
7603
+ <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByEmail</a>(email) -> TheraApi.GetEorEmployeeByEmailResponse</code></summary>
7693
7604
  <dl>
7694
7605
  <dd>
7695
7606
 
@@ -7701,7 +7612,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7701
7612
  <dl>
7702
7613
  <dd>
7703
7614
 
7704
- Gets EOR employee data from Airtable for a specific employee user ID
7615
+ Gets EOR employee data from Airtable for a specific employee email
7705
7616
 
7706
7617
  </dd>
7707
7618
  </dl>
@@ -7717,7 +7628,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
7717
7628
  <dd>
7718
7629
 
7719
7630
  ```typescript
7720
- await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7631
+ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
7721
7632
  ```
7722
7633
 
7723
7634
  </dd>
@@ -7733,7 +7644,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7733
7644
  <dl>
7734
7645
  <dd>
7735
7646
 
7736
- **employeeUserId:** `string`
7647
+ **email:** `string`
7737
7648
 
7738
7649
  </dd>
7739
7650
  </dl>
@@ -8144,6 +8055,84 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8144
8055
  </dl>
8145
8056
  </details>
8146
8057
 
8058
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
8059
+ <dl>
8060
+ <dd>
8061
+
8062
+ #### 📝 Description
8063
+
8064
+ <dl>
8065
+ <dd>
8066
+
8067
+ <dl>
8068
+ <dd>
8069
+
8070
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8071
+
8072
+ </dd>
8073
+ </dl>
8074
+ </dd>
8075
+ </dl>
8076
+
8077
+ #### 🔌 Usage
8078
+
8079
+ <dl>
8080
+ <dd>
8081
+
8082
+ <dl>
8083
+ <dd>
8084
+
8085
+ ```typescript
8086
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8087
+ theraWebhookSignatureHeader: "string",
8088
+ body: {
8089
+ firstName: "string",
8090
+ lastName: "string",
8091
+ email: "string",
8092
+ country: "string",
8093
+ companyId: "string",
8094
+ teamId: "string",
8095
+ jobTitle: "string",
8096
+ startDate: "2023-01-15",
8097
+ rate: 1.1,
8098
+ wageType: "HOURLY",
8099
+ currency: "string",
8100
+ },
8101
+ });
8102
+ ```
8103
+
8104
+ </dd>
8105
+ </dl>
8106
+ </dd>
8107
+ </dl>
8108
+
8109
+ #### ⚙️ Parameters
8110
+
8111
+ <dl>
8112
+ <dd>
8113
+
8114
+ <dl>
8115
+ <dd>
8116
+
8117
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8118
+
8119
+ </dd>
8120
+ </dl>
8121
+
8122
+ <dl>
8123
+ <dd>
8124
+
8125
+ **requestOptions:** `Misc.RequestOptions`
8126
+
8127
+ </dd>
8128
+ </dl>
8129
+ </dd>
8130
+ </dl>
8131
+
8132
+ </dd>
8133
+ </dl>
8134
+ </details>
8135
+
8147
8136
  ## Offcycle API
8148
8137
 
8149
8138
  <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
@@ -9999,6 +9988,7 @@ Get all time tracking entries for a user within a date range
9999
9988
  await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10000
9989
  startDate: "string",
10001
9990
  endDate: "string",
9991
+ timezone: "string",
10002
9992
  });
10003
9993
  ```
10004
9994
 
@@ -1,6 +1,5 @@
1
1
  export * as aiprise from "./aiprise";
2
2
  export * as dev from "./dev";
3
- export * as external from "./external";
4
3
  export * as oneschema from "./oneschema";
5
4
  export * as request from "./request";
6
5
  export * as response from "./response";
@@ -33,10 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.external = exports.dev = exports.aiprise = void 0;
36
+ exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.dev = exports.aiprise = void 0;
37
37
  exports.aiprise = __importStar(require("./aiprise"));
38
38
  exports.dev = __importStar(require("./dev"));
39
- exports.external = __importStar(require("./external"));
40
39
  exports.oneschema = __importStar(require("./oneschema"));
41
40
  exports.request = __importStar(require("./request"));
42
41
  exports.response = __importStar(require("./response"));
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- export declare const GetEorEmployeeByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByUserIdResponse>;
8
- export declare namespace GetEorEmployeeByUserIdResponse {
7
+ export declare const GetEorEmployeeByEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByEmailResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByEmailResponse>;
8
+ export declare namespace GetEorEmployeeByEmailResponse {
9
9
  interface Raw {
10
10
  employee: Record<string, unknown>;
11
11
  }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetEorEmployeeByUserIdResponse = void 0;
39
+ exports.GetEorEmployeeByEmailResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
41
+ exports.GetEorEmployeeByEmailResponse = core.serialization.object({
42
42
  employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  });
@@ -1,2 +1,2 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByUserIdResponse";
2
+ export * from "./GetEorEmployeeByEmailResponse";
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetEorTrackerResponse"), exports);
18
- __exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
18
+ __exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
@@ -0,0 +1,23 @@
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
+ import { WageType } from "../../../../../../../../model/resources/thera/resources/contract/types/WageType";
8
+ export declare const FilloutEorEmployeeWebhookRequest: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest>;
9
+ export declare namespace FilloutEorEmployeeWebhookRequest {
10
+ interface Raw {
11
+ firstName: string;
12
+ lastName: string;
13
+ email: string;
14
+ country: string;
15
+ companyID: string;
16
+ teamId?: string | null;
17
+ jobTitle: string;
18
+ startDate: string;
19
+ rate: number;
20
+ wageType: WageType.Raw;
21
+ currency: string;
22
+ }
23
+ }
@@ -36,18 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ExternalCreateContractorRequestV2 = void 0;
40
- const core = __importStar(require("../../../../../../../../core"));
41
- const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
42
- const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
43
- const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
44
- exports.ExternalCreateContractorRequestV2 = core.serialization.object({
45
- email: core.serialization.string(),
39
+ exports.FilloutEorEmployeeWebhookRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const WageType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/WageType");
42
+ exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
46
43
  firstName: core.serialization.string(),
47
44
  lastName: core.serialization.string(),
45
+ email: core.serialization.string(),
48
46
  country: core.serialization.string(),
49
- currency: core.serialization.string(),
47
+ companyId: core.serialization.property("companyID", core.serialization.string()),
48
+ teamId: core.serialization.string().optional(),
49
+ jobTitle: core.serialization.string(),
50
+ startDate: core.serialization.string(),
51
+ rate: core.serialization.number(),
50
52
  wageType: WageType_1.WageType,
51
- payCycle: PayCycle_1.PayCycle,
52
- contractType: ContractType_1.ContractType,
53
+ currency: core.serialization.string(),
53
54
  });
@@ -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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
8
+ export declare namespace FilloutEorEmployeeWebhookResponse {
9
+ interface Raw {
10
+ message: string;
11
+ }
12
+ }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ExternalSuccessResponseV2 = void 0;
40
- const core = __importStar(require("../../../../../../../../core"));
41
- exports.ExternalSuccessResponseV2 = core.serialization.object({
42
- success: core.serialization.boolean(),
39
+ exports.FilloutEorEmployeeWebhookResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
42
+ message: core.serialization.string(),
43
43
  });
@@ -2,3 +2,5 @@ export * from "./DailyCronResponse";
2
2
  export * from "./AutoWithdrawalResults";
3
3
  export * from "./TriggeredWithdrawal";
4
4
  export * from "./ContractRenewalCronResponse";
5
+ export * from "./FilloutEorEmployeeWebhookResponse";
6
+ export * from "./FilloutEorEmployeeWebhookRequest";
@@ -18,3 +18,5 @@ __exportStar(require("./DailyCronResponse"), exports);
18
18
  __exportStar(require("./AutoWithdrawalResults"), exports);
19
19
  __exportStar(require("./TriggeredWithdrawal"), exports);
20
20
  __exportStar(require("./ContractRenewalCronResponse"), exports);
21
+ __exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
22
+ __exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease2885-dev-3";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2886-dev-2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease2885-dev-3";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2886-dev-2";
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../../../core";
5
- import { ExternalApi } from "../resources/externalApi/client/Client";
6
- export declare namespace External {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<core.BearerToken | undefined>;
12
- }
13
- }
14
- export declare class External {
15
- protected readonly _options: External.Options;
16
- protected _externalApi: ExternalApi | undefined;
17
- constructor(_options: External.Options);
18
- get externalApi(): ExternalApi;
19
- }
@@ -1,17 +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 });
6
- exports.External = void 0;
7
- const Client_1 = require("../resources/externalApi/client/Client");
8
- class External {
9
- constructor(_options) {
10
- this._options = _options;
11
- }
12
- get externalApi() {
13
- var _a;
14
- return ((_a = this._externalApi) !== null && _a !== void 0 ? _a : (this._externalApi = new Client_1.ExternalApi(this._options)));
15
- }
16
- }
17
- exports.External = External;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./resources";
2
- export * from "./client";
@@ -1,18 +0,0 @@
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("./resources"), exports);
18
- __exportStar(require("./client"), exports);
@@ -1,68 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../../../../../core";
5
- import * as TheraApi from "../../../../../../../index";
6
- export declare namespace ExternalApi {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<core.BearerToken | undefined>;
12
- }
13
- interface RequestOptions {
14
- /** The maximum time to wait for a response in seconds. */
15
- timeoutInSeconds?: number;
16
- /** The number of times to retry the request. Defaults to 2. */
17
- maxRetries?: number;
18
- /** A hook to abort the request. */
19
- abortSignal?: AbortSignal;
20
- /** Additional headers to include in the request. */
21
- headers?: Record<string, string>;
22
- }
23
- }
24
- export declare class ExternalApi {
25
- protected readonly _options: ExternalApi.Options;
26
- constructor(_options: ExternalApi.Options);
27
- /**
28
- * @param {TheraApi.api.external.ExternalCreateContractorRequestV2} request
29
- * @param {ExternalApi.RequestOptions} requestOptions - Request-specific configuration.
30
- *
31
- * @example
32
- * await client.api.external.externalApi.createContractorV2({
33
- * email: "string",
34
- * firstName: "string",
35
- * lastName: "string",
36
- * country: "string",
37
- * currency: "string",
38
- * wageType: "HOURLY",
39
- * payCycle: {
40
- * timezone: "string",
41
- * cycleStartDate: "2023-01-15",
42
- * cycleEnd: {
43
- * type: "weekly"
44
- * },
45
- * paymentDueDays: 1,
46
- * firstPayDate: "2023-01-15",
47
- * lastPayDate: "2023-01-15",
48
- * firstPayTotal: 1000000,
49
- * lastPayTotal: 1000000,
50
- * itemRecurrencesById: {
51
- * "string": {
52
- * itemType: "EXPENSE",
53
- * description: "string",
54
- * amount: 1000000,
55
- * firstInvoiceDate: "2023-01-15",
56
- * paymentCurrency: "string",
57
- * deletedDateTime: {
58
- * "key": "value"
59
- * }
60
- * }
61
- * }
62
- * },
63
- * contractType: "FIXED_RATE"
64
- * })
65
- */
66
- createContractorV2(request: TheraApi.api.external.ExternalCreateContractorRequestV2, requestOptions?: ExternalApi.RequestOptions): Promise<TheraApi.api.external.ExternalSuccessResponseV2>;
67
- protected _getAuthorizationHeader(): Promise<string | undefined>;
68
- }