@unified-api/typescript-sdk 2.71.0 → 2.71.1

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 (207) hide show
  1. package/README.md +12 -0
  2. package/bin/mcp-server.js +5326 -3650
  3. package/bin/mcp-server.js.map +42 -11
  4. package/docs/sdks/hris/README.md +500 -0
  5. package/docs/sdks/timeshift/README.md +507 -0
  6. package/funcs/hrisCreateHrisTimeshift.d.ts +14 -0
  7. package/funcs/hrisCreateHrisTimeshift.d.ts.map +1 -0
  8. package/funcs/hrisCreateHrisTimeshift.js +110 -0
  9. package/funcs/hrisCreateHrisTimeshift.js.map +1 -0
  10. package/funcs/hrisGetHrisTimeshift.d.ts +14 -0
  11. package/funcs/hrisGetHrisTimeshift.d.ts.map +1 -0
  12. package/funcs/hrisGetHrisTimeshift.js +113 -0
  13. package/funcs/hrisGetHrisTimeshift.js.map +1 -0
  14. package/funcs/hrisListHrisTimeoffs.js +2 -0
  15. package/funcs/hrisListHrisTimeoffs.js.map +1 -1
  16. package/funcs/hrisListHrisTimeshifts.d.ts +14 -0
  17. package/funcs/hrisListHrisTimeshifts.d.ts.map +1 -0
  18. package/funcs/hrisListHrisTimeshifts.js +121 -0
  19. package/funcs/hrisListHrisTimeshifts.js.map +1 -0
  20. package/funcs/hrisPatchHrisTimeshift.d.ts +14 -0
  21. package/funcs/hrisPatchHrisTimeshift.d.ts.map +1 -0
  22. package/funcs/hrisPatchHrisTimeshift.js +114 -0
  23. package/funcs/hrisPatchHrisTimeshift.js.map +1 -0
  24. package/funcs/hrisRemoveHrisTimeshift.d.ts +13 -0
  25. package/funcs/hrisRemoveHrisTimeshift.d.ts.map +1 -0
  26. package/funcs/hrisRemoveHrisTimeshift.js +110 -0
  27. package/funcs/hrisRemoveHrisTimeshift.js.map +1 -0
  28. package/funcs/hrisUpdateHrisTimeshift.d.ts +14 -0
  29. package/funcs/hrisUpdateHrisTimeshift.d.ts.map +1 -0
  30. package/funcs/hrisUpdateHrisTimeshift.js +114 -0
  31. package/funcs/hrisUpdateHrisTimeshift.js.map +1 -0
  32. package/funcs/timeoffListHrisTimeoffs.js +2 -0
  33. package/funcs/timeoffListHrisTimeoffs.js.map +1 -1
  34. package/funcs/timeshiftCreateHrisTimeshift.d.ts +14 -0
  35. package/funcs/timeshiftCreateHrisTimeshift.d.ts.map +1 -0
  36. package/funcs/timeshiftCreateHrisTimeshift.js +110 -0
  37. package/funcs/timeshiftCreateHrisTimeshift.js.map +1 -0
  38. package/funcs/timeshiftGetHrisTimeshift.d.ts +14 -0
  39. package/funcs/timeshiftGetHrisTimeshift.d.ts.map +1 -0
  40. package/funcs/timeshiftGetHrisTimeshift.js +113 -0
  41. package/funcs/timeshiftGetHrisTimeshift.js.map +1 -0
  42. package/funcs/timeshiftListHrisTimeshifts.d.ts +14 -0
  43. package/funcs/timeshiftListHrisTimeshifts.d.ts.map +1 -0
  44. package/funcs/timeshiftListHrisTimeshifts.js +121 -0
  45. package/funcs/timeshiftListHrisTimeshifts.js.map +1 -0
  46. package/funcs/timeshiftPatchHrisTimeshift.d.ts +14 -0
  47. package/funcs/timeshiftPatchHrisTimeshift.d.ts.map +1 -0
  48. package/funcs/timeshiftPatchHrisTimeshift.js +114 -0
  49. package/funcs/timeshiftPatchHrisTimeshift.js.map +1 -0
  50. package/funcs/timeshiftRemoveHrisTimeshift.d.ts +13 -0
  51. package/funcs/timeshiftRemoveHrisTimeshift.d.ts.map +1 -0
  52. package/funcs/timeshiftRemoveHrisTimeshift.js +110 -0
  53. package/funcs/timeshiftRemoveHrisTimeshift.js.map +1 -0
  54. package/funcs/timeshiftUpdateHrisTimeshift.d.ts +14 -0
  55. package/funcs/timeshiftUpdateHrisTimeshift.d.ts.map +1 -0
  56. package/funcs/timeshiftUpdateHrisTimeshift.js +114 -0
  57. package/funcs/timeshiftUpdateHrisTimeshift.js.map +1 -0
  58. package/jsr.json +1 -1
  59. package/lib/config.d.ts +2 -2
  60. package/lib/config.js +2 -2
  61. package/mcp-server/mcp-server.js +1 -1
  62. package/mcp-server/server.d.ts.map +1 -1
  63. package/mcp-server/server.js +25 -1
  64. package/mcp-server/server.js.map +1 -1
  65. package/mcp-server/tools/hrisCreateHrisTimeshift.d.ts +8 -0
  66. package/mcp-server/tools/hrisCreateHrisTimeshift.d.ts.map +1 -0
  67. package/mcp-server/tools/hrisCreateHrisTimeshift.js +52 -0
  68. package/mcp-server/tools/hrisCreateHrisTimeshift.js.map +1 -0
  69. package/mcp-server/tools/hrisGetHrisTimeshift.d.ts +8 -0
  70. package/mcp-server/tools/hrisGetHrisTimeshift.d.ts.map +1 -0
  71. package/mcp-server/tools/hrisGetHrisTimeshift.js +52 -0
  72. package/mcp-server/tools/hrisGetHrisTimeshift.js.map +1 -0
  73. package/mcp-server/tools/hrisListHrisTimeshifts.d.ts +8 -0
  74. package/mcp-server/tools/hrisListHrisTimeshifts.d.ts.map +1 -0
  75. package/mcp-server/tools/hrisListHrisTimeshifts.js +52 -0
  76. package/mcp-server/tools/hrisListHrisTimeshifts.js.map +1 -0
  77. package/mcp-server/tools/hrisPatchHrisTimeshift.d.ts +8 -0
  78. package/mcp-server/tools/hrisPatchHrisTimeshift.d.ts.map +1 -0
  79. package/mcp-server/tools/hrisPatchHrisTimeshift.js +52 -0
  80. package/mcp-server/tools/hrisPatchHrisTimeshift.js.map +1 -0
  81. package/mcp-server/tools/hrisRemoveHrisTimeshift.d.ts +8 -0
  82. package/mcp-server/tools/hrisRemoveHrisTimeshift.d.ts.map +1 -0
  83. package/mcp-server/tools/hrisRemoveHrisTimeshift.js +51 -0
  84. package/mcp-server/tools/hrisRemoveHrisTimeshift.js.map +1 -0
  85. package/mcp-server/tools/hrisUpdateHrisTimeshift.d.ts +8 -0
  86. package/mcp-server/tools/hrisUpdateHrisTimeshift.d.ts.map +1 -0
  87. package/mcp-server/tools/hrisUpdateHrisTimeshift.js +52 -0
  88. package/mcp-server/tools/hrisUpdateHrisTimeshift.js.map +1 -0
  89. package/mcp-server/tools/timeshiftCreateHrisTimeshift.d.ts +8 -0
  90. package/mcp-server/tools/timeshiftCreateHrisTimeshift.d.ts.map +1 -0
  91. package/mcp-server/tools/timeshiftCreateHrisTimeshift.js +52 -0
  92. package/mcp-server/tools/timeshiftCreateHrisTimeshift.js.map +1 -0
  93. package/mcp-server/tools/timeshiftGetHrisTimeshift.d.ts +8 -0
  94. package/mcp-server/tools/timeshiftGetHrisTimeshift.d.ts.map +1 -0
  95. package/mcp-server/tools/timeshiftGetHrisTimeshift.js +52 -0
  96. package/mcp-server/tools/timeshiftGetHrisTimeshift.js.map +1 -0
  97. package/mcp-server/tools/timeshiftListHrisTimeshifts.d.ts +8 -0
  98. package/mcp-server/tools/timeshiftListHrisTimeshifts.d.ts.map +1 -0
  99. package/mcp-server/tools/timeshiftListHrisTimeshifts.js +52 -0
  100. package/mcp-server/tools/timeshiftListHrisTimeshifts.js.map +1 -0
  101. package/mcp-server/tools/timeshiftPatchHrisTimeshift.d.ts +8 -0
  102. package/mcp-server/tools/timeshiftPatchHrisTimeshift.d.ts.map +1 -0
  103. package/mcp-server/tools/timeshiftPatchHrisTimeshift.js +52 -0
  104. package/mcp-server/tools/timeshiftPatchHrisTimeshift.js.map +1 -0
  105. package/mcp-server/tools/timeshiftRemoveHrisTimeshift.d.ts +8 -0
  106. package/mcp-server/tools/timeshiftRemoveHrisTimeshift.d.ts.map +1 -0
  107. package/mcp-server/tools/timeshiftRemoveHrisTimeshift.js +51 -0
  108. package/mcp-server/tools/timeshiftRemoveHrisTimeshift.js.map +1 -0
  109. package/mcp-server/tools/timeshiftUpdateHrisTimeshift.d.ts +8 -0
  110. package/mcp-server/tools/timeshiftUpdateHrisTimeshift.d.ts.map +1 -0
  111. package/mcp-server/tools/timeshiftUpdateHrisTimeshift.js +52 -0
  112. package/mcp-server/tools/timeshiftUpdateHrisTimeshift.js.map +1 -0
  113. package/package.json +1 -1
  114. package/sdk/hris.d.ts +24 -0
  115. package/sdk/hris.d.ts.map +1 -1
  116. package/sdk/hris.js +42 -0
  117. package/sdk/hris.js.map +1 -1
  118. package/sdk/models/operations/createhristimeshift.d.ts +45 -0
  119. package/sdk/models/operations/createhristimeshift.d.ts.map +1 -0
  120. package/sdk/models/operations/createhristimeshift.js +77 -0
  121. package/sdk/models/operations/createhristimeshift.js.map +1 -0
  122. package/sdk/models/operations/gethristimeshift.d.ts +47 -0
  123. package/sdk/models/operations/gethristimeshift.d.ts.map +1 -0
  124. package/sdk/models/operations/gethristimeshift.js +74 -0
  125. package/sdk/models/operations/gethristimeshift.js.map +1 -0
  126. package/sdk/models/operations/index.d.ts +6 -0
  127. package/sdk/models/operations/index.d.ts.map +1 -1
  128. package/sdk/models/operations/index.js +6 -0
  129. package/sdk/models/operations/index.js.map +1 -1
  130. package/sdk/models/operations/listhristimeoffs.d.ts +10 -0
  131. package/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
  132. package/sdk/models/operations/listhristimeoffs.js +8 -0
  133. package/sdk/models/operations/listhristimeoffs.js.map +1 -1
  134. package/sdk/models/operations/listhristimeshifts.d.ts +85 -0
  135. package/sdk/models/operations/listhristimeshifts.d.ts.map +1 -0
  136. package/sdk/models/operations/listhristimeshifts.js +106 -0
  137. package/sdk/models/operations/listhristimeshifts.js.map +1 -0
  138. package/sdk/models/operations/patchhristimeshift.d.ts +50 -0
  139. package/sdk/models/operations/patchhristimeshift.d.ts.map +1 -0
  140. package/sdk/models/operations/patchhristimeshift.js +79 -0
  141. package/sdk/models/operations/patchhristimeshift.js.map +1 -0
  142. package/sdk/models/operations/removehristimeshift.d.ts +66 -0
  143. package/sdk/models/operations/removehristimeshift.d.ts.map +1 -0
  144. package/sdk/models/operations/removehristimeshift.js +105 -0
  145. package/sdk/models/operations/removehristimeshift.js.map +1 -0
  146. package/sdk/models/operations/updatehristimeshift.d.ts +50 -0
  147. package/sdk/models/operations/updatehristimeshift.d.ts.map +1 -0
  148. package/sdk/models/operations/updatehristimeshift.js +79 -0
  149. package/sdk/models/operations/updatehristimeshift.js.map +1 -0
  150. package/sdk/models/shared/hristimeshift.d.ts +62 -0
  151. package/sdk/models/shared/hristimeshift.d.ts.map +1 -0
  152. package/sdk/models/shared/hristimeshift.js +122 -0
  153. package/sdk/models/shared/hristimeshift.js.map +1 -0
  154. package/sdk/models/shared/index.d.ts +1 -0
  155. package/sdk/models/shared/index.d.ts.map +1 -1
  156. package/sdk/models/shared/index.js +1 -0
  157. package/sdk/models/shared/index.js.map +1 -1
  158. package/sdk/sdk.d.ts +3 -0
  159. package/sdk/sdk.d.ts.map +1 -1
  160. package/sdk/sdk.js +4 -0
  161. package/sdk/sdk.js.map +1 -1
  162. package/sdk/timeshift.d.ts +30 -0
  163. package/sdk/timeshift.d.ts.map +1 -0
  164. package/sdk/timeshift.js +54 -0
  165. package/sdk/timeshift.js.map +1 -0
  166. package/src/funcs/hrisCreateHrisTimeshift.ts +165 -0
  167. package/src/funcs/hrisGetHrisTimeshift.ts +167 -0
  168. package/src/funcs/hrisListHrisTimeoffs.ts +2 -0
  169. package/src/funcs/hrisListHrisTimeshifts.ts +175 -0
  170. package/src/funcs/hrisPatchHrisTimeshift.ts +168 -0
  171. package/src/funcs/hrisRemoveHrisTimeshift.ts +170 -0
  172. package/src/funcs/hrisUpdateHrisTimeshift.ts +169 -0
  173. package/src/funcs/timeoffListHrisTimeoffs.ts +2 -0
  174. package/src/funcs/timeshiftCreateHrisTimeshift.ts +165 -0
  175. package/src/funcs/timeshiftGetHrisTimeshift.ts +167 -0
  176. package/src/funcs/timeshiftListHrisTimeshifts.ts +175 -0
  177. package/src/funcs/timeshiftPatchHrisTimeshift.ts +168 -0
  178. package/src/funcs/timeshiftRemoveHrisTimeshift.ts +170 -0
  179. package/src/funcs/timeshiftUpdateHrisTimeshift.ts +169 -0
  180. package/src/lib/config.ts +2 -2
  181. package/src/mcp-server/mcp-server.ts +1 -1
  182. package/src/mcp-server/server.ts +25 -1
  183. package/src/mcp-server/tools/hrisCreateHrisTimeshift.ts +35 -0
  184. package/src/mcp-server/tools/hrisGetHrisTimeshift.ts +35 -0
  185. package/src/mcp-server/tools/hrisListHrisTimeshifts.ts +35 -0
  186. package/src/mcp-server/tools/hrisPatchHrisTimeshift.ts +35 -0
  187. package/src/mcp-server/tools/hrisRemoveHrisTimeshift.ts +33 -0
  188. package/src/mcp-server/tools/hrisUpdateHrisTimeshift.ts +35 -0
  189. package/src/mcp-server/tools/timeshiftCreateHrisTimeshift.ts +35 -0
  190. package/src/mcp-server/tools/timeshiftGetHrisTimeshift.ts +35 -0
  191. package/src/mcp-server/tools/timeshiftListHrisTimeshifts.ts +35 -0
  192. package/src/mcp-server/tools/timeshiftPatchHrisTimeshift.ts +35 -0
  193. package/src/mcp-server/tools/timeshiftRemoveHrisTimeshift.ts +33 -0
  194. package/src/mcp-server/tools/timeshiftUpdateHrisTimeshift.ts +35 -0
  195. package/src/sdk/hris.ts +90 -0
  196. package/src/sdk/models/operations/createhristimeshift.ts +99 -0
  197. package/src/sdk/models/operations/gethristimeshift.ts +99 -0
  198. package/src/sdk/models/operations/index.ts +6 -0
  199. package/src/sdk/models/operations/listhristimeoffs.ts +18 -0
  200. package/src/sdk/models/operations/listhristimeshifts.ts +169 -0
  201. package/src/sdk/models/operations/patchhristimeshift.ts +106 -0
  202. package/src/sdk/models/operations/removehristimeshift.ts +153 -0
  203. package/src/sdk/models/operations/updatehristimeshift.ts +106 -0
  204. package/src/sdk/models/shared/hristimeshift.ts +158 -0
  205. package/src/sdk/models/shared/index.ts +1 -0
  206. package/src/sdk/sdk.ts +6 -0
  207. package/src/sdk/timeshift.ts +100 -0
@@ -380,6 +380,7 @@ import { tool$hrisCreateHrisDevice } from "./tools/hrisCreateHrisDevice.js";
380
380
  import { tool$hrisCreateHrisEmployee } from "./tools/hrisCreateHrisEmployee.js";
381
381
  import { tool$hrisCreateHrisGroup } from "./tools/hrisCreateHrisGroup.js";
382
382
  import { tool$hrisCreateHrisLocation } from "./tools/hrisCreateHrisLocation.js";
383
+ import { tool$hrisCreateHrisTimeshift } from "./tools/hrisCreateHrisTimeshift.js";
383
384
  import { tool$hrisGetHrisCompany } from "./tools/hrisGetHrisCompany.js";
384
385
  import { tool$hrisGetHrisDevice } from "./tools/hrisGetHrisDevice.js";
385
386
  import { tool$hrisGetHrisEmployee } from "./tools/hrisGetHrisEmployee.js";
@@ -387,6 +388,7 @@ import { tool$hrisGetHrisGroup } from "./tools/hrisGetHrisGroup.js";
387
388
  import { tool$hrisGetHrisLocation } from "./tools/hrisGetHrisLocation.js";
388
389
  import { tool$hrisGetHrisPayslip } from "./tools/hrisGetHrisPayslip.js";
389
390
  import { tool$hrisGetHrisTimeoff } from "./tools/hrisGetHrisTimeoff.js";
391
+ import { tool$hrisGetHrisTimeshift } from "./tools/hrisGetHrisTimeshift.js";
390
392
  import { tool$hrisListHrisCompanies } from "./tools/hrisListHrisCompanies.js";
391
393
  import { tool$hrisListHrisDevices } from "./tools/hrisListHrisDevices.js";
392
394
  import { tool$hrisListHrisEmployees } from "./tools/hrisListHrisEmployees.js";
@@ -394,21 +396,25 @@ import { tool$hrisListHrisGroups } from "./tools/hrisListHrisGroups.js";
394
396
  import { tool$hrisListHrisLocations } from "./tools/hrisListHrisLocations.js";
395
397
  import { tool$hrisListHrisPayslips } from "./tools/hrisListHrisPayslips.js";
396
398
  import { tool$hrisListHrisTimeoffs } from "./tools/hrisListHrisTimeoffs.js";
399
+ import { tool$hrisListHrisTimeshifts } from "./tools/hrisListHrisTimeshifts.js";
397
400
  import { tool$hrisPatchHrisCompany } from "./tools/hrisPatchHrisCompany.js";
398
401
  import { tool$hrisPatchHrisDevice } from "./tools/hrisPatchHrisDevice.js";
399
402
  import { tool$hrisPatchHrisEmployee } from "./tools/hrisPatchHrisEmployee.js";
400
403
  import { tool$hrisPatchHrisGroup } from "./tools/hrisPatchHrisGroup.js";
401
404
  import { tool$hrisPatchHrisLocation } from "./tools/hrisPatchHrisLocation.js";
405
+ import { tool$hrisPatchHrisTimeshift } from "./tools/hrisPatchHrisTimeshift.js";
402
406
  import { tool$hrisRemoveHrisCompany } from "./tools/hrisRemoveHrisCompany.js";
403
407
  import { tool$hrisRemoveHrisDevice } from "./tools/hrisRemoveHrisDevice.js";
404
408
  import { tool$hrisRemoveHrisEmployee } from "./tools/hrisRemoveHrisEmployee.js";
405
409
  import { tool$hrisRemoveHrisGroup } from "./tools/hrisRemoveHrisGroup.js";
406
410
  import { tool$hrisRemoveHrisLocation } from "./tools/hrisRemoveHrisLocation.js";
411
+ import { tool$hrisRemoveHrisTimeshift } from "./tools/hrisRemoveHrisTimeshift.js";
407
412
  import { tool$hrisUpdateHrisCompany } from "./tools/hrisUpdateHrisCompany.js";
408
413
  import { tool$hrisUpdateHrisDevice } from "./tools/hrisUpdateHrisDevice.js";
409
414
  import { tool$hrisUpdateHrisEmployee } from "./tools/hrisUpdateHrisEmployee.js";
410
415
  import { tool$hrisUpdateHrisGroup } from "./tools/hrisUpdateHrisGroup.js";
411
416
  import { tool$hrisUpdateHrisLocation } from "./tools/hrisUpdateHrisLocation.js";
417
+ import { tool$hrisUpdateHrisTimeshift } from "./tools/hrisUpdateHrisTimeshift.js";
412
418
  import { tool$instructorCreateLmsInstructor } from "./tools/instructorCreateLmsInstructor.js";
413
419
  import { tool$instructorGetLmsInstructor } from "./tools/instructorGetLmsInstructor.js";
414
420
  import { tool$instructorListLmsInstructors } from "./tools/instructorListLmsInstructors.js";
@@ -799,6 +805,12 @@ import { tool$ticketRemoveTicketingTicket } from "./tools/ticketRemoveTicketingT
799
805
  import { tool$ticketUpdateTicketingTicket } from "./tools/ticketUpdateTicketingTicket.js";
800
806
  import { tool$timeoffGetHrisTimeoff } from "./tools/timeoffGetHrisTimeoff.js";
801
807
  import { tool$timeoffListHrisTimeoffs } from "./tools/timeoffListHrisTimeoffs.js";
808
+ import { tool$timeshiftCreateHrisTimeshift } from "./tools/timeshiftCreateHrisTimeshift.js";
809
+ import { tool$timeshiftGetHrisTimeshift } from "./tools/timeshiftGetHrisTimeshift.js";
810
+ import { tool$timeshiftListHrisTimeshifts } from "./tools/timeshiftListHrisTimeshifts.js";
811
+ import { tool$timeshiftPatchHrisTimeshift } from "./tools/timeshiftPatchHrisTimeshift.js";
812
+ import { tool$timeshiftRemoveHrisTimeshift } from "./tools/timeshiftRemoveHrisTimeshift.js";
813
+ import { tool$timeshiftUpdateHrisTimeshift } from "./tools/timeshiftUpdateHrisTimeshift.js";
802
814
  import { tool$transactionCreateAccountingTransaction } from "./tools/transactionCreateAccountingTransaction.js";
803
815
  import { tool$transactionGetAccountingTransaction } from "./tools/transactionGetAccountingTransaction.js";
804
816
  import { tool$transactionListAccountingTransactions } from "./tools/transactionListAccountingTransactions.js";
@@ -869,7 +881,7 @@ export function createMCPServer(deps: {
869
881
  }) {
870
882
  const server = new McpServer({
871
883
  name: "UnifiedTo",
872
- version: "2.71.0",
884
+ version: "2.71.1",
873
885
  });
874
886
 
875
887
  const client = new UnifiedToCore({
@@ -1298,6 +1310,7 @@ export function createMCPServer(deps: {
1298
1310
  tool(tool$hrisCreateHrisEmployee);
1299
1311
  tool(tool$hrisCreateHrisGroup);
1300
1312
  tool(tool$hrisCreateHrisLocation);
1313
+ tool(tool$hrisCreateHrisTimeshift);
1301
1314
  tool(tool$hrisGetHrisCompany);
1302
1315
  tool(tool$hrisGetHrisDevice);
1303
1316
  tool(tool$hrisGetHrisEmployee);
@@ -1305,6 +1318,7 @@ export function createMCPServer(deps: {
1305
1318
  tool(tool$hrisGetHrisLocation);
1306
1319
  tool(tool$hrisGetHrisPayslip);
1307
1320
  tool(tool$hrisGetHrisTimeoff);
1321
+ tool(tool$hrisGetHrisTimeshift);
1308
1322
  tool(tool$hrisListHrisCompanies);
1309
1323
  tool(tool$hrisListHrisDevices);
1310
1324
  tool(tool$hrisListHrisEmployees);
@@ -1312,21 +1326,25 @@ export function createMCPServer(deps: {
1312
1326
  tool(tool$hrisListHrisLocations);
1313
1327
  tool(tool$hrisListHrisPayslips);
1314
1328
  tool(tool$hrisListHrisTimeoffs);
1329
+ tool(tool$hrisListHrisTimeshifts);
1315
1330
  tool(tool$hrisPatchHrisCompany);
1316
1331
  tool(tool$hrisPatchHrisDevice);
1317
1332
  tool(tool$hrisPatchHrisEmployee);
1318
1333
  tool(tool$hrisPatchHrisGroup);
1319
1334
  tool(tool$hrisPatchHrisLocation);
1335
+ tool(tool$hrisPatchHrisTimeshift);
1320
1336
  tool(tool$hrisRemoveHrisCompany);
1321
1337
  tool(tool$hrisRemoveHrisDevice);
1322
1338
  tool(tool$hrisRemoveHrisEmployee);
1323
1339
  tool(tool$hrisRemoveHrisGroup);
1324
1340
  tool(tool$hrisRemoveHrisLocation);
1341
+ tool(tool$hrisRemoveHrisTimeshift);
1325
1342
  tool(tool$hrisUpdateHrisCompany);
1326
1343
  tool(tool$hrisUpdateHrisDevice);
1327
1344
  tool(tool$hrisUpdateHrisEmployee);
1328
1345
  tool(tool$hrisUpdateHrisGroup);
1329
1346
  tool(tool$hrisUpdateHrisLocation);
1347
+ tool(tool$hrisUpdateHrisTimeshift);
1330
1348
  tool(tool$deviceCreateHrisDevice);
1331
1349
  tool(tool$deviceGetHrisDevice);
1332
1350
  tool(tool$deviceListHrisDevices);
@@ -1355,6 +1373,12 @@ export function createMCPServer(deps: {
1355
1373
  tool(tool$payslipListHrisPayslips);
1356
1374
  tool(tool$timeoffGetHrisTimeoff);
1357
1375
  tool(tool$timeoffListHrisTimeoffs);
1376
+ tool(tool$timeshiftCreateHrisTimeshift);
1377
+ tool(tool$timeshiftGetHrisTimeshift);
1378
+ tool(tool$timeshiftListHrisTimeshifts);
1379
+ tool(tool$timeshiftPatchHrisTimeshift);
1380
+ tool(tool$timeshiftRemoveHrisTimeshift);
1381
+ tool(tool$timeshiftUpdateHrisTimeshift);
1358
1382
  tool(tool$kmsCreateKmsComment);
1359
1383
  tool(tool$kmsCreateKmsPage);
1360
1384
  tool(tool$kmsCreateKmsSpace);
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisCreateHrisTimeshift } from "../../funcs/hrisCreateHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.CreateHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisCreateHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "hris-create-hris-timeshift",
15
+ description: `Create a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisCreateHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisGetHrisTimeshift } from "../../funcs/hrisGetHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.GetHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisGetHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "hris-get-hris-timeshift",
15
+ description: `Retrieve a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisGetHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisListHrisTimeshifts } from "../../funcs/hrisListHrisTimeshifts.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.ListHrisTimeshiftsRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisListHrisTimeshifts: ToolDefinition<typeof args> = {
14
+ name: "hris-list-hris-timeshifts",
15
+ description: `List all timeshifts`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisListHrisTimeshifts(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisPatchHrisTimeshift } from "../../funcs/hrisPatchHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.PatchHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisPatchHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "hris-patch-hris-timeshift",
15
+ description: `Update a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisPatchHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisRemoveHrisTimeshift } from "../../funcs/hrisRemoveHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.RemoveHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisRemoveHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "hris-remove-hris-timeshift",
15
+ description: `Remove a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisRemoveHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ return formatResult(void 0, apiCall);
32
+ },
33
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { hrisUpdateHrisTimeshift } from "../../funcs/hrisUpdateHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.UpdateHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$hrisUpdateHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "hris-update-hris-timeshift",
15
+ description: `Update a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await hrisUpdateHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftCreateHrisTimeshift } from "../../funcs/timeshiftCreateHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.CreateHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftCreateHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "timeshift-create-hris-timeshift",
15
+ description: `Create a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftCreateHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftGetHrisTimeshift } from "../../funcs/timeshiftGetHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.GetHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftGetHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "timeshift-get-hris-timeshift",
15
+ description: `Retrieve a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftGetHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftListHrisTimeshifts } from "../../funcs/timeshiftListHrisTimeshifts.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.ListHrisTimeshiftsRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftListHrisTimeshifts: ToolDefinition<typeof args> = {
14
+ name: "timeshift-list-hris-timeshifts",
15
+ description: `List all timeshifts`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftListHrisTimeshifts(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftPatchHrisTimeshift } from "../../funcs/timeshiftPatchHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.PatchHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftPatchHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "timeshift-patch-hris-timeshift",
15
+ description: `Update a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftPatchHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftRemoveHrisTimeshift } from "../../funcs/timeshiftRemoveHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.RemoveHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftRemoveHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "timeshift-remove-hris-timeshift",
15
+ description: `Remove a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftRemoveHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ return formatResult(void 0, apiCall);
32
+ },
33
+ };
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { timeshiftUpdateHrisTimeshift } from "../../funcs/timeshiftUpdateHrisTimeshift.js";
6
+ import * as operations from "../../sdk/models/operations/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: operations.UpdateHrisTimeshiftRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$timeshiftUpdateHrisTimeshift: ToolDefinition<typeof args> = {
14
+ name: "timeshift-update-hris-timeshift",
15
+ description: `Update a timeshift`,
16
+ args,
17
+ tool: async (client, args, ctx) => {
18
+ const [result, apiCall] = await timeshiftUpdateHrisTimeshift(
19
+ client,
20
+ args.request,
21
+ { fetchOptions: { signal: ctx.signal } },
22
+ ).$inspect();
23
+
24
+ if (!result.ok) {
25
+ return {
26
+ content: [{ type: "text", text: result.error.message }],
27
+ isError: true,
28
+ };
29
+ }
30
+
31
+ const value = result.value;
32
+
33
+ return formatResult(value, apiCall);
34
+ },
35
+ };