@salesforce/plugin-data 4.0.43 → 4.0.45

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 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.43/src/commands/data/bulk/results.ts)_
147
+ _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/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.43/src/commands/data/create/file.ts)_
196
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/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.43/src/commands/data/create/record.ts)_
252
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/create/record.ts)_
253
253
 
254
254
  ## `sf data delete bulk`
255
255
 
@@ -309,7 +309,7 @@ FLAG DESCRIPTIONS
309
309
  and can be enabled only by a system administrator.
310
310
  ```
311
311
 
312
- _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/delete/bulk.ts)_
312
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/delete/bulk.ts)_
313
313
 
314
314
  ## `sf data delete record`
315
315
 
@@ -370,7 +370,7 @@ EXAMPLES
370
370
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
371
371
  ```
372
372
 
373
- _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/delete/record.ts)_
373
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/delete/record.ts)_
374
374
 
375
375
  ## `sf data delete resume`
376
376
 
@@ -409,7 +409,7 @@ EXAMPLES
409
409
  $ sf data delete resume --use-most-recent --target-org my-scratch
410
410
  ```
411
411
 
412
- _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/delete/resume.ts)_
412
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/delete/resume.ts)_
413
413
 
414
414
  ## `sf data export bulk`
415
415
 
@@ -483,7 +483,7 @@ EXAMPLES
483
483
  --result-format json --async
484
484
  ```
485
485
 
486
- _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/export/bulk.ts)_
486
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/export/bulk.ts)_
487
487
 
488
488
  ## `sf data export resume`
489
489
 
@@ -509,17 +509,20 @@ DESCRIPTION
509
509
  To see the status and get the results of the bulk export, run this command by either passing it the job ID or using
510
510
  the --use-most-recent flag to specify the most recent bulk export job.
511
511
 
512
+ Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
513
+ based on the cached data by "data export bulk".
514
+
512
515
  EXAMPLES
513
- Resume a bulk export job run on your default org by specifying a job ID:
516
+ Resume a bulk export job run by specifying a job ID:
514
517
 
515
518
  $ sf data export resume --job-id 750xx000000005sAAA
516
519
 
517
- Resume the most recently-run bulk export job for an org with alias my-scratch:
520
+ Resume the most recently-run bulk export job:
518
521
 
519
- $ sf data export resume --use-most-recent --target-org my-scratch
522
+ $ sf data export resume --use-most-recent
520
523
  ```
521
524
 
522
- _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/export/resume.ts)_
525
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/export/resume.ts)_
523
526
 
524
527
  ## `sf data export tree`
525
528
 
@@ -579,7 +582,7 @@ EXAMPLES
579
582
  my-scratch
580
583
  ```
581
584
 
582
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/export/tree.ts)_
585
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/export/tree.ts)_
583
586
 
584
587
  ## `sf data get record`
585
588
 
@@ -643,7 +646,7 @@ EXAMPLES
643
646
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
644
647
  ```
645
648
 
646
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/get/record.ts)_
649
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/get/record.ts)_
647
650
 
648
651
  ## `sf data import bulk`
649
652
 
@@ -701,7 +704,7 @@ EXAMPLES
701
704
  $ sf data import bulk --file accounts.csv --sobject Account --async
702
705
  ```
703
706
 
704
- _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/import/bulk.ts)_
707
+ _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/import/bulk.ts)_
705
708
 
706
709
  ## `sf data import resume`
707
710
 
@@ -737,7 +740,7 @@ EXAMPLES
737
740
  $ sf data import resume --use-most-recent --target-org my-scratch
738
741
  ```
739
742
 
740
- _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/import/resume.ts)_
743
+ _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/import/resume.ts)_
741
744
 
742
745
  ## `sf data import tree`
743
746
 
@@ -801,7 +804,7 @@ FLAG DESCRIPTIONS
801
804
  - files(array) - Files: An array of files paths to load
802
805
  ```
803
806
 
804
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/import/tree.ts)_
807
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/import/tree.ts)_
805
808
 
806
809
  ## `sf data query`
807
810
 
@@ -854,7 +857,7 @@ EXAMPLES
854
857
  $ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
855
858
  ```
856
859
 
857
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/query.ts)_
860
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/query.ts)_
858
861
 
859
862
  ## `sf data resume`
860
863
 
@@ -891,7 +894,7 @@ EXAMPLES
891
894
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
892
895
  ```
893
896
 
894
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/resume.ts)_
897
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/resume.ts)_
895
898
 
896
899
  ## `sf data search`
897
900
 
@@ -941,7 +944,7 @@ EXAMPLES
941
944
  $ sf data search --file query.txt --target-org my-scratch --result-format csv
942
945
  ```
943
946
 
944
- _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/search.ts)_
947
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/search.ts)_
945
948
 
946
949
  ## `sf data update bulk`
947
950
 
@@ -1002,7 +1005,7 @@ EXAMPLES
1002
1005
  $ sf data update bulk --file accounts.csv --sobject Account --async
1003
1006
  ```
1004
1007
 
1005
- _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/update/bulk.ts)_
1008
+ _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/update/bulk.ts)_
1006
1009
 
1007
1010
  ## `sf data update record`
1008
1011
 
@@ -1064,7 +1067,7 @@ EXAMPLES
1064
1067
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
1065
1068
  ```
1066
1069
 
1067
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/update/record.ts)_
1070
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/update/record.ts)_
1068
1071
 
1069
1072
  ## `sf data update resume`
1070
1073
 
@@ -1090,17 +1093,20 @@ DESCRIPTION
1090
1093
  ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or
1091
1094
  using the --use-most-recent flag to specify the most recent bulk update job.
1092
1095
 
1096
+ Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
1097
+ based on the cached data by "data update bulk".
1098
+
1093
1099
  EXAMPLES
1094
- Resume a bulk update job of your default org using a job ID:
1100
+ Resume a bulk update job using a job ID:
1095
1101
 
1096
1102
  $ sf data update resume --job-id 750xx000000005sAAA
1097
1103
 
1098
- Resume the most recently run bulk update job for an org with alias "my-scratch":
1104
+ Resume the most recently run bulk update job:
1099
1105
 
1100
- $ sf data update resume --use-most-recent --target-org my-scratch
1106
+ $ sf data update resume --use-most-recent
1101
1107
  ```
1102
1108
 
1103
- _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/update/resume.ts)_
1109
+ _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/update/resume.ts)_
1104
1110
 
1105
1111
  ## `sf data upsert bulk`
1106
1112
 
@@ -1157,7 +1163,7 @@ EXAMPLES
1157
1163
  my-scratch
1158
1164
  ```
1159
1165
 
1160
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/upsert/bulk.ts)_
1166
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/upsert/bulk.ts)_
1161
1167
 
1162
1168
  ## `sf data upsert resume`
1163
1169
 
@@ -1196,7 +1202,7 @@ EXAMPLES
1196
1202
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1197
1203
  ```
1198
1204
 
1199
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/data/upsert/resume.ts)_
1205
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/data/upsert/resume.ts)_
1200
1206
 
1201
1207
  ## `sf force data bulk delete`
1202
1208
 
@@ -1243,7 +1249,7 @@ EXAMPLES
1243
1249
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1244
1250
  ```
1245
1251
 
1246
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/force/data/bulk/delete.ts)_
1252
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/force/data/bulk/delete.ts)_
1247
1253
 
1248
1254
  ## `sf force data bulk status`
1249
1255
 
@@ -1280,7 +1286,7 @@ EXAMPLES
1280
1286
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
1281
1287
  ```
1282
1288
 
1283
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/force/data/bulk/status.ts)_
1289
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/force/data/bulk/status.ts)_
1284
1290
 
1285
1291
  ## `sf force data bulk upsert`
1286
1292
 
@@ -1338,6 +1344,6 @@ EXAMPLES
1338
1344
  --target-org my-scratch
1339
1345
  ```
1340
1346
 
1341
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.43/src/commands/force/data/bulk/upsert.ts)_
1347
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.45/src/commands/force/data/bulk/upsert.ts)_
1342
1348
 
1343
1349
  <!-- commandsstop -->
@@ -6,6 +6,8 @@ Resume a bulk export job that you previously started. Uses Bulk API 2.0.
6
6
 
7
7
  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.
8
8
 
9
+ Using 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 export bulk".
10
+
9
11
  # flags.job-id.summary
10
12
 
11
13
  Job ID of the bulk export.
@@ -16,10 +18,10 @@ Use the job ID of the bulk export job that was most recently run.
16
18
 
17
19
  # examples
18
20
 
19
- - Resume a bulk export job run on your default org by specifying a job ID:
21
+ - Resume a bulk export job run by specifying a job ID:
20
22
 
21
23
  sf <%= command.id %> --job-id 750xx000000005sAAA
22
24
 
23
- - Resume the most recently-run bulk export job for an org with alias my-scratch:
25
+ - Resume the most recently-run bulk export job:
24
26
 
25
- sf data export resume --use-most-recent --target-org my-scratch
27
+ sf data export resume --use-most-recent
@@ -6,15 +6,17 @@ Resume a bulk update job that you previously started. Uses Bulk API 2.0.
6
6
 
7
7
  When the original "sf data update 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 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.
8
8
 
9
+ Using 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".
10
+
9
11
  # examples
10
12
 
11
- - Resume a bulk update job of your default org using a job ID:
13
+ - Resume a bulk update job using a job ID:
12
14
 
13
15
  <%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA
14
16
 
15
- - Resume the most recently run bulk update job for an org with alias "my-scratch":
17
+ - Resume the most recently run bulk update job:
16
18
 
17
- <%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch
19
+ <%= config.bin %> <%= command.id %> --use-most-recent
18
20
 
19
21
  # flags.use-most-recent.summary
20
22
 
@@ -1369,10 +1369,10 @@
1369
1369
  "data:export:resume": {
1370
1370
  "aliases": [],
1371
1371
  "args": {},
1372
- "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.",
1372
+ "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.\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 export bulk\".",
1373
1373
  "examples": [
1374
- "Resume a bulk export job run on your default org by specifying a job ID:\nsf <%= command.id %> --job-id 750xx000000005sAAA",
1375
- "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"
1374
+ "Resume a bulk export job run by specifying a job ID:\nsf <%= command.id %> --job-id 750xx000000005sAAA",
1375
+ "Resume the most recently-run bulk export job:\nsf data export resume --use-most-recent"
1376
1376
  ],
1377
1377
  "flags": {
1378
1378
  "json": {
@@ -2432,10 +2432,10 @@
2432
2432
  "data:update:resume": {
2433
2433
  "aliases": [],
2434
2434
  "args": {},
2435
- "description": "When the original \"sf data update 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 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.",
2435
+ "description": "When the original \"sf data update 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 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\".",
2436
2436
  "examples": [
2437
- "Resume a bulk update job of your default org using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2438
- "Resume the most recently run bulk update job for an org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
2437
+ "Resume a bulk update job using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2438
+ "Resume the most recently run bulk update job:\n<%= config.bin %> <%= command.id %> --use-most-recent"
2439
2439
  ],
2440
2440
  "flags": {
2441
2441
  "json": {
@@ -3232,5 +3232,5 @@
3232
3232
  ]
3233
3233
  }
3234
3234
  },
3235
- "version": "4.0.43"
3235
+ "version": "4.0.45"
3236
3236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "4.0.43",
3
+ "version": "4.0.45",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -129,7 +129,7 @@
129
129
  "ansis": "^3.16.0",
130
130
  "change-case": "^5.4.4",
131
131
  "csv-parse": "^5.6.0",
132
- "csv-stringify": "^6.5.2",
132
+ "csv-stringify": "^6.6.0",
133
133
  "form-data": "^4.0.3",
134
134
  "terminal-link": "^3.0.0"
135
135
  },
@@ -139,10 +139,10 @@
139
139
  "@oclif/test": "^4.1.13",
140
140
  "@salesforce/cli-plugins-testkit": "^5.3.39",
141
141
  "@salesforce/dev-scripts": "^11.0.2",
142
- "@salesforce/plugin-command-reference": "^3.1.58",
142
+ "@salesforce/plugin-command-reference": "^3.1.59",
143
143
  "@salesforce/types": "^1.3.0",
144
144
  "eslint-plugin-sf-plugin": "^1.20.27",
145
- "oclif": "^4.18.1",
145
+ "oclif": "^4.20.4",
146
146
  "ts-node": "^10.9.2",
147
147
  "typescript": "^5.8.3"
148
148
  },
@@ -267,7 +267,7 @@
267
267
  "exports": "./lib/index.js",
268
268
  "type": "module",
269
269
  "sfdx": {
270
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.43.crt",
271
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.43.sig"
270
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.45.crt",
271
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.45.sig"
272
272
  }
273
273
  }