@wspc/cli 0.0.20 → 0.0.21

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/index.d.ts CHANGED
@@ -8,10 +8,6 @@ type Comment = {
8
8
  updated_at: number;
9
9
  deleted_at?: number;
10
10
  };
11
- type CreateProjectBody = {
12
- name: string;
13
- default_todo_type_id?: string;
14
- };
15
11
  type Project = {
16
12
  id: string;
17
13
  org_id: string;
@@ -23,6 +19,10 @@ type Project = {
23
19
  updated_at: number;
24
20
  deleted_at?: number;
25
21
  };
22
+ type CreateProjectBody = {
23
+ name: string;
24
+ default_todo_type_id?: string;
25
+ };
26
26
  type RecurrenceRule = {
27
27
  id: string;
28
28
  user_id: string;
@@ -38,6 +38,28 @@ type RecurrenceRule = {
38
38
  updated_at: number;
39
39
  deleted_at?: number;
40
40
  };
41
+ type Todo = {
42
+ id: string;
43
+ user_id: string;
44
+ /**
45
+ * Project id this todo belongs to. Use /todo/projects/{id} to inspect the project.
46
+ */
47
+ project_id: string;
48
+ title: string;
49
+ description?: string;
50
+ status: 'open' | 'in_progress' | 'done' | 'cancelled';
51
+ parent_id: string | null;
52
+ child_count: number;
53
+ version: number;
54
+ created_at: number;
55
+ updated_at: number;
56
+ deleted_at?: number;
57
+ due_at?: string;
58
+ type_id: string;
59
+ custom_fields?: {
60
+ [key: string]: string | Array<string>;
61
+ };
62
+ };
41
63
  type CreateTodoBody = {
42
64
  /**
43
65
  * Short human-readable summary of the work item. Required, non-empty. Shown as the primary label in CLI list output.
@@ -74,28 +96,6 @@ type CreateTodoBody = {
74
96
  [key: string]: string | Array<string>;
75
97
  };
76
98
  };
77
- type Todo = {
78
- id: string;
79
- user_id: string;
80
- /**
81
- * Project id this todo belongs to. Use /todo/projects/{id} to inspect the project.
82
- */
83
- project_id: string;
84
- title: string;
85
- description?: string;
86
- status: 'open' | 'in_progress' | 'done' | 'cancelled';
87
- parent_id: string | null;
88
- child_count: number;
89
- version: number;
90
- created_at: number;
91
- updated_at: number;
92
- deleted_at?: number;
93
- due_at?: string;
94
- type_id: string;
95
- custom_fields?: {
96
- [key: string]: string | Array<string>;
97
- };
98
- };
99
99
  type TodoType = {
100
100
  id: string;
101
101
  /**
@@ -621,9 +621,9 @@ interface TDataShape {
621
621
  type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
622
622
  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'>);
623
623
 
624
- declare const VERSION = "0.0.20";
625
- declare const SPEC_SHA = "1b183552";
626
- declare const SPEC_FETCHED_AT = "2026-06-17T12:14:35.785Z";
624
+ declare const VERSION = "0.0.21";
625
+ declare const SPEC_SHA = "dcbc193f";
626
+ declare const SPEC_FETCHED_AT = "2026-06-17T16:32:49.096Z";
627
627
  declare const API_BASE = "https://api.wspc.ai";
628
628
 
629
629
  type WspcClientOptions = {
package/dist/index.js CHANGED
@@ -784,9 +784,9 @@ var createClient = (config = {}) => {
784
784
  };
785
785
 
786
786
  // src/version.ts
787
- var VERSION = "0.0.20";
788
- var SPEC_SHA = "1b183552";
789
- var SPEC_FETCHED_AT = "2026-06-17T12:14:35.785Z";
787
+ var VERSION = "0.0.21";
788
+ var SPEC_SHA = "dcbc193f";
789
+ var SPEC_FETCHED_AT = "2026-06-17T16:32:49.096Z";
790
790
  var API_BASE = "https://api.wspc.ai";
791
791
 
792
792
  // src/handwritten/auth/sdk-auth.ts