@thera-hr/api-sdk 0.0.1-prerelease2687-dev-2 → 0.0.1-prerelease2687-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 (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 +0 -3
  5. package/api/resources/api/resources/thera/client/Client.js +12 -17
  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 +32 -32
  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/index.d.ts +0 -1
  17. package/api/resources/api/resources/thera/resources/index.js +1 -2
  18. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  19. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  20. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  21. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  22. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  23. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  24. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  25. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  26. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  27. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  28. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  29. package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
  30. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  31. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +32 -32
  32. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  33. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  34. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  35. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  36. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  37. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  38. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  39. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  40. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  41. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  42. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  43. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  44. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  45. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  46. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  47. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  48. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  49. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  50. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  51. package/package.json +1 -1
  52. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  53. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  54. package/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +0 -22
  55. package/api/resources/api/resources/thera/resources/eor/client/Client.js +0 -17
  56. package/api/resources/api/resources/thera/resources/eor/client/index.d.ts +0 -1
  57. package/api/resources/api/resources/thera/resources/eor/client/index.js +0 -2
  58. package/api/resources/api/resources/thera/resources/eor/index.d.ts +0 -2
  59. package/api/resources/api/resources/thera/resources/eor/index.js +0 -18
  60. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +0 -31
  61. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +0 -117
  62. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +0 -1
  63. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +0 -2
  64. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -2
  65. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -18
  66. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -13
  67. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -5
  68. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -7
  69. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -5
  70. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
  71. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
  72. package/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
  73. package/api/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
  74. package/dist/api/resources/api/resources/thera/resources/eor/client/Client.d.ts +0 -22
  75. package/dist/api/resources/api/resources/thera/resources/eor/client/Client.js +0 -17
  76. package/dist/api/resources/api/resources/thera/resources/eor/client/index.d.ts +0 -1
  77. package/dist/api/resources/api/resources/thera/resources/eor/client/index.js +0 -2
  78. package/dist/api/resources/api/resources/thera/resources/eor/index.d.ts +0 -2
  79. package/dist/api/resources/api/resources/thera/resources/eor/index.js +0 -18
  80. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +0 -31
  81. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +0 -117
  82. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.d.ts +0 -1
  83. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/index.js +0 -2
  84. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -2
  85. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -18
  86. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -13
  87. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -5
  88. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -7
  89. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -5
  90. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
  91. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
  92. package/dist/api/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
  93. package/dist/api/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
  94. package/dist/serialization/resources/api/resources/thera/resources/eor/index.d.ts +0 -1
  95. package/dist/serialization/resources/api/resources/thera/resources/eor/index.js +0 -17
  96. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -1
  97. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -17
  98. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -19
  99. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -40
  100. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -13
  101. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -34
  102. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
  103. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
  104. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
  105. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
  106. package/serialization/resources/api/resources/thera/resources/eor/index.d.ts +0 -1
  107. package/serialization/resources/api/resources/thera/resources/eor/index.js +0 -17
  108. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.d.ts +0 -1
  109. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/index.js +0 -17
  110. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -19
  111. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -40
  112. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +0 -13
  113. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +0 -34
  114. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -2
  115. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -18
  116. package/serialization/resources/api/resources/thera/resources/eor/resources/index.d.ts +0 -2
  117. package/serialization/resources/api/resources/thera/resources/eor/resources/index.js +0 -31
@@ -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.Eor = void 0;
7
- const Client_1 = require("../resources/eorTrackerApi/client/Client");
8
- class Eor {
9
- constructor(_options) {
10
- this._options = _options;
11
- }
12
- get eorTrackerApi() {
13
- var _a;
14
- return ((_a = this._eorTrackerApi) !== null && _a !== void 0 ? _a : (this._eorTrackerApi = new Client_1.EorTrackerApi(this._options)));
15
- }
16
- }
17
- exports.Eor = Eor;
@@ -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,31 +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 EorTrackerApi {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- token?: core.Supplier<core.BearerToken | undefined>;
10
- }
11
- interface RequestOptions {
12
- timeoutInSeconds?: number;
13
- maxRetries?: number;
14
- abortSignal?: AbortSignal;
15
- }
16
- }
17
- export declare class EorTrackerApi {
18
- protected readonly _options: EorTrackerApi.Options;
19
- constructor(_options: EorTrackerApi.Options);
20
- /**
21
- * Gets EOR employee data from Airtable for a specific company
22
- *
23
- * @param {string} companyId
24
- * @param {EorTrackerApi.RequestOptions} requestOptions - Request-specific configuration.
25
- *
26
- * @example
27
- * await client.api.thera.eor.eorTrackerApi.getEorTracker("string")
28
- */
29
- getEorTracker(companyId: string, requestOptions?: EorTrackerApi.RequestOptions): Promise<TheraApi.api.thera.eor.GetEorTrackerResponse>;
30
- protected _getAuthorizationHeader(): Promise<string | undefined>;
31
- }
@@ -1,117 +0,0 @@
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
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.EorTrackerApi = void 0;
42
- const core = __importStar(require("../../../../../../../../../../core"));
43
- const url_join_1 = __importDefault(require("url-join"));
44
- const serializers = __importStar(require("../../../../../../../../../../serialization/index"));
45
- const errors = __importStar(require("../../../../../../../../../../errors/index"));
46
- class EorTrackerApi {
47
- constructor(_options) {
48
- this._options = _options;
49
- }
50
- /**
51
- * Gets EOR employee data from Airtable for a specific company
52
- *
53
- * @param {string} companyId
54
- * @param {EorTrackerApi.RequestOptions} requestOptions - Request-specific configuration.
55
- *
56
- * @example
57
- * await client.api.thera.eor.eorTrackerApi.getEorTracker("string")
58
- */
59
- getEorTracker(companyId, requestOptions) {
60
- return __awaiter(this, void 0, void 0, function* () {
61
- const _response = yield core.fetcher({
62
- url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `companies/${encodeURIComponent(companyId)}/eor-tracker`),
63
- method: "GET",
64
- headers: {
65
- Authorization: yield this._getAuthorizationHeader(),
66
- "X-Fern-Language": "JavaScript",
67
- "X-Fern-SDK-Name": "@thera-hr/api-sdk",
68
- "X-Fern-SDK-Version": "0.0.1-prerelease2687-dev-2",
69
- "X-Fern-Runtime": core.RUNTIME.type,
70
- "X-Fern-Runtime-Version": core.RUNTIME.version,
71
- },
72
- contentType: "application/json",
73
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
74
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
75
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
76
- });
77
- if (_response.ok) {
78
- return yield serializers.api.thera.eor.GetEorTrackerResponse.parseOrThrow(_response.body, {
79
- unrecognizedObjectKeys: "passthrough",
80
- allowUnrecognizedUnionMembers: true,
81
- allowUnrecognizedEnumValues: true,
82
- skipValidation: true,
83
- breadcrumbsPrefix: ["response"],
84
- });
85
- }
86
- if (_response.error.reason === "status-code") {
87
- throw new errors.TheraApiError({
88
- statusCode: _response.error.statusCode,
89
- body: _response.error.body,
90
- });
91
- }
92
- switch (_response.error.reason) {
93
- case "non-json":
94
- throw new errors.TheraApiError({
95
- statusCode: _response.error.statusCode,
96
- body: _response.error.rawBody,
97
- });
98
- case "timeout":
99
- throw new errors.TheraApiTimeoutError();
100
- case "unknown":
101
- throw new errors.TheraApiError({
102
- message: _response.error.errorMessage,
103
- });
104
- }
105
- });
106
- }
107
- _getAuthorizationHeader() {
108
- return __awaiter(this, void 0, void 0, function* () {
109
- const bearer = yield core.Supplier.get(this._options.token);
110
- if (bearer != null) {
111
- return `Bearer ${bearer}`;
112
- }
113
- return undefined;
114
- });
115
- }
116
- }
117
- exports.EorTrackerApi = EorTrackerApi;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./types";
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("./types"), exports);
18
- __exportStar(require("./client"), exports);
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface EorEmployeeTracking {
5
- employeeId: string;
6
- employeeName: string;
7
- employeeEmail: string;
8
- status: string;
9
- country: string;
10
- startDate?: string;
11
- jobTitle?: string;
12
- additionalDetails?: Record<string, string>;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface GetEorTrackerResponse {
6
- employees: TheraApi.api.thera.eor.EorEmployeeTracking[];
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./GetEorTrackerResponse";
2
- export * from "./EorEmployeeTracking";
@@ -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("./GetEorTrackerResponse"), exports);
18
- __exportStar(require("./EorEmployeeTracking"), exports);
@@ -1,2 +0,0 @@
1
- export * as eorTrackerApi from "./eorTrackerApi";
2
- export * from "./eorTrackerApi/types";
@@ -1,31 +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 __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);
@@ -1 +0,0 @@
1
- export * from "./resources";
@@ -1,17 +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);
@@ -1,17 +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("./types"), exports);
@@ -1,19 +0,0 @@
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 EorEmployeeTracking: core.serialization.ObjectSchema<serializers.api.thera.eor.EorEmployeeTracking.Raw, TheraApi.api.thera.eor.EorEmployeeTracking>;
8
- export declare namespace EorEmployeeTracking {
9
- interface Raw {
10
- employeeId: string;
11
- employeeName: string;
12
- employeeEmail: string;
13
- status: string;
14
- country: string;
15
- startDate?: string | null;
16
- jobTitle?: string | null;
17
- additionalDetails?: Record<string, string> | null;
18
- }
19
- }
@@ -1,40 +0,0 @@
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.EorEmployeeTracking = void 0;
30
- const core = __importStar(require("../../../../../../../../../../core"));
31
- exports.EorEmployeeTracking = core.serialization.object({
32
- employeeId: core.serialization.string(),
33
- employeeName: core.serialization.string(),
34
- employeeEmail: core.serialization.string(),
35
- status: core.serialization.string(),
36
- country: core.serialization.string(),
37
- startDate: core.serialization.string().optional(),
38
- jobTitle: core.serialization.string().optional(),
39
- additionalDetails: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
40
- });
@@ -1,13 +0,0 @@
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 { EorEmployeeTracking } from "./EorEmployeeTracking";
8
- export declare const GetEorTrackerResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorTrackerResponse.Raw, TheraApi.api.thera.eor.GetEorTrackerResponse>;
9
- export declare namespace GetEorTrackerResponse {
10
- interface Raw {
11
- employees: EorEmployeeTracking.Raw[];
12
- }
13
- }
@@ -1,34 +0,0 @@
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
- const EorEmployeeTracking_1 = require("./EorEmployeeTracking");
32
- exports.GetEorTrackerResponse = core.serialization.object({
33
- employees: core.serialization.list(EorEmployeeTracking_1.EorEmployeeTracking),
34
- });
@@ -1,2 +0,0 @@
1
- export * from "./GetEorTrackerResponse";
2
- export * from "./EorEmployeeTracking";
@@ -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("./GetEorTrackerResponse"), exports);
18
- __exportStar(require("./EorEmployeeTracking"), exports);
@@ -1,2 +0,0 @@
1
- export * as eorTrackerApi from "./eorTrackerApi";
2
- export * from "./eorTrackerApi/types";
@@ -1,31 +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 __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);
@@ -1 +0,0 @@
1
- export * from "./resources";
@@ -1,17 +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);
@@ -1,17 +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("./types"), exports);
@@ -1,19 +0,0 @@
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 EorEmployeeTracking: core.serialization.ObjectSchema<serializers.api.thera.eor.EorEmployeeTracking.Raw, TheraApi.api.thera.eor.EorEmployeeTracking>;
8
- export declare namespace EorEmployeeTracking {
9
- interface Raw {
10
- employeeId: string;
11
- employeeName: string;
12
- employeeEmail: string;
13
- status: string;
14
- country: string;
15
- startDate?: string | null;
16
- jobTitle?: string | null;
17
- additionalDetails?: Record<string, string> | null;
18
- }
19
- }