cf-service-sdk 0.1.27 → 0.1.28

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.
@@ -271,8 +271,11 @@ export type AutocompleteResponseType = {
271
271
  export type AutomatedProspectingCampaignInput = {
272
272
  activeDays?: InputMaybe<Scalars['GenericScalar']['input']>;
273
273
  additionalNotes?: InputMaybe<Scalars['String']['input']>;
274
- buyerDescription: Scalars['String']['input'];
274
+ agentType?: InputMaybe<Scalars['String']['input']>;
275
+ buyerDescription?: InputMaybe<Scalars['String']['input']>;
275
276
  contactsPerCompany?: InputMaybe<Scalars['String']['input']>;
277
+ dormancyDays?: InputMaybe<Scalars['Int']['input']>;
278
+ emailGoal?: InputMaybe<Scalars['String']['input']>;
276
279
  emailSteps?: InputMaybe<Scalars['Int']['input']>;
277
280
  emailTone?: InputMaybe<Scalars['String']['input']>;
278
281
  emailsPerBatch?: InputMaybe<Scalars['Int']['input']>;
@@ -281,12 +284,14 @@ export type AutomatedProspectingCampaignInput = {
281
284
  notificationTime?: InputMaybe<Scalars['String']['input']>;
282
285
  notificationTimezone?: InputMaybe<Scalars['String']['input']>;
283
286
  preferredTitles?: InputMaybe<Scalars['GenericScalar']['input']>;
284
- targetStates: Scalars['GenericScalar']['input'];
287
+ requireReview?: InputMaybe<Scalars['Boolean']['input']>;
288
+ targetStates?: InputMaybe<Scalars['GenericScalar']['input']>;
285
289
  weeklyVolume: Scalars['Int']['input'];
286
290
  };
287
291
  export type AutomatedProspectingCampaignObject = {
288
292
  __typename?: 'AutomatedProspectingCampaignObject';
289
293
  accountId?: Maybe<Scalars['ID']['output']>;
294
+ agentType?: Maybe<Scalars['String']['output']>;
290
295
  attachments?: Maybe<Scalars['GenericScalar']['output']>;
291
296
  configId?: Maybe<Scalars['ID']['output']>;
292
297
  contactCount?: Maybe<Scalars['Int']['output']>;
@@ -309,6 +314,7 @@ export type AutomatedProspectingCampaignObject = {
309
314
  skippedAt?: Maybe<Scalars['DateTime']['output']>;
310
315
  status?: Maybe<Scalars['String']['output']>;
311
316
  step?: Maybe<Scalars['Int']['output']>;
317
+ totalPoolCount?: Maybe<Scalars['Int']['output']>;
312
318
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
313
319
  userId?: Maybe<Scalars['ID']['output']>;
314
320
  };
@@ -317,9 +323,12 @@ export type AutomatedProspectingConfigObject = {
317
323
  accountId?: Maybe<Scalars['ID']['output']>;
318
324
  activeDays?: Maybe<Scalars['GenericScalar']['output']>;
319
325
  additionalNotes?: Maybe<Scalars['String']['output']>;
326
+ agentType?: Maybe<Scalars['String']['output']>;
320
327
  buyerDescription?: Maybe<Scalars['String']['output']>;
321
328
  contactsPerCompany?: Maybe<Scalars['String']['output']>;
322
329
  createdAt?: Maybe<Scalars['DateTime']['output']>;
330
+ dormancyDays?: Maybe<Scalars['Int']['output']>;
331
+ emailGoal?: Maybe<Scalars['String']['output']>;
323
332
  emailSteps?: Maybe<Scalars['Int']['output']>;
324
333
  emailTone?: Maybe<Scalars['String']['output']>;
325
334
  emailsPerBatch?: Maybe<Scalars['Int']['output']>;
@@ -332,6 +341,7 @@ export type AutomatedProspectingConfigObject = {
332
341
  notificationTime?: Maybe<Scalars['String']['output']>;
333
342
  notificationTimezone?: Maybe<Scalars['String']['output']>;
334
343
  preferredTitles?: Maybe<Scalars['GenericScalar']['output']>;
344
+ requireReview?: Maybe<Scalars['Boolean']['output']>;
335
345
  targetStates?: Maybe<Scalars['GenericScalar']['output']>;
336
346
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
337
347
  userId?: Maybe<Scalars['ID']['output']>;
@@ -368,6 +378,7 @@ export type AutomatedProspectingStatsObject = {
368
378
  emailsSent?: Maybe<Scalars['Int']['output']>;
369
379
  replyCount?: Maybe<Scalars['Int']['output']>;
370
380
  replyRate?: Maybe<Scalars['Float']['output']>;
381
+ totalPool?: Maybe<Scalars['Int']['output']>;
371
382
  };
372
383
  export type BulkAssignCompanyOwnerMutation = {
373
384
  __typename?: 'BulkAssignCompanyOwnerMutation';
@@ -4245,6 +4256,7 @@ export type QueryAutomatedProspectingCampaignArgs = {
4245
4256
  /** Query */
4246
4257
  export type QueryAutomatedProspectingCampaignsArgs = {
4247
4258
  accountId: Scalars['ID']['input'];
4259
+ agentType?: InputMaybe<Scalars['String']['input']>;
4248
4260
  page?: InputMaybe<Scalars['Int']['input']>;
4249
4261
  pageSize?: InputMaybe<Scalars['Int']['input']>;
4250
4262
  status?: InputMaybe<Scalars['String']['input']>;
@@ -4252,10 +4264,12 @@ export type QueryAutomatedProspectingCampaignsArgs = {
4252
4264
  /** Query */
4253
4265
  export type QueryAutomatedProspectingConfigArgs = {
4254
4266
  accountId: Scalars['ID']['input'];
4267
+ agentType?: InputMaybe<Scalars['String']['input']>;
4255
4268
  };
4256
4269
  /** Query */
4257
4270
  export type QueryAutomatedProspectingStatsArgs = {
4258
4271
  accountId: Scalars['ID']['input'];
4272
+ agentType?: InputMaybe<Scalars['String']['input']>;
4259
4273
  };
4260
4274
  /** Query */
4261
4275
  export type QueryCallCampaignArgs = {
@@ -6844,6 +6858,7 @@ export type ComposeAutomatedProspectingEmailMutation = {
6844
6858
  configId?: string | null;
6845
6859
  userId?: string | null;
6846
6860
  accountId?: string | null;
6861
+ agentType?: string | null;
6847
6862
  status?: string | null;
6848
6863
  emailSubject?: string | null;
6849
6864
  emailBody?: string | null;
@@ -6853,6 +6868,7 @@ export type ComposeAutomatedProspectingEmailMutation = {
6853
6868
  step?: number | null;
6854
6869
  emailSteps?: number | null;
6855
6870
  contactCount?: number | null;
6871
+ totalPoolCount?: number | null;
6856
6872
  scheduledFor?: any | null;
6857
6873
  notificationSentAt?: any | null;
6858
6874
  sentAt?: any | null;
@@ -10625,6 +10641,7 @@ export type LaunchAutomatedProspectingMutation = {
10625
10641
  configId?: string | null;
10626
10642
  userId?: string | null;
10627
10643
  accountId?: string | null;
10644
+ agentType?: string | null;
10628
10645
  status?: string | null;
10629
10646
  emailSubject?: string | null;
10630
10647
  emailBody?: string | null;
@@ -10634,6 +10651,7 @@ export type LaunchAutomatedProspectingMutation = {
10634
10651
  step?: number | null;
10635
10652
  emailSteps?: number | null;
10636
10653
  contactCount?: number | null;
10654
+ totalPoolCount?: number | null;
10637
10655
  scheduledFor?: any | null;
10638
10656
  notificationSentAt?: any | null;
10639
10657
  sentAt?: any | null;
@@ -11559,6 +11577,7 @@ export type SaveAutomatedProspectingConfigMutation = {
11559
11577
  id?: string | null;
11560
11578
  userId?: string | null;
11561
11579
  accountId?: string | null;
11580
+ agentType?: string | null;
11562
11581
  buyerDescription?: string | null;
11563
11582
  targetStates?: any | null;
11564
11583
  notificationTime?: string | null;
@@ -11573,6 +11592,9 @@ export type SaveAutomatedProspectingConfigMutation = {
11573
11592
  additionalNotes?: string | null;
11574
11593
  emailTone?: string | null;
11575
11594
  isActive?: boolean | null;
11595
+ dormancyDays?: number | null;
11596
+ emailGoal?: string | null;
11597
+ requireReview?: boolean | null;
11576
11598
  llmParsedIndustries?: any | null;
11577
11599
  llmParsedStates?: any | null;
11578
11600
  nextScheduledAt?: any | null;
@@ -13020,6 +13042,7 @@ export type UpdateAutomatedProspectingCampaignMutation = {
13020
13042
  configId?: string | null;
13021
13043
  userId?: string | null;
13022
13044
  accountId?: string | null;
13045
+ agentType?: string | null;
13023
13046
  status?: string | null;
13024
13047
  emailSubject?: string | null;
13025
13048
  emailBody?: string | null;
@@ -13029,6 +13052,7 @@ export type UpdateAutomatedProspectingCampaignMutation = {
13029
13052
  step?: number | null;
13030
13053
  emailSteps?: number | null;
13031
13054
  contactCount?: number | null;
13055
+ totalPoolCount?: number | null;
13032
13056
  scheduledFor?: any | null;
13033
13057
  notificationSentAt?: any | null;
13034
13058
  sentAt?: any | null;
@@ -16976,6 +17000,7 @@ export type AutomatedProspectingCampaignQuery = {
16976
17000
  configId?: string | null;
16977
17001
  userId?: string | null;
16978
17002
  accountId?: string | null;
17003
+ agentType?: string | null;
16979
17004
  status?: string | null;
16980
17005
  emailSubject?: string | null;
16981
17006
  emailBody?: string | null;
@@ -16985,6 +17010,7 @@ export type AutomatedProspectingCampaignQuery = {
16985
17010
  step?: number | null;
16986
17011
  emailSteps?: number | null;
16987
17012
  contactCount?: number | null;
17013
+ totalPoolCount?: number | null;
16988
17014
  scheduledFor?: any | null;
16989
17015
  notificationSentAt?: any | null;
16990
17016
  sentAt?: any | null;
@@ -17024,6 +17050,7 @@ export type AutomatedProspectingCampaignQuery = {
17024
17050
  export type AutomatedProspectingCampaignsQueryVariables = Exact<{
17025
17051
  accountId: Scalars['ID']['input'];
17026
17052
  status?: InputMaybe<Scalars['String']['input']>;
17053
+ agentType?: InputMaybe<Scalars['String']['input']>;
17027
17054
  page?: InputMaybe<Scalars['Int']['input']>;
17028
17055
  pageSize?: InputMaybe<Scalars['Int']['input']>;
17029
17056
  }>;
@@ -17038,6 +17065,7 @@ export type AutomatedProspectingCampaignsQuery = {
17038
17065
  configId?: string | null;
17039
17066
  userId?: string | null;
17040
17067
  accountId?: string | null;
17068
+ agentType?: string | null;
17041
17069
  status?: string | null;
17042
17070
  emailSubject?: string | null;
17043
17071
  emailBody?: string | null;
@@ -17047,6 +17075,7 @@ export type AutomatedProspectingCampaignsQuery = {
17047
17075
  step?: number | null;
17048
17076
  emailSteps?: number | null;
17049
17077
  contactCount?: number | null;
17078
+ totalPoolCount?: number | null;
17050
17079
  scheduledFor?: any | null;
17051
17080
  notificationSentAt?: any | null;
17052
17081
  sentAt?: any | null;
@@ -17086,6 +17115,7 @@ export type AutomatedProspectingCampaignsQuery = {
17086
17115
  };
17087
17116
  export type AutomatedProspectingConfigQueryVariables = Exact<{
17088
17117
  accountId: Scalars['ID']['input'];
17118
+ agentType?: InputMaybe<Scalars['String']['input']>;
17089
17119
  }>;
17090
17120
  export type AutomatedProspectingConfigQuery = {
17091
17121
  __typename?: 'Query';
@@ -17094,6 +17124,7 @@ export type AutomatedProspectingConfigQuery = {
17094
17124
  id?: string | null;
17095
17125
  userId?: string | null;
17096
17126
  accountId?: string | null;
17127
+ agentType?: string | null;
17097
17128
  buyerDescription?: string | null;
17098
17129
  targetStates?: any | null;
17099
17130
  notificationTime?: string | null;
@@ -17108,6 +17139,9 @@ export type AutomatedProspectingConfigQuery = {
17108
17139
  additionalNotes?: string | null;
17109
17140
  emailTone?: string | null;
17110
17141
  isActive?: boolean | null;
17142
+ dormancyDays?: number | null;
17143
+ emailGoal?: string | null;
17144
+ requireReview?: boolean | null;
17111
17145
  llmParsedIndustries?: any | null;
17112
17146
  llmParsedStates?: any | null;
17113
17147
  nextScheduledAt?: any | null;
@@ -17117,6 +17151,7 @@ export type AutomatedProspectingConfigQuery = {
17117
17151
  };
17118
17152
  export type AutomatedProspectingStatsQueryVariables = Exact<{
17119
17153
  accountId: Scalars['ID']['input'];
17154
+ agentType?: InputMaybe<Scalars['String']['input']>;
17120
17155
  }>;
17121
17156
  export type AutomatedProspectingStatsQuery = {
17122
17157
  __typename?: 'Query';
@@ -17125,6 +17160,7 @@ export type AutomatedProspectingStatsQuery = {
17125
17160
  activeCampaignCount?: number | null;
17126
17161
  contactsReached?: number | null;
17127
17162
  emailsSent?: number | null;
17163
+ totalPool?: number | null;
17128
17164
  replyCount?: number | null;
17129
17165
  replyRate?: number | null;
17130
17166
  } | null;
@@ -33839,6 +33875,7 @@ export declare const AutomatedProspectingCampaignsDocument: Apollo.DocumentNode;
33839
33875
  * variables: {
33840
33876
  * accountId: // value for 'accountId'
33841
33877
  * status: // value for 'status'
33878
+ * agentType: // value for 'agentType'
33842
33879
  * page: // value for 'page'
33843
33880
  * pageSize: // value for 'pageSize'
33844
33881
  * },
@@ -33852,18 +33889,21 @@ export declare function useAutomatedProspectingCampaignsQuery(baseOptions: Apoll
33852
33889
  })): Apollo.QueryResult<AutomatedProspectingCampaignsQuery, Exact<{
33853
33890
  accountId: Scalars["ID"]["input"];
33854
33891
  status?: InputMaybe<Scalars["String"]["input"]>;
33892
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33855
33893
  page?: InputMaybe<Scalars["Int"]["input"]>;
33856
33894
  pageSize?: InputMaybe<Scalars["Int"]["input"]>;
33857
33895
  }>>;
33858
33896
  export declare function useAutomatedProspectingCampaignsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AutomatedProspectingCampaignsQuery, AutomatedProspectingCampaignsQueryVariables>): Apollo.LazyQueryResultTuple<AutomatedProspectingCampaignsQuery, Exact<{
33859
33897
  accountId: Scalars["ID"]["input"];
33860
33898
  status?: InputMaybe<Scalars["String"]["input"]>;
33899
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33861
33900
  page?: InputMaybe<Scalars["Int"]["input"]>;
33862
33901
  pageSize?: InputMaybe<Scalars["Int"]["input"]>;
33863
33902
  }>>;
33864
33903
  export declare function useAutomatedProspectingCampaignsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AutomatedProspectingCampaignsQuery, AutomatedProspectingCampaignsQueryVariables>): Apollo.UseSuspenseQueryResult<AutomatedProspectingCampaignsQuery | undefined, Exact<{
33865
33904
  accountId: Scalars["ID"]["input"];
33866
33905
  status?: InputMaybe<Scalars["String"]["input"]>;
33906
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33867
33907
  page?: InputMaybe<Scalars["Int"]["input"]>;
33868
33908
  pageSize?: InputMaybe<Scalars["Int"]["input"]>;
33869
33909
  }>>;
@@ -33885,6 +33925,7 @@ export declare const AutomatedProspectingConfigDocument: Apollo.DocumentNode;
33885
33925
  * const { data, loading, error } = useAutomatedProspectingConfigQuery({
33886
33926
  * variables: {
33887
33927
  * accountId: // value for 'accountId'
33928
+ * agentType: // value for 'agentType'
33888
33929
  * },
33889
33930
  * });
33890
33931
  */
@@ -33895,12 +33936,15 @@ export declare function useAutomatedProspectingConfigQuery(baseOptions: Apollo.Q
33895
33936
  skip: boolean;
33896
33937
  })): Apollo.QueryResult<AutomatedProspectingConfigQuery, Exact<{
33897
33938
  accountId: Scalars["ID"]["input"];
33939
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33898
33940
  }>>;
33899
33941
  export declare function useAutomatedProspectingConfigLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AutomatedProspectingConfigQuery, AutomatedProspectingConfigQueryVariables>): Apollo.LazyQueryResultTuple<AutomatedProspectingConfigQuery, Exact<{
33900
33942
  accountId: Scalars["ID"]["input"];
33943
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33901
33944
  }>>;
33902
33945
  export declare function useAutomatedProspectingConfigSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AutomatedProspectingConfigQuery, AutomatedProspectingConfigQueryVariables>): Apollo.UseSuspenseQueryResult<AutomatedProspectingConfigQuery | undefined, Exact<{
33903
33946
  accountId: Scalars["ID"]["input"];
33947
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33904
33948
  }>>;
33905
33949
  export type AutomatedProspectingConfigQueryHookResult = ReturnType<typeof useAutomatedProspectingConfigQuery>;
33906
33950
  export type AutomatedProspectingConfigLazyQueryHookResult = ReturnType<typeof useAutomatedProspectingConfigLazyQuery>;
@@ -33920,6 +33964,7 @@ export declare const AutomatedProspectingStatsDocument: Apollo.DocumentNode;
33920
33964
  * const { data, loading, error } = useAutomatedProspectingStatsQuery({
33921
33965
  * variables: {
33922
33966
  * accountId: // value for 'accountId'
33967
+ * agentType: // value for 'agentType'
33923
33968
  * },
33924
33969
  * });
33925
33970
  */
@@ -33930,12 +33975,15 @@ export declare function useAutomatedProspectingStatsQuery(baseOptions: Apollo.Qu
33930
33975
  skip: boolean;
33931
33976
  })): Apollo.QueryResult<AutomatedProspectingStatsQuery, Exact<{
33932
33977
  accountId: Scalars["ID"]["input"];
33978
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33933
33979
  }>>;
33934
33980
  export declare function useAutomatedProspectingStatsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AutomatedProspectingStatsQuery, AutomatedProspectingStatsQueryVariables>): Apollo.LazyQueryResultTuple<AutomatedProspectingStatsQuery, Exact<{
33935
33981
  accountId: Scalars["ID"]["input"];
33982
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33936
33983
  }>>;
33937
33984
  export declare function useAutomatedProspectingStatsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AutomatedProspectingStatsQuery, AutomatedProspectingStatsQueryVariables>): Apollo.UseSuspenseQueryResult<AutomatedProspectingStatsQuery | undefined, Exact<{
33938
33985
  accountId: Scalars["ID"]["input"];
33986
+ agentType?: InputMaybe<Scalars["String"]["input"]>;
33939
33987
  }>>;
33940
33988
  export type AutomatedProspectingStatsQueryHookResult = ReturnType<typeof useAutomatedProspectingStatsQuery>;
33941
33989
  export type AutomatedProspectingStatsLazyQueryHookResult = ReturnType<typeof useAutomatedProspectingStatsLazyQuery>;
@@ -2083,6 +2083,7 @@ exports.ComposeAutomatedProspectingEmailDocument = (0, client_1.gql) `
2083
2083
  configId
2084
2084
  userId
2085
2085
  accountId
2086
+ agentType
2086
2087
  status
2087
2088
  emailSubject
2088
2089
  emailBody
@@ -2092,6 +2093,7 @@ exports.ComposeAutomatedProspectingEmailDocument = (0, client_1.gql) `
2092
2093
  step
2093
2094
  emailSteps
2094
2095
  contactCount
2096
+ totalPoolCount
2095
2097
  scheduledFor
2096
2098
  notificationSentAt
2097
2099
  sentAt
@@ -6413,6 +6415,7 @@ exports.LaunchAutomatedProspectingDocument = (0, client_1.gql) `
6413
6415
  configId
6414
6416
  userId
6415
6417
  accountId
6418
+ agentType
6416
6419
  status
6417
6420
  emailSubject
6418
6421
  emailBody
@@ -6422,6 +6425,7 @@ exports.LaunchAutomatedProspectingDocument = (0, client_1.gql) `
6422
6425
  step
6423
6426
  emailSteps
6424
6427
  contactCount
6428
+ totalPoolCount
6425
6429
  scheduledFor
6426
6430
  notificationSentAt
6427
6431
  sentAt
@@ -7750,6 +7754,7 @@ exports.SaveAutomatedProspectingConfigDocument = (0, client_1.gql) `
7750
7754
  id
7751
7755
  userId
7752
7756
  accountId
7757
+ agentType
7753
7758
  buyerDescription
7754
7759
  targetStates
7755
7760
  notificationTime
@@ -7764,6 +7769,9 @@ exports.SaveAutomatedProspectingConfigDocument = (0, client_1.gql) `
7764
7769
  additionalNotes
7765
7770
  emailTone
7766
7771
  isActive
7772
+ dormancyDays
7773
+ emailGoal
7774
+ requireReview
7767
7775
  llmParsedIndustries
7768
7776
  llmParsedStates
7769
7777
  nextScheduledAt
@@ -9560,6 +9568,7 @@ exports.UpdateAutomatedProspectingCampaignDocument = (0, client_1.gql) `
9560
9568
  configId
9561
9569
  userId
9562
9570
  accountId
9571
+ agentType
9563
9572
  status
9564
9573
  emailSubject
9565
9574
  emailBody
@@ -9569,6 +9578,7 @@ exports.UpdateAutomatedProspectingCampaignDocument = (0, client_1.gql) `
9569
9578
  step
9570
9579
  emailSteps
9571
9580
  contactCount
9581
+ totalPoolCount
9572
9582
  scheduledFor
9573
9583
  notificationSentAt
9574
9584
  sentAt
@@ -13835,6 +13845,7 @@ exports.AutomatedProspectingCampaignDocument = (0, client_1.gql) `
13835
13845
  configId
13836
13846
  userId
13837
13847
  accountId
13848
+ agentType
13838
13849
  status
13839
13850
  emailSubject
13840
13851
  emailBody
@@ -13844,6 +13855,7 @@ exports.AutomatedProspectingCampaignDocument = (0, client_1.gql) `
13844
13855
  step
13845
13856
  emailSteps
13846
13857
  contactCount
13858
+ totalPoolCount
13847
13859
  scheduledFor
13848
13860
  notificationSentAt
13849
13861
  sentAt
@@ -13909,10 +13921,11 @@ function useAutomatedProspectingCampaignSuspenseQuery(baseOptions) {
13909
13921
  return Apollo.useSuspenseQuery(exports.AutomatedProspectingCampaignDocument, options);
13910
13922
  }
13911
13923
  exports.AutomatedProspectingCampaignsDocument = (0, client_1.gql) `
13912
- query AutomatedProspectingCampaigns($accountId: ID!, $status: String, $page: Int, $pageSize: Int) {
13924
+ query AutomatedProspectingCampaigns($accountId: ID!, $status: String, $agentType: String, $page: Int, $pageSize: Int) {
13913
13925
  automatedProspectingCampaigns(
13914
13926
  accountId: $accountId
13915
13927
  status: $status
13928
+ agentType: $agentType
13916
13929
  page: $page
13917
13930
  pageSize: $pageSize
13918
13931
  ) {
@@ -13921,6 +13934,7 @@ exports.AutomatedProspectingCampaignsDocument = (0, client_1.gql) `
13921
13934
  configId
13922
13935
  userId
13923
13936
  accountId
13937
+ agentType
13924
13938
  status
13925
13939
  emailSubject
13926
13940
  emailBody
@@ -13930,6 +13944,7 @@ exports.AutomatedProspectingCampaignsDocument = (0, client_1.gql) `
13930
13944
  step
13931
13945
  emailSteps
13932
13946
  contactCount
13947
+ totalPoolCount
13933
13948
  scheduledFor
13934
13949
  notificationSentAt
13935
13950
  sentAt
@@ -13982,6 +13997,7 @@ exports.AutomatedProspectingCampaignsDocument = (0, client_1.gql) `
13982
13997
  * variables: {
13983
13998
  * accountId: // value for 'accountId'
13984
13999
  * status: // value for 'status'
14000
+ * agentType: // value for 'agentType'
13985
14001
  * page: // value for 'page'
13986
14002
  * pageSize: // value for 'pageSize'
13987
14003
  * },
@@ -14000,11 +14016,12 @@ function useAutomatedProspectingCampaignsSuspenseQuery(baseOptions) {
14000
14016
  return Apollo.useSuspenseQuery(exports.AutomatedProspectingCampaignsDocument, options);
14001
14017
  }
14002
14018
  exports.AutomatedProspectingConfigDocument = (0, client_1.gql) `
14003
- query AutomatedProspectingConfig($accountId: ID!) {
14004
- automatedProspectingConfig(accountId: $accountId) {
14019
+ query AutomatedProspectingConfig($accountId: ID!, $agentType: String) {
14020
+ automatedProspectingConfig(accountId: $accountId, agentType: $agentType) {
14005
14021
  id
14006
14022
  userId
14007
14023
  accountId
14024
+ agentType
14008
14025
  buyerDescription
14009
14026
  targetStates
14010
14027
  notificationTime
@@ -14019,6 +14036,9 @@ exports.AutomatedProspectingConfigDocument = (0, client_1.gql) `
14019
14036
  additionalNotes
14020
14037
  emailTone
14021
14038
  isActive
14039
+ dormancyDays
14040
+ emailGoal
14041
+ requireReview
14022
14042
  llmParsedIndustries
14023
14043
  llmParsedStates
14024
14044
  nextScheduledAt
@@ -14040,6 +14060,7 @@ exports.AutomatedProspectingConfigDocument = (0, client_1.gql) `
14040
14060
  * const { data, loading, error } = useAutomatedProspectingConfigQuery({
14041
14061
  * variables: {
14042
14062
  * accountId: // value for 'accountId'
14063
+ * agentType: // value for 'agentType'
14043
14064
  * },
14044
14065
  * });
14045
14066
  */
@@ -14056,11 +14077,12 @@ function useAutomatedProspectingConfigSuspenseQuery(baseOptions) {
14056
14077
  return Apollo.useSuspenseQuery(exports.AutomatedProspectingConfigDocument, options);
14057
14078
  }
14058
14079
  exports.AutomatedProspectingStatsDocument = (0, client_1.gql) `
14059
- query AutomatedProspectingStats($accountId: ID!) {
14060
- automatedProspectingStats(accountId: $accountId) {
14080
+ query AutomatedProspectingStats($accountId: ID!, $agentType: String) {
14081
+ automatedProspectingStats(accountId: $accountId, agentType: $agentType) {
14061
14082
  activeCampaignCount
14062
14083
  contactsReached
14063
14084
  emailsSent
14085
+ totalPool
14064
14086
  replyCount
14065
14087
  replyRate
14066
14088
  }
@@ -14079,6 +14101,7 @@ exports.AutomatedProspectingStatsDocument = (0, client_1.gql) `
14079
14101
  * const { data, loading, error } = useAutomatedProspectingStatsQuery({
14080
14102
  * variables: {
14081
14103
  * accountId: // value for 'accountId'
14104
+ * agentType: // value for 'agentType'
14082
14105
  * },
14083
14106
  * });
14084
14107
  */
package/dist/mutations.js CHANGED
@@ -9447,6 +9447,7 @@ mutation SaveAutomatedProspectingConfig($accountId: ID!, $input: AutomatedProspe
9447
9447
  id
9448
9448
  userId
9449
9449
  accountId
9450
+ agentType
9450
9451
  buyerDescription
9451
9452
  targetStates
9452
9453
  notificationTime
@@ -9461,6 +9462,9 @@ mutation SaveAutomatedProspectingConfig($accountId: ID!, $input: AutomatedProspe
9461
9462
  additionalNotes
9462
9463
  emailTone
9463
9464
  isActive
9465
+ dormancyDays
9466
+ emailGoal
9467
+ requireReview
9464
9468
  llmParsedIndustries
9465
9469
  llmParsedStates
9466
9470
  nextScheduledAt
@@ -9479,6 +9483,7 @@ mutation ComposeAutomatedProspectingEmail($configId: ID!) {
9479
9483
  configId
9480
9484
  userId
9481
9485
  accountId
9486
+ agentType
9482
9487
  status
9483
9488
  emailSubject
9484
9489
  emailBody
@@ -9488,6 +9493,7 @@ mutation ComposeAutomatedProspectingEmail($configId: ID!) {
9488
9493
  step
9489
9494
  emailSteps
9490
9495
  contactCount
9496
+ totalPoolCount
9491
9497
  scheduledFor
9492
9498
  notificationSentAt
9493
9499
  sentAt
@@ -9534,6 +9540,7 @@ mutation LaunchAutomatedProspecting($campaignId: ID!, $scheduledFor: DateTime) {
9534
9540
  configId
9535
9541
  userId
9536
9542
  accountId
9543
+ agentType
9537
9544
  status
9538
9545
  emailSubject
9539
9546
  emailBody
@@ -9543,6 +9550,7 @@ mutation LaunchAutomatedProspecting($campaignId: ID!, $scheduledFor: DateTime) {
9543
9550
  step
9544
9551
  emailSteps
9545
9552
  contactCount
9553
+ totalPoolCount
9546
9554
  scheduledFor
9547
9555
  notificationSentAt
9548
9556
  sentAt
@@ -9633,6 +9641,7 @@ mutation UpdateAutomatedProspectingCampaign($attachments: String, $campaignId: I
9633
9641
  configId
9634
9642
  userId
9635
9643
  accountId
9644
+ agentType
9636
9645
  status
9637
9646
  emailSubject
9638
9647
  emailBody
@@ -9642,6 +9651,7 @@ mutation UpdateAutomatedProspectingCampaign($attachments: String, $campaignId: I
9642
9651
  step
9643
9652
  emailSteps
9644
9653
  contactCount
9654
+ totalPoolCount
9645
9655
  scheduledFor
9646
9656
  notificationSentAt
9647
9657
  sentAt
package/dist/queries.js CHANGED
@@ -8931,11 +8931,12 @@ query GooglePlaceDetails($placeId: String!, $fields: String) {
8931
8931
  }
8932
8932
  }`;
8933
8933
  exports.AUTOMATED_PROSPECTING_CONFIG = (0, client_1.gql) `
8934
- query AutomatedProspectingConfig($accountId: ID!) {
8935
- automatedProspectingConfig(accountId: $accountId) {
8934
+ query AutomatedProspectingConfig($accountId: ID!, $agentType: String) {
8935
+ automatedProspectingConfig(accountId: $accountId, agentType: $agentType) {
8936
8936
  id
8937
8937
  userId
8938
8938
  accountId
8939
+ agentType
8939
8940
  buyerDescription
8940
8941
  targetStates
8941
8942
  notificationTime
@@ -8950,6 +8951,9 @@ query AutomatedProspectingConfig($accountId: ID!) {
8950
8951
  additionalNotes
8951
8952
  emailTone
8952
8953
  isActive
8954
+ dormancyDays
8955
+ emailGoal
8956
+ requireReview
8953
8957
  llmParsedIndustries
8954
8958
  llmParsedStates
8955
8959
  nextScheduledAt
@@ -8958,13 +8962,14 @@ query AutomatedProspectingConfig($accountId: ID!) {
8958
8962
  }
8959
8963
  }`;
8960
8964
  exports.AUTOMATED_PROSPECTING_CAMPAIGNS = (0, client_1.gql) `
8961
- query AutomatedProspectingCampaigns($accountId: ID!, $status: String, $page: Int, $pageSize: Int) {
8962
- automatedProspectingCampaigns(accountId: $accountId, status: $status, page: $page, pageSize: $pageSize) {
8965
+ query AutomatedProspectingCampaigns($accountId: ID!, $status: String, $agentType: String, $page: Int, $pageSize: Int) {
8966
+ automatedProspectingCampaigns(accountId: $accountId, status: $status, agentType: $agentType, page: $page, pageSize: $pageSize) {
8963
8967
  items {
8964
8968
  id
8965
8969
  configId
8966
8970
  userId
8967
8971
  accountId
8972
+ agentType
8968
8973
  status
8969
8974
  emailSubject
8970
8975
  emailBody
@@ -8974,6 +8979,7 @@ query AutomatedProspectingCampaigns($accountId: ID!, $status: String, $page: Int
8974
8979
  step
8975
8980
  emailSteps
8976
8981
  contactCount
8982
+ totalPoolCount
8977
8983
  scheduledFor
8978
8984
  notificationSentAt
8979
8985
  sentAt
@@ -9018,6 +9024,7 @@ query AutomatedProspectingCampaign($campaignId: ID!) {
9018
9024
  configId
9019
9025
  userId
9020
9026
  accountId
9027
+ agentType
9021
9028
  status
9022
9029
  emailSubject
9023
9030
  emailBody
@@ -9027,6 +9034,7 @@ query AutomatedProspectingCampaign($campaignId: ID!) {
9027
9034
  step
9028
9035
  emailSteps
9029
9036
  contactCount
9037
+ totalPoolCount
9030
9038
  scheduledFor
9031
9039
  notificationSentAt
9032
9040
  sentAt
@@ -9063,11 +9071,12 @@ query AutomatedProspectingCampaign($campaignId: ID!) {
9063
9071
  }
9064
9072
  }`;
9065
9073
  exports.AUTOMATED_PROSPECTING_STATS = (0, client_1.gql) `
9066
- query AutomatedProspectingStats($accountId: ID!) {
9067
- automatedProspectingStats(accountId: $accountId) {
9074
+ query AutomatedProspectingStats($accountId: ID!, $agentType: String) {
9075
+ automatedProspectingStats(accountId: $accountId, agentType: $agentType) {
9068
9076
  activeCampaignCount
9069
9077
  contactsReached
9070
9078
  emailsSent
9079
+ totalPool
9071
9080
  replyCount
9072
9081
  replyRate
9073
9082
  }
package/dist/sdk.d.ts CHANGED
@@ -152,9 +152,9 @@ export declare class CloudForgeSDK {
152
152
  accountProfile(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
153
153
  accountSubscription(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
154
154
  automatedProspectingCampaign(campaignId: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
155
- automatedProspectingCampaigns(accountId: string, status?: string, page?: number, pageSize?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
156
- automatedProspectingConfig(accountId: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
157
- automatedProspectingStats(accountId: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
155
+ automatedProspectingCampaigns(accountId: string, status?: string, agentType?: string, page?: number, pageSize?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
156
+ automatedProspectingConfig(accountId: string, agentType?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
157
+ automatedProspectingStats(accountId: string, agentType?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
158
158
  businessProfile(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
159
159
  callCampaign(id: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
160
160
  callCampaignAnalytics(campaignId?: string, startDate?: string, endDate?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
package/dist/sdk.js CHANGED
@@ -891,22 +891,22 @@ class CloudForgeSDK {
891
891
  variables: { campaignId }
892
892
  });
893
893
  }
894
- async automatedProspectingCampaigns(accountId, status, page, pageSize) {
894
+ async automatedProspectingCampaigns(accountId, status, agentType, page, pageSize) {
895
895
  return this.apolloClient.query({
896
896
  query: queries_1.AUTOMATED_PROSPECTING_CAMPAIGNS,
897
- variables: { accountId, status, page, pageSize }
897
+ variables: { accountId, status, agentType, page, pageSize }
898
898
  });
899
899
  }
900
- async automatedProspectingConfig(accountId) {
900
+ async automatedProspectingConfig(accountId, agentType) {
901
901
  return this.apolloClient.query({
902
902
  query: queries_1.AUTOMATED_PROSPECTING_CONFIG,
903
- variables: { accountId }
903
+ variables: { accountId, agentType }
904
904
  });
905
905
  }
906
- async automatedProspectingStats(accountId) {
906
+ async automatedProspectingStats(accountId, agentType) {
907
907
  return this.apolloClient.query({
908
908
  query: queries_1.AUTOMATED_PROSPECTING_STATS,
909
- variables: { accountId }
909
+ variables: { accountId, agentType }
910
910
  });
911
911
  }
912
912
  async businessProfile() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",