@togglhq/mcp 1.5.71 → 1.5.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{src-GasZftzb.js → src-D7Ze3NNZ.js} +174 -1144
- package/package.json +1 -1
|
@@ -14502,7 +14502,7 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
14502
14502
|
inst.array = () => array$2(inst);
|
|
14503
14503
|
inst.or = (arg) => union$2([inst, arg]);
|
|
14504
14504
|
inst.and = (arg) => intersection(inst, arg);
|
|
14505
|
-
inst.transform = (tx) => pipe$1(inst, transform$
|
|
14505
|
+
inst.transform = (tx) => pipe$1(inst, transform$2(tx));
|
|
14506
14506
|
inst.default = (def) => _default(inst, def);
|
|
14507
14507
|
inst.prefault = (def) => prefault(inst, def);
|
|
14508
14508
|
inst.catch = (params) => _catch(inst, params);
|
|
@@ -14949,7 +14949,7 @@ const ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) =>
|
|
|
14949
14949
|
return payload;
|
|
14950
14950
|
};
|
|
14951
14951
|
});
|
|
14952
|
-
function transform$
|
|
14952
|
+
function transform$2(fn) {
|
|
14953
14953
|
return new ZodTransform({
|
|
14954
14954
|
type: "transform",
|
|
14955
14955
|
transform: fn
|
|
@@ -15099,7 +15099,7 @@ function superRefine(fn) {
|
|
|
15099
15099
|
return /* @__PURE__ */ _superRefine(fn);
|
|
15100
15100
|
}
|
|
15101
15101
|
function preprocess(fn, schema) {
|
|
15102
|
-
return pipe$1(transform$
|
|
15102
|
+
return pipe$1(transform$2(fn), schema);
|
|
15103
15103
|
}
|
|
15104
15104
|
//#endregion
|
|
15105
15105
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.js
|
|
@@ -25624,6 +25624,27 @@ function regex(requirement, message$1) {
|
|
|
25624
25624
|
};
|
|
25625
25625
|
}
|
|
25626
25626
|
/**
|
|
25627
|
+
* Creates a custom transformation action.
|
|
25628
|
+
*
|
|
25629
|
+
* @param operation The transformation operation.
|
|
25630
|
+
*
|
|
25631
|
+
* @returns A transform action.
|
|
25632
|
+
*/
|
|
25633
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
25634
|
+
function transform$1(operation) {
|
|
25635
|
+
return {
|
|
25636
|
+
kind: "transformation",
|
|
25637
|
+
type: "transform",
|
|
25638
|
+
reference: transform$1,
|
|
25639
|
+
async: false,
|
|
25640
|
+
operation,
|
|
25641
|
+
"~run"(dataset) {
|
|
25642
|
+
dataset.value = this.operation(dataset.value);
|
|
25643
|
+
return dataset;
|
|
25644
|
+
}
|
|
25645
|
+
};
|
|
25646
|
+
}
|
|
25647
|
+
/**
|
|
25627
25648
|
* Returns the fallback value of the schema.
|
|
25628
25649
|
*
|
|
25629
25650
|
* @param schema The schema to get it from.
|
|
@@ -28402,31 +28423,6 @@ function getFallback(schema, dataset, config$1) {
|
|
|
28402
28423
|
return typeof schema.fallback === "function" ? schema.fallback(dataset, config$1) : schema.fallback;
|
|
28403
28424
|
}
|
|
28404
28425
|
/**
|
|
28405
|
-
* Returns a fallback value as output if the input does not match the schema.
|
|
28406
|
-
*
|
|
28407
|
-
* @param schema The schema to catch.
|
|
28408
|
-
* @param fallback The fallback value.
|
|
28409
|
-
*
|
|
28410
|
-
* @returns The passed schema.
|
|
28411
|
-
*/
|
|
28412
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
28413
|
-
function fallback(schema, fallback$1) {
|
|
28414
|
-
return {
|
|
28415
|
-
...schema,
|
|
28416
|
-
fallback: fallback$1,
|
|
28417
|
-
get "~standard"() {
|
|
28418
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
28419
|
-
},
|
|
28420
|
-
"~run"(dataset, config$1) {
|
|
28421
|
-
const outputDataset = schema["~run"](dataset, config$1);
|
|
28422
|
-
return outputDataset.issues ? {
|
|
28423
|
-
typed: true,
|
|
28424
|
-
value: /* @__PURE__ */ getFallback(this, outputDataset, config$1)
|
|
28425
|
-
} : outputDataset;
|
|
28426
|
-
}
|
|
28427
|
-
};
|
|
28428
|
-
}
|
|
28429
|
-
/**
|
|
28430
28426
|
* Returns the default value of the schema.
|
|
28431
28427
|
*
|
|
28432
28428
|
* @param schema The schema to get it from.
|
|
@@ -28902,14 +28898,8 @@ function pipe(...pipe$1) {
|
|
|
28902
28898
|
}
|
|
28903
28899
|
};
|
|
28904
28900
|
}
|
|
28905
|
-
|
|
28906
|
-
|
|
28907
|
-
type: /* @__PURE__ */ picklist([
|
|
28908
|
-
"user",
|
|
28909
|
-
"ghost",
|
|
28910
|
-
"team"
|
|
28911
|
-
])
|
|
28912
|
-
});
|
|
28901
|
+
//#endregion
|
|
28902
|
+
//#region ../focus-queries/dist/schemas/index.ts
|
|
28913
28903
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
28914
28904
|
id: /* @__PURE__ */ number(),
|
|
28915
28905
|
name: /* @__PURE__ */ string()
|
|
@@ -28952,12 +28942,18 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
28952
28942
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
28953
28943
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
28954
28944
|
});
|
|
28945
|
+
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
28946
|
+
id: /* @__PURE__ */ number(),
|
|
28947
|
+
type: /* @__PURE__ */ picklist([
|
|
28948
|
+
"user",
|
|
28949
|
+
"ghost",
|
|
28950
|
+
"team"
|
|
28951
|
+
])
|
|
28952
|
+
});
|
|
28955
28953
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
28956
28954
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
28957
28955
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
28958
28956
|
calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
28959
|
-
extension_source: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Browser-extension provenance: the source/config that produced the task and the page URL it was tracked from. Written by the extension's start-from-description flow; ExtensionURL is queryable via FindByURL."))),
|
|
28960
|
-
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
28961
28957
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
28962
28958
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
28963
28959
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -28997,9 +28993,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
|
|
|
28997
28993
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
28998
28994
|
});
|
|
28999
28995
|
const TaskSchema = /* @__PURE__ */ object({
|
|
29000
|
-
allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
|
|
29001
28996
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29002
|
-
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
29003
28997
|
id: /* @__PURE__ */ number(),
|
|
29004
28998
|
is_template: /* @__PURE__ */ boolean(),
|
|
29005
28999
|
name: /* @__PURE__ */ string(),
|
|
@@ -29048,9 +29042,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
29048
29042
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29049
29043
|
});
|
|
29050
29044
|
const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
29051
|
-
allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
|
|
29052
29045
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29053
|
-
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
29054
29046
|
id: /* @__PURE__ */ number(),
|
|
29055
29047
|
is_template: /* @__PURE__ */ boolean(),
|
|
29056
29048
|
name: /* @__PURE__ */ string(),
|
|
@@ -29065,19 +29057,9 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
29065
29057
|
private: /* @__PURE__ */ boolean(),
|
|
29066
29058
|
source: /* @__PURE__ */ string(),
|
|
29067
29059
|
status_id: /* @__PURE__ */ number(),
|
|
29068
|
-
sub_task_done_count: /* @__PURE__ */ number(),
|
|
29069
|
-
sub_task_total_count: /* @__PURE__ */ number(),
|
|
29070
29060
|
tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
29071
29061
|
tags: /* @__PURE__ */ array(TagLiteSchema),
|
|
29072
|
-
time_block_completed_count: /* @__PURE__ */ number(),
|
|
29073
|
-
time_block_scheduled_completed_count: /* @__PURE__ */ number(),
|
|
29074
|
-
time_block_scheduled_total_count: /* @__PURE__ */ number(),
|
|
29075
|
-
time_block_total_count: /* @__PURE__ */ number(),
|
|
29076
|
-
time_entry_total_count: /* @__PURE__ */ number(),
|
|
29077
29062
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
29078
|
-
total_blocked_time: /* @__PURE__ */ number(),
|
|
29079
|
-
total_scheduled_blocked_time: /* @__PURE__ */ number(),
|
|
29080
|
-
total_tracked_time: /* @__PURE__ */ number(),
|
|
29081
29063
|
workspace_id: /* @__PURE__ */ number(),
|
|
29082
29064
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29083
29065
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
@@ -29107,6 +29089,16 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
29107
29089
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
29108
29090
|
status: /* @__PURE__ */ optional(StatusLiteSchema),
|
|
29109
29091
|
status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29092
|
+
sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29093
|
+
sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29094
|
+
time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29095
|
+
time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29096
|
+
time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29097
|
+
time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
|
|
29098
|
+
time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29099
|
+
total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29100
|
+
total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29101
|
+
total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29110
29102
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29111
29103
|
});
|
|
29112
29104
|
const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
|
|
@@ -29157,10 +29149,7 @@ const AlertRuleSchema = /* @__PURE__ */ object({
|
|
|
29157
29149
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
29158
29150
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
29159
29151
|
});
|
|
29160
|
-
const ClientPayloadSchema = /* @__PURE__ */ object({
|
|
29161
|
-
name: /* @__PURE__ */ string(),
|
|
29162
|
-
currency: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Currency is the client's optional default display currency (ISO 4217). Omitted or null means the client falls back to the workspace currency. On update (PUT) it is set directly, so send it to set/keep it or null to clear.")))
|
|
29163
|
-
});
|
|
29152
|
+
const ClientPayloadSchema = /* @__PURE__ */ object({ name: /* @__PURE__ */ string() });
|
|
29164
29153
|
const ProjectFixedFeePayloadSchema = /* @__PURE__ */ object({
|
|
29165
29154
|
amount: /* @__PURE__ */ number(),
|
|
29166
29155
|
currency: /* @__PURE__ */ string()
|
|
@@ -29256,7 +29245,6 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
29256
29245
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29257
29246
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29258
29247
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29259
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29260
29248
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29261
29249
|
});
|
|
29262
29250
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -29264,7 +29252,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
29264
29252
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29265
29253
|
id: /* @__PURE__ */ number(),
|
|
29266
29254
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
29267
|
-
type:
|
|
29255
|
+
type: TimeEntryTypeSchema,
|
|
29268
29256
|
workspace_id: /* @__PURE__ */ number(),
|
|
29269
29257
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29270
29258
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -29280,7 +29268,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
29280
29268
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29281
29269
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29282
29270
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29283
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29284
29271
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29285
29272
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29286
29273
|
});
|
|
@@ -29307,7 +29294,6 @@ const ClientSchema = /* @__PURE__ */ object({
|
|
|
29307
29294
|
id: /* @__PURE__ */ number(),
|
|
29308
29295
|
name: /* @__PURE__ */ string(),
|
|
29309
29296
|
workspace_id: /* @__PURE__ */ number(),
|
|
29310
|
-
currency: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29311
29297
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29312
29298
|
toggl_user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29313
29299
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
@@ -29390,7 +29376,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
|
|
|
29390
29376
|
const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
29391
29377
|
data: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
29392
29378
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29393
|
-
has_time_entry: /* @__PURE__ */ boolean(),
|
|
29394
29379
|
id: /* @__PURE__ */ number(),
|
|
29395
29380
|
start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29396
29381
|
task_id: /* @__PURE__ */ number(),
|
|
@@ -29402,8 +29387,8 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29402
29387
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29403
29388
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29404
29389
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29390
|
+
has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29405
29391
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
29406
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29407
29392
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29408
29393
|
})),
|
|
29409
29394
|
page: /* @__PURE__ */ number(),
|
|
@@ -29414,23 +29399,11 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29414
29399
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29415
29400
|
id: /* @__PURE__ */ number(),
|
|
29416
29401
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
29417
|
-
type:
|
|
29402
|
+
type: TimeEntryTypeSchema,
|
|
29418
29403
|
workspace_id: /* @__PURE__ */ number(),
|
|
29419
29404
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29420
29405
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29421
29406
|
billable_source: /* @__PURE__ */ optional(BillableSourceSchema),
|
|
29422
|
-
calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
29423
|
-
all_day: /* @__PURE__ */ boolean(),
|
|
29424
|
-
background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
29425
|
-
end_time: /* @__PURE__ */ string(),
|
|
29426
|
-
foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
29427
|
-
html_link: /* @__PURE__ */ string(),
|
|
29428
|
-
id: /* @__PURE__ */ number(),
|
|
29429
|
-
meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
29430
|
-
provider: /* @__PURE__ */ string(),
|
|
29431
|
-
start_time: /* @__PURE__ */ string(),
|
|
29432
|
-
title: /* @__PURE__ */ string()
|
|
29433
|
-
}))),
|
|
29434
29407
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29435
29408
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29436
29409
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29444,7 +29417,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29444
29417
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
29445
29418
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29446
29419
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29447
|
-
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29448
29420
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29449
29421
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29450
29422
|
})),
|
|
@@ -29587,7 +29559,6 @@ const TagPayloadSchema = /* @__PURE__ */ object({
|
|
|
29587
29559
|
const TaskBulkArchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
29588
29560
|
const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
29589
29561
|
name: /* @__PURE__ */ string(),
|
|
29590
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ fallback(/* @__PURE__ */ picklist(["percent", "flat"]), "flat")),
|
|
29591
29562
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29592
29563
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29593
29564
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -29595,7 +29566,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29595
29566
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
|
|
29596
29567
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29597
29568
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
29598
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29599
29569
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29600
29570
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29601
29571
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -29627,7 +29597,6 @@ const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29627
29597
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
29628
29598
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
29629
29599
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
29630
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
29631
29600
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29632
29601
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
29633
29602
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -29635,7 +29604,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29635
29604
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
29636
29605
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
29637
29606
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
29638
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29639
29607
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29640
29608
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29641
29609
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29662,7 +29630,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29662
29630
|
});
|
|
29663
29631
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
29664
29632
|
id: /* @__PURE__ */ number(),
|
|
29665
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
29666
29633
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29667
29634
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
29668
29635
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -29670,7 +29637,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
29670
29637
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
29671
29638
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
29672
29639
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
29673
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29674
29640
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29675
29641
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29676
29642
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29718,7 +29684,7 @@ const TimeBlockPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
29718
29684
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
29719
29685
|
});
|
|
29720
29686
|
const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
29721
|
-
type:
|
|
29687
|
+
type: TimeEntryTypeSchema,
|
|
29722
29688
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29723
29689
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29724
29690
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29823,16 +29789,10 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
|
|
|
29823
29789
|
json: data
|
|
29824
29790
|
}).json();
|
|
29825
29791
|
}
|
|
29826
|
-
async function getOrganizationMemberTags(httpClient, organization_id, { workspace_id }, signal) {
|
|
29827
|
-
return await httpClient.get(`organizations/${organization_id}/member-tags`, {
|
|
29828
|
-
signal,
|
|
29829
|
-
searchParams: buildSearchParams$3({ workspace_id })
|
|
29830
|
-
}).json();
|
|
29831
|
-
}
|
|
29832
29792
|
async function getOrganizationRoles(httpClient, organization_id, signal) {
|
|
29833
29793
|
return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
|
|
29834
29794
|
}
|
|
29835
|
-
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter,
|
|
29795
|
+
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, organization_user_id, group_ids }, signal) {
|
|
29836
29796
|
return await httpClient.get(`organizations/${organization_id}/teams`, {
|
|
29837
29797
|
signal,
|
|
29838
29798
|
searchParams: buildSearchParams$3({
|
|
@@ -29841,14 +29801,12 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
29841
29801
|
per_page,
|
|
29842
29802
|
sort_dir,
|
|
29843
29803
|
filter,
|
|
29844
|
-
query,
|
|
29845
29804
|
organization_user_id,
|
|
29846
|
-
group_ids
|
|
29847
|
-
active_members_only
|
|
29805
|
+
group_ids
|
|
29848
29806
|
})
|
|
29849
29807
|
}).json();
|
|
29850
29808
|
}
|
|
29851
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids
|
|
29809
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids } = {}, signal) {
|
|
29852
29810
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
29853
29811
|
signal,
|
|
29854
29812
|
searchParams: buildSearchParams$3({
|
|
@@ -29867,8 +29825,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
29867
29825
|
tag_ids,
|
|
29868
29826
|
include_working_hours,
|
|
29869
29827
|
include_rates,
|
|
29870
|
-
pinned_ids
|
|
29871
|
-
has_group
|
|
29828
|
+
pinned_ids
|
|
29872
29829
|
}, true)
|
|
29873
29830
|
});
|
|
29874
29831
|
return withResponseMeta$1(await response.json(), response.headers, response.status);
|
|
@@ -29922,7 +29879,7 @@ async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
29922
29879
|
}
|
|
29923
29880
|
//#endregion
|
|
29924
29881
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
29925
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts,
|
|
29882
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, user_id, include_rates, include_rollover, include_idle_recurring_templates, include_drafts, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
29926
29883
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
29927
29884
|
signal,
|
|
29928
29885
|
searchParams: buildSearchParams$3({
|
|
@@ -29937,6 +29894,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
29937
29894
|
client_id,
|
|
29938
29895
|
creator_id,
|
|
29939
29896
|
tag_id,
|
|
29897
|
+
parent_project_id,
|
|
29940
29898
|
assignee_user_id,
|
|
29941
29899
|
project_id,
|
|
29942
29900
|
user_id,
|
|
@@ -29944,7 +29902,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
29944
29902
|
include_rollover,
|
|
29945
29903
|
include_idle_recurring_templates,
|
|
29946
29904
|
include_drafts,
|
|
29947
|
-
include_locked_private,
|
|
29948
29905
|
start_date,
|
|
29949
29906
|
end_date,
|
|
29950
29907
|
date_overlap_start,
|
|
@@ -29995,15 +29952,14 @@ async function getBatchProjectsMembers(httpClient, organization_id, workspace_id
|
|
|
29995
29952
|
searchParams: buildSearchParams$3({ ids })
|
|
29996
29953
|
}).json();
|
|
29997
29954
|
}
|
|
29998
|
-
async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by
|
|
29955
|
+
async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by } = {}, signal) {
|
|
29999
29956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/templates`, {
|
|
30000
29957
|
signal,
|
|
30001
29958
|
searchParams: buildSearchParams$3({
|
|
30002
29959
|
page,
|
|
30003
29960
|
per_page,
|
|
30004
29961
|
name,
|
|
30005
|
-
order_by
|
|
30006
|
-
archived
|
|
29962
|
+
order_by
|
|
30007
29963
|
})
|
|
30008
29964
|
}).json();
|
|
30009
29965
|
}
|
|
@@ -30087,9 +30043,6 @@ async function createRecurringProjectInstance(httpClient, organization_id, works
|
|
|
30087
30043
|
json: data
|
|
30088
30044
|
}).json();
|
|
30089
30045
|
}
|
|
30090
|
-
async function makeProjectPublic(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
30091
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/make-public`, { signal }).json();
|
|
30092
|
-
}
|
|
30093
30046
|
async function getProjectsMembers(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
30094
30047
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/members`, { signal }).json();
|
|
30095
30048
|
}
|
|
@@ -30173,7 +30126,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
30173
30126
|
}
|
|
30174
30127
|
//#endregion
|
|
30175
30128
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
30176
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
30129
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, creator_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_ghost_assignees, include_assignees, assignee_ghost_id, disable_aggregations, cf_filter } = {}, signal) {
|
|
30177
30130
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
30178
30131
|
signal,
|
|
30179
30132
|
searchParams: buildSearchParams$3({
|
|
@@ -30184,6 +30137,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
30184
30137
|
order_by,
|
|
30185
30138
|
status_id,
|
|
30186
30139
|
toggl_user_id,
|
|
30140
|
+
creator_id,
|
|
30187
30141
|
name,
|
|
30188
30142
|
has_time_entries,
|
|
30189
30143
|
has_time_blocks,
|
|
@@ -30288,23 +30242,24 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
|
|
|
30288
30242
|
})
|
|
30289
30243
|
}).json();
|
|
30290
30244
|
}
|
|
30291
|
-
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to,
|
|
30245
|
+
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, time_zone, hidden }, signal) {
|
|
30292
30246
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
30293
30247
|
signal,
|
|
30294
30248
|
searchParams: buildSearchParams$3({
|
|
30295
30249
|
date_from,
|
|
30296
30250
|
date_to,
|
|
30297
|
-
|
|
30251
|
+
time_zone,
|
|
30298
30252
|
hidden
|
|
30299
30253
|
})
|
|
30300
30254
|
}).json();
|
|
30301
30255
|
}
|
|
30302
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
30256
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, timezone, signal) {
|
|
30303
30257
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
30304
30258
|
signal,
|
|
30305
30259
|
searchParams: buildSearchParams$3({
|
|
30306
30260
|
date_from,
|
|
30307
|
-
date_to
|
|
30261
|
+
date_to,
|
|
30262
|
+
timezone
|
|
30308
30263
|
})
|
|
30309
30264
|
}).json();
|
|
30310
30265
|
}
|
|
@@ -30328,7 +30283,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
30328
30283
|
})
|
|
30329
30284
|
}).json();
|
|
30330
30285
|
}
|
|
30331
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates,
|
|
30286
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, creator_id, name, has_time_entries, has_time_blocks, has_dates, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
30332
30287
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
30333
30288
|
signal,
|
|
30334
30289
|
searchParams: buildSearchParams$3({
|
|
@@ -30337,11 +30292,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
30337
30292
|
order_by,
|
|
30338
30293
|
status_id,
|
|
30339
30294
|
toggl_user_id,
|
|
30295
|
+
creator_id,
|
|
30340
30296
|
name,
|
|
30341
30297
|
has_time_entries,
|
|
30342
30298
|
has_time_blocks,
|
|
30343
30299
|
has_dates,
|
|
30344
|
-
private: private_,
|
|
30345
30300
|
archived,
|
|
30346
30301
|
include_project_completed,
|
|
30347
30302
|
include_drafts,
|
|
@@ -30575,7 +30530,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
|
|
|
30575
30530
|
json: data
|
|
30576
30531
|
}).json();
|
|
30577
30532
|
}
|
|
30578
|
-
async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless
|
|
30533
|
+
async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless }, signal) {
|
|
30579
30534
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
30580
30535
|
signal,
|
|
30581
30536
|
searchParams: buildSearchParams$3({
|
|
@@ -30589,8 +30544,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
|
|
|
30589
30544
|
order_by,
|
|
30590
30545
|
archived,
|
|
30591
30546
|
time_block_id,
|
|
30592
|
-
include_taskless
|
|
30593
|
-
expand_calendar_event
|
|
30547
|
+
include_taskless
|
|
30594
30548
|
})
|
|
30595
30549
|
}).json();
|
|
30596
30550
|
}
|
|
@@ -30618,12 +30572,6 @@ async function bulkPartialUpdateTimeEntryWithOrg(httpClient, organization_id, wo
|
|
|
30618
30572
|
json: data
|
|
30619
30573
|
}).json();
|
|
30620
30574
|
}
|
|
30621
|
-
async function bulkEditTimeEntriesWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
30622
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk-edit`, {
|
|
30623
|
-
signal,
|
|
30624
|
-
json: data
|
|
30625
|
-
}).json();
|
|
30626
|
-
}
|
|
30627
30575
|
async function bulkRestoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, ids, signal) {
|
|
30628
30576
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/restore`, {
|
|
30629
30577
|
signal,
|
|
@@ -30642,7 +30590,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
30642
30590
|
json: data
|
|
30643
30591
|
}).json();
|
|
30644
30592
|
}
|
|
30645
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless
|
|
30593
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless }, signal) {
|
|
30646
30594
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
30647
30595
|
signal,
|
|
30648
30596
|
searchParams: buildSearchParams$3({
|
|
@@ -30653,8 +30601,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
30653
30601
|
type,
|
|
30654
30602
|
order_by,
|
|
30655
30603
|
archived,
|
|
30656
|
-
include_taskless
|
|
30657
|
-
expand_calendar_event
|
|
30604
|
+
include_taskless
|
|
30658
30605
|
})
|
|
30659
30606
|
}).json();
|
|
30660
30607
|
}
|
|
@@ -30790,7 +30737,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30790
30737
|
]))
|
|
30791
30738
|
});
|
|
30792
30739
|
//#endregion
|
|
30793
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30740
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30794
30741
|
async function getInvitations(httpClient, signal) {
|
|
30795
30742
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30796
30743
|
}
|
|
@@ -30807,7 +30754,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30807
30754
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30808
30755
|
}
|
|
30809
30756
|
//#endregion
|
|
30810
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30757
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30811
30758
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30812
30759
|
const searchParams = new URLSearchParams();
|
|
30813
30760
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30819,7 +30766,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30819
30766
|
return searchParams;
|
|
30820
30767
|
}
|
|
30821
30768
|
//#endregion
|
|
30822
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30769
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30823
30770
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30824
30771
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30825
30772
|
}
|
|
@@ -30833,7 +30780,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30833
30780
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30834
30781
|
}
|
|
30835
30782
|
//#endregion
|
|
30836
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30783
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30837
30784
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30838
30785
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30839
30786
|
}
|
|
@@ -30862,7 +30809,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30862
30809
|
});
|
|
30863
30810
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30864
30811
|
//#endregion
|
|
30865
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30812
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30866
30813
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30867
30814
|
function withResponseMeta(data, headers, status) {
|
|
30868
30815
|
if (!data) return data;
|
|
@@ -30889,7 +30836,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30889
30836
|
return searchParams;
|
|
30890
30837
|
}
|
|
30891
30838
|
//#endregion
|
|
30892
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30839
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30893
30840
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
30894
30841
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30895
30842
|
signal,
|
|
@@ -30898,12 +30845,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
30898
30845
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30899
30846
|
}
|
|
30900
30847
|
//#endregion
|
|
30901
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30848
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30902
30849
|
async function getStatus(httpClient, signal) {
|
|
30903
30850
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30904
30851
|
}
|
|
30905
30852
|
//#endregion
|
|
30906
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30853
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30907
30854
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30908
30855
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30909
30856
|
signal,
|
|
@@ -30931,7 +30878,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30931
30878
|
return response.json();
|
|
30932
30879
|
}
|
|
30933
30880
|
//#endregion
|
|
30934
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
30881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.70_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_441c0f03757207fd8f9f9ad7c69ceb10/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30935
30882
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30936
30883
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30937
30884
|
}
|
|
@@ -31085,8 +31032,8 @@ function parseOptionalInt(value) {
|
|
|
31085
31032
|
return Number.isFinite(n) ? n : void 0;
|
|
31086
31033
|
}
|
|
31087
31034
|
function toNumberArray(value) {
|
|
31088
|
-
const
|
|
31089
|
-
return
|
|
31035
|
+
const parsed = (Array.isArray(value) ? value : [value]).map(parseOptionalInt).filter((parsedValue) => parsedValue !== void 0);
|
|
31036
|
+
return parsed.length > 0 ? parsed : void 0;
|
|
31090
31037
|
}
|
|
31091
31038
|
function validationErrorMessage(issues) {
|
|
31092
31039
|
return issues.map((issue) => issue.message ?? "invalid").join("; ");
|
|
@@ -31284,16 +31231,17 @@ var FocusClient = class {
|
|
|
31284
31231
|
const page = parseOptionalInt(params.page);
|
|
31285
31232
|
const per_page = parseOptionalInt(params.per_page);
|
|
31286
31233
|
const project_id = toNumberArray(params.project_id);
|
|
31234
|
+
const tag_id = toNumberArray(params.tag_id);
|
|
31287
31235
|
const status_id = toNumberArray(params.status_id);
|
|
31288
31236
|
const parent_task_id = toNumberArray(params.parent_task_id);
|
|
31289
31237
|
const assigneeUserId = parseOptionalInt(params.assignee_user_id);
|
|
31290
31238
|
const assignee_user_id = assigneeUserId === void 0 ? void 0 : [assigneeUserId];
|
|
31291
|
-
const
|
|
31292
|
-
const priority = priorityValue === void 0 ? void 0 : [priorityValue];
|
|
31239
|
+
const priority = params.priority === void 0 ? void 0 : [params.priority];
|
|
31293
31240
|
const response = await this.run("listTasks", () => getTasksClassic(this.http, this.organizationIdNum, this.workspaceIdNum, {
|
|
31294
31241
|
page,
|
|
31295
31242
|
per_page,
|
|
31296
31243
|
project_id,
|
|
31244
|
+
tag_id,
|
|
31297
31245
|
status_id,
|
|
31298
31246
|
parent_task_id,
|
|
31299
31247
|
name: typeof params.name === "string" ? params.name : void 0,
|
|
@@ -32692,11 +32640,12 @@ function createAuthenticatedClientProxy() {
|
|
|
32692
32640
|
} });
|
|
32693
32641
|
}
|
|
32694
32642
|
//#endregion
|
|
32695
|
-
//#region ../operations/build/safety-
|
|
32643
|
+
//#region ../operations/build/safety-PA22Wppt.js
|
|
32696
32644
|
const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
|
|
32697
32645
|
const DATE_FIELD_RE = /^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2}))?$/;
|
|
32698
32646
|
const dateField = (description) => /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ regex(DATE_FIELD_RE, "must be YYYY-MM-DD or RFC3339 datetime (e.g. '2025-01-01' or '2025-01-01T00:00:00Z')"), /* @__PURE__ */ description$1(description));
|
|
32699
32647
|
const apiDateTimeString = /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoTimestamp());
|
|
32648
|
+
const tagIdFilterSchema = /* @__PURE__ */ union$1([/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ transform$1((tagId) => [tagId])), /* @__PURE__ */ pipe$2(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()), /* @__PURE__ */ minLength$1(1))]);
|
|
32700
32649
|
const timeBlockListSchema = /* @__PURE__ */ object$2({
|
|
32701
32650
|
date_from: dateField("Range start — date-only (e.g. '2025-01-01') or RFC3339 datetime. Date-only is expanded to T00:00:00Z."),
|
|
32702
32651
|
date_to: dateField("Range end — date-only (e.g. '2025-01-07') or RFC3339 datetime. Date-only is expanded to T23:59:59Z."),
|
|
@@ -32725,6 +32674,7 @@ const taskListSchema = /* @__PURE__ */ object$2({
|
|
|
32725
32674
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ description$1("Filter by task name (partial match)"))),
|
|
32726
32675
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by status ID"))),
|
|
32727
32676
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by project ID"))),
|
|
32677
|
+
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(tagIdFilterSchema, /* @__PURE__ */ description$1("Filter by tag IDs"))),
|
|
32728
32678
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ description$1("Filter by assignee user ID"))),
|
|
32729
32679
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ picklist$1([
|
|
32730
32680
|
"none",
|
|
@@ -34126,11 +34076,6 @@ function operationRequiresConfirmation(operation) {
|
|
|
34126
34076
|
return operation.destructive || operation.safety !== "read";
|
|
34127
34077
|
}
|
|
34128
34078
|
//#endregion
|
|
34129
|
-
//#region ../focus-queries/dist/attachments/requests.ts
|
|
34130
|
-
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
34131
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
|
|
34132
|
-
}
|
|
34133
|
-
//#endregion
|
|
34134
34079
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
34135
34080
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
34136
34081
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
@@ -34306,17 +34251,6 @@ async function capacityGetComputations(httpClient, organization_id, workspace_id
|
|
|
34306
34251
|
}).json();
|
|
34307
34252
|
}
|
|
34308
34253
|
//#endregion
|
|
34309
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
34310
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
34311
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
34312
|
-
}
|
|
34313
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
34314
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
34315
|
-
signal,
|
|
34316
|
-
json: data
|
|
34317
|
-
}).json();
|
|
34318
|
-
}
|
|
34319
|
-
//#endregion
|
|
34320
34254
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
34321
34255
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
34322
34256
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -34401,18 +34335,6 @@ async function createGoal(httpClient, organization_id, workspace_id, data, signa
|
|
|
34401
34335
|
json: data
|
|
34402
34336
|
}).json();
|
|
34403
34337
|
}
|
|
34404
|
-
async function reorderGoals(httpClient, organization_id, workspace_id, data, signal) {
|
|
34405
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/goals/positions`, {
|
|
34406
|
-
signal,
|
|
34407
|
-
json: data
|
|
34408
|
-
}).json();
|
|
34409
|
-
}
|
|
34410
|
-
async function previewGoalTrackedTime(httpClient, organization_id, workspace_id, data, signal) {
|
|
34411
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals/preview`, {
|
|
34412
|
-
signal,
|
|
34413
|
-
json: data
|
|
34414
|
-
}).json();
|
|
34415
|
-
}
|
|
34416
34338
|
async function getGoal(httpClient, organization_id, workspace_id, goal_id, signal) {
|
|
34417
34339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/goals/${goal_id}`, { signal }).json();
|
|
34418
34340
|
}
|
|
@@ -34651,18 +34573,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
34651
34573
|
async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
|
|
34652
34574
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
|
|
34653
34575
|
}
|
|
34654
|
-
async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
34655
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
34656
|
-
}
|
|
34657
|
-
async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
|
|
34658
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
|
|
34659
|
-
signal,
|
|
34660
|
-
json: data
|
|
34661
|
-
}).json();
|
|
34662
|
-
}
|
|
34663
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
34664
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
34665
|
-
}
|
|
34666
34576
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34667
34577
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
34668
34578
|
}
|
|
@@ -34732,49 +34642,12 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
|
|
|
34732
34642
|
}).json();
|
|
34733
34643
|
}
|
|
34734
34644
|
//#endregion
|
|
34735
|
-
//#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
|
|
34736
|
-
async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
|
|
34737
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
|
|
34738
|
-
signal,
|
|
34739
|
-
searchParams: buildSearchParams$3({ target_period_start })
|
|
34740
|
-
}).json();
|
|
34741
|
-
}
|
|
34742
|
-
async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34743
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
|
|
34744
|
-
}
|
|
34745
|
-
async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34746
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
34747
|
-
}
|
|
34748
|
-
async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34749
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
|
|
34750
|
-
}
|
|
34751
|
-
async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34752
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
|
|
34753
|
-
}
|
|
34754
|
-
async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34755
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
34756
|
-
}
|
|
34757
|
-
//#endregion
|
|
34758
34645
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
34759
|
-
async function
|
|
34760
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
34761
|
-
signal,
|
|
34762
|
-
json: data,
|
|
34763
|
-
searchParams: buildSearchParams$3({
|
|
34764
|
-
response_format,
|
|
34765
|
-
include_dicts
|
|
34766
|
-
})
|
|
34767
|
-
}).json();
|
|
34768
|
-
}
|
|
34769
|
-
async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false, xTogglReportExport } = {}, signal) {
|
|
34646
|
+
async function getFlexqData(httpClient, workspace_id, data, { include_dicts = false } = {}, signal) {
|
|
34770
34647
|
return await httpClient.post(`reports/workspaces/${workspace_id}/query`, {
|
|
34771
34648
|
signal,
|
|
34772
34649
|
json: data,
|
|
34773
|
-
|
|
34774
|
-
searchParams: buildSearchParams$3({
|
|
34775
|
-
response_format,
|
|
34776
|
-
include_dicts
|
|
34777
|
-
})
|
|
34650
|
+
searchParams: buildSearchParams$3({ include_dicts })
|
|
34778
34651
|
}).json();
|
|
34779
34652
|
}
|
|
34780
34653
|
async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
@@ -34843,9 +34716,6 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
|
34843
34716
|
async function getFeaturesUpsell(httpClient, organization_id, signal) {
|
|
34844
34717
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
|
|
34845
34718
|
}
|
|
34846
|
-
async function getSubscriptionPlans(httpClient, organization_id, signal) {
|
|
34847
|
-
return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
|
|
34848
|
-
}
|
|
34849
34719
|
async function getCurrentTrial(httpClient, organization_id, signal) {
|
|
34850
34720
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
|
|
34851
34721
|
}
|
|
@@ -34868,7 +34738,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
|
|
|
34868
34738
|
}
|
|
34869
34739
|
//#endregion
|
|
34870
34740
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
34871
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts,
|
|
34741
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_ghosts, min_days, tasks_per_group, include_group_totals, include_unassigned, include_drafts, page, per_page, order_by } = {}, signal) {
|
|
34872
34742
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
34873
34743
|
signal,
|
|
34874
34744
|
searchParams: buildSearchParams$3({
|
|
@@ -34892,10 +34762,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
34892
34762
|
private: private_,
|
|
34893
34763
|
exclude_empty,
|
|
34894
34764
|
include_ghosts,
|
|
34895
|
-
include_assignees,
|
|
34896
34765
|
min_days,
|
|
34766
|
+
tasks_per_group,
|
|
34767
|
+
include_group_totals,
|
|
34768
|
+
include_unassigned,
|
|
34897
34769
|
include_drafts,
|
|
34898
|
-
cf_filter,
|
|
34899
34770
|
page,
|
|
34900
34771
|
per_page,
|
|
34901
34772
|
order_by
|
|
@@ -35062,26 +34933,8 @@ async function discontinueTimesheetSetup(httpClient, organization_id, workspace_
|
|
|
35062
34933
|
json: data
|
|
35063
34934
|
}).json();
|
|
35064
34935
|
}
|
|
35065
|
-
async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id,
|
|
35066
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, {
|
|
35067
|
-
signal,
|
|
35068
|
-
searchParams: buildSearchParams$3({ include_discontinued })
|
|
35069
|
-
}).json();
|
|
35070
|
-
}
|
|
35071
|
-
async function addTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
35072
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
|
|
35073
|
-
}
|
|
35074
|
-
async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
35075
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
|
|
35076
|
-
}
|
|
35077
|
-
async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
|
|
35078
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
|
|
35079
|
-
signal,
|
|
35080
|
-
json: data
|
|
35081
|
-
}).json();
|
|
35082
|
-
}
|
|
35083
|
-
async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
35084
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
|
|
34936
|
+
async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, signal) {
|
|
34937
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, { signal }).json();
|
|
35085
34938
|
}
|
|
35086
34939
|
//#endregion
|
|
35087
34940
|
//#region ../focus-queries/dist/timesheets/requests.ts
|
|
@@ -35116,12 +34969,6 @@ async function bulkRequestChangesTimesheets(httpClient, organization_id, workspa
|
|
|
35116
34969
|
json: data
|
|
35117
34970
|
}).json();
|
|
35118
34971
|
}
|
|
35119
|
-
async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id, data, signal) {
|
|
35120
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/withdraw`, {
|
|
35121
|
-
signal,
|
|
35122
|
-
json: data
|
|
35123
|
-
}).json();
|
|
35124
|
-
}
|
|
35125
34972
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
35126
34973
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
35127
34974
|
}
|
|
@@ -35237,15 +35084,6 @@ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace
|
|
|
35237
35084
|
}
|
|
35238
35085
|
//#endregion
|
|
35239
35086
|
//#region ../focus-queries/dist/workspace-settings/requests.ts
|
|
35240
|
-
async function getWorkspaceCurrency(httpClient, workspace_id, signal) {
|
|
35241
|
-
return await httpClient.get(`workspaces/${workspace_id}/currency`, { signal }).json();
|
|
35242
|
-
}
|
|
35243
|
-
async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
35244
|
-
return await httpClient.patch(`workspaces/${workspace_id}/currency`, {
|
|
35245
|
-
signal,
|
|
35246
|
-
json: data
|
|
35247
|
-
}).json();
|
|
35248
|
-
}
|
|
35249
35087
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
35250
35088
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
35251
35089
|
}
|
|
@@ -35369,29 +35207,6 @@ const generatedFocusOperations = [
|
|
|
35369
35207
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
35370
35208
|
}
|
|
35371
35209
|
},
|
|
35372
|
-
{
|
|
35373
|
-
id: "focus.attachments.get-workspace-attachment-storage",
|
|
35374
|
-
family: "focus",
|
|
35375
|
-
resource: "attachments",
|
|
35376
|
-
action: "get-workspace-attachment-storage",
|
|
35377
|
-
title: "Get Workspace Attachment Storage Attachments",
|
|
35378
|
-
description: "Get Workspace Attachment Storage Attachments.",
|
|
35379
|
-
safety: "read",
|
|
35380
|
-
destructive: false,
|
|
35381
|
-
cli: {
|
|
35382
|
-
group: ["attachments"],
|
|
35383
|
-
command: "get-workspace-attachment-storage",
|
|
35384
|
-
interactive: "hidden"
|
|
35385
|
-
},
|
|
35386
|
-
mcp: { entityTool: "attachments" },
|
|
35387
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
35388
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceAttachmentStorage", () => callGeneratedRequest(getWorkspaceAttachmentStorage, [
|
|
35389
|
-
client.httpClient,
|
|
35390
|
-
client.organizationId,
|
|
35391
|
-
client.workspaceIdNumber,
|
|
35392
|
-
void 0
|
|
35393
|
-
]))
|
|
35394
|
-
},
|
|
35395
35210
|
{
|
|
35396
35211
|
id: "focus.audit-log.list",
|
|
35397
35212
|
family: "focus",
|
|
@@ -35470,54 +35285,6 @@ const generatedFocusOperations = [
|
|
|
35470
35285
|
]));
|
|
35471
35286
|
}
|
|
35472
35287
|
},
|
|
35473
|
-
{
|
|
35474
|
-
id: "focus.capacities.settings-list",
|
|
35475
|
-
family: "focus",
|
|
35476
|
-
resource: "capacities",
|
|
35477
|
-
action: "settings-list",
|
|
35478
|
-
title: "Settings List Capacities",
|
|
35479
|
-
description: "Settings List Capacities.",
|
|
35480
|
-
safety: "read",
|
|
35481
|
-
destructive: false,
|
|
35482
|
-
cli: {
|
|
35483
|
-
group: ["capacities", "settings"],
|
|
35484
|
-
command: "list",
|
|
35485
|
-
interactive: "hidden"
|
|
35486
|
-
},
|
|
35487
|
-
mcp: { entityTool: "capacities" },
|
|
35488
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
35489
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
35490
|
-
client.httpClient,
|
|
35491
|
-
client.workspaceIdNumber,
|
|
35492
|
-
void 0
|
|
35493
|
-
]))
|
|
35494
|
-
},
|
|
35495
|
-
{
|
|
35496
|
-
id: "focus.capacities.settings-update",
|
|
35497
|
-
family: "focus",
|
|
35498
|
-
resource: "capacities",
|
|
35499
|
-
action: "settings-update",
|
|
35500
|
-
title: "Settings Update Capacities",
|
|
35501
|
-
description: "Settings Update Capacities.",
|
|
35502
|
-
safety: "update",
|
|
35503
|
-
destructive: false,
|
|
35504
|
-
cli: {
|
|
35505
|
-
group: ["capacities", "settings"],
|
|
35506
|
-
command: "update",
|
|
35507
|
-
interactive: "default"
|
|
35508
|
-
},
|
|
35509
|
-
mcp: { entityTool: "capacities" },
|
|
35510
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
35511
|
-
execute: (input, { client }) => {
|
|
35512
|
-
const data = input;
|
|
35513
|
-
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
35514
|
-
client.httpClient,
|
|
35515
|
-
client.workspaceIdNumber,
|
|
35516
|
-
data.payload ?? data.data ?? data,
|
|
35517
|
-
void 0
|
|
35518
|
-
]));
|
|
35519
|
-
}
|
|
35520
|
-
},
|
|
35521
35288
|
{
|
|
35522
35289
|
id: "focus.clients.create",
|
|
35523
35290
|
family: "focus",
|
|
@@ -35749,14 +35516,12 @@ const generatedFocusOperations = [
|
|
|
35749
35516
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
35750
35517
|
task: /* @__PURE__ */ looseObject({
|
|
35751
35518
|
name: /* @__PURE__ */ string$1(),
|
|
35752
|
-
allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
|
|
35753
35519
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
35754
35520
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
35755
35521
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35756
35522
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
35757
35523
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35758
35524
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
35759
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
35760
35525
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35761
35526
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35762
35527
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -35778,14 +35543,12 @@ const generatedFocusOperations = [
|
|
|
35778
35543
|
}),
|
|
35779
35544
|
subtasks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
35780
35545
|
name: /* @__PURE__ */ string$1(),
|
|
35781
|
-
allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
|
|
35782
35546
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
35783
35547
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
35784
35548
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35785
35549
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
35786
35550
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35787
35551
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
35788
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
35789
35552
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35790
35553
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35791
35554
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -36190,7 +35953,11 @@ const generatedFocusOperations = [
|
|
|
36190
35953
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
36191
35954
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36192
35955
|
icon: /* @__PURE__ */ string$1(),
|
|
36193
|
-
monthly_anchor: /* @__PURE__ */ picklist$1([
|
|
35956
|
+
monthly_anchor: /* @__PURE__ */ picklist$1([
|
|
35957
|
+
"calendar",
|
|
35958
|
+
"month_end",
|
|
35959
|
+
"first_workday"
|
|
35960
|
+
]),
|
|
36194
35961
|
name: /* @__PURE__ */ string$1(),
|
|
36195
35962
|
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36196
35963
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
@@ -36202,10 +35969,7 @@ const generatedFocusOperations = [
|
|
|
36202
35969
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36203
35970
|
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36204
35971
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
36205
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
36206
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36207
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
36208
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
35972
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
36209
35973
|
}) }),
|
|
36210
35974
|
execute: (input, { client }) => {
|
|
36211
35975
|
const data = input;
|
|
@@ -36295,81 +36059,6 @@ const generatedFocusOperations = [
|
|
|
36295
36059
|
void 0
|
|
36296
36060
|
]))
|
|
36297
36061
|
},
|
|
36298
|
-
{
|
|
36299
|
-
id: "focus.goals.preview-goal-tracked-time",
|
|
36300
|
-
family: "focus",
|
|
36301
|
-
resource: "goals",
|
|
36302
|
-
action: "preview-goal-tracked-time",
|
|
36303
|
-
title: "Preview Goal Tracked Time Goals",
|
|
36304
|
-
description: "Preview Goal Tracked Time Goals.",
|
|
36305
|
-
safety: "read",
|
|
36306
|
-
destructive: false,
|
|
36307
|
-
cli: {
|
|
36308
|
-
group: ["goals"],
|
|
36309
|
-
command: "preview-goal-tracked-time",
|
|
36310
|
-
interactive: "available"
|
|
36311
|
-
},
|
|
36312
|
-
mcp: { entityTool: "goals" },
|
|
36313
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
36314
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
36315
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
36316
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36317
|
-
icon: /* @__PURE__ */ string$1(),
|
|
36318
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
36319
|
-
name: /* @__PURE__ */ string$1(),
|
|
36320
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36321
|
-
recurrence: /* @__PURE__ */ picklist$1([
|
|
36322
|
-
"daily",
|
|
36323
|
-
"weekly",
|
|
36324
|
-
"daily_workdays",
|
|
36325
|
-
"monthly"
|
|
36326
|
-
]),
|
|
36327
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
36328
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36329
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
36330
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36331
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
36332
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
36333
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
36334
|
-
}) }),
|
|
36335
|
-
execute: (input, { client }) => {
|
|
36336
|
-
const data = input;
|
|
36337
|
-
return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
|
|
36338
|
-
client.httpClient,
|
|
36339
|
-
client.organizationId,
|
|
36340
|
-
client.workspaceIdNumber,
|
|
36341
|
-
data.payload ?? data.data ?? data,
|
|
36342
|
-
void 0
|
|
36343
|
-
]));
|
|
36344
|
-
}
|
|
36345
|
-
},
|
|
36346
|
-
{
|
|
36347
|
-
id: "focus.goals.reorder",
|
|
36348
|
-
family: "focus",
|
|
36349
|
-
resource: "goals",
|
|
36350
|
-
action: "reorder",
|
|
36351
|
-
title: "Reorder Goals",
|
|
36352
|
-
description: "Reorder Goals.",
|
|
36353
|
-
safety: "read",
|
|
36354
|
-
destructive: false,
|
|
36355
|
-
cli: {
|
|
36356
|
-
group: ["goals"],
|
|
36357
|
-
command: "reorder",
|
|
36358
|
-
interactive: "available"
|
|
36359
|
-
},
|
|
36360
|
-
mcp: { entityTool: "goals" },
|
|
36361
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ goal_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
36362
|
-
execute: (input, { client }) => {
|
|
36363
|
-
const data = input;
|
|
36364
|
-
return client.runGeneratedRequest("reorderGoals", () => callGeneratedRequest(reorderGoals, [
|
|
36365
|
-
client.httpClient,
|
|
36366
|
-
client.organizationId,
|
|
36367
|
-
client.workspaceIdNumber,
|
|
36368
|
-
data.payload ?? data.data ?? data,
|
|
36369
|
-
void 0
|
|
36370
|
-
]));
|
|
36371
|
-
}
|
|
36372
|
-
},
|
|
36373
36062
|
{
|
|
36374
36063
|
id: "focus.goals.update",
|
|
36375
36064
|
family: "focus",
|
|
@@ -36715,44 +36404,18 @@ const generatedFocusOperations = [
|
|
|
36715
36404
|
}
|
|
36716
36405
|
},
|
|
36717
36406
|
{
|
|
36718
|
-
id: "focus.organization.get-
|
|
36407
|
+
id: "focus.organization.get-my-groups",
|
|
36719
36408
|
family: "focus",
|
|
36720
36409
|
resource: "organization",
|
|
36721
|
-
action: "get-
|
|
36722
|
-
title: "Get
|
|
36723
|
-
description: "Get
|
|
36410
|
+
action: "get-my-groups",
|
|
36411
|
+
title: "Get My Groups Organization",
|
|
36412
|
+
description: "Get My Groups Organization.",
|
|
36724
36413
|
safety: "read",
|
|
36725
36414
|
destructive: false,
|
|
36726
36415
|
cli: {
|
|
36727
36416
|
group: ["organization"],
|
|
36728
|
-
command: "get-
|
|
36729
|
-
interactive: "
|
|
36730
|
-
},
|
|
36731
|
-
mcp: { entityTool: "organization" },
|
|
36732
|
-
inputSchema: /* @__PURE__ */ looseObject({ workspace_id: /* @__PURE__ */ number$2() }),
|
|
36733
|
-
execute: (input, { client }) => {
|
|
36734
|
-
const data = input;
|
|
36735
|
-
return client.runGeneratedRequest("getOrganizationMemberTags", () => callGeneratedRequest(getOrganizationMemberTags, [
|
|
36736
|
-
client.httpClient,
|
|
36737
|
-
client.organizationId,
|
|
36738
|
-
data,
|
|
36739
|
-
void 0
|
|
36740
|
-
]));
|
|
36741
|
-
}
|
|
36742
|
-
},
|
|
36743
|
-
{
|
|
36744
|
-
id: "focus.organization.get-my-groups",
|
|
36745
|
-
family: "focus",
|
|
36746
|
-
resource: "organization",
|
|
36747
|
-
action: "get-my-groups",
|
|
36748
|
-
title: "Get My Groups Organization",
|
|
36749
|
-
description: "Get My Groups Organization.",
|
|
36750
|
-
safety: "read",
|
|
36751
|
-
destructive: false,
|
|
36752
|
-
cli: {
|
|
36753
|
-
group: ["organization"],
|
|
36754
|
-
command: "get-my-groups",
|
|
36755
|
-
interactive: "hidden"
|
|
36417
|
+
command: "get-my-groups",
|
|
36418
|
+
interactive: "hidden"
|
|
36756
36419
|
},
|
|
36757
36420
|
mcp: { entityTool: "organization" },
|
|
36758
36421
|
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
@@ -36800,13 +36463,11 @@ const generatedFocusOperations = [
|
|
|
36800
36463
|
},
|
|
36801
36464
|
mcp: { entityTool: "organization" },
|
|
36802
36465
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
36803
|
-
active_members_only: /* @__PURE__ */ unknown$1(),
|
|
36804
36466
|
filter: /* @__PURE__ */ unknown$1(),
|
|
36805
36467
|
group_ids: /* @__PURE__ */ unknown$1(),
|
|
36806
36468
|
organization_user_id: /* @__PURE__ */ number$2(),
|
|
36807
36469
|
page: /* @__PURE__ */ number$2(),
|
|
36808
36470
|
per_page: /* @__PURE__ */ unknown$1(),
|
|
36809
|
-
query: /* @__PURE__ */ unknown$1(),
|
|
36810
36471
|
sort_dir: /* @__PURE__ */ unknown$1(),
|
|
36811
36472
|
workspace_id: /* @__PURE__ */ number$2()
|
|
36812
36473
|
}),
|
|
@@ -37622,7 +37283,6 @@ const generatedFocusOperations = [
|
|
|
37622
37283
|
},
|
|
37623
37284
|
mcp: { entityTool: "projects" },
|
|
37624
37285
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
37625
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
37626
37286
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
37627
37287
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
37628
37288
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -37777,33 +37437,6 @@ const generatedFocusOperations = [
|
|
|
37777
37437
|
return client.listProjects(data);
|
|
37778
37438
|
}
|
|
37779
37439
|
},
|
|
37780
|
-
{
|
|
37781
|
-
id: "focus.projects.make-project-public",
|
|
37782
|
-
family: "focus",
|
|
37783
|
-
resource: "projects",
|
|
37784
|
-
action: "make-project-public",
|
|
37785
|
-
title: "Make Project Public Projects",
|
|
37786
|
-
description: "Make Project Public Projects.",
|
|
37787
|
-
safety: "read",
|
|
37788
|
-
destructive: false,
|
|
37789
|
-
cli: {
|
|
37790
|
-
group: ["projects"],
|
|
37791
|
-
command: "make-project-public",
|
|
37792
|
-
interactive: "available"
|
|
37793
|
-
},
|
|
37794
|
-
mcp: { entityTool: "projects" },
|
|
37795
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
37796
|
-
execute: (input, { client }) => {
|
|
37797
|
-
const data = input;
|
|
37798
|
-
return client.runGeneratedRequest("makeProjectPublic", () => callGeneratedRequest(makeProjectPublic, [
|
|
37799
|
-
client.httpClient,
|
|
37800
|
-
client.organizationId,
|
|
37801
|
-
client.workspaceIdNumber,
|
|
37802
|
-
data.project_id,
|
|
37803
|
-
void 0
|
|
37804
|
-
]));
|
|
37805
|
-
}
|
|
37806
|
-
},
|
|
37807
37440
|
{
|
|
37808
37441
|
id: "focus.projects.margin-targets-clear",
|
|
37809
37442
|
family: "focus",
|
|
@@ -37831,29 +37464,6 @@ const generatedFocusOperations = [
|
|
|
37831
37464
|
]));
|
|
37832
37465
|
}
|
|
37833
37466
|
},
|
|
37834
|
-
{
|
|
37835
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
37836
|
-
family: "focus",
|
|
37837
|
-
resource: "projects",
|
|
37838
|
-
action: "margin-targets-clear-workspace",
|
|
37839
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
37840
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
37841
|
-
safety: "delete",
|
|
37842
|
-
destructive: true,
|
|
37843
|
-
cli: {
|
|
37844
|
-
group: ["projects", "margin-targets"],
|
|
37845
|
-
command: "clear-workspace",
|
|
37846
|
-
interactive: "default"
|
|
37847
|
-
},
|
|
37848
|
-
mcp: { entityTool: "projects" },
|
|
37849
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
37850
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
37851
|
-
client.httpClient,
|
|
37852
|
-
client.organizationId,
|
|
37853
|
-
client.workspaceIdNumber,
|
|
37854
|
-
void 0
|
|
37855
|
-
]))
|
|
37856
|
-
},
|
|
37857
37467
|
{
|
|
37858
37468
|
id: "focus.projects.margin-targets-get",
|
|
37859
37469
|
family: "focus",
|
|
@@ -37881,29 +37491,6 @@ const generatedFocusOperations = [
|
|
|
37881
37491
|
]));
|
|
37882
37492
|
}
|
|
37883
37493
|
},
|
|
37884
|
-
{
|
|
37885
|
-
id: "focus.projects.margin-targets-get-workspace",
|
|
37886
|
-
family: "focus",
|
|
37887
|
-
resource: "projects",
|
|
37888
|
-
action: "margin-targets-get-workspace",
|
|
37889
|
-
title: "Margin Targets Get Workspace Projects",
|
|
37890
|
-
description: "Margin Targets Get Workspace Projects.",
|
|
37891
|
-
safety: "read",
|
|
37892
|
-
destructive: false,
|
|
37893
|
-
cli: {
|
|
37894
|
-
group: ["projects", "margin-targets"],
|
|
37895
|
-
command: "get-workspace",
|
|
37896
|
-
interactive: "hidden"
|
|
37897
|
-
},
|
|
37898
|
-
mcp: { entityTool: "projects" },
|
|
37899
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
37900
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
|
|
37901
|
-
client.httpClient,
|
|
37902
|
-
client.organizationId,
|
|
37903
|
-
client.workspaceIdNumber,
|
|
37904
|
-
void 0
|
|
37905
|
-
]))
|
|
37906
|
-
},
|
|
37907
37494
|
{
|
|
37908
37495
|
id: "focus.projects.margin-targets-list",
|
|
37909
37496
|
family: "focus",
|
|
@@ -37958,33 +37545,6 @@ const generatedFocusOperations = [
|
|
|
37958
37545
|
]));
|
|
37959
37546
|
}
|
|
37960
37547
|
},
|
|
37961
|
-
{
|
|
37962
|
-
id: "focus.projects.margin-targets-set-workspace",
|
|
37963
|
-
family: "focus",
|
|
37964
|
-
resource: "projects",
|
|
37965
|
-
action: "margin-targets-set-workspace",
|
|
37966
|
-
title: "Margin Targets Set Workspace Projects",
|
|
37967
|
-
description: "Margin Targets Set Workspace Projects.",
|
|
37968
|
-
safety: "read",
|
|
37969
|
-
destructive: false,
|
|
37970
|
-
cli: {
|
|
37971
|
-
group: ["projects", "margin-targets"],
|
|
37972
|
-
command: "set-workspace",
|
|
37973
|
-
interactive: "available"
|
|
37974
|
-
},
|
|
37975
|
-
mcp: { entityTool: "projects" },
|
|
37976
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
|
|
37977
|
-
execute: (input, { client }) => {
|
|
37978
|
-
const data = input;
|
|
37979
|
-
return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
|
|
37980
|
-
client.httpClient,
|
|
37981
|
-
client.organizationId,
|
|
37982
|
-
client.workspaceIdNumber,
|
|
37983
|
-
data.payload ?? data.data ?? data,
|
|
37984
|
-
void 0
|
|
37985
|
-
]));
|
|
37986
|
-
}
|
|
37987
|
-
},
|
|
37988
37548
|
{
|
|
37989
37549
|
id: "focus.projects.pin",
|
|
37990
37550
|
family: "focus",
|
|
@@ -39772,172 +39332,6 @@ const generatedFocusOperations = [
|
|
|
39772
39332
|
]));
|
|
39773
39333
|
}
|
|
39774
39334
|
},
|
|
39775
|
-
{
|
|
39776
|
-
id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
|
|
39777
|
-
family: "focus",
|
|
39778
|
-
resource: "recurring-budget-suggestions",
|
|
39779
|
-
action: "accept-arecurring-project-budget-suggestion",
|
|
39780
|
-
title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39781
|
-
description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39782
|
-
safety: "read",
|
|
39783
|
-
destructive: false,
|
|
39784
|
-
cli: {
|
|
39785
|
-
group: ["recurring-budget-suggestions"],
|
|
39786
|
-
command: "accept-arecurring-project-budget-suggestion",
|
|
39787
|
-
interactive: "available"
|
|
39788
|
-
},
|
|
39789
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39790
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39791
|
-
execute: (input, { client }) => {
|
|
39792
|
-
const data = input;
|
|
39793
|
-
return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
|
|
39794
|
-
client.httpClient,
|
|
39795
|
-
client.organizationId,
|
|
39796
|
-
client.workspaceIdNumber,
|
|
39797
|
-
data.project_id,
|
|
39798
|
-
void 0
|
|
39799
|
-
]));
|
|
39800
|
-
}
|
|
39801
|
-
},
|
|
39802
|
-
{
|
|
39803
|
-
id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
|
|
39804
|
-
family: "focus",
|
|
39805
|
-
resource: "recurring-budget-suggestions",
|
|
39806
|
-
action: "accept-atemplate-estimate-suggestion",
|
|
39807
|
-
title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
39808
|
-
description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
39809
|
-
safety: "read",
|
|
39810
|
-
destructive: false,
|
|
39811
|
-
cli: {
|
|
39812
|
-
group: ["recurring-budget-suggestions"],
|
|
39813
|
-
command: "accept-atemplate-estimate-suggestion",
|
|
39814
|
-
interactive: "available"
|
|
39815
|
-
},
|
|
39816
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39817
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39818
|
-
execute: (input, { client }) => {
|
|
39819
|
-
const data = input;
|
|
39820
|
-
return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
|
|
39821
|
-
client.httpClient,
|
|
39822
|
-
client.organizationId,
|
|
39823
|
-
client.workspaceIdNumber,
|
|
39824
|
-
data.project_id,
|
|
39825
|
-
void 0
|
|
39826
|
-
]));
|
|
39827
|
-
}
|
|
39828
|
-
},
|
|
39829
|
-
{
|
|
39830
|
-
id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
|
|
39831
|
-
family: "focus",
|
|
39832
|
-
resource: "recurring-budget-suggestions",
|
|
39833
|
-
action: "dismiss-arecurring-project-budget-suggestion",
|
|
39834
|
-
title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39835
|
-
description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39836
|
-
safety: "read",
|
|
39837
|
-
destructive: false,
|
|
39838
|
-
cli: {
|
|
39839
|
-
group: ["recurring-budget-suggestions"],
|
|
39840
|
-
command: "dismiss-arecurring-project-budget-suggestion",
|
|
39841
|
-
interactive: "available"
|
|
39842
|
-
},
|
|
39843
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39844
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39845
|
-
execute: (input, { client }) => {
|
|
39846
|
-
const data = input;
|
|
39847
|
-
return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
|
|
39848
|
-
client.httpClient,
|
|
39849
|
-
client.organizationId,
|
|
39850
|
-
client.workspaceIdNumber,
|
|
39851
|
-
data.project_id,
|
|
39852
|
-
void 0
|
|
39853
|
-
]));
|
|
39854
|
-
}
|
|
39855
|
-
},
|
|
39856
|
-
{
|
|
39857
|
-
id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
|
|
39858
|
-
family: "focus",
|
|
39859
|
-
resource: "recurring-budget-suggestions",
|
|
39860
|
-
action: "dismiss-atemplate-estimate-suggestion",
|
|
39861
|
-
title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
39862
|
-
description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
39863
|
-
safety: "read",
|
|
39864
|
-
destructive: false,
|
|
39865
|
-
cli: {
|
|
39866
|
-
group: ["recurring-budget-suggestions"],
|
|
39867
|
-
command: "dismiss-atemplate-estimate-suggestion",
|
|
39868
|
-
interactive: "available"
|
|
39869
|
-
},
|
|
39870
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39871
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39872
|
-
execute: (input, { client }) => {
|
|
39873
|
-
const data = input;
|
|
39874
|
-
return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
|
|
39875
|
-
client.httpClient,
|
|
39876
|
-
client.organizationId,
|
|
39877
|
-
client.workspaceIdNumber,
|
|
39878
|
-
data.project_id,
|
|
39879
|
-
void 0
|
|
39880
|
-
]));
|
|
39881
|
-
}
|
|
39882
|
-
},
|
|
39883
|
-
{
|
|
39884
|
-
id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
|
|
39885
|
-
family: "focus",
|
|
39886
|
-
resource: "recurring-budget-suggestions",
|
|
39887
|
-
action: "get-recurring-project-budget-suggestion",
|
|
39888
|
-
title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39889
|
-
description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39890
|
-
safety: "read",
|
|
39891
|
-
destructive: false,
|
|
39892
|
-
cli: {
|
|
39893
|
-
group: ["recurring-budget-suggestions"],
|
|
39894
|
-
command: "get-recurring-project-budget-suggestion",
|
|
39895
|
-
interactive: "hidden"
|
|
39896
|
-
},
|
|
39897
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39898
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
39899
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
39900
|
-
target_period_start: /* @__PURE__ */ unknown$1()
|
|
39901
|
-
}),
|
|
39902
|
-
execute: (input, { client }) => {
|
|
39903
|
-
const data = input;
|
|
39904
|
-
return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
|
|
39905
|
-
client.httpClient,
|
|
39906
|
-
client.organizationId,
|
|
39907
|
-
client.workspaceIdNumber,
|
|
39908
|
-
data.project_id,
|
|
39909
|
-
data,
|
|
39910
|
-
void 0
|
|
39911
|
-
]));
|
|
39912
|
-
}
|
|
39913
|
-
},
|
|
39914
|
-
{
|
|
39915
|
-
id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
|
|
39916
|
-
family: "focus",
|
|
39917
|
-
resource: "recurring-budget-suggestions",
|
|
39918
|
-
action: "get-template-estimate-suggestion",
|
|
39919
|
-
title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
|
|
39920
|
-
description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
|
|
39921
|
-
safety: "read",
|
|
39922
|
-
destructive: false,
|
|
39923
|
-
cli: {
|
|
39924
|
-
group: ["recurring-budget-suggestions"],
|
|
39925
|
-
command: "get-template-estimate-suggestion",
|
|
39926
|
-
interactive: "available"
|
|
39927
|
-
},
|
|
39928
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39929
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39930
|
-
execute: (input, { client }) => {
|
|
39931
|
-
const data = input;
|
|
39932
|
-
return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
|
|
39933
|
-
client.httpClient,
|
|
39934
|
-
client.organizationId,
|
|
39935
|
-
client.workspaceIdNumber,
|
|
39936
|
-
data.project_id,
|
|
39937
|
-
void 0
|
|
39938
|
-
]));
|
|
39939
|
-
}
|
|
39940
|
-
},
|
|
39941
39335
|
{
|
|
39942
39336
|
id: "focus.reports.get-flexq-data",
|
|
39943
39337
|
family: "focus",
|
|
@@ -39953,53 +39347,49 @@ const generatedFocusOperations = [
|
|
|
39953
39347
|
interactive: "hidden"
|
|
39954
39348
|
},
|
|
39955
39349
|
mcp: { entityTool: "reports" },
|
|
39956
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
39960
|
-
function: /* @__PURE__ */ string$1(),
|
|
39961
|
-
property: /* @__PURE__ */ string$1()
|
|
39962
|
-
}),
|
|
39963
|
-
operator: /* @__PURE__ */ string$1(),
|
|
39964
|
-
property: /* @__PURE__ */ string$1()
|
|
39965
|
-
})),
|
|
39966
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39350
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
39351
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39352
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
39967
39353
|
function: /* @__PURE__ */ string$1(),
|
|
39968
39354
|
property: /* @__PURE__ */ string$1()
|
|
39969
|
-
})),
|
|
39970
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
39971
|
-
currency: /* @__PURE__ */ string$1(),
|
|
39972
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39973
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
39974
|
-
operator: /* @__PURE__ */ string$1(),
|
|
39975
|
-
property: /* @__PURE__ */ string$1()
|
|
39976
|
-
})),
|
|
39977
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39978
|
-
property: /* @__PURE__ */ string$1(),
|
|
39979
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
39980
|
-
})),
|
|
39981
|
-
limit: /* @__PURE__ */ number$2(),
|
|
39982
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39983
|
-
direction: /* @__PURE__ */ string$1(),
|
|
39984
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
39985
|
-
property: /* @__PURE__ */ string$1()
|
|
39986
|
-
})),
|
|
39987
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
39988
|
-
page: /* @__PURE__ */ number$2(),
|
|
39989
|
-
per_page: /* @__PURE__ */ number$2()
|
|
39990
|
-
}),
|
|
39991
|
-
period: /* @__PURE__ */ looseObject({
|
|
39992
|
-
from: /* @__PURE__ */ string$1(),
|
|
39993
|
-
preset: /* @__PURE__ */ string$1(),
|
|
39994
|
-
to: /* @__PURE__ */ string$1()
|
|
39995
39355
|
}),
|
|
39996
|
-
|
|
39997
|
-
|
|
39998
|
-
|
|
39999
|
-
|
|
39356
|
+
operator: /* @__PURE__ */ string$1(),
|
|
39357
|
+
property: /* @__PURE__ */ string$1()
|
|
39358
|
+
})),
|
|
39359
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39360
|
+
function: /* @__PURE__ */ string$1(),
|
|
39361
|
+
property: /* @__PURE__ */ string$1()
|
|
39362
|
+
})),
|
|
39363
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
39364
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39365
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
39366
|
+
operator: /* @__PURE__ */ string$1(),
|
|
39367
|
+
property: /* @__PURE__ */ string$1()
|
|
39368
|
+
})),
|
|
39369
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39370
|
+
property: /* @__PURE__ */ string$1(),
|
|
39371
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
39372
|
+
})),
|
|
39373
|
+
limit: /* @__PURE__ */ number$2(),
|
|
39374
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39375
|
+
direction: /* @__PURE__ */ string$1(),
|
|
39376
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
39377
|
+
property: /* @__PURE__ */ string$1()
|
|
39378
|
+
})),
|
|
39379
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
39380
|
+
page: /* @__PURE__ */ number$2(),
|
|
39381
|
+
per_page: /* @__PURE__ */ number$2()
|
|
40000
39382
|
}),
|
|
40001
|
-
|
|
40002
|
-
|
|
39383
|
+
period: /* @__PURE__ */ looseObject({
|
|
39384
|
+
from: /* @__PURE__ */ string$1(),
|
|
39385
|
+
preset: /* @__PURE__ */ string$1(),
|
|
39386
|
+
to: /* @__PURE__ */ string$1()
|
|
39387
|
+
}),
|
|
39388
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
39389
|
+
name: /* @__PURE__ */ string$1(),
|
|
39390
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
39391
|
+
}))
|
|
39392
|
+
}) }),
|
|
40003
39393
|
execute: (input, { client }) => {
|
|
40004
39394
|
const data = input;
|
|
40005
39395
|
return client.runGeneratedRequest("getFlexqData", () => callGeneratedRequest(getFlexqData, [
|
|
@@ -40026,88 +39416,13 @@ const generatedFocusOperations = [
|
|
|
40026
39416
|
interactive: "hidden"
|
|
40027
39417
|
},
|
|
40028
39418
|
mcp: { entityTool: "reports" },
|
|
40029
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
40030
|
-
execute: (input, { client }) => {
|
|
40031
|
-
const data = input;
|
|
40032
|
-
return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
|
|
40033
|
-
client.httpClient,
|
|
40034
|
-
client.workspaceIdNumber,
|
|
40035
|
-
data.payload ?? data.data ?? data,
|
|
40036
|
-
void 0
|
|
40037
|
-
]));
|
|
40038
|
-
}
|
|
40039
|
-
},
|
|
40040
|
-
{
|
|
40041
|
-
id: "focus.reports.get-profitability",
|
|
40042
|
-
family: "focus",
|
|
40043
|
-
resource: "reports",
|
|
40044
|
-
action: "get-profitability",
|
|
40045
|
-
title: "Get Profitability Reports",
|
|
40046
|
-
description: "Get Profitability Reports.",
|
|
40047
|
-
safety: "read",
|
|
40048
|
-
destructive: false,
|
|
40049
|
-
cli: {
|
|
40050
|
-
group: ["reports"],
|
|
40051
|
-
command: "get-profitability",
|
|
40052
|
-
interactive: "hidden"
|
|
40053
|
-
},
|
|
40054
|
-
mcp: { entityTool: "reports" },
|
|
40055
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
40056
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40057
|
-
payload: /* @__PURE__ */ looseObject({
|
|
40058
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40059
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
40060
|
-
function: /* @__PURE__ */ string$1(),
|
|
40061
|
-
property: /* @__PURE__ */ string$1()
|
|
40062
|
-
}),
|
|
40063
|
-
operator: /* @__PURE__ */ string$1(),
|
|
40064
|
-
property: /* @__PURE__ */ string$1()
|
|
40065
|
-
})),
|
|
40066
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40067
|
-
function: /* @__PURE__ */ string$1(),
|
|
40068
|
-
property: /* @__PURE__ */ string$1()
|
|
40069
|
-
})),
|
|
40070
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
40071
|
-
currency: /* @__PURE__ */ string$1(),
|
|
40072
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40073
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
40074
|
-
operator: /* @__PURE__ */ string$1(),
|
|
40075
|
-
property: /* @__PURE__ */ string$1()
|
|
40076
|
-
})),
|
|
40077
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40078
|
-
property: /* @__PURE__ */ string$1(),
|
|
40079
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
40080
|
-
})),
|
|
40081
|
-
limit: /* @__PURE__ */ number$2(),
|
|
40082
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40083
|
-
direction: /* @__PURE__ */ string$1(),
|
|
40084
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
40085
|
-
property: /* @__PURE__ */ string$1()
|
|
40086
|
-
})),
|
|
40087
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
40088
|
-
page: /* @__PURE__ */ number$2(),
|
|
40089
|
-
per_page: /* @__PURE__ */ number$2()
|
|
40090
|
-
}),
|
|
40091
|
-
period: /* @__PURE__ */ looseObject({
|
|
40092
|
-
from: /* @__PURE__ */ string$1(),
|
|
40093
|
-
preset: /* @__PURE__ */ string$1(),
|
|
40094
|
-
to: /* @__PURE__ */ string$1()
|
|
40095
|
-
}),
|
|
40096
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40097
|
-
name: /* @__PURE__ */ string$1(),
|
|
40098
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
40099
|
-
}))
|
|
40100
|
-
}),
|
|
40101
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
40102
|
-
}),
|
|
39419
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
40103
39420
|
execute: (input, { client }) => {
|
|
40104
39421
|
const data = input;
|
|
40105
|
-
return client.runGeneratedRequest("
|
|
39422
|
+
return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
|
|
40106
39423
|
client.httpClient,
|
|
40107
39424
|
client.workspaceIdNumber,
|
|
40108
39425
|
data.payload ?? data.data ?? data,
|
|
40109
|
-
data.response_format,
|
|
40110
|
-
data.include_dicts,
|
|
40111
39426
|
void 0
|
|
40112
39427
|
]));
|
|
40113
39428
|
}
|
|
@@ -40141,7 +39456,6 @@ const generatedFocusOperations = [
|
|
|
40141
39456
|
property: /* @__PURE__ */ string$1()
|
|
40142
39457
|
})),
|
|
40143
39458
|
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
40144
|
-
currency: /* @__PURE__ */ string$1(),
|
|
40145
39459
|
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
40146
39460
|
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
40147
39461
|
operator: /* @__PURE__ */ string$1(),
|
|
@@ -40209,12 +39523,7 @@ const generatedFocusOperations = [
|
|
|
40209
39523
|
"project.tasks",
|
|
40210
39524
|
"project.board",
|
|
40211
39525
|
"project.timeline",
|
|
40212
|
-
"projects"
|
|
40213
|
-
"reports.summary",
|
|
40214
|
-
"reports.detailed",
|
|
40215
|
-
"reports.utilization",
|
|
40216
|
-
"reports.workload",
|
|
40217
|
-
"reports.profitability"
|
|
39526
|
+
"projects"
|
|
40218
39527
|
]),
|
|
40219
39528
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
40220
39529
|
}) }),
|
|
@@ -40601,28 +39910,6 @@ const generatedFocusOperations = [
|
|
|
40601
39910
|
void 0
|
|
40602
39911
|
]))
|
|
40603
39912
|
},
|
|
40604
|
-
{
|
|
40605
|
-
id: "focus.subscriptions.get-plans",
|
|
40606
|
-
family: "focus",
|
|
40607
|
-
resource: "subscriptions",
|
|
40608
|
-
action: "get-plans",
|
|
40609
|
-
title: "Get Plans Subscriptions",
|
|
40610
|
-
description: "Get Plans Subscriptions.",
|
|
40611
|
-
safety: "read",
|
|
40612
|
-
destructive: false,
|
|
40613
|
-
cli: {
|
|
40614
|
-
group: ["subscriptions"],
|
|
40615
|
-
command: "get-plans",
|
|
40616
|
-
interactive: "hidden"
|
|
40617
|
-
},
|
|
40618
|
-
mcp: { entityTool: "subscriptions" },
|
|
40619
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
40620
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
40621
|
-
client.httpClient,
|
|
40622
|
-
client.organizationId,
|
|
40623
|
-
void 0
|
|
40624
|
-
]))
|
|
40625
|
-
},
|
|
40626
39913
|
{
|
|
40627
39914
|
id: "focus.subscriptions.upsert-forced-trial",
|
|
40628
39915
|
family: "focus",
|
|
@@ -41284,10 +40571,10 @@ const generatedFocusOperations = [
|
|
|
41284
40571
|
},
|
|
41285
40572
|
mcp: { entityTool: "tasks" },
|
|
41286
40573
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
41287
|
-
|
|
41288
|
-
|
|
41289
|
-
|
|
41290
|
-
|
|
40574
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
40575
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
40576
|
+
hidden: /* @__PURE__ */ unknown$1(),
|
|
40577
|
+
time_zone: /* @__PURE__ */ unknown$1()
|
|
41291
40578
|
}),
|
|
41292
40579
|
execute: (input, { client }) => {
|
|
41293
40580
|
const data = input;
|
|
@@ -41327,7 +40614,7 @@ const generatedFocusOperations = [
|
|
|
41327
40614
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41328
40615
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41329
40616
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
41330
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
40617
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
41331
40618
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
41332
40619
|
}),
|
|
41333
40620
|
execute: (input, { client }) => {
|
|
@@ -41363,6 +40650,7 @@ const generatedFocusOperations = [
|
|
|
41363
40650
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41364
40651
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41365
40652
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
40653
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41366
40654
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41367
40655
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41368
40656
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
@@ -41383,7 +40671,6 @@ const generatedFocusOperations = [
|
|
|
41383
40671
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41384
40672
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41385
40673
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41386
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41387
40674
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41388
40675
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41389
40676
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -41393,7 +40680,7 @@ const generatedFocusOperations = [
|
|
|
41393
40680
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41394
40681
|
state: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41395
40682
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41396
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
40683
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
41397
40684
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41398
40685
|
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41399
40686
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -41436,7 +40723,7 @@ const generatedFocusOperations = [
|
|
|
41436
40723
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41437
40724
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41438
40725
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41439
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
40726
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
41440
40727
|
task_id: /* @__PURE__ */ number$2(),
|
|
41441
40728
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
41442
40729
|
}),
|
|
@@ -41477,7 +40764,7 @@ const generatedFocusOperations = [
|
|
|
41477
40764
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41478
40765
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41479
40766
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41480
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
40767
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
41481
40768
|
task_id: /* @__PURE__ */ number$2(),
|
|
41482
40769
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
41483
40770
|
}),
|
|
@@ -41510,7 +40797,6 @@ const generatedFocusOperations = [
|
|
|
41510
40797
|
mcp: { entityTool: "tasks" },
|
|
41511
40798
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
41512
40799
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41513
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41514
40800
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41515
40801
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41516
40802
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
@@ -41519,9 +40805,10 @@ const generatedFocusOperations = [
|
|
|
41519
40805
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41520
40806
|
group: /* @__PURE__ */ unknown$1(),
|
|
41521
40807
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41522
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41523
40808
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41524
40809
|
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40810
|
+
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40811
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41525
40812
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41526
40813
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41527
40814
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -41535,7 +40822,8 @@ const generatedFocusOperations = [
|
|
|
41535
40822
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41536
40823
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41537
40824
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41538
|
-
tag_id: /* @__PURE__ */ optional$1(
|
|
40825
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
40826
|
+
tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41539
40827
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
41540
40828
|
}),
|
|
41541
40829
|
execute: (input, { client }) => {
|
|
@@ -41756,7 +41044,6 @@ const generatedFocusOperations = [
|
|
|
41756
41044
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41757
41045
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
41758
41046
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
41759
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
41760
41047
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41761
41048
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
41762
41049
|
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -41804,7 +41091,8 @@ const generatedFocusOperations = [
|
|
|
41804
41091
|
mcp: { entityTool: "tasks" },
|
|
41805
41092
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
41806
41093
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
41807
|
-
date_to: /* @__PURE__ */ unknown$1()
|
|
41094
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
41095
|
+
timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
41808
41096
|
}),
|
|
41809
41097
|
execute: (input, { client }) => {
|
|
41810
41098
|
const data = input;
|
|
@@ -41814,6 +41102,7 @@ const generatedFocusOperations = [
|
|
|
41814
41102
|
client.workspaceIdNumber,
|
|
41815
41103
|
data.date_from,
|
|
41816
41104
|
data.date_to,
|
|
41105
|
+
data.timezone,
|
|
41817
41106
|
void 0
|
|
41818
41107
|
]));
|
|
41819
41108
|
}
|
|
@@ -42254,41 +41543,6 @@ const generatedFocusOperations = [
|
|
|
42254
41543
|
return client.bulkDeleteTimeEntries(data.ids);
|
|
42255
41544
|
}
|
|
42256
41545
|
},
|
|
42257
|
-
{
|
|
42258
|
-
id: "focus.time-entries.bulk-edit",
|
|
42259
|
-
family: "focus",
|
|
42260
|
-
resource: "time-entries",
|
|
42261
|
-
action: "bulk-edit",
|
|
42262
|
-
title: "Bulk Edit Time Entries",
|
|
42263
|
-
description: "Bulk Edit Time Entries.",
|
|
42264
|
-
safety: "read",
|
|
42265
|
-
destructive: false,
|
|
42266
|
-
cli: {
|
|
42267
|
-
group: ["time-entries", "bulk"],
|
|
42268
|
-
command: "edit",
|
|
42269
|
-
interactive: "available"
|
|
42270
|
-
},
|
|
42271
|
-
mcp: { entityTool: "time-entries" },
|
|
42272
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
42273
|
-
changes: /* @__PURE__ */ looseObject({
|
|
42274
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42275
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
42276
|
-
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42277
|
-
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
42278
|
-
}),
|
|
42279
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
42280
|
-
}) }),
|
|
42281
|
-
execute: (input, { client }) => {
|
|
42282
|
-
const data = input;
|
|
42283
|
-
return client.runGeneratedRequest("bulkEditTimeEntriesWithOrg", () => callGeneratedRequest(bulkEditTimeEntriesWithOrg, [
|
|
42284
|
-
client.httpClient,
|
|
42285
|
-
client.organizationId,
|
|
42286
|
-
client.workspaceIdNumber,
|
|
42287
|
-
data.payload ?? data.data ?? data,
|
|
42288
|
-
void 0
|
|
42289
|
-
]));
|
|
42290
|
-
}
|
|
42291
|
-
},
|
|
42292
41546
|
{
|
|
42293
41547
|
id: "focus.time-entries.bulk-patch",
|
|
42294
41548
|
family: "focus",
|
|
@@ -42567,7 +41821,6 @@ const generatedFocusOperations = [
|
|
|
42567
41821
|
archived: /* @__PURE__ */ unknown$1(),
|
|
42568
41822
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
42569
41823
|
date_to: /* @__PURE__ */ unknown$1(),
|
|
42570
|
-
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
42571
41824
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
42572
41825
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
42573
41826
|
status_id: /* @__PURE__ */ number$2(),
|
|
@@ -42840,29 +42093,18 @@ const generatedFocusOperations = [
|
|
|
42840
42093
|
cli: {
|
|
42841
42094
|
group: ["time-entries", "tracking"],
|
|
42842
42095
|
command: "start-tracking-from-description",
|
|
42843
|
-
interactive: "
|
|
42096
|
+
interactive: "available"
|
|
42844
42097
|
},
|
|
42845
42098
|
mcp: { entityTool: "time-entries" },
|
|
42846
42099
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
42847
|
-
|
|
42100
|
+
integration_source: /* @__PURE__ */ string$1(),
|
|
42848
42101
|
name: /* @__PURE__ */ string$1(),
|
|
42849
42102
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42850
|
-
create_project_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42851
|
-
create_tags_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42852
|
-
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42853
|
-
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
42854
42103
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
42855
42104
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
42856
|
-
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
42857
42105
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
42858
42106
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
42859
42107
|
project_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
42860
|
-
resolution_strategy: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
42861
|
-
"uri",
|
|
42862
|
-
"name",
|
|
42863
|
-
"name_project",
|
|
42864
|
-
"name_project_tags"
|
|
42865
|
-
])),
|
|
42866
42108
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
42867
42109
|
tag_names: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1()))
|
|
42868
42110
|
}) }),
|
|
@@ -43427,12 +42669,12 @@ const generatedFocusOperations = [
|
|
|
43427
42669
|
},
|
|
43428
42670
|
mcp: { entityTool: "timesheets" },
|
|
43429
42671
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
42672
|
+
comment: /* @__PURE__ */ string$1(),
|
|
43430
42673
|
keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43431
42674
|
setup_id: /* @__PURE__ */ number$2(),
|
|
43432
42675
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43433
42676
|
user_account_id: /* @__PURE__ */ number$2()
|
|
43434
|
-
}))
|
|
43435
|
-
comment: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
42677
|
+
}))
|
|
43436
42678
|
}) }),
|
|
43437
42679
|
execute: (input, { client }) => {
|
|
43438
42680
|
const data = input;
|
|
@@ -43445,37 +42687,6 @@ const generatedFocusOperations = [
|
|
|
43445
42687
|
]));
|
|
43446
42688
|
}
|
|
43447
42689
|
},
|
|
43448
|
-
{
|
|
43449
|
-
id: "focus.timesheets.bulk-withdraw",
|
|
43450
|
-
family: "focus",
|
|
43451
|
-
resource: "timesheets",
|
|
43452
|
-
action: "bulk-withdraw",
|
|
43453
|
-
title: "Bulk Withdraw Timesheets",
|
|
43454
|
-
description: "Bulk Withdraw Timesheets.",
|
|
43455
|
-
safety: "read",
|
|
43456
|
-
destructive: false,
|
|
43457
|
-
cli: {
|
|
43458
|
-
group: ["timesheets", "bulk"],
|
|
43459
|
-
command: "withdraw",
|
|
43460
|
-
interactive: "available"
|
|
43461
|
-
},
|
|
43462
|
-
mcp: { entityTool: "timesheets" },
|
|
43463
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43464
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
43465
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43466
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
43467
|
-
})) }) }),
|
|
43468
|
-
execute: (input, { client }) => {
|
|
43469
|
-
const data = input;
|
|
43470
|
-
return client.runGeneratedRequest("bulkWithdrawTimesheets", () => callGeneratedRequest(bulkWithdrawTimesheets, [
|
|
43471
|
-
client.httpClient,
|
|
43472
|
-
client.organizationId,
|
|
43473
|
-
client.workspaceIdNumber,
|
|
43474
|
-
data.payload ?? data.data ?? data,
|
|
43475
|
-
void 0
|
|
43476
|
-
]));
|
|
43477
|
-
}
|
|
43478
|
-
},
|
|
43479
42690
|
{
|
|
43480
42691
|
id: "focus.timesheets.get",
|
|
43481
42692
|
family: "focus",
|
|
@@ -43765,37 +42976,6 @@ const generatedFocusOperations = [
|
|
|
43765
42976
|
]));
|
|
43766
42977
|
}
|
|
43767
42978
|
},
|
|
43768
|
-
{
|
|
43769
|
-
id: "focus.timesheets.setups-add-timesheet-setup-member",
|
|
43770
|
-
family: "focus",
|
|
43771
|
-
resource: "timesheets",
|
|
43772
|
-
action: "setups-add-timesheet-setup-member",
|
|
43773
|
-
title: "Setups Add Timesheet Setup Member Timesheets",
|
|
43774
|
-
description: "Setups Add Timesheet Setup Member Timesheets.",
|
|
43775
|
-
safety: "read",
|
|
43776
|
-
destructive: false,
|
|
43777
|
-
cli: {
|
|
43778
|
-
group: ["timesheets", "setups"],
|
|
43779
|
-
command: "add-timesheet-setup-member",
|
|
43780
|
-
interactive: "available"
|
|
43781
|
-
},
|
|
43782
|
-
mcp: { entityTool: "timesheets" },
|
|
43783
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43784
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
43785
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
43786
|
-
}),
|
|
43787
|
-
execute: (input, { client }) => {
|
|
43788
|
-
const data = input;
|
|
43789
|
-
return client.runGeneratedRequest("addTimesheetSetupMember", () => callGeneratedRequest(addTimesheetSetupMember, [
|
|
43790
|
-
client.httpClient,
|
|
43791
|
-
client.organizationId,
|
|
43792
|
-
client.workspaceIdNumber,
|
|
43793
|
-
data.setup_id,
|
|
43794
|
-
data.user_account_id,
|
|
43795
|
-
void 0
|
|
43796
|
-
]));
|
|
43797
|
-
}
|
|
43798
|
-
},
|
|
43799
42979
|
{
|
|
43800
42980
|
id: "focus.timesheets.setups-create",
|
|
43801
42981
|
family: "focus",
|
|
@@ -43861,37 +43041,6 @@ const generatedFocusOperations = [
|
|
|
43861
43041
|
]));
|
|
43862
43042
|
}
|
|
43863
43043
|
},
|
|
43864
|
-
{
|
|
43865
|
-
id: "focus.timesheets.setups-delete-member",
|
|
43866
|
-
family: "focus",
|
|
43867
|
-
resource: "timesheets",
|
|
43868
|
-
action: "setups-delete-member",
|
|
43869
|
-
title: "Setups Delete Member Timesheets",
|
|
43870
|
-
description: "Setups Delete Member Timesheets.",
|
|
43871
|
-
safety: "delete",
|
|
43872
|
-
destructive: true,
|
|
43873
|
-
cli: {
|
|
43874
|
-
group: ["timesheets", "setups"],
|
|
43875
|
-
command: "delete-member",
|
|
43876
|
-
interactive: "default"
|
|
43877
|
-
},
|
|
43878
|
-
mcp: { entityTool: "timesheets" },
|
|
43879
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43880
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
43881
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
43882
|
-
}),
|
|
43883
|
-
execute: (input, { client }) => {
|
|
43884
|
-
const data = input;
|
|
43885
|
-
return client.runGeneratedRequest("deleteTimesheetSetupMember", () => callGeneratedRequest(deleteTimesheetSetupMember, [
|
|
43886
|
-
client.httpClient,
|
|
43887
|
-
client.organizationId,
|
|
43888
|
-
client.workspaceIdNumber,
|
|
43889
|
-
data.setup_id,
|
|
43890
|
-
data.user_account_id,
|
|
43891
|
-
void 0
|
|
43892
|
-
]));
|
|
43893
|
-
}
|
|
43894
|
-
},
|
|
43895
43044
|
{
|
|
43896
43045
|
id: "focus.timesheets.setups-discontinue",
|
|
43897
43046
|
family: "focus",
|
|
@@ -43923,39 +43072,6 @@ const generatedFocusOperations = [
|
|
|
43923
43072
|
]));
|
|
43924
43073
|
}
|
|
43925
43074
|
},
|
|
43926
|
-
{
|
|
43927
|
-
id: "focus.timesheets.setups-discontinue-timesheet-setup-member",
|
|
43928
|
-
family: "focus",
|
|
43929
|
-
resource: "timesheets",
|
|
43930
|
-
action: "setups-discontinue-timesheet-setup-member",
|
|
43931
|
-
title: "Setups Discontinue Timesheet Setup Member Timesheets",
|
|
43932
|
-
description: "Setups Discontinue Timesheet Setup Member Timesheets.",
|
|
43933
|
-
safety: "read",
|
|
43934
|
-
destructive: false,
|
|
43935
|
-
cli: {
|
|
43936
|
-
group: ["timesheets", "setups"],
|
|
43937
|
-
command: "discontinue-timesheet-setup-member",
|
|
43938
|
-
interactive: "available"
|
|
43939
|
-
},
|
|
43940
|
-
mcp: { entityTool: "timesheets" },
|
|
43941
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43942
|
-
payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
|
|
43943
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
43944
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
43945
|
-
}),
|
|
43946
|
-
execute: (input, { client }) => {
|
|
43947
|
-
const data = input;
|
|
43948
|
-
return client.runGeneratedRequest("discontinueTimesheetSetupMember", () => callGeneratedRequest(discontinueTimesheetSetupMember, [
|
|
43949
|
-
client.httpClient,
|
|
43950
|
-
client.organizationId,
|
|
43951
|
-
client.workspaceIdNumber,
|
|
43952
|
-
data.setup_id,
|
|
43953
|
-
data.user_account_id,
|
|
43954
|
-
data.payload ?? data.data ?? data,
|
|
43955
|
-
void 0
|
|
43956
|
-
]));
|
|
43957
|
-
}
|
|
43958
|
-
},
|
|
43959
43075
|
{
|
|
43960
43076
|
id: "focus.timesheets.setups-get",
|
|
43961
43077
|
family: "focus",
|
|
@@ -44022,13 +43138,10 @@ const generatedFocusOperations = [
|
|
|
44022
43138
|
cli: {
|
|
44023
43139
|
group: ["timesheets", "setups"],
|
|
44024
43140
|
command: "get-members",
|
|
44025
|
-
interactive: "
|
|
43141
|
+
interactive: "available"
|
|
44026
43142
|
},
|
|
44027
43143
|
mcp: { entityTool: "timesheets" },
|
|
44028
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44029
|
-
include_discontinued: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44030
|
-
setup_id: /* @__PURE__ */ number$2()
|
|
44031
|
-
}),
|
|
43144
|
+
inputSchema: /* @__PURE__ */ looseObject({ setup_id: /* @__PURE__ */ number$2() }),
|
|
44032
43145
|
execute: (input, { client }) => {
|
|
44033
43146
|
const data = input;
|
|
44034
43147
|
return client.runGeneratedRequest("getTimesheetSetupMembers", () => callGeneratedRequest(getTimesheetSetupMembers, [
|
|
@@ -44036,7 +43149,6 @@ const generatedFocusOperations = [
|
|
|
44036
43149
|
client.organizationId,
|
|
44037
43150
|
client.workspaceIdNumber,
|
|
44038
43151
|
data.setup_id,
|
|
44039
|
-
data,
|
|
44040
43152
|
void 0
|
|
44041
43153
|
]));
|
|
44042
43154
|
}
|
|
@@ -44072,37 +43184,6 @@ const generatedFocusOperations = [
|
|
|
44072
43184
|
]));
|
|
44073
43185
|
}
|
|
44074
43186
|
},
|
|
44075
|
-
{
|
|
44076
|
-
id: "focus.timesheets.setups-reactivate-timesheet-setup-member",
|
|
44077
|
-
family: "focus",
|
|
44078
|
-
resource: "timesheets",
|
|
44079
|
-
action: "setups-reactivate-timesheet-setup-member",
|
|
44080
|
-
title: "Setups Reactivate Timesheet Setup Member Timesheets",
|
|
44081
|
-
description: "Setups Reactivate Timesheet Setup Member Timesheets.",
|
|
44082
|
-
safety: "read",
|
|
44083
|
-
destructive: false,
|
|
44084
|
-
cli: {
|
|
44085
|
-
group: ["timesheets", "setups"],
|
|
44086
|
-
command: "reactivate-timesheet-setup-member",
|
|
44087
|
-
interactive: "available"
|
|
44088
|
-
},
|
|
44089
|
-
mcp: { entityTool: "timesheets" },
|
|
44090
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44091
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
44092
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
44093
|
-
}),
|
|
44094
|
-
execute: (input, { client }) => {
|
|
44095
|
-
const data = input;
|
|
44096
|
-
return client.runGeneratedRequest("reactivateTimesheetSetupMember", () => callGeneratedRequest(reactivateTimesheetSetupMember, [
|
|
44097
|
-
client.httpClient,
|
|
44098
|
-
client.organizationId,
|
|
44099
|
-
client.workspaceIdNumber,
|
|
44100
|
-
data.setup_id,
|
|
44101
|
-
data.user_account_id,
|
|
44102
|
-
void 0
|
|
44103
|
-
]));
|
|
44104
|
-
}
|
|
44105
|
-
},
|
|
44106
43187
|
{
|
|
44107
43188
|
id: "focus.timesheets.setups-update",
|
|
44108
43189
|
family: "focus",
|
|
@@ -44263,7 +43344,7 @@ const generatedFocusOperations = [
|
|
|
44263
43344
|
cli: {
|
|
44264
43345
|
group: ["users", "settings"],
|
|
44265
43346
|
command: "partial-update",
|
|
44266
|
-
interactive: "
|
|
43347
|
+
interactive: "default"
|
|
44267
43348
|
},
|
|
44268
43349
|
mcp: { entityTool: "users" },
|
|
44269
43350
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
@@ -44299,7 +43380,6 @@ const generatedFocusOperations = [
|
|
|
44299
43380
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44300
43381
|
onboarding_task_dragged: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44301
43382
|
plan_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44302
|
-
platform_nudges: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44303
43383
|
pomodoro_mode_auto_start_break: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44304
43384
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44305
43385
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -44324,8 +43404,6 @@ const generatedFocusOperations = [
|
|
|
44324
43404
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44325
43405
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44326
43406
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44327
|
-
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44328
|
-
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44329
43407
|
welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44330
43408
|
whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44331
43409
|
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
@@ -44663,28 +43741,6 @@ const generatedFocusOperations = [
|
|
|
44663
43741
|
void 0
|
|
44664
43742
|
]))
|
|
44665
43743
|
},
|
|
44666
|
-
{
|
|
44667
|
-
id: "focus.workspace-settings.get-workspace-currency",
|
|
44668
|
-
family: "focus",
|
|
44669
|
-
resource: "workspace-settings",
|
|
44670
|
-
action: "get-workspace-currency",
|
|
44671
|
-
title: "Get Workspace Currency Workspace Settings",
|
|
44672
|
-
description: "Get Workspace Currency Workspace Settings.",
|
|
44673
|
-
safety: "read",
|
|
44674
|
-
destructive: false,
|
|
44675
|
-
cli: {
|
|
44676
|
-
group: ["workspace-settings"],
|
|
44677
|
-
command: "get-workspace-currency",
|
|
44678
|
-
interactive: "hidden"
|
|
44679
|
-
},
|
|
44680
|
-
mcp: { entityTool: "workspace-settings" },
|
|
44681
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
44682
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceCurrency", () => callGeneratedRequest(getWorkspaceCurrency, [
|
|
44683
|
-
client.httpClient,
|
|
44684
|
-
client.workspaceIdNumber,
|
|
44685
|
-
void 0
|
|
44686
|
-
]))
|
|
44687
|
-
},
|
|
44688
43744
|
{
|
|
44689
43745
|
id: "focus.workspace-settings.list",
|
|
44690
43746
|
family: "focus",
|
|
@@ -44732,32 +43788,6 @@ const generatedFocusOperations = [
|
|
|
44732
43788
|
void 0
|
|
44733
43789
|
]));
|
|
44734
43790
|
}
|
|
44735
|
-
},
|
|
44736
|
-
{
|
|
44737
|
-
id: "focus.workspace-settings.update-workspace-currency",
|
|
44738
|
-
family: "focus",
|
|
44739
|
-
resource: "workspace-settings",
|
|
44740
|
-
action: "update-workspace-currency",
|
|
44741
|
-
title: "Update Workspace Currency Workspace Settings",
|
|
44742
|
-
description: "Update Workspace Currency Workspace Settings.",
|
|
44743
|
-
safety: "update",
|
|
44744
|
-
destructive: false,
|
|
44745
|
-
cli: {
|
|
44746
|
-
group: ["workspace-settings"],
|
|
44747
|
-
command: "update-workspace-currency",
|
|
44748
|
-
interactive: "default"
|
|
44749
|
-
},
|
|
44750
|
-
mcp: { entityTool: "workspace-settings" },
|
|
44751
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ currency: /* @__PURE__ */ string$1() }) }),
|
|
44752
|
-
execute: (input, { client }) => {
|
|
44753
|
-
const data = input;
|
|
44754
|
-
return client.runGeneratedRequest("updateWorkspaceCurrency", () => callGeneratedRequest(updateWorkspaceCurrency, [
|
|
44755
|
-
client.httpClient,
|
|
44756
|
-
client.workspaceIdNumber,
|
|
44757
|
-
data.payload ?? data.data ?? data,
|
|
44758
|
-
void 0
|
|
44759
|
-
]));
|
|
44760
|
-
}
|
|
44761
43791
|
}
|
|
44762
43792
|
];
|
|
44763
43793
|
const focusOperationOverrides = {
|
|
@@ -45984,7 +45014,7 @@ import_main.default.config({
|
|
|
45984
45014
|
quiet: true,
|
|
45985
45015
|
ignore: ["MISSING_ENV_FILE"]
|
|
45986
45016
|
});
|
|
45987
|
-
const packageVersion = "1.5.
|
|
45017
|
+
const packageVersion = "1.5.73";
|
|
45988
45018
|
function resolvePublicUrls() {
|
|
45989
45019
|
return {
|
|
45990
45020
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -46049,4 +45079,4 @@ function bootstrapServer(options = {}) {
|
|
|
46049
45079
|
//#endregion
|
|
46050
45080
|
export { runMcpCli as n, bootstrapServer as t };
|
|
46051
45081
|
|
|
46052
|
-
//# sourceMappingURL=src-
|
|
45082
|
+
//# sourceMappingURL=src-D7Ze3NNZ.js.map
|