@salesforce/b2c-cli 0.5.3 → 0.5.4
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.
- package/oclif.manifest.json +257 -257
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -48368,13 +48368,19 @@
|
|
|
48368
48368
|
"set.js"
|
|
48369
48369
|
]
|
|
48370
48370
|
},
|
|
48371
|
-
"mrt:project:
|
|
48371
|
+
"mrt:project:member:add": {
|
|
48372
48372
|
"aliases": [],
|
|
48373
|
-
"args": {
|
|
48374
|
-
|
|
48373
|
+
"args": {
|
|
48374
|
+
"email": {
|
|
48375
|
+
"description": "Email address of the user to add",
|
|
48376
|
+
"name": "email",
|
|
48377
|
+
"required": true
|
|
48378
|
+
}
|
|
48379
|
+
},
|
|
48380
|
+
"description": "Add a member to a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-add",
|
|
48375
48381
|
"examples": [
|
|
48376
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront --
|
|
48377
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
48382
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront --role 1",
|
|
48383
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 0"
|
|
48378
48384
|
],
|
|
48379
48385
|
"flags": {
|
|
48380
48386
|
"json": {
|
|
@@ -48534,46 +48540,25 @@
|
|
|
48534
48540
|
"multiple": false,
|
|
48535
48541
|
"type": "option"
|
|
48536
48542
|
},
|
|
48537
|
-
"
|
|
48538
|
-
"char": "t",
|
|
48539
|
-
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
48540
|
-
"name": "target",
|
|
48541
|
-
"required": true,
|
|
48542
|
-
"hasDynamicHelp": false,
|
|
48543
|
-
"multiple": true,
|
|
48544
|
-
"type": "option"
|
|
48545
|
-
},
|
|
48546
|
-
"recipient": {
|
|
48543
|
+
"role": {
|
|
48547
48544
|
"char": "r",
|
|
48548
|
-
"description": "
|
|
48549
|
-
"name": "
|
|
48545
|
+
"description": "Role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
48546
|
+
"name": "role",
|
|
48550
48547
|
"required": true,
|
|
48551
48548
|
"hasDynamicHelp": false,
|
|
48552
|
-
"multiple":
|
|
48549
|
+
"multiple": false,
|
|
48550
|
+
"options": [
|
|
48551
|
+
"0",
|
|
48552
|
+
"1",
|
|
48553
|
+
"2",
|
|
48554
|
+
"3"
|
|
48555
|
+
],
|
|
48553
48556
|
"type": "option"
|
|
48554
|
-
},
|
|
48555
|
-
"on-start": {
|
|
48556
|
-
"description": "Trigger notification when deployment starts",
|
|
48557
|
-
"name": "on-start",
|
|
48558
|
-
"allowNo": false,
|
|
48559
|
-
"type": "boolean"
|
|
48560
|
-
},
|
|
48561
|
-
"on-success": {
|
|
48562
|
-
"description": "Trigger notification when deployment succeeds",
|
|
48563
|
-
"name": "on-success",
|
|
48564
|
-
"allowNo": false,
|
|
48565
|
-
"type": "boolean"
|
|
48566
|
-
},
|
|
48567
|
-
"on-failed": {
|
|
48568
|
-
"description": "Trigger notification when deployment fails",
|
|
48569
|
-
"name": "on-failed",
|
|
48570
|
-
"allowNo": false,
|
|
48571
|
-
"type": "boolean"
|
|
48572
48557
|
}
|
|
48573
48558
|
},
|
|
48574
48559
|
"hasDynamicHelp": false,
|
|
48575
48560
|
"hiddenAliases": [],
|
|
48576
|
-
"id": "mrt:project:
|
|
48561
|
+
"id": "mrt:project:member:add",
|
|
48577
48562
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48578
48563
|
"pluginName": "@salesforce/b2c-cli",
|
|
48579
48564
|
"pluginType": "core",
|
|
@@ -48585,23 +48570,23 @@
|
|
|
48585
48570
|
"commands",
|
|
48586
48571
|
"mrt",
|
|
48587
48572
|
"project",
|
|
48588
|
-
"
|
|
48589
|
-
"
|
|
48573
|
+
"member",
|
|
48574
|
+
"add.js"
|
|
48590
48575
|
]
|
|
48591
48576
|
},
|
|
48592
|
-
"mrt:project:
|
|
48577
|
+
"mrt:project:member:get": {
|
|
48593
48578
|
"aliases": [],
|
|
48594
48579
|
"args": {
|
|
48595
|
-
"
|
|
48596
|
-
"description": "
|
|
48597
|
-
"name": "
|
|
48580
|
+
"email": {
|
|
48581
|
+
"description": "Email address of the member",
|
|
48582
|
+
"name": "email",
|
|
48598
48583
|
"required": true
|
|
48599
48584
|
}
|
|
48600
48585
|
},
|
|
48601
|
-
"description": "
|
|
48586
|
+
"description": "Get details of a Managed Runtime project member\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-get",
|
|
48602
48587
|
"examples": [
|
|
48603
|
-
"<%= config.bin %> <%= command.id %>
|
|
48604
|
-
"<%= config.bin %> <%= command.id %>
|
|
48588
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront",
|
|
48589
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --json"
|
|
48605
48590
|
],
|
|
48606
48591
|
"flags": {
|
|
48607
48592
|
"json": {
|
|
@@ -48760,18 +48745,11 @@
|
|
|
48760
48745
|
"hasDynamicHelp": false,
|
|
48761
48746
|
"multiple": false,
|
|
48762
48747
|
"type": "option"
|
|
48763
|
-
},
|
|
48764
|
-
"force": {
|
|
48765
|
-
"char": "f",
|
|
48766
|
-
"description": "Skip confirmation prompt",
|
|
48767
|
-
"name": "force",
|
|
48768
|
-
"allowNo": false,
|
|
48769
|
-
"type": "boolean"
|
|
48770
48748
|
}
|
|
48771
48749
|
},
|
|
48772
48750
|
"hasDynamicHelp": false,
|
|
48773
48751
|
"hiddenAliases": [],
|
|
48774
|
-
"id": "mrt:project:
|
|
48752
|
+
"id": "mrt:project:member:get",
|
|
48775
48753
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48776
48754
|
"pluginName": "@salesforce/b2c-cli",
|
|
48777
48755
|
"pluginType": "core",
|
|
@@ -48783,23 +48761,19 @@
|
|
|
48783
48761
|
"commands",
|
|
48784
48762
|
"mrt",
|
|
48785
48763
|
"project",
|
|
48786
|
-
"
|
|
48787
|
-
"
|
|
48764
|
+
"member",
|
|
48765
|
+
"get.js"
|
|
48788
48766
|
]
|
|
48789
48767
|
},
|
|
48790
|
-
"mrt:project:
|
|
48768
|
+
"mrt:project:member:list": {
|
|
48791
48769
|
"aliases": [],
|
|
48792
|
-
"args": {
|
|
48793
|
-
|
|
48794
|
-
"description": "Notification ID",
|
|
48795
|
-
"name": "id",
|
|
48796
|
-
"required": true
|
|
48797
|
-
}
|
|
48798
|
-
},
|
|
48799
|
-
"description": "Get details of a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-get",
|
|
48770
|
+
"args": {},
|
|
48771
|
+
"description": "List members for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-list",
|
|
48800
48772
|
"examples": [
|
|
48801
|
-
"<%= config.bin %> <%= command.id %>
|
|
48802
|
-
"<%= config.bin %> <%= command.id %>
|
|
48773
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
48774
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --role 0",
|
|
48775
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --search user@example.com",
|
|
48776
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
48803
48777
|
],
|
|
48804
48778
|
"flags": {
|
|
48805
48779
|
"json": {
|
|
@@ -48958,11 +48932,45 @@
|
|
|
48958
48932
|
"hasDynamicHelp": false,
|
|
48959
48933
|
"multiple": false,
|
|
48960
48934
|
"type": "option"
|
|
48935
|
+
},
|
|
48936
|
+
"limit": {
|
|
48937
|
+
"description": "Maximum number of results to return",
|
|
48938
|
+
"name": "limit",
|
|
48939
|
+
"hasDynamicHelp": false,
|
|
48940
|
+
"multiple": false,
|
|
48941
|
+
"type": "option"
|
|
48942
|
+
},
|
|
48943
|
+
"offset": {
|
|
48944
|
+
"description": "Offset for pagination",
|
|
48945
|
+
"name": "offset",
|
|
48946
|
+
"hasDynamicHelp": false,
|
|
48947
|
+
"multiple": false,
|
|
48948
|
+
"type": "option"
|
|
48949
|
+
},
|
|
48950
|
+
"role": {
|
|
48951
|
+
"description": "Filter by role (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
48952
|
+
"name": "role",
|
|
48953
|
+
"hasDynamicHelp": false,
|
|
48954
|
+
"multiple": false,
|
|
48955
|
+
"options": [
|
|
48956
|
+
"0",
|
|
48957
|
+
"1",
|
|
48958
|
+
"2",
|
|
48959
|
+
"3"
|
|
48960
|
+
],
|
|
48961
|
+
"type": "option"
|
|
48962
|
+
},
|
|
48963
|
+
"search": {
|
|
48964
|
+
"description": "Search term for filtering",
|
|
48965
|
+
"name": "search",
|
|
48966
|
+
"hasDynamicHelp": false,
|
|
48967
|
+
"multiple": false,
|
|
48968
|
+
"type": "option"
|
|
48961
48969
|
}
|
|
48962
48970
|
},
|
|
48963
48971
|
"hasDynamicHelp": false,
|
|
48964
48972
|
"hiddenAliases": [],
|
|
48965
|
-
"id": "mrt:project:
|
|
48973
|
+
"id": "mrt:project:member:list",
|
|
48966
48974
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
48967
48975
|
"pluginName": "@salesforce/b2c-cli",
|
|
48968
48976
|
"pluginType": "core",
|
|
@@ -48974,18 +48982,23 @@
|
|
|
48974
48982
|
"commands",
|
|
48975
48983
|
"mrt",
|
|
48976
48984
|
"project",
|
|
48977
|
-
"
|
|
48978
|
-
"
|
|
48985
|
+
"member",
|
|
48986
|
+
"list.js"
|
|
48979
48987
|
]
|
|
48980
48988
|
},
|
|
48981
|
-
"mrt:project:
|
|
48989
|
+
"mrt:project:member:remove": {
|
|
48982
48990
|
"aliases": [],
|
|
48983
|
-
"args": {
|
|
48984
|
-
|
|
48991
|
+
"args": {
|
|
48992
|
+
"email": {
|
|
48993
|
+
"description": "Email address of the member to remove",
|
|
48994
|
+
"name": "email",
|
|
48995
|
+
"required": true
|
|
48996
|
+
}
|
|
48997
|
+
},
|
|
48998
|
+
"description": "Remove a member from a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-remove",
|
|
48985
48999
|
"examples": [
|
|
48986
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
48987
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
48988
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
49000
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront",
|
|
49001
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --force"
|
|
48989
49002
|
],
|
|
48990
49003
|
"flags": {
|
|
48991
49004
|
"json": {
|
|
@@ -49145,31 +49158,17 @@
|
|
|
49145
49158
|
"multiple": false,
|
|
49146
49159
|
"type": "option"
|
|
49147
49160
|
},
|
|
49148
|
-
"
|
|
49149
|
-
"
|
|
49150
|
-
"
|
|
49151
|
-
"
|
|
49152
|
-
"
|
|
49153
|
-
"type": "
|
|
49154
|
-
},
|
|
49155
|
-
"offset": {
|
|
49156
|
-
"description": "Offset for pagination",
|
|
49157
|
-
"name": "offset",
|
|
49158
|
-
"hasDynamicHelp": false,
|
|
49159
|
-
"multiple": false,
|
|
49160
|
-
"type": "option"
|
|
49161
|
-
},
|
|
49162
|
-
"target": {
|
|
49163
|
-
"description": "Filter by target slug",
|
|
49164
|
-
"name": "target",
|
|
49165
|
-
"hasDynamicHelp": false,
|
|
49166
|
-
"multiple": false,
|
|
49167
|
-
"type": "option"
|
|
49161
|
+
"force": {
|
|
49162
|
+
"char": "f",
|
|
49163
|
+
"description": "Skip confirmation prompt",
|
|
49164
|
+
"name": "force",
|
|
49165
|
+
"allowNo": false,
|
|
49166
|
+
"type": "boolean"
|
|
49168
49167
|
}
|
|
49169
49168
|
},
|
|
49170
49169
|
"hasDynamicHelp": false,
|
|
49171
49170
|
"hiddenAliases": [],
|
|
49172
|
-
"id": "mrt:project:
|
|
49171
|
+
"id": "mrt:project:member:remove",
|
|
49173
49172
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49174
49173
|
"pluginName": "@salesforce/b2c-cli",
|
|
49175
49174
|
"pluginType": "core",
|
|
@@ -49181,23 +49180,23 @@
|
|
|
49181
49180
|
"commands",
|
|
49182
49181
|
"mrt",
|
|
49183
49182
|
"project",
|
|
49184
|
-
"
|
|
49185
|
-
"
|
|
49183
|
+
"member",
|
|
49184
|
+
"remove.js"
|
|
49186
49185
|
]
|
|
49187
49186
|
},
|
|
49188
|
-
"mrt:project:
|
|
49187
|
+
"mrt:project:member:update": {
|
|
49189
49188
|
"aliases": [],
|
|
49190
49189
|
"args": {
|
|
49191
|
-
"
|
|
49192
|
-
"description": "
|
|
49193
|
-
"name": "
|
|
49190
|
+
"email": {
|
|
49191
|
+
"description": "Email address of the member to update",
|
|
49192
|
+
"name": "email",
|
|
49194
49193
|
"required": true
|
|
49195
49194
|
}
|
|
49196
49195
|
},
|
|
49197
|
-
"description": "Update a Managed Runtime
|
|
49196
|
+
"description": "Update a Managed Runtime project member's role\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-update",
|
|
49198
49197
|
"examples": [
|
|
49199
|
-
"<%= config.bin %> <%= command.id %>
|
|
49200
|
-
"<%= config.bin %> <%= command.id %>
|
|
49198
|
+
"<%= config.bin %> <%= command.id %> user@example.com --project my-storefront --role 0",
|
|
49199
|
+
"<%= config.bin %> <%= command.id %> user@example.com -p my-storefront --role 1"
|
|
49201
49200
|
],
|
|
49202
49201
|
"flags": {
|
|
49203
49202
|
"json": {
|
|
@@ -49357,44 +49356,25 @@
|
|
|
49357
49356
|
"multiple": false,
|
|
49358
49357
|
"type": "option"
|
|
49359
49358
|
},
|
|
49360
|
-
"
|
|
49361
|
-
"char": "t",
|
|
49362
|
-
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
49363
|
-
"name": "target",
|
|
49364
|
-
"hasDynamicHelp": false,
|
|
49365
|
-
"multiple": true,
|
|
49366
|
-
"type": "option"
|
|
49367
|
-
},
|
|
49368
|
-
"recipient": {
|
|
49359
|
+
"role": {
|
|
49369
49360
|
"char": "r",
|
|
49370
|
-
"description": "
|
|
49371
|
-
"name": "
|
|
49361
|
+
"description": "New role for the member (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
49362
|
+
"name": "role",
|
|
49363
|
+
"required": true,
|
|
49372
49364
|
"hasDynamicHelp": false,
|
|
49373
|
-
"multiple":
|
|
49365
|
+
"multiple": false,
|
|
49366
|
+
"options": [
|
|
49367
|
+
"0",
|
|
49368
|
+
"1",
|
|
49369
|
+
"2",
|
|
49370
|
+
"3"
|
|
49371
|
+
],
|
|
49374
49372
|
"type": "option"
|
|
49375
|
-
},
|
|
49376
|
-
"on-start": {
|
|
49377
|
-
"description": "Trigger notification when deployment starts",
|
|
49378
|
-
"name": "on-start",
|
|
49379
|
-
"allowNo": true,
|
|
49380
|
-
"type": "boolean"
|
|
49381
|
-
},
|
|
49382
|
-
"on-success": {
|
|
49383
|
-
"description": "Trigger notification when deployment succeeds",
|
|
49384
|
-
"name": "on-success",
|
|
49385
|
-
"allowNo": true,
|
|
49386
|
-
"type": "boolean"
|
|
49387
|
-
},
|
|
49388
|
-
"on-failed": {
|
|
49389
|
-
"description": "Trigger notification when deployment fails",
|
|
49390
|
-
"name": "on-failed",
|
|
49391
|
-
"allowNo": true,
|
|
49392
|
-
"type": "boolean"
|
|
49393
49373
|
}
|
|
49394
49374
|
},
|
|
49395
49375
|
"hasDynamicHelp": false,
|
|
49396
49376
|
"hiddenAliases": [],
|
|
49397
|
-
"id": "mrt:project:
|
|
49377
|
+
"id": "mrt:project:member:update",
|
|
49398
49378
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49399
49379
|
"pluginName": "@salesforce/b2c-cli",
|
|
49400
49380
|
"pluginType": "core",
|
|
@@ -49406,23 +49386,17 @@
|
|
|
49406
49386
|
"commands",
|
|
49407
49387
|
"mrt",
|
|
49408
49388
|
"project",
|
|
49409
|
-
"
|
|
49389
|
+
"member",
|
|
49410
49390
|
"update.js"
|
|
49411
49391
|
]
|
|
49412
49392
|
},
|
|
49413
|
-
"mrt:project:
|
|
49393
|
+
"mrt:project:notification:create": {
|
|
49414
49394
|
"aliases": [],
|
|
49415
|
-
"args": {
|
|
49416
|
-
|
|
49417
|
-
"description": "Email address of the user to add",
|
|
49418
|
-
"name": "email",
|
|
49419
|
-
"required": true
|
|
49420
|
-
}
|
|
49421
|
-
},
|
|
49422
|
-
"description": "Add a member to a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-add",
|
|
49395
|
+
"args": {},
|
|
49396
|
+
"description": "Create a notification for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-create",
|
|
49423
49397
|
"examples": [
|
|
49424
|
-
"<%= config.bin %> <%= command.id %>
|
|
49425
|
-
"<%= config.bin %> <%= command.id %>
|
|
49398
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront --target staging --recipient team@example.com --on-start --on-failed",
|
|
49399
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --target staging --target production --recipient ops@example.com"
|
|
49426
49400
|
],
|
|
49427
49401
|
"flags": {
|
|
49428
49402
|
"json": {
|
|
@@ -49582,25 +49556,46 @@
|
|
|
49582
49556
|
"multiple": false,
|
|
49583
49557
|
"type": "option"
|
|
49584
49558
|
},
|
|
49585
|
-
"
|
|
49559
|
+
"target": {
|
|
49560
|
+
"char": "t",
|
|
49561
|
+
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
49562
|
+
"name": "target",
|
|
49563
|
+
"required": true,
|
|
49564
|
+
"hasDynamicHelp": false,
|
|
49565
|
+
"multiple": true,
|
|
49566
|
+
"type": "option"
|
|
49567
|
+
},
|
|
49568
|
+
"recipient": {
|
|
49586
49569
|
"char": "r",
|
|
49587
|
-
"description": "
|
|
49588
|
-
"name": "
|
|
49570
|
+
"description": "Email recipient for this notification (can be specified multiple times)",
|
|
49571
|
+
"name": "recipient",
|
|
49589
49572
|
"required": true,
|
|
49590
49573
|
"hasDynamicHelp": false,
|
|
49591
|
-
"multiple":
|
|
49592
|
-
"options": [
|
|
49593
|
-
"0",
|
|
49594
|
-
"1",
|
|
49595
|
-
"2",
|
|
49596
|
-
"3"
|
|
49597
|
-
],
|
|
49574
|
+
"multiple": true,
|
|
49598
49575
|
"type": "option"
|
|
49576
|
+
},
|
|
49577
|
+
"on-start": {
|
|
49578
|
+
"description": "Trigger notification when deployment starts",
|
|
49579
|
+
"name": "on-start",
|
|
49580
|
+
"allowNo": false,
|
|
49581
|
+
"type": "boolean"
|
|
49582
|
+
},
|
|
49583
|
+
"on-success": {
|
|
49584
|
+
"description": "Trigger notification when deployment succeeds",
|
|
49585
|
+
"name": "on-success",
|
|
49586
|
+
"allowNo": false,
|
|
49587
|
+
"type": "boolean"
|
|
49588
|
+
},
|
|
49589
|
+
"on-failed": {
|
|
49590
|
+
"description": "Trigger notification when deployment fails",
|
|
49591
|
+
"name": "on-failed",
|
|
49592
|
+
"allowNo": false,
|
|
49593
|
+
"type": "boolean"
|
|
49599
49594
|
}
|
|
49600
49595
|
},
|
|
49601
49596
|
"hasDynamicHelp": false,
|
|
49602
49597
|
"hiddenAliases": [],
|
|
49603
|
-
"id": "mrt:project:
|
|
49598
|
+
"id": "mrt:project:notification:create",
|
|
49604
49599
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49605
49600
|
"pluginName": "@salesforce/b2c-cli",
|
|
49606
49601
|
"pluginType": "core",
|
|
@@ -49612,23 +49607,23 @@
|
|
|
49612
49607
|
"commands",
|
|
49613
49608
|
"mrt",
|
|
49614
49609
|
"project",
|
|
49615
|
-
"
|
|
49616
|
-
"
|
|
49610
|
+
"notification",
|
|
49611
|
+
"create.js"
|
|
49617
49612
|
]
|
|
49618
49613
|
},
|
|
49619
|
-
"mrt:project:
|
|
49614
|
+
"mrt:project:notification:delete": {
|
|
49620
49615
|
"aliases": [],
|
|
49621
49616
|
"args": {
|
|
49622
|
-
"
|
|
49623
|
-
"description": "
|
|
49624
|
-
"name": "
|
|
49617
|
+
"id": {
|
|
49618
|
+
"description": "Notification ID to delete",
|
|
49619
|
+
"name": "id",
|
|
49625
49620
|
"required": true
|
|
49626
49621
|
}
|
|
49627
49622
|
},
|
|
49628
|
-
"description": "
|
|
49623
|
+
"description": "Delete a notification from a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-delete",
|
|
49629
49624
|
"examples": [
|
|
49630
|
-
"<%= config.bin %> <%= command.id %>
|
|
49631
|
-
"<%= config.bin %> <%= command.id %>
|
|
49625
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront",
|
|
49626
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --force"
|
|
49632
49627
|
],
|
|
49633
49628
|
"flags": {
|
|
49634
49629
|
"json": {
|
|
@@ -49787,11 +49782,18 @@
|
|
|
49787
49782
|
"hasDynamicHelp": false,
|
|
49788
49783
|
"multiple": false,
|
|
49789
49784
|
"type": "option"
|
|
49785
|
+
},
|
|
49786
|
+
"force": {
|
|
49787
|
+
"char": "f",
|
|
49788
|
+
"description": "Skip confirmation prompt",
|
|
49789
|
+
"name": "force",
|
|
49790
|
+
"allowNo": false,
|
|
49791
|
+
"type": "boolean"
|
|
49790
49792
|
}
|
|
49791
49793
|
},
|
|
49792
49794
|
"hasDynamicHelp": false,
|
|
49793
49795
|
"hiddenAliases": [],
|
|
49794
|
-
"id": "mrt:project:
|
|
49796
|
+
"id": "mrt:project:notification:delete",
|
|
49795
49797
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
49796
49798
|
"pluginName": "@salesforce/b2c-cli",
|
|
49797
49799
|
"pluginType": "core",
|
|
@@ -49803,19 +49805,23 @@
|
|
|
49803
49805
|
"commands",
|
|
49804
49806
|
"mrt",
|
|
49805
49807
|
"project",
|
|
49806
|
-
"
|
|
49807
|
-
"
|
|
49808
|
+
"notification",
|
|
49809
|
+
"delete.js"
|
|
49808
49810
|
]
|
|
49809
49811
|
},
|
|
49810
|
-
"mrt:project:
|
|
49812
|
+
"mrt:project:notification:get": {
|
|
49811
49813
|
"aliases": [],
|
|
49812
|
-
"args": {
|
|
49813
|
-
|
|
49814
|
+
"args": {
|
|
49815
|
+
"id": {
|
|
49816
|
+
"description": "Notification ID",
|
|
49817
|
+
"name": "id",
|
|
49818
|
+
"required": true
|
|
49819
|
+
}
|
|
49820
|
+
},
|
|
49821
|
+
"description": "Get details of a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-get",
|
|
49814
49822
|
"examples": [
|
|
49815
|
-
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
49816
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --
|
|
49817
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --search user@example.com",
|
|
49818
|
-
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
49823
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront",
|
|
49824
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --json"
|
|
49819
49825
|
],
|
|
49820
49826
|
"flags": {
|
|
49821
49827
|
"json": {
|
|
@@ -49974,45 +49980,11 @@
|
|
|
49974
49980
|
"hasDynamicHelp": false,
|
|
49975
49981
|
"multiple": false,
|
|
49976
49982
|
"type": "option"
|
|
49977
|
-
},
|
|
49978
|
-
"limit": {
|
|
49979
|
-
"description": "Maximum number of results to return",
|
|
49980
|
-
"name": "limit",
|
|
49981
|
-
"hasDynamicHelp": false,
|
|
49982
|
-
"multiple": false,
|
|
49983
|
-
"type": "option"
|
|
49984
|
-
},
|
|
49985
|
-
"offset": {
|
|
49986
|
-
"description": "Offset for pagination",
|
|
49987
|
-
"name": "offset",
|
|
49988
|
-
"hasDynamicHelp": false,
|
|
49989
|
-
"multiple": false,
|
|
49990
|
-
"type": "option"
|
|
49991
|
-
},
|
|
49992
|
-
"role": {
|
|
49993
|
-
"description": "Filter by role (0=Admin, 1=Developer, 2=Marketer, 3=Read Only)",
|
|
49994
|
-
"name": "role",
|
|
49995
|
-
"hasDynamicHelp": false,
|
|
49996
|
-
"multiple": false,
|
|
49997
|
-
"options": [
|
|
49998
|
-
"0",
|
|
49999
|
-
"1",
|
|
50000
|
-
"2",
|
|
50001
|
-
"3"
|
|
50002
|
-
],
|
|
50003
|
-
"type": "option"
|
|
50004
|
-
},
|
|
50005
|
-
"search": {
|
|
50006
|
-
"description": "Search term for filtering",
|
|
50007
|
-
"name": "search",
|
|
50008
|
-
"hasDynamicHelp": false,
|
|
50009
|
-
"multiple": false,
|
|
50010
|
-
"type": "option"
|
|
50011
49983
|
}
|
|
50012
49984
|
},
|
|
50013
49985
|
"hasDynamicHelp": false,
|
|
50014
49986
|
"hiddenAliases": [],
|
|
50015
|
-
"id": "mrt:project:
|
|
49987
|
+
"id": "mrt:project:notification:get",
|
|
50016
49988
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
50017
49989
|
"pluginName": "@salesforce/b2c-cli",
|
|
50018
49990
|
"pluginType": "core",
|
|
@@ -50024,23 +49996,18 @@
|
|
|
50024
49996
|
"commands",
|
|
50025
49997
|
"mrt",
|
|
50026
49998
|
"project",
|
|
50027
|
-
"
|
|
50028
|
-
"
|
|
49999
|
+
"notification",
|
|
50000
|
+
"get.js"
|
|
50029
50001
|
]
|
|
50030
50002
|
},
|
|
50031
|
-
"mrt:project:
|
|
50003
|
+
"mrt:project:notification:list": {
|
|
50032
50004
|
"aliases": [],
|
|
50033
|
-
"args": {
|
|
50034
|
-
|
|
50035
|
-
"description": "Email address of the member to remove",
|
|
50036
|
-
"name": "email",
|
|
50037
|
-
"required": true
|
|
50038
|
-
}
|
|
50039
|
-
},
|
|
50040
|
-
"description": "Remove a member from a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-member-remove",
|
|
50005
|
+
"args": {},
|
|
50006
|
+
"description": "List notifications for a Managed Runtime project\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-list",
|
|
50041
50007
|
"examples": [
|
|
50042
|
-
"<%= config.bin %> <%= command.id %>
|
|
50043
|
-
"<%= config.bin %> <%= command.id %>
|
|
50008
|
+
"<%= config.bin %> <%= command.id %> --project my-storefront",
|
|
50009
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --target staging",
|
|
50010
|
+
"<%= config.bin %> <%= command.id %> -p my-storefront --json"
|
|
50044
50011
|
],
|
|
50045
50012
|
"flags": {
|
|
50046
50013
|
"json": {
|
|
@@ -50200,17 +50167,31 @@
|
|
|
50200
50167
|
"multiple": false,
|
|
50201
50168
|
"type": "option"
|
|
50202
50169
|
},
|
|
50203
|
-
"
|
|
50204
|
-
"
|
|
50205
|
-
"
|
|
50206
|
-
"
|
|
50207
|
-
"
|
|
50208
|
-
"type": "
|
|
50170
|
+
"limit": {
|
|
50171
|
+
"description": "Maximum number of results to return",
|
|
50172
|
+
"name": "limit",
|
|
50173
|
+
"hasDynamicHelp": false,
|
|
50174
|
+
"multiple": false,
|
|
50175
|
+
"type": "option"
|
|
50176
|
+
},
|
|
50177
|
+
"offset": {
|
|
50178
|
+
"description": "Offset for pagination",
|
|
50179
|
+
"name": "offset",
|
|
50180
|
+
"hasDynamicHelp": false,
|
|
50181
|
+
"multiple": false,
|
|
50182
|
+
"type": "option"
|
|
50183
|
+
},
|
|
50184
|
+
"target": {
|
|
50185
|
+
"description": "Filter by target slug",
|
|
50186
|
+
"name": "target",
|
|
50187
|
+
"hasDynamicHelp": false,
|
|
50188
|
+
"multiple": false,
|
|
50189
|
+
"type": "option"
|
|
50209
50190
|
}
|
|
50210
50191
|
},
|
|
50211
50192
|
"hasDynamicHelp": false,
|
|
50212
50193
|
"hiddenAliases": [],
|
|
50213
|
-
"id": "mrt:project:
|
|
50194
|
+
"id": "mrt:project:notification:list",
|
|
50214
50195
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
50215
50196
|
"pluginName": "@salesforce/b2c-cli",
|
|
50216
50197
|
"pluginType": "core",
|
|
@@ -50222,23 +50203,23 @@
|
|
|
50222
50203
|
"commands",
|
|
50223
50204
|
"mrt",
|
|
50224
50205
|
"project",
|
|
50225
|
-
"
|
|
50226
|
-
"
|
|
50206
|
+
"notification",
|
|
50207
|
+
"list.js"
|
|
50227
50208
|
]
|
|
50228
50209
|
},
|
|
50229
|
-
"mrt:project:
|
|
50210
|
+
"mrt:project:notification:update": {
|
|
50230
50211
|
"aliases": [],
|
|
50231
50212
|
"args": {
|
|
50232
|
-
"
|
|
50233
|
-
"description": "
|
|
50234
|
-
"name": "
|
|
50213
|
+
"id": {
|
|
50214
|
+
"description": "Notification ID",
|
|
50215
|
+
"name": "id",
|
|
50235
50216
|
"required": true
|
|
50236
50217
|
}
|
|
50237
50218
|
},
|
|
50238
|
-
"description": "Update a Managed Runtime
|
|
50219
|
+
"description": "Update a Managed Runtime notification\n\nDocs: https://salesforcecommercecloud.github.io/b2c-developer-tooling/cli/mrt.html#b2c-mrt-project-notification-update",
|
|
50239
50220
|
"examples": [
|
|
50240
|
-
"<%= config.bin %> <%= command.id %>
|
|
50241
|
-
"<%= config.bin %> <%= command.id %>
|
|
50221
|
+
"<%= config.bin %> <%= command.id %> abc-123 --project my-storefront --on-start --on-failed",
|
|
50222
|
+
"<%= config.bin %> <%= command.id %> abc-123 -p my-storefront --recipient new-team@example.com"
|
|
50242
50223
|
],
|
|
50243
50224
|
"flags": {
|
|
50244
50225
|
"json": {
|
|
@@ -50398,25 +50379,44 @@
|
|
|
50398
50379
|
"multiple": false,
|
|
50399
50380
|
"type": "option"
|
|
50400
50381
|
},
|
|
50401
|
-
"
|
|
50382
|
+
"target": {
|
|
50383
|
+
"char": "t",
|
|
50384
|
+
"description": "Target slug to associate with this notification (can be specified multiple times)",
|
|
50385
|
+
"name": "target",
|
|
50386
|
+
"hasDynamicHelp": false,
|
|
50387
|
+
"multiple": true,
|
|
50388
|
+
"type": "option"
|
|
50389
|
+
},
|
|
50390
|
+
"recipient": {
|
|
50402
50391
|
"char": "r",
|
|
50403
|
-
"description": "
|
|
50404
|
-
"name": "
|
|
50405
|
-
"required": true,
|
|
50392
|
+
"description": "Email recipient for this notification (can be specified multiple times)",
|
|
50393
|
+
"name": "recipient",
|
|
50406
50394
|
"hasDynamicHelp": false,
|
|
50407
|
-
"multiple":
|
|
50408
|
-
"options": [
|
|
50409
|
-
"0",
|
|
50410
|
-
"1",
|
|
50411
|
-
"2",
|
|
50412
|
-
"3"
|
|
50413
|
-
],
|
|
50395
|
+
"multiple": true,
|
|
50414
50396
|
"type": "option"
|
|
50397
|
+
},
|
|
50398
|
+
"on-start": {
|
|
50399
|
+
"description": "Trigger notification when deployment starts",
|
|
50400
|
+
"name": "on-start",
|
|
50401
|
+
"allowNo": true,
|
|
50402
|
+
"type": "boolean"
|
|
50403
|
+
},
|
|
50404
|
+
"on-success": {
|
|
50405
|
+
"description": "Trigger notification when deployment succeeds",
|
|
50406
|
+
"name": "on-success",
|
|
50407
|
+
"allowNo": true,
|
|
50408
|
+
"type": "boolean"
|
|
50409
|
+
},
|
|
50410
|
+
"on-failed": {
|
|
50411
|
+
"description": "Trigger notification when deployment fails",
|
|
50412
|
+
"name": "on-failed",
|
|
50413
|
+
"allowNo": true,
|
|
50414
|
+
"type": "boolean"
|
|
50415
50415
|
}
|
|
50416
50416
|
},
|
|
50417
50417
|
"hasDynamicHelp": false,
|
|
50418
50418
|
"hiddenAliases": [],
|
|
50419
|
-
"id": "mrt:project:
|
|
50419
|
+
"id": "mrt:project:notification:update",
|
|
50420
50420
|
"pluginAlias": "@salesforce/b2c-cli",
|
|
50421
50421
|
"pluginName": "@salesforce/b2c-cli",
|
|
50422
50422
|
"pluginType": "core",
|
|
@@ -50428,10 +50428,10 @@
|
|
|
50428
50428
|
"commands",
|
|
50429
50429
|
"mrt",
|
|
50430
50430
|
"project",
|
|
50431
|
-
"
|
|
50431
|
+
"notification",
|
|
50432
50432
|
"update.js"
|
|
50433
50433
|
]
|
|
50434
50434
|
}
|
|
50435
50435
|
},
|
|
50436
|
-
"version": "0.5.
|
|
50436
|
+
"version": "0.5.4"
|
|
50437
50437
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-cli",
|
|
3
3
|
"description": "A Salesforce B2C Commerce CLI",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.4",
|
|
5
5
|
"author": "Charles Lavery",
|
|
6
6
|
"bin": {
|
|
7
7
|
"b2c": "./bin/run.js"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"marked": "15.0.12",
|
|
26
26
|
"marked-terminal": "7.3.0",
|
|
27
27
|
"open": "11.0.0",
|
|
28
|
-
"@salesforce/b2c-tooling-sdk": "0.5.
|
|
28
|
+
"@salesforce/b2c-tooling-sdk": "0.5.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@eslint/compat": "^1",
|