@salesforce/analytics 1.0.5 → 1.0.8
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 +18 -0
- package/README.md +74 -39
- package/lib/commands/analytics/app/create.d.ts +1 -17
- package/lib/commands/analytics/app/create.js +9 -187
- package/lib/commands/analytics/app/create.js.map +1 -1
- package/lib/commands/analytics/app/update.d.ts +10 -1
- package/lib/commands/analytics/app/update.js +31 -5
- package/lib/commands/analytics/app/update.js.map +1 -1
- package/lib/commands/analytics/autoinstall/app/create.js +2 -2
- package/lib/commands/analytics/autoinstall/app/create.js.map +1 -1
- package/lib/commands/analytics/autoinstall/app/delete.js +2 -2
- package/lib/commands/analytics/autoinstall/app/delete.js.map +1 -1
- package/lib/commands/analytics/autoinstall/app/update.js +2 -2
- package/lib/commands/analytics/autoinstall/app/update.js.map +1 -1
- package/lib/commands/analytics/enable.js +2 -2
- package/lib/commands/analytics/enable.js.map +1 -1
- package/lib/commands/analytics/query.js +2 -1
- package/lib/commands/analytics/query.js.map +1 -1
- package/lib/commands/analytics/recipe/list.d.ts +17 -0
- package/lib/commands/analytics/recipe/list.js +41 -0
- package/lib/commands/analytics/recipe/list.js.map +1 -0
- package/lib/lib/analytics/constants.d.ts +2 -2
- package/lib/lib/analytics/constants.js +3 -3
- package/lib/lib/analytics/constants.js.map +1 -1
- package/lib/lib/analytics/event/appStreaming.d.ts +30 -0
- package/lib/lib/analytics/event/appStreaming.js +234 -0
- package/lib/lib/analytics/event/appStreaming.js.map +1 -0
- package/lib/lib/analytics/recipe/recipe.d.ts +14 -0
- package/lib/lib/analytics/recipe/recipe.js +20 -0
- package/lib/lib/analytics/recipe/recipe.js.map +1 -0
- package/messages/app.json +3 -0
- package/messages/recipe.json +5 -0
- package/oclif.manifest.json +1 -1
- package/package.json +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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.8](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.7...v1.0.8) (2022-05-12)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- add recipe list W-11137246 ([#117](https://github.com/salesforcecli/plugin-analytics/issues/117)) ([5833dff](https://github.com/salesforcecli/plugin-analytics/commit/5833dff66750dfcc1cb96e68be7079cae81b6cb6))
|
|
10
|
+
|
|
11
|
+
### [1.0.7](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.6...v1.0.7) (2022-04-25)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- stream app update W-10942900 ([#106](https://github.com/salesforcecli/plugin-analytics/issues/106)) ([b417cf1](https://github.com/salesforcecli/plugin-analytics/commit/b417cf17feefb649af4bee46fbff24c6b71e9b91))
|
|
16
|
+
|
|
17
|
+
### [1.0.6](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.5...v1.0.6) (2022-04-13)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- add back -h support ([#104](https://github.com/salesforcecli/plugin-analytics/issues/104)) ([bf753e2](https://github.com/salesforcecli/plugin-analytics/commit/bf753e23dad3e1337977f036a6e26c49d5684a1d))
|
|
22
|
+
|
|
5
23
|
### [1.0.5](https://github.com/salesforcecli/plugin-analytics/compare/v1.0.3...v1.0.5) (2022-04-06)
|
|
6
24
|
|
|
7
25
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ sfdx plugins
|
|
|
87
87
|
- [`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]`](#sfdx-analyticsappdelete--f-id--p--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
88
88
|
- [`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]`](#sfdx-analyticsappdisplay--f-id--a--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
89
89
|
- [`sfdx analytics:app:list [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticsapplist--f-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
90
|
-
- [`sfdx analytics:app:update -t <
|
|
90
|
+
- [`sfdx analytics:app:update -t <string> -f <id> [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticsappupdate--t-string--f-id--a--v--w-number--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
91
91
|
- [`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]`](#sfdx-analyticsassetpublishercreate--i-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
92
92
|
- [`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]`](#sfdx-analyticsassetpublisherdelete--i-id--a-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
93
93
|
- [`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]`](#sfdx-analyticsassetpublisherdeleteall--i-id--p--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
@@ -112,6 +112,7 @@ sfdx plugins
|
|
|
112
112
|
- [`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]`](#sfdx-analyticslenshistoryrevert--i-id--y-id--l-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
113
113
|
- [`sfdx analytics:lens:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticslenslist--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
114
114
|
- [`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]`](#sfdx-analyticsquery--f-filepath---q-string---nomapnames---sql--t-string---connector-string---limit-number--r-humancsvjson--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
115
|
+
- [`sfdx analytics:recipe:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-analyticsrecipelist--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
115
116
|
- [`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]`](#sfdx-analyticstemplatecreate--f-id--l-string---description-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
116
117
|
- [`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)
|
|
117
118
|
- [`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)
|
|
@@ -165,7 +166,7 @@ EXAMPLES
|
|
|
165
166
|
$ sfdx analytics:app:create -f path_to_json_file
|
|
166
167
|
```
|
|
167
168
|
|
|
168
|
-
_See code: [src/commands/analytics/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
169
|
+
_See code: [src/commands/analytics/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/create.ts)_
|
|
169
170
|
|
|
170
171
|
## `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]`
|
|
171
172
|
|
|
@@ -195,7 +196,7 @@ EXAMPLE
|
|
|
195
196
|
$ sfdx analytics:app:decouple -f folderId -t templateId
|
|
196
197
|
```
|
|
197
198
|
|
|
198
|
-
_See code: [src/commands/analytics/app/decouple.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
199
|
+
_See code: [src/commands/analytics/app/decouple.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/decouple.ts)_
|
|
199
200
|
|
|
200
201
|
## `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]`
|
|
201
202
|
|
|
@@ -227,7 +228,7 @@ EXAMPLE
|
|
|
227
228
|
$ sfdx analytics:app:delete -f folderid
|
|
228
229
|
```
|
|
229
230
|
|
|
230
|
-
_See code: [src/commands/analytics/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
231
|
+
_See code: [src/commands/analytics/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/delete.ts)_
|
|
231
232
|
|
|
232
233
|
## `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]`
|
|
233
234
|
|
|
@@ -259,7 +260,7 @@ EXAMPLE
|
|
|
259
260
|
$ sfdx analytics:app:display -f folderId -a
|
|
260
261
|
```
|
|
261
262
|
|
|
262
|
-
_See code: [src/commands/analytics/app/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
263
|
+
_See code: [src/commands/analytics/app/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/display.ts)_
|
|
263
264
|
|
|
264
265
|
## `sfdx analytics:app:list [-f <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
265
266
|
|
|
@@ -288,24 +289,31 @@ EXAMPLE
|
|
|
288
289
|
$ sfdx analytics:app:list
|
|
289
290
|
```
|
|
290
291
|
|
|
291
|
-
_See code: [src/commands/analytics/app/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
292
|
+
_See code: [src/commands/analytics/app/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/list.ts)_
|
|
292
293
|
|
|
293
|
-
## `sfdx analytics:app:update -t <
|
|
294
|
+
## `sfdx analytics:app:update -t <string> -f <id> [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
294
295
|
|
|
295
296
|
updates a Tableau CRM app from a template
|
|
296
297
|
|
|
297
298
|
```
|
|
298
299
|
USAGE
|
|
299
|
-
$ sfdx analytics:app:update -t <
|
|
300
|
-
|
|
300
|
+
$ sfdx analytics:app:update -t <string> -f <id> [-a] [-v] [-w <number>] [-u <string>] [--apiversion <string>] [--json]
|
|
301
|
+
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
301
302
|
|
|
302
303
|
OPTIONS
|
|
304
|
+
-a, --async update app asynchronously
|
|
303
305
|
-f, --folderid=folderid (required) folder ID
|
|
304
306
|
-t, --templateid=templateid (required) template ID
|
|
305
307
|
|
|
306
308
|
-u, --targetusername=targetusername username or alias for the target
|
|
307
309
|
org; overrides default target org
|
|
308
310
|
|
|
311
|
+
-v, --allevents verbose display of all app create
|
|
312
|
+
events
|
|
313
|
+
|
|
314
|
+
-w, --wait=wait [default: 10] wait time in minutes
|
|
315
|
+
for streaming app creation events
|
|
316
|
+
|
|
309
317
|
--apiversion=apiversion override the api version used for
|
|
310
318
|
api requests made by this command
|
|
311
319
|
|
|
@@ -318,7 +326,7 @@ EXAMPLE
|
|
|
318
326
|
$ sfdx analytics:app:update -f folderId -t templateId
|
|
319
327
|
```
|
|
320
328
|
|
|
321
|
-
_See code: [src/commands/analytics/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
329
|
+
_See code: [src/commands/analytics/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/app/update.ts)_
|
|
322
330
|
|
|
323
331
|
## `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]`
|
|
324
332
|
|
|
@@ -348,7 +356,7 @@ EXAMPLE
|
|
|
348
356
|
$ sfdx analytics:asset:publisher:create -i assetId
|
|
349
357
|
```
|
|
350
358
|
|
|
351
|
-
_See code: [src/commands/analytics/asset/publisher/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
359
|
+
_See code: [src/commands/analytics/asset/publisher/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/asset/publisher/create.ts)_
|
|
352
360
|
|
|
353
361
|
## `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]`
|
|
354
362
|
|
|
@@ -381,7 +389,7 @@ EXAMPLE
|
|
|
381
389
|
$ sfdx analytics:asset:publisher:delete -a assetId -i assetPublisherId
|
|
382
390
|
```
|
|
383
391
|
|
|
384
|
-
_See code: [src/commands/analytics/asset/publisher/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
392
|
+
_See code: [src/commands/analytics/asset/publisher/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/asset/publisher/delete.ts)_
|
|
385
393
|
|
|
386
394
|
## `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]`
|
|
387
395
|
|
|
@@ -414,7 +422,7 @@ EXAMPLE
|
|
|
414
422
|
$ sfdx analytics:asset:publisher:deleteall -i assetId
|
|
415
423
|
```
|
|
416
424
|
|
|
417
|
-
_See code: [src/commands/analytics/asset/publisher/deleteall.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
425
|
+
_See code: [src/commands/analytics/asset/publisher/deleteall.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/asset/publisher/deleteall.ts)_
|
|
418
426
|
|
|
419
427
|
## `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]`
|
|
420
428
|
|
|
@@ -444,7 +452,7 @@ EXAMPLE
|
|
|
444
452
|
$ sfdx analytics:asset:publisher:list -i assetId
|
|
445
453
|
```
|
|
446
454
|
|
|
447
|
-
_See code: [src/commands/analytics/asset/publisher/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
455
|
+
_See code: [src/commands/analytics/asset/publisher/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/asset/publisher/list.ts)_
|
|
448
456
|
|
|
449
457
|
## `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]`
|
|
450
458
|
|
|
@@ -484,7 +492,7 @@ EXAMPLES
|
|
|
484
492
|
$ sfdx analytics:autoinstall:app:create -n templatename
|
|
485
493
|
```
|
|
486
494
|
|
|
487
|
-
_See code: [src/commands/analytics/autoinstall/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
495
|
+
_See code: [src/commands/analytics/autoinstall/app/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/autoinstall/app/create.ts)_
|
|
488
496
|
|
|
489
497
|
## `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]`
|
|
490
498
|
|
|
@@ -521,7 +529,7 @@ EXAMPLE
|
|
|
521
529
|
$ sfdx analytics:autoinstall:app:delete -f folderid
|
|
522
530
|
```
|
|
523
531
|
|
|
524
|
-
_See code: [src/commands/analytics/autoinstall/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
532
|
+
_See code: [src/commands/analytics/autoinstall/app/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/autoinstall/app/delete.ts)_
|
|
525
533
|
|
|
526
534
|
## `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]`
|
|
527
535
|
|
|
@@ -562,7 +570,7 @@ EXAMPLES
|
|
|
562
570
|
$ sfdx analytics:autoinstall:app:update -n templatename -f folderid
|
|
563
571
|
```
|
|
564
572
|
|
|
565
|
-
_See code: [src/commands/analytics/autoinstall/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
573
|
+
_See code: [src/commands/analytics/autoinstall/app/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/autoinstall/app/update.ts)_
|
|
566
574
|
|
|
567
575
|
## `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]`
|
|
568
576
|
|
|
@@ -594,7 +602,7 @@ EXAMPLE
|
|
|
594
602
|
$ sfdx analytics:autoinstall:display -i id
|
|
595
603
|
```
|
|
596
604
|
|
|
597
|
-
_See code: [src/commands/analytics/autoinstall/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
605
|
+
_See code: [src/commands/analytics/autoinstall/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/autoinstall/display.ts)_
|
|
598
606
|
|
|
599
607
|
## `sfdx analytics:autoinstall:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
600
608
|
|
|
@@ -621,7 +629,7 @@ EXAMPLE
|
|
|
621
629
|
$ sfdx analytics:autoinstall:list
|
|
622
630
|
```
|
|
623
631
|
|
|
624
|
-
_See code: [src/commands/analytics/autoinstall/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
632
|
+
_See code: [src/commands/analytics/autoinstall/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/autoinstall/list.ts)_
|
|
625
633
|
|
|
626
634
|
## `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]`
|
|
627
635
|
|
|
@@ -650,7 +658,7 @@ EXAMPLE
|
|
|
650
658
|
$ sfdx analytics:dashboard:history:list --dashboardid <dashboardid>
|
|
651
659
|
```
|
|
652
660
|
|
|
653
|
-
_See code: [src/commands/analytics/dashboard/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
661
|
+
_See code: [src/commands/analytics/dashboard/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dashboard/history/list.ts)_
|
|
654
662
|
|
|
655
663
|
## `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]`
|
|
656
664
|
|
|
@@ -684,7 +692,7 @@ EXAMPLE
|
|
|
684
692
|
$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel>
|
|
685
693
|
```
|
|
686
694
|
|
|
687
|
-
_See code: [src/commands/analytics/dashboard/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
695
|
+
_See code: [src/commands/analytics/dashboard/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dashboard/history/revert.ts)_
|
|
688
696
|
|
|
689
697
|
## `sfdx analytics:dashboard:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
690
698
|
|
|
@@ -711,7 +719,7 @@ EXAMPLE
|
|
|
711
719
|
$ sfdx analytics:dashboard:list
|
|
712
720
|
```
|
|
713
721
|
|
|
714
|
-
_See code: [src/commands/analytics/dashboard/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
722
|
+
_See code: [src/commands/analytics/dashboard/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dashboard/list.ts)_
|
|
715
723
|
|
|
716
724
|
## `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]`
|
|
717
725
|
|
|
@@ -746,7 +754,7 @@ EXAMPLES
|
|
|
746
754
|
$ sfdx analytics:dashboard:update -i dashboardId -r
|
|
747
755
|
```
|
|
748
756
|
|
|
749
|
-
_See code: [src/commands/analytics/dashboard/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
757
|
+
_See code: [src/commands/analytics/dashboard/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dashboard/update.ts)_
|
|
750
758
|
|
|
751
759
|
## `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]`
|
|
752
760
|
|
|
@@ -775,7 +783,7 @@ EXAMPLE
|
|
|
775
783
|
$ sfdx analytics:dataflow:history:list --dataflowid <dataflowid>
|
|
776
784
|
```
|
|
777
785
|
|
|
778
|
-
_See code: [src/commands/analytics/dataflow/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
786
|
+
_See code: [src/commands/analytics/dataflow/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataflow/history/list.ts)_
|
|
779
787
|
|
|
780
788
|
## `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]`
|
|
781
789
|
|
|
@@ -809,7 +817,7 @@ EXAMPLE
|
|
|
809
817
|
$ sfdx analytics:dataflow:history:revert -i <dataflowid> -y <historyid> -l <historyLabel>
|
|
810
818
|
```
|
|
811
819
|
|
|
812
|
-
_See code: [src/commands/analytics/dataflow/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
820
|
+
_See code: [src/commands/analytics/dataflow/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataflow/history/revert.ts)_
|
|
813
821
|
|
|
814
822
|
## `sfdx analytics:dataflow:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
815
823
|
|
|
@@ -836,7 +844,7 @@ EXAMPLE
|
|
|
836
844
|
$ sfdx analytics:dataflow:list
|
|
837
845
|
```
|
|
838
846
|
|
|
839
|
-
_See code: [src/commands/analytics/dataflow/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
847
|
+
_See code: [src/commands/analytics/dataflow/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataflow/list.ts)_
|
|
840
848
|
|
|
841
849
|
## `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]`
|
|
842
850
|
|
|
@@ -867,7 +875,7 @@ EXAMPLES
|
|
|
867
875
|
$ sfdx analytics:dataset:display -n datasetApiName
|
|
868
876
|
```
|
|
869
877
|
|
|
870
|
-
_See code: [src/commands/analytics/dataset/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
878
|
+
_See code: [src/commands/analytics/dataset/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataset/display.ts)_
|
|
871
879
|
|
|
872
880
|
## `sfdx analytics:dataset:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
873
881
|
|
|
@@ -894,7 +902,7 @@ EXAMPLE
|
|
|
894
902
|
$ sfdx analytics:dataset:list
|
|
895
903
|
```
|
|
896
904
|
|
|
897
|
-
_See code: [src/commands/analytics/dataset/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
905
|
+
_See code: [src/commands/analytics/dataset/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataset/list.ts)_
|
|
898
906
|
|
|
899
907
|
## `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]`
|
|
900
908
|
|
|
@@ -930,7 +938,7 @@ EXAMPLES
|
|
|
930
938
|
$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv
|
|
931
939
|
```
|
|
932
940
|
|
|
933
|
-
_See code: [src/commands/analytics/dataset/rows/fetch.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
941
|
+
_See code: [src/commands/analytics/dataset/rows/fetch.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/dataset/rows/fetch.ts)_
|
|
934
942
|
|
|
935
943
|
## `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]`
|
|
936
944
|
|
|
@@ -966,7 +974,7 @@ EXAMPLE
|
|
|
966
974
|
$ sfdx analytics:enable
|
|
967
975
|
```
|
|
968
976
|
|
|
969
|
-
_See code: [src/commands/analytics/enable.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
977
|
+
_See code: [src/commands/analytics/enable.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/enable.ts)_
|
|
970
978
|
|
|
971
979
|
## `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]`
|
|
972
980
|
|
|
@@ -995,7 +1003,7 @@ EXAMPLE
|
|
|
995
1003
|
$ sfdx analytics:lens:history:list --lensid <lensid>
|
|
996
1004
|
```
|
|
997
1005
|
|
|
998
|
-
_See code: [src/commands/analytics/lens/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1006
|
+
_See code: [src/commands/analytics/lens/history/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/lens/history/list.ts)_
|
|
999
1007
|
|
|
1000
1008
|
## `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]`
|
|
1001
1009
|
|
|
@@ -1029,7 +1037,7 @@ EXAMPLE
|
|
|
1029
1037
|
$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel>
|
|
1030
1038
|
```
|
|
1031
1039
|
|
|
1032
|
-
_See code: [src/commands/analytics/lens/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1040
|
+
_See code: [src/commands/analytics/lens/history/revert.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/lens/history/revert.ts)_
|
|
1033
1041
|
|
|
1034
1042
|
## `sfdx analytics:lens:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1035
1043
|
|
|
@@ -1056,7 +1064,7 @@ EXAMPLE
|
|
|
1056
1064
|
$ sfdx analytics:lens:list
|
|
1057
1065
|
```
|
|
1058
1066
|
|
|
1059
|
-
_See code: [src/commands/analytics/lens/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1067
|
+
_See code: [src/commands/analytics/lens/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/lens/list.ts)_
|
|
1060
1068
|
|
|
1061
1069
|
## `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]`
|
|
1062
1070
|
|
|
@@ -1106,7 +1114,34 @@ EXAMPLES
|
|
|
1106
1114
|
sfdx analytics:query -q "..." --sql --limit 10 -r csv
|
|
1107
1115
|
```
|
|
1108
1116
|
|
|
1109
|
-
_See code: [src/commands/analytics/query.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1117
|
+
_See code: [src/commands/analytics/query.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/query.ts)_
|
|
1118
|
+
|
|
1119
|
+
## `sfdx analytics:recipe:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1120
|
+
|
|
1121
|
+
list Tableau CRM recipes
|
|
1122
|
+
|
|
1123
|
+
```
|
|
1124
|
+
USAGE
|
|
1125
|
+
$ sfdx analytics:recipe:list [-u <string>] [--apiversion <string>] [--json] [--loglevel
|
|
1126
|
+
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
1127
|
+
|
|
1128
|
+
OPTIONS
|
|
1129
|
+
-u, --targetusername=targetusername username or alias for the target
|
|
1130
|
+
org; overrides default target org
|
|
1131
|
+
|
|
1132
|
+
--apiversion=apiversion override the api version used for
|
|
1133
|
+
api requests made by this command
|
|
1134
|
+
|
|
1135
|
+
--json format output as json
|
|
1136
|
+
|
|
1137
|
+
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
1138
|
+
this command invocation
|
|
1139
|
+
|
|
1140
|
+
EXAMPLE
|
|
1141
|
+
$ sfdx analytics:recipe:list
|
|
1142
|
+
```
|
|
1143
|
+
|
|
1144
|
+
_See code: [src/commands/analytics/recipe/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/recipe/list.ts)_
|
|
1110
1145
|
|
|
1111
1146
|
## `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]`
|
|
1112
1147
|
|
|
@@ -1138,7 +1173,7 @@ EXAMPLE
|
|
|
1138
1173
|
$ sfdx analytics:template:create -f folderid
|
|
1139
1174
|
```
|
|
1140
1175
|
|
|
1141
|
-
_See code: [src/commands/analytics/template/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1176
|
+
_See code: [src/commands/analytics/template/create.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/template/create.ts)_
|
|
1142
1177
|
|
|
1143
1178
|
## `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]`
|
|
1144
1179
|
|
|
@@ -1176,7 +1211,7 @@ EXAMPLE
|
|
|
1176
1211
|
$ sfdx analytics:template:delete -t templateid
|
|
1177
1212
|
```
|
|
1178
1213
|
|
|
1179
|
-
_See code: [src/commands/analytics/template/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1214
|
+
_See code: [src/commands/analytics/template/delete.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/template/delete.ts)_
|
|
1180
1215
|
|
|
1181
1216
|
## `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]`
|
|
1182
1217
|
|
|
@@ -1207,7 +1242,7 @@ EXAMPLES
|
|
|
1207
1242
|
$ sfdx analytics:template:display -n templatename
|
|
1208
1243
|
```
|
|
1209
1244
|
|
|
1210
|
-
_See code: [src/commands/analytics/template/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1245
|
+
_See code: [src/commands/analytics/template/display.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/template/display.ts)_
|
|
1211
1246
|
|
|
1212
1247
|
## `sfdx analytics:template:list [-a] [-e] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1213
1248
|
|
|
@@ -1239,7 +1274,7 @@ EXAMPLES
|
|
|
1239
1274
|
$ sfdx analytics:template:list --includesalesforcetemplates
|
|
1240
1275
|
```
|
|
1241
1276
|
|
|
1242
|
-
_See code: [src/commands/analytics/template/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1277
|
+
_See code: [src/commands/analytics/template/list.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/template/list.ts)_
|
|
1243
1278
|
|
|
1244
1279
|
## `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]`
|
|
1245
1280
|
|
|
@@ -1274,6 +1309,6 @@ EXAMPLE
|
|
|
1274
1309
|
$ sfdx analytics:template:update -t templateid -f folderid
|
|
1275
1310
|
```
|
|
1276
1311
|
|
|
1277
|
-
_See code: [src/commands/analytics/template/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.
|
|
1312
|
+
_See code: [src/commands/analytics/template/update.ts](https://github.com/salesforcecli/plugin-analytics/blob/v1.0.7/src/commands/analytics/template/update.ts)_
|
|
1278
1313
|
|
|
1279
1314
|
<!-- commandsstop -->
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { flags, SfdxCommand } from '@salesforce/command';
|
|
2
|
-
declare type StreamingResult = {
|
|
3
|
-
EventType: string;
|
|
4
|
-
Status: string;
|
|
5
|
-
Index: number;
|
|
6
|
-
Total: number;
|
|
7
|
-
ItemLabel: string;
|
|
8
|
-
Message: string;
|
|
9
|
-
};
|
|
10
2
|
export default class Create extends SfdxCommand {
|
|
11
3
|
static description: string;
|
|
12
4
|
static longDescription: string;
|
|
@@ -22,20 +14,12 @@ export default class Create extends SfdxCommand {
|
|
|
22
14
|
};
|
|
23
15
|
protected static requiresUsername: boolean;
|
|
24
16
|
protected static requiresProject: boolean;
|
|
25
|
-
streamingResults: StreamingResult[];
|
|
26
17
|
run(): Promise<{
|
|
27
18
|
id: string | undefined;
|
|
28
19
|
events?: undefined;
|
|
29
20
|
} | {
|
|
30
21
|
id: string | undefined;
|
|
31
|
-
events: StreamingResult[];
|
|
22
|
+
events: import("../../../lib/analytics/event/appStreaming").StreamingResult[];
|
|
32
23
|
}>;
|
|
33
24
|
private generateCreateAppBody;
|
|
34
|
-
private streamEvent;
|
|
35
|
-
private createApp;
|
|
36
|
-
private streamProcessor;
|
|
37
|
-
private getStreamResultMark;
|
|
38
|
-
private logEvent;
|
|
39
|
-
private createEventJson;
|
|
40
25
|
}
|
|
41
|
-
export {};
|