@fulldivevr/workcord-cli 1.0.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.
Files changed (82) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +312 -0
  3. package/dist/auth.js +9 -0
  4. package/dist/cli.js +46 -0
  5. package/dist/client.js +125 -0
  6. package/dist/commands/_group.js +5 -0
  7. package/dist/commands/auth.js +125 -0
  8. package/dist/commands/challenges.js +51 -0
  9. package/dist/commands/custom-agents.js +120 -0
  10. package/dist/commands/dm.js +35 -0
  11. package/dist/commands/messages.js +360 -0
  12. package/dist/commands/room-agents.js +47 -0
  13. package/dist/commands/rooms.js +687 -0
  14. package/dist/commands/users.js +126 -0
  15. package/dist/commands/whoami.js +15 -0
  16. package/dist/generated/_helpers.js +8 -0
  17. package/dist/generated/commands/activity.js +46 -0
  18. package/dist/generated/commands/ai.js +40 -0
  19. package/dist/generated/commands/ambassador.js +34 -0
  20. package/dist/generated/commands/apple-iap.js +61 -0
  21. package/dist/generated/commands/attribution.js +130 -0
  22. package/dist/generated/commands/auth.js +205 -0
  23. package/dist/generated/commands/challenges.js +251 -0
  24. package/dist/generated/commands/clips.js +71 -0
  25. package/dist/generated/commands/contact-match.js +92 -0
  26. package/dist/generated/commands/content-crawler.js +27 -0
  27. package/dist/generated/commands/custom-agents.js +346 -0
  28. package/dist/generated/commands/desktop-releases.js +236 -0
  29. package/dist/generated/commands/discover.js +236 -0
  30. package/dist/generated/commands/dm.js +155 -0
  31. package/dist/generated/commands/drafts.js +41 -0
  32. package/dist/generated/commands/embed.js +34 -0
  33. package/dist/generated/commands/explore.js +19 -0
  34. package/dist/generated/commands/feed.js +67 -0
  35. package/dist/generated/commands/feedback.js +44 -0
  36. package/dist/generated/commands/gamification.js +33 -0
  37. package/dist/generated/commands/google-play-iap.js +73 -0
  38. package/dist/generated/commands/health.js +32 -0
  39. package/dist/generated/commands/internal.js +162 -0
  40. package/dist/generated/commands/interview.js +76 -0
  41. package/dist/generated/commands/invite-redirect.js +20 -0
  42. package/dist/generated/commands/jesuscord-admin.js +36 -0
  43. package/dist/generated/commands/join.js +27 -0
  44. package/dist/generated/commands/kits.js +108 -0
  45. package/dist/generated/commands/meetings.js +81 -0
  46. package/dist/generated/commands/message-folders.js +68 -0
  47. package/dist/generated/commands/messages.js +418 -0
  48. package/dist/generated/commands/one-emulator.js +32 -0
  49. package/dist/generated/commands/pdf-export.js +19 -0
  50. package/dist/generated/commands/pin-folders.js +72 -0
  51. package/dist/generated/commands/pinned-messages.js +81 -0
  52. package/dist/generated/commands/polls.js +152 -0
  53. package/dist/generated/commands/premium-feeds.js +32 -0
  54. package/dist/generated/commands/processors.js +22 -0
  55. package/dist/generated/commands/questions.js +54 -0
  56. package/dist/generated/commands/referrals.js +19 -0
  57. package/dist/generated/commands/reports.js +21 -0
  58. package/dist/generated/commands/room-a2-a.js +81 -0
  59. package/dist/generated/commands/room-agents.js +273 -0
  60. package/dist/generated/commands/room-invites.js +155 -0
  61. package/dist/generated/commands/room-owned-agent.js +36 -0
  62. package/dist/generated/commands/room-page.js +20 -0
  63. package/dist/generated/commands/rooms.js +1117 -0
  64. package/dist/generated/commands/saved-messages.js +84 -0
  65. package/dist/generated/commands/saved-stories.js +125 -0
  66. package/dist/generated/commands/search.js +44 -0
  67. package/dist/generated/commands/shadow-home-agent.js +36 -0
  68. package/dist/generated/commands/shadow.js +64 -0
  69. package/dist/generated/commands/share-cards.js +85 -0
  70. package/dist/generated/commands/share.js +20 -0
  71. package/dist/generated/commands/sponsors.js +20 -0
  72. package/dist/generated/commands/stories.js +324 -0
  73. package/dist/generated/commands/story-by-id.js +20 -0
  74. package/dist/generated/commands/submissions.js +112 -0
  75. package/dist/generated/commands/subscriptions.js +103 -0
  76. package/dist/generated/commands/tips.js +76 -0
  77. package/dist/generated/commands/users.js +373 -0
  78. package/dist/generated/commands/voice-token.js +21 -0
  79. package/dist/generated/commands/well-known.js +32 -0
  80. package/dist/generated/commands/wrapped.js +20 -0
  81. package/dist/generated/index.js +131 -0
  82. package/package.json +60 -0
@@ -0,0 +1,373 @@
1
+ // Auto-generated. Do not edit by hand. Regenerate via `npm run generate`.
2
+ import { Option } from "commander";
3
+ import { call } from "../../client.js";
4
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
5
+ export function register(program) {
6
+ const group = getOrCreateGroup(program, "users", "Users operations");
7
+ if (!hasSubcommand(group, "get-me")) {
8
+ group
9
+ .command("get-me")
10
+ .description("GET /api/v1/users/me")
11
+ .action(async (opts) => {
12
+ const { as } = program.opts();
13
+ if (!as)
14
+ throw new Error("--as <userId> is required");
15
+ const path = `/api/v1/users/me`;
16
+ const data = await call({ method: "GET", path, asUserId: as });
17
+ process.stdout.write(JSON.stringify(data) + "\n");
18
+ });
19
+ }
20
+ if (!hasSubcommand(group, "update-me")) {
21
+ group
22
+ .command("update-me")
23
+ .description("PATCH /api/v1/users/me")
24
+ .option("--body <json>", "request body as JSON (no schema available)")
25
+ .action(async (opts) => {
26
+ const { as } = program.opts();
27
+ if (!as)
28
+ throw new Error("--as <userId> is required");
29
+ const path = `/api/v1/users/me`;
30
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
31
+ const data = await call({ method: "PATCH", path, asUserId: as, body });
32
+ process.stdout.write(JSON.stringify(data) + "\n");
33
+ });
34
+ }
35
+ if (!hasSubcommand(group, "delete-me")) {
36
+ group
37
+ .command("delete-me")
38
+ .description("DELETE /api/v1/users/me")
39
+ .action(async (opts) => {
40
+ const { as } = program.opts();
41
+ if (!as)
42
+ throw new Error("--as <userId> is required");
43
+ const path = `/api/v1/users/me`;
44
+ const data = await call({ method: "DELETE", path, asUserId: as });
45
+ process.stdout.write(JSON.stringify(data) + "\n");
46
+ });
47
+ }
48
+ if (!hasSubcommand(group, "upload-avatar")) {
49
+ group
50
+ .command("upload-avatar")
51
+ .description("POST /api/v1/users/me/avatar")
52
+ .option("--body <json>", "request body as JSON (no schema available)")
53
+ .action(async (opts) => {
54
+ const { as } = program.opts();
55
+ if (!as)
56
+ throw new Error("--as <userId> is required");
57
+ const path = `/api/v1/users/me/avatar`;
58
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
59
+ const data = await call({ method: "POST", path, asUserId: as, body });
60
+ process.stdout.write(JSON.stringify(data) + "\n");
61
+ });
62
+ }
63
+ if (!hasSubcommand(group, "get-level")) {
64
+ group
65
+ .command("get-level")
66
+ .description("GET /api/v1/users/me/level")
67
+ .action(async (opts) => {
68
+ const { as } = program.opts();
69
+ if (!as)
70
+ throw new Error("--as <userId> is required");
71
+ const path = `/api/v1/users/me/level`;
72
+ const data = await call({ method: "GET", path, asUserId: as });
73
+ process.stdout.write(JSON.stringify(data) + "\n");
74
+ });
75
+ }
76
+ if (!hasSubcommand(group, "get-credibility")) {
77
+ group
78
+ .command("get-credibility")
79
+ .description("GET /api/v1/users/me/credibility")
80
+ .action(async (opts) => {
81
+ const { as } = program.opts();
82
+ if (!as)
83
+ throw new Error("--as <userId> is required");
84
+ const path = `/api/v1/users/me/credibility`;
85
+ const data = await call({ method: "GET", path, asUserId: as });
86
+ process.stdout.write(JSON.stringify(data) + "\n");
87
+ });
88
+ }
89
+ if (!hasSubcommand(group, "update-settings")) {
90
+ group
91
+ .command("update-settings")
92
+ .description("PATCH /api/v1/users/me/settings")
93
+ .option("--interface-language <value>", "string")
94
+ .option("--briefing-language <value>", "string")
95
+ .option("--content-region <value>", "string")
96
+ .option("--appearance <value>", "string")
97
+ .option("--text-size <n>", "number")
98
+ .option("--read-receipts <true|false>", "boolean")
99
+ .option("--profile-visibility <value>", "string")
100
+ .option("--invite-permission <value>", "string")
101
+ .option("--quiet-hours-start <value>", "string")
102
+ .option("--quiet-hours-end <value>", "string")
103
+ .option("--emergency-override <true|false>", "boolean")
104
+ .option("--offline-enabled <true|false>", "boolean")
105
+ .option("--wifi-only-download <true|false>", "boolean")
106
+ .option("--wonder-feed-enabled <true|false>", "boolean")
107
+ .option("--whatsapp-delivery <true|false>", "boolean")
108
+ .option("--sms-delivery-enabled <true|false>", "boolean")
109
+ .option("--email-digest <true|false>", "boolean")
110
+ .option("--email-digest-frequency <value>", "string")
111
+ .option("--enabled-inbox-categories <comma-separated>", "array")
112
+ .addOption(new Option("--default-notification-level <value>", "string, enum").choices(["all", "mentions_and_threads", "muted"]))
113
+ .option("--ai-auto-sort <true|false>", "boolean")
114
+ .addOption(new Option("--inbox-sort-mode <value>", "string, enum").choices(["category", "activity"]))
115
+ .action(async (opts) => {
116
+ const { as } = program.opts();
117
+ if (!as)
118
+ throw new Error("--as <userId> is required");
119
+ const path = `/api/v1/users/me/settings`;
120
+ const body = {};
121
+ {
122
+ const v = opts.interfaceLanguage;
123
+ if (v !== undefined)
124
+ body["interfaceLanguage"] = v;
125
+ }
126
+ {
127
+ const v = opts.briefingLanguage;
128
+ if (v !== undefined)
129
+ body["briefingLanguage"] = v;
130
+ }
131
+ {
132
+ const v = opts.contentRegion;
133
+ if (v !== undefined)
134
+ body["contentRegion"] = v;
135
+ }
136
+ {
137
+ const v = opts.appearance;
138
+ if (v !== undefined)
139
+ body["appearance"] = v;
140
+ }
141
+ {
142
+ const v = opts.textSize === undefined ? undefined : Number(opts.textSize);
143
+ if (v !== undefined)
144
+ body["textSize"] = v;
145
+ }
146
+ {
147
+ const v = opts.readReceipts === undefined ? undefined : opts.readReceipts === "true";
148
+ if (v !== undefined)
149
+ body["readReceipts"] = v;
150
+ }
151
+ {
152
+ const v = opts.profileVisibility;
153
+ if (v !== undefined)
154
+ body["profileVisibility"] = v;
155
+ }
156
+ {
157
+ const v = opts.invitePermission;
158
+ if (v !== undefined)
159
+ body["invitePermission"] = v;
160
+ }
161
+ {
162
+ const v = opts.quietHoursStart;
163
+ if (v !== undefined)
164
+ body["quietHoursStart"] = v;
165
+ }
166
+ {
167
+ const v = opts.quietHoursEnd;
168
+ if (v !== undefined)
169
+ body["quietHoursEnd"] = v;
170
+ }
171
+ {
172
+ const v = opts.emergencyOverride === undefined ? undefined : opts.emergencyOverride === "true";
173
+ if (v !== undefined)
174
+ body["emergencyOverride"] = v;
175
+ }
176
+ {
177
+ const v = opts.offlineEnabled === undefined ? undefined : opts.offlineEnabled === "true";
178
+ if (v !== undefined)
179
+ body["offlineEnabled"] = v;
180
+ }
181
+ {
182
+ const v = opts.wifiOnlyDownload === undefined ? undefined : opts.wifiOnlyDownload === "true";
183
+ if (v !== undefined)
184
+ body["wifiOnlyDownload"] = v;
185
+ }
186
+ {
187
+ const v = opts.wonderFeedEnabled === undefined ? undefined : opts.wonderFeedEnabled === "true";
188
+ if (v !== undefined)
189
+ body["wonderFeedEnabled"] = v;
190
+ }
191
+ {
192
+ const v = opts.whatsappDelivery === undefined ? undefined : opts.whatsappDelivery === "true";
193
+ if (v !== undefined)
194
+ body["whatsappDelivery"] = v;
195
+ }
196
+ {
197
+ const v = opts.smsDeliveryEnabled === undefined ? undefined : opts.smsDeliveryEnabled === "true";
198
+ if (v !== undefined)
199
+ body["smsDeliveryEnabled"] = v;
200
+ }
201
+ {
202
+ const v = opts.emailDigest === undefined ? undefined : opts.emailDigest === "true";
203
+ if (v !== undefined)
204
+ body["emailDigest"] = v;
205
+ }
206
+ {
207
+ const v = opts.emailDigestFrequency;
208
+ if (v !== undefined)
209
+ body["emailDigestFrequency"] = v;
210
+ }
211
+ {
212
+ const v = opts.enabledInboxCategories === undefined ? undefined : opts.enabledInboxCategories.split(",").map((s) => s.trim()).filter(Boolean);
213
+ if (v !== undefined)
214
+ body["enabledInboxCategories"] = v;
215
+ }
216
+ {
217
+ const v = opts.defaultNotificationLevel;
218
+ if (v !== undefined)
219
+ body["defaultNotificationLevel"] = v;
220
+ }
221
+ {
222
+ const v = opts.aiAutoSort === undefined ? undefined : opts.aiAutoSort === "true";
223
+ if (v !== undefined)
224
+ body["aiAutoSort"] = v;
225
+ }
226
+ {
227
+ const v = opts.inboxSortMode;
228
+ if (v !== undefined)
229
+ body["inboxSortMode"] = v;
230
+ }
231
+ const data = await call({ method: "PATCH", path, asUserId: as, body });
232
+ process.stdout.write(JSON.stringify(data) + "\n");
233
+ });
234
+ }
235
+ if (!hasSubcommand(group, "list-children")) {
236
+ group
237
+ .command("list-children")
238
+ .description("GET /api/v1/users/me/children")
239
+ .action(async (opts) => {
240
+ const { as } = program.opts();
241
+ if (!as)
242
+ throw new Error("--as <userId> is required");
243
+ const path = `/api/v1/users/me/children`;
244
+ const data = await call({ method: "GET", path, asUserId: as });
245
+ process.stdout.write(JSON.stringify(data) + "\n");
246
+ });
247
+ }
248
+ if (!hasSubcommand(group, "create-child")) {
249
+ group
250
+ .command("create-child")
251
+ .description("POST /api/v1/users/me/children")
252
+ .requiredOption("--display-name <value>", "string")
253
+ .requiredOption("--age <n>", "number")
254
+ .action(async (opts) => {
255
+ const { as } = program.opts();
256
+ if (!as)
257
+ throw new Error("--as <userId> is required");
258
+ const path = `/api/v1/users/me/children`;
259
+ const body = {};
260
+ {
261
+ const v = opts.displayName;
262
+ if (v !== undefined)
263
+ body["displayName"] = v;
264
+ }
265
+ {
266
+ const v = opts.age === undefined ? undefined : Number(opts.age);
267
+ if (v !== undefined)
268
+ body["age"] = v;
269
+ }
270
+ const data = await call({ method: "POST", path, asUserId: as, body });
271
+ process.stdout.write(JSON.stringify(data) + "\n");
272
+ });
273
+ }
274
+ if (!hasSubcommand(group, "list-notifications")) {
275
+ group
276
+ .command("list-notifications")
277
+ .description("GET /api/v1/users/me/notifications")
278
+ .option("--cursor <value>", "string")
279
+ .option("--limit <value>", "string")
280
+ .action(async (opts) => {
281
+ const { as } = program.opts();
282
+ if (!as)
283
+ throw new Error("--as <userId> is required");
284
+ const path = `/api/v1/users/me/notifications`;
285
+ const query = {};
286
+ {
287
+ const v = opts.cursor;
288
+ if (v !== undefined)
289
+ query["cursor"] = v;
290
+ }
291
+ {
292
+ const v = opts.limit;
293
+ if (v !== undefined)
294
+ query["limit"] = v;
295
+ }
296
+ const data = await call({ method: "GET", path, asUserId: as, query });
297
+ process.stdout.write(JSON.stringify(data) + "\n");
298
+ });
299
+ }
300
+ if (!hasSubcommand(group, "mark-notification-read")) {
301
+ group
302
+ .command("mark-notification-read")
303
+ .description("PATCH /api/v1/users/me/notifications/{id}/read")
304
+ .requiredOption("--id <value>", "id (path param)")
305
+ .option("--body <json>", "request body as JSON (no schema available)")
306
+ .action(async (opts) => {
307
+ const { as } = program.opts();
308
+ if (!as)
309
+ throw new Error("--as <userId> is required");
310
+ const path = `/api/v1/users/me/notifications/${encodeURIComponent(opts.id)}/read`;
311
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
312
+ const data = await call({ method: "PATCH", path, asUserId: as, body });
313
+ process.stdout.write(JSON.stringify(data) + "\n");
314
+ });
315
+ }
316
+ if (!hasSubcommand(group, "register-fcm-token")) {
317
+ group
318
+ .command("register-fcm-token")
319
+ .description("POST /api/v1/users/me/fcm-token")
320
+ .option("--body <json>", "request body as JSON (no schema available)")
321
+ .action(async (opts) => {
322
+ const { as } = program.opts();
323
+ if (!as)
324
+ throw new Error("--as <userId> is required");
325
+ const path = `/api/v1/users/me/fcm-token`;
326
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
327
+ const data = await call({ method: "POST", path, asUserId: as, body });
328
+ process.stdout.write(JSON.stringify(data) + "\n");
329
+ });
330
+ }
331
+ if (!hasSubcommand(group, "remove-fcm-token")) {
332
+ group
333
+ .command("remove-fcm-token")
334
+ .description("DELETE /api/v1/users/me/fcm-token")
335
+ .action(async (opts) => {
336
+ const { as } = program.opts();
337
+ if (!as)
338
+ throw new Error("--as <userId> is required");
339
+ const path = `/api/v1/users/me/fcm-token`;
340
+ const data = await call({ method: "DELETE", path, asUserId: as });
341
+ process.stdout.write(JSON.stringify(data) + "\n");
342
+ });
343
+ }
344
+ if (!hasSubcommand(group, "get-public-user-public")) {
345
+ group
346
+ .command("get-public-user-public")
347
+ .description("GET /api/v1/users/{userId}/public")
348
+ .requiredOption("--user-id <value>", "userId (path param)")
349
+ .action(async (opts) => {
350
+ const { as } = program.opts();
351
+ if (!as)
352
+ throw new Error("--as <userId> is required");
353
+ const path = `/api/v1/users/${encodeURIComponent(opts.userId)}/public`;
354
+ const data = await call({ method: "GET", path, asUserId: as });
355
+ process.stdout.write(JSON.stringify(data) + "\n");
356
+ });
357
+ }
358
+ if (!hasSubcommand(group, "get-public-user")) {
359
+ group
360
+ .command("get-public-user")
361
+ .description("GET /api/v1/users/{userId}")
362
+ .requiredOption("--user-id <value>", "userId (path param)")
363
+ .action(async (opts) => {
364
+ const { as } = program.opts();
365
+ if (!as)
366
+ throw new Error("--as <userId> is required");
367
+ const path = `/api/v1/users/${encodeURIComponent(opts.userId)}`;
368
+ const data = await call({ method: "GET", path, asUserId: as });
369
+ process.stdout.write(JSON.stringify(data) + "\n");
370
+ });
371
+ }
372
+ }
373
+ //# sourceMappingURL=users.js.map
@@ -0,0 +1,21 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "voice-token", "VoiceToken operations");
5
+ if (!hasSubcommand(group, "token")) {
6
+ group
7
+ .command("token")
8
+ .description("POST /api/v1/voice/token")
9
+ .option("--body <json>", "request body as JSON (no schema available)")
10
+ .action(async (opts) => {
11
+ const { as } = program.opts();
12
+ if (!as)
13
+ throw new Error("--as <userId> is required");
14
+ const path = `/api/v1/voice/token`;
15
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
16
+ const data = await call({ method: "POST", path, asUserId: as, body });
17
+ process.stdout.write(JSON.stringify(data) + "\n");
18
+ });
19
+ }
20
+ }
21
+ //# sourceMappingURL=voice-token.js.map
@@ -0,0 +1,32 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "well-known", "WellKnown operations");
5
+ if (!hasSubcommand(group, "apple-app-site-association")) {
6
+ group
7
+ .command("apple-app-site-association")
8
+ .description("GET /.well-known/apple-app-site-association")
9
+ .action(async (opts) => {
10
+ const { as } = program.opts();
11
+ if (!as)
12
+ throw new Error("--as <userId> is required");
13
+ const path = `/.well-known/apple-app-site-association`;
14
+ const data = await call({ method: "GET", path, asUserId: as });
15
+ process.stdout.write(JSON.stringify(data) + "\n");
16
+ });
17
+ }
18
+ if (!hasSubcommand(group, "asset-links")) {
19
+ group
20
+ .command("asset-links")
21
+ .description("GET /.well-known/assetlinks.json")
22
+ .action(async (opts) => {
23
+ const { as } = program.opts();
24
+ if (!as)
25
+ throw new Error("--as <userId> is required");
26
+ const path = `/.well-known/assetlinks.json`;
27
+ const data = await call({ method: "GET", path, asUserId: as });
28
+ process.stdout.write(JSON.stringify(data) + "\n");
29
+ });
30
+ }
31
+ }
32
+ //# sourceMappingURL=well-known.js.map
@@ -0,0 +1,20 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "wrapped", "Wrapped operations");
5
+ if (!hasSubcommand(group, "user-wrapped")) {
6
+ group
7
+ .command("user-wrapped")
8
+ .description("GET /api/v1/users/me/wrapped/{year}")
9
+ .requiredOption("--year <value>", "year (path param)")
10
+ .action(async (opts) => {
11
+ const { as } = program.opts();
12
+ if (!as)
13
+ throw new Error("--as <userId> is required");
14
+ const path = `/api/v1/users/me/wrapped/${encodeURIComponent(opts.year)}`;
15
+ const data = await call({ method: "GET", path, asUserId: as });
16
+ process.stdout.write(JSON.stringify(data) + "\n");
17
+ });
18
+ }
19
+ }
20
+ //# sourceMappingURL=wrapped.js.map
@@ -0,0 +1,131 @@
1
+ import { register as register_activity } from "./commands/activity.js";
2
+ import { register as register_ai } from "./commands/ai.js";
3
+ import { register as register_ambassador } from "./commands/ambassador.js";
4
+ import { register as register_apple_iap } from "./commands/apple-iap.js";
5
+ import { register as register_attribution } from "./commands/attribution.js";
6
+ import { register as register_auth } from "./commands/auth.js";
7
+ import { register as register_challenges } from "./commands/challenges.js";
8
+ import { register as register_clips } from "./commands/clips.js";
9
+ import { register as register_contact_match } from "./commands/contact-match.js";
10
+ import { register as register_content_crawler } from "./commands/content-crawler.js";
11
+ import { register as register_custom_agents } from "./commands/custom-agents.js";
12
+ import { register as register_desktop_releases } from "./commands/desktop-releases.js";
13
+ import { register as register_discover } from "./commands/discover.js";
14
+ import { register as register_dm } from "./commands/dm.js";
15
+ import { register as register_drafts } from "./commands/drafts.js";
16
+ import { register as register_embed } from "./commands/embed.js";
17
+ import { register as register_explore } from "./commands/explore.js";
18
+ import { register as register_feed } from "./commands/feed.js";
19
+ import { register as register_feedback } from "./commands/feedback.js";
20
+ import { register as register_gamification } from "./commands/gamification.js";
21
+ import { register as register_google_play_iap } from "./commands/google-play-iap.js";
22
+ import { register as register_health } from "./commands/health.js";
23
+ import { register as register_internal } from "./commands/internal.js";
24
+ import { register as register_interview } from "./commands/interview.js";
25
+ import { register as register_invite_redirect } from "./commands/invite-redirect.js";
26
+ import { register as register_jesuscord_admin } from "./commands/jesuscord-admin.js";
27
+ import { register as register_join } from "./commands/join.js";
28
+ import { register as register_kits } from "./commands/kits.js";
29
+ import { register as register_meetings } from "./commands/meetings.js";
30
+ import { register as register_message_folders } from "./commands/message-folders.js";
31
+ import { register as register_messages } from "./commands/messages.js";
32
+ import { register as register_one_emulator } from "./commands/one-emulator.js";
33
+ import { register as register_pdf_export } from "./commands/pdf-export.js";
34
+ import { register as register_pin_folders } from "./commands/pin-folders.js";
35
+ import { register as register_pinned_messages } from "./commands/pinned-messages.js";
36
+ import { register as register_polls } from "./commands/polls.js";
37
+ import { register as register_premium_feeds } from "./commands/premium-feeds.js";
38
+ import { register as register_processors } from "./commands/processors.js";
39
+ import { register as register_questions } from "./commands/questions.js";
40
+ import { register as register_referrals } from "./commands/referrals.js";
41
+ import { register as register_reports } from "./commands/reports.js";
42
+ import { register as register_room_a2_a } from "./commands/room-a2-a.js";
43
+ import { register as register_room_agents } from "./commands/room-agents.js";
44
+ import { register as register_room_invites } from "./commands/room-invites.js";
45
+ import { register as register_room_owned_agent } from "./commands/room-owned-agent.js";
46
+ import { register as register_room_page } from "./commands/room-page.js";
47
+ import { register as register_rooms } from "./commands/rooms.js";
48
+ import { register as register_saved_messages } from "./commands/saved-messages.js";
49
+ import { register as register_saved_stories } from "./commands/saved-stories.js";
50
+ import { register as register_search } from "./commands/search.js";
51
+ import { register as register_shadow } from "./commands/shadow.js";
52
+ import { register as register_shadow_home_agent } from "./commands/shadow-home-agent.js";
53
+ import { register as register_share } from "./commands/share.js";
54
+ import { register as register_share_cards } from "./commands/share-cards.js";
55
+ import { register as register_sponsors } from "./commands/sponsors.js";
56
+ import { register as register_stories } from "./commands/stories.js";
57
+ import { register as register_story_by_id } from "./commands/story-by-id.js";
58
+ import { register as register_submissions } from "./commands/submissions.js";
59
+ import { register as register_subscriptions } from "./commands/subscriptions.js";
60
+ import { register as register_tips } from "./commands/tips.js";
61
+ import { register as register_users } from "./commands/users.js";
62
+ import { register as register_voice_token } from "./commands/voice-token.js";
63
+ import { register as register_well_known } from "./commands/well-known.js";
64
+ import { register as register_wrapped } from "./commands/wrapped.js";
65
+ export function registerAll(program) {
66
+ register_activity(program);
67
+ register_ai(program);
68
+ register_ambassador(program);
69
+ register_apple_iap(program);
70
+ register_attribution(program);
71
+ register_auth(program);
72
+ register_challenges(program);
73
+ register_clips(program);
74
+ register_contact_match(program);
75
+ register_content_crawler(program);
76
+ register_custom_agents(program);
77
+ register_desktop_releases(program);
78
+ register_discover(program);
79
+ register_dm(program);
80
+ register_drafts(program);
81
+ register_embed(program);
82
+ register_explore(program);
83
+ register_feed(program);
84
+ register_feedback(program);
85
+ register_gamification(program);
86
+ register_google_play_iap(program);
87
+ register_health(program);
88
+ register_internal(program);
89
+ register_interview(program);
90
+ register_invite_redirect(program);
91
+ register_jesuscord_admin(program);
92
+ register_join(program);
93
+ register_kits(program);
94
+ register_meetings(program);
95
+ register_message_folders(program);
96
+ register_messages(program);
97
+ register_one_emulator(program);
98
+ register_pdf_export(program);
99
+ register_pin_folders(program);
100
+ register_pinned_messages(program);
101
+ register_polls(program);
102
+ register_premium_feeds(program);
103
+ register_processors(program);
104
+ register_questions(program);
105
+ register_referrals(program);
106
+ register_reports(program);
107
+ register_room_a2_a(program);
108
+ register_room_agents(program);
109
+ register_room_invites(program);
110
+ register_room_owned_agent(program);
111
+ register_room_page(program);
112
+ register_rooms(program);
113
+ register_saved_messages(program);
114
+ register_saved_stories(program);
115
+ register_search(program);
116
+ register_shadow(program);
117
+ register_shadow_home_agent(program);
118
+ register_share(program);
119
+ register_share_cards(program);
120
+ register_sponsors(program);
121
+ register_stories(program);
122
+ register_story_by_id(program);
123
+ register_submissions(program);
124
+ register_subscriptions(program);
125
+ register_tips(program);
126
+ register_users(program);
127
+ register_voice_token(program);
128
+ register_well_known(program);
129
+ register_wrapped(program);
130
+ }
131
+ //# sourceMappingURL=index.js.map
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@fulldivevr/workcord-cli",
3
+ "version": "1.0.0",
4
+ "description": "CLI for the WorkCord API. One invocation = one user action.",
5
+ "private": false,
6
+ "license": "UNLICENSED",
7
+ "type": "module",
8
+ "main": "dist/cli.js",
9
+ "bin": {
10
+ "workcord": "dist/cli.js"
11
+ },
12
+ "files": [
13
+ "dist/**/*.js",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/fulldiveVR/wizeup-rooms-api.git",
20
+ "directory": "clients/workcord-cli"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/fulldiveVR/wizeup-rooms-api/issues"
24
+ },
25
+ "homepage": "https://github.com/fulldiveVR/wizeup-rooms-api/tree/main/clients/workcord-cli#readme",
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "registry": "https://registry.npmjs.org"
29
+ },
30
+ "scripts": {
31
+ "build": "tsc",
32
+ "dev": "tsx src/cli.ts",
33
+ "typecheck": "tsc --noEmit",
34
+ "sync-spec": "tsx scripts/sync-spec.ts",
35
+ "generate": "tsx scripts/generate-commands.ts",
36
+ "regen": "npm run sync-spec && npm run generate",
37
+ "smoke": "bash tests/smoke.sh",
38
+ "package:dry-run": "npm pack --dry-run",
39
+ "prepack": "npm run typecheck && npm run build"
40
+ },
41
+ "keywords": [
42
+ "workcord",
43
+ "cli",
44
+ "openapi",
45
+ "ai-agent"
46
+ ],
47
+ "dependencies": {
48
+ "commander": "^12.1.0",
49
+ "jsonwebtoken": "^9.0.2"
50
+ },
51
+ "devDependencies": {
52
+ "@types/jsonwebtoken": "^9.0.7",
53
+ "@types/node": "^22.0.0",
54
+ "tsx": "^4.19.0",
55
+ "typescript": "^5.6.0"
56
+ },
57
+ "engines": {
58
+ "node": ">=20"
59
+ }
60
+ }