@doist/todoist-sdk 8.3.0 → 8.3.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.
@@ -632,6 +632,11 @@ class TodoistApi {
632
632
  /**
633
633
  * Deletes a project by its ID.
634
634
  *
635
+ * If the project is a workspace project, it must have been
636
+ * archived first before it can be deleted, otherwise calling
637
+ * this function will result in an error. Personal projects can
638
+ * be deleted regardless of their archived status.
639
+ *
635
640
  * @param id - The unique identifier of the project to delete.
636
641
  * @param requestId - Optional custom identifier for the request.
637
642
  * @returns A promise that resolves to `true` if successful.
@@ -629,6 +629,11 @@ export class TodoistApi {
629
629
  /**
630
630
  * Deletes a project by its ID.
631
631
  *
632
+ * If the project is a workspace project, it must have been
633
+ * archived first before it can be deleted, otherwise calling
634
+ * this function will result in an error. Personal projects can
635
+ * be deleted regardless of their archived status.
636
+ *
632
637
  * @param id - The unique identifier of the project to delete.
633
638
  * @param requestId - Optional custom identifier for the request.
634
639
  * @returns A promise that resolves to `true` if successful.
@@ -259,6 +259,11 @@ export declare class TodoistApi {
259
259
  /**
260
260
  * Deletes a project by its ID.
261
261
  *
262
+ * If the project is a workspace project, it must have been
263
+ * archived first before it can be deleted, otherwise calling
264
+ * this function will result in an error. Personal projects can
265
+ * be deleted regardless of their archived status.
266
+ *
262
267
  * @param id - The unique identifier of the project to delete.
263
268
  * @param requestId - Optional custom identifier for the request.
264
269
  * @returns A promise that resolves to `true` if successful.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-sdk",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "description": "The official TypeScript SDK for the Todoist REST API.",
5
5
  "author": "Doist developers",
6
6
  "repository": "https://github.com/Doist/todoist-sdk-typescript",