@salesforce/plugin-data 3.6.1 → 3.6.3
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 +18 -18
- package/oclif.manifest.json +300 -300
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -142,7 +142,7 @@ EXAMPLES
|
|
|
142
142
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
145
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/create/file.ts)_
|
|
146
146
|
|
|
147
147
|
## `sf data create record`
|
|
148
148
|
|
|
@@ -198,7 +198,7 @@ EXAMPLES
|
|
|
198
198
|
TracedEntityId=01p17000000R6bLAAS"
|
|
199
199
|
```
|
|
200
200
|
|
|
201
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
201
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/create/record.ts)_
|
|
202
202
|
|
|
203
203
|
## `sf data delete bulk`
|
|
204
204
|
|
|
@@ -256,7 +256,7 @@ FLAG DESCRIPTIONS
|
|
|
256
256
|
and can be enabled only by a system administrator.
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
259
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/delete/bulk.ts)_
|
|
260
260
|
|
|
261
261
|
## `sf data delete record`
|
|
262
262
|
|
|
@@ -317,7 +317,7 @@ EXAMPLES
|
|
|
317
317
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
320
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/delete/record.ts)_
|
|
321
321
|
|
|
322
322
|
## `sf data delete resume`
|
|
323
323
|
|
|
@@ -356,7 +356,7 @@ EXAMPLES
|
|
|
356
356
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
357
357
|
```
|
|
358
358
|
|
|
359
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
359
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/delete/resume.ts)_
|
|
360
360
|
|
|
361
361
|
## `sf data export tree`
|
|
362
362
|
|
|
@@ -417,7 +417,7 @@ EXAMPLES
|
|
|
417
417
|
my-scratch
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
420
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/export/tree.ts)_
|
|
421
421
|
|
|
422
422
|
## `sf data get record`
|
|
423
423
|
|
|
@@ -481,7 +481,7 @@ EXAMPLES
|
|
|
481
481
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
482
482
|
```
|
|
483
483
|
|
|
484
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
484
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/get/record.ts)_
|
|
485
485
|
|
|
486
486
|
## `sf data import tree`
|
|
487
487
|
|
|
@@ -546,7 +546,7 @@ FLAG DESCRIPTIONS
|
|
|
546
546
|
- files(array) - Files: An array of files paths to load
|
|
547
547
|
```
|
|
548
548
|
|
|
549
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
549
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/import/tree.ts)_
|
|
550
550
|
|
|
551
551
|
## `sf data query`
|
|
552
552
|
|
|
@@ -610,7 +610,7 @@ EXAMPLES
|
|
|
610
610
|
$ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
611
611
|
```
|
|
612
612
|
|
|
613
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
613
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/query.ts)_
|
|
614
614
|
|
|
615
615
|
## `sf data query resume`
|
|
616
616
|
|
|
@@ -648,7 +648,7 @@ EXAMPLES
|
|
|
648
648
|
$ sf data query resume --bulk-query-id 7500x000005BdFzXXX
|
|
649
649
|
```
|
|
650
650
|
|
|
651
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
651
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/query/resume.ts)_
|
|
652
652
|
|
|
653
653
|
## `sf data resume`
|
|
654
654
|
|
|
@@ -685,7 +685,7 @@ EXAMPLES
|
|
|
685
685
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
686
686
|
```
|
|
687
687
|
|
|
688
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
688
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/resume.ts)_
|
|
689
689
|
|
|
690
690
|
## `sf data search`
|
|
691
691
|
|
|
@@ -735,7 +735,7 @@ EXAMPLES
|
|
|
735
735
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
736
736
|
```
|
|
737
737
|
|
|
738
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
738
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/search.ts)_
|
|
739
739
|
|
|
740
740
|
## `sf data update record`
|
|
741
741
|
|
|
@@ -797,7 +797,7 @@ EXAMPLES
|
|
|
797
797
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
798
798
|
```
|
|
799
799
|
|
|
800
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
800
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/update/record.ts)_
|
|
801
801
|
|
|
802
802
|
## `sf data upsert bulk`
|
|
803
803
|
|
|
@@ -850,7 +850,7 @@ EXAMPLES
|
|
|
850
850
|
my-scratch
|
|
851
851
|
```
|
|
852
852
|
|
|
853
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
853
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/upsert/bulk.ts)_
|
|
854
854
|
|
|
855
855
|
## `sf data upsert resume`
|
|
856
856
|
|
|
@@ -889,7 +889,7 @@ EXAMPLES
|
|
|
889
889
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
890
890
|
```
|
|
891
891
|
|
|
892
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
892
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/data/upsert/resume.ts)_
|
|
893
893
|
|
|
894
894
|
## `sf force data bulk delete`
|
|
895
895
|
|
|
@@ -936,7 +936,7 @@ EXAMPLES
|
|
|
936
936
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
937
937
|
```
|
|
938
938
|
|
|
939
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
939
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/force/data/bulk/delete.ts)_
|
|
940
940
|
|
|
941
941
|
## `sf force data bulk status`
|
|
942
942
|
|
|
@@ -973,7 +973,7 @@ EXAMPLES
|
|
|
973
973
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
974
974
|
```
|
|
975
975
|
|
|
976
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
976
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/force/data/bulk/status.ts)_
|
|
977
977
|
|
|
978
978
|
## `sf force data bulk upsert`
|
|
979
979
|
|
|
@@ -1031,6 +1031,6 @@ EXAMPLES
|
|
|
1031
1031
|
--target-org my-scratch
|
|
1032
1032
|
```
|
|
1033
1033
|
|
|
1034
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.
|
|
1034
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.6.3/src/commands/force/data/bulk/upsert.ts)_
|
|
1035
1035
|
|
|
1036
1036
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -447,14 +447,13 @@
|
|
|
447
447
|
"search:data"
|
|
448
448
|
]
|
|
449
449
|
},
|
|
450
|
-
"data:
|
|
450
|
+
"data:delete:bulk": {
|
|
451
451
|
"aliases": [],
|
|
452
452
|
"args": {},
|
|
453
|
-
"description": "
|
|
453
|
+
"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.",
|
|
454
454
|
"examples": [
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
455
|
+
"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",
|
|
456
|
+
"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"
|
|
458
457
|
],
|
|
459
458
|
"flags": {
|
|
460
459
|
"json": {
|
|
@@ -473,7 +472,12 @@
|
|
|
473
472
|
"type": "option"
|
|
474
473
|
},
|
|
475
474
|
"target-org": {
|
|
475
|
+
"aliases": [
|
|
476
|
+
"targetusername",
|
|
477
|
+
"u"
|
|
478
|
+
],
|
|
476
479
|
"char": "o",
|
|
480
|
+
"deprecateAliases": true,
|
|
477
481
|
"name": "target-org",
|
|
478
482
|
"noCacheDefault": true,
|
|
479
483
|
"required": true,
|
|
@@ -483,77 +487,127 @@
|
|
|
483
487
|
"type": "option"
|
|
484
488
|
},
|
|
485
489
|
"api-version": {
|
|
490
|
+
"aliases": [
|
|
491
|
+
"apiversion"
|
|
492
|
+
],
|
|
493
|
+
"deprecateAliases": true,
|
|
486
494
|
"description": "Override the api version used for api requests made by this command",
|
|
487
495
|
"name": "api-version",
|
|
488
496
|
"hasDynamicHelp": false,
|
|
489
497
|
"multiple": false,
|
|
490
498
|
"type": "option"
|
|
491
499
|
},
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"
|
|
500
|
+
"loglevel": {
|
|
501
|
+
"deprecated": {
|
|
502
|
+
"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."
|
|
503
|
+
},
|
|
504
|
+
"hidden": true,
|
|
505
|
+
"name": "loglevel",
|
|
497
506
|
"hasDynamicHelp": false,
|
|
498
507
|
"multiple": false,
|
|
499
508
|
"type": "option"
|
|
500
509
|
},
|
|
501
510
|
"file": {
|
|
511
|
+
"aliases": [
|
|
512
|
+
"csvfile"
|
|
513
|
+
],
|
|
502
514
|
"char": "f",
|
|
515
|
+
"deprecateAliases": true,
|
|
503
516
|
"name": "file",
|
|
504
517
|
"required": true,
|
|
505
|
-
"summary": "
|
|
518
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
506
519
|
"hasDynamicHelp": false,
|
|
507
520
|
"multiple": false,
|
|
508
521
|
"type": "option"
|
|
509
522
|
},
|
|
510
|
-
"
|
|
511
|
-
"
|
|
512
|
-
|
|
513
|
-
|
|
523
|
+
"sobject": {
|
|
524
|
+
"aliases": [
|
|
525
|
+
"sobjecttype"
|
|
526
|
+
],
|
|
527
|
+
"char": "s",
|
|
528
|
+
"deprecateAliases": true,
|
|
529
|
+
"name": "sobject",
|
|
530
|
+
"required": true,
|
|
531
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
514
532
|
"hasDynamicHelp": false,
|
|
515
533
|
"multiple": false,
|
|
516
534
|
"type": "option"
|
|
535
|
+
},
|
|
536
|
+
"wait": {
|
|
537
|
+
"char": "w",
|
|
538
|
+
"exclusive": [
|
|
539
|
+
"async"
|
|
540
|
+
],
|
|
541
|
+
"name": "wait",
|
|
542
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
543
|
+
"default": "0 minutes",
|
|
544
|
+
"hasDynamicHelp": true,
|
|
545
|
+
"multiple": false,
|
|
546
|
+
"type": "option"
|
|
547
|
+
},
|
|
548
|
+
"async": {
|
|
549
|
+
"char": "a",
|
|
550
|
+
"exclusive": [
|
|
551
|
+
"wait"
|
|
552
|
+
],
|
|
553
|
+
"name": "async",
|
|
554
|
+
"summary": "Run the command asynchronously.",
|
|
555
|
+
"allowNo": false,
|
|
556
|
+
"type": "boolean"
|
|
557
|
+
},
|
|
558
|
+
"verbose": {
|
|
559
|
+
"name": "verbose",
|
|
560
|
+
"summary": "Print verbose output of failed records if result is available.",
|
|
561
|
+
"allowNo": false,
|
|
562
|
+
"type": "boolean"
|
|
563
|
+
},
|
|
564
|
+
"hard-delete": {
|
|
565
|
+
"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.",
|
|
566
|
+
"name": "hard-delete",
|
|
567
|
+
"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.",
|
|
568
|
+
"allowNo": false,
|
|
569
|
+
"type": "boolean"
|
|
517
570
|
}
|
|
518
571
|
},
|
|
519
572
|
"hasDynamicHelp": true,
|
|
520
573
|
"hiddenAliases": [],
|
|
521
|
-
"id": "data:
|
|
574
|
+
"id": "data:delete:bulk",
|
|
522
575
|
"pluginAlias": "@salesforce/plugin-data",
|
|
523
576
|
"pluginName": "@salesforce/plugin-data",
|
|
524
577
|
"pluginType": "core",
|
|
525
578
|
"strict": true,
|
|
526
|
-
"summary": "
|
|
579
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
527
580
|
"enableJsonFlag": true,
|
|
528
581
|
"isESM": true,
|
|
529
582
|
"relativePath": [
|
|
530
583
|
"lib",
|
|
531
584
|
"commands",
|
|
532
585
|
"data",
|
|
533
|
-
"
|
|
534
|
-
"
|
|
586
|
+
"delete",
|
|
587
|
+
"bulk.js"
|
|
535
588
|
],
|
|
536
589
|
"aliasPermutations": [],
|
|
537
590
|
"permutations": [
|
|
538
|
-
"data:
|
|
539
|
-
"
|
|
540
|
-
"
|
|
541
|
-
"data:
|
|
542
|
-
"
|
|
543
|
-
"
|
|
591
|
+
"data:delete:bulk",
|
|
592
|
+
"delete:data:bulk",
|
|
593
|
+
"delete:bulk:data",
|
|
594
|
+
"data:bulk:delete",
|
|
595
|
+
"bulk:data:delete",
|
|
596
|
+
"bulk:delete:data"
|
|
544
597
|
]
|
|
545
598
|
},
|
|
546
|
-
"data:
|
|
599
|
+
"data:delete:record": {
|
|
547
600
|
"aliases": [
|
|
548
|
-
"force:data:record:
|
|
601
|
+
"force:data:record:delete"
|
|
549
602
|
],
|
|
550
603
|
"args": {},
|
|
551
604
|
"deprecateAliases": true,
|
|
552
|
-
"description": "
|
|
605
|
+
"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.",
|
|
553
606
|
"examples": [
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"
|
|
607
|
+
"Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
608
|
+
"Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
609
|
+
"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",
|
|
610
|
+
"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"
|
|
557
611
|
],
|
|
558
612
|
"flags": {
|
|
559
613
|
"json": {
|
|
@@ -615,16 +669,27 @@
|
|
|
615
669
|
"deprecateAliases": true,
|
|
616
670
|
"name": "sobject",
|
|
617
671
|
"required": true,
|
|
618
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
672
|
+
"summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
|
|
619
673
|
"hasDynamicHelp": false,
|
|
620
674
|
"multiple": false,
|
|
621
675
|
"type": "option"
|
|
622
676
|
},
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
"
|
|
677
|
+
"record-id": {
|
|
678
|
+
"aliases": [
|
|
679
|
+
"sobjectid"
|
|
680
|
+
],
|
|
681
|
+
"char": "i",
|
|
682
|
+
"deprecateAliases": true,
|
|
683
|
+
"name": "record-id",
|
|
684
|
+
"summary": "ID of the record you’re deleting.",
|
|
685
|
+
"hasDynamicHelp": false,
|
|
686
|
+
"multiple": false,
|
|
687
|
+
"type": "option"
|
|
688
|
+
},
|
|
689
|
+
"where": {
|
|
690
|
+
"char": "w",
|
|
691
|
+
"name": "where",
|
|
692
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
628
693
|
"hasDynamicHelp": false,
|
|
629
694
|
"multiple": false,
|
|
630
695
|
"type": "option"
|
|
@@ -636,7 +701,7 @@
|
|
|
636
701
|
"char": "t",
|
|
637
702
|
"deprecateAliases": true,
|
|
638
703
|
"name": "use-tooling-api",
|
|
639
|
-
"summary": "Use Tooling API so you can
|
|
704
|
+
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
640
705
|
"allowNo": false,
|
|
641
706
|
"type": "boolean"
|
|
642
707
|
},
|
|
@@ -654,63 +719,64 @@
|
|
|
654
719
|
},
|
|
655
720
|
"hasDynamicHelp": true,
|
|
656
721
|
"hiddenAliases": [],
|
|
657
|
-
"id": "data:
|
|
722
|
+
"id": "data:delete:record",
|
|
658
723
|
"pluginAlias": "@salesforce/plugin-data",
|
|
659
724
|
"pluginName": "@salesforce/plugin-data",
|
|
660
725
|
"pluginType": "core",
|
|
661
726
|
"strict": true,
|
|
662
|
-
"summary": "
|
|
727
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
663
728
|
"enableJsonFlag": true,
|
|
664
729
|
"isESM": true,
|
|
665
730
|
"relativePath": [
|
|
666
731
|
"lib",
|
|
667
732
|
"commands",
|
|
668
733
|
"data",
|
|
669
|
-
"
|
|
734
|
+
"delete",
|
|
670
735
|
"record.js"
|
|
671
736
|
],
|
|
672
737
|
"aliasPermutations": [
|
|
673
|
-
"force:data:record:
|
|
674
|
-
"data:force:record:
|
|
675
|
-
"data:record:force:
|
|
676
|
-
"data:record:
|
|
677
|
-
"force:record:data:
|
|
678
|
-
"record:force:data:
|
|
679
|
-
"record:data:force:
|
|
680
|
-
"record:data:
|
|
681
|
-
"force:record:
|
|
682
|
-
"record:force:
|
|
683
|
-
"record:
|
|
684
|
-
"record:
|
|
685
|
-
"force:data:
|
|
686
|
-
"data:force:
|
|
687
|
-
"data:
|
|
688
|
-
"data:
|
|
689
|
-
"force:
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
"
|
|
693
|
-
"force:
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
738
|
+
"force:data:record:delete",
|
|
739
|
+
"data:force:record:delete",
|
|
740
|
+
"data:record:force:delete",
|
|
741
|
+
"data:record:delete:force",
|
|
742
|
+
"force:record:data:delete",
|
|
743
|
+
"record:force:data:delete",
|
|
744
|
+
"record:data:force:delete",
|
|
745
|
+
"record:data:delete:force",
|
|
746
|
+
"force:record:delete:data",
|
|
747
|
+
"record:force:delete:data",
|
|
748
|
+
"record:delete:force:data",
|
|
749
|
+
"record:delete:data:force",
|
|
750
|
+
"force:data:delete:record",
|
|
751
|
+
"data:force:delete:record",
|
|
752
|
+
"data:delete:force:record",
|
|
753
|
+
"data:delete:record:force",
|
|
754
|
+
"force:delete:data:record",
|
|
755
|
+
"delete:force:data:record",
|
|
756
|
+
"delete:data:force:record",
|
|
757
|
+
"delete:data:record:force",
|
|
758
|
+
"force:delete:record:data",
|
|
759
|
+
"delete:force:record:data",
|
|
760
|
+
"delete:record:force:data",
|
|
761
|
+
"delete:record:data:force"
|
|
697
762
|
],
|
|
698
763
|
"permutations": [
|
|
699
|
-
"data:
|
|
700
|
-
"
|
|
701
|
-
"
|
|
702
|
-
"data:record:
|
|
703
|
-
"record:data:
|
|
704
|
-
"record:
|
|
764
|
+
"data:delete:record",
|
|
765
|
+
"delete:data:record",
|
|
766
|
+
"delete:record:data",
|
|
767
|
+
"data:record:delete",
|
|
768
|
+
"record:data:delete",
|
|
769
|
+
"record:delete:data"
|
|
705
770
|
]
|
|
706
771
|
},
|
|
707
|
-
"data:delete:
|
|
772
|
+
"data:delete:resume": {
|
|
708
773
|
"aliases": [],
|
|
709
774
|
"args": {},
|
|
710
|
-
"
|
|
775
|
+
"deprecateAliases": true,
|
|
776
|
+
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
711
777
|
"examples": [
|
|
712
|
-
"
|
|
713
|
-
"
|
|
778
|
+
"Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
779
|
+
"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"
|
|
714
780
|
],
|
|
715
781
|
"flags": {
|
|
716
782
|
"json": {
|
|
@@ -737,17 +803,41 @@
|
|
|
737
803
|
"deprecateAliases": true,
|
|
738
804
|
"name": "target-org",
|
|
739
805
|
"noCacheDefault": true,
|
|
740
|
-
"
|
|
741
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
806
|
+
"summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
|
|
742
807
|
"hasDynamicHelp": true,
|
|
743
808
|
"multiple": false,
|
|
744
809
|
"type": "option"
|
|
745
810
|
},
|
|
746
|
-
"
|
|
811
|
+
"job-id": {
|
|
747
812
|
"aliases": [
|
|
748
|
-
"
|
|
813
|
+
"jobid"
|
|
749
814
|
],
|
|
815
|
+
"char": "i",
|
|
750
816
|
"deprecateAliases": true,
|
|
817
|
+
"name": "job-id",
|
|
818
|
+
"summary": "ID of the job you want to resume.",
|
|
819
|
+
"hasDynamicHelp": false,
|
|
820
|
+
"multiple": false,
|
|
821
|
+
"type": "option"
|
|
822
|
+
},
|
|
823
|
+
"use-most-recent": {
|
|
824
|
+
"exclusive": [
|
|
825
|
+
"job-id"
|
|
826
|
+
],
|
|
827
|
+
"name": "use-most-recent",
|
|
828
|
+
"summary": "Use the ID of the most recently-run bulk job.",
|
|
829
|
+
"allowNo": false,
|
|
830
|
+
"type": "boolean"
|
|
831
|
+
},
|
|
832
|
+
"wait": {
|
|
833
|
+
"name": "wait",
|
|
834
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
835
|
+
"default": "0 minutes",
|
|
836
|
+
"hasDynamicHelp": true,
|
|
837
|
+
"multiple": false,
|
|
838
|
+
"type": "option"
|
|
839
|
+
},
|
|
840
|
+
"api-version": {
|
|
751
841
|
"description": "Override the api version used for api requests made by this command",
|
|
752
842
|
"name": "api-version",
|
|
753
843
|
"hasDynamicHelp": false,
|
|
@@ -763,77 +853,16 @@
|
|
|
763
853
|
"hasDynamicHelp": false,
|
|
764
854
|
"multiple": false,
|
|
765
855
|
"type": "option"
|
|
766
|
-
},
|
|
767
|
-
"file": {
|
|
768
|
-
"aliases": [
|
|
769
|
-
"csvfile"
|
|
770
|
-
],
|
|
771
|
-
"char": "f",
|
|
772
|
-
"deprecateAliases": true,
|
|
773
|
-
"name": "file",
|
|
774
|
-
"required": true,
|
|
775
|
-
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
776
|
-
"hasDynamicHelp": false,
|
|
777
|
-
"multiple": false,
|
|
778
|
-
"type": "option"
|
|
779
|
-
},
|
|
780
|
-
"sobject": {
|
|
781
|
-
"aliases": [
|
|
782
|
-
"sobjecttype"
|
|
783
|
-
],
|
|
784
|
-
"char": "s",
|
|
785
|
-
"deprecateAliases": true,
|
|
786
|
-
"name": "sobject",
|
|
787
|
-
"required": true,
|
|
788
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
789
|
-
"hasDynamicHelp": false,
|
|
790
|
-
"multiple": false,
|
|
791
|
-
"type": "option"
|
|
792
|
-
},
|
|
793
|
-
"wait": {
|
|
794
|
-
"char": "w",
|
|
795
|
-
"exclusive": [
|
|
796
|
-
"async"
|
|
797
|
-
],
|
|
798
|
-
"name": "wait",
|
|
799
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
800
|
-
"default": "0 minutes",
|
|
801
|
-
"hasDynamicHelp": true,
|
|
802
|
-
"multiple": false,
|
|
803
|
-
"type": "option"
|
|
804
|
-
},
|
|
805
|
-
"async": {
|
|
806
|
-
"char": "a",
|
|
807
|
-
"exclusive": [
|
|
808
|
-
"wait"
|
|
809
|
-
],
|
|
810
|
-
"name": "async",
|
|
811
|
-
"summary": "Run the command asynchronously.",
|
|
812
|
-
"allowNo": false,
|
|
813
|
-
"type": "boolean"
|
|
814
|
-
},
|
|
815
|
-
"verbose": {
|
|
816
|
-
"name": "verbose",
|
|
817
|
-
"summary": "Print verbose output of failed records if result is available.",
|
|
818
|
-
"allowNo": false,
|
|
819
|
-
"type": "boolean"
|
|
820
|
-
},
|
|
821
|
-
"hard-delete": {
|
|
822
|
-
"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.",
|
|
823
|
-
"name": "hard-delete",
|
|
824
|
-
"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.",
|
|
825
|
-
"allowNo": false,
|
|
826
|
-
"type": "boolean"
|
|
827
856
|
}
|
|
828
857
|
},
|
|
829
858
|
"hasDynamicHelp": true,
|
|
830
859
|
"hiddenAliases": [],
|
|
831
|
-
"id": "data:delete:
|
|
860
|
+
"id": "data:delete:resume",
|
|
832
861
|
"pluginAlias": "@salesforce/plugin-data",
|
|
833
862
|
"pluginName": "@salesforce/plugin-data",
|
|
834
863
|
"pluginType": "core",
|
|
835
864
|
"strict": true,
|
|
836
|
-
"summary": "
|
|
865
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
837
866
|
"enableJsonFlag": true,
|
|
838
867
|
"isESM": true,
|
|
839
868
|
"relativePath": [
|
|
@@ -841,30 +870,26 @@
|
|
|
841
870
|
"commands",
|
|
842
871
|
"data",
|
|
843
872
|
"delete",
|
|
844
|
-
"
|
|
873
|
+
"resume.js"
|
|
845
874
|
],
|
|
846
875
|
"aliasPermutations": [],
|
|
847
876
|
"permutations": [
|
|
848
|
-
"data:delete:
|
|
849
|
-
"delete:data:
|
|
850
|
-
"delete:
|
|
851
|
-
"data:
|
|
852
|
-
"
|
|
853
|
-
"
|
|
877
|
+
"data:delete:resume",
|
|
878
|
+
"delete:data:resume",
|
|
879
|
+
"delete:resume:data",
|
|
880
|
+
"data:resume:delete",
|
|
881
|
+
"resume:data:delete",
|
|
882
|
+
"resume:delete:data"
|
|
854
883
|
]
|
|
855
884
|
},
|
|
856
|
-
"data:
|
|
857
|
-
"aliases": [
|
|
858
|
-
"force:data:record:delete"
|
|
859
|
-
],
|
|
885
|
+
"data:create:file": {
|
|
886
|
+
"aliases": [],
|
|
860
887
|
"args": {},
|
|
861
|
-
"
|
|
862
|
-
"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.",
|
|
888
|
+
"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.",
|
|
863
889
|
"examples": [
|
|
864
|
-
"
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"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"
|
|
890
|
+
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
891
|
+
"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",
|
|
892
|
+
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
868
893
|
],
|
|
869
894
|
"flags": {
|
|
870
895
|
"json": {
|
|
@@ -883,12 +908,7 @@
|
|
|
883
908
|
"type": "option"
|
|
884
909
|
},
|
|
885
910
|
"target-org": {
|
|
886
|
-
"aliases": [
|
|
887
|
-
"targetusername",
|
|
888
|
-
"u"
|
|
889
|
-
],
|
|
890
911
|
"char": "o",
|
|
891
|
-
"deprecateAliases": true,
|
|
892
912
|
"name": "target-org",
|
|
893
913
|
"noCacheDefault": true,
|
|
894
914
|
"required": true,
|
|
@@ -898,142 +918,77 @@
|
|
|
898
918
|
"type": "option"
|
|
899
919
|
},
|
|
900
920
|
"api-version": {
|
|
901
|
-
"aliases": [
|
|
902
|
-
"apiversion"
|
|
903
|
-
],
|
|
904
|
-
"deprecateAliases": true,
|
|
905
921
|
"description": "Override the api version used for api requests made by this command",
|
|
906
922
|
"name": "api-version",
|
|
907
923
|
"hasDynamicHelp": false,
|
|
908
924
|
"multiple": false,
|
|
909
925
|
"type": "option"
|
|
910
926
|
},
|
|
911
|
-
"
|
|
912
|
-
"
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
"
|
|
916
|
-
"name": "loglevel",
|
|
927
|
+
"title": {
|
|
928
|
+
"char": "t",
|
|
929
|
+
"name": "title",
|
|
930
|
+
"required": false,
|
|
931
|
+
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
917
932
|
"hasDynamicHelp": false,
|
|
918
933
|
"multiple": false,
|
|
919
934
|
"type": "option"
|
|
920
935
|
},
|
|
921
|
-
"
|
|
922
|
-
"
|
|
923
|
-
|
|
924
|
-
],
|
|
925
|
-
"char": "s",
|
|
926
|
-
"deprecateAliases": true,
|
|
927
|
-
"name": "sobject",
|
|
936
|
+
"file": {
|
|
937
|
+
"char": "f",
|
|
938
|
+
"name": "file",
|
|
928
939
|
"required": true,
|
|
929
|
-
"summary": "
|
|
940
|
+
"summary": "Path of file to upload.",
|
|
930
941
|
"hasDynamicHelp": false,
|
|
931
942
|
"multiple": false,
|
|
932
943
|
"type": "option"
|
|
933
944
|
},
|
|
934
|
-
"
|
|
935
|
-
"aliases": [
|
|
936
|
-
"sobjectid"
|
|
937
|
-
],
|
|
945
|
+
"parent-id": {
|
|
938
946
|
"char": "i",
|
|
939
|
-
"
|
|
940
|
-
"
|
|
941
|
-
"summary": "ID of the record you’re deleting.",
|
|
942
|
-
"hasDynamicHelp": false,
|
|
943
|
-
"multiple": false,
|
|
944
|
-
"type": "option"
|
|
945
|
-
},
|
|
946
|
-
"where": {
|
|
947
|
-
"char": "w",
|
|
948
|
-
"name": "where",
|
|
949
|
-
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
947
|
+
"name": "parent-id",
|
|
948
|
+
"summary": "ID of the record to attach the file to.",
|
|
950
949
|
"hasDynamicHelp": false,
|
|
951
950
|
"multiple": false,
|
|
952
951
|
"type": "option"
|
|
953
|
-
},
|
|
954
|
-
"use-tooling-api": {
|
|
955
|
-
"aliases": [
|
|
956
|
-
"usetoolingapi"
|
|
957
|
-
],
|
|
958
|
-
"char": "t",
|
|
959
|
-
"deprecateAliases": true,
|
|
960
|
-
"name": "use-tooling-api",
|
|
961
|
-
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
962
|
-
"allowNo": false,
|
|
963
|
-
"type": "boolean"
|
|
964
|
-
},
|
|
965
|
-
"perflog": {
|
|
966
|
-
"deprecated": {
|
|
967
|
-
"version": "57"
|
|
968
|
-
},
|
|
969
|
-
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
970
|
-
"hidden": true,
|
|
971
|
-
"name": "perflog",
|
|
972
|
-
"summary": "Get API performance data.",
|
|
973
|
-
"allowNo": false,
|
|
974
|
-
"type": "boolean"
|
|
975
952
|
}
|
|
976
953
|
},
|
|
977
954
|
"hasDynamicHelp": true,
|
|
978
955
|
"hiddenAliases": [],
|
|
979
|
-
"id": "data:
|
|
956
|
+
"id": "data:create:file",
|
|
980
957
|
"pluginAlias": "@salesforce/plugin-data",
|
|
981
958
|
"pluginName": "@salesforce/plugin-data",
|
|
982
959
|
"pluginType": "core",
|
|
983
960
|
"strict": true,
|
|
984
|
-
"summary": "
|
|
961
|
+
"summary": "Upload a local file to an org.",
|
|
985
962
|
"enableJsonFlag": true,
|
|
986
963
|
"isESM": true,
|
|
987
964
|
"relativePath": [
|
|
988
965
|
"lib",
|
|
989
966
|
"commands",
|
|
990
967
|
"data",
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
],
|
|
994
|
-
"aliasPermutations": [
|
|
995
|
-
"force:data:record:delete",
|
|
996
|
-
"data:force:record:delete",
|
|
997
|
-
"data:record:force:delete",
|
|
998
|
-
"data:record:delete:force",
|
|
999
|
-
"force:record:data:delete",
|
|
1000
|
-
"record:force:data:delete",
|
|
1001
|
-
"record:data:force:delete",
|
|
1002
|
-
"record:data:delete:force",
|
|
1003
|
-
"force:record:delete:data",
|
|
1004
|
-
"record:force:delete:data",
|
|
1005
|
-
"record:delete:force:data",
|
|
1006
|
-
"record:delete:data:force",
|
|
1007
|
-
"force:data:delete:record",
|
|
1008
|
-
"data:force:delete:record",
|
|
1009
|
-
"data:delete:force:record",
|
|
1010
|
-
"data:delete:record:force",
|
|
1011
|
-
"force:delete:data:record",
|
|
1012
|
-
"delete:force:data:record",
|
|
1013
|
-
"delete:data:force:record",
|
|
1014
|
-
"delete:data:record:force",
|
|
1015
|
-
"force:delete:record:data",
|
|
1016
|
-
"delete:force:record:data",
|
|
1017
|
-
"delete:record:force:data",
|
|
1018
|
-
"delete:record:data:force"
|
|
968
|
+
"create",
|
|
969
|
+
"file.js"
|
|
1019
970
|
],
|
|
971
|
+
"aliasPermutations": [],
|
|
1020
972
|
"permutations": [
|
|
1021
|
-
"data:
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
1024
|
-
"data:
|
|
1025
|
-
"
|
|
1026
|
-
"
|
|
973
|
+
"data:create:file",
|
|
974
|
+
"create:data:file",
|
|
975
|
+
"create:file:data",
|
|
976
|
+
"data:file:create",
|
|
977
|
+
"file:data:create",
|
|
978
|
+
"file:create:data"
|
|
1027
979
|
]
|
|
1028
980
|
},
|
|
1029
|
-
"data:
|
|
1030
|
-
"aliases": [
|
|
981
|
+
"data:create:record": {
|
|
982
|
+
"aliases": [
|
|
983
|
+
"force:data:record:create"
|
|
984
|
+
],
|
|
1031
985
|
"args": {},
|
|
1032
986
|
"deprecateAliases": true,
|
|
1033
|
-
"description": "
|
|
987
|
+
"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.",
|
|
1034
988
|
"examples": [
|
|
1035
|
-
"
|
|
1036
|
-
"
|
|
989
|
+
"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\"",
|
|
990
|
+
"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",
|
|
991
|
+
"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\""
|
|
1037
992
|
],
|
|
1038
993
|
"flags": {
|
|
1039
994
|
"json": {
|
|
@@ -1060,41 +1015,17 @@
|
|
|
1060
1015
|
"deprecateAliases": true,
|
|
1061
1016
|
"name": "target-org",
|
|
1062
1017
|
"noCacheDefault": true,
|
|
1063
|
-
"
|
|
1018
|
+
"required": true,
|
|
1019
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1064
1020
|
"hasDynamicHelp": true,
|
|
1065
1021
|
"multiple": false,
|
|
1066
1022
|
"type": "option"
|
|
1067
1023
|
},
|
|
1068
|
-
"
|
|
1024
|
+
"api-version": {
|
|
1069
1025
|
"aliases": [
|
|
1070
|
-
"
|
|
1026
|
+
"apiversion"
|
|
1071
1027
|
],
|
|
1072
|
-
"char": "i",
|
|
1073
1028
|
"deprecateAliases": true,
|
|
1074
|
-
"name": "job-id",
|
|
1075
|
-
"summary": "ID of the job you want to resume.",
|
|
1076
|
-
"hasDynamicHelp": false,
|
|
1077
|
-
"multiple": false,
|
|
1078
|
-
"type": "option"
|
|
1079
|
-
},
|
|
1080
|
-
"use-most-recent": {
|
|
1081
|
-
"exclusive": [
|
|
1082
|
-
"job-id"
|
|
1083
|
-
],
|
|
1084
|
-
"name": "use-most-recent",
|
|
1085
|
-
"summary": "Use the ID of the most recently-run bulk job.",
|
|
1086
|
-
"allowNo": false,
|
|
1087
|
-
"type": "boolean"
|
|
1088
|
-
},
|
|
1089
|
-
"wait": {
|
|
1090
|
-
"name": "wait",
|
|
1091
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1092
|
-
"default": "0 minutes",
|
|
1093
|
-
"hasDynamicHelp": true,
|
|
1094
|
-
"multiple": false,
|
|
1095
|
-
"type": "option"
|
|
1096
|
-
},
|
|
1097
|
-
"api-version": {
|
|
1098
1029
|
"description": "Override the api version used for api requests made by this command",
|
|
1099
1030
|
"name": "api-version",
|
|
1100
1031
|
"hasDynamicHelp": false,
|
|
@@ -1110,33 +1041,102 @@
|
|
|
1110
1041
|
"hasDynamicHelp": false,
|
|
1111
1042
|
"multiple": false,
|
|
1112
1043
|
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"sobject": {
|
|
1046
|
+
"aliases": [
|
|
1047
|
+
"sobjecttype"
|
|
1048
|
+
],
|
|
1049
|
+
"char": "s",
|
|
1050
|
+
"deprecateAliases": true,
|
|
1051
|
+
"name": "sobject",
|
|
1052
|
+
"required": true,
|
|
1053
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
1054
|
+
"hasDynamicHelp": false,
|
|
1055
|
+
"multiple": false,
|
|
1056
|
+
"type": "option"
|
|
1057
|
+
},
|
|
1058
|
+
"values": {
|
|
1059
|
+
"char": "v",
|
|
1060
|
+
"name": "values",
|
|
1061
|
+
"required": true,
|
|
1062
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
1063
|
+
"hasDynamicHelp": false,
|
|
1064
|
+
"multiple": false,
|
|
1065
|
+
"type": "option"
|
|
1066
|
+
},
|
|
1067
|
+
"use-tooling-api": {
|
|
1068
|
+
"aliases": [
|
|
1069
|
+
"usetoolingapi"
|
|
1070
|
+
],
|
|
1071
|
+
"char": "t",
|
|
1072
|
+
"deprecateAliases": true,
|
|
1073
|
+
"name": "use-tooling-api",
|
|
1074
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
1075
|
+
"allowNo": false,
|
|
1076
|
+
"type": "boolean"
|
|
1077
|
+
},
|
|
1078
|
+
"perflog": {
|
|
1079
|
+
"deprecated": {
|
|
1080
|
+
"version": "57"
|
|
1081
|
+
},
|
|
1082
|
+
"description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
|
|
1083
|
+
"hidden": true,
|
|
1084
|
+
"name": "perflog",
|
|
1085
|
+
"summary": "Get API performance data.",
|
|
1086
|
+
"allowNo": false,
|
|
1087
|
+
"type": "boolean"
|
|
1113
1088
|
}
|
|
1114
1089
|
},
|
|
1115
1090
|
"hasDynamicHelp": true,
|
|
1116
1091
|
"hiddenAliases": [],
|
|
1117
|
-
"id": "data:
|
|
1092
|
+
"id": "data:create:record",
|
|
1118
1093
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1119
1094
|
"pluginName": "@salesforce/plugin-data",
|
|
1120
1095
|
"pluginType": "core",
|
|
1121
1096
|
"strict": true,
|
|
1122
|
-
"summary": "
|
|
1097
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
1123
1098
|
"enableJsonFlag": true,
|
|
1124
1099
|
"isESM": true,
|
|
1125
1100
|
"relativePath": [
|
|
1126
1101
|
"lib",
|
|
1127
1102
|
"commands",
|
|
1128
1103
|
"data",
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1104
|
+
"create",
|
|
1105
|
+
"record.js"
|
|
1106
|
+
],
|
|
1107
|
+
"aliasPermutations": [
|
|
1108
|
+
"force:data:record:create",
|
|
1109
|
+
"data:force:record:create",
|
|
1110
|
+
"data:record:force:create",
|
|
1111
|
+
"data:record:create:force",
|
|
1112
|
+
"force:record:data:create",
|
|
1113
|
+
"record:force:data:create",
|
|
1114
|
+
"record:data:force:create",
|
|
1115
|
+
"record:data:create:force",
|
|
1116
|
+
"force:record:create:data",
|
|
1117
|
+
"record:force:create:data",
|
|
1118
|
+
"record:create:force:data",
|
|
1119
|
+
"record:create:data:force",
|
|
1120
|
+
"force:data:create:record",
|
|
1121
|
+
"data:force:create:record",
|
|
1122
|
+
"data:create:force:record",
|
|
1123
|
+
"data:create:record:force",
|
|
1124
|
+
"force:create:data:record",
|
|
1125
|
+
"create:force:data:record",
|
|
1126
|
+
"create:data:force:record",
|
|
1127
|
+
"create:data:record:force",
|
|
1128
|
+
"force:create:record:data",
|
|
1129
|
+
"create:force:record:data",
|
|
1130
|
+
"create:record:force:data",
|
|
1131
|
+
"create:record:data:force"
|
|
1131
1132
|
],
|
|
1132
|
-
"aliasPermutations": [],
|
|
1133
1133
|
"permutations": [
|
|
1134
|
-
"data:
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1137
|
-
"data:
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1134
|
+
"data:create:record",
|
|
1135
|
+
"create:data:record",
|
|
1136
|
+
"create:record:data",
|
|
1137
|
+
"data:record:create",
|
|
1138
|
+
"record:data:create",
|
|
1139
|
+
"record:create:data"
|
|
1140
1140
|
]
|
|
1141
1141
|
},
|
|
1142
1142
|
"data:export:tree": {
|
|
@@ -3100,5 +3100,5 @@
|
|
|
3100
3100
|
]
|
|
3101
3101
|
}
|
|
3102
3102
|
},
|
|
3103
|
-
"version": "3.6.
|
|
3103
|
+
"version": "3.6.3"
|
|
3104
3104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@jsforce/jsforce-node": "^3.4.1",
|
|
111
111
|
"@salesforce/core": "^8.3.0",
|
|
112
112
|
"@salesforce/kit": "^3.1.6",
|
|
113
|
-
"@salesforce/sf-plugins-core": "^11.3.
|
|
113
|
+
"@salesforce/sf-plugins-core": "^11.3.4",
|
|
114
114
|
"@salesforce/ts-types": "^2.0.11",
|
|
115
115
|
"ansis": "^3.2.0",
|
|
116
116
|
"change-case": "^5.4.4",
|
|
@@ -121,12 +121,12 @@
|
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@oclif/core": "^4.0.17",
|
|
123
123
|
"@oclif/plugin-command-snapshot": "^5.2.12",
|
|
124
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
124
|
+
"@salesforce/cli-plugins-testkit": "^5.3.26",
|
|
125
125
|
"@salesforce/dev-scripts": "^10.2.9",
|
|
126
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
126
|
+
"@salesforce/plugin-command-reference": "^3.1.18",
|
|
127
127
|
"@salesforce/types": "^1.2.0",
|
|
128
|
-
"eslint-plugin-sf-plugin": "^1.20.
|
|
129
|
-
"oclif": "^4.14.
|
|
128
|
+
"eslint-plugin-sf-plugin": "^1.20.5",
|
|
129
|
+
"oclif": "^4.14.24",
|
|
130
130
|
"ts-node": "^10.9.2",
|
|
131
131
|
"typescript": "^5.5.4"
|
|
132
132
|
},
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"exports": "./lib/index.js",
|
|
252
252
|
"type": "module",
|
|
253
253
|
"sfdx": {
|
|
254
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.6.
|
|
255
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.6.
|
|
254
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.6.3.crt",
|
|
255
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.6.3.sig"
|
|
256
256
|
}
|
|
257
257
|
}
|