dart-tools 0.4.1 → 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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -8
- package/dist/index.umd.js +11 -8
- 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/Task.d.ts +5 -0
- package/dist/services/CommentService.d.ts +3 -2
- package/dist/services/CommentService.js +3 -2
- package/dist/services/CommentService.js.map +1 -1
- package/dist/services/DartboardService.d.ts +1 -1
- package/dist/services/DartboardService.js +1 -1
- package/dist/services/DartboardService.js.map +1 -1
- package/dist/services/DocService.d.ts +1 -1
- package/dist/services/DocService.js +1 -1
- 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/TaskService.d.ts +4 -2
- package/dist/services/TaskService.js +4 -2
- package/dist/services/TaskService.js.map +1 -1
- package/dist/services/ViewService.d.ts +1 -1
- package/dist/services/ViewService.js +1 -1
- 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";
|
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",
|
|
@@ -472,7 +472,7 @@ class CommentService {
|
|
|
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,
|
|
@@ -517,7 +518,7 @@ class DartboardService {
|
|
|
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}",
|
|
@@ -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}",
|
|
@@ -726,7 +727,7 @@ class TaskService {
|
|
|
726
727
|
* @returns WrappedTask Success, including the retrieved task
|
|
727
728
|
* @throws ApiError
|
|
728
729
|
*/
|
|
729
|
-
static
|
|
730
|
+
static getTask(id) {
|
|
730
731
|
return request(OpenAPI, {
|
|
731
732
|
method: "GET",
|
|
732
733
|
url: "/tasks/{id}",
|
|
@@ -787,7 +788,7 @@ class TaskService {
|
|
|
787
788
|
* @returns PaginatedConciseTaskList
|
|
788
789
|
* @throws ApiError
|
|
789
790
|
*/
|
|
790
|
-
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, view, viewId, }) {
|
|
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, }) {
|
|
791
792
|
return request(OpenAPI, {
|
|
792
793
|
method: "GET",
|
|
793
794
|
url: "/tasks/list",
|
|
@@ -797,6 +798,7 @@ class TaskService {
|
|
|
797
798
|
dartboard: dartboard,
|
|
798
799
|
dartboard_id: dartboardId,
|
|
799
800
|
description: description,
|
|
801
|
+
due_at: dueAt,
|
|
800
802
|
due_at_after: dueAtAfter,
|
|
801
803
|
due_at_before: dueAtBefore,
|
|
802
804
|
ids: ids,
|
|
@@ -807,6 +809,7 @@ class TaskService {
|
|
|
807
809
|
parent_id: parentId,
|
|
808
810
|
priority: priority,
|
|
809
811
|
size: size,
|
|
812
|
+
start_at: startAt,
|
|
810
813
|
start_at_after: startAtAfter,
|
|
811
814
|
start_at_before: startAtBefore,
|
|
812
815
|
status: status,
|
|
@@ -831,7 +834,7 @@ class ViewService {
|
|
|
831
834
|
* @returns WrappedView Success, including the retrieved view
|
|
832
835
|
* @throws ApiError
|
|
833
836
|
*/
|
|
834
|
-
static
|
|
837
|
+
static getView(id) {
|
|
835
838
|
return request(OpenAPI, {
|
|
836
839
|
method: "GET",
|
|
837
840
|
url: "/views/{id}",
|
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",
|
|
@@ -475,7 +475,7 @@
|
|
|
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,
|
|
@@ -520,7 +521,7 @@
|
|
|
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}",
|
|
@@ -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}",
|
|
@@ -729,7 +730,7 @@
|
|
|
729
730
|
* @returns WrappedTask Success, including the retrieved task
|
|
730
731
|
* @throws ApiError
|
|
731
732
|
*/
|
|
732
|
-
static
|
|
733
|
+
static getTask(id) {
|
|
733
734
|
return request(OpenAPI, {
|
|
734
735
|
method: "GET",
|
|
735
736
|
url: "/tasks/{id}",
|
|
@@ -790,7 +791,7 @@
|
|
|
790
791
|
* @returns PaginatedConciseTaskList
|
|
791
792
|
* @throws ApiError
|
|
792
793
|
*/
|
|
793
|
-
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, view, viewId, }) {
|
|
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, }) {
|
|
794
795
|
return request(OpenAPI, {
|
|
795
796
|
method: "GET",
|
|
796
797
|
url: "/tasks/list",
|
|
@@ -800,6 +801,7 @@
|
|
|
800
801
|
dartboard: dartboard,
|
|
801
802
|
dartboard_id: dartboardId,
|
|
802
803
|
description: description,
|
|
804
|
+
due_at: dueAt,
|
|
803
805
|
due_at_after: dueAtAfter,
|
|
804
806
|
due_at_before: dueAtBefore,
|
|
805
807
|
ids: ids,
|
|
@@ -810,6 +812,7 @@
|
|
|
810
812
|
parent_id: parentId,
|
|
811
813
|
priority: priority,
|
|
812
814
|
size: size,
|
|
815
|
+
start_at: startAt,
|
|
813
816
|
start_at_after: startAtAfter,
|
|
814
817
|
start_at_before: startAtBefore,
|
|
815
818
|
status: status,
|
|
@@ -834,7 +837,7 @@
|
|
|
834
837
|
* @returns WrappedView Success, including the retrieved view
|
|
835
838
|
* @throws ApiError
|
|
836
839
|
*/
|
|
837
|
-
static
|
|
840
|
+
static getView(id) {
|
|
838
841
|
return request(OpenAPI, {
|
|
839
842
|
method: "GET",
|
|
840
843
|
url: "/views/{id}",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../dart/generated/models/Attachment.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";
|
|
@@ -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
|
*/
|
|
@@ -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
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;
|
|
@@ -41,6 +41,7 @@ export declare class CommentService {
|
|
|
41
41
|
*/
|
|
42
42
|
offset?: number;
|
|
43
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",
|
|
@@ -27,7 +27,7 @@ class CommentService {
|
|
|
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"}
|
|
@@ -8,5 +8,5 @@ export declare class DartboardService {
|
|
|
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
|
}
|
|
@@ -11,7 +11,7 @@ class DartboardService {
|
|
|
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.
|
|
@@ -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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ACnB,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"}
|
|
@@ -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.
|
|
@@ -42,12 +42,13 @@ export declare class TaskService {
|
|
|
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, view, viewId, }: {
|
|
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;
|
|
@@ -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}",
|
|
@@ -87,7 +87,7 @@ class TaskService {
|
|
|
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, view, viewId, }) {
|
|
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,
|
|
@@ -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,S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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"}
|
|
@@ -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"}
|