cf-service-sdk 0.0.18 → 0.0.20

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.
@@ -361,6 +361,7 @@ export type CallCampaignInput = {
361
361
  description?: InputMaybe<Scalars['String']['input']>;
362
362
  name?: InputMaybe<Scalars['String']['input']>;
363
363
  segmentIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
364
+ status?: InputMaybe<Scalars['String']['input']>;
364
365
  userId?: InputMaybe<Scalars['ID']['input']>;
365
366
  };
366
367
  export type CallCampaignLeaderboardEntry = {
@@ -855,6 +856,7 @@ export type CompanyObject = {
855
856
  industries?: Maybe<Array<Maybe<CompanyIndustryObject>>>;
856
857
  industry?: Maybe<IndustryTypeObject>;
857
858
  isCustomer: Scalars['Boolean']['output'];
859
+ isProspect?: Maybe<Scalars['Boolean']['output']>;
858
860
  keywords?: Maybe<Scalars['String']['output']>;
859
861
  linkedinUrl?: Maybe<Scalars['String']['output']>;
860
862
  location?: Maybe<Scalars['String']['output']>;
@@ -1118,6 +1120,8 @@ export type DashboardStatsType = {
1118
1120
  callsMade?: Maybe<Scalars['Int']['output']>;
1119
1121
  /** Email campaign counts by status */
1120
1122
  emailCampaigns?: Maybe<CampaignStatusCountType>;
1123
+ /** Email campaign counts by scheduled status */
1124
+ emailCampaignsScheduled?: Maybe<EmailCampaignScheduledCountType>;
1121
1125
  /** Start date of the statistics period */
1122
1126
  fromDate?: Maybe<Scalars['String']['output']>;
1123
1127
  /** Total number of meetings booked */
@@ -1178,6 +1182,15 @@ export type DisconnectNylasIntegration = {
1178
1182
  message?: Maybe<Scalars['String']['output']>;
1179
1183
  success?: Maybe<Scalars['Boolean']['output']>;
1180
1184
  };
1185
+ export type EmailCampaignScheduledCountType = {
1186
+ __typename?: 'EmailCampaignScheduledCountType';
1187
+ /** Number of scheduled campaigns */
1188
+ scheduled?: Maybe<Scalars['Int']['output']>;
1189
+ /** Number of scheduled campaigns for next 7 days */
1190
+ scheduledForNext7Days?: Maybe<Scalars['Int']['output']>;
1191
+ /** Number of scheduled campaigns for today */
1192
+ scheduledForToday?: Maybe<Scalars['Int']['output']>;
1193
+ };
1181
1194
  /** GraphQL type for EmailIntegration model */
1182
1195
  export type EmailIntegrationType = {
1183
1196
  __typename?: 'EmailIntegrationType';
@@ -3141,6 +3154,7 @@ export type CreateCompanyMutation = {
3141
3154
  pk?: string | null;
3142
3155
  averageScore?: number | null;
3143
3156
  ownedByUser?: boolean | null;
3157
+ isProspect?: boolean | null;
3144
3158
  locations?: Array<{
3145
3159
  __typename?: 'CompanyLocationType';
3146
3160
  id?: string | null;
@@ -5471,6 +5485,7 @@ export type UpdateCompanyMutation = {
5471
5485
  pk?: string | null;
5472
5486
  averageScore?: number | null;
5473
5487
  ownedByUser?: boolean | null;
5488
+ isProspect?: boolean | null;
5474
5489
  locations?: Array<{
5475
5490
  __typename?: 'CompanyLocationType';
5476
5491
  id?: string | null;
@@ -7607,6 +7622,7 @@ export type CompaniesQuery = {
7607
7622
  pk?: string | null;
7608
7623
  averageScore?: number | null;
7609
7624
  ownedByUser?: boolean | null;
7625
+ isProspect?: boolean | null;
7610
7626
  locations?: Array<{
7611
7627
  __typename?: 'CompanyLocationType';
7612
7628
  id?: string | null;
@@ -8135,6 +8151,7 @@ export type CompanyQuery = {
8135
8151
  pk?: string | null;
8136
8152
  averageScore?: number | null;
8137
8153
  ownedByUser?: boolean | null;
8154
+ isProspect?: boolean | null;
8138
8155
  locations?: Array<{
8139
8156
  __typename?: 'CompanyLocationType';
8140
8157
  id?: string | null;
@@ -9509,6 +9526,12 @@ export type DashboardStatsQuery = {
9509
9526
  draft?: number | null;
9510
9527
  completed?: number | null;
9511
9528
  } | null;
9529
+ emailCampaignsScheduled?: {
9530
+ __typename?: 'EmailCampaignScheduledCountType';
9531
+ scheduled?: number | null;
9532
+ scheduledForToday?: number | null;
9533
+ scheduledForNext7Days?: number | null;
9534
+ } | null;
9512
9535
  } | null;
9513
9536
  };
9514
9537
  export type EmailTemplateQueryVariables = Exact<{
@@ -9853,6 +9876,7 @@ export type RecentHistoryQuery = {
9853
9876
  pk?: string | null;
9854
9877
  averageScore?: number | null;
9855
9878
  ownedByUser?: boolean | null;
9879
+ isProspect?: boolean | null;
9856
9880
  locations?: Array<{
9857
9881
  __typename?: 'CompanyLocationType';
9858
9882
  id?: string | null;
@@ -1801,6 +1801,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
1801
1801
  }
1802
1802
  averageScore
1803
1803
  ownedByUser
1804
+ isProspect
1804
1805
  }
1805
1806
  }
1806
1807
  }
@@ -4765,6 +4766,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
4765
4766
  }
4766
4767
  averageScore
4767
4768
  ownedByUser
4769
+ isProspect
4768
4770
  }
4769
4771
  }
4770
4772
  }
@@ -7138,6 +7140,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
7138
7140
  }
7139
7141
  averageScore
7140
7142
  ownedByUser
7143
+ isProspect
7141
7144
  }
7142
7145
  pagination {
7143
7146
  currentPage
@@ -7742,6 +7745,7 @@ exports.CompanyDocument = (0, client_1.gql) `
7742
7745
  }
7743
7746
  averageScore
7744
7747
  ownedByUser
7748
+ isProspect
7745
7749
  }
7746
7750
  }
7747
7751
  `;
@@ -8656,6 +8660,11 @@ exports.DashboardStatsDocument = (0, client_1.gql) `
8656
8660
  draft
8657
8661
  completed
8658
8662
  }
8663
+ emailCampaignsScheduled {
8664
+ scheduled
8665
+ scheduledForToday
8666
+ scheduledForNext7Days
8667
+ }
8659
8668
  }
8660
8669
  }
8661
8670
  `;
@@ -9750,6 +9759,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
9750
9759
  }
9751
9760
  averageScore
9752
9761
  ownedByUser
9762
+ isProspect
9753
9763
  }
9754
9764
  contactName
9755
9765
  contactTitle
package/dist/mutations.js CHANGED
@@ -849,6 +849,7 @@ mutation CreateCompany($input: CompanyInput) {
849
849
  }
850
850
  averageScore
851
851
  ownedByUser
852
+ isProspect
852
853
  }
853
854
  }
854
855
  }`;
@@ -1415,6 +1416,7 @@ mutation UpdateCompany($input: CompanyInput) {
1415
1416
  }
1416
1417
  averageScore
1417
1418
  ownedByUser
1419
+ isProspect
1418
1420
  }
1419
1421
  }
1420
1422
  }`;
package/dist/queries.js CHANGED
@@ -22,6 +22,11 @@ query DashboardStats($startDate: DateTime, $endDate: DateTime) {
22
22
  draft
23
23
  completed
24
24
  }
25
+ emailCampaignsScheduled {
26
+ scheduled
27
+ scheduledForToday
28
+ scheduledForNext7Days
29
+ }
25
30
  }
26
31
  }`;
27
32
  exports.RECENT_HISTORY = (0, client_1.gql) `
@@ -510,6 +515,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
510
515
  }
511
516
  averageScore
512
517
  ownedByUser
518
+ isProspect
513
519
  }
514
520
  contactName
515
521
  contactTitle
@@ -2746,6 +2752,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
2746
2752
  }
2747
2753
  averageScore
2748
2754
  ownedByUser
2755
+ isProspect
2749
2756
  }
2750
2757
  pagination {
2751
2758
  currentPage
@@ -3417,6 +3424,7 @@ query Company($id: String) {
3417
3424
  }
3418
3425
  averageScore
3419
3426
  ownedByUser
3427
+ isProspect
3420
3428
  }
3421
3429
  }`;
3422
3430
  exports.CONTACT = (0, client_1.gql) `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",