@salesforce/plugin-data 4.0.90 → 4.0.91
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 +24 -24
- package/oclif.manifest.json +281 -281
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ EXAMPLES
|
|
|
144
144
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
147
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/bulk/results.ts)_
|
|
148
148
|
|
|
149
149
|
## `sf data create file`
|
|
150
150
|
|
|
@@ -193,7 +193,7 @@ EXAMPLES
|
|
|
193
193
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
196
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/create/file.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf data create record`
|
|
199
199
|
|
|
@@ -249,7 +249,7 @@ EXAMPLES
|
|
|
249
249
|
TracedEntityId=01p17000000R6bLAAS"
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
252
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/create/record.ts)_
|
|
253
253
|
|
|
254
254
|
## `sf data delete bulk`
|
|
255
255
|
|
|
@@ -308,7 +308,7 @@ FLAG DESCRIPTIONS
|
|
|
308
308
|
and can be enabled only by a system administrator.
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
311
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/delete/bulk.ts)_
|
|
312
312
|
|
|
313
313
|
## `sf data delete record`
|
|
314
314
|
|
|
@@ -369,7 +369,7 @@ EXAMPLES
|
|
|
369
369
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
370
370
|
```
|
|
371
371
|
|
|
372
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
372
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/delete/record.ts)_
|
|
373
373
|
|
|
374
374
|
## `sf data delete resume`
|
|
375
375
|
|
|
@@ -408,7 +408,7 @@ EXAMPLES
|
|
|
408
408
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
409
409
|
```
|
|
410
410
|
|
|
411
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
411
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/delete/resume.ts)_
|
|
412
412
|
|
|
413
413
|
## `sf data export bulk`
|
|
414
414
|
|
|
@@ -475,7 +475,7 @@ EXAMPLES
|
|
|
475
475
|
--result-format json --wait 10 --all-rows
|
|
476
476
|
```
|
|
477
477
|
|
|
478
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
478
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/export/bulk.ts)_
|
|
479
479
|
|
|
480
480
|
## `sf data export resume`
|
|
481
481
|
|
|
@@ -514,7 +514,7 @@ EXAMPLES
|
|
|
514
514
|
$ sf data export resume --use-most-recent
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
517
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/export/resume.ts)_
|
|
518
518
|
|
|
519
519
|
## `sf data export tree`
|
|
520
520
|
|
|
@@ -574,7 +574,7 @@ EXAMPLES
|
|
|
574
574
|
my-scratch
|
|
575
575
|
```
|
|
576
576
|
|
|
577
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
577
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/export/tree.ts)_
|
|
578
578
|
|
|
579
579
|
## `sf data get record`
|
|
580
580
|
|
|
@@ -638,7 +638,7 @@ EXAMPLES
|
|
|
638
638
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
641
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/get/record.ts)_
|
|
642
642
|
|
|
643
643
|
## `sf data import bulk`
|
|
644
644
|
|
|
@@ -690,7 +690,7 @@ EXAMPLES
|
|
|
690
690
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
691
691
|
```
|
|
692
692
|
|
|
693
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
693
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/import/bulk.ts)_
|
|
694
694
|
|
|
695
695
|
## `sf data import resume`
|
|
696
696
|
|
|
@@ -726,7 +726,7 @@ EXAMPLES
|
|
|
726
726
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
727
727
|
```
|
|
728
728
|
|
|
729
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
729
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/import/resume.ts)_
|
|
730
730
|
|
|
731
731
|
## `sf data import tree`
|
|
732
732
|
|
|
@@ -790,7 +790,7 @@ FLAG DESCRIPTIONS
|
|
|
790
790
|
- files(array) - Files: An array of files paths to load
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
793
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/import/tree.ts)_
|
|
794
794
|
|
|
795
795
|
## `sf data query`
|
|
796
796
|
|
|
@@ -843,7 +843,7 @@ EXAMPLES
|
|
|
843
843
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
844
844
|
```
|
|
845
845
|
|
|
846
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
846
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/query.ts)_
|
|
847
847
|
|
|
848
848
|
## `sf data resume`
|
|
849
849
|
|
|
@@ -880,7 +880,7 @@ EXAMPLES
|
|
|
880
880
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
881
881
|
```
|
|
882
882
|
|
|
883
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
883
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/resume.ts)_
|
|
884
884
|
|
|
885
885
|
## `sf data search`
|
|
886
886
|
|
|
@@ -930,7 +930,7 @@ EXAMPLES
|
|
|
930
930
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
931
931
|
```
|
|
932
932
|
|
|
933
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
933
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/search.ts)_
|
|
934
934
|
|
|
935
935
|
## `sf data update bulk`
|
|
936
936
|
|
|
@@ -985,7 +985,7 @@ EXAMPLES
|
|
|
985
985
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
986
986
|
```
|
|
987
987
|
|
|
988
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
988
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/update/bulk.ts)_
|
|
989
989
|
|
|
990
990
|
## `sf data update record`
|
|
991
991
|
|
|
@@ -1047,7 +1047,7 @@ EXAMPLES
|
|
|
1047
1047
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1048
1048
|
```
|
|
1049
1049
|
|
|
1050
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1050
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/update/record.ts)_
|
|
1051
1051
|
|
|
1052
1052
|
## `sf data update resume`
|
|
1053
1053
|
|
|
@@ -1086,7 +1086,7 @@ EXAMPLES
|
|
|
1086
1086
|
$ sf data update resume --use-most-recent
|
|
1087
1087
|
```
|
|
1088
1088
|
|
|
1089
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1089
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/update/resume.ts)_
|
|
1090
1090
|
|
|
1091
1091
|
## `sf data upsert bulk`
|
|
1092
1092
|
|
|
@@ -1142,7 +1142,7 @@ EXAMPLES
|
|
|
1142
1142
|
my-scratch
|
|
1143
1143
|
```
|
|
1144
1144
|
|
|
1145
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1145
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/upsert/bulk.ts)_
|
|
1146
1146
|
|
|
1147
1147
|
## `sf data upsert resume`
|
|
1148
1148
|
|
|
@@ -1181,7 +1181,7 @@ EXAMPLES
|
|
|
1181
1181
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1182
1182
|
```
|
|
1183
1183
|
|
|
1184
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1184
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/data/upsert/resume.ts)_
|
|
1185
1185
|
|
|
1186
1186
|
## `sf force data bulk delete`
|
|
1187
1187
|
|
|
@@ -1228,7 +1228,7 @@ EXAMPLES
|
|
|
1228
1228
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1229
1229
|
```
|
|
1230
1230
|
|
|
1231
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1231
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/force/data/bulk/delete.ts)_
|
|
1232
1232
|
|
|
1233
1233
|
## `sf force data bulk status`
|
|
1234
1234
|
|
|
@@ -1265,7 +1265,7 @@ EXAMPLES
|
|
|
1265
1265
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1266
1266
|
```
|
|
1267
1267
|
|
|
1268
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1268
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/force/data/bulk/status.ts)_
|
|
1269
1269
|
|
|
1270
1270
|
## `sf force data bulk upsert`
|
|
1271
1271
|
|
|
@@ -1323,6 +1323,6 @@ EXAMPLES
|
|
|
1323
1323
|
--target-org my-scratch
|
|
1324
1324
|
```
|
|
1325
1325
|
|
|
1326
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1326
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.91/src/commands/force/data/bulk/upsert.ts)_
|
|
1327
1327
|
|
|
1328
1328
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -401,13 +401,14 @@
|
|
|
401
401
|
"search:data"
|
|
402
402
|
]
|
|
403
403
|
},
|
|
404
|
-
"data:
|
|
404
|
+
"data:create:file": {
|
|
405
405
|
"aliases": [],
|
|
406
406
|
"args": {},
|
|
407
|
-
"description": "
|
|
407
|
+
"description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
|
|
408
408
|
"examples": [
|
|
409
|
-
"
|
|
410
|
-
"
|
|
409
|
+
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
410
|
+
"Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
|
|
411
|
+
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
411
412
|
],
|
|
412
413
|
"flags": {
|
|
413
414
|
"json": {
|
|
@@ -426,12 +427,7 @@
|
|
|
426
427
|
"type": "option"
|
|
427
428
|
},
|
|
428
429
|
"target-org": {
|
|
429
|
-
"aliases": [
|
|
430
|
-
"targetusername",
|
|
431
|
-
"u"
|
|
432
|
-
],
|
|
433
430
|
"char": "o",
|
|
434
|
-
"deprecateAliases": true,
|
|
435
431
|
"name": "target-org",
|
|
436
432
|
"noCacheDefault": true,
|
|
437
433
|
"required": true,
|
|
@@ -441,122 +437,77 @@
|
|
|
441
437
|
"type": "option"
|
|
442
438
|
},
|
|
443
439
|
"api-version": {
|
|
444
|
-
"aliases": [
|
|
445
|
-
"apiversion"
|
|
446
|
-
],
|
|
447
|
-
"deprecateAliases": true,
|
|
448
440
|
"description": "Override the api version used for api requests made by this command",
|
|
449
441
|
"name": "api-version",
|
|
450
442
|
"hasDynamicHelp": false,
|
|
451
443
|
"multiple": false,
|
|
452
444
|
"type": "option"
|
|
453
445
|
},
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"
|
|
459
|
-
"name": "loglevel",
|
|
446
|
+
"title": {
|
|
447
|
+
"char": "t",
|
|
448
|
+
"name": "title",
|
|
449
|
+
"required": false,
|
|
450
|
+
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
460
451
|
"hasDynamicHelp": false,
|
|
461
452
|
"multiple": false,
|
|
462
453
|
"type": "option"
|
|
463
454
|
},
|
|
464
455
|
"file": {
|
|
465
|
-
"aliases": [
|
|
466
|
-
"csvfile"
|
|
467
|
-
],
|
|
468
456
|
"char": "f",
|
|
469
|
-
"deprecateAliases": true,
|
|
470
457
|
"name": "file",
|
|
471
458
|
"required": true,
|
|
472
|
-
"summary": "
|
|
473
|
-
"hasDynamicHelp": false,
|
|
474
|
-
"multiple": false,
|
|
475
|
-
"type": "option"
|
|
476
|
-
},
|
|
477
|
-
"sobject": {
|
|
478
|
-
"aliases": [
|
|
479
|
-
"sobjecttype"
|
|
480
|
-
],
|
|
481
|
-
"char": "s",
|
|
482
|
-
"deprecateAliases": true,
|
|
483
|
-
"name": "sobject",
|
|
484
|
-
"required": true,
|
|
485
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
459
|
+
"summary": "Path of file to upload.",
|
|
486
460
|
"hasDynamicHelp": false,
|
|
487
461
|
"multiple": false,
|
|
488
462
|
"type": "option"
|
|
489
463
|
},
|
|
490
|
-
"
|
|
491
|
-
"char": "
|
|
492
|
-
"name": "
|
|
493
|
-
"summary": "
|
|
494
|
-
"default": "0 minutes",
|
|
495
|
-
"hasDynamicHelp": true,
|
|
496
|
-
"multiple": false,
|
|
497
|
-
"type": "option"
|
|
498
|
-
},
|
|
499
|
-
"line-ending": {
|
|
500
|
-
"dependsOn": [
|
|
501
|
-
"file"
|
|
502
|
-
],
|
|
503
|
-
"name": "line-ending",
|
|
504
|
-
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
464
|
+
"parent-id": {
|
|
465
|
+
"char": "i",
|
|
466
|
+
"name": "parent-id",
|
|
467
|
+
"summary": "ID of the record to attach the file to.",
|
|
505
468
|
"hasDynamicHelp": false,
|
|
506
469
|
"multiple": false,
|
|
507
|
-
"options": [
|
|
508
|
-
"CRLF",
|
|
509
|
-
"LF"
|
|
510
|
-
],
|
|
511
470
|
"type": "option"
|
|
512
|
-
},
|
|
513
|
-
"hard-delete": {
|
|
514
|
-
"description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
|
|
515
|
-
"name": "hard-delete",
|
|
516
|
-
"summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
|
|
517
|
-
"allowNo": false,
|
|
518
|
-
"type": "boolean"
|
|
519
471
|
}
|
|
520
472
|
},
|
|
521
473
|
"hasDynamicHelp": true,
|
|
522
474
|
"hiddenAliases": [],
|
|
523
|
-
"id": "data:
|
|
475
|
+
"id": "data:create:file",
|
|
524
476
|
"pluginAlias": "@salesforce/plugin-data",
|
|
525
477
|
"pluginName": "@salesforce/plugin-data",
|
|
526
478
|
"pluginType": "core",
|
|
527
479
|
"strict": true,
|
|
528
|
-
"summary": "
|
|
480
|
+
"summary": "Upload a local file to an org.",
|
|
529
481
|
"enableJsonFlag": true,
|
|
530
482
|
"isESM": true,
|
|
531
483
|
"relativePath": [
|
|
532
484
|
"lib",
|
|
533
485
|
"commands",
|
|
534
486
|
"data",
|
|
535
|
-
"
|
|
536
|
-
"
|
|
487
|
+
"create",
|
|
488
|
+
"file.js"
|
|
537
489
|
],
|
|
538
490
|
"aliasPermutations": [],
|
|
539
491
|
"permutations": [
|
|
540
|
-
"data:
|
|
541
|
-
"
|
|
542
|
-
"
|
|
543
|
-
"data:
|
|
544
|
-
"
|
|
545
|
-
"
|
|
492
|
+
"data:create:file",
|
|
493
|
+
"create:data:file",
|
|
494
|
+
"create:file:data",
|
|
495
|
+
"data:file:create",
|
|
496
|
+
"file:data:create",
|
|
497
|
+
"file:create:data"
|
|
546
498
|
]
|
|
547
499
|
},
|
|
548
|
-
"data:
|
|
500
|
+
"data:create:record": {
|
|
549
501
|
"aliases": [
|
|
550
|
-
"force:data:record:
|
|
502
|
+
"force:data:record:create"
|
|
551
503
|
],
|
|
552
504
|
"args": {},
|
|
553
505
|
"deprecateAliases": true,
|
|
554
|
-
"description": "
|
|
506
|
+
"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.",
|
|
555
507
|
"examples": [
|
|
556
|
-
"
|
|
557
|
-
"
|
|
558
|
-
"
|
|
559
|
-
"Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
508
|
+
"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\"",
|
|
509
|
+
"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",
|
|
510
|
+
"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\""
|
|
560
511
|
],
|
|
561
512
|
"flags": {
|
|
562
513
|
"json": {
|
|
@@ -618,27 +569,16 @@
|
|
|
618
569
|
"deprecateAliases": true,
|
|
619
570
|
"name": "sobject",
|
|
620
571
|
"required": true,
|
|
621
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
622
|
-
"hasDynamicHelp": false,
|
|
623
|
-
"multiple": false,
|
|
624
|
-
"type": "option"
|
|
625
|
-
},
|
|
626
|
-
"record-id": {
|
|
627
|
-
"aliases": [
|
|
628
|
-
"sobjectid"
|
|
629
|
-
],
|
|
630
|
-
"char": "i",
|
|
631
|
-
"deprecateAliases": true,
|
|
632
|
-
"name": "record-id",
|
|
633
|
-
"summary": "ID of the record you’re deleting.",
|
|
572
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
634
573
|
"hasDynamicHelp": false,
|
|
635
574
|
"multiple": false,
|
|
636
575
|
"type": "option"
|
|
637
576
|
},
|
|
638
|
-
"
|
|
639
|
-
"char": "
|
|
640
|
-
"name": "
|
|
641
|
-
"
|
|
577
|
+
"values": {
|
|
578
|
+
"char": "v",
|
|
579
|
+
"name": "values",
|
|
580
|
+
"required": true,
|
|
581
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
642
582
|
"hasDynamicHelp": false,
|
|
643
583
|
"multiple": false,
|
|
644
584
|
"type": "option"
|
|
@@ -650,7 +590,7 @@
|
|
|
650
590
|
"char": "t",
|
|
651
591
|
"deprecateAliases": true,
|
|
652
592
|
"name": "use-tooling-api",
|
|
653
|
-
"summary": "Use Tooling API so you can
|
|
593
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
654
594
|
"allowNo": false,
|
|
655
595
|
"type": "boolean"
|
|
656
596
|
},
|
|
@@ -668,64 +608,62 @@
|
|
|
668
608
|
},
|
|
669
609
|
"hasDynamicHelp": true,
|
|
670
610
|
"hiddenAliases": [],
|
|
671
|
-
"id": "data:
|
|
611
|
+
"id": "data:create:record",
|
|
672
612
|
"pluginAlias": "@salesforce/plugin-data",
|
|
673
613
|
"pluginName": "@salesforce/plugin-data",
|
|
674
614
|
"pluginType": "core",
|
|
675
615
|
"strict": true,
|
|
676
|
-
"summary": "
|
|
616
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
677
617
|
"enableJsonFlag": true,
|
|
678
618
|
"isESM": true,
|
|
679
619
|
"relativePath": [
|
|
680
620
|
"lib",
|
|
681
621
|
"commands",
|
|
682
622
|
"data",
|
|
683
|
-
"
|
|
623
|
+
"create",
|
|
684
624
|
"record.js"
|
|
685
625
|
],
|
|
686
626
|
"aliasPermutations": [
|
|
687
|
-
"force:data:record:
|
|
688
|
-
"data:force:record:
|
|
689
|
-
"data:record:force:
|
|
690
|
-
"data:record:
|
|
691
|
-
"force:record:data:
|
|
692
|
-
"record:force:data:
|
|
693
|
-
"record:data:force:
|
|
694
|
-
"record:data:
|
|
695
|
-
"force:record:
|
|
696
|
-
"record:force:
|
|
697
|
-
"record:
|
|
698
|
-
"record:
|
|
699
|
-
"force:data:
|
|
700
|
-
"data:force:
|
|
701
|
-
"data:
|
|
702
|
-
"data:
|
|
703
|
-
"force:
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
"
|
|
707
|
-
"force:
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
"
|
|
627
|
+
"force:data:record:create",
|
|
628
|
+
"data:force:record:create",
|
|
629
|
+
"data:record:force:create",
|
|
630
|
+
"data:record:create:force",
|
|
631
|
+
"force:record:data:create",
|
|
632
|
+
"record:force:data:create",
|
|
633
|
+
"record:data:force:create",
|
|
634
|
+
"record:data:create:force",
|
|
635
|
+
"force:record:create:data",
|
|
636
|
+
"record:force:create:data",
|
|
637
|
+
"record:create:force:data",
|
|
638
|
+
"record:create:data:force",
|
|
639
|
+
"force:data:create:record",
|
|
640
|
+
"data:force:create:record",
|
|
641
|
+
"data:create:force:record",
|
|
642
|
+
"data:create:record:force",
|
|
643
|
+
"force:create:data:record",
|
|
644
|
+
"create:force:data:record",
|
|
645
|
+
"create:data:force:record",
|
|
646
|
+
"create:data:record:force",
|
|
647
|
+
"force:create:record:data",
|
|
648
|
+
"create:force:record:data",
|
|
649
|
+
"create:record:force:data",
|
|
650
|
+
"create:record:data:force"
|
|
711
651
|
],
|
|
712
652
|
"permutations": [
|
|
713
|
-
"data:
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"data:record:
|
|
717
|
-
"record:data:
|
|
718
|
-
"record:
|
|
653
|
+
"data:create:record",
|
|
654
|
+
"create:data:record",
|
|
655
|
+
"create:record:data",
|
|
656
|
+
"data:record:create",
|
|
657
|
+
"record:data:create",
|
|
658
|
+
"record:create:data"
|
|
719
659
|
]
|
|
720
660
|
},
|
|
721
|
-
"data:
|
|
661
|
+
"data:bulk:results": {
|
|
722
662
|
"aliases": [],
|
|
723
663
|
"args": {},
|
|
724
|
-
"
|
|
725
|
-
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
664
|
+
"description": "Use this command to get the complete results after running one of the CLI commands that uses Bulk API 2.0 to ingest (import, update, upsert, or delete) large datasets to your org, such as \"data import bulk\". The previously-run bulk command must have completed; if it's still processing, run the corresponding resume command first, such as \"data import resume.\" Make note of the job ID of the previous bulk command because you use it to run this command. \n\nYou can also use this command to get results from running a bulk ingest job with a different tool, such as Data Loader, as long as you have the job ID. For information on Data Loader, see https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/data_loader_intro.htm. \n\nThis command first displays the status of the previous bulk job, the operation that was executed in the org (such as insert or hard delete), and the updated Salesforce object. The command then displays how many records were processed in total, and how many were successful or failed. Finally, the output displays the names of the generated CSV-formatted files that contain the specific results for each ingested record. Depending on the success or failure of the bulk command, the results files can include the IDs of inserted records or the specific errors. When possible, if the ingest job failed or was aborted, you also get a CSV file with the unprocessed results.",
|
|
726
665
|
"examples": [
|
|
727
|
-
"
|
|
728
|
-
"Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
666
|
+
"Get results from a bulk ingest job; use the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --job-id 7507i000fake341G --target-org my-scratch"
|
|
729
667
|
],
|
|
730
668
|
"flags": {
|
|
731
669
|
"json": {
|
|
@@ -743,45 +681,21 @@
|
|
|
743
681
|
"multiple": false,
|
|
744
682
|
"type": "option"
|
|
745
683
|
},
|
|
746
|
-
"target-org": {
|
|
747
|
-
"aliases": [
|
|
748
|
-
"targetusername",
|
|
749
|
-
"u"
|
|
750
|
-
],
|
|
751
|
-
"char": "o",
|
|
752
|
-
"deprecateAliases": true,
|
|
753
|
-
"name": "target-org",
|
|
754
|
-
"noCacheDefault": 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
684
|
"job-id": {
|
|
761
|
-
"aliases": [
|
|
762
|
-
"jobid"
|
|
763
|
-
],
|
|
764
685
|
"char": "i",
|
|
765
|
-
"deprecateAliases": true,
|
|
766
686
|
"name": "job-id",
|
|
767
|
-
"
|
|
687
|
+
"required": true,
|
|
688
|
+
"summary": "Job ID of the bulk job.",
|
|
768
689
|
"hasDynamicHelp": false,
|
|
769
690
|
"multiple": false,
|
|
770
691
|
"type": "option"
|
|
771
692
|
},
|
|
772
|
-
"
|
|
773
|
-
"
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
"
|
|
777
|
-
"summary": "
|
|
778
|
-
"allowNo": false,
|
|
779
|
-
"type": "boolean"
|
|
780
|
-
},
|
|
781
|
-
"wait": {
|
|
782
|
-
"name": "wait",
|
|
783
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
784
|
-
"default": "5 minutes",
|
|
693
|
+
"target-org": {
|
|
694
|
+
"char": "o",
|
|
695
|
+
"name": "target-org",
|
|
696
|
+
"noCacheDefault": true,
|
|
697
|
+
"required": true,
|
|
698
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
785
699
|
"hasDynamicHelp": true,
|
|
786
700
|
"multiple": false,
|
|
787
701
|
"type": "option"
|
|
@@ -792,53 +706,42 @@
|
|
|
792
706
|
"hasDynamicHelp": false,
|
|
793
707
|
"multiple": false,
|
|
794
708
|
"type": "option"
|
|
795
|
-
},
|
|
796
|
-
"loglevel": {
|
|
797
|
-
"deprecated": {
|
|
798
|
-
"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."
|
|
799
|
-
},
|
|
800
|
-
"hidden": true,
|
|
801
|
-
"name": "loglevel",
|
|
802
|
-
"hasDynamicHelp": false,
|
|
803
|
-
"multiple": false,
|
|
804
|
-
"type": "option"
|
|
805
709
|
}
|
|
806
710
|
},
|
|
807
711
|
"hasDynamicHelp": true,
|
|
808
712
|
"hiddenAliases": [],
|
|
809
|
-
"id": "data:
|
|
713
|
+
"id": "data:bulk:results",
|
|
810
714
|
"pluginAlias": "@salesforce/plugin-data",
|
|
811
715
|
"pluginName": "@salesforce/plugin-data",
|
|
812
716
|
"pluginType": "core",
|
|
813
717
|
"strict": true,
|
|
814
|
-
"summary": "
|
|
718
|
+
"summary": "Get the results of a bulk ingest job that you previously ran.",
|
|
815
719
|
"enableJsonFlag": true,
|
|
816
720
|
"isESM": true,
|
|
817
721
|
"relativePath": [
|
|
818
722
|
"lib",
|
|
819
723
|
"commands",
|
|
820
724
|
"data",
|
|
821
|
-
"
|
|
822
|
-
"
|
|
725
|
+
"bulk",
|
|
726
|
+
"results.js"
|
|
823
727
|
],
|
|
824
728
|
"aliasPermutations": [],
|
|
825
729
|
"permutations": [
|
|
826
|
-
"data:
|
|
827
|
-
"
|
|
828
|
-
"
|
|
829
|
-
"data:
|
|
830
|
-
"
|
|
831
|
-
"
|
|
730
|
+
"data:bulk:results",
|
|
731
|
+
"bulk:data:results",
|
|
732
|
+
"bulk:results:data",
|
|
733
|
+
"data:results:bulk",
|
|
734
|
+
"results:data:bulk",
|
|
735
|
+
"results:bulk:data"
|
|
832
736
|
]
|
|
833
737
|
},
|
|
834
|
-
"data:
|
|
738
|
+
"data:delete:bulk": {
|
|
835
739
|
"aliases": [],
|
|
836
740
|
"args": {},
|
|
837
|
-
"description": "
|
|
741
|
+
"description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job ID to check the status of the job with the \"<%= config.bin %> data delete resume\" command.",
|
|
838
742
|
"examples": [
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
743
|
+
"Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
|
|
744
|
+
"Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
|
|
842
745
|
],
|
|
843
746
|
"flags": {
|
|
844
747
|
"json": {
|
|
@@ -857,7 +760,12 @@
|
|
|
857
760
|
"type": "option"
|
|
858
761
|
},
|
|
859
762
|
"target-org": {
|
|
763
|
+
"aliases": [
|
|
764
|
+
"targetusername",
|
|
765
|
+
"u"
|
|
766
|
+
],
|
|
860
767
|
"char": "o",
|
|
768
|
+
"deprecateAliases": true,
|
|
861
769
|
"name": "target-org",
|
|
862
770
|
"noCacheDefault": true,
|
|
863
771
|
"required": true,
|
|
@@ -867,77 +775,122 @@
|
|
|
867
775
|
"type": "option"
|
|
868
776
|
},
|
|
869
777
|
"api-version": {
|
|
778
|
+
"aliases": [
|
|
779
|
+
"apiversion"
|
|
780
|
+
],
|
|
781
|
+
"deprecateAliases": true,
|
|
870
782
|
"description": "Override the api version used for api requests made by this command",
|
|
871
783
|
"name": "api-version",
|
|
872
784
|
"hasDynamicHelp": false,
|
|
873
785
|
"multiple": false,
|
|
874
786
|
"type": "option"
|
|
875
787
|
},
|
|
876
|
-
"
|
|
877
|
-
"
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
"
|
|
788
|
+
"loglevel": {
|
|
789
|
+
"deprecated": {
|
|
790
|
+
"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."
|
|
791
|
+
},
|
|
792
|
+
"hidden": true,
|
|
793
|
+
"name": "loglevel",
|
|
881
794
|
"hasDynamicHelp": false,
|
|
882
795
|
"multiple": false,
|
|
883
796
|
"type": "option"
|
|
884
797
|
},
|
|
885
798
|
"file": {
|
|
799
|
+
"aliases": [
|
|
800
|
+
"csvfile"
|
|
801
|
+
],
|
|
886
802
|
"char": "f",
|
|
803
|
+
"deprecateAliases": true,
|
|
887
804
|
"name": "file",
|
|
888
805
|
"required": true,
|
|
889
|
-
"summary": "
|
|
806
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
890
807
|
"hasDynamicHelp": false,
|
|
891
808
|
"multiple": false,
|
|
892
809
|
"type": "option"
|
|
893
810
|
},
|
|
894
|
-
"
|
|
895
|
-
"
|
|
896
|
-
|
|
897
|
-
|
|
811
|
+
"sobject": {
|
|
812
|
+
"aliases": [
|
|
813
|
+
"sobjecttype"
|
|
814
|
+
],
|
|
815
|
+
"char": "s",
|
|
816
|
+
"deprecateAliases": true,
|
|
817
|
+
"name": "sobject",
|
|
818
|
+
"required": true,
|
|
819
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
820
|
+
"hasDynamicHelp": false,
|
|
821
|
+
"multiple": false,
|
|
822
|
+
"type": "option"
|
|
823
|
+
},
|
|
824
|
+
"wait": {
|
|
825
|
+
"char": "w",
|
|
826
|
+
"name": "wait",
|
|
827
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
828
|
+
"default": "0 minutes",
|
|
829
|
+
"hasDynamicHelp": true,
|
|
830
|
+
"multiple": false,
|
|
831
|
+
"type": "option"
|
|
832
|
+
},
|
|
833
|
+
"line-ending": {
|
|
834
|
+
"dependsOn": [
|
|
835
|
+
"file"
|
|
836
|
+
],
|
|
837
|
+
"name": "line-ending",
|
|
838
|
+
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
898
839
|
"hasDynamicHelp": false,
|
|
899
840
|
"multiple": false,
|
|
841
|
+
"options": [
|
|
842
|
+
"CRLF",
|
|
843
|
+
"LF"
|
|
844
|
+
],
|
|
900
845
|
"type": "option"
|
|
846
|
+
},
|
|
847
|
+
"hard-delete": {
|
|
848
|
+
"description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
|
|
849
|
+
"name": "hard-delete",
|
|
850
|
+
"summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
|
|
851
|
+
"allowNo": false,
|
|
852
|
+
"type": "boolean"
|
|
901
853
|
}
|
|
902
854
|
},
|
|
903
855
|
"hasDynamicHelp": true,
|
|
904
856
|
"hiddenAliases": [],
|
|
905
|
-
"id": "data:
|
|
857
|
+
"id": "data:delete:bulk",
|
|
906
858
|
"pluginAlias": "@salesforce/plugin-data",
|
|
907
859
|
"pluginName": "@salesforce/plugin-data",
|
|
908
860
|
"pluginType": "core",
|
|
909
861
|
"strict": true,
|
|
910
|
-
"summary": "
|
|
862
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
911
863
|
"enableJsonFlag": true,
|
|
912
864
|
"isESM": true,
|
|
913
865
|
"relativePath": [
|
|
914
866
|
"lib",
|
|
915
867
|
"commands",
|
|
916
868
|
"data",
|
|
917
|
-
"
|
|
918
|
-
"
|
|
869
|
+
"delete",
|
|
870
|
+
"bulk.js"
|
|
919
871
|
],
|
|
920
872
|
"aliasPermutations": [],
|
|
921
873
|
"permutations": [
|
|
922
|
-
"data:
|
|
923
|
-
"
|
|
924
|
-
"
|
|
925
|
-
"data:
|
|
926
|
-
"
|
|
927
|
-
"
|
|
874
|
+
"data:delete:bulk",
|
|
875
|
+
"delete:data:bulk",
|
|
876
|
+
"delete:bulk:data",
|
|
877
|
+
"data:bulk:delete",
|
|
878
|
+
"bulk:data:delete",
|
|
879
|
+
"bulk:delete:data"
|
|
928
880
|
]
|
|
929
881
|
},
|
|
930
|
-
"data:
|
|
882
|
+
"data:delete:record": {
|
|
931
883
|
"aliases": [
|
|
932
|
-
"force:data:record:
|
|
884
|
+
"force:data:record:delete"
|
|
933
885
|
],
|
|
934
886
|
"args": {},
|
|
935
887
|
"deprecateAliases": true,
|
|
936
|
-
"description": "
|
|
888
|
+
"description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, 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 deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
|
|
937
889
|
"examples": [
|
|
938
|
-
"
|
|
939
|
-
"
|
|
940
|
-
"
|
|
890
|
+
"Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
891
|
+
"Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
892
|
+
"Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
|
|
893
|
+
"Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
941
894
|
],
|
|
942
895
|
"flags": {
|
|
943
896
|
"json": {
|
|
@@ -999,16 +952,27 @@
|
|
|
999
952
|
"deprecateAliases": true,
|
|
1000
953
|
"name": "sobject",
|
|
1001
954
|
"required": true,
|
|
1002
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
955
|
+
"summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
|
|
1003
956
|
"hasDynamicHelp": false,
|
|
1004
957
|
"multiple": false,
|
|
1005
958
|
"type": "option"
|
|
1006
959
|
},
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
"
|
|
960
|
+
"record-id": {
|
|
961
|
+
"aliases": [
|
|
962
|
+
"sobjectid"
|
|
963
|
+
],
|
|
964
|
+
"char": "i",
|
|
965
|
+
"deprecateAliases": true,
|
|
966
|
+
"name": "record-id",
|
|
967
|
+
"summary": "ID of the record you’re deleting.",
|
|
968
|
+
"hasDynamicHelp": false,
|
|
969
|
+
"multiple": false,
|
|
970
|
+
"type": "option"
|
|
971
|
+
},
|
|
972
|
+
"where": {
|
|
973
|
+
"char": "w",
|
|
974
|
+
"name": "where",
|
|
975
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
1012
976
|
"hasDynamicHelp": false,
|
|
1013
977
|
"multiple": false,
|
|
1014
978
|
"type": "option"
|
|
@@ -1020,7 +984,7 @@
|
|
|
1020
984
|
"char": "t",
|
|
1021
985
|
"deprecateAliases": true,
|
|
1022
986
|
"name": "use-tooling-api",
|
|
1023
|
-
"summary": "Use Tooling API so you can
|
|
987
|
+
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
1024
988
|
"allowNo": false,
|
|
1025
989
|
"type": "boolean"
|
|
1026
990
|
},
|
|
@@ -1038,62 +1002,64 @@
|
|
|
1038
1002
|
},
|
|
1039
1003
|
"hasDynamicHelp": true,
|
|
1040
1004
|
"hiddenAliases": [],
|
|
1041
|
-
"id": "data:
|
|
1005
|
+
"id": "data:delete:record",
|
|
1042
1006
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1043
1007
|
"pluginName": "@salesforce/plugin-data",
|
|
1044
1008
|
"pluginType": "core",
|
|
1045
1009
|
"strict": true,
|
|
1046
|
-
"summary": "
|
|
1010
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
1047
1011
|
"enableJsonFlag": true,
|
|
1048
1012
|
"isESM": true,
|
|
1049
1013
|
"relativePath": [
|
|
1050
1014
|
"lib",
|
|
1051
1015
|
"commands",
|
|
1052
1016
|
"data",
|
|
1053
|
-
"
|
|
1017
|
+
"delete",
|
|
1054
1018
|
"record.js"
|
|
1055
1019
|
],
|
|
1056
1020
|
"aliasPermutations": [
|
|
1057
|
-
"force:data:record:
|
|
1058
|
-
"data:force:record:
|
|
1059
|
-
"data:record:force:
|
|
1060
|
-
"data:record:
|
|
1061
|
-
"force:record:data:
|
|
1062
|
-
"record:force:data:
|
|
1063
|
-
"record:data:force:
|
|
1064
|
-
"record:data:
|
|
1065
|
-
"force:record:
|
|
1066
|
-
"record:force:
|
|
1067
|
-
"record:
|
|
1068
|
-
"record:
|
|
1069
|
-
"force:data:
|
|
1070
|
-
"data:force:
|
|
1071
|
-
"data:
|
|
1072
|
-
"data:
|
|
1073
|
-
"force:
|
|
1074
|
-
"
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1077
|
-
"force:
|
|
1078
|
-
"
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1021
|
+
"force:data:record:delete",
|
|
1022
|
+
"data:force:record:delete",
|
|
1023
|
+
"data:record:force:delete",
|
|
1024
|
+
"data:record:delete:force",
|
|
1025
|
+
"force:record:data:delete",
|
|
1026
|
+
"record:force:data:delete",
|
|
1027
|
+
"record:data:force:delete",
|
|
1028
|
+
"record:data:delete:force",
|
|
1029
|
+
"force:record:delete:data",
|
|
1030
|
+
"record:force:delete:data",
|
|
1031
|
+
"record:delete:force:data",
|
|
1032
|
+
"record:delete:data:force",
|
|
1033
|
+
"force:data:delete:record",
|
|
1034
|
+
"data:force:delete:record",
|
|
1035
|
+
"data:delete:force:record",
|
|
1036
|
+
"data:delete:record:force",
|
|
1037
|
+
"force:delete:data:record",
|
|
1038
|
+
"delete:force:data:record",
|
|
1039
|
+
"delete:data:force:record",
|
|
1040
|
+
"delete:data:record:force",
|
|
1041
|
+
"force:delete:record:data",
|
|
1042
|
+
"delete:force:record:data",
|
|
1043
|
+
"delete:record:force:data",
|
|
1044
|
+
"delete:record:data:force"
|
|
1081
1045
|
],
|
|
1082
1046
|
"permutations": [
|
|
1083
|
-
"data:
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
-
"data:record:
|
|
1087
|
-
"record:data:
|
|
1088
|
-
"record:
|
|
1047
|
+
"data:delete:record",
|
|
1048
|
+
"delete:data:record",
|
|
1049
|
+
"delete:record:data",
|
|
1050
|
+
"data:record:delete",
|
|
1051
|
+
"record:data:delete",
|
|
1052
|
+
"record:delete:data"
|
|
1089
1053
|
]
|
|
1090
1054
|
},
|
|
1091
|
-
"data:
|
|
1055
|
+
"data:delete:resume": {
|
|
1092
1056
|
"aliases": [],
|
|
1093
1057
|
"args": {},
|
|
1094
|
-
"
|
|
1058
|
+
"deprecateAliases": true,
|
|
1059
|
+
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
1095
1060
|
"examples": [
|
|
1096
|
-
"
|
|
1061
|
+
"Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
1062
|
+
"Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
1097
1063
|
],
|
|
1098
1064
|
"flags": {
|
|
1099
1065
|
"json": {
|
|
@@ -1111,21 +1077,45 @@
|
|
|
1111
1077
|
"multiple": false,
|
|
1112
1078
|
"type": "option"
|
|
1113
1079
|
},
|
|
1080
|
+
"target-org": {
|
|
1081
|
+
"aliases": [
|
|
1082
|
+
"targetusername",
|
|
1083
|
+
"u"
|
|
1084
|
+
],
|
|
1085
|
+
"char": "o",
|
|
1086
|
+
"deprecateAliases": true,
|
|
1087
|
+
"name": "target-org",
|
|
1088
|
+
"noCacheDefault": true,
|
|
1089
|
+
"summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
|
|
1090
|
+
"hasDynamicHelp": true,
|
|
1091
|
+
"multiple": false,
|
|
1092
|
+
"type": "option"
|
|
1093
|
+
},
|
|
1114
1094
|
"job-id": {
|
|
1095
|
+
"aliases": [
|
|
1096
|
+
"jobid"
|
|
1097
|
+
],
|
|
1115
1098
|
"char": "i",
|
|
1099
|
+
"deprecateAliases": true,
|
|
1116
1100
|
"name": "job-id",
|
|
1117
|
-
"
|
|
1118
|
-
"summary": "Job ID of the bulk job.",
|
|
1101
|
+
"summary": "ID of the job you want to resume.",
|
|
1119
1102
|
"hasDynamicHelp": false,
|
|
1120
1103
|
"multiple": false,
|
|
1121
1104
|
"type": "option"
|
|
1122
1105
|
},
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
"
|
|
1128
|
-
"summary": "
|
|
1106
|
+
"use-most-recent": {
|
|
1107
|
+
"exclusive": [
|
|
1108
|
+
"job-id"
|
|
1109
|
+
],
|
|
1110
|
+
"name": "use-most-recent",
|
|
1111
|
+
"summary": "Use the ID of the most recently-run bulk job.",
|
|
1112
|
+
"allowNo": false,
|
|
1113
|
+
"type": "boolean"
|
|
1114
|
+
},
|
|
1115
|
+
"wait": {
|
|
1116
|
+
"name": "wait",
|
|
1117
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1118
|
+
"default": "5 minutes",
|
|
1129
1119
|
"hasDynamicHelp": true,
|
|
1130
1120
|
"multiple": false,
|
|
1131
1121
|
"type": "option"
|
|
@@ -1136,33 +1126,43 @@
|
|
|
1136
1126
|
"hasDynamicHelp": false,
|
|
1137
1127
|
"multiple": false,
|
|
1138
1128
|
"type": "option"
|
|
1129
|
+
},
|
|
1130
|
+
"loglevel": {
|
|
1131
|
+
"deprecated": {
|
|
1132
|
+
"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."
|
|
1133
|
+
},
|
|
1134
|
+
"hidden": true,
|
|
1135
|
+
"name": "loglevel",
|
|
1136
|
+
"hasDynamicHelp": false,
|
|
1137
|
+
"multiple": false,
|
|
1138
|
+
"type": "option"
|
|
1139
1139
|
}
|
|
1140
1140
|
},
|
|
1141
1141
|
"hasDynamicHelp": true,
|
|
1142
1142
|
"hiddenAliases": [],
|
|
1143
|
-
"id": "data:
|
|
1143
|
+
"id": "data:delete:resume",
|
|
1144
1144
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1145
1145
|
"pluginName": "@salesforce/plugin-data",
|
|
1146
1146
|
"pluginType": "core",
|
|
1147
1147
|
"strict": true,
|
|
1148
|
-
"summary": "
|
|
1148
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
1149
1149
|
"enableJsonFlag": true,
|
|
1150
1150
|
"isESM": true,
|
|
1151
1151
|
"relativePath": [
|
|
1152
1152
|
"lib",
|
|
1153
1153
|
"commands",
|
|
1154
1154
|
"data",
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1155
|
+
"delete",
|
|
1156
|
+
"resume.js"
|
|
1157
1157
|
],
|
|
1158
1158
|
"aliasPermutations": [],
|
|
1159
1159
|
"permutations": [
|
|
1160
|
-
"data:
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"data:
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1160
|
+
"data:delete:resume",
|
|
1161
|
+
"delete:data:resume",
|
|
1162
|
+
"delete:resume:data",
|
|
1163
|
+
"data:resume:delete",
|
|
1164
|
+
"resume:data:delete",
|
|
1165
|
+
"resume:delete:data"
|
|
1166
1166
|
]
|
|
1167
1167
|
},
|
|
1168
1168
|
"data:export:bulk": {
|
|
@@ -3166,5 +3166,5 @@
|
|
|
3166
3166
|
]
|
|
3167
3167
|
}
|
|
3168
3168
|
},
|
|
3169
|
-
"version": "4.0.
|
|
3169
|
+
"version": "4.0.91"
|
|
3170
3170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.91",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"ansis": "^3.16.0",
|
|
133
133
|
"change-case": "^5.4.4",
|
|
134
134
|
"csv-parse": "^5.6.0",
|
|
135
|
-
"csv-stringify": "^6.
|
|
135
|
+
"csv-stringify": "^6.7.0",
|
|
136
136
|
"form-data": "^4.0.5",
|
|
137
137
|
"terminal-link": "^3.0.0",
|
|
138
138
|
"undici": "^7.24.7",
|
|
@@ -140,14 +140,14 @@
|
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@oclif/core": "^4.10.5",
|
|
143
|
-
"@oclif/plugin-command-snapshot": "^5.3.
|
|
144
|
-
"@oclif/test": "^4.1.
|
|
143
|
+
"@oclif/plugin-command-snapshot": "^5.3.15",
|
|
144
|
+
"@oclif/test": "^4.1.18",
|
|
145
145
|
"@salesforce/cli-plugins-testkit": "^5.3.50",
|
|
146
146
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
147
147
|
"@salesforce/plugin-command-reference": "^3.1.86",
|
|
148
148
|
"@salesforce/types": "^1.6.0",
|
|
149
149
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
150
|
-
"oclif": "^4.
|
|
150
|
+
"oclif": "^4.23.0",
|
|
151
151
|
"ts-node": "^10.9.2",
|
|
152
152
|
"typescript": "^5.8.3"
|
|
153
153
|
},
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"exports": "./lib/index.js",
|
|
275
275
|
"type": "module",
|
|
276
276
|
"sfdx": {
|
|
277
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
278
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
277
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.91.crt",
|
|
278
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.91.sig"
|
|
279
279
|
}
|
|
280
280
|
}
|