@salesforce/plugin-data 5.1.3 → 5.1.5
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 +306 -306
- package/package.json +8 -8
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/5.1.
|
|
147
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/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/5.1.
|
|
196
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/create/file.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf data create record`
|
|
199
199
|
|
|
@@ -252,7 +252,7 @@ EXAMPLES
|
|
|
252
252
|
TracedEntityId=01p17000000R6bLAAS"
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
255
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/create/record.ts)_
|
|
256
256
|
|
|
257
257
|
## `sf data delete bulk`
|
|
258
258
|
|
|
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
|
|
|
311
311
|
and can be enabled only by a system administrator.
|
|
312
312
|
```
|
|
313
313
|
|
|
314
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
314
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/delete/bulk.ts)_
|
|
315
315
|
|
|
316
316
|
## `sf data delete record`
|
|
317
317
|
|
|
@@ -372,7 +372,7 @@ EXAMPLES
|
|
|
372
372
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
375
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/delete/record.ts)_
|
|
376
376
|
|
|
377
377
|
## `sf data delete resume`
|
|
378
378
|
|
|
@@ -411,7 +411,7 @@ EXAMPLES
|
|
|
411
411
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
412
412
|
```
|
|
413
413
|
|
|
414
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
414
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/delete/resume.ts)_
|
|
415
415
|
|
|
416
416
|
## `sf data export bulk`
|
|
417
417
|
|
|
@@ -478,7 +478,7 @@ EXAMPLES
|
|
|
478
478
|
--result-format json --wait 10 --all-rows
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
481
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/export/bulk.ts)_
|
|
482
482
|
|
|
483
483
|
## `sf data export resume`
|
|
484
484
|
|
|
@@ -517,7 +517,7 @@ EXAMPLES
|
|
|
517
517
|
$ sf data export resume --use-most-recent
|
|
518
518
|
```
|
|
519
519
|
|
|
520
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
520
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/export/resume.ts)_
|
|
521
521
|
|
|
522
522
|
## `sf data export tree`
|
|
523
523
|
|
|
@@ -577,7 +577,7 @@ EXAMPLES
|
|
|
577
577
|
my-scratch
|
|
578
578
|
```
|
|
579
579
|
|
|
580
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
580
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/export/tree.ts)_
|
|
581
581
|
|
|
582
582
|
## `sf data get record`
|
|
583
583
|
|
|
@@ -641,7 +641,7 @@ EXAMPLES
|
|
|
641
641
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
642
642
|
```
|
|
643
643
|
|
|
644
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
644
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/get/record.ts)_
|
|
645
645
|
|
|
646
646
|
## `sf data import bulk`
|
|
647
647
|
|
|
@@ -693,7 +693,7 @@ EXAMPLES
|
|
|
693
693
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
694
694
|
```
|
|
695
695
|
|
|
696
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
696
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/import/bulk.ts)_
|
|
697
697
|
|
|
698
698
|
## `sf data import resume`
|
|
699
699
|
|
|
@@ -729,7 +729,7 @@ EXAMPLES
|
|
|
729
729
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
730
730
|
```
|
|
731
731
|
|
|
732
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
732
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/import/resume.ts)_
|
|
733
733
|
|
|
734
734
|
## `sf data import tree`
|
|
735
735
|
|
|
@@ -793,7 +793,7 @@ FLAG DESCRIPTIONS
|
|
|
793
793
|
- files(array) - Files: An array of files paths to load
|
|
794
794
|
```
|
|
795
795
|
|
|
796
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
796
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/import/tree.ts)_
|
|
797
797
|
|
|
798
798
|
## `sf data query`
|
|
799
799
|
|
|
@@ -846,7 +846,7 @@ EXAMPLES
|
|
|
846
846
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
847
847
|
```
|
|
848
848
|
|
|
849
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
849
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/query.ts)_
|
|
850
850
|
|
|
851
851
|
## `sf data resume`
|
|
852
852
|
|
|
@@ -883,7 +883,7 @@ EXAMPLES
|
|
|
883
883
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
884
884
|
```
|
|
885
885
|
|
|
886
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
886
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/resume.ts)_
|
|
887
887
|
|
|
888
888
|
## `sf data search`
|
|
889
889
|
|
|
@@ -933,7 +933,7 @@ EXAMPLES
|
|
|
933
933
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
934
934
|
```
|
|
935
935
|
|
|
936
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
936
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/search.ts)_
|
|
937
937
|
|
|
938
938
|
## `sf data update bulk`
|
|
939
939
|
|
|
@@ -988,7 +988,7 @@ EXAMPLES
|
|
|
988
988
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
989
989
|
```
|
|
990
990
|
|
|
991
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
991
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/update/bulk.ts)_
|
|
992
992
|
|
|
993
993
|
## `sf data update record`
|
|
994
994
|
|
|
@@ -1052,7 +1052,7 @@ EXAMPLES
|
|
|
1052
1052
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1053
1053
|
```
|
|
1054
1054
|
|
|
1055
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1055
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/update/record.ts)_
|
|
1056
1056
|
|
|
1057
1057
|
## `sf data update resume`
|
|
1058
1058
|
|
|
@@ -1091,7 +1091,7 @@ EXAMPLES
|
|
|
1091
1091
|
$ sf data update resume --use-most-recent
|
|
1092
1092
|
```
|
|
1093
1093
|
|
|
1094
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1094
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/update/resume.ts)_
|
|
1095
1095
|
|
|
1096
1096
|
## `sf data upsert bulk`
|
|
1097
1097
|
|
|
@@ -1147,7 +1147,7 @@ EXAMPLES
|
|
|
1147
1147
|
my-scratch
|
|
1148
1148
|
```
|
|
1149
1149
|
|
|
1150
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1150
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/upsert/bulk.ts)_
|
|
1151
1151
|
|
|
1152
1152
|
## `sf data upsert resume`
|
|
1153
1153
|
|
|
@@ -1186,7 +1186,7 @@ EXAMPLES
|
|
|
1186
1186
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1187
1187
|
```
|
|
1188
1188
|
|
|
1189
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1189
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/data/upsert/resume.ts)_
|
|
1190
1190
|
|
|
1191
1191
|
## `sf force data bulk delete`
|
|
1192
1192
|
|
|
@@ -1233,7 +1233,7 @@ EXAMPLES
|
|
|
1233
1233
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1234
1234
|
```
|
|
1235
1235
|
|
|
1236
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1236
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/force/data/bulk/delete.ts)_
|
|
1237
1237
|
|
|
1238
1238
|
## `sf force data bulk status`
|
|
1239
1239
|
|
|
@@ -1270,7 +1270,7 @@ EXAMPLES
|
|
|
1270
1270
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1271
1271
|
```
|
|
1272
1272
|
|
|
1273
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1273
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/force/data/bulk/status.ts)_
|
|
1274
1274
|
|
|
1275
1275
|
## `sf force data bulk upsert`
|
|
1276
1276
|
|
|
@@ -1328,6 +1328,6 @@ EXAMPLES
|
|
|
1328
1328
|
--target-org my-scratch
|
|
1329
1329
|
```
|
|
1330
1330
|
|
|
1331
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.
|
|
1331
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/5.1.5/src/commands/force/data/bulk/upsert.ts)_
|
|
1332
1332
|
|
|
1333
1333
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -478,13 +478,14 @@
|
|
|
478
478
|
"results:bulk:data"
|
|
479
479
|
]
|
|
480
480
|
},
|
|
481
|
-
"data:
|
|
481
|
+
"data:create:file": {
|
|
482
482
|
"aliases": [],
|
|
483
483
|
"args": {},
|
|
484
|
-
"description": "
|
|
484
|
+
"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.",
|
|
485
485
|
"examples": [
|
|
486
|
-
"
|
|
487
|
-
"
|
|
486
|
+
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
487
|
+
"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",
|
|
488
|
+
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
488
489
|
],
|
|
489
490
|
"flags": {
|
|
490
491
|
"json": {
|
|
@@ -503,12 +504,7 @@
|
|
|
503
504
|
"type": "option"
|
|
504
505
|
},
|
|
505
506
|
"target-org": {
|
|
506
|
-
"aliases": [
|
|
507
|
-
"targetusername",
|
|
508
|
-
"u"
|
|
509
|
-
],
|
|
510
507
|
"char": "o",
|
|
511
|
-
"deprecateAliases": true,
|
|
512
508
|
"name": "target-org",
|
|
513
509
|
"noCacheDefault": true,
|
|
514
510
|
"required": true,
|
|
@@ -518,122 +514,77 @@
|
|
|
518
514
|
"type": "option"
|
|
519
515
|
},
|
|
520
516
|
"api-version": {
|
|
521
|
-
"aliases": [
|
|
522
|
-
"apiversion"
|
|
523
|
-
],
|
|
524
|
-
"deprecateAliases": true,
|
|
525
517
|
"description": "Override the api version used for api requests made by this command",
|
|
526
518
|
"name": "api-version",
|
|
527
519
|
"hasDynamicHelp": false,
|
|
528
520
|
"multiple": false,
|
|
529
521
|
"type": "option"
|
|
530
522
|
},
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
"
|
|
536
|
-
"name": "loglevel",
|
|
523
|
+
"title": {
|
|
524
|
+
"char": "t",
|
|
525
|
+
"name": "title",
|
|
526
|
+
"required": false,
|
|
527
|
+
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
537
528
|
"hasDynamicHelp": false,
|
|
538
529
|
"multiple": false,
|
|
539
530
|
"type": "option"
|
|
540
531
|
},
|
|
541
532
|
"file": {
|
|
542
|
-
"aliases": [
|
|
543
|
-
"csvfile"
|
|
544
|
-
],
|
|
545
533
|
"char": "f",
|
|
546
|
-
"deprecateAliases": true,
|
|
547
534
|
"name": "file",
|
|
548
535
|
"required": true,
|
|
549
|
-
"summary": "
|
|
550
|
-
"hasDynamicHelp": false,
|
|
551
|
-
"multiple": false,
|
|
552
|
-
"type": "option"
|
|
553
|
-
},
|
|
554
|
-
"sobject": {
|
|
555
|
-
"aliases": [
|
|
556
|
-
"sobjecttype"
|
|
557
|
-
],
|
|
558
|
-
"char": "s",
|
|
559
|
-
"deprecateAliases": true,
|
|
560
|
-
"name": "sobject",
|
|
561
|
-
"required": true,
|
|
562
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
536
|
+
"summary": "Path of file to upload.",
|
|
563
537
|
"hasDynamicHelp": false,
|
|
564
538
|
"multiple": false,
|
|
565
539
|
"type": "option"
|
|
566
540
|
},
|
|
567
|
-
"
|
|
568
|
-
"char": "
|
|
569
|
-
"name": "
|
|
570
|
-
"summary": "
|
|
571
|
-
"default": "0 minutes",
|
|
572
|
-
"hasDynamicHelp": true,
|
|
573
|
-
"multiple": false,
|
|
574
|
-
"type": "option"
|
|
575
|
-
},
|
|
576
|
-
"line-ending": {
|
|
577
|
-
"dependsOn": [
|
|
578
|
-
"file"
|
|
579
|
-
],
|
|
580
|
-
"name": "line-ending",
|
|
581
|
-
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
541
|
+
"parent-id": {
|
|
542
|
+
"char": "i",
|
|
543
|
+
"name": "parent-id",
|
|
544
|
+
"summary": "ID of the record to attach the file to.",
|
|
582
545
|
"hasDynamicHelp": false,
|
|
583
546
|
"multiple": false,
|
|
584
|
-
"options": [
|
|
585
|
-
"CRLF",
|
|
586
|
-
"LF"
|
|
587
|
-
],
|
|
588
547
|
"type": "option"
|
|
589
|
-
},
|
|
590
|
-
"hard-delete": {
|
|
591
|
-
"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.",
|
|
592
|
-
"name": "hard-delete",
|
|
593
|
-
"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.",
|
|
594
|
-
"allowNo": false,
|
|
595
|
-
"type": "boolean"
|
|
596
548
|
}
|
|
597
549
|
},
|
|
598
550
|
"hasDynamicHelp": true,
|
|
599
551
|
"hiddenAliases": [],
|
|
600
|
-
"id": "data:
|
|
552
|
+
"id": "data:create:file",
|
|
601
553
|
"pluginAlias": "@salesforce/plugin-data",
|
|
602
554
|
"pluginName": "@salesforce/plugin-data",
|
|
603
555
|
"pluginType": "core",
|
|
604
556
|
"strict": true,
|
|
605
|
-
"summary": "
|
|
557
|
+
"summary": "Upload a local file to an org.",
|
|
606
558
|
"enableJsonFlag": true,
|
|
607
559
|
"isESM": true,
|
|
608
560
|
"relativePath": [
|
|
609
561
|
"lib",
|
|
610
562
|
"commands",
|
|
611
563
|
"data",
|
|
612
|
-
"
|
|
613
|
-
"
|
|
564
|
+
"create",
|
|
565
|
+
"file.js"
|
|
614
566
|
],
|
|
615
567
|
"aliasPermutations": [],
|
|
616
568
|
"permutations": [
|
|
617
|
-
"data:
|
|
618
|
-
"
|
|
619
|
-
"
|
|
620
|
-
"data:
|
|
621
|
-
"
|
|
622
|
-
"
|
|
569
|
+
"data:create:file",
|
|
570
|
+
"create:data:file",
|
|
571
|
+
"create:file:data",
|
|
572
|
+
"data:file:create",
|
|
573
|
+
"file:data:create",
|
|
574
|
+
"file:create:data"
|
|
623
575
|
]
|
|
624
576
|
},
|
|
625
|
-
"data:
|
|
577
|
+
"data:create:record": {
|
|
626
578
|
"aliases": [
|
|
627
|
-
"force:data:record:
|
|
579
|
+
"force:data:record:create"
|
|
628
580
|
],
|
|
629
581
|
"args": {},
|
|
630
582
|
"deprecateAliases": true,
|
|
631
|
-
"description": "
|
|
583
|
+
"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.",
|
|
632
584
|
"examples": [
|
|
633
|
-
"
|
|
634
|
-
"
|
|
635
|
-
"
|
|
636
|
-
"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"
|
|
585
|
+
"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\"",
|
|
586
|
+
"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",
|
|
587
|
+
"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\""
|
|
637
588
|
],
|
|
638
589
|
"flags": {
|
|
639
590
|
"json": {
|
|
@@ -695,27 +646,16 @@
|
|
|
695
646
|
"deprecateAliases": true,
|
|
696
647
|
"name": "sobject",
|
|
697
648
|
"required": true,
|
|
698
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
699
|
-
"hasDynamicHelp": false,
|
|
700
|
-
"multiple": false,
|
|
701
|
-
"type": "option"
|
|
702
|
-
},
|
|
703
|
-
"record-id": {
|
|
704
|
-
"aliases": [
|
|
705
|
-
"sobjectid"
|
|
706
|
-
],
|
|
707
|
-
"char": "i",
|
|
708
|
-
"deprecateAliases": true,
|
|
709
|
-
"name": "record-id",
|
|
710
|
-
"summary": "ID of the record you’re deleting.",
|
|
649
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
711
650
|
"hasDynamicHelp": false,
|
|
712
651
|
"multiple": false,
|
|
713
652
|
"type": "option"
|
|
714
653
|
},
|
|
715
|
-
"
|
|
716
|
-
"char": "
|
|
717
|
-
"name": "
|
|
718
|
-
"
|
|
654
|
+
"values": {
|
|
655
|
+
"char": "v",
|
|
656
|
+
"name": "values",
|
|
657
|
+
"required": true,
|
|
658
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
719
659
|
"hasDynamicHelp": false,
|
|
720
660
|
"multiple": false,
|
|
721
661
|
"type": "option"
|
|
@@ -727,7 +667,7 @@
|
|
|
727
667
|
"char": "t",
|
|
728
668
|
"deprecateAliases": true,
|
|
729
669
|
"name": "use-tooling-api",
|
|
730
|
-
"summary": "Use Tooling API so you can
|
|
670
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
731
671
|
"allowNo": false,
|
|
732
672
|
"type": "boolean"
|
|
733
673
|
},
|
|
@@ -741,68 +681,73 @@
|
|
|
741
681
|
"summary": "Get API performance data.",
|
|
742
682
|
"allowNo": false,
|
|
743
683
|
"type": "boolean"
|
|
684
|
+
},
|
|
685
|
+
"skip-assignment-rules": {
|
|
686
|
+
"name": "skip-assignment-rules",
|
|
687
|
+
"summary": "Don't apply active assignment rules when creating the record; applies to Account, Case, and Lead records.",
|
|
688
|
+
"allowNo": false,
|
|
689
|
+
"type": "boolean"
|
|
744
690
|
}
|
|
745
691
|
},
|
|
746
692
|
"hasDynamicHelp": true,
|
|
747
693
|
"hiddenAliases": [],
|
|
748
|
-
"id": "data:
|
|
694
|
+
"id": "data:create:record",
|
|
749
695
|
"pluginAlias": "@salesforce/plugin-data",
|
|
750
696
|
"pluginName": "@salesforce/plugin-data",
|
|
751
697
|
"pluginType": "core",
|
|
752
698
|
"strict": true,
|
|
753
|
-
"summary": "
|
|
699
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
754
700
|
"enableJsonFlag": true,
|
|
755
701
|
"isESM": true,
|
|
756
702
|
"relativePath": [
|
|
757
703
|
"lib",
|
|
758
704
|
"commands",
|
|
759
705
|
"data",
|
|
760
|
-
"
|
|
706
|
+
"create",
|
|
761
707
|
"record.js"
|
|
762
708
|
],
|
|
763
709
|
"aliasPermutations": [
|
|
764
|
-
"force:data:record:
|
|
765
|
-
"data:force:record:
|
|
766
|
-
"data:record:force:
|
|
767
|
-
"data:record:
|
|
768
|
-
"force:record:data:
|
|
769
|
-
"record:force:data:
|
|
770
|
-
"record:data:force:
|
|
771
|
-
"record:data:
|
|
772
|
-
"force:record:
|
|
773
|
-
"record:force:
|
|
774
|
-
"record:
|
|
775
|
-
"record:
|
|
776
|
-
"force:data:
|
|
777
|
-
"data:force:
|
|
778
|
-
"data:
|
|
779
|
-
"data:
|
|
780
|
-
"force:
|
|
781
|
-
"
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
"force:
|
|
785
|
-
"
|
|
786
|
-
"
|
|
787
|
-
"
|
|
710
|
+
"force:data:record:create",
|
|
711
|
+
"data:force:record:create",
|
|
712
|
+
"data:record:force:create",
|
|
713
|
+
"data:record:create:force",
|
|
714
|
+
"force:record:data:create",
|
|
715
|
+
"record:force:data:create",
|
|
716
|
+
"record:data:force:create",
|
|
717
|
+
"record:data:create:force",
|
|
718
|
+
"force:record:create:data",
|
|
719
|
+
"record:force:create:data",
|
|
720
|
+
"record:create:force:data",
|
|
721
|
+
"record:create:data:force",
|
|
722
|
+
"force:data:create:record",
|
|
723
|
+
"data:force:create:record",
|
|
724
|
+
"data:create:force:record",
|
|
725
|
+
"data:create:record:force",
|
|
726
|
+
"force:create:data:record",
|
|
727
|
+
"create:force:data:record",
|
|
728
|
+
"create:data:force:record",
|
|
729
|
+
"create:data:record:force",
|
|
730
|
+
"force:create:record:data",
|
|
731
|
+
"create:force:record:data",
|
|
732
|
+
"create:record:force:data",
|
|
733
|
+
"create:record:data:force"
|
|
788
734
|
],
|
|
789
735
|
"permutations": [
|
|
790
|
-
"data:
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"data:record:
|
|
794
|
-
"record:data:
|
|
795
|
-
"record:
|
|
736
|
+
"data:create:record",
|
|
737
|
+
"create:data:record",
|
|
738
|
+
"create:record:data",
|
|
739
|
+
"data:record:create",
|
|
740
|
+
"record:data:create",
|
|
741
|
+
"record:create:data"
|
|
796
742
|
]
|
|
797
743
|
},
|
|
798
|
-
"data:delete:
|
|
744
|
+
"data:delete:bulk": {
|
|
799
745
|
"aliases": [],
|
|
800
746
|
"args": {},
|
|
801
|
-
"
|
|
802
|
-
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
747
|
+
"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.",
|
|
803
748
|
"examples": [
|
|
804
|
-
"
|
|
805
|
-
"
|
|
749
|
+
"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",
|
|
750
|
+
"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"
|
|
806
751
|
],
|
|
807
752
|
"flags": {
|
|
808
753
|
"json": {
|
|
@@ -829,41 +774,17 @@
|
|
|
829
774
|
"deprecateAliases": true,
|
|
830
775
|
"name": "target-org",
|
|
831
776
|
"noCacheDefault": true,
|
|
832
|
-
"
|
|
777
|
+
"required": true,
|
|
778
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
833
779
|
"hasDynamicHelp": true,
|
|
834
780
|
"multiple": false,
|
|
835
781
|
"type": "option"
|
|
836
782
|
},
|
|
837
|
-
"
|
|
783
|
+
"api-version": {
|
|
838
784
|
"aliases": [
|
|
839
|
-
"
|
|
785
|
+
"apiversion"
|
|
840
786
|
],
|
|
841
|
-
"char": "i",
|
|
842
787
|
"deprecateAliases": true,
|
|
843
|
-
"name": "job-id",
|
|
844
|
-
"summary": "ID of the job you want to resume.",
|
|
845
|
-
"hasDynamicHelp": false,
|
|
846
|
-
"multiple": false,
|
|
847
|
-
"type": "option"
|
|
848
|
-
},
|
|
849
|
-
"use-most-recent": {
|
|
850
|
-
"exclusive": [
|
|
851
|
-
"job-id"
|
|
852
|
-
],
|
|
853
|
-
"name": "use-most-recent",
|
|
854
|
-
"summary": "Use the ID of the most recently-run bulk job.",
|
|
855
|
-
"allowNo": false,
|
|
856
|
-
"type": "boolean"
|
|
857
|
-
},
|
|
858
|
-
"wait": {
|
|
859
|
-
"name": "wait",
|
|
860
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
861
|
-
"default": "5 minutes",
|
|
862
|
-
"hasDynamicHelp": true,
|
|
863
|
-
"multiple": false,
|
|
864
|
-
"type": "option"
|
|
865
|
-
},
|
|
866
|
-
"api-version": {
|
|
867
788
|
"description": "Override the api version used for api requests made by this command",
|
|
868
789
|
"name": "api-version",
|
|
869
790
|
"hasDynamicHelp": false,
|
|
@@ -879,142 +800,103 @@
|
|
|
879
800
|
"hasDynamicHelp": false,
|
|
880
801
|
"multiple": false,
|
|
881
802
|
"type": "option"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
"hasDynamicHelp": true,
|
|
885
|
-
"hiddenAliases": [],
|
|
886
|
-
"id": "data:delete:resume",
|
|
887
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
888
|
-
"pluginName": "@salesforce/plugin-data",
|
|
889
|
-
"pluginType": "core",
|
|
890
|
-
"strict": true,
|
|
891
|
-
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
892
|
-
"enableJsonFlag": true,
|
|
893
|
-
"isESM": true,
|
|
894
|
-
"relativePath": [
|
|
895
|
-
"lib",
|
|
896
|
-
"commands",
|
|
897
|
-
"data",
|
|
898
|
-
"delete",
|
|
899
|
-
"resume.js"
|
|
900
|
-
],
|
|
901
|
-
"aliasPermutations": [],
|
|
902
|
-
"permutations": [
|
|
903
|
-
"data:delete:resume",
|
|
904
|
-
"delete:data:resume",
|
|
905
|
-
"delete:resume:data",
|
|
906
|
-
"data:resume:delete",
|
|
907
|
-
"resume:data:delete",
|
|
908
|
-
"resume:delete:data"
|
|
909
|
-
]
|
|
910
|
-
},
|
|
911
|
-
"data:create:file": {
|
|
912
|
-
"aliases": [],
|
|
913
|
-
"args": {},
|
|
914
|
-
"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.",
|
|
915
|
-
"examples": [
|
|
916
|
-
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
917
|
-
"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",
|
|
918
|
-
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
919
|
-
],
|
|
920
|
-
"flags": {
|
|
921
|
-
"json": {
|
|
922
|
-
"description": "Format output as json.",
|
|
923
|
-
"helpGroup": "GLOBAL",
|
|
924
|
-
"name": "json",
|
|
925
|
-
"allowNo": false,
|
|
926
|
-
"type": "boolean"
|
|
927
803
|
},
|
|
928
|
-
"
|
|
929
|
-
"
|
|
930
|
-
|
|
931
|
-
|
|
804
|
+
"file": {
|
|
805
|
+
"aliases": [
|
|
806
|
+
"csvfile"
|
|
807
|
+
],
|
|
808
|
+
"char": "f",
|
|
809
|
+
"deprecateAliases": true,
|
|
810
|
+
"name": "file",
|
|
811
|
+
"required": true,
|
|
812
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
932
813
|
"hasDynamicHelp": false,
|
|
933
814
|
"multiple": false,
|
|
934
815
|
"type": "option"
|
|
935
816
|
},
|
|
936
|
-
"
|
|
937
|
-
"
|
|
938
|
-
|
|
939
|
-
|
|
817
|
+
"sobject": {
|
|
818
|
+
"aliases": [
|
|
819
|
+
"sobjecttype"
|
|
820
|
+
],
|
|
821
|
+
"char": "s",
|
|
822
|
+
"deprecateAliases": true,
|
|
823
|
+
"name": "sobject",
|
|
940
824
|
"required": true,
|
|
941
|
-
"summary": "
|
|
942
|
-
"hasDynamicHelp": true,
|
|
943
|
-
"multiple": false,
|
|
944
|
-
"type": "option"
|
|
945
|
-
},
|
|
946
|
-
"api-version": {
|
|
947
|
-
"description": "Override the api version used for api requests made by this command",
|
|
948
|
-
"name": "api-version",
|
|
825
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
949
826
|
"hasDynamicHelp": false,
|
|
950
827
|
"multiple": false,
|
|
951
828
|
"type": "option"
|
|
952
829
|
},
|
|
953
|
-
"
|
|
954
|
-
"char": "
|
|
955
|
-
"name": "
|
|
956
|
-
"
|
|
957
|
-
"
|
|
958
|
-
"hasDynamicHelp":
|
|
830
|
+
"wait": {
|
|
831
|
+
"char": "w",
|
|
832
|
+
"name": "wait",
|
|
833
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
834
|
+
"default": "0 minutes",
|
|
835
|
+
"hasDynamicHelp": true,
|
|
959
836
|
"multiple": false,
|
|
960
837
|
"type": "option"
|
|
961
838
|
},
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
"
|
|
839
|
+
"line-ending": {
|
|
840
|
+
"dependsOn": [
|
|
841
|
+
"file"
|
|
842
|
+
],
|
|
843
|
+
"name": "line-ending",
|
|
844
|
+
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
967
845
|
"hasDynamicHelp": false,
|
|
968
846
|
"multiple": false,
|
|
847
|
+
"options": [
|
|
848
|
+
"CRLF",
|
|
849
|
+
"LF"
|
|
850
|
+
],
|
|
969
851
|
"type": "option"
|
|
970
852
|
},
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
"name": "
|
|
974
|
-
"summary": "
|
|
975
|
-
"
|
|
976
|
-
"
|
|
977
|
-
"type": "option"
|
|
853
|
+
"hard-delete": {
|
|
854
|
+
"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.",
|
|
855
|
+
"name": "hard-delete",
|
|
856
|
+
"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.",
|
|
857
|
+
"allowNo": false,
|
|
858
|
+
"type": "boolean"
|
|
978
859
|
}
|
|
979
860
|
},
|
|
980
861
|
"hasDynamicHelp": true,
|
|
981
862
|
"hiddenAliases": [],
|
|
982
|
-
"id": "data:
|
|
863
|
+
"id": "data:delete:bulk",
|
|
983
864
|
"pluginAlias": "@salesforce/plugin-data",
|
|
984
865
|
"pluginName": "@salesforce/plugin-data",
|
|
985
866
|
"pluginType": "core",
|
|
986
867
|
"strict": true,
|
|
987
|
-
"summary": "
|
|
868
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
988
869
|
"enableJsonFlag": true,
|
|
989
870
|
"isESM": true,
|
|
990
871
|
"relativePath": [
|
|
991
872
|
"lib",
|
|
992
873
|
"commands",
|
|
993
874
|
"data",
|
|
994
|
-
"
|
|
995
|
-
"
|
|
875
|
+
"delete",
|
|
876
|
+
"bulk.js"
|
|
996
877
|
],
|
|
997
878
|
"aliasPermutations": [],
|
|
998
879
|
"permutations": [
|
|
999
|
-
"data:
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
"data:
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
880
|
+
"data:delete:bulk",
|
|
881
|
+
"delete:data:bulk",
|
|
882
|
+
"delete:bulk:data",
|
|
883
|
+
"data:bulk:delete",
|
|
884
|
+
"bulk:data:delete",
|
|
885
|
+
"bulk:delete:data"
|
|
1005
886
|
]
|
|
1006
887
|
},
|
|
1007
|
-
"data:
|
|
888
|
+
"data:delete:record": {
|
|
1008
889
|
"aliases": [
|
|
1009
|
-
"force:data:record:
|
|
890
|
+
"force:data:record:delete"
|
|
1010
891
|
],
|
|
1011
892
|
"args": {},
|
|
1012
893
|
"deprecateAliases": true,
|
|
1013
|
-
"description": "
|
|
894
|
+
"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.",
|
|
1014
895
|
"examples": [
|
|
1015
|
-
"
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
896
|
+
"Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
897
|
+
"Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
898
|
+
"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",
|
|
899
|
+
"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"
|
|
1018
900
|
],
|
|
1019
901
|
"flags": {
|
|
1020
902
|
"json": {
|
|
@@ -1076,16 +958,27 @@
|
|
|
1076
958
|
"deprecateAliases": true,
|
|
1077
959
|
"name": "sobject",
|
|
1078
960
|
"required": true,
|
|
1079
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
961
|
+
"summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
|
|
1080
962
|
"hasDynamicHelp": false,
|
|
1081
963
|
"multiple": false,
|
|
1082
964
|
"type": "option"
|
|
1083
965
|
},
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
"
|
|
966
|
+
"record-id": {
|
|
967
|
+
"aliases": [
|
|
968
|
+
"sobjectid"
|
|
969
|
+
],
|
|
970
|
+
"char": "i",
|
|
971
|
+
"deprecateAliases": true,
|
|
972
|
+
"name": "record-id",
|
|
973
|
+
"summary": "ID of the record you’re deleting.",
|
|
974
|
+
"hasDynamicHelp": false,
|
|
975
|
+
"multiple": false,
|
|
976
|
+
"type": "option"
|
|
977
|
+
},
|
|
978
|
+
"where": {
|
|
979
|
+
"char": "w",
|
|
980
|
+
"name": "where",
|
|
981
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
1089
982
|
"hasDynamicHelp": false,
|
|
1090
983
|
"multiple": false,
|
|
1091
984
|
"type": "option"
|
|
@@ -1097,7 +990,7 @@
|
|
|
1097
990
|
"char": "t",
|
|
1098
991
|
"deprecateAliases": true,
|
|
1099
992
|
"name": "use-tooling-api",
|
|
1100
|
-
"summary": "Use Tooling API so you can
|
|
993
|
+
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
1101
994
|
"allowNo": false,
|
|
1102
995
|
"type": "boolean"
|
|
1103
996
|
},
|
|
@@ -1111,64 +1004,171 @@
|
|
|
1111
1004
|
"summary": "Get API performance data.",
|
|
1112
1005
|
"allowNo": false,
|
|
1113
1006
|
"type": "boolean"
|
|
1114
|
-
},
|
|
1115
|
-
"skip-assignment-rules": {
|
|
1116
|
-
"name": "skip-assignment-rules",
|
|
1117
|
-
"summary": "Don't apply active assignment rules when creating the record; applies to Account, Case, and Lead records.",
|
|
1118
|
-
"allowNo": false,
|
|
1119
|
-
"type": "boolean"
|
|
1120
1007
|
}
|
|
1121
1008
|
},
|
|
1122
1009
|
"hasDynamicHelp": true,
|
|
1123
1010
|
"hiddenAliases": [],
|
|
1124
|
-
"id": "data:
|
|
1011
|
+
"id": "data:delete:record",
|
|
1125
1012
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1126
1013
|
"pluginName": "@salesforce/plugin-data",
|
|
1127
1014
|
"pluginType": "core",
|
|
1128
1015
|
"strict": true,
|
|
1129
|
-
"summary": "
|
|
1016
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
1130
1017
|
"enableJsonFlag": true,
|
|
1131
1018
|
"isESM": true,
|
|
1132
1019
|
"relativePath": [
|
|
1133
1020
|
"lib",
|
|
1134
1021
|
"commands",
|
|
1135
1022
|
"data",
|
|
1136
|
-
"
|
|
1023
|
+
"delete",
|
|
1137
1024
|
"record.js"
|
|
1138
1025
|
],
|
|
1139
1026
|
"aliasPermutations": [
|
|
1140
|
-
"force:data:record:
|
|
1141
|
-
"data:force:record:
|
|
1142
|
-
"data:record:force:
|
|
1143
|
-
"data:record:
|
|
1144
|
-
"force:record:data:
|
|
1145
|
-
"record:force:data:
|
|
1146
|
-
"record:data:force:
|
|
1147
|
-
"record:data:
|
|
1148
|
-
"force:record:
|
|
1149
|
-
"record:force:
|
|
1150
|
-
"record:
|
|
1151
|
-
"record:
|
|
1152
|
-
"force:data:
|
|
1153
|
-
"data:force:
|
|
1154
|
-
"data:
|
|
1155
|
-
"data:
|
|
1156
|
-
"force:
|
|
1157
|
-
"
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1160
|
-
"force:
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1027
|
+
"force:data:record:delete",
|
|
1028
|
+
"data:force:record:delete",
|
|
1029
|
+
"data:record:force:delete",
|
|
1030
|
+
"data:record:delete:force",
|
|
1031
|
+
"force:record:data:delete",
|
|
1032
|
+
"record:force:data:delete",
|
|
1033
|
+
"record:data:force:delete",
|
|
1034
|
+
"record:data:delete:force",
|
|
1035
|
+
"force:record:delete:data",
|
|
1036
|
+
"record:force:delete:data",
|
|
1037
|
+
"record:delete:force:data",
|
|
1038
|
+
"record:delete:data:force",
|
|
1039
|
+
"force:data:delete:record",
|
|
1040
|
+
"data:force:delete:record",
|
|
1041
|
+
"data:delete:force:record",
|
|
1042
|
+
"data:delete:record:force",
|
|
1043
|
+
"force:delete:data:record",
|
|
1044
|
+
"delete:force:data:record",
|
|
1045
|
+
"delete:data:force:record",
|
|
1046
|
+
"delete:data:record:force",
|
|
1047
|
+
"force:delete:record:data",
|
|
1048
|
+
"delete:force:record:data",
|
|
1049
|
+
"delete:record:force:data",
|
|
1050
|
+
"delete:record:data:force"
|
|
1164
1051
|
],
|
|
1165
1052
|
"permutations": [
|
|
1166
|
-
"data:
|
|
1167
|
-
"
|
|
1168
|
-
"
|
|
1169
|
-
"data:record:
|
|
1170
|
-
"record:data:
|
|
1171
|
-
"record:
|
|
1053
|
+
"data:delete:record",
|
|
1054
|
+
"delete:data:record",
|
|
1055
|
+
"delete:record:data",
|
|
1056
|
+
"data:record:delete",
|
|
1057
|
+
"record:data:delete",
|
|
1058
|
+
"record:delete:data"
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
"data:delete:resume": {
|
|
1062
|
+
"aliases": [],
|
|
1063
|
+
"args": {},
|
|
1064
|
+
"deprecateAliases": true,
|
|
1065
|
+
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
1066
|
+
"examples": [
|
|
1067
|
+
"Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
1068
|
+
"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"
|
|
1069
|
+
],
|
|
1070
|
+
"flags": {
|
|
1071
|
+
"json": {
|
|
1072
|
+
"description": "Format output as json.",
|
|
1073
|
+
"helpGroup": "GLOBAL",
|
|
1074
|
+
"name": "json",
|
|
1075
|
+
"allowNo": false,
|
|
1076
|
+
"type": "boolean"
|
|
1077
|
+
},
|
|
1078
|
+
"flags-dir": {
|
|
1079
|
+
"helpGroup": "GLOBAL",
|
|
1080
|
+
"name": "flags-dir",
|
|
1081
|
+
"summary": "Import flag values from a directory.",
|
|
1082
|
+
"hasDynamicHelp": false,
|
|
1083
|
+
"multiple": false,
|
|
1084
|
+
"type": "option"
|
|
1085
|
+
},
|
|
1086
|
+
"target-org": {
|
|
1087
|
+
"aliases": [
|
|
1088
|
+
"targetusername",
|
|
1089
|
+
"u"
|
|
1090
|
+
],
|
|
1091
|
+
"char": "o",
|
|
1092
|
+
"deprecateAliases": true,
|
|
1093
|
+
"name": "target-org",
|
|
1094
|
+
"noCacheDefault": true,
|
|
1095
|
+
"summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
|
|
1096
|
+
"hasDynamicHelp": true,
|
|
1097
|
+
"multiple": false,
|
|
1098
|
+
"type": "option"
|
|
1099
|
+
},
|
|
1100
|
+
"job-id": {
|
|
1101
|
+
"aliases": [
|
|
1102
|
+
"jobid"
|
|
1103
|
+
],
|
|
1104
|
+
"char": "i",
|
|
1105
|
+
"deprecateAliases": true,
|
|
1106
|
+
"name": "job-id",
|
|
1107
|
+
"summary": "ID of the job you want to resume.",
|
|
1108
|
+
"hasDynamicHelp": false,
|
|
1109
|
+
"multiple": false,
|
|
1110
|
+
"type": "option"
|
|
1111
|
+
},
|
|
1112
|
+
"use-most-recent": {
|
|
1113
|
+
"exclusive": [
|
|
1114
|
+
"job-id"
|
|
1115
|
+
],
|
|
1116
|
+
"name": "use-most-recent",
|
|
1117
|
+
"summary": "Use the ID of the most recently-run bulk job.",
|
|
1118
|
+
"allowNo": false,
|
|
1119
|
+
"type": "boolean"
|
|
1120
|
+
},
|
|
1121
|
+
"wait": {
|
|
1122
|
+
"name": "wait",
|
|
1123
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1124
|
+
"default": "5 minutes",
|
|
1125
|
+
"hasDynamicHelp": true,
|
|
1126
|
+
"multiple": false,
|
|
1127
|
+
"type": "option"
|
|
1128
|
+
},
|
|
1129
|
+
"api-version": {
|
|
1130
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1131
|
+
"name": "api-version",
|
|
1132
|
+
"hasDynamicHelp": false,
|
|
1133
|
+
"multiple": false,
|
|
1134
|
+
"type": "option"
|
|
1135
|
+
},
|
|
1136
|
+
"loglevel": {
|
|
1137
|
+
"deprecated": {
|
|
1138
|
+
"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 `SF_LOG_LEVEL` environment variable."
|
|
1139
|
+
},
|
|
1140
|
+
"hidden": true,
|
|
1141
|
+
"name": "loglevel",
|
|
1142
|
+
"hasDynamicHelp": false,
|
|
1143
|
+
"multiple": false,
|
|
1144
|
+
"type": "option"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"hasDynamicHelp": true,
|
|
1148
|
+
"hiddenAliases": [],
|
|
1149
|
+
"id": "data:delete:resume",
|
|
1150
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1151
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1152
|
+
"pluginType": "core",
|
|
1153
|
+
"strict": true,
|
|
1154
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
1155
|
+
"enableJsonFlag": true,
|
|
1156
|
+
"isESM": true,
|
|
1157
|
+
"relativePath": [
|
|
1158
|
+
"lib",
|
|
1159
|
+
"commands",
|
|
1160
|
+
"data",
|
|
1161
|
+
"delete",
|
|
1162
|
+
"resume.js"
|
|
1163
|
+
],
|
|
1164
|
+
"aliasPermutations": [],
|
|
1165
|
+
"permutations": [
|
|
1166
|
+
"data:delete:resume",
|
|
1167
|
+
"delete:data:resume",
|
|
1168
|
+
"delete:resume:data",
|
|
1169
|
+
"data:resume:delete",
|
|
1170
|
+
"resume:data:delete",
|
|
1171
|
+
"resume:delete:data"
|
|
1172
1172
|
]
|
|
1173
1173
|
},
|
|
1174
1174
|
"data:export:bulk": {
|
|
@@ -3178,5 +3178,5 @@
|
|
|
3178
3178
|
]
|
|
3179
3179
|
}
|
|
3180
3180
|
},
|
|
3181
|
-
"version": "5.1.
|
|
3181
|
+
"version": "5.1.5"
|
|
3182
3182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.5",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -125,14 +125,14 @@
|
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@jsforce/jsforce-node": "^3.10.15",
|
|
127
127
|
"@oclif/multi-stage-output": "^0.8.44",
|
|
128
|
-
"@salesforce/core": "^9.1.
|
|
128
|
+
"@salesforce/core": "^9.1.2",
|
|
129
129
|
"@salesforce/kit": "^4.0.0",
|
|
130
130
|
"@salesforce/sf-plugins-core": "^13.0.0",
|
|
131
131
|
"@salesforce/ts-types": "^3.0.1",
|
|
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.8.3",
|
|
136
136
|
"form-data": "^4.0.6",
|
|
137
137
|
"terminal-link": "^3.0.0",
|
|
138
138
|
"undici": "^7.29.0",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@oclif/core": "^4.13.3",
|
|
143
143
|
"@oclif/plugin-command-snapshot": "^5.3.34",
|
|
144
|
-
"@oclif/test": "^4.1.
|
|
145
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
144
|
+
"@oclif/test": "^4.1.22",
|
|
145
|
+
"@salesforce/cli-plugins-testkit": "^5.3.66",
|
|
146
146
|
"@salesforce/dev-scripts": "^13.0.2",
|
|
147
147
|
"@salesforce/plugin-command-reference": "^3.1.131",
|
|
148
148
|
"@salesforce/types": "^1.8.0",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"eslint": "^10.4.0",
|
|
154
154
|
"eslint-config-salesforce-typescript": "^6.0.0",
|
|
155
155
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
156
|
-
"oclif": "^4.23.
|
|
156
|
+
"oclif": "^4.23.30",
|
|
157
157
|
"ts-node": "^10.9.2",
|
|
158
158
|
"typescript": "^5.8.3"
|
|
159
159
|
},
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
"exports": "./lib/index.js",
|
|
282
282
|
"type": "module",
|
|
283
283
|
"sfdx": {
|
|
284
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.
|
|
285
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.
|
|
284
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.5.crt",
|
|
285
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/5.1.5.sig"
|
|
286
286
|
}
|
|
287
287
|
}
|