@thera-hr/api-sdk 1.2.0-prerelease2400-dev-2 → 1.2.0-prerelease2413-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 (234) 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.d.ts +11 -57
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +62 -266
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -4
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  16. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  19. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  21. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  24. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  25. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  26. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  27. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  28. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  29. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  30. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  31. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  32. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  33. package/api/resources/db/resources/company/types/Company.d.ts +1 -0
  34. package/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +7 -0
  35. package/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +9 -0
  36. package/api/resources/db/resources/company/types/index.d.ts +2 -0
  37. package/api/resources/db/resources/company/types/index.js +2 -0
  38. package/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
  39. package/api/resources/db/resources/index.d.ts +2 -0
  40. package/api/resources/db/resources/index.js +3 -1
  41. package/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
  42. package/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
  43. package/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +9 -0
  44. package/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +11 -0
  45. package/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  46. package/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  47. package/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
  48. package/api/resources/db/resources/payoutQueue/index.js +17 -0
  49. package/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
  50. package/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
  51. package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
  52. package/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
  53. package/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
  54. package/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
  55. package/api/resources/db/resources/payoutQueue/types/index.js +19 -0
  56. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  57. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  58. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  59. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  60. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  61. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +11 -57
  62. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +62 -266
  63. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
  64. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -4
  65. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
  66. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
  67. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
  68. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
  69. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
  71. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  72. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  73. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  74. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  75. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  76. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  77. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  79. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
  80. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
  81. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  82. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
  83. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  84. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
  85. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  86. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
  87. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  88. package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
  89. package/dist/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +7 -0
  90. package/dist/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +9 -0
  91. package/dist/api/resources/db/resources/company/types/index.d.ts +2 -0
  92. package/dist/api/resources/db/resources/company/types/index.js +2 -0
  93. package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
  94. package/dist/api/resources/db/resources/index.d.ts +2 -0
  95. package/dist/api/resources/db/resources/index.js +3 -1
  96. package/dist/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
  97. package/dist/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
  98. package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +9 -0
  99. package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +11 -0
  100. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  101. package/dist/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  102. package/dist/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
  103. package/dist/api/resources/db/resources/payoutQueue/index.js +17 -0
  104. package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
  105. package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
  106. package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
  107. package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
  108. package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
  109. package/dist/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
  110. package/dist/api/resources/db/resources/payoutQueue/types/index.js +19 -0
  111. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
  112. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
  113. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
  114. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{ExportedInvoiceDeduction.js → GetWorkerTransactionsRangeResponse.js} +5 -6
  115. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
  116. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
  117. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  118. package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
  119. package/dist/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +13 -0
  120. package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js → db/resources/company/types/StripeAccountInfo.js} +6 -4
  121. package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +15 -0
  122. package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +46 -0
  123. package/dist/serialization/resources/db/resources/company/types/index.d.ts +2 -0
  124. package/dist/serialization/resources/db/resources/company/types/index.js +2 -0
  125. package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
  126. package/dist/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
  127. package/dist/serialization/resources/db/resources/index.d.ts +2 -0
  128. package/dist/serialization/resources/db/resources/index.js +3 -1
  129. package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
  130. package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +1 -0
  131. package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
  132. package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +4 -0
  133. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +10 -0
  134. package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/paymentMethod/types/StripeAccountType.js} +3 -3
  135. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  136. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  137. package/dist/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
  138. package/dist/serialization/resources/db/resources/payoutQueue/index.js +17 -0
  139. package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
  140. package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
  141. package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
  142. package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
  143. package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
  144. package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
  145. package/dist/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
  146. package/dist/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +1 -1
  150. package/reference.md +11 -258
  151. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
  152. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
  153. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
  154. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{ExportedInvoiceDeduction.js → GetWorkerTransactionsRangeResponse.js} +5 -6
  155. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
  156. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
  157. package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  158. package/serialization/resources/db/resources/company/types/Company.js +2 -0
  159. package/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +13 -0
  160. package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js → serialization/resources/db/resources/company/types/StripeAccountInfo.js} +6 -4
  161. package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +15 -0
  162. package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +46 -0
  163. package/serialization/resources/db/resources/company/types/index.d.ts +2 -0
  164. package/serialization/resources/db/resources/company/types/index.js +2 -0
  165. package/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
  166. package/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
  167. package/serialization/resources/db/resources/index.d.ts +2 -0
  168. package/serialization/resources/db/resources/index.js +3 -1
  169. package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
  170. package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +1 -0
  171. package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
  172. package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +4 -0
  173. package/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +10 -0
  174. package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/paymentMethod/types/StripeAccountType.js} +3 -3
  175. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  176. package/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  177. package/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
  178. package/serialization/resources/db/resources/payoutQueue/index.js +17 -0
  179. package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
  180. package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
  181. package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
  182. package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
  183. package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
  184. package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
  185. package/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
  186. package/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
  187. package/version.d.ts +1 -1
  188. package/version.js +1 -1
  189. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
  190. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
  191. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
  192. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
  193. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  194. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  195. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  196. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
  197. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
  198. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
  199. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
  200. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js +0 -5
  201. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
  202. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
  203. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
  204. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
  205. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
  206. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
  207. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
  208. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
  209. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
  210. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
  211. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  212. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  213. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  214. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  215. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
  216. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
  217. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
  218. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
  219. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
  220. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
  221. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
  222. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
  223. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
  224. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
  225. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerInvoicesCsvRequest.js → GetWorkerTransactionsRangeRequest.js} +0 -0
  226. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests/ExportWorkerInvoicesJsonRequest.js → types/GetWorkerTransactionsRangeResponse.js} +0 -0
  227. /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js → db/resources/company/types/StripeAccountInfo.js} +0 -0
  228. /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js → db/resources/company/types/StripeMultipleAccountCustomerInfo.js} +0 -0
  229. /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js → db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
  230. /package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js} +0 -0
  231. /package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js} +0 -0
  232. /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js → db/resources/company/types/StripeAccountInfo.js} +0 -0
  233. /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js → db/resources/company/types/StripeMultipleAccountCustomerInfo.js} +0 -0
  234. /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js → db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Response = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- const ExportedInvoice_1 = require("../types/ExportedInvoice");
42
- exports.Response = core.serialization.list(ExportedInvoice_1.ExportedInvoice);
39
+ exports.StripeAccountInfo = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.StripeAccountInfo = core.serialization.object({
42
+ stripeCustomerId: core.serialization.string(),
43
+ defaultPaymentMethodId: core.serialization.string(),
44
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as TheraApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { StripeAccountInfo } from "./StripeAccountInfo";
8
+ export declare const StripeMultipleAccountCustomerInfo: core.serialization.ObjectSchema<serializers.db.StripeMultipleAccountCustomerInfo.Raw, TheraApi.db.StripeMultipleAccountCustomerInfo>;
9
+ export declare namespace StripeMultipleAccountCustomerInfo {
10
+ interface Raw {
11
+ mainAccount: StripeAccountInfo.Raw;
12
+ revenueAccount: StripeAccountInfo.Raw;
13
+ eorAccount: StripeAccountInfo.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.StripeMultipleAccountCustomerInfo = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StripeAccountInfo_1 = require("./StripeAccountInfo");
42
+ exports.StripeMultipleAccountCustomerInfo = core.serialization.object({
43
+ mainAccount: StripeAccountInfo_1.StripeAccountInfo,
44
+ revenueAccount: StripeAccountInfo_1.StripeAccountInfo,
45
+ eorAccount: StripeAccountInfo_1.StripeAccountInfo,
46
+ });
@@ -53,3 +53,5 @@ export * from "./HolidayDate";
53
53
  export * from "./UserHolidaysResponse";
54
54
  export * from "./AssociateUsersToHolidayPolicyResponse";
55
55
  export * from "./DeleteCustomHolidayResponse";
56
+ export * from "./StripeMultipleAccountCustomerInfo";
57
+ export * from "./StripeAccountInfo";
@@ -69,3 +69,5 @@ __exportStar(require("./HolidayDate"), exports);
69
69
  __exportStar(require("./UserHolidaysResponse"), exports);
70
70
  __exportStar(require("./AssociateUsersToHolidayPolicyResponse"), exports);
71
71
  __exportStar(require("./DeleteCustomHolidayResponse"), exports);
72
+ __exportStar(require("./StripeMultipleAccountCustomerInfo"), exports);
73
+ __exportStar(require("./StripeAccountInfo"), exports);
@@ -9,6 +9,7 @@ export declare const GenericType: core.serialization.ObjectSchema<serializers.db
9
9
  export declare namespace GenericType {
10
10
  interface Raw {
11
11
  key: GenericTypeKey.Raw;
12
+ processPayouts: boolean;
12
13
  fxLedgerAccountIdByCurrency: Record<string, string>;
13
14
  stripeFxAccountIdByCurrency: Record<string, string>;
14
15
  theraApAccountIdByCurrency: Record<string, string>;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
41
41
  const GenericTypeKey_1 = require("./GenericTypeKey");
42
42
  exports.GenericType = core.serialization.object({
43
43
  key: GenericTypeKey_1.GenericTypeKey,
44
+ processPayouts: core.serialization.boolean(),
44
45
  fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
45
46
  stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
46
47
  theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
@@ -16,5 +16,7 @@ export * as migrations from "./migrations";
16
16
  export * from "./migrations/types";
17
17
  export * as paymentMethod from "./paymentMethod";
18
18
  export * from "./paymentMethod/types";
19
+ export * as payoutQueue from "./payoutQueue";
20
+ export * from "./payoutQueue/types";
19
21
  export * as user from "./user";
20
22
  export * from "./user/types";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
39
+ exports.user = exports.payoutQueue = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
40
40
  exports.company = __importStar(require("./company"));
41
41
  __exportStar(require("./company/types"), exports);
42
42
  exports.contract = __importStar(require("./contract"));
@@ -55,5 +55,7 @@ exports.migrations = __importStar(require("./migrations"));
55
55
  __exportStar(require("./migrations/types"), exports);
56
56
  exports.paymentMethod = __importStar(require("./paymentMethod"));
57
57
  __exportStar(require("./paymentMethod/types"), exports);
58
+ exports.payoutQueue = __importStar(require("./payoutQueue"));
59
+ __exportStar(require("./payoutQueue/types"), exports);
58
60
  exports.user = __importStar(require("./user"));
59
61
  __exportStar(require("./user/types"), exports);
@@ -18,5 +18,6 @@ export declare namespace CompanyPaymentMethod {
18
18
  details: PaymentMethodDetails.Raw;
19
19
  deletionDetails?: CompanyPaymentMethodDeletionDetails.Raw | null;
20
20
  stripeMandateStatus?: StripeMandateStatus.Raw | null;
21
+ stripeCustomerId?: string | null;
21
22
  }
22
23
  }
@@ -50,4 +50,5 @@ exports.CompanyPaymentMethod = core.serialization.object({
50
50
  details: PaymentMethodDetails_1.PaymentMethodDetails,
51
51
  deletionDetails: CompanyPaymentMethodDeletionDetails_1.CompanyPaymentMethodDeletionDetails.optional(),
52
52
  stripeMandateStatus: StripeMandateStatus_1.StripeMandateStatus.optional(),
53
+ stripeCustomerId: core.serialization.string().optional(),
53
54
  });
@@ -4,10 +4,13 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
+ import { StripeAccountType } from "./StripeAccountType";
7
8
  export declare const PlaidPostVerificationPaymentMethodDetails: core.serialization.ObjectSchema<serializers.db.PlaidPostVerificationPaymentMethodDetails.Raw, TheraApi.db.PlaidPostVerificationPaymentMethodDetails>;
8
9
  export declare namespace PlaidPostVerificationPaymentMethodDetails {
9
10
  interface Raw {
10
11
  stripePaymentMethodId: string;
12
+ revenueStripePaymentMethodId?: string | null;
13
+ eorStripePaymentMethodId?: string | null;
11
14
  stripeBankAccountToken: string;
12
15
  tpPlaidProcessorToken?: string | null;
13
16
  tpCounterPartyId?: string | null;
@@ -15,5 +18,6 @@ export declare namespace PlaidPostVerificationPaymentMethodDetails {
15
18
  checkBankAccountId?: string | null;
16
19
  accountNumber: string;
17
20
  routingNumber: string;
21
+ accountType?: StripeAccountType.Raw | null;
18
22
  }
19
23
  }
@@ -38,8 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PlaidPostVerificationPaymentMethodDetails = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
+ const StripeAccountType_1 = require("./StripeAccountType");
41
42
  exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
42
43
  stripePaymentMethodId: core.serialization.string(),
44
+ revenueStripePaymentMethodId: core.serialization.string().optional(),
45
+ eorStripePaymentMethodId: core.serialization.string().optional(),
43
46
  stripeBankAccountToken: core.serialization.string(),
44
47
  tpPlaidProcessorToken: core.serialization.string().optional(),
45
48
  tpCounterPartyId: core.serialization.string().optional(),
@@ -47,4 +50,5 @@ exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
47
50
  checkBankAccountId: core.serialization.string().optional(),
48
51
  accountNumber: core.serialization.string(),
49
52
  routingNumber: core.serialization.string(),
53
+ accountType: StripeAccountType_1.StripeAccountType.optional(),
50
54
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as TheraApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const StripeAccountType: core.serialization.Schema<serializers.db.StripeAccountType.Raw, TheraApi.db.StripeAccountType>;
8
+ export declare namespace StripeAccountType {
9
+ type Raw = "MAIN" | "REVENUE" | "EOR";
10
+ }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Response = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.Response = core.serialization.string();
39
+ exports.StripeAccountType = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.StripeAccountType = core.serialization.enum_(["MAIN", "REVENUE", "EOR"]);
@@ -10,3 +10,4 @@ export * from "./StripeUsBankAccountPaymentMethodDetails";
10
10
  export * from "./StripeAcssDebitAccountPaymentMethodDetails";
11
11
  export * from "./StripeBankAccountVerificationStatus";
12
12
  export * from "./StripeCardPaymentMethodDetails";
13
+ export * from "./StripeAccountType";
@@ -26,3 +26,4 @@ __exportStar(require("./StripeUsBankAccountPaymentMethodDetails"), exports);
26
26
  __exportStar(require("./StripeAcssDebitAccountPaymentMethodDetails"), exports);
27
27
  __exportStar(require("./StripeBankAccountVerificationStatus"), exports);
28
28
  __exportStar(require("./StripeCardPaymentMethodDetails"), exports);
29
+ __exportStar(require("./StripeAccountType"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as TheraApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayoutProvider: core.serialization.Schema<serializers.db.PayoutProvider.Raw, TheraApi.db.PayoutProvider>;
8
+ export declare namespace PayoutProvider {
9
+ type Raw = "WISE" | "DLOCAL" | "OFFPLATFORM";
10
+ }
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Response = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.Response = core.serialization.string();
39
+ exports.PayoutProvider = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.PayoutProvider = core.serialization.enum_(["WISE", "DLOCAL", "OFFPLATFORM"]);
@@ -0,0 +1,35 @@
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 { PayoutProvider } from "./PayoutProvider";
8
+ import { PayoutStatus } from "./PayoutStatus";
9
+ export declare const PayoutQueueItem: core.serialization.ObjectSchema<serializers.db.PayoutQueueItem.Raw, TheraApi.db.PayoutQueueItem>;
10
+ export declare namespace PayoutQueueItem {
11
+ interface Raw {
12
+ ledgerTransactionId: string;
13
+ userId: string;
14
+ companyId: string;
15
+ withdrawalMethodId: string;
16
+ amount: number;
17
+ currency: string;
18
+ quotedDestinationAmount: number;
19
+ quotedDestinationCurrency: string;
20
+ provider: PayoutProvider.Raw;
21
+ status: PayoutStatus.Raw;
22
+ autoWithdrawal: boolean;
23
+ createdAt: string;
24
+ updatedAt: string;
25
+ processingStartedAt?: string | null;
26
+ completedAt?: string | null;
27
+ retryCount: number;
28
+ lastError?: string | null;
29
+ lastErrorStackTrace?: string | null;
30
+ lastErrorTimestamp?: string | null;
31
+ payoutId?: string | null;
32
+ wiseTransferId?: string | null;
33
+ processingInstanceId?: string | null;
34
+ }
35
+ }
@@ -36,21 +36,31 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ExportedWithdrawal = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.ExportedWithdrawal = core.serialization.object({
39
+ exports.PayoutQueueItem = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PayoutProvider_1 = require("./PayoutProvider");
42
+ const PayoutStatus_1 = require("./PayoutStatus");
43
+ exports.PayoutQueueItem = core.serialization.object({
42
44
  ledgerTransactionId: core.serialization.string(),
43
- withdrawalMethodTitle: core.serialization.string().optional(),
44
- withdrawalMethodId: core.serialization.string().optional(),
45
+ userId: core.serialization.string(),
46
+ companyId: core.serialization.string(),
47
+ withdrawalMethodId: core.serialization.string(),
45
48
  amount: core.serialization.number(),
46
49
  currency: core.serialization.string(),
47
- convertedAmount: core.serialization.number().optional(),
48
- convertedCurrency: core.serialization.string().optional(),
49
- timestamp: core.serialization.string(),
50
- status: core.serialization.string().optional(),
51
- feeCurrency: core.serialization.string().optional(),
52
- flatFee: core.serialization.number().optional(),
53
- variableFee: core.serialization.number().optional(),
54
- exchangeRate: core.serialization.number().optional(),
55
- exchangeFrom: core.serialization.number(),
50
+ quotedDestinationAmount: core.serialization.number(),
51
+ quotedDestinationCurrency: core.serialization.string(),
52
+ provider: PayoutProvider_1.PayoutProvider,
53
+ status: PayoutStatus_1.PayoutStatus,
54
+ autoWithdrawal: core.serialization.boolean(),
55
+ createdAt: core.serialization.string(),
56
+ updatedAt: core.serialization.string(),
57
+ processingStartedAt: core.serialization.string().optional(),
58
+ completedAt: core.serialization.string().optional(),
59
+ retryCount: core.serialization.number(),
60
+ lastError: core.serialization.string().optional(),
61
+ lastErrorStackTrace: core.serialization.string().optional(),
62
+ lastErrorTimestamp: core.serialization.string().optional(),
63
+ payoutId: core.serialization.string().optional(),
64
+ wiseTransferId: core.serialization.string().optional(),
65
+ processingInstanceId: core.serialization.string().optional(),
56
66
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as TheraApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const PayoutStatus: core.serialization.Schema<serializers.db.PayoutStatus.Raw, TheraApi.db.PayoutStatus>;
8
+ export declare namespace PayoutStatus {
9
+ type Raw = "QUEUED" | "PROCESSING" | "COMPLETED" | "FAILED";
10
+ }
@@ -0,0 +1,41 @@
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.PayoutStatus = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.PayoutStatus = core.serialization.enum_(["QUEUED", "PROCESSING", "COMPLETED", "FAILED"]);
@@ -0,0 +1,3 @@
1
+ export * from "./PayoutProvider";
2
+ export * from "./PayoutStatus";
3
+ export * from "./PayoutQueueItem";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./PayoutProvider"), exports);
18
+ __exportStar(require("./PayoutStatus"), exports);
19
+ __exportStar(require("./PayoutQueueItem"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.0-prerelease2400-dev-2";
1
+ export declare const SDK_VERSION = "1.2.0-prerelease2413-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 = "1.2.0-prerelease2400-dev-2";
4
+ exports.SDK_VERSION = "1.2.0-prerelease2413-production";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "1.2.0-prerelease2400-dev-2",
3
+ "version": "1.2.0-prerelease2413-production",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",