@salesforce/b2c-cli 0.5.5 → 0.5.6

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.
@@ -607,7 +607,7 @@
607
607
  "description": "Inclusive end date (YYYY-MM-DD)",
608
608
  "helpGroup": "QUERY",
609
609
  "name": "to",
610
- "default": "2026-03-02",
610
+ "default": "2026-03-05",
611
611
  "hasDynamicHelp": false,
612
612
  "multiple": false,
613
613
  "type": "option"
@@ -903,7 +903,7 @@
903
903
  "description": "Inclusive end date (YYYY-MM-DD)",
904
904
  "helpGroup": "QUERY",
905
905
  "name": "to",
906
- "default": "2026-03-02",
906
+ "default": "2026-03-05",
907
907
  "hasDynamicHelp": false,
908
908
  "multiple": false,
909
909
  "type": "option"
@@ -1334,7 +1334,7 @@
1334
1334
  "description": "Inclusive end date (YYYY-MM-DD)",
1335
1335
  "helpGroup": "QUERY",
1336
1336
  "name": "to",
1337
- "default": "2026-03-02",
1337
+ "default": "2026-03-05",
1338
1338
  "hasDynamicHelp": false,
1339
1339
  "multiple": false,
1340
1340
  "type": "option"
@@ -8462,7 +8462,8 @@
8462
8462
  "examples": [
8463
8463
  "<%= config.bin %> <%= command.id %> abc12345-1234-1234-1234-abc123456789",
8464
8464
  "<%= config.bin %> <%= command.id %> zzzv-123",
8465
- "<%= config.bin %> <%= command.id %> zzzv_123 --json"
8465
+ "<%= config.bin %> <%= command.id %> zzzv_123 --json",
8466
+ "<%= config.bin %> <%= command.id %> zzzv_123 --clone-details"
8466
8467
  ],
8467
8468
  "flags": {
8468
8469
  "json": {
@@ -8673,6 +8674,12 @@
8673
8674
  "hasDynamicHelp": false,
8674
8675
  "multiple": false,
8675
8676
  "type": "option"
8677
+ },
8678
+ "clone-details": {
8679
+ "description": "Include detailed clone information if the sandbox was created by cloning",
8680
+ "name": "clone-details",
8681
+ "allowNo": false,
8682
+ "type": "boolean"
8676
8683
  }
8677
8684
  },
8678
8685
  "hasDynamicHelp": false,
@@ -9424,7 +9431,7 @@
9424
9431
  },
9425
9432
  "columns": {
9426
9433
  "char": "c",
9427
- "description": "Columns to display (comma-separated). Available: realm, instance, state, profile, created, eol, id, hostname, createdBy, autoScheduled",
9434
+ "description": "Columns to display (comma-separated). Available: realm, instance, state, profile, created, eol, id, hostname, createdBy, autoScheduled, isCloned",
9428
9435
  "name": "columns",
9429
9436
  "hasDynamicHelp": false,
9430
9437
  "multiple": false,
@@ -20084,7 +20091,7 @@
20084
20091
  "description": "Inclusive end date (YYYY-MM-DD)",
20085
20092
  "helpGroup": "QUERY",
20086
20093
  "name": "to",
20087
- "default": "2026-03-02",
20094
+ "default": "2026-03-05",
20088
20095
  "hasDynamicHelp": false,
20089
20096
  "multiple": false,
20090
20097
  "type": "option"
@@ -20415,7 +20422,7 @@
20415
20422
  "description": "Inclusive end date (YYYY-MM-DD)",
20416
20423
  "helpGroup": "QUERY",
20417
20424
  "name": "to",
20418
- "default": "2026-03-02",
20425
+ "default": "2026-03-05",
20419
20426
  "hasDynamicHelp": false,
20420
20427
  "multiple": false,
20421
20428
  "type": "option"
@@ -20746,7 +20753,7 @@
20746
20753
  "description": "Inclusive end date (YYYY-MM-DD)",
20747
20754
  "helpGroup": "QUERY",
20748
20755
  "name": "to",
20749
- "default": "2026-03-02",
20756
+ "default": "2026-03-05",
20750
20757
  "hasDynamicHelp": false,
20751
20758
  "multiple": false,
20752
20759
  "type": "option"
@@ -21077,7 +21084,7 @@
21077
21084
  "description": "Inclusive end date (YYYY-MM-DD)",
21078
21085
  "helpGroup": "QUERY",
21079
21086
  "name": "to",
21080
- "default": "2026-03-02",
21087
+ "default": "2026-03-05",
21081
21088
  "hasDynamicHelp": false,
21082
21089
  "multiple": false,
21083
21090
  "type": "option"
@@ -21408,7 +21415,7 @@
21408
21415
  "description": "Inclusive end date (YYYY-MM-DD)",
21409
21416
  "helpGroup": "QUERY",
21410
21417
  "name": "to",
21411
- "default": "2026-03-02",
21418
+ "default": "2026-03-05",
21412
21419
  "hasDynamicHelp": false,
21413
21420
  "multiple": false,
21414
21421
  "type": "option"
@@ -21730,7 +21737,7 @@
21730
21737
  "description": "Inclusive end date (YYYY-MM-DD)",
21731
21738
  "helpGroup": "QUERY",
21732
21739
  "name": "to",
21733
- "default": "2026-03-02",
21740
+ "default": "2026-03-05",
21734
21741
  "hasDynamicHelp": false,
21735
21742
  "multiple": false,
21736
21743
  "type": "option"
@@ -22061,7 +22068,7 @@
22061
22068
  "description": "Inclusive end date (YYYY-MM-DD)",
22062
22069
  "helpGroup": "QUERY",
22063
22070
  "name": "to",
22064
- "default": "2026-03-02",
22071
+ "default": "2026-03-05",
22065
22072
  "hasDynamicHelp": false,
22066
22073
  "multiple": false,
22067
22074
  "type": "option"
@@ -22392,7 +22399,7 @@
22392
22399
  "description": "Inclusive end date (YYYY-MM-DD)",
22393
22400
  "helpGroup": "QUERY",
22394
22401
  "name": "to",
22395
- "default": "2026-03-02",
22402
+ "default": "2026-03-05",
22396
22403
  "hasDynamicHelp": false,
22397
22404
  "multiple": false,
22398
22405
  "type": "option"
@@ -22736,7 +22743,7 @@
22736
22743
  "description": "Inclusive end date (YYYY-MM-DD)",
22737
22744
  "helpGroup": "QUERY",
22738
22745
  "name": "to",
22739
- "default": "2026-03-02",
22746
+ "default": "2026-03-05",
22740
22747
  "hasDynamicHelp": false,
22741
22748
  "multiple": false,
22742
22749
  "type": "option"
@@ -23076,7 +23083,7 @@
23076
23083
  "description": "Inclusive end date (YYYY-MM-DD)",
23077
23084
  "helpGroup": "QUERY",
23078
23085
  "name": "to",
23079
- "default": "2026-03-02",
23086
+ "default": "2026-03-05",
23080
23087
  "hasDynamicHelp": false,
23081
23088
  "multiple": false,
23082
23089
  "type": "option"
@@ -35189,22 +35196,23 @@
35189
35196
  "list.js"
35190
35197
  ]
35191
35198
  },
35192
- "sandbox:realm:get": {
35199
+ "sandbox:clone:create": {
35193
35200
  "aliases": [
35194
- "ods:realm:get",
35195
- "realm:get"
35201
+ "ods:clone:create"
35196
35202
  ],
35197
35203
  "args": {
35198
- "realm": {
35199
- "description": "Realm ID (four-letter ID)",
35200
- "name": "realm",
35204
+ "sandboxId": {
35205
+ "description": "Sandbox ID (UUID or friendly format like realm-instance) to clone from",
35206
+ "name": "sandboxId",
35201
35207
  "required": true
35202
35208
  }
35203
35209
  },
35204
- "description": "Get details of a specific realm\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-get",
35210
+ "description": "Create a new sandbox clone from an existing sandbox",
35205
35211
  "examples": [
35206
- "<%= config.bin %> <%= command.id %> zzzz",
35207
- "<%= config.bin %> <%= command.id %> zzzz --json"
35212
+ "<%= config.bin %> <%= command.id %> <sandboxId>",
35213
+ "<%= config.bin %> <%= command.id %> <sandboxId> --target-profile large",
35214
+ "<%= config.bin %> <%= command.id %> <sandboxId> --ttl 48",
35215
+ "<%= config.bin %> <%= command.id %> <sandboxId> --target-profile large --ttl 48 --emails dev@example.com,qa@example.com"
35208
35216
  ],
35209
35217
  "flags": {
35210
35218
  "json": {
@@ -35415,11 +35423,42 @@
35415
35423
  "hasDynamicHelp": false,
35416
35424
  "multiple": false,
35417
35425
  "type": "option"
35426
+ },
35427
+ "target-profile": {
35428
+ "description": "Resource profile for the cloned sandbox (defaults to source sandbox profile)",
35429
+ "name": "target-profile",
35430
+ "required": false,
35431
+ "hasDynamicHelp": false,
35432
+ "multiple": false,
35433
+ "options": [
35434
+ "medium",
35435
+ "large",
35436
+ "xlarge",
35437
+ "xxlarge"
35438
+ ],
35439
+ "type": "option"
35440
+ },
35441
+ "emails": {
35442
+ "description": "Comma-separated list of notification email addresses",
35443
+ "name": "emails",
35444
+ "required": false,
35445
+ "hasDynamicHelp": false,
35446
+ "multiple": true,
35447
+ "type": "option"
35448
+ },
35449
+ "ttl": {
35450
+ "description": "Time to live in hours (0 or negative = infinite, minimum 24 hours). Values between 1-23 are not allowed.",
35451
+ "name": "ttl",
35452
+ "required": false,
35453
+ "default": 24,
35454
+ "hasDynamicHelp": false,
35455
+ "multiple": false,
35456
+ "type": "option"
35418
35457
  }
35419
35458
  },
35420
35459
  "hasDynamicHelp": false,
35421
35460
  "hiddenAliases": [],
35422
- "id": "sandbox:realm:get",
35461
+ "id": "sandbox:clone:create",
35423
35462
  "pluginAlias": "@salesforce/b2c-cli",
35424
35463
  "pluginName": "@salesforce/b2c-cli",
35425
35464
  "pluginType": "core",
@@ -35430,27 +35469,30 @@
35430
35469
  "dist",
35431
35470
  "commands",
35432
35471
  "sandbox",
35433
- "realm",
35434
- "get.js"
35472
+ "clone",
35473
+ "create.js"
35435
35474
  ]
35436
35475
  },
35437
- "sandbox:realm:list": {
35476
+ "sandbox:clone:get": {
35438
35477
  "aliases": [
35439
- "ods:realm:list",
35440
- "realm:list"
35478
+ "ods:clone:get"
35441
35479
  ],
35442
35480
  "args": {
35443
- "realm": {
35444
- "description": "Specific realm ID (four-letter ID) to get details for",
35445
- "name": "realm",
35446
- "required": false
35481
+ "sandboxId": {
35482
+ "description": "Sandbox ID (UUID or friendly format like realm-instance)",
35483
+ "name": "sandboxId",
35484
+ "required": true
35485
+ },
35486
+ "cloneId": {
35487
+ "description": "Clone ID in format realm-instance-timestamp (e.g., aaaa-002-1642780893121)",
35488
+ "name": "cloneId",
35489
+ "required": true
35447
35490
  }
35448
35491
  },
35449
- "description": "List realms eligible for sandbox management\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-list",
35492
+ "description": "Get detailed information about a specific sandbox clone",
35450
35493
  "examples": [
35451
- "<%= config.bin %> <%= command.id %>",
35452
- "<%= config.bin %> <%= command.id %> --json",
35453
- "<%= config.bin %> <%= command.id %> zzzz"
35494
+ "<%= config.bin %> <%= command.id %> <sandboxId> <cloneId>",
35495
+ "<%= config.bin %> <%= command.id %> abcd-123 aaaa-002-1642780893121"
35454
35496
  ],
35455
35497
  "flags": {
35456
35498
  "json": {
@@ -35665,7 +35707,7 @@
35665
35707
  },
35666
35708
  "hasDynamicHelp": false,
35667
35709
  "hiddenAliases": [],
35668
- "id": "sandbox:realm:list",
35710
+ "id": "sandbox:clone:get",
35669
35711
  "pluginAlias": "@salesforce/b2c-cli",
35670
35712
  "pluginName": "@salesforce/b2c-cli",
35671
35713
  "pluginType": "core",
@@ -35676,28 +35718,27 @@
35676
35718
  "dist",
35677
35719
  "commands",
35678
35720
  "sandbox",
35679
- "realm",
35680
- "list.js"
35721
+ "clone",
35722
+ "get.js"
35681
35723
  ]
35682
35724
  },
35683
- "sandbox:realm:update": {
35725
+ "sandbox:clone:list": {
35684
35726
  "aliases": [
35685
- "ods:realm:update",
35686
- "realm:update"
35727
+ "ods:clone:list"
35687
35728
  ],
35688
35729
  "args": {
35689
- "realm": {
35690
- "description": "Realm ID (four-letter ID) to update",
35691
- "name": "realm",
35730
+ "sandboxId": {
35731
+ "description": "Sandbox ID (UUID or friendly format like realm-instance)",
35732
+ "name": "sandboxId",
35692
35733
  "required": true
35693
35734
  }
35694
35735
  },
35695
- "description": "Update realm configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-update",
35736
+ "description": "List all clones for a specific sandbox",
35696
35737
  "examples": [
35697
- "<%= config.bin %> <%= command.id %> zzzz --max-sandbox-ttl 72",
35698
- "<%= config.bin %> <%= command.id %> zzzz --default-sandbox-ttl 24",
35699
- "<%= config.bin %> <%= command.id %> zzzz --start-scheduler '{\"weekdays\":[\"MONDAY\"],\"time\":\"08:00:00Z\"}'",
35700
- "<%= config.bin %> <%= command.id %> zzzz --stop-scheduler \"null\""
35738
+ "<%= config.bin %> <%= command.id %> <sandboxId>",
35739
+ "<%= config.bin %> <%= command.id %> <sandboxId> --status COMPLETED",
35740
+ "<%= config.bin %> <%= command.id %> <sandboxId> --from 2024-01-01 --to 2024-12-31",
35741
+ "<%= config.bin %> <%= command.id %> <sandboxId> --extended"
35701
35742
  ],
35702
35743
  "flags": {
35703
35744
  "json": {
@@ -35909,38 +35950,55 @@
35909
35950
  "multiple": false,
35910
35951
  "type": "option"
35911
35952
  },
35912
- "max-sandbox-ttl": {
35913
- "description": "Maximum sandbox TTL in hours (0 for unlimited, subject to quotas)",
35914
- "name": "max-sandbox-ttl",
35953
+ "from": {
35954
+ "description": "Filter clones created on or after this date (ISO 8601 date format, e.g., 2024-01-01)",
35955
+ "name": "from",
35956
+ "required": false,
35915
35957
  "hasDynamicHelp": false,
35916
35958
  "multiple": false,
35917
35959
  "type": "option"
35918
35960
  },
35919
- "default-sandbox-ttl": {
35920
- "description": "Default sandbox TTL in hours when no TTL is specified at creation",
35921
- "name": "default-sandbox-ttl",
35961
+ "to": {
35962
+ "description": "Filter clones created on or before this date (ISO 8601 date format, e.g., 2024-12-31)",
35963
+ "name": "to",
35964
+ "required": false,
35922
35965
  "hasDynamicHelp": false,
35923
35966
  "multiple": false,
35924
35967
  "type": "option"
35925
35968
  },
35926
- "start-scheduler": {
35927
- "description": "Start schedule JSON for sandboxes in this realm (use \"null\" to remove). Format: {\"weekdays\":[...],\"time\":\"...\"}",
35928
- "name": "start-scheduler",
35969
+ "status": {
35970
+ "description": "Filter clones by status",
35971
+ "name": "status",
35972
+ "required": false,
35929
35973
  "hasDynamicHelp": false,
35930
35974
  "multiple": false,
35975
+ "options": [
35976
+ "Pending",
35977
+ "InProgress",
35978
+ "Failed",
35979
+ "Completed"
35980
+ ],
35931
35981
  "type": "option"
35932
35982
  },
35933
- "stop-scheduler": {
35934
- "description": "Stop schedule JSON for sandboxes in this realm (use \"null\" to remove). Format: {\"weekdays\":[...],\"time\":\"...\"}",
35935
- "name": "stop-scheduler",
35983
+ "columns": {
35984
+ "char": "c",
35985
+ "description": "Columns to display (comma-separated). Available: cloneId, sourceInstance, targetInstance, status, progressPercentage, createdAt, lastUpdated, elapsedTimeInSec, customCodeVersion",
35986
+ "name": "columns",
35936
35987
  "hasDynamicHelp": false,
35937
35988
  "multiple": false,
35938
35989
  "type": "option"
35990
+ },
35991
+ "extended": {
35992
+ "char": "x",
35993
+ "description": "Show all columns",
35994
+ "name": "extended",
35995
+ "allowNo": false,
35996
+ "type": "boolean"
35939
35997
  }
35940
35998
  },
35941
35999
  "hasDynamicHelp": false,
35942
36000
  "hiddenAliases": [],
35943
- "id": "sandbox:realm:update",
36001
+ "id": "sandbox:clone:list",
35944
36002
  "pluginAlias": "@salesforce/b2c-cli",
35945
36003
  "pluginName": "@salesforce/b2c-cli",
35946
36004
  "pluginType": "core",
@@ -35951,14 +36009,14 @@
35951
36009
  "dist",
35952
36010
  "commands",
35953
36011
  "sandbox",
35954
- "realm",
35955
- "update.js"
36012
+ "clone",
36013
+ "list.js"
35956
36014
  ]
35957
36015
  },
35958
- "sandbox:realm:usage": {
36016
+ "sandbox:realm:get": {
35959
36017
  "aliases": [
35960
- "ods:realm:usage",
35961
- "realm:usage"
36018
+ "ods:realm:get",
36019
+ "realm:get"
35962
36020
  ],
35963
36021
  "args": {
35964
36022
  "realm": {
@@ -35967,12 +36025,10 @@
35967
36025
  "required": true
35968
36026
  }
35969
36027
  },
35970
- "description": "Show usage information for a realm\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-usage",
36028
+ "description": "Get details of a specific realm\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-get",
35971
36029
  "examples": [
35972
36030
  "<%= config.bin %> <%= command.id %> zzzz",
35973
- "<%= config.bin %> <%= command.id %> zzzz --from 2026-02-08 --to 2026-02-11",
35974
- "<%= config.bin %> <%= command.id %> zzzz --granularity daily",
35975
- "<%= config.bin %> <%= command.id %> zzzz --detailed-report --json"
36031
+ "<%= config.bin %> <%= command.id %> zzzz --json"
35976
36032
  ],
35977
36033
  "flags": {
35978
36034
  "json": {
@@ -36183,38 +36239,11 @@
36183
36239
  "hasDynamicHelp": false,
36184
36240
  "multiple": false,
36185
36241
  "type": "option"
36186
- },
36187
- "from": {
36188
- "description": "Earliest date to include in usage (ISO 8601, defaults to 30 days in the past if omitted by the API)",
36189
- "name": "from",
36190
- "hasDynamicHelp": false,
36191
- "multiple": false,
36192
- "type": "option"
36193
- },
36194
- "to": {
36195
- "description": "Latest date to include in usage (ISO 8601, defaults to today if omitted by the API)",
36196
- "name": "to",
36197
- "hasDynamicHelp": false,
36198
- "multiple": false,
36199
- "type": "option"
36200
- },
36201
- "granularity": {
36202
- "description": "Granularity of usage data (daily, weekly, monthly)",
36203
- "name": "granularity",
36204
- "hasDynamicHelp": false,
36205
- "multiple": false,
36206
- "type": "option"
36207
- },
36208
- "detailed-report": {
36209
- "description": "Include detailed usage information in the response",
36210
- "name": "detailed-report",
36211
- "allowNo": false,
36212
- "type": "boolean"
36213
36242
  }
36214
36243
  },
36215
36244
  "hasDynamicHelp": false,
36216
36245
  "hiddenAliases": [],
36217
- "id": "sandbox:realm:usage",
36246
+ "id": "sandbox:realm:get",
36218
36247
  "pluginAlias": "@salesforce/b2c-cli",
36219
36248
  "pluginName": "@salesforce/b2c-cli",
36220
36249
  "pluginType": "core",
@@ -36226,21 +36255,26 @@
36226
36255
  "commands",
36227
36256
  "sandbox",
36228
36257
  "realm",
36229
- "usage.js"
36258
+ "get.js"
36230
36259
  ]
36231
36260
  },
36232
- "scapi:custom:status": {
36233
- "aliases": [],
36234
- "args": {},
36235
- "description": "Get the status of Custom API endpoints\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/custom-apis.html#b2c-scapi-custom-status",
36261
+ "sandbox:realm:list": {
36262
+ "aliases": [
36263
+ "ods:realm:list",
36264
+ "realm:list"
36265
+ ],
36266
+ "args": {
36267
+ "realm": {
36268
+ "description": "Specific realm ID (four-letter ID) to get details for",
36269
+ "name": "realm",
36270
+ "required": false
36271
+ }
36272
+ },
36273
+ "description": "List realms eligible for sandbox management\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-list",
36236
36274
  "examples": [
36237
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
36238
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status active",
36239
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by type",
36240
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by site",
36241
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
36242
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --columns type,apiName,status,sites",
36243
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
36275
+ "<%= config.bin %> <%= command.id %>",
36276
+ "<%= config.bin %> <%= command.id %> --json",
36277
+ "<%= config.bin %> <%= command.id %> zzzz"
36244
36278
  ],
36245
36279
  "flags": {
36246
36280
  "json": {
@@ -36444,49 +36478,18 @@
36444
36478
  "multiple": false,
36445
36479
  "type": "option"
36446
36480
  },
36447
- "status": {
36448
- "char": "s",
36449
- "description": "Filter by endpoint status",
36450
- "name": "status",
36451
- "hasDynamicHelp": false,
36452
- "multiple": false,
36453
- "options": [
36454
- "active",
36455
- "not_registered"
36456
- ],
36457
- "type": "option"
36458
- },
36459
- "group-by": {
36460
- "char": "g",
36461
- "description": "Group output by field (type or site)",
36462
- "name": "group-by",
36463
- "hasDynamicHelp": false,
36464
- "multiple": false,
36465
- "options": [
36466
- "type",
36467
- "site"
36468
- ],
36469
- "type": "option"
36470
- },
36471
- "columns": {
36472
- "char": "c",
36473
- "description": "Columns to display (comma-separated). Available: type, apiName, apiVersion, cartridgeName, endpointPath, httpMethod, status, sites, securityScheme, operationId, schemaFile, implementationScript, errorReason, id",
36474
- "name": "columns",
36481
+ "sandbox-api-host": {
36482
+ "description": "ODS API hostname (default: admin.dx.commercecloud.salesforce.com)",
36483
+ "env": "SFCC_SANDBOX_API_HOST",
36484
+ "name": "sandbox-api-host",
36475
36485
  "hasDynamicHelp": false,
36476
36486
  "multiple": false,
36477
36487
  "type": "option"
36478
- },
36479
- "extended": {
36480
- "char": "x",
36481
- "description": "Show all columns including extended fields",
36482
- "name": "extended",
36483
- "allowNo": false,
36484
- "type": "boolean"
36485
36488
  }
36486
36489
  },
36487
36490
  "hasDynamicHelp": false,
36488
36491
  "hiddenAliases": [],
36489
- "id": "scapi:custom:status",
36492
+ "id": "sandbox:realm:list",
36490
36493
  "pluginAlias": "@salesforce/b2c-cli",
36491
36494
  "pluginName": "@salesforce/b2c-cli",
36492
36495
  "pluginType": "core",
@@ -36496,40 +36499,29 @@
36496
36499
  "relativePath": [
36497
36500
  "dist",
36498
36501
  "commands",
36499
- "scapi",
36500
- "custom",
36501
- "status.js"
36502
+ "sandbox",
36503
+ "realm",
36504
+ "list.js"
36502
36505
  ]
36503
36506
  },
36504
- "scapi:schemas:get": {
36505
- "aliases": [],
36507
+ "sandbox:realm:update": {
36508
+ "aliases": [
36509
+ "ods:realm:update",
36510
+ "realm:update"
36511
+ ],
36506
36512
  "args": {
36507
- "apiFamily": {
36508
- "description": "API family (e.g., product, checkout, search)",
36509
- "name": "apiFamily",
36510
- "required": true
36511
- },
36512
- "apiName": {
36513
- "description": "API name (e.g., shopper-products, shopper-baskets)",
36514
- "name": "apiName",
36515
- "required": true
36516
- },
36517
- "apiVersion": {
36518
- "description": "API version (e.g., v1)",
36519
- "name": "apiVersion",
36513
+ "realm": {
36514
+ "description": "Realm ID (four-letter ID) to update",
36515
+ "name": "realm",
36520
36516
  "required": true
36521
36517
  }
36522
36518
  },
36523
- "description": "Get a specific SCAPI schema with optional selective expansion\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/scapi-schemas.html#b2c-scapi-schemas-get",
36519
+ "description": "Update realm configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-update",
36524
36520
  "examples": [
36525
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd",
36526
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-all",
36527
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-paths /products",
36528
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-schemas Product,ProductResult",
36529
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --list-paths",
36530
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --list-schemas",
36531
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --yaml",
36532
- "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --json"
36521
+ "<%= config.bin %> <%= command.id %> zzzz --max-sandbox-ttl 72",
36522
+ "<%= config.bin %> <%= command.id %> zzzz --default-sandbox-ttl 24",
36523
+ "<%= config.bin %> <%= command.id %> zzzz --start-scheduler '{\"weekdays\":[\"MONDAY\"],\"time\":\"08:00:00Z\"}'",
36524
+ "<%= config.bin %> <%= command.id %> zzzz --stop-scheduler \"null\""
36533
36525
  ],
36534
36526
  "flags": {
36535
36527
  "json": {
@@ -36733,79 +36725,46 @@
36733
36725
  "multiple": false,
36734
36726
  "type": "option"
36735
36727
  },
36736
- "expand-paths": {
36737
- "description": "Paths to fully expand (comma-separated, e.g., /products,/orders)",
36738
- "name": "expand-paths",
36728
+ "sandbox-api-host": {
36729
+ "description": "ODS API hostname (default: admin.dx.commercecloud.salesforce.com)",
36730
+ "env": "SFCC_SANDBOX_API_HOST",
36731
+ "name": "sandbox-api-host",
36739
36732
  "hasDynamicHelp": false,
36740
36733
  "multiple": false,
36741
36734
  "type": "option"
36742
36735
  },
36743
- "expand-schemas": {
36744
- "description": "Schema names to fully expand (comma-separated)",
36745
- "name": "expand-schemas",
36736
+ "max-sandbox-ttl": {
36737
+ "description": "Maximum sandbox TTL in hours (0 for unlimited, subject to quotas)",
36738
+ "name": "max-sandbox-ttl",
36746
36739
  "hasDynamicHelp": false,
36747
36740
  "multiple": false,
36748
36741
  "type": "option"
36749
36742
  },
36750
- "expand-examples": {
36751
- "description": "Example names to fully expand (comma-separated)",
36752
- "name": "expand-examples",
36743
+ "default-sandbox-ttl": {
36744
+ "description": "Default sandbox TTL in hours when no TTL is specified at creation",
36745
+ "name": "default-sandbox-ttl",
36753
36746
  "hasDynamicHelp": false,
36754
36747
  "multiple": false,
36755
36748
  "type": "option"
36756
36749
  },
36757
- "expand-custom-properties": {
36758
- "description": "Expand custom properties",
36759
- "name": "expand-custom-properties",
36760
- "allowNo": true,
36761
- "type": "boolean"
36762
- },
36763
- "expand-all": {
36764
- "description": "Return full schema without collapsing (overrides selective expand)",
36765
- "name": "expand-all",
36766
- "allowNo": false,
36767
- "type": "boolean"
36768
- },
36769
- "list-paths": {
36770
- "description": "List available paths in the schema and exit",
36771
- "exclusive": [
36772
- "list-schemas",
36773
- "list-examples"
36774
- ],
36775
- "name": "list-paths",
36776
- "allowNo": false,
36777
- "type": "boolean"
36778
- },
36779
- "list-schemas": {
36780
- "description": "List available schema names and exit",
36781
- "exclusive": [
36782
- "list-paths",
36783
- "list-examples"
36784
- ],
36785
- "name": "list-schemas",
36786
- "allowNo": false,
36787
- "type": "boolean"
36788
- },
36789
- "list-examples": {
36790
- "description": "List available example names and exit",
36791
- "exclusive": [
36792
- "list-paths",
36793
- "list-schemas"
36794
- ],
36795
- "name": "list-examples",
36796
- "allowNo": false,
36797
- "type": "boolean"
36750
+ "start-scheduler": {
36751
+ "description": "Start schedule JSON for sandboxes in this realm (use \"null\" to remove). Format: {\"weekdays\":[...],\"time\":\"...\"}",
36752
+ "name": "start-scheduler",
36753
+ "hasDynamicHelp": false,
36754
+ "multiple": false,
36755
+ "type": "option"
36798
36756
  },
36799
- "yaml": {
36800
- "description": "Output as YAML instead of JSON",
36801
- "name": "yaml",
36802
- "allowNo": false,
36803
- "type": "boolean"
36757
+ "stop-scheduler": {
36758
+ "description": "Stop schedule JSON for sandboxes in this realm (use \"null\" to remove). Format: {\"weekdays\":[...],\"time\":\"...\"}",
36759
+ "name": "stop-scheduler",
36760
+ "hasDynamicHelp": false,
36761
+ "multiple": false,
36762
+ "type": "option"
36804
36763
  }
36805
36764
  },
36806
36765
  "hasDynamicHelp": false,
36807
36766
  "hiddenAliases": [],
36808
- "id": "scapi:schemas:get",
36767
+ "id": "sandbox:realm:update",
36809
36768
  "pluginAlias": "@salesforce/b2c-cli",
36810
36769
  "pluginName": "@salesforce/b2c-cli",
36811
36770
  "pluginType": "core",
@@ -36815,22 +36774,29 @@
36815
36774
  "relativePath": [
36816
36775
  "dist",
36817
36776
  "commands",
36818
- "scapi",
36819
- "schemas",
36820
- "get.js"
36777
+ "sandbox",
36778
+ "realm",
36779
+ "update.js"
36821
36780
  ]
36822
36781
  },
36823
- "scapi:schemas:list": {
36824
- "aliases": [],
36825
- "args": {},
36826
- "description": "List available SCAPI schemas\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/scapi-schemas.html#b2c-scapi-schemas-list",
36782
+ "sandbox:realm:usage": {
36783
+ "aliases": [
36784
+ "ods:realm:usage",
36785
+ "realm:usage"
36786
+ ],
36787
+ "args": {
36788
+ "realm": {
36789
+ "description": "Realm ID (four-letter ID)",
36790
+ "name": "realm",
36791
+ "required": true
36792
+ }
36793
+ },
36794
+ "description": "Show usage information for a realm\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/realm.html#b2c-realm-usage",
36827
36795
  "examples": [
36828
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
36829
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-family product",
36830
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-name shopper-products",
36831
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status current",
36832
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
36833
- "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
36796
+ "<%= config.bin %> <%= command.id %> zzzz",
36797
+ "<%= config.bin %> <%= command.id %> zzzz --from 2026-02-08 --to 2026-02-11",
36798
+ "<%= config.bin %> <%= command.id %> zzzz --granularity daily",
36799
+ "<%= config.bin %> <%= command.id %> zzzz --detailed-report --json"
36834
36800
  ],
36835
36801
  "flags": {
36836
36802
  "json": {
@@ -37034,58 +37000,45 @@
37034
37000
  "multiple": false,
37035
37001
  "type": "option"
37036
37002
  },
37037
- "api-family": {
37038
- "description": "Filter by API family (e.g., product, checkout, search)",
37039
- "name": "api-family",
37040
- "hasDynamicHelp": false,
37041
- "multiple": false,
37042
- "type": "option"
37043
- },
37044
- "api-name": {
37045
- "description": "Filter by API name (e.g., shopper-products, shopper-baskets)",
37046
- "name": "api-name",
37003
+ "sandbox-api-host": {
37004
+ "description": "ODS API hostname (default: admin.dx.commercecloud.salesforce.com)",
37005
+ "env": "SFCC_SANDBOX_API_HOST",
37006
+ "name": "sandbox-api-host",
37047
37007
  "hasDynamicHelp": false,
37048
37008
  "multiple": false,
37049
37009
  "type": "option"
37050
37010
  },
37051
- "api-version": {
37052
- "description": "Filter by API version (e.g., v1)",
37053
- "name": "api-version",
37011
+ "from": {
37012
+ "description": "Earliest date to include in usage (ISO 8601, defaults to 30 days in the past if omitted by the API)",
37013
+ "name": "from",
37054
37014
  "hasDynamicHelp": false,
37055
37015
  "multiple": false,
37056
37016
  "type": "option"
37057
37017
  },
37058
- "status": {
37059
- "char": "s",
37060
- "description": "Filter by schema status",
37061
- "name": "status",
37018
+ "to": {
37019
+ "description": "Latest date to include in usage (ISO 8601, defaults to today if omitted by the API)",
37020
+ "name": "to",
37062
37021
  "hasDynamicHelp": false,
37063
37022
  "multiple": false,
37064
- "options": [
37065
- "current",
37066
- "deprecated"
37067
- ],
37068
37023
  "type": "option"
37069
37024
  },
37070
- "columns": {
37071
- "char": "c",
37072
- "description": "Columns to display (comma-separated). Available: apiFamily, apiName, apiVersion, status, schemaVersion, link",
37073
- "name": "columns",
37025
+ "granularity": {
37026
+ "description": "Granularity of usage data (daily, weekly, monthly)",
37027
+ "name": "granularity",
37074
37028
  "hasDynamicHelp": false,
37075
37029
  "multiple": false,
37076
37030
  "type": "option"
37077
37031
  },
37078
- "extended": {
37079
- "char": "x",
37080
- "description": "Show all columns including extended fields",
37081
- "name": "extended",
37032
+ "detailed-report": {
37033
+ "description": "Include detailed usage information in the response",
37034
+ "name": "detailed-report",
37082
37035
  "allowNo": false,
37083
37036
  "type": "boolean"
37084
37037
  }
37085
37038
  },
37086
37039
  "hasDynamicHelp": false,
37087
37040
  "hiddenAliases": [],
37088
- "id": "scapi:schemas:list",
37041
+ "id": "sandbox:realm:usage",
37089
37042
  "pluginAlias": "@salesforce/b2c-cli",
37090
37043
  "pluginName": "@salesforce/b2c-cli",
37091
37044
  "pluginType": "core",
@@ -37095,9 +37048,9 @@
37095
37048
  "relativePath": [
37096
37049
  "dist",
37097
37050
  "commands",
37098
- "scapi",
37099
- "schemas",
37100
- "list.js"
37051
+ "sandbox",
37052
+ "realm",
37053
+ "usage.js"
37101
37054
  ]
37102
37055
  },
37103
37056
  "setup:ide": {
@@ -37399,21 +37352,20 @@
37399
37352
  "prophet.js"
37400
37353
  ]
37401
37354
  },
37402
- "slas:client:create": {
37355
+ "setup:instance:create": {
37403
37356
  "aliases": [],
37404
37357
  "args": {
37405
- "clientId": {
37406
- "description": "SLAS client ID to create or update (generates UUID if omitted)",
37407
- "name": "clientId",
37408
- "required": false
37358
+ "name": {
37359
+ "description": "Instance name",
37360
+ "name": "name"
37409
37361
  }
37410
37362
  },
37411
- "description": "Create or update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-create",
37363
+ "description": "Create a new B2C Commerce instance configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-create",
37412
37364
  "examples": [
37413
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
37414
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --public",
37415
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --json",
37416
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
37365
+ "<%= config.bin %> <%= command.id %> staging",
37366
+ "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com",
37367
+ "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com --active",
37368
+ "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com --username admin --force"
37417
37369
  ],
37418
37370
  "flags": {
37419
37371
  "json": {
@@ -37530,164 +37482,65 @@
37530
37482
  "multiple": false,
37531
37483
  "type": "option"
37532
37484
  },
37533
- "client-id": {
37534
- "description": "Client ID for OAuth",
37535
- "env": "SFCC_CLIENT_ID",
37536
- "helpGroup": "AUTH",
37537
- "name": "client-id",
37485
+ "hostname": {
37486
+ "char": "s",
37487
+ "description": "B2C instance hostname",
37488
+ "name": "hostname",
37538
37489
  "hasDynamicHelp": false,
37539
37490
  "multiple": false,
37540
37491
  "type": "option"
37541
37492
  },
37542
- "client-secret": {
37543
- "description": "Client Secret for OAuth",
37544
- "env": "SFCC_CLIENT_SECRET",
37545
- "helpGroup": "AUTH",
37546
- "name": "client-secret",
37493
+ "username": {
37494
+ "description": "WebDAV username",
37495
+ "name": "username",
37547
37496
  "hasDynamicHelp": false,
37548
37497
  "multiple": false,
37549
37498
  "type": "option"
37550
37499
  },
37551
- "auth-scope": {
37552
- "description": "OAuth scopes to request (comma-separated)",
37553
- "env": "SFCC_OAUTH_SCOPES",
37554
- "helpGroup": "AUTH",
37555
- "name": "auth-scope",
37556
- "delimiter": ",",
37557
- "hasDynamicHelp": false,
37558
- "multiple": true,
37559
- "type": "option"
37560
- },
37561
- "short-code": {
37562
- "description": "SCAPI short code",
37563
- "env": "SFCC_SHORTCODE",
37564
- "helpGroup": "AUTH",
37565
- "name": "short-code",
37500
+ "password": {
37501
+ "description": "WebDAV password",
37502
+ "name": "password",
37566
37503
  "hasDynamicHelp": false,
37567
37504
  "multiple": false,
37568
37505
  "type": "option"
37569
37506
  },
37570
- "tenant-id": {
37571
- "aliases": [
37572
- "tenant"
37573
- ],
37574
- "description": "Organization/tenant ID",
37575
- "env": "SFCC_TENANT_ID",
37576
- "helpGroup": "AUTH",
37577
- "name": "tenant-id",
37507
+ "client-id": {
37508
+ "description": "OAuth client ID",
37509
+ "name": "client-id",
37578
37510
  "hasDynamicHelp": false,
37579
37511
  "multiple": false,
37580
37512
  "type": "option"
37581
37513
  },
37582
- "auth-methods": {
37583
- "description": "Allowed auth methods in priority order (comma-separated)",
37584
- "env": "SFCC_AUTH_METHODS",
37585
- "exclusive": [
37586
- "user-auth"
37587
- ],
37588
- "helpGroup": "AUTH",
37589
- "name": "auth-methods",
37590
- "delimiter": ",",
37591
- "hasDynamicHelp": false,
37592
- "multiple": true,
37593
- "options": [
37594
- "client-credentials",
37595
- "implicit",
37596
- "basic",
37597
- "api-key"
37598
- ],
37599
- "type": "option"
37600
- },
37601
- "user-auth": {
37602
- "description": "Use browser-based user authentication (implicit OAuth flow)",
37603
- "exclusive": [
37604
- "auth-methods"
37605
- ],
37606
- "helpGroup": "AUTH",
37607
- "name": "user-auth",
37608
- "allowNo": false,
37609
- "type": "boolean"
37610
- },
37611
- "account-manager-host": {
37612
- "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
37613
- "env": "SFCC_ACCOUNT_MANAGER_HOST",
37614
- "helpGroup": "AUTH",
37615
- "name": "account-manager-host",
37514
+ "client-secret": {
37515
+ "description": "OAuth client secret",
37516
+ "name": "client-secret",
37616
37517
  "hasDynamicHelp": false,
37617
37518
  "multiple": false,
37618
37519
  "type": "option"
37619
37520
  },
37620
- "name": {
37621
- "description": "Display name for the client (generates timestamped name if omitted)",
37622
- "name": "name",
37521
+ "code-version": {
37522
+ "description": "Code version",
37523
+ "name": "code-version",
37623
37524
  "hasDynamicHelp": false,
37624
37525
  "multiple": false,
37625
37526
  "type": "option"
37626
37527
  },
37627
- "channels": {
37628
- "description": "Site IDs/channels (comma-separated)",
37629
- "name": "channels",
37630
- "required": true,
37631
- "delimiter": ",",
37632
- "hasDynamicHelp": false,
37633
- "multiple": true,
37634
- "type": "option"
37635
- },
37636
- "scopes": {
37637
- "description": "OAuth scopes for the client (comma-separated)",
37638
- "name": "scopes",
37639
- "required": false,
37640
- "delimiter": ",",
37641
- "hasDynamicHelp": false,
37642
- "multiple": true,
37643
- "type": "option"
37644
- },
37645
- "default-scopes": {
37646
- "description": "Use default shopper scopes (can be combined with --scopes for additional scopes)",
37647
- "name": "default-scopes",
37528
+ "active": {
37529
+ "description": "Set as active instance",
37530
+ "name": "active",
37648
37531
  "allowNo": false,
37649
37532
  "type": "boolean"
37650
37533
  },
37651
- "redirect-uri": {
37652
- "description": "Redirect URIs (comma-separated)",
37653
- "name": "redirect-uri",
37654
- "required": true,
37655
- "delimiter": ",",
37656
- "hasDynamicHelp": false,
37657
- "multiple": true,
37658
- "type": "option"
37659
- },
37660
- "callback-uri": {
37661
- "description": "Callback URIs for passwordless login (comma-separated)",
37662
- "name": "callback-uri",
37663
- "delimiter": ",",
37664
- "hasDynamicHelp": false,
37665
- "multiple": true,
37666
- "type": "option"
37667
- },
37668
- "secret": {
37669
- "description": "Client secret for private clients (if omitted, one will be generated)",
37670
- "name": "secret",
37671
- "hasDynamicHelp": false,
37672
- "multiple": false,
37673
- "type": "option"
37674
- },
37675
- "public": {
37676
- "description": "Create a public client (default is private)",
37677
- "name": "public",
37534
+ "force": {
37535
+ "description": "Non-interactive mode (fail if required flags missing)",
37536
+ "name": "force",
37678
37537
  "allowNo": false,
37679
37538
  "type": "boolean"
37680
- },
37681
- "create-tenant": {
37682
- "description": "Automatically create tenant if it does not exist",
37683
- "name": "create-tenant",
37684
- "allowNo": true,
37685
- "type": "boolean"
37686
37539
  }
37687
37540
  },
37688
37541
  "hasDynamicHelp": false,
37689
37542
  "hiddenAliases": [],
37690
- "id": "slas:client:create",
37543
+ "id": "setup:instance:create",
37691
37544
  "pluginAlias": "@salesforce/b2c-cli",
37692
37545
  "pluginName": "@salesforce/b2c-cli",
37693
37546
  "pluginType": "core",
@@ -37697,33 +37550,631 @@
37697
37550
  "relativePath": [
37698
37551
  "dist",
37699
37552
  "commands",
37700
- "slas",
37701
- "client",
37553
+ "setup",
37554
+ "instance",
37702
37555
  "create.js"
37703
37556
  ]
37704
37557
  },
37705
- "slas:client:delete": {
37558
+ "setup:instance": {
37706
37559
  "aliases": [],
37707
- "args": {
37708
- "clientId": {
37709
- "description": "SLAS client ID to delete",
37710
- "name": "clientId",
37711
- "required": true
37712
- }
37713
- },
37714
- "description": "Delete a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-delete",
37560
+ "args": {},
37561
+ "description": "Create, list, and manage B2C Commerce instance configurations\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance",
37715
37562
  "examples": [
37716
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
37717
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
37563
+ "<%= config.bin %> setup instance create",
37564
+ "<%= config.bin %> setup instance list",
37565
+ "<%= config.bin %> setup instance set-active"
37718
37566
  ],
37719
37567
  "flags": {
37720
- "json": {
37721
- "description": "Output result as JSON",
37722
- "helpGroup": "GLOBAL",
37723
- "name": "json",
37724
- "allowNo": false,
37725
- "type": "boolean"
37726
- },
37568
+ "log-level": {
37569
+ "description": "Set logging verbosity level",
37570
+ "env": "SFCC_LOG_LEVEL",
37571
+ "helpGroup": "GLOBAL",
37572
+ "name": "log-level",
37573
+ "hasDynamicHelp": false,
37574
+ "multiple": false,
37575
+ "options": [
37576
+ "trace",
37577
+ "debug",
37578
+ "info",
37579
+ "warn",
37580
+ "error",
37581
+ "silent"
37582
+ ],
37583
+ "type": "option"
37584
+ },
37585
+ "debug": {
37586
+ "char": "D",
37587
+ "description": "Enable debug logging (shorthand for --log-level debug)",
37588
+ "env": "SFCC_DEBUG",
37589
+ "helpGroup": "GLOBAL",
37590
+ "name": "debug",
37591
+ "allowNo": false,
37592
+ "type": "boolean"
37593
+ },
37594
+ "json": {
37595
+ "description": "Output result as JSON",
37596
+ "helpGroup": "GLOBAL",
37597
+ "name": "json",
37598
+ "allowNo": false,
37599
+ "type": "boolean"
37600
+ },
37601
+ "jsonl": {
37602
+ "aliases": [
37603
+ "json-logs"
37604
+ ],
37605
+ "description": "Output log messages as JSON lines",
37606
+ "env": "SFCC_JSON_LOGS",
37607
+ "helpGroup": "GLOBAL",
37608
+ "name": "jsonl",
37609
+ "allowNo": false,
37610
+ "type": "boolean"
37611
+ },
37612
+ "lang": {
37613
+ "char": "L",
37614
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
37615
+ "helpGroup": "GLOBAL",
37616
+ "name": "lang",
37617
+ "hasDynamicHelp": false,
37618
+ "multiple": false,
37619
+ "type": "option"
37620
+ },
37621
+ "config": {
37622
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
37623
+ "env": "SFCC_CONFIG",
37624
+ "helpGroup": "GLOBAL",
37625
+ "name": "config",
37626
+ "hasDynamicHelp": false,
37627
+ "multiple": false,
37628
+ "type": "option"
37629
+ },
37630
+ "instance": {
37631
+ "char": "i",
37632
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
37633
+ "env": "SFCC_INSTANCE",
37634
+ "helpGroup": "GLOBAL",
37635
+ "name": "instance",
37636
+ "hasDynamicHelp": false,
37637
+ "multiple": false,
37638
+ "type": "option"
37639
+ },
37640
+ "project-directory": {
37641
+ "aliases": [
37642
+ "working-directory"
37643
+ ],
37644
+ "description": "Project directory",
37645
+ "env": "SFCC_PROJECT_DIRECTORY",
37646
+ "helpGroup": "GLOBAL",
37647
+ "name": "project-directory",
37648
+ "hasDynamicHelp": false,
37649
+ "multiple": false,
37650
+ "type": "option"
37651
+ },
37652
+ "extra-query": {
37653
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
37654
+ "env": "SFCC_EXTRA_QUERY",
37655
+ "helpGroup": "GLOBAL",
37656
+ "hidden": true,
37657
+ "name": "extra-query",
37658
+ "hasDynamicHelp": false,
37659
+ "multiple": false,
37660
+ "type": "option"
37661
+ },
37662
+ "extra-body": {
37663
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
37664
+ "env": "SFCC_EXTRA_BODY",
37665
+ "helpGroup": "GLOBAL",
37666
+ "hidden": true,
37667
+ "name": "extra-body",
37668
+ "hasDynamicHelp": false,
37669
+ "multiple": false,
37670
+ "type": "option"
37671
+ },
37672
+ "extra-headers": {
37673
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
37674
+ "env": "SFCC_EXTRA_HEADERS",
37675
+ "helpGroup": "GLOBAL",
37676
+ "hidden": true,
37677
+ "name": "extra-headers",
37678
+ "hasDynamicHelp": false,
37679
+ "multiple": false,
37680
+ "type": "option"
37681
+ }
37682
+ },
37683
+ "hasDynamicHelp": false,
37684
+ "hiddenAliases": [],
37685
+ "id": "setup:instance",
37686
+ "pluginAlias": "@salesforce/b2c-cli",
37687
+ "pluginName": "@salesforce/b2c-cli",
37688
+ "pluginType": "core",
37689
+ "strict": true,
37690
+ "enableJsonFlag": false,
37691
+ "isESM": true,
37692
+ "relativePath": [
37693
+ "dist",
37694
+ "commands",
37695
+ "setup",
37696
+ "instance",
37697
+ "index.js"
37698
+ ]
37699
+ },
37700
+ "setup:instance:list": {
37701
+ "aliases": [],
37702
+ "args": {},
37703
+ "description": "List configured B2C Commerce instances\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-list",
37704
+ "examples": [
37705
+ "<%= config.bin %> <%= command.id %>",
37706
+ "<%= config.bin %> <%= command.id %> --json"
37707
+ ],
37708
+ "flags": {
37709
+ "json": {
37710
+ "description": "Output result as JSON",
37711
+ "helpGroup": "GLOBAL",
37712
+ "name": "json",
37713
+ "allowNo": false,
37714
+ "type": "boolean"
37715
+ },
37716
+ "log-level": {
37717
+ "description": "Set logging verbosity level",
37718
+ "env": "SFCC_LOG_LEVEL",
37719
+ "helpGroup": "GLOBAL",
37720
+ "name": "log-level",
37721
+ "hasDynamicHelp": false,
37722
+ "multiple": false,
37723
+ "options": [
37724
+ "trace",
37725
+ "debug",
37726
+ "info",
37727
+ "warn",
37728
+ "error",
37729
+ "silent"
37730
+ ],
37731
+ "type": "option"
37732
+ },
37733
+ "debug": {
37734
+ "char": "D",
37735
+ "description": "Enable debug logging (shorthand for --log-level debug)",
37736
+ "env": "SFCC_DEBUG",
37737
+ "helpGroup": "GLOBAL",
37738
+ "name": "debug",
37739
+ "allowNo": false,
37740
+ "type": "boolean"
37741
+ },
37742
+ "jsonl": {
37743
+ "aliases": [
37744
+ "json-logs"
37745
+ ],
37746
+ "description": "Output log messages as JSON lines",
37747
+ "env": "SFCC_JSON_LOGS",
37748
+ "helpGroup": "GLOBAL",
37749
+ "name": "jsonl",
37750
+ "allowNo": false,
37751
+ "type": "boolean"
37752
+ },
37753
+ "lang": {
37754
+ "char": "L",
37755
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
37756
+ "helpGroup": "GLOBAL",
37757
+ "name": "lang",
37758
+ "hasDynamicHelp": false,
37759
+ "multiple": false,
37760
+ "type": "option"
37761
+ },
37762
+ "config": {
37763
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
37764
+ "env": "SFCC_CONFIG",
37765
+ "helpGroup": "GLOBAL",
37766
+ "name": "config",
37767
+ "hasDynamicHelp": false,
37768
+ "multiple": false,
37769
+ "type": "option"
37770
+ },
37771
+ "instance": {
37772
+ "char": "i",
37773
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
37774
+ "env": "SFCC_INSTANCE",
37775
+ "helpGroup": "GLOBAL",
37776
+ "name": "instance",
37777
+ "hasDynamicHelp": false,
37778
+ "multiple": false,
37779
+ "type": "option"
37780
+ },
37781
+ "project-directory": {
37782
+ "aliases": [
37783
+ "working-directory"
37784
+ ],
37785
+ "description": "Project directory",
37786
+ "env": "SFCC_PROJECT_DIRECTORY",
37787
+ "helpGroup": "GLOBAL",
37788
+ "name": "project-directory",
37789
+ "hasDynamicHelp": false,
37790
+ "multiple": false,
37791
+ "type": "option"
37792
+ },
37793
+ "extra-query": {
37794
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
37795
+ "env": "SFCC_EXTRA_QUERY",
37796
+ "helpGroup": "GLOBAL",
37797
+ "hidden": true,
37798
+ "name": "extra-query",
37799
+ "hasDynamicHelp": false,
37800
+ "multiple": false,
37801
+ "type": "option"
37802
+ },
37803
+ "extra-body": {
37804
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
37805
+ "env": "SFCC_EXTRA_BODY",
37806
+ "helpGroup": "GLOBAL",
37807
+ "hidden": true,
37808
+ "name": "extra-body",
37809
+ "hasDynamicHelp": false,
37810
+ "multiple": false,
37811
+ "type": "option"
37812
+ },
37813
+ "extra-headers": {
37814
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
37815
+ "env": "SFCC_EXTRA_HEADERS",
37816
+ "helpGroup": "GLOBAL",
37817
+ "hidden": true,
37818
+ "name": "extra-headers",
37819
+ "hasDynamicHelp": false,
37820
+ "multiple": false,
37821
+ "type": "option"
37822
+ }
37823
+ },
37824
+ "hasDynamicHelp": false,
37825
+ "hiddenAliases": [],
37826
+ "id": "setup:instance:list",
37827
+ "pluginAlias": "@salesforce/b2c-cli",
37828
+ "pluginName": "@salesforce/b2c-cli",
37829
+ "pluginType": "core",
37830
+ "strict": true,
37831
+ "enableJsonFlag": true,
37832
+ "isESM": true,
37833
+ "relativePath": [
37834
+ "dist",
37835
+ "commands",
37836
+ "setup",
37837
+ "instance",
37838
+ "list.js"
37839
+ ]
37840
+ },
37841
+ "setup:instance:remove": {
37842
+ "aliases": [],
37843
+ "args": {
37844
+ "name": {
37845
+ "description": "Instance name to remove",
37846
+ "name": "name",
37847
+ "required": true
37848
+ }
37849
+ },
37850
+ "description": "Remove a B2C Commerce instance configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-remove",
37851
+ "examples": [
37852
+ "<%= config.bin %> <%= command.id %> staging",
37853
+ "<%= config.bin %> <%= command.id %> staging --force"
37854
+ ],
37855
+ "flags": {
37856
+ "json": {
37857
+ "description": "Output result as JSON",
37858
+ "helpGroup": "GLOBAL",
37859
+ "name": "json",
37860
+ "allowNo": false,
37861
+ "type": "boolean"
37862
+ },
37863
+ "log-level": {
37864
+ "description": "Set logging verbosity level",
37865
+ "env": "SFCC_LOG_LEVEL",
37866
+ "helpGroup": "GLOBAL",
37867
+ "name": "log-level",
37868
+ "hasDynamicHelp": false,
37869
+ "multiple": false,
37870
+ "options": [
37871
+ "trace",
37872
+ "debug",
37873
+ "info",
37874
+ "warn",
37875
+ "error",
37876
+ "silent"
37877
+ ],
37878
+ "type": "option"
37879
+ },
37880
+ "debug": {
37881
+ "char": "D",
37882
+ "description": "Enable debug logging (shorthand for --log-level debug)",
37883
+ "env": "SFCC_DEBUG",
37884
+ "helpGroup": "GLOBAL",
37885
+ "name": "debug",
37886
+ "allowNo": false,
37887
+ "type": "boolean"
37888
+ },
37889
+ "jsonl": {
37890
+ "aliases": [
37891
+ "json-logs"
37892
+ ],
37893
+ "description": "Output log messages as JSON lines",
37894
+ "env": "SFCC_JSON_LOGS",
37895
+ "helpGroup": "GLOBAL",
37896
+ "name": "jsonl",
37897
+ "allowNo": false,
37898
+ "type": "boolean"
37899
+ },
37900
+ "lang": {
37901
+ "char": "L",
37902
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
37903
+ "helpGroup": "GLOBAL",
37904
+ "name": "lang",
37905
+ "hasDynamicHelp": false,
37906
+ "multiple": false,
37907
+ "type": "option"
37908
+ },
37909
+ "config": {
37910
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
37911
+ "env": "SFCC_CONFIG",
37912
+ "helpGroup": "GLOBAL",
37913
+ "name": "config",
37914
+ "hasDynamicHelp": false,
37915
+ "multiple": false,
37916
+ "type": "option"
37917
+ },
37918
+ "instance": {
37919
+ "char": "i",
37920
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
37921
+ "env": "SFCC_INSTANCE",
37922
+ "helpGroup": "GLOBAL",
37923
+ "name": "instance",
37924
+ "hasDynamicHelp": false,
37925
+ "multiple": false,
37926
+ "type": "option"
37927
+ },
37928
+ "project-directory": {
37929
+ "aliases": [
37930
+ "working-directory"
37931
+ ],
37932
+ "description": "Project directory",
37933
+ "env": "SFCC_PROJECT_DIRECTORY",
37934
+ "helpGroup": "GLOBAL",
37935
+ "name": "project-directory",
37936
+ "hasDynamicHelp": false,
37937
+ "multiple": false,
37938
+ "type": "option"
37939
+ },
37940
+ "extra-query": {
37941
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
37942
+ "env": "SFCC_EXTRA_QUERY",
37943
+ "helpGroup": "GLOBAL",
37944
+ "hidden": true,
37945
+ "name": "extra-query",
37946
+ "hasDynamicHelp": false,
37947
+ "multiple": false,
37948
+ "type": "option"
37949
+ },
37950
+ "extra-body": {
37951
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
37952
+ "env": "SFCC_EXTRA_BODY",
37953
+ "helpGroup": "GLOBAL",
37954
+ "hidden": true,
37955
+ "name": "extra-body",
37956
+ "hasDynamicHelp": false,
37957
+ "multiple": false,
37958
+ "type": "option"
37959
+ },
37960
+ "extra-headers": {
37961
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
37962
+ "env": "SFCC_EXTRA_HEADERS",
37963
+ "helpGroup": "GLOBAL",
37964
+ "hidden": true,
37965
+ "name": "extra-headers",
37966
+ "hasDynamicHelp": false,
37967
+ "multiple": false,
37968
+ "type": "option"
37969
+ },
37970
+ "force": {
37971
+ "description": "Skip confirmation prompt",
37972
+ "name": "force",
37973
+ "allowNo": false,
37974
+ "type": "boolean"
37975
+ }
37976
+ },
37977
+ "hasDynamicHelp": false,
37978
+ "hiddenAliases": [],
37979
+ "id": "setup:instance:remove",
37980
+ "pluginAlias": "@salesforce/b2c-cli",
37981
+ "pluginName": "@salesforce/b2c-cli",
37982
+ "pluginType": "core",
37983
+ "strict": true,
37984
+ "enableJsonFlag": true,
37985
+ "isESM": true,
37986
+ "relativePath": [
37987
+ "dist",
37988
+ "commands",
37989
+ "setup",
37990
+ "instance",
37991
+ "remove.js"
37992
+ ]
37993
+ },
37994
+ "setup:instance:set-active": {
37995
+ "aliases": [],
37996
+ "args": {
37997
+ "name": {
37998
+ "description": "Instance name to set as active",
37999
+ "name": "name"
38000
+ }
38001
+ },
38002
+ "description": "Set a B2C Commerce instance as the default (active) instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-set-active",
38003
+ "examples": [
38004
+ "<%= config.bin %> <%= command.id %> staging",
38005
+ "<%= config.bin %> <%= command.id %> production"
38006
+ ],
38007
+ "flags": {
38008
+ "json": {
38009
+ "description": "Output result as JSON",
38010
+ "helpGroup": "GLOBAL",
38011
+ "name": "json",
38012
+ "allowNo": false,
38013
+ "type": "boolean"
38014
+ },
38015
+ "log-level": {
38016
+ "description": "Set logging verbosity level",
38017
+ "env": "SFCC_LOG_LEVEL",
38018
+ "helpGroup": "GLOBAL",
38019
+ "name": "log-level",
38020
+ "hasDynamicHelp": false,
38021
+ "multiple": false,
38022
+ "options": [
38023
+ "trace",
38024
+ "debug",
38025
+ "info",
38026
+ "warn",
38027
+ "error",
38028
+ "silent"
38029
+ ],
38030
+ "type": "option"
38031
+ },
38032
+ "debug": {
38033
+ "char": "D",
38034
+ "description": "Enable debug logging (shorthand for --log-level debug)",
38035
+ "env": "SFCC_DEBUG",
38036
+ "helpGroup": "GLOBAL",
38037
+ "name": "debug",
38038
+ "allowNo": false,
38039
+ "type": "boolean"
38040
+ },
38041
+ "jsonl": {
38042
+ "aliases": [
38043
+ "json-logs"
38044
+ ],
38045
+ "description": "Output log messages as JSON lines",
38046
+ "env": "SFCC_JSON_LOGS",
38047
+ "helpGroup": "GLOBAL",
38048
+ "name": "jsonl",
38049
+ "allowNo": false,
38050
+ "type": "boolean"
38051
+ },
38052
+ "lang": {
38053
+ "char": "L",
38054
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
38055
+ "helpGroup": "GLOBAL",
38056
+ "name": "lang",
38057
+ "hasDynamicHelp": false,
38058
+ "multiple": false,
38059
+ "type": "option"
38060
+ },
38061
+ "config": {
38062
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
38063
+ "env": "SFCC_CONFIG",
38064
+ "helpGroup": "GLOBAL",
38065
+ "name": "config",
38066
+ "hasDynamicHelp": false,
38067
+ "multiple": false,
38068
+ "type": "option"
38069
+ },
38070
+ "instance": {
38071
+ "char": "i",
38072
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
38073
+ "env": "SFCC_INSTANCE",
38074
+ "helpGroup": "GLOBAL",
38075
+ "name": "instance",
38076
+ "hasDynamicHelp": false,
38077
+ "multiple": false,
38078
+ "type": "option"
38079
+ },
38080
+ "project-directory": {
38081
+ "aliases": [
38082
+ "working-directory"
38083
+ ],
38084
+ "description": "Project directory",
38085
+ "env": "SFCC_PROJECT_DIRECTORY",
38086
+ "helpGroup": "GLOBAL",
38087
+ "name": "project-directory",
38088
+ "hasDynamicHelp": false,
38089
+ "multiple": false,
38090
+ "type": "option"
38091
+ },
38092
+ "extra-query": {
38093
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
38094
+ "env": "SFCC_EXTRA_QUERY",
38095
+ "helpGroup": "GLOBAL",
38096
+ "hidden": true,
38097
+ "name": "extra-query",
38098
+ "hasDynamicHelp": false,
38099
+ "multiple": false,
38100
+ "type": "option"
38101
+ },
38102
+ "extra-body": {
38103
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
38104
+ "env": "SFCC_EXTRA_BODY",
38105
+ "helpGroup": "GLOBAL",
38106
+ "hidden": true,
38107
+ "name": "extra-body",
38108
+ "hasDynamicHelp": false,
38109
+ "multiple": false,
38110
+ "type": "option"
38111
+ },
38112
+ "extra-headers": {
38113
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
38114
+ "env": "SFCC_EXTRA_HEADERS",
38115
+ "helpGroup": "GLOBAL",
38116
+ "hidden": true,
38117
+ "name": "extra-headers",
38118
+ "hasDynamicHelp": false,
38119
+ "multiple": false,
38120
+ "type": "option"
38121
+ }
38122
+ },
38123
+ "hasDynamicHelp": false,
38124
+ "hiddenAliases": [],
38125
+ "id": "setup:instance:set-active",
38126
+ "pluginAlias": "@salesforce/b2c-cli",
38127
+ "pluginName": "@salesforce/b2c-cli",
38128
+ "pluginType": "core",
38129
+ "strict": true,
38130
+ "enableJsonFlag": true,
38131
+ "isESM": true,
38132
+ "relativePath": [
38133
+ "dist",
38134
+ "commands",
38135
+ "setup",
38136
+ "instance",
38137
+ "set-active.js"
38138
+ ]
38139
+ },
38140
+ "scapi:schemas:get": {
38141
+ "aliases": [],
38142
+ "args": {
38143
+ "apiFamily": {
38144
+ "description": "API family (e.g., product, checkout, search)",
38145
+ "name": "apiFamily",
38146
+ "required": true
38147
+ },
38148
+ "apiName": {
38149
+ "description": "API name (e.g., shopper-products, shopper-baskets)",
38150
+ "name": "apiName",
38151
+ "required": true
38152
+ },
38153
+ "apiVersion": {
38154
+ "description": "API version (e.g., v1)",
38155
+ "name": "apiVersion",
38156
+ "required": true
38157
+ }
38158
+ },
38159
+ "description": "Get a specific SCAPI schema with optional selective expansion\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/scapi-schemas.html#b2c-scapi-schemas-get",
38160
+ "examples": [
38161
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd",
38162
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-all",
38163
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-paths /products",
38164
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --expand-schemas Product,ProductResult",
38165
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --list-paths",
38166
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --list-schemas",
38167
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --yaml",
38168
+ "<%= config.bin %> <%= command.id %> product shopper-products v1 --tenant-id f_ecom_zzxy_prd --json"
38169
+ ],
38170
+ "flags": {
38171
+ "json": {
38172
+ "description": "Output result as JSON",
38173
+ "helpGroup": "GLOBAL",
38174
+ "name": "json",
38175
+ "allowNo": false,
38176
+ "type": "boolean"
38177
+ },
37727
38178
  "log-level": {
37728
38179
  "description": "Set logging verbosity level",
37729
38180
  "env": "SFCC_LOG_LEVEL",
@@ -37917,11 +38368,80 @@
37917
38368
  "hasDynamicHelp": false,
37918
38369
  "multiple": false,
37919
38370
  "type": "option"
38371
+ },
38372
+ "expand-paths": {
38373
+ "description": "Paths to fully expand (comma-separated, e.g., /products,/orders)",
38374
+ "name": "expand-paths",
38375
+ "hasDynamicHelp": false,
38376
+ "multiple": false,
38377
+ "type": "option"
38378
+ },
38379
+ "expand-schemas": {
38380
+ "description": "Schema names to fully expand (comma-separated)",
38381
+ "name": "expand-schemas",
38382
+ "hasDynamicHelp": false,
38383
+ "multiple": false,
38384
+ "type": "option"
38385
+ },
38386
+ "expand-examples": {
38387
+ "description": "Example names to fully expand (comma-separated)",
38388
+ "name": "expand-examples",
38389
+ "hasDynamicHelp": false,
38390
+ "multiple": false,
38391
+ "type": "option"
38392
+ },
38393
+ "expand-custom-properties": {
38394
+ "description": "Expand custom properties",
38395
+ "name": "expand-custom-properties",
38396
+ "allowNo": true,
38397
+ "type": "boolean"
38398
+ },
38399
+ "expand-all": {
38400
+ "description": "Return full schema without collapsing (overrides selective expand)",
38401
+ "name": "expand-all",
38402
+ "allowNo": false,
38403
+ "type": "boolean"
38404
+ },
38405
+ "list-paths": {
38406
+ "description": "List available paths in the schema and exit",
38407
+ "exclusive": [
38408
+ "list-schemas",
38409
+ "list-examples"
38410
+ ],
38411
+ "name": "list-paths",
38412
+ "allowNo": false,
38413
+ "type": "boolean"
38414
+ },
38415
+ "list-schemas": {
38416
+ "description": "List available schema names and exit",
38417
+ "exclusive": [
38418
+ "list-paths",
38419
+ "list-examples"
38420
+ ],
38421
+ "name": "list-schemas",
38422
+ "allowNo": false,
38423
+ "type": "boolean"
38424
+ },
38425
+ "list-examples": {
38426
+ "description": "List available example names and exit",
38427
+ "exclusive": [
38428
+ "list-paths",
38429
+ "list-schemas"
38430
+ ],
38431
+ "name": "list-examples",
38432
+ "allowNo": false,
38433
+ "type": "boolean"
38434
+ },
38435
+ "yaml": {
38436
+ "description": "Output as YAML instead of JSON",
38437
+ "name": "yaml",
38438
+ "allowNo": false,
38439
+ "type": "boolean"
37920
38440
  }
37921
38441
  },
37922
38442
  "hasDynamicHelp": false,
37923
38443
  "hiddenAliases": [],
37924
- "id": "slas:client:delete",
38444
+ "id": "scapi:schemas:get",
37925
38445
  "pluginAlias": "@salesforce/b2c-cli",
37926
38446
  "pluginName": "@salesforce/b2c-cli",
37927
38447
  "pluginType": "core",
@@ -37931,24 +38451,303 @@
37931
38451
  "relativePath": [
37932
38452
  "dist",
37933
38453
  "commands",
37934
- "slas",
37935
- "client",
37936
- "delete.js"
38454
+ "scapi",
38455
+ "schemas",
38456
+ "get.js"
37937
38457
  ]
37938
38458
  },
37939
- "slas:client:get": {
38459
+ "scapi:schemas:list": {
37940
38460
  "aliases": [],
37941
- "args": {
37942
- "clientId": {
37943
- "description": "SLAS client ID to retrieve",
37944
- "name": "clientId",
37945
- "required": true
38461
+ "args": {},
38462
+ "description": "List available SCAPI schemas\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/scapi-schemas.html#b2c-scapi-schemas-list",
38463
+ "examples": [
38464
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
38465
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-family product",
38466
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --api-name shopper-products",
38467
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status current",
38468
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
38469
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
38470
+ ],
38471
+ "flags": {
38472
+ "json": {
38473
+ "description": "Output result as JSON",
38474
+ "helpGroup": "GLOBAL",
38475
+ "name": "json",
38476
+ "allowNo": false,
38477
+ "type": "boolean"
38478
+ },
38479
+ "log-level": {
38480
+ "description": "Set logging verbosity level",
38481
+ "env": "SFCC_LOG_LEVEL",
38482
+ "helpGroup": "GLOBAL",
38483
+ "name": "log-level",
38484
+ "hasDynamicHelp": false,
38485
+ "multiple": false,
38486
+ "options": [
38487
+ "trace",
38488
+ "debug",
38489
+ "info",
38490
+ "warn",
38491
+ "error",
38492
+ "silent"
38493
+ ],
38494
+ "type": "option"
38495
+ },
38496
+ "debug": {
38497
+ "char": "D",
38498
+ "description": "Enable debug logging (shorthand for --log-level debug)",
38499
+ "env": "SFCC_DEBUG",
38500
+ "helpGroup": "GLOBAL",
38501
+ "name": "debug",
38502
+ "allowNo": false,
38503
+ "type": "boolean"
38504
+ },
38505
+ "jsonl": {
38506
+ "aliases": [
38507
+ "json-logs"
38508
+ ],
38509
+ "description": "Output log messages as JSON lines",
38510
+ "env": "SFCC_JSON_LOGS",
38511
+ "helpGroup": "GLOBAL",
38512
+ "name": "jsonl",
38513
+ "allowNo": false,
38514
+ "type": "boolean"
38515
+ },
38516
+ "lang": {
38517
+ "char": "L",
38518
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
38519
+ "helpGroup": "GLOBAL",
38520
+ "name": "lang",
38521
+ "hasDynamicHelp": false,
38522
+ "multiple": false,
38523
+ "type": "option"
38524
+ },
38525
+ "config": {
38526
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
38527
+ "env": "SFCC_CONFIG",
38528
+ "helpGroup": "GLOBAL",
38529
+ "name": "config",
38530
+ "hasDynamicHelp": false,
38531
+ "multiple": false,
38532
+ "type": "option"
38533
+ },
38534
+ "instance": {
38535
+ "char": "i",
38536
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
38537
+ "env": "SFCC_INSTANCE",
38538
+ "helpGroup": "GLOBAL",
38539
+ "name": "instance",
38540
+ "hasDynamicHelp": false,
38541
+ "multiple": false,
38542
+ "type": "option"
38543
+ },
38544
+ "project-directory": {
38545
+ "aliases": [
38546
+ "working-directory"
38547
+ ],
38548
+ "description": "Project directory",
38549
+ "env": "SFCC_PROJECT_DIRECTORY",
38550
+ "helpGroup": "GLOBAL",
38551
+ "name": "project-directory",
38552
+ "hasDynamicHelp": false,
38553
+ "multiple": false,
38554
+ "type": "option"
38555
+ },
38556
+ "extra-query": {
38557
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
38558
+ "env": "SFCC_EXTRA_QUERY",
38559
+ "helpGroup": "GLOBAL",
38560
+ "hidden": true,
38561
+ "name": "extra-query",
38562
+ "hasDynamicHelp": false,
38563
+ "multiple": false,
38564
+ "type": "option"
38565
+ },
38566
+ "extra-body": {
38567
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
38568
+ "env": "SFCC_EXTRA_BODY",
38569
+ "helpGroup": "GLOBAL",
38570
+ "hidden": true,
38571
+ "name": "extra-body",
38572
+ "hasDynamicHelp": false,
38573
+ "multiple": false,
38574
+ "type": "option"
38575
+ },
38576
+ "extra-headers": {
38577
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
38578
+ "env": "SFCC_EXTRA_HEADERS",
38579
+ "helpGroup": "GLOBAL",
38580
+ "hidden": true,
38581
+ "name": "extra-headers",
38582
+ "hasDynamicHelp": false,
38583
+ "multiple": false,
38584
+ "type": "option"
38585
+ },
38586
+ "client-id": {
38587
+ "description": "Client ID for OAuth",
38588
+ "env": "SFCC_CLIENT_ID",
38589
+ "helpGroup": "AUTH",
38590
+ "name": "client-id",
38591
+ "hasDynamicHelp": false,
38592
+ "multiple": false,
38593
+ "type": "option"
38594
+ },
38595
+ "client-secret": {
38596
+ "description": "Client Secret for OAuth",
38597
+ "env": "SFCC_CLIENT_SECRET",
38598
+ "helpGroup": "AUTH",
38599
+ "name": "client-secret",
38600
+ "hasDynamicHelp": false,
38601
+ "multiple": false,
38602
+ "type": "option"
38603
+ },
38604
+ "auth-scope": {
38605
+ "description": "OAuth scopes to request (comma-separated)",
38606
+ "env": "SFCC_OAUTH_SCOPES",
38607
+ "helpGroup": "AUTH",
38608
+ "name": "auth-scope",
38609
+ "delimiter": ",",
38610
+ "hasDynamicHelp": false,
38611
+ "multiple": true,
38612
+ "type": "option"
38613
+ },
38614
+ "short-code": {
38615
+ "description": "SCAPI short code",
38616
+ "env": "SFCC_SHORTCODE",
38617
+ "helpGroup": "AUTH",
38618
+ "name": "short-code",
38619
+ "hasDynamicHelp": false,
38620
+ "multiple": false,
38621
+ "type": "option"
38622
+ },
38623
+ "tenant-id": {
38624
+ "aliases": [
38625
+ "tenant"
38626
+ ],
38627
+ "description": "Organization/tenant ID",
38628
+ "env": "SFCC_TENANT_ID",
38629
+ "helpGroup": "AUTH",
38630
+ "name": "tenant-id",
38631
+ "hasDynamicHelp": false,
38632
+ "multiple": false,
38633
+ "type": "option"
38634
+ },
38635
+ "auth-methods": {
38636
+ "description": "Allowed auth methods in priority order (comma-separated)",
38637
+ "env": "SFCC_AUTH_METHODS",
38638
+ "exclusive": [
38639
+ "user-auth"
38640
+ ],
38641
+ "helpGroup": "AUTH",
38642
+ "name": "auth-methods",
38643
+ "delimiter": ",",
38644
+ "hasDynamicHelp": false,
38645
+ "multiple": true,
38646
+ "options": [
38647
+ "client-credentials",
38648
+ "implicit",
38649
+ "basic",
38650
+ "api-key"
38651
+ ],
38652
+ "type": "option"
38653
+ },
38654
+ "user-auth": {
38655
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
38656
+ "exclusive": [
38657
+ "auth-methods"
38658
+ ],
38659
+ "helpGroup": "AUTH",
38660
+ "name": "user-auth",
38661
+ "allowNo": false,
38662
+ "type": "boolean"
38663
+ },
38664
+ "account-manager-host": {
38665
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
38666
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
38667
+ "helpGroup": "AUTH",
38668
+ "name": "account-manager-host",
38669
+ "hasDynamicHelp": false,
38670
+ "multiple": false,
38671
+ "type": "option"
38672
+ },
38673
+ "api-family": {
38674
+ "description": "Filter by API family (e.g., product, checkout, search)",
38675
+ "name": "api-family",
38676
+ "hasDynamicHelp": false,
38677
+ "multiple": false,
38678
+ "type": "option"
38679
+ },
38680
+ "api-name": {
38681
+ "description": "Filter by API name (e.g., shopper-products, shopper-baskets)",
38682
+ "name": "api-name",
38683
+ "hasDynamicHelp": false,
38684
+ "multiple": false,
38685
+ "type": "option"
38686
+ },
38687
+ "api-version": {
38688
+ "description": "Filter by API version (e.g., v1)",
38689
+ "name": "api-version",
38690
+ "hasDynamicHelp": false,
38691
+ "multiple": false,
38692
+ "type": "option"
38693
+ },
38694
+ "status": {
38695
+ "char": "s",
38696
+ "description": "Filter by schema status",
38697
+ "name": "status",
38698
+ "hasDynamicHelp": false,
38699
+ "multiple": false,
38700
+ "options": [
38701
+ "current",
38702
+ "deprecated"
38703
+ ],
38704
+ "type": "option"
38705
+ },
38706
+ "columns": {
38707
+ "char": "c",
38708
+ "description": "Columns to display (comma-separated). Available: apiFamily, apiName, apiVersion, status, schemaVersion, link",
38709
+ "name": "columns",
38710
+ "hasDynamicHelp": false,
38711
+ "multiple": false,
38712
+ "type": "option"
38713
+ },
38714
+ "extended": {
38715
+ "char": "x",
38716
+ "description": "Show all columns including extended fields",
38717
+ "name": "extended",
38718
+ "allowNo": false,
38719
+ "type": "boolean"
37946
38720
  }
37947
38721
  },
37948
- "description": "Get a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-get",
38722
+ "hasDynamicHelp": false,
38723
+ "hiddenAliases": [],
38724
+ "id": "scapi:schemas:list",
38725
+ "pluginAlias": "@salesforce/b2c-cli",
38726
+ "pluginName": "@salesforce/b2c-cli",
38727
+ "pluginType": "core",
38728
+ "strict": true,
38729
+ "enableJsonFlag": true,
38730
+ "isESM": true,
38731
+ "relativePath": [
38732
+ "dist",
38733
+ "commands",
38734
+ "scapi",
38735
+ "schemas",
38736
+ "list.js"
38737
+ ]
38738
+ },
38739
+ "scapi:custom:status": {
38740
+ "aliases": [],
38741
+ "args": {},
38742
+ "description": "Get the status of Custom API endpoints\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/custom-apis.html#b2c-scapi-custom-status",
37949
38743
  "examples": [
37950
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
37951
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
38744
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd",
38745
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --status active",
38746
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by type",
38747
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --group-by site",
38748
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --extended",
38749
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --columns type,apiName,status,sites",
38750
+ "<%= config.bin %> <%= command.id %> --tenant-id f_ecom_zzxy_prd --json"
37952
38751
  ],
37953
38752
  "flags": {
37954
38753
  "json": {
@@ -38151,11 +38950,50 @@
38151
38950
  "hasDynamicHelp": false,
38152
38951
  "multiple": false,
38153
38952
  "type": "option"
38953
+ },
38954
+ "status": {
38955
+ "char": "s",
38956
+ "description": "Filter by endpoint status",
38957
+ "name": "status",
38958
+ "hasDynamicHelp": false,
38959
+ "multiple": false,
38960
+ "options": [
38961
+ "active",
38962
+ "not_registered"
38963
+ ],
38964
+ "type": "option"
38965
+ },
38966
+ "group-by": {
38967
+ "char": "g",
38968
+ "description": "Group output by field (type or site)",
38969
+ "name": "group-by",
38970
+ "hasDynamicHelp": false,
38971
+ "multiple": false,
38972
+ "options": [
38973
+ "type",
38974
+ "site"
38975
+ ],
38976
+ "type": "option"
38977
+ },
38978
+ "columns": {
38979
+ "char": "c",
38980
+ "description": "Columns to display (comma-separated). Available: type, apiName, apiVersion, cartridgeName, endpointPath, httpMethod, status, sites, securityScheme, operationId, schemaFile, implementationScript, errorReason, id",
38981
+ "name": "columns",
38982
+ "hasDynamicHelp": false,
38983
+ "multiple": false,
38984
+ "type": "option"
38985
+ },
38986
+ "extended": {
38987
+ "char": "x",
38988
+ "description": "Show all columns including extended fields",
38989
+ "name": "extended",
38990
+ "allowNo": false,
38991
+ "type": "boolean"
38154
38992
  }
38155
38993
  },
38156
38994
  "hasDynamicHelp": false,
38157
38995
  "hiddenAliases": [],
38158
- "id": "slas:client:get",
38996
+ "id": "scapi:custom:status",
38159
38997
  "pluginAlias": "@salesforce/b2c-cli",
38160
38998
  "pluginName": "@salesforce/b2c-cli",
38161
38999
  "pluginType": "core",
@@ -38165,18 +39003,26 @@
38165
39003
  "relativePath": [
38166
39004
  "dist",
38167
39005
  "commands",
38168
- "slas",
38169
- "client",
38170
- "get.js"
39006
+ "scapi",
39007
+ "custom",
39008
+ "status.js"
38171
39009
  ]
38172
39010
  },
38173
- "slas:client:list": {
39011
+ "slas:client:create": {
38174
39012
  "aliases": [],
38175
- "args": {},
38176
- "description": "List SLAS clients for a tenant\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-list",
39013
+ "args": {
39014
+ "clientId": {
39015
+ "description": "SLAS client ID to create or update (generates UUID if omitted)",
39016
+ "name": "clientId",
39017
+ "required": false
39018
+ }
39019
+ },
39020
+ "description": "Create or update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-create",
38177
39021
  "examples": [
38178
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
38179
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
39022
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
39023
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --public",
39024
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"My Client\" --channels RefArch --scopes sfcc.shopper-products --redirect-uri http://localhost:3000/callback --json",
39025
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
38180
39026
  ],
38181
39027
  "flags": {
38182
39028
  "json": {
@@ -38379,205 +39225,105 @@
38379
39225
  "hasDynamicHelp": false,
38380
39226
  "multiple": false,
38381
39227
  "type": "option"
38382
- }
38383
- },
38384
- "hasDynamicHelp": false,
38385
- "hiddenAliases": [],
38386
- "id": "slas:client:list",
38387
- "pluginAlias": "@salesforce/b2c-cli",
38388
- "pluginName": "@salesforce/b2c-cli",
38389
- "pluginType": "core",
38390
- "strict": true,
38391
- "enableJsonFlag": true,
38392
- "isESM": true,
38393
- "relativePath": [
38394
- "dist",
38395
- "commands",
38396
- "slas",
38397
- "client",
38398
- "list.js"
38399
- ]
38400
- },
38401
- "slas:client:open": {
38402
- "aliases": [],
38403
- "args": {
38404
- "clientId": {
38405
- "description": "SLAS client ID to open in the admin UI",
38406
- "name": "clientId",
38407
- "required": true
38408
- }
38409
- },
38410
- "description": "Open the SLAS Admin UI for a client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-open",
38411
- "examples": [
38412
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
38413
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
38414
- ],
38415
- "flags": {
38416
- "log-level": {
38417
- "description": "Set logging verbosity level",
38418
- "env": "SFCC_LOG_LEVEL",
38419
- "helpGroup": "GLOBAL",
38420
- "name": "log-level",
38421
- "hasDynamicHelp": false,
38422
- "multiple": false,
38423
- "options": [
38424
- "trace",
38425
- "debug",
38426
- "info",
38427
- "warn",
38428
- "error",
38429
- "silent"
38430
- ],
38431
- "type": "option"
38432
39228
  },
38433
- "debug": {
38434
- "char": "D",
38435
- "description": "Enable debug logging (shorthand for --log-level debug)",
38436
- "env": "SFCC_DEBUG",
38437
- "helpGroup": "GLOBAL",
38438
- "name": "debug",
38439
- "allowNo": false,
38440
- "type": "boolean"
38441
- },
38442
- "json": {
38443
- "description": "Output result as JSON",
38444
- "helpGroup": "GLOBAL",
38445
- "name": "json",
38446
- "allowNo": false,
38447
- "type": "boolean"
38448
- },
38449
- "jsonl": {
38450
- "aliases": [
38451
- "json-logs"
38452
- ],
38453
- "description": "Output log messages as JSON lines",
38454
- "env": "SFCC_JSON_LOGS",
38455
- "helpGroup": "GLOBAL",
38456
- "name": "jsonl",
38457
- "allowNo": false,
38458
- "type": "boolean"
38459
- },
38460
- "lang": {
38461
- "char": "L",
38462
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
38463
- "helpGroup": "GLOBAL",
38464
- "name": "lang",
39229
+ "name": {
39230
+ "description": "Display name for the client (generates timestamped name if omitted)",
39231
+ "name": "name",
38465
39232
  "hasDynamicHelp": false,
38466
39233
  "multiple": false,
38467
39234
  "type": "option"
38468
39235
  },
38469
- "config": {
38470
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
38471
- "env": "SFCC_CONFIG",
38472
- "helpGroup": "GLOBAL",
38473
- "name": "config",
39236
+ "channels": {
39237
+ "description": "Site IDs/channels (comma-separated)",
39238
+ "name": "channels",
39239
+ "required": true,
39240
+ "delimiter": ",",
38474
39241
  "hasDynamicHelp": false,
38475
- "multiple": false,
39242
+ "multiple": true,
38476
39243
  "type": "option"
38477
39244
  },
38478
- "instance": {
38479
- "char": "i",
38480
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
38481
- "env": "SFCC_INSTANCE",
38482
- "helpGroup": "GLOBAL",
38483
- "name": "instance",
39245
+ "scopes": {
39246
+ "description": "OAuth scopes for the client (comma-separated)",
39247
+ "name": "scopes",
39248
+ "required": false,
39249
+ "delimiter": ",",
38484
39250
  "hasDynamicHelp": false,
38485
- "multiple": false,
39251
+ "multiple": true,
38486
39252
  "type": "option"
38487
39253
  },
38488
- "project-directory": {
38489
- "aliases": [
38490
- "working-directory"
38491
- ],
38492
- "description": "Project directory",
38493
- "env": "SFCC_PROJECT_DIRECTORY",
38494
- "helpGroup": "GLOBAL",
38495
- "name": "project-directory",
38496
- "hasDynamicHelp": false,
38497
- "multiple": false,
38498
- "type": "option"
39254
+ "default-scopes": {
39255
+ "description": "Use default shopper scopes (can be combined with --scopes for additional scopes)",
39256
+ "name": "default-scopes",
39257
+ "allowNo": false,
39258
+ "type": "boolean"
38499
39259
  },
38500
- "extra-query": {
38501
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
38502
- "env": "SFCC_EXTRA_QUERY",
38503
- "helpGroup": "GLOBAL",
38504
- "hidden": true,
38505
- "name": "extra-query",
39260
+ "redirect-uri": {
39261
+ "description": "Redirect URIs (comma-separated)",
39262
+ "name": "redirect-uri",
39263
+ "required": true,
39264
+ "delimiter": ",",
38506
39265
  "hasDynamicHelp": false,
38507
- "multiple": false,
39266
+ "multiple": true,
38508
39267
  "type": "option"
38509
39268
  },
38510
- "extra-body": {
38511
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
38512
- "env": "SFCC_EXTRA_BODY",
38513
- "helpGroup": "GLOBAL",
38514
- "hidden": true,
38515
- "name": "extra-body",
39269
+ "callback-uri": {
39270
+ "description": "Callback URIs for passwordless login (comma-separated)",
39271
+ "name": "callback-uri",
39272
+ "delimiter": ",",
38516
39273
  "hasDynamicHelp": false,
38517
- "multiple": false,
39274
+ "multiple": true,
38518
39275
  "type": "option"
38519
39276
  },
38520
- "extra-headers": {
38521
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
38522
- "env": "SFCC_EXTRA_HEADERS",
38523
- "helpGroup": "GLOBAL",
38524
- "hidden": true,
38525
- "name": "extra-headers",
39277
+ "secret": {
39278
+ "description": "Client secret for private clients (if omitted, one will be generated)",
39279
+ "name": "secret",
38526
39280
  "hasDynamicHelp": false,
38527
39281
  "multiple": false,
38528
39282
  "type": "option"
38529
39283
  },
38530
- "tenant-id": {
38531
- "description": "SLAS tenant ID (organization ID)",
38532
- "env": "SFCC_TENANT_ID",
38533
- "name": "tenant-id",
38534
- "required": true,
38535
- "hasDynamicHelp": false,
38536
- "multiple": false,
38537
- "type": "option"
39284
+ "public": {
39285
+ "description": "Create a public client (default is private)",
39286
+ "name": "public",
39287
+ "allowNo": false,
39288
+ "type": "boolean"
38538
39289
  },
38539
- "short-code": {
38540
- "description": "SCAPI short code",
38541
- "env": "SFCC_SHORTCODE",
38542
- "name": "short-code",
38543
- "hasDynamicHelp": false,
38544
- "multiple": false,
38545
- "type": "option"
39290
+ "create-tenant": {
39291
+ "description": "Automatically create tenant if it does not exist",
39292
+ "name": "create-tenant",
39293
+ "allowNo": true,
39294
+ "type": "boolean"
38546
39295
  }
38547
39296
  },
38548
39297
  "hasDynamicHelp": false,
38549
39298
  "hiddenAliases": [],
38550
- "id": "slas:client:open",
39299
+ "id": "slas:client:create",
38551
39300
  "pluginAlias": "@salesforce/b2c-cli",
38552
39301
  "pluginName": "@salesforce/b2c-cli",
38553
39302
  "pluginType": "core",
38554
39303
  "strict": true,
38555
- "enableJsonFlag": false,
39304
+ "enableJsonFlag": true,
38556
39305
  "isESM": true,
38557
39306
  "relativePath": [
38558
39307
  "dist",
38559
39308
  "commands",
38560
39309
  "slas",
38561
39310
  "client",
38562
- "open.js"
39311
+ "create.js"
38563
39312
  ]
38564
39313
  },
38565
- "slas:client:update": {
39314
+ "slas:client:delete": {
38566
39315
  "aliases": [],
38567
39316
  "args": {
38568
39317
  "clientId": {
38569
- "description": "SLAS client ID to update",
39318
+ "description": "SLAS client ID to delete",
38570
39319
  "name": "clientId",
38571
39320
  "required": true
38572
39321
  }
38573
39322
  },
38574
- "description": "Update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-update",
39323
+ "description": "Delete a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-delete",
38575
39324
  "examples": [
38576
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
38577
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
38578
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
38579
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
38580
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
39325
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
39326
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
38581
39327
  ],
38582
39328
  "flags": {
38583
39329
  "json": {
@@ -38780,63 +39526,11 @@
38780
39526
  "hasDynamicHelp": false,
38781
39527
  "multiple": false,
38782
39528
  "type": "option"
38783
- },
38784
- "name": {
38785
- "description": "Display name for the client",
38786
- "name": "name",
38787
- "hasDynamicHelp": false,
38788
- "multiple": false,
38789
- "type": "option"
38790
- },
38791
- "secret": {
38792
- "description": "New client secret (rotates the existing secret)",
38793
- "name": "secret",
38794
- "hasDynamicHelp": false,
38795
- "multiple": false,
38796
- "type": "option"
38797
- },
38798
- "channels": {
38799
- "description": "Site IDs/channels (comma-separated)",
38800
- "name": "channels",
38801
- "delimiter": ",",
38802
- "hasDynamicHelp": false,
38803
- "multiple": true,
38804
- "type": "option"
38805
- },
38806
- "scopes": {
38807
- "description": "OAuth scopes for the client (comma-separated)",
38808
- "name": "scopes",
38809
- "delimiter": ",",
38810
- "hasDynamicHelp": false,
38811
- "multiple": true,
38812
- "type": "option"
38813
- },
38814
- "redirect-uri": {
38815
- "description": "Redirect URIs (comma-separated)",
38816
- "name": "redirect-uri",
38817
- "delimiter": ",",
38818
- "hasDynamicHelp": false,
38819
- "multiple": true,
38820
- "type": "option"
38821
- },
38822
- "callback-uri": {
38823
- "description": "Callback URIs for passwordless login (comma-separated)",
38824
- "name": "callback-uri",
38825
- "delimiter": ",",
38826
- "hasDynamicHelp": false,
38827
- "multiple": true,
38828
- "type": "option"
38829
- },
38830
- "replace": {
38831
- "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
38832
- "name": "replace",
38833
- "allowNo": false,
38834
- "type": "boolean"
38835
39529
  }
38836
39530
  },
38837
39531
  "hasDynamicHelp": false,
38838
39532
  "hiddenAliases": [],
38839
- "id": "slas:client:update",
39533
+ "id": "slas:client:delete",
38840
39534
  "pluginAlias": "@salesforce/b2c-cli",
38841
39535
  "pluginName": "@salesforce/b2c-cli",
38842
39536
  "pluginType": "core",
@@ -38848,23 +39542,22 @@
38848
39542
  "commands",
38849
39543
  "slas",
38850
39544
  "client",
38851
- "update.js"
39545
+ "delete.js"
38852
39546
  ]
38853
39547
  },
38854
- "setup:instance:create": {
39548
+ "slas:client:get": {
38855
39549
  "aliases": [],
38856
39550
  "args": {
38857
- "name": {
38858
- "description": "Instance name",
38859
- "name": "name"
39551
+ "clientId": {
39552
+ "description": "SLAS client ID to retrieve",
39553
+ "name": "clientId",
39554
+ "required": true
38860
39555
  }
38861
39556
  },
38862
- "description": "Create a new B2C Commerce instance configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-create",
39557
+ "description": "Get a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-get",
38863
39558
  "examples": [
38864
- "<%= config.bin %> <%= command.id %> staging",
38865
- "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com",
38866
- "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com --active",
38867
- "<%= config.bin %> <%= command.id %> staging --hostname staging.example.com --username admin --force"
39559
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
39560
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
38868
39561
  ],
38869
39562
  "flags": {
38870
39563
  "json": {
@@ -38981,65 +39674,97 @@
38981
39674
  "multiple": false,
38982
39675
  "type": "option"
38983
39676
  },
38984
- "hostname": {
38985
- "char": "s",
38986
- "description": "B2C instance hostname",
38987
- "name": "hostname",
39677
+ "client-id": {
39678
+ "description": "Client ID for OAuth",
39679
+ "env": "SFCC_CLIENT_ID",
39680
+ "helpGroup": "AUTH",
39681
+ "name": "client-id",
38988
39682
  "hasDynamicHelp": false,
38989
39683
  "multiple": false,
38990
39684
  "type": "option"
38991
39685
  },
38992
- "username": {
38993
- "description": "WebDAV username",
38994
- "name": "username",
39686
+ "client-secret": {
39687
+ "description": "Client Secret for OAuth",
39688
+ "env": "SFCC_CLIENT_SECRET",
39689
+ "helpGroup": "AUTH",
39690
+ "name": "client-secret",
38995
39691
  "hasDynamicHelp": false,
38996
39692
  "multiple": false,
38997
39693
  "type": "option"
38998
39694
  },
38999
- "password": {
39000
- "description": "WebDAV password",
39001
- "name": "password",
39695
+ "auth-scope": {
39696
+ "description": "OAuth scopes to request (comma-separated)",
39697
+ "env": "SFCC_OAUTH_SCOPES",
39698
+ "helpGroup": "AUTH",
39699
+ "name": "auth-scope",
39700
+ "delimiter": ",",
39002
39701
  "hasDynamicHelp": false,
39003
- "multiple": false,
39702
+ "multiple": true,
39004
39703
  "type": "option"
39005
39704
  },
39006
- "client-id": {
39007
- "description": "OAuth client ID",
39008
- "name": "client-id",
39705
+ "short-code": {
39706
+ "description": "SCAPI short code",
39707
+ "env": "SFCC_SHORTCODE",
39708
+ "helpGroup": "AUTH",
39709
+ "name": "short-code",
39009
39710
  "hasDynamicHelp": false,
39010
39711
  "multiple": false,
39011
39712
  "type": "option"
39012
39713
  },
39013
- "client-secret": {
39014
- "description": "OAuth client secret",
39015
- "name": "client-secret",
39714
+ "tenant-id": {
39715
+ "aliases": [
39716
+ "tenant"
39717
+ ],
39718
+ "description": "Organization/tenant ID",
39719
+ "env": "SFCC_TENANT_ID",
39720
+ "helpGroup": "AUTH",
39721
+ "name": "tenant-id",
39016
39722
  "hasDynamicHelp": false,
39017
39723
  "multiple": false,
39018
39724
  "type": "option"
39019
39725
  },
39020
- "code-version": {
39021
- "description": "Code version",
39022
- "name": "code-version",
39726
+ "auth-methods": {
39727
+ "description": "Allowed auth methods in priority order (comma-separated)",
39728
+ "env": "SFCC_AUTH_METHODS",
39729
+ "exclusive": [
39730
+ "user-auth"
39731
+ ],
39732
+ "helpGroup": "AUTH",
39733
+ "name": "auth-methods",
39734
+ "delimiter": ",",
39023
39735
  "hasDynamicHelp": false,
39024
- "multiple": false,
39736
+ "multiple": true,
39737
+ "options": [
39738
+ "client-credentials",
39739
+ "implicit",
39740
+ "basic",
39741
+ "api-key"
39742
+ ],
39025
39743
  "type": "option"
39026
39744
  },
39027
- "active": {
39028
- "description": "Set as active instance",
39029
- "name": "active",
39745
+ "user-auth": {
39746
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
39747
+ "exclusive": [
39748
+ "auth-methods"
39749
+ ],
39750
+ "helpGroup": "AUTH",
39751
+ "name": "user-auth",
39030
39752
  "allowNo": false,
39031
39753
  "type": "boolean"
39032
39754
  },
39033
- "force": {
39034
- "description": "Non-interactive mode (fail if required flags missing)",
39035
- "name": "force",
39036
- "allowNo": false,
39037
- "type": "boolean"
39755
+ "account-manager-host": {
39756
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
39757
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
39758
+ "helpGroup": "AUTH",
39759
+ "name": "account-manager-host",
39760
+ "hasDynamicHelp": false,
39761
+ "multiple": false,
39762
+ "type": "option"
39038
39763
  }
39039
39764
  },
39040
39765
  "hasDynamicHelp": false,
39041
39766
  "hiddenAliases": [],
39042
- "id": "setup:instance:create",
39767
+ "id": "slas:client:get",
39043
39768
  "pluginAlias": "@salesforce/b2c-cli",
39044
39769
  "pluginName": "@salesforce/b2c-cli",
39045
39770
  "pluginType": "core",
@@ -39049,21 +39774,27 @@
39049
39774
  "relativePath": [
39050
39775
  "dist",
39051
39776
  "commands",
39052
- "setup",
39053
- "instance",
39054
- "create.js"
39777
+ "slas",
39778
+ "client",
39779
+ "get.js"
39055
39780
  ]
39056
39781
  },
39057
- "setup:instance": {
39782
+ "slas:client:list": {
39058
39783
  "aliases": [],
39059
39784
  "args": {},
39060
- "description": "Create, list, and manage B2C Commerce instance configurations\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance",
39785
+ "description": "List SLAS clients for a tenant\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-list",
39061
39786
  "examples": [
39062
- "<%= config.bin %> setup instance create",
39063
- "<%= config.bin %> setup instance list",
39064
- "<%= config.bin %> setup instance set-active"
39787
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
39788
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
39065
39789
  ],
39066
39790
  "flags": {
39791
+ "json": {
39792
+ "description": "Output result as JSON",
39793
+ "helpGroup": "GLOBAL",
39794
+ "name": "json",
39795
+ "allowNo": false,
39796
+ "type": "boolean"
39797
+ },
39067
39798
  "log-level": {
39068
39799
  "description": "Set logging verbosity level",
39069
39800
  "env": "SFCC_LOG_LEVEL",
@@ -39090,13 +39821,6 @@
39090
39821
  "allowNo": false,
39091
39822
  "type": "boolean"
39092
39823
  },
39093
- "json": {
39094
- "description": "Output result as JSON",
39095
- "helpGroup": "GLOBAL",
39096
- "name": "json",
39097
- "allowNo": false,
39098
- "type": "boolean"
39099
- },
39100
39824
  "jsonl": {
39101
39825
  "aliases": [
39102
39826
  "json-logs"
@@ -39177,41 +39901,127 @@
39177
39901
  "hasDynamicHelp": false,
39178
39902
  "multiple": false,
39179
39903
  "type": "option"
39904
+ },
39905
+ "client-id": {
39906
+ "description": "Client ID for OAuth",
39907
+ "env": "SFCC_CLIENT_ID",
39908
+ "helpGroup": "AUTH",
39909
+ "name": "client-id",
39910
+ "hasDynamicHelp": false,
39911
+ "multiple": false,
39912
+ "type": "option"
39913
+ },
39914
+ "client-secret": {
39915
+ "description": "Client Secret for OAuth",
39916
+ "env": "SFCC_CLIENT_SECRET",
39917
+ "helpGroup": "AUTH",
39918
+ "name": "client-secret",
39919
+ "hasDynamicHelp": false,
39920
+ "multiple": false,
39921
+ "type": "option"
39922
+ },
39923
+ "auth-scope": {
39924
+ "description": "OAuth scopes to request (comma-separated)",
39925
+ "env": "SFCC_OAUTH_SCOPES",
39926
+ "helpGroup": "AUTH",
39927
+ "name": "auth-scope",
39928
+ "delimiter": ",",
39929
+ "hasDynamicHelp": false,
39930
+ "multiple": true,
39931
+ "type": "option"
39932
+ },
39933
+ "short-code": {
39934
+ "description": "SCAPI short code",
39935
+ "env": "SFCC_SHORTCODE",
39936
+ "helpGroup": "AUTH",
39937
+ "name": "short-code",
39938
+ "hasDynamicHelp": false,
39939
+ "multiple": false,
39940
+ "type": "option"
39941
+ },
39942
+ "tenant-id": {
39943
+ "aliases": [
39944
+ "tenant"
39945
+ ],
39946
+ "description": "Organization/tenant ID",
39947
+ "env": "SFCC_TENANT_ID",
39948
+ "helpGroup": "AUTH",
39949
+ "name": "tenant-id",
39950
+ "hasDynamicHelp": false,
39951
+ "multiple": false,
39952
+ "type": "option"
39953
+ },
39954
+ "auth-methods": {
39955
+ "description": "Allowed auth methods in priority order (comma-separated)",
39956
+ "env": "SFCC_AUTH_METHODS",
39957
+ "exclusive": [
39958
+ "user-auth"
39959
+ ],
39960
+ "helpGroup": "AUTH",
39961
+ "name": "auth-methods",
39962
+ "delimiter": ",",
39963
+ "hasDynamicHelp": false,
39964
+ "multiple": true,
39965
+ "options": [
39966
+ "client-credentials",
39967
+ "implicit",
39968
+ "basic",
39969
+ "api-key"
39970
+ ],
39971
+ "type": "option"
39972
+ },
39973
+ "user-auth": {
39974
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
39975
+ "exclusive": [
39976
+ "auth-methods"
39977
+ ],
39978
+ "helpGroup": "AUTH",
39979
+ "name": "user-auth",
39980
+ "allowNo": false,
39981
+ "type": "boolean"
39982
+ },
39983
+ "account-manager-host": {
39984
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
39985
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
39986
+ "helpGroup": "AUTH",
39987
+ "name": "account-manager-host",
39988
+ "hasDynamicHelp": false,
39989
+ "multiple": false,
39990
+ "type": "option"
39180
39991
  }
39181
39992
  },
39182
39993
  "hasDynamicHelp": false,
39183
39994
  "hiddenAliases": [],
39184
- "id": "setup:instance",
39995
+ "id": "slas:client:list",
39185
39996
  "pluginAlias": "@salesforce/b2c-cli",
39186
39997
  "pluginName": "@salesforce/b2c-cli",
39187
39998
  "pluginType": "core",
39188
39999
  "strict": true,
39189
- "enableJsonFlag": false,
40000
+ "enableJsonFlag": true,
39190
40001
  "isESM": true,
39191
40002
  "relativePath": [
39192
40003
  "dist",
39193
40004
  "commands",
39194
- "setup",
39195
- "instance",
39196
- "index.js"
40005
+ "slas",
40006
+ "client",
40007
+ "list.js"
39197
40008
  ]
39198
40009
  },
39199
- "setup:instance:list": {
40010
+ "slas:client:open": {
39200
40011
  "aliases": [],
39201
- "args": {},
39202
- "description": "List configured B2C Commerce instances\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-list",
40012
+ "args": {
40013
+ "clientId": {
40014
+ "description": "SLAS client ID to open in the admin UI",
40015
+ "name": "clientId",
40016
+ "required": true
40017
+ }
40018
+ },
40019
+ "description": "Open the SLAS Admin UI for a client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-open",
39203
40020
  "examples": [
39204
- "<%= config.bin %> <%= command.id %>",
39205
- "<%= config.bin %> <%= command.id %> --json"
40021
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
40022
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
39206
40023
  ],
39207
40024
  "flags": {
39208
- "json": {
39209
- "description": "Output result as JSON",
39210
- "helpGroup": "GLOBAL",
39211
- "name": "json",
39212
- "allowNo": false,
39213
- "type": "boolean"
39214
- },
39215
40025
  "log-level": {
39216
40026
  "description": "Set logging verbosity level",
39217
40027
  "env": "SFCC_LOG_LEVEL",
@@ -39238,6 +40048,13 @@
39238
40048
  "allowNo": false,
39239
40049
  "type": "boolean"
39240
40050
  },
40051
+ "json": {
40052
+ "description": "Output result as JSON",
40053
+ "helpGroup": "GLOBAL",
40054
+ "name": "json",
40055
+ "allowNo": false,
40056
+ "type": "boolean"
40057
+ },
39241
40058
  "jsonl": {
39242
40059
  "aliases": [
39243
40060
  "json-logs"
@@ -39318,38 +40135,58 @@
39318
40135
  "hasDynamicHelp": false,
39319
40136
  "multiple": false,
39320
40137
  "type": "option"
40138
+ },
40139
+ "tenant-id": {
40140
+ "description": "SLAS tenant ID (organization ID)",
40141
+ "env": "SFCC_TENANT_ID",
40142
+ "name": "tenant-id",
40143
+ "required": true,
40144
+ "hasDynamicHelp": false,
40145
+ "multiple": false,
40146
+ "type": "option"
40147
+ },
40148
+ "short-code": {
40149
+ "description": "SCAPI short code",
40150
+ "env": "SFCC_SHORTCODE",
40151
+ "name": "short-code",
40152
+ "hasDynamicHelp": false,
40153
+ "multiple": false,
40154
+ "type": "option"
39321
40155
  }
39322
40156
  },
39323
40157
  "hasDynamicHelp": false,
39324
40158
  "hiddenAliases": [],
39325
- "id": "setup:instance:list",
40159
+ "id": "slas:client:open",
39326
40160
  "pluginAlias": "@salesforce/b2c-cli",
39327
40161
  "pluginName": "@salesforce/b2c-cli",
39328
40162
  "pluginType": "core",
39329
40163
  "strict": true,
39330
- "enableJsonFlag": true,
40164
+ "enableJsonFlag": false,
39331
40165
  "isESM": true,
39332
40166
  "relativePath": [
39333
40167
  "dist",
39334
40168
  "commands",
39335
- "setup",
39336
- "instance",
39337
- "list.js"
40169
+ "slas",
40170
+ "client",
40171
+ "open.js"
39338
40172
  ]
39339
40173
  },
39340
- "setup:instance:remove": {
40174
+ "slas:client:update": {
39341
40175
  "aliases": [],
39342
40176
  "args": {
39343
- "name": {
39344
- "description": "Instance name to remove",
39345
- "name": "name",
40177
+ "clientId": {
40178
+ "description": "SLAS client ID to update",
40179
+ "name": "clientId",
39346
40180
  "required": true
39347
40181
  }
39348
40182
  },
39349
- "description": "Remove a B2C Commerce instance configuration\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-remove",
40183
+ "description": "Update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-update",
39350
40184
  "examples": [
39351
- "<%= config.bin %> <%= command.id %> staging",
39352
- "<%= config.bin %> <%= command.id %> staging --force"
40185
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
40186
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
40187
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
40188
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
40189
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
39353
40190
  ],
39354
40191
  "flags": {
39355
40192
  "json": {
@@ -39466,162 +40303,149 @@
39466
40303
  "multiple": false,
39467
40304
  "type": "option"
39468
40305
  },
39469
- "force": {
39470
- "description": "Skip confirmation prompt",
39471
- "name": "force",
39472
- "allowNo": false,
39473
- "type": "boolean"
39474
- }
39475
- },
39476
- "hasDynamicHelp": false,
39477
- "hiddenAliases": [],
39478
- "id": "setup:instance:remove",
39479
- "pluginAlias": "@salesforce/b2c-cli",
39480
- "pluginName": "@salesforce/b2c-cli",
39481
- "pluginType": "core",
39482
- "strict": true,
39483
- "enableJsonFlag": true,
39484
- "isESM": true,
39485
- "relativePath": [
39486
- "dist",
39487
- "commands",
39488
- "setup",
39489
- "instance",
39490
- "remove.js"
39491
- ]
39492
- },
39493
- "setup:instance:set-active": {
39494
- "aliases": [],
39495
- "args": {
39496
- "name": {
39497
- "description": "Instance name to set as active",
39498
- "name": "name"
39499
- }
39500
- },
39501
- "description": "Set a B2C Commerce instance as the default (active) instance\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/setup.html#b2c-setup-instance-set-active",
39502
- "examples": [
39503
- "<%= config.bin %> <%= command.id %> staging",
39504
- "<%= config.bin %> <%= command.id %> production"
39505
- ],
39506
- "flags": {
39507
- "json": {
39508
- "description": "Output result as JSON",
39509
- "helpGroup": "GLOBAL",
39510
- "name": "json",
39511
- "allowNo": false,
39512
- "type": "boolean"
40306
+ "client-id": {
40307
+ "description": "Client ID for OAuth",
40308
+ "env": "SFCC_CLIENT_ID",
40309
+ "helpGroup": "AUTH",
40310
+ "name": "client-id",
40311
+ "hasDynamicHelp": false,
40312
+ "multiple": false,
40313
+ "type": "option"
39513
40314
  },
39514
- "log-level": {
39515
- "description": "Set logging verbosity level",
39516
- "env": "SFCC_LOG_LEVEL",
39517
- "helpGroup": "GLOBAL",
39518
- "name": "log-level",
40315
+ "client-secret": {
40316
+ "description": "Client Secret for OAuth",
40317
+ "env": "SFCC_CLIENT_SECRET",
40318
+ "helpGroup": "AUTH",
40319
+ "name": "client-secret",
39519
40320
  "hasDynamicHelp": false,
39520
40321
  "multiple": false,
39521
- "options": [
39522
- "trace",
39523
- "debug",
39524
- "info",
39525
- "warn",
39526
- "error",
39527
- "silent"
39528
- ],
39529
40322
  "type": "option"
39530
40323
  },
39531
- "debug": {
39532
- "char": "D",
39533
- "description": "Enable debug logging (shorthand for --log-level debug)",
39534
- "env": "SFCC_DEBUG",
39535
- "helpGroup": "GLOBAL",
39536
- "name": "debug",
39537
- "allowNo": false,
39538
- "type": "boolean"
40324
+ "auth-scope": {
40325
+ "description": "OAuth scopes to request (comma-separated)",
40326
+ "env": "SFCC_OAUTH_SCOPES",
40327
+ "helpGroup": "AUTH",
40328
+ "name": "auth-scope",
40329
+ "delimiter": ",",
40330
+ "hasDynamicHelp": false,
40331
+ "multiple": true,
40332
+ "type": "option"
39539
40333
  },
39540
- "jsonl": {
40334
+ "short-code": {
40335
+ "description": "SCAPI short code",
40336
+ "env": "SFCC_SHORTCODE",
40337
+ "helpGroup": "AUTH",
40338
+ "name": "short-code",
40339
+ "hasDynamicHelp": false,
40340
+ "multiple": false,
40341
+ "type": "option"
40342
+ },
40343
+ "tenant-id": {
39541
40344
  "aliases": [
39542
- "json-logs"
40345
+ "tenant"
39543
40346
  ],
39544
- "description": "Output log messages as JSON lines",
39545
- "env": "SFCC_JSON_LOGS",
39546
- "helpGroup": "GLOBAL",
39547
- "name": "jsonl",
40347
+ "description": "Organization/tenant ID",
40348
+ "env": "SFCC_TENANT_ID",
40349
+ "helpGroup": "AUTH",
40350
+ "name": "tenant-id",
40351
+ "hasDynamicHelp": false,
40352
+ "multiple": false,
40353
+ "type": "option"
40354
+ },
40355
+ "auth-methods": {
40356
+ "description": "Allowed auth methods in priority order (comma-separated)",
40357
+ "env": "SFCC_AUTH_METHODS",
40358
+ "exclusive": [
40359
+ "user-auth"
40360
+ ],
40361
+ "helpGroup": "AUTH",
40362
+ "name": "auth-methods",
40363
+ "delimiter": ",",
40364
+ "hasDynamicHelp": false,
40365
+ "multiple": true,
40366
+ "options": [
40367
+ "client-credentials",
40368
+ "implicit",
40369
+ "basic",
40370
+ "api-key"
40371
+ ],
40372
+ "type": "option"
40373
+ },
40374
+ "user-auth": {
40375
+ "description": "Use browser-based user authentication (implicit OAuth flow)",
40376
+ "exclusive": [
40377
+ "auth-methods"
40378
+ ],
40379
+ "helpGroup": "AUTH",
40380
+ "name": "user-auth",
39548
40381
  "allowNo": false,
39549
40382
  "type": "boolean"
39550
40383
  },
39551
- "lang": {
39552
- "char": "L",
39553
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
39554
- "helpGroup": "GLOBAL",
39555
- "name": "lang",
40384
+ "account-manager-host": {
40385
+ "description": "Account Manager hostname for OAuth (default: account.demandware.com)",
40386
+ "env": "SFCC_ACCOUNT_MANAGER_HOST",
40387
+ "helpGroup": "AUTH",
40388
+ "name": "account-manager-host",
39556
40389
  "hasDynamicHelp": false,
39557
40390
  "multiple": false,
39558
40391
  "type": "option"
39559
40392
  },
39560
- "config": {
39561
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
39562
- "env": "SFCC_CONFIG",
39563
- "helpGroup": "GLOBAL",
39564
- "name": "config",
40393
+ "name": {
40394
+ "description": "Display name for the client",
40395
+ "name": "name",
39565
40396
  "hasDynamicHelp": false,
39566
40397
  "multiple": false,
39567
40398
  "type": "option"
39568
40399
  },
39569
- "instance": {
39570
- "char": "i",
39571
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
39572
- "env": "SFCC_INSTANCE",
39573
- "helpGroup": "GLOBAL",
39574
- "name": "instance",
40400
+ "secret": {
40401
+ "description": "New client secret (rotates the existing secret)",
40402
+ "name": "secret",
39575
40403
  "hasDynamicHelp": false,
39576
40404
  "multiple": false,
39577
40405
  "type": "option"
39578
40406
  },
39579
- "project-directory": {
39580
- "aliases": [
39581
- "working-directory"
39582
- ],
39583
- "description": "Project directory",
39584
- "env": "SFCC_PROJECT_DIRECTORY",
39585
- "helpGroup": "GLOBAL",
39586
- "name": "project-directory",
40407
+ "channels": {
40408
+ "description": "Site IDs/channels (comma-separated)",
40409
+ "name": "channels",
40410
+ "delimiter": ",",
39587
40411
  "hasDynamicHelp": false,
39588
- "multiple": false,
40412
+ "multiple": true,
39589
40413
  "type": "option"
39590
40414
  },
39591
- "extra-query": {
39592
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
39593
- "env": "SFCC_EXTRA_QUERY",
39594
- "helpGroup": "GLOBAL",
39595
- "hidden": true,
39596
- "name": "extra-query",
40415
+ "scopes": {
40416
+ "description": "OAuth scopes for the client (comma-separated)",
40417
+ "name": "scopes",
40418
+ "delimiter": ",",
39597
40419
  "hasDynamicHelp": false,
39598
- "multiple": false,
40420
+ "multiple": true,
39599
40421
  "type": "option"
39600
40422
  },
39601
- "extra-body": {
39602
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
39603
- "env": "SFCC_EXTRA_BODY",
39604
- "helpGroup": "GLOBAL",
39605
- "hidden": true,
39606
- "name": "extra-body",
40423
+ "redirect-uri": {
40424
+ "description": "Redirect URIs (comma-separated)",
40425
+ "name": "redirect-uri",
40426
+ "delimiter": ",",
39607
40427
  "hasDynamicHelp": false,
39608
- "multiple": false,
40428
+ "multiple": true,
39609
40429
  "type": "option"
39610
40430
  },
39611
- "extra-headers": {
39612
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
39613
- "env": "SFCC_EXTRA_HEADERS",
39614
- "helpGroup": "GLOBAL",
39615
- "hidden": true,
39616
- "name": "extra-headers",
40431
+ "callback-uri": {
40432
+ "description": "Callback URIs for passwordless login (comma-separated)",
40433
+ "name": "callback-uri",
40434
+ "delimiter": ",",
39617
40435
  "hasDynamicHelp": false,
39618
- "multiple": false,
40436
+ "multiple": true,
39619
40437
  "type": "option"
40438
+ },
40439
+ "replace": {
40440
+ "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
40441
+ "name": "replace",
40442
+ "allowNo": false,
40443
+ "type": "boolean"
39620
40444
  }
39621
40445
  },
39622
40446
  "hasDynamicHelp": false,
39623
40447
  "hiddenAliases": [],
39624
- "id": "setup:instance:set-active",
40448
+ "id": "slas:client:update",
39625
40449
  "pluginAlias": "@salesforce/b2c-cli",
39626
40450
  "pluginName": "@salesforce/b2c-cli",
39627
40451
  "pluginType": "core",
@@ -39631,9 +40455,9 @@
39631
40455
  "relativePath": [
39632
40456
  "dist",
39633
40457
  "commands",
39634
- "setup",
39635
- "instance",
39636
- "set-active.js"
40458
+ "slas",
40459
+ "client",
40460
+ "update.js"
39637
40461
  ]
39638
40462
  },
39639
40463
  "ecdn:logpush:jobs:create": {
@@ -44506,14 +45330,13 @@
44506
45330
  "update.js"
44507
45331
  ]
44508
45332
  },
44509
- "ecdn:waf:managed-rules:list": {
45333
+ "ecdn:waf:owasp:get": {
44510
45334
  "aliases": [],
44511
45335
  "args": {},
44512
- "description": "List WAF v2 managed rules in a ruleset\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-managed-rules-list",
45336
+ "description": "Get OWASP ModSecurity package settings for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-owasp-get",
44513
45337
  "examples": [
44514
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123",
44515
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --extended",
44516
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --json"
45338
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
45339
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
44517
45340
  ],
44518
45341
  "flags": {
44519
45342
  "json": {
@@ -44725,34 +45548,11 @@
44725
45548
  "hasDynamicHelp": false,
44726
45549
  "multiple": false,
44727
45550
  "type": "option"
44728
- },
44729
- "ruleset-id": {
44730
- "description": "WAF ruleset ID to list rules for",
44731
- "name": "ruleset-id",
44732
- "required": true,
44733
- "hasDynamicHelp": false,
44734
- "multiple": false,
44735
- "type": "option"
44736
- },
44737
- "columns": {
44738
- "char": "c",
44739
- "description": "Columns to display (comma-separated). Available: ruleId, description, action, enabled, categories, score",
44740
- "name": "columns",
44741
- "hasDynamicHelp": false,
44742
- "multiple": false,
44743
- "type": "option"
44744
- },
44745
- "extended": {
44746
- "char": "x",
44747
- "description": "Show all columns including extended fields",
44748
- "name": "extended",
44749
- "allowNo": false,
44750
- "type": "boolean"
44751
45551
  }
44752
45552
  },
44753
45553
  "hasDynamicHelp": false,
44754
45554
  "hiddenAliases": [],
44755
- "id": "ecdn:waf:managed-rules:list",
45555
+ "id": "ecdn:waf:owasp:get",
44756
45556
  "pluginAlias": "@salesforce/b2c-cli",
44757
45557
  "pluginName": "@salesforce/b2c-cli",
44758
45558
  "pluginType": "core",
@@ -44763,18 +45563,18 @@
44763
45563
  "commands",
44764
45564
  "ecdn",
44765
45565
  "waf",
44766
- "managed-rules",
44767
- "list.js"
45566
+ "owasp",
45567
+ "get.js"
44768
45568
  ]
44769
45569
  },
44770
- "ecdn:waf:managed-rules:update": {
45570
+ "ecdn:waf:owasp:update": {
44771
45571
  "aliases": [],
44772
45572
  "args": {},
44773
- "description": "Update a WAF v2 managed rule in a ruleset\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-managed-rules-update",
45573
+ "description": "Update OWASP ModSecurity package settings for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-owasp-update",
44774
45574
  "examples": [
44775
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --enabled",
44776
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --action block",
44777
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --no-enabled"
45575
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity medium --action-mode block",
45576
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity high --action-mode challenge",
45577
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity off"
44778
45578
  ],
44779
45579
  "flags": {
44780
45580
  "json": {
@@ -44987,39 +45787,37 @@
44987
45787
  "multiple": false,
44988
45788
  "type": "option"
44989
45789
  },
44990
- "ruleset-id": {
44991
- "description": "WAF ruleset ID containing the rule",
44992
- "name": "ruleset-id",
45790
+ "sensitivity": {
45791
+ "description": "Sensitivity level (low, medium, high, off)",
45792
+ "name": "sensitivity",
44993
45793
  "required": true,
44994
45794
  "hasDynamicHelp": false,
44995
45795
  "multiple": false,
45796
+ "options": [
45797
+ "low",
45798
+ "medium",
45799
+ "high",
45800
+ "off"
45801
+ ],
44996
45802
  "type": "option"
44997
45803
  },
44998
- "rule-id": {
44999
- "description": "WAF managed rule ID to update",
45000
- "name": "rule-id",
45804
+ "action-mode": {
45805
+ "description": "Action mode (simulate, challenge, block)",
45806
+ "name": "action-mode",
45001
45807
  "required": true,
45002
45808
  "hasDynamicHelp": false,
45003
45809
  "multiple": false,
45004
- "type": "option"
45005
- },
45006
- "enabled": {
45007
- "description": "Enable the rule",
45008
- "name": "enabled",
45009
- "allowNo": true,
45010
- "type": "boolean"
45011
- },
45012
- "action": {
45013
- "description": "Action for the rule (e.g., default, block, challenge)",
45014
- "name": "action",
45015
- "hasDynamicHelp": false,
45016
- "multiple": false,
45810
+ "options": [
45811
+ "simulate",
45812
+ "challenge",
45813
+ "block"
45814
+ ],
45017
45815
  "type": "option"
45018
45816
  }
45019
45817
  },
45020
45818
  "hasDynamicHelp": false,
45021
45819
  "hiddenAliases": [],
45022
- "id": "ecdn:waf:managed-rules:update",
45820
+ "id": "ecdn:waf:owasp:update",
45023
45821
  "pluginAlias": "@salesforce/b2c-cli",
45024
45822
  "pluginName": "@salesforce/b2c-cli",
45025
45823
  "pluginType": "core",
@@ -45030,17 +45828,17 @@
45030
45828
  "commands",
45031
45829
  "ecdn",
45032
45830
  "waf",
45033
- "managed-rules",
45831
+ "owasp",
45034
45832
  "update.js"
45035
45833
  ]
45036
45834
  },
45037
- "ecdn:waf:owasp:get": {
45835
+ "ecdn:waf:rules:get": {
45038
45836
  "aliases": [],
45039
45837
  "args": {},
45040
- "description": "Get OWASP ModSecurity package settings for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-owasp-get",
45838
+ "description": "Get a WAF v1 rule for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-get",
45041
45839
  "examples": [
45042
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
45043
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
45840
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123",
45841
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --json"
45044
45842
  ],
45045
45843
  "flags": {
45046
45844
  "json": {
@@ -45252,11 +46050,19 @@
45252
46050
  "hasDynamicHelp": false,
45253
46051
  "multiple": false,
45254
46052
  "type": "option"
46053
+ },
46054
+ "rule-id": {
46055
+ "description": "WAF rule ID to get",
46056
+ "name": "rule-id",
46057
+ "required": true,
46058
+ "hasDynamicHelp": false,
46059
+ "multiple": false,
46060
+ "type": "option"
45255
46061
  }
45256
46062
  },
45257
46063
  "hasDynamicHelp": false,
45258
46064
  "hiddenAliases": [],
45259
- "id": "ecdn:waf:owasp:get",
46065
+ "id": "ecdn:waf:rules:get",
45260
46066
  "pluginAlias": "@salesforce/b2c-cli",
45261
46067
  "pluginName": "@salesforce/b2c-cli",
45262
46068
  "pluginType": "core",
@@ -45267,18 +46073,17 @@
45267
46073
  "commands",
45268
46074
  "ecdn",
45269
46075
  "waf",
45270
- "owasp",
46076
+ "rules",
45271
46077
  "get.js"
45272
46078
  ]
45273
46079
  },
45274
- "ecdn:waf:owasp:update": {
46080
+ "ecdn:waf:rules:list": {
45275
46081
  "aliases": [],
45276
46082
  "args": {},
45277
- "description": "Update OWASP ModSecurity package settings for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-owasp-update",
46083
+ "description": "List WAF v1 rules for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-list",
45278
46084
  "examples": [
45279
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity medium --action-mode block",
45280
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity high --action-mode challenge",
45281
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --sensitivity off"
46085
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --group-id abc123",
46086
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --group-id abc123 --json"
45282
46087
  ],
45283
46088
  "flags": {
45284
46089
  "json": {
@@ -45491,37 +46296,33 @@
45491
46296
  "multiple": false,
45492
46297
  "type": "option"
45493
46298
  },
45494
- "sensitivity": {
45495
- "description": "Sensitivity level (low, medium, high, off)",
45496
- "name": "sensitivity",
46299
+ "group-id": {
46300
+ "description": "WAF group ID to list rules for",
46301
+ "name": "group-id",
45497
46302
  "required": true,
45498
46303
  "hasDynamicHelp": false,
45499
46304
  "multiple": false,
45500
- "options": [
45501
- "low",
45502
- "medium",
45503
- "high",
45504
- "off"
45505
- ],
45506
46305
  "type": "option"
45507
46306
  },
45508
- "action-mode": {
45509
- "description": "Action mode (simulate, challenge, block)",
45510
- "name": "action-mode",
45511
- "required": true,
46307
+ "columns": {
46308
+ "char": "c",
46309
+ "description": "Columns to display (comma-separated). Available: ruleId, groupId, description, action, defaultAction",
46310
+ "name": "columns",
45512
46311
  "hasDynamicHelp": false,
45513
46312
  "multiple": false,
45514
- "options": [
45515
- "simulate",
45516
- "challenge",
45517
- "block"
45518
- ],
45519
46313
  "type": "option"
46314
+ },
46315
+ "extended": {
46316
+ "char": "x",
46317
+ "description": "Show all columns including extended fields",
46318
+ "name": "extended",
46319
+ "allowNo": false,
46320
+ "type": "boolean"
45520
46321
  }
45521
46322
  },
45522
46323
  "hasDynamicHelp": false,
45523
46324
  "hiddenAliases": [],
45524
- "id": "ecdn:waf:owasp:update",
46325
+ "id": "ecdn:waf:rules:list",
45525
46326
  "pluginAlias": "@salesforce/b2c-cli",
45526
46327
  "pluginName": "@salesforce/b2c-cli",
45527
46328
  "pluginType": "core",
@@ -45532,17 +46333,17 @@
45532
46333
  "commands",
45533
46334
  "ecdn",
45534
46335
  "waf",
45535
- "owasp",
45536
- "update.js"
46336
+ "rules",
46337
+ "list.js"
45537
46338
  ]
45538
46339
  },
45539
- "ecdn:waf:rules:get": {
46340
+ "ecdn:waf:rules:update": {
45540
46341
  "aliases": [],
45541
46342
  "args": {},
45542
- "description": "Get a WAF v1 rule for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-get",
46343
+ "description": "Update a WAF v1 rule for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-update",
45543
46344
  "examples": [
45544
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123",
45545
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --json"
46345
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --action block",
46346
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --action monitor"
45546
46347
  ],
45547
46348
  "flags": {
45548
46349
  "json": {
@@ -45756,17 +46557,32 @@
45756
46557
  "type": "option"
45757
46558
  },
45758
46559
  "rule-id": {
45759
- "description": "WAF rule ID to get",
46560
+ "description": "WAF rule ID to update",
45760
46561
  "name": "rule-id",
45761
46562
  "required": true,
45762
46563
  "hasDynamicHelp": false,
45763
46564
  "multiple": false,
45764
46565
  "type": "option"
46566
+ },
46567
+ "action": {
46568
+ "description": "Action for the WAF rule",
46569
+ "name": "action",
46570
+ "required": true,
46571
+ "hasDynamicHelp": false,
46572
+ "multiple": false,
46573
+ "options": [
46574
+ "block",
46575
+ "challenge",
46576
+ "monitor",
46577
+ "disable",
46578
+ "default"
46579
+ ],
46580
+ "type": "option"
45765
46581
  }
45766
46582
  },
45767
46583
  "hasDynamicHelp": false,
45768
46584
  "hiddenAliases": [],
45769
- "id": "ecdn:waf:rules:get",
46585
+ "id": "ecdn:waf:rules:update",
45770
46586
  "pluginAlias": "@salesforce/b2c-cli",
45771
46587
  "pluginName": "@salesforce/b2c-cli",
45772
46588
  "pluginType": "core",
@@ -45778,16 +46594,17 @@
45778
46594
  "ecdn",
45779
46595
  "waf",
45780
46596
  "rules",
45781
- "get.js"
46597
+ "update.js"
45782
46598
  ]
45783
46599
  },
45784
- "ecdn:waf:rules:list": {
46600
+ "ecdn:waf:rulesets:list": {
45785
46601
  "aliases": [],
45786
46602
  "args": {},
45787
- "description": "List WAF v1 rules for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-list",
46603
+ "description": "List WAF v2 managed rulesets for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-list",
45788
46604
  "examples": [
45789
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --group-id abc123",
45790
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --group-id abc123 --json"
46605
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
46606
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --extended",
46607
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
45791
46608
  ],
45792
46609
  "flags": {
45793
46610
  "json": {
@@ -46000,17 +46817,9 @@
46000
46817
  "multiple": false,
46001
46818
  "type": "option"
46002
46819
  },
46003
- "group-id": {
46004
- "description": "WAF group ID to list rules for",
46005
- "name": "group-id",
46006
- "required": true,
46007
- "hasDynamicHelp": false,
46008
- "multiple": false,
46009
- "type": "option"
46010
- },
46011
46820
  "columns": {
46012
46821
  "char": "c",
46013
- "description": "Columns to display (comma-separated). Available: ruleId, groupId, description, action, defaultAction",
46822
+ "description": "Columns to display (comma-separated). Available: rulesetId, name, enabled, action, paranoiaLevel, anomalyScore",
46014
46823
  "name": "columns",
46015
46824
  "hasDynamicHelp": false,
46016
46825
  "multiple": false,
@@ -46026,7 +46835,7 @@
46026
46835
  },
46027
46836
  "hasDynamicHelp": false,
46028
46837
  "hiddenAliases": [],
46029
- "id": "ecdn:waf:rules:list",
46838
+ "id": "ecdn:waf:rulesets:list",
46030
46839
  "pluginAlias": "@salesforce/b2c-cli",
46031
46840
  "pluginName": "@salesforce/b2c-cli",
46032
46841
  "pluginType": "core",
@@ -46037,17 +46846,18 @@
46037
46846
  "commands",
46038
46847
  "ecdn",
46039
46848
  "waf",
46040
- "rules",
46849
+ "rulesets",
46041
46850
  "list.js"
46042
46851
  ]
46043
46852
  },
46044
- "ecdn:waf:rules:update": {
46853
+ "ecdn:waf:rulesets:update": {
46045
46854
  "aliases": [],
46046
46855
  "args": {},
46047
- "description": "Update a WAF v1 rule for a zone (not applicable for WAFv2 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rules-update",
46856
+ "description": "Update a WAF v2 managed ruleset for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-update",
46048
46857
  "examples": [
46049
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --action block",
46050
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --rule-id abc123 --action monitor"
46858
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --enabled",
46859
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --action block",
46860
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --paranoia-level 2"
46051
46861
  ],
46052
46862
  "flags": {
46053
46863
  "json": {
@@ -46260,33 +47070,45 @@
46260
47070
  "multiple": false,
46261
47071
  "type": "option"
46262
47072
  },
46263
- "rule-id": {
46264
- "description": "WAF rule ID to update",
46265
- "name": "rule-id",
47073
+ "ruleset-id": {
47074
+ "description": "WAF ruleset ID to update",
47075
+ "name": "ruleset-id",
46266
47076
  "required": true,
46267
47077
  "hasDynamicHelp": false,
46268
47078
  "multiple": false,
46269
47079
  "type": "option"
46270
47080
  },
47081
+ "enabled": {
47082
+ "description": "Enable the ruleset",
47083
+ "name": "enabled",
47084
+ "allowNo": true,
47085
+ "type": "boolean"
47086
+ },
46271
47087
  "action": {
46272
- "description": "Action for the WAF rule",
47088
+ "description": "Action for the ruleset (e.g., default, block, challenge)",
46273
47089
  "name": "action",
46274
- "required": true,
46275
47090
  "hasDynamicHelp": false,
46276
47091
  "multiple": false,
46277
- "options": [
46278
- "block",
46279
- "challenge",
46280
- "monitor",
46281
- "disable",
46282
- "default"
46283
- ],
47092
+ "type": "option"
47093
+ },
47094
+ "anomaly-score": {
47095
+ "description": "Anomaly score threshold (for OWASP ruleset)",
47096
+ "name": "anomaly-score",
47097
+ "hasDynamicHelp": false,
47098
+ "multiple": false,
47099
+ "type": "option"
47100
+ },
47101
+ "paranoia-level": {
47102
+ "description": "Paranoia level 1-4 (for OWASP ruleset)",
47103
+ "name": "paranoia-level",
47104
+ "hasDynamicHelp": false,
47105
+ "multiple": false,
46284
47106
  "type": "option"
46285
47107
  }
46286
47108
  },
46287
47109
  "hasDynamicHelp": false,
46288
47110
  "hiddenAliases": [],
46289
- "id": "ecdn:waf:rules:update",
47111
+ "id": "ecdn:waf:rulesets:update",
46290
47112
  "pluginAlias": "@salesforce/b2c-cli",
46291
47113
  "pluginName": "@salesforce/b2c-cli",
46292
47114
  "pluginType": "core",
@@ -46297,18 +47119,18 @@
46297
47119
  "commands",
46298
47120
  "ecdn",
46299
47121
  "waf",
46300
- "rules",
47122
+ "rulesets",
46301
47123
  "update.js"
46302
47124
  ]
46303
47125
  },
46304
- "ecdn:waf:rulesets:list": {
47126
+ "ecdn:waf:managed-rules:list": {
46305
47127
  "aliases": [],
46306
47128
  "args": {},
46307
- "description": "List WAF v2 managed rulesets for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-list",
47129
+ "description": "List WAF v2 managed rules in a ruleset\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-managed-rules-list",
46308
47130
  "examples": [
46309
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
46310
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --extended",
46311
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
47131
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123",
47132
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --extended",
47133
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --json"
46312
47134
  ],
46313
47135
  "flags": {
46314
47136
  "json": {
@@ -46521,9 +47343,17 @@
46521
47343
  "multiple": false,
46522
47344
  "type": "option"
46523
47345
  },
47346
+ "ruleset-id": {
47347
+ "description": "WAF ruleset ID to list rules for",
47348
+ "name": "ruleset-id",
47349
+ "required": true,
47350
+ "hasDynamicHelp": false,
47351
+ "multiple": false,
47352
+ "type": "option"
47353
+ },
46524
47354
  "columns": {
46525
47355
  "char": "c",
46526
- "description": "Columns to display (comma-separated). Available: rulesetId, name, enabled, action, paranoiaLevel, anomalyScore",
47356
+ "description": "Columns to display (comma-separated). Available: ruleId, description, action, enabled, categories, score",
46527
47357
  "name": "columns",
46528
47358
  "hasDynamicHelp": false,
46529
47359
  "multiple": false,
@@ -46539,7 +47369,7 @@
46539
47369
  },
46540
47370
  "hasDynamicHelp": false,
46541
47371
  "hiddenAliases": [],
46542
- "id": "ecdn:waf:rulesets:list",
47372
+ "id": "ecdn:waf:managed-rules:list",
46543
47373
  "pluginAlias": "@salesforce/b2c-cli",
46544
47374
  "pluginName": "@salesforce/b2c-cli",
46545
47375
  "pluginType": "core",
@@ -46550,18 +47380,18 @@
46550
47380
  "commands",
46551
47381
  "ecdn",
46552
47382
  "waf",
46553
- "rulesets",
47383
+ "managed-rules",
46554
47384
  "list.js"
46555
47385
  ]
46556
47386
  },
46557
- "ecdn:waf:rulesets:update": {
47387
+ "ecdn:waf:managed-rules:update": {
46558
47388
  "aliases": [],
46559
47389
  "args": {},
46560
- "description": "Update a WAF v2 managed ruleset for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-rulesets-update",
47390
+ "description": "Update a WAF v2 managed rule in a ruleset\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-managed-rules-update",
46561
47391
  "examples": [
46562
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --enabled",
46563
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --action block",
46564
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --paranoia-level 2"
47392
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --enabled",
47393
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --action block",
47394
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id abc123 --rule-id def456 --no-enabled"
46565
47395
  ],
46566
47396
  "flags": {
46567
47397
  "json": {
@@ -46775,44 +47605,38 @@
46775
47605
  "type": "option"
46776
47606
  },
46777
47607
  "ruleset-id": {
46778
- "description": "WAF ruleset ID to update",
47608
+ "description": "WAF ruleset ID containing the rule",
46779
47609
  "name": "ruleset-id",
46780
47610
  "required": true,
46781
47611
  "hasDynamicHelp": false,
46782
47612
  "multiple": false,
46783
47613
  "type": "option"
46784
47614
  },
47615
+ "rule-id": {
47616
+ "description": "WAF managed rule ID to update",
47617
+ "name": "rule-id",
47618
+ "required": true,
47619
+ "hasDynamicHelp": false,
47620
+ "multiple": false,
47621
+ "type": "option"
47622
+ },
46785
47623
  "enabled": {
46786
- "description": "Enable the ruleset",
47624
+ "description": "Enable the rule",
46787
47625
  "name": "enabled",
46788
47626
  "allowNo": true,
46789
47627
  "type": "boolean"
46790
47628
  },
46791
47629
  "action": {
46792
- "description": "Action for the ruleset (e.g., default, block, challenge)",
47630
+ "description": "Action for the rule (e.g., default, block, challenge)",
46793
47631
  "name": "action",
46794
47632
  "hasDynamicHelp": false,
46795
47633
  "multiple": false,
46796
47634
  "type": "option"
46797
- },
46798
- "anomaly-score": {
46799
- "description": "Anomaly score threshold (for OWASP ruleset)",
46800
- "name": "anomaly-score",
46801
- "hasDynamicHelp": false,
46802
- "multiple": false,
46803
- "type": "option"
46804
- },
46805
- "paranoia-level": {
46806
- "description": "Paranoia level 1-4 (for OWASP ruleset)",
46807
- "name": "paranoia-level",
46808
- "hasDynamicHelp": false,
46809
- "multiple": false,
46810
- "type": "option"
46811
47635
  }
46812
47636
  },
46813
47637
  "hasDynamicHelp": false,
46814
47638
  "hiddenAliases": [],
46815
- "id": "ecdn:waf:rulesets:update",
47639
+ "id": "ecdn:waf:managed-rules:update",
46816
47640
  "pluginAlias": "@salesforce/b2c-cli",
46817
47641
  "pluginName": "@salesforce/b2c-cli",
46818
47642
  "pluginType": "core",
@@ -46823,7 +47647,7 @@
46823
47647
  "commands",
46824
47648
  "ecdn",
46825
47649
  "waf",
46826
- "rulesets",
47650
+ "managed-rules",
46827
47651
  "update.js"
46828
47652
  ]
46829
47653
  },
@@ -47029,13 +47853,19 @@
47029
47853
  "list.js"
47030
47854
  ]
47031
47855
  },
47032
- "mrt:env:redirect:clone": {
47856
+ "mrt:env:var:delete": {
47033
47857
  "aliases": [],
47034
- "args": {},
47035
- "description": "Clone redirects from one environment to another\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-clone",
47858
+ "args": {
47859
+ "key": {
47860
+ "description": "Environment variable name",
47861
+ "name": "key",
47862
+ "required": true
47863
+ }
47864
+ },
47865
+ "description": "Delete an environment variable from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-delete",
47036
47866
  "examples": [
47037
- "<%= config.bin %> <%= command.id %> --project my-storefront --from staging --to production",
47038
- "<%= config.bin %> <%= command.id %> -p my-storefront --from staging --to production --force"
47867
+ "<%= config.bin %> <%= command.id %> MY_VAR --project acme-storefront --environment production",
47868
+ "<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
47039
47869
  ],
47040
47870
  "flags": {
47041
47871
  "json": {
@@ -47197,34 +48027,11 @@
47197
48027
  "hasDynamicHelp": false,
47198
48028
  "multiple": false,
47199
48029
  "type": "option"
47200
- },
47201
- "from": {
47202
- "description": "Source environment to clone redirects from",
47203
- "name": "from",
47204
- "required": true,
47205
- "hasDynamicHelp": false,
47206
- "multiple": false,
47207
- "type": "option"
47208
- },
47209
- "to": {
47210
- "description": "Destination environment to clone redirects to",
47211
- "name": "to",
47212
- "required": true,
47213
- "hasDynamicHelp": false,
47214
- "multiple": false,
47215
- "type": "option"
47216
- },
47217
- "force": {
47218
- "char": "f",
47219
- "description": "Skip confirmation prompt",
47220
- "name": "force",
47221
- "allowNo": false,
47222
- "type": "boolean"
47223
48030
  }
47224
48031
  },
47225
48032
  "hasDynamicHelp": false,
47226
48033
  "hiddenAliases": [],
47227
- "id": "mrt:env:redirect:clone",
48034
+ "id": "mrt:env:var:delete",
47228
48035
  "pluginAlias": "@salesforce/b2c-cli",
47229
48036
  "pluginName": "@salesforce/b2c-cli",
47230
48037
  "pluginType": "core",
@@ -47236,18 +48043,18 @@
47236
48043
  "commands",
47237
48044
  "mrt",
47238
48045
  "env",
47239
- "redirect",
47240
- "clone.js"
48046
+ "var",
48047
+ "delete.js"
47241
48048
  ]
47242
48049
  },
47243
- "mrt:env:redirect:create": {
48050
+ "mrt:env:var:list": {
47244
48051
  "aliases": [],
47245
48052
  "args": {},
47246
- "description": "Create a redirect for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-create",
48053
+ "description": "List environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-list",
47247
48054
  "examples": [
47248
- "<%= config.bin %> <%= command.id %> --project my-storefront --environment staging --from /old --to /new",
47249
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from /sale --to /summer-sale --status 302",
47250
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from \"/a/*\" --to /b --forward-wildcard"
48055
+ "<%= config.bin %> <%= command.id %> --project acme-storefront --environment production",
48056
+ "<%= config.bin %> <%= command.id %> -p my-project -e staging",
48057
+ "<%= config.bin %> <%= command.id %> -p my-project -e production --json"
47251
48058
  ],
47252
48059
  "flags": {
47253
48060
  "json": {
@@ -47409,55 +48216,210 @@
47409
48216
  "hasDynamicHelp": false,
47410
48217
  "multiple": false,
47411
48218
  "type": "option"
48219
+ }
48220
+ },
48221
+ "hasDynamicHelp": false,
48222
+ "hiddenAliases": [],
48223
+ "id": "mrt:env:var:list",
48224
+ "pluginAlias": "@salesforce/b2c-cli",
48225
+ "pluginName": "@salesforce/b2c-cli",
48226
+ "pluginType": "core",
48227
+ "strict": true,
48228
+ "enableJsonFlag": true,
48229
+ "isESM": true,
48230
+ "relativePath": [
48231
+ "dist",
48232
+ "commands",
48233
+ "mrt",
48234
+ "env",
48235
+ "var",
48236
+ "list.js"
48237
+ ]
48238
+ },
48239
+ "mrt:env:var:set": {
48240
+ "aliases": [],
48241
+ "args": {
48242
+ "variables": {
48243
+ "description": "Environment variables in KEY=value format",
48244
+ "name": "variables",
48245
+ "required": true
48246
+ }
48247
+ },
48248
+ "description": "Set environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-set",
48249
+ "examples": [
48250
+ "<%= config.bin %> <%= command.id %> MY_VAR=value --project acme-storefront --environment production",
48251
+ "<%= config.bin %> <%= command.id %> API_KEY=secret DEBUG=true -p my-project -e staging",
48252
+ "<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
48253
+ ],
48254
+ "flags": {
48255
+ "json": {
48256
+ "description": "Output result as JSON",
48257
+ "helpGroup": "GLOBAL",
48258
+ "name": "json",
48259
+ "allowNo": false,
48260
+ "type": "boolean"
47412
48261
  },
47413
- "from": {
47414
- "description": "Source path to redirect from",
47415
- "name": "from",
47416
- "required": true,
48262
+ "log-level": {
48263
+ "description": "Set logging verbosity level",
48264
+ "env": "SFCC_LOG_LEVEL",
48265
+ "helpGroup": "GLOBAL",
48266
+ "name": "log-level",
47417
48267
  "hasDynamicHelp": false,
47418
48268
  "multiple": false,
48269
+ "options": [
48270
+ "trace",
48271
+ "debug",
48272
+ "info",
48273
+ "warn",
48274
+ "error",
48275
+ "silent"
48276
+ ],
47419
48277
  "type": "option"
47420
48278
  },
47421
- "to": {
47422
- "description": "Destination URL to redirect to",
47423
- "name": "to",
47424
- "required": true,
48279
+ "debug": {
48280
+ "char": "D",
48281
+ "description": "Enable debug logging (shorthand for --log-level debug)",
48282
+ "env": "SFCC_DEBUG",
48283
+ "helpGroup": "GLOBAL",
48284
+ "name": "debug",
48285
+ "allowNo": false,
48286
+ "type": "boolean"
48287
+ },
48288
+ "jsonl": {
48289
+ "aliases": [
48290
+ "json-logs"
48291
+ ],
48292
+ "description": "Output log messages as JSON lines",
48293
+ "env": "SFCC_JSON_LOGS",
48294
+ "helpGroup": "GLOBAL",
48295
+ "name": "jsonl",
48296
+ "allowNo": false,
48297
+ "type": "boolean"
48298
+ },
48299
+ "lang": {
48300
+ "char": "L",
48301
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
48302
+ "helpGroup": "GLOBAL",
48303
+ "name": "lang",
47425
48304
  "hasDynamicHelp": false,
47426
48305
  "multiple": false,
47427
48306
  "type": "option"
47428
48307
  },
47429
- "status": {
47430
- "description": "HTTP status code (301 or 302)",
47431
- "name": "status",
47432
- "default": 301,
48308
+ "config": {
48309
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
48310
+ "env": "SFCC_CONFIG",
48311
+ "helpGroup": "GLOBAL",
48312
+ "name": "config",
47433
48313
  "hasDynamicHelp": false,
47434
48314
  "multiple": false,
47435
- "options": [
47436
- "301",
47437
- "302"
48315
+ "type": "option"
48316
+ },
48317
+ "instance": {
48318
+ "char": "i",
48319
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
48320
+ "env": "SFCC_INSTANCE",
48321
+ "helpGroup": "GLOBAL",
48322
+ "name": "instance",
48323
+ "hasDynamicHelp": false,
48324
+ "multiple": false,
48325
+ "type": "option"
48326
+ },
48327
+ "project-directory": {
48328
+ "aliases": [
48329
+ "working-directory"
47438
48330
  ],
48331
+ "description": "Project directory",
48332
+ "env": "SFCC_PROJECT_DIRECTORY",
48333
+ "helpGroup": "GLOBAL",
48334
+ "name": "project-directory",
48335
+ "hasDynamicHelp": false,
48336
+ "multiple": false,
47439
48337
  "type": "option"
47440
48338
  },
47441
- "forward-querystring": {
47442
- "description": "Forward query string parameters",
47443
- "name": "forward-querystring",
47444
- "allowNo": false,
47445
- "type": "boolean"
48339
+ "extra-query": {
48340
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
48341
+ "env": "SFCC_EXTRA_QUERY",
48342
+ "helpGroup": "GLOBAL",
48343
+ "hidden": true,
48344
+ "name": "extra-query",
48345
+ "hasDynamicHelp": false,
48346
+ "multiple": false,
48347
+ "type": "option"
47446
48348
  },
47447
- "forward-wildcard": {
47448
- "description": "Forward wildcard path portion",
47449
- "name": "forward-wildcard",
47450
- "allowNo": false,
47451
- "type": "boolean"
48349
+ "extra-body": {
48350
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
48351
+ "env": "SFCC_EXTRA_BODY",
48352
+ "helpGroup": "GLOBAL",
48353
+ "hidden": true,
48354
+ "name": "extra-body",
48355
+ "hasDynamicHelp": false,
48356
+ "multiple": false,
48357
+ "type": "option"
48358
+ },
48359
+ "extra-headers": {
48360
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
48361
+ "env": "SFCC_EXTRA_HEADERS",
48362
+ "helpGroup": "GLOBAL",
48363
+ "hidden": true,
48364
+ "name": "extra-headers",
48365
+ "hasDynamicHelp": false,
48366
+ "multiple": false,
48367
+ "type": "option"
48368
+ },
48369
+ "api-key": {
48370
+ "description": "MRT API key",
48371
+ "env": "MRT_API_KEY",
48372
+ "helpGroup": "AUTH",
48373
+ "name": "api-key",
48374
+ "hasDynamicHelp": false,
48375
+ "multiple": false,
48376
+ "type": "option"
48377
+ },
48378
+ "project": {
48379
+ "char": "p",
48380
+ "description": "MRT project slug (or set mrtProject in dw.json)",
48381
+ "env": "MRT_PROJECT",
48382
+ "name": "project",
48383
+ "hasDynamicHelp": false,
48384
+ "multiple": false,
48385
+ "type": "option"
48386
+ },
48387
+ "environment": {
48388
+ "aliases": [
48389
+ "target"
48390
+ ],
48391
+ "char": "e",
48392
+ "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
48393
+ "env": "MRT_ENVIRONMENT",
48394
+ "name": "environment",
48395
+ "hasDynamicHelp": false,
48396
+ "multiple": false,
48397
+ "type": "option"
48398
+ },
48399
+ "cloud-origin": {
48400
+ "description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
48401
+ "env": "MRT_CLOUD_ORIGIN",
48402
+ "name": "cloud-origin",
48403
+ "hasDynamicHelp": false,
48404
+ "multiple": false,
48405
+ "type": "option"
48406
+ },
48407
+ "credentials-file": {
48408
+ "description": "Path to MRT credentials file (overrides default ~/.mobify)",
48409
+ "env": "MRT_CREDENTIALS_FILE",
48410
+ "name": "credentials-file",
48411
+ "hasDynamicHelp": false,
48412
+ "multiple": false,
48413
+ "type": "option"
47452
48414
  }
47453
48415
  },
47454
48416
  "hasDynamicHelp": false,
47455
48417
  "hiddenAliases": [],
47456
- "id": "mrt:env:redirect:create",
48418
+ "id": "mrt:env:var:set",
47457
48419
  "pluginAlias": "@salesforce/b2c-cli",
47458
48420
  "pluginName": "@salesforce/b2c-cli",
47459
48421
  "pluginType": "core",
47460
- "strict": true,
48422
+ "strict": false,
47461
48423
  "enableJsonFlag": true,
47462
48424
  "isESM": true,
47463
48425
  "relativePath": [
@@ -47465,23 +48427,17 @@
47465
48427
  "commands",
47466
48428
  "mrt",
47467
48429
  "env",
47468
- "redirect",
47469
- "create.js"
48430
+ "var",
48431
+ "set.js"
47470
48432
  ]
47471
48433
  },
47472
- "mrt:env:redirect:delete": {
48434
+ "mrt:env:redirect:clone": {
47473
48435
  "aliases": [],
47474
- "args": {
47475
- "fromPath": {
47476
- "description": "Source path of the redirect to delete",
47477
- "name": "fromPath",
47478
- "required": true
47479
- }
47480
- },
47481
- "description": "Delete a redirect from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-delete",
48436
+ "args": {},
48437
+ "description": "Clone redirects from one environment to another\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-clone",
47482
48438
  "examples": [
47483
- "<%= config.bin %> <%= command.id %> /old-page --project my-storefront --environment staging",
47484
- "<%= config.bin %> <%= command.id %> /old-page -p my-storefront -e staging --force"
48439
+ "<%= config.bin %> <%= command.id %> --project my-storefront --from staging --to production",
48440
+ "<%= config.bin %> <%= command.id %> -p my-storefront --from staging --to production --force"
47485
48441
  ],
47486
48442
  "flags": {
47487
48443
  "json": {
@@ -47644,6 +48600,22 @@
47644
48600
  "multiple": false,
47645
48601
  "type": "option"
47646
48602
  },
48603
+ "from": {
48604
+ "description": "Source environment to clone redirects from",
48605
+ "name": "from",
48606
+ "required": true,
48607
+ "hasDynamicHelp": false,
48608
+ "multiple": false,
48609
+ "type": "option"
48610
+ },
48611
+ "to": {
48612
+ "description": "Destination environment to clone redirects to",
48613
+ "name": "to",
48614
+ "required": true,
48615
+ "hasDynamicHelp": false,
48616
+ "multiple": false,
48617
+ "type": "option"
48618
+ },
47647
48619
  "force": {
47648
48620
  "char": "f",
47649
48621
  "description": "Skip confirmation prompt",
@@ -47654,7 +48626,7 @@
47654
48626
  },
47655
48627
  "hasDynamicHelp": false,
47656
48628
  "hiddenAliases": [],
47657
- "id": "mrt:env:redirect:delete",
48629
+ "id": "mrt:env:redirect:clone",
47658
48630
  "pluginAlias": "@salesforce/b2c-cli",
47659
48631
  "pluginName": "@salesforce/b2c-cli",
47660
48632
  "pluginType": "core",
@@ -47667,17 +48639,17 @@
47667
48639
  "mrt",
47668
48640
  "env",
47669
48641
  "redirect",
47670
- "delete.js"
48642
+ "clone.js"
47671
48643
  ]
47672
48644
  },
47673
- "mrt:env:redirect:list": {
48645
+ "mrt:env:redirect:create": {
47674
48646
  "aliases": [],
47675
48647
  "args": {},
47676
- "description": "List redirects for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-list",
48648
+ "description": "Create a redirect for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-create",
47677
48649
  "examples": [
47678
- "<%= config.bin %> <%= command.id %> --project my-storefront --environment staging",
47679
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"/old\"",
47680
- "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json"
48650
+ "<%= config.bin %> <%= command.id %> --project my-storefront --environment staging --from /old --to /new",
48651
+ "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from /sale --to /summer-sale --status 302",
48652
+ "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --from \"/a/*\" --to /b --forward-wildcard"
47681
48653
  ],
47682
48654
  "flags": {
47683
48655
  "json": {
@@ -47840,31 +48812,50 @@
47840
48812
  "multiple": false,
47841
48813
  "type": "option"
47842
48814
  },
47843
- "limit": {
47844
- "description": "Maximum number of results to return",
47845
- "name": "limit",
48815
+ "from": {
48816
+ "description": "Source path to redirect from",
48817
+ "name": "from",
48818
+ "required": true,
47846
48819
  "hasDynamicHelp": false,
47847
48820
  "multiple": false,
47848
48821
  "type": "option"
47849
48822
  },
47850
- "offset": {
47851
- "description": "Offset for pagination",
47852
- "name": "offset",
48823
+ "to": {
48824
+ "description": "Destination URL to redirect to",
48825
+ "name": "to",
48826
+ "required": true,
47853
48827
  "hasDynamicHelp": false,
47854
48828
  "multiple": false,
47855
48829
  "type": "option"
47856
48830
  },
47857
- "search": {
47858
- "description": "Search term for filtering",
47859
- "name": "search",
48831
+ "status": {
48832
+ "description": "HTTP status code (301 or 302)",
48833
+ "name": "status",
48834
+ "default": 301,
47860
48835
  "hasDynamicHelp": false,
47861
48836
  "multiple": false,
48837
+ "options": [
48838
+ "301",
48839
+ "302"
48840
+ ],
47862
48841
  "type": "option"
48842
+ },
48843
+ "forward-querystring": {
48844
+ "description": "Forward query string parameters",
48845
+ "name": "forward-querystring",
48846
+ "allowNo": false,
48847
+ "type": "boolean"
48848
+ },
48849
+ "forward-wildcard": {
48850
+ "description": "Forward wildcard path portion",
48851
+ "name": "forward-wildcard",
48852
+ "allowNo": false,
48853
+ "type": "boolean"
47863
48854
  }
47864
48855
  },
47865
48856
  "hasDynamicHelp": false,
47866
48857
  "hiddenAliases": [],
47867
- "id": "mrt:env:redirect:list",
48858
+ "id": "mrt:env:redirect:create",
47868
48859
  "pluginAlias": "@salesforce/b2c-cli",
47869
48860
  "pluginName": "@salesforce/b2c-cli",
47870
48861
  "pluginType": "core",
@@ -47877,22 +48868,22 @@
47877
48868
  "mrt",
47878
48869
  "env",
47879
48870
  "redirect",
47880
- "list.js"
48871
+ "create.js"
47881
48872
  ]
47882
48873
  },
47883
- "mrt:env:var:delete": {
48874
+ "mrt:env:redirect:delete": {
47884
48875
  "aliases": [],
47885
48876
  "args": {
47886
- "key": {
47887
- "description": "Environment variable name",
47888
- "name": "key",
48877
+ "fromPath": {
48878
+ "description": "Source path of the redirect to delete",
48879
+ "name": "fromPath",
47889
48880
  "required": true
47890
48881
  }
47891
48882
  },
47892
- "description": "Delete an environment variable from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-delete",
48883
+ "description": "Delete a redirect from a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-delete",
47893
48884
  "examples": [
47894
- "<%= config.bin %> <%= command.id %> MY_VAR --project acme-storefront --environment production",
47895
- "<%= config.bin %> <%= command.id %> OLD_API_KEY -p my-project -e staging"
48885
+ "<%= config.bin %> <%= command.id %> /old-page --project my-storefront --environment staging",
48886
+ "<%= config.bin %> <%= command.id %> /old-page -p my-storefront -e staging --force"
47896
48887
  ],
47897
48888
  "flags": {
47898
48889
  "json": {
@@ -48054,11 +49045,18 @@
48054
49045
  "hasDynamicHelp": false,
48055
49046
  "multiple": false,
48056
49047
  "type": "option"
49048
+ },
49049
+ "force": {
49050
+ "char": "f",
49051
+ "description": "Skip confirmation prompt",
49052
+ "name": "force",
49053
+ "allowNo": false,
49054
+ "type": "boolean"
48057
49055
  }
48058
49056
  },
48059
49057
  "hasDynamicHelp": false,
48060
49058
  "hiddenAliases": [],
48061
- "id": "mrt:env:var:delete",
49059
+ "id": "mrt:env:redirect:delete",
48062
49060
  "pluginAlias": "@salesforce/b2c-cli",
48063
49061
  "pluginName": "@salesforce/b2c-cli",
48064
49062
  "pluginType": "core",
@@ -48070,18 +49068,18 @@
48070
49068
  "commands",
48071
49069
  "mrt",
48072
49070
  "env",
48073
- "var",
49071
+ "redirect",
48074
49072
  "delete.js"
48075
49073
  ]
48076
49074
  },
48077
- "mrt:env:var:list": {
49075
+ "mrt:env:redirect:list": {
48078
49076
  "aliases": [],
48079
49077
  "args": {},
48080
- "description": "List environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-list",
49078
+ "description": "List redirects for a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-redirect-list",
48081
49079
  "examples": [
48082
- "<%= config.bin %> <%= command.id %> --project acme-storefront --environment production",
48083
- "<%= config.bin %> <%= command.id %> -p my-project -e staging",
48084
- "<%= config.bin %> <%= command.id %> -p my-project -e production --json"
49080
+ "<%= config.bin %> <%= command.id %> --project my-storefront --environment staging",
49081
+ "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --search \"/old\"",
49082
+ "<%= config.bin %> <%= command.id %> -p my-storefront -e staging --json"
48085
49083
  ],
48086
49084
  "flags": {
48087
49085
  "json": {
@@ -48243,198 +49241,24 @@
48243
49241
  "hasDynamicHelp": false,
48244
49242
  "multiple": false,
48245
49243
  "type": "option"
48246
- }
48247
- },
48248
- "hasDynamicHelp": false,
48249
- "hiddenAliases": [],
48250
- "id": "mrt:env:var:list",
48251
- "pluginAlias": "@salesforce/b2c-cli",
48252
- "pluginName": "@salesforce/b2c-cli",
48253
- "pluginType": "core",
48254
- "strict": true,
48255
- "enableJsonFlag": true,
48256
- "isESM": true,
48257
- "relativePath": [
48258
- "dist",
48259
- "commands",
48260
- "mrt",
48261
- "env",
48262
- "var",
48263
- "list.js"
48264
- ]
48265
- },
48266
- "mrt:env:var:set": {
48267
- "aliases": [],
48268
- "args": {
48269
- "variables": {
48270
- "description": "Environment variables in KEY=value format",
48271
- "name": "variables",
48272
- "required": true
48273
- }
48274
- },
48275
- "description": "Set environment variables on a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-env-var-set",
48276
- "examples": [
48277
- "<%= config.bin %> <%= command.id %> MY_VAR=value --project acme-storefront --environment production",
48278
- "<%= config.bin %> <%= command.id %> API_KEY=secret DEBUG=true -p my-project -e staging",
48279
- "<%= config.bin %> <%= command.id %> \"MESSAGE=hello world\" -p my-project -e production"
48280
- ],
48281
- "flags": {
48282
- "json": {
48283
- "description": "Output result as JSON",
48284
- "helpGroup": "GLOBAL",
48285
- "name": "json",
48286
- "allowNo": false,
48287
- "type": "boolean"
48288
- },
48289
- "log-level": {
48290
- "description": "Set logging verbosity level",
48291
- "env": "SFCC_LOG_LEVEL",
48292
- "helpGroup": "GLOBAL",
48293
- "name": "log-level",
48294
- "hasDynamicHelp": false,
48295
- "multiple": false,
48296
- "options": [
48297
- "trace",
48298
- "debug",
48299
- "info",
48300
- "warn",
48301
- "error",
48302
- "silent"
48303
- ],
48304
- "type": "option"
48305
- },
48306
- "debug": {
48307
- "char": "D",
48308
- "description": "Enable debug logging (shorthand for --log-level debug)",
48309
- "env": "SFCC_DEBUG",
48310
- "helpGroup": "GLOBAL",
48311
- "name": "debug",
48312
- "allowNo": false,
48313
- "type": "boolean"
48314
- },
48315
- "jsonl": {
48316
- "aliases": [
48317
- "json-logs"
48318
- ],
48319
- "description": "Output log messages as JSON lines",
48320
- "env": "SFCC_JSON_LOGS",
48321
- "helpGroup": "GLOBAL",
48322
- "name": "jsonl",
48323
- "allowNo": false,
48324
- "type": "boolean"
48325
- },
48326
- "lang": {
48327
- "char": "L",
48328
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
48329
- "helpGroup": "GLOBAL",
48330
- "name": "lang",
48331
- "hasDynamicHelp": false,
48332
- "multiple": false,
48333
- "type": "option"
48334
- },
48335
- "config": {
48336
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
48337
- "env": "SFCC_CONFIG",
48338
- "helpGroup": "GLOBAL",
48339
- "name": "config",
48340
- "hasDynamicHelp": false,
48341
- "multiple": false,
48342
- "type": "option"
48343
- },
48344
- "instance": {
48345
- "char": "i",
48346
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
48347
- "env": "SFCC_INSTANCE",
48348
- "helpGroup": "GLOBAL",
48349
- "name": "instance",
48350
- "hasDynamicHelp": false,
48351
- "multiple": false,
48352
- "type": "option"
48353
- },
48354
- "project-directory": {
48355
- "aliases": [
48356
- "working-directory"
48357
- ],
48358
- "description": "Project directory",
48359
- "env": "SFCC_PROJECT_DIRECTORY",
48360
- "helpGroup": "GLOBAL",
48361
- "name": "project-directory",
48362
- "hasDynamicHelp": false,
48363
- "multiple": false,
48364
- "type": "option"
48365
- },
48366
- "extra-query": {
48367
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
48368
- "env": "SFCC_EXTRA_QUERY",
48369
- "helpGroup": "GLOBAL",
48370
- "hidden": true,
48371
- "name": "extra-query",
48372
- "hasDynamicHelp": false,
48373
- "multiple": false,
48374
- "type": "option"
48375
- },
48376
- "extra-body": {
48377
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
48378
- "env": "SFCC_EXTRA_BODY",
48379
- "helpGroup": "GLOBAL",
48380
- "hidden": true,
48381
- "name": "extra-body",
48382
- "hasDynamicHelp": false,
48383
- "multiple": false,
48384
- "type": "option"
48385
- },
48386
- "extra-headers": {
48387
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
48388
- "env": "SFCC_EXTRA_HEADERS",
48389
- "helpGroup": "GLOBAL",
48390
- "hidden": true,
48391
- "name": "extra-headers",
48392
- "hasDynamicHelp": false,
48393
- "multiple": false,
48394
- "type": "option"
48395
49244
  },
48396
- "api-key": {
48397
- "description": "MRT API key",
48398
- "env": "MRT_API_KEY",
48399
- "helpGroup": "AUTH",
48400
- "name": "api-key",
48401
- "hasDynamicHelp": false,
48402
- "multiple": false,
48403
- "type": "option"
48404
- },
48405
- "project": {
48406
- "char": "p",
48407
- "description": "MRT project slug (or set mrtProject in dw.json)",
48408
- "env": "MRT_PROJECT",
48409
- "name": "project",
48410
- "hasDynamicHelp": false,
48411
- "multiple": false,
48412
- "type": "option"
48413
- },
48414
- "environment": {
48415
- "aliases": [
48416
- "target"
48417
- ],
48418
- "char": "e",
48419
- "description": "MRT environment (e.g., staging, production; or set mrtEnvironment in dw.json)",
48420
- "env": "MRT_ENVIRONMENT",
48421
- "name": "environment",
49245
+ "limit": {
49246
+ "description": "Maximum number of results to return",
49247
+ "name": "limit",
48422
49248
  "hasDynamicHelp": false,
48423
49249
  "multiple": false,
48424
49250
  "type": "option"
48425
49251
  },
48426
- "cloud-origin": {
48427
- "description": "MRT cloud origin URL (or set mrtOrigin in dw.json; default: https://cloud.mobify.com)",
48428
- "env": "MRT_CLOUD_ORIGIN",
48429
- "name": "cloud-origin",
49252
+ "offset": {
49253
+ "description": "Offset for pagination",
49254
+ "name": "offset",
48430
49255
  "hasDynamicHelp": false,
48431
49256
  "multiple": false,
48432
49257
  "type": "option"
48433
49258
  },
48434
- "credentials-file": {
48435
- "description": "Path to MRT credentials file (overrides default ~/.mobify)",
48436
- "env": "MRT_CREDENTIALS_FILE",
48437
- "name": "credentials-file",
49259
+ "search": {
49260
+ "description": "Search term for filtering",
49261
+ "name": "search",
48438
49262
  "hasDynamicHelp": false,
48439
49263
  "multiple": false,
48440
49264
  "type": "option"
@@ -48442,11 +49266,11 @@
48442
49266
  },
48443
49267
  "hasDynamicHelp": false,
48444
49268
  "hiddenAliases": [],
48445
- "id": "mrt:env:var:set",
49269
+ "id": "mrt:env:redirect:list",
48446
49270
  "pluginAlias": "@salesforce/b2c-cli",
48447
49271
  "pluginName": "@salesforce/b2c-cli",
48448
49272
  "pluginType": "core",
48449
- "strict": false,
49273
+ "strict": true,
48450
49274
  "enableJsonFlag": true,
48451
49275
  "isESM": true,
48452
49276
  "relativePath": [
@@ -48454,8 +49278,8 @@
48454
49278
  "commands",
48455
49279
  "mrt",
48456
49280
  "env",
48457
- "var",
48458
- "set.js"
49281
+ "redirect",
49282
+ "list.js"
48459
49283
  ]
48460
49284
  },
48461
49285
  "mrt:project:member:add": {
@@ -50553,5 +51377,5 @@
50553
51377
  ]
50554
51378
  }
50555
51379
  },
50556
- "version": "0.5.5"
51380
+ "version": "0.5.6"
50557
51381
  }