@thera-hr/api-sdk 0.0.1-prerelease2690-dev-2 → 0.0.1-prerelease2691-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 (71) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +32 -32
  6. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  7. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  8. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  9. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  10. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  11. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  12. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  13. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  14. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  15. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +1 -2
  16. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +1 -2
  17. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -1
  18. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -1
  19. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  20. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  21. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  23. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  24. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  25. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  26. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  27. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  28. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  29. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  30. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +32 -32
  31. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  32. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  33. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  34. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  35. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  36. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  37. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  38. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  39. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +2 -2
  40. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +1 -2
  41. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +1 -2
  42. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -1
  43. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -1
  44. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -6
  45. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  46. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  48. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  49. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  50. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  51. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +1 -2
  52. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +1 -2
  53. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +1 -2
  54. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +1 -2
  55. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -1
  56. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -1
  57. package/package.json +1 -1
  58. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts +1 -2
  59. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js +1 -2
  60. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.d.ts +1 -2
  61. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorTrackerResponse.js +1 -2
  62. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +0 -1
  63. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +0 -1
  64. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -13
  65. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -5
  66. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -13
  67. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -5
  68. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -19
  69. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -40
  70. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.d.ts +0 -19
  71. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/EorEmployeeTracking.js +0 -40
@@ -4,10 +4,9 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- import { EorEmployeeTracking } from "./EorEmployeeTracking";
8
7
  export declare const GetEorEmployeeByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByUserIdResponse>;
9
8
  export declare namespace GetEorEmployeeByUserIdResponse {
10
9
  interface Raw {
11
- employee: EorEmployeeTracking.Raw;
10
+ employee: Record<string, unknown>;
12
11
  }
13
12
  }
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GetEorEmployeeByUserIdResponse = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
- const EorEmployeeTracking_1 = require("./EorEmployeeTracking");
32
31
  exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
33
- employee: EorEmployeeTracking_1.EorEmployeeTracking,
32
+ employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
34
33
  });
@@ -4,10 +4,9 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- import { EorEmployeeTracking } from "./EorEmployeeTracking";
8
7
  export declare const GetEorTrackerResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorTrackerResponse.Raw, TheraApi.api.thera.eor.GetEorTrackerResponse>;
9
8
  export declare namespace GetEorTrackerResponse {
10
9
  interface Raw {
11
- employees: EorEmployeeTracking.Raw[];
10
+ employees: Record<string, unknown>[];
12
11
  }
13
12
  }
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GetEorTrackerResponse = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
- const EorEmployeeTracking_1 = require("./EorEmployeeTracking");
32
31
  exports.GetEorTrackerResponse = core.serialization.object({
33
- employees: core.serialization.list(EorEmployeeTracking_1.EorEmployeeTracking),
32
+ employees: core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.unknown())),
34
33
  });
@@ -1,3 +1,2 @@
1
1
  export * from "./GetEorTrackerResponse";
2
2
  export * from "./GetEorEmployeeByUserIdResponse";
3
- export * from "./EorEmployeeTracking";
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetEorTrackerResponse"), exports);
18
18
  __exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
19
- __exportStar(require("./EorEmployeeTracking"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2690-dev-2",
3
+ "version": "0.0.1-prerelease2691-dev-2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -4,10 +4,9 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- import { EorEmployeeTracking } from "./EorEmployeeTracking";
8
7
  export declare const GetEorEmployeeByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByUserIdResponse>;
9
8
  export declare namespace GetEorEmployeeByUserIdResponse {
10
9
  interface Raw {
11
- employee: EorEmployeeTracking.Raw;
10
+ employee: Record<string, unknown>;
12
11
  }
13
12
  }
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GetEorEmployeeByUserIdResponse = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
- const EorEmployeeTracking_1 = require("./EorEmployeeTracking");
32
31
  exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
33
- employee: EorEmployeeTracking_1.EorEmployeeTracking,
32
+ employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
34
33
  });
@@ -4,10 +4,9 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- import { EorEmployeeTracking } from "./EorEmployeeTracking";
8
7
  export declare const GetEorTrackerResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorTrackerResponse.Raw, TheraApi.api.thera.eor.GetEorTrackerResponse>;
9
8
  export declare namespace GetEorTrackerResponse {
10
9
  interface Raw {
11
- employees: EorEmployeeTracking.Raw[];
10
+ employees: Record<string, unknown>[];
12
11
  }
13
12
  }
@@ -28,7 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.GetEorTrackerResponse = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
- const EorEmployeeTracking_1 = require("./EorEmployeeTracking");
32
31
  exports.GetEorTrackerResponse = core.serialization.object({
33
- employees: core.serialization.list(EorEmployeeTracking_1.EorEmployeeTracking),
32
+ employees: core.serialization.list(core.serialization.record(core.serialization.string(), core.serialization.unknown())),
34
33
  });
@@ -1,3 +1,2 @@
1
1
  export * from "./GetEorTrackerResponse";
2
2
  export * from "./GetEorEmployeeByUserIdResponse";
3
- export * from "./EorEmployeeTracking";
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetEorTrackerResponse"), exports);
18
18
  __exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
19
- __exportStar(require("./EorEmployeeTracking"), 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,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,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,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
- });