@thera-hr/api-sdk 1.1.1-prerelease2482-dev-3 → 1.2.0-prerelease2334-production

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 (115) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  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 +6 -6
  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/eor/resources/eorTrackerApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  19. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  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 +5 -5
  22. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  23. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  24. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  25. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  26. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  27. package/api/resources/db/resources/company/types/Company.d.ts +1 -1
  28. package/api/resources/db/resources/company/types/index.d.ts +0 -2
  29. package/api/resources/db/resources/company/types/index.js +0 -2
  30. package/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +0 -1
  31. package/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +0 -2
  32. package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  33. package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  34. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  35. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  36. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  37. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  38. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  39. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
  40. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  41. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  42. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  43. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  44. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  45. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  46. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  48. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  49. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  50. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  51. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  52. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  53. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  54. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  55. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  56. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  57. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  58. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  59. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  60. package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -1
  61. package/dist/api/resources/db/resources/company/types/index.d.ts +0 -2
  62. package/dist/api/resources/db/resources/company/types/index.js +0 -2
  63. package/dist/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +0 -1
  64. package/dist/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +0 -2
  65. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  66. package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  67. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +1 -2
  68. package/dist/serialization/resources/db/resources/company/types/Company.js +1 -2
  69. package/dist/serialization/resources/db/resources/company/types/index.d.ts +0 -2
  70. package/dist/serialization/resources/db/resources/company/types/index.js +0 -2
  71. package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +0 -1
  72. package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +0 -1
  73. package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +0 -2
  74. package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +0 -2
  75. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  76. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  77. package/dist/version.d.ts +1 -1
  78. package/dist/version.js +1 -1
  79. package/package.json +1 -1
  80. package/serialization/resources/db/resources/company/types/Company.d.ts +1 -2
  81. package/serialization/resources/db/resources/company/types/Company.js +1 -2
  82. package/serialization/resources/db/resources/company/types/index.d.ts +0 -2
  83. package/serialization/resources/db/resources/company/types/index.js +0 -2
  84. package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +0 -1
  85. package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +0 -1
  86. package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +0 -2
  87. package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +0 -2
  88. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  89. package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  90. package/version.d.ts +1 -1
  91. package/version.js +1 -1
  92. package/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +0 -7
  93. package/api/resources/db/resources/company/types/StripeAccountInfo.js +0 -5
  94. package/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +0 -9
  95. package/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +0 -5
  96. package/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +0 -9
  97. package/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +0 -11
  98. package/dist/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +0 -7
  99. package/dist/api/resources/db/resources/company/types/StripeAccountInfo.js +0 -5
  100. package/dist/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +0 -9
  101. package/dist/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +0 -5
  102. package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +0 -9
  103. package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +0 -11
  104. package/dist/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +0 -13
  105. package/dist/serialization/resources/db/resources/company/types/StripeAccountInfo.js +0 -44
  106. package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +0 -15
  107. package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +0 -46
  108. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +0 -10
  109. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.js +0 -41
  110. package/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +0 -13
  111. package/serialization/resources/db/resources/company/types/StripeAccountInfo.js +0 -44
  112. package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +0 -15
  113. package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +0 -46
  114. package/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +0 -10
  115. package/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.js +0 -41
@@ -1,10 +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 StripeAccountType: core.serialization.Schema<serializers.db.StripeAccountType.Raw, TheraApi.db.StripeAccountType>;
8
- export declare namespace StripeAccountType {
9
- type Raw = "MAIN" | "REVENUE" | "EOR";
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.StripeAccountType = void 0;
40
- const core = __importStar(require("../../../../../../core"));
41
- exports.StripeAccountType = core.serialization.enum_(["MAIN", "REVENUE", "EOR"]);
@@ -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
- export declare const StripeAccountInfo: core.serialization.ObjectSchema<serializers.db.StripeAccountInfo.Raw, TheraApi.db.StripeAccountInfo>;
8
- export declare namespace StripeAccountInfo {
9
- interface Raw {
10
- stripeCustomerId: string;
11
- defaultPaymentMethodId: string;
12
- }
13
- }
@@ -1,44 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.StripeAccountInfo = void 0;
40
- const core = __importStar(require("../../../../../../core"));
41
- exports.StripeAccountInfo = core.serialization.object({
42
- stripeCustomerId: core.serialization.string(),
43
- defaultPaymentMethodId: core.serialization.string(),
44
- });
@@ -1,15 +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 { StripeAccountInfo } from "./StripeAccountInfo";
8
- export declare const StripeMultipleAccountCustomerInfo: core.serialization.ObjectSchema<serializers.db.StripeMultipleAccountCustomerInfo.Raw, TheraApi.db.StripeMultipleAccountCustomerInfo>;
9
- export declare namespace StripeMultipleAccountCustomerInfo {
10
- interface Raw {
11
- mainAccount: StripeAccountInfo.Raw;
12
- revenueAccount: StripeAccountInfo.Raw;
13
- eorAccount: StripeAccountInfo.Raw;
14
- }
15
- }
@@ -1,46 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.StripeMultipleAccountCustomerInfo = void 0;
40
- const core = __importStar(require("../../../../../../core"));
41
- const StripeAccountInfo_1 = require("./StripeAccountInfo");
42
- exports.StripeMultipleAccountCustomerInfo = core.serialization.object({
43
- mainAccount: StripeAccountInfo_1.StripeAccountInfo,
44
- revenueAccount: StripeAccountInfo_1.StripeAccountInfo,
45
- eorAccount: StripeAccountInfo_1.StripeAccountInfo,
46
- });
@@ -1,10 +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 StripeAccountType: core.serialization.Schema<serializers.db.StripeAccountType.Raw, TheraApi.db.StripeAccountType>;
8
- export declare namespace StripeAccountType {
9
- type Raw = "MAIN" | "REVENUE" | "EOR";
10
- }
@@ -1,41 +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 () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.StripeAccountType = void 0;
40
- const core = __importStar(require("../../../../../../core"));
41
- exports.StripeAccountType = core.serialization.enum_(["MAIN", "REVENUE", "EOR"]);