cf-service-sdk-dharani 0.0.76 → 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 */
@@ -1078,7 +1088,7 @@ export type CompanyInput = {
1078
1088
  productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
1079
1089
  state?: InputMaybe<Scalars['String']['input']>;
1080
1090
  /** Company status */
1081
- status?: InputMaybe<CompanyStatusEnum>;
1091
+ status?: InputMaybe<Scalars['String']['input']>;
1082
1092
  twitterUrl?: InputMaybe<Scalars['String']['input']>;
1083
1093
  website?: InputMaybe<Scalars['String']['input']>;
1084
1094
  zipCode?: InputMaybe<Scalars['String']['input']>;
@@ -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 */
@@ -1274,7 +1286,7 @@ export type CompanyObject = {
1274
1286
  purchaseMetalConfidence?: Maybe<Scalars['Float']['output']>;
1275
1287
  state?: Maybe<Scalars['String']['output']>;
1276
1288
  /** Company status (e.g., 'CONVERSATION', 'OUTREACH', etc.) */
1277
- status?: Maybe<CompanyStatusEnum>;
1289
+ status?: Maybe<Scalars['String']['output']>;
1278
1290
  /** List of all possible company statuses */
1279
1291
  statuses?: Maybe<Array<Maybe<CompanyStatusType>>>;
1280
1292
  /** List of tags associated with the company */
@@ -1359,21 +1371,13 @@ export type CompanySortInput = {
1359
1371
  /** Field to sort by */
1360
1372
  field: CompanySortField;
1361
1373
  };
1362
- export declare enum CompanyStatusEnum {
1363
- Conversation = "CONVERSATION",
1364
- Lost = "LOST",
1365
- NotContacted = "NOT_CONTACTED",
1366
- Outreach = "OUTREACH",
1367
- Rfq = "RFQ",
1368
- Won = "WON"
1369
- }
1370
1374
  export type CompanyStatusType = {
1371
1375
  __typename?: 'CompanyStatusType';
1372
1376
  id?: Maybe<Scalars['ID']['output']>;
1373
1377
  /** User who last updated the status */
1374
1378
  lastUpdatedBy?: Maybe<UserType>;
1375
1379
  /** Company status (e.g., 'CONVERSATION', 'OUTREACH', etc.) */
1376
- status?: Maybe<CompanyStatusEnum>;
1380
+ status?: Maybe<Scalars['String']['output']>;
1377
1381
  };
1378
1382
  export type CompleteCampaign = {
1379
1383
  __typename?: 'CompleteCampaign';
@@ -1622,6 +1626,7 @@ export type CustomContactInput = {
1622
1626
  id?: InputMaybe<Scalars['ID']['input']>;
1623
1627
  lastName?: InputMaybe<Scalars['String']['input']>;
1624
1628
  notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
1629
+ phone?: InputMaybe<Scalars['String']['input']>;
1625
1630
  };
1626
1631
  export type DashboardStatsType = {
1627
1632
  __typename?: 'DashboardStatsType';
@@ -1821,6 +1826,15 @@ export type ForgotPassword = {
1821
1826
  message?: Maybe<Scalars['String']['output']>;
1822
1827
  success?: Maybe<Scalars['Boolean']['output']>;
1823
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
+ };
1824
1838
  /** Input type for hidden record mutations */
1825
1839
  export type HiddenRecordInput = {
1826
1840
  /** ID of the record to hide/unhide */
@@ -1979,6 +1993,8 @@ export type Mutation = {
1979
1993
  /** AcceptInvitation - Accept an invitation to join an account */
1980
1994
  acceptInvitation?: Maybe<AcceptInvitation>;
1981
1995
  addContactsToCampaign?: Maybe<AddContactsToCampaign>;
1996
+ /** Add contacts to a combined campaign using CustomContact */
1997
+ addContactsToCombinedCampaign?: Maybe<AddContactsToCombinedCampaign>;
1982
1998
  addContactsToSegment?: Maybe<AddContactsToSegment>;
1983
1999
  addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
1984
2000
  addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
@@ -2030,6 +2046,8 @@ export type Mutation = {
2030
2046
  emailTone?: Maybe<EmailTone>;
2031
2047
  /** ForgotPassword - Request a password reset */
2032
2048
  forgotPassword?: Maybe<ForgotPassword>;
2049
+ /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2050
+ generateNewEmail?: Maybe<GenerateNewEmail>;
2033
2051
  /** Mutation to hide a record (contact or company) from query results */
2034
2052
  hideRecord?: Maybe<HideRecord>;
2035
2053
  /** InviteUser - Invite a user to join an account */
@@ -2072,6 +2090,8 @@ export type Mutation = {
2072
2090
  /** Send a manual email as part of a combined campaign step */
2073
2091
  sendManualEmail?: Maybe<SendManualEmail>;
2074
2092
  sendTestEmail?: Maybe<SendTestEmail>;
2093
+ /** Send test email for combined campaign using content from first email step */
2094
+ sendTestEmailCombined?: Maybe<SendTestEmailCombined>;
2075
2095
  /** Signup - Register a new user and create their account */
2076
2096
  signup?: Maybe<Signup>;
2077
2097
  startCampaign?: Maybe<StartCampaign>;
@@ -2094,6 +2114,7 @@ export type Mutation = {
2094
2114
  updateCombinedCampaignLogs?: Maybe<UpdateCombinedCampaignLogs>;
2095
2115
  updateCompany?: Maybe<UpdateCompany>;
2096
2116
  updateCompanyNote?: Maybe<UpdateCompanyNote>;
2117
+ updateCompanyStatus?: Maybe<UpdateCompanyStatus>;
2097
2118
  updateContact?: Maybe<UpdateContact>;
2098
2119
  /** UpdateEmailTemplate - Update an existing email template (only if owned by user's account) */
2099
2120
  updateEmailTemplate?: Maybe<UpdateEmailTemplate>;
@@ -2117,6 +2138,11 @@ export type MutationAddContactsToCampaignArgs = {
2117
2138
  contacts: Array<InputMaybe<CustomContactInput>>;
2118
2139
  };
2119
2140
  /** Mutations */
2141
+ export type MutationAddContactsToCombinedCampaignArgs = {
2142
+ campaignId: Scalars['ID']['input'];
2143
+ contacts: Array<InputMaybe<CustomContactInput>>;
2144
+ };
2145
+ /** Mutations */
2120
2146
  export type MutationAddContactsToSegmentArgs = {
2121
2147
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
2122
2148
  segmentId: Scalars['ID']['input'];
@@ -2245,6 +2271,11 @@ export type MutationForgotPasswordArgs = {
2245
2271
  email: Scalars['String']['input'];
2246
2272
  };
2247
2273
  /** Mutations */
2274
+ export type MutationGenerateNewEmailArgs = {
2275
+ prompt: Scalars['String']['input'];
2276
+ variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2277
+ };
2278
+ /** Mutations */
2248
2279
  export type MutationHideRecordArgs = {
2249
2280
  input: HiddenRecordInput;
2250
2281
  };
@@ -2369,6 +2400,11 @@ export type MutationSendTestEmailArgs = {
2369
2400
  template: Scalars['String']['input'];
2370
2401
  };
2371
2402
  /** Mutations */
2403
+ export type MutationSendTestEmailCombinedArgs = {
2404
+ campaignId: Scalars['ID']['input'];
2405
+ emailAddress: Scalars['String']['input'];
2406
+ };
2407
+ /** Mutations */
2372
2408
  export type MutationSignupArgs = {
2373
2409
  input: SignupInput;
2374
2410
  };
@@ -2433,6 +2469,11 @@ export type MutationUpdateCompanyNoteArgs = {
2433
2469
  input: CompanyNoteInput;
2434
2470
  };
2435
2471
  /** Mutations */
2472
+ export type MutationUpdateCompanyStatusArgs = {
2473
+ companyId?: InputMaybe<Scalars['ID']['input']>;
2474
+ status?: InputMaybe<Scalars['String']['input']>;
2475
+ };
2476
+ /** Mutations */
2436
2477
  export type MutationUpdateContactArgs = {
2437
2478
  input?: InputMaybe<ContactInput>;
2438
2479
  };
@@ -3235,6 +3276,12 @@ export type SendTestEmail = {
3235
3276
  message?: Maybe<Scalars['String']['output']>;
3236
3277
  success?: Maybe<Scalars['Boolean']['output']>;
3237
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
+ };
3238
3285
  /** Signup - Register a new user and create their account */
3239
3286
  export type Signup = {
3240
3287
  __typename?: 'Signup';
@@ -3451,6 +3498,10 @@ export type UpdateCompanyNote = {
3451
3498
  __typename?: 'UpdateCompanyNote';
3452
3499
  companyNote?: Maybe<CompanyNoteObject>;
3453
3500
  };
3501
+ export type UpdateCompanyStatus = {
3502
+ __typename?: 'UpdateCompanyStatus';
3503
+ company?: Maybe<CompanyObject>;
3504
+ };
3454
3505
  export type UpdateContact = {
3455
3506
  __typename?: 'UpdateContact';
3456
3507
  contact?: Maybe<ContactObject>;
@@ -3641,6 +3692,86 @@ export type AddContactsToCampaignMutation = {
3641
3692
  } | null;
3642
3693
  } | null;
3643
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
+ };
3644
3775
  export type AddContactsToSegmentMutationVariables = Exact<{
3645
3776
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
3646
3777
  segmentId: Scalars['ID']['input'];
@@ -4465,7 +4596,7 @@ export type CreateCompanyMutation = {
4465
4596
  isProspect?: boolean | null;
4466
4597
  purchaseMetalConfidence?: number | null;
4467
4598
  lastContactedAt?: any | null;
4468
- status?: CompanyStatusEnum | null;
4599
+ status?: string | null;
4469
4600
  tags?: Array<{
4470
4601
  __typename?: 'TagObject';
4471
4602
  id?: string | null;
@@ -4488,7 +4619,7 @@ export type CreateCompanyMutation = {
4488
4619
  statuses?: Array<{
4489
4620
  __typename?: 'CompanyStatusType';
4490
4621
  id?: string | null;
4491
- status?: CompanyStatusEnum | null;
4622
+ status?: string | null;
4492
4623
  lastUpdatedBy?: {
4493
4624
  __typename?: 'UserType';
4494
4625
  id?: string | null;
@@ -4512,6 +4643,7 @@ export type CreateCompanyMutation = {
4512
4643
  locationName?: string | null;
4513
4644
  phone?: string | null;
4514
4645
  email?: string | null;
4646
+ region?: string | null;
4515
4647
  createdAt?: any | null;
4516
4648
  updatedAt?: any | null;
4517
4649
  fullAddress?: string | null;
@@ -5183,6 +5315,7 @@ export type CreateCompanyMutation = {
5183
5315
  locationName?: string | null;
5184
5316
  phone?: string | null;
5185
5317
  email?: string | null;
5318
+ region?: string | null;
5186
5319
  createdAt?: any | null;
5187
5320
  updatedAt?: any | null;
5188
5321
  fullAddress?: string | null;
@@ -5981,6 +6114,20 @@ export type ForgotPasswordMutation = {
5981
6114
  message?: string | null;
5982
6115
  } | null;
5983
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
+ };
5984
6131
  export type HideRecordMutationVariables = Exact<{
5985
6132
  input: HiddenRecordInput;
5986
6133
  }>;
@@ -7569,6 +7716,18 @@ export type SendTestEmailMutation = {
7569
7716
  message?: string | null;
7570
7717
  } | null;
7571
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
+ };
7572
7731
  export type SignupMutationVariables = Exact<{
7573
7732
  input: SignupInput;
7574
7733
  }>;
@@ -8466,7 +8625,7 @@ export type UpdateCompanyMutation = {
8466
8625
  isProspect?: boolean | null;
8467
8626
  purchaseMetalConfidence?: number | null;
8468
8627
  lastContactedAt?: any | null;
8469
- status?: CompanyStatusEnum | null;
8628
+ status?: string | null;
8470
8629
  tags?: Array<{
8471
8630
  __typename?: 'TagObject';
8472
8631
  id?: string | null;
@@ -8489,7 +8648,7 @@ export type UpdateCompanyMutation = {
8489
8648
  statuses?: Array<{
8490
8649
  __typename?: 'CompanyStatusType';
8491
8650
  id?: string | null;
8492
- status?: CompanyStatusEnum | null;
8651
+ status?: string | null;
8493
8652
  lastUpdatedBy?: {
8494
8653
  __typename?: 'UserType';
8495
8654
  id?: string | null;
@@ -8513,6 +8672,7 @@ export type UpdateCompanyMutation = {
8513
8672
  locationName?: string | null;
8514
8673
  phone?: string | null;
8515
8674
  email?: string | null;
8675
+ region?: string | null;
8516
8676
  createdAt?: any | null;
8517
8677
  updatedAt?: any | null;
8518
8678
  fullAddress?: string | null;
@@ -9184,6 +9344,7 @@ export type UpdateCompanyMutation = {
9184
9344
  locationName?: string | null;
9185
9345
  phone?: string | null;
9186
9346
  email?: string | null;
9347
+ region?: string | null;
9187
9348
  createdAt?: any | null;
9188
9349
  updatedAt?: any | null;
9189
9350
  fullAddress?: string | null;
@@ -9518,80 +9679,53 @@ export type UpdateCompanyNoteMutation = {
9518
9679
  } | null;
9519
9680
  } | null;
9520
9681
  };
9521
- export type UpdateContactMutationVariables = Exact<{
9522
- input?: InputMaybe<ContactInput>;
9682
+ export type UpdateCompanyStatusMutationVariables = Exact<{
9683
+ companyId?: InputMaybe<Scalars['ID']['input']>;
9684
+ status?: InputMaybe<Scalars['String']['input']>;
9523
9685
  }>;
9524
- export type UpdateContactMutation = {
9686
+ export type UpdateCompanyStatusMutation = {
9525
9687
  __typename?: 'Mutation';
9526
- updateContact?: {
9527
- __typename?: 'UpdateContact';
9528
- contact?: {
9529
- __typename?: 'ContactObject';
9688
+ updateCompanyStatus?: {
9689
+ __typename?: 'UpdateCompanyStatus';
9690
+ company?: {
9691
+ __typename?: 'CompanyObject';
9530
9692
  id?: string | null;
9531
- firstName?: string | null;
9532
- lastName?: string | null;
9533
- email?: string | null;
9534
- workEmail?: string | null;
9535
- workEmail2?: string | null;
9536
- personalEmail?: string | null;
9537
- personalEmail2?: string | null;
9538
- phone?: string | null;
9539
- phone2?: string | null;
9540
- phone3?: string | null;
9541
- 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;
9542
9706
  linkedinUrl?: string | null;
9543
- isPrimary?: boolean | null;
9544
- isCustomer?: boolean | null;
9545
- notes?: string | null;
9546
- 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;
9547
9716
  ownedByUser?: boolean | null;
9548
- companyName?: string | null;
9549
- companyId?: string | null;
9550
9717
  isProspect?: boolean | null;
9551
- lastContactedBy?: {
9552
- __typename?: 'UserType';
9553
- id?: string | null;
9554
- email?: string | null;
9555
- firstName?: string | null;
9556
- lastName?: string | null;
9557
- picture?: string | null;
9558
- } | null;
9559
- lastContactedVia?: {
9560
- __typename?: 'LastContactedViaType';
9561
- actionType?: string | null;
9562
- actionId?: string | null;
9563
- campaignName?: string | null;
9564
- campaignId?: string | null;
9565
- callCampaignId?: string | null;
9566
- combinedCampaignId?: string | null;
9567
- stepType?: string | null;
9568
- stepOrder?: number | null;
9569
- noteType?: string | null;
9570
- noteId?: string | null;
9571
- } | null;
9572
- contactLog?: Array<{
9573
- __typename?: 'ContactLogObject';
9574
- id?: string | null;
9575
- sentAt?: any | null;
9576
- openedAt?: any | null;
9577
- clickedAt?: any | null;
9578
- bouncedAt?: any | null;
9579
- status?: string | null;
9580
- } | null> | null;
9581
- inSegments?: Array<{
9582
- __typename?: 'SegmentIdObject';
9718
+ purchaseMetalConfidence?: number | null;
9719
+ lastContactedAt?: any | null;
9720
+ status?: string | null;
9721
+ tags?: Array<{
9722
+ __typename?: 'TagObject';
9583
9723
  id?: string | null;
9724
+ pk?: string | null;
9584
9725
  name?: string | null;
9585
- state?: string | null;
9586
- industry?: string | null;
9726
+ description?: string | null;
9587
9727
  } | null> | null;
9588
- stats?: {
9589
- __typename?: 'ContactStatsType';
9590
- totalOpened?: number | null;
9591
- totalReplied?: number | null;
9592
- totalBounced?: number | null;
9593
- } | null;
9594
- companyOwners?: Array<{
9728
+ owners?: Array<{
9595
9729
  __typename?: 'CompanyOwnersObject';
9596
9730
  id?: string | null;
9597
9731
  user?: {
@@ -9603,35 +9737,827 @@ export type UpdateContactMutation = {
9603
9737
  picture?: string | null;
9604
9738
  } | null;
9605
9739
  } | null> | null;
9606
- } | null;
9607
- } | null;
9608
- };
9609
- export type UpdateEmailTemplateMutationVariables = Exact<{
9610
- input: EmailTemplateInput;
9611
- uuid: Scalars['UUID']['input'];
9612
- }>;
9613
- export type UpdateEmailTemplateMutation = {
9614
- __typename?: 'Mutation';
9615
- updateEmailTemplate?: {
9616
- __typename?: 'UpdateEmailTemplate';
9617
- success?: boolean | null;
9618
- message?: string | null;
9619
- emailTemplate?: {
9620
- __typename?: 'EmailTemplateType';
9621
- createdAt: any;
9622
- updatedAt: any;
9623
- uuid: any;
9624
- name: string;
9625
- description: string;
9626
- subject?: string | null;
9627
- template: string;
9628
- templateData?: any | null;
9629
- campaignType: AppEmailTemplateCampaignTypeChoices;
9630
- isDefault: boolean;
9631
- } | null;
9632
- } | null;
9633
- };
9634
- export type UpdateSegmentMutationVariables = Exact<{
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<{
9635
10561
  input: SegmentInput;
9636
10562
  }>;
9637
10563
  export type UpdateSegmentMutation = {
@@ -11822,7 +12748,7 @@ export type CompaniesQuery = {
11822
12748
  isProspect?: boolean | null;
11823
12749
  purchaseMetalConfidence?: number | null;
11824
12750
  lastContactedAt?: any | null;
11825
- status?: CompanyStatusEnum | null;
12751
+ status?: string | null;
11826
12752
  tags?: Array<{
11827
12753
  __typename?: 'TagObject';
11828
12754
  id?: string | null;
@@ -11845,7 +12771,7 @@ export type CompaniesQuery = {
11845
12771
  statuses?: Array<{
11846
12772
  __typename?: 'CompanyStatusType';
11847
12773
  id?: string | null;
11848
- status?: CompanyStatusEnum | null;
12774
+ status?: string | null;
11849
12775
  lastUpdatedBy?: {
11850
12776
  __typename?: 'UserType';
11851
12777
  id?: string | null;
@@ -11869,6 +12795,7 @@ export type CompaniesQuery = {
11869
12795
  locationName?: string | null;
11870
12796
  phone?: string | null;
11871
12797
  email?: string | null;
12798
+ region?: string | null;
11872
12799
  createdAt?: any | null;
11873
12800
  updatedAt?: any | null;
11874
12801
  fullAddress?: string | null;
@@ -12430,6 +13357,7 @@ export type CompaniesQuery = {
12430
13357
  locationName?: string | null;
12431
13358
  phone?: string | null;
12432
13359
  email?: string | null;
13360
+ region?: string | null;
12433
13361
  createdAt?: any | null;
12434
13362
  updatedAt?: any | null;
12435
13363
  fullAddress?: string | null;
@@ -12482,7 +13410,7 @@ export type CompanyQuery = {
12482
13410
  isProspect?: boolean | null;
12483
13411
  purchaseMetalConfidence?: number | null;
12484
13412
  lastContactedAt?: any | null;
12485
- status?: CompanyStatusEnum | null;
13413
+ status?: string | null;
12486
13414
  tags?: Array<{
12487
13415
  __typename?: 'TagObject';
12488
13416
  id?: string | null;
@@ -12505,7 +13433,7 @@ export type CompanyQuery = {
12505
13433
  statuses?: Array<{
12506
13434
  __typename?: 'CompanyStatusType';
12507
13435
  id?: string | null;
12508
- status?: CompanyStatusEnum | null;
13436
+ status?: string | null;
12509
13437
  lastUpdatedBy?: {
12510
13438
  __typename?: 'UserType';
12511
13439
  id?: string | null;
@@ -12529,6 +13457,7 @@ export type CompanyQuery = {
12529
13457
  locationName?: string | null;
12530
13458
  phone?: string | null;
12531
13459
  email?: string | null;
13460
+ region?: string | null;
12532
13461
  createdAt?: any | null;
12533
13462
  updatedAt?: any | null;
12534
13463
  fullAddress?: string | null;
@@ -13200,6 +14129,7 @@ export type CompanyQuery = {
13200
14129
  locationName?: string | null;
13201
14130
  phone?: string | null;
13202
14131
  email?: string | null;
14132
+ region?: string | null;
13203
14133
  createdAt?: any | null;
13204
14134
  updatedAt?: any | null;
13205
14135
  fullAddress?: string | null;
@@ -14568,7 +15498,7 @@ export type RecentHistoryQuery = {
14568
15498
  isProspect?: boolean | null;
14569
15499
  purchaseMetalConfidence?: number | null;
14570
15500
  lastContactedAt?: any | null;
14571
- status?: CompanyStatusEnum | null;
15501
+ status?: string | null;
14572
15502
  tags?: Array<{
14573
15503
  __typename?: 'TagObject';
14574
15504
  id?: string | null;
@@ -14591,7 +15521,7 @@ export type RecentHistoryQuery = {
14591
15521
  statuses?: Array<{
14592
15522
  __typename?: 'CompanyStatusType';
14593
15523
  id?: string | null;
14594
- status?: CompanyStatusEnum | null;
15524
+ status?: string | null;
14595
15525
  lastUpdatedBy?: {
14596
15526
  __typename?: 'UserType';
14597
15527
  id?: string | null;
@@ -14615,6 +15545,7 @@ export type RecentHistoryQuery = {
14615
15545
  locationName?: string | null;
14616
15546
  phone?: string | null;
14617
15547
  email?: string | null;
15548
+ region?: string | null;
14618
15549
  createdAt?: any | null;
14619
15550
  updatedAt?: any | null;
14620
15551
  fullAddress?: string | null;
@@ -15141,6 +16072,7 @@ export type RecentHistoryQuery = {
15141
16072
  locationName?: string | null;
15142
16073
  phone?: string | null;
15143
16074
  email?: string | null;
16075
+ region?: string | null;
15144
16076
  createdAt?: any | null;
15145
16077
  updatedAt?: any | null;
15146
16078
  fullAddress?: string | null;
@@ -15756,6 +16688,33 @@ export declare function useAddContactsToCampaignMutation(baseOptions?: Apollo.Mu
15756
16688
  export type AddContactsToCampaignMutationHookResult = ReturnType<typeof useAddContactsToCampaignMutation>;
15757
16689
  export type AddContactsToCampaignMutationResult = Apollo.MutationResult<AddContactsToCampaignMutation>;
15758
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>;
15759
16718
  export declare const AddContactsToSegmentDocument: Apollo.DocumentNode;
15760
16719
  export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>;
15761
16720
  /**
@@ -16587,6 +17546,33 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
16587
17546
  export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
16588
17547
  export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
16589
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>;
16590
17576
  export declare const HideRecordDocument: Apollo.DocumentNode;
16591
17577
  export type HideRecordMutationFn = Apollo.MutationFunction<HideRecordMutation, HideRecordMutationVariables>;
16592
17578
  /**
@@ -17267,6 +18253,33 @@ export declare function useSendTestEmailMutation(baseOptions?: Apollo.MutationHo
17267
18253
  export type SendTestEmailMutationHookResult = ReturnType<typeof useSendTestEmailMutation>;
17268
18254
  export type SendTestEmailMutationResult = Apollo.MutationResult<SendTestEmailMutation>;
17269
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>;
17270
18283
  export declare const SignupDocument: Apollo.DocumentNode;
17271
18284
  export type SignupMutationFn = Apollo.MutationFunction<SignupMutation, SignupMutationVariables>;
17272
18285
  /**
@@ -17633,6 +18646,33 @@ export declare function useUpdateCompanyNoteMutation(baseOptions?: Apollo.Mutati
17633
18646
  export type UpdateCompanyNoteMutationHookResult = ReturnType<typeof useUpdateCompanyNoteMutation>;
17634
18647
  export type UpdateCompanyNoteMutationResult = Apollo.MutationResult<UpdateCompanyNoteMutation>;
17635
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>;
17636
18676
  export declare const UpdateContactDocument: Apollo.DocumentNode;
17637
18677
  export type UpdateContactMutationFn = Apollo.MutationFunction<UpdateContactMutation, UpdateContactMutationVariables>;
17638
18678
  /**