@thera-hr/api-sdk 0.0.1-prerelease2883-dev-3 → 0.0.1-prerelease2883-staging

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 (142) 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/external/resources/externalApi/client/Client.d.ts +6 -2
  4. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +7 -3
  5. package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +5 -0
  6. package/{dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponse.d.ts → api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +1 -1
  7. package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +1 -2
  8. package/api/resources/api/resources/external/resources/externalApi/types/index.js +1 -2
  9. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  10. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  13. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  14. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  15. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  18. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  20. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  21. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
  23. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
  25. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  26. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  27. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  28. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  29. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  30. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  31. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
  32. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
  33. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  34. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  36. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  37. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  38. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.d.ts +2 -1
  39. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
  40. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
  41. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  42. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  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/external/resources/externalApi/client/Client.d.ts +6 -2
  46. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +7 -3
  47. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +5 -0
  48. package/{api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponse.d.ts → dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +1 -1
  49. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js +5 -0
  50. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +1 -2
  51. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +1 -2
  52. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  53. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  54. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  55. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  56. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  57. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  58. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  59. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  60. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  61. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  62. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  63. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  64. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
  65. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
  66. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  67. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js +5 -0
  68. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
  69. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js +5 -0
  70. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  71. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  72. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  73. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  74. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  75. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +5 -0
  76. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  77. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
  78. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +5 -0
  79. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
  80. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
  81. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  82. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  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.d.ts +2 -1
  87. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +15 -11
  88. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/requests/GetAllTimeTrackingRequest.d.ts +3 -1
  89. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  90. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  91. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +5 -0
  92. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +5 -0
  93. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/{ExternalSuccessResponse.d.ts → ExternalSuccessResponseV2.d.ts} +2 -2
  94. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/{ExternalSuccessResponse.js → ExternalSuccessResponseV2.js} +2 -2
  95. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +1 -2
  96. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +1 -2
  97. package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts} +2 -2
  98. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  99. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
  100. package/dist/serialization/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +4 -6
  101. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  102. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  103. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  104. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
  105. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  106. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
  107. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  108. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  109. package/dist/version.d.ts +1 -1
  110. package/dist/version.js +1 -1
  111. package/package.json +1 -1
  112. package/reference.md +151 -5
  113. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +5 -0
  114. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +5 -0
  115. package/serialization/resources/api/resources/external/resources/externalApi/types/{ExternalSuccessResponse.d.ts → ExternalSuccessResponseV2.d.ts} +2 -2
  116. package/serialization/resources/api/resources/external/resources/externalApi/types/{ExternalSuccessResponse.js → ExternalSuccessResponseV2.js} +2 -2
  117. package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +1 -2
  118. package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +1 -2
  119. package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts} +2 -2
  120. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  121. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
  122. package/serialization/resources/api/resources/{external/resources/externalApi/types/AddEorUser.js → thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +4 -6
  123. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  124. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  125. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  126. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
  127. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  128. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
  129. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  130. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
  133. package/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
  134. package/dist/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -9
  135. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
  136. package/serialization/resources/api/resources/external/resources/externalApi/types/AddEorUser.d.ts +0 -15
  137. /package/api/resources/api/resources/external/resources/externalApi/types/{AddEorUser.js → ExternalSuccessResponseV2.js} +0 -0
  138. /package/api/resources/api/resources/{external/resources/externalApi/types/ExternalSuccessResponse.js → thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
  139. /package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetLatestEorEmployeeEmailResponse.js} +0 -0
  140. /package/{dist/api/resources/api/resources/external/resources/externalApi/types/AddEorUser.js → api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
  141. /package/{dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponse.js → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +0 -0
  142. /package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +0 -0
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AddEorUser = void 0;
40
- const core = __importStar(require("../../../../../../../../core"));
41
- exports.AddEorUser = core.serialization.object({
42
- firstName: core.serialization.string(),
43
- lastName: core.serialization.string(),
39
+ exports.GetLatestEorEmployeeEmailResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.GetLatestEorEmployeeEmailResponse = core.serialization.object({
44
42
  email: core.serialization.string(),
45
- country: core.serialization.string(),
43
+ userId: core.serialization.string(),
46
44
  });
@@ -1,2 +1,3 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByUserIdResponse";
2
+ export * from "./GetEorEmployeeByEmailResponse";
3
+ export * from "./GetLatestEorEmployeeEmailResponse";
@@ -15,4 +15,5 @@ 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);
19
+ __exportStar(require("./GetLatestEorEmployeeEmailResponse"), 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
+ }
@@ -0,0 +1,54 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
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({
43
+ firstName: core.serialization.string(),
44
+ lastName: core.serialization.string(),
45
+ email: core.serialization.string(),
46
+ country: 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(),
52
+ wageType: WageType_1.WageType,
53
+ currency: core.serialization.string(),
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
+ }
@@ -0,0 +1,43 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.FilloutEorEmployeeWebhookResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
42
+ message: core.serialization.string(),
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-prerelease2883-dev-3";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2883-staging";
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-prerelease2883-dev-3";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2883-staging";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2883-dev-3",
3
+ "version": "0.0.1-prerelease2883-staging",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -178,7 +178,7 @@ await client.api.dev.dev.uploadEor({
178
178
 
179
179
  ## Api External ExternalApi
180
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.ExternalSuccessResponse</code></summary>
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
182
  <dl>
183
183
  <dd>
184
184
 
@@ -197,6 +197,7 @@ await client.api.external.externalApi.createContractorV2({
197
197
  lastName: "string",
198
198
  country: "string",
199
199
  currency: "string",
200
+ rate: 1000000,
200
201
  wageType: "HOURLY",
201
202
  payCycle: {
202
203
  timezone: "string",
@@ -223,6 +224,9 @@ await client.api.external.externalApi.createContractorV2({
223
224
  },
224
225
  },
225
226
  contractType: "FIXED_RATE",
227
+ contractName: "string",
228
+ contractDocumentType: "NO_CONTRACT",
229
+ companySigningAuthorityUserId: "string",
226
230
  });
227
231
  ```
228
232
 
@@ -7689,7 +7693,70 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7689
7693
  </dl>
7690
7694
  </details>
7691
7695
 
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>
7696
+ <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>
7697
+ <dl>
7698
+ <dd>
7699
+
7700
+ #### 📝 Description
7701
+
7702
+ <dl>
7703
+ <dd>
7704
+
7705
+ <dl>
7706
+ <dd>
7707
+
7708
+ Gets EOR employee data from Airtable for a specific employee email
7709
+
7710
+ </dd>
7711
+ </dl>
7712
+ </dd>
7713
+ </dl>
7714
+
7715
+ #### 🔌 Usage
7716
+
7717
+ <dl>
7718
+ <dd>
7719
+
7720
+ <dl>
7721
+ <dd>
7722
+
7723
+ ```typescript
7724
+ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
7725
+ ```
7726
+
7727
+ </dd>
7728
+ </dl>
7729
+ </dd>
7730
+ </dl>
7731
+
7732
+ #### ⚙️ Parameters
7733
+
7734
+ <dl>
7735
+ <dd>
7736
+
7737
+ <dl>
7738
+ <dd>
7739
+
7740
+ **email:** `string`
7741
+
7742
+ </dd>
7743
+ </dl>
7744
+
7745
+ <dl>
7746
+ <dd>
7747
+
7748
+ **requestOptions:** `EorTrackerApi.RequestOptions`
7749
+
7750
+ </dd>
7751
+ </dl>
7752
+ </dd>
7753
+ </dl>
7754
+
7755
+ </dd>
7756
+ </dl>
7757
+ </details>
7758
+
7759
+ <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getLatestEorEmployeeEmailByCompanyId</a>(companyId) -> TheraApi.GetLatestEorEmployeeEmailResponse</code></summary>
7693
7760
  <dl>
7694
7761
  <dd>
7695
7762
 
@@ -7701,7 +7768,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7701
7768
  <dl>
7702
7769
  <dd>
7703
7770
 
7704
- Gets EOR employee data from Airtable for a specific employee user ID
7771
+ Gets the email field of the latest EOR employee record added to Airtable for a specific company ID
7705
7772
 
7706
7773
  </dd>
7707
7774
  </dl>
@@ -7717,7 +7784,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
7717
7784
  <dd>
7718
7785
 
7719
7786
  ```typescript
7720
- await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7787
+ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("string");
7721
7788
  ```
7722
7789
 
7723
7790
  </dd>
@@ -7733,7 +7800,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7733
7800
  <dl>
7734
7801
  <dd>
7735
7802
 
7736
- **employeeUserId:** `string`
7803
+ **companyId:** `string`
7737
7804
 
7738
7805
  </dd>
7739
7806
  </dl>
@@ -8144,6 +8211,84 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8144
8211
  </dl>
8145
8212
  </details>
8146
8213
 
8214
+ <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>
8215
+ <dl>
8216
+ <dd>
8217
+
8218
+ #### 📝 Description
8219
+
8220
+ <dl>
8221
+ <dd>
8222
+
8223
+ <dl>
8224
+ <dd>
8225
+
8226
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8227
+
8228
+ </dd>
8229
+ </dl>
8230
+ </dd>
8231
+ </dl>
8232
+
8233
+ #### 🔌 Usage
8234
+
8235
+ <dl>
8236
+ <dd>
8237
+
8238
+ <dl>
8239
+ <dd>
8240
+
8241
+ ```typescript
8242
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8243
+ theraWebhookSignatureHeader: "string",
8244
+ body: {
8245
+ firstName: "string",
8246
+ lastName: "string",
8247
+ email: "string",
8248
+ country: "string",
8249
+ companyId: "string",
8250
+ teamId: "string",
8251
+ jobTitle: "string",
8252
+ startDate: "2023-01-15",
8253
+ rate: 1.1,
8254
+ wageType: "HOURLY",
8255
+ currency: "string",
8256
+ },
8257
+ });
8258
+ ```
8259
+
8260
+ </dd>
8261
+ </dl>
8262
+ </dd>
8263
+ </dl>
8264
+
8265
+ #### ⚙️ Parameters
8266
+
8267
+ <dl>
8268
+ <dd>
8269
+
8270
+ <dl>
8271
+ <dd>
8272
+
8273
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8274
+
8275
+ </dd>
8276
+ </dl>
8277
+
8278
+ <dl>
8279
+ <dd>
8280
+
8281
+ **requestOptions:** `Misc.RequestOptions`
8282
+
8283
+ </dd>
8284
+ </dl>
8285
+ </dd>
8286
+ </dl>
8287
+
8288
+ </dd>
8289
+ </dl>
8290
+ </details>
8291
+
8147
8292
  ## Offcycle API
8148
8293
 
8149
8294
  <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 +10144,7 @@ Get all time tracking entries for a user within a date range
9999
10144
  await client.api.thera.timetracking.timetrackingApi.getAllTimeTracking("string", "string", {
10000
10145
  startDate: "string",
10001
10146
  endDate: "string",
10147
+ timezone: "string",
10002
10148
  });
10003
10149
  ```
10004
10150
 
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../core";
7
7
  import { WageType } from "../../../../../../model/resources/thera/resources/contract/types/WageType";
8
8
  import { PayCycle } from "../../../../../../model/resources/thera/resources/contract/types/PayCycle";
9
9
  import { ContractType } from "../../../../../../model/resources/thera/resources/contract/types/ContractType";
10
+ import { ContractDocumentType } from "../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType";
10
11
  export declare const ExternalCreateContractorRequestV2: core.serialization.ObjectSchema<serializers.api.external.ExternalCreateContractorRequestV2.Raw, TheraApi.api.external.ExternalCreateContractorRequestV2>;
11
12
  export declare namespace ExternalCreateContractorRequestV2 {
12
13
  interface Raw {
@@ -15,8 +16,12 @@ export declare namespace ExternalCreateContractorRequestV2 {
15
16
  lastName: string;
16
17
  country: string;
17
18
  currency: string;
19
+ rate?: number | null;
18
20
  wageType: WageType.Raw;
19
21
  payCycle: PayCycle.Raw;
20
22
  contractType: ContractType.Raw;
23
+ contractName: string;
24
+ contractDocumentType: ContractDocumentType.Raw;
25
+ companySigningAuthorityUserId?: string | null;
21
26
  }
22
27
  }
@@ -41,13 +41,18 @@ const core = __importStar(require("../../../../../../../../core"));
41
41
  const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
42
42
  const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
43
43
  const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
44
+ const ContractDocumentType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType");
44
45
  exports.ExternalCreateContractorRequestV2 = core.serialization.object({
45
46
  email: core.serialization.string(),
46
47
  firstName: core.serialization.string(),
47
48
  lastName: core.serialization.string(),
48
49
  country: core.serialization.string(),
49
50
  currency: core.serialization.string(),
51
+ rate: core.serialization.number().optional(),
50
52
  wageType: WageType_1.WageType,
51
53
  payCycle: PayCycle_1.PayCycle,
52
54
  contractType: ContractType_1.ContractType,
55
+ contractName: core.serialization.string(),
56
+ contractDocumentType: ContractDocumentType_1.ContractDocumentType,
57
+ companySigningAuthorityUserId: core.serialization.string().optional(),
53
58
  });
@@ -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 ExternalSuccessResponse: core.serialization.ObjectSchema<serializers.api.external.ExternalSuccessResponse.Raw, TheraApi.api.external.ExternalSuccessResponse>;
8
- export declare namespace ExternalSuccessResponse {
7
+ export declare const ExternalSuccessResponseV2: core.serialization.ObjectSchema<serializers.api.external.ExternalSuccessResponseV2.Raw, TheraApi.api.external.ExternalSuccessResponseV2>;
8
+ export declare namespace ExternalSuccessResponseV2 {
9
9
  interface Raw {
10
10
  success: boolean;
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.ExternalSuccessResponse = void 0;
39
+ exports.ExternalSuccessResponseV2 = void 0;
40
40
  const core = __importStar(require("../../../../../../../../core"));
41
- exports.ExternalSuccessResponse = core.serialization.object({
41
+ exports.ExternalSuccessResponseV2 = core.serialization.object({
42
42
  success: core.serialization.boolean(),
43
43
  });
@@ -1,3 +1,2 @@
1
1
  export * from "./ExternalCreateContractorRequestV2";
2
- export * from "./AddEorUser";
3
- export * from "./ExternalSuccessResponse";
2
+ export * from "./ExternalSuccessResponseV2";
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ExternalCreateContractorRequestV2"), exports);
18
- __exportStar(require("./AddEorUser"), exports);
19
- __exportStar(require("./ExternalSuccessResponse"), exports);
18
+ __exportStar(require("./ExternalSuccessResponseV2"), exports);
@@ -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
  });
@@ -0,0 +1,13 @@
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 GetLatestEorEmployeeEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetLatestEorEmployeeEmailResponse.Raw, TheraApi.api.thera.eor.GetLatestEorEmployeeEmailResponse>;
8
+ export declare namespace GetLatestEorEmployeeEmailResponse {
9
+ interface Raw {
10
+ email: string;
11
+ userId: string;
12
+ }
13
+ }
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AddEorUser = void 0;
40
- const core = __importStar(require("../../../../../../../../core"));
41
- exports.AddEorUser = core.serialization.object({
42
- firstName: core.serialization.string(),
43
- lastName: core.serialization.string(),
39
+ exports.GetLatestEorEmployeeEmailResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.GetLatestEorEmployeeEmailResponse = core.serialization.object({
44
42
  email: core.serialization.string(),
45
- country: core.serialization.string(),
43
+ userId: core.serialization.string(),
46
44
  });
@@ -1,2 +1,3 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByUserIdResponse";
2
+ export * from "./GetEorEmployeeByEmailResponse";
3
+ export * from "./GetLatestEorEmployeeEmailResponse";
@@ -15,4 +15,5 @@ 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);
19
+ __exportStar(require("./GetLatestEorEmployeeEmailResponse"), 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
+ }
@@ -0,0 +1,54 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
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({
43
+ firstName: core.serialization.string(),
44
+ lastName: core.serialization.string(),
45
+ email: core.serialization.string(),
46
+ country: 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(),
52
+ wageType: WageType_1.WageType,
53
+ currency: core.serialization.string(),
54
+ });