@doist/todoist-sdk 10.5.0 → 11.0.0
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/cjs/consts/endpoints.js +1 -6
- package/dist/cjs/test-utils/test-defaults.js +2 -26
- package/dist/cjs/test-utils/transport-seam.js +17 -0
- package/dist/cjs/test-utils/webhook-fixtures.js +1 -1
- package/dist/cjs/todoist-api.js +0 -101
- package/dist/cjs/transport/fetch-with-retry.js +19 -7
- package/dist/cjs/transport/http-dispatcher.js +60 -15
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/types/sync/commands/index.js +0 -2
- package/dist/cjs/types/sync/resource-types.js +0 -2
- package/dist/cjs/types/sync/resources/index.js +0 -1
- package/dist/cjs/types/sync/response.js +10 -13
- package/dist/cjs/utils/validators.js +50 -54
- package/dist/esm/consts/endpoints.js +0 -5
- package/dist/esm/test-utils/test-defaults.js +0 -24
- package/dist/esm/test-utils/transport-seam.js +15 -0
- package/dist/esm/test-utils/webhook-fixtures.js +1 -1
- package/dist/esm/todoist-api.js +0 -101
- package/dist/esm/transport/fetch-with-retry.js +20 -8
- package/dist/esm/transport/http-dispatcher.js +58 -15
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/types/sync/commands/index.js +0 -2
- package/dist/esm/types/sync/resource-types.js +0 -2
- package/dist/esm/types/sync/resources/index.js +0 -1
- package/dist/esm/types/sync/response.js +1 -4
- package/dist/esm/utils/validators.js +1 -4
- package/dist/types/consts/endpoints.d.ts +0 -5
- package/dist/types/test-utils/test-defaults.d.ts +1 -4
- package/dist/types/todoist-api.d.ts +0 -80
- package/dist/types/transport/http-dispatcher.d.ts +36 -0
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types/types/sync/commands/index.d.ts +0 -16
- package/dist/types/types/sync/resource-types.d.ts +1 -1
- package/dist/types/types/sync/resources/index.d.ts +0 -1
- package/dist/types/types/sync/resources/view-options.d.ts +6 -6
- package/dist/types/types/sync/response.d.ts +4 -45
- package/dist/types/types/tasks/requests.d.ts +0 -1
- package/dist/types/utils/validators.d.ts +8 -90
- package/package.json +1 -1
- package/dist/cjs/clients/goals-client.js +0 -144
- package/dist/cjs/types/goals/index.js +0 -18
- package/dist/cjs/types/goals/requests.js +0 -2
- package/dist/cjs/types/goals/types.js +0 -56
- package/dist/cjs/types/sync/commands/goals.js +0 -2
- package/dist/cjs/types/sync/commands/workspace-goals.js +0 -2
- package/dist/cjs/types/sync/resources/workspace-goals.js +0 -26
- package/dist/esm/clients/goals-client.js +0 -140
- package/dist/esm/types/goals/index.js +0 -2
- package/dist/esm/types/goals/types.js +0 -53
- package/dist/esm/types/sync/commands/goals.js +0 -1
- package/dist/esm/types/sync/commands/workspace-goals.js +0 -1
- package/dist/esm/types/sync/resources/workspace-goals.js +0 -23
- package/dist/types/clients/goals-client.d.ts +0 -20
- package/dist/types/types/goals/index.d.ts +0 -2
- package/dist/types/types/goals/requests.d.ts +0 -33
- package/dist/types/types/goals/types.d.ts +0 -51
- package/dist/types/types/sync/commands/goals.d.ts +0 -33
- package/dist/types/types/sync/commands/workspace-goals.d.ts +0 -24
- package/dist/types/types/sync/resources/workspace-goals.d.ts +0 -29
- /package/dist/{esm/types/goals/requests.js → types/test-utils/transport-seam.d.ts} +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const WorkspaceGoalMilestoneSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
title: z.ZodString;
|
|
5
|
-
isCompleted: z.ZodBoolean;
|
|
6
|
-
}, z.core.$loose>;
|
|
7
|
-
export type WorkspaceGoalMilestone = z.infer<typeof WorkspaceGoalMilestoneSchema>;
|
|
8
|
-
export declare const WorkspaceGoalProgressSchema: z.ZodObject<{
|
|
9
|
-
completedItems: z.ZodNumber;
|
|
10
|
-
totalItems: z.ZodNumber;
|
|
11
|
-
}, z.core.$loose>;
|
|
12
|
-
export type WorkspaceGoalProgress = z.infer<typeof WorkspaceGoalProgressSchema>;
|
|
13
|
-
export declare const WorkspaceGoalSchema: z.ZodObject<{
|
|
14
|
-
id: z.ZodString;
|
|
15
|
-
workspaceId: z.ZodString;
|
|
16
|
-
title: z.ZodString;
|
|
17
|
-
description: z.ZodNullable<z.ZodString>;
|
|
18
|
-
deadline: z.ZodNullable<z.ZodString>;
|
|
19
|
-
isDeleted: z.ZodBoolean;
|
|
20
|
-
projectIds: z.ZodArray<z.ZodString>;
|
|
21
|
-
progress: z.ZodNullable<z.ZodObject<{
|
|
22
|
-
completedItems: z.ZodNumber;
|
|
23
|
-
totalItems: z.ZodNumber;
|
|
24
|
-
}, z.core.$loose>>;
|
|
25
|
-
creatorUid: z.ZodString;
|
|
26
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
27
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
28
|
-
}, z.core.$loose>;
|
|
29
|
-
export type WorkspaceGoal = z.infer<typeof WorkspaceGoalSchema>;
|
|
File without changes
|