@wspc/cli 0.0.9 → 0.0.10
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/cli.js +11 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +69 -13
package/dist/index.d.ts
CHANGED
|
@@ -144,12 +144,18 @@ type TodoWithRelations = {
|
|
|
144
144
|
};
|
|
145
145
|
children?: Array<Todo>;
|
|
146
146
|
comments?: Array<Comment>;
|
|
147
|
+
children_next_cursor?: string;
|
|
148
|
+
comments_next_cursor?: string;
|
|
147
149
|
};
|
|
148
150
|
type ListRecurrenceRulesResponse = {
|
|
149
151
|
rules: Array<RecurrenceRule>;
|
|
150
152
|
};
|
|
151
153
|
type ListTodosResponse = {
|
|
152
154
|
todos: Array<Todo>;
|
|
155
|
+
/**
|
|
156
|
+
* Opaque cursor for the next page. Absent on the last page.
|
|
157
|
+
*/
|
|
158
|
+
next_cursor?: string;
|
|
153
159
|
};
|
|
154
160
|
type UpdateTodoBody = {
|
|
155
161
|
expected_version?: number;
|
|
@@ -225,6 +231,14 @@ type TodoListData = {
|
|
|
225
231
|
sort_by?: string;
|
|
226
232
|
order?: 'asc' | 'desc';
|
|
227
233
|
include_orphan_fields?: string | Array<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Max todos to return. Clamped to [1, 200]. Default 50 server-side.
|
|
236
|
+
*/
|
|
237
|
+
limit?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Opaque pagination cursor returned in `next_cursor` of a previous response.
|
|
240
|
+
*/
|
|
241
|
+
cursor?: string;
|
|
228
242
|
};
|
|
229
243
|
url: '/todo/items';
|
|
230
244
|
};
|
|
@@ -570,9 +584,9 @@ interface TDataShape {
|
|
|
570
584
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
571
585
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
572
586
|
|
|
573
|
-
declare const VERSION = "0.0.
|
|
574
|
-
declare const SPEC_SHA = "
|
|
575
|
-
declare const SPEC_FETCHED_AT = "2026-06-
|
|
587
|
+
declare const VERSION = "0.0.10";
|
|
588
|
+
declare const SPEC_SHA = "e0b67542";
|
|
589
|
+
declare const SPEC_FETCHED_AT = "2026-06-09T03:25:50.002Z";
|
|
576
590
|
declare const API_BASE = "https://api.wspc.ai";
|
|
577
591
|
|
|
578
592
|
type WspcClientOptions = {
|
package/dist/index.js
CHANGED
|
@@ -902,9 +902,9 @@ var todoUpdate = (options) => (options.client ?? client).patch({
|
|
|
902
902
|
});
|
|
903
903
|
|
|
904
904
|
// src/version.ts
|
|
905
|
-
var VERSION = "0.0.
|
|
906
|
-
var SPEC_SHA = "
|
|
907
|
-
var SPEC_FETCHED_AT = "2026-06-
|
|
905
|
+
var VERSION = "0.0.10";
|
|
906
|
+
var SPEC_SHA = "e0b67542";
|
|
907
|
+
var SPEC_FETCHED_AT = "2026-06-09T03:25:50.002Z";
|
|
908
908
|
var API_BASE = "https://api.wspc.ai";
|
|
909
909
|
|
|
910
910
|
// src/index.ts
|