cf-service-sdk 0.0.62 → 0.0.64

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']>;
@@ -411,7 +419,7 @@ export type CallCampaignLogObject = {
411
419
  businessOpportunities?: Maybe<Scalars['JSONString']['output']>;
412
420
  businessRevenue?: Maybe<Scalars['String']['output']>;
413
421
  businessSize?: Maybe<Scalars['String']['output']>;
414
- campaignId?: Maybe<Scalars['Int']['output']>;
422
+ campaignId?: Maybe<Scalars['ID']['output']>;
415
423
  campaignName?: Maybe<Scalars['String']['output']>;
416
424
  contactId?: Maybe<Scalars['Int']['output']>;
417
425
  contactName?: Maybe<Scalars['String']['output']>;
@@ -513,7 +521,7 @@ export type CallReportFilterInput = {
513
521
  export type CallReportLogObject = {
514
522
  __typename?: 'CallReportLogObject';
515
523
  businessOpportunities?: Maybe<Scalars['JSONString']['output']>;
516
- campaignId?: Maybe<Scalars['Int']['output']>;
524
+ campaignId?: Maybe<Scalars['ID']['output']>;
517
525
  campaignName?: Maybe<Scalars['String']['output']>;
518
526
  companyId?: Maybe<Scalars['Int']['output']>;
519
527
  companyName?: Maybe<Scalars['String']['output']>;
@@ -527,6 +535,8 @@ export type CallReportLogObject = {
527
535
  productsOfInterest?: Maybe<Scalars['JSONString']['output']>;
528
536
  salespersonId?: Maybe<Scalars['Int']['output']>;
529
537
  salespersonName?: Maybe<Scalars['String']['output']>;
538
+ /** Source of the call log: 'CallCampaign' or 'CombinedCampaign' */
539
+ source?: Maybe<Scalars['String']['output']>;
530
540
  tasks?: Maybe<Array<Maybe<TaskObject>>>;
531
541
  timestamp?: Maybe<Scalars['DateTime']['output']>;
532
542
  };
@@ -1121,6 +1131,8 @@ export type CompanyLocationType = {
1121
1131
  locationType?: Maybe<Scalars['String']['output']>;
1122
1132
  /** Phone number of the company location */
1123
1133
  phone?: Maybe<Scalars['String']['output']>;
1134
+ /** Region of the company location like 'Midwest (Great Lakes)', 'Southeast', 'West Coast', etc. */
1135
+ region?: Maybe<Scalars['String']['output']>;
1124
1136
  /** State of the company location */
1125
1137
  state?: Maybe<Scalars['String']['output']>;
1126
1138
  /** Last update date and time of the company location record */
@@ -1598,6 +1610,7 @@ export type CustomContactInput = {
1598
1610
  id?: InputMaybe<Scalars['ID']['input']>;
1599
1611
  lastName?: InputMaybe<Scalars['String']['input']>;
1600
1612
  notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
1613
+ phone?: InputMaybe<Scalars['String']['input']>;
1601
1614
  };
1602
1615
  export type DashboardStatsType = {
1603
1616
  __typename?: 'DashboardStatsType';
@@ -1955,6 +1968,8 @@ export type Mutation = {
1955
1968
  /** AcceptInvitation - Accept an invitation to join an account */
1956
1969
  acceptInvitation?: Maybe<AcceptInvitation>;
1957
1970
  addContactsToCampaign?: Maybe<AddContactsToCampaign>;
1971
+ /** Add contacts to a combined campaign using CustomContact */
1972
+ addContactsToCombinedCampaign?: Maybe<AddContactsToCombinedCampaign>;
1958
1973
  addContactsToSegment?: Maybe<AddContactsToSegment>;
1959
1974
  addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
1960
1975
  addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
@@ -2093,6 +2108,11 @@ export type MutationAddContactsToCampaignArgs = {
2093
2108
  contacts: Array<InputMaybe<CustomContactInput>>;
2094
2109
  };
2095
2110
  /** Mutations */
2111
+ export type MutationAddContactsToCombinedCampaignArgs = {
2112
+ campaignId: Scalars['ID']['input'];
2113
+ contacts: Array<InputMaybe<CustomContactInput>>;
2114
+ };
2115
+ /** Mutations */
2096
2116
  export type MutationAddContactsToSegmentArgs = {
2097
2117
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
2098
2118
  segmentId: Scalars['ID']['input'];
@@ -3617,6 +3637,86 @@ export type AddContactsToCampaignMutation = {
3617
3637
  } | null;
3618
3638
  } | null;
3619
3639
  };
3640
+ export type AddContactsToCombinedCampaignMutationVariables = Exact<{
3641
+ campaignId: Scalars['ID']['input'];
3642
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
3643
+ }>;
3644
+ export type AddContactsToCombinedCampaignMutation = {
3645
+ __typename?: 'Mutation';
3646
+ addContactsToCombinedCampaign?: {
3647
+ __typename?: 'AddContactsToCombinedCampaign';
3648
+ success?: boolean | null;
3649
+ message?: string | null;
3650
+ addedCount?: number | null;
3651
+ campaign?: {
3652
+ __typename?: 'CombinedCampaignObject';
3653
+ id?: string | null;
3654
+ uuid?: string | null;
3655
+ name?: string | null;
3656
+ description?: string | null;
3657
+ status?: string | null;
3658
+ scheduledFor?: any | null;
3659
+ startedAt?: any | null;
3660
+ completedAt?: any | null;
3661
+ cancelledAt?: any | null;
3662
+ pausedAt?: any | null;
3663
+ settings?: any | null;
3664
+ totalContacts?: number | null;
3665
+ completedContacts?: number | null;
3666
+ lastActivity?: any | null;
3667
+ stepsPreview?: any | null;
3668
+ createdAt?: any | null;
3669
+ updatedAt?: any | null;
3670
+ steps?: Array<{
3671
+ __typename?: 'CombinedCampaignStepObject';
3672
+ id?: string | null;
3673
+ uuid?: string | null;
3674
+ order?: number | null;
3675
+ stepType?: string | null;
3676
+ status?: string | null;
3677
+ subject?: string | null;
3678
+ template?: string | null;
3679
+ taskTitle?: string | null;
3680
+ taskDescription?: string | null;
3681
+ taskCategory?: string | null;
3682
+ taskPriority?: string | null;
3683
+ delay?: number | null;
3684
+ delayUnit?: string | null;
3685
+ condition?: string | null;
3686
+ useBusinessDays?: boolean | null;
3687
+ settings?: any | null;
3688
+ createdAt?: any | null;
3689
+ updatedAt?: any | null;
3690
+ } | null> | null;
3691
+ segments?: Array<{
3692
+ __typename?: 'SegmentObject';
3693
+ id?: string | null;
3694
+ name?: string | null;
3695
+ description?: string | null;
3696
+ state?: string | null;
3697
+ industry?: string | null;
3698
+ metalType?: string | null;
3699
+ productCategory?: string | null;
3700
+ segmentType?: string | null;
3701
+ createdAt?: any | null;
3702
+ updatedAt?: any | null;
3703
+ isSystemTemplate?: boolean | null;
3704
+ totalContacts?: number | null;
3705
+ status?: string | null;
3706
+ } | null> | null;
3707
+ stepStats?: Array<{
3708
+ __typename?: 'CombinedCampaignStepStatsObject';
3709
+ stepId?: string | null;
3710
+ stepOrder?: number | null;
3711
+ stepType?: string | null;
3712
+ completed?: number | null;
3713
+ skipped?: number | null;
3714
+ total?: number | null;
3715
+ completionRate?: number | null;
3716
+ } | null> | null;
3717
+ } | null;
3718
+ } | null;
3719
+ };
3620
3720
  export type AddContactsToSegmentMutationVariables = Exact<{
3621
3721
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
3622
3722
  segmentId: Scalars['ID']['input'];
@@ -4126,7 +4226,7 @@ export type CreateCallCampaignLogMutation = {
4126
4226
  productsOfInterest?: any | null;
4127
4227
  businessOpportunities?: any | null;
4128
4228
  currentSupplier?: string | null;
4129
- campaignId?: number | null;
4229
+ campaignId?: string | null;
4130
4230
  campaignName?: string | null;
4131
4231
  segmentId?: number | null;
4132
4232
  segmentName?: string | null;
@@ -4474,6 +4574,7 @@ export type CreateCompanyMutation = {
4474
4574
  locationName?: string | null;
4475
4575
  phone?: string | null;
4476
4576
  email?: string | null;
4577
+ region?: string | null;
4477
4578
  createdAt?: any | null;
4478
4579
  updatedAt?: any | null;
4479
4580
  fullAddress?: string | null;
@@ -4767,7 +4868,7 @@ export type CreateCompanyMutation = {
4767
4868
  productsOfInterest?: any | null;
4768
4869
  businessOpportunities?: any | null;
4769
4870
  currentSupplier?: string | null;
4770
- campaignId?: number | null;
4871
+ campaignId?: string | null;
4771
4872
  campaignName?: string | null;
4772
4873
  segmentId?: number | null;
4773
4874
  segmentName?: string | null;
@@ -4886,7 +4987,7 @@ export type CreateCompanyMutation = {
4886
4987
  productsOfInterest?: any | null;
4887
4988
  businessOpportunities?: any | null;
4888
4989
  currentSupplier?: string | null;
4889
- campaignId?: number | null;
4990
+ campaignId?: string | null;
4890
4991
  campaignName?: string | null;
4891
4992
  segmentId?: number | null;
4892
4993
  segmentName?: string | null;
@@ -5042,7 +5143,7 @@ export type CreateCompanyMutation = {
5042
5143
  productsOfInterest?: any | null;
5043
5144
  businessOpportunities?: any | null;
5044
5145
  currentSupplier?: string | null;
5045
- campaignId?: number | null;
5146
+ campaignId?: string | null;
5046
5147
  campaignName?: string | null;
5047
5148
  segmentId?: number | null;
5048
5149
  segmentName?: string | null;
@@ -5145,6 +5246,7 @@ export type CreateCompanyMutation = {
5145
5246
  locationName?: string | null;
5146
5247
  phone?: string | null;
5147
5248
  email?: string | null;
5249
+ region?: string | null;
5148
5250
  createdAt?: any | null;
5149
5251
  updatedAt?: any | null;
5150
5252
  fullAddress?: string | null;
@@ -5284,7 +5386,7 @@ export type CreateCompanyNoteMutation = {
5284
5386
  productsOfInterest?: any | null;
5285
5387
  businessOpportunities?: any | null;
5286
5388
  currentSupplier?: string | null;
5287
- campaignId?: number | null;
5389
+ campaignId?: string | null;
5288
5390
  campaignName?: string | null;
5289
5391
  segmentId?: number | null;
5290
5392
  segmentName?: string | null;
@@ -5419,7 +5521,7 @@ export type CreateCompanyNoteMutation = {
5419
5521
  productsOfInterest?: any | null;
5420
5522
  businessOpportunities?: any | null;
5421
5523
  currentSupplier?: string | null;
5422
- campaignId?: number | null;
5524
+ campaignId?: string | null;
5423
5525
  campaignName?: string | null;
5424
5526
  segmentId?: number | null;
5425
5527
  segmentName?: string | null;
@@ -5749,7 +5851,7 @@ export type CreateTaskMutation = {
5749
5851
  productsOfInterest?: any | null;
5750
5852
  businessOpportunities?: any | null;
5751
5853
  currentSupplier?: string | null;
5752
- campaignId?: number | null;
5854
+ campaignId?: string | null;
5753
5855
  campaignName?: string | null;
5754
5856
  segmentId?: number | null;
5755
5857
  segmentName?: string | null;
@@ -7293,7 +7395,7 @@ export type SendManualEmailMutation = {
7293
7395
  productsOfInterest?: any | null;
7294
7396
  businessOpportunities?: any | null;
7295
7397
  currentSupplier?: string | null;
7296
- campaignId?: number | null;
7398
+ campaignId?: string | null;
7297
7399
  campaignName?: string | null;
7298
7400
  segmentId?: number | null;
7299
7401
  segmentName?: string | null;
@@ -7820,7 +7922,7 @@ export type UpdateCallCampaignLogMutation = {
7820
7922
  productsOfInterest?: any | null;
7821
7923
  businessOpportunities?: any | null;
7822
7924
  currentSupplier?: string | null;
7823
- campaignId?: number | null;
7925
+ campaignId?: string | null;
7824
7926
  campaignName?: string | null;
7825
7927
  segmentId?: number | null;
7826
7928
  segmentName?: string | null;
@@ -8326,7 +8428,7 @@ export type UpdateCombinedCampaignLogMutation = {
8326
8428
  productsOfInterest?: any | null;
8327
8429
  businessOpportunities?: any | null;
8328
8430
  currentSupplier?: string | null;
8329
- campaignId?: number | null;
8431
+ campaignId?: string | null;
8330
8432
  campaignName?: string | null;
8331
8433
  segmentId?: number | null;
8332
8434
  segmentName?: string | null;
@@ -8461,6 +8563,7 @@ export type UpdateCompanyMutation = {
8461
8563
  locationName?: string | null;
8462
8564
  phone?: string | null;
8463
8565
  email?: string | null;
8566
+ region?: string | null;
8464
8567
  createdAt?: any | null;
8465
8568
  updatedAt?: any | null;
8466
8569
  fullAddress?: string | null;
@@ -8754,7 +8857,7 @@ export type UpdateCompanyMutation = {
8754
8857
  productsOfInterest?: any | null;
8755
8858
  businessOpportunities?: any | null;
8756
8859
  currentSupplier?: string | null;
8757
- campaignId?: number | null;
8860
+ campaignId?: string | null;
8758
8861
  campaignName?: string | null;
8759
8862
  segmentId?: number | null;
8760
8863
  segmentName?: string | null;
@@ -8873,7 +8976,7 @@ export type UpdateCompanyMutation = {
8873
8976
  productsOfInterest?: any | null;
8874
8977
  businessOpportunities?: any | null;
8875
8978
  currentSupplier?: string | null;
8876
- campaignId?: number | null;
8979
+ campaignId?: string | null;
8877
8980
  campaignName?: string | null;
8878
8981
  segmentId?: number | null;
8879
8982
  segmentName?: string | null;
@@ -9029,7 +9132,7 @@ export type UpdateCompanyMutation = {
9029
9132
  productsOfInterest?: any | null;
9030
9133
  businessOpportunities?: any | null;
9031
9134
  currentSupplier?: string | null;
9032
- campaignId?: number | null;
9135
+ campaignId?: string | null;
9033
9136
  campaignName?: string | null;
9034
9137
  segmentId?: number | null;
9035
9138
  segmentName?: string | null;
@@ -9132,6 +9235,7 @@ export type UpdateCompanyMutation = {
9132
9235
  locationName?: string | null;
9133
9236
  phone?: string | null;
9134
9237
  email?: string | null;
9238
+ region?: string | null;
9135
9239
  createdAt?: any | null;
9136
9240
  updatedAt?: any | null;
9137
9241
  fullAddress?: string | null;
@@ -9271,7 +9375,7 @@ export type UpdateCompanyNoteMutation = {
9271
9375
  productsOfInterest?: any | null;
9272
9376
  businessOpportunities?: any | null;
9273
9377
  currentSupplier?: string | null;
9274
- campaignId?: number | null;
9378
+ campaignId?: string | null;
9275
9379
  campaignName?: string | null;
9276
9380
  segmentId?: number | null;
9277
9381
  segmentName?: string | null;
@@ -9406,7 +9510,7 @@ export type UpdateCompanyNoteMutation = {
9406
9510
  productsOfInterest?: any | null;
9407
9511
  businessOpportunities?: any | null;
9408
9512
  currentSupplier?: string | null;
9409
- campaignId?: number | null;
9513
+ campaignId?: string | null;
9410
9514
  campaignName?: string | null;
9411
9515
  segmentId?: number | null;
9412
9516
  segmentName?: string | null;
@@ -9713,7 +9817,7 @@ export type UpdateTaskMutation = {
9713
9817
  productsOfInterest?: any | null;
9714
9818
  businessOpportunities?: any | null;
9715
9819
  currentSupplier?: string | null;
9716
- campaignId?: number | null;
9820
+ campaignId?: string | null;
9717
9821
  campaignName?: string | null;
9718
9822
  segmentId?: number | null;
9719
9823
  segmentName?: string | null;
@@ -9984,7 +10088,7 @@ export type CallCampaignLogQuery = {
9984
10088
  productsOfInterest?: any | null;
9985
10089
  businessOpportunities?: any | null;
9986
10090
  currentSupplier?: string | null;
9987
- campaignId?: number | null;
10091
+ campaignId?: string | null;
9988
10092
  campaignName?: string | null;
9989
10093
  segmentId?: number | null;
9990
10094
  segmentName?: string | null;
@@ -10140,7 +10244,7 @@ export type CallCampaignLogsQuery = {
10140
10244
  productsOfInterest?: any | null;
10141
10245
  businessOpportunities?: any | null;
10142
10246
  currentSupplier?: string | null;
10143
- campaignId?: number | null;
10247
+ campaignId?: string | null;
10144
10248
  campaignName?: string | null;
10145
10249
  segmentId?: number | null;
10146
10250
  segmentName?: string | null;
@@ -10312,8 +10416,9 @@ export type CallCampaignReportQuery = {
10312
10416
  phone?: string | null;
10313
10417
  outcome?: string | null;
10314
10418
  timestamp?: any | null;
10315
- campaignId?: number | null;
10419
+ campaignId?: string | null;
10316
10420
  campaignName?: string | null;
10421
+ source?: string | null;
10317
10422
  notes?: string | null;
10318
10423
  currentSupplier?: string | null;
10319
10424
  productsOfInterest?: any | null;
@@ -10416,7 +10521,7 @@ export type CallCampaignReportQuery = {
10416
10521
  productsOfInterest?: any | null;
10417
10522
  businessOpportunities?: any | null;
10418
10523
  currentSupplier?: string | null;
10419
- campaignId?: number | null;
10524
+ campaignId?: string | null;
10420
10525
  campaignName?: string | null;
10421
10526
  segmentId?: number | null;
10422
10527
  segmentName?: string | null;
@@ -11538,7 +11643,7 @@ export type CombinedCampaignLogsQuery = {
11538
11643
  productsOfInterest?: any | null;
11539
11644
  businessOpportunities?: any | null;
11540
11645
  currentSupplier?: string | null;
11541
- campaignId?: number | null;
11646
+ campaignId?: string | null;
11542
11647
  campaignName?: string | null;
11543
11648
  segmentId?: number | null;
11544
11649
  segmentName?: string | null;
@@ -11802,6 +11907,7 @@ export type CompaniesQuery = {
11802
11907
  locationName?: string | null;
11803
11908
  phone?: string | null;
11804
11909
  email?: string | null;
11910
+ region?: string | null;
11805
11911
  createdAt?: any | null;
11806
11912
  updatedAt?: any | null;
11807
11913
  fullAddress?: string | null;
@@ -12095,7 +12201,7 @@ export type CompaniesQuery = {
12095
12201
  productsOfInterest?: any | null;
12096
12202
  businessOpportunities?: any | null;
12097
12203
  currentSupplier?: string | null;
12098
- campaignId?: number | null;
12204
+ campaignId?: string | null;
12099
12205
  campaignName?: string | null;
12100
12206
  segmentId?: number | null;
12101
12207
  segmentName?: string | null;
@@ -12260,7 +12366,7 @@ export type CompaniesQuery = {
12260
12366
  productsOfInterest?: any | null;
12261
12367
  businessOpportunities?: any | null;
12262
12368
  currentSupplier?: string | null;
12263
- campaignId?: number | null;
12369
+ campaignId?: string | null;
12264
12370
  campaignName?: string | null;
12265
12371
  segmentId?: number | null;
12266
12372
  segmentName?: string | null;
@@ -12363,6 +12469,7 @@ export type CompaniesQuery = {
12363
12469
  locationName?: string | null;
12364
12470
  phone?: string | null;
12365
12471
  email?: string | null;
12472
+ region?: string | null;
12366
12473
  createdAt?: any | null;
12367
12474
  updatedAt?: any | null;
12368
12475
  fullAddress?: string | null;
@@ -12448,6 +12555,7 @@ export type CompanyQuery = {
12448
12555
  locationName?: string | null;
12449
12556
  phone?: string | null;
12450
12557
  email?: string | null;
12558
+ region?: string | null;
12451
12559
  createdAt?: any | null;
12452
12560
  updatedAt?: any | null;
12453
12561
  fullAddress?: string | null;
@@ -12741,7 +12849,7 @@ export type CompanyQuery = {
12741
12849
  productsOfInterest?: any | null;
12742
12850
  businessOpportunities?: any | null;
12743
12851
  currentSupplier?: string | null;
12744
- campaignId?: number | null;
12852
+ campaignId?: string | null;
12745
12853
  campaignName?: string | null;
12746
12854
  segmentId?: number | null;
12747
12855
  segmentName?: string | null;
@@ -12860,7 +12968,7 @@ export type CompanyQuery = {
12860
12968
  productsOfInterest?: any | null;
12861
12969
  businessOpportunities?: any | null;
12862
12970
  currentSupplier?: string | null;
12863
- campaignId?: number | null;
12971
+ campaignId?: string | null;
12864
12972
  campaignName?: string | null;
12865
12973
  segmentId?: number | null;
12866
12974
  segmentName?: string | null;
@@ -13016,7 +13124,7 @@ export type CompanyQuery = {
13016
13124
  productsOfInterest?: any | null;
13017
13125
  businessOpportunities?: any | null;
13018
13126
  currentSupplier?: string | null;
13019
- campaignId?: number | null;
13127
+ campaignId?: string | null;
13020
13128
  campaignName?: string | null;
13021
13129
  segmentId?: number | null;
13022
13130
  segmentName?: string | null;
@@ -13119,6 +13227,7 @@ export type CompanyQuery = {
13119
13227
  locationName?: string | null;
13120
13228
  phone?: string | null;
13121
13229
  email?: string | null;
13230
+ region?: string | null;
13122
13231
  createdAt?: any | null;
13123
13232
  updatedAt?: any | null;
13124
13233
  fullAddress?: string | null;
@@ -13255,7 +13364,7 @@ export type CompanyNoteQuery = {
13255
13364
  productsOfInterest?: any | null;
13256
13365
  businessOpportunities?: any | null;
13257
13366
  currentSupplier?: string | null;
13258
- campaignId?: number | null;
13367
+ campaignId?: string | null;
13259
13368
  campaignName?: string | null;
13260
13369
  segmentId?: number | null;
13261
13370
  segmentName?: string | null;
@@ -13390,7 +13499,7 @@ export type CompanyNoteQuery = {
13390
13499
  productsOfInterest?: any | null;
13391
13500
  businessOpportunities?: any | null;
13392
13501
  currentSupplier?: string | null;
13393
- campaignId?: number | null;
13502
+ campaignId?: string | null;
13394
13503
  campaignName?: string | null;
13395
13504
  segmentId?: number | null;
13396
13505
  segmentName?: string | null;
@@ -13583,7 +13692,7 @@ export type CompanyNotesQuery = {
13583
13692
  productsOfInterest?: any | null;
13584
13693
  businessOpportunities?: any | null;
13585
13694
  currentSupplier?: string | null;
13586
- campaignId?: number | null;
13695
+ campaignId?: string | null;
13587
13696
  campaignName?: string | null;
13588
13697
  segmentId?: number | null;
13589
13698
  segmentName?: string | null;
@@ -13702,7 +13811,7 @@ export type CompanyNotesQuery = {
13702
13811
  productsOfInterest?: any | null;
13703
13812
  businessOpportunities?: any | null;
13704
13813
  currentSupplier?: string | null;
13705
- campaignId?: number | null;
13814
+ campaignId?: string | null;
13706
13815
  campaignName?: string | null;
13707
13816
  segmentId?: number | null;
13708
13817
  segmentName?: string | null;
@@ -14520,6 +14629,7 @@ export type RecentHistoryQuery = {
14520
14629
  locationName?: string | null;
14521
14630
  phone?: string | null;
14522
14631
  email?: string | null;
14632
+ region?: string | null;
14523
14633
  createdAt?: any | null;
14524
14634
  updatedAt?: any | null;
14525
14635
  fullAddress?: string | null;
@@ -14797,7 +14907,7 @@ export type RecentHistoryQuery = {
14797
14907
  productsOfInterest?: any | null;
14798
14908
  businessOpportunities?: any | null;
14799
14909
  currentSupplier?: string | null;
14800
- campaignId?: number | null;
14910
+ campaignId?: string | null;
14801
14911
  campaignName?: string | null;
14802
14912
  segmentId?: number | null;
14803
14913
  segmentName?: string | null;
@@ -14943,7 +15053,7 @@ export type RecentHistoryQuery = {
14943
15053
  productsOfInterest?: any | null;
14944
15054
  businessOpportunities?: any | null;
14945
15055
  currentSupplier?: string | null;
14946
- campaignId?: number | null;
15056
+ campaignId?: string | null;
14947
15057
  campaignName?: string | null;
14948
15058
  segmentId?: number | null;
14949
15059
  segmentName?: string | null;
@@ -15046,6 +15156,7 @@ export type RecentHistoryQuery = {
15046
15156
  locationName?: string | null;
15047
15157
  phone?: string | null;
15048
15158
  email?: string | null;
15159
+ region?: string | null;
15049
15160
  createdAt?: any | null;
15050
15161
  updatedAt?: any | null;
15051
15162
  fullAddress?: string | null;
@@ -15343,7 +15454,7 @@ export type TaskQuery = {
15343
15454
  productsOfInterest?: any | null;
15344
15455
  businessOpportunities?: any | null;
15345
15456
  currentSupplier?: string | null;
15346
- campaignId?: number | null;
15457
+ campaignId?: string | null;
15347
15458
  campaignName?: string | null;
15348
15459
  segmentId?: number | null;
15349
15460
  segmentName?: string | null;
@@ -15498,7 +15609,7 @@ export type TasksQuery = {
15498
15609
  productsOfInterest?: any | null;
15499
15610
  businessOpportunities?: any | null;
15500
15611
  currentSupplier?: string | null;
15501
- campaignId?: number | null;
15612
+ campaignId?: string | null;
15502
15613
  campaignName?: string | null;
15503
15614
  segmentId?: number | null;
15504
15615
  segmentName?: string | null;
@@ -15661,6 +15772,33 @@ export declare function useAddContactsToCampaignMutation(baseOptions?: Apollo.Mu
15661
15772
  export type AddContactsToCampaignMutationHookResult = ReturnType<typeof useAddContactsToCampaignMutation>;
15662
15773
  export type AddContactsToCampaignMutationResult = Apollo.MutationResult<AddContactsToCampaignMutation>;
15663
15774
  export type AddContactsToCampaignMutationOptions = Apollo.BaseMutationOptions<AddContactsToCampaignMutation, AddContactsToCampaignMutationVariables>;
15775
+ export declare const AddContactsToCombinedCampaignDocument: Apollo.DocumentNode;
15776
+ export type AddContactsToCombinedCampaignMutationFn = Apollo.MutationFunction<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>;
15777
+ /**
15778
+ * __useAddContactsToCombinedCampaignMutation__
15779
+ *
15780
+ * To run a mutation, you first call `useAddContactsToCombinedCampaignMutation` within a React component and pass it any options that fit your needs.
15781
+ * When your component renders, `useAddContactsToCombinedCampaignMutation` returns a tuple that includes:
15782
+ * - A mutate function that you can call at any time to execute the mutation
15783
+ * - An object with fields that represent the current status of the mutation's execution
15784
+ *
15785
+ * @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;
15786
+ *
15787
+ * @example
15788
+ * const [addContactsToCombinedCampaignMutation, { data, loading, error }] = useAddContactsToCombinedCampaignMutation({
15789
+ * variables: {
15790
+ * campaignId: // value for 'campaignId'
15791
+ * contacts: // value for 'contacts'
15792
+ * },
15793
+ * });
15794
+ */
15795
+ export declare function useAddContactsToCombinedCampaignMutation(baseOptions?: Apollo.MutationHookOptions<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>): Apollo.MutationTuple<AddContactsToCombinedCampaignMutation, Exact<{
15796
+ campaignId: Scalars["ID"]["input"];
15797
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
15798
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
15799
+ export type AddContactsToCombinedCampaignMutationHookResult = ReturnType<typeof useAddContactsToCombinedCampaignMutation>;
15800
+ export type AddContactsToCombinedCampaignMutationResult = Apollo.MutationResult<AddContactsToCombinedCampaignMutation>;
15801
+ export type AddContactsToCombinedCampaignMutationOptions = Apollo.BaseMutationOptions<AddContactsToCombinedCampaignMutation, AddContactsToCombinedCampaignMutationVariables>;
15664
15802
  export declare const AddContactsToSegmentDocument: Apollo.DocumentNode;
15665
15803
  export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>;
15666
15804
  /**
@@ -33,11 +33,12 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = void 0;
37
- exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = void 0;
38
- exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = void 0;
36
+ exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCombinedCampaignDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = void 0;
37
+ exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = void 0;
38
+ exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = void 0;
39
39
  exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
40
40
  exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
41
+ exports.useAddContactsToCombinedCampaignMutation = useAddContactsToCombinedCampaignMutation;
41
42
  exports.useAddContactsToSegmentMutation = useAddContactsToSegmentMutation;
42
43
  exports.useAddSegmentToCallCampaignMutation = useAddSegmentToCallCampaignMutation;
43
44
  exports.useAddSegmentToCampaignMutation = useAddSegmentToCampaignMutation;
@@ -620,6 +621,100 @@ function useAddContactsToCampaignMutation(baseOptions) {
620
621
  const options = { ...defaultOptions, ...baseOptions };
621
622
  return Apollo.useMutation(exports.AddContactsToCampaignDocument, options);
622
623
  }
624
+ exports.AddContactsToCombinedCampaignDocument = (0, client_1.gql) `
625
+ mutation AddContactsToCombinedCampaign($campaignId: ID!, $contacts: [CustomContactInput]!) {
626
+ addContactsToCombinedCampaign(campaignId: $campaignId, contacts: $contacts) {
627
+ campaign {
628
+ id
629
+ uuid
630
+ name
631
+ description
632
+ status
633
+ scheduledFor
634
+ startedAt
635
+ completedAt
636
+ cancelledAt
637
+ pausedAt
638
+ settings
639
+ steps {
640
+ id
641
+ uuid
642
+ order
643
+ stepType
644
+ status
645
+ subject
646
+ template
647
+ taskTitle
648
+ taskDescription
649
+ taskCategory
650
+ taskPriority
651
+ delay
652
+ delayUnit
653
+ condition
654
+ useBusinessDays
655
+ settings
656
+ createdAt
657
+ updatedAt
658
+ }
659
+ segments {
660
+ id
661
+ name
662
+ description
663
+ state
664
+ industry
665
+ metalType
666
+ productCategory
667
+ segmentType
668
+ createdAt
669
+ updatedAt
670
+ isSystemTemplate
671
+ totalContacts
672
+ status
673
+ }
674
+ totalContacts
675
+ completedContacts
676
+ stepStats {
677
+ stepId
678
+ stepOrder
679
+ stepType
680
+ completed
681
+ skipped
682
+ total
683
+ completionRate
684
+ }
685
+ lastActivity
686
+ stepsPreview
687
+ createdAt
688
+ updatedAt
689
+ }
690
+ success
691
+ message
692
+ addedCount
693
+ }
694
+ }
695
+ `;
696
+ /**
697
+ * __useAddContactsToCombinedCampaignMutation__
698
+ *
699
+ * To run a mutation, you first call `useAddContactsToCombinedCampaignMutation` within a React component and pass it any options that fit your needs.
700
+ * When your component renders, `useAddContactsToCombinedCampaignMutation` returns a tuple that includes:
701
+ * - A mutate function that you can call at any time to execute the mutation
702
+ * - An object with fields that represent the current status of the mutation's execution
703
+ *
704
+ * @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;
705
+ *
706
+ * @example
707
+ * const [addContactsToCombinedCampaignMutation, { data, loading, error }] = useAddContactsToCombinedCampaignMutation({
708
+ * variables: {
709
+ * campaignId: // value for 'campaignId'
710
+ * contacts: // value for 'contacts'
711
+ * },
712
+ * });
713
+ */
714
+ function useAddContactsToCombinedCampaignMutation(baseOptions) {
715
+ const options = { ...defaultOptions, ...baseOptions };
716
+ return Apollo.useMutation(exports.AddContactsToCombinedCampaignDocument, options);
717
+ }
623
718
  exports.AddContactsToSegmentDocument = (0, client_1.gql) `
624
719
  mutation AddContactsToSegment($contactIds: [ID]!, $segmentId: ID!) {
625
720
  addContactsToSegment(contactIds: $contactIds, segmentId: $segmentId) {
@@ -1654,6 +1749,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
1654
1749
  locationName
1655
1750
  phone
1656
1751
  email
1752
+ region
1657
1753
  createdAt
1658
1754
  updatedAt
1659
1755
  fullAddress
@@ -2271,6 +2367,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
2271
2367
  locationName
2272
2368
  phone
2273
2369
  email
2370
+ region
2274
2371
  createdAt
2275
2372
  updatedAt
2276
2373
  fullAddress
@@ -6468,6 +6565,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
6468
6565
  locationName
6469
6566
  phone
6470
6567
  email
6568
+ region
6471
6569
  createdAt
6472
6570
  updatedAt
6473
6571
  fullAddress
@@ -7085,6 +7183,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
7085
7183
  locationName
7086
7184
  phone
7087
7185
  email
7186
+ region
7088
7187
  createdAt
7089
7188
  updatedAt
7090
7189
  fullAddress
@@ -8521,6 +8620,7 @@ exports.CallCampaignReportDocument = (0, client_1.gql) `
8521
8620
  timestamp
8522
8621
  campaignId
8523
8622
  campaignName
8623
+ source
8524
8624
  notes
8525
8625
  currentSupplier
8526
8626
  productsOfInterest
@@ -10239,6 +10339,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
10239
10339
  locationName
10240
10340
  phone
10241
10341
  email
10342
+ region
10242
10343
  createdAt
10243
10344
  updatedAt
10244
10345
  fullAddress
@@ -10754,6 +10855,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
10754
10855
  locationName
10755
10856
  phone
10756
10857
  email
10858
+ region
10757
10859
  createdAt
10758
10860
  updatedAt
10759
10861
  fullAddress
@@ -10860,6 +10962,7 @@ exports.CompanyDocument = (0, client_1.gql) `
10860
10962
  locationName
10861
10963
  phone
10862
10964
  email
10965
+ region
10863
10966
  createdAt
10864
10967
  updatedAt
10865
10968
  fullAddress
@@ -11477,6 +11580,7 @@ exports.CompanyDocument = (0, client_1.gql) `
11477
11580
  locationName
11478
11581
  phone
11479
11582
  email
11583
+ region
11480
11584
  createdAt
11481
11585
  updatedAt
11482
11586
  fullAddress
@@ -13312,6 +13416,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
13312
13416
  locationName
13313
13417
  phone
13314
13418
  email
13419
+ region
13315
13420
  createdAt
13316
13421
  updatedAt
13317
13422
  fullAddress
@@ -13794,6 +13899,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
13794
13899
  locationName
13795
13900
  phone
13796
13901
  email
13902
+ region
13797
13903
  createdAt
13798
13904
  updatedAt
13799
13905
  fullAddress
@@ -9,6 +9,7 @@ export declare const CANCEL_COMBINED_CAMPAIGN: import("@apollo/client").Document
9
9
  export declare const UPDATE_COMBINED_CAMPAIGN_LOG: import("@apollo/client").DocumentNode;
10
10
  export declare const UPDATE_COMBINED_CAMPAIGN_LOGS: import("@apollo/client").DocumentNode;
11
11
  export declare const SEND_MANUAL_EMAIL: import("@apollo/client").DocumentNode;
12
+ export declare const ADD_CONTACTS_TO_COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
12
13
  export declare const REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
13
14
  export declare const SIGNUP: import("@apollo/client").DocumentNode;
14
15
  export declare const FORGOT_PASSWORD: import("@apollo/client").DocumentNode;
package/dist/mutations.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CANCEL_CAMPAIGN = exports.COMPLETE_CAMPAIGN = exports.PAUSE_CAMPAIGN = exports.START_CAMPAIGN = exports.REMOVE_SEGMENT_FROM_CAMPAIGN = exports.ADD_SEGMENT_TO_CAMPAIGN = exports.DELETE_CAMPAIGN = exports.UPDATE_CAMPAIGN = exports.CREATE_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_CAMPAIGN = exports.ADD_CONTACTS_TO_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_SEGMENT = exports.ADD_CONTACTS_TO_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = exports.SUBMIT_FEEDBACK = exports.LOGIN_WITH_MICROSOFT = exports.LOGIN_WITH_GOOGLE = exports.UNSUBSCRIBE_FROM_EMAILS = exports.VALIDATE_OTP_AND_RESET_PASSWORD = exports.CHANGE_PASSWORD = exports.UPDATE_USER_PROFILE = exports.LOGIN = exports.CANCEL_INVITATION = exports.REMOVE_MEMBER = exports.REJECT_INVITATION = exports.ACCEPT_INVITATION = exports.INVITE_USER = exports.UPLOAD_FILE = exports.FORGOT_PASSWORD = exports.SIGNUP = exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = exports.SEND_MANUAL_EMAIL = exports.UPDATE_COMBINED_CAMPAIGN_LOGS = exports.UPDATE_COMBINED_CAMPAIGN_LOG = exports.CANCEL_COMBINED_CAMPAIGN = exports.RESUME_COMBINED_CAMPAIGN = exports.PAUSE_COMBINED_CAMPAIGN = exports.SCHEDULE_COMBINED_CAMPAIGN = exports.START_COMBINED_CAMPAIGN = exports.DELETE_COMBINED_CAMPAIGN = exports.UPDATE_COMBINED_CAMPAIGN = exports.CREATE_COMBINED_CAMPAIGN = void 0;
4
- exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = exports.MARK_NOTIFICATION_AS_READ = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.REDUCE_SPAM = exports.EMAIL_TONE = exports.DELETE_EMAIL_TEMPLATE = exports.UPDATE_EMAIL_TEMPLATE = exports.CREATE_EMAIL_TEMPLATE = exports.PREVIEW_CAMPAIGN_EMAIL = exports.SCHEDULE_CAMPAIGN = exports.SEND_EMAIL_TO_CONTACT = exports.SEND_TEST_EMAIL = void 0;
3
+ exports.COMPLETE_CAMPAIGN = exports.PAUSE_CAMPAIGN = exports.START_CAMPAIGN = exports.REMOVE_SEGMENT_FROM_CAMPAIGN = exports.ADD_SEGMENT_TO_CAMPAIGN = exports.DELETE_CAMPAIGN = exports.UPDATE_CAMPAIGN = exports.CREATE_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_CAMPAIGN = exports.ADD_CONTACTS_TO_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_SEGMENT = exports.ADD_CONTACTS_TO_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = exports.SUBMIT_FEEDBACK = exports.LOGIN_WITH_MICROSOFT = exports.LOGIN_WITH_GOOGLE = exports.UNSUBSCRIBE_FROM_EMAILS = exports.VALIDATE_OTP_AND_RESET_PASSWORD = exports.CHANGE_PASSWORD = exports.UPDATE_USER_PROFILE = exports.LOGIN = exports.CANCEL_INVITATION = exports.REMOVE_MEMBER = exports.REJECT_INVITATION = exports.ACCEPT_INVITATION = exports.INVITE_USER = exports.UPLOAD_FILE = exports.FORGOT_PASSWORD = exports.SIGNUP = exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = exports.ADD_CONTACTS_TO_COMBINED_CAMPAIGN = exports.SEND_MANUAL_EMAIL = exports.UPDATE_COMBINED_CAMPAIGN_LOGS = exports.UPDATE_COMBINED_CAMPAIGN_LOG = exports.CANCEL_COMBINED_CAMPAIGN = exports.RESUME_COMBINED_CAMPAIGN = exports.PAUSE_COMBINED_CAMPAIGN = exports.SCHEDULE_COMBINED_CAMPAIGN = exports.START_COMBINED_CAMPAIGN = exports.DELETE_COMBINED_CAMPAIGN = exports.UPDATE_COMBINED_CAMPAIGN = exports.CREATE_COMBINED_CAMPAIGN = void 0;
4
+ exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = exports.MARK_NOTIFICATION_AS_READ = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.REDUCE_SPAM = exports.EMAIL_TONE = exports.DELETE_EMAIL_TEMPLATE = exports.UPDATE_EMAIL_TEMPLATE = exports.CREATE_EMAIL_TEMPLATE = exports.PREVIEW_CAMPAIGN_EMAIL = exports.SCHEDULE_CAMPAIGN = exports.SEND_EMAIL_TO_CONTACT = exports.SEND_TEST_EMAIL = exports.CANCEL_CAMPAIGN = void 0;
5
5
  const client_1 = require("@apollo/client");
6
6
  exports.CREATE_COMBINED_CAMPAIGN = (0, client_1.gql) `
7
7
  mutation CreateCombinedCampaign($input: CombinedCampaignInput!, $steps: [CombinedCampaignStepInput]) {
@@ -1183,6 +1183,77 @@ mutation SendManualEmail($bcc: [String], $body: String!, $cc: [String], $logId:
1183
1183
  message
1184
1184
  }
1185
1185
  }`;
1186
+ exports.ADD_CONTACTS_TO_COMBINED_CAMPAIGN = (0, client_1.gql) `
1187
+ mutation AddContactsToCombinedCampaign($campaignId: ID!, $contacts: [CustomContactInput]!) {
1188
+ addContactsToCombinedCampaign(campaignId: $campaignId, contacts: $contacts) {
1189
+ campaign {
1190
+ id
1191
+ uuid
1192
+ name
1193
+ description
1194
+ status
1195
+ scheduledFor
1196
+ startedAt
1197
+ completedAt
1198
+ cancelledAt
1199
+ pausedAt
1200
+ settings
1201
+ steps {
1202
+ id
1203
+ uuid
1204
+ order
1205
+ stepType
1206
+ status
1207
+ subject
1208
+ template
1209
+ taskTitle
1210
+ taskDescription
1211
+ taskCategory
1212
+ taskPriority
1213
+ delay
1214
+ delayUnit
1215
+ condition
1216
+ useBusinessDays
1217
+ settings
1218
+ createdAt
1219
+ updatedAt
1220
+ }
1221
+ segments {
1222
+ id
1223
+ name
1224
+ description
1225
+ state
1226
+ industry
1227
+ metalType
1228
+ productCategory
1229
+ segmentType
1230
+ createdAt
1231
+ updatedAt
1232
+ isSystemTemplate
1233
+ totalContacts
1234
+ status
1235
+ }
1236
+ totalContacts
1237
+ completedContacts
1238
+ stepStats {
1239
+ stepId
1240
+ stepOrder
1241
+ stepType
1242
+ completed
1243
+ skipped
1244
+ total
1245
+ completionRate
1246
+ }
1247
+ lastActivity
1248
+ stepsPreview
1249
+ createdAt
1250
+ updatedAt
1251
+ }
1252
+ success
1253
+ message
1254
+ addedCount
1255
+ }
1256
+ }`;
1186
1257
  exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = (0, client_1.gql) `
1187
1258
  mutation RemoveContactsFromCombinedCampaign($campaignId: ID!, $contactIds: [ID], $customContactIds: [ID]) {
1188
1259
  removeContactsFromCombinedCampaign(campaignId: $campaignId, contactIds: $contactIds, customContactIds: $customContactIds) {
@@ -1653,6 +1724,7 @@ mutation CreateCompany($input: CompanyInput) {
1653
1724
  locationName
1654
1725
  phone
1655
1726
  email
1727
+ region
1656
1728
  createdAt
1657
1729
  updatedAt
1658
1730
  fullAddress
@@ -2270,6 +2342,7 @@ mutation CreateCompany($input: CompanyInput) {
2270
2342
  locationName
2271
2343
  phone
2272
2344
  email
2345
+ region
2273
2346
  createdAt
2274
2347
  updatedAt
2275
2348
  fullAddress
@@ -2337,6 +2410,7 @@ mutation UpdateCompany($input: CompanyInput) {
2337
2410
  locationName
2338
2411
  phone
2339
2412
  email
2413
+ region
2340
2414
  createdAt
2341
2415
  updatedAt
2342
2416
  fullAddress
@@ -2954,6 +3028,7 @@ mutation UpdateCompany($input: CompanyInput) {
2954
3028
  locationName
2955
3029
  phone
2956
3030
  email
3031
+ region
2957
3032
  createdAt
2958
3033
  updatedAt
2959
3034
  fullAddress
package/dist/queries.js CHANGED
@@ -666,6 +666,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
666
666
  locationName
667
667
  phone
668
668
  email
669
+ region
669
670
  createdAt
670
671
  updatedAt
671
672
  fullAddress
@@ -1148,6 +1149,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
1148
1149
  locationName
1149
1150
  phone
1150
1151
  email
1152
+ region
1151
1153
  createdAt
1152
1154
  updatedAt
1153
1155
  fullAddress
@@ -2236,6 +2238,7 @@ query CallCampaignReport($filters: CallReportFilterInput, $pagination: Paginatio
2236
2238
  timestamp
2237
2239
  campaignId
2238
2240
  campaignName
2241
+ source
2239
2242
  notes
2240
2243
  currentSupplier
2241
2244
  productsOfInterest
@@ -3489,6 +3492,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3489
3492
  locationName
3490
3493
  phone
3491
3494
  email
3495
+ region
3492
3496
  createdAt
3493
3497
  updatedAt
3494
3498
  fullAddress
@@ -4004,6 +4008,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
4004
4008
  locationName
4005
4009
  phone
4006
4010
  email
4011
+ region
4007
4012
  createdAt
4008
4013
  updatedAt
4009
4014
  fullAddress
@@ -4237,6 +4242,7 @@ query Company($id: String) {
4237
4242
  locationName
4238
4243
  phone
4239
4244
  email
4245
+ region
4240
4246
  createdAt
4241
4247
  updatedAt
4242
4248
  fullAddress
@@ -4854,6 +4860,7 @@ query Company($id: String) {
4854
4860
  locationName
4855
4861
  phone
4856
4862
  email
4863
+ region
4857
4864
  createdAt
4858
4865
  updatedAt
4859
4866
  fullAddress
package/dist/sdk.d.ts CHANGED
@@ -10,6 +10,7 @@ export declare class CloudForgeSDK {
10
10
  executeCustomMutation<T = any>(mutation: string | any, variables?: Record<string, any>): Promise<import("@apollo/client").FetchResult<T>>;
11
11
  acceptInvitation(input: InvitationResponseInput): Promise<import("@apollo/client").FetchResult<any>>;
12
12
  addContactsToCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<import("@apollo/client").FetchResult<any>>;
13
+ addContactsToCombinedCampaign(campaignId: string, contacts: CustomContactInput[]): Promise<import("@apollo/client").FetchResult<any>>;
13
14
  addContactsToSegment(contactIds: string[], segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
14
15
  addSegmentToCallCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
15
16
  addSegmentToCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
package/dist/sdk.js CHANGED
@@ -45,6 +45,12 @@ class CloudForgeSDK {
45
45
  variables: { campaignId, contacts }
46
46
  });
47
47
  }
48
+ async addContactsToCombinedCampaign(campaignId, contacts) {
49
+ return this.apolloClient.mutate({
50
+ mutation: mutations_1.ADD_CONTACTS_TO_COMBINED_CAMPAIGN,
51
+ variables: { campaignId, contacts }
52
+ });
53
+ }
48
54
  async addContactsToSegment(contactIds, segmentId) {
49
55
  return this.apolloClient.mutate({
50
56
  mutation: mutations_1.ADD_CONTACTS_TO_SEGMENT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",