@doist/todoist-sdk 15.8.0 → 15.8.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.
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import type { DateFormat, DayOfWeek, TimeFormat } from '../user-preferences.js';
|
|
2
2
|
export type UserStatusEffectArgs = {
|
|
3
3
|
scope?: {
|
|
4
|
-
mode
|
|
4
|
+
mode?: string;
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
7
|
+
/** Only supplied fields change. Null removes optional fields and effects. */
|
|
8
8
|
export type UserStatusArgs = {
|
|
9
|
-
message
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
/** Required when creating a status; omit to preserve the existing message. */
|
|
10
|
+
message?: string;
|
|
11
|
+
emoji?: string | null;
|
|
12
|
+
/** Must be in the future; null removes expiry, omission preserves it. Dates are sent as ISO strings. */
|
|
13
|
+
activeUntil?: Date | string | null;
|
|
14
|
+
/** Supplied effects are merged; null clears all effects, omission or {} preserves them. */
|
|
13
15
|
effects?: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
/** Null removes the effect; {} preserves its configuration or enables it with defaults. */
|
|
17
|
+
pauseNotifications?: UserStatusEffectArgs | null;
|
|
18
|
+
/** Null removes the effect; {} preserves its configuration or enables it with defaults. */
|
|
19
|
+
pauseActivity?: UserStatusEffectArgs | null;
|
|
20
|
+
} | null;
|
|
17
21
|
};
|
|
18
22
|
export type UserUpdateArgs = {
|
|
19
23
|
fullName?: string;
|
package/package.json
CHANGED