@stack-spot/portal-network 0.184.0 → 0.185.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/CHANGELOG.md +2444 -2412
  2. package/dist/api/account.js +1 -1
  3. package/dist/api/agent-tools.js +1 -1
  4. package/dist/api/agent.js +1 -1
  5. package/dist/api/ai.js +1 -1
  6. package/dist/api/apiManagement.js +1 -1
  7. package/dist/api/apiRuntime.js +1 -1
  8. package/dist/api/cloudAccount.js +1 -1
  9. package/dist/api/cloudPlatform.js +1 -1
  10. package/dist/api/cloudPlatformHorizon.js +1 -1
  11. package/dist/api/cloudRuntimes.js +1 -1
  12. package/dist/api/cloudServices.js +1 -1
  13. package/dist/api/codeShift.d.ts +63 -4
  14. package/dist/api/codeShift.d.ts.map +1 -1
  15. package/dist/api/codeShift.js +14 -1
  16. package/dist/api/codeShift.js.map +1 -1
  17. package/dist/api/content.js +1 -1
  18. package/dist/api/dataIntegration.js +1 -1
  19. package/dist/api/discover.js +1 -1
  20. package/dist/api/genAiInference.js +1 -1
  21. package/dist/api/insights.js +1 -1
  22. package/dist/api/notification.js +1 -1
  23. package/dist/api/secrets.js +1 -1
  24. package/dist/api/serviceCatalog.js +1 -1
  25. package/dist/api/workspace-ai.js +1 -1
  26. package/dist/api/workspace.js +1 -1
  27. package/dist/api/workspaceManager.js +1 -1
  28. package/dist/api/workspaceSearchEngine.js +1 -1
  29. package/dist/client/ai.d.ts.map +1 -1
  30. package/dist/client/ai.js +84 -14
  31. package/dist/client/ai.js.map +1 -1
  32. package/dist/client/code-shift.d.ts +30 -0
  33. package/dist/client/code-shift.d.ts.map +1 -1
  34. package/dist/client/code-shift.js +37 -1
  35. package/dist/client/code-shift.js.map +1 -1
  36. package/dist/client/types.d.ts +26 -6
  37. package/dist/client/types.d.ts.map +1 -1
  38. package/package.json +7 -7
  39. package/readme.md +1 -1
  40. package/scripts/generate-apis.ts +134 -134
  41. package/src/api/account.ts +8368 -8367
  42. package/src/api/agent-tools.ts +2172 -2169
  43. package/src/api/agent.ts +1085 -1083
  44. package/src/api/ai.ts +3388 -3388
  45. package/src/api/apiManagement.ts +570 -570
  46. package/src/api/apiRuntime.ts +2103 -2103
  47. package/src/api/cloudAccount.ts +1239 -1239
  48. package/src/api/cloudPlatform.ts +927 -927
  49. package/src/api/cloudPlatformHorizon.ts +2655 -2655
  50. package/src/api/cloudRuntimes.ts +2043 -2043
  51. package/src/api/cloudServices.ts +1445 -1445
  52. package/src/api/codeShift.ts +3567 -3481
  53. package/src/api/content.ts +9785 -9785
  54. package/src/api/dataIntegration.ts +1657 -1657
  55. package/src/api/discover.ts +435 -435
  56. package/src/api/eventBus.ts +171 -171
  57. package/src/api/genAiInference.ts +603 -603
  58. package/src/api/insights.ts +310 -310
  59. package/src/api/notification.ts +336 -334
  60. package/src/api/secrets.ts +342 -342
  61. package/src/api/serviceCatalog.ts +2908 -2908
  62. package/src/api/workflows.ts +1669 -1669
  63. package/src/api/workspace-ai.ts +677 -677
  64. package/src/api/workspace.ts +5889 -5889
  65. package/src/api/workspaceManager.ts +2951 -2951
  66. package/src/api/workspaceSearchEngine.ts +153 -153
  67. package/src/api-addresses.ts +120 -120
  68. package/src/apis-itau.json +225 -225
  69. package/src/apis.json +225 -225
  70. package/src/client/account.ts +902 -902
  71. package/src/client/agent-tools.ts +210 -210
  72. package/src/client/agent.ts +81 -81
  73. package/src/client/ai.ts +469 -395
  74. package/src/client/api-management.ts +40 -40
  75. package/src/client/cloud-account.ts +70 -70
  76. package/src/client/cloud-platform-horizon.ts +113 -113
  77. package/src/client/cloud-platform.ts +163 -163
  78. package/src/client/cloud-runtimes.ts +129 -129
  79. package/src/client/cloud-services.ts +94 -94
  80. package/src/client/code-shift.ts +371 -349
  81. package/src/client/content.ts +538 -538
  82. package/src/client/data-integration.ts +191 -191
  83. package/src/client/discover.ts +89 -89
  84. package/src/client/event-bus.ts +84 -84
  85. package/src/client/gen-ai-inference.ts +65 -65
  86. package/src/client/insights.ts +28 -28
  87. package/src/client/notification.ts +32 -32
  88. package/src/client/runtime-manager.ts +76 -76
  89. package/src/client/secrets.ts +60 -60
  90. package/src/client/types.ts +398 -377
  91. package/src/client/workflow.ts +83 -83
  92. package/src/client/workspace-ai.ts +191 -191
  93. package/src/client/workspace-manager.ts +564 -564
  94. package/src/client/workspace-search.ts +39 -39
  95. package/src/client/workspace.ts +480 -480
  96. package/src/error/DefaultAPIError.ts +151 -151
  97. package/src/error/FileUploadError.ts +18 -18
  98. package/src/error/IgnoredErrorCodes.ts +3 -3
  99. package/src/error/StackspotAPIError.ts +101 -101
  100. package/src/error/StreamCanceledError.ts +10 -10
  101. package/src/error/StreamError.ts +7 -7
  102. package/src/error/StreamJsonError.ts +10 -10
  103. package/src/error/dictionary/account.ts +58 -58
  104. package/src/error/dictionary/action-details.ts +20 -20
  105. package/src/error/dictionary/action.ts +211 -211
  106. package/src/error/dictionary/agent-tools.ts +75 -75
  107. package/src/error/dictionary/ai-inference.ts +28 -28
  108. package/src/error/dictionary/base.ts +22 -22
  109. package/src/error/dictionary/cloud-platform.ts +82 -82
  110. package/src/error/dictionary/cnt-fields.ts +14 -14
  111. package/src/error/dictionary/cnt.ts +103 -103
  112. package/src/error/dictionary/code-shift.ts +12 -12
  113. package/src/error/dictionary/rte.ts +24 -24
  114. package/src/error/dictionary/rtm.ts +10 -10
  115. package/src/error/dictionary/secrets.ts +14 -14
  116. package/src/error/dictionary/workspace-ai.ts +10 -10
  117. package/src/error/dictionary/workspace-details.ts +15 -15
  118. package/src/error/dictionary/workspace-fields.ts +10 -10
  119. package/src/error/dictionary/workspace.ts +209 -209
  120. package/src/error/types.ts +21 -21
  121. package/src/index.ts +43 -43
  122. package/src/network/AutoInfiniteQuery.ts +115 -115
  123. package/src/network/AutoMutation.ts +27 -27
  124. package/src/network/AutoOperation.ts +73 -73
  125. package/src/network/AutoQuery.ts +75 -75
  126. package/src/network/ManualInfiniteQuery.ts +95 -95
  127. package/src/network/ManualMutation.ts +40 -40
  128. package/src/network/ManualOperation.ts +52 -52
  129. package/src/network/ManualQuery.ts +82 -82
  130. package/src/network/NetworkClient.ts +167 -167
  131. package/src/network/ReactQueryNetworkClient.ts +312 -312
  132. package/src/network/react-query-client.ts +14 -14
  133. package/src/network/types.ts +294 -294
  134. package/src/types.ts +1 -1
  135. package/src/utils/StreamedArray.tsx +146 -146
  136. package/src/utils/StreamedJson.tsx +166 -166
  137. package/src/utils/remove-authorization-param.ts +6 -6
  138. package/src/utils/string.ts +19 -19
  139. package/src/utils/use-extended-list.ts +80 -80
  140. package/src/utils/use-streamed-array.ts +17 -17
  141. package/tsconfig.build.json +4 -4
  142. package/tsconfig.json +10 -10
@@ -1,211 +1,211 @@
1
- import { Dictionary } from '@stack-spot/portal-translate'
2
-
3
- //Although the prefix is action api, these errors are actually the workflow api errors.
4
- export const actionDictionary = {
5
- en: {
6
- ACTIONAPI_0000_UNEXPECTED_ERROR: 'An unexpected error has occurred.',
7
- ACTIONAPI_0002_INVALID_ACTIONS_API_CREDENTIALS: 'Invalid Actions API credentials.',
8
- ACTIONAPI_0003_INVALID_WORKFLOW_URL: 'Please check it and ensure it follows the correct format.',
9
- ACTIONAPI_5004_GITHUB_SAML_ERROR: 'Authentication error in GitHub. Check access settings.',
10
-
11
- ACTIONAPI_2000_VALIDATION_ERROR: 'Validation error.',
12
- ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR: 'An unexpected HTTP error has occurred.',
13
-
14
- ACTIONAPI_2200_NOT_FOUND: 'Resource not found.',
15
- ACTIONAPI_2201_CONFLICT: 'Request could not be processed.',
16
-
17
- ACTIONAPI_2300_WRONG_TYPE_OF_EXECUTION: 'Incorrect execution type.',
18
-
19
- ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE: 'Failed to retrieve the secret from AWS Secret Manager. Please check the settings and access permissions.',
20
- ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR: 'Error parsing the secret from AWS Secrets Manager.',
21
-
22
- ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE: 'Failed to send the workflow to GitHub. Please check the configuration and try again.',
23
- ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND: "Please verify the name's accuracy and ensure it exists in the repository.",
24
- ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED: 'Failed to authorize the workflow submission to GitHub. Please check if the credentials are valid.',
25
- ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR: "There was an error decoding the authorization to access GitHub. Check if it's correctly encoded.",
26
-
27
- ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE: 'Failed to execute Actions on GitHub.',
28
- ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND: 'The Action was not found on GitHub.',
29
- ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED: 'Check your permissions to execute the Action on GitHub.',
30
- ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR: 'Error parsing the Action payload on GitHub.',
31
-
32
- ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE: 'Failed to get the access token for the GitHub app installation.',
33
- ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND: 'Unable to locate the access token for the GitHub app installation. Please verify if the installation ID is correct.',
34
- ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED: 'Unable to authorize the access token for the GitHub app installation. Check if the app ID and private key are valid.',
35
- ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR: 'Error parsing the access token payload for the GitHub app installation.',
36
-
37
- ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND: 'Unable to create the Issue on GitHub. Check the settings and try again.',
38
-
39
- ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE: 'Failed to get the account provider.',
40
- ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN: 'Unable to retrieve the account provider. Please verify the account permissions.',
41
- ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND: 'Account provider not found. Please check if it exists.',
42
- ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED: 'The operation to retrieve the account provider has not been implemented. Please check the system configuration.',
43
- ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR: 'Error getting the account provider. Please try again.',
44
-
45
- ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE: 'Unable to get the account token. Please try again.',
46
- ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN: 'Check the permissions to access the account token.',
47
- ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND: 'The account token was not found. Please try again.',
48
- ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR: 'Error getting the account token. Please try again.',
49
-
50
- ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE: "Unable to get the user's SCM. Please try again.",
51
- ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN: "Check the permissions to access the user's SCM.",
52
- ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND: 'The SCM for the user could not be found. Please check the configuration.',
53
-
54
- ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR: "Error getting the user's SCM. Please try again.",
55
- ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE: 'Unable to list the accounts. Please try again.',
56
- ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN: 'Check the permissions to list the accounts.',
57
- ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND: 'The accounts were not found. Please verify if they still exist.',
58
- ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR: 'There was an error listing the accounts. Please try again.',
59
-
60
- ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE: 'There was a failure in listing the Azure service pipelines. Please review the settings and access permissions.',
61
- ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND: 'Pipeline not found in the Azure service. Please verify its configuration.',
62
- ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Azure to list the pipelines. Please verify if the authentication credentials are valid.',
63
- ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when listing the pipelines in Azure. Please try again.',
64
-
65
- ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE: 'Failed to execute the pipeline in the Azure service. Please try again.',
66
- ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND: 'Pipeline not found in the Azure service. Please check if the pipeline name is correct and exists in the Azure environment.',
67
- ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Azure to execute the pipeline. Check if the authentication credentials are valid.',
68
- ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when executing the pipeline in Azure. Please try again.',
69
-
70
- ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE: 'Failed to get the build in the Azure service. Please try again.',
71
- ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND: 'Build not found in the Azure service. Check if it is configured correctly in the Azure environment.',
72
- ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED: 'Unable to authorize access to Azure to retrieve the build. Check if the authentication credentials are valid.',
73
- ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN: 'Please verify your permissions to access the Azure build.',
74
-
75
- ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE: 'Failed to retrieve the Workspace. Please try again.',
76
- ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN: 'Please check your permissions to access the Workspace.',
77
- ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND: 'The Workspace was not found. Check if it is configured correctly.',
78
- ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the workspace. Please try again.',
79
-
80
- ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE: 'Failed to execute the pipeline in Bitbucket. Please try again.',
81
- ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND: 'Pipeline not found in Bitbucket. Check if the name is correct and if it exists in the Bitbucket environment.',
82
- ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Bitbucket to execute the pipeline. Check if the authentication credentials are valid.',
83
- ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST: 'An invalid request was made to execute the pipeline in Bitbucket. Please review the data and try again.',
84
- ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when executing the pipeline in Bitbucket. Please try again.',
85
-
86
- ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE: 'Failed to get the pipeline in Bitbucket. Please try again.',
87
- ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND: 'Pipeline not found in Bitbucket. Check if it is configured correctly in the Bitbucket environment.',
88
- ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Bitbucket to retrieve the pipeline. Please verify the validity of the authentication credentials.',
89
- ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the pipeline in Bitbucket. Please try again.',
90
-
91
- ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE: 'Failed to list the pipeline steps in Bitbucket. Please try again.',
92
- ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND: 'Pipeline steps not found in Bitbucket.',
93
- ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED: 'Please check your permissions to list pipeline steps in Bitbucket.',
94
- ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR: 'Error parsing the response when listing the pipeline steps in Bitbucket. Please try again.',
95
-
96
- ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE: 'Failed to trigger the pipeline in GitLab. Please try again.',
97
- ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND: 'Pipeline not found in GitLab. Check if it is configured correctly in the GitLab environment.',
98
- ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to GitLab to trigger the pipeline. Check if the authentication credentials are valid.',
99
- ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when triggering the pipeline in GitLab. Please try again.',
100
-
101
- ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE: 'Failed to get the triggers in GitLab. Please try again.',
102
- ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND: 'Triggers associated with the pipeline are not found in GitLab. Check if they are configured correctly.',
103
- ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED: 'Unable to authorize access to GitLab to get the pipeline triggers. Check if the authentication credentials are valid.',
104
- ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the triggers in GitLab. Please try again.',
105
-
106
- ACTIONAPI_E6000_WEBHOOK_FAILURE: 'Webhook failure. Please try again.',
107
- },
108
- pt: {
109
- ACTIONAPI_0000_UNEXPECTED_ERROR: 'Ocorreu um erro inesperado.',
110
- ACTIONAPI_0002_INVALID_ACTIONS_API_CREDENTIALS: 'As Credenciais da API de ações inválidas.',
111
- ACTIONAPI_0003_INVALID_WORKFLOW_URL: 'A URL do Workflow é inválida ou está malformada. Verifique e siga o formato correto.',
112
- ACTIONAPI_5004_GITHUB_SAML_ERROR: 'Erro de autenticação no GitHub. Verifique as configurações de acesso.',
113
-
114
- ACTIONAPI_2000_VALIDATION_ERROR: 'Erro de validação.',
115
- ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR: 'Ocorreu um erro HTTP inesperado.',
116
-
117
- ACTIONAPI_2200_NOT_FOUND: 'Recurso não encontrado.',
118
- ACTIONAPI_2201_CONFLICT: 'Não foi possível processar a requisição.',
119
-
120
- ACTIONAPI_2300_WRONG_TYPE_OF_EXECUTION: 'Tipo de execução incorreto.',
121
-
122
- ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE: 'Falha ao obter o segredo do AWS Secret Manager. Verifique as configurações e permissões de acesso.',
123
- ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR: 'Erro ao analisar o segredo do AWS Secret Manager.',
124
-
125
- ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE: 'Falha ao enviar o workflow no GitHub. Verifique a configuração e tente novamente.',
126
- ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND: 'O workflow não foi encontrado no GitHub. Verifique se o nome está correto e se ele existe no repositório.',
127
- ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED: 'Não foi possível autorizar o envio do workflow no GitHub. Verifique se as credenciais são válidas.',
128
- ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR: 'Houve um erro ao decodificar a autorização para acessar o GitHub. Verifique se está codificada corretamente.',
129
-
130
- ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE: 'Falha ao executar Actions no GitHub.',
131
- ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND: 'Action não encontrada no GitHub.',
132
- ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED: 'Verifique suas permissões para executar a Action no GitHub.',
133
- ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR: 'Erro ao analisar o payload da Action no GitHub.',
134
-
135
- ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE: 'Falha ao obter o token de acesso para a instalação do app no GitHub.',
136
- ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND: 'Não foi possível encontrar o token de acesso para a instalação do app no GitHub. Verifique se o ID da instalação está correto.',
137
- ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED: 'Não foi possível autorizar o token de acesso para a instalação do app no GitHub. Verifique se o ID do app e a chave privada são válidos.',
138
- ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR: 'Erro ao analisar o payload do token de acesso para a instalação do app no GitHub.',
139
-
140
- ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND: 'Não foi possível criar a Issue no GitHub. Verifique as configurações e tente novamente.',
141
-
142
- ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE: 'Falha ao obter o provedor de contas.',
143
- ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN: 'Não foi possível obter o provedor de contas. Verifique as permissões da conta.',
144
- ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND: 'Provedor de contas não encontrado. Verifique se ele existe.',
145
- ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED: 'A operação para obter o provedor de contas não foi implementada. Verifique a configuração do sistema.',
146
- ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR: 'Erro ao obter o provedor de contas. Tente novamente.',
147
-
148
- ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE: 'Não foi possível obter o token da conta. Tente novamente.',
149
- ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN: 'Verifique as permissões para acessar o token da conta.',
150
- ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND: 'Token da conta não encontrado. Tente novamente.',
151
- ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR: 'Erro ao obter o token da conta. Tente novamente.',
152
-
153
- ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE: 'Não foi possível obter o SCM da pessoa usuária. Tente novamente.',
154
- ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN: 'Verifique as permissões para acessar o SCM da pessoa usuária.',
155
- ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND: 'SCM da pessoa usuária não encontrado. Verifique a configuração.',
156
- ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR: 'Erro ao obter o SCM da pessoa usuária. Tente novamente.',
157
-
158
- ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE: 'Não foi possível listar as contas. Tente novamente.',
159
- ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN: 'Verifique as permissões para listar as contas.',
160
- ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND: 'Contas não encontradas. Verifique se elas ainda existem.',
161
- ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR: 'Erro ao listar as contas. Tente novamente.',
162
-
163
- ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE: 'Houve uma falha ao listar os pipelines no serviço Azure. Verifique as configurações e as permissões de acesso.',
164
- ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no serviço Azure. Verifique se está configurado corretamente no ambiente Azure.',
165
- ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para listar os pipelines. Verifique se as credenciais de autenticação são válidas.',
166
- ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao listar os pipelines no Azure. Tente novamente.',
167
-
168
- ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE: 'Falha ao executar o pipeline no serviço Azure. Tente novamente.',
169
- ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no serviço Azure. Verifique se o nome do pipeline está correto e se ele existe no ambiente Azure.',
170
- ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para executar o pipeline. Verifique se as credenciais de autenticação são válidas.',
171
- ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao executar o pipeline no Azure. Tente novamente.',
172
-
173
- ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE: 'Falha ao obter a compilação no serviço Azure. Tente novamente.',
174
- ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND: 'Compilação não encontrada no serviço Azure. Verifique se está configurada corretamente no ambiente Azure.',
175
- ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para obter a compilação. Verifique se as credenciais de autenticação são válidas.',
176
- ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN: 'Verifique suas permissões para acessar o Azure.',
177
-
178
- ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE: 'Falha ao obter o Workspace. Tente novamente.',
179
- ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN: 'Por favor, verifique suas permissões para acessar o Workspace.',
180
- ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND: 'Workspace não encontrado. Verifique se está configurado corretamente.',
181
- ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter o Workspace. Tente novamente.',
182
-
183
- ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE: 'Falha ao executar o pipeline no Bitbucket. Tente novamente.',
184
- ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no Bitbucket. Verifique se o nome está correto e se ele existe no ambiente Bitbucket.',
185
- ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Bitbucket para executar o pipeline. Verifique se as credenciais de autenticação são válidas.',
186
- ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST: 'Solicitação inválida ao executar o pipeline no Bitbucket. Verifique os dados e tente novamente.',
187
- ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao executar o pipeline no Bitbucket. Tente novamente.',
188
-
189
- ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE: 'Falha ao obter o pipeline no Bitbucket. Tente novamente.',
190
- ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no Bitbucket. Verifique se está configurado corretamente no ambiente Bitbucket.',
191
- ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Bitbucket para obter o pipeline. Verifique se as credenciais de autenticação são válidas.',
192
- ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter o pipeline no Bitbucket. Tente novamente.',
193
-
194
- ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE: 'Falha ao listar os passos do pipeline no Bitbucket. Tente novamente.',
195
- ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND: 'Passos do pipeline não encontrados no Bitbucket.',
196
- ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED: 'Verifique suas permissões para listar os passos de pipeline no Bitbucket.',
197
- ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao listar os passos do pipeline no Bitbucket. Tente novamente.',
198
-
199
- ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE: 'Falha ao acionar o pipeline no GitLab. Tente novamente.',
200
- ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no GitLab. Verifique se está configurado corretamente no ambiente GitLab.',
201
- ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao GitLab para acionar o pipeline. Verifique se as credenciais de autenticação são válidas.',
202
- ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao acionar o pipeline no GitLab. Tente novamente.',
203
-
204
- ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE: 'Falha ao obter os triggers no GitLab. Tente novamente.',
205
- ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND: 'Triggers associados ao pipeline não encontrados no GitLab. Verifique se estão configurados corretamente.',
206
- ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao GitLab para obter os triggers do pipeline. Verifique se as credenciais de autenticação são válidas.',
207
- ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter os triggers no GitLab. Tente novamente.',
208
-
209
- ACTIONAPI_E6000_WEBHOOK_FAILURE: 'Falha no webhook. Tente novamente.',
210
- },
211
- } satisfies Dictionary
1
+ import { Dictionary } from '@stack-spot/portal-translate'
2
+
3
+ //Although the prefix is action api, these errors are actually the workflow api errors.
4
+ export const actionDictionary = {
5
+ en: {
6
+ ACTIONAPI_0000_UNEXPECTED_ERROR: 'An unexpected error has occurred.',
7
+ ACTIONAPI_0002_INVALID_ACTIONS_API_CREDENTIALS: 'Invalid Actions API credentials.',
8
+ ACTIONAPI_0003_INVALID_WORKFLOW_URL: 'Please check it and ensure it follows the correct format.',
9
+ ACTIONAPI_5004_GITHUB_SAML_ERROR: 'Authentication error in GitHub. Check access settings.',
10
+
11
+ ACTIONAPI_2000_VALIDATION_ERROR: 'Validation error.',
12
+ ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR: 'An unexpected HTTP error has occurred.',
13
+
14
+ ACTIONAPI_2200_NOT_FOUND: 'Resource not found.',
15
+ ACTIONAPI_2201_CONFLICT: 'Request could not be processed.',
16
+
17
+ ACTIONAPI_2300_WRONG_TYPE_OF_EXECUTION: 'Incorrect execution type.',
18
+
19
+ ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE: 'Failed to retrieve the secret from AWS Secret Manager. Please check the settings and access permissions.',
20
+ ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR: 'Error parsing the secret from AWS Secrets Manager.',
21
+
22
+ ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE: 'Failed to send the workflow to GitHub. Please check the configuration and try again.',
23
+ ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND: "Please verify the name's accuracy and ensure it exists in the repository.",
24
+ ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED: 'Failed to authorize the workflow submission to GitHub. Please check if the credentials are valid.',
25
+ ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR: "There was an error decoding the authorization to access GitHub. Check if it's correctly encoded.",
26
+
27
+ ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE: 'Failed to execute Actions on GitHub.',
28
+ ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND: 'The Action was not found on GitHub.',
29
+ ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED: 'Check your permissions to execute the Action on GitHub.',
30
+ ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR: 'Error parsing the Action payload on GitHub.',
31
+
32
+ ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE: 'Failed to get the access token for the GitHub app installation.',
33
+ ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND: 'Unable to locate the access token for the GitHub app installation. Please verify if the installation ID is correct.',
34
+ ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED: 'Unable to authorize the access token for the GitHub app installation. Check if the app ID and private key are valid.',
35
+ ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR: 'Error parsing the access token payload for the GitHub app installation.',
36
+
37
+ ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND: 'Unable to create the Issue on GitHub. Check the settings and try again.',
38
+
39
+ ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE: 'Failed to get the account provider.',
40
+ ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN: 'Unable to retrieve the account provider. Please verify the account permissions.',
41
+ ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND: 'Account provider not found. Please check if it exists.',
42
+ ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED: 'The operation to retrieve the account provider has not been implemented. Please check the system configuration.',
43
+ ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR: 'Error getting the account provider. Please try again.',
44
+
45
+ ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE: 'Unable to get the account token. Please try again.',
46
+ ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN: 'Check the permissions to access the account token.',
47
+ ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND: 'The account token was not found. Please try again.',
48
+ ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR: 'Error getting the account token. Please try again.',
49
+
50
+ ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE: "Unable to get the user's SCM. Please try again.",
51
+ ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN: "Check the permissions to access the user's SCM.",
52
+ ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND: 'The SCM for the user could not be found. Please check the configuration.',
53
+
54
+ ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR: "Error getting the user's SCM. Please try again.",
55
+ ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE: 'Unable to list the accounts. Please try again.',
56
+ ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN: 'Check the permissions to list the accounts.',
57
+ ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND: 'The accounts were not found. Please verify if they still exist.',
58
+ ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR: 'There was an error listing the accounts. Please try again.',
59
+
60
+ ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE: 'There was a failure in listing the Azure service pipelines. Please review the settings and access permissions.',
61
+ ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND: 'Pipeline not found in the Azure service. Please verify its configuration.',
62
+ ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Azure to list the pipelines. Please verify if the authentication credentials are valid.',
63
+ ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when listing the pipelines in Azure. Please try again.',
64
+
65
+ ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE: 'Failed to execute the pipeline in the Azure service. Please try again.',
66
+ ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND: 'Pipeline not found in the Azure service. Please check if the pipeline name is correct and exists in the Azure environment.',
67
+ ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Azure to execute the pipeline. Check if the authentication credentials are valid.',
68
+ ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when executing the pipeline in Azure. Please try again.',
69
+
70
+ ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE: 'Failed to get the build in the Azure service. Please try again.',
71
+ ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND: 'Build not found in the Azure service. Check if it is configured correctly in the Azure environment.',
72
+ ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED: 'Unable to authorize access to Azure to retrieve the build. Check if the authentication credentials are valid.',
73
+ ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN: 'Please verify your permissions to access the Azure build.',
74
+
75
+ ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE: 'Failed to retrieve the Workspace. Please try again.',
76
+ ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN: 'Please check your permissions to access the Workspace.',
77
+ ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND: 'The Workspace was not found. Check if it is configured correctly.',
78
+ ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the workspace. Please try again.',
79
+
80
+ ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE: 'Failed to execute the pipeline in Bitbucket. Please try again.',
81
+ ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND: 'Pipeline not found in Bitbucket. Check if the name is correct and if it exists in the Bitbucket environment.',
82
+ ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Bitbucket to execute the pipeline. Check if the authentication credentials are valid.',
83
+ ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST: 'An invalid request was made to execute the pipeline in Bitbucket. Please review the data and try again.',
84
+ ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when executing the pipeline in Bitbucket. Please try again.',
85
+
86
+ ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE: 'Failed to get the pipeline in Bitbucket. Please try again.',
87
+ ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND: 'Pipeline not found in Bitbucket. Check if it is configured correctly in the Bitbucket environment.',
88
+ ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to Bitbucket to retrieve the pipeline. Please verify the validity of the authentication credentials.',
89
+ ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the pipeline in Bitbucket. Please try again.',
90
+
91
+ ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE: 'Failed to list the pipeline steps in Bitbucket. Please try again.',
92
+ ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND: 'Pipeline steps not found in Bitbucket.',
93
+ ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED: 'Please check your permissions to list pipeline steps in Bitbucket.',
94
+ ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR: 'Error parsing the response when listing the pipeline steps in Bitbucket. Please try again.',
95
+
96
+ ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE: 'Failed to trigger the pipeline in GitLab. Please try again.',
97
+ ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND: 'Pipeline not found in GitLab. Check if it is configured correctly in the GitLab environment.',
98
+ ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED: 'Unable to authorize access to GitLab to trigger the pipeline. Check if the authentication credentials are valid.',
99
+ ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR: 'Error parsing the response when triggering the pipeline in GitLab. Please try again.',
100
+
101
+ ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE: 'Failed to get the triggers in GitLab. Please try again.',
102
+ ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND: 'Triggers associated with the pipeline are not found in GitLab. Check if they are configured correctly.',
103
+ ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED: 'Unable to authorize access to GitLab to get the pipeline triggers. Check if the authentication credentials are valid.',
104
+ ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR: 'Error parsing the response when getting the triggers in GitLab. Please try again.',
105
+
106
+ ACTIONAPI_E6000_WEBHOOK_FAILURE: 'Webhook failure. Please try again.',
107
+ },
108
+ pt: {
109
+ ACTIONAPI_0000_UNEXPECTED_ERROR: 'Ocorreu um erro inesperado.',
110
+ ACTIONAPI_0002_INVALID_ACTIONS_API_CREDENTIALS: 'As Credenciais da API de ações inválidas.',
111
+ ACTIONAPI_0003_INVALID_WORKFLOW_URL: 'A URL do Workflow é inválida ou está malformada. Verifique e siga o formato correto.',
112
+ ACTIONAPI_5004_GITHUB_SAML_ERROR: 'Erro de autenticação no GitHub. Verifique as configurações de acesso.',
113
+
114
+ ACTIONAPI_2000_VALIDATION_ERROR: 'Erro de validação.',
115
+ ACTIONAPI_5999_HTTP_UNEXPECTED_ERROR: 'Ocorreu um erro HTTP inesperado.',
116
+
117
+ ACTIONAPI_2200_NOT_FOUND: 'Recurso não encontrado.',
118
+ ACTIONAPI_2201_CONFLICT: 'Não foi possível processar a requisição.',
119
+
120
+ ACTIONAPI_2300_WRONG_TYPE_OF_EXECUTION: 'Tipo de execução incorreto.',
121
+
122
+ ACTIONAPI_3000_AWS_SECRET_MANAGER_GET_SECRET_FAILURE: 'Falha ao obter o segredo do AWS Secret Manager. Verifique as configurações e permissões de acesso.',
123
+ ACTIONAPI_3001_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR: 'Erro ao analisar o segredo do AWS Secret Manager.',
124
+
125
+ ACTIONAPI_5000_GITHUB_DISPATCH_WORKFLOW_FAILURE: 'Falha ao enviar o workflow no GitHub. Verifique a configuração e tente novamente.',
126
+ ACTIONAPI_5001_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND: 'O workflow não foi encontrado no GitHub. Verifique se o nome está correto e se ele existe no repositório.',
127
+ ACTIONAPI_5002_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED: 'Não foi possível autorizar o envio do workflow no GitHub. Verifique se as credenciais são válidas.',
128
+ ACTIONAPI_5009_GITHUB_AUTHORIZATION_ENCODING_ERROR: 'Houve um erro ao decodificar a autorização para acessar o GitHub. Verifique se está codificada corretamente.',
129
+
130
+ ACTIONAPI_5010_GITHUB_ACTIONS_RUNS_FAILURE: 'Falha ao executar Actions no GitHub.',
131
+ ACTIONAPI_5011_GITHUB_ACTIONS_RUNS_NOT_FOUND: 'Action não encontrada no GitHub.',
132
+ ACTIONAPI_5012_GITHUB_ACTIONS_RUNS_UNAUTHORIZED: 'Verifique suas permissões para executar a Action no GitHub.',
133
+ ACTIONAPI_5019_GITHUB_ACTIONS_RUNS_PAYLOAD_PARSER_ERROR: 'Erro ao analisar o payload da Action no GitHub.',
134
+
135
+ ACTIONAPI_5020_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_FAILURE: 'Falha ao obter o token de acesso para a instalação do app no GitHub.',
136
+ ACTIONAPI_5021_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_NOT_FOUND: 'Não foi possível encontrar o token de acesso para a instalação do app no GitHub. Verifique se o ID da instalação está correto.',
137
+ ACTIONAPI_5022_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_UNAUTHORIZED: 'Não foi possível autorizar o token de acesso para a instalação do app no GitHub. Verifique se o ID do app e a chave privada são válidos.',
138
+ ACTIONAPI_5029_GITHUB_APP_INSTALLATION_ACCESS_TOKEN_PAYLOAD_PARSER_ERROR: 'Erro ao analisar o payload do token de acesso para a instalação do app no GitHub.',
139
+
140
+ ACTIONAPI_5031_GITHUB_CREATE_ISSUE_NOT_FOUND: 'Não foi possível criar a Issue no GitHub. Verifique as configurações e tente novamente.',
141
+
142
+ ACTIONAPI_5100_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FAILURE: 'Falha ao obter o provedor de contas.',
143
+ ACTIONAPI_5101_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_FORBIDDEN: 'Não foi possível obter o provedor de contas. Verifique as permissões da conta.',
144
+ ACTIONAPI_5102_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_FOUND: 'Provedor de contas não encontrado. Verifique se ele existe.',
145
+ ACTIONAPI_5103_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_NOT_IMPLEMENTED: 'A operação para obter o provedor de contas não foi implementada. Verifique a configuração do sistema.',
146
+ ACTIONAPI_5109_ACCOUNT_SERVICE_GET_ACCOUNT_PROVIDER_PARSE_RESPONSE_ERROR: 'Erro ao obter o provedor de contas. Tente novamente.',
147
+
148
+ ACTIONAPI_E5110_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FAILURE: 'Não foi possível obter o token da conta. Tente novamente.',
149
+ ACTIONAPI_E5111_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_FORBIDDEN: 'Verifique as permissões para acessar o token da conta.',
150
+ ACTIONAPI_E5112_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_NOT_FOUND: 'Token da conta não encontrado. Tente novamente.',
151
+ ACTIONAPI_E5119_ACCOUNT_SERVICE_GET_ACCOUNT_TOKEN_RESPONSE_PARSE_ERROR: 'Erro ao obter o token da conta. Tente novamente.',
152
+
153
+ ACTIONAPI_E5120_ACCOUNT_SERVICE_GET_USER_SCM_FAILURE: 'Não foi possível obter o SCM da pessoa usuária. Tente novamente.',
154
+ ACTIONAPI_E5121_ACCOUNT_SERVICE_GET_USER_SCM_FORBIDDEN: 'Verifique as permissões para acessar o SCM da pessoa usuária.',
155
+ ACTIONAPI_E5122_ACCOUNT_SERVICE_GET_USER_SCM_NOT_FOUND: 'SCM da pessoa usuária não encontrado. Verifique a configuração.',
156
+ ACTIONAPI_E5129_ACCOUNT_SERVICE_GET_USER_SCM_RESPONSE_PARSE_ERROR: 'Erro ao obter o SCM da pessoa usuária. Tente novamente.',
157
+
158
+ ACTIONAPI_E5130_ACCOUNT_SERVICE_LIST_ACCOUNTS_FAILURE: 'Não foi possível listar as contas. Tente novamente.',
159
+ ACTIONAPI_E5131_ACCOUNT_SERVICE_LIST_ACCOUNTS_FORBIDDEN: 'Verifique as permissões para listar as contas.',
160
+ ACTIONAPI_E5132_ACCOUNT_SERVICE_LIST_ACCOUNTS_NOT_FOUND: 'Contas não encontradas. Verifique se elas ainda existem.',
161
+ ACTIONAPI_E5139_ACCOUNT_SERVICE_LIST_ACCOUNTS_RESPONSE_PARSE_ERROR: 'Erro ao listar as contas. Tente novamente.',
162
+
163
+ ACTIONAPI_5200_AZURE_LIST_PIPELINE_FAILURE: 'Houve uma falha ao listar os pipelines no serviço Azure. Verifique as configurações e as permissões de acesso.',
164
+ ACTIONAPI_5201_AZURE_LIST_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no serviço Azure. Verifique se está configurado corretamente no ambiente Azure.',
165
+ ACTIONAPI_5202_AZURE_LIST_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para listar os pipelines. Verifique se as credenciais de autenticação são válidas.',
166
+ ACTIONAPI_5209_AZURE_LIST_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao listar os pipelines no Azure. Tente novamente.',
167
+
168
+ ACTIONAPI_5210_AZURE_RUN_PIPELINE_FAILURE: 'Falha ao executar o pipeline no serviço Azure. Tente novamente.',
169
+ ACTIONAPI_5211_AZURE_RUN_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no serviço Azure. Verifique se o nome do pipeline está correto e se ele existe no ambiente Azure.',
170
+ ACTIONAPI_5212_AZURE_RUN_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para executar o pipeline. Verifique se as credenciais de autenticação são válidas.',
171
+ ACTIONAPI_5219_AZURE_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao executar o pipeline no Azure. Tente novamente.',
172
+
173
+ ACTIONAPI_5220_AZURE_GET_BUILD_FAILURE: 'Falha ao obter a compilação no serviço Azure. Tente novamente.',
174
+ ACTIONAPI_5221_AZURE_GET_BUILD_NOT_FOUND: 'Compilação não encontrada no serviço Azure. Verifique se está configurada corretamente no ambiente Azure.',
175
+ ACTIONAPI_5222_AZURE_GET_BUILD_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Azure para obter a compilação. Verifique se as credenciais de autenticação são válidas.',
176
+ ACTIONAPI_5223_AZURE_GET_BUILD_FORBIDDEN: 'Verifique suas permissões para acessar o Azure.',
177
+
178
+ ACTIONAPI_E5300_WORKSPACE_SERVICE_GET_WORKSPACE_FAILURE: 'Falha ao obter o Workspace. Tente novamente.',
179
+ ACTIONAPI_E5301_WORKSPACE_SERVICE_GET_WORKSPACE_FORBIDDEN: 'Por favor, verifique suas permissões para acessar o Workspace.',
180
+ ACTIONAPI_E5302_WORKSPACE_SERVICE_GET_WORKSPACE_NOT_FOUND: 'Workspace não encontrado. Verifique se está configurado corretamente.',
181
+ ACTIONAPI_E5309_WORKSPACE_SERVICE_GET_WORKSPACE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter o Workspace. Tente novamente.',
182
+
183
+ ACTIONAPI_5400_BITBUCKET_RUN_PIPELINE_FAILURE: 'Falha ao executar o pipeline no Bitbucket. Tente novamente.',
184
+ ACTIONAPI_5401_BITBUCKET_RUN_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no Bitbucket. Verifique se o nome está correto e se ele existe no ambiente Bitbucket.',
185
+ ACTIONAPI_5402_BITBUCKET_RUN_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Bitbucket para executar o pipeline. Verifique se as credenciais de autenticação são válidas.',
186
+ ACTIONAPI_5403_BITBUCKET_RUN_PIPELINE_BAD_REQUEST: 'Solicitação inválida ao executar o pipeline no Bitbucket. Verifique os dados e tente novamente.',
187
+ ACTIONAPI_5409_BITBUCKET_RUN_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao executar o pipeline no Bitbucket. Tente novamente.',
188
+
189
+ ACTIONAPI_5410_BITBUCKET_GET_PIPELINE_FAILURE: 'Falha ao obter o pipeline no Bitbucket. Tente novamente.',
190
+ ACTIONAPI_5411_BITBUCKET_GET_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no Bitbucket. Verifique se está configurado corretamente no ambiente Bitbucket.',
191
+ ACTIONAPI_5412_BITBUCKET_GET_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao Bitbucket para obter o pipeline. Verifique se as credenciais de autenticação são válidas.',
192
+ ACTIONAPI_5419_BITBUCKET_GET_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter o pipeline no Bitbucket. Tente novamente.',
193
+
194
+ ACTIONAPI_5420_BITBUCKET_LIST_PIPELINE_STEPS_FAILURE: 'Falha ao listar os passos do pipeline no Bitbucket. Tente novamente.',
195
+ ACTIONAPI_5421_BITBUCKET_LIST_PIPELINE_STEPS_NOT_FOUND: 'Passos do pipeline não encontrados no Bitbucket.',
196
+ ACTIONAPI_5422_BITBUCKET_LIST_PIPELINE_STEPS_UNAUTHORIZED: 'Verifique suas permissões para listar os passos de pipeline no Bitbucket.',
197
+ ACTIONAPI_5429_BITBUCKET_LIST_PIPELINE_STEPS_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao listar os passos do pipeline no Bitbucket. Tente novamente.',
198
+
199
+ ACTIONAPI_5500_GITLAB_TRIGGER_PIPELINE_FAILURE: 'Falha ao acionar o pipeline no GitLab. Tente novamente.',
200
+ ACTIONAPI_5501_GITLAB_TRIGGER_PIPELINE_NOT_FOUND: 'Pipeline não encontrado no GitLab. Verifique se está configurado corretamente no ambiente GitLab.',
201
+ ACTIONAPI_5502_GITLAB_TRIGGER_PIPELINE_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao GitLab para acionar o pipeline. Verifique se as credenciais de autenticação são válidas.',
202
+ ACTIONAPI_5509_GITLAB_TRIGGER_PIPELINE_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao acionar o pipeline no GitLab. Tente novamente.',
203
+
204
+ ACTIONAPI_5510_GITLAB_GET_TRIGGERS_FAILURE: 'Falha ao obter os triggers no GitLab. Tente novamente.',
205
+ ACTIONAPI_5511_GITLAB_GET_TRIGGERS_NOT_FOUND: 'Triggers associados ao pipeline não encontrados no GitLab. Verifique se estão configurados corretamente.',
206
+ ACTIONAPI_5512_GITLAB_GET_TRIGGERS_UNAUTHORIZED: 'Não foi possível autorizar o acesso ao GitLab para obter os triggers do pipeline. Verifique se as credenciais de autenticação são válidas.',
207
+ ACTIONAPI_5519_GITLAB_GET_TRIGGERS_RESPONSE_PARSE_ERROR: 'Erro ao analisar a resposta ao obter os triggers no GitLab. Tente novamente.',
208
+
209
+ ACTIONAPI_E6000_WEBHOOK_FAILURE: 'Falha no webhook. Tente novamente.',
210
+ },
211
+ } satisfies Dictionary