@togglhq/cli 1.13.197 → 1.13.199
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-CfcnxWLL.js → program-CCxUZyMn.js} +1048 -43
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -10147,7 +10147,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10147
10147
|
}
|
|
10148
10148
|
//#endregion
|
|
10149
10149
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10150
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10150
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, estimate_source, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10151
10151
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10152
10152
|
signal,
|
|
10153
10153
|
searchParams: buildSearchParams$2({
|
|
@@ -10179,6 +10179,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
10179
10179
|
creator_id,
|
|
10180
10180
|
tag_id,
|
|
10181
10181
|
project_id,
|
|
10182
|
+
estimate_source,
|
|
10182
10183
|
user_id,
|
|
10183
10184
|
only_me,
|
|
10184
10185
|
include_rates,
|
|
@@ -11116,7 +11117,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11116
11117
|
]))
|
|
11117
11118
|
});
|
|
11118
11119
|
//#endregion
|
|
11119
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11120
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11120
11121
|
async function getInvitations(httpClient, signal) {
|
|
11121
11122
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11122
11123
|
}
|
|
@@ -11133,7 +11134,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11133
11134
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11134
11135
|
}
|
|
11135
11136
|
//#endregion
|
|
11136
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11137
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11137
11138
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11138
11139
|
const searchParams = new URLSearchParams();
|
|
11139
11140
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11145,7 +11146,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11145
11146
|
return searchParams;
|
|
11146
11147
|
}
|
|
11147
11148
|
//#endregion
|
|
11148
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11149
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11149
11150
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11150
11151
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11151
11152
|
}
|
|
@@ -11160,7 +11161,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11160
11161
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11161
11162
|
}
|
|
11162
11163
|
//#endregion
|
|
11163
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11164
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11164
11165
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11165
11166
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11166
11167
|
}
|
|
@@ -11180,7 +11181,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11180
11181
|
});
|
|
11181
11182
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11182
11183
|
//#endregion
|
|
11183
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11184
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11184
11185
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11185
11186
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11186
11187
|
signal,
|
|
@@ -11191,12 +11192,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11191
11192
|
})).json();
|
|
11192
11193
|
}
|
|
11193
11194
|
//#endregion
|
|
11194
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11195
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11195
11196
|
async function getStatus(httpClient, signal) {
|
|
11196
11197
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11197
11198
|
}
|
|
11198
11199
|
//#endregion
|
|
11199
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11200
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11200
11201
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11201
11202
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11202
11203
|
signal,
|
|
@@ -11224,7 +11225,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11224
11225
|
return response.json();
|
|
11225
11226
|
}
|
|
11226
11227
|
//#endregion
|
|
11227
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11228
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.329_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bccdd20f0858a31ad2476dc74e08f172/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11228
11229
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11229
11230
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11230
11231
|
}
|
|
@@ -15568,6 +15569,46 @@ async function getAuditLog(httpClient, organization_id, workspace_id, from, to,
|
|
|
15568
15569
|
}
|
|
15569
15570
|
//#endregion
|
|
15570
15571
|
//#region ../focus-queries/dist/billable-rates/requests.ts
|
|
15572
|
+
async function getAllWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
|
|
15573
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/rates`, {
|
|
15574
|
+
signal,
|
|
15575
|
+
searchParams: buildSearchParams$2({
|
|
15576
|
+
designation_id,
|
|
15577
|
+
order_by
|
|
15578
|
+
})
|
|
15579
|
+
})).json();
|
|
15580
|
+
}
|
|
15581
|
+
async function getWorkspaceDesignationBillableRates(httpClient, organization_id, workspace_id, designation_id, { order_by } = {}, signal) {
|
|
15582
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
|
|
15583
|
+
signal,
|
|
15584
|
+
searchParams: buildSearchParams$2({ order_by })
|
|
15585
|
+
})).json();
|
|
15586
|
+
}
|
|
15587
|
+
async function upsertWorkspaceDesignationBillableRate(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
15588
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
|
|
15589
|
+
signal,
|
|
15590
|
+
json: data
|
|
15591
|
+
})).json();
|
|
15592
|
+
}
|
|
15593
|
+
async function deleteWorkspaceDesignationBillableRateRange(httpClient, organization_id, workspace_id, designation_id, from, to, signal) {
|
|
15594
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates`, {
|
|
15595
|
+
signal,
|
|
15596
|
+
searchParams: buildSearchParams$2({
|
|
15597
|
+
from,
|
|
15598
|
+
to
|
|
15599
|
+
})
|
|
15600
|
+
});
|
|
15601
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15602
|
+
return response.json();
|
|
15603
|
+
}
|
|
15604
|
+
async function checkWorkspaceDesignationBillableRateConflicts(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
15605
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/designations/${designation_id}/rates/check`, {
|
|
15606
|
+
signal,
|
|
15607
|
+
json: data
|
|
15608
|
+
});
|
|
15609
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15610
|
+
return response.json();
|
|
15611
|
+
}
|
|
15571
15612
|
async function getProjectsBillableRates(httpClient, organization_id, workspace_id, { project_id, date }, signal) {
|
|
15572
15613
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/rates`, {
|
|
15573
15614
|
signal,
|
|
@@ -15588,6 +15629,43 @@ async function getAllProjectUserBillableRates(httpClient, organization_id, works
|
|
|
15588
15629
|
})
|
|
15589
15630
|
})).json();
|
|
15590
15631
|
}
|
|
15632
|
+
async function getDesignationMembersBillableRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
|
|
15633
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/rates`, {
|
|
15634
|
+
signal,
|
|
15635
|
+
searchParams: buildSearchParams$2({ date })
|
|
15636
|
+
})).json();
|
|
15637
|
+
}
|
|
15638
|
+
async function getDesignationMemberBillableRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
|
|
15639
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
15640
|
+
signal,
|
|
15641
|
+
searchParams: buildSearchParams$2({ order_by })
|
|
15642
|
+
})).json();
|
|
15643
|
+
}
|
|
15644
|
+
async function upsertDesignationMemberBillableRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
|
|
15645
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
15646
|
+
signal,
|
|
15647
|
+
json: data
|
|
15648
|
+
})).json();
|
|
15649
|
+
}
|
|
15650
|
+
async function deleteDesignationMemberBillableRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
|
|
15651
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
15652
|
+
signal,
|
|
15653
|
+
searchParams: buildSearchParams$2({
|
|
15654
|
+
from,
|
|
15655
|
+
to
|
|
15656
|
+
})
|
|
15657
|
+
});
|
|
15658
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15659
|
+
return response.json();
|
|
15660
|
+
}
|
|
15661
|
+
async function checkDesignationMemberBillableRateConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
|
|
15662
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
|
|
15663
|
+
signal,
|
|
15664
|
+
json: data
|
|
15665
|
+
});
|
|
15666
|
+
if ([204, 205].includes(response.status)) return null;
|
|
15667
|
+
return response.json();
|
|
15668
|
+
}
|
|
15591
15669
|
async function getProjectBillableRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
|
|
15592
15670
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/billable-rates/projects/${project_id}/rates`, {
|
|
15593
15671
|
signal,
|
|
@@ -15831,6 +15909,12 @@ async function getCustomFieldOptionsClassic(httpClient, organization_id, workspa
|
|
|
15831
15909
|
})
|
|
15832
15910
|
})).json();
|
|
15833
15911
|
}
|
|
15912
|
+
async function replaceCustomFieldOptions(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15913
|
+
return (await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15914
|
+
signal,
|
|
15915
|
+
json: data
|
|
15916
|
+
})).json();
|
|
15917
|
+
}
|
|
15834
15918
|
async function createCustomFieldOption(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15835
15919
|
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15836
15920
|
signal,
|
|
@@ -15942,10 +16026,15 @@ async function updateWorkspaceDesignationMembers(httpClient, organization_id, wo
|
|
|
15942
16026
|
json: data
|
|
15943
16027
|
})).json();
|
|
15944
16028
|
}
|
|
15945
|
-
async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
|
|
16029
|
+
async function getProjectDesignations(httpClient, organization_id, workspace_id, project_id, { order_by, start_date, end_date, min_days } = {}, signal) {
|
|
15946
16030
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}`, {
|
|
15947
16031
|
signal,
|
|
15948
|
-
searchParams: buildSearchParams$2({
|
|
16032
|
+
searchParams: buildSearchParams$2({
|
|
16033
|
+
order_by,
|
|
16034
|
+
start_date,
|
|
16035
|
+
end_date,
|
|
16036
|
+
min_days
|
|
16037
|
+
})
|
|
15949
16038
|
})).json();
|
|
15950
16039
|
}
|
|
15951
16040
|
async function createProjectDesignations(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
@@ -15968,8 +16057,16 @@ async function updateProjectDesignations(httpClient, organization_id, workspace_
|
|
|
15968
16057
|
json: data
|
|
15969
16058
|
})).json();
|
|
15970
16059
|
}
|
|
15971
|
-
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15972
|
-
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16060
|
+
async function getProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, { start_date, end_date, min_days, include_project } = {}, signal) {
|
|
16061
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
16062
|
+
signal,
|
|
16063
|
+
searchParams: buildSearchParams$2({
|
|
16064
|
+
start_date,
|
|
16065
|
+
end_date,
|
|
16066
|
+
min_days,
|
|
16067
|
+
include_project
|
|
16068
|
+
})
|
|
16069
|
+
})).json();
|
|
15973
16070
|
}
|
|
15974
16071
|
async function createProjectDesignationBookings(httpClient, organization_id, workspace_id, project_id, data, signal) {
|
|
15975
16072
|
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/projects/${project_id}/bookings`, {
|
|
@@ -16045,6 +16142,46 @@ async function getGoals(httpClient, organization_id, workspace_id, signal) {
|
|
|
16045
16142
|
}
|
|
16046
16143
|
//#endregion
|
|
16047
16144
|
//#region ../focus-queries/dist/labor-costs/requests.ts
|
|
16145
|
+
async function getAllWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, { designation_id, order_by } = {}, signal) {
|
|
16146
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/rates`, {
|
|
16147
|
+
signal,
|
|
16148
|
+
searchParams: buildSearchParams$2({
|
|
16149
|
+
designation_id,
|
|
16150
|
+
order_by
|
|
16151
|
+
})
|
|
16152
|
+
})).json();
|
|
16153
|
+
}
|
|
16154
|
+
async function getWorkspaceDesignationLaborCostRates(httpClient, organization_id, workspace_id, designation_id, { order_by } = {}, signal) {
|
|
16155
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
|
|
16156
|
+
signal,
|
|
16157
|
+
searchParams: buildSearchParams$2({ order_by })
|
|
16158
|
+
})).json();
|
|
16159
|
+
}
|
|
16160
|
+
async function upsertWorkspaceDesignationLaborCostRate(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
16161
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
|
|
16162
|
+
signal,
|
|
16163
|
+
json: data
|
|
16164
|
+
})).json();
|
|
16165
|
+
}
|
|
16166
|
+
async function deleteWorkspaceDesignationLaborCostRateRange(httpClient, organization_id, workspace_id, designation_id, from, to, signal) {
|
|
16167
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates`, {
|
|
16168
|
+
signal,
|
|
16169
|
+
searchParams: buildSearchParams$2({
|
|
16170
|
+
from,
|
|
16171
|
+
to
|
|
16172
|
+
})
|
|
16173
|
+
});
|
|
16174
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16175
|
+
return response.json();
|
|
16176
|
+
}
|
|
16177
|
+
async function checkWorkspaceDesignationLaborCostConflicts(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
16178
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/designations/${designation_id}/rates/check`, {
|
|
16179
|
+
signal,
|
|
16180
|
+
json: data
|
|
16181
|
+
});
|
|
16182
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16183
|
+
return response.json();
|
|
16184
|
+
}
|
|
16048
16185
|
async function getAllProjectUserLaborCostRates(httpClient, organization_id, workspace_id, { project_id, user_id, date, order_by } = {}, signal) {
|
|
16049
16186
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/users/rates`, {
|
|
16050
16187
|
signal,
|
|
@@ -16056,6 +16193,43 @@ async function getAllProjectUserLaborCostRates(httpClient, organization_id, work
|
|
|
16056
16193
|
})
|
|
16057
16194
|
})).json();
|
|
16058
16195
|
}
|
|
16196
|
+
async function getDesignationMembersLaborCostRates(httpClient, organization_id, workspace_id, project_id, { date }, signal) {
|
|
16197
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/rates`, {
|
|
16198
|
+
signal,
|
|
16199
|
+
searchParams: buildSearchParams$2({ date })
|
|
16200
|
+
})).json();
|
|
16201
|
+
}
|
|
16202
|
+
async function getDesignationMemberLaborCostRates(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, { order_by } = {}, signal) {
|
|
16203
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
16204
|
+
signal,
|
|
16205
|
+
searchParams: buildSearchParams$2({ order_by })
|
|
16206
|
+
})).json();
|
|
16207
|
+
}
|
|
16208
|
+
async function upsertDesignationMemberLaborCostRate(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
|
|
16209
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
16210
|
+
signal,
|
|
16211
|
+
json: data
|
|
16212
|
+
})).json();
|
|
16213
|
+
}
|
|
16214
|
+
async function deleteDesignationMemberLaborCostRateRange(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, from, to, signal) {
|
|
16215
|
+
const response = await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates`, {
|
|
16216
|
+
signal,
|
|
16217
|
+
searchParams: buildSearchParams$2({
|
|
16218
|
+
from,
|
|
16219
|
+
to
|
|
16220
|
+
})
|
|
16221
|
+
});
|
|
16222
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16223
|
+
return response.json();
|
|
16224
|
+
}
|
|
16225
|
+
async function checkDesignationMemberLaborCostConflicts(httpClient, organization_id, workspace_id, project_id, designation_id, user_id, data, signal) {
|
|
16226
|
+
const response = await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/designations/${designation_id}/users/${user_id}/rates/check`, {
|
|
16227
|
+
signal,
|
|
16228
|
+
json: data
|
|
16229
|
+
});
|
|
16230
|
+
if ([204, 205].includes(response.status)) return null;
|
|
16231
|
+
return response.json();
|
|
16232
|
+
}
|
|
16059
16233
|
async function getProjectLaborCostRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
|
|
16060
16234
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/labor-costs/projects/${project_id}/rates`, {
|
|
16061
16235
|
signal,
|
|
@@ -17063,6 +17237,24 @@ async function createTimesheetSetup(httpClient, organization_id, workspace_id, d
|
|
|
17063
17237
|
json: data
|
|
17064
17238
|
})).json();
|
|
17065
17239
|
}
|
|
17240
|
+
async function bulkUpdateTimesheetSetupReminder(httpClient, organization_id, workspace_id, data, signal) {
|
|
17241
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/bulk-reminder`, {
|
|
17242
|
+
signal,
|
|
17243
|
+
json: data
|
|
17244
|
+
})).json();
|
|
17245
|
+
}
|
|
17246
|
+
async function bulkDiscontinueTimesheetSetupMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
17247
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/members/bulk-discontinue`, {
|
|
17248
|
+
signal,
|
|
17249
|
+
json: data
|
|
17250
|
+
})).json();
|
|
17251
|
+
}
|
|
17252
|
+
async function bulkReactivateTimesheetSetupMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
17253
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/members/bulk-reactivate`, {
|
|
17254
|
+
signal,
|
|
17255
|
+
json: data
|
|
17256
|
+
})).json();
|
|
17257
|
+
}
|
|
17066
17258
|
async function getTimesheetSetup(httpClient, organization_id, workspace_id, setup_id, signal) {
|
|
17067
17259
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups/${setup_id}`, { signal })).json();
|
|
17068
17260
|
}
|
|
@@ -19329,6 +19521,41 @@ const generatedFocusOperations = [
|
|
|
19329
19521
|
]));
|
|
19330
19522
|
}
|
|
19331
19523
|
},
|
|
19524
|
+
{
|
|
19525
|
+
id: "focus.custom-fields.replace-custom-field-options",
|
|
19526
|
+
family: "focus",
|
|
19527
|
+
resource: "custom-fields",
|
|
19528
|
+
action: "replace-custom-field-options",
|
|
19529
|
+
title: "Replace Custom Field Options Custom Fields",
|
|
19530
|
+
description: "Replace Custom Field Options Custom Fields.",
|
|
19531
|
+
safety: "update",
|
|
19532
|
+
destructive: false,
|
|
19533
|
+
cli: {
|
|
19534
|
+
group: ["custom-fields"],
|
|
19535
|
+
command: "replace-custom-field-options",
|
|
19536
|
+
interactive: "default"
|
|
19537
|
+
},
|
|
19538
|
+
mcp: { entityTool: "custom-fields" },
|
|
19539
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19540
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
19541
|
+
payload: /* @__PURE__ */ looseObject({ options: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
19542
|
+
name: /* @__PURE__ */ string$1(),
|
|
19543
|
+
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19544
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
19545
|
+
})) })
|
|
19546
|
+
}),
|
|
19547
|
+
execute: (input, { client }) => {
|
|
19548
|
+
const data = input;
|
|
19549
|
+
return client.runGeneratedRequest("replaceCustomFieldOptions", () => callGeneratedRequest(replaceCustomFieldOptions, [
|
|
19550
|
+
client.httpClient,
|
|
19551
|
+
client.organizationId,
|
|
19552
|
+
client.workspaceIdNumber,
|
|
19553
|
+
data.custom_field_id,
|
|
19554
|
+
data.payload ?? data.data ?? data,
|
|
19555
|
+
void 0
|
|
19556
|
+
]));
|
|
19557
|
+
}
|
|
19558
|
+
},
|
|
19332
19559
|
{
|
|
19333
19560
|
id: "focus.custom-fields.update",
|
|
19334
19561
|
family: "focus",
|
|
@@ -20001,8 +20228,11 @@ const generatedFocusOperations = [
|
|
|
20001
20228
|
},
|
|
20002
20229
|
mcp: { entityTool: "designations" },
|
|
20003
20230
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20231
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20232
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20004
20233
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20005
|
-
project_id: /* @__PURE__ */ number$2()
|
|
20234
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
20235
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
20006
20236
|
}),
|
|
20007
20237
|
execute: (input, { client }) => {
|
|
20008
20238
|
const data = input;
|
|
@@ -20028,10 +20258,16 @@ const generatedFocusOperations = [
|
|
|
20028
20258
|
cli: {
|
|
20029
20259
|
group: ["designations"],
|
|
20030
20260
|
command: "get-project-designation-bookings",
|
|
20031
|
-
interactive: "
|
|
20261
|
+
interactive: "hidden"
|
|
20032
20262
|
},
|
|
20033
20263
|
mcp: { entityTool: "designations" },
|
|
20034
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
20264
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
20265
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
20266
|
+
include_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20267
|
+
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20268
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
20269
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
20270
|
+
}),
|
|
20035
20271
|
execute: (input, { client }) => {
|
|
20036
20272
|
const data = input;
|
|
20037
20273
|
return client.runGeneratedRequest("getProjectDesignationBookings", () => callGeneratedRequest(getProjectDesignationBookings, [
|
|
@@ -20039,6 +20275,7 @@ const generatedFocusOperations = [
|
|
|
20039
20275
|
client.organizationId,
|
|
20040
20276
|
client.workspaceIdNumber,
|
|
20041
20277
|
data.project_id,
|
|
20278
|
+
data,
|
|
20042
20279
|
void 0
|
|
20043
20280
|
]));
|
|
20044
20281
|
}
|
|
@@ -22609,6 +22846,41 @@ const generatedFocusOperations = [
|
|
|
22609
22846
|
]));
|
|
22610
22847
|
}
|
|
22611
22848
|
},
|
|
22849
|
+
{
|
|
22850
|
+
id: "focus.rates.billable-check-designation-member-billable-rate-conflicts",
|
|
22851
|
+
family: "focus",
|
|
22852
|
+
resource: "rates",
|
|
22853
|
+
action: "billable-check-designation-member-billable-rate-conflicts",
|
|
22854
|
+
title: "Billable Check Designation Member Billable Rate Conflicts Rates",
|
|
22855
|
+
description: "Billable Check Designation Member Billable Rate Conflicts Rates.",
|
|
22856
|
+
safety: "update",
|
|
22857
|
+
destructive: false,
|
|
22858
|
+
cli: {
|
|
22859
|
+
group: ["rates", "billable"],
|
|
22860
|
+
command: "check-designation-member-billable-rate-conflicts",
|
|
22861
|
+
interactive: "default"
|
|
22862
|
+
},
|
|
22863
|
+
mcp: { entityTool: "rates" },
|
|
22864
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22865
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
22866
|
+
payload: rateSchedulePayloadSchema,
|
|
22867
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
22868
|
+
user_id: /* @__PURE__ */ number$2()
|
|
22869
|
+
}),
|
|
22870
|
+
execute: (input, { client }) => {
|
|
22871
|
+
const data = input;
|
|
22872
|
+
return client.runGeneratedRequest("checkDesignationMemberBillableRateConflicts", () => callGeneratedRequest(checkDesignationMemberBillableRateConflicts, [
|
|
22873
|
+
client.httpClient,
|
|
22874
|
+
client.organizationId,
|
|
22875
|
+
client.workspaceIdNumber,
|
|
22876
|
+
data.project_id,
|
|
22877
|
+
data.designation_id,
|
|
22878
|
+
data.user_id,
|
|
22879
|
+
data.payload ?? data.data ?? data,
|
|
22880
|
+
void 0
|
|
22881
|
+
]));
|
|
22882
|
+
}
|
|
22883
|
+
},
|
|
22612
22884
|
{
|
|
22613
22885
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
22614
22886
|
family: "focus",
|
|
@@ -22700,6 +22972,37 @@ const generatedFocusOperations = [
|
|
|
22700
22972
|
]));
|
|
22701
22973
|
}
|
|
22702
22974
|
},
|
|
22975
|
+
{
|
|
22976
|
+
id: "focus.rates.billable-check-workspace-designation-billable-rate-conflicts",
|
|
22977
|
+
family: "focus",
|
|
22978
|
+
resource: "rates",
|
|
22979
|
+
action: "billable-check-workspace-designation-billable-rate-conflicts",
|
|
22980
|
+
title: "Billable Check Workspace Designation Billable Rate Conflicts Rates",
|
|
22981
|
+
description: "Billable Check Workspace Designation Billable Rate Conflicts Rates.",
|
|
22982
|
+
safety: "update",
|
|
22983
|
+
destructive: false,
|
|
22984
|
+
cli: {
|
|
22985
|
+
group: ["rates", "billable"],
|
|
22986
|
+
command: "check-workspace-designation-billable-rate-conflicts",
|
|
22987
|
+
interactive: "default"
|
|
22988
|
+
},
|
|
22989
|
+
mcp: { entityTool: "rates" },
|
|
22990
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22991
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
22992
|
+
payload: rateSchedulePayloadSchema
|
|
22993
|
+
}),
|
|
22994
|
+
execute: (input, { client }) => {
|
|
22995
|
+
const data = input;
|
|
22996
|
+
return client.runGeneratedRequest("checkWorkspaceDesignationBillableRateConflicts", () => callGeneratedRequest(checkWorkspaceDesignationBillableRateConflicts, [
|
|
22997
|
+
client.httpClient,
|
|
22998
|
+
client.organizationId,
|
|
22999
|
+
client.workspaceIdNumber,
|
|
23000
|
+
data.designation_id,
|
|
23001
|
+
data.payload ?? data.data ?? data,
|
|
23002
|
+
void 0
|
|
23003
|
+
]));
|
|
23004
|
+
}
|
|
23005
|
+
},
|
|
22703
23006
|
{
|
|
22704
23007
|
id: "focus.rates.billable-check-workspace-user-billable-rate-conflicts",
|
|
22705
23008
|
family: "focus",
|
|
@@ -22759,32 +23062,36 @@ const generatedFocusOperations = [
|
|
|
22759
23062
|
}
|
|
22760
23063
|
},
|
|
22761
23064
|
{
|
|
22762
|
-
id: "focus.rates.billable-delete-
|
|
23065
|
+
id: "focus.rates.billable-delete-designation-member-billable-rate-range",
|
|
22763
23066
|
family: "focus",
|
|
22764
23067
|
resource: "rates",
|
|
22765
|
-
action: "billable-delete-
|
|
22766
|
-
title: "Billable Delete
|
|
22767
|
-
description: "Billable Delete
|
|
23068
|
+
action: "billable-delete-designation-member-billable-rate-range",
|
|
23069
|
+
title: "Billable Delete Designation Member Billable Rate Range Rates",
|
|
23070
|
+
description: "Billable Delete Designation Member Billable Rate Range Rates.",
|
|
22768
23071
|
safety: "delete",
|
|
22769
23072
|
destructive: true,
|
|
22770
23073
|
cli: {
|
|
22771
23074
|
group: ["rates", "billable"],
|
|
22772
|
-
command: "delete-
|
|
23075
|
+
command: "delete-designation-member-billable-rate-range",
|
|
22773
23076
|
interactive: "default"
|
|
22774
23077
|
},
|
|
22775
23078
|
mcp: { entityTool: "rates" },
|
|
22776
23079
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23080
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
22777
23081
|
from: /* @__PURE__ */ string$1(),
|
|
22778
23082
|
project_id: /* @__PURE__ */ number$2(),
|
|
22779
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
23083
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
23084
|
+
user_id: /* @__PURE__ */ number$2()
|
|
22780
23085
|
}),
|
|
22781
23086
|
execute: (input, { client }) => {
|
|
22782
23087
|
const data = input;
|
|
22783
|
-
return client.runGeneratedRequest("
|
|
23088
|
+
return client.runGeneratedRequest("deleteDesignationMemberBillableRateRange", () => callGeneratedRequest(deleteDesignationMemberBillableRateRange, [
|
|
22784
23089
|
client.httpClient,
|
|
22785
23090
|
client.organizationId,
|
|
22786
23091
|
client.workspaceIdNumber,
|
|
22787
23092
|
data.project_id,
|
|
23093
|
+
data.designation_id,
|
|
23094
|
+
data.user_id,
|
|
22788
23095
|
data.from,
|
|
22789
23096
|
data.to,
|
|
22790
23097
|
void 0
|
|
@@ -22792,14 +23099,47 @@ const generatedFocusOperations = [
|
|
|
22792
23099
|
}
|
|
22793
23100
|
},
|
|
22794
23101
|
{
|
|
22795
|
-
id: "focus.rates.billable-delete-project-
|
|
23102
|
+
id: "focus.rates.billable-delete-project-billable-rate-range",
|
|
22796
23103
|
family: "focus",
|
|
22797
23104
|
resource: "rates",
|
|
22798
|
-
action: "billable-delete-project-
|
|
22799
|
-
title: "Billable Delete Project
|
|
22800
|
-
description: "Billable Delete Project
|
|
22801
|
-
safety: "delete",
|
|
22802
|
-
destructive: true,
|
|
23105
|
+
action: "billable-delete-project-billable-rate-range",
|
|
23106
|
+
title: "Billable Delete Project Billable Rate Range Rates",
|
|
23107
|
+
description: "Billable Delete Project Billable Rate Range Rates.",
|
|
23108
|
+
safety: "delete",
|
|
23109
|
+
destructive: true,
|
|
23110
|
+
cli: {
|
|
23111
|
+
group: ["rates", "billable"],
|
|
23112
|
+
command: "delete-project-billable-rate-range",
|
|
23113
|
+
interactive: "default"
|
|
23114
|
+
},
|
|
23115
|
+
mcp: { entityTool: "rates" },
|
|
23116
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23117
|
+
from: /* @__PURE__ */ string$1(),
|
|
23118
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23119
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
23120
|
+
}),
|
|
23121
|
+
execute: (input, { client }) => {
|
|
23122
|
+
const data = input;
|
|
23123
|
+
return client.runGeneratedRequest("deleteProjectBillableRateRange", () => callGeneratedRequest(deleteProjectBillableRateRange, [
|
|
23124
|
+
client.httpClient,
|
|
23125
|
+
client.organizationId,
|
|
23126
|
+
client.workspaceIdNumber,
|
|
23127
|
+
data.project_id,
|
|
23128
|
+
data.from,
|
|
23129
|
+
data.to,
|
|
23130
|
+
void 0
|
|
23131
|
+
]));
|
|
23132
|
+
}
|
|
23133
|
+
},
|
|
23134
|
+
{
|
|
23135
|
+
id: "focus.rates.billable-delete-project-user-billable-rate-range",
|
|
23136
|
+
family: "focus",
|
|
23137
|
+
resource: "rates",
|
|
23138
|
+
action: "billable-delete-project-user-billable-rate-range",
|
|
23139
|
+
title: "Billable Delete Project User Billable Rate Range Rates",
|
|
23140
|
+
description: "Billable Delete Project User Billable Rate Range Rates.",
|
|
23141
|
+
safety: "delete",
|
|
23142
|
+
destructive: true,
|
|
22803
23143
|
cli: {
|
|
22804
23144
|
group: ["rates", "billable"],
|
|
22805
23145
|
command: "delete-project-user-billable-rate-range",
|
|
@@ -22857,6 +23197,39 @@ const generatedFocusOperations = [
|
|
|
22857
23197
|
]));
|
|
22858
23198
|
}
|
|
22859
23199
|
},
|
|
23200
|
+
{
|
|
23201
|
+
id: "focus.rates.billable-delete-workspace-designation-billable-rate-range",
|
|
23202
|
+
family: "focus",
|
|
23203
|
+
resource: "rates",
|
|
23204
|
+
action: "billable-delete-workspace-designation-billable-rate-range",
|
|
23205
|
+
title: "Billable Delete Workspace Designation Billable Rate Range Rates",
|
|
23206
|
+
description: "Billable Delete Workspace Designation Billable Rate Range Rates.",
|
|
23207
|
+
safety: "delete",
|
|
23208
|
+
destructive: true,
|
|
23209
|
+
cli: {
|
|
23210
|
+
group: ["rates", "billable"],
|
|
23211
|
+
command: "delete-workspace-designation-billable-rate-range",
|
|
23212
|
+
interactive: "default"
|
|
23213
|
+
},
|
|
23214
|
+
mcp: { entityTool: "rates" },
|
|
23215
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23216
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
23217
|
+
from: /* @__PURE__ */ string$1(),
|
|
23218
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
23219
|
+
}),
|
|
23220
|
+
execute: (input, { client }) => {
|
|
23221
|
+
const data = input;
|
|
23222
|
+
return client.runGeneratedRequest("deleteWorkspaceDesignationBillableRateRange", () => callGeneratedRequest(deleteWorkspaceDesignationBillableRateRange, [
|
|
23223
|
+
client.httpClient,
|
|
23224
|
+
client.organizationId,
|
|
23225
|
+
client.workspaceIdNumber,
|
|
23226
|
+
data.designation_id,
|
|
23227
|
+
data.from,
|
|
23228
|
+
data.to,
|
|
23229
|
+
void 0
|
|
23230
|
+
]));
|
|
23231
|
+
}
|
|
23232
|
+
},
|
|
22860
23233
|
{
|
|
22861
23234
|
id: "focus.rates.billable-delete-workspace-user-billable-rate-range",
|
|
22862
23235
|
family: "focus",
|
|
@@ -22922,6 +23295,36 @@ const generatedFocusOperations = [
|
|
|
22922
23295
|
]));
|
|
22923
23296
|
}
|
|
22924
23297
|
},
|
|
23298
|
+
{
|
|
23299
|
+
id: "focus.rates.billable-get-all-workspace-designation",
|
|
23300
|
+
family: "focus",
|
|
23301
|
+
resource: "rates",
|
|
23302
|
+
action: "billable-get-all-workspace-designation",
|
|
23303
|
+
title: "Billable Get All Workspace Designation Rates",
|
|
23304
|
+
description: "Billable Get All Workspace Designation Rates.",
|
|
23305
|
+
safety: "read",
|
|
23306
|
+
destructive: false,
|
|
23307
|
+
cli: {
|
|
23308
|
+
group: ["rates", "billable"],
|
|
23309
|
+
command: "get-all-workspace-designation",
|
|
23310
|
+
interactive: "hidden"
|
|
23311
|
+
},
|
|
23312
|
+
mcp: { entityTool: "rates" },
|
|
23313
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23314
|
+
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23315
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23316
|
+
}),
|
|
23317
|
+
execute: (input, { client }) => {
|
|
23318
|
+
const data = input;
|
|
23319
|
+
return client.runGeneratedRequest("getAllWorkspaceDesignationBillableRates", () => callGeneratedRequest(getAllWorkspaceDesignationBillableRates, [
|
|
23320
|
+
client.httpClient,
|
|
23321
|
+
client.organizationId,
|
|
23322
|
+
client.workspaceIdNumber,
|
|
23323
|
+
data,
|
|
23324
|
+
void 0
|
|
23325
|
+
]));
|
|
23326
|
+
}
|
|
23327
|
+
},
|
|
22925
23328
|
{
|
|
22926
23329
|
id: "focus.rates.billable-get-all-workspace-user",
|
|
22927
23330
|
family: "focus",
|
|
@@ -22952,6 +23355,72 @@ const generatedFocusOperations = [
|
|
|
22952
23355
|
]));
|
|
22953
23356
|
}
|
|
22954
23357
|
},
|
|
23358
|
+
{
|
|
23359
|
+
id: "focus.rates.billable-get-designation-member",
|
|
23360
|
+
family: "focus",
|
|
23361
|
+
resource: "rates",
|
|
23362
|
+
action: "billable-get-designation-member",
|
|
23363
|
+
title: "Billable Get Designation Member Rates",
|
|
23364
|
+
description: "Billable Get Designation Member Rates.",
|
|
23365
|
+
safety: "read",
|
|
23366
|
+
destructive: false,
|
|
23367
|
+
cli: {
|
|
23368
|
+
group: ["rates", "billable"],
|
|
23369
|
+
command: "get-designation-member",
|
|
23370
|
+
interactive: "hidden"
|
|
23371
|
+
},
|
|
23372
|
+
mcp: { entityTool: "rates" },
|
|
23373
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23374
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
23375
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23376
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23377
|
+
user_id: /* @__PURE__ */ number$2()
|
|
23378
|
+
}),
|
|
23379
|
+
execute: (input, { client }) => {
|
|
23380
|
+
const data = input;
|
|
23381
|
+
return client.runGeneratedRequest("getDesignationMemberBillableRates", () => callGeneratedRequest(getDesignationMemberBillableRates, [
|
|
23382
|
+
client.httpClient,
|
|
23383
|
+
client.organizationId,
|
|
23384
|
+
client.workspaceIdNumber,
|
|
23385
|
+
data.project_id,
|
|
23386
|
+
data.designation_id,
|
|
23387
|
+
data.user_id,
|
|
23388
|
+
data,
|
|
23389
|
+
void 0
|
|
23390
|
+
]));
|
|
23391
|
+
}
|
|
23392
|
+
},
|
|
23393
|
+
{
|
|
23394
|
+
id: "focus.rates.billable-get-designation-members",
|
|
23395
|
+
family: "focus",
|
|
23396
|
+
resource: "rates",
|
|
23397
|
+
action: "billable-get-designation-members",
|
|
23398
|
+
title: "Billable Get Designation Members Rates",
|
|
23399
|
+
description: "Billable Get Designation Members Rates.",
|
|
23400
|
+
safety: "read",
|
|
23401
|
+
destructive: false,
|
|
23402
|
+
cli: {
|
|
23403
|
+
group: ["rates", "billable"],
|
|
23404
|
+
command: "get-designation-members",
|
|
23405
|
+
interactive: "available"
|
|
23406
|
+
},
|
|
23407
|
+
mcp: { entityTool: "rates" },
|
|
23408
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23409
|
+
date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23410
|
+
project_id: /* @__PURE__ */ number$2()
|
|
23411
|
+
}),
|
|
23412
|
+
execute: (input, { client }) => {
|
|
23413
|
+
const data = input;
|
|
23414
|
+
return client.runGeneratedRequest("getDesignationMembersBillableRates", () => callGeneratedRequest(getDesignationMembersBillableRates, [
|
|
23415
|
+
client.httpClient,
|
|
23416
|
+
client.organizationId,
|
|
23417
|
+
client.workspaceIdNumber,
|
|
23418
|
+
data.project_id,
|
|
23419
|
+
data,
|
|
23420
|
+
void 0
|
|
23421
|
+
]));
|
|
23422
|
+
}
|
|
23423
|
+
},
|
|
22955
23424
|
{
|
|
22956
23425
|
id: "focus.rates.billable-get-project",
|
|
22957
23426
|
family: "focus",
|
|
@@ -23073,6 +23542,37 @@ const generatedFocusOperations = [
|
|
|
23073
23542
|
]));
|
|
23074
23543
|
}
|
|
23075
23544
|
},
|
|
23545
|
+
{
|
|
23546
|
+
id: "focus.rates.billable-get-workspace-designation",
|
|
23547
|
+
family: "focus",
|
|
23548
|
+
resource: "rates",
|
|
23549
|
+
action: "billable-get-workspace-designation",
|
|
23550
|
+
title: "Billable Get Workspace Designation Rates",
|
|
23551
|
+
description: "Billable Get Workspace Designation Rates.",
|
|
23552
|
+
safety: "read",
|
|
23553
|
+
destructive: false,
|
|
23554
|
+
cli: {
|
|
23555
|
+
group: ["rates", "billable"],
|
|
23556
|
+
command: "get-workspace-designation",
|
|
23557
|
+
interactive: "hidden"
|
|
23558
|
+
},
|
|
23559
|
+
mcp: { entityTool: "rates" },
|
|
23560
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23561
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
23562
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23563
|
+
}),
|
|
23564
|
+
execute: (input, { client }) => {
|
|
23565
|
+
const data = input;
|
|
23566
|
+
return client.runGeneratedRequest("getWorkspaceDesignationBillableRates", () => callGeneratedRequest(getWorkspaceDesignationBillableRates, [
|
|
23567
|
+
client.httpClient,
|
|
23568
|
+
client.organizationId,
|
|
23569
|
+
client.workspaceIdNumber,
|
|
23570
|
+
data.designation_id,
|
|
23571
|
+
data,
|
|
23572
|
+
void 0
|
|
23573
|
+
]));
|
|
23574
|
+
}
|
|
23575
|
+
},
|
|
23076
23576
|
{
|
|
23077
23577
|
id: "focus.rates.billable-get-workspace-user",
|
|
23078
23578
|
family: "focus",
|
|
@@ -23104,6 +23604,41 @@ const generatedFocusOperations = [
|
|
|
23104
23604
|
]));
|
|
23105
23605
|
}
|
|
23106
23606
|
},
|
|
23607
|
+
{
|
|
23608
|
+
id: "focus.rates.billable-upsert-designation-member",
|
|
23609
|
+
family: "focus",
|
|
23610
|
+
resource: "rates",
|
|
23611
|
+
action: "billable-upsert-designation-member",
|
|
23612
|
+
title: "Billable Upsert Designation Member Rates",
|
|
23613
|
+
description: "Billable Upsert Designation Member Rates.",
|
|
23614
|
+
safety: "update",
|
|
23615
|
+
destructive: false,
|
|
23616
|
+
cli: {
|
|
23617
|
+
group: ["rates", "billable"],
|
|
23618
|
+
command: "upsert-designation-member",
|
|
23619
|
+
interactive: "default"
|
|
23620
|
+
},
|
|
23621
|
+
mcp: { entityTool: "rates" },
|
|
23622
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23623
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
23624
|
+
payload: rateSchedulePayloadSchema,
|
|
23625
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
23626
|
+
user_id: /* @__PURE__ */ number$2()
|
|
23627
|
+
}),
|
|
23628
|
+
execute: (input, { client }) => {
|
|
23629
|
+
const data = input;
|
|
23630
|
+
return client.runGeneratedRequest("upsertDesignationMemberBillableRate", () => callGeneratedRequest(upsertDesignationMemberBillableRate, [
|
|
23631
|
+
client.httpClient,
|
|
23632
|
+
client.organizationId,
|
|
23633
|
+
client.workspaceIdNumber,
|
|
23634
|
+
data.project_id,
|
|
23635
|
+
data.designation_id,
|
|
23636
|
+
data.user_id,
|
|
23637
|
+
data.payload ?? data.data ?? data,
|
|
23638
|
+
void 0
|
|
23639
|
+
]));
|
|
23640
|
+
}
|
|
23641
|
+
},
|
|
23107
23642
|
{
|
|
23108
23643
|
id: "focus.rates.billable-upsert-project",
|
|
23109
23644
|
family: "focus",
|
|
@@ -23195,6 +23730,37 @@ const generatedFocusOperations = [
|
|
|
23195
23730
|
]));
|
|
23196
23731
|
}
|
|
23197
23732
|
},
|
|
23733
|
+
{
|
|
23734
|
+
id: "focus.rates.billable-upsert-workspace-designation",
|
|
23735
|
+
family: "focus",
|
|
23736
|
+
resource: "rates",
|
|
23737
|
+
action: "billable-upsert-workspace-designation",
|
|
23738
|
+
title: "Billable Upsert Workspace Designation Rates",
|
|
23739
|
+
description: "Billable Upsert Workspace Designation Rates.",
|
|
23740
|
+
safety: "update",
|
|
23741
|
+
destructive: false,
|
|
23742
|
+
cli: {
|
|
23743
|
+
group: ["rates", "billable"],
|
|
23744
|
+
command: "upsert-workspace-designation",
|
|
23745
|
+
interactive: "default"
|
|
23746
|
+
},
|
|
23747
|
+
mcp: { entityTool: "rates" },
|
|
23748
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23749
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
23750
|
+
payload: rateSchedulePayloadSchema
|
|
23751
|
+
}),
|
|
23752
|
+
execute: (input, { client }) => {
|
|
23753
|
+
const data = input;
|
|
23754
|
+
return client.runGeneratedRequest("upsertWorkspaceDesignationBillableRate", () => callGeneratedRequest(upsertWorkspaceDesignationBillableRate, [
|
|
23755
|
+
client.httpClient,
|
|
23756
|
+
client.organizationId,
|
|
23757
|
+
client.workspaceIdNumber,
|
|
23758
|
+
data.designation_id,
|
|
23759
|
+
data.payload ?? data.data ?? data,
|
|
23760
|
+
void 0
|
|
23761
|
+
]));
|
|
23762
|
+
}
|
|
23763
|
+
},
|
|
23198
23764
|
{
|
|
23199
23765
|
id: "focus.rates.billable-upsert-workspace-user",
|
|
23200
23766
|
family: "focus",
|
|
@@ -23460,6 +24026,41 @@ const generatedFocusOperations = [
|
|
|
23460
24026
|
]));
|
|
23461
24027
|
}
|
|
23462
24028
|
},
|
|
24029
|
+
{
|
|
24030
|
+
id: "focus.rates.labor-check-designation-member-labor-cost-conflicts",
|
|
24031
|
+
family: "focus",
|
|
24032
|
+
resource: "rates",
|
|
24033
|
+
action: "labor-check-designation-member-labor-cost-conflicts",
|
|
24034
|
+
title: "Labor Check Designation Member Labor Cost Conflicts Rates",
|
|
24035
|
+
description: "Labor Check Designation Member Labor Cost Conflicts Rates.",
|
|
24036
|
+
safety: "update",
|
|
24037
|
+
destructive: false,
|
|
24038
|
+
cli: {
|
|
24039
|
+
group: ["rates", "labor"],
|
|
24040
|
+
command: "check-designation-member-labor-cost-conflicts",
|
|
24041
|
+
interactive: "default"
|
|
24042
|
+
},
|
|
24043
|
+
mcp: { entityTool: "rates" },
|
|
24044
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24045
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24046
|
+
payload: rateSchedulePayloadSchema,
|
|
24047
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24048
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24049
|
+
}),
|
|
24050
|
+
execute: (input, { client }) => {
|
|
24051
|
+
const data = input;
|
|
24052
|
+
return client.runGeneratedRequest("checkDesignationMemberLaborCostConflicts", () => callGeneratedRequest(checkDesignationMemberLaborCostConflicts, [
|
|
24053
|
+
client.httpClient,
|
|
24054
|
+
client.organizationId,
|
|
24055
|
+
client.workspaceIdNumber,
|
|
24056
|
+
data.project_id,
|
|
24057
|
+
data.designation_id,
|
|
24058
|
+
data.user_id,
|
|
24059
|
+
data.payload ?? data.data ?? data,
|
|
24060
|
+
void 0
|
|
24061
|
+
]));
|
|
24062
|
+
}
|
|
24063
|
+
},
|
|
23463
24064
|
{
|
|
23464
24065
|
id: "focus.rates.labor-check-project-labor-cost-conflicts",
|
|
23465
24066
|
family: "focus",
|
|
@@ -23524,6 +24125,37 @@ const generatedFocusOperations = [
|
|
|
23524
24125
|
]));
|
|
23525
24126
|
}
|
|
23526
24127
|
},
|
|
24128
|
+
{
|
|
24129
|
+
id: "focus.rates.labor-check-workspace-designation-labor-cost-conflicts",
|
|
24130
|
+
family: "focus",
|
|
24131
|
+
resource: "rates",
|
|
24132
|
+
action: "labor-check-workspace-designation-labor-cost-conflicts",
|
|
24133
|
+
title: "Labor Check Workspace Designation Labor Cost Conflicts Rates",
|
|
24134
|
+
description: "Labor Check Workspace Designation Labor Cost Conflicts Rates.",
|
|
24135
|
+
safety: "update",
|
|
24136
|
+
destructive: false,
|
|
24137
|
+
cli: {
|
|
24138
|
+
group: ["rates", "labor"],
|
|
24139
|
+
command: "check-workspace-designation-labor-cost-conflicts",
|
|
24140
|
+
interactive: "default"
|
|
24141
|
+
},
|
|
24142
|
+
mcp: { entityTool: "rates" },
|
|
24143
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24144
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24145
|
+
payload: rateSchedulePayloadSchema
|
|
24146
|
+
}),
|
|
24147
|
+
execute: (input, { client }) => {
|
|
24148
|
+
const data = input;
|
|
24149
|
+
return client.runGeneratedRequest("checkWorkspaceDesignationLaborCostConflicts", () => callGeneratedRequest(checkWorkspaceDesignationLaborCostConflicts, [
|
|
24150
|
+
client.httpClient,
|
|
24151
|
+
client.organizationId,
|
|
24152
|
+
client.workspaceIdNumber,
|
|
24153
|
+
data.designation_id,
|
|
24154
|
+
data.payload ?? data.data ?? data,
|
|
24155
|
+
void 0
|
|
24156
|
+
]));
|
|
24157
|
+
}
|
|
24158
|
+
},
|
|
23527
24159
|
{
|
|
23528
24160
|
id: "focus.rates.labor-check-workspace-labor-cost-conflicts",
|
|
23529
24161
|
family: "focus",
|
|
@@ -23582,6 +24214,43 @@ const generatedFocusOperations = [
|
|
|
23582
24214
|
]));
|
|
23583
24215
|
}
|
|
23584
24216
|
},
|
|
24217
|
+
{
|
|
24218
|
+
id: "focus.rates.labor-delete-designation-member-labor-cost-rate-range",
|
|
24219
|
+
family: "focus",
|
|
24220
|
+
resource: "rates",
|
|
24221
|
+
action: "labor-delete-designation-member-labor-cost-rate-range",
|
|
24222
|
+
title: "Labor Delete Designation Member Labor Cost Rate Range Rates",
|
|
24223
|
+
description: "Labor Delete Designation Member Labor Cost Rate Range Rates.",
|
|
24224
|
+
safety: "delete",
|
|
24225
|
+
destructive: true,
|
|
24226
|
+
cli: {
|
|
24227
|
+
group: ["rates", "labor"],
|
|
24228
|
+
command: "delete-designation-member-labor-cost-rate-range",
|
|
24229
|
+
interactive: "default"
|
|
24230
|
+
},
|
|
24231
|
+
mcp: { entityTool: "rates" },
|
|
24232
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24233
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24234
|
+
from: /* @__PURE__ */ string$1(),
|
|
24235
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24236
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24237
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24238
|
+
}),
|
|
24239
|
+
execute: (input, { client }) => {
|
|
24240
|
+
const data = input;
|
|
24241
|
+
return client.runGeneratedRequest("deleteDesignationMemberLaborCostRateRange", () => callGeneratedRequest(deleteDesignationMemberLaborCostRateRange, [
|
|
24242
|
+
client.httpClient,
|
|
24243
|
+
client.organizationId,
|
|
24244
|
+
client.workspaceIdNumber,
|
|
24245
|
+
data.project_id,
|
|
24246
|
+
data.designation_id,
|
|
24247
|
+
data.user_id,
|
|
24248
|
+
data.from,
|
|
24249
|
+
data.to,
|
|
24250
|
+
void 0
|
|
24251
|
+
]));
|
|
24252
|
+
}
|
|
24253
|
+
},
|
|
23585
24254
|
{
|
|
23586
24255
|
id: "focus.rates.labor-delete-project-labor-cost-rate-range",
|
|
23587
24256
|
family: "focus",
|
|
@@ -23638,41 +24307,74 @@ const generatedFocusOperations = [
|
|
|
23638
24307
|
}),
|
|
23639
24308
|
execute: (input, { client }) => {
|
|
23640
24309
|
const data = input;
|
|
23641
|
-
return client.runGeneratedRequest("deleteProjectUserLaborCostRateRange", () => callGeneratedRequest(deleteProjectUserLaborCostRateRange, [
|
|
24310
|
+
return client.runGeneratedRequest("deleteProjectUserLaborCostRateRange", () => callGeneratedRequest(deleteProjectUserLaborCostRateRange, [
|
|
24311
|
+
client.httpClient,
|
|
24312
|
+
client.organizationId,
|
|
24313
|
+
client.workspaceIdNumber,
|
|
24314
|
+
data.project_id,
|
|
24315
|
+
data.user_id,
|
|
24316
|
+
data.from,
|
|
24317
|
+
data.to,
|
|
24318
|
+
void 0
|
|
24319
|
+
]));
|
|
24320
|
+
}
|
|
24321
|
+
},
|
|
24322
|
+
{
|
|
24323
|
+
id: "focus.rates.labor-delete-rate-by-id",
|
|
24324
|
+
family: "focus",
|
|
24325
|
+
resource: "rates",
|
|
24326
|
+
action: "labor-delete-rate-by-id",
|
|
24327
|
+
title: "Labor Delete Rate By Id Rates",
|
|
24328
|
+
description: "Labor Delete Rate By Id Rates.",
|
|
24329
|
+
safety: "delete",
|
|
24330
|
+
destructive: true,
|
|
24331
|
+
cli: {
|
|
24332
|
+
group: ["rates", "labor"],
|
|
24333
|
+
command: "delete-rate-by-id",
|
|
24334
|
+
interactive: "default"
|
|
24335
|
+
},
|
|
24336
|
+
mcp: { entityTool: "rates" },
|
|
24337
|
+
inputSchema: /* @__PURE__ */ looseObject({ rate_id: /* @__PURE__ */ number$2() }),
|
|
24338
|
+
execute: (input, { client }) => {
|
|
24339
|
+
const data = input;
|
|
24340
|
+
return client.runGeneratedRequest("deleteLaborCostRateById", () => callGeneratedRequest(deleteLaborCostRateById, [
|
|
23642
24341
|
client.httpClient,
|
|
23643
24342
|
client.organizationId,
|
|
23644
24343
|
client.workspaceIdNumber,
|
|
23645
|
-
data.
|
|
23646
|
-
data.user_id,
|
|
23647
|
-
data.from,
|
|
23648
|
-
data.to,
|
|
24344
|
+
data.rate_id,
|
|
23649
24345
|
void 0
|
|
23650
24346
|
]));
|
|
23651
24347
|
}
|
|
23652
24348
|
},
|
|
23653
24349
|
{
|
|
23654
|
-
id: "focus.rates.labor-delete-rate-
|
|
24350
|
+
id: "focus.rates.labor-delete-workspace-designation-labor-cost-rate-range",
|
|
23655
24351
|
family: "focus",
|
|
23656
24352
|
resource: "rates",
|
|
23657
|
-
action: "labor-delete-rate-
|
|
23658
|
-
title: "Labor Delete Rate
|
|
23659
|
-
description: "Labor Delete Rate
|
|
24353
|
+
action: "labor-delete-workspace-designation-labor-cost-rate-range",
|
|
24354
|
+
title: "Labor Delete Workspace Designation Labor Cost Rate Range Rates",
|
|
24355
|
+
description: "Labor Delete Workspace Designation Labor Cost Rate Range Rates.",
|
|
23660
24356
|
safety: "delete",
|
|
23661
24357
|
destructive: true,
|
|
23662
24358
|
cli: {
|
|
23663
24359
|
group: ["rates", "labor"],
|
|
23664
|
-
command: "delete-rate-
|
|
24360
|
+
command: "delete-workspace-designation-labor-cost-rate-range",
|
|
23665
24361
|
interactive: "default"
|
|
23666
24362
|
},
|
|
23667
24363
|
mcp: { entityTool: "rates" },
|
|
23668
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24364
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24365
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24366
|
+
from: /* @__PURE__ */ string$1(),
|
|
24367
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
24368
|
+
}),
|
|
23669
24369
|
execute: (input, { client }) => {
|
|
23670
24370
|
const data = input;
|
|
23671
|
-
return client.runGeneratedRequest("
|
|
24371
|
+
return client.runGeneratedRequest("deleteWorkspaceDesignationLaborCostRateRange", () => callGeneratedRequest(deleteWorkspaceDesignationLaborCostRateRange, [
|
|
23672
24372
|
client.httpClient,
|
|
23673
24373
|
client.organizationId,
|
|
23674
24374
|
client.workspaceIdNumber,
|
|
23675
|
-
data.
|
|
24375
|
+
data.designation_id,
|
|
24376
|
+
data.from,
|
|
24377
|
+
data.to,
|
|
23676
24378
|
void 0
|
|
23677
24379
|
]));
|
|
23678
24380
|
}
|
|
@@ -23773,6 +24475,36 @@ const generatedFocusOperations = [
|
|
|
23773
24475
|
]));
|
|
23774
24476
|
}
|
|
23775
24477
|
},
|
|
24478
|
+
{
|
|
24479
|
+
id: "focus.rates.labor-get-all-workspace-designation-labor-cost-rates",
|
|
24480
|
+
family: "focus",
|
|
24481
|
+
resource: "rates",
|
|
24482
|
+
action: "labor-get-all-workspace-designation-labor-cost-rates",
|
|
24483
|
+
title: "Labor Get All Workspace Designation Labor Cost Rates Rates",
|
|
24484
|
+
description: "Labor Get All Workspace Designation Labor Cost Rates Rates.",
|
|
24485
|
+
safety: "read",
|
|
24486
|
+
destructive: false,
|
|
24487
|
+
cli: {
|
|
24488
|
+
group: ["rates", "labor"],
|
|
24489
|
+
command: "get-all-workspace-designation-labor-cost-rates",
|
|
24490
|
+
interactive: "hidden"
|
|
24491
|
+
},
|
|
24492
|
+
mcp: { entityTool: "rates" },
|
|
24493
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24494
|
+
designation_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24495
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24496
|
+
}),
|
|
24497
|
+
execute: (input, { client }) => {
|
|
24498
|
+
const data = input;
|
|
24499
|
+
return client.runGeneratedRequest("getAllWorkspaceDesignationLaborCostRates", () => callGeneratedRequest(getAllWorkspaceDesignationLaborCostRates, [
|
|
24500
|
+
client.httpClient,
|
|
24501
|
+
client.organizationId,
|
|
24502
|
+
client.workspaceIdNumber,
|
|
24503
|
+
data,
|
|
24504
|
+
void 0
|
|
24505
|
+
]));
|
|
24506
|
+
}
|
|
24507
|
+
},
|
|
23776
24508
|
{
|
|
23777
24509
|
id: "focus.rates.labor-get-all-workspace-user-labor-cost-rates",
|
|
23778
24510
|
family: "focus",
|
|
@@ -23803,6 +24535,72 @@ const generatedFocusOperations = [
|
|
|
23803
24535
|
]));
|
|
23804
24536
|
}
|
|
23805
24537
|
},
|
|
24538
|
+
{
|
|
24539
|
+
id: "focus.rates.labor-get-designation-member-labor-cost-rates",
|
|
24540
|
+
family: "focus",
|
|
24541
|
+
resource: "rates",
|
|
24542
|
+
action: "labor-get-designation-member-labor-cost-rates",
|
|
24543
|
+
title: "Labor Get Designation Member Labor Cost Rates Rates",
|
|
24544
|
+
description: "Labor Get Designation Member Labor Cost Rates Rates.",
|
|
24545
|
+
safety: "read",
|
|
24546
|
+
destructive: false,
|
|
24547
|
+
cli: {
|
|
24548
|
+
group: ["rates", "labor"],
|
|
24549
|
+
command: "get-designation-member-labor-cost-rates",
|
|
24550
|
+
interactive: "hidden"
|
|
24551
|
+
},
|
|
24552
|
+
mcp: { entityTool: "rates" },
|
|
24553
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24554
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24555
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24556
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24557
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24558
|
+
}),
|
|
24559
|
+
execute: (input, { client }) => {
|
|
24560
|
+
const data = input;
|
|
24561
|
+
return client.runGeneratedRequest("getDesignationMemberLaborCostRates", () => callGeneratedRequest(getDesignationMemberLaborCostRates, [
|
|
24562
|
+
client.httpClient,
|
|
24563
|
+
client.organizationId,
|
|
24564
|
+
client.workspaceIdNumber,
|
|
24565
|
+
data.project_id,
|
|
24566
|
+
data.designation_id,
|
|
24567
|
+
data.user_id,
|
|
24568
|
+
data,
|
|
24569
|
+
void 0
|
|
24570
|
+
]));
|
|
24571
|
+
}
|
|
24572
|
+
},
|
|
24573
|
+
{
|
|
24574
|
+
id: "focus.rates.labor-get-designation-members-labor-cost-rates",
|
|
24575
|
+
family: "focus",
|
|
24576
|
+
resource: "rates",
|
|
24577
|
+
action: "labor-get-designation-members-labor-cost-rates",
|
|
24578
|
+
title: "Labor Get Designation Members Labor Cost Rates Rates",
|
|
24579
|
+
description: "Labor Get Designation Members Labor Cost Rates Rates.",
|
|
24580
|
+
safety: "read",
|
|
24581
|
+
destructive: false,
|
|
24582
|
+
cli: {
|
|
24583
|
+
group: ["rates", "labor"],
|
|
24584
|
+
command: "get-designation-members-labor-cost-rates",
|
|
24585
|
+
interactive: "available"
|
|
24586
|
+
},
|
|
24587
|
+
mcp: { entityTool: "rates" },
|
|
24588
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24589
|
+
date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
24590
|
+
project_id: /* @__PURE__ */ number$2()
|
|
24591
|
+
}),
|
|
24592
|
+
execute: (input, { client }) => {
|
|
24593
|
+
const data = input;
|
|
24594
|
+
return client.runGeneratedRequest("getDesignationMembersLaborCostRates", () => callGeneratedRequest(getDesignationMembersLaborCostRates, [
|
|
24595
|
+
client.httpClient,
|
|
24596
|
+
client.organizationId,
|
|
24597
|
+
client.workspaceIdNumber,
|
|
24598
|
+
data.project_id,
|
|
24599
|
+
data,
|
|
24600
|
+
void 0
|
|
24601
|
+
]));
|
|
24602
|
+
}
|
|
24603
|
+
},
|
|
23806
24604
|
{
|
|
23807
24605
|
id: "focus.rates.labor-get-project-labor-cost-rates",
|
|
23808
24606
|
family: "focus",
|
|
@@ -23867,6 +24665,37 @@ const generatedFocusOperations = [
|
|
|
23867
24665
|
]));
|
|
23868
24666
|
}
|
|
23869
24667
|
},
|
|
24668
|
+
{
|
|
24669
|
+
id: "focus.rates.labor-get-workspace-designation-labor-cost-rates",
|
|
24670
|
+
family: "focus",
|
|
24671
|
+
resource: "rates",
|
|
24672
|
+
action: "labor-get-workspace-designation-labor-cost-rates",
|
|
24673
|
+
title: "Labor Get Workspace Designation Labor Cost Rates Rates",
|
|
24674
|
+
description: "Labor Get Workspace Designation Labor Cost Rates Rates.",
|
|
24675
|
+
safety: "read",
|
|
24676
|
+
destructive: false,
|
|
24677
|
+
cli: {
|
|
24678
|
+
group: ["rates", "labor"],
|
|
24679
|
+
command: "get-workspace-designation-labor-cost-rates",
|
|
24680
|
+
interactive: "hidden"
|
|
24681
|
+
},
|
|
24682
|
+
mcp: { entityTool: "rates" },
|
|
24683
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24684
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24685
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24686
|
+
}),
|
|
24687
|
+
execute: (input, { client }) => {
|
|
24688
|
+
const data = input;
|
|
24689
|
+
return client.runGeneratedRequest("getWorkspaceDesignationLaborCostRates", () => callGeneratedRequest(getWorkspaceDesignationLaborCostRates, [
|
|
24690
|
+
client.httpClient,
|
|
24691
|
+
client.organizationId,
|
|
24692
|
+
client.workspaceIdNumber,
|
|
24693
|
+
data.designation_id,
|
|
24694
|
+
data,
|
|
24695
|
+
void 0
|
|
24696
|
+
]));
|
|
24697
|
+
}
|
|
24698
|
+
},
|
|
23870
24699
|
{
|
|
23871
24700
|
id: "focus.rates.labor-get-workspace-labor-cost-rates",
|
|
23872
24701
|
family: "focus",
|
|
@@ -23925,6 +24754,41 @@ const generatedFocusOperations = [
|
|
|
23925
24754
|
]));
|
|
23926
24755
|
}
|
|
23927
24756
|
},
|
|
24757
|
+
{
|
|
24758
|
+
id: "focus.rates.labor-upsert-designation-member-labor-cost-rate",
|
|
24759
|
+
family: "focus",
|
|
24760
|
+
resource: "rates",
|
|
24761
|
+
action: "labor-upsert-designation-member-labor-cost-rate",
|
|
24762
|
+
title: "Labor Upsert Designation Member Labor Cost Rate Rates",
|
|
24763
|
+
description: "Labor Upsert Designation Member Labor Cost Rate Rates.",
|
|
24764
|
+
safety: "update",
|
|
24765
|
+
destructive: false,
|
|
24766
|
+
cli: {
|
|
24767
|
+
group: ["rates", "labor"],
|
|
24768
|
+
command: "upsert-designation-member-labor-cost-rate",
|
|
24769
|
+
interactive: "default"
|
|
24770
|
+
},
|
|
24771
|
+
mcp: { entityTool: "rates" },
|
|
24772
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24773
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24774
|
+
payload: rateSchedulePayloadSchema,
|
|
24775
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24776
|
+
user_id: /* @__PURE__ */ number$2()
|
|
24777
|
+
}),
|
|
24778
|
+
execute: (input, { client }) => {
|
|
24779
|
+
const data = input;
|
|
24780
|
+
return client.runGeneratedRequest("upsertDesignationMemberLaborCostRate", () => callGeneratedRequest(upsertDesignationMemberLaborCostRate, [
|
|
24781
|
+
client.httpClient,
|
|
24782
|
+
client.organizationId,
|
|
24783
|
+
client.workspaceIdNumber,
|
|
24784
|
+
data.project_id,
|
|
24785
|
+
data.designation_id,
|
|
24786
|
+
data.user_id,
|
|
24787
|
+
data.payload ?? data.data ?? data,
|
|
24788
|
+
void 0
|
|
24789
|
+
]));
|
|
24790
|
+
}
|
|
24791
|
+
},
|
|
23928
24792
|
{
|
|
23929
24793
|
id: "focus.rates.labor-upsert-project-labor-cost-rate",
|
|
23930
24794
|
family: "focus",
|
|
@@ -23989,6 +24853,37 @@ const generatedFocusOperations = [
|
|
|
23989
24853
|
]));
|
|
23990
24854
|
}
|
|
23991
24855
|
},
|
|
24856
|
+
{
|
|
24857
|
+
id: "focus.rates.labor-upsert-workspace-designation-labor-cost-rate",
|
|
24858
|
+
family: "focus",
|
|
24859
|
+
resource: "rates",
|
|
24860
|
+
action: "labor-upsert-workspace-designation-labor-cost-rate",
|
|
24861
|
+
title: "Labor Upsert Workspace Designation Labor Cost Rate Rates",
|
|
24862
|
+
description: "Labor Upsert Workspace Designation Labor Cost Rate Rates.",
|
|
24863
|
+
safety: "update",
|
|
24864
|
+
destructive: false,
|
|
24865
|
+
cli: {
|
|
24866
|
+
group: ["rates", "labor"],
|
|
24867
|
+
command: "upsert-workspace-designation-labor-cost-rate",
|
|
24868
|
+
interactive: "default"
|
|
24869
|
+
},
|
|
24870
|
+
mcp: { entityTool: "rates" },
|
|
24871
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24872
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
24873
|
+
payload: rateSchedulePayloadSchema
|
|
24874
|
+
}),
|
|
24875
|
+
execute: (input, { client }) => {
|
|
24876
|
+
const data = input;
|
|
24877
|
+
return client.runGeneratedRequest("upsertWorkspaceDesignationLaborCostRate", () => callGeneratedRequest(upsertWorkspaceDesignationLaborCostRate, [
|
|
24878
|
+
client.httpClient,
|
|
24879
|
+
client.organizationId,
|
|
24880
|
+
client.workspaceIdNumber,
|
|
24881
|
+
data.designation_id,
|
|
24882
|
+
data.payload ?? data.data ?? data,
|
|
24883
|
+
void 0
|
|
24884
|
+
]));
|
|
24885
|
+
}
|
|
24886
|
+
},
|
|
23992
24887
|
{
|
|
23993
24888
|
id: "focus.rates.labor-upsert-workspace-labor-cost-rate",
|
|
23994
24889
|
family: "focus",
|
|
@@ -29742,6 +30637,110 @@ const generatedFocusOperations = [
|
|
|
29742
30637
|
]));
|
|
29743
30638
|
}
|
|
29744
30639
|
},
|
|
30640
|
+
{
|
|
30641
|
+
id: "focus.timesheets.setups-bulk-discontinue-timesheet-setup-members",
|
|
30642
|
+
family: "focus",
|
|
30643
|
+
resource: "timesheets",
|
|
30644
|
+
action: "setups-bulk-discontinue-timesheet-setup-members",
|
|
30645
|
+
title: "Setups Bulk Discontinue Timesheet Setup Members Timesheets",
|
|
30646
|
+
description: "Setups Bulk Discontinue Timesheet Setup Members Timesheets.",
|
|
30647
|
+
safety: "update",
|
|
30648
|
+
destructive: false,
|
|
30649
|
+
cli: {
|
|
30650
|
+
group: [
|
|
30651
|
+
"timesheets",
|
|
30652
|
+
"setups",
|
|
30653
|
+
"bulk"
|
|
30654
|
+
],
|
|
30655
|
+
command: "discontinue-timesheet-setup-members",
|
|
30656
|
+
interactive: "default"
|
|
30657
|
+
},
|
|
30658
|
+
mcp: { entityTool: "timesheets" },
|
|
30659
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
30660
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
30661
|
+
user_account_id: /* @__PURE__ */ number$2(),
|
|
30662
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
30663
|
+
})) }) }),
|
|
30664
|
+
execute: (input, { client }) => {
|
|
30665
|
+
const data = input;
|
|
30666
|
+
return client.runGeneratedRequest("bulkDiscontinueTimesheetSetupMembers", () => callGeneratedRequest(bulkDiscontinueTimesheetSetupMembers, [
|
|
30667
|
+
client.httpClient,
|
|
30668
|
+
client.organizationId,
|
|
30669
|
+
client.workspaceIdNumber,
|
|
30670
|
+
data.payload ?? data.data ?? data,
|
|
30671
|
+
void 0
|
|
30672
|
+
]));
|
|
30673
|
+
}
|
|
30674
|
+
},
|
|
30675
|
+
{
|
|
30676
|
+
id: "focus.timesheets.setups-bulk-reactivate-timesheet-setup-members",
|
|
30677
|
+
family: "focus",
|
|
30678
|
+
resource: "timesheets",
|
|
30679
|
+
action: "setups-bulk-reactivate-timesheet-setup-members",
|
|
30680
|
+
title: "Setups Bulk Reactivate Timesheet Setup Members Timesheets",
|
|
30681
|
+
description: "Setups Bulk Reactivate Timesheet Setup Members Timesheets.",
|
|
30682
|
+
safety: "update",
|
|
30683
|
+
destructive: false,
|
|
30684
|
+
cli: {
|
|
30685
|
+
group: [
|
|
30686
|
+
"timesheets",
|
|
30687
|
+
"setups",
|
|
30688
|
+
"bulk"
|
|
30689
|
+
],
|
|
30690
|
+
command: "reactivate-timesheet-setup-members",
|
|
30691
|
+
interactive: "default"
|
|
30692
|
+
},
|
|
30693
|
+
mcp: { entityTool: "timesheets" },
|
|
30694
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
30695
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
30696
|
+
user_account_id: /* @__PURE__ */ number$2()
|
|
30697
|
+
})) }) }),
|
|
30698
|
+
execute: (input, { client }) => {
|
|
30699
|
+
const data = input;
|
|
30700
|
+
return client.runGeneratedRequest("bulkReactivateTimesheetSetupMembers", () => callGeneratedRequest(bulkReactivateTimesheetSetupMembers, [
|
|
30701
|
+
client.httpClient,
|
|
30702
|
+
client.organizationId,
|
|
30703
|
+
client.workspaceIdNumber,
|
|
30704
|
+
data.payload ?? data.data ?? data,
|
|
30705
|
+
void 0
|
|
30706
|
+
]));
|
|
30707
|
+
}
|
|
30708
|
+
},
|
|
30709
|
+
{
|
|
30710
|
+
id: "focus.timesheets.setups-bulk-update-timesheet-setup-reminder",
|
|
30711
|
+
family: "focus",
|
|
30712
|
+
resource: "timesheets",
|
|
30713
|
+
action: "setups-bulk-update-timesheet-setup-reminder",
|
|
30714
|
+
title: "Setups Bulk Update Timesheet Setup Reminder Timesheets",
|
|
30715
|
+
description: "Setups Bulk Update Timesheet Setup Reminder Timesheets.",
|
|
30716
|
+
safety: "update",
|
|
30717
|
+
destructive: false,
|
|
30718
|
+
cli: {
|
|
30719
|
+
group: [
|
|
30720
|
+
"timesheets",
|
|
30721
|
+
"setups",
|
|
30722
|
+
"bulk"
|
|
30723
|
+
],
|
|
30724
|
+
command: "update-timesheet-setup-reminder",
|
|
30725
|
+
interactive: "default"
|
|
30726
|
+
},
|
|
30727
|
+
mcp: { entityTool: "timesheets" },
|
|
30728
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ items: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
30729
|
+
day: /* @__PURE__ */ number$2(),
|
|
30730
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
30731
|
+
time: /* @__PURE__ */ string$1()
|
|
30732
|
+
})) }) }),
|
|
30733
|
+
execute: (input, { client }) => {
|
|
30734
|
+
const data = input;
|
|
30735
|
+
return client.runGeneratedRequest("bulkUpdateTimesheetSetupReminder", () => callGeneratedRequest(bulkUpdateTimesheetSetupReminder, [
|
|
30736
|
+
client.httpClient,
|
|
30737
|
+
client.organizationId,
|
|
30738
|
+
client.workspaceIdNumber,
|
|
30739
|
+
data.payload ?? data.data ?? data,
|
|
30740
|
+
void 0
|
|
30741
|
+
]));
|
|
30742
|
+
}
|
|
30743
|
+
},
|
|
29745
30744
|
{
|
|
29746
30745
|
id: "focus.timesheets.setups-cancel-timesheet-setup-member-move",
|
|
29747
30746
|
family: "focus",
|
|
@@ -29801,6 +30800,10 @@ const generatedFocusOperations = [
|
|
|
29801
30800
|
]),
|
|
29802
30801
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
29803
30802
|
email_reminder_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
30803
|
+
member_starts: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
30804
|
+
started_at: apiDateTimeString,
|
|
30805
|
+
user_account_id: /* @__PURE__ */ number$2()
|
|
30806
|
+
}))),
|
|
29804
30807
|
period_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
29805
30808
|
reminder_day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
29806
30809
|
reminder_time: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
@@ -30148,6 +31151,7 @@ const generatedFocusOperations = [
|
|
|
30148
31151
|
day: /* @__PURE__ */ number$2(),
|
|
30149
31152
|
time: /* @__PURE__ */ string$1()
|
|
30150
31153
|
})),
|
|
31154
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
30151
31155
|
unset_reminder: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
30152
31156
|
}),
|
|
30153
31157
|
setup_id: /* @__PURE__ */ number$2()
|
|
@@ -30405,6 +31409,7 @@ const generatedFocusOperations = [
|
|
|
30405
31409
|
"improved",
|
|
30406
31410
|
"decimal"
|
|
30407
31411
|
])),
|
|
31412
|
+
extension_integration_suggestions_disabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
30408
31413
|
focus_mode_count_up: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
30409
31414
|
goal_reminders_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
30410
31415
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -32672,4 +33677,4 @@ Common commands:
|
|
|
32672
33677
|
//#endregion
|
|
32673
33678
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
32674
33679
|
|
|
32675
|
-
//# sourceMappingURL=program-
|
|
33680
|
+
//# sourceMappingURL=program-CCxUZyMn.js.map
|