@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.
- package/README.md +12 -0
- package/bin/mcp-server.js +5326 -3650
- package/bin/mcp-server.js.map +42 -11
- package/docs/sdks/hris/README.md +500 -0
- package/docs/sdks/timeshift/README.md +507 -0
- package/funcs/hrisCreateHrisTimeshift.d.ts +14 -0
- package/funcs/hrisCreateHrisTimeshift.d.ts.map +1 -0
- package/funcs/hrisCreateHrisTimeshift.js +110 -0
- package/funcs/hrisCreateHrisTimeshift.js.map +1 -0
- package/funcs/hrisGetHrisTimeshift.d.ts +14 -0
- package/funcs/hrisGetHrisTimeshift.d.ts.map +1 -0
- package/funcs/hrisGetHrisTimeshift.js +113 -0
- package/funcs/hrisGetHrisTimeshift.js.map +1 -0
- package/funcs/hrisListHrisTimeoffs.js +2 -0
- package/funcs/hrisListHrisTimeoffs.js.map +1 -1
- package/funcs/hrisListHrisTimeshifts.d.ts +14 -0
- package/funcs/hrisListHrisTimeshifts.d.ts.map +1 -0
- package/funcs/hrisListHrisTimeshifts.js +121 -0
- package/funcs/hrisListHrisTimeshifts.js.map +1 -0
- package/funcs/hrisPatchHrisTimeshift.d.ts +14 -0
- package/funcs/hrisPatchHrisTimeshift.d.ts.map +1 -0
- package/funcs/hrisPatchHrisTimeshift.js +114 -0
- package/funcs/hrisPatchHrisTimeshift.js.map +1 -0
- package/funcs/hrisRemoveHrisTimeshift.d.ts +13 -0
- package/funcs/hrisRemoveHrisTimeshift.d.ts.map +1 -0
- package/funcs/hrisRemoveHrisTimeshift.js +110 -0
- package/funcs/hrisRemoveHrisTimeshift.js.map +1 -0
- package/funcs/hrisUpdateHrisTimeshift.d.ts +14 -0
- package/funcs/hrisUpdateHrisTimeshift.d.ts.map +1 -0
- package/funcs/hrisUpdateHrisTimeshift.js +114 -0
- package/funcs/hrisUpdateHrisTimeshift.js.map +1 -0
- package/funcs/timeoffListHrisTimeoffs.js +2 -0
- package/funcs/timeoffListHrisTimeoffs.js.map +1 -1
- package/funcs/timeshiftCreateHrisTimeshift.d.ts +14 -0
- package/funcs/timeshiftCreateHrisTimeshift.d.ts.map +1 -0
- package/funcs/timeshiftCreateHrisTimeshift.js +110 -0
- package/funcs/timeshiftCreateHrisTimeshift.js.map +1 -0
- package/funcs/timeshiftGetHrisTimeshift.d.ts +14 -0
- package/funcs/timeshiftGetHrisTimeshift.d.ts.map +1 -0
- package/funcs/timeshiftGetHrisTimeshift.js +113 -0
- package/funcs/timeshiftGetHrisTimeshift.js.map +1 -0
- package/funcs/timeshiftListHrisTimeshifts.d.ts +14 -0
- package/funcs/timeshiftListHrisTimeshifts.d.ts.map +1 -0
- package/funcs/timeshiftListHrisTimeshifts.js +121 -0
- package/funcs/timeshiftListHrisTimeshifts.js.map +1 -0
- package/funcs/timeshiftPatchHrisTimeshift.d.ts +14 -0
- package/funcs/timeshiftPatchHrisTimeshift.d.ts.map +1 -0
- package/funcs/timeshiftPatchHrisTimeshift.js +114 -0
- package/funcs/timeshiftPatchHrisTimeshift.js.map +1 -0
- package/funcs/timeshiftRemoveHrisTimeshift.d.ts +13 -0
- package/funcs/timeshiftRemoveHrisTimeshift.d.ts.map +1 -0
- package/funcs/timeshiftRemoveHrisTimeshift.js +110 -0
- package/funcs/timeshiftRemoveHrisTimeshift.js.map +1 -0
- package/funcs/timeshiftUpdateHrisTimeshift.d.ts +14 -0
- package/funcs/timeshiftUpdateHrisTimeshift.d.ts.map +1 -0
- package/funcs/timeshiftUpdateHrisTimeshift.js +114 -0
- package/funcs/timeshiftUpdateHrisTimeshift.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +25 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/hrisCreateHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/hrisCreateHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/hrisCreateHrisTimeshift.js +52 -0
- package/mcp-server/tools/hrisCreateHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/hrisGetHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/hrisGetHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/hrisGetHrisTimeshift.js +52 -0
- package/mcp-server/tools/hrisGetHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/hrisListHrisTimeshifts.d.ts +8 -0
- package/mcp-server/tools/hrisListHrisTimeshifts.d.ts.map +1 -0
- package/mcp-server/tools/hrisListHrisTimeshifts.js +52 -0
- package/mcp-server/tools/hrisListHrisTimeshifts.js.map +1 -0
- package/mcp-server/tools/hrisPatchHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/hrisPatchHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/hrisPatchHrisTimeshift.js +52 -0
- package/mcp-server/tools/hrisPatchHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/hrisRemoveHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/hrisRemoveHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/hrisRemoveHrisTimeshift.js +51 -0
- package/mcp-server/tools/hrisRemoveHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/hrisUpdateHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/hrisUpdateHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/hrisUpdateHrisTimeshift.js +52 -0
- package/mcp-server/tools/hrisUpdateHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/timeshiftCreateHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/timeshiftCreateHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftCreateHrisTimeshift.js +52 -0
- package/mcp-server/tools/timeshiftCreateHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/timeshiftGetHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/timeshiftGetHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftGetHrisTimeshift.js +52 -0
- package/mcp-server/tools/timeshiftGetHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/timeshiftListHrisTimeshifts.d.ts +8 -0
- package/mcp-server/tools/timeshiftListHrisTimeshifts.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftListHrisTimeshifts.js +52 -0
- package/mcp-server/tools/timeshiftListHrisTimeshifts.js.map +1 -0
- package/mcp-server/tools/timeshiftPatchHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/timeshiftPatchHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftPatchHrisTimeshift.js +52 -0
- package/mcp-server/tools/timeshiftPatchHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/timeshiftRemoveHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/timeshiftRemoveHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftRemoveHrisTimeshift.js +51 -0
- package/mcp-server/tools/timeshiftRemoveHrisTimeshift.js.map +1 -0
- package/mcp-server/tools/timeshiftUpdateHrisTimeshift.d.ts +8 -0
- package/mcp-server/tools/timeshiftUpdateHrisTimeshift.d.ts.map +1 -0
- package/mcp-server/tools/timeshiftUpdateHrisTimeshift.js +52 -0
- package/mcp-server/tools/timeshiftUpdateHrisTimeshift.js.map +1 -0
- package/package.json +1 -1
- package/sdk/hris.d.ts +24 -0
- package/sdk/hris.d.ts.map +1 -1
- package/sdk/hris.js +42 -0
- package/sdk/hris.js.map +1 -1
- package/sdk/models/operations/createhristimeshift.d.ts +45 -0
- package/sdk/models/operations/createhristimeshift.d.ts.map +1 -0
- package/sdk/models/operations/createhristimeshift.js +77 -0
- package/sdk/models/operations/createhristimeshift.js.map +1 -0
- package/sdk/models/operations/gethristimeshift.d.ts +47 -0
- package/sdk/models/operations/gethristimeshift.d.ts.map +1 -0
- package/sdk/models/operations/gethristimeshift.js +74 -0
- package/sdk/models/operations/gethristimeshift.js.map +1 -0
- package/sdk/models/operations/index.d.ts +6 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +6 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listhristimeoffs.d.ts +10 -0
- package/sdk/models/operations/listhristimeoffs.d.ts.map +1 -1
- package/sdk/models/operations/listhristimeoffs.js +8 -0
- package/sdk/models/operations/listhristimeoffs.js.map +1 -1
- package/sdk/models/operations/listhristimeshifts.d.ts +85 -0
- package/sdk/models/operations/listhristimeshifts.d.ts.map +1 -0
- package/sdk/models/operations/listhristimeshifts.js +106 -0
- package/sdk/models/operations/listhristimeshifts.js.map +1 -0
- package/sdk/models/operations/patchhristimeshift.d.ts +50 -0
- package/sdk/models/operations/patchhristimeshift.d.ts.map +1 -0
- package/sdk/models/operations/patchhristimeshift.js +79 -0
- package/sdk/models/operations/patchhristimeshift.js.map +1 -0
- package/sdk/models/operations/removehristimeshift.d.ts +66 -0
- package/sdk/models/operations/removehristimeshift.d.ts.map +1 -0
- package/sdk/models/operations/removehristimeshift.js +105 -0
- package/sdk/models/operations/removehristimeshift.js.map +1 -0
- package/sdk/models/operations/updatehristimeshift.d.ts +50 -0
- package/sdk/models/operations/updatehristimeshift.d.ts.map +1 -0
- package/sdk/models/operations/updatehristimeshift.js +79 -0
- package/sdk/models/operations/updatehristimeshift.js.map +1 -0
- package/sdk/models/shared/hristimeshift.d.ts +62 -0
- package/sdk/models/shared/hristimeshift.d.ts.map +1 -0
- package/sdk/models/shared/hristimeshift.js +122 -0
- package/sdk/models/shared/hristimeshift.js.map +1 -0
- package/sdk/models/shared/index.d.ts +1 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +1 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/timeshift.d.ts +30 -0
- package/sdk/timeshift.d.ts.map +1 -0
- package/sdk/timeshift.js +54 -0
- package/sdk/timeshift.js.map +1 -0
- package/src/funcs/hrisCreateHrisTimeshift.ts +165 -0
- package/src/funcs/hrisGetHrisTimeshift.ts +167 -0
- package/src/funcs/hrisListHrisTimeoffs.ts +2 -0
- package/src/funcs/hrisListHrisTimeshifts.ts +175 -0
- package/src/funcs/hrisPatchHrisTimeshift.ts +168 -0
- package/src/funcs/hrisRemoveHrisTimeshift.ts +170 -0
- package/src/funcs/hrisUpdateHrisTimeshift.ts +169 -0
- package/src/funcs/timeoffListHrisTimeoffs.ts +2 -0
- package/src/funcs/timeshiftCreateHrisTimeshift.ts +165 -0
- package/src/funcs/timeshiftGetHrisTimeshift.ts +167 -0
- package/src/funcs/timeshiftListHrisTimeshifts.ts +175 -0
- package/src/funcs/timeshiftPatchHrisTimeshift.ts +168 -0
- package/src/funcs/timeshiftRemoveHrisTimeshift.ts +170 -0
- package/src/funcs/timeshiftUpdateHrisTimeshift.ts +169 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +25 -1
- package/src/mcp-server/tools/hrisCreateHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/hrisGetHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/hrisListHrisTimeshifts.ts +35 -0
- package/src/mcp-server/tools/hrisPatchHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/hrisRemoveHrisTimeshift.ts +33 -0
- package/src/mcp-server/tools/hrisUpdateHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/timeshiftCreateHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/timeshiftGetHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/timeshiftListHrisTimeshifts.ts +35 -0
- package/src/mcp-server/tools/timeshiftPatchHrisTimeshift.ts +35 -0
- package/src/mcp-server/tools/timeshiftRemoveHrisTimeshift.ts +33 -0
- package/src/mcp-server/tools/timeshiftUpdateHrisTimeshift.ts +35 -0
- package/src/sdk/hris.ts +90 -0
- package/src/sdk/models/operations/createhristimeshift.ts +99 -0
- package/src/sdk/models/operations/gethristimeshift.ts +99 -0
- package/src/sdk/models/operations/index.ts +6 -0
- package/src/sdk/models/operations/listhristimeoffs.ts +18 -0
- package/src/sdk/models/operations/listhristimeshifts.ts +169 -0
- package/src/sdk/models/operations/patchhristimeshift.ts +106 -0
- package/src/sdk/models/operations/removehristimeshift.ts +153 -0
- package/src/sdk/models/operations/updatehristimeshift.ts +106 -0
- package/src/sdk/models/shared/hristimeshift.ts +158 -0
- package/src/sdk/models/shared/index.ts +1 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/timeshift.ts +100 -0
package/src/mcp-server/server.ts
CHANGED
|
@@ -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.
|
|
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
|
+
};
|