@tuturuuu/internal-api 0.14.0 → 0.14.1

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/tasks.js CHANGED
@@ -79,6 +79,9 @@ exports.resolveTaskProjectWorkspaceId = resolveTaskProjectWorkspaceId;
79
79
  exports.getWorkspaceTaskProject = getWorkspaceTaskProject;
80
80
  exports.getWorkspaceTaskProjectTasks = getWorkspaceTaskProjectTasks;
81
81
  const client_1 = require("./client");
82
+ function getTaskApiClient(options) {
83
+ return (0, client_1.getInternalApiClient)((0, client_1.withTaskApiBaseUrl)(options));
84
+ }
82
85
  function joinQueryList(values) {
83
86
  return values && values.length > 0 ? values.join(',') : undefined;
84
87
  }
@@ -111,7 +114,7 @@ function partitionTaskProjectLinks(links) {
111
114
  };
112
115
  }
113
116
  async function listWorkspaceTaskProjects(workspaceId, options) {
114
- const client = (0, client_1.getInternalApiClient)(options);
117
+ const client = getTaskApiClient(options);
115
118
  const projects = await client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects`, {
116
119
  query: {
117
120
  compact: true,
@@ -132,20 +135,20 @@ async function listWorkspaceTaskProjects(workspaceId, options) {
132
135
  });
133
136
  }
134
137
  async function listWorkspaceTaskProjectDetails(workspaceId, options) {
135
- const client = (0, client_1.getInternalApiClient)(options);
138
+ const client = getTaskApiClient(options);
136
139
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects`, {
137
140
  cache: 'no-store',
138
141
  });
139
142
  }
140
143
  async function listWorkspaceLabels(workspaceId, options) {
141
- const client = (0, client_1.getInternalApiClient)(options);
144
+ const client = getTaskApiClient(options);
142
145
  const labels = await client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/labels`, {
143
146
  cache: 'no-store',
144
147
  });
145
148
  return (labels ?? []).sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()));
146
149
  }
147
150
  async function listWorkspaceTaskDrafts(workspaceId, options, clientOptions) {
148
- const client = (0, client_1.getInternalApiClient)(clientOptions);
151
+ const client = getTaskApiClient(clientOptions);
149
152
  const payload = await client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-drafts`, {
150
153
  query: {
151
154
  boardId: options?.boardId,
@@ -156,14 +159,14 @@ async function listWorkspaceTaskDrafts(workspaceId, options, clientOptions) {
156
159
  return payload.data ?? [];
157
160
  }
158
161
  async function deleteWorkspaceTaskDraft(workspaceId, draftId, options) {
159
- const client = (0, client_1.getInternalApiClient)(options);
162
+ const client = getTaskApiClient(options);
160
163
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-drafts/${(0, client_1.encodePathSegment)(draftId)}`, {
161
164
  method: 'DELETE',
162
165
  cache: 'no-store',
163
166
  });
164
167
  }
165
168
  async function convertWorkspaceTaskDraft(workspaceId, draftId, payload, options) {
166
- const client = (0, client_1.getInternalApiClient)(options);
169
+ const client = getTaskApiClient(options);
167
170
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-drafts/${(0, client_1.encodePathSegment)(draftId)}/convert`, {
168
171
  method: 'POST',
169
172
  headers: {
@@ -174,7 +177,7 @@ async function convertWorkspaceTaskDraft(workspaceId, draftId, payload, options)
174
177
  });
175
178
  }
176
179
  async function createWorkspaceLabel(workspaceId, payload, options) {
177
- const client = (0, client_1.getInternalApiClient)(options);
180
+ const client = getTaskApiClient(options);
178
181
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/labels`, {
179
182
  method: 'POST',
180
183
  headers: {
@@ -185,7 +188,7 @@ async function createWorkspaceLabel(workspaceId, payload, options) {
185
188
  });
186
189
  }
187
190
  async function updateWorkspaceLabel(workspaceId, labelId, payload, options) {
188
- const client = (0, client_1.getInternalApiClient)(options);
191
+ const client = getTaskApiClient(options);
189
192
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/labels/${(0, client_1.encodePathSegment)(labelId)}`, {
190
193
  method: 'PATCH',
191
194
  headers: {
@@ -196,14 +199,14 @@ async function updateWorkspaceLabel(workspaceId, labelId, payload, options) {
196
199
  });
197
200
  }
198
201
  async function deleteWorkspaceLabel(workspaceId, labelId, options) {
199
- const client = (0, client_1.getInternalApiClient)(options);
202
+ const client = getTaskApiClient(options);
200
203
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/labels/${(0, client_1.encodePathSegment)(labelId)}`, {
201
204
  method: 'DELETE',
202
205
  cache: 'no-store',
203
206
  });
204
207
  }
205
208
  async function listWorkspaceTaskBoards(workspaceId, options, clientOptions) {
206
- const client = (0, client_1.getInternalApiClient)(clientOptions);
209
+ const client = getTaskApiClient(clientOptions);
207
210
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards`, {
208
211
  query: {
209
212
  q: options?.q,
@@ -215,13 +218,13 @@ async function listWorkspaceTaskBoards(workspaceId, options, clientOptions) {
215
218
  });
216
219
  }
217
220
  async function listCurrentUserTaskBoards(options) {
218
- const client = (0, client_1.getInternalApiClient)(options);
221
+ const client = getTaskApiClient(options);
219
222
  return client.json('/api/v1/users/me/task-boards', {
220
223
  cache: 'no-store',
221
224
  });
222
225
  }
223
226
  async function getWorkspaceBoardsData(workspaceId, options, clientOptions) {
224
- const client = (0, client_1.getInternalApiClient)(clientOptions);
227
+ const client = getTaskApiClient(clientOptions);
225
228
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/boards-data`, {
226
229
  query: {
227
230
  q: options?.q,
@@ -232,19 +235,19 @@ async function getWorkspaceBoardsData(workspaceId, options, clientOptions) {
232
235
  });
233
236
  }
234
237
  async function listWorkspaceBoards(workspaceId, options) {
235
- const client = (0, client_1.getInternalApiClient)(options);
238
+ const client = getTaskApiClient(options);
236
239
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/boards`, {
237
240
  cache: 'no-store',
238
241
  });
239
242
  }
240
243
  async function listWorkspaceBoardsWithLists(workspaceId, options) {
241
- const client = (0, client_1.getInternalApiClient)(options);
244
+ const client = getTaskApiClient(options);
242
245
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/boards-with-lists`, {
243
246
  cache: 'no-store',
244
247
  });
245
248
  }
246
249
  async function createWorkspaceTaskBoard(workspaceId, payload, options) {
247
- const client = (0, client_1.getInternalApiClient)(options);
250
+ const client = getTaskApiClient(options);
248
251
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards`, {
249
252
  method: 'POST',
250
253
  headers: {
@@ -255,19 +258,19 @@ async function createWorkspaceTaskBoard(workspaceId, payload, options) {
255
258
  });
256
259
  }
257
260
  async function getWorkspaceTaskBoard(workspaceId, boardId, options) {
258
- const client = (0, client_1.getInternalApiClient)(options);
261
+ const client = getTaskApiClient(options);
259
262
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}`, {
260
263
  cache: 'no-store',
261
264
  });
262
265
  }
263
266
  async function listWorkspaceTaskBoardShares(workspaceId, boardId, options) {
264
- const client = (0, client_1.getInternalApiClient)(options);
267
+ const client = getTaskApiClient(options);
265
268
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/shares`, {
266
269
  cache: 'no-store',
267
270
  });
268
271
  }
269
272
  async function createWorkspaceTaskBoardShare(workspaceId, boardId, payload, options) {
270
- const client = (0, client_1.getInternalApiClient)(options);
273
+ const client = getTaskApiClient(options);
271
274
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/shares`, {
272
275
  method: 'POST',
273
276
  headers: {
@@ -278,7 +281,7 @@ async function createWorkspaceTaskBoardShare(workspaceId, boardId, payload, opti
278
281
  });
279
282
  }
280
283
  async function updateWorkspaceTaskBoardShare(workspaceId, boardId, payload, options) {
281
- const client = (0, client_1.getInternalApiClient)(options);
284
+ const client = getTaskApiClient(options);
282
285
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/shares`, {
283
286
  method: 'PATCH',
284
287
  headers: {
@@ -289,7 +292,7 @@ async function updateWorkspaceTaskBoardShare(workspaceId, boardId, payload, opti
289
292
  });
290
293
  }
291
294
  async function deleteWorkspaceTaskBoardShare(workspaceId, boardId, shareId, options) {
292
- const client = (0, client_1.getInternalApiClient)(options);
295
+ const client = getTaskApiClient(options);
293
296
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/shares`, {
294
297
  method: 'DELETE',
295
298
  query: { shareId },
@@ -297,39 +300,39 @@ async function deleteWorkspaceTaskBoardShare(workspaceId, boardId, shareId, opti
297
300
  });
298
301
  }
299
302
  async function listWorkspaceTaskBoardViewableMembers(workspaceId, boardId, options) {
300
- const client = (0, client_1.getInternalApiClient)(options);
303
+ const client = getTaskApiClient(options);
301
304
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/viewable-members`, {
302
305
  cache: 'no-store',
303
306
  });
304
307
  }
305
308
  async function getWorkspaceTaskBoardPublicLink(workspaceId, boardId, options) {
306
- const client = (0, client_1.getInternalApiClient)(options);
309
+ const client = getTaskApiClient(options);
307
310
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/public-link`, {
308
311
  cache: 'no-store',
309
312
  });
310
313
  }
311
314
  async function enableWorkspaceTaskBoardPublicLink(workspaceId, boardId, options) {
312
- const client = (0, client_1.getInternalApiClient)(options);
315
+ const client = getTaskApiClient(options);
313
316
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/public-link`, {
314
317
  method: 'POST',
315
318
  cache: 'no-store',
316
319
  });
317
320
  }
318
321
  async function disableWorkspaceTaskBoardPublicLink(workspaceId, boardId, options) {
319
- const client = (0, client_1.getInternalApiClient)(options);
322
+ const client = getTaskApiClient(options);
320
323
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/public-link`, {
321
324
  method: 'DELETE',
322
325
  cache: 'no-store',
323
326
  });
324
327
  }
325
328
  async function getPublicTaskBoard(code, options) {
326
- const client = (0, client_1.getInternalApiClient)(options);
329
+ const client = getTaskApiClient(options);
327
330
  return client.json(`/api/v1/shared/task-boards/${(0, client_1.encodePathSegment)(code)}`, {
328
331
  cache: 'no-store',
329
332
  });
330
333
  }
331
334
  async function updateWorkspaceTaskBoard(workspaceId, boardId, payload, options) {
332
- const client = (0, client_1.getInternalApiClient)(options);
335
+ const client = getTaskApiClient(options);
333
336
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}`, {
334
337
  method: 'PUT',
335
338
  headers: {
@@ -340,7 +343,7 @@ async function updateWorkspaceTaskBoard(workspaceId, boardId, payload, options)
340
343
  });
341
344
  }
342
345
  async function updateWorkspaceTaskBoardEstimation(workspaceId, boardId, payload, options) {
343
- const client = (0, client_1.getInternalApiClient)(options);
346
+ const client = getTaskApiClient(options);
344
347
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/boards/${(0, client_1.encodePathSegment)(boardId)}/estimation`, {
345
348
  method: 'PATCH',
346
349
  headers: {
@@ -351,7 +354,7 @@ async function updateWorkspaceTaskBoardEstimation(workspaceId, boardId, payload,
351
354
  });
352
355
  }
353
356
  async function deleteWorkspaceTaskBoard(workspaceId, boardId, options) {
354
- const client = (0, client_1.getInternalApiClient)(options);
357
+ const client = getTaskApiClient(options);
355
358
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}`, {
356
359
  method: 'DELETE',
357
360
  cache: 'no-store',
@@ -361,7 +364,7 @@ async function listWorkspaceTaskProjectsByIds(workspaceId, projectIds, options)
361
364
  if (projectIds.length === 0) {
362
365
  return [];
363
366
  }
364
- const client = (0, client_1.getInternalApiClient)(options);
367
+ const client = getTaskApiClient(options);
365
368
  const projects = await client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects`, {
366
369
  query: {
367
370
  compact: true,
@@ -383,7 +386,7 @@ async function listWorkspaceTaskProjectsByIds(workspaceId, projectIds, options)
383
386
  });
384
387
  }
385
388
  async function addWorkspaceTaskLabel(workspaceId, taskId, labelId, options) {
386
- const client = (0, client_1.getInternalApiClient)(options);
389
+ const client = getTaskApiClient(options);
387
390
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/labels`, {
388
391
  method: 'POST',
389
392
  headers: {
@@ -394,7 +397,7 @@ async function addWorkspaceTaskLabel(workspaceId, taskId, labelId, options) {
394
397
  });
395
398
  }
396
399
  async function removeWorkspaceTaskLabel(workspaceId, taskId, labelId, options) {
397
- const client = (0, client_1.getInternalApiClient)(options);
400
+ const client = getTaskApiClient(options);
398
401
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/labels`, {
399
402
  method: 'DELETE',
400
403
  headers: {
@@ -405,13 +408,13 @@ async function removeWorkspaceTaskLabel(workspaceId, taskId, labelId, options) {
405
408
  });
406
409
  }
407
410
  async function getWorkspaceTaskRelationships(workspaceId, taskId, options) {
408
- const client = (0, client_1.getInternalApiClient)(options);
411
+ const client = getTaskApiClient(options);
409
412
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/relationships`, {
410
413
  cache: 'no-store',
411
414
  });
412
415
  }
413
416
  async function listWorkspaceTasks(workspaceId, options, clientOptions) {
414
- const client = (0, client_1.getInternalApiClient)(clientOptions);
417
+ const client = getTaskApiClient(clientOptions);
415
418
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks`, {
416
419
  query: {
417
420
  boardId: options?.boardId,
@@ -456,7 +459,7 @@ async function listWorkspaceTasks(workspaceId, options, clientOptions) {
456
459
  });
457
460
  }
458
461
  async function searchWorkspaceTasks(workspaceId, payload, options) {
459
- const client = (0, client_1.getInternalApiClient)(options);
462
+ const client = getTaskApiClient(options);
460
463
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/search`, {
461
464
  method: 'POST',
462
465
  headers: {
@@ -467,13 +470,13 @@ async function searchWorkspaceTasks(workspaceId, payload, options) {
467
470
  });
468
471
  }
469
472
  async function listTaskBoardStatusTemplates(options) {
470
- const client = (0, client_1.getInternalApiClient)(options);
473
+ const client = getTaskApiClient(options);
471
474
  return client.json('/api/v1/task-board-status-templates', {
472
475
  cache: 'no-store',
473
476
  });
474
477
  }
475
478
  async function getWorkspaceTask(workspaceId, taskId, options) {
476
- const client = (0, client_1.getInternalApiClient)(options);
479
+ const client = getTaskApiClient(options);
477
480
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}`, {
478
481
  cache: 'no-store',
479
482
  });
@@ -482,13 +485,13 @@ function workspaceTaskDescriptionPath(workspaceId, taskId) {
482
485
  return `/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/description`;
483
486
  }
484
487
  async function getWorkspaceTaskDescription(workspaceId, taskId, options) {
485
- const client = (0, client_1.getInternalApiClient)(options);
488
+ const client = getTaskApiClient(options);
486
489
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
487
490
  cache: 'no-store',
488
491
  });
489
492
  }
490
493
  async function updateWorkspaceTaskDescription(workspaceId, taskId, payload, options) {
491
- const client = (0, client_1.getInternalApiClient)(options);
494
+ const client = getTaskApiClient(options);
492
495
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
493
496
  method: 'PATCH',
494
497
  headers: {
@@ -499,7 +502,7 @@ async function updateWorkspaceTaskDescription(workspaceId, taskId, payload, opti
499
502
  });
500
503
  }
501
504
  async function beginWorkspaceTaskDescriptionChunks(workspaceId, taskId, fields, options) {
502
- const client = (0, client_1.getInternalApiClient)(options);
505
+ const client = getTaskApiClient(options);
503
506
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
504
507
  method: 'PATCH',
505
508
  headers: {
@@ -510,7 +513,7 @@ async function beginWorkspaceTaskDescriptionChunks(workspaceId, taskId, fields,
510
513
  });
511
514
  }
512
515
  async function appendWorkspaceTaskDescriptionChunk(workspaceId, taskId, payload, options) {
513
- const client = (0, client_1.getInternalApiClient)(options);
516
+ const client = getTaskApiClient(options);
514
517
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
515
518
  method: 'PATCH',
516
519
  headers: {
@@ -521,7 +524,7 @@ async function appendWorkspaceTaskDescriptionChunk(workspaceId, taskId, payload,
521
524
  });
522
525
  }
523
526
  async function commitWorkspaceTaskDescriptionChunks(workspaceId, taskId, sessionId, options) {
524
- const client = (0, client_1.getInternalApiClient)(options);
527
+ const client = getTaskApiClient(options);
525
528
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
526
529
  method: 'PATCH',
527
530
  headers: {
@@ -532,7 +535,7 @@ async function commitWorkspaceTaskDescriptionChunks(workspaceId, taskId, session
532
535
  });
533
536
  }
534
537
  async function abortWorkspaceTaskDescriptionChunks(workspaceId, taskId, sessionId, options) {
535
- const client = (0, client_1.getInternalApiClient)(options);
538
+ const client = getTaskApiClient(options);
536
539
  return client.json(workspaceTaskDescriptionPath(workspaceId, taskId), {
537
540
  method: 'PATCH',
538
541
  headers: {
@@ -543,7 +546,7 @@ async function abortWorkspaceTaskDescriptionChunks(workspaceId, taskId, sessionI
543
546
  });
544
547
  }
545
548
  async function getCurrentUserTask(taskId, options) {
546
- const client = (0, client_1.getInternalApiClient)(options);
549
+ const client = getTaskApiClient(options);
547
550
  return client.json(`/api/v1/users/me/tasks/${(0, client_1.encodePathSegment)(taskId)}`, {
548
551
  cache: 'no-store',
549
552
  });
@@ -574,7 +577,7 @@ async function getTaskDialogHydration(taskId, hydrationOptions = {}, clientOptio
574
577
  };
575
578
  }
576
579
  async function upsertCurrentUserTaskPersonalPlacement(taskId, payload, options) {
577
- const client = (0, client_1.getInternalApiClient)(options);
580
+ const client = getTaskApiClient(options);
578
581
  return client.json(`/api/v1/users/me/tasks/${(0, client_1.encodePathSegment)(taskId)}/personal-placement`, {
579
582
  method: 'PUT',
580
583
  headers: {
@@ -585,21 +588,21 @@ async function upsertCurrentUserTaskPersonalPlacement(taskId, payload, options)
585
588
  });
586
589
  }
587
590
  async function removeCurrentUserTaskPersonalPlacement(taskId, options) {
588
- const client = (0, client_1.getInternalApiClient)(options);
591
+ const client = getTaskApiClient(options);
589
592
  return client.json(`/api/v1/users/me/tasks/${(0, client_1.encodePathSegment)(taskId)}/personal-placement`, {
590
593
  method: 'DELETE',
591
594
  cache: 'no-store',
592
595
  });
593
596
  }
594
597
  async function cleanupWorkspaceTaskMentions(workspaceId, taskId, options) {
595
- const client = (0, client_1.getInternalApiClient)(options);
598
+ const client = getTaskApiClient(options);
596
599
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/mentions/cleanup`, {
597
600
  method: 'POST',
598
601
  cache: 'no-store',
599
602
  });
600
603
  }
601
604
  async function createWorkspaceTask(workspaceId, payload, options) {
602
- const client = (0, client_1.getInternalApiClient)(options);
605
+ const client = getTaskApiClient(options);
603
606
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks`, {
604
607
  method: 'POST',
605
608
  headers: {
@@ -610,7 +613,7 @@ async function createWorkspaceTask(workspaceId, payload, options) {
610
613
  });
611
614
  }
612
615
  async function createWorkspaceTaskJournal(workspaceId, payload, options) {
613
- const client = (0, client_1.getInternalApiClient)(options);
616
+ const client = getTaskApiClient(options);
614
617
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/journal`, {
615
618
  method: 'POST',
616
619
  headers: {
@@ -621,7 +624,7 @@ async function createWorkspaceTaskJournal(workspaceId, payload, options) {
621
624
  });
622
625
  }
623
626
  async function createWorkspaceTaskSuggestions(workspaceId, payload, options) {
624
- const client = (0, client_1.getInternalApiClient)(options);
627
+ const client = getTaskApiClient(options);
625
628
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/suggestions`, {
626
629
  method: 'POST',
627
630
  headers: {
@@ -632,7 +635,7 @@ async function createWorkspaceTaskSuggestions(workspaceId, payload, options) {
632
635
  });
633
636
  }
634
637
  async function createWorkspaceTaskList(workspaceId, boardId, payload, options) {
635
- const client = (0, client_1.getInternalApiClient)(options);
638
+ const client = getTaskApiClient(options);
636
639
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/lists`, {
637
640
  method: 'POST',
638
641
  headers: {
@@ -643,13 +646,13 @@ async function createWorkspaceTaskList(workspaceId, boardId, payload, options) {
643
646
  });
644
647
  }
645
648
  async function listWorkspaceTaskLists(workspaceId, boardId, options) {
646
- const client = (0, client_1.getInternalApiClient)(options);
649
+ const client = getTaskApiClient(options);
647
650
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/lists`, {
648
651
  cache: 'no-store',
649
652
  });
650
653
  }
651
654
  async function updateWorkspaceTaskList(workspaceId, boardId, listId, payload, options) {
652
- const client = (0, client_1.getInternalApiClient)(options);
655
+ const client = getTaskApiClient(options);
653
656
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-boards/${(0, client_1.encodePathSegment)(boardId)}/lists/${(0, client_1.encodePathSegment)(listId)}`, {
654
657
  method: 'PATCH',
655
658
  headers: {
@@ -660,7 +663,7 @@ async function updateWorkspaceTaskList(workspaceId, boardId, listId, payload, op
660
663
  });
661
664
  }
662
665
  async function updateWorkspaceTask(workspaceId, taskId, payload, options) {
663
- const client = (0, client_1.getInternalApiClient)(options);
666
+ const client = getTaskApiClient(options);
664
667
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}`, {
665
668
  method: 'PUT',
666
669
  headers: {
@@ -671,21 +674,21 @@ async function updateWorkspaceTask(workspaceId, taskId, payload, options) {
671
674
  });
672
675
  }
673
676
  async function deleteWorkspaceTask(workspaceId, taskId, options) {
674
- const client = (0, client_1.getInternalApiClient)(options);
677
+ const client = getTaskApiClient(options);
675
678
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}`, {
676
679
  method: 'DELETE',
677
680
  cache: 'no-store',
678
681
  });
679
682
  }
680
683
  async function triggerWorkspaceTaskEmbedding(workspaceId, taskId, options) {
681
- const client = (0, client_1.getInternalApiClient)(options);
684
+ const client = getTaskApiClient(options);
682
685
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/embedding`, {
683
686
  method: 'POST',
684
687
  cache: 'no-store',
685
688
  });
686
689
  }
687
690
  async function moveWorkspaceTask(workspaceId, taskId, payload, options) {
688
- const client = (0, client_1.getInternalApiClient)(options);
691
+ const client = getTaskApiClient(options);
689
692
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/move`, {
690
693
  method: 'POST',
691
694
  headers: {
@@ -696,7 +699,7 @@ async function moveWorkspaceTask(workspaceId, taskId, payload, options) {
696
699
  });
697
700
  }
698
701
  async function bulkWorkspaceTasks(workspaceId, payload, options) {
699
- const client = (0, client_1.getInternalApiClient)(options);
702
+ const client = getTaskApiClient(options);
700
703
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/bulk`, {
701
704
  method: 'POST',
702
705
  headers: {
@@ -707,7 +710,7 @@ async function bulkWorkspaceTasks(workspaceId, payload, options) {
707
710
  });
708
711
  }
709
712
  async function createWorkspaceTaskRelationship(workspaceId, taskId, payload, options) {
710
- const client = (0, client_1.getInternalApiClient)(options);
713
+ const client = getTaskApiClient(options);
711
714
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/relationships`, {
712
715
  method: 'POST',
713
716
  headers: {
@@ -718,7 +721,7 @@ async function createWorkspaceTaskRelationship(workspaceId, taskId, payload, opt
718
721
  });
719
722
  }
720
723
  async function deleteWorkspaceTaskRelationship(workspaceId, taskId, payload, options) {
721
- const client = (0, client_1.getInternalApiClient)(options);
724
+ const client = getTaskApiClient(options);
722
725
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/relationships`, {
723
726
  method: 'DELETE',
724
727
  headers: {
@@ -729,7 +732,7 @@ async function deleteWorkspaceTaskRelationship(workspaceId, taskId, payload, opt
729
732
  });
730
733
  }
731
734
  async function createWorkspaceTaskProject(workspaceId, payload, options) {
732
- const client = (0, client_1.getInternalApiClient)(options);
735
+ const client = getTaskApiClient(options);
733
736
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects`, {
734
737
  method: 'POST',
735
738
  headers: {
@@ -740,7 +743,7 @@ async function createWorkspaceTaskProject(workspaceId, payload, options) {
740
743
  });
741
744
  }
742
745
  async function updateWorkspaceTaskProject(workspaceId, projectId, payload, options) {
743
- const client = (0, client_1.getInternalApiClient)(options);
746
+ const client = getTaskApiClient(options);
744
747
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}`, {
745
748
  method: 'PUT',
746
749
  headers: {
@@ -751,20 +754,20 @@ async function updateWorkspaceTaskProject(workspaceId, projectId, payload, optio
751
754
  });
752
755
  }
753
756
  async function deleteWorkspaceTaskProject(workspaceId, projectId, options) {
754
- const client = (0, client_1.getInternalApiClient)(options);
757
+ const client = getTaskApiClient(options);
755
758
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}`, {
756
759
  method: 'DELETE',
757
760
  cache: 'no-store',
758
761
  });
759
762
  }
760
763
  async function listWorkspaceTaskInitiatives(workspaceId, options) {
761
- const client = (0, client_1.getInternalApiClient)(options);
764
+ const client = getTaskApiClient(options);
762
765
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives`, {
763
766
  cache: 'no-store',
764
767
  });
765
768
  }
766
769
  async function createWorkspaceTaskInitiative(workspaceId, payload, options) {
767
- const client = (0, client_1.getInternalApiClient)(options);
770
+ const client = getTaskApiClient(options);
768
771
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives`, {
769
772
  method: 'POST',
770
773
  headers: {
@@ -775,7 +778,7 @@ async function createWorkspaceTaskInitiative(workspaceId, payload, options) {
775
778
  });
776
779
  }
777
780
  async function updateWorkspaceTaskInitiative(workspaceId, initiativeId, payload, options) {
778
- const client = (0, client_1.getInternalApiClient)(options);
781
+ const client = getTaskApiClient(options);
779
782
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives/${(0, client_1.encodePathSegment)(initiativeId)}`, {
780
783
  method: 'PUT',
781
784
  headers: {
@@ -786,14 +789,14 @@ async function updateWorkspaceTaskInitiative(workspaceId, initiativeId, payload,
786
789
  });
787
790
  }
788
791
  async function deleteWorkspaceTaskInitiative(workspaceId, initiativeId, options) {
789
- const client = (0, client_1.getInternalApiClient)(options);
792
+ const client = getTaskApiClient(options);
790
793
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives/${(0, client_1.encodePathSegment)(initiativeId)}`, {
791
794
  method: 'DELETE',
792
795
  cache: 'no-store',
793
796
  });
794
797
  }
795
798
  async function linkWorkspaceTaskInitiativeProject(workspaceId, initiativeId, projectId, options) {
796
- const client = (0, client_1.getInternalApiClient)(options);
799
+ const client = getTaskApiClient(options);
797
800
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives/${(0, client_1.encodePathSegment)(initiativeId)}/projects`, {
798
801
  method: 'POST',
799
802
  headers: {
@@ -804,14 +807,14 @@ async function linkWorkspaceTaskInitiativeProject(workspaceId, initiativeId, pro
804
807
  });
805
808
  }
806
809
  async function unlinkWorkspaceTaskInitiativeProject(workspaceId, initiativeId, projectId, options) {
807
- const client = (0, client_1.getInternalApiClient)(options);
810
+ const client = getTaskApiClient(options);
808
811
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-initiatives/${(0, client_1.encodePathSegment)(initiativeId)}/projects/${(0, client_1.encodePathSegment)(projectId)}`, {
809
812
  method: 'DELETE',
810
813
  cache: 'no-store',
811
814
  });
812
815
  }
813
816
  async function linkWorkspaceTaskProjectTask(workspaceId, projectId, taskId, options) {
814
- const client = (0, client_1.getInternalApiClient)(options);
817
+ const client = getTaskApiClient(options);
815
818
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}/tasks`, {
816
819
  method: 'POST',
817
820
  headers: {
@@ -822,14 +825,14 @@ async function linkWorkspaceTaskProjectTask(workspaceId, projectId, taskId, opti
822
825
  });
823
826
  }
824
827
  async function unlinkWorkspaceTaskProjectTask(workspaceId, projectId, taskId, options) {
825
- const client = (0, client_1.getInternalApiClient)(options);
828
+ const client = getTaskApiClient(options);
826
829
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}`, {
827
830
  method: 'DELETE',
828
831
  cache: 'no-store',
829
832
  });
830
833
  }
831
834
  async function listWorkspaceTaskHistory(workspaceId, options, clientOptions) {
832
- const client = (0, client_1.getInternalApiClient)(clientOptions);
835
+ const client = getTaskApiClient(clientOptions);
833
836
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/history`, {
834
837
  query: {
835
838
  page: options?.page,
@@ -843,7 +846,7 @@ async function listWorkspaceTaskHistory(workspaceId, options, clientOptions) {
843
846
  });
844
847
  }
845
848
  async function getWorkspaceTaskHistory(workspaceId, taskId, options, clientOptions) {
846
- const client = (0, client_1.getInternalApiClient)(clientOptions);
849
+ const client = getTaskApiClient(clientOptions);
847
850
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/${(0, client_1.encodePathSegment)(taskId)}/history`, {
848
851
  query: {
849
852
  limit: options?.limit,
@@ -855,7 +858,7 @@ async function getWorkspaceTaskHistory(workspaceId, taskId, options, clientOptio
855
858
  });
856
859
  }
857
860
  async function createWorkspaceTaskWithRelationship(workspaceId, payload, options) {
858
- const client = (0, client_1.getInternalApiClient)(options);
861
+ const client = getTaskApiClient(options);
859
862
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/tasks/with-relationship`, {
860
863
  method: 'POST',
861
864
  headers: {
@@ -866,7 +869,7 @@ async function createWorkspaceTaskWithRelationship(workspaceId, payload, options
866
869
  });
867
870
  }
868
871
  async function resolveTaskProjectWorkspaceId(input, options) {
869
- const client = (0, client_1.getInternalApiClient)(options);
872
+ const client = getTaskApiClient(options);
870
873
  const payload = await client.json('/api/v1/task-projects/resolve-workspace', {
871
874
  method: 'POST',
872
875
  headers: {
@@ -881,13 +884,13 @@ async function resolveTaskProjectWorkspaceId(input, options) {
881
884
  return payload.workspaceId ?? null;
882
885
  }
883
886
  async function getWorkspaceTaskProject(workspaceId, projectId, options) {
884
- const client = (0, client_1.getInternalApiClient)(options);
887
+ const client = getTaskApiClient(options);
885
888
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}`, {
886
889
  cache: 'no-store',
887
890
  });
888
891
  }
889
892
  async function getWorkspaceTaskProjectTasks(workspaceId, projectId, options) {
890
- const client = (0, client_1.getInternalApiClient)(options);
893
+ const client = getTaskApiClient(options);
891
894
  return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/task-projects/${(0, client_1.encodePathSegment)(projectId)}/tasks`, {
892
895
  cache: 'no-store',
893
896
  });
@@ -1 +1 @@
1
- {"version":3,"file":"time-tracking.d.ts","sourceRoot":"","sources":["../src/time-tracking.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAEjE,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,6BAA6B;I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