@thera-hr/api-sdk 0.0.1-prerelease2623-production → 0.0.1-prerelease2624-dev-2

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 (253) 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/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/client/Client.d.ts +6 -0
  5. package/api/resources/api/resources/thera/client/Client.js +30 -20
  6. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  11. package/api/resources/api/resources/thera/resources/customtheradocuments/client/Client.d.ts +22 -0
  12. package/api/resources/api/resources/thera/resources/customtheradocuments/client/Client.js +17 -0
  13. package/api/resources/api/resources/thera/resources/customtheradocuments/client/index.d.ts +1 -0
  14. package/api/resources/api/resources/thera/resources/customtheradocuments/client/index.js +2 -0
  15. package/api/resources/api/resources/thera/resources/customtheradocuments/index.d.ts +2 -0
  16. package/api/resources/api/resources/thera/resources/customtheradocuments/index.js +18 -0
  17. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/Client.d.ts +91 -0
  18. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/Client.js +374 -0
  19. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/index.d.ts +1 -0
  20. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/index.js +17 -0
  21. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/ListDocumentsRequest.d.ts +15 -0
  22. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/ListDocumentsRequest.js +5 -0
  23. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/index.d.ts +1 -0
  24. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/index.js +2 -0
  25. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.d.ts +2 -0
  26. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.js +18 -0
  27. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.d.ts +8 -0
  28. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.js +5 -0
  29. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.d.ts +19 -0
  30. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.js +5 -0
  31. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.d.ts +7 -0
  32. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.js +5 -0
  33. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.d.ts +11 -0
  34. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.js +13 -0
  35. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.d.ts +7 -0
  36. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.js +5 -0
  37. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.d.ts +5 -0
  38. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.js +21 -0
  39. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/index.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/customtheradocuments/resources/index.js +32 -0
  41. package/api/resources/api/resources/thera/resources/customtheratemplates/client/Client.d.ts +22 -0
  42. package/api/resources/api/resources/thera/resources/customtheratemplates/client/Client.js +17 -0
  43. package/api/resources/api/resources/thera/resources/customtheratemplates/client/index.d.ts +1 -0
  44. package/api/resources/api/resources/thera/resources/customtheratemplates/client/index.js +2 -0
  45. package/api/resources/api/resources/thera/resources/customtheratemplates/index.d.ts +2 -0
  46. package/api/resources/api/resources/thera/resources/customtheratemplates/index.js +18 -0
  47. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.d.ts +83 -0
  48. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.js +360 -0
  49. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/index.d.ts +1 -0
  50. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/index.js +17 -0
  51. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/ListTemplatesRequest.d.ts +12 -0
  52. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/ListTemplatesRequest.js +5 -0
  53. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/index.d.ts +1 -0
  54. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/index.js +2 -0
  55. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.d.ts +2 -0
  56. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.js +18 -0
  57. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.d.ts +9 -0
  58. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.js +5 -0
  59. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.d.ts +7 -0
  60. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.js +5 -0
  61. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.d.ts +7 -0
  62. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.js +5 -0
  63. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.d.ts +12 -0
  64. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.js +14 -0
  65. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +14 -0
  66. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +5 -0
  67. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.d.ts +7 -0
  68. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.js +5 -0
  69. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +6 -0
  70. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +22 -0
  71. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/index.d.ts +3 -0
  72. package/api/resources/api/resources/thera/resources/customtheratemplates/resources/index.js +32 -0
  73. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  74. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  75. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  76. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  77. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  78. package/api/resources/api/resources/thera/resources/index.d.ts +2 -0
  79. package/api/resources/api/resources/thera/resources/index.js +3 -1
  80. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
  81. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  82. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  83. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  84. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  85. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  86. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  87. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  88. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  89. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  90. package/dist/api/resources/api/resources/thera/client/Client.d.ts +6 -0
  91. package/dist/api/resources/api/resources/thera/client/Client.js +30 -20
  92. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  93. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
  94. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  95. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  97. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/client/Client.d.ts +22 -0
  98. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/client/Client.js +17 -0
  99. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/client/index.d.ts +1 -0
  100. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/client/index.js +2 -0
  101. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/index.d.ts +2 -0
  102. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/index.js +18 -0
  103. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/Client.d.ts +91 -0
  104. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/Client.js +374 -0
  105. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/index.d.ts +1 -0
  106. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/index.js +17 -0
  107. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/ListDocumentsRequest.d.ts +15 -0
  108. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/ListDocumentsRequest.js +5 -0
  109. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/index.d.ts +1 -0
  110. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/client/requests/index.js +2 -0
  111. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.d.ts +2 -0
  112. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.js +18 -0
  113. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.d.ts +8 -0
  114. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.js +5 -0
  115. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.d.ts +19 -0
  116. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.js +5 -0
  117. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.d.ts +7 -0
  118. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.js +5 -0
  119. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.d.ts +11 -0
  120. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.js +13 -0
  121. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.d.ts +7 -0
  122. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.js +5 -0
  123. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.d.ts +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.js +21 -0
  125. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/index.d.ts +3 -0
  126. package/dist/api/resources/api/resources/thera/resources/customtheradocuments/resources/index.js +32 -0
  127. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/client/Client.d.ts +22 -0
  128. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/client/Client.js +17 -0
  129. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/client/index.d.ts +1 -0
  130. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/client/index.js +2 -0
  131. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/index.d.ts +2 -0
  132. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/index.js +18 -0
  133. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.d.ts +83 -0
  134. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/Client.js +360 -0
  135. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/index.d.ts +1 -0
  136. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/index.js +17 -0
  137. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/ListTemplatesRequest.d.ts +12 -0
  138. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/ListTemplatesRequest.js +5 -0
  139. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/index.d.ts +1 -0
  140. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/client/requests/index.js +2 -0
  141. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.d.ts +2 -0
  142. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.js +18 -0
  143. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.d.ts +9 -0
  144. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.js +5 -0
  145. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.d.ts +7 -0
  146. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.js +5 -0
  147. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.d.ts +7 -0
  148. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.js +5 -0
  149. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.d.ts +12 -0
  150. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.js +14 -0
  151. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +14 -0
  152. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +5 -0
  153. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.d.ts +7 -0
  154. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.js +5 -0
  155. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +6 -0
  156. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +22 -0
  157. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/index.d.ts +3 -0
  158. package/dist/api/resources/api/resources/thera/resources/customtheratemplates/resources/index.js +32 -0
  159. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  160. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  161. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  162. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  163. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  164. package/dist/api/resources/api/resources/thera/resources/index.d.ts +2 -0
  165. package/dist/api/resources/api/resources/thera/resources/index.js +3 -1
  166. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
  167. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  168. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  169. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  170. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  171. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  172. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  173. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/index.d.ts +1 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/index.js +17 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.d.ts +1 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.js +17 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.d.ts +14 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.js +35 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.d.ts +25 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.js +46 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.d.ts +13 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.js +34 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.d.ts +10 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.js +31 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.d.ts +13 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.js +34 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.d.ts +5 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.js +21 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/index.d.ts +2 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/index.js +31 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/index.d.ts +1 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/index.js +17 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.d.ts +1 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.js +17 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.d.ts +15 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.js +36 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.d.ts +13 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.js +34 -0
  199. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.d.ts +13 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.js +34 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.d.ts +10 -0
  202. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.js +31 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +20 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +41 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.d.ts +13 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.js +34 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +6 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +22 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/index.d.ts +2 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/index.js +31 -0
  211. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +2 -0
  212. package/dist/serialization/resources/api/resources/thera/resources/index.js +3 -1
  213. package/package.json +1 -1
  214. package/serialization/resources/api/resources/thera/resources/customtheradocuments/index.d.ts +1 -0
  215. package/serialization/resources/api/resources/thera/resources/customtheradocuments/index.js +17 -0
  216. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.d.ts +1 -0
  217. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/index.js +17 -0
  218. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.d.ts +14 -0
  219. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CreateDocumentRequest.js +35 -0
  220. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.d.ts +25 -0
  221. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/CustomTheraDocument.js +46 -0
  222. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.d.ts +13 -0
  223. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentListResponse.js +34 -0
  224. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.d.ts +10 -0
  225. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/DocumentStatus.js +31 -0
  226. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.d.ts +13 -0
  227. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/UpdateDocumentRequest.js +34 -0
  228. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.d.ts +5 -0
  229. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/customtheradocumentsApi/types/index.js +21 -0
  230. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/index.d.ts +2 -0
  231. package/serialization/resources/api/resources/thera/resources/customtheradocuments/resources/index.js +31 -0
  232. package/serialization/resources/api/resources/thera/resources/customtheratemplates/index.d.ts +1 -0
  233. package/serialization/resources/api/resources/thera/resources/customtheratemplates/index.js +17 -0
  234. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.d.ts +1 -0
  235. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/index.js +17 -0
  236. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.d.ts +15 -0
  237. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateRequest.js +36 -0
  238. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.d.ts +13 -0
  239. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateResponse.js +34 -0
  240. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.d.ts +13 -0
  241. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/CreateTemplateSessionResponse.js +34 -0
  242. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.d.ts +10 -0
  243. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/FieldType.js +31 -0
  244. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.d.ts +20 -0
  245. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/Template.js +41 -0
  246. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.d.ts +13 -0
  247. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/TemplateListResponse.js +34 -0
  248. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.d.ts +6 -0
  249. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/customtheratemplatesApi/types/index.js +22 -0
  250. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/index.d.ts +2 -0
  251. package/serialization/resources/api/resources/thera/resources/customtheratemplates/resources/index.js +31 -0
  252. package/serialization/resources/api/resources/thera/resources/index.d.ts +2 -0
  253. package/serialization/resources/api/resources/thera/resources/index.js +3 -1
@@ -68,7 +68,7 @@ class CompanyApi {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
71
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
71
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -132,7 +132,7 @@ class CompanyApi {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
135
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
135
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -258,7 +258,7 @@ class CompanyApi {
258
258
  Authorization: yield this._getAuthorizationHeader(),
259
259
  "X-Fern-Language": "JavaScript",
260
260
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
261
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
261
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
262
262
  "X-Fern-Runtime": core.RUNTIME.type,
263
263
  "X-Fern-Runtime-Version": core.RUNTIME.version,
264
264
  },
@@ -332,7 +332,7 @@ class CompanyApi {
332
332
  Authorization: yield this._getAuthorizationHeader(),
333
333
  "X-Fern-Language": "JavaScript",
334
334
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
335
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
335
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
336
336
  "X-Fern-Runtime": core.RUNTIME.type,
337
337
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
338
  },
@@ -404,7 +404,7 @@ class CompanyApi {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
407
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
407
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -479,7 +479,7 @@ class CompanyApi {
479
479
  Authorization: yield this._getAuthorizationHeader(),
480
480
  "X-Fern-Language": "JavaScript",
481
481
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
482
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
482
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
483
483
  "X-Fern-Runtime": core.RUNTIME.type,
484
484
  "X-Fern-Runtime-Version": core.RUNTIME.version,
485
485
  },
@@ -540,7 +540,7 @@ class CompanyApi {
540
540
  Authorization: yield this._getAuthorizationHeader(),
541
541
  "X-Fern-Language": "JavaScript",
542
542
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
543
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
543
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
544
544
  "X-Fern-Runtime": core.RUNTIME.type,
545
545
  "X-Fern-Runtime-Version": core.RUNTIME.version,
546
546
  },
@@ -602,7 +602,7 @@ class CompanyApi {
602
602
  Authorization: yield this._getAuthorizationHeader(),
603
603
  "X-Fern-Language": "JavaScript",
604
604
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
605
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
605
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
606
606
  "X-Fern-Runtime": core.RUNTIME.type,
607
607
  "X-Fern-Runtime-Version": core.RUNTIME.version,
608
608
  },
@@ -662,7 +662,7 @@ class CompanyApi {
662
662
  Authorization: yield this._getAuthorizationHeader(),
663
663
  "X-Fern-Language": "JavaScript",
664
664
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
665
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
665
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
666
666
  "X-Fern-Runtime": core.RUNTIME.type,
667
667
  "X-Fern-Runtime-Version": core.RUNTIME.version,
668
668
  },
@@ -719,7 +719,7 @@ class CompanyApi {
719
719
  Authorization: yield this._getAuthorizationHeader(),
720
720
  "X-Fern-Language": "JavaScript",
721
721
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
722
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
722
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
723
723
  "X-Fern-Runtime": core.RUNTIME.type,
724
724
  "X-Fern-Runtime-Version": core.RUNTIME.version,
725
725
  },
@@ -788,7 +788,7 @@ class CompanyApi {
788
788
  Authorization: yield this._getAuthorizationHeader(),
789
789
  "X-Fern-Language": "JavaScript",
790
790
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
791
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
791
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
792
792
  "X-Fern-Runtime": core.RUNTIME.type,
793
793
  "X-Fern-Runtime-Version": core.RUNTIME.version,
794
794
  },
@@ -849,7 +849,7 @@ class CompanyApi {
849
849
  Authorization: yield this._getAuthorizationHeader(),
850
850
  "X-Fern-Language": "JavaScript",
851
851
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
852
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
852
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
853
853
  "X-Fern-Runtime": core.RUNTIME.type,
854
854
  "X-Fern-Runtime-Version": core.RUNTIME.version,
855
855
  },
@@ -910,7 +910,7 @@ class CompanyApi {
910
910
  Authorization: yield this._getAuthorizationHeader(),
911
911
  "X-Fern-Language": "JavaScript",
912
912
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
913
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
913
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
914
914
  "X-Fern-Runtime": core.RUNTIME.type,
915
915
  "X-Fern-Runtime-Version": core.RUNTIME.version,
916
916
  },
@@ -970,7 +970,7 @@ class CompanyApi {
970
970
  Authorization: yield this._getAuthorizationHeader(),
971
971
  "X-Fern-Language": "JavaScript",
972
972
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
973
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
973
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
974
974
  "X-Fern-Runtime": core.RUNTIME.type,
975
975
  "X-Fern-Runtime-Version": core.RUNTIME.version,
976
976
  },
@@ -1032,7 +1032,7 @@ class CompanyApi {
1032
1032
  Authorization: yield this._getAuthorizationHeader(),
1033
1033
  "X-Fern-Language": "JavaScript",
1034
1034
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1035
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
1035
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
1036
1036
  "X-Fern-Runtime": core.RUNTIME.type,
1037
1037
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1038
1038
  },
@@ -1096,7 +1096,7 @@ class CompanyApi {
1096
1096
  Authorization: yield this._getAuthorizationHeader(),
1097
1097
  "X-Fern-Language": "JavaScript",
1098
1098
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1099
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
1099
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
1100
1100
  "X-Fern-Runtime": core.RUNTIME.type,
1101
1101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1102
1102
  },
@@ -1164,7 +1164,7 @@ class CompanyApi {
1164
1164
  Authorization: yield this._getAuthorizationHeader(),
1165
1165
  "X-Fern-Language": "JavaScript",
1166
1166
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1167
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
1167
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
1168
1168
  "X-Fern-Runtime": core.RUNTIME.type,
1169
1169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1170
1170
  },
@@ -1238,7 +1238,7 @@ class CompanyApi {
1238
1238
  Authorization: yield this._getAuthorizationHeader(),
1239
1239
  "X-Fern-Language": "JavaScript",
1240
1240
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
1241
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
1241
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
1242
1242
  "X-Fern-Runtime": core.RUNTIME.type,
1243
1243
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1244
1244
  },
@@ -72,7 +72,7 @@ class CompanyW2PayrollApi {
72
72
  Authorization: yield this._getAuthorizationHeader(),
73
73
  "X-Fern-Language": "JavaScript",
74
74
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
75
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
75
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -136,7 +136,7 @@ class CompanyW2PayrollApi {
136
136
  Authorization: yield this._getAuthorizationHeader(),
137
137
  "X-Fern-Language": "JavaScript",
138
138
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
139
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
139
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
140
140
  "X-Fern-Runtime": core.RUNTIME.type,
141
141
  "X-Fern-Runtime-Version": core.RUNTIME.version,
142
142
  },
@@ -204,7 +204,7 @@ class CompanyW2PayrollApi {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
207
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
207
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -80,7 +80,7 @@ class ContractorApi {
80
80
  Authorization: yield this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
83
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
83
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
@@ -141,7 +141,7 @@ class ContractorApi {
141
141
  Authorization: yield this._getAuthorizationHeader(),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
144
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
144
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -240,7 +240,7 @@ class ContractorApi {
240
240
  Authorization: yield this._getAuthorizationHeader(),
241
241
  "X-Fern-Language": "JavaScript",
242
242
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
243
- "X-Fern-SDK-Version": "0.0.1-prerelease2623-production",
243
+ "X-Fern-SDK-Version": "0.0.1-prerelease2624-dev-2",
244
244
  "X-Fern-Runtime": core.RUNTIME.type,
245
245
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
246
  },
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../../../../core";
5
+ import { CustomtheradocumentsApi } from "../resources/customtheradocumentsApi/client/Client";
6
+ export declare namespace Customtheradocuments {
7
+ interface Options {
8
+ environment: core.Supplier<string>;
9
+ token?: core.Supplier<core.BearerToken | undefined>;
10
+ }
11
+ interface RequestOptions {
12
+ timeoutInSeconds?: number;
13
+ maxRetries?: number;
14
+ abortSignal?: AbortSignal;
15
+ }
16
+ }
17
+ export declare class Customtheradocuments {
18
+ protected readonly _options: Customtheradocuments.Options;
19
+ constructor(_options: Customtheradocuments.Options);
20
+ protected _customtheradocumentsApi: CustomtheradocumentsApi | undefined;
21
+ get customtheradocumentsApi(): CustomtheradocumentsApi;
22
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Customtheradocuments = void 0;
7
+ const Client_1 = require("../resources/customtheradocumentsApi/client/Client");
8
+ class Customtheradocuments {
9
+ constructor(_options) {
10
+ this._options = _options;
11
+ }
12
+ get customtheradocumentsApi() {
13
+ var _a;
14
+ return ((_a = this._customtheradocumentsApi) !== null && _a !== void 0 ? _a : (this._customtheradocumentsApi = new Client_1.CustomtheradocumentsApi(this._options)));
15
+ }
16
+ }
17
+ exports.Customtheradocuments = Customtheradocuments;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./resources";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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("./resources"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,91 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../../../../../../core";
5
+ import * as TheraApi from "../../../../../../../../../index";
6
+ export declare namespace CustomtheradocumentsApi {
7
+ interface Options {
8
+ environment: core.Supplier<string>;
9
+ token?: core.Supplier<core.BearerToken | undefined>;
10
+ }
11
+ interface RequestOptions {
12
+ timeoutInSeconds?: number;
13
+ maxRetries?: number;
14
+ abortSignal?: AbortSignal;
15
+ }
16
+ }
17
+ export declare class CustomtheradocumentsApi {
18
+ protected readonly _options: CustomtheradocumentsApi.Options;
19
+ constructor(_options: CustomtheradocumentsApi.Options);
20
+ /**
21
+ * Create a new document from a template
22
+ *
23
+ * @param {string} companyId
24
+ * @param {TheraApi.api.thera.customtheradocuments.CreateDocumentRequest} request
25
+ * @param {CustomtheradocumentsApi.RequestOptions} requestOptions - Request-specific configuration.
26
+ *
27
+ * @example
28
+ * await client.api.thera.customtheradocuments.customtheradocumentsApi.createDocument("string", {
29
+ * templateId: "string",
30
+ * name: "string",
31
+ * fields: {
32
+ * "string": "string"
33
+ * }
34
+ * })
35
+ */
36
+ createDocument(companyId: string, request: TheraApi.api.thera.customtheradocuments.CreateDocumentRequest, requestOptions?: CustomtheradocumentsApi.RequestOptions): Promise<TheraApi.api.thera.customtheradocuments.CustomTheraDocument>;
37
+ /**
38
+ * Get a specific document details
39
+ *
40
+ * @param {string} companyId
41
+ * @param {string} documentId
42
+ * @param {CustomtheradocumentsApi.RequestOptions} requestOptions - Request-specific configuration.
43
+ *
44
+ * @example
45
+ * await client.api.thera.customtheradocuments.customtheradocumentsApi.getDocument("string", "string")
46
+ */
47
+ getDocument(companyId: string, documentId: string, requestOptions?: CustomtheradocumentsApi.RequestOptions): Promise<TheraApi.api.thera.customtheradocuments.CustomTheraDocument>;
48
+ /**
49
+ * Update document details
50
+ *
51
+ * @param {string} companyId
52
+ * @param {string} documentId
53
+ * @param {TheraApi.api.thera.customtheradocuments.UpdateDocumentRequest} request
54
+ * @param {CustomtheradocumentsApi.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @example
57
+ * await client.api.thera.customtheradocuments.customtheradocumentsApi.updateDocument("string", "string", {
58
+ * name: "string",
59
+ * fields: {
60
+ * "string": "string"
61
+ * }
62
+ * })
63
+ */
64
+ updateDocument(companyId: string, documentId: string, request: TheraApi.api.thera.customtheradocuments.UpdateDocumentRequest, requestOptions?: CustomtheradocumentsApi.RequestOptions): Promise<TheraApi.api.thera.customtheradocuments.CustomTheraDocument>;
65
+ /**
66
+ * List all documents for a company
67
+ *
68
+ * @param {string} companyId
69
+ * @param {TheraApi.api.thera.customtheradocuments.ListDocumentsRequest} request
70
+ * @param {CustomtheradocumentsApi.RequestOptions} requestOptions - Request-specific configuration.
71
+ *
72
+ * @example
73
+ * await client.api.thera.customtheradocuments.customtheradocumentsApi.listDocuments("string", {
74
+ * status: TheraApi.api.thera.customtheradocuments.DocumentStatus.Draft,
75
+ * templateId: "string"
76
+ * })
77
+ */
78
+ listDocuments(companyId: string, request?: TheraApi.api.thera.customtheradocuments.ListDocumentsRequest, requestOptions?: CustomtheradocumentsApi.RequestOptions): Promise<TheraApi.api.thera.customtheradocuments.DocumentListResponse>;
79
+ /**
80
+ * Delete a document
81
+ *
82
+ * @param {string} companyId
83
+ * @param {string} documentId
84
+ * @param {CustomtheradocumentsApi.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @example
87
+ * await client.api.thera.customtheradocuments.customtheradocumentsApi.deleteDocument("string", "string")
88
+ */
89
+ deleteDocument(companyId: string, documentId: string, requestOptions?: CustomtheradocumentsApi.RequestOptions): Promise<void>;
90
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
91
+ }