@salesforce/plugin-data 2.5.16 → 2.5.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -21
- package/messages/bulk.operation.command.md +2 -2
- package/messages/record.update.md +1 -1
- package/oclif.manifest.json +6 -6
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ EXAMPLES
|
|
|
145
145
|
TracedEntityId=01p17000000R6bLAAS"
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
148
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/create/record.ts)_
|
|
149
149
|
|
|
150
150
|
## `sf data:delete:bulk`
|
|
151
151
|
|
|
@@ -157,10 +157,10 @@ USAGE
|
|
|
157
157
|
|
|
158
158
|
FLAGS
|
|
159
159
|
-a, --async Run the command asynchronously.
|
|
160
|
-
-f, --file=<value> (required) CSV file that contains the IDs of the records to delete.
|
|
160
|
+
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
161
161
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
162
162
|
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
163
|
-
delete records from.
|
|
163
|
+
update or delete records from.
|
|
164
164
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before displaying
|
|
165
165
|
the results.
|
|
166
166
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
@@ -189,7 +189,7 @@ EXAMPLES
|
|
|
189
189
|
$ sf data:delete:bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
190
190
|
```
|
|
191
191
|
|
|
192
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
192
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/delete/bulk.ts)_
|
|
193
193
|
|
|
194
194
|
## `sf data:delete:record`
|
|
195
195
|
|
|
@@ -247,7 +247,7 @@ EXAMPLES
|
|
|
247
247
|
$ sf data:delete:record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
250
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/delete/record.ts)_
|
|
251
251
|
|
|
252
252
|
## `sf data:delete:resume`
|
|
253
253
|
|
|
@@ -284,7 +284,7 @@ EXAMPLES
|
|
|
284
284
|
$ sf data:delete:resume --use-most-recent --target-org my-scratch
|
|
285
285
|
```
|
|
286
286
|
|
|
287
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
287
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/delete/resume.ts)_
|
|
288
288
|
|
|
289
289
|
## `sf data:export:tree`
|
|
290
290
|
|
|
@@ -341,7 +341,7 @@ EXAMPLES
|
|
|
341
341
|
my-scratch
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
344
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/export/tree.ts)_
|
|
345
345
|
|
|
346
346
|
## `sf data:get:record`
|
|
347
347
|
|
|
@@ -402,7 +402,7 @@ EXAMPLES
|
|
|
402
402
|
$ sf data:get:record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
403
403
|
```
|
|
404
404
|
|
|
405
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
405
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/get/record.ts)_
|
|
406
406
|
|
|
407
407
|
## `sf data:import:tree`
|
|
408
408
|
|
|
@@ -452,7 +452,7 @@ EXAMPLES
|
|
|
452
452
|
$ sf data:import:tree --plan Account-Contact-plan.json
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
455
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/import/tree.ts)_
|
|
456
456
|
|
|
457
457
|
## `sf data:query`
|
|
458
458
|
|
|
@@ -514,7 +514,7 @@ EXAMPLES
|
|
|
514
514
|
$ sf data:query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
517
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/query.ts)_
|
|
518
518
|
|
|
519
519
|
## `sf data:query:resume`
|
|
520
520
|
|
|
@@ -550,7 +550,7 @@ EXAMPLES
|
|
|
550
550
|
$ sf data:query:resume --bulk-query-id 7500x000005BdFzXXX
|
|
551
551
|
```
|
|
552
552
|
|
|
553
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
553
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/query/resume.ts)_
|
|
554
554
|
|
|
555
555
|
## `sf data:resume`
|
|
556
556
|
|
|
@@ -585,7 +585,7 @@ EXAMPLES
|
|
|
585
585
|
$ sf data:resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
586
586
|
```
|
|
587
587
|
|
|
588
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
588
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/resume.ts)_
|
|
589
589
|
|
|
590
590
|
## `sf data:update:record`
|
|
591
591
|
|
|
@@ -613,7 +613,7 @@ DESCRIPTION
|
|
|
613
613
|
Updates a single record of a Salesforce or Tooling API object.
|
|
614
614
|
|
|
615
615
|
Specify the record you want to update with either its ID or with a list of field-value pairs that identify the record.
|
|
616
|
-
If your list of fields identifies more than one record, the
|
|
616
|
+
If your list of fields identifies more than one record, the update fails; the error displays how many records were
|
|
617
617
|
found.
|
|
618
618
|
|
|
619
619
|
When using field-value pairs for both identifying the record and specifiyng the new field values, use the format
|
|
@@ -645,7 +645,7 @@ EXAMPLES
|
|
|
645
645
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
646
646
|
```
|
|
647
647
|
|
|
648
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
648
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/update/record.ts)_
|
|
649
649
|
|
|
650
650
|
## `sf data:upsert:bulk`
|
|
651
651
|
|
|
@@ -658,11 +658,11 @@ USAGE
|
|
|
658
658
|
|
|
659
659
|
FLAGS
|
|
660
660
|
-a, --async Run the command asynchronously.
|
|
661
|
-
-f, --file=<value> (required) CSV file that contains the IDs of the records to delete.
|
|
661
|
+
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
662
662
|
-i, --external-id=<value> (required) Name of the external ID field, or the Id field.
|
|
663
663
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
664
664
|
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
665
|
-
delete records from.
|
|
665
|
+
update or delete records from.
|
|
666
666
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
667
667
|
displaying the results.
|
|
668
668
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
@@ -696,7 +696,7 @@ EXAMPLES
|
|
|
696
696
|
my-scratch
|
|
697
697
|
```
|
|
698
698
|
|
|
699
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
699
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/upsert/bulk.ts)_
|
|
700
700
|
|
|
701
701
|
## `sf data:upsert:resume`
|
|
702
702
|
|
|
@@ -733,7 +733,7 @@ EXAMPLES
|
|
|
733
733
|
$ sf data:upsert:resume --use-most-recent --target-org my-scratch
|
|
734
734
|
```
|
|
735
735
|
|
|
736
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
736
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/data/upsert/resume.ts)_
|
|
737
737
|
|
|
738
738
|
## `sf force:data:bulk:delete`
|
|
739
739
|
|
|
@@ -777,7 +777,7 @@ EXAMPLES
|
|
|
777
777
|
$ sf force:data:bulk:delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
778
778
|
```
|
|
779
779
|
|
|
780
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
780
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/force/data/bulk/delete.ts)_
|
|
781
781
|
|
|
782
782
|
## `sf force:data:bulk:status`
|
|
783
783
|
|
|
@@ -812,7 +812,7 @@ EXAMPLES
|
|
|
812
812
|
$ sf force:data:bulk:status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
813
813
|
```
|
|
814
814
|
|
|
815
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
815
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/force/data/bulk/status.ts)_
|
|
816
816
|
|
|
817
817
|
## `sf force:data:bulk:upsert`
|
|
818
818
|
|
|
@@ -868,6 +868,6 @@ EXAMPLES
|
|
|
868
868
|
--target-org my-scratch
|
|
869
869
|
```
|
|
870
870
|
|
|
871
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.
|
|
871
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/2.5.18/src/commands/force/data/bulk/upsert.ts)_
|
|
872
872
|
|
|
873
873
|
<!-- commandsstop -->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# flags.sobject.summary
|
|
2
2
|
|
|
3
|
-
API name of the Salesforce object, either standard or custom, that you want to delete records from.
|
|
3
|
+
API name of the Salesforce object, either standard or custom, that you want to update or delete records from.
|
|
4
4
|
|
|
5
5
|
# flags.csvfile.summary
|
|
6
6
|
|
|
7
|
-
CSV file that contains the IDs of the records to delete.
|
|
7
|
+
CSV file that contains the IDs of the records to update or delete.
|
|
8
8
|
|
|
9
9
|
# flags.wait.summary
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Updates a single record of a Salesforce or Tooling API object.
|
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
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
|
|
7
|
+
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.
|
|
8
8
|
|
|
9
9
|
When 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.
|
|
10
10
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.5.
|
|
2
|
+
"version": "2.5.18",
|
|
3
3
|
"commands": {
|
|
4
4
|
"data:query": {
|
|
5
5
|
"id": "data:query",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"name": "file",
|
|
413
413
|
"type": "option",
|
|
414
414
|
"char": "f",
|
|
415
|
-
"summary": "CSV file that contains the IDs of the records to delete.",
|
|
415
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
416
416
|
"required": true,
|
|
417
417
|
"multiple": false,
|
|
418
418
|
"aliases": [
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
"name": "sobject",
|
|
424
424
|
"type": "option",
|
|
425
425
|
"char": "s",
|
|
426
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to delete records from.",
|
|
426
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
427
427
|
"required": true,
|
|
428
428
|
"multiple": false,
|
|
429
429
|
"aliases": [
|
|
@@ -1095,7 +1095,7 @@
|
|
|
1095
1095
|
"data:update:record": {
|
|
1096
1096
|
"id": "data:update:record",
|
|
1097
1097
|
"summary": "Updates a single record of a Salesforce or Tooling API object.",
|
|
1098
|
-
"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
|
|
1098
|
+
"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.",
|
|
1099
1099
|
"strict": true,
|
|
1100
1100
|
"pluginName": "@salesforce/plugin-data",
|
|
1101
1101
|
"pluginAlias": "@salesforce/plugin-data",
|
|
@@ -1273,7 +1273,7 @@
|
|
|
1273
1273
|
"name": "file",
|
|
1274
1274
|
"type": "option",
|
|
1275
1275
|
"char": "f",
|
|
1276
|
-
"summary": "CSV file that contains the IDs of the records to delete.",
|
|
1276
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
1277
1277
|
"required": true,
|
|
1278
1278
|
"multiple": false,
|
|
1279
1279
|
"aliases": [
|
|
@@ -1284,7 +1284,7 @@
|
|
|
1284
1284
|
"name": "sobject",
|
|
1285
1285
|
"type": "option",
|
|
1286
1286
|
"char": "s",
|
|
1287
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to delete records from.",
|
|
1287
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
1288
1288
|
"required": true,
|
|
1289
1289
|
"multiple": false,
|
|
1290
1290
|
"aliases": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.18",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
108
|
"@oclif/core": "^2.15.0",
|
|
109
|
-
"@salesforce/core": "^5.3.
|
|
109
|
+
"@salesforce/core": "^5.3.9",
|
|
110
110
|
"@salesforce/kit": "^3.0.9",
|
|
111
111
|
"@salesforce/sf-plugins-core": "^3.1.23",
|
|
112
112
|
"@salesforce/ts-types": "^2.0.8",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
120
|
"@oclif/plugin-command-snapshot": "^4.0.13",
|
|
121
|
-
"@salesforce/cli-plugins-testkit": "^4.
|
|
121
|
+
"@salesforce/cli-plugins-testkit": "^4.4.6",
|
|
122
122
|
"@salesforce/dev-config": "^4.0.1",
|
|
123
|
-
"@salesforce/dev-scripts": "^5.
|
|
123
|
+
"@salesforce/dev-scripts": "^5.11.0",
|
|
124
124
|
"@salesforce/plugin-command-reference": "^3.0.33",
|
|
125
125
|
"@salesforce/plugin-settings": "^1.4.33",
|
|
126
126
|
"@salesforce/prettier-config": "^0.0.3",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"@typescript-eslint/parser": "^5.62.0",
|
|
133
133
|
"chai": "^4.3.10",
|
|
134
134
|
"chai-as-promised": "^7.1.1",
|
|
135
|
-
"eslint": "^8.
|
|
135
|
+
"eslint": "^8.51.0",
|
|
136
136
|
"eslint-config-prettier": "^8.9.0",
|
|
137
137
|
"eslint-config-salesforce": "^2.0.2",
|
|
138
138
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
"sfdx": {
|
|
263
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.
|
|
264
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.
|
|
263
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.18.crt",
|
|
264
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/2.5.18.sig"
|
|
265
265
|
}
|
|
266
266
|
}
|