@thera-hr/api-sdk 0.0.1644 → 0.0.1668

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 (187) hide show
  1. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  2. package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  3. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  4. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +5 -0
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +5 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
  15. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
  16. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
  17. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
  18. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
  19. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  20. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  21. package/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
  22. package/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  23. package/{dist/api/resources/api/resources/thera/resources/address → api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  24. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
  25. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  26. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  27. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  28. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +2 -2
  29. package/api/resources/api/resources/thera/resources/index.d.ts +1 -1
  30. package/api/resources/api/resources/thera/resources/index.js +2 -2
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  32. package/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
  33. package/api/resources/db/resources/user/types/BankTransfer.js +5 -0
  34. package/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  35. package/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
  36. package/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
  37. package/api/resources/db/resources/user/types/index.d.ts +2 -0
  38. package/api/resources/db/resources/user/types/index.js +2 -0
  39. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  40. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  41. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  42. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +96 -4
  43. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +7 -0
  44. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +5 -0
  45. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +9 -0
  46. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +5 -0
  47. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +8 -0
  48. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +5 -0
  49. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +8 -0
  50. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +5 -0
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +18 -0
  52. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +5 -0
  53. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +8 -0
  54. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +5 -0
  55. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +7 -0
  56. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +5 -0
  57. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +11 -0
  58. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +5 -0
  59. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  60. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  61. package/dist/api/resources/api/resources/thera/resources/common/resources/common/types/Address.js +5 -0
  62. package/dist/api/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  63. package/{serialization/resources/api/resources/thera/resources/address → dist/api/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  64. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +1 -1
  65. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  66. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  67. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  68. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +2 -2
  69. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -1
  70. package/dist/api/resources/api/resources/thera/resources/index.js +2 -2
  71. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  72. package/dist/api/resources/db/resources/user/types/BankTransfer.d.ts +12 -0
  73. package/dist/api/resources/db/resources/user/types/BankTransfer.js +5 -0
  74. package/dist/api/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  75. package/dist/api/resources/db/resources/user/types/WithdrawalMethod.d.ts +10 -0
  76. package/dist/api/resources/db/resources/user/types/WithdrawalMethod.js +5 -0
  77. package/dist/api/resources/db/resources/user/types/index.d.ts +2 -0
  78. package/dist/api/resources/db/resources/user/types/index.js +2 -0
  79. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
  80. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
  81. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
  82. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
  83. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
  84. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
  85. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
  86. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
  87. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
  88. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
  89. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
  90. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
  91. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
  92. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
  93. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
  94. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
  95. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
  96. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
  97. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
  98. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
  99. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
  100. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
  101. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  102. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  103. package/{serialization/resources/api/resources/thera/resources/address/resources/address → dist/serialization/resources/api/resources/thera/resources/common/resources/common}/types/Address.d.ts +1 -1
  104. package/dist/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  105. package/{api/resources/api/resources/thera/resources/address → dist/serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  106. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
  107. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -2
  108. package/dist/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
  109. package/dist/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
  110. package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  111. package/dist/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
  112. package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
  113. package/dist/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
  114. package/dist/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  115. package/dist/serialization/resources/db/resources/user/types/index.js +2 -0
  116. package/package.json +1 -1
  117. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.d.ts +10 -0
  118. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/getSupportedWithdrawalMethods.js +40 -0
  119. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +1 -0
  120. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +27 -0
  121. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.d.ts +1 -0
  122. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/index.js +1 -0
  123. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.d.ts +12 -0
  124. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js +42 -0
  125. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.d.ts +14 -0
  126. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js +44 -0
  127. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.d.ts +14 -0
  128. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ValidationAsyncParam.js +35 -0
  129. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.d.ts +13 -0
  130. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodField.js +43 -0
  131. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.d.ts +23 -0
  132. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodGroup.js +53 -0
  133. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.d.ts +13 -0
  134. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValidationAsync.js +43 -0
  135. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.d.ts +13 -0
  136. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodValuesAllowed.js +34 -0
  137. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +16 -0
  138. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +46 -0
  139. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +8 -0
  140. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +8 -0
  141. package/{dist/serialization/resources/api/resources/thera/resources/address/resources/address → serialization/resources/api/resources/thera/resources/common/resources/common}/types/Address.d.ts +1 -1
  142. package/serialization/resources/api/resources/thera/resources/common/resources/index.d.ts +2 -0
  143. package/{dist/serialization/resources/api/resources/thera/resources/address → serialization/resources/api/resources/thera/resources/common}/resources/index.js +3 -3
  144. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -1
  145. package/serialization/resources/api/resources/thera/resources/index.js +2 -2
  146. package/serialization/resources/db/resources/user/types/BankTransfer.d.ts +17 -0
  147. package/serialization/resources/db/resources/user/types/BankTransfer.js +47 -0
  148. package/serialization/resources/db/resources/user/types/EmployeeInformation.d.ts +2 -1
  149. package/serialization/resources/db/resources/user/types/EmployeeInformation.js +2 -1
  150. package/serialization/resources/db/resources/user/types/WithdrawalMethod.d.ts +13 -0
  151. package/serialization/resources/db/resources/user/types/WithdrawalMethod.js +47 -0
  152. package/serialization/resources/db/resources/user/types/index.d.ts +2 -0
  153. package/serialization/resources/db/resources/user/types/index.js +2 -0
  154. package/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  155. package/dist/api/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  156. package/dist/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  157. package/serialization/resources/api/resources/thera/resources/address/resources/index.d.ts +0 -2
  158. /package/api/resources/api/resources/thera/resources/{address/resources/address/types/Address.js → bank/resources/bankApi/types/SaveWithdrawalMethodResponse.js} +0 -0
  159. /package/{dist/api/resources/api/resources/thera/resources/address/resources/address/types/Address.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SingleWithdrawalMethodResponse.js} +0 -0
  160. /package/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  161. /package/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  162. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  163. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  164. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
  165. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  166. /package/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  167. /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  168. /package/dist/api/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  169. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  170. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  171. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.d.ts +0 -0
  172. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  173. /package/dist/api/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  174. /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  175. /package/dist/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  176. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  177. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  178. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
  179. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  180. /package/dist/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
  181. /package/serialization/resources/api/resources/thera/resources/{address → common}/index.d.ts +0 -0
  182. /package/serialization/resources/api/resources/thera/resources/{address → common}/index.js +0 -0
  183. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.d.ts +0 -0
  184. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/index.js +0 -0
  185. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/Address.js +0 -0
  186. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.d.ts +0 -0
  187. /package/serialization/resources/api/resources/thera/resources/{address/resources/address → common/resources/common}/types/index.js +0 -0
@@ -56,7 +56,7 @@ class File_ {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.1644",
59
+ "X-Fern-SDK-Version": "0.0.1668",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class File_ {
97
97
  Authorization: yield this._getAuthorizationHeader(),
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
100
- "X-Fern-SDK-Version": "0.0.1644",
100
+ "X-Fern-SDK-Version": "0.0.1668",
101
101
  },
102
102
  contentType: "application/json",
103
103
  body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class File_ {
138
138
  Authorization: yield this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
141
- "X-Fern-SDK-Version": "0.0.1644",
141
+ "X-Fern-SDK-Version": "0.0.1668",
142
142
  },
143
143
  contentType: "application/json",
144
144
  timeoutMs: 60000,
@@ -181,7 +181,7 @@ class File_ {
181
181
  Authorization: yield this._getAuthorizationHeader(),
182
182
  "X-Fern-Language": "JavaScript",
183
183
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
184
- "X-Fern-SDK-Version": "0.0.1644",
184
+ "X-Fern-SDK-Version": "0.0.1668",
185
185
  },
186
186
  contentType: "application/json",
187
187
  timeoutMs: 60000,
@@ -56,7 +56,7 @@ class Invoices {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.1644",
59
+ "X-Fern-SDK-Version": "0.0.1668",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
@@ -28,5 +28,7 @@ export declare class BankApi {
28
28
  * Verify Microdeposit for company's bank account during W2 onboarding for Zeal API
29
29
  */
30
30
  verifyMicrodeposit(request: TheraApi.api.thera.bank.VerifyMicrodepositRequest): Promise<void>;
31
+ getSupportedWithdrawalMethods(request: TheraApi.api.thera.bank.WithdrawalMethodsRequest): Promise<TheraApi.api.thera.bank.SingleWithdrawalMethodResponse[]>;
32
+ saveWithdrawalMethod(userId: string, request: TheraApi.api.thera.bank.WithdrawalMethodsRequest): Promise<TheraApi.api.thera.bank.SaveWithdrawalMethodResponse>;
31
33
  protected _getAuthorizationHeader(): Promise<string | undefined>;
32
34
  }
@@ -65,7 +65,7 @@ class BankApi {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
68
- "X-Fern-SDK-Version": "0.0.1644",
68
+ "X-Fern-SDK-Version": "0.0.1668",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -112,7 +112,7 @@ class BankApi {
112
112
  Authorization: yield this._getAuthorizationHeader(),
113
113
  "X-Fern-Language": "JavaScript",
114
114
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
115
- "X-Fern-SDK-Version": "0.0.1644",
115
+ "X-Fern-SDK-Version": "0.0.1668",
116
116
  },
117
117
  contentType: "application/json",
118
118
  body: yield serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
@@ -156,7 +156,7 @@ class BankApi {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
159
- "X-Fern-SDK-Version": "0.0.1644",
159
+ "X-Fern-SDK-Version": "0.0.1668",
160
160
  },
161
161
  contentType: "application/json",
162
162
  timeoutMs: 60000,
@@ -197,7 +197,7 @@ class BankApi {
197
197
  Authorization: yield this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
200
- "X-Fern-SDK-Version": "0.0.1644",
200
+ "X-Fern-SDK-Version": "0.0.1668",
201
201
  },
202
202
  contentType: "application/json",
203
203
  body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
@@ -229,6 +229,98 @@ class BankApi {
229
229
  }
230
230
  });
231
231
  }
232
+ getSupportedWithdrawalMethods(request) {
233
+ return __awaiter(this, void 0, void 0, function* () {
234
+ const _response = yield core.fetcher({
235
+ url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "worker/supported-withdrawal-methods"),
236
+ method: "POST",
237
+ headers: {
238
+ Authorization: yield this._getAuthorizationHeader(),
239
+ "X-Fern-Language": "JavaScript",
240
+ "X-Fern-SDK-Name": "@thera-hr/api-sdk",
241
+ "X-Fern-SDK-Version": "0.0.1668",
242
+ },
243
+ contentType: "application/json",
244
+ body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
245
+ unrecognizedObjectKeys: "strip",
246
+ }),
247
+ timeoutMs: 60000,
248
+ });
249
+ if (_response.ok) {
250
+ return yield serializers.api.thera.bank.bankApi.getSupportedWithdrawalMethods.Response.parseOrThrow(_response.body, {
251
+ unrecognizedObjectKeys: "passthrough",
252
+ allowUnrecognizedUnionMembers: true,
253
+ allowUnrecognizedEnumValues: true,
254
+ breadcrumbsPrefix: ["response"],
255
+ });
256
+ }
257
+ if (_response.error.reason === "status-code") {
258
+ throw new errors.TheraApiError({
259
+ statusCode: _response.error.statusCode,
260
+ body: _response.error.body,
261
+ });
262
+ }
263
+ switch (_response.error.reason) {
264
+ case "non-json":
265
+ throw new errors.TheraApiError({
266
+ statusCode: _response.error.statusCode,
267
+ body: _response.error.rawBody,
268
+ });
269
+ case "timeout":
270
+ throw new errors.TheraApiTimeoutError();
271
+ case "unknown":
272
+ throw new errors.TheraApiError({
273
+ message: _response.error.errorMessage,
274
+ });
275
+ }
276
+ });
277
+ }
278
+ saveWithdrawalMethod(userId, request) {
279
+ return __awaiter(this, void 0, void 0, function* () {
280
+ const _response = yield core.fetcher({
281
+ url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `worker/${userId}/withdrawal-method`),
282
+ method: "POST",
283
+ headers: {
284
+ Authorization: yield this._getAuthorizationHeader(),
285
+ "X-Fern-Language": "JavaScript",
286
+ "X-Fern-SDK-Name": "@thera-hr/api-sdk",
287
+ "X-Fern-SDK-Version": "0.0.1668",
288
+ },
289
+ contentType: "application/json",
290
+ body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
291
+ unrecognizedObjectKeys: "strip",
292
+ }),
293
+ timeoutMs: 60000,
294
+ });
295
+ if (_response.ok) {
296
+ return yield serializers.api.thera.bank.SaveWithdrawalMethodResponse.parseOrThrow(_response.body, {
297
+ unrecognizedObjectKeys: "passthrough",
298
+ allowUnrecognizedUnionMembers: true,
299
+ allowUnrecognizedEnumValues: true,
300
+ breadcrumbsPrefix: ["response"],
301
+ });
302
+ }
303
+ if (_response.error.reason === "status-code") {
304
+ throw new errors.TheraApiError({
305
+ statusCode: _response.error.statusCode,
306
+ body: _response.error.body,
307
+ });
308
+ }
309
+ switch (_response.error.reason) {
310
+ case "non-json":
311
+ throw new errors.TheraApiError({
312
+ statusCode: _response.error.statusCode,
313
+ body: _response.error.rawBody,
314
+ });
315
+ case "timeout":
316
+ throw new errors.TheraApiTimeoutError();
317
+ case "unknown":
318
+ throw new errors.TheraApiError({
319
+ message: _response.error.errorMessage,
320
+ });
321
+ }
322
+ });
323
+ }
232
324
  _getAuthorizationHeader() {
233
325
  return __awaiter(this, void 0, void 0, function* () {
234
326
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface SaveWithdrawalMethodResponse {
6
+ withdrawalMethods: Record<string, TheraApi.db.WithdrawalMethod>;
7
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface SingleWithdrawalMethodResponse {
6
+ type: string;
7
+ title: string;
8
+ fields: TheraApi.api.thera.bank.WithdrawalMethodField[];
9
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ValidationAsyncParam {
5
+ key: string;
6
+ parameterName: string;
7
+ required: boolean;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface WithdrawalMethodField {
6
+ name: string;
7
+ group: TheraApi.api.thera.bank.WithdrawalMethodGroup[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface WithdrawalMethodGroup {
6
+ key: string;
7
+ name: string;
8
+ type: string;
9
+ refreshRequirementsOnChange: boolean;
10
+ required: boolean;
11
+ displayFormat: string;
12
+ example: string;
13
+ minLength: number;
14
+ maxLength: number;
15
+ validationRegexp: string;
16
+ validationAsync: TheraApi.api.thera.bank.WithdrawalMethodValidationAsync;
17
+ valuesAllowed: TheraApi.api.thera.bank.WithdrawalMethodValuesAllowed[];
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface WithdrawalMethodValidationAsync {
6
+ key: string;
7
+ params: TheraApi.api.thera.bank.ValidationAsyncParam[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WithdrawalMethodValuesAllowed {
5
+ key: string;
6
+ name: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../../../../..";
5
+ export interface WithdrawalMethodsRequest {
6
+ currency: string;
7
+ recipientAddress: TheraApi.api.thera.common.Address;
8
+ type: string;
9
+ accountHolderName: string;
10
+ details: Record<string, string>;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,3 +2,11 @@ export * from "./VerifyMicrodepositRequest";
2
2
  export * from "./VerifyAccountSignupRequest";
3
3
  export * from "./GetSandboxPublicKey";
4
4
  export * from "./GetBankAccountSignupKey";
5
+ export * from "./WithdrawalMethodsRequest";
6
+ export * from "./SingleWithdrawalMethodResponse";
7
+ export * from "./WithdrawalMethodField";
8
+ export * from "./WithdrawalMethodGroup";
9
+ export * from "./WithdrawalMethodValidationAsync";
10
+ export * from "./ValidationAsyncParam";
11
+ export * from "./WithdrawalMethodValuesAllowed";
12
+ export * from "./SaveWithdrawalMethodResponse";
@@ -18,3 +18,11 @@ __exportStar(require("./VerifyMicrodepositRequest"), exports);
18
18
  __exportStar(require("./VerifyAccountSignupRequest"), exports);
19
19
  __exportStar(require("./GetSandboxPublicKey"), exports);
20
20
  __exportStar(require("./GetBankAccountSignupKey"), exports);
21
+ __exportStar(require("./WithdrawalMethodsRequest"), exports);
22
+ __exportStar(require("./SingleWithdrawalMethodResponse"), exports);
23
+ __exportStar(require("./WithdrawalMethodField"), exports);
24
+ __exportStar(require("./WithdrawalMethodGroup"), exports);
25
+ __exportStar(require("./WithdrawalMethodValidationAsync"), exports);
26
+ __exportStar(require("./ValidationAsyncParam"), exports);
27
+ __exportStar(require("./WithdrawalMethodValuesAllowed"), exports);
28
+ __exportStar(require("./SaveWithdrawalMethodResponse"), exports);
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * as common from "./common";
2
+ export * from "./common/types";
@@ -26,6 +26,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.address = void 0;
30
- exports.address = __importStar(require("./address"));
31
- __exportStar(require("./address/types"), exports);
29
+ exports.common = void 0;
30
+ exports.common = __importStar(require("./common"));
31
+ __exportStar(require("./common/types"), exports);
@@ -65,7 +65,7 @@ class CompanyApi {
65
65
  Authorization: yield this._getAuthorizationHeader(),
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
68
- "X-Fern-SDK-Version": "0.0.1644",
68
+ "X-Fern-SDK-Version": "0.0.1668",
69
69
  },
70
70
  contentType: "application/json",
71
71
  queryParameters: _queryParams,
@@ -59,7 +59,7 @@ class CompanyW2PayrollApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.1644",
62
+ "X-Fern-SDK-Version": "0.0.1668",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
@@ -59,7 +59,7 @@ class DisbursementApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.1644",
62
+ "X-Fern-SDK-Version": "0.0.1668",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
@@ -103,7 +103,7 @@ class DisbursementApi {
103
103
  Authorization: yield this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
106
- "X-Fern-SDK-Version": "0.0.1644",
106
+ "X-Fern-SDK-Version": "0.0.1668",
107
107
  },
108
108
  contentType: "application/json",
109
109
  timeoutMs: 60000,
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
60
60
  Authorization: yield this._getAuthorizationHeader(),
61
61
  "X-Fern-Language": "JavaScript",
62
62
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
63
- "X-Fern-SDK-Version": "0.0.1644",
63
+ "X-Fern-SDK-Version": "0.0.1668",
64
64
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
65
65
  },
66
66
  contentType: "application/json",
@@ -59,7 +59,7 @@ class EmploymentApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.1644",
62
+ "X-Fern-SDK-Version": "0.0.1668",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -108,7 +108,7 @@ class EmploymentApi {
108
108
  Authorization: yield this._getAuthorizationHeader(),
109
109
  "X-Fern-Language": "JavaScript",
110
110
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
111
- "X-Fern-SDK-Version": "0.0.1644",
111
+ "X-Fern-SDK-Version": "0.0.1668",
112
112
  },
113
113
  contentType: "application/json",
114
114
  timeoutMs: 60000,
@@ -1,5 +1,5 @@
1
- export * as address from "./address";
2
1
  export * as bank from "./bank";
2
+ export * as common from "./common";
3
3
  export * as company from "./company";
4
4
  export * as disbursement from "./disbursement";
5
5
  export * as employment from "./employment";
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.payroll = exports.employment = exports.disbursement = exports.company = exports.bank = exports.address = void 0;
27
- exports.address = __importStar(require("./address"));
26
+ exports.payroll = exports.employment = exports.disbursement = exports.company = exports.common = exports.bank = void 0;
28
27
  exports.bank = __importStar(require("./bank"));
28
+ exports.common = __importStar(require("./common"));
29
29
  exports.company = __importStar(require("./company"));
30
30
  exports.disbursement = __importStar(require("./disbursement"));
31
31
  exports.employment = __importStar(require("./employment"));
@@ -59,7 +59,7 @@ class OncycleApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.1644",
62
+ "X-Fern-SDK-Version": "0.0.1668",
63
63
  },
64
64
  contentType: "application/json",
65
65
  timeoutMs: 60000,
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export interface BankTransfer {
6
+ recipientAddress: TheraApi.api.thera.common.Address;
7
+ currency: string;
8
+ methodType: string;
9
+ accountHolderName: string;
10
+ details: Record<string, string>;
11
+ wiseRecipientAccountId: number;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,8 @@ export interface EmployeeInformation {
7
7
  onboardingStatus: TheraApi.db.EmployeeOnboardingStatus;
8
8
  employeeOnboardingStatus: TheraApi.db.EmployeeOnboardingStatus;
9
9
  country: string;
10
- address: TheraApi.api.thera.address.Address;
10
+ address: TheraApi.api.thera.common.Address;
11
11
  complianceInformation: TheraApi.db.ComplianceInformation;
12
12
  w8BenFileS3Key: string;
13
+ withdrawalMethods: Record<string, TheraApi.db.WithdrawalMethod>;
13
14
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export declare type WithdrawalMethod = TheraApi.db.WithdrawalMethod.BankTransfer;
6
+ export declare namespace WithdrawalMethod {
7
+ interface BankTransfer extends TheraApi.db.BankTransfer {
8
+ type: "bankTransfer";
9
+ }
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,6 @@ export * from "./ComplianceDocument";
3
3
  export * from "./ComplianceInformation";
4
4
  export * from "./EmployeeOnboardingStatus";
5
5
  export * from "./EmployeeInformation";
6
+ export * from "./WithdrawalMethod";
7
+ export * from "./BankTransfer";
6
8
  export * from "./User";
@@ -19,4 +19,6 @@ __exportStar(require("./ComplianceDocument"), exports);
19
19
  __exportStar(require("./ComplianceInformation"), exports);
20
20
  __exportStar(require("./EmployeeOnboardingStatus"), exports);
21
21
  __exportStar(require("./EmployeeInformation"), exports);
22
+ __exportStar(require("./WithdrawalMethod"), exports);
23
+ __exportStar(require("./BankTransfer"), exports);
22
24
  __exportStar(require("./User"), exports);
@@ -56,7 +56,7 @@ class File_ {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.1644",
59
+ "X-Fern-SDK-Version": "0.0.1668",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class File_ {
97
97
  Authorization: yield this._getAuthorizationHeader(),
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
100
- "X-Fern-SDK-Version": "0.0.1644",
100
+ "X-Fern-SDK-Version": "0.0.1668",
101
101
  },
102
102
  contentType: "application/json",
103
103
  body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class File_ {
138
138
  Authorization: yield this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
141
- "X-Fern-SDK-Version": "0.0.1644",
141
+ "X-Fern-SDK-Version": "0.0.1668",
142
142
  },
143
143
  contentType: "application/json",
144
144
  timeoutMs: 60000,
@@ -181,7 +181,7 @@ class File_ {
181
181
  Authorization: yield this._getAuthorizationHeader(),
182
182
  "X-Fern-Language": "JavaScript",
183
183
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
184
- "X-Fern-SDK-Version": "0.0.1644",
184
+ "X-Fern-SDK-Version": "0.0.1668",
185
185
  },
186
186
  contentType: "application/json",
187
187
  timeoutMs: 60000,
@@ -56,7 +56,7 @@ class Invoices {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.1644",
59
+ "X-Fern-SDK-Version": "0.0.1668",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
@@ -28,5 +28,7 @@ export declare class BankApi {
28
28
  * Verify Microdeposit for company's bank account during W2 onboarding for Zeal API
29
29
  */
30
30
  verifyMicrodeposit(request: TheraApi.api.thera.bank.VerifyMicrodepositRequest): Promise<void>;
31
+ getSupportedWithdrawalMethods(request: TheraApi.api.thera.bank.WithdrawalMethodsRequest): Promise<TheraApi.api.thera.bank.SingleWithdrawalMethodResponse[]>;
32
+ saveWithdrawalMethod(userId: string, request: TheraApi.api.thera.bank.WithdrawalMethodsRequest): Promise<TheraApi.api.thera.bank.SaveWithdrawalMethodResponse>;
31
33
  protected _getAuthorizationHeader(): Promise<string | undefined>;
32
34
  }