cf-service-sdk 0.1.4 → 0.1.6

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 */
@@ -2536,6 +2604,8 @@ export type Mutation = {
2536
2604
  removeSegmentFromCallCampaign?: Maybe<RemoveSegmentFromCallCampaign>;
2537
2605
  removeSegmentFromCampaign?: Maybe<RemoveSegmentFromCampaign>;
2538
2606
  removeSupplierFromSupplierList?: Maybe<RemoveSupplierFromSupplierList>;
2607
+ /** RequestProAccess - Request upgrade to pro plan (sends notification email) */
2608
+ requestProAccess?: Maybe<RequestProAccess>;
2539
2609
  /** Resume a paused combined campaign */
2540
2610
  resumeCombinedCampaign?: Maybe<ResumeCombinedCampaign>;
2541
2611
  /** SaveNylasConnection - Save Nylas connection details after OAuth flow */
@@ -2574,6 +2644,8 @@ export type Mutation = {
2574
2644
  unsubscribeFromEmails?: Maybe<UnsubscribeFromEmails>;
2575
2645
  updateCallCampaign?: Maybe<UpdateCallCampaign>;
2576
2646
  updateCallCampaignLog?: Maybe<UpdateCallCampaignLog>;
2647
+ /** Update an existing call script template owned by the user's account. */
2648
+ updateCallScriptTemplate?: Maybe<UpdateCallScriptTemplate>;
2577
2649
  updateCampaign?: Maybe<UpdateCampaign>;
2578
2650
  /** Update an existing combined campaign */
2579
2651
  updateCombinedCampaign?: Maybe<UpdateCombinedCampaign>;
@@ -2690,6 +2762,10 @@ export type MutationCreateCallCampaignLogArgs = {
2690
2762
  input: CallCampaignLogInput;
2691
2763
  };
2692
2764
  /** Mutations */
2765
+ export type MutationCreateCallScriptTemplateArgs = {
2766
+ input: CallScriptTemplateInput;
2767
+ };
2768
+ /** Mutations */
2693
2769
  export type MutationCreateCampaignArgs = {
2694
2770
  input: CampaignInput;
2695
2771
  };
@@ -2761,6 +2837,10 @@ export type MutationDeleteCallCampaignArgs = {
2761
2837
  id: Scalars['ID']['input'];
2762
2838
  };
2763
2839
  /** Mutations */
2840
+ export type MutationDeleteCallScriptTemplateArgs = {
2841
+ uuid: Scalars['UUID']['input'];
2842
+ };
2843
+ /** Mutations */
2764
2844
  export type MutationDeleteCampaignArgs = {
2765
2845
  id: Scalars['ID']['input'];
2766
2846
  };
@@ -2833,6 +2913,10 @@ export type MutationForgotPasswordArgs = {
2833
2913
  email: Scalars['String']['input'];
2834
2914
  };
2835
2915
  /** Mutations */
2916
+ export type MutationGenerateCallCampaignScriptArgs = {
2917
+ input: GenerateCallCampaignScriptInput;
2918
+ };
2919
+ /** Mutations */
2836
2920
  export type MutationGenerateNewEmailArgs = {
2837
2921
  prompt: Scalars['String']['input'];
2838
2922
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -3046,6 +3130,11 @@ export type MutationUpdateCallCampaignLogArgs = {
3046
3130
  input: CallCampaignLogInput;
3047
3131
  };
3048
3132
  /** Mutations */
3133
+ export type MutationUpdateCallScriptTemplateArgs = {
3134
+ input: CallScriptTemplateInput;
3135
+ uuid: Scalars['UUID']['input'];
3136
+ };
3137
+ /** Mutations */
3049
3138
  export type MutationUpdateCampaignArgs = {
3050
3139
  input: UpdateCampaignInput;
3051
3140
  };
@@ -3673,8 +3762,14 @@ export type Query = {
3673
3762
  callCampaignLogs?: Maybe<PaginatedCallCampaignLogList>;
3674
3763
  /** Get comprehensive call campaign report with stats and per-salesperson breakdown */
3675
3764
  callCampaignReport?: Maybe<CallCampaignReportResponse>;
3765
+ /** Return the campaign script with contact variables replaced for the given contact */
3766
+ callCampaignScriptPreview?: Maybe<Scalars['String']['output']>;
3676
3767
  /** Get paginated list of call campaigns for the current user's account */
3677
3768
  callCampaigns?: Maybe<PaginatedCallCampaignList>;
3769
+ /** Get a single call script template by UUID */
3770
+ callScriptTemplate?: Maybe<CallScriptTemplateType>;
3771
+ /** List all call script templates accessible to the current account */
3772
+ callScriptTemplates?: Maybe<Array<Maybe<CallScriptTemplateType>>>;
3678
3773
  /** Get a specific campaign by ID */
3679
3774
  campaign?: Maybe<CampaignObject>;
3680
3775
  /** Get detailed analytics for a specific campaign including per-step breakdown */
@@ -3818,6 +3913,11 @@ export type QueryCallCampaignReportArgs = {
3818
3913
  pagination: PaginationInput;
3819
3914
  };
3820
3915
  /** Query */
3916
+ export type QueryCallCampaignScriptPreviewArgs = {
3917
+ campaignId: Scalars['ID']['input'];
3918
+ contactId?: InputMaybe<Scalars['ID']['input']>;
3919
+ };
3920
+ /** Query */
3821
3921
  export type QueryCallCampaignsArgs = {
3822
3922
  createdById?: InputMaybe<Scalars['String']['input']>;
3823
3923
  pagination: PaginationInput;
@@ -3825,6 +3925,10 @@ export type QueryCallCampaignsArgs = {
3825
3925
  status?: InputMaybe<Scalars['String']['input']>;
3826
3926
  };
3827
3927
  /** Query */
3928
+ export type QueryCallScriptTemplateArgs = {
3929
+ uuid: Scalars['UUID']['input'];
3930
+ };
3931
+ /** Query */
3828
3932
  export type QueryCampaignArgs = {
3829
3933
  id: Scalars['ID']['input'];
3830
3934
  };
@@ -4179,6 +4283,8 @@ export type RecentHistoryItemType = {
4179
4283
  contactName?: Maybe<Scalars['String']['output']>;
4180
4284
  /** Job title of the contact */
4181
4285
  contactTitle?: Maybe<Scalars['String']['output']>;
4286
+ /** The date and time the activity was created */
4287
+ createdAt?: Maybe<Scalars['DateTime']['output']>;
4182
4288
  /** Date when email was opened */
4183
4289
  dateOpened?: Maybe<Scalars['DateTime']['output']>;
4184
4290
  /** Date when email was replied to */
@@ -4200,7 +4306,8 @@ export declare enum RecentHistorySortField {
4200
4306
  ActivityDate = "ACTIVITY_DATE",
4201
4307
  ActivityType = "ACTIVITY_TYPE",
4202
4308
  CompanyName = "COMPANY_NAME",
4203
- ContactName = "CONTACT_NAME"
4309
+ ContactName = "CONTACT_NAME",
4310
+ CreatedAt = "CREATED_AT"
4204
4311
  }
4205
4312
  /** Sort input for recent history queries */
4206
4313
  export type RecentHistorySortInput = {
@@ -4327,6 +4434,12 @@ export type RemoveSupplierFromSupplierListInput = {
4327
4434
  companyId: Scalars['ID']['input'];
4328
4435
  supplierListId: Scalars['ID']['input'];
4329
4436
  };
4437
+ /** RequestProAccess - Request upgrade to pro plan (sends notification email) */
4438
+ export type RequestProAccess = {
4439
+ __typename?: 'RequestProAccess';
4440
+ message?: Maybe<Scalars['String']['output']>;
4441
+ success?: Maybe<Scalars['Boolean']['output']>;
4442
+ };
4330
4443
  /** Resume a paused combined campaign */
4331
4444
  export type ResumeCombinedCampaign = {
4332
4445
  __typename?: 'ResumeCombinedCampaign';
@@ -4864,6 +4977,13 @@ export type UpdateCallCampaignLog = {
4864
4977
  message?: Maybe<Scalars['String']['output']>;
4865
4978
  success?: Maybe<Scalars['Boolean']['output']>;
4866
4979
  };
4980
+ /** Update an existing call script template owned by the user's account. */
4981
+ export type UpdateCallScriptTemplate = {
4982
+ __typename?: 'UpdateCallScriptTemplate';
4983
+ callScriptTemplate?: Maybe<CallScriptTemplateType>;
4984
+ message?: Maybe<Scalars['String']['output']>;
4985
+ success?: Maybe<Scalars['Boolean']['output']>;
4986
+ };
4867
4987
  export type UpdateCampaign = {
4868
4988
  __typename?: 'UpdateCampaign';
4869
4989
  campaign?: Maybe<CampaignObject>;
@@ -5471,6 +5591,8 @@ export type AddSegmentToCallCampaignMutation = {
5471
5591
  called?: number | null;
5472
5592
  connected?: number | null;
5473
5593
  lastActivity?: any | null;
5594
+ script?: string | null;
5595
+ callScriptTemplateId?: string | null;
5474
5596
  user?: {
5475
5597
  __typename?: 'UserType';
5476
5598
  id?: string | null;
@@ -6122,6 +6244,8 @@ export type CreateCallCampaignMutation = {
6122
6244
  called?: number | null;
6123
6245
  connected?: number | null;
6124
6246
  lastActivity?: any | null;
6247
+ script?: string | null;
6248
+ callScriptTemplateId?: string | null;
6125
6249
  user?: {
6126
6250
  __typename?: 'UserType';
6127
6251
  id?: string | null;
@@ -6248,6 +6372,8 @@ export type CreateCallCampaignLogMutation = {
6248
6372
  called?: number | null;
6249
6373
  connected?: number | null;
6250
6374
  lastActivity?: any | null;
6375
+ script?: string | null;
6376
+ callScriptTemplateId?: string | null;
6251
6377
  user?: {
6252
6378
  __typename?: 'UserType';
6253
6379
  id?: string | null;
@@ -6338,6 +6464,26 @@ export type CreateCallCampaignLogMutation = {
6338
6464
  } | null;
6339
6465
  } | null;
6340
6466
  };
6467
+ export type CreateCallScriptTemplateMutationVariables = Exact<{
6468
+ input: CallScriptTemplateInput;
6469
+ }>;
6470
+ export type CreateCallScriptTemplateMutation = {
6471
+ __typename?: 'Mutation';
6472
+ createCallScriptTemplate?: {
6473
+ __typename?: 'CreateCallScriptTemplate';
6474
+ success?: boolean | null;
6475
+ message?: string | null;
6476
+ callScriptTemplate?: {
6477
+ __typename?: 'CallScriptTemplateType';
6478
+ createdAt: any;
6479
+ updatedAt: any;
6480
+ uuid: any;
6481
+ name: string;
6482
+ content: string;
6483
+ isDefault: boolean;
6484
+ } | null;
6485
+ } | null;
6486
+ };
6341
6487
  export type CreateCampaignMutationVariables = Exact<{
6342
6488
  input: CampaignInput;
6343
6489
  }>;
@@ -6687,6 +6833,8 @@ export type CreateCompanyMutation = {
6687
6833
  called?: number | null;
6688
6834
  connected?: number | null;
6689
6835
  lastActivity?: any | null;
6836
+ script?: string | null;
6837
+ callScriptTemplateId?: string | null;
6690
6838
  user?: {
6691
6839
  __typename?: 'UserType';
6692
6840
  id?: string | null;
@@ -6892,6 +7040,8 @@ export type CreateCompanyMutation = {
6892
7040
  called?: number | null;
6893
7041
  connected?: number | null;
6894
7042
  lastActivity?: any | null;
7043
+ script?: string | null;
7044
+ callScriptTemplateId?: string | null;
6895
7045
  user?: {
6896
7046
  __typename?: 'UserType';
6897
7047
  id?: string | null;
@@ -7280,6 +7430,8 @@ export type CreateCompanyNoteMutation = {
7280
7430
  called?: number | null;
7281
7431
  connected?: number | null;
7282
7432
  lastActivity?: any | null;
7433
+ script?: string | null;
7434
+ callScriptTemplateId?: string | null;
7283
7435
  user?: {
7284
7436
  __typename?: 'UserType';
7285
7437
  id?: string | null;
@@ -7639,6 +7791,8 @@ export type CreateMysupplierMutation = {
7639
7791
  called?: number | null;
7640
7792
  connected?: number | null;
7641
7793
  lastActivity?: any | null;
7794
+ script?: string | null;
7795
+ callScriptTemplateId?: string | null;
7642
7796
  user?: {
7643
7797
  __typename?: 'UserType';
7644
7798
  id?: string | null;
@@ -7844,6 +7998,8 @@ export type CreateMysupplierMutation = {
7844
7998
  called?: number | null;
7845
7999
  connected?: number | null;
7846
8000
  lastActivity?: any | null;
8001
+ script?: string | null;
8002
+ callScriptTemplateId?: string | null;
7847
8003
  user?: {
7848
8004
  __typename?: 'UserType';
7849
8005
  id?: string | null;
@@ -8745,6 +8901,8 @@ export type CreateSupplierlistMutation = {
8745
8901
  called?: number | null;
8746
8902
  connected?: number | null;
8747
8903
  lastActivity?: any | null;
8904
+ script?: string | null;
8905
+ callScriptTemplateId?: string | null;
8748
8906
  user?: {
8749
8907
  __typename?: 'UserType';
8750
8908
  id?: string | null;
@@ -8950,6 +9108,8 @@ export type CreateSupplierlistMutation = {
8950
9108
  called?: number | null;
8951
9109
  connected?: number | null;
8952
9110
  lastActivity?: any | null;
9111
+ script?: string | null;
9112
+ callScriptTemplateId?: string | null;
8953
9113
  user?: {
8954
9114
  __typename?: 'UserType';
8955
9115
  id?: string | null;
@@ -9303,6 +9463,8 @@ export type CreateTaskMutation = {
9303
9463
  called?: number | null;
9304
9464
  connected?: number | null;
9305
9465
  lastActivity?: any | null;
9466
+ script?: string | null;
9467
+ callScriptTemplateId?: string | null;
9306
9468
  user?: {
9307
9469
  __typename?: 'UserType';
9308
9470
  id?: string | null;
@@ -9431,6 +9593,17 @@ export type DeleteCallCampaignMutation = {
9431
9593
  message?: string | null;
9432
9594
  } | null;
9433
9595
  };
9596
+ export type DeleteCallScriptTemplateMutationVariables = Exact<{
9597
+ uuid: Scalars['UUID']['input'];
9598
+ }>;
9599
+ export type DeleteCallScriptTemplateMutation = {
9600
+ __typename?: 'Mutation';
9601
+ deleteCallScriptTemplate?: {
9602
+ __typename?: 'DeleteCallScriptTemplate';
9603
+ success?: boolean | null;
9604
+ message?: string | null;
9605
+ } | null;
9606
+ };
9434
9607
  export type DeleteCampaignMutationVariables = Exact<{
9435
9608
  id: Scalars['ID']['input'];
9436
9609
  }>;
@@ -9643,6 +9816,19 @@ export type ForgotPasswordMutation = {
9643
9816
  message?: string | null;
9644
9817
  } | null;
9645
9818
  };
9819
+ export type GenerateCallCampaignScriptMutationVariables = Exact<{
9820
+ input: GenerateCallCampaignScriptInput;
9821
+ }>;
9822
+ export type GenerateCallCampaignScriptMutation = {
9823
+ __typename?: 'Mutation';
9824
+ generateCallCampaignScript?: {
9825
+ __typename?: 'GenerateCallCampaignScript';
9826
+ success?: boolean | null;
9827
+ message?: string | null;
9828
+ script?: string | null;
9829
+ talkingPoints?: Array<string | null> | null;
9830
+ } | null;
9831
+ };
9646
9832
  export type GenerateNewEmailMutationVariables = Exact<{
9647
9833
  prompt: Scalars['String']['input'];
9648
9834
  variables?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
@@ -10295,6 +10481,8 @@ export type RemoveSegmentFromCallCampaignMutation = {
10295
10481
  called?: number | null;
10296
10482
  connected?: number | null;
10297
10483
  lastActivity?: any | null;
10484
+ script?: string | null;
10485
+ callScriptTemplateId?: string | null;
10298
10486
  user?: {
10299
10487
  __typename?: 'UserType';
10300
10488
  id?: string | null;
@@ -10439,6 +10627,17 @@ export type RemoveSupplierFromSupplierListMutation = {
10439
10627
  message?: string | null;
10440
10628
  } | null;
10441
10629
  };
10630
+ export type RequestProAccessMutationVariables = Exact<{
10631
+ [key: string]: never;
10632
+ }>;
10633
+ export type RequestProAccessMutation = {
10634
+ __typename?: 'Mutation';
10635
+ requestProAccess?: {
10636
+ __typename?: 'RequestProAccess';
10637
+ success?: boolean | null;
10638
+ message?: string | null;
10639
+ } | null;
10640
+ };
10442
10641
  export type ResumeCombinedCampaignMutationVariables = Exact<{
10443
10642
  id: Scalars['ID']['input'];
10444
10643
  }>;
@@ -11316,6 +11515,8 @@ export type SendManualEmailMutation = {
11316
11515
  called?: number | null;
11317
11516
  connected?: number | null;
11318
11517
  lastActivity?: any | null;
11518
+ script?: string | null;
11519
+ callScriptTemplateId?: string | null;
11319
11520
  user?: {
11320
11521
  __typename?: 'UserType';
11321
11522
  id?: string | null;
@@ -11917,6 +12118,8 @@ export type UpdateCallCampaignMutation = {
11917
12118
  called?: number | null;
11918
12119
  connected?: number | null;
11919
12120
  lastActivity?: any | null;
12121
+ script?: string | null;
12122
+ callScriptTemplateId?: string | null;
11920
12123
  user?: {
11921
12124
  __typename?: 'UserType';
11922
12125
  id?: string | null;
@@ -12044,6 +12247,8 @@ export type UpdateCallCampaignLogMutation = {
12044
12247
  called?: number | null;
12045
12248
  connected?: number | null;
12046
12249
  lastActivity?: any | null;
12250
+ script?: string | null;
12251
+ callScriptTemplateId?: string | null;
12047
12252
  user?: {
12048
12253
  __typename?: 'UserType';
12049
12254
  id?: string | null;
@@ -12134,6 +12339,27 @@ export type UpdateCallCampaignLogMutation = {
12134
12339
  } | null;
12135
12340
  } | null;
12136
12341
  };
12342
+ export type UpdateCallScriptTemplateMutationVariables = Exact<{
12343
+ input: CallScriptTemplateInput;
12344
+ uuid: Scalars['UUID']['input'];
12345
+ }>;
12346
+ export type UpdateCallScriptTemplateMutation = {
12347
+ __typename?: 'Mutation';
12348
+ updateCallScriptTemplate?: {
12349
+ __typename?: 'UpdateCallScriptTemplate';
12350
+ success?: boolean | null;
12351
+ message?: string | null;
12352
+ callScriptTemplate?: {
12353
+ __typename?: 'CallScriptTemplateType';
12354
+ createdAt: any;
12355
+ updatedAt: any;
12356
+ uuid: any;
12357
+ name: string;
12358
+ content: string;
12359
+ isDefault: boolean;
12360
+ } | null;
12361
+ } | null;
12362
+ };
12137
12363
  export type UpdateCampaignMutationVariables = Exact<{
12138
12364
  input: UpdateCampaignInput;
12139
12365
  }>;
@@ -12482,6 +12708,8 @@ export type UpdateCombinedCampaignLogMutation = {
12482
12708
  called?: number | null;
12483
12709
  connected?: number | null;
12484
12710
  lastActivity?: any | null;
12711
+ script?: string | null;
12712
+ callScriptTemplateId?: string | null;
12485
12713
  user?: {
12486
12714
  __typename?: 'UserType';
12487
12715
  id?: string | null;
@@ -12797,6 +13025,8 @@ export type UpdateCompanyMutation = {
12797
13025
  called?: number | null;
12798
13026
  connected?: number | null;
12799
13027
  lastActivity?: any | null;
13028
+ script?: string | null;
13029
+ callScriptTemplateId?: string | null;
12800
13030
  user?: {
12801
13031
  __typename?: 'UserType';
12802
13032
  id?: string | null;
@@ -13002,6 +13232,8 @@ export type UpdateCompanyMutation = {
13002
13232
  called?: number | null;
13003
13233
  connected?: number | null;
13004
13234
  lastActivity?: any | null;
13235
+ script?: string | null;
13236
+ callScriptTemplateId?: string | null;
13005
13237
  user?: {
13006
13238
  __typename?: 'UserType';
13007
13239
  id?: string | null;
@@ -13402,6 +13634,8 @@ export type UpdateCompanyNoteMutation = {
13402
13634
  called?: number | null;
13403
13635
  connected?: number | null;
13404
13636
  lastActivity?: any | null;
13637
+ script?: string | null;
13638
+ callScriptTemplateId?: string | null;
13405
13639
  user?: {
13406
13640
  __typename?: 'UserType';
13407
13641
  id?: string | null;
@@ -13779,6 +14013,8 @@ export type UpdateMysupplierMutation = {
13779
14013
  called?: number | null;
13780
14014
  connected?: number | null;
13781
14015
  lastActivity?: any | null;
14016
+ script?: string | null;
14017
+ callScriptTemplateId?: string | null;
13782
14018
  user?: {
13783
14019
  __typename?: 'UserType';
13784
14020
  id?: string | null;
@@ -13984,6 +14220,8 @@ export type UpdateMysupplierMutation = {
13984
14220
  called?: number | null;
13985
14221
  connected?: number | null;
13986
14222
  lastActivity?: any | null;
14223
+ script?: string | null;
14224
+ callScriptTemplateId?: string | null;
13987
14225
  user?: {
13988
14226
  __typename?: 'UserType';
13989
14227
  id?: string | null;
@@ -14842,6 +15080,8 @@ export type UpdateSupplierlistMutation = {
14842
15080
  called?: number | null;
14843
15081
  connected?: number | null;
14844
15082
  lastActivity?: any | null;
15083
+ script?: string | null;
15084
+ callScriptTemplateId?: string | null;
14845
15085
  user?: {
14846
15086
  __typename?: 'UserType';
14847
15087
  id?: string | null;
@@ -15047,6 +15287,8 @@ export type UpdateSupplierlistMutation = {
15047
15287
  called?: number | null;
15048
15288
  connected?: number | null;
15049
15289
  lastActivity?: any | null;
15290
+ script?: string | null;
15291
+ callScriptTemplateId?: string | null;
15050
15292
  user?: {
15051
15293
  __typename?: 'UserType';
15052
15294
  id?: string | null;
@@ -15401,6 +15643,8 @@ export type UpdateTaskMutation = {
15401
15643
  called?: number | null;
15402
15644
  connected?: number | null;
15403
15645
  lastActivity?: any | null;
15646
+ script?: string | null;
15647
+ callScriptTemplateId?: string | null;
15404
15648
  user?: {
15405
15649
  __typename?: 'UserType';
15406
15650
  id?: string | null;
@@ -15676,6 +15920,8 @@ export type CallCampaignQuery = {
15676
15920
  called?: number | null;
15677
15921
  connected?: number | null;
15678
15922
  lastActivity?: any | null;
15923
+ script?: string | null;
15924
+ callScriptTemplateId?: string | null;
15679
15925
  user?: {
15680
15926
  __typename?: 'UserType';
15681
15927
  id?: string | null;
@@ -15835,6 +16081,8 @@ export type CallCampaignLogQuery = {
15835
16081
  called?: number | null;
15836
16082
  connected?: number | null;
15837
16083
  lastActivity?: any | null;
16084
+ script?: string | null;
16085
+ callScriptTemplateId?: string | null;
15838
16086
  user?: {
15839
16087
  __typename?: 'UserType';
15840
16088
  id?: string | null;
@@ -15999,6 +16247,8 @@ export type CallCampaignLogsQuery = {
15999
16247
  called?: number | null;
16000
16248
  connected?: number | null;
16001
16249
  lastActivity?: any | null;
16250
+ script?: string | null;
16251
+ callScriptTemplateId?: string | null;
16002
16252
  user?: {
16003
16253
  __typename?: 'UserType';
16004
16254
  id?: string | null;
@@ -16177,6 +16427,8 @@ export type CallCampaignReportQuery = {
16177
16427
  called?: number | null;
16178
16428
  connected?: number | null;
16179
16429
  lastActivity?: any | null;
16430
+ script?: string | null;
16431
+ callScriptTemplateId?: string | null;
16180
16432
  user?: {
16181
16433
  __typename?: 'UserType';
16182
16434
  id?: string | null;
@@ -16328,6 +16580,14 @@ export type CallCampaignReportQuery = {
16328
16580
  } | null> | null;
16329
16581
  } | null;
16330
16582
  };
16583
+ export type CallCampaignScriptPreviewQueryVariables = Exact<{
16584
+ campaignId: Scalars['ID']['input'];
16585
+ contactId?: InputMaybe<Scalars['ID']['input']>;
16586
+ }>;
16587
+ export type CallCampaignScriptPreviewQuery = {
16588
+ __typename?: 'Query';
16589
+ callCampaignScriptPreview?: string | null;
16590
+ };
16331
16591
  export type CallCampaignsQueryVariables = Exact<{
16332
16592
  pagination: PaginationInput;
16333
16593
  sortBy?: InputMaybe<Scalars['String']['input']>;
@@ -16350,6 +16610,8 @@ export type CallCampaignsQuery = {
16350
16610
  called?: number | null;
16351
16611
  connected?: number | null;
16352
16612
  lastActivity?: any | null;
16613
+ script?: string | null;
16614
+ callScriptTemplateId?: string | null;
16353
16615
  user?: {
16354
16616
  __typename?: 'UserType';
16355
16617
  id?: string | null;
@@ -16411,6 +16673,36 @@ export type CallCampaignsQuery = {
16411
16673
  } | null;
16412
16674
  } | null;
16413
16675
  };
16676
+ export type CallScriptTemplateQueryVariables = Exact<{
16677
+ uuid: Scalars['UUID']['input'];
16678
+ }>;
16679
+ export type CallScriptTemplateQuery = {
16680
+ __typename?: 'Query';
16681
+ callScriptTemplate?: {
16682
+ __typename?: 'CallScriptTemplateType';
16683
+ createdAt: any;
16684
+ updatedAt: any;
16685
+ uuid: any;
16686
+ name: string;
16687
+ content: string;
16688
+ isDefault: boolean;
16689
+ } | null;
16690
+ };
16691
+ export type CallScriptTemplatesQueryVariables = Exact<{
16692
+ [key: string]: never;
16693
+ }>;
16694
+ export type CallScriptTemplatesQuery = {
16695
+ __typename?: 'Query';
16696
+ callScriptTemplates?: Array<{
16697
+ __typename?: 'CallScriptTemplateType';
16698
+ createdAt: any;
16699
+ updatedAt: any;
16700
+ uuid: any;
16701
+ name: string;
16702
+ content: string;
16703
+ isDefault: boolean;
16704
+ } | null> | null;
16705
+ };
16414
16706
  export type CampaignQueryVariables = Exact<{
16415
16707
  id: Scalars['ID']['input'];
16416
16708
  }>;
@@ -16756,6 +17048,8 @@ export type CampaignContactsQuery = {
16756
17048
  called?: number | null;
16757
17049
  connected?: number | null;
16758
17050
  lastActivity?: any | null;
17051
+ script?: string | null;
17052
+ callScriptTemplateId?: string | null;
16759
17053
  user?: {
16760
17054
  __typename?: 'UserType';
16761
17055
  id?: string | null;
@@ -17635,6 +17929,8 @@ export type CombinedCampaignContactsQuery = {
17635
17929
  called?: number | null;
17636
17930
  connected?: number | null;
17637
17931
  lastActivity?: any | null;
17932
+ script?: string | null;
17933
+ callScriptTemplateId?: string | null;
17638
17934
  user?: {
17639
17935
  __typename?: 'UserType';
17640
17936
  id?: string | null;
@@ -17942,6 +18238,8 @@ export type CombinedCampaignLogsQuery = {
17942
18238
  called?: number | null;
17943
18239
  connected?: number | null;
17944
18240
  lastActivity?: any | null;
18241
+ script?: string | null;
18242
+ callScriptTemplateId?: string | null;
17945
18243
  user?: {
17946
18244
  __typename?: 'UserType';
17947
18245
  id?: string | null;
@@ -18415,6 +18713,8 @@ export type CompaniesQuery = {
18415
18713
  called?: number | null;
18416
18714
  connected?: number | null;
18417
18715
  lastActivity?: any | null;
18716
+ script?: string | null;
18717
+ callScriptTemplateId?: string | null;
18418
18718
  user?: {
18419
18719
  __typename?: 'UserType';
18420
18720
  id?: string | null;
@@ -18620,6 +18920,8 @@ export type CompaniesQuery = {
18620
18920
  called?: number | null;
18621
18921
  connected?: number | null;
18622
18922
  lastActivity?: any | null;
18923
+ script?: string | null;
18924
+ callScriptTemplateId?: string | null;
18623
18925
  user?: {
18624
18926
  __typename?: 'UserType';
18625
18927
  id?: string | null;
@@ -19098,6 +19400,8 @@ export type CompanyQuery = {
19098
19400
  called?: number | null;
19099
19401
  connected?: number | null;
19100
19402
  lastActivity?: any | null;
19403
+ script?: string | null;
19404
+ callScriptTemplateId?: string | null;
19101
19405
  user?: {
19102
19406
  __typename?: 'UserType';
19103
19407
  id?: string | null;
@@ -19303,6 +19607,8 @@ export type CompanyQuery = {
19303
19607
  called?: number | null;
19304
19608
  connected?: number | null;
19305
19609
  lastActivity?: any | null;
19610
+ script?: string | null;
19611
+ callScriptTemplateId?: string | null;
19306
19612
  user?: {
19307
19613
  __typename?: 'UserType';
19308
19614
  id?: string | null;
@@ -19742,6 +20048,8 @@ export type CompanyNoteQuery = {
19742
20048
  called?: number | null;
19743
20049
  connected?: number | null;
19744
20050
  lastActivity?: any | null;
20051
+ script?: string | null;
20052
+ callScriptTemplateId?: string | null;
19745
20053
  user?: {
19746
20054
  __typename?: 'UserType';
19747
20055
  id?: string | null;
@@ -19905,6 +20213,8 @@ export type CompanyNotesQuery = {
19905
20213
  called?: number | null;
19906
20214
  connected?: number | null;
19907
20215
  lastActivity?: any | null;
20216
+ script?: string | null;
20217
+ callScriptTemplateId?: string | null;
19908
20218
  user?: {
19909
20219
  __typename?: 'UserType';
19910
20220
  id?: string | null;
@@ -20160,6 +20470,8 @@ export type CompanySearchQuery = {
20160
20470
  called?: number | null;
20161
20471
  connected?: number | null;
20162
20472
  lastActivity?: any | null;
20473
+ script?: string | null;
20474
+ callScriptTemplateId?: string | null;
20163
20475
  user?: {
20164
20476
  __typename?: 'UserType';
20165
20477
  id?: string | null;
@@ -20365,6 +20677,8 @@ export type CompanySearchQuery = {
20365
20677
  called?: number | null;
20366
20678
  connected?: number | null;
20367
20679
  lastActivity?: any | null;
20680
+ script?: string | null;
20681
+ callScriptTemplateId?: string | null;
20368
20682
  user?: {
20369
20683
  __typename?: 'UserType';
20370
20684
  id?: string | null;
@@ -21587,6 +21901,8 @@ export type MysupplierQuery = {
21587
21901
  called?: number | null;
21588
21902
  connected?: number | null;
21589
21903
  lastActivity?: any | null;
21904
+ script?: string | null;
21905
+ callScriptTemplateId?: string | null;
21590
21906
  user?: {
21591
21907
  __typename?: 'UserType';
21592
21908
  id?: string | null;
@@ -21792,6 +22108,8 @@ export type MysupplierQuery = {
21792
22108
  called?: number | null;
21793
22109
  connected?: number | null;
21794
22110
  lastActivity?: any | null;
22111
+ script?: string | null;
22112
+ callScriptTemplateId?: string | null;
21795
22113
  user?: {
21796
22114
  __typename?: 'UserType';
21797
22115
  id?: string | null;
@@ -22262,6 +22580,8 @@ export type MysupplierListQuery = {
22262
22580
  called?: number | null;
22263
22581
  connected?: number | null;
22264
22582
  lastActivity?: any | null;
22583
+ script?: string | null;
22584
+ callScriptTemplateId?: string | null;
22265
22585
  user?: {
22266
22586
  __typename?: 'UserType';
22267
22587
  id?: string | null;
@@ -22467,6 +22787,8 @@ export type MysupplierListQuery = {
22467
22787
  called?: number | null;
22468
22788
  connected?: number | null;
22469
22789
  lastActivity?: any | null;
22790
+ script?: string | null;
22791
+ callScriptTemplateId?: string | null;
22470
22792
  user?: {
22471
22793
  __typename?: 'UserType';
22472
22794
  id?: string | null;
@@ -22930,6 +23252,7 @@ export type RecentHistoryQuery = {
22930
23252
  siteVisitNotes?: string | null;
22931
23253
  siteVisitType?: string | null;
22932
23254
  metadata?: any | null;
23255
+ createdAt?: any | null;
22933
23256
  contact?: {
22934
23257
  __typename?: 'ContactObject';
22935
23258
  id?: string | null;
@@ -23156,6 +23479,8 @@ export type RecentHistoryQuery = {
23156
23479
  called?: number | null;
23157
23480
  connected?: number | null;
23158
23481
  lastActivity?: any | null;
23482
+ script?: string | null;
23483
+ callScriptTemplateId?: string | null;
23159
23484
  user?: {
23160
23485
  __typename?: 'UserType';
23161
23486
  id?: string | null;
@@ -23361,6 +23686,8 @@ export type RecentHistoryQuery = {
23361
23686
  called?: number | null;
23362
23687
  connected?: number | null;
23363
23688
  lastActivity?: any | null;
23689
+ script?: string | null;
23690
+ callScriptTemplateId?: string | null;
23364
23691
  user?: {
23365
23692
  __typename?: 'UserType';
23366
23693
  id?: string | null;
@@ -24945,6 +25272,8 @@ export type SupplierQuery = {
24945
25272
  called?: number | null;
24946
25273
  connected?: number | null;
24947
25274
  lastActivity?: any | null;
25275
+ script?: string | null;
25276
+ callScriptTemplateId?: string | null;
24948
25277
  user?: {
24949
25278
  __typename?: 'UserType';
24950
25279
  id?: string | null;
@@ -25150,6 +25479,8 @@ export type SupplierQuery = {
25150
25479
  called?: number | null;
25151
25480
  connected?: number | null;
25152
25481
  lastActivity?: any | null;
25482
+ script?: string | null;
25483
+ callScriptTemplateId?: string | null;
25153
25484
  user?: {
25154
25485
  __typename?: 'UserType';
25155
25486
  id?: string | null;
@@ -25729,6 +26060,8 @@ export type SupplierlistQuery = {
25729
26060
  called?: number | null;
25730
26061
  connected?: number | null;
25731
26062
  lastActivity?: any | null;
26063
+ script?: string | null;
26064
+ callScriptTemplateId?: string | null;
25732
26065
  user?: {
25733
26066
  __typename?: 'UserType';
25734
26067
  id?: string | null;
@@ -25934,6 +26267,8 @@ export type SupplierlistQuery = {
25934
26267
  called?: number | null;
25935
26268
  connected?: number | null;
25936
26269
  lastActivity?: any | null;
26270
+ script?: string | null;
26271
+ callScriptTemplateId?: string | null;
25937
26272
  user?: {
25938
26273
  __typename?: 'UserType';
25939
26274
  id?: string | null;
@@ -26404,6 +26739,8 @@ export type SupplierlistListQuery = {
26404
26739
  called?: number | null;
26405
26740
  connected?: number | null;
26406
26741
  lastActivity?: any | null;
26742
+ script?: string | null;
26743
+ callScriptTemplateId?: string | null;
26407
26744
  user?: {
26408
26745
  __typename?: 'UserType';
26409
26746
  id?: string | null;
@@ -26609,6 +26946,8 @@ export type SupplierlistListQuery = {
26609
26946
  called?: number | null;
26610
26947
  connected?: number | null;
26611
26948
  lastActivity?: any | null;
26949
+ script?: string | null;
26950
+ callScriptTemplateId?: string | null;
26612
26951
  user?: {
26613
26952
  __typename?: 'UserType';
26614
26953
  id?: string | null;
@@ -27189,6 +27528,8 @@ export type SuppliersQuery = {
27189
27528
  called?: number | null;
27190
27529
  connected?: number | null;
27191
27530
  lastActivity?: any | null;
27531
+ script?: string | null;
27532
+ callScriptTemplateId?: string | null;
27192
27533
  user?: {
27193
27534
  __typename?: 'UserType';
27194
27535
  id?: string | null;
@@ -27394,6 +27735,8 @@ export type SuppliersQuery = {
27394
27735
  called?: number | null;
27395
27736
  connected?: number | null;
27396
27737
  lastActivity?: any | null;
27738
+ script?: string | null;
27739
+ callScriptTemplateId?: string | null;
27397
27740
  user?: {
27398
27741
  __typename?: 'UserType';
27399
27742
  id?: string | null;
@@ -27764,6 +28107,8 @@ export type TaskQuery = {
27764
28107
  called?: number | null;
27765
28108
  connected?: number | null;
27766
28109
  lastActivity?: any | null;
28110
+ script?: string | null;
28111
+ callScriptTemplateId?: string | null;
27767
28112
  user?: {
27768
28113
  __typename?: 'UserType';
27769
28114
  id?: string | null;
@@ -27927,6 +28272,8 @@ export type TasksQuery = {
27927
28272
  called?: number | null;
27928
28273
  connected?: number | null;
27929
28274
  lastActivity?: any | null;
28275
+ script?: string | null;
28276
+ callScriptTemplateId?: string | null;
27930
28277
  user?: {
27931
28278
  __typename?: 'UserType';
27932
28279
  id?: string | null;
@@ -28641,6 +28988,31 @@ export declare function useCreateCallCampaignLogMutation(baseOptions?: Apollo.Mu
28641
28988
  export type CreateCallCampaignLogMutationHookResult = ReturnType<typeof useCreateCallCampaignLogMutation>;
28642
28989
  export type CreateCallCampaignLogMutationResult = Apollo.MutationResult<CreateCallCampaignLogMutation>;
28643
28990
  export type CreateCallCampaignLogMutationOptions = Apollo.BaseMutationOptions<CreateCallCampaignLogMutation, CreateCallCampaignLogMutationVariables>;
28991
+ export declare const CreateCallScriptTemplateDocument: Apollo.DocumentNode;
28992
+ export type CreateCallScriptTemplateMutationFn = Apollo.MutationFunction<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>;
28993
+ /**
28994
+ * __useCreateCallScriptTemplateMutation__
28995
+ *
28996
+ * To run a mutation, you first call `useCreateCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
28997
+ * When your component renders, `useCreateCallScriptTemplateMutation` returns a tuple that includes:
28998
+ * - A mutate function that you can call at any time to execute the mutation
28999
+ * - An object with fields that represent the current status of the mutation's execution
29000
+ *
29001
+ * @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;
29002
+ *
29003
+ * @example
29004
+ * const [createCallScriptTemplateMutation, { data, loading, error }] = useCreateCallScriptTemplateMutation({
29005
+ * variables: {
29006
+ * input: // value for 'input'
29007
+ * },
29008
+ * });
29009
+ */
29010
+ export declare function useCreateCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>): Apollo.MutationTuple<CreateCallScriptTemplateMutation, Exact<{
29011
+ input: CallScriptTemplateInput;
29012
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
29013
+ export type CreateCallScriptTemplateMutationHookResult = ReturnType<typeof useCreateCallScriptTemplateMutation>;
29014
+ export type CreateCallScriptTemplateMutationResult = Apollo.MutationResult<CreateCallScriptTemplateMutation>;
29015
+ export type CreateCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<CreateCallScriptTemplateMutation, CreateCallScriptTemplateMutationVariables>;
28644
29016
  export declare const CreateCampaignDocument: Apollo.DocumentNode;
28645
29017
  export type CreateCampaignMutationFn = Apollo.MutationFunction<CreateCampaignMutation, CreateCampaignMutationVariables>;
28646
29018
  /**
@@ -29072,6 +29444,31 @@ export declare function useDeleteCallCampaignMutation(baseOptions?: Apollo.Mutat
29072
29444
  export type DeleteCallCampaignMutationHookResult = ReturnType<typeof useDeleteCallCampaignMutation>;
29073
29445
  export type DeleteCallCampaignMutationResult = Apollo.MutationResult<DeleteCallCampaignMutation>;
29074
29446
  export type DeleteCallCampaignMutationOptions = Apollo.BaseMutationOptions<DeleteCallCampaignMutation, DeleteCallCampaignMutationVariables>;
29447
+ export declare const DeleteCallScriptTemplateDocument: Apollo.DocumentNode;
29448
+ export type DeleteCallScriptTemplateMutationFn = Apollo.MutationFunction<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>;
29449
+ /**
29450
+ * __useDeleteCallScriptTemplateMutation__
29451
+ *
29452
+ * To run a mutation, you first call `useDeleteCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
29453
+ * When your component renders, `useDeleteCallScriptTemplateMutation` returns a tuple that includes:
29454
+ * - A mutate function that you can call at any time to execute the mutation
29455
+ * - An object with fields that represent the current status of the mutation's execution
29456
+ *
29457
+ * @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;
29458
+ *
29459
+ * @example
29460
+ * const [deleteCallScriptTemplateMutation, { data, loading, error }] = useDeleteCallScriptTemplateMutation({
29461
+ * variables: {
29462
+ * uuid: // value for 'uuid'
29463
+ * },
29464
+ * });
29465
+ */
29466
+ export declare function useDeleteCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>): Apollo.MutationTuple<DeleteCallScriptTemplateMutation, Exact<{
29467
+ uuid: Scalars["UUID"]["input"];
29468
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
29469
+ export type DeleteCallScriptTemplateMutationHookResult = ReturnType<typeof useDeleteCallScriptTemplateMutation>;
29470
+ export type DeleteCallScriptTemplateMutationResult = Apollo.MutationResult<DeleteCallScriptTemplateMutation>;
29471
+ export type DeleteCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<DeleteCallScriptTemplateMutation, DeleteCallScriptTemplateMutationVariables>;
29075
29472
  export declare const DeleteCampaignDocument: Apollo.DocumentNode;
29076
29473
  export type DeleteCampaignMutationFn = Apollo.MutationFunction<DeleteCampaignMutation, DeleteCampaignMutationVariables>;
29077
29474
  /**
@@ -29546,6 +29943,31 @@ export declare function useForgotPasswordMutation(baseOptions?: Apollo.MutationH
29546
29943
  export type ForgotPasswordMutationHookResult = ReturnType<typeof useForgotPasswordMutation>;
29547
29944
  export type ForgotPasswordMutationResult = Apollo.MutationResult<ForgotPasswordMutation>;
29548
29945
  export type ForgotPasswordMutationOptions = Apollo.BaseMutationOptions<ForgotPasswordMutation, ForgotPasswordMutationVariables>;
29946
+ export declare const GenerateCallCampaignScriptDocument: Apollo.DocumentNode;
29947
+ export type GenerateCallCampaignScriptMutationFn = Apollo.MutationFunction<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>;
29948
+ /**
29949
+ * __useGenerateCallCampaignScriptMutation__
29950
+ *
29951
+ * To run a mutation, you first call `useGenerateCallCampaignScriptMutation` within a React component and pass it any options that fit your needs.
29952
+ * When your component renders, `useGenerateCallCampaignScriptMutation` returns a tuple that includes:
29953
+ * - A mutate function that you can call at any time to execute the mutation
29954
+ * - An object with fields that represent the current status of the mutation's execution
29955
+ *
29956
+ * @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;
29957
+ *
29958
+ * @example
29959
+ * const [generateCallCampaignScriptMutation, { data, loading, error }] = useGenerateCallCampaignScriptMutation({
29960
+ * variables: {
29961
+ * input: // value for 'input'
29962
+ * },
29963
+ * });
29964
+ */
29965
+ export declare function useGenerateCallCampaignScriptMutation(baseOptions?: Apollo.MutationHookOptions<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>): Apollo.MutationTuple<GenerateCallCampaignScriptMutation, Exact<{
29966
+ input: GenerateCallCampaignScriptInput;
29967
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
29968
+ export type GenerateCallCampaignScriptMutationHookResult = ReturnType<typeof useGenerateCallCampaignScriptMutation>;
29969
+ export type GenerateCallCampaignScriptMutationResult = Apollo.MutationResult<GenerateCallCampaignScriptMutation>;
29970
+ export type GenerateCallCampaignScriptMutationOptions = Apollo.BaseMutationOptions<GenerateCallCampaignScriptMutation, GenerateCallCampaignScriptMutationVariables>;
29549
29971
  export declare const GenerateNewEmailDocument: Apollo.DocumentNode;
29550
29972
  export type GenerateNewEmailMutationFn = Apollo.MutationFunction<GenerateNewEmailMutation, GenerateNewEmailMutationVariables>;
29551
29973
  /**
@@ -30150,6 +30572,30 @@ export declare function useRemoveSupplierFromSupplierListMutation(baseOptions?:
30150
30572
  export type RemoveSupplierFromSupplierListMutationHookResult = ReturnType<typeof useRemoveSupplierFromSupplierListMutation>;
30151
30573
  export type RemoveSupplierFromSupplierListMutationResult = Apollo.MutationResult<RemoveSupplierFromSupplierListMutation>;
30152
30574
  export type RemoveSupplierFromSupplierListMutationOptions = Apollo.BaseMutationOptions<RemoveSupplierFromSupplierListMutation, RemoveSupplierFromSupplierListMutationVariables>;
30575
+ export declare const RequestProAccessDocument: Apollo.DocumentNode;
30576
+ export type RequestProAccessMutationFn = Apollo.MutationFunction<RequestProAccessMutation, RequestProAccessMutationVariables>;
30577
+ /**
30578
+ * __useRequestProAccessMutation__
30579
+ *
30580
+ * To run a mutation, you first call `useRequestProAccessMutation` within a React component and pass it any options that fit your needs.
30581
+ * When your component renders, `useRequestProAccessMutation` returns a tuple that includes:
30582
+ * - A mutate function that you can call at any time to execute the mutation
30583
+ * - An object with fields that represent the current status of the mutation's execution
30584
+ *
30585
+ * @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;
30586
+ *
30587
+ * @example
30588
+ * const [requestProAccessMutation, { data, loading, error }] = useRequestProAccessMutation({
30589
+ * variables: {
30590
+ * },
30591
+ * });
30592
+ */
30593
+ export declare function useRequestProAccessMutation(baseOptions?: Apollo.MutationHookOptions<RequestProAccessMutation, RequestProAccessMutationVariables>): Apollo.MutationTuple<RequestProAccessMutation, Exact<{
30594
+ [key: string]: never;
30595
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
30596
+ export type RequestProAccessMutationHookResult = ReturnType<typeof useRequestProAccessMutation>;
30597
+ export type RequestProAccessMutationResult = Apollo.MutationResult<RequestProAccessMutation>;
30598
+ export type RequestProAccessMutationOptions = Apollo.BaseMutationOptions<RequestProAccessMutation, RequestProAccessMutationVariables>;
30153
30599
  export declare const ResumeCombinedCampaignDocument: Apollo.DocumentNode;
30154
30600
  export type ResumeCombinedCampaignMutationFn = Apollo.MutationFunction<ResumeCombinedCampaignMutation, ResumeCombinedCampaignMutationVariables>;
30155
30601
  /**
@@ -30727,6 +31173,33 @@ export declare function useUpdateCallCampaignLogMutation(baseOptions?: Apollo.Mu
30727
31173
  export type UpdateCallCampaignLogMutationHookResult = ReturnType<typeof useUpdateCallCampaignLogMutation>;
30728
31174
  export type UpdateCallCampaignLogMutationResult = Apollo.MutationResult<UpdateCallCampaignLogMutation>;
30729
31175
  export type UpdateCallCampaignLogMutationOptions = Apollo.BaseMutationOptions<UpdateCallCampaignLogMutation, UpdateCallCampaignLogMutationVariables>;
31176
+ export declare const UpdateCallScriptTemplateDocument: Apollo.DocumentNode;
31177
+ export type UpdateCallScriptTemplateMutationFn = Apollo.MutationFunction<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>;
31178
+ /**
31179
+ * __useUpdateCallScriptTemplateMutation__
31180
+ *
31181
+ * To run a mutation, you first call `useUpdateCallScriptTemplateMutation` within a React component and pass it any options that fit your needs.
31182
+ * When your component renders, `useUpdateCallScriptTemplateMutation` returns a tuple that includes:
31183
+ * - A mutate function that you can call at any time to execute the mutation
31184
+ * - An object with fields that represent the current status of the mutation's execution
31185
+ *
31186
+ * @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;
31187
+ *
31188
+ * @example
31189
+ * const [updateCallScriptTemplateMutation, { data, loading, error }] = useUpdateCallScriptTemplateMutation({
31190
+ * variables: {
31191
+ * input: // value for 'input'
31192
+ * uuid: // value for 'uuid'
31193
+ * },
31194
+ * });
31195
+ */
31196
+ export declare function useUpdateCallScriptTemplateMutation(baseOptions?: Apollo.MutationHookOptions<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>): Apollo.MutationTuple<UpdateCallScriptTemplateMutation, Exact<{
31197
+ input: CallScriptTemplateInput;
31198
+ uuid: Scalars["UUID"]["input"];
31199
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
31200
+ export type UpdateCallScriptTemplateMutationHookResult = ReturnType<typeof useUpdateCallScriptTemplateMutation>;
31201
+ export type UpdateCallScriptTemplateMutationResult = Apollo.MutationResult<UpdateCallScriptTemplateMutation>;
31202
+ export type UpdateCallScriptTemplateMutationOptions = Apollo.BaseMutationOptions<UpdateCallScriptTemplateMutation, UpdateCallScriptTemplateMutationVariables>;
30730
31203
  export declare const UpdateCampaignDocument: Apollo.DocumentNode;
30731
31204
  export type UpdateCampaignMutationFn = Apollo.MutationFunction<UpdateCampaignMutation, UpdateCampaignMutationVariables>;
30732
31205
  /**
@@ -31592,6 +32065,45 @@ export type CallCampaignReportQueryHookResult = ReturnType<typeof useCallCampaig
31592
32065
  export type CallCampaignReportLazyQueryHookResult = ReturnType<typeof useCallCampaignReportLazyQuery>;
31593
32066
  export type CallCampaignReportSuspenseQueryHookResult = ReturnType<typeof useCallCampaignReportSuspenseQuery>;
31594
32067
  export type CallCampaignReportQueryResult = Apollo.QueryResult<CallCampaignReportQuery, CallCampaignReportQueryVariables>;
32068
+ export declare const CallCampaignScriptPreviewDocument: Apollo.DocumentNode;
32069
+ /**
32070
+ * __useCallCampaignScriptPreviewQuery__
32071
+ *
32072
+ * To run a query within a React component, call `useCallCampaignScriptPreviewQuery` and pass it any options that fit your needs.
32073
+ * When your component renders, `useCallCampaignScriptPreviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
32074
+ * you can use to render your UI.
32075
+ *
32076
+ * @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;
32077
+ *
32078
+ * @example
32079
+ * const { data, loading, error } = useCallCampaignScriptPreviewQuery({
32080
+ * variables: {
32081
+ * campaignId: // value for 'campaignId'
32082
+ * contactId: // value for 'contactId'
32083
+ * },
32084
+ * });
32085
+ */
32086
+ export declare function useCallCampaignScriptPreviewQuery(baseOptions: Apollo.QueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables> & ({
32087
+ variables: CallCampaignScriptPreviewQueryVariables;
32088
+ skip?: boolean;
32089
+ } | {
32090
+ skip: boolean;
32091
+ })): Apollo.QueryResult<CallCampaignScriptPreviewQuery, Exact<{
32092
+ campaignId: Scalars["ID"]["input"];
32093
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32094
+ }>>;
32095
+ export declare function useCallCampaignScriptPreviewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>): Apollo.LazyQueryResultTuple<CallCampaignScriptPreviewQuery, Exact<{
32096
+ campaignId: Scalars["ID"]["input"];
32097
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32098
+ }>>;
32099
+ export declare function useCallCampaignScriptPreviewSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>): Apollo.UseSuspenseQueryResult<CallCampaignScriptPreviewQuery | undefined, Exact<{
32100
+ campaignId: Scalars["ID"]["input"];
32101
+ contactId?: InputMaybe<Scalars["ID"]["input"]>;
32102
+ }>>;
32103
+ export type CallCampaignScriptPreviewQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewQuery>;
32104
+ export type CallCampaignScriptPreviewLazyQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewLazyQuery>;
32105
+ export type CallCampaignScriptPreviewSuspenseQueryHookResult = ReturnType<typeof useCallCampaignScriptPreviewSuspenseQuery>;
32106
+ export type CallCampaignScriptPreviewQueryResult = Apollo.QueryResult<CallCampaignScriptPreviewQuery, CallCampaignScriptPreviewQueryVariables>;
31595
32107
  export declare const CallCampaignsDocument: Apollo.DocumentNode;
31596
32108
  /**
31597
32109
  * __useCallCampaignsQuery__
@@ -31639,6 +32151,70 @@ export type CallCampaignsQueryHookResult = ReturnType<typeof useCallCampaignsQue
31639
32151
  export type CallCampaignsLazyQueryHookResult = ReturnType<typeof useCallCampaignsLazyQuery>;
31640
32152
  export type CallCampaignsSuspenseQueryHookResult = ReturnType<typeof useCallCampaignsSuspenseQuery>;
31641
32153
  export type CallCampaignsQueryResult = Apollo.QueryResult<CallCampaignsQuery, CallCampaignsQueryVariables>;
32154
+ export declare const CallScriptTemplateDocument: Apollo.DocumentNode;
32155
+ /**
32156
+ * __useCallScriptTemplateQuery__
32157
+ *
32158
+ * To run a query within a React component, call `useCallScriptTemplateQuery` and pass it any options that fit your needs.
32159
+ * When your component renders, `useCallScriptTemplateQuery` returns an object from Apollo Client that contains loading, error, and data properties
32160
+ * you can use to render your UI.
32161
+ *
32162
+ * @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;
32163
+ *
32164
+ * @example
32165
+ * const { data, loading, error } = useCallScriptTemplateQuery({
32166
+ * variables: {
32167
+ * uuid: // value for 'uuid'
32168
+ * },
32169
+ * });
32170
+ */
32171
+ export declare function useCallScriptTemplateQuery(baseOptions: Apollo.QueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables> & ({
32172
+ variables: CallScriptTemplateQueryVariables;
32173
+ skip?: boolean;
32174
+ } | {
32175
+ skip: boolean;
32176
+ })): Apollo.QueryResult<CallScriptTemplateQuery, Exact<{
32177
+ uuid: Scalars["UUID"]["input"];
32178
+ }>>;
32179
+ export declare function useCallScriptTemplateLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>): Apollo.LazyQueryResultTuple<CallScriptTemplateQuery, Exact<{
32180
+ uuid: Scalars["UUID"]["input"];
32181
+ }>>;
32182
+ export declare function useCallScriptTemplateSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>): Apollo.UseSuspenseQueryResult<CallScriptTemplateQuery | undefined, Exact<{
32183
+ uuid: Scalars["UUID"]["input"];
32184
+ }>>;
32185
+ export type CallScriptTemplateQueryHookResult = ReturnType<typeof useCallScriptTemplateQuery>;
32186
+ export type CallScriptTemplateLazyQueryHookResult = ReturnType<typeof useCallScriptTemplateLazyQuery>;
32187
+ export type CallScriptTemplateSuspenseQueryHookResult = ReturnType<typeof useCallScriptTemplateSuspenseQuery>;
32188
+ export type CallScriptTemplateQueryResult = Apollo.QueryResult<CallScriptTemplateQuery, CallScriptTemplateQueryVariables>;
32189
+ export declare const CallScriptTemplatesDocument: Apollo.DocumentNode;
32190
+ /**
32191
+ * __useCallScriptTemplatesQuery__
32192
+ *
32193
+ * To run a query within a React component, call `useCallScriptTemplatesQuery` and pass it any options that fit your needs.
32194
+ * When your component renders, `useCallScriptTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
32195
+ * you can use to render your UI.
32196
+ *
32197
+ * @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;
32198
+ *
32199
+ * @example
32200
+ * const { data, loading, error } = useCallScriptTemplatesQuery({
32201
+ * variables: {
32202
+ * },
32203
+ * });
32204
+ */
32205
+ export declare function useCallScriptTemplatesQuery(baseOptions?: Apollo.QueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.QueryResult<CallScriptTemplatesQuery, Exact<{
32206
+ [key: string]: never;
32207
+ }>>;
32208
+ export declare function useCallScriptTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<CallScriptTemplatesQuery, Exact<{
32209
+ [key: string]: never;
32210
+ }>>;
32211
+ export declare function useCallScriptTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<CallScriptTemplatesQuery | undefined, Exact<{
32212
+ [key: string]: never;
32213
+ }>>;
32214
+ export type CallScriptTemplatesQueryHookResult = ReturnType<typeof useCallScriptTemplatesQuery>;
32215
+ export type CallScriptTemplatesLazyQueryHookResult = ReturnType<typeof useCallScriptTemplatesLazyQuery>;
32216
+ export type CallScriptTemplatesSuspenseQueryHookResult = ReturnType<typeof useCallScriptTemplatesSuspenseQuery>;
32217
+ export type CallScriptTemplatesQueryResult = Apollo.QueryResult<CallScriptTemplatesQuery, CallScriptTemplatesQueryVariables>;
31642
32218
  export declare const CampaignDocument: Apollo.DocumentNode;
31643
32219
  /**
31644
32220
  * __useCampaignQuery__