@salesforce/plugin-data 4.0.98 → 4.0.99

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.
Files changed (3) hide show
  1. package/README.md +24 -24
  2. package/oclif.manifest.json +295 -295
  3. package/package.json +3 -3
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.98/src/commands/data/bulk/results.ts)_
147
+ _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/create/file.ts)_
196
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/create/record.ts)_
252
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/delete/bulk.ts)_
311
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/delete/record.ts)_
372
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/delete/resume.ts)_
411
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/export/bulk.ts)_
478
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/export/resume.ts)_
517
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/export/tree.ts)_
577
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/get/record.ts)_
641
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/import/bulk.ts)_
693
+ _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/import/resume.ts)_
729
+ _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/import/tree.ts)_
793
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/query.ts)_
846
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/resume.ts)_
883
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/search.ts)_
933
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/update/bulk.ts)_
988
+ _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/update/record.ts)_
1050
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/update/resume.ts)_
1089
+ _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/upsert/bulk.ts)_
1145
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/data/upsert/resume.ts)_
1184
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/force/data/bulk/delete.ts)_
1231
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/force/data/bulk/status.ts)_
1268
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/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.98/src/commands/force/data/bulk/upsert.ts)_
1326
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.99/src/commands/force/data/bulk/upsert.ts)_
1327
1327
 
1328
1328
  <!-- commandsstop -->
@@ -478,14 +478,13 @@
478
478
  "results:bulk:data"
479
479
  ]
480
480
  },
481
- "data:create:file": {
481
+ "data:delete:bulk": {
482
482
  "aliases": [],
483
483
  "args": {},
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.",
484
+ "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.",
485
485
  "examples": [
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"
486
+ "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",
487
+ "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"
489
488
  ],
490
489
  "flags": {
491
490
  "json": {
@@ -504,7 +503,12 @@
504
503
  "type": "option"
505
504
  },
506
505
  "target-org": {
506
+ "aliases": [
507
+ "targetusername",
508
+ "u"
509
+ ],
507
510
  "char": "o",
511
+ "deprecateAliases": true,
508
512
  "name": "target-org",
509
513
  "noCacheDefault": true,
510
514
  "required": true,
@@ -514,77 +518,122 @@
514
518
  "type": "option"
515
519
  },
516
520
  "api-version": {
521
+ "aliases": [
522
+ "apiversion"
523
+ ],
524
+ "deprecateAliases": true,
517
525
  "description": "Override the api version used for api requests made by this command",
518
526
  "name": "api-version",
519
527
  "hasDynamicHelp": false,
520
528
  "multiple": false,
521
529
  "type": "option"
522
530
  },
523
- "title": {
524
- "char": "t",
525
- "name": "title",
526
- "required": false,
527
- "summary": "New title given to the file (ContentDocument) after it's uploaded.",
531
+ "loglevel": {
532
+ "deprecated": {
533
+ "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."
534
+ },
535
+ "hidden": true,
536
+ "name": "loglevel",
528
537
  "hasDynamicHelp": false,
529
538
  "multiple": false,
530
539
  "type": "option"
531
540
  },
532
541
  "file": {
542
+ "aliases": [
543
+ "csvfile"
544
+ ],
533
545
  "char": "f",
546
+ "deprecateAliases": true,
534
547
  "name": "file",
535
548
  "required": true,
536
- "summary": "Path of file to upload.",
549
+ "summary": "CSV file that contains the IDs of the records to update or delete.",
537
550
  "hasDynamicHelp": false,
538
551
  "multiple": false,
539
552
  "type": "option"
540
553
  },
541
- "parent-id": {
542
- "char": "i",
543
- "name": "parent-id",
544
- "summary": "ID of the record to attach the file to.",
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.",
563
+ "hasDynamicHelp": false,
564
+ "multiple": false,
565
+ "type": "option"
566
+ },
567
+ "wait": {
568
+ "char": "w",
569
+ "name": "wait",
570
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
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`.",
545
582
  "hasDynamicHelp": false,
546
583
  "multiple": false,
584
+ "options": [
585
+ "CRLF",
586
+ "LF"
587
+ ],
547
588
  "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"
548
596
  }
549
597
  },
550
598
  "hasDynamicHelp": true,
551
599
  "hiddenAliases": [],
552
- "id": "data:create:file",
600
+ "id": "data:delete:bulk",
553
601
  "pluginAlias": "@salesforce/plugin-data",
554
602
  "pluginName": "@salesforce/plugin-data",
555
603
  "pluginType": "core",
556
604
  "strict": true,
557
- "summary": "Upload a local file to an org.",
605
+ "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
558
606
  "enableJsonFlag": true,
559
607
  "isESM": true,
560
608
  "relativePath": [
561
609
  "lib",
562
610
  "commands",
563
611
  "data",
564
- "create",
565
- "file.js"
612
+ "delete",
613
+ "bulk.js"
566
614
  ],
567
615
  "aliasPermutations": [],
568
616
  "permutations": [
569
- "data:create:file",
570
- "create:data:file",
571
- "create:file:data",
572
- "data:file:create",
573
- "file:data:create",
574
- "file:create:data"
617
+ "data:delete:bulk",
618
+ "delete:data:bulk",
619
+ "delete:bulk:data",
620
+ "data:bulk:delete",
621
+ "bulk:data:delete",
622
+ "bulk:delete:data"
575
623
  ]
576
624
  },
577
- "data:create:record": {
625
+ "data:delete:record": {
578
626
  "aliases": [
579
- "force:data:record:create"
627
+ "force:data:record:delete"
580
628
  ],
581
629
  "args": {},
582
630
  "deprecateAliases": true,
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.",
631
+ "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.",
584
632
  "examples": [
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\""
633
+ "Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
634
+ "Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
635
+ "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",
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"
588
637
  ],
589
638
  "flags": {
590
639
  "json": {
@@ -646,16 +695,27 @@
646
695
  "deprecateAliases": true,
647
696
  "name": "sobject",
648
697
  "required": true,
649
- "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
698
+ "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
650
699
  "hasDynamicHelp": false,
651
700
  "multiple": false,
652
701
  "type": "option"
653
702
  },
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.",
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.",
711
+ "hasDynamicHelp": false,
712
+ "multiple": false,
713
+ "type": "option"
714
+ },
715
+ "where": {
716
+ "char": "w",
717
+ "name": "where",
718
+ "summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
659
719
  "hasDynamicHelp": false,
660
720
  "multiple": false,
661
721
  "type": "option"
@@ -667,7 +727,7 @@
667
727
  "char": "t",
668
728
  "deprecateAliases": true,
669
729
  "name": "use-tooling-api",
670
- "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
730
+ "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
671
731
  "allowNo": false,
672
732
  "type": "boolean"
673
733
  },
@@ -685,63 +745,64 @@
685
745
  },
686
746
  "hasDynamicHelp": true,
687
747
  "hiddenAliases": [],
688
- "id": "data:create:record",
748
+ "id": "data:delete:record",
689
749
  "pluginAlias": "@salesforce/plugin-data",
690
750
  "pluginName": "@salesforce/plugin-data",
691
751
  "pluginType": "core",
692
752
  "strict": true,
693
- "summary": "Create and insert a record into a Salesforce or Tooling API object.",
753
+ "summary": "Deletes a single record from a Salesforce or Tooling API object.",
694
754
  "enableJsonFlag": true,
695
755
  "isESM": true,
696
756
  "relativePath": [
697
757
  "lib",
698
758
  "commands",
699
759
  "data",
700
- "create",
760
+ "delete",
701
761
  "record.js"
702
762
  ],
703
763
  "aliasPermutations": [
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"
764
+ "force:data:record:delete",
765
+ "data:force:record:delete",
766
+ "data:record:force:delete",
767
+ "data:record:delete:force",
768
+ "force:record:data:delete",
769
+ "record:force:data:delete",
770
+ "record:data:force:delete",
771
+ "record:data:delete:force",
772
+ "force:record:delete:data",
773
+ "record:force:delete:data",
774
+ "record:delete:force:data",
775
+ "record:delete:data:force",
776
+ "force:data:delete:record",
777
+ "data:force:delete:record",
778
+ "data:delete:force:record",
779
+ "data:delete:record:force",
780
+ "force:delete:data:record",
781
+ "delete:force:data:record",
782
+ "delete:data:force:record",
783
+ "delete:data:record:force",
784
+ "force:delete:record:data",
785
+ "delete:force:record:data",
786
+ "delete:record:force:data",
787
+ "delete:record:data:force"
728
788
  ],
729
789
  "permutations": [
730
- "data:create:record",
731
- "create:data:record",
732
- "create:record:data",
733
- "data:record:create",
734
- "record:data:create",
735
- "record:create:data"
790
+ "data:delete:record",
791
+ "delete:data:record",
792
+ "delete:record:data",
793
+ "data:record:delete",
794
+ "record:data:delete",
795
+ "record:delete:data"
736
796
  ]
737
797
  },
738
- "data:delete:bulk": {
798
+ "data:delete:resume": {
739
799
  "aliases": [],
740
800
  "args": {},
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.",
801
+ "deprecateAliases": true,
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.",
742
803
  "examples": [
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"
804
+ "Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
805
+ "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"
745
806
  ],
746
807
  "flags": {
747
808
  "json": {
@@ -768,17 +829,41 @@
768
829
  "deprecateAliases": true,
769
830
  "name": "target-org",
770
831
  "noCacheDefault": true,
771
- "required": true,
772
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
832
+ "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
773
833
  "hasDynamicHelp": true,
774
834
  "multiple": false,
775
835
  "type": "option"
776
836
  },
777
- "api-version": {
837
+ "job-id": {
778
838
  "aliases": [
779
- "apiversion"
839
+ "jobid"
780
840
  ],
841
+ "char": "i",
781
842
  "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": {
782
867
  "description": "Override the api version used for api requests made by this command",
783
868
  "name": "api-version",
784
869
  "hasDynamicHelp": false,
@@ -794,72 +879,16 @@
794
879
  "hasDynamicHelp": false,
795
880
  "multiple": false,
796
881
  "type": "option"
797
- },
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.",
807
- "hasDynamicHelp": false,
808
- "multiple": false,
809
- "type": "option"
810
- },
811
- "sobject": {
812
- "aliases": [
813
- "sobjecttype"
814
- ],
815
- "char": "s",
816
- "deprecateAliases": true,
817
- "name": "sobject",
818
- "required": true,
819
- "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
820
- "hasDynamicHelp": false,
821
- "multiple": false,
822
- "type": "option"
823
- },
824
- "wait": {
825
- "char": "w",
826
- "name": "wait",
827
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
828
- "default": "0 minutes",
829
- "hasDynamicHelp": true,
830
- "multiple": false,
831
- "type": "option"
832
- },
833
- "line-ending": {
834
- "dependsOn": [
835
- "file"
836
- ],
837
- "name": "line-ending",
838
- "summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
839
- "hasDynamicHelp": false,
840
- "multiple": false,
841
- "options": [
842
- "CRLF",
843
- "LF"
844
- ],
845
- "type": "option"
846
- },
847
- "hard-delete": {
848
- "description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
849
- "name": "hard-delete",
850
- "summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
851
- "allowNo": false,
852
- "type": "boolean"
853
882
  }
854
883
  },
855
884
  "hasDynamicHelp": true,
856
885
  "hiddenAliases": [],
857
- "id": "data:delete:bulk",
886
+ "id": "data:delete:resume",
858
887
  "pluginAlias": "@salesforce/plugin-data",
859
888
  "pluginName": "@salesforce/plugin-data",
860
889
  "pluginType": "core",
861
890
  "strict": true,
862
- "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
891
+ "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
863
892
  "enableJsonFlag": true,
864
893
  "isESM": true,
865
894
  "relativePath": [
@@ -867,30 +896,26 @@
867
896
  "commands",
868
897
  "data",
869
898
  "delete",
870
- "bulk.js"
899
+ "resume.js"
871
900
  ],
872
901
  "aliasPermutations": [],
873
902
  "permutations": [
874
- "data:delete:bulk",
875
- "delete:data:bulk",
876
- "delete:bulk:data",
877
- "data:bulk:delete",
878
- "bulk:data:delete",
879
- "bulk:delete:data"
903
+ "data:delete:resume",
904
+ "delete:data:resume",
905
+ "delete:resume:data",
906
+ "data:resume:delete",
907
+ "resume:data:delete",
908
+ "resume:delete:data"
880
909
  ]
881
910
  },
882
- "data:delete:record": {
883
- "aliases": [
884
- "force:data:record:delete"
885
- ],
911
+ "data:create:file": {
912
+ "aliases": [],
886
913
  "args": {},
887
- "deprecateAliases": true,
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.",
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.",
889
915
  "examples": [
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"
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"
894
919
  ],
895
920
  "flags": {
896
921
  "json": {
@@ -909,12 +934,7 @@
909
934
  "type": "option"
910
935
  },
911
936
  "target-org": {
912
- "aliases": [
913
- "targetusername",
914
- "u"
915
- ],
916
937
  "char": "o",
917
- "deprecateAliases": true,
918
938
  "name": "target-org",
919
939
  "noCacheDefault": true,
920
940
  "required": true,
@@ -924,142 +944,77 @@
924
944
  "type": "option"
925
945
  },
926
946
  "api-version": {
927
- "aliases": [
928
- "apiversion"
929
- ],
930
- "deprecateAliases": true,
931
947
  "description": "Override the api version used for api requests made by this command",
932
948
  "name": "api-version",
933
949
  "hasDynamicHelp": false,
934
950
  "multiple": false,
935
951
  "type": "option"
936
952
  },
937
- "loglevel": {
938
- "deprecated": {
939
- "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."
940
- },
941
- "hidden": true,
942
- "name": "loglevel",
953
+ "title": {
954
+ "char": "t",
955
+ "name": "title",
956
+ "required": false,
957
+ "summary": "New title given to the file (ContentDocument) after it's uploaded.",
943
958
  "hasDynamicHelp": false,
944
959
  "multiple": false,
945
960
  "type": "option"
946
961
  },
947
- "sobject": {
948
- "aliases": [
949
- "sobjecttype"
950
- ],
951
- "char": "s",
952
- "deprecateAliases": true,
953
- "name": "sobject",
962
+ "file": {
963
+ "char": "f",
964
+ "name": "file",
954
965
  "required": true,
955
- "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
966
+ "summary": "Path of file to upload.",
956
967
  "hasDynamicHelp": false,
957
968
  "multiple": false,
958
969
  "type": "option"
959
970
  },
960
- "record-id": {
961
- "aliases": [
962
- "sobjectid"
963
- ],
971
+ "parent-id": {
964
972
  "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.",
973
+ "name": "parent-id",
974
+ "summary": "ID of the record to attach the file to.",
976
975
  "hasDynamicHelp": false,
977
976
  "multiple": false,
978
977
  "type": "option"
979
- },
980
- "use-tooling-api": {
981
- "aliases": [
982
- "usetoolingapi"
983
- ],
984
- "char": "t",
985
- "deprecateAliases": true,
986
- "name": "use-tooling-api",
987
- "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
988
- "allowNo": false,
989
- "type": "boolean"
990
- },
991
- "perflog": {
992
- "deprecated": {
993
- "version": "57"
994
- },
995
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
996
- "hidden": true,
997
- "name": "perflog",
998
- "summary": "Get API performance data.",
999
- "allowNo": false,
1000
- "type": "boolean"
1001
978
  }
1002
979
  },
1003
980
  "hasDynamicHelp": true,
1004
981
  "hiddenAliases": [],
1005
- "id": "data:delete:record",
982
+ "id": "data:create:file",
1006
983
  "pluginAlias": "@salesforce/plugin-data",
1007
984
  "pluginName": "@salesforce/plugin-data",
1008
985
  "pluginType": "core",
1009
986
  "strict": true,
1010
- "summary": "Deletes a single record from a Salesforce or Tooling API object.",
987
+ "summary": "Upload a local file to an org.",
1011
988
  "enableJsonFlag": true,
1012
989
  "isESM": true,
1013
990
  "relativePath": [
1014
991
  "lib",
1015
992
  "commands",
1016
993
  "data",
1017
- "delete",
1018
- "record.js"
1019
- ],
1020
- "aliasPermutations": [
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"
994
+ "create",
995
+ "file.js"
1045
996
  ],
997
+ "aliasPermutations": [],
1046
998
  "permutations": [
1047
- "data:delete:record",
1048
- "delete:data:record",
1049
- "delete:record:data",
1050
- "data:record:delete",
1051
- "record:data:delete",
1052
- "record:delete:data"
999
+ "data:create:file",
1000
+ "create:data:file",
1001
+ "create:file:data",
1002
+ "data:file:create",
1003
+ "file:data:create",
1004
+ "file:create:data"
1053
1005
  ]
1054
1006
  },
1055
- "data:delete:resume": {
1056
- "aliases": [],
1007
+ "data:create:record": {
1008
+ "aliases": [
1009
+ "force:data:record:create"
1010
+ ],
1057
1011
  "args": {},
1058
1012
  "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.",
1013
+ "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.",
1060
1014
  "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"
1015
+ "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\"",
1016
+ "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",
1017
+ "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\""
1063
1018
  ],
1064
1019
  "flags": {
1065
1020
  "json": {
@@ -1086,41 +1041,17 @@
1086
1041
  "deprecateAliases": true,
1087
1042
  "name": "target-org",
1088
1043
  "noCacheDefault": true,
1089
- "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
1044
+ "required": true,
1045
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1090
1046
  "hasDynamicHelp": true,
1091
1047
  "multiple": false,
1092
1048
  "type": "option"
1093
1049
  },
1094
- "job-id": {
1050
+ "api-version": {
1095
1051
  "aliases": [
1096
- "jobid"
1052
+ "apiversion"
1097
1053
  ],
1098
- "char": "i",
1099
1054
  "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
1055
  "description": "Override the api version used for api requests made by this command",
1125
1056
  "name": "api-version",
1126
1057
  "hasDynamicHelp": false,
@@ -1136,33 +1067,102 @@
1136
1067
  "hasDynamicHelp": false,
1137
1068
  "multiple": false,
1138
1069
  "type": "option"
1070
+ },
1071
+ "sobject": {
1072
+ "aliases": [
1073
+ "sobjecttype"
1074
+ ],
1075
+ "char": "s",
1076
+ "deprecateAliases": true,
1077
+ "name": "sobject",
1078
+ "required": true,
1079
+ "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
1080
+ "hasDynamicHelp": false,
1081
+ "multiple": false,
1082
+ "type": "option"
1083
+ },
1084
+ "values": {
1085
+ "char": "v",
1086
+ "name": "values",
1087
+ "required": true,
1088
+ "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
1089
+ "hasDynamicHelp": false,
1090
+ "multiple": false,
1091
+ "type": "option"
1092
+ },
1093
+ "use-tooling-api": {
1094
+ "aliases": [
1095
+ "usetoolingapi"
1096
+ ],
1097
+ "char": "t",
1098
+ "deprecateAliases": true,
1099
+ "name": "use-tooling-api",
1100
+ "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
1101
+ "allowNo": false,
1102
+ "type": "boolean"
1103
+ },
1104
+ "perflog": {
1105
+ "deprecated": {
1106
+ "version": "57"
1107
+ },
1108
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
1109
+ "hidden": true,
1110
+ "name": "perflog",
1111
+ "summary": "Get API performance data.",
1112
+ "allowNo": false,
1113
+ "type": "boolean"
1139
1114
  }
1140
1115
  },
1141
1116
  "hasDynamicHelp": true,
1142
1117
  "hiddenAliases": [],
1143
- "id": "data:delete:resume",
1118
+ "id": "data:create:record",
1144
1119
  "pluginAlias": "@salesforce/plugin-data",
1145
1120
  "pluginName": "@salesforce/plugin-data",
1146
1121
  "pluginType": "core",
1147
1122
  "strict": true,
1148
- "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
1123
+ "summary": "Create and insert a record into a Salesforce or Tooling API object.",
1149
1124
  "enableJsonFlag": true,
1150
1125
  "isESM": true,
1151
1126
  "relativePath": [
1152
1127
  "lib",
1153
1128
  "commands",
1154
1129
  "data",
1155
- "delete",
1156
- "resume.js"
1130
+ "create",
1131
+ "record.js"
1132
+ ],
1133
+ "aliasPermutations": [
1134
+ "force:data:record:create",
1135
+ "data:force:record:create",
1136
+ "data:record:force:create",
1137
+ "data:record:create:force",
1138
+ "force:record:data:create",
1139
+ "record:force:data:create",
1140
+ "record:data:force:create",
1141
+ "record:data:create:force",
1142
+ "force:record:create:data",
1143
+ "record:force:create:data",
1144
+ "record:create:force:data",
1145
+ "record:create:data:force",
1146
+ "force:data:create:record",
1147
+ "data:force:create:record",
1148
+ "data:create:force:record",
1149
+ "data:create:record:force",
1150
+ "force:create:data:record",
1151
+ "create:force:data:record",
1152
+ "create:data:force:record",
1153
+ "create:data:record:force",
1154
+ "force:create:record:data",
1155
+ "create:force:record:data",
1156
+ "create:record:force:data",
1157
+ "create:record:data:force"
1157
1158
  ],
1158
- "aliasPermutations": [],
1159
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"
1160
+ "data:create:record",
1161
+ "create:data:record",
1162
+ "create:record:data",
1163
+ "data:record:create",
1164
+ "record:data:create",
1165
+ "record:create:data"
1166
1166
  ]
1167
1167
  },
1168
1168
  "data:export:bulk": {
@@ -3166,5 +3166,5 @@
3166
3166
  ]
3167
3167
  }
3168
3168
  },
3169
- "version": "4.0.98"
3169
+ "version": "4.0.99"
3170
3170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "4.0.98",
3
+ "version": "4.0.99",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -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.98.crt",
278
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.98.sig"
277
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.99.crt",
278
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.99.sig"
279
279
  }
280
280
  }