@thera-hr/api-sdk 0.0.1-prerelease2721-dev-3 → 0.0.1-prerelease2724-dev-anthony

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 (63) 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/misc/resources/misc/client/Client.js +5 -5
  15. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  16. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  18. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  19. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  20. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  21. package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -0
  22. package/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +9 -0
  23. package/api/resources/db/resources/migrations/types/LedgerTrxStatus.js +11 -0
  24. package/api/resources/db/resources/migrations/types/index.d.ts +1 -0
  25. package/api/resources/db/resources/migrations/types/index.js +1 -0
  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/misc/resources/misc/client/Client.js +5 -5
  40. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  41. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  42. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  43. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  44. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  45. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  46. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +1 -0
  47. package/dist/api/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +9 -0
  48. package/dist/api/resources/db/resources/migrations/types/LedgerTrxStatus.js +11 -0
  49. package/dist/api/resources/db/resources/migrations/types/index.d.ts +1 -0
  50. package/dist/api/resources/db/resources/migrations/types/index.js +1 -0
  51. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +2 -0
  52. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +2 -0
  53. package/dist/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +10 -0
  54. package/dist/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +31 -0
  55. package/dist/serialization/resources/db/resources/migrations/types/index.d.ts +1 -0
  56. package/dist/serialization/resources/db/resources/migrations/types/index.js +1 -0
  57. package/package.json +1 -1
  58. package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +2 -0
  59. package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +2 -0
  60. package/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.d.ts +10 -0
  61. package/serialization/resources/db/resources/migrations/types/LedgerTrxStatus.js +31 -0
  62. package/serialization/resources/db/resources/migrations/types/index.d.ts +1 -0
  63. package/serialization/resources/db/resources/migrations/types/index.js +1 -0
@@ -5,12 +5,14 @@ import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { LedgerMigrationType } from "./LedgerMigrationType";
8
+ import { LedgerTrxStatus } from "./LedgerTrxStatus";
8
9
  import { LedgerMigrationErrorMetadata } from "./LedgerMigrationErrorMetadata";
9
10
  export declare const LedgerMigrationMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationMetadata.Raw, TheraApi.db.LedgerMigrationMetadata>;
10
11
  export declare namespace LedgerMigrationMetadata {
11
12
  interface Raw {
12
13
  ledgerMigrationType: LedgerMigrationType.Raw;
13
14
  sourceLedgerTrxId: string[];
15
+ destinationLedgerTrxStatus?: LedgerTrxStatus.Raw | null;
14
16
  destinationLedgerTrxId?: string | null;
15
17
  additionalData: Record<string, string>;
16
18
  errorMetadata?: LedgerMigrationErrorMetadata.Raw | null;
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.LedgerMigrationMetadata = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  const LedgerMigrationType_1 = require("./LedgerMigrationType");
32
+ const LedgerTrxStatus_1 = require("./LedgerTrxStatus");
32
33
  const LedgerMigrationErrorMetadata_1 = require("./LedgerMigrationErrorMetadata");
33
34
  exports.LedgerMigrationMetadata = core.serialization.object({
34
35
  ledgerMigrationType: LedgerMigrationType_1.LedgerMigrationType,
35
36
  sourceLedgerTrxId: core.serialization.set(core.serialization.string()),
37
+ destinationLedgerTrxStatus: LedgerTrxStatus_1.LedgerTrxStatus.optional(),
36
38
  destinationLedgerTrxId: core.serialization.string().optional(),
37
39
  additionalData: core.serialization.record(core.serialization.string(), core.serialization.string()),
38
40
  errorMetadata: LedgerMigrationErrorMetadata_1.LedgerMigrationErrorMetadata.optional(),
@@ -0,0 +1,10 @@
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 LedgerTrxStatus: core.serialization.Schema<serializers.db.LedgerTrxStatus.Raw, TheraApi.db.LedgerTrxStatus>;
8
+ export declare namespace LedgerTrxStatus {
9
+ type Raw = "POSTED" | "PENDING" | "UNKNOWN";
10
+ }
@@ -0,0 +1,31 @@
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.LedgerTrxStatus = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.LedgerTrxStatus = core.serialization.enum_(["POSTED", "PENDING", "UNKNOWN"]);
@@ -3,5 +3,6 @@ export * from "./MigrationType";
3
3
  export * from "./MigrationStatus";
4
4
  export * from "./MigrationMetadata";
5
5
  export * from "./LedgerMigrationMetadata";
6
+ export * from "./LedgerTrxStatus";
6
7
  export * from "./LedgerMigrationType";
7
8
  export * from "./LedgerMigrationErrorMetadata";
@@ -19,5 +19,6 @@ __exportStar(require("./MigrationType"), exports);
19
19
  __exportStar(require("./MigrationStatus"), exports);
20
20
  __exportStar(require("./MigrationMetadata"), exports);
21
21
  __exportStar(require("./LedgerMigrationMetadata"), exports);
22
+ __exportStar(require("./LedgerTrxStatus"), exports);
22
23
  __exportStar(require("./LedgerMigrationType"), exports);
23
24
  __exportStar(require("./LedgerMigrationErrorMetadata"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2721-dev-3",
3
+ "version": "0.0.1-prerelease2724-dev-anthony",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
@@ -5,12 +5,14 @@ import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { LedgerMigrationType } from "./LedgerMigrationType";
8
+ import { LedgerTrxStatus } from "./LedgerTrxStatus";
8
9
  import { LedgerMigrationErrorMetadata } from "./LedgerMigrationErrorMetadata";
9
10
  export declare const LedgerMigrationMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationMetadata.Raw, TheraApi.db.LedgerMigrationMetadata>;
10
11
  export declare namespace LedgerMigrationMetadata {
11
12
  interface Raw {
12
13
  ledgerMigrationType: LedgerMigrationType.Raw;
13
14
  sourceLedgerTrxId: string[];
15
+ destinationLedgerTrxStatus?: LedgerTrxStatus.Raw | null;
14
16
  destinationLedgerTrxId?: string | null;
15
17
  additionalData: Record<string, string>;
16
18
  errorMetadata?: LedgerMigrationErrorMetadata.Raw | null;
@@ -29,10 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.LedgerMigrationMetadata = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  const LedgerMigrationType_1 = require("./LedgerMigrationType");
32
+ const LedgerTrxStatus_1 = require("./LedgerTrxStatus");
32
33
  const LedgerMigrationErrorMetadata_1 = require("./LedgerMigrationErrorMetadata");
33
34
  exports.LedgerMigrationMetadata = core.serialization.object({
34
35
  ledgerMigrationType: LedgerMigrationType_1.LedgerMigrationType,
35
36
  sourceLedgerTrxId: core.serialization.set(core.serialization.string()),
37
+ destinationLedgerTrxStatus: LedgerTrxStatus_1.LedgerTrxStatus.optional(),
36
38
  destinationLedgerTrxId: core.serialization.string().optional(),
37
39
  additionalData: core.serialization.record(core.serialization.string(), core.serialization.string()),
38
40
  errorMetadata: LedgerMigrationErrorMetadata_1.LedgerMigrationErrorMetadata.optional(),
@@ -0,0 +1,10 @@
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 LedgerTrxStatus: core.serialization.Schema<serializers.db.LedgerTrxStatus.Raw, TheraApi.db.LedgerTrxStatus>;
8
+ export declare namespace LedgerTrxStatus {
9
+ type Raw = "POSTED" | "PENDING" | "UNKNOWN";
10
+ }
@@ -0,0 +1,31 @@
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.LedgerTrxStatus = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.LedgerTrxStatus = core.serialization.enum_(["POSTED", "PENDING", "UNKNOWN"]);
@@ -3,5 +3,6 @@ export * from "./MigrationType";
3
3
  export * from "./MigrationStatus";
4
4
  export * from "./MigrationMetadata";
5
5
  export * from "./LedgerMigrationMetadata";
6
+ export * from "./LedgerTrxStatus";
6
7
  export * from "./LedgerMigrationType";
7
8
  export * from "./LedgerMigrationErrorMetadata";
@@ -19,5 +19,6 @@ __exportStar(require("./MigrationType"), exports);
19
19
  __exportStar(require("./MigrationStatus"), exports);
20
20
  __exportStar(require("./MigrationMetadata"), exports);
21
21
  __exportStar(require("./LedgerMigrationMetadata"), exports);
22
+ __exportStar(require("./LedgerTrxStatus"), exports);
22
23
  __exportStar(require("./LedgerMigrationType"), exports);
23
24
  __exportStar(require("./LedgerMigrationErrorMetadata"), exports);