@togglhq/mcp 1.13.196 → 1.13.198

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.
@@ -37698,7 +37698,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37698
37698
  }
37699
37699
  //#endregion
37700
37700
  //#region ../focus-queries/dist/projects/requests.ts
37701
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37701
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, estimate_source, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37702
37702
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37703
37703
  signal,
37704
37704
  searchParams: buildSearchParams$2({
@@ -37730,6 +37730,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
37730
37730
  creator_id,
37731
37731
  tag_id,
37732
37732
  project_id,
37733
+ estimate_source,
37733
37734
  user_id,
37734
37735
  only_me,
37735
37736
  include_rates,
@@ -38667,7 +38668,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38667
38668
  ]))
38668
38669
  });
38669
38670
  //#endregion
38670
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38671
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38671
38672
  async function getInvitations(httpClient, signal) {
38672
38673
  return (await httpClient.get(`invitations`, { signal })).json();
38673
38674
  }
@@ -38684,7 +38685,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38684
38685
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38685
38686
  }
38686
38687
  //#endregion
38687
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38688
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38688
38689
  function buildSearchParams(params, flattenArrays = false) {
38689
38690
  const searchParams = new URLSearchParams();
38690
38691
  Object.entries(params).forEach(([key, value]) => {
@@ -38696,7 +38697,7 @@ function buildSearchParams(params, flattenArrays = false) {
38696
38697
  return searchParams;
38697
38698
  }
38698
38699
  //#endregion
38699
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38700
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38700
38701
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38701
38702
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38702
38703
  }
@@ -38711,7 +38712,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38711
38712
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38712
38713
  }
38713
38714
  //#endregion
38714
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38715
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38715
38716
  async function getWorkspaces(httpClient, organization_id, signal) {
38716
38717
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38717
38718
  }
@@ -38731,7 +38732,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38731
38732
  });
38732
38733
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38733
38734
  //#endregion
38734
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38735
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38735
38736
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38736
38737
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38737
38738
  signal,
@@ -38742,12 +38743,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38742
38743
  })).json();
38743
38744
  }
38744
38745
  //#endregion
38745
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38746
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38746
38747
  async function getStatus(httpClient, signal) {
38747
38748
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38748
38749
  }
38749
38750
  //#endregion
38750
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38751
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38751
38752
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38752
38753
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38753
38754
  signal,
@@ -38775,7 +38776,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38775
38776
  return response.json();
38776
38777
  }
38777
38778
  //#endregion
38778
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.320_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_146f35e3ce9d2fb59de6cd9b523f4f50/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38779
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38779
38780
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38780
38781
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38781
38782
  }
@@ -43194,6 +43195,46 @@ async function getAuditLog(httpClient, organization_id, workspace_id, from, to,
43194
43195
  }
43195
43196
  //#endregion
43196
43197
  //#region ../focus-queries/dist/billable-rates/requests.ts
43198
+ async function getAllWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
43199
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/rates`, {
43200
+ signal,
43201
+ searchParams: buildSearchParams$2({
43202
+ designation_id,
43203
+ order_by
43204
+ })
43205
+ })).json();
43206
+ }
43207
+ async function getWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, designation_id, { order_by } = {}, signal) {
43208
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
43209
+ signal,
43210
+ searchParams: buildSearchParams$2({ order_by })
43211
+ })).json();
43212
+ }
43213
+ async function upsertWorkspaceDesignationBillableRate(httpClient, organization_id, workspace_id, designation_id, data, signal) {
43214
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
43215
+ signal,
43216
+ json: data
43217
+ })).json();
43218
+ }
43219
+ async function deleteWorkspaceDesignationBillableRateRange(httpClient, organization_id, workspace_id, designation_id, from, to, signal) {
43220
+ const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
43221
+ signal,
43222
+ searchParams: buildSearchParams$2({
43223
+ from,
43224
+ to
43225
+ })
43226
+ });
43227
+ if ([204, 205].includes(response.status)) return null;
43228
+ return response.json();
43229
+ }
43230
+ async function checkWorkspaceDesignationBillableRateConflicts(httpClient, organization_id, workspace_id, designation_id, data, signal) {
43231
+ const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates/check`, {
43232
+ signal,
43233
+ json: data
43234
+ });
43235
+ if ([204, 205].includes(response.status)) return null;
43236
+ return response.json();
43237
+ }
43197
43238
  async function getProjectsBillableRates(httpClient, organization_id, workspace_id, { project_id, date }, signal) {
43198
43239
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/rates`, {
43199
43240
  signal,
@@ -43214,6 +43255,43 @@ async function getAllProjectUserBillableRates(httpClient, organization_id, works
43214
43255
  })
43215
43256
  })).json();
43216
43257
  }
43258
+ async function getDesignationMembersBillableRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43259
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/rates`, {
43260
+ signal,
43261
+ searchParams: buildSearchParams$2({ date })
43262
+ })).json();
43263
+ }
43264
+ async function getDesignationMemberBillableRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43265
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43266
+ signal,
43267
+ searchParams: buildSearchParams$2({ order_by })
43268
+ })).json();
43269
+ }
43270
+ async function upsertDesignationMemberBillableRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43271
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43272
+ signal,
43273
+ json: data
43274
+ })).json();
43275
+ }
43276
+ async function deleteDesignationMemberBillableRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43277
+ const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43278
+ signal,
43279
+ searchParams: buildSearchParams$2({
43280
+ from,
43281
+ to
43282
+ })
43283
+ });
43284
+ if ([204, 205].includes(response.status)) return null;
43285
+ return response.json();
43286
+ }
43287
+ async function checkDesignationMemberBillableRateConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43288
+ const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
43289
+ signal,
43290
+ json: data
43291
+ });
43292
+ if ([204, 205].includes(response.status)) return null;
43293
+ return response.json();
43294
+ }
43217
43295
  async function getProjectBillableRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
43218
43296
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/rates`, {
43219
43297
  signal,
@@ -43457,6 +43535,12 @@ async function getCustomFieldOptionsClassic(httpClient, organization_id, workspa
43457
43535
  })
43458
43536
  })).json();
43459
43537
  }
43538
+ async function replaceCustomFieldOptions(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
43539
+ return (await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
43540
+ signal,
43541
+ json: data
43542
+ })).json();
43543
+ }
43460
43544
  async function createCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
43461
43545
  return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
43462
43546
  signal,
@@ -43568,10 +43652,15 @@ async function updateWorkspaceDesignationMembers(httpClient, organization_id, wo
43568
43652
  json: data
43569
43653
  })).json();
43570
43654
  }
43571
- async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
43655
+ async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by, start_date, end_date, min_days } = {}, signal) {
43572
43656
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
43573
43657
  signal,
43574
- searchParams: buildSearchParams$2({ order_by })
43658
+ searchParams: buildSearchParams$2({
43659
+ order_by,
43660
+ start_date,
43661
+ end_date,
43662
+ min_days
43663
+ })
43575
43664
  })).json();
43576
43665
  }
43577
43666
  async function createProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
@@ -43594,8 +43683,16 @@ async function updateProjectDesignations(httpClient, organization_id, workspace_
43594
43683
  json: data
43595
43684
  })).json();
43596
43685
  }
43597
- async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, signal) {
43598
- return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, { signal })).json();
43686
+ async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, { start_date, end_date, min_days, include_project } = {}, signal) {
43687
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
43688
+ signal,
43689
+ searchParams: buildSearchParams$2({
43690
+ start_date,
43691
+ end_date,
43692
+ min_days,
43693
+ include_project
43694
+ })
43695
+ })).json();
43599
43696
  }
43600
43697
  async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
43601
43698
  return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
@@ -43671,6 +43768,46 @@ async function getGoals(httpClient, organization_id, workspace_id, signal) {
43671
43768
  }
43672
43769
  //#endregion
43673
43770
  //#region ../focus-queries/dist/labor-costs/requests.ts
43771
+ async function getAllWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
43772
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/rates`, {
43773
+ signal,
43774
+ searchParams: buildSearchParams$2({
43775
+ designation_id,
43776
+ order_by
43777
+ })
43778
+ })).json();
43779
+ }
43780
+ async function getWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, designation_id, { order_by } = {}, signal) {
43781
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
43782
+ signal,
43783
+ searchParams: buildSearchParams$2({ order_by })
43784
+ })).json();
43785
+ }
43786
+ async function upsertWorkspaceDesignationLaborCostRate(httpClient, organization_id, workspace_id, designation_id, data, signal) {
43787
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
43788
+ signal,
43789
+ json: data
43790
+ })).json();
43791
+ }
43792
+ async function deleteWorkspaceDesignationLaborCostRateRange(httpClient, organization_id, workspace_id, designation_id, from, to, signal) {
43793
+ const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
43794
+ signal,
43795
+ searchParams: buildSearchParams$2({
43796
+ from,
43797
+ to
43798
+ })
43799
+ });
43800
+ if ([204, 205].includes(response.status)) return null;
43801
+ return response.json();
43802
+ }
43803
+ async function checkWorkspaceDesignationLaborCostConflicts(httpClient, organization_id, workspace_id, designation_id, data, signal) {
43804
+ const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates/check`, {
43805
+ signal,
43806
+ json: data
43807
+ });
43808
+ if ([204, 205].includes(response.status)) return null;
43809
+ return response.json();
43810
+ }
43674
43811
  async function getAllProjectUserLaborCostRates(httpClient, organization_id, workspace_id, { project_id, user_id, date, order_by } = {}, signal) {
43675
43812
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/users/rates`, {
43676
43813
  signal,
@@ -43682,6 +43819,43 @@ async function getAllProjectUserLaborCostRates(httpClient, organization_id, work
43682
43819
  })
43683
43820
  })).json();
43684
43821
  }
43822
+ async function getDesignationMembersLaborCostRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43823
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/rates`, {
43824
+ signal,
43825
+ searchParams: buildSearchParams$2({ date })
43826
+ })).json();
43827
+ }
43828
+ async function getDesignationMemberLaborCostRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43829
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43830
+ signal,
43831
+ searchParams: buildSearchParams$2({ order_by })
43832
+ })).json();
43833
+ }
43834
+ async function upsertDesignationMemberLaborCostRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43835
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43836
+ signal,
43837
+ json: data
43838
+ })).json();
43839
+ }
43840
+ async function deleteDesignationMemberLaborCostRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43841
+ const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43842
+ signal,
43843
+ searchParams: buildSearchParams$2({
43844
+ from,
43845
+ to
43846
+ })
43847
+ });
43848
+ if ([204, 205].includes(response.status)) return null;
43849
+ return response.json();
43850
+ }
43851
+ async function checkDesignationMemberLaborCostConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43852
+ const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
43853
+ signal,
43854
+ json: data
43855
+ });
43856
+ if ([204, 205].includes(response.status)) return null;
43857
+ return response.json();
43858
+ }
43685
43859
  async function getProjectLaborCostRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
43686
43860
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/rates`, {
43687
43861
  signal,
@@ -44689,6 +44863,24 @@ async function createTimesheetSetup(httpClient, organization_id, workspace_id, d
44689
44863
  json: data
44690
44864
  })).json();
44691
44865
  }
44866
+ async function bulkUpdateTimesheetSetupReminder(httpClient, organization_id, workspace_id, data, signal) {
44867
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/bulk-reminder`, {
44868
+ signal,
44869
+ json: data
44870
+ })).json();
44871
+ }
44872
+ async function bulkDiscontinueTimesheetSetupMembers(httpClient, organization_id, workspace_id, data, signal) {
44873
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/members/bulk-discontinue`, {
44874
+ signal,
44875
+ json: data
44876
+ })).json();
44877
+ }
44878
+ async function bulkReactivateTimesheetSetupMembers(httpClient, organization_id, workspace_id, data, signal) {
44879
+ return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/members/bulk-reactivate`, {
44880
+ signal,
44881
+ json: data
44882
+ })).json();
44883
+ }
44692
44884
  async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
44693
44885
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal })).json();
44694
44886
  }
@@ -46955,6 +47147,41 @@ const generatedFocusOperations = [
46955
47147
  ]));
46956
47148
  }
46957
47149
  },
47150
+ {
47151
+ id: "focus.custom-fields.replace-custom-field-options",
47152
+ family: "focus",
47153
+ resource: "custom-fields",
47154
+ action: "replace-custom-field-options",
47155
+ title: "Replace Custom Field Options Custom Fields",
47156
+ description: "Replace Custom Field Options Custom Fields.",
47157
+ safety: "update",
47158
+ destructive: false,
47159
+ cli: {
47160
+ group: ["custom-fields"],
47161
+ command: "replace-custom-field-options",
47162
+ interactive: "default"
47163
+ },
47164
+ mcp: { entityTool: "custom-fields" },
47165
+ inputSchema: /* @__PURE__ */ looseObject({
47166
+ custom_field_id: /* @__PURE__ */ number$2(),
47167
+ payload: /* @__PURE__ */ looseObject({ options: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
47168
+ name: /* @__PURE__ */ string$1(),
47169
+ color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
47170
+ description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
47171
+ })) })
47172
+ }),
47173
+ execute: (input, { client }) => {
47174
+ const data = input;
47175
+ return client.runGeneratedRequest("replaceCustomFieldOptions", () => callGeneratedRequest(replaceCustomFieldOptions, [
47176
+ client.httpClient,
47177
+ client.organizationId,
47178
+ client.workspaceIdNumber,
47179
+ data.custom_field_id,
47180
+ data.payload ?? data.data ?? data,
47181
+ void 0
47182
+ ]));
47183
+ }
47184
+ },
46958
47185
  {
46959
47186
  id: "focus.custom-fields.update",
46960
47187
  family: "focus",
@@ -47627,8 +47854,11 @@ const generatedFocusOperations = [
47627
47854
  },
47628
47855
  mcp: { entityTool: "designations" },
47629
47856
  inputSchema: /* @__PURE__ */ looseObject({
47857
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
47858
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47630
47859
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47631
- project_id: /* @__PURE__ */ number$2()
47860
+ project_id: /* @__PURE__ */ number$2(),
47861
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
47632
47862
  }),
47633
47863
  execute: (input, { client }) => {
47634
47864
  const data = input;
@@ -47654,10 +47884,16 @@ const generatedFocusOperations = [
47654
47884
  cli: {
47655
47885
  group: ["designations"],
47656
47886
  command: "get-project-designation-bookings",
47657
- interactive: "available"
47887
+ interactive: "hidden"
47658
47888
  },
47659
47889
  mcp: { entityTool: "designations" },
47660
- inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
47890
+ inputSchema: /* @__PURE__ */ looseObject({
47891
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
47892
+ include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47893
+ min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
47894
+ project_id: /* @__PURE__ */ number$2(),
47895
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
47896
+ }),
47661
47897
  execute: (input, { client }) => {
47662
47898
  const data = input;
47663
47899
  return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
@@ -47665,6 +47901,7 @@ const generatedFocusOperations = [
47665
47901
  client.organizationId,
47666
47902
  client.workspaceIdNumber,
47667
47903
  data.project_id,
47904
+ data,
47668
47905
  void 0
47669
47906
  ]));
47670
47907
  }
@@ -50235,6 +50472,41 @@ const generatedFocusOperations = [
50235
50472
  ]));
50236
50473
  }
50237
50474
  },
50475
+ {
50476
+ id: "focus.rates.billable-check-designation-member-billable-rate-conflicts",
50477
+ family: "focus",
50478
+ resource: "rates",
50479
+ action: "billable-check-designation-member-billable-rate-conflicts",
50480
+ title: "Billable Check Designation Member Billable Rate Conflicts Rates",
50481
+ description: "Billable Check Designation Member Billable Rate Conflicts Rates.",
50482
+ safety: "update",
50483
+ destructive: false,
50484
+ cli: {
50485
+ group: ["rates", "billable"],
50486
+ command: "check-designation-member-billable-rate-conflicts",
50487
+ interactive: "default"
50488
+ },
50489
+ mcp: { entityTool: "rates" },
50490
+ inputSchema: /* @__PURE__ */ looseObject({
50491
+ designation_id: /* @__PURE__ */ number$2(),
50492
+ payload: rateSchedulePayloadSchema,
50493
+ project_id: /* @__PURE__ */ number$2(),
50494
+ user_id: /* @__PURE__ */ number$2()
50495
+ }),
50496
+ execute: (input, { client }) => {
50497
+ const data = input;
50498
+ return client.runGeneratedRequest("checkDesignationMemberBillableRateConflicts", () => callGeneratedRequest(checkDesignationMemberBillableRateConflicts, [
50499
+ client.httpClient,
50500
+ client.organizationId,
50501
+ client.workspaceIdNumber,
50502
+ data.project_id,
50503
+ data.designation_id,
50504
+ data.user_id,
50505
+ data.payload ?? data.data ?? data,
50506
+ void 0
50507
+ ]));
50508
+ }
50509
+ },
50238
50510
  {
50239
50511
  id: "focus.rates.billable-check-project-billable-rate-conflicts",
50240
50512
  family: "focus",
@@ -50326,6 +50598,37 @@ const generatedFocusOperations = [
50326
50598
  ]));
50327
50599
  }
50328
50600
  },
50601
+ {
50602
+ id: "focus.rates.billable-check-workspace-designation-billable-rate-conflicts",
50603
+ family: "focus",
50604
+ resource: "rates",
50605
+ action: "billable-check-workspace-designation-billable-rate-conflicts",
50606
+ title: "Billable Check Workspace Designation Billable Rate Conflicts Rates",
50607
+ description: "Billable Check Workspace Designation Billable Rate Conflicts Rates.",
50608
+ safety: "update",
50609
+ destructive: false,
50610
+ cli: {
50611
+ group: ["rates", "billable"],
50612
+ command: "check-workspace-designation-billable-rate-conflicts",
50613
+ interactive: "default"
50614
+ },
50615
+ mcp: { entityTool: "rates" },
50616
+ inputSchema: /* @__PURE__ */ looseObject({
50617
+ designation_id: /* @__PURE__ */ number$2(),
50618
+ payload: rateSchedulePayloadSchema
50619
+ }),
50620
+ execute: (input, { client }) => {
50621
+ const data = input;
50622
+ return client.runGeneratedRequest("checkWorkspaceDesignationBillableRateConflicts", () => callGeneratedRequest(checkWorkspaceDesignationBillableRateConflicts, [
50623
+ client.httpClient,
50624
+ client.organizationId,
50625
+ client.workspaceIdNumber,
50626
+ data.designation_id,
50627
+ data.payload ?? data.data ?? data,
50628
+ void 0
50629
+ ]));
50630
+ }
50631
+ },
50329
50632
  {
50330
50633
  id: "focus.rates.billable-check-workspace-user-billable-rate-conflicts",
50331
50634
  family: "focus",
@@ -50385,32 +50688,36 @@ const generatedFocusOperations = [
50385
50688
  }
50386
50689
  },
50387
50690
  {
50388
- id: "focus.rates.billable-delete-project-billable-rate-range",
50691
+ id: "focus.rates.billable-delete-designation-member-billable-rate-range",
50389
50692
  family: "focus",
50390
50693
  resource: "rates",
50391
- action: "billable-delete-project-billable-rate-range",
50392
- title: "Billable Delete Project Billable Rate Range Rates",
50393
- description: "Billable Delete Project Billable Rate Range Rates.",
50694
+ action: "billable-delete-designation-member-billable-rate-range",
50695
+ title: "Billable Delete Designation Member Billable Rate Range Rates",
50696
+ description: "Billable Delete Designation Member Billable Rate Range Rates.",
50394
50697
  safety: "delete",
50395
50698
  destructive: true,
50396
50699
  cli: {
50397
50700
  group: ["rates", "billable"],
50398
- command: "delete-project-billable-rate-range",
50701
+ command: "delete-designation-member-billable-rate-range",
50399
50702
  interactive: "default"
50400
50703
  },
50401
50704
  mcp: { entityTool: "rates" },
50402
50705
  inputSchema: /* @__PURE__ */ looseObject({
50706
+ designation_id: /* @__PURE__ */ number$2(),
50403
50707
  from: /* @__PURE__ */ string$1(),
50404
50708
  project_id: /* @__PURE__ */ number$2(),
50405
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
50709
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
50710
+ user_id: /* @__PURE__ */ number$2()
50406
50711
  }),
50407
50712
  execute: (input, { client }) => {
50408
50713
  const data = input;
50409
- return client.runGeneratedRequest("deleteProjectBillableRateRange", () => callGeneratedRequest(deleteProjectBillableRateRange, [
50714
+ return client.runGeneratedRequest("deleteDesignationMemberBillableRateRange", () => callGeneratedRequest(deleteDesignationMemberBillableRateRange, [
50410
50715
  client.httpClient,
50411
50716
  client.organizationId,
50412
50717
  client.workspaceIdNumber,
50413
50718
  data.project_id,
50719
+ data.designation_id,
50720
+ data.user_id,
50414
50721
  data.from,
50415
50722
  data.to,
50416
50723
  void 0
@@ -50418,14 +50725,47 @@ const generatedFocusOperations = [
50418
50725
  }
50419
50726
  },
50420
50727
  {
50421
- id: "focus.rates.billable-delete-project-user-billable-rate-range",
50728
+ id: "focus.rates.billable-delete-project-billable-rate-range",
50422
50729
  family: "focus",
50423
50730
  resource: "rates",
50424
- action: "billable-delete-project-user-billable-rate-range",
50425
- title: "Billable Delete Project User Billable Rate Range Rates",
50426
- description: "Billable Delete Project User Billable Rate Range Rates.",
50427
- safety: "delete",
50428
- destructive: true,
50731
+ action: "billable-delete-project-billable-rate-range",
50732
+ title: "Billable Delete Project Billable Rate Range Rates",
50733
+ description: "Billable Delete Project Billable Rate Range Rates.",
50734
+ safety: "delete",
50735
+ destructive: true,
50736
+ cli: {
50737
+ group: ["rates", "billable"],
50738
+ command: "delete-project-billable-rate-range",
50739
+ interactive: "default"
50740
+ },
50741
+ mcp: { entityTool: "rates" },
50742
+ inputSchema: /* @__PURE__ */ looseObject({
50743
+ from: /* @__PURE__ */ string$1(),
50744
+ project_id: /* @__PURE__ */ number$2(),
50745
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
50746
+ }),
50747
+ execute: (input, { client }) => {
50748
+ const data = input;
50749
+ return client.runGeneratedRequest("deleteProjectBillableRateRange", () => callGeneratedRequest(deleteProjectBillableRateRange, [
50750
+ client.httpClient,
50751
+ client.organizationId,
50752
+ client.workspaceIdNumber,
50753
+ data.project_id,
50754
+ data.from,
50755
+ data.to,
50756
+ void 0
50757
+ ]));
50758
+ }
50759
+ },
50760
+ {
50761
+ id: "focus.rates.billable-delete-project-user-billable-rate-range",
50762
+ family: "focus",
50763
+ resource: "rates",
50764
+ action: "billable-delete-project-user-billable-rate-range",
50765
+ title: "Billable Delete Project User Billable Rate Range Rates",
50766
+ description: "Billable Delete Project User Billable Rate Range Rates.",
50767
+ safety: "delete",
50768
+ destructive: true,
50429
50769
  cli: {
50430
50770
  group: ["rates", "billable"],
50431
50771
  command: "delete-project-user-billable-rate-range",
@@ -50483,6 +50823,39 @@ const generatedFocusOperations = [
50483
50823
  ]));
50484
50824
  }
50485
50825
  },
50826
+ {
50827
+ id: "focus.rates.billable-delete-workspace-designation-billable-rate-range",
50828
+ family: "focus",
50829
+ resource: "rates",
50830
+ action: "billable-delete-workspace-designation-billable-rate-range",
50831
+ title: "Billable Delete Workspace Designation Billable Rate Range Rates",
50832
+ description: "Billable Delete Workspace Designation Billable Rate Range Rates.",
50833
+ safety: "delete",
50834
+ destructive: true,
50835
+ cli: {
50836
+ group: ["rates", "billable"],
50837
+ command: "delete-workspace-designation-billable-rate-range",
50838
+ interactive: "default"
50839
+ },
50840
+ mcp: { entityTool: "rates" },
50841
+ inputSchema: /* @__PURE__ */ looseObject({
50842
+ designation_id: /* @__PURE__ */ number$2(),
50843
+ from: /* @__PURE__ */ string$1(),
50844
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
50845
+ }),
50846
+ execute: (input, { client }) => {
50847
+ const data = input;
50848
+ return client.runGeneratedRequest("deleteWorkspaceDesignationBillableRateRange", () => callGeneratedRequest(deleteWorkspaceDesignationBillableRateRange, [
50849
+ client.httpClient,
50850
+ client.organizationId,
50851
+ client.workspaceIdNumber,
50852
+ data.designation_id,
50853
+ data.from,
50854
+ data.to,
50855
+ void 0
50856
+ ]));
50857
+ }
50858
+ },
50486
50859
  {
50487
50860
  id: "focus.rates.billable-delete-workspace-user-billable-rate-range",
50488
50861
  family: "focus",
@@ -50548,6 +50921,36 @@ const generatedFocusOperations = [
50548
50921
  ]));
50549
50922
  }
50550
50923
  },
50924
+ {
50925
+ id: "focus.rates.billable-get-all-workspace-designation",
50926
+ family: "focus",
50927
+ resource: "rates",
50928
+ action: "billable-get-all-workspace-designation",
50929
+ title: "Billable Get All Workspace Designation Rates",
50930
+ description: "Billable Get All Workspace Designation Rates.",
50931
+ safety: "read",
50932
+ destructive: false,
50933
+ cli: {
50934
+ group: ["rates", "billable"],
50935
+ command: "get-all-workspace-designation",
50936
+ interactive: "hidden"
50937
+ },
50938
+ mcp: { entityTool: "rates" },
50939
+ inputSchema: /* @__PURE__ */ looseObject({
50940
+ designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
50941
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
50942
+ }),
50943
+ execute: (input, { client }) => {
50944
+ const data = input;
50945
+ return client.runGeneratedRequest("getAllWorkspaceDesignationBillableRates", () => callGeneratedRequest(getAllWorkspaceDesignationBillableRates, [
50946
+ client.httpClient,
50947
+ client.organizationId,
50948
+ client.workspaceIdNumber,
50949
+ data,
50950
+ void 0
50951
+ ]));
50952
+ }
50953
+ },
50551
50954
  {
50552
50955
  id: "focus.rates.billable-get-all-workspace-user",
50553
50956
  family: "focus",
@@ -50578,6 +50981,72 @@ const generatedFocusOperations = [
50578
50981
  ]));
50579
50982
  }
50580
50983
  },
50984
+ {
50985
+ id: "focus.rates.billable-get-designation-member",
50986
+ family: "focus",
50987
+ resource: "rates",
50988
+ action: "billable-get-designation-member",
50989
+ title: "Billable Get Designation Member Rates",
50990
+ description: "Billable Get Designation Member Rates.",
50991
+ safety: "read",
50992
+ destructive: false,
50993
+ cli: {
50994
+ group: ["rates", "billable"],
50995
+ command: "get-designation-member",
50996
+ interactive: "hidden"
50997
+ },
50998
+ mcp: { entityTool: "rates" },
50999
+ inputSchema: /* @__PURE__ */ looseObject({
51000
+ designation_id: /* @__PURE__ */ number$2(),
51001
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51002
+ project_id: /* @__PURE__ */ number$2(),
51003
+ user_id: /* @__PURE__ */ number$2()
51004
+ }),
51005
+ execute: (input, { client }) => {
51006
+ const data = input;
51007
+ return client.runGeneratedRequest("getDesignationMemberBillableRates", () => callGeneratedRequest(getDesignationMemberBillableRates, [
51008
+ client.httpClient,
51009
+ client.organizationId,
51010
+ client.workspaceIdNumber,
51011
+ data.project_id,
51012
+ data.designation_id,
51013
+ data.user_id,
51014
+ data,
51015
+ void 0
51016
+ ]));
51017
+ }
51018
+ },
51019
+ {
51020
+ id: "focus.rates.billable-get-designation-members",
51021
+ family: "focus",
51022
+ resource: "rates",
51023
+ action: "billable-get-designation-members",
51024
+ title: "Billable Get Designation Members Rates",
51025
+ description: "Billable Get Designation Members Rates.",
51026
+ safety: "read",
51027
+ destructive: false,
51028
+ cli: {
51029
+ group: ["rates", "billable"],
51030
+ command: "get-designation-members",
51031
+ interactive: "available"
51032
+ },
51033
+ mcp: { entityTool: "rates" },
51034
+ inputSchema: /* @__PURE__ */ looseObject({
51035
+ date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51036
+ project_id: /* @__PURE__ */ number$2()
51037
+ }),
51038
+ execute: (input, { client }) => {
51039
+ const data = input;
51040
+ return client.runGeneratedRequest("getDesignationMembersBillableRates", () => callGeneratedRequest(getDesignationMembersBillableRates, [
51041
+ client.httpClient,
51042
+ client.organizationId,
51043
+ client.workspaceIdNumber,
51044
+ data.project_id,
51045
+ data,
51046
+ void 0
51047
+ ]));
51048
+ }
51049
+ },
50581
51050
  {
50582
51051
  id: "focus.rates.billable-get-project",
50583
51052
  family: "focus",
@@ -50699,6 +51168,37 @@ const generatedFocusOperations = [
50699
51168
  ]));
50700
51169
  }
50701
51170
  },
51171
+ {
51172
+ id: "focus.rates.billable-get-workspace-designation",
51173
+ family: "focus",
51174
+ resource: "rates",
51175
+ action: "billable-get-workspace-designation",
51176
+ title: "Billable Get Workspace Designation Rates",
51177
+ description: "Billable Get Workspace Designation Rates.",
51178
+ safety: "read",
51179
+ destructive: false,
51180
+ cli: {
51181
+ group: ["rates", "billable"],
51182
+ command: "get-workspace-designation",
51183
+ interactive: "hidden"
51184
+ },
51185
+ mcp: { entityTool: "rates" },
51186
+ inputSchema: /* @__PURE__ */ looseObject({
51187
+ designation_id: /* @__PURE__ */ number$2(),
51188
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51189
+ }),
51190
+ execute: (input, { client }) => {
51191
+ const data = input;
51192
+ return client.runGeneratedRequest("getWorkspaceDesignationBillableRates", () => callGeneratedRequest(getWorkspaceDesignationBillableRates, [
51193
+ client.httpClient,
51194
+ client.organizationId,
51195
+ client.workspaceIdNumber,
51196
+ data.designation_id,
51197
+ data,
51198
+ void 0
51199
+ ]));
51200
+ }
51201
+ },
50702
51202
  {
50703
51203
  id: "focus.rates.billable-get-workspace-user",
50704
51204
  family: "focus",
@@ -50730,6 +51230,41 @@ const generatedFocusOperations = [
50730
51230
  ]));
50731
51231
  }
50732
51232
  },
51233
+ {
51234
+ id: "focus.rates.billable-upsert-designation-member",
51235
+ family: "focus",
51236
+ resource: "rates",
51237
+ action: "billable-upsert-designation-member",
51238
+ title: "Billable Upsert Designation Member Rates",
51239
+ description: "Billable Upsert Designation Member Rates.",
51240
+ safety: "update",
51241
+ destructive: false,
51242
+ cli: {
51243
+ group: ["rates", "billable"],
51244
+ command: "upsert-designation-member",
51245
+ interactive: "default"
51246
+ },
51247
+ mcp: { entityTool: "rates" },
51248
+ inputSchema: /* @__PURE__ */ looseObject({
51249
+ designation_id: /* @__PURE__ */ number$2(),
51250
+ payload: rateSchedulePayloadSchema,
51251
+ project_id: /* @__PURE__ */ number$2(),
51252
+ user_id: /* @__PURE__ */ number$2()
51253
+ }),
51254
+ execute: (input, { client }) => {
51255
+ const data = input;
51256
+ return client.runGeneratedRequest("upsertDesignationMemberBillableRate", () => callGeneratedRequest(upsertDesignationMemberBillableRate, [
51257
+ client.httpClient,
51258
+ client.organizationId,
51259
+ client.workspaceIdNumber,
51260
+ data.project_id,
51261
+ data.designation_id,
51262
+ data.user_id,
51263
+ data.payload ?? data.data ?? data,
51264
+ void 0
51265
+ ]));
51266
+ }
51267
+ },
50733
51268
  {
50734
51269
  id: "focus.rates.billable-upsert-project",
50735
51270
  family: "focus",
@@ -50821,6 +51356,37 @@ const generatedFocusOperations = [
50821
51356
  ]));
50822
51357
  }
50823
51358
  },
51359
+ {
51360
+ id: "focus.rates.billable-upsert-workspace-designation",
51361
+ family: "focus",
51362
+ resource: "rates",
51363
+ action: "billable-upsert-workspace-designation",
51364
+ title: "Billable Upsert Workspace Designation Rates",
51365
+ description: "Billable Upsert Workspace Designation Rates.",
51366
+ safety: "update",
51367
+ destructive: false,
51368
+ cli: {
51369
+ group: ["rates", "billable"],
51370
+ command: "upsert-workspace-designation",
51371
+ interactive: "default"
51372
+ },
51373
+ mcp: { entityTool: "rates" },
51374
+ inputSchema: /* @__PURE__ */ looseObject({
51375
+ designation_id: /* @__PURE__ */ number$2(),
51376
+ payload: rateSchedulePayloadSchema
51377
+ }),
51378
+ execute: (input, { client }) => {
51379
+ const data = input;
51380
+ return client.runGeneratedRequest("upsertWorkspaceDesignationBillableRate", () => callGeneratedRequest(upsertWorkspaceDesignationBillableRate, [
51381
+ client.httpClient,
51382
+ client.organizationId,
51383
+ client.workspaceIdNumber,
51384
+ data.designation_id,
51385
+ data.payload ?? data.data ?? data,
51386
+ void 0
51387
+ ]));
51388
+ }
51389
+ },
50824
51390
  {
50825
51391
  id: "focus.rates.billable-upsert-workspace-user",
50826
51392
  family: "focus",
@@ -51086,6 +51652,41 @@ const generatedFocusOperations = [
51086
51652
  ]));
51087
51653
  }
51088
51654
  },
51655
+ {
51656
+ id: "focus.rates.labor-check-designation-member-labor-cost-conflicts",
51657
+ family: "focus",
51658
+ resource: "rates",
51659
+ action: "labor-check-designation-member-labor-cost-conflicts",
51660
+ title: "Labor Check Designation Member Labor Cost Conflicts Rates",
51661
+ description: "Labor Check Designation Member Labor Cost Conflicts Rates.",
51662
+ safety: "update",
51663
+ destructive: false,
51664
+ cli: {
51665
+ group: ["rates", "labor"],
51666
+ command: "check-designation-member-labor-cost-conflicts",
51667
+ interactive: "default"
51668
+ },
51669
+ mcp: { entityTool: "rates" },
51670
+ inputSchema: /* @__PURE__ */ looseObject({
51671
+ designation_id: /* @__PURE__ */ number$2(),
51672
+ payload: rateSchedulePayloadSchema,
51673
+ project_id: /* @__PURE__ */ number$2(),
51674
+ user_id: /* @__PURE__ */ number$2()
51675
+ }),
51676
+ execute: (input, { client }) => {
51677
+ const data = input;
51678
+ return client.runGeneratedRequest("checkDesignationMemberLaborCostConflicts", () => callGeneratedRequest(checkDesignationMemberLaborCostConflicts, [
51679
+ client.httpClient,
51680
+ client.organizationId,
51681
+ client.workspaceIdNumber,
51682
+ data.project_id,
51683
+ data.designation_id,
51684
+ data.user_id,
51685
+ data.payload ?? data.data ?? data,
51686
+ void 0
51687
+ ]));
51688
+ }
51689
+ },
51089
51690
  {
51090
51691
  id: "focus.rates.labor-check-project-labor-cost-conflicts",
51091
51692
  family: "focus",
@@ -51150,6 +51751,37 @@ const generatedFocusOperations = [
51150
51751
  ]));
51151
51752
  }
51152
51753
  },
51754
+ {
51755
+ id: "focus.rates.labor-check-workspace-designation-labor-cost-conflicts",
51756
+ family: "focus",
51757
+ resource: "rates",
51758
+ action: "labor-check-workspace-designation-labor-cost-conflicts",
51759
+ title: "Labor Check Workspace Designation Labor Cost Conflicts Rates",
51760
+ description: "Labor Check Workspace Designation Labor Cost Conflicts Rates.",
51761
+ safety: "update",
51762
+ destructive: false,
51763
+ cli: {
51764
+ group: ["rates", "labor"],
51765
+ command: "check-workspace-designation-labor-cost-conflicts",
51766
+ interactive: "default"
51767
+ },
51768
+ mcp: { entityTool: "rates" },
51769
+ inputSchema: /* @__PURE__ */ looseObject({
51770
+ designation_id: /* @__PURE__ */ number$2(),
51771
+ payload: rateSchedulePayloadSchema
51772
+ }),
51773
+ execute: (input, { client }) => {
51774
+ const data = input;
51775
+ return client.runGeneratedRequest("checkWorkspaceDesignationLaborCostConflicts", () => callGeneratedRequest(checkWorkspaceDesignationLaborCostConflicts, [
51776
+ client.httpClient,
51777
+ client.organizationId,
51778
+ client.workspaceIdNumber,
51779
+ data.designation_id,
51780
+ data.payload ?? data.data ?? data,
51781
+ void 0
51782
+ ]));
51783
+ }
51784
+ },
51153
51785
  {
51154
51786
  id: "focus.rates.labor-check-workspace-labor-cost-conflicts",
51155
51787
  family: "focus",
@@ -51208,6 +51840,43 @@ const generatedFocusOperations = [
51208
51840
  ]));
51209
51841
  }
51210
51842
  },
51843
+ {
51844
+ id: "focus.rates.labor-delete-designation-member-labor-cost-rate-range",
51845
+ family: "focus",
51846
+ resource: "rates",
51847
+ action: "labor-delete-designation-member-labor-cost-rate-range",
51848
+ title: "Labor Delete Designation Member Labor Cost Rate Range Rates",
51849
+ description: "Labor Delete Designation Member Labor Cost Rate Range Rates.",
51850
+ safety: "delete",
51851
+ destructive: true,
51852
+ cli: {
51853
+ group: ["rates", "labor"],
51854
+ command: "delete-designation-member-labor-cost-rate-range",
51855
+ interactive: "default"
51856
+ },
51857
+ mcp: { entityTool: "rates" },
51858
+ inputSchema: /* @__PURE__ */ looseObject({
51859
+ designation_id: /* @__PURE__ */ number$2(),
51860
+ from: /* @__PURE__ */ string$1(),
51861
+ project_id: /* @__PURE__ */ number$2(),
51862
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51863
+ user_id: /* @__PURE__ */ number$2()
51864
+ }),
51865
+ execute: (input, { client }) => {
51866
+ const data = input;
51867
+ return client.runGeneratedRequest("deleteDesignationMemberLaborCostRateRange", () => callGeneratedRequest(deleteDesignationMemberLaborCostRateRange, [
51868
+ client.httpClient,
51869
+ client.organizationId,
51870
+ client.workspaceIdNumber,
51871
+ data.project_id,
51872
+ data.designation_id,
51873
+ data.user_id,
51874
+ data.from,
51875
+ data.to,
51876
+ void 0
51877
+ ]));
51878
+ }
51879
+ },
51211
51880
  {
51212
51881
  id: "focus.rates.labor-delete-project-labor-cost-rate-range",
51213
51882
  family: "focus",
@@ -51264,41 +51933,74 @@ const generatedFocusOperations = [
51264
51933
  }),
51265
51934
  execute: (input, { client }) => {
51266
51935
  const data = input;
51267
- return client.runGeneratedRequest("deleteProjectUserLaborCostRateRange", () => callGeneratedRequest(deleteProjectUserLaborCostRateRange, [
51936
+ return client.runGeneratedRequest("deleteProjectUserLaborCostRateRange", () => callGeneratedRequest(deleteProjectUserLaborCostRateRange, [
51937
+ client.httpClient,
51938
+ client.organizationId,
51939
+ client.workspaceIdNumber,
51940
+ data.project_id,
51941
+ data.user_id,
51942
+ data.from,
51943
+ data.to,
51944
+ void 0
51945
+ ]));
51946
+ }
51947
+ },
51948
+ {
51949
+ id: "focus.rates.labor-delete-rate-by-id",
51950
+ family: "focus",
51951
+ resource: "rates",
51952
+ action: "labor-delete-rate-by-id",
51953
+ title: "Labor Delete Rate By Id Rates",
51954
+ description: "Labor Delete Rate By Id Rates.",
51955
+ safety: "delete",
51956
+ destructive: true,
51957
+ cli: {
51958
+ group: ["rates", "labor"],
51959
+ command: "delete-rate-by-id",
51960
+ interactive: "default"
51961
+ },
51962
+ mcp: { entityTool: "rates" },
51963
+ inputSchema: /* @__PURE__ */ looseObject({ rate_id: /* @__PURE__ */ number$2() }),
51964
+ execute: (input, { client }) => {
51965
+ const data = input;
51966
+ return client.runGeneratedRequest("deleteLaborCostRateById", () => callGeneratedRequest(deleteLaborCostRateById, [
51268
51967
  client.httpClient,
51269
51968
  client.organizationId,
51270
51969
  client.workspaceIdNumber,
51271
- data.project_id,
51272
- data.user_id,
51273
- data.from,
51274
- data.to,
51970
+ data.rate_id,
51275
51971
  void 0
51276
51972
  ]));
51277
51973
  }
51278
51974
  },
51279
51975
  {
51280
- id: "focus.rates.labor-delete-rate-by-id",
51976
+ id: "focus.rates.labor-delete-workspace-designation-labor-cost-rate-range",
51281
51977
  family: "focus",
51282
51978
  resource: "rates",
51283
- action: "labor-delete-rate-by-id",
51284
- title: "Labor Delete Rate By Id Rates",
51285
- description: "Labor Delete Rate By Id Rates.",
51979
+ action: "labor-delete-workspace-designation-labor-cost-rate-range",
51980
+ title: "Labor Delete Workspace Designation Labor Cost Rate Range Rates",
51981
+ description: "Labor Delete Workspace Designation Labor Cost Rate Range Rates.",
51286
51982
  safety: "delete",
51287
51983
  destructive: true,
51288
51984
  cli: {
51289
51985
  group: ["rates", "labor"],
51290
- command: "delete-rate-by-id",
51986
+ command: "delete-workspace-designation-labor-cost-rate-range",
51291
51987
  interactive: "default"
51292
51988
  },
51293
51989
  mcp: { entityTool: "rates" },
51294
- inputSchema: /* @__PURE__ */ looseObject({ rate_id: /* @__PURE__ */ number$2() }),
51990
+ inputSchema: /* @__PURE__ */ looseObject({
51991
+ designation_id: /* @__PURE__ */ number$2(),
51992
+ from: /* @__PURE__ */ string$1(),
51993
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
51994
+ }),
51295
51995
  execute: (input, { client }) => {
51296
51996
  const data = input;
51297
- return client.runGeneratedRequest("deleteLaborCostRateById", () => callGeneratedRequest(deleteLaborCostRateById, [
51997
+ return client.runGeneratedRequest("deleteWorkspaceDesignationLaborCostRateRange", () => callGeneratedRequest(deleteWorkspaceDesignationLaborCostRateRange, [
51298
51998
  client.httpClient,
51299
51999
  client.organizationId,
51300
52000
  client.workspaceIdNumber,
51301
- data.rate_id,
52001
+ data.designation_id,
52002
+ data.from,
52003
+ data.to,
51302
52004
  void 0
51303
52005
  ]));
51304
52006
  }
@@ -51399,6 +52101,36 @@ const generatedFocusOperations = [
51399
52101
  ]));
51400
52102
  }
51401
52103
  },
52104
+ {
52105
+ id: "focus.rates.labor-get-all-workspace-designation-labor-cost-rates",
52106
+ family: "focus",
52107
+ resource: "rates",
52108
+ action: "labor-get-all-workspace-designation-labor-cost-rates",
52109
+ title: "Labor Get All Workspace Designation Labor Cost Rates Rates",
52110
+ description: "Labor Get All Workspace Designation Labor Cost Rates Rates.",
52111
+ safety: "read",
52112
+ destructive: false,
52113
+ cli: {
52114
+ group: ["rates", "labor"],
52115
+ command: "get-all-workspace-designation-labor-cost-rates",
52116
+ interactive: "hidden"
52117
+ },
52118
+ mcp: { entityTool: "rates" },
52119
+ inputSchema: /* @__PURE__ */ looseObject({
52120
+ designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
52121
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
52122
+ }),
52123
+ execute: (input, { client }) => {
52124
+ const data = input;
52125
+ return client.runGeneratedRequest("getAllWorkspaceDesignationLaborCostRates", () => callGeneratedRequest(getAllWorkspaceDesignationLaborCostRates, [
52126
+ client.httpClient,
52127
+ client.organizationId,
52128
+ client.workspaceIdNumber,
52129
+ data,
52130
+ void 0
52131
+ ]));
52132
+ }
52133
+ },
51402
52134
  {
51403
52135
  id: "focus.rates.labor-get-all-workspace-user-labor-cost-rates",
51404
52136
  family: "focus",
@@ -51429,6 +52161,72 @@ const generatedFocusOperations = [
51429
52161
  ]));
51430
52162
  }
51431
52163
  },
52164
+ {
52165
+ id: "focus.rates.labor-get-designation-member-labor-cost-rates",
52166
+ family: "focus",
52167
+ resource: "rates",
52168
+ action: "labor-get-designation-member-labor-cost-rates",
52169
+ title: "Labor Get Designation Member Labor Cost Rates Rates",
52170
+ description: "Labor Get Designation Member Labor Cost Rates Rates.",
52171
+ safety: "read",
52172
+ destructive: false,
52173
+ cli: {
52174
+ group: ["rates", "labor"],
52175
+ command: "get-designation-member-labor-cost-rates",
52176
+ interactive: "hidden"
52177
+ },
52178
+ mcp: { entityTool: "rates" },
52179
+ inputSchema: /* @__PURE__ */ looseObject({
52180
+ designation_id: /* @__PURE__ */ number$2(),
52181
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52182
+ project_id: /* @__PURE__ */ number$2(),
52183
+ user_id: /* @__PURE__ */ number$2()
52184
+ }),
52185
+ execute: (input, { client }) => {
52186
+ const data = input;
52187
+ return client.runGeneratedRequest("getDesignationMemberLaborCostRates", () => callGeneratedRequest(getDesignationMemberLaborCostRates, [
52188
+ client.httpClient,
52189
+ client.organizationId,
52190
+ client.workspaceIdNumber,
52191
+ data.project_id,
52192
+ data.designation_id,
52193
+ data.user_id,
52194
+ data,
52195
+ void 0
52196
+ ]));
52197
+ }
52198
+ },
52199
+ {
52200
+ id: "focus.rates.labor-get-designation-members-labor-cost-rates",
52201
+ family: "focus",
52202
+ resource: "rates",
52203
+ action: "labor-get-designation-members-labor-cost-rates",
52204
+ title: "Labor Get Designation Members Labor Cost Rates Rates",
52205
+ description: "Labor Get Designation Members Labor Cost Rates Rates.",
52206
+ safety: "read",
52207
+ destructive: false,
52208
+ cli: {
52209
+ group: ["rates", "labor"],
52210
+ command: "get-designation-members-labor-cost-rates",
52211
+ interactive: "available"
52212
+ },
52213
+ mcp: { entityTool: "rates" },
52214
+ inputSchema: /* @__PURE__ */ looseObject({
52215
+ date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
52216
+ project_id: /* @__PURE__ */ number$2()
52217
+ }),
52218
+ execute: (input, { client }) => {
52219
+ const data = input;
52220
+ return client.runGeneratedRequest("getDesignationMembersLaborCostRates", () => callGeneratedRequest(getDesignationMembersLaborCostRates, [
52221
+ client.httpClient,
52222
+ client.organizationId,
52223
+ client.workspaceIdNumber,
52224
+ data.project_id,
52225
+ data,
52226
+ void 0
52227
+ ]));
52228
+ }
52229
+ },
51432
52230
  {
51433
52231
  id: "focus.rates.labor-get-project-labor-cost-rates",
51434
52232
  family: "focus",
@@ -51493,6 +52291,37 @@ const generatedFocusOperations = [
51493
52291
  ]));
51494
52292
  }
51495
52293
  },
52294
+ {
52295
+ id: "focus.rates.labor-get-workspace-designation-labor-cost-rates",
52296
+ family: "focus",
52297
+ resource: "rates",
52298
+ action: "labor-get-workspace-designation-labor-cost-rates",
52299
+ title: "Labor Get Workspace Designation Labor Cost Rates Rates",
52300
+ description: "Labor Get Workspace Designation Labor Cost Rates Rates.",
52301
+ safety: "read",
52302
+ destructive: false,
52303
+ cli: {
52304
+ group: ["rates", "labor"],
52305
+ command: "get-workspace-designation-labor-cost-rates",
52306
+ interactive: "hidden"
52307
+ },
52308
+ mcp: { entityTool: "rates" },
52309
+ inputSchema: /* @__PURE__ */ looseObject({
52310
+ designation_id: /* @__PURE__ */ number$2(),
52311
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
52312
+ }),
52313
+ execute: (input, { client }) => {
52314
+ const data = input;
52315
+ return client.runGeneratedRequest("getWorkspaceDesignationLaborCostRates", () => callGeneratedRequest(getWorkspaceDesignationLaborCostRates, [
52316
+ client.httpClient,
52317
+ client.organizationId,
52318
+ client.workspaceIdNumber,
52319
+ data.designation_id,
52320
+ data,
52321
+ void 0
52322
+ ]));
52323
+ }
52324
+ },
51496
52325
  {
51497
52326
  id: "focus.rates.labor-get-workspace-labor-cost-rates",
51498
52327
  family: "focus",
@@ -51551,6 +52380,41 @@ const generatedFocusOperations = [
51551
52380
  ]));
51552
52381
  }
51553
52382
  },
52383
+ {
52384
+ id: "focus.rates.labor-upsert-designation-member-labor-cost-rate",
52385
+ family: "focus",
52386
+ resource: "rates",
52387
+ action: "labor-upsert-designation-member-labor-cost-rate",
52388
+ title: "Labor Upsert Designation Member Labor Cost Rate Rates",
52389
+ description: "Labor Upsert Designation Member Labor Cost Rate Rates.",
52390
+ safety: "update",
52391
+ destructive: false,
52392
+ cli: {
52393
+ group: ["rates", "labor"],
52394
+ command: "upsert-designation-member-labor-cost-rate",
52395
+ interactive: "default"
52396
+ },
52397
+ mcp: { entityTool: "rates" },
52398
+ inputSchema: /* @__PURE__ */ looseObject({
52399
+ designation_id: /* @__PURE__ */ number$2(),
52400
+ payload: rateSchedulePayloadSchema,
52401
+ project_id: /* @__PURE__ */ number$2(),
52402
+ user_id: /* @__PURE__ */ number$2()
52403
+ }),
52404
+ execute: (input, { client }) => {
52405
+ const data = input;
52406
+ return client.runGeneratedRequest("upsertDesignationMemberLaborCostRate", () => callGeneratedRequest(upsertDesignationMemberLaborCostRate, [
52407
+ client.httpClient,
52408
+ client.organizationId,
52409
+ client.workspaceIdNumber,
52410
+ data.project_id,
52411
+ data.designation_id,
52412
+ data.user_id,
52413
+ data.payload ?? data.data ?? data,
52414
+ void 0
52415
+ ]));
52416
+ }
52417
+ },
51554
52418
  {
51555
52419
  id: "focus.rates.labor-upsert-project-labor-cost-rate",
51556
52420
  family: "focus",
@@ -51615,6 +52479,37 @@ const generatedFocusOperations = [
51615
52479
  ]));
51616
52480
  }
51617
52481
  },
52482
+ {
52483
+ id: "focus.rates.labor-upsert-workspace-designation-labor-cost-rate",
52484
+ family: "focus",
52485
+ resource: "rates",
52486
+ action: "labor-upsert-workspace-designation-labor-cost-rate",
52487
+ title: "Labor Upsert Workspace Designation Labor Cost Rate Rates",
52488
+ description: "Labor Upsert Workspace Designation Labor Cost Rate Rates.",
52489
+ safety: "update",
52490
+ destructive: false,
52491
+ cli: {
52492
+ group: ["rates", "labor"],
52493
+ command: "upsert-workspace-designation-labor-cost-rate",
52494
+ interactive: "default"
52495
+ },
52496
+ mcp: { entityTool: "rates" },
52497
+ inputSchema: /* @__PURE__ */ looseObject({
52498
+ designation_id: /* @__PURE__ */ number$2(),
52499
+ payload: rateSchedulePayloadSchema
52500
+ }),
52501
+ execute: (input, { client }) => {
52502
+ const data = input;
52503
+ return client.runGeneratedRequest("upsertWorkspaceDesignationLaborCostRate", () => callGeneratedRequest(upsertWorkspaceDesignationLaborCostRate, [
52504
+ client.httpClient,
52505
+ client.organizationId,
52506
+ client.workspaceIdNumber,
52507
+ data.designation_id,
52508
+ data.payload ?? data.data ?? data,
52509
+ void 0
52510
+ ]));
52511
+ }
52512
+ },
51618
52513
  {
51619
52514
  id: "focus.rates.labor-upsert-workspace-labor-cost-rate",
51620
52515
  family: "focus",
@@ -57368,6 +58263,110 @@ const generatedFocusOperations = [
57368
58263
  ]));
57369
58264
  }
57370
58265
  },
58266
+ {
58267
+ id: "focus.timesheets.setups-bulk-discontinue-timesheet-setup-members",
58268
+ family: "focus",
58269
+ resource: "timesheets",
58270
+ action: "setups-bulk-discontinue-timesheet-setup-members",
58271
+ title: "Setups Bulk Discontinue Timesheet Setup Members Timesheets",
58272
+ description: "Setups Bulk Discontinue Timesheet Setup Members Timesheets.",
58273
+ safety: "update",
58274
+ destructive: false,
58275
+ cli: {
58276
+ group: [
58277
+ "timesheets",
58278
+ "setups",
58279
+ "bulk"
58280
+ ],
58281
+ command: "discontinue-timesheet-setup-members",
58282
+ interactive: "default"
58283
+ },
58284
+ mcp: { entityTool: "timesheets" },
58285
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
58286
+ setup_id: /* @__PURE__ */ number$2(),
58287
+ user_account_id: /* @__PURE__ */ number$2(),
58288
+ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
58289
+ })) }) }),
58290
+ execute: (input, { client }) => {
58291
+ const data = input;
58292
+ return client.runGeneratedRequest("bulkDiscontinueTimesheetSetupMembers", () => callGeneratedRequest(bulkDiscontinueTimesheetSetupMembers, [
58293
+ client.httpClient,
58294
+ client.organizationId,
58295
+ client.workspaceIdNumber,
58296
+ data.payload ?? data.data ?? data,
58297
+ void 0
58298
+ ]));
58299
+ }
58300
+ },
58301
+ {
58302
+ id: "focus.timesheets.setups-bulk-reactivate-timesheet-setup-members",
58303
+ family: "focus",
58304
+ resource: "timesheets",
58305
+ action: "setups-bulk-reactivate-timesheet-setup-members",
58306
+ title: "Setups Bulk Reactivate Timesheet Setup Members Timesheets",
58307
+ description: "Setups Bulk Reactivate Timesheet Setup Members Timesheets.",
58308
+ safety: "update",
58309
+ destructive: false,
58310
+ cli: {
58311
+ group: [
58312
+ "timesheets",
58313
+ "setups",
58314
+ "bulk"
58315
+ ],
58316
+ command: "reactivate-timesheet-setup-members",
58317
+ interactive: "default"
58318
+ },
58319
+ mcp: { entityTool: "timesheets" },
58320
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
58321
+ setup_id: /* @__PURE__ */ number$2(),
58322
+ user_account_id: /* @__PURE__ */ number$2()
58323
+ })) }) }),
58324
+ execute: (input, { client }) => {
58325
+ const data = input;
58326
+ return client.runGeneratedRequest("bulkReactivateTimesheetSetupMembers", () => callGeneratedRequest(bulkReactivateTimesheetSetupMembers, [
58327
+ client.httpClient,
58328
+ client.organizationId,
58329
+ client.workspaceIdNumber,
58330
+ data.payload ?? data.data ?? data,
58331
+ void 0
58332
+ ]));
58333
+ }
58334
+ },
58335
+ {
58336
+ id: "focus.timesheets.setups-bulk-update-timesheet-setup-reminder",
58337
+ family: "focus",
58338
+ resource: "timesheets",
58339
+ action: "setups-bulk-update-timesheet-setup-reminder",
58340
+ title: "Setups Bulk Update Timesheet Setup Reminder Timesheets",
58341
+ description: "Setups Bulk Update Timesheet Setup Reminder Timesheets.",
58342
+ safety: "update",
58343
+ destructive: false,
58344
+ cli: {
58345
+ group: [
58346
+ "timesheets",
58347
+ "setups",
58348
+ "bulk"
58349
+ ],
58350
+ command: "update-timesheet-setup-reminder",
58351
+ interactive: "default"
58352
+ },
58353
+ mcp: { entityTool: "timesheets" },
58354
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
58355
+ day: /* @__PURE__ */ number$2(),
58356
+ setup_id: /* @__PURE__ */ number$2(),
58357
+ time: /* @__PURE__ */ string$1()
58358
+ })) }) }),
58359
+ execute: (input, { client }) => {
58360
+ const data = input;
58361
+ return client.runGeneratedRequest("bulkUpdateTimesheetSetupReminder", () => callGeneratedRequest(bulkUpdateTimesheetSetupReminder, [
58362
+ client.httpClient,
58363
+ client.organizationId,
58364
+ client.workspaceIdNumber,
58365
+ data.payload ?? data.data ?? data,
58366
+ void 0
58367
+ ]));
58368
+ }
58369
+ },
57371
58370
  {
57372
58371
  id: "focus.timesheets.setups-cancel-timesheet-setup-member-move",
57373
58372
  family: "focus",
@@ -57427,6 +58426,10 @@ const generatedFocusOperations = [
57427
58426
  ]),
57428
58427
  start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
57429
58428
  email_reminder_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
58429
+ member_starts: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
58430
+ started_at: apiDateTimeString,
58431
+ user_account_id: /* @__PURE__ */ number$2()
58432
+ }))),
57430
58433
  period_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
57431
58434
  reminder_day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
57432
58435
  reminder_time: /* @__PURE__ */ optional$1(apiDateTimeString)
@@ -57774,6 +58777,7 @@ const generatedFocusOperations = [
57774
58777
  day: /* @__PURE__ */ number$2(),
57775
58778
  time: /* @__PURE__ */ string$1()
57776
58779
  })),
58780
+ start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
57777
58781
  unset_reminder: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
57778
58782
  }),
57779
58783
  setup_id: /* @__PURE__ */ number$2()
@@ -58031,6 +59035,7 @@ const generatedFocusOperations = [
58031
59035
  "improved",
58032
59036
  "decimal"
58033
59037
  ])),
59038
+ extension_integration_suggestions_disabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
58034
59039
  focus_mode_count_up: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
58035
59040
  goal_reminders_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
58036
59041
  has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
@@ -59741,7 +60746,7 @@ function registerWorkspaceTools(server) {
59741
60746
  //#region src/package-version.ts
59742
60747
  function mcpPackageVersion() {
59743
60748
  try {
59744
- return "1.13.196";
60749
+ return "1.13.198";
59745
60750
  } catch {
59746
60751
  return "unknown";
59747
60752
  }
@@ -59825,8 +60830,9 @@ function buildToolDescription(entityTool, operations) {
59825
60830
  const shared = new Map([...byGuidance].filter(([, actions]) => actions.length > 1));
59826
60831
  const lines = [`Manage Focus ${entityTool} with the following actions:`, ""];
59827
60832
  for (const op of operations) {
59828
- const inline = op.agentGuidance && !shared.has(op.agentGuidance) ? ` ${op.agentGuidance}` : "";
59829
- lines.push(`- **${op.action}**: ${op.description}${inline} (data: ${summarizeParams(op)})`);
60833
+ const inline = op.agentGuidance && !shared.has(op.agentGuidance) ? op.agentGuidance : void 0;
60834
+ const text = [op.description === `${op.title}.` ? void 0 : op.description, inline].filter(Boolean).join(" ");
60835
+ lines.push(`- **${op.action}**${text ? `: ${text}` : ""} (data: ${summarizeParams(op)})`);
59830
60836
  }
59831
60837
  for (const [guidance, actions] of shared) lines.push("", `Applies to ${actions.join(", ")}: ${guidance}`);
59832
60838
  lines.push("", "Pass the action-specific fields under `data` (required fields are marked with *).", "Mutations require a confirm_token handshake: call without confirm_token first to receive a token, then call again with the token to confirm.", "Optional dry_run: true validates input and returns { dry_run, operation, input } without calling the API.");
@@ -59922,7 +60928,7 @@ import_main.default.config({
59922
60928
  quiet: true,
59923
60929
  ignore: ["MISSING_ENV_FILE"]
59924
60930
  });
59925
- const packageVersion = "1.13.196";
60931
+ const packageVersion = "1.13.198";
59926
60932
  const MCP_CACHE_TTL_MS = 300 * 1e3;
59927
60933
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
59928
60934
  function resolvePublicUrls() {
@@ -60042,4 +61048,4 @@ function bootstrapServer(options = {}) {
60042
61048
  //#endregion
60043
61049
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
60044
61050
 
60045
- //# sourceMappingURL=src-pQnbkPR1.js.map
61051
+ //# sourceMappingURL=src-CblhmhWz.js.map