@suitegeezus/suitecloud-cli 3.1.4

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.
Files changed (157) hide show
  1. package/CONTRIBUTING.md +7 -0
  2. package/DELTA.md +235 -0
  3. package/README.md +107 -0
  4. package/docs/Command.md +299 -0
  5. package/messages.json +317 -0
  6. package/package.json +51 -0
  7. package/postinstall.js +8 -0
  8. package/resources/FUTC-LICENSE.txt +115 -0
  9. package/src/ApplicationConstants.js +87 -0
  10. package/src/CLI.js +202 -0
  11. package/src/CLIException.js +21 -0
  12. package/src/ExecutionEnvironmentContext.js +39 -0
  13. package/src/SdkExecutionContext.js +90 -0
  14. package/src/SdkExecutor.js +160 -0
  15. package/src/commands/Command.js +158 -0
  16. package/src/commands/account/manageauth/ManageAccountAction.js +126 -0
  17. package/src/commands/account/manageauth/ManageAccountCommand.js +20 -0
  18. package/src/commands/account/manageauth/ManageAccountInputHandler.js +215 -0
  19. package/src/commands/account/manageauth/ManageAccountOutputHandler.js +30 -0
  20. package/src/commands/account/setup/SetupAction.js +39 -0
  21. package/src/commands/account/setup/SetupCommand.js +21 -0
  22. package/src/commands/account/setup/SetupInputHandler.js +169 -0
  23. package/src/commands/account/setup/SetupOutputHandler.js +65 -0
  24. package/src/commands/account/setupci/AccountSetupCiAction.js +58 -0
  25. package/src/commands/account/setupci/AccountSetupCiCommand.js +20 -0
  26. package/src/commands/account/setupci/AccountSetupCiConstants.js +21 -0
  27. package/src/commands/account/setupci/AccountSetupCiOutputHandler.js +40 -0
  28. package/src/commands/account/setupci/AccountSetupCiValidation.js +100 -0
  29. package/src/commands/base/BaseAction.js +37 -0
  30. package/src/commands/base/BaseInputHandler.js +24 -0
  31. package/src/commands/base/BaseOutputHandler.js +30 -0
  32. package/src/commands/custom/hello/Action.js +58 -0
  33. package/src/commands/custom/hello/Command.js +20 -0
  34. package/src/commands/custom/hello/Handler.js +26 -0
  35. package/src/commands/custom/hello/README.md +78 -0
  36. package/src/commands/custom/hook/Action.js +28 -0
  37. package/src/commands/custom/hook/Command.js +22 -0
  38. package/src/commands/custom/hook/InputHandler.js +8 -0
  39. package/src/commands/custom/hook/OutputHandler.js +8 -0
  40. package/src/commands/custom/hook/README.md +32 -0
  41. package/src/commands/file/create/CreateFileAction.js +89 -0
  42. package/src/commands/file/create/CreateFileCommand.js +20 -0
  43. package/src/commands/file/create/CreateFileInputHandler.js +175 -0
  44. package/src/commands/file/create/CreateFileOutputHandler.js +22 -0
  45. package/src/commands/file/import/ImportFilesAction.js +112 -0
  46. package/src/commands/file/import/ImportFilesCommand.js +22 -0
  47. package/src/commands/file/import/ImportFilesInputHandler.js +130 -0
  48. package/src/commands/file/import/ImportFilesOutputHandler.js +53 -0
  49. package/src/commands/file/list/ListFilesAction.js +55 -0
  50. package/src/commands/file/list/ListFilesCommand.js +20 -0
  51. package/src/commands/file/list/ListFilesInputHandler.js +55 -0
  52. package/src/commands/file/list/ListFilesOutputHandler.js +24 -0
  53. package/src/commands/file/upload/UploadFilesAction.js +67 -0
  54. package/src/commands/file/upload/UploadFilesCommand.js +20 -0
  55. package/src/commands/file/upload/UploadFilesInputHandler.js +125 -0
  56. package/src/commands/file/upload/UploadFilesOutputHandler.js +49 -0
  57. package/src/commands/object/create/CreateObjectAction.js +33 -0
  58. package/src/commands/object/create/CreateObjectCommand.js +19 -0
  59. package/src/commands/object/create/CreateObjectInputHandler.js +82 -0
  60. package/src/commands/object/import/ImportObjectsAction.js +225 -0
  61. package/src/commands/object/import/ImportObjectsCommand.js +20 -0
  62. package/src/commands/object/import/ImportObjectsInputHandler.js +310 -0
  63. package/src/commands/object/import/ImportObjectsOutputHandler.js +114 -0
  64. package/src/commands/object/list/ListObjectsAction.js +62 -0
  65. package/src/commands/object/list/ListObjectsCommand.js +20 -0
  66. package/src/commands/object/list/ListObjectsInputHandler.js +148 -0
  67. package/src/commands/object/list/ListObjectsOutputHandler.js +29 -0
  68. package/src/commands/object/update/UpdateAction.js +138 -0
  69. package/src/commands/object/update/UpdateCommand.js +20 -0
  70. package/src/commands/object/update/UpdateInputHandler.js +170 -0
  71. package/src/commands/object/update/UpdateOutputHandler.js +61 -0
  72. package/src/commands/project/adddependencies/AddDependenciesAction.js +55 -0
  73. package/src/commands/project/adddependencies/AddDependenciesCommand.js +19 -0
  74. package/src/commands/project/adddependencies/AddDependenciesOutputHandler.js +114 -0
  75. package/src/commands/project/create/CreateProjectAction.js +370 -0
  76. package/src/commands/project/create/CreateProjectCommand.js +20 -0
  77. package/src/commands/project/create/CreateProjectInputHandler.js +169 -0
  78. package/src/commands/project/create/CreateProjectOutputHandler.js +36 -0
  79. package/src/commands/project/deploy/DeployAction.js +161 -0
  80. package/src/commands/project/deploy/DeployCommand.js +20 -0
  81. package/src/commands/project/deploy/DeployInputHandler.js +100 -0
  82. package/src/commands/project/deploy/DeployOutputHandler.js +49 -0
  83. package/src/commands/project/package/PackageAction.js +59 -0
  84. package/src/commands/project/package/PackageCommand.js +18 -0
  85. package/src/commands/project/package/PackageOutputHandler.js +18 -0
  86. package/src/commands/project/validate/ValidateAction.js +106 -0
  87. package/src/commands/project/validate/ValidateCommand.js +20 -0
  88. package/src/commands/project/validate/ValidateInputHandler.js +92 -0
  89. package/src/commands/project/validate/ValidateOutputHandler.js +74 -0
  90. package/src/core/CommandActionExecutor.js +347 -0
  91. package/src/core/CommandAuthentication.js +13 -0
  92. package/src/core/CommandOptionsValidator.js +42 -0
  93. package/src/core/CommandRegistrationService.js +130 -0
  94. package/src/core/CommandsMetadataService.js +104 -0
  95. package/src/core/extensibility/CLIConfigurationService.js +192 -0
  96. package/src/core/extensibility/CommandUserExtension.js +64 -0
  97. package/src/core/sdksetup/SdkDownloadService.js +109 -0
  98. package/src/core/sdksetup/SdkLicense.js +39 -0
  99. package/src/core/sdksetup/SdkProperties.js +51 -0
  100. package/src/loggers/ConsoleLogger.js +32 -0
  101. package/src/loggers/LoggerFontFormatter.mjs +17 -0
  102. package/src/loggers/LoggerOsConstants.js +12 -0
  103. package/src/loggers/NodeConsoleLogger.js +47 -0
  104. package/src/metadata/CommandGenerators.json +92 -0
  105. package/src/metadata/NodeCommandsMetadata.json +139 -0
  106. package/src/metadata/ObjectTypesMetadata.js +615 -0
  107. package/src/metadata/SdkCommandsMetadata.json +846 -0
  108. package/src/metadata/SdkCommandsMetadataPatch.json +130 -0
  109. package/src/metadata/SuiteScriptModulesMetadata.js +152 -0
  110. package/src/metadata/SuiteScriptTypesMetadata.js +64 -0
  111. package/src/services/AccountFileCabinetService.js +86 -0
  112. package/src/services/EnvironmentInformationService.js +31 -0
  113. package/src/services/ExecutionContextService.js +108 -0
  114. package/src/services/FileCabinetService.js +65 -0
  115. package/src/services/FileSystemService.js +245 -0
  116. package/src/services/NodeTranslationService.js +22 -0
  117. package/src/services/NpmInstallRunner.js +33 -0
  118. package/src/services/ProjectInfoService.js +209 -0
  119. package/src/services/SuiteCloudAuthProxyService.js +469 -0
  120. package/src/services/TranslationKeys.js +506 -0
  121. package/src/services/TranslationService.js +30 -0
  122. package/src/services/actionresult/ActionResult.js +129 -0
  123. package/src/services/actionresult/AuthenticateActionResult.js +85 -0
  124. package/src/services/actionresult/CreateProjectActionResult.js +100 -0
  125. package/src/services/actionresult/DeployActionResult.js +69 -0
  126. package/src/services/actionresult/HelloActionResult.js +13 -0
  127. package/src/services/actionresult/ManageAccountActionResult.js +70 -0
  128. package/src/services/settings/CLISettings.js +46 -0
  129. package/src/services/settings/CLISettingsService.js +132 -0
  130. package/src/suitecloud.js +33 -0
  131. package/src/templates/TemplateKeys.js +25 -0
  132. package/src/templates/objects/commerceextension.xml +9 -0
  133. package/src/templates/projectconfigs/default_gitignore.template +47 -0
  134. package/src/templates/projectconfigs/sdf.config.js +4 -0
  135. package/src/templates/projectconfigs/suitecloud.config.js +4 -0
  136. package/src/templates/scripts/blankscript.js +3 -0
  137. package/src/templates/unittest/jest.config.js.template +7 -0
  138. package/src/templates/unittest/jsconfig.json.template +5 -0
  139. package/src/templates/unittest/package.json.template +12 -0
  140. package/src/templates/unittest/sample-test.js.template +37 -0
  141. package/src/templates/unittest/suitecloud.config.js.template +15 -0
  142. package/src/ui/CliSpinner.js +34 -0
  143. package/src/utils/AccountCredentialsFormatter.js +62 -0
  144. package/src/utils/AccountSpecificValuesUtils.js +55 -0
  145. package/src/utils/ActionResultUtils.js +47 -0
  146. package/src/utils/ApplyInstallationPreferencesUtils.js +41 -0
  147. package/src/utils/AuthenticationUtils.js +262 -0
  148. package/src/utils/CommandUtils.js +50 -0
  149. package/src/utils/CryptoUtils.js +41 -0
  150. package/src/utils/ExceptionUtils.js +33 -0
  151. package/src/utils/FileUtils.js +43 -0
  152. package/src/utils/SdkOperationResult.js +68 -0
  153. package/src/utils/SdkOperationResultUtils.js +20 -0
  154. package/src/utils/ValidationErrorsFormatter.js +23 -0
  155. package/src/utils/http/HttpConstants.js +39 -0
  156. package/src/utils/http/ProxyAgent.js +110 -0
  157. package/src/validation/InteractiveAnswersValidator.js +205 -0
@@ -0,0 +1,615 @@
1
+ /*
2
+ ** Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved.
3
+ ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
+ */
5
+ 'use strict';
6
+
7
+ module.exports = [
8
+ {
9
+ name: 'Address Form',
10
+ value: {
11
+ name: 'Address Form',
12
+ type: 'addressForm',
13
+ prefix: 'custform_',
14
+ hasRelatedFiles: false,
15
+ },
16
+ },
17
+ {
18
+ name: 'Advanced PDF Template',
19
+ value: {
20
+ name: 'Advanced PDF Template',
21
+ type: 'advancedpdftemplate',
22
+ prefix: 'custtmpl_',
23
+ hasRelatedFiles: false,
24
+ },
25
+ },
26
+ {
27
+ name: 'Center',
28
+ value: {
29
+ name: 'Center',
30
+ type: 'center',
31
+ prefix: 'custcenter_',
32
+ hasRelatedFiles: false,
33
+ },
34
+ },
35
+ {
36
+ name: 'Center Category',
37
+ value: {
38
+ name: 'Center Category',
39
+ type: 'centercategory',
40
+ prefix: 'custcentercategory_',
41
+ hasRelatedFiles: false,
42
+ },
43
+ },
44
+ {
45
+ name: 'Center Link',
46
+ value: {
47
+ name: 'Center Link',
48
+ type: 'centerlink',
49
+ prefix: 'custcenterlink_',
50
+ hasRelatedFiles: false,
51
+ },
52
+ },
53
+ {
54
+ name: 'Center Tab',
55
+ value: {
56
+ name: 'Center Tab',
57
+ type: 'centertab',
58
+ prefix: 'custcentertab_',
59
+ hasRelatedFiles: false,
60
+ },
61
+ },
62
+ {
63
+ name: 'Commerce Extension',
64
+ value: {
65
+ name: 'Commerce Extension',
66
+ type: 'commerceextension',
67
+ prefix: 'customextension_',
68
+ hasRelatedFiles: true,
69
+ relatedFiles: [{ type: 'blankscript' }],
70
+ },
71
+ },
72
+ {
73
+ name: 'Commerce Theme',
74
+ value: {
75
+ name: 'Commerce Theme',
76
+ type: 'commercetheme',
77
+ prefix: 'custcommercetheme_',
78
+ hasRelatedFiles: true,
79
+ relatedFiles: [{ type: 'blankscript' }],
80
+ },
81
+ },
82
+ {
83
+ name: 'CMS Content Type',
84
+ value: {
85
+ name: 'CMS Content Type',
86
+ type: 'cmscontenttype',
87
+ prefix: 'custcontenttype_',
88
+ hasRelatedFiles: false,
89
+ },
90
+ },
91
+ {
92
+ name: 'CRM Field',
93
+ value: {
94
+ name: 'CRM Field',
95
+ type: 'crmcustomfield',
96
+ prefix: 'custevent_',
97
+ hasRelatedFiles: false,
98
+ },
99
+ },
100
+ {
101
+ name: 'Custom Segment',
102
+ value: {
103
+ name: 'Custom Segment',
104
+ type: 'customsegment',
105
+ prefix: 'cseg_',
106
+ hasRelatedFiles: false,
107
+ },
108
+ },
109
+ {
110
+ name: 'Custom Transaction',
111
+ value: {
112
+ name: 'Custom Transaction',
113
+ type: 'customtransactiontype',
114
+ prefix: 'customtransaction_',
115
+ hasRelatedFiles: false,
116
+ },
117
+ },
118
+ {
119
+ name: 'Dataset',
120
+ value: {
121
+ name: 'Dataset',
122
+ type: 'dataset',
123
+ prefix: 'custdataset_',
124
+ hasRelatedFiles: false,
125
+ },
126
+ },
127
+ {
128
+ name: 'Email Template',
129
+ value: {
130
+ name: 'Email Template',
131
+ type: 'emailtemplate',
132
+ prefix: 'custemailtmpl_',
133
+ hasRelatedFiles: false,
134
+ },
135
+ },
136
+ {
137
+ name: 'Entity Field',
138
+ value: {
139
+ name: 'Entity Field',
140
+ type: 'entitycustomfield',
141
+ prefix: 'custentity_',
142
+ hasRelatedFiles: false,
143
+ },
144
+ },
145
+ {
146
+ name: 'Entry Form',
147
+ value: {
148
+ name: 'Entry Form',
149
+ type: 'entryForm',
150
+ prefix: 'custform_',
151
+ hasRelatedFiles: false,
152
+ },
153
+ },
154
+ {
155
+ name: 'Integration',
156
+ value: {
157
+ name: 'Integration',
158
+ type: 'integration',
159
+ prefix: 'custinteg_',
160
+ hasRelatedFiles: false,
161
+ },
162
+ },
163
+ {
164
+ name: 'Item Field',
165
+ value: {
166
+ name: 'Item Field',
167
+ type: 'itemcustomfield',
168
+ prefix: 'custitem_',
169
+ hasRelatedFiles: false,
170
+ },
171
+ },
172
+ {
173
+ name: 'Item Number Field',
174
+ value: {
175
+ name: 'Item Number Field',
176
+ type: 'itemnumbercustomfield',
177
+ prefix: 'custitemnumber_',
178
+ hasRelatedFiles: false,
179
+ },
180
+ },
181
+ {
182
+ name: 'Item Option Field',
183
+ value: {
184
+ name: 'Item Option Field',
185
+ type: 'itemoptioncustomfield',
186
+ prefix: 'custcol_',
187
+ hasRelatedFiles: false,
188
+ },
189
+ },
190
+ {
191
+ name: 'KPI Scorecard',
192
+ value: {
193
+ name: 'KPI Scorecard',
194
+ type: 'kpiscorecard',
195
+ prefix: 'custkpiscorecard_',
196
+ hasRelatedFiles: false,
197
+ },
198
+ },
199
+ {
200
+ name: 'List',
201
+ value: {
202
+ name: 'List',
203
+ type: 'customlist',
204
+ prefix: 'customlist_',
205
+ hasRelatedFiles: false,
206
+ },
207
+ },
208
+ {
209
+ name: 'Other Custom Field',
210
+ value: {
211
+ name: 'Other Custom Field',
212
+ type: 'othercustomfield',
213
+ prefix: 'custrecord_',
214
+ hasRelatedFiles: false,
215
+ },
216
+ },
217
+ {
218
+ name: 'Plug-in - Advanced Revenue Recognition',
219
+ value: {
220
+ name: 'Plug-in - Advanced Revenue Recognition',
221
+ type: 'advancedrevrecplugin',
222
+ prefix: 'customscript_',
223
+ hasRelatedFiles: true,
224
+ relatedFiles: [{ type: 'blankscript' }],
225
+ },
226
+ },
227
+ {
228
+ name: 'Plug-in - Consolidated Rate Adjustor',
229
+ value: {
230
+ name: 'Plug-in - Consolidated Rate Adjustor',
231
+ type: 'consolidatedrateadjustorplugin',
232
+ prefix: 'customscript_',
233
+ hasRelatedFiles: true,
234
+ relatedFiles: [{ type: 'blankscript' }],
235
+ },
236
+ },
237
+ {
238
+ name: 'Plug-in - Custom GL Lines',
239
+ value: {
240
+ name: 'Plug-in - Custom GL Lines',
241
+ type: 'customglplugin',
242
+ prefix: 'customscript_',
243
+ hasRelatedFiles: true,
244
+ relatedFiles: [{ type: 'blankscript' }],
245
+ },
246
+ },
247
+ {
248
+ name: 'Plug-in - Custom Plug-in Type',
249
+ value: {
250
+ name: 'Plug-in - Custom Plug-in Type',
251
+ type: 'plugintype',
252
+ prefix: 'customscript_',
253
+ hasRelatedFiles: true,
254
+ relatedFiles: [{ type: 'blankscript' }],
255
+ },
256
+ },
257
+ {
258
+ name: 'Plug-in - Custom Plug-in Implementation',
259
+ value: {
260
+ name: 'Plug-in - Custom Plug-in Implementation',
261
+ type: 'pluginimplementation',
262
+ prefix: 'customscript_',
263
+ hasRelatedFiles: true,
264
+ relatedFiles: [{ type: 'blankscript' }],
265
+ },
266
+ },
267
+ {
268
+ name: 'Plug-in - Email Capture',
269
+ value: {
270
+ name: 'Plug-in - Email Capture',
271
+ type: 'emailcaptureplugin',
272
+ prefix: 'customscript_',
273
+ hasRelatedFiles: true,
274
+ relatedFiles: [{ type: 'blankscript' }],
275
+ },
276
+ },
277
+ {
278
+ name: 'Plug-in - Financial Institution Connectivity',
279
+ value: {
280
+ name: 'Plug-in - Financial Institution Connectivity',
281
+ type: 'ficonnectivityplugin',
282
+ prefix: 'customscript_',
283
+ hasRelatedFiles: true,
284
+ relatedFiles: [{ type: 'blankscript' }],
285
+ },
286
+ },
287
+ {
288
+ name: 'Plug-in - Parser',
289
+ value: {
290
+ name: 'Plug-in - Parser',
291
+ type: 'bankstatementparserplugin',
292
+ prefix: 'customscript_',
293
+ hasRelatedFiles: true,
294
+ relatedFiles: [{ type: 'blankscript' }],
295
+ },
296
+ },
297
+ {
298
+ name: 'Plug-in - Payment Gateway',
299
+ value: {
300
+ name: 'Plug-in - Payment Gateway',
301
+ type: 'paymentgatewayplugin',
302
+ prefix: 'customscript_',
303
+ hasRelatedFiles: true,
304
+ relatedFiles: [{ type: 'blankscript' }],
305
+ },
306
+ },
307
+ {
308
+ name: 'Plug-in - Platform Extension',
309
+ value: {
310
+ name: 'Plug-in - Platform Extension',
311
+ type: 'platformextensionplugin',
312
+ prefix: 'customscript_',
313
+ hasRelatedFiles: true,
314
+ relatedFiles: [{ type: 'blankscript' }],
315
+ },
316
+ },
317
+ {
318
+ name: 'Plug-in - Promotions',
319
+ value: {
320
+ name: 'Plug-in - Promotions',
321
+ type: 'promotionsplugin',
322
+ prefix: 'customscript_',
323
+ hasRelatedFiles: true,
324
+ relatedFiles: [{ type: 'blankscript' }],
325
+ },
326
+ },
327
+ {
328
+ name: 'Plug-in - Shipping Partners',
329
+ value: {
330
+ name: 'Plug-in - Shipping Partners',
331
+ type: 'shippingpartnersplugin',
332
+ prefix: 'customscript_',
333
+ hasRelatedFiles: true,
334
+ relatedFiles: [{ type: 'blankscript' }],
335
+ },
336
+ },
337
+ {
338
+ name: 'Plug-in - Tax Calculation',
339
+ value: {
340
+ name: 'Plug-in - Tax Calculation',
341
+ type: 'taxcalculationplugin',
342
+ prefix: 'customscript_',
343
+ hasRelatedFiles: true,
344
+ relatedFiles: [{ type: 'blankscript' }],
345
+ },
346
+ },
347
+ {
348
+ name: 'Published Dashboard',
349
+ value: {
350
+ name: 'Published Dashboard',
351
+ type: 'publisheddashboard',
352
+ prefix: 'custpubdashboard_',
353
+ hasRelatedFiles: false,
354
+ },
355
+ },
356
+ {
357
+ name: 'Record Type',
358
+ value: {
359
+ name: 'Record Type',
360
+ type: 'customrecordtype',
361
+ prefix: 'customrecord_',
362
+ hasRelatedFiles: false,
363
+ },
364
+ },
365
+ {
366
+ name: 'Role',
367
+ value: {
368
+ name: 'Role',
369
+ type: 'role',
370
+ prefix: 'customrole_',
371
+ hasRelatedFiles: false,
372
+ },
373
+ },
374
+ {
375
+ name: 'Saved CSV',
376
+ value: {
377
+ name: 'Saved CSV',
378
+ type: 'savedcsvimport',
379
+ prefix: 'custimport_',
380
+ hasRelatedFiles: false,
381
+ },
382
+ },
383
+ {
384
+ name: 'Saved Search',
385
+ value: {
386
+ name: 'Saved Search',
387
+ type: 'savedsearch',
388
+ prefix: 'customsearch_',
389
+ hasRelatedFiles: false,
390
+ },
391
+ },
392
+
393
+ {
394
+ name: 'Script - Bundle Installation',
395
+ value: {
396
+ name: 'Script - Bundle Installation',
397
+ type: 'bundleinstallationscript',
398
+ prefix: 'customscript_',
399
+ hasRelatedFiles: true,
400
+ relatedFiles: [{ type: 'blankscript' }],
401
+ },
402
+ },
403
+ {
404
+ name: 'Script - Client',
405
+ value: {
406
+ name: 'Script - Client',
407
+ type: 'clientscript',
408
+ prefix: 'customscript_',
409
+ hasRelatedFiles: true,
410
+ relatedFiles: [{ type: 'blankscript' }],
411
+ },
412
+ },
413
+ {
414
+ name: 'Script - Custom Record Action',
415
+ value: {
416
+ name: 'Script - Custom Record Action',
417
+ type: 'customrecordactionscript',
418
+ prefix: 'customscript_',
419
+ hasRelatedFiles: true,
420
+ relatedFiles: [{ type: 'blankscript' }],
421
+ },
422
+ },
423
+ {
424
+ name: 'Script - Map/Reduce',
425
+ value: {
426
+ name: 'Script - Map/Reduce',
427
+ type: 'mapreducescript',
428
+ prefix: 'customscript_',
429
+ hasRelatedFiles: true,
430
+ relatedFiles: [{ type: 'blankscript' }],
431
+ },
432
+ },
433
+ {
434
+ name: 'Script - Mass Update',
435
+ value: {
436
+ name: 'Script - Mass Update',
437
+ type: 'massupdatescript',
438
+ prefix: 'customscript_',
439
+ hasRelatedFiles: true,
440
+ relatedFiles: [{ type: 'blankscript' }],
441
+ },
442
+ },
443
+ {
444
+ name: 'Script - Portlet',
445
+ value: {
446
+ name: 'Script - Portlet',
447
+ type: 'portlet',
448
+ prefix: 'customscript_',
449
+ hasRelatedFiles: true,
450
+ relatedFiles: [{ type: 'blankscript' }],
451
+ },
452
+ },
453
+ {
454
+ name: 'Script - RESTlet',
455
+ value: {
456
+ name: 'Script - RESTlet',
457
+ type: 'restlet',
458
+ prefix: 'customscript_',
459
+ hasRelatedFiles: true,
460
+ relatedFiles: [{ type: 'blankscript' }],
461
+ },
462
+ },
463
+ {
464
+ name: 'Script - Scheduled',
465
+ value: {
466
+ name: 'Script - Scheduled',
467
+ type: 'scheduledscript',
468
+ prefix: 'customscript_',
469
+ hasRelatedFiles: true,
470
+ relatedFiles: [{ type: 'blankscript' }],
471
+ },
472
+ },
473
+ {
474
+ name: 'Script - Suitelet',
475
+ value: {
476
+ name: 'Script - Suitelet',
477
+ type: 'suitelet',
478
+ prefix: 'customscript_',
479
+ hasRelatedFiles: true,
480
+ relatedFiles: [{ type: 'blankscript' }],
481
+ },
482
+ },
483
+ {
484
+ name: 'Script - User Event',
485
+ value: {
486
+ name: 'Script - User Event',
487
+ type: 'usereventscript',
488
+ prefix: 'customscript_',
489
+ hasRelatedFiles: true,
490
+ relatedFiles: [{ type: 'blankscript' }],
491
+ },
492
+ },
493
+ {
494
+ name: 'Script - Workflow Action',
495
+ value: {
496
+ name: 'Script - Workflow Action',
497
+ type: 'workflowactionscript',
498
+ prefix: 'customscript_',
499
+ hasRelatedFiles: true,
500
+ relatedFiles: [{ type: 'blankscript' }],
501
+ },
502
+ },
503
+ {
504
+ name: 'SDF Installation Script',
505
+ value: {
506
+ name: 'SDF Installation Script',
507
+ type: 'sdfinstallationscript',
508
+ prefix: 'customscript_',
509
+ hasRelatedFiles: true,
510
+ relatedFiles: [{ type: 'blankscript' }],
511
+ },
512
+ },
513
+ {
514
+ name: 'Secret',
515
+ value: {
516
+ name: 'Secret',
517
+ type: 'secret',
518
+ prefix: 'custsecret_',
519
+ hasRelatedFiles: true,
520
+ relatedFiles: false,
521
+ },
522
+ },
523
+ {
524
+ name: 'Single Page Application',
525
+ value: {
526
+ name: 'Single Page Application',
527
+ type: 'singlepageapp',
528
+ prefix: 'custspa_',
529
+ hasRelatedFiles: true,
530
+ relatedFiles: [{ type: 'blankscript' }],
531
+ },
532
+ },
533
+ {
534
+ name: 'SSP Application',
535
+ value: {
536
+ name: 'SSP Application',
537
+ type: 'sspapplication',
538
+ prefix: 'webapp_',
539
+ hasRelatedFiles: true,
540
+ relatedFiles: [{ type: 'blankscript' }],
541
+ },
542
+ },
543
+ {
544
+ name: 'Sublist',
545
+ value: {
546
+ name: 'Sublist',
547
+ type: 'sublist',
548
+ prefix: 'custsublist_',
549
+ hasRelatedFiles: false,
550
+ },
551
+ },
552
+ {
553
+ name: 'Subtab',
554
+ value: {
555
+ name: 'Subtab',
556
+ type: 'subtab',
557
+ prefix: 'custtab_',
558
+ hasRelatedFiles: false,
559
+ },
560
+ },
561
+ {
562
+ name: 'Transaction Body Field',
563
+ value: {
564
+ name: 'Transaction Body Field',
565
+ type: 'transactionbodycustomfield',
566
+ prefix: 'custbody_',
567
+ hasRelatedFiles: false,
568
+ },
569
+ },
570
+ {
571
+ name: 'Transaction Column Field',
572
+ value: {
573
+ name: 'Transaction Column Field',
574
+ type: 'transactioncolumncustomfield',
575
+ prefix: 'custcol_',
576
+ hasRelatedFiles: false,
577
+ },
578
+ },
579
+ {
580
+ name: 'Transaction Form',
581
+ value: {
582
+ name: 'Transaction Form',
583
+ type: 'transactionForm',
584
+ prefix: 'custform_',
585
+ hasRelatedFiles: false,
586
+ },
587
+ },
588
+ {
589
+ name: 'Translation Collection',
590
+ value: {
591
+ name: 'Translation Collection',
592
+ type: 'translationcollection',
593
+ prefix: 'custcollection_',
594
+ hasRelatedFiles: false,
595
+ },
596
+ },
597
+ {
598
+ name: 'Workbook',
599
+ value: {
600
+ name: 'Workbook',
601
+ type: 'workbook',
602
+ prefix: 'custworkbook_',
603
+ hasRelatedFiles: false,
604
+ },
605
+ },
606
+ {
607
+ name: 'Workflow',
608
+ value: {
609
+ name: 'Workflow',
610
+ type: 'workflow',
611
+ prefix: 'customworkflow_',
612
+ hasRelatedFiles: false,
613
+ },
614
+ },
615
+ ];