@thera-hr/api-sdk 0.0.1-prerelease3534-dev-3 → 0.0.1-prerelease3534-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 (118) 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/index.d.ts +1 -0
  22. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  23. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  24. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  25. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  26. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  27. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  28. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +15 -38
  29. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +26 -187
  30. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +15 -1
  31. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +0 -1
  32. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +0 -3
  33. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +0 -3
  34. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  35. package/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +13 -2
  36. package/api/resources/db/resources/company/types/CompanySettings.d.ts +5 -0
  37. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  38. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  39. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  40. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  41. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  42. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +37 -37
  43. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  44. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  45. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  46. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  47. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  48. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  49. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  50. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  51. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  52. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  53. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  54. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +12 -0
  55. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +57 -8
  56. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.d.ts +12 -0
  57. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  58. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  59. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  60. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  61. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  62. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  63. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  64. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +15 -38
  65. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +26 -187
  66. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/AddCompanyBankingDetailsRequest.d.ts +15 -1
  67. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/index.d.ts +0 -1
  68. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +0 -3
  69. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +0 -3
  70. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  71. package/dist/api/resources/db/resources/company/types/CompanyBeneficiary.d.ts +13 -2
  72. package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +5 -0
  73. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +0 -3
  74. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +0 -3
  75. package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +5 -1
  76. package/dist/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +5 -1
  77. package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  78. package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
  79. package/dist/version.d.ts +1 -1
  80. package/dist/version.js +1 -1
  81. package/package.json +1 -1
  82. package/reference.md +80 -218
  83. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +0 -3
  84. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +0 -3
  85. package/serialization/resources/db/resources/company/types/CompanyBeneficiary.d.ts +5 -1
  86. package/serialization/resources/db/resources/company/types/CompanyBeneficiary.js +5 -1
  87. package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  88. package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
  89. package/version.d.ts +1 -1
  90. package/version.js +1 -1
  91. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +0 -16
  92. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +0 -22
  93. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +0 -9
  94. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +0 -5
  95. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +0 -14
  96. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +0 -5
  97. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.d.ts +0 -16
  98. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/requests/ListAchTransfersRequest.js +0 -5
  99. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +0 -22
  100. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +0 -5
  101. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +0 -9
  102. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +0 -5
  103. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +0 -14
  104. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +0 -5
  105. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +0 -28
  106. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +0 -59
  107. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +0 -15
  108. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +0 -46
  109. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +0 -20
  110. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +0 -51
  111. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.d.ts +0 -28
  112. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js +0 -59
  113. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.d.ts +0 -15
  114. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferListResponse.js +0 -46
  115. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.d.ts +0 -20
  116. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferSummary.js +0 -51
  117. /package/api/resources/api/resources/thera/resources/{tp/resources/tpApi/client/requests/ListAchTransfersRequest.js → misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js} +0 -0
  118. /package/{api/resources/api/resources/thera/resources/tp/resources/tpApi/types/AchTransferDetail.js → dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/DistributeTpPayrollAccountCronRequest.js} +0 -0
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>
@@ -12844,7 +12909,21 @@ await client.api.thera.tp.tpApi.addCompanyBankingDetails("string", {
12844
12909
  postalCode: "string",
12845
12910
  state: "string",
12846
12911
  },
12847
- tin: "string",
12912
+ citizenship: {
12913
+ key: "value",
12914
+ },
12915
+ tin: {
12916
+ key: "value",
12917
+ },
12918
+ identificationNumber: {
12919
+ key: "value",
12920
+ },
12921
+ identificationNumberType: {
12922
+ key: "value",
12923
+ },
12924
+ foreignIdDocumentS3Key: {
12925
+ key: "value",
12926
+ },
12848
12927
  ownershipPercentage: 1,
12849
12928
  title: "string",
12850
12929
  makeOrgAdmin: {
@@ -13643,223 +13722,6 @@ await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
13643
13722
  </dl>
13644
13723
  </details>
13645
13724
 
13646
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">listAchTransfers</a>(companyId, { ...params }) -> TheraApi.AchTransferListResponse</code></summary>
13647
- <dl>
13648
- <dd>
13649
-
13650
- #### 📝 Description
13651
-
13652
- <dl>
13653
- <dd>
13654
-
13655
- <dl>
13656
- <dd>
13657
-
13658
- Get a list of ACH transfers for a company with optional filtering. Use status parameter to filter by specific status (e.g., 'error', 'canceled', 'returned' for failed transfers)
13659
-
13660
- </dd>
13661
- </dl>
13662
- </dd>
13663
- </dl>
13664
-
13665
- #### 🔌 Usage
13666
-
13667
- <dl>
13668
- <dd>
13669
-
13670
- <dl>
13671
- <dd>
13672
-
13673
- ```typescript
13674
- await client.api.thera.tp.tpApi.listAchTransfers("string", {
13675
- status: "string",
13676
- fromDate: "string",
13677
- toDate: "string",
13678
- });
13679
- ```
13680
-
13681
- </dd>
13682
- </dl>
13683
- </dd>
13684
- </dl>
13685
-
13686
- #### ⚙️ Parameters
13687
-
13688
- <dl>
13689
- <dd>
13690
-
13691
- <dl>
13692
- <dd>
13693
-
13694
- **companyId:** `string`
13695
-
13696
- </dd>
13697
- </dl>
13698
-
13699
- <dl>
13700
- <dd>
13701
-
13702
- **request:** `TheraApi.api.thera.tp.ListAchTransfersRequest`
13703
-
13704
- </dd>
13705
- </dl>
13706
-
13707
- <dl>
13708
- <dd>
13709
-
13710
- **requestOptions:** `TpApi.RequestOptions`
13711
-
13712
- </dd>
13713
- </dl>
13714
- </dd>
13715
- </dl>
13716
-
13717
- </dd>
13718
- </dl>
13719
- </details>
13720
-
13721
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">getAchTransferDetails</a>(companyId, achId) -> TheraApi.AchTransferDetail</code></summary>
13722
- <dl>
13723
- <dd>
13724
-
13725
- #### 📝 Description
13726
-
13727
- <dl>
13728
- <dd>
13729
-
13730
- <dl>
13731
- <dd>
13732
-
13733
- Retrieve detailed information about a specific ACH transfer
13734
-
13735
- </dd>
13736
- </dl>
13737
- </dd>
13738
- </dl>
13739
-
13740
- #### 🔌 Usage
13741
-
13742
- <dl>
13743
- <dd>
13744
-
13745
- <dl>
13746
- <dd>
13747
-
13748
- ```typescript
13749
- await client.api.thera.tp.tpApi.getAchTransferDetails("string", "string");
13750
- ```
13751
-
13752
- </dd>
13753
- </dl>
13754
- </dd>
13755
- </dl>
13756
-
13757
- #### ⚙️ Parameters
13758
-
13759
- <dl>
13760
- <dd>
13761
-
13762
- <dl>
13763
- <dd>
13764
-
13765
- **companyId:** `string`
13766
-
13767
- </dd>
13768
- </dl>
13769
-
13770
- <dl>
13771
- <dd>
13772
-
13773
- **achId:** `string`
13774
-
13775
- </dd>
13776
- </dl>
13777
-
13778
- <dl>
13779
- <dd>
13780
-
13781
- **requestOptions:** `TpApi.RequestOptions`
13782
-
13783
- </dd>
13784
- </dl>
13785
- </dd>
13786
- </dl>
13787
-
13788
- </dd>
13789
- </dl>
13790
- </details>
13791
-
13792
- <details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">retryAchTransfer</a>(companyId, achId) -> TheraApi.AchTransferDetail</code></summary>
13793
- <dl>
13794
- <dd>
13795
-
13796
- #### 📝 Description
13797
-
13798
- <dl>
13799
- <dd>
13800
-
13801
- <dl>
13802
- <dd>
13803
-
13804
- Creates a new ACH transfer with the same parameters as a failed one
13805
-
13806
- </dd>
13807
- </dl>
13808
- </dd>
13809
- </dl>
13810
-
13811
- #### 🔌 Usage
13812
-
13813
- <dl>
13814
- <dd>
13815
-
13816
- <dl>
13817
- <dd>
13818
-
13819
- ```typescript
13820
- await client.api.thera.tp.tpApi.retryAchTransfer("string", "string");
13821
- ```
13822
-
13823
- </dd>
13824
- </dl>
13825
- </dd>
13826
- </dl>
13827
-
13828
- #### ⚙️ Parameters
13829
-
13830
- <dl>
13831
- <dd>
13832
-
13833
- <dl>
13834
- <dd>
13835
-
13836
- **companyId:** `string`
13837
-
13838
- </dd>
13839
- </dl>
13840
-
13841
- <dl>
13842
- <dd>
13843
-
13844
- **achId:** `string`
13845
-
13846
- </dd>
13847
- </dl>
13848
-
13849
- <dl>
13850
- <dd>
13851
-
13852
- **requestOptions:** `TpApi.RequestOptions`
13853
-
13854
- </dd>
13855
- </dl>
13856
- </dd>
13857
- </dl>
13858
-
13859
- </dd>
13860
- </dl>
13861
- </details>
13862
-
13863
13725
  ## User API
13864
13726
 
13865
13727
  <details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">setUserComplianceSetting</a>(userId, companyId, { ...params }) -> void</code></summary>
@@ -3,9 +3,6 @@ export * from "./GetIndustryCodesResponse";
3
3
  export * from "./IndustryCodes";
4
4
  export * from "./SubmitCompanyBeneficiariesResponse";
5
5
  export * from "./ProcessFundsTransfer";
6
- export * from "./AchTransferListResponse";
7
- export * from "./AchTransferSummary";
8
- export * from "./AchTransferDetail";
9
6
  export * from "./WithdrawalTheraCash";
10
7
  export * from "./WithdrawalAch";
11
8
  export * from "./WithdrawalWire";
@@ -19,9 +19,6 @@ __exportStar(require("./GetIndustryCodesResponse"), exports);
19
19
  __exportStar(require("./IndustryCodes"), exports);
20
20
  __exportStar(require("./SubmitCompanyBeneficiariesResponse"), exports);
21
21
  __exportStar(require("./ProcessFundsTransfer"), exports);
22
- __exportStar(require("./AchTransferListResponse"), exports);
23
- __exportStar(require("./AchTransferSummary"), exports);
24
- __exportStar(require("./AchTransferDetail"), exports);
25
22
  __exportStar(require("./WithdrawalTheraCash"), exports);
26
23
  __exportStar(require("./WithdrawalAch"), exports);
27
24
  __exportStar(require("./WithdrawalWire"), exports);
@@ -16,7 +16,11 @@ export declare namespace CompanyBeneficiary {
16
16
  phoneNumber: string;
17
17
  mailingAddress?: RequestAddress.Raw | null;
18
18
  physicalAddress: RequestAddress.Raw;
19
- tin: string;
19
+ citizenship?: string | null;
20
+ tin?: string | null;
21
+ identificationNumber?: string | null;
22
+ identificationNumberType?: string | null;
23
+ foreignIdDocumentS3Key?: string | null;
20
24
  ownershipPercentage: number;
21
25
  title: string;
22
26
  makeOrgAdmin?: boolean | null;
@@ -48,7 +48,11 @@ exports.CompanyBeneficiary = core.serialization.object({
48
48
  phoneNumber: core.serialization.string(),
49
49
  mailingAddress: RequestAddress_1.RequestAddress.optional(),
50
50
  physicalAddress: RequestAddress_1.RequestAddress,
51
- tin: core.serialization.string(),
51
+ citizenship: core.serialization.string().optional(),
52
+ tin: core.serialization.string().optional(),
53
+ identificationNumber: core.serialization.string().optional(),
54
+ identificationNumberType: core.serialization.string().optional(),
55
+ foreignIdDocumentS3Key: core.serialization.string().optional(),
52
56
  ownershipPercentage: core.serialization.number(),
53
57
  title: core.serialization.string(),
54
58
  makeOrgAdmin: core.serialization.boolean().optional(),
@@ -20,5 +20,6 @@ export declare namespace CompanySettings {
20
20
  autoApproveTimeOffRequests: boolean;
21
21
  isKYCMandated: boolean;
22
22
  active?: boolean | null;
23
+ autoPayAheadOfHolidaysWeekends?: boolean | null;
23
24
  }
24
25
  }
@@ -52,4 +52,5 @@ exports.CompanySettings = core.serialization.object({
52
52
  autoApproveTimeOffRequests: core.serialization.boolean(),
53
53
  isKycMandated: core.serialization.property("isKYCMandated", core.serialization.boolean()),
54
54
  active: core.serialization.boolean().optional(),
55
+ autoPayAheadOfHolidaysWeekends: core.serialization.boolean().optional(),
55
56
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease3534-dev-3";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease3534-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-prerelease3534-dev-3";
4
+ exports.SDK_VERSION = "0.0.1-prerelease3534-production";
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * status: "string",
8
- * fromDate: "string",
9
- * toDate: "string"
10
- * }
11
- */
12
- export interface ListAchTransfersRequest {
13
- status?: string;
14
- fromDate?: string;
15
- toDate?: string;
16
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AchTransferDetail {
5
- id: string;
6
- status: string;
7
- amount: string;
8
- description?: string;
9
- createdAt?: string;
10
- error?: string;
11
- updatedAt?: string;
12
- service?: string;
13
- accountId: string;
14
- counterpartyId: string;
15
- direction: string;
16
- secCode: string;
17
- scheduledSettlement?: string;
18
- bankId?: string;
19
- orgId?: string;
20
- userdata?: Record<string, unknown>;
21
- bankdata?: Record<string, unknown>;
22
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface AchTransferListResponse {
6
- data: TheraApi.api.thera.tp.AchTransferSummary[];
7
- totalCount: number;
8
- failedCount?: number;
9
- }
@@ -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,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AchTransferSummary {
5
- id: string;
6
- status: string;
7
- amount: string;
8
- createdAt: string;
9
- error?: string;
10
- accountId: string;
11
- counterpartyId: string;
12
- direction: string;
13
- service: string;
14
- }
@@ -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,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * status: "string",
8
- * fromDate: "string",
9
- * toDate: "string"
10
- * }
11
- */
12
- export interface ListAchTransfersRequest {
13
- status?: string;
14
- fromDate?: string;
15
- toDate?: string;
16
- }
@@ -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,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AchTransferDetail {
5
- id: string;
6
- status: string;
7
- amount: string;
8
- description?: string;
9
- createdAt?: string;
10
- error?: string;
11
- updatedAt?: string;
12
- service?: string;
13
- accountId: string;
14
- counterpartyId: string;
15
- direction: string;
16
- secCode: string;
17
- scheduledSettlement?: string;
18
- bankId?: string;
19
- orgId?: string;
20
- userdata?: Record<string, unknown>;
21
- bankdata?: Record<string, unknown>;
22
- }
@@ -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,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface AchTransferListResponse {
6
- data: TheraApi.api.thera.tp.AchTransferSummary[];
7
- totalCount: number;
8
- failedCount?: number;
9
- }
@@ -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,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface AchTransferSummary {
5
- id: string;
6
- status: string;
7
- amount: string;
8
- createdAt: string;
9
- error?: string;
10
- accountId: string;
11
- counterpartyId: string;
12
- direction: string;
13
- service: string;
14
- }
@@ -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,28 +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 AchTransferDetail: core.serialization.ObjectSchema<serializers.api.thera.tp.AchTransferDetail.Raw, TheraApi.api.thera.tp.AchTransferDetail>;
8
- export declare namespace AchTransferDetail {
9
- interface Raw {
10
- id: string;
11
- status: string;
12
- amount: string;
13
- description?: string | null;
14
- createdAt?: string | null;
15
- error?: string | null;
16
- updatedAt?: string | null;
17
- service?: string | null;
18
- accountId: string;
19
- counterpartyId: string;
20
- direction: string;
21
- secCode: string;
22
- scheduledSettlement?: string | null;
23
- bankId?: string | null;
24
- orgId?: string | null;
25
- userdata?: Record<string, unknown> | null;
26
- bankdata?: Record<string, unknown> | null;
27
- }
28
- }
@@ -1,59 +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.AchTransferDetail = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.AchTransferDetail = core.serialization.object({
42
- id: core.serialization.string(),
43
- status: core.serialization.string(),
44
- amount: core.serialization.string(),
45
- description: core.serialization.string().optional(),
46
- createdAt: core.serialization.string().optional(),
47
- error: core.serialization.string().optional(),
48
- updatedAt: core.serialization.string().optional(),
49
- service: core.serialization.string().optional(),
50
- accountId: core.serialization.string(),
51
- counterpartyId: core.serialization.string(),
52
- direction: core.serialization.string(),
53
- secCode: core.serialization.string(),
54
- scheduledSettlement: core.serialization.string().optional(),
55
- bankId: core.serialization.string().optional(),
56
- orgId: core.serialization.string().optional(),
57
- userdata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
58
- bankdata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
59
- });
@@ -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 { AchTransferSummary } from "./AchTransferSummary";
8
- export declare const AchTransferListResponse: core.serialization.ObjectSchema<serializers.api.thera.tp.AchTransferListResponse.Raw, TheraApi.api.thera.tp.AchTransferListResponse>;
9
- export declare namespace AchTransferListResponse {
10
- interface Raw {
11
- data: AchTransferSummary.Raw[];
12
- totalCount: number;
13
- failedCount?: number | null;
14
- }
15
- }