@salesforce/b2c-cli 0.7.4 → 0.9.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 (180) hide show
  1. package/dist/commands/am/clients/delete.js +2 -0
  2. package/dist/commands/am/clients/delete.js.map +1 -1
  3. package/dist/commands/am/users/delete.js +2 -0
  4. package/dist/commands/am/users/delete.js.map +1 -1
  5. package/dist/commands/am/users/reset.js +2 -0
  6. package/dist/commands/am/users/reset.js.map +1 -1
  7. package/dist/commands/auth/client/index.d.ts +32 -0
  8. package/dist/commands/auth/client/index.js +181 -0
  9. package/dist/commands/auth/client/index.js.map +1 -0
  10. package/dist/commands/auth/client/renew.d.ts +20 -0
  11. package/dist/commands/auth/client/renew.js +88 -0
  12. package/dist/commands/auth/client/renew.js.map +1 -0
  13. package/dist/commands/auth/client/token.d.ts +24 -0
  14. package/dist/commands/auth/client/token.js +66 -0
  15. package/dist/commands/auth/client/token.js.map +1 -0
  16. package/dist/commands/auth/login.d.ts +20 -0
  17. package/dist/commands/auth/login.js +83 -0
  18. package/dist/commands/auth/login.js.map +1 -0
  19. package/dist/commands/auth/logout.d.ts +12 -0
  20. package/dist/commands/auth/logout.js +23 -0
  21. package/dist/commands/auth/logout.js.map +1 -0
  22. package/dist/commands/cip/describe.d.ts +3 -3
  23. package/dist/commands/cip/query.d.ts +3 -3
  24. package/dist/commands/cip/report/customer-registration-trends.d.ts +3 -3
  25. package/dist/commands/cip/report/ocapi-requests.d.ts +3 -3
  26. package/dist/commands/cip/report/payment-method-performance.d.ts +3 -3
  27. package/dist/commands/cip/report/product-co-purchase-analysis.d.ts +3 -3
  28. package/dist/commands/cip/report/promotion-discount-analysis.d.ts +3 -3
  29. package/dist/commands/cip/report/sales-analytics.d.ts +3 -3
  30. package/dist/commands/cip/report/sales-summary.d.ts +3 -3
  31. package/dist/commands/cip/report/search-query-performance.d.ts +3 -3
  32. package/dist/commands/cip/report/top-referrers.d.ts +3 -3
  33. package/dist/commands/cip/report/top-selling-products.d.ts +3 -3
  34. package/dist/commands/cip/tables.d.ts +3 -3
  35. package/dist/commands/code/activate.d.ts +4 -3
  36. package/dist/commands/code/activate.js +1 -0
  37. package/dist/commands/code/activate.js.map +1 -1
  38. package/dist/commands/code/delete.d.ts +4 -3
  39. package/dist/commands/code/delete.js +3 -0
  40. package/dist/commands/code/delete.js.map +1 -1
  41. package/dist/commands/code/deploy.d.ts +4 -3
  42. package/dist/commands/code/deploy.js +1 -0
  43. package/dist/commands/code/deploy.js.map +1 -1
  44. package/dist/commands/code/list.d.ts +1 -0
  45. package/dist/commands/code/list.js +1 -0
  46. package/dist/commands/code/list.js.map +1 -1
  47. package/dist/commands/code/watch.d.ts +3 -3
  48. package/dist/commands/content/export.d.ts +3 -3
  49. package/dist/commands/content/list.d.ts +3 -3
  50. package/dist/commands/docs/download.d.ts +3 -3
  51. package/dist/commands/docs/schema.d.ts +7 -1
  52. package/dist/commands/docs/schema.js +15 -2
  53. package/dist/commands/docs/schema.js.map +1 -1
  54. package/dist/commands/ecdn/cache/purge.d.ts +3 -3
  55. package/dist/commands/ecdn/certificates/add.d.ts +3 -3
  56. package/dist/commands/ecdn/certificates/delete.d.ts +3 -3
  57. package/dist/commands/ecdn/certificates/delete.js +2 -0
  58. package/dist/commands/ecdn/certificates/delete.js.map +1 -1
  59. package/dist/commands/ecdn/certificates/list.d.ts +3 -3
  60. package/dist/commands/ecdn/certificates/update.d.ts +3 -3
  61. package/dist/commands/ecdn/certificates/validate.d.ts +3 -3
  62. package/dist/commands/ecdn/cipher-suites/get.d.ts +3 -3
  63. package/dist/commands/ecdn/cipher-suites/update.d.ts +3 -3
  64. package/dist/commands/ecdn/logpush/jobs/create.d.ts +3 -3
  65. package/dist/commands/ecdn/logpush/jobs/delete.d.ts +3 -3
  66. package/dist/commands/ecdn/logpush/jobs/delete.js +2 -0
  67. package/dist/commands/ecdn/logpush/jobs/delete.js.map +1 -1
  68. package/dist/commands/ecdn/logpush/jobs/get.d.ts +3 -3
  69. package/dist/commands/ecdn/logpush/jobs/list.d.ts +3 -3
  70. package/dist/commands/ecdn/logpush/jobs/update.d.ts +3 -3
  71. package/dist/commands/ecdn/logpush/ownership.d.ts +3 -3
  72. package/dist/commands/ecdn/mrt-rules/create.d.ts +3 -3
  73. package/dist/commands/ecdn/mrt-rules/delete.d.ts +3 -3
  74. package/dist/commands/ecdn/mrt-rules/delete.js +2 -0
  75. package/dist/commands/ecdn/mrt-rules/delete.js.map +1 -1
  76. package/dist/commands/ecdn/mrt-rules/get.d.ts +3 -3
  77. package/dist/commands/ecdn/mrt-rules/rules/delete.d.ts +3 -3
  78. package/dist/commands/ecdn/mrt-rules/rules/delete.js +2 -0
  79. package/dist/commands/ecdn/mrt-rules/rules/delete.js.map +1 -1
  80. package/dist/commands/ecdn/mrt-rules/rules/update.d.ts +3 -3
  81. package/dist/commands/ecdn/mrt-rules/update.d.ts +3 -3
  82. package/dist/commands/ecdn/mtls/create.d.ts +3 -3
  83. package/dist/commands/ecdn/mtls/delete.d.ts +3 -3
  84. package/dist/commands/ecdn/mtls/delete.js +2 -0
  85. package/dist/commands/ecdn/mtls/delete.js.map +1 -1
  86. package/dist/commands/ecdn/mtls/get.d.ts +3 -3
  87. package/dist/commands/ecdn/mtls/list.d.ts +3 -3
  88. package/dist/commands/ecdn/origin-headers/delete.d.ts +3 -3
  89. package/dist/commands/ecdn/origin-headers/delete.js +2 -0
  90. package/dist/commands/ecdn/origin-headers/delete.js.map +1 -1
  91. package/dist/commands/ecdn/origin-headers/get.d.ts +3 -3
  92. package/dist/commands/ecdn/origin-headers/set.d.ts +3 -3
  93. package/dist/commands/ecdn/page-shield/notifications/create.d.ts +3 -3
  94. package/dist/commands/ecdn/page-shield/notifications/delete.d.ts +3 -3
  95. package/dist/commands/ecdn/page-shield/notifications/delete.js +2 -0
  96. package/dist/commands/ecdn/page-shield/notifications/delete.js.map +1 -1
  97. package/dist/commands/ecdn/page-shield/notifications/list.d.ts +3 -3
  98. package/dist/commands/ecdn/page-shield/policies/create.d.ts +3 -3
  99. package/dist/commands/ecdn/page-shield/policies/delete.d.ts +3 -3
  100. package/dist/commands/ecdn/page-shield/policies/delete.js +2 -0
  101. package/dist/commands/ecdn/page-shield/policies/delete.js.map +1 -1
  102. package/dist/commands/ecdn/page-shield/policies/get.d.ts +3 -3
  103. package/dist/commands/ecdn/page-shield/policies/list.d.ts +3 -3
  104. package/dist/commands/ecdn/page-shield/policies/update.d.ts +3 -3
  105. package/dist/commands/ecdn/page-shield/scripts/get.d.ts +3 -3
  106. package/dist/commands/ecdn/page-shield/scripts/list.d.ts +3 -3
  107. package/dist/commands/ecdn/security/get.d.ts +3 -3
  108. package/dist/commands/ecdn/security/update.d.ts +3 -3
  109. package/dist/commands/ecdn/speed/get.d.ts +3 -3
  110. package/dist/commands/ecdn/speed/update.d.ts +3 -3
  111. package/dist/commands/ecdn/waf/groups/list.d.ts +3 -3
  112. package/dist/commands/ecdn/waf/groups/update.d.ts +3 -3
  113. package/dist/commands/ecdn/waf/managed-rules/list.d.ts +3 -3
  114. package/dist/commands/ecdn/waf/managed-rules/update.d.ts +3 -3
  115. package/dist/commands/ecdn/waf/migrate.d.ts +3 -3
  116. package/dist/commands/ecdn/waf/owasp/get.d.ts +3 -3
  117. package/dist/commands/ecdn/waf/owasp/update.d.ts +3 -3
  118. package/dist/commands/ecdn/waf/rules/get.d.ts +3 -3
  119. package/dist/commands/ecdn/waf/rules/list.d.ts +3 -3
  120. package/dist/commands/ecdn/waf/rules/update.d.ts +3 -3
  121. package/dist/commands/ecdn/waf/rulesets/list.d.ts +3 -3
  122. package/dist/commands/ecdn/waf/rulesets/update.d.ts +3 -3
  123. package/dist/commands/ecdn/zones/create.d.ts +3 -3
  124. package/dist/commands/ecdn/zones/list.d.ts +3 -3
  125. package/dist/commands/job/export.d.ts +3 -3
  126. package/dist/commands/job/import.d.ts +3 -3
  127. package/dist/commands/job/log.d.ts +54 -0
  128. package/dist/commands/job/log.js +97 -0
  129. package/dist/commands/job/log.js.map +1 -0
  130. package/dist/commands/job/run.d.ts +4 -3
  131. package/dist/commands/job/run.js +1 -0
  132. package/dist/commands/job/run.js.map +1 -1
  133. package/dist/commands/job/search.d.ts +3 -3
  134. package/dist/commands/job/wait.d.ts +3 -3
  135. package/dist/commands/logs/get.d.ts +3 -3
  136. package/dist/commands/logs/list.d.ts +3 -3
  137. package/dist/commands/logs/tail.d.ts +3 -3
  138. package/dist/commands/mrt/env/delete.js +2 -0
  139. package/dist/commands/mrt/env/delete.js.map +1 -1
  140. package/dist/commands/mrt/env/redirect/delete.js +2 -0
  141. package/dist/commands/mrt/env/redirect/delete.js.map +1 -1
  142. package/dist/commands/mrt/env/var/delete.js +2 -0
  143. package/dist/commands/mrt/env/var/delete.js.map +1 -1
  144. package/dist/commands/mrt/project/delete.js +2 -0
  145. package/dist/commands/mrt/project/delete.js.map +1 -1
  146. package/dist/commands/mrt/project/notification/delete.js +2 -0
  147. package/dist/commands/mrt/project/notification/delete.js.map +1 -1
  148. package/dist/commands/sandbox/alias/delete.js +2 -0
  149. package/dist/commands/sandbox/alias/delete.js.map +1 -1
  150. package/dist/commands/sandbox/delete.js +2 -0
  151. package/dist/commands/sandbox/delete.js.map +1 -1
  152. package/dist/commands/sandbox/reset.js +2 -0
  153. package/dist/commands/sandbox/reset.js.map +1 -1
  154. package/dist/commands/scapi/custom/status.d.ts +3 -3
  155. package/dist/commands/scapi/schemas/get.d.ts +3 -3
  156. package/dist/commands/scapi/schemas/list.d.ts +3 -3
  157. package/dist/commands/slas/client/create.d.ts +3 -3
  158. package/dist/commands/slas/client/delete.d.ts +3 -3
  159. package/dist/commands/slas/client/delete.js +2 -0
  160. package/dist/commands/slas/client/delete.js.map +1 -1
  161. package/dist/commands/slas/client/get.d.ts +3 -3
  162. package/dist/commands/slas/client/list.d.ts +3 -3
  163. package/dist/commands/slas/client/update.d.ts +3 -3
  164. package/dist/commands/slas/token.d.ts +3 -3
  165. package/dist/commands/webdav/get.d.ts +3 -3
  166. package/dist/commands/webdav/rm.d.ts +3 -3
  167. package/dist/i18n/locales/de.d.ts +26 -0
  168. package/dist/i18n/locales/de.js +24 -0
  169. package/dist/i18n/locales/de.js.map +1 -1
  170. package/dist/i18n/locales/en.d.ts +26 -0
  171. package/dist/i18n/locales/en.js +26 -0
  172. package/dist/i18n/locales/en.js.map +1 -1
  173. package/dist/i18n/locales/index.d.ts +52 -0
  174. package/dist/utils/cip/command.d.ts +3 -3
  175. package/dist/utils/ecdn/zone-command.d.ts +3 -3
  176. package/dist/utils/logs/format.d.ts +6 -0
  177. package/dist/utils/logs/format.js +23 -0
  178. package/dist/utils/logs/format.js.map +1 -1
  179. package/oclif.manifest.json +2336 -1165
  180. package/package.json +3 -3
@@ -137,6 +137,314 @@
137
137
  "index.js"
138
138
  ]
139
139
  },
140
+ "auth:login": {
141
+ "aliases": [],
142
+ "args": {
143
+ "clientId": {
144
+ "description": "Client ID for OAuth (falls back to SFCC_CLIENT_ID env var)",
145
+ "name": "clientId",
146
+ "required": false
147
+ }
148
+ },
149
+ "description": "Log in via browser and save session (stateful auth)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/auth.html#b2c-auth-login",
150
+ "examples": [
151
+ "<%= config.bin %> <%= command.id %>",
152
+ "<%= config.bin %> <%= command.id %> your-client-id"
153
+ ],
154
+ "flags": {
155
+ "log-level": {
156
+ "description": "Set logging verbosity level",
157
+ "env": "SFCC_LOG_LEVEL",
158
+ "helpGroup": "GLOBAL",
159
+ "name": "log-level",
160
+ "hasDynamicHelp": false,
161
+ "multiple": false,
162
+ "options": [
163
+ "trace",
164
+ "debug",
165
+ "info",
166
+ "warn",
167
+ "error",
168
+ "silent"
169
+ ],
170
+ "type": "option"
171
+ },
172
+ "debug": {
173
+ "char": "D",
174
+ "description": "Enable debug logging (shorthand for --log-level debug)",
175
+ "env": "SFCC_DEBUG",
176
+ "helpGroup": "GLOBAL",
177
+ "name": "debug",
178
+ "allowNo": false,
179
+ "type": "boolean"
180
+ },
181
+ "json": {
182
+ "description": "Output result as JSON",
183
+ "helpGroup": "GLOBAL",
184
+ "name": "json",
185
+ "allowNo": false,
186
+ "type": "boolean"
187
+ },
188
+ "jsonl": {
189
+ "aliases": [
190
+ "json-logs"
191
+ ],
192
+ "description": "Output log messages as JSON lines",
193
+ "env": "SFCC_JSON_LOGS",
194
+ "helpGroup": "GLOBAL",
195
+ "name": "jsonl",
196
+ "allowNo": false,
197
+ "type": "boolean"
198
+ },
199
+ "lang": {
200
+ "char": "L",
201
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
202
+ "helpGroup": "GLOBAL",
203
+ "name": "lang",
204
+ "hasDynamicHelp": false,
205
+ "multiple": false,
206
+ "type": "option"
207
+ },
208
+ "config": {
209
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
210
+ "env": "SFCC_CONFIG",
211
+ "helpGroup": "GLOBAL",
212
+ "name": "config",
213
+ "hasDynamicHelp": false,
214
+ "multiple": false,
215
+ "type": "option"
216
+ },
217
+ "instance": {
218
+ "char": "i",
219
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
220
+ "env": "SFCC_INSTANCE",
221
+ "helpGroup": "GLOBAL",
222
+ "name": "instance",
223
+ "hasDynamicHelp": false,
224
+ "multiple": false,
225
+ "type": "option"
226
+ },
227
+ "project-directory": {
228
+ "aliases": [
229
+ "working-directory"
230
+ ],
231
+ "description": "Project directory",
232
+ "env": "SFCC_PROJECT_DIRECTORY",
233
+ "helpGroup": "GLOBAL",
234
+ "name": "project-directory",
235
+ "hasDynamicHelp": false,
236
+ "multiple": false,
237
+ "type": "option"
238
+ },
239
+ "extra-query": {
240
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
241
+ "env": "SFCC_EXTRA_QUERY",
242
+ "helpGroup": "GLOBAL",
243
+ "hidden": true,
244
+ "name": "extra-query",
245
+ "hasDynamicHelp": false,
246
+ "multiple": false,
247
+ "type": "option"
248
+ },
249
+ "extra-body": {
250
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
251
+ "env": "SFCC_EXTRA_BODY",
252
+ "helpGroup": "GLOBAL",
253
+ "hidden": true,
254
+ "name": "extra-body",
255
+ "hasDynamicHelp": false,
256
+ "multiple": false,
257
+ "type": "option"
258
+ },
259
+ "extra-headers": {
260
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
261
+ "env": "SFCC_EXTRA_HEADERS",
262
+ "helpGroup": "GLOBAL",
263
+ "hidden": true,
264
+ "name": "extra-headers",
265
+ "hasDynamicHelp": false,
266
+ "multiple": false,
267
+ "type": "option"
268
+ },
269
+ "account-manager-host": {
270
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
271
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
272
+ "helpGroup": "AUTH",
273
+ "name": "account-manager-host",
274
+ "hasDynamicHelp": false,
275
+ "multiple": false,
276
+ "type": "option"
277
+ },
278
+ "auth-scope": {
279
+ "description": "OAuth scopes to request (comma-separated)",
280
+ "env": "SFCC_OAUTH_SCOPES",
281
+ "helpGroup": "AUTH",
282
+ "name": "auth-scope",
283
+ "delimiter": ",",
284
+ "hasDynamicHelp": false,
285
+ "multiple": true,
286
+ "type": "option"
287
+ }
288
+ },
289
+ "hasDynamicHelp": false,
290
+ "hiddenAliases": [
291
+ "auth:login"
292
+ ],
293
+ "id": "auth:login",
294
+ "pluginAlias": "@salesforce/b2c-cli",
295
+ "pluginName": "@salesforce/b2c-cli",
296
+ "pluginType": "core",
297
+ "strict": true,
298
+ "enableJsonFlag": false,
299
+ "isESM": true,
300
+ "relativePath": [
301
+ "dist",
302
+ "commands",
303
+ "auth",
304
+ "login.js"
305
+ ]
306
+ },
307
+ "auth:logout": {
308
+ "aliases": [],
309
+ "args": {},
310
+ "description": "Clear stored session (stateful auth)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/auth.html#b2c-auth-logout",
311
+ "examples": [
312
+ "<%= config.bin %> <%= command.id %>"
313
+ ],
314
+ "flags": {
315
+ "log-level": {
316
+ "description": "Set logging verbosity level",
317
+ "env": "SFCC_LOG_LEVEL",
318
+ "helpGroup": "GLOBAL",
319
+ "name": "log-level",
320
+ "hasDynamicHelp": false,
321
+ "multiple": false,
322
+ "options": [
323
+ "trace",
324
+ "debug",
325
+ "info",
326
+ "warn",
327
+ "error",
328
+ "silent"
329
+ ],
330
+ "type": "option"
331
+ },
332
+ "debug": {
333
+ "char": "D",
334
+ "description": "Enable debug logging (shorthand for --log-level debug)",
335
+ "env": "SFCC_DEBUG",
336
+ "helpGroup": "GLOBAL",
337
+ "name": "debug",
338
+ "allowNo": false,
339
+ "type": "boolean"
340
+ },
341
+ "json": {
342
+ "description": "Output result as JSON",
343
+ "helpGroup": "GLOBAL",
344
+ "name": "json",
345
+ "allowNo": false,
346
+ "type": "boolean"
347
+ },
348
+ "jsonl": {
349
+ "aliases": [
350
+ "json-logs"
351
+ ],
352
+ "description": "Output log messages as JSON lines",
353
+ "env": "SFCC_JSON_LOGS",
354
+ "helpGroup": "GLOBAL",
355
+ "name": "jsonl",
356
+ "allowNo": false,
357
+ "type": "boolean"
358
+ },
359
+ "lang": {
360
+ "char": "L",
361
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
362
+ "helpGroup": "GLOBAL",
363
+ "name": "lang",
364
+ "hasDynamicHelp": false,
365
+ "multiple": false,
366
+ "type": "option"
367
+ },
368
+ "config": {
369
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
370
+ "env": "SFCC_CONFIG",
371
+ "helpGroup": "GLOBAL",
372
+ "name": "config",
373
+ "hasDynamicHelp": false,
374
+ "multiple": false,
375
+ "type": "option"
376
+ },
377
+ "instance": {
378
+ "char": "i",
379
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
380
+ "env": "SFCC_INSTANCE",
381
+ "helpGroup": "GLOBAL",
382
+ "name": "instance",
383
+ "hasDynamicHelp": false,
384
+ "multiple": false,
385
+ "type": "option"
386
+ },
387
+ "project-directory": {
388
+ "aliases": [
389
+ "working-directory"
390
+ ],
391
+ "description": "Project directory",
392
+ "env": "SFCC_PROJECT_DIRECTORY",
393
+ "helpGroup": "GLOBAL",
394
+ "name": "project-directory",
395
+ "hasDynamicHelp": false,
396
+ "multiple": false,
397
+ "type": "option"
398
+ },
399
+ "extra-query": {
400
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
401
+ "env": "SFCC_EXTRA_QUERY",
402
+ "helpGroup": "GLOBAL",
403
+ "hidden": true,
404
+ "name": "extra-query",
405
+ "hasDynamicHelp": false,
406
+ "multiple": false,
407
+ "type": "option"
408
+ },
409
+ "extra-body": {
410
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
411
+ "env": "SFCC_EXTRA_BODY",
412
+ "helpGroup": "GLOBAL",
413
+ "hidden": true,
414
+ "name": "extra-body",
415
+ "hasDynamicHelp": false,
416
+ "multiple": false,
417
+ "type": "option"
418
+ },
419
+ "extra-headers": {
420
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
421
+ "env": "SFCC_EXTRA_HEADERS",
422
+ "helpGroup": "GLOBAL",
423
+ "hidden": true,
424
+ "name": "extra-headers",
425
+ "hasDynamicHelp": false,
426
+ "multiple": false,
427
+ "type": "option"
428
+ }
429
+ },
430
+ "hasDynamicHelp": false,
431
+ "hiddenAliases": [
432
+ "auth:logout"
433
+ ],
434
+ "id": "auth:logout",
435
+ "pluginAlias": "@salesforce/b2c-cli",
436
+ "pluginName": "@salesforce/b2c-cli",
437
+ "pluginType": "core",
438
+ "strict": true,
439
+ "enableJsonFlag": false,
440
+ "isESM": true,
441
+ "relativePath": [
442
+ "dist",
443
+ "commands",
444
+ "auth",
445
+ "logout.js"
446
+ ]
447
+ },
140
448
  "auth:token": {
141
449
  "aliases": [],
142
450
  "args": {},
@@ -607,7 +915,7 @@
607
915
  "description": "Inclusive end date (YYYY-MM-DD)",
608
916
  "helpGroup": "QUERY",
609
917
  "name": "to",
610
- "default": "2026-03-16",
918
+ "default": "2026-03-19",
611
919
  "hasDynamicHelp": false,
612
920
  "multiple": false,
613
921
  "type": "option"
@@ -903,7 +1211,7 @@
903
1211
  "description": "Inclusive end date (YYYY-MM-DD)",
904
1212
  "helpGroup": "QUERY",
905
1213
  "name": "to",
906
- "default": "2026-03-16",
1214
+ "default": "2026-03-19",
907
1215
  "hasDynamicHelp": false,
908
1216
  "multiple": false,
909
1217
  "type": "option"
@@ -1334,7 +1642,7 @@
1334
1642
  "description": "Inclusive end date (YYYY-MM-DD)",
1335
1643
  "helpGroup": "QUERY",
1336
1644
  "name": "to",
1337
- "default": "2026-03-16",
1645
+ "default": "2026-03-19",
1338
1646
  "hasDynamicHelp": false,
1339
1647
  "multiple": false,
1340
1648
  "type": "option"
@@ -1712,7 +2020,9 @@
1712
2020
  }
1713
2021
  },
1714
2022
  "hasDynamicHelp": false,
1715
- "hiddenAliases": [],
2023
+ "hiddenAliases": [
2024
+ "code:activate"
2025
+ ],
1716
2026
  "id": "code:activate",
1717
2027
  "pluginAlias": "@salesforce/b2c-cli",
1718
2028
  "pluginName": "@salesforce/b2c-cli",
@@ -2035,7 +2345,9 @@
2035
2345
  }
2036
2346
  },
2037
2347
  "hasDynamicHelp": false,
2038
- "hiddenAliases": [],
2348
+ "hiddenAliases": [
2349
+ "code:delete"
2350
+ ],
2039
2351
  "id": "code:delete",
2040
2352
  "pluginAlias": "@salesforce/b2c-cli",
2041
2353
  "pluginName": "@salesforce/b2c-cli",
@@ -2386,7 +2698,9 @@
2386
2698
  }
2387
2699
  },
2388
2700
  "hasDynamicHelp": false,
2389
- "hiddenAliases": [],
2701
+ "hiddenAliases": [
2702
+ "code:deploy"
2703
+ ],
2390
2704
  "id": "code:deploy",
2391
2705
  "pluginAlias": "@salesforce/b2c-cli",
2392
2706
  "pluginName": "@salesforce/b2c-cli",
@@ -2724,7 +3038,9 @@
2724
3038
  }
2725
3039
  },
2726
3040
  "hasDynamicHelp": false,
2727
- "hiddenAliases": [],
3041
+ "hiddenAliases": [
3042
+ "code:list"
3043
+ ],
2728
3044
  "id": "code:list",
2729
3045
  "pluginAlias": "@salesforce/b2c-cli",
2730
3046
  "pluginName": "@salesforce/b2c-cli",
@@ -4359,7 +4675,8 @@
4359
4675
  "<%= config.bin %> <%= command.id %> catalog",
4360
4676
  "<%= config.bin %> <%= command.id %> order",
4361
4677
  "<%= config.bin %> <%= command.id %> --list",
4362
- "<%= config.bin %> <%= command.id %> catalog --json"
4678
+ "<%= config.bin %> <%= command.id %> catalog --json",
4679
+ "xmllint --schema \"$(<%= config.bin %> <%= command.id %> catalog --path)\" file.xml --noout"
4363
4680
  ],
4364
4681
  "flags": {
4365
4682
  "json": {
@@ -4482,6 +4799,13 @@
4482
4799
  "name": "list",
4483
4800
  "allowNo": false,
4484
4801
  "type": "boolean"
4802
+ },
4803
+ "path": {
4804
+ "char": "p",
4805
+ "description": "Print the filesystem path to the schema instead of its content",
4806
+ "name": "path",
4807
+ "allowNo": false,
4808
+ "type": "boolean"
4485
4809
  }
4486
4810
  },
4487
4811
  "hasDynamicHelp": false,
@@ -5424,22 +5748,26 @@
5424
5748
  "import.js"
5425
5749
  ]
5426
5750
  },
5427
- "job:run": {
5751
+ "job:log": {
5428
5752
  "aliases": [],
5429
5753
  "args": {
5430
5754
  "jobId": {
5431
- "description": "Job ID to execute",
5755
+ "description": "Job ID",
5432
5756
  "name": "jobId",
5433
5757
  "required": true
5758
+ },
5759
+ "executionId": {
5760
+ "description": "Execution ID (if omitted, finds the most recent execution with a log)",
5761
+ "name": "executionId",
5762
+ "required": false
5434
5763
  }
5435
5764
  },
5436
- "description": "Execute a job on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-run",
5765
+ "description": "Retrieve the log for a job execution\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-log",
5437
5766
  "examples": [
5438
- "<%= config.bin %> <%= command.id %> my-custom-job",
5439
- "<%= config.bin %> <%= command.id %> my-custom-job --wait",
5440
- "<%= config.bin %> <%= command.id %> my-custom-job -P \"SiteScope={\\\"all_storefront_sites\\\":true}\" -P OtherParam=value",
5441
- "<%= config.bin %> <%= command.id %> my-custom-job --wait --timeout 600",
5442
- "<%= config.bin %> <%= command.id %> sfcc-search-index-product-full-update --body '{\"site_scope\":{\"named_sites\":[\"RefArch\"]}}'"
5767
+ "<%= config.bin %> <%= command.id %> my-job",
5768
+ "<%= config.bin %> <%= command.id %> my-job --failed",
5769
+ "<%= config.bin %> <%= command.id %> my-job abc123-def456",
5770
+ "<%= config.bin %> <%= command.id %> my-job --json"
5443
5771
  ],
5444
5772
  "flags": {
5445
5773
  "json": {
@@ -5725,59 +6053,22 @@
5725
6053
  "allowNo": true,
5726
6054
  "type": "boolean"
5727
6055
  },
5728
- "wait": {
5729
- "char": "w",
5730
- "description": "Wait for job to complete",
5731
- "name": "wait",
5732
- "allowNo": false,
5733
- "type": "boolean"
5734
- },
5735
- "timeout": {
5736
- "char": "t",
5737
- "description": "Timeout in seconds when waiting (default: no timeout)",
5738
- "name": "timeout",
5739
- "hasDynamicHelp": false,
5740
- "multiple": false,
5741
- "type": "option"
5742
- },
5743
- "param": {
5744
- "char": "P",
5745
- "description": "Job parameter in format \"name=value\" (use -P multiple times for multiple params)",
5746
- "exclusive": [
5747
- "body"
5748
- ],
5749
- "name": "param",
5750
- "hasDynamicHelp": false,
5751
- "multiple": true,
5752
- "type": "option"
5753
- },
5754
- "body": {
5755
- "char": "B",
5756
- "description": "Raw JSON request body (for system jobs with non-standard schemas)",
5757
- "exclusive": [
5758
- "param"
5759
- ],
5760
- "name": "body",
5761
- "hasDynamicHelp": false,
5762
- "multiple": false,
5763
- "type": "option"
5764
- },
5765
- "no-wait-running": {
5766
- "description": "Do not wait for running job to finish before starting",
5767
- "name": "no-wait-running",
6056
+ "failed": {
6057
+ "description": "Find the most recent failed execution with a log",
6058
+ "name": "failed",
5768
6059
  "allowNo": false,
5769
6060
  "type": "boolean"
5770
6061
  },
5771
- "show-log": {
5772
- "description": "Show job log on failure",
5773
- "name": "show-log",
6062
+ "no-color": {
6063
+ "description": "Disable colored output",
6064
+ "name": "no-color",
5774
6065
  "allowNo": false,
5775
6066
  "type": "boolean"
5776
6067
  }
5777
6068
  },
5778
6069
  "hasDynamicHelp": false,
5779
6070
  "hiddenAliases": [],
5780
- "id": "job:run",
6071
+ "id": "job:log",
5781
6072
  "pluginAlias": "@salesforce/b2c-cli",
5782
6073
  "pluginName": "@salesforce/b2c-cli",
5783
6074
  "pluginType": "core",
@@ -5788,19 +6079,25 @@
5788
6079
  "dist",
5789
6080
  "commands",
5790
6081
  "job",
5791
- "run.js"
6082
+ "log.js"
5792
6083
  ]
5793
6084
  },
5794
- "job:search": {
6085
+ "job:run": {
5795
6086
  "aliases": [],
5796
- "args": {},
5797
- "description": "Search for job executions on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-search",
6087
+ "args": {
6088
+ "jobId": {
6089
+ "description": "Job ID to execute",
6090
+ "name": "jobId",
6091
+ "required": true
6092
+ }
6093
+ },
6094
+ "description": "Execute a job on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-run",
5798
6095
  "examples": [
5799
- "<%= config.bin %> <%= command.id %>",
5800
- "<%= config.bin %> <%= command.id %> --job-id my-custom-job",
5801
- "<%= config.bin %> <%= command.id %> --status RUNNING,PENDING",
5802
- "<%= config.bin %> <%= command.id %> --count 50",
5803
- "<%= config.bin %> <%= command.id %> --json"
6096
+ "<%= config.bin %> <%= command.id %> my-custom-job",
6097
+ "<%= config.bin %> <%= command.id %> my-custom-job --wait",
6098
+ "<%= config.bin %> <%= command.id %> my-custom-job -P \"SiteScope={\\\"all_storefront_sites\\\":true}\" -P OtherParam=value",
6099
+ "<%= config.bin %> <%= command.id %> my-custom-job --wait --timeout 600",
6100
+ "<%= config.bin %> <%= command.id %> sfcc-search-index-product-full-update --body '{\"site_scope\":{\"named_sites\":[\"RefArch\"]}}'"
5804
6101
  ],
5805
6102
  "flags": {
5806
6103
  "json": {
@@ -6086,69 +6383,61 @@
6086
6383
  "allowNo": true,
6087
6384
  "type": "boolean"
6088
6385
  },
6089
- "job-id": {
6090
- "char": "j",
6091
- "description": "Filter by job ID",
6092
- "name": "job-id",
6386
+ "wait": {
6387
+ "char": "w",
6388
+ "description": "Wait for job to complete",
6389
+ "name": "wait",
6390
+ "allowNo": false,
6391
+ "type": "boolean"
6392
+ },
6393
+ "timeout": {
6394
+ "char": "t",
6395
+ "description": "Timeout in seconds when waiting (default: no timeout)",
6396
+ "name": "timeout",
6093
6397
  "hasDynamicHelp": false,
6094
6398
  "multiple": false,
6095
6399
  "type": "option"
6096
6400
  },
6097
- "status": {
6098
- "description": "Filter by status (comma-separated: RUNNING,PENDING,OK,ERROR)",
6099
- "name": "status",
6100
- "delimiter": ",",
6401
+ "param": {
6402
+ "char": "P",
6403
+ "description": "Job parameter in format \"name=value\" (use -P multiple times for multiple params)",
6404
+ "exclusive": [
6405
+ "body"
6406
+ ],
6407
+ "name": "param",
6101
6408
  "hasDynamicHelp": false,
6102
6409
  "multiple": true,
6103
6410
  "type": "option"
6104
6411
  },
6105
- "count": {
6106
- "char": "n",
6107
- "description": "Maximum number of results",
6108
- "name": "count",
6109
- "default": 25,
6110
- "hasDynamicHelp": false,
6111
- "multiple": false,
6112
- "type": "option"
6113
- },
6114
- "start": {
6115
- "description": "Starting index for pagination",
6116
- "name": "start",
6117
- "default": 0,
6412
+ "body": {
6413
+ "char": "B",
6414
+ "description": "Raw JSON request body (for system jobs with non-standard schemas)",
6415
+ "exclusive": [
6416
+ "param"
6417
+ ],
6418
+ "name": "body",
6118
6419
  "hasDynamicHelp": false,
6119
6420
  "multiple": false,
6120
6421
  "type": "option"
6121
6422
  },
6122
- "sort-by": {
6123
- "description": "Sort by field",
6124
- "name": "sort-by",
6125
- "default": "start_time",
6126
- "hasDynamicHelp": false,
6127
- "multiple": false,
6128
- "options": [
6129
- "start_time",
6130
- "end_time",
6131
- "job_id",
6132
- "status"
6133
- ],
6134
- "type": "option"
6423
+ "no-wait-running": {
6424
+ "description": "Do not wait for running job to finish before starting",
6425
+ "name": "no-wait-running",
6426
+ "allowNo": false,
6427
+ "type": "boolean"
6135
6428
  },
6136
- "sort-order": {
6137
- "description": "Sort order",
6138
- "name": "sort-order",
6139
- "default": "desc",
6140
- "hasDynamicHelp": false,
6141
- "multiple": false,
6142
- "options": [
6143
- "asc",
6144
- "desc"
6145
- ],
6146
- "type": "option"
6429
+ "show-log": {
6430
+ "description": "Show job log on failure",
6431
+ "name": "show-log",
6432
+ "allowNo": false,
6433
+ "type": "boolean"
6147
6434
  }
6148
6435
  },
6149
6436
  "hasDynamicHelp": false,
6150
- "hiddenAliases": [],
6151
- "id": "job:search",
6437
+ "hiddenAliases": [
6438
+ "job:run"
6439
+ ],
6440
+ "id": "job:run",
6152
6441
  "pluginAlias": "@salesforce/b2c-cli",
6153
6442
  "pluginName": "@salesforce/b2c-cli",
6154
6443
  "pluginType": "core",
@@ -6159,28 +6448,19 @@
6159
6448
  "dist",
6160
6449
  "commands",
6161
6450
  "job",
6162
- "search.js"
6451
+ "run.js"
6163
6452
  ]
6164
6453
  },
6165
- "job:wait": {
6454
+ "job:search": {
6166
6455
  "aliases": [],
6167
- "args": {
6168
- "jobId": {
6169
- "description": "Job ID",
6170
- "name": "jobId",
6171
- "required": true
6172
- },
6173
- "executionId": {
6174
- "description": "Execution ID to wait for",
6175
- "name": "executionId",
6176
- "required": true
6177
- }
6178
- },
6179
- "description": "Wait for a job execution to complete\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-wait",
6456
+ "args": {},
6457
+ "description": "Search for job executions on a B2C Commerce instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-search",
6180
6458
  "examples": [
6181
- "<%= config.bin %> <%= command.id %> my-job abc123-def456",
6182
- "<%= config.bin %> <%= command.id %> my-job abc123-def456 --timeout 600",
6183
- "<%= config.bin %> <%= command.id %> my-job abc123-def456 --poll-interval 5"
6459
+ "<%= config.bin %> <%= command.id %>",
6460
+ "<%= config.bin %> <%= command.id %> --job-id my-custom-job",
6461
+ "<%= config.bin %> <%= command.id %> --status RUNNING,PENDING",
6462
+ "<%= config.bin %> <%= command.id %> --count 50",
6463
+ "<%= config.bin %> <%= command.id %> --json"
6184
6464
  ],
6185
6465
  "flags": {
6186
6466
  "json": {
@@ -6466,32 +6746,69 @@
6466
6746
  "allowNo": true,
6467
6747
  "type": "boolean"
6468
6748
  },
6469
- "timeout": {
6470
- "char": "t",
6471
- "description": "Timeout in seconds (default: no timeout)",
6472
- "name": "timeout",
6749
+ "job-id": {
6750
+ "char": "j",
6751
+ "description": "Filter by job ID",
6752
+ "name": "job-id",
6473
6753
  "hasDynamicHelp": false,
6474
6754
  "multiple": false,
6475
6755
  "type": "option"
6476
6756
  },
6477
- "poll-interval": {
6478
- "description": "Polling interval in seconds",
6479
- "name": "poll-interval",
6480
- "default": 3,
6757
+ "status": {
6758
+ "description": "Filter by status (comma-separated: RUNNING,PENDING,OK,ERROR)",
6759
+ "name": "status",
6760
+ "delimiter": ",",
6761
+ "hasDynamicHelp": false,
6762
+ "multiple": true,
6763
+ "type": "option"
6764
+ },
6765
+ "count": {
6766
+ "char": "n",
6767
+ "description": "Maximum number of results",
6768
+ "name": "count",
6769
+ "default": 25,
6481
6770
  "hasDynamicHelp": false,
6482
6771
  "multiple": false,
6483
6772
  "type": "option"
6484
6773
  },
6485
- "show-log": {
6486
- "description": "Show job log on failure",
6487
- "name": "show-log",
6488
- "allowNo": false,
6489
- "type": "boolean"
6774
+ "start": {
6775
+ "description": "Starting index for pagination",
6776
+ "name": "start",
6777
+ "default": 0,
6778
+ "hasDynamicHelp": false,
6779
+ "multiple": false,
6780
+ "type": "option"
6781
+ },
6782
+ "sort-by": {
6783
+ "description": "Sort by field",
6784
+ "name": "sort-by",
6785
+ "default": "start_time",
6786
+ "hasDynamicHelp": false,
6787
+ "multiple": false,
6788
+ "options": [
6789
+ "start_time",
6790
+ "end_time",
6791
+ "job_id",
6792
+ "status"
6793
+ ],
6794
+ "type": "option"
6795
+ },
6796
+ "sort-order": {
6797
+ "description": "Sort order",
6798
+ "name": "sort-order",
6799
+ "default": "desc",
6800
+ "hasDynamicHelp": false,
6801
+ "multiple": false,
6802
+ "options": [
6803
+ "asc",
6804
+ "desc"
6805
+ ],
6806
+ "type": "option"
6490
6807
  }
6491
6808
  },
6492
6809
  "hasDynamicHelp": false,
6493
6810
  "hiddenAliases": [],
6494
- "id": "job:wait",
6811
+ "id": "job:search",
6495
6812
  "pluginAlias": "@salesforce/b2c-cli",
6496
6813
  "pluginName": "@salesforce/b2c-cli",
6497
6814
  "pluginType": "core",
@@ -6502,23 +6819,366 @@
6502
6819
  "dist",
6503
6820
  "commands",
6504
6821
  "job",
6505
- "wait.js"
6822
+ "search.js"
6506
6823
  ]
6507
6824
  },
6508
- "logs:get": {
6825
+ "job:wait": {
6509
6826
  "aliases": [],
6510
- "args": {},
6511
- "description": "Get recent log entries from a B2C Commerce instance",
6827
+ "args": {
6828
+ "jobId": {
6829
+ "description": "Job ID",
6830
+ "name": "jobId",
6831
+ "required": true
6832
+ },
6833
+ "executionId": {
6834
+ "description": "Execution ID to wait for",
6835
+ "name": "executionId",
6836
+ "required": true
6837
+ }
6838
+ },
6839
+ "description": "Wait for a job execution to complete\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/jobs.html#b2c-job-wait",
6512
6840
  "examples": [
6513
- "<%= config.bin %> <%= command.id %>",
6514
- "<%= config.bin %> <%= command.id %> --count 50",
6515
- "<%= config.bin %> <%= command.id %> --filter error --filter customerror --filter debug",
6516
- "<%= config.bin %> <%= command.id %> --since 5m",
6517
- "<%= config.bin %> <%= command.id %> --since \"2026-01-25T10:00:00\"",
6518
- "<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
6519
- "<%= config.bin %> <%= command.id %> --search OrderMgr",
6520
- "<%= config.bin %> <%= command.id %> --since 1h --level ERROR --search \"PaymentProcessor\" --json",
6521
- "<%= config.bin %> <%= command.id %> --json"
6841
+ "<%= config.bin %> <%= command.id %> my-job abc123-def456",
6842
+ "<%= config.bin %> <%= command.id %> my-job abc123-def456 --timeout 600",
6843
+ "<%= config.bin %> <%= command.id %> my-job abc123-def456 --poll-interval 5"
6844
+ ],
6845
+ "flags": {
6846
+ "json": {
6847
+ "description": "Output result as JSON",
6848
+ "helpGroup": "GLOBAL",
6849
+ "name": "json",
6850
+ "allowNo": false,
6851
+ "type": "boolean"
6852
+ },
6853
+ "log-level": {
6854
+ "description": "Set logging verbosity level",
6855
+ "env": "SFCC_LOG_LEVEL",
6856
+ "helpGroup": "GLOBAL",
6857
+ "name": "log-level",
6858
+ "hasDynamicHelp": false,
6859
+ "multiple": false,
6860
+ "options": [
6861
+ "trace",
6862
+ "debug",
6863
+ "info",
6864
+ "warn",
6865
+ "error",
6866
+ "silent"
6867
+ ],
6868
+ "type": "option"
6869
+ },
6870
+ "debug": {
6871
+ "char": "D",
6872
+ "description": "Enable debug logging (shorthand for --log-level debug)",
6873
+ "env": "SFCC_DEBUG",
6874
+ "helpGroup": "GLOBAL",
6875
+ "name": "debug",
6876
+ "allowNo": false,
6877
+ "type": "boolean"
6878
+ },
6879
+ "jsonl": {
6880
+ "aliases": [
6881
+ "json-logs"
6882
+ ],
6883
+ "description": "Output log messages as JSON lines",
6884
+ "env": "SFCC_JSON_LOGS",
6885
+ "helpGroup": "GLOBAL",
6886
+ "name": "jsonl",
6887
+ "allowNo": false,
6888
+ "type": "boolean"
6889
+ },
6890
+ "lang": {
6891
+ "char": "L",
6892
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
6893
+ "helpGroup": "GLOBAL",
6894
+ "name": "lang",
6895
+ "hasDynamicHelp": false,
6896
+ "multiple": false,
6897
+ "type": "option"
6898
+ },
6899
+ "config": {
6900
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
6901
+ "env": "SFCC_CONFIG",
6902
+ "helpGroup": "GLOBAL",
6903
+ "name": "config",
6904
+ "hasDynamicHelp": false,
6905
+ "multiple": false,
6906
+ "type": "option"
6907
+ },
6908
+ "instance": {
6909
+ "char": "i",
6910
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
6911
+ "env": "SFCC_INSTANCE",
6912
+ "helpGroup": "GLOBAL",
6913
+ "name": "instance",
6914
+ "hasDynamicHelp": false,
6915
+ "multiple": false,
6916
+ "type": "option"
6917
+ },
6918
+ "project-directory": {
6919
+ "aliases": [
6920
+ "working-directory"
6921
+ ],
6922
+ "description": "Project directory",
6923
+ "env": "SFCC_PROJECT_DIRECTORY",
6924
+ "helpGroup": "GLOBAL",
6925
+ "name": "project-directory",
6926
+ "hasDynamicHelp": false,
6927
+ "multiple": false,
6928
+ "type": "option"
6929
+ },
6930
+ "extra-query": {
6931
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
6932
+ "env": "SFCC_EXTRA_QUERY",
6933
+ "helpGroup": "GLOBAL",
6934
+ "hidden": true,
6935
+ "name": "extra-query",
6936
+ "hasDynamicHelp": false,
6937
+ "multiple": false,
6938
+ "type": "option"
6939
+ },
6940
+ "extra-body": {
6941
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
6942
+ "env": "SFCC_EXTRA_BODY",
6943
+ "helpGroup": "GLOBAL",
6944
+ "hidden": true,
6945
+ "name": "extra-body",
6946
+ "hasDynamicHelp": false,
6947
+ "multiple": false,
6948
+ "type": "option"
6949
+ },
6950
+ "extra-headers": {
6951
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
6952
+ "env": "SFCC_EXTRA_HEADERS",
6953
+ "helpGroup": "GLOBAL",
6954
+ "hidden": true,
6955
+ "name": "extra-headers",
6956
+ "hasDynamicHelp": false,
6957
+ "multiple": false,
6958
+ "type": "option"
6959
+ },
6960
+ "client-id": {
6961
+ "description": "Client ID for OAuth",
6962
+ "env": "SFCC_CLIENT_ID",
6963
+ "helpGroup": "AUTH",
6964
+ "name": "client-id",
6965
+ "hasDynamicHelp": false,
6966
+ "multiple": false,
6967
+ "type": "option"
6968
+ },
6969
+ "client-secret": {
6970
+ "description": "Client Secret for OAuth",
6971
+ "env": "SFCC_CLIENT_SECRET",
6972
+ "helpGroup": "AUTH",
6973
+ "name": "client-secret",
6974
+ "hasDynamicHelp": false,
6975
+ "multiple": false,
6976
+ "type": "option"
6977
+ },
6978
+ "auth-scope": {
6979
+ "description": "OAuth scopes to request (comma-separated)",
6980
+ "env": "SFCC_OAUTH_SCOPES",
6981
+ "helpGroup": "AUTH",
6982
+ "name": "auth-scope",
6983
+ "delimiter": ",",
6984
+ "hasDynamicHelp": false,
6985
+ "multiple": true,
6986
+ "type": "option"
6987
+ },
6988
+ "short-code": {
6989
+ "description": "SCAPI short code",
6990
+ "env": "SFCC_SHORTCODE",
6991
+ "helpGroup": "AUTH",
6992
+ "name": "short-code",
6993
+ "hasDynamicHelp": false,
6994
+ "multiple": false,
6995
+ "type": "option"
6996
+ },
6997
+ "tenant-id": {
6998
+ "aliases": [
6999
+ "tenant"
7000
+ ],
7001
+ "description": "Organization/tenant ID",
7002
+ "env": "SFCC_TENANT_ID",
7003
+ "helpGroup": "AUTH",
7004
+ "name": "tenant-id",
7005
+ "hasDynamicHelp": false,
7006
+ "multiple": false,
7007
+ "type": "option"
7008
+ },
7009
+ "auth-methods": {
7010
+ "description": "Allowed auth methods in priority order (comma-separated)",
7011
+ "env": "SFCC_AUTH_METHODS",
7012
+ "exclusive": [
7013
+ "user-auth"
7014
+ ],
7015
+ "helpGroup": "AUTH",
7016
+ "name": "auth-methods",
7017
+ "delimiter": ",",
7018
+ "hasDynamicHelp": false,
7019
+ "multiple": true,
7020
+ "options": [
7021
+ "client-credentials",
7022
+ "implicit",
7023
+ "basic",
7024
+ "api-key"
7025
+ ],
7026
+ "type": "option"
7027
+ },
7028
+ "user-auth": {
7029
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
7030
+ "exclusive": [
7031
+ "auth-methods"
7032
+ ],
7033
+ "helpGroup": "AUTH",
7034
+ "name": "user-auth",
7035
+ "allowNo": false,
7036
+ "type": "boolean"
7037
+ },
7038
+ "account-manager-host": {
7039
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
7040
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
7041
+ "helpGroup": "AUTH",
7042
+ "name": "account-manager-host",
7043
+ "hasDynamicHelp": false,
7044
+ "multiple": false,
7045
+ "type": "option"
7046
+ },
7047
+ "server": {
7048
+ "char": "s",
7049
+ "description": "B2C instance hostname",
7050
+ "env": "SFCC_SERVER",
7051
+ "helpGroup": "INSTANCE",
7052
+ "name": "server",
7053
+ "hasDynamicHelp": false,
7054
+ "multiple": false,
7055
+ "type": "option"
7056
+ },
7057
+ "webdav-server": {
7058
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
7059
+ "env": "SFCC_WEBDAV_SERVER",
7060
+ "helpGroup": "INSTANCE",
7061
+ "name": "webdav-server",
7062
+ "hasDynamicHelp": false,
7063
+ "multiple": false,
7064
+ "type": "option"
7065
+ },
7066
+ "code-version": {
7067
+ "char": "v",
7068
+ "description": "Code version",
7069
+ "env": "SFCC_CODE_VERSION",
7070
+ "helpGroup": "INSTANCE",
7071
+ "name": "code-version",
7072
+ "hasDynamicHelp": false,
7073
+ "multiple": false,
7074
+ "type": "option"
7075
+ },
7076
+ "username": {
7077
+ "char": "u",
7078
+ "description": "Username for Basic Auth (WebDAV)",
7079
+ "env": "SFCC_USERNAME",
7080
+ "helpGroup": "AUTH",
7081
+ "name": "username",
7082
+ "hasDynamicHelp": false,
7083
+ "multiple": false,
7084
+ "type": "option"
7085
+ },
7086
+ "password": {
7087
+ "char": "p",
7088
+ "description": "Password/access key for Basic Auth (WebDAV)",
7089
+ "env": "SFCC_PASSWORD",
7090
+ "helpGroup": "AUTH",
7091
+ "name": "password",
7092
+ "hasDynamicHelp": false,
7093
+ "multiple": false,
7094
+ "type": "option"
7095
+ },
7096
+ "certificate": {
7097
+ "description": "Path to PKCS12 certificate for two-factor auth",
7098
+ "env": "SFCC_CERTIFICATE",
7099
+ "helpGroup": "AUTH",
7100
+ "name": "certificate",
7101
+ "hasDynamicHelp": false,
7102
+ "multiple": false,
7103
+ "type": "option"
7104
+ },
7105
+ "passphrase": {
7106
+ "description": "Passphrase for the certificate",
7107
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
7108
+ "helpGroup": "AUTH",
7109
+ "name": "passphrase",
7110
+ "hasDynamicHelp": false,
7111
+ "multiple": false,
7112
+ "type": "option"
7113
+ },
7114
+ "selfsigned": {
7115
+ "description": "Allow self-signed server certificates",
7116
+ "env": "SFCC_SELFSIGNED",
7117
+ "helpGroup": "AUTH",
7118
+ "name": "selfsigned",
7119
+ "allowNo": false,
7120
+ "type": "boolean"
7121
+ },
7122
+ "verify": {
7123
+ "description": "Verify SSL certificates",
7124
+ "helpGroup": "AUTH",
7125
+ "name": "verify",
7126
+ "allowNo": true,
7127
+ "type": "boolean"
7128
+ },
7129
+ "timeout": {
7130
+ "char": "t",
7131
+ "description": "Timeout in seconds (default: no timeout)",
7132
+ "name": "timeout",
7133
+ "hasDynamicHelp": false,
7134
+ "multiple": false,
7135
+ "type": "option"
7136
+ },
7137
+ "poll-interval": {
7138
+ "description": "Polling interval in seconds",
7139
+ "name": "poll-interval",
7140
+ "default": 3,
7141
+ "hasDynamicHelp": false,
7142
+ "multiple": false,
7143
+ "type": "option"
7144
+ },
7145
+ "show-log": {
7146
+ "description": "Show job log on failure",
7147
+ "name": "show-log",
7148
+ "allowNo": false,
7149
+ "type": "boolean"
7150
+ }
7151
+ },
7152
+ "hasDynamicHelp": false,
7153
+ "hiddenAliases": [],
7154
+ "id": "job:wait",
7155
+ "pluginAlias": "@salesforce/b2c-cli",
7156
+ "pluginName": "@salesforce/b2c-cli",
7157
+ "pluginType": "core",
7158
+ "strict": true,
7159
+ "enableJsonFlag": true,
7160
+ "isESM": true,
7161
+ "relativePath": [
7162
+ "dist",
7163
+ "commands",
7164
+ "job",
7165
+ "wait.js"
7166
+ ]
7167
+ },
7168
+ "logs:get": {
7169
+ "aliases": [],
7170
+ "args": {},
7171
+ "description": "Get recent log entries from a B2C Commerce instance",
7172
+ "examples": [
7173
+ "<%= config.bin %> <%= command.id %>",
7174
+ "<%= config.bin %> <%= command.id %> --count 50",
7175
+ "<%= config.bin %> <%= command.id %> --filter error --filter customerror --filter debug",
7176
+ "<%= config.bin %> <%= command.id %> --since 5m",
7177
+ "<%= config.bin %> <%= command.id %> --since \"2026-01-25T10:00:00\"",
7178
+ "<%= config.bin %> <%= command.id %> --level ERROR --level FATAL",
7179
+ "<%= config.bin %> <%= command.id %> --search OrderMgr",
7180
+ "<%= config.bin %> <%= command.id %> --since 1h --level ERROR --search \"PaymentProcessor\" --json",
7181
+ "<%= config.bin %> <%= command.id %> --json"
6522
7182
  ],
6523
7183
  "flags": {
6524
7184
  "json": {
@@ -13089,7 +13749,628 @@
13089
13749
  },
13090
13750
  "hasDynamicHelp": false,
13091
13751
  "hiddenAliases": [],
13092
- "id": "sites:list",
13752
+ "id": "sites:list",
13753
+ "pluginAlias": "@salesforce/b2c-cli",
13754
+ "pluginName": "@salesforce/b2c-cli",
13755
+ "pluginType": "core",
13756
+ "strict": true,
13757
+ "enableJsonFlag": true,
13758
+ "isESM": true,
13759
+ "relativePath": [
13760
+ "dist",
13761
+ "commands",
13762
+ "sites",
13763
+ "list.js"
13764
+ ]
13765
+ },
13766
+ "slas:token": {
13767
+ "aliases": [],
13768
+ "args": {},
13769
+ "description": "Get a SLAS shopper access token\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-token",
13770
+ "examples": [
13771
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch",
13772
+ "<%= config.bin %> <%= command.id %> --slas-client-id my-client --tenant-id abcd_123 --short-code kv7kzm78 --site-id RefArch",
13773
+ "<%= config.bin %> <%= command.id %> --slas-client-id my-client --slas-client-secret sk_xxx --tenant-id abcd_123 --short-code kv7kzm78 --site-id RefArch",
13774
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch --shopper-login user@example.com --shopper-password secret",
13775
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch --json"
13776
+ ],
13777
+ "flags": {
13778
+ "json": {
13779
+ "description": "Output result as JSON",
13780
+ "helpGroup": "GLOBAL",
13781
+ "name": "json",
13782
+ "allowNo": false,
13783
+ "type": "boolean"
13784
+ },
13785
+ "log-level": {
13786
+ "description": "Set logging verbosity level",
13787
+ "env": "SFCC_LOG_LEVEL",
13788
+ "helpGroup": "GLOBAL",
13789
+ "name": "log-level",
13790
+ "hasDynamicHelp": false,
13791
+ "multiple": false,
13792
+ "options": [
13793
+ "trace",
13794
+ "debug",
13795
+ "info",
13796
+ "warn",
13797
+ "error",
13798
+ "silent"
13799
+ ],
13800
+ "type": "option"
13801
+ },
13802
+ "debug": {
13803
+ "char": "D",
13804
+ "description": "Enable debug logging (shorthand for --log-level debug)",
13805
+ "env": "SFCC_DEBUG",
13806
+ "helpGroup": "GLOBAL",
13807
+ "name": "debug",
13808
+ "allowNo": false,
13809
+ "type": "boolean"
13810
+ },
13811
+ "jsonl": {
13812
+ "aliases": [
13813
+ "json-logs"
13814
+ ],
13815
+ "description": "Output log messages as JSON lines",
13816
+ "env": "SFCC_JSON_LOGS",
13817
+ "helpGroup": "GLOBAL",
13818
+ "name": "jsonl",
13819
+ "allowNo": false,
13820
+ "type": "boolean"
13821
+ },
13822
+ "lang": {
13823
+ "char": "L",
13824
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
13825
+ "helpGroup": "GLOBAL",
13826
+ "name": "lang",
13827
+ "hasDynamicHelp": false,
13828
+ "multiple": false,
13829
+ "type": "option"
13830
+ },
13831
+ "config": {
13832
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
13833
+ "env": "SFCC_CONFIG",
13834
+ "helpGroup": "GLOBAL",
13835
+ "name": "config",
13836
+ "hasDynamicHelp": false,
13837
+ "multiple": false,
13838
+ "type": "option"
13839
+ },
13840
+ "instance": {
13841
+ "char": "i",
13842
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
13843
+ "env": "SFCC_INSTANCE",
13844
+ "helpGroup": "GLOBAL",
13845
+ "name": "instance",
13846
+ "hasDynamicHelp": false,
13847
+ "multiple": false,
13848
+ "type": "option"
13849
+ },
13850
+ "project-directory": {
13851
+ "aliases": [
13852
+ "working-directory"
13853
+ ],
13854
+ "description": "Project directory",
13855
+ "env": "SFCC_PROJECT_DIRECTORY",
13856
+ "helpGroup": "GLOBAL",
13857
+ "name": "project-directory",
13858
+ "hasDynamicHelp": false,
13859
+ "multiple": false,
13860
+ "type": "option"
13861
+ },
13862
+ "extra-query": {
13863
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
13864
+ "env": "SFCC_EXTRA_QUERY",
13865
+ "helpGroup": "GLOBAL",
13866
+ "hidden": true,
13867
+ "name": "extra-query",
13868
+ "hasDynamicHelp": false,
13869
+ "multiple": false,
13870
+ "type": "option"
13871
+ },
13872
+ "extra-body": {
13873
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
13874
+ "env": "SFCC_EXTRA_BODY",
13875
+ "helpGroup": "GLOBAL",
13876
+ "hidden": true,
13877
+ "name": "extra-body",
13878
+ "hasDynamicHelp": false,
13879
+ "multiple": false,
13880
+ "type": "option"
13881
+ },
13882
+ "extra-headers": {
13883
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
13884
+ "env": "SFCC_EXTRA_HEADERS",
13885
+ "helpGroup": "GLOBAL",
13886
+ "hidden": true,
13887
+ "name": "extra-headers",
13888
+ "hasDynamicHelp": false,
13889
+ "multiple": false,
13890
+ "type": "option"
13891
+ },
13892
+ "client-id": {
13893
+ "description": "Client ID for OAuth",
13894
+ "env": "SFCC_CLIENT_ID",
13895
+ "helpGroup": "AUTH",
13896
+ "name": "client-id",
13897
+ "hasDynamicHelp": false,
13898
+ "multiple": false,
13899
+ "type": "option"
13900
+ },
13901
+ "client-secret": {
13902
+ "description": "Client Secret for OAuth",
13903
+ "env": "SFCC_CLIENT_SECRET",
13904
+ "helpGroup": "AUTH",
13905
+ "name": "client-secret",
13906
+ "hasDynamicHelp": false,
13907
+ "multiple": false,
13908
+ "type": "option"
13909
+ },
13910
+ "auth-scope": {
13911
+ "description": "OAuth scopes to request (comma-separated)",
13912
+ "env": "SFCC_OAUTH_SCOPES",
13913
+ "helpGroup": "AUTH",
13914
+ "name": "auth-scope",
13915
+ "delimiter": ",",
13916
+ "hasDynamicHelp": false,
13917
+ "multiple": true,
13918
+ "type": "option"
13919
+ },
13920
+ "short-code": {
13921
+ "description": "SCAPI short code",
13922
+ "env": "SFCC_SHORTCODE",
13923
+ "helpGroup": "AUTH",
13924
+ "name": "short-code",
13925
+ "hasDynamicHelp": false,
13926
+ "multiple": false,
13927
+ "type": "option"
13928
+ },
13929
+ "tenant-id": {
13930
+ "aliases": [
13931
+ "tenant"
13932
+ ],
13933
+ "description": "Organization/tenant ID",
13934
+ "env": "SFCC_TENANT_ID",
13935
+ "helpGroup": "AUTH",
13936
+ "name": "tenant-id",
13937
+ "hasDynamicHelp": false,
13938
+ "multiple": false,
13939
+ "type": "option"
13940
+ },
13941
+ "auth-methods": {
13942
+ "description": "Allowed auth methods in priority order (comma-separated)",
13943
+ "env": "SFCC_AUTH_METHODS",
13944
+ "exclusive": [
13945
+ "user-auth"
13946
+ ],
13947
+ "helpGroup": "AUTH",
13948
+ "name": "auth-methods",
13949
+ "delimiter": ",",
13950
+ "hasDynamicHelp": false,
13951
+ "multiple": true,
13952
+ "options": [
13953
+ "client-credentials",
13954
+ "implicit",
13955
+ "basic",
13956
+ "api-key"
13957
+ ],
13958
+ "type": "option"
13959
+ },
13960
+ "user-auth": {
13961
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
13962
+ "exclusive": [
13963
+ "auth-methods"
13964
+ ],
13965
+ "helpGroup": "AUTH",
13966
+ "name": "user-auth",
13967
+ "allowNo": false,
13968
+ "type": "boolean"
13969
+ },
13970
+ "account-manager-host": {
13971
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
13972
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
13973
+ "helpGroup": "AUTH",
13974
+ "name": "account-manager-host",
13975
+ "hasDynamicHelp": false,
13976
+ "multiple": false,
13977
+ "type": "option"
13978
+ },
13979
+ "slas-client-id": {
13980
+ "description": "SLAS client ID (auto-discovered if omitted)",
13981
+ "env": "SFCC_SLAS_CLIENT_ID",
13982
+ "name": "slas-client-id",
13983
+ "hasDynamicHelp": false,
13984
+ "multiple": false,
13985
+ "type": "option"
13986
+ },
13987
+ "slas-client-secret": {
13988
+ "description": "SLAS client secret (omit for public clients)",
13989
+ "env": "SFCC_SLAS_CLIENT_SECRET",
13990
+ "name": "slas-client-secret",
13991
+ "hasDynamicHelp": false,
13992
+ "multiple": false,
13993
+ "type": "option"
13994
+ },
13995
+ "site-id": {
13996
+ "description": "Site/channel ID",
13997
+ "env": "SFCC_SITE_ID",
13998
+ "name": "site-id",
13999
+ "hasDynamicHelp": false,
14000
+ "multiple": false,
14001
+ "type": "option"
14002
+ },
14003
+ "redirect-uri": {
14004
+ "description": "Redirect URI (default: http://localhost:3000/callback)",
14005
+ "name": "redirect-uri",
14006
+ "hasDynamicHelp": false,
14007
+ "multiple": false,
14008
+ "type": "option"
14009
+ },
14010
+ "shopper-login": {
14011
+ "description": "Registered customer login (triggers registered flow)",
14012
+ "name": "shopper-login",
14013
+ "hasDynamicHelp": false,
14014
+ "multiple": false,
14015
+ "type": "option"
14016
+ },
14017
+ "shopper-password": {
14018
+ "description": "Registered customer password (prompted if not provided)",
14019
+ "name": "shopper-password",
14020
+ "hasDynamicHelp": false,
14021
+ "multiple": false,
14022
+ "type": "option"
14023
+ }
14024
+ },
14025
+ "hasDynamicHelp": false,
14026
+ "hiddenAliases": [],
14027
+ "id": "slas:token",
14028
+ "pluginAlias": "@salesforce/b2c-cli",
14029
+ "pluginName": "@salesforce/b2c-cli",
14030
+ "pluginType": "core",
14031
+ "strict": true,
14032
+ "enableJsonFlag": true,
14033
+ "isESM": true,
14034
+ "relativePath": [
14035
+ "dist",
14036
+ "commands",
14037
+ "slas",
14038
+ "token.js"
14039
+ ]
14040
+ },
14041
+ "webdav:get": {
14042
+ "aliases": [],
14043
+ "args": {
14044
+ "remote": {
14045
+ "description": "Remote file path relative to root",
14046
+ "name": "remote",
14047
+ "required": true
14048
+ }
14049
+ },
14050
+ "description": "Download a file from WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-get",
14051
+ "examples": [
14052
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
14053
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
14054
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
14055
+ "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
14056
+ ],
14057
+ "flags": {
14058
+ "json": {
14059
+ "description": "Output result as JSON",
14060
+ "helpGroup": "GLOBAL",
14061
+ "name": "json",
14062
+ "allowNo": false,
14063
+ "type": "boolean"
14064
+ },
14065
+ "log-level": {
14066
+ "description": "Set logging verbosity level",
14067
+ "env": "SFCC_LOG_LEVEL",
14068
+ "helpGroup": "GLOBAL",
14069
+ "name": "log-level",
14070
+ "hasDynamicHelp": false,
14071
+ "multiple": false,
14072
+ "options": [
14073
+ "trace",
14074
+ "debug",
14075
+ "info",
14076
+ "warn",
14077
+ "error",
14078
+ "silent"
14079
+ ],
14080
+ "type": "option"
14081
+ },
14082
+ "debug": {
14083
+ "char": "D",
14084
+ "description": "Enable debug logging (shorthand for --log-level debug)",
14085
+ "env": "SFCC_DEBUG",
14086
+ "helpGroup": "GLOBAL",
14087
+ "name": "debug",
14088
+ "allowNo": false,
14089
+ "type": "boolean"
14090
+ },
14091
+ "jsonl": {
14092
+ "aliases": [
14093
+ "json-logs"
14094
+ ],
14095
+ "description": "Output log messages as JSON lines",
14096
+ "env": "SFCC_JSON_LOGS",
14097
+ "helpGroup": "GLOBAL",
14098
+ "name": "jsonl",
14099
+ "allowNo": false,
14100
+ "type": "boolean"
14101
+ },
14102
+ "lang": {
14103
+ "char": "L",
14104
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
14105
+ "helpGroup": "GLOBAL",
14106
+ "name": "lang",
14107
+ "hasDynamicHelp": false,
14108
+ "multiple": false,
14109
+ "type": "option"
14110
+ },
14111
+ "config": {
14112
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
14113
+ "env": "SFCC_CONFIG",
14114
+ "helpGroup": "GLOBAL",
14115
+ "name": "config",
14116
+ "hasDynamicHelp": false,
14117
+ "multiple": false,
14118
+ "type": "option"
14119
+ },
14120
+ "instance": {
14121
+ "char": "i",
14122
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
14123
+ "env": "SFCC_INSTANCE",
14124
+ "helpGroup": "GLOBAL",
14125
+ "name": "instance",
14126
+ "hasDynamicHelp": false,
14127
+ "multiple": false,
14128
+ "type": "option"
14129
+ },
14130
+ "project-directory": {
14131
+ "aliases": [
14132
+ "working-directory"
14133
+ ],
14134
+ "description": "Project directory",
14135
+ "env": "SFCC_PROJECT_DIRECTORY",
14136
+ "helpGroup": "GLOBAL",
14137
+ "name": "project-directory",
14138
+ "hasDynamicHelp": false,
14139
+ "multiple": false,
14140
+ "type": "option"
14141
+ },
14142
+ "extra-query": {
14143
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
14144
+ "env": "SFCC_EXTRA_QUERY",
14145
+ "helpGroup": "GLOBAL",
14146
+ "hidden": true,
14147
+ "name": "extra-query",
14148
+ "hasDynamicHelp": false,
14149
+ "multiple": false,
14150
+ "type": "option"
14151
+ },
14152
+ "extra-body": {
14153
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
14154
+ "env": "SFCC_EXTRA_BODY",
14155
+ "helpGroup": "GLOBAL",
14156
+ "hidden": true,
14157
+ "name": "extra-body",
14158
+ "hasDynamicHelp": false,
14159
+ "multiple": false,
14160
+ "type": "option"
14161
+ },
14162
+ "extra-headers": {
14163
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
14164
+ "env": "SFCC_EXTRA_HEADERS",
14165
+ "helpGroup": "GLOBAL",
14166
+ "hidden": true,
14167
+ "name": "extra-headers",
14168
+ "hasDynamicHelp": false,
14169
+ "multiple": false,
14170
+ "type": "option"
14171
+ },
14172
+ "client-id": {
14173
+ "description": "Client ID for OAuth",
14174
+ "env": "SFCC_CLIENT_ID",
14175
+ "helpGroup": "AUTH",
14176
+ "name": "client-id",
14177
+ "hasDynamicHelp": false,
14178
+ "multiple": false,
14179
+ "type": "option"
14180
+ },
14181
+ "client-secret": {
14182
+ "description": "Client Secret for OAuth",
14183
+ "env": "SFCC_CLIENT_SECRET",
14184
+ "helpGroup": "AUTH",
14185
+ "name": "client-secret",
14186
+ "hasDynamicHelp": false,
14187
+ "multiple": false,
14188
+ "type": "option"
14189
+ },
14190
+ "auth-scope": {
14191
+ "description": "OAuth scopes to request (comma-separated)",
14192
+ "env": "SFCC_OAUTH_SCOPES",
14193
+ "helpGroup": "AUTH",
14194
+ "name": "auth-scope",
14195
+ "delimiter": ",",
14196
+ "hasDynamicHelp": false,
14197
+ "multiple": true,
14198
+ "type": "option"
14199
+ },
14200
+ "short-code": {
14201
+ "description": "SCAPI short code",
14202
+ "env": "SFCC_SHORTCODE",
14203
+ "helpGroup": "AUTH",
14204
+ "name": "short-code",
14205
+ "hasDynamicHelp": false,
14206
+ "multiple": false,
14207
+ "type": "option"
14208
+ },
14209
+ "tenant-id": {
14210
+ "aliases": [
14211
+ "tenant"
14212
+ ],
14213
+ "description": "Organization/tenant ID",
14214
+ "env": "SFCC_TENANT_ID",
14215
+ "helpGroup": "AUTH",
14216
+ "name": "tenant-id",
14217
+ "hasDynamicHelp": false,
14218
+ "multiple": false,
14219
+ "type": "option"
14220
+ },
14221
+ "auth-methods": {
14222
+ "description": "Allowed auth methods in priority order (comma-separated)",
14223
+ "env": "SFCC_AUTH_METHODS",
14224
+ "exclusive": [
14225
+ "user-auth"
14226
+ ],
14227
+ "helpGroup": "AUTH",
14228
+ "name": "auth-methods",
14229
+ "delimiter": ",",
14230
+ "hasDynamicHelp": false,
14231
+ "multiple": true,
14232
+ "options": [
14233
+ "client-credentials",
14234
+ "implicit",
14235
+ "basic",
14236
+ "api-key"
14237
+ ],
14238
+ "type": "option"
14239
+ },
14240
+ "user-auth": {
14241
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
14242
+ "exclusive": [
14243
+ "auth-methods"
14244
+ ],
14245
+ "helpGroup": "AUTH",
14246
+ "name": "user-auth",
14247
+ "allowNo": false,
14248
+ "type": "boolean"
14249
+ },
14250
+ "account-manager-host": {
14251
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
14252
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
14253
+ "helpGroup": "AUTH",
14254
+ "name": "account-manager-host",
14255
+ "hasDynamicHelp": false,
14256
+ "multiple": false,
14257
+ "type": "option"
14258
+ },
14259
+ "server": {
14260
+ "char": "s",
14261
+ "description": "B2C instance hostname",
14262
+ "env": "SFCC_SERVER",
14263
+ "helpGroup": "INSTANCE",
14264
+ "name": "server",
14265
+ "hasDynamicHelp": false,
14266
+ "multiple": false,
14267
+ "type": "option"
14268
+ },
14269
+ "webdav-server": {
14270
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
14271
+ "env": "SFCC_WEBDAV_SERVER",
14272
+ "helpGroup": "INSTANCE",
14273
+ "name": "webdav-server",
14274
+ "hasDynamicHelp": false,
14275
+ "multiple": false,
14276
+ "type": "option"
14277
+ },
14278
+ "code-version": {
14279
+ "char": "v",
14280
+ "description": "Code version",
14281
+ "env": "SFCC_CODE_VERSION",
14282
+ "helpGroup": "INSTANCE",
14283
+ "name": "code-version",
14284
+ "hasDynamicHelp": false,
14285
+ "multiple": false,
14286
+ "type": "option"
14287
+ },
14288
+ "username": {
14289
+ "char": "u",
14290
+ "description": "Username for Basic Auth (WebDAV)",
14291
+ "env": "SFCC_USERNAME",
14292
+ "helpGroup": "AUTH",
14293
+ "name": "username",
14294
+ "hasDynamicHelp": false,
14295
+ "multiple": false,
14296
+ "type": "option"
14297
+ },
14298
+ "password": {
14299
+ "char": "p",
14300
+ "description": "Password/access key for Basic Auth (WebDAV)",
14301
+ "env": "SFCC_PASSWORD",
14302
+ "helpGroup": "AUTH",
14303
+ "name": "password",
14304
+ "hasDynamicHelp": false,
14305
+ "multiple": false,
14306
+ "type": "option"
14307
+ },
14308
+ "certificate": {
14309
+ "description": "Path to PKCS12 certificate for two-factor auth",
14310
+ "env": "SFCC_CERTIFICATE",
14311
+ "helpGroup": "AUTH",
14312
+ "name": "certificate",
14313
+ "hasDynamicHelp": false,
14314
+ "multiple": false,
14315
+ "type": "option"
14316
+ },
14317
+ "passphrase": {
14318
+ "description": "Passphrase for the certificate",
14319
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
14320
+ "helpGroup": "AUTH",
14321
+ "name": "passphrase",
14322
+ "hasDynamicHelp": false,
14323
+ "multiple": false,
14324
+ "type": "option"
14325
+ },
14326
+ "selfsigned": {
14327
+ "description": "Allow self-signed server certificates",
14328
+ "env": "SFCC_SELFSIGNED",
14329
+ "helpGroup": "AUTH",
14330
+ "name": "selfsigned",
14331
+ "allowNo": false,
14332
+ "type": "boolean"
14333
+ },
14334
+ "verify": {
14335
+ "description": "Verify SSL certificates",
14336
+ "helpGroup": "AUTH",
14337
+ "name": "verify",
14338
+ "allowNo": true,
14339
+ "type": "boolean"
14340
+ },
14341
+ "root": {
14342
+ "char": "r",
14343
+ "description": "WebDAV root directory",
14344
+ "helpGroup": "WEBDAV",
14345
+ "name": "root",
14346
+ "default": "IMPEX",
14347
+ "hasDynamicHelp": false,
14348
+ "multiple": false,
14349
+ "options": [
14350
+ "impex",
14351
+ "temp",
14352
+ "cartridges",
14353
+ "realmdata",
14354
+ "catalogs",
14355
+ "libraries",
14356
+ "static",
14357
+ "logs",
14358
+ "securitylogs"
14359
+ ],
14360
+ "type": "option"
14361
+ },
14362
+ "output": {
14363
+ "char": "o",
14364
+ "description": "Output file path (use - for stdout, defaults to filename in current directory)",
14365
+ "name": "output",
14366
+ "hasDynamicHelp": false,
14367
+ "multiple": false,
14368
+ "type": "option"
14369
+ }
14370
+ },
14371
+ "hasDynamicHelp": false,
14372
+ "hiddenAliases": [],
14373
+ "id": "webdav:get",
13093
14374
  "pluginAlias": "@salesforce/b2c-cli",
13094
14375
  "pluginName": "@salesforce/b2c-cli",
13095
14376
  "pluginType": "core",
@@ -13099,20 +14380,25 @@
13099
14380
  "relativePath": [
13100
14381
  "dist",
13101
14382
  "commands",
13102
- "sites",
13103
- "list.js"
14383
+ "webdav",
14384
+ "get.js"
13104
14385
  ]
13105
14386
  },
13106
- "slas:token": {
14387
+ "webdav:ls": {
13107
14388
  "aliases": [],
13108
- "args": {},
13109
- "description": "Get a SLAS shopper access token\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-token",
14389
+ "args": {
14390
+ "path": {
14391
+ "default": "",
14392
+ "description": "Path relative to root (defaults to root directory)",
14393
+ "name": "path"
14394
+ }
14395
+ },
14396
+ "description": "List files and directories in a WebDAV location\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-ls",
13110
14397
  "examples": [
13111
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch",
13112
- "<%= config.bin %> <%= command.id %> --slas-client-id my-client --tenant-id abcd_123 --short-code kv7kzm78 --site-id RefArch",
13113
- "<%= config.bin %> <%= command.id %> --slas-client-id my-client --slas-client-secret sk_xxx --tenant-id abcd_123 --short-code kv7kzm78 --site-id RefArch",
13114
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch --shopper-login user@example.com --shopper-password secret",
13115
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --site-id RefArch --json"
14398
+ "<%= config.bin %> <%= command.id %>",
14399
+ "<%= config.bin %> <%= command.id %> src/instance",
14400
+ "<%= config.bin %> <%= command.id %> --root=cartridges",
14401
+ "<%= config.bin %> <%= command.id %> --root=logs --json"
13116
14402
  ],
13117
14403
  "flags": {
13118
14404
  "json": {
@@ -13316,55 +14602,113 @@
13316
14602
  "multiple": false,
13317
14603
  "type": "option"
13318
14604
  },
13319
- "slas-client-id": {
13320
- "description": "SLAS client ID (auto-discovered if omitted)",
13321
- "env": "SFCC_SLAS_CLIENT_ID",
13322
- "name": "slas-client-id",
14605
+ "server": {
14606
+ "char": "s",
14607
+ "description": "B2C instance hostname",
14608
+ "env": "SFCC_SERVER",
14609
+ "helpGroup": "INSTANCE",
14610
+ "name": "server",
13323
14611
  "hasDynamicHelp": false,
13324
14612
  "multiple": false,
13325
14613
  "type": "option"
13326
14614
  },
13327
- "slas-client-secret": {
13328
- "description": "SLAS client secret (omit for public clients)",
13329
- "env": "SFCC_SLAS_CLIENT_SECRET",
13330
- "name": "slas-client-secret",
14615
+ "webdav-server": {
14616
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
14617
+ "env": "SFCC_WEBDAV_SERVER",
14618
+ "helpGroup": "INSTANCE",
14619
+ "name": "webdav-server",
13331
14620
  "hasDynamicHelp": false,
13332
14621
  "multiple": false,
13333
14622
  "type": "option"
13334
14623
  },
13335
- "site-id": {
13336
- "description": "Site/channel ID",
13337
- "env": "SFCC_SITE_ID",
13338
- "name": "site-id",
14624
+ "code-version": {
14625
+ "char": "v",
14626
+ "description": "Code version",
14627
+ "env": "SFCC_CODE_VERSION",
14628
+ "helpGroup": "INSTANCE",
14629
+ "name": "code-version",
13339
14630
  "hasDynamicHelp": false,
13340
14631
  "multiple": false,
13341
14632
  "type": "option"
13342
14633
  },
13343
- "redirect-uri": {
13344
- "description": "Redirect URI (default: http://localhost:3000/callback)",
13345
- "name": "redirect-uri",
14634
+ "username": {
14635
+ "char": "u",
14636
+ "description": "Username for Basic Auth (WebDAV)",
14637
+ "env": "SFCC_USERNAME",
14638
+ "helpGroup": "AUTH",
14639
+ "name": "username",
13346
14640
  "hasDynamicHelp": false,
13347
14641
  "multiple": false,
13348
14642
  "type": "option"
13349
14643
  },
13350
- "shopper-login": {
13351
- "description": "Registered customer login (triggers registered flow)",
13352
- "name": "shopper-login",
14644
+ "password": {
14645
+ "char": "p",
14646
+ "description": "Password/access key for Basic Auth (WebDAV)",
14647
+ "env": "SFCC_PASSWORD",
14648
+ "helpGroup": "AUTH",
14649
+ "name": "password",
13353
14650
  "hasDynamicHelp": false,
13354
14651
  "multiple": false,
13355
14652
  "type": "option"
13356
14653
  },
13357
- "shopper-password": {
13358
- "description": "Registered customer password (prompted if not provided)",
13359
- "name": "shopper-password",
14654
+ "certificate": {
14655
+ "description": "Path to PKCS12 certificate for two-factor auth",
14656
+ "env": "SFCC_CERTIFICATE",
14657
+ "helpGroup": "AUTH",
14658
+ "name": "certificate",
14659
+ "hasDynamicHelp": false,
14660
+ "multiple": false,
14661
+ "type": "option"
14662
+ },
14663
+ "passphrase": {
14664
+ "description": "Passphrase for the certificate",
14665
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
14666
+ "helpGroup": "AUTH",
14667
+ "name": "passphrase",
13360
14668
  "hasDynamicHelp": false,
13361
14669
  "multiple": false,
13362
14670
  "type": "option"
14671
+ },
14672
+ "selfsigned": {
14673
+ "description": "Allow self-signed server certificates",
14674
+ "env": "SFCC_SELFSIGNED",
14675
+ "helpGroup": "AUTH",
14676
+ "name": "selfsigned",
14677
+ "allowNo": false,
14678
+ "type": "boolean"
14679
+ },
14680
+ "verify": {
14681
+ "description": "Verify SSL certificates",
14682
+ "helpGroup": "AUTH",
14683
+ "name": "verify",
14684
+ "allowNo": true,
14685
+ "type": "boolean"
14686
+ },
14687
+ "root": {
14688
+ "char": "r",
14689
+ "description": "WebDAV root directory",
14690
+ "helpGroup": "WEBDAV",
14691
+ "name": "root",
14692
+ "default": "IMPEX",
14693
+ "hasDynamicHelp": false,
14694
+ "multiple": false,
14695
+ "options": [
14696
+ "impex",
14697
+ "temp",
14698
+ "cartridges",
14699
+ "realmdata",
14700
+ "catalogs",
14701
+ "libraries",
14702
+ "static",
14703
+ "logs",
14704
+ "securitylogs"
14705
+ ],
14706
+ "type": "option"
13363
14707
  }
13364
14708
  },
13365
14709
  "hasDynamicHelp": false,
13366
14710
  "hiddenAliases": [],
13367
- "id": "slas:token",
14711
+ "id": "webdav:ls",
13368
14712
  "pluginAlias": "@salesforce/b2c-cli",
13369
14713
  "pluginName": "@salesforce/b2c-cli",
13370
14714
  "pluginType": "core",
@@ -13374,25 +14718,24 @@
13374
14718
  "relativePath": [
13375
14719
  "dist",
13376
14720
  "commands",
13377
- "slas",
13378
- "token.js"
14721
+ "webdav",
14722
+ "ls.js"
13379
14723
  ]
13380
14724
  },
13381
- "webdav:get": {
14725
+ "webdav:mkdir": {
13382
14726
  "aliases": [],
13383
14727
  "args": {
13384
- "remote": {
13385
- "description": "Remote file path relative to root",
13386
- "name": "remote",
14728
+ "path": {
14729
+ "description": "Directory path to create (relative to root)",
14730
+ "name": "path",
13387
14731
  "required": true
13388
14732
  }
13389
14733
  },
13390
- "description": "Download a file from WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-get",
14734
+ "description": "Create a directory on WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-mkdir",
13391
14735
  "examples": [
13392
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
13393
- "<%= config.bin %> <%= command.id %> src/instance/export.zip -o ./downloads/export.zip",
13394
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log",
13395
- "<%= config.bin %> <%= command.id %> --root=logs customerror.log -o -"
14736
+ "<%= config.bin %> <%= command.id %> src/instance/my-folder",
14737
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
14738
+ "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
13396
14739
  ],
13397
14740
  "flags": {
13398
14741
  "json": {
@@ -13698,19 +15041,11 @@
13698
15041
  "securitylogs"
13699
15042
  ],
13700
15043
  "type": "option"
13701
- },
13702
- "output": {
13703
- "char": "o",
13704
- "description": "Output file path (use - for stdout, defaults to filename in current directory)",
13705
- "name": "output",
13706
- "hasDynamicHelp": false,
13707
- "multiple": false,
13708
- "type": "option"
13709
15044
  }
13710
15045
  },
13711
15046
  "hasDynamicHelp": false,
13712
15047
  "hiddenAliases": [],
13713
- "id": "webdav:get",
15048
+ "id": "webdav:mkdir",
13714
15049
  "pluginAlias": "@salesforce/b2c-cli",
13715
15050
  "pluginName": "@salesforce/b2c-cli",
13716
15051
  "pluginType": "core",
@@ -13721,24 +15056,29 @@
13721
15056
  "dist",
13722
15057
  "commands",
13723
15058
  "webdav",
13724
- "get.js"
15059
+ "mkdir.js"
13725
15060
  ]
13726
15061
  },
13727
- "webdav:ls": {
15062
+ "webdav:put": {
13728
15063
  "aliases": [],
13729
15064
  "args": {
13730
- "path": {
13731
- "default": "",
13732
- "description": "Path relative to root (defaults to root directory)",
13733
- "name": "path"
15065
+ "local": {
15066
+ "description": "Local file path to upload",
15067
+ "name": "local",
15068
+ "required": true
15069
+ },
15070
+ "remote": {
15071
+ "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
15072
+ "name": "remote",
15073
+ "required": true
13734
15074
  }
13735
15075
  },
13736
- "description": "List files and directories in a WebDAV location\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-ls",
15076
+ "description": "Upload a file to WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-put",
13737
15077
  "examples": [
13738
- "<%= config.bin %> <%= command.id %>",
13739
- "<%= config.bin %> <%= command.id %> src/instance",
13740
- "<%= config.bin %> <%= command.id %> --root=cartridges",
13741
- "<%= config.bin %> <%= command.id %> --root=logs --json"
15078
+ "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
15079
+ "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
15080
+ "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
15081
+ "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
13742
15082
  ],
13743
15083
  "flags": {
13744
15084
  "json": {
@@ -14048,7 +15388,7 @@
14048
15388
  },
14049
15389
  "hasDynamicHelp": false,
14050
15390
  "hiddenAliases": [],
14051
- "id": "webdav:ls",
15391
+ "id": "webdav:put",
14052
15392
  "pluginAlias": "@salesforce/b2c-cli",
14053
15393
  "pluginName": "@salesforce/b2c-cli",
14054
15394
  "pluginType": "core",
@@ -14059,23 +15399,23 @@
14059
15399
  "dist",
14060
15400
  "commands",
14061
15401
  "webdav",
14062
- "ls.js"
15402
+ "put.js"
14063
15403
  ]
14064
15404
  },
14065
- "webdav:mkdir": {
15405
+ "webdav:rm": {
14066
15406
  "aliases": [],
14067
15407
  "args": {
14068
15408
  "path": {
14069
- "description": "Directory path to create (relative to root)",
15409
+ "description": "Path to delete relative to root",
14070
15410
  "name": "path",
14071
15411
  "required": true
14072
15412
  }
14073
15413
  },
14074
- "description": "Create a directory on WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-mkdir",
15414
+ "description": "Delete a file or directory from WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-rm",
14075
15415
  "examples": [
14076
- "<%= config.bin %> <%= command.id %> src/instance/my-folder",
14077
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir",
14078
- "<%= config.bin %> <%= command.id %> --root=cartridges new-cartridge"
15416
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
15417
+ "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
15418
+ "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
14079
15419
  ],
14080
15420
  "flags": {
14081
15421
  "json": {
@@ -14381,11 +15721,18 @@
14381
15721
  "securitylogs"
14382
15722
  ],
14383
15723
  "type": "option"
15724
+ },
15725
+ "force": {
15726
+ "char": "f",
15727
+ "description": "Skip confirmation prompt",
15728
+ "name": "force",
15729
+ "allowNo": false,
15730
+ "type": "boolean"
14384
15731
  }
14385
15732
  },
14386
15733
  "hasDynamicHelp": false,
14387
15734
  "hiddenAliases": [],
14388
- "id": "webdav:mkdir",
15735
+ "id": "webdav:rm",
14389
15736
  "pluginAlias": "@salesforce/b2c-cli",
14390
15737
  "pluginName": "@salesforce/b2c-cli",
14391
15738
  "pluginType": "core",
@@ -14396,29 +15743,22 @@
14396
15743
  "dist",
14397
15744
  "commands",
14398
15745
  "webdav",
14399
- "mkdir.js"
15746
+ "rm.js"
14400
15747
  ]
14401
15748
  },
14402
- "webdav:put": {
15749
+ "webdav:unzip": {
14403
15750
  "aliases": [],
14404
15751
  "args": {
14405
- "local": {
14406
- "description": "Local file path to upload",
14407
- "name": "local",
14408
- "required": true
14409
- },
14410
- "remote": {
14411
- "description": "Remote destination (directory or file path). If ending with / or is /, uses source filename.",
14412
- "name": "remote",
15752
+ "path": {
15753
+ "description": "Remote zip file path (relative to root)",
15754
+ "name": "path",
14413
15755
  "required": true
14414
15756
  }
14415
15757
  },
14416
- "description": "Upload a file to WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-put",
15758
+ "description": "Extract a remote zip archive\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-unzip",
14417
15759
  "examples": [
14418
- "<%= config.bin %> <%= command.id %> ./export.zip / # uploads to root as export.zip",
14419
- "<%= config.bin %> <%= command.id %> ./export.zip src/instance/ # uploads to src/instance/export.zip",
14420
- "<%= config.bin %> <%= command.id %> ./data.xml src/instance/renamed.xml # uploads with new name",
14421
- "<%= config.bin %> <%= command.id %> ./file.tar.gz / --root=temp # uploads to Temp/file.tar.gz"
15760
+ "<%= config.bin %> <%= command.id %> src/instance/export.zip",
15761
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
14422
15762
  ],
14423
15763
  "flags": {
14424
15764
  "json": {
@@ -14728,7 +16068,7 @@
14728
16068
  },
14729
16069
  "hasDynamicHelp": false,
14730
16070
  "hiddenAliases": [],
14731
- "id": "webdav:put",
16071
+ "id": "webdav:unzip",
14732
16072
  "pluginAlias": "@salesforce/b2c-cli",
14733
16073
  "pluginName": "@salesforce/b2c-cli",
14734
16074
  "pluginType": "core",
@@ -14739,23 +16079,22 @@
14739
16079
  "dist",
14740
16080
  "commands",
14741
16081
  "webdav",
14742
- "put.js"
16082
+ "unzip.js"
14743
16083
  ]
14744
16084
  },
14745
- "webdav:rm": {
16085
+ "webdav:zip": {
14746
16086
  "aliases": [],
14747
16087
  "args": {
14748
16088
  "path": {
14749
- "description": "Path to delete relative to root",
16089
+ "description": "Remote path to zip (relative to root)",
14750
16090
  "name": "path",
14751
16091
  "required": true
14752
16092
  }
14753
16093
  },
14754
- "description": "Delete a file or directory from WebDAV\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-rm",
16094
+ "description": "Create a zip archive of a remote file or directory\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-zip",
14755
16095
  "examples": [
14756
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip",
14757
- "<%= config.bin %> <%= command.id %> src/instance/old-export.zip --force",
14758
- "<%= config.bin %> <%= command.id %> --root=temp my-temp-dir --force"
16096
+ "<%= config.bin %> <%= command.id %> src/instance/data",
16097
+ "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
14759
16098
  ],
14760
16099
  "flags": {
14761
16100
  "json": {
@@ -15061,18 +16400,11 @@
15061
16400
  "securitylogs"
15062
16401
  ],
15063
16402
  "type": "option"
15064
- },
15065
- "force": {
15066
- "char": "f",
15067
- "description": "Skip confirmation prompt",
15068
- "name": "force",
15069
- "allowNo": false,
15070
- "type": "boolean"
15071
16403
  }
15072
16404
  },
15073
16405
  "hasDynamicHelp": false,
15074
16406
  "hiddenAliases": [],
15075
- "id": "webdav:rm",
16407
+ "id": "webdav:zip",
15076
16408
  "pluginAlias": "@salesforce/b2c-cli",
15077
16409
  "pluginName": "@salesforce/b2c-cli",
15078
16410
  "pluginType": "core",
@@ -15083,22 +16415,16 @@
15083
16415
  "dist",
15084
16416
  "commands",
15085
16417
  "webdav",
15086
- "rm.js"
16418
+ "zip.js"
15087
16419
  ]
15088
16420
  },
15089
- "webdav:unzip": {
16421
+ "am:clients:create": {
15090
16422
  "aliases": [],
15091
- "args": {
15092
- "path": {
15093
- "description": "Remote zip file path (relative to root)",
15094
- "name": "path",
15095
- "required": true
15096
- }
15097
- },
15098
- "description": "Extract a remote zip archive\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-unzip",
16423
+ "args": {},
16424
+ "description": "Create an Account Manager API client",
15099
16425
  "examples": [
15100
- "<%= config.bin %> <%= command.id %> src/instance/export.zip",
15101
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge.zip"
16426
+ "<%= config.bin %> <%= command.id %> --name my-client --orgs org-id-1 --password \"SecureP@ss123\"",
16427
+ "<%= config.bin %> <%= command.id %> --name my-client --orgs \"My Organization\" --password \"SecureP@ss123\" --roles SALESFORCE_COMMERCE_API"
15102
16428
  ],
15103
16429
  "flags": {
15104
16430
  "json": {
@@ -15302,113 +16628,114 @@
15302
16628
  "multiple": false,
15303
16629
  "type": "option"
15304
16630
  },
15305
- "server": {
15306
- "char": "s",
15307
- "description": "B2C instance hostname",
15308
- "env": "SFCC_SERVER",
15309
- "helpGroup": "INSTANCE",
15310
- "name": "server",
15311
- "hasDynamicHelp": false,
15312
- "multiple": false,
15313
- "type": "option"
15314
- },
15315
- "webdav-server": {
15316
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
15317
- "env": "SFCC_WEBDAV_SERVER",
15318
- "helpGroup": "INSTANCE",
15319
- "name": "webdav-server",
16631
+ "name": {
16632
+ "char": "n",
16633
+ "description": "API client name",
16634
+ "name": "name",
16635
+ "required": true,
15320
16636
  "hasDynamicHelp": false,
15321
16637
  "multiple": false,
15322
16638
  "type": "option"
15323
16639
  },
15324
- "code-version": {
15325
- "char": "v",
15326
- "description": "Code version",
15327
- "env": "SFCC_CODE_VERSION",
15328
- "helpGroup": "INSTANCE",
15329
- "name": "code-version",
16640
+ "description": {
16641
+ "char": "d",
16642
+ "description": "Description of the API client",
16643
+ "name": "description",
15330
16644
  "hasDynamicHelp": false,
15331
16645
  "multiple": false,
15332
16646
  "type": "option"
15333
16647
  },
15334
- "username": {
15335
- "char": "u",
15336
- "description": "Username for Basic Auth (WebDAV)",
15337
- "env": "SFCC_USERNAME",
15338
- "helpGroup": "AUTH",
15339
- "name": "username",
16648
+ "orgs": {
16649
+ "char": "o",
16650
+ "description": "Comma-separated organization IDs or names",
16651
+ "name": "orgs",
16652
+ "required": true,
15340
16653
  "hasDynamicHelp": false,
15341
16654
  "multiple": false,
15342
16655
  "type": "option"
15343
16656
  },
15344
16657
  "password": {
15345
16658
  "char": "p",
15346
- "description": "Password/access key for Basic Auth (WebDAV)",
15347
- "env": "SFCC_PASSWORD",
15348
- "helpGroup": "AUTH",
16659
+ "description": "Password for the API client (12–128 characters)",
15349
16660
  "name": "password",
16661
+ "required": true,
15350
16662
  "hasDynamicHelp": false,
15351
16663
  "multiple": false,
15352
16664
  "type": "option"
15353
16665
  },
15354
- "certificate": {
15355
- "description": "Path to PKCS12 certificate for two-factor auth",
15356
- "env": "SFCC_CERTIFICATE",
15357
- "helpGroup": "AUTH",
15358
- "name": "certificate",
16666
+ "roles": {
16667
+ "char": "r",
16668
+ "description": "Comma-separated role IDs (e.g. SALESFORCE_COMMERCE_API)",
16669
+ "name": "roles",
15359
16670
  "hasDynamicHelp": false,
15360
16671
  "multiple": false,
15361
16672
  "type": "option"
15362
16673
  },
15363
- "passphrase": {
15364
- "description": "Passphrase for the certificate",
15365
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
15366
- "helpGroup": "AUTH",
15367
- "name": "passphrase",
16674
+ "role-tenant-filter": {
16675
+ "description": "Role tenant filter (format: ROLE:realm_instance,realm_instance;ROLE2:... e.g. SALESFORCE_COMMERCE_API:abcd_prd)",
16676
+ "name": "role-tenant-filter",
15368
16677
  "hasDynamicHelp": false,
15369
16678
  "multiple": false,
15370
16679
  "type": "option"
15371
16680
  },
15372
- "selfsigned": {
15373
- "description": "Allow self-signed server certificates",
15374
- "env": "SFCC_SELFSIGNED",
15375
- "helpGroup": "AUTH",
15376
- "name": "selfsigned",
16681
+ "active": {
16682
+ "description": "Create as active (default: false)",
16683
+ "name": "active",
15377
16684
  "allowNo": false,
15378
16685
  "type": "boolean"
15379
16686
  },
15380
- "verify": {
15381
- "description": "Verify SSL certificates",
15382
- "helpGroup": "AUTH",
15383
- "name": "verify",
15384
- "allowNo": true,
15385
- "type": "boolean"
16687
+ "redirect-urls": {
16688
+ "description": "Comma-separated list of allowed redirect URLs for OAuth flows",
16689
+ "name": "redirect-urls",
16690
+ "hasDynamicHelp": false,
16691
+ "multiple": false,
16692
+ "type": "option"
15386
16693
  },
15387
- "root": {
15388
- "char": "r",
15389
- "description": "WebDAV root directory",
15390
- "helpGroup": "WEBDAV",
15391
- "name": "root",
15392
- "default": "IMPEX",
16694
+ "scopes": {
16695
+ "description": "Comma-separated OAuth scopes available to this API client",
16696
+ "name": "scopes",
16697
+ "hasDynamicHelp": false,
16698
+ "multiple": false,
16699
+ "type": "option"
16700
+ },
16701
+ "default-scopes": {
16702
+ "description": "Comma-separated default OAuth scopes granted to this API client",
16703
+ "name": "default-scopes",
16704
+ "hasDynamicHelp": false,
16705
+ "multiple": false,
16706
+ "type": "option"
16707
+ },
16708
+ "version-control": {
16709
+ "description": "Comma-separated version control system identifiers",
16710
+ "name": "version-control",
16711
+ "hasDynamicHelp": false,
16712
+ "multiple": false,
16713
+ "type": "option"
16714
+ },
16715
+ "token-endpoint-auth-method": {
16716
+ "description": "Token endpoint auth method: private_key_jwt, client_secret_post, client_secret_basic, or none",
16717
+ "name": "token-endpoint-auth-method",
15393
16718
  "hasDynamicHelp": false,
15394
16719
  "multiple": false,
15395
16720
  "options": [
15396
- "impex",
15397
- "temp",
15398
- "cartridges",
15399
- "realmdata",
15400
- "catalogs",
15401
- "libraries",
15402
- "static",
15403
- "logs",
15404
- "securitylogs"
16721
+ "private_key_jwt",
16722
+ "client_secret_post",
16723
+ "client_secret_basic",
16724
+ "none"
15405
16725
  ],
15406
16726
  "type": "option"
16727
+ },
16728
+ "jwt-public-key": {
16729
+ "description": "Public key for JWT authentication (PEM or inline)",
16730
+ "name": "jwt-public-key",
16731
+ "hasDynamicHelp": false,
16732
+ "multiple": false,
16733
+ "type": "option"
15407
16734
  }
15408
16735
  },
15409
16736
  "hasDynamicHelp": false,
15410
16737
  "hiddenAliases": [],
15411
- "id": "webdav:unzip",
16738
+ "id": "am:clients:create",
15412
16739
  "pluginAlias": "@salesforce/b2c-cli",
15413
16740
  "pluginName": "@salesforce/b2c-cli",
15414
16741
  "pluginType": "core",
@@ -15418,32 +16745,25 @@
15418
16745
  "relativePath": [
15419
16746
  "dist",
15420
16747
  "commands",
15421
- "webdav",
15422
- "unzip.js"
16748
+ "am",
16749
+ "clients",
16750
+ "create.js"
15423
16751
  ]
15424
16752
  },
15425
- "webdav:zip": {
16753
+ "am:clients:delete": {
15426
16754
  "aliases": [],
15427
16755
  "args": {
15428
- "path": {
15429
- "description": "Remote path to zip (relative to root)",
15430
- "name": "path",
16756
+ "api-client-id": {
16757
+ "description": "API client ID (UUID)",
16758
+ "name": "api-client-id",
15431
16759
  "required": true
15432
16760
  }
15433
16761
  },
15434
- "description": "Create a zip archive of a remote file or directory\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/webdav.html#b2c-webdav-zip",
16762
+ "description": "Delete an Account Manager API client (must be disabled 7+ days)",
15435
16763
  "examples": [
15436
- "<%= config.bin %> <%= command.id %> src/instance/data",
15437
- "<%= config.bin %> <%= command.id %> --root=cartridges my-cartridge"
16764
+ "<%= config.bin %> <%= command.id %> <api-client-id>"
15438
16765
  ],
15439
16766
  "flags": {
15440
- "json": {
15441
- "description": "Output result as JSON",
15442
- "helpGroup": "GLOBAL",
15443
- "name": "json",
15444
- "allowNo": false,
15445
- "type": "boolean"
15446
- },
15447
16767
  "log-level": {
15448
16768
  "description": "Set logging verbosity level",
15449
16769
  "env": "SFCC_LOG_LEVEL",
@@ -15470,6 +16790,13 @@
15470
16790
  "allowNo": false,
15471
16791
  "type": "boolean"
15472
16792
  },
16793
+ "json": {
16794
+ "description": "Output result as JSON",
16795
+ "helpGroup": "GLOBAL",
16796
+ "name": "json",
16797
+ "allowNo": false,
16798
+ "type": "boolean"
16799
+ },
15473
16800
  "jsonl": {
15474
16801
  "aliases": [
15475
16802
  "json-logs"
@@ -15637,134 +16964,38 @@
15637
16964
  "hasDynamicHelp": false,
15638
16965
  "multiple": false,
15639
16966
  "type": "option"
15640
- },
15641
- "server": {
15642
- "char": "s",
15643
- "description": "B2C instance hostname",
15644
- "env": "SFCC_SERVER",
15645
- "helpGroup": "INSTANCE",
15646
- "name": "server",
15647
- "hasDynamicHelp": false,
15648
- "multiple": false,
15649
- "type": "option"
15650
- },
15651
- "webdav-server": {
15652
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
15653
- "env": "SFCC_WEBDAV_SERVER",
15654
- "helpGroup": "INSTANCE",
15655
- "name": "webdav-server",
15656
- "hasDynamicHelp": false,
15657
- "multiple": false,
15658
- "type": "option"
15659
- },
15660
- "code-version": {
15661
- "char": "v",
15662
- "description": "Code version",
15663
- "env": "SFCC_CODE_VERSION",
15664
- "helpGroup": "INSTANCE",
15665
- "name": "code-version",
15666
- "hasDynamicHelp": false,
15667
- "multiple": false,
15668
- "type": "option"
15669
- },
15670
- "username": {
15671
- "char": "u",
15672
- "description": "Username for Basic Auth (WebDAV)",
15673
- "env": "SFCC_USERNAME",
15674
- "helpGroup": "AUTH",
15675
- "name": "username",
15676
- "hasDynamicHelp": false,
15677
- "multiple": false,
15678
- "type": "option"
15679
- },
15680
- "password": {
15681
- "char": "p",
15682
- "description": "Password/access key for Basic Auth (WebDAV)",
15683
- "env": "SFCC_PASSWORD",
15684
- "helpGroup": "AUTH",
15685
- "name": "password",
15686
- "hasDynamicHelp": false,
15687
- "multiple": false,
15688
- "type": "option"
15689
- },
15690
- "certificate": {
15691
- "description": "Path to PKCS12 certificate for two-factor auth",
15692
- "env": "SFCC_CERTIFICATE",
15693
- "helpGroup": "AUTH",
15694
- "name": "certificate",
15695
- "hasDynamicHelp": false,
15696
- "multiple": false,
15697
- "type": "option"
15698
- },
15699
- "passphrase": {
15700
- "description": "Passphrase for the certificate",
15701
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
15702
- "helpGroup": "AUTH",
15703
- "name": "passphrase",
15704
- "hasDynamicHelp": false,
15705
- "multiple": false,
15706
- "type": "option"
15707
- },
15708
- "selfsigned": {
15709
- "description": "Allow self-signed server certificates",
15710
- "env": "SFCC_SELFSIGNED",
15711
- "helpGroup": "AUTH",
15712
- "name": "selfsigned",
15713
- "allowNo": false,
15714
- "type": "boolean"
15715
- },
15716
- "verify": {
15717
- "description": "Verify SSL certificates",
15718
- "helpGroup": "AUTH",
15719
- "name": "verify",
15720
- "allowNo": true,
15721
- "type": "boolean"
15722
- },
15723
- "root": {
15724
- "char": "r",
15725
- "description": "WebDAV root directory",
15726
- "helpGroup": "WEBDAV",
15727
- "name": "root",
15728
- "default": "IMPEX",
15729
- "hasDynamicHelp": false,
15730
- "multiple": false,
15731
- "options": [
15732
- "impex",
15733
- "temp",
15734
- "cartridges",
15735
- "realmdata",
15736
- "catalogs",
15737
- "libraries",
15738
- "static",
15739
- "logs",
15740
- "securitylogs"
15741
- ],
15742
- "type": "option"
15743
16967
  }
15744
16968
  },
15745
16969
  "hasDynamicHelp": false,
15746
16970
  "hiddenAliases": [],
15747
- "id": "webdav:zip",
16971
+ "id": "am:clients:delete",
15748
16972
  "pluginAlias": "@salesforce/b2c-cli",
15749
16973
  "pluginName": "@salesforce/b2c-cli",
15750
16974
  "pluginType": "core",
15751
16975
  "strict": true,
15752
- "enableJsonFlag": true,
15753
16976
  "isESM": true,
15754
16977
  "relativePath": [
15755
16978
  "dist",
15756
16979
  "commands",
15757
- "webdav",
15758
- "zip.js"
16980
+ "am",
16981
+ "clients",
16982
+ "delete.js"
15759
16983
  ]
15760
16984
  },
15761
- "am:clients:create": {
16985
+ "am:clients:get": {
15762
16986
  "aliases": [],
15763
- "args": {},
15764
- "description": "Create an Account Manager API client",
16987
+ "args": {
16988
+ "api-client-id": {
16989
+ "description": "API client ID (UUID)",
16990
+ "name": "api-client-id",
16991
+ "required": true
16992
+ }
16993
+ },
16994
+ "description": "Get details of an Account Manager API client",
15765
16995
  "examples": [
15766
- "<%= config.bin %> <%= command.id %> --name my-client --orgs org-id-1 --password \"SecureP@ss123\"",
15767
- "<%= config.bin %> <%= command.id %> --name my-client --orgs \"My Organization\" --password \"SecureP@ss123\" --roles SALESFORCE_COMMERCE_API"
16996
+ "<%= config.bin %> <%= command.id %> <api-client-id>",
16997
+ "<%= config.bin %> <%= command.id %> <api-client-id> --json",
16998
+ "<%= config.bin %> <%= command.id %> <api-client-id> --expand organizations,roles"
15768
16999
  ],
15769
17000
  "flags": {
15770
17001
  "json": {
@@ -15968,106 +17199,9 @@
15968
17199
  "multiple": false,
15969
17200
  "type": "option"
15970
17201
  },
15971
- "name": {
15972
- "char": "n",
15973
- "description": "API client name",
15974
- "name": "name",
15975
- "required": true,
15976
- "hasDynamicHelp": false,
15977
- "multiple": false,
15978
- "type": "option"
15979
- },
15980
- "description": {
15981
- "char": "d",
15982
- "description": "Description of the API client",
15983
- "name": "description",
15984
- "hasDynamicHelp": false,
15985
- "multiple": false,
15986
- "type": "option"
15987
- },
15988
- "orgs": {
15989
- "char": "o",
15990
- "description": "Comma-separated organization IDs or names",
15991
- "name": "orgs",
15992
- "required": true,
15993
- "hasDynamicHelp": false,
15994
- "multiple": false,
15995
- "type": "option"
15996
- },
15997
- "password": {
15998
- "char": "p",
15999
- "description": "Password for the API client (12–128 characters)",
16000
- "name": "password",
16001
- "required": true,
16002
- "hasDynamicHelp": false,
16003
- "multiple": false,
16004
- "type": "option"
16005
- },
16006
- "roles": {
16007
- "char": "r",
16008
- "description": "Comma-separated role IDs (e.g. SALESFORCE_COMMERCE_API)",
16009
- "name": "roles",
16010
- "hasDynamicHelp": false,
16011
- "multiple": false,
16012
- "type": "option"
16013
- },
16014
- "role-tenant-filter": {
16015
- "description": "Role tenant filter (format: ROLE:realm_instance,realm_instance;ROLE2:... e.g. SALESFORCE_COMMERCE_API:abcd_prd)",
16016
- "name": "role-tenant-filter",
16017
- "hasDynamicHelp": false,
16018
- "multiple": false,
16019
- "type": "option"
16020
- },
16021
- "active": {
16022
- "description": "Create as active (default: false)",
16023
- "name": "active",
16024
- "allowNo": false,
16025
- "type": "boolean"
16026
- },
16027
- "redirect-urls": {
16028
- "description": "Comma-separated list of allowed redirect URLs for OAuth flows",
16029
- "name": "redirect-urls",
16030
- "hasDynamicHelp": false,
16031
- "multiple": false,
16032
- "type": "option"
16033
- },
16034
- "scopes": {
16035
- "description": "Comma-separated OAuth scopes available to this API client",
16036
- "name": "scopes",
16037
- "hasDynamicHelp": false,
16038
- "multiple": false,
16039
- "type": "option"
16040
- },
16041
- "default-scopes": {
16042
- "description": "Comma-separated default OAuth scopes granted to this API client",
16043
- "name": "default-scopes",
16044
- "hasDynamicHelp": false,
16045
- "multiple": false,
16046
- "type": "option"
16047
- },
16048
- "version-control": {
16049
- "description": "Comma-separated version control system identifiers",
16050
- "name": "version-control",
16051
- "hasDynamicHelp": false,
16052
- "multiple": false,
16053
- "type": "option"
16054
- },
16055
- "token-endpoint-auth-method": {
16056
- "description": "Token endpoint auth method: private_key_jwt, client_secret_post, client_secret_basic, or none",
16057
- "name": "token-endpoint-auth-method",
16058
- "hasDynamicHelp": false,
16059
- "multiple": false,
16060
- "options": [
16061
- "private_key_jwt",
16062
- "client_secret_post",
16063
- "client_secret_basic",
16064
- "none"
16065
- ],
16066
- "type": "option"
16067
- },
16068
- "jwt-public-key": {
16069
- "description": "Public key for JWT authentication (PEM or inline)",
16070
- "name": "jwt-public-key",
17202
+ "expand": {
17203
+ "description": "Comma-separated list of fields to expand. Valid values: organizations, roles",
17204
+ "name": "expand",
16071
17205
  "hasDynamicHelp": false,
16072
17206
  "multiple": false,
16073
17207
  "type": "option"
@@ -16075,7 +17209,7 @@
16075
17209
  },
16076
17210
  "hasDynamicHelp": false,
16077
17211
  "hiddenAliases": [],
16078
- "id": "am:clients:create",
17212
+ "id": "am:clients:get",
16079
17213
  "pluginAlias": "@salesforce/b2c-cli",
16080
17214
  "pluginName": "@salesforce/b2c-cli",
16081
17215
  "pluginType": "core",
@@ -16087,23 +17221,27 @@
16087
17221
  "commands",
16088
17222
  "am",
16089
17223
  "clients",
16090
- "create.js"
17224
+ "get.js"
16091
17225
  ]
16092
17226
  },
16093
- "am:clients:delete": {
17227
+ "am:clients:list": {
16094
17228
  "aliases": [],
16095
- "args": {
16096
- "api-client-id": {
16097
- "description": "API client ID (UUID)",
16098
- "name": "api-client-id",
16099
- "required": true
16100
- }
16101
- },
16102
- "description": "Delete an Account Manager API client (must be disabled 7+ days)",
17229
+ "args": {},
17230
+ "description": "List Account Manager API clients",
16103
17231
  "examples": [
16104
- "<%= config.bin %> <%= command.id %> <api-client-id>"
17232
+ "<%= config.bin %> <%= command.id %>",
17233
+ "<%= config.bin %> <%= command.id %> --size 50",
17234
+ "<%= config.bin %> <%= command.id %> --extended",
17235
+ "<%= config.bin %> <%= command.id %> --json"
16105
17236
  ],
16106
17237
  "flags": {
17238
+ "json": {
17239
+ "description": "Output result as JSON",
17240
+ "helpGroup": "GLOBAL",
17241
+ "name": "json",
17242
+ "allowNo": false,
17243
+ "type": "boolean"
17244
+ },
16107
17245
  "log-level": {
16108
17246
  "description": "Set logging verbosity level",
16109
17247
  "env": "SFCC_LOG_LEVEL",
@@ -16130,13 +17268,6 @@
16130
17268
  "allowNo": false,
16131
17269
  "type": "boolean"
16132
17270
  },
16133
- "json": {
16134
- "description": "Output result as JSON",
16135
- "helpGroup": "GLOBAL",
16136
- "name": "json",
16137
- "allowNo": false,
16138
- "type": "boolean"
16139
- },
16140
17271
  "jsonl": {
16141
17272
  "aliases": [
16142
17273
  "json-logs"
@@ -16304,25 +17435,56 @@
16304
17435
  "hasDynamicHelp": false,
16305
17436
  "multiple": false,
16306
17437
  "type": "option"
17438
+ },
17439
+ "size": {
17440
+ "char": "s",
17441
+ "description": "Page size (default: 20, min: 1, max: 4000)",
17442
+ "name": "size",
17443
+ "hasDynamicHelp": false,
17444
+ "multiple": false,
17445
+ "type": "option"
17446
+ },
17447
+ "page": {
17448
+ "description": "Page number (zero-based index, default: 0, min: 0)",
17449
+ "name": "page",
17450
+ "hasDynamicHelp": false,
17451
+ "multiple": false,
17452
+ "type": "option"
17453
+ },
17454
+ "columns": {
17455
+ "char": "c",
17456
+ "description": "Columns to display (comma-separated). Available: id, name, description, active, tokenEndpointAuthMethod, createdAt, lastAuthenticatedDate, disabledTimestamp",
17457
+ "name": "columns",
17458
+ "hasDynamicHelp": false,
17459
+ "multiple": false,
17460
+ "type": "option"
17461
+ },
17462
+ "extended": {
17463
+ "char": "x",
17464
+ "description": "Show all columns including extended fields",
17465
+ "name": "extended",
17466
+ "allowNo": false,
17467
+ "type": "boolean"
16307
17468
  }
16308
17469
  },
16309
17470
  "hasDynamicHelp": false,
16310
17471
  "hiddenAliases": [],
16311
- "id": "am:clients:delete",
17472
+ "id": "am:clients:list",
16312
17473
  "pluginAlias": "@salesforce/b2c-cli",
16313
17474
  "pluginName": "@salesforce/b2c-cli",
16314
17475
  "pluginType": "core",
16315
17476
  "strict": true,
17477
+ "enableJsonFlag": true,
16316
17478
  "isESM": true,
16317
17479
  "relativePath": [
16318
17480
  "dist",
16319
17481
  "commands",
16320
17482
  "am",
16321
17483
  "clients",
16322
- "delete.js"
17484
+ "list.js"
16323
17485
  ]
16324
17486
  },
16325
- "am:clients:get": {
17487
+ "am:clients:password": {
16326
17488
  "aliases": [],
16327
17489
  "args": {
16328
17490
  "api-client-id": {
@@ -16331,20 +17493,11 @@
16331
17493
  "required": true
16332
17494
  }
16333
17495
  },
16334
- "description": "Get details of an Account Manager API client",
17496
+ "description": "Change an Account Manager API client password",
16335
17497
  "examples": [
16336
- "<%= config.bin %> <%= command.id %> <api-client-id>",
16337
- "<%= config.bin %> <%= command.id %> <api-client-id> --json",
16338
- "<%= config.bin %> <%= command.id %> <api-client-id> --expand organizations,roles"
17498
+ "<%= config.bin %> <%= command.id %> <api-client-id> --current \"OldP@ss\" --new \"NewP@ss123\""
16339
17499
  ],
16340
17500
  "flags": {
16341
- "json": {
16342
- "description": "Output result as JSON",
16343
- "helpGroup": "GLOBAL",
16344
- "name": "json",
16345
- "allowNo": false,
16346
- "type": "boolean"
16347
- },
16348
17501
  "log-level": {
16349
17502
  "description": "Set logging verbosity level",
16350
17503
  "env": "SFCC_LOG_LEVEL",
@@ -16371,6 +17524,13 @@
16371
17524
  "allowNo": false,
16372
17525
  "type": "boolean"
16373
17526
  },
17527
+ "json": {
17528
+ "description": "Output result as JSON",
17529
+ "helpGroup": "GLOBAL",
17530
+ "name": "json",
17531
+ "allowNo": false,
17532
+ "type": "boolean"
17533
+ },
16374
17534
  "jsonl": {
16375
17535
  "aliases": [
16376
17536
  "json-logs"
@@ -16539,9 +17699,20 @@
16539
17699
  "multiple": false,
16540
17700
  "type": "option"
16541
17701
  },
16542
- "expand": {
16543
- "description": "Comma-separated list of fields to expand. Valid values: organizations, roles",
16544
- "name": "expand",
17702
+ "current": {
17703
+ "char": "c",
17704
+ "description": "Current password",
17705
+ "name": "current",
17706
+ "required": true,
17707
+ "hasDynamicHelp": false,
17708
+ "multiple": false,
17709
+ "type": "option"
17710
+ },
17711
+ "new": {
17712
+ "char": "n",
17713
+ "description": "New password (12–128 characters)",
17714
+ "name": "new",
17715
+ "required": true,
16545
17716
  "hasDynamicHelp": false,
16546
17717
  "multiple": false,
16547
17718
  "type": "option"
@@ -16549,30 +17720,34 @@
16549
17720
  },
16550
17721
  "hasDynamicHelp": false,
16551
17722
  "hiddenAliases": [],
16552
- "id": "am:clients:get",
17723
+ "id": "am:clients:password",
16553
17724
  "pluginAlias": "@salesforce/b2c-cli",
16554
17725
  "pluginName": "@salesforce/b2c-cli",
16555
17726
  "pluginType": "core",
16556
17727
  "strict": true,
16557
- "enableJsonFlag": true,
16558
17728
  "isESM": true,
16559
17729
  "relativePath": [
16560
17730
  "dist",
16561
17731
  "commands",
16562
17732
  "am",
16563
17733
  "clients",
16564
- "get.js"
17734
+ "password.js"
16565
17735
  ]
16566
17736
  },
16567
- "am:clients:list": {
17737
+ "am:clients:update": {
16568
17738
  "aliases": [],
16569
- "args": {},
16570
- "description": "List Account Manager API clients",
17739
+ "args": {
17740
+ "api-client-id": {
17741
+ "description": "API client ID (UUID)",
17742
+ "name": "api-client-id",
17743
+ "required": true
17744
+ }
17745
+ },
17746
+ "description": "Update an Account Manager API client",
16571
17747
  "examples": [
16572
- "<%= config.bin %> <%= command.id %>",
16573
- "<%= config.bin %> <%= command.id %> --size 50",
16574
- "<%= config.bin %> <%= command.id %> --extended",
16575
- "<%= config.bin %> <%= command.id %> --json"
17748
+ "<%= config.bin %> <%= command.id %> <api-client-id> --name new-name",
17749
+ "<%= config.bin %> <%= command.id %> <api-client-id> --active",
17750
+ "<%= config.bin %> <%= command.id %> <api-client-id> --scopes \"mail,openid\" --default-scopes \"mail\""
16576
17751
  ],
16577
17752
  "flags": {
16578
17753
  "json": {
@@ -16776,40 +17951,103 @@
16776
17951
  "multiple": false,
16777
17952
  "type": "option"
16778
17953
  },
16779
- "size": {
16780
- "char": "s",
16781
- "description": "Page size (default: 20, min: 1, max: 4000)",
16782
- "name": "size",
17954
+ "name": {
17955
+ "char": "n",
17956
+ "description": "API client name",
17957
+ "name": "name",
16783
17958
  "hasDynamicHelp": false,
16784
17959
  "multiple": false,
16785
17960
  "type": "option"
16786
17961
  },
16787
- "page": {
16788
- "description": "Page number (zero-based index, default: 0, min: 0)",
16789
- "name": "page",
17962
+ "description": {
17963
+ "char": "d",
17964
+ "description": "Description of the API client",
17965
+ "name": "description",
16790
17966
  "hasDynamicHelp": false,
16791
17967
  "multiple": false,
16792
17968
  "type": "option"
16793
17969
  },
16794
- "columns": {
16795
- "char": "c",
16796
- "description": "Columns to display (comma-separated). Available: id, name, description, active, tokenEndpointAuthMethod, createdAt, lastAuthenticatedDate, disabledTimestamp",
16797
- "name": "columns",
17970
+ "organizations": {
17971
+ "char": "o",
17972
+ "description": "Comma-separated organization IDs",
17973
+ "name": "organizations",
16798
17974
  "hasDynamicHelp": false,
16799
17975
  "multiple": false,
16800
17976
  "type": "option"
16801
17977
  },
16802
- "extended": {
16803
- "char": "x",
16804
- "description": "Show all columns including extended fields",
16805
- "name": "extended",
17978
+ "roles": {
17979
+ "char": "r",
17980
+ "description": "Comma-separated role IDs",
17981
+ "name": "roles",
17982
+ "hasDynamicHelp": false,
17983
+ "multiple": false,
17984
+ "type": "option"
17985
+ },
17986
+ "role-tenant-filter": {
17987
+ "description": "Role tenant filter (format: ROLE:realm_instance,realm_instance;ROLE2:... e.g. SALESFORCE_COMMERCE_API:abcd_prd)",
17988
+ "name": "role-tenant-filter",
17989
+ "hasDynamicHelp": false,
17990
+ "multiple": false,
17991
+ "type": "option"
17992
+ },
17993
+ "active": {
17994
+ "description": "Set active state (true/false)",
17995
+ "name": "active",
16806
17996
  "allowNo": false,
16807
17997
  "type": "boolean"
17998
+ },
17999
+ "redirect-urls": {
18000
+ "description": "Comma-separated list of allowed redirect URLs for OAuth flows",
18001
+ "name": "redirect-urls",
18002
+ "hasDynamicHelp": false,
18003
+ "multiple": false,
18004
+ "type": "option"
18005
+ },
18006
+ "scopes": {
18007
+ "description": "Comma-separated OAuth scopes available to this API client",
18008
+ "name": "scopes",
18009
+ "hasDynamicHelp": false,
18010
+ "multiple": false,
18011
+ "type": "option"
18012
+ },
18013
+ "default-scopes": {
18014
+ "description": "Comma-separated default OAuth scopes granted to this API client",
18015
+ "name": "default-scopes",
18016
+ "hasDynamicHelp": false,
18017
+ "multiple": false,
18018
+ "type": "option"
18019
+ },
18020
+ "version-control": {
18021
+ "description": "Comma-separated version control system identifiers",
18022
+ "name": "version-control",
18023
+ "hasDynamicHelp": false,
18024
+ "multiple": false,
18025
+ "type": "option"
18026
+ },
18027
+ "token-endpoint-auth-method": {
18028
+ "description": "Token endpoint auth method: private_key_jwt, client_secret_post, client_secret_basic, or none",
18029
+ "name": "token-endpoint-auth-method",
18030
+ "hasDynamicHelp": false,
18031
+ "multiple": false,
18032
+ "options": [
18033
+ "private_key_jwt",
18034
+ "client_secret_post",
18035
+ "client_secret_basic",
18036
+ "none"
18037
+ ],
18038
+ "type": "option"
18039
+ },
18040
+ "jwt-public-key": {
18041
+ "description": "Public key for JWT authentication (PEM or inline)",
18042
+ "name": "jwt-public-key",
18043
+ "hasDynamicHelp": false,
18044
+ "multiple": false,
18045
+ "type": "option"
16808
18046
  }
16809
18047
  },
16810
18048
  "hasDynamicHelp": false,
16811
18049
  "hiddenAliases": [],
16812
- "id": "am:clients:list",
18050
+ "id": "am:clients:update",
16813
18051
  "pluginAlias": "@salesforce/b2c-cli",
16814
18052
  "pluginName": "@salesforce/b2c-cli",
16815
18053
  "pluginType": "core",
@@ -16821,23 +18059,32 @@
16821
18059
  "commands",
16822
18060
  "am",
16823
18061
  "clients",
16824
- "list.js"
18062
+ "update.js"
16825
18063
  ]
16826
18064
  },
16827
- "am:clients:password": {
18065
+ "am:orgs:get": {
16828
18066
  "aliases": [],
16829
18067
  "args": {
16830
- "api-client-id": {
16831
- "description": "API client ID (UUID)",
16832
- "name": "api-client-id",
18068
+ "org": {
18069
+ "description": "Organization ID or name",
18070
+ "name": "org",
16833
18071
  "required": true
16834
18072
  }
16835
18073
  },
16836
- "description": "Change an Account Manager API client password",
18074
+ "description": "Get details of an Account Manager organization",
16837
18075
  "examples": [
16838
- "<%= config.bin %> <%= command.id %> <api-client-id> --current \"OldP@ss\" --new \"NewP@ss123\""
18076
+ "<%= config.bin %> <%= command.id %> org-id",
18077
+ "<%= config.bin %> <%= command.id %> \"My Organization\"",
18078
+ "<%= config.bin %> <%= command.id %> org-id --json"
16839
18079
  ],
16840
18080
  "flags": {
18081
+ "json": {
18082
+ "description": "Output result as JSON",
18083
+ "helpGroup": "GLOBAL",
18084
+ "name": "json",
18085
+ "allowNo": false,
18086
+ "type": "boolean"
18087
+ },
16841
18088
  "log-level": {
16842
18089
  "description": "Set logging verbosity level",
16843
18090
  "env": "SFCC_LOG_LEVEL",
@@ -16864,13 +18111,6 @@
16864
18111
  "allowNo": false,
16865
18112
  "type": "boolean"
16866
18113
  },
16867
- "json": {
16868
- "description": "Output result as JSON",
16869
- "helpGroup": "GLOBAL",
16870
- "name": "json",
16871
- "allowNo": false,
16872
- "type": "boolean"
16873
- },
16874
18114
  "jsonl": {
16875
18115
  "aliases": [
16876
18116
  "json-logs"
@@ -17038,56 +18278,35 @@
17038
18278
  "hasDynamicHelp": false,
17039
18279
  "multiple": false,
17040
18280
  "type": "option"
17041
- },
17042
- "current": {
17043
- "char": "c",
17044
- "description": "Current password",
17045
- "name": "current",
17046
- "required": true,
17047
- "hasDynamicHelp": false,
17048
- "multiple": false,
17049
- "type": "option"
17050
- },
17051
- "new": {
17052
- "char": "n",
17053
- "description": "New password (12–128 characters)",
17054
- "name": "new",
17055
- "required": true,
17056
- "hasDynamicHelp": false,
17057
- "multiple": false,
17058
- "type": "option"
17059
18281
  }
17060
18282
  },
17061
18283
  "hasDynamicHelp": false,
17062
18284
  "hiddenAliases": [],
17063
- "id": "am:clients:password",
18285
+ "id": "am:orgs:get",
17064
18286
  "pluginAlias": "@salesforce/b2c-cli",
17065
18287
  "pluginName": "@salesforce/b2c-cli",
17066
18288
  "pluginType": "core",
17067
18289
  "strict": true,
18290
+ "enableJsonFlag": true,
17068
18291
  "isESM": true,
17069
18292
  "relativePath": [
17070
18293
  "dist",
17071
18294
  "commands",
17072
18295
  "am",
17073
- "clients",
17074
- "password.js"
18296
+ "orgs",
18297
+ "get.js"
17075
18298
  ]
17076
18299
  },
17077
- "am:clients:update": {
18300
+ "am:orgs:list": {
17078
18301
  "aliases": [],
17079
- "args": {
17080
- "api-client-id": {
17081
- "description": "API client ID (UUID)",
17082
- "name": "api-client-id",
17083
- "required": true
17084
- }
17085
- },
17086
- "description": "Update an Account Manager API client",
18302
+ "args": {},
18303
+ "description": "List Account Manager organizations",
17087
18304
  "examples": [
17088
- "<%= config.bin %> <%= command.id %> <api-client-id> --name new-name",
17089
- "<%= config.bin %> <%= command.id %> <api-client-id> --active",
17090
- "<%= config.bin %> <%= command.id %> <api-client-id> --scopes \"mail,openid\" --default-scopes \"mail\""
18305
+ "<%= config.bin %> <%= command.id %>",
18306
+ "<%= config.bin %> <%= command.id %> --size 50",
18307
+ "<%= config.bin %> <%= command.id %> --all",
18308
+ "<%= config.bin %> <%= command.id %> --extended",
18309
+ "<%= config.bin %> <%= command.id %> --json"
17091
18310
  ],
17092
18311
  "flags": {
17093
18312
  "json": {
@@ -17291,103 +18510,46 @@
17291
18510
  "multiple": false,
17292
18511
  "type": "option"
17293
18512
  },
17294
- "name": {
17295
- "char": "n",
17296
- "description": "API client name",
17297
- "name": "name",
17298
- "hasDynamicHelp": false,
17299
- "multiple": false,
17300
- "type": "option"
17301
- },
17302
- "description": {
17303
- "char": "d",
17304
- "description": "Description of the API client",
17305
- "name": "description",
17306
- "hasDynamicHelp": false,
17307
- "multiple": false,
17308
- "type": "option"
17309
- },
17310
- "organizations": {
17311
- "char": "o",
17312
- "description": "Comma-separated organization IDs",
17313
- "name": "organizations",
17314
- "hasDynamicHelp": false,
17315
- "multiple": false,
17316
- "type": "option"
17317
- },
17318
- "roles": {
17319
- "char": "r",
17320
- "description": "Comma-separated role IDs",
17321
- "name": "roles",
18513
+ "size": {
18514
+ "char": "s",
18515
+ "description": "Page size (default: 25, min: 1, max: 5000)",
18516
+ "name": "size",
17322
18517
  "hasDynamicHelp": false,
17323
18518
  "multiple": false,
17324
18519
  "type": "option"
17325
18520
  },
17326
- "role-tenant-filter": {
17327
- "description": "Role tenant filter (format: ROLE:realm_instance,realm_instance;ROLE2:... e.g. SALESFORCE_COMMERCE_API:abcd_prd)",
17328
- "name": "role-tenant-filter",
18521
+ "page": {
18522
+ "description": "Page number (zero-based index, default: 0, min: 0)",
18523
+ "name": "page",
17329
18524
  "hasDynamicHelp": false,
17330
18525
  "multiple": false,
17331
18526
  "type": "option"
17332
18527
  },
17333
- "active": {
17334
- "description": "Set active state (true/false)",
17335
- "name": "active",
18528
+ "all": {
18529
+ "char": "a",
18530
+ "description": "Return all organizations (uses max page size of 5000)",
18531
+ "name": "all",
17336
18532
  "allowNo": false,
17337
18533
  "type": "boolean"
17338
18534
  },
17339
- "redirect-urls": {
17340
- "description": "Comma-separated list of allowed redirect URLs for OAuth flows",
17341
- "name": "redirect-urls",
17342
- "hasDynamicHelp": false,
17343
- "multiple": false,
17344
- "type": "option"
17345
- },
17346
- "scopes": {
17347
- "description": "Comma-separated OAuth scopes available to this API client",
17348
- "name": "scopes",
17349
- "hasDynamicHelp": false,
17350
- "multiple": false,
17351
- "type": "option"
17352
- },
17353
- "default-scopes": {
17354
- "description": "Comma-separated default OAuth scopes granted to this API client",
17355
- "name": "default-scopes",
17356
- "hasDynamicHelp": false,
17357
- "multiple": false,
17358
- "type": "option"
17359
- },
17360
- "version-control": {
17361
- "description": "Comma-separated version control system identifiers",
17362
- "name": "version-control",
17363
- "hasDynamicHelp": false,
17364
- "multiple": false,
17365
- "type": "option"
17366
- },
17367
- "token-endpoint-auth-method": {
17368
- "description": "Token endpoint auth method: private_key_jwt, client_secret_post, client_secret_basic, or none",
17369
- "name": "token-endpoint-auth-method",
18535
+ "columns": {
18536
+ "description": "Comma-separated list of columns to display",
18537
+ "name": "columns",
17370
18538
  "hasDynamicHelp": false,
17371
18539
  "multiple": false,
17372
- "options": [
17373
- "private_key_jwt",
17374
- "client_secret_post",
17375
- "client_secret_basic",
17376
- "none"
17377
- ],
17378
18540
  "type": "option"
17379
18541
  },
17380
- "jwt-public-key": {
17381
- "description": "Public key for JWT authentication (PEM or inline)",
17382
- "name": "jwt-public-key",
17383
- "hasDynamicHelp": false,
17384
- "multiple": false,
17385
- "type": "option"
18542
+ "extended": {
18543
+ "char": "x",
18544
+ "description": "Show extended columns",
18545
+ "name": "extended",
18546
+ "allowNo": false,
18547
+ "type": "boolean"
17386
18548
  }
17387
18549
  },
17388
18550
  "hasDynamicHelp": false,
17389
18551
  "hiddenAliases": [],
17390
- "id": "am:clients:update",
18552
+ "id": "am:orgs:list",
17391
18553
  "pluginAlias": "@salesforce/b2c-cli",
17392
18554
  "pluginName": "@salesforce/b2c-cli",
17393
18555
  "pluginType": "core",
@@ -17398,24 +18560,23 @@
17398
18560
  "dist",
17399
18561
  "commands",
17400
18562
  "am",
17401
- "clients",
17402
- "update.js"
18563
+ "orgs",
18564
+ "list.js"
17403
18565
  ]
17404
18566
  },
17405
- "am:orgs:get": {
18567
+ "am:roles:get": {
17406
18568
  "aliases": [],
17407
18569
  "args": {
17408
- "org": {
17409
- "description": "Organization ID or name",
17410
- "name": "org",
18570
+ "roleId": {
18571
+ "description": "Role ID",
18572
+ "name": "roleId",
17411
18573
  "required": true
17412
18574
  }
17413
18575
  },
17414
- "description": "Get details of an Account Manager organization",
18576
+ "description": "Get details of an Account Manager role",
17415
18577
  "examples": [
17416
- "<%= config.bin %> <%= command.id %> org-id",
17417
- "<%= config.bin %> <%= command.id %> \"My Organization\"",
17418
- "<%= config.bin %> <%= command.id %> org-id --json"
18578
+ "<%= config.bin %> <%= command.id %> bm-admin",
18579
+ "<%= config.bin %> <%= command.id %> bm-user --json"
17419
18580
  ],
17420
18581
  "flags": {
17421
18582
  "json": {
@@ -17622,7 +18783,7 @@
17622
18783
  },
17623
18784
  "hasDynamicHelp": false,
17624
18785
  "hiddenAliases": [],
17625
- "id": "am:orgs:get",
18786
+ "id": "am:roles:get",
17626
18787
  "pluginAlias": "@salesforce/b2c-cli",
17627
18788
  "pluginName": "@salesforce/b2c-cli",
17628
18789
  "pluginType": "core",
@@ -17633,20 +18794,23 @@
17633
18794
  "dist",
17634
18795
  "commands",
17635
18796
  "am",
17636
- "orgs",
18797
+ "roles",
17637
18798
  "get.js"
17638
18799
  ]
17639
18800
  },
17640
- "am:orgs:list": {
18801
+ "am:roles:grant": {
17641
18802
  "aliases": [],
17642
- "args": {},
17643
- "description": "List Account Manager organizations",
18803
+ "args": {
18804
+ "login": {
18805
+ "description": "User login (email)",
18806
+ "name": "login",
18807
+ "required": true
18808
+ }
18809
+ },
18810
+ "description": "Grant a role to an Account Manager user",
17644
18811
  "examples": [
17645
- "<%= config.bin %> <%= command.id %>",
17646
- "<%= config.bin %> <%= command.id %> --size 50",
17647
- "<%= config.bin %> <%= command.id %> --all",
17648
- "<%= config.bin %> <%= command.id %> --extended",
17649
- "<%= config.bin %> <%= command.id %> --json"
18812
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
18813
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1,tenant2"
17650
18814
  ],
17651
18815
  "flags": {
17652
18816
  "json": {
@@ -17850,46 +19014,27 @@
17850
19014
  "multiple": false,
17851
19015
  "type": "option"
17852
19016
  },
17853
- "size": {
17854
- "char": "s",
17855
- "description": "Page size (default: 25, min: 1, max: 5000)",
17856
- "name": "size",
17857
- "hasDynamicHelp": false,
17858
- "multiple": false,
17859
- "type": "option"
17860
- },
17861
- "page": {
17862
- "description": "Page number (zero-based index, default: 0, min: 0)",
17863
- "name": "page",
19017
+ "role": {
19018
+ "char": "r",
19019
+ "description": "Role to grant",
19020
+ "name": "role",
19021
+ "required": true,
17864
19022
  "hasDynamicHelp": false,
17865
19023
  "multiple": false,
17866
19024
  "type": "option"
17867
19025
  },
17868
- "all": {
17869
- "char": "a",
17870
- "description": "Return all organizations (uses max page size of 5000)",
17871
- "name": "all",
17872
- "allowNo": false,
17873
- "type": "boolean"
17874
- },
17875
- "columns": {
17876
- "description": "Comma-separated list of columns to display",
17877
- "name": "columns",
19026
+ "scope": {
19027
+ "char": "s",
19028
+ "description": "Scope for the role (tenant IDs, comma-separated)",
19029
+ "name": "scope",
17878
19030
  "hasDynamicHelp": false,
17879
19031
  "multiple": false,
17880
19032
  "type": "option"
17881
- },
17882
- "extended": {
17883
- "char": "x",
17884
- "description": "Show extended columns",
17885
- "name": "extended",
17886
- "allowNo": false,
17887
- "type": "boolean"
17888
19033
  }
17889
19034
  },
17890
19035
  "hasDynamicHelp": false,
17891
19036
  "hiddenAliases": [],
17892
- "id": "am:orgs:list",
19037
+ "id": "am:roles:grant",
17893
19038
  "pluginAlias": "@salesforce/b2c-cli",
17894
19039
  "pluginName": "@salesforce/b2c-cli",
17895
19040
  "pluginType": "core",
@@ -17900,23 +19045,20 @@
17900
19045
  "dist",
17901
19046
  "commands",
17902
19047
  "am",
17903
- "orgs",
17904
- "list.js"
19048
+ "roles",
19049
+ "grant.js"
17905
19050
  ]
17906
19051
  },
17907
- "am:roles:get": {
19052
+ "am:roles:list": {
17908
19053
  "aliases": [],
17909
- "args": {
17910
- "roleId": {
17911
- "description": "Role ID",
17912
- "name": "roleId",
17913
- "required": true
17914
- }
17915
- },
17916
- "description": "Get details of an Account Manager role",
19054
+ "args": {},
19055
+ "description": "List Account Manager roles",
17917
19056
  "examples": [
17918
- "<%= config.bin %> <%= command.id %> bm-admin",
17919
- "<%= config.bin %> <%= command.id %> bm-user --json"
19057
+ "<%= config.bin %> <%= command.id %>",
19058
+ "<%= config.bin %> <%= command.id %> --size 50",
19059
+ "<%= config.bin %> <%= command.id %> --target-type User",
19060
+ "<%= config.bin %> <%= command.id %> --extended",
19061
+ "<%= config.bin %> <%= command.id %> --json"
17920
19062
  ],
17921
19063
  "flags": {
17922
19064
  "json": {
@@ -18119,11 +19261,53 @@
18119
19261
  "hasDynamicHelp": false,
18120
19262
  "multiple": false,
18121
19263
  "type": "option"
19264
+ },
19265
+ "size": {
19266
+ "char": "s",
19267
+ "description": "Page size (default: 20, min: 1, max: 4000)",
19268
+ "name": "size",
19269
+ "hasDynamicHelp": false,
19270
+ "multiple": false,
19271
+ "type": "option"
19272
+ },
19273
+ "page": {
19274
+ "description": "Page number (zero-based index, default: 0, min: 0)",
19275
+ "name": "page",
19276
+ "hasDynamicHelp": false,
19277
+ "multiple": false,
19278
+ "type": "option"
19279
+ },
19280
+ "target-type": {
19281
+ "char": "t",
19282
+ "description": "Filter by target type (User or ApiClient)",
19283
+ "name": "target-type",
19284
+ "hasDynamicHelp": false,
19285
+ "multiple": false,
19286
+ "options": [
19287
+ "User",
19288
+ "ApiClient"
19289
+ ],
19290
+ "type": "option"
19291
+ },
19292
+ "columns": {
19293
+ "char": "c",
19294
+ "description": "Columns to display (comma-separated). Available: id, description, roleEnumName, scope, targetType, twoFAEnabled, permissions",
19295
+ "name": "columns",
19296
+ "hasDynamicHelp": false,
19297
+ "multiple": false,
19298
+ "type": "option"
19299
+ },
19300
+ "extended": {
19301
+ "char": "x",
19302
+ "description": "Show all columns including extended fields",
19303
+ "name": "extended",
19304
+ "allowNo": false,
19305
+ "type": "boolean"
18122
19306
  }
18123
19307
  },
18124
19308
  "hasDynamicHelp": false,
18125
19309
  "hiddenAliases": [],
18126
- "id": "am:roles:get",
19310
+ "id": "am:roles:list",
18127
19311
  "pluginAlias": "@salesforce/b2c-cli",
18128
19312
  "pluginName": "@salesforce/b2c-cli",
18129
19313
  "pluginType": "core",
@@ -18135,10 +19319,10 @@
18135
19319
  "commands",
18136
19320
  "am",
18137
19321
  "roles",
18138
- "get.js"
19322
+ "list.js"
18139
19323
  ]
18140
19324
  },
18141
- "am:roles:grant": {
19325
+ "am:roles:revoke": {
18142
19326
  "aliases": [],
18143
19327
  "args": {
18144
19328
  "login": {
@@ -18147,10 +19331,10 @@
18147
19331
  "required": true
18148
19332
  }
18149
19333
  },
18150
- "description": "Grant a role to an Account Manager user",
19334
+ "description": "Revoke a role from an Account Manager user",
18151
19335
  "examples": [
18152
19336
  "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
18153
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1,tenant2"
19337
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1"
18154
19338
  ],
18155
19339
  "flags": {
18156
19340
  "json": {
@@ -18356,7 +19540,7 @@
18356
19540
  },
18357
19541
  "role": {
18358
19542
  "char": "r",
18359
- "description": "Role to grant",
19543
+ "description": "Role to revoke",
18360
19544
  "name": "role",
18361
19545
  "required": true,
18362
19546
  "hasDynamicHelp": false,
@@ -18365,7 +19549,7 @@
18365
19549
  },
18366
19550
  "scope": {
18367
19551
  "char": "s",
18368
- "description": "Scope for the role (tenant IDs, comma-separated)",
19552
+ "description": "Scope to remove (if not provided, removes entire role)",
18369
19553
  "name": "scope",
18370
19554
  "hasDynamicHelp": false,
18371
19555
  "multiple": false,
@@ -18374,7 +19558,7 @@
18374
19558
  },
18375
19559
  "hasDynamicHelp": false,
18376
19560
  "hiddenAliases": [],
18377
- "id": "am:roles:grant",
19561
+ "id": "am:roles:revoke",
18378
19562
  "pluginAlias": "@salesforce/b2c-cli",
18379
19563
  "pluginName": "@salesforce/b2c-cli",
18380
19564
  "pluginType": "core",
@@ -18386,19 +19570,16 @@
18386
19570
  "commands",
18387
19571
  "am",
18388
19572
  "roles",
18389
- "grant.js"
19573
+ "revoke.js"
18390
19574
  ]
18391
19575
  },
18392
- "am:roles:list": {
19576
+ "am:users:create": {
18393
19577
  "aliases": [],
18394
19578
  "args": {},
18395
- "description": "List Account Manager roles",
19579
+ "description": "Create a new Account Manager user",
18396
19580
  "examples": [
18397
- "<%= config.bin %> <%= command.id %>",
18398
- "<%= config.bin %> <%= command.id %> --size 50",
18399
- "<%= config.bin %> <%= command.id %> --target-type User",
18400
- "<%= config.bin %> <%= command.id %> --extended",
18401
- "<%= config.bin %> <%= command.id %> --json"
19581
+ "<%= config.bin %> <%= command.id %> --org org-id --mail user@example.com --first-name John --last-name Doe",
19582
+ "<%= config.bin %> <%= command.id %> --org \"My Organization\" --mail user@example.com --first-name John --last-name Doe --json"
18402
19583
  ],
18403
19584
  "flags": {
18404
19585
  "json": {
@@ -18602,52 +19783,44 @@
18602
19783
  "multiple": false,
18603
19784
  "type": "option"
18604
19785
  },
18605
- "size": {
18606
- "char": "s",
18607
- "description": "Page size (default: 20, min: 1, max: 4000)",
18608
- "name": "size",
19786
+ "org": {
19787
+ "char": "o",
19788
+ "description": "Organization ID or name",
19789
+ "name": "org",
19790
+ "required": true,
18609
19791
  "hasDynamicHelp": false,
18610
19792
  "multiple": false,
18611
19793
  "type": "option"
18612
19794
  },
18613
- "page": {
18614
- "description": "Page number (zero-based index, default: 0, min: 0)",
18615
- "name": "page",
19795
+ "mail": {
19796
+ "char": "m",
19797
+ "description": "User email (login)",
19798
+ "name": "mail",
19799
+ "required": true,
18616
19800
  "hasDynamicHelp": false,
18617
19801
  "multiple": false,
18618
19802
  "type": "option"
18619
19803
  },
18620
- "target-type": {
18621
- "char": "t",
18622
- "description": "Filter by target type (User or ApiClient)",
18623
- "name": "target-type",
19804
+ "first-name": {
19805
+ "description": "First name",
19806
+ "name": "first-name",
19807
+ "required": true,
18624
19808
  "hasDynamicHelp": false,
18625
19809
  "multiple": false,
18626
- "options": [
18627
- "User",
18628
- "ApiClient"
18629
- ],
18630
19810
  "type": "option"
18631
19811
  },
18632
- "columns": {
18633
- "char": "c",
18634
- "description": "Columns to display (comma-separated). Available: id, description, roleEnumName, scope, targetType, twoFAEnabled, permissions",
18635
- "name": "columns",
19812
+ "last-name": {
19813
+ "description": "Last name",
19814
+ "name": "last-name",
19815
+ "required": true,
18636
19816
  "hasDynamicHelp": false,
18637
19817
  "multiple": false,
18638
19818
  "type": "option"
18639
- },
18640
- "extended": {
18641
- "char": "x",
18642
- "description": "Show all columns including extended fields",
18643
- "name": "extended",
18644
- "allowNo": false,
18645
- "type": "boolean"
18646
19819
  }
18647
19820
  },
18648
19821
  "hasDynamicHelp": false,
18649
19822
  "hiddenAliases": [],
18650
- "id": "am:roles:list",
19823
+ "id": "am:users:create",
18651
19824
  "pluginAlias": "@salesforce/b2c-cli",
18652
19825
  "pluginName": "@salesforce/b2c-cli",
18653
19826
  "pluginType": "core",
@@ -18658,11 +19831,11 @@
18658
19831
  "dist",
18659
19832
  "commands",
18660
19833
  "am",
18661
- "roles",
18662
- "list.js"
19834
+ "users",
19835
+ "create.js"
18663
19836
  ]
18664
19837
  },
18665
- "am:roles:revoke": {
19838
+ "am:users:delete": {
18666
19839
  "aliases": [],
18667
19840
  "args": {
18668
19841
  "login": {
@@ -18671,10 +19844,10 @@
18671
19844
  "required": true
18672
19845
  }
18673
19846
  },
18674
- "description": "Revoke a role from an Account Manager user",
19847
+ "description": "Delete an Account Manager user",
18675
19848
  "examples": [
18676
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
18677
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1"
19849
+ "<%= config.bin %> <%= command.id %> user@example.com",
19850
+ "<%= config.bin %> <%= command.id %> user@example.com --purge"
18678
19851
  ],
18679
19852
  "flags": {
18680
19853
  "json": {
@@ -18878,27 +20051,16 @@
18878
20051
  "multiple": false,
18879
20052
  "type": "option"
18880
20053
  },
18881
- "role": {
18882
- "char": "r",
18883
- "description": "Role to revoke",
18884
- "name": "role",
18885
- "required": true,
18886
- "hasDynamicHelp": false,
18887
- "multiple": false,
18888
- "type": "option"
18889
- },
18890
- "scope": {
18891
- "char": "s",
18892
- "description": "Scope to remove (if not provided, removes entire role)",
18893
- "name": "scope",
18894
- "hasDynamicHelp": false,
18895
- "multiple": false,
18896
- "type": "option"
20054
+ "purge": {
20055
+ "description": "Purge the user completely (hard delete). User must be in DELETED state first.",
20056
+ "name": "purge",
20057
+ "allowNo": false,
20058
+ "type": "boolean"
18897
20059
  }
18898
20060
  },
18899
20061
  "hasDynamicHelp": false,
18900
20062
  "hiddenAliases": [],
18901
- "id": "am:roles:revoke",
20063
+ "id": "am:users:delete",
18902
20064
  "pluginAlias": "@salesforce/b2c-cli",
18903
20065
  "pluginName": "@salesforce/b2c-cli",
18904
20066
  "pluginType": "core",
@@ -18909,17 +20071,26 @@
18909
20071
  "dist",
18910
20072
  "commands",
18911
20073
  "am",
18912
- "roles",
18913
- "revoke.js"
20074
+ "users",
20075
+ "delete.js"
18914
20076
  ]
18915
20077
  },
18916
- "am:users:create": {
20078
+ "am:users:get": {
18917
20079
  "aliases": [],
18918
- "args": {},
18919
- "description": "Create a new Account Manager user",
20080
+ "args": {
20081
+ "login": {
20082
+ "description": "User login (email)",
20083
+ "name": "login",
20084
+ "required": true
20085
+ }
20086
+ },
20087
+ "description": "Get details of an Account Manager user",
18920
20088
  "examples": [
18921
- "<%= config.bin %> <%= command.id %> --org org-id --mail user@example.com --first-name John --last-name Doe",
18922
- "<%= config.bin %> <%= command.id %> --org \"My Organization\" --mail user@example.com --first-name John --last-name Doe --json"
20089
+ "<%= config.bin %> <%= command.id %> user@example.com",
20090
+ "<%= config.bin %> <%= command.id %> user@example.com --json",
20091
+ "<%= config.bin %> <%= command.id %> user@example.com --expand-all",
20092
+ "<%= config.bin %> <%= command.id %> user@example.com --expand organizations",
20093
+ "<%= config.bin %> <%= command.id %> user@example.com --expand organizations,roles"
18923
20094
  ],
18924
20095
  "flags": {
18925
20096
  "json": {
@@ -19123,44 +20294,23 @@
19123
20294
  "multiple": false,
19124
20295
  "type": "option"
19125
20296
  },
19126
- "org": {
19127
- "char": "o",
19128
- "description": "Organization ID or name",
19129
- "name": "org",
19130
- "required": true,
19131
- "hasDynamicHelp": false,
19132
- "multiple": false,
19133
- "type": "option"
19134
- },
19135
- "mail": {
19136
- "char": "m",
19137
- "description": "User email (login)",
19138
- "name": "mail",
19139
- "required": true,
19140
- "hasDynamicHelp": false,
19141
- "multiple": false,
19142
- "type": "option"
19143
- },
19144
- "first-name": {
19145
- "description": "First name",
19146
- "name": "first-name",
19147
- "required": true,
20297
+ "expand": {
20298
+ "description": "Comma-separated list of fields to expand. Valid values: organizations, roles",
20299
+ "name": "expand",
19148
20300
  "hasDynamicHelp": false,
19149
20301
  "multiple": false,
19150
20302
  "type": "option"
19151
20303
  },
19152
- "last-name": {
19153
- "description": "Last name",
19154
- "name": "last-name",
19155
- "required": true,
19156
- "hasDynamicHelp": false,
19157
- "multiple": false,
19158
- "type": "option"
20304
+ "expand-all": {
20305
+ "description": "Expand both organizations and roles",
20306
+ "name": "expand-all",
20307
+ "allowNo": false,
20308
+ "type": "boolean"
19159
20309
  }
19160
20310
  },
19161
20311
  "hasDynamicHelp": false,
19162
20312
  "hiddenAliases": [],
19163
- "id": "am:users:create",
20313
+ "id": "am:users:get",
19164
20314
  "pluginAlias": "@salesforce/b2c-cli",
19165
20315
  "pluginName": "@salesforce/b2c-cli",
19166
20316
  "pluginType": "core",
@@ -19172,22 +20322,19 @@
19172
20322
  "commands",
19173
20323
  "am",
19174
20324
  "users",
19175
- "create.js"
20325
+ "get.js"
19176
20326
  ]
19177
20327
  },
19178
- "am:users:delete": {
20328
+ "am:users:list": {
19179
20329
  "aliases": [],
19180
- "args": {
19181
- "login": {
19182
- "description": "User login (email)",
19183
- "name": "login",
19184
- "required": true
19185
- }
19186
- },
19187
- "description": "Delete an Account Manager user",
20330
+ "args": {},
20331
+ "description": "List Account Manager users",
19188
20332
  "examples": [
19189
- "<%= config.bin %> <%= command.id %> user@example.com",
19190
- "<%= config.bin %> <%= command.id %> user@example.com --purge"
20333
+ "<%= config.bin %> <%= command.id %>",
20334
+ "<%= config.bin %> <%= command.id %> --size 50",
20335
+ "<%= config.bin %> <%= command.id %> --size 100",
20336
+ "<%= config.bin %> <%= command.id %> --extended",
20337
+ "<%= config.bin %> <%= command.id %> --json"
19191
20338
  ],
19192
20339
  "flags": {
19193
20340
  "json": {
@@ -19391,16 +20538,40 @@
19391
20538
  "multiple": false,
19392
20539
  "type": "option"
19393
20540
  },
19394
- "purge": {
19395
- "description": "Purge the user completely (hard delete). User must be in DELETED state first.",
19396
- "name": "purge",
20541
+ "size": {
20542
+ "char": "s",
20543
+ "description": "Page size (default: 20, min: 1, max: 4000)",
20544
+ "name": "size",
20545
+ "hasDynamicHelp": false,
20546
+ "multiple": false,
20547
+ "type": "option"
20548
+ },
20549
+ "page": {
20550
+ "description": "Page number (zero-based index, default: 0, min: 0)",
20551
+ "name": "page",
20552
+ "hasDynamicHelp": false,
20553
+ "multiple": false,
20554
+ "type": "option"
20555
+ },
20556
+ "columns": {
20557
+ "char": "c",
20558
+ "description": "Columns to display (comma-separated). Available: mail, firstName, lastName, userState, passwordExpired, twoFAEnabled, linkedToSfIdentity, lastLoginDate, roles, organizations",
20559
+ "name": "columns",
20560
+ "hasDynamicHelp": false,
20561
+ "multiple": false,
20562
+ "type": "option"
20563
+ },
20564
+ "extended": {
20565
+ "char": "x",
20566
+ "description": "Show all columns including extended fields",
20567
+ "name": "extended",
19397
20568
  "allowNo": false,
19398
20569
  "type": "boolean"
19399
20570
  }
19400
20571
  },
19401
20572
  "hasDynamicHelp": false,
19402
20573
  "hiddenAliases": [],
19403
- "id": "am:users:delete",
20574
+ "id": "am:users:list",
19404
20575
  "pluginAlias": "@salesforce/b2c-cli",
19405
20576
  "pluginName": "@salesforce/b2c-cli",
19406
20577
  "pluginType": "core",
@@ -19412,10 +20583,10 @@
19412
20583
  "commands",
19413
20584
  "am",
19414
20585
  "users",
19415
- "delete.js"
20586
+ "list.js"
19416
20587
  ]
19417
20588
  },
19418
- "am:users:get": {
20589
+ "am:users:reset": {
19419
20590
  "aliases": [],
19420
20591
  "args": {
19421
20592
  "login": {
@@ -19424,13 +20595,10 @@
19424
20595
  "required": true
19425
20596
  }
19426
20597
  },
19427
- "description": "Get details of an Account Manager user",
20598
+ "description": "Reset an Account Manager user password",
19428
20599
  "examples": [
19429
20600
  "<%= config.bin %> <%= command.id %> user@example.com",
19430
- "<%= config.bin %> <%= command.id %> user@example.com --json",
19431
- "<%= config.bin %> <%= command.id %> user@example.com --expand-all",
19432
- "<%= config.bin %> <%= command.id %> user@example.com --expand organizations",
19433
- "<%= config.bin %> <%= command.id %> user@example.com --expand organizations,roles"
20601
+ "<%= config.bin %> <%= command.id %> user@example.com --json"
19434
20602
  ],
19435
20603
  "flags": {
19436
20604
  "json": {
@@ -19633,24 +20801,11 @@
19633
20801
  "hasDynamicHelp": false,
19634
20802
  "multiple": false,
19635
20803
  "type": "option"
19636
- },
19637
- "expand": {
19638
- "description": "Comma-separated list of fields to expand. Valid values: organizations, roles",
19639
- "name": "expand",
19640
- "hasDynamicHelp": false,
19641
- "multiple": false,
19642
- "type": "option"
19643
- },
19644
- "expand-all": {
19645
- "description": "Expand both organizations and roles",
19646
- "name": "expand-all",
19647
- "allowNo": false,
19648
- "type": "boolean"
19649
20804
  }
19650
20805
  },
19651
20806
  "hasDynamicHelp": false,
19652
20807
  "hiddenAliases": [],
19653
- "id": "am:users:get",
20808
+ "id": "am:users:reset",
19654
20809
  "pluginAlias": "@salesforce/b2c-cli",
19655
20810
  "pluginName": "@salesforce/b2c-cli",
19656
20811
  "pluginType": "core",
@@ -19662,19 +20817,22 @@
19662
20817
  "commands",
19663
20818
  "am",
19664
20819
  "users",
19665
- "get.js"
20820
+ "reset.js"
19666
20821
  ]
19667
20822
  },
19668
- "am:users:list": {
20823
+ "am:users:update": {
19669
20824
  "aliases": [],
19670
- "args": {},
19671
- "description": "List Account Manager users",
20825
+ "args": {
20826
+ "login": {
20827
+ "description": "User login (email)",
20828
+ "name": "login",
20829
+ "required": true
20830
+ }
20831
+ },
20832
+ "description": "Update an Account Manager user",
19672
20833
  "examples": [
19673
- "<%= config.bin %> <%= command.id %>",
19674
- "<%= config.bin %> <%= command.id %> --size 50",
19675
- "<%= config.bin %> <%= command.id %> --size 100",
19676
- "<%= config.bin %> <%= command.id %> --extended",
19677
- "<%= config.bin %> <%= command.id %> --json"
20834
+ "<%= config.bin %> <%= command.id %> user@example.com --first-name Jane",
20835
+ "<%= config.bin %> <%= command.id %> user@example.com --last-name Smith --json"
19678
20836
  ],
19679
20837
  "flags": {
19680
20838
  "json": {
@@ -19878,40 +21036,24 @@
19878
21036
  "multiple": false,
19879
21037
  "type": "option"
19880
21038
  },
19881
- "size": {
19882
- "char": "s",
19883
- "description": "Page size (default: 20, min: 1, max: 4000)",
19884
- "name": "size",
19885
- "hasDynamicHelp": false,
19886
- "multiple": false,
19887
- "type": "option"
19888
- },
19889
- "page": {
19890
- "description": "Page number (zero-based index, default: 0, min: 0)",
19891
- "name": "page",
21039
+ "first-name": {
21040
+ "description": "First name",
21041
+ "name": "first-name",
19892
21042
  "hasDynamicHelp": false,
19893
21043
  "multiple": false,
19894
21044
  "type": "option"
19895
21045
  },
19896
- "columns": {
19897
- "char": "c",
19898
- "description": "Columns to display (comma-separated). Available: mail, firstName, lastName, userState, passwordExpired, twoFAEnabled, linkedToSfIdentity, lastLoginDate, roles, organizations",
19899
- "name": "columns",
21046
+ "last-name": {
21047
+ "description": "Last name",
21048
+ "name": "last-name",
19900
21049
  "hasDynamicHelp": false,
19901
21050
  "multiple": false,
19902
21051
  "type": "option"
19903
- },
19904
- "extended": {
19905
- "char": "x",
19906
- "description": "Show all columns including extended fields",
19907
- "name": "extended",
19908
- "allowNo": false,
19909
- "type": "boolean"
19910
21052
  }
19911
21053
  },
19912
21054
  "hasDynamicHelp": false,
19913
21055
  "hiddenAliases": [],
19914
- "id": "am:users:list",
21056
+ "id": "am:users:update",
19915
21057
  "pluginAlias": "@salesforce/b2c-cli",
19916
21058
  "pluginName": "@salesforce/b2c-cli",
19917
21059
  "pluginType": "core",
@@ -19923,31 +21065,20 @@
19923
21065
  "commands",
19924
21066
  "am",
19925
21067
  "users",
19926
- "list.js"
21068
+ "update.js"
19927
21069
  ]
19928
21070
  },
19929
- "am:users:reset": {
21071
+ "auth:client": {
19930
21072
  "aliases": [],
19931
- "args": {
19932
- "login": {
19933
- "description": "User login (email)",
19934
- "name": "login",
19935
- "required": true
19936
- }
19937
- },
19938
- "description": "Reset an Account Manager user password",
21073
+ "args": {},
21074
+ "description": "Authenticate an API client and save session",
19939
21075
  "examples": [
19940
- "<%= config.bin %> <%= command.id %> user@example.com",
19941
- "<%= config.bin %> <%= command.id %> user@example.com --json"
21076
+ "<%= config.bin %> <%= command.id %> --client-id <id> --client-secret <secret>",
21077
+ "<%= config.bin %> <%= command.id %> --client-id <id> --client-secret <secret> --renew",
21078
+ "<%= config.bin %> <%= command.id %> --client-id <id> --client-secret <secret> --user <email> --user-password <pwd>",
21079
+ "<%= config.bin %> <%= command.id %> --client-id <id> --client-secret <secret> --grant-type client_credentials"
19942
21080
  ],
19943
21081
  "flags": {
19944
- "json": {
19945
- "description": "Output result as JSON",
19946
- "helpGroup": "GLOBAL",
19947
- "name": "json",
19948
- "allowNo": false,
19949
- "type": "boolean"
19950
- },
19951
21082
  "log-level": {
19952
21083
  "description": "Set logging verbosity level",
19953
21084
  "env": "SFCC_LOG_LEVEL",
@@ -19974,6 +21105,13 @@
19974
21105
  "allowNo": false,
19975
21106
  "type": "boolean"
19976
21107
  },
21108
+ "json": {
21109
+ "description": "Output result as JSON",
21110
+ "helpGroup": "GLOBAL",
21111
+ "name": "json",
21112
+ "allowNo": false,
21113
+ "type": "boolean"
21114
+ },
19977
21115
  "jsonl": {
19978
21116
  "aliases": [
19979
21117
  "json-logs"
@@ -20065,7 +21203,7 @@
20065
21203
  "type": "option"
20066
21204
  },
20067
21205
  "client-secret": {
20068
- "description": "Client Secret for OAuth",
21206
+ "description": "Client secret for OAuth",
20069
21207
  "env": "SFCC_CLIENT_SECRET",
20070
21208
  "helpGroup": "AUTH",
20071
21209
  "name": "client-secret",
@@ -20073,6 +21211,15 @@
20073
21211
  "multiple": false,
20074
21212
  "type": "option"
20075
21213
  },
21214
+ "account-manager-host": {
21215
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
21216
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
21217
+ "helpGroup": "AUTH",
21218
+ "name": "account-manager-host",
21219
+ "hasDynamicHelp": false,
21220
+ "multiple": false,
21221
+ "type": "option"
21222
+ },
20076
21223
  "auth-scope": {
20077
21224
  "description": "OAuth scopes to request (comma-separated)",
20078
21225
  "env": "SFCC_OAUTH_SCOPES",
@@ -20083,105 +21230,69 @@
20083
21230
  "multiple": true,
20084
21231
  "type": "option"
20085
21232
  },
20086
- "short-code": {
20087
- "description": "SCAPI short code",
20088
- "env": "SFCC_SHORTCODE",
20089
- "helpGroup": "AUTH",
20090
- "name": "short-code",
20091
- "hasDynamicHelp": false,
20092
- "multiple": false,
20093
- "type": "option"
21233
+ "renew": {
21234
+ "char": "r",
21235
+ "description": "Enable automatic token renewal (stores credentials for later refresh)",
21236
+ "name": "renew",
21237
+ "allowNo": false,
21238
+ "type": "boolean"
20094
21239
  },
20095
- "tenant-id": {
20096
- "aliases": [
20097
- "tenant"
20098
- ],
20099
- "description": "Organization/tenant ID",
20100
- "env": "SFCC_TENANT_ID",
20101
- "helpGroup": "AUTH",
20102
- "name": "tenant-id",
21240
+ "grant-type": {
21241
+ "char": "t",
21242
+ "description": "OAuth grant type (default: auto-detect based on provided credentials)",
21243
+ "name": "grant-type",
20103
21244
  "hasDynamicHelp": false,
20104
21245
  "multiple": false,
20105
- "type": "option"
20106
- },
20107
- "auth-methods": {
20108
- "description": "Allowed auth methods in priority order (comma-separated)",
20109
- "env": "SFCC_AUTH_METHODS",
20110
- "exclusive": [
20111
- "user-auth"
20112
- ],
20113
- "helpGroup": "AUTH",
20114
- "name": "auth-methods",
20115
- "delimiter": ",",
20116
- "hasDynamicHelp": false,
20117
- "multiple": true,
20118
21246
  "options": [
20119
- "client-credentials",
20120
- "implicit",
20121
- "basic",
20122
- "api-key"
21247
+ "client_credentials",
21248
+ "password"
20123
21249
  ],
20124
21250
  "type": "option"
20125
21251
  },
20126
- "user-auth": {
20127
- "description": "Use browser-based user authentication (implicit OAuth flow)",
20128
- "exclusive": [
20129
- "auth-methods"
20130
- ],
20131
- "helpGroup": "AUTH",
20132
- "name": "user-auth",
20133
- "allowNo": false,
20134
- "type": "boolean"
21252
+ "user": {
21253
+ "description": "Username for resource owner password credentials grant",
21254
+ "env": "SFCC_OAUTH_USER_NAME",
21255
+ "name": "user",
21256
+ "hasDynamicHelp": false,
21257
+ "multiple": false,
21258
+ "type": "option"
20135
21259
  },
20136
- "account-manager-host": {
20137
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
20138
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
20139
- "helpGroup": "AUTH",
20140
- "name": "account-manager-host",
21260
+ "user-password": {
21261
+ "description": "Password for resource owner password credentials grant",
21262
+ "env": "SFCC_OAUTH_USER_PASSWORD",
21263
+ "name": "user-password",
20141
21264
  "hasDynamicHelp": false,
20142
21265
  "multiple": false,
20143
21266
  "type": "option"
20144
21267
  }
20145
21268
  },
20146
21269
  "hasDynamicHelp": false,
20147
- "hiddenAliases": [],
20148
- "id": "am:users:reset",
21270
+ "hiddenAliases": [
21271
+ "client:auth"
21272
+ ],
21273
+ "id": "auth:client",
20149
21274
  "pluginAlias": "@salesforce/b2c-cli",
20150
21275
  "pluginName": "@salesforce/b2c-cli",
20151
21276
  "pluginType": "core",
20152
21277
  "strict": true,
20153
- "enableJsonFlag": true,
21278
+ "enableJsonFlag": false,
20154
21279
  "isESM": true,
20155
21280
  "relativePath": [
20156
21281
  "dist",
20157
21282
  "commands",
20158
- "am",
20159
- "users",
20160
- "reset.js"
21283
+ "auth",
21284
+ "client",
21285
+ "index.js"
20161
21286
  ]
20162
21287
  },
20163
- "am:users:update": {
21288
+ "auth:client:renew": {
20164
21289
  "aliases": [],
20165
- "args": {
20166
- "login": {
20167
- "description": "User login (email)",
20168
- "name": "login",
20169
- "required": true
20170
- }
20171
- },
20172
- "description": "Update an Account Manager user",
21290
+ "args": {},
21291
+ "description": "Renew the client authentication token",
20173
21292
  "examples": [
20174
- "<%= config.bin %> <%= command.id %> user@example.com --first-name Jane",
20175
- "<%= config.bin %> <%= command.id %> user@example.com --last-name Smith --json"
21293
+ "<%= config.bin %> <%= command.id %>"
20176
21294
  ],
20177
21295
  "flags": {
20178
- "json": {
20179
- "description": "Output result as JSON",
20180
- "helpGroup": "GLOBAL",
20181
- "name": "json",
20182
- "allowNo": false,
20183
- "type": "boolean"
20184
- },
20185
21296
  "log-level": {
20186
21297
  "description": "Set logging verbosity level",
20187
21298
  "env": "SFCC_LOG_LEVEL",
@@ -20208,6 +21319,13 @@
20208
21319
  "allowNo": false,
20209
21320
  "type": "boolean"
20210
21321
  },
21322
+ "json": {
21323
+ "description": "Output result as JSON",
21324
+ "helpGroup": "GLOBAL",
21325
+ "name": "json",
21326
+ "allowNo": false,
21327
+ "type": "boolean"
21328
+ },
20211
21329
  "jsonl": {
20212
21330
  "aliases": [
20213
21331
  "json-logs"
@@ -20289,111 +21407,164 @@
20289
21407
  "multiple": false,
20290
21408
  "type": "option"
20291
21409
  },
20292
- "client-id": {
20293
- "description": "Client ID for OAuth",
20294
- "env": "SFCC_CLIENT_ID",
21410
+ "account-manager-host": {
21411
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
21412
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
20295
21413
  "helpGroup": "AUTH",
20296
- "name": "client-id",
21414
+ "name": "account-manager-host",
20297
21415
  "hasDynamicHelp": false,
20298
21416
  "multiple": false,
20299
21417
  "type": "option"
21418
+ }
21419
+ },
21420
+ "hasDynamicHelp": false,
21421
+ "hiddenAliases": [
21422
+ "client:auth:renew"
21423
+ ],
21424
+ "id": "auth:client:renew",
21425
+ "pluginAlias": "@salesforce/b2c-cli",
21426
+ "pluginName": "@salesforce/b2c-cli",
21427
+ "pluginType": "core",
21428
+ "strict": true,
21429
+ "enableJsonFlag": false,
21430
+ "isESM": true,
21431
+ "relativePath": [
21432
+ "dist",
21433
+ "commands",
21434
+ "auth",
21435
+ "client",
21436
+ "renew.js"
21437
+ ]
21438
+ },
21439
+ "auth:client:token": {
21440
+ "aliases": [],
21441
+ "args": {},
21442
+ "description": "Return the current authentication token (stateful)",
21443
+ "examples": [
21444
+ "<%= config.bin %> <%= command.id %>",
21445
+ "<%= config.bin %> <%= command.id %> --json"
21446
+ ],
21447
+ "flags": {
21448
+ "json": {
21449
+ "description": "Output result as JSON",
21450
+ "helpGroup": "GLOBAL",
21451
+ "name": "json",
21452
+ "allowNo": false,
21453
+ "type": "boolean"
20300
21454
  },
20301
- "client-secret": {
20302
- "description": "Client Secret for OAuth",
20303
- "env": "SFCC_CLIENT_SECRET",
20304
- "helpGroup": "AUTH",
20305
- "name": "client-secret",
21455
+ "log-level": {
21456
+ "description": "Set logging verbosity level",
21457
+ "env": "SFCC_LOG_LEVEL",
21458
+ "helpGroup": "GLOBAL",
21459
+ "name": "log-level",
20306
21460
  "hasDynamicHelp": false,
20307
21461
  "multiple": false,
21462
+ "options": [
21463
+ "trace",
21464
+ "debug",
21465
+ "info",
21466
+ "warn",
21467
+ "error",
21468
+ "silent"
21469
+ ],
20308
21470
  "type": "option"
20309
21471
  },
20310
- "auth-scope": {
20311
- "description": "OAuth scopes to request (comma-separated)",
20312
- "env": "SFCC_OAUTH_SCOPES",
20313
- "helpGroup": "AUTH",
20314
- "name": "auth-scope",
20315
- "delimiter": ",",
21472
+ "debug": {
21473
+ "char": "D",
21474
+ "description": "Enable debug logging (shorthand for --log-level debug)",
21475
+ "env": "SFCC_DEBUG",
21476
+ "helpGroup": "GLOBAL",
21477
+ "name": "debug",
21478
+ "allowNo": false,
21479
+ "type": "boolean"
21480
+ },
21481
+ "jsonl": {
21482
+ "aliases": [
21483
+ "json-logs"
21484
+ ],
21485
+ "description": "Output log messages as JSON lines",
21486
+ "env": "SFCC_JSON_LOGS",
21487
+ "helpGroup": "GLOBAL",
21488
+ "name": "jsonl",
21489
+ "allowNo": false,
21490
+ "type": "boolean"
21491
+ },
21492
+ "lang": {
21493
+ "char": "L",
21494
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
21495
+ "helpGroup": "GLOBAL",
21496
+ "name": "lang",
20316
21497
  "hasDynamicHelp": false,
20317
- "multiple": true,
21498
+ "multiple": false,
20318
21499
  "type": "option"
20319
21500
  },
20320
- "short-code": {
20321
- "description": "SCAPI short code",
20322
- "env": "SFCC_SHORTCODE",
20323
- "helpGroup": "AUTH",
20324
- "name": "short-code",
21501
+ "config": {
21502
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
21503
+ "env": "SFCC_CONFIG",
21504
+ "helpGroup": "GLOBAL",
21505
+ "name": "config",
20325
21506
  "hasDynamicHelp": false,
20326
21507
  "multiple": false,
20327
21508
  "type": "option"
20328
21509
  },
20329
- "tenant-id": {
20330
- "aliases": [
20331
- "tenant"
20332
- ],
20333
- "description": "Organization/tenant ID",
20334
- "env": "SFCC_TENANT_ID",
20335
- "helpGroup": "AUTH",
20336
- "name": "tenant-id",
21510
+ "instance": {
21511
+ "char": "i",
21512
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
21513
+ "env": "SFCC_INSTANCE",
21514
+ "helpGroup": "GLOBAL",
21515
+ "name": "instance",
20337
21516
  "hasDynamicHelp": false,
20338
21517
  "multiple": false,
20339
21518
  "type": "option"
20340
21519
  },
20341
- "auth-methods": {
20342
- "description": "Allowed auth methods in priority order (comma-separated)",
20343
- "env": "SFCC_AUTH_METHODS",
20344
- "exclusive": [
20345
- "user-auth"
21520
+ "project-directory": {
21521
+ "aliases": [
21522
+ "working-directory"
20346
21523
  ],
20347
- "helpGroup": "AUTH",
20348
- "name": "auth-methods",
20349
- "delimiter": ",",
21524
+ "description": "Project directory",
21525
+ "env": "SFCC_PROJECT_DIRECTORY",
21526
+ "helpGroup": "GLOBAL",
21527
+ "name": "project-directory",
20350
21528
  "hasDynamicHelp": false,
20351
- "multiple": true,
20352
- "options": [
20353
- "client-credentials",
20354
- "implicit",
20355
- "basic",
20356
- "api-key"
20357
- ],
21529
+ "multiple": false,
20358
21530
  "type": "option"
20359
21531
  },
20360
- "user-auth": {
20361
- "description": "Use browser-based user authentication (implicit OAuth flow)",
20362
- "exclusive": [
20363
- "auth-methods"
20364
- ],
20365
- "helpGroup": "AUTH",
20366
- "name": "user-auth",
20367
- "allowNo": false,
20368
- "type": "boolean"
20369
- },
20370
- "account-manager-host": {
20371
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
20372
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
20373
- "helpGroup": "AUTH",
20374
- "name": "account-manager-host",
21532
+ "extra-query": {
21533
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
21534
+ "env": "SFCC_EXTRA_QUERY",
21535
+ "helpGroup": "GLOBAL",
21536
+ "hidden": true,
21537
+ "name": "extra-query",
20375
21538
  "hasDynamicHelp": false,
20376
21539
  "multiple": false,
20377
21540
  "type": "option"
20378
21541
  },
20379
- "first-name": {
20380
- "description": "First name",
20381
- "name": "first-name",
21542
+ "extra-body": {
21543
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
21544
+ "env": "SFCC_EXTRA_BODY",
21545
+ "helpGroup": "GLOBAL",
21546
+ "hidden": true,
21547
+ "name": "extra-body",
20382
21548
  "hasDynamicHelp": false,
20383
21549
  "multiple": false,
20384
21550
  "type": "option"
20385
21551
  },
20386
- "last-name": {
20387
- "description": "Last name",
20388
- "name": "last-name",
21552
+ "extra-headers": {
21553
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
21554
+ "env": "SFCC_EXTRA_HEADERS",
21555
+ "helpGroup": "GLOBAL",
21556
+ "hidden": true,
21557
+ "name": "extra-headers",
20389
21558
  "hasDynamicHelp": false,
20390
21559
  "multiple": false,
20391
21560
  "type": "option"
20392
21561
  }
20393
21562
  },
20394
21563
  "hasDynamicHelp": false,
20395
- "hiddenAliases": [],
20396
- "id": "am:users:update",
21564
+ "hiddenAliases": [
21565
+ "client:auth:token"
21566
+ ],
21567
+ "id": "auth:client:token",
20397
21568
  "pluginAlias": "@salesforce/b2c-cli",
20398
21569
  "pluginName": "@salesforce/b2c-cli",
20399
21570
  "pluginType": "core",
@@ -20403,9 +21574,9 @@
20403
21574
  "relativePath": [
20404
21575
  "dist",
20405
21576
  "commands",
20406
- "am",
20407
- "users",
20408
- "update.js"
21577
+ "auth",
21578
+ "client",
21579
+ "token.js"
20409
21580
  ]
20410
21581
  },
20411
21582
  "cip:report:customer-registration-trends": {
@@ -20644,7 +21815,7 @@
20644
21815
  "description": "Inclusive end date (YYYY-MM-DD)",
20645
21816
  "helpGroup": "QUERY",
20646
21817
  "name": "to",
20647
- "default": "2026-03-16",
21818
+ "default": "2026-03-19",
20648
21819
  "hasDynamicHelp": false,
20649
21820
  "multiple": false,
20650
21821
  "type": "option"
@@ -20975,7 +22146,7 @@
20975
22146
  "description": "Inclusive end date (YYYY-MM-DD)",
20976
22147
  "helpGroup": "QUERY",
20977
22148
  "name": "to",
20978
- "default": "2026-03-16",
22149
+ "default": "2026-03-19",
20979
22150
  "hasDynamicHelp": false,
20980
22151
  "multiple": false,
20981
22152
  "type": "option"
@@ -21306,7 +22477,7 @@
21306
22477
  "description": "Inclusive end date (YYYY-MM-DD)",
21307
22478
  "helpGroup": "QUERY",
21308
22479
  "name": "to",
21309
- "default": "2026-03-16",
22480
+ "default": "2026-03-19",
21310
22481
  "hasDynamicHelp": false,
21311
22482
  "multiple": false,
21312
22483
  "type": "option"
@@ -21637,7 +22808,7 @@
21637
22808
  "description": "Inclusive end date (YYYY-MM-DD)",
21638
22809
  "helpGroup": "QUERY",
21639
22810
  "name": "to",
21640
- "default": "2026-03-16",
22811
+ "default": "2026-03-19",
21641
22812
  "hasDynamicHelp": false,
21642
22813
  "multiple": false,
21643
22814
  "type": "option"
@@ -21968,7 +23139,7 @@
21968
23139
  "description": "Inclusive end date (YYYY-MM-DD)",
21969
23140
  "helpGroup": "QUERY",
21970
23141
  "name": "to",
21971
- "default": "2026-03-16",
23142
+ "default": "2026-03-19",
21972
23143
  "hasDynamicHelp": false,
21973
23144
  "multiple": false,
21974
23145
  "type": "option"
@@ -22290,7 +23461,7 @@
22290
23461
  "description": "Inclusive end date (YYYY-MM-DD)",
22291
23462
  "helpGroup": "QUERY",
22292
23463
  "name": "to",
22293
- "default": "2026-03-16",
23464
+ "default": "2026-03-19",
22294
23465
  "hasDynamicHelp": false,
22295
23466
  "multiple": false,
22296
23467
  "type": "option"
@@ -22621,7 +23792,7 @@
22621
23792
  "description": "Inclusive end date (YYYY-MM-DD)",
22622
23793
  "helpGroup": "QUERY",
22623
23794
  "name": "to",
22624
- "default": "2026-03-16",
23795
+ "default": "2026-03-19",
22625
23796
  "hasDynamicHelp": false,
22626
23797
  "multiple": false,
22627
23798
  "type": "option"
@@ -22952,7 +24123,7 @@
22952
24123
  "description": "Inclusive end date (YYYY-MM-DD)",
22953
24124
  "helpGroup": "QUERY",
22954
24125
  "name": "to",
22955
- "default": "2026-03-16",
24126
+ "default": "2026-03-19",
22956
24127
  "hasDynamicHelp": false,
22957
24128
  "multiple": false,
22958
24129
  "type": "option"
@@ -23296,7 +24467,7 @@
23296
24467
  "description": "Inclusive end date (YYYY-MM-DD)",
23297
24468
  "helpGroup": "QUERY",
23298
24469
  "name": "to",
23299
- "default": "2026-03-16",
24470
+ "default": "2026-03-19",
23300
24471
  "hasDynamicHelp": false,
23301
24472
  "multiple": false,
23302
24473
  "type": "option"
@@ -23636,7 +24807,7 @@
23636
24807
  "description": "Inclusive end date (YYYY-MM-DD)",
23637
24808
  "helpGroup": "QUERY",
23638
24809
  "name": "to",
23639
- "default": "2026-03-16",
24810
+ "default": "2026-03-19",
23640
24811
  "hasDynamicHelp": false,
23641
24812
  "multiple": false,
23642
24813
  "type": "option"
@@ -51961,5 +53132,5 @@
51961
53132
  ]
51962
53133
  }
51963
53134
  },
51964
- "version": "0.7.4"
53135
+ "version": "0.9.0"
51965
53136
  }