@simplysf/simply-data 2.1.0 → 2.1.8
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 +9 -7
- package/lib/commands/simply/data/files/upload.js +3 -3
- package/lib/commands/simply/data/files/upload.js.map +1 -1
- package/package.json +34 -35
- package/npm-shrinkwrap.json +0 -16604
- package/oclif.lock +0 -8656
- package/oclif.manifest.json +0 -327
package/oclif.manifest.json
DELETED
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"commands": {
|
|
3
|
-
"simply:data:file:upload": {
|
|
4
|
-
"aliases": [],
|
|
5
|
-
"args": {},
|
|
6
|
-
"description": "Uploads a file to a Salesforce org.",
|
|
7
|
-
"examples": [
|
|
8
|
-
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --target-org myTargetOrg",
|
|
9
|
-
"<%= config.bin %> <%= command.id %> --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg"
|
|
10
|
-
],
|
|
11
|
-
"flags": {
|
|
12
|
-
"json": {
|
|
13
|
-
"description": "Format output as json.",
|
|
14
|
-
"helpGroup": "GLOBAL",
|
|
15
|
-
"name": "json",
|
|
16
|
-
"allowNo": false,
|
|
17
|
-
"type": "boolean"
|
|
18
|
-
},
|
|
19
|
-
"flags-dir": {
|
|
20
|
-
"helpGroup": "GLOBAL",
|
|
21
|
-
"name": "flags-dir",
|
|
22
|
-
"summary": "Import flag values from a directory.",
|
|
23
|
-
"hasDynamicHelp": false,
|
|
24
|
-
"multiple": false,
|
|
25
|
-
"type": "option"
|
|
26
|
-
},
|
|
27
|
-
"api-version": {
|
|
28
|
-
"description": "Override the api version used for api requests made by this command",
|
|
29
|
-
"name": "api-version",
|
|
30
|
-
"hasDynamicHelp": false,
|
|
31
|
-
"multiple": false,
|
|
32
|
-
"type": "option"
|
|
33
|
-
},
|
|
34
|
-
"file-path": {
|
|
35
|
-
"name": "file-path",
|
|
36
|
-
"required": true,
|
|
37
|
-
"summary": "Path to the file to upload.",
|
|
38
|
-
"hasDynamicHelp": false,
|
|
39
|
-
"multiple": false,
|
|
40
|
-
"type": "option"
|
|
41
|
-
},
|
|
42
|
-
"first-publish-location-id": {
|
|
43
|
-
"name": "first-publish-location-id",
|
|
44
|
-
"summary": "Specify a record Id that the file should be linked to.",
|
|
45
|
-
"hasDynamicHelp": false,
|
|
46
|
-
"multiple": false,
|
|
47
|
-
"type": "option"
|
|
48
|
-
},
|
|
49
|
-
"target-org": {
|
|
50
|
-
"char": "o",
|
|
51
|
-
"name": "target-org",
|
|
52
|
-
"noCacheDefault": true,
|
|
53
|
-
"required": true,
|
|
54
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
55
|
-
"hasDynamicHelp": true,
|
|
56
|
-
"multiple": false,
|
|
57
|
-
"type": "option"
|
|
58
|
-
},
|
|
59
|
-
"title": {
|
|
60
|
-
"name": "title",
|
|
61
|
-
"summary": "Specify the title for the file being uploaded.",
|
|
62
|
-
"hasDynamicHelp": false,
|
|
63
|
-
"multiple": false,
|
|
64
|
-
"type": "option"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"hasDynamicHelp": true,
|
|
68
|
-
"hiddenAliases": [],
|
|
69
|
-
"id": "simply:data:file:upload",
|
|
70
|
-
"pluginAlias": "@simplysf/simply-data",
|
|
71
|
-
"pluginName": "@simplysf/simply-data",
|
|
72
|
-
"pluginType": "core",
|
|
73
|
-
"strict": true,
|
|
74
|
-
"summary": "Upload a file to a Salesforce org.",
|
|
75
|
-
"enableJsonFlag": true,
|
|
76
|
-
"isESM": true,
|
|
77
|
-
"relativePath": [
|
|
78
|
-
"lib",
|
|
79
|
-
"commands",
|
|
80
|
-
"simply",
|
|
81
|
-
"data",
|
|
82
|
-
"file",
|
|
83
|
-
"upload.js"
|
|
84
|
-
],
|
|
85
|
-
"aliasPermutations": [],
|
|
86
|
-
"permutations": [
|
|
87
|
-
"simply:data:file:upload",
|
|
88
|
-
"data:simply:file:upload",
|
|
89
|
-
"data:file:simply:upload",
|
|
90
|
-
"data:file:upload:simply",
|
|
91
|
-
"simply:file:data:upload",
|
|
92
|
-
"file:simply:data:upload",
|
|
93
|
-
"file:data:simply:upload",
|
|
94
|
-
"file:data:upload:simply",
|
|
95
|
-
"simply:file:upload:data",
|
|
96
|
-
"file:simply:upload:data",
|
|
97
|
-
"file:upload:simply:data",
|
|
98
|
-
"file:upload:data:simply",
|
|
99
|
-
"simply:data:upload:file",
|
|
100
|
-
"data:simply:upload:file",
|
|
101
|
-
"data:upload:simply:file",
|
|
102
|
-
"data:upload:file:simply",
|
|
103
|
-
"simply:upload:data:file",
|
|
104
|
-
"upload:simply:data:file",
|
|
105
|
-
"upload:data:simply:file",
|
|
106
|
-
"upload:data:file:simply",
|
|
107
|
-
"simply:upload:file:data",
|
|
108
|
-
"upload:simply:file:data",
|
|
109
|
-
"upload:file:simply:data",
|
|
110
|
-
"upload:file:data:simply"
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
"simply:data:files:download": {
|
|
114
|
-
"aliases": [],
|
|
115
|
-
"args": {},
|
|
116
|
-
"description": "Downloads files specified by a where clause for a ContentVersion query from a Salesforce org. By default, the plugin uses the REST API for the download as to allow for the streaming of large files without issue. This means that each file will use one REST API request.",
|
|
117
|
-
"examples": [
|
|
118
|
-
"<%= config.bin %> <%= command.id %> --where-content-version \"IsLatest=true\" --target-org myTargetOrg",
|
|
119
|
-
"<%= config.bin %> <%= command.id %> --where-content-version \"IsLatest=true\" --max-parallel-jobs 5 --target-org myTargetOrg"
|
|
120
|
-
],
|
|
121
|
-
"flags": {
|
|
122
|
-
"json": {
|
|
123
|
-
"description": "Format output as json.",
|
|
124
|
-
"helpGroup": "GLOBAL",
|
|
125
|
-
"name": "json",
|
|
126
|
-
"allowNo": false,
|
|
127
|
-
"type": "boolean"
|
|
128
|
-
},
|
|
129
|
-
"flags-dir": {
|
|
130
|
-
"helpGroup": "GLOBAL",
|
|
131
|
-
"name": "flags-dir",
|
|
132
|
-
"summary": "Import flag values from a directory.",
|
|
133
|
-
"hasDynamicHelp": false,
|
|
134
|
-
"multiple": false,
|
|
135
|
-
"type": "option"
|
|
136
|
-
},
|
|
137
|
-
"api-version": {
|
|
138
|
-
"description": "Override the api version used for api requests made by this command",
|
|
139
|
-
"name": "api-version",
|
|
140
|
-
"hasDynamicHelp": false,
|
|
141
|
-
"multiple": false,
|
|
142
|
-
"type": "option"
|
|
143
|
-
},
|
|
144
|
-
"max-parallel-jobs": {
|
|
145
|
-
"description": "By default the plugin will only process a single file download at a time. You can increase this value to allow for quasi concurrent downloads. Please note that setting this value too high can cause performance issues.",
|
|
146
|
-
"name": "max-parallel-jobs",
|
|
147
|
-
"summary": "Maximum number of parallel jobs.",
|
|
148
|
-
"default": 1,
|
|
149
|
-
"hasDynamicHelp": false,
|
|
150
|
-
"multiple": false,
|
|
151
|
-
"type": "option"
|
|
152
|
-
},
|
|
153
|
-
"target-org": {
|
|
154
|
-
"char": "o",
|
|
155
|
-
"name": "target-org",
|
|
156
|
-
"noCacheDefault": true,
|
|
157
|
-
"required": true,
|
|
158
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
159
|
-
"hasDynamicHelp": true,
|
|
160
|
-
"multiple": false,
|
|
161
|
-
"type": "option"
|
|
162
|
-
},
|
|
163
|
-
"where-content-version": {
|
|
164
|
-
"description": "Provide a WHERE clause to allow the plugin to specify which ContentVersion records should be downloaded.",
|
|
165
|
-
"name": "where-content-version",
|
|
166
|
-
"required": true,
|
|
167
|
-
"summary": "WHERE clause for ContentVersion query.",
|
|
168
|
-
"hasDynamicHelp": false,
|
|
169
|
-
"multiple": false,
|
|
170
|
-
"type": "option"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
"hasDynamicHelp": true,
|
|
174
|
-
"hiddenAliases": [],
|
|
175
|
-
"id": "simply:data:files:download",
|
|
176
|
-
"pluginAlias": "@simplysf/simply-data",
|
|
177
|
-
"pluginName": "@simplysf/simply-data",
|
|
178
|
-
"pluginType": "core",
|
|
179
|
-
"strict": true,
|
|
180
|
-
"summary": "Download files from a Salesforce org.",
|
|
181
|
-
"enableJsonFlag": true,
|
|
182
|
-
"isESM": true,
|
|
183
|
-
"relativePath": [
|
|
184
|
-
"lib",
|
|
185
|
-
"commands",
|
|
186
|
-
"simply",
|
|
187
|
-
"data",
|
|
188
|
-
"files",
|
|
189
|
-
"download.js"
|
|
190
|
-
],
|
|
191
|
-
"aliasPermutations": [],
|
|
192
|
-
"permutations": [
|
|
193
|
-
"simply:data:files:download",
|
|
194
|
-
"data:simply:files:download",
|
|
195
|
-
"data:files:simply:download",
|
|
196
|
-
"data:files:download:simply",
|
|
197
|
-
"simply:files:data:download",
|
|
198
|
-
"files:simply:data:download",
|
|
199
|
-
"files:data:simply:download",
|
|
200
|
-
"files:data:download:simply",
|
|
201
|
-
"simply:files:download:data",
|
|
202
|
-
"files:simply:download:data",
|
|
203
|
-
"files:download:simply:data",
|
|
204
|
-
"files:download:data:simply",
|
|
205
|
-
"simply:data:download:files",
|
|
206
|
-
"data:simply:download:files",
|
|
207
|
-
"data:download:simply:files",
|
|
208
|
-
"data:download:files:simply",
|
|
209
|
-
"simply:download:data:files",
|
|
210
|
-
"download:simply:data:files",
|
|
211
|
-
"download:data:simply:files",
|
|
212
|
-
"download:data:files:simply",
|
|
213
|
-
"simply:download:files:data",
|
|
214
|
-
"download:simply:files:data",
|
|
215
|
-
"download:files:simply:data",
|
|
216
|
-
"download:files:data:simply"
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
"simply:data:files:upload": {
|
|
220
|
-
"aliases": [],
|
|
221
|
-
"args": {},
|
|
222
|
-
"description": "Uploads files specified by a csv to a Salesforce org. By default, the plugin uses the REST API for the upload as the Bulk API is limited in its payload size. This means that each file will use one REST API request.",
|
|
223
|
-
"examples": [
|
|
224
|
-
"<%= config.bin %> <%= command.id %> --file-path filesToUpload.csv --target-org myTargetOrg",
|
|
225
|
-
"<%= config.bin %> <%= command.id %> --file-path filesToUpload.csv --max-parallel-jobs 5 --target-org myTargetOrg"
|
|
226
|
-
],
|
|
227
|
-
"flags": {
|
|
228
|
-
"json": {
|
|
229
|
-
"description": "Format output as json.",
|
|
230
|
-
"helpGroup": "GLOBAL",
|
|
231
|
-
"name": "json",
|
|
232
|
-
"allowNo": false,
|
|
233
|
-
"type": "boolean"
|
|
234
|
-
},
|
|
235
|
-
"flags-dir": {
|
|
236
|
-
"helpGroup": "GLOBAL",
|
|
237
|
-
"name": "flags-dir",
|
|
238
|
-
"summary": "Import flag values from a directory.",
|
|
239
|
-
"hasDynamicHelp": false,
|
|
240
|
-
"multiple": false,
|
|
241
|
-
"type": "option"
|
|
242
|
-
},
|
|
243
|
-
"api-version": {
|
|
244
|
-
"description": "Override the api version used for api requests made by this command",
|
|
245
|
-
"name": "api-version",
|
|
246
|
-
"hasDynamicHelp": false,
|
|
247
|
-
"multiple": false,
|
|
248
|
-
"type": "option"
|
|
249
|
-
},
|
|
250
|
-
"file-path": {
|
|
251
|
-
"description": "The csv file must specify the columns PathOnClient and Title. Optionally, a FirstPublishLocationId can be specified to have it linked directly to a Salesforce record after upload.",
|
|
252
|
-
"name": "file-path",
|
|
253
|
-
"required": true,
|
|
254
|
-
"summary": "Path to the csv file that specifies the upload.",
|
|
255
|
-
"hasDynamicHelp": false,
|
|
256
|
-
"multiple": false,
|
|
257
|
-
"type": "option"
|
|
258
|
-
},
|
|
259
|
-
"max-parallel-jobs": {
|
|
260
|
-
"description": "By default the plugin will only process a single file upload at a time. You can increase this value to allow for quasi concurrent uploads. Please note that setting this value too high can cause performance issues.",
|
|
261
|
-
"name": "max-parallel-jobs",
|
|
262
|
-
"summary": "Maximum number of parallel jobs.",
|
|
263
|
-
"default": 1,
|
|
264
|
-
"hasDynamicHelp": false,
|
|
265
|
-
"multiple": false,
|
|
266
|
-
"type": "option"
|
|
267
|
-
},
|
|
268
|
-
"target-org": {
|
|
269
|
-
"char": "o",
|
|
270
|
-
"name": "target-org",
|
|
271
|
-
"noCacheDefault": true,
|
|
272
|
-
"required": true,
|
|
273
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
274
|
-
"hasDynamicHelp": true,
|
|
275
|
-
"multiple": false,
|
|
276
|
-
"type": "option"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"hasDynamicHelp": true,
|
|
280
|
-
"hiddenAliases": [],
|
|
281
|
-
"id": "simply:data:files:upload",
|
|
282
|
-
"pluginAlias": "@simplysf/simply-data",
|
|
283
|
-
"pluginName": "@simplysf/simply-data",
|
|
284
|
-
"pluginType": "core",
|
|
285
|
-
"strict": true,
|
|
286
|
-
"summary": "Upload files to a Salesforce org.",
|
|
287
|
-
"enableJsonFlag": true,
|
|
288
|
-
"isESM": true,
|
|
289
|
-
"relativePath": [
|
|
290
|
-
"lib",
|
|
291
|
-
"commands",
|
|
292
|
-
"simply",
|
|
293
|
-
"data",
|
|
294
|
-
"files",
|
|
295
|
-
"upload.js"
|
|
296
|
-
],
|
|
297
|
-
"aliasPermutations": [],
|
|
298
|
-
"permutations": [
|
|
299
|
-
"simply:data:files:upload",
|
|
300
|
-
"data:simply:files:upload",
|
|
301
|
-
"data:files:simply:upload",
|
|
302
|
-
"data:files:upload:simply",
|
|
303
|
-
"simply:files:data:upload",
|
|
304
|
-
"files:simply:data:upload",
|
|
305
|
-
"files:data:simply:upload",
|
|
306
|
-
"files:data:upload:simply",
|
|
307
|
-
"simply:files:upload:data",
|
|
308
|
-
"files:simply:upload:data",
|
|
309
|
-
"files:upload:simply:data",
|
|
310
|
-
"files:upload:data:simply",
|
|
311
|
-
"simply:data:upload:files",
|
|
312
|
-
"data:simply:upload:files",
|
|
313
|
-
"data:upload:simply:files",
|
|
314
|
-
"data:upload:files:simply",
|
|
315
|
-
"simply:upload:data:files",
|
|
316
|
-
"upload:simply:data:files",
|
|
317
|
-
"upload:data:simply:files",
|
|
318
|
-
"upload:data:files:simply",
|
|
319
|
-
"simply:upload:files:data",
|
|
320
|
-
"upload:simply:files:data",
|
|
321
|
-
"upload:files:simply:data",
|
|
322
|
-
"upload:files:data:simply"
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
"version": "2.1.0"
|
|
327
|
-
}
|