@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,84 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "saved-messages", "SavedMessages operations");
5
+ if (!hasSubcommand(group, "save")) {
6
+ group
7
+ .command("save")
8
+ .description("POST /api/v1/users/me/saved-messages")
9
+ .requiredOption("--message-id <value>", "string")
10
+ .requiredOption("--room-id <value>", "string")
11
+ .option("--folder-id <value>", "string")
12
+ .action(async (opts) => {
13
+ const { as } = program.opts();
14
+ if (!as)
15
+ throw new Error("--as <userId> is required");
16
+ const path = `/api/v1/users/me/saved-messages`;
17
+ const body = {};
18
+ {
19
+ const v = opts.messageId;
20
+ if (v !== undefined)
21
+ body["messageId"] = v;
22
+ }
23
+ {
24
+ const v = opts.roomId;
25
+ if (v !== undefined)
26
+ body["roomId"] = v;
27
+ }
28
+ {
29
+ const v = opts.folderId;
30
+ if (v !== undefined)
31
+ body["folderId"] = v;
32
+ }
33
+ const data = await call({ method: "POST", path, asUserId: as, body });
34
+ process.stdout.write(JSON.stringify(data) + "\n");
35
+ });
36
+ }
37
+ if (!hasSubcommand(group, "list")) {
38
+ group
39
+ .command("list")
40
+ .description("GET /api/v1/users/me/saved-messages")
41
+ .option("--folder-id <value>", "string")
42
+ .option("--cursor <value>", "string")
43
+ .option("--limit <value>", "string")
44
+ .action(async (opts) => {
45
+ const { as } = program.opts();
46
+ if (!as)
47
+ throw new Error("--as <userId> is required");
48
+ const path = `/api/v1/users/me/saved-messages`;
49
+ const query = {};
50
+ {
51
+ const v = opts.folderId;
52
+ if (v !== undefined)
53
+ query["folderId"] = v;
54
+ }
55
+ {
56
+ const v = opts.cursor;
57
+ if (v !== undefined)
58
+ query["cursor"] = v;
59
+ }
60
+ {
61
+ const v = opts.limit;
62
+ if (v !== undefined)
63
+ query["limit"] = v;
64
+ }
65
+ const data = await call({ method: "GET", path, asUserId: as, query });
66
+ process.stdout.write(JSON.stringify(data) + "\n");
67
+ });
68
+ }
69
+ if (!hasSubcommand(group, "remove")) {
70
+ group
71
+ .command("remove")
72
+ .description("DELETE /api/v1/users/me/saved-messages/{id}")
73
+ .requiredOption("--id <value>", "id (path param)")
74
+ .action(async (opts) => {
75
+ const { as } = program.opts();
76
+ if (!as)
77
+ throw new Error("--as <userId> is required");
78
+ const path = `/api/v1/users/me/saved-messages/${encodeURIComponent(opts.id)}`;
79
+ const data = await call({ method: "DELETE", path, asUserId: as });
80
+ process.stdout.write(JSON.stringify(data) + "\n");
81
+ });
82
+ }
83
+ }
84
+ //# sourceMappingURL=saved-messages.js.map
@@ -0,0 +1,125 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "saved-stories", "SavedStories operations");
5
+ if (!hasSubcommand(group, "save")) {
6
+ group
7
+ .command("save")
8
+ .description("POST /api/v1/users/me/saved-stories")
9
+ .requiredOption("--story-id <value>", "string")
10
+ .option("--folder-id <value>", "string")
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/saved-stories`;
16
+ const body = {};
17
+ {
18
+ const v = opts.storyId;
19
+ if (v !== undefined)
20
+ body["storyId"] = v;
21
+ }
22
+ {
23
+ const v = opts.folderId;
24
+ if (v !== undefined)
25
+ body["folderId"] = v;
26
+ }
27
+ const data = await call({ method: "POST", path, asUserId: as, body });
28
+ process.stdout.write(JSON.stringify(data) + "\n");
29
+ });
30
+ }
31
+ if (!hasSubcommand(group, "list")) {
32
+ group
33
+ .command("list")
34
+ .description("GET /api/v1/users/me/saved-stories")
35
+ .option("--folder-id <value>", "string")
36
+ .option("--cursor <value>", "string")
37
+ .option("--limit <value>", "string")
38
+ .action(async (opts) => {
39
+ const { as } = program.opts();
40
+ if (!as)
41
+ throw new Error("--as <userId> is required");
42
+ const path = `/api/v1/users/me/saved-stories`;
43
+ const query = {};
44
+ {
45
+ const v = opts.folderId;
46
+ if (v !== undefined)
47
+ query["folderId"] = v;
48
+ }
49
+ {
50
+ const v = opts.cursor;
51
+ if (v !== undefined)
52
+ query["cursor"] = v;
53
+ }
54
+ {
55
+ const v = opts.limit;
56
+ if (v !== undefined)
57
+ query["limit"] = v;
58
+ }
59
+ const data = await call({ method: "GET", path, asUserId: as, query });
60
+ process.stdout.write(JSON.stringify(data) + "\n");
61
+ });
62
+ }
63
+ if (!hasSubcommand(group, "remove")) {
64
+ group
65
+ .command("remove")
66
+ .description("DELETE /api/v1/users/me/saved-stories/{id}")
67
+ .requiredOption("--id <value>", "id (path param)")
68
+ .action(async (opts) => {
69
+ const { as } = program.opts();
70
+ if (!as)
71
+ throw new Error("--as <userId> is required");
72
+ const path = `/api/v1/users/me/saved-stories/${encodeURIComponent(opts.id)}`;
73
+ const data = await call({ method: "DELETE", path, asUserId: as });
74
+ process.stdout.write(JSON.stringify(data) + "\n");
75
+ });
76
+ }
77
+ if (!hasSubcommand(group, "list-folders")) {
78
+ group
79
+ .command("list-folders")
80
+ .description("GET /api/v1/users/me/folders")
81
+ .action(async (opts) => {
82
+ const { as } = program.opts();
83
+ if (!as)
84
+ throw new Error("--as <userId> is required");
85
+ const path = `/api/v1/users/me/folders`;
86
+ const data = await call({ method: "GET", path, asUserId: as });
87
+ process.stdout.write(JSON.stringify(data) + "\n");
88
+ });
89
+ }
90
+ if (!hasSubcommand(group, "create-folder")) {
91
+ group
92
+ .command("create-folder")
93
+ .description("POST /api/v1/users/me/folders")
94
+ .requiredOption("--name <value>", "string")
95
+ .action(async (opts) => {
96
+ const { as } = program.opts();
97
+ if (!as)
98
+ throw new Error("--as <userId> is required");
99
+ const path = `/api/v1/users/me/folders`;
100
+ const body = {};
101
+ {
102
+ const v = opts.name;
103
+ if (v !== undefined)
104
+ body["name"] = v;
105
+ }
106
+ const data = await call({ method: "POST", path, asUserId: as, body });
107
+ process.stdout.write(JSON.stringify(data) + "\n");
108
+ });
109
+ }
110
+ if (!hasSubcommand(group, "delete-folder")) {
111
+ group
112
+ .command("delete-folder")
113
+ .description("DELETE /api/v1/users/me/folders/{folderId}")
114
+ .requiredOption("--folder-id <value>", "folderId (path param)")
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/folders/${encodeURIComponent(opts.folderId)}`;
120
+ const data = await call({ method: "DELETE", path, asUserId: as });
121
+ process.stdout.write(JSON.stringify(data) + "\n");
122
+ });
123
+ }
124
+ }
125
+ //# sourceMappingURL=saved-stories.js.map
@@ -0,0 +1,44 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "search", "Search operations");
5
+ if (!hasSubcommand(group, "search")) {
6
+ group
7
+ .command("search")
8
+ .description("GET /api/v1/search")
9
+ .requiredOption("--q <value>", "string")
10
+ .option("--type <value>", "string")
11
+ .option("--cursor <value>", "string")
12
+ .option("--limit <value>", "string")
13
+ .action(async (opts) => {
14
+ const { as } = program.opts();
15
+ if (!as)
16
+ throw new Error("--as <userId> is required");
17
+ const path = `/api/v1/search`;
18
+ const query = {};
19
+ {
20
+ const v = opts.q;
21
+ if (v !== undefined)
22
+ query["q"] = v;
23
+ }
24
+ {
25
+ const v = opts.type;
26
+ if (v !== undefined)
27
+ query["type"] = v;
28
+ }
29
+ {
30
+ const v = opts.cursor;
31
+ if (v !== undefined)
32
+ query["cursor"] = v;
33
+ }
34
+ {
35
+ const v = opts.limit;
36
+ if (v !== undefined)
37
+ query["limit"] = v;
38
+ }
39
+ const data = await call({ method: "GET", path, asUserId: as, query });
40
+ process.stdout.write(JSON.stringify(data) + "\n");
41
+ });
42
+ }
43
+ }
44
+ //# sourceMappingURL=search.js.map
@@ -0,0 +1,36 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "shadow-home-agent", "ShadowHomeAgent operations");
5
+ if (!hasSubcommand(group, "card")) {
6
+ group
7
+ .command("card")
8
+ .description("GET /api/v1/users/{userId}/shadow-home/.well-known/agent.json")
9
+ .requiredOption("--user-id <value>", "userId (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/${encodeURIComponent(opts.userId)}/shadow-home/.well-known/agent.json`;
15
+ const data = await call({ method: "GET", path, asUserId: as });
16
+ process.stdout.write(JSON.stringify(data) + "\n");
17
+ });
18
+ }
19
+ if (!hasSubcommand(group, "a2a")) {
20
+ group
21
+ .command("a2a")
22
+ .description("POST /api/v1/users/{userId}/shadow-home/a2a")
23
+ .requiredOption("--user-id <value>", "userId (path param)")
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/${encodeURIComponent(opts.userId)}/shadow-home/a2a`;
30
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
31
+ const data = await call({ method: "POST", path, asUserId: as, body });
32
+ process.stdout.write(JSON.stringify(data) + "\n");
33
+ });
34
+ }
35
+ }
36
+ //# sourceMappingURL=shadow-home-agent.js.map
@@ -0,0 +1,64 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "shadow", "Shadow operations");
5
+ if (!hasSubcommand(group, "seed-context")) {
6
+ group
7
+ .command("seed-context")
8
+ .description("POST /api/v1/shadow/context")
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/shadow/context`;
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
+ if (!hasSubcommand(group, "context-status")) {
21
+ group
22
+ .command("context-status")
23
+ .description("GET /api/v1/shadow/context/status")
24
+ .action(async (opts) => {
25
+ const { as } = program.opts();
26
+ if (!as)
27
+ throw new Error("--as <userId> is required");
28
+ const path = `/api/v1/shadow/context/status`;
29
+ const data = await call({ method: "GET", path, asUserId: as });
30
+ process.stdout.write(JSON.stringify(data) + "\n");
31
+ });
32
+ }
33
+ if (!hasSubcommand(group, "draft")) {
34
+ group
35
+ .command("draft")
36
+ .description("POST /api/v1/shadow/draft")
37
+ .option("--body <json>", "request body as JSON (no schema available)")
38
+ .action(async (opts) => {
39
+ const { as } = program.opts();
40
+ if (!as)
41
+ throw new Error("--as <userId> is required");
42
+ const path = `/api/v1/shadow/draft`;
43
+ const body = opts.body ? JSON.parse(opts.body) : undefined;
44
+ const data = await call({ method: "POST", path, asUserId: as, body });
45
+ process.stdout.write(JSON.stringify(data) + "\n");
46
+ });
47
+ }
48
+ if (!hasSubcommand(group, "welcome")) {
49
+ group
50
+ .command("welcome")
51
+ .description("POST /api/v1/shadow/welcome")
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/shadow/welcome`;
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
+ }
64
+ //# sourceMappingURL=shadow.js.map
@@ -0,0 +1,85 @@
1
+ import { call } from "../../client.js";
2
+ import { getOrCreateGroup, hasSubcommand } from "../_helpers.js";
3
+ export function register(program) {
4
+ const group = getOrCreateGroup(program, "share-cards", "ShareCards operations");
5
+ if (!hasSubcommand(group, "create")) {
6
+ group
7
+ .command("create")
8
+ .description("POST /api/v1/stories/{storyId}/share-cards")
9
+ .requiredOption("--story-id <value>", "storyId (path param)")
10
+ .option("--theme <value>", "string")
11
+ .option("--show-source-logos <true|false>", "boolean")
12
+ .option("--show-attribution <true|false>", "boolean")
13
+ .option("--caption <value>", "string")
14
+ .action(async (opts) => {
15
+ const { as } = program.opts();
16
+ if (!as)
17
+ throw new Error("--as <userId> is required");
18
+ const path = `/api/v1/stories/${encodeURIComponent(opts.storyId)}/share-cards`;
19
+ const body = {};
20
+ {
21
+ const v = opts.theme;
22
+ if (v !== undefined)
23
+ body["theme"] = v;
24
+ }
25
+ {
26
+ const v = opts.showSourceLogos === undefined ? undefined : opts.showSourceLogos === "true";
27
+ if (v !== undefined)
28
+ body["showSourceLogos"] = v;
29
+ }
30
+ {
31
+ const v = opts.showAttribution === undefined ? undefined : opts.showAttribution === "true";
32
+ if (v !== undefined)
33
+ body["showAttribution"] = v;
34
+ }
35
+ {
36
+ const v = opts.caption;
37
+ if (v !== undefined)
38
+ body["caption"] = v;
39
+ }
40
+ const data = await call({ method: "POST", path, asUserId: as, body });
41
+ process.stdout.write(JSON.stringify(data) + "\n");
42
+ });
43
+ }
44
+ if (!hasSubcommand(group, "list-mine")) {
45
+ group
46
+ .command("list-mine")
47
+ .description("GET /api/v1/users/me/share-cards")
48
+ .option("--cursor <value>", "string")
49
+ .option("--limit <value>", "string")
50
+ .action(async (opts) => {
51
+ const { as } = program.opts();
52
+ if (!as)
53
+ throw new Error("--as <userId> is required");
54
+ const path = `/api/v1/users/me/share-cards`;
55
+ const query = {};
56
+ {
57
+ const v = opts.cursor;
58
+ if (v !== undefined)
59
+ query["cursor"] = v;
60
+ }
61
+ {
62
+ const v = opts.limit;
63
+ if (v !== undefined)
64
+ query["limit"] = v;
65
+ }
66
+ const data = await call({ method: "GET", path, asUserId: as, query });
67
+ process.stdout.write(JSON.stringify(data) + "\n");
68
+ });
69
+ }
70
+ if (!hasSubcommand(group, "get-public")) {
71
+ group
72
+ .command("get-public")
73
+ .description("GET /api/v1/share-cards/{cardId}/public")
74
+ .requiredOption("--card-id <value>", "cardId (path param)")
75
+ .action(async (opts) => {
76
+ const { as } = program.opts();
77
+ if (!as)
78
+ throw new Error("--as <userId> is required");
79
+ const path = `/api/v1/share-cards/${encodeURIComponent(opts.cardId)}/public`;
80
+ const data = await call({ method: "GET", path, asUserId: as });
81
+ process.stdout.write(JSON.stringify(data) + "\n");
82
+ });
83
+ }
84
+ }
85
+ //# sourceMappingURL=share-cards.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, "share", "Share operations");
5
+ if (!hasSubcommand(group, "share-page")) {
6
+ group
7
+ .command("share-page")
8
+ .description("GET /s/{cardId}")
9
+ .requiredOption("--card-id <value>", "cardId (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 = `/s/${encodeURIComponent(opts.cardId)}`;
15
+ const data = await call({ method: "GET", path, asUserId: as });
16
+ process.stdout.write(JSON.stringify(data) + "\n");
17
+ });
18
+ }
19
+ }
20
+ //# sourceMappingURL=share.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, "sponsors", "Sponsors operations");
5
+ if (!hasSubcommand(group, "get")) {
6
+ group
7
+ .command("get")
8
+ .description("GET /api/v1/rooms/{roomId}/sponsor")
9
+ .requiredOption("--room-id <value>", "roomId (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/rooms/${encodeURIComponent(opts.roomId)}/sponsor`;
15
+ const data = await call({ method: "GET", path, asUserId: as });
16
+ process.stdout.write(JSON.stringify(data) + "\n");
17
+ });
18
+ }
19
+ }
20
+ //# sourceMappingURL=sponsors.js.map