@withone/platform-click-up 0.0.0-stage → 0.1.0

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/dist/index.js ADDED
@@ -0,0 +1,1931 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ addGuestFolder: () => addGuestFolder,
24
+ addGuestList: () => addGuestList,
25
+ addGuestTask: () => addGuestTask,
26
+ addLinkBetweenTwoTasksTaskLinks: () => addLinkBetweenTwoTasksTaskLinks,
27
+ addTagTask: () => addTagTask,
28
+ addTagsWorkspacesTimeEntries: () => addTagsWorkspacesTimeEntries,
29
+ addTaskAdditionalList: () => addTaskAdditionalList,
30
+ addTaskDependencyWaitingBlocking: () => addTaskDependencyWaitingBlocking,
31
+ changeTagNamesFromTimeEntriesWorkspace: () => changeTagNamesFromTimeEntriesWorkspace,
32
+ createAttachmentWorkspaceEntityTaskOrFilesCustomField: () => createAttachmentWorkspaceEntityTaskOrFilesCustomField,
33
+ createChatChannelSpaceFolderOrListLocation: () => createChatChannelSpaceFolderOrListLocation,
34
+ createChatMessageReactionWorkspace: () => createChatMessageReactionWorkspace,
35
+ createChatViewComment: () => createChatViewComment,
36
+ createChecklistItemChecklist: () => createChecklistItemChecklist,
37
+ createDocPageWorkspace: () => createDocPageWorkspace,
38
+ createFolderFromTemplateSpace: () => createFolderFromTemplateSpace,
39
+ createFolderListCreateList: () => createFolderListCreateList,
40
+ createFolderView: () => createFolderView,
41
+ createFolderlessListSpace: () => createFolderlessListSpace,
42
+ createGoalKeyResult: () => createGoalKeyResult,
43
+ createListComment: () => createListComment,
44
+ createListFromTemplateFolder: () => createListFromTemplateFolder,
45
+ createListFromTemplateSpace: () => createListFromTemplateSpace,
46
+ createListView: () => createListView,
47
+ createReplyMessageWorkspaceChatThread: () => createReplyMessageWorkspaceChatThread,
48
+ createSpaceFolder: () => createSpaceFolder,
49
+ createSpaceTag: () => createSpaceTag,
50
+ createSpaceView: () => createSpaceView,
51
+ createTaskAttachment: () => createTaskAttachment,
52
+ createTaskChecklist: () => createTaskChecklist,
53
+ createTaskComment: () => createTaskComment,
54
+ createTaskFromTemplateList: () => createTaskFromTemplateList,
55
+ createTaskList: () => createTaskList,
56
+ createThreadedCommentReply: () => createThreadedCommentReply,
57
+ createTimeEntryWorkspaceTeam: () => createTimeEntryWorkspaceTeam,
58
+ createWorkspaceChatChannel: () => createWorkspaceChatChannel,
59
+ createWorkspaceDirectMessageChatChannel: () => createWorkspaceDirectMessageChatChannel,
60
+ createWorkspaceDoc: () => createWorkspaceDoc,
61
+ createWorkspaceEverythingLevelView: () => createWorkspaceEverythingLevelView,
62
+ createWorkspaceGoal: () => createWorkspaceGoal,
63
+ createWorkspaceSpace: () => createWorkspaceSpace,
64
+ createWorkspaceUserGroup: () => createWorkspaceUserGroup,
65
+ createWorkspaceWebhook: () => createWorkspaceWebhook,
66
+ createWorkspacesAuditLogs: () => createWorkspacesAuditLogs,
67
+ deleteChecklist: () => deleteChecklist,
68
+ deleteChecklistsChecklistItem: () => deleteChecklistsChecklistItem,
69
+ deleteFolder: () => deleteFolder,
70
+ deleteGoalKeyResult: () => deleteGoalKeyResult,
71
+ deleteSpaceTag: () => deleteSpaceTag,
72
+ deleteTask: () => deleteTask,
73
+ deleteTaskComment: () => deleteTaskComment,
74
+ deleteTaskDependency: () => deleteTaskDependency,
75
+ deleteTaskLink: () => deleteTaskLink,
76
+ deleteTasksTimeTrackedInterval: () => deleteTasksTimeTrackedInterval,
77
+ deleteView: () => deleteView,
78
+ deleteWebhook: () => deleteWebhook,
79
+ deleteWorkspaceChatChannel: () => deleteWorkspaceChatChannel,
80
+ deleteWorkspaceChatMessage: () => deleteWorkspaceChatMessage,
81
+ deleteWorkspaceChatMessageReaction: () => deleteWorkspaceChatMessageReaction,
82
+ deleteWorkspaceGoal: () => deleteWorkspaceGoal,
83
+ deleteWorkspaceList: () => deleteWorkspaceList,
84
+ deleteWorkspaceSpace: () => deleteWorkspaceSpace,
85
+ deleteWorkspaceTimeEntry: () => deleteWorkspaceTimeEntry,
86
+ deleteWorkspaceUserGroup: () => deleteWorkspaceUserGroup,
87
+ editChecklistsItem: () => editChecklistsItem,
88
+ editGuestWorkspace: () => editGuestWorkspace,
89
+ editKeyResult: () => editKeyResult,
90
+ editSpaceTag: () => editSpaceTag,
91
+ editTasksChecklist: () => editTasksChecklist,
92
+ editTasksTimeTrackedIntervalLegacy: () => editTasksTimeTrackedIntervalLegacy,
93
+ editUserWorkspace: () => editUserWorkspace,
94
+ editWorkspaceDocPage: () => editWorkspaceDocPage,
95
+ fetchWorkspaceDoc: () => fetchWorkspaceDoc,
96
+ getAuthorizedUser: () => getAuthorizedUser,
97
+ getBulkTasksTimeStatus: () => getBulkTasksTimeStatus,
98
+ getChatViewCommentsChatView: () => getChatViewCommentsChatView,
99
+ getDocPageWorkspace: () => getDocPageWorkspace,
100
+ getDocsPageListingPublic: () => getDocsPageListingPublic,
101
+ getFilteredTeamTasksListWorkspacesTasksFilter: () => getFilteredTeamTasksListWorkspacesTasksFilter,
102
+ getFolder: () => getFolder,
103
+ getFolderTemplatesWorkspace: () => getFolderTemplatesWorkspace,
104
+ getGoal: () => getGoal,
105
+ getList: () => getList,
106
+ getListTemplatesWorkspace: () => getListTemplatesWorkspace,
107
+ getListsCustomFields: () => getListsCustomFields,
108
+ getOauthAccessToken: () => getOauthAccessToken,
109
+ getSpace: () => getSpace,
110
+ getTask: () => getTask,
111
+ getTasksTimeStatus: () => getTasksTimeStatus,
112
+ getTasksTrackedTimeLegacy: () => getTasksTrackedTimeLegacy,
113
+ getThreadedCommentsComment: () => getThreadedCommentsComment,
114
+ getTimeEntriesWithinDateRangeWorkspace: () => getTimeEntriesWithinDateRangeWorkspace,
115
+ getTimeEntrysHistoryWorkspace: () => getTimeEntrysHistoryWorkspace,
116
+ getView: () => getView,
117
+ getWorkspaceGuest: () => getWorkspaceGuest,
118
+ getWorkspaceSeats: () => getWorkspaceSeats,
119
+ getWorkspaceTimeEntry: () => getWorkspaceTimeEntry,
120
+ getWorkspaceUser: () => getWorkspaceUser,
121
+ getWorkspacesCurrentRunningTimeEntry: () => getWorkspacesCurrentRunningTimeEntry,
122
+ getWorkspacesPlan: () => getWorkspacesPlan,
123
+ getWorkspacesPostSubtypeIds: () => getWorkspacesPostSubtypeIds,
124
+ getWorkspacesSharedHierarchy: () => getWorkspacesSharedHierarchy,
125
+ inviteGuestWorkspace: () => inviteGuestWorkspace,
126
+ inviteUserWorkspace: () => inviteUserWorkspace,
127
+ listAuthorizedWorkspaces: () => listAuthorizedWorkspaces,
128
+ listChatChannelsMembersWorkspace: () => listChatChannelsMembersWorkspace,
129
+ listCommentsList: () => listCommentsList,
130
+ listDocsPagesPublic: () => listDocsPagesPublic,
131
+ listFolderlessListsSpace: () => listFolderlessListsSpace,
132
+ listFoldersCustomFields: () => listFoldersCustomFields,
133
+ listFoldersLists: () => listFoldersLists,
134
+ listFoldersViews: () => listFoldersViews,
135
+ listListsViews: () => listListsViews,
136
+ listMembersExplicitAccessList: () => listMembersExplicitAccessList,
137
+ listSpacesCustomFields: () => listSpacesCustomFields,
138
+ listSpacesFolders: () => listSpacesFolders,
139
+ listSpacesTags: () => listSpacesTags,
140
+ listSpacesViews: () => listSpacesViews,
141
+ listTasksComments: () => listTasksComments,
142
+ listTasksList: () => listTasksList,
143
+ listTasksMembersExplicitAccess: () => listTasksMembersExplicitAccess,
144
+ listTasksView: () => listTasksView,
145
+ listUserGroupsWorkspace: () => listUserGroupsWorkspace,
146
+ listWorkspaceEntitysAttachments: () => listWorkspaceEntitysAttachments,
147
+ listWorkspacesCustomFields: () => listWorkspacesCustomFields,
148
+ listWorkspacesCustomRoles: () => listWorkspacesCustomRoles,
149
+ listWorkspacesCustomTaskTypes: () => listWorkspacesCustomTaskTypes,
150
+ listWorkspacesEverythingLevelViews: () => listWorkspacesEverythingLevelViews,
151
+ listWorkspacesGoals: () => listWorkspacesGoals,
152
+ listWorkspacesSpaces: () => listWorkspacesSpaces,
153
+ listWorkspacesTaskTemplates: () => listWorkspacesTaskTemplates,
154
+ listWorkspacesTimeEntryTags: () => listWorkspacesTimeEntryTags,
155
+ listWorkspacesWebhooks: () => listWorkspacesWebhooks,
156
+ mergeTasksIntoTargetTask: () => mergeTasksIntoTargetTask,
157
+ moveFolder: () => moveFolder,
158
+ moveWorkspaceTaskNewHomeList: () => moveWorkspaceTaskNewHomeList,
159
+ removeGuestFromFolder: () => removeGuestFromFolder,
160
+ removeGuestFromList: () => removeGuestFromList,
161
+ removeGuestFromTask: () => removeGuestFromTask,
162
+ removeGuestFromWorkspace: () => removeGuestFromWorkspace,
163
+ removeTagFromTask: () => removeTagFromTask,
164
+ removeTagsFromWorkspacesTimeEntries: () => removeTagsFromWorkspacesTimeEntries,
165
+ removeTaskFromList: () => removeTaskFromList,
166
+ removeTasksCustomFieldValue: () => removeTasksCustomFieldValue,
167
+ removeUserFromWorkspace: () => removeUserFromWorkspace,
168
+ replaceTasksTimeEstimatesUserWorkspace: () => replaceTasksTimeEstimatesUserWorkspace,
169
+ retrieveChatMessagesReplies: () => retrieveChatMessagesReplies,
170
+ retrieveChatMessagesTaggedUsersWorkspace: () => retrieveChatMessagesTaggedUsersWorkspace,
171
+ retrieveWorkspaceChannelsChatMessages: () => retrieveWorkspaceChannelsChatMessages,
172
+ retrieveWorkspaceChatChannel: () => retrieveWorkspaceChatChannel,
173
+ retrieveWorkspaceChatChannelsFollowers: () => retrieveWorkspaceChatChannelsFollowers,
174
+ retrieveWorkspaceChatMessagesReactions: () => retrieveWorkspaceChatMessagesReactions,
175
+ retrieveWorkspacesChatChannels: () => retrieveWorkspacesChatChannels,
176
+ searchWorkspacesDocs: () => searchWorkspacesDocs,
177
+ sendChatMessageWorkspaceChannel: () => sendChatMessageWorkspaceChannel,
178
+ setTasksCustomFieldValue: () => setTasksCustomFieldValue,
179
+ startWorkspaceTimeEntryTimerAuthenticatedUser: () => startWorkspaceTimeEntryTimerAuthenticatedUser,
180
+ stopWorkspaceTimeEntryTimerAuthenticatedUser: () => stopWorkspaceTimeEntryTimerAuthenticatedUser,
181
+ trackTimeTask: () => trackTimeTask,
182
+ updateComment: () => updateComment,
183
+ updateFolder: () => updateFolder,
184
+ updateGoal: () => updateGoal,
185
+ updateList: () => updateList,
186
+ updateSpace: () => updateSpace,
187
+ updateTask: () => updateTask,
188
+ updateTasksTimeEstimatesUserWorkspace: () => updateTasksTimeEstimatesUserWorkspace,
189
+ updateUserGroup: () => updateUserGroup,
190
+ updateView: () => updateView,
191
+ updateWebhook: () => updateWebhook,
192
+ updateWorkspaceChatMessage: () => updateWorkspaceChatMessage,
193
+ updateWorkspaceObjectOrLocationAclPrivacyAccess: () => updateWorkspaceObjectOrLocationAclPrivacyAccess,
194
+ updateWorkspaceTimeEntry: () => updateWorkspaceTimeEntry,
195
+ updateWorkspacesChatChannel: () => updateWorkspacesChatChannel
196
+ });
197
+ module.exports = __toCommonJS(src_exports);
198
+ var import_codegen = require("@withone/sdk/codegen");
199
+ var __createTaskAttachmentRouting = { "routes": [["attachment", "body"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["body", "path"] };
200
+ function createTaskAttachment(input) {
201
+ return new import_codegen.Action({
202
+ systemId: "conn_mod_def::GJ1NNOkgCmA::4v2vSxuAQX-zSso8ycrO1A",
203
+ method: "POST",
204
+ path: "/v2/task/{{taskId}}/attachment",
205
+ ...(0, import_codegen.routeInput)(input, __createTaskAttachmentRouting, { "headers": { "Accept": "application/json", "Content-Type": "multipart/form-data" } })
206
+ });
207
+ }
208
+ var __getOauthAccessTokenRouting = { "routes": [["client_id", "body"], ["client_secret", "body"], ["code", "body"]], "requiredParts": ["body"] };
209
+ function getOauthAccessToken(input) {
210
+ return new import_codegen.Action({
211
+ systemId: "conn_mod_def::GJ1NNVov7Pg::1Jc2RvBcS4iQxZG7IvdHBA",
212
+ method: "POST",
213
+ path: "/oauth/token",
214
+ ...(0, import_codegen.routeInput)(input, __getOauthAccessTokenRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
215
+ });
216
+ }
217
+ var __createChatViewCommentRouting = { "routes": [["comment_text", "body"], ["notify_all", "body"], ["viewId", "path"]], "requiredParts": ["body", "path"] };
218
+ function createChatViewComment(input) {
219
+ return new import_codegen.Action({
220
+ systemId: "conn_mod_def::GJ1NNj1EZIE::RbLkBOKARbygGK345DHxOQ",
221
+ method: "POST",
222
+ path: "/v2/view/{{viewId}}/comment",
223
+ ...(0, import_codegen.routeInput)(input, __createChatViewCommentRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
224
+ });
225
+ }
226
+ var __createListCommentRouting = { "routes": [["assignee", "body"], ["comment_text", "body"], ["notify_all", "body"], ["listId", "path"]], "requiredParts": ["body", "path"] };
227
+ function createListComment(input) {
228
+ return new import_codegen.Action({
229
+ systemId: "conn_mod_def::GJ1NNuAmbxM::SYxIllVlTEmzxqSpEYXsrw",
230
+ method: "POST",
231
+ path: "/v2/list/{{listId}}/comment",
232
+ ...(0, import_codegen.routeInput)(input, __createListCommentRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
233
+ });
234
+ }
235
+ var __createTaskCommentRouting = { "routes": [["assignee", "body"], ["comment_text", "body"], ["group_assignee", "body"], ["notify_all", "body"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["body", "path"] };
236
+ function createTaskComment(input) {
237
+ return new import_codegen.Action({
238
+ systemId: "conn_mod_def::GJ1NN5sPlvQ::0zvrUZNWQG-skMwLrYa-XA",
239
+ method: "POST",
240
+ path: "/task/{{taskId}}/comment",
241
+ ...(0, import_codegen.routeInput)(input, __createTaskCommentRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
242
+ });
243
+ }
244
+ var __getChatViewCommentsChatViewRouting = { "routes": [["viewId", "path"], ["start", "query"], ["start_id", "query"]], "requiredParts": ["path"] };
245
+ function getChatViewCommentsChatView(input) {
246
+ return new import_codegen.Action({
247
+ systemId: "conn_mod_def::GJ1NOQ2m9Pk::_BpaYMbRTCOJn60LyjdGhg",
248
+ method: "GET",
249
+ path: "/v2/view/{{viewId}}/comment",
250
+ ...(0, import_codegen.routeInput)(input, __getChatViewCommentsChatViewRouting, { "headers": { "Accept": "application/json" } })
251
+ });
252
+ }
253
+ var __listTasksCommentsRouting = { "routes": [["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
254
+ function listTasksComments(input) {
255
+ return new import_codegen.Action({
256
+ systemId: "conn_mod_def::GJ1NOiNImXo::9ZcyUrdMQOWpdQmGdLtWrw",
257
+ method: "GET",
258
+ path: "/v2/task/{{taskId}}/comment",
259
+ ...(0, import_codegen.routeInput)(input, __listTasksCommentsRouting, { "headers": { "Accept": "application/json" } })
260
+ });
261
+ }
262
+ var __listFoldersCustomFieldsRouting = { "routes": [["folderId", "path"]], "requiredParts": ["path"] };
263
+ function listFoldersCustomFields(input) {
264
+ return new import_codegen.Action({
265
+ systemId: "conn_mod_def::GJ1NO7befBw::OnybtAvCT825YrKEwLACgA",
266
+ method: "GET",
267
+ path: "/folder/{{folderId}}/field",
268
+ ...(0, import_codegen.routeInput)(input, __listFoldersCustomFieldsRouting, { "headers": { "Accept": "application/json" } })
269
+ });
270
+ }
271
+ var __listSpacesCustomFieldsRouting = { "routes": [["spaceId", "path"]], "requiredParts": ["path"] };
272
+ function listSpacesCustomFields(input) {
273
+ return new import_codegen.Action({
274
+ systemId: "conn_mod_def::GJ1NPI8ceD0::n2sGmm3URqKo680FvsWaow",
275
+ method: "GET",
276
+ path: "/space/{{spaceId}}/field",
277
+ ...(0, import_codegen.routeInput)(input, __listSpacesCustomFieldsRouting, { "headers": { "Accept": "application/json" } })
278
+ });
279
+ }
280
+ var __getListsCustomFieldsRouting = { "routes": [["listId", "path"]], "requiredParts": ["path"] };
281
+ function getListsCustomFields(input) {
282
+ return new import_codegen.Action({
283
+ systemId: "conn_mod_def::GJ1NPCRRmnQ::D4YUWBfUSyibOkrsVDgzuw",
284
+ method: "GET",
285
+ path: "/v2/list/{{listId}}/field",
286
+ ...(0, import_codegen.routeInput)(input, __getListsCustomFieldsRouting, { "headers": { "Accept": "application/json" } })
287
+ });
288
+ }
289
+ var __listWorkspacesCustomFieldsRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
290
+ function listWorkspacesCustomFields(input) {
291
+ return new import_codegen.Action({
292
+ systemId: "conn_mod_def::GJ1NPRqjxng::wk8WTTgPTjyQ3rKiHPUUcw",
293
+ method: "GET",
294
+ path: "/team/{{teamId}}/field",
295
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesCustomFieldsRouting, { "headers": { "Accept": "application/json" } })
296
+ });
297
+ }
298
+ var __removeTasksCustomFieldValueRouting = { "routes": [["fieldId", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["path"] };
299
+ function removeTasksCustomFieldValue(input) {
300
+ return new import_codegen.Action({
301
+ systemId: "conn_mod_def::GJ1NPZZAqDI::cX0lc5p5T4WsRXOfSoyudA",
302
+ method: "DELETE",
303
+ path: "/v2/task/{{taskId}}/field/{{fieldId}}",
304
+ ...(0, import_codegen.routeInput)(input, __removeTasksCustomFieldValueRouting, { "headers": { "Accept": "application/json" } })
305
+ });
306
+ }
307
+ var __setTasksCustomFieldValueRouting = { "routes": [["value", "body"], ["value_options", "body"], ["fieldId", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["body", "path"] };
308
+ function setTasksCustomFieldValue(input) {
309
+ return new import_codegen.Action({
310
+ systemId: "conn_mod_def::GJ1NPh1Gee0::GchoIgKTQVW_yqfSOcOabQ",
311
+ method: "POST",
312
+ path: "/task/{{taskId}}/field/{{fieldId}}",
313
+ ...(0, import_codegen.routeInput)(input, __setTasksCustomFieldValueRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
314
+ });
315
+ }
316
+ var __createSpaceFolderRouting = { "routes": [["name", "body"], ["spaceId", "path"]], "requiredParts": ["body", "path"] };
317
+ function createSpaceFolder(input) {
318
+ return new import_codegen.Action({
319
+ systemId: "conn_mod_def::GJ1NPxoYM2c::dLLsnxZMTIWLvMWTxThxUQ",
320
+ method: "POST",
321
+ path: "/v2/space/{{spaceId}}/folder",
322
+ ...(0, import_codegen.routeInput)(input, __createSpaceFolderRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
323
+ });
324
+ }
325
+ var __createFolderFromTemplateSpaceRouting = { "routes": [["name", "body"], ["options", "body"], ["spaceId", "path"], ["templateId", "path"]], "requiredParts": ["body", "path"] };
326
+ function createFolderFromTemplateSpace(input) {
327
+ return new import_codegen.Action({
328
+ systemId: "conn_mod_def::GJ1NP7sjPdI::BIaM1gM1Q6mo9LExZ500-Q",
329
+ method: "POST",
330
+ path: "/v2/space/{{spaceId}}/folder_template/{{templateId}}",
331
+ ...(0, import_codegen.routeInput)(input, __createFolderFromTemplateSpaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
332
+ });
333
+ }
334
+ var __listSpacesFoldersRouting = { "routes": [["spaceId", "path"], ["archived", "query"]], "requiredParts": ["path"] };
335
+ function listSpacesFolders(input) {
336
+ return new import_codegen.Action({
337
+ systemId: "conn_mod_def::GJ1NQRFFRE0::owJX2ismRVKcgu0ylO9NmQ",
338
+ method: "GET",
339
+ path: "/space/{{spaceId}}/folder",
340
+ ...(0, import_codegen.routeInput)(input, __listSpacesFoldersRouting, { "headers": { "Accept": "application/json" } })
341
+ });
342
+ }
343
+ var __updateFolderRouting = { "routes": [["name", "body"], ["folderId", "path"]], "requiredParts": ["body", "path"] };
344
+ function updateFolder(input) {
345
+ return new import_codegen.Action({
346
+ systemId: "conn_mod_def::GJ1NQYhQjgs::of-LVBEmRtGMp1QR39SMaQ",
347
+ method: "PUT",
348
+ path: "/folder/{{folderId}}",
349
+ ...(0, import_codegen.routeInput)(input, __updateFolderRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
350
+ });
351
+ }
352
+ var __createGoalKeyResultRouting = { "routes": [["list_ids", "body"], ["name", "body"], ["owners", "body"], ["steps_end", "body"], ["steps_start", "body"], ["task_ids", "body"], ["type", "body"], ["unit", "body"], ["goalId", "path"]], "requiredParts": ["body", "path"] };
353
+ function createGoalKeyResult(input) {
354
+ return new import_codegen.Action({
355
+ systemId: "conn_mod_def::GJ1NQnIwIs0::vxc2t31vRAiZgvFauS-7Cg",
356
+ method: "POST",
357
+ path: "/goal/{{goalId}}/key_result",
358
+ ...(0, import_codegen.routeInput)(input, __createGoalKeyResultRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
359
+ });
360
+ }
361
+ var __editKeyResultRouting = { "routes": [["note", "body"], ["steps_current", "body"], ["keyResultId", "path"]], "requiredParts": ["body", "path"] };
362
+ function editKeyResult(input) {
363
+ return new import_codegen.Action({
364
+ systemId: "conn_mod_def::GJ1NRD3JeNc::gjqn3O8PS4SJTgZhqHYTsg",
365
+ method: "PUT",
366
+ path: "/key_result/{{keyResultId}}",
367
+ ...(0, import_codegen.routeInput)(input, __editKeyResultRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
368
+ });
369
+ }
370
+ var __getGoalRouting = { "routes": [["goalId", "path"]], "requiredParts": ["path"] };
371
+ function getGoal(input) {
372
+ return new import_codegen.Action({
373
+ systemId: "conn_mod_def::GJ1NRM-pawg::bjhFv4l6QrWqIxaAPm4o6Q",
374
+ method: "GET",
375
+ path: "/goal/{{goalId}}",
376
+ ...(0, import_codegen.routeInput)(input, __getGoalRouting, { "headers": { "Accept": "application/json" } })
377
+ });
378
+ }
379
+ var __listWorkspacesGoalsRouting = { "routes": [["teamId", "path"], ["include_completed", "query"]], "requiredParts": ["path"] };
380
+ function listWorkspacesGoals(input) {
381
+ return new import_codegen.Action({
382
+ systemId: "conn_mod_def::GJ1NRWxJITE::tUSHPMALTLqWU706SG9cgQ",
383
+ method: "GET",
384
+ path: "/team/{{teamId}}/goal",
385
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesGoalsRouting, { "headers": { "Accept": "application/json" } })
386
+ });
387
+ }
388
+ var __addGuestFolderRouting = { "routes": [["permission_level", "body"], ["folderId", "path"], ["guestId", "path"], ["include_shared", "query"]], "requiredParts": ["body", "path"] };
389
+ function addGuestFolder(input) {
390
+ return new import_codegen.Action({
391
+ systemId: "conn_mod_def::GJ1NRmiqraY::FhIMqs7aTpKM_hBOZpzvsQ",
392
+ method: "POST",
393
+ path: "/v2/folder/{{folderId}}/guest/{{guestId}}",
394
+ ...(0, import_codegen.routeInput)(input, __addGuestFolderRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
395
+ });
396
+ }
397
+ var __updateGoalRouting = { "routes": [["add_owners", "body"], ["color", "body"], ["description", "body"], ["due_date", "body"], ["name", "body"], ["rem_owners", "body"], ["goalId", "path"]], "requiredParts": ["body", "path"] };
398
+ function updateGoal(input) {
399
+ return new import_codegen.Action({
400
+ systemId: "conn_mod_def::GJ1NRdtCSLY::IYAReXSZR_-idb42FEQHDw",
401
+ method: "PUT",
402
+ path: "/goal/{{goalId}}",
403
+ ...(0, import_codegen.routeInput)(input, __updateGoalRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
404
+ });
405
+ }
406
+ var __addGuestListRouting = { "routes": [["permission_level", "body"], ["guestId", "path"], ["listId", "path"], ["include_shared", "query"]], "requiredParts": ["body", "path"] };
407
+ function addGuestList(input) {
408
+ return new import_codegen.Action({
409
+ systemId: "conn_mod_def::GJ1NRua2lqQ::nBqUsxh2T6ajwfk9seH1PQ",
410
+ method: "POST",
411
+ path: "/v2/list/{{listId}}/guest/{{guestId}}",
412
+ ...(0, import_codegen.routeInput)(input, __addGuestListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
413
+ });
414
+ }
415
+ var __addGuestTaskRouting = { "routes": [["permission_level", "body"], ["guestId", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["include_shared", "query"], ["team_id", "query"]], "requiredParts": ["body", "path"] };
416
+ function addGuestTask(input) {
417
+ return new import_codegen.Action({
418
+ systemId: "conn_mod_def::GJ1NR3DBv1Q::auF2alciTzSX6iWw2yQO_g",
419
+ method: "POST",
420
+ path: "/v2/task/{{taskId}}/guest/{{guestId}}",
421
+ ...(0, import_codegen.routeInput)(input, __addGuestTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
422
+ });
423
+ }
424
+ var __editGuestWorkspaceRouting = { "routes": [["can_create_views", "body"], ["can_edit_tags", "body"], ["can_see_points_estimated", "body"], ["can_see_time_estimated", "body"], ["can_see_time_spent", "body"], ["custom_role_id", "body"], ["guestId", "path"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
425
+ function editGuestWorkspace(input) {
426
+ return new import_codegen.Action({
427
+ systemId: "conn_mod_def::GJ1NR_EzoOk::tcbsfsToRd2kJqPwHQTfvA",
428
+ method: "PUT",
429
+ path: "/team/{{teamId}}/guest/{{guestId}}",
430
+ ...(0, import_codegen.routeInput)(input, __editGuestWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
431
+ });
432
+ }
433
+ var __getWorkspaceGuestRouting = { "routes": [["guestId", "path"], ["teamId", "path"]], "requiredParts": ["path"] };
434
+ function getWorkspaceGuest(input) {
435
+ return new import_codegen.Action({
436
+ systemId: "conn_mod_def::GJ1NSGmz3so::JtIgXee_QsuiuVsPeAtBOA",
437
+ method: "GET",
438
+ path: "/v2/team/{{teamId}}/guest/{{guestId}}",
439
+ ...(0, import_codegen.routeInput)(input, __getWorkspaceGuestRouting, { "headers": { "Accept": "application/json" } })
440
+ });
441
+ }
442
+ var __inviteGuestWorkspaceRouting = { "routes": [["can_create_views", "body"], ["can_edit_tags", "body"], ["can_see_points_estimated", "body"], ["can_see_time_estimated", "body"], ["can_see_time_spent", "body"], ["custom_role_id", "body"], ["email", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
443
+ function inviteGuestWorkspace(input) {
444
+ return new import_codegen.Action({
445
+ systemId: "conn_mod_def::GJ1NSOVa_K4::11XBqbeBRdCR-Tf9SxNX4g",
446
+ method: "POST",
447
+ path: "/team/{{teamId}}/guest",
448
+ ...(0, import_codegen.routeInput)(input, __inviteGuestWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
449
+ });
450
+ }
451
+ var __removeGuestFromFolderRouting = { "routes": [["folderId", "path"], ["guestId", "path"], ["include_shared", "query"]], "requiredParts": ["path"] };
452
+ function removeGuestFromFolder(input) {
453
+ return new import_codegen.Action({
454
+ systemId: "conn_mod_def::GJ1NSWeeBoU::upmEKQR-R-Sai-qi-0dTrg",
455
+ method: "DELETE",
456
+ path: "/folder/{{folderId}}/guest/{{guestId}}",
457
+ ...(0, import_codegen.routeInput)(input, __removeGuestFromFolderRouting, { "headers": { "Accept": "application/json" } })
458
+ });
459
+ }
460
+ var __removeGuestFromListRouting = { "routes": [["guestId", "path"], ["listId", "path"], ["include_shared", "query"]], "requiredParts": ["path"] };
461
+ function removeGuestFromList(input) {
462
+ return new import_codegen.Action({
463
+ systemId: "conn_mod_def::GJ1NSeU0_iM::6V0HUDVJQMW1TmKGOF_QMQ",
464
+ method: "DELETE",
465
+ path: "/v2/list/{{listId}}/guest/{{guestId}}",
466
+ ...(0, import_codegen.routeInput)(input, __removeGuestFromListRouting, { "headers": { "Accept": "application/json" } })
467
+ });
468
+ }
469
+ var __removeGuestFromTaskRouting = { "routes": [["guestId", "path"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
470
+ function removeGuestFromTask(input) {
471
+ return new import_codegen.Action({
472
+ systemId: "conn_mod_def::GJ1NSn6k-ug::Yh8ibsZGS3qxdIDsJ7-YTQ",
473
+ method: "DELETE",
474
+ path: "/v2/task/{{taskId}}/guest/{{guestId}}",
475
+ ...(0, import_codegen.routeInput)(input, __removeGuestFromTaskRouting, { "headers": { "Accept": "application/json" } })
476
+ });
477
+ }
478
+ var __createFolderlessListSpaceRouting = { "routes": [["assignee", "body"], ["content", "body"], ["due_date", "body"], ["due_date_time", "body"], ["markdown_content", "body"], ["name", "body"], ["priority", "body"], ["status", "body"], ["spaceId", "path"]], "requiredParts": ["body", "path"] };
479
+ function createFolderlessListSpace(input) {
480
+ return new import_codegen.Action({
481
+ systemId: "conn_mod_def::GJ1NS-zQkbQ::3uXmJ1yuQdCse_GY9QxmhA",
482
+ method: "POST",
483
+ path: "/space/{{spaceId}}/list",
484
+ ...(0, import_codegen.routeInput)(input, __createFolderlessListSpaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
485
+ });
486
+ }
487
+ var __createFolderListCreateListRouting = { "routes": [["assignee", "body"], ["content", "body"], ["due_date", "body"], ["due_date_time", "body"], ["markdown_content", "body"], ["name", "body"], ["priority", "body"], ["status", "body"], ["folderId", "path"]], "requiredParts": ["body", "path"] };
488
+ function createFolderListCreateList(input) {
489
+ return new import_codegen.Action({
490
+ systemId: "conn_mod_def::GJ1NTGC8kfE::_WWCctSFRMyB8xAu8VZZxQ",
491
+ method: "POST",
492
+ path: "/v2/folder/{{folderId}}/list",
493
+ ...(0, import_codegen.routeInput)(input, __createFolderListCreateListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
494
+ });
495
+ }
496
+ var __createListFromTemplateSpaceRouting = { "routes": [["name", "body"], ["options", "body"], ["spaceId", "path"], ["templateId", "path"]], "requiredParts": ["body", "path"] };
497
+ function createListFromTemplateSpace(input) {
498
+ return new import_codegen.Action({
499
+ systemId: "conn_mod_def::GJ1NTY_6TAQ::OxzDq1RSQNq4dFlnyA2X5g",
500
+ method: "POST",
501
+ path: "/v2/space/{{spaceId}}/list_template/{{templateId}}",
502
+ ...(0, import_codegen.routeInput)(input, __createListFromTemplateSpaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
503
+ });
504
+ }
505
+ var __deleteWorkspaceListRouting = { "routes": [["listId", "path"]], "requiredParts": ["path"] };
506
+ function deleteWorkspaceList(input) {
507
+ return new import_codegen.Action({
508
+ systemId: "conn_mod_def::GJ1NTgGOVLI::-BunrEnoTz6uZyiMUBbAGQ",
509
+ method: "DELETE",
510
+ path: "/list/{{listId}}",
511
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
512
+ });
513
+ }
514
+ var __listFolderlessListsSpaceRouting = { "routes": [["spaceId", "path"], ["archived", "query"]], "requiredParts": ["path"] };
515
+ function listFolderlessListsSpace(input) {
516
+ return new import_codegen.Action({
517
+ systemId: "conn_mod_def::GJ1NTqJRX7k::8oFOB0BbTxa0XNriUIqpgA",
518
+ method: "GET",
519
+ path: "/v2/space/{{spaceId}}/list",
520
+ ...(0, import_codegen.routeInput)(input, __listFolderlessListsSpaceRouting, { "headers": { "Accept": "application/json" } })
521
+ });
522
+ }
523
+ var __getListRouting = { "routes": [["listId", "path"]], "requiredParts": ["path"] };
524
+ function getList(input) {
525
+ return new import_codegen.Action({
526
+ systemId: "conn_mod_def::GJ1NTxDQHbY::L7iWqy3yTaCTQzXUI8Mh3w",
527
+ method: "GET",
528
+ path: "/list/{{listId}}",
529
+ ...(0, import_codegen.routeInput)(input, __getListRouting, { "headers": { "Accept": "application/json" } })
530
+ });
531
+ }
532
+ var __listFoldersListsRouting = { "routes": [["folderId", "path"], ["archived", "query"]], "requiredParts": ["path"] };
533
+ function listFoldersLists(input) {
534
+ return new import_codegen.Action({
535
+ systemId: "conn_mod_def::GJ1NT46rNs0::0xCGHGlKSK-TyDwksjrYXQ",
536
+ method: "GET",
537
+ path: "/folder/{{folderId}}/list",
538
+ ...(0, import_codegen.routeInput)(input, __listFoldersListsRouting, { "headers": { "Accept": "application/json" } })
539
+ });
540
+ }
541
+ var __updateListRouting = { "routes": [["assignee", "body"], ["content", "body"], ["due_date", "body"], ["due_date_time", "body"], ["markdown_content", "body"], ["name", "body"], ["priority", "body"], ["status", "body"], ["unset_status", "body"], ["listId", "path"]], "requiredParts": ["body", "path"] };
542
+ function updateList(input) {
543
+ return new import_codegen.Action({
544
+ systemId: "conn_mod_def::GJ1NUH9F25Q::MTqFXqmSS3moadXyrHompQ",
545
+ method: "PUT",
546
+ path: "/list/{{listId}}",
547
+ ...(0, import_codegen.routeInput)(input, __updateListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
548
+ });
549
+ }
550
+ var __listTasksMembersExplicitAccessRouting = { "routes": [["taskId", "path"]], "requiredParts": ["path"] };
551
+ function listTasksMembersExplicitAccess(input) {
552
+ return new import_codegen.Action({
553
+ systemId: "conn_mod_def::GJ1NUWGID7A::gKvKXM34SoyhU-hn3H_07Q",
554
+ method: "GET",
555
+ path: "/v2/task/{{taskId}}/member",
556
+ ...(0, import_codegen.routeInput)(input, __listTasksMembersExplicitAccessRouting, { "headers": { "Accept": "application/json" } })
557
+ });
558
+ }
559
+ var __getWorkspacesSharedHierarchyRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
560
+ function getWorkspacesSharedHierarchy(input) {
561
+ return new import_codegen.Action({
562
+ systemId: "conn_mod_def::GJ1NUlcBO3A::ld6VEmgtQ7a7uS1xeosuhQ",
563
+ method: "GET",
564
+ path: "/v2/team/{{teamId}}/shared",
565
+ ...(0, import_codegen.routeInput)(input, __getWorkspacesSharedHierarchyRouting, { "headers": { "Accept": "application/json" } })
566
+ });
567
+ }
568
+ var __createWorkspaceSpaceRouting = { "routes": [["features", "body"], ["multiple_assignees", "body"], ["name", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
569
+ function createWorkspaceSpace(input) {
570
+ return new import_codegen.Action({
571
+ systemId: "conn_mod_def::GJ1NUscGXs8::04lnbOA0RqKUgfhd-Q8Xeg",
572
+ method: "POST",
573
+ path: "/v2/team/{{teamId}}/space",
574
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceSpaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
575
+ });
576
+ }
577
+ var __listWorkspacesSpacesRouting = { "routes": [["teamId", "path"], ["archived", "query"]], "requiredParts": ["path"] };
578
+ function listWorkspacesSpaces(input) {
579
+ return new import_codegen.Action({
580
+ systemId: "conn_mod_def::GJ1NVFt0Eag::qj1VbfWCSJe2Zb4YUgmaUw",
581
+ method: "GET",
582
+ path: "/team/{{teamId}}/space",
583
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesSpacesRouting, { "headers": { "Accept": "application/json" } })
584
+ });
585
+ }
586
+ var __updateSpaceRouting = { "routes": [["admin_can_manage", "body"], ["color", "body"], ["features", "body"], ["multiple_assignees", "body"], ["name", "body"], ["private", "body"], ["spaceId", "path"]], "requiredParts": ["body", "path"] };
587
+ function updateSpace(input) {
588
+ return new import_codegen.Action({
589
+ systemId: "conn_mod_def::GJ1NVNwFWuk::cNssm4v5SsG4LRogYhY88A",
590
+ method: "PUT",
591
+ path: "/v2/space/{{spaceId}}",
592
+ ...(0, import_codegen.routeInput)(input, __updateSpaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
593
+ });
594
+ }
595
+ var __addTagTaskRouting = { "routes": [["tagName", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["path"] };
596
+ function addTagTask(input) {
597
+ return new import_codegen.Action({
598
+ systemId: "conn_mod_def::GJ1NVWV9vwA::05ksG8agQaGmsvrwg5MIdw",
599
+ method: "POST",
600
+ path: "/v2/task/{{taskId}}/tag/{{tagName}}",
601
+ ...(0, import_codegen.routeInput)(input, __addTagTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
602
+ });
603
+ }
604
+ var __deleteSpaceTagRouting = { "routes": [["tag", "body"], ["spaceId", "path"], ["tagName", "path"]], "requiredParts": ["body", "path"] };
605
+ function deleteSpaceTag(input) {
606
+ return new import_codegen.Action({
607
+ systemId: "conn_mod_def::GJ1NVmvqC9U::ZEMrYrEkSIq3ziIszbqdtQ",
608
+ method: "DELETE",
609
+ path: "/v2/space/{{spaceId}}/tag/{{tagName}}",
610
+ ...(0, import_codegen.routeInput)(input, __deleteSpaceTagRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
611
+ });
612
+ }
613
+ var __createSpaceTagRouting = { "routes": [["tag", "body"], ["spaceId", "path"]], "requiredParts": ["body", "path"] };
614
+ function createSpaceTag(input) {
615
+ return new import_codegen.Action({
616
+ systemId: "conn_mod_def::GJ1NVfgcADQ::KzTWANGmRj2hgZdaanJxHg",
617
+ method: "POST",
618
+ path: "/v2/space/{{spaceId}}/tag",
619
+ ...(0, import_codegen.routeInput)(input, __createSpaceTagRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
620
+ });
621
+ }
622
+ var __createChecklistItemChecklistRouting = { "routes": [["assignee", "body"], ["name", "body"], ["checklistId", "path"]], "requiredParts": ["body", "path"] };
623
+ function createChecklistItemChecklist(input) {
624
+ return new import_codegen.Action({
625
+ systemId: "conn_mod_def::GJ1NWTHrLXU::k9pV2PDuT7mgRwlGpjfdiw",
626
+ method: "POST",
627
+ path: "/v2/checklist/{{checklistId}}/checklist_item",
628
+ ...(0, import_codegen.routeInput)(input, __createChecklistItemChecklistRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
629
+ });
630
+ }
631
+ var __editChecklistsItemRouting = { "routes": [["assignee", "body"], ["name", "body"], ["parent", "body"], ["resolved", "body"], ["checklistId", "path"], ["checklistItemId", "path"]], "requiredParts": ["body", "path"] };
632
+ function editChecklistsItem(input) {
633
+ return new import_codegen.Action({
634
+ systemId: "conn_mod_def::GJ1NWxslu2Y::B05M4qBaTUCHS7m1NV9_gg",
635
+ method: "PUT",
636
+ path: "/v2/checklist/{{checklistId}}/checklist_item/{{checklistItemId}}",
637
+ ...(0, import_codegen.routeInput)(input, __editChecklistsItemRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
638
+ });
639
+ }
640
+ var __addLinkBetweenTwoTasksTaskLinksRouting = { "routes": [["linksTo", "path"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
641
+ function addLinkBetweenTwoTasksTaskLinks(input) {
642
+ return new import_codegen.Action({
643
+ systemId: "conn_mod_def::GJ1NXCKfJWw::GygoSeytRrSsQ3OKL0RuOw",
644
+ method: "POST",
645
+ path: "/v2/task/{{taskId}}/link/{{linksTo}}",
646
+ ...(0, import_codegen.routeInput)(input, __addLinkBetweenTwoTasksTaskLinksRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
647
+ });
648
+ }
649
+ var __deleteTaskDependencyRouting = { "routes": [["taskId", "path"], ["custom_task_ids", "query"], ["dependency_of", "query"], ["depends_on", "query"], ["team_id", "query"]], "requiredParts": ["path", "query"] };
650
+ function deleteTaskDependency(input) {
651
+ return new import_codegen.Action({
652
+ systemId: "conn_mod_def::GJ1NXLWjpfA::w3p0XJQSSBu-12RjXDm_Sw",
653
+ method: "DELETE",
654
+ path: "/task/{{taskId}}/dependency",
655
+ ...(0, import_codegen.routeInput)(input, __deleteTaskDependencyRouting, { "headers": { "Accept": "application/json" } })
656
+ });
657
+ }
658
+ var __deleteTaskLinkRouting = { "routes": [["linksTo", "path"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
659
+ function deleteTaskLink(input) {
660
+ return new import_codegen.Action({
661
+ systemId: "conn_mod_def::GJ1NXTmtajo::CV8I2yuuQj-yv7dx_gcWYw",
662
+ method: "DELETE",
663
+ path: "/v2/task/{{taskId}}/link/{{linksTo}}",
664
+ ...(0, import_codegen.routeInput)(input, __deleteTaskLinkRouting, { "headers": { "Accept": "application/json" } })
665
+ });
666
+ }
667
+ var __createTaskListRouting = { "routes": [["archived", "body"], ["assignees", "body"], ["check_required_custom_fields", "body"], ["custom_fields", "body"], ["custom_item_id", "body"], ["description", "body"], ["due_date", "body"], ["due_date_time", "body"], ["group_assignees", "body"], ["links_to", "body"], ["markdown_content", "body"], ["name", "body"], ["notify_all", "body"], ["parent", "body"], ["points", "body"], ["priority", "body"], ["start_date", "body"], ["start_date_time", "body"], ["status", "body"], ["tags", "body"], ["time_estimate", "body"], ["listId", "path"]], "requiredParts": ["body", "path"] };
668
+ function createTaskList(input) {
669
+ return new import_codegen.Action({
670
+ systemId: "conn_mod_def::GJ1NXbQ4T7g::GQuOI_YJSPKX3BRGFScliQ",
671
+ method: "POST",
672
+ path: "/v2/list/{{listId}}/task",
673
+ ...(0, import_codegen.routeInput)(input, __createTaskListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
674
+ });
675
+ }
676
+ var __createTaskFromTemplateListRouting = { "routes": [["name", "body"], ["listId", "path"], ["templateId", "path"]], "requiredParts": ["body", "path"] };
677
+ function createTaskFromTemplateList(input) {
678
+ return new import_codegen.Action({
679
+ systemId: "conn_mod_def::GJ1NXjFzd1w::LGdCH85ISXiy0Ivl_1Rm1A",
680
+ method: "POST",
681
+ path: "/v2/list/{{listId}}/taskTemplate/{{templateId}}",
682
+ ...(0, import_codegen.routeInput)(input, __createTaskFromTemplateListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
683
+ });
684
+ }
685
+ var __deleteTaskRouting = { "routes": [["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
686
+ function deleteTask(input) {
687
+ return new import_codegen.Action({
688
+ systemId: "conn_mod_def::GJ1NXqpLDP4::YOTezrkvT56i3uNWgVbZ2Q",
689
+ method: "DELETE",
690
+ path: "/task/{{taskId}}",
691
+ ...(0, import_codegen.routeInput)(input, __deleteTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
692
+ });
693
+ }
694
+ var __getFilteredTeamTasksListWorkspacesTasksFilterRouting = { "routes": [["teamId", "path"], ["assignees[]", "query"], ["custom_fields", "query"], ["custom_items[]", "query"], ["date_created_gt", "query"], ["date_created_lt", "query"], ["date_done_gt", "query"], ["date_done_lt", "query"], ["date_updated_gt", "query"], ["date_updated_lt", "query"], ["due_date_gt", "query"], ["due_date_lt", "query"], ["include_closed", "query"], ["include_markdown_description", "query"], ["list_ids[]", "query"], ["order_by", "query"], ["page", "query"], ["parent", "query"], ["project_ids[]", "query"], ["reverse", "query"], ["space_ids[]", "query"], ["statuses[]", "query"], ["subtasks", "query"], ["tags[]", "query"]], "requiredParts": ["path"] };
695
+ function getFilteredTeamTasksListWorkspacesTasksFilter(input) {
696
+ return new import_codegen.Action({
697
+ systemId: "conn_mod_def::GJ1NYDORpUY::6-x-1O0hShKg4Q7pWppKlw",
698
+ method: "GET",
699
+ path: "/v2/team/{{teamId}}/task",
700
+ ...(0, import_codegen.routeInput)(input, __getFilteredTeamTasksListWorkspacesTasksFilterRouting, { "headers": { "Accept": "application/json" } })
701
+ });
702
+ }
703
+ var __getTaskRouting = { "routes": [["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
704
+ function getTask(input) {
705
+ return new import_codegen.Action({
706
+ systemId: "conn_mod_def::GJ1NYOSxJAc::GS03N1JBS7Gtdcvi7gpS4Q",
707
+ method: "GET",
708
+ path: "/task/{{taskId}}",
709
+ ...(0, import_codegen.routeInput)(input, __getTaskRouting, { "headers": { "Accept": "application/json" } })
710
+ });
711
+ }
712
+ var __getTasksTimeStatusRouting = { "routes": [["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
713
+ function getTasksTimeStatus(input) {
714
+ return new import_codegen.Action({
715
+ systemId: "conn_mod_def::GJ1NYYqQc60::EnIYcbzBSGWv8Bb7CIIfSw",
716
+ method: "GET",
717
+ path: "/v2/task/{{taskId}}/time_in_status",
718
+ ...(0, import_codegen.routeInput)(input, __getTasksTimeStatusRouting, { "headers": { "Accept": "application/json" } })
719
+ });
720
+ }
721
+ var __listTasksListRouting = { "routes": [["listId", "path"], ["archived", "query"], ["assignees", "query"], ["custom_field", "query"], ["custom_fields", "query"], ["custom_items", "query"], ["date_created_gt", "query"], ["date_created_lt", "query"], ["date_done_gt", "query"], ["date_done_lt", "query"], ["date_updated_gt", "query"], ["date_updated_lt", "query"], ["due_date_gt", "query"], ["due_date_lt", "query"], ["include_closed", "query"], ["include_markdown_description", "query"], ["include_timl", "query"], ["order_by", "query"], ["page", "query"], ["reverse", "query"], ["statuses", "query"], ["subtasks", "query"], ["tags", "query"], ["watchers", "query"]], "requiredParts": ["path"] };
722
+ function listTasksList(input) {
723
+ return new import_codegen.Action({
724
+ systemId: "conn_mod_def::GJ1NYoUtZHs::W4JHGlAnRLiNoXDYORTxwQ",
725
+ method: "GET",
726
+ path: "/v2/list/{{listId}}/task",
727
+ ...(0, import_codegen.routeInput)(input, __listTasksListRouting, { "headers": { "Accept": "application/json" } })
728
+ });
729
+ }
730
+ var __mergeTasksIntoTargetTaskRouting = { "routes": [["source_task_ids", "body"], ["taskId", "path"]], "requiredParts": ["body", "path"] };
731
+ function mergeTasksIntoTargetTask(input) {
732
+ return new import_codegen.Action({
733
+ systemId: "conn_mod_def::GJ1NYv0Owh4::-6BQbY05T5GnPIf8GP_yjw",
734
+ method: "POST",
735
+ path: "/task/{{taskId}}/merge",
736
+ ...(0, import_codegen.routeInput)(input, __mergeTasksIntoTargetTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
737
+ });
738
+ }
739
+ var __updateTaskRouting = { "routes": [["archived", "body"], ["assignees", "body"], ["custom_item_id", "body"], ["description", "body"], ["due_date", "body"], ["due_date_time", "body"], ["group_assignees", "body"], ["markdown_content", "body"], ["name", "body"], ["parent", "body"], ["points", "body"], ["priority", "body"], ["start_date", "body"], ["start_date_time", "body"], ["status", "body"], ["time_estimate", "body"], ["watchers", "body"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["body", "path"] };
740
+ function updateTask(input) {
741
+ return new import_codegen.Action({
742
+ systemId: "conn_mod_def::GJ1NY4N3bRs::Dm3WL_I0SkCLpa9XQOAavg",
743
+ method: "PUT",
744
+ path: "/v2/task/{{taskId}}",
745
+ ...(0, import_codegen.routeInput)(input, __updateTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
746
+ });
747
+ }
748
+ var __addTagsWorkspacesTimeEntriesRouting = { "routes": [["tags", "body"], ["time_entry_ids", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
749
+ function addTagsWorkspacesTimeEntries(input) {
750
+ return new import_codegen.Action({
751
+ systemId: "conn_mod_def::GJ1NZKVNRyU::I1hyxcPfTNWFumq0LgYAlA",
752
+ method: "POST",
753
+ path: "/team/{{teamId}}/time_entries/tags",
754
+ ...(0, import_codegen.routeInput)(input, __addTagsWorkspacesTimeEntriesRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
755
+ });
756
+ }
757
+ var __changeTagNamesFromTimeEntriesWorkspaceRouting = { "routes": [["name", "body"], ["new_name", "body"], ["tag_bg", "body"], ["tag_fg", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
758
+ function changeTagNamesFromTimeEntriesWorkspace(input) {
759
+ return new import_codegen.Action({
760
+ systemId: "conn_mod_def::GJ1NZSZH0Cc::5lUP4DBxRzutpcP8mHom5A",
761
+ method: "PUT",
762
+ path: "/team/{{teamId}}/time_entries/tags",
763
+ ...(0, import_codegen.routeInput)(input, __changeTagNamesFromTimeEntriesWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
764
+ });
765
+ }
766
+ var __createTimeEntryWorkspaceTeamRouting = { "routes": [["assignee", "body"], ["billable", "body"], ["description", "body"], ["duration", "body"], ["end", "body"], ["start", "body"], ["stop", "body"], ["tags", "body"], ["tid", "body"], ["pathTeamId", "path", "teamId"], ["custom_task_ids", "query"], ["queryTeamId", "query", "team_id"]], "requiredParts": ["body", "path"] };
767
+ function createTimeEntryWorkspaceTeam(input) {
768
+ return new import_codegen.Action({
769
+ systemId: "conn_mod_def::GJ1NZceWLDg::TZe6fzDlSdWlQmf1ThpfJw",
770
+ method: "POST",
771
+ path: "/team/{{teamId}}/time_entries",
772
+ ...(0, import_codegen.routeInput)(input, __createTimeEntryWorkspaceTeamRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
773
+ });
774
+ }
775
+ var __deleteWorkspaceTimeEntryRouting = { "routes": [["teamId", "path"], ["timerId", "path"]], "requiredParts": ["path"] };
776
+ function deleteWorkspaceTimeEntry(input) {
777
+ return new import_codegen.Action({
778
+ systemId: "conn_mod_def::GJ1NZn5o63o::GgwC_LCTQVuMzWT4rPpfww",
779
+ method: "DELETE",
780
+ path: "/v2/team/{{teamId}}/time_entries/{{timerId}}",
781
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceTimeEntryRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
782
+ });
783
+ }
784
+ var __listWorkspacesTimeEntryTagsRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
785
+ function listWorkspacesTimeEntryTags(input) {
786
+ return new import_codegen.Action({
787
+ systemId: "conn_mod_def::GJ1NZvAiqNo::6hysQX8HTx6MMc_uLPtZ7w",
788
+ method: "GET",
789
+ path: "/team/{{teamId}}/time_entries/tags",
790
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesTimeEntryTagsRouting, { "headers": { "Accept": "application/json" } })
791
+ });
792
+ }
793
+ var __getWorkspacesCurrentRunningTimeEntryRouting = { "routes": [["teamId", "path"], ["assignee", "query"]], "requiredParts": ["path"] };
794
+ function getWorkspacesCurrentRunningTimeEntry(input) {
795
+ return new import_codegen.Action({
796
+ systemId: "conn_mod_def::GJ1NZ3Ac9JM::lyPdRrhKRqSPWzhxdvAukg",
797
+ method: "GET",
798
+ path: "/team/{{teamId}}/time_entries/current",
799
+ ...(0, import_codegen.routeInput)(input, __getWorkspacesCurrentRunningTimeEntryRouting, { "headers": { "Accept": "application/json" } })
800
+ });
801
+ }
802
+ var __getWorkspaceTimeEntryRouting = { "routes": [["teamId", "path"], ["timerId", "path"], ["include_approval_details", "query"], ["include_approval_history", "query"], ["include_location_names", "query"], ["include_task_tags", "query"]], "requiredParts": ["path"] };
803
+ function getWorkspaceTimeEntry(input) {
804
+ return new import_codegen.Action({
805
+ systemId: "conn_mod_def::GJ1NaATG8Kk::lVMqOYm7TuG9B8QiPlpOtA",
806
+ method: "GET",
807
+ path: "/v2/team/{{teamId}}/time_entries/{{timerId}}",
808
+ ...(0, import_codegen.routeInput)(input, __getWorkspaceTimeEntryRouting, { "headers": { "Accept": "application/json" } })
809
+ });
810
+ }
811
+ var __getTimeEntriesWithinDateRangeWorkspaceRouting = { "routes": [["teamId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
812
+ function getTimeEntriesWithinDateRangeWorkspace(input) {
813
+ return new import_codegen.Action({
814
+ systemId: "conn_mod_def::GJ1NaQD1Fgk::vcyS1pdLSLWUI6JqY8J-9w",
815
+ method: "GET",
816
+ path: "/team/{{teamId}}/time_entries",
817
+ ...(0, import_codegen.routeInput)(input, __getTimeEntriesWithinDateRangeWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
818
+ });
819
+ }
820
+ var __getTimeEntrysHistoryWorkspaceRouting = { "routes": [["teamId", "path"], ["timerId", "path"]], "requiredParts": ["path"] };
821
+ function getTimeEntrysHistoryWorkspace(input) {
822
+ return new import_codegen.Action({
823
+ systemId: "conn_mod_def::GJ1NaXSVpQQ::tKdsi5ZcRYi3IadjVAgBqg",
824
+ method: "GET",
825
+ path: "/v2/team/{{teamId}}/time_entries/{{timerId}}/history",
826
+ ...(0, import_codegen.routeInput)(input, __getTimeEntrysHistoryWorkspaceRouting, { "headers": { "Accept": "application/json" } })
827
+ });
828
+ }
829
+ var __removeTagsFromWorkspacesTimeEntriesRouting = { "routes": [["tags", "body"], ["time_entry_ids", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
830
+ function removeTagsFromWorkspacesTimeEntries(input) {
831
+ return new import_codegen.Action({
832
+ systemId: "conn_mod_def::GJ1Nag8jtD8::Z4i094nqQjmkUmyXwDZdZw",
833
+ method: "DELETE",
834
+ path: "/v2/team/{{teamId}}/time_entries/tags",
835
+ ...(0, import_codegen.routeInput)(input, __removeTagsFromWorkspacesTimeEntriesRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
836
+ });
837
+ }
838
+ var __startWorkspaceTimeEntryTimerAuthenticatedUserRouting = { "routes": [["billable", "body"], ["description", "body"], ["tags", "body"], ["tid", "body"], ["pathTeamId", "path", "teamId"], ["custom_task_ids", "query"], ["queryTeamId", "query", "team_id"]], "requiredParts": ["body", "path"] };
839
+ function startWorkspaceTimeEntryTimerAuthenticatedUser(input) {
840
+ return new import_codegen.Action({
841
+ systemId: "conn_mod_def::GJ1NatOCQvo::JvahSr7BQCyO5MfdBt03AA",
842
+ method: "POST",
843
+ path: "/v2/team/{{teamId}}/time_entries/start",
844
+ ...(0, import_codegen.routeInput)(input, __startWorkspaceTimeEntryTimerAuthenticatedUserRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
845
+ });
846
+ }
847
+ var __stopWorkspaceTimeEntryTimerAuthenticatedUserRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
848
+ function stopWorkspaceTimeEntryTimerAuthenticatedUser(input) {
849
+ return new import_codegen.Action({
850
+ systemId: "conn_mod_def::GJ1Na2t14Iw::ApuC6gLnRO-wRGCqEx5mgg",
851
+ method: "POST",
852
+ path: "/v2/team/{{teamId}}/time_entries/stop",
853
+ ...(0, import_codegen.routeInput)(input, __stopWorkspaceTimeEntryTimerAuthenticatedUserRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
854
+ });
855
+ }
856
+ var __updateWorkspaceTimeEntryRouting = { "routes": [["pathTeamId", "path", "teamId"], ["timerId", "path"], ["custom_task_ids", "query"], ["queryTeamId", "query", "team_id"], ["body", "body", null]], "requiredParts": ["path"] };
857
+ function updateWorkspaceTimeEntry(input) {
858
+ return new import_codegen.Action({
859
+ systemId: "conn_mod_def::GJ1Na_W43Ug::LshdkgjbRK-5DBQIFUEruw",
860
+ method: "PUT",
861
+ path: "/team/{{teamId}}/time_entries/{{timerId}}",
862
+ ...(0, import_codegen.routeInput)(input, __updateWorkspaceTimeEntryRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
863
+ });
864
+ }
865
+ var __deleteTasksTimeTrackedIntervalRouting = { "routes": [["intervalId", "path"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
866
+ function deleteTasksTimeTrackedInterval(input) {
867
+ return new import_codegen.Action({
868
+ systemId: "conn_mod_def::GJ1NbIdp5Nk::-xEXvLyXQeePKjxqclRTyA",
869
+ method: "DELETE",
870
+ path: "/v2/task/{{taskId}}/time/{{intervalId}}",
871
+ ...(0, import_codegen.routeInput)(input, __deleteTasksTimeTrackedIntervalRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
872
+ });
873
+ }
874
+ var __editTasksTimeTrackedIntervalLegacyRouting = { "routes": [["end", "body"], ["start", "body"], ["time", "body"], ["intervalId", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["body", "path"] };
875
+ function editTasksTimeTrackedIntervalLegacy(input) {
876
+ return new import_codegen.Action({
877
+ systemId: "conn_mod_def::GJ1NbYRh55k::R1xsJt_1SDOzlGXgHhB5Bw",
878
+ method: "PUT",
879
+ path: "/v2/task/{{taskId}}/time/{{intervalId}}",
880
+ ...(0, import_codegen.routeInput)(input, __editTasksTimeTrackedIntervalLegacyRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
881
+ });
882
+ }
883
+ var __getTasksTrackedTimeLegacyRouting = { "routes": [["taskId", "path"], ["query", "query", null]], "requiredParts": ["path"] };
884
+ function getTasksTrackedTimeLegacy(input) {
885
+ return new import_codegen.Action({
886
+ systemId: "conn_mod_def::GJ1Nbi300Uo::12EBTXZCSvOnSjjl9Fxvsg",
887
+ method: "GET",
888
+ path: "/v2/task/{{taskId}}/time",
889
+ ...(0, import_codegen.routeInput)(input, __getTasksTrackedTimeLegacyRouting, { "headers": { "Accept": "application/json" } })
890
+ });
891
+ }
892
+ var __trackTimeTaskRouting = { "routes": [["end", "body"], ["start", "body"], ["time", "body"], ["taskId", "path"], ["query", "query", null]], "requiredParts": ["body", "path"] };
893
+ function trackTimeTask(input) {
894
+ return new import_codegen.Action({
895
+ systemId: "conn_mod_def::GJ1Nbr8urF8::GG6W654QR1-e6-3eQ-1t1Q",
896
+ method: "POST",
897
+ path: "/v2/task/{{taskId}}/time",
898
+ ...(0, import_codegen.routeInput)(input, __trackTimeTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
899
+ });
900
+ }
901
+ var __createWorkspaceUserGroupRouting = { "routes": [["handle", "body"], ["members", "body"], ["name", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
902
+ function createWorkspaceUserGroup(input) {
903
+ return new import_codegen.Action({
904
+ systemId: "conn_mod_def::GJ1NbzgNyxc::47db8qH2SQ-_elHfg6s5hQ",
905
+ method: "POST",
906
+ path: "/v2/team/{{teamId}}/group",
907
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceUserGroupRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
908
+ });
909
+ }
910
+ var __deleteWorkspaceUserGroupRouting = { "routes": [["groupId", "path"]], "requiredParts": ["path"] };
911
+ function deleteWorkspaceUserGroup(input) {
912
+ return new import_codegen.Action({
913
+ systemId: "conn_mod_def::GJ1Nb6sv2Os::rkV5dxAXRFubUTkfni2bcw",
914
+ method: "DELETE",
915
+ path: "/group/{{groupId}}",
916
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceUserGroupRouting, { "headers": { "Accept": "application/json" } })
917
+ });
918
+ }
919
+ var __listUserGroupsWorkspaceRouting = { "routes": [["group_ids", "query"], ["team_id", "query"]], "requiredParts": ["query"] };
920
+ function listUserGroupsWorkspace(input) {
921
+ return new import_codegen.Action({
922
+ systemId: "conn_mod_def::GJ1NcCpBAbM::XsSnIC-nTL2iBjWskYO1mQ",
923
+ method: "GET",
924
+ path: "/group",
925
+ ...(0, import_codegen.routeInput)(input, __listUserGroupsWorkspaceRouting, { "headers": { "Accept": "application/json" } })
926
+ });
927
+ }
928
+ var __updateUserGroupRouting = { "routes": [["handle", "body"], ["members", "body"], ["name", "body"], ["groupId", "path"]], "requiredParts": ["body", "path"] };
929
+ function updateUserGroup(input) {
930
+ return new import_codegen.Action({
931
+ systemId: "conn_mod_def::GJ1NcKDm80c::mDOcTeKvSfS6GLwk4CF9dg",
932
+ method: "PUT",
933
+ path: "/group/{{groupId}}",
934
+ ...(0, import_codegen.routeInput)(input, __updateUserGroupRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
935
+ });
936
+ }
937
+ var __getWorkspaceUserRouting = { "routes": [["teamId", "path"], ["userId", "path"], ["include_shared", "query"]], "requiredParts": ["path"] };
938
+ function getWorkspaceUser(input) {
939
+ return new import_codegen.Action({
940
+ systemId: "conn_mod_def::GJ1NcYpKYak::Z6K1kIdzSvGc9_Cyz27IrQ",
941
+ method: "GET",
942
+ path: "/v2/team/{{teamId}}/user/{{userId}}",
943
+ ...(0, import_codegen.routeInput)(input, __getWorkspaceUserRouting, { "headers": { "Accept": "application/json" } })
944
+ });
945
+ }
946
+ var __inviteUserWorkspaceRouting = { "routes": [["admin", "body"], ["custom_role_id", "body"], ["email", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
947
+ function inviteUserWorkspace(input) {
948
+ return new import_codegen.Action({
949
+ systemId: "conn_mod_def::GJ1NchRYriw::DFkpXEi4QrKcPSC6jb1WxQ",
950
+ method: "POST",
951
+ path: "/team/{{teamId}}/user",
952
+ ...(0, import_codegen.routeInput)(input, __inviteUserWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
953
+ });
954
+ }
955
+ var __createFolderViewRouting = { "routes": [["columns", "body"], ["divide", "body"], ["filters", "body"], ["grouping", "body"], ["name", "body"], ["settings", "body"], ["sorting", "body"], ["team_sidebar", "body"], ["type", "body"], ["folderId", "path"]], "requiredParts": ["body", "path"] };
956
+ function createFolderView(input) {
957
+ return new import_codegen.Action({
958
+ systemId: "conn_mod_def::GJ1Ncurlc9E::b_RN1mKNSaScPV4yMoxmMw",
959
+ method: "POST",
960
+ path: "/folder/{{folderId}}/view",
961
+ ...(0, import_codegen.routeInput)(input, __createFolderViewRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
962
+ });
963
+ }
964
+ var __createListViewRouting = { "routes": [["columns", "body"], ["divide", "body"], ["filters", "body"], ["grouping", "body"], ["name", "body"], ["settings", "body"], ["sorting", "body"], ["team_sidebar", "body"], ["type", "body"], ["listId", "path"]], "requiredParts": ["body", "path"] };
965
+ function createListView(input) {
966
+ return new import_codegen.Action({
967
+ systemId: "conn_mod_def::GJ1Nc10fYUs::54EKcGn-QrKaJwyUmkEDcg",
968
+ method: "POST",
969
+ path: "/v2/list/{{listId}}/view",
970
+ ...(0, import_codegen.routeInput)(input, __createListViewRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
971
+ });
972
+ }
973
+ var __createSpaceViewRouting = { "routes": [["columns", "body"], ["divide", "body"], ["filters", "body"], ["grouping", "body"], ["name", "body"], ["settings", "body"], ["sorting", "body"], ["team_sidebar", "body"], ["type", "body"], ["spaceId", "path"]], "requiredParts": ["body", "path"] };
974
+ function createSpaceView(input) {
975
+ return new import_codegen.Action({
976
+ systemId: "conn_mod_def::GJ1NdAoA204::z8BXtkg6S5OUQRProVv_PA",
977
+ method: "POST",
978
+ path: "/v2/space/{{spaceId}}/view",
979
+ ...(0, import_codegen.routeInput)(input, __createSpaceViewRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
980
+ });
981
+ }
982
+ var __createWorkspaceEverythingLevelViewRouting = { "routes": [["columns", "body"], ["divide", "body"], ["filters", "body"], ["grouping", "body"], ["name", "body"], ["settings", "body"], ["sorting", "body"], ["team_sidebar", "body"], ["type", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
983
+ function createWorkspaceEverythingLevelView(input) {
984
+ return new import_codegen.Action({
985
+ systemId: "conn_mod_def::GJ1NdJK-0bA::334Gx3F1RUu21kEWUn--1A",
986
+ method: "POST",
987
+ path: "/v2/team/{{teamId}}/view",
988
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceEverythingLevelViewRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
989
+ });
990
+ }
991
+ var __listListsViewsRouting = { "routes": [["listId", "path"]], "requiredParts": ["path"] };
992
+ function listListsViews(input) {
993
+ return new import_codegen.Action({
994
+ systemId: "conn_mod_def::GJ1NdeCzx-U::G7Z3euUVSbanBSy8k559xw",
995
+ method: "GET",
996
+ path: "/list/{{listId}}/view",
997
+ ...(0, import_codegen.routeInput)(input, __listListsViewsRouting, { "headers": { "Accept": "application/json" } })
998
+ });
999
+ }
1000
+ var __listFoldersViewsRouting = { "routes": [["folderId", "path"]], "requiredParts": ["path"] };
1001
+ function listFoldersViews(input) {
1002
+ return new import_codegen.Action({
1003
+ systemId: "conn_mod_def::GJ1NdW9yiwY::PH3YrUfpQoip5QBlCgOZ0g",
1004
+ method: "GET",
1005
+ path: "/folder/{{folderId}}/view",
1006
+ ...(0, import_codegen.routeInput)(input, __listFoldersViewsRouting, { "headers": { "Accept": "application/json" } })
1007
+ });
1008
+ }
1009
+ var __listSpacesViewsRouting = { "routes": [["spaceId", "path"]], "requiredParts": ["path"] };
1010
+ function listSpacesViews(input) {
1011
+ return new import_codegen.Action({
1012
+ systemId: "conn_mod_def::GJ1NdlAGQCw::43hN_vLMTy6U2ypXVJofcQ",
1013
+ method: "GET",
1014
+ path: "/space/{{spaceId}}/view",
1015
+ ...(0, import_codegen.routeInput)(input, __listSpacesViewsRouting, { "headers": { "Accept": "application/json" } })
1016
+ });
1017
+ }
1018
+ var __getViewRouting = { "routes": [["viewId", "path"]], "requiredParts": ["path"] };
1019
+ function getView(input) {
1020
+ return new import_codegen.Action({
1021
+ systemId: "conn_mod_def::GJ1NdryfdXM::qiJ3mJFWQwqyOl3K-GeHcw",
1022
+ method: "GET",
1023
+ path: "/view/{{viewId}}",
1024
+ ...(0, import_codegen.routeInput)(input, __getViewRouting, { "headers": { "Accept": "application/json" } })
1025
+ });
1026
+ }
1027
+ var __listTasksViewRouting = { "routes": [["viewId", "path"], ["page", "query"]], "requiredParts": ["path", "query"] };
1028
+ function listTasksView(input) {
1029
+ return new import_codegen.Action({
1030
+ systemId: "conn_mod_def::GJ1Nd0zQaOY::Uhk2G-6zRdijUKGb1m-fnA",
1031
+ method: "GET",
1032
+ path: "/v2/view/{{viewId}}/task",
1033
+ ...(0, import_codegen.routeInput)(input, __listTasksViewRouting, { "headers": { "Accept": "application/json" } })
1034
+ });
1035
+ }
1036
+ var __updateViewRouting = { "routes": [["columns", "body"], ["divide", "body"], ["filters", "body"], ["grouping", "body"], ["name", "body"], ["parent", "body"], ["settings", "body"], ["sorting", "body"], ["team_sidebar", "body"], ["type", "body"], ["viewId", "path"]], "requiredParts": ["body", "path"] };
1037
+ function updateView(input) {
1038
+ return new import_codegen.Action({
1039
+ systemId: "conn_mod_def::GJ1NeEkXDZ8::_QmPG4XMSTOJ7ln4sSJ-iQ",
1040
+ method: "PUT",
1041
+ path: "/view/{{viewId}}",
1042
+ ...(0, import_codegen.routeInput)(input, __updateViewRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1043
+ });
1044
+ }
1045
+ var __listWorkspacesWebhooksRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1046
+ function listWorkspacesWebhooks(input) {
1047
+ return new import_codegen.Action({
1048
+ systemId: "conn_mod_def::GJ1NedRPmXs::4Ex8rIB5T_qWHv_dj5tgrw",
1049
+ method: "GET",
1050
+ path: "/v2/team/{{teamId}}/webhook",
1051
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesWebhooksRouting, { "headers": { "Accept": "application/json" } })
1052
+ });
1053
+ }
1054
+ var __updateWebhookRouting = { "routes": [["endpoint", "body"], ["events", "body"], ["status", "body"], ["webhookId", "path"]], "requiredParts": ["body", "path"] };
1055
+ function updateWebhook(input) {
1056
+ return new import_codegen.Action({
1057
+ systemId: "conn_mod_def::GJ1NekGz4pc::Hiy6BUT6SHy6ZNoqYGJdlg",
1058
+ method: "PUT",
1059
+ path: "/webhook/{{webhookId}}",
1060
+ ...(0, import_codegen.routeInput)(input, __updateWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1061
+ });
1062
+ }
1063
+ var __getWorkspacesPlanRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1064
+ function getWorkspacesPlan(input) {
1065
+ return new import_codegen.Action({
1066
+ systemId: "conn_mod_def::GJ1Ne0OxMpw::LARbYftgS8Sl6WOUAfHysQ",
1067
+ method: "GET",
1068
+ path: "/team/{{teamId}}/plan",
1069
+ ...(0, import_codegen.routeInput)(input, __getWorkspacesPlanRouting, { "headers": { "Accept": "application/json" } })
1070
+ });
1071
+ }
1072
+ var __getWorkspaceSeatsRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1073
+ function getWorkspaceSeats(input) {
1074
+ return new import_codegen.Action({
1075
+ systemId: "conn_mod_def::GJ1Ne7HOR0E::SxcEwB4FRPOPgDJLNofXZQ",
1076
+ method: "GET",
1077
+ path: "/v2/team/{{teamId}}/seats",
1078
+ ...(0, import_codegen.routeInput)(input, __getWorkspaceSeatsRouting, { "headers": { "Accept": "application/json" } })
1079
+ });
1080
+ }
1081
+ var __updateWorkspaceObjectOrLocationAclPrivacyAccessRouting = { "routes": [["entries", "body"], ["private", "body"], ["objectId", "path"], ["objectType", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1082
+ function updateWorkspaceObjectOrLocationAclPrivacyAccess(input) {
1083
+ return new import_codegen.Action({
1084
+ systemId: "conn_mod_def::GJ1OEee5Uxw::I1P7g03uSAOYpzzwdMAMHg",
1085
+ method: "PATCH",
1086
+ path: "/v3/workspaces/{{workspaceId}}/{{objectType}}/{{objectId}}/acls",
1087
+ ...(0, import_codegen.routeInput)(input, __updateWorkspaceObjectOrLocationAclPrivacyAccessRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1088
+ });
1089
+ }
1090
+ var __createAttachmentWorkspaceEntityTaskOrFilesCustomFieldRouting = { "routes": [["filename", "body"], ["entityId", "path"], ["entityType", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1091
+ function createAttachmentWorkspaceEntityTaskOrFilesCustomField(input) {
1092
+ return new import_codegen.Action({
1093
+ systemId: "conn_mod_def::GJ1OEmj1TjU::1HVgt_ZVQCykxnvcqt-TTA",
1094
+ method: "POST",
1095
+ path: "/v3/workspaces/{{workspaceId}}/{{entityType}}/{{entityId}}/attachments",
1096
+ ...(0, import_codegen.routeInput)(input, __createAttachmentWorkspaceEntityTaskOrFilesCustomFieldRouting, { "headers": { "Accept": "application/json", "Content-Type": "multipart/form-data" } })
1097
+ });
1098
+ }
1099
+ var __listWorkspaceEntitysAttachmentsRouting = { "routes": [["entityId", "path"], ["entityType", "path"], ["workspaceId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1100
+ function listWorkspaceEntitysAttachments(input) {
1101
+ return new import_codegen.Action({
1102
+ systemId: "conn_mod_def::GJ1OEzWCozg::pLOxs0GmRY-AxnFuroavjw",
1103
+ method: "GET",
1104
+ path: "/v3/workspaces/{{workspaceId}}/{{entityType}}/{{entityId}}/attachments",
1105
+ ...(0, import_codegen.routeInput)(input, __listWorkspaceEntitysAttachmentsRouting, { "headers": { "Accept": "application/json" } })
1106
+ });
1107
+ }
1108
+ var __createWorkspacesAuditLogsRouting = { "routes": [["applicability", "body"], ["filter", "body"], ["pagination", "body"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1109
+ function createWorkspacesAuditLogs(input) {
1110
+ return new import_codegen.Action({
1111
+ systemId: "conn_mod_def::GJ1OE7G1Uvk::J8F1S_JGTDmuMUKIK1eTMw",
1112
+ method: "POST",
1113
+ path: "/v3/workspaces/{{workspaceId}}/auditlogs",
1114
+ ...(0, import_codegen.routeInput)(input, __createWorkspacesAuditLogsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1115
+ });
1116
+ }
1117
+ var __createWorkspaceChatChannelRouting = { "routes": [["description", "body"], ["name", "body"], ["topic", "body"], ["user_ids", "body"], ["visibility", "body"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1118
+ function createWorkspaceChatChannel(input) {
1119
+ return new import_codegen.Action({
1120
+ systemId: "conn_mod_def::GJ1OFFjViwg::S5hQBDRYQQi9DBbZHEG64Q",
1121
+ method: "POST",
1122
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels",
1123
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceChatChannelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1124
+ });
1125
+ }
1126
+ var __createChatChannelSpaceFolderOrListLocationRouting = { "routes": [["description", "body"], ["location", "body"], ["topic", "body"], ["user_ids", "body"], ["visibility", "body"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1127
+ function createChatChannelSpaceFolderOrListLocation(input) {
1128
+ return new import_codegen.Action({
1129
+ systemId: "conn_mod_def::GJ1OFNjMzDY::YoZUeAmkQ9eGGVXgpz0LFg",
1130
+ method: "POST",
1131
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/location",
1132
+ ...(0, import_codegen.routeInput)(input, __createChatChannelSpaceFolderOrListLocationRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1133
+ });
1134
+ }
1135
+ var __createWorkspaceDirectMessageChatChannelRouting = { "routes": [["user_ids", "body"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1136
+ function createWorkspaceDirectMessageChatChannel(input) {
1137
+ return new import_codegen.Action({
1138
+ systemId: "conn_mod_def::GJ1OFW0Z3TU::X1-uhiIcT-2dTqYhUilf8Q",
1139
+ method: "POST",
1140
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/direct_message",
1141
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceDirectMessageChatChannelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1142
+ });
1143
+ }
1144
+ var __createChatMessageReactionWorkspaceRouting = { "routes": [["reaction", "body"], ["messageId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1145
+ function createChatMessageReactionWorkspace(input) {
1146
+ return new import_codegen.Action({
1147
+ systemId: "conn_mod_def::GJ1OFf_haoE::Mxxav5wMTuuUnakX7mBpxQ",
1148
+ method: "POST",
1149
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/reactions",
1150
+ ...(0, import_codegen.routeInput)(input, __createChatMessageReactionWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1151
+ });
1152
+ }
1153
+ var __createReplyMessageWorkspaceChatThreadRouting = { "routes": [["assignee", "body"], ["content", "body"], ["content_format", "body"], ["followers", "body"], ["group_assignee", "body"], ["post_data", "body"], ["reactions", "body"], ["triaged_action", "body"], ["triaged_object_id", "body"], ["triaged_object_type", "body"], ["type", "body"], ["messageId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1154
+ function createReplyMessageWorkspaceChatThread(input) {
1155
+ return new import_codegen.Action({
1156
+ systemId: "conn_mod_def::GJ1OFqdZnV0::xkdNr41eQeiuJYRPnb7C_A",
1157
+ method: "POST",
1158
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/replies",
1159
+ ...(0, import_codegen.routeInput)(input, __createReplyMessageWorkspaceChatThreadRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1160
+ });
1161
+ }
1162
+ var __deleteWorkspaceChatChannelRouting = { "routes": [["channelId", "path"], ["workspaceId", "path"]], "requiredParts": ["path"] };
1163
+ function deleteWorkspaceChatChannel(input) {
1164
+ return new import_codegen.Action({
1165
+ systemId: "conn_mod_def::GJ1OF14b_oU::FuMJr1nEQp6acFzlc8RPFw",
1166
+ method: "DELETE",
1167
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}",
1168
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceChatChannelRouting, { "headers": { "Accept": "application/json" } })
1169
+ });
1170
+ }
1171
+ var __deleteWorkspaceChatMessageRouting = { "routes": [["messageId", "path"], ["workspaceId", "path"]], "requiredParts": ["path"] };
1172
+ function deleteWorkspaceChatMessage(input) {
1173
+ return new import_codegen.Action({
1174
+ systemId: "conn_mod_def::GJ1OF-uIDKk::86zUCq_AQva0ebFACXQT2A",
1175
+ method: "DELETE",
1176
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}",
1177
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceChatMessageRouting, { "headers": { "Accept": "application/json" } })
1178
+ });
1179
+ }
1180
+ var __deleteWorkspaceChatMessageReactionRouting = { "routes": [["messageId", "path"], ["reaction", "path"], ["workspaceId", "path"]], "requiredParts": ["path"] };
1181
+ function deleteWorkspaceChatMessageReaction(input) {
1182
+ return new import_codegen.Action({
1183
+ systemId: "conn_mod_def::GJ1OGIL-Dnk::MfgVkuOjR3uT5uxa3ChS8w",
1184
+ method: "DELETE",
1185
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/reactions/{{reaction}}",
1186
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceChatMessageReactionRouting, { "headers": { "Accept": "application/json" } })
1187
+ });
1188
+ }
1189
+ var __retrieveWorkspaceChatChannelRouting = { "routes": [["channelId", "path"], ["workspaceId", "path"], ["description_format", "query"]], "requiredParts": ["path"] };
1190
+ function retrieveWorkspaceChatChannel(input) {
1191
+ return new import_codegen.Action({
1192
+ systemId: "conn_mod_def::GJ1OGQcUyT8::xjte8bCCT2qt9mzwe2LhtA",
1193
+ method: "GET",
1194
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}",
1195
+ ...(0, import_codegen.routeInput)(input, __retrieveWorkspaceChatChannelRouting, { "headers": { "Accept": "application/json" } })
1196
+ });
1197
+ }
1198
+ var __retrieveWorkspaceChatChannelsFollowersRouting = { "routes": [["channelId", "path"], ["workspaceId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1199
+ function retrieveWorkspaceChatChannelsFollowers(input) {
1200
+ return new import_codegen.Action({
1201
+ systemId: "conn_mod_def::GJ1OGZJ-gsM::-YxbECL2SZS9U-K1zKp-rw",
1202
+ method: "GET",
1203
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}/followers",
1204
+ ...(0, import_codegen.routeInput)(input, __retrieveWorkspaceChatChannelsFollowersRouting, { "headers": { "Accept": "application/json" } })
1205
+ });
1206
+ }
1207
+ var __listChatChannelsMembersWorkspaceRouting = { "routes": [["channelId", "path"], ["workspaceId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1208
+ function listChatChannelsMembersWorkspace(input) {
1209
+ return new import_codegen.Action({
1210
+ systemId: "conn_mod_def::GJ1OGids-kg::9SrfvmOCSpuZdMBmq99qYw",
1211
+ method: "GET",
1212
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}/members",
1213
+ ...(0, import_codegen.routeInput)(input, __listChatChannelsMembersWorkspaceRouting, { "headers": { "Accept": "application/json" } })
1214
+ });
1215
+ }
1216
+ var __retrieveWorkspaceChannelsChatMessagesRouting = { "routes": [["channelId", "path"], ["workspaceId", "path"], ["content_format", "query"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1217
+ function retrieveWorkspaceChannelsChatMessages(input) {
1218
+ return new import_codegen.Action({
1219
+ systemId: "conn_mod_def::GJ1OGrID7Ao::xMYp1_NhRyi_09xepunsvA",
1220
+ method: "GET",
1221
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}/messages",
1222
+ ...(0, import_codegen.routeInput)(input, __retrieveWorkspaceChannelsChatMessagesRouting, { "headers": { "Accept": "application/json" } })
1223
+ });
1224
+ }
1225
+ var __retrieveWorkspacesChatChannelsRouting = { "routes": [["workspaceId", "path"], ["channel_types", "query"], ["cursor", "query"], ["description_format", "query"], ["include_closed", "query"], ["is_follower", "query"], ["limit", "query"], ["with_message_since", "query"]], "requiredParts": ["path"] };
1226
+ function retrieveWorkspacesChatChannels(input) {
1227
+ return new import_codegen.Action({
1228
+ systemId: "conn_mod_def::GJ1OG1lZ5lk::cmauRAP8QzinKDTvKmQO6A",
1229
+ method: "GET",
1230
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels",
1231
+ ...(0, import_codegen.routeInput)(input, __retrieveWorkspacesChatChannelsRouting, { "headers": { "Accept": "application/json" } })
1232
+ });
1233
+ }
1234
+ var __retrieveWorkspaceChatMessagesReactionsRouting = { "routes": [["messageId", "path"], ["workspaceId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1235
+ function retrieveWorkspaceChatMessagesReactions(input) {
1236
+ return new import_codegen.Action({
1237
+ systemId: "conn_mod_def::GJ1OHBPO3LM::5joF-1fHQqmWXQgNdknFJA",
1238
+ method: "GET",
1239
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/reactions",
1240
+ ...(0, import_codegen.routeInput)(input, __retrieveWorkspaceChatMessagesReactionsRouting, { "headers": { "Accept": "application/json" } })
1241
+ });
1242
+ }
1243
+ var __retrieveChatMessagesRepliesRouting = { "routes": [["messageId", "path"], ["workspaceId", "path"], ["content_format", "query"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1244
+ function retrieveChatMessagesReplies(input) {
1245
+ return new import_codegen.Action({
1246
+ systemId: "conn_mod_def::GJ1OHKEigF0::oFacERbqQEyaJDa8HTMU0g",
1247
+ method: "GET",
1248
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/replies",
1249
+ ...(0, import_codegen.routeInput)(input, __retrieveChatMessagesRepliesRouting, { "headers": { "Accept": "application/json" } })
1250
+ });
1251
+ }
1252
+ var __retrieveChatMessagesTaggedUsersWorkspaceRouting = { "routes": [["messageId", "path"], ["workspaceId", "path"], ["cursor", "query"], ["limit", "query"]], "requiredParts": ["path"] };
1253
+ function retrieveChatMessagesTaggedUsersWorkspace(input) {
1254
+ return new import_codegen.Action({
1255
+ systemId: "conn_mod_def::GJ1OHXbW9AU::HvFyCeaFQk2iPdFsq2u0sQ",
1256
+ method: "GET",
1257
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}/tagged_users",
1258
+ ...(0, import_codegen.routeInput)(input, __retrieveChatMessagesTaggedUsersWorkspaceRouting, { "headers": { "Accept": "application/json" } })
1259
+ });
1260
+ }
1261
+ var __sendChatMessageWorkspaceChannelRouting = { "routes": [["assignee", "body"], ["content", "body"], ["content_format", "body"], ["followers", "body"], ["group_assignee", "body"], ["post_data", "body"], ["reactions", "body"], ["triaged_action", "body"], ["triaged_object_id", "body"], ["triaged_object_type", "body"], ["type", "body"], ["channelId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1262
+ function sendChatMessageWorkspaceChannel(input) {
1263
+ return new import_codegen.Action({
1264
+ systemId: "conn_mod_def::GJ1OHfzd-dg::B1PJ09-CQ2qbBeazFe62pw",
1265
+ method: "POST",
1266
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}/messages",
1267
+ ...(0, import_codegen.routeInput)(input, __sendChatMessageWorkspaceChannelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1268
+ });
1269
+ }
1270
+ var __updateWorkspacesChatChannelRouting = { "routes": [["content_format", "body"], ["description", "body"], ["location", "body"], ["name", "body"], ["topic", "body"], ["visibility", "body"], ["channelId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1271
+ function updateWorkspacesChatChannel(input) {
1272
+ return new import_codegen.Action({
1273
+ systemId: "conn_mod_def::GJ1OHnJ4zhk::NYarIkneRIC6_fEk-0vw6w",
1274
+ method: "PATCH",
1275
+ path: "/v3/workspaces/{{workspaceId}}/chat/channels/{{channelId}}",
1276
+ ...(0, import_codegen.routeInput)(input, __updateWorkspacesChatChannelRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1277
+ });
1278
+ }
1279
+ var __updateWorkspaceChatMessageRouting = { "routes": [["assignee", "body"], ["content", "body"], ["content_format", "body"], ["group_assignee", "body"], ["post_data", "body"], ["resolved", "body"], ["messageId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1280
+ function updateWorkspaceChatMessage(input) {
1281
+ return new import_codegen.Action({
1282
+ systemId: "conn_mod_def::GJ1OHvSwhvw::94GzjprOQim3Eac1tOJ1lw",
1283
+ method: "PATCH",
1284
+ path: "/v3/workspaces/{{workspaceId}}/chat/messages/{{messageId}}",
1285
+ ...(0, import_codegen.routeInput)(input, __updateWorkspaceChatMessageRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1286
+ });
1287
+ }
1288
+ var __getWorkspacesPostSubtypeIdsRouting = { "routes": [["commentType", "path"], ["workspaceId", "path"]], "requiredParts": ["path"] };
1289
+ function getWorkspacesPostSubtypeIds(input) {
1290
+ return new import_codegen.Action({
1291
+ systemId: "conn_mod_def::GJ1OH3px6Po::p1-GNkScSPKp8IXbS1_i0g",
1292
+ method: "GET",
1293
+ path: "/v3/workspaces/{{workspaceId}}/comments/types/{{commentType}}/subtypes",
1294
+ ...(0, import_codegen.routeInput)(input, __getWorkspacesPostSubtypeIdsRouting, { "headers": { "Accept": "application/json" } })
1295
+ });
1296
+ }
1297
+ var __createWorkspaceDocRouting = { "routes": [["create_page", "body"], ["name", "body"], ["parent", "body"], ["visibility", "body"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1298
+ function createWorkspaceDoc(input) {
1299
+ return new import_codegen.Action({
1300
+ systemId: "conn_mod_def::GJ1OH_0KhWY::JX5hpa2zT56Isg21kNHVsw",
1301
+ method: "POST",
1302
+ path: "/v3/workspaces/{{workspaceId}}/docs",
1303
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceDocRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1304
+ });
1305
+ }
1306
+ var __createDocPageWorkspaceRouting = { "routes": [["content", "body"], ["content_format", "body"], ["name", "body"], ["parent_page_id", "body"], ["sub_title", "body"], ["docId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1307
+ function createDocPageWorkspace(input) {
1308
+ return new import_codegen.Action({
1309
+ systemId: "conn_mod_def::GJ1OIHwDwqc::kQ5B3plAT8aYMj29DJm3QA",
1310
+ method: "POST",
1311
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}/pages",
1312
+ ...(0, import_codegen.routeInput)(input, __createDocPageWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1313
+ });
1314
+ }
1315
+ var __editWorkspaceDocPageRouting = { "routes": [["content", "body"], ["content_edit_mode", "body"], ["content_format", "body"], ["name", "body"], ["sub_title", "body"], ["docId", "path"], ["pageId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1316
+ function editWorkspaceDocPage(input) {
1317
+ return new import_codegen.Action({
1318
+ systemId: "conn_mod_def::GJ1OIQ_Qbk4::w9gwM2rTT2CSfYr4ybeRJw",
1319
+ method: "PUT",
1320
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}/pages/{{pageId}}",
1321
+ ...(0, import_codegen.routeInput)(input, __editWorkspaceDocPageRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1322
+ });
1323
+ }
1324
+ var __fetchWorkspaceDocRouting = { "routes": [["docId", "path"], ["workspaceId", "path"]], "requiredParts": ["path"] };
1325
+ function fetchWorkspaceDoc(input) {
1326
+ return new import_codegen.Action({
1327
+ systemId: "conn_mod_def::GJ1OIYkCWs8::kymbBz3cQRmInw4uC03tAA",
1328
+ method: "GET",
1329
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}",
1330
+ ...(0, import_codegen.routeInput)(input, __fetchWorkspaceDocRouting, { "headers": { "Accept": "application/json" } })
1331
+ });
1332
+ }
1333
+ var __getDocsPageListingPublicRouting = { "routes": [["docId", "path"], ["workspaceId", "path"], ["max_page_depth", "query"]], "requiredParts": ["path"] };
1334
+ function getDocsPageListingPublic(input) {
1335
+ return new import_codegen.Action({
1336
+ systemId: "conn_mod_def::GJ1OIhM_X1s::Z09jI6OUQAyXrxAbkIQDhQ",
1337
+ method: "GET",
1338
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}/page_listing",
1339
+ ...(0, import_codegen.routeInput)(input, __getDocsPageListingPublicRouting, { "headers": { "Accept": "application/json" } })
1340
+ });
1341
+ }
1342
+ var __listDocsPagesPublicRouting = { "routes": [["docId", "path"], ["workspaceId", "path"], ["content_format", "query"], ["max_page_depth", "query"]], "requiredParts": ["path"] };
1343
+ function listDocsPagesPublic(input) {
1344
+ return new import_codegen.Action({
1345
+ systemId: "conn_mod_def::GJ1OIsF71d0::CSXIAegsRB2FOG_0TJ64rA",
1346
+ method: "GET",
1347
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}/pages",
1348
+ ...(0, import_codegen.routeInput)(input, __listDocsPagesPublicRouting, { "headers": { "Accept": "application/json" } })
1349
+ });
1350
+ }
1351
+ var __getDocPageWorkspaceRouting = { "routes": [["docId", "path"], ["pageId", "path"], ["workspaceId", "path"], ["content_format", "query"]], "requiredParts": ["path"] };
1352
+ function getDocPageWorkspace(input) {
1353
+ return new import_codegen.Action({
1354
+ systemId: "conn_mod_def::GJ1OI0QHs9U::DOpsimCxR_yVN5QGKCEkYA",
1355
+ method: "GET",
1356
+ path: "/v3/workspaces/{{workspaceId}}/docs/{{docId}}/pages/{{pageId}}",
1357
+ ...(0, import_codegen.routeInput)(input, __getDocPageWorkspaceRouting, { "headers": { "Accept": "application/json" } })
1358
+ });
1359
+ }
1360
+ var __searchWorkspacesDocsRouting = { "routes": [["workspaceId", "path"], ["archived", "query"], ["creator", "query"], ["cursor", "query"], ["deleted", "query"], ["id", "query"], ["limit", "query"], ["next_cursor", "query"], ["parent_id", "query"], ["parent_type", "query"]], "requiredParts": ["path"] };
1361
+ function searchWorkspacesDocs(input) {
1362
+ return new import_codegen.Action({
1363
+ systemId: "conn_mod_def::GJ1OI9sj_JI::4dA2eIGQSdS_faaVqJSwnA",
1364
+ method: "GET",
1365
+ path: "/v3/workspaces/{{workspaceId}}/docs",
1366
+ ...(0, import_codegen.routeInput)(input, __searchWorkspacesDocsRouting)
1367
+ });
1368
+ }
1369
+ var __moveWorkspaceTaskNewHomeListRouting = { "routes": [["custom_fields_to_move", "body"], ["move_custom_fields", "body"], ["status_mappings", "body"], ["listId", "path"], ["taskId", "path"], ["workspaceId", "path"]], "requiredParts": ["body", "path"] };
1370
+ function moveWorkspaceTaskNewHomeList(input) {
1371
+ return new import_codegen.Action({
1372
+ systemId: "conn_mod_def::GJ1OJFnn4Jg::k3yC09DFTSWQk3Jg3wzm_A",
1373
+ method: "PUT",
1374
+ path: "/v3/workspaces/{{workspaceId}}/tasks/{{taskId}}/home_list/{{listId}}",
1375
+ ...(0, import_codegen.routeInput)(input, __moveWorkspaceTaskNewHomeListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1376
+ });
1377
+ }
1378
+ var __replaceTasksTimeEstimatesUserWorkspaceRouting = { "routes": [["taskId", "path"], ["workspaceId", "path"], ["body", "body", null]], "requiredParts": ["path"] };
1379
+ function replaceTasksTimeEstimatesUserWorkspace(input) {
1380
+ return new import_codegen.Action({
1381
+ systemId: "conn_mod_def::GJ1OJOVZDsA::cCW8Ci-rQTCTtEhjD_BPPw",
1382
+ method: "PUT",
1383
+ path: "/v3/workspaces/{{workspaceId}}/tasks/{{taskId}}/time_estimates_by_user",
1384
+ ...(0, import_codegen.routeInput)(input, __replaceTasksTimeEstimatesUserWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1385
+ });
1386
+ }
1387
+ var __updateTasksTimeEstimatesUserWorkspaceRouting = { "routes": [["taskId", "path"], ["workspaceId", "path"], ["body", "body", null]], "requiredParts": ["path"] };
1388
+ function updateTasksTimeEstimatesUserWorkspace(input) {
1389
+ return new import_codegen.Action({
1390
+ systemId: "conn_mod_def::GJ1OJXZ1QQ8::F4AJyrqkQQexbur7PY3ErA",
1391
+ method: "PATCH",
1392
+ path: "/v3/workspaces/{{workspaceId}}/tasks/{{taskId}}/time_estimates_by_user",
1393
+ ...(0, import_codegen.routeInput)(input, __updateTasksTimeEstimatesUserWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1394
+ });
1395
+ }
1396
+ var __deleteFolderRouting = { "routes": [["folderId", "path"]], "requiredParts": ["path"] };
1397
+ function deleteFolder(input) {
1398
+ return new import_codegen.Action({
1399
+ systemId: "conn_mod_def::GJ1NQC-nnqY::6XrGcye5T1W1FXlNhFlxXg",
1400
+ method: "DELETE",
1401
+ path: "/folder/{{folderId}}",
1402
+ ...(0, import_codegen.routeInput)(input, __deleteFolderRouting, { "headers": { "Accept": "application/json" } })
1403
+ });
1404
+ }
1405
+ var __addTaskAdditionalListRouting = { "routes": [["listId", "path"], ["taskId", "path"]], "requiredParts": ["path"] };
1406
+ function addTaskAdditionalList(input) {
1407
+ return new import_codegen.Action({
1408
+ systemId: "conn_mod_def::GJ1NS3ARiec::o5jJzOBMQAmOxSr4Ps2Dnw",
1409
+ method: "POST",
1410
+ path: "/v2/list/{{listId}}/task/{{taskId}}",
1411
+ ...(0, import_codegen.routeInput)(input, __addTaskAdditionalListRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1412
+ });
1413
+ }
1414
+ var __deleteChecklistsChecklistItemRouting = { "routes": [["checklistId", "path"], ["checklistItemId", "path"]], "requiredParts": ["path"] };
1415
+ function deleteChecklistsChecklistItem(input) {
1416
+ return new import_codegen.Action({
1417
+ systemId: "conn_mod_def::GJ1NWhYFAtM::C6_pSKWTQ-qW9s8-Ao1eww",
1418
+ method: "DELETE",
1419
+ path: "/checklist/{{checklistId}}/checklist_item/{{checklistItemId}}",
1420
+ ...(0, import_codegen.routeInput)(input, __deleteChecklistsChecklistItemRouting, { "headers": { "Accept": "application/json" } })
1421
+ });
1422
+ }
1423
+ var __listWorkspacesTaskTemplatesRouting = { "routes": [["teamId", "path"], ["page", "query"]], "requiredParts": ["path", "query"] };
1424
+ function listWorkspacesTaskTemplates(input) {
1425
+ return new import_codegen.Action({
1426
+ systemId: "conn_mod_def::GJ1NZDE0koU::FrBP2ZqzQcGE3Rja5WWNqw",
1427
+ method: "GET",
1428
+ path: "/v2/team/{{teamId}}/taskTemplate",
1429
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesTaskTemplatesRouting, { "headers": { "Accept": "application/json" } })
1430
+ });
1431
+ }
1432
+ var __listAuthorizedWorkspacesRouting = { "routes": [], "requiredParts": [] };
1433
+ function listAuthorizedWorkspaces(input) {
1434
+ return new import_codegen.Action({
1435
+ systemId: "conn_mod_def::GJ1NeqvEBXk::Ia1VW9n5TJK0KYDjxxhSWw",
1436
+ method: "GET",
1437
+ path: "/team",
1438
+ ...(0, import_codegen.routeInput)(input, __listAuthorizedWorkspacesRouting, { "headers": { "Accept": "application/json" } })
1439
+ });
1440
+ }
1441
+ var __createTaskChecklistRouting = { "routes": [["name", "body"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["body", "path"] };
1442
+ function createTaskChecklist(input) {
1443
+ return new import_codegen.Action({
1444
+ systemId: "conn_mod_def::GJ1NWIw6Mvk::WauK4GTZQjaRDU6Ue2kThQ",
1445
+ method: "POST",
1446
+ path: "/v2/task/{{taskId}}/checklist",
1447
+ ...(0, import_codegen.routeInput)(input, __createTaskChecklistRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1448
+ });
1449
+ }
1450
+ var __deleteWebhookRouting = { "routes": [["webhookId", "path"]], "requiredParts": ["path"] };
1451
+ function deleteWebhook(input) {
1452
+ return new import_codegen.Action({
1453
+ systemId: "conn_mod_def::GJ1NeV5fOwQ::DeHeW0QvRgONKAvTDBQThg",
1454
+ method: "DELETE",
1455
+ path: "/webhook/{{webhookId}}",
1456
+ ...(0, import_codegen.routeInput)(input, __deleteWebhookRouting, { "headers": { "Accept": "application/json" } })
1457
+ });
1458
+ }
1459
+ var __getAuthorizedUserRouting = { "routes": [], "requiredParts": [] };
1460
+ function getAuthorizedUser(input) {
1461
+ return new import_codegen.Action({
1462
+ systemId: "conn_mod_def::GJ1NNckrQDk::zZdsK1f6Rca8Q1_ClZTJEQ",
1463
+ method: "GET",
1464
+ path: "/user",
1465
+ ...(0, import_codegen.routeInput)(input, __getAuthorizedUserRouting, { "headers": { "Accept": "application/json" } })
1466
+ });
1467
+ }
1468
+ var __createThreadedCommentReplyRouting = { "routes": [["assignee", "body"], ["comment_text", "body"], ["group_assignee", "body"], ["notify_all", "body"], ["commentId", "path"]], "requiredParts": ["body", "path"] };
1469
+ function createThreadedCommentReply(input) {
1470
+ return new import_codegen.Action({
1471
+ systemId: "conn_mod_def::GJ1NOA4NDTk::ypa2WSLfQ3SDhb4OOxHp5g",
1472
+ method: "POST",
1473
+ path: "/comment/{{commentId}}/reply",
1474
+ ...(0, import_codegen.routeInput)(input, __createThreadedCommentReplyRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1475
+ });
1476
+ }
1477
+ var __deleteTaskCommentRouting = { "routes": [["commentId", "path"]], "requiredParts": ["path"] };
1478
+ function deleteTaskComment(input) {
1479
+ return new import_codegen.Action({
1480
+ systemId: "conn_mod_def::GJ1NOHunFWQ::qn7Z0PxbRniIY3JUEOYB_g",
1481
+ method: "DELETE",
1482
+ path: "/comment/{{commentId}}",
1483
+ ...(0, import_codegen.routeInput)(input, __deleteTaskCommentRouting, { "headers": { "Accept": "application/json" } })
1484
+ });
1485
+ }
1486
+ var __listCommentsListRouting = { "routes": [["listId", "path"], ["start", "query"], ["start_id", "query"]], "requiredParts": ["path"] };
1487
+ function listCommentsList(input) {
1488
+ return new import_codegen.Action({
1489
+ systemId: "conn_mod_def::GJ1NOZYpbfI::gdNE2CDCRI-ciJvGXgF8Cw",
1490
+ method: "GET",
1491
+ path: "/list/{{listId}}/comment",
1492
+ ...(0, import_codegen.routeInput)(input, __listCommentsListRouting, { "headers": { "Accept": "application/json" } })
1493
+ });
1494
+ }
1495
+ var __getThreadedCommentsCommentRouting = { "routes": [["commentId", "path"]], "requiredParts": ["path"] };
1496
+ function getThreadedCommentsComment(input) {
1497
+ return new import_codegen.Action({
1498
+ systemId: "conn_mod_def::GJ1NOp_-XNQ::WZN8-Gb3QmWhB-BG2iJ6qw",
1499
+ method: "GET",
1500
+ path: "/comment/{{commentId}}/reply",
1501
+ ...(0, import_codegen.routeInput)(input, __getThreadedCommentsCommentRouting, { "headers": { "Accept": "application/json" } })
1502
+ });
1503
+ }
1504
+ var __updateCommentRouting = { "routes": [["assignee", "body"], ["comment_text", "body"], ["group_assignee", "body"], ["resolved", "body"], ["commentId", "path"]], "requiredParts": ["body", "path"] };
1505
+ function updateComment(input) {
1506
+ return new import_codegen.Action({
1507
+ systemId: "conn_mod_def::GJ1NOwisnhw::pSSyfPlISRSspvypNzpxHA",
1508
+ method: "PUT",
1509
+ path: "/comment/{{commentId}}",
1510
+ ...(0, import_codegen.routeInput)(input, __updateCommentRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1511
+ });
1512
+ }
1513
+ var __listWorkspacesCustomTaskTypesRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1514
+ function listWorkspacesCustomTaskTypes(input) {
1515
+ return new import_codegen.Action({
1516
+ systemId: "conn_mod_def::GJ1NPpWofr8::yhJqepKUQemUJlBB9WxTgA",
1517
+ method: "GET",
1518
+ path: "/team/{{teamId}}/custom_item",
1519
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesCustomTaskTypesRouting, { "headers": { "Accept": "application/json" } })
1520
+ });
1521
+ }
1522
+ var __getFolderRouting = { "routes": [["folderId", "path"]], "requiredParts": ["path"] };
1523
+ function getFolder(input) {
1524
+ return new import_codegen.Action({
1525
+ systemId: "conn_mod_def::GJ1NQJqMB1w::9T5SGrkbQzajUo7eGafuqg",
1526
+ method: "GET",
1527
+ path: "/folder/{{folderId}}",
1528
+ ...(0, import_codegen.routeInput)(input, __getFolderRouting, { "headers": { "Accept": "application/json" } })
1529
+ });
1530
+ }
1531
+ var __createWorkspaceGoalRouting = { "routes": [["color", "body"], ["description", "body"], ["due_date", "body"], ["multiple_owners", "body"], ["name", "body"], ["owners", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
1532
+ function createWorkspaceGoal(input) {
1533
+ return new import_codegen.Action({
1534
+ systemId: "conn_mod_def::GJ1NQfokOzE::Pp7BREZaRpKIBSOeZNQ30w",
1535
+ method: "POST",
1536
+ path: "/v2/team/{{teamId}}/goal",
1537
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceGoalRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1538
+ });
1539
+ }
1540
+ var __deleteWorkspaceGoalRouting = { "routes": [["goalId", "path"]], "requiredParts": ["path"] };
1541
+ function deleteWorkspaceGoal(input) {
1542
+ return new import_codegen.Action({
1543
+ systemId: "conn_mod_def::GJ1NQxq1xKQ::9suLQ93vTzmT6sTwg1qIOg",
1544
+ method: "DELETE",
1545
+ path: "/goal/{{goalId}}",
1546
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceGoalRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1547
+ });
1548
+ }
1549
+ var __deleteGoalKeyResultRouting = { "routes": [["keyResultId", "path"]], "requiredParts": ["path"] };
1550
+ function deleteGoalKeyResult(input) {
1551
+ return new import_codegen.Action({
1552
+ systemId: "conn_mod_def::GJ1NQ8SRmog::P6v_BBlWTSW8bNWxht7JWw",
1553
+ method: "DELETE",
1554
+ path: "/key_result/{{keyResultId}}",
1555
+ ...(0, import_codegen.routeInput)(input, __deleteGoalKeyResultRouting, { "headers": { "Accept": "application/json" } })
1556
+ });
1557
+ }
1558
+ var __removeGuestFromWorkspaceRouting = { "routes": [["guestId", "path"], ["teamId", "path"]], "requiredParts": ["path"] };
1559
+ function removeGuestFromWorkspace(input) {
1560
+ return new import_codegen.Action({
1561
+ systemId: "conn_mod_def::GJ1NSvvmC7o::PPRq4-LAQGmshVLbJqSt1Q",
1562
+ method: "DELETE",
1563
+ path: "/team/{{teamId}}/guest/{{guestId}}",
1564
+ ...(0, import_codegen.routeInput)(input, __removeGuestFromWorkspaceRouting, { "headers": { "Accept": "application/json" } })
1565
+ });
1566
+ }
1567
+ var __createListFromTemplateFolderRouting = { "routes": [["name", "body"], ["options", "body"], ["folderId", "path"], ["templateId", "path"], ["return_immediately", "query"]], "requiredParts": ["body", "path"] };
1568
+ function createListFromTemplateFolder(input) {
1569
+ return new import_codegen.Action({
1570
+ systemId: "conn_mod_def::GJ1NTOZ23zk::UpgMaS-zSYirf-hgvJxA7A",
1571
+ method: "POST",
1572
+ path: "/v2/folder/{{folderId}}/list_template/{{templateId}}",
1573
+ ...(0, import_codegen.routeInput)(input, __createListFromTemplateFolderRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1574
+ });
1575
+ }
1576
+ var __removeTaskFromListRouting = { "routes": [["listId", "path"], ["taskId", "path"]], "requiredParts": ["path"] };
1577
+ function removeTaskFromList(input) {
1578
+ return new import_codegen.Action({
1579
+ systemId: "conn_mod_def::GJ1NUAbC94k::TZkxgOoBR_2u2drLZEewYA",
1580
+ method: "DELETE",
1581
+ path: "/v2/list/{{listId}}/task/{{taskId}}",
1582
+ ...(0, import_codegen.routeInput)(input, __removeTaskFromListRouting, { "headers": { "Accept": "application/json" } })
1583
+ });
1584
+ }
1585
+ var __listMembersExplicitAccessListRouting = { "routes": [["listId", "path"]], "requiredParts": ["path"] };
1586
+ function listMembersExplicitAccessList(input) {
1587
+ return new import_codegen.Action({
1588
+ systemId: "conn_mod_def::GJ1NUPHZNbw::Fd2q-0skR9S4U16Tf6p9YA",
1589
+ method: "GET",
1590
+ path: "/list/{{listId}}/member",
1591
+ ...(0, import_codegen.routeInput)(input, __listMembersExplicitAccessListRouting, { "headers": { "Accept": "application/json" } })
1592
+ });
1593
+ }
1594
+ var __listWorkspacesCustomRolesRouting = { "routes": [["teamId", "path"], ["include_members", "query"]], "requiredParts": ["path"] };
1595
+ function listWorkspacesCustomRoles(input) {
1596
+ return new import_codegen.Action({
1597
+ systemId: "conn_mod_def::GJ1NUeFWYXc::cCGgAzKfQl-x-mQKSXGloA",
1598
+ method: "GET",
1599
+ path: "/team/{{teamId}}/customroles",
1600
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesCustomRolesRouting, { "headers": { "Accept": "application/json" } })
1601
+ });
1602
+ }
1603
+ var __deleteWorkspaceSpaceRouting = { "routes": [["spaceId", "path"]], "requiredParts": ["path"] };
1604
+ function deleteWorkspaceSpace(input) {
1605
+ return new import_codegen.Action({
1606
+ systemId: "conn_mod_def::GJ1NU1RlzzQ::fKI7XSmeQl-5NipEs6U9Pw",
1607
+ method: "DELETE",
1608
+ path: "/space/{{spaceId}}",
1609
+ ...(0, import_codegen.routeInput)(input, __deleteWorkspaceSpaceRouting, { "headers": { "Accept": "application/json" } })
1610
+ });
1611
+ }
1612
+ var __getSpaceRouting = { "routes": [["spaceId", "path"]], "requiredParts": ["path"] };
1613
+ function getSpace(input) {
1614
+ return new import_codegen.Action({
1615
+ systemId: "conn_mod_def::GJ1NU8B3LnA::qbng_scvS2yCZwrgSMwkng",
1616
+ method: "GET",
1617
+ path: "/space/{{spaceId}}",
1618
+ ...(0, import_codegen.routeInput)(input, __getSpaceRouting, { "headers": { "Accept": "application/json" } })
1619
+ });
1620
+ }
1621
+ var __editSpaceTagRouting = { "routes": [["tag", "body"], ["spaceId", "path"], ["tagName", "path"]], "requiredParts": ["body", "path"] };
1622
+ function editSpaceTag(input) {
1623
+ return new import_codegen.Action({
1624
+ systemId: "conn_mod_def::GJ1NVuFq1Iw::t-YHm1eYQISd8u22mh9FPQ",
1625
+ method: "PUT",
1626
+ path: "/v2/space/{{spaceId}}/tag/{{tagName}}",
1627
+ ...(0, import_codegen.routeInput)(input, __editSpaceTagRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1628
+ });
1629
+ }
1630
+ var __listSpacesTagsRouting = { "routes": [["spaceId", "path"]], "requiredParts": ["path"] };
1631
+ function listSpacesTags(input) {
1632
+ return new import_codegen.Action({
1633
+ systemId: "conn_mod_def::GJ1NV1JqfRc::iF3wVHcJROGSSKaXJ80MfA",
1634
+ method: "GET",
1635
+ path: "/space/{{spaceId}}/tag",
1636
+ ...(0, import_codegen.routeInput)(input, __listSpacesTagsRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1637
+ });
1638
+ }
1639
+ var __removeTagFromTaskRouting = { "routes": [["tagName", "path"], ["taskId", "path"], ["custom_task_ids", "query"], ["team_id", "query"]], "requiredParts": ["path"] };
1640
+ function removeTagFromTask(input) {
1641
+ return new import_codegen.Action({
1642
+ systemId: "conn_mod_def::GJ1NV-FC3iM::j_TSzn2DTp241K_D7uai7A",
1643
+ method: "DELETE",
1644
+ path: "/task/{{taskId}}/tag/{{tagName}}",
1645
+ ...(0, import_codegen.routeInput)(input, __removeTagFromTaskRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1646
+ });
1647
+ }
1648
+ var __deleteChecklistRouting = { "routes": [["checklistId", "path"]], "requiredParts": ["path"] };
1649
+ function deleteChecklist(input) {
1650
+ return new import_codegen.Action({
1651
+ systemId: "conn_mod_def::GJ1NWZpc3js::VjHiO-QfScO5fHxw4nC3ig",
1652
+ method: "DELETE",
1653
+ path: "/checklist/{{checklistId}}",
1654
+ ...(0, import_codegen.routeInput)(input, __deleteChecklistRouting, { "headers": { "Accept": "application/json" } })
1655
+ });
1656
+ }
1657
+ var __editTasksChecklistRouting = { "routes": [["name", "body"], ["position", "body"], ["checklistId", "path"]], "requiredParts": ["body", "path"] };
1658
+ function editTasksChecklist(input) {
1659
+ return new import_codegen.Action({
1660
+ systemId: "conn_mod_def::GJ1NWpLze7M::HoWhN29YTtSxF-MRcSFIpQ",
1661
+ method: "PUT",
1662
+ path: "/checklist/{{checklistId}}",
1663
+ ...(0, import_codegen.routeInput)(input, __editTasksChecklistRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1664
+ });
1665
+ }
1666
+ var __addTaskDependencyWaitingBlockingRouting = { "routes": [["taskId", "path"], ["body", "body", null], ["query", "query", null]], "requiredParts": ["path"] };
1667
+ function addTaskDependencyWaitingBlocking(input) {
1668
+ return new import_codegen.Action({
1669
+ systemId: "conn_mod_def::GJ1NW5kZbk4::mZbwqUQlQzCR5RNxZkpjwg",
1670
+ method: "POST",
1671
+ path: "/v2/task/{{taskId}}/dependency",
1672
+ ...(0, import_codegen.routeInput)(input, __addTaskDependencyWaitingBlockingRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1673
+ });
1674
+ }
1675
+ var __editUserWorkspaceRouting = { "routes": [["admin", "body"], ["custom_role_id", "body"], ["username", "body"], ["teamId", "path"], ["userId", "path"]], "requiredParts": ["body", "path"] };
1676
+ function editUserWorkspace(input) {
1677
+ return new import_codegen.Action({
1678
+ systemId: "conn_mod_def::GJ1NcRbRHsM::LkbDwZVjTn2Be-gsucyrIg",
1679
+ method: "PUT",
1680
+ path: "/team/{{teamId}}/user/{{userId}}",
1681
+ ...(0, import_codegen.routeInput)(input, __editUserWorkspaceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1682
+ });
1683
+ }
1684
+ var __removeUserFromWorkspaceRouting = { "routes": [["teamId", "path"], ["userId", "path"]], "requiredParts": ["path"] };
1685
+ function removeUserFromWorkspace(input) {
1686
+ return new import_codegen.Action({
1687
+ systemId: "conn_mod_def::GJ1Ncn482ks::Bw_QY9aUQRCP--RfWmOtXQ",
1688
+ method: "DELETE",
1689
+ path: "/v2/team/{{teamId}}/user/{{userId}}",
1690
+ ...(0, import_codegen.routeInput)(input, __removeUserFromWorkspaceRouting, { "headers": { "Accept": "application/json" } })
1691
+ });
1692
+ }
1693
+ var __deleteViewRouting = { "routes": [["viewId", "path"]], "requiredParts": ["path"] };
1694
+ function deleteView(input) {
1695
+ return new import_codegen.Action({
1696
+ systemId: "conn_mod_def::GJ1NdQFggug::xWp-0tF6TEWeBk6FdAcx1g",
1697
+ method: "DELETE",
1698
+ path: "/view/{{viewId}}",
1699
+ ...(0, import_codegen.routeInput)(input, __deleteViewRouting, { "headers": { "Accept": "application/json" } })
1700
+ });
1701
+ }
1702
+ var __listWorkspacesEverythingLevelViewsRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1703
+ function listWorkspacesEverythingLevelViews(input) {
1704
+ return new import_codegen.Action({
1705
+ systemId: "conn_mod_def::GJ1Nd7cxtXI::-xKrz5qHSdygipbnbFnhrg",
1706
+ method: "GET",
1707
+ path: "/team/{{teamId}}/view",
1708
+ ...(0, import_codegen.routeInput)(input, __listWorkspacesEverythingLevelViewsRouting, { "headers": { "Accept": "application/json" } })
1709
+ });
1710
+ }
1711
+ var __createWorkspaceWebhookRouting = { "routes": [["endpoint", "body"], ["events", "body"], ["folder_id", "body"], ["list_id", "body"], ["space_id", "body"], ["task_id", "body"], ["teamId", "path"]], "requiredParts": ["body", "path"] };
1712
+ function createWorkspaceWebhook(input) {
1713
+ return new import_codegen.Action({
1714
+ systemId: "conn_mod_def::GJ1NeMF9EG8::r4hUAnV8Q9Ohyd9JsGqnDQ",
1715
+ method: "POST",
1716
+ path: "/v2/team/{{teamId}}/webhook",
1717
+ ...(0, import_codegen.routeInput)(input, __createWorkspaceWebhookRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
1718
+ });
1719
+ }
1720
+ var __moveFolderRouting = { "routes": [["folderId", "path"], ["body", "body", null]], "requiredParts": ["path"] };
1721
+ function moveFolder(input) {
1722
+ return new import_codegen.Action({
1723
+ systemId: "conn_mod_def::GOvczsoUwLA::IYOPj8xcTLW9FH8K1RalWg",
1724
+ method: "PUT",
1725
+ path: "/api/v2/folder/{{folderId}}/position",
1726
+ ...(0, import_codegen.routeInput)(input, __moveFolderRouting, { "headers": { "Content-Type": "application/json" } })
1727
+ });
1728
+ }
1729
+ var __getFolderTemplatesWorkspaceRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1730
+ function getFolderTemplatesWorkspace(input) {
1731
+ return new import_codegen.Action({
1732
+ systemId: "conn_mod_def::GOvczs4vkIA::9PjkAMW9Qom_YSv-P6SAoQ",
1733
+ method: "GET",
1734
+ path: "/api/v2/team/{{teamId}}/folder_template",
1735
+ ...(0, import_codegen.routeInput)(input, __getFolderTemplatesWorkspaceRouting)
1736
+ });
1737
+ }
1738
+ var __getListTemplatesWorkspaceRouting = { "routes": [["teamId", "path"]], "requiredParts": ["path"] };
1739
+ function getListTemplatesWorkspace(input) {
1740
+ return new import_codegen.Action({
1741
+ systemId: "conn_mod_def::GOvcztD59zg::Xr92kwY3QmqXXNFvSH63ug",
1742
+ method: "GET",
1743
+ path: "/api/v2/team/{{teamId}}/list_template",
1744
+ ...(0, import_codegen.routeInput)(input, __getListTemplatesWorkspaceRouting)
1745
+ });
1746
+ }
1747
+ var __getBulkTasksTimeStatusRouting = { "routes": [["query", "query", null]], "requiredParts": [] };
1748
+ function getBulkTasksTimeStatus(input) {
1749
+ return new import_codegen.Action({
1750
+ systemId: "conn_mod_def::GOvcztv3XbA::0by0hlLXRnW8Jihqj4p-hw",
1751
+ method: "GET",
1752
+ path: "/api/v2/task/bulk_time_in_status/task_ids",
1753
+ ...(0, import_codegen.routeInput)(input, __getBulkTasksTimeStatusRouting)
1754
+ });
1755
+ }
1756
+ // Annotate the CommonJS export names for ESM import in node:
1757
+ 0 && (module.exports = {
1758
+ addGuestFolder,
1759
+ addGuestList,
1760
+ addGuestTask,
1761
+ addLinkBetweenTwoTasksTaskLinks,
1762
+ addTagTask,
1763
+ addTagsWorkspacesTimeEntries,
1764
+ addTaskAdditionalList,
1765
+ addTaskDependencyWaitingBlocking,
1766
+ changeTagNamesFromTimeEntriesWorkspace,
1767
+ createAttachmentWorkspaceEntityTaskOrFilesCustomField,
1768
+ createChatChannelSpaceFolderOrListLocation,
1769
+ createChatMessageReactionWorkspace,
1770
+ createChatViewComment,
1771
+ createChecklistItemChecklist,
1772
+ createDocPageWorkspace,
1773
+ createFolderFromTemplateSpace,
1774
+ createFolderListCreateList,
1775
+ createFolderView,
1776
+ createFolderlessListSpace,
1777
+ createGoalKeyResult,
1778
+ createListComment,
1779
+ createListFromTemplateFolder,
1780
+ createListFromTemplateSpace,
1781
+ createListView,
1782
+ createReplyMessageWorkspaceChatThread,
1783
+ createSpaceFolder,
1784
+ createSpaceTag,
1785
+ createSpaceView,
1786
+ createTaskAttachment,
1787
+ createTaskChecklist,
1788
+ createTaskComment,
1789
+ createTaskFromTemplateList,
1790
+ createTaskList,
1791
+ createThreadedCommentReply,
1792
+ createTimeEntryWorkspaceTeam,
1793
+ createWorkspaceChatChannel,
1794
+ createWorkspaceDirectMessageChatChannel,
1795
+ createWorkspaceDoc,
1796
+ createWorkspaceEverythingLevelView,
1797
+ createWorkspaceGoal,
1798
+ createWorkspaceSpace,
1799
+ createWorkspaceUserGroup,
1800
+ createWorkspaceWebhook,
1801
+ createWorkspacesAuditLogs,
1802
+ deleteChecklist,
1803
+ deleteChecklistsChecklistItem,
1804
+ deleteFolder,
1805
+ deleteGoalKeyResult,
1806
+ deleteSpaceTag,
1807
+ deleteTask,
1808
+ deleteTaskComment,
1809
+ deleteTaskDependency,
1810
+ deleteTaskLink,
1811
+ deleteTasksTimeTrackedInterval,
1812
+ deleteView,
1813
+ deleteWebhook,
1814
+ deleteWorkspaceChatChannel,
1815
+ deleteWorkspaceChatMessage,
1816
+ deleteWorkspaceChatMessageReaction,
1817
+ deleteWorkspaceGoal,
1818
+ deleteWorkspaceList,
1819
+ deleteWorkspaceSpace,
1820
+ deleteWorkspaceTimeEntry,
1821
+ deleteWorkspaceUserGroup,
1822
+ editChecklistsItem,
1823
+ editGuestWorkspace,
1824
+ editKeyResult,
1825
+ editSpaceTag,
1826
+ editTasksChecklist,
1827
+ editTasksTimeTrackedIntervalLegacy,
1828
+ editUserWorkspace,
1829
+ editWorkspaceDocPage,
1830
+ fetchWorkspaceDoc,
1831
+ getAuthorizedUser,
1832
+ getBulkTasksTimeStatus,
1833
+ getChatViewCommentsChatView,
1834
+ getDocPageWorkspace,
1835
+ getDocsPageListingPublic,
1836
+ getFilteredTeamTasksListWorkspacesTasksFilter,
1837
+ getFolder,
1838
+ getFolderTemplatesWorkspace,
1839
+ getGoal,
1840
+ getList,
1841
+ getListTemplatesWorkspace,
1842
+ getListsCustomFields,
1843
+ getOauthAccessToken,
1844
+ getSpace,
1845
+ getTask,
1846
+ getTasksTimeStatus,
1847
+ getTasksTrackedTimeLegacy,
1848
+ getThreadedCommentsComment,
1849
+ getTimeEntriesWithinDateRangeWorkspace,
1850
+ getTimeEntrysHistoryWorkspace,
1851
+ getView,
1852
+ getWorkspaceGuest,
1853
+ getWorkspaceSeats,
1854
+ getWorkspaceTimeEntry,
1855
+ getWorkspaceUser,
1856
+ getWorkspacesCurrentRunningTimeEntry,
1857
+ getWorkspacesPlan,
1858
+ getWorkspacesPostSubtypeIds,
1859
+ getWorkspacesSharedHierarchy,
1860
+ inviteGuestWorkspace,
1861
+ inviteUserWorkspace,
1862
+ listAuthorizedWorkspaces,
1863
+ listChatChannelsMembersWorkspace,
1864
+ listCommentsList,
1865
+ listDocsPagesPublic,
1866
+ listFolderlessListsSpace,
1867
+ listFoldersCustomFields,
1868
+ listFoldersLists,
1869
+ listFoldersViews,
1870
+ listListsViews,
1871
+ listMembersExplicitAccessList,
1872
+ listSpacesCustomFields,
1873
+ listSpacesFolders,
1874
+ listSpacesTags,
1875
+ listSpacesViews,
1876
+ listTasksComments,
1877
+ listTasksList,
1878
+ listTasksMembersExplicitAccess,
1879
+ listTasksView,
1880
+ listUserGroupsWorkspace,
1881
+ listWorkspaceEntitysAttachments,
1882
+ listWorkspacesCustomFields,
1883
+ listWorkspacesCustomRoles,
1884
+ listWorkspacesCustomTaskTypes,
1885
+ listWorkspacesEverythingLevelViews,
1886
+ listWorkspacesGoals,
1887
+ listWorkspacesSpaces,
1888
+ listWorkspacesTaskTemplates,
1889
+ listWorkspacesTimeEntryTags,
1890
+ listWorkspacesWebhooks,
1891
+ mergeTasksIntoTargetTask,
1892
+ moveFolder,
1893
+ moveWorkspaceTaskNewHomeList,
1894
+ removeGuestFromFolder,
1895
+ removeGuestFromList,
1896
+ removeGuestFromTask,
1897
+ removeGuestFromWorkspace,
1898
+ removeTagFromTask,
1899
+ removeTagsFromWorkspacesTimeEntries,
1900
+ removeTaskFromList,
1901
+ removeTasksCustomFieldValue,
1902
+ removeUserFromWorkspace,
1903
+ replaceTasksTimeEstimatesUserWorkspace,
1904
+ retrieveChatMessagesReplies,
1905
+ retrieveChatMessagesTaggedUsersWorkspace,
1906
+ retrieveWorkspaceChannelsChatMessages,
1907
+ retrieveWorkspaceChatChannel,
1908
+ retrieveWorkspaceChatChannelsFollowers,
1909
+ retrieveWorkspaceChatMessagesReactions,
1910
+ retrieveWorkspacesChatChannels,
1911
+ searchWorkspacesDocs,
1912
+ sendChatMessageWorkspaceChannel,
1913
+ setTasksCustomFieldValue,
1914
+ startWorkspaceTimeEntryTimerAuthenticatedUser,
1915
+ stopWorkspaceTimeEntryTimerAuthenticatedUser,
1916
+ trackTimeTask,
1917
+ updateComment,
1918
+ updateFolder,
1919
+ updateGoal,
1920
+ updateList,
1921
+ updateSpace,
1922
+ updateTask,
1923
+ updateTasksTimeEstimatesUserWorkspace,
1924
+ updateUserGroup,
1925
+ updateView,
1926
+ updateWebhook,
1927
+ updateWorkspaceChatMessage,
1928
+ updateWorkspaceObjectOrLocationAclPrivacyAccess,
1929
+ updateWorkspaceTimeEntry,
1930
+ updateWorkspacesChatChannel
1931
+ });