cf-service-sdk-dharani 0.0.77 → 0.0.78

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.
@@ -132,6 +132,14 @@ export type AddContactsToCampaign = {
132
132
  message?: Maybe<Scalars['String']['output']>;
133
133
  success?: Maybe<Scalars['Boolean']['output']>;
134
134
  };
135
+ /** Add contacts to a combined campaign using CustomContact */
136
+ export type AddContactsToCombinedCampaign = {
137
+ __typename?: 'AddContactsToCombinedCampaign';
138
+ addedCount?: Maybe<Scalars['Int']['output']>;
139
+ campaign?: Maybe<CombinedCampaignObject>;
140
+ message?: Maybe<Scalars['String']['output']>;
141
+ success?: Maybe<Scalars['Boolean']['output']>;
142
+ };
135
143
  export type AddContactsToSegment = {
136
144
  __typename?: 'AddContactsToSegment';
137
145
  message?: Maybe<Scalars['String']['output']>;
@@ -1031,6 +1039,8 @@ export type CompanyFilterInput = {
1031
1039
  showOwned?: InputMaybe<Scalars['Boolean']['input']>;
1032
1040
  /** Filter by state(s) */
1033
1041
  state?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1042
+ /** Filter by company statuses */
1043
+ statuses?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1034
1044
  /** Filter by tag ID(s) */
1035
1045
  tag?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1036
1046
  /** Filter by zip code(s) - searches all company locations */
@@ -1125,6 +1135,8 @@ export type CompanyLocationType = {
1125
1135
  locationType?: Maybe<Scalars['String']['output']>;
1126
1136
  /** Phone number of the company location */
1127
1137
  phone?: Maybe<Scalars['String']['output']>;
1138
+ /** Region of the company location like 'Midwest (Great Lakes)', 'Southeast', 'West Coast', etc. */
1139
+ region?: Maybe<Scalars['String']['output']>;
1128
1140
  /** State of the company location */
1129
1141
  state?: Maybe<Scalars['String']['output']>;
1130
1142
  /** Last update date and time of the company location record */
@@ -1614,6 +1626,7 @@ export type CustomContactInput = {
1614
1626
  id?: InputMaybe<Scalars['ID']['input']>;
1615
1627
  lastName?: InputMaybe<Scalars['String']['input']>;
1616
1628
  notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
1629
+ phone?: InputMaybe<Scalars['String']['input']>;
1617
1630
  };
1618
1631
  export type DashboardStatsType = {
1619
1632
  __typename?: 'DashboardStatsType';
@@ -1813,6 +1826,15 @@ export type ForgotPassword = {
1813
1826
  message?: Maybe<Scalars['String']['output']>;
1814
1827
  success?: Maybe<Scalars['Boolean']['output']>;
1815
1828
  };
1829
+ /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
1830
+ export type GenerateNewEmail = {
1831
+ __typename?: 'GenerateNewEmail';
1832
+ body?: Maybe<Scalars['String']['output']>;
1833
+ message?: Maybe<Scalars['String']['output']>;
1834
+ subject?: Maybe<Scalars['String']['output']>;
1835
+ success?: Maybe<Scalars['Boolean']['output']>;
1836
+ variablesUsed?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1837
+ };
1816
1838
  /** Input type for hidden record mutations */
1817
1839
  export type HiddenRecordInput = {
1818
1840
  /** ID of the record to hide/unhide */
@@ -1971,6 +1993,8 @@ export type Mutation = {
1971
1993
  /** AcceptInvitation - Accept an invitation to join an account */
1972
1994
  acceptInvitation?: Maybe<AcceptInvitation>;
1973
1995
  addContactsToCampaign?: Maybe<AddContactsToCampaign>;
1996
+ /** Add contacts to a combined campaign using CustomContact */
1997
+ addContactsToCombinedCampaign?: Maybe<AddContactsToCombinedCampaign>;
1974
1998
  addContactsToSegment?: Maybe<AddContactsToSegment>;
1975
1999
  addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
1976
2000
  addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
@@ -2022,6 +2046,8 @@ export type Mutation = {
2022
2046
  emailTone?: Maybe<EmailTone>;
2023
2047
  /** ForgotPassword - Request a password reset */
2024
2048
  forgotPassword?: Maybe<ForgotPassword>;
2049
+ /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2050
+ generateNewEmail?: Maybe<GenerateNewEmail>;
2025
2051
  /** Mutation to hide a record (contact or company) from query results */
2026
2052
  hideRecord?: Maybe<HideRecord>;
2027
2053
  /** InviteUser - Invite a user to join an account */
@@ -2064,6 +2090,8 @@ export type Mutation = {
2064
2090
  /** Send a manual email as part of a combined campaign step */
2065
2091
  sendManualEmail?: Maybe<SendManualEmail>;
2066
2092
  sendTestEmail?: Maybe<SendTestEmail>;
2093
+ /** Send test email for combined campaign using content from first email step */
2094
+ sendTestEmailCombined?: Maybe<SendTestEmailCombined>;
2067
2095
  /** Signup - Register a new user and create their account */
2068
2096
  signup?: Maybe<Signup>;
2069
2097
  startCampaign?: Maybe<StartCampaign>;
@@ -2086,6 +2114,7 @@ export type Mutation = {
2086
2114
  updateCombinedCampaignLogs?: Maybe<UpdateCombinedCampaignLogs>;
2087
2115
  updateCompany?: Maybe<UpdateCompany>;
2088
2116
  updateCompanyNote?: Maybe<UpdateCompanyNote>;
2117
+ updateCompanyStatus?: Maybe<UpdateCompanyStatus>;
2089
2118
  updateContact?: Maybe<UpdateContact>;
2090
2119
  /** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
2091
2120
  updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
@@ -2109,6 +2138,11 @@ export type MutationAddContactsToCampaignArgs = {
2109
2138
  contacts: Array<InputMaybe<CustomContactInput>>;
2110
2139
  };
2111
2140
  /** Mutations */
2141
+ export type MutationAddContactsToCombinedCampaignArgs = {
2142
+ campaignId: Scalars['ID']['input'];
2143
+ contacts: Array<InputMaybe<CustomContactInput>>;
2144
+ };
2145
+ /** Mutations */
2112
2146
  export type MutationAddContactsToSegmentArgs = {
2113
2147
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
2114
2148
  segmentId: Scalars['ID']['input'];
@@ -2237,6 +2271,11 @@ export type MutationForgotPasswordArgs = {
2237
2271
  email: Scalars['String']['input'];
2238
2272
  };
2239
2273
  /** Mutations */
2274
+ export type MutationGenerateNewEmailArgs = {
2275
+ prompt: Scalars['String']['input'];
2276
+ variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2277
+ };
2278
+ /** Mutations */
2240
2279
  export type MutationHideRecordArgs = {
2241
2280
  input: HiddenRecordInput;
2242
2281
  };
@@ -2361,6 +2400,11 @@ export type MutationSendTestEmailArgs = {
2361
2400
  template: Scalars['String']['input'];
2362
2401
  };
2363
2402
  /** Mutations */
2403
+ export type MutationSendTestEmailCombinedArgs = {
2404
+ campaignId: Scalars['ID']['input'];
2405
+ emailAddress: Scalars['String']['input'];
2406
+ };
2407
+ /** Mutations */
2364
2408
  export type MutationSignupArgs = {
2365
2409
  input: SignupInput;
2366
2410
  };
@@ -2425,6 +2469,11 @@ export type MutationUpdateCompanyNoteArgs = {
2425
2469
  input: CompanyNoteInput;
2426
2470
  };
2427
2471
  /** Mutations */
2472
+ export type MutationUpdateCompanyStatusArgs = {
2473
+ companyId?: InputMaybe<Scalars['ID']['input']>;
2474
+ status?: InputMaybe<Scalars['String']['input']>;
2475
+ };
2476
+ /** Mutations */
2428
2477
  export type MutationUpdateContactArgs = {
2429
2478
  input?: InputMaybe<ContactInput>;
2430
2479
  };
@@ -3227,6 +3276,12 @@ export type SendTestEmail = {
3227
3276
  message?: Maybe<Scalars['String']['output']>;
3228
3277
  success?: Maybe<Scalars['Boolean']['output']>;
3229
3278
  };
3279
+ /** Send test email for combined campaign using content from first email step */
3280
+ export type SendTestEmailCombined = {
3281
+ __typename?: 'SendTestEmailCombined';
3282
+ message?: Maybe<Scalars['String']['output']>;
3283
+ success?: Maybe<Scalars['Boolean']['output']>;
3284
+ };
3230
3285
  /** Signup - Register a new user and create their account */
3231
3286
  export type Signup = {
3232
3287
  __typename?: 'Signup';
@@ -3443,6 +3498,10 @@ export type UpdateCompanyNote = {
3443
3498
  __typename?: 'UpdateCompanyNote';
3444
3499
  companyNote?: Maybe<CompanyNoteObject>;
3445
3500
  };
3501
+ export type UpdateCompanyStatus = {
3502
+ __typename?: 'UpdateCompanyStatus';
3503
+ company?: Maybe<CompanyObject>;
3504
+ };
3446
3505
  export type UpdateContact = {
3447
3506
  __typename?: 'UpdateContact';
3448
3507
  contact?: Maybe<ContactObject>;
@@ -3633,6 +3692,86 @@ export type AddContactsToCampaignMutation = {
3633
3692
  } | null;
3634
3693
  } | null;
3635
3694
  };
3695
+ export type AddContactsToCombinedCampaignMutationVariables = Exact<{
3696
+ campaignId: Scalars['ID']['input'];
3697
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
3698
+ }>;
3699
+ export type AddContactsToCombinedCampaignMutation = {
3700
+ __typename?: 'Mutation';
3701
+ addContactsToCombinedCampaign?: {
3702
+ __typename?: 'AddContactsToCombinedCampaign';
3703
+ success?: boolean | null;
3704
+ message?: string | null;
3705
+ addedCount?: number | null;
3706
+ campaign?: {
3707
+ __typename?: 'CombinedCampaignObject';
3708
+ id?: string | null;
3709
+ uuid?: string | null;
3710
+ name?: string | null;
3711
+ description?: string | null;
3712
+ status?: string | null;
3713
+ scheduledFor?: any | null;
3714
+ startedAt?: any | null;
3715
+ completedAt?: any | null;
3716
+ cancelledAt?: any | null;
3717
+ pausedAt?: any | null;
3718
+ settings?: any | null;
3719
+ totalContacts?: number | null;
3720
+ completedContacts?: number | null;
3721
+ lastActivity?: any | null;
3722
+ stepsPreview?: any | null;
3723
+ createdAt?: any | null;
3724
+ updatedAt?: any | null;
3725
+ steps?: Array<{
3726
+ __typename?: 'CombinedCampaignStepObject';
3727
+ id?: string | null;
3728
+ uuid?: string | null;
3729
+ order?: number | null;
3730
+ stepType?: string | null;
3731
+ status?: string | null;
3732
+ subject?: string | null;
3733
+ template?: string | null;
3734
+ taskTitle?: string | null;
3735
+ taskDescription?: string | null;
3736
+ taskCategory?: string | null;
3737
+ taskPriority?: string | null;
3738
+ delay?: number | null;
3739
+ delayUnit?: string | null;
3740
+ condition?: string | null;
3741
+ useBusinessDays?: boolean | null;
3742
+ settings?: any | null;
3743
+ createdAt?: any | null;
3744
+ updatedAt?: any | null;
3745
+ } | null> | null;
3746
+ segments?: Array<{
3747
+ __typename?: 'SegmentObject';
3748
+ id?: string | null;
3749
+ name?: string | null;
3750
+ description?: string | null;
3751
+ state?: string | null;
3752
+ industry?: string | null;
3753
+ metalType?: string | null;
3754
+ productCategory?: string | null;
3755
+ segmentType?: string | null;
3756
+ createdAt?: any | null;
3757
+ updatedAt?: any | null;
3758
+ isSystemTemplate?: boolean | null;
3759
+ totalContacts?: number | null;
3760
+ status?: string | null;
3761
+ } | null> | null;
3762
+ stepStats?: Array<{
3763
+ __typename?: 'CombinedCampaignStepStatsObject';
3764
+ stepId?: string | null;
3765
+ stepOrder?: number | null;
3766
+ stepType?: string | null;
3767
+ completed?: number | null;
3768
+ skipped?: number | null;
3769
+ total?: number | null;
3770
+ completionRate?: number | null;
3771
+ } | null> | null;
3772
+ } | null;
3773
+ } | null;
3774
+ };
3636
3775
  export type AddContactsToSegmentMutationVariables = Exact<{
3637
3776
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
3638
3777
  segmentId: Scalars['ID']['input'];
@@ -4504,6 +4643,7 @@ export type CreateCompanyMutation = {
4504
4643
  locationName?: string | null;
4505
4644
  phone?: string | null;
4506
4645
  email?: string | null;
4646
+ region?: string | null;
4507
4647
  createdAt?: any | null;
4508
4648
  updatedAt?: any | null;
4509
4649
  fullAddress?: string | null;
@@ -5175,6 +5315,7 @@ export type CreateCompanyMutation = {
5175
5315
  locationName?: string | null;
5176
5316
  phone?: string | null;
5177
5317
  email?: string | null;
5318
+ region?: string | null;
5178
5319
  createdAt?: any | null;
5179
5320
  updatedAt?: any | null;
5180
5321
  fullAddress?: string | null;
@@ -5973,6 +6114,20 @@ export type ForgotPasswordMutation = {
5973
6114
  message?: string | null;
5974
6115
  } | null;
5975
6116
  };
6117
+ export type GenerateNewEmailMutationVariables = Exact<{
6118
+ prompt: Scalars['String']['input'];
6119
+ variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
6120
+ }>;
6121
+ export type GenerateNewEmailMutation = {
6122
+ __typename?: 'Mutation';
6123
+ generateNewEmail?: {
6124
+ __typename?: 'GenerateNewEmail';
6125
+ success?: boolean | null;
6126
+ message?: string | null;
6127
+ subject?: string | null;
6128
+ body?: string | null;
6129
+ } | null;
6130
+ };
5976
6131
  export type HideRecordMutationVariables = Exact<{
5977
6132
  input: HiddenRecordInput;
5978
6133
  }>;
@@ -7561,6 +7716,18 @@ export type SendTestEmailMutation = {
7561
7716
  message?: string | null;
7562
7717
  } | null;
7563
7718
  };
7719
+ export type SendTestEmailCombinedMutationVariables = Exact<{
7720
+ campaignId: Scalars['ID']['input'];
7721
+ emailAddress: Scalars['String']['input'];
7722
+ }>;
7723
+ export type SendTestEmailCombinedMutation = {
7724
+ __typename?: 'Mutation';
7725
+ sendTestEmailCombined?: {
7726
+ __typename?: 'SendTestEmailCombined';
7727
+ success?: boolean | null;
7728
+ message?: string | null;
7729
+ } | null;
7730
+ };
7564
7731
  export type SignupMutationVariables = Exact<{
7565
7732
  input: SignupInput;
7566
7733
  }>;
@@ -8505,6 +8672,7 @@ export type UpdateCompanyMutation = {
8505
8672
  locationName?: string | null;
8506
8673
  phone?: string | null;
8507
8674
  email?: string | null;
8675
+ region?: string | null;
8508
8676
  createdAt?: any | null;
8509
8677
  updatedAt?: any | null;
8510
8678
  fullAddress?: string | null;
@@ -9176,6 +9344,7 @@ export type UpdateCompanyMutation = {
9176
9344
  locationName?: string | null;
9177
9345
  phone?: string | null;
9178
9346
  email?: string | null;
9347
+ region?: string | null;
9179
9348
  createdAt?: any | null;
9180
9349
  updatedAt?: any | null;
9181
9350
  fullAddress?: string | null;
@@ -9510,80 +9679,53 @@ export type UpdateCompanyNoteMutation = {
9510
9679
  } | null;
9511
9680
  } | null;
9512
9681
  };
9513
- export type UpdateContactMutationVariables = Exact<{
9514
- input?: InputMaybe<ContactInput>;
9682
+ export type UpdateCompanyStatusMutationVariables = Exact<{
9683
+ companyId?: InputMaybe<Scalars['ID']['input']>;
9684
+ status?: InputMaybe<Scalars['String']['input']>;
9515
9685
  }>;
9516
- export type UpdateContactMutation = {
9686
+ export type UpdateCompanyStatusMutation = {
9517
9687
  __typename?: 'Mutation';
9518
- updateContact?: {
9519
- __typename?: 'UpdateContact';
9520
- contact?: {
9521
- __typename?: 'ContactObject';
9688
+ updateCompanyStatus?: {
9689
+ __typename?: 'UpdateCompanyStatus';
9690
+ company?: {
9691
+ __typename?: 'CompanyObject';
9522
9692
  id?: string | null;
9523
- firstName?: string | null;
9524
- lastName?: string | null;
9525
- email?: string | null;
9526
- workEmail?: string | null;
9527
- workEmail2?: string | null;
9528
- personalEmail?: string | null;
9529
- personalEmail2?: string | null;
9530
- phone?: string | null;
9531
- phone2?: string | null;
9532
- phone3?: string | null;
9533
- title?: string | null;
9693
+ createdAt: any;
9694
+ updatedAt: any;
9695
+ companyName: string;
9696
+ location?: string | null;
9697
+ state?: string | null;
9698
+ employeeSize?: string | null;
9699
+ website?: string | null;
9700
+ description?: string | null;
9701
+ keywords?: string | null;
9702
+ isCustomer: boolean;
9703
+ logoUrl?: string | null;
9704
+ facebookUrl?: string | null;
9705
+ twitterUrl?: string | null;
9534
9706
  linkedinUrl?: string | null;
9535
- isPrimary?: boolean | null;
9536
- isCustomer?: boolean | null;
9537
- notes?: string | null;
9538
- lastContactedAt?: any | null;
9707
+ address1?: string | null;
9708
+ address2?: string | null;
9709
+ city?: string | null;
9710
+ zipCode?: string | null;
9711
+ phone?: string | null;
9712
+ email?: string | null;
9713
+ annualRevenue?: string | null;
9714
+ pk?: string | null;
9715
+ averageScore?: number | null;
9539
9716
  ownedByUser?: boolean | null;
9540
- companyName?: string | null;
9541
- companyId?: string | null;
9542
9717
  isProspect?: boolean | null;
9543
- lastContactedBy?: {
9544
- __typename?: 'UserType';
9545
- id?: string | null;
9546
- email?: string | null;
9547
- firstName?: string | null;
9548
- lastName?: string | null;
9549
- picture?: string | null;
9550
- } | null;
9551
- lastContactedVia?: {
9552
- __typename?: 'LastContactedViaType';
9553
- actionType?: string | null;
9554
- actionId?: string | null;
9555
- campaignName?: string | null;
9556
- campaignId?: string | null;
9557
- callCampaignId?: string | null;
9558
- combinedCampaignId?: string | null;
9559
- stepType?: string | null;
9560
- stepOrder?: number | null;
9561
- noteType?: string | null;
9562
- noteId?: string | null;
9563
- } | null;
9564
- contactLog?: Array<{
9565
- __typename?: 'ContactLogObject';
9566
- id?: string | null;
9567
- sentAt?: any | null;
9568
- openedAt?: any | null;
9569
- clickedAt?: any | null;
9570
- bouncedAt?: any | null;
9571
- status?: string | null;
9572
- } | null> | null;
9573
- inSegments?: Array<{
9574
- __typename?: 'SegmentIdObject';
9718
+ purchaseMetalConfidence?: number | null;
9719
+ lastContactedAt?: any | null;
9720
+ status?: string | null;
9721
+ tags?: Array<{
9722
+ __typename?: 'TagObject';
9575
9723
  id?: string | null;
9724
+ pk?: string | null;
9576
9725
  name?: string | null;
9577
- state?: string | null;
9578
- industry?: string | null;
9726
+ description?: string | null;
9579
9727
  } | null> | null;
9580
- stats?: {
9581
- __typename?: 'ContactStatsType';
9582
- totalOpened?: number | null;
9583
- totalReplied?: number | null;
9584
- totalBounced?: number | null;
9585
- } | null;
9586
- companyOwners?: Array<{
9728
+ owners?: Array<{
9587
9729
  __typename?: 'CompanyOwnersObject';
9588
9730
  id?: string | null;
9589
9731
  user?: {
@@ -9595,43 +9737,835 @@ export type UpdateContactMutation = {
9595
9737
  picture?: string | null;
9596
9738
  } | null;
9597
9739
  } | null> | null;
9598
- } | null;
9599
- } | null;
9600
- };
9601
- export type UpdateEmailTemplateMutationVariables = Exact<{
9602
- input: EmailTemplateInput;
9603
- uuid: Scalars['UUID']['input'];
9604
- }>;
9605
- export type UpdateEmailTemplateMutation = {
9606
- __typename?: 'Mutation';
9607
- updateEmailTemplate?: {
9608
- __typename?: 'UpdateEmailTemplate';
9609
- success?: boolean | null;
9610
- message?: string | null;
9611
- emailTemplate?: {
9612
- __typename?: 'EmailTemplateType';
9613
- createdAt: any;
9614
- updatedAt: any;
9615
- uuid: any;
9616
- name: string;
9617
- description: string;
9618
- subject?: string | null;
9619
- template: string;
9620
- templateData?: any | null;
9621
- campaignType: AppEmailTemplateCampaignTypeChoices;
9622
- isDefault: boolean;
9623
- } | null;
9624
- } | null;
9625
- };
9626
- export type UpdateSegmentMutationVariables = Exact<{
9627
- input: SegmentInput;
9628
- }>;
9629
- export type UpdateSegmentMutation = {
9630
- __typename?: 'Mutation';
9631
- updateSegment?: {
9632
- __typename?: 'UpdateSegment';
9633
- success?: boolean | null;
9634
- message?: string | null;
9740
+ statuses?: Array<{
9741
+ __typename?: 'CompanyStatusType';
9742
+ id?: string | null;
9743
+ status?: string | null;
9744
+ lastUpdatedBy?: {
9745
+ __typename?: 'UserType';
9746
+ id?: string | null;
9747
+ email?: string | null;
9748
+ firstName?: string | null;
9749
+ lastName?: string | null;
9750
+ picture?: string | null;
9751
+ } | null;
9752
+ } | null> | null;
9753
+ locations?: Array<{
9754
+ __typename?: 'CompanyLocationType';
9755
+ id?: string | null;
9756
+ address1?: string | null;
9757
+ address2?: string | null;
9758
+ city?: string | null;
9759
+ state?: string | null;
9760
+ zipCode?: string | null;
9761
+ country?: string | null;
9762
+ isPrimary?: boolean | null;
9763
+ locationType?: string | null;
9764
+ locationName?: string | null;
9765
+ phone?: string | null;
9766
+ email?: string | null;
9767
+ region?: string | null;
9768
+ createdAt?: any | null;
9769
+ updatedAt?: any | null;
9770
+ fullAddress?: string | null;
9771
+ } | null> | null;
9772
+ companyIndustries?: Array<{
9773
+ __typename?: 'CompanyIndustryObject';
9774
+ id?: string | null;
9775
+ pk?: string | null;
9776
+ matchScore?: number | null;
9777
+ industry?: {
9778
+ __typename?: 'IndustryTypeObject';
9779
+ id?: string | null;
9780
+ pk?: string | null;
9781
+ name?: string | null;
9782
+ description?: string | null;
9783
+ industrySector?: {
9784
+ __typename?: 'IndustrySectorObject';
9785
+ id: string;
9786
+ name: string;
9787
+ description: string;
9788
+ orderBy: number;
9789
+ } | null;
9790
+ } | null;
9791
+ } | null> | null;
9792
+ contacts?: Array<{
9793
+ __typename?: 'ContactObject';
9794
+ id?: string | null;
9795
+ firstName?: string | null;
9796
+ lastName?: string | null;
9797
+ email?: string | null;
9798
+ workEmail?: string | null;
9799
+ workEmail2?: string | null;
9800
+ personalEmail?: string | null;
9801
+ personalEmail2?: string | null;
9802
+ phone?: string | null;
9803
+ phone2?: string | null;
9804
+ phone3?: string | null;
9805
+ title?: string | null;
9806
+ linkedinUrl?: string | null;
9807
+ isPrimary?: boolean | null;
9808
+ isCustomer?: boolean | null;
9809
+ notes?: string | null;
9810
+ lastContactedAt?: any | null;
9811
+ ownedByUser?: boolean | null;
9812
+ companyName?: string | null;
9813
+ companyId?: string | null;
9814
+ isProspect?: boolean | null;
9815
+ lastContactedBy?: {
9816
+ __typename?: 'UserType';
9817
+ id?: string | null;
9818
+ email?: string | null;
9819
+ firstName?: string | null;
9820
+ lastName?: string | null;
9821
+ picture?: string | null;
9822
+ } | null;
9823
+ lastContactedVia?: {
9824
+ __typename?: 'LastContactedViaType';
9825
+ actionType?: string | null;
9826
+ actionId?: string | null;
9827
+ campaignName?: string | null;
9828
+ campaignId?: string | null;
9829
+ callCampaignId?: string | null;
9830
+ combinedCampaignId?: string | null;
9831
+ stepType?: string | null;
9832
+ stepOrder?: number | null;
9833
+ noteType?: string | null;
9834
+ noteId?: string | null;
9835
+ } | null;
9836
+ contactLog?: Array<{
9837
+ __typename?: 'ContactLogObject';
9838
+ id?: string | null;
9839
+ sentAt?: any | null;
9840
+ openedAt?: any | null;
9841
+ clickedAt?: any | null;
9842
+ bouncedAt?: any | null;
9843
+ status?: string | null;
9844
+ } | null> | null;
9845
+ inSegments?: Array<{
9846
+ __typename?: 'SegmentIdObject';
9847
+ id?: string | null;
9848
+ name?: string | null;
9849
+ state?: string | null;
9850
+ industry?: string | null;
9851
+ } | null> | null;
9852
+ stats?: {
9853
+ __typename?: 'ContactStatsType';
9854
+ totalOpened?: number | null;
9855
+ totalReplied?: number | null;
9856
+ totalBounced?: number | null;
9857
+ } | null;
9858
+ companyOwners?: Array<{
9859
+ __typename?: 'CompanyOwnersObject';
9860
+ id?: string | null;
9861
+ user?: {
9862
+ __typename?: 'UserType';
9863
+ id?: string | null;
9864
+ email?: string | null;
9865
+ firstName?: string | null;
9866
+ lastName?: string | null;
9867
+ picture?: string | null;
9868
+ } | null;
9869
+ } | null> | null;
9870
+ } | null> | null;
9871
+ productMetalScores?: Array<{
9872
+ __typename?: 'CompanyProductMetalScoreObject';
9873
+ id: string;
9874
+ createdAt: any;
9875
+ updatedAt?: any | null;
9876
+ score: any;
9877
+ matchedFilter?: boolean | null;
9878
+ reasoning?: string | null;
9879
+ isUserAssigned?: boolean | null;
9880
+ userId?: string | null;
9881
+ accountId?: string | null;
9882
+ userFirstName?: string | null;
9883
+ userLastName?: string | null;
9884
+ source?: string | null;
9885
+ productType?: {
9886
+ __typename?: 'ProductTypeObject';
9887
+ id?: string | null;
9888
+ name?: string | null;
9889
+ orderBy?: number | null;
9890
+ pk?: string | null;
9891
+ productCategories?: Array<{
9892
+ __typename?: 'ProductCategoryObject';
9893
+ id?: string | null;
9894
+ name: string;
9895
+ orderBy: number;
9896
+ synonyms?: string | null;
9897
+ use?: string | null;
9898
+ buyerTypes?: string | null;
9899
+ industryTags?: string | null;
9900
+ pk?: string | null;
9901
+ } | null> | null;
9902
+ } | null;
9903
+ metalType?: {
9904
+ __typename?: 'MetalTypeObject';
9905
+ id: string;
9906
+ name: string;
9907
+ orderBy: number;
9908
+ synonyms?: string | null;
9909
+ use?: string | null;
9910
+ buyerTypes?: string | null;
9911
+ industryTags?: string | null;
9912
+ } | null;
9913
+ metalGrade?: {
9914
+ __typename?: 'MetalGradeObject';
9915
+ id: string;
9916
+ name: string;
9917
+ metalType?: {
9918
+ __typename?: 'MetalTypeObject';
9919
+ id: string;
9920
+ name: string;
9921
+ orderBy: number;
9922
+ synonyms?: string | null;
9923
+ use?: string | null;
9924
+ buyerTypes?: string | null;
9925
+ industryTags?: string | null;
9926
+ } | null;
9927
+ } | null;
9928
+ productCategory?: {
9929
+ __typename?: 'ProductCategoryLightweightObject';
9930
+ id?: string | null;
9931
+ pk?: string | null;
9932
+ name?: string | null;
9933
+ orderBy?: number | null;
9934
+ } | null;
9935
+ } | null> | null;
9936
+ companyNotes?: Array<{
9937
+ __typename?: 'CompanyNoteObject';
9938
+ id?: string | null;
9939
+ accountId?: number | null;
9940
+ contactPersonId?: number | null;
9941
+ contactPersonName?: string | null;
9942
+ date?: any | null;
9943
+ noteType?: string | null;
9944
+ duration?: string | null;
9945
+ competitorsMentioned?: string | null;
9946
+ notes?: string | null;
9947
+ summary?: string | null;
9948
+ setReminder?: boolean | null;
9949
+ pinned?: boolean | null;
9950
+ followUpDate?: any | null;
9951
+ followUpAction?: string | null;
9952
+ createdAt?: any | null;
9953
+ updatedAt?: any | null;
9954
+ companyId?: number | null;
9955
+ companyName?: string | null;
9956
+ userId?: number | null;
9957
+ userFirstName?: string | null;
9958
+ userLastName?: string | null;
9959
+ callCampaignLogId?: number | null;
9960
+ callCampaignName?: string | null;
9961
+ callCampaignId?: number | null;
9962
+ callCampaignLogOutcome?: string | null;
9963
+ tasks?: Array<{
9964
+ __typename?: 'TaskObject';
9965
+ id?: number | null;
9966
+ title?: string | null;
9967
+ category?: string | null;
9968
+ description?: string | null;
9969
+ dueDate?: any | null;
9970
+ priority?: string | null;
9971
+ reminderType?: string | null;
9972
+ status?: string | null;
9973
+ completedAt?: any | null;
9974
+ createdAt?: any | null;
9975
+ updatedAt?: any | null;
9976
+ companyId?: number | null;
9977
+ companyName?: string | null;
9978
+ contactId?: number | null;
9979
+ contactName?: string | null;
9980
+ overdue?: boolean | null;
9981
+ assignedTo?: {
9982
+ __typename?: 'UserType';
9983
+ id?: string | null;
9984
+ email?: string | null;
9985
+ firstName?: string | null;
9986
+ lastName?: string | null;
9987
+ picture?: string | null;
9988
+ } | null;
9989
+ callCampaign?: {
9990
+ __typename?: 'CallCampaignObject';
9991
+ id?: string | null;
9992
+ createdAt?: any | null;
9993
+ updatedAt?: any | null;
9994
+ name?: string | null;
9995
+ description?: string | null;
9996
+ status?: string | null;
9997
+ contacts?: number | null;
9998
+ called?: number | null;
9999
+ connected?: number | null;
10000
+ lastActivity?: any | null;
10001
+ user?: {
10002
+ __typename?: 'UserType';
10003
+ id?: string | null;
10004
+ email?: string | null;
10005
+ firstName?: string | null;
10006
+ lastName?: string | null;
10007
+ picture?: string | null;
10008
+ } | null;
10009
+ account?: {
10010
+ __typename?: 'AccountType';
10011
+ id?: string | null;
10012
+ name?: string | null;
10013
+ isActive?: boolean | null;
10014
+ createdAt?: any | null;
10015
+ updatedAt?: any | null;
10016
+ } | null;
10017
+ segments?: Array<{
10018
+ __typename?: 'SegmentObject';
10019
+ id?: string | null;
10020
+ name?: string | null;
10021
+ description?: string | null;
10022
+ state?: string | null;
10023
+ industry?: string | null;
10024
+ metalType?: string | null;
10025
+ productCategory?: string | null;
10026
+ segmentType?: string | null;
10027
+ createdAt?: any | null;
10028
+ updatedAt?: any | null;
10029
+ isSystemTemplate?: boolean | null;
10030
+ totalContacts?: number | null;
10031
+ status?: string | null;
10032
+ } | null> | null;
10033
+ stats?: {
10034
+ __typename?: 'CallCampaignStatsObject';
10035
+ totalContacts?: number | null;
10036
+ calledCount?: number | null;
10037
+ connectedCount?: number | null;
10038
+ remainingCount?: number | null;
10039
+ lastActivity?: any | null;
10040
+ statusCounts?: any | null;
10041
+ } | null;
10042
+ } | null;
10043
+ callCampaignLog?: {
10044
+ __typename?: 'CallCampaignLogObject';
10045
+ id?: string | null;
10046
+ status?: string | null;
10047
+ outcome?: string | null;
10048
+ lastCalled?: any | null;
10049
+ notes?: string | null;
10050
+ businessSize?: string | null;
10051
+ businessRevenue?: string | null;
10052
+ businessEmployees?: number | null;
10053
+ businessLocation?: string | null;
10054
+ businessIndustry?: string | null;
10055
+ createdAt?: any | null;
10056
+ updatedAt?: any | null;
10057
+ metadata?: any | null;
10058
+ productsOfInterest?: any | null;
10059
+ businessOpportunities?: any | null;
10060
+ currentSupplier?: string | null;
10061
+ campaignId?: string | null;
10062
+ campaignName?: string | null;
10063
+ segmentId?: number | null;
10064
+ segmentName?: string | null;
10065
+ contactId?: number | null;
10066
+ contactName?: string | null;
10067
+ userId?: number | null;
10068
+ userName?: string | null;
10069
+ accountId?: number | null;
10070
+ } | null;
10071
+ companyNote?: {
10072
+ __typename?: 'CompanyNoteObject';
10073
+ id?: string | null;
10074
+ accountId?: number | null;
10075
+ contactPersonId?: number | null;
10076
+ contactPersonName?: string | null;
10077
+ date?: any | null;
10078
+ noteType?: string | null;
10079
+ duration?: string | null;
10080
+ competitorsMentioned?: string | null;
10081
+ notes?: string | null;
10082
+ summary?: string | null;
10083
+ setReminder?: boolean | null;
10084
+ pinned?: boolean | null;
10085
+ followUpDate?: any | null;
10086
+ followUpAction?: string | null;
10087
+ createdAt?: any | null;
10088
+ updatedAt?: any | null;
10089
+ companyId?: number | null;
10090
+ companyName?: string | null;
10091
+ userId?: number | null;
10092
+ userFirstName?: string | null;
10093
+ userLastName?: string | null;
10094
+ callCampaignLogId?: number | null;
10095
+ callCampaignName?: string | null;
10096
+ callCampaignId?: number | null;
10097
+ callCampaignLogOutcome?: string | null;
10098
+ tasks?: Array<{
10099
+ __typename?: 'TaskObject';
10100
+ id?: number | null;
10101
+ title?: string | null;
10102
+ category?: string | null;
10103
+ description?: string | null;
10104
+ dueDate?: any | null;
10105
+ priority?: string | null;
10106
+ reminderType?: string | null;
10107
+ status?: string | null;
10108
+ completedAt?: any | null;
10109
+ createdAt?: any | null;
10110
+ updatedAt?: any | null;
10111
+ companyId?: number | null;
10112
+ companyName?: string | null;
10113
+ contactId?: number | null;
10114
+ contactName?: string | null;
10115
+ overdue?: boolean | null;
10116
+ assignedTo?: {
10117
+ __typename?: 'UserType';
10118
+ id?: string | null;
10119
+ email?: string | null;
10120
+ firstName?: string | null;
10121
+ lastName?: string | null;
10122
+ picture?: string | null;
10123
+ } | null;
10124
+ callCampaign?: {
10125
+ __typename?: 'CallCampaignObject';
10126
+ id?: string | null;
10127
+ createdAt?: any | null;
10128
+ updatedAt?: any | null;
10129
+ name?: string | null;
10130
+ description?: string | null;
10131
+ status?: string | null;
10132
+ contacts?: number | null;
10133
+ called?: number | null;
10134
+ connected?: number | null;
10135
+ lastActivity?: any | null;
10136
+ user?: {
10137
+ __typename?: 'UserType';
10138
+ id?: string | null;
10139
+ email?: string | null;
10140
+ firstName?: string | null;
10141
+ lastName?: string | null;
10142
+ picture?: string | null;
10143
+ } | null;
10144
+ account?: {
10145
+ __typename?: 'AccountType';
10146
+ id?: string | null;
10147
+ name?: string | null;
10148
+ isActive?: boolean | null;
10149
+ createdAt?: any | null;
10150
+ updatedAt?: any | null;
10151
+ } | null;
10152
+ stats?: {
10153
+ __typename?: 'CallCampaignStatsObject';
10154
+ totalContacts?: number | null;
10155
+ calledCount?: number | null;
10156
+ connectedCount?: number | null;
10157
+ remainingCount?: number | null;
10158
+ lastActivity?: any | null;
10159
+ statusCounts?: any | null;
10160
+ } | null;
10161
+ } | null;
10162
+ callCampaignLog?: {
10163
+ __typename?: 'CallCampaignLogObject';
10164
+ id?: string | null;
10165
+ status?: string | null;
10166
+ outcome?: string | null;
10167
+ lastCalled?: any | null;
10168
+ notes?: string | null;
10169
+ businessSize?: string | null;
10170
+ businessRevenue?: string | null;
10171
+ businessEmployees?: number | null;
10172
+ businessLocation?: string | null;
10173
+ businessIndustry?: string | null;
10174
+ createdAt?: any | null;
10175
+ updatedAt?: any | null;
10176
+ metadata?: any | null;
10177
+ productsOfInterest?: any | null;
10178
+ businessOpportunities?: any | null;
10179
+ currentSupplier?: string | null;
10180
+ campaignId?: string | null;
10181
+ campaignName?: string | null;
10182
+ segmentId?: number | null;
10183
+ segmentName?: string | null;
10184
+ contactId?: number | null;
10185
+ contactName?: string | null;
10186
+ userId?: number | null;
10187
+ userName?: string | null;
10188
+ accountId?: number | null;
10189
+ } | null;
10190
+ companyNote?: {
10191
+ __typename?: 'CompanyNoteObject';
10192
+ id?: string | null;
10193
+ accountId?: number | null;
10194
+ contactPersonId?: number | null;
10195
+ contactPersonName?: string | null;
10196
+ date?: any | null;
10197
+ noteType?: string | null;
10198
+ duration?: string | null;
10199
+ competitorsMentioned?: string | null;
10200
+ notes?: string | null;
10201
+ summary?: string | null;
10202
+ setReminder?: boolean | null;
10203
+ pinned?: boolean | null;
10204
+ followUpDate?: any | null;
10205
+ followUpAction?: string | null;
10206
+ createdAt?: any | null;
10207
+ updatedAt?: any | null;
10208
+ companyId?: number | null;
10209
+ companyName?: string | null;
10210
+ userId?: number | null;
10211
+ userFirstName?: string | null;
10212
+ userLastName?: string | null;
10213
+ callCampaignLogId?: number | null;
10214
+ callCampaignName?: string | null;
10215
+ callCampaignId?: number | null;
10216
+ callCampaignLogOutcome?: string | null;
10217
+ } | null;
10218
+ createdBy?: {
10219
+ __typename?: 'UserType';
10220
+ id?: string | null;
10221
+ email?: string | null;
10222
+ firstName?: string | null;
10223
+ lastName?: string | null;
10224
+ picture?: string | null;
10225
+ } | null;
10226
+ } | null> | null;
10227
+ } | null;
10228
+ createdBy?: {
10229
+ __typename?: 'UserType';
10230
+ id?: string | null;
10231
+ email?: string | null;
10232
+ firstName?: string | null;
10233
+ lastName?: string | null;
10234
+ picture?: string | null;
10235
+ } | null;
10236
+ } | null> | null;
10237
+ } | null> | null;
10238
+ tasks?: Array<{
10239
+ __typename?: 'TaskObject';
10240
+ id?: number | null;
10241
+ title?: string | null;
10242
+ category?: string | null;
10243
+ description?: string | null;
10244
+ dueDate?: any | null;
10245
+ priority?: string | null;
10246
+ reminderType?: string | null;
10247
+ status?: string | null;
10248
+ completedAt?: any | null;
10249
+ createdAt?: any | null;
10250
+ updatedAt?: any | null;
10251
+ companyId?: number | null;
10252
+ companyName?: string | null;
10253
+ contactId?: number | null;
10254
+ contactName?: string | null;
10255
+ overdue?: boolean | null;
10256
+ assignedTo?: {
10257
+ __typename?: 'UserType';
10258
+ id?: string | null;
10259
+ email?: string | null;
10260
+ firstName?: string | null;
10261
+ lastName?: string | null;
10262
+ picture?: string | null;
10263
+ } | null;
10264
+ callCampaign?: {
10265
+ __typename?: 'CallCampaignObject';
10266
+ id?: string | null;
10267
+ createdAt?: any | null;
10268
+ updatedAt?: any | null;
10269
+ name?: string | null;
10270
+ description?: string | null;
10271
+ status?: string | null;
10272
+ contacts?: number | null;
10273
+ called?: number | null;
10274
+ connected?: number | null;
10275
+ lastActivity?: any | null;
10276
+ user?: {
10277
+ __typename?: 'UserType';
10278
+ id?: string | null;
10279
+ email?: string | null;
10280
+ firstName?: string | null;
10281
+ lastName?: string | null;
10282
+ picture?: string | null;
10283
+ } | null;
10284
+ account?: {
10285
+ __typename?: 'AccountType';
10286
+ id?: string | null;
10287
+ name?: string | null;
10288
+ isActive?: boolean | null;
10289
+ createdAt?: any | null;
10290
+ updatedAt?: any | null;
10291
+ } | null;
10292
+ segments?: Array<{
10293
+ __typename?: 'SegmentObject';
10294
+ id?: string | null;
10295
+ name?: string | null;
10296
+ description?: string | null;
10297
+ state?: string | null;
10298
+ industry?: string | null;
10299
+ metalType?: string | null;
10300
+ productCategory?: string | null;
10301
+ segmentType?: string | null;
10302
+ createdAt?: any | null;
10303
+ updatedAt?: any | null;
10304
+ isSystemTemplate?: boolean | null;
10305
+ totalContacts?: number | null;
10306
+ status?: string | null;
10307
+ } | null> | null;
10308
+ stats?: {
10309
+ __typename?: 'CallCampaignStatsObject';
10310
+ totalContacts?: number | null;
10311
+ calledCount?: number | null;
10312
+ connectedCount?: number | null;
10313
+ remainingCount?: number | null;
10314
+ lastActivity?: any | null;
10315
+ statusCounts?: any | null;
10316
+ } | null;
10317
+ } | null;
10318
+ callCampaignLog?: {
10319
+ __typename?: 'CallCampaignLogObject';
10320
+ id?: string | null;
10321
+ status?: string | null;
10322
+ outcome?: string | null;
10323
+ lastCalled?: any | null;
10324
+ notes?: string | null;
10325
+ businessSize?: string | null;
10326
+ businessRevenue?: string | null;
10327
+ businessEmployees?: number | null;
10328
+ businessLocation?: string | null;
10329
+ businessIndustry?: string | null;
10330
+ createdAt?: any | null;
10331
+ updatedAt?: any | null;
10332
+ metadata?: any | null;
10333
+ productsOfInterest?: any | null;
10334
+ businessOpportunities?: any | null;
10335
+ currentSupplier?: string | null;
10336
+ campaignId?: string | null;
10337
+ campaignName?: string | null;
10338
+ segmentId?: number | null;
10339
+ segmentName?: string | null;
10340
+ contactId?: number | null;
10341
+ contactName?: string | null;
10342
+ userId?: number | null;
10343
+ userName?: string | null;
10344
+ accountId?: number | null;
10345
+ } | null;
10346
+ companyNote?: {
10347
+ __typename?: 'CompanyNoteObject';
10348
+ id?: string | null;
10349
+ accountId?: number | null;
10350
+ contactPersonId?: number | null;
10351
+ contactPersonName?: string | null;
10352
+ date?: any | null;
10353
+ noteType?: string | null;
10354
+ duration?: string | null;
10355
+ competitorsMentioned?: string | null;
10356
+ notes?: string | null;
10357
+ summary?: string | null;
10358
+ setReminder?: boolean | null;
10359
+ pinned?: boolean | null;
10360
+ followUpDate?: any | null;
10361
+ followUpAction?: string | null;
10362
+ createdAt?: any | null;
10363
+ updatedAt?: any | null;
10364
+ companyId?: number | null;
10365
+ companyName?: string | null;
10366
+ userId?: number | null;
10367
+ userFirstName?: string | null;
10368
+ userLastName?: string | null;
10369
+ callCampaignLogId?: number | null;
10370
+ callCampaignName?: string | null;
10371
+ callCampaignId?: number | null;
10372
+ callCampaignLogOutcome?: string | null;
10373
+ } | null;
10374
+ createdBy?: {
10375
+ __typename?: 'UserType';
10376
+ id?: string | null;
10377
+ email?: string | null;
10378
+ firstName?: string | null;
10379
+ lastName?: string | null;
10380
+ picture?: string | null;
10381
+ } | null;
10382
+ } | null> | null;
10383
+ auditLogs?: Array<{
10384
+ __typename?: 'AuditLogItemType';
10385
+ id: string;
10386
+ type: string;
10387
+ title: string;
10388
+ description?: string | null;
10389
+ timestamp: any;
10390
+ } | null> | null;
10391
+ industry?: {
10392
+ __typename?: 'IndustryTypeObject';
10393
+ id?: string | null;
10394
+ pk?: string | null;
10395
+ name?: string | null;
10396
+ description?: string | null;
10397
+ industrySector?: {
10398
+ __typename?: 'IndustrySectorObject';
10399
+ id: string;
10400
+ name: string;
10401
+ description: string;
10402
+ orderBy: number;
10403
+ } | null;
10404
+ } | null;
10405
+ industries?: Array<{
10406
+ __typename?: 'CompanyIndustryObject';
10407
+ id?: string | null;
10408
+ pk?: string | null;
10409
+ matchScore?: number | null;
10410
+ industry?: {
10411
+ __typename?: 'IndustryTypeObject';
10412
+ id?: string | null;
10413
+ pk?: string | null;
10414
+ name?: string | null;
10415
+ description?: string | null;
10416
+ industrySector?: {
10417
+ __typename?: 'IndustrySectorObject';
10418
+ id: string;
10419
+ name: string;
10420
+ description: string;
10421
+ orderBy: number;
10422
+ } | null;
10423
+ } | null;
10424
+ } | null> | null;
10425
+ primaryLocation?: {
10426
+ __typename?: 'CompanyLocationType';
10427
+ id?: string | null;
10428
+ address1?: string | null;
10429
+ address2?: string | null;
10430
+ city?: string | null;
10431
+ state?: string | null;
10432
+ zipCode?: string | null;
10433
+ country?: string | null;
10434
+ isPrimary?: boolean | null;
10435
+ locationType?: string | null;
10436
+ locationName?: string | null;
10437
+ phone?: string | null;
10438
+ email?: string | null;
10439
+ region?: string | null;
10440
+ createdAt?: any | null;
10441
+ updatedAt?: any | null;
10442
+ fullAddress?: string | null;
10443
+ } | null;
10444
+ } | null;
10445
+ } | null;
10446
+ };
10447
+ export type UpdateContactMutationVariables = Exact<{
10448
+ input?: InputMaybe<ContactInput>;
10449
+ }>;
10450
+ export type UpdateContactMutation = {
10451
+ __typename?: 'Mutation';
10452
+ updateContact?: {
10453
+ __typename?: 'UpdateContact';
10454
+ contact?: {
10455
+ __typename?: 'ContactObject';
10456
+ id?: string | null;
10457
+ firstName?: string | null;
10458
+ lastName?: string | null;
10459
+ email?: string | null;
10460
+ workEmail?: string | null;
10461
+ workEmail2?: string | null;
10462
+ personalEmail?: string | null;
10463
+ personalEmail2?: string | null;
10464
+ phone?: string | null;
10465
+ phone2?: string | null;
10466
+ phone3?: string | null;
10467
+ title?: string | null;
10468
+ linkedinUrl?: string | null;
10469
+ isPrimary?: boolean | null;
10470
+ isCustomer?: boolean | null;
10471
+ notes?: string | null;
10472
+ lastContactedAt?: any | null;
10473
+ ownedByUser?: boolean | null;
10474
+ companyName?: string | null;
10475
+ companyId?: string | null;
10476
+ isProspect?: boolean | null;
10477
+ lastContactedBy?: {
10478
+ __typename?: 'UserType';
10479
+ id?: string | null;
10480
+ email?: string | null;
10481
+ firstName?: string | null;
10482
+ lastName?: string | null;
10483
+ picture?: string | null;
10484
+ } | null;
10485
+ lastContactedVia?: {
10486
+ __typename?: 'LastContactedViaType';
10487
+ actionType?: string | null;
10488
+ actionId?: string | null;
10489
+ campaignName?: string | null;
10490
+ campaignId?: string | null;
10491
+ callCampaignId?: string | null;
10492
+ combinedCampaignId?: string | null;
10493
+ stepType?: string | null;
10494
+ stepOrder?: number | null;
10495
+ noteType?: string | null;
10496
+ noteId?: string | null;
10497
+ } | null;
10498
+ contactLog?: Array<{
10499
+ __typename?: 'ContactLogObject';
10500
+ id?: string | null;
10501
+ sentAt?: any | null;
10502
+ openedAt?: any | null;
10503
+ clickedAt?: any | null;
10504
+ bouncedAt?: any | null;
10505
+ status?: string | null;
10506
+ } | null> | null;
10507
+ inSegments?: Array<{
10508
+ __typename?: 'SegmentIdObject';
10509
+ id?: string | null;
10510
+ name?: string | null;
10511
+ state?: string | null;
10512
+ industry?: string | null;
10513
+ } | null> | null;
10514
+ stats?: {
10515
+ __typename?: 'ContactStatsType';
10516
+ totalOpened?: number | null;
10517
+ totalReplied?: number | null;
10518
+ totalBounced?: number | null;
10519
+ } | null;
10520
+ companyOwners?: Array<{
10521
+ __typename?: 'CompanyOwnersObject';
10522
+ id?: string | null;
10523
+ user?: {
10524
+ __typename?: 'UserType';
10525
+ id?: string | null;
10526
+ email?: string | null;
10527
+ firstName?: string | null;
10528
+ lastName?: string | null;
10529
+ picture?: string | null;
10530
+ } | null;
10531
+ } | null> | null;
10532
+ } | null;
10533
+ } | null;
10534
+ };
10535
+ export type UpdateEmailTemplateMutationVariables = Exact<{
10536
+ input: EmailTemplateInput;
10537
+ uuid: Scalars['UUID']['input'];
10538
+ }>;
10539
+ export type UpdateEmailTemplateMutation = {
10540
+ __typename?: 'Mutation';
10541
+ updateEmailTemplate?: {
10542
+ __typename?: 'UpdateEmailTemplate';
10543
+ success?: boolean | null;
10544
+ message?: string | null;
10545
+ emailTemplate?: {
10546
+ __typename?: 'EmailTemplateType';
10547
+ createdAt: any;
10548
+ updatedAt: any;
10549
+ uuid: any;
10550
+ name: string;
10551
+ description: string;
10552
+ subject?: string | null;
10553
+ template: string;
10554
+ templateData?: any | null;
10555
+ campaignType: AppEmailTemplateCampaignTypeChoices;
10556
+ isDefault: boolean;
10557
+ } | null;
10558
+ } | null;
10559
+ };
10560
+ export type UpdateSegmentMutationVariables = Exact<{
10561
+ input: SegmentInput;
10562
+ }>;
10563
+ export type UpdateSegmentMutation = {
10564
+ __typename?: 'Mutation';
10565
+ updateSegment?: {
10566
+ __typename?: 'UpdateSegment';
10567
+ success?: boolean | null;
10568
+ message?: string | null;
9635
10569
  segment?: {
9636
10570
  __typename?: 'SegmentObject';
9637
10571
  id?: string | null;
@@ -11861,6 +12795,7 @@ export type CompaniesQuery = {
11861
12795
  locationName?: string | null;
11862
12796
  phone?: string | null;
11863
12797
  email?: string | null;
12798
+ region?: string | null;
11864
12799
  createdAt?: any | null;
11865
12800
  updatedAt?: any | null;
11866
12801
  fullAddress?: string | null;
@@ -12422,6 +13357,7 @@ export type CompaniesQuery = {
12422
13357
  locationName?: string | null;
12423
13358
  phone?: string | null;
12424
13359
  email?: string | null;
13360
+ region?: string | null;
12425
13361
  createdAt?: any | null;
12426
13362
  updatedAt?: any | null;
12427
13363
  fullAddress?: string | null;
@@ -12521,6 +13457,7 @@ export type CompanyQuery = {
12521
13457
  locationName?: string | null;
12522
13458
  phone?: string | null;
12523
13459
  email?: string | null;
13460
+ region?: string | null;
12524
13461
  createdAt?: any | null;
12525
13462
  updatedAt?: any | null;
12526
13463
  fullAddress?: string | null;
@@ -13192,6 +14129,7 @@ export type CompanyQuery = {
13192
14129
  locationName?: string | null;
13193
14130
  phone?: string | null;
13194
14131
  email?: string | null;
14132
+ region?: string | null;
13195
14133
  createdAt?: any | null;
13196
14134
  updatedAt?: any | null;
13197
14135
  fullAddress?: string | null;
@@ -14607,6 +15545,7 @@ export type RecentHistoryQuery = {
14607
15545
  locationName?: string | null;
14608
15546
  phone?: string | null;
14609
15547
  email?: string | null;
15548
+ region?: string | null;
14610
15549
  createdAt?: any | null;
14611
15550
  updatedAt?: any | null;
14612
15551
  fullAddress?: string | null;
@@ -15133,6 +16072,7 @@ export type RecentHistoryQuery = {
15133
16072
  locationName?: string | null;
15134
16073
  phone?: string | null;
15135
16074
  email?: string | null;
16075
+ region?: string | null;
15136
16076
  createdAt?: any | null;
15137
16077
  updatedAt?: any | null;
15138
16078
  fullAddress?: string | null;
@@ -15748,6 +16688,33 @@ export declare function useAddContactsToCampaignMutation(baseOptions?: Apollo.Mu
15748
16688
  export type AddContactsToCampaignMutationHookResult = ReturnType<typeof useAddContactsToCampaignMutation>;
15749
16689
  export type AddContactsToCampaignMutationResult = Apollo.MutationResult<AddContactsToCampaignMutation>;
15750
16690
  export type AddContactsToCampaignMutationOptions = Apollo.BaseMutationOptions<AddContactsToCampaignMutation, AddContactsToCampaignMutationVariables>;
16691
+ export declare const AddContactsToCombinedCampaignDocument: Apollo.DocumentNode;
16692
+ export type AddContactsToCombinedCampaignMutationFn = Apollo.MutationFunction<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>;
16693
+ /**
16694
+ * __useAddContactsToCombinedCampaignMutation__
16695
+ *
16696
+ * To run a mutation, you first call `useAddContactsToCombinedCampaignMutation` within a React component and pass it any options that fit your needs.
16697
+ * When your component renders, `useAddContactsToCombinedCampaignMutation` returns a tuple that includes:
16698
+ * - A mutate function that you can call at any time to execute the mutation
16699
+ * - An object with fields that represent the current status of the mutation's execution
16700
+ *
16701
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
16702
+ *
16703
+ * @example
16704
+ * const [addContactsToCombinedCampaignMutation, { data, loading, error }] = useAddContactsToCombinedCampaignMutation({
16705
+ * variables: {
16706
+ * campaignId: // value for 'campaignId'
16707
+ * contacts: // value for 'contacts'
16708
+ * },
16709
+ * });
16710
+ */
16711
+ export declare function useAddContactsToCombinedCampaignMutation(baseOptions?: Apollo.MutationHookOptions<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>): Apollo.MutationTuple<AddContactsToCombinedCampaignMutation, Exact<{
16712
+ campaignId: Scalars["ID"]["input"];
16713
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
16714
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
16715
+ export type AddContactsToCombinedCampaignMutationHookResult = ReturnType<typeof useAddContactsToCombinedCampaignMutation>;
16716
+ export type AddContactsToCombinedCampaignMutationResult = Apollo.MutationResult<AddContactsToCombinedCampaignMutation>;
16717
+ export type AddContactsToCombinedCampaignMutationOptions = Apollo.BaseMutationOptions<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>;
15751
16718
  export declare const AddContactsToSegmentDocument: Apollo.DocumentNode;
15752
16719
  export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>;
15753
16720
  /**
@@ -16579,6 +17546,33 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
16579
17546
  export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
16580
17547
  export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
16581
17548
  export type ForgotPasswordMutationOptions = Apollo.BaseMutationOptions<ForgotPasswordMutation, ForgotPasswordMutationVariables>;
17549
+ export declare const GenerateNewEmailDocument: Apollo.DocumentNode;
17550
+ export type GenerateNewEmailMutationFn = Apollo.MutationFunction<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
17551
+ /**
17552
+ * __useGenerateNewEmailMutation__
17553
+ *
17554
+ * To run a mutation, you first call `useGenerateNewEmailMutation` within a React component and pass it any options that fit your needs.
17555
+ * When your component renders, `useGenerateNewEmailMutation` returns a tuple that includes:
17556
+ * - A mutate function that you can call at any time to execute the mutation
17557
+ * - An object with fields that represent the current status of the mutation's execution
17558
+ *
17559
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
17560
+ *
17561
+ * @example
17562
+ * const [generateNewEmailMutation, { data, loading, error }] = useGenerateNewEmailMutation({
17563
+ * variables: {
17564
+ * prompt: // value for 'prompt'
17565
+ * variables: // value for 'variables'
17566
+ * },
17567
+ * });
17568
+ */
17569
+ export declare function useGenerateNewEmailMutation(baseOptions?: Apollo.MutationHookOptions<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>): Apollo.MutationTuple<GenerateNewEmailMutation, Exact<{
17570
+ prompt: Scalars["String"]["input"];
17571
+ variables?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
17572
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
17573
+ export type GenerateNewEmailMutationHookResult = ReturnType<typeof useGenerateNewEmailMutation>;
17574
+ export type GenerateNewEmailMutationResult = Apollo.MutationResult<GenerateNewEmailMutation>;
17575
+ export type GenerateNewEmailMutationOptions = Apollo.BaseMutationOptions<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
16582
17576
  export declare const HideRecordDocument: Apollo.DocumentNode;
16583
17577
  export type HideRecordMutationFn = Apollo.MutationFunction<HideRecordMutation, HideRecordMutationVariables>;
16584
17578
  /**
@@ -17259,6 +18253,33 @@ export declare function useSendTestEmailMutation(baseOptions?: Apollo.MutationHo
17259
18253
  export type SendTestEmailMutationHookResult = ReturnType<typeof useSendTestEmailMutation>;
17260
18254
  export type SendTestEmailMutationResult = Apollo.MutationResult<SendTestEmailMutation>;
17261
18255
  export type SendTestEmailMutationOptions = Apollo.BaseMutationOptions<SendTestEmailMutation, SendTestEmailMutationVariables>;
18256
+ export declare const SendTestEmailCombinedDocument: Apollo.DocumentNode;
18257
+ export type SendTestEmailCombinedMutationFn = Apollo.MutationFunction<SendTestEmailCombinedMutation, SendTestEmailCombinedMutationVariables>;
18258
+ /**
18259
+ * __useSendTestEmailCombinedMutation__
18260
+ *
18261
+ * To run a mutation, you first call `useSendTestEmailCombinedMutation` within a React component and pass it any options that fit your needs.
18262
+ * When your component renders, `useSendTestEmailCombinedMutation` returns a tuple that includes:
18263
+ * - A mutate function that you can call at any time to execute the mutation
18264
+ * - An object with fields that represent the current status of the mutation's execution
18265
+ *
18266
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
18267
+ *
18268
+ * @example
18269
+ * const [sendTestEmailCombinedMutation, { data, loading, error }] = useSendTestEmailCombinedMutation({
18270
+ * variables: {
18271
+ * campaignId: // value for 'campaignId'
18272
+ * emailAddress: // value for 'emailAddress'
18273
+ * },
18274
+ * });
18275
+ */
18276
+ export declare function useSendTestEmailCombinedMutation(baseOptions?: Apollo.MutationHookOptions<SendTestEmailCombinedMutation, SendTestEmailCombinedMutationVariables>): Apollo.MutationTuple<SendTestEmailCombinedMutation, Exact<{
18277
+ campaignId: Scalars["ID"]["input"];
18278
+ emailAddress: Scalars["String"]["input"];
18279
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
18280
+ export type SendTestEmailCombinedMutationHookResult = ReturnType<typeof useSendTestEmailCombinedMutation>;
18281
+ export type SendTestEmailCombinedMutationResult = Apollo.MutationResult<SendTestEmailCombinedMutation>;
18282
+ export type SendTestEmailCombinedMutationOptions = Apollo.BaseMutationOptions<SendTestEmailCombinedMutation, SendTestEmailCombinedMutationVariables>;
17262
18283
  export declare const SignupDocument: Apollo.DocumentNode;
17263
18284
  export type SignupMutationFn = Apollo.MutationFunction<SignupMutation, SignupMutationVariables>;
17264
18285
  /**
@@ -17625,6 +18646,33 @@ export declare function useUpdateCompanyNoteMutation(baseOptions?: Apollo.Mutati
17625
18646
  export type UpdateCompanyNoteMutationHookResult = ReturnType<typeof useUpdateCompanyNoteMutation>;
17626
18647
  export type UpdateCompanyNoteMutationResult = Apollo.MutationResult<UpdateCompanyNoteMutation>;
17627
18648
  export type UpdateCompanyNoteMutationOptions = Apollo.BaseMutationOptions<UpdateCompanyNoteMutation, UpdateCompanyNoteMutationVariables>;
18649
+ export declare const UpdateCompanyStatusDocument: Apollo.DocumentNode;
18650
+ export type UpdateCompanyStatusMutationFn = Apollo.MutationFunction<UpdateCompanyStatusMutation, UpdateCompanyStatusMutationVariables>;
18651
+ /**
18652
+ * __useUpdateCompanyStatusMutation__
18653
+ *
18654
+ * To run a mutation, you first call `useUpdateCompanyStatusMutation` within a React component and pass it any options that fit your needs.
18655
+ * When your component renders, `useUpdateCompanyStatusMutation` returns a tuple that includes:
18656
+ * - A mutate function that you can call at any time to execute the mutation
18657
+ * - An object with fields that represent the current status of the mutation's execution
18658
+ *
18659
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
18660
+ *
18661
+ * @example
18662
+ * const [updateCompanyStatusMutation, { data, loading, error }] = useUpdateCompanyStatusMutation({
18663
+ * variables: {
18664
+ * companyId: // value for 'companyId'
18665
+ * status: // value for 'status'
18666
+ * },
18667
+ * });
18668
+ */
18669
+ export declare function useUpdateCompanyStatusMutation(baseOptions?: Apollo.MutationHookOptions<UpdateCompanyStatusMutation, UpdateCompanyStatusMutationVariables>): Apollo.MutationTuple<UpdateCompanyStatusMutation, Exact<{
18670
+ companyId?: InputMaybe<Scalars["ID"]["input"]>;
18671
+ status?: InputMaybe<Scalars["String"]["input"]>;
18672
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
18673
+ export type UpdateCompanyStatusMutationHookResult = ReturnType<typeof useUpdateCompanyStatusMutation>;
18674
+ export type UpdateCompanyStatusMutationResult = Apollo.MutationResult<UpdateCompanyStatusMutation>;
18675
+ export type UpdateCompanyStatusMutationOptions = Apollo.BaseMutationOptions<UpdateCompanyStatusMutation, UpdateCompanyStatusMutationVariables>;
17628
18676
  export declare const UpdateContactDocument: Apollo.DocumentNode;
17629
18677
  export type UpdateContactMutationFn = Apollo.MutationFunction<UpdateContactMutation, UpdateContactMutationVariables>;
17630
18678
  /**