@salesforce/plugin-data 4.0.15 → 4.0.17
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 +25 -25
- package/lib/commands/data/import/tree.js +63 -14
- package/lib/commands/data/import/tree.js.map +1 -1
- package/oclif.manifest.json +251 -251
- package/package.json +13 -13
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/4.0.
|
|
148
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/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/4.0.
|
|
197
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/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/4.0.
|
|
253
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/create/record.ts)_
|
|
254
254
|
|
|
255
255
|
## `sf data delete bulk`
|
|
256
256
|
|
|
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
|
|
|
311
311
|
and can be enabled only by a system administrator.
|
|
312
312
|
```
|
|
313
313
|
|
|
314
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
314
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/delete/bulk.ts)_
|
|
315
315
|
|
|
316
316
|
## `sf data delete record`
|
|
317
317
|
|
|
@@ -372,7 +372,7 @@ EXAMPLES
|
|
|
372
372
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
375
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/delete/record.ts)_
|
|
376
376
|
|
|
377
377
|
## `sf data delete resume`
|
|
378
378
|
|
|
@@ -411,7 +411,7 @@ EXAMPLES
|
|
|
411
411
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
412
412
|
```
|
|
413
413
|
|
|
414
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
414
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/delete/resume.ts)_
|
|
415
415
|
|
|
416
416
|
## `sf data export bulk`
|
|
417
417
|
|
|
@@ -485,7 +485,7 @@ EXAMPLES
|
|
|
485
485
|
--result-format json --async
|
|
486
486
|
```
|
|
487
487
|
|
|
488
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
488
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/export/bulk.ts)_
|
|
489
489
|
|
|
490
490
|
## `sf data export resume`
|
|
491
491
|
|
|
@@ -521,7 +521,7 @@ EXAMPLES
|
|
|
521
521
|
$ sf data export resume --use-most-recent --target-org my-scratch
|
|
522
522
|
```
|
|
523
523
|
|
|
524
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
524
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/export/resume.ts)_
|
|
525
525
|
|
|
526
526
|
## `sf data export tree`
|
|
527
527
|
|
|
@@ -581,7 +581,7 @@ EXAMPLES
|
|
|
581
581
|
my-scratch
|
|
582
582
|
```
|
|
583
583
|
|
|
584
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
584
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/export/tree.ts)_
|
|
585
585
|
|
|
586
586
|
## `sf data get record`
|
|
587
587
|
|
|
@@ -645,7 +645,7 @@ EXAMPLES
|
|
|
645
645
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
646
646
|
```
|
|
647
647
|
|
|
648
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
648
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/get/record.ts)_
|
|
649
649
|
|
|
650
650
|
## `sf data import bulk`
|
|
651
651
|
|
|
@@ -703,7 +703,7 @@ EXAMPLES
|
|
|
703
703
|
$ sf data import bulk --file accounts.csv --sobject Account --async
|
|
704
704
|
```
|
|
705
705
|
|
|
706
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
706
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/import/bulk.ts)_
|
|
707
707
|
|
|
708
708
|
## `sf data import resume`
|
|
709
709
|
|
|
@@ -739,7 +739,7 @@ EXAMPLES
|
|
|
739
739
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
740
740
|
```
|
|
741
741
|
|
|
742
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
742
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/import/resume.ts)_
|
|
743
743
|
|
|
744
744
|
## `sf data import tree`
|
|
745
745
|
|
|
@@ -803,7 +803,7 @@ FLAG DESCRIPTIONS
|
|
|
803
803
|
- files(array) - Files: An array of files paths to load
|
|
804
804
|
```
|
|
805
805
|
|
|
806
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
806
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/import/tree.ts)_
|
|
807
807
|
|
|
808
808
|
## `sf data query`
|
|
809
809
|
|
|
@@ -869,7 +869,7 @@ EXAMPLES
|
|
|
869
869
|
$ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
870
870
|
```
|
|
871
871
|
|
|
872
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
872
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/query.ts)_
|
|
873
873
|
|
|
874
874
|
## `sf data query resume`
|
|
875
875
|
|
|
@@ -906,7 +906,7 @@ EXAMPLES
|
|
|
906
906
|
$ sf data query resume --bulk-query-id 7500x000005BdFzXXX
|
|
907
907
|
```
|
|
908
908
|
|
|
909
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
909
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/query/resume.ts)_
|
|
910
910
|
|
|
911
911
|
## `sf data resume`
|
|
912
912
|
|
|
@@ -943,7 +943,7 @@ EXAMPLES
|
|
|
943
943
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
944
944
|
```
|
|
945
945
|
|
|
946
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
946
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/resume.ts)_
|
|
947
947
|
|
|
948
948
|
## `sf data search`
|
|
949
949
|
|
|
@@ -993,7 +993,7 @@ EXAMPLES
|
|
|
993
993
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
994
994
|
```
|
|
995
995
|
|
|
996
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
996
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/search.ts)_
|
|
997
997
|
|
|
998
998
|
## `sf data update bulk`
|
|
999
999
|
|
|
@@ -1054,7 +1054,7 @@ EXAMPLES
|
|
|
1054
1054
|
$ sf data update bulk --file accounts.csv --sobject Account --async
|
|
1055
1055
|
```
|
|
1056
1056
|
|
|
1057
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1057
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/update/bulk.ts)_
|
|
1058
1058
|
|
|
1059
1059
|
## `sf data update record`
|
|
1060
1060
|
|
|
@@ -1116,7 +1116,7 @@ EXAMPLES
|
|
|
1116
1116
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1117
1117
|
```
|
|
1118
1118
|
|
|
1119
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1119
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/update/record.ts)_
|
|
1120
1120
|
|
|
1121
1121
|
## `sf data update resume`
|
|
1122
1122
|
|
|
@@ -1152,7 +1152,7 @@ EXAMPLES
|
|
|
1152
1152
|
$ sf data update resume --use-most-recent --target-org my-scratch
|
|
1153
1153
|
```
|
|
1154
1154
|
|
|
1155
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1155
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/update/resume.ts)_
|
|
1156
1156
|
|
|
1157
1157
|
## `sf data upsert bulk`
|
|
1158
1158
|
|
|
@@ -1211,7 +1211,7 @@ EXAMPLES
|
|
|
1211
1211
|
my-scratch
|
|
1212
1212
|
```
|
|
1213
1213
|
|
|
1214
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1214
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/upsert/bulk.ts)_
|
|
1215
1215
|
|
|
1216
1216
|
## `sf data upsert resume`
|
|
1217
1217
|
|
|
@@ -1250,7 +1250,7 @@ EXAMPLES
|
|
|
1250
1250
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1251
1251
|
```
|
|
1252
1252
|
|
|
1253
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1253
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/data/upsert/resume.ts)_
|
|
1254
1254
|
|
|
1255
1255
|
## `sf force data bulk delete`
|
|
1256
1256
|
|
|
@@ -1297,7 +1297,7 @@ EXAMPLES
|
|
|
1297
1297
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1298
1298
|
```
|
|
1299
1299
|
|
|
1300
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1300
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/force/data/bulk/delete.ts)_
|
|
1301
1301
|
|
|
1302
1302
|
## `sf force data bulk status`
|
|
1303
1303
|
|
|
@@ -1334,7 +1334,7 @@ EXAMPLES
|
|
|
1334
1334
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1335
1335
|
```
|
|
1336
1336
|
|
|
1337
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1337
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/force/data/bulk/status.ts)_
|
|
1338
1338
|
|
|
1339
1339
|
## `sf force data bulk upsert`
|
|
1340
1340
|
|
|
@@ -1392,6 +1392,6 @@ EXAMPLES
|
|
|
1392
1392
|
--target-org my-scratch
|
|
1393
1393
|
```
|
|
1394
1394
|
|
|
1395
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1395
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.17/src/commands/force/data/bulk/upsert.ts)_
|
|
1396
1396
|
|
|
1397
1397
|
<!-- commandsstop -->
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import { Messages } from '@salesforce/core';
|
|
7
|
+
import { Messages, SfError } from '@salesforce/core';
|
|
8
8
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
9
|
+
import { ensureString, isObject } from '@salesforce/ts-types';
|
|
9
10
|
import { importFromPlan } from '../../../api/data/tree/importPlan.js';
|
|
10
11
|
import { importFromFiles } from '../../../api/data/tree/importFiles.js';
|
|
11
12
|
import { orgFlags } from '../../../flags.js';
|
|
@@ -42,19 +43,67 @@ export default class Import extends SfCommand {
|
|
|
42
43
|
async run() {
|
|
43
44
|
const { flags } = await this.parse(Import);
|
|
44
45
|
const conn = flags['target-org'].getConnection(flags['api-version']);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
46
|
+
try {
|
|
47
|
+
const results = flags.plan
|
|
48
|
+
? await importFromPlan(conn, flags.plan)
|
|
49
|
+
: await importFromFiles(conn, flags.files ?? []);
|
|
50
|
+
this.table({
|
|
51
|
+
data: results,
|
|
52
|
+
columns: [
|
|
53
|
+
{ key: 'refId', name: 'Reference ID' },
|
|
54
|
+
{ key: 'type', name: 'Type' },
|
|
55
|
+
{ key: 'id', name: 'ID' },
|
|
56
|
+
],
|
|
57
|
+
title: 'Import Results',
|
|
58
|
+
});
|
|
59
|
+
return results;
|
|
60
|
+
}
|
|
61
|
+
catch (err) {
|
|
62
|
+
const error = err;
|
|
63
|
+
if (error.cause &&
|
|
64
|
+
error.cause instanceof Error &&
|
|
65
|
+
'data' in error.cause &&
|
|
66
|
+
isObject(error.cause.data) &&
|
|
67
|
+
'message' in error.cause.data) {
|
|
68
|
+
const getTreeResponse = (payload) => {
|
|
69
|
+
try {
|
|
70
|
+
return JSON.parse(payload);
|
|
71
|
+
}
|
|
72
|
+
catch (parseErr) {
|
|
73
|
+
// throw original error on invalid JSON payload
|
|
74
|
+
if (parseErr instanceof Error && parseErr.name === 'SyntaxError') {
|
|
75
|
+
throw error;
|
|
76
|
+
}
|
|
77
|
+
throw parseErr;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const errorData = getTreeResponse(ensureString(error.cause.data.message));
|
|
81
|
+
if (errorData.hasErrors) {
|
|
82
|
+
const errorResults = errorData.results
|
|
83
|
+
.map((result) => result.errors.map((errors) => ({
|
|
84
|
+
referenceId: result.referenceId,
|
|
85
|
+
StatusCode: errors.statusCode,
|
|
86
|
+
Message: errors.message,
|
|
87
|
+
fields: errors.fields.join(', ') || 'N/A',
|
|
88
|
+
})))
|
|
89
|
+
.flat();
|
|
90
|
+
this.table({
|
|
91
|
+
data: errorResults,
|
|
92
|
+
columns: [
|
|
93
|
+
{ key: 'referenceId', name: 'Reference ID' },
|
|
94
|
+
{ key: 'StatusCode', name: 'Status Code' },
|
|
95
|
+
{ key: 'Message', name: 'Error Message' },
|
|
96
|
+
{ key: 'fields', name: 'Fields' },
|
|
97
|
+
],
|
|
98
|
+
title: 'Tree import errors',
|
|
99
|
+
});
|
|
100
|
+
const errors = new SfError('Data Import failed');
|
|
101
|
+
errors.setData(errorResults);
|
|
102
|
+
throw errors;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
58
107
|
}
|
|
59
108
|
}
|
|
60
109
|
//# sourceMappingURL=tree.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../src/commands/data/import/tree.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../src/commands/data/import/tree.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO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BACjD,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;oBAC7B,MAAM,MAAM,CAAC;gBACf,CAAC;YACH,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1812,6 +1812,256 @@
|
|
|
1812
1812
|
"record:get:data"
|
|
1813
1813
|
]
|
|
1814
1814
|
},
|
|
1815
|
+
"data:query:resume": {
|
|
1816
|
+
"aliases": [
|
|
1817
|
+
"force:data:soql:bulk:report"
|
|
1818
|
+
],
|
|
1819
|
+
"args": {},
|
|
1820
|
+
"deprecateAliases": true,
|
|
1821
|
+
"deprecationOptions": {
|
|
1822
|
+
"message": "Bulk mode for \"data query\" is deprecated, this command will be removed after April 2025.\nUse \"data export bulk | data export resume\" for bulk queries instead.\n"
|
|
1823
|
+
},
|
|
1824
|
+
"description": "Run this command using the job ID returned from the \"<%= config.bin %> data query --bulk\" command.",
|
|
1825
|
+
"examples": [
|
|
1826
|
+
"View the status of a bulk query with the specified ID:\n<%= config.bin %> <%= command.id %> --bulk-query-id 7500x000005BdFzXXX"
|
|
1827
|
+
],
|
|
1828
|
+
"flags": {
|
|
1829
|
+
"json": {
|
|
1830
|
+
"description": "Format output as json.",
|
|
1831
|
+
"helpGroup": "GLOBAL",
|
|
1832
|
+
"name": "json",
|
|
1833
|
+
"allowNo": false,
|
|
1834
|
+
"type": "boolean"
|
|
1835
|
+
},
|
|
1836
|
+
"flags-dir": {
|
|
1837
|
+
"helpGroup": "GLOBAL",
|
|
1838
|
+
"name": "flags-dir",
|
|
1839
|
+
"summary": "Import flag values from a directory.",
|
|
1840
|
+
"hasDynamicHelp": false,
|
|
1841
|
+
"multiple": false,
|
|
1842
|
+
"type": "option"
|
|
1843
|
+
},
|
|
1844
|
+
"target-org": {
|
|
1845
|
+
"aliases": [
|
|
1846
|
+
"targetusername",
|
|
1847
|
+
"u"
|
|
1848
|
+
],
|
|
1849
|
+
"char": "o",
|
|
1850
|
+
"deprecateAliases": true,
|
|
1851
|
+
"name": "target-org",
|
|
1852
|
+
"noCacheDefault": true,
|
|
1853
|
+
"summary": "Username or alias of the target org.",
|
|
1854
|
+
"hasDynamicHelp": true,
|
|
1855
|
+
"multiple": false,
|
|
1856
|
+
"type": "option"
|
|
1857
|
+
},
|
|
1858
|
+
"api-version": {
|
|
1859
|
+
"aliases": [
|
|
1860
|
+
"apiversion"
|
|
1861
|
+
],
|
|
1862
|
+
"deprecateAliases": true,
|
|
1863
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1864
|
+
"name": "api-version",
|
|
1865
|
+
"hasDynamicHelp": false,
|
|
1866
|
+
"multiple": false,
|
|
1867
|
+
"type": "option"
|
|
1868
|
+
},
|
|
1869
|
+
"loglevel": {
|
|
1870
|
+
"deprecated": {
|
|
1871
|
+
"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."
|
|
1872
|
+
},
|
|
1873
|
+
"hidden": true,
|
|
1874
|
+
"name": "loglevel",
|
|
1875
|
+
"hasDynamicHelp": false,
|
|
1876
|
+
"multiple": false,
|
|
1877
|
+
"type": "option"
|
|
1878
|
+
},
|
|
1879
|
+
"result-format": {
|
|
1880
|
+
"aliases": [
|
|
1881
|
+
"resultformat"
|
|
1882
|
+
],
|
|
1883
|
+
"char": "r",
|
|
1884
|
+
"deprecateAliases": true,
|
|
1885
|
+
"name": "result-format",
|
|
1886
|
+
"summary": "Format to display the results; the --json flag overrides this flag.",
|
|
1887
|
+
"default": "human",
|
|
1888
|
+
"hasDynamicHelp": false,
|
|
1889
|
+
"multiple": false,
|
|
1890
|
+
"options": [
|
|
1891
|
+
"human",
|
|
1892
|
+
"csv",
|
|
1893
|
+
"json"
|
|
1894
|
+
],
|
|
1895
|
+
"type": "option"
|
|
1896
|
+
},
|
|
1897
|
+
"bulk-query-id": {
|
|
1898
|
+
"aliases": [
|
|
1899
|
+
"bulkqueryid"
|
|
1900
|
+
],
|
|
1901
|
+
"char": "i",
|
|
1902
|
+
"deprecateAliases": true,
|
|
1903
|
+
"name": "bulk-query-id",
|
|
1904
|
+
"summary": "Job ID of the bulk query.",
|
|
1905
|
+
"hasDynamicHelp": false,
|
|
1906
|
+
"multiple": false,
|
|
1907
|
+
"type": "option"
|
|
1908
|
+
},
|
|
1909
|
+
"use-most-recent": {
|
|
1910
|
+
"name": "use-most-recent",
|
|
1911
|
+
"summary": "Use the most recent bulk query ID from cache.",
|
|
1912
|
+
"allowNo": false,
|
|
1913
|
+
"type": "boolean"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
"hasDynamicHelp": true,
|
|
1917
|
+
"hiddenAliases": [],
|
|
1918
|
+
"id": "data:query:resume",
|
|
1919
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
1920
|
+
"pluginName": "@salesforce/plugin-data",
|
|
1921
|
+
"pluginType": "core",
|
|
1922
|
+
"state": "deprecated",
|
|
1923
|
+
"strict": true,
|
|
1924
|
+
"summary": "View the status of a bulk query.",
|
|
1925
|
+
"enableJsonFlag": true,
|
|
1926
|
+
"isESM": true,
|
|
1927
|
+
"relativePath": [
|
|
1928
|
+
"lib",
|
|
1929
|
+
"commands",
|
|
1930
|
+
"data",
|
|
1931
|
+
"query",
|
|
1932
|
+
"resume.js"
|
|
1933
|
+
],
|
|
1934
|
+
"aliasPermutations": [
|
|
1935
|
+
"force:data:soql:bulk:report",
|
|
1936
|
+
"data:force:soql:bulk:report",
|
|
1937
|
+
"data:soql:force:bulk:report",
|
|
1938
|
+
"data:soql:bulk:force:report",
|
|
1939
|
+
"data:soql:bulk:report:force",
|
|
1940
|
+
"force:soql:data:bulk:report",
|
|
1941
|
+
"soql:force:data:bulk:report",
|
|
1942
|
+
"soql:data:force:bulk:report",
|
|
1943
|
+
"soql:data:bulk:force:report",
|
|
1944
|
+
"soql:data:bulk:report:force",
|
|
1945
|
+
"force:soql:bulk:data:report",
|
|
1946
|
+
"soql:force:bulk:data:report",
|
|
1947
|
+
"soql:bulk:force:data:report",
|
|
1948
|
+
"soql:bulk:data:force:report",
|
|
1949
|
+
"soql:bulk:data:report:force",
|
|
1950
|
+
"force:soql:bulk:report:data",
|
|
1951
|
+
"soql:force:bulk:report:data",
|
|
1952
|
+
"soql:bulk:force:report:data",
|
|
1953
|
+
"soql:bulk:report:force:data",
|
|
1954
|
+
"soql:bulk:report:data:force",
|
|
1955
|
+
"force:data:bulk:soql:report",
|
|
1956
|
+
"data:force:bulk:soql:report",
|
|
1957
|
+
"data:bulk:force:soql:report",
|
|
1958
|
+
"data:bulk:soql:force:report",
|
|
1959
|
+
"data:bulk:soql:report:force",
|
|
1960
|
+
"force:bulk:data:soql:report",
|
|
1961
|
+
"bulk:force:data:soql:report",
|
|
1962
|
+
"bulk:data:force:soql:report",
|
|
1963
|
+
"bulk:data:soql:force:report",
|
|
1964
|
+
"bulk:data:soql:report:force",
|
|
1965
|
+
"force:bulk:soql:data:report",
|
|
1966
|
+
"bulk:force:soql:data:report",
|
|
1967
|
+
"bulk:soql:force:data:report",
|
|
1968
|
+
"bulk:soql:data:force:report",
|
|
1969
|
+
"bulk:soql:data:report:force",
|
|
1970
|
+
"force:bulk:soql:report:data",
|
|
1971
|
+
"bulk:force:soql:report:data",
|
|
1972
|
+
"bulk:soql:force:report:data",
|
|
1973
|
+
"bulk:soql:report:force:data",
|
|
1974
|
+
"bulk:soql:report:data:force",
|
|
1975
|
+
"force:data:bulk:report:soql",
|
|
1976
|
+
"data:force:bulk:report:soql",
|
|
1977
|
+
"data:bulk:force:report:soql",
|
|
1978
|
+
"data:bulk:report:force:soql",
|
|
1979
|
+
"data:bulk:report:soql:force",
|
|
1980
|
+
"force:bulk:data:report:soql",
|
|
1981
|
+
"bulk:force:data:report:soql",
|
|
1982
|
+
"bulk:data:force:report:soql",
|
|
1983
|
+
"bulk:data:report:force:soql",
|
|
1984
|
+
"bulk:data:report:soql:force",
|
|
1985
|
+
"force:bulk:report:data:soql",
|
|
1986
|
+
"bulk:force:report:data:soql",
|
|
1987
|
+
"bulk:report:force:data:soql",
|
|
1988
|
+
"bulk:report:data:force:soql",
|
|
1989
|
+
"bulk:report:data:soql:force",
|
|
1990
|
+
"force:bulk:report:soql:data",
|
|
1991
|
+
"bulk:force:report:soql:data",
|
|
1992
|
+
"bulk:report:force:soql:data",
|
|
1993
|
+
"bulk:report:soql:force:data",
|
|
1994
|
+
"bulk:report:soql:data:force",
|
|
1995
|
+
"force:data:soql:report:bulk",
|
|
1996
|
+
"data:force:soql:report:bulk",
|
|
1997
|
+
"data:soql:force:report:bulk",
|
|
1998
|
+
"data:soql:report:force:bulk",
|
|
1999
|
+
"data:soql:report:bulk:force",
|
|
2000
|
+
"force:soql:data:report:bulk",
|
|
2001
|
+
"soql:force:data:report:bulk",
|
|
2002
|
+
"soql:data:force:report:bulk",
|
|
2003
|
+
"soql:data:report:force:bulk",
|
|
2004
|
+
"soql:data:report:bulk:force",
|
|
2005
|
+
"force:soql:report:data:bulk",
|
|
2006
|
+
"soql:force:report:data:bulk",
|
|
2007
|
+
"soql:report:force:data:bulk",
|
|
2008
|
+
"soql:report:data:force:bulk",
|
|
2009
|
+
"soql:report:data:bulk:force",
|
|
2010
|
+
"force:soql:report:bulk:data",
|
|
2011
|
+
"soql:force:report:bulk:data",
|
|
2012
|
+
"soql:report:force:bulk:data",
|
|
2013
|
+
"soql:report:bulk:force:data",
|
|
2014
|
+
"soql:report:bulk:data:force",
|
|
2015
|
+
"force:data:report:soql:bulk",
|
|
2016
|
+
"data:force:report:soql:bulk",
|
|
2017
|
+
"data:report:force:soql:bulk",
|
|
2018
|
+
"data:report:soql:force:bulk",
|
|
2019
|
+
"data:report:soql:bulk:force",
|
|
2020
|
+
"force:report:data:soql:bulk",
|
|
2021
|
+
"report:force:data:soql:bulk",
|
|
2022
|
+
"report:data:force:soql:bulk",
|
|
2023
|
+
"report:data:soql:force:bulk",
|
|
2024
|
+
"report:data:soql:bulk:force",
|
|
2025
|
+
"force:report:soql:data:bulk",
|
|
2026
|
+
"report:force:soql:data:bulk",
|
|
2027
|
+
"report:soql:force:data:bulk",
|
|
2028
|
+
"report:soql:data:force:bulk",
|
|
2029
|
+
"report:soql:data:bulk:force",
|
|
2030
|
+
"force:report:soql:bulk:data",
|
|
2031
|
+
"report:force:soql:bulk:data",
|
|
2032
|
+
"report:soql:force:bulk:data",
|
|
2033
|
+
"report:soql:bulk:force:data",
|
|
2034
|
+
"report:soql:bulk:data:force",
|
|
2035
|
+
"force:data:report:bulk:soql",
|
|
2036
|
+
"data:force:report:bulk:soql",
|
|
2037
|
+
"data:report:force:bulk:soql",
|
|
2038
|
+
"data:report:bulk:force:soql",
|
|
2039
|
+
"data:report:bulk:soql:force",
|
|
2040
|
+
"force:report:data:bulk:soql",
|
|
2041
|
+
"report:force:data:bulk:soql",
|
|
2042
|
+
"report:data:force:bulk:soql",
|
|
2043
|
+
"report:data:bulk:force:soql",
|
|
2044
|
+
"report:data:bulk:soql:force",
|
|
2045
|
+
"force:report:bulk:data:soql",
|
|
2046
|
+
"report:force:bulk:data:soql",
|
|
2047
|
+
"report:bulk:force:data:soql",
|
|
2048
|
+
"report:bulk:data:force:soql",
|
|
2049
|
+
"report:bulk:data:soql:force",
|
|
2050
|
+
"force:report:bulk:soql:data",
|
|
2051
|
+
"report:force:bulk:soql:data",
|
|
2052
|
+
"report:bulk:force:soql:data",
|
|
2053
|
+
"report:bulk:soql:force:data",
|
|
2054
|
+
"report:bulk:soql:data:force"
|
|
2055
|
+
],
|
|
2056
|
+
"permutations": [
|
|
2057
|
+
"data:query:resume",
|
|
2058
|
+
"query:data:resume",
|
|
2059
|
+
"query:resume:data",
|
|
2060
|
+
"data:resume:query",
|
|
2061
|
+
"resume:data:query",
|
|
2062
|
+
"resume:query:data"
|
|
2063
|
+
]
|
|
2064
|
+
},
|
|
1815
2065
|
"data:import:bulk": {
|
|
1816
2066
|
"aliases": [],
|
|
1817
2067
|
"args": {},
|
|
@@ -2162,256 +2412,6 @@
|
|
|
2162
2412
|
"tree:import:data"
|
|
2163
2413
|
]
|
|
2164
2414
|
},
|
|
2165
|
-
"data:query:resume": {
|
|
2166
|
-
"aliases": [
|
|
2167
|
-
"force:data:soql:bulk:report"
|
|
2168
|
-
],
|
|
2169
|
-
"args": {},
|
|
2170
|
-
"deprecateAliases": true,
|
|
2171
|
-
"deprecationOptions": {
|
|
2172
|
-
"message": "Bulk mode for \"data query\" is deprecated, this command will be removed after April 2025.\nUse \"data export bulk | data export resume\" for bulk queries instead.\n"
|
|
2173
|
-
},
|
|
2174
|
-
"description": "Run this command using the job ID returned from the \"<%= config.bin %> data query --bulk\" command.",
|
|
2175
|
-
"examples": [
|
|
2176
|
-
"View the status of a bulk query with the specified ID:\n<%= config.bin %> <%= command.id %> --bulk-query-id 7500x000005BdFzXXX"
|
|
2177
|
-
],
|
|
2178
|
-
"flags": {
|
|
2179
|
-
"json": {
|
|
2180
|
-
"description": "Format output as json.",
|
|
2181
|
-
"helpGroup": "GLOBAL",
|
|
2182
|
-
"name": "json",
|
|
2183
|
-
"allowNo": false,
|
|
2184
|
-
"type": "boolean"
|
|
2185
|
-
},
|
|
2186
|
-
"flags-dir": {
|
|
2187
|
-
"helpGroup": "GLOBAL",
|
|
2188
|
-
"name": "flags-dir",
|
|
2189
|
-
"summary": "Import flag values from a directory.",
|
|
2190
|
-
"hasDynamicHelp": false,
|
|
2191
|
-
"multiple": false,
|
|
2192
|
-
"type": "option"
|
|
2193
|
-
},
|
|
2194
|
-
"target-org": {
|
|
2195
|
-
"aliases": [
|
|
2196
|
-
"targetusername",
|
|
2197
|
-
"u"
|
|
2198
|
-
],
|
|
2199
|
-
"char": "o",
|
|
2200
|
-
"deprecateAliases": true,
|
|
2201
|
-
"name": "target-org",
|
|
2202
|
-
"noCacheDefault": true,
|
|
2203
|
-
"summary": "Username or alias of the target org.",
|
|
2204
|
-
"hasDynamicHelp": true,
|
|
2205
|
-
"multiple": false,
|
|
2206
|
-
"type": "option"
|
|
2207
|
-
},
|
|
2208
|
-
"api-version": {
|
|
2209
|
-
"aliases": [
|
|
2210
|
-
"apiversion"
|
|
2211
|
-
],
|
|
2212
|
-
"deprecateAliases": true,
|
|
2213
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2214
|
-
"name": "api-version",
|
|
2215
|
-
"hasDynamicHelp": false,
|
|
2216
|
-
"multiple": false,
|
|
2217
|
-
"type": "option"
|
|
2218
|
-
},
|
|
2219
|
-
"loglevel": {
|
|
2220
|
-
"deprecated": {
|
|
2221
|
-
"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."
|
|
2222
|
-
},
|
|
2223
|
-
"hidden": true,
|
|
2224
|
-
"name": "loglevel",
|
|
2225
|
-
"hasDynamicHelp": false,
|
|
2226
|
-
"multiple": false,
|
|
2227
|
-
"type": "option"
|
|
2228
|
-
},
|
|
2229
|
-
"result-format": {
|
|
2230
|
-
"aliases": [
|
|
2231
|
-
"resultformat"
|
|
2232
|
-
],
|
|
2233
|
-
"char": "r",
|
|
2234
|
-
"deprecateAliases": true,
|
|
2235
|
-
"name": "result-format",
|
|
2236
|
-
"summary": "Format to display the results; the --json flag overrides this flag.",
|
|
2237
|
-
"default": "human",
|
|
2238
|
-
"hasDynamicHelp": false,
|
|
2239
|
-
"multiple": false,
|
|
2240
|
-
"options": [
|
|
2241
|
-
"human",
|
|
2242
|
-
"csv",
|
|
2243
|
-
"json"
|
|
2244
|
-
],
|
|
2245
|
-
"type": "option"
|
|
2246
|
-
},
|
|
2247
|
-
"bulk-query-id": {
|
|
2248
|
-
"aliases": [
|
|
2249
|
-
"bulkqueryid"
|
|
2250
|
-
],
|
|
2251
|
-
"char": "i",
|
|
2252
|
-
"deprecateAliases": true,
|
|
2253
|
-
"name": "bulk-query-id",
|
|
2254
|
-
"summary": "Job ID of the bulk query.",
|
|
2255
|
-
"hasDynamicHelp": false,
|
|
2256
|
-
"multiple": false,
|
|
2257
|
-
"type": "option"
|
|
2258
|
-
},
|
|
2259
|
-
"use-most-recent": {
|
|
2260
|
-
"name": "use-most-recent",
|
|
2261
|
-
"summary": "Use the most recent bulk query ID from cache.",
|
|
2262
|
-
"allowNo": false,
|
|
2263
|
-
"type": "boolean"
|
|
2264
|
-
}
|
|
2265
|
-
},
|
|
2266
|
-
"hasDynamicHelp": true,
|
|
2267
|
-
"hiddenAliases": [],
|
|
2268
|
-
"id": "data:query:resume",
|
|
2269
|
-
"pluginAlias": "@salesforce/plugin-data",
|
|
2270
|
-
"pluginName": "@salesforce/plugin-data",
|
|
2271
|
-
"pluginType": "core",
|
|
2272
|
-
"state": "deprecated",
|
|
2273
|
-
"strict": true,
|
|
2274
|
-
"summary": "View the status of a bulk query.",
|
|
2275
|
-
"enableJsonFlag": true,
|
|
2276
|
-
"isESM": true,
|
|
2277
|
-
"relativePath": [
|
|
2278
|
-
"lib",
|
|
2279
|
-
"commands",
|
|
2280
|
-
"data",
|
|
2281
|
-
"query",
|
|
2282
|
-
"resume.js"
|
|
2283
|
-
],
|
|
2284
|
-
"aliasPermutations": [
|
|
2285
|
-
"force:data:soql:bulk:report",
|
|
2286
|
-
"data:force:soql:bulk:report",
|
|
2287
|
-
"data:soql:force:bulk:report",
|
|
2288
|
-
"data:soql:bulk:force:report",
|
|
2289
|
-
"data:soql:bulk:report:force",
|
|
2290
|
-
"force:soql:data:bulk:report",
|
|
2291
|
-
"soql:force:data:bulk:report",
|
|
2292
|
-
"soql:data:force:bulk:report",
|
|
2293
|
-
"soql:data:bulk:force:report",
|
|
2294
|
-
"soql:data:bulk:report:force",
|
|
2295
|
-
"force:soql:bulk:data:report",
|
|
2296
|
-
"soql:force:bulk:data:report",
|
|
2297
|
-
"soql:bulk:force:data:report",
|
|
2298
|
-
"soql:bulk:data:force:report",
|
|
2299
|
-
"soql:bulk:data:report:force",
|
|
2300
|
-
"force:soql:bulk:report:data",
|
|
2301
|
-
"soql:force:bulk:report:data",
|
|
2302
|
-
"soql:bulk:force:report:data",
|
|
2303
|
-
"soql:bulk:report:force:data",
|
|
2304
|
-
"soql:bulk:report:data:force",
|
|
2305
|
-
"force:data:bulk:soql:report",
|
|
2306
|
-
"data:force:bulk:soql:report",
|
|
2307
|
-
"data:bulk:force:soql:report",
|
|
2308
|
-
"data:bulk:soql:force:report",
|
|
2309
|
-
"data:bulk:soql:report:force",
|
|
2310
|
-
"force:bulk:data:soql:report",
|
|
2311
|
-
"bulk:force:data:soql:report",
|
|
2312
|
-
"bulk:data:force:soql:report",
|
|
2313
|
-
"bulk:data:soql:force:report",
|
|
2314
|
-
"bulk:data:soql:report:force",
|
|
2315
|
-
"force:bulk:soql:data:report",
|
|
2316
|
-
"bulk:force:soql:data:report",
|
|
2317
|
-
"bulk:soql:force:data:report",
|
|
2318
|
-
"bulk:soql:data:force:report",
|
|
2319
|
-
"bulk:soql:data:report:force",
|
|
2320
|
-
"force:bulk:soql:report:data",
|
|
2321
|
-
"bulk:force:soql:report:data",
|
|
2322
|
-
"bulk:soql:force:report:data",
|
|
2323
|
-
"bulk:soql:report:force:data",
|
|
2324
|
-
"bulk:soql:report:data:force",
|
|
2325
|
-
"force:data:bulk:report:soql",
|
|
2326
|
-
"data:force:bulk:report:soql",
|
|
2327
|
-
"data:bulk:force:report:soql",
|
|
2328
|
-
"data:bulk:report:force:soql",
|
|
2329
|
-
"data:bulk:report:soql:force",
|
|
2330
|
-
"force:bulk:data:report:soql",
|
|
2331
|
-
"bulk:force:data:report:soql",
|
|
2332
|
-
"bulk:data:force:report:soql",
|
|
2333
|
-
"bulk:data:report:force:soql",
|
|
2334
|
-
"bulk:data:report:soql:force",
|
|
2335
|
-
"force:bulk:report:data:soql",
|
|
2336
|
-
"bulk:force:report:data:soql",
|
|
2337
|
-
"bulk:report:force:data:soql",
|
|
2338
|
-
"bulk:report:data:force:soql",
|
|
2339
|
-
"bulk:report:data:soql:force",
|
|
2340
|
-
"force:bulk:report:soql:data",
|
|
2341
|
-
"bulk:force:report:soql:data",
|
|
2342
|
-
"bulk:report:force:soql:data",
|
|
2343
|
-
"bulk:report:soql:force:data",
|
|
2344
|
-
"bulk:report:soql:data:force",
|
|
2345
|
-
"force:data:soql:report:bulk",
|
|
2346
|
-
"data:force:soql:report:bulk",
|
|
2347
|
-
"data:soql:force:report:bulk",
|
|
2348
|
-
"data:soql:report:force:bulk",
|
|
2349
|
-
"data:soql:report:bulk:force",
|
|
2350
|
-
"force:soql:data:report:bulk",
|
|
2351
|
-
"soql:force:data:report:bulk",
|
|
2352
|
-
"soql:data:force:report:bulk",
|
|
2353
|
-
"soql:data:report:force:bulk",
|
|
2354
|
-
"soql:data:report:bulk:force",
|
|
2355
|
-
"force:soql:report:data:bulk",
|
|
2356
|
-
"soql:force:report:data:bulk",
|
|
2357
|
-
"soql:report:force:data:bulk",
|
|
2358
|
-
"soql:report:data:force:bulk",
|
|
2359
|
-
"soql:report:data:bulk:force",
|
|
2360
|
-
"force:soql:report:bulk:data",
|
|
2361
|
-
"soql:force:report:bulk:data",
|
|
2362
|
-
"soql:report:force:bulk:data",
|
|
2363
|
-
"soql:report:bulk:force:data",
|
|
2364
|
-
"soql:report:bulk:data:force",
|
|
2365
|
-
"force:data:report:soql:bulk",
|
|
2366
|
-
"data:force:report:soql:bulk",
|
|
2367
|
-
"data:report:force:soql:bulk",
|
|
2368
|
-
"data:report:soql:force:bulk",
|
|
2369
|
-
"data:report:soql:bulk:force",
|
|
2370
|
-
"force:report:data:soql:bulk",
|
|
2371
|
-
"report:force:data:soql:bulk",
|
|
2372
|
-
"report:data:force:soql:bulk",
|
|
2373
|
-
"report:data:soql:force:bulk",
|
|
2374
|
-
"report:data:soql:bulk:force",
|
|
2375
|
-
"force:report:soql:data:bulk",
|
|
2376
|
-
"report:force:soql:data:bulk",
|
|
2377
|
-
"report:soql:force:data:bulk",
|
|
2378
|
-
"report:soql:data:force:bulk",
|
|
2379
|
-
"report:soql:data:bulk:force",
|
|
2380
|
-
"force:report:soql:bulk:data",
|
|
2381
|
-
"report:force:soql:bulk:data",
|
|
2382
|
-
"report:soql:force:bulk:data",
|
|
2383
|
-
"report:soql:bulk:force:data",
|
|
2384
|
-
"report:soql:bulk:data:force",
|
|
2385
|
-
"force:data:report:bulk:soql",
|
|
2386
|
-
"data:force:report:bulk:soql",
|
|
2387
|
-
"data:report:force:bulk:soql",
|
|
2388
|
-
"data:report:bulk:force:soql",
|
|
2389
|
-
"data:report:bulk:soql:force",
|
|
2390
|
-
"force:report:data:bulk:soql",
|
|
2391
|
-
"report:force:data:bulk:soql",
|
|
2392
|
-
"report:data:force:bulk:soql",
|
|
2393
|
-
"report:data:bulk:force:soql",
|
|
2394
|
-
"report:data:bulk:soql:force",
|
|
2395
|
-
"force:report:bulk:data:soql",
|
|
2396
|
-
"report:force:bulk:data:soql",
|
|
2397
|
-
"report:bulk:force:data:soql",
|
|
2398
|
-
"report:bulk:data:force:soql",
|
|
2399
|
-
"report:bulk:data:soql:force",
|
|
2400
|
-
"force:report:bulk:soql:data",
|
|
2401
|
-
"report:force:bulk:soql:data",
|
|
2402
|
-
"report:bulk:force:soql:data",
|
|
2403
|
-
"report:bulk:soql:force:data",
|
|
2404
|
-
"report:bulk:soql:data:force"
|
|
2405
|
-
],
|
|
2406
|
-
"permutations": [
|
|
2407
|
-
"data:query:resume",
|
|
2408
|
-
"query:data:resume",
|
|
2409
|
-
"query:resume:data",
|
|
2410
|
-
"data:resume:query",
|
|
2411
|
-
"resume:data:query",
|
|
2412
|
-
"resume:query:data"
|
|
2413
|
-
]
|
|
2414
|
-
},
|
|
2415
2415
|
"data:update:bulk": {
|
|
2416
2416
|
"aliases": [],
|
|
2417
2417
|
"args": {},
|
|
@@ -3535,5 +3535,5 @@
|
|
|
3535
3535
|
]
|
|
3536
3536
|
}
|
|
3537
3537
|
},
|
|
3538
|
-
"version": "4.0.
|
|
3538
|
+
"version": "4.0.17"
|
|
3539
3539
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.17",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -105,15 +105,15 @@
|
|
|
105
105
|
"prepare": "sf-install",
|
|
106
106
|
"test": "wireit",
|
|
107
107
|
"test:nuts": "nyc mocha \"./test/**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
108
|
-
"test:nuts:bulk:import": "nyc mocha \"./test/commands/data/import/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
109
108
|
"test:nuts:bulk:export": "nyc mocha \"./test/commands/data/export/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
109
|
+
"test:nuts:bulk:import": "nyc mocha \"./test/commands/data/import/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
110
110
|
"test:nuts:bulk:update": "nyc mocha \"./test/commands/data/update/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
111
|
-
"test:nuts:data:
|
|
111
|
+
"test:nuts:data:bulk-upsert-delete": "nyc mocha \"./test/commands/data/dataBulk.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
112
|
+
"test:nuts:data:create": "nyc mocha \"./test/commands/data/create/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
112
113
|
"test:nuts:data:query": "nyc mocha \"./test/commands/data/query/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
113
114
|
"test:nuts:data:record": "nyc mocha \"./test/commands/data/record/dataRecord.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
114
115
|
"test:nuts:data:search": "nyc mocha \"./test/commands/data/search.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
115
|
-
"test:nuts:data:
|
|
116
|
-
"test:nuts:data:bulk-upsert-delete": "nyc mocha \"./test/commands/data/dataBulk.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
116
|
+
"test:nuts:data:tree": "nyc mocha \"./test/commands/data/tree/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
117
117
|
"test:nuts:force:data:bulk-upsert-delete-status": "nyc mocha \"./test/commands/force/data/bulk/dataBulk.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
|
|
118
118
|
"test:only": "wireit",
|
|
119
119
|
"version": "oclif readme"
|
|
@@ -129,18 +129,18 @@
|
|
|
129
129
|
"change-case": "^5.4.4",
|
|
130
130
|
"csv-parse": "^5.6.0",
|
|
131
131
|
"csv-stringify": "^6.5.2",
|
|
132
|
-
"form-data": "^4.0.
|
|
132
|
+
"form-data": "^4.0.2",
|
|
133
133
|
"terminal-link": "^3.0.0"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
|
-
"@oclif/core": "^4.2.
|
|
137
|
-
"@oclif/plugin-command-snapshot": "^5.2.
|
|
136
|
+
"@oclif/core": "^4.2.8",
|
|
137
|
+
"@oclif/plugin-command-snapshot": "^5.2.36",
|
|
138
138
|
"@oclif/test": "^4.1.11",
|
|
139
139
|
"@salesforce/cli-plugins-testkit": "^5.3.39",
|
|
140
|
-
"@salesforce/dev-scripts": "^10.2.
|
|
140
|
+
"@salesforce/dev-scripts": "^10.2.12",
|
|
141
141
|
"@salesforce/plugin-command-reference": "^3.1.38",
|
|
142
142
|
"@salesforce/types": "^1.3.0",
|
|
143
|
-
"eslint-plugin-sf-plugin": "^1.20.
|
|
143
|
+
"eslint-plugin-sf-plugin": "^1.20.15",
|
|
144
144
|
"oclif": "^4.17.28",
|
|
145
145
|
"ts-node": "^10.9.2",
|
|
146
146
|
"typescript": "^5.7.3"
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
"output": []
|
|
255
255
|
},
|
|
256
256
|
"link-check": {
|
|
257
|
-
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
257
|
+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
258
258
|
"files": [
|
|
259
259
|
"./*.md",
|
|
260
260
|
"./!(CHANGELOG).md",
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"exports": "./lib/index.js",
|
|
267
267
|
"type": "module",
|
|
268
268
|
"sfdx": {
|
|
269
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
270
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
269
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.17.crt",
|
|
270
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.17.sig"
|
|
271
271
|
}
|
|
272
272
|
}
|