organizationIntegrations.js 914 B

1234567891011121314151617181920212223242526272829303132
  1. export function OrganizationIntegrations(params = {}) {
  2. return {
  3. id: '15',
  4. name: 'hb-testing',
  5. icon: 'https://a.slack-edge.com/80588/img/avatars-teams/ava_0012-132.png',
  6. domainName: 'hb-testing.slack.com',
  7. accountType: null,
  8. status: 'active',
  9. provider: {
  10. key: 'slack',
  11. slug: 'slack',
  12. name: 'Slack',
  13. canAdd: true,
  14. canDisable: false,
  15. features: ['alert-rule', 'chat-unfurl'],
  16. aspects: {
  17. alerts: [
  18. {
  19. type: 'info',
  20. text: 'The Slack integration adds a new Alert Rule action to all projects. To enable automatic notifications sent to Slack you must create a rule using the slack workspace action in your project settings.',
  21. },
  22. ],
  23. },
  24. },
  25. configOrganization: [],
  26. configData: {
  27. installationType: 'born_as_bot',
  28. },
  29. externalId: 'TA99AB9CD',
  30. ...params,
  31. };
  32. }