@fluid-app/v2025-06-cli-commands 0.1.31 → 0.1.33

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.
@@ -26,8 +26,7 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
26
26
  } else if (opts.body) {
27
27
  body = ctx.parseBody(opts.body);
28
28
  }
29
- if (ctx.verbose)
30
- process.stderr.write("POST " + `/api/v2025-06/reps` + "\n");
29
+ if (ctx.verbose) process.stderr.write("POST " + `/api/v2025-06/reps` + "\n");
31
30
  const result = await client.post(`/api/v2025-06/reps`, body);
32
31
  ctx.output(result);
33
32
  });
@@ -35,16 +34,12 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
35
34
  resource
36
35
  .command("list")
37
36
  .description("List reps")
38
- .option(
39
- "--params <value>",
40
- "Query parameters for filtering, pagination, and sorting",
41
- )
37
+ .option("--params <value>", "Query parameters for filtering, pagination, and sorting")
42
38
  .action(async (opts) => {
43
39
  const client = await ctx.getClient();
44
40
  const params: Record<string, unknown> = {};
45
41
  if (opts.params !== undefined) params["params"] = opts.params;
46
- if (ctx.verbose)
47
- process.stderr.write("GET " + `/api/v2025-06/reps` + "\n");
42
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps` + "\n");
48
43
  const result = await client.get(`/api/v2025-06/reps`, params);
49
44
  ctx.output(result);
50
45
  });
@@ -52,14 +47,8 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
52
47
  resource
53
48
  .command("get-credited-orders <rep-id>")
54
49
  .description("List credited orders for a rep")
55
- .option(
56
- "--start-date <value>",
57
- "Filter orders from this date (ISO 8601 format)",
58
- )
59
- .option(
60
- "--end-date <value>",
61
- "Filter orders until this date (ISO 8601 format)",
62
- )
50
+ .option("--start-date <value>", "Filter orders from this date (ISO 8601 format)")
51
+ .option("--end-date <value>", "Filter orders until this date (ISO 8601 format)")
63
52
  .option("--page <value>", "Page number for pagination")
64
53
  .option("--per-page <value>", "Number of records per page")
65
54
  .option("--customer-id <value>", "Filter orders by customer ID")
@@ -67,30 +56,15 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
67
56
  .option("--unfulfilled <value>", "Filter unfulfilled orders")
68
57
  .option("--unpaid <value>", "Filter unpaid orders")
69
58
  .option("--search-query <value>", "Search orders by query")
70
- .option(
71
- "--within-days <value>",
72
- "Filter orders within specified number of days",
73
- )
59
+ .option("--within-days <value>", "Filter orders within specified number of days")
74
60
  .option("--metadata <value>", "Filter orders by metadata (JSON string)")
75
61
  .option("--subscription-id <value>", "Filter orders by subscription ID")
76
- .option(
77
- "--sorted-by <value>",
78
- "Sort orders by field and direction (e.g., 'created_at_desc')",
79
- )
80
- .option(
81
- "--status <value>",
82
- "Filter orders by status or 'all' for all statuses",
83
- )
62
+ .option("--sorted-by <value>", "Sort orders by field and direction (e.g., 'created_at_desc')")
63
+ .option("--status <value>", "Filter orders by status or 'all' for all statuses")
84
64
  .option("--type <value>", "Filter orders by type")
85
65
  .option("--cart-source <value>", "Filter orders by cart source")
86
- .option(
87
- "--country-isos <value>",
88
- "Filter orders by country ISO codes (comma-separated)",
89
- )
90
- .option(
91
- "--force-stats <value>",
92
- "Force stats calculation even for large datasets (>10,000 records)",
93
- )
66
+ .option("--country-isos <value>", "Filter orders by country ISO codes (comma-separated)")
67
+ .option("--force-stats <value>", "Force stats calculation even for large datasets (>10,000 records)")
94
68
  .action(async (repId, opts) => {
95
69
  const client = await ctx.getClient();
96
70
  const params: Record<string, unknown> = {};
@@ -98,44 +72,22 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
98
72
  if (opts.endDate !== undefined) params["end_date"] = opts.endDate;
99
73
  if (opts.page !== undefined) params["page"] = Number(opts.page);
100
74
  if (opts.perPage !== undefined) params["per_page"] = Number(opts.perPage);
101
- if (opts.customerId !== undefined)
102
- params["customer_id"] = Number(opts.customerId);
103
- if (opts.userCompanyId !== undefined)
104
- params["user_company_id"] = Number(opts.userCompanyId);
105
- if (opts.unfulfilled !== undefined)
106
- params["unfulfilled"] = parseBooleanOption(
107
- opts.unfulfilled,
108
- "--unfulfilled",
109
- );
110
- if (opts.unpaid !== undefined)
111
- params["unpaid"] = parseBooleanOption(opts.unpaid, "--unpaid");
112
- if (opts.searchQuery !== undefined)
113
- params["search_query"] = opts.searchQuery;
114
- if (opts.withinDays !== undefined)
115
- params["within_days"] = Number(opts.withinDays);
75
+ if (opts.customerId !== undefined) params["customer_id"] = Number(opts.customerId);
76
+ if (opts.userCompanyId !== undefined) params["user_company_id"] = Number(opts.userCompanyId);
77
+ if (opts.unfulfilled !== undefined) params["unfulfilled"] = parseBooleanOption(opts.unfulfilled, "--unfulfilled");
78
+ if (opts.unpaid !== undefined) params["unpaid"] = parseBooleanOption(opts.unpaid, "--unpaid");
79
+ if (opts.searchQuery !== undefined) params["search_query"] = opts.searchQuery;
80
+ if (opts.withinDays !== undefined) params["within_days"] = Number(opts.withinDays);
116
81
  if (opts.metadata !== undefined) params["metadata"] = opts.metadata;
117
- if (opts.subscriptionId !== undefined)
118
- params["subscription_id"] = Number(opts.subscriptionId);
82
+ if (opts.subscriptionId !== undefined) params["subscription_id"] = Number(opts.subscriptionId);
119
83
  if (opts.sortedBy !== undefined) params["sorted_by"] = opts.sortedBy;
120
84
  if (opts.status !== undefined) params["status"] = opts.status;
121
85
  if (opts.type !== undefined) params["type"] = opts.type;
122
- if (opts.cartSource !== undefined)
123
- params["cart_source"] = opts.cartSource;
124
- if (opts.countryIsos !== undefined)
125
- params["country_isos"] = opts.countryIsos;
126
- if (opts.forceStats !== undefined)
127
- params["force_stats"] = parseBooleanOption(
128
- opts.forceStats,
129
- "--force-stats",
130
- );
131
- if (ctx.verbose)
132
- process.stderr.write(
133
- "GET " + `/api/v2025-06/reps/${repId}/credited_orders` + "\n",
134
- );
135
- const result = await client.get(
136
- `/api/v2025-06/reps/${repId}/credited_orders`,
137
- params,
138
- );
86
+ if (opts.cartSource !== undefined) params["cart_source"] = opts.cartSource;
87
+ if (opts.countryIsos !== undefined) params["country_isos"] = opts.countryIsos;
88
+ if (opts.forceStats !== undefined) params["force_stats"] = parseBooleanOption(opts.forceStats, "--force-stats");
89
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${repId}/credited_orders` + "\n");
90
+ const result = await client.get(`/api/v2025-06/reps/${repId}/credited_orders`, params);
139
91
  ctx.output(result);
140
92
  });
141
93
 
@@ -144,8 +96,7 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
144
96
  .description("Delete a rep")
145
97
  .action(async (id) => {
146
98
  const client = await ctx.getClient();
147
- if (ctx.verbose)
148
- process.stderr.write("DELETE " + `/api/v2025-06/reps/${id}` + "\n");
99
+ if (ctx.verbose) process.stderr.write("DELETE " + `/api/v2025-06/reps/${id}` + "\n");
149
100
  const result = await client.delete(`/api/v2025-06/reps/${id}`);
150
101
  ctx.output(result);
151
102
  });
@@ -155,8 +106,7 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
155
106
  .description("Get a rep")
156
107
  .action(async (id) => {
157
108
  const client = await ctx.getClient();
158
- if (ctx.verbose)
159
- process.stderr.write("GET " + `/api/v2025-06/reps/${id}` + "\n");
109
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${id}` + "\n");
160
110
  const result = await client.get(`/api/v2025-06/reps/${id}`);
161
111
  ctx.output(result);
162
112
  });
@@ -175,8 +125,7 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
175
125
  } else if (opts.body) {
176
126
  body = ctx.parseBody(opts.body);
177
127
  }
178
- if (ctx.verbose)
179
- process.stderr.write("PATCH " + `/api/v2025-06/reps/${id}` + "\n");
128
+ if (ctx.verbose) process.stderr.write("PATCH " + `/api/v2025-06/reps/${id}` + "\n");
180
129
  const result = await client.patch(`/api/v2025-06/reps/${id}`, body);
181
130
  ctx.output(result);
182
131
  });
@@ -185,35 +134,18 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
185
134
  .command("get-most-shared <rep-id>")
186
135
  .description("Get most shared resources")
187
136
  .option("--limit <value>", "Number of resources to return (default: 10)")
188
- .option(
189
- "--period <value>",
190
- "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)",
191
- )
192
- .option(
193
- "--shareable-type <value>",
194
- "Type of resource to filter: products, media, pages, libraries, enrollment_packs, or promotions",
195
- )
196
- .option(
197
- "--language-iso <value>",
198
- "Language code for translations (e.g., 'en', 'es', 'de')",
199
- )
137
+ .option("--period <value>", "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)")
138
+ .option("--shareable-type <value>", "Type of resource to filter: products, media, pages, libraries, enrollment_packs, or promotions")
139
+ .option("--language-iso <value>", "Language code for translations (e.g., 'en', 'es', 'de')")
200
140
  .action(async (repId, opts) => {
201
141
  const client = await ctx.getClient();
202
142
  const params: Record<string, unknown> = {};
203
143
  if (opts.limit !== undefined) params["limit"] = Number(opts.limit);
204
144
  if (opts.period !== undefined) params["period"] = opts.period;
205
- if (opts.shareableType !== undefined)
206
- params["shareable_type"] = opts.shareableType;
207
- if (opts.languageIso !== undefined)
208
- params["language_iso"] = opts.languageIso;
209
- if (ctx.verbose)
210
- process.stderr.write(
211
- "GET " + `/api/v2025-06/reps/${repId}/most_shared` + "\n",
212
- );
213
- const result = await client.get(
214
- `/api/v2025-06/reps/${repId}/most_shared`,
215
- params,
216
- );
145
+ if (opts.shareableType !== undefined) params["shareable_type"] = opts.shareableType;
146
+ if (opts.languageIso !== undefined) params["language_iso"] = opts.languageIso;
147
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${repId}/most_shared` + "\n");
148
+ const result = await client.get(`/api/v2025-06/reps/${repId}/most_shared`, params);
217
149
  ctx.output(result);
218
150
  });
219
151
 
@@ -221,84 +153,46 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
221
153
  .command("get-most-viewed <rep-id>")
222
154
  .description("Get most viewed resources")
223
155
  .option("--limit <value>", "Number of resources to return (default: 10)")
224
- .option(
225
- "--period <value>",
226
- "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)",
227
- )
228
- .option(
229
- "--shareable-type <value>",
230
- "Type of resource to filter: products, media, pages, libraries, enrollment_packs, or promotions",
231
- )
232
- .option(
233
- "--language-iso <value>",
234
- "Language code for translations (e.g., 'en', 'es', 'de')",
235
- )
156
+ .option("--period <value>", "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)")
157
+ .option("--shareable-type <value>", "Type of resource to filter: products, media, pages, libraries, enrollment_packs, or promotions")
158
+ .option("--language-iso <value>", "Language code for translations (e.g., 'en', 'es', 'de')")
236
159
  .action(async (repId, opts) => {
237
160
  const client = await ctx.getClient();
238
161
  const params: Record<string, unknown> = {};
239
162
  if (opts.limit !== undefined) params["limit"] = Number(opts.limit);
240
163
  if (opts.period !== undefined) params["period"] = opts.period;
241
- if (opts.shareableType !== undefined)
242
- params["shareable_type"] = opts.shareableType;
243
- if (opts.languageIso !== undefined)
244
- params["language_iso"] = opts.languageIso;
245
- if (ctx.verbose)
246
- process.stderr.write(
247
- "GET " + `/api/v2025-06/reps/${repId}/most_viewed` + "\n",
248
- );
249
- const result = await client.get(
250
- `/api/v2025-06/reps/${repId}/most_viewed`,
251
- params,
252
- );
164
+ if (opts.shareableType !== undefined) params["shareable_type"] = opts.shareableType;
165
+ if (opts.languageIso !== undefined) params["language_iso"] = opts.languageIso;
166
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${repId}/most_viewed` + "\n");
167
+ const result = await client.get(`/api/v2025-06/reps/${repId}/most_viewed`, params);
253
168
  ctx.output(result);
254
169
  });
255
170
 
256
171
  resource
257
172
  .command("get-shared-assets <rep-id>")
258
173
  .description("List shared assets for a rep")
259
- .option(
260
- "--limit <value>",
261
- "Maximum number of assets to return (default: 12)",
262
- )
174
+ .option("--limit <value>", "Maximum number of assets to return (default: 12)")
263
175
  .action(async (repId, opts) => {
264
176
  const client = await ctx.getClient();
265
177
  const params: Record<string, unknown> = {};
266
178
  if (opts.limit !== undefined) params["limit"] = Number(opts.limit);
267
- if (ctx.verbose)
268
- process.stderr.write(
269
- "GET " + `/api/v2025-06/reps/${repId}/shared_assets` + "\n",
270
- );
271
- const result = await client.get(
272
- `/api/v2025-06/reps/${repId}/shared_assets`,
273
- params,
274
- );
179
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${repId}/shared_assets` + "\n");
180
+ const result = await client.get(`/api/v2025-06/reps/${repId}/shared_assets`, params);
275
181
  ctx.output(result);
276
182
  });
277
183
 
278
184
  resource
279
185
  .command("get-top-products-sold <rep-id>")
280
186
  .description("Get top products sold by rep")
281
- .option(
282
- "--limit <value>",
283
- "Number of top products to return (1-10, default: 5)",
284
- )
285
- .option(
286
- "--period <value>",
287
- "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)",
288
- )
187
+ .option("--limit <value>", "Number of top products to return (1-10, default: 5)")
188
+ .option("--period <value>", "Time period filter: 7d, 30d, 90d, 1y, or all (default: all)")
289
189
  .action(async (repId, opts) => {
290
190
  const client = await ctx.getClient();
291
191
  const params: Record<string, unknown> = {};
292
192
  if (opts.limit !== undefined) params["limit"] = Number(opts.limit);
293
193
  if (opts.period !== undefined) params["period"] = opts.period;
294
- if (ctx.verbose)
295
- process.stderr.write(
296
- "GET " + `/api/v2025-06/reps/${repId}/top_products_sold` + "\n",
297
- );
298
- const result = await client.get(
299
- `/api/v2025-06/reps/${repId}/top_products_sold`,
300
- params,
301
- );
194
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/reps/${repId}/top_products_sold` + "\n");
195
+ const result = await client.get(`/api/v2025-06/reps/${repId}/top_products_sold`, params);
302
196
  ctx.output(result);
303
197
  });
304
198
 
@@ -316,8 +210,7 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
316
210
  } else if (opts.body) {
317
211
  body = ctx.parseBody(opts.body);
318
212
  }
319
- if (ctx.verbose)
320
- process.stderr.write("POST " + `/api/v2025-06/reps/bulk` + "\n");
213
+ if (ctx.verbose) process.stderr.write("POST " + `/api/v2025-06/reps/bulk` + "\n");
321
214
  const result = await client.post(`/api/v2025-06/reps/bulk`, body);
322
215
  ctx.output(result);
323
216
  });
@@ -336,9 +229,9 @@ export function registerReps(parent: Command, ctx: CommandContext): void {
336
229
  } else if (opts.body) {
337
230
  body = ctx.parseBody(opts.body);
338
231
  }
339
- if (ctx.verbose)
340
- process.stderr.write("DELETE " + `/api/v2025-06/reps/bulk` + "\n");
232
+ if (ctx.verbose) process.stderr.write("DELETE " + `/api/v2025-06/reps/bulk` + "\n");
341
233
  const result = await client.delete(`/api/v2025-06/reps/bulk`, { body });
342
234
  ctx.output(result);
343
235
  });
236
+
344
237
  }
@@ -2,23 +2,15 @@
2
2
  import { Command } from "commander";
3
3
  import type { CommandContext } from "../lib/types.js";
4
4
 
5
- export function registerShareStatistics(
6
- parent: Command,
7
- ctx: CommandContext,
8
- ): void {
9
- const resource = parent
10
- .command("share-statistics")
11
- .description("Share Statistics");
5
+ export function registerShareStatistics(parent: Command, ctx: CommandContext): void {
6
+ const resource = parent.command("share-statistics").description("Share Statistics");
12
7
 
13
8
  resource
14
9
  .command("get-media-share-stats <id>")
15
10
  .description("Get share statistics for media")
16
11
  .action(async (id) => {
17
12
  const client = await ctx.getClient();
18
- if (ctx.verbose)
19
- process.stderr.write(
20
- "GET " + `/api/v2025-06/media/${id}/share_stats` + "\n",
21
- );
13
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/media/${id}/share_stats` + "\n");
22
14
  const result = await client.get(`/api/v2025-06/media/${id}/share_stats`);
23
15
  ctx.output(result);
24
16
  });
@@ -28,13 +20,8 @@ export function registerShareStatistics(
28
20
  .description("Get share statistics for product")
29
21
  .action(async (id) => {
30
22
  const client = await ctx.getClient();
31
- if (ctx.verbose)
32
- process.stderr.write(
33
- "GET " + `/api/v2025-06/products/${id}/share_stats` + "\n",
34
- );
35
- const result = await client.get(
36
- `/api/v2025-06/products/${id}/share_stats`,
37
- );
23
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/products/${id}/share_stats` + "\n");
24
+ const result = await client.get(`/api/v2025-06/products/${id}/share_stats`);
38
25
  ctx.output(result);
39
26
  });
40
27
 
@@ -43,13 +30,8 @@ export function registerShareStatistics(
43
30
  .description("Get share statistics for playlist")
44
31
  .action(async (id) => {
45
32
  const client = await ctx.getClient();
46
- if (ctx.verbose)
47
- process.stderr.write(
48
- "GET " + `/api/v2025-06/playlists/${id}/share_stats` + "\n",
49
- );
50
- const result = await client.get(
51
- `/api/v2025-06/playlists/${id}/share_stats`,
52
- );
33
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/playlists/${id}/share_stats` + "\n");
34
+ const result = await client.get(`/api/v2025-06/playlists/${id}/share_stats`);
53
35
  ctx.output(result);
54
36
  });
55
37
 
@@ -58,13 +40,8 @@ export function registerShareStatistics(
58
40
  .description("Get share statistics for category")
59
41
  .action(async (id) => {
60
42
  const client = await ctx.getClient();
61
- if (ctx.verbose)
62
- process.stderr.write(
63
- "GET " + `/api/v2025-06/categories/${id}/share_stats` + "\n",
64
- );
65
- const result = await client.get(
66
- `/api/v2025-06/categories/${id}/share_stats`,
67
- );
43
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/categories/${id}/share_stats` + "\n");
44
+ const result = await client.get(`/api/v2025-06/categories/${id}/share_stats`);
68
45
  ctx.output(result);
69
46
  });
70
47
 
@@ -73,13 +50,8 @@ export function registerShareStatistics(
73
50
  .description("Get share statistics for collection")
74
51
  .action(async (id) => {
75
52
  const client = await ctx.getClient();
76
- if (ctx.verbose)
77
- process.stderr.write(
78
- "GET " + `/api/v2025-06/collections/${id}/share_stats` + "\n",
79
- );
80
- const result = await client.get(
81
- `/api/v2025-06/collections/${id}/share_stats`,
82
- );
53
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/collections/${id}/share_stats` + "\n");
54
+ const result = await client.get(`/api/v2025-06/collections/${id}/share_stats`);
83
55
  ctx.output(result);
84
56
  });
85
57
 
@@ -88,10 +60,7 @@ export function registerShareStatistics(
88
60
  .description("Get share statistics for post")
89
61
  .action(async (id) => {
90
62
  const client = await ctx.getClient();
91
- if (ctx.verbose)
92
- process.stderr.write(
93
- "GET " + `/api/v2025-06/posts/${id}/share_stats` + "\n",
94
- );
63
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/posts/${id}/share_stats` + "\n");
95
64
  const result = await client.get(`/api/v2025-06/posts/${id}/share_stats`);
96
65
  ctx.output(result);
97
66
  });
@@ -101,10 +70,7 @@ export function registerShareStatistics(
101
70
  .description("Get share statistics for page")
102
71
  .action(async (id) => {
103
72
  const client = await ctx.getClient();
104
- if (ctx.verbose)
105
- process.stderr.write(
106
- "GET " + `/api/v2025-06/pages/${id}/share_stats` + "\n",
107
- );
73
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/pages/${id}/share_stats` + "\n");
108
74
  const result = await client.get(`/api/v2025-06/pages/${id}/share_stats`);
109
75
  ctx.output(result);
110
76
  });
@@ -114,13 +80,9 @@ export function registerShareStatistics(
114
80
  .description("Get share statistics for enrollment pack")
115
81
  .action(async (id) => {
116
82
  const client = await ctx.getClient();
117
- if (ctx.verbose)
118
- process.stderr.write(
119
- "GET " + `/api/v2025-06/enrollment_packs/${id}/share_stats` + "\n",
120
- );
121
- const result = await client.get(
122
- `/api/v2025-06/enrollment_packs/${id}/share_stats`,
123
- );
83
+ if (ctx.verbose) process.stderr.write("GET " + `/api/v2025-06/enrollment_packs/${id}/share_stats` + "\n");
84
+ const result = await client.get(`/api/v2025-06/enrollment_packs/${id}/share_stats`);
124
85
  ctx.output(result);
125
86
  });
87
+
126
88
  }
@@ -2,24 +2,17 @@
2
2
  import { Command } from "commander";
3
3
  import type { CommandContext } from "../lib/types.js";
4
4
 
5
- export function registerUsersBrandGuidelines(
6
- parent: Command,
7
- ctx: CommandContext,
8
- ): void {
9
- const resource = parent
10
- .command("users-brand-guidelines")
11
- .description("Users Brand Guidelines");
5
+ export function registerUsersBrandGuidelines(parent: Command, ctx: CommandContext): void {
6
+ const resource = parent.command("users-brand-guidelines").description("Users Brand Guidelines");
12
7
 
13
8
  resource
14
9
  .command("get-user-brand-guidelines")
15
10
  .description("Show brand guidelines")
16
11
  .action(async () => {
17
12
  const client = await ctx.getClient();
18
- if (ctx.verbose)
19
- process.stderr.write(
20
- "GET " + `/api/users/v2025-06/brand_guidelines` + "\n",
21
- );
13
+ if (ctx.verbose) process.stderr.write("GET " + `/api/users/v2025-06/brand_guidelines` + "\n");
22
14
  const result = await client.get(`/api/users/v2025-06/brand_guidelines`);
23
15
  ctx.output(result);
24
16
  });
17
+
25
18
  }