cf-service-sdk 0.1.3 → 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 */
@@ -1076,6 +1099,10 @@ export type CompanyFilterInput = {
1076
1099
  isCustomer?: InputMaybe<Scalars['Boolean']['input']>;
1077
1100
  /** Filter by keywords (searches in company name, description, and keywords fields) */
1078
1101
  keywords?: InputMaybe<Scalars['String']['input']>;
1102
+ /** Last Contacted End Date */
1103
+ lastContactedEndDate?: InputMaybe<Scalars['DateTime']['input']>;
1104
+ /** Last Contacted Start Date */
1105
+ lastContactedStartDate?: InputMaybe<Scalars['DateTime']['input']>;
1079
1106
  /** Filter by metal grade ID(s) */
1080
1107
  metalGrade?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1081
1108
  /** Filter by metal type ID(s) */
@@ -1453,6 +1480,7 @@ export declare enum CompanySortField {
1453
1480
  CreatedAt = "CREATED_AT",
1454
1481
  EmployeeSize = "EMPLOYEE_SIZE",
1455
1482
  IsCustomer = "IS_CUSTOMER",
1483
+ LastContactedAt = "LAST_CONTACTED_AT",
1456
1484
  Location = "LOCATION",
1457
1485
  State = "STATE",
1458
1486
  UpdatedAt = "UPDATED_AT"
@@ -1657,6 +1685,13 @@ export type CreateCallCampaignLog = {
1657
1685
  message?: Maybe<Scalars['String']['output']>;
1658
1686
  success?: Maybe<Scalars['Boolean']['output']>;
1659
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
+ };
1660
1695
  export type CreateCampaign = {
1661
1696
  __typename?: 'CreateCampaign';
1662
1697
  campaign?: Maybe<CampaignObject>;
@@ -1869,6 +1904,12 @@ export type DeleteCallCampaign = {
1869
1904
  message?: Maybe<Scalars['String']['output']>;
1870
1905
  success?: Maybe<Scalars['Boolean']['output']>;
1871
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
+ };
1872
1913
  export type DeleteCampaign = {
1873
1914
  __typename?: 'DeleteCampaign';
1874
1915
  message?: Maybe<Scalars['String']['output']>;
@@ -2153,6 +2194,27 @@ export type ForgotPassword = {
2153
2194
  message?: Maybe<Scalars['String']['output']>;
2154
2195
  success?: Maybe<Scalars['Boolean']['output']>;
2155
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
+ };
2156
2218
  /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2157
2219
  export type GenerateNewEmail = {
2158
2220
  __typename?: 'GenerateNewEmail';
@@ -2435,6 +2497,8 @@ export type Mutation = {
2435
2497
  completeRfq?: Maybe<CompleteRfq>;
2436
2498
  createCallCampaign?: Maybe<CreateCallCampaign>;
2437
2499
  createCallCampaignLog?: Maybe<CreateCallCampaignLog>;
2500
+ /** Create a new call script template. */
2501
+ createCallScriptTemplate?: Maybe<CreateCallScriptTemplate>;
2438
2502
  createCampaign?: Maybe<CreateCampaign>;
2439
2503
  /** Create a new combined campaign */
2440
2504
  createCombinedCampaign?: Maybe<CreateCombinedCampaign>;
@@ -2462,6 +2526,8 @@ export type Mutation = {
2462
2526
  /** Mutation to create a new task */
2463
2527
  createTask?: Maybe<CreateTask>;
2464
2528
  deleteCallCampaign?: Maybe<DeleteCallCampaign>;
2529
+ /** Delete a call script template owned by the user's account. */
2530
+ deleteCallScriptTemplate?: Maybe<DeleteCallScriptTemplate>;
2465
2531
  deleteCampaign?: Maybe<DeleteCampaign>;
2466
2532
  /** Delete a combined campaign */
2467
2533
  deleteCombinedCampaign?: Maybe<DeleteCombinedCampaign>;
@@ -2494,6 +2560,13 @@ export type Mutation = {
2494
2560
  emailTone?: Maybe<EmailTone>;
2495
2561
  /** ForgotPassword - Request a password reset */
2496
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>;
2497
2570
  /** GenerateNewEmail - Generate a new email (subject and body) based on user prompt using AI */
2498
2571
  generateNewEmail?: Maybe<GenerateNewEmail>;
2499
2572
  /** Mutation to hide a record (contact or company) from query results */
@@ -2569,6 +2642,8 @@ export type Mutation = {
2569
2642
  unsubscribeFromEmails?: Maybe<UnsubscribeFromEmails>;
2570
2643
  updateCallCampaign?: Maybe<UpdateCallCampaign>;
2571
2644
  updateCallCampaignLog?: Maybe<UpdateCallCampaignLog>;
2645
+ /** Update an existing call script template owned by the user's account. */
2646
+ updateCallScriptTemplate?: Maybe<UpdateCallScriptTemplate>;
2572
2647
  updateCampaign?: Maybe<UpdateCampaign>;
2573
2648
  /** Update an existing combined campaign */
2574
2649
  updateCombinedCampaign?: Maybe<UpdateCombinedCampaign>;
@@ -2685,6 +2760,10 @@ export type MutationCreateCallCampaignLogArgs = {
2685
2760
  input: CallCampaignLogInput;
2686
2761
  };
2687
2762
  /** Mutations */
2763
+ export type MutationCreateCallScriptTemplateArgs = {
2764
+ input: CallScriptTemplateInput;
2765
+ };
2766
+ /** Mutations */
2688
2767
  export type MutationCreateCampaignArgs = {
2689
2768
  input: CampaignInput;
2690
2769
  };
@@ -2756,6 +2835,10 @@ export type MutationDeleteCallCampaignArgs = {
2756
2835
  id: Scalars['ID']['input'];
2757
2836
  };
2758
2837
  /** Mutations */
2838
+ export type MutationDeleteCallScriptTemplateArgs = {
2839
+ uuid: Scalars['UUID']['input'];
2840
+ };
2841
+ /** Mutations */
2759
2842
  export type MutationDeleteCampaignArgs = {
2760
2843
  id: Scalars['ID']['input'];
2761
2844
  };
@@ -2828,6 +2911,10 @@ export type MutationForgotPasswordArgs = {
2828
2911
  email: Scalars['String']['input'];
2829
2912
  };
2830
2913
  /** Mutations */
2914
+ export type MutationGenerateCallCampaignScriptArgs = {
2915
+ input: GenerateCallCampaignScriptInput;
2916
+ };
2917
+ /** Mutations */
2831
2918
  export type MutationGenerateNewEmailArgs = {
2832
2919
  prompt: Scalars['String']['input'];
2833
2920
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -3041,6 +3128,11 @@ export type MutationUpdateCallCampaignLogArgs = {
3041
3128
  input: CallCampaignLogInput;
3042
3129
  };
3043
3130
  /** Mutations */
3131
+ export type MutationUpdateCallScriptTemplateArgs = {
3132
+ input: CallScriptTemplateInput;
3133
+ uuid: Scalars['UUID']['input'];
3134
+ };
3135
+ /** Mutations */
3044
3136
  export type MutationUpdateCampaignArgs = {
3045
3137
  input: UpdateCampaignInput;
3046
3138
  };
@@ -3668,8 +3760,14 @@ export type Query = {
3668
3760
  callCampaignLogs?: Maybe<PaginatedCallCampaignLogList>;
3669
3761
  /** Get comprehensive call campaign report with stats and per-salesperson breakdown */
3670
3762
  callCampaignReport?: Maybe<CallCampaignReportResponse>;
3763
+ /** Return the campaign script with contact variables replaced for the given contact */
3764
+ callCampaignScriptPreview?: Maybe<Scalars['String']['output']>;
3671
3765
  /** Get paginated list of call campaigns for the current user's account */
3672
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>>>;
3673
3771
  /** Get a specific campaign by ID */
3674
3772
  campaign?: Maybe<CampaignObject>;
3675
3773
  /** Get detailed analytics for a specific campaign including per-step breakdown */
@@ -3813,6 +3911,11 @@ export type QueryCallCampaignReportArgs = {
3813
3911
  pagination: PaginationInput;
3814
3912
  };
3815
3913
  /** Query */
3914
+ export type QueryCallCampaignScriptPreviewArgs = {
3915
+ campaignId: Scalars['ID']['input'];
3916
+ contactId?: InputMaybe<Scalars['ID']['input']>;
3917
+ };
3918
+ /** Query */
3816
3919
  export type QueryCallCampaignsArgs = {
3817
3920
  createdById?: InputMaybe<Scalars['String']['input']>;
3818
3921
  pagination: PaginationInput;
@@ -3820,6 +3923,10 @@ export type QueryCallCampaignsArgs = {
3820
3923
  status?: InputMaybe<Scalars['String']['input']>;
3821
3924
  };
3822
3925
  /** Query */
3926
+ export type QueryCallScriptTemplateArgs = {
3927
+ uuid: Scalars['UUID']['input'];
3928
+ };
3929
+ /** Query */
3823
3930
  export type QueryCampaignArgs = {
3824
3931
  id: Scalars['ID']['input'];
3825
3932
  };
@@ -4859,6 +4966,13 @@ export type UpdateCallCampaignLog = {
4859
4966
  message?: Maybe<Scalars['String']['output']>;
4860
4967
  success?: Maybe<Scalars['Boolean']['output']>;
4861
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
+ };
4862
4976
  export type UpdateCampaign = {
4863
4977
  __typename?: 'UpdateCampaign';
4864
4978
  campaign?: Maybe<CampaignObject>;
@@ -5466,6 +5580,8 @@ export type AddSegmentToCallCampaignMutation = {
5466
5580
  called?: number | null;
5467
5581
  connected?: number | null;
5468
5582
  lastActivity?: any | null;
5583
+ script?: string | null;
5584
+ callScriptTemplateId?: string | null;
5469
5585
  user?: {
5470
5586
  __typename?: 'UserType';
5471
5587
  id?: string | null;
@@ -6117,6 +6233,8 @@ export type CreateCallCampaignMutation = {
6117
6233
  called?: number | null;
6118
6234
  connected?: number | null;
6119
6235
  lastActivity?: any | null;
6236
+ script?: string | null;
6237
+ callScriptTemplateId?: string | null;
6120
6238
  user?: {
6121
6239
  __typename?: 'UserType';
6122
6240
  id?: string | null;
@@ -6243,6 +6361,8 @@ export type CreateCallCampaignLogMutation = {
6243
6361
  called?: number | null;
6244
6362
  connected?: number | null;
6245
6363
  lastActivity?: any | null;
6364
+ script?: string | null;
6365
+ callScriptTemplateId?: string | null;
6246
6366
  user?: {
6247
6367
  __typename?: 'UserType';
6248
6368
  id?: string | null;
@@ -6333,6 +6453,26 @@ export type CreateCallCampaignLogMutation = {
6333
6453
  } | null;
6334
6454
  } | null;
6335
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
+ };
6336
6476
  export type CreateCampaignMutationVariables = Exact<{
6337
6477
  input: CampaignInput;
6338
6478
  }>;
@@ -6682,6 +6822,8 @@ export type CreateCompanyMutation = {
6682
6822
  called?: number | null;
6683
6823
  connected?: number | null;
6684
6824
  lastActivity?: any | null;
6825
+ script?: string | null;
6826
+ callScriptTemplateId?: string | null;
6685
6827
  user?: {
6686
6828
  __typename?: 'UserType';
6687
6829
  id?: string | null;
@@ -6887,6 +7029,8 @@ export type CreateCompanyMutation = {
6887
7029
  called?: number | null;
6888
7030
  connected?: number | null;
6889
7031
  lastActivity?: any | null;
7032
+ script?: string | null;
7033
+ callScriptTemplateId?: string | null;
6890
7034
  user?: {
6891
7035
  __typename?: 'UserType';
6892
7036
  id?: string | null;
@@ -7275,6 +7419,8 @@ export type CreateCompanyNoteMutation = {
7275
7419
  called?: number | null;
7276
7420
  connected?: number | null;
7277
7421
  lastActivity?: any | null;
7422
+ script?: string | null;
7423
+ callScriptTemplateId?: string | null;
7278
7424
  user?: {
7279
7425
  __typename?: 'UserType';
7280
7426
  id?: string | null;
@@ -7634,6 +7780,8 @@ export type CreateMysupplierMutation = {
7634
7780
  called?: number | null;
7635
7781
  connected?: number | null;
7636
7782
  lastActivity?: any | null;
7783
+ script?: string | null;
7784
+ callScriptTemplateId?: string | null;
7637
7785
  user?: {
7638
7786
  __typename?: 'UserType';
7639
7787
  id?: string | null;
@@ -7839,6 +7987,8 @@ export type CreateMysupplierMutation = {
7839
7987
  called?: number | null;
7840
7988
  connected?: number | null;
7841
7989
  lastActivity?: any | null;
7990
+ script?: string | null;
7991
+ callScriptTemplateId?: string | null;
7842
7992
  user?: {
7843
7993
  __typename?: 'UserType';
7844
7994
  id?: string | null;
@@ -8740,6 +8890,8 @@ export type CreateSupplierlistMutation = {
8740
8890
  called?: number | null;
8741
8891
  connected?: number | null;
8742
8892
  lastActivity?: any | null;
8893
+ script?: string | null;
8894
+ callScriptTemplateId?: string | null;
8743
8895
  user?: {
8744
8896
  __typename?: 'UserType';
8745
8897
  id?: string | null;
@@ -8945,6 +9097,8 @@ export type CreateSupplierlistMutation = {
8945
9097
  called?: number | null;
8946
9098
  connected?: number | null;
8947
9099
  lastActivity?: any | null;
9100
+ script?: string | null;
9101
+ callScriptTemplateId?: string | null;
8948
9102
  user?: {
8949
9103
  __typename?: 'UserType';
8950
9104
  id?: string | null;
@@ -9298,6 +9452,8 @@ export type CreateTaskMutation = {
9298
9452
  called?: number | null;
9299
9453
  connected?: number | null;
9300
9454
  lastActivity?: any | null;
9455
+ script?: string | null;
9456
+ callScriptTemplateId?: string | null;
9301
9457
  user?: {
9302
9458
  __typename?: 'UserType';
9303
9459
  id?: string | null;
@@ -9426,6 +9582,17 @@ export type DeleteCallCampaignMutation = {
9426
9582
  message?: string | null;
9427
9583
  } | null;
9428
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
+ };
9429
9596
  export type DeleteCampaignMutationVariables = Exact<{
9430
9597
  id: Scalars['ID']['input'];
9431
9598
  }>;
@@ -9638,6 +9805,19 @@ export type ForgotPasswordMutation = {
9638
9805
  message?: string | null;
9639
9806
  } | null;
9640
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
+ };
9641
9821
  export type GenerateNewEmailMutationVariables = Exact<{
9642
9822
  prompt: Scalars['String']['input'];
9643
9823
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
@@ -10290,6 +10470,8 @@ export type RemoveSegmentFromCallCampaignMutation = {
10290
10470
  called?: number | null;
10291
10471
  connected?: number | null;
10292
10472
  lastActivity?: any | null;
10473
+ script?: string | null;
10474
+ callScriptTemplateId?: string | null;
10293
10475
  user?: {
10294
10476
  __typename?: 'UserType';
10295
10477
  id?: string | null;
@@ -11311,6 +11493,8 @@ export type SendManualEmailMutation = {
11311
11493
  called?: number | null;
11312
11494
  connected?: number | null;
11313
11495
  lastActivity?: any | null;
11496
+ script?: string | null;
11497
+ callScriptTemplateId?: string | null;
11314
11498
  user?: {
11315
11499
  __typename?: 'UserType';
11316
11500
  id?: string | null;
@@ -11912,6 +12096,8 @@ export type UpdateCallCampaignMutation = {
11912
12096
  called?: number | null;
11913
12097
  connected?: number | null;
11914
12098
  lastActivity?: any | null;
12099
+ script?: string | null;
12100
+ callScriptTemplateId?: string | null;
11915
12101
  user?: {
11916
12102
  __typename?: 'UserType';
11917
12103
  id?: string | null;
@@ -12039,6 +12225,8 @@ export type UpdateCallCampaignLogMutation = {
12039
12225
  called?: number | null;
12040
12226
  connected?: number | null;
12041
12227
  lastActivity?: any | null;
12228
+ script?: string | null;
12229
+ callScriptTemplateId?: string | null;
12042
12230
  user?: {
12043
12231
  __typename?: 'UserType';
12044
12232
  id?: string | null;
@@ -12129,6 +12317,27 @@ export type UpdateCallCampaignLogMutation = {
12129
12317
  } | null;
12130
12318
  } | null;
12131
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
+ };
12132
12341
  export type UpdateCampaignMutationVariables = Exact<{
12133
12342
  input: UpdateCampaignInput;
12134
12343
  }>;
@@ -12477,6 +12686,8 @@ export type UpdateCombinedCampaignLogMutation = {
12477
12686
  called?: number | null;
12478
12687
  connected?: number | null;
12479
12688
  lastActivity?: any | null;
12689
+ script?: string | null;
12690
+ callScriptTemplateId?: string | null;
12480
12691
  user?: {
12481
12692
  __typename?: 'UserType';
12482
12693
  id?: string | null;
@@ -12792,6 +13003,8 @@ export type UpdateCompanyMutation = {
12792
13003
  called?: number | null;
12793
13004
  connected?: number | null;
12794
13005
  lastActivity?: any | null;
13006
+ script?: string | null;
13007
+ callScriptTemplateId?: string | null;
12795
13008
  user?: {
12796
13009
  __typename?: 'UserType';
12797
13010
  id?: string | null;
@@ -12997,6 +13210,8 @@ export type UpdateCompanyMutation = {
12997
13210
  called?: number | null;
12998
13211
  connected?: number | null;
12999
13212
  lastActivity?: any | null;
13213
+ script?: string | null;
13214
+ callScriptTemplateId?: string | null;
13000
13215
  user?: {
13001
13216
  __typename?: 'UserType';
13002
13217
  id?: string | null;
@@ -13397,6 +13612,8 @@ export type UpdateCompanyNoteMutation = {
13397
13612
  called?: number | null;
13398
13613
  connected?: number | null;
13399
13614
  lastActivity?: any | null;
13615
+ script?: string | null;
13616
+ callScriptTemplateId?: string | null;
13400
13617
  user?: {
13401
13618
  __typename?: 'UserType';
13402
13619
  id?: string | null;
@@ -13774,6 +13991,8 @@ export type UpdateMysupplierMutation = {
13774
13991
  called?: number | null;
13775
13992
  connected?: number | null;
13776
13993
  lastActivity?: any | null;
13994
+ script?: string | null;
13995
+ callScriptTemplateId?: string | null;
13777
13996
  user?: {
13778
13997
  __typename?: 'UserType';
13779
13998
  id?: string | null;
@@ -13979,6 +14198,8 @@ export type UpdateMysupplierMutation = {
13979
14198
  called?: number | null;
13980
14199
  connected?: number | null;
13981
14200
  lastActivity?: any | null;
14201
+ script?: string | null;
14202
+ callScriptTemplateId?: string | null;
13982
14203
  user?: {
13983
14204
  __typename?: 'UserType';
13984
14205
  id?: string | null;
@@ -14837,6 +15058,8 @@ export type UpdateSupplierlistMutation = {
14837
15058
  called?: number | null;
14838
15059
  connected?: number | null;
14839
15060
  lastActivity?: any | null;
15061
+ script?: string | null;
15062
+ callScriptTemplateId?: string | null;
14840
15063
  user?: {
14841
15064
  __typename?: 'UserType';
14842
15065
  id?: string | null;
@@ -15042,6 +15265,8 @@ export type UpdateSupplierlistMutation = {
15042
15265
  called?: number | null;
15043
15266
  connected?: number | null;
15044
15267
  lastActivity?: any | null;
15268
+ script?: string | null;
15269
+ callScriptTemplateId?: string | null;
15045
15270
  user?: {
15046
15271
  __typename?: 'UserType';
15047
15272
  id?: string | null;
@@ -15396,6 +15621,8 @@ export type UpdateTaskMutation = {
15396
15621
  called?: number | null;
15397
15622
  connected?: number | null;
15398
15623
  lastActivity?: any | null;
15624
+ script?: string | null;
15625
+ callScriptTemplateId?: string | null;
15399
15626
  user?: {
15400
15627
  __typename?: 'UserType';
15401
15628
  id?: string | null;
@@ -15671,6 +15898,8 @@ export type CallCampaignQuery = {
15671
15898
  called?: number | null;
15672
15899
  connected?: number | null;
15673
15900
  lastActivity?: any | null;
15901
+ script?: string | null;
15902
+ callScriptTemplateId?: string | null;
15674
15903
  user?: {
15675
15904
  __typename?: 'UserType';
15676
15905
  id?: string | null;
@@ -15830,6 +16059,8 @@ export type CallCampaignLogQuery = {
15830
16059
  called?: number | null;
15831
16060
  connected?: number | null;
15832
16061
  lastActivity?: any | null;
16062
+ script?: string | null;
16063
+ callScriptTemplateId?: string | null;
15833
16064
  user?: {
15834
16065
  __typename?: 'UserType';
15835
16066
  id?: string | null;
@@ -15994,6 +16225,8 @@ export type CallCampaignLogsQuery = {
15994
16225
  called?: number | null;
15995
16226
  connected?: number | null;
15996
16227
  lastActivity?: any | null;
16228
+ script?: string | null;
16229
+ callScriptTemplateId?: string | null;
15997
16230
  user?: {
15998
16231
  __typename?: 'UserType';
15999
16232
  id?: string | null;
@@ -16172,6 +16405,8 @@ export type CallCampaignReportQuery = {
16172
16405
  called?: number | null;
16173
16406
  connected?: number | null;
16174
16407
  lastActivity?: any | null;
16408
+ script?: string | null;
16409
+ callScriptTemplateId?: string | null;
16175
16410
  user?: {
16176
16411
  __typename?: 'UserType';
16177
16412
  id?: string | null;
@@ -16323,6 +16558,14 @@ export type CallCampaignReportQuery = {
16323
16558
  } | null> | null;
16324
16559
  } | null;
16325
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
+ };
16326
16569
  export type CallCampaignsQueryVariables = Exact<{
16327
16570
  pagination: PaginationInput;
16328
16571
  sortBy?: InputMaybe<Scalars['String']['input']>;
@@ -16345,6 +16588,8 @@ export type CallCampaignsQuery = {
16345
16588
  called?: number | null;
16346
16589
  connected?: number | null;
16347
16590
  lastActivity?: any | null;
16591
+ script?: string | null;
16592
+ callScriptTemplateId?: string | null;
16348
16593
  user?: {
16349
16594
  __typename?: 'UserType';
16350
16595
  id?: string | null;
@@ -16406,6 +16651,36 @@ export type CallCampaignsQuery = {
16406
16651
  } | null;
16407
16652
  } | null;
16408
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
+ };
16409
16684
  export type CampaignQueryVariables = Exact<{
16410
16685
  id: Scalars['ID']['input'];
16411
16686
  }>;
@@ -16751,6 +17026,8 @@ export type CampaignContactsQuery = {
16751
17026
  called?: number | null;
16752
17027
  connected?: number | null;
16753
17028
  lastActivity?: any | null;
17029
+ script?: string | null;
17030
+ callScriptTemplateId?: string | null;
16754
17031
  user?: {
16755
17032
  __typename?: 'UserType';
16756
17033
  id?: string | null;
@@ -17630,6 +17907,8 @@ export type CombinedCampaignContactsQuery = {
17630
17907
  called?: number | null;
17631
17908
  connected?: number | null;
17632
17909
  lastActivity?: any | null;
17910
+ script?: string | null;
17911
+ callScriptTemplateId?: string | null;
17633
17912
  user?: {
17634
17913
  __typename?: 'UserType';
17635
17914
  id?: string | null;
@@ -17937,6 +18216,8 @@ export type CombinedCampaignLogsQuery = {
17937
18216
  called?: number | null;
17938
18217
  connected?: number | null;
17939
18218
  lastActivity?: any | null;
18219
+ script?: string | null;
18220
+ callScriptTemplateId?: string | null;
17940
18221
  user?: {
17941
18222
  __typename?: 'UserType';
17942
18223
  id?: string | null;
@@ -18410,6 +18691,8 @@ export type CompaniesQuery = {
18410
18691
  called?: number | null;
18411
18692
  connected?: number | null;
18412
18693
  lastActivity?: any | null;
18694
+ script?: string | null;
18695
+ callScriptTemplateId?: string | null;
18413
18696
  user?: {
18414
18697
  __typename?: 'UserType';
18415
18698
  id?: string | null;
@@ -18615,6 +18898,8 @@ export type CompaniesQuery = {
18615
18898
  called?: number | null;
18616
18899
  connected?: number | null;
18617
18900
  lastActivity?: any | null;
18901
+ script?: string | null;
18902
+ callScriptTemplateId?: string | null;
18618
18903
  user?: {
18619
18904
  __typename?: 'UserType';
18620
18905
  id?: string | null;
@@ -19093,6 +19378,8 @@ export type CompanyQuery = {
19093
19378
  called?: number | null;
19094
19379
  connected?: number | null;
19095
19380
  lastActivity?: any | null;
19381
+ script?: string | null;
19382
+ callScriptTemplateId?: string | null;
19096
19383
  user?: {
19097
19384
  __typename?: 'UserType';
19098
19385
  id?: string | null;
@@ -19298,6 +19585,8 @@ export type CompanyQuery = {
19298
19585
  called?: number | null;
19299
19586
  connected?: number | null;
19300
19587
  lastActivity?: any | null;
19588
+ script?: string | null;
19589
+ callScriptTemplateId?: string | null;
19301
19590
  user?: {
19302
19591
  __typename?: 'UserType';
19303
19592
  id?: string | null;
@@ -19737,6 +20026,8 @@ export type CompanyNoteQuery = {
19737
20026
  called?: number | null;
19738
20027
  connected?: number | null;
19739
20028
  lastActivity?: any | null;
20029
+ script?: string | null;
20030
+ callScriptTemplateId?: string | null;
19740
20031
  user?: {
19741
20032
  __typename?: 'UserType';
19742
20033
  id?: string | null;
@@ -19900,6 +20191,8 @@ export type CompanyNotesQuery = {
19900
20191
  called?: number | null;
19901
20192
  connected?: number | null;
19902
20193
  lastActivity?: any | null;
20194
+ script?: string | null;
20195
+ callScriptTemplateId?: string | null;
19903
20196
  user?: {
19904
20197
  __typename?: 'UserType';
19905
20198
  id?: string | null;
@@ -20155,6 +20448,8 @@ export type CompanySearchQuery = {
20155
20448
  called?: number | null;
20156
20449
  connected?: number | null;
20157
20450
  lastActivity?: any | null;
20451
+ script?: string | null;
20452
+ callScriptTemplateId?: string | null;
20158
20453
  user?: {
20159
20454
  __typename?: 'UserType';
20160
20455
  id?: string | null;
@@ -20360,6 +20655,8 @@ export type CompanySearchQuery = {
20360
20655
  called?: number | null;
20361
20656
  connected?: number | null;
20362
20657
  lastActivity?: any | null;
20658
+ script?: string | null;
20659
+ callScriptTemplateId?: string | null;
20363
20660
  user?: {
20364
20661
  __typename?: 'UserType';
20365
20662
  id?: string | null;
@@ -21582,6 +21879,8 @@ export type MysupplierQuery = {
21582
21879
  called?: number | null;
21583
21880
  connected?: number | null;
21584
21881
  lastActivity?: any | null;
21882
+ script?: string | null;
21883
+ callScriptTemplateId?: string | null;
21585
21884
  user?: {
21586
21885
  __typename?: 'UserType';
21587
21886
  id?: string | null;
@@ -21787,6 +22086,8 @@ export type MysupplierQuery = {
21787
22086
  called?: number | null;
21788
22087
  connected?: number | null;
21789
22088
  lastActivity?: any | null;
22089
+ script?: string | null;
22090
+ callScriptTemplateId?: string | null;
21790
22091
  user?: {
21791
22092
  __typename?: 'UserType';
21792
22093
  id?: string | null;
@@ -22257,6 +22558,8 @@ export type MysupplierListQuery = {
22257
22558
  called?: number | null;
22258
22559
  connected?: number | null;
22259
22560
  lastActivity?: any | null;
22561
+ script?: string | null;
22562
+ callScriptTemplateId?: string | null;
22260
22563
  user?: {
22261
22564
  __typename?: 'UserType';
22262
22565
  id?: string | null;
@@ -22462,6 +22765,8 @@ export type MysupplierListQuery = {
22462
22765
  called?: number | null;
22463
22766
  connected?: number | null;
22464
22767
  lastActivity?: any | null;
22768
+ script?: string | null;
22769
+ callScriptTemplateId?: string | null;
22465
22770
  user?: {
22466
22771
  __typename?: 'UserType';
22467
22772
  id?: string | null;
@@ -23151,6 +23456,8 @@ export type RecentHistoryQuery = {
23151
23456
  called?: number | null;
23152
23457
  connected?: number | null;
23153
23458
  lastActivity?: any | null;
23459
+ script?: string | null;
23460
+ callScriptTemplateId?: string | null;
23154
23461
  user?: {
23155
23462
  __typename?: 'UserType';
23156
23463
  id?: string | null;
@@ -23356,6 +23663,8 @@ export type RecentHistoryQuery = {
23356
23663
  called?: number | null;
23357
23664
  connected?: number | null;
23358
23665
  lastActivity?: any | null;
23666
+ script?: string | null;
23667
+ callScriptTemplateId?: string | null;
23359
23668
  user?: {
23360
23669
  __typename?: 'UserType';
23361
23670
  id?: string | null;
@@ -24940,6 +25249,8 @@ export type SupplierQuery = {
24940
25249
  called?: number | null;
24941
25250
  connected?: number | null;
24942
25251
  lastActivity?: any | null;
25252
+ script?: string | null;
25253
+ callScriptTemplateId?: string | null;
24943
25254
  user?: {
24944
25255
  __typename?: 'UserType';
24945
25256
  id?: string | null;
@@ -25145,6 +25456,8 @@ export type SupplierQuery = {
25145
25456
  called?: number | null;
25146
25457
  connected?: number | null;
25147
25458
  lastActivity?: any | null;
25459
+ script?: string | null;
25460
+ callScriptTemplateId?: string | null;
25148
25461
  user?: {
25149
25462
  __typename?: 'UserType';
25150
25463
  id?: string | null;
@@ -25724,6 +26037,8 @@ export type SupplierlistQuery = {
25724
26037
  called?: number | null;
25725
26038
  connected?: number | null;
25726
26039
  lastActivity?: any | null;
26040
+ script?: string | null;
26041
+ callScriptTemplateId?: string | null;
25727
26042
  user?: {
25728
26043
  __typename?: 'UserType';
25729
26044
  id?: string | null;
@@ -25929,6 +26244,8 @@ export type SupplierlistQuery = {
25929
26244
  called?: number | null;
25930
26245
  connected?: number | null;
25931
26246
  lastActivity?: any | null;
26247
+ script?: string | null;
26248
+ callScriptTemplateId?: string | null;
25932
26249
  user?: {
25933
26250
  __typename?: 'UserType';
25934
26251
  id?: string | null;
@@ -26399,6 +26716,8 @@ export type SupplierlistListQuery = {
26399
26716
  called?: number | null;
26400
26717
  connected?: number | null;
26401
26718
  lastActivity?: any | null;
26719
+ script?: string | null;
26720
+ callScriptTemplateId?: string | null;
26402
26721
  user?: {
26403
26722
  __typename?: 'UserType';
26404
26723
  id?: string | null;
@@ -26604,6 +26923,8 @@ export type SupplierlistListQuery = {
26604
26923
  called?: number | null;
26605
26924
  connected?: number | null;
26606
26925
  lastActivity?: any | null;
26926
+ script?: string | null;
26927
+ callScriptTemplateId?: string | null;
26607
26928
  user?: {
26608
26929
  __typename?: 'UserType';
26609
26930
  id?: string | null;
@@ -27184,6 +27505,8 @@ export type SuppliersQuery = {
27184
27505
  called?: number | null;
27185
27506
  connected?: number | null;
27186
27507
  lastActivity?: any | null;
27508
+ script?: string | null;
27509
+ callScriptTemplateId?: string | null;
27187
27510
  user?: {
27188
27511
  __typename?: 'UserType';
27189
27512
  id?: string | null;
@@ -27389,6 +27712,8 @@ export type SuppliersQuery = {
27389
27712
  called?: number | null;
27390
27713
  connected?: number | null;
27391
27714
  lastActivity?: any | null;
27715
+ script?: string | null;
27716
+ callScriptTemplateId?: string | null;
27392
27717
  user?: {
27393
27718
  __typename?: 'UserType';
27394
27719
  id?: string | null;
@@ -27759,6 +28084,8 @@ export type TaskQuery = {
27759
28084
  called?: number | null;
27760
28085
  connected?: number | null;
27761
28086
  lastActivity?: any | null;
28087
+ script?: string | null;
28088
+ callScriptTemplateId?: string | null;
27762
28089
  user?: {
27763
28090
  __typename?: 'UserType';
27764
28091
  id?: string | null;
@@ -27922,6 +28249,8 @@ export type TasksQuery = {
27922
28249
  called?: number | null;
27923
28250
  connected?: number | null;
27924
28251
  lastActivity?: any | null;
28252
+ script?: string | null;
28253
+ callScriptTemplateId?: string | null;
27925
28254
  user?: {
27926
28255
  __typename?: 'UserType';
27927
28256
  id?: string | null;
@@ -28636,6 +28965,31 @@ export declare function useCreateCallCampaignLogMutation(baseOptions?: Apollo.Mu
28636
28965
  export type CreateCallCampaignLogMutationHookResult = ReturnType<typeof useCreateCallCampaignLogMutation>;
28637
28966
  export type CreateCallCampaignLogMutationResult = Apollo.MutationResult<CreateCallCampaignLogMutation>;
28638
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>;
28639
28993
  export declare const CreateCampaignDocument: Apollo.DocumentNode;
28640
28994
  export type CreateCampaignMutationFn = Apollo.MutationFunction<CreateCampaignMutation, CreateCampaignMutationVariables>;
28641
28995
  /**
@@ -29067,6 +29421,31 @@ export declare function useDeleteCallCampaignMutation(baseOptions?: Apollo.Mutat
29067
29421
  export type DeleteCallCampaignMutationHookResult = ReturnType<typeof useDeleteCallCampaignMutation>;
29068
29422
  export type DeleteCallCampaignMutationResult = Apollo.MutationResult<DeleteCallCampaignMutation>;
29069
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>;
29070
29449
  export declare const DeleteCampaignDocument: Apollo.DocumentNode;
29071
29450
  export type DeleteCampaignMutationFn = Apollo.MutationFunction<DeleteCampaignMutation, DeleteCampaignMutationVariables>;
29072
29451
  /**
@@ -29541,6 +29920,31 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
29541
29920
  export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
29542
29921
  export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
29543
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>;
29544
29948
  export declare const GenerateNewEmailDocument: Apollo.DocumentNode;
29545
29949
  export type GenerateNewEmailMutationFn = Apollo.MutationFunction<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
29546
29950
  /**
@@ -30722,6 +31126,33 @@ export declare function useUpdateCallCampaignLogMutation(baseOptions?: Apollo.Mu
30722
31126
  export type UpdateCallCampaignLogMutationHookResult = ReturnType<typeof useUpdateCallCampaignLogMutation>;
30723
31127
  export type UpdateCallCampaignLogMutationResult = Apollo.MutationResult<UpdateCallCampaignLogMutation>;
30724
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>;
30725
31156
  export declare const UpdateCampaignDocument: Apollo.DocumentNode;
30726
31157
  export type UpdateCampaignMutationFn = Apollo.MutationFunction<UpdateCampaignMutation, UpdateCampaignMutationVariables>;
30727
31158
  /**
@@ -31587,6 +32018,45 @@ export type CallCampaignReportQueryHookResult = ReturnType<typeof useCallCampaig
31587
32018
  export type CallCampaignReportLazyQueryHookResult = ReturnType<typeof useCallCampaignReportLazyQuery>;
31588
32019
  export type CallCampaignReportSuspenseQueryHookResult = ReturnType<typeof useCallCampaignReportSuspenseQuery>;
31589
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>;
31590
32060
  export declare const CallCampaignsDocument: Apollo.DocumentNode;
31591
32061
  /**
31592
32062
  * __useCallCampaignsQuery__
@@ -31634,6 +32104,70 @@ export type CallCampaignsQueryHookResult = ReturnType<typeof useCallCampaignsQue
31634
32104
  export type CallCampaignsLazyQueryHookResult = ReturnType<typeof useCallCampaignsLazyQuery>;
31635
32105
  export type CallCampaignsSuspenseQueryHookResult = ReturnType<typeof useCallCampaignsSuspenseQuery>;
31636
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>;
31637
32171
  export declare const CampaignDocument: Apollo.DocumentNode;
31638
32172
  /**
31639
32173
  * __useCampaignQuery__