@togglhq/cli 1.5.70 → 1.5.72
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/{program-C4xeSqSm.js → program-BZvMwzzd.js} +150 -1142
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -8369,31 +8369,6 @@ function getFallback(schema, dataset, config$1) {
|
|
|
8369
8369
|
return typeof schema.fallback === "function" ? schema.fallback(dataset, config$1) : schema.fallback;
|
|
8370
8370
|
}
|
|
8371
8371
|
/**
|
|
8372
|
-
* Returns a fallback value as output if the input does not match the schema.
|
|
8373
|
-
*
|
|
8374
|
-
* @param schema The schema to catch.
|
|
8375
|
-
* @param fallback The fallback value.
|
|
8376
|
-
*
|
|
8377
|
-
* @returns The passed schema.
|
|
8378
|
-
*/
|
|
8379
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
8380
|
-
function fallback(schema, fallback$1) {
|
|
8381
|
-
return {
|
|
8382
|
-
...schema,
|
|
8383
|
-
fallback: fallback$1,
|
|
8384
|
-
get "~standard"() {
|
|
8385
|
-
return /* @__PURE__ */ _getStandardProps(this);
|
|
8386
|
-
},
|
|
8387
|
-
"~run"(dataset, config$1) {
|
|
8388
|
-
const outputDataset = schema["~run"](dataset, config$1);
|
|
8389
|
-
return outputDataset.issues ? {
|
|
8390
|
-
typed: true,
|
|
8391
|
-
value: /* @__PURE__ */ getFallback(this, outputDataset, config$1)
|
|
8392
|
-
} : outputDataset;
|
|
8393
|
-
}
|
|
8394
|
-
};
|
|
8395
|
-
}
|
|
8396
|
-
/**
|
|
8397
8372
|
* Returns the default value of the schema.
|
|
8398
8373
|
*
|
|
8399
8374
|
* @param schema The schema to get it from.
|
|
@@ -8780,14 +8755,8 @@ function pipe(...pipe$1) {
|
|
|
8780
8755
|
}
|
|
8781
8756
|
};
|
|
8782
8757
|
}
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
type: /* @__PURE__ */ picklist([
|
|
8786
|
-
"user",
|
|
8787
|
-
"ghost",
|
|
8788
|
-
"team"
|
|
8789
|
-
])
|
|
8790
|
-
});
|
|
8758
|
+
//#endregion
|
|
8759
|
+
//#region ../focus-queries/dist/schemas/index.ts
|
|
8791
8760
|
const ClientLiteSchema = /* @__PURE__ */ object({
|
|
8792
8761
|
id: /* @__PURE__ */ number(),
|
|
8793
8762
|
name: /* @__PURE__ */ string()
|
|
@@ -8830,12 +8799,18 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
8830
8799
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8831
8800
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema)
|
|
8832
8801
|
});
|
|
8802
|
+
const TaskAssignmentSchema = /* @__PURE__ */ object({
|
|
8803
|
+
id: /* @__PURE__ */ number(),
|
|
8804
|
+
type: /* @__PURE__ */ picklist([
|
|
8805
|
+
"user",
|
|
8806
|
+
"ghost",
|
|
8807
|
+
"team"
|
|
8808
|
+
])
|
|
8809
|
+
});
|
|
8833
8810
|
const TaskMetadataSchema = /* @__PURE__ */ object({
|
|
8834
8811
|
all_day: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8835
8812
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8836
8813
|
calendar_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8837
|
-
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."))),
|
|
8838
|
-
extension_url: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8839
8814
|
external_id: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8840
8815
|
ical_uid: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8841
8816
|
meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -8875,9 +8850,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
|
|
|
8875
8850
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string())
|
|
8876
8851
|
});
|
|
8877
8852
|
const TaskSchema = /* @__PURE__ */ object({
|
|
8878
|
-
allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
|
|
8879
8853
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
8880
|
-
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
8881
8854
|
id: /* @__PURE__ */ number(),
|
|
8882
8855
|
is_template: /* @__PURE__ */ boolean(),
|
|
8883
8856
|
name: /* @__PURE__ */ string(),
|
|
@@ -8926,9 +8899,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
8926
8899
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
8927
8900
|
});
|
|
8928
8901
|
const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
8929
|
-
allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
|
|
8930
8902
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
8931
|
-
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
8932
8903
|
id: /* @__PURE__ */ number(),
|
|
8933
8904
|
is_template: /* @__PURE__ */ boolean(),
|
|
8934
8905
|
name: /* @__PURE__ */ string(),
|
|
@@ -8943,19 +8914,9 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
8943
8914
|
private: /* @__PURE__ */ boolean(),
|
|
8944
8915
|
source: /* @__PURE__ */ string(),
|
|
8945
8916
|
status_id: /* @__PURE__ */ number(),
|
|
8946
|
-
sub_task_done_count: /* @__PURE__ */ number(),
|
|
8947
|
-
sub_task_total_count: /* @__PURE__ */ number(),
|
|
8948
8917
|
tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
8949
8918
|
tags: /* @__PURE__ */ array(TagLiteSchema),
|
|
8950
|
-
time_block_completed_count: /* @__PURE__ */ number(),
|
|
8951
|
-
time_block_scheduled_completed_count: /* @__PURE__ */ number(),
|
|
8952
|
-
time_block_scheduled_total_count: /* @__PURE__ */ number(),
|
|
8953
|
-
time_block_total_count: /* @__PURE__ */ number(),
|
|
8954
|
-
time_entry_total_count: /* @__PURE__ */ number(),
|
|
8955
8919
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
8956
|
-
total_blocked_time: /* @__PURE__ */ number(),
|
|
8957
|
-
total_scheduled_blocked_time: /* @__PURE__ */ number(),
|
|
8958
|
-
total_tracked_time: /* @__PURE__ */ number(),
|
|
8959
8920
|
workspace_id: /* @__PURE__ */ number(),
|
|
8960
8921
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8961
8922
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
@@ -8985,6 +8946,16 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
8985
8946
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
8986
8947
|
status: /* @__PURE__ */ optional(StatusLiteSchema),
|
|
8987
8948
|
status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
8949
|
+
sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8950
|
+
sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8951
|
+
time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8952
|
+
time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8953
|
+
time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8954
|
+
time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
|
|
8955
|
+
time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8956
|
+
total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8957
|
+
total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8958
|
+
total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8988
8959
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
8989
8960
|
});
|
|
8990
8961
|
const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
|
|
@@ -9035,10 +9006,7 @@ const AlertRuleSchema = /* @__PURE__ */ object({
|
|
|
9035
9006
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9036
9007
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
9037
9008
|
});
|
|
9038
|
-
const ClientPayloadSchema = /* @__PURE__ */ object({
|
|
9039
|
-
name: /* @__PURE__ */ string(),
|
|
9040
|
-
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.")))
|
|
9041
|
-
});
|
|
9009
|
+
const ClientPayloadSchema = /* @__PURE__ */ object({ name: /* @__PURE__ */ string() });
|
|
9042
9010
|
const ProjectFixedFeePayloadSchema = /* @__PURE__ */ object({
|
|
9043
9011
|
amount: /* @__PURE__ */ number(),
|
|
9044
9012
|
currency: /* @__PURE__ */ string()
|
|
@@ -9134,7 +9102,6 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
9134
9102
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9135
9103
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9136
9104
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9137
|
-
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."))),
|
|
9138
9105
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9139
9106
|
});
|
|
9140
9107
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -9142,7 +9109,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9142
9109
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
9143
9110
|
id: /* @__PURE__ */ number(),
|
|
9144
9111
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
9145
|
-
type:
|
|
9112
|
+
type: TimeEntryTypeSchema,
|
|
9146
9113
|
workspace_id: /* @__PURE__ */ number(),
|
|
9147
9114
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9148
9115
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9158,7 +9125,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9158
9125
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9159
9126
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9160
9127
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9161
|
-
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."))),
|
|
9162
9128
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9163
9129
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9164
9130
|
});
|
|
@@ -9185,7 +9151,6 @@ const ClientSchema = /* @__PURE__ */ object({
|
|
|
9185
9151
|
id: /* @__PURE__ */ number(),
|
|
9186
9152
|
name: /* @__PURE__ */ string(),
|
|
9187
9153
|
workspace_id: /* @__PURE__ */ number(),
|
|
9188
|
-
currency: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9189
9154
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9190
9155
|
toggl_user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9191
9156
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
@@ -9268,7 +9233,6 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
|
|
|
9268
9233
|
const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
9269
9234
|
data: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
9270
9235
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
9271
|
-
has_time_entry: /* @__PURE__ */ boolean(),
|
|
9272
9236
|
id: /* @__PURE__ */ number(),
|
|
9273
9237
|
start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
9274
9238
|
task_id: /* @__PURE__ */ number(),
|
|
@@ -9280,8 +9244,8 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9280
9244
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9281
9245
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9282
9246
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9247
|
+
has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9283
9248
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9284
|
-
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."))),
|
|
9285
9249
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9286
9250
|
})),
|
|
9287
9251
|
page: /* @__PURE__ */ number(),
|
|
@@ -9292,23 +9256,11 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9292
9256
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
9293
9257
|
id: /* @__PURE__ */ number(),
|
|
9294
9258
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
9295
|
-
type:
|
|
9259
|
+
type: TimeEntryTypeSchema,
|
|
9296
9260
|
workspace_id: /* @__PURE__ */ number(),
|
|
9297
9261
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9298
9262
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9299
9263
|
billable_source: /* @__PURE__ */ optional(BillableSourceSchema),
|
|
9300
|
-
calendar_event: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
|
|
9301
|
-
all_day: /* @__PURE__ */ boolean(),
|
|
9302
|
-
background_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
9303
|
-
end_time: /* @__PURE__ */ string(),
|
|
9304
|
-
foreground_color: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
9305
|
-
html_link: /* @__PURE__ */ string(),
|
|
9306
|
-
id: /* @__PURE__ */ number(),
|
|
9307
|
-
meeting_link: /* @__PURE__ */ nullable(/* @__PURE__ */ string()),
|
|
9308
|
-
provider: /* @__PURE__ */ string(),
|
|
9309
|
-
start_time: /* @__PURE__ */ string(),
|
|
9310
|
-
title: /* @__PURE__ */ string()
|
|
9311
|
-
}))),
|
|
9312
9264
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9313
9265
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9314
9266
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9322,7 +9274,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9322
9274
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
9323
9275
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9324
9276
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9325
|
-
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."))),
|
|
9326
9277
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9327
9278
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
9328
9279
|
})),
|
|
@@ -9465,7 +9416,6 @@ const TagPayloadSchema = /* @__PURE__ */ object({
|
|
|
9465
9416
|
const TaskBulkArchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9466
9417
|
const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
9467
9418
|
name: /* @__PURE__ */ string(),
|
|
9468
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ fallback(/* @__PURE__ */ picklist(["percent", "flat"]), "flat")),
|
|
9469
9419
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9470
9420
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9471
9421
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9473,7 +9423,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9473
9423
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
|
|
9474
9424
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9475
9425
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9476
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9477
9426
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9478
9427
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9479
9428
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9505,7 +9454,6 @@ const TaskBulkDuplicatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9505
9454
|
const TaskBulkRestorePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9506
9455
|
const TaskBulkUnarchivePayloadSchema = /* @__PURE__ */ object({ task_ids: /* @__PURE__ */ pipe(/* @__PURE__ */ array(/* @__PURE__ */ number()), /* @__PURE__ */ minLength(1), /* @__PURE__ */ maxLength(100)) });
|
|
9507
9456
|
const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
9508
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9509
9457
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9510
9458
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9511
9459
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9513,7 +9461,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9513
9461
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9514
9462
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9515
9463
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9516
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9517
9464
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9518
9465
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9519
9466
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9540,7 +9487,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9540
9487
|
});
|
|
9541
9488
|
const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
9542
9489
|
id: /* @__PURE__ */ number(),
|
|
9543
|
-
allocation_unit: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["percent", "flat"]))),
|
|
9544
9490
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9545
9491
|
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
9546
9492
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -9548,7 +9494,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9548
9494
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
9549
9495
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9550
9496
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
9551
|
-
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
9552
9497
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9553
9498
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
9554
9499
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9596,7 +9541,7 @@ const TimeBlockPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9596
9541
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
9597
9542
|
});
|
|
9598
9543
|
const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
9599
|
-
type:
|
|
9544
|
+
type: TimeEntryTypeSchema,
|
|
9600
9545
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9601
9546
|
calendar_event_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9602
9547
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -9701,16 +9646,10 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
|
|
|
9701
9646
|
json: data
|
|
9702
9647
|
}).json();
|
|
9703
9648
|
}
|
|
9704
|
-
async function getOrganizationMemberTags(httpClient, organization_id, { workspace_id }, signal) {
|
|
9705
|
-
return await httpClient.get(`organizations/${organization_id}/member-tags`, {
|
|
9706
|
-
signal,
|
|
9707
|
-
searchParams: buildSearchParams$3({ workspace_id })
|
|
9708
|
-
}).json();
|
|
9709
|
-
}
|
|
9710
9649
|
async function getOrganizationRoles(httpClient, organization_id, signal) {
|
|
9711
9650
|
return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
|
|
9712
9651
|
}
|
|
9713
|
-
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter,
|
|
9652
|
+
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, organization_user_id, group_ids }, signal) {
|
|
9714
9653
|
return await httpClient.get(`organizations/${organization_id}/teams`, {
|
|
9715
9654
|
signal,
|
|
9716
9655
|
searchParams: buildSearchParams$3({
|
|
@@ -9719,14 +9658,12 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9719
9658
|
per_page,
|
|
9720
9659
|
sort_dir,
|
|
9721
9660
|
filter,
|
|
9722
|
-
query,
|
|
9723
9661
|
organization_user_id,
|
|
9724
|
-
group_ids
|
|
9725
|
-
active_members_only
|
|
9662
|
+
group_ids
|
|
9726
9663
|
})
|
|
9727
9664
|
}).json();
|
|
9728
9665
|
}
|
|
9729
|
-
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
|
|
9666
|
+
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) {
|
|
9730
9667
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9731
9668
|
signal,
|
|
9732
9669
|
searchParams: buildSearchParams$3({
|
|
@@ -9745,8 +9682,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9745
9682
|
tag_ids,
|
|
9746
9683
|
include_working_hours,
|
|
9747
9684
|
include_rates,
|
|
9748
|
-
pinned_ids
|
|
9749
|
-
has_group
|
|
9685
|
+
pinned_ids
|
|
9750
9686
|
}, true)
|
|
9751
9687
|
});
|
|
9752
9688
|
return withResponseMeta$1(await response.json(), response.headers, response.status);
|
|
@@ -9800,7 +9736,7 @@ async function restoreTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
9800
9736
|
}
|
|
9801
9737
|
//#endregion
|
|
9802
9738
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
9803
|
-
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,
|
|
9739
|
+
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) {
|
|
9804
9740
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
9805
9741
|
signal,
|
|
9806
9742
|
searchParams: buildSearchParams$3({
|
|
@@ -9815,6 +9751,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
9815
9751
|
client_id,
|
|
9816
9752
|
creator_id,
|
|
9817
9753
|
tag_id,
|
|
9754
|
+
parent_project_id,
|
|
9818
9755
|
assignee_user_id,
|
|
9819
9756
|
project_id,
|
|
9820
9757
|
user_id,
|
|
@@ -9822,7 +9759,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { p
|
|
|
9822
9759
|
include_rollover,
|
|
9823
9760
|
include_idle_recurring_templates,
|
|
9824
9761
|
include_drafts,
|
|
9825
|
-
include_locked_private,
|
|
9826
9762
|
start_date,
|
|
9827
9763
|
end_date,
|
|
9828
9764
|
date_overlap_start,
|
|
@@ -9873,15 +9809,14 @@ async function getBatchProjectsMembers(httpClient, organization_id, workspace_id
|
|
|
9873
9809
|
searchParams: buildSearchParams$3({ ids })
|
|
9874
9810
|
}).json();
|
|
9875
9811
|
}
|
|
9876
|
-
async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by
|
|
9812
|
+
async function getProjectTemplatesClassic(httpClient, organization_id, workspace_id, { page, per_page, name, order_by } = {}, signal) {
|
|
9877
9813
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/templates`, {
|
|
9878
9814
|
signal,
|
|
9879
9815
|
searchParams: buildSearchParams$3({
|
|
9880
9816
|
page,
|
|
9881
9817
|
per_page,
|
|
9882
9818
|
name,
|
|
9883
|
-
order_by
|
|
9884
|
-
archived
|
|
9819
|
+
order_by
|
|
9885
9820
|
})
|
|
9886
9821
|
}).json();
|
|
9887
9822
|
}
|
|
@@ -9965,9 +9900,6 @@ async function createRecurringProjectInstance(httpClient, organization_id, works
|
|
|
9965
9900
|
json: data
|
|
9966
9901
|
}).json();
|
|
9967
9902
|
}
|
|
9968
|
-
async function makeProjectPublic(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
9969
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/make-public`, { signal }).json();
|
|
9970
|
-
}
|
|
9971
9903
|
async function getProjectsMembers(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
9972
9904
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/members`, { signal }).json();
|
|
9973
9905
|
}
|
|
@@ -10051,7 +9983,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10051
9983
|
}
|
|
10052
9984
|
//#endregion
|
|
10053
9985
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10054
|
-
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) {
|
|
9986
|
+
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) {
|
|
10055
9987
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10056
9988
|
signal,
|
|
10057
9989
|
searchParams: buildSearchParams$3({
|
|
@@ -10062,6 +9994,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10062
9994
|
order_by,
|
|
10063
9995
|
status_id,
|
|
10064
9996
|
toggl_user_id,
|
|
9997
|
+
creator_id,
|
|
10065
9998
|
name,
|
|
10066
9999
|
has_time_entries,
|
|
10067
10000
|
has_time_blocks,
|
|
@@ -10166,23 +10099,24 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
|
|
|
10166
10099
|
})
|
|
10167
10100
|
}).json();
|
|
10168
10101
|
}
|
|
10169
|
-
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to,
|
|
10102
|
+
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, time_zone, hidden }, signal) {
|
|
10170
10103
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10171
10104
|
signal,
|
|
10172
10105
|
searchParams: buildSearchParams$3({
|
|
10173
10106
|
date_from,
|
|
10174
10107
|
date_to,
|
|
10175
|
-
|
|
10108
|
+
time_zone,
|
|
10176
10109
|
hidden
|
|
10177
10110
|
})
|
|
10178
10111
|
}).json();
|
|
10179
10112
|
}
|
|
10180
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10113
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, timezone, signal) {
|
|
10181
10114
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10182
10115
|
signal,
|
|
10183
10116
|
searchParams: buildSearchParams$3({
|
|
10184
10117
|
date_from,
|
|
10185
|
-
date_to
|
|
10118
|
+
date_to,
|
|
10119
|
+
timezone
|
|
10186
10120
|
})
|
|
10187
10121
|
}).json();
|
|
10188
10122
|
}
|
|
@@ -10206,7 +10140,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10206
10140
|
})
|
|
10207
10141
|
}).json();
|
|
10208
10142
|
}
|
|
10209
|
-
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,
|
|
10143
|
+
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) {
|
|
10210
10144
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10211
10145
|
signal,
|
|
10212
10146
|
searchParams: buildSearchParams$3({
|
|
@@ -10215,11 +10149,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10215
10149
|
order_by,
|
|
10216
10150
|
status_id,
|
|
10217
10151
|
toggl_user_id,
|
|
10152
|
+
creator_id,
|
|
10218
10153
|
name,
|
|
10219
10154
|
has_time_entries,
|
|
10220
10155
|
has_time_blocks,
|
|
10221
10156
|
has_dates,
|
|
10222
|
-
private: private_,
|
|
10223
10157
|
archived,
|
|
10224
10158
|
include_project_completed,
|
|
10225
10159
|
include_drafts,
|
|
@@ -10453,7 +10387,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
|
|
|
10453
10387
|
json: data
|
|
10454
10388
|
}).json();
|
|
10455
10389
|
}
|
|
10456
|
-
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
|
|
10390
|
+
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) {
|
|
10457
10391
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10458
10392
|
signal,
|
|
10459
10393
|
searchParams: buildSearchParams$3({
|
|
@@ -10467,8 +10401,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
|
|
|
10467
10401
|
order_by,
|
|
10468
10402
|
archived,
|
|
10469
10403
|
time_block_id,
|
|
10470
|
-
include_taskless
|
|
10471
|
-
expand_calendar_event
|
|
10404
|
+
include_taskless
|
|
10472
10405
|
})
|
|
10473
10406
|
}).json();
|
|
10474
10407
|
}
|
|
@@ -10496,12 +10429,6 @@ async function bulkPartialUpdateTimeEntryWithOrg(httpClient, organization_id, wo
|
|
|
10496
10429
|
json: data
|
|
10497
10430
|
}).json();
|
|
10498
10431
|
}
|
|
10499
|
-
async function bulkEditTimeEntriesWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10500
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk-edit`, {
|
|
10501
|
-
signal,
|
|
10502
|
-
json: data
|
|
10503
|
-
}).json();
|
|
10504
|
-
}
|
|
10505
10432
|
async function bulkRestoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, ids, signal) {
|
|
10506
10433
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/bulk/restore`, {
|
|
10507
10434
|
signal,
|
|
@@ -10520,7 +10447,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10520
10447
|
json: data
|
|
10521
10448
|
}).json();
|
|
10522
10449
|
}
|
|
10523
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless
|
|
10450
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless }, signal) {
|
|
10524
10451
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10525
10452
|
signal,
|
|
10526
10453
|
searchParams: buildSearchParams$3({
|
|
@@ -10531,8 +10458,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10531
10458
|
type,
|
|
10532
10459
|
order_by,
|
|
10533
10460
|
archived,
|
|
10534
|
-
include_taskless
|
|
10535
|
-
expand_calendar_event
|
|
10461
|
+
include_taskless
|
|
10536
10462
|
})
|
|
10537
10463
|
}).json();
|
|
10538
10464
|
}
|
|
@@ -10668,7 +10594,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10668
10594
|
]))
|
|
10669
10595
|
});
|
|
10670
10596
|
//#endregion
|
|
10671
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10597
|
+
//#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
|
|
10672
10598
|
async function getInvitations(httpClient, signal) {
|
|
10673
10599
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10674
10600
|
}
|
|
@@ -10685,7 +10611,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10685
10611
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10686
10612
|
}
|
|
10687
10613
|
//#endregion
|
|
10688
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10614
|
+
//#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
|
|
10689
10615
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
10690
10616
|
const searchParams = new URLSearchParams();
|
|
10691
10617
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10697,7 +10623,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10697
10623
|
return searchParams;
|
|
10698
10624
|
}
|
|
10699
10625
|
//#endregion
|
|
10700
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10626
|
+
//#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
|
|
10701
10627
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10702
10628
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10703
10629
|
}
|
|
@@ -10711,7 +10637,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10711
10637
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10712
10638
|
}
|
|
10713
10639
|
//#endregion
|
|
10714
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10640
|
+
//#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
|
|
10715
10641
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10716
10642
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10717
10643
|
}
|
|
@@ -10740,7 +10666,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10740
10666
|
});
|
|
10741
10667
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10742
10668
|
//#endregion
|
|
10743
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10669
|
+
//#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
|
|
10744
10670
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
10745
10671
|
function withResponseMeta(data, headers, status) {
|
|
10746
10672
|
if (!data) return data;
|
|
@@ -10767,7 +10693,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10767
10693
|
return searchParams;
|
|
10768
10694
|
}
|
|
10769
10695
|
//#endregion
|
|
10770
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10696
|
+
//#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
|
|
10771
10697
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
10772
10698
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
10773
10699
|
signal,
|
|
@@ -10776,12 +10702,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
10776
10702
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
10777
10703
|
}
|
|
10778
10704
|
//#endregion
|
|
10779
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10705
|
+
//#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
|
|
10780
10706
|
async function getStatus(httpClient, signal) {
|
|
10781
10707
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10782
10708
|
}
|
|
10783
10709
|
//#endregion
|
|
10784
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10710
|
+
//#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
|
|
10785
10711
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10786
10712
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10787
10713
|
signal,
|
|
@@ -10809,7 +10735,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10809
10735
|
return response.json();
|
|
10810
10736
|
}
|
|
10811
10737
|
//#endregion
|
|
10812
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@1.1.
|
|
10738
|
+
//#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
|
|
10813
10739
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10814
10740
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10815
10741
|
}
|
|
@@ -13982,11 +13908,6 @@ function operationRequiresExplicitAcknowledgment(operation) {
|
|
|
13982
13908
|
return operation.destructive;
|
|
13983
13909
|
}
|
|
13984
13910
|
//#endregion
|
|
13985
|
-
//#region ../focus-queries/dist/attachments/requests.ts
|
|
13986
|
-
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
13987
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
|
|
13988
|
-
}
|
|
13989
|
-
//#endregion
|
|
13990
13911
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
13991
13912
|
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
13992
13913
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
@@ -14162,17 +14083,6 @@ async function capacityGetComputations(httpClient, organization_id, workspace_id
|
|
|
14162
14083
|
}).json();
|
|
14163
14084
|
}
|
|
14164
14085
|
//#endregion
|
|
14165
|
-
//#region ../focus-queries/dist/capacity-settings/requests.ts
|
|
14166
|
-
async function getCapacitySettings(httpClient, workspace_id, signal) {
|
|
14167
|
-
return await httpClient.get(`workspaces/${workspace_id}/capacity-settings`, { signal }).json();
|
|
14168
|
-
}
|
|
14169
|
-
async function updateCapacitySettings(httpClient, workspace_id, data, signal) {
|
|
14170
|
-
return await httpClient.patch(`workspaces/${workspace_id}/capacity-settings`, {
|
|
14171
|
-
signal,
|
|
14172
|
-
json: data
|
|
14173
|
-
}).json();
|
|
14174
|
-
}
|
|
14175
|
-
//#endregion
|
|
14176
14086
|
//#region ../focus-queries/dist/composite/requests.ts
|
|
14177
14087
|
async function compositeCreateProject(httpClient, organization_id, workspace_id, data, signal) {
|
|
14178
14088
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/composite/projects`, {
|
|
@@ -14257,18 +14167,6 @@ async function createGoal(httpClient, organization_id, workspace_id, data, signa
|
|
|
14257
14167
|
json: data
|
|
14258
14168
|
}).json();
|
|
14259
14169
|
}
|
|
14260
|
-
async function reorderGoals(httpClient, organization_id, workspace_id, data, signal) {
|
|
14261
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/goals/positions`, {
|
|
14262
|
-
signal,
|
|
14263
|
-
json: data
|
|
14264
|
-
}).json();
|
|
14265
|
-
}
|
|
14266
|
-
async function previewGoalTrackedTime(httpClient, organization_id, workspace_id, data, signal) {
|
|
14267
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals/preview`, {
|
|
14268
|
-
signal,
|
|
14269
|
-
json: data
|
|
14270
|
-
}).json();
|
|
14271
|
-
}
|
|
14272
14170
|
async function getGoal(httpClient, organization_id, workspace_id, goal_id, signal) {
|
|
14273
14171
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/goals/${goal_id}`, { signal }).json();
|
|
14274
14172
|
}
|
|
@@ -14507,18 +14405,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14507
14405
|
async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
|
|
14508
14406
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
|
|
14509
14407
|
}
|
|
14510
|
-
async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
14511
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
14512
|
-
}
|
|
14513
|
-
async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
|
|
14514
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
|
|
14515
|
-
signal,
|
|
14516
|
-
json: data
|
|
14517
|
-
}).json();
|
|
14518
|
-
}
|
|
14519
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
14520
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
14521
|
-
}
|
|
14522
14408
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14523
14409
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
14524
14410
|
}
|
|
@@ -14588,49 +14474,12 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
|
|
|
14588
14474
|
}).json();
|
|
14589
14475
|
}
|
|
14590
14476
|
//#endregion
|
|
14591
|
-
//#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
|
|
14592
|
-
async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
|
|
14593
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
|
|
14594
|
-
signal,
|
|
14595
|
-
searchParams: buildSearchParams$3({ target_period_start })
|
|
14596
|
-
}).json();
|
|
14597
|
-
}
|
|
14598
|
-
async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14599
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
|
|
14600
|
-
}
|
|
14601
|
-
async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14602
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
14603
|
-
}
|
|
14604
|
-
async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14605
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
|
|
14606
|
-
}
|
|
14607
|
-
async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14608
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
|
|
14609
|
-
}
|
|
14610
|
-
async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14611
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
14612
|
-
}
|
|
14613
|
-
//#endregion
|
|
14614
14477
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
14615
|
-
async function
|
|
14616
|
-
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
14617
|
-
signal,
|
|
14618
|
-
json: data,
|
|
14619
|
-
searchParams: buildSearchParams$3({
|
|
14620
|
-
response_format,
|
|
14621
|
-
include_dicts
|
|
14622
|
-
})
|
|
14623
|
-
}).json();
|
|
14624
|
-
}
|
|
14625
|
-
async function getFlexqData(httpClient, workspace_id, data, { response_format, include_dicts = false, xTogglReportExport } = {}, signal) {
|
|
14478
|
+
async function getFlexqData(httpClient, workspace_id, data, { include_dicts = false } = {}, signal) {
|
|
14626
14479
|
return await httpClient.post(`reports/workspaces/${workspace_id}/query`, {
|
|
14627
14480
|
signal,
|
|
14628
14481
|
json: data,
|
|
14629
|
-
|
|
14630
|
-
searchParams: buildSearchParams$3({
|
|
14631
|
-
response_format,
|
|
14632
|
-
include_dicts
|
|
14633
|
-
})
|
|
14482
|
+
searchParams: buildSearchParams$3({ include_dicts })
|
|
14634
14483
|
}).json();
|
|
14635
14484
|
}
|
|
14636
14485
|
async function getFlexqDictionary(httpClient, workspace_id, data, signal) {
|
|
@@ -14699,9 +14548,6 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
|
14699
14548
|
async function getFeaturesUpsell(httpClient, organization_id, signal) {
|
|
14700
14549
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
|
|
14701
14550
|
}
|
|
14702
|
-
async function getSubscriptionPlans(httpClient, organization_id, signal) {
|
|
14703
|
-
return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
|
|
14704
|
-
}
|
|
14705
14551
|
async function getCurrentTrial(httpClient, organization_id, signal) {
|
|
14706
14552
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
|
|
14707
14553
|
}
|
|
@@ -14724,7 +14570,7 @@ async function upsertTaskConstraints(httpClient, workspace_id, data, signal) {
|
|
|
14724
14570
|
}
|
|
14725
14571
|
//#endregion
|
|
14726
14572
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
14727
|
-
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,
|
|
14573
|
+
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) {
|
|
14728
14574
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
14729
14575
|
signal,
|
|
14730
14576
|
searchParams: buildSearchParams$3({
|
|
@@ -14748,10 +14594,11 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
14748
14594
|
private: private_,
|
|
14749
14595
|
exclude_empty,
|
|
14750
14596
|
include_ghosts,
|
|
14751
|
-
include_assignees,
|
|
14752
14597
|
min_days,
|
|
14598
|
+
tasks_per_group,
|
|
14599
|
+
include_group_totals,
|
|
14600
|
+
include_unassigned,
|
|
14753
14601
|
include_drafts,
|
|
14754
|
-
cf_filter,
|
|
14755
14602
|
page,
|
|
14756
14603
|
per_page,
|
|
14757
14604
|
order_by
|
|
@@ -14918,26 +14765,8 @@ async function discontinueTimesheetSetup(httpClient, organization_id, workspace_
|
|
|
14918
14765
|
json: data
|
|
14919
14766
|
}).json();
|
|
14920
14767
|
}
|
|
14921
|
-
async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id,
|
|
14922
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, {
|
|
14923
|
-
signal,
|
|
14924
|
-
searchParams: buildSearchParams$3({ include_discontinued })
|
|
14925
|
-
}).json();
|
|
14926
|
-
}
|
|
14927
|
-
async function addTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
14928
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
|
|
14929
|
-
}
|
|
14930
|
-
async function deleteTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
14931
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}`, { signal }).json();
|
|
14932
|
-
}
|
|
14933
|
-
async function discontinueTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, data, signal) {
|
|
14934
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/discontinue`, {
|
|
14935
|
-
signal,
|
|
14936
|
-
json: data
|
|
14937
|
-
}).json();
|
|
14938
|
-
}
|
|
14939
|
-
async function reactivateTimesheetSetupMember(httpClient, organization_id, workspace_id, setup_id, user_account_id, signal) {
|
|
14940
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members/${user_account_id}/reactivate`, { signal }).json();
|
|
14768
|
+
async function getTimesheetSetupMembers(httpClient, organization_id, workspace_id, setup_id, signal) {
|
|
14769
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}/members`, { signal }).json();
|
|
14941
14770
|
}
|
|
14942
14771
|
//#endregion
|
|
14943
14772
|
//#region ../focus-queries/dist/timesheets/requests.ts
|
|
@@ -14972,12 +14801,6 @@ async function bulkRequestChangesTimesheets(httpClient, organization_id, workspa
|
|
|
14972
14801
|
json: data
|
|
14973
14802
|
}).json();
|
|
14974
14803
|
}
|
|
14975
|
-
async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id, data, signal) {
|
|
14976
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/bulk/withdraw`, {
|
|
14977
|
-
signal,
|
|
14978
|
-
json: data
|
|
14979
|
-
}).json();
|
|
14980
|
-
}
|
|
14981
14804
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
14982
14805
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
14983
14806
|
}
|
|
@@ -15093,15 +14916,6 @@ async function deleteWorkingHoursForGhost(httpClient, organization_id, workspace
|
|
|
15093
14916
|
}
|
|
15094
14917
|
//#endregion
|
|
15095
14918
|
//#region ../focus-queries/dist/workspace-settings/requests.ts
|
|
15096
|
-
async function getWorkspaceCurrency(httpClient, workspace_id, signal) {
|
|
15097
|
-
return await httpClient.get(`workspaces/${workspace_id}/currency`, { signal }).json();
|
|
15098
|
-
}
|
|
15099
|
-
async function updateWorkspaceCurrency(httpClient, workspace_id, data, signal) {
|
|
15100
|
-
return await httpClient.patch(`workspaces/${workspace_id}/currency`, {
|
|
15101
|
-
signal,
|
|
15102
|
-
json: data
|
|
15103
|
-
}).json();
|
|
15104
|
-
}
|
|
15105
14919
|
async function getUserPermissions(httpClient, workspace_id, signal) {
|
|
15106
14920
|
return await httpClient.get(`workspaces/${workspace_id}/permissions`, { signal }).json();
|
|
15107
14921
|
}
|
|
@@ -15225,29 +15039,6 @@ const generatedFocusOperations = [
|
|
|
15225
15039
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
15226
15040
|
}
|
|
15227
15041
|
},
|
|
15228
|
-
{
|
|
15229
|
-
id: "focus.attachments.get-workspace-attachment-storage",
|
|
15230
|
-
family: "focus",
|
|
15231
|
-
resource: "attachments",
|
|
15232
|
-
action: "get-workspace-attachment-storage",
|
|
15233
|
-
title: "Get Workspace Attachment Storage Attachments",
|
|
15234
|
-
description: "Get Workspace Attachment Storage Attachments.",
|
|
15235
|
-
safety: "read",
|
|
15236
|
-
destructive: false,
|
|
15237
|
-
cli: {
|
|
15238
|
-
group: ["attachments"],
|
|
15239
|
-
command: "get-workspace-attachment-storage",
|
|
15240
|
-
interactive: "hidden"
|
|
15241
|
-
},
|
|
15242
|
-
mcp: { entityTool: "attachments" },
|
|
15243
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15244
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceAttachmentStorage", () => callGeneratedRequest(getWorkspaceAttachmentStorage, [
|
|
15245
|
-
client.httpClient,
|
|
15246
|
-
client.organizationId,
|
|
15247
|
-
client.workspaceIdNumber,
|
|
15248
|
-
void 0
|
|
15249
|
-
]))
|
|
15250
|
-
},
|
|
15251
15042
|
{
|
|
15252
15043
|
id: "focus.audit-log.list",
|
|
15253
15044
|
family: "focus",
|
|
@@ -15326,54 +15117,6 @@ const generatedFocusOperations = [
|
|
|
15326
15117
|
]));
|
|
15327
15118
|
}
|
|
15328
15119
|
},
|
|
15329
|
-
{
|
|
15330
|
-
id: "focus.capacities.settings-list",
|
|
15331
|
-
family: "focus",
|
|
15332
|
-
resource: "capacities",
|
|
15333
|
-
action: "settings-list",
|
|
15334
|
-
title: "Settings List Capacities",
|
|
15335
|
-
description: "Settings List Capacities.",
|
|
15336
|
-
safety: "read",
|
|
15337
|
-
destructive: false,
|
|
15338
|
-
cli: {
|
|
15339
|
-
group: ["capacities", "settings"],
|
|
15340
|
-
command: "list",
|
|
15341
|
-
interactive: "hidden"
|
|
15342
|
-
},
|
|
15343
|
-
mcp: { entityTool: "capacities" },
|
|
15344
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
15345
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getCapacitySettings", () => callGeneratedRequest(getCapacitySettings, [
|
|
15346
|
-
client.httpClient,
|
|
15347
|
-
client.workspaceIdNumber,
|
|
15348
|
-
void 0
|
|
15349
|
-
]))
|
|
15350
|
-
},
|
|
15351
|
-
{
|
|
15352
|
-
id: "focus.capacities.settings-update",
|
|
15353
|
-
family: "focus",
|
|
15354
|
-
resource: "capacities",
|
|
15355
|
-
action: "settings-update",
|
|
15356
|
-
title: "Settings Update Capacities",
|
|
15357
|
-
description: "Settings Update Capacities.",
|
|
15358
|
-
safety: "update",
|
|
15359
|
-
destructive: false,
|
|
15360
|
-
cli: {
|
|
15361
|
-
group: ["capacities", "settings"],
|
|
15362
|
-
command: "update",
|
|
15363
|
-
interactive: "default"
|
|
15364
|
-
},
|
|
15365
|
-
mcp: { entityTool: "capacities" },
|
|
15366
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ public_holidays_enabled: /* @__PURE__ */ boolean$1() }) }),
|
|
15367
|
-
execute: (input, { client }) => {
|
|
15368
|
-
const data = input;
|
|
15369
|
-
return client.runGeneratedRequest("updateCapacitySettings", () => callGeneratedRequest(updateCapacitySettings, [
|
|
15370
|
-
client.httpClient,
|
|
15371
|
-
client.workspaceIdNumber,
|
|
15372
|
-
data.payload ?? data.data ?? data,
|
|
15373
|
-
void 0
|
|
15374
|
-
]));
|
|
15375
|
-
}
|
|
15376
|
-
},
|
|
15377
15120
|
{
|
|
15378
15121
|
id: "focus.clients.create",
|
|
15379
15122
|
family: "focus",
|
|
@@ -15605,14 +15348,12 @@ const generatedFocusOperations = [
|
|
|
15605
15348
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
15606
15349
|
task: /* @__PURE__ */ looseObject({
|
|
15607
15350
|
name: /* @__PURE__ */ string$1(),
|
|
15608
|
-
allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
|
|
15609
15351
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
15610
15352
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
15611
15353
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
15612
15354
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15613
15355
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
15614
15356
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
15615
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
15616
15357
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15617
15358
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15618
15359
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -15634,14 +15375,12 @@ const generatedFocusOperations = [
|
|
|
15634
15375
|
}),
|
|
15635
15376
|
subtasks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
15636
15377
|
name: /* @__PURE__ */ string$1(),
|
|
15637
|
-
allocation_unit: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["percent", "flat"])),
|
|
15638
15378
|
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
15639
15379
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
15640
15380
|
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
15641
15381
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15642
15382
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
15643
15383
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
15644
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
15645
15384
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15646
15385
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15647
15386
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -16046,7 +15785,11 @@ const generatedFocusOperations = [
|
|
|
16046
15785
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16047
15786
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16048
15787
|
icon: /* @__PURE__ */ string$1(),
|
|
16049
|
-
monthly_anchor: /* @__PURE__ */ picklist$1([
|
|
15788
|
+
monthly_anchor: /* @__PURE__ */ picklist$1([
|
|
15789
|
+
"calendar",
|
|
15790
|
+
"month_end",
|
|
15791
|
+
"first_workday"
|
|
15792
|
+
]),
|
|
16050
15793
|
name: /* @__PURE__ */ string$1(),
|
|
16051
15794
|
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16052
15795
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
@@ -16058,10 +15801,7 @@ const generatedFocusOperations = [
|
|
|
16058
15801
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16059
15802
|
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16060
15803
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16061
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16062
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16063
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16064
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
15804
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
16065
15805
|
}) }),
|
|
16066
15806
|
execute: (input, { client }) => {
|
|
16067
15807
|
const data = input;
|
|
@@ -16151,81 +15891,6 @@ const generatedFocusOperations = [
|
|
|
16151
15891
|
void 0
|
|
16152
15892
|
]))
|
|
16153
15893
|
},
|
|
16154
|
-
{
|
|
16155
|
-
id: "focus.goals.preview-goal-tracked-time",
|
|
16156
|
-
family: "focus",
|
|
16157
|
-
resource: "goals",
|
|
16158
|
-
action: "preview-goal-tracked-time",
|
|
16159
|
-
title: "Preview Goal Tracked Time Goals",
|
|
16160
|
-
description: "Preview Goal Tracked Time Goals.",
|
|
16161
|
-
safety: "read",
|
|
16162
|
-
destructive: false,
|
|
16163
|
-
cli: {
|
|
16164
|
-
group: ["goals"],
|
|
16165
|
-
command: "preview-goal-tracked-time",
|
|
16166
|
-
interactive: "available"
|
|
16167
|
-
},
|
|
16168
|
-
mcp: { entityTool: "goals" },
|
|
16169
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16170
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16171
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16172
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16173
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16174
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16175
|
-
name: /* @__PURE__ */ string$1(),
|
|
16176
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16177
|
-
recurrence: /* @__PURE__ */ picklist$1([
|
|
16178
|
-
"daily",
|
|
16179
|
-
"weekly",
|
|
16180
|
-
"daily_workdays",
|
|
16181
|
-
"monthly"
|
|
16182
|
-
]),
|
|
16183
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16184
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16185
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16186
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16187
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16188
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16189
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16190
|
-
}) }),
|
|
16191
|
-
execute: (input, { client }) => {
|
|
16192
|
-
const data = input;
|
|
16193
|
-
return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
|
|
16194
|
-
client.httpClient,
|
|
16195
|
-
client.organizationId,
|
|
16196
|
-
client.workspaceIdNumber,
|
|
16197
|
-
data.payload ?? data.data ?? data,
|
|
16198
|
-
void 0
|
|
16199
|
-
]));
|
|
16200
|
-
}
|
|
16201
|
-
},
|
|
16202
|
-
{
|
|
16203
|
-
id: "focus.goals.reorder",
|
|
16204
|
-
family: "focus",
|
|
16205
|
-
resource: "goals",
|
|
16206
|
-
action: "reorder",
|
|
16207
|
-
title: "Reorder Goals",
|
|
16208
|
-
description: "Reorder Goals.",
|
|
16209
|
-
safety: "read",
|
|
16210
|
-
destructive: false,
|
|
16211
|
-
cli: {
|
|
16212
|
-
group: ["goals"],
|
|
16213
|
-
command: "reorder",
|
|
16214
|
-
interactive: "available"
|
|
16215
|
-
},
|
|
16216
|
-
mcp: { entityTool: "goals" },
|
|
16217
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ goal_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
16218
|
-
execute: (input, { client }) => {
|
|
16219
|
-
const data = input;
|
|
16220
|
-
return client.runGeneratedRequest("reorderGoals", () => callGeneratedRequest(reorderGoals, [
|
|
16221
|
-
client.httpClient,
|
|
16222
|
-
client.organizationId,
|
|
16223
|
-
client.workspaceIdNumber,
|
|
16224
|
-
data.payload ?? data.data ?? data,
|
|
16225
|
-
void 0
|
|
16226
|
-
]));
|
|
16227
|
-
}
|
|
16228
|
-
},
|
|
16229
15894
|
{
|
|
16230
15895
|
id: "focus.goals.update",
|
|
16231
15896
|
family: "focus",
|
|
@@ -16570,32 +16235,6 @@ const generatedFocusOperations = [
|
|
|
16570
16235
|
]));
|
|
16571
16236
|
}
|
|
16572
16237
|
},
|
|
16573
|
-
{
|
|
16574
|
-
id: "focus.organization.get-member-tags",
|
|
16575
|
-
family: "focus",
|
|
16576
|
-
resource: "organization",
|
|
16577
|
-
action: "get-member-tags",
|
|
16578
|
-
title: "Get Member Tags Organization",
|
|
16579
|
-
description: "Get Member Tags Organization.",
|
|
16580
|
-
safety: "read",
|
|
16581
|
-
destructive: false,
|
|
16582
|
-
cli: {
|
|
16583
|
-
group: ["organization"],
|
|
16584
|
-
command: "get-member-tags",
|
|
16585
|
-
interactive: "available"
|
|
16586
|
-
},
|
|
16587
|
-
mcp: { entityTool: "organization" },
|
|
16588
|
-
inputSchema: /* @__PURE__ */ looseObject({ workspace_id: /* @__PURE__ */ number$2() }),
|
|
16589
|
-
execute: (input, { client }) => {
|
|
16590
|
-
const data = input;
|
|
16591
|
-
return client.runGeneratedRequest("getOrganizationMemberTags", () => callGeneratedRequest(getOrganizationMemberTags, [
|
|
16592
|
-
client.httpClient,
|
|
16593
|
-
client.organizationId,
|
|
16594
|
-
data,
|
|
16595
|
-
void 0
|
|
16596
|
-
]));
|
|
16597
|
-
}
|
|
16598
|
-
},
|
|
16599
16238
|
{
|
|
16600
16239
|
id: "focus.organization.get-my-groups",
|
|
16601
16240
|
family: "focus",
|
|
@@ -16656,13 +16295,11 @@ const generatedFocusOperations = [
|
|
|
16656
16295
|
},
|
|
16657
16296
|
mcp: { entityTool: "organization" },
|
|
16658
16297
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16659
|
-
active_members_only: /* @__PURE__ */ unknown$1(),
|
|
16660
16298
|
filter: /* @__PURE__ */ unknown$1(),
|
|
16661
16299
|
group_ids: /* @__PURE__ */ unknown$1(),
|
|
16662
16300
|
organization_user_id: /* @__PURE__ */ number$2(),
|
|
16663
16301
|
page: /* @__PURE__ */ number$2(),
|
|
16664
16302
|
per_page: /* @__PURE__ */ unknown$1(),
|
|
16665
|
-
query: /* @__PURE__ */ unknown$1(),
|
|
16666
16303
|
sort_dir: /* @__PURE__ */ unknown$1(),
|
|
16667
16304
|
workspace_id: /* @__PURE__ */ number$2()
|
|
16668
16305
|
}),
|
|
@@ -17478,7 +17115,6 @@ const generatedFocusOperations = [
|
|
|
17478
17115
|
},
|
|
17479
17116
|
mcp: { entityTool: "projects" },
|
|
17480
17117
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17481
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17482
17118
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17483
17119
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17484
17120
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -17634,24 +17270,24 @@ const generatedFocusOperations = [
|
|
|
17634
17270
|
}
|
|
17635
17271
|
},
|
|
17636
17272
|
{
|
|
17637
|
-
id: "focus.projects.
|
|
17273
|
+
id: "focus.projects.margin-targets-clear",
|
|
17638
17274
|
family: "focus",
|
|
17639
17275
|
resource: "projects",
|
|
17640
|
-
action: "
|
|
17641
|
-
title: "
|
|
17642
|
-
description: "
|
|
17643
|
-
safety: "
|
|
17644
|
-
destructive:
|
|
17276
|
+
action: "margin-targets-clear",
|
|
17277
|
+
title: "Margin Targets Clear Projects",
|
|
17278
|
+
description: "Margin Targets Clear Projects.",
|
|
17279
|
+
safety: "delete",
|
|
17280
|
+
destructive: true,
|
|
17645
17281
|
cli: {
|
|
17646
|
-
group: ["projects"],
|
|
17647
|
-
command: "
|
|
17648
|
-
interactive: "
|
|
17282
|
+
group: ["projects", "margin-targets"],
|
|
17283
|
+
command: "clear",
|
|
17284
|
+
interactive: "default"
|
|
17649
17285
|
},
|
|
17650
17286
|
mcp: { entityTool: "projects" },
|
|
17651
17287
|
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
17652
17288
|
execute: (input, { client }) => {
|
|
17653
17289
|
const data = input;
|
|
17654
|
-
return client.runGeneratedRequest("
|
|
17290
|
+
return client.runGeneratedRequest("clearProjectMarginTarget", () => callGeneratedRequest(clearProjectMarginTarget, [
|
|
17655
17291
|
client.httpClient,
|
|
17656
17292
|
client.organizationId,
|
|
17657
17293
|
client.workspaceIdNumber,
|
|
@@ -17660,56 +17296,6 @@ const generatedFocusOperations = [
|
|
|
17660
17296
|
]));
|
|
17661
17297
|
}
|
|
17662
17298
|
},
|
|
17663
|
-
{
|
|
17664
|
-
id: "focus.projects.margin-targets-clear",
|
|
17665
|
-
family: "focus",
|
|
17666
|
-
resource: "projects",
|
|
17667
|
-
action: "margin-targets-clear",
|
|
17668
|
-
title: "Margin Targets Clear Projects",
|
|
17669
|
-
description: "Margin Targets Clear Projects.",
|
|
17670
|
-
safety: "delete",
|
|
17671
|
-
destructive: true,
|
|
17672
|
-
cli: {
|
|
17673
|
-
group: ["projects", "margin-targets"],
|
|
17674
|
-
command: "clear",
|
|
17675
|
-
interactive: "default"
|
|
17676
|
-
},
|
|
17677
|
-
mcp: { entityTool: "projects" },
|
|
17678
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
17679
|
-
execute: (input, { client }) => {
|
|
17680
|
-
const data = input;
|
|
17681
|
-
return client.runGeneratedRequest("clearProjectMarginTarget", () => callGeneratedRequest(clearProjectMarginTarget, [
|
|
17682
|
-
client.httpClient,
|
|
17683
|
-
client.organizationId,
|
|
17684
|
-
client.workspaceIdNumber,
|
|
17685
|
-
data.project_id,
|
|
17686
|
-
void 0
|
|
17687
|
-
]));
|
|
17688
|
-
}
|
|
17689
|
-
},
|
|
17690
|
-
{
|
|
17691
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
17692
|
-
family: "focus",
|
|
17693
|
-
resource: "projects",
|
|
17694
|
-
action: "margin-targets-clear-workspace",
|
|
17695
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
17696
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
17697
|
-
safety: "delete",
|
|
17698
|
-
destructive: true,
|
|
17699
|
-
cli: {
|
|
17700
|
-
group: ["projects", "margin-targets"],
|
|
17701
|
-
command: "clear-workspace",
|
|
17702
|
-
interactive: "default"
|
|
17703
|
-
},
|
|
17704
|
-
mcp: { entityTool: "projects" },
|
|
17705
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
17706
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
17707
|
-
client.httpClient,
|
|
17708
|
-
client.organizationId,
|
|
17709
|
-
client.workspaceIdNumber,
|
|
17710
|
-
void 0
|
|
17711
|
-
]))
|
|
17712
|
-
},
|
|
17713
17299
|
{
|
|
17714
17300
|
id: "focus.projects.margin-targets-get",
|
|
17715
17301
|
family: "focus",
|
|
@@ -17737,29 +17323,6 @@ const generatedFocusOperations = [
|
|
|
17737
17323
|
]));
|
|
17738
17324
|
}
|
|
17739
17325
|
},
|
|
17740
|
-
{
|
|
17741
|
-
id: "focus.projects.margin-targets-get-workspace",
|
|
17742
|
-
family: "focus",
|
|
17743
|
-
resource: "projects",
|
|
17744
|
-
action: "margin-targets-get-workspace",
|
|
17745
|
-
title: "Margin Targets Get Workspace Projects",
|
|
17746
|
-
description: "Margin Targets Get Workspace Projects.",
|
|
17747
|
-
safety: "read",
|
|
17748
|
-
destructive: false,
|
|
17749
|
-
cli: {
|
|
17750
|
-
group: ["projects", "margin-targets"],
|
|
17751
|
-
command: "get-workspace",
|
|
17752
|
-
interactive: "hidden"
|
|
17753
|
-
},
|
|
17754
|
-
mcp: { entityTool: "projects" },
|
|
17755
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
17756
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
|
|
17757
|
-
client.httpClient,
|
|
17758
|
-
client.organizationId,
|
|
17759
|
-
client.workspaceIdNumber,
|
|
17760
|
-
void 0
|
|
17761
|
-
]))
|
|
17762
|
-
},
|
|
17763
17326
|
{
|
|
17764
17327
|
id: "focus.projects.margin-targets-list",
|
|
17765
17328
|
family: "focus",
|
|
@@ -17814,33 +17377,6 @@ const generatedFocusOperations = [
|
|
|
17814
17377
|
]));
|
|
17815
17378
|
}
|
|
17816
17379
|
},
|
|
17817
|
-
{
|
|
17818
|
-
id: "focus.projects.margin-targets-set-workspace",
|
|
17819
|
-
family: "focus",
|
|
17820
|
-
resource: "projects",
|
|
17821
|
-
action: "margin-targets-set-workspace",
|
|
17822
|
-
title: "Margin Targets Set Workspace Projects",
|
|
17823
|
-
description: "Margin Targets Set Workspace Projects.",
|
|
17824
|
-
safety: "read",
|
|
17825
|
-
destructive: false,
|
|
17826
|
-
cli: {
|
|
17827
|
-
group: ["projects", "margin-targets"],
|
|
17828
|
-
command: "set-workspace",
|
|
17829
|
-
interactive: "available"
|
|
17830
|
-
},
|
|
17831
|
-
mcp: { entityTool: "projects" },
|
|
17832
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
|
|
17833
|
-
execute: (input, { client }) => {
|
|
17834
|
-
const data = input;
|
|
17835
|
-
return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
|
|
17836
|
-
client.httpClient,
|
|
17837
|
-
client.organizationId,
|
|
17838
|
-
client.workspaceIdNumber,
|
|
17839
|
-
data.payload ?? data.data ?? data,
|
|
17840
|
-
void 0
|
|
17841
|
-
]));
|
|
17842
|
-
}
|
|
17843
|
-
},
|
|
17844
17380
|
{
|
|
17845
17381
|
id: "focus.projects.pin",
|
|
17846
17382
|
family: "focus",
|
|
@@ -19628,172 +19164,6 @@ const generatedFocusOperations = [
|
|
|
19628
19164
|
]));
|
|
19629
19165
|
}
|
|
19630
19166
|
},
|
|
19631
|
-
{
|
|
19632
|
-
id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
|
|
19633
|
-
family: "focus",
|
|
19634
|
-
resource: "recurring-budget-suggestions",
|
|
19635
|
-
action: "accept-arecurring-project-budget-suggestion",
|
|
19636
|
-
title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
19637
|
-
description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
19638
|
-
safety: "read",
|
|
19639
|
-
destructive: false,
|
|
19640
|
-
cli: {
|
|
19641
|
-
group: ["recurring-budget-suggestions"],
|
|
19642
|
-
command: "accept-arecurring-project-budget-suggestion",
|
|
19643
|
-
interactive: "available"
|
|
19644
|
-
},
|
|
19645
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19646
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
19647
|
-
execute: (input, { client }) => {
|
|
19648
|
-
const data = input;
|
|
19649
|
-
return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
|
|
19650
|
-
client.httpClient,
|
|
19651
|
-
client.organizationId,
|
|
19652
|
-
client.workspaceIdNumber,
|
|
19653
|
-
data.project_id,
|
|
19654
|
-
void 0
|
|
19655
|
-
]));
|
|
19656
|
-
}
|
|
19657
|
-
},
|
|
19658
|
-
{
|
|
19659
|
-
id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
|
|
19660
|
-
family: "focus",
|
|
19661
|
-
resource: "recurring-budget-suggestions",
|
|
19662
|
-
action: "accept-atemplate-estimate-suggestion",
|
|
19663
|
-
title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
19664
|
-
description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
19665
|
-
safety: "read",
|
|
19666
|
-
destructive: false,
|
|
19667
|
-
cli: {
|
|
19668
|
-
group: ["recurring-budget-suggestions"],
|
|
19669
|
-
command: "accept-atemplate-estimate-suggestion",
|
|
19670
|
-
interactive: "available"
|
|
19671
|
-
},
|
|
19672
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19673
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
19674
|
-
execute: (input, { client }) => {
|
|
19675
|
-
const data = input;
|
|
19676
|
-
return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
|
|
19677
|
-
client.httpClient,
|
|
19678
|
-
client.organizationId,
|
|
19679
|
-
client.workspaceIdNumber,
|
|
19680
|
-
data.project_id,
|
|
19681
|
-
void 0
|
|
19682
|
-
]));
|
|
19683
|
-
}
|
|
19684
|
-
},
|
|
19685
|
-
{
|
|
19686
|
-
id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
|
|
19687
|
-
family: "focus",
|
|
19688
|
-
resource: "recurring-budget-suggestions",
|
|
19689
|
-
action: "dismiss-arecurring-project-budget-suggestion",
|
|
19690
|
-
title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
19691
|
-
description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
19692
|
-
safety: "read",
|
|
19693
|
-
destructive: false,
|
|
19694
|
-
cli: {
|
|
19695
|
-
group: ["recurring-budget-suggestions"],
|
|
19696
|
-
command: "dismiss-arecurring-project-budget-suggestion",
|
|
19697
|
-
interactive: "available"
|
|
19698
|
-
},
|
|
19699
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19700
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
19701
|
-
execute: (input, { client }) => {
|
|
19702
|
-
const data = input;
|
|
19703
|
-
return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
|
|
19704
|
-
client.httpClient,
|
|
19705
|
-
client.organizationId,
|
|
19706
|
-
client.workspaceIdNumber,
|
|
19707
|
-
data.project_id,
|
|
19708
|
-
void 0
|
|
19709
|
-
]));
|
|
19710
|
-
}
|
|
19711
|
-
},
|
|
19712
|
-
{
|
|
19713
|
-
id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
|
|
19714
|
-
family: "focus",
|
|
19715
|
-
resource: "recurring-budget-suggestions",
|
|
19716
|
-
action: "dismiss-atemplate-estimate-suggestion",
|
|
19717
|
-
title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
19718
|
-
description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
19719
|
-
safety: "read",
|
|
19720
|
-
destructive: false,
|
|
19721
|
-
cli: {
|
|
19722
|
-
group: ["recurring-budget-suggestions"],
|
|
19723
|
-
command: "dismiss-atemplate-estimate-suggestion",
|
|
19724
|
-
interactive: "available"
|
|
19725
|
-
},
|
|
19726
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19727
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
19728
|
-
execute: (input, { client }) => {
|
|
19729
|
-
const data = input;
|
|
19730
|
-
return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
|
|
19731
|
-
client.httpClient,
|
|
19732
|
-
client.organizationId,
|
|
19733
|
-
client.workspaceIdNumber,
|
|
19734
|
-
data.project_id,
|
|
19735
|
-
void 0
|
|
19736
|
-
]));
|
|
19737
|
-
}
|
|
19738
|
-
},
|
|
19739
|
-
{
|
|
19740
|
-
id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
|
|
19741
|
-
family: "focus",
|
|
19742
|
-
resource: "recurring-budget-suggestions",
|
|
19743
|
-
action: "get-recurring-project-budget-suggestion",
|
|
19744
|
-
title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
19745
|
-
description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
19746
|
-
safety: "read",
|
|
19747
|
-
destructive: false,
|
|
19748
|
-
cli: {
|
|
19749
|
-
group: ["recurring-budget-suggestions"],
|
|
19750
|
-
command: "get-recurring-project-budget-suggestion",
|
|
19751
|
-
interactive: "hidden"
|
|
19752
|
-
},
|
|
19753
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19754
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19755
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
19756
|
-
target_period_start: /* @__PURE__ */ unknown$1()
|
|
19757
|
-
}),
|
|
19758
|
-
execute: (input, { client }) => {
|
|
19759
|
-
const data = input;
|
|
19760
|
-
return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
|
|
19761
|
-
client.httpClient,
|
|
19762
|
-
client.organizationId,
|
|
19763
|
-
client.workspaceIdNumber,
|
|
19764
|
-
data.project_id,
|
|
19765
|
-
data,
|
|
19766
|
-
void 0
|
|
19767
|
-
]));
|
|
19768
|
-
}
|
|
19769
|
-
},
|
|
19770
|
-
{
|
|
19771
|
-
id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
|
|
19772
|
-
family: "focus",
|
|
19773
|
-
resource: "recurring-budget-suggestions",
|
|
19774
|
-
action: "get-template-estimate-suggestion",
|
|
19775
|
-
title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
|
|
19776
|
-
description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
|
|
19777
|
-
safety: "read",
|
|
19778
|
-
destructive: false,
|
|
19779
|
-
cli: {
|
|
19780
|
-
group: ["recurring-budget-suggestions"],
|
|
19781
|
-
command: "get-template-estimate-suggestion",
|
|
19782
|
-
interactive: "available"
|
|
19783
|
-
},
|
|
19784
|
-
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
19785
|
-
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
19786
|
-
execute: (input, { client }) => {
|
|
19787
|
-
const data = input;
|
|
19788
|
-
return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
|
|
19789
|
-
client.httpClient,
|
|
19790
|
-
client.organizationId,
|
|
19791
|
-
client.workspaceIdNumber,
|
|
19792
|
-
data.project_id,
|
|
19793
|
-
void 0
|
|
19794
|
-
]));
|
|
19795
|
-
}
|
|
19796
|
-
},
|
|
19797
19167
|
{
|
|
19798
19168
|
id: "focus.reports.get-flexq-data",
|
|
19799
19169
|
family: "focus",
|
|
@@ -19809,53 +19179,49 @@ const generatedFocusOperations = [
|
|
|
19809
19179
|
interactive: "hidden"
|
|
19810
19180
|
},
|
|
19811
19181
|
mcp: { entityTool: "reports" },
|
|
19812
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19813
|
-
|
|
19814
|
-
|
|
19815
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
19816
|
-
function: /* @__PURE__ */ string$1(),
|
|
19817
|
-
property: /* @__PURE__ */ string$1()
|
|
19818
|
-
}),
|
|
19819
|
-
operator: /* @__PURE__ */ string$1(),
|
|
19820
|
-
property: /* @__PURE__ */ string$1()
|
|
19821
|
-
})),
|
|
19822
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19182
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
19183
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19184
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
19823
19185
|
function: /* @__PURE__ */ string$1(),
|
|
19824
19186
|
property: /* @__PURE__ */ string$1()
|
|
19825
|
-
})),
|
|
19826
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
19827
|
-
currency: /* @__PURE__ */ string$1(),
|
|
19828
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19829
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
19830
|
-
operator: /* @__PURE__ */ string$1(),
|
|
19831
|
-
property: /* @__PURE__ */ string$1()
|
|
19832
|
-
})),
|
|
19833
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19834
|
-
property: /* @__PURE__ */ string$1(),
|
|
19835
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
19836
|
-
})),
|
|
19837
|
-
limit: /* @__PURE__ */ number$2(),
|
|
19838
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19839
|
-
direction: /* @__PURE__ */ string$1(),
|
|
19840
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
19841
|
-
property: /* @__PURE__ */ string$1()
|
|
19842
|
-
})),
|
|
19843
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
19844
|
-
page: /* @__PURE__ */ number$2(),
|
|
19845
|
-
per_page: /* @__PURE__ */ number$2()
|
|
19846
19187
|
}),
|
|
19847
|
-
|
|
19848
|
-
|
|
19849
|
-
|
|
19850
|
-
|
|
19851
|
-
|
|
19852
|
-
|
|
19853
|
-
|
|
19854
|
-
|
|
19855
|
-
|
|
19188
|
+
operator: /* @__PURE__ */ string$1(),
|
|
19189
|
+
property: /* @__PURE__ */ string$1()
|
|
19190
|
+
})),
|
|
19191
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19192
|
+
function: /* @__PURE__ */ string$1(),
|
|
19193
|
+
property: /* @__PURE__ */ string$1()
|
|
19194
|
+
})),
|
|
19195
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
19196
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19197
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
19198
|
+
operator: /* @__PURE__ */ string$1(),
|
|
19199
|
+
property: /* @__PURE__ */ string$1()
|
|
19200
|
+
})),
|
|
19201
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19202
|
+
property: /* @__PURE__ */ string$1(),
|
|
19203
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
19204
|
+
})),
|
|
19205
|
+
limit: /* @__PURE__ */ number$2(),
|
|
19206
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19207
|
+
direction: /* @__PURE__ */ string$1(),
|
|
19208
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
19209
|
+
property: /* @__PURE__ */ string$1()
|
|
19210
|
+
})),
|
|
19211
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
19212
|
+
page: /* @__PURE__ */ number$2(),
|
|
19213
|
+
per_page: /* @__PURE__ */ number$2()
|
|
19856
19214
|
}),
|
|
19857
|
-
|
|
19858
|
-
|
|
19215
|
+
period: /* @__PURE__ */ looseObject({
|
|
19216
|
+
from: /* @__PURE__ */ string$1(),
|
|
19217
|
+
preset: /* @__PURE__ */ string$1(),
|
|
19218
|
+
to: /* @__PURE__ */ string$1()
|
|
19219
|
+
}),
|
|
19220
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19221
|
+
name: /* @__PURE__ */ string$1(),
|
|
19222
|
+
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
19223
|
+
}))
|
|
19224
|
+
}) }),
|
|
19859
19225
|
execute: (input, { client }) => {
|
|
19860
19226
|
const data = input;
|
|
19861
19227
|
return client.runGeneratedRequest("getFlexqData", () => callGeneratedRequest(getFlexqData, [
|
|
@@ -19868,102 +19234,27 @@ const generatedFocusOperations = [
|
|
|
19868
19234
|
}
|
|
19869
19235
|
},
|
|
19870
19236
|
{
|
|
19871
|
-
id: "focus.reports.get-flexq-dictionary",
|
|
19872
|
-
family: "focus",
|
|
19873
|
-
resource: "reports",
|
|
19874
|
-
action: "get-flexq-dictionary",
|
|
19875
|
-
title: "Get Flexq Dictionary Reports",
|
|
19876
|
-
description: "Get Flexq Dictionary Reports.",
|
|
19877
|
-
safety: "read",
|
|
19878
|
-
destructive: false,
|
|
19879
|
-
cli: {
|
|
19880
|
-
group: ["reports"],
|
|
19881
|
-
command: "get-flexq-dictionary",
|
|
19882
|
-
interactive: "hidden"
|
|
19883
|
-
},
|
|
19884
|
-
mcp: { entityTool: "reports" },
|
|
19885
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
19886
|
-
execute: (input, { client }) => {
|
|
19887
|
-
const data = input;
|
|
19888
|
-
return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
|
|
19889
|
-
client.httpClient,
|
|
19890
|
-
client.workspaceIdNumber,
|
|
19891
|
-
data.payload ?? data.data ?? data,
|
|
19892
|
-
void 0
|
|
19893
|
-
]));
|
|
19894
|
-
}
|
|
19895
|
-
},
|
|
19896
|
-
{
|
|
19897
|
-
id: "focus.reports.get-profitability",
|
|
19237
|
+
id: "focus.reports.get-flexq-dictionary",
|
|
19898
19238
|
family: "focus",
|
|
19899
19239
|
resource: "reports",
|
|
19900
|
-
action: "get-
|
|
19901
|
-
title: "Get
|
|
19902
|
-
description: "Get
|
|
19240
|
+
action: "get-flexq-dictionary",
|
|
19241
|
+
title: "Get Flexq Dictionary Reports",
|
|
19242
|
+
description: "Get Flexq Dictionary Reports.",
|
|
19903
19243
|
safety: "read",
|
|
19904
19244
|
destructive: false,
|
|
19905
19245
|
cli: {
|
|
19906
19246
|
group: ["reports"],
|
|
19907
|
-
command: "get-
|
|
19247
|
+
command: "get-flexq-dictionary",
|
|
19908
19248
|
interactive: "hidden"
|
|
19909
19249
|
},
|
|
19910
19250
|
mcp: { entityTool: "reports" },
|
|
19911
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19912
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
19913
|
-
payload: /* @__PURE__ */ looseObject({
|
|
19914
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19915
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
19916
|
-
function: /* @__PURE__ */ string$1(),
|
|
19917
|
-
property: /* @__PURE__ */ string$1()
|
|
19918
|
-
}),
|
|
19919
|
-
operator: /* @__PURE__ */ string$1(),
|
|
19920
|
-
property: /* @__PURE__ */ string$1()
|
|
19921
|
-
})),
|
|
19922
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19923
|
-
function: /* @__PURE__ */ string$1(),
|
|
19924
|
-
property: /* @__PURE__ */ string$1()
|
|
19925
|
-
})),
|
|
19926
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
19927
|
-
currency: /* @__PURE__ */ string$1(),
|
|
19928
|
-
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19929
|
-
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
19930
|
-
operator: /* @__PURE__ */ string$1(),
|
|
19931
|
-
property: /* @__PURE__ */ string$1()
|
|
19932
|
-
})),
|
|
19933
|
-
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19934
|
-
property: /* @__PURE__ */ string$1(),
|
|
19935
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
19936
|
-
})),
|
|
19937
|
-
limit: /* @__PURE__ */ number$2(),
|
|
19938
|
-
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19939
|
-
direction: /* @__PURE__ */ string$1(),
|
|
19940
|
-
nulls: /* @__PURE__ */ string$1(),
|
|
19941
|
-
property: /* @__PURE__ */ string$1()
|
|
19942
|
-
})),
|
|
19943
|
-
pagination: /* @__PURE__ */ looseObject({
|
|
19944
|
-
page: /* @__PURE__ */ number$2(),
|
|
19945
|
-
per_page: /* @__PURE__ */ number$2()
|
|
19946
|
-
}),
|
|
19947
|
-
period: /* @__PURE__ */ looseObject({
|
|
19948
|
-
from: /* @__PURE__ */ string$1(),
|
|
19949
|
-
preset: /* @__PURE__ */ string$1(),
|
|
19950
|
-
to: /* @__PURE__ */ string$1()
|
|
19951
|
-
}),
|
|
19952
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19953
|
-
name: /* @__PURE__ */ string$1(),
|
|
19954
|
-
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
19955
|
-
}))
|
|
19956
|
-
}),
|
|
19957
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
19958
|
-
}),
|
|
19251
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
19959
19252
|
execute: (input, { client }) => {
|
|
19960
19253
|
const data = input;
|
|
19961
|
-
return client.runGeneratedRequest("
|
|
19254
|
+
return client.runGeneratedRequest("getFlexqDictionary", () => callGeneratedRequest(getFlexqDictionary, [
|
|
19962
19255
|
client.httpClient,
|
|
19963
19256
|
client.workspaceIdNumber,
|
|
19964
19257
|
data.payload ?? data.data ?? data,
|
|
19965
|
-
data.response_format,
|
|
19966
|
-
data.include_dicts,
|
|
19967
19258
|
void 0
|
|
19968
19259
|
]));
|
|
19969
19260
|
}
|
|
@@ -19997,7 +19288,6 @@ const generatedFocusOperations = [
|
|
|
19997
19288
|
property: /* @__PURE__ */ string$1()
|
|
19998
19289
|
})),
|
|
19999
19290
|
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20000
|
-
currency: /* @__PURE__ */ string$1(),
|
|
20001
19291
|
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20002
19292
|
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
20003
19293
|
operator: /* @__PURE__ */ string$1(),
|
|
@@ -20065,12 +19355,7 @@ const generatedFocusOperations = [
|
|
|
20065
19355
|
"project.tasks",
|
|
20066
19356
|
"project.board",
|
|
20067
19357
|
"project.timeline",
|
|
20068
|
-
"projects"
|
|
20069
|
-
"reports.summary",
|
|
20070
|
-
"reports.detailed",
|
|
20071
|
-
"reports.utilization",
|
|
20072
|
-
"reports.workload",
|
|
20073
|
-
"reports.profitability"
|
|
19358
|
+
"projects"
|
|
20074
19359
|
]),
|
|
20075
19360
|
icon_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20076
19361
|
}) }),
|
|
@@ -20457,28 +19742,6 @@ const generatedFocusOperations = [
|
|
|
20457
19742
|
void 0
|
|
20458
19743
|
]))
|
|
20459
19744
|
},
|
|
20460
|
-
{
|
|
20461
|
-
id: "focus.subscriptions.get-plans",
|
|
20462
|
-
family: "focus",
|
|
20463
|
-
resource: "subscriptions",
|
|
20464
|
-
action: "get-plans",
|
|
20465
|
-
title: "Get Plans Subscriptions",
|
|
20466
|
-
description: "Get Plans Subscriptions.",
|
|
20467
|
-
safety: "read",
|
|
20468
|
-
destructive: false,
|
|
20469
|
-
cli: {
|
|
20470
|
-
group: ["subscriptions"],
|
|
20471
|
-
command: "get-plans",
|
|
20472
|
-
interactive: "hidden"
|
|
20473
|
-
},
|
|
20474
|
-
mcp: { entityTool: "subscriptions" },
|
|
20475
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
20476
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
20477
|
-
client.httpClient,
|
|
20478
|
-
client.organizationId,
|
|
20479
|
-
void 0
|
|
20480
|
-
]))
|
|
20481
|
-
},
|
|
20482
19745
|
{
|
|
20483
19746
|
id: "focus.subscriptions.upsert-forced-trial",
|
|
20484
19747
|
family: "focus",
|
|
@@ -21140,10 +20403,10 @@ const generatedFocusOperations = [
|
|
|
21140
20403
|
},
|
|
21141
20404
|
mcp: { entityTool: "tasks" },
|
|
21142
20405
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
|
|
21146
|
-
|
|
20406
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
20407
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
20408
|
+
hidden: /* @__PURE__ */ unknown$1(),
|
|
20409
|
+
time_zone: /* @__PURE__ */ unknown$1()
|
|
21147
20410
|
}),
|
|
21148
20411
|
execute: (input, { client }) => {
|
|
21149
20412
|
const data = input;
|
|
@@ -21219,6 +20482,7 @@ const generatedFocusOperations = [
|
|
|
21219
20482
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21220
20483
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21221
20484
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20485
|
+
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21222
20486
|
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21223
20487
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21224
20488
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
@@ -21239,7 +20503,6 @@ const generatedFocusOperations = [
|
|
|
21239
20503
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21240
20504
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21241
20505
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21242
|
-
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21243
20506
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21244
20507
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21245
20508
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21366,7 +20629,6 @@ const generatedFocusOperations = [
|
|
|
21366
20629
|
mcp: { entityTool: "tasks" },
|
|
21367
20630
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21368
20631
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21369
|
-
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21370
20632
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21371
20633
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21372
20634
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
@@ -21375,9 +20637,10 @@ const generatedFocusOperations = [
|
|
|
21375
20637
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21376
20638
|
group: /* @__PURE__ */ unknown$1(),
|
|
21377
20639
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21378
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21379
20640
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21380
20641
|
include_ghosts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20642
|
+
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20643
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21381
20644
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21382
20645
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21383
20646
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21392,6 +20655,7 @@ const generatedFocusOperations = [
|
|
|
21392
20655
|
start_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21393
20656
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21394
20657
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
20658
|
+
tasks_per_group: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21395
20659
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21396
20660
|
}),
|
|
21397
20661
|
execute: (input, { client }) => {
|
|
@@ -21612,7 +20876,6 @@ const generatedFocusOperations = [
|
|
|
21612
20876
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21613
20877
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21614
20878
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
21615
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
21616
20879
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21617
20880
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21618
20881
|
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -21660,7 +20923,8 @@ const generatedFocusOperations = [
|
|
|
21660
20923
|
mcp: { entityTool: "tasks" },
|
|
21661
20924
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21662
20925
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
21663
|
-
date_to: /* @__PURE__ */ unknown$1()
|
|
20926
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
20927
|
+
timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21664
20928
|
}),
|
|
21665
20929
|
execute: (input, { client }) => {
|
|
21666
20930
|
const data = input;
|
|
@@ -21670,6 +20934,7 @@ const generatedFocusOperations = [
|
|
|
21670
20934
|
client.workspaceIdNumber,
|
|
21671
20935
|
data.date_from,
|
|
21672
20936
|
data.date_to,
|
|
20937
|
+
data.timezone,
|
|
21673
20938
|
void 0
|
|
21674
20939
|
]));
|
|
21675
20940
|
}
|
|
@@ -22110,41 +21375,6 @@ const generatedFocusOperations = [
|
|
|
22110
21375
|
return client.bulkDeleteTimeEntries(data.ids);
|
|
22111
21376
|
}
|
|
22112
21377
|
},
|
|
22113
|
-
{
|
|
22114
|
-
id: "focus.time-entries.bulk-edit",
|
|
22115
|
-
family: "focus",
|
|
22116
|
-
resource: "time-entries",
|
|
22117
|
-
action: "bulk-edit",
|
|
22118
|
-
title: "Bulk Edit Time Entries",
|
|
22119
|
-
description: "Bulk Edit Time Entries.",
|
|
22120
|
-
safety: "read",
|
|
22121
|
-
destructive: false,
|
|
22122
|
-
cli: {
|
|
22123
|
-
group: ["time-entries", "bulk"],
|
|
22124
|
-
command: "edit",
|
|
22125
|
-
interactive: "available"
|
|
22126
|
-
},
|
|
22127
|
-
mcp: { entityTool: "time-entries" },
|
|
22128
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22129
|
-
changes: /* @__PURE__ */ looseObject({
|
|
22130
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22131
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22132
|
-
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22133
|
-
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
22134
|
-
}),
|
|
22135
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
22136
|
-
}) }),
|
|
22137
|
-
execute: (input, { client }) => {
|
|
22138
|
-
const data = input;
|
|
22139
|
-
return client.runGeneratedRequest("bulkEditTimeEntriesWithOrg", () => callGeneratedRequest(bulkEditTimeEntriesWithOrg, [
|
|
22140
|
-
client.httpClient,
|
|
22141
|
-
client.organizationId,
|
|
22142
|
-
client.workspaceIdNumber,
|
|
22143
|
-
data.payload ?? data.data ?? data,
|
|
22144
|
-
void 0
|
|
22145
|
-
]));
|
|
22146
|
-
}
|
|
22147
|
-
},
|
|
22148
21378
|
{
|
|
22149
21379
|
id: "focus.time-entries.bulk-patch",
|
|
22150
21380
|
family: "focus",
|
|
@@ -22423,7 +21653,6 @@ const generatedFocusOperations = [
|
|
|
22423
21653
|
archived: /* @__PURE__ */ unknown$1(),
|
|
22424
21654
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
22425
21655
|
date_to: /* @__PURE__ */ unknown$1(),
|
|
22426
|
-
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
22427
21656
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
22428
21657
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
22429
21658
|
status_id: /* @__PURE__ */ number$2(),
|
|
@@ -22696,29 +21925,18 @@ const generatedFocusOperations = [
|
|
|
22696
21925
|
cli: {
|
|
22697
21926
|
group: ["time-entries", "tracking"],
|
|
22698
21927
|
command: "start-tracking-from-description",
|
|
22699
|
-
interactive: "
|
|
21928
|
+
interactive: "available"
|
|
22700
21929
|
},
|
|
22701
21930
|
mcp: { entityTool: "time-entries" },
|
|
22702
21931
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22703
|
-
|
|
21932
|
+
integration_source: /* @__PURE__ */ string$1(),
|
|
22704
21933
|
name: /* @__PURE__ */ string$1(),
|
|
22705
21934
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22706
|
-
create_project_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22707
|
-
create_tags_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22708
|
-
create_task_if_not_found: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22709
|
-
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22710
21935
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22711
21936
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22712
|
-
extension_url: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22713
21937
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22714
21938
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22715
21939
|
project_name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
22716
|
-
resolution_strategy: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
22717
|
-
"uri",
|
|
22718
|
-
"name",
|
|
22719
|
-
"name_project",
|
|
22720
|
-
"name_project_tags"
|
|
22721
|
-
])),
|
|
22722
21940
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
22723
21941
|
tag_names: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ string$1()))
|
|
22724
21942
|
}) }),
|
|
@@ -23283,12 +22501,12 @@ const generatedFocusOperations = [
|
|
|
23283
22501
|
},
|
|
23284
22502
|
mcp: { entityTool: "timesheets" },
|
|
23285
22503
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
22504
|
+
comment: /* @__PURE__ */ string$1(),
|
|
23286
22505
|
keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23287
22506
|
setup_id: /* @__PURE__ */ number$2(),
|
|
23288
22507
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23289
22508
|
user_account_id: /* @__PURE__ */ number$2()
|
|
23290
|
-
}))
|
|
23291
|
-
comment: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
22509
|
+
}))
|
|
23292
22510
|
}) }),
|
|
23293
22511
|
execute: (input, { client }) => {
|
|
23294
22512
|
const data = input;
|
|
@@ -23301,37 +22519,6 @@ const generatedFocusOperations = [
|
|
|
23301
22519
|
]));
|
|
23302
22520
|
}
|
|
23303
22521
|
},
|
|
23304
|
-
{
|
|
23305
|
-
id: "focus.timesheets.bulk-withdraw",
|
|
23306
|
-
family: "focus",
|
|
23307
|
-
resource: "timesheets",
|
|
23308
|
-
action: "bulk-withdraw",
|
|
23309
|
-
title: "Bulk Withdraw Timesheets",
|
|
23310
|
-
description: "Bulk Withdraw Timesheets.",
|
|
23311
|
-
safety: "read",
|
|
23312
|
-
destructive: false,
|
|
23313
|
-
cli: {
|
|
23314
|
-
group: ["timesheets", "bulk"],
|
|
23315
|
-
command: "withdraw",
|
|
23316
|
-
interactive: "available"
|
|
23317
|
-
},
|
|
23318
|
-
mcp: { entityTool: "timesheets" },
|
|
23319
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ keys: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23320
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
23321
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23322
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
23323
|
-
})) }) }),
|
|
23324
|
-
execute: (input, { client }) => {
|
|
23325
|
-
const data = input;
|
|
23326
|
-
return client.runGeneratedRequest("bulkWithdrawTimesheets", () => callGeneratedRequest(bulkWithdrawTimesheets, [
|
|
23327
|
-
client.httpClient,
|
|
23328
|
-
client.organizationId,
|
|
23329
|
-
client.workspaceIdNumber,
|
|
23330
|
-
data.payload ?? data.data ?? data,
|
|
23331
|
-
void 0
|
|
23332
|
-
]));
|
|
23333
|
-
}
|
|
23334
|
-
},
|
|
23335
22522
|
{
|
|
23336
22523
|
id: "focus.timesheets.get",
|
|
23337
22524
|
family: "focus",
|
|
@@ -23621,37 +22808,6 @@ const generatedFocusOperations = [
|
|
|
23621
22808
|
]));
|
|
23622
22809
|
}
|
|
23623
22810
|
},
|
|
23624
|
-
{
|
|
23625
|
-
id: "focus.timesheets.setups-add-timesheet-setup-member",
|
|
23626
|
-
family: "focus",
|
|
23627
|
-
resource: "timesheets",
|
|
23628
|
-
action: "setups-add-timesheet-setup-member",
|
|
23629
|
-
title: "Setups Add Timesheet Setup Member Timesheets",
|
|
23630
|
-
description: "Setups Add Timesheet Setup Member Timesheets.",
|
|
23631
|
-
safety: "read",
|
|
23632
|
-
destructive: false,
|
|
23633
|
-
cli: {
|
|
23634
|
-
group: ["timesheets", "setups"],
|
|
23635
|
-
command: "add-timesheet-setup-member",
|
|
23636
|
-
interactive: "available"
|
|
23637
|
-
},
|
|
23638
|
-
mcp: { entityTool: "timesheets" },
|
|
23639
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23640
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
23641
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
23642
|
-
}),
|
|
23643
|
-
execute: (input, { client }) => {
|
|
23644
|
-
const data = input;
|
|
23645
|
-
return client.runGeneratedRequest("addTimesheetSetupMember", () => callGeneratedRequest(addTimesheetSetupMember, [
|
|
23646
|
-
client.httpClient,
|
|
23647
|
-
client.organizationId,
|
|
23648
|
-
client.workspaceIdNumber,
|
|
23649
|
-
data.setup_id,
|
|
23650
|
-
data.user_account_id,
|
|
23651
|
-
void 0
|
|
23652
|
-
]));
|
|
23653
|
-
}
|
|
23654
|
-
},
|
|
23655
22811
|
{
|
|
23656
22812
|
id: "focus.timesheets.setups-create",
|
|
23657
22813
|
family: "focus",
|
|
@@ -23717,37 +22873,6 @@ const generatedFocusOperations = [
|
|
|
23717
22873
|
]));
|
|
23718
22874
|
}
|
|
23719
22875
|
},
|
|
23720
|
-
{
|
|
23721
|
-
id: "focus.timesheets.setups-delete-member",
|
|
23722
|
-
family: "focus",
|
|
23723
|
-
resource: "timesheets",
|
|
23724
|
-
action: "setups-delete-member",
|
|
23725
|
-
title: "Setups Delete Member Timesheets",
|
|
23726
|
-
description: "Setups Delete Member Timesheets.",
|
|
23727
|
-
safety: "delete",
|
|
23728
|
-
destructive: true,
|
|
23729
|
-
cli: {
|
|
23730
|
-
group: ["timesheets", "setups"],
|
|
23731
|
-
command: "delete-member",
|
|
23732
|
-
interactive: "default"
|
|
23733
|
-
},
|
|
23734
|
-
mcp: { entityTool: "timesheets" },
|
|
23735
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23736
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
23737
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
23738
|
-
}),
|
|
23739
|
-
execute: (input, { client }) => {
|
|
23740
|
-
const data = input;
|
|
23741
|
-
return client.runGeneratedRequest("deleteTimesheetSetupMember", () => callGeneratedRequest(deleteTimesheetSetupMember, [
|
|
23742
|
-
client.httpClient,
|
|
23743
|
-
client.organizationId,
|
|
23744
|
-
client.workspaceIdNumber,
|
|
23745
|
-
data.setup_id,
|
|
23746
|
-
data.user_account_id,
|
|
23747
|
-
void 0
|
|
23748
|
-
]));
|
|
23749
|
-
}
|
|
23750
|
-
},
|
|
23751
22876
|
{
|
|
23752
22877
|
id: "focus.timesheets.setups-discontinue",
|
|
23753
22878
|
family: "focus",
|
|
@@ -23779,39 +22904,6 @@ const generatedFocusOperations = [
|
|
|
23779
22904
|
]));
|
|
23780
22905
|
}
|
|
23781
22906
|
},
|
|
23782
|
-
{
|
|
23783
|
-
id: "focus.timesheets.setups-discontinue-timesheet-setup-member",
|
|
23784
|
-
family: "focus",
|
|
23785
|
-
resource: "timesheets",
|
|
23786
|
-
action: "setups-discontinue-timesheet-setup-member",
|
|
23787
|
-
title: "Setups Discontinue Timesheet Setup Member Timesheets",
|
|
23788
|
-
description: "Setups Discontinue Timesheet Setup Member Timesheets.",
|
|
23789
|
-
safety: "read",
|
|
23790
|
-
destructive: false,
|
|
23791
|
-
cli: {
|
|
23792
|
-
group: ["timesheets", "setups"],
|
|
23793
|
-
command: "discontinue-timesheet-setup-member",
|
|
23794
|
-
interactive: "available"
|
|
23795
|
-
},
|
|
23796
|
-
mcp: { entityTool: "timesheets" },
|
|
23797
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23798
|
-
payload: /* @__PURE__ */ looseObject({ end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())) }),
|
|
23799
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
23800
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
23801
|
-
}),
|
|
23802
|
-
execute: (input, { client }) => {
|
|
23803
|
-
const data = input;
|
|
23804
|
-
return client.runGeneratedRequest("discontinueTimesheetSetupMember", () => callGeneratedRequest(discontinueTimesheetSetupMember, [
|
|
23805
|
-
client.httpClient,
|
|
23806
|
-
client.organizationId,
|
|
23807
|
-
client.workspaceIdNumber,
|
|
23808
|
-
data.setup_id,
|
|
23809
|
-
data.user_account_id,
|
|
23810
|
-
data.payload ?? data.data ?? data,
|
|
23811
|
-
void 0
|
|
23812
|
-
]));
|
|
23813
|
-
}
|
|
23814
|
-
},
|
|
23815
22907
|
{
|
|
23816
22908
|
id: "focus.timesheets.setups-get",
|
|
23817
22909
|
family: "focus",
|
|
@@ -23878,13 +22970,10 @@ const generatedFocusOperations = [
|
|
|
23878
22970
|
cli: {
|
|
23879
22971
|
group: ["timesheets", "setups"],
|
|
23880
22972
|
command: "get-members",
|
|
23881
|
-
interactive: "
|
|
22973
|
+
interactive: "available"
|
|
23882
22974
|
},
|
|
23883
22975
|
mcp: { entityTool: "timesheets" },
|
|
23884
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23885
|
-
include_discontinued: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23886
|
-
setup_id: /* @__PURE__ */ number$2()
|
|
23887
|
-
}),
|
|
22976
|
+
inputSchema: /* @__PURE__ */ looseObject({ setup_id: /* @__PURE__ */ number$2() }),
|
|
23888
22977
|
execute: (input, { client }) => {
|
|
23889
22978
|
const data = input;
|
|
23890
22979
|
return client.runGeneratedRequest("getTimesheetSetupMembers", () => callGeneratedRequest(getTimesheetSetupMembers, [
|
|
@@ -23892,7 +22981,6 @@ const generatedFocusOperations = [
|
|
|
23892
22981
|
client.organizationId,
|
|
23893
22982
|
client.workspaceIdNumber,
|
|
23894
22983
|
data.setup_id,
|
|
23895
|
-
data,
|
|
23896
22984
|
void 0
|
|
23897
22985
|
]));
|
|
23898
22986
|
}
|
|
@@ -23928,37 +23016,6 @@ const generatedFocusOperations = [
|
|
|
23928
23016
|
]));
|
|
23929
23017
|
}
|
|
23930
23018
|
},
|
|
23931
|
-
{
|
|
23932
|
-
id: "focus.timesheets.setups-reactivate-timesheet-setup-member",
|
|
23933
|
-
family: "focus",
|
|
23934
|
-
resource: "timesheets",
|
|
23935
|
-
action: "setups-reactivate-timesheet-setup-member",
|
|
23936
|
-
title: "Setups Reactivate Timesheet Setup Member Timesheets",
|
|
23937
|
-
description: "Setups Reactivate Timesheet Setup Member Timesheets.",
|
|
23938
|
-
safety: "read",
|
|
23939
|
-
destructive: false,
|
|
23940
|
-
cli: {
|
|
23941
|
-
group: ["timesheets", "setups"],
|
|
23942
|
-
command: "reactivate-timesheet-setup-member",
|
|
23943
|
-
interactive: "available"
|
|
23944
|
-
},
|
|
23945
|
-
mcp: { entityTool: "timesheets" },
|
|
23946
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23947
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
23948
|
-
user_account_id: /* @__PURE__ */ number$2()
|
|
23949
|
-
}),
|
|
23950
|
-
execute: (input, { client }) => {
|
|
23951
|
-
const data = input;
|
|
23952
|
-
return client.runGeneratedRequest("reactivateTimesheetSetupMember", () => callGeneratedRequest(reactivateTimesheetSetupMember, [
|
|
23953
|
-
client.httpClient,
|
|
23954
|
-
client.organizationId,
|
|
23955
|
-
client.workspaceIdNumber,
|
|
23956
|
-
data.setup_id,
|
|
23957
|
-
data.user_account_id,
|
|
23958
|
-
void 0
|
|
23959
|
-
]));
|
|
23960
|
-
}
|
|
23961
|
-
},
|
|
23962
23019
|
{
|
|
23963
23020
|
id: "focus.timesheets.setups-update",
|
|
23964
23021
|
family: "focus",
|
|
@@ -24119,7 +23176,7 @@ const generatedFocusOperations = [
|
|
|
24119
23176
|
cli: {
|
|
24120
23177
|
group: ["users", "settings"],
|
|
24121
23178
|
command: "partial-update",
|
|
24122
|
-
interactive: "
|
|
23179
|
+
interactive: "default"
|
|
24123
23180
|
},
|
|
24124
23181
|
mcp: { entityTool: "users" },
|
|
24125
23182
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
@@ -24155,7 +23212,6 @@ const generatedFocusOperations = [
|
|
|
24155
23212
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24156
23213
|
onboarding_task_dragged: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24157
23214
|
plan_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24158
|
-
platform_nudges: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24159
23215
|
pomodoro_mode_auto_start_break: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24160
23216
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24161
23217
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24180,8 +23236,6 @@ const generatedFocusOperations = [
|
|
|
24180
23236
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24181
23237
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24182
23238
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24183
|
-
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24184
|
-
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24185
23239
|
welcome_modal_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24186
23240
|
whats_new_may_2026_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24187
23241
|
whats_new_tasks_tour_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
@@ -24519,28 +23573,6 @@ const generatedFocusOperations = [
|
|
|
24519
23573
|
void 0
|
|
24520
23574
|
]))
|
|
24521
23575
|
},
|
|
24522
|
-
{
|
|
24523
|
-
id: "focus.workspace-settings.get-workspace-currency",
|
|
24524
|
-
family: "focus",
|
|
24525
|
-
resource: "workspace-settings",
|
|
24526
|
-
action: "get-workspace-currency",
|
|
24527
|
-
title: "Get Workspace Currency Workspace Settings",
|
|
24528
|
-
description: "Get Workspace Currency Workspace Settings.",
|
|
24529
|
-
safety: "read",
|
|
24530
|
-
destructive: false,
|
|
24531
|
-
cli: {
|
|
24532
|
-
group: ["workspace-settings"],
|
|
24533
|
-
command: "get-workspace-currency",
|
|
24534
|
-
interactive: "hidden"
|
|
24535
|
-
},
|
|
24536
|
-
mcp: { entityTool: "workspace-settings" },
|
|
24537
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
24538
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceCurrency", () => callGeneratedRequest(getWorkspaceCurrency, [
|
|
24539
|
-
client.httpClient,
|
|
24540
|
-
client.workspaceIdNumber,
|
|
24541
|
-
void 0
|
|
24542
|
-
]))
|
|
24543
|
-
},
|
|
24544
23576
|
{
|
|
24545
23577
|
id: "focus.workspace-settings.list",
|
|
24546
23578
|
family: "focus",
|
|
@@ -24588,32 +23620,6 @@ const generatedFocusOperations = [
|
|
|
24588
23620
|
void 0
|
|
24589
23621
|
]));
|
|
24590
23622
|
}
|
|
24591
|
-
},
|
|
24592
|
-
{
|
|
24593
|
-
id: "focus.workspace-settings.update-workspace-currency",
|
|
24594
|
-
family: "focus",
|
|
24595
|
-
resource: "workspace-settings",
|
|
24596
|
-
action: "update-workspace-currency",
|
|
24597
|
-
title: "Update Workspace Currency Workspace Settings",
|
|
24598
|
-
description: "Update Workspace Currency Workspace Settings.",
|
|
24599
|
-
safety: "update",
|
|
24600
|
-
destructive: false,
|
|
24601
|
-
cli: {
|
|
24602
|
-
group: ["workspace-settings"],
|
|
24603
|
-
command: "update-workspace-currency",
|
|
24604
|
-
interactive: "default"
|
|
24605
|
-
},
|
|
24606
|
-
mcp: { entityTool: "workspace-settings" },
|
|
24607
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ currency: /* @__PURE__ */ string$1() }) }),
|
|
24608
|
-
execute: (input, { client }) => {
|
|
24609
|
-
const data = input;
|
|
24610
|
-
return client.runGeneratedRequest("updateWorkspaceCurrency", () => callGeneratedRequest(updateWorkspaceCurrency, [
|
|
24611
|
-
client.httpClient,
|
|
24612
|
-
client.workspaceIdNumber,
|
|
24613
|
-
data.payload ?? data.data ?? data,
|
|
24614
|
-
void 0
|
|
24615
|
-
]));
|
|
24616
|
-
}
|
|
24617
23623
|
}
|
|
24618
23624
|
];
|
|
24619
23625
|
const focusOperationOverrides = {
|
|
@@ -25924,14 +24930,16 @@ function createProgram(programOptions = {}) {
|
|
|
25924
24930
|
try {
|
|
25925
24931
|
const urls = programOptions.resolveAuthUrls?.(opts) ?? resolveEnvironmentUrls();
|
|
25926
24932
|
const globalOpts = program.opts();
|
|
25927
|
-
const
|
|
24933
|
+
const workspaceId = opts.workspaceId ?? globalOpts.workspaceId;
|
|
24934
|
+
const profile = opts.profile ?? globalOpts.profile;
|
|
24935
|
+
const canPromptWorkspace = !workspaceId && isInteractiveHumanSession({
|
|
25928
24936
|
isTty,
|
|
25929
24937
|
env,
|
|
25930
24938
|
json: globalOpts.json
|
|
25931
24939
|
});
|
|
25932
24940
|
await runCliAuthFlow({
|
|
25933
|
-
workspaceId:
|
|
25934
|
-
profileName:
|
|
24941
|
+
workspaceId: workspaceId ? parseWorkspaceIdArg(workspaceId) : void 0,
|
|
24942
|
+
profileName: profile,
|
|
25935
24943
|
focusApiUrl: urls.focusApiUrl,
|
|
25936
24944
|
accountsApiUrl: urls.accountsApiUrl,
|
|
25937
24945
|
deriveProfileName: programOptions.deriveProfileName,
|
|
@@ -26111,4 +25119,4 @@ Common commands:
|
|
|
26111
25119
|
//#endregion
|
|
26112
25120
|
export { CommanderError as n, createProgram as t };
|
|
26113
25121
|
|
|
26114
|
-
//# sourceMappingURL=program-
|
|
25122
|
+
//# sourceMappingURL=program-BZvMwzzd.js.map
|