@doist/todoist-sdk 15.0.2 → 15.1.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/esm/types/sync/resources/filters.js +1 -0
- package/dist/esm/types/sync/resources/workspace-filters.js +1 -0
- package/dist/types/types/sync/commands/filters.d.ts +2 -0
- package/dist/types/types/sync/commands/workspace-filters.d.ts +2 -0
- package/dist/types/types/sync/resources/filters.d.ts +1 -0
- package/dist/types/types/sync/resources/workspace-filters.d.ts +1 -0
- package/dist/types/types/sync/response.d.ts +2 -0
- package/dist/types/types/webhooks/filters.d.ts +3 -0
- package/dist/types/types/webhooks/types.d.ts +3 -0
- package/dist/types/utils/validators.d.ts +4 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import type { ColorKey } from '../../../utils/colors.js';
|
|
|
2
2
|
export type FilterAddArgs = {
|
|
3
3
|
name: string;
|
|
4
4
|
query: string;
|
|
5
|
+
description?: string | null;
|
|
5
6
|
color?: ColorKey;
|
|
6
7
|
itemOrder?: number;
|
|
7
8
|
isFavorite?: boolean;
|
|
@@ -10,6 +11,7 @@ export type FilterUpdateArgs = {
|
|
|
10
11
|
id: string;
|
|
11
12
|
name?: string;
|
|
12
13
|
query?: string;
|
|
14
|
+
description?: string | null;
|
|
13
15
|
color?: ColorKey;
|
|
14
16
|
itemOrder?: number;
|
|
15
17
|
isFavorite?: boolean;
|
|
@@ -3,6 +3,7 @@ export type WorkspaceFilterAddArgs = {
|
|
|
3
3
|
workspaceId: string;
|
|
4
4
|
name: string;
|
|
5
5
|
query: string;
|
|
6
|
+
description?: string | null;
|
|
6
7
|
color?: ColorKey;
|
|
7
8
|
itemOrder?: number;
|
|
8
9
|
isFavorite?: boolean;
|
|
@@ -11,6 +12,7 @@ export type WorkspaceFilterUpdateArgs = {
|
|
|
11
12
|
id: string;
|
|
12
13
|
name?: string;
|
|
13
14
|
query?: string;
|
|
15
|
+
description?: string | null;
|
|
14
16
|
color?: ColorKey;
|
|
15
17
|
itemOrder?: number;
|
|
16
18
|
isFavorite?: boolean;
|
|
@@ -295,6 +295,7 @@ export declare const SyncResponseSchema: z.ZodObject<{
|
|
|
295
295
|
id: z.ZodString;
|
|
296
296
|
name: z.ZodString;
|
|
297
297
|
query: z.ZodString;
|
|
298
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
299
|
color: z.ZodString;
|
|
299
300
|
isDeleted: z.ZodBoolean;
|
|
300
301
|
isFavorite: z.ZodBoolean;
|
|
@@ -726,6 +727,7 @@ export declare const SyncResponseSchema: z.ZodObject<{
|
|
|
726
727
|
workspaceId: z.ZodString;
|
|
727
728
|
name: z.ZodString;
|
|
728
729
|
query: z.ZodString;
|
|
730
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
729
731
|
color: z.ZodString;
|
|
730
732
|
itemOrder: z.ZodNumber;
|
|
731
733
|
isDeleted: z.ZodBoolean;
|
|
@@ -22,6 +22,7 @@ export declare const FilterAddedPayloadSchema: z.ZodObject<{
|
|
|
22
22
|
id: z.ZodString;
|
|
23
23
|
name: z.ZodString;
|
|
24
24
|
query: z.ZodString;
|
|
25
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
26
|
color: z.ZodString;
|
|
26
27
|
isDeleted: z.ZodBoolean;
|
|
27
28
|
isFavorite: z.ZodBoolean;
|
|
@@ -48,6 +49,7 @@ export declare const FilterUpdatedPayloadSchema: z.ZodObject<{
|
|
|
48
49
|
id: z.ZodString;
|
|
49
50
|
name: z.ZodString;
|
|
50
51
|
query: z.ZodString;
|
|
52
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
color: z.ZodString;
|
|
52
54
|
isDeleted: z.ZodBoolean;
|
|
53
55
|
isFavorite: z.ZodBoolean;
|
|
@@ -74,6 +76,7 @@ export declare const FilterDeletedPayloadSchema: z.ZodObject<{
|
|
|
74
76
|
id: z.ZodString;
|
|
75
77
|
name: z.ZodString;
|
|
76
78
|
query: z.ZodString;
|
|
79
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
80
|
color: z.ZodString;
|
|
78
81
|
isDeleted: z.ZodBoolean;
|
|
79
82
|
isFavorite: z.ZodBoolean;
|
|
@@ -2456,6 +2456,7 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2456
2456
|
id: z.ZodString;
|
|
2457
2457
|
name: z.ZodString;
|
|
2458
2458
|
query: z.ZodString;
|
|
2459
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2459
2460
|
color: z.ZodString;
|
|
2460
2461
|
isDeleted: z.ZodBoolean;
|
|
2461
2462
|
isFavorite: z.ZodBoolean;
|
|
@@ -2480,6 +2481,7 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2480
2481
|
id: z.ZodString;
|
|
2481
2482
|
name: z.ZodString;
|
|
2482
2483
|
query: z.ZodString;
|
|
2484
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2483
2485
|
color: z.ZodString;
|
|
2484
2486
|
isDeleted: z.ZodBoolean;
|
|
2485
2487
|
isFavorite: z.ZodBoolean;
|
|
@@ -2504,6 +2506,7 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2504
2506
|
id: z.ZodString;
|
|
2505
2507
|
name: z.ZodString;
|
|
2506
2508
|
query: z.ZodString;
|
|
2509
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2507
2510
|
color: z.ZodString;
|
|
2508
2511
|
isDeleted: z.ZodBoolean;
|
|
2509
2512
|
isFavorite: z.ZodBoolean;
|
|
@@ -752,6 +752,7 @@ export declare const validateFilter: (input: unknown) => {
|
|
|
752
752
|
isFavorite: boolean;
|
|
753
753
|
isFrozen: boolean;
|
|
754
754
|
itemOrder: number;
|
|
755
|
+
description?: string | null | undefined;
|
|
755
756
|
}, validateFilterArray: (input: unknown) => {
|
|
756
757
|
[x: string]: unknown;
|
|
757
758
|
id: string;
|
|
@@ -762,6 +763,7 @@ export declare const validateFilter: (input: unknown) => {
|
|
|
762
763
|
isFavorite: boolean;
|
|
763
764
|
isFrozen: boolean;
|
|
764
765
|
itemOrder: number;
|
|
766
|
+
description?: string | null | undefined;
|
|
765
767
|
}[];
|
|
766
768
|
export declare const validateCollaborator: (input: unknown) => {
|
|
767
769
|
[x: string]: unknown;
|
|
@@ -940,6 +942,7 @@ export declare const validateWorkspaceFilter: (input: unknown) => {
|
|
|
940
942
|
updaterUid: string;
|
|
941
943
|
createdAt: Date;
|
|
942
944
|
updatedAt: Date;
|
|
945
|
+
description?: string | null | undefined;
|
|
943
946
|
}, validateWorkspaceFilterArray: (input: unknown) => {
|
|
944
947
|
[x: string]: unknown;
|
|
945
948
|
id: string;
|
|
@@ -955,6 +958,7 @@ export declare const validateWorkspaceFilter: (input: unknown) => {
|
|
|
955
958
|
updaterUid: string;
|
|
956
959
|
createdAt: Date;
|
|
957
960
|
updatedAt: Date;
|
|
961
|
+
description?: string | null | undefined;
|
|
958
962
|
}[];
|
|
959
963
|
export declare const validateCalendar: (input: unknown) => {
|
|
960
964
|
[x: string]: unknown;
|
package/package.json
CHANGED