Skip to content

Commit

Permalink
Merge pull request #23 from integration-os/feat/projects-model
Browse files Browse the repository at this point in the history
feat: add projects common model
  • Loading branch information
paulkr authored Nov 11, 2024
2 parents b603e6c + e56315e commit 175b89a
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 132 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@integrationos/node",
"version": "4.1.13",
"version": "4.1.14",
"description": "Node SDK for the IntegrationOS Unified API",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export * from './types/models';
export * from './paginate';

import {
Projects,
Events,
Calendars,
Threads,
Expand Down Expand Up @@ -233,6 +234,9 @@ export class IntegrationOS {
return new PassthroughResourceImpl(this.axiosInstance, connectionKey, 'passthrough');
}

projects(connectionKey: string) {
return new UnifiedResourceImpl<Projects>(this.axiosInstance, connectionKey, 'projects');
}
events(connectionKey: string) {
return new UnifiedResourceImpl<Events>(this.axiosInstance, connectionKey, 'events');
}
Expand Down
Loading

0 comments on commit 175b89a

Please sign in to comment.