dart-tools 0.4.0 → 0.4.2
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.d.ts +6 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -15
- package/dist/index.umd.js +62 -14
- package/dist/models/Attachment.d.ts +10 -0
- package/dist/models/Attachment.js +3 -0
- package/dist/models/Attachment.js.map +1 -0
- package/dist/models/ConciseTask.d.ts +1 -1
- package/dist/models/Dartboard.d.ts +0 -5
- package/dist/models/Folder.d.ts +0 -5
- package/dist/models/Skill.d.ts +14 -0
- package/dist/models/Skill.js +3 -0
- package/dist/models/Skill.js.map +1 -0
- package/dist/models/Task.d.ts +6 -1
- package/dist/models/TaskCreate.d.ts +1 -1
- package/dist/models/TaskRelationships.d.ts +5 -5
- package/dist/models/TaskUpdate.d.ts +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/UserSpaceConfiguration.d.ts +1 -0
- package/dist/models/View.d.ts +0 -5
- package/dist/models/WrappedHelpCenterArticles.d.ts +3 -0
- package/dist/models/WrappedHelpCenterArticles.js +3 -0
- package/dist/models/WrappedHelpCenterArticles.js.map +1 -0
- package/dist/models/WrappedSkill.d.ts +4 -0
- package/dist/models/WrappedSkill.js +3 -0
- package/dist/models/WrappedSkill.js.map +1 -0
- package/dist/services/CommentService.d.ts +5 -4
- package/dist/services/CommentService.js +4 -3
- package/dist/services/CommentService.js.map +1 -1
- package/dist/services/DartboardService.d.ts +2 -2
- package/dist/services/DartboardService.js +2 -2
- package/dist/services/DartboardService.js.map +1 -1
- package/dist/services/DocService.d.ts +2 -2
- package/dist/services/DocService.js +2 -2
- package/dist/services/DocService.js.map +1 -1
- package/dist/services/FolderService.d.ts +1 -1
- package/dist/services/FolderService.js +1 -1
- package/dist/services/FolderService.js.map +1 -1
- package/dist/services/HelpCenterArticleService.d.ts +12 -0
- package/dist/services/HelpCenterArticleService.js +25 -0
- package/dist/services/HelpCenterArticleService.js.map +1 -0
- package/dist/services/SkillService.d.ts +12 -0
- package/dist/services/SkillService.js +28 -0
- package/dist/services/SkillService.js.map +1 -0
- package/dist/services/TaskService.d.ts +8 -4
- package/dist/services/TaskService.js +8 -4
- package/dist/services/TaskService.js.map +1 -1
- package/dist/services/ViewService.d.ts +2 -2
- package/dist/services/ViewService.js +2 -2
- package/dist/services/ViewService.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { ApiError } from "./core/ApiError";
|
|
|
2
2
|
export { CancelablePromise, CancelError } from "./core/CancelablePromise";
|
|
3
3
|
export { OpenAPI } from "./core/OpenAPI";
|
|
4
4
|
export type { OpenAPIConfig } from "./core/OpenAPI";
|
|
5
|
+
export type { Attachment } from "./models/Attachment";
|
|
5
6
|
export type { Comment } from "./models/Comment";
|
|
6
7
|
export type { CommentCreate } from "./models/CommentCreate";
|
|
7
8
|
export type { ConciseDoc } from "./models/ConciseDoc";
|
|
@@ -17,6 +18,7 @@ export type { PaginatedCommentList } from "./models/PaginatedCommentList";
|
|
|
17
18
|
export type { PaginatedConciseDocList } from "./models/PaginatedConciseDocList";
|
|
18
19
|
export type { PaginatedConciseTaskList } from "./models/PaginatedConciseTaskList";
|
|
19
20
|
export { Priority } from "./models/Priority";
|
|
21
|
+
export type { Skill } from "./models/Skill";
|
|
20
22
|
export type { Task } from "./models/Task";
|
|
21
23
|
export type { TaskCreate } from "./models/TaskCreate";
|
|
22
24
|
export type { TaskRelationships } from "./models/TaskRelationships";
|
|
@@ -33,6 +35,8 @@ export type { WrappedDoc } from "./models/WrappedDoc";
|
|
|
33
35
|
export type { WrappedDocCreate } from "./models/WrappedDocCreate";
|
|
34
36
|
export type { WrappedDocUpdate } from "./models/WrappedDocUpdate";
|
|
35
37
|
export type { WrappedFolder } from "./models/WrappedFolder";
|
|
38
|
+
export type { WrappedHelpCenterArticles } from "./models/WrappedHelpCenterArticles";
|
|
39
|
+
export type { WrappedSkill } from "./models/WrappedSkill";
|
|
36
40
|
export type { WrappedTask } from "./models/WrappedTask";
|
|
37
41
|
export type { WrappedTaskCreate } from "./models/WrappedTaskCreate";
|
|
38
42
|
export type { WrappedTaskUpdate } from "./models/WrappedTaskUpdate";
|
|
@@ -42,5 +46,7 @@ export { ConfigService } from "./services/ConfigService";
|
|
|
42
46
|
export { DartboardService } from "./services/DartboardService";
|
|
43
47
|
export { DocService } from "./services/DocService";
|
|
44
48
|
export { FolderService } from "./services/FolderService";
|
|
49
|
+
export { HelpCenterArticleService } from "./services/HelpCenterArticleService";
|
|
50
|
+
export { SkillService } from "./services/SkillService";
|
|
45
51
|
export { TaskService } from "./services/TaskService";
|
|
46
52
|
export { ViewService } from "./services/ViewService";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ViewService = exports.TaskService = exports.FolderService = exports.DocService = exports.DartboardService = exports.ConfigService = exports.CommentService = exports.Priority = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
3
|
+
exports.ViewService = exports.TaskService = exports.SkillService = exports.HelpCenterArticleService = exports.FolderService = exports.DocService = exports.DartboardService = exports.ConfigService = exports.CommentService = exports.Priority = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
4
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
5
|
/* istanbul ignore file */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -24,6 +24,10 @@ var DocService_1 = require("./services/DocService");
|
|
|
24
24
|
Object.defineProperty(exports, "DocService", { enumerable: true, get: function () { return DocService_1.DocService; } });
|
|
25
25
|
var FolderService_1 = require("./services/FolderService");
|
|
26
26
|
Object.defineProperty(exports, "FolderService", { enumerable: true, get: function () { return FolderService_1.FolderService; } });
|
|
27
|
+
var HelpCenterArticleService_1 = require("./services/HelpCenterArticleService");
|
|
28
|
+
Object.defineProperty(exports, "HelpCenterArticleService", { enumerable: true, get: function () { return HelpCenterArticleService_1.HelpCenterArticleService; } });
|
|
29
|
+
var SkillService_1 = require("./services/SkillService");
|
|
30
|
+
Object.defineProperty(exports, "SkillService", { enumerable: true, get: function () { return SkillService_1.SkillService; } });
|
|
27
31
|
var TaskService_1 = require("./services/TaskService");
|
|
28
32
|
Object.defineProperty(exports, "TaskService", { enumerable: true, get: function () { return TaskService_1.TaskService; } });
|
|
29
33
|
var ViewService_1 = require("./services/ViewService");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../dart/generated/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../dart/generated/index.ts"],"names":[],"mappings":";;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAkBhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAyBjB,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,gEAA+D;AAAtD,oHAAA,gBAAgB,OAAA;AACzB,oDAAmD;AAA1C,wGAAA,UAAU,OAAA;AACnB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,gFAA+E;AAAtE,oIAAA,wBAAwB,OAAA;AACjC,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,sDAAqD;AAA5C,0GAAA,WAAW,OAAA;AACpB,sDAAqD;AAA5C,0GAAA,WAAW,OAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -456,7 +456,7 @@ class CommentService {
|
|
|
456
456
|
* @returns WrappedComment Success, including the created comment
|
|
457
457
|
* @throws ApiError
|
|
458
458
|
*/
|
|
459
|
-
static
|
|
459
|
+
static addTaskComment(requestBody) {
|
|
460
460
|
return request(OpenAPI, {
|
|
461
461
|
method: "POST",
|
|
462
462
|
url: "/comments",
|
|
@@ -468,11 +468,11 @@ class CommentService {
|
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
|
-
* List
|
|
471
|
+
* List comments for a task with filtering options. Filter by author, text content, or date range. Sort by date or hierarchical thread order. Task ID required. Supports pagination.
|
|
472
472
|
* @returns PaginatedCommentList
|
|
473
473
|
* @throws ApiError
|
|
474
474
|
*/
|
|
475
|
-
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
475
|
+
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAt, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
476
476
|
return request(OpenAPI, {
|
|
477
477
|
method: "GET",
|
|
478
478
|
url: "/comments/list",
|
|
@@ -484,6 +484,7 @@ class CommentService {
|
|
|
484
484
|
o: o,
|
|
485
485
|
offset: offset,
|
|
486
486
|
parent_id: parentId,
|
|
487
|
+
published_at: publishedAt,
|
|
487
488
|
published_at_after: publishedAtAfter,
|
|
488
489
|
published_at_before: publishedAtBefore,
|
|
489
490
|
task: task,
|
|
@@ -512,12 +513,12 @@ class ConfigService {
|
|
|
512
513
|
class DartboardService {
|
|
513
514
|
/**
|
|
514
515
|
* Retrieve an existing dartboard
|
|
515
|
-
* Retrieve an existing dartboard. This will return the dartboard's information, including the title
|
|
516
|
+
* Retrieve an existing dartboard. This will return the dartboard's information, including the title and description.
|
|
516
517
|
* @param id
|
|
517
518
|
* @returns WrappedDartboard Success, including the retrieved dartboard
|
|
518
519
|
* @throws ApiError
|
|
519
520
|
*/
|
|
520
|
-
static
|
|
521
|
+
static getDartboard(id) {
|
|
521
522
|
return request(OpenAPI, {
|
|
522
523
|
method: "GET",
|
|
523
524
|
url: "/dartboards/{id}",
|
|
@@ -558,7 +559,7 @@ class DocService {
|
|
|
558
559
|
* @returns WrappedDoc Success, including the retrieved doc
|
|
559
560
|
* @throws ApiError
|
|
560
561
|
*/
|
|
561
|
-
static
|
|
562
|
+
static getDoc(id) {
|
|
562
563
|
return request(OpenAPI, {
|
|
563
564
|
method: "GET",
|
|
564
565
|
url: "/docs/{id}",
|
|
@@ -615,7 +616,7 @@ class DocService {
|
|
|
615
616
|
});
|
|
616
617
|
}
|
|
617
618
|
/**
|
|
618
|
-
* List
|
|
619
|
+
* List docs with filtering and search capabilities. Filter by folder, title, text content, or use full-text search. Sort by creation/update date or title. Supports pagination.
|
|
619
620
|
* @returns PaginatedConciseDocList
|
|
620
621
|
* @throws ApiError
|
|
621
622
|
*/
|
|
@@ -647,7 +648,7 @@ class FolderService {
|
|
|
647
648
|
* @returns WrappedFolder Success, including the retrieved folder
|
|
648
649
|
* @throws ApiError
|
|
649
650
|
*/
|
|
650
|
-
static
|
|
651
|
+
static getFolder(id) {
|
|
651
652
|
return request(OpenAPI, {
|
|
652
653
|
method: "GET",
|
|
653
654
|
url: "/folders/{id}",
|
|
@@ -662,10 +663,51 @@ class FolderService {
|
|
|
662
663
|
}
|
|
663
664
|
}
|
|
664
665
|
|
|
666
|
+
class HelpCenterArticleService {
|
|
667
|
+
/**
|
|
668
|
+
* List help center articles by query
|
|
669
|
+
* Search for up to two help center articles by their semantic similarity to a short (1-5 word) query.
|
|
670
|
+
* @param query The search query (1-5 words) to find relevant help articles
|
|
671
|
+
* @returns WrappedHelpCenterArticles
|
|
672
|
+
* @throws ApiError
|
|
673
|
+
*/
|
|
674
|
+
static listHelpCenterArticles(query) {
|
|
675
|
+
return request(OpenAPI, {
|
|
676
|
+
method: "GET",
|
|
677
|
+
url: "/help-center-articles/list",
|
|
678
|
+
query: {
|
|
679
|
+
query: query,
|
|
680
|
+
},
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
class SkillService {
|
|
686
|
+
/**
|
|
687
|
+
* Retrieve a skill by title
|
|
688
|
+
* Retrieve a skill by its title. Skills are user-defined instructions or templates for performing specific task types in the workspace. Returns the skill's title and instructions if found.
|
|
689
|
+
* @param title The title of the skill to retrieve
|
|
690
|
+
* @returns WrappedSkill Success, including the retrieved skill
|
|
691
|
+
* @throws ApiError
|
|
692
|
+
*/
|
|
693
|
+
static retrieveSkillByTitle(title) {
|
|
694
|
+
return request(OpenAPI, {
|
|
695
|
+
method: "GET",
|
|
696
|
+
url: "/skills/by-title",
|
|
697
|
+
query: {
|
|
698
|
+
title: title,
|
|
699
|
+
},
|
|
700
|
+
errors: {
|
|
701
|
+
404: `Skill not found`,
|
|
702
|
+
},
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
665
707
|
class TaskService {
|
|
666
708
|
/**
|
|
667
709
|
* Create a new task
|
|
668
|
-
* Record a new task that the user intends to do.
|
|
710
|
+
* Record a new task that the user intends to do. By default the task will be assigned to the current user, have an unstarted status, have no parent, and be in the default dartboard. More information can be included in the description.
|
|
669
711
|
* @param requestBody
|
|
670
712
|
* @returns WrappedTask
|
|
671
713
|
* @throws ApiError
|
|
@@ -685,7 +727,7 @@ class TaskService {
|
|
|
685
727
|
* @returns WrappedTask Success, including the retrieved task
|
|
686
728
|
* @throws ApiError
|
|
687
729
|
*/
|
|
688
|
-
static
|
|
730
|
+
static getTask(id) {
|
|
689
731
|
return request(OpenAPI, {
|
|
690
732
|
method: "GET",
|
|
691
733
|
url: "/tasks/{id}",
|
|
@@ -742,11 +784,11 @@ class TaskService {
|
|
|
742
784
|
});
|
|
743
785
|
}
|
|
744
786
|
/**
|
|
745
|
-
* List
|
|
787
|
+
* List tasks with powerful filtering options. Filter by dartboard, status, assignee, tags, priority, dates, completion state, view, and more. Supports pagination with limit/offset.
|
|
746
788
|
* @returns PaginatedConciseTaskList
|
|
747
789
|
* @throws ApiError
|
|
748
790
|
*/
|
|
749
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, }) {
|
|
791
|
+
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
750
792
|
return request(OpenAPI, {
|
|
751
793
|
method: "GET",
|
|
752
794
|
url: "/tasks/list",
|
|
@@ -756,6 +798,7 @@ class TaskService {
|
|
|
756
798
|
dartboard: dartboard,
|
|
757
799
|
dartboard_id: dartboardId,
|
|
758
800
|
description: description,
|
|
801
|
+
due_at: dueAt,
|
|
759
802
|
due_at_after: dueAtAfter,
|
|
760
803
|
due_at_before: dueAtBefore,
|
|
761
804
|
ids: ids,
|
|
@@ -766,6 +809,7 @@ class TaskService {
|
|
|
766
809
|
parent_id: parentId,
|
|
767
810
|
priority: priority,
|
|
768
811
|
size: size,
|
|
812
|
+
start_at: startAt,
|
|
769
813
|
start_at_after: startAtAfter,
|
|
770
814
|
start_at_before: startAtBefore,
|
|
771
815
|
status: status,
|
|
@@ -775,6 +819,8 @@ class TaskService {
|
|
|
775
819
|
title: title,
|
|
776
820
|
type: type,
|
|
777
821
|
type_id: typeId,
|
|
822
|
+
view: view,
|
|
823
|
+
view_id: viewId,
|
|
778
824
|
},
|
|
779
825
|
});
|
|
780
826
|
}
|
|
@@ -783,12 +829,12 @@ class TaskService {
|
|
|
783
829
|
class ViewService {
|
|
784
830
|
/**
|
|
785
831
|
* Retrieve an existing view
|
|
786
|
-
* Retrieve an existing view. This will return the view's information, including the title, description,
|
|
832
|
+
* Retrieve an existing view. This will return the view's information, including the title, description, and others.
|
|
787
833
|
* @param id
|
|
788
834
|
* @returns WrappedView Success, including the retrieved view
|
|
789
835
|
* @throws ApiError
|
|
790
836
|
*/
|
|
791
|
-
static
|
|
837
|
+
static getView(id) {
|
|
792
838
|
return request(OpenAPI, {
|
|
793
839
|
method: "GET",
|
|
794
840
|
url: "/views/{id}",
|
|
@@ -803,4 +849,4 @@ class ViewService {
|
|
|
803
849
|
}
|
|
804
850
|
}
|
|
805
851
|
|
|
806
|
-
export { ApiError, CancelError, CancelablePromise, CommentService, ConfigService, DartboardService, DocService, FolderService, OpenAPI, Priority, TaskService, ViewService };
|
|
852
|
+
export { ApiError, CancelError, CancelablePromise, CommentService, ConfigService, DartboardService, DocService, FolderService, HelpCenterArticleService, OpenAPI, Priority, SkillService, TaskService, ViewService };
|
package/dist/index.umd.js
CHANGED
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
* @returns WrappedComment Success, including the created comment
|
|
460
460
|
* @throws ApiError
|
|
461
461
|
*/
|
|
462
|
-
static
|
|
462
|
+
static addTaskComment(requestBody) {
|
|
463
463
|
return request(OpenAPI, {
|
|
464
464
|
method: "POST",
|
|
465
465
|
url: "/comments",
|
|
@@ -471,11 +471,11 @@
|
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
/**
|
|
474
|
-
* List
|
|
474
|
+
* List comments for a task with filtering options. Filter by author, text content, or date range. Sort by date or hierarchical thread order. Task ID required. Supports pagination.
|
|
475
475
|
* @returns PaginatedCommentList
|
|
476
476
|
* @throws ApiError
|
|
477
477
|
*/
|
|
478
|
-
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
478
|
+
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAt, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
479
479
|
return request(OpenAPI, {
|
|
480
480
|
method: "GET",
|
|
481
481
|
url: "/comments/list",
|
|
@@ -487,6 +487,7 @@
|
|
|
487
487
|
o: o,
|
|
488
488
|
offset: offset,
|
|
489
489
|
parent_id: parentId,
|
|
490
|
+
published_at: publishedAt,
|
|
490
491
|
published_at_after: publishedAtAfter,
|
|
491
492
|
published_at_before: publishedAtBefore,
|
|
492
493
|
task: task,
|
|
@@ -515,12 +516,12 @@
|
|
|
515
516
|
class DartboardService {
|
|
516
517
|
/**
|
|
517
518
|
* Retrieve an existing dartboard
|
|
518
|
-
* Retrieve an existing dartboard. This will return the dartboard's information, including the title
|
|
519
|
+
* Retrieve an existing dartboard. This will return the dartboard's information, including the title and description.
|
|
519
520
|
* @param id
|
|
520
521
|
* @returns WrappedDartboard Success, including the retrieved dartboard
|
|
521
522
|
* @throws ApiError
|
|
522
523
|
*/
|
|
523
|
-
static
|
|
524
|
+
static getDartboard(id) {
|
|
524
525
|
return request(OpenAPI, {
|
|
525
526
|
method: "GET",
|
|
526
527
|
url: "/dartboards/{id}",
|
|
@@ -561,7 +562,7 @@
|
|
|
561
562
|
* @returns WrappedDoc Success, including the retrieved doc
|
|
562
563
|
* @throws ApiError
|
|
563
564
|
*/
|
|
564
|
-
static
|
|
565
|
+
static getDoc(id) {
|
|
565
566
|
return request(OpenAPI, {
|
|
566
567
|
method: "GET",
|
|
567
568
|
url: "/docs/{id}",
|
|
@@ -618,7 +619,7 @@
|
|
|
618
619
|
});
|
|
619
620
|
}
|
|
620
621
|
/**
|
|
621
|
-
* List
|
|
622
|
+
* List docs with filtering and search capabilities. Filter by folder, title, text content, or use full-text search. Sort by creation/update date or title. Supports pagination.
|
|
622
623
|
* @returns PaginatedConciseDocList
|
|
623
624
|
* @throws ApiError
|
|
624
625
|
*/
|
|
@@ -650,7 +651,7 @@
|
|
|
650
651
|
* @returns WrappedFolder Success, including the retrieved folder
|
|
651
652
|
* @throws ApiError
|
|
652
653
|
*/
|
|
653
|
-
static
|
|
654
|
+
static getFolder(id) {
|
|
654
655
|
return request(OpenAPI, {
|
|
655
656
|
method: "GET",
|
|
656
657
|
url: "/folders/{id}",
|
|
@@ -665,10 +666,51 @@
|
|
|
665
666
|
}
|
|
666
667
|
}
|
|
667
668
|
|
|
669
|
+
class HelpCenterArticleService {
|
|
670
|
+
/**
|
|
671
|
+
* List help center articles by query
|
|
672
|
+
* Search for up to two help center articles by their semantic similarity to a short (1-5 word) query.
|
|
673
|
+
* @param query The search query (1-5 words) to find relevant help articles
|
|
674
|
+
* @returns WrappedHelpCenterArticles
|
|
675
|
+
* @throws ApiError
|
|
676
|
+
*/
|
|
677
|
+
static listHelpCenterArticles(query) {
|
|
678
|
+
return request(OpenAPI, {
|
|
679
|
+
method: "GET",
|
|
680
|
+
url: "/help-center-articles/list",
|
|
681
|
+
query: {
|
|
682
|
+
query: query,
|
|
683
|
+
},
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
class SkillService {
|
|
689
|
+
/**
|
|
690
|
+
* Retrieve a skill by title
|
|
691
|
+
* Retrieve a skill by its title. Skills are user-defined instructions or templates for performing specific task types in the workspace. Returns the skill's title and instructions if found.
|
|
692
|
+
* @param title The title of the skill to retrieve
|
|
693
|
+
* @returns WrappedSkill Success, including the retrieved skill
|
|
694
|
+
* @throws ApiError
|
|
695
|
+
*/
|
|
696
|
+
static retrieveSkillByTitle(title) {
|
|
697
|
+
return request(OpenAPI, {
|
|
698
|
+
method: "GET",
|
|
699
|
+
url: "/skills/by-title",
|
|
700
|
+
query: {
|
|
701
|
+
title: title,
|
|
702
|
+
},
|
|
703
|
+
errors: {
|
|
704
|
+
404: `Skill not found`,
|
|
705
|
+
},
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
668
710
|
class TaskService {
|
|
669
711
|
/**
|
|
670
712
|
* Create a new task
|
|
671
|
-
* Record a new task that the user intends to do.
|
|
713
|
+
* Record a new task that the user intends to do. By default the task will be assigned to the current user, have an unstarted status, have no parent, and be in the default dartboard. More information can be included in the description.
|
|
672
714
|
* @param requestBody
|
|
673
715
|
* @returns WrappedTask
|
|
674
716
|
* @throws ApiError
|
|
@@ -688,7 +730,7 @@
|
|
|
688
730
|
* @returns WrappedTask Success, including the retrieved task
|
|
689
731
|
* @throws ApiError
|
|
690
732
|
*/
|
|
691
|
-
static
|
|
733
|
+
static getTask(id) {
|
|
692
734
|
return request(OpenAPI, {
|
|
693
735
|
method: "GET",
|
|
694
736
|
url: "/tasks/{id}",
|
|
@@ -745,11 +787,11 @@
|
|
|
745
787
|
});
|
|
746
788
|
}
|
|
747
789
|
/**
|
|
748
|
-
* List
|
|
790
|
+
* List tasks with powerful filtering options. Filter by dartboard, status, assignee, tags, priority, dates, completion state, view, and more. Supports pagination with limit/offset.
|
|
749
791
|
* @returns PaginatedConciseTaskList
|
|
750
792
|
* @throws ApiError
|
|
751
793
|
*/
|
|
752
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, }) {
|
|
794
|
+
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
753
795
|
return request(OpenAPI, {
|
|
754
796
|
method: "GET",
|
|
755
797
|
url: "/tasks/list",
|
|
@@ -759,6 +801,7 @@
|
|
|
759
801
|
dartboard: dartboard,
|
|
760
802
|
dartboard_id: dartboardId,
|
|
761
803
|
description: description,
|
|
804
|
+
due_at: dueAt,
|
|
762
805
|
due_at_after: dueAtAfter,
|
|
763
806
|
due_at_before: dueAtBefore,
|
|
764
807
|
ids: ids,
|
|
@@ -769,6 +812,7 @@
|
|
|
769
812
|
parent_id: parentId,
|
|
770
813
|
priority: priority,
|
|
771
814
|
size: size,
|
|
815
|
+
start_at: startAt,
|
|
772
816
|
start_at_after: startAtAfter,
|
|
773
817
|
start_at_before: startAtBefore,
|
|
774
818
|
status: status,
|
|
@@ -778,6 +822,8 @@
|
|
|
778
822
|
title: title,
|
|
779
823
|
type: type,
|
|
780
824
|
type_id: typeId,
|
|
825
|
+
view: view,
|
|
826
|
+
view_id: viewId,
|
|
781
827
|
},
|
|
782
828
|
});
|
|
783
829
|
}
|
|
@@ -786,12 +832,12 @@
|
|
|
786
832
|
class ViewService {
|
|
787
833
|
/**
|
|
788
834
|
* Retrieve an existing view
|
|
789
|
-
* Retrieve an existing view. This will return the view's information, including the title, description,
|
|
835
|
+
* Retrieve an existing view. This will return the view's information, including the title, description, and others.
|
|
790
836
|
* @param id
|
|
791
837
|
* @returns WrappedView Success, including the retrieved view
|
|
792
838
|
* @throws ApiError
|
|
793
839
|
*/
|
|
794
|
-
static
|
|
840
|
+
static getView(id) {
|
|
795
841
|
return request(OpenAPI, {
|
|
796
842
|
method: "GET",
|
|
797
843
|
url: "/views/{id}",
|
|
@@ -814,7 +860,9 @@
|
|
|
814
860
|
exports.DartboardService = DartboardService;
|
|
815
861
|
exports.DocService = DocService;
|
|
816
862
|
exports.FolderService = FolderService;
|
|
863
|
+
exports.HelpCenterArticleService = HelpCenterArticleService;
|
|
817
864
|
exports.OpenAPI = OpenAPI;
|
|
865
|
+
exports.SkillService = SkillService;
|
|
818
866
|
exports.TaskService = TaskService;
|
|
819
867
|
exports.ViewService = ViewService;
|
|
820
868
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../dart/generated/models/Attachment.ts"],"names":[],"mappings":""}
|
|
@@ -17,7 +17,7 @@ export type ConciseTask = {
|
|
|
17
17
|
*/
|
|
18
18
|
title: string;
|
|
19
19
|
/**
|
|
20
|
-
* The universal, unique ID of the parent task. This can be null.
|
|
20
|
+
* The universal, unique ID of the parent task. This can be null. These tasks have a parent-child relationship where the current task is the child and this task ID corresponds to the parent. Subtasks inherit context from their parent and are typically smaller units of work.
|
|
21
21
|
*/
|
|
22
22
|
parentId: string | null;
|
|
23
23
|
/**
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Task } from "./Task";
|
|
2
1
|
export type Dartboard = {
|
|
3
2
|
/**
|
|
4
3
|
* The universal, unique ID of the dartboard.
|
|
@@ -16,8 +15,4 @@ export type Dartboard = {
|
|
|
16
15
|
* The description, which is a longer description of the dartboard.
|
|
17
16
|
*/
|
|
18
17
|
description: string;
|
|
19
|
-
/**
|
|
20
|
-
* The list of all of the tasks in the dartboard.
|
|
21
|
-
*/
|
|
22
|
-
tasks: Array<Task>;
|
|
23
18
|
};
|
package/dist/models/Folder.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Doc } from "./Doc";
|
|
2
1
|
export type Folder = {
|
|
3
2
|
/**
|
|
4
3
|
* The universal, unique ID of the folder.
|
|
@@ -16,8 +15,4 @@ export type Folder = {
|
|
|
16
15
|
* The description, which is a longer description of the folder.
|
|
17
16
|
*/
|
|
18
17
|
description: string;
|
|
19
|
-
/**
|
|
20
|
-
* The list of all of the docs in the folder.
|
|
21
|
-
*/
|
|
22
|
-
docs: Array<Doc>;
|
|
23
18
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type Skill = {
|
|
2
|
+
/**
|
|
3
|
+
* The universal, unique ID of the skill.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* The title of the skill, describing the task type.
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* User-defined instructions for performing this skill in markdown format.
|
|
12
|
+
*/
|
|
13
|
+
promptMarkdown: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skill.js","sourceRoot":"","sources":["../../dart/generated/models/Skill.ts"],"names":[],"mappings":""}
|
package/dist/models/Task.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Attachment } from "./Attachment";
|
|
1
2
|
import type { CustomProperties } from "./CustomProperties";
|
|
2
3
|
import type { Priority } from "./Priority";
|
|
3
4
|
import type { TaskRelationships } from "./TaskRelationships";
|
|
@@ -15,7 +16,7 @@ export type Task = {
|
|
|
15
16
|
*/
|
|
16
17
|
title: string;
|
|
17
18
|
/**
|
|
18
|
-
* The universal, unique ID of the parent task. This can be null.
|
|
19
|
+
* The universal, unique ID of the parent task. This can be null. These tasks have a parent-child relationship where the current task is the child and this task ID corresponds to the parent. Subtasks inherit context from their parent and are typically smaller units of work.
|
|
19
20
|
*/
|
|
20
21
|
parentId: string | null;
|
|
21
22
|
/**
|
|
@@ -66,6 +67,10 @@ export type Task = {
|
|
|
66
67
|
* The time tracking, which is a string that indicates the amount of time spent on the task in hh:mm:ss format (or an empty string if no time has been tracked).
|
|
67
68
|
*/
|
|
68
69
|
timeTracking?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The attachments, which is a list of attachments that are associated with the task.
|
|
72
|
+
*/
|
|
73
|
+
attachments: Array<Attachment>;
|
|
69
74
|
/**
|
|
70
75
|
* The custom properties, which is a dict of custom properties that are associated with the task.
|
|
71
76
|
*/
|
|
@@ -7,7 +7,7 @@ export type TaskCreate = {
|
|
|
7
7
|
*/
|
|
8
8
|
title: string;
|
|
9
9
|
/**
|
|
10
|
-
* The universal, unique ID of the parent task. This can be null.
|
|
10
|
+
* The universal, unique ID of the parent task. This can be null. These tasks have a parent-child relationship where the current task is the child and this task ID corresponds to the parent. Subtasks inherit context from their parent and are typically smaller units of work.
|
|
11
11
|
*/
|
|
12
12
|
parentId?: string | null;
|
|
13
13
|
/**
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export type TaskRelationships = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Array of task IDs that are subtasks of this task. These tasks have a parent-child relationship where this task is the parent. Subtasks inherit context from their parent and are typically smaller units of work.
|
|
4
4
|
*/
|
|
5
5
|
subtaskIds?: Array<string>;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Array of task IDs that block this task from being completed. These are dependencies that must be resolved/completed before this task can proceed. The blocking tasks have priority over this task.
|
|
8
8
|
*/
|
|
9
9
|
blockerIds?: Array<string>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Array of task IDs that are blocked by this task. This task must be completed before the blocked tasks can proceed. This task is a dependency for the blocked tasks and has priority over them.
|
|
12
12
|
*/
|
|
13
13
|
blockingIds?: Array<string>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Array of task IDs that are duplicates of this task. These represent the same work item and should typically be consolidated to avoid duplicate effort. Only one of the duplicates should be completed.
|
|
16
16
|
*/
|
|
17
17
|
duplicateIds?: Array<string>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Array of task IDs that are related to this task. These tasks have some contextual relationship but no direct dependency. They may share similar goals, components, or be part of the same feature/epic.
|
|
20
20
|
*/
|
|
21
21
|
relatedIds?: Array<string>;
|
|
22
22
|
};
|
|
@@ -11,7 +11,7 @@ export type TaskUpdate = {
|
|
|
11
11
|
*/
|
|
12
12
|
title?: string;
|
|
13
13
|
/**
|
|
14
|
-
* The universal, unique ID of the parent task. This can be null.
|
|
14
|
+
* The universal, unique ID of the parent task. This can be null. These tasks have a parent-child relationship where the current task is the child and this task ID corresponds to the parent. Subtasks inherit context from their parent and are typically smaller units of work.
|
|
15
15
|
*/
|
|
16
16
|
parentId?: string | null;
|
|
17
17
|
/**
|
package/dist/models/User.d.ts
CHANGED
package/dist/models/View.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Task } from "./Task";
|
|
2
1
|
export type View = {
|
|
3
2
|
/**
|
|
4
3
|
* The universal, unique ID of the view.
|
|
@@ -16,8 +15,4 @@ export type View = {
|
|
|
16
15
|
* The description, which is a longer description of the view.
|
|
17
16
|
*/
|
|
18
17
|
description: string;
|
|
19
|
-
/**
|
|
20
|
-
* The list of all of the tasks in the view.
|
|
21
|
-
*/
|
|
22
|
-
tasks: Array<Task>;
|
|
23
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrappedHelpCenterArticles.js","sourceRoot":"","sources":["../../dart/generated/models/WrappedHelpCenterArticles.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrappedSkill.js","sourceRoot":"","sources":["../../dart/generated/models/WrappedSkill.ts"],"names":[],"mappings":""}
|
|
@@ -10,13 +10,13 @@ export declare class CommentService {
|
|
|
10
10
|
* @returns WrappedComment Success, including the created comment
|
|
11
11
|
* @throws ApiError
|
|
12
12
|
*/
|
|
13
|
-
static
|
|
13
|
+
static addTaskComment(requestBody: WrappedCommentCreate): CancelablePromise<WrappedComment>;
|
|
14
14
|
/**
|
|
15
|
-
* List
|
|
15
|
+
* List comments for a task with filtering options. Filter by author, text content, or date range. Sort by date or hierarchical thread order. Task ID required. Supports pagination.
|
|
16
16
|
* @returns PaginatedCommentList
|
|
17
17
|
* @throws ApiError
|
|
18
18
|
*/
|
|
19
|
-
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAtAfter, publishedAtBefore, task, text, }: {
|
|
19
|
+
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAt, publishedAtAfter, publishedAtBefore, task, text, }: {
|
|
20
20
|
taskId: string;
|
|
21
21
|
author?: string;
|
|
22
22
|
authorId?: string;
|
|
@@ -40,7 +40,8 @@ export declare class CommentService {
|
|
|
40
40
|
* The initial index from which to return the results.
|
|
41
41
|
*/
|
|
42
42
|
offset?: number;
|
|
43
|
-
parentId?: string
|
|
43
|
+
parentId?: string;
|
|
44
|
+
publishedAt?: string;
|
|
44
45
|
publishedAtAfter?: string;
|
|
45
46
|
publishedAtBefore?: string;
|
|
46
47
|
task?: string;
|
|
@@ -11,7 +11,7 @@ class CommentService {
|
|
|
11
11
|
* @returns WrappedComment Success, including the created comment
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
|
-
static
|
|
14
|
+
static addTaskComment(requestBody) {
|
|
15
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
16
|
method: "POST",
|
|
17
17
|
url: "/comments",
|
|
@@ -23,11 +23,11 @@ class CommentService {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* List
|
|
26
|
+
* List comments for a task with filtering options. Filter by author, text content, or date range. Sort by date or hierarchical thread order. Task ID required. Supports pagination.
|
|
27
27
|
* @returns PaginatedCommentList
|
|
28
28
|
* @throws ApiError
|
|
29
29
|
*/
|
|
30
|
-
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
30
|
+
static listComments({ taskId, author, authorId, ids, limit, o, offset, parentId, publishedAt, publishedAtAfter, publishedAtBefore, task, text, }) {
|
|
31
31
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
32
32
|
method: "GET",
|
|
33
33
|
url: "/comments/list",
|
|
@@ -39,6 +39,7 @@ class CommentService {
|
|
|
39
39
|
o: o,
|
|
40
40
|
offset: offset,
|
|
41
41
|
parent_id: parentId,
|
|
42
|
+
published_at: publishedAt,
|
|
42
43
|
published_at_after: publishedAtAfter,
|
|
43
44
|
published_at_before: publishedAtBefore,
|
|
44
45
|
task: task,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentService.js","sourceRoot":"","sources":["../../dart/generated/services/CommentService.ts"],"names":[],"mappings":";;;AAQA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,cAAc;IACzB;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"CommentService.js","sourceRoot":"","sources":["../../dart/generated/services/CommentService.ts"],"names":[],"mappings":";;;AAQA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,cAAc;IACzB;;;;;;OAMG;IACI,MAAM,CAAC,cAAc,CAAC,WAAiC;QAC5D,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,WAAW;YAChB,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;aAC7C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,YAAY,CAAC,EACzB,MAAM,EACN,MAAM,EACN,QAAQ,EACR,GAAG,EACH,KAAK,EACL,CAAC,EACD,MAAM,EACN,QAAQ,EACR,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,EACJ,IAAI,GA+BL;QACC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gBAAgB;YACrB,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,GAAG,EAAE,GAAG;gBACR,KAAK,EAAE,KAAK;gBACZ,CAAC,EAAE,CAAC;gBACJ,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,YAAY,EAAE,WAAW;gBACzB,kBAAkB,EAAE,gBAAgB;gBACpC,mBAAmB,EAAE,iBAAiB;gBACtC,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,MAAM;gBACf,IAAI,EAAE,IAAI;aACX;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAzFD,wCAyFC"}
|
|
@@ -3,10 +3,10 @@ import type { CancelablePromise } from "../core/CancelablePromise";
|
|
|
3
3
|
export declare class DartboardService {
|
|
4
4
|
/**
|
|
5
5
|
* Retrieve an existing dartboard
|
|
6
|
-
* Retrieve an existing dartboard. This will return the dartboard's information, including the title
|
|
6
|
+
* Retrieve an existing dartboard. This will return the dartboard's information, including the title and description.
|
|
7
7
|
* @param id
|
|
8
8
|
* @returns WrappedDartboard Success, including the retrieved dartboard
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static
|
|
11
|
+
static getDartboard(id: string): CancelablePromise<WrappedDartboard>;
|
|
12
12
|
}
|
|
@@ -6,12 +6,12 @@ const request_1 = require("../core/request");
|
|
|
6
6
|
class DartboardService {
|
|
7
7
|
/**
|
|
8
8
|
* Retrieve an existing dartboard
|
|
9
|
-
* Retrieve an existing dartboard. This will return the dartboard's information, including the title
|
|
9
|
+
* Retrieve an existing dartboard. This will return the dartboard's information, including the title and description.
|
|
10
10
|
* @param id
|
|
11
11
|
* @returns WrappedDartboard Success, including the retrieved dartboard
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
|
-
static
|
|
14
|
+
static getDartboard(id) {
|
|
15
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
16
|
method: "GET",
|
|
17
17
|
url: "/dartboards/{id}",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DartboardService.js","sourceRoot":"","sources":["../../dart/generated/services/DartboardService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,gBAAgB;IAC3B;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"DartboardService.js","sourceRoot":"","sources":["../../dart/generated/services/DartboardService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,gBAAgB;IAC3B;;;;;;OAMG;IACI,MAAM,CAAC,YAAY,CAAC,EAAU;QACnC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,2CAA2C;aACjD;SACF,CAAC,CAAC;IACL,CAAC;CACF;AArBD,4CAqBC"}
|
|
@@ -19,7 +19,7 @@ export declare class DocService {
|
|
|
19
19
|
* @returns WrappedDoc Success, including the retrieved doc
|
|
20
20
|
* @throws ApiError
|
|
21
21
|
*/
|
|
22
|
-
static
|
|
22
|
+
static getDoc(id: string): CancelablePromise<WrappedDoc>;
|
|
23
23
|
/**
|
|
24
24
|
* Update an existing doc
|
|
25
25
|
* Update certain properties of an existing doc. This will save the doc in Dart for later access, search, etc. Any properties that are not specified will not be changed.
|
|
@@ -38,7 +38,7 @@ export declare class DocService {
|
|
|
38
38
|
*/
|
|
39
39
|
static deleteDoc(id: string): CancelablePromise<WrappedDoc>;
|
|
40
40
|
/**
|
|
41
|
-
* List
|
|
41
|
+
* List docs with filtering and search capabilities. Filter by folder, title, text content, or use full-text search. Sort by creation/update date or title. Supports pagination.
|
|
42
42
|
* @returns PaginatedConciseDocList
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
@@ -29,7 +29,7 @@ class DocService {
|
|
|
29
29
|
* @returns WrappedDoc Success, including the retrieved doc
|
|
30
30
|
* @throws ApiError
|
|
31
31
|
*/
|
|
32
|
-
static
|
|
32
|
+
static getDoc(id) {
|
|
33
33
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
34
34
|
method: "GET",
|
|
35
35
|
url: "/docs/{id}",
|
|
@@ -86,7 +86,7 @@ class DocService {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* List
|
|
89
|
+
* List docs with filtering and search capabilities. Filter by folder, title, text content, or use full-text search. Sort by creation/update date or title. Supports pagination.
|
|
90
90
|
* @returns PaginatedConciseDocList
|
|
91
91
|
* @throws ApiError
|
|
92
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocService.js","sourceRoot":"","sources":["../../dart/generated/services/DocService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,UAAU;IACrB;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,WAA6B;QACnD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;aAC7C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"DocService.js","sourceRoot":"","sources":["../../dart/generated/services/DocService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,UAAU;IACrB;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,WAA6B;QACnD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;aAC7C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAU;QAC7B,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,SAAS,CAAC,EAAU,EAAE,WAA6B;QAC/D,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,EAAU;QAChC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,YAAY;YACjB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,qCAAqC;aAC3C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,QAAQ,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,GAAG,EACH,OAAO,EACP,KAAK,EACL,CAAC,EACD,MAAM,EACN,CAAC,EACD,IAAI,EACJ,KAAK,GAoCN;QACC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,GAAG,EAAE,GAAG;gBACR,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,KAAK;gBACZ,CAAC,EAAE,CAAC;gBACJ,MAAM,EAAE,MAAM;gBACd,CAAC,EAAE,CAAC;gBACJ,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,KAAK;aACb;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAvJD,gCAuJC"}
|
|
@@ -8,5 +8,5 @@ export declare class FolderService {
|
|
|
8
8
|
* @returns WrappedFolder Success, including the retrieved folder
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static
|
|
11
|
+
static getFolder(id: string): CancelablePromise<WrappedFolder>;
|
|
12
12
|
}
|
|
@@ -11,7 +11,7 @@ class FolderService {
|
|
|
11
11
|
* @returns WrappedFolder Success, including the retrieved folder
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
|
-
static
|
|
14
|
+
static getFolder(id) {
|
|
15
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
16
|
method: "GET",
|
|
17
17
|
url: "/folders/{id}",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderService.js","sourceRoot":"","sources":["../../dart/generated/services/FolderService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,aAAa;IACxB;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"FolderService.js","sourceRoot":"","sources":["../../dart/generated/services/FolderService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,aAAa;IACxB;;;;;;OAMG;IACI,MAAM,CAAC,SAAS,CAAC,EAAU;QAChC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;YACpB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,wCAAwC;aAC9C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AArBD,sCAqBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WrappedHelpCenterArticles } from "../models/WrappedHelpCenterArticles";
|
|
2
|
+
import type { CancelablePromise } from "../core/CancelablePromise";
|
|
3
|
+
export declare class HelpCenterArticleService {
|
|
4
|
+
/**
|
|
5
|
+
* List help center articles by query
|
|
6
|
+
* Search for up to two help center articles by their semantic similarity to a short (1-5 word) query.
|
|
7
|
+
* @param query The search query (1-5 words) to find relevant help articles
|
|
8
|
+
* @returns WrappedHelpCenterArticles
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static listHelpCenterArticles(query?: string): CancelablePromise<WrappedHelpCenterArticles>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HelpCenterArticleService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class HelpCenterArticleService {
|
|
7
|
+
/**
|
|
8
|
+
* List help center articles by query
|
|
9
|
+
* Search for up to two help center articles by their semantic similarity to a short (1-5 word) query.
|
|
10
|
+
* @param query The search query (1-5 words) to find relevant help articles
|
|
11
|
+
* @returns WrappedHelpCenterArticles
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static listHelpCenterArticles(query) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: "GET",
|
|
17
|
+
url: "/help-center-articles/list",
|
|
18
|
+
query: {
|
|
19
|
+
query: query,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.HelpCenterArticleService = HelpCenterArticleService;
|
|
25
|
+
//# sourceMappingURL=HelpCenterArticleService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpCenterArticleService.js","sourceRoot":"","sources":["../../dart/generated/services/HelpCenterArticleService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,wBAAwB;IACnC;;;;;;OAMG;IACI,MAAM,CAAC,sBAAsB,CAAC,KAAc;QACjD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4BAA4B;YACjC,KAAK,EAAE;gBACL,KAAK,EAAE,KAAK;aACb;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,4DAiBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WrappedSkill } from "../models/WrappedSkill";
|
|
2
|
+
import type { CancelablePromise } from "../core/CancelablePromise";
|
|
3
|
+
export declare class SkillService {
|
|
4
|
+
/**
|
|
5
|
+
* Retrieve a skill by title
|
|
6
|
+
* Retrieve a skill by its title. Skills are user-defined instructions or templates for performing specific task types in the workspace. Returns the skill's title and instructions if found.
|
|
7
|
+
* @param title The title of the skill to retrieve
|
|
8
|
+
* @returns WrappedSkill Success, including the retrieved skill
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static retrieveSkillByTitle(title: string): CancelablePromise<WrappedSkill>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SkillService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class SkillService {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieve a skill by title
|
|
9
|
+
* Retrieve a skill by its title. Skills are user-defined instructions or templates for performing specific task types in the workspace. Returns the skill's title and instructions if found.
|
|
10
|
+
* @param title The title of the skill to retrieve
|
|
11
|
+
* @returns WrappedSkill Success, including the retrieved skill
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static retrieveSkillByTitle(title) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: "GET",
|
|
17
|
+
url: "/skills/by-title",
|
|
18
|
+
query: {
|
|
19
|
+
title: title,
|
|
20
|
+
},
|
|
21
|
+
errors: {
|
|
22
|
+
404: `Skill not found`,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.SkillService = SkillService;
|
|
28
|
+
//# sourceMappingURL=SkillService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SkillService.js","sourceRoot":"","sources":["../../dart/generated/services/SkillService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,YAAY;IACvB;;;;;;OAMG;IACI,MAAM,CAAC,oBAAoB,CAAC,KAAa;QAC9C,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,KAAK,EAAE;gBACL,KAAK,EAAE,KAAK;aACb;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,iBAAiB;aACvB;SACF,CAAC,CAAC;IACL,CAAC;CACF;AApBD,oCAoBC"}
|
|
@@ -6,7 +6,7 @@ import type { CancelablePromise } from "../core/CancelablePromise";
|
|
|
6
6
|
export declare class TaskService {
|
|
7
7
|
/**
|
|
8
8
|
* Create a new task
|
|
9
|
-
* Record a new task that the user intends to do.
|
|
9
|
+
* Record a new task that the user intends to do. By default the task will be assigned to the current user, have an unstarted status, have no parent, and be in the default dartboard. More information can be included in the description.
|
|
10
10
|
* @param requestBody
|
|
11
11
|
* @returns WrappedTask
|
|
12
12
|
* @throws ApiError
|
|
@@ -19,7 +19,7 @@ export declare class TaskService {
|
|
|
19
19
|
* @returns WrappedTask Success, including the retrieved task
|
|
20
20
|
* @throws ApiError
|
|
21
21
|
*/
|
|
22
|
-
static
|
|
22
|
+
static getTask(id: string): CancelablePromise<WrappedTask>;
|
|
23
23
|
/**
|
|
24
24
|
* Update an existing task
|
|
25
25
|
* Update certain properties of an existing task. This will save the task in Dart for later access, search, etc. Any properties that are not specified will not be changed.
|
|
@@ -38,16 +38,17 @@ export declare class TaskService {
|
|
|
38
38
|
*/
|
|
39
39
|
static deleteTask(id: string): CancelablePromise<WrappedTask>;
|
|
40
40
|
/**
|
|
41
|
-
* List
|
|
41
|
+
* List tasks with powerful filtering options. Filter by dartboard, status, assignee, tags, priority, dates, completion state, view, and more. Supports pagination with limit/offset.
|
|
42
42
|
* @returns PaginatedConciseTaskList
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, }: {
|
|
45
|
+
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }: {
|
|
46
46
|
assignee?: string;
|
|
47
47
|
assigneeId?: string;
|
|
48
48
|
dartboard?: string;
|
|
49
49
|
dartboardId?: string;
|
|
50
50
|
description?: string;
|
|
51
|
+
dueAt?: string;
|
|
51
52
|
dueAtAfter?: string;
|
|
52
53
|
dueAtBefore?: string;
|
|
53
54
|
/**
|
|
@@ -67,6 +68,7 @@ export declare class TaskService {
|
|
|
67
68
|
parentId?: string;
|
|
68
69
|
priority?: string;
|
|
69
70
|
size?: number;
|
|
71
|
+
startAt?: string;
|
|
70
72
|
startAtAfter?: string;
|
|
71
73
|
startAtBefore?: string;
|
|
72
74
|
status?: string;
|
|
@@ -76,5 +78,7 @@ export declare class TaskService {
|
|
|
76
78
|
title?: string;
|
|
77
79
|
type?: string;
|
|
78
80
|
typeId?: string;
|
|
81
|
+
view?: string;
|
|
82
|
+
viewId?: string;
|
|
79
83
|
}): CancelablePromise<PaginatedConciseTaskList>;
|
|
80
84
|
}
|
|
@@ -6,7 +6,7 @@ const request_1 = require("../core/request");
|
|
|
6
6
|
class TaskService {
|
|
7
7
|
/**
|
|
8
8
|
* Create a new task
|
|
9
|
-
* Record a new task that the user intends to do.
|
|
9
|
+
* Record a new task that the user intends to do. By default the task will be assigned to the current user, have an unstarted status, have no parent, and be in the default dartboard. More information can be included in the description.
|
|
10
10
|
* @param requestBody
|
|
11
11
|
* @returns WrappedTask
|
|
12
12
|
* @throws ApiError
|
|
@@ -26,7 +26,7 @@ class TaskService {
|
|
|
26
26
|
* @returns WrappedTask Success, including the retrieved task
|
|
27
27
|
* @throws ApiError
|
|
28
28
|
*/
|
|
29
|
-
static
|
|
29
|
+
static getTask(id) {
|
|
30
30
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
31
31
|
method: "GET",
|
|
32
32
|
url: "/tasks/{id}",
|
|
@@ -83,11 +83,11 @@ class TaskService {
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* List
|
|
86
|
+
* List tasks with powerful filtering options. Filter by dartboard, status, assignee, tags, priority, dates, completion state, view, and more. Supports pagination with limit/offset.
|
|
87
87
|
* @returns PaginatedConciseTaskList
|
|
88
88
|
* @throws ApiError
|
|
89
89
|
*/
|
|
90
|
-
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, }) {
|
|
90
|
+
static listTasks({ assignee, assigneeId, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, view, viewId, }) {
|
|
91
91
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
92
92
|
method: "GET",
|
|
93
93
|
url: "/tasks/list",
|
|
@@ -97,6 +97,7 @@ class TaskService {
|
|
|
97
97
|
dartboard: dartboard,
|
|
98
98
|
dartboard_id: dartboardId,
|
|
99
99
|
description: description,
|
|
100
|
+
due_at: dueAt,
|
|
100
101
|
due_at_after: dueAtAfter,
|
|
101
102
|
due_at_before: dueAtBefore,
|
|
102
103
|
ids: ids,
|
|
@@ -107,6 +108,7 @@ class TaskService {
|
|
|
107
108
|
parent_id: parentId,
|
|
108
109
|
priority: priority,
|
|
109
110
|
size: size,
|
|
111
|
+
start_at: startAt,
|
|
110
112
|
start_at_after: startAtAfter,
|
|
111
113
|
start_at_before: startAtBefore,
|
|
112
114
|
status: status,
|
|
@@ -116,6 +118,8 @@ class TaskService {
|
|
|
116
118
|
title: title,
|
|
117
119
|
type: type,
|
|
118
120
|
type_id: typeId,
|
|
121
|
+
view: view,
|
|
122
|
+
view_id: viewId,
|
|
119
123
|
},
|
|
120
124
|
});
|
|
121
125
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../dart/generated/services/TaskService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,WAA8B;QACrD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"TaskService.js","sourceRoot":"","sources":["../../dart/generated/services/TaskService.ts"],"names":[],"mappings":";;;AASA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,WAA8B;QACrD,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,OAAO,CAAC,EAAU;QAC9B,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU,CAAC,EAAU,EAAE,WAA8B;QACjE,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,EAAU;QACjC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;IACD;;;;OAIG;IACI,MAAM,CAAC,SAAS,CAAC,EACtB,QAAQ,EACR,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,KAAK,EACL,UAAU,EACV,WAAW,EACX,GAAG,EACH,OAAO,EACP,WAAW,EACX,KAAK,EACL,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,GAAG,EACH,KAAK,EACL,KAAK,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,MAAM,GAuCP;QACC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE;gBACL,QAAQ,EAAE,QAAQ;gBAClB,WAAW,EAAE,UAAU;gBACvB,SAAS,EAAE,SAAS;gBACpB,YAAY,EAAE,WAAW;gBACzB,WAAW,EAAE,WAAW;gBACxB,MAAM,EAAE,KAAK;gBACb,YAAY,EAAE,UAAU;gBACxB,aAAa,EAAE,WAAW;gBAC1B,GAAG,EAAE,GAAG;gBACR,QAAQ,EAAE,OAAO;gBACjB,YAAY,EAAE,WAAW;gBACzB,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,QAAQ,EAAE,QAAQ;gBAClB,IAAI,EAAE,IAAI;gBACV,QAAQ,EAAE,OAAO;gBACjB,cAAc,EAAE,YAAY;gBAC5B,eAAe,EAAE,aAAa;gBAC9B,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,GAAG,EAAE,GAAG;gBACR,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,KAAK;gBACZ,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,MAAM;gBACf,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,MAAM;aAChB;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA3LD,kCA2LC"}
|
|
@@ -3,10 +3,10 @@ import type { CancelablePromise } from "../core/CancelablePromise";
|
|
|
3
3
|
export declare class ViewService {
|
|
4
4
|
/**
|
|
5
5
|
* Retrieve an existing view
|
|
6
|
-
* Retrieve an existing view. This will return the view's information, including the title, description,
|
|
6
|
+
* Retrieve an existing view. This will return the view's information, including the title, description, and others.
|
|
7
7
|
* @param id
|
|
8
8
|
* @returns WrappedView Success, including the retrieved view
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static
|
|
11
|
+
static getView(id: string): CancelablePromise<WrappedView>;
|
|
12
12
|
}
|
|
@@ -6,12 +6,12 @@ const request_1 = require("../core/request");
|
|
|
6
6
|
class ViewService {
|
|
7
7
|
/**
|
|
8
8
|
* Retrieve an existing view
|
|
9
|
-
* Retrieve an existing view. This will return the view's information, including the title, description,
|
|
9
|
+
* Retrieve an existing view. This will return the view's information, including the title, description, and others.
|
|
10
10
|
* @param id
|
|
11
11
|
* @returns WrappedView Success, including the retrieved view
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
|
-
static
|
|
14
|
+
static getView(id) {
|
|
15
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
16
|
method: "GET",
|
|
17
17
|
url: "/views/{id}",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewService.js","sourceRoot":"","sources":["../../dart/generated/services/ViewService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"ViewService.js","sourceRoot":"","sources":["../../dart/generated/services/ViewService.ts"],"names":[],"mappings":";;;AAMA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,WAAW;IACtB;;;;;;OAMG;IACI,MAAM,CAAC,OAAO,CAAC,EAAU;QAC9B,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,aAAa;YAClB,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;gBAC5C,GAAG,EAAE,sCAAsC;aAC5C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AArBD,kCAqBC"}
|