@salesforce/b2c-cli 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +1130 -1130
  2. package/package.json +2 -2
@@ -3465,7 +3465,7 @@
3465
3465
  "description": "Inclusive end date (YYYY-MM-DD)",
3466
3466
  "helpGroup": "QUERY",
3467
3467
  "name": "to",
3468
- "default": "2026-05-26",
3468
+ "default": "2026-05-29",
3469
3469
  "hasDynamicHelp": false,
3470
3470
  "multiple": false,
3471
3471
  "type": "option"
@@ -3789,7 +3789,7 @@
3789
3789
  "description": "Inclusive end date (YYYY-MM-DD)",
3790
3790
  "helpGroup": "QUERY",
3791
3791
  "name": "to",
3792
- "default": "2026-05-26",
3792
+ "default": "2026-05-29",
3793
3793
  "hasDynamicHelp": false,
3794
3794
  "multiple": false,
3795
3795
  "type": "option"
@@ -4248,7 +4248,7 @@
4248
4248
  "description": "Inclusive end date (YYYY-MM-DD)",
4249
4249
  "helpGroup": "QUERY",
4250
4250
  "name": "to",
4251
- "default": "2026-05-26",
4251
+ "default": "2026-05-29",
4252
4252
  "hasDynamicHelp": false,
4253
4253
  "multiple": false,
4254
4254
  "type": "option"
@@ -24182,19 +24182,20 @@
24182
24182
  "update.js"
24183
24183
  ]
24184
24184
  },
24185
- "am:roles:get": {
24185
+ "am:orgs:get": {
24186
24186
  "aliases": [],
24187
24187
  "args": {
24188
- "roleId": {
24189
- "description": "Role ID",
24190
- "name": "roleId",
24188
+ "org": {
24189
+ "description": "Organization ID or name",
24190
+ "name": "org",
24191
24191
  "required": true
24192
24192
  }
24193
24193
  },
24194
- "description": "Get details of an Account Manager role",
24194
+ "description": "Get details of an Account Manager organization",
24195
24195
  "examples": [
24196
- "<%= config.bin %> <%= command.id %> bm-admin",
24197
- "<%= config.bin %> <%= command.id %> bm-user --json"
24196
+ "<%= config.bin %> <%= command.id %> org-id",
24197
+ "<%= config.bin %> <%= command.id %> \"My Organization\"",
24198
+ "<%= config.bin %> <%= command.id %> org-id --json"
24198
24199
  ],
24199
24200
  "flags": {
24200
24201
  "json": {
@@ -24429,7 +24430,7 @@
24429
24430
  },
24430
24431
  "hasDynamicHelp": false,
24431
24432
  "hiddenAliases": [],
24432
- "id": "am:roles:get",
24433
+ "id": "am:orgs:get",
24433
24434
  "pluginAlias": "@salesforce/b2c-cli",
24434
24435
  "pluginName": "@salesforce/b2c-cli",
24435
24436
  "pluginType": "core",
@@ -24440,23 +24441,20 @@
24440
24441
  "dist",
24441
24442
  "commands",
24442
24443
  "am",
24443
- "roles",
24444
+ "orgs",
24444
24445
  "get.js"
24445
24446
  ]
24446
24447
  },
24447
- "am:roles:grant": {
24448
+ "am:orgs:list": {
24448
24449
  "aliases": [],
24449
- "args": {
24450
- "login": {
24451
- "description": "User login (email)",
24452
- "name": "login",
24453
- "required": true
24454
- }
24455
- },
24456
- "description": "Grant a role to an Account Manager user",
24450
+ "args": {},
24451
+ "description": "List Account Manager organizations",
24457
24452
  "examples": [
24458
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
24459
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1,tenant2"
24453
+ "<%= config.bin %> <%= command.id %>",
24454
+ "<%= config.bin %> <%= command.id %> --size 50",
24455
+ "<%= config.bin %> <%= command.id %> --all",
24456
+ "<%= config.bin %> <%= command.id %> --extended",
24457
+ "<%= config.bin %> <%= command.id %> --json"
24460
24458
  ],
24461
24459
  "flags": {
24462
24460
  "json": {
@@ -24688,27 +24686,47 @@
24688
24686
  "multiple": false,
24689
24687
  "type": "option"
24690
24688
  },
24691
- "role": {
24692
- "char": "r",
24693
- "description": "Role to grant",
24694
- "name": "role",
24695
- "required": true,
24689
+ "size": {
24690
+ "char": "s",
24691
+ "description": "Page size (default: 25, min: 1, max: 5000)",
24692
+ "name": "size",
24696
24693
  "hasDynamicHelp": false,
24697
24694
  "multiple": false,
24698
24695
  "type": "option"
24699
24696
  },
24700
- "scope": {
24701
- "char": "s",
24702
- "description": "Scope for the role (tenant IDs, comma-separated)",
24703
- "name": "scope",
24697
+ "page": {
24698
+ "description": "Page number (zero-based index, default: 0, min: 0)",
24699
+ "name": "page",
24700
+ "hasDynamicHelp": false,
24701
+ "multiple": false,
24702
+ "type": "option"
24703
+ },
24704
+ "all": {
24705
+ "char": "a",
24706
+ "description": "Return all organizations (uses max page size of 5000)",
24707
+ "name": "all",
24708
+ "allowNo": false,
24709
+ "type": "boolean"
24710
+ },
24711
+ "columns": {
24712
+ "char": "c",
24713
+ "description": "Columns to display (comma-separated). Available: id, name, realms, emailsDomains, twoFARoles, twoFAEnabled, allowedVerifierTypes, vaasEnabled, sfIdentityFederation, passwordMinEntropy",
24714
+ "name": "columns",
24704
24715
  "hasDynamicHelp": false,
24705
24716
  "multiple": false,
24706
24717
  "type": "option"
24718
+ },
24719
+ "extended": {
24720
+ "char": "x",
24721
+ "description": "Show all columns including extended fields",
24722
+ "name": "extended",
24723
+ "allowNo": false,
24724
+ "type": "boolean"
24707
24725
  }
24708
24726
  },
24709
24727
  "hasDynamicHelp": false,
24710
24728
  "hiddenAliases": [],
24711
- "id": "am:roles:grant",
24729
+ "id": "am:orgs:list",
24712
24730
  "pluginAlias": "@salesforce/b2c-cli",
24713
24731
  "pluginName": "@salesforce/b2c-cli",
24714
24732
  "pluginType": "core",
@@ -24719,20 +24737,23 @@
24719
24737
  "dist",
24720
24738
  "commands",
24721
24739
  "am",
24722
- "roles",
24723
- "grant.js"
24740
+ "orgs",
24741
+ "list.js"
24724
24742
  ]
24725
24743
  },
24726
- "am:roles:list": {
24744
+ "am:roles:get": {
24727
24745
  "aliases": [],
24728
- "args": {},
24729
- "description": "List Account Manager roles",
24746
+ "args": {
24747
+ "roleId": {
24748
+ "description": "Role ID",
24749
+ "name": "roleId",
24750
+ "required": true
24751
+ }
24752
+ },
24753
+ "description": "Get details of an Account Manager role",
24730
24754
  "examples": [
24731
- "<%= config.bin %> <%= command.id %>",
24732
- "<%= config.bin %> <%= command.id %> --size 50",
24733
- "<%= config.bin %> <%= command.id %> --target-type User",
24734
- "<%= config.bin %> <%= command.id %> --extended",
24735
- "<%= config.bin %> <%= command.id %> --json"
24755
+ "<%= config.bin %> <%= command.id %> bm-admin",
24756
+ "<%= config.bin %> <%= command.id %> bm-user --json"
24736
24757
  ],
24737
24758
  "flags": {
24738
24759
  "json": {
@@ -24963,53 +24984,11 @@
24963
24984
  "hasDynamicHelp": false,
24964
24985
  "multiple": false,
24965
24986
  "type": "option"
24966
- },
24967
- "size": {
24968
- "char": "s",
24969
- "description": "Page size (default: 20, min: 1, max: 4000)",
24970
- "name": "size",
24971
- "hasDynamicHelp": false,
24972
- "multiple": false,
24973
- "type": "option"
24974
- },
24975
- "page": {
24976
- "description": "Page number (zero-based index, default: 0, min: 0)",
24977
- "name": "page",
24978
- "hasDynamicHelp": false,
24979
- "multiple": false,
24980
- "type": "option"
24981
- },
24982
- "target-type": {
24983
- "char": "t",
24984
- "description": "Filter by target type (User or ApiClient)",
24985
- "name": "target-type",
24986
- "hasDynamicHelp": false,
24987
- "multiple": false,
24988
- "options": [
24989
- "User",
24990
- "ApiClient"
24991
- ],
24992
- "type": "option"
24993
- },
24994
- "columns": {
24995
- "char": "c",
24996
- "description": "Columns to display (comma-separated). Available: id, description, roleEnumName, scope, targetType, twoFAEnabled, permissions",
24997
- "name": "columns",
24998
- "hasDynamicHelp": false,
24999
- "multiple": false,
25000
- "type": "option"
25001
- },
25002
- "extended": {
25003
- "char": "x",
25004
- "description": "Show all columns including extended fields",
25005
- "name": "extended",
25006
- "allowNo": false,
25007
- "type": "boolean"
25008
24987
  }
25009
24988
  },
25010
24989
  "hasDynamicHelp": false,
25011
24990
  "hiddenAliases": [],
25012
- "id": "am:roles:list",
24991
+ "id": "am:roles:get",
25013
24992
  "pluginAlias": "@salesforce/b2c-cli",
25014
24993
  "pluginName": "@salesforce/b2c-cli",
25015
24994
  "pluginType": "core",
@@ -25021,10 +25000,10 @@
25021
25000
  "commands",
25022
25001
  "am",
25023
25002
  "roles",
25024
- "list.js"
25003
+ "get.js"
25025
25004
  ]
25026
25005
  },
25027
- "am:roles:revoke": {
25006
+ "am:roles:grant": {
25028
25007
  "aliases": [],
25029
25008
  "args": {
25030
25009
  "login": {
@@ -25033,10 +25012,10 @@
25033
25012
  "required": true
25034
25013
  }
25035
25014
  },
25036
- "description": "Revoke a role from an Account Manager user",
25015
+ "description": "Grant a role to an Account Manager user",
25037
25016
  "examples": [
25038
25017
  "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
25039
- "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1"
25018
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1,tenant2"
25040
25019
  ],
25041
25020
  "flags": {
25042
25021
  "json": {
@@ -25270,7 +25249,7 @@
25270
25249
  },
25271
25250
  "role": {
25272
25251
  "char": "r",
25273
- "description": "Role to revoke",
25252
+ "description": "Role to grant",
25274
25253
  "name": "role",
25275
25254
  "required": true,
25276
25255
  "hasDynamicHelp": false,
@@ -25279,7 +25258,7 @@
25279
25258
  },
25280
25259
  "scope": {
25281
25260
  "char": "s",
25282
- "description": "Scope to remove (if not provided, removes entire role)",
25261
+ "description": "Scope for the role (tenant IDs, comma-separated)",
25283
25262
  "name": "scope",
25284
25263
  "hasDynamicHelp": false,
25285
25264
  "multiple": false,
@@ -25288,7 +25267,7 @@
25288
25267
  },
25289
25268
  "hasDynamicHelp": false,
25290
25269
  "hiddenAliases": [],
25291
- "id": "am:roles:revoke",
25270
+ "id": "am:roles:grant",
25292
25271
  "pluginAlias": "@salesforce/b2c-cli",
25293
25272
  "pluginName": "@salesforce/b2c-cli",
25294
25273
  "pluginType": "core",
@@ -25300,23 +25279,19 @@
25300
25279
  "commands",
25301
25280
  "am",
25302
25281
  "roles",
25303
- "revoke.js"
25282
+ "grant.js"
25304
25283
  ]
25305
25284
  },
25306
- "am:orgs:get": {
25285
+ "am:roles:list": {
25307
25286
  "aliases": [],
25308
- "args": {
25309
- "org": {
25310
- "description": "Organization ID or name",
25311
- "name": "org",
25312
- "required": true
25313
- }
25314
- },
25315
- "description": "Get details of an Account Manager organization",
25287
+ "args": {},
25288
+ "description": "List Account Manager roles",
25316
25289
  "examples": [
25317
- "<%= config.bin %> <%= command.id %> org-id",
25318
- "<%= config.bin %> <%= command.id %> \"My Organization\"",
25319
- "<%= config.bin %> <%= command.id %> org-id --json"
25290
+ "<%= config.bin %> <%= command.id %>",
25291
+ "<%= config.bin %> <%= command.id %> --size 50",
25292
+ "<%= config.bin %> <%= command.id %> --target-type User",
25293
+ "<%= config.bin %> <%= command.id %> --extended",
25294
+ "<%= config.bin %> <%= command.id %> --json"
25320
25295
  ],
25321
25296
  "flags": {
25322
25297
  "json": {
@@ -25547,11 +25522,53 @@
25547
25522
  "hasDynamicHelp": false,
25548
25523
  "multiple": false,
25549
25524
  "type": "option"
25525
+ },
25526
+ "size": {
25527
+ "char": "s",
25528
+ "description": "Page size (default: 20, min: 1, max: 4000)",
25529
+ "name": "size",
25530
+ "hasDynamicHelp": false,
25531
+ "multiple": false,
25532
+ "type": "option"
25533
+ },
25534
+ "page": {
25535
+ "description": "Page number (zero-based index, default: 0, min: 0)",
25536
+ "name": "page",
25537
+ "hasDynamicHelp": false,
25538
+ "multiple": false,
25539
+ "type": "option"
25540
+ },
25541
+ "target-type": {
25542
+ "char": "t",
25543
+ "description": "Filter by target type (User or ApiClient)",
25544
+ "name": "target-type",
25545
+ "hasDynamicHelp": false,
25546
+ "multiple": false,
25547
+ "options": [
25548
+ "User",
25549
+ "ApiClient"
25550
+ ],
25551
+ "type": "option"
25552
+ },
25553
+ "columns": {
25554
+ "char": "c",
25555
+ "description": "Columns to display (comma-separated). Available: id, description, roleEnumName, scope, targetType, twoFAEnabled, permissions",
25556
+ "name": "columns",
25557
+ "hasDynamicHelp": false,
25558
+ "multiple": false,
25559
+ "type": "option"
25560
+ },
25561
+ "extended": {
25562
+ "char": "x",
25563
+ "description": "Show all columns including extended fields",
25564
+ "name": "extended",
25565
+ "allowNo": false,
25566
+ "type": "boolean"
25550
25567
  }
25551
25568
  },
25552
25569
  "hasDynamicHelp": false,
25553
25570
  "hiddenAliases": [],
25554
- "id": "am:orgs:get",
25571
+ "id": "am:roles:list",
25555
25572
  "pluginAlias": "@salesforce/b2c-cli",
25556
25573
  "pluginName": "@salesforce/b2c-cli",
25557
25574
  "pluginType": "core",
@@ -25562,20 +25579,23 @@
25562
25579
  "dist",
25563
25580
  "commands",
25564
25581
  "am",
25565
- "orgs",
25566
- "get.js"
25582
+ "roles",
25583
+ "list.js"
25567
25584
  ]
25568
25585
  },
25569
- "am:orgs:list": {
25586
+ "am:roles:revoke": {
25570
25587
  "aliases": [],
25571
- "args": {},
25572
- "description": "List Account Manager organizations",
25588
+ "args": {
25589
+ "login": {
25590
+ "description": "User login (email)",
25591
+ "name": "login",
25592
+ "required": true
25593
+ }
25594
+ },
25595
+ "description": "Revoke a role from an Account Manager user",
25573
25596
  "examples": [
25574
- "<%= config.bin %> <%= command.id %>",
25575
- "<%= config.bin %> <%= command.id %> --size 50",
25576
- "<%= config.bin %> <%= command.id %> --all",
25577
- "<%= config.bin %> <%= command.id %> --extended",
25578
- "<%= config.bin %> <%= command.id %> --json"
25597
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin",
25598
+ "<%= config.bin %> <%= command.id %> user@example.com --role bm-admin --scope tenant1"
25579
25599
  ],
25580
25600
  "flags": {
25581
25601
  "json": {
@@ -25807,47 +25827,27 @@
25807
25827
  "multiple": false,
25808
25828
  "type": "option"
25809
25829
  },
25810
- "size": {
25811
- "char": "s",
25812
- "description": "Page size (default: 25, min: 1, max: 5000)",
25813
- "name": "size",
25814
- "hasDynamicHelp": false,
25815
- "multiple": false,
25816
- "type": "option"
25817
- },
25818
- "page": {
25819
- "description": "Page number (zero-based index, default: 0, min: 0)",
25820
- "name": "page",
25830
+ "role": {
25831
+ "char": "r",
25832
+ "description": "Role to revoke",
25833
+ "name": "role",
25834
+ "required": true,
25821
25835
  "hasDynamicHelp": false,
25822
25836
  "multiple": false,
25823
25837
  "type": "option"
25824
25838
  },
25825
- "all": {
25826
- "char": "a",
25827
- "description": "Return all organizations (uses max page size of 5000)",
25828
- "name": "all",
25829
- "allowNo": false,
25830
- "type": "boolean"
25831
- },
25832
- "columns": {
25833
- "char": "c",
25834
- "description": "Columns to display (comma-separated). Available: id, name, realms, emailsDomains, twoFARoles, twoFAEnabled, allowedVerifierTypes, vaasEnabled, sfIdentityFederation, passwordMinEntropy",
25835
- "name": "columns",
25839
+ "scope": {
25840
+ "char": "s",
25841
+ "description": "Scope to remove (if not provided, removes entire role)",
25842
+ "name": "scope",
25836
25843
  "hasDynamicHelp": false,
25837
25844
  "multiple": false,
25838
25845
  "type": "option"
25839
- },
25840
- "extended": {
25841
- "char": "x",
25842
- "description": "Show all columns including extended fields",
25843
- "name": "extended",
25844
- "allowNo": false,
25845
- "type": "boolean"
25846
25846
  }
25847
25847
  },
25848
25848
  "hasDynamicHelp": false,
25849
25849
  "hiddenAliases": [],
25850
- "id": "am:orgs:list",
25850
+ "id": "am:roles:revoke",
25851
25851
  "pluginAlias": "@salesforce/b2c-cli",
25852
25852
  "pluginName": "@salesforce/b2c-cli",
25853
25853
  "pluginType": "core",
@@ -25858,8 +25858,8 @@
25858
25858
  "dist",
25859
25859
  "commands",
25860
25860
  "am",
25861
- "orgs",
25862
- "list.js"
25861
+ "roles",
25862
+ "revoke.js"
25863
25863
  ]
25864
25864
  },
25865
25865
  "am:users:create": {
@@ -33769,7 +33769,7 @@
33769
33769
  "description": "Inclusive end date (YYYY-MM-DD)",
33770
33770
  "helpGroup": "QUERY",
33771
33771
  "name": "to",
33772
- "default": "2026-05-26",
33772
+ "default": "2026-05-29",
33773
33773
  "hasDynamicHelp": false,
33774
33774
  "multiple": false,
33775
33775
  "type": "option"
@@ -34128,7 +34128,7 @@
34128
34128
  "description": "Inclusive end date (YYYY-MM-DD)",
34129
34129
  "helpGroup": "QUERY",
34130
34130
  "name": "to",
34131
- "default": "2026-05-26",
34131
+ "default": "2026-05-29",
34132
34132
  "hasDynamicHelp": false,
34133
34133
  "multiple": false,
34134
34134
  "type": "option"
@@ -34487,7 +34487,7 @@
34487
34487
  "description": "Inclusive end date (YYYY-MM-DD)",
34488
34488
  "helpGroup": "QUERY",
34489
34489
  "name": "to",
34490
- "default": "2026-05-26",
34490
+ "default": "2026-05-29",
34491
34491
  "hasDynamicHelp": false,
34492
34492
  "multiple": false,
34493
34493
  "type": "option"
@@ -34846,7 +34846,7 @@
34846
34846
  "description": "Inclusive end date (YYYY-MM-DD)",
34847
34847
  "helpGroup": "QUERY",
34848
34848
  "name": "to",
34849
- "default": "2026-05-26",
34849
+ "default": "2026-05-29",
34850
34850
  "hasDynamicHelp": false,
34851
34851
  "multiple": false,
34852
34852
  "type": "option"
@@ -35205,7 +35205,7 @@
35205
35205
  "description": "Inclusive end date (YYYY-MM-DD)",
35206
35206
  "helpGroup": "QUERY",
35207
35207
  "name": "to",
35208
- "default": "2026-05-26",
35208
+ "default": "2026-05-29",
35209
35209
  "hasDynamicHelp": false,
35210
35210
  "multiple": false,
35211
35211
  "type": "option"
@@ -35555,7 +35555,7 @@
35555
35555
  "description": "Inclusive end date (YYYY-MM-DD)",
35556
35556
  "helpGroup": "QUERY",
35557
35557
  "name": "to",
35558
- "default": "2026-05-26",
35558
+ "default": "2026-05-29",
35559
35559
  "hasDynamicHelp": false,
35560
35560
  "multiple": false,
35561
35561
  "type": "option"
@@ -35914,7 +35914,7 @@
35914
35914
  "description": "Inclusive end date (YYYY-MM-DD)",
35915
35915
  "helpGroup": "QUERY",
35916
35916
  "name": "to",
35917
- "default": "2026-05-26",
35917
+ "default": "2026-05-29",
35918
35918
  "hasDynamicHelp": false,
35919
35919
  "multiple": false,
35920
35920
  "type": "option"
@@ -36273,7 +36273,7 @@
36273
36273
  "description": "Inclusive end date (YYYY-MM-DD)",
36274
36274
  "helpGroup": "QUERY",
36275
36275
  "name": "to",
36276
- "default": "2026-05-26",
36276
+ "default": "2026-05-29",
36277
36277
  "hasDynamicHelp": false,
36278
36278
  "multiple": false,
36279
36279
  "type": "option"
@@ -36645,7 +36645,7 @@
36645
36645
  "description": "Inclusive end date (YYYY-MM-DD)",
36646
36646
  "helpGroup": "QUERY",
36647
36647
  "name": "to",
36648
- "default": "2026-05-26",
36648
+ "default": "2026-05-29",
36649
36649
  "hasDynamicHelp": false,
36650
36650
  "multiple": false,
36651
36651
  "type": "option"
@@ -37013,7 +37013,7 @@
37013
37013
  "description": "Inclusive end date (YYYY-MM-DD)",
37014
37014
  "helpGroup": "QUERY",
37015
37015
  "name": "to",
37016
- "default": "2026-05-26",
37016
+ "default": "2026-05-29",
37017
37017
  "hasDynamicHelp": false,
37018
37018
  "multiple": false,
37019
37019
  "type": "option"
@@ -39658,12 +39658,13 @@
39658
39658
  "ownership.js"
39659
39659
  ]
39660
39660
  },
39661
- "ecdn:mtls:create": {
39661
+ "ecdn:mrt-rules:create": {
39662
39662
  "aliases": [],
39663
39663
  "args": {},
39664
- "description": "Create an mTLS certificate for code upload authentication\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-create",
39664
+ "description": "Create MRT rules to route requests to a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-create",
39665
39665
  "examples": [
39666
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --name my-cert --certificate-file cert.pem --private-key-file key.pem"
39666
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"example.com\")'",
39667
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"example.com\")' --descriptions \"Route to PWA\""
39667
39668
  ],
39668
39669
  "flags": {
39669
39670
  "json": {
@@ -39895,54 +39896,61 @@
39895
39896
  "multiple": false,
39896
39897
  "type": "option"
39897
39898
  },
39898
- "name": {
39899
- "description": "Certificate name for identification",
39900
- "name": "name",
39899
+ "zone": {
39900
+ "char": "z",
39901
+ "description": "Zone ID or zone name",
39902
+ "name": "zone",
39901
39903
  "required": true,
39902
39904
  "hasDynamicHelp": false,
39903
39905
  "multiple": false,
39904
39906
  "type": "option"
39905
39907
  },
39906
- "certificate-file": {
39907
- "description": "Path to PEM-encoded certificate file",
39908
- "name": "certificate-file",
39908
+ "mrt-hostname": {
39909
+ "description": "Managed Runtime instance hostname",
39910
+ "name": "mrt-hostname",
39909
39911
  "required": true,
39910
39912
  "hasDynamicHelp": false,
39911
39913
  "multiple": false,
39912
39914
  "type": "option"
39913
39915
  },
39914
- "private-key-file": {
39915
- "description": "Path to PEM-encoded private key file",
39916
- "name": "private-key-file",
39916
+ "expressions": {
39917
+ "description": "Comma-separated list of rule expressions",
39918
+ "name": "expressions",
39917
39919
  "required": true,
39918
39920
  "hasDynamicHelp": false,
39919
39921
  "multiple": false,
39920
39922
  "type": "option"
39923
+ },
39924
+ "descriptions": {
39925
+ "description": "Comma-separated list of rule descriptions (must match expressions count)",
39926
+ "name": "descriptions",
39927
+ "hasDynamicHelp": false,
39928
+ "multiple": false,
39929
+ "type": "option"
39921
39930
  }
39922
39931
  },
39923
39932
  "hasDynamicHelp": false,
39924
39933
  "hiddenAliases": [],
39925
- "id": "ecdn:mtls:create",
39934
+ "id": "ecdn:mrt-rules:create",
39926
39935
  "pluginAlias": "@salesforce/b2c-cli",
39927
39936
  "pluginName": "@salesforce/b2c-cli",
39928
39937
  "pluginType": "core",
39929
- "strict": true,
39930
39938
  "enableJsonFlag": true,
39931
39939
  "isESM": true,
39932
39940
  "relativePath": [
39933
39941
  "dist",
39934
39942
  "commands",
39935
39943
  "ecdn",
39936
- "mtls",
39944
+ "mrt-rules",
39937
39945
  "create.js"
39938
39946
  ]
39939
39947
  },
39940
- "ecdn:mtls:delete": {
39948
+ "ecdn:mrt-rules:delete": {
39941
39949
  "aliases": [],
39942
39950
  "args": {},
39943
- "description": "Delete an mTLS certificate\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-delete",
39951
+ "description": "Delete an MRT ruleset and all rules within it\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-delete",
39944
39952
  "examples": [
39945
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629"
39953
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id 12345678901234asdfasfasdf"
39946
39954
  ],
39947
39955
  "flags": {
39948
39956
  "json": {
@@ -40174,9 +40182,18 @@
40174
40182
  "multiple": false,
40175
40183
  "type": "option"
40176
40184
  },
40177
- "certificate-id": {
40178
- "description": "mTLS certificate ID to delete",
40179
- "name": "certificate-id",
40185
+ "zone": {
40186
+ "char": "z",
40187
+ "description": "Zone ID or zone name",
40188
+ "name": "zone",
40189
+ "required": true,
40190
+ "hasDynamicHelp": false,
40191
+ "multiple": false,
40192
+ "type": "option"
40193
+ },
40194
+ "ruleset-id": {
40195
+ "description": "MRT ruleset ID to delete",
40196
+ "name": "ruleset-id",
40180
40197
  "required": true,
40181
40198
  "hasDynamicHelp": false,
40182
40199
  "multiple": false,
@@ -40185,28 +40202,27 @@
40185
40202
  },
40186
40203
  "hasDynamicHelp": false,
40187
40204
  "hiddenAliases": [],
40188
- "id": "ecdn:mtls:delete",
40205
+ "id": "ecdn:mrt-rules:delete",
40189
40206
  "pluginAlias": "@salesforce/b2c-cli",
40190
40207
  "pluginName": "@salesforce/b2c-cli",
40191
40208
  "pluginType": "core",
40192
- "strict": true,
40193
40209
  "enableJsonFlag": true,
40194
40210
  "isESM": true,
40195
40211
  "relativePath": [
40196
40212
  "dist",
40197
40213
  "commands",
40198
40214
  "ecdn",
40199
- "mtls",
40215
+ "mrt-rules",
40200
40216
  "delete.js"
40201
40217
  ]
40202
40218
  },
40203
- "ecdn:mtls:get": {
40219
+ "ecdn:mrt-rules:get": {
40204
40220
  "aliases": [],
40205
40221
  "args": {},
40206
- "description": "Get details of an mTLS certificate\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-get",
40222
+ "description": "Get MRT ruleset for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-get",
40207
40223
  "examples": [
40208
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629",
40209
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629 --json"
40224
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
40225
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
40210
40226
  ],
40211
40227
  "flags": {
40212
40228
  "json": {
@@ -40438,9 +40454,10 @@
40438
40454
  "multiple": false,
40439
40455
  "type": "option"
40440
40456
  },
40441
- "certificate-id": {
40442
- "description": "mTLS certificate ID",
40443
- "name": "certificate-id",
40457
+ "zone": {
40458
+ "char": "z",
40459
+ "description": "Zone ID or zone name",
40460
+ "name": "zone",
40444
40461
  "required": true,
40445
40462
  "hasDynamicHelp": false,
40446
40463
  "multiple": false,
@@ -40449,29 +40466,27 @@
40449
40466
  },
40450
40467
  "hasDynamicHelp": false,
40451
40468
  "hiddenAliases": [],
40452
- "id": "ecdn:mtls:get",
40469
+ "id": "ecdn:mrt-rules:get",
40453
40470
  "pluginAlias": "@salesforce/b2c-cli",
40454
40471
  "pluginName": "@salesforce/b2c-cli",
40455
40472
  "pluginType": "core",
40456
- "strict": true,
40457
40473
  "enableJsonFlag": true,
40458
40474
  "isESM": true,
40459
40475
  "relativePath": [
40460
40476
  "dist",
40461
40477
  "commands",
40462
40478
  "ecdn",
40463
- "mtls",
40479
+ "mrt-rules",
40464
40480
  "get.js"
40465
40481
  ]
40466
40482
  },
40467
- "ecdn:mtls:list": {
40483
+ "ecdn:mrt-rules:update": {
40468
40484
  "aliases": [],
40469
40485
  "args": {},
40470
- "description": "List mTLS certificates for code upload\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-list",
40486
+ "description": "Update MRT ruleset hostname or add new rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-update",
40471
40487
  "examples": [
40472
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd",
40473
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --extended",
40474
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --json"
40488
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname new-customer-pwa.mobify-storefront.com",
40489
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"new.example.com\")'"
40475
40490
  ],
40476
40491
  "flags": {
40477
40492
  "json": {
@@ -40703,46 +40718,67 @@
40703
40718
  "multiple": false,
40704
40719
  "type": "option"
40705
40720
  },
40706
- "columns": {
40707
- "char": "c",
40708
- "description": "Columns to display (comma-separated). Available: mtlsCertificateId, mtlsCertificateName, issuer, expiresOn, mtlsAssociatedCodeUploadHostname, ca",
40709
- "name": "columns",
40721
+ "zone": {
40722
+ "char": "z",
40723
+ "description": "Zone ID or zone name",
40724
+ "name": "zone",
40725
+ "required": true,
40710
40726
  "hasDynamicHelp": false,
40711
40727
  "multiple": false,
40712
40728
  "type": "option"
40713
40729
  },
40714
- "extended": {
40715
- "char": "x",
40716
- "description": "Show all columns including extended fields",
40717
- "name": "extended",
40718
- "allowNo": false,
40719
- "type": "boolean"
40730
+ "mrt-hostname": {
40731
+ "description": "New Managed Runtime instance hostname",
40732
+ "name": "mrt-hostname",
40733
+ "required": true,
40734
+ "hasDynamicHelp": false,
40735
+ "multiple": false,
40736
+ "type": "option"
40737
+ },
40738
+ "old-mrt-hostname": {
40739
+ "description": "Current MRT hostname (required when changing hostname)",
40740
+ "name": "old-mrt-hostname",
40741
+ "hasDynamicHelp": false,
40742
+ "multiple": false,
40743
+ "type": "option"
40744
+ },
40745
+ "expressions": {
40746
+ "description": "Comma-separated list of new rule expressions to add",
40747
+ "name": "expressions",
40748
+ "hasDynamicHelp": false,
40749
+ "multiple": false,
40750
+ "type": "option"
40751
+ },
40752
+ "descriptions": {
40753
+ "description": "Comma-separated list of descriptions for new rules (must match expressions count)",
40754
+ "name": "descriptions",
40755
+ "hasDynamicHelp": false,
40756
+ "multiple": false,
40757
+ "type": "option"
40720
40758
  }
40721
40759
  },
40722
40760
  "hasDynamicHelp": false,
40723
40761
  "hiddenAliases": [],
40724
- "id": "ecdn:mtls:list",
40762
+ "id": "ecdn:mrt-rules:update",
40725
40763
  "pluginAlias": "@salesforce/b2c-cli",
40726
40764
  "pluginName": "@salesforce/b2c-cli",
40727
40765
  "pluginType": "core",
40728
- "strict": true,
40729
40766
  "enableJsonFlag": true,
40730
40767
  "isESM": true,
40731
40768
  "relativePath": [
40732
40769
  "dist",
40733
40770
  "commands",
40734
40771
  "ecdn",
40735
- "mtls",
40736
- "list.js"
40772
+ "mrt-rules",
40773
+ "update.js"
40737
40774
  ]
40738
40775
  },
40739
- "ecdn:mrt-rules:create": {
40776
+ "ecdn:mtls:create": {
40740
40777
  "aliases": [],
40741
40778
  "args": {},
40742
- "description": "Create MRT rules to route requests to a Managed Runtime environment\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-create",
40779
+ "description": "Create an mTLS certificate for code upload authentication\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-create",
40743
40780
  "examples": [
40744
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"example.com\")'",
40745
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"example.com\")' --descriptions \"Route to PWA\""
40781
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --name my-cert --certificate-file cert.pem --private-key-file key.pem"
40746
40782
  ],
40747
40783
  "flags": {
40748
40784
  "json": {
@@ -40974,61 +41010,54 @@
40974
41010
  "multiple": false,
40975
41011
  "type": "option"
40976
41012
  },
40977
- "zone": {
40978
- "char": "z",
40979
- "description": "Zone ID or zone name",
40980
- "name": "zone",
41013
+ "name": {
41014
+ "description": "Certificate name for identification",
41015
+ "name": "name",
40981
41016
  "required": true,
40982
41017
  "hasDynamicHelp": false,
40983
41018
  "multiple": false,
40984
41019
  "type": "option"
40985
41020
  },
40986
- "mrt-hostname": {
40987
- "description": "Managed Runtime instance hostname",
40988
- "name": "mrt-hostname",
41021
+ "certificate-file": {
41022
+ "description": "Path to PEM-encoded certificate file",
41023
+ "name": "certificate-file",
40989
41024
  "required": true,
40990
41025
  "hasDynamicHelp": false,
40991
41026
  "multiple": false,
40992
41027
  "type": "option"
40993
41028
  },
40994
- "expressions": {
40995
- "description": "Comma-separated list of rule expressions",
40996
- "name": "expressions",
41029
+ "private-key-file": {
41030
+ "description": "Path to PEM-encoded private key file",
41031
+ "name": "private-key-file",
40997
41032
  "required": true,
40998
41033
  "hasDynamicHelp": false,
40999
41034
  "multiple": false,
41000
41035
  "type": "option"
41001
- },
41002
- "descriptions": {
41003
- "description": "Comma-separated list of rule descriptions (must match expressions count)",
41004
- "name": "descriptions",
41005
- "hasDynamicHelp": false,
41006
- "multiple": false,
41007
- "type": "option"
41008
41036
  }
41009
41037
  },
41010
41038
  "hasDynamicHelp": false,
41011
41039
  "hiddenAliases": [],
41012
- "id": "ecdn:mrt-rules:create",
41040
+ "id": "ecdn:mtls:create",
41013
41041
  "pluginAlias": "@salesforce/b2c-cli",
41014
41042
  "pluginName": "@salesforce/b2c-cli",
41015
41043
  "pluginType": "core",
41044
+ "strict": true,
41016
41045
  "enableJsonFlag": true,
41017
41046
  "isESM": true,
41018
41047
  "relativePath": [
41019
41048
  "dist",
41020
41049
  "commands",
41021
41050
  "ecdn",
41022
- "mrt-rules",
41051
+ "mtls",
41023
41052
  "create.js"
41024
41053
  ]
41025
41054
  },
41026
- "ecdn:mrt-rules:delete": {
41055
+ "ecdn:mtls:delete": {
41027
41056
  "aliases": [],
41028
41057
  "args": {},
41029
- "description": "Delete an MRT ruleset and all rules within it\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-delete",
41058
+ "description": "Delete an mTLS certificate\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-delete",
41030
41059
  "examples": [
41031
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --ruleset-id 12345678901234asdfasfasdf"
41060
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629"
41032
41061
  ],
41033
41062
  "flags": {
41034
41063
  "json": {
@@ -41260,18 +41289,9 @@
41260
41289
  "multiple": false,
41261
41290
  "type": "option"
41262
41291
  },
41263
- "zone": {
41264
- "char": "z",
41265
- "description": "Zone ID or zone name",
41266
- "name": "zone",
41267
- "required": true,
41268
- "hasDynamicHelp": false,
41269
- "multiple": false,
41270
- "type": "option"
41271
- },
41272
- "ruleset-id": {
41273
- "description": "MRT ruleset ID to delete",
41274
- "name": "ruleset-id",
41292
+ "certificate-id": {
41293
+ "description": "mTLS certificate ID to delete",
41294
+ "name": "certificate-id",
41275
41295
  "required": true,
41276
41296
  "hasDynamicHelp": false,
41277
41297
  "multiple": false,
@@ -41280,27 +41300,28 @@
41280
41300
  },
41281
41301
  "hasDynamicHelp": false,
41282
41302
  "hiddenAliases": [],
41283
- "id": "ecdn:mrt-rules:delete",
41303
+ "id": "ecdn:mtls:delete",
41284
41304
  "pluginAlias": "@salesforce/b2c-cli",
41285
41305
  "pluginName": "@salesforce/b2c-cli",
41286
41306
  "pluginType": "core",
41307
+ "strict": true,
41287
41308
  "enableJsonFlag": true,
41288
41309
  "isESM": true,
41289
41310
  "relativePath": [
41290
41311
  "dist",
41291
41312
  "commands",
41292
41313
  "ecdn",
41293
- "mrt-rules",
41314
+ "mtls",
41294
41315
  "delete.js"
41295
41316
  ]
41296
41317
  },
41297
- "ecdn:mrt-rules:get": {
41318
+ "ecdn:mtls:get": {
41298
41319
  "aliases": [],
41299
41320
  "args": {},
41300
- "description": "Get MRT ruleset for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-get",
41321
+ "description": "Get details of an mTLS certificate\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-get",
41301
41322
  "examples": [
41302
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
41303
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
41323
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629",
41324
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --certificate-id 465a48f6-3d98-4c15-9312-211984ee8629 --json"
41304
41325
  ],
41305
41326
  "flags": {
41306
41327
  "json": {
@@ -41532,10 +41553,9 @@
41532
41553
  "multiple": false,
41533
41554
  "type": "option"
41534
41555
  },
41535
- "zone": {
41536
- "char": "z",
41537
- "description": "Zone ID or zone name",
41538
- "name": "zone",
41556
+ "certificate-id": {
41557
+ "description": "mTLS certificate ID",
41558
+ "name": "certificate-id",
41539
41559
  "required": true,
41540
41560
  "hasDynamicHelp": false,
41541
41561
  "multiple": false,
@@ -41544,27 +41564,29 @@
41544
41564
  },
41545
41565
  "hasDynamicHelp": false,
41546
41566
  "hiddenAliases": [],
41547
- "id": "ecdn:mrt-rules:get",
41567
+ "id": "ecdn:mtls:get",
41548
41568
  "pluginAlias": "@salesforce/b2c-cli",
41549
41569
  "pluginName": "@salesforce/b2c-cli",
41550
41570
  "pluginType": "core",
41571
+ "strict": true,
41551
41572
  "enableJsonFlag": true,
41552
41573
  "isESM": true,
41553
41574
  "relativePath": [
41554
41575
  "dist",
41555
41576
  "commands",
41556
41577
  "ecdn",
41557
- "mrt-rules",
41578
+ "mtls",
41558
41579
  "get.js"
41559
41580
  ]
41560
41581
  },
41561
- "ecdn:mrt-rules:update": {
41582
+ "ecdn:mtls:list": {
41562
41583
  "aliases": [],
41563
41584
  "args": {},
41564
- "description": "Update MRT ruleset hostname or add new rules\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mrt-rules-update",
41585
+ "description": "List mTLS certificates for code upload\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-mtls-list",
41565
41586
  "examples": [
41566
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname new-customer-pwa.mobify-storefront.com",
41567
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --mrt-hostname customer-pwa.mobify-storefront.com --expressions '(http.host eq \"new.example.com\")'"
41587
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd",
41588
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --extended",
41589
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --json"
41568
41590
  ],
41569
41591
  "flags": {
41570
41592
  "json": {
@@ -41796,59 +41818,37 @@
41796
41818
  "multiple": false,
41797
41819
  "type": "option"
41798
41820
  },
41799
- "zone": {
41800
- "char": "z",
41801
- "description": "Zone ID or zone name",
41802
- "name": "zone",
41803
- "required": true,
41804
- "hasDynamicHelp": false,
41805
- "multiple": false,
41806
- "type": "option"
41807
- },
41808
- "mrt-hostname": {
41809
- "description": "New Managed Runtime instance hostname",
41810
- "name": "mrt-hostname",
41811
- "required": true,
41812
- "hasDynamicHelp": false,
41813
- "multiple": false,
41814
- "type": "option"
41815
- },
41816
- "old-mrt-hostname": {
41817
- "description": "Current MRT hostname (required when changing hostname)",
41818
- "name": "old-mrt-hostname",
41819
- "hasDynamicHelp": false,
41820
- "multiple": false,
41821
- "type": "option"
41822
- },
41823
- "expressions": {
41824
- "description": "Comma-separated list of new rule expressions to add",
41825
- "name": "expressions",
41821
+ "columns": {
41822
+ "char": "c",
41823
+ "description": "Columns to display (comma-separated). Available: mtlsCertificateId, mtlsCertificateName, issuer, expiresOn, mtlsAssociatedCodeUploadHostname, ca",
41824
+ "name": "columns",
41826
41825
  "hasDynamicHelp": false,
41827
41826
  "multiple": false,
41828
41827
  "type": "option"
41829
41828
  },
41830
- "descriptions": {
41831
- "description": "Comma-separated list of descriptions for new rules (must match expressions count)",
41832
- "name": "descriptions",
41833
- "hasDynamicHelp": false,
41834
- "multiple": false,
41835
- "type": "option"
41829
+ "extended": {
41830
+ "char": "x",
41831
+ "description": "Show all columns including extended fields",
41832
+ "name": "extended",
41833
+ "allowNo": false,
41834
+ "type": "boolean"
41836
41835
  }
41837
41836
  },
41838
41837
  "hasDynamicHelp": false,
41839
41838
  "hiddenAliases": [],
41840
- "id": "ecdn:mrt-rules:update",
41839
+ "id": "ecdn:mtls:list",
41841
41840
  "pluginAlias": "@salesforce/b2c-cli",
41842
41841
  "pluginName": "@salesforce/b2c-cli",
41843
41842
  "pluginType": "core",
41843
+ "strict": true,
41844
41844
  "enableJsonFlag": true,
41845
41845
  "isESM": true,
41846
41846
  "relativePath": [
41847
41847
  "dist",
41848
41848
  "commands",
41849
41849
  "ecdn",
41850
- "mrt-rules",
41851
- "update.js"
41850
+ "mtls",
41851
+ "list.js"
41852
41852
  ]
41853
41853
  },
41854
41854
  "ecdn:origin-headers:delete": {
@@ -43244,10 +43244,10 @@
43244
43244
  "update.js"
43245
43245
  ]
43246
43246
  },
43247
- "ecdn:waf:migrate": {
43247
+ "ecdn:speed:get": {
43248
43248
  "aliases": [],
43249
43249
  "args": {},
43250
- "description": "Migrate a zone from WAF v1 to WAF v2 (only applicable for existing WAFv1 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-migrate",
43250
+ "description": "Get speed/performance settings for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-speed-get",
43251
43251
  "examples": [
43252
43252
  "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
43253
43253
  "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
@@ -43494,7 +43494,7 @@
43494
43494
  },
43495
43495
  "hasDynamicHelp": false,
43496
43496
  "hiddenAliases": [],
43497
- "id": "ecdn:waf:migrate",
43497
+ "id": "ecdn:speed:get",
43498
43498
  "pluginAlias": "@salesforce/b2c-cli",
43499
43499
  "pluginName": "@salesforce/b2c-cli",
43500
43500
  "pluginType": "core",
@@ -43504,17 +43504,18 @@
43504
43504
  "dist",
43505
43505
  "commands",
43506
43506
  "ecdn",
43507
- "waf",
43508
- "migrate.js"
43507
+ "speed",
43508
+ "get.js"
43509
43509
  ]
43510
43510
  },
43511
- "ecdn:zones:create": {
43511
+ "ecdn:speed:update": {
43512
43512
  "aliases": [],
43513
43513
  "args": {},
43514
- "description": "Create a new storefront CDN zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-zones-create",
43514
+ "description": "Update speed/performance settings for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-speed-update",
43515
43515
  "examples": [
43516
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --domain-name example.com",
43517
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --domain-name store.example.com --json"
43516
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --brotli on",
43517
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --http3 on --early-hints on",
43518
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --polish lossy --webp on"
43518
43519
  ],
43519
43520
  "flags": {
43520
43521
  "json": {
@@ -43746,41 +43747,117 @@
43746
43747
  "multiple": false,
43747
43748
  "type": "option"
43748
43749
  },
43749
- "domain-name": {
43750
- "char": "d",
43751
- "description": "Domain name for the storefront zone",
43752
- "name": "domain-name",
43750
+ "zone": {
43751
+ "char": "z",
43752
+ "description": "Zone ID or zone name",
43753
+ "name": "zone",
43753
43754
  "required": true,
43754
43755
  "hasDynamicHelp": false,
43755
43756
  "multiple": false,
43756
43757
  "type": "option"
43758
+ },
43759
+ "brotli": {
43760
+ "description": "Brotli compression (on/off)",
43761
+ "name": "brotli",
43762
+ "hasDynamicHelp": false,
43763
+ "multiple": false,
43764
+ "options": [
43765
+ "on",
43766
+ "off"
43767
+ ],
43768
+ "type": "option"
43769
+ },
43770
+ "http2-prioritization": {
43771
+ "description": "HTTP/2 prioritization (on/off)",
43772
+ "name": "http2-prioritization",
43773
+ "hasDynamicHelp": false,
43774
+ "multiple": false,
43775
+ "options": [
43776
+ "on",
43777
+ "off"
43778
+ ],
43779
+ "type": "option"
43780
+ },
43781
+ "http2-to-origin": {
43782
+ "description": "HTTP/2 to origin (on/off)",
43783
+ "name": "http2-to-origin",
43784
+ "hasDynamicHelp": false,
43785
+ "multiple": false,
43786
+ "options": [
43787
+ "on",
43788
+ "off"
43789
+ ],
43790
+ "type": "option"
43791
+ },
43792
+ "http3": {
43793
+ "description": "HTTP/3 (on/off)",
43794
+ "name": "http3",
43795
+ "hasDynamicHelp": false,
43796
+ "multiple": false,
43797
+ "options": [
43798
+ "on",
43799
+ "off"
43800
+ ],
43801
+ "type": "option"
43802
+ },
43803
+ "early-hints": {
43804
+ "description": "Early hints (on/off)",
43805
+ "name": "early-hints",
43806
+ "hasDynamicHelp": false,
43807
+ "multiple": false,
43808
+ "options": [
43809
+ "on",
43810
+ "off"
43811
+ ],
43812
+ "type": "option"
43813
+ },
43814
+ "webp": {
43815
+ "description": "WebP image format support (on/off)",
43816
+ "name": "webp",
43817
+ "hasDynamicHelp": false,
43818
+ "multiple": false,
43819
+ "options": [
43820
+ "on",
43821
+ "off"
43822
+ ],
43823
+ "type": "option"
43824
+ },
43825
+ "polish": {
43826
+ "description": "Image polish level (off/lossless/lossy)",
43827
+ "name": "polish",
43828
+ "hasDynamicHelp": false,
43829
+ "multiple": false,
43830
+ "options": [
43831
+ "off",
43832
+ "lossless",
43833
+ "lossy"
43834
+ ],
43835
+ "type": "option"
43757
43836
  }
43758
43837
  },
43759
43838
  "hasDynamicHelp": false,
43760
43839
  "hiddenAliases": [],
43761
- "id": "ecdn:zones:create",
43840
+ "id": "ecdn:speed:update",
43762
43841
  "pluginAlias": "@salesforce/b2c-cli",
43763
43842
  "pluginName": "@salesforce/b2c-cli",
43764
43843
  "pluginType": "core",
43765
- "strict": true,
43766
43844
  "enableJsonFlag": true,
43767
43845
  "isESM": true,
43768
43846
  "relativePath": [
43769
43847
  "dist",
43770
43848
  "commands",
43771
43849
  "ecdn",
43772
- "zones",
43773
- "create.js"
43850
+ "speed",
43851
+ "update.js"
43774
43852
  ]
43775
43853
  },
43776
- "ecdn:zones:list": {
43854
+ "ecdn:waf:migrate": {
43777
43855
  "aliases": [],
43778
43856
  "args": {},
43779
- "description": "List all eCDN zones for the organization\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-zones-list",
43857
+ "description": "Migrate a zone from WAF v1 to WAF v2 (only applicable for existing WAFv1 zones)\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-waf-migrate",
43780
43858
  "examples": [
43781
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd",
43782
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --extended",
43783
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --json"
43859
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
43860
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
43784
43861
  ],
43785
43862
  "flags": {
43786
43863
  "json": {
@@ -44012,46 +44089,39 @@
44012
44089
  "multiple": false,
44013
44090
  "type": "option"
44014
44091
  },
44015
- "columns": {
44016
- "char": "c",
44017
- "description": "Columns to display (comma-separated). Available: zoneId, name, status",
44018
- "name": "columns",
44092
+ "zone": {
44093
+ "char": "z",
44094
+ "description": "Zone ID or zone name",
44095
+ "name": "zone",
44096
+ "required": true,
44019
44097
  "hasDynamicHelp": false,
44020
44098
  "multiple": false,
44021
44099
  "type": "option"
44022
- },
44023
- "extended": {
44024
- "char": "x",
44025
- "description": "Show all columns including extended fields",
44026
- "name": "extended",
44027
- "allowNo": false,
44028
- "type": "boolean"
44029
44100
  }
44030
44101
  },
44031
44102
  "hasDynamicHelp": false,
44032
44103
  "hiddenAliases": [],
44033
- "id": "ecdn:zones:list",
44104
+ "id": "ecdn:waf:migrate",
44034
44105
  "pluginAlias": "@salesforce/b2c-cli",
44035
44106
  "pluginName": "@salesforce/b2c-cli",
44036
44107
  "pluginType": "core",
44037
- "strict": true,
44038
44108
  "enableJsonFlag": true,
44039
44109
  "isESM": true,
44040
44110
  "relativePath": [
44041
44111
  "dist",
44042
44112
  "commands",
44043
44113
  "ecdn",
44044
- "zones",
44045
- "list.js"
44114
+ "waf",
44115
+ "migrate.js"
44046
44116
  ]
44047
44117
  },
44048
- "ecdn:speed:get": {
44118
+ "ecdn:zones:create": {
44049
44119
  "aliases": [],
44050
44120
  "args": {},
44051
- "description": "Get speed/performance settings for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-speed-get",
44121
+ "description": "Create a new storefront CDN zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-zones-create",
44052
44122
  "examples": [
44053
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone",
44054
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --json"
44123
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --domain-name example.com",
44124
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --domain-name store.example.com --json"
44055
44125
  ],
44056
44126
  "flags": {
44057
44127
  "json": {
@@ -44283,10 +44353,10 @@
44283
44353
  "multiple": false,
44284
44354
  "type": "option"
44285
44355
  },
44286
- "zone": {
44287
- "char": "z",
44288
- "description": "Zone ID or zone name",
44289
- "name": "zone",
44356
+ "domain-name": {
44357
+ "char": "d",
44358
+ "description": "Domain name for the storefront zone",
44359
+ "name": "domain-name",
44290
44360
  "required": true,
44291
44361
  "hasDynamicHelp": false,
44292
44362
  "multiple": false,
@@ -44295,28 +44365,29 @@
44295
44365
  },
44296
44366
  "hasDynamicHelp": false,
44297
44367
  "hiddenAliases": [],
44298
- "id": "ecdn:speed:get",
44368
+ "id": "ecdn:zones:create",
44299
44369
  "pluginAlias": "@salesforce/b2c-cli",
44300
44370
  "pluginName": "@salesforce/b2c-cli",
44301
44371
  "pluginType": "core",
44372
+ "strict": true,
44302
44373
  "enableJsonFlag": true,
44303
44374
  "isESM": true,
44304
44375
  "relativePath": [
44305
44376
  "dist",
44306
44377
  "commands",
44307
44378
  "ecdn",
44308
- "speed",
44309
- "get.js"
44379
+ "zones",
44380
+ "create.js"
44310
44381
  ]
44311
44382
  },
44312
- "ecdn:speed:update": {
44383
+ "ecdn:zones:list": {
44313
44384
  "aliases": [],
44314
44385
  "args": {},
44315
- "description": "Update speed/performance settings for a zone\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-speed-update",
44386
+ "description": "List all eCDN zones for the organization\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/ecdn.html#b2c-ecdn-zones-list",
44316
44387
  "examples": [
44317
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --brotli on",
44318
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --http3 on --early-hints on",
44319
- "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --zone my-zone --polish lossy --webp on"
44388
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd",
44389
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --extended",
44390
+ "<%= config.bin %> <%= command.id %> --tenant-id zzxy_prd --json"
44320
44391
  ],
44321
44392
  "flags": {
44322
44393
  "json": {
@@ -44548,108 +44619,37 @@
44548
44619
  "multiple": false,
44549
44620
  "type": "option"
44550
44621
  },
44551
- "zone": {
44552
- "char": "z",
44553
- "description": "Zone ID or zone name",
44554
- "name": "zone",
44555
- "required": true,
44556
- "hasDynamicHelp": false,
44557
- "multiple": false,
44558
- "type": "option"
44559
- },
44560
- "brotli": {
44561
- "description": "Brotli compression (on/off)",
44562
- "name": "brotli",
44563
- "hasDynamicHelp": false,
44564
- "multiple": false,
44565
- "options": [
44566
- "on",
44567
- "off"
44568
- ],
44569
- "type": "option"
44570
- },
44571
- "http2-prioritization": {
44572
- "description": "HTTP/2 prioritization (on/off)",
44573
- "name": "http2-prioritization",
44574
- "hasDynamicHelp": false,
44575
- "multiple": false,
44576
- "options": [
44577
- "on",
44578
- "off"
44579
- ],
44580
- "type": "option"
44581
- },
44582
- "http2-to-origin": {
44583
- "description": "HTTP/2 to origin (on/off)",
44584
- "name": "http2-to-origin",
44585
- "hasDynamicHelp": false,
44586
- "multiple": false,
44587
- "options": [
44588
- "on",
44589
- "off"
44590
- ],
44591
- "type": "option"
44592
- },
44593
- "http3": {
44594
- "description": "HTTP/3 (on/off)",
44595
- "name": "http3",
44596
- "hasDynamicHelp": false,
44597
- "multiple": false,
44598
- "options": [
44599
- "on",
44600
- "off"
44601
- ],
44602
- "type": "option"
44603
- },
44604
- "early-hints": {
44605
- "description": "Early hints (on/off)",
44606
- "name": "early-hints",
44607
- "hasDynamicHelp": false,
44608
- "multiple": false,
44609
- "options": [
44610
- "on",
44611
- "off"
44612
- ],
44613
- "type": "option"
44614
- },
44615
- "webp": {
44616
- "description": "WebP image format support (on/off)",
44617
- "name": "webp",
44622
+ "columns": {
44623
+ "char": "c",
44624
+ "description": "Columns to display (comma-separated). Available: zoneId, name, status",
44625
+ "name": "columns",
44618
44626
  "hasDynamicHelp": false,
44619
44627
  "multiple": false,
44620
- "options": [
44621
- "on",
44622
- "off"
44623
- ],
44624
44628
  "type": "option"
44625
44629
  },
44626
- "polish": {
44627
- "description": "Image polish level (off/lossless/lossy)",
44628
- "name": "polish",
44629
- "hasDynamicHelp": false,
44630
- "multiple": false,
44631
- "options": [
44632
- "off",
44633
- "lossless",
44634
- "lossy"
44635
- ],
44636
- "type": "option"
44630
+ "extended": {
44631
+ "char": "x",
44632
+ "description": "Show all columns including extended fields",
44633
+ "name": "extended",
44634
+ "allowNo": false,
44635
+ "type": "boolean"
44637
44636
  }
44638
44637
  },
44639
44638
  "hasDynamicHelp": false,
44640
44639
  "hiddenAliases": [],
44641
- "id": "ecdn:speed:update",
44640
+ "id": "ecdn:zones:list",
44642
44641
  "pluginAlias": "@salesforce/b2c-cli",
44643
44642
  "pluginName": "@salesforce/b2c-cli",
44644
44643
  "pluginType": "core",
44644
+ "strict": true,
44645
44645
  "enableJsonFlag": true,
44646
44646
  "isESM": true,
44647
44647
  "relativePath": [
44648
44648
  "dist",
44649
44649
  "commands",
44650
44650
  "ecdn",
44651
- "speed",
44652
- "update.js"
44651
+ "zones",
44652
+ "list.js"
44653
44653
  ]
44654
44654
  },
44655
44655
  "mrt:bundle:delete": {
@@ -57774,21 +57774,21 @@
57774
57774
  "set-active.js"
57775
57775
  ]
57776
57776
  },
57777
- "slas:client:create": {
57777
+ "sites:cartridges:add": {
57778
57778
  "aliases": [],
57779
57779
  "args": {
57780
- "clientId": {
57781
- "description": "SLAS client ID to create or update (generates UUID if omitted)",
57782
- "name": "clientId",
57783
- "required": false
57780
+ "cartridge": {
57781
+ "description": "Cartridge name to add",
57782
+ "name": "cartridge",
57783
+ "required": true
57784
57784
  }
57785
57785
  },
57786
- "description": "Create or update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-create",
57786
+ "description": "Add a cartridge to a site's cartridge path\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-add",
57787
57787
  "examples": [
57788
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
57789
- "<%= 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",
57790
- "<%= 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",
57791
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
57788
+ "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch",
57789
+ "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch --position first",
57790
+ "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch --position after --target app_storefront_base",
57791
+ "<%= config.bin %> sites cartridges add bm_extension --bm"
57792
57792
  ],
57793
57793
  "flags": {
57794
57794
  "json": {
@@ -58020,77 +58020,134 @@
58020
58020
  "multiple": false,
58021
58021
  "type": "option"
58022
58022
  },
58023
- "name": {
58024
- "description": "Display name for the client (generates timestamped name if omitted)",
58025
- "name": "name",
58023
+ "server": {
58024
+ "char": "s",
58025
+ "description": "B2C instance hostname",
58026
+ "env": "SFCC_SERVER",
58027
+ "helpGroup": "INSTANCE",
58028
+ "name": "server",
58026
58029
  "hasDynamicHelp": false,
58027
58030
  "multiple": false,
58028
58031
  "type": "option"
58029
58032
  },
58030
- "channels": {
58031
- "description": "Site IDs/channels (comma-separated)",
58032
- "name": "channels",
58033
- "required": true,
58034
- "delimiter": ",",
58033
+ "webdav-server": {
58034
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
58035
+ "env": "SFCC_WEBDAV_SERVER",
58036
+ "helpGroup": "INSTANCE",
58037
+ "name": "webdav-server",
58035
58038
  "hasDynamicHelp": false,
58036
- "multiple": true,
58039
+ "multiple": false,
58037
58040
  "type": "option"
58038
58041
  },
58039
- "scopes": {
58040
- "description": "OAuth scopes for the client (comma-separated)",
58041
- "name": "scopes",
58042
- "required": false,
58043
- "delimiter": ",",
58042
+ "code-version": {
58043
+ "char": "v",
58044
+ "description": "Code version",
58045
+ "env": "SFCC_CODE_VERSION",
58046
+ "helpGroup": "INSTANCE",
58047
+ "name": "code-version",
58044
58048
  "hasDynamicHelp": false,
58045
- "multiple": true,
58049
+ "multiple": false,
58046
58050
  "type": "option"
58047
58051
  },
58048
- "default-scopes": {
58049
- "description": "Use default shopper scopes (can be combined with --scopes for additional scopes)",
58050
- "name": "default-scopes",
58051
- "allowNo": false,
58052
- "type": "boolean"
58052
+ "username": {
58053
+ "char": "u",
58054
+ "description": "Username for Basic Auth (WebDAV)",
58055
+ "env": "SFCC_USERNAME",
58056
+ "helpGroup": "AUTH",
58057
+ "name": "username",
58058
+ "hasDynamicHelp": false,
58059
+ "multiple": false,
58060
+ "type": "option"
58053
58061
  },
58054
- "redirect-uri": {
58055
- "description": "Redirect URIs (comma-separated)",
58056
- "name": "redirect-uri",
58057
- "required": true,
58058
- "delimiter": ",",
58062
+ "password": {
58063
+ "char": "p",
58064
+ "description": "Password/access key for Basic Auth (WebDAV)",
58065
+ "env": "SFCC_PASSWORD",
58066
+ "helpGroup": "AUTH",
58067
+ "name": "password",
58059
58068
  "hasDynamicHelp": false,
58060
- "multiple": true,
58069
+ "multiple": false,
58061
58070
  "type": "option"
58062
58071
  },
58063
- "callback-uri": {
58064
- "description": "Callback URIs for passwordless login (comma-separated)",
58065
- "name": "callback-uri",
58066
- "delimiter": ",",
58072
+ "certificate": {
58073
+ "description": "Path to PKCS12 certificate for two-factor auth",
58074
+ "env": "SFCC_CERTIFICATE",
58075
+ "helpGroup": "AUTH",
58076
+ "name": "certificate",
58067
58077
  "hasDynamicHelp": false,
58068
- "multiple": true,
58078
+ "multiple": false,
58069
58079
  "type": "option"
58070
58080
  },
58071
- "secret": {
58072
- "description": "Client secret for private clients (if omitted, one will be generated)",
58073
- "name": "secret",
58081
+ "passphrase": {
58082
+ "description": "Passphrase for the certificate",
58083
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
58084
+ "helpGroup": "AUTH",
58085
+ "name": "passphrase",
58074
58086
  "hasDynamicHelp": false,
58075
58087
  "multiple": false,
58076
58088
  "type": "option"
58077
58089
  },
58078
- "public": {
58079
- "description": "Create a public client (default is private)",
58080
- "name": "public",
58090
+ "selfsigned": {
58091
+ "description": "Allow self-signed server certificates",
58092
+ "env": "SFCC_SELFSIGNED",
58093
+ "helpGroup": "AUTH",
58094
+ "name": "selfsigned",
58081
58095
  "allowNo": false,
58082
58096
  "type": "boolean"
58083
58097
  },
58084
- "create-tenant": {
58085
- "description": "Automatically create tenant if it does not exist",
58086
- "name": "create-tenant",
58098
+ "verify": {
58099
+ "description": "Verify SSL certificates",
58100
+ "helpGroup": "AUTH",
58101
+ "name": "verify",
58087
58102
  "allowNo": true,
58088
58103
  "type": "boolean"
58104
+ },
58105
+ "site-id": {
58106
+ "description": "Site ID (e.g. RefArch)",
58107
+ "exclusive": [
58108
+ "bm"
58109
+ ],
58110
+ "name": "site-id",
58111
+ "hasDynamicHelp": false,
58112
+ "multiple": false,
58113
+ "type": "option"
58114
+ },
58115
+ "bm": {
58116
+ "description": "Use Business Manager site (Sites-Site)",
58117
+ "exclusive": [
58118
+ "site-id"
58119
+ ],
58120
+ "name": "bm",
58121
+ "allowNo": false,
58122
+ "type": "boolean"
58123
+ },
58124
+ "position": {
58125
+ "description": "Position to add the cartridge",
58126
+ "name": "position",
58127
+ "default": "first",
58128
+ "hasDynamicHelp": false,
58129
+ "multiple": false,
58130
+ "options": [
58131
+ "first",
58132
+ "last",
58133
+ "before",
58134
+ "after"
58135
+ ],
58136
+ "type": "option"
58137
+ },
58138
+ "target": {
58139
+ "description": "Target cartridge (required when position is before/after)",
58140
+ "name": "target",
58141
+ "hasDynamicHelp": false,
58142
+ "multiple": false,
58143
+ "type": "option"
58089
58144
  }
58090
58145
  },
58091
58146
  "hasDynamicHelp": false,
58092
- "hiddenAliases": [],
58093
- "id": "slas:client:create",
58147
+ "hiddenAliases": [
58148
+ "sites:cartridge:add"
58149
+ ],
58150
+ "id": "sites:cartridges:add",
58094
58151
  "pluginAlias": "@salesforce/b2c-cli",
58095
58152
  "pluginName": "@salesforce/b2c-cli",
58096
58153
  "pluginType": "core",
@@ -58100,24 +58157,19 @@
58100
58157
  "relativePath": [
58101
58158
  "dist",
58102
58159
  "commands",
58103
- "slas",
58104
- "client",
58105
- "create.js"
58160
+ "sites",
58161
+ "cartridges",
58162
+ "add.js"
58106
58163
  ]
58107
58164
  },
58108
- "slas:client:delete": {
58165
+ "sites:cartridges:list": {
58109
58166
  "aliases": [],
58110
- "args": {
58111
- "clientId": {
58112
- "description": "SLAS client ID to delete",
58113
- "name": "clientId",
58114
- "required": true
58115
- }
58116
- },
58117
- "description": "Delete a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-delete",
58167
+ "args": {},
58168
+ "description": "List the cartridge path for a site\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-list",
58118
58169
  "examples": [
58119
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
58120
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
58170
+ "<%= config.bin %> sites cartridges list --site-id RefArch",
58171
+ "<%= config.bin %> sites cartridges list --bm",
58172
+ "<%= config.bin %> sites cartridges list --site-id RefArch --json"
58121
58173
  ],
58122
58174
  "flags": {
58123
58175
  "json": {
@@ -58348,11 +58400,114 @@
58348
58400
  "hasDynamicHelp": false,
58349
58401
  "multiple": false,
58350
58402
  "type": "option"
58403
+ },
58404
+ "server": {
58405
+ "char": "s",
58406
+ "description": "B2C instance hostname",
58407
+ "env": "SFCC_SERVER",
58408
+ "helpGroup": "INSTANCE",
58409
+ "name": "server",
58410
+ "hasDynamicHelp": false,
58411
+ "multiple": false,
58412
+ "type": "option"
58413
+ },
58414
+ "webdav-server": {
58415
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
58416
+ "env": "SFCC_WEBDAV_SERVER",
58417
+ "helpGroup": "INSTANCE",
58418
+ "name": "webdav-server",
58419
+ "hasDynamicHelp": false,
58420
+ "multiple": false,
58421
+ "type": "option"
58422
+ },
58423
+ "code-version": {
58424
+ "char": "v",
58425
+ "description": "Code version",
58426
+ "env": "SFCC_CODE_VERSION",
58427
+ "helpGroup": "INSTANCE",
58428
+ "name": "code-version",
58429
+ "hasDynamicHelp": false,
58430
+ "multiple": false,
58431
+ "type": "option"
58432
+ },
58433
+ "username": {
58434
+ "char": "u",
58435
+ "description": "Username for Basic Auth (WebDAV)",
58436
+ "env": "SFCC_USERNAME",
58437
+ "helpGroup": "AUTH",
58438
+ "name": "username",
58439
+ "hasDynamicHelp": false,
58440
+ "multiple": false,
58441
+ "type": "option"
58442
+ },
58443
+ "password": {
58444
+ "char": "p",
58445
+ "description": "Password/access key for Basic Auth (WebDAV)",
58446
+ "env": "SFCC_PASSWORD",
58447
+ "helpGroup": "AUTH",
58448
+ "name": "password",
58449
+ "hasDynamicHelp": false,
58450
+ "multiple": false,
58451
+ "type": "option"
58452
+ },
58453
+ "certificate": {
58454
+ "description": "Path to PKCS12 certificate for two-factor auth",
58455
+ "env": "SFCC_CERTIFICATE",
58456
+ "helpGroup": "AUTH",
58457
+ "name": "certificate",
58458
+ "hasDynamicHelp": false,
58459
+ "multiple": false,
58460
+ "type": "option"
58461
+ },
58462
+ "passphrase": {
58463
+ "description": "Passphrase for the certificate",
58464
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
58465
+ "helpGroup": "AUTH",
58466
+ "name": "passphrase",
58467
+ "hasDynamicHelp": false,
58468
+ "multiple": false,
58469
+ "type": "option"
58470
+ },
58471
+ "selfsigned": {
58472
+ "description": "Allow self-signed server certificates",
58473
+ "env": "SFCC_SELFSIGNED",
58474
+ "helpGroup": "AUTH",
58475
+ "name": "selfsigned",
58476
+ "allowNo": false,
58477
+ "type": "boolean"
58478
+ },
58479
+ "verify": {
58480
+ "description": "Verify SSL certificates",
58481
+ "helpGroup": "AUTH",
58482
+ "name": "verify",
58483
+ "allowNo": true,
58484
+ "type": "boolean"
58485
+ },
58486
+ "site-id": {
58487
+ "description": "Site ID (e.g. RefArch)",
58488
+ "exclusive": [
58489
+ "bm"
58490
+ ],
58491
+ "name": "site-id",
58492
+ "hasDynamicHelp": false,
58493
+ "multiple": false,
58494
+ "type": "option"
58495
+ },
58496
+ "bm": {
58497
+ "description": "Use Business Manager site (Sites-Site)",
58498
+ "exclusive": [
58499
+ "site-id"
58500
+ ],
58501
+ "name": "bm",
58502
+ "allowNo": false,
58503
+ "type": "boolean"
58351
58504
  }
58352
58505
  },
58353
58506
  "hasDynamicHelp": false,
58354
- "hiddenAliases": [],
58355
- "id": "slas:client:delete",
58507
+ "hiddenAliases": [
58508
+ "sites:cartridge:list"
58509
+ ],
58510
+ "id": "sites:cartridges:list",
58356
58511
  "pluginAlias": "@salesforce/b2c-cli",
58357
58512
  "pluginName": "@salesforce/b2c-cli",
58358
58513
  "pluginType": "core",
@@ -58362,24 +58517,24 @@
58362
58517
  "relativePath": [
58363
58518
  "dist",
58364
58519
  "commands",
58365
- "slas",
58366
- "client",
58367
- "delete.js"
58520
+ "sites",
58521
+ "cartridges",
58522
+ "list.js"
58368
58523
  ]
58369
58524
  },
58370
- "slas:client:get": {
58525
+ "sites:cartridges:remove": {
58371
58526
  "aliases": [],
58372
58527
  "args": {
58373
- "clientId": {
58374
- "description": "SLAS client ID to retrieve",
58375
- "name": "clientId",
58528
+ "cartridge": {
58529
+ "description": "Cartridge name to remove",
58530
+ "name": "cartridge",
58376
58531
  "required": true
58377
58532
  }
58378
58533
  },
58379
- "description": "Get a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-get",
58534
+ "description": "Remove a cartridge from a site's cartridge path\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-remove",
58380
58535
  "examples": [
58381
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
58382
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
58536
+ "<%= config.bin %> sites cartridges remove old_cartridge --site-id RefArch",
58537
+ "<%= config.bin %> sites cartridges remove bm_extension --bm"
58383
58538
  ],
58384
58539
  "flags": {
58385
58540
  "json": {
@@ -58610,11 +58765,114 @@
58610
58765
  "hasDynamicHelp": false,
58611
58766
  "multiple": false,
58612
58767
  "type": "option"
58768
+ },
58769
+ "server": {
58770
+ "char": "s",
58771
+ "description": "B2C instance hostname",
58772
+ "env": "SFCC_SERVER",
58773
+ "helpGroup": "INSTANCE",
58774
+ "name": "server",
58775
+ "hasDynamicHelp": false,
58776
+ "multiple": false,
58777
+ "type": "option"
58778
+ },
58779
+ "webdav-server": {
58780
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
58781
+ "env": "SFCC_WEBDAV_SERVER",
58782
+ "helpGroup": "INSTANCE",
58783
+ "name": "webdav-server",
58784
+ "hasDynamicHelp": false,
58785
+ "multiple": false,
58786
+ "type": "option"
58787
+ },
58788
+ "code-version": {
58789
+ "char": "v",
58790
+ "description": "Code version",
58791
+ "env": "SFCC_CODE_VERSION",
58792
+ "helpGroup": "INSTANCE",
58793
+ "name": "code-version",
58794
+ "hasDynamicHelp": false,
58795
+ "multiple": false,
58796
+ "type": "option"
58797
+ },
58798
+ "username": {
58799
+ "char": "u",
58800
+ "description": "Username for Basic Auth (WebDAV)",
58801
+ "env": "SFCC_USERNAME",
58802
+ "helpGroup": "AUTH",
58803
+ "name": "username",
58804
+ "hasDynamicHelp": false,
58805
+ "multiple": false,
58806
+ "type": "option"
58807
+ },
58808
+ "password": {
58809
+ "char": "p",
58810
+ "description": "Password/access key for Basic Auth (WebDAV)",
58811
+ "env": "SFCC_PASSWORD",
58812
+ "helpGroup": "AUTH",
58813
+ "name": "password",
58814
+ "hasDynamicHelp": false,
58815
+ "multiple": false,
58816
+ "type": "option"
58817
+ },
58818
+ "certificate": {
58819
+ "description": "Path to PKCS12 certificate for two-factor auth",
58820
+ "env": "SFCC_CERTIFICATE",
58821
+ "helpGroup": "AUTH",
58822
+ "name": "certificate",
58823
+ "hasDynamicHelp": false,
58824
+ "multiple": false,
58825
+ "type": "option"
58826
+ },
58827
+ "passphrase": {
58828
+ "description": "Passphrase for the certificate",
58829
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
58830
+ "helpGroup": "AUTH",
58831
+ "name": "passphrase",
58832
+ "hasDynamicHelp": false,
58833
+ "multiple": false,
58834
+ "type": "option"
58835
+ },
58836
+ "selfsigned": {
58837
+ "description": "Allow self-signed server certificates",
58838
+ "env": "SFCC_SELFSIGNED",
58839
+ "helpGroup": "AUTH",
58840
+ "name": "selfsigned",
58841
+ "allowNo": false,
58842
+ "type": "boolean"
58843
+ },
58844
+ "verify": {
58845
+ "description": "Verify SSL certificates",
58846
+ "helpGroup": "AUTH",
58847
+ "name": "verify",
58848
+ "allowNo": true,
58849
+ "type": "boolean"
58850
+ },
58851
+ "site-id": {
58852
+ "description": "Site ID (e.g. RefArch)",
58853
+ "exclusive": [
58854
+ "bm"
58855
+ ],
58856
+ "name": "site-id",
58857
+ "hasDynamicHelp": false,
58858
+ "multiple": false,
58859
+ "type": "option"
58860
+ },
58861
+ "bm": {
58862
+ "description": "Use Business Manager site (Sites-Site)",
58863
+ "exclusive": [
58864
+ "site-id"
58865
+ ],
58866
+ "name": "bm",
58867
+ "allowNo": false,
58868
+ "type": "boolean"
58613
58869
  }
58614
58870
  },
58615
58871
  "hasDynamicHelp": false,
58616
- "hiddenAliases": [],
58617
- "id": "slas:client:get",
58872
+ "hiddenAliases": [
58873
+ "sites:cartridge:remove"
58874
+ ],
58875
+ "id": "sites:cartridges:remove",
58618
58876
  "pluginAlias": "@salesforce/b2c-cli",
58619
58877
  "pluginName": "@salesforce/b2c-cli",
58620
58878
  "pluginType": "core",
@@ -58624,18 +58882,24 @@
58624
58882
  "relativePath": [
58625
58883
  "dist",
58626
58884
  "commands",
58627
- "slas",
58628
- "client",
58629
- "get.js"
58885
+ "sites",
58886
+ "cartridges",
58887
+ "remove.js"
58630
58888
  ]
58631
58889
  },
58632
- "slas:client:list": {
58890
+ "sites:cartridges:set": {
58633
58891
  "aliases": [],
58634
- "args": {},
58635
- "description": "List SLAS clients for a tenant\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-list",
58892
+ "args": {
58893
+ "cartridges": {
58894
+ "description": "New cartridge path (colon-separated, e.g. \"cart1:cart2:cart3\")",
58895
+ "name": "cartridges",
58896
+ "required": true
58897
+ }
58898
+ },
58899
+ "description": "Replace the entire cartridge path for a site\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-set",
58636
58900
  "examples": [
58637
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
58638
- "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
58901
+ "<%= config.bin %> sites cartridges set \"app_storefront_base:plugin_applepay\" --site-id RefArch",
58902
+ "<%= config.bin %> sites cartridges set \"bm_ext1:bm_ext2\" --bm"
58639
58903
  ],
58640
58904
  "flags": {
58641
58905
  "json": {
@@ -58867,219 +59131,142 @@
58867
59131
  "multiple": false,
58868
59132
  "type": "option"
58869
59133
  },
58870
- "columns": {
58871
- "char": "c",
58872
- "description": "Columns to display (comma-separated). Available: clientId, name, isPrivate",
58873
- "name": "columns",
59134
+ "server": {
59135
+ "char": "s",
59136
+ "description": "B2C instance hostname",
59137
+ "env": "SFCC_SERVER",
59138
+ "helpGroup": "INSTANCE",
59139
+ "name": "server",
58874
59140
  "hasDynamicHelp": false,
58875
59141
  "multiple": false,
58876
59142
  "type": "option"
58877
59143
  },
58878
- "extended": {
58879
- "char": "x",
58880
- "description": "Show all columns including extended fields",
58881
- "name": "extended",
58882
- "allowNo": false,
58883
- "type": "boolean"
58884
- }
58885
- },
58886
- "hasDynamicHelp": false,
58887
- "hiddenAliases": [],
58888
- "id": "slas:client:list",
58889
- "pluginAlias": "@salesforce/b2c-cli",
58890
- "pluginName": "@salesforce/b2c-cli",
58891
- "pluginType": "core",
58892
- "strict": true,
58893
- "enableJsonFlag": true,
58894
- "isESM": true,
58895
- "relativePath": [
58896
- "dist",
58897
- "commands",
58898
- "slas",
58899
- "client",
58900
- "list.js"
58901
- ]
58902
- },
58903
- "slas:client:open": {
58904
- "aliases": [],
58905
- "args": {
58906
- "clientId": {
58907
- "description": "SLAS client ID to open in the admin UI",
58908
- "name": "clientId",
58909
- "required": true
58910
- }
58911
- },
58912
- "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",
58913
- "examples": [
58914
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
58915
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
58916
- ],
58917
- "flags": {
58918
- "log-level": {
58919
- "description": "Set logging verbosity level",
58920
- "env": "SFCC_LOG_LEVEL",
58921
- "helpGroup": "GLOBAL",
58922
- "name": "log-level",
59144
+ "webdav-server": {
59145
+ "description": "Separate hostname for WebDAV (cert. hostname, etc)",
59146
+ "env": "SFCC_WEBDAV_SERVER",
59147
+ "helpGroup": "INSTANCE",
59148
+ "name": "webdav-server",
58923
59149
  "hasDynamicHelp": false,
58924
59150
  "multiple": false,
58925
- "options": [
58926
- "trace",
58927
- "debug",
58928
- "info",
58929
- "warn",
58930
- "error",
58931
- "silent"
58932
- ],
58933
59151
  "type": "option"
58934
59152
  },
58935
- "debug": {
58936
- "char": "D",
58937
- "description": "Enable debug logging (shorthand for --log-level debug)",
58938
- "env": "SFCC_DEBUG",
58939
- "helpGroup": "GLOBAL",
58940
- "name": "debug",
58941
- "allowNo": false,
58942
- "type": "boolean"
58943
- },
58944
- "json": {
58945
- "description": "Output result as JSON",
58946
- "helpGroup": "GLOBAL",
58947
- "name": "json",
58948
- "allowNo": false,
58949
- "type": "boolean"
58950
- },
58951
- "jsonl": {
58952
- "aliases": [
58953
- "json-logs"
58954
- ],
58955
- "description": "Output log messages as JSON lines",
58956
- "env": "SFCC_JSON_LOGS",
58957
- "helpGroup": "GLOBAL",
58958
- "name": "jsonl",
58959
- "allowNo": false,
58960
- "type": "boolean"
58961
- },
58962
- "lang": {
58963
- "char": "L",
58964
- "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
58965
- "helpGroup": "GLOBAL",
58966
- "name": "lang",
59153
+ "code-version": {
59154
+ "char": "v",
59155
+ "description": "Code version",
59156
+ "env": "SFCC_CODE_VERSION",
59157
+ "helpGroup": "INSTANCE",
59158
+ "name": "code-version",
58967
59159
  "hasDynamicHelp": false,
58968
59160
  "multiple": false,
58969
59161
  "type": "option"
58970
59162
  },
58971
- "config": {
58972
- "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
58973
- "env": "SFCC_CONFIG",
58974
- "helpGroup": "GLOBAL",
58975
- "name": "config",
59163
+ "username": {
59164
+ "char": "u",
59165
+ "description": "Username for Basic Auth (WebDAV)",
59166
+ "env": "SFCC_USERNAME",
59167
+ "helpGroup": "AUTH",
59168
+ "name": "username",
58976
59169
  "hasDynamicHelp": false,
58977
59170
  "multiple": false,
58978
59171
  "type": "option"
58979
59172
  },
58980
- "instance": {
58981
- "char": "i",
58982
- "description": "Instance name from configuration file (i.e. dw.json, etc)",
58983
- "env": "SFCC_INSTANCE",
58984
- "helpGroup": "GLOBAL",
58985
- "name": "instance",
59173
+ "password": {
59174
+ "char": "p",
59175
+ "description": "Password/access key for Basic Auth (WebDAV)",
59176
+ "env": "SFCC_PASSWORD",
59177
+ "helpGroup": "AUTH",
59178
+ "name": "password",
58986
59179
  "hasDynamicHelp": false,
58987
59180
  "multiple": false,
58988
59181
  "type": "option"
58989
59182
  },
58990
- "project-directory": {
58991
- "aliases": [
58992
- "working-directory"
58993
- ],
58994
- "description": "Project directory",
58995
- "env": "SFCC_PROJECT_DIRECTORY",
58996
- "helpGroup": "GLOBAL",
58997
- "name": "project-directory",
59183
+ "certificate": {
59184
+ "description": "Path to PKCS12 certificate for two-factor auth",
59185
+ "env": "SFCC_CERTIFICATE",
59186
+ "helpGroup": "AUTH",
59187
+ "name": "certificate",
58998
59188
  "hasDynamicHelp": false,
58999
59189
  "multiple": false,
59000
59190
  "type": "option"
59001
59191
  },
59002
- "extra-query": {
59003
- "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
59004
- "env": "SFCC_EXTRA_QUERY",
59005
- "helpGroup": "GLOBAL",
59006
- "hidden": true,
59007
- "name": "extra-query",
59192
+ "passphrase": {
59193
+ "description": "Passphrase for the certificate",
59194
+ "env": "SFCC_CERTIFICATE_PASSPHRASE",
59195
+ "helpGroup": "AUTH",
59196
+ "name": "passphrase",
59008
59197
  "hasDynamicHelp": false,
59009
59198
  "multiple": false,
59010
59199
  "type": "option"
59011
59200
  },
59012
- "extra-body": {
59013
- "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
59014
- "env": "SFCC_EXTRA_BODY",
59015
- "helpGroup": "GLOBAL",
59016
- "hidden": true,
59017
- "name": "extra-body",
59018
- "hasDynamicHelp": false,
59019
- "multiple": false,
59020
- "type": "option"
59201
+ "selfsigned": {
59202
+ "description": "Allow self-signed server certificates",
59203
+ "env": "SFCC_SELFSIGNED",
59204
+ "helpGroup": "AUTH",
59205
+ "name": "selfsigned",
59206
+ "allowNo": false,
59207
+ "type": "boolean"
59021
59208
  },
59022
- "extra-headers": {
59023
- "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
59024
- "env": "SFCC_EXTRA_HEADERS",
59025
- "helpGroup": "GLOBAL",
59026
- "hidden": true,
59027
- "name": "extra-headers",
59028
- "hasDynamicHelp": false,
59029
- "multiple": false,
59030
- "type": "option"
59209
+ "verify": {
59210
+ "description": "Verify SSL certificates",
59211
+ "helpGroup": "AUTH",
59212
+ "name": "verify",
59213
+ "allowNo": true,
59214
+ "type": "boolean"
59031
59215
  },
59032
- "tenant-id": {
59033
- "description": "SLAS tenant ID (organization ID)",
59034
- "env": "SFCC_TENANT_ID",
59035
- "name": "tenant-id",
59036
- "required": true,
59216
+ "site-id": {
59217
+ "description": "Site ID (e.g. RefArch)",
59218
+ "exclusive": [
59219
+ "bm"
59220
+ ],
59221
+ "name": "site-id",
59037
59222
  "hasDynamicHelp": false,
59038
59223
  "multiple": false,
59039
59224
  "type": "option"
59040
59225
  },
59041
- "short-code": {
59042
- "description": "SCAPI short code",
59043
- "env": "SFCC_SHORTCODE",
59044
- "name": "short-code",
59045
- "hasDynamicHelp": false,
59046
- "multiple": false,
59047
- "type": "option"
59226
+ "bm": {
59227
+ "description": "Use Business Manager site (Sites-Site)",
59228
+ "exclusive": [
59229
+ "site-id"
59230
+ ],
59231
+ "name": "bm",
59232
+ "allowNo": false,
59233
+ "type": "boolean"
59048
59234
  }
59049
59235
  },
59050
59236
  "hasDynamicHelp": false,
59051
- "hiddenAliases": [],
59052
- "id": "slas:client:open",
59237
+ "hiddenAliases": [
59238
+ "sites:cartridge:set"
59239
+ ],
59240
+ "id": "sites:cartridges:set",
59053
59241
  "pluginAlias": "@salesforce/b2c-cli",
59054
59242
  "pluginName": "@salesforce/b2c-cli",
59055
59243
  "pluginType": "core",
59056
59244
  "strict": true,
59057
- "enableJsonFlag": false,
59245
+ "enableJsonFlag": true,
59058
59246
  "isESM": true,
59059
59247
  "relativePath": [
59060
59248
  "dist",
59061
59249
  "commands",
59062
- "slas",
59063
- "client",
59064
- "open.js"
59250
+ "sites",
59251
+ "cartridges",
59252
+ "set.js"
59065
59253
  ]
59066
59254
  },
59067
- "slas:client:update": {
59255
+ "slas:client:create": {
59068
59256
  "aliases": [],
59069
59257
  "args": {
59070
59258
  "clientId": {
59071
- "description": "SLAS client ID to update",
59259
+ "description": "SLAS client ID to create or update (generates UUID if omitted)",
59072
59260
  "name": "clientId",
59073
- "required": true
59261
+ "required": false
59074
59262
  }
59075
59263
  },
59076
- "description": "Update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-update",
59264
+ "description": "Create or update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-create",
59077
59265
  "examples": [
59078
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
59079
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
59080
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
59081
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
59082
- "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
59266
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback",
59267
+ "<%= 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",
59268
+ "<%= 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",
59269
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback"
59083
59270
  ],
59084
59271
  "flags": {
59085
59272
  "json": {
@@ -59312,22 +59499,16 @@
59312
59499
  "type": "option"
59313
59500
  },
59314
59501
  "name": {
59315
- "description": "Display name for the client",
59502
+ "description": "Display name for the client (generates timestamped name if omitted)",
59316
59503
  "name": "name",
59317
59504
  "hasDynamicHelp": false,
59318
59505
  "multiple": false,
59319
59506
  "type": "option"
59320
59507
  },
59321
- "secret": {
59322
- "description": "New client secret (rotates the existing secret)",
59323
- "name": "secret",
59324
- "hasDynamicHelp": false,
59325
- "multiple": false,
59326
- "type": "option"
59327
- },
59328
59508
  "channels": {
59329
59509
  "description": "Site IDs/channels (comma-separated)",
59330
59510
  "name": "channels",
59511
+ "required": true,
59331
59512
  "delimiter": ",",
59332
59513
  "hasDynamicHelp": false,
59333
59514
  "multiple": true,
@@ -59336,14 +59517,22 @@
59336
59517
  "scopes": {
59337
59518
  "description": "OAuth scopes for the client (comma-separated)",
59338
59519
  "name": "scopes",
59520
+ "required": false,
59339
59521
  "delimiter": ",",
59340
59522
  "hasDynamicHelp": false,
59341
59523
  "multiple": true,
59342
59524
  "type": "option"
59343
59525
  },
59526
+ "default-scopes": {
59527
+ "description": "Use default shopper scopes (can be combined with --scopes for additional scopes)",
59528
+ "name": "default-scopes",
59529
+ "allowNo": false,
59530
+ "type": "boolean"
59531
+ },
59344
59532
  "redirect-uri": {
59345
59533
  "description": "Redirect URIs (comma-separated)",
59346
59534
  "name": "redirect-uri",
59535
+ "required": true,
59347
59536
  "delimiter": ",",
59348
59537
  "hasDynamicHelp": false,
59349
59538
  "multiple": true,
@@ -59357,16 +59546,29 @@
59357
59546
  "multiple": true,
59358
59547
  "type": "option"
59359
59548
  },
59360
- "replace": {
59361
- "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
59362
- "name": "replace",
59549
+ "secret": {
59550
+ "description": "Client secret for private clients (if omitted, one will be generated)",
59551
+ "name": "secret",
59552
+ "hasDynamicHelp": false,
59553
+ "multiple": false,
59554
+ "type": "option"
59555
+ },
59556
+ "public": {
59557
+ "description": "Create a public client (default is private)",
59558
+ "name": "public",
59363
59559
  "allowNo": false,
59364
59560
  "type": "boolean"
59561
+ },
59562
+ "create-tenant": {
59563
+ "description": "Automatically create tenant if it does not exist",
59564
+ "name": "create-tenant",
59565
+ "allowNo": true,
59566
+ "type": "boolean"
59365
59567
  }
59366
59568
  },
59367
59569
  "hasDynamicHelp": false,
59368
59570
  "hiddenAliases": [],
59369
- "id": "slas:client:update",
59571
+ "id": "slas:client:create",
59370
59572
  "pluginAlias": "@salesforce/b2c-cli",
59371
59573
  "pluginName": "@salesforce/b2c-cli",
59372
59574
  "pluginType": "core",
@@ -59378,24 +59580,22 @@
59378
59580
  "commands",
59379
59581
  "slas",
59380
59582
  "client",
59381
- "update.js"
59583
+ "create.js"
59382
59584
  ]
59383
59585
  },
59384
- "sites:cartridges:add": {
59586
+ "slas:client:delete": {
59385
59587
  "aliases": [],
59386
59588
  "args": {
59387
- "cartridge": {
59388
- "description": "Cartridge name to add",
59389
- "name": "cartridge",
59589
+ "clientId": {
59590
+ "description": "SLAS client ID to delete",
59591
+ "name": "clientId",
59390
59592
  "required": true
59391
59593
  }
59392
59594
  },
59393
- "description": "Add a cartridge to a site's cartridge path\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-add",
59595
+ "description": "Delete a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-delete",
59394
59596
  "examples": [
59395
- "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch",
59396
- "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch --position first",
59397
- "<%= config.bin %> sites cartridges add my_cartridge --site-id RefArch --position after --target app_storefront_base",
59398
- "<%= config.bin %> sites cartridges add bm_extension --bm"
59597
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
59598
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
59399
59599
  ],
59400
59600
  "flags": {
59401
59601
  "json": {
@@ -59626,135 +59826,11 @@
59626
59826
  "hasDynamicHelp": false,
59627
59827
  "multiple": false,
59628
59828
  "type": "option"
59629
- },
59630
- "server": {
59631
- "char": "s",
59632
- "description": "B2C instance hostname",
59633
- "env": "SFCC_SERVER",
59634
- "helpGroup": "INSTANCE",
59635
- "name": "server",
59636
- "hasDynamicHelp": false,
59637
- "multiple": false,
59638
- "type": "option"
59639
- },
59640
- "webdav-server": {
59641
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
59642
- "env": "SFCC_WEBDAV_SERVER",
59643
- "helpGroup": "INSTANCE",
59644
- "name": "webdav-server",
59645
- "hasDynamicHelp": false,
59646
- "multiple": false,
59647
- "type": "option"
59648
- },
59649
- "code-version": {
59650
- "char": "v",
59651
- "description": "Code version",
59652
- "env": "SFCC_CODE_VERSION",
59653
- "helpGroup": "INSTANCE",
59654
- "name": "code-version",
59655
- "hasDynamicHelp": false,
59656
- "multiple": false,
59657
- "type": "option"
59658
- },
59659
- "username": {
59660
- "char": "u",
59661
- "description": "Username for Basic Auth (WebDAV)",
59662
- "env": "SFCC_USERNAME",
59663
- "helpGroup": "AUTH",
59664
- "name": "username",
59665
- "hasDynamicHelp": false,
59666
- "multiple": false,
59667
- "type": "option"
59668
- },
59669
- "password": {
59670
- "char": "p",
59671
- "description": "Password/access key for Basic Auth (WebDAV)",
59672
- "env": "SFCC_PASSWORD",
59673
- "helpGroup": "AUTH",
59674
- "name": "password",
59675
- "hasDynamicHelp": false,
59676
- "multiple": false,
59677
- "type": "option"
59678
- },
59679
- "certificate": {
59680
- "description": "Path to PKCS12 certificate for two-factor auth",
59681
- "env": "SFCC_CERTIFICATE",
59682
- "helpGroup": "AUTH",
59683
- "name": "certificate",
59684
- "hasDynamicHelp": false,
59685
- "multiple": false,
59686
- "type": "option"
59687
- },
59688
- "passphrase": {
59689
- "description": "Passphrase for the certificate",
59690
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
59691
- "helpGroup": "AUTH",
59692
- "name": "passphrase",
59693
- "hasDynamicHelp": false,
59694
- "multiple": false,
59695
- "type": "option"
59696
- },
59697
- "selfsigned": {
59698
- "description": "Allow self-signed server certificates",
59699
- "env": "SFCC_SELFSIGNED",
59700
- "helpGroup": "AUTH",
59701
- "name": "selfsigned",
59702
- "allowNo": false,
59703
- "type": "boolean"
59704
- },
59705
- "verify": {
59706
- "description": "Verify SSL certificates",
59707
- "helpGroup": "AUTH",
59708
- "name": "verify",
59709
- "allowNo": true,
59710
- "type": "boolean"
59711
- },
59712
- "site-id": {
59713
- "description": "Site ID (e.g. RefArch)",
59714
- "exclusive": [
59715
- "bm"
59716
- ],
59717
- "name": "site-id",
59718
- "hasDynamicHelp": false,
59719
- "multiple": false,
59720
- "type": "option"
59721
- },
59722
- "bm": {
59723
- "description": "Use Business Manager site (Sites-Site)",
59724
- "exclusive": [
59725
- "site-id"
59726
- ],
59727
- "name": "bm",
59728
- "allowNo": false,
59729
- "type": "boolean"
59730
- },
59731
- "position": {
59732
- "description": "Position to add the cartridge",
59733
- "name": "position",
59734
- "default": "first",
59735
- "hasDynamicHelp": false,
59736
- "multiple": false,
59737
- "options": [
59738
- "first",
59739
- "last",
59740
- "before",
59741
- "after"
59742
- ],
59743
- "type": "option"
59744
- },
59745
- "target": {
59746
- "description": "Target cartridge (required when position is before/after)",
59747
- "name": "target",
59748
- "hasDynamicHelp": false,
59749
- "multiple": false,
59750
- "type": "option"
59751
59829
  }
59752
59830
  },
59753
59831
  "hasDynamicHelp": false,
59754
- "hiddenAliases": [
59755
- "sites:cartridge:add"
59756
- ],
59757
- "id": "sites:cartridges:add",
59832
+ "hiddenAliases": [],
59833
+ "id": "slas:client:delete",
59758
59834
  "pluginAlias": "@salesforce/b2c-cli",
59759
59835
  "pluginName": "@salesforce/b2c-cli",
59760
59836
  "pluginType": "core",
@@ -59764,19 +59840,24 @@
59764
59840
  "relativePath": [
59765
59841
  "dist",
59766
59842
  "commands",
59767
- "sites",
59768
- "cartridges",
59769
- "add.js"
59843
+ "slas",
59844
+ "client",
59845
+ "delete.js"
59770
59846
  ]
59771
59847
  },
59772
- "sites:cartridges:list": {
59848
+ "slas:client:get": {
59773
59849
  "aliases": [],
59774
- "args": {},
59775
- "description": "List the cartridge path for a site\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-list",
59850
+ "args": {
59851
+ "clientId": {
59852
+ "description": "SLAS client ID to retrieve",
59853
+ "name": "clientId",
59854
+ "required": true
59855
+ }
59856
+ },
59857
+ "description": "Get a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-get",
59776
59858
  "examples": [
59777
- "<%= config.bin %> sites cartridges list --site-id RefArch",
59778
- "<%= config.bin %> sites cartridges list --bm",
59779
- "<%= config.bin %> sites cartridges list --site-id RefArch --json"
59859
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
59860
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --json"
59780
59861
  ],
59781
59862
  "flags": {
59782
59863
  "json": {
@@ -60007,114 +60088,11 @@
60007
60088
  "hasDynamicHelp": false,
60008
60089
  "multiple": false,
60009
60090
  "type": "option"
60010
- },
60011
- "server": {
60012
- "char": "s",
60013
- "description": "B2C instance hostname",
60014
- "env": "SFCC_SERVER",
60015
- "helpGroup": "INSTANCE",
60016
- "name": "server",
60017
- "hasDynamicHelp": false,
60018
- "multiple": false,
60019
- "type": "option"
60020
- },
60021
- "webdav-server": {
60022
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
60023
- "env": "SFCC_WEBDAV_SERVER",
60024
- "helpGroup": "INSTANCE",
60025
- "name": "webdav-server",
60026
- "hasDynamicHelp": false,
60027
- "multiple": false,
60028
- "type": "option"
60029
- },
60030
- "code-version": {
60031
- "char": "v",
60032
- "description": "Code version",
60033
- "env": "SFCC_CODE_VERSION",
60034
- "helpGroup": "INSTANCE",
60035
- "name": "code-version",
60036
- "hasDynamicHelp": false,
60037
- "multiple": false,
60038
- "type": "option"
60039
- },
60040
- "username": {
60041
- "char": "u",
60042
- "description": "Username for Basic Auth (WebDAV)",
60043
- "env": "SFCC_USERNAME",
60044
- "helpGroup": "AUTH",
60045
- "name": "username",
60046
- "hasDynamicHelp": false,
60047
- "multiple": false,
60048
- "type": "option"
60049
- },
60050
- "password": {
60051
- "char": "p",
60052
- "description": "Password/access key for Basic Auth (WebDAV)",
60053
- "env": "SFCC_PASSWORD",
60054
- "helpGroup": "AUTH",
60055
- "name": "password",
60056
- "hasDynamicHelp": false,
60057
- "multiple": false,
60058
- "type": "option"
60059
- },
60060
- "certificate": {
60061
- "description": "Path to PKCS12 certificate for two-factor auth",
60062
- "env": "SFCC_CERTIFICATE",
60063
- "helpGroup": "AUTH",
60064
- "name": "certificate",
60065
- "hasDynamicHelp": false,
60066
- "multiple": false,
60067
- "type": "option"
60068
- },
60069
- "passphrase": {
60070
- "description": "Passphrase for the certificate",
60071
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
60072
- "helpGroup": "AUTH",
60073
- "name": "passphrase",
60074
- "hasDynamicHelp": false,
60075
- "multiple": false,
60076
- "type": "option"
60077
- },
60078
- "selfsigned": {
60079
- "description": "Allow self-signed server certificates",
60080
- "env": "SFCC_SELFSIGNED",
60081
- "helpGroup": "AUTH",
60082
- "name": "selfsigned",
60083
- "allowNo": false,
60084
- "type": "boolean"
60085
- },
60086
- "verify": {
60087
- "description": "Verify SSL certificates",
60088
- "helpGroup": "AUTH",
60089
- "name": "verify",
60090
- "allowNo": true,
60091
- "type": "boolean"
60092
- },
60093
- "site-id": {
60094
- "description": "Site ID (e.g. RefArch)",
60095
- "exclusive": [
60096
- "bm"
60097
- ],
60098
- "name": "site-id",
60099
- "hasDynamicHelp": false,
60100
- "multiple": false,
60101
- "type": "option"
60102
- },
60103
- "bm": {
60104
- "description": "Use Business Manager site (Sites-Site)",
60105
- "exclusive": [
60106
- "site-id"
60107
- ],
60108
- "name": "bm",
60109
- "allowNo": false,
60110
- "type": "boolean"
60111
60091
  }
60112
60092
  },
60113
60093
  "hasDynamicHelp": false,
60114
- "hiddenAliases": [
60115
- "sites:cartridge:list"
60116
- ],
60117
- "id": "sites:cartridges:list",
60094
+ "hiddenAliases": [],
60095
+ "id": "slas:client:get",
60118
60096
  "pluginAlias": "@salesforce/b2c-cli",
60119
60097
  "pluginName": "@salesforce/b2c-cli",
60120
60098
  "pluginType": "core",
@@ -60124,24 +60102,18 @@
60124
60102
  "relativePath": [
60125
60103
  "dist",
60126
60104
  "commands",
60127
- "sites",
60128
- "cartridges",
60129
- "list.js"
60105
+ "slas",
60106
+ "client",
60107
+ "get.js"
60130
60108
  ]
60131
60109
  },
60132
- "sites:cartridges:remove": {
60110
+ "slas:client:list": {
60133
60111
  "aliases": [],
60134
- "args": {
60135
- "cartridge": {
60136
- "description": "Cartridge name to remove",
60137
- "name": "cartridge",
60138
- "required": true
60139
- }
60140
- },
60141
- "description": "Remove a cartridge from a site's cartridge path\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-remove",
60112
+ "args": {},
60113
+ "description": "List SLAS clients for a tenant\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-list",
60142
60114
  "examples": [
60143
- "<%= config.bin %> sites cartridges remove old_cartridge --site-id RefArch",
60144
- "<%= config.bin %> sites cartridges remove bm_extension --bm"
60115
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123",
60116
+ "<%= config.bin %> <%= command.id %> --tenant-id abcd_123 --json"
60145
60117
  ],
60146
60118
  "flags": {
60147
60119
  "json": {
@@ -60373,140 +60345,219 @@
60373
60345
  "multiple": false,
60374
60346
  "type": "option"
60375
60347
  },
60376
- "server": {
60377
- "char": "s",
60378
- "description": "B2C instance hostname",
60379
- "env": "SFCC_SERVER",
60380
- "helpGroup": "INSTANCE",
60381
- "name": "server",
60348
+ "columns": {
60349
+ "char": "c",
60350
+ "description": "Columns to display (comma-separated). Available: clientId, name, isPrivate",
60351
+ "name": "columns",
60382
60352
  "hasDynamicHelp": false,
60383
60353
  "multiple": false,
60384
60354
  "type": "option"
60385
60355
  },
60386
- "webdav-server": {
60387
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
60388
- "env": "SFCC_WEBDAV_SERVER",
60389
- "helpGroup": "INSTANCE",
60390
- "name": "webdav-server",
60356
+ "extended": {
60357
+ "char": "x",
60358
+ "description": "Show all columns including extended fields",
60359
+ "name": "extended",
60360
+ "allowNo": false,
60361
+ "type": "boolean"
60362
+ }
60363
+ },
60364
+ "hasDynamicHelp": false,
60365
+ "hiddenAliases": [],
60366
+ "id": "slas:client:list",
60367
+ "pluginAlias": "@salesforce/b2c-cli",
60368
+ "pluginName": "@salesforce/b2c-cli",
60369
+ "pluginType": "core",
60370
+ "strict": true,
60371
+ "enableJsonFlag": true,
60372
+ "isESM": true,
60373
+ "relativePath": [
60374
+ "dist",
60375
+ "commands",
60376
+ "slas",
60377
+ "client",
60378
+ "list.js"
60379
+ ]
60380
+ },
60381
+ "slas:client:open": {
60382
+ "aliases": [],
60383
+ "args": {
60384
+ "clientId": {
60385
+ "description": "SLAS client ID to open in the admin UI",
60386
+ "name": "clientId",
60387
+ "required": true
60388
+ }
60389
+ },
60390
+ "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",
60391
+ "examples": [
60392
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123",
60393
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --short-code kv7kzm78"
60394
+ ],
60395
+ "flags": {
60396
+ "log-level": {
60397
+ "description": "Set logging verbosity level",
60398
+ "env": "SFCC_LOG_LEVEL",
60399
+ "helpGroup": "GLOBAL",
60400
+ "name": "log-level",
60391
60401
  "hasDynamicHelp": false,
60392
60402
  "multiple": false,
60403
+ "options": [
60404
+ "trace",
60405
+ "debug",
60406
+ "info",
60407
+ "warn",
60408
+ "error",
60409
+ "silent"
60410
+ ],
60393
60411
  "type": "option"
60394
60412
  },
60395
- "code-version": {
60396
- "char": "v",
60397
- "description": "Code version",
60398
- "env": "SFCC_CODE_VERSION",
60399
- "helpGroup": "INSTANCE",
60400
- "name": "code-version",
60413
+ "debug": {
60414
+ "char": "D",
60415
+ "description": "Enable debug logging (shorthand for --log-level debug)",
60416
+ "env": "SFCC_DEBUG",
60417
+ "helpGroup": "GLOBAL",
60418
+ "name": "debug",
60419
+ "allowNo": false,
60420
+ "type": "boolean"
60421
+ },
60422
+ "json": {
60423
+ "description": "Output result as JSON",
60424
+ "helpGroup": "GLOBAL",
60425
+ "name": "json",
60426
+ "allowNo": false,
60427
+ "type": "boolean"
60428
+ },
60429
+ "jsonl": {
60430
+ "aliases": [
60431
+ "json-logs"
60432
+ ],
60433
+ "description": "Output log messages as JSON lines",
60434
+ "env": "SFCC_JSON_LOGS",
60435
+ "helpGroup": "GLOBAL",
60436
+ "name": "jsonl",
60437
+ "allowNo": false,
60438
+ "type": "boolean"
60439
+ },
60440
+ "lang": {
60441
+ "char": "L",
60442
+ "description": "Language for messages (e.g., en, de). Also respects LANGUAGE env var.",
60443
+ "helpGroup": "GLOBAL",
60444
+ "name": "lang",
60401
60445
  "hasDynamicHelp": false,
60402
60446
  "multiple": false,
60403
60447
  "type": "option"
60404
60448
  },
60405
- "username": {
60406
- "char": "u",
60407
- "description": "Username for Basic Auth (WebDAV)",
60408
- "env": "SFCC_USERNAME",
60409
- "helpGroup": "AUTH",
60410
- "name": "username",
60449
+ "config": {
60450
+ "description": "Path to config file (in dw.json format; defaults to ./dw.json)",
60451
+ "env": "SFCC_CONFIG",
60452
+ "helpGroup": "GLOBAL",
60453
+ "name": "config",
60411
60454
  "hasDynamicHelp": false,
60412
60455
  "multiple": false,
60413
60456
  "type": "option"
60414
60457
  },
60415
- "password": {
60416
- "char": "p",
60417
- "description": "Password/access key for Basic Auth (WebDAV)",
60418
- "env": "SFCC_PASSWORD",
60419
- "helpGroup": "AUTH",
60420
- "name": "password",
60458
+ "instance": {
60459
+ "char": "i",
60460
+ "description": "Instance name from configuration file (i.e. dw.json, etc)",
60461
+ "env": "SFCC_INSTANCE",
60462
+ "helpGroup": "GLOBAL",
60463
+ "name": "instance",
60421
60464
  "hasDynamicHelp": false,
60422
60465
  "multiple": false,
60423
60466
  "type": "option"
60424
60467
  },
60425
- "certificate": {
60426
- "description": "Path to PKCS12 certificate for two-factor auth",
60427
- "env": "SFCC_CERTIFICATE",
60428
- "helpGroup": "AUTH",
60429
- "name": "certificate",
60468
+ "project-directory": {
60469
+ "aliases": [
60470
+ "working-directory"
60471
+ ],
60472
+ "description": "Project directory",
60473
+ "env": "SFCC_PROJECT_DIRECTORY",
60474
+ "helpGroup": "GLOBAL",
60475
+ "name": "project-directory",
60430
60476
  "hasDynamicHelp": false,
60431
60477
  "multiple": false,
60432
60478
  "type": "option"
60433
60479
  },
60434
- "passphrase": {
60435
- "description": "Passphrase for the certificate",
60436
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
60437
- "helpGroup": "AUTH",
60438
- "name": "passphrase",
60480
+ "extra-query": {
60481
+ "description": "Extra query parameters as JSON (e.g., '{\"debug\":\"true\"}')",
60482
+ "env": "SFCC_EXTRA_QUERY",
60483
+ "helpGroup": "GLOBAL",
60484
+ "hidden": true,
60485
+ "name": "extra-query",
60439
60486
  "hasDynamicHelp": false,
60440
60487
  "multiple": false,
60441
60488
  "type": "option"
60442
60489
  },
60443
- "selfsigned": {
60444
- "description": "Allow self-signed server certificates",
60445
- "env": "SFCC_SELFSIGNED",
60446
- "helpGroup": "AUTH",
60447
- "name": "selfsigned",
60448
- "allowNo": false,
60449
- "type": "boolean"
60490
+ "extra-body": {
60491
+ "description": "Extra body fields to merge as JSON (e.g., '{\"_internal\":true}')",
60492
+ "env": "SFCC_EXTRA_BODY",
60493
+ "helpGroup": "GLOBAL",
60494
+ "hidden": true,
60495
+ "name": "extra-body",
60496
+ "hasDynamicHelp": false,
60497
+ "multiple": false,
60498
+ "type": "option"
60450
60499
  },
60451
- "verify": {
60452
- "description": "Verify SSL certificates",
60453
- "helpGroup": "AUTH",
60454
- "name": "verify",
60455
- "allowNo": true,
60456
- "type": "boolean"
60500
+ "extra-headers": {
60501
+ "description": "Extra HTTP headers as JSON (e.g., '{\"X-Custom-Header\": \"value\"}')",
60502
+ "env": "SFCC_EXTRA_HEADERS",
60503
+ "helpGroup": "GLOBAL",
60504
+ "hidden": true,
60505
+ "name": "extra-headers",
60506
+ "hasDynamicHelp": false,
60507
+ "multiple": false,
60508
+ "type": "option"
60457
60509
  },
60458
- "site-id": {
60459
- "description": "Site ID (e.g. RefArch)",
60460
- "exclusive": [
60461
- "bm"
60462
- ],
60463
- "name": "site-id",
60510
+ "tenant-id": {
60511
+ "description": "SLAS tenant ID (organization ID)",
60512
+ "env": "SFCC_TENANT_ID",
60513
+ "name": "tenant-id",
60514
+ "required": true,
60464
60515
  "hasDynamicHelp": false,
60465
60516
  "multiple": false,
60466
60517
  "type": "option"
60467
60518
  },
60468
- "bm": {
60469
- "description": "Use Business Manager site (Sites-Site)",
60470
- "exclusive": [
60471
- "site-id"
60472
- ],
60473
- "name": "bm",
60474
- "allowNo": false,
60475
- "type": "boolean"
60519
+ "short-code": {
60520
+ "description": "SCAPI short code",
60521
+ "env": "SFCC_SHORTCODE",
60522
+ "name": "short-code",
60523
+ "hasDynamicHelp": false,
60524
+ "multiple": false,
60525
+ "type": "option"
60476
60526
  }
60477
60527
  },
60478
60528
  "hasDynamicHelp": false,
60479
- "hiddenAliases": [
60480
- "sites:cartridge:remove"
60481
- ],
60482
- "id": "sites:cartridges:remove",
60529
+ "hiddenAliases": [],
60530
+ "id": "slas:client:open",
60483
60531
  "pluginAlias": "@salesforce/b2c-cli",
60484
60532
  "pluginName": "@salesforce/b2c-cli",
60485
60533
  "pluginType": "core",
60486
60534
  "strict": true,
60487
- "enableJsonFlag": true,
60535
+ "enableJsonFlag": false,
60488
60536
  "isESM": true,
60489
60537
  "relativePath": [
60490
60538
  "dist",
60491
60539
  "commands",
60492
- "sites",
60493
- "cartridges",
60494
- "remove.js"
60540
+ "slas",
60541
+ "client",
60542
+ "open.js"
60495
60543
  ]
60496
60544
  },
60497
- "sites:cartridges:set": {
60545
+ "slas:client:update": {
60498
60546
  "aliases": [],
60499
60547
  "args": {
60500
- "cartridges": {
60501
- "description": "New cartridge path (colon-separated, e.g. \"cart1:cart2:cart3\")",
60502
- "name": "cartridges",
60548
+ "clientId": {
60549
+ "description": "SLAS client ID to update",
60550
+ "name": "clientId",
60503
60551
  "required": true
60504
60552
  }
60505
60553
  },
60506
- "description": "Replace the entire cartridge path for a site\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/sites.html#b2c-sites-cartridges-set",
60554
+ "description": "Update a SLAS client\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/slas.html#b2c-slas-client-update",
60507
60555
  "examples": [
60508
- "<%= config.bin %> sites cartridges set \"app_storefront_base:plugin_applepay\" --site-id RefArch",
60509
- "<%= config.bin %> sites cartridges set \"bm_ext1:bm_ext2\" --bm"
60556
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --name \"New Name\"",
60557
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --secret new-secret-value",
60558
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets",
60559
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-baskets --replace",
60560
+ "<%= config.bin %> <%= command.id %> my-client-id --tenant-id abcd_123 --channels RefArch,SiteGenesis --replace"
60510
60561
  ],
60511
60562
  "flags": {
60512
60563
  "json": {
@@ -60738,113 +60789,62 @@
60738
60789
  "multiple": false,
60739
60790
  "type": "option"
60740
60791
  },
60741
- "server": {
60742
- "char": "s",
60743
- "description": "B2C instance hostname",
60744
- "env": "SFCC_SERVER",
60745
- "helpGroup": "INSTANCE",
60746
- "name": "server",
60747
- "hasDynamicHelp": false,
60748
- "multiple": false,
60749
- "type": "option"
60750
- },
60751
- "webdav-server": {
60752
- "description": "Separate hostname for WebDAV (cert. hostname, etc)",
60753
- "env": "SFCC_WEBDAV_SERVER",
60754
- "helpGroup": "INSTANCE",
60755
- "name": "webdav-server",
60756
- "hasDynamicHelp": false,
60757
- "multiple": false,
60758
- "type": "option"
60759
- },
60760
- "code-version": {
60761
- "char": "v",
60762
- "description": "Code version",
60763
- "env": "SFCC_CODE_VERSION",
60764
- "helpGroup": "INSTANCE",
60765
- "name": "code-version",
60792
+ "name": {
60793
+ "description": "Display name for the client",
60794
+ "name": "name",
60766
60795
  "hasDynamicHelp": false,
60767
60796
  "multiple": false,
60768
60797
  "type": "option"
60769
60798
  },
60770
- "username": {
60771
- "char": "u",
60772
- "description": "Username for Basic Auth (WebDAV)",
60773
- "env": "SFCC_USERNAME",
60774
- "helpGroup": "AUTH",
60775
- "name": "username",
60799
+ "secret": {
60800
+ "description": "New client secret (rotates the existing secret)",
60801
+ "name": "secret",
60776
60802
  "hasDynamicHelp": false,
60777
60803
  "multiple": false,
60778
60804
  "type": "option"
60779
60805
  },
60780
- "password": {
60781
- "char": "p",
60782
- "description": "Password/access key for Basic Auth (WebDAV)",
60783
- "env": "SFCC_PASSWORD",
60784
- "helpGroup": "AUTH",
60785
- "name": "password",
60806
+ "channels": {
60807
+ "description": "Site IDs/channels (comma-separated)",
60808
+ "name": "channels",
60809
+ "delimiter": ",",
60786
60810
  "hasDynamicHelp": false,
60787
- "multiple": false,
60811
+ "multiple": true,
60788
60812
  "type": "option"
60789
60813
  },
60790
- "certificate": {
60791
- "description": "Path to PKCS12 certificate for two-factor auth",
60792
- "env": "SFCC_CERTIFICATE",
60793
- "helpGroup": "AUTH",
60794
- "name": "certificate",
60814
+ "scopes": {
60815
+ "description": "OAuth scopes for the client (comma-separated)",
60816
+ "name": "scopes",
60817
+ "delimiter": ",",
60795
60818
  "hasDynamicHelp": false,
60796
- "multiple": false,
60819
+ "multiple": true,
60797
60820
  "type": "option"
60798
60821
  },
60799
- "passphrase": {
60800
- "description": "Passphrase for the certificate",
60801
- "env": "SFCC_CERTIFICATE_PASSPHRASE",
60802
- "helpGroup": "AUTH",
60803
- "name": "passphrase",
60822
+ "redirect-uri": {
60823
+ "description": "Redirect URIs (comma-separated)",
60824
+ "name": "redirect-uri",
60825
+ "delimiter": ",",
60804
60826
  "hasDynamicHelp": false,
60805
- "multiple": false,
60827
+ "multiple": true,
60806
60828
  "type": "option"
60807
60829
  },
60808
- "selfsigned": {
60809
- "description": "Allow self-signed server certificates",
60810
- "env": "SFCC_SELFSIGNED",
60811
- "helpGroup": "AUTH",
60812
- "name": "selfsigned",
60813
- "allowNo": false,
60814
- "type": "boolean"
60815
- },
60816
- "verify": {
60817
- "description": "Verify SSL certificates",
60818
- "helpGroup": "AUTH",
60819
- "name": "verify",
60820
- "allowNo": true,
60821
- "type": "boolean"
60822
- },
60823
- "site-id": {
60824
- "description": "Site ID (e.g. RefArch)",
60825
- "exclusive": [
60826
- "bm"
60827
- ],
60828
- "name": "site-id",
60830
+ "callback-uri": {
60831
+ "description": "Callback URIs for passwordless login (comma-separated)",
60832
+ "name": "callback-uri",
60833
+ "delimiter": ",",
60829
60834
  "hasDynamicHelp": false,
60830
- "multiple": false,
60835
+ "multiple": true,
60831
60836
  "type": "option"
60832
60837
  },
60833
- "bm": {
60834
- "description": "Use Business Manager site (Sites-Site)",
60835
- "exclusive": [
60836
- "site-id"
60837
- ],
60838
- "name": "bm",
60838
+ "replace": {
60839
+ "description": "Replace list values instead of appending (affects channels, scopes, redirect-uri, callback-uri)",
60840
+ "name": "replace",
60839
60841
  "allowNo": false,
60840
60842
  "type": "boolean"
60841
60843
  }
60842
60844
  },
60843
60845
  "hasDynamicHelp": false,
60844
- "hiddenAliases": [
60845
- "sites:cartridge:set"
60846
- ],
60847
- "id": "sites:cartridges:set",
60846
+ "hiddenAliases": [],
60847
+ "id": "slas:client:update",
60848
60848
  "pluginAlias": "@salesforce/b2c-cli",
60849
60849
  "pluginName": "@salesforce/b2c-cli",
60850
60850
  "pluginType": "core",
@@ -60854,9 +60854,9 @@
60854
60854
  "relativePath": [
60855
60855
  "dist",
60856
60856
  "commands",
60857
- "sites",
60858
- "cartridges",
60859
- "set.js"
60857
+ "slas",
60858
+ "client",
60859
+ "update.js"
60860
60860
  ]
60861
60861
  },
60862
60862
  "bm:roles:permissions:get": {
@@ -75694,5 +75694,5 @@
75694
75694
  ]
75695
75695
  }
75696
75696
  },
75697
- "version": "1.12.0"
75697
+ "version": "1.12.1"
75698
75698
  }