@togglhq/mcp 1.13.311 → 1.13.313

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 PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-CDvKVkav.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-D8aiTq1J.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
162
162
  }
163
163
  //#endregion
164
164
  //#region src/cli.ts
165
- const packageVersion = "1.13.311";
165
+ const packageVersion = "1.13.313";
166
166
  let sentryEnabled = false;
167
167
  let productAnalyticsEnabled = false;
168
168
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-CDvKVkav.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-D8aiTq1J.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -43342,11 +43342,12 @@ async function getAuditLog(httpClient, organization_id, workspace_id, from, to,
43342
43342
  }
43343
43343
  //#endregion
43344
43344
  //#region ../focus-queries/dist/billable-rates/requests.ts
43345
- async function getAllWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
43345
+ async function getAllWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, { designation_id, user_id, order_by } = {}, signal) {
43346
43346
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/rates`, {
43347
43347
  signal,
43348
43348
  searchParams: buildSearchParams$2({
43349
43349
  designation_id,
43350
+ user_id,
43350
43351
  order_by
43351
43352
  })
43352
43353
  })).json();
@@ -43382,6 +43383,17 @@ async function checkWorkspaceDesignationBillableRateConflicts(httpClient, organi
43382
43383
  if ([204, 205].includes(response.status)) return null;
43383
43384
  return response.json();
43384
43385
  }
43386
+ async function getAllProjectDesignationMemberBillableRates(httpClient, organization_id, workspace_id, { project_id, user_id, date, order_by } = {}, signal) {
43387
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/designations/users/rates`, {
43388
+ signal,
43389
+ searchParams: buildSearchParams$2({
43390
+ project_id,
43391
+ user_id,
43392
+ date,
43393
+ order_by
43394
+ })
43395
+ })).json();
43396
+ }
43385
43397
  async function getProjectsBillableRates(httpClient, organization_id, workspace_id, { project_id, date }, signal) {
43386
43398
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/rates`, {
43387
43399
  signal,
@@ -43402,25 +43414,25 @@ async function getAllProjectUserBillableRates(httpClient, organization_id, works
43402
43414
  })
43403
43415
  })).json();
43404
43416
  }
43405
- async function getDesignationMembersBillableRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43406
- return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/rates`, {
43417
+ async function getProjectDesignationMembersBillableRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43418
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/users/rates`, {
43407
43419
  signal,
43408
43420
  searchParams: buildSearchParams$2({ date })
43409
43421
  })).json();
43410
43422
  }
43411
- async function getDesignationMemberBillableRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43423
+ async function getProjectDesignationMemberBillableRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43412
43424
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43413
43425
  signal,
43414
43426
  searchParams: buildSearchParams$2({ order_by })
43415
43427
  })).json();
43416
43428
  }
43417
- async function upsertDesignationMemberBillableRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43429
+ async function upsertProjectDesignationMemberBillableRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43418
43430
  return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43419
43431
  signal,
43420
43432
  json: data
43421
43433
  })).json();
43422
43434
  }
43423
- async function deleteDesignationMemberBillableRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43435
+ async function deleteProjectDesignationMemberBillableRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43424
43436
  const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43425
43437
  signal,
43426
43438
  searchParams: buildSearchParams$2({
@@ -43431,7 +43443,7 @@ async function deleteDesignationMemberBillableRateRange(httpClient, organization
43431
43443
  if ([204, 205].includes(response.status)) return null;
43432
43444
  return response.json();
43433
43445
  }
43434
- async function checkDesignationMemberBillableRateConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43446
+ async function checkProjectDesignationMemberBillableRateConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43435
43447
  const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
43436
43448
  signal,
43437
43449
  json: data
@@ -43863,11 +43875,12 @@ async function getGoals(httpClient, organization_id, workspace_id, signal) {
43863
43875
  }
43864
43876
  //#endregion
43865
43877
  //#region ../focus-queries/dist/labor-costs/requests.ts
43866
- async function getAllWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
43878
+ async function getAllWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, { designation_id, user_id, order_by } = {}, signal) {
43867
43879
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/rates`, {
43868
43880
  signal,
43869
43881
  searchParams: buildSearchParams$2({
43870
43882
  designation_id,
43883
+ user_id,
43871
43884
  order_by
43872
43885
  })
43873
43886
  })).json();
@@ -43903,6 +43916,17 @@ async function checkWorkspaceDesignationLaborCostConflicts(httpClient, organizat
43903
43916
  if ([204, 205].includes(response.status)) return null;
43904
43917
  return response.json();
43905
43918
  }
43919
+ async function getAllProjectDesignationMemberLaborCostRates(httpClient, organization_id, workspace_id, { project_id, user_id, date, order_by } = {}, signal) {
43920
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/designations/users/rates`, {
43921
+ signal,
43922
+ searchParams: buildSearchParams$2({
43923
+ project_id,
43924
+ user_id,
43925
+ date,
43926
+ order_by
43927
+ })
43928
+ })).json();
43929
+ }
43906
43930
  async function getAllProjectUserLaborCostRates(httpClient, organization_id, workspace_id, { project_id, user_id, date, order_by } = {}, signal) {
43907
43931
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/users/rates`, {
43908
43932
  signal,
@@ -43914,25 +43938,25 @@ async function getAllProjectUserLaborCostRates(httpClient, organization_id, work
43914
43938
  })
43915
43939
  })).json();
43916
43940
  }
43917
- async function getDesignationMembersLaborCostRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43918
- return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/rates`, {
43941
+ async function getProjectDesignationMembersLaborCostRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
43942
+ return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/users/rates`, {
43919
43943
  signal,
43920
43944
  searchParams: buildSearchParams$2({ date })
43921
43945
  })).json();
43922
43946
  }
43923
- async function getDesignationMemberLaborCostRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43947
+ async function getProjectDesignationMemberLaborCostRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
43924
43948
  return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43925
43949
  signal,
43926
43950
  searchParams: buildSearchParams$2({ order_by })
43927
43951
  })).json();
43928
43952
  }
43929
- async function upsertDesignationMemberLaborCostRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43953
+ async function upsertProjectDesignationMemberLaborCostRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43930
43954
  return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43931
43955
  signal,
43932
43956
  json: data
43933
43957
  })).json();
43934
43958
  }
43935
- async function deleteDesignationMemberLaborCostRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43959
+ async function deleteProjectDesignationMemberLaborCostRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
43936
43960
  const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
43937
43961
  signal,
43938
43962
  searchParams: buildSearchParams$2({
@@ -43943,7 +43967,7 @@ async function deleteDesignationMemberLaborCostRateRange(httpClient, organizatio
43943
43967
  if ([204, 205].includes(response.status)) return null;
43944
43968
  return response.json();
43945
43969
  }
43946
- async function checkDesignationMemberLaborCostConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43970
+ async function checkProjectDesignationMemberLaborCostConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
43947
43971
  const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
43948
43972
  signal,
43949
43973
  json: data
@@ -45351,6 +45375,15 @@ async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
45351
45375
  async function getWorkspaceExportBranding(httpClient, workspace_id, signal) {
45352
45376
  return (await httpClient.get(`workspaces/${workspace_id}/export-branding`, { signal })).json();
45353
45377
  }
45378
+ async function getWorkspaceInvoiceWatermark(httpClient, workspace_id, signal) {
45379
+ return (await httpClient.get(`workspaces/${workspace_id}/invoice-watermark`, { signal })).json();
45380
+ }
45381
+ async function updateWorkspaceInvoiceWatermark(httpClient, workspace_id, data, signal) {
45382
+ return (await httpClient.patch(`workspaces/${workspace_id}/invoice-watermark`, {
45383
+ signal,
45384
+ json: data
45385
+ })).json();
45386
+ }
45354
45387
  async function getUserPermissions(httpClient, workspace_id, signal) {
45355
45388
  return (await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal })).json();
45356
45389
  }
@@ -51355,66 +51388,66 @@ const generatedFocusOperations = [
51355
51388
  }
51356
51389
  },
51357
51390
  {
51358
- id: "focus.rates.billable-check-designation-member-billable-rate-conflicts",
51391
+ id: "focus.rates.billable-check-project-billable-rate-conflicts",
51359
51392
  family: "focus",
51360
51393
  resource: "rates",
51361
- action: "billable-check-designation-member-billable-rate-conflicts",
51362
- title: "Billable Check Designation Member Billable Rate Conflicts Rates",
51363
- description: "Billable Check Designation Member Billable Rate Conflicts Rates.",
51394
+ action: "billable-check-project-billable-rate-conflicts",
51395
+ title: "Billable Check Project Billable Rate Conflicts Rates",
51396
+ description: "Billable Check Project Billable Rate Conflicts Rates.",
51364
51397
  safety: "update",
51365
51398
  destructive: false,
51366
51399
  cli: {
51367
51400
  group: ["rates", "billable"],
51368
- command: "check-designation-member-billable-rate-conflicts",
51401
+ command: "check-project-billable-rate-conflicts",
51369
51402
  interactive: "default"
51370
51403
  },
51371
51404
  mcp: { entityTool: "rates" },
51372
51405
  inputSchema: /* @__PURE__ */ looseObject({
51373
- designation_id: /* @__PURE__ */ number$2(),
51374
51406
  payload: rateSchedulePayloadSchema,
51375
- project_id: /* @__PURE__ */ number$2(),
51376
- user_id: /* @__PURE__ */ number$2()
51407
+ project_id: /* @__PURE__ */ number$2()
51377
51408
  }),
51378
51409
  execute: (input, { client }) => {
51379
51410
  const data = input;
51380
- return client.runGeneratedRequest("checkDesignationMemberBillableRateConflicts", () => callGeneratedRequest(checkDesignationMemberBillableRateConflicts, [
51411
+ return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
51381
51412
  client.httpClient,
51382
51413
  client.organizationId,
51383
51414
  client.workspaceIdNumber,
51384
51415
  data.project_id,
51385
- data.designation_id,
51386
- data.user_id,
51387
51416
  data.payload ?? data.data ?? data,
51388
51417
  void 0
51389
51418
  ]));
51390
51419
  }
51391
51420
  },
51392
51421
  {
51393
- id: "focus.rates.billable-check-project-billable-rate-conflicts",
51422
+ id: "focus.rates.billable-check-project-designation-member-billable-rate-conflicts",
51394
51423
  family: "focus",
51395
51424
  resource: "rates",
51396
- action: "billable-check-project-billable-rate-conflicts",
51397
- title: "Billable Check Project Billable Rate Conflicts Rates",
51398
- description: "Billable Check Project Billable Rate Conflicts Rates.",
51425
+ action: "billable-check-project-designation-member-billable-rate-conflicts",
51426
+ title: "Billable Check Project Designation Member Billable Rate Conflicts Rates",
51427
+ description: "Billable Check Project Designation Member Billable Rate Conflicts Rates.",
51399
51428
  safety: "update",
51400
51429
  destructive: false,
51401
51430
  cli: {
51402
51431
  group: ["rates", "billable"],
51403
- command: "check-project-billable-rate-conflicts",
51432
+ command: "check-project-designation-member-billable-rate-conflicts",
51404
51433
  interactive: "default"
51405
51434
  },
51406
51435
  mcp: { entityTool: "rates" },
51407
51436
  inputSchema: /* @__PURE__ */ looseObject({
51437
+ designation_id: /* @__PURE__ */ number$2(),
51408
51438
  payload: rateSchedulePayloadSchema,
51409
- project_id: /* @__PURE__ */ number$2()
51439
+ project_id: /* @__PURE__ */ number$2(),
51440
+ user_id: /* @__PURE__ */ number$2()
51410
51441
  }),
51411
51442
  execute: (input, { client }) => {
51412
51443
  const data = input;
51413
- return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
51444
+ return client.runGeneratedRequest("checkProjectDesignationMemberBillableRateConflicts", () => callGeneratedRequest(checkProjectDesignationMemberBillableRateConflicts, [
51414
51445
  client.httpClient,
51415
51446
  client.organizationId,
51416
51447
  client.workspaceIdNumber,
51417
51448
  data.project_id,
51449
+ data.designation_id,
51450
+ data.user_id,
51418
51451
  data.payload ?? data.data ?? data,
51419
51452
  void 0
51420
51453
  ]));
@@ -51570,36 +51603,32 @@ const generatedFocusOperations = [
51570
51603
  }
51571
51604
  },
51572
51605
  {
51573
- id: "focus.rates.billable-delete-designation-member-billable-rate-range",
51606
+ id: "focus.rates.billable-delete-project-billable-rate-range",
51574
51607
  family: "focus",
51575
51608
  resource: "rates",
51576
- action: "billable-delete-designation-member-billable-rate-range",
51577
- title: "Billable Delete Designation Member Billable Rate Range Rates",
51578
- description: "Billable Delete Designation Member Billable Rate Range Rates.",
51609
+ action: "billable-delete-project-billable-rate-range",
51610
+ title: "Billable Delete Project Billable Rate Range Rates",
51611
+ description: "Billable Delete Project Billable Rate Range Rates.",
51579
51612
  safety: "delete",
51580
51613
  destructive: true,
51581
51614
  cli: {
51582
51615
  group: ["rates", "billable"],
51583
- command: "delete-designation-member-billable-rate-range",
51616
+ command: "delete-project-billable-rate-range",
51584
51617
  interactive: "default"
51585
51618
  },
51586
51619
  mcp: { entityTool: "rates" },
51587
51620
  inputSchema: /* @__PURE__ */ looseObject({
51588
- designation_id: /* @__PURE__ */ number$2(),
51589
51621
  from: /* @__PURE__ */ string$1(),
51590
51622
  project_id: /* @__PURE__ */ number$2(),
51591
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51592
- user_id: /* @__PURE__ */ number$2()
51623
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
51593
51624
  }),
51594
51625
  execute: (input, { client }) => {
51595
51626
  const data = input;
51596
- return client.runGeneratedRequest("deleteDesignationMemberBillableRateRange", () => callGeneratedRequest(deleteDesignationMemberBillableRateRange, [
51627
+ return client.runGeneratedRequest("deleteProjectBillableRateRange", () => callGeneratedRequest(deleteProjectBillableRateRange, [
51597
51628
  client.httpClient,
51598
51629
  client.organizationId,
51599
51630
  client.workspaceIdNumber,
51600
51631
  data.project_id,
51601
- data.designation_id,
51602
- data.user_id,
51603
51632
  data.from,
51604
51633
  data.to,
51605
51634
  void 0
@@ -51607,32 +51636,36 @@ const generatedFocusOperations = [
51607
51636
  }
51608
51637
  },
51609
51638
  {
51610
- id: "focus.rates.billable-delete-project-billable-rate-range",
51639
+ id: "focus.rates.billable-delete-project-designation-member-billable-rate-range",
51611
51640
  family: "focus",
51612
51641
  resource: "rates",
51613
- action: "billable-delete-project-billable-rate-range",
51614
- title: "Billable Delete Project Billable Rate Range Rates",
51615
- description: "Billable Delete Project Billable Rate Range Rates.",
51642
+ action: "billable-delete-project-designation-member-billable-rate-range",
51643
+ title: "Billable Delete Project Designation Member Billable Rate Range Rates",
51644
+ description: "Billable Delete Project Designation Member Billable Rate Range Rates.",
51616
51645
  safety: "delete",
51617
51646
  destructive: true,
51618
51647
  cli: {
51619
51648
  group: ["rates", "billable"],
51620
- command: "delete-project-billable-rate-range",
51649
+ command: "delete-project-designation-member-billable-rate-range",
51621
51650
  interactive: "default"
51622
51651
  },
51623
51652
  mcp: { entityTool: "rates" },
51624
51653
  inputSchema: /* @__PURE__ */ looseObject({
51654
+ designation_id: /* @__PURE__ */ number$2(),
51625
51655
  from: /* @__PURE__ */ string$1(),
51626
51656
  project_id: /* @__PURE__ */ number$2(),
51627
- to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
51657
+ to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
51658
+ user_id: /* @__PURE__ */ number$2()
51628
51659
  }),
51629
51660
  execute: (input, { client }) => {
51630
51661
  const data = input;
51631
- return client.runGeneratedRequest("deleteProjectBillableRateRange", () => callGeneratedRequest(deleteProjectBillableRateRange, [
51662
+ return client.runGeneratedRequest("deleteProjectDesignationMemberBillableRateRange", () => callGeneratedRequest(deleteProjectDesignationMemberBillableRateRange, [
51632
51663
  client.httpClient,
51633
51664
  client.organizationId,
51634
51665
  client.workspaceIdNumber,
51635
51666
  data.project_id,
51667
+ data.designation_id,
51668
+ data.user_id,
51636
51669
  data.from,
51637
51670
  data.to,
51638
51671
  void 0
@@ -51771,6 +51804,38 @@ const generatedFocusOperations = [
51771
51804
  ]));
51772
51805
  }
51773
51806
  },
51807
+ {
51808
+ id: "focus.rates.billable-get-all-project-designation-member",
51809
+ family: "focus",
51810
+ resource: "rates",
51811
+ action: "billable-get-all-project-designation-member",
51812
+ title: "Billable Get All Project Designation Member Rates",
51813
+ description: "Billable Get All Project Designation Member Rates.",
51814
+ safety: "read",
51815
+ destructive: false,
51816
+ cli: {
51817
+ group: ["rates", "billable"],
51818
+ command: "get-all-project-designation-member",
51819
+ interactive: "hidden"
51820
+ },
51821
+ mcp: { entityTool: "rates" },
51822
+ inputSchema: /* @__PURE__ */ looseObject({
51823
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
51824
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51825
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51826
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51827
+ }),
51828
+ execute: (input, { client }) => {
51829
+ const data = input;
51830
+ return client.runGeneratedRequest("getAllProjectDesignationMemberBillableRates", () => callGeneratedRequest(getAllProjectDesignationMemberBillableRates, [
51831
+ client.httpClient,
51832
+ client.organizationId,
51833
+ client.workspaceIdNumber,
51834
+ data,
51835
+ void 0
51836
+ ]));
51837
+ }
51838
+ },
51774
51839
  {
51775
51840
  id: "focus.rates.billable-get-all-project-user",
51776
51841
  family: "focus",
@@ -51820,7 +51885,8 @@ const generatedFocusOperations = [
51820
51885
  mcp: { entityTool: "rates" },
51821
51886
  inputSchema: /* @__PURE__ */ looseObject({
51822
51887
  designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
51823
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
51888
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51889
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
51824
51890
  }),
51825
51891
  execute: (input, { client }) => {
51826
51892
  const data = input;
@@ -51865,93 +51931,93 @@ const generatedFocusOperations = [
51865
51931
  }
51866
51932
  },
51867
51933
  {
51868
- id: "focus.rates.billable-get-designation-member",
51934
+ id: "focus.rates.billable-get-project",
51869
51935
  family: "focus",
51870
51936
  resource: "rates",
51871
- action: "billable-get-designation-member",
51872
- title: "Billable Get Designation Member Rates",
51873
- description: "Billable Get Designation Member Rates.",
51937
+ action: "billable-get-project",
51938
+ title: "Billable Get Project Rates",
51939
+ description: "Billable Get Project Rates.",
51874
51940
  safety: "read",
51875
51941
  destructive: false,
51876
51942
  cli: {
51877
51943
  group: ["rates", "billable"],
51878
- command: "get-designation-member",
51944
+ command: "get-project",
51879
51945
  interactive: "hidden"
51880
51946
  },
51881
51947
  mcp: { entityTool: "rates" },
51882
51948
  inputSchema: /* @__PURE__ */ looseObject({
51883
- designation_id: /* @__PURE__ */ number$2(),
51884
51949
  order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51885
- project_id: /* @__PURE__ */ number$2(),
51886
- user_id: /* @__PURE__ */ number$2()
51950
+ project_id: /* @__PURE__ */ number$2()
51887
51951
  }),
51888
51952
  execute: (input, { client }) => {
51889
51953
  const data = input;
51890
- return client.runGeneratedRequest("getDesignationMemberBillableRates", () => callGeneratedRequest(getDesignationMemberBillableRates, [
51954
+ return client.runGeneratedRequest("getProjectBillableRates", () => callGeneratedRequest(getProjectBillableRates, [
51891
51955
  client.httpClient,
51892
51956
  client.organizationId,
51893
51957
  client.workspaceIdNumber,
51894
51958
  data.project_id,
51895
- data.designation_id,
51896
- data.user_id,
51897
51959
  data,
51898
51960
  void 0
51899
51961
  ]));
51900
51962
  }
51901
51963
  },
51902
51964
  {
51903
- id: "focus.rates.billable-get-designation-members",
51965
+ id: "focus.rates.billable-get-project-designation-member",
51904
51966
  family: "focus",
51905
51967
  resource: "rates",
51906
- action: "billable-get-designation-members",
51907
- title: "Billable Get Designation Members Rates",
51908
- description: "Billable Get Designation Members Rates.",
51968
+ action: "billable-get-project-designation-member",
51969
+ title: "Billable Get Project Designation Member Rates",
51970
+ description: "Billable Get Project Designation Member Rates.",
51909
51971
  safety: "read",
51910
51972
  destructive: false,
51911
51973
  cli: {
51912
51974
  group: ["rates", "billable"],
51913
- command: "get-designation-members",
51914
- interactive: "available"
51975
+ command: "get-project-designation-member",
51976
+ interactive: "hidden"
51915
51977
  },
51916
51978
  mcp: { entityTool: "rates" },
51917
51979
  inputSchema: /* @__PURE__ */ looseObject({
51918
- date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51919
- project_id: /* @__PURE__ */ number$2()
51980
+ designation_id: /* @__PURE__ */ number$2(),
51981
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
51982
+ project_id: /* @__PURE__ */ number$2(),
51983
+ user_id: /* @__PURE__ */ number$2()
51920
51984
  }),
51921
51985
  execute: (input, { client }) => {
51922
51986
  const data = input;
51923
- return client.runGeneratedRequest("getDesignationMembersBillableRates", () => callGeneratedRequest(getDesignationMembersBillableRates, [
51987
+ return client.runGeneratedRequest("getProjectDesignationMemberBillableRates", () => callGeneratedRequest(getProjectDesignationMemberBillableRates, [
51924
51988
  client.httpClient,
51925
51989
  client.organizationId,
51926
51990
  client.workspaceIdNumber,
51927
51991
  data.project_id,
51992
+ data.designation_id,
51993
+ data.user_id,
51928
51994
  data,
51929
51995
  void 0
51930
51996
  ]));
51931
51997
  }
51932
51998
  },
51933
51999
  {
51934
- id: "focus.rates.billable-get-project",
52000
+ id: "focus.rates.billable-get-project-designation-members",
51935
52001
  family: "focus",
51936
52002
  resource: "rates",
51937
- action: "billable-get-project",
51938
- title: "Billable Get Project Rates",
51939
- description: "Billable Get Project Rates.",
52003
+ action: "billable-get-project-designation-members",
52004
+ title: "Billable Get Project Designation Members Rates",
52005
+ description: "Billable Get Project Designation Members Rates.",
51940
52006
  safety: "read",
51941
52007
  destructive: false,
51942
52008
  cli: {
51943
52009
  group: ["rates", "billable"],
51944
- command: "get-project",
51945
- interactive: "hidden"
52010
+ command: "get-project-designation-members",
52011
+ interactive: "available"
51946
52012
  },
51947
52013
  mcp: { entityTool: "rates" },
51948
52014
  inputSchema: /* @__PURE__ */ looseObject({
51949
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
52015
+ date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
51950
52016
  project_id: /* @__PURE__ */ number$2()
51951
52017
  }),
51952
52018
  execute: (input, { client }) => {
51953
52019
  const data = input;
51954
- return client.runGeneratedRequest("getProjectBillableRates", () => callGeneratedRequest(getProjectBillableRates, [
52020
+ return client.runGeneratedRequest("getProjectDesignationMembersBillableRates", () => callGeneratedRequest(getProjectDesignationMembersBillableRates, [
51955
52021
  client.httpClient,
51956
52022
  client.organizationId,
51957
52023
  client.workspaceIdNumber,
@@ -52114,66 +52180,66 @@ const generatedFocusOperations = [
52114
52180
  }
52115
52181
  },
52116
52182
  {
52117
- id: "focus.rates.billable-upsert-designation-member",
52183
+ id: "focus.rates.billable-upsert-project",
52118
52184
  family: "focus",
52119
52185
  resource: "rates",
52120
- action: "billable-upsert-designation-member",
52121
- title: "Billable Upsert Designation Member Rates",
52122
- description: "Billable Upsert Designation Member Rates.",
52186
+ action: "billable-upsert-project",
52187
+ title: "Billable Upsert Project Rates",
52188
+ description: "Billable Upsert Project Rates.",
52123
52189
  safety: "update",
52124
52190
  destructive: false,
52125
52191
  cli: {
52126
52192
  group: ["rates", "billable"],
52127
- command: "upsert-designation-member",
52193
+ command: "upsert-project",
52128
52194
  interactive: "default"
52129
52195
  },
52130
52196
  mcp: { entityTool: "rates" },
52131
52197
  inputSchema: /* @__PURE__ */ looseObject({
52132
- designation_id: /* @__PURE__ */ number$2(),
52133
52198
  payload: rateSchedulePayloadSchema,
52134
- project_id: /* @__PURE__ */ number$2(),
52135
- user_id: /* @__PURE__ */ number$2()
52199
+ project_id: /* @__PURE__ */ number$2()
52136
52200
  }),
52137
52201
  execute: (input, { client }) => {
52138
52202
  const data = input;
52139
- return client.runGeneratedRequest("upsertDesignationMemberBillableRate", () => callGeneratedRequest(upsertDesignationMemberBillableRate, [
52203
+ return client.runGeneratedRequest("upsertProjectBillableRate", () => callGeneratedRequest(upsertProjectBillableRate, [
52140
52204
  client.httpClient,
52141
52205
  client.organizationId,
52142
52206
  client.workspaceIdNumber,
52143
52207
  data.project_id,
52144
- data.designation_id,
52145
- data.user_id,
52146
52208
  data.payload ?? data.data ?? data,
52147
52209
  void 0
52148
52210
  ]));
52149
52211
  }
52150
52212
  },
52151
52213
  {
52152
- id: "focus.rates.billable-upsert-project",
52214
+ id: "focus.rates.billable-upsert-project-designation-member",
52153
52215
  family: "focus",
52154
52216
  resource: "rates",
52155
- action: "billable-upsert-project",
52156
- title: "Billable Upsert Project Rates",
52157
- description: "Billable Upsert Project Rates.",
52217
+ action: "billable-upsert-project-designation-member",
52218
+ title: "Billable Upsert Project Designation Member Rates",
52219
+ description: "Billable Upsert Project Designation Member Rates.",
52158
52220
  safety: "update",
52159
52221
  destructive: false,
52160
52222
  cli: {
52161
52223
  group: ["rates", "billable"],
52162
- command: "upsert-project",
52224
+ command: "upsert-project-designation-member",
52163
52225
  interactive: "default"
52164
52226
  },
52165
52227
  mcp: { entityTool: "rates" },
52166
52228
  inputSchema: /* @__PURE__ */ looseObject({
52229
+ designation_id: /* @__PURE__ */ number$2(),
52167
52230
  payload: rateSchedulePayloadSchema,
52168
- project_id: /* @__PURE__ */ number$2()
52231
+ project_id: /* @__PURE__ */ number$2(),
52232
+ user_id: /* @__PURE__ */ number$2()
52169
52233
  }),
52170
52234
  execute: (input, { client }) => {
52171
52235
  const data = input;
52172
- return client.runGeneratedRequest("upsertProjectBillableRate", () => callGeneratedRequest(upsertProjectBillableRate, [
52236
+ return client.runGeneratedRequest("upsertProjectDesignationMemberBillableRate", () => callGeneratedRequest(upsertProjectDesignationMemberBillableRate, [
52173
52237
  client.httpClient,
52174
52238
  client.organizationId,
52175
52239
  client.workspaceIdNumber,
52176
52240
  data.project_id,
52241
+ data.designation_id,
52242
+ data.user_id,
52177
52243
  data.payload ?? data.data ?? data,
52178
52244
  void 0
52179
52245
  ]));
@@ -52536,17 +52602,17 @@ const generatedFocusOperations = [
52536
52602
  }
52537
52603
  },
52538
52604
  {
52539
- id: "focus.rates.labor-check-designation-member-labor-cost-conflicts",
52605
+ id: "focus.rates.labor-check-project-designation-member-labor-cost-conflicts",
52540
52606
  family: "focus",
52541
52607
  resource: "rates",
52542
- action: "labor-check-designation-member-labor-cost-conflicts",
52543
- title: "Labor Check Designation Member Labor Cost Conflicts Rates",
52544
- description: "Labor Check Designation Member Labor Cost Conflicts Rates.",
52608
+ action: "labor-check-project-designation-member-labor-cost-conflicts",
52609
+ title: "Labor Check Project Designation Member Labor Cost Conflicts Rates",
52610
+ description: "Labor Check Project Designation Member Labor Cost Conflicts Rates.",
52545
52611
  safety: "update",
52546
52612
  destructive: false,
52547
52613
  cli: {
52548
52614
  group: ["rates", "labor"],
52549
- command: "check-designation-member-labor-cost-conflicts",
52615
+ command: "check-project-designation-member-labor-cost-conflicts",
52550
52616
  interactive: "default"
52551
52617
  },
52552
52618
  mcp: { entityTool: "rates" },
@@ -52558,7 +52624,7 @@ const generatedFocusOperations = [
52558
52624
  }),
52559
52625
  execute: (input, { client }) => {
52560
52626
  const data = input;
52561
- return client.runGeneratedRequest("checkDesignationMemberLaborCostConflicts", () => callGeneratedRequest(checkDesignationMemberLaborCostConflicts, [
52627
+ return client.runGeneratedRequest("checkProjectDesignationMemberLaborCostConflicts", () => callGeneratedRequest(checkProjectDesignationMemberLaborCostConflicts, [
52562
52628
  client.httpClient,
52563
52629
  client.organizationId,
52564
52630
  client.workspaceIdNumber,
@@ -52724,17 +52790,17 @@ const generatedFocusOperations = [
52724
52790
  }
52725
52791
  },
52726
52792
  {
52727
- id: "focus.rates.labor-delete-designation-member-labor-cost-rate-range",
52793
+ id: "focus.rates.labor-delete-project-designation-member-labor-cost-rate-range",
52728
52794
  family: "focus",
52729
52795
  resource: "rates",
52730
- action: "labor-delete-designation-member-labor-cost-rate-range",
52731
- title: "Labor Delete Designation Member Labor Cost Rate Range Rates",
52732
- description: "Labor Delete Designation Member Labor Cost Rate Range Rates.",
52796
+ action: "labor-delete-project-designation-member-labor-cost-rate-range",
52797
+ title: "Labor Delete Project Designation Member Labor Cost Rate Range Rates",
52798
+ description: "Labor Delete Project Designation Member Labor Cost Rate Range Rates.",
52733
52799
  safety: "delete",
52734
52800
  destructive: true,
52735
52801
  cli: {
52736
52802
  group: ["rates", "labor"],
52737
- command: "delete-designation-member-labor-cost-rate-range",
52803
+ command: "delete-project-designation-member-labor-cost-rate-range",
52738
52804
  interactive: "default"
52739
52805
  },
52740
52806
  mcp: { entityTool: "rates" },
@@ -52747,7 +52813,7 @@ const generatedFocusOperations = [
52747
52813
  }),
52748
52814
  execute: (input, { client }) => {
52749
52815
  const data = input;
52750
- return client.runGeneratedRequest("deleteDesignationMemberLaborCostRateRange", () => callGeneratedRequest(deleteDesignationMemberLaborCostRateRange, [
52816
+ return client.runGeneratedRequest("deleteProjectDesignationMemberLaborCostRateRange", () => callGeneratedRequest(deleteProjectDesignationMemberLaborCostRateRange, [
52751
52817
  client.httpClient,
52752
52818
  client.organizationId,
52753
52819
  client.workspaceIdNumber,
@@ -52952,6 +53018,38 @@ const generatedFocusOperations = [
52952
53018
  ]));
52953
53019
  }
52954
53020
  },
53021
+ {
53022
+ id: "focus.rates.labor-get-all-project-designation-member-labor-cost-rates",
53023
+ family: "focus",
53024
+ resource: "rates",
53025
+ action: "labor-get-all-project-designation-member-labor-cost-rates",
53026
+ title: "Labor Get All Project Designation Member Labor Cost Rates Rates",
53027
+ description: "Labor Get All Project Designation Member Labor Cost Rates Rates.",
53028
+ safety: "read",
53029
+ destructive: false,
53030
+ cli: {
53031
+ group: ["rates", "labor"],
53032
+ command: "get-all-project-designation-member-labor-cost-rates",
53033
+ interactive: "hidden"
53034
+ },
53035
+ mcp: { entityTool: "rates" },
53036
+ inputSchema: /* @__PURE__ */ looseObject({
53037
+ date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
53038
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53039
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53040
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
53041
+ }),
53042
+ execute: (input, { client }) => {
53043
+ const data = input;
53044
+ return client.runGeneratedRequest("getAllProjectDesignationMemberLaborCostRates", () => callGeneratedRequest(getAllProjectDesignationMemberLaborCostRates, [
53045
+ client.httpClient,
53046
+ client.organizationId,
53047
+ client.workspaceIdNumber,
53048
+ data,
53049
+ void 0
53050
+ ]));
53051
+ }
53052
+ },
52955
53053
  {
52956
53054
  id: "focus.rates.labor-get-all-project-user-labor-cost-rates",
52957
53055
  family: "focus",
@@ -53001,7 +53099,8 @@ const generatedFocusOperations = [
53001
53099
  mcp: { entityTool: "rates" },
53002
53100
  inputSchema: /* @__PURE__ */ looseObject({
53003
53101
  designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
53004
- order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
53102
+ order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
53103
+ user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
53005
53104
  }),
53006
53105
  execute: (input, { client }) => {
53007
53106
  const data = input;
@@ -53046,17 +53145,17 @@ const generatedFocusOperations = [
53046
53145
  }
53047
53146
  },
53048
53147
  {
53049
- id: "focus.rates.labor-get-designation-member-labor-cost-rates",
53148
+ id: "focus.rates.labor-get-project-designation-member-labor-cost-rates",
53050
53149
  family: "focus",
53051
53150
  resource: "rates",
53052
- action: "labor-get-designation-member-labor-cost-rates",
53053
- title: "Labor Get Designation Member Labor Cost Rates Rates",
53054
- description: "Labor Get Designation Member Labor Cost Rates Rates.",
53151
+ action: "labor-get-project-designation-member-labor-cost-rates",
53152
+ title: "Labor Get Project Designation Member Labor Cost Rates Rates",
53153
+ description: "Labor Get Project Designation Member Labor Cost Rates Rates.",
53055
53154
  safety: "read",
53056
53155
  destructive: false,
53057
53156
  cli: {
53058
53157
  group: ["rates", "labor"],
53059
- command: "get-designation-member-labor-cost-rates",
53158
+ command: "get-project-designation-member-labor-cost-rates",
53060
53159
  interactive: "hidden"
53061
53160
  },
53062
53161
  mcp: { entityTool: "rates" },
@@ -53068,7 +53167,7 @@ const generatedFocusOperations = [
53068
53167
  }),
53069
53168
  execute: (input, { client }) => {
53070
53169
  const data = input;
53071
- return client.runGeneratedRequest("getDesignationMemberLaborCostRates", () => callGeneratedRequest(getDesignationMemberLaborCostRates, [
53170
+ return client.runGeneratedRequest("getProjectDesignationMemberLaborCostRates", () => callGeneratedRequest(getProjectDesignationMemberLaborCostRates, [
53072
53171
  client.httpClient,
53073
53172
  client.organizationId,
53074
53173
  client.workspaceIdNumber,
@@ -53081,17 +53180,17 @@ const generatedFocusOperations = [
53081
53180
  }
53082
53181
  },
53083
53182
  {
53084
- id: "focus.rates.labor-get-designation-members-labor-cost-rates",
53183
+ id: "focus.rates.labor-get-project-designation-members-labor-cost-rates",
53085
53184
  family: "focus",
53086
53185
  resource: "rates",
53087
- action: "labor-get-designation-members-labor-cost-rates",
53088
- title: "Labor Get Designation Members Labor Cost Rates Rates",
53089
- description: "Labor Get Designation Members Labor Cost Rates Rates.",
53186
+ action: "labor-get-project-designation-members-labor-cost-rates",
53187
+ title: "Labor Get Project Designation Members Labor Cost Rates Rates",
53188
+ description: "Labor Get Project Designation Members Labor Cost Rates Rates.",
53090
53189
  safety: "read",
53091
53190
  destructive: false,
53092
53191
  cli: {
53093
53192
  group: ["rates", "labor"],
53094
- command: "get-designation-members-labor-cost-rates",
53193
+ command: "get-project-designation-members-labor-cost-rates",
53095
53194
  interactive: "available"
53096
53195
  },
53097
53196
  mcp: { entityTool: "rates" },
@@ -53101,7 +53200,7 @@ const generatedFocusOperations = [
53101
53200
  }),
53102
53201
  execute: (input, { client }) => {
53103
53202
  const data = input;
53104
- return client.runGeneratedRequest("getDesignationMembersLaborCostRates", () => callGeneratedRequest(getDesignationMembersLaborCostRates, [
53203
+ return client.runGeneratedRequest("getProjectDesignationMembersLaborCostRates", () => callGeneratedRequest(getProjectDesignationMembersLaborCostRates, [
53105
53204
  client.httpClient,
53106
53205
  client.organizationId,
53107
53206
  client.workspaceIdNumber,
@@ -53265,17 +53364,17 @@ const generatedFocusOperations = [
53265
53364
  }
53266
53365
  },
53267
53366
  {
53268
- id: "focus.rates.labor-upsert-designation-member-labor-cost-rate",
53367
+ id: "focus.rates.labor-upsert-project-designation-member-labor-cost-rate",
53269
53368
  family: "focus",
53270
53369
  resource: "rates",
53271
- action: "labor-upsert-designation-member-labor-cost-rate",
53272
- title: "Labor Upsert Designation Member Labor Cost Rate Rates",
53273
- description: "Labor Upsert Designation Member Labor Cost Rate Rates.",
53370
+ action: "labor-upsert-project-designation-member-labor-cost-rate",
53371
+ title: "Labor Upsert Project Designation Member Labor Cost Rate Rates",
53372
+ description: "Labor Upsert Project Designation Member Labor Cost Rate Rates.",
53274
53373
  safety: "update",
53275
53374
  destructive: false,
53276
53375
  cli: {
53277
53376
  group: ["rates", "labor"],
53278
- command: "upsert-designation-member-labor-cost-rate",
53377
+ command: "upsert-project-designation-member-labor-cost-rate",
53279
53378
  interactive: "default"
53280
53379
  },
53281
53380
  mcp: { entityTool: "rates" },
@@ -53287,7 +53386,7 @@ const generatedFocusOperations = [
53287
53386
  }),
53288
53387
  execute: (input, { client }) => {
53289
53388
  const data = input;
53290
- return client.runGeneratedRequest("upsertDesignationMemberLaborCostRate", () => callGeneratedRequest(upsertDesignationMemberLaborCostRate, [
53389
+ return client.runGeneratedRequest("upsertProjectDesignationMemberLaborCostRate", () => callGeneratedRequest(upsertProjectDesignationMemberLaborCostRate, [
53291
53390
  client.httpClient,
53292
53391
  client.organizationId,
53293
53392
  client.workspaceIdNumber,
@@ -60436,6 +60535,28 @@ const generatedFocusOperations = [
60436
60535
  void 0
60437
60536
  ]))
60438
60537
  },
60538
+ {
60539
+ id: "focus.workspace-settings.get-workspace-invoice-watermark",
60540
+ family: "focus",
60541
+ resource: "workspace-settings",
60542
+ action: "get-workspace-invoice-watermark",
60543
+ title: "Get Workspace Invoice Watermark Workspace Settings",
60544
+ description: "Get Workspace Invoice Watermark Workspace Settings.",
60545
+ safety: "read",
60546
+ destructive: false,
60547
+ cli: {
60548
+ group: ["workspace-settings"],
60549
+ command: "get-workspace-invoice-watermark",
60550
+ interactive: "hidden"
60551
+ },
60552
+ mcp: { entityTool: "workspace-settings" },
60553
+ inputSchema: /* @__PURE__ */ looseObject({}),
60554
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceInvoiceWatermark", () => callGeneratedRequest(getWorkspaceInvoiceWatermark, [
60555
+ client.httpClient,
60556
+ client.workspaceIdNumber,
60557
+ void 0
60558
+ ]))
60559
+ },
60439
60560
  {
60440
60561
  id: "focus.workspace-settings.get-workspace-watermark",
60441
60562
  family: "focus",
@@ -60536,6 +60657,32 @@ const generatedFocusOperations = [
60536
60657
  ]));
60537
60658
  }
60538
60659
  },
60660
+ {
60661
+ id: "focus.workspace-settings.update-workspace-invoice-watermark",
60662
+ family: "focus",
60663
+ resource: "workspace-settings",
60664
+ action: "update-workspace-invoice-watermark",
60665
+ title: "Update Workspace Invoice Watermark Workspace Settings",
60666
+ description: "Update Workspace Invoice Watermark Workspace Settings.",
60667
+ safety: "update",
60668
+ destructive: false,
60669
+ cli: {
60670
+ group: ["workspace-settings"],
60671
+ command: "update-workspace-invoice-watermark",
60672
+ interactive: "default"
60673
+ },
60674
+ mcp: { entityTool: "workspace-settings" },
60675
+ inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ show_invoice_watermark: /* @__PURE__ */ boolean$1() }) }),
60676
+ execute: (input, { client }) => {
60677
+ const data = input;
60678
+ return client.runGeneratedRequest("updateWorkspaceInvoiceWatermark", () => callGeneratedRequest(updateWorkspaceInvoiceWatermark, [
60679
+ client.httpClient,
60680
+ client.workspaceIdNumber,
60681
+ data.payload ?? data.data ?? data,
60682
+ void 0
60683
+ ]));
60684
+ }
60685
+ },
60539
60686
  {
60540
60687
  id: "focus.workspace-settings.update-workspace-watermark",
60541
60688
  family: "focus",
@@ -61742,7 +61889,7 @@ function registerWorkspaceTools(server) {
61742
61889
  //#region src/package-version.ts
61743
61890
  function mcpPackageVersion() {
61744
61891
  try {
61745
- return "1.13.311";
61892
+ return "1.13.313";
61746
61893
  } catch {
61747
61894
  return "unknown";
61748
61895
  }
@@ -61924,7 +62071,7 @@ import_main.default.config({
61924
62071
  quiet: true,
61925
62072
  ignore: ["MISSING_ENV_FILE"]
61926
62073
  });
61927
- const packageVersion = "1.13.311";
62074
+ const packageVersion = "1.13.313";
61928
62075
  const MCP_CACHE_TTL_MS = 300 * 1e3;
61929
62076
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
61930
62077
  function resolvePublicUrls() {
@@ -62044,4 +62191,4 @@ function bootstrapServer(options = {}) {
62044
62191
  //#endregion
62045
62192
  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 };
62046
62193
 
62047
- //# sourceMappingURL=src-CDvKVkav.js.map
62194
+ //# sourceMappingURL=src-D8aiTq1J.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.311",
3
+ "version": "1.13.313",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",