@doist/todoist-api-typescript 5.0.0 → 5.0.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.
@@ -1,4 +1,4 @@
1
- export declare const TODOIST_WEB_URI = "https://app/todoist.com/app";
1
+ export declare const TODOIST_WEB_URI = "https://app.todoist.com/app";
2
2
  export declare const API_VERSION = "v1";
3
3
  export declare const API_BASE_URI = "/api/v1/";
4
4
  export declare function getSyncBaseUri(domainBase?: string): string;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ENDPOINT_REVOKE_TOKEN = exports.ENDPOINT_GET_TOKEN = exports.ENDPOINT_AUTHORIZATION = exports.ENDPOINT_SYNC = exports.ENDPOINT_SYNC_QUICK_ADD = exports.ENDPOINT_REST_PROJECT_COLLABORATORS = exports.ENDPOINT_REST_TASK_REOPEN = exports.ENDPOINT_REST_TASK_CLOSE = exports.ENDPOINT_REST_COMMENTS = exports.ENDPOINT_REST_LABELS_SHARED_REMOVE = exports.ENDPOINT_REST_LABELS_SHARED_RENAME = exports.ENDPOINT_REST_LABELS_SHARED = exports.ENDPOINT_REST_LABELS = exports.ENDPOINT_REST_SECTIONS = exports.ENDPOINT_REST_PROJECTS = exports.ENDPOINT_REST_TASKS_FILTER = exports.ENDPOINT_REST_TASKS = exports.getAuthBaseUri = exports.getSyncBaseUri = exports.API_BASE_URI = exports.API_VERSION = exports.TODOIST_WEB_URI = void 0;
4
4
  var BASE_URI = 'https://api.todoist.com';
5
5
  var TODOIST_URI = 'https://todoist.com';
6
- exports.TODOIST_WEB_URI = 'https://app/todoist.com/app';
6
+ exports.TODOIST_WEB_URI = 'https://app.todoist.com/app';
7
7
  // The API version is not configurable, to ensure
8
8
  // compatibility between the API and the client.
9
9
  exports.API_VERSION = 'v1';
@@ -463,7 +463,7 @@ export declare const WorkspaceProjectSchema: z.ZodEffects<z.ZodObject<z.objectUt
463
463
  isShared: z.ZodBoolean;
464
464
  }, {
465
465
  collaboratorRoleDefault: z.ZodString;
466
- folderId: z.ZodNullable<z.ZodBoolean>;
466
+ folderId: z.ZodNullable<z.ZodString>;
467
467
  isInviteOnly: z.ZodNullable<z.ZodBoolean>;
468
468
  isLinkSharingEnabled: z.ZodBoolean;
469
469
  role: z.ZodNullable<z.ZodString>;
@@ -488,7 +488,7 @@ export declare const WorkspaceProjectSchema: z.ZodEffects<z.ZodObject<z.objectUt
488
488
  defaultOrder: number;
489
489
  isShared: boolean;
490
490
  collaboratorRoleDefault: string;
491
- folderId: boolean | null;
491
+ folderId: string | null;
492
492
  isInviteOnly: boolean | null;
493
493
  isLinkSharingEnabled: boolean;
494
494
  role: string | null;
@@ -512,7 +512,7 @@ export declare const WorkspaceProjectSchema: z.ZodEffects<z.ZodObject<z.objectUt
512
512
  defaultOrder: number;
513
513
  isShared: boolean;
514
514
  collaboratorRoleDefault: string;
515
- folderId: boolean | null;
515
+ folderId: string | null;
516
516
  isInviteOnly: boolean | null;
517
517
  isLinkSharingEnabled: boolean;
518
518
  role: string | null;
@@ -537,7 +537,7 @@ export declare const WorkspaceProjectSchema: z.ZodEffects<z.ZodObject<z.objectUt
537
537
  defaultOrder: number;
538
538
  isShared: boolean;
539
539
  collaboratorRoleDefault: string;
540
- folderId: boolean | null;
540
+ folderId: string | null;
541
541
  isInviteOnly: boolean | null;
542
542
  isLinkSharingEnabled: boolean;
543
543
  role: string | null;
@@ -561,7 +561,7 @@ export declare const WorkspaceProjectSchema: z.ZodEffects<z.ZodObject<z.objectUt
561
561
  defaultOrder: number;
562
562
  isShared: boolean;
563
563
  collaboratorRoleDefault: string;
564
- folderId: boolean | null;
564
+ folderId: string | null;
565
565
  isInviteOnly: boolean | null;
566
566
  isLinkSharingEnabled: boolean;
567
567
  role: string | null;
@@ -110,7 +110,7 @@ exports.PersonalProjectSchema = exports.BaseProjectSchema.extend({
110
110
  */
111
111
  exports.WorkspaceProjectSchema = exports.BaseProjectSchema.extend({
112
112
  collaboratorRoleDefault: zod_1.z.string(),
113
- folderId: zod_1.z.boolean().nullable(),
113
+ folderId: zod_1.z.string().nullable(),
114
114
  isInviteOnly: zod_1.z.boolean().nullable(),
115
115
  isLinkSharingEnabled: zod_1.z.boolean(),
116
116
  role: zod_1.z.string().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-api-typescript",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
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",