@thera-hr/api-sdk 0.0.422 → 0.0.469

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 (23) hide show
  1. package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.d.ts +1 -1
  2. package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +15 -0
  3. package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +17 -0
  4. package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.d.ts +1 -0
  5. package/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.js +1 -0
  6. package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.d.ts +1 -1
  7. package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +15 -0
  8. package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +17 -0
  9. package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.d.ts +1 -0
  10. package/dist/api/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.js +1 -0
  11. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.d.ts +1 -1
  12. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +1 -1
  13. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +10 -0
  14. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +41 -0
  15. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.d.ts +1 -0
  16. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.js +1 -0
  17. package/package.json +1 -1
  18. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.d.ts +1 -1
  19. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/Deduction.js +1 -1
  20. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.d.ts +10 -0
  21. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/DeductionType.js +41 -0
  22. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.d.ts +1 -0
  23. package/serialization/resources/api/resources/request/resources/zeal/resources/check/resources/deduction/types/index.js +1 -0
@@ -6,7 +6,7 @@ export interface Deduction {
6
6
  deductionId: string;
7
7
  companyId: string;
8
8
  employeeCheckId: string;
9
- deductionType: string;
9
+ deductionType: TheraApi.api.request.zeal.check.DeductionType;
10
10
  employerContribution: TheraApi.api.request.zeal.check.EmployerContribution;
11
11
  employeeContribution: TheraApi.api.request.zeal.check.EmployeeContribution;
12
12
  additionalFields: TheraApi.api.request.zeal.check.AdditionalFields;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DeductionType = "401k" | "hsa" | "garnishment" | "miscellaneous" | "section_125" | "roth_401k" | "403(b)" | "simple_ira" | "roth_ira";
5
+ export declare const DeductionType: {
6
+ readonly Pretax401K: "401k";
7
+ readonly Hsa: "hsa";
8
+ readonly Garnishment: "garnishment";
9
+ readonly Miscellaneous: "miscellaneous";
10
+ readonly Section125: "section_125";
11
+ readonly Roth401K: "roth_401k";
12
+ readonly Pretax403BPlan: "403(b)";
13
+ readonly SimpleIra: "simple_ira";
14
+ readonly RothIra: "roth_ira";
15
+ };
@@ -0,0 +1,17 @@
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.DeductionType = void 0;
7
+ exports.DeductionType = {
8
+ Pretax401K: "401k",
9
+ Hsa: "hsa",
10
+ Garnishment: "garnishment",
11
+ Miscellaneous: "miscellaneous",
12
+ Section125: "section_125",
13
+ Roth401K: "roth_401k",
14
+ Pretax403BPlan: "403(b)",
15
+ SimpleIra: "simple_ira",
16
+ RothIra: "roth_ira",
17
+ };
@@ -3,4 +3,5 @@ export * from "./EmployerContribution";
3
3
  export * from "./EmployeeContribution";
4
4
  export * from "./Agency";
5
5
  export * from "./AdditionalFields";
6
+ export * from "./DeductionType";
6
7
  export * from "./Deduction";
@@ -19,4 +19,5 @@ __exportStar(require("./EmployerContribution"), exports);
19
19
  __exportStar(require("./EmployeeContribution"), exports);
20
20
  __exportStar(require("./Agency"), exports);
21
21
  __exportStar(require("./AdditionalFields"), exports);
22
+ __exportStar(require("./DeductionType"), exports);
22
23
  __exportStar(require("./Deduction"), exports);
@@ -6,7 +6,7 @@ export interface Deduction {
6
6
  deductionId: string;
7
7
  companyId: string;
8
8
  employeeCheckId: string;
9
- deductionType: string;
9
+ deductionType: TheraApi.api.request.zeal.check.DeductionType;
10
10
  employerContribution: TheraApi.api.request.zeal.check.EmployerContribution;
11
11
  employeeContribution: TheraApi.api.request.zeal.check.EmployeeContribution;
12
12
  additionalFields: TheraApi.api.request.zeal.check.AdditionalFields;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DeductionType = "401k" | "hsa" | "garnishment" | "miscellaneous" | "section_125" | "roth_401k" | "403(b)" | "simple_ira" | "roth_ira";
5
+ export declare const DeductionType: {
6
+ readonly Pretax401K: "401k";
7
+ readonly Hsa: "hsa";
8
+ readonly Garnishment: "garnishment";
9
+ readonly Miscellaneous: "miscellaneous";
10
+ readonly Section125: "section_125";
11
+ readonly Roth401K: "roth_401k";
12
+ readonly Pretax403BPlan: "403(b)";
13
+ readonly SimpleIra: "simple_ira";
14
+ readonly RothIra: "roth_ira";
15
+ };
@@ -0,0 +1,17 @@
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.DeductionType = void 0;
7
+ exports.DeductionType = {
8
+ Pretax401K: "401k",
9
+ Hsa: "hsa",
10
+ Garnishment: "garnishment",
11
+ Miscellaneous: "miscellaneous",
12
+ Section125: "section_125",
13
+ Roth401K: "roth_401k",
14
+ Pretax403BPlan: "403(b)",
15
+ SimpleIra: "simple_ira",
16
+ RothIra: "roth_ira",
17
+ };
@@ -3,4 +3,5 @@ export * from "./EmployerContribution";
3
3
  export * from "./EmployeeContribution";
4
4
  export * from "./Agency";
5
5
  export * from "./AdditionalFields";
6
+ export * from "./DeductionType";
6
7
  export * from "./Deduction";
@@ -19,4 +19,5 @@ __exportStar(require("./EmployerContribution"), exports);
19
19
  __exportStar(require("./EmployeeContribution"), exports);
20
20
  __exportStar(require("./Agency"), exports);
21
21
  __exportStar(require("./AdditionalFields"), exports);
22
+ __exportStar(require("./DeductionType"), exports);
22
23
  __exportStar(require("./Deduction"), exports);
@@ -10,7 +10,7 @@ export declare namespace Deduction {
10
10
  deductionID: string;
11
11
  companyID: string;
12
12
  employeeCheckID: string;
13
- deduction_type: string;
13
+ deduction_type: serializers.api.request.zeal.check.DeductionType.Raw;
14
14
  employer_contribution: serializers.api.request.zeal.check.EmployerContribution.Raw;
15
15
  employee_contribution: serializers.api.request.zeal.check.EmployeeContribution.Raw;
16
16
  additional_fields: serializers.api.request.zeal.check.AdditionalFields.Raw;
@@ -32,7 +32,7 @@ exports.Deduction = core.serialization.object({
32
32
  deductionId: core.serialization.property("deductionID", core.serialization.string()),
33
33
  companyId: core.serialization.property("companyID", core.serialization.string()),
34
34
  employeeCheckId: core.serialization.property("employeeCheckID", core.serialization.string()),
35
- deductionType: core.serialization.property("deduction_type", core.serialization.string()),
35
+ deductionType: core.serialization.property("deduction_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.DeductionType)),
36
36
  employerContribution: core.serialization.property("employer_contribution", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.EmployerContribution)),
37
37
  employeeContribution: core.serialization.property("employee_contribution", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.EmployeeContribution)),
38
38
  additionalFields: core.serialization.property("additional_fields", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.AdditionalFields)),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../../../core";
7
+ export declare const DeductionType: core.serialization.Schema<serializers.api.request.zeal.check.DeductionType.Raw, TheraApi.api.request.zeal.check.DeductionType>;
8
+ export declare namespace DeductionType {
9
+ type Raw = "401k" | "hsa" | "garnishment" | "miscellaneous" | "section_125" | "roth_401k" | "403(b)" | "simple_ira" | "roth_ira";
10
+ }
@@ -0,0 +1,41 @@
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.DeductionType = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../../../core"));
31
+ exports.DeductionType = core.serialization.enum_([
32
+ "401k",
33
+ "hsa",
34
+ "garnishment",
35
+ "miscellaneous",
36
+ "section_125",
37
+ "roth_401k",
38
+ "403(b)",
39
+ "simple_ira",
40
+ "roth_ira",
41
+ ]);
@@ -3,4 +3,5 @@ export * from "./EmployerContribution";
3
3
  export * from "./EmployeeContribution";
4
4
  export * from "./Agency";
5
5
  export * from "./AdditionalFields";
6
+ export * from "./DeductionType";
6
7
  export * from "./Deduction";
@@ -19,4 +19,5 @@ __exportStar(require("./EmployerContribution"), exports);
19
19
  __exportStar(require("./EmployeeContribution"), exports);
20
20
  __exportStar(require("./Agency"), exports);
21
21
  __exportStar(require("./AdditionalFields"), exports);
22
+ __exportStar(require("./DeductionType"), exports);
22
23
  __exportStar(require("./Deduction"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.422",
3
+ "version": "0.0.469",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -10,7 +10,7 @@ export declare namespace Deduction {
10
10
  deductionID: string;
11
11
  companyID: string;
12
12
  employeeCheckID: string;
13
- deduction_type: string;
13
+ deduction_type: serializers.api.request.zeal.check.DeductionType.Raw;
14
14
  employer_contribution: serializers.api.request.zeal.check.EmployerContribution.Raw;
15
15
  employee_contribution: serializers.api.request.zeal.check.EmployeeContribution.Raw;
16
16
  additional_fields: serializers.api.request.zeal.check.AdditionalFields.Raw;
@@ -32,7 +32,7 @@ exports.Deduction = core.serialization.object({
32
32
  deductionId: core.serialization.property("deductionID", core.serialization.string()),
33
33
  companyId: core.serialization.property("companyID", core.serialization.string()),
34
34
  employeeCheckId: core.serialization.property("employeeCheckID", core.serialization.string()),
35
- deductionType: core.serialization.property("deduction_type", core.serialization.string()),
35
+ deductionType: core.serialization.property("deduction_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.DeductionType)),
36
36
  employerContribution: core.serialization.property("employer_contribution", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.EmployerContribution)),
37
37
  employeeContribution: core.serialization.property("employee_contribution", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.EmployeeContribution)),
38
38
  additionalFields: core.serialization.property("additional_fields", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../../../../../..")))).api.request.zeal.check.AdditionalFields)),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../../../core";
7
+ export declare const DeductionType: core.serialization.Schema<serializers.api.request.zeal.check.DeductionType.Raw, TheraApi.api.request.zeal.check.DeductionType>;
8
+ export declare namespace DeductionType {
9
+ type Raw = "401k" | "hsa" | "garnishment" | "miscellaneous" | "section_125" | "roth_401k" | "403(b)" | "simple_ira" | "roth_ira";
10
+ }
@@ -0,0 +1,41 @@
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.DeductionType = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../../../core"));
31
+ exports.DeductionType = core.serialization.enum_([
32
+ "401k",
33
+ "hsa",
34
+ "garnishment",
35
+ "miscellaneous",
36
+ "section_125",
37
+ "roth_401k",
38
+ "403(b)",
39
+ "simple_ira",
40
+ "roth_ira",
41
+ ]);
@@ -3,4 +3,5 @@ export * from "./EmployerContribution";
3
3
  export * from "./EmployeeContribution";
4
4
  export * from "./Agency";
5
5
  export * from "./AdditionalFields";
6
+ export * from "./DeductionType";
6
7
  export * from "./Deduction";
@@ -19,4 +19,5 @@ __exportStar(require("./EmployerContribution"), exports);
19
19
  __exportStar(require("./EmployeeContribution"), exports);
20
20
  __exportStar(require("./Agency"), exports);
21
21
  __exportStar(require("./AdditionalFields"), exports);
22
+ __exportStar(require("./DeductionType"), exports);
22
23
  __exportStar(require("./Deduction"), exports);