@salesforce/analytics 1.0.1 → 1.0.2
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/CHANGELOG.md +7 -0
- package/README.md +43 -39
- package/lib/commands/analytics/template/update.d.ts +1 -0
- package/lib/commands/analytics/template/update.js +7 -1
- package/lib/commands/analytics/template/update.js.map +1 -1
- package/lib/lib/analytics/template/wavetemplate.d.ts +2 -1
- package/lib/lib/analytics/template/wavetemplate.js +7 -2
- package/lib/lib/analytics/template/wavetemplate.js.map +1 -1
- package/messages/template.json +3 -1
- package/oclif.manifest.json +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.2](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.1...v1.0.2) (2021-12-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* supporting upgrading template version ([#47](https://github.com/salesforcecli/plugin-analytics/issues/47)) ([8e60e0e](https://github.com/salesforcecli/plugin-analytics/commit/8e60e0eb0842b6f7d68b25609c0c52440146aebe))
|
|
11
|
+
|
|
5
12
|
### [1.0.1](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.0...v1.0.1) (2021-11-02)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ sfdx plugins
|
|
|
115
115
|
* [`sfdx analytics:template:delete -t <id> [--forcedelete] [--decouple] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticstemplatedelete--t-id---forcedelete---decouple--p--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
116
116
|
* [`sfdx analytics:template:display [-t <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticstemplatedisplay--t-id---n-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
117
117
|
* [`sfdx analytics:template:list [-a] [-e] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticstemplatelist--a--e--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
118
|
-
* [`sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticstemplateupdate--t-id---n-string--f-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
118
|
+
* [`sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-v <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticstemplateupdate--t-id---n-string--f-id--v-integer--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
119
119
|
|
|
120
120
|
## `sfdx analytics:app:create [-f <filepath> | -m <string> | -t <string>] [-n <string>] [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
121
121
|
|
|
@@ -164,7 +164,7 @@ EXAMPLES
|
|
|
164
164
|
$ sfdx analytics:app:create -f path_to_json_file
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
_See code: [src/commands/analytics/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
167
|
+
_See code: [src/commands/analytics/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/create.ts)_
|
|
168
168
|
|
|
169
169
|
## `sfdx analytics:app:decouple -f <id> -t <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
170
170
|
|
|
@@ -194,7 +194,7 @@ EXAMPLE
|
|
|
194
194
|
$ sfdx analytics:app:decouple -f folderId -t templateId
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
_See code: [src/commands/analytics/app/decouple.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
197
|
+
_See code: [src/commands/analytics/app/decouple.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/decouple.ts)_
|
|
198
198
|
|
|
199
199
|
## `sfdx analytics:app:delete -f <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
200
200
|
|
|
@@ -226,7 +226,7 @@ EXAMPLE
|
|
|
226
226
|
$ sfdx analytics:app:delete -f folderid
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
_See code: [src/commands/analytics/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
229
|
+
_See code: [src/commands/analytics/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/delete.ts)_
|
|
230
230
|
|
|
231
231
|
## `sfdx analytics:app:display -f <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
232
232
|
|
|
@@ -258,7 +258,7 @@ EXAMPLE
|
|
|
258
258
|
$ sfdx analytics:app:display -f folderId -a
|
|
259
259
|
```
|
|
260
260
|
|
|
261
|
-
_See code: [src/commands/analytics/app/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
261
|
+
_See code: [src/commands/analytics/app/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/display.ts)_
|
|
262
262
|
|
|
263
263
|
## `sfdx analytics:app:list [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
264
264
|
|
|
@@ -287,7 +287,7 @@ EXAMPLE
|
|
|
287
287
|
$ sfdx analytics:app:list
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [src/commands/analytics/app/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
290
|
+
_See code: [src/commands/analytics/app/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/list.ts)_
|
|
291
291
|
|
|
292
292
|
## `sfdx analytics:app:update -t <id> -f <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
293
293
|
|
|
@@ -317,7 +317,7 @@ EXAMPLE
|
|
|
317
317
|
$ sfdx analytics:app:update -f folderId -t templateId
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
_See code: [src/commands/analytics/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
320
|
+
_See code: [src/commands/analytics/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/app/update.ts)_
|
|
321
321
|
|
|
322
322
|
## `sfdx analytics:asset:publisher:create -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
323
323
|
|
|
@@ -347,7 +347,7 @@ EXAMPLE
|
|
|
347
347
|
$ sfdx analytics:asset:publisher:create -i assetId
|
|
348
348
|
```
|
|
349
349
|
|
|
350
|
-
_See code: [src/commands/analytics/asset/publisher/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
350
|
+
_See code: [src/commands/analytics/asset/publisher/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/asset/publisher/create.ts)_
|
|
351
351
|
|
|
352
352
|
## `sfdx analytics:asset:publisher:delete -i <id> -a <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
353
353
|
|
|
@@ -380,7 +380,7 @@ EXAMPLE
|
|
|
380
380
|
$ sfdx analytics:asset:publisher:delete -a assetId -i assetPublisherId
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/analytics/asset/publisher/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
383
|
+
_See code: [src/commands/analytics/asset/publisher/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/asset/publisher/delete.ts)_
|
|
384
384
|
|
|
385
385
|
## `sfdx analytics:asset:publisher:deleteall -i <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
386
386
|
|
|
@@ -413,7 +413,7 @@ EXAMPLE
|
|
|
413
413
|
$ sfdx analytics:asset:publisher:deleteall -i assetId
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/analytics/asset/publisher/deleteall.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
416
|
+
_See code: [src/commands/analytics/asset/publisher/deleteall.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/asset/publisher/deleteall.ts)_
|
|
417
417
|
|
|
418
418
|
## `sfdx analytics:asset:publisher:list -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
419
419
|
|
|
@@ -443,7 +443,7 @@ EXAMPLE
|
|
|
443
443
|
$ sfdx analytics:asset:publisher:list -i assetId
|
|
444
444
|
```
|
|
445
445
|
|
|
446
|
-
_See code: [src/commands/analytics/asset/publisher/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
446
|
+
_See code: [src/commands/analytics/asset/publisher/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/asset/publisher/list.ts)_
|
|
447
447
|
|
|
448
448
|
## `sfdx analytics:autoinstall:app:create [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
449
449
|
|
|
@@ -483,7 +483,7 @@ EXAMPLES
|
|
|
483
483
|
$ sfdx analytics:autoinstall:app:create -n templatename
|
|
484
484
|
```
|
|
485
485
|
|
|
486
|
-
_See code: [src/commands/analytics/autoinstall/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
486
|
+
_See code: [src/commands/analytics/autoinstall/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/autoinstall/app/create.ts)_
|
|
487
487
|
|
|
488
488
|
## `sfdx analytics:autoinstall:app:delete -f <id> [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
489
489
|
|
|
@@ -520,7 +520,7 @@ EXAMPLE
|
|
|
520
520
|
$ sfdx analytics:autoinstall:app:delete -f folderid
|
|
521
521
|
```
|
|
522
522
|
|
|
523
|
-
_See code: [src/commands/analytics/autoinstall/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
523
|
+
_See code: [src/commands/analytics/autoinstall/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/autoinstall/app/delete.ts)_
|
|
524
524
|
|
|
525
525
|
## `sfdx analytics:autoinstall:app:update -f <id> [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
526
526
|
|
|
@@ -561,7 +561,7 @@ EXAMPLES
|
|
|
561
561
|
$ sfdx analytics:autoinstall:app:update -n templatename -f folderid
|
|
562
562
|
```
|
|
563
563
|
|
|
564
|
-
_See code: [src/commands/analytics/autoinstall/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
564
|
+
_See code: [src/commands/analytics/autoinstall/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/autoinstall/app/update.ts)_
|
|
565
565
|
|
|
566
566
|
## `sfdx analytics:autoinstall:display -i <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
567
567
|
|
|
@@ -593,7 +593,7 @@ EXAMPLE
|
|
|
593
593
|
$ sfdx analytics:autoinstall:display -i id
|
|
594
594
|
```
|
|
595
595
|
|
|
596
|
-
_See code: [src/commands/analytics/autoinstall/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
596
|
+
_See code: [src/commands/analytics/autoinstall/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/autoinstall/display.ts)_
|
|
597
597
|
|
|
598
598
|
## `sfdx analytics:autoinstall:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
599
599
|
|
|
@@ -620,7 +620,7 @@ EXAMPLE
|
|
|
620
620
|
$ sfdx analytics:autoinstall:list
|
|
621
621
|
```
|
|
622
622
|
|
|
623
|
-
_See code: [src/commands/analytics/autoinstall/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
623
|
+
_See code: [src/commands/analytics/autoinstall/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/autoinstall/list.ts)_
|
|
624
624
|
|
|
625
625
|
## `sfdx analytics:dashboard:history:list -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
626
626
|
|
|
@@ -649,7 +649,7 @@ EXAMPLE
|
|
|
649
649
|
$ sfdx analytics:dashboard:history:list --dashboardid <dashboardid>
|
|
650
650
|
```
|
|
651
651
|
|
|
652
|
-
_See code: [src/commands/analytics/dashboard/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
652
|
+
_See code: [src/commands/analytics/dashboard/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dashboard/history/list.ts)_
|
|
653
653
|
|
|
654
654
|
## `sfdx analytics:dashboard:history:revert -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
655
655
|
|
|
@@ -683,7 +683,7 @@ EXAMPLE
|
|
|
683
683
|
$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel>
|
|
684
684
|
```
|
|
685
685
|
|
|
686
|
-
_See code: [src/commands/analytics/dashboard/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
686
|
+
_See code: [src/commands/analytics/dashboard/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dashboard/history/revert.ts)_
|
|
687
687
|
|
|
688
688
|
## `sfdx analytics:dashboard:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
689
689
|
|
|
@@ -710,7 +710,7 @@ EXAMPLE
|
|
|
710
710
|
$ sfdx analytics:dashboard:list
|
|
711
711
|
```
|
|
712
712
|
|
|
713
|
-
_See code: [src/commands/analytics/dashboard/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
713
|
+
_See code: [src/commands/analytics/dashboard/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dashboard/list.ts)_
|
|
714
714
|
|
|
715
715
|
## `sfdx analytics:dashboard:update -i <id> [-y <id>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
716
716
|
|
|
@@ -745,7 +745,7 @@ EXAMPLES
|
|
|
745
745
|
$ sfdx analytics:dashboard:update -i dashboardId -r
|
|
746
746
|
```
|
|
747
747
|
|
|
748
|
-
_See code: [src/commands/analytics/dashboard/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
748
|
+
_See code: [src/commands/analytics/dashboard/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dashboard/update.ts)_
|
|
749
749
|
|
|
750
750
|
## `sfdx analytics:dataflow:history:list -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
751
751
|
|
|
@@ -774,7 +774,7 @@ EXAMPLE
|
|
|
774
774
|
$ sfdx analytics:dataflow:history:list --dataflowid <dataflowid>
|
|
775
775
|
```
|
|
776
776
|
|
|
777
|
-
_See code: [src/commands/analytics/dataflow/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
777
|
+
_See code: [src/commands/analytics/dataflow/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataflow/history/list.ts)_
|
|
778
778
|
|
|
779
779
|
## `sfdx analytics:dataflow:history:revert -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
780
780
|
|
|
@@ -808,7 +808,7 @@ EXAMPLE
|
|
|
808
808
|
$ sfdx analytics:dataflow:history:revert -i <dataflowid> -y <historyid> -l <historyLabel>
|
|
809
809
|
```
|
|
810
810
|
|
|
811
|
-
_See code: [src/commands/analytics/dataflow/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
811
|
+
_See code: [src/commands/analytics/dataflow/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataflow/history/revert.ts)_
|
|
812
812
|
|
|
813
813
|
## `sfdx analytics:dataflow:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
814
814
|
|
|
@@ -835,7 +835,7 @@ EXAMPLE
|
|
|
835
835
|
$ sfdx analytics:dataflow:list
|
|
836
836
|
```
|
|
837
837
|
|
|
838
|
-
_See code: [src/commands/analytics/dataflow/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
838
|
+
_See code: [src/commands/analytics/dataflow/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataflow/list.ts)_
|
|
839
839
|
|
|
840
840
|
## `sfdx analytics:dataset:display [-i <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
841
841
|
|
|
@@ -866,7 +866,7 @@ EXAMPLES
|
|
|
866
866
|
$ sfdx analytics:dataset:display -n datasetApiName
|
|
867
867
|
```
|
|
868
868
|
|
|
869
|
-
_See code: [src/commands/analytics/dataset/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
869
|
+
_See code: [src/commands/analytics/dataset/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataset/display.ts)_
|
|
870
870
|
|
|
871
871
|
## `sfdx analytics:dataset:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
872
872
|
|
|
@@ -893,7 +893,7 @@ EXAMPLE
|
|
|
893
893
|
$ sfdx analytics:dataset:list
|
|
894
894
|
```
|
|
895
895
|
|
|
896
|
-
_See code: [src/commands/analytics/dataset/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
896
|
+
_See code: [src/commands/analytics/dataset/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataset/list.ts)_
|
|
897
897
|
|
|
898
898
|
## `sfdx analytics:dataset:rows:fetch [-i <id> | -n <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
899
899
|
|
|
@@ -929,7 +929,7 @@ EXAMPLES
|
|
|
929
929
|
$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv
|
|
930
930
|
```
|
|
931
931
|
|
|
932
|
-
_See code: [src/commands/analytics/dataset/rows/fetch.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
932
|
+
_See code: [src/commands/analytics/dataset/rows/fetch.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/dataset/rows/fetch.ts)_
|
|
933
933
|
|
|
934
934
|
## `sfdx analytics:enable [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
935
935
|
|
|
@@ -965,7 +965,7 @@ EXAMPLE
|
|
|
965
965
|
$ sfdx analytics:enable
|
|
966
966
|
```
|
|
967
967
|
|
|
968
|
-
_See code: [src/commands/analytics/enable.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
968
|
+
_See code: [src/commands/analytics/enable.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/enable.ts)_
|
|
969
969
|
|
|
970
970
|
## `sfdx analytics:lens:history:list -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
971
971
|
|
|
@@ -994,7 +994,7 @@ EXAMPLE
|
|
|
994
994
|
$ sfdx analytics:lens:history:list --lensid <lensid>
|
|
995
995
|
```
|
|
996
996
|
|
|
997
|
-
_See code: [src/commands/analytics/lens/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
997
|
+
_See code: [src/commands/analytics/lens/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/lens/history/list.ts)_
|
|
998
998
|
|
|
999
999
|
## `sfdx analytics:lens:history:revert -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1000
1000
|
|
|
@@ -1028,7 +1028,7 @@ EXAMPLE
|
|
|
1028
1028
|
$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel>
|
|
1029
1029
|
```
|
|
1030
1030
|
|
|
1031
|
-
_See code: [src/commands/analytics/lens/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1031
|
+
_See code: [src/commands/analytics/lens/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/lens/history/revert.ts)_
|
|
1032
1032
|
|
|
1033
1033
|
## `sfdx analytics:lens:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1034
1034
|
|
|
@@ -1055,7 +1055,7 @@ EXAMPLE
|
|
|
1055
1055
|
$ sfdx analytics:lens:list
|
|
1056
1056
|
```
|
|
1057
1057
|
|
|
1058
|
-
_See code: [src/commands/analytics/lens/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1058
|
+
_See code: [src/commands/analytics/lens/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/lens/list.ts)_
|
|
1059
1059
|
|
|
1060
1060
|
## `sfdx analytics:query [-f <filepath> | -q <string>] [--nomapnames] [--sql] [-t <string>] [--connector <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1061
1061
|
|
|
@@ -1105,7 +1105,7 @@ EXAMPLES
|
|
|
1105
1105
|
sfdx analytics:query -q "..." --sql --limit 10 -r csv
|
|
1106
1106
|
```
|
|
1107
1107
|
|
|
1108
|
-
_See code: [src/commands/analytics/query.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1108
|
+
_See code: [src/commands/analytics/query.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/query.ts)_
|
|
1109
1109
|
|
|
1110
1110
|
## `sfdx analytics:template:create -f <id> [-l <string>] [--description <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1111
1111
|
|
|
@@ -1137,7 +1137,7 @@ EXAMPLE
|
|
|
1137
1137
|
$ sfdx analytics:template:create -f folderid
|
|
1138
1138
|
```
|
|
1139
1139
|
|
|
1140
|
-
_See code: [src/commands/analytics/template/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1140
|
+
_See code: [src/commands/analytics/template/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/template/create.ts)_
|
|
1141
1141
|
|
|
1142
1142
|
## `sfdx analytics:template:delete -t <id> [--forcedelete] [--decouple] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1143
1143
|
|
|
@@ -1175,7 +1175,7 @@ EXAMPLE
|
|
|
1175
1175
|
$ sfdx analytics:template:delete -t templateid
|
|
1176
1176
|
```
|
|
1177
1177
|
|
|
1178
|
-
_See code: [src/commands/analytics/template/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1178
|
+
_See code: [src/commands/analytics/template/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/template/delete.ts)_
|
|
1179
1179
|
|
|
1180
1180
|
## `sfdx analytics:template:display [-t <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1181
1181
|
|
|
@@ -1206,7 +1206,7 @@ EXAMPLES
|
|
|
1206
1206
|
$ sfdx analytics:template:display -n templatename
|
|
1207
1207
|
```
|
|
1208
1208
|
|
|
1209
|
-
_See code: [src/commands/analytics/template/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1209
|
+
_See code: [src/commands/analytics/template/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/template/display.ts)_
|
|
1210
1210
|
|
|
1211
1211
|
## `sfdx analytics:template:list [-a] [-e] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1212
1212
|
|
|
@@ -1238,16 +1238,16 @@ EXAMPLES
|
|
|
1238
1238
|
$ sfdx analytics:template:list --includesalesforcetemplates
|
|
1239
1239
|
```
|
|
1240
1240
|
|
|
1241
|
-
_See code: [src/commands/analytics/template/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1241
|
+
_See code: [src/commands/analytics/template/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/template/list.ts)_
|
|
1242
1242
|
|
|
1243
|
-
## `sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1243
|
+
## `sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-v <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1244
1244
|
|
|
1245
1245
|
update Tableau CRM templates
|
|
1246
1246
|
|
|
1247
1247
|
```
|
|
1248
1248
|
USAGE
|
|
1249
|
-
$ sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-
|
|
1250
|
-
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
1249
|
+
$ sfdx analytics:template:update [-t <id> | -n <string>] [-f <id>] [-v <integer>] [-u <string>] [--apiversion
|
|
1250
|
+
<string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
1251
1251
|
|
|
1252
1252
|
OPTIONS
|
|
1253
1253
|
-f, --folderid=folderid folder ID
|
|
@@ -1257,6 +1257,10 @@ OPTIONS
|
|
|
1257
1257
|
-u, --targetusername=targetusername username or alias for the target
|
|
1258
1258
|
org; overrides default target org
|
|
1259
1259
|
|
|
1260
|
+
-v, --assetversion=assetversion version number for upgrading the
|
|
1261
|
+
template (available in api version
|
|
1262
|
+
54.0)
|
|
1263
|
+
|
|
1260
1264
|
--apiversion=apiversion override the api version used for
|
|
1261
1265
|
api requests made by this command
|
|
1262
1266
|
|
|
@@ -1269,5 +1273,5 @@ EXAMPLE
|
|
|
1269
1273
|
$ sfdx analytics:template:update -t templateid -f folderid
|
|
1270
1274
|
```
|
|
1271
1275
|
|
|
1272
|
-
_See code: [src/commands/analytics/template/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1276
|
+
_See code: [src/commands/analytics/template/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.1/src/commands/analytics/template/update.ts)_
|
|
1273
1277
|
<!-- commandsstop -->
|
|
@@ -7,6 +7,7 @@ export default class Update extends SfdxCommand {
|
|
|
7
7
|
templateid: flags.Discriminated<flags.String>;
|
|
8
8
|
templatename: flags.Discriminated<flags.String>;
|
|
9
9
|
folderid: flags.Discriminated<flags.String>;
|
|
10
|
+
assetversion: flags.Discriminated<flags.Number>;
|
|
10
11
|
};
|
|
11
12
|
protected static requiresUsername: boolean;
|
|
12
13
|
protected static requiresProject: boolean;
|
|
@@ -23,6 +23,7 @@ class Update extends command_1.SfdxCommand {
|
|
|
23
23
|
throw new core_1.SfdxError(messages.getMessage('missingRequiredField'));
|
|
24
24
|
}
|
|
25
25
|
let folderid = this.flags.folderid;
|
|
26
|
+
const assetversion = this.flags.assetversion;
|
|
26
27
|
const template = new wavetemplate_1.default(this.org);
|
|
27
28
|
// no folder id provided, first see if we can find in on the folderSource of the template
|
|
28
29
|
if (!folderid) {
|
|
@@ -55,7 +56,7 @@ class Update extends command_1.SfdxCommand {
|
|
|
55
56
|
return;
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
|
-
const result = await template.update(folderid, templateInput);
|
|
59
|
+
const result = await template.update(folderid, templateInput, assetversion);
|
|
59
60
|
this.ux.log(messages.getMessage('updateSuccess', [result === null || result === void 0 ? void 0 : result.name, result === null || result === void 0 ? void 0 : result.id, folderid]));
|
|
60
61
|
return templateInput;
|
|
61
62
|
}
|
|
@@ -81,6 +82,11 @@ Update.flagsConfig = {
|
|
|
81
82
|
char: 'f',
|
|
82
83
|
description: messages.getMessage('folderidFlagDescription'),
|
|
83
84
|
longDescription: messages.getMessage('folderidFlagLongDescription')
|
|
85
|
+
}),
|
|
86
|
+
assetversion: command_1.flags.integer({
|
|
87
|
+
char: 'v',
|
|
88
|
+
description: messages.getMessage('assetVersionFlagDescription'),
|
|
89
|
+
longDescription: messages.getMessage('assetVersionFlagLongDescription')
|
|
84
90
|
})
|
|
85
91
|
};
|
|
86
92
|
Update.requiresUsername = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/analytics/template/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;AAEH,iDAAqE;AACrE,2CAA4D;AAE5D,+EAAuD;AACvD,gGAAwE;AAExE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAAC;AAE5E,MAAqB,MAAO,SAAQ,qBAAW;
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../src/commands/analytics/template/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;AAEH,iDAAqE;AACrE,2CAA4D;AAE5D,+EAAuD;AACvD,gGAAwE;AAExE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAAC;AAE5E,MAAqB,MAAO,SAAQ,qBAAW;IA6CtC,KAAK,CAAC,GAAG;;QACd,MAAM,aAAa,GAAG,CAAC,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,mCAAI,IAAI,CAAC,KAAK,CAAC,YAAY,CAAW,CAAC;QACnF,IAAI,CAAC,aAAa,EAAE;YAClB,MAAM,IAAI,gBAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;SAClE;QACD,IAAI,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAA8B,CAAC;QACzD,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,YAAkC,CAAC;QAEnE,MAAM,QAAQ,GAAG,IAAI,sBAAY,CAAC,IAAI,CAAC,GAAU,CAAC,CAAC;QAEnD,yFAAyF;QACzF,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,KAAK,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAClD,QAAQ,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,0CAAE,EAAE,CAAC;SACpC;QAED,kHAAkH;QAClH,IAAI,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,QAAQ,IAAI,QAAQ,IAAI,IAAI,EAAE;YACnE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YACxE,OAAO;SACR;QAED,mHAAmH;QACnH,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,SAAS,GAAG,IAAI,gBAAM,CAAC,IAAI,CAAC,GAAU,CAAC,CAAC;YAC9C,wEAAwE;YACxE,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,SAAS,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;iBAC7C,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,gBAAgB,KAAK,aAAa,CAAC;iBAC3D,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACd,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,QAAQ,EAAE,MAAM,CAAC,EAAE;aACpB,CAAC,CAAC,CAAC;YAEN,IAAI,OAAO,CAAC,MAAM,EAAE;gBAClB,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBACjF,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;gBACrF,OAAO,OAAO,CAAC;aAChB;iBAAM;gBACL,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;gBACxE,OAAO;aACR;SACF;QACD,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;QAC5E,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;QACxF,OAAO,aAAa,CAAC;IACvB,CAAC;;AA3FH,yBA4FC;AA3Fe,kBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC;AAC9D,sBAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC;AAEtE,eAAQ,GAAG,CAAC,4DAA4D,CAAC,CAAC;AAEvE,kBAAW,GAAG;IAC7B,UAAU,EAAE,eAAK,CAAC,EAAE,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QAC7D,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QACrE,SAAS,EAAE,CAAC,cAAc,CAAC;KAC5B,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,iCAAiC,CAAC;QACvE,SAAS,EAAE,CAAC,YAAY,CAAC;KAC1B,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,EAAE,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC3D,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;KACpE,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,OAAO,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,iCAAiC,CAAC;KACxE,CAAC;CACH,CAAC;AAEe,uBAAgB,GAAG,IAAI,CAAC;AACxB,sBAAe,GAAG,KAAK,CAAC;AAExB,aAAM,GAAe;IACpC,eAAe,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC;IAC9C,OAAO;QACL,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;gBAChD,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;aAChD;SACF;IACH,CAAC;CACF,CAAC"}
|
|
@@ -12,6 +12,7 @@ export declare type TemplateType = Record<string, unknown> & {
|
|
|
12
12
|
assetVersion?: string;
|
|
13
13
|
};
|
|
14
14
|
export default class WaveTemplate {
|
|
15
|
+
readonly serverVersion: number;
|
|
15
16
|
private readonly connection;
|
|
16
17
|
private readonly templatesUrl;
|
|
17
18
|
constructor(organization: Org);
|
|
@@ -20,7 +21,7 @@ export default class WaveTemplate {
|
|
|
20
21
|
label?: string;
|
|
21
22
|
description?: string;
|
|
22
23
|
}): Promise<string | undefined>;
|
|
23
|
-
update(folderid: string, templateIdOrName: string): Promise<{
|
|
24
|
+
update(folderid: string, templateIdOrName: string, templateAssetVersion: number | unknown): Promise<{
|
|
24
25
|
id: string | undefined;
|
|
25
26
|
name: string | undefined;
|
|
26
27
|
} | undefined>;
|
|
@@ -6,6 +6,7 @@ class WaveTemplate {
|
|
|
6
6
|
constructor(organization) {
|
|
7
7
|
this.connection = organization.getConnection();
|
|
8
8
|
this.templatesUrl = `${this.connection.baseUrl()}/wave/templates/`;
|
|
9
|
+
this.serverVersion = +this.connection.getApiVersion();
|
|
9
10
|
}
|
|
10
11
|
async fetch(templateNameOrId, viewOnly = true) {
|
|
11
12
|
const response = await request_1.connectRequest(this.connection, {
|
|
@@ -33,8 +34,12 @@ class WaveTemplate {
|
|
|
33
34
|
utils_1.throwError(response);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
async update(folderid, templateIdOrName) {
|
|
37
|
-
const
|
|
37
|
+
async update(folderid, templateIdOrName, templateAssetVersion) {
|
|
38
|
+
const opts = { folderSource: { id: folderid } };
|
|
39
|
+
if (templateAssetVersion && this.serverVersion >= 54.0) {
|
|
40
|
+
opts.assetVersion = templateAssetVersion;
|
|
41
|
+
}
|
|
42
|
+
const body = JSON.stringify(opts);
|
|
38
43
|
const wtUrl = this.templatesUrl + encodeURIComponent(templateIdOrName);
|
|
39
44
|
const response = await request_1.connectRequest(this.connection, {
|
|
40
45
|
method: 'PUT',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wavetemplate.js","sourceRoot":"","sources":["../../../../src/lib/analytics/template/wavetemplate.ts"],"names":[],"mappings":";;AAOA,wCAA2D;AAC3D,oCAAsC;AAetC,MAAqB,YAAY;
|
|
1
|
+
{"version":3,"file":"wavetemplate.js","sourceRoot":"","sources":["../../../../src/lib/analytics/template/wavetemplate.ts"],"names":[],"mappings":";;AAOA,wCAA2D;AAC3D,oCAAsC;AAetC,MAAqB,YAAY;IAK/B,YAAmB,YAAiB;QAClC,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC,aAAa,EAAE,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,kBAAkB,CAAC;QACnE,IAAI,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC;IACxD,CAAC;IAEM,KAAK,CAAC,KAAK,CAAC,gBAAwB,EAAE,QAAQ,GAAG,IAAI;QAC1D,MAAM,QAAQ,GAAG,MAAM,wBAAc,CAAe,IAAI,CAAC,UAAU,EAAE;YACnE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC;SACtG,CAAC,CAAC;QACH,IAAI,QAAQ,EAAE;YACZ,OAAO,QAAQ,CAAC;SACjB;aAAM;YACL,kBAAU,CAAC,QAAQ,CAAC,CAAC;SACtB;IACH,CAAC;IAEM,KAAK,CAAC,MAAM,CACjB,QAAgB,EAChB,EAAE,KAAK,EAAE,WAAW,KAA+C,EAAE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC;QACpF,MAAM,QAAQ,GAAG,MAAM,wBAAc,CAAe,IAAI,CAAC,UAAU,EAAE;YACnE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,IAAI,CAAC,YAAY;YACtB,IAAI;SACL,CAAC,CAAC;QACH,IAAI,QAAQ,EAAE;YACZ,OAAO,QAAQ,CAAC,EAAE,CAAC;SACpB;aAAM;YACL,kBAAU,CAAC,QAAQ,CAAC,CAAC;SACtB;IACH,CAAC;IAEM,KAAK,CAAC,MAAM,CACjB,QAAgB,EAChB,gBAAwB,EACxB,oBAAsC;QAEtC,MAAM,IAAI,GAA4B,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC;QACzE,IAAI,oBAAoB,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YACtD,IAAI,CAAC,YAAY,GAAG,oBAAoB,CAAC;SAC1C;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAClC,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,MAAM,wBAAc,CAAe,IAAI,CAAC,UAAU,EAAE;YACnE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,KAAK;YACV,IAAI;SACL,CAAC,CAAC;QAEH,IAAI,QAAQ,EAAE;YACZ,OAAO,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;SACjD;aAAM;YACL,kBAAU,CAAC,QAAQ,CAAC,CAAC;SACtB;IACH,CAAC;IAEM,IAAI,CAAC,QAAkB;QAC5B,IAAI,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC;QAC9B,IAAI,QAAQ,EAAE;YACZ,KAAK,IAAI,mBAAmB,CAAC;SAC9B;QAED,mHAAmH;QACnH,qCAAqC;QACrC,OAAO,uBAAa,CAAe,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC;IAEM,cAAc,CAAC,UAAkB;QACtC,OAAO,wBAAc,CAAC,IAAI,CAAC,UAAU,EAAE;YACrC,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,UAAU,CAAC;SACxD,CAAC,CAAC;IACL,CAAC;CACF;AAlFD,+BAkFC"}
|
package/messages/template.json
CHANGED
|
@@ -42,5 +42,7 @@
|
|
|
42
42
|
"displayCommandDescription": "displays a Tableau CRM template's details",
|
|
43
43
|
"displayCommandLongDescription": "Displays a Tableau CRM template's details.",
|
|
44
44
|
"displayDetailHeader": "Template Details",
|
|
45
|
-
"missingRequiredField": "Missing Required Field: templateid or templatename"
|
|
45
|
+
"missingRequiredField": "Missing Required Field: templateid or templatename",
|
|
46
|
+
"assetVersionFlagDescription": "version number for upgrading the template (available in api version 54.0)",
|
|
47
|
+
"assetVersionFlagLongDescription": "Version number for upgrading the template."
|
|
46
48
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.1","commands":{"analytics":{"id":"analytics","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"analytics:enable":{"id":"analytics:enable","description":"enable Tableau CRM","usage":"<%= command.id %> [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:enable"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"async":{"name":"async","type":"boolean","char":"a","description":"enable asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:query":{"id":"analytics:query","description":"execute a Tableau CRM query","usage":"<%= command.id %> [-f <filepath> | -q <string>] [--nomapnames] [--sql] [-t <string>] [--connector <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["sfdx analytics:query -f query.saql","sfdx analytics:query -f query.sql -t America/Denver","sfdx analytics:query -q \"...\" --sql --limit 10 -r csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"queryfile":{"name":"queryfile","type":"option","char":"f","description":"path to the file containing the query to execute"},"query":{"name":"query","type":"option","char":"q","description":"query to execute"},"nomapnames":{"name":"nomapnames","type":"boolean","description":"skip mapping dataset names in the SAQL query to ids","allowNo":false},"sql":{"name":"sql","type":"boolean","description":"execute the query as SQL","allowNo":false},"timezone":{"name":"timezone","type":"option","char":"t","description":"timezone for the query"},"connector":{"name":"connector","type":"option","description":"execute the SQL query against this external data connector id or name"},"dryrun":{"name":"dryrun","type":"boolean","description":"Show the resulting query that would be executed, but don't run it","hidden":true,"allowNo":false},"limit":{"name":"limit","type":"option","description":"maximum number of rows to include"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"}},"args":[]},"analytics:app:create":{"id":"analytics:app:create","description":"create a Tableau CRM app","usage":"<%= command.id %> [-f <filepath> | -m <string> | -t <string>] [-n <string>] [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:create -t templateid -n appname","$ sfdx analytics:app:create -m templatename","$ sfdx analytics:app:create -f path_to_json_file"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"Tableau CRM template definition file; required unless --templateid is specified"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID; required unless --definitionfile is specified"},"templatename":{"name":"templatename","type":"option","char":"m","description":"template name"},"appname":{"name":"appname","type":"option","char":"n","description":"app name"},"async":{"name":"async","type":"boolean","char":"a","description":"create app asynchronously","allowNo":false},"allevents":{"name":"allevents","type":"boolean","char":"v","description":"verbose display of all app create events","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for streaming app creation events","default":10}},"args":[]},"analytics:app:decouple":{"id":"analytics:app:decouple","description":"decouples a Tableau CRM app from a Tableau CRM template","usage":"<%= command.id %> -f <id> -t <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:decouple -f folderId -t templateId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true}},"args":[]},"analytics:app:delete":{"id":"analytics:app:delete","description":"delete Tableau CRM apps","usage":"<%= command.id %> -f <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:delete -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:app:display":{"id":"analytics:app:display","description":"displays a Tableau CRM app's details","usage":"<%= command.id %> -f <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:display -f folderId -a"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"applog":{"name":"applog","type":"boolean","char":"a","description":"specify to include app creation log details","required":false,"allowNo":false}},"args":[]},"analytics:app:list":{"id":"analytics:app:list","description":"list Tableau CRM apps","usage":"<%= command.id %> [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID"}},"args":[]},"analytics:app:update":{"id":"analytics:app:update","description":"updates a Tableau CRM app from a template","usage":"<%= command.id %> -t <id> -f <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:update -f folderId -t templateId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true}},"args":[]},"analytics:autoinstall:display":{"id":"analytics:autoinstall:display","description":"displays a Tableau CRM auto-install request details","usage":"<%= command.id %> -i <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:display -i id"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"autoinstallid":{"name":"autoinstallid","type":"option","char":"i","description":"auto-install request ID","required":true},"applog":{"name":"applog","type":"boolean","char":"a","description":"specify to include app creation log details","required":false,"allowNo":false}},"args":[]},"analytics:autoinstall:list":{"id":"analytics:autoinstall:list","description":"list Tableau CRM auto-install requests","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dashboard:list":{"id":"analytics:dashboard:list","description":"list Tableau CRM dashboards","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dashboard:update":{"id":"analytics:dashboard:update","description":"updates a Tableau CRM dashboard","usage":"<%= command.id %> -i <id> [-y <id>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:update -i dashboardId -y currentHistoryId","$ sfdx analytics:dashboard:update -i dashboardId -r"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"Dashboard ID","required":true},"currenthistoryid":{"name":"currenthistoryid","type":"option","char":"y","description":"Current History ID to display"},"removecurrenthistory":{"name":"removecurrenthistory","type":"boolean","char":"r","description":"Remove Current History ID from dashboard","allowNo":false}},"args":[]},"analytics:dataflow:list":{"id":"analytics:dataflow:list","description":"list Tableau CRM dataflows","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dataset:display":{"id":"analytics:dataset:display","description":"displays a Tableau CRM dataset's details","usage":"<%= command.id %> [-i <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:display -i datasetId","$ sfdx analytics:dataset:display -n datasetApiName"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"datasetid":{"name":"datasetid","type":"option","char":"i","description":"dataset ID"},"datasetname":{"name":"datasetname","type":"option","char":"n","description":"dataset api name"}},"args":[]},"analytics:dataset:list":{"id":"analytics:dataset:list","description":"list Tableau CRM datasets","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:lens:list":{"id":"analytics:lens:list","description":"list Tableau CRM lenses","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:lens:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:template:create":{"id":"analytics:template:create","description":"create Tableau CRM templates","usage":"<%= command.id %> -f <id> [-l <string>] [--description <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:create -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"template label"},"description":{"name":"description","type":"option","description":"template description"}},"args":[]},"analytics:template:delete":{"id":"analytics:template:delete","description":"delete Tableau CRM templates","usage":"<%= command.id %> -t <id> [--forcedelete] [--decouple] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:delete -t templateid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true},"forcedelete":{"name":"forcedelete","type":"boolean","description":"force delete the Tableau CRM template and all linked Tableau CRM apps","allowNo":false},"decouple":{"name":"decouple","type":"boolean","description":"decouple all linked Tableau CRM apps","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:template:display":{"id":"analytics:template:display","description":"displays a Tableau CRM template's details","usage":"<%= command.id %> [-t <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:display -t templateid","$ sfdx analytics:template:display -n templatename"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template name"}},"args":[]},"analytics:template:list":{"id":"analytics:template:list","description":"list Tableau CRM templates","usage":"<%= command.id %> [-a] [-e] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:list","$ sfdx analytics:template:list --includembeddedtemplates","$ sfdx analytics:template:list --includesalesforcetemplates"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"includesalesforcetemplates":{"name":"includesalesforcetemplates","type":"boolean","char":"a","description":"include salesforce templates","allowNo":false},"includembeddedtemplates":{"name":"includembeddedtemplates","type":"boolean","char":"e","description":"include EmbeddedApp templates","allowNo":false}},"args":[]},"analytics:template:update":{"id":"analytics:template:update","description":"update Tableau CRM templates","usage":"<%= command.id %> [-t <id> | -n <string>] [-f <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:update -t templateid -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template name"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID"}},"args":[]},"analytics:asset:publisher:create":{"id":"analytics:asset:publisher:create","description":"create a publisher record for the Tableau CRM asset","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:create -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true}},"args":[]},"analytics:asset:publisher:delete":{"id":"analytics:asset:publisher:delete","description":"delete a Tableau CRM asset publisher","usage":"<%= command.id %> -i <id> -a <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:delete -a assetId -i assetPublisherId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"id":{"name":"id","type":"option","char":"i","description":"Asset Publisher ID under development","required":true},"assetid":{"name":"assetid","type":"option","char":"a","description":"Asset ID under development","required":true}},"args":[]},"analytics:asset:publisher:deleteall":{"id":"analytics:asset:publisher:deleteall","description":"delete Tableau CRM asset publishers","usage":"<%= command.id %> -i <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:deleteall -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:asset:publisher:list":{"id":"analytics:asset:publisher:list","description":"list Tableau CRM asset publishers","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:list -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true}},"args":[]},"analytics:autoinstall:app:create":{"id":"analytics:autoinstall:app:create","description":"creates auto-install request to create Tableau CRM app","usage":"<%= command.id %> [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:create -t templateid","$ sfdx analytics:autoinstall:app:create -n templatename"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template api name"},"noenqueue":{"name":"noenqueue","type":"boolean","description":"do not enqueue the request","hidden":true,"allowNo":false},"async":{"name":"async","type":"boolean","char":"a","description":"create app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:autoinstall:app:delete":{"id":"analytics:autoinstall:app:delete","description":"creates auto-install request to delete Tableau CRM app","usage":"<%= command.id %> -f <id> [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:delete -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"async":{"name":"async","type":"boolean","char":"a","description":"delete app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:autoinstall:app:update":{"id":"analytics:autoinstall:app:update","description":"creates auto-install request to update Tableau CRM app","usage":"<%= command.id %> -f <id> [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:update -t templateid -f folderid","$ sfdx analytics:autoinstall:app:update -n templatename -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template api name"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"async":{"name":"async","type":"boolean","char":"a","description":"update app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:dashboard:history:list":{"id":"analytics:dashboard:history:list","description":"list history records for Tableau CRM dashboards","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:list --dashboardid <dashboardid>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"dashboard ID","required":true}},"args":[]},"analytics:dashboard:history:revert":{"id":"analytics:dashboard:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"dashboard ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dashboard history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]},"analytics:dataflow:history:list":{"id":"analytics:dataflow:history:list","description":"list history records for Tableau CRM dataflows","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:history:list --dataflowid <dataflowid> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dataflowid":{"name":"dataflowid","type":"option","char":"i","description":"dataflow ID","required":true}},"args":[]},"analytics:dataflow:history:revert":{"id":"analytics:dataflow:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:history:revert -i <dataflowid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dataflowid":{"name":"dataflowid","type":"option","char":"i","description":"dataflow ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dataflow history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]},"analytics:dataset:rows:fetch":{"id":"analytics:dataset:rows:fetch","description":"fetch the rows of a Tableau CRM dataset","usage":"<%= command.id %> [-i <id> | -n <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:rows:fetch -i datasetId","$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"datasetid":{"name":"datasetid","type":"option","char":"i","description":"dataset ID"},"datasetname":{"name":"datasetname","type":"option","char":"n","description":"dataset api name"},"limit":{"name":"limit","type":"option","description":"maximum number of rows to include"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"},"dryrun":{"name":"dryrun","type":"boolean","description":"Show the resulting query that would be executed, but don't run it","hidden":true,"allowNo":false}},"args":[]},"analytics:lens:history:list":{"id":"analytics:lens:history:list","description":"list history records for Tableau CRM lenses","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:lens:history:list --lensid <lensid> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"lensid":{"name":"lensid","type":"option","char":"i","description":"lens ID","required":true}},"args":[]},"analytics:lens:history:revert":{"id":"analytics:lens:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"lensid":{"name":"lensid","type":"option","char":"i","description":"dashboard ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dashboard history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]}}}
|
|
1
|
+
{"version":"1.0.2","commands":{"analytics":{"id":"analytics","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"analytics:enable":{"id":"analytics:enable","description":"enable Tableau CRM","usage":"<%= command.id %> [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:enable"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"async":{"name":"async","type":"boolean","char":"a","description":"enable asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:query":{"id":"analytics:query","description":"execute a Tableau CRM query","usage":"<%= command.id %> [-f <filepath> | -q <string>] [--nomapnames] [--sql] [-t <string>] [--connector <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["sfdx analytics:query -f query.saql","sfdx analytics:query -f query.sql -t America/Denver","sfdx analytics:query -q \"...\" --sql --limit 10 -r csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"queryfile":{"name":"queryfile","type":"option","char":"f","description":"path to the file containing the query to execute"},"query":{"name":"query","type":"option","char":"q","description":"query to execute"},"nomapnames":{"name":"nomapnames","type":"boolean","description":"skip mapping dataset names in the SAQL query to ids","allowNo":false},"sql":{"name":"sql","type":"boolean","description":"execute the query as SQL","allowNo":false},"timezone":{"name":"timezone","type":"option","char":"t","description":"timezone for the query"},"connector":{"name":"connector","type":"option","description":"execute the SQL query against this external data connector id or name"},"dryrun":{"name":"dryrun","type":"boolean","description":"Show the resulting query that would be executed, but don't run it","hidden":true,"allowNo":false},"limit":{"name":"limit","type":"option","description":"maximum number of rows to include"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"}},"args":[]},"analytics:app:create":{"id":"analytics:app:create","description":"create a Tableau CRM app","usage":"<%= command.id %> [-f <filepath> | -m <string> | -t <string>] [-n <string>] [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:create -t templateid -n appname","$ sfdx analytics:app:create -m templatename","$ sfdx analytics:app:create -f path_to_json_file"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"Tableau CRM template definition file; required unless --templateid is specified"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID; required unless --definitionfile is specified"},"templatename":{"name":"templatename","type":"option","char":"m","description":"template name"},"appname":{"name":"appname","type":"option","char":"n","description":"app name"},"async":{"name":"async","type":"boolean","char":"a","description":"create app asynchronously","allowNo":false},"allevents":{"name":"allevents","type":"boolean","char":"v","description":"verbose display of all app create events","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for streaming app creation events","default":10}},"args":[]},"analytics:app:decouple":{"id":"analytics:app:decouple","description":"decouples a Tableau CRM app from a Tableau CRM template","usage":"<%= command.id %> -f <id> -t <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:decouple -f folderId -t templateId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true}},"args":[]},"analytics:app:delete":{"id":"analytics:app:delete","description":"delete Tableau CRM apps","usage":"<%= command.id %> -f <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:delete -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:app:display":{"id":"analytics:app:display","description":"displays a Tableau CRM app's details","usage":"<%= command.id %> -f <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:display -f folderId -a"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"applog":{"name":"applog","type":"boolean","char":"a","description":"specify to include app creation log details","required":false,"allowNo":false}},"args":[]},"analytics:app:list":{"id":"analytics:app:list","description":"list Tableau CRM apps","usage":"<%= command.id %> [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID"}},"args":[]},"analytics:app:update":{"id":"analytics:app:update","description":"updates a Tableau CRM app from a template","usage":"<%= command.id %> -t <id> -f <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:app:update -f folderId -t templateId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true}},"args":[]},"analytics:autoinstall:display":{"id":"analytics:autoinstall:display","description":"displays a Tableau CRM auto-install request details","usage":"<%= command.id %> -i <id> [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:display -i id"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"autoinstallid":{"name":"autoinstallid","type":"option","char":"i","description":"auto-install request ID","required":true},"applog":{"name":"applog","type":"boolean","char":"a","description":"specify to include app creation log details","required":false,"allowNo":false}},"args":[]},"analytics:autoinstall:list":{"id":"analytics:autoinstall:list","description":"list Tableau CRM auto-install requests","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dashboard:list":{"id":"analytics:dashboard:list","description":"list Tableau CRM dashboards","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dashboard:update":{"id":"analytics:dashboard:update","description":"updates a Tableau CRM dashboard","usage":"<%= command.id %> -i <id> [-y <id>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:update -i dashboardId -y currentHistoryId","$ sfdx analytics:dashboard:update -i dashboardId -r"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"Dashboard ID","required":true},"currenthistoryid":{"name":"currenthistoryid","type":"option","char":"y","description":"Current History ID to display"},"removecurrenthistory":{"name":"removecurrenthistory","type":"boolean","char":"r","description":"Remove Current History ID from dashboard","allowNo":false}},"args":[]},"analytics:dataflow:list":{"id":"analytics:dataflow:list","description":"list Tableau CRM dataflows","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:dataset:display":{"id":"analytics:dataset:display","description":"displays a Tableau CRM dataset's details","usage":"<%= command.id %> [-i <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:display -i datasetId","$ sfdx analytics:dataset:display -n datasetApiName"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"datasetid":{"name":"datasetid","type":"option","char":"i","description":"dataset ID"},"datasetname":{"name":"datasetname","type":"option","char":"n","description":"dataset api name"}},"args":[]},"analytics:dataset:list":{"id":"analytics:dataset:list","description":"list Tableau CRM datasets","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:lens:list":{"id":"analytics:lens:list","description":"list Tableau CRM lenses","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:lens:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"analytics:template:create":{"id":"analytics:template:create","description":"create Tableau CRM templates","usage":"<%= command.id %> -f <id> [-l <string>] [--description <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:create -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"template label"},"description":{"name":"description","type":"option","description":"template description"}},"args":[]},"analytics:template:delete":{"id":"analytics:template:delete","description":"delete Tableau CRM templates","usage":"<%= command.id %> -t <id> [--forcedelete] [--decouple] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:delete -t templateid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID","required":true},"forcedelete":{"name":"forcedelete","type":"boolean","description":"force delete the Tableau CRM template and all linked Tableau CRM apps","allowNo":false},"decouple":{"name":"decouple","type":"boolean","description":"decouple all linked Tableau CRM apps","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:template:display":{"id":"analytics:template:display","description":"displays a Tableau CRM template's details","usage":"<%= command.id %> [-t <id> | -n <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:display -t templateid","$ sfdx analytics:template:display -n templatename"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template name"}},"args":[]},"analytics:template:list":{"id":"analytics:template:list","description":"list Tableau CRM templates","usage":"<%= command.id %> [-a] [-e] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:list","$ sfdx analytics:template:list --includembeddedtemplates","$ sfdx analytics:template:list --includesalesforcetemplates"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"includesalesforcetemplates":{"name":"includesalesforcetemplates","type":"boolean","char":"a","description":"include salesforce templates","allowNo":false},"includembeddedtemplates":{"name":"includembeddedtemplates","type":"boolean","char":"e","description":"include EmbeddedApp templates","allowNo":false}},"args":[]},"analytics:template:update":{"id":"analytics:template:update","description":"update Tableau CRM templates","usage":"<%= command.id %> [-t <id> | -n <string>] [-f <id>] [-v <integer>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:template:update -t templateid -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template name"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID"},"assetversion":{"name":"assetversion","type":"option","char":"v","description":"version number for upgrading the template (available in api version 54.0)"}},"args":[]},"analytics:asset:publisher:create":{"id":"analytics:asset:publisher:create","description":"create a publisher record for the Tableau CRM asset","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:create -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true}},"args":[]},"analytics:asset:publisher:delete":{"id":"analytics:asset:publisher:delete","description":"delete a Tableau CRM asset publisher","usage":"<%= command.id %> -i <id> -a <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:delete -a assetId -i assetPublisherId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"id":{"name":"id","type":"option","char":"i","description":"Asset Publisher ID under development","required":true},"assetid":{"name":"assetid","type":"option","char":"a","description":"Asset ID under development","required":true}},"args":[]},"analytics:asset:publisher:deleteall":{"id":"analytics:asset:publisher:deleteall","description":"delete Tableau CRM asset publishers","usage":"<%= command.id %> -i <id> [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:deleteall -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt to confirm force delete","allowNo":false}},"args":[]},"analytics:asset:publisher:list":{"id":"analytics:asset:publisher:list","description":"list Tableau CRM asset publishers","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:asset:publisher:list -i assetId"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"assetid":{"name":"assetid","type":"option","char":"i","description":"Asset ID under development","required":true}},"args":[]},"analytics:autoinstall:app:create":{"id":"analytics:autoinstall:app:create","description":"creates auto-install request to create Tableau CRM app","usage":"<%= command.id %> [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:create -t templateid","$ sfdx analytics:autoinstall:app:create -n templatename"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template api name"},"noenqueue":{"name":"noenqueue","type":"boolean","description":"do not enqueue the request","hidden":true,"allowNo":false},"async":{"name":"async","type":"boolean","char":"a","description":"create app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:autoinstall:app:delete":{"id":"analytics:autoinstall:app:delete","description":"creates auto-install request to delete Tableau CRM app","usage":"<%= command.id %> -f <id> [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:delete -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"async":{"name":"async","type":"boolean","char":"a","description":"delete app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:autoinstall:app:update":{"id":"analytics:autoinstall:app:update","description":"creates auto-install request to update Tableau CRM app","usage":"<%= command.id %> -f <id> [-t <id> | -n <string>] [-a] [-w <number>] [-p <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:autoinstall:app:update -t templateid -f folderid","$ sfdx analytics:autoinstall:app:update -n templatename -f folderid"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"templateid":{"name":"templateid","type":"option","char":"t","description":"template ID"},"templatename":{"name":"templatename","type":"option","char":"n","description":"template api name"},"folderid":{"name":"folderid","type":"option","char":"f","description":"folder ID","required":true},"async":{"name":"async","type":"boolean","char":"a","description":"update app asynchronously","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait time in minutes for auto-install request to finish","default":10},"pollinterval":{"name":"pollinterval","type":"option","char":"p","description":"polling interval in milliseconds for checking auto-install request status","default":5000}},"args":[]},"analytics:dashboard:history:list":{"id":"analytics:dashboard:history:list","description":"list history records for Tableau CRM dashboards","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:list --dashboardid <dashboardid>"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"dashboard ID","required":true}},"args":[]},"analytics:dashboard:history:revert":{"id":"analytics:dashboard:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dashboardid":{"name":"dashboardid","type":"option","char":"i","description":"dashboard ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dashboard history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]},"analytics:dataflow:history:list":{"id":"analytics:dataflow:history:list","description":"list history records for Tableau CRM dataflows","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:history:list --dataflowid <dataflowid> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dataflowid":{"name":"dataflowid","type":"option","char":"i","description":"dataflow ID","required":true}},"args":[]},"analytics:dataflow:history:revert":{"id":"analytics:dataflow:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataflow:history:revert -i <dataflowid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"dataflowid":{"name":"dataflowid","type":"option","char":"i","description":"dataflow ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dataflow history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]},"analytics:dataset:rows:fetch":{"id":"analytics:dataset:rows:fetch","description":"fetch the rows of a Tableau CRM dataset","usage":"<%= command.id %> [-i <id> | -n <string>] [--limit <number>] [-r human|csv|json] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dataset:rows:fetch -i datasetId","$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"datasetid":{"name":"datasetid","type":"option","char":"i","description":"dataset ID"},"datasetname":{"name":"datasetname","type":"option","char":"n","description":"dataset api name"},"limit":{"name":"limit","type":"option","description":"maximum number of rows to include"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"},"dryrun":{"name":"dryrun","type":"boolean","description":"Show the resulting query that would be executed, but don't run it","hidden":true,"allowNo":false}},"args":[]},"analytics:lens:history:list":{"id":"analytics:lens:history:list","description":"list history records for Tableau CRM lenses","usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:lens:history:list --lensid <lensid> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"lensid":{"name":"lensid","type":"option","char":"i","description":"lens ID","required":true}},"args":[]},"analytics:lens:history:revert":{"id":"analytics:lens:history:revert","description":"revert to specified history record","usage":"<%= command.id %> -i <id> -y <id> [-l <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/analytics","pluginType":"core","aliases":[],"examples":["$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"lensid":{"name":"lensid","type":"option","char":"i","description":"dashboard ID","required":true},"historyid":{"name":"historyid","type":"option","char":"y","description":"dashboard history ID","required":true},"label":{"name":"label","type":"option","char":"l","description":"label for new reverted history record"}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/analytics",
|
|
3
3
|
"description": "Commands for working with Tableau CRM applications, assets, and services",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/analyticsdx-vscode/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -16,30 +16,30 @@
|
|
|
16
16
|
"@oclif/plugin-command-snapshot": "^2.2.2",
|
|
17
17
|
"@salesforce/cli-plugins-testkit": "^1.1.5",
|
|
18
18
|
"@salesforce/dev-config": "^2.1.2",
|
|
19
|
-
"@salesforce/dev-scripts": "^0.9.
|
|
20
|
-
"@salesforce/plugin-command-reference": "^1.3.
|
|
19
|
+
"@salesforce/dev-scripts": "^0.9.18",
|
|
20
|
+
"@salesforce/plugin-command-reference": "^1.3.16",
|
|
21
21
|
"@salesforce/prettier-config": "^0.0.2",
|
|
22
|
-
"@salesforce/ts-sinon": "1.3.
|
|
22
|
+
"@salesforce/ts-sinon": "1.3.21",
|
|
23
23
|
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
|
24
24
|
"@typescript-eslint/parser": "^4.28.1",
|
|
25
25
|
"chai": "^4.3.4",
|
|
26
26
|
"cz-conventional-changelog": "^3.3.0",
|
|
27
|
-
"eslint": "^7.
|
|
27
|
+
"eslint": "^7.32.0",
|
|
28
28
|
"eslint-config-prettier": "^8.3.0",
|
|
29
29
|
"eslint-config-salesforce": "^0.1.6",
|
|
30
30
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
31
|
-
"eslint-config-salesforce-typescript": "^0.2.
|
|
31
|
+
"eslint-config-salesforce-typescript": "^0.2.8",
|
|
32
32
|
"eslint-plugin-header": "^3.1.1",
|
|
33
|
-
"eslint-plugin-import": "
|
|
34
|
-
"eslint-plugin-jsdoc": "^35.
|
|
35
|
-
"eslint-plugin-prettier": "^3.4.
|
|
33
|
+
"eslint-plugin-import": "2.24.2",
|
|
34
|
+
"eslint-plugin-jsdoc": "^35.5.1",
|
|
35
|
+
"eslint-plugin-prettier": "^3.4.1",
|
|
36
36
|
"husky": "^4.3.8",
|
|
37
37
|
"lint-staged": "^11.0.0",
|
|
38
38
|
"mocha": "^8.4.0",
|
|
39
39
|
"nyc": "^15.1.0",
|
|
40
|
-
"prettier": "^2.
|
|
40
|
+
"prettier": "^2.4.1",
|
|
41
41
|
"pretty-quick": "^3.1.0",
|
|
42
|
-
"shx": "0.
|
|
42
|
+
"shx": "0.3.3",
|
|
43
43
|
"sinon": "^11.1.1",
|
|
44
44
|
"ts-node": "^10.0.0",
|
|
45
45
|
"typescript": "^4.1.3"
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"access": "public"
|
|
176
176
|
},
|
|
177
177
|
"sfdx": {
|
|
178
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.0.
|
|
179
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.0.
|
|
178
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.0.2.crt",
|
|
179
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.0.2.sig"
|
|
180
180
|
}
|
|
181
181
|
}
|