@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/cli.js
CHANGED
|
@@ -1206,9 +1206,9 @@ var ConfigStore = class {
|
|
|
1206
1206
|
};
|
|
1207
1207
|
|
|
1208
1208
|
// src/version.ts
|
|
1209
|
-
var VERSION = "0.0.
|
|
1210
|
-
var SPEC_SHA = "
|
|
1211
|
-
var SPEC_FETCHED_AT = "2026-06-
|
|
1209
|
+
var VERSION = "0.0.10";
|
|
1210
|
+
var SPEC_SHA = "e0b67542";
|
|
1211
|
+
var SPEC_FETCHED_AT = "2026-06-09T03:25:50.002Z";
|
|
1212
1212
|
var API_BASE = "https://api.wspc.ai";
|
|
1213
1213
|
|
|
1214
1214
|
// src/index.ts
|
|
@@ -2723,7 +2723,7 @@ var todoCommentCreateCommand = new Command34("add").description("Add a comment t
|
|
|
2723
2723
|
|
|
2724
2724
|
// src/generated/cli/todo/comment/ls.ts
|
|
2725
2725
|
import { Command as Command35 } from "commander";
|
|
2726
|
-
var todoCommentListCommand = new Command35("ls").description("List comments on a todo").argument("<id>", "id").option("--order <value>", "order").option("--include-deleted <value>", "include_deleted").action(async (id, opts) => {
|
|
2726
|
+
var todoCommentListCommand = new Command35("ls").description("List comments on a todo").argument("<id>", "id").option("--order <value>", "order").option("--include-deleted <value>", "include_deleted").option("--limit <value>", "limit").option("--cursor <value>", "cursor").action(async (id, opts) => {
|
|
2727
2727
|
const client2 = await loadSdkClient();
|
|
2728
2728
|
const result = await todoCommentList({
|
|
2729
2729
|
client: client2._rawClient,
|
|
@@ -2732,7 +2732,9 @@ var todoCommentListCommand = new Command35("ls").description("List comments on a
|
|
|
2732
2732
|
},
|
|
2733
2733
|
query: {
|
|
2734
2734
|
order: opts.order,
|
|
2735
|
-
include_deleted: opts.includeDeleted
|
|
2735
|
+
include_deleted: opts.includeDeleted,
|
|
2736
|
+
limit: opts.limit,
|
|
2737
|
+
cursor: opts.cursor
|
|
2736
2738
|
}
|
|
2737
2739
|
});
|
|
2738
2740
|
if (result.error || !result.response?.ok) {
|
|
@@ -2841,7 +2843,7 @@ var todoCreateCommand = new Command39("add").description("Create a todo").argume
|
|
|
2841
2843
|
|
|
2842
2844
|
// src/generated/cli/todo/ls.ts
|
|
2843
2845
|
import { Command as Command40 } from "commander";
|
|
2844
|
-
var todoListCommand = new Command40("ls").description("List todos with filters").option("-p, --project <value>", "project_id").option("--user-id <value>", "user_id").option("--parent-id <value>", "parent_id").option("-s, --status <value>", "status").option("--include-deleted <value>", "include_deleted").option("--include-templates <value>", "include_templates").option("--due-after <value>", "due_after").option("--due-before <value>", "due_before").option("--type-id <value>", "type_id").option("--sort-by <value>", "sort_by").option("--order <value>", "order").option("--include-orphan-fields <value>", "include_orphan_fields").action(async (opts) => {
|
|
2846
|
+
var todoListCommand = new Command40("ls").description("List todos with filters").option("-p, --project <value>", "project_id").option("--user-id <value>", "user_id").option("--parent-id <value>", "parent_id").option("-s, --status <value>", "status").option("--include-deleted <value>", "include_deleted").option("--include-templates <value>", "include_templates").option("--due-after <value>", "due_after").option("--due-before <value>", "due_before").option("--type-id <value>", "type_id").option("--sort-by <value>", "sort_by").option("--order <value>", "order").option("--include-orphan-fields <value>", "include_orphan_fields").option("--limit <value>", "limit").option("--cursor <value>", "cursor").action(async (opts) => {
|
|
2845
2847
|
const client2 = await loadSdkClient();
|
|
2846
2848
|
const result = await todoList({
|
|
2847
2849
|
client: client2._rawClient,
|
|
@@ -2857,7 +2859,9 @@ var todoListCommand = new Command40("ls").description("List todos with filters")
|
|
|
2857
2859
|
type_id: opts.typeId,
|
|
2858
2860
|
sort_by: opts.sortBy,
|
|
2859
2861
|
order: opts.order,
|
|
2860
|
-
include_orphan_fields: opts.includeOrphanFields
|
|
2862
|
+
include_orphan_fields: opts.includeOrphanFields,
|
|
2863
|
+
limit: opts.limit,
|
|
2864
|
+
cursor: opts.cursor
|
|
2861
2865
|
}
|
|
2862
2866
|
});
|
|
2863
2867
|
if (result.error || !result.response?.ok) {
|