@doist/todoist-api-typescript 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ export declare class TodoistApi {
19
19
  updateProject(id: string, args: UpdateProjectArgs, requestId?: string): Promise<Project>;
20
20
  deleteProject(id: string, requestId?: string): Promise<boolean>;
21
21
  getProjectCollaborators(projectId: string): Promise<User[]>;
22
- getSections(projectId?: number): Promise<Section[]>;
22
+ getSections(projectId?: string): Promise<Section[]>;
23
23
  getSection(id: string): Promise<Section>;
24
24
  addSection(args: AddSectionArgs, requestId?: string): Promise<Section>;
25
25
  updateSection(id: string, args: UpdateSectionArgs, requestId?: string): Promise<Section>;
@@ -42,13 +42,13 @@ export declare type ProjectViewStyle = 'list' | 'board';
42
42
  export declare type AddProjectArgs = {
43
43
  name: string;
44
44
  parentId?: string;
45
- color?: number;
45
+ color?: string;
46
46
  isFavorite?: boolean;
47
47
  viewStyle?: ProjectViewStyle;
48
48
  };
49
49
  export declare type UpdateProjectArgs = {
50
50
  name?: string;
51
- color?: number;
51
+ color?: string;
52
52
  isFavorite?: boolean;
53
53
  viewStyle?: ProjectViewStyle;
54
54
  };
@@ -63,13 +63,13 @@ export declare type UpdateSectionArgs = {
63
63
  export declare type AddLabelArgs = {
64
64
  name: string;
65
65
  order?: number;
66
- color?: number;
66
+ color?: string;
67
67
  isFavorite?: boolean;
68
68
  };
69
69
  export declare type UpdateLabelArgs = {
70
70
  name?: string;
71
71
  order?: number;
72
- color?: number;
72
+ color?: string;
73
73
  isFavorite?: boolean;
74
74
  };
75
75
  export declare type GetTaskCommentsArgs = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-api-typescript",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A typescript wrapper for the Todoist REST API.",
5
5
  "author": "Doist developers",
6
6
  "repository": "git@github.com:doist/todoist-api-typescript.git",
@@ -25,21 +25,21 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "axios": "^0.27.0",
28
- "axios-case-converter": "^0.9.0",
28
+ "axios-case-converter": "^0.11.0",
29
29
  "axios-retry": "^3.1.9",
30
30
  "runtypes": "^6.5.0",
31
31
  "ts-custom-error": "^3.2.0",
32
32
  "uuid": "^9.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@doist/eslint-config": "7.5.0",
35
+ "@doist/eslint-config": "8.0.1",
36
36
  "@doist/prettier-config": "3.0.5",
37
37
  "@types/axios": "0.14.0",
38
38
  "@types/jest": "27.5.2",
39
39
  "@types/uuid": "8.3.4",
40
- "@typescript-eslint/eslint-plugin": "5.39.0",
41
- "@typescript-eslint/parser": "5.39.0",
42
- "eslint": "8.25.0",
40
+ "@typescript-eslint/eslint-plugin": "5.42.0",
41
+ "@typescript-eslint/parser": "5.42.0",
42
+ "eslint": "8.26.0",
43
43
  "eslint-config-prettier": "8.5.0",
44
44
  "eslint-import-resolver-webpack": "0.13.2",
45
45
  "eslint-plugin-import": "2.26.0",