@salesforce/plugin-data 3.7.0 → 3.7.1

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 create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
145
145
  ```
146
146
 
147
- _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/create/file.ts)_
147
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/create/file.ts)_
148
148
 
149
149
  ## `sf data create record`
150
150
 
@@ -200,7 +200,7 @@ EXAMPLES
200
200
  TracedEntityId=01p17000000R6bLAAS"
201
201
  ```
202
202
 
203
- _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/create/record.ts)_
203
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/create/record.ts)_
204
204
 
205
205
  ## `sf data delete bulk`
206
206
 
@@ -258,7 +258,7 @@ FLAG DESCRIPTIONS
258
258
  and can be enabled only by a system administrator.
259
259
  ```
260
260
 
261
- _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/delete/bulk.ts)_
261
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/delete/bulk.ts)_
262
262
 
263
263
  ## `sf data delete record`
264
264
 
@@ -319,7 +319,7 @@ EXAMPLES
319
319
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
320
320
  ```
321
321
 
322
- _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/delete/record.ts)_
322
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/delete/record.ts)_
323
323
 
324
324
  ## `sf data delete resume`
325
325
 
@@ -358,7 +358,7 @@ EXAMPLES
358
358
  $ sf data delete resume --use-most-recent --target-org my-scratch
359
359
  ```
360
360
 
361
- _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/delete/resume.ts)_
361
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/delete/resume.ts)_
362
362
 
363
363
  ## `sf data export bulk`
364
364
 
@@ -432,7 +432,7 @@ EXAMPLES
432
432
  --result-format json --async
433
433
  ```
434
434
 
435
- _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/export/bulk.ts)_
435
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/export/bulk.ts)_
436
436
 
437
437
  ## `sf data export resume`
438
438
 
@@ -468,7 +468,7 @@ EXAMPLES
468
468
  $ sf data export resume --use-most-recent --target-org my-scratch
469
469
  ```
470
470
 
471
- _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/export/resume.ts)_
471
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/export/resume.ts)_
472
472
 
473
473
  ## `sf data export tree`
474
474
 
@@ -529,7 +529,7 @@ EXAMPLES
529
529
  my-scratch
530
530
  ```
531
531
 
532
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/export/tree.ts)_
532
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/export/tree.ts)_
533
533
 
534
534
  ## `sf data get record`
535
535
 
@@ -593,7 +593,7 @@ EXAMPLES
593
593
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
594
594
  ```
595
595
 
596
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/get/record.ts)_
596
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/get/record.ts)_
597
597
 
598
598
  ## `sf data import tree`
599
599
 
@@ -658,7 +658,7 @@ FLAG DESCRIPTIONS
658
658
  - files(array) - Files: An array of files paths to load
659
659
  ```
660
660
 
661
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/import/tree.ts)_
661
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/import/tree.ts)_
662
662
 
663
663
  ## `sf data query`
664
664
 
@@ -722,7 +722,7 @@ EXAMPLES
722
722
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
723
723
  ```
724
724
 
725
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/query.ts)_
725
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/query.ts)_
726
726
 
727
727
  ## `sf data query resume`
728
728
 
@@ -760,7 +760,7 @@ EXAMPLES
760
760
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
761
761
  ```
762
762
 
763
- _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/query/resume.ts)_
763
+ _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/query/resume.ts)_
764
764
 
765
765
  ## `sf data resume`
766
766
 
@@ -797,7 +797,7 @@ EXAMPLES
797
797
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
798
798
  ```
799
799
 
800
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/resume.ts)_
800
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/resume.ts)_
801
801
 
802
802
  ## `sf data search`
803
803
 
@@ -847,7 +847,7 @@ EXAMPLES
847
847
  $ sf data search --file query.txt --target-org my-scratch --result-format csv
848
848
  ```
849
849
 
850
- _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/search.ts)_
850
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/search.ts)_
851
851
 
852
852
  ## `sf data update record`
853
853
 
@@ -909,7 +909,7 @@ EXAMPLES
909
909
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
910
910
  ```
911
911
 
912
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/update/record.ts)_
912
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/update/record.ts)_
913
913
 
914
914
  ## `sf data upsert bulk`
915
915
 
@@ -962,7 +962,7 @@ EXAMPLES
962
962
  my-scratch
963
963
  ```
964
964
 
965
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/upsert/bulk.ts)_
965
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/upsert/bulk.ts)_
966
966
 
967
967
  ## `sf data upsert resume`
968
968
 
@@ -1001,7 +1001,7 @@ EXAMPLES
1001
1001
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1002
1002
  ```
1003
1003
 
1004
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/data/upsert/resume.ts)_
1004
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/data/upsert/resume.ts)_
1005
1005
 
1006
1006
  ## `sf force data bulk delete`
1007
1007
 
@@ -1048,7 +1048,7 @@ EXAMPLES
1048
1048
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1049
1049
  ```
1050
1050
 
1051
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/force/data/bulk/delete.ts)_
1051
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/force/data/bulk/delete.ts)_
1052
1052
 
1053
1053
  ## `sf force data bulk status`
1054
1054
 
@@ -1085,7 +1085,7 @@ EXAMPLES
1085
1085
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
1086
1086
  ```
1087
1087
 
1088
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/force/data/bulk/status.ts)_
1088
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/force/data/bulk/status.ts)_
1089
1089
 
1090
1090
  ## `sf force data bulk upsert`
1091
1091
 
@@ -1143,6 +1143,6 @@ EXAMPLES
1143
1143
  --target-org my-scratch
1144
1144
  ```
1145
1145
 
1146
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.0/src/commands/force/data/bulk/upsert.ts)_
1146
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.7.1/src/commands/force/data/bulk/upsert.ts)_
1147
1147
 
1148
1148
  <!-- commandsstop -->
@@ -138,7 +138,7 @@ export default class DataExportBulk extends SfCommand {
138
138
  },
139
139
  });
140
140
  job.on('error', (err) => {
141
- ms.stop(err);
141
+ ms.stop('failed');
142
142
  throw err;
143
143
  });
144
144
  job.on('open', (jobInfo) => {
@@ -161,8 +161,7 @@ export default class DataExportBulk extends SfCommand {
161
161
  };
162
162
  }
163
163
  catch (err) {
164
- const error = err;
165
- ms.stop(error);
164
+ ms.stop('failed');
166
165
  throw err;
167
166
  }
168
167
  }
@@ -178,8 +177,8 @@ export default class DataExportBulk extends SfCommand {
178
177
  pollInterval: 5000,
179
178
  },
180
179
  });
181
- queryJob.on('error', (error) => {
182
- ms.stop(error);
180
+ queryJob.on('error', () => {
181
+ ms.stop('failed');
183
182
  });
184
183
  queryJob.on('open', (jobInfo) => {
185
184
  ms.goto('processing the job', {
@@ -206,9 +205,8 @@ export default class DataExportBulk extends SfCommand {
206
205
  };
207
206
  }
208
207
  catch (err) {
209
- const error = err;
210
- ms.stop(error);
211
- throw error;
208
+ ms.stop('failed');
209
+ throw err;
212
210
  }
213
211
  }
214
212
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/export/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,EAAkB,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;AAQtF,MAAM,CAAC,OA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CAAC,KAAK,EAAE,CAAC,CAAC;QACzD,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAEtB,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE;gBAClD,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC;gBAC9B,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC;gBAC9B,eAAe;aAChB,CAAC,CAAC;YAEH,EAAE,CAAC,IAAI,EAAE,CAAC;YAEV,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,sBAAsB,uBAAuB,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;YAEzF,OAAO;gBACL,SAAS,EAAE,OAAO,CAAC,sBAAsB;gBACzC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC;aAC/B,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAClB,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC"}
@@ -60,6 +60,10 @@ export default class DataExportResume extends SfCommand {
60
60
  queryJob.on('jobComplete', (jobInfo) => {
61
61
  ms.goto('exporting records', { state: jobInfo.state });
62
62
  });
63
+ queryJob.on('error', (err) => {
64
+ ms.stop('failed');
65
+ throw err;
66
+ });
63
67
  try {
64
68
  const jobInfo = await exportRecords(resumeOpts.options.connection, queryJob, resumeOpts.outputInfo);
65
69
  ms.stop();
@@ -70,9 +74,8 @@ export default class DataExportResume extends SfCommand {
70
74
  };
71
75
  }
72
76
  catch (err) {
73
- const error = err;
74
- ms.stop(error);
75
- throw error;
77
+ ms.stop('failed');
78
+ throw err;
76
79
  }
77
80
  }
78
81
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resume.js","sourceRoot":"","sources":["../../../../src/commands/data/export/resume.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO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,UAAU,CAAC,UAAU,CAAC,CAAC;YAEpG,EAAE,CAAC,IAAI,EAAE,CAAC;YAEV,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,sBAAsB,uBAAuB,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC;YAEnG,OAAO;gBACL,SAAS,EAAE,OAAO,CAAC,sBAAsB;gBACzC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,QAAQ;aACzC,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAClB,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC"}
@@ -424,13 +424,14 @@
424
424
  "search:data"
425
425
  ]
426
426
  },
427
- "data:delete:bulk": {
427
+ "data:create:file": {
428
428
  "aliases": [],
429
429
  "args": {},
430
- "description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job ID to check the status of the job with the \"<%= config.bin %> data delete resume\" command.",
430
+ "description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
431
431
  "examples": [
432
- "Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
433
- "Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
432
+ "Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
433
+ "Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
434
+ "Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
434
435
  ],
435
436
  "flags": {
436
437
  "json": {
@@ -449,12 +450,7 @@
449
450
  "type": "option"
450
451
  },
451
452
  "target-org": {
452
- "aliases": [
453
- "targetusername",
454
- "u"
455
- ],
456
453
  "char": "o",
457
- "deprecateAliases": true,
458
454
  "name": "target-org",
459
455
  "noCacheDefault": true,
460
456
  "required": true,
@@ -464,127 +460,77 @@
464
460
  "type": "option"
465
461
  },
466
462
  "api-version": {
467
- "aliases": [
468
- "apiversion"
469
- ],
470
- "deprecateAliases": true,
471
463
  "description": "Override the api version used for api requests made by this command",
472
464
  "name": "api-version",
473
465
  "hasDynamicHelp": false,
474
466
  "multiple": false,
475
467
  "type": "option"
476
468
  },
477
- "loglevel": {
478
- "deprecated": {
479
- "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."
480
- },
481
- "hidden": true,
482
- "name": "loglevel",
469
+ "title": {
470
+ "char": "t",
471
+ "name": "title",
472
+ "required": false,
473
+ "summary": "New title given to the file (ContentDocument) after it's uploaded.",
483
474
  "hasDynamicHelp": false,
484
475
  "multiple": false,
485
476
  "type": "option"
486
477
  },
487
478
  "file": {
488
- "aliases": [
489
- "csvfile"
490
- ],
491
479
  "char": "f",
492
- "deprecateAliases": true,
493
480
  "name": "file",
494
481
  "required": true,
495
- "summary": "CSV file that contains the IDs of the records to update or delete.",
482
+ "summary": "Path of file to upload.",
496
483
  "hasDynamicHelp": false,
497
484
  "multiple": false,
498
485
  "type": "option"
499
486
  },
500
- "sobject": {
501
- "aliases": [
502
- "sobjecttype"
503
- ],
504
- "char": "s",
505
- "deprecateAliases": true,
506
- "name": "sobject",
507
- "required": true,
508
- "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
487
+ "parent-id": {
488
+ "char": "i",
489
+ "name": "parent-id",
490
+ "summary": "ID of the record to attach the file to.",
509
491
  "hasDynamicHelp": false,
510
492
  "multiple": false,
511
493
  "type": "option"
512
- },
513
- "wait": {
514
- "char": "w",
515
- "exclusive": [
516
- "async"
517
- ],
518
- "name": "wait",
519
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
520
- "default": "0 minutes",
521
- "hasDynamicHelp": true,
522
- "multiple": false,
523
- "type": "option"
524
- },
525
- "async": {
526
- "char": "a",
527
- "exclusive": [
528
- "wait"
529
- ],
530
- "name": "async",
531
- "summary": "Run the command asynchronously.",
532
- "allowNo": false,
533
- "type": "boolean"
534
- },
535
- "verbose": {
536
- "name": "verbose",
537
- "summary": "Print verbose output of failed records if result is available.",
538
- "allowNo": false,
539
- "type": "boolean"
540
- },
541
- "hard-delete": {
542
- "description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
543
- "name": "hard-delete",
544
- "summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
545
- "allowNo": false,
546
- "type": "boolean"
547
494
  }
548
495
  },
549
496
  "hasDynamicHelp": true,
550
497
  "hiddenAliases": [],
551
- "id": "data:delete:bulk",
498
+ "id": "data:create:file",
552
499
  "pluginAlias": "@salesforce/plugin-data",
553
500
  "pluginName": "@salesforce/plugin-data",
554
501
  "pluginType": "core",
555
502
  "strict": true,
556
- "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
503
+ "summary": "Upload a local file to an org.",
557
504
  "enableJsonFlag": true,
558
505
  "isESM": true,
559
506
  "relativePath": [
560
507
  "lib",
561
508
  "commands",
562
509
  "data",
563
- "delete",
564
- "bulk.js"
510
+ "create",
511
+ "file.js"
565
512
  ],
566
513
  "aliasPermutations": [],
567
514
  "permutations": [
568
- "data:delete:bulk",
569
- "delete:data:bulk",
570
- "delete:bulk:data",
571
- "data:bulk:delete",
572
- "bulk:data:delete",
573
- "bulk:delete:data"
515
+ "data:create:file",
516
+ "create:data:file",
517
+ "create:file:data",
518
+ "data:file:create",
519
+ "file:data:create",
520
+ "file:create:data"
574
521
  ]
575
522
  },
576
- "data:delete:record": {
523
+ "data:create:record": {
577
524
  "aliases": [
578
- "force:data:record:delete"
525
+ "force:data:record:create"
579
526
  ],
580
527
  "args": {},
581
528
  "deprecateAliases": true,
582
- "description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
529
+ "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, 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 inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
583
530
  "examples": [
584
- "Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
585
- "Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
586
- "Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
587
- "Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
531
+ "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
532
+ "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
533
+ "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
588
534
  ],
589
535
  "flags": {
590
536
  "json": {
@@ -646,27 +592,16 @@
646
592
  "deprecateAliases": true,
647
593
  "name": "sobject",
648
594
  "required": true,
649
- "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
650
- "hasDynamicHelp": false,
651
- "multiple": false,
652
- "type": "option"
653
- },
654
- "record-id": {
655
- "aliases": [
656
- "sobjectid"
657
- ],
658
- "char": "i",
659
- "deprecateAliases": true,
660
- "name": "record-id",
661
- "summary": "ID of the record you’re deleting.",
595
+ "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
662
596
  "hasDynamicHelp": false,
663
597
  "multiple": false,
664
598
  "type": "option"
665
599
  },
666
- "where": {
667
- "char": "w",
668
- "name": "where",
669
- "summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
600
+ "values": {
601
+ "char": "v",
602
+ "name": "values",
603
+ "required": true,
604
+ "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
670
605
  "hasDynamicHelp": false,
671
606
  "multiple": false,
672
607
  "type": "option"
@@ -678,7 +613,7 @@
678
613
  "char": "t",
679
614
  "deprecateAliases": true,
680
615
  "name": "use-tooling-api",
681
- "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
616
+ "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
682
617
  "allowNo": false,
683
618
  "type": "boolean"
684
619
  },
@@ -696,64 +631,63 @@
696
631
  },
697
632
  "hasDynamicHelp": true,
698
633
  "hiddenAliases": [],
699
- "id": "data:delete:record",
634
+ "id": "data:create:record",
700
635
  "pluginAlias": "@salesforce/plugin-data",
701
636
  "pluginName": "@salesforce/plugin-data",
702
637
  "pluginType": "core",
703
638
  "strict": true,
704
- "summary": "Deletes a single record from a Salesforce or Tooling API object.",
639
+ "summary": "Create and insert a record into a Salesforce or Tooling API object.",
705
640
  "enableJsonFlag": true,
706
641
  "isESM": true,
707
642
  "relativePath": [
708
643
  "lib",
709
644
  "commands",
710
645
  "data",
711
- "delete",
646
+ "create",
712
647
  "record.js"
713
648
  ],
714
649
  "aliasPermutations": [
715
- "force:data:record:delete",
716
- "data:force:record:delete",
717
- "data:record:force:delete",
718
- "data:record:delete:force",
719
- "force:record:data:delete",
720
- "record:force:data:delete",
721
- "record:data:force:delete",
722
- "record:data:delete:force",
723
- "force:record:delete:data",
724
- "record:force:delete:data",
725
- "record:delete:force:data",
726
- "record:delete:data:force",
727
- "force:data:delete:record",
728
- "data:force:delete:record",
729
- "data:delete:force:record",
730
- "data:delete:record:force",
731
- "force:delete:data:record",
732
- "delete:force:data:record",
733
- "delete:data:force:record",
734
- "delete:data:record:force",
735
- "force:delete:record:data",
736
- "delete:force:record:data",
737
- "delete:record:force:data",
738
- "delete:record:data:force"
650
+ "force:data:record:create",
651
+ "data:force:record:create",
652
+ "data:record:force:create",
653
+ "data:record:create:force",
654
+ "force:record:data:create",
655
+ "record:force:data:create",
656
+ "record:data:force:create",
657
+ "record:data:create:force",
658
+ "force:record:create:data",
659
+ "record:force:create:data",
660
+ "record:create:force:data",
661
+ "record:create:data:force",
662
+ "force:data:create:record",
663
+ "data:force:create:record",
664
+ "data:create:force:record",
665
+ "data:create:record:force",
666
+ "force:create:data:record",
667
+ "create:force:data:record",
668
+ "create:data:force:record",
669
+ "create:data:record:force",
670
+ "force:create:record:data",
671
+ "create:force:record:data",
672
+ "create:record:force:data",
673
+ "create:record:data:force"
739
674
  ],
740
675
  "permutations": [
741
- "data:delete:record",
742
- "delete:data:record",
743
- "delete:record:data",
744
- "data:record:delete",
745
- "record:data:delete",
746
- "record:delete:data"
676
+ "data:create:record",
677
+ "create:data:record",
678
+ "create:record:data",
679
+ "data:record:create",
680
+ "record:data:create",
681
+ "record:create:data"
747
682
  ]
748
683
  },
749
- "data:delete:resume": {
684
+ "data:delete:bulk": {
750
685
  "aliases": [],
751
686
  "args": {},
752
- "deprecateAliases": true,
753
- "description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
687
+ "description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job ID to check the status of the job with the \"<%= config.bin %> data delete resume\" command.",
754
688
  "examples": [
755
- "Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
756
- "Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
689
+ "Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
690
+ "Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
757
691
  ],
758
692
  "flags": {
759
693
  "json": {
@@ -780,41 +714,17 @@
780
714
  "deprecateAliases": true,
781
715
  "name": "target-org",
782
716
  "noCacheDefault": true,
783
- "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
717
+ "required": true,
718
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
784
719
  "hasDynamicHelp": true,
785
720
  "multiple": false,
786
721
  "type": "option"
787
722
  },
788
- "job-id": {
723
+ "api-version": {
789
724
  "aliases": [
790
- "jobid"
725
+ "apiversion"
791
726
  ],
792
- "char": "i",
793
727
  "deprecateAliases": true,
794
- "name": "job-id",
795
- "summary": "ID of the job you want to resume.",
796
- "hasDynamicHelp": false,
797
- "multiple": false,
798
- "type": "option"
799
- },
800
- "use-most-recent": {
801
- "exclusive": [
802
- "job-id"
803
- ],
804
- "name": "use-most-recent",
805
- "summary": "Use the ID of the most recently-run bulk job.",
806
- "allowNo": false,
807
- "type": "boolean"
808
- },
809
- "wait": {
810
- "name": "wait",
811
- "summary": "Number of minutes to wait for the command to complete before displaying the results.",
812
- "default": "0 minutes",
813
- "hasDynamicHelp": true,
814
- "multiple": false,
815
- "type": "option"
816
- },
817
- "api-version": {
818
728
  "description": "Override the api version used for api requests made by this command",
819
729
  "name": "api-version",
820
730
  "hasDynamicHelp": false,
@@ -830,16 +740,77 @@
830
740
  "hasDynamicHelp": false,
831
741
  "multiple": false,
832
742
  "type": "option"
833
- }
834
- },
835
- "hasDynamicHelp": true,
836
- "hiddenAliases": [],
837
- "id": "data:delete:resume",
838
- "pluginAlias": "@salesforce/plugin-data",
839
- "pluginName": "@salesforce/plugin-data",
840
- "pluginType": "core",
743
+ },
744
+ "file": {
745
+ "aliases": [
746
+ "csvfile"
747
+ ],
748
+ "char": "f",
749
+ "deprecateAliases": true,
750
+ "name": "file",
751
+ "required": true,
752
+ "summary": "CSV file that contains the IDs of the records to update or delete.",
753
+ "hasDynamicHelp": false,
754
+ "multiple": false,
755
+ "type": "option"
756
+ },
757
+ "sobject": {
758
+ "aliases": [
759
+ "sobjecttype"
760
+ ],
761
+ "char": "s",
762
+ "deprecateAliases": true,
763
+ "name": "sobject",
764
+ "required": true,
765
+ "summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
766
+ "hasDynamicHelp": false,
767
+ "multiple": false,
768
+ "type": "option"
769
+ },
770
+ "wait": {
771
+ "char": "w",
772
+ "exclusive": [
773
+ "async"
774
+ ],
775
+ "name": "wait",
776
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
777
+ "default": "0 minutes",
778
+ "hasDynamicHelp": true,
779
+ "multiple": false,
780
+ "type": "option"
781
+ },
782
+ "async": {
783
+ "char": "a",
784
+ "exclusive": [
785
+ "wait"
786
+ ],
787
+ "name": "async",
788
+ "summary": "Run the command asynchronously.",
789
+ "allowNo": false,
790
+ "type": "boolean"
791
+ },
792
+ "verbose": {
793
+ "name": "verbose",
794
+ "summary": "Print verbose output of failed records if result is available.",
795
+ "allowNo": false,
796
+ "type": "boolean"
797
+ },
798
+ "hard-delete": {
799
+ "description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
800
+ "name": "hard-delete",
801
+ "summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
802
+ "allowNo": false,
803
+ "type": "boolean"
804
+ }
805
+ },
806
+ "hasDynamicHelp": true,
807
+ "hiddenAliases": [],
808
+ "id": "data:delete:bulk",
809
+ "pluginAlias": "@salesforce/plugin-data",
810
+ "pluginName": "@salesforce/plugin-data",
811
+ "pluginType": "core",
841
812
  "strict": true,
842
- "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
813
+ "summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
843
814
  "enableJsonFlag": true,
844
815
  "isESM": true,
845
816
  "relativePath": [
@@ -847,26 +818,30 @@
847
818
  "commands",
848
819
  "data",
849
820
  "delete",
850
- "resume.js"
821
+ "bulk.js"
851
822
  ],
852
823
  "aliasPermutations": [],
853
824
  "permutations": [
854
- "data:delete:resume",
855
- "delete:data:resume",
856
- "delete:resume:data",
857
- "data:resume:delete",
858
- "resume:data:delete",
859
- "resume:delete:data"
825
+ "data:delete:bulk",
826
+ "delete:data:bulk",
827
+ "delete:bulk:data",
828
+ "data:bulk:delete",
829
+ "bulk:data:delete",
830
+ "bulk:delete:data"
860
831
  ]
861
832
  },
862
- "data:create:file": {
863
- "aliases": [],
833
+ "data:delete:record": {
834
+ "aliases": [
835
+ "force:data:record:delete"
836
+ ],
864
837
  "args": {},
865
- "description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
838
+ "deprecateAliases": true,
839
+ "description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
866
840
  "examples": [
867
- "Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
868
- "Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
869
- "Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
841
+ "Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
842
+ "Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
843
+ "Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
844
+ "Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
870
845
  ],
871
846
  "flags": {
872
847
  "json": {
@@ -885,7 +860,12 @@
885
860
  "type": "option"
886
861
  },
887
862
  "target-org": {
863
+ "aliases": [
864
+ "targetusername",
865
+ "u"
866
+ ],
888
867
  "char": "o",
868
+ "deprecateAliases": true,
889
869
  "name": "target-org",
890
870
  "noCacheDefault": true,
891
871
  "required": true,
@@ -895,77 +875,142 @@
895
875
  "type": "option"
896
876
  },
897
877
  "api-version": {
878
+ "aliases": [
879
+ "apiversion"
880
+ ],
881
+ "deprecateAliases": true,
898
882
  "description": "Override the api version used for api requests made by this command",
899
883
  "name": "api-version",
900
884
  "hasDynamicHelp": false,
901
885
  "multiple": false,
902
886
  "type": "option"
903
887
  },
904
- "title": {
905
- "char": "t",
906
- "name": "title",
907
- "required": false,
908
- "summary": "New title given to the file (ContentDocument) after it's uploaded.",
888
+ "loglevel": {
889
+ "deprecated": {
890
+ "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."
891
+ },
892
+ "hidden": true,
893
+ "name": "loglevel",
909
894
  "hasDynamicHelp": false,
910
895
  "multiple": false,
911
896
  "type": "option"
912
897
  },
913
- "file": {
914
- "char": "f",
915
- "name": "file",
898
+ "sobject": {
899
+ "aliases": [
900
+ "sobjecttype"
901
+ ],
902
+ "char": "s",
903
+ "deprecateAliases": true,
904
+ "name": "sobject",
916
905
  "required": true,
917
- "summary": "Path of file to upload.",
906
+ "summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
918
907
  "hasDynamicHelp": false,
919
908
  "multiple": false,
920
909
  "type": "option"
921
910
  },
922
- "parent-id": {
911
+ "record-id": {
912
+ "aliases": [
913
+ "sobjectid"
914
+ ],
923
915
  "char": "i",
924
- "name": "parent-id",
925
- "summary": "ID of the record to attach the file to.",
916
+ "deprecateAliases": true,
917
+ "name": "record-id",
918
+ "summary": "ID of the record you’re deleting.",
919
+ "hasDynamicHelp": false,
920
+ "multiple": false,
921
+ "type": "option"
922
+ },
923
+ "where": {
924
+ "char": "w",
925
+ "name": "where",
926
+ "summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
926
927
  "hasDynamicHelp": false,
927
928
  "multiple": false,
928
929
  "type": "option"
930
+ },
931
+ "use-tooling-api": {
932
+ "aliases": [
933
+ "usetoolingapi"
934
+ ],
935
+ "char": "t",
936
+ "deprecateAliases": true,
937
+ "name": "use-tooling-api",
938
+ "summary": "Use Tooling API so you can delete a record from a Tooling API object.",
939
+ "allowNo": false,
940
+ "type": "boolean"
941
+ },
942
+ "perflog": {
943
+ "deprecated": {
944
+ "version": "57"
945
+ },
946
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
947
+ "hidden": true,
948
+ "name": "perflog",
949
+ "summary": "Get API performance data.",
950
+ "allowNo": false,
951
+ "type": "boolean"
929
952
  }
930
953
  },
931
954
  "hasDynamicHelp": true,
932
955
  "hiddenAliases": [],
933
- "id": "data:create:file",
956
+ "id": "data:delete:record",
934
957
  "pluginAlias": "@salesforce/plugin-data",
935
958
  "pluginName": "@salesforce/plugin-data",
936
959
  "pluginType": "core",
937
960
  "strict": true,
938
- "summary": "Upload a local file to an org.",
961
+ "summary": "Deletes a single record from a Salesforce or Tooling API object.",
939
962
  "enableJsonFlag": true,
940
963
  "isESM": true,
941
964
  "relativePath": [
942
965
  "lib",
943
966
  "commands",
944
967
  "data",
945
- "create",
946
- "file.js"
968
+ "delete",
969
+ "record.js"
970
+ ],
971
+ "aliasPermutations": [
972
+ "force:data:record:delete",
973
+ "data:force:record:delete",
974
+ "data:record:force:delete",
975
+ "data:record:delete:force",
976
+ "force:record:data:delete",
977
+ "record:force:data:delete",
978
+ "record:data:force:delete",
979
+ "record:data:delete:force",
980
+ "force:record:delete:data",
981
+ "record:force:delete:data",
982
+ "record:delete:force:data",
983
+ "record:delete:data:force",
984
+ "force:data:delete:record",
985
+ "data:force:delete:record",
986
+ "data:delete:force:record",
987
+ "data:delete:record:force",
988
+ "force:delete:data:record",
989
+ "delete:force:data:record",
990
+ "delete:data:force:record",
991
+ "delete:data:record:force",
992
+ "force:delete:record:data",
993
+ "delete:force:record:data",
994
+ "delete:record:force:data",
995
+ "delete:record:data:force"
947
996
  ],
948
- "aliasPermutations": [],
949
997
  "permutations": [
950
- "data:create:file",
951
- "create:data:file",
952
- "create:file:data",
953
- "data:file:create",
954
- "file:data:create",
955
- "file:create:data"
998
+ "data:delete:record",
999
+ "delete:data:record",
1000
+ "delete:record:data",
1001
+ "data:record:delete",
1002
+ "record:data:delete",
1003
+ "record:delete:data"
956
1004
  ]
957
1005
  },
958
- "data:create:record": {
959
- "aliases": [
960
- "force:data:record:create"
961
- ],
1006
+ "data:delete:resume": {
1007
+ "aliases": [],
962
1008
  "args": {},
963
1009
  "deprecateAliases": true,
964
- "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, 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 inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
1010
+ "description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
965
1011
  "examples": [
966
- "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
967
- "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
968
- "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
1012
+ "Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
1013
+ "Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
969
1014
  ],
970
1015
  "flags": {
971
1016
  "json": {
@@ -992,128 +1037,83 @@
992
1037
  "deprecateAliases": true,
993
1038
  "name": "target-org",
994
1039
  "noCacheDefault": true,
995
- "required": true,
996
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1040
+ "summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
997
1041
  "hasDynamicHelp": true,
998
1042
  "multiple": false,
999
1043
  "type": "option"
1000
1044
  },
1001
- "api-version": {
1045
+ "job-id": {
1002
1046
  "aliases": [
1003
- "apiversion"
1047
+ "jobid"
1004
1048
  ],
1049
+ "char": "i",
1005
1050
  "deprecateAliases": true,
1006
- "description": "Override the api version used for api requests made by this command",
1007
- "name": "api-version",
1008
- "hasDynamicHelp": false,
1009
- "multiple": false,
1010
- "type": "option"
1011
- },
1012
- "loglevel": {
1013
- "deprecated": {
1014
- "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."
1015
- },
1016
- "hidden": true,
1017
- "name": "loglevel",
1051
+ "name": "job-id",
1052
+ "summary": "ID of the job you want to resume.",
1018
1053
  "hasDynamicHelp": false,
1019
1054
  "multiple": false,
1020
1055
  "type": "option"
1021
1056
  },
1022
- "sobject": {
1023
- "aliases": [
1024
- "sobjecttype"
1057
+ "use-most-recent": {
1058
+ "exclusive": [
1059
+ "job-id"
1025
1060
  ],
1026
- "char": "s",
1027
- "deprecateAliases": true,
1028
- "name": "sobject",
1029
- "required": true,
1030
- "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
1031
- "hasDynamicHelp": false,
1061
+ "name": "use-most-recent",
1062
+ "summary": "Use the ID of the most recently-run bulk job.",
1063
+ "allowNo": false,
1064
+ "type": "boolean"
1065
+ },
1066
+ "wait": {
1067
+ "name": "wait",
1068
+ "summary": "Number of minutes to wait for the command to complete before displaying the results.",
1069
+ "default": "0 minutes",
1070
+ "hasDynamicHelp": true,
1032
1071
  "multiple": false,
1033
1072
  "type": "option"
1034
1073
  },
1035
- "values": {
1036
- "char": "v",
1037
- "name": "values",
1038
- "required": true,
1039
- "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
1074
+ "api-version": {
1075
+ "description": "Override the api version used for api requests made by this command",
1076
+ "name": "api-version",
1040
1077
  "hasDynamicHelp": false,
1041
1078
  "multiple": false,
1042
1079
  "type": "option"
1043
1080
  },
1044
- "use-tooling-api": {
1045
- "aliases": [
1046
- "usetoolingapi"
1047
- ],
1048
- "char": "t",
1049
- "deprecateAliases": true,
1050
- "name": "use-tooling-api",
1051
- "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
1052
- "allowNo": false,
1053
- "type": "boolean"
1054
- },
1055
- "perflog": {
1081
+ "loglevel": {
1056
1082
  "deprecated": {
1057
- "version": "57"
1083
+ "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."
1058
1084
  },
1059
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
1060
1085
  "hidden": true,
1061
- "name": "perflog",
1062
- "summary": "Get API performance data.",
1063
- "allowNo": false,
1064
- "type": "boolean"
1086
+ "name": "loglevel",
1087
+ "hasDynamicHelp": false,
1088
+ "multiple": false,
1089
+ "type": "option"
1065
1090
  }
1066
1091
  },
1067
1092
  "hasDynamicHelp": true,
1068
1093
  "hiddenAliases": [],
1069
- "id": "data:create:record",
1094
+ "id": "data:delete:resume",
1070
1095
  "pluginAlias": "@salesforce/plugin-data",
1071
1096
  "pluginName": "@salesforce/plugin-data",
1072
1097
  "pluginType": "core",
1073
1098
  "strict": true,
1074
- "summary": "Create and insert a record into a Salesforce or Tooling API object.",
1099
+ "summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
1075
1100
  "enableJsonFlag": true,
1076
1101
  "isESM": true,
1077
1102
  "relativePath": [
1078
1103
  "lib",
1079
1104
  "commands",
1080
1105
  "data",
1081
- "create",
1082
- "record.js"
1083
- ],
1084
- "aliasPermutations": [
1085
- "force:data:record:create",
1086
- "data:force:record:create",
1087
- "data:record:force:create",
1088
- "data:record:create:force",
1089
- "force:record:data:create",
1090
- "record:force:data:create",
1091
- "record:data:force:create",
1092
- "record:data:create:force",
1093
- "force:record:create:data",
1094
- "record:force:create:data",
1095
- "record:create:force:data",
1096
- "record:create:data:force",
1097
- "force:data:create:record",
1098
- "data:force:create:record",
1099
- "data:create:force:record",
1100
- "data:create:record:force",
1101
- "force:create:data:record",
1102
- "create:force:data:record",
1103
- "create:data:force:record",
1104
- "create:data:record:force",
1105
- "force:create:record:data",
1106
- "create:force:record:data",
1107
- "create:record:force:data",
1108
- "create:record:data:force"
1106
+ "delete",
1107
+ "resume.js"
1109
1108
  ],
1109
+ "aliasPermutations": [],
1110
1110
  "permutations": [
1111
- "data:create:record",
1112
- "create:data:record",
1113
- "create:record:data",
1114
- "data:record:create",
1115
- "record:data:create",
1116
- "record:create:data"
1111
+ "data:delete:resume",
1112
+ "delete:data:resume",
1113
+ "delete:resume:data",
1114
+ "data:resume:delete",
1115
+ "resume:data:delete",
1116
+ "resume:delete:data"
1117
1117
  ]
1118
1118
  },
1119
1119
  "data:export:bulk": {
@@ -3336,5 +3336,5 @@
3336
3336
  ]
3337
3337
  }
3338
3338
  },
3339
- "version": "3.7.0"
3339
+ "version": "3.7.1"
3340
3340
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "@jsforce/jsforce-node": "^3.5.1",
112
- "@oclif/multi-stage-output": "^0.3.0",
112
+ "@oclif/multi-stage-output": "^0.7.5",
113
113
  "@salesforce/core": "^8.6.1",
114
114
  "@salesforce/kit": "^3.2.2",
115
115
  "@salesforce/sf-plugins-core": "^11.3.10",
@@ -254,7 +254,7 @@
254
254
  "exports": "./lib/index.js",
255
255
  "type": "module",
256
256
  "sfdx": {
257
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.7.0.crt",
258
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.7.0.sig"
257
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.7.1.crt",
258
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.7.1.sig"
259
259
  }
260
260
  }