cf-service-sdk 0.1.4 → 0.1.5

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.
@@ -327,10 +327,14 @@ export type CallCampaignAnalyticsSummary = {
327
327
  };
328
328
  export type CallCampaignInput = {
329
329
  accountId?: InputMaybe<Scalars['ID']['input']>;
330
+ /** UUID of the call script template to associate */
331
+ callScriptTemplateId?: InputMaybe<Scalars['ID']['input']>;
330
332
  contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
331
333
  description?: InputMaybe<Scalars['String']['input']>;
332
334
  manualContacts?: InputMaybe<Array<InputMaybe<ManualContactInput>>>;
333
335
  name?: InputMaybe<Scalars['String']['input']>;
336
+ /** HTML call script content for this campaign */
337
+ script?: InputMaybe<Scalars['String']['input']>;
334
338
  segmentIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
335
339
  status?: InputMaybe<Scalars['String']['input']>;
336
340
  userId?: InputMaybe<Scalars['ID']['input']>;
@@ -425,6 +429,8 @@ export type CallCampaignLogStatsType = {
425
429
  export type CallCampaignObject = {
426
430
  __typename?: 'CallCampaignObject';
427
431
  account?: Maybe<AccountType>;
432
+ /** UUID of the call script template used, if any */
433
+ callScriptTemplateId?: Maybe<Scalars['ID']['output']>;
428
434
  /** Number of contacts that have been called in the call campaign */
429
435
  called?: Maybe<Scalars['Int']['output']>;
430
436
  /** Number of contacts that have been connected in the call campaign */
@@ -440,6 +446,8 @@ export type CallCampaignObject = {
440
446
  /** Date and time of the last activity in the call campaign */
441
447
  lastActivity?: Maybe<Scalars['DateTime']['output']>;
442
448
  name?: Maybe<Scalars['String']['output']>;
449
+ /** HTML call script content for this campaign */
450
+ script?: Maybe<Scalars['String']['output']>;
443
451
  /** List of segments associated with the call campaign */
444
452
  segments?: Maybe<Array<Maybe<SegmentObject>>>;
445
453
  /** Statistics related to the call campaign */
@@ -508,6 +516,21 @@ export type CallReportStatsObject = {
508
516
  meetingCount?: Maybe<Scalars['Int']['output']>;
509
517
  totalCalls?: Maybe<Scalars['Int']['output']>;
510
518
  };
519
+ export type CallScriptTemplateInput = {
520
+ /** HTML content of the call script */
521
+ content: Scalars['String']['input'];
522
+ name: Scalars['String']['input'];
523
+ };
524
+ export type CallScriptTemplateType = {
525
+ __typename?: 'CallScriptTemplateType';
526
+ /** HTML content of the call script */
527
+ content: Scalars['String']['output'];
528
+ createdAt: Scalars['DateTime']['output'];
529
+ isDefault: Scalars['Boolean']['output'];
530
+ name: Scalars['String']['output'];
531
+ updatedAt: Scalars['DateTime']['output'];
532
+ uuid: Scalars['UUID']['output'];
533
+ };
511
534
  export type CampaignAnalyticsStatsType = {
512
535
  __typename?: 'CampaignAnalyticsStatsType';
513
536
  /** Overall bounce rate percentage */
@@ -1662,6 +1685,13 @@ export type CreateCallCampaignLog = {
1662
1685
  message?: Maybe<Scalars['String']['output']>;
1663
1686
  success?: Maybe<Scalars['Boolean']['output']>;
1664
1687
  };
1688
+ /** Create a new call script template. */
1689
+ export type CreateCallScriptTemplate = {
1690
+ __typename?: 'CreateCallScriptTemplate';
1691
+ callScriptTemplate?: Maybe<CallScriptTemplateType>;
1692
+ message?: Maybe<Scalars['String']['output']>;
1693
+ success?: Maybe<Scalars['Boolean']['output']>;
1694
+ };
1665
1695
  export type CreateCampaign = {
1666
1696
  __typename?: 'CreateCampaign';
1667
1697
  campaign?: Maybe<CampaignObject>;
@@ -1874,6 +1904,12 @@ export type DeleteCallCampaign = {
1874
1904
  message?: Maybe<Scalars['String']['output']>;
1875
1905
  success?: Maybe<Scalars['Boolean']['output']>;
1876
1906
  };
1907
+ /** Delete a call script template owned by the user's account. */
1908
+ export type DeleteCallScriptTemplate = {
1909
+ __typename?: 'DeleteCallScriptTemplate';
1910
+ message?: Maybe<Scalars['String']['output']>;
1911
+ success?: Maybe<Scalars['Boolean']['output']>;
1912
+ };
1877
1913
  export type DeleteCampaign = {
1878
1914
  __typename?: 'DeleteCampaign';
1879
1915
  message?: Maybe<Scalars['String']['output']>;
@@ -2158,6 +2194,27 @@ export type ForgotPassword = {
2158
2194
  message?: Maybe<Scalars['String']['output']>;
2159
2195
  success?: Maybe<Scalars['Boolean']['output']>;
2160
2196
  };
2197
+ /**
2198
+ * GenerateCallCampaignScript — use AI to generate a call script and talking points.
2199
+ *
2200
+ * The AI prompt is tailored for cold calling in the metals / industrial distribution industry.
2201
+ * Optionally incorporates the account's company profile for personalised messaging.
2202
+ */
2203
+ export type GenerateCallCampaignScript = {
2204
+ __typename?: 'GenerateCallCampaignScript';
2205
+ message?: Maybe<Scalars['String']['output']>;
2206
+ script?: Maybe<Scalars['String']['output']>;
2207
+ success?: Maybe<Scalars['Boolean']['output']>;
2208
+ talkingPoints?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2209
+ };
2210
+ export type GenerateCallCampaignScriptInput = {
2211
+ /** Whether to incorporate the account's company profile */
2212
+ includeCompanyInfo?: InputMaybe<Scalars['Boolean']['input']>;
2213
+ /** What the script should be about */
2214
+ prompt: Scalars['String']['input'];
2215
+ /** Tone: professional, consultative, direct, friendly, urgent (default: consultative) */
2216
+ tone?: InputMaybe<Scalars['String']['input']>;
2217
+ };
2161
2218
  /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2162
2219
  export type GenerateNewEmail = {
2163
2220
  __typename?: 'GenerateNewEmail';
@@ -2440,6 +2497,8 @@ export type Mutation = {
2440
2497
  completeRfq?: Maybe<CompleteRfq>;
2441
2498
  createCallCampaign?: Maybe<CreateCallCampaign>;
2442
2499
  createCallCampaignLog?: Maybe<CreateCallCampaignLog>;
2500
+ /** Create a new call script template. */
2501
+ createCallScriptTemplate?: Maybe<CreateCallScriptTemplate>;
2443
2502
  createCampaign?: Maybe<CreateCampaign>;
2444
2503
  /** Create a new combined campaign */
2445
2504
  createCombinedCampaign?: Maybe<CreateCombinedCampaign>;
@@ -2467,6 +2526,8 @@ export type Mutation = {
2467
2526
  /** Mutation to create a new task */
2468
2527
  createTask?: Maybe<CreateTask>;
2469
2528
  deleteCallCampaign?: Maybe<DeleteCallCampaign>;
2529
+ /** Delete a call script template owned by the user's account. */
2530
+ deleteCallScriptTemplate?: Maybe<DeleteCallScriptTemplate>;
2470
2531
  deleteCampaign?: Maybe<DeleteCampaign>;
2471
2532
  /** Delete a combined campaign */
2472
2533
  deleteCombinedCampaign?: Maybe<DeleteCombinedCampaign>;
@@ -2499,6 +2560,13 @@ export type Mutation = {
2499
2560
  emailTone?: Maybe<EmailTone>;
2500
2561
  /** ForgotPassword - Request a password reset */
2501
2562
  forgotPassword?: Maybe<ForgotPassword>;
2563
+ /**
2564
+ * GenerateCallCampaignScript — use AI to generate a call script and talking points.
2565
+ *
2566
+ * The AI prompt is tailored for cold calling in the metals / industrial distribution industry.
2567
+ * Optionally incorporates the account's company profile for personalised messaging.
2568
+ */
2569
+ generateCallCampaignScript?: Maybe<GenerateCallCampaignScript>;
2502
2570
  /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2503
2571
  generateNewEmail?: Maybe<GenerateNewEmail>;
2504
2572
  /** Mutation to hide a record (contact or company) from query results */
@@ -2574,6 +2642,8 @@ export type Mutation = {
2574
2642
  unsubscribeFromEmails?: Maybe<UnsubscribeFromEmails>;
2575
2643
  updateCallCampaign?: Maybe<UpdateCallCampaign>;
2576
2644
  updateCallCampaignLog?: Maybe<UpdateCallCampaignLog>;
2645
+ /** Update an existing call script template owned by the user's account. */
2646
+ updateCallScriptTemplate?: Maybe<UpdateCallScriptTemplate>;
2577
2647
  updateCampaign?: Maybe<UpdateCampaign>;
2578
2648
  /** Update an existing combined campaign */
2579
2649
  updateCombinedCampaign?: Maybe<UpdateCombinedCampaign>;
@@ -2690,6 +2760,10 @@ export type MutationCreateCallCampaignLogArgs = {
2690
2760
  input: CallCampaignLogInput;
2691
2761
  };
2692
2762
  /** Mutations */
2763
+ export type MutationCreateCallScriptTemplateArgs = {
2764
+ input: CallScriptTemplateInput;
2765
+ };
2766
+ /** Mutations */
2693
2767
  export type MutationCreateCampaignArgs = {
2694
2768
  input: CampaignInput;
2695
2769
  };
@@ -2761,6 +2835,10 @@ export type MutationDeleteCallCampaignArgs = {
2761
2835
  id: Scalars['ID']['input'];
2762
2836
  };
2763
2837
  /** Mutations */
2838
+ export type MutationDeleteCallScriptTemplateArgs = {
2839
+ uuid: Scalars['UUID']['input'];
2840
+ };
2841
+ /** Mutations */
2764
2842
  export type MutationDeleteCampaignArgs = {
2765
2843
  id: Scalars['ID']['input'];
2766
2844
  };
@@ -2833,6 +2911,10 @@ export type MutationForgotPasswordArgs = {
2833
2911
  email: Scalars['String']['input'];
2834
2912
  };
2835
2913
  /** Mutations */
2914
+ export type MutationGenerateCallCampaignScriptArgs = {
2915
+ input: GenerateCallCampaignScriptInput;
2916
+ };
2917
+ /** Mutations */
2836
2918
  export type MutationGenerateNewEmailArgs = {
2837
2919
  prompt: Scalars['String']['input'];
2838
2920
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -3046,6 +3128,11 @@ export type MutationUpdateCallCampaignLogArgs = {
3046
3128
  input: CallCampaignLogInput;
3047
3129
  };
3048
3130
  /** Mutations */
3131
+ export type MutationUpdateCallScriptTemplateArgs = {
3132
+ input: CallScriptTemplateInput;
3133
+ uuid: Scalars['UUID']['input'];
3134
+ };
3135
+ /** Mutations */
3049
3136
  export type MutationUpdateCampaignArgs = {
3050
3137
  input: UpdateCampaignInput;
3051
3138
  };
@@ -3673,8 +3760,14 @@ export type Query = {
3673
3760
  callCampaignLogs?: Maybe<PaginatedCallCampaignLogList>;
3674
3761
  /** Get comprehensive call campaign report with stats and per-salesperson breakdown */
3675
3762
  callCampaignReport?: Maybe<CallCampaignReportResponse>;
3763
+ /** Return the campaign script with contact variables replaced for the given contact */
3764
+ callCampaignScriptPreview?: Maybe<Scalars['String']['output']>;
3676
3765
  /** Get paginated list of call campaigns for the current user's account */
3677
3766
  callCampaigns?: Maybe<PaginatedCallCampaignList>;
3767
+ /** Get a single call script template by UUID */
3768
+ callScriptTemplate?: Maybe<CallScriptTemplateType>;
3769
+ /** List all call script templates accessible to the current account */
3770
+ callScriptTemplates?: Maybe<Array<Maybe<CallScriptTemplateType>>>;
3678
3771
  /** Get a specific campaign by ID */
3679
3772
  campaign?: Maybe<CampaignObject>;
3680
3773
  /** Get detailed analytics for a specific campaign including per-step breakdown */
@@ -3818,6 +3911,11 @@ export type QueryCallCampaignReportArgs = {
3818
3911
  pagination: PaginationInput;
3819
3912
  };
3820
3913
  /** Query */
3914
+ export type QueryCallCampaignScriptPreviewArgs = {
3915
+ campaignId: Scalars['ID']['input'];
3916
+ contactId?: InputMaybe<Scalars['ID']['input']>;
3917
+ };
3918
+ /** Query */
3821
3919
  export type QueryCallCampaignsArgs = {
3822
3920
  createdById?: InputMaybe<Scalars['String']['input']>;
3823
3921
  pagination: PaginationInput;
@@ -3825,6 +3923,10 @@ export type QueryCallCampaignsArgs = {
3825
3923
  status?: InputMaybe<Scalars['String']['input']>;
3826
3924
  };
3827
3925
  /** Query */
3926
+ export type QueryCallScriptTemplateArgs = {
3927
+ uuid: Scalars['UUID']['input'];
3928
+ };
3929
+ /** Query */
3828
3930
  export type QueryCampaignArgs = {
3829
3931
  id: Scalars['ID']['input'];
3830
3932
  };
@@ -4864,6 +4966,13 @@ export type UpdateCallCampaignLog = {
4864
4966
  message?: Maybe<Scalars['String']['output']>;
4865
4967
  success?: Maybe<Scalars['Boolean']['output']>;
4866
4968
  };
4969
+ /** Update an existing call script template owned by the user's account. */
4970
+ export type UpdateCallScriptTemplate = {
4971
+ __typename?: 'UpdateCallScriptTemplate';
4972
+ callScriptTemplate?: Maybe<CallScriptTemplateType>;
4973
+ message?: Maybe<Scalars['String']['output']>;
4974
+ success?: Maybe<Scalars['Boolean']['output']>;
4975
+ };
4867
4976
  export type UpdateCampaign = {
4868
4977
  __typename?: 'UpdateCampaign';
4869
4978
  campaign?: Maybe<CampaignObject>;
@@ -5471,6 +5580,8 @@ export type AddSegmentToCallCampaignMutation = {
5471
5580
  called?: number | null;
5472
5581
  connected?: number | null;
5473
5582
  lastActivity?: any | null;
5583
+ script?: string | null;
5584
+ callScriptTemplateId?: string | null;
5474
5585
  user?: {
5475
5586
  __typename?: 'UserType';
5476
5587
  id?: string | null;
@@ -6122,6 +6233,8 @@ export type CreateCallCampaignMutation = {
6122
6233
  called?: number | null;
6123
6234
  connected?: number | null;
6124
6235
  lastActivity?: any | null;
6236
+ script?: string | null;
6237
+ callScriptTemplateId?: string | null;
6125
6238
  user?: {
6126
6239
  __typename?: 'UserType';
6127
6240
  id?: string | null;
@@ -6248,6 +6361,8 @@ export type CreateCallCampaignLogMutation = {
6248
6361
  called?: number | null;
6249
6362
  connected?: number | null;
6250
6363
  lastActivity?: any | null;
6364
+ script?: string | null;
6365
+ callScriptTemplateId?: string | null;
6251
6366
  user?: {
6252
6367
  __typename?: 'UserType';
6253
6368
  id?: string | null;
@@ -6338,6 +6453,26 @@ export type CreateCallCampaignLogMutation = {
6338
6453
  } | null;
6339
6454
  } | null;
6340
6455
  };
6456
+ export type CreateCallScriptTemplateMutationVariables = Exact<{
6457
+ input: CallScriptTemplateInput;
6458
+ }>;
6459
+ export type CreateCallScriptTemplateMutation = {
6460
+ __typename?: 'Mutation';
6461
+ createCallScriptTemplate?: {
6462
+ __typename?: 'CreateCallScriptTemplate';
6463
+ success?: boolean | null;
6464
+ message?: string | null;
6465
+ callScriptTemplate?: {
6466
+ __typename?: 'CallScriptTemplateType';
6467
+ createdAt: any;
6468
+ updatedAt: any;
6469
+ uuid: any;
6470
+ name: string;
6471
+ content: string;
6472
+ isDefault: boolean;
6473
+ } | null;
6474
+ } | null;
6475
+ };
6341
6476
  export type CreateCampaignMutationVariables = Exact<{
6342
6477
  input: CampaignInput;
6343
6478
  }>;
@@ -6687,6 +6822,8 @@ export type CreateCompanyMutation = {
6687
6822
  called?: number | null;
6688
6823
  connected?: number | null;
6689
6824
  lastActivity?: any | null;
6825
+ script?: string | null;
6826
+ callScriptTemplateId?: string | null;
6690
6827
  user?: {
6691
6828
  __typename?: 'UserType';
6692
6829
  id?: string | null;
@@ -6892,6 +7029,8 @@ export type CreateCompanyMutation = {
6892
7029
  called?: number | null;
6893
7030
  connected?: number | null;
6894
7031
  lastActivity?: any | null;
7032
+ script?: string | null;
7033
+ callScriptTemplateId?: string | null;
6895
7034
  user?: {
6896
7035
  __typename?: 'UserType';
6897
7036
  id?: string | null;
@@ -7280,6 +7419,8 @@ export type CreateCompanyNoteMutation = {
7280
7419
  called?: number | null;
7281
7420
  connected?: number | null;
7282
7421
  lastActivity?: any | null;
7422
+ script?: string | null;
7423
+ callScriptTemplateId?: string | null;
7283
7424
  user?: {
7284
7425
  __typename?: 'UserType';
7285
7426
  id?: string | null;
@@ -7639,6 +7780,8 @@ export type CreateMysupplierMutation = {
7639
7780
  called?: number | null;
7640
7781
  connected?: number | null;
7641
7782
  lastActivity?: any | null;
7783
+ script?: string | null;
7784
+ callScriptTemplateId?: string | null;
7642
7785
  user?: {
7643
7786
  __typename?: 'UserType';
7644
7787
  id?: string | null;
@@ -7844,6 +7987,8 @@ export type CreateMysupplierMutation = {
7844
7987
  called?: number | null;
7845
7988
  connected?: number | null;
7846
7989
  lastActivity?: any | null;
7990
+ script?: string | null;
7991
+ callScriptTemplateId?: string | null;
7847
7992
  user?: {
7848
7993
  __typename?: 'UserType';
7849
7994
  id?: string | null;
@@ -8745,6 +8890,8 @@ export type CreateSupplierlistMutation = {
8745
8890
  called?: number | null;
8746
8891
  connected?: number | null;
8747
8892
  lastActivity?: any | null;
8893
+ script?: string | null;
8894
+ callScriptTemplateId?: string | null;
8748
8895
  user?: {
8749
8896
  __typename?: 'UserType';
8750
8897
  id?: string | null;
@@ -8950,6 +9097,8 @@ export type CreateSupplierlistMutation = {
8950
9097
  called?: number | null;
8951
9098
  connected?: number | null;
8952
9099
  lastActivity?: any | null;
9100
+ script?: string | null;
9101
+ callScriptTemplateId?: string | null;
8953
9102
  user?: {
8954
9103
  __typename?: 'UserType';
8955
9104
  id?: string | null;
@@ -9303,6 +9452,8 @@ export type CreateTaskMutation = {
9303
9452
  called?: number | null;
9304
9453
  connected?: number | null;
9305
9454
  lastActivity?: any | null;
9455
+ script?: string | null;
9456
+ callScriptTemplateId?: string | null;
9306
9457
  user?: {
9307
9458
  __typename?: 'UserType';
9308
9459
  id?: string | null;
@@ -9431,6 +9582,17 @@ export type DeleteCallCampaignMutation = {
9431
9582
  message?: string | null;
9432
9583
  } | null;
9433
9584
  };
9585
+ export type DeleteCallScriptTemplateMutationVariables = Exact<{
9586
+ uuid: Scalars['UUID']['input'];
9587
+ }>;
9588
+ export type DeleteCallScriptTemplateMutation = {
9589
+ __typename?: 'Mutation';
9590
+ deleteCallScriptTemplate?: {
9591
+ __typename?: 'DeleteCallScriptTemplate';
9592
+ success?: boolean | null;
9593
+ message?: string | null;
9594
+ } | null;
9595
+ };
9434
9596
  export type DeleteCampaignMutationVariables = Exact<{
9435
9597
  id: Scalars['ID']['input'];
9436
9598
  }>;
@@ -9643,6 +9805,19 @@ export type ForgotPasswordMutation = {
9643
9805
  message?: string | null;
9644
9806
  } | null;
9645
9807
  };
9808
+ export type GenerateCallCampaignScriptMutationVariables = Exact<{
9809
+ input: GenerateCallCampaignScriptInput;
9810
+ }>;
9811
+ export type GenerateCallCampaignScriptMutation = {
9812
+ __typename?: 'Mutation';
9813
+ generateCallCampaignScript?: {
9814
+ __typename?: 'GenerateCallCampaignScript';
9815
+ success?: boolean | null;
9816
+ message?: string | null;
9817
+ script?: string | null;
9818
+ talkingPoints?: Array<string | null> | null;
9819
+ } | null;
9820
+ };
9646
9821
  export type GenerateNewEmailMutationVariables = Exact<{
9647
9822
  prompt: Scalars['String']['input'];
9648
9823
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
@@ -10295,6 +10470,8 @@ export type RemoveSegmentFromCallCampaignMutation = {
10295
10470
  called?: number | null;
10296
10471
  connected?: number | null;
10297
10472
  lastActivity?: any | null;
10473
+ script?: string | null;
10474
+ callScriptTemplateId?: string | null;
10298
10475
  user?: {
10299
10476
  __typename?: 'UserType';
10300
10477
  id?: string | null;
@@ -11316,6 +11493,8 @@ export type SendManualEmailMutation = {
11316
11493
  called?: number | null;
11317
11494
  connected?: number | null;
11318
11495
  lastActivity?: any | null;
11496
+ script?: string | null;
11497
+ callScriptTemplateId?: string | null;
11319
11498
  user?: {
11320
11499
  __typename?: 'UserType';
11321
11500
  id?: string | null;
@@ -11917,6 +12096,8 @@ export type UpdateCallCampaignMutation = {
11917
12096
  called?: number | null;
11918
12097
  connected?: number | null;
11919
12098
  lastActivity?: any | null;
12099
+ script?: string | null;
12100
+ callScriptTemplateId?: string | null;
11920
12101
  user?: {
11921
12102
  __typename?: 'UserType';
11922
12103
  id?: string | null;
@@ -12044,6 +12225,8 @@ export type UpdateCallCampaignLogMutation = {
12044
12225
  called?: number | null;
12045
12226
  connected?: number | null;
12046
12227
  lastActivity?: any | null;
12228
+ script?: string | null;
12229
+ callScriptTemplateId?: string | null;
12047
12230
  user?: {
12048
12231
  __typename?: 'UserType';
12049
12232
  id?: string | null;
@@ -12134,6 +12317,27 @@ export type UpdateCallCampaignLogMutation = {
12134
12317
  } | null;
12135
12318
  } | null;
12136
12319
  };
12320
+ export type UpdateCallScriptTemplateMutationVariables = Exact<{
12321
+ input: CallScriptTemplateInput;
12322
+ uuid: Scalars['UUID']['input'];
12323
+ }>;
12324
+ export type UpdateCallScriptTemplateMutation = {
12325
+ __typename?: 'Mutation';
12326
+ updateCallScriptTemplate?: {
12327
+ __typename?: 'UpdateCallScriptTemplate';
12328
+ success?: boolean | null;
12329
+ message?: string | null;
12330
+ callScriptTemplate?: {
12331
+ __typename?: 'CallScriptTemplateType';
12332
+ createdAt: any;
12333
+ updatedAt: any;
12334
+ uuid: any;
12335
+ name: string;
12336
+ content: string;
12337
+ isDefault: boolean;
12338
+ } | null;
12339
+ } | null;
12340
+ };
12137
12341
  export type UpdateCampaignMutationVariables = Exact<{
12138
12342
  input: UpdateCampaignInput;
12139
12343
  }>;
@@ -12482,6 +12686,8 @@ export type UpdateCombinedCampaignLogMutation = {
12482
12686
  called?: number | null;
12483
12687
  connected?: number | null;
12484
12688
  lastActivity?: any | null;
12689
+ script?: string | null;
12690
+ callScriptTemplateId?: string | null;
12485
12691
  user?: {
12486
12692
  __typename?: 'UserType';
12487
12693
  id?: string | null;
@@ -12797,6 +13003,8 @@ export type UpdateCompanyMutation = {
12797
13003
  called?: number | null;
12798
13004
  connected?: number | null;
12799
13005
  lastActivity?: any | null;
13006
+ script?: string | null;
13007
+ callScriptTemplateId?: string | null;
12800
13008
  user?: {
12801
13009
  __typename?: 'UserType';
12802
13010
  id?: string | null;
@@ -13002,6 +13210,8 @@ export type UpdateCompanyMutation = {
13002
13210
  called?: number | null;
13003
13211
  connected?: number | null;
13004
13212
  lastActivity?: any | null;
13213
+ script?: string | null;
13214
+ callScriptTemplateId?: string | null;
13005
13215
  user?: {
13006
13216
  __typename?: 'UserType';
13007
13217
  id?: string | null;
@@ -13402,6 +13612,8 @@ export type UpdateCompanyNoteMutation = {
13402
13612
  called?: number | null;
13403
13613
  connected?: number | null;
13404
13614
  lastActivity?: any | null;
13615
+ script?: string | null;
13616
+ callScriptTemplateId?: string | null;
13405
13617
  user?: {
13406
13618
  __typename?: 'UserType';
13407
13619
  id?: string | null;
@@ -13779,6 +13991,8 @@ export type UpdateMysupplierMutation = {
13779
13991
  called?: number | null;
13780
13992
  connected?: number | null;
13781
13993
  lastActivity?: any | null;
13994
+ script?: string | null;
13995
+ callScriptTemplateId?: string | null;
13782
13996
  user?: {
13783
13997
  __typename?: 'UserType';
13784
13998
  id?: string | null;
@@ -13984,6 +14198,8 @@ export type UpdateMysupplierMutation = {
13984
14198
  called?: number | null;
13985
14199
  connected?: number | null;
13986
14200
  lastActivity?: any | null;
14201
+ script?: string | null;
14202
+ callScriptTemplateId?: string | null;
13987
14203
  user?: {
13988
14204
  __typename?: 'UserType';
13989
14205
  id?: string | null;
@@ -14842,6 +15058,8 @@ export type UpdateSupplierlistMutation = {
14842
15058
  called?: number | null;
14843
15059
  connected?: number | null;
14844
15060
  lastActivity?: any | null;
15061
+ script?: string | null;
15062
+ callScriptTemplateId?: string | null;
14845
15063
  user?: {
14846
15064
  __typename?: 'UserType';
14847
15065
  id?: string | null;
@@ -15047,6 +15265,8 @@ export type UpdateSupplierlistMutation = {
15047
15265
  called?: number | null;
15048
15266
  connected?: number | null;
15049
15267
  lastActivity?: any | null;
15268
+ script?: string | null;
15269
+ callScriptTemplateId?: string | null;
15050
15270
  user?: {
15051
15271
  __typename?: 'UserType';
15052
15272
  id?: string | null;
@@ -15401,6 +15621,8 @@ export type UpdateTaskMutation = {
15401
15621
  called?: number | null;
15402
15622
  connected?: number | null;
15403
15623
  lastActivity?: any | null;
15624
+ script?: string | null;
15625
+ callScriptTemplateId?: string | null;
15404
15626
  user?: {
15405
15627
  __typename?: 'UserType';
15406
15628
  id?: string | null;
@@ -15676,6 +15898,8 @@ export type CallCampaignQuery = {
15676
15898
  called?: number | null;
15677
15899
  connected?: number | null;
15678
15900
  lastActivity?: any | null;
15901
+ script?: string | null;
15902
+ callScriptTemplateId?: string | null;
15679
15903
  user?: {
15680
15904
  __typename?: 'UserType';
15681
15905
  id?: string | null;
@@ -15835,6 +16059,8 @@ export type CallCampaignLogQuery = {
15835
16059
  called?: number | null;
15836
16060
  connected?: number | null;
15837
16061
  lastActivity?: any | null;
16062
+ script?: string | null;
16063
+ callScriptTemplateId?: string | null;
15838
16064
  user?: {
15839
16065
  __typename?: 'UserType';
15840
16066
  id?: string | null;
@@ -15999,6 +16225,8 @@ export type CallCampaignLogsQuery = {
15999
16225
  called?: number | null;
16000
16226
  connected?: number | null;
16001
16227
  lastActivity?: any | null;
16228
+ script?: string | null;
16229
+ callScriptTemplateId?: string | null;
16002
16230
  user?: {
16003
16231
  __typename?: 'UserType';
16004
16232
  id?: string | null;
@@ -16177,6 +16405,8 @@ export type CallCampaignReportQuery = {
16177
16405
  called?: number | null;
16178
16406
  connected?: number | null;
16179
16407
  lastActivity?: any | null;
16408
+ script?: string | null;
16409
+ callScriptTemplateId?: string | null;
16180
16410
  user?: {
16181
16411
  __typename?: 'UserType';
16182
16412
  id?: string | null;
@@ -16328,6 +16558,14 @@ export type CallCampaignReportQuery = {
16328
16558
  } | null> | null;
16329
16559
  } | null;
16330
16560
  };
16561
+ export type CallCampaignScriptPreviewQueryVariables = Exact<{
16562
+ campaignId: Scalars['ID']['input'];
16563
+ contactId?: InputMaybe<Scalars['ID']['input']>;
16564
+ }>;
16565
+ export type CallCampaignScriptPreviewQuery = {
16566
+ __typename?: 'Query';
16567
+ callCampaignScriptPreview?: string | null;
16568
+ };
16331
16569
  export type CallCampaignsQueryVariables = Exact<{
16332
16570
  pagination: PaginationInput;
16333
16571
  sortBy?: InputMaybe<Scalars['String']['input']>;
@@ -16350,6 +16588,8 @@ export type CallCampaignsQuery = {
16350
16588
  called?: number | null;
16351
16589
  connected?: number | null;
16352
16590
  lastActivity?: any | null;
16591
+ script?: string | null;
16592
+ callScriptTemplateId?: string | null;
16353
16593
  user?: {
16354
16594
  __typename?: 'UserType';
16355
16595
  id?: string | null;
@@ -16411,6 +16651,36 @@ export type CallCampaignsQuery = {
16411
16651
  } | null;
16412
16652
  } | null;
16413
16653
  };
16654
+ export type CallScriptTemplateQueryVariables = Exact<{
16655
+ uuid: Scalars['UUID']['input'];
16656
+ }>;
16657
+ export type CallScriptTemplateQuery = {
16658
+ __typename?: 'Query';
16659
+ callScriptTemplate?: {
16660
+ __typename?: 'CallScriptTemplateType';
16661
+ createdAt: any;
16662
+ updatedAt: any;
16663
+ uuid: any;
16664
+ name: string;
16665
+ content: string;
16666
+ isDefault: boolean;
16667
+ } | null;
16668
+ };
16669
+ export type CallScriptTemplatesQueryVariables = Exact<{
16670
+ [key: string]: never;
16671
+ }>;
16672
+ export type CallScriptTemplatesQuery = {
16673
+ __typename?: 'Query';
16674
+ callScriptTemplates?: Array<{
16675
+ __typename?: 'CallScriptTemplateType';
16676
+ createdAt: any;
16677
+ updatedAt: any;
16678
+ uuid: any;
16679
+ name: string;
16680
+ content: string;
16681
+ isDefault: boolean;
16682
+ } | null> | null;
16683
+ };
16414
16684
  export type CampaignQueryVariables = Exact<{
16415
16685
  id: Scalars['ID']['input'];
16416
16686
  }>;
@@ -16756,6 +17026,8 @@ export type CampaignContactsQuery = {
16756
17026
  called?: number | null;
16757
17027
  connected?: number | null;
16758
17028
  lastActivity?: any | null;
17029
+ script?: string | null;
17030
+ callScriptTemplateId?: string | null;
16759
17031
  user?: {
16760
17032
  __typename?: 'UserType';
16761
17033
  id?: string | null;
@@ -17635,6 +17907,8 @@ export type CombinedCampaignContactsQuery = {
17635
17907
  called?: number | null;
17636
17908
  connected?: number | null;
17637
17909
  lastActivity?: any | null;
17910
+ script?: string | null;
17911
+ callScriptTemplateId?: string | null;
17638
17912
  user?: {
17639
17913
  __typename?: 'UserType';
17640
17914
  id?: string | null;
@@ -17942,6 +18216,8 @@ export type CombinedCampaignLogsQuery = {
17942
18216
  called?: number | null;
17943
18217
  connected?: number | null;
17944
18218
  lastActivity?: any | null;
18219
+ script?: string | null;
18220
+ callScriptTemplateId?: string | null;
17945
18221
  user?: {
17946
18222
  __typename?: 'UserType';
17947
18223
  id?: string | null;
@@ -18415,6 +18691,8 @@ export type CompaniesQuery = {
18415
18691
  called?: number | null;
18416
18692
  connected?: number | null;
18417
18693
  lastActivity?: any | null;
18694
+ script?: string | null;
18695
+ callScriptTemplateId?: string | null;
18418
18696
  user?: {
18419
18697
  __typename?: 'UserType';
18420
18698
  id?: string | null;
@@ -18620,6 +18898,8 @@ export type CompaniesQuery = {
18620
18898
  called?: number | null;
18621
18899
  connected?: number | null;
18622
18900
  lastActivity?: any | null;
18901
+ script?: string | null;
18902
+ callScriptTemplateId?: string | null;
18623
18903
  user?: {
18624
18904
  __typename?: 'UserType';
18625
18905
  id?: string | null;
@@ -19098,6 +19378,8 @@ export type CompanyQuery = {
19098
19378
  called?: number | null;
19099
19379
  connected?: number | null;
19100
19380
  lastActivity?: any | null;
19381
+ script?: string | null;
19382
+ callScriptTemplateId?: string | null;
19101
19383
  user?: {
19102
19384
  __typename?: 'UserType';
19103
19385
  id?: string | null;
@@ -19303,6 +19585,8 @@ export type CompanyQuery = {
19303
19585
  called?: number | null;
19304
19586
  connected?: number | null;
19305
19587
  lastActivity?: any | null;
19588
+ script?: string | null;
19589
+ callScriptTemplateId?: string | null;
19306
19590
  user?: {
19307
19591
  __typename?: 'UserType';
19308
19592
  id?: string | null;
@@ -19742,6 +20026,8 @@ export type CompanyNoteQuery = {
19742
20026
  called?: number | null;
19743
20027
  connected?: number | null;
19744
20028
  lastActivity?: any | null;
20029
+ script?: string | null;
20030
+ callScriptTemplateId?: string | null;
19745
20031
  user?: {
19746
20032
  __typename?: 'UserType';
19747
20033
  id?: string | null;
@@ -19905,6 +20191,8 @@ export type CompanyNotesQuery = {
19905
20191
  called?: number | null;
19906
20192
  connected?: number | null;
19907
20193
  lastActivity?: any | null;
20194
+ script?: string | null;
20195
+ callScriptTemplateId?: string | null;
19908
20196
  user?: {
19909
20197
  __typename?: 'UserType';
19910
20198
  id?: string | null;
@@ -20160,6 +20448,8 @@ export type CompanySearchQuery = {
20160
20448
  called?: number | null;
20161
20449
  connected?: number | null;
20162
20450
  lastActivity?: any | null;
20451
+ script?: string | null;
20452
+ callScriptTemplateId?: string | null;
20163
20453
  user?: {
20164
20454
  __typename?: 'UserType';
20165
20455
  id?: string | null;
@@ -20365,6 +20655,8 @@ export type CompanySearchQuery = {
20365
20655
  called?: number | null;
20366
20656
  connected?: number | null;
20367
20657
  lastActivity?: any | null;
20658
+ script?: string | null;
20659
+ callScriptTemplateId?: string | null;
20368
20660
  user?: {
20369
20661
  __typename?: 'UserType';
20370
20662
  id?: string | null;
@@ -21587,6 +21879,8 @@ export type MysupplierQuery = {
21587
21879
  called?: number | null;
21588
21880
  connected?: number | null;
21589
21881
  lastActivity?: any | null;
21882
+ script?: string | null;
21883
+ callScriptTemplateId?: string | null;
21590
21884
  user?: {
21591
21885
  __typename?: 'UserType';
21592
21886
  id?: string | null;
@@ -21792,6 +22086,8 @@ export type MysupplierQuery = {
21792
22086
  called?: number | null;
21793
22087
  connected?: number | null;
21794
22088
  lastActivity?: any | null;
22089
+ script?: string | null;
22090
+ callScriptTemplateId?: string | null;
21795
22091
  user?: {
21796
22092
  __typename?: 'UserType';
21797
22093
  id?: string | null;
@@ -22262,6 +22558,8 @@ export type MysupplierListQuery = {
22262
22558
  called?: number | null;
22263
22559
  connected?: number | null;
22264
22560
  lastActivity?: any | null;
22561
+ script?: string | null;
22562
+ callScriptTemplateId?: string | null;
22265
22563
  user?: {
22266
22564
  __typename?: 'UserType';
22267
22565
  id?: string | null;
@@ -22467,6 +22765,8 @@ export type MysupplierListQuery = {
22467
22765
  called?: number | null;
22468
22766
  connected?: number | null;
22469
22767
  lastActivity?: any | null;
22768
+ script?: string | null;
22769
+ callScriptTemplateId?: string | null;
22470
22770
  user?: {
22471
22771
  __typename?: 'UserType';
22472
22772
  id?: string | null;
@@ -23156,6 +23456,8 @@ export type RecentHistoryQuery = {
23156
23456
  called?: number | null;
23157
23457
  connected?: number | null;
23158
23458
  lastActivity?: any | null;
23459
+ script?: string | null;
23460
+ callScriptTemplateId?: string | null;
23159
23461
  user?: {
23160
23462
  __typename?: 'UserType';
23161
23463
  id?: string | null;
@@ -23361,6 +23663,8 @@ export type RecentHistoryQuery = {
23361
23663
  called?: number | null;
23362
23664
  connected?: number | null;
23363
23665
  lastActivity?: any | null;
23666
+ script?: string | null;
23667
+ callScriptTemplateId?: string | null;
23364
23668
  user?: {
23365
23669
  __typename?: 'UserType';
23366
23670
  id?: string | null;
@@ -24945,6 +25249,8 @@ export type SupplierQuery = {
24945
25249
  called?: number | null;
24946
25250
  connected?: number | null;
24947
25251
  lastActivity?: any | null;
25252
+ script?: string | null;
25253
+ callScriptTemplateId?: string | null;
24948
25254
  user?: {
24949
25255
  __typename?: 'UserType';
24950
25256
  id?: string | null;
@@ -25150,6 +25456,8 @@ export type SupplierQuery = {
25150
25456
  called?: number | null;
25151
25457
  connected?: number | null;
25152
25458
  lastActivity?: any | null;
25459
+ script?: string | null;
25460
+ callScriptTemplateId?: string | null;
25153
25461
  user?: {
25154
25462
  __typename?: 'UserType';
25155
25463
  id?: string | null;
@@ -25729,6 +26037,8 @@ export type SupplierlistQuery = {
25729
26037
  called?: number | null;
25730
26038
  connected?: number | null;
25731
26039
  lastActivity?: any | null;
26040
+ script?: string | null;
26041
+ callScriptTemplateId?: string | null;
25732
26042
  user?: {
25733
26043
  __typename?: 'UserType';
25734
26044
  id?: string | null;
@@ -25934,6 +26244,8 @@ export type SupplierlistQuery = {
25934
26244
  called?: number | null;
25935
26245
  connected?: number | null;
25936
26246
  lastActivity?: any | null;
26247
+ script?: string | null;
26248
+ callScriptTemplateId?: string | null;
25937
26249
  user?: {
25938
26250
  __typename?: 'UserType';
25939
26251
  id?: string | null;
@@ -26404,6 +26716,8 @@ export type SupplierlistListQuery = {
26404
26716
  called?: number | null;
26405
26717
  connected?: number | null;
26406
26718
  lastActivity?: any | null;
26719
+ script?: string | null;
26720
+ callScriptTemplateId?: string | null;
26407
26721
  user?: {
26408
26722
  __typename?: 'UserType';
26409
26723
  id?: string | null;
@@ -26609,6 +26923,8 @@ export type SupplierlistListQuery = {
26609
26923
  called?: number | null;
26610
26924
  connected?: number | null;
26611
26925
  lastActivity?: any | null;
26926
+ script?: string | null;
26927
+ callScriptTemplateId?: string | null;
26612
26928
  user?: {
26613
26929
  __typename?: 'UserType';
26614
26930
  id?: string | null;
@@ -27189,6 +27505,8 @@ export type SuppliersQuery = {
27189
27505
  called?: number | null;
27190
27506
  connected?: number | null;
27191
27507
  lastActivity?: any | null;
27508
+ script?: string | null;
27509
+ callScriptTemplateId?: string | null;
27192
27510
  user?: {
27193
27511
  __typename?: 'UserType';
27194
27512
  id?: string | null;
@@ -27394,6 +27712,8 @@ export type SuppliersQuery = {
27394
27712
  called?: number | null;
27395
27713
  connected?: number | null;
27396
27714
  lastActivity?: any | null;
27715
+ script?: string | null;
27716
+ callScriptTemplateId?: string | null;
27397
27717
  user?: {
27398
27718
  __typename?: 'UserType';
27399
27719
  id?: string | null;
@@ -27764,6 +28084,8 @@ export type TaskQuery = {
27764
28084
  called?: number | null;
27765
28085
  connected?: number | null;
27766
28086
  lastActivity?: any | null;
28087
+ script?: string | null;
28088
+ callScriptTemplateId?: string | null;
27767
28089
  user?: {
27768
28090
  __typename?: 'UserType';
27769
28091
  id?: string | null;
@@ -27927,6 +28249,8 @@ export type TasksQuery = {
27927
28249
  called?: number | null;
27928
28250
  connected?: number | null;
27929
28251
  lastActivity?: any | null;
28252
+ script?: string | null;
28253
+ callScriptTemplateId?: string | null;
27930
28254
  user?: {
27931
28255
  __typename?: 'UserType';
27932
28256
  id?: string | null;
@@ -28641,6 +28965,31 @@ export declare function useCreateCallCampaignLogMutation(baseOptions?: Apollo.Mu
28641
28965
  export type CreateCallCampaignLogMutationHookResult = ReturnType<typeof useCreateCallCampaignLogMutation>;
28642
28966
  export type CreateCallCampaignLogMutationResult = Apollo.MutationResult<CreateCallCampaignLogMutation>;
28643
28967
  export type CreateCallCampaignLogMutationOptions = Apollo.BaseMutationOptions<CreateCallCampaignLogMutation, CreateCallCampaignLogMutationVariables>;
28968
+ export declare const CreateCallScriptTemplateDocument: Apollo.DocumentNode;
28969
+ export type CreateCallScriptTemplateMutationFn = Apollo.MutationFunction<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>;
28970
+ /**
28971
+ * __useCreateCallScriptTemplateMutation__
28972
+ *
28973
+ * To run a mutation, you first call `useCreateCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
28974
+ * When your component renders, `useCreateCallScriptTemplateMutation` returns a tuple that includes:
28975
+ * - A mutate function that you can call at any time to execute the mutation
28976
+ * - An object with fields that represent the current status of the mutation's execution
28977
+ *
28978
+ * @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;
28979
+ *
28980
+ * @example
28981
+ * const [createCallScriptTemplateMutation, { data, loading, error }] = useCreateCallScriptTemplateMutation({
28982
+ * variables: {
28983
+ * input: // value for 'input'
28984
+ * },
28985
+ * });
28986
+ */
28987
+ export declare function useCreateCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>): Apollo.MutationTuple<CreateCallScriptTemplateMutation, Exact<{
28988
+ input: CallScriptTemplateInput;
28989
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
28990
+ export type CreateCallScriptTemplateMutationHookResult = ReturnType<typeof useCreateCallScriptTemplateMutation>;
28991
+ export type CreateCallScriptTemplateMutationResult = Apollo.MutationResult<CreateCallScriptTemplateMutation>;
28992
+ export type CreateCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>;
28644
28993
  export declare const CreateCampaignDocument: Apollo.DocumentNode;
28645
28994
  export type CreateCampaignMutationFn = Apollo.MutationFunction<CreateCampaignMutation, CreateCampaignMutationVariables>;
28646
28995
  /**
@@ -29072,6 +29421,31 @@ export declare function useDeleteCallCampaignMutation(baseOptions?: Apollo.Mutat
29072
29421
  export type DeleteCallCampaignMutationHookResult = ReturnType<typeof useDeleteCallCampaignMutation>;
29073
29422
  export type DeleteCallCampaignMutationResult = Apollo.MutationResult<DeleteCallCampaignMutation>;
29074
29423
  export type DeleteCallCampaignMutationOptions = Apollo.BaseMutationOptions<DeleteCallCampaignMutation, DeleteCallCampaignMutationVariables>;
29424
+ export declare const DeleteCallScriptTemplateDocument: Apollo.DocumentNode;
29425
+ export type DeleteCallScriptTemplateMutationFn = Apollo.MutationFunction<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>;
29426
+ /**
29427
+ * __useDeleteCallScriptTemplateMutation__
29428
+ *
29429
+ * To run a mutation, you first call `useDeleteCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
29430
+ * When your component renders, `useDeleteCallScriptTemplateMutation` returns a tuple that includes:
29431
+ * - A mutate function that you can call at any time to execute the mutation
29432
+ * - An object with fields that represent the current status of the mutation's execution
29433
+ *
29434
+ * @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;
29435
+ *
29436
+ * @example
29437
+ * const [deleteCallScriptTemplateMutation, { data, loading, error }] = useDeleteCallScriptTemplateMutation({
29438
+ * variables: {
29439
+ * uuid: // value for 'uuid'
29440
+ * },
29441
+ * });
29442
+ */
29443
+ export declare function useDeleteCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>): Apollo.MutationTuple<DeleteCallScriptTemplateMutation, Exact<{
29444
+ uuid: Scalars["UUID"]["input"];
29445
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
29446
+ export type DeleteCallScriptTemplateMutationHookResult = ReturnType<typeof useDeleteCallScriptTemplateMutation>;
29447
+ export type DeleteCallScriptTemplateMutationResult = Apollo.MutationResult<DeleteCallScriptTemplateMutation>;
29448
+ export type DeleteCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>;
29075
29449
  export declare const DeleteCampaignDocument: Apollo.DocumentNode;
29076
29450
  export type DeleteCampaignMutationFn = Apollo.MutationFunction<DeleteCampaignMutation, DeleteCampaignMutationVariables>;
29077
29451
  /**
@@ -29546,6 +29920,31 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
29546
29920
  export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
29547
29921
  export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
29548
29922
  export type ForgotPasswordMutationOptions = Apollo.BaseMutationOptions<ForgotPasswordMutation, ForgotPasswordMutationVariables>;
29923
+ export declare const GenerateCallCampaignScriptDocument: Apollo.DocumentNode;
29924
+ export type GenerateCallCampaignScriptMutationFn = Apollo.MutationFunction<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>;
29925
+ /**
29926
+ * __useGenerateCallCampaignScriptMutation__
29927
+ *
29928
+ * To run a mutation, you first call `useGenerateCallCampaignScriptMutation` within a React component and pass it any options that fit your needs.
29929
+ * When your component renders, `useGenerateCallCampaignScriptMutation` returns a tuple that includes:
29930
+ * - A mutate function that you can call at any time to execute the mutation
29931
+ * - An object with fields that represent the current status of the mutation's execution
29932
+ *
29933
+ * @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;
29934
+ *
29935
+ * @example
29936
+ * const [generateCallCampaignScriptMutation, { data, loading, error }] = useGenerateCallCampaignScriptMutation({
29937
+ * variables: {
29938
+ * input: // value for 'input'
29939
+ * },
29940
+ * });
29941
+ */
29942
+ export declare function useGenerateCallCampaignScriptMutation(baseOptions?: Apollo.MutationHookOptions<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>): Apollo.MutationTuple<GenerateCallCampaignScriptMutation, Exact<{
29943
+ input: GenerateCallCampaignScriptInput;
29944
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
29945
+ export type GenerateCallCampaignScriptMutationHookResult = ReturnType<typeof useGenerateCallCampaignScriptMutation>;
29946
+ export type GenerateCallCampaignScriptMutationResult = Apollo.MutationResult<GenerateCallCampaignScriptMutation>;
29947
+ export type GenerateCallCampaignScriptMutationOptions = Apollo.BaseMutationOptions<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>;
29549
29948
  export declare const GenerateNewEmailDocument: Apollo.DocumentNode;
29550
29949
  export type GenerateNewEmailMutationFn = Apollo.MutationFunction<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
29551
29950
  /**
@@ -30727,6 +31126,33 @@ export declare function useUpdateCallCampaignLogMutation(baseOptions?: Apollo.Mu
30727
31126
  export type UpdateCallCampaignLogMutationHookResult = ReturnType<typeof useUpdateCallCampaignLogMutation>;
30728
31127
  export type UpdateCallCampaignLogMutationResult = Apollo.MutationResult<UpdateCallCampaignLogMutation>;
30729
31128
  export type UpdateCallCampaignLogMutationOptions = Apollo.BaseMutationOptions<UpdateCallCampaignLogMutation, UpdateCallCampaignLogMutationVariables>;
31129
+ export declare const UpdateCallScriptTemplateDocument: Apollo.DocumentNode;
31130
+ export type UpdateCallScriptTemplateMutationFn = Apollo.MutationFunction<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>;
31131
+ /**
31132
+ * __useUpdateCallScriptTemplateMutation__
31133
+ *
31134
+ * To run a mutation, you first call `useUpdateCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
31135
+ * When your component renders, `useUpdateCallScriptTemplateMutation` returns a tuple that includes:
31136
+ * - A mutate function that you can call at any time to execute the mutation
31137
+ * - An object with fields that represent the current status of the mutation's execution
31138
+ *
31139
+ * @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;
31140
+ *
31141
+ * @example
31142
+ * const [updateCallScriptTemplateMutation, { data, loading, error }] = useUpdateCallScriptTemplateMutation({
31143
+ * variables: {
31144
+ * input: // value for 'input'
31145
+ * uuid: // value for 'uuid'
31146
+ * },
31147
+ * });
31148
+ */
31149
+ export declare function useUpdateCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>): Apollo.MutationTuple<UpdateCallScriptTemplateMutation, Exact<{
31150
+ input: CallScriptTemplateInput;
31151
+ uuid: Scalars["UUID"]["input"];
31152
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
31153
+ export type UpdateCallScriptTemplateMutationHookResult = ReturnType<typeof useUpdateCallScriptTemplateMutation>;
31154
+ export type UpdateCallScriptTemplateMutationResult = Apollo.MutationResult<UpdateCallScriptTemplateMutation>;
31155
+ export type UpdateCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>;
30730
31156
  export declare const UpdateCampaignDocument: Apollo.DocumentNode;
30731
31157
  export type UpdateCampaignMutationFn = Apollo.MutationFunction<UpdateCampaignMutation, UpdateCampaignMutationVariables>;
30732
31158
  /**
@@ -31592,6 +32018,45 @@ export type CallCampaignReportQueryHookResult = ReturnType<typeof useCallCampaig
31592
32018
  export type CallCampaignReportLazyQueryHookResult = ReturnType<typeof useCallCampaignReportLazyQuery>;
31593
32019
  export type CallCampaignReportSuspenseQueryHookResult = ReturnType<typeof useCallCampaignReportSuspenseQuery>;
31594
32020
  export type CallCampaignReportQueryResult = Apollo.QueryResult<CallCampaignReportQuery, CallCampaignReportQueryVariables>;
32021
+ export declare const CallCampaignScriptPreviewDocument: Apollo.DocumentNode;
32022
+ /**
32023
+ * __useCallCampaignScriptPreviewQuery__
32024
+ *
32025
+ * To run a query within a React component, call `useCallCampaignScriptPreviewQuery` and pass it any options that fit your needs.
32026
+ * When your component renders, `useCallCampaignScriptPreviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
32027
+ * you can use to render your UI.
32028
+ *
32029
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
32030
+ *
32031
+ * @example
32032
+ * const { data, loading, error } = useCallCampaignScriptPreviewQuery({
32033
+ * variables: {
32034
+ * campaignId: // value for 'campaignId'
32035
+ * contactId: // value for 'contactId'
32036
+ * },
32037
+ * });
32038
+ */
32039
+ export declare function useCallCampaignScriptPreviewQuery(baseOptions: Apollo.QueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables> & ({
32040
+ variables: CallCampaignScriptPreviewQueryVariables;
32041
+ skip?: boolean;
32042
+ } | {
32043
+ skip: boolean;
32044
+ })): Apollo.QueryResult<CallCampaignScriptPreviewQuery, Exact<{
32045
+ campaignId: Scalars["ID"]["input"];
32046
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32047
+ }>>;
32048
+ export declare function useCallCampaignScriptPreviewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>): Apollo.LazyQueryResultTuple<CallCampaignScriptPreviewQuery, Exact<{
32049
+ campaignId: Scalars["ID"]["input"];
32050
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32051
+ }>>;
32052
+ export declare function useCallCampaignScriptPreviewSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>): Apollo.UseSuspenseQueryResult<CallCampaignScriptPreviewQuery | undefined, Exact<{
32053
+ campaignId: Scalars["ID"]["input"];
32054
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32055
+ }>>;
32056
+ export type CallCampaignScriptPreviewQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewQuery>;
32057
+ export type CallCampaignScriptPreviewLazyQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewLazyQuery>;
32058
+ export type CallCampaignScriptPreviewSuspenseQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewSuspenseQuery>;
32059
+ export type CallCampaignScriptPreviewQueryResult = Apollo.QueryResult<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>;
31595
32060
  export declare const CallCampaignsDocument: Apollo.DocumentNode;
31596
32061
  /**
31597
32062
  * __useCallCampaignsQuery__
@@ -31639,6 +32104,70 @@ export type CallCampaignsQueryHookResult = ReturnType<typeof useCallCampaignsQue
31639
32104
  export type CallCampaignsLazyQueryHookResult = ReturnType<typeof useCallCampaignsLazyQuery>;
31640
32105
  export type CallCampaignsSuspenseQueryHookResult = ReturnType<typeof useCallCampaignsSuspenseQuery>;
31641
32106
  export type CallCampaignsQueryResult = Apollo.QueryResult<CallCampaignsQuery, CallCampaignsQueryVariables>;
32107
+ export declare const CallScriptTemplateDocument: Apollo.DocumentNode;
32108
+ /**
32109
+ * __useCallScriptTemplateQuery__
32110
+ *
32111
+ * To run a query within a React component, call `useCallScriptTemplateQuery` and pass it any options that fit your needs.
32112
+ * When your component renders, `useCallScriptTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties
32113
+ * you can use to render your UI.
32114
+ *
32115
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
32116
+ *
32117
+ * @example
32118
+ * const { data, loading, error } = useCallScriptTemplateQuery({
32119
+ * variables: {
32120
+ * uuid: // value for 'uuid'
32121
+ * },
32122
+ * });
32123
+ */
32124
+ export declare function useCallScriptTemplateQuery(baseOptions: Apollo.QueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables> & ({
32125
+ variables: CallScriptTemplateQueryVariables;
32126
+ skip?: boolean;
32127
+ } | {
32128
+ skip: boolean;
32129
+ })): Apollo.QueryResult<CallScriptTemplateQuery, Exact<{
32130
+ uuid: Scalars["UUID"]["input"];
32131
+ }>>;
32132
+ export declare function useCallScriptTemplateLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>): Apollo.LazyQueryResultTuple<CallScriptTemplateQuery, Exact<{
32133
+ uuid: Scalars["UUID"]["input"];
32134
+ }>>;
32135
+ export declare function useCallScriptTemplateSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>): Apollo.UseSuspenseQueryResult<CallScriptTemplateQuery | undefined, Exact<{
32136
+ uuid: Scalars["UUID"]["input"];
32137
+ }>>;
32138
+ export type CallScriptTemplateQueryHookResult = ReturnType<typeof useCallScriptTemplateQuery>;
32139
+ export type CallScriptTemplateLazyQueryHookResult = ReturnType<typeof useCallScriptTemplateLazyQuery>;
32140
+ export type CallScriptTemplateSuspenseQueryHookResult = ReturnType<typeof useCallScriptTemplateSuspenseQuery>;
32141
+ export type CallScriptTemplateQueryResult = Apollo.QueryResult<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>;
32142
+ export declare const CallScriptTemplatesDocument: Apollo.DocumentNode;
32143
+ /**
32144
+ * __useCallScriptTemplatesQuery__
32145
+ *
32146
+ * To run a query within a React component, call `useCallScriptTemplatesQuery` and pass it any options that fit your needs.
32147
+ * When your component renders, `useCallScriptTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
32148
+ * you can use to render your UI.
32149
+ *
32150
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
32151
+ *
32152
+ * @example
32153
+ * const { data, loading, error } = useCallScriptTemplatesQuery({
32154
+ * variables: {
32155
+ * },
32156
+ * });
32157
+ */
32158
+ export declare function useCallScriptTemplatesQuery(baseOptions?: Apollo.QueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.QueryResult<CallScriptTemplatesQuery, Exact<{
32159
+ [key: string]: never;
32160
+ }>>;
32161
+ export declare function useCallScriptTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<CallScriptTemplatesQuery, Exact<{
32162
+ [key: string]: never;
32163
+ }>>;
32164
+ export declare function useCallScriptTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<CallScriptTemplatesQuery | undefined, Exact<{
32165
+ [key: string]: never;
32166
+ }>>;
32167
+ export type CallScriptTemplatesQueryHookResult = ReturnType<typeof useCallScriptTemplatesQuery>;
32168
+ export type CallScriptTemplatesLazyQueryHookResult = ReturnType<typeof useCallScriptTemplatesLazyQuery>;
32169
+ export type CallScriptTemplatesSuspenseQueryHookResult = ReturnType<typeof useCallScriptTemplatesSuspenseQuery>;
32170
+ export type CallScriptTemplatesQueryResult = Apollo.QueryResult<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>;
31642
32171
  export declare const CampaignDocument: Apollo.DocumentNode;
31643
32172
  /**
31644
32173
  * __useCampaignQuery__