@oneuptime/common 7.0.1829 → 7.0.1830
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/Types/Workflow/Components/MicrosoftTeams.ts +3 -4
- package/Types/Workflow/Components/Slack.ts +1 -1
- package/Types/Workflow/Components.ts +7 -0
- package/build/dist/Types/Workflow/Components/MicrosoftTeams.js +3 -3
- package/build/dist/Types/Workflow/Components/MicrosoftTeams.js.map +1 -1
- package/build/dist/Types/Workflow/Components/Slack.js +1 -1
- package/build/dist/Types/Workflow/Components/Slack.js.map +1 -1
- package/build/dist/Types/Workflow/Components.js +7 -0
- package/build/dist/Types/Workflow/Components.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import ComponentMetadata, {
|
|
|
8
8
|
const components: Array<ComponentMetadata> = [
|
|
9
9
|
{
|
|
10
10
|
id: ComponentID.MicrosoftTeamsSendMessageToChannel,
|
|
11
|
-
title: 'Send Message to
|
|
11
|
+
title: 'Send Message to Teams',
|
|
12
12
|
category: 'Microsoft Teams',
|
|
13
13
|
description: 'Send message to teams channel',
|
|
14
14
|
iconProp: IconProp.SendMessage,
|
|
@@ -18,11 +18,10 @@ const components: Array<ComponentMetadata> = [
|
|
|
18
18
|
id: 'webhook-url',
|
|
19
19
|
name: 'Teams Incoming Webhook URL',
|
|
20
20
|
description:
|
|
21
|
-
'Need help creating a webhook? Check docs here: https://
|
|
21
|
+
'Need help creating a webhook? Check docs here: https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook',
|
|
22
22
|
type: ComponentInputType.URL,
|
|
23
23
|
required: true,
|
|
24
|
-
placeholder:
|
|
25
|
-
'https://hooks.teams.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX',
|
|
24
|
+
placeholder: 'https://xxxxx.webhook.office.com/xxxxxxxxx',
|
|
26
25
|
},
|
|
27
26
|
{
|
|
28
27
|
id: 'text',
|
|
@@ -8,7 +8,7 @@ import ComponentMetadata, {
|
|
|
8
8
|
const components: Array<ComponentMetadata> = [
|
|
9
9
|
{
|
|
10
10
|
id: ComponentID.SlackSendMessageToChannel,
|
|
11
|
-
title: 'Send Message to
|
|
11
|
+
title: 'Send Message to Slack',
|
|
12
12
|
category: 'Slack',
|
|
13
13
|
description: 'Send message to slack channel',
|
|
14
14
|
iconProp: IconProp.SendMessage,
|
|
@@ -10,6 +10,7 @@ import EmailComponents from './Components/Email';
|
|
|
10
10
|
import WebhookComponents from './Components/Webhook';
|
|
11
11
|
import ManualComponents from './Components/Manual';
|
|
12
12
|
import WorkflowComponents from './Components/Workflow';
|
|
13
|
+
import MicrosoftTeamsComponents from './Components/MicrosoftTeams';
|
|
13
14
|
|
|
14
15
|
import IconProp from '../Icon/IconProp';
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ const components: Array<ComponentMetadata> = [
|
|
|
25
26
|
...WebhookComponents,
|
|
26
27
|
...WorkflowComponents,
|
|
27
28
|
...ManualComponents,
|
|
29
|
+
...MicrosoftTeamsComponents,
|
|
28
30
|
];
|
|
29
31
|
|
|
30
32
|
export default components;
|
|
@@ -45,6 +47,11 @@ export const Categories: Array<ComponentCategory> = [
|
|
|
45
47
|
description: 'Integrate OneUptime with your Slack team.',
|
|
46
48
|
icon: IconProp.SendMessage,
|
|
47
49
|
},
|
|
50
|
+
{
|
|
51
|
+
name: 'Microsoft Teams',
|
|
52
|
+
description: 'Integrate OneUptime with your Microsoft Teams.',
|
|
53
|
+
icon: IconProp.SendMessage,
|
|
54
|
+
},
|
|
48
55
|
{
|
|
49
56
|
name: 'Conditions',
|
|
50
57
|
description: 'Add logic to your workflows.',
|
|
@@ -4,7 +4,7 @@ import { ComponentInputType, ComponentType, } from './../Component';
|
|
|
4
4
|
const components = [
|
|
5
5
|
{
|
|
6
6
|
id: ComponentID.MicrosoftTeamsSendMessageToChannel,
|
|
7
|
-
title: 'Send Message to
|
|
7
|
+
title: 'Send Message to Teams',
|
|
8
8
|
category: 'Microsoft Teams',
|
|
9
9
|
description: 'Send message to teams channel',
|
|
10
10
|
iconProp: IconProp.SendMessage,
|
|
@@ -13,10 +13,10 @@ const components = [
|
|
|
13
13
|
{
|
|
14
14
|
id: 'webhook-url',
|
|
15
15
|
name: 'Teams Incoming Webhook URL',
|
|
16
|
-
description: 'Need help creating a webhook? Check docs here: https://
|
|
16
|
+
description: 'Need help creating a webhook? Check docs here: https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook',
|
|
17
17
|
type: ComponentInputType.URL,
|
|
18
18
|
required: true,
|
|
19
|
-
placeholder: 'https://
|
|
19
|
+
placeholder: 'https://xxxxx.webhook.office.com/xxxxxxxxx',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
id: 'text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MicrosoftTeams.js","sourceRoot":"","sources":["../../../../../Types/Workflow/Components/MicrosoftTeams.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAA0B,EACtB,kBAAkB,EAClB,aAAa,GAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,UAAU,GAA6B;IACzC;QACI,EAAE,EAAE,WAAW,CAAC,kCAAkC;QAClD,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MicrosoftTeams.js","sourceRoot":"","sources":["../../../../../Types/Workflow/Components/MicrosoftTeams.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAA0B,EACtB,kBAAkB,EAClB,aAAa,GAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,UAAU,GAA6B;IACzC;QACI,EAAE,EAAE,WAAW,CAAC,kCAAkC;QAClD,KAAK,EAAE,uBAAuB;QAC9B,QAAQ,EAAE,iBAAiB;QAC3B,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,QAAQ,CAAC,WAAW;QAC9B,aAAa,EAAE,aAAa,CAAC,SAAS;QACtC,SAAS,EAAE;YACP;gBACI,EAAE,EAAE,aAAa;gBACjB,IAAI,EAAE,4BAA4B;gBAClC,WAAW,EACP,8JAA8J;gBAClK,IAAI,EAAE,kBAAkB,CAAC,GAAG;gBAC5B,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4CAA4C;aAC5D;YACD;gBACI,EAAE,EAAE,MAAM;gBACV,IAAI,EAAE,cAAc;gBACpB,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,kBAAkB,CAAC,QAAQ;gBACjC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,mCAAmC;aACnD;SACJ;QACD,YAAY,EAAE;YACV;gBACI,EAAE,EAAE,OAAO;gBACX,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yBAAyB;gBACtC,IAAI,EAAE,kBAAkB,CAAC,IAAI;gBAC7B,QAAQ,EAAE,KAAK;aAClB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,KAAK,EAAE,IAAI;gBACX,WAAW,EACP,oEAAoE;gBACxE,EAAE,EAAE,IAAI;aACX;SACJ;QACD,QAAQ,EAAE;YACN;gBACI,KAAK,EAAE,SAAS;gBAChB,WAAW,EACP,0DAA0D;gBAC9D,EAAE,EAAE,SAAS;aAChB;YACD;gBACI,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,yCAAyC;gBACtD,EAAE,EAAE,OAAO;aACd;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { ComponentInputType, ComponentType, } from './../Component';
|
|
|
4
4
|
const components = [
|
|
5
5
|
{
|
|
6
6
|
id: ComponentID.SlackSendMessageToChannel,
|
|
7
|
-
title: 'Send Message to
|
|
7
|
+
title: 'Send Message to Slack',
|
|
8
8
|
category: 'Slack',
|
|
9
9
|
description: 'Send message to slack channel',
|
|
10
10
|
iconProp: IconProp.SendMessage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slack.js","sourceRoot":"","sources":["../../../../../Types/Workflow/Components/Slack.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAA0B,EACtB,kBAAkB,EAClB,aAAa,GAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,UAAU,GAA6B;IACzC;QACI,EAAE,EAAE,WAAW,CAAC,yBAAyB;QACzC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Slack.js","sourceRoot":"","sources":["../../../../../Types/Workflow/Components/Slack.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAA0B,EACtB,kBAAkB,EAClB,aAAa,GAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,UAAU,GAA6B;IACzC;QACI,EAAE,EAAE,WAAW,CAAC,yBAAyB;QACzC,KAAK,EAAE,uBAAuB;QAC9B,QAAQ,EAAE,OAAO;QACjB,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,QAAQ,CAAC,WAAW;QAC9B,aAAa,EAAE,aAAa,CAAC,SAAS;QACtC,SAAS,EAAE;YACP;gBACI,EAAE,EAAE,aAAa;gBACjB,IAAI,EAAE,4BAA4B;gBAClC,WAAW,EACP,yFAAyF;gBAC7F,IAAI,EAAE,kBAAkB,CAAC,GAAG;gBAC5B,QAAQ,EAAE,IAAI;gBACd,WAAW,EACP,+EAA+E;aACtF;YACD;gBACI,EAAE,EAAE,MAAM;gBACV,IAAI,EAAE,cAAc;gBACpB,WAAW,EAAE,4BAA4B;gBACzC,IAAI,EAAE,kBAAkB,CAAC,QAAQ;gBACjC,QAAQ,EAAE,IAAI;gBACd,WAAW,EACP,mFAAmF;aAC1F;SACJ;QACD,YAAY,EAAE;YACV;gBACI,EAAE,EAAE,OAAO;gBACX,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,yBAAyB;gBACtC,IAAI,EAAE,kBAAkB,CAAC,IAAI;gBAC7B,QAAQ,EAAE,KAAK;aAClB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,KAAK,EAAE,IAAI;gBACX,WAAW,EACP,oEAAoE;gBACxE,EAAE,EAAE,IAAI;aACX;SACJ;QACD,QAAQ,EAAE;YACN;gBACI,KAAK,EAAE,SAAS;gBAChB,WAAW,EACP,0DAA0D;gBAC9D,EAAE,EAAE,SAAS;aAChB;YACD;gBACI,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,yCAAyC;gBACtD,EAAE,EAAE,OAAO;aACd;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -9,6 +9,7 @@ import EmailComponents from './Components/Email';
|
|
|
9
9
|
import WebhookComponents from './Components/Webhook';
|
|
10
10
|
import ManualComponents from './Components/Manual';
|
|
11
11
|
import WorkflowComponents from './Components/Workflow';
|
|
12
|
+
import MicrosoftTeamsComponents from './Components/MicrosoftTeams';
|
|
12
13
|
import IconProp from '../Icon/IconProp';
|
|
13
14
|
const components = [
|
|
14
15
|
...LogComponents,
|
|
@@ -22,6 +23,7 @@ const components = [
|
|
|
22
23
|
...WebhookComponents,
|
|
23
24
|
...WorkflowComponents,
|
|
24
25
|
...ManualComponents,
|
|
26
|
+
...MicrosoftTeamsComponents,
|
|
25
27
|
];
|
|
26
28
|
export default components;
|
|
27
29
|
export const Categories = [
|
|
@@ -40,6 +42,11 @@ export const Categories = [
|
|
|
40
42
|
description: 'Integrate OneUptime with your Slack team.',
|
|
41
43
|
icon: IconProp.SendMessage,
|
|
42
44
|
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Microsoft Teams',
|
|
47
|
+
description: 'Integrate OneUptime with your Microsoft Teams.',
|
|
48
|
+
icon: IconProp.SendMessage,
|
|
49
|
+
},
|
|
43
50
|
{
|
|
44
51
|
name: 'Conditions',
|
|
45
52
|
description: 'Add logic to your workflows.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Components.js","sourceRoot":"","sources":["../../../../Types/Workflow/Components.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Components.js","sourceRoot":"","sources":["../../../../Types/Workflow/Components.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,QAAQ,MAAM,kBAAk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