@stack-spot/portal-network 0.43.0 → 0.45.0

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 (46) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/api/content.d.ts +38 -33
  3. package/dist/api/content.d.ts.map +1 -1
  4. package/dist/api/content.js +19 -10
  5. package/dist/api/content.js.map +1 -1
  6. package/dist/api/notification.d.ts +32 -8
  7. package/dist/api/notification.d.ts.map +1 -1
  8. package/dist/api/notification.js +17 -1
  9. package/dist/api/notification.js.map +1 -1
  10. package/dist/api/workspaceManager.d.ts +151 -11
  11. package/dist/api/workspaceManager.d.ts.map +1 -1
  12. package/dist/api/workspaceManager.js +101 -19
  13. package/dist/api/workspaceManager.js.map +1 -1
  14. package/dist/client/content.d.ts +14 -0
  15. package/dist/client/content.d.ts.map +1 -1
  16. package/dist/client/content.js +10 -1
  17. package/dist/client/content.js.map +1 -1
  18. package/dist/client/workspace-manager.d.ts +12 -0
  19. package/dist/client/workspace-manager.d.ts.map +1 -1
  20. package/dist/client/workspace-manager.js +13 -4
  21. package/dist/client/workspace-manager.js.map +1 -1
  22. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  23. package/dist/error/DefaultAPIError.js +15 -6
  24. package/dist/error/DefaultAPIError.js.map +1 -1
  25. package/dist/error/StackspotAPIError.d.ts +21 -2
  26. package/dist/error/StackspotAPIError.d.ts.map +1 -1
  27. package/dist/error/StackspotAPIError.js +18 -3
  28. package/dist/error/StackspotAPIError.js.map +1 -1
  29. package/dist/error/dictionary/action-details.d.ts +2 -0
  30. package/dist/error/dictionary/action-details.d.ts.map +1 -0
  31. package/dist/error/dictionary/action-details.js +19 -0
  32. package/dist/error/dictionary/action-details.js.map +1 -0
  33. package/dist/error/dictionary/workspace-details.d.ts +2 -0
  34. package/dist/error/dictionary/workspace-details.d.ts.map +1 -0
  35. package/dist/error/dictionary/workspace-details.js +15 -0
  36. package/dist/error/dictionary/workspace-details.js.map +1 -0
  37. package/package.json +1 -1
  38. package/src/api/content.ts +52 -38
  39. package/src/api/notification.ts +53 -8
  40. package/src/api/workspaceManager.ts +257 -31
  41. package/src/client/content.ts +19 -13
  42. package/src/client/workspace-manager.ts +15 -10
  43. package/src/error/DefaultAPIError.ts +20 -7
  44. package/src/error/StackspotAPIError.ts +44 -6
  45. package/src/error/dictionary/action-details.ts +20 -0
  46. package/src/error/dictionary/workspace-details.ts +15 -0
@@ -0,0 +1,20 @@
1
+
2
+ export const actionDetails: Record<string, Record<string, object>> = {
3
+ en: {
4
+ ACTIONAPI_5004_GITHUB_SAML_ERROR :
5
+ {
6
+ title: 'SSO Authorization pending',
7
+ description: 'Authorize SSO on GitHub to continue',
8
+ linkLabel: 'Check documentation',
9
+ linkHref: 'https://docs.stackspot.com/en/home/account/guides/scm-integration/scm-github#integrate-github-with-stackspot',
10
+ },
11
+ },
12
+ pt: {
13
+ ACTIONAPI_5004_GITHUB_SAML_ERROR :{
14
+ title: 'Autorização SSO pendente',
15
+ description: 'Autorize o SSO no GitHub para continuar',
16
+ linkLabel: 'Ver Documentação',
17
+ linkHref: 'https://docs.stackspot.com/home/account/guides/scm-integration/scm-github#integrar-o-github-com-a-stackspot',
18
+ },
19
+ },
20
+ }
@@ -0,0 +1,15 @@
1
+
2
+ export const workspaceDetails: Record<string, Record<string, object>> = {
3
+ en: {
4
+ WKS_API_WORKFLOW_UNAUTHORIZED: {
5
+ title: 'Invalid token',
6
+ description: 'Check your authorizations on GitHub and the token on StackSpot',
7
+ },
8
+ },
9
+ pt: {
10
+ WKS_API_WORKFLOW_UNAUTHORIZED: {
11
+ title: 'Token inválido',
12
+ description: 'Confira suas autorizações no Github e o token na StackSpot',
13
+ },
14
+ },
15
+ }