bamboohr-cli 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/timeoff/create.d.ts +3 -0
- package/dist/commands/timeoff/create.d.ts.map +1 -0
- package/dist/commands/timeoff/create.js +40 -0
- package/dist/commands/timeoff/create.js.map +1 -0
- package/dist/commands/timeoff/index.d.ts.map +1 -1
- package/dist/commands/timeoff/index.js +11 -2
- package/dist/commands/timeoff/index.js.map +1 -1
- package/dist/commands/timeoff/types.d.ts +3 -0
- package/dist/commands/timeoff/types.d.ts.map +1 -0
- package/dist/commands/timeoff/types.js +25 -0
- package/dist/commands/timeoff/types.js.map +1 -0
- package/dist/commands/timeoff/update-status.d.ts +3 -0
- package/dist/commands/timeoff/update-status.d.ts.map +1 -0
- package/dist/commands/timeoff/update-status.js +30 -0
- package/dist/commands/timeoff/update-status.js.map +1 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/commands/timeoff/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAI5C,wBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,QAoDrC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Option } from 'commander';
|
|
2
|
+
import { getClient } from '../../utils/client.js';
|
|
3
|
+
import { output, handleError } from '../../utils/output.js';
|
|
4
|
+
export function create(parent) {
|
|
5
|
+
parent
|
|
6
|
+
.command('create <employeeId>')
|
|
7
|
+
.description('Create a time off request')
|
|
8
|
+
.requiredOption('--start <date>', 'Start date (YYYY-MM-DD)')
|
|
9
|
+
.requiredOption('--end <date>', 'End date (YYYY-MM-DD)')
|
|
10
|
+
.requiredOption('--type-id <id>', 'Time off type ID (use "timeoff types" to find IDs)', parseInt)
|
|
11
|
+
.requiredOption('--amount <amount>', 'Total amount of time off (in days or hours depending on type)', parseFloat)
|
|
12
|
+
.addOption(new Option('--status <status>', 'Request status').choices(['requested', 'approved']).default('requested'))
|
|
13
|
+
.option('--note <text>', 'Note to include with the request')
|
|
14
|
+
.option('--dates <json>', 'Per-day amounts as JSON array, e.g. \'[{"ymd":"2026-03-21","amount":4}]\' for half-day')
|
|
15
|
+
.addHelpText('after', `
|
|
16
|
+
Examples:
|
|
17
|
+
$ bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 1
|
|
18
|
+
$ bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 1 --note "Doctor appointment"
|
|
19
|
+
$ bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 4 --dates '[{"ymd":"2026-04-01","amount":4}]'`)
|
|
20
|
+
.action(async (employeeId, opts) => {
|
|
21
|
+
try {
|
|
22
|
+
const client = getClient();
|
|
23
|
+
const result = await client.timeOff.createRequest({
|
|
24
|
+
employeeId,
|
|
25
|
+
status: opts.status,
|
|
26
|
+
start: opts.start,
|
|
27
|
+
end: opts.end,
|
|
28
|
+
timeOffTypeId: opts.typeId,
|
|
29
|
+
amount: opts.amount,
|
|
30
|
+
notes: opts.note ? [{ from: 'employee', note: opts.note }] : undefined,
|
|
31
|
+
dates: opts.dates ? JSON.parse(opts.dates) : undefined,
|
|
32
|
+
});
|
|
33
|
+
output(result || { created: true, employeeId, start: opts.start, end: opts.end });
|
|
34
|
+
}
|
|
35
|
+
catch (err) {
|
|
36
|
+
handleError(err);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/timeoff/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,MAAM,EAAE,MAAM,WAAW,CAAC;AAC5C,O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CAAC,CAAC,CAAC,CAAC,SAAS;gBACtE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAuC,CAAC,CAAC,CAAC,SAAS;aAC9F,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QACpF,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CACF,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/timeoff/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/timeoff/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAsBvD"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { balance } from './balance.js';
|
|
2
|
+
import { create } from './create.js';
|
|
2
3
|
import { requests } from './requests.js';
|
|
4
|
+
import { types } from './types.js';
|
|
5
|
+
import { updateStatus } from './update-status.js';
|
|
3
6
|
import { whosOut } from './whos-out.js';
|
|
4
7
|
export function registerTimeoffCommands(program) {
|
|
5
8
|
const timeoff = program
|
|
@@ -7,12 +10,18 @@ export function registerTimeoffCommands(program) {
|
|
|
7
10
|
.description('Time off operations')
|
|
8
11
|
.addHelpText('after', `
|
|
9
12
|
Examples:
|
|
10
|
-
$ bamboohr timeoff
|
|
11
|
-
$ bamboohr timeoff
|
|
13
|
+
$ bamboohr timeoff types --requestable
|
|
14
|
+
$ bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 1
|
|
15
|
+
$ bamboohr timeoff requests --status requested --start 2026-01-01 --end 2026-12-31
|
|
16
|
+
$ bamboohr timeoff balance 504
|
|
12
17
|
$ bamboohr timeoff whos-out
|
|
18
|
+
$ bamboohr timeoff update-status 7890 --status approved
|
|
13
19
|
`);
|
|
20
|
+
types(timeoff);
|
|
21
|
+
create(timeoff);
|
|
14
22
|
requests(timeoff);
|
|
15
23
|
balance(timeoff);
|
|
16
24
|
whosOut(timeoff);
|
|
25
|
+
updateStatus(timeoff);
|
|
17
26
|
}
|
|
18
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/timeoff/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACtD,MAAM,OAAO,GAAG,OAAO;SACpB,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,qBAAqB,CAAC;SAClC,WAAW,CACV,OAAO,EACP
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/timeoff/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACtD,MAAM,OAAO,GAAG,OAAO;SACpB,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,qBAAqB,CAAC;SAClC,WAAW,CACV,OAAO,EACP;;;;;;;;CAQL,CACI,CAAC;IACJ,KAAK,CAAC,OAAO,CAAC,CAAC;IACf,MAAM,CAAC,OAAO,CAAC,CAAC;IAChB,QAAQ,CAAC,OAAO,CAAC,CAAC;IAClB,OAAO,CAAC,OAAO,CAAC,CAAC;IACjB,OAAO,CAAC,OAAO,CAAC,CAAC;IACjB,YAAY,CAAC,OAAO,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/timeoff/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,KAAK,CAAC,MAAM,EAAE,OAAO,QAuBpC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getClient } from '../../utils/client.js';
|
|
2
|
+
import { output, handleError } from '../../utils/output.js';
|
|
3
|
+
export function types(parent) {
|
|
4
|
+
parent
|
|
5
|
+
.command('types')
|
|
6
|
+
.description('List available time off types')
|
|
7
|
+
.option('--requestable', 'Only show types the user can request')
|
|
8
|
+
.addHelpText('after', `
|
|
9
|
+
Examples:
|
|
10
|
+
$ bamboohr timeoff types
|
|
11
|
+
$ bamboohr timeoff types --requestable`)
|
|
12
|
+
.action(async (opts) => {
|
|
13
|
+
try {
|
|
14
|
+
const client = getClient();
|
|
15
|
+
const result = await client.timeOff.getTypes({
|
|
16
|
+
mode: opts.requestable ? 'request' : undefined,
|
|
17
|
+
});
|
|
18
|
+
output(result);
|
|
19
|
+
}
|
|
20
|
+
catch (err) {
|
|
21
|
+
handleError(err);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/commands/timeoff/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,KAAK,CAAC,MAAe;IACnC,MAAM;SACH,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,+BAA+B,CAAC;SAC5C,MAAM,CAAC,eAAe,EAAE,sCAAsC,CAAC;SAC/D,WAAW,CACV,OAAO,EACP;;;yCAGmC,CACpC;SACA,MAAM,CAAC,KAAK,EAAE,IAA+B,EAAE,EAAE;QAChD,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;gBAC3C,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;aAC/C,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,CAAC;QACjB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-status.d.ts","sourceRoot":"","sources":["../../../src/commands/timeoff/update-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAI5C,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,QA6B3C"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Option } from 'commander';
|
|
2
|
+
import { getClient } from '../../utils/client.js';
|
|
3
|
+
import { output, handleError } from '../../utils/output.js';
|
|
4
|
+
export function updateStatus(parent) {
|
|
5
|
+
parent
|
|
6
|
+
.command('update-status <requestId>')
|
|
7
|
+
.description('Update time off request status (approve, deny, cancel)')
|
|
8
|
+
.addOption(new Option('--status <status>', 'New status').choices(['approved', 'denied', 'canceled']).makeOptionMandatory())
|
|
9
|
+
.option('--note <text>', 'Note to attach to the status change')
|
|
10
|
+
.addHelpText('after', `
|
|
11
|
+
Examples:
|
|
12
|
+
$ bamboohr timeoff update-status 7890 --status approved
|
|
13
|
+
$ bamboohr timeoff update-status 7890 --status denied --note "Team at capacity that week"
|
|
14
|
+
$ bamboohr timeoff update-status 7890 --status canceled`)
|
|
15
|
+
.action(async (requestId, opts) => {
|
|
16
|
+
try {
|
|
17
|
+
const client = getClient();
|
|
18
|
+
const result = await client.timeOff.updateRequestStatus({
|
|
19
|
+
requestId,
|
|
20
|
+
status: opts.status,
|
|
21
|
+
note: opts.note,
|
|
22
|
+
});
|
|
23
|
+
output(result || { updated: true, requestId, status: opts.status });
|
|
24
|
+
}
|
|
25
|
+
catch (err) {
|
|
26
|
+
handleError(err);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=update-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-status.js","sourceRoot":"","sources":["../../../src/commands/timeoff/update-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,MAAM,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,YAAY,CAAC,MAAe;IAC1C,MAAM;SACH,OAAO,CAAC,2BAA2B,CAAC;SACpC,WAAW,CAAC,wDAAwD,CAAC;SACrE,SAAS,CACR,IAAI,MAAM,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAChH;SACA,MAAM,CAAC,eAAe,EAAE,qCAAqC,CAAC;SAC9D,WAAW,CACV,OAAO,EACP;;;;0DAIoD,CACrD;SACA,MAAM,CAAC,KAAK,EAAE,SAAiB,EAAE,IAAuC,EAAE,EAAE;QAC3E,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC;gBACtD,SAAS;gBACT,MAAM,EAAE,IAAI,CAAC,MAA4C;gBACzD,IAAI,EAAE,IAAI,CAAC,IAAI;aAChB,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACtE,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -31,8 +31,12 @@ ${styleText('bold', 'Examples:')}
|
|
|
31
31
|
${DIM}$${RESET} bamboohr employee get 123 --fields "firstName,lastName,department"
|
|
32
32
|
${DIM}$${RESET} bamboohr employee directory
|
|
33
33
|
${DIM}$${RESET} bamboohr employee photo 123 --output ./photo.jpg
|
|
34
|
-
${DIM}$${RESET} bamboohr timeoff
|
|
34
|
+
${DIM}$${RESET} bamboohr timeoff types --requestable
|
|
35
|
+
${DIM}$${RESET} bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 1
|
|
36
|
+
${DIM}$${RESET} bamboohr timeoff create 504 --start 2026-04-01 --end 2026-04-01 --type-id 83 --amount 1 --note "Doctor appointment"
|
|
37
|
+
${DIM}$${RESET} bamboohr timeoff requests --status requested --start 2026-01-01 --end 2026-12-31
|
|
35
38
|
${DIM}$${RESET} bamboohr timeoff whos-out
|
|
39
|
+
${DIM}$${RESET} bamboohr timeoff update-status 7890 --status approved
|
|
36
40
|
${DIM}$${RESET} bamboohr file list
|
|
37
41
|
${DIM}$${RESET} bamboohr meta fields
|
|
38
42
|
`);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,MAAM,GAAG,GAAG,SAAS,CAAC;AACtB,MAAM,KAAK,GAAG,SAAS,CAAC;AAExB,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAC9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CAAC,cAAc,CAAC;KAC3B,OAAO,CAAC,OAAO,CAAC;KAChB,aAAa,CAAC;IACb,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,CAAC;IAC3C,UAAU,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IAC1C,uBAAuB,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IACvD,sBAAsB,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC;IACtD,0BAA0B,EAAE,CAAC,GAAG,EAAE,EA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CAAC,OAAO,CAAC,CAAC;AACjC,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAC9B,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAE9B,OAAO,CAAC,KAAK,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bamboohr-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"publish": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"commander": "^13.1.0",
|
|
15
15
|
"dotenv": "17.2.3",
|
|
16
|
-
"bamboohr-client": "1.0.
|
|
16
|
+
"bamboohr-client": "1.0.17"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "24.10.4",
|