@togglhq/cli 1.11.220 → 1.11.221
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-BC3JyWrz.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-BC3JyWrz.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7830,6 +7830,10 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7830
7830
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7831
7831
|
})),
|
|
7832
7832
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7833
|
+
designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7834
|
+
id: /* @__PURE__ */ number(),
|
|
7835
|
+
name: /* @__PURE__ */ string()
|
|
7836
|
+
}))),
|
|
7833
7837
|
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.")))
|
|
7834
7838
|
});
|
|
7835
7839
|
const ProjectBulkArchivePayloadSchema = /* @__PURE__ */ object({ project_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
@@ -9932,7 +9936,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9932
9936
|
})
|
|
9933
9937
|
}).json();
|
|
9934
9938
|
}
|
|
9935
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9939
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations } = {}, signal) {
|
|
9936
9940
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9937
9941
|
signal,
|
|
9938
9942
|
searchParams: buildSearchParams$2({
|
|
@@ -9956,7 +9960,8 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9956
9960
|
track_without_focus,
|
|
9957
9961
|
cf_filter,
|
|
9958
9962
|
include_custom_fields,
|
|
9959
|
-
include_calendar_integration
|
|
9963
|
+
include_calendar_integration,
|
|
9964
|
+
include_designations
|
|
9960
9965
|
}, true)
|
|
9961
9966
|
});
|
|
9962
9967
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
@@ -14878,10 +14883,11 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14878
14883
|
}
|
|
14879
14884
|
//#endregion
|
|
14880
14885
|
//#region ../focus-queries/dist/designations/requests.ts
|
|
14881
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14886
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { designation_id, name, page, per_page, order_by } = {}, signal) {
|
|
14882
14887
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14883
14888
|
signal,
|
|
14884
14889
|
searchParams: buildSearchParams$2({
|
|
14890
|
+
designation_id,
|
|
14885
14891
|
name,
|
|
14886
14892
|
page,
|
|
14887
14893
|
per_page,
|
|
@@ -17361,6 +17367,7 @@ const generatedFocusOperations = [
|
|
|
17361
17367
|
},
|
|
17362
17368
|
mcp: { entityTool: "designations" },
|
|
17363
17369
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17370
|
+
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17364
17371
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17365
17372
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17366
17373
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -29291,4 +29298,4 @@ Common commands:
|
|
|
29291
29298
|
//#endregion
|
|
29292
29299
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29293
29300
|
|
|
29294
|
-
//# sourceMappingURL=program-
|
|
29301
|
+
//# sourceMappingURL=program-BC3JyWrz.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-BC3JyWrz.js";
|
|
2
2
|
export { createProgram };
|