@salesforce/plugin-data 3.11.1 → 3.11.2

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
@@ -145,7 +145,7 @@ EXAMPLES
145
145
  $ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
146
146
  ```
147
147
 
148
- _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/bulk/results.ts)_
148
+ _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/bulk/results.ts)_
149
149
 
150
150
  ## `sf data create file`
151
151
 
@@ -194,7 +194,7 @@ EXAMPLES
194
194
  $ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
195
195
  ```
196
196
 
197
- _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/create/file.ts)_
197
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/create/file.ts)_
198
198
 
199
199
  ## `sf data create record`
200
200
 
@@ -250,7 +250,7 @@ EXAMPLES
250
250
  TracedEntityId=01p17000000R6bLAAS"
251
251
  ```
252
252
 
253
- _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/create/record.ts)_
253
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/create/record.ts)_
254
254
 
255
255
  ## `sf data delete bulk`
256
256
 
@@ -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/3.11.1/src/commands/data/delete/bulk.ts)_
311
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/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/3.11.1/src/commands/data/delete/record.ts)_
372
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/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/3.11.1/src/commands/data/delete/resume.ts)_
411
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/delete/resume.ts)_
412
412
 
413
413
  ## `sf data export bulk`
414
414
 
@@ -482,7 +482,7 @@ EXAMPLES
482
482
  --result-format json --async
483
483
  ```
484
484
 
485
- _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/export/bulk.ts)_
485
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/export/bulk.ts)_
486
486
 
487
487
  ## `sf data export resume`
488
488
 
@@ -518,7 +518,7 @@ EXAMPLES
518
518
  $ sf data export resume --use-most-recent --target-org my-scratch
519
519
  ```
520
520
 
521
- _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/export/resume.ts)_
521
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/export/resume.ts)_
522
522
 
523
523
  ## `sf data export tree`
524
524
 
@@ -579,7 +579,7 @@ EXAMPLES
579
579
  my-scratch
580
580
  ```
581
581
 
582
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/export/tree.ts)_
582
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/export/tree.ts)_
583
583
 
584
584
  ## `sf data get record`
585
585
 
@@ -643,7 +643,7 @@ EXAMPLES
643
643
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
644
644
  ```
645
645
 
646
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/get/record.ts)_
646
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/get/record.ts)_
647
647
 
648
648
  ## `sf data import bulk`
649
649
 
@@ -701,7 +701,7 @@ EXAMPLES
701
701
  $ sf data import bulk --file accounts.csv --sobject Account --async
702
702
  ```
703
703
 
704
- _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/import/bulk.ts)_
704
+ _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/import/bulk.ts)_
705
705
 
706
706
  ## `sf data import resume`
707
707
 
@@ -737,7 +737,7 @@ EXAMPLES
737
737
  $ sf data import resume --use-most-recent --target-org my-scratch
738
738
  ```
739
739
 
740
- _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/import/resume.ts)_
740
+ _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/import/resume.ts)_
741
741
 
742
742
  ## `sf data import tree`
743
743
 
@@ -802,7 +802,7 @@ FLAG DESCRIPTIONS
802
802
  - files(array) - Files: An array of files paths to load
803
803
  ```
804
804
 
805
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/import/tree.ts)_
805
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/import/tree.ts)_
806
806
 
807
807
  ## `sf data query`
808
808
 
@@ -866,7 +866,7 @@ EXAMPLES
866
866
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
867
867
  ```
868
868
 
869
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/query.ts)_
869
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/query.ts)_
870
870
 
871
871
  ## `sf data query resume`
872
872
 
@@ -904,7 +904,7 @@ EXAMPLES
904
904
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
905
905
  ```
906
906
 
907
- _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/query/resume.ts)_
907
+ _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/query/resume.ts)_
908
908
 
909
909
  ## `sf data resume`
910
910
 
@@ -941,7 +941,7 @@ EXAMPLES
941
941
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
942
942
  ```
943
943
 
944
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/resume.ts)_
944
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/resume.ts)_
945
945
 
946
946
  ## `sf data search`
947
947
 
@@ -991,7 +991,7 @@ EXAMPLES
991
991
  $ sf data search --file query.txt --target-org my-scratch --result-format csv
992
992
  ```
993
993
 
994
- _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/search.ts)_
994
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/search.ts)_
995
995
 
996
996
  ## `sf data update bulk`
997
997
 
@@ -1052,7 +1052,7 @@ EXAMPLES
1052
1052
  $ sf data update bulk --file accounts.csv --sobject Account --async
1053
1053
  ```
1054
1054
 
1055
- _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/update/bulk.ts)_
1055
+ _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/update/bulk.ts)_
1056
1056
 
1057
1057
  ## `sf data update record`
1058
1058
 
@@ -1114,7 +1114,7 @@ EXAMPLES
1114
1114
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
1115
1115
  ```
1116
1116
 
1117
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/update/record.ts)_
1117
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/update/record.ts)_
1118
1118
 
1119
1119
  ## `sf data update resume`
1120
1120
 
@@ -1150,7 +1150,7 @@ EXAMPLES
1150
1150
  $ sf data update resume --use-most-recent --target-org my-scratch
1151
1151
  ```
1152
1152
 
1153
- _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/update/resume.ts)_
1153
+ _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/update/resume.ts)_
1154
1154
 
1155
1155
  ## `sf data upsert bulk`
1156
1156
 
@@ -1203,7 +1203,7 @@ EXAMPLES
1203
1203
  my-scratch
1204
1204
  ```
1205
1205
 
1206
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/upsert/bulk.ts)_
1206
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/upsert/bulk.ts)_
1207
1207
 
1208
1208
  ## `sf data upsert resume`
1209
1209
 
@@ -1242,7 +1242,7 @@ EXAMPLES
1242
1242
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1243
1243
  ```
1244
1244
 
1245
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/data/upsert/resume.ts)_
1245
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/data/upsert/resume.ts)_
1246
1246
 
1247
1247
  ## `sf force data bulk delete`
1248
1248
 
@@ -1289,7 +1289,7 @@ EXAMPLES
1289
1289
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1290
1290
  ```
1291
1291
 
1292
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/force/data/bulk/delete.ts)_
1292
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/force/data/bulk/delete.ts)_
1293
1293
 
1294
1294
  ## `sf force data bulk status`
1295
1295
 
@@ -1326,7 +1326,7 @@ EXAMPLES
1326
1326
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
1327
1327
  ```
1328
1328
 
1329
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/force/data/bulk/status.ts)_
1329
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/force/data/bulk/status.ts)_
1330
1330
 
1331
1331
  ## `sf force data bulk upsert`
1332
1332
 
@@ -1384,6 +1384,6 @@ EXAMPLES
1384
1384
  --target-org my-scratch
1385
1385
  ```
1386
1386
 
1387
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.1/src/commands/force/data/bulk/upsert.ts)_
1387
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.11.2/src/commands/force/data/bulk/upsert.ts)_
1388
1388
 
1389
1389
  <!-- commandsstop -->
@@ -424,83 +424,6 @@
424
424
  "search:data"
425
425
  ]
426
426
  },
427
- "data:bulk:results": {
428
- "aliases": [],
429
- "args": {},
430
- "description": "Use this command to get the complete results after running one of the CLI commands that uses Bulk API 2.0 to ingest (import, update, upsert, or delete) large datasets to your org, such as \"data import bulk\". The previously-run bulk command must have completed; if it's still processing, run the corresponding resume command first, such as \"data import resume.\" Make note of the job ID of the previous bulk command because you use it to run this command. \n\nYou can also use this command to get results from running a bulk ingest job with a different tool, such as Data Loader, as long as you have the job ID. For information on Data Loader, see https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/data_loader_intro.htm. \n\nThis command first displays the status of the previous bulk job, the operation that was executed in the org (such as insert or hard delete), and the updated Salesforce object. The command then displays how many records were processed in total, and how many were successful or failed. Finally, the output displays the names of the generated CSV-formatted files that contain the specific results for each ingested record. Depending on the success or failure of the bulk command, the results files can include the IDs of inserted records or the specific errors. When possible, if the ingest job failed or was aborted, you also get a CSV file with the unprocessed results.",
431
- "examples": [
432
- "Get results from a bulk ingest job; use the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --job-id 7507i000fake341G --target-org my-scratch"
433
- ],
434
- "flags": {
435
- "json": {
436
- "description": "Format output as json.",
437
- "helpGroup": "GLOBAL",
438
- "name": "json",
439
- "allowNo": false,
440
- "type": "boolean"
441
- },
442
- "flags-dir": {
443
- "helpGroup": "GLOBAL",
444
- "name": "flags-dir",
445
- "summary": "Import flag values from a directory.",
446
- "hasDynamicHelp": false,
447
- "multiple": false,
448
- "type": "option"
449
- },
450
- "job-id": {
451
- "char": "i",
452
- "name": "job-id",
453
- "required": true,
454
- "summary": "Job ID of the bulk job.",
455
- "hasDynamicHelp": false,
456
- "multiple": false,
457
- "type": "option"
458
- },
459
- "target-org": {
460
- "char": "o",
461
- "name": "target-org",
462
- "noCacheDefault": true,
463
- "required": true,
464
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
465
- "hasDynamicHelp": true,
466
- "multiple": false,
467
- "type": "option"
468
- },
469
- "api-version": {
470
- "description": "Override the api version used for api requests made by this command",
471
- "name": "api-version",
472
- "hasDynamicHelp": false,
473
- "multiple": false,
474
- "type": "option"
475
- }
476
- },
477
- "hasDynamicHelp": true,
478
- "hiddenAliases": [],
479
- "id": "data:bulk:results",
480
- "pluginAlias": "@salesforce/plugin-data",
481
- "pluginName": "@salesforce/plugin-data",
482
- "pluginType": "core",
483
- "strict": true,
484
- "summary": "Get the results of a bulk ingest job that you previously ran.",
485
- "enableJsonFlag": true,
486
- "isESM": true,
487
- "relativePath": [
488
- "lib",
489
- "commands",
490
- "data",
491
- "bulk",
492
- "results.js"
493
- ],
494
- "aliasPermutations": [],
495
- "permutations": [
496
- "data:bulk:results",
497
- "bulk:data:results",
498
- "bulk:results:data",
499
- "data:results:bulk",
500
- "results:data:bulk",
501
- "results:bulk:data"
502
- ]
503
- },
504
427
  "data:create:file": {
505
428
  "aliases": [],
506
429
  "args": {},
@@ -758,6 +681,83 @@
758
681
  "record:create:data"
759
682
  ]
760
683
  },
684
+ "data:bulk:results": {
685
+ "aliases": [],
686
+ "args": {},
687
+ "description": "Use this command to get the complete results after running one of the CLI commands that uses Bulk API 2.0 to ingest (import, update, upsert, or delete) large datasets to your org, such as \"data import bulk\". The previously-run bulk command must have completed; if it's still processing, run the corresponding resume command first, such as \"data import resume.\" Make note of the job ID of the previous bulk command because you use it to run this command. \n\nYou can also use this command to get results from running a bulk ingest job with a different tool, such as Data Loader, as long as you have the job ID. For information on Data Loader, see https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/data_loader_intro.htm. \n\nThis command first displays the status of the previous bulk job, the operation that was executed in the org (such as insert or hard delete), and the updated Salesforce object. The command then displays how many records were processed in total, and how many were successful or failed. Finally, the output displays the names of the generated CSV-formatted files that contain the specific results for each ingested record. Depending on the success or failure of the bulk command, the results files can include the IDs of inserted records or the specific errors. When possible, if the ingest job failed or was aborted, you also get a CSV file with the unprocessed results.",
688
+ "examples": [
689
+ "Get results from a bulk ingest job; use the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --job-id 7507i000fake341G --target-org my-scratch"
690
+ ],
691
+ "flags": {
692
+ "json": {
693
+ "description": "Format output as json.",
694
+ "helpGroup": "GLOBAL",
695
+ "name": "json",
696
+ "allowNo": false,
697
+ "type": "boolean"
698
+ },
699
+ "flags-dir": {
700
+ "helpGroup": "GLOBAL",
701
+ "name": "flags-dir",
702
+ "summary": "Import flag values from a directory.",
703
+ "hasDynamicHelp": false,
704
+ "multiple": false,
705
+ "type": "option"
706
+ },
707
+ "job-id": {
708
+ "char": "i",
709
+ "name": "job-id",
710
+ "required": true,
711
+ "summary": "Job ID of the bulk job.",
712
+ "hasDynamicHelp": false,
713
+ "multiple": false,
714
+ "type": "option"
715
+ },
716
+ "target-org": {
717
+ "char": "o",
718
+ "name": "target-org",
719
+ "noCacheDefault": true,
720
+ "required": true,
721
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
722
+ "hasDynamicHelp": true,
723
+ "multiple": false,
724
+ "type": "option"
725
+ },
726
+ "api-version": {
727
+ "description": "Override the api version used for api requests made by this command",
728
+ "name": "api-version",
729
+ "hasDynamicHelp": false,
730
+ "multiple": false,
731
+ "type": "option"
732
+ }
733
+ },
734
+ "hasDynamicHelp": true,
735
+ "hiddenAliases": [],
736
+ "id": "data:bulk:results",
737
+ "pluginAlias": "@salesforce/plugin-data",
738
+ "pluginName": "@salesforce/plugin-data",
739
+ "pluginType": "core",
740
+ "strict": true,
741
+ "summary": "Get the results of a bulk ingest job that you previously ran.",
742
+ "enableJsonFlag": true,
743
+ "isESM": true,
744
+ "relativePath": [
745
+ "lib",
746
+ "commands",
747
+ "data",
748
+ "bulk",
749
+ "results.js"
750
+ ],
751
+ "aliasPermutations": [],
752
+ "permutations": [
753
+ "data:bulk:results",
754
+ "bulk:data:results",
755
+ "bulk:results:data",
756
+ "data:results:bulk",
757
+ "results:data:bulk",
758
+ "results:bulk:data"
759
+ ]
760
+ },
761
761
  "data:delete:bulk": {
762
762
  "aliases": [],
763
763
  "args": {},
@@ -3837,5 +3837,5 @@
3837
3837
  ]
3838
3838
  }
3839
3839
  },
3840
- "version": "3.11.1"
3840
+ "version": "3.11.2"
3841
3841
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "3.11.1",
3
+ "version": "3.11.2",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -118,7 +118,7 @@
118
118
  "version": "oclif readme"
119
119
  },
120
120
  "dependencies": {
121
- "@jsforce/jsforce-node": "^3.6.0",
121
+ "@jsforce/jsforce-node": "^3.6.2",
122
122
  "@oclif/multi-stage-output": "^0.7.5",
123
123
  "@salesforce/core": "^8.6.1",
124
124
  "@salesforce/kit": "^3.2.2",
@@ -265,7 +265,7 @@
265
265
  "exports": "./lib/index.js",
266
266
  "type": "module",
267
267
  "sfdx": {
268
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.11.1.crt",
269
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.11.1.sig"
268
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.11.2.crt",
269
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.11.2.sig"
270
270
  }
271
271
  }