@togglhq/cli 1.13.38 → 1.13.40
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
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-F7pyW0m_.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-F7pyW0m_.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7155,7 +7155,11 @@ const CustomFieldValueSchema = /* @__PURE__ */ object({
|
|
|
7155
7155
|
})),
|
|
7156
7156
|
value: /* @__PURE__ */ unknown()
|
|
7157
7157
|
});
|
|
7158
|
-
const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
|
|
7158
|
+
const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist([
|
|
7159
|
+
"manual",
|
|
7160
|
+
"tasks",
|
|
7161
|
+
"designation"
|
|
7162
|
+
]);
|
|
7159
7163
|
const EffectiveProjectRatesSummarySchema = /* @__PURE__ */ object({
|
|
7160
7164
|
billable: /* @__PURE__ */ boolean(),
|
|
7161
7165
|
currency: /* @__PURE__ */ string(),
|
|
@@ -7411,7 +7415,11 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
|
|
|
7411
7415
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7412
7416
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7413
7417
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7414
|
-
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist([
|
|
7418
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist([
|
|
7419
|
+
"manual",
|
|
7420
|
+
"tasks",
|
|
7421
|
+
"designation"
|
|
7422
|
+
]))),
|
|
7415
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7416
7424
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeePayloadSchema),
|
|
7417
7425
|
is_template: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7544,6 +7552,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7544
7552
|
billable: /* @__PURE__ */ boolean(),
|
|
7545
7553
|
completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
|
|
7546
7554
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7555
|
+
designation_estimated_mins: /* @__PURE__ */ number(),
|
|
7547
7556
|
draft: /* @__PURE__ */ boolean(),
|
|
7548
7557
|
estimate_source: ProjectEstimateSourceSchema,
|
|
7549
7558
|
id: /* @__PURE__ */ number(),
|
|
@@ -7826,7 +7835,11 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7826
7835
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7827
7836
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7828
7837
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7829
|
-
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
|
|
7838
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
|
|
7839
|
+
"manual",
|
|
7840
|
+
"tasks",
|
|
7841
|
+
"designation"
|
|
7842
|
+
])),
|
|
7830
7843
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7831
7844
|
fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
|
|
7832
7845
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ minLength(1))),
|
|
@@ -7853,7 +7866,11 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7853
7866
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7854
7867
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7855
7868
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
7856
|
-
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
|
|
7869
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist([
|
|
7870
|
+
"manual",
|
|
7871
|
+
"tasks",
|
|
7872
|
+
"designation"
|
|
7873
|
+
])),
|
|
7857
7874
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
7858
7875
|
fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
|
|
7859
7876
|
groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
|
|
@@ -15196,12 +15213,13 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
15196
15213
|
}
|
|
15197
15214
|
//#endregion
|
|
15198
15215
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
15199
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, page, per_page, order_by } = {}, signal) {
|
|
15216
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, include_members, page, per_page, order_by } = {}, signal) {
|
|
15200
15217
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
15201
15218
|
signal,
|
|
15202
15219
|
searchParams: buildSearchParams$2({
|
|
15203
15220
|
designation_id,
|
|
15204
15221
|
name,
|
|
15222
|
+
include_members,
|
|
15205
15223
|
page,
|
|
15206
15224
|
per_page,
|
|
15207
15225
|
order_by
|
|
@@ -18063,6 +18081,7 @@ const generatedFocusOperations = [
|
|
|
18063
18081
|
mcp: { entityTool: "designations" },
|
|
18064
18082
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18065
18083
|
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18084
|
+
include_members: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18066
18085
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18067
18086
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18068
18087
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -19339,7 +19358,11 @@ const generatedFocusOperations = [
|
|
|
19339
19358
|
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19340
19359
|
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
19341
19360
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
19342
|
-
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19361
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19362
|
+
"manual",
|
|
19363
|
+
"tasks",
|
|
19364
|
+
"designation"
|
|
19365
|
+
])),
|
|
19343
19366
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19344
19367
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19345
19368
|
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -19383,7 +19406,11 @@ const generatedFocusOperations = [
|
|
|
19383
19406
|
date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
19384
19407
|
payload: /* @__PURE__ */ looseObject({
|
|
19385
19408
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19386
|
-
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19409
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19410
|
+
"manual",
|
|
19411
|
+
"tasks",
|
|
19412
|
+
"designation"
|
|
19413
|
+
])),
|
|
19387
19414
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
19388
19415
|
}),
|
|
19389
19416
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -19419,7 +19446,11 @@ const generatedFocusOperations = [
|
|
|
19419
19446
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19420
19447
|
payload: /* @__PURE__ */ looseObject({
|
|
19421
19448
|
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19422
|
-
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19449
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19450
|
+
"manual",
|
|
19451
|
+
"tasks",
|
|
19452
|
+
"designation"
|
|
19453
|
+
])),
|
|
19423
19454
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
19424
19455
|
fixed_fee: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
19425
19456
|
amount: /* @__PURE__ */ number$2(),
|
|
@@ -30161,4 +30192,4 @@ Common commands:
|
|
|
30161
30192
|
//#endregion
|
|
30162
30193
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30163
30194
|
|
|
30164
|
-
//# sourceMappingURL=program-
|
|
30195
|
+
//# sourceMappingURL=program-F7pyW0m_.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-F7pyW0m_.js";
|
|
2
2
|
export { createProgram };
|