@salesforce/plugin-data 4.0.8 → 4.0.9

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 +25 -25
  2. package/oclif.manifest.json +593 -593
  3. package/package.json +4 -4
@@ -775,458 +775,6 @@
775
775
  "record:create:data"
776
776
  ]
777
777
  },
778
- "data:delete:bulk": {
779
- "aliases": [],
780
- "args": {},
781
- "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.",
782
- "examples": [
783
- "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",
784
- "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"
785
- ],
786
- "flags": {
787
- "json": {
788
- "description": "Format output as json.",
789
- "helpGroup": "GLOBAL",
790
- "name": "json",
791
- "allowNo": false,
792
- "type": "boolean"
793
- },
794
- "flags-dir": {
795
- "helpGroup": "GLOBAL",
796
- "name": "flags-dir",
797
- "summary": "Import flag values from a directory.",
798
- "hasDynamicHelp": false,
799
- "multiple": false,
800
- "type": "option"
801
- },
802
- "target-org": {
803
- "aliases": [
804
- "targetusername",
805
- "u"
806
- ],
807
- "char": "o",
808
- "deprecateAliases": true,
809
- "name": "target-org",
810
- "noCacheDefault": true,
811
- "required": true,
812
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
813
- "hasDynamicHelp": true,
814
- "multiple": false,
815
- "type": "option"
816
- },
817
- "api-version": {
818
- "aliases": [
819
- "apiversion"
820
- ],
821
- "deprecateAliases": true,
822
- "description": "Override the api version used for api requests made by this command",
823
- "name": "api-version",
824
- "hasDynamicHelp": false,
825
- "multiple": false,
826
- "type": "option"
827
- },
828
- "loglevel": {
829
- "deprecated": {
830
- "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."
831
- },
832
- "hidden": true,
833
- "name": "loglevel",
834
- "hasDynamicHelp": false,
835
- "multiple": false,
836
- "type": "option"
837
- },
838
- "file": {
839
- "aliases": [
840
- "csvfile"
841
- ],
842
- "char": "f",
843
- "deprecateAliases": true,
844
- "name": "file",
845
- "required": true,
846
- "summary": "CSV file that contains the IDs of the records to update or delete.",
847
- "hasDynamicHelp": false,
848
- "multiple": false,
849
- "type": "option"
850
- },
851
- "sobject": {
852
- "aliases": [
853
- "sobjecttype"
854
- ],
855
- "char": "s",
856
- "deprecateAliases": true,
857
- "name": "sobject",
858
- "required": true,
859
- "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
860
- "hasDynamicHelp": false,
861
- "multiple": false,
862
- "type": "option"
863
- },
864
- "wait": {
865
- "char": "w",
866
- "exclusive": [
867
- "async"
868
- ],
869
- "name": "wait",
870
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
871
- "default": "0 minutes",
872
- "hasDynamicHelp": true,
873
- "multiple": false,
874
- "type": "option"
875
- },
876
- "async": {
877
- "char": "a",
878
- "exclusive": [
879
- "wait"
880
- ],
881
- "name": "async",
882
- "summary": "Run the command asynchronously.",
883
- "allowNo": false,
884
- "type": "boolean"
885
- },
886
- "verbose": {
887
- "deprecated": {
888
- "message": "The --verbose flag is deprecated and will be removed after March 2025, use \"sf data bulk results\" to get job results instead."
889
- },
890
- "name": "verbose",
891
- "summary": "Print verbose output of failed records if result is available.",
892
- "allowNo": false,
893
- "type": "boolean"
894
- },
895
- "line-ending": {
896
- "dependsOn": [
897
- "file"
898
- ],
899
- "name": "line-ending",
900
- "summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
901
- "hasDynamicHelp": false,
902
- "multiple": false,
903
- "options": [
904
- "CRLF",
905
- "LF"
906
- ],
907
- "type": "option"
908
- },
909
- "hard-delete": {
910
- "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.",
911
- "name": "hard-delete",
912
- "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.",
913
- "allowNo": false,
914
- "type": "boolean"
915
- }
916
- },
917
- "hasDynamicHelp": true,
918
- "hiddenAliases": [],
919
- "id": "data:delete:bulk",
920
- "pluginAlias": "@salesforce/plugin-data",
921
- "pluginName": "@salesforce/plugin-data",
922
- "pluginType": "core",
923
- "strict": true,
924
- "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
925
- "enableJsonFlag": true,
926
- "isESM": true,
927
- "relativePath": [
928
- "lib",
929
- "commands",
930
- "data",
931
- "delete",
932
- "bulk.js"
933
- ],
934
- "aliasPermutations": [],
935
- "permutations": [
936
- "data:delete:bulk",
937
- "delete:data:bulk",
938
- "delete:bulk:data",
939
- "data:bulk:delete",
940
- "bulk:data:delete",
941
- "bulk:delete:data"
942
- ]
943
- },
944
- "data:delete:record": {
945
- "aliases": [
946
- "force:data:record:delete"
947
- ],
948
- "args": {},
949
- "deprecateAliases": true,
950
- "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.",
951
- "examples": [
952
- "Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
953
- "Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
954
- "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",
955
- "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"
956
- ],
957
- "flags": {
958
- "json": {
959
- "description": "Format output as json.",
960
- "helpGroup": "GLOBAL",
961
- "name": "json",
962
- "allowNo": false,
963
- "type": "boolean"
964
- },
965
- "flags-dir": {
966
- "helpGroup": "GLOBAL",
967
- "name": "flags-dir",
968
- "summary": "Import flag values from a directory.",
969
- "hasDynamicHelp": false,
970
- "multiple": false,
971
- "type": "option"
972
- },
973
- "target-org": {
974
- "aliases": [
975
- "targetusername",
976
- "u"
977
- ],
978
- "char": "o",
979
- "deprecateAliases": true,
980
- "name": "target-org",
981
- "noCacheDefault": true,
982
- "required": true,
983
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
984
- "hasDynamicHelp": true,
985
- "multiple": false,
986
- "type": "option"
987
- },
988
- "api-version": {
989
- "aliases": [
990
- "apiversion"
991
- ],
992
- "deprecateAliases": true,
993
- "description": "Override the api version used for api requests made by this command",
994
- "name": "api-version",
995
- "hasDynamicHelp": false,
996
- "multiple": false,
997
- "type": "option"
998
- },
999
- "loglevel": {
1000
- "deprecated": {
1001
- "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."
1002
- },
1003
- "hidden": true,
1004
- "name": "loglevel",
1005
- "hasDynamicHelp": false,
1006
- "multiple": false,
1007
- "type": "option"
1008
- },
1009
- "sobject": {
1010
- "aliases": [
1011
- "sobjecttype"
1012
- ],
1013
- "char": "s",
1014
- "deprecateAliases": true,
1015
- "name": "sobject",
1016
- "required": true,
1017
- "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
1018
- "hasDynamicHelp": false,
1019
- "multiple": false,
1020
- "type": "option"
1021
- },
1022
- "record-id": {
1023
- "aliases": [
1024
- "sobjectid"
1025
- ],
1026
- "char": "i",
1027
- "deprecateAliases": true,
1028
- "name": "record-id",
1029
- "summary": "ID of the record you’re deleting.",
1030
- "hasDynamicHelp": false,
1031
- "multiple": false,
1032
- "type": "option"
1033
- },
1034
- "where": {
1035
- "char": "w",
1036
- "name": "where",
1037
- "summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
1038
- "hasDynamicHelp": false,
1039
- "multiple": false,
1040
- "type": "option"
1041
- },
1042
- "use-tooling-api": {
1043
- "aliases": [
1044
- "usetoolingapi"
1045
- ],
1046
- "char": "t",
1047
- "deprecateAliases": true,
1048
- "name": "use-tooling-api",
1049
- "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
1050
- "allowNo": false,
1051
- "type": "boolean"
1052
- },
1053
- "perflog": {
1054
- "deprecated": {
1055
- "version": "57"
1056
- },
1057
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
1058
- "hidden": true,
1059
- "name": "perflog",
1060
- "summary": "Get API performance data.",
1061
- "allowNo": false,
1062
- "type": "boolean"
1063
- }
1064
- },
1065
- "hasDynamicHelp": true,
1066
- "hiddenAliases": [],
1067
- "id": "data:delete:record",
1068
- "pluginAlias": "@salesforce/plugin-data",
1069
- "pluginName": "@salesforce/plugin-data",
1070
- "pluginType": "core",
1071
- "strict": true,
1072
- "summary": "Deletes a single record from a Salesforce or Tooling API object.",
1073
- "enableJsonFlag": true,
1074
- "isESM": true,
1075
- "relativePath": [
1076
- "lib",
1077
- "commands",
1078
- "data",
1079
- "delete",
1080
- "record.js"
1081
- ],
1082
- "aliasPermutations": [
1083
- "force:data:record:delete",
1084
- "data:force:record:delete",
1085
- "data:record:force:delete",
1086
- "data:record:delete:force",
1087
- "force:record:data:delete",
1088
- "record:force:data:delete",
1089
- "record:data:force:delete",
1090
- "record:data:delete:force",
1091
- "force:record:delete:data",
1092
- "record:force:delete:data",
1093
- "record:delete:force:data",
1094
- "record:delete:data:force",
1095
- "force:data:delete:record",
1096
- "data:force:delete:record",
1097
- "data:delete:force:record",
1098
- "data:delete:record:force",
1099
- "force:delete:data:record",
1100
- "delete:force:data:record",
1101
- "delete:data:force:record",
1102
- "delete:data:record:force",
1103
- "force:delete:record:data",
1104
- "delete:force:record:data",
1105
- "delete:record:force:data",
1106
- "delete:record:data:force"
1107
- ],
1108
- "permutations": [
1109
- "data:delete:record",
1110
- "delete:data:record",
1111
- "delete:record:data",
1112
- "data:record:delete",
1113
- "record:data:delete",
1114
- "record:delete:data"
1115
- ]
1116
- },
1117
- "data:delete:resume": {
1118
- "aliases": [],
1119
- "args": {},
1120
- "deprecateAliases": true,
1121
- "description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
1122
- "examples": [
1123
- "Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
1124
- "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"
1125
- ],
1126
- "flags": {
1127
- "json": {
1128
- "description": "Format output as json.",
1129
- "helpGroup": "GLOBAL",
1130
- "name": "json",
1131
- "allowNo": false,
1132
- "type": "boolean"
1133
- },
1134
- "flags-dir": {
1135
- "helpGroup": "GLOBAL",
1136
- "name": "flags-dir",
1137
- "summary": "Import flag values from a directory.",
1138
- "hasDynamicHelp": false,
1139
- "multiple": false,
1140
- "type": "option"
1141
- },
1142
- "target-org": {
1143
- "aliases": [
1144
- "targetusername",
1145
- "u"
1146
- ],
1147
- "char": "o",
1148
- "deprecateAliases": true,
1149
- "name": "target-org",
1150
- "noCacheDefault": true,
1151
- "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
1152
- "hasDynamicHelp": true,
1153
- "multiple": false,
1154
- "type": "option"
1155
- },
1156
- "job-id": {
1157
- "aliases": [
1158
- "jobid"
1159
- ],
1160
- "char": "i",
1161
- "deprecateAliases": true,
1162
- "name": "job-id",
1163
- "summary": "ID of the job you want to resume.",
1164
- "hasDynamicHelp": false,
1165
- "multiple": false,
1166
- "type": "option"
1167
- },
1168
- "use-most-recent": {
1169
- "exclusive": [
1170
- "job-id"
1171
- ],
1172
- "name": "use-most-recent",
1173
- "summary": "Use the ID of the most recently-run bulk job.",
1174
- "allowNo": false,
1175
- "type": "boolean"
1176
- },
1177
- "wait": {
1178
- "name": "wait",
1179
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
1180
- "default": "5 minutes",
1181
- "hasDynamicHelp": true,
1182
- "multiple": false,
1183
- "type": "option"
1184
- },
1185
- "api-version": {
1186
- "description": "Override the api version used for api requests made by this command",
1187
- "name": "api-version",
1188
- "hasDynamicHelp": false,
1189
- "multiple": false,
1190
- "type": "option"
1191
- },
1192
- "loglevel": {
1193
- "deprecated": {
1194
- "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."
1195
- },
1196
- "hidden": true,
1197
- "name": "loglevel",
1198
- "hasDynamicHelp": false,
1199
- "multiple": false,
1200
- "type": "option"
1201
- }
1202
- },
1203
- "hasDynamicHelp": true,
1204
- "hiddenAliases": [],
1205
- "id": "data:delete:resume",
1206
- "pluginAlias": "@salesforce/plugin-data",
1207
- "pluginName": "@salesforce/plugin-data",
1208
- "pluginType": "core",
1209
- "strict": true,
1210
- "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
1211
- "enableJsonFlag": true,
1212
- "isESM": true,
1213
- "relativePath": [
1214
- "lib",
1215
- "commands",
1216
- "data",
1217
- "delete",
1218
- "resume.js"
1219
- ],
1220
- "aliasPermutations": [],
1221
- "permutations": [
1222
- "data:delete:resume",
1223
- "delete:data:resume",
1224
- "delete:resume:data",
1225
- "data:resume:delete",
1226
- "resume:data:delete",
1227
- "resume:delete:data"
1228
- ]
1229
- },
1230
778
  "data:export:bulk": {
1231
779
  "aliases": [],
1232
780
  "args": {},
@@ -1413,13 +961,244 @@
1413
961
  "bulk:export:data"
1414
962
  ]
1415
963
  },
1416
- "data:export:resume": {
1417
- "aliases": [],
964
+ "data:export:resume": {
965
+ "aliases": [],
966
+ "args": {},
967
+ "description": "When the original \"data export bulk\" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.",
968
+ "examples": [
969
+ "Resume a bulk export job run on your default org by specifying a job ID:\nsf <%= command.id %> --job-id 750xx000000005sAAA",
970
+ "Resume the most recently-run bulk export job for an org with alias my-scratch:\nsf data export resume --use-most-recent --target-org my-scratch"
971
+ ],
972
+ "flags": {
973
+ "json": {
974
+ "description": "Format output as json.",
975
+ "helpGroup": "GLOBAL",
976
+ "name": "json",
977
+ "allowNo": false,
978
+ "type": "boolean"
979
+ },
980
+ "flags-dir": {
981
+ "helpGroup": "GLOBAL",
982
+ "name": "flags-dir",
983
+ "summary": "Import flag values from a directory.",
984
+ "hasDynamicHelp": false,
985
+ "multiple": false,
986
+ "type": "option"
987
+ },
988
+ "job-id": {
989
+ "char": "i",
990
+ "name": "job-id",
991
+ "summary": "Job ID of the bulk export.",
992
+ "hasDynamicHelp": false,
993
+ "multiple": false,
994
+ "type": "option"
995
+ },
996
+ "use-most-recent": {
997
+ "name": "use-most-recent",
998
+ "summary": "Use the job ID of the bulk export job that was most recently run.",
999
+ "allowNo": false,
1000
+ "type": "boolean"
1001
+ },
1002
+ "api-version": {
1003
+ "description": "Override the api version used for api requests made by this command",
1004
+ "name": "api-version",
1005
+ "hasDynamicHelp": false,
1006
+ "multiple": false,
1007
+ "type": "option"
1008
+ }
1009
+ },
1010
+ "hasDynamicHelp": false,
1011
+ "hiddenAliases": [],
1012
+ "id": "data:export:resume",
1013
+ "pluginAlias": "@salesforce/plugin-data",
1014
+ "pluginName": "@salesforce/plugin-data",
1015
+ "pluginType": "core",
1016
+ "strict": true,
1017
+ "summary": "Resume a bulk export job that you previously started. Uses Bulk API 2.0.",
1018
+ "enableJsonFlag": true,
1019
+ "isESM": true,
1020
+ "relativePath": [
1021
+ "lib",
1022
+ "commands",
1023
+ "data",
1024
+ "export",
1025
+ "resume.js"
1026
+ ],
1027
+ "aliasPermutations": [],
1028
+ "permutations": [
1029
+ "data:export:resume",
1030
+ "export:data:resume",
1031
+ "export:resume:data",
1032
+ "data:resume:export",
1033
+ "resume:data:export",
1034
+ "resume:export:data"
1035
+ ]
1036
+ },
1037
+ "data:export:tree": {
1038
+ "aliases": [
1039
+ "force:data:tree:export"
1040
+ ],
1041
+ "args": {},
1042
+ "deprecateAliases": true,
1043
+ "description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
1044
+ "examples": [
1045
+ "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"",
1046
+ "Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
1047
+ "Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
1048
+ ],
1049
+ "flags": {
1050
+ "json": {
1051
+ "description": "Format output as json.",
1052
+ "helpGroup": "GLOBAL",
1053
+ "name": "json",
1054
+ "allowNo": false,
1055
+ "type": "boolean"
1056
+ },
1057
+ "flags-dir": {
1058
+ "helpGroup": "GLOBAL",
1059
+ "name": "flags-dir",
1060
+ "summary": "Import flag values from a directory.",
1061
+ "hasDynamicHelp": false,
1062
+ "multiple": false,
1063
+ "type": "option"
1064
+ },
1065
+ "target-org": {
1066
+ "aliases": [
1067
+ "targetusername",
1068
+ "u"
1069
+ ],
1070
+ "char": "o",
1071
+ "deprecateAliases": true,
1072
+ "name": "target-org",
1073
+ "noCacheDefault": true,
1074
+ "required": true,
1075
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1076
+ "hasDynamicHelp": true,
1077
+ "multiple": false,
1078
+ "type": "option"
1079
+ },
1080
+ "api-version": {
1081
+ "aliases": [
1082
+ "apiversion"
1083
+ ],
1084
+ "deprecateAliases": true,
1085
+ "description": "Override the api version used for api requests made by this command",
1086
+ "name": "api-version",
1087
+ "hasDynamicHelp": false,
1088
+ "multiple": false,
1089
+ "type": "option"
1090
+ },
1091
+ "loglevel": {
1092
+ "deprecated": {
1093
+ "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."
1094
+ },
1095
+ "hidden": true,
1096
+ "name": "loglevel",
1097
+ "hasDynamicHelp": false,
1098
+ "multiple": false,
1099
+ "type": "option"
1100
+ },
1101
+ "query": {
1102
+ "char": "q",
1103
+ "name": "query",
1104
+ "required": true,
1105
+ "summary": "SOQL query, or filepath of a file that contains the query, to retrieve records.",
1106
+ "hasDynamicHelp": false,
1107
+ "multiple": true,
1108
+ "type": "option"
1109
+ },
1110
+ "plan": {
1111
+ "char": "p",
1112
+ "name": "plan",
1113
+ "summary": "Generate multiple sObject tree files and a plan definition file for aggregated import.",
1114
+ "allowNo": false,
1115
+ "type": "boolean"
1116
+ },
1117
+ "prefix": {
1118
+ "char": "x",
1119
+ "name": "prefix",
1120
+ "summary": "Prefix of generated files.",
1121
+ "hasDynamicHelp": false,
1122
+ "multiple": false,
1123
+ "type": "option"
1124
+ },
1125
+ "output-dir": {
1126
+ "aliases": [
1127
+ "outputdir"
1128
+ ],
1129
+ "char": "d",
1130
+ "deprecateAliases": true,
1131
+ "name": "output-dir",
1132
+ "summary": "Directory in which to generate the JSON files; default is current directory.",
1133
+ "hasDynamicHelp": false,
1134
+ "multiple": false,
1135
+ "type": "option"
1136
+ }
1137
+ },
1138
+ "hasDynamicHelp": true,
1139
+ "hiddenAliases": [],
1140
+ "id": "data:export:tree",
1141
+ "pluginAlias": "@salesforce/plugin-data",
1142
+ "pluginName": "@salesforce/plugin-data",
1143
+ "pluginType": "core",
1144
+ "strict": true,
1145
+ "summary": "Export data from an org into one or more JSON files.",
1146
+ "enableJsonFlag": true,
1147
+ "isESM": true,
1148
+ "relativePath": [
1149
+ "lib",
1150
+ "commands",
1151
+ "data",
1152
+ "export",
1153
+ "tree.js"
1154
+ ],
1155
+ "aliasPermutations": [
1156
+ "force:data:tree:export",
1157
+ "data:force:tree:export",
1158
+ "data:tree:force:export",
1159
+ "data:tree:export:force",
1160
+ "force:tree:data:export",
1161
+ "tree:force:data:export",
1162
+ "tree:data:force:export",
1163
+ "tree:data:export:force",
1164
+ "force:tree:export:data",
1165
+ "tree:force:export:data",
1166
+ "tree:export:force:data",
1167
+ "tree:export:data:force",
1168
+ "force:data:export:tree",
1169
+ "data:force:export:tree",
1170
+ "data:export:force:tree",
1171
+ "data:export:tree:force",
1172
+ "force:export:data:tree",
1173
+ "export:force:data:tree",
1174
+ "export:data:force:tree",
1175
+ "export:data:tree:force",
1176
+ "force:export:tree:data",
1177
+ "export:force:tree:data",
1178
+ "export:tree:force:data",
1179
+ "export:tree:data:force"
1180
+ ],
1181
+ "permutations": [
1182
+ "data:export:tree",
1183
+ "export:data:tree",
1184
+ "export:tree:data",
1185
+ "data:tree:export",
1186
+ "tree:data:export",
1187
+ "tree:export:data"
1188
+ ]
1189
+ },
1190
+ "data:get:record": {
1191
+ "aliases": [
1192
+ "force:data:record:get"
1193
+ ],
1418
1194
  "args": {},
1419
- "description": "When the original \"data export bulk\" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.",
1195
+ "deprecateAliases": true,
1196
+ "description": "Specify the record you want to retrieve 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 command 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\nThe command displays all the record's fields and their values, one field per terminal line. Fields with no values are displayed as \"null\".\n\nThis command retrieves a record from Salesforce objects by default. Use the --use-tooling-api flag to retrieve from a Tooling API object.",
1420
1197
  "examples": [
1421
- "Resume a bulk export job run on your default org by specifying a job ID:\nsf <%= command.id %> --job-id 750xx000000005sAAA",
1422
- "Resume the most recently-run bulk export job for an org with alias my-scratch:\nsf data export resume --use-most-recent --target-org my-scratch"
1198
+ "Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
1199
+ "Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
1200
+ "Retrieve 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",
1201
+ "Retrieve 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"
1423
1202
  ],
1424
1203
  "flags": {
1425
1204
  "json": {
@@ -1437,66 +1216,157 @@
1437
1216
  "multiple": false,
1438
1217
  "type": "option"
1439
1218
  },
1440
- "job-id": {
1441
- "char": "i",
1442
- "name": "job-id",
1443
- "summary": "Job ID of the bulk export.",
1444
- "hasDynamicHelp": false,
1219
+ "target-org": {
1220
+ "aliases": [
1221
+ "targetusername",
1222
+ "u"
1223
+ ],
1224
+ "char": "o",
1225
+ "deprecateAliases": true,
1226
+ "name": "target-org",
1227
+ "noCacheDefault": true,
1228
+ "required": true,
1229
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1230
+ "hasDynamicHelp": true,
1445
1231
  "multiple": false,
1446
1232
  "type": "option"
1447
1233
  },
1448
- "use-most-recent": {
1449
- "name": "use-most-recent",
1450
- "summary": "Use the job ID of the bulk export job that was most recently run.",
1451
- "allowNo": false,
1452
- "type": "boolean"
1453
- },
1454
1234
  "api-version": {
1235
+ "aliases": [
1236
+ "apiversion"
1237
+ ],
1238
+ "deprecateAliases": true,
1455
1239
  "description": "Override the api version used for api requests made by this command",
1456
1240
  "name": "api-version",
1457
1241
  "hasDynamicHelp": false,
1458
1242
  "multiple": false,
1459
1243
  "type": "option"
1244
+ },
1245
+ "loglevel": {
1246
+ "deprecated": {
1247
+ "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."
1248
+ },
1249
+ "hidden": true,
1250
+ "name": "loglevel",
1251
+ "hasDynamicHelp": false,
1252
+ "multiple": false,
1253
+ "type": "option"
1254
+ },
1255
+ "sobject": {
1256
+ "aliases": [
1257
+ "sobjecttype"
1258
+ ],
1259
+ "char": "s",
1260
+ "deprecateAliases": true,
1261
+ "name": "sobject",
1262
+ "required": true,
1263
+ "summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
1264
+ "hasDynamicHelp": false,
1265
+ "multiple": false,
1266
+ "type": "option"
1267
+ },
1268
+ "record-id": {
1269
+ "aliases": [
1270
+ "sobjectid"
1271
+ ],
1272
+ "char": "i",
1273
+ "deprecateAliases": true,
1274
+ "name": "record-id",
1275
+ "summary": "ID of the record you’re retrieving.",
1276
+ "hasDynamicHelp": false,
1277
+ "multiple": false,
1278
+ "type": "option"
1279
+ },
1280
+ "where": {
1281
+ "char": "w",
1282
+ "name": "where",
1283
+ "summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
1284
+ "hasDynamicHelp": false,
1285
+ "multiple": false,
1286
+ "type": "option"
1287
+ },
1288
+ "use-tooling-api": {
1289
+ "aliases": [
1290
+ "usetoolingapi"
1291
+ ],
1292
+ "char": "t",
1293
+ "deprecateAliases": true,
1294
+ "name": "use-tooling-api",
1295
+ "summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
1296
+ "allowNo": false,
1297
+ "type": "boolean"
1298
+ },
1299
+ "perflog": {
1300
+ "deprecated": {
1301
+ "version": "57"
1302
+ },
1303
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
1304
+ "hidden": true,
1305
+ "name": "perflog",
1306
+ "summary": "Get API performance data.",
1307
+ "allowNo": false,
1308
+ "type": "boolean"
1460
1309
  }
1461
1310
  },
1462
- "hasDynamicHelp": false,
1311
+ "hasDynamicHelp": true,
1463
1312
  "hiddenAliases": [],
1464
- "id": "data:export:resume",
1313
+ "id": "data:get:record",
1465
1314
  "pluginAlias": "@salesforce/plugin-data",
1466
1315
  "pluginName": "@salesforce/plugin-data",
1467
1316
  "pluginType": "core",
1468
1317
  "strict": true,
1469
- "summary": "Resume a bulk export job that you previously started. Uses Bulk API 2.0.",
1318
+ "summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
1470
1319
  "enableJsonFlag": true,
1471
1320
  "isESM": true,
1472
1321
  "relativePath": [
1473
1322
  "lib",
1474
1323
  "commands",
1475
1324
  "data",
1476
- "export",
1477
- "resume.js"
1325
+ "get",
1326
+ "record.js"
1327
+ ],
1328
+ "aliasPermutations": [
1329
+ "force:data:record:get",
1330
+ "data:force:record:get",
1331
+ "data:record:force:get",
1332
+ "data:record:get:force",
1333
+ "force:record:data:get",
1334
+ "record:force:data:get",
1335
+ "record:data:force:get",
1336
+ "record:data:get:force",
1337
+ "force:record:get:data",
1338
+ "record:force:get:data",
1339
+ "record:get:force:data",
1340
+ "record:get:data:force",
1341
+ "force:data:get:record",
1342
+ "data:force:get:record",
1343
+ "data:get:force:record",
1344
+ "data:get:record:force",
1345
+ "force:get:data:record",
1346
+ "get:force:data:record",
1347
+ "get:data:force:record",
1348
+ "get:data:record:force",
1349
+ "force:get:record:data",
1350
+ "get:force:record:data",
1351
+ "get:record:force:data",
1352
+ "get:record:data:force"
1478
1353
  ],
1479
- "aliasPermutations": [],
1480
1354
  "permutations": [
1481
- "data:export:resume",
1482
- "export:data:resume",
1483
- "export:resume:data",
1484
- "data:resume:export",
1485
- "resume:data:export",
1486
- "resume:export:data"
1355
+ "data:get:record",
1356
+ "get:data:record",
1357
+ "get:record:data",
1358
+ "data:record:get",
1359
+ "record:data:get",
1360
+ "record:get:data"
1487
1361
  ]
1488
1362
  },
1489
- "data:export:tree": {
1490
- "aliases": [
1491
- "force:data:tree:export"
1492
- ],
1363
+ "data:delete:bulk": {
1364
+ "aliases": [],
1493
1365
  "args": {},
1494
- "deprecateAliases": true,
1495
- "description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
1366
+ "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.",
1496
1367
  "examples": [
1497
- "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"",
1498
- "Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
1499
- "Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
1368
+ "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",
1369
+ "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"
1500
1370
  ],
1501
1371
  "flags": {
1502
1372
  "json": {
@@ -1550,107 +1420,124 @@
1550
1420
  "multiple": false,
1551
1421
  "type": "option"
1552
1422
  },
1553
- "query": {
1554
- "char": "q",
1555
- "name": "query",
1423
+ "file": {
1424
+ "aliases": [
1425
+ "csvfile"
1426
+ ],
1427
+ "char": "f",
1428
+ "deprecateAliases": true,
1429
+ "name": "file",
1556
1430
  "required": true,
1557
- "summary": "SOQL query, or filepath of a file that contains the query, to retrieve records.",
1431
+ "summary": "CSV file that contains the IDs of the records to update or delete.",
1558
1432
  "hasDynamicHelp": false,
1559
- "multiple": true,
1433
+ "multiple": false,
1560
1434
  "type": "option"
1561
1435
  },
1562
- "plan": {
1563
- "char": "p",
1564
- "name": "plan",
1565
- "summary": "Generate multiple sObject tree files and a plan definition file for aggregated import.",
1566
- "allowNo": false,
1567
- "type": "boolean"
1568
- },
1569
- "prefix": {
1570
- "char": "x",
1571
- "name": "prefix",
1572
- "summary": "Prefix of generated files.",
1436
+ "sobject": {
1437
+ "aliases": [
1438
+ "sobjecttype"
1439
+ ],
1440
+ "char": "s",
1441
+ "deprecateAliases": true,
1442
+ "name": "sobject",
1443
+ "required": true,
1444
+ "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
1573
1445
  "hasDynamicHelp": false,
1574
1446
  "multiple": false,
1575
1447
  "type": "option"
1576
1448
  },
1577
- "output-dir": {
1578
- "aliases": [
1579
- "outputdir"
1449
+ "wait": {
1450
+ "char": "w",
1451
+ "exclusive": [
1452
+ "async"
1580
1453
  ],
1581
- "char": "d",
1582
- "deprecateAliases": true,
1583
- "name": "output-dir",
1584
- "summary": "Directory in which to generate the JSON files; default is current directory.",
1454
+ "name": "wait",
1455
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
1456
+ "default": "0 minutes",
1457
+ "hasDynamicHelp": true,
1458
+ "multiple": false,
1459
+ "type": "option"
1460
+ },
1461
+ "async": {
1462
+ "char": "a",
1463
+ "exclusive": [
1464
+ "wait"
1465
+ ],
1466
+ "name": "async",
1467
+ "summary": "Run the command asynchronously.",
1468
+ "allowNo": false,
1469
+ "type": "boolean"
1470
+ },
1471
+ "verbose": {
1472
+ "deprecated": {
1473
+ "message": "The --verbose flag is deprecated and will be removed after March 2025, use \"sf data bulk results\" to get job results instead."
1474
+ },
1475
+ "name": "verbose",
1476
+ "summary": "Print verbose output of failed records if result is available.",
1477
+ "allowNo": false,
1478
+ "type": "boolean"
1479
+ },
1480
+ "line-ending": {
1481
+ "dependsOn": [
1482
+ "file"
1483
+ ],
1484
+ "name": "line-ending",
1485
+ "summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
1585
1486
  "hasDynamicHelp": false,
1586
1487
  "multiple": false,
1488
+ "options": [
1489
+ "CRLF",
1490
+ "LF"
1491
+ ],
1587
1492
  "type": "option"
1493
+ },
1494
+ "hard-delete": {
1495
+ "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.",
1496
+ "name": "hard-delete",
1497
+ "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.",
1498
+ "allowNo": false,
1499
+ "type": "boolean"
1588
1500
  }
1589
1501
  },
1590
1502
  "hasDynamicHelp": true,
1591
1503
  "hiddenAliases": [],
1592
- "id": "data:export:tree",
1504
+ "id": "data:delete:bulk",
1593
1505
  "pluginAlias": "@salesforce/plugin-data",
1594
1506
  "pluginName": "@salesforce/plugin-data",
1595
1507
  "pluginType": "core",
1596
1508
  "strict": true,
1597
- "summary": "Export data from an org into one or more JSON files.",
1509
+ "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
1598
1510
  "enableJsonFlag": true,
1599
1511
  "isESM": true,
1600
1512
  "relativePath": [
1601
1513
  "lib",
1602
1514
  "commands",
1603
1515
  "data",
1604
- "export",
1605
- "tree.js"
1606
- ],
1607
- "aliasPermutations": [
1608
- "force:data:tree:export",
1609
- "data:force:tree:export",
1610
- "data:tree:force:export",
1611
- "data:tree:export:force",
1612
- "force:tree:data:export",
1613
- "tree:force:data:export",
1614
- "tree:data:force:export",
1615
- "tree:data:export:force",
1616
- "force:tree:export:data",
1617
- "tree:force:export:data",
1618
- "tree:export:force:data",
1619
- "tree:export:data:force",
1620
- "force:data:export:tree",
1621
- "data:force:export:tree",
1622
- "data:export:force:tree",
1623
- "data:export:tree:force",
1624
- "force:export:data:tree",
1625
- "export:force:data:tree",
1626
- "export:data:force:tree",
1627
- "export:data:tree:force",
1628
- "force:export:tree:data",
1629
- "export:force:tree:data",
1630
- "export:tree:force:data",
1631
- "export:tree:data:force"
1516
+ "delete",
1517
+ "bulk.js"
1632
1518
  ],
1519
+ "aliasPermutations": [],
1633
1520
  "permutations": [
1634
- "data:export:tree",
1635
- "export:data:tree",
1636
- "export:tree:data",
1637
- "data:tree:export",
1638
- "tree:data:export",
1639
- "tree:export:data"
1521
+ "data:delete:bulk",
1522
+ "delete:data:bulk",
1523
+ "delete:bulk:data",
1524
+ "data:bulk:delete",
1525
+ "bulk:data:delete",
1526
+ "bulk:delete:data"
1640
1527
  ]
1641
1528
  },
1642
- "data:get:record": {
1529
+ "data:delete:record": {
1643
1530
  "aliases": [
1644
- "force:data:record:get"
1531
+ "force:data:record:delete"
1645
1532
  ],
1646
1533
  "args": {},
1647
1534
  "deprecateAliases": true,
1648
- "description": "Specify the record you want to retrieve 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 command 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\nThe command displays all the record's fields and their values, one field per terminal line. Fields with no values are displayed as \"null\".\n\nThis command retrieves a record from Salesforce objects by default. Use the --use-tooling-api flag to retrieve from a Tooling API object.",
1535
+ "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.",
1649
1536
  "examples": [
1650
- "Retrieve and display a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
1651
- "Retrieve a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
1652
- "Retrieve 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",
1653
- "Retrieve 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"
1537
+ "Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
1538
+ "Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
1539
+ "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",
1540
+ "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"
1654
1541
  ],
1655
1542
  "flags": {
1656
1543
  "json": {
@@ -1712,7 +1599,7 @@
1712
1599
  "deprecateAliases": true,
1713
1600
  "name": "sobject",
1714
1601
  "required": true,
1715
- "summary": "API name of the Salesforce or Tooling API object that you're retrieving a record from.",
1602
+ "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
1716
1603
  "hasDynamicHelp": false,
1717
1604
  "multiple": false,
1718
1605
  "type": "option"
@@ -1724,7 +1611,7 @@
1724
1611
  "char": "i",
1725
1612
  "deprecateAliases": true,
1726
1613
  "name": "record-id",
1727
- "summary": "ID of the record you’re retrieving.",
1614
+ "summary": "ID of the record you’re deleting.",
1728
1615
  "hasDynamicHelp": false,
1729
1616
  "multiple": false,
1730
1617
  "type": "option"
@@ -1732,7 +1619,7 @@
1732
1619
  "where": {
1733
1620
  "char": "w",
1734
1621
  "name": "where",
1735
- "summary": "List of <fieldName>=<value> pairs that identify the record you want to display.",
1622
+ "summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
1736
1623
  "hasDynamicHelp": false,
1737
1624
  "multiple": false,
1738
1625
  "type": "option"
@@ -1744,7 +1631,7 @@
1744
1631
  "char": "t",
1745
1632
  "deprecateAliases": true,
1746
1633
  "name": "use-tooling-api",
1747
- "summary": "Use Tooling API so you can retrieve a record from a Tooling API object.",
1634
+ "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
1748
1635
  "allowNo": false,
1749
1636
  "type": "boolean"
1750
1637
  },
@@ -1762,54 +1649,167 @@
1762
1649
  },
1763
1650
  "hasDynamicHelp": true,
1764
1651
  "hiddenAliases": [],
1765
- "id": "data:get:record",
1652
+ "id": "data:delete:record",
1766
1653
  "pluginAlias": "@salesforce/plugin-data",
1767
1654
  "pluginName": "@salesforce/plugin-data",
1768
1655
  "pluginType": "core",
1769
1656
  "strict": true,
1770
- "summary": "Retrieve and display a single record of a Salesforce or Tooling API object.",
1657
+ "summary": "Deletes a single record from a Salesforce or Tooling API object.",
1771
1658
  "enableJsonFlag": true,
1772
1659
  "isESM": true,
1773
1660
  "relativePath": [
1774
1661
  "lib",
1775
1662
  "commands",
1776
1663
  "data",
1777
- "get",
1664
+ "delete",
1778
1665
  "record.js"
1779
1666
  ],
1780
1667
  "aliasPermutations": [
1781
- "force:data:record:get",
1782
- "data:force:record:get",
1783
- "data:record:force:get",
1784
- "data:record:get:force",
1785
- "force:record:data:get",
1786
- "record:force:data:get",
1787
- "record:data:force:get",
1788
- "record:data:get:force",
1789
- "force:record:get:data",
1790
- "record:force:get:data",
1791
- "record:get:force:data",
1792
- "record:get:data:force",
1793
- "force:data:get:record",
1794
- "data:force:get:record",
1795
- "data:get:force:record",
1796
- "data:get:record:force",
1797
- "force:get:data:record",
1798
- "get:force:data:record",
1799
- "get:data:force:record",
1800
- "get:data:record:force",
1801
- "force:get:record:data",
1802
- "get:force:record:data",
1803
- "get:record:force:data",
1804
- "get:record:data:force"
1668
+ "force:data:record:delete",
1669
+ "data:force:record:delete",
1670
+ "data:record:force:delete",
1671
+ "data:record:delete:force",
1672
+ "force:record:data:delete",
1673
+ "record:force:data:delete",
1674
+ "record:data:force:delete",
1675
+ "record:data:delete:force",
1676
+ "force:record:delete:data",
1677
+ "record:force:delete:data",
1678
+ "record:delete:force:data",
1679
+ "record:delete:data:force",
1680
+ "force:data:delete:record",
1681
+ "data:force:delete:record",
1682
+ "data:delete:force:record",
1683
+ "data:delete:record:force",
1684
+ "force:delete:data:record",
1685
+ "delete:force:data:record",
1686
+ "delete:data:force:record",
1687
+ "delete:data:record:force",
1688
+ "force:delete:record:data",
1689
+ "delete:force:record:data",
1690
+ "delete:record:force:data",
1691
+ "delete:record:data:force"
1805
1692
  ],
1806
1693
  "permutations": [
1807
- "data:get:record",
1808
- "get:data:record",
1809
- "get:record:data",
1810
- "data:record:get",
1811
- "record:data:get",
1812
- "record:get:data"
1694
+ "data:delete:record",
1695
+ "delete:data:record",
1696
+ "delete:record:data",
1697
+ "data:record:delete",
1698
+ "record:data:delete",
1699
+ "record:delete:data"
1700
+ ]
1701
+ },
1702
+ "data:delete:resume": {
1703
+ "aliases": [],
1704
+ "args": {},
1705
+ "deprecateAliases": true,
1706
+ "description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
1707
+ "examples": [
1708
+ "Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
1709
+ "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"
1710
+ ],
1711
+ "flags": {
1712
+ "json": {
1713
+ "description": "Format output as json.",
1714
+ "helpGroup": "GLOBAL",
1715
+ "name": "json",
1716
+ "allowNo": false,
1717
+ "type": "boolean"
1718
+ },
1719
+ "flags-dir": {
1720
+ "helpGroup": "GLOBAL",
1721
+ "name": "flags-dir",
1722
+ "summary": "Import flag values from a directory.",
1723
+ "hasDynamicHelp": false,
1724
+ "multiple": false,
1725
+ "type": "option"
1726
+ },
1727
+ "target-org": {
1728
+ "aliases": [
1729
+ "targetusername",
1730
+ "u"
1731
+ ],
1732
+ "char": "o",
1733
+ "deprecateAliases": true,
1734
+ "name": "target-org",
1735
+ "noCacheDefault": true,
1736
+ "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
1737
+ "hasDynamicHelp": true,
1738
+ "multiple": false,
1739
+ "type": "option"
1740
+ },
1741
+ "job-id": {
1742
+ "aliases": [
1743
+ "jobid"
1744
+ ],
1745
+ "char": "i",
1746
+ "deprecateAliases": true,
1747
+ "name": "job-id",
1748
+ "summary": "ID of the job you want to resume.",
1749
+ "hasDynamicHelp": false,
1750
+ "multiple": false,
1751
+ "type": "option"
1752
+ },
1753
+ "use-most-recent": {
1754
+ "exclusive": [
1755
+ "job-id"
1756
+ ],
1757
+ "name": "use-most-recent",
1758
+ "summary": "Use the ID of the most recently-run bulk job.",
1759
+ "allowNo": false,
1760
+ "type": "boolean"
1761
+ },
1762
+ "wait": {
1763
+ "name": "wait",
1764
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
1765
+ "default": "5 minutes",
1766
+ "hasDynamicHelp": true,
1767
+ "multiple": false,
1768
+ "type": "option"
1769
+ },
1770
+ "api-version": {
1771
+ "description": "Override the api version used for api requests made by this command",
1772
+ "name": "api-version",
1773
+ "hasDynamicHelp": false,
1774
+ "multiple": false,
1775
+ "type": "option"
1776
+ },
1777
+ "loglevel": {
1778
+ "deprecated": {
1779
+ "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."
1780
+ },
1781
+ "hidden": true,
1782
+ "name": "loglevel",
1783
+ "hasDynamicHelp": false,
1784
+ "multiple": false,
1785
+ "type": "option"
1786
+ }
1787
+ },
1788
+ "hasDynamicHelp": true,
1789
+ "hiddenAliases": [],
1790
+ "id": "data:delete:resume",
1791
+ "pluginAlias": "@salesforce/plugin-data",
1792
+ "pluginName": "@salesforce/plugin-data",
1793
+ "pluginType": "core",
1794
+ "strict": true,
1795
+ "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
1796
+ "enableJsonFlag": true,
1797
+ "isESM": true,
1798
+ "relativePath": [
1799
+ "lib",
1800
+ "commands",
1801
+ "data",
1802
+ "delete",
1803
+ "resume.js"
1804
+ ],
1805
+ "aliasPermutations": [],
1806
+ "permutations": [
1807
+ "data:delete:resume",
1808
+ "delete:data:resume",
1809
+ "delete:resume:data",
1810
+ "data:resume:delete",
1811
+ "resume:data:delete",
1812
+ "resume:delete:data"
1813
1813
  ]
1814
1814
  },
1815
1815
  "data:import:bulk": {
@@ -3535,5 +3535,5 @@
3535
3535
  ]
3536
3536
  }
3537
3537
  },
3538
- "version": "4.0.8"
3538
+ "version": "4.0.9"
3539
3539
  }