@salesforce/plugin-data 4.0.72 → 4.0.73

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 +294 -294
  3. package/package.json +4 -4
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.72/src/commands/data/bulk/results.ts)_
147
+ _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/create/file.ts)_
196
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/create/record.ts)_
252
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/delete/bulk.ts)_
311
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/delete/record.ts)_
372
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/delete/resume.ts)_
411
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/export/bulk.ts)_
478
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/export/resume.ts)_
517
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/export/tree.ts)_
577
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/get/record.ts)_
641
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/import/bulk.ts)_
693
+ _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/import/resume.ts)_
729
+ _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/import/tree.ts)_
793
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/query.ts)_
846
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/resume.ts)_
883
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/search.ts)_
933
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/update/bulk.ts)_
988
+ _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/update/record.ts)_
1050
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/update/resume.ts)_
1089
+ _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/upsert/bulk.ts)_
1145
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/src/commands/data/upsert/resume.ts)_
1184
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.73/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.72/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.73/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.72/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.73/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.72/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.73/src/commands/force/data/bulk/upsert.ts)_
1327
1327
 
1328
1328
  <!-- commandsstop -->
@@ -2073,12 +2073,13 @@
2073
2073
  "tree:import:data"
2074
2074
  ]
2075
2075
  },
2076
- "data:update:bulk": {
2076
+ "data:upsert:bulk": {
2077
2077
  "aliases": [],
2078
2078
  "args": {},
2079
- "description": "You can use this command to update millions of Salesforce object records based on a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag. The first column of every line in the CSV file must be an ID of the record you want to update. The CSV file can contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command fails. Consider using \"sf data upsert bulk\" if you also want to insert new records.\n\nBulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run \"sf data update resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
2079
+ "description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\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 and batch IDs to check the status of the job with the \"<%= config.bin %> data upsert resume\" command.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_csv.htm)",
2080
2080
  "examples": [
2081
- "Update Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the update doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch"
2081
+ "Bulk upsert records to the Contact object in your default org:\n<%= config.bin %> <%= command.id %> --sobject Contact --file files/contacts.csv --external-id Id",
2082
+ "Bulk upsert records to 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/file.csv --external-id MyField__c --wait 5 --target-org my-scratch"
2082
2083
  ],
2083
2084
  "flags": {
2084
2085
  "json": {
@@ -2096,45 +2097,73 @@
2096
2097
  "multiple": false,
2097
2098
  "type": "option"
2098
2099
  },
2099
- "wait": {
2100
- "char": "w",
2101
- "name": "wait",
2102
- "summary": "Time to wait for the command to finish, in minutes.",
2100
+ "target-org": {
2101
+ "aliases": [
2102
+ "targetusername",
2103
+ "u"
2104
+ ],
2105
+ "char": "o",
2106
+ "deprecateAliases": true,
2107
+ "name": "target-org",
2108
+ "noCacheDefault": true,
2109
+ "required": true,
2110
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2103
2111
  "hasDynamicHelp": true,
2104
2112
  "multiple": false,
2105
2113
  "type": "option"
2106
2114
  },
2115
+ "api-version": {
2116
+ "aliases": [
2117
+ "apiversion"
2118
+ ],
2119
+ "deprecateAliases": true,
2120
+ "description": "Override the api version used for api requests made by this command",
2121
+ "name": "api-version",
2122
+ "hasDynamicHelp": false,
2123
+ "multiple": false,
2124
+ "type": "option"
2125
+ },
2126
+ "loglevel": {
2127
+ "deprecated": {
2128
+ "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."
2129
+ },
2130
+ "hidden": true,
2131
+ "name": "loglevel",
2132
+ "hasDynamicHelp": false,
2133
+ "multiple": false,
2134
+ "type": "option"
2135
+ },
2107
2136
  "file": {
2137
+ "aliases": [
2138
+ "csvfile"
2139
+ ],
2108
2140
  "char": "f",
2141
+ "deprecateAliases": true,
2109
2142
  "name": "file",
2110
2143
  "required": true,
2111
- "summary": "CSV file that contains the Salesforce object records you want to update.",
2144
+ "summary": "CSV file that contains the IDs of the records to update or delete.",
2112
2145
  "hasDynamicHelp": false,
2113
2146
  "multiple": false,
2114
2147
  "type": "option"
2115
2148
  },
2116
2149
  "sobject": {
2150
+ "aliases": [
2151
+ "sobjecttype"
2152
+ ],
2117
2153
  "char": "s",
2154
+ "deprecateAliases": true,
2118
2155
  "name": "sobject",
2119
2156
  "required": true,
2120
- "summary": "API name of the Salesforce object, either standard or custom, which you are updating.",
2121
- "hasDynamicHelp": false,
2122
- "multiple": false,
2123
- "type": "option"
2124
- },
2125
- "api-version": {
2126
- "description": "Override the api version used for api requests made by this command",
2127
- "name": "api-version",
2157
+ "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
2128
2158
  "hasDynamicHelp": false,
2129
2159
  "multiple": false,
2130
2160
  "type": "option"
2131
2161
  },
2132
- "target-org": {
2133
- "char": "o",
2134
- "name": "target-org",
2135
- "noCacheDefault": true,
2136
- "required": true,
2137
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2162
+ "wait": {
2163
+ "char": "w",
2164
+ "name": "wait",
2165
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
2166
+ "default": "0 minutes",
2138
2167
  "hasDynamicHelp": true,
2139
2168
  "multiple": false,
2140
2169
  "type": "option"
@@ -2167,47 +2196,55 @@
2167
2196
  "TAB"
2168
2197
  ],
2169
2198
  "type": "option"
2199
+ },
2200
+ "external-id": {
2201
+ "aliases": [
2202
+ "externalid"
2203
+ ],
2204
+ "char": "i",
2205
+ "deprecateAliases": true,
2206
+ "name": "external-id",
2207
+ "required": true,
2208
+ "summary": "Name of the external ID field, or the Id field.",
2209
+ "hasDynamicHelp": false,
2210
+ "multiple": false,
2211
+ "type": "option"
2170
2212
  }
2171
2213
  },
2172
2214
  "hasDynamicHelp": true,
2173
2215
  "hiddenAliases": [],
2174
- "id": "data:update:bulk",
2216
+ "id": "data:upsert:bulk",
2175
2217
  "pluginAlias": "@salesforce/plugin-data",
2176
2218
  "pluginName": "@salesforce/plugin-data",
2177
2219
  "pluginType": "core",
2178
2220
  "strict": true,
2179
- "summary": "Bulk update records to an org from a CSV file. Uses Bulk API 2.0.",
2221
+ "summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.",
2180
2222
  "enableJsonFlag": true,
2181
2223
  "isESM": true,
2182
2224
  "relativePath": [
2183
2225
  "lib",
2184
2226
  "commands",
2185
2227
  "data",
2186
- "update",
2228
+ "upsert",
2187
2229
  "bulk.js"
2188
2230
  ],
2189
2231
  "aliasPermutations": [],
2190
2232
  "permutations": [
2191
- "data:update:bulk",
2192
- "update:data:bulk",
2193
- "update:bulk:data",
2194
- "data:bulk:update",
2195
- "bulk:data:update",
2196
- "bulk:update:data"
2233
+ "data:upsert:bulk",
2234
+ "upsert:data:bulk",
2235
+ "upsert:bulk:data",
2236
+ "data:bulk:upsert",
2237
+ "bulk:data:upsert",
2238
+ "bulk:upsert:data"
2197
2239
  ]
2198
2240
  },
2199
- "data:update:record": {
2200
- "aliases": [
2201
- "force:data:record:update"
2202
- ],
2241
+ "data:upsert:resume": {
2242
+ "aliases": [],
2203
2243
  "args": {},
2204
- "deprecateAliases": true,
2205
- "description": "Specify the record you want to update 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 update fails; the error displays how many records were found.\n\nWhen using field-value pairs for both identifying the record and specifiyng the new field values, 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 updates a record in Salesforce objects by default. Use the --use-tooling-api flag to update a Tooling API object.",
2244
+ "description": "The command uses the job ID returned from the \"<%= config.bin %> data upsert bulk\" command or the most recently-run bulk upsert job.",
2206
2245
  "examples": [
2207
- "Update the Name field of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name=NewAcme\"",
2208
- "Update the Name field of an Account record whose current name is 'Old Acme':\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Old Acme'\" --values \"Name='New Acme'\"",
2209
- "Update the Name and Website fields of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name='Acme III' Website=www.example.com\"",
2210
- "Update the ExpirationDate field of a record of the Tooling API object TraceFlag using the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> -t --sobject TraceFlag --record-id 7tf170000009cUBAAY --values \"ExpirationDate=2017-12-01T00:58:04.000+0000\""
2246
+ "Resume a bulk upsert job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2247
+ "Resume the most recently run bulk upsert job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
2211
2248
  ],
2212
2249
  "flags": {
2213
2250
  "json": {
@@ -2234,156 +2271,91 @@
2234
2271
  "deprecateAliases": true,
2235
2272
  "name": "target-org",
2236
2273
  "noCacheDefault": true,
2237
- "required": true,
2238
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2274
+ "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
2239
2275
  "hasDynamicHelp": true,
2240
2276
  "multiple": false,
2241
2277
  "type": "option"
2242
2278
  },
2243
- "api-version": {
2244
- "aliases": [
2245
- "apiversion"
2246
- ],
2247
- "deprecateAliases": true,
2248
- "description": "Override the api version used for api requests made by this command",
2249
- "name": "api-version",
2250
- "hasDynamicHelp": false,
2251
- "multiple": false,
2252
- "type": "option"
2253
- },
2254
- "loglevel": {
2255
- "deprecated": {
2256
- "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."
2257
- },
2258
- "hidden": true,
2259
- "name": "loglevel",
2260
- "hasDynamicHelp": false,
2261
- "multiple": false,
2262
- "type": "option"
2263
- },
2264
- "sobject": {
2279
+ "job-id": {
2265
2280
  "aliases": [
2266
- "sobjecttype"
2281
+ "jobid"
2267
2282
  ],
2268
- "char": "s",
2283
+ "char": "i",
2269
2284
  "deprecateAliases": true,
2270
- "name": "sobject",
2271
- "required": true,
2272
- "summary": "API name of the Salesforce or Tooling API object that contains the record you're updating.",
2285
+ "name": "job-id",
2286
+ "summary": "ID of the job you want to resume.",
2273
2287
  "hasDynamicHelp": false,
2274
2288
  "multiple": false,
2275
2289
  "type": "option"
2276
2290
  },
2277
- "record-id": {
2278
- "aliases": [
2279
- "sobjectid"
2291
+ "use-most-recent": {
2292
+ "exclusive": [
2293
+ "job-id"
2280
2294
  ],
2281
- "char": "i",
2282
- "deprecateAliases": true,
2283
- "name": "record-id",
2284
- "summary": "ID of the record you’re updating.",
2285
- "hasDynamicHelp": false,
2286
- "multiple": false,
2287
- "type": "option"
2295
+ "name": "use-most-recent",
2296
+ "summary": "Use the ID of the most recently-run bulk job.",
2297
+ "allowNo": false,
2298
+ "type": "boolean"
2288
2299
  },
2289
- "where": {
2290
- "char": "w",
2291
- "name": "where",
2292
- "summary": "List of <fieldName>=<value> pairs that identify the record you want to update.",
2293
- "hasDynamicHelp": false,
2300
+ "wait": {
2301
+ "name": "wait",
2302
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
2303
+ "default": "5 minutes",
2304
+ "hasDynamicHelp": true,
2294
2305
  "multiple": false,
2295
2306
  "type": "option"
2296
2307
  },
2297
- "values": {
2298
- "char": "v",
2299
- "name": "values",
2300
- "required": true,
2301
- "summary": "Fields that you're updating, in the format of <fieldName>=<value> pairs.",
2308
+ "api-version": {
2309
+ "description": "Override the api version used for api requests made by this command",
2310
+ "name": "api-version",
2302
2311
  "hasDynamicHelp": false,
2303
2312
  "multiple": false,
2304
2313
  "type": "option"
2305
2314
  },
2306
- "use-tooling-api": {
2307
- "aliases": [
2308
- "usetoolingapi"
2309
- ],
2310
- "char": "t",
2311
- "deprecateAliases": true,
2312
- "name": "use-tooling-api",
2313
- "summary": "Use Tooling API so you can update a record in a Tooling API object.",
2314
- "allowNo": false,
2315
- "type": "boolean"
2316
- },
2317
- "perflog": {
2315
+ "loglevel": {
2318
2316
  "deprecated": {
2319
- "version": "57"
2317
+ "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."
2320
2318
  },
2321
2319
  "hidden": true,
2322
- "name": "perflog",
2323
- "summary": "Get API performance data.",
2324
- "allowNo": false,
2325
- "type": "boolean"
2320
+ "name": "loglevel",
2321
+ "hasDynamicHelp": false,
2322
+ "multiple": false,
2323
+ "type": "option"
2326
2324
  }
2327
2325
  },
2328
2326
  "hasDynamicHelp": true,
2329
2327
  "hiddenAliases": [],
2330
- "id": "data:update:record",
2328
+ "id": "data:upsert:resume",
2331
2329
  "pluginAlias": "@salesforce/plugin-data",
2332
2330
  "pluginName": "@salesforce/plugin-data",
2333
2331
  "pluginType": "core",
2334
2332
  "strict": true,
2335
- "summary": "Updates a single record of a Salesforce or Tooling API object.",
2333
+ "summary": "Resume a bulk upsert job that you previously started. Uses Bulk API 2.0.",
2336
2334
  "enableJsonFlag": true,
2337
2335
  "isESM": true,
2338
2336
  "relativePath": [
2339
2337
  "lib",
2340
2338
  "commands",
2341
2339
  "data",
2342
- "update",
2343
- "record.js"
2344
- ],
2345
- "aliasPermutations": [
2346
- "force:data:record:update",
2347
- "data:force:record:update",
2348
- "data:record:force:update",
2349
- "data:record:update:force",
2350
- "force:record:data:update",
2351
- "record:force:data:update",
2352
- "record:data:force:update",
2353
- "record:data:update:force",
2354
- "force:record:update:data",
2355
- "record:force:update:data",
2356
- "record:update:force:data",
2357
- "record:update:data:force",
2358
- "force:data:update:record",
2359
- "data:force:update:record",
2360
- "data:update:force:record",
2361
- "data:update:record:force",
2362
- "force:update:data:record",
2363
- "update:force:data:record",
2364
- "update:data:force:record",
2365
- "update:data:record:force",
2366
- "force:update:record:data",
2367
- "update:force:record:data",
2368
- "update:record:force:data",
2369
- "update:record:data:force"
2340
+ "upsert",
2341
+ "resume.js"
2370
2342
  ],
2343
+ "aliasPermutations": [],
2371
2344
  "permutations": [
2372
- "data:update:record",
2373
- "update:data:record",
2374
- "update:record:data",
2375
- "data:record:update",
2376
- "record:data:update",
2377
- "record:update:data"
2345
+ "data:upsert:resume",
2346
+ "upsert:data:resume",
2347
+ "upsert:resume:data",
2348
+ "data:resume:upsert",
2349
+ "resume:data:upsert",
2350
+ "resume:upsert:data"
2378
2351
  ]
2379
2352
  },
2380
- "data:update:resume": {
2353
+ "data:update:bulk": {
2381
2354
  "aliases": [],
2382
2355
  "args": {},
2383
- "description": "When the original \"sf data update bulk\" command times out, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data update bulk\".",
2356
+ "description": "You can use this command to update millions of Salesforce object records based on a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag. The first column of every line in the CSV file must be an ID of the record you want to update. The CSV file can contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command fails. Consider using \"sf data upsert bulk\" if you also want to insert new records.\n\nBulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run \"sf data update resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
2384
2357
  "examples": [
2385
- "Resume a bulk update job using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2386
- "Resume the most recently run bulk update job:\n<%= config.bin %> <%= command.id %> --use-most-recent"
2358
+ "Update Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the update doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch"
2387
2359
  ],
2388
2360
  "flags": {
2389
2361
  "json": {
@@ -2401,38 +2373,87 @@
2401
2373
  "multiple": false,
2402
2374
  "type": "option"
2403
2375
  },
2404
- "use-most-recent": {
2405
- "name": "use-most-recent",
2406
- "summary": "Use the job ID of the bulk update job that was most recently run.",
2407
- "allowNo": false,
2408
- "type": "boolean"
2376
+ "wait": {
2377
+ "char": "w",
2378
+ "name": "wait",
2379
+ "summary": "Time to wait for the command to finish, in minutes.",
2380
+ "hasDynamicHelp": true,
2381
+ "multiple": false,
2382
+ "type": "option"
2409
2383
  },
2410
- "job-id": {
2411
- "char": "i",
2412
- "name": "job-id",
2413
- "summary": "Job ID of the bulk update.",
2384
+ "file": {
2385
+ "char": "f",
2386
+ "name": "file",
2387
+ "required": true,
2388
+ "summary": "CSV file that contains the Salesforce object records you want to update.",
2414
2389
  "hasDynamicHelp": false,
2415
2390
  "multiple": false,
2416
2391
  "type": "option"
2417
2392
  },
2418
- "wait": {
2419
- "char": "w",
2420
- "name": "wait",
2421
- "summary": "Time to wait for the command to finish, in minutes.",
2422
- "default": "5 minutes",
2393
+ "sobject": {
2394
+ "char": "s",
2395
+ "name": "sobject",
2396
+ "required": true,
2397
+ "summary": "API name of the Salesforce object, either standard or custom, which you are updating.",
2398
+ "hasDynamicHelp": false,
2399
+ "multiple": false,
2400
+ "type": "option"
2401
+ },
2402
+ "api-version": {
2403
+ "description": "Override the api version used for api requests made by this command",
2404
+ "name": "api-version",
2405
+ "hasDynamicHelp": false,
2406
+ "multiple": false,
2407
+ "type": "option"
2408
+ },
2409
+ "target-org": {
2410
+ "char": "o",
2411
+ "name": "target-org",
2412
+ "noCacheDefault": true,
2413
+ "required": true,
2414
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2423
2415
  "hasDynamicHelp": true,
2424
2416
  "multiple": false,
2425
2417
  "type": "option"
2418
+ },
2419
+ "line-ending": {
2420
+ "dependsOn": [
2421
+ "file"
2422
+ ],
2423
+ "name": "line-ending",
2424
+ "summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
2425
+ "hasDynamicHelp": false,
2426
+ "multiple": false,
2427
+ "options": [
2428
+ "CRLF",
2429
+ "LF"
2430
+ ],
2431
+ "type": "option"
2432
+ },
2433
+ "column-delimiter": {
2434
+ "name": "column-delimiter",
2435
+ "summary": "Column delimiter used in the CSV file.",
2436
+ "hasDynamicHelp": false,
2437
+ "multiple": false,
2438
+ "options": [
2439
+ "BACKQUOTE",
2440
+ "CARET",
2441
+ "COMMA",
2442
+ "PIPE",
2443
+ "SEMICOLON",
2444
+ "TAB"
2445
+ ],
2446
+ "type": "option"
2426
2447
  }
2427
2448
  },
2428
2449
  "hasDynamicHelp": true,
2429
2450
  "hiddenAliases": [],
2430
- "id": "data:update:resume",
2451
+ "id": "data:update:bulk",
2431
2452
  "pluginAlias": "@salesforce/plugin-data",
2432
2453
  "pluginName": "@salesforce/plugin-data",
2433
2454
  "pluginType": "core",
2434
2455
  "strict": true,
2435
- "summary": "Resume a bulk update job that you previously started. Uses Bulk API 2.0.",
2456
+ "summary": "Bulk update records to an org from a CSV file. Uses Bulk API 2.0.",
2436
2457
  "enableJsonFlag": true,
2437
2458
  "isESM": true,
2438
2459
  "relativePath": [
@@ -2440,25 +2461,30 @@
2440
2461
  "commands",
2441
2462
  "data",
2442
2463
  "update",
2443
- "resume.js"
2464
+ "bulk.js"
2444
2465
  ],
2445
2466
  "aliasPermutations": [],
2446
2467
  "permutations": [
2447
- "data:update:resume",
2448
- "update:data:resume",
2449
- "update:resume:data",
2450
- "data:resume:update",
2451
- "resume:data:update",
2452
- "resume:update:data"
2468
+ "data:update:bulk",
2469
+ "update:data:bulk",
2470
+ "update:bulk:data",
2471
+ "data:bulk:update",
2472
+ "bulk:data:update",
2473
+ "bulk:update:data"
2453
2474
  ]
2454
2475
  },
2455
- "data:upsert:bulk": {
2456
- "aliases": [],
2476
+ "data:update:record": {
2477
+ "aliases": [
2478
+ "force:data:record:update"
2479
+ ],
2457
2480
  "args": {},
2458
- "description": "An upsert refers to inserting a record into a Salesforce object if the record doesn't already exist, or updating it if it does exist.\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 and batch IDs to check the status of the job with the \"<%= config.bin %> data upsert resume\" command.\n\nSee \"Prepare CSV Files\" in the Bulk API Developer Guide for details on formatting your CSV file. (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_csv.htm)",
2481
+ "deprecateAliases": true,
2482
+ "description": "Specify the record you want to update 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 update fails; the error displays how many records were found.\n\nWhen using field-value pairs for both identifying the record and specifiyng the new field values, 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 updates a record in Salesforce objects by default. Use the --use-tooling-api flag to update a Tooling API object.",
2459
2483
  "examples": [
2460
- "Bulk upsert records to the Contact object in your default org:\n<%= config.bin %> <%= command.id %> --sobject Contact --file files/contacts.csv --external-id Id",
2461
- "Bulk upsert records to 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/file.csv --external-id MyField__c --wait 5 --target-org my-scratch"
2484
+ "Update the Name field of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name=NewAcme\"",
2485
+ "Update the Name field of an Account record whose current name is 'Old Acme':\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Old Acme'\" --values \"Name='New Acme'\"",
2486
+ "Update the Name and Website fields of an Account record with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 001D0 --values \"Name='Acme III' Website=www.example.com\"",
2487
+ "Update the ExpirationDate field of a record of the Tooling API object TraceFlag using the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> -t --sobject TraceFlag --record-id 7tf170000009cUBAAY --values \"ExpirationDate=2017-12-01T00:58:04.000+0000\""
2462
2488
  ],
2463
2489
  "flags": {
2464
2490
  "json": {
@@ -2512,118 +2538,129 @@
2512
2538
  "multiple": false,
2513
2539
  "type": "option"
2514
2540
  },
2515
- "file": {
2541
+ "sobject": {
2516
2542
  "aliases": [
2517
- "csvfile"
2543
+ "sobjecttype"
2518
2544
  ],
2519
- "char": "f",
2545
+ "char": "s",
2520
2546
  "deprecateAliases": true,
2521
- "name": "file",
2547
+ "name": "sobject",
2522
2548
  "required": true,
2523
- "summary": "CSV file that contains the IDs of the records to update or delete.",
2549
+ "summary": "API name of the Salesforce or Tooling API object that contains the record you're updating.",
2524
2550
  "hasDynamicHelp": false,
2525
2551
  "multiple": false,
2526
2552
  "type": "option"
2527
2553
  },
2528
- "sobject": {
2554
+ "record-id": {
2529
2555
  "aliases": [
2530
- "sobjecttype"
2556
+ "sobjectid"
2531
2557
  ],
2532
- "char": "s",
2558
+ "char": "i",
2533
2559
  "deprecateAliases": true,
2534
- "name": "sobject",
2535
- "required": true,
2536
- "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
2560
+ "name": "record-id",
2561
+ "summary": "ID of the record you’re updating.",
2537
2562
  "hasDynamicHelp": false,
2538
2563
  "multiple": false,
2539
2564
  "type": "option"
2540
2565
  },
2541
- "wait": {
2566
+ "where": {
2542
2567
  "char": "w",
2543
- "name": "wait",
2544
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
2545
- "default": "0 minutes",
2546
- "hasDynamicHelp": true,
2547
- "multiple": false,
2548
- "type": "option"
2549
- },
2550
- "line-ending": {
2551
- "dependsOn": [
2552
- "file"
2553
- ],
2554
- "name": "line-ending",
2555
- "summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
2568
+ "name": "where",
2569
+ "summary": "List of <fieldName>=<value> pairs that identify the record you want to update.",
2556
2570
  "hasDynamicHelp": false,
2557
2571
  "multiple": false,
2558
- "options": [
2559
- "CRLF",
2560
- "LF"
2561
- ],
2562
2572
  "type": "option"
2563
2573
  },
2564
- "column-delimiter": {
2565
- "name": "column-delimiter",
2566
- "summary": "Column delimiter used in the CSV file.",
2574
+ "values": {
2575
+ "char": "v",
2576
+ "name": "values",
2577
+ "required": true,
2578
+ "summary": "Fields that you're updating, in the format of <fieldName>=<value> pairs.",
2567
2579
  "hasDynamicHelp": false,
2568
2580
  "multiple": false,
2569
- "options": [
2570
- "BACKQUOTE",
2571
- "CARET",
2572
- "COMMA",
2573
- "PIPE",
2574
- "SEMICOLON",
2575
- "TAB"
2576
- ],
2577
2581
  "type": "option"
2578
2582
  },
2579
- "external-id": {
2583
+ "use-tooling-api": {
2580
2584
  "aliases": [
2581
- "externalid"
2585
+ "usetoolingapi"
2582
2586
  ],
2583
- "char": "i",
2587
+ "char": "t",
2584
2588
  "deprecateAliases": true,
2585
- "name": "external-id",
2586
- "required": true,
2587
- "summary": "Name of the external ID field, or the Id field.",
2588
- "hasDynamicHelp": false,
2589
- "multiple": false,
2590
- "type": "option"
2589
+ "name": "use-tooling-api",
2590
+ "summary": "Use Tooling API so you can update a record in a Tooling API object.",
2591
+ "allowNo": false,
2592
+ "type": "boolean"
2593
+ },
2594
+ "perflog": {
2595
+ "deprecated": {
2596
+ "version": "57"
2597
+ },
2598
+ "hidden": true,
2599
+ "name": "perflog",
2600
+ "summary": "Get API performance data.",
2601
+ "allowNo": false,
2602
+ "type": "boolean"
2591
2603
  }
2592
2604
  },
2593
2605
  "hasDynamicHelp": true,
2594
2606
  "hiddenAliases": [],
2595
- "id": "data:upsert:bulk",
2607
+ "id": "data:update:record",
2596
2608
  "pluginAlias": "@salesforce/plugin-data",
2597
2609
  "pluginName": "@salesforce/plugin-data",
2598
2610
  "pluginType": "core",
2599
2611
  "strict": true,
2600
- "summary": "Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.",
2612
+ "summary": "Updates a single record of a Salesforce or Tooling API object.",
2601
2613
  "enableJsonFlag": true,
2602
2614
  "isESM": true,
2603
2615
  "relativePath": [
2604
2616
  "lib",
2605
2617
  "commands",
2606
2618
  "data",
2607
- "upsert",
2608
- "bulk.js"
2619
+ "update",
2620
+ "record.js"
2621
+ ],
2622
+ "aliasPermutations": [
2623
+ "force:data:record:update",
2624
+ "data:force:record:update",
2625
+ "data:record:force:update",
2626
+ "data:record:update:force",
2627
+ "force:record:data:update",
2628
+ "record:force:data:update",
2629
+ "record:data:force:update",
2630
+ "record:data:update:force",
2631
+ "force:record:update:data",
2632
+ "record:force:update:data",
2633
+ "record:update:force:data",
2634
+ "record:update:data:force",
2635
+ "force:data:update:record",
2636
+ "data:force:update:record",
2637
+ "data:update:force:record",
2638
+ "data:update:record:force",
2639
+ "force:update:data:record",
2640
+ "update:force:data:record",
2641
+ "update:data:force:record",
2642
+ "update:data:record:force",
2643
+ "force:update:record:data",
2644
+ "update:force:record:data",
2645
+ "update:record:force:data",
2646
+ "update:record:data:force"
2609
2647
  ],
2610
- "aliasPermutations": [],
2611
2648
  "permutations": [
2612
- "data:upsert:bulk",
2613
- "upsert:data:bulk",
2614
- "upsert:bulk:data",
2615
- "data:bulk:upsert",
2616
- "bulk:data:upsert",
2617
- "bulk:upsert:data"
2649
+ "data:update:record",
2650
+ "update:data:record",
2651
+ "update:record:data",
2652
+ "data:record:update",
2653
+ "record:data:update",
2654
+ "record:update:data"
2618
2655
  ]
2619
2656
  },
2620
- "data:upsert:resume": {
2657
+ "data:update:resume": {
2621
2658
  "aliases": [],
2622
2659
  "args": {},
2623
- "description": "The command uses the job ID returned from the \"<%= config.bin %> data upsert bulk\" command or the most recently-run bulk upsert job.",
2660
+ "description": "When the original \"sf data update bulk\" command times out, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data update bulk\".",
2624
2661
  "examples": [
2625
- "Resume a bulk upsert job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2626
- "Resume the most recently run bulk upsert job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
2662
+ "Resume a bulk update job using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2663
+ "Resume the most recently run bulk update job:\n<%= config.bin %> <%= command.id %> --use-most-recent"
2627
2664
  ],
2628
2665
  "flags": {
2629
2666
  "json": {
@@ -2641,92 +2678,55 @@
2641
2678
  "multiple": false,
2642
2679
  "type": "option"
2643
2680
  },
2644
- "target-org": {
2645
- "aliases": [
2646
- "targetusername",
2647
- "u"
2648
- ],
2649
- "char": "o",
2650
- "deprecateAliases": true,
2651
- "name": "target-org",
2652
- "noCacheDefault": true,
2653
- "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
2654
- "hasDynamicHelp": true,
2655
- "multiple": false,
2656
- "type": "option"
2681
+ "use-most-recent": {
2682
+ "name": "use-most-recent",
2683
+ "summary": "Use the job ID of the bulk update job that was most recently run.",
2684
+ "allowNo": false,
2685
+ "type": "boolean"
2657
2686
  },
2658
2687
  "job-id": {
2659
- "aliases": [
2660
- "jobid"
2661
- ],
2662
2688
  "char": "i",
2663
- "deprecateAliases": true,
2664
2689
  "name": "job-id",
2665
- "summary": "ID of the job you want to resume.",
2690
+ "summary": "Job ID of the bulk update.",
2666
2691
  "hasDynamicHelp": false,
2667
2692
  "multiple": false,
2668
2693
  "type": "option"
2669
2694
  },
2670
- "use-most-recent": {
2671
- "exclusive": [
2672
- "job-id"
2673
- ],
2674
- "name": "use-most-recent",
2675
- "summary": "Use the ID of the most recently-run bulk job.",
2676
- "allowNo": false,
2677
- "type": "boolean"
2678
- },
2679
2695
  "wait": {
2696
+ "char": "w",
2680
2697
  "name": "wait",
2681
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
2698
+ "summary": "Time to wait for the command to finish, in minutes.",
2682
2699
  "default": "5 minutes",
2683
2700
  "hasDynamicHelp": true,
2684
2701
  "multiple": false,
2685
2702
  "type": "option"
2686
- },
2687
- "api-version": {
2688
- "description": "Override the api version used for api requests made by this command",
2689
- "name": "api-version",
2690
- "hasDynamicHelp": false,
2691
- "multiple": false,
2692
- "type": "option"
2693
- },
2694
- "loglevel": {
2695
- "deprecated": {
2696
- "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."
2697
- },
2698
- "hidden": true,
2699
- "name": "loglevel",
2700
- "hasDynamicHelp": false,
2701
- "multiple": false,
2702
- "type": "option"
2703
2703
  }
2704
2704
  },
2705
2705
  "hasDynamicHelp": true,
2706
2706
  "hiddenAliases": [],
2707
- "id": "data:upsert:resume",
2707
+ "id": "data:update:resume",
2708
2708
  "pluginAlias": "@salesforce/plugin-data",
2709
2709
  "pluginName": "@salesforce/plugin-data",
2710
2710
  "pluginType": "core",
2711
2711
  "strict": true,
2712
- "summary": "Resume a bulk upsert job that you previously started. Uses Bulk API 2.0.",
2712
+ "summary": "Resume a bulk update job that you previously started. Uses Bulk API 2.0.",
2713
2713
  "enableJsonFlag": true,
2714
2714
  "isESM": true,
2715
2715
  "relativePath": [
2716
2716
  "lib",
2717
2717
  "commands",
2718
2718
  "data",
2719
- "upsert",
2719
+ "update",
2720
2720
  "resume.js"
2721
2721
  ],
2722
2722
  "aliasPermutations": [],
2723
2723
  "permutations": [
2724
- "data:upsert:resume",
2725
- "upsert:data:resume",
2726
- "upsert:resume:data",
2727
- "data:resume:upsert",
2728
- "resume:data:upsert",
2729
- "resume:upsert:data"
2724
+ "data:update:resume",
2725
+ "update:data:resume",
2726
+ "update:resume:data",
2727
+ "data:resume:update",
2728
+ "resume:data:update",
2729
+ "resume:update:data"
2730
2730
  ]
2731
2731
  },
2732
2732
  "force:data:bulk:delete": {
@@ -3166,5 +3166,5 @@
3166
3166
  ]
3167
3167
  }
3168
3168
  },
3169
- "version": "4.0.72"
3169
+ "version": "4.0.73"
3170
3170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "4.0.72",
3
+ "version": "4.0.73",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -125,7 +125,7 @@
125
125
  "dependencies": {
126
126
  "@jsforce/jsforce-node": "^3.10.14",
127
127
  "@oclif/multi-stage-output": "^0.8.30",
128
- "@salesforce/core": "^8.25.1",
128
+ "@salesforce/core": "^8.26.0",
129
129
  "@salesforce/kit": "^3.2.2",
130
130
  "@salesforce/sf-plugins-core": "^12.2.6",
131
131
  "@salesforce/ts-types": "^2.0.11",
@@ -271,7 +271,7 @@
271
271
  "exports": "./lib/index.js",
272
272
  "type": "module",
273
273
  "sfdx": {
274
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.72.crt",
275
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.72.sig"
274
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.73.crt",
275
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.73.sig"
276
276
  }
277
277
  }