@togglhq/cli 1.13.44 → 1.13.45
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/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-DHi8hJEg.js → program-BoX5jdoM.js} +63 -63
- package/build/program.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BoX5jdoM.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BoX5jdoM.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7163,16 +7163,16 @@ const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
|
|
|
7163
7163
|
const EffectiveProjectRatesSummarySchema = /* @__PURE__ */ object({
|
|
7164
7164
|
billable: /* @__PURE__ */ boolean(),
|
|
7165
7165
|
currency: /* @__PURE__ */ string(),
|
|
7166
|
-
end_at: /* @__PURE__ */ string(),
|
|
7167
7166
|
has_more_rates: /* @__PURE__ */ boolean(),
|
|
7168
7167
|
hourly_rate: /* @__PURE__ */ number(),
|
|
7169
7168
|
project_color: /* @__PURE__ */ string(),
|
|
7170
7169
|
project_created_at: /* @__PURE__ */ string(),
|
|
7171
7170
|
project_id: /* @__PURE__ */ number(),
|
|
7172
7171
|
project_name: /* @__PURE__ */ string(),
|
|
7173
|
-
project_rate_id: /* @__PURE__ */ number(),
|
|
7174
7172
|
start_at: /* @__PURE__ */ string(),
|
|
7175
|
-
|
|
7173
|
+
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7174
|
+
project_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7175
|
+
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7176
7176
|
});
|
|
7177
7177
|
const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
7178
7178
|
draft: /* @__PURE__ */ boolean(),
|
|
@@ -7696,15 +7696,15 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7696
7696
|
billable_source: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(BillableSourceSchema, /* @__PURE__ */ description("Whether `billable` was set on the entry (`manual`) or resolved from its task, else its project (`task_default`)."))),
|
|
7697
7697
|
calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
7698
7698
|
all_day: /* @__PURE__ */ boolean(),
|
|
7699
|
-
background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7700
|
-
end_time: /* @__PURE__ */ string(),
|
|
7701
|
-
foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7702
7699
|
html_link: /* @__PURE__ */ string(),
|
|
7703
7700
|
id: /* @__PURE__ */ number(),
|
|
7704
|
-
meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
7705
7701
|
provider: /* @__PURE__ */ string(),
|
|
7706
|
-
|
|
7707
|
-
|
|
7702
|
+
background_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7703
|
+
end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7704
|
+
foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7705
|
+
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7706
|
+
start_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7707
|
+
title: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7708
7708
|
}))),
|
|
7709
7709
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7710
7710
|
calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("CalendarID is the calendar service's calendar PK. It stays set after a calendar deselect clears calendar_event_id."))),
|
|
@@ -7755,34 +7755,30 @@ const PaginatedTagsSchema = /* @__PURE__ */ object({
|
|
|
7755
7755
|
});
|
|
7756
7756
|
const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
7757
7757
|
"2fa_enabled": /* @__PURE__ */ boolean(),
|
|
7758
|
-
account_locked_at: /* @__PURE__ */ string(),
|
|
7759
7758
|
accounts_role_id: /* @__PURE__ */ number(),
|
|
7760
7759
|
active: /* @__PURE__ */ boolean(),
|
|
7761
7760
|
can_edit_personal_details: /* @__PURE__ */ boolean(),
|
|
7762
7761
|
created_at: /* @__PURE__ */ string(),
|
|
7763
|
-
deleted_at: /* @__PURE__ */ string(),
|
|
7764
7762
|
email: /* @__PURE__ */ string(),
|
|
7765
7763
|
groups: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7766
|
-
emoji: /* @__PURE__ */ string(),
|
|
7767
7764
|
id: /* @__PURE__ */ number(),
|
|
7768
7765
|
name: /* @__PURE__ */ string(),
|
|
7769
|
-
workspace_ids: /* @__PURE__ */ array(/* @__PURE__ */ number())
|
|
7766
|
+
workspace_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
7767
|
+
emoji: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7770
7768
|
})),
|
|
7771
7769
|
id: /* @__PURE__ */ number(),
|
|
7772
|
-
invite_sent: /* @__PURE__ */ boolean(),
|
|
7773
7770
|
joined: /* @__PURE__ */ boolean(),
|
|
7774
7771
|
name: /* @__PURE__ */ string(),
|
|
7775
7772
|
organization_id: /* @__PURE__ */ number(),
|
|
7776
7773
|
owner: /* @__PURE__ */ boolean(),
|
|
7777
|
-
permissions: /* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown()),
|
|
7778
7774
|
rate: /* @__PURE__ */ object({
|
|
7779
7775
|
currency: /* @__PURE__ */ string(),
|
|
7780
|
-
end_at: /* @__PURE__ */ string(),
|
|
7781
7776
|
hourly_rate: /* @__PURE__ */ number(),
|
|
7782
7777
|
start_at: /* @__PURE__ */ string(),
|
|
7783
7778
|
workspace_id: /* @__PURE__ */ number(),
|
|
7784
|
-
|
|
7785
|
-
|
|
7779
|
+
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7780
|
+
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7781
|
+
workspace_user_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7786
7782
|
}),
|
|
7787
7783
|
tags: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7788
7784
|
color: /* @__PURE__ */ string(),
|
|
@@ -7792,13 +7788,12 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7792
7788
|
updated_at: /* @__PURE__ */ string(),
|
|
7793
7789
|
user_account_id: /* @__PURE__ */ number(),
|
|
7794
7790
|
user_id: /* @__PURE__ */ string(),
|
|
7795
|
-
working_hours: /* @__PURE__ */ number(),
|
|
7796
7791
|
workspaces: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7797
7792
|
focus_role_id: /* @__PURE__ */ number(),
|
|
7798
7793
|
groups: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7799
|
-
emoji: /* @__PURE__ */ string(),
|
|
7800
7794
|
id: /* @__PURE__ */ number(),
|
|
7801
|
-
name: /* @__PURE__ */ string()
|
|
7795
|
+
name: /* @__PURE__ */ string(),
|
|
7796
|
+
emoji: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
7802
7797
|
})),
|
|
7803
7798
|
id: /* @__PURE__ */ number(),
|
|
7804
7799
|
name: /* @__PURE__ */ string(),
|
|
@@ -7807,12 +7802,17 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7807
7802
|
work_role_id: /* @__PURE__ */ number(),
|
|
7808
7803
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7809
7804
|
})),
|
|
7805
|
+
account_locked_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7810
7806
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7807
|
+
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7811
7808
|
designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7812
7809
|
id: /* @__PURE__ */ number(),
|
|
7813
7810
|
name: /* @__PURE__ */ string()
|
|
7814
7811
|
}))),
|
|
7815
|
-
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page.")))
|
|
7812
|
+
has_calendar_integration: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("HasCalendarIntegration is true when the member has a calendar connected in Focus. The field is present only when the request sets include_calendar_integration to true and the calendar lookup succeeded. The field is absent when the lookup failed. Absent means unknown. It does not mean false. A member who connected a calendar in another product stays false here until they open the Focus calendar integrations page."))),
|
|
7813
|
+
invite_sent: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7814
|
+
permissions: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
|
|
7815
|
+
working_hours: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7816
7816
|
});
|
|
7817
7817
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
7818
7818
|
const ProjectBulkGroupEntrySchema = /* @__PURE__ */ object({
|
|
@@ -16602,14 +16602,16 @@ const generatedFocusOperations = [
|
|
|
16602
16602
|
payload: /* @__PURE__ */ looseObject({
|
|
16603
16603
|
text: /* @__PURE__ */ string$1(),
|
|
16604
16604
|
page_context: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16605
|
+
page: /* @__PURE__ */ string$1(),
|
|
16606
|
+
version: /* @__PURE__ */ number$2(),
|
|
16607
|
+
date_range: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16608
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16609
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16610
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16611
|
+
})),
|
|
16612
|
+
extra: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16613
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16614
|
+
entities: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16613
16615
|
id: /* @__PURE__ */ number$2(),
|
|
16614
16616
|
kind: /* @__PURE__ */ picklist$1([
|
|
16615
16617
|
"project",
|
|
@@ -16621,11 +16623,11 @@ const generatedFocusOperations = [
|
|
|
16621
16623
|
"status",
|
|
16622
16624
|
"time_entry"
|
|
16623
16625
|
]),
|
|
16624
|
-
name: /* @__PURE__ */ string$1()
|
|
16625
|
-
})),
|
|
16626
|
-
search: /* @__PURE__ */ string$1()
|
|
16627
|
-
}),
|
|
16628
|
-
focus: /* @__PURE__ */ looseObject({
|
|
16626
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16627
|
+
}))),
|
|
16628
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16629
|
+
})),
|
|
16630
|
+
focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16629
16631
|
id: /* @__PURE__ */ number$2(),
|
|
16630
16632
|
kind: /* @__PURE__ */ picklist$1([
|
|
16631
16633
|
"project",
|
|
@@ -16637,10 +16639,10 @@ const generatedFocusOperations = [
|
|
|
16637
16639
|
"status",
|
|
16638
16640
|
"time_entry"
|
|
16639
16641
|
]),
|
|
16640
|
-
name: /* @__PURE__ */ string$1()
|
|
16641
|
-
}),
|
|
16642
|
-
groups: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16643
|
-
items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16642
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16643
|
+
})),
|
|
16644
|
+
groups: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16645
|
+
items: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16644
16646
|
id: /* @__PURE__ */ number$2(),
|
|
16645
16647
|
kind: /* @__PURE__ */ picklist$1([
|
|
16646
16648
|
"project",
|
|
@@ -16652,10 +16654,10 @@ const generatedFocusOperations = [
|
|
|
16652
16654
|
"status",
|
|
16653
16655
|
"time_entry"
|
|
16654
16656
|
]),
|
|
16655
|
-
name: /* @__PURE__ */ string$1()
|
|
16656
|
-
})),
|
|
16657
|
-
label: /* @__PURE__ */ string$1(),
|
|
16658
|
-
ref: /* @__PURE__ */ looseObject({
|
|
16657
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16658
|
+
}))),
|
|
16659
|
+
label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16660
|
+
ref: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16659
16661
|
id: /* @__PURE__ */ number$2(),
|
|
16660
16662
|
kind: /* @__PURE__ */ picklist$1([
|
|
16661
16663
|
"project",
|
|
@@ -16667,10 +16669,10 @@ const generatedFocusOperations = [
|
|
|
16667
16669
|
"status",
|
|
16668
16670
|
"time_entry"
|
|
16669
16671
|
]),
|
|
16670
|
-
name: /* @__PURE__ */ string$1()
|
|
16671
|
-
})
|
|
16672
|
-
})),
|
|
16673
|
-
items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16672
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16673
|
+
}))
|
|
16674
|
+
}))),
|
|
16675
|
+
items: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16674
16676
|
id: /* @__PURE__ */ number$2(),
|
|
16675
16677
|
kind: /* @__PURE__ */ picklist$1([
|
|
16676
16678
|
"project",
|
|
@@ -16682,13 +16684,11 @@ const generatedFocusOperations = [
|
|
|
16682
16684
|
"status",
|
|
16683
16685
|
"time_entry"
|
|
16684
16686
|
]),
|
|
16685
|
-
name: /* @__PURE__ */ string$1()
|
|
16686
|
-
})),
|
|
16687
|
-
language: /* @__PURE__ */ string$1(),
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
url: /* @__PURE__ */ string$1(),
|
|
16691
|
-
version: /* @__PURE__ */ number$2()
|
|
16687
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16688
|
+
}))),
|
|
16689
|
+
language: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16690
|
+
page_label: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16691
|
+
url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16692
16692
|
}))
|
|
16693
16693
|
})
|
|
16694
16694
|
}),
|
|
@@ -18742,10 +18742,10 @@ const generatedFocusOperations = [
|
|
|
18742
18742
|
},
|
|
18743
18743
|
mcp: { entityTool: "organization" },
|
|
18744
18744
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
18745
|
-
emoji: /* @__PURE__ */ string$1(),
|
|
18746
18745
|
name: /* @__PURE__ */ string$1(),
|
|
18747
|
-
|
|
18748
|
-
|
|
18746
|
+
emoji: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18747
|
+
organization_users: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
18748
|
+
workspaces: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
18749
18749
|
}) }),
|
|
18750
18750
|
execute: (input, { client }) => {
|
|
18751
18751
|
const data = input;
|
|
@@ -18908,10 +18908,10 @@ const generatedFocusOperations = [
|
|
|
18908
18908
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18909
18909
|
group_id: /* @__PURE__ */ number$2(),
|
|
18910
18910
|
payload: /* @__PURE__ */ looseObject({
|
|
18911
|
-
emoji: /* @__PURE__ */ string$1(),
|
|
18912
18911
|
name: /* @__PURE__ */ string$1(),
|
|
18913
|
-
|
|
18914
|
-
|
|
18912
|
+
emoji: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18913
|
+
organization_users: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
18914
|
+
workspaces: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
18915
18915
|
})
|
|
18916
18916
|
}),
|
|
18917
18917
|
execute: (input, { client }) => {
|
|
@@ -22512,7 +22512,6 @@ const generatedFocusOperations = [
|
|
|
22512
22512
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22513
22513
|
name: /* @__PURE__ */ string$1(),
|
|
22514
22514
|
params: /* @__PURE__ */ unknown$1(),
|
|
22515
|
-
pinned: /* @__PURE__ */ boolean$1(),
|
|
22516
22515
|
type: /* @__PURE__ */ picklist$1([
|
|
22517
22516
|
"inbox",
|
|
22518
22517
|
"archive",
|
|
@@ -22531,7 +22530,8 @@ const generatedFocusOperations = [
|
|
|
22531
22530
|
"reports.time-off",
|
|
22532
22531
|
"reports.time-accounting"
|
|
22533
22532
|
]),
|
|
22534
|
-
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
22533
|
+
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22534
|
+
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
22535
22535
|
}) }),
|
|
22536
22536
|
execute: (input, { client }) => {
|
|
22537
22537
|
const data = input;
|
|
@@ -30192,4 +30192,4 @@ Common commands:
|
|
|
30192
30192
|
//#endregion
|
|
30193
30193
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30194
30194
|
|
|
30195
|
-
//# sourceMappingURL=program-
|
|
30195
|
+
//# sourceMappingURL=program-BoX5jdoM.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-BoX5jdoM.js";
|
|
2
2
|
export { createProgram };
|