@thera-hr/api-sdk 0.0.2972 → 0.0.2985

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 (217) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  3. package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  4. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
  5. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +28 -0
  6. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +338 -1
  7. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +8 -0
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +5 -0
  9. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +6 -0
  10. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +5 -0
  11. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +8 -0
  12. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +5 -0
  13. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +8 -0
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +5 -0
  15. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +12 -0
  16. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +5 -0
  17. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
  18. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +5 -0
  19. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +5 -0
  20. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +5 -0
  21. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +5 -0
  22. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
  23. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +8 -0
  24. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +5 -0
  25. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +5 -0
  26. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +5 -0
  27. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +5 -0
  28. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +5 -0
  29. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +7 -0
  30. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +5 -0
  31. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +5 -0
  32. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +5 -0
  33. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +9 -0
  34. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +5 -0
  35. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +6 -0
  36. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +5 -0
  37. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +7 -0
  38. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +9 -0
  39. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +10 -0
  40. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +5 -0
  41. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +5 -0
  42. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +5 -0
  43. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +9 -0
  44. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +11 -0
  45. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +10 -0
  46. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +5 -0
  47. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
  48. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
  49. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  50. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  51. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  52. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  53. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  54. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  55. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  56. package/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
  57. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  58. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  59. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  60. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
  61. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +28 -0
  62. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +338 -1
  63. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +8 -0
  64. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +5 -0
  65. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +6 -0
  66. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +5 -0
  67. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +8 -0
  68. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +5 -0
  69. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +8 -0
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +5 -0
  71. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +12 -0
  72. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +5 -0
  73. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
  74. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +5 -0
  75. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +5 -0
  76. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +5 -0
  77. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +5 -0
  78. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
  79. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +8 -0
  80. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +5 -0
  81. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +5 -0
  82. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +5 -0
  83. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +5 -0
  84. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +5 -0
  85. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +7 -0
  86. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +5 -0
  87. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +5 -0
  88. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +5 -0
  89. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +9 -0
  90. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +5 -0
  91. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +6 -0
  92. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +5 -0
  93. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +7 -0
  94. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +9 -0
  95. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +10 -0
  96. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +5 -0
  97. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +5 -0
  98. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +5 -0
  99. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +9 -0
  100. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +11 -0
  101. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +10 -0
  102. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +5 -0
  103. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
  104. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
  105. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  106. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
  107. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  108. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  109. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  111. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  112. package/dist/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
  113. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
  114. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
  115. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +13 -0
  116. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +43 -0
  117. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +12 -0
  118. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +33 -0
  119. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +13 -0
  120. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +43 -0
  121. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +13 -0
  122. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +45 -0
  123. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +16 -0
  124. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +48 -0
  125. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
  126. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +13 -0
  127. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
  128. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
  129. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
  130. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +31 -0
  131. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +11 -0
  132. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +31 -0
  133. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
  134. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +1 -0
  135. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +13 -0
  136. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +43 -0
  137. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +11 -0
  138. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +31 -0
  139. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +11 -0
  140. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +31 -0
  141. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +12 -0
  142. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +42 -0
  143. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +11 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +31 -0
  145. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +14 -0
  146. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +46 -0
  147. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +12 -0
  148. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +33 -0
  149. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +10 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +31 -0
  151. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +12 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +42 -0
  153. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +11 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +31 -0
  155. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +10 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +31 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +12 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +42 -0
  159. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
  161. package/dist/serialization/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/company/resources/index.js +1 -0
  163. package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
  164. package/dist/serialization/resources/db/resources/employment/types/Employment.js +1 -0
  165. package/package.json +1 -1
  166. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
  167. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
  168. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +13 -0
  169. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +43 -0
  170. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +12 -0
  171. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +33 -0
  172. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +13 -0
  173. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +43 -0
  174. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +13 -0
  175. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +45 -0
  176. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +16 -0
  177. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +48 -0
  178. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
  179. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +13 -0
  180. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
  181. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
  182. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
  183. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +31 -0
  184. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +11 -0
  185. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +31 -0
  186. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
  187. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +1 -0
  188. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +13 -0
  189. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +43 -0
  190. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +11 -0
  191. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +31 -0
  192. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +11 -0
  193. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +31 -0
  194. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +12 -0
  195. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +42 -0
  196. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +11 -0
  197. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +31 -0
  198. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +14 -0
  199. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +46 -0
  200. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +12 -0
  201. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +33 -0
  202. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +10 -0
  203. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +31 -0
  204. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +12 -0
  205. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +42 -0
  206. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +11 -0
  207. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +31 -0
  208. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +10 -0
  209. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +31 -0
  210. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +12 -0
  211. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +42 -0
  212. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
  213. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
  214. package/serialization/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
  215. package/serialization/resources/api/resources/thera/resources/company/resources/index.js +1 -0
  216. package/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
  217. package/serialization/resources/db/resources/employment/types/Employment.js +1 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const ChangeContractTeamResponse: core.serialization.ObjectSchema<serializers.api.thera.company.ChangeContractTeamResponse.Raw, TheraApi.api.thera.company.ChangeContractTeamResponse>;
8
+ export declare namespace ChangeContractTeamResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ChangeContractTeamResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.ChangeContractTeamResponse = core.serialization.object({});
@@ -23,5 +23,6 @@ export declare namespace CreateEmployment {
23
23
  payCycle: serializers.model.thera.PayCycle.Raw;
24
24
  workerCanSubmitWork?: boolean | null;
25
25
  clientCanSubmitWork?: boolean | null;
26
+ teamId?: string | null;
26
27
  }
27
28
  }
@@ -54,4 +54,5 @@ exports.CreateEmployment = core.serialization.object({
54
54
  payCycle: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.PayCycle; })),
55
55
  workerCanSubmitWork: core.serialization.boolean().optional(),
56
56
  clientCanSubmitWork: core.serialization.boolean().optional(),
57
+ teamId: core.serialization.string().optional(),
57
58
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const CreateTeamRequestManager: core.serialization.ObjectSchema<serializers.api.thera.company.CreateTeamRequestManager.Raw, TheraApi.api.thera.company.CreateTeamRequestManager>;
8
+ export declare namespace CreateTeamRequestManager {
9
+ interface Raw {
10
+ userId: string;
11
+ role: serializers.api.thera.company.TeamRoleAndDetails.Raw;
12
+ }
13
+ }
@@ -0,0 +1,43 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.CreateTeamRequestManager = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.CreateTeamRequestManager = core.serialization.object({
41
+ userId: core.serialization.string(),
42
+ role: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.TeamRoleAndDetails; })),
43
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const CreateTeamResponse: core.serialization.ObjectSchema<serializers.api.thera.company.CreateTeamResponse.Raw, TheraApi.api.thera.company.CreateTeamResponse>;
8
+ export declare namespace CreateTeamResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.CreateTeamResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.CreateTeamResponse = core.serialization.object({});
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const EditManagerRolesResponse: core.serialization.ObjectSchema<serializers.api.thera.company.EditManagerRolesResponse.Raw, TheraApi.api.thera.company.EditManagerRolesResponse>;
8
+ export declare namespace EditManagerRolesResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.EditManagerRolesResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.EditManagerRolesResponse = core.serialization.object({});
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const GetManagersResponse: core.serialization.ObjectSchema<serializers.api.thera.company.GetManagersResponse.Raw, TheraApi.api.thera.company.GetManagersResponse>;
8
+ export declare namespace GetManagersResponse {
9
+ interface Raw {
10
+ managers: serializers.api.thera.company.Manager.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,42 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.GetManagersResponse = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.GetManagersResponse = core.serialization.object({
41
+ managers: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.Manager; }))),
42
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const InviteManagerResponse: core.serialization.ObjectSchema<serializers.api.thera.company.InviteManagerResponse.Raw, TheraApi.api.thera.company.InviteManagerResponse>;
8
+ export declare namespace InviteManagerResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.InviteManagerResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.InviteManagerResponse = core.serialization.object({});
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const Manager: core.serialization.ObjectSchema<serializers.api.thera.company.Manager.Raw, TheraApi.api.thera.company.Manager>;
8
+ export declare namespace Manager {
9
+ interface Raw {
10
+ user: serializers.db.User.Raw;
11
+ teams: Record<string, serializers.api.thera.company.TeamRoleAndDetails.Raw>;
12
+ orgAdmin?: serializers.api.thera.company.OrgRoleAndDetails.Raw | null;
13
+ }
14
+ }
@@ -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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.Manager = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.Manager = core.serialization.object({
41
+ user: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.User; })),
42
+ teams: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.TeamRoleAndDetails; }))),
43
+ orgAdmin: core.serialization
44
+ .lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.OrgRoleAndDetails; }))
45
+ .optional(),
46
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const OrgAdmin: core.serialization.ObjectSchema<serializers.api.thera.company.OrgAdmin.Raw, TheraApi.api.thera.company.OrgAdmin>;
8
+ export declare namespace OrgAdmin {
9
+ interface Raw {
10
+ userId: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.OrgAdmin = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.OrgAdmin = core.serialization.object({
32
+ userId: core.serialization.string(),
33
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const OrgRole: core.serialization.Schema<serializers.api.thera.company.OrgRole.Raw, TheraApi.api.thera.company.OrgRole>;
8
+ export declare namespace OrgRole {
9
+ type Raw = "ADMIN";
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.OrgRole = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.OrgRole = core.serialization.enum_(["ADMIN"]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const OrgRoleAndDetails: core.serialization.ObjectSchema<serializers.api.thera.company.OrgRoleAndDetails.Raw, TheraApi.api.thera.company.OrgRoleAndDetails>;
8
+ export declare namespace OrgRoleAndDetails {
9
+ interface Raw {
10
+ role: serializers.api.thera.company.OrgRole.Raw;
11
+ }
12
+ }
@@ -0,0 +1,42 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.OrgRoleAndDetails = void 0;
39
+ const core = __importStar(require("../../../../../../../../../../core"));
40
+ exports.OrgRoleAndDetails = core.serialization.object({
41
+ role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.OrgRole; })),
42
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const RemoveManagerResponse: core.serialization.ObjectSchema<serializers.api.thera.company.RemoveManagerResponse.Raw, TheraApi.api.thera.company.RemoveManagerResponse>;
8
+ export declare namespace RemoveManagerResponse {
9
+ interface Raw {
10
+ }
11
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.RemoveManagerResponse = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.RemoveManagerResponse = core.serialization.object({});
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const TeamRole: core.serialization.Schema<serializers.api.thera.company.TeamRole.Raw, TheraApi.api.thera.company.TeamRole>;
8
+ export declare namespace TeamRole {
9
+ type Raw = "ADMIN" | "PEOPLE_MANAGER" | "VIEWER_SENSITIVE";
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TeamRole = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ exports.TeamRole = core.serialization.enum_(["ADMIN", "PEOPLE_MANAGER", "VIEWER_SENSITIVE"]);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../..";
5
+ import * as TheraApi from "../../../../../../../../../../api";
6
+ import * as core from "../../../../../../../../../../core";
7
+ export declare const TeamRoleAndDetails: core.serialization.ObjectSchema<serializers.api.thera.company.TeamRoleAndDetails.Raw, TheraApi.api.thera.company.TeamRoleAndDetails>;
8
+ export declare namespace TeamRoleAndDetails {
9
+ interface Raw {
10
+ role: serializers.api.thera.company.TeamRole.Raw;
11
+ }
12
+ }