cf-service-sdk-dharani 0.0.71 → 0.0.72

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.
@@ -1474,8 +1474,8 @@ export type EmailToneInput = {
1474
1474
  emailContent: Scalars['String']['input'];
1475
1475
  /** Number of variations to generate (default: 3) */
1476
1476
  numVariations?: InputMaybe<Scalars['Int']['input']>;
1477
- /** Previous variations to avoid repetition */
1478
- previousVariations?: InputMaybe<Scalars['JSONString']['input']>;
1477
+ /** List of previous variations to avoid repetition */
1478
+ previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1479
1479
  /** Original email subject (optional) */
1480
1480
  subject?: InputMaybe<Scalars['String']['input']>;
1481
1481
  /** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
@@ -1718,8 +1718,6 @@ export type Mutation = {
1718
1718
  pauseCampaign?: Maybe<PauseCampaign>;
1719
1719
  /** Preview how a campaign email would look for a specific contact without sending it */
1720
1720
  previewCampaignEmail?: Maybe<PreviewCampaignEmail>;
1721
- /** ReduceSpam - Reduce spam score of email content using Claude LLM */
1722
- reduceSpam?: Maybe<ReduceSpam>;
1723
1721
  /** RejectInvitation - Reject an invitation to join an account */
1724
1722
  rejectInvitation?: Maybe<RejectInvitation>;
1725
1723
  removeContactsFromCampaign?: Maybe<RemoveContactsFromCampaign>;
@@ -1923,10 +1921,6 @@ export type MutationPreviewCampaignEmailArgs = {
1923
1921
  customTemplate?: InputMaybe<Scalars['String']['input']>;
1924
1922
  };
1925
1923
  /** Mutations */
1926
- export type MutationReduceSpamArgs = {
1927
- input: ReduceSpamInput;
1928
- };
1929
- /** Mutations */
1930
1924
  export type MutationRejectInvitationArgs = {
1931
1925
  input: InvitationResponseInput;
1932
1926
  };
@@ -2562,33 +2556,6 @@ export type RecentlyContactedContactType = {
2562
2556
  daysSinceContact?: Maybe<Scalars['Int']['output']>;
2563
2557
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2564
2558
  };
2565
- /** ReduceSpam - Reduce spam score of email content using Claude LLM */
2566
- export type ReduceSpam = {
2567
- __typename?: 'ReduceSpam';
2568
- message?: Maybe<Scalars['String']['output']>;
2569
- reduceSpamResponse?: Maybe<ReduceSpamResponse>;
2570
- success?: Maybe<Scalars['Boolean']['output']>;
2571
- };
2572
- /** ReduceSpamInput for reducing spam score of email content */
2573
- export type ReduceSpamInput = {
2574
- /** Original email content */
2575
- emailContent: Scalars['String']['input'];
2576
- /** Original email subject (optional) */
2577
- subject?: InputMaybe<Scalars['String']['input']>;
2578
- };
2579
- /** ReduceSpamResponse - Response for spam reduction */
2580
- export type ReduceSpamResponse = {
2581
- __typename?: 'ReduceSpamResponse';
2582
- changesMade?: Maybe<Scalars['JSONString']['output']>;
2583
- cleanedContent?: Maybe<Scalars['String']['output']>;
2584
- cleanedSubject?: Maybe<Scalars['String']['output']>;
2585
- message?: Maybe<Scalars['String']['output']>;
2586
- noChangesNeeded?: Maybe<Scalars['Boolean']['output']>;
2587
- noOfChanges?: Maybe<Scalars['Int']['output']>;
2588
- originalContent?: Maybe<Scalars['String']['output']>;
2589
- originalSubject?: Maybe<Scalars['String']['output']>;
2590
- success?: Maybe<Scalars['Boolean']['output']>;
2591
- };
2592
2559
  /** RejectInvitation - Reject an invitation to join an account */
2593
2560
  export type RejectInvitation = {
2594
2561
  __typename?: 'RejectInvitation';
@@ -5431,29 +5398,6 @@ export type PreviewCampaignEmailMutation = {
5431
5398
  companyName?: string | null;
5432
5399
  } | null;
5433
5400
  };
5434
- export type ReduceSpamMutationVariables = Exact<{
5435
- input: ReduceSpamInput;
5436
- }>;
5437
- export type ReduceSpamMutation = {
5438
- __typename?: 'Mutation';
5439
- reduceSpam?: {
5440
- __typename?: 'ReduceSpam';
5441
- success?: boolean | null;
5442
- message?: string | null;
5443
- reduceSpamResponse?: {
5444
- __typename?: 'ReduceSpamResponse';
5445
- success?: boolean | null;
5446
- message?: string | null;
5447
- originalSubject?: string | null;
5448
- cleanedSubject?: string | null;
5449
- originalContent?: string | null;
5450
- cleanedContent?: string | null;
5451
- changesMade?: any | null;
5452
- noOfChanges?: number | null;
5453
- noChangesNeeded?: boolean | null;
5454
- } | null;
5455
- } | null;
5456
- };
5457
5401
  export type RejectInvitationMutationVariables = Exact<{
5458
5402
  input: InvitationResponseInput;
5459
5403
  }>;
@@ -14025,31 +13969,6 @@ export declare function usePreviewCampaignEmailMutation(baseOptions?: Apollo.Mut
14025
13969
  export type PreviewCampaignEmailMutationHookResult = ReturnType<typeof usePreviewCampaignEmailMutation>;
14026
13970
  export type PreviewCampaignEmailMutationResult = Apollo.MutationResult<PreviewCampaignEmailMutation>;
14027
13971
  export type PreviewCampaignEmailMutationOptions = Apollo.BaseMutationOptions<PreviewCampaignEmailMutation, PreviewCampaignEmailMutationVariables>;
14028
- export declare const ReduceSpamDocument: Apollo.DocumentNode;
14029
- export type ReduceSpamMutationFn = Apollo.MutationFunction<ReduceSpamMutation, ReduceSpamMutationVariables>;
14030
- /**
14031
- * __useReduceSpamMutation__
14032
- *
14033
- * To run a mutation, you first call `useReduceSpamMutation` within a React component and pass it any options that fit your needs.
14034
- * When your component renders, `useReduceSpamMutation` returns a tuple that includes:
14035
- * - A mutate function that you can call at any time to execute the mutation
14036
- * - An object with fields that represent the current status of the mutation's execution
14037
- *
14038
- * @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;
14039
- *
14040
- * @example
14041
- * const [reduceSpamMutation, { data, loading, error }] = useReduceSpamMutation({
14042
- * variables: {
14043
- * input: // value for 'input'
14044
- * },
14045
- * });
14046
- */
14047
- export declare function useReduceSpamMutation(baseOptions?: Apollo.MutationHookOptions<ReduceSpamMutation, ReduceSpamMutationVariables>): Apollo.MutationTuple<ReduceSpamMutation, Exact<{
14048
- input: ReduceSpamInput;
14049
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
14050
- export type ReduceSpamMutationHookResult = ReturnType<typeof useReduceSpamMutation>;
14051
- export type ReduceSpamMutationResult = Apollo.MutationResult<ReduceSpamMutation>;
14052
- export type ReduceSpamMutationOptions = Apollo.BaseMutationOptions<ReduceSpamMutation, ReduceSpamMutationVariables>;
14053
13972
  export declare const RejectInvitationDocument: Apollo.DocumentNode;
14054
13973
  export type RejectInvitationMutationFn = Apollo.MutationFunction<RejectInvitationMutation, RejectInvitationMutationVariables>;
14055
13974
  /**
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCampaignDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppNotificationNotificationTypeChoices = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = void 0;
37
- exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SendTestEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCampaignDocument = void 0;
38
- exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ContactsInSegmentDocument = void 0;
37
+ exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SendTestEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.PreviewCampaignEmailDocument = exports.PauseCampaignDocument = void 0;
38
+ exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = void 0;
39
39
  exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
40
40
  exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
41
41
  exports.useAddContactsToSegmentMutation = useAddContactsToSegmentMutation;
@@ -77,7 +77,6 @@ exports.useMarkAllNotificationsAsReadMutation = useMarkAllNotificationsAsReadMut
77
77
  exports.useMarkNotificationAsReadMutation = useMarkNotificationAsReadMutation;
78
78
  exports.usePauseCampaignMutation = usePauseCampaignMutation;
79
79
  exports.usePreviewCampaignEmailMutation = usePreviewCampaignEmailMutation;
80
- exports.useReduceSpamMutation = useReduceSpamMutation;
81
80
  exports.useRejectInvitationMutation = useRejectInvitationMutation;
82
81
  exports.useRemoveContactsFromCampaignMutation = useRemoveContactsFromCampaignMutation;
83
82
  exports.useRemoveContactsFromSegmentMutation = useRemoveContactsFromSegmentMutation;
@@ -3533,46 +3532,6 @@ function usePreviewCampaignEmailMutation(baseOptions) {
3533
3532
  const options = { ...defaultOptions, ...baseOptions };
3534
3533
  return Apollo.useMutation(exports.PreviewCampaignEmailDocument, options);
3535
3534
  }
3536
- exports.ReduceSpamDocument = (0, client_1.gql) `
3537
- mutation ReduceSpam($input: ReduceSpamInput!) {
3538
- reduceSpam(input: $input) {
3539
- success
3540
- message
3541
- reduceSpamResponse {
3542
- success
3543
- message
3544
- originalSubject
3545
- cleanedSubject
3546
- originalContent
3547
- cleanedContent
3548
- changesMade
3549
- noOfChanges
3550
- noChangesNeeded
3551
- }
3552
- }
3553
- }
3554
- `;
3555
- /**
3556
- * __useReduceSpamMutation__
3557
- *
3558
- * To run a mutation, you first call `useReduceSpamMutation` within a React component and pass it any options that fit your needs.
3559
- * When your component renders, `useReduceSpamMutation` returns a tuple that includes:
3560
- * - A mutate function that you can call at any time to execute the mutation
3561
- * - An object with fields that represent the current status of the mutation's execution
3562
- *
3563
- * @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;
3564
- *
3565
- * @example
3566
- * const [reduceSpamMutation, { data, loading, error }] = useReduceSpamMutation({
3567
- * variables: {
3568
- * input: // value for 'input'
3569
- * },
3570
- * });
3571
- */
3572
- function useReduceSpamMutation(baseOptions) {
3573
- const options = { ...defaultOptions, ...baseOptions };
3574
- return Apollo.useMutation(exports.ReduceSpamDocument, options);
3575
- }
3576
3535
  exports.RejectInvitationDocument = (0, client_1.gql) `
3577
3536
  mutation RejectInvitation($input: InvitationResponseInput!) {
3578
3537
  rejectInvitation(input: $input) {
@@ -44,7 +44,6 @@ export declare const CREATE_EMAIL_TEMPLATE: import("@apollo/client").DocumentNod
44
44
  export declare const UPDATE_EMAIL_TEMPLATE: import("@apollo/client").DocumentNode;
45
45
  export declare const DELETE_EMAIL_TEMPLATE: import("@apollo/client").DocumentNode;
46
46
  export declare const EMAIL_TONE: import("@apollo/client").DocumentNode;
47
- export declare const REDUCE_SPAM: import("@apollo/client").DocumentNode;
48
47
  export declare const SAVE_NYLAS_CONNECTION: import("@apollo/client").DocumentNode;
49
48
  export declare const DISCONNECT_NYLAS_INTEGRATION: import("@apollo/client").DocumentNode;
50
49
  export declare const CREATE_NOTIFICATION: import("@apollo/client").DocumentNode;
package/dist/mutations.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.REDUCE_SPAM = exports.EMAIL_TONE = exports.DELETE_EMAIL_TEMPLATE = exports.UPDATE_EMAIL_TEMPLATE = exports.CREATE_EMAIL_TEMPLATE = exports.PREVIEW_CAMPAIGN_EMAIL = exports.SCHEDULE_CAMPAIGN = exports.SEND_EMAIL_TO_CONTACT = exports.SEND_TEST_EMAIL = exports.CANCEL_CAMPAIGN = exports.COMPLETE_CAMPAIGN = exports.PAUSE_CAMPAIGN = exports.START_CAMPAIGN = exports.REMOVE_SEGMENT_FROM_CAMPAIGN = exports.ADD_SEGMENT_TO_CAMPAIGN = exports.DELETE_CAMPAIGN = exports.UPDATE_CAMPAIGN = exports.CREATE_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_CAMPAIGN = exports.ADD_CONTACTS_TO_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_SEGMENT = exports.ADD_CONTACTS_TO_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = exports.SUBMIT_FEEDBACK = exports.LOGIN_WITH_MICROSOFT = exports.LOGIN_WITH_GOOGLE = exports.UNSUBSCRIBE_FROM_EMAILS = exports.VALIDATE_OTP_AND_RESET_PASSWORD = exports.CHANGE_PASSWORD = exports.UPDATE_USER_PROFILE = exports.LOGIN = exports.CANCEL_INVITATION = exports.REMOVE_MEMBER = exports.REJECT_INVITATION = exports.ACCEPT_INVITATION = exports.INVITE_USER = exports.UPLOAD_FILE = exports.FORGOT_PASSWORD = exports.SIGNUP = void 0;
4
- exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = exports.MARK_NOTIFICATION_AS_READ = void 0;
3
+ exports.MARK_NOTIFICATION_AS_READ = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.EMAIL_TONE = exports.DELETE_EMAIL_TEMPLATE = exports.UPDATE_EMAIL_TEMPLATE = exports.CREATE_EMAIL_TEMPLATE = exports.PREVIEW_CAMPAIGN_EMAIL = exports.SCHEDULE_CAMPAIGN = exports.SEND_EMAIL_TO_CONTACT = exports.SEND_TEST_EMAIL = exports.CANCEL_CAMPAIGN = exports.COMPLETE_CAMPAIGN = exports.PAUSE_CAMPAIGN = exports.START_CAMPAIGN = exports.REMOVE_SEGMENT_FROM_CAMPAIGN = exports.ADD_SEGMENT_TO_CAMPAIGN = exports.DELETE_CAMPAIGN = exports.UPDATE_CAMPAIGN = exports.CREATE_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_CAMPAIGN = exports.ADD_CONTACTS_TO_CAMPAIGN = exports.REMOVE_CONTACTS_FROM_SEGMENT = exports.ADD_CONTACTS_TO_SEGMENT = exports.DELETE_SEGMENT = exports.UPDATE_SEGMENT = exports.CREATE_SEGMENT = exports.DELETE_COMPANY = exports.UPDATE_COMPANY = exports.CREATE_COMPANY = exports.DELETE_CONTACT = exports.UPDATE_CONTACT = exports.CREATE_CONTACT = exports.SUBMIT_FEEDBACK = exports.LOGIN_WITH_MICROSOFT = exports.LOGIN_WITH_GOOGLE = exports.UNSUBSCRIBE_FROM_EMAILS = exports.VALIDATE_OTP_AND_RESET_PASSWORD = exports.CHANGE_PASSWORD = exports.UPDATE_USER_PROFILE = exports.LOGIN = exports.CANCEL_INVITATION = exports.REMOVE_MEMBER = exports.REJECT_INVITATION = exports.ACCEPT_INVITATION = exports.INVITE_USER = exports.UPLOAD_FILE = exports.FORGOT_PASSWORD = exports.SIGNUP = void 0;
4
+ exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = void 0;
5
5
  const client_1 = require("@apollo/client");
6
6
  exports.SIGNUP = (0, client_1.gql) `
7
7
  mutation Signup($input: SignupInput!) {
@@ -2724,24 +2724,6 @@ mutation EmailTone($input: EmailToneInput!) {
2724
2724
  }
2725
2725
  }
2726
2726
  }`;
2727
- exports.REDUCE_SPAM = (0, client_1.gql) `
2728
- mutation ReduceSpam($input: ReduceSpamInput!) {
2729
- reduceSpam(input: $input) {
2730
- success
2731
- message
2732
- reduceSpamResponse {
2733
- success
2734
- message
2735
- originalSubject
2736
- cleanedSubject
2737
- originalContent
2738
- cleanedContent
2739
- changesMade
2740
- noOfChanges
2741
- noChangesNeeded
2742
- }
2743
- }
2744
- }`;
2745
2727
  exports.SAVE_NYLAS_CONNECTION = (0, client_1.gql) `
2746
2728
  mutation SaveNylasConnection($input: SaveNylasConnectionInput!) {
2747
2729
  saveNylasConnection(input: $input) {
package/dist/sdk.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CloudForgeClientOptions } from "./client";
2
- import { CallReportFilterInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanySortInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSegmentMutationVariables, CreateTaskMutationVariables, CustomContactInput, EmailToneInput, FileUploadInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MicrosoftUserInput, PaginationInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, SaveNylasConnectionMutationVariables, SegmentFilterInput, SignupInput, SubmitFeedbackMutationVariables, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
2
+ import { CallReportFilterInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanySortInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSegmentMutationVariables, CreateTaskMutationVariables, CustomContactInput, EmailToneInput, FileUploadInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MicrosoftUserInput, PaginationInput, RecentHistoryFilterInput, RecentHistorySortInput, SaveNylasConnectionMutationVariables, SegmentFilterInput, SignupInput, SubmitFeedbackMutationVariables, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
3
3
  export declare class CloudForgeSDK {
4
4
  private client;
5
5
  private apolloClient;
@@ -49,7 +49,6 @@ export declare class CloudForgeSDK {
49
49
  markNotificationAsRead(notificationId: string): Promise<import("@apollo/client").FetchResult<any>>;
50
50
  pauseCampaign(id: string): Promise<import("@apollo/client").FetchResult<any>>;
51
51
  previewCampaignEmail(campaignId: string, contactId: string, customSubject?: string, customTemplate?: string): Promise<import("@apollo/client").FetchResult<any>>;
52
- reduceSpam(input: ReduceSpamInput): Promise<import("@apollo/client").FetchResult<any>>;
53
52
  rejectInvitation(input: InvitationResponseInput): Promise<import("@apollo/client").FetchResult<any>>;
54
53
  removeContactsFromCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
55
54
  removeContactsFromSegment(contactIds: string[], segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
package/dist/sdk.js CHANGED
@@ -276,12 +276,6 @@ class CloudForgeSDK {
276
276
  variables: { campaignId, contactId, customSubject, customTemplate }
277
277
  });
278
278
  }
279
- async reduceSpam(input) {
280
- return this.apolloClient.mutate({
281
- mutation: mutations_1.REDUCE_SPAM,
282
- variables: { ...input }
283
- });
284
- }
285
279
  async rejectInvitation(input) {
286
280
  return this.apolloClient.mutate({
287
281
  mutation: mutations_1.REJECT_INVITATION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",