@salesforce/plugin-data 4.0.99 → 4.0.100
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 +300 -300
- package/package.json +5 -5
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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/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.100/src/commands/force/data/bulk/upsert.ts)_
|
|
1327
1327
|
|
|
1328
1328
|
<!-- 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
|
},
|
|
@@ -745,64 +685,63 @@
|
|
|
745
685
|
},
|
|
746
686
|
"hasDynamicHelp": true,
|
|
747
687
|
"hiddenAliases": [],
|
|
748
|
-
"id": "data:
|
|
688
|
+
"id": "data:create:record",
|
|
749
689
|
"pluginAlias": "@salesforce/plugin-data",
|
|
750
690
|
"pluginName": "@salesforce/plugin-data",
|
|
751
691
|
"pluginType": "core",
|
|
752
692
|
"strict": true,
|
|
753
|
-
"summary": "
|
|
693
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
754
694
|
"enableJsonFlag": true,
|
|
755
695
|
"isESM": true,
|
|
756
696
|
"relativePath": [
|
|
757
697
|
"lib",
|
|
758
698
|
"commands",
|
|
759
699
|
"data",
|
|
760
|
-
"
|
|
700
|
+
"create",
|
|
761
701
|
"record.js"
|
|
762
702
|
],
|
|
763
703
|
"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
|
-
"
|
|
704
|
+
"force:data:record:create",
|
|
705
|
+
"data:force:record:create",
|
|
706
|
+
"data:record:force:create",
|
|
707
|
+
"data:record:create:force",
|
|
708
|
+
"force:record:data:create",
|
|
709
|
+
"record:force:data:create",
|
|
710
|
+
"record:data:force:create",
|
|
711
|
+
"record:data:create:force",
|
|
712
|
+
"force:record:create:data",
|
|
713
|
+
"record:force:create:data",
|
|
714
|
+
"record:create:force:data",
|
|
715
|
+
"record:create:data:force",
|
|
716
|
+
"force:data:create:record",
|
|
717
|
+
"data:force:create:record",
|
|
718
|
+
"data:create:force:record",
|
|
719
|
+
"data:create:record:force",
|
|
720
|
+
"force:create:data:record",
|
|
721
|
+
"create:force:data:record",
|
|
722
|
+
"create:data:force:record",
|
|
723
|
+
"create:data:record:force",
|
|
724
|
+
"force:create:record:data",
|
|
725
|
+
"create:force:record:data",
|
|
726
|
+
"create:record:force:data",
|
|
727
|
+
"create:record:data:force"
|
|
788
728
|
],
|
|
789
729
|
"permutations": [
|
|
790
|
-
"data:
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"data:record:
|
|
794
|
-
"record:data:
|
|
795
|
-
"record:
|
|
730
|
+
"data:create:record",
|
|
731
|
+
"create:data:record",
|
|
732
|
+
"create:record:data",
|
|
733
|
+
"data:record:create",
|
|
734
|
+
"record:data:create",
|
|
735
|
+
"record:create:data"
|
|
796
736
|
]
|
|
797
737
|
},
|
|
798
|
-
"data:delete:
|
|
738
|
+
"data:delete:bulk": {
|
|
799
739
|
"aliases": [],
|
|
800
740
|
"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.",
|
|
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.",
|
|
803
742
|
"examples": [
|
|
804
|
-
"
|
|
805
|
-
"
|
|
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"
|
|
806
745
|
],
|
|
807
746
|
"flags": {
|
|
808
747
|
"json": {
|
|
@@ -829,41 +768,17 @@
|
|
|
829
768
|
"deprecateAliases": true,
|
|
830
769
|
"name": "target-org",
|
|
831
770
|
"noCacheDefault": true,
|
|
832
|
-
"
|
|
771
|
+
"required": true,
|
|
772
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
833
773
|
"hasDynamicHelp": true,
|
|
834
774
|
"multiple": false,
|
|
835
775
|
"type": "option"
|
|
836
776
|
},
|
|
837
|
-
"
|
|
777
|
+
"api-version": {
|
|
838
778
|
"aliases": [
|
|
839
|
-
"
|
|
779
|
+
"apiversion"
|
|
840
780
|
],
|
|
841
|
-
"char": "i",
|
|
842
781
|
"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
782
|
"description": "Override the api version used for api requests made by this command",
|
|
868
783
|
"name": "api-version",
|
|
869
784
|
"hasDynamicHelp": false,
|
|
@@ -879,142 +794,103 @@
|
|
|
879
794
|
"hasDynamicHelp": false,
|
|
880
795
|
"multiple": false,
|
|
881
796
|
"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
797
|
},
|
|
928
|
-
"
|
|
929
|
-
"
|
|
930
|
-
|
|
931
|
-
|
|
798
|
+
"file": {
|
|
799
|
+
"aliases": [
|
|
800
|
+
"csvfile"
|
|
801
|
+
],
|
|
802
|
+
"char": "f",
|
|
803
|
+
"deprecateAliases": true,
|
|
804
|
+
"name": "file",
|
|
805
|
+
"required": true,
|
|
806
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
932
807
|
"hasDynamicHelp": false,
|
|
933
808
|
"multiple": false,
|
|
934
809
|
"type": "option"
|
|
935
810
|
},
|
|
936
|
-
"
|
|
937
|
-
"
|
|
938
|
-
|
|
939
|
-
|
|
811
|
+
"sobject": {
|
|
812
|
+
"aliases": [
|
|
813
|
+
"sobjecttype"
|
|
814
|
+
],
|
|
815
|
+
"char": "s",
|
|
816
|
+
"deprecateAliases": true,
|
|
817
|
+
"name": "sobject",
|
|
940
818
|
"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",
|
|
819
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
949
820
|
"hasDynamicHelp": false,
|
|
950
821
|
"multiple": false,
|
|
951
822
|
"type": "option"
|
|
952
823
|
},
|
|
953
|
-
"
|
|
954
|
-
"char": "
|
|
955
|
-
"name": "
|
|
956
|
-
"
|
|
957
|
-
"
|
|
958
|
-
"hasDynamicHelp":
|
|
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,
|
|
959
830
|
"multiple": false,
|
|
960
831
|
"type": "option"
|
|
961
832
|
},
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
"
|
|
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`.",
|
|
967
839
|
"hasDynamicHelp": false,
|
|
968
840
|
"multiple": false,
|
|
841
|
+
"options": [
|
|
842
|
+
"CRLF",
|
|
843
|
+
"LF"
|
|
844
|
+
],
|
|
969
845
|
"type": "option"
|
|
970
846
|
},
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
"name": "
|
|
974
|
-
"summary": "
|
|
975
|
-
"
|
|
976
|
-
"
|
|
977
|
-
"type": "option"
|
|
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"
|
|
978
853
|
}
|
|
979
854
|
},
|
|
980
855
|
"hasDynamicHelp": true,
|
|
981
856
|
"hiddenAliases": [],
|
|
982
|
-
"id": "data:
|
|
857
|
+
"id": "data:delete:bulk",
|
|
983
858
|
"pluginAlias": "@salesforce/plugin-data",
|
|
984
859
|
"pluginName": "@salesforce/plugin-data",
|
|
985
860
|
"pluginType": "core",
|
|
986
861
|
"strict": true,
|
|
987
|
-
"summary": "
|
|
862
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
988
863
|
"enableJsonFlag": true,
|
|
989
864
|
"isESM": true,
|
|
990
865
|
"relativePath": [
|
|
991
866
|
"lib",
|
|
992
867
|
"commands",
|
|
993
868
|
"data",
|
|
994
|
-
"
|
|
995
|
-
"
|
|
869
|
+
"delete",
|
|
870
|
+
"bulk.js"
|
|
996
871
|
],
|
|
997
872
|
"aliasPermutations": [],
|
|
998
873
|
"permutations": [
|
|
999
|
-
"data:
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
"data:
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
874
|
+
"data:delete:bulk",
|
|
875
|
+
"delete:data:bulk",
|
|
876
|
+
"delete:bulk:data",
|
|
877
|
+
"data:bulk:delete",
|
|
878
|
+
"bulk:data:delete",
|
|
879
|
+
"bulk:delete:data"
|
|
1005
880
|
]
|
|
1006
881
|
},
|
|
1007
|
-
"data:
|
|
882
|
+
"data:delete:record": {
|
|
1008
883
|
"aliases": [
|
|
1009
|
-
"force:data:record:
|
|
884
|
+
"force:data:record:delete"
|
|
1010
885
|
],
|
|
1011
886
|
"args": {},
|
|
1012
887
|
"deprecateAliases": true,
|
|
1013
|
-
"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.",
|
|
1014
889
|
"examples": [
|
|
1015
|
-
"
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
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"
|
|
1018
894
|
],
|
|
1019
895
|
"flags": {
|
|
1020
896
|
"json": {
|
|
@@ -1076,16 +952,27 @@
|
|
|
1076
952
|
"deprecateAliases": true,
|
|
1077
953
|
"name": "sobject",
|
|
1078
954
|
"required": true,
|
|
1079
|
-
"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.",
|
|
1080
956
|
"hasDynamicHelp": false,
|
|
1081
957
|
"multiple": false,
|
|
1082
958
|
"type": "option"
|
|
1083
959
|
},
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
"
|
|
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.",
|
|
1089
976
|
"hasDynamicHelp": false,
|
|
1090
977
|
"multiple": false,
|
|
1091
978
|
"type": "option"
|
|
@@ -1097,7 +984,7 @@
|
|
|
1097
984
|
"char": "t",
|
|
1098
985
|
"deprecateAliases": true,
|
|
1099
986
|
"name": "use-tooling-api",
|
|
1100
|
-
"summary": "Use Tooling API so you can
|
|
987
|
+
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
1101
988
|
"allowNo": false,
|
|
1102
989
|
"type": "boolean"
|
|
1103
990
|
},
|
|
@@ -1115,54 +1002,167 @@
|
|
|
1115
1002
|
},
|
|
1116
1003
|
"hasDynamicHelp": true,
|
|
1117
1004
|
"hiddenAliases": [],
|
|
1118
|
-
"id": "data:
|
|
1005
|
+
"id": "data:delete:record",
|
|
1119
1006
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1120
1007
|
"pluginName": "@salesforce/plugin-data",
|
|
1121
1008
|
"pluginType": "core",
|
|
1122
1009
|
"strict": true,
|
|
1123
|
-
"summary": "
|
|
1010
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
1124
1011
|
"enableJsonFlag": true,
|
|
1125
1012
|
"isESM": true,
|
|
1126
1013
|
"relativePath": [
|
|
1127
1014
|
"lib",
|
|
1128
1015
|
"commands",
|
|
1129
1016
|
"data",
|
|
1130
|
-
"
|
|
1017
|
+
"delete",
|
|
1131
1018
|
"record.js"
|
|
1132
1019
|
],
|
|
1133
1020
|
"aliasPermutations": [
|
|
1134
|
-
"force:data:record:
|
|
1135
|
-
"data:force:record:
|
|
1136
|
-
"data:record:force:
|
|
1137
|
-
"data:record:
|
|
1138
|
-
"force:record:data:
|
|
1139
|
-
"record:force:data:
|
|
1140
|
-
"record:data:force:
|
|
1141
|
-
"record:data:
|
|
1142
|
-
"force:record:
|
|
1143
|
-
"record:force:
|
|
1144
|
-
"record:
|
|
1145
|
-
"record:
|
|
1146
|
-
"force:data:
|
|
1147
|
-
"data:force:
|
|
1148
|
-
"data:
|
|
1149
|
-
"data:
|
|
1150
|
-
"force:
|
|
1151
|
-
"
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1154
|
-
"force:
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1157
|
-
"
|
|
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"
|
|
1158
1045
|
],
|
|
1159
1046
|
"permutations": [
|
|
1160
|
-
"data:
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"data:record:
|
|
1164
|
-
"record:data:
|
|
1165
|
-
"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"
|
|
1053
|
+
]
|
|
1054
|
+
},
|
|
1055
|
+
"data:delete:resume": {
|
|
1056
|
+
"aliases": [],
|
|
1057
|
+
"args": {},
|
|
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.",
|
|
1060
|
+
"examples": [
|
|
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"
|
|
1063
|
+
],
|
|
1064
|
+
"flags": {
|
|
1065
|
+
"json": {
|
|
1066
|
+
"description": "Format output as json.",
|
|
1067
|
+
"helpGroup": "GLOBAL",
|
|
1068
|
+
"name": "json",
|
|
1069
|
+
"allowNo": false,
|
|
1070
|
+
"type": "boolean"
|
|
1071
|
+
},
|
|
1072
|
+
"flags-dir": {
|
|
1073
|
+
"helpGroup": "GLOBAL",
|
|
1074
|
+
"name": "flags-dir",
|
|
1075
|
+
"summary": "Import flag values from a directory.",
|
|
1076
|
+
"hasDynamicHelp": false,
|
|
1077
|
+
"multiple": false,
|
|
1078
|
+
"type": "option"
|
|
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
|
+
},
|
|
1094
|
+
"job-id": {
|
|
1095
|
+
"aliases": [
|
|
1096
|
+
"jobid"
|
|
1097
|
+
],
|
|
1098
|
+
"char": "i",
|
|
1099
|
+
"deprecateAliases": true,
|
|
1100
|
+
"name": "job-id",
|
|
1101
|
+
"summary": "ID of the job you want to resume.",
|
|
1102
|
+
"hasDynamicHelp": false,
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"type": "option"
|
|
1105
|
+
},
|
|
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",
|
|
1119
|
+
"hasDynamicHelp": true,
|
|
1120
|
+
"multiple": false,
|
|
1121
|
+
"type": "option"
|
|
1122
|
+
},
|
|
1123
|
+
"api-version": {
|
|
1124
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1125
|
+
"name": "api-version",
|
|
1126
|
+
"hasDynamicHelp": false,
|
|
1127
|
+
"multiple": false,
|
|
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
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"hasDynamicHelp": true,
|
|
1142
|
+
"hiddenAliases": [],
|
|
1143
|
+
"id": "data:delete:resume",
|
|
1144
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1145
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1146
|
+
"pluginType": "core",
|
|
1147
|
+
"strict": true,
|
|
1148
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
1149
|
+
"enableJsonFlag": true,
|
|
1150
|
+
"isESM": true,
|
|
1151
|
+
"relativePath": [
|
|
1152
|
+
"lib",
|
|
1153
|
+
"commands",
|
|
1154
|
+
"data",
|
|
1155
|
+
"delete",
|
|
1156
|
+
"resume.js"
|
|
1157
|
+
],
|
|
1158
|
+
"aliasPermutations": [],
|
|
1159
|
+
"permutations": [
|
|
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.100"
|
|
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.100",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@jsforce/jsforce-node": "^3.10.14",
|
|
127
|
-
"@oclif/multi-stage-output": "^0.8.
|
|
127
|
+
"@oclif/multi-stage-output": "^0.8.41",
|
|
128
128
|
"@salesforce/core": "^8.29.1",
|
|
129
129
|
"@salesforce/kit": "^3.2.6",
|
|
130
130
|
"@salesforce/sf-plugins-core": "^12.2.14",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"@oclif/test": "^4.1.18",
|
|
145
145
|
"@salesforce/cli-plugins-testkit": "^5.3.55",
|
|
146
146
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
147
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
147
|
+
"@salesforce/plugin-command-reference": "^3.1.101",
|
|
148
148
|
"@salesforce/types": "^1.6.0",
|
|
149
149
|
"eslint-plugin-sf-plugin": "^1.20.33",
|
|
150
150
|
"oclif": "^4.23.0",
|
|
@@ -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.100.crt",
|
|
278
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.100.sig"
|
|
279
279
|
}
|
|
280
280
|
}
|