@salesforce/analytics 1.4.41 → 1.4.42

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.
@@ -1480,13 +1480,12 @@
1480
1480
  "update.js"
1481
1481
  ]
1482
1482
  },
1483
- "analytics:dataset:display": {
1483
+ "analytics:lens:list": {
1484
1484
  "aliases": [],
1485
1485
  "args": {},
1486
- "description": "Displays a Analytics dataset's details.",
1486
+ "description": "Lists Analytics lenses in the specified target org.",
1487
1487
  "examples": [
1488
- "$ sfdx analytics:dataset:display -i datasetId",
1489
- "$ sfdx analytics:dataset:display -n datasetApiName"
1488
+ "$ sfdx analytics:lens:list"
1490
1489
  ],
1491
1490
  "flags": {
1492
1491
  "json": {
@@ -1531,56 +1530,32 @@
1531
1530
  "hasDynamicHelp": false,
1532
1531
  "multiple": false,
1533
1532
  "type": "option"
1534
- },
1535
- "datasetid": {
1536
- "char": "i",
1537
- "description": "Dataset ID.",
1538
- "exclusive": [
1539
- "datasetname"
1540
- ],
1541
- "name": "datasetid",
1542
- "summary": "dataset ID",
1543
- "hasDynamicHelp": false,
1544
- "multiple": false,
1545
- "type": "option"
1546
- },
1547
- "datasetname": {
1548
- "char": "n",
1549
- "description": "Dataset api name.",
1550
- "exclusive": [
1551
- "datasetid"
1552
- ],
1553
- "name": "datasetname",
1554
- "summary": "dataset api name",
1555
- "hasDynamicHelp": false,
1556
- "multiple": false,
1557
- "type": "option"
1558
1533
  }
1559
1534
  },
1560
1535
  "hasDynamicHelp": true,
1561
1536
  "hiddenAliases": [],
1562
- "id": "analytics:dataset:display",
1537
+ "id": "analytics:lens:list",
1563
1538
  "pluginAlias": "@salesforce/analytics",
1564
1539
  "pluginName": "@salesforce/analytics",
1565
1540
  "pluginType": "core",
1566
1541
  "strict": true,
1567
- "summary": "displays a Analytics dataset's details",
1542
+ "summary": "list Analytics lenses",
1568
1543
  "enableJsonFlag": true,
1569
1544
  "isESM": true,
1570
1545
  "relativePath": [
1571
1546
  "lib",
1572
1547
  "commands",
1573
1548
  "analytics",
1574
- "dataset",
1575
- "display.js"
1549
+ "lens",
1550
+ "list.js"
1576
1551
  ]
1577
1552
  },
1578
- "analytics:dataset:list": {
1553
+ "analytics:recipe:list": {
1579
1554
  "aliases": [],
1580
1555
  "args": {},
1581
- "description": "Lists Analytics datasets in the specified target org.",
1556
+ "description": "Lists Data Prep recipes in the specified target org.",
1582
1557
  "examples": [
1583
- "$ sfdx analytics:dataset:list"
1558
+ "$ sfdx analytics:recipe:list"
1584
1559
  ],
1585
1560
  "flags": {
1586
1561
  "json": {
@@ -1629,28 +1604,28 @@
1629
1604
  },
1630
1605
  "hasDynamicHelp": true,
1631
1606
  "hiddenAliases": [],
1632
- "id": "analytics:dataset:list",
1607
+ "id": "analytics:recipe:list",
1633
1608
  "pluginAlias": "@salesforce/analytics",
1634
1609
  "pluginName": "@salesforce/analytics",
1635
1610
  "pluginType": "core",
1636
1611
  "strict": true,
1637
- "summary": "list Analytics datasets",
1612
+ "summary": "list Data Prep recipes",
1638
1613
  "enableJsonFlag": true,
1639
1614
  "isESM": true,
1640
1615
  "relativePath": [
1641
1616
  "lib",
1642
1617
  "commands",
1643
1618
  "analytics",
1644
- "dataset",
1619
+ "recipe",
1645
1620
  "list.js"
1646
1621
  ]
1647
1622
  },
1648
- "analytics:lens:list": {
1623
+ "analytics:recipe:start": {
1649
1624
  "aliases": [],
1650
1625
  "args": {},
1651
- "description": "Lists Analytics lenses in the specified target org.",
1626
+ "description": "Start a Data Prep recipe in the specified target org.",
1652
1627
  "examples": [
1653
- "$ sfdx analytics:lens:list"
1628
+ "$ sfdx analytics:recipe:start --recipeid <recipeid>"
1654
1629
  ],
1655
1630
  "flags": {
1656
1631
  "json": {
@@ -1695,32 +1670,43 @@
1695
1670
  "hasDynamicHelp": false,
1696
1671
  "multiple": false,
1697
1672
  "type": "option"
1673
+ },
1674
+ "recipeid": {
1675
+ "char": "i",
1676
+ "description": "The ID of the recipe to update.",
1677
+ "name": "recipeid",
1678
+ "required": true,
1679
+ "summary": "recipe ID",
1680
+ "hasDynamicHelp": false,
1681
+ "multiple": false,
1682
+ "type": "option"
1698
1683
  }
1699
1684
  },
1700
1685
  "hasDynamicHelp": true,
1701
1686
  "hiddenAliases": [],
1702
- "id": "analytics:lens:list",
1687
+ "id": "analytics:recipe:start",
1703
1688
  "pluginAlias": "@salesforce/analytics",
1704
1689
  "pluginName": "@salesforce/analytics",
1705
1690
  "pluginType": "core",
1706
1691
  "strict": true,
1707
- "summary": "list Analytics lenses",
1692
+ "summary": "start Data Prep recipes",
1708
1693
  "enableJsonFlag": true,
1709
1694
  "isESM": true,
1710
1695
  "relativePath": [
1711
1696
  "lib",
1712
1697
  "commands",
1713
1698
  "analytics",
1714
- "lens",
1715
- "list.js"
1699
+ "recipe",
1700
+ "start.js"
1716
1701
  ]
1717
1702
  },
1718
- "analytics:recipe:list": {
1703
+ "analytics:dataset:display": {
1719
1704
  "aliases": [],
1720
1705
  "args": {},
1721
- "description": "Lists Data Prep recipes in the specified target org.",
1706
+ "description": "Displays a Analytics dataset's details.",
1722
1707
  "examples": [
1723
- "$ sfdx analytics:recipe:list"
1708
+ "$ sfdx analytics:dataset:display -i datasetId",
1709
+ "$ sfdx analytics:dataset:display -n datasetApiName"
1724
1710
  ],
1725
1711
  "flags": {
1726
1712
  "json": {
@@ -1765,32 +1751,56 @@
1765
1751
  "hasDynamicHelp": false,
1766
1752
  "multiple": false,
1767
1753
  "type": "option"
1754
+ },
1755
+ "datasetid": {
1756
+ "char": "i",
1757
+ "description": "Dataset ID.",
1758
+ "exclusive": [
1759
+ "datasetname"
1760
+ ],
1761
+ "name": "datasetid",
1762
+ "summary": "dataset ID",
1763
+ "hasDynamicHelp": false,
1764
+ "multiple": false,
1765
+ "type": "option"
1766
+ },
1767
+ "datasetname": {
1768
+ "char": "n",
1769
+ "description": "Dataset api name.",
1770
+ "exclusive": [
1771
+ "datasetid"
1772
+ ],
1773
+ "name": "datasetname",
1774
+ "summary": "dataset api name",
1775
+ "hasDynamicHelp": false,
1776
+ "multiple": false,
1777
+ "type": "option"
1768
1778
  }
1769
1779
  },
1770
1780
  "hasDynamicHelp": true,
1771
1781
  "hiddenAliases": [],
1772
- "id": "analytics:recipe:list",
1782
+ "id": "analytics:dataset:display",
1773
1783
  "pluginAlias": "@salesforce/analytics",
1774
1784
  "pluginName": "@salesforce/analytics",
1775
1785
  "pluginType": "core",
1776
1786
  "strict": true,
1777
- "summary": "list Data Prep recipes",
1787
+ "summary": "displays a Analytics dataset's details",
1778
1788
  "enableJsonFlag": true,
1779
1789
  "isESM": true,
1780
1790
  "relativePath": [
1781
1791
  "lib",
1782
1792
  "commands",
1783
1793
  "analytics",
1784
- "recipe",
1785
- "list.js"
1794
+ "dataset",
1795
+ "display.js"
1786
1796
  ]
1787
1797
  },
1788
- "analytics:recipe:start": {
1798
+ "analytics:dataset:list": {
1789
1799
  "aliases": [],
1790
1800
  "args": {},
1791
- "description": "Start a Data Prep recipe in the specified target org.",
1801
+ "description": "Lists Analytics datasets in the specified target org.",
1792
1802
  "examples": [
1793
- "$ sfdx analytics:recipe:start --recipeid <recipeid>"
1803
+ "$ sfdx analytics:dataset:list"
1794
1804
  ],
1795
1805
  "flags": {
1796
1806
  "json": {
@@ -1835,34 +1845,24 @@
1835
1845
  "hasDynamicHelp": false,
1836
1846
  "multiple": false,
1837
1847
  "type": "option"
1838
- },
1839
- "recipeid": {
1840
- "char": "i",
1841
- "description": "The ID of the recipe to update.",
1842
- "name": "recipeid",
1843
- "required": true,
1844
- "summary": "recipe ID",
1845
- "hasDynamicHelp": false,
1846
- "multiple": false,
1847
- "type": "option"
1848
1848
  }
1849
1849
  },
1850
1850
  "hasDynamicHelp": true,
1851
1851
  "hiddenAliases": [],
1852
- "id": "analytics:recipe:start",
1852
+ "id": "analytics:dataset:list",
1853
1853
  "pluginAlias": "@salesforce/analytics",
1854
1854
  "pluginName": "@salesforce/analytics",
1855
1855
  "pluginType": "core",
1856
1856
  "strict": true,
1857
- "summary": "start Data Prep recipes",
1857
+ "summary": "list Analytics datasets",
1858
1858
  "enableJsonFlag": true,
1859
1859
  "isESM": true,
1860
1860
  "relativePath": [
1861
1861
  "lib",
1862
1862
  "commands",
1863
1863
  "analytics",
1864
- "recipe",
1865
- "start.js"
1864
+ "dataset",
1865
+ "list.js"
1866
1866
  ]
1867
1867
  },
1868
1868
  "analytics:template:create": {
@@ -4054,13 +4054,12 @@
4054
4054
  "stop.js"
4055
4055
  ]
4056
4056
  },
4057
- "analytics:dataset:rows:fetch": {
4057
+ "analytics:lens:history:list": {
4058
4058
  "aliases": [],
4059
4059
  "args": {},
4060
- "description": "fetch the rows of a Analytics dataset.",
4060
+ "description": "Lists history records for Analytics lenses in the specified target org.",
4061
4061
  "examples": [
4062
- "$ sfdx analytics:dataset:rows:fetch -i datasetId",
4063
- "$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv"
4062
+ "$ sfdx analytics:lens:history:list --lensid <lensid> "
4064
4063
  ],
4065
4064
  "flags": {
4066
4065
  "json": {
@@ -4106,86 +4105,42 @@
4106
4105
  "multiple": false,
4107
4106
  "type": "option"
4108
4107
  },
4109
- "datasetid": {
4108
+ "lensid": {
4110
4109
  "char": "i",
4111
- "description": "Dataset ID.",
4112
- "exclusive": [
4113
- "datasetname"
4114
- ],
4115
- "name": "datasetid",
4116
- "summary": "dataset ID",
4117
- "hasDynamicHelp": false,
4118
- "multiple": false,
4119
- "type": "option"
4120
- },
4121
- "datasetname": {
4122
- "char": "n",
4123
- "description": "Dataset api name.",
4124
- "exclusive": [
4125
- "datasetid"
4126
- ],
4127
- "name": "datasetname",
4128
- "summary": "dataset api name",
4129
- "hasDynamicHelp": false,
4130
- "multiple": false,
4131
- "type": "option"
4132
- },
4133
- "limit": {
4134
- "description": "The maximum number of rows to include.",
4135
- "name": "limit",
4136
- "summary": "maximum number of rows to include",
4137
- "hasDynamicHelp": false,
4138
- "multiple": false,
4139
- "type": "option"
4140
- },
4141
- "resultformat": {
4142
- "char": "r",
4143
- "description": "Result format emitted to stdout.",
4144
- "name": "resultformat",
4145
- "summary": "result format emitted to stdout",
4146
- "default": "human",
4110
+ "description": "The ID of the lens to show history records.",
4111
+ "name": "lensid",
4112
+ "required": true,
4113
+ "summary": "lens ID",
4147
4114
  "hasDynamicHelp": false,
4148
4115
  "multiple": false,
4149
- "options": [
4150
- "human",
4151
- "csv",
4152
- "json"
4153
- ],
4154
4116
  "type": "option"
4155
- },
4156
- "dryrun": {
4157
- "description": "Show the resulting query that would be executed, but don't run it",
4158
- "hidden": true,
4159
- "name": "dryrun",
4160
- "allowNo": false,
4161
- "type": "boolean"
4162
4117
  }
4163
4118
  },
4164
4119
  "hasDynamicHelp": true,
4165
4120
  "hiddenAliases": [],
4166
- "id": "analytics:dataset:rows:fetch",
4121
+ "id": "analytics:lens:history:list",
4167
4122
  "pluginAlias": "@salesforce/analytics",
4168
4123
  "pluginName": "@salesforce/analytics",
4169
4124
  "pluginType": "core",
4170
4125
  "strict": true,
4171
- "summary": "fetch the rows of a Analytics dataset",
4126
+ "summary": "list history records for Analytics lenses",
4172
4127
  "enableJsonFlag": true,
4173
4128
  "isESM": true,
4174
4129
  "relativePath": [
4175
4130
  "lib",
4176
4131
  "commands",
4177
4132
  "analytics",
4178
- "dataset",
4179
- "rows",
4180
- "fetch.js"
4133
+ "lens",
4134
+ "history",
4135
+ "list.js"
4181
4136
  ]
4182
4137
  },
4183
- "analytics:lens:history:list": {
4138
+ "analytics:lens:history:revert": {
4184
4139
  "aliases": [],
4185
4140
  "args": {},
4186
- "description": "Lists history records for Analytics lenses in the specified target org.",
4141
+ "description": "Revert to a specified history record.",
4187
4142
  "examples": [
4188
- "$ sfdx analytics:lens:history:list --lensid <lensid> "
4143
+ "$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "
4189
4144
  ],
4190
4145
  "flags": {
4191
4146
  "json": {
@@ -4233,10 +4188,29 @@
4233
4188
  },
4234
4189
  "lensid": {
4235
4190
  "char": "i",
4236
- "description": "The ID of the lens to show history records.",
4191
+ "description": "The ID of the dashboard to show history records.",
4237
4192
  "name": "lensid",
4238
4193
  "required": true,
4239
- "summary": "lens ID",
4194
+ "summary": "dashboard ID",
4195
+ "hasDynamicHelp": false,
4196
+ "multiple": false,
4197
+ "type": "option"
4198
+ },
4199
+ "historyid": {
4200
+ "char": "y",
4201
+ "description": "The ID of the dashboard history records.",
4202
+ "name": "historyid",
4203
+ "required": true,
4204
+ "summary": "dashboard history ID",
4205
+ "hasDynamicHelp": false,
4206
+ "multiple": false,
4207
+ "type": "option"
4208
+ },
4209
+ "label": {
4210
+ "char": "l",
4211
+ "description": "Label for new reverted history record.",
4212
+ "name": "label",
4213
+ "summary": "label for new reverted history record",
4240
4214
  "hasDynamicHelp": false,
4241
4215
  "multiple": false,
4242
4216
  "type": "option"
@@ -4244,12 +4218,12 @@
4244
4218
  },
4245
4219
  "hasDynamicHelp": true,
4246
4220
  "hiddenAliases": [],
4247
- "id": "analytics:lens:history:list",
4221
+ "id": "analytics:lens:history:revert",
4248
4222
  "pluginAlias": "@salesforce/analytics",
4249
4223
  "pluginName": "@salesforce/analytics",
4250
4224
  "pluginType": "core",
4251
4225
  "strict": true,
4252
- "summary": "list history records for Analytics lenses",
4226
+ "summary": "revert to specified history record",
4253
4227
  "enableJsonFlag": true,
4254
4228
  "isESM": true,
4255
4229
  "relativePath": [
@@ -4258,15 +4232,16 @@
4258
4232
  "analytics",
4259
4233
  "lens",
4260
4234
  "history",
4261
- "list.js"
4235
+ "revert.js"
4262
4236
  ]
4263
4237
  },
4264
- "analytics:lens:history:revert": {
4238
+ "analytics:dataset:rows:fetch": {
4265
4239
  "aliases": [],
4266
4240
  "args": {},
4267
- "description": "Revert to a specified history record.",
4241
+ "description": "fetch the rows of a Analytics dataset.",
4268
4242
  "examples": [
4269
- "$ sfdx analytics:dashboard:history:revert -i <dashboardid> -y <historyid> -l <historyLabel> "
4243
+ "$ sfdx analytics:dataset:rows:fetch -i datasetId",
4244
+ "$ sfdx analytics:dataset:rows:fetch -n datasetApiName -r csv"
4270
4245
  ],
4271
4246
  "flags": {
4272
4247
  "json": {
@@ -4312,55 +4287,80 @@
4312
4287
  "multiple": false,
4313
4288
  "type": "option"
4314
4289
  },
4315
- "lensid": {
4290
+ "datasetid": {
4316
4291
  "char": "i",
4317
- "description": "The ID of the dashboard to show history records.",
4318
- "name": "lensid",
4319
- "required": true,
4320
- "summary": "dashboard ID",
4292
+ "description": "Dataset ID.",
4293
+ "exclusive": [
4294
+ "datasetname"
4295
+ ],
4296
+ "name": "datasetid",
4297
+ "summary": "dataset ID",
4321
4298
  "hasDynamicHelp": false,
4322
4299
  "multiple": false,
4323
4300
  "type": "option"
4324
4301
  },
4325
- "historyid": {
4326
- "char": "y",
4327
- "description": "The ID of the dashboard history records.",
4328
- "name": "historyid",
4329
- "required": true,
4330
- "summary": "dashboard history ID",
4302
+ "datasetname": {
4303
+ "char": "n",
4304
+ "description": "Dataset api name.",
4305
+ "exclusive": [
4306
+ "datasetid"
4307
+ ],
4308
+ "name": "datasetname",
4309
+ "summary": "dataset api name",
4331
4310
  "hasDynamicHelp": false,
4332
4311
  "multiple": false,
4333
4312
  "type": "option"
4334
4313
  },
4335
- "label": {
4336
- "char": "l",
4337
- "description": "Label for new reverted history record.",
4338
- "name": "label",
4339
- "summary": "label for new reverted history record",
4314
+ "limit": {
4315
+ "description": "The maximum number of rows to include.",
4316
+ "name": "limit",
4317
+ "summary": "maximum number of rows to include",
4340
4318
  "hasDynamicHelp": false,
4341
4319
  "multiple": false,
4342
4320
  "type": "option"
4321
+ },
4322
+ "resultformat": {
4323
+ "char": "r",
4324
+ "description": "Result format emitted to stdout.",
4325
+ "name": "resultformat",
4326
+ "summary": "result format emitted to stdout",
4327
+ "default": "human",
4328
+ "hasDynamicHelp": false,
4329
+ "multiple": false,
4330
+ "options": [
4331
+ "human",
4332
+ "csv",
4333
+ "json"
4334
+ ],
4335
+ "type": "option"
4336
+ },
4337
+ "dryrun": {
4338
+ "description": "Show the resulting query that would be executed, but don't run it",
4339
+ "hidden": true,
4340
+ "name": "dryrun",
4341
+ "allowNo": false,
4342
+ "type": "boolean"
4343
4343
  }
4344
4344
  },
4345
4345
  "hasDynamicHelp": true,
4346
4346
  "hiddenAliases": [],
4347
- "id": "analytics:lens:history:revert",
4347
+ "id": "analytics:dataset:rows:fetch",
4348
4348
  "pluginAlias": "@salesforce/analytics",
4349
4349
  "pluginName": "@salesforce/analytics",
4350
4350
  "pluginType": "core",
4351
4351
  "strict": true,
4352
- "summary": "revert to specified history record",
4352
+ "summary": "fetch the rows of a Analytics dataset",
4353
4353
  "enableJsonFlag": true,
4354
4354
  "isESM": true,
4355
4355
  "relativePath": [
4356
4356
  "lib",
4357
4357
  "commands",
4358
4358
  "analytics",
4359
- "lens",
4360
- "history",
4361
- "revert.js"
4359
+ "dataset",
4360
+ "rows",
4361
+ "fetch.js"
4362
4362
  ]
4363
4363
  }
4364
4364
  },
4365
- "version": "1.4.41"
4365
+ "version": "1.4.42"
4366
4366
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/analytics",
3
3
  "description": "Commands for working with Salesforce Analytics applications, assets, and services",
4
- "version": "1.4.41",
4
+ "version": "1.4.42",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-analytics/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^3.27.0",
9
- "@oclif/plugin-help": "^6.2.29",
9
+ "@oclif/plugin-help": "^6.2.30",
10
10
  "@salesforce/core": "^6.7.1",
11
11
  "@salesforce/kit": "^3.2.0",
12
12
  "@salesforce/sf-plugins-core": "^7.1.16",
@@ -16,14 +16,14 @@
16
16
  "moment": "^2.30.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.3.2",
19
+ "@oclif/plugin-command-snapshot": "^5.3.3",
20
20
  "@salesforce/cli-plugins-testkit": "^5.3.39",
21
21
  "@salesforce/dev-scripts": "^8.5.0",
22
- "@salesforce/plugin-command-reference": "^3.1.56",
22
+ "@salesforce/plugin-command-reference": "^3.1.58",
23
23
  "@salesforce/ts-sinon": "^1.4.30",
24
24
  "@types/lodash.get": "^4.4.9",
25
25
  "eslint-plugin-mocha": "^10.5.0",
26
- "eslint-plugin-sf-plugin": "^1.20.25",
26
+ "eslint-plugin-sf-plugin": "^1.20.27",
27
27
  "oclif": "^4",
28
28
  "ts-node": "^10.9.2",
29
29
  "typescript": "^5.8.3"
@@ -276,7 +276,7 @@
276
276
  },
277
277
  "type": "module",
278
278
  "sfdx": {
279
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.41.crt",
280
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.41.sig"
279
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.42.crt",
280
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/analytics/1.4.42.sig"
281
281
  }
282
282
  }