Skip to content

Commit e61e12a

Browse files
committed
Remove old polling triggers
1 parent 4a8eb9e commit e61e12a

File tree

11 files changed

+793
-1973
lines changed

11 files changed

+793
-1973
lines changed

src/index.ts

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
import { addBearerHeader, authentication } from "./authentication";
22
import { createIssue } from "./creates/createIssue";
3-
import { newIssueComment } from "./triggers/commentIssue";
4-
import { newProjectUpdateComment } from "./triggers/commentProjectUpdate";
5-
import { newDocumentComment } from "./triggers/commentDocument";
6-
import { newIssue, updatedIssue } from "./triggers/issue";
73
import { team } from "./triggers/team";
84
import { status } from "./triggers/status";
95
import { label } from "./triggers/label";
106
import { user } from "./triggers/user";
117
import { project } from "./triggers/project";
12-
import { newProjectUpdate, updatedProjectUpdate } from "./triggers/projectUpdate";
138
import { projectMilestone } from "./triggers/projectMilestone";
149
import { HttpResponse, ZObject } from "zapier-platform-core";
1510
import { createComment } from "./creates/createComment";
1611
import { estimate } from "./triggers/estimate";
17-
import { newDocumentCommentInstant } from "./triggers/commentDocumentV2";
18-
import { newIssueCommentInstant } from "./triggers/commentIssueV2";
19-
import { newProjectUpdateCommentInstant } from "./triggers/commentProjectUpdateV2";
12+
import { newDocumentCommentInstant } from "./triggers/commentDocument";
13+
import { newIssueCommentInstant } from "./triggers/commentIssue";
14+
import { newProjectUpdateCommentInstant } from "./triggers/commentProjectUpdate";
2015
import { newProjectUpdateInstant, updatedProjectUpdateInstant } from "./triggers/projectUpdateV2";
2116
import { projectWithoutTeam } from "./triggers/projectWithoutTeam";
22-
import { newIssueInstant, updatedIssueInstant } from "./triggers/issueV2";
17+
import { newIssueInstant, updatedIssueInstant } from "./triggers/issue";
2318
import { initiative } from "./triggers/initiative";
2419
import { projectStatus } from "./triggers/projectStatus";
2520
import { newProjectInstant, updatedProjectInstant } from "./triggers/newProject";
@@ -71,19 +66,12 @@ const App = {
7166
[createCustomerNeed.key]: createCustomerNeed,
7267
},
7368
triggers: {
74-
[newIssue.key]: newIssue,
7569
[newIssueInstant.key]: newIssueInstant,
76-
[updatedIssue.key]: updatedIssue,
7770
[updatedIssueInstant.key]: updatedIssueInstant,
78-
[newIssueComment.key]: newIssueComment,
7971
[newIssueCommentInstant.key]: newIssueCommentInstant,
80-
[newProjectUpdate.key]: newProjectUpdate,
8172
[newProjectUpdateInstant.key]: newProjectUpdateInstant,
82-
[newProjectUpdateComment.key]: newProjectUpdateComment,
8373
[newProjectUpdateCommentInstant.key]: newProjectUpdateCommentInstant,
84-
[newDocumentComment.key]: newDocumentComment,
8574
[newDocumentCommentInstant.key]: newDocumentCommentInstant,
86-
[updatedProjectUpdate.key]: updatedProjectUpdate,
8775
[updatedProjectUpdateInstant.key]: updatedProjectUpdateInstant,
8876
[newInitiativeUpdateInstant.key]: newInitiativeUpdateInstant,
8977
[updatedInitiativeUpdateInstant.key]: updatedInitiativeUpdateInstant,

src/searches/issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ZObject, Bundle } from "zapier-platform-core";
2-
import { IssueCommon } from "../triggers/issueV2";
2+
import { IssueCommon } from "../triggers/issue";
33
import sample from "../samples/issue.json";
44

55
interface IssueResponse {

0 commit comments

Comments
 (0)