@doist/todoist-api-typescript 4.0.0-alpha.3 → 4.0.0-alpha.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const API_VERSION = "v9.
|
|
2
|
-
export declare const API_BASE_URI = "/api/v9.
|
|
1
|
+
export declare const API_VERSION = "v9.217";
|
|
2
|
+
export declare const API_BASE_URI = "/api/v9.217/";
|
|
3
3
|
export declare function getSyncBaseUri(domainBase?: string): string;
|
|
4
4
|
export declare function getAuthBaseUri(domainBase?: string): string;
|
|
5
5
|
export declare const ENDPOINT_REST_TASKS = "tasks";
|
|
@@ -13,7 +13,7 @@ export declare const ENDPOINT_REST_COMMENTS = "comments";
|
|
|
13
13
|
export declare const ENDPOINT_REST_TASK_CLOSE = "close";
|
|
14
14
|
export declare const ENDPOINT_REST_TASK_REOPEN = "reopen";
|
|
15
15
|
export declare const ENDPOINT_REST_PROJECT_COLLABORATORS = "collaborators";
|
|
16
|
-
export declare const ENDPOINT_SYNC_QUICK_ADD
|
|
16
|
+
export declare const ENDPOINT_SYNC_QUICK_ADD: string;
|
|
17
17
|
export declare const ENDPOINT_SYNC = "sync";
|
|
18
18
|
export declare const ENDPOINT_AUTHORIZATION = "authorize";
|
|
19
19
|
export declare const ENDPOINT_GET_TOKEN = "access_token";
|
package/dist/consts/endpoints.js
CHANGED
|
@@ -5,7 +5,7 @@ var BASE_URI = 'https://api.todoist.com';
|
|
|
5
5
|
var TODOIST_URI = 'https://todoist.com';
|
|
6
6
|
// The API version is not configurable, to ensure
|
|
7
7
|
// compatibility between the API and the client.
|
|
8
|
-
exports.API_VERSION = 'v9.
|
|
8
|
+
exports.API_VERSION = 'v9.217';
|
|
9
9
|
exports.API_BASE_URI = "/api/".concat(exports.API_VERSION, "/");
|
|
10
10
|
var API_AUTHORIZATION_BASE_URI = '/oauth/';
|
|
11
11
|
function getSyncBaseUri(domainBase) {
|
|
@@ -29,7 +29,7 @@ exports.ENDPOINT_REST_COMMENTS = 'comments';
|
|
|
29
29
|
exports.ENDPOINT_REST_TASK_CLOSE = 'close';
|
|
30
30
|
exports.ENDPOINT_REST_TASK_REOPEN = 'reopen';
|
|
31
31
|
exports.ENDPOINT_REST_PROJECT_COLLABORATORS = 'collaborators';
|
|
32
|
-
exports.ENDPOINT_SYNC_QUICK_ADD = 'quick';
|
|
32
|
+
exports.ENDPOINT_SYNC_QUICK_ADD = exports.ENDPOINT_REST_TASKS + '/quick';
|
|
33
33
|
exports.ENDPOINT_SYNC = 'sync';
|
|
34
34
|
exports.ENDPOINT_AUTHORIZATION = 'authorize';
|
|
35
35
|
exports.ENDPOINT_GET_TOKEN = 'access_token';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-api-typescript",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.5",
|
|
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",
|