@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.
- package/CONTRIBUTING.md +7 -0
- package/DELTA.md +235 -0
- package/README.md +107 -0
- package/docs/Command.md +299 -0
- package/messages.json +317 -0
- package/package.json +51 -0
- package/postinstall.js +8 -0
- package/resources/FUTC-LICENSE.txt +115 -0
- package/src/ApplicationConstants.js +87 -0
- package/src/CLI.js +202 -0
- package/src/CLIException.js +21 -0
- package/src/ExecutionEnvironmentContext.js +39 -0
- package/src/SdkExecutionContext.js +90 -0
- package/src/SdkExecutor.js +160 -0
- package/src/commands/Command.js +158 -0
- package/src/commands/account/manageauth/ManageAccountAction.js +126 -0
- package/src/commands/account/manageauth/ManageAccountCommand.js +20 -0
- package/src/commands/account/manageauth/ManageAccountInputHandler.js +215 -0
- package/src/commands/account/manageauth/ManageAccountOutputHandler.js +30 -0
- package/src/commands/account/setup/SetupAction.js +39 -0
- package/src/commands/account/setup/SetupCommand.js +21 -0
- package/src/commands/account/setup/SetupInputHandler.js +169 -0
- package/src/commands/account/setup/SetupOutputHandler.js +65 -0
- package/src/commands/account/setupci/AccountSetupCiAction.js +58 -0
- package/src/commands/account/setupci/AccountSetupCiCommand.js +20 -0
- package/src/commands/account/setupci/AccountSetupCiConstants.js +21 -0
- package/src/commands/account/setupci/AccountSetupCiOutputHandler.js +40 -0
- package/src/commands/account/setupci/AccountSetupCiValidation.js +100 -0
- package/src/commands/base/BaseAction.js +37 -0
- package/src/commands/base/BaseInputHandler.js +24 -0
- package/src/commands/base/BaseOutputHandler.js +30 -0
- package/src/commands/custom/hello/Action.js +58 -0
- package/src/commands/custom/hello/Command.js +20 -0
- package/src/commands/custom/hello/Handler.js +26 -0
- package/src/commands/custom/hello/README.md +78 -0
- package/src/commands/custom/hook/Action.js +28 -0
- package/src/commands/custom/hook/Command.js +22 -0
- package/src/commands/custom/hook/InputHandler.js +8 -0
- package/src/commands/custom/hook/OutputHandler.js +8 -0
- package/src/commands/custom/hook/README.md +32 -0
- package/src/commands/file/create/CreateFileAction.js +89 -0
- package/src/commands/file/create/CreateFileCommand.js +20 -0
- package/src/commands/file/create/CreateFileInputHandler.js +175 -0
- package/src/commands/file/create/CreateFileOutputHandler.js +22 -0
- package/src/commands/file/import/ImportFilesAction.js +112 -0
- package/src/commands/file/import/ImportFilesCommand.js +22 -0
- package/src/commands/file/import/ImportFilesInputHandler.js +130 -0
- package/src/commands/file/import/ImportFilesOutputHandler.js +53 -0
- package/src/commands/file/list/ListFilesAction.js +55 -0
- package/src/commands/file/list/ListFilesCommand.js +20 -0
- package/src/commands/file/list/ListFilesInputHandler.js +55 -0
- package/src/commands/file/list/ListFilesOutputHandler.js +24 -0
- package/src/commands/file/upload/UploadFilesAction.js +67 -0
- package/src/commands/file/upload/UploadFilesCommand.js +20 -0
- package/src/commands/file/upload/UploadFilesInputHandler.js +125 -0
- package/src/commands/file/upload/UploadFilesOutputHandler.js +49 -0
- package/src/commands/object/create/CreateObjectAction.js +33 -0
- package/src/commands/object/create/CreateObjectCommand.js +19 -0
- package/src/commands/object/create/CreateObjectInputHandler.js +82 -0
- package/src/commands/object/import/ImportObjectsAction.js +225 -0
- package/src/commands/object/import/ImportObjectsCommand.js +20 -0
- package/src/commands/object/import/ImportObjectsInputHandler.js +310 -0
- package/src/commands/object/import/ImportObjectsOutputHandler.js +114 -0
- package/src/commands/object/list/ListObjectsAction.js +62 -0
- package/src/commands/object/list/ListObjectsCommand.js +20 -0
- package/src/commands/object/list/ListObjectsInputHandler.js +148 -0
- package/src/commands/object/list/ListObjectsOutputHandler.js +29 -0
- package/src/commands/object/update/UpdateAction.js +138 -0
- package/src/commands/object/update/UpdateCommand.js +20 -0
- package/src/commands/object/update/UpdateInputHandler.js +170 -0
- package/src/commands/object/update/UpdateOutputHandler.js +61 -0
- package/src/commands/project/adddependencies/AddDependenciesAction.js +55 -0
- package/src/commands/project/adddependencies/AddDependenciesCommand.js +19 -0
- package/src/commands/project/adddependencies/AddDependenciesOutputHandler.js +114 -0
- package/src/commands/project/create/CreateProjectAction.js +370 -0
- package/src/commands/project/create/CreateProjectCommand.js +20 -0
- package/src/commands/project/create/CreateProjectInputHandler.js +169 -0
- package/src/commands/project/create/CreateProjectOutputHandler.js +36 -0
- package/src/commands/project/deploy/DeployAction.js +161 -0
- package/src/commands/project/deploy/DeployCommand.js +20 -0
- package/src/commands/project/deploy/DeployInputHandler.js +100 -0
- package/src/commands/project/deploy/DeployOutputHandler.js +49 -0
- package/src/commands/project/package/PackageAction.js +59 -0
- package/src/commands/project/package/PackageCommand.js +18 -0
- package/src/commands/project/package/PackageOutputHandler.js +18 -0
- package/src/commands/project/validate/ValidateAction.js +106 -0
- package/src/commands/project/validate/ValidateCommand.js +20 -0
- package/src/commands/project/validate/ValidateInputHandler.js +92 -0
- package/src/commands/project/validate/ValidateOutputHandler.js +74 -0
- package/src/core/CommandActionExecutor.js +347 -0
- package/src/core/CommandAuthentication.js +13 -0
- package/src/core/CommandOptionsValidator.js +42 -0
- package/src/core/CommandRegistrationService.js +130 -0
- package/src/core/CommandsMetadataService.js +104 -0
- package/src/core/extensibility/CLIConfigurationService.js +192 -0
- package/src/core/extensibility/CommandUserExtension.js +64 -0
- package/src/core/sdksetup/SdkDownloadService.js +109 -0
- package/src/core/sdksetup/SdkLicense.js +39 -0
- package/src/core/sdksetup/SdkProperties.js +51 -0
- package/src/loggers/ConsoleLogger.js +32 -0
- package/src/loggers/LoggerFontFormatter.mjs +17 -0
- package/src/loggers/LoggerOsConstants.js +12 -0
- package/src/loggers/NodeConsoleLogger.js +47 -0
- package/src/metadata/CommandGenerators.json +92 -0
- package/src/metadata/NodeCommandsMetadata.json +139 -0
- package/src/metadata/ObjectTypesMetadata.js +615 -0
- package/src/metadata/SdkCommandsMetadata.json +846 -0
- package/src/metadata/SdkCommandsMetadataPatch.json +130 -0
- package/src/metadata/SuiteScriptModulesMetadata.js +152 -0
- package/src/metadata/SuiteScriptTypesMetadata.js +64 -0
- package/src/services/AccountFileCabinetService.js +86 -0
- package/src/services/EnvironmentInformationService.js +31 -0
- package/src/services/ExecutionContextService.js +108 -0
- package/src/services/FileCabinetService.js +65 -0
- package/src/services/FileSystemService.js +245 -0
- package/src/services/NodeTranslationService.js +22 -0
- package/src/services/NpmInstallRunner.js +33 -0
- package/src/services/ProjectInfoService.js +209 -0
- package/src/services/SuiteCloudAuthProxyService.js +469 -0
- package/src/services/TranslationKeys.js +506 -0
- package/src/services/TranslationService.js +30 -0
- package/src/services/actionresult/ActionResult.js +129 -0
- package/src/services/actionresult/AuthenticateActionResult.js +85 -0
- package/src/services/actionresult/CreateProjectActionResult.js +100 -0
- package/src/services/actionresult/DeployActionResult.js +69 -0
- package/src/services/actionresult/HelloActionResult.js +13 -0
- package/src/services/actionresult/ManageAccountActionResult.js +70 -0
- package/src/services/settings/CLISettings.js +46 -0
- package/src/services/settings/CLISettingsService.js +132 -0
- package/src/suitecloud.js +33 -0
- package/src/templates/TemplateKeys.js +25 -0
- package/src/templates/objects/commerceextension.xml +9 -0
- package/src/templates/projectconfigs/default_gitignore.template +47 -0
- package/src/templates/projectconfigs/sdf.config.js +4 -0
- package/src/templates/projectconfigs/suitecloud.config.js +4 -0
- package/src/templates/scripts/blankscript.js +3 -0
- package/src/templates/unittest/jest.config.js.template +7 -0
- package/src/templates/unittest/jsconfig.json.template +5 -0
- package/src/templates/unittest/package.json.template +12 -0
- package/src/templates/unittest/sample-test.js.template +37 -0
- package/src/templates/unittest/suitecloud.config.js.template +15 -0
- package/src/ui/CliSpinner.js +34 -0
- package/src/utils/AccountCredentialsFormatter.js +62 -0
- package/src/utils/AccountSpecificValuesUtils.js +55 -0
- package/src/utils/ActionResultUtils.js +47 -0
- package/src/utils/ApplyInstallationPreferencesUtils.js +41 -0
- package/src/utils/AuthenticationUtils.js +262 -0
- package/src/utils/CommandUtils.js +50 -0
- package/src/utils/CryptoUtils.js +41 -0
- package/src/utils/ExceptionUtils.js +33 -0
- package/src/utils/FileUtils.js +43 -0
- package/src/utils/SdkOperationResult.js +68 -0
- package/src/utils/SdkOperationResultUtils.js +20 -0
- package/src/utils/ValidationErrorsFormatter.js +23 -0
- package/src/utils/http/HttpConstants.js +39 -0
- package/src/utils/http/ProxyAgent.js +110 -0
- package/src/validation/InteractiveAnswersValidator.js +205 -0
package/messages.json
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ACCOUNT_TYPE_RELEASE_PREVIEW": "Release Preview",
|
|
3
|
+
"ACCOUNT_TYPE_SANDBOX": "Sandbox",
|
|
4
|
+
"ACCOUNT_TYPE_PRODUCTION": "Production",
|
|
5
|
+
"ANSWERS_VALIDATION_MESSAGES_ALPHANUMERIC_HYPHEN_UNDERSCORE": "This field contains forbidden characters. Use only alphanumerical characters, hyphens, or underscores.",
|
|
6
|
+
"ANSWERS_VALIDATION_MESSAGES_ALPHANUMERIC_HYPHEN_UNDERSCORE_EXTENDED": "This field contains forbidden characters. Use only alphanumerical characters, hyphens, underscores, spaces, or periods. The project name cannot begin or end with a period.",
|
|
7
|
+
"ANSWERS_VALIDATION_MESSAGES_APP_ID_FORMAT": "The specified application ID is wrongly formatted. Ensure it follows a pattern such as \"com.example.mysuiteapp\".",
|
|
8
|
+
"ANSWERS_VALIDATION_MESSAGES_AUTH_ID_ALREADY_USED": "This authentication ID already exists. Enter a new one.",
|
|
9
|
+
"ANSWERS_VALIDATION_MESSAGES_CHOOSE_OPTION": "Error: You should choose at least one option.",
|
|
10
|
+
"ANSWERS_VALIDATION_MESSAGES_CURRENT_AUTHID": "\"{0}\" is the current authentication ID. Enter a new ID.",
|
|
11
|
+
"ANSWERS_VALIDATION_MESSAGES_EMPTY_FIELD": "This value cannot be empty.",
|
|
12
|
+
"ANSWERS_VALIDATION_MESSAGES_FIELD_HAS_SPACES": "This field cannot contain spaces.",
|
|
13
|
+
"ANSWERS_VALIDATION_MESSAGES_FIELD_HAS_XML_FORBIDDEN_CHARACTERS": "This field contains at least one of the following forbidden characters: <, >, &, ', or \".",
|
|
14
|
+
"ANSWERS_VALIDATION_MESSAGES_FIELD_NOT_LOWER_CASE": "The {0} field contains forbidden characters. Use only lowercase letters and numbers.",
|
|
15
|
+
"ANSWERS_VALIDATION_MESSAGES_FILE_ALREADY_EXISTS": "The file already exists.",
|
|
16
|
+
"ANSWERS_VALIDATION_MESSAGES_FILENAME_CONTAINS_FORBIDDEN_CHARACTERS": "The file name cannot contain any of the following characters: \\ / : * ? \" < > |",
|
|
17
|
+
"ANSWERS_VALIDATION_MESSAGES_FILENAME_ENDS_WITH_PERIOD": "The file name cannot end with a period.",
|
|
18
|
+
"ANSWERS_VALIDATION_MESSAGES_FOLDER_ALREADY_EXISTS": "The folder {0} already exists.",
|
|
19
|
+
"ANSWERS_VALIDATION_MESSAGES_INVALID_EMAIL": "Invalid email address.",
|
|
20
|
+
"ANSWERS_VALIDATION_MESSAGES_MAX_LENGTH": "This field can only contain up to {0} characters.",
|
|
21
|
+
"ANSWERS_VALIDATION_MESSAGES_PROJECT_VERSION_FORMAT": "The project version must only contain digits and dots. Ensure it follows a pattern such as \"0.0.0\".",
|
|
22
|
+
"ANSWERS_VALIDATION_MESSAGES_PRODUCTION_DOMAIN": "You entered a production domain. To use a production domain, empty the field and press Enter.",
|
|
23
|
+
"ANSWERS_VALIDATION_MESSAGES_PUBLISHER_ID_FORMAT": "The publisher ID must be a fully qualified name, such as \"com.netsuite\". It must contain lowercase alphanumeric characters and exactly one period. The ID cannot begin or end with a period.",
|
|
24
|
+
"ANSWERS_VALIDATION_MESSAGES_SCRIPT_ID_FORMAT": "The specified script ID contains forbidden characters. Use only lowercase letters, numbers, or underscores.",
|
|
25
|
+
"ANSWERS_VALIDATION_MESSAGES_WRONG_PROJECT_TYPE": "Invalid \"--type\" option specified. Enter one of the following options: ACCOUNTCUSTOMIZATION or SUITEAPP.",
|
|
26
|
+
|
|
27
|
+
"CLI_INTERACTIVE_OPTION_DESCRIPTION": "Runs the command in interactive mode.",
|
|
28
|
+
"CLI_SHOW_NOT_INTERACTIVE_COMMAND_MESSAGE": "Non-interactive execution:\n{0}",
|
|
29
|
+
"CLI_SHOW_NOT_INTERACTIVE_COMMAND_MESSAGE_CUSTOM_RECORDS": "Non-interactive execution:\nobject:update --includeinstances --scriptid {0}",
|
|
30
|
+
"CLI_TITLE": "SuiteCloud CLI for Node.js (NetSuite {0})",
|
|
31
|
+
"CLI_USAGE": "command [option]",
|
|
32
|
+
"CLI_VERSION_HELP": "Outputs the version number.",
|
|
33
|
+
|
|
34
|
+
"COMMAND_CUSTOMJOB_QUESTIONS_WHICH_JOB": "Which job would you like?",
|
|
35
|
+
|
|
36
|
+
"COMMAND_ADDDEPENDENCIES_MESSAGE_ADDING_DEPENDENCIES": "Adding dependencies...",
|
|
37
|
+
"COMMAND_ADDDEPENDENCIES_MESSAGE_DEPENDENCIES_ADDED_TO_MANIFEST": "The following dependencies were added to the manifest:",
|
|
38
|
+
"COMMAND_ADDDEPENDENCIES_MESSAGE_NO_UNRESOLVED_DEPENDENCIES": "There are no dependencies to add to the manifest.xml file.",
|
|
39
|
+
|
|
40
|
+
"COMMAND_CREATEFILE_ADD_SUITESCRIPT_MODULES": "Do you want to add SuiteScript modules to the file?",
|
|
41
|
+
"COMMAND_CREATEFILE_CHOOSE_SUITESCRIPT_TYPE": "What type of SuiteScript do you want to create?",
|
|
42
|
+
"COMMAND_CREATEFILE_ENTER_NAME": "Enter a name for the SuiteScript file.",
|
|
43
|
+
"COMMAND_CREATEFILE_MESSAGE_CREATING_FILE": "Creating SuiteScript file...",
|
|
44
|
+
"COMMAND_CREATEFILE_MESSAGE_SUITESCRIPT_FILE_CREATED": "The SuiteScript file was created successfully in {0}",
|
|
45
|
+
"COMMAND_CREATEFILE_MESSAGE_SUITESCRIPT_FILE_CREATED_WITH_MODULES": "The SuiteScript file was created successfully in {0}\nThe following modules were added to the script: {1}",
|
|
46
|
+
"COMMAND_CREATEFILE_SELECT_FOLDER": "Select the folder where you want to create the SuiteScript file",
|
|
47
|
+
"COMMAND_CREATEFILE_SELECT_SUITESCRIPT_MODULES": "Select the SuiteScript modules you want to add to the SuiteScript file",
|
|
48
|
+
|
|
49
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_CHOOSE_PROJECT_TYPE": "Select the project type you want to create.",
|
|
50
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_ENTER_PROJECT_ID": "Enter the project ID.",
|
|
51
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_ENTER_PROJECT_NAME": "Enter the project name.",
|
|
52
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_ENTER_PROJECT_VERSION": "Enter the project version.",
|
|
53
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_ENTER_PUBLISHER_ID": "Enter the publisher ID.",
|
|
54
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_INCLUDE_UNIT_TESTING": "Do you want to include unit testing with the Jest testing framework? ***This will install NPM module dependencies.",
|
|
55
|
+
"COMMAND_CREATEPROJECT_QUESTIONS_OVERWRITE_PROJECT": "Do you want to overwrite the {0} project? All the files and folders from the former project will be deleted and replaced by the new project.",
|
|
56
|
+
"COMMAND_CREATEPROJECT_MESSAGES_CREATING_PROJECT_STRUCTURE": "Creating the project structure...",
|
|
57
|
+
"COMMAND_CREATEPROJECT_MESSAGES_INIT_NPM_DEPENDENCIES": "Initializing npm dependencies for the testing environment...",
|
|
58
|
+
"COMMAND_CREATEPROJECT_MESSAGES_INIT_NPM_DEPENDENCIES_FAILED": "There was an error when installing npm dependencies. Check the npm log and run \"npm install\" again inside of the project you created.",
|
|
59
|
+
"COMMAND_CREATEPROJECT_MESSAGES_NAVIGATE_TO_FOLDER": "Navigate to {0} and run \"account:setup\" to link your project with your account.",
|
|
60
|
+
"COMMAND_CREATEPROJECT_MESSAGES_OVERWRITE_ERROR": "\"{0}\" already exists. You can overwrite it using the \"--overwrite\" option.",
|
|
61
|
+
"COMMAND_CREATEPROJECT_MESSAGES_PROCESS_FAILED": "The createproject process failed.",
|
|
62
|
+
"COMMAND_CREATEPROJECT_MESSAGES_PROJECT_CREATED": "The {0} project was created successfully.",
|
|
63
|
+
"COMMAND_CREATEPROJECT_MESSAGES_PROJECT_CREATION_CANCELED": "The creation process has been canceled.",
|
|
64
|
+
"COMMAND_CREATEPROJECT_MESSAGES_SAMPLE_UNIT_TEST_ADDED": "A sample unit test has been added in the \"__tests__\" folder of your project.",
|
|
65
|
+
"COMMAND_CREATEPROJECT_MESSAGES_SETUP_TEST_ENV": "Setting up the testing environment...",
|
|
66
|
+
|
|
67
|
+
"COMMAND_DEPLOY_ERRORS_APPLY_INSTALLATION_PREFERENCES_IN_ACP": "Installation preferences cannot be applied in an Account Customization Project.",
|
|
68
|
+
"COMMAND_DEPLOY_ERRORS_WRONG_ACCOUNT_SPECIFIC_VALUES_OPTION": "You have specified an invalid value for the \"--accountspecficvalues\" option. Enter either WARNING or ERROR.",
|
|
69
|
+
"COMMAND_DEPLOY_QUESTIONS_ACCOUNT_SPECIFIC_VALUES": "What do you want to do if the project contains account-specific values?",
|
|
70
|
+
"COMMAND_DEPLOY_QUESTIONS_APPLY_INSTALLATION_PREFERENCES": "Do you want to apply installation preferences?",
|
|
71
|
+
"COMMAND_DEPLOY_QUESTIONS_CHOICES_ACCOUNT_SPECIFIC_VALUES_CANCEL_PROCESS": "Cancel the process",
|
|
72
|
+
"COMMAND_DEPLOY_QUESTIONS_CHOICES_ACCOUNT_SPECIFIC_VALUES_DISPLAY_WARNING": "Display a warning",
|
|
73
|
+
"COMMAND_DEPLOY_QUESTIONS_PERFORM_LOCAL_VALIDATION": "Do you want to validate locally before deploying?",
|
|
74
|
+
"COMMAND_DEPLOY_MESSAGES_APPLYING_INSTALLATION_PREFERENCES": "The \"{0}\" project has been deployed applying installation preferences.",
|
|
75
|
+
"COMMAND_DEPLOY_MESSAGES_DEPLOYING": "Deploying project \"{0}\" with auth ID \"{1}\"...",
|
|
76
|
+
"COMMAND_DEPLOY_MESSAGES_LOCALLY_VALIDATED": "The \"{0}\" project has been locally validated.",
|
|
77
|
+
"COMMAND_DEPLOY_MESSAGES_NOT_APPLYING_INSTALLATION_PREFERENCES": "The \"{0}\" project has been deployed without applying installation preferences.",
|
|
78
|
+
"COMMAND_DEPLOY_MESSAGES_NOT_ASKING_INSTALLATION_PREFERENCES_REASON": "Installation preferences were not applied because the hiding.xml and locking.xml files were not found in the \"InstallationPreferences\" folder of the project. You need to create the two files in order to apply installation preferences.\nFor more information about installation preferences, see {0}",
|
|
79
|
+
"COMMAND_DEPLOY_MESSAGES_PREVIEWING": "Previewing project \"{0}\" with auth ID \"{1}\"...",
|
|
80
|
+
"COMMAND_DEPLOY_ERRORS_VALIDATE_AND_DRYRUN_OPTIONS_PASSED": "The \"--validate\" and \"--dryrun\" options are mutually exclusive. Use one of the two at a time.",
|
|
81
|
+
|
|
82
|
+
"COMMAND_HELLO_TEST": "👋🏻 You are in aux:hello. You said: `{0}`",
|
|
83
|
+
"COMMAND_HELLO_TEST2": "Nicely Done!",
|
|
84
|
+
"COMMAND_IMPORTFILES_ERRORS_INTERNAL": "Something went wrong with {0}, error: {1}",
|
|
85
|
+
"COMMAND_IMPORTFILES_ERRORS_IS_SUITEAPP": "The files could not be imported. You are trying to import files to a SuiteApp project. You can only import files to Account Customization Projects.",
|
|
86
|
+
"COMMAND_IMPORTFILES_ERRORS_NO_FOLDERS_FOUND": "No folders available.",
|
|
87
|
+
"COMMAND_IMPORTFILES_MESSAGES_CANCEL_IMPORT": "The importing process has been canceled.",
|
|
88
|
+
"COMMAND_IMPORTFILES_MESSAGES_IMPORTING_FILES": "Importing files...",
|
|
89
|
+
"COMMAND_IMPORTFILES_MESSAGES_LOADING_FILES": "Loading files...",
|
|
90
|
+
"COMMAND_IMPORTFILES_MESSAGES_LOADING_FOLDERS": "Loading File Cabinet folders...",
|
|
91
|
+
"COMMAND_IMPORTFILES_OUTPUT_FILES_IMPORTED": "The following files were imported:",
|
|
92
|
+
"COMMAND_IMPORTFILES_OUTPUT_FILES_NOT_COMPARED": "The following files were not compared:",
|
|
93
|
+
"COMMAND_IMPORTFILES_OUTPUT_FILES_NOT_IMPORTED": "The following files were not imported:",
|
|
94
|
+
"COMMAND_IMPORTFILES_OUTPUT_FILE_NOT_UPDATED": "The following file was not updated:",
|
|
95
|
+
"COMMAND_IMPORTFILES_OUTPUT_FILE_UPDATED": "The following file was updated:",
|
|
96
|
+
"COMMAND_IMPORTFILES_QUESTIONS_EXCLUDE_PROPERTIES": "Do you want to exclude all file properties within the .attributes folder?",
|
|
97
|
+
"COMMAND_IMPORTFILES_QUESTIONS_OVERWRITE_FILES": "All the files in the project will be overwritten with the files from the account. Do you want to continue?",
|
|
98
|
+
"COMMAND_IMPORTFILES_QUESTIONS_SELECT_FILES": "Select the files you want to import to your project.",
|
|
99
|
+
"COMMAND_IMPORTFILES_QUESTIONS_SELECT_FOLDER": "Select the path from where you want to import the files",
|
|
100
|
+
"COMMAND_IMPORTFILES_WARNINGS_OVERRIDE": "The imported files will overwrite the project files",
|
|
101
|
+
|
|
102
|
+
"COMMAND_IMPORTOBJECTS_ERRORS_COMMAND_IMPORTOBJECTS": "Error while calling listobjects. Details:{0}{1}",
|
|
103
|
+
"COMMAND_IMPORTOBJECTS_ERRORS_PROCESS_FAILED": "The importobjects process failed.",
|
|
104
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_CANCEL_IMPORT": "The importing process has been canceled.",
|
|
105
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_IMPORTING_OBJECTS": "Importing objects: running step {0} of {1}...",
|
|
106
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_LOADING_LIST_OF_OBJECTS": "Loading list of objects...",
|
|
107
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_LOADING_OBJECTS": "Loading objects...",
|
|
108
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_NO_OBJECTS_IMPORTED": "No objects imported.",
|
|
109
|
+
"COMMAND_IMPORTOBJECTS_MESSAGES_NO_OBJECTS_TO_LIST": "There are no objects matching your search criteria. Select a different set of object types, and if applicable, check the specified application ID or script ID.",
|
|
110
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_IMPORTED_OBJECTS": "The following objects have been imported:",
|
|
111
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_OBJECT_IMPORT_FAILED": "{0}:{1} failed: {2}.",
|
|
112
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_OBJECT_IMPORT_ERROR": "The following objects failed with reason \"{0}\":",
|
|
113
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_REFERENCED_SUITESCRIPT_FILES": "Referenced SuiteScript files:",
|
|
114
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_REFERENCED_SUITESCRIPT_FILE_IMPORTED": "{0} Imported.",
|
|
115
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_REFERENCED_SUITESCRIPT_FILE_IMPORT_FAILED": "{0} failed: {1}.",
|
|
116
|
+
"COMMAND_IMPORTOBJECTS_OUTPUT_UNIMPORTED_OBJECTS": "The following objects have not been imported:",
|
|
117
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_APPID": "Enter the application ID.",
|
|
118
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_IMPORT_REFERENCED_SUITESCRIPTS": "Do you want to import the SuiteScript files referenced in the objects?",
|
|
119
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_FILTER_BY_CUSTOM_OBJECTS": "Select the object types you want to import.",
|
|
120
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_FILTER_BY_SCRIPT_ID": "Do you want to enter a script ID to filter your list?",
|
|
121
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_SELECT_OBJECTS": "Select the objects you want to import",
|
|
122
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_SCRIPT_ID": "Enter the full or partial script ID.",
|
|
123
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_SHOW_ALL_CUSTOM_OBJECTS": "Do you want to import all object types?",
|
|
124
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_SPECIFIC_APPID": "Do you want to import objects from a specific SuiteApp?",
|
|
125
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_DESTINATION_FOLDER": "Select the folder where you want to import the objects.",
|
|
126
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_OVERWRITE_OBJECTS": "All the selected objects in the project will be overwritten with the objects from the account. Do you want to continue?",
|
|
127
|
+
"COMMAND_IMPORTOBJECTS_QUESTIONS_OVERWRITE_OBJECTS_AND_FILES": "All the selected objects and their referenced SuiteScript files in the project will be overwritten with the objects and files from the account. Do you want to continue?",
|
|
128
|
+
"COMMAND_IMPORTOBJECTS_WARNINGS_OVERRIDE": "The imported objects will overwrite the project objects",
|
|
129
|
+
|
|
130
|
+
"COMMAND_LISTFILES_ERRORS_NO_FOLDERS_FOUND": "No folders available.",
|
|
131
|
+
"COMMAND_LISTFILES_GETTING_INERNAL_ERROR": "Error while getting {0}. Details:{1}{2}",
|
|
132
|
+
"COMMAND_LISTFILES_LOADING_FILES": "Loading files...",
|
|
133
|
+
"COMMAND_LISTFILES_LOADING_FOLDERS": "Loading File Cabinet folders...",
|
|
134
|
+
"COMMAND_LISTFILES_SELECT_FOLDER": "Select the File Cabinet folder for which you want to get a file list.",
|
|
135
|
+
|
|
136
|
+
"COMMAND_LISTOBJECTS_LISTING_OBJECTS": "Listing objects from account...",
|
|
137
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_APPID": "Enter the application ID.",
|
|
138
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_FILTER_BY_CUSTOM_OBJECTS": "Select the object types you want to list.",
|
|
139
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_FILTER_BY_SCRIPT_ID": "Do you want to enter a script ID to filter your list?",
|
|
140
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_SCRIPT_ID": "Enter the full or partial script ID.",
|
|
141
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_SHOW_ALL_CUSTOM_OBJECTS": "Do you want to list all object types?",
|
|
142
|
+
"COMMAND_LISTOBJECTS_QUESTIONS_SPECIFIC_APPID": "Do you want to list objects from a specific SuiteApp?",
|
|
143
|
+
"COMMAND_LISTOBJECTS_SUCCESS_OBJECTS_IMPORTED": "The following objects were found in your account:",
|
|
144
|
+
"COMMAND_LISTOBJECTS_SUCCESS_NO_OBJECTS": "There are no objects matching your search criteria. Select a different set of object types, and if applicable, check the specified application ID and script ID.",
|
|
145
|
+
|
|
146
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_CREDENTIALS_EMPTY": "There is no authentication ID (a custom alias you give to a specific account-role combination) configured for this account-role combination. Run \"account:setup\" to set up a NetSuite account to use with SuiteCloud CLI for Node.js.",
|
|
147
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_CREDENTIALS_NOT_FOUND": "The \"{0}\" authentication ID is not available. Check your authentication credentials and try again.",
|
|
148
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_OPTION_NOT_SPECIFIED": "You have not specified any option. Run \"account:manageauth --help\" to check which options are available.",
|
|
149
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_BROWSER_BASED_NOT_ALLOWED": "Browser-based authentication is not allowed for the current execution context.\nFor more information, see {0}.",
|
|
150
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_MACHINE_TO_MACHINE_NOT_ALLOWED": "Machine-to-machine authentication is not allowed for the current execution context.\nFor more information, see {0}.",
|
|
151
|
+
"COMMAND_MANAGE_ACCOUNT_ERROR_NON_CONSISTENT_AUTH_STATE": "The following environment variables are currently set: {0}.\nThe operation you are trying to perform is not allowed with the current environment variable configuration.\nFor more information, see {1}.",
|
|
152
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_ACCOUNT_ID": "Account ID: {0}",
|
|
153
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_ACCOUNT_NAME": "Account Name: {0}",
|
|
154
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_ACCOUNT_TYPE": "Account Type: {0}",
|
|
155
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_AUTHID": "Authentication ID: {0}",
|
|
156
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_DOMAIN": "Domain: {0}",
|
|
157
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_ACCOUNT_INFO_ROLE": "Role: {0}",
|
|
158
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_CANCEL": "The manageauth process has been canceled.",
|
|
159
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_INFO": "Loading \"{0}\" authentication ID information...",
|
|
160
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_LISTING": "Loading the configured authentication IDs in this machine...",
|
|
161
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_REMOVING": "Removing credentials...",
|
|
162
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_RENAMING": "Renaming credentials...",
|
|
163
|
+
"COMMAND_MANAGE_ACCOUNT_MESSAGES_REVOKING": "Revoking credentials...",
|
|
164
|
+
"COMMAND_MANAGE_ACCOUNT_OUTPUT_SUCCESS": "The authentication ID was successfully updated.",
|
|
165
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_CHOICES_ACTIONS_EXIT": "Exit the process.",
|
|
166
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_CHOICES_ACTIONS_REMOVE": "Remove the authentication ID.",
|
|
167
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_CHOICES_ACTIONS_RENAME": "Rename the authentication ID.",
|
|
168
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_CHOICES_ACTIONS_REVOKE": "Revoke Credentials.",
|
|
169
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_NEW_NAME": "Enter a new name for the authentication ID:",
|
|
170
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_SELECT_CREDENTIALS": "Select an authentication ID (a custom alias you give to a specific account-role combination) to see its details:",
|
|
171
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_SELECT_ACTION": "Select one of the following actions:",
|
|
172
|
+
"COMMAND_MANAGE_ACCOUNT_QUESTIONS_VERIFY_REMOVE": "You will remove the credentials locally, but the tokens are not revoked in the account. Do you want to proceed?",
|
|
173
|
+
|
|
174
|
+
"COMMAND_OPTIONS_HELP": "Displays help for the command.",
|
|
175
|
+
"COMMAND_OPTIONS_INTERACTIVE_HELP": "Runs the {0} command in interactive mode.",
|
|
176
|
+
"COMMAND_OPTIONS_IS_MANDATORY": "\"{0}\" option is mandatory.",
|
|
177
|
+
"COMMAND_OPTIONS_VALIDATION_ERRORS": "There are validation errors:",
|
|
178
|
+
"COMMAND_OPTIONS_VALIDATION_ERRORS_INTERACTIVE_SUGGESTION": "You can use the interactive mode by running \"{0} -i\"",
|
|
179
|
+
|
|
180
|
+
"COMMAND_PACKAGE_LOCAL_VALIDATION_NOT_EXECUTED": "The project is being packaged without validation. Make sure the project is validated.",
|
|
181
|
+
"COMMAND_PACKAGE_PACKAGING": "Packaging...",
|
|
182
|
+
|
|
183
|
+
"COMMAND_SDK_WRAPPER_EXECUTING_COMMAND": "Executing {0}...",
|
|
184
|
+
|
|
185
|
+
"COMMAND_REFRESH_AUTHORIZATION_MESSAGES_AUTHORIZATION_REFRESH_COMPLETED": "Authorization refresh completed.",
|
|
186
|
+
"COMMAND_REFRESH_AUTHORIZATION_MESSAGES_CREDENTIALS_NEED_TO_BE_REFRESHED": "The authorization credentials associated with {0} auhtid are no longer valid. Starting the browser-based authentication for refreshing them.",
|
|
187
|
+
|
|
188
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_NEW_AUTH_ID": "Enter an authentication ID:",
|
|
189
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_SELECT_AUTHID": "Select or create an authentication ID (a custom alias you give to a specific account-role combination):\n ***The authentication ID that you select or create will be set up as default.",
|
|
190
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_CHOICES_SELECT_AUTHID_NEW_AUTH_ID": "Create a new authentication ID.",
|
|
191
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_CHOICES_SELECT_AUTHID_EXISTING_AUTH_ID": "{0} | {1} {2}",
|
|
192
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_CHOICES_SELECT_AUTHID_EXISTING_AUTH_ID_URL_NOT_PRODUCTION": "| {0}",
|
|
193
|
+
"COMMAND_SETUPACCOUNT_QUESTIONS_URL": "Enter your NetSuite domain:",
|
|
194
|
+
"COMMAND_SETUPACCOUNT_MESSAGES_CANCEL_SETUP": "The setupaccount process has been canceled.",
|
|
195
|
+
"COMMAND_SETUPACCOUNT_MESSAGES_ROTATE_PASSWORD_WARNING": "Authentication is currently using the credentials passkey in fallback mode. If you choose to continue using fallback mode, you should update the passkey regularly.\nFor enhanced security, consider setting up secure storage in your system.\nFor more information, see {0}.",
|
|
196
|
+
"COMMAND_SETUPACCOUNT_MESSAGES_SELECT_CONFIGURED_AUTHID": "Select a configured authentication ID:",
|
|
197
|
+
"COMMAND_SETUPACCOUNT_OUTPUT_NEW_OAUTH": "The account has been authenticated for the following company and role: {0} [{1}]. This project will use the authentication ID \"{2}\" as default. If you want to change your default credentials, run \"account:setup\" again.",
|
|
198
|
+
"COMMAND_SETUPACCOUNT_OUTPUT_REUSED_AUTH_ID": "This project will use the authentication ID \"{0}\" as default for the following company and role: {1} [{2}]. If you want to change your default credentials, run \"account:setup\" again.",
|
|
199
|
+
|
|
200
|
+
"COMMAND_SETUPACCOUNTCI_OUTPUT_NEW_OAUTH": "The authentication was successful with the following account and role: {0} [{1}]. This project will use the authentication ID \"{2}\" as default.",
|
|
201
|
+
"COMMAND_SETUPACCOUNTCI_OUTPUT_SELECT_DEFAULT_ACCOUNT": "The authentication ID was successfully changed. This project will use the auth ID \"{0}\" as default.",
|
|
202
|
+
"COMMAND_SETUPACCOUNTCI_OPTIONS_IS_MANDATORY_SETUP_MODE": "\"{0}\" option is mandatory in setup mode.",
|
|
203
|
+
"COMMAND_SETUPACCOUNTCI_OPTIONS_IS_NOT_ALLOWED_SELECT_MODE": "\"{0}\" option is not allowed in select mode.",
|
|
204
|
+
"COMMAND_SETUPACCOUNTCI_NOT_EXISTING_AUTH_ID" : "Authentication ID \"{0}\" does not exist.",
|
|
205
|
+
|
|
206
|
+
"COMMAND_UPDATE_ERRORS_CUSTOM_RECORD": "{0} was not updated. {1}",
|
|
207
|
+
"COMMAND_UPDATE_ERRORS_NO_OBJECTS_IN_PROJECT": "The \"Objects\" folder of your project does not contain any objects. Run \"object:import -i\" to import objects from your account to your project.",
|
|
208
|
+
"COMMAND_UPDATE_QUESTIONS_FILTER_BY_SCRIPT_ID": "Do you want to enter a script ID to filter your search?",
|
|
209
|
+
"COMMAND_UPDATE_QUESTIONS_INCLUDE_CUSTOM_INSTANCES": "Do you want to include Custom Instances from the account?",
|
|
210
|
+
"COMMAND_UPDATE_QUESTIONS_OVERWRITE_OBJECTS": "All the selected objects in the project will be overwritten with the objects from the account. Do you want to continue?",
|
|
211
|
+
"COMMAND_UPDATE_QUESTIONS_OVERWRITE_OBJECTS_WITH_CUSTOM_INSTANCES": "All Custom Instances, Record Definition, and Custom Fields will be overwritten with the values from the account, do you want to continue?",
|
|
212
|
+
"COMMAND_UPDATE_QUESTIONS_SCRIPT_ID": "Select the objects you want to update from your account:",
|
|
213
|
+
"COMMAND_UPDATE_QUESTIONS_SCRIPT_ID_FILTER": "Enter the full or partial script ID:",
|
|
214
|
+
"COMMAND_UPDATE_MESSAGES_CANCEL_UPDATE": "The updating process was canceled. No objects were overwritten.",
|
|
215
|
+
"COMMAND_UPDATE_MESSAGES_NO_OBJECTS_WITH_SCRIPT_ID_FILTER": "There are no objects matching your search criteria. Check the specified script ID, and try again.",
|
|
216
|
+
"COMMAND_UPDATE_MESSAGES_UPDATING_OBJECTS": "Updating objects...",
|
|
217
|
+
"COMMAND_UPDATE_MESSAGES_UPDATING_OBJECT_WITH_CUSTOM_INSTANCES": "Updating object \"{0}\" with custom instances",
|
|
218
|
+
"COMMAND_UPDATE_OUTPUT_UPDATED_CUSTOM_RECORDS": "The following custom records were updated with instances from the account to your project:",
|
|
219
|
+
"COMMAND_UPDATE_OUTPUT_NO_UPDATED_OBJECTS": "The following objects were not updated from the account to your project:",
|
|
220
|
+
"COMMAND_UPDATE_OUTPUT_UPDATED_OBJECTS": "The following objects were updated from the account to your project:",
|
|
221
|
+
|
|
222
|
+
"COMMAND_UPLOADFILES_QUESTIONS_OVERWRITE_FILES": "The selected files will be overwritten in the File Cabinet. Do you want to continue?",
|
|
223
|
+
"COMMAND_UPLOADFILES_QUESTIONS_SELECT_FILES": "Select the files you want to upload to the File Cabinet.",
|
|
224
|
+
"COMMAND_UPLOADFILES_QUESTIONS_SELECT_FOLDER": "Select folder from where you want to upload files to the File Cabinet.",
|
|
225
|
+
"COMMAND_UPLOADFILES_MESSAGES_CANCEL_UPLOAD": "The file upload process has been canceled. No files have been overwritten.",
|
|
226
|
+
"COMMAND_UPLOADFILES_MESSAGES_EMPTY_FOLDER": "No Files",
|
|
227
|
+
"COMMAND_UPLOADFILES_MESSAGES_NOTHING_TO_UPLOAD": "All folders are either restricted or have no files.",
|
|
228
|
+
"COMMAND_UPLOADFILES_MESSAGES_RESTRICTED_FOLDER": "Restricted Folder",
|
|
229
|
+
"COMMAND_UPLOADFILES_MESSAGES_UPLOADING_FILES": "Uploading files...",
|
|
230
|
+
"COMMAND_UPLOADFILES_OUTPUT_FILES_UPLOADED": "The following files were uploaded:",
|
|
231
|
+
"COMMAND_UPLOADFILES_OUTPUT_FILES_NOT_UPLOADED": "The following files were not uploaded:",
|
|
232
|
+
"COMMAND_UPLOADFILES_ERROR_RESTRICTED_FOLDER": "The file is inside an invalid or restricted folder",
|
|
233
|
+
|
|
234
|
+
"COMMAND_VALIDATE_MESSAGES_APPLYING_INSTALLATION_PREFERENCES": "The \"{0}\" project has been validated locally applying installation preferences.",
|
|
235
|
+
"COMMAND_VALIDATE_MESSAGES_NOT_APPLYING_INSTALLATION_PREFERENCES": "The \"{0}\" project has been validated locally without applying installation preferences.",
|
|
236
|
+
"COMMAND_VALIDATE_MESSAGES_VALIDATING": "Validating project \"{0}\" with auth ID \"{1}\"",
|
|
237
|
+
"COMMAND_VALIDATE_QUESTIONS_SERVER_SIDE": "How do you want to validate your project?",
|
|
238
|
+
"COMMAND_VALIDATE_QUESTIONS_APPLY_INSTALLATION_PREFERENCES": "Do you want to apply installation preferences?",
|
|
239
|
+
"COMMAND_VALIDATE_QUESTIONS_ACCOUNT_SPECIFIC_VALUES": "What do you want to do if the project contains account-specific values?",
|
|
240
|
+
"COMMAND_VALIDATE_QUESTIONS_CHOICES_AGAINST_ACCOUNT": "Against account",
|
|
241
|
+
"COMMAND_VALIDATE_QUESTIONS_CHOICES_LOCAL": "Locally",
|
|
242
|
+
"COMMAND_VALIDATE_QUESTIONS_CHOICES_IGNORE": "Ignore the account-specific values",
|
|
243
|
+
"COMMAND_VALIDATE_QUESTIONS_CHOICES_WARNING": "Display a warning",
|
|
244
|
+
"COMMAND_VALIDATE_QUESTIONS_CHOICES_CANCEL": "Cancel the process",
|
|
245
|
+
"COMMAND_VALIDATE_OUTPUT_HEADING_LABEL_WARNING": "The following warnings were found during local validation",
|
|
246
|
+
"COMMAND_VALIDATE_OUTPUT_HEADING_LABEL_ERROR": "The following errors were found during local validation",
|
|
247
|
+
"COMMAND_VALIDATE_OUTPUT_VALIDATION_OUTPUT_MESSAGE": " - Line No. {0} - {1}",
|
|
248
|
+
|
|
249
|
+
"ERRORS_ADD_ERROR_LINE": "\nError: {0}",
|
|
250
|
+
"ERRORS_CANT_CREATE_FOLDER": "There was an error when creating the {0} folder. Verify that the path is correct.\nError code: {1}",
|
|
251
|
+
"ERRORS_CLI_CONFIG_BEFORE_EXECUTING_FAILED": "There was an error while executing the \"beforeExecuting\" function of the \"config\" module defined in the project. Details:{0}{1}",
|
|
252
|
+
"ERRORS_CLI_CONFIG_BEFORE_EXECUTING_WRONG_RETURN_VALUE": "The return value of the function should be an object with the property \"arguments\" of type \"object\".",
|
|
253
|
+
"ERRORS_CLI_CONFIG_ERROR_LOADING_AUTHORIZATION_MODULE": "Authid in config file is not supported yet. The authorization id should be provided as a command line argument --authid",
|
|
254
|
+
"ERRORS_CLI_CONFIG_ERROR_LOADING_CONFIGURATION_MODULE": "There was an error while loading configuration file {0}. Review the file and try again. Details:{1}{2}",
|
|
255
|
+
"ERRORS_CLI_SDK_JAVA_VERSION_NOT_COMPATIBLE": "Your Java version {0} is not compatible with CLI for Node.js. Install any of the following Oracle JDK versions: {1}.",
|
|
256
|
+
"ERRORS_CLI_SDK_JAVA_VERSION_NOT_INSTALLED": "Java is not installed on this machine. Install any of the following Oracle JDK versions: {0}, to run CLI for Node.js.",
|
|
257
|
+
"ERRORS_COMMAND_DOES_NOT_EXIST": "The \"{0}\" command does not exist. Run \"-h\" to see the supported commands.",
|
|
258
|
+
"ERRORS_COMMAND_DOES_NOT_SUPPORT_INTERACTIVE_MODE": "The \"{0}\" command does not support interactive mode. Run \"{0} --help\" to see how to run the command.",
|
|
259
|
+
"ERRORS_FILE": "There was an error in the file {0}: \n",
|
|
260
|
+
"ERRORS_FILE_NOT_EXIST": "The file {0} was not found in the project.",
|
|
261
|
+
"ERRORS_GENERAL_CONNECTION_PROBLEM": "There was an error when communicating with the server. Try again later.",
|
|
262
|
+
"ERRORS_INTERACTIVE_MODE_MORE_OPTIONS": "The '-i' option cannot be used in combination with other options. Use either the '-i' option, or the other options you specified.",
|
|
263
|
+
"ERRORS_MISSING_DEFAULT_AUTH_ID": "The \"{0}\" property or \"{1}\" option is missing.",
|
|
264
|
+
"ERRORS_NO_OBJECTS": "There are no objects matching your search criteria. Select a different set of object types, and if applicable, check the specified application ID and script ID.",
|
|
265
|
+
"ERRORS_NOT_PROJECT_FOLDER": "No {0} file was found in {1}. Run \"{2}\" in a valid project folder.",
|
|
266
|
+
"ERRORS_PROCESS_FAILED": "The process has failed.",
|
|
267
|
+
"ERRORS_PROMPTING_INTERACTIVE_QUESTIONS_FAILED": "There was an internal error while prompting interactive questions. Details:{0}{1}",
|
|
268
|
+
"ERRORS_RUN_SETUP_ACCOUNT": "Run \"account:setup\" to restore the account configuration for the project.",
|
|
269
|
+
"ERRORS_SCRUMBOX_URL_NOT_FOUND": "The {0} domain does not exist. Check the NetSuite domain and try again.\n\n{1}",
|
|
270
|
+
"ERRORS_SDKEXECUTOR_NO_JAR_FILE_FOUND": "There is no JAR file in your CLI for Node.js. Run \"npm install\" from \"{0}\" to install the JAR file.",
|
|
271
|
+
"ERRORS_SDKEXECUTOR_RUNNING_COMMAND": "There was an internal error while running the command. Details: {0}",
|
|
272
|
+
"ERRORS_SDKEXECUTOR_SDK_ERROR": "ERROR: SDK exited with code {0}\n{1}",
|
|
273
|
+
"ERRORS_SDK_SETTINGS_FILE_WRONG_JSON_SYNTAX": "Your {0} file is not valid. Ensure the content of the file is correct, or delete the file.\n{1}",
|
|
274
|
+
"ERRORS_SDK_SETTINGS_FILE_INVALID_CUSTOM_VM_OPTION": "There is an error with the \"vmOptions\" you set up in {0}.\n{1}",
|
|
275
|
+
"ERRORS_SDK_SETTINGS_FILE_GENERIC_PROBLEM": "There is an error with the {0} file.\n{1}",
|
|
276
|
+
"ERRORS_SEE_PROJECT_STRUCTURE": "For more information about the project structure, see {0}",
|
|
277
|
+
"ERRORS_SETUP_REQUIRED": "No account has been set up for this project. Run \"account:setup\" to link your project with your account.",
|
|
278
|
+
"ERRORS_TIMED_OUT_CONNECTION": "The connection has timed out. If you are behind a proxy, you must configure the same proxy server in CLI for Node.js. Run \"config:proxy -h\" to learn how to set up a proxy server.",
|
|
279
|
+
"ERRORS_XML_MANIFEST_TAG_MISSING": "The manifest.xml file does not contain the manifest tag.",
|
|
280
|
+
"ERRORS_XML_PROJECTTYPE_ATTRIBUTE_MISSING": "The manifest field does not contain the projecttype attribute in the manifest.xml file.",
|
|
281
|
+
"ERRORS_XML_PROJECTTYPE_INCORRECT": "The projecttype attribute within the manifest field in the manifest.xml file must be either SUITEAPP or ACCOUNTCUSTOMIZATION.",
|
|
282
|
+
"ERRORS_WRITING_PROJECT_JSON": "There was an error when editing the project.json file.{0}",
|
|
283
|
+
"ERRORS_WRITING_FILE": "There was a problem while creating the file {0}.\n Error: {1}",
|
|
284
|
+
"ERRORS_WRONG_JSON_FILE": "There was a problem when reading the {0} file.\n{1}",
|
|
285
|
+
|
|
286
|
+
"NO": "No",
|
|
287
|
+
|
|
288
|
+
"SDK_DOWNLOAD_SERVICE_ERROR": "There was an error when downloading SuiteCloud SDK dependency from {0}\n{1}",
|
|
289
|
+
"SDK_DOWNLOAD_SERVICE_FILE_NOT_AVAILABLE_ERROR": "The JAR file is not available from this URL.",
|
|
290
|
+
"SDK_DOWNLOAD_SERVICE_GET_TIMEOUT": "GET request timeout.",
|
|
291
|
+
"SDK_DOWNLOAD_SERVICE_WRONG_DOWNLOAD_URL_PROTOCOL": "Invalid SDK jar file download url protocol. Only http: or https: are allowed.",
|
|
292
|
+
|
|
293
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_ALREADY_USED_PORT" : "Port {0} is already being used. Choose a different port and try again.\n{1}",
|
|
294
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_INTERNAL_PROXY_SERVER_ERROR" : "There was an internal problem in the SuiteCloud client server while listening on the port {0}.\n{1}",
|
|
295
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_MISSING_AUTH_ID": "It looks like we're missing your auth ID. Add it and we'll continue.",
|
|
296
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_MISSING_PORT": "It looks like we're missing the port. Enter it and we'll continue.",
|
|
297
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_NEED_TO_REAUTHENTICATE" : "Manual authentication is needed. Sign in again to continue.",
|
|
298
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_NOT_EXISTING_AUTH_ID" : "We couldn't find the auth ID \"{0}\". Check it and we'll continue.",
|
|
299
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_PORT_MUST_BE_NUMBER" : "The required parameter port must be a number. Correct it and we'll continue.",
|
|
300
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_REQUEST_PATH_NOT_ALLOWED_ERROR" : "Invalid request. The request path must start with {0}.",
|
|
301
|
+
"SUITECLOUD_AUTH_PROXY_SERVICE_UNAUTHORIZED_PROXY_REQUEST": "Unauthorized: The API key is missing or invalid.",
|
|
302
|
+
|
|
303
|
+
"UNIT_TEST_TEST_FAILED": "The tests failed.",
|
|
304
|
+
"UNIT_TEST_TEST_FAILURES_PRESENT": "There are some Test failures. The deployment will not continue.",
|
|
305
|
+
|
|
306
|
+
"UTILS_ACCOUNT_SPECIFIC_VALUES_ARGUMENT_HANDLER_ERRORS_APPLY_ACCOUNT_SPECIFIC_VALUES_IN_SUITEAPP": "Account-specific values cannot be applied to SuiteApps.",
|
|
307
|
+
"UTILS_ACCOUNT_SPECIFIC_VALUES_ARGUMENT_HANDLER_ERRORS_WRONG_ACCOUNT_SPECIFIC_VALUES_OPTION": "You have specified an invalid value for the \"--accountspecficvalues\" option. Enter either WARNING or ERROR.",
|
|
308
|
+
"UTILS_AUTHENTICATION_AUTHENTICATING": "Authenticating...",
|
|
309
|
+
"UTILS_AUTHENTICATION_AUTHORIZING": "Authorizing...",
|
|
310
|
+
"UTILS_AUTHENTICATION_LOADING_AUTHIDS": "Loading the configured authentication IDs in this machine...",
|
|
311
|
+
"UTILS_AUTHENTICATION_SUCCESS_SETUP": "The account has been successfully set up.",
|
|
312
|
+
"UTILS_AUTHENTICATION_SAVING_STARTING_OAUTH_FLOW": "Continue the authentication process in the prompted browser.",
|
|
313
|
+
"UTILS_ERRORS_COMMAND": "There was an error with the {0} command. {1}",
|
|
314
|
+
|
|
315
|
+
"YES": "Yes"
|
|
316
|
+
}
|
|
317
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@suitegeezus/suitecloud-cli",
|
|
3
|
+
"version": "3.1.4",
|
|
4
|
+
"license": "UPL-1.0",
|
|
5
|
+
"description": "SuiteCloud CLI for Node.js",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"NetSuite",
|
|
8
|
+
"SDF",
|
|
9
|
+
"SuiteApp",
|
|
10
|
+
"SuiteCloud",
|
|
11
|
+
"SuiteScripts",
|
|
12
|
+
"SuiteGeezus"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/oracle/netsuite-suitecloud-sdk/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/oracle/netsuite-suitecloud-sdk.git#master"
|
|
23
|
+
},
|
|
24
|
+
"main": "./src/suitecloud.js",
|
|
25
|
+
"preferGlobal": true,
|
|
26
|
+
"sdkFilename": "cli-2025.2.1.jar",
|
|
27
|
+
"nsCompatibleVersion": "2025.2",
|
|
28
|
+
"configFile": [
|
|
29
|
+
"sdf.config",
|
|
30
|
+
"suitecloud.config"
|
|
31
|
+
],
|
|
32
|
+
"sdkDownloadUrl": "https://system.netsuite.com/download/suitecloud-sdk/25.2",
|
|
33
|
+
"bin": {
|
|
34
|
+
"sdf": "src/suitecloud.js"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"chalk": "5.4.1",
|
|
38
|
+
"cli-spinner": "0.2.10",
|
|
39
|
+
"commander": "11.1.0",
|
|
40
|
+
"inquirer": "12.6.3",
|
|
41
|
+
"xml2js": "0.6.2"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"jest": "29.7.0"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"test": "jest",
|
|
48
|
+
"postinstall": "node postinstall.js",
|
|
49
|
+
"pack": "npm pack"
|
|
50
|
+
}
|
|
51
|
+
}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
require('./src/core/sdksetup/SdkLicense').show();
|
|
8
|
+
require('./src/core/sdksetup/SdkDownloadService').download();
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Copyright (c) 2022 Oracle and/or its affiliates.
|
|
2
|
+
|
|
3
|
+
Oracle Free Use Terms and Conditions
|
|
4
|
+
|
|
5
|
+
Definitions
|
|
6
|
+
|
|
7
|
+
"Oracle" refers to Oracle America, Inc. "You" and "Your" refers to
|
|
8
|
+
(a) a company or organization (each an "Entity") accessing the Programs, if use
|
|
9
|
+
of the Programs will be on behalf of such Entity;
|
|
10
|
+
or (b) an individual accessing the Programs, if use of the Programs will not be
|
|
11
|
+
on behalf of an Entity.
|
|
12
|
+
"Program(s)" refers to Oracle software provided by Oracle pursuant to
|
|
13
|
+
the following terms and any updates, error corrections, and/or Program
|
|
14
|
+
Documentation provided by Oracle. "Program Documentation" refers to Program
|
|
15
|
+
user manuals and Program installation manuals, if any.
|
|
16
|
+
If available, Program Documentation may be delivered with the Programs and/or
|
|
17
|
+
may be accessed from www.oracle.com/documentation.
|
|
18
|
+
"Separate Terms" refers to separate license terms that are specified in the
|
|
19
|
+
Program Documentation, readmes or notice files and that apply to Separately
|
|
20
|
+
Licensed Technology. "Separately Licensed Technology" refers to Oracle or third
|
|
21
|
+
party technology that is licensed under Separate Terms and not under the terms
|
|
22
|
+
of this license.
|
|
23
|
+
|
|
24
|
+
Separately Licensed Technology
|
|
25
|
+
|
|
26
|
+
Oracle may provide certain notices to You in Program Documentation, readmes or
|
|
27
|
+
notice files in connection with Oracle or third party technology provided as or
|
|
28
|
+
with the Programs. If specified in the Program Documentation, readmes or notice
|
|
29
|
+
files, such technology will be licensed to You under Separate Terms.
|
|
30
|
+
Your rights to use Separately Licensed Technology under Separate Terms are not
|
|
31
|
+
restricted in any way by the terms herein. For clarity, notwithstanding the
|
|
32
|
+
existence of a notice, third party technology that is not Separately Licensed
|
|
33
|
+
Technology shall be deemed part of the Programs licensed to You under the terms
|
|
34
|
+
of this license.
|
|
35
|
+
|
|
36
|
+
Source Code for Open Source Software
|
|
37
|
+
|
|
38
|
+
For software that You receive from Oracle in binary form that is licensed under
|
|
39
|
+
an open source license that gives You the right to receive the source code for
|
|
40
|
+
that binary, You can obtain a copy of the applicable source code from
|
|
41
|
+
https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode.
|
|
42
|
+
If the source code for such software was not provided to You with the binary,
|
|
43
|
+
You can also receive a copy of the source code on physical media by submitting
|
|
44
|
+
a written request pursuant to the instructions in the "Written Offer for Source
|
|
45
|
+
Code" section of the latter website.
|
|
46
|
+
|
|
47
|
+
-------------------------------------------------------------------------------
|
|
48
|
+
|
|
49
|
+
The following license terms apply to those Programs that are not provided
|
|
50
|
+
to You under Separate Terms.
|
|
51
|
+
|
|
52
|
+
License Rights and Restrictions
|
|
53
|
+
|
|
54
|
+
Oracle grants to You, as a recipient of this Program, a nonexclusive,
|
|
55
|
+
nontransferable, limited license to, subject to the conditions stated herein,
|
|
56
|
+
(a) internally use the unmodified Programs for the purposes of developing,
|
|
57
|
+
testing, prototyping and demonstrating your applications, and running
|
|
58
|
+
the Programs for your own internal business operations; and (b) redistribute
|
|
59
|
+
unmodified Programs and Programs Documentation,
|
|
60
|
+
under the terms of this License, provided that You do not charge Your end users
|
|
61
|
+
any additional fees for the use of the Programs.
|
|
62
|
+
You may make copies of the Programs to the extent reasonably necessary
|
|
63
|
+
for exercising the license rights granted herein and for backup purposes.
|
|
64
|
+
You are granted the right to use the Programs to provide third party training
|
|
65
|
+
in the use of the Programs and associated Separately Licensed Technology
|
|
66
|
+
only if there is express authorization of such use by Oracle
|
|
67
|
+
on the Program's download page or in the Program Documentation.
|
|
68
|
+
|
|
69
|
+
Your license is contingent on Your compliance with the following conditions:
|
|
70
|
+
|
|
71
|
+
- You include a copy of this license with any distribution
|
|
72
|
+
by You of the Programs;
|
|
73
|
+
|
|
74
|
+
- You do not remove markings or notices of either Oracle's or a licensor's
|
|
75
|
+
proprietary rights from the Programs or Program Documentation;
|
|
76
|
+
|
|
77
|
+
- You comply with all U.S. and applicable export control and economic sanctions
|
|
78
|
+
laws and regulations that govern Your use of the Programs
|
|
79
|
+
(including technical data);
|
|
80
|
+
|
|
81
|
+
- You do not cause or permit reverse engineering, disassembly or decompilation
|
|
82
|
+
of the Programs (except as allowed by law) by You nor allow an associated
|
|
83
|
+
party to do so.
|
|
84
|
+
|
|
85
|
+
For clarity, any source code that may be included in the distribution with
|
|
86
|
+
the Programs is provided solely for reference purposes and may not be modified,
|
|
87
|
+
unless such source code is under Separate Terms permitting modification.
|
|
88
|
+
|
|
89
|
+
Ownership
|
|
90
|
+
|
|
91
|
+
Oracle or its licensors retain all ownership and intellectual property
|
|
92
|
+
rights to the Programs.
|
|
93
|
+
|
|
94
|
+
Information Collection
|
|
95
|
+
|
|
96
|
+
The Programs' installation and/or auto-update processes, if any, may transmit
|
|
97
|
+
a limited amount of data to Oracle or its service provider about
|
|
98
|
+
those processes to help Oracle understand and optimize them.
|
|
99
|
+
Oracle does not associate the data with personally identifiable information.
|
|
100
|
+
Refer to Oracle's Privacy Policy at www.oracle.com/privacy.
|
|
101
|
+
|
|
102
|
+
Disclaimer of Warranties; Limitation of Liability
|
|
103
|
+
|
|
104
|
+
THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
|
|
105
|
+
ORACLE FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED,
|
|
106
|
+
INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
|
|
107
|
+
FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT.
|
|
108
|
+
|
|
109
|
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO YOU
|
|
110
|
+
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL
|
|
111
|
+
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
|
|
112
|
+
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
|
|
113
|
+
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE
|
|
114
|
+
WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED
|
|
115
|
+
OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
const PACKAGE = require('../package.json');
|
|
8
|
+
|
|
9
|
+
module.exports = {
|
|
10
|
+
AUTHORIZATION_PROPERTIES_KEYS: {
|
|
11
|
+
NEEDS_REAUTHORIZATION: 'needsReauthorization',
|
|
12
|
+
SKIP_AUHTORIZATION_CHECK: 'skipAuthorizationCheck'
|
|
13
|
+
},
|
|
14
|
+
AUTHORIZATION_FORCE_PROMPTS : ['prompt'],
|
|
15
|
+
SDK_COMMANDS_METADATA_FILE: 'metadata/SdkCommandsMetadata.json',
|
|
16
|
+
SDK_COMMANDS_METADATA_PATCH_FILE: 'metadata/SdkCommandsMetadataPatch.json', //Overwrites selected properties in SdkCommandsMetadata.json file that are specific for SuiteCloud CLI for Node.js
|
|
17
|
+
NODE_COMMANDS_METADATA_FILE: 'metadata/NodeCommandsMetadata.json',
|
|
18
|
+
COMMAND_GENERATORS_METADATA_FILE: 'metadata/CommandGenerators.json',
|
|
19
|
+
SDK_COMPATIBLE_JAVA_VERSIONS: ['17', '21'],
|
|
20
|
+
SDK_INTEGRATION_MODE_JVM_OPTION: '-DintegrationMode --add-opens java.base/java.io=ALL-UNNAMED',
|
|
21
|
+
SDK_CLIENT_PLATFORM: 'SuiteCloudCLIforNode.js',
|
|
22
|
+
SDK_CLIENT_PLATFORM_JVM_OPTION: '-DclientPlatform',
|
|
23
|
+
SDK_CLIENT_PLATFORM_VERSION_JVM_OPTION: '-DclientPlatformVersion',
|
|
24
|
+
FILES: {
|
|
25
|
+
PROJECT_JSON: 'project.json',
|
|
26
|
+
HIDING_PREFERENCE: 'hiding.xml',
|
|
27
|
+
LOCKING_PREFERENCE: 'locking.xml',
|
|
28
|
+
MANIFEST_XML: 'manifest.xml',
|
|
29
|
+
SDK_SETTINGS: 'suitecloud-sdk-settings.json',
|
|
30
|
+
CLI_CONFIG_FILE_JS: [PACKAGE.configFile].flat().map(cf=>(cf+ '.js')),
|
|
31
|
+
CLI_CONFIG_FILE_JSON: [PACKAGE.configFile].flat().map(cf=>(cf+ '.json')),
|
|
32
|
+
},
|
|
33
|
+
FOLDERS: {
|
|
34
|
+
FILE_CABINET: '/FileCabinet',
|
|
35
|
+
INSTALLATION_PREFERENCES: '/InstallationPreferences',
|
|
36
|
+
OBJECTS: '/Objects',
|
|
37
|
+
SUITEAPPS: '/SuiteApps',
|
|
38
|
+
SUITECLOUD_SDK: '.suitecloud-sdk',
|
|
39
|
+
NODE_CLI: 'cli',
|
|
40
|
+
},
|
|
41
|
+
DEFAULT_MESSAGES_FILE: '../../messages.json',
|
|
42
|
+
PROJECT_ACP: 'ACCOUNTCUSTOMIZATION',
|
|
43
|
+
PROJECT_SUITEAPP: 'SUITEAPP',
|
|
44
|
+
PROJECT_FOLDER_ARG: '--projectFolder',
|
|
45
|
+
DOMAIN: {
|
|
46
|
+
PRODUCTION: {
|
|
47
|
+
GENERIC_NETSUITE_DOMAIN: 'system.netsuite.com',
|
|
48
|
+
PRODUCTION_DOMAIN_REGEX: '^system\\.(\\w+\\.)*netsuite\\.com$',
|
|
49
|
+
PRODUCTION_ACCOUNT_SPECIFIC_DOMAIN_REGEX: '^(\\w+)\\.app\\.netsuite\\.com$',
|
|
50
|
+
},
|
|
51
|
+
NON_PRODUCTION: {
|
|
52
|
+
F_DOMAIN_REGEX: '^system\\.f\\.netsuite\\.com$',
|
|
53
|
+
F_ACCOUNT_SPECIFIC_DOMAIN_REGEX: '^(\\w+)\\.app\\.f\\.netsuite\\.com$',
|
|
54
|
+
SNAP_DOMAIN_REGEX: '^system\\.snap\\.netsuite\\.com$',
|
|
55
|
+
SNAP_ACCOUNT_SPECIFIC_DOMAIN_REGEX: '^(\\w+)\\.app\\.snap\\.netsuite\\.com$',
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
LINKS: {
|
|
59
|
+
INFO: {
|
|
60
|
+
PROJECT_STRUCTURE: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=section_155931221634.html',
|
|
61
|
+
},
|
|
62
|
+
HOW_TO: {
|
|
63
|
+
CREATE_HIDDING_XML: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1515950176.html',
|
|
64
|
+
CREATE_LOCKING_XML: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1543865613.html',
|
|
65
|
+
CREATE_INSTALLATION_PREFERENCES: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1515948480.html',
|
|
66
|
+
},
|
|
67
|
+
ERRORS: {
|
|
68
|
+
AUTHENTICATION_INFO: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=article_0113125121.html',
|
|
69
|
+
AUTHENTICATION_FALLBACK_INFO: 'https://system.netsuite.com/app/help/helpcenter.nl?fid=article_1024042128.html#subsect_83104357122'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
ENV_VARS: {
|
|
73
|
+
SUITECLOUD_CI: 'SUITECLOUD_CI',
|
|
74
|
+
SUITECLOUD_CI_PASSKEY: 'SUITECLOUD_CI_PASSKEY',
|
|
75
|
+
SUITECLOUD_FALLBACK_PASSKEY: 'SUITECLOUD_FALLBACK_PASSKEY',
|
|
76
|
+
SUITECLOUD_AUTHID: 'SUITECLOUD_AUTHID',
|
|
77
|
+
SUITECLOUD_PROJECT_FOLDER: 'SUITECLOUD_PROJECT_FOLDER',
|
|
78
|
+
SUITECLOUD_PROJECT_PATH: 'SUITECLOUD_PROJECT_PATH',
|
|
79
|
+
SUITECLOUD_PROJECT_ROOT: 'SUITECLOUD_PROJECT_ROOT',
|
|
80
|
+
},
|
|
81
|
+
HTTP_RESPONSE_CODE: {
|
|
82
|
+
UNAUTHORIZED: 401,
|
|
83
|
+
FORBIDDEN: 403,
|
|
84
|
+
INTERNAL_SERVER_ERROR: 500,
|
|
85
|
+
SERVICE_UNAVAILABLE: 503,
|
|
86
|
+
},
|
|
87
|
+
};
|