dart-tools 0.4.2 → 0.4.4

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 CHANGED
@@ -3,6 +3,7 @@ export { CancelablePromise, CancelError } from "./core/CancelablePromise";
3
3
  export { OpenAPI } from "./core/OpenAPI";
4
4
  export type { OpenAPIConfig } from "./core/OpenAPI";
5
5
  export type { Attachment } from "./models/Attachment";
6
+ export type { AttachmentCreateFromUrl } from "./models/AttachmentCreateFromUrl";
6
7
  export type { Comment } from "./models/Comment";
7
8
  export type { CommentCreate } from "./models/CommentCreate";
8
9
  export type { ConciseDoc } from "./models/ConciseDoc";
@@ -41,6 +42,7 @@ export type { WrappedTask } from "./models/WrappedTask";
41
42
  export type { WrappedTaskCreate } from "./models/WrappedTaskCreate";
42
43
  export type { WrappedTaskUpdate } from "./models/WrappedTaskUpdate";
43
44
  export type { WrappedView } from "./models/WrappedView";
45
+ export { AttachmentService } from "./services/AttachmentService";
44
46
  export { CommentService } from "./services/CommentService";
45
47
  export { ConfigService } from "./services/ConfigService";
46
48
  export { DartboardService } from "./services/DartboardService";
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.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;
3
+ exports.ViewService = exports.TaskService = exports.SkillService = exports.HelpCenterArticleService = exports.FolderService = exports.DocService = exports.DartboardService = exports.ConfigService = exports.CommentService = exports.AttachmentService = 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 */
@@ -14,6 +14,8 @@ var OpenAPI_1 = require("./core/OpenAPI");
14
14
  Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
15
15
  var Priority_1 = require("./models/Priority");
16
16
  Object.defineProperty(exports, "Priority", { enumerable: true, get: function () { return Priority_1.Priority; } });
17
+ var AttachmentService_1 = require("./services/AttachmentService");
18
+ Object.defineProperty(exports, "AttachmentService", { enumerable: true, get: function () { return AttachmentService_1.AttachmentService; } });
17
19
  var CommentService_1 = require("./services/CommentService");
18
20
  Object.defineProperty(exports, "CommentService", { enumerable: true, get: function () { return CommentService_1.CommentService; } });
19
21
  var ConfigService_1 = require("./services/ConfigService");
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;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"}
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;AAmBhB,8CAA6C;AAApC,oGAAA,QAAQ,OAAA;AAyBjB,kEAAiE;AAAxD,sHAAA,iBAAiB,OAAA;AAC1B,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
@@ -448,6 +448,31 @@ const request = (config, options, axiosClient = axios) => {
448
448
  });
449
449
  };
450
450
 
451
+ class AttachmentService {
452
+ /**
453
+ * Attach a file from a provided URL to a task
454
+ * Attach a file from a provided URL to a task. The file will be downloaded and attached asynchronously. This operation may take a few moments to complete.
455
+ * @param id
456
+ * @param requestBody
457
+ * @returns Attachment Success, including the attached attachment details
458
+ * @throws ApiError
459
+ */
460
+ static addTaskAttachmentFromUrl(id, requestBody) {
461
+ return request(OpenAPI, {
462
+ method: "POST",
463
+ url: "/tasks/{id}/attachments/from-url",
464
+ path: {
465
+ id: id,
466
+ },
467
+ body: requestBody,
468
+ mediaType: "application/json",
469
+ errors: {
470
+ 400: `Invalid request, including the errors`,
471
+ },
472
+ });
473
+ }
474
+ }
475
+
451
476
  class CommentService {
452
477
  /**
453
478
  * Create a new comment
@@ -620,16 +645,18 @@ class DocService {
620
645
  * @returns PaginatedConciseDocList
621
646
  * @throws ApiError
622
647
  */
623
- static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
648
+ static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
624
649
  return request(OpenAPI, {
625
650
  method: "GET",
626
651
  url: "/docs/list",
627
652
  query: {
653
+ editor: editor,
628
654
  folder: folder,
629
655
  folder_id: folderId,
630
656
  ids: ids,
631
657
  in_trash: inTrash,
632
658
  limit: limit,
659
+ no_defaults: noDefaults,
633
660
  o: o,
634
661
  offset: offset,
635
662
  s: s,
@@ -788,13 +815,18 @@ class TaskService {
788
815
  * @returns PaginatedConciseTaskList
789
816
  * @throws ApiError
790
817
  */
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, }) {
818
+ static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
792
819
  return request(OpenAPI, {
793
820
  method: "GET",
794
821
  url: "/tasks/list",
795
822
  query: {
796
823
  assignee: assignee,
797
824
  assignee_id: assigneeId,
825
+ created_at: createdAt,
826
+ created_at_after: createdAtAfter,
827
+ created_at_before: createdAtBefore,
828
+ created_by: createdBy,
829
+ created_by_id: createdById,
798
830
  dartboard: dartboard,
799
831
  dartboard_id: dartboardId,
800
832
  description: description,
@@ -805,6 +837,8 @@ class TaskService {
805
837
  in_trash: inTrash,
806
838
  is_completed: isCompleted,
807
839
  limit: limit,
840
+ no_defaults: noDefaults,
841
+ o: o,
808
842
  offset: offset,
809
843
  parent_id: parentId,
810
844
  priority: priority,
@@ -819,6 +853,11 @@ class TaskService {
819
853
  title: title,
820
854
  type: type,
821
855
  type_id: typeId,
856
+ updated_at: updatedAt,
857
+ updated_at_after: updatedAtAfter,
858
+ updated_at_before: updatedAtBefore,
859
+ updated_by: updatedBy,
860
+ updated_by_id: updatedById,
822
861
  view: view,
823
862
  view_id: viewId,
824
863
  },
@@ -849,4 +888,4 @@ class ViewService {
849
888
  }
850
889
  }
851
890
 
852
- export { ApiError, CancelError, CancelablePromise, CommentService, ConfigService, DartboardService, DocService, FolderService, HelpCenterArticleService, OpenAPI, Priority, SkillService, TaskService, ViewService };
891
+ export { ApiError, AttachmentService, CancelError, CancelablePromise, CommentService, ConfigService, DartboardService, DocService, FolderService, HelpCenterArticleService, OpenAPI, Priority, SkillService, TaskService, ViewService };
package/dist/index.umd.js CHANGED
@@ -451,6 +451,31 @@
451
451
  });
452
452
  };
453
453
 
454
+ class AttachmentService {
455
+ /**
456
+ * Attach a file from a provided URL to a task
457
+ * Attach a file from a provided URL to a task. The file will be downloaded and attached asynchronously. This operation may take a few moments to complete.
458
+ * @param id
459
+ * @param requestBody
460
+ * @returns Attachment Success, including the attached attachment details
461
+ * @throws ApiError
462
+ */
463
+ static addTaskAttachmentFromUrl(id, requestBody) {
464
+ return request(OpenAPI, {
465
+ method: "POST",
466
+ url: "/tasks/{id}/attachments/from-url",
467
+ path: {
468
+ id: id,
469
+ },
470
+ body: requestBody,
471
+ mediaType: "application/json",
472
+ errors: {
473
+ 400: `Invalid request, including the errors`,
474
+ },
475
+ });
476
+ }
477
+ }
478
+
454
479
  class CommentService {
455
480
  /**
456
481
  * Create a new comment
@@ -623,16 +648,18 @@
623
648
  * @returns PaginatedConciseDocList
624
649
  * @throws ApiError
625
650
  */
626
- static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
651
+ static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
627
652
  return request(OpenAPI, {
628
653
  method: "GET",
629
654
  url: "/docs/list",
630
655
  query: {
656
+ editor: editor,
631
657
  folder: folder,
632
658
  folder_id: folderId,
633
659
  ids: ids,
634
660
  in_trash: inTrash,
635
661
  limit: limit,
662
+ no_defaults: noDefaults,
636
663
  o: o,
637
664
  offset: offset,
638
665
  s: s,
@@ -791,13 +818,18 @@
791
818
  * @returns PaginatedConciseTaskList
792
819
  * @throws ApiError
793
820
  */
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, }) {
821
+ static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
795
822
  return request(OpenAPI, {
796
823
  method: "GET",
797
824
  url: "/tasks/list",
798
825
  query: {
799
826
  assignee: assignee,
800
827
  assignee_id: assigneeId,
828
+ created_at: createdAt,
829
+ created_at_after: createdAtAfter,
830
+ created_at_before: createdAtBefore,
831
+ created_by: createdBy,
832
+ created_by_id: createdById,
801
833
  dartboard: dartboard,
802
834
  dartboard_id: dartboardId,
803
835
  description: description,
@@ -808,6 +840,8 @@
808
840
  in_trash: inTrash,
809
841
  is_completed: isCompleted,
810
842
  limit: limit,
843
+ no_defaults: noDefaults,
844
+ o: o,
811
845
  offset: offset,
812
846
  parent_id: parentId,
813
847
  priority: priority,
@@ -822,6 +856,11 @@
822
856
  title: title,
823
857
  type: type,
824
858
  type_id: typeId,
859
+ updated_at: updatedAt,
860
+ updated_at_after: updatedAtAfter,
861
+ updated_at_before: updatedAtBefore,
862
+ updated_by: updatedBy,
863
+ updated_by_id: updatedById,
825
864
  view: view,
826
865
  view_id: viewId,
827
866
  },
@@ -853,6 +892,7 @@
853
892
  }
854
893
 
855
894
  exports.ApiError = ApiError;
895
+ exports.AttachmentService = AttachmentService;
856
896
  exports.CancelError = CancelError;
857
897
  exports.CancelablePromise = CancelablePromise;
858
898
  exports.CommentService = CommentService;
@@ -0,0 +1,10 @@
1
+ export type AttachmentCreateFromUrl = {
2
+ /**
3
+ * The name of the file to upload.
4
+ */
5
+ name: string;
6
+ /**
7
+ * The URL of the file to upload.
8
+ */
9
+ url: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AttachmentCreateFromUrl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentCreateFromUrl.js","sourceRoot":"","sources":["../../dart/generated/models/AttachmentCreateFromUrl.ts"],"names":[],"mappings":""}
@@ -68,4 +68,20 @@ export type ConciseTask = {
68
68
  * The custom properties, which is a dict of custom properties that are associated with the task.
69
69
  */
70
70
  customProperties?: CustomProperties | null;
71
+ /**
72
+ * The name or email (moniker) of the user that created the task.
73
+ */
74
+ createdBy?: string | null;
75
+ /**
76
+ * The date and time when the task was created in ISO format.
77
+ */
78
+ createdAt: string;
79
+ /**
80
+ * The name or email (moniker) of the user that last updated the task.
81
+ */
82
+ updatedBy?: string | null;
83
+ /**
84
+ * The date and time when the task was last updated in ISO format.
85
+ */
86
+ updatedAt: string;
71
87
  };
@@ -79,4 +79,20 @@ export type Task = {
79
79
  * The relationships associated with the task.
80
80
  */
81
81
  taskRelationships?: TaskRelationships | null;
82
+ /**
83
+ * The name or email (moniker) of the user that created the task.
84
+ */
85
+ createdBy?: string | null;
86
+ /**
87
+ * The date and time when the task was created in ISO format.
88
+ */
89
+ createdAt: string;
90
+ /**
91
+ * The name or email (moniker) of the user that last updated the task.
92
+ */
93
+ updatedBy?: string | null;
94
+ /**
95
+ * The date and time when the task was last updated in ISO format.
96
+ */
97
+ updatedAt: string;
82
98
  };
@@ -0,0 +1,14 @@
1
+ import type { Attachment } from "../models/Attachment";
2
+ import type { AttachmentCreateFromUrl } from "../models/AttachmentCreateFromUrl";
3
+ import type { CancelablePromise } from "../core/CancelablePromise";
4
+ export declare class AttachmentService {
5
+ /**
6
+ * Attach a file from a provided URL to a task
7
+ * Attach a file from a provided URL to a task. The file will be downloaded and attached asynchronously. This operation may take a few moments to complete.
8
+ * @param id
9
+ * @param requestBody
10
+ * @returns Attachment Success, including the attached attachment details
11
+ * @throws ApiError
12
+ */
13
+ static addTaskAttachmentFromUrl(id: string, requestBody: AttachmentCreateFromUrl): CancelablePromise<Attachment>;
14
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttachmentService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class AttachmentService {
7
+ /**
8
+ * Attach a file from a provided URL to a task
9
+ * Attach a file from a provided URL to a task. The file will be downloaded and attached asynchronously. This operation may take a few moments to complete.
10
+ * @param id
11
+ * @param requestBody
12
+ * @returns Attachment Success, including the attached attachment details
13
+ * @throws ApiError
14
+ */
15
+ static addTaskAttachmentFromUrl(id, requestBody) {
16
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
17
+ method: "POST",
18
+ url: "/tasks/{id}/attachments/from-url",
19
+ path: {
20
+ id: id,
21
+ },
22
+ body: requestBody,
23
+ mediaType: "application/json",
24
+ errors: {
25
+ 400: `Invalid request, including the errors`,
26
+ },
27
+ });
28
+ }
29
+ }
30
+ exports.AttachmentService = AttachmentService;
31
+ //# sourceMappingURL=AttachmentService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentService.js","sourceRoot":"","sources":["../../dart/generated/services/AttachmentService.ts"],"names":[],"mappings":";;;AAOA,6CAA0C;AAC1C,6CAAuD;AACvD,MAAa,iBAAiB;IAC5B;;;;;;;OAOG;IACI,MAAM,CAAC,wBAAwB,CACpC,EAAU,EACV,WAAoC;QAEpC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,kCAAkC;YACvC,IAAI,EAAE;gBACJ,EAAE,EAAE,EAAE;aACP;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACN,GAAG,EAAE,uCAAuC;aAC7C;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,8CA0BC"}
@@ -42,7 +42,8 @@ export declare class DocService {
42
42
  * @returns PaginatedConciseDocList
43
43
  * @throws ApiError
44
44
  */
45
- static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }: {
45
+ static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults, o, offset, s, text, title, }: {
46
+ editor?: string;
46
47
  folder?: string;
47
48
  folderId?: string;
48
49
  /**
@@ -54,19 +55,25 @@ export declare class DocService {
54
55
  * Number of results to return per page.
55
56
  */
56
57
  limit?: number;
58
+ /**
59
+ * Controls whether default filters and sorting are applied when false (default) or no defaults are applied when true. Explicit filters or sorting always override defaults.
60
+ */
61
+ noDefaults?: boolean;
57
62
  /**
58
63
  * Ordering
59
64
  *
65
+ * * `folder__order` - Folder order
66
+ * * `-folder__order` - Folder order (desc)
60
67
  * * `order` - Order
61
- * * `-order` - Order (descending)
62
- * * `created_at` - Created at
63
- * * `-created_at` - Created at (descending)
64
- * * `updated_at` - Updated at
65
- * * `-updated_at` - Updated at (descending)
68
+ * * `-order` - Order (desc)
69
+ * * `created_at` - Created
70
+ * * `-created_at` - Created (desc)
71
+ * * `updated_at` - Updated
72
+ * * `-updated_at` - Updated (desc)
66
73
  * * `title` - Title
67
- * * `-title` - Title (descending)
74
+ * * `-title` - Title (desc)
68
75
  */
69
- o?: Array<"-created_at" | "-order" | "-title" | "-updated_at" | "created_at" | "order" | "title" | "updated_at">;
76
+ o?: Array<"-created_at" | "-folder__order" | "-order" | "-title" | "-updated_at" | "created_at" | "folder__order" | "order" | "title" | "updated_at">;
70
77
  /**
71
78
  * The initial index from which to return the results.
72
79
  */
@@ -90,16 +90,18 @@ class DocService {
90
90
  * @returns PaginatedConciseDocList
91
91
  * @throws ApiError
92
92
  */
93
- static listDocs({ folder, folderId, ids, inTrash, limit, o, offset, s, text, title, }) {
93
+ static listDocs({ editor, folder, folderId, ids, inTrash, limit, noDefaults = false, o, offset, s, text, title, }) {
94
94
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
95
95
  method: "GET",
96
96
  url: "/docs/list",
97
97
  query: {
98
+ editor: editor,
98
99
  folder: folder,
99
100
  folder_id: folderId,
100
101
  ids: ids,
101
102
  in_trash: inTrash,
102
103
  limit: limit,
104
+ no_defaults: noDefaults,
103
105
  o: o,
104
106
  offset: offset,
105
107
  s: s,
@@ -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,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,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AAK;aACb;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAvJD,gCAuJC"}
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,MAAM,EACN,QAAQ,EACR,GAAG,EACH,OAAO,EACP,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,CAAC,EACD,MAAM,EACN,CAAC,EACD,IAAI,EACJ,KAAK,GAsDN;QACC,OAAO,IAAA,iBAAS,EAAC,iBAAO,EAAE;YACxB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,QAAQ;gBACnB,GAAG,EAAE,GAAG;gBACR,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,UAAU;gBACvB,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;AA7KD,gCA6KC"}
@@ -42,9 +42,14 @@ export declare class TaskService {
42
42
  * @returns PaginatedConciseTaskList
43
43
  * @throws ApiError
44
44
  */
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, }: {
45
+ static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }: {
46
46
  assignee?: string;
47
47
  assigneeId?: string;
48
+ createdAt?: string;
49
+ createdAtAfter?: string;
50
+ createdAtBefore?: string;
51
+ createdBy?: string;
52
+ createdById?: string;
48
53
  dartboard?: string;
49
54
  dartboardId?: string;
50
55
  description?: string;
@@ -61,6 +66,25 @@ export declare class TaskService {
61
66
  * Number of results to return per page.
62
67
  */
63
68
  limit?: number;
69
+ /**
70
+ * Controls whether default filters and sorting are applied when false (default) or no defaults are applied when true. Explicit filters or sorting always override defaults.
71
+ */
72
+ noDefaults?: boolean;
73
+ /**
74
+ * Ordering
75
+ *
76
+ * * `dartboard__order` - Dartboard order
77
+ * * `-dartboard__order` - Dartboard order (desc)
78
+ * * `order` - Order
79
+ * * `-order` - Order (desc)
80
+ * * `created_at` - Created
81
+ * * `-created_at` - Created (desc)
82
+ * * `updated_at` - Updated
83
+ * * `-updated_at` - Updated (desc)
84
+ * * `title` - Title
85
+ * * `-title` - Title (desc)
86
+ */
87
+ o?: Array<"-created_at" | "-dartboard__order" | "-order" | "-title" | "-updated_at" | "created_at" | "dartboard__order" | "order" | "title" | "updated_at">;
64
88
  /**
65
89
  * The initial index from which to return the results.
66
90
  */
@@ -78,6 +102,11 @@ export declare class TaskService {
78
102
  title?: string;
79
103
  type?: string;
80
104
  typeId?: string;
105
+ updatedAt?: string;
106
+ updatedAtAfter?: string;
107
+ updatedAtBefore?: string;
108
+ updatedBy?: string;
109
+ updatedById?: string;
81
110
  view?: string;
82
111
  viewId?: string;
83
112
  }): CancelablePromise<PaginatedConciseTaskList>;
@@ -87,13 +87,18 @@ class TaskService {
87
87
  * @returns PaginatedConciseTaskList
88
88
  * @throws ApiError
89
89
  */
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, }) {
90
+ static listTasks({ assignee, assigneeId, createdAt, createdAtAfter, createdAtBefore, createdBy, createdById, dartboard, dartboardId, description, dueAt, dueAtAfter, dueAtBefore, ids, inTrash, isCompleted, limit, noDefaults = false, o, offset, parentId, priority, size, startAt, startAtAfter, startAtBefore, status, statusId, tag, tagId, title, type, typeId, updatedAt, updatedAtAfter, updatedAtBefore, updatedBy, updatedById, view, viewId, }) {
91
91
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
92
92
  method: "GET",
93
93
  url: "/tasks/list",
94
94
  query: {
95
95
  assignee: assignee,
96
96
  assignee_id: assigneeId,
97
+ created_at: createdAt,
98
+ created_at_after: createdAtAfter,
99
+ created_at_before: createdAtBefore,
100
+ created_by: createdBy,
101
+ created_by_id: createdById,
97
102
  dartboard: dartboard,
98
103
  dartboard_id: dartboardId,
99
104
  description: description,
@@ -104,6 +109,8 @@ class TaskService {
104
109
  in_trash: inTrash,
105
110
  is_completed: isCompleted,
106
111
  limit: limit,
112
+ no_defaults: noDefaults,
113
+ o: o,
107
114
  offset: offset,
108
115
  parent_id: parentId,
109
116
  priority: priority,
@@ -118,6 +125,11 @@ class TaskService {
118
125
  title: title,
119
126
  type: type,
120
127
  type_id: typeId,
128
+ updated_at: updatedAt,
129
+ updated_at_after: updatedAtAfter,
130
+ updated_at_before: updatedAtBefore,
131
+ updated_by: updatedBy,
132
+ updated_by_id: updatedById,
121
133
  view: view,
122
134
  view_id: viewId,
123
135
  },
@@ -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,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,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"}
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,MAA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AAE,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,UAAU,EAAE,SAAS;gBACrB,gBAAgB,EAAE,cAAc;gBAChC,iBAAiB,EAAE,eAAe;gBAClC,UAAU,EAAE,SAAS;gBACrB,aAAa,EAAE,WAAW;gBAC1B,IAAI,EAAE,IAAI;gBACV,OAAO,EAAE,MAAM;aAChB;SACF,CAAC,CAAC;IACL,CAAC;CACF;AA3PD,kCA2PC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dart-tools",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "The Dart TypeScript/JavaScript client",
5
5
  "keywords": [
6
6
  "dart",