Skip to content

Commit

Permalink
Feature/campaign trigger (#3)
Browse files Browse the repository at this point in the history
* updated Campaign trigger with the newly created  Object

This reverts commit 31f1195.

* Updated Campaign Trigger Functionality

---------

Co-authored-by: Shubham Pawar <82868470+srp-pawar@users.noreply.github.com>
  • Loading branch information
sanjana0190 and srp-pawar authored Apr 23, 2024
1 parent 31f1195 commit 32201d1
Show file tree
Hide file tree
Showing 8 changed files with 1,055 additions and 1,007 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,50 +1,38 @@
import { gql } from '@apollo/client';

export const GET_CAMPAIGN_LISTS = gql`
query FindManyCampaigns($filter: CampaignsFilterInput, $orderBy: CampaignOrderByInput, $lastCursor: String, $limit: Float) {
campaigns(
filter: $filter
orderBy: $orderBy
first: $limit
after: $lastCursor
) {
query FindManyCampaigns($filter: CampaignFilterInput, $orderBy: CampaignOrderByInput, $lastCursor: String, $limit: Float) {
campaigns(filter: $filter, orderBy: $orderBy, first: $limit, after: $lastCursor) {
edges {
node {
id
name
formUrl
description
formNameId
updatedAt
campaignName
segment {
id
segmentDescription
filters
segmentName
name
formTemplate{
id
name
}
messagingMedia
specialtyType
startDate
lastExecution
id
subSpecialtyType
lastExecutionId
createdAt
segment{
id
name
}
subspecialty
specialty
messageTemplate{
id
name
}
segmentId
status
endDate
leads
messageTemplateId
}
}
pageInfo {
hasNextPage
startCursor
endCursor
__typename
}
totalCount
__typename
}
}`
Loading

0 comments on commit 32201d1

Please sign in to comment.