@salesforce/plugin-data 3.0.16 → 3.0.17
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/README.md +16 -16
- package/oclif.lock +15 -15
- package/oclif.manifest.json +154 -154
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ EXAMPLES
|
|
|
146
146
|
TracedEntityId=01p17000000R6bLAAS"
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
149
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/create/record.ts)_
|
|
150
150
|
|
|
151
151
|
## `sf data delete bulk`
|
|
152
152
|
|
|
@@ -191,7 +191,7 @@ EXAMPLES
|
|
|
191
191
|
$ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
194
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/delete/bulk.ts)_
|
|
195
195
|
|
|
196
196
|
## `sf data delete record`
|
|
197
197
|
|
|
@@ -250,7 +250,7 @@ EXAMPLES
|
|
|
250
250
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
253
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/delete/record.ts)_
|
|
254
254
|
|
|
255
255
|
## `sf data delete resume`
|
|
256
256
|
|
|
@@ -287,7 +287,7 @@ EXAMPLES
|
|
|
287
287
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
290
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/delete/resume.ts)_
|
|
291
291
|
|
|
292
292
|
## `sf data export tree`
|
|
293
293
|
|
|
@@ -345,7 +345,7 @@ EXAMPLES
|
|
|
345
345
|
my-scratch
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
348
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/export/tree.ts)_
|
|
349
349
|
|
|
350
350
|
## `sf data get record`
|
|
351
351
|
|
|
@@ -407,7 +407,7 @@ EXAMPLES
|
|
|
407
407
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
408
408
|
```
|
|
409
409
|
|
|
410
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
410
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/get/record.ts)_
|
|
411
411
|
|
|
412
412
|
## `sf data import tree`
|
|
413
413
|
|
|
@@ -458,7 +458,7 @@ EXAMPLES
|
|
|
458
458
|
$ sf data import tree --plan Account-Contact-plan.json
|
|
459
459
|
```
|
|
460
460
|
|
|
461
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
461
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/import/tree.ts)_
|
|
462
462
|
|
|
463
463
|
## `sf data query`
|
|
464
464
|
|
|
@@ -521,7 +521,7 @@ EXAMPLES
|
|
|
521
521
|
$ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
524
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/query.ts)_
|
|
525
525
|
|
|
526
526
|
## `sf data query resume`
|
|
527
527
|
|
|
@@ -557,7 +557,7 @@ EXAMPLES
|
|
|
557
557
|
$ sf data query resume --bulk-query-id 7500x000005BdFzXXX
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
560
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/query/resume.ts)_
|
|
561
561
|
|
|
562
562
|
## `sf data resume`
|
|
563
563
|
|
|
@@ -593,7 +593,7 @@ EXAMPLES
|
|
|
593
593
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
594
594
|
```
|
|
595
595
|
|
|
596
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
596
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/resume.ts)_
|
|
597
597
|
|
|
598
598
|
## `sf data update record`
|
|
599
599
|
|
|
@@ -654,7 +654,7 @@ EXAMPLES
|
|
|
654
654
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
655
655
|
```
|
|
656
656
|
|
|
657
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
657
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/update/record.ts)_
|
|
658
658
|
|
|
659
659
|
## `sf data upsert bulk`
|
|
660
660
|
|
|
@@ -706,7 +706,7 @@ EXAMPLES
|
|
|
706
706
|
my-scratch
|
|
707
707
|
```
|
|
708
708
|
|
|
709
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
709
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/upsert/bulk.ts)_
|
|
710
710
|
|
|
711
711
|
## `sf data upsert resume`
|
|
712
712
|
|
|
@@ -743,7 +743,7 @@ EXAMPLES
|
|
|
743
743
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
744
744
|
```
|
|
745
745
|
|
|
746
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
746
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/data/upsert/resume.ts)_
|
|
747
747
|
|
|
748
748
|
## `sf force data bulk delete`
|
|
749
749
|
|
|
@@ -788,7 +788,7 @@ EXAMPLES
|
|
|
788
788
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
791
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/force/data/bulk/delete.ts)_
|
|
792
792
|
|
|
793
793
|
## `sf force data bulk status`
|
|
794
794
|
|
|
@@ -824,7 +824,7 @@ EXAMPLES
|
|
|
824
824
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
825
825
|
```
|
|
826
826
|
|
|
827
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
827
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/force/data/bulk/status.ts)_
|
|
828
828
|
|
|
829
829
|
## `sf force data bulk upsert`
|
|
830
830
|
|
|
@@ -881,6 +881,6 @@ EXAMPLES
|
|
|
881
881
|
--target-org my-scratch
|
|
882
882
|
```
|
|
883
883
|
|
|
884
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.
|
|
884
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.17/src/commands/force/data/bulk/upsert.ts)_
|
|
885
885
|
|
|
886
886
|
<!-- commandsstop -->
|
package/oclif.lock
CHANGED
|
@@ -1446,12 +1446,12 @@
|
|
|
1446
1446
|
wordwrap "^1.0.0"
|
|
1447
1447
|
wrap-ansi "^7.0.0"
|
|
1448
1448
|
|
|
1449
|
-
"@oclif/plugin-command-snapshot@^5.0.
|
|
1450
|
-
version "5.0.
|
|
1451
|
-
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.
|
|
1452
|
-
integrity sha512
|
|
1449
|
+
"@oclif/plugin-command-snapshot@^5.0.6":
|
|
1450
|
+
version "5.0.6"
|
|
1451
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.0.6.tgz#f32d0e7fedc588ef08bbab88db5c60d25eb3ca07"
|
|
1452
|
+
integrity sha512-/DZsDPrUD/Wd4NMjMZ7gkLZIwH3tb1QWGP8m1JebvTi1Rntn/JG+YEz+iE5zKtu12gmSbjAEYPt92itXQLDbbg==
|
|
1453
1453
|
dependencies:
|
|
1454
|
-
"@oclif/core" "^3.
|
|
1454
|
+
"@oclif/core" "^3.16.0"
|
|
1455
1455
|
"@types/lodash.difference" "^4.5.9"
|
|
1456
1456
|
chalk "^5.3.0"
|
|
1457
1457
|
just-diff "^5.2.0"
|
|
@@ -1609,7 +1609,7 @@
|
|
|
1609
1609
|
strip-ansi "6.0.1"
|
|
1610
1610
|
ts-retry-promise "^0.8.0"
|
|
1611
1611
|
|
|
1612
|
-
"@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.
|
|
1612
|
+
"@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.6", "@salesforce/core@^6.4.7":
|
|
1613
1613
|
version "6.4.7"
|
|
1614
1614
|
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.7.tgz#f15538380aa5c75de697d3c95a2ddbdabae69dbb"
|
|
1615
1615
|
integrity sha512-gebjw2xC8Z0gqS3lYRQWz7J+PuGZtybotrnnaJbnzzxdfpBFIp6PjW4nt/235BQW9UWFTLaQh+AwkFgmMTTSkA==
|
|
@@ -3333,10 +3333,10 @@ change-case@^4, change-case@^4.1.2:
|
|
|
3333
3333
|
snake-case "^3.0.4"
|
|
3334
3334
|
tslib "^2.0.3"
|
|
3335
3335
|
|
|
3336
|
-
change-case@^5.4.
|
|
3337
|
-
version "5.4.
|
|
3338
|
-
resolved "https://registry.yarnpkg.com/change-case/-/change-case-5.4.
|
|
3339
|
-
integrity sha512-
|
|
3336
|
+
change-case@^5.4.2:
|
|
3337
|
+
version "5.4.2"
|
|
3338
|
+
resolved "https://registry.yarnpkg.com/change-case/-/change-case-5.4.2.tgz#0b3e4d9746fb16b83f3a8b68a9411bc4a8a61863"
|
|
3339
|
+
integrity sha512-WB3UiTDpT+vrTilAWaJS4gaIH/jc1He4H9f6erQvraUYas90uWT0JOYFkG1imdNv710XJ6gJvqynrgOHc4ihDA==
|
|
3340
3340
|
|
|
3341
3341
|
chardet@^0.7.0:
|
|
3342
3342
|
version "0.7.0"
|
|
@@ -4216,12 +4216,12 @@ eslint-plugin-perfectionist@^2.1.0:
|
|
|
4216
4216
|
minimatch "^9.0.3"
|
|
4217
4217
|
natural-compare-lite "^1.4.0"
|
|
4218
4218
|
|
|
4219
|
-
eslint-plugin-sf-plugin@^1.17.
|
|
4220
|
-
version "1.17.
|
|
4221
|
-
resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.17.
|
|
4222
|
-
integrity sha512-
|
|
4219
|
+
eslint-plugin-sf-plugin@^1.17.2:
|
|
4220
|
+
version "1.17.2"
|
|
4221
|
+
resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.17.2.tgz#c2e5b40fdae762d3166696f0d9a3664ff8359141"
|
|
4222
|
+
integrity sha512-N7o/rgpH5ImPwyGj7dByPwOeW7+VcA36/F35vUhL9NV8FOR35DDL8T+cX0HBGPWu4toSXjCmc2yEH52FdsnATg==
|
|
4223
4223
|
dependencies:
|
|
4224
|
-
"@salesforce/core" "^6.4.
|
|
4224
|
+
"@salesforce/core" "^6.4.7"
|
|
4225
4225
|
"@typescript-eslint/utils" "^6.17.0"
|
|
4226
4226
|
|
|
4227
4227
|
eslint-plugin-unicorn@^49.0.0:
|
package/oclif.manifest.json
CHANGED
|
@@ -312,6 +312,159 @@
|
|
|
312
312
|
"resume:data"
|
|
313
313
|
]
|
|
314
314
|
},
|
|
315
|
+
"data:create:record": {
|
|
316
|
+
"aliases": [
|
|
317
|
+
"force:data:record:create"
|
|
318
|
+
],
|
|
319
|
+
"args": {},
|
|
320
|
+
"deprecateAliases": true,
|
|
321
|
+
"description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
|
|
322
|
+
"examples": [
|
|
323
|
+
"Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
|
|
324
|
+
"Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
|
|
325
|
+
"Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
|
|
326
|
+
],
|
|
327
|
+
"flags": {
|
|
328
|
+
"json": {
|
|
329
|
+
"description": "Format output as json.",
|
|
330
|
+
"helpGroup": "GLOBAL",
|
|
331
|
+
"name": "json",
|
|
332
|
+
"allowNo": false,
|
|
333
|
+
"type": "boolean"
|
|
334
|
+
},
|
|
335
|
+
"target-org": {
|
|
336
|
+
"aliases": [
|
|
337
|
+
"targetusername",
|
|
338
|
+
"u"
|
|
339
|
+
],
|
|
340
|
+
"char": "o",
|
|
341
|
+
"deprecateAliases": true,
|
|
342
|
+
"name": "target-org",
|
|
343
|
+
"noCacheDefault": true,
|
|
344
|
+
"required": true,
|
|
345
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
346
|
+
"hasDynamicHelp": true,
|
|
347
|
+
"multiple": false,
|
|
348
|
+
"type": "option"
|
|
349
|
+
},
|
|
350
|
+
"api-version": {
|
|
351
|
+
"aliases": [
|
|
352
|
+
"apiversion"
|
|
353
|
+
],
|
|
354
|
+
"deprecateAliases": true,
|
|
355
|
+
"description": "Override the api version used for api requests made by this command",
|
|
356
|
+
"name": "api-version",
|
|
357
|
+
"hasDynamicHelp": false,
|
|
358
|
+
"multiple": false,
|
|
359
|
+
"type": "option"
|
|
360
|
+
},
|
|
361
|
+
"loglevel": {
|
|
362
|
+
"deprecated": {
|
|
363
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
364
|
+
},
|
|
365
|
+
"hidden": true,
|
|
366
|
+
"name": "loglevel",
|
|
367
|
+
"hasDynamicHelp": false,
|
|
368
|
+
"multiple": false,
|
|
369
|
+
"type": "option"
|
|
370
|
+
},
|
|
371
|
+
"sobject": {
|
|
372
|
+
"aliases": [
|
|
373
|
+
"sobjecttype"
|
|
374
|
+
],
|
|
375
|
+
"char": "s",
|
|
376
|
+
"deprecateAliases": true,
|
|
377
|
+
"name": "sobject",
|
|
378
|
+
"required": true,
|
|
379
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
380
|
+
"hasDynamicHelp": false,
|
|
381
|
+
"multiple": false,
|
|
382
|
+
"type": "option"
|
|
383
|
+
},
|
|
384
|
+
"values": {
|
|
385
|
+
"char": "v",
|
|
386
|
+
"name": "values",
|
|
387
|
+
"required": true,
|
|
388
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
389
|
+
"hasDynamicHelp": false,
|
|
390
|
+
"multiple": false,
|
|
391
|
+
"type": "option"
|
|
392
|
+
},
|
|
393
|
+
"use-tooling-api": {
|
|
394
|
+
"aliases": [
|
|
395
|
+
"usetoolingapi"
|
|
396
|
+
],
|
|
397
|
+
"char": "t",
|
|
398
|
+
"deprecateAliases": true,
|
|
399
|
+
"name": "use-tooling-api",
|
|
400
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
401
|
+
"allowNo": false,
|
|
402
|
+
"type": "boolean"
|
|
403
|
+
},
|
|
404
|
+
"perflog": {
|
|
405
|
+
"deprecated": {
|
|
406
|
+
"version": "57"
|
|
407
|
+
},
|
|
408
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
409
|
+
"hidden": true,
|
|
410
|
+
"name": "perflog",
|
|
411
|
+
"summary": "Get API performance data.",
|
|
412
|
+
"allowNo": false,
|
|
413
|
+
"type": "boolean"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"hasDynamicHelp": true,
|
|
417
|
+
"hiddenAliases": [],
|
|
418
|
+
"id": "data:create:record",
|
|
419
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
420
|
+
"pluginName": "@salesforce/plugin-data",
|
|
421
|
+
"pluginType": "core",
|
|
422
|
+
"strict": true,
|
|
423
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
424
|
+
"enableJsonFlag": true,
|
|
425
|
+
"isESM": true,
|
|
426
|
+
"relativePath": [
|
|
427
|
+
"lib",
|
|
428
|
+
"commands",
|
|
429
|
+
"data",
|
|
430
|
+
"create",
|
|
431
|
+
"record.js"
|
|
432
|
+
],
|
|
433
|
+
"aliasPermutations": [
|
|
434
|
+
"force:data:record:create",
|
|
435
|
+
"data:force:record:create",
|
|
436
|
+
"data:record:force:create",
|
|
437
|
+
"data:record:create:force",
|
|
438
|
+
"force:record:data:create",
|
|
439
|
+
"record:force:data:create",
|
|
440
|
+
"record:data:force:create",
|
|
441
|
+
"record:data:create:force",
|
|
442
|
+
"force:record:create:data",
|
|
443
|
+
"record:force:create:data",
|
|
444
|
+
"record:create:force:data",
|
|
445
|
+
"record:create:data:force",
|
|
446
|
+
"force:data:create:record",
|
|
447
|
+
"data:force:create:record",
|
|
448
|
+
"data:create:force:record",
|
|
449
|
+
"data:create:record:force",
|
|
450
|
+
"force:create:data:record",
|
|
451
|
+
"create:force:data:record",
|
|
452
|
+
"create:data:force:record",
|
|
453
|
+
"create:data:record:force",
|
|
454
|
+
"force:create:record:data",
|
|
455
|
+
"create:force:record:data",
|
|
456
|
+
"create:record:force:data",
|
|
457
|
+
"create:record:data:force"
|
|
458
|
+
],
|
|
459
|
+
"permutations": [
|
|
460
|
+
"data:create:record",
|
|
461
|
+
"create:data:record",
|
|
462
|
+
"create:record:data",
|
|
463
|
+
"data:record:create",
|
|
464
|
+
"record:data:create",
|
|
465
|
+
"record:create:data"
|
|
466
|
+
]
|
|
467
|
+
},
|
|
315
468
|
"data:delete:bulk": {
|
|
316
469
|
"aliases": [],
|
|
317
470
|
"args": {},
|
|
@@ -722,159 +875,6 @@
|
|
|
722
875
|
"resume:delete:data"
|
|
723
876
|
]
|
|
724
877
|
},
|
|
725
|
-
"data:create:record": {
|
|
726
|
-
"aliases": [
|
|
727
|
-
"force:data:record:create"
|
|
728
|
-
],
|
|
729
|
-
"args": {},
|
|
730
|
-
"deprecateAliases": true,
|
|
731
|
-
"description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
|
|
732
|
-
"examples": [
|
|
733
|
-
"Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
|
|
734
|
-
"Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
|
|
735
|
-
"Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
|
|
736
|
-
],
|
|
737
|
-
"flags": {
|
|
738
|
-
"json": {
|
|
739
|
-
"description": "Format output as json.",
|
|
740
|
-
"helpGroup": "GLOBAL",
|
|
741
|
-
"name": "json",
|
|
742
|
-
"allowNo": false,
|
|
743
|
-
"type": "boolean"
|
|
744
|
-
},
|
|
745
|
-
"target-org": {
|
|
746
|
-
"aliases": [
|
|
747
|
-
"targetusername",
|
|
748
|
-
"u"
|
|
749
|
-
],
|
|
750
|
-
"char": "o",
|
|
751
|
-
"deprecateAliases": true,
|
|
752
|
-
"name": "target-org",
|
|
753
|
-
"noCacheDefault": true,
|
|
754
|
-
"required": true,
|
|
755
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
756
|
-
"hasDynamicHelp": true,
|
|
757
|
-
"multiple": false,
|
|
758
|
-
"type": "option"
|
|
759
|
-
},
|
|
760
|
-
"api-version": {
|
|
761
|
-
"aliases": [
|
|
762
|
-
"apiversion"
|
|
763
|
-
],
|
|
764
|
-
"deprecateAliases": true,
|
|
765
|
-
"description": "Override the api version used for api requests made by this command",
|
|
766
|
-
"name": "api-version",
|
|
767
|
-
"hasDynamicHelp": false,
|
|
768
|
-
"multiple": false,
|
|
769
|
-
"type": "option"
|
|
770
|
-
},
|
|
771
|
-
"loglevel": {
|
|
772
|
-
"deprecated": {
|
|
773
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
774
|
-
},
|
|
775
|
-
"hidden": true,
|
|
776
|
-
"name": "loglevel",
|
|
777
|
-
"hasDynamicHelp": false,
|
|
778
|
-
"multiple": false,
|
|
779
|
-
"type": "option"
|
|
780
|
-
},
|
|
781
|
-
"sobject": {
|
|
782
|
-
"aliases": [
|
|
783
|
-
"sobjecttype"
|
|
784
|
-
],
|
|
785
|
-
"char": "s",
|
|
786
|
-
"deprecateAliases": true,
|
|
787
|
-
"name": "sobject",
|
|
788
|
-
"required": true,
|
|
789
|
-
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
790
|
-
"hasDynamicHelp": false,
|
|
791
|
-
"multiple": false,
|
|
792
|
-
"type": "option"
|
|
793
|
-
},
|
|
794
|
-
"values": {
|
|
795
|
-
"char": "v",
|
|
796
|
-
"name": "values",
|
|
797
|
-
"required": true,
|
|
798
|
-
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
799
|
-
"hasDynamicHelp": false,
|
|
800
|
-
"multiple": false,
|
|
801
|
-
"type": "option"
|
|
802
|
-
},
|
|
803
|
-
"use-tooling-api": {
|
|
804
|
-
"aliases": [
|
|
805
|
-
"usetoolingapi"
|
|
806
|
-
],
|
|
807
|
-
"char": "t",
|
|
808
|
-
"deprecateAliases": true,
|
|
809
|
-
"name": "use-tooling-api",
|
|
810
|
-
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
811
|
-
"allowNo": false,
|
|
812
|
-
"type": "boolean"
|
|
813
|
-
},
|
|
814
|
-
"perflog": {
|
|
815
|
-
"deprecated": {
|
|
816
|
-
"version": "57"
|
|
817
|
-
},
|
|
818
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
819
|
-
"hidden": true,
|
|
820
|
-
"name": "perflog",
|
|
821
|
-
"summary": "Get API performance data.",
|
|
822
|
-
"allowNo": false,
|
|
823
|
-
"type": "boolean"
|
|
824
|
-
}
|
|
825
|
-
},
|
|
826
|
-
"hasDynamicHelp": true,
|
|
827
|
-
"hiddenAliases": [],
|
|
828
|
-
"id": "data:create:record",
|
|
829
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
830
|
-
"pluginName": "@salesforce/plugin-data",
|
|
831
|
-
"pluginType": "core",
|
|
832
|
-
"strict": true,
|
|
833
|
-
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
834
|
-
"enableJsonFlag": true,
|
|
835
|
-
"isESM": true,
|
|
836
|
-
"relativePath": [
|
|
837
|
-
"lib",
|
|
838
|
-
"commands",
|
|
839
|
-
"data",
|
|
840
|
-
"create",
|
|
841
|
-
"record.js"
|
|
842
|
-
],
|
|
843
|
-
"aliasPermutations": [
|
|
844
|
-
"force:data:record:create",
|
|
845
|
-
"data:force:record:create",
|
|
846
|
-
"data:record:force:create",
|
|
847
|
-
"data:record:create:force",
|
|
848
|
-
"force:record:data:create",
|
|
849
|
-
"record:force:data:create",
|
|
850
|
-
"record:data:force:create",
|
|
851
|
-
"record:data:create:force",
|
|
852
|
-
"force:record:create:data",
|
|
853
|
-
"record:force:create:data",
|
|
854
|
-
"record:create:force:data",
|
|
855
|
-
"record:create:data:force",
|
|
856
|
-
"force:data:create:record",
|
|
857
|
-
"data:force:create:record",
|
|
858
|
-
"data:create:force:record",
|
|
859
|
-
"data:create:record:force",
|
|
860
|
-
"force:create:data:record",
|
|
861
|
-
"create:force:data:record",
|
|
862
|
-
"create:data:force:record",
|
|
863
|
-
"create:data:record:force",
|
|
864
|
-
"force:create:record:data",
|
|
865
|
-
"create:force:record:data",
|
|
866
|
-
"create:record:force:data",
|
|
867
|
-
"create:record:data:force"
|
|
868
|
-
],
|
|
869
|
-
"permutations": [
|
|
870
|
-
"data:create:record",
|
|
871
|
-
"create:data:record",
|
|
872
|
-
"create:record:data",
|
|
873
|
-
"data:record:create",
|
|
874
|
-
"record:data:create",
|
|
875
|
-
"record:create:data"
|
|
876
|
-
]
|
|
877
|
-
},
|
|
878
878
|
"data:export:tree": {
|
|
879
879
|
"aliases": [
|
|
880
880
|
"force:data:tree:export"
|
|
@@ -2430,5 +2430,5 @@
|
|
|
2430
2430
|
]
|
|
2431
2431
|
}
|
|
2432
2432
|
},
|
|
2433
|
-
"version": "3.0.
|
|
2433
|
+
"version": "3.0.17"
|
|
2434
2434
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.17",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -114,19 +114,19 @@
|
|
|
114
114
|
"@salesforce/sf-plugins-core": "^7.1.1",
|
|
115
115
|
"@salesforce/ts-types": "^2.0.9",
|
|
116
116
|
"chalk": "^5.3.0",
|
|
117
|
-
"change-case": "^5.4.
|
|
117
|
+
"change-case": "^5.4.2",
|
|
118
118
|
"csv-parse": "^4.16.3",
|
|
119
119
|
"csv-stringify": "^6.4.5",
|
|
120
120
|
"jsforce": "^2.0.0-beta.29"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@oclif/plugin-command-snapshot": "^5.0.
|
|
123
|
+
"@oclif/plugin-command-snapshot": "^5.0.6",
|
|
124
124
|
"@salesforce/cli-plugins-testkit": "^5.1.7",
|
|
125
125
|
"@salesforce/dev-scripts": "^8.3.0",
|
|
126
126
|
"@salesforce/plugin-command-reference": "^3.0.59",
|
|
127
127
|
"@types/chai-as-promised": "^7.1.8",
|
|
128
128
|
"chai-as-promised": "^7.1.1",
|
|
129
|
-
"eslint-plugin-sf-plugin": "^1.17.
|
|
129
|
+
"eslint-plugin-sf-plugin": "^1.17.2",
|
|
130
130
|
"oclif": "^4.3.2",
|
|
131
131
|
"shx": "^0.3.3",
|
|
132
132
|
"ts-node": "^10.9.2",
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
"exports": "./lib/index.js",
|
|
251
251
|
"type": "module",
|
|
252
252
|
"sfdx": {
|
|
253
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.
|
|
254
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.
|
|
253
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.17.crt",
|
|
254
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.17.sig"
|
|
255
255
|
}
|
|
256
256
|
}
|