Skip to content

Commit d4d2235

Browse files
authored
Add Category to Platforms (#65)
* add verticals * add salesloft * add slack * change to categories * change to marketing automation
1 parent 7f65116 commit d4d2235

File tree

10 files changed

+17
-1
lines changed

10 files changed

+17
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vesselapi/integrations",
3-
"version": "0.0.46",
3+
"version": "0.0.47",
44
"description": "Vessel integrations",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/platforms/active-campaign/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default platform('activecampaign', {
2626
display: {
2727
name: 'Active Campaign',
2828
iconURI: icon,
29+
categories: ['marketing-automation'],
2930
},
3031
client,
3132
constants,

src/platforms/aircall/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default platform('aircall', {
2929
display: {
3030
name: 'Aircall',
3131
iconURI: icon,
32+
categories: ['dialer'],
3233
},
3334
constants,
3435
client,

src/platforms/apollo/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default platform('apollo', {
4545
display: {
4646
name: 'Apollo',
4747
iconURI: icon,
48+
categories: ['engagement'],
4849
},
4950
constants,
5051
client,

src/platforms/dialpad/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default platform('dialpad', {
2626
display: {
2727
name: 'Dialpad',
2828
iconURI: icon,
29+
categories: ['dialer'],
2930
},
3031
constants,
3132
client,

src/platforms/outreach/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default platform('outreach', {
3232
display: {
3333
name: 'Outreach',
3434
iconURI: icon,
35+
categories: ['engagement'],
3536
},
3637
client,
3738
constants,

src/platforms/ringcentral/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export default platform('ringcentral', {
3434
display: {
3535
name: 'Ringcentral',
3636
iconURI: icon,
37+
categories: ['dialer'],
3738
},
3839
constants,
3940
client,

src/platforms/salesloft/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default platform('salesloft', {
3636
display: {
3737
name: 'Salesloft',
3838
iconURI: icon,
39+
categories: ['engagement'],
3940
},
4041
client,
4142
constants,

src/platforms/slack/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default platform('slack', {
2020
display: {
2121
name: 'Slack',
2222
iconURI: icon,
23+
categories: ['chat'],
2324
},
2425
client,
2526
constants,

src/sdk/types.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,17 @@ export interface PlatformClient {
122122
passthrough: (auth: Auth, options: HttpOptions) => Promise<any>;
123123
}
124124

125+
export type Category =
126+
| 'dialer'
127+
| 'crm'
128+
| 'marketing-automation'
129+
| 'chat'
130+
| 'engagement';
131+
125132
export type PlatformDisplayConfig = {
126133
name: string;
127134
iconURI: string;
135+
categories: Category[];
128136
};
129137

130138
export type PlatformConstants = Record<string, any>;

0 commit comments

Comments
 (0)