@thera-hr/api-sdk 0.0.1-prerelease3524-dev-2 → 0.0.1-prerelease3524-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 (84) 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 +24 -24
  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.d.ts +12 -0
  19. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
  20. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
  21. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
  22. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  23. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  24. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  25. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  26. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  27. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  28. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  29. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  30. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  31. package/api/resources/db/resources/company/types/Company.d.ts +0 -1
  32. package/api/resources/db/resources/company/types/CompanySettings.d.ts +6 -2
  33. package/api/resources/db/resources/company/types/Flags.d.ts +2 -0
  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 +24 -24
  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.d.ts +12 -0
  52. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
  53. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
  54. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js +5 -0
  55. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  56. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  57. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  58. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  59. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  60. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  61. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  62. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  63. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  64. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  65. package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +6 -2
  66. package/dist/api/resources/db/resources/company/types/Flags.d.ts +2 -0
  67. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
  68. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -1
  69. package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +2 -1
  70. package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +2 -1
  71. package/dist/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
  72. package/dist/serialization/resources/db/resources/company/types/Flags.js +2 -0
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/package.json +1 -1
  76. package/reference.md +65 -0
  77. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -1
  78. package/serialization/resources/db/resources/company/types/Company.js +0 -1
  79. package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +2 -1
  80. package/serialization/resources/db/resources/company/types/CompanySettings.js +2 -1
  81. package/serialization/resources/db/resources/company/types/Flags.d.ts +2 -0
  82. package/serialization/resources/db/resources/company/types/Flags.js +2 -0
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
@@ -68,7 +68,6 @@ exports.Company = core.serialization.object({
68
68
  phoneNumber: core.serialization.string(),
69
69
  subscriptionPricing: SubscriptionPricing_1.SubscriptionPricing.optional(),
70
70
  fastPayments: core.serialization.boolean(),
71
- advancedPayments: core.serialization.boolean(),
72
71
  theraBanking: core.serialization.boolean().optional(),
73
72
  flags: Flags_1.Flags,
74
73
  settings: CompanySettings_1.CompanySettings,
@@ -19,6 +19,7 @@ export declare namespace CompanySettings {
19
19
  isTpOnboardingSkipped: boolean;
20
20
  autoApproveTimeOffRequests: boolean;
21
21
  isKYCMandated: boolean;
22
- processingDays: number;
22
+ active?: boolean | null;
23
+ autoPayAheadOfHolidaysWeekends?: boolean | null;
23
24
  }
24
25
  }
@@ -51,5 +51,6 @@ exports.CompanySettings = core.serialization.object({
51
51
  isTpOnboardingSkipped: core.serialization.boolean(),
52
52
  autoApproveTimeOffRequests: core.serialization.boolean(),
53
53
  isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
54
- processingDays: core.serialization.number(),
54
+ active: core.serialization.boolean().optional(),
55
+ autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
55
56
  });
@@ -22,5 +22,7 @@ export declare namespace Flags {
22
22
  customContract?: CustomContract.Raw | null;
23
23
  autoPayExposed: boolean;
24
24
  mfaEnabled: boolean;
25
+ separateRevenue?: boolean | null;
26
+ chargeActiveWorkersMonthly?: boolean | null;
25
27
  }
26
28
  }
@@ -54,4 +54,6 @@ exports.Flags = core.serialization.object({
54
54
  customContract: CustomContract_1.CustomContract.optional(),
55
55
  autoPayExposed: core.serialization.boolean(),
56
56
  mfaEnabled: core.serialization.boolean(),
57
+ separateRevenue: core.serialization.boolean().optional(),
58
+ chargeActiveWorkersMonthly: core.serialization.boolean().optional(),
57
59
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease3524-dev-2";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease3524-production";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease3524-dev-2";
4
+ exports.SDK_VERSION = "0.0.1-prerelease3524-production";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease3524-dev-2",
3
+ "version": "0.0.1-prerelease3524-production",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -8823,6 +8823,71 @@ await client.api.thera.misc.misc.autoPayCron({
8823
8823
  </dl>
8824
8824
  </details>
8825
8825
 
8826
+ <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">distributeTpPayrollAccountCron</a>({ ...params }) -> void</code></summary>
8827
+ <dl>
8828
+ <dd>
8829
+
8830
+ #### 📝 Description
8831
+
8832
+ <dl>
8833
+ <dd>
8834
+
8835
+ <dl>
8836
+ <dd>
8837
+
8838
+ Calling this API will trigger automatic distribution of Tp payroll amount to omnibus.
8839
+
8840
+ </dd>
8841
+ </dl>
8842
+ </dd>
8843
+ </dl>
8844
+
8845
+ #### 🔌 Usage
8846
+
8847
+ <dl>
8848
+ <dd>
8849
+
8850
+ <dl>
8851
+ <dd>
8852
+
8853
+ ```typescript
8854
+ await client.api.thera.misc.misc.distributeTpPayrollAccountCron({
8855
+ theraWebhookSignatureHeader: "string",
8856
+ });
8857
+ ```
8858
+
8859
+ </dd>
8860
+ </dl>
8861
+ </dd>
8862
+ </dl>
8863
+
8864
+ #### ⚙️ Parameters
8865
+
8866
+ <dl>
8867
+ <dd>
8868
+
8869
+ <dl>
8870
+ <dd>
8871
+
8872
+ **request:** `TheraApi.api.thera.misc.DistributeTpPayrollAccountCronRequest`
8873
+
8874
+ </dd>
8875
+ </dl>
8876
+
8877
+ <dl>
8878
+ <dd>
8879
+
8880
+ **requestOptions:** `Misc.RequestOptions`
8881
+
8882
+ </dd>
8883
+ </dl>
8884
+ </dd>
8885
+ </dl>
8886
+
8887
+ </dd>
8888
+ </dl>
8889
+ </details>
8890
+
8826
8891
  <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
8827
8892
  <dl>
8828
8893
  <dd>
@@ -36,7 +36,6 @@ export declare namespace Company {
36
36
  phoneNumber: string;
37
37
  subscriptionPricing?: SubscriptionPricing.Raw | null;
38
38
  fastPayments: boolean;
39
- advancedPayments: boolean;
40
39
  theraBanking?: boolean | null;
41
40
  flags: Flags.Raw;
42
41
  settings: CompanySettings.Raw;
@@ -68,7 +68,6 @@ exports.Company = core.serialization.object({
68
68
  phoneNumber: core.serialization.string(),
69
69
  subscriptionPricing: SubscriptionPricing_1.SubscriptionPricing.optional(),
70
70
  fastPayments: core.serialization.boolean(),
71
- advancedPayments: core.serialization.boolean(),
72
71
  theraBanking: core.serialization.boolean().optional(),
73
72
  flags: Flags_1.Flags,
74
73
  settings: CompanySettings_1.CompanySettings,
@@ -19,6 +19,7 @@ export declare namespace CompanySettings {
19
19
  isTpOnboardingSkipped: boolean;
20
20
  autoApproveTimeOffRequests: boolean;
21
21
  isKYCMandated: boolean;
22
- processingDays: number;
22
+ active?: boolean | null;
23
+ autoPayAheadOfHolidaysWeekends?: boolean | null;
23
24
  }
24
25
  }
@@ -51,5 +51,6 @@ exports.CompanySettings = core.serialization.object({
51
51
  isTpOnboardingSkipped: core.serialization.boolean(),
52
52
  autoApproveTimeOffRequests: core.serialization.boolean(),
53
53
  isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
54
- processingDays: core.serialization.number(),
54
+ active: core.serialization.boolean().optional(),
55
+ autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
55
56
  });
@@ -22,5 +22,7 @@ export declare namespace Flags {
22
22
  customContract?: CustomContract.Raw | null;
23
23
  autoPayExposed: boolean;
24
24
  mfaEnabled: boolean;
25
+ separateRevenue?: boolean | null;
26
+ chargeActiveWorkersMonthly?: boolean | null;
25
27
  }
26
28
  }
@@ -54,4 +54,6 @@ exports.Flags = core.serialization.object({
54
54
  customContract: CustomContract_1.CustomContract.optional(),
55
55
  autoPayExposed: core.serialization.boolean(),
56
56
  mfaEnabled: core.serialization.boolean(),
57
+ separateRevenue: core.serialization.boolean().optional(),
58
+ chargeActiveWorkersMonthly: core.serialization.boolean().optional(),
57
59
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease3524-dev-2";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease3524-production";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease3524-dev-2";
4
+ exports.SDK_VERSION = "0.0.1-prerelease3524-production";