cf-service-sdk-dharani 0.0.66 → 0.0.68

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.
@@ -1039,6 +1039,24 @@ export type CompanyOwnersObject = {
1039
1039
  id?: Maybe<Scalars['ID']['output']>;
1040
1040
  user?: Maybe<UserType>;
1041
1041
  };
1042
+ /** Extended pagination information for companies */
1043
+ export type CompanyPaginationInfo = {
1044
+ __typename?: 'CompanyPaginationInfo';
1045
+ /** Current page number */
1046
+ currentPage?: Maybe<Scalars['Int']['output']>;
1047
+ /** Whether there is a next page */
1048
+ hasNextPage?: Maybe<Scalars['Boolean']['output']>;
1049
+ /** Whether there is a previous page */
1050
+ hasPreviousPage?: Maybe<Scalars['Boolean']['output']>;
1051
+ /** Number of items per page */
1052
+ pageSize?: Maybe<Scalars['Int']['output']>;
1053
+ /** Total number of items */
1054
+ totalCount?: Maybe<Scalars['Int']['output']>;
1055
+ /** Total number of pages */
1056
+ totalPages?: Maybe<Scalars['Int']['output']>;
1057
+ /** Total number of visible companies in the database */
1058
+ totalVisibleCompanies?: Maybe<Scalars['Int']['output']>;
1059
+ };
1042
1060
  export type CompanyProductMetalScoreObject = {
1043
1061
  __typename?: 'CompanyProductMetalScoreObject';
1044
1062
  /** Account ID who assigned this product metal */
@@ -1614,9 +1632,17 @@ export type MetalGradeObject = {
1614
1632
  };
1615
1633
  export type MetalTypeObject = {
1616
1634
  __typename?: 'MetalTypeObject';
1635
+ /** Buyer types and example buyers */
1636
+ buyerTypes?: Maybe<Scalars['String']['output']>;
1617
1637
  id: Scalars['ID']['output'];
1638
+ /** Industry tags */
1639
+ industryTags?: Maybe<Scalars['String']['output']>;
1618
1640
  name: Scalars['String']['output'];
1619
1641
  orderBy: Scalars['Int']['output'];
1642
+ /** Synonyms */
1643
+ synonyms?: Maybe<Scalars['String']['output']>;
1644
+ /** Typical uses and applications */
1645
+ use?: Maybe<Scalars['String']['output']>;
1620
1646
  };
1621
1647
  /** MicrosoftUserInput for creating/updating Microsoft user */
1622
1648
  export type MicrosoftUserInput = {
@@ -1692,6 +1718,8 @@ export type Mutation = {
1692
1718
  pauseCampaign?: Maybe<PauseCampaign>;
1693
1719
  /** Preview how a campaign email would look for a specific contact without sending it */
1694
1720
  previewCampaignEmail?: Maybe<PreviewCampaignEmail>;
1721
+ /** ReduceSpam - Reduce spam score of email content using Claude LLM */
1722
+ reduceSpam?: Maybe<ReduceSpam>;
1695
1723
  /** RejectInvitation - Reject an invitation to join an account */
1696
1724
  rejectInvitation?: Maybe<RejectInvitation>;
1697
1725
  removeContactsFromCampaign?: Maybe<RemoveContactsFromCampaign>;
@@ -1895,6 +1923,10 @@ export type MutationPreviewCampaignEmailArgs = {
1895
1923
  customTemplate?: InputMaybe<Scalars['String']['input']>;
1896
1924
  };
1897
1925
  /** Mutations */
1926
+ export type MutationReduceSpamArgs = {
1927
+ input: ReduceSpamInput;
1928
+ };
1929
+ /** Mutations */
1898
1930
  export type MutationRejectInvitationArgs = {
1899
1931
  input: InvitationResponseInput;
1900
1932
  };
@@ -2107,7 +2139,7 @@ export type PaginatedCompanyList = {
2107
2139
  /** List of companies */
2108
2140
  items?: Maybe<Array<Maybe<CompanyObject>>>;
2109
2141
  /** Pagination information */
2110
- pagination?: Maybe<PaginationInfo>;
2142
+ pagination?: Maybe<CompanyPaginationInfo>;
2111
2143
  };
2112
2144
  /** Paginated list of company notes */
2113
2145
  export type PaginatedCompanyNoteList = {
@@ -2191,11 +2223,19 @@ export type ProductCategoryLightweightObject = {
2191
2223
  };
2192
2224
  export type ProductCategoryObject = {
2193
2225
  __typename?: 'ProductCategoryObject';
2226
+ /** Buyer types and example buyers */
2227
+ buyerTypes?: Maybe<Scalars['String']['output']>;
2194
2228
  id?: Maybe<Scalars['ID']['output']>;
2229
+ /** Industry tags */
2230
+ industryTags?: Maybe<Scalars['String']['output']>;
2195
2231
  name: Scalars['String']['output'];
2196
2232
  orderBy: Scalars['Int']['output'];
2197
2233
  pk?: Maybe<Scalars['ID']['output']>;
2198
2234
  productTypes?: Maybe<Array<Maybe<ProductTypeObject>>>;
2235
+ /** Synonyms */
2236
+ synonyms?: Maybe<Scalars['String']['output']>;
2237
+ /** Typical uses and applications */
2238
+ use?: Maybe<Scalars['String']['output']>;
2199
2239
  };
2200
2240
  /** Input type for product metal score combinations */
2201
2241
  export type ProductMetalScoreInput = {
@@ -2522,6 +2562,25 @@ export type RecentlyContactedContactType = {
2522
2562
  daysSinceContact?: Maybe<Scalars['Int']['output']>;
2523
2563
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2524
2564
  };
2565
+ /** ReduceSpam - Reduce spam score of email content using Claude LLM */
2566
+ export type ReduceSpam = {
2567
+ __typename?: 'ReduceSpam';
2568
+ changesMade?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2569
+ cleanedContent?: Maybe<Scalars['String']['output']>;
2570
+ cleanedSubject?: Maybe<Scalars['String']['output']>;
2571
+ message?: Maybe<Scalars['String']['output']>;
2572
+ noOfChanges?: Maybe<Scalars['Int']['output']>;
2573
+ originalContent?: Maybe<Scalars['String']['output']>;
2574
+ originalSubject?: Maybe<Scalars['String']['output']>;
2575
+ success?: Maybe<Scalars['Boolean']['output']>;
2576
+ };
2577
+ /** ReduceSpamInput for reducing spam score of email content */
2578
+ export type ReduceSpamInput = {
2579
+ /** Original email content */
2580
+ emailContent: Scalars['String']['input'];
2581
+ /** Original email subject (optional) */
2582
+ subject: Scalars['String']['input'];
2583
+ };
2525
2584
  /** RejectInvitation - Reject an invitation to join an account */
2526
2585
  export type RejectInvitation = {
2527
2586
  __typename?: 'RejectInvitation';
@@ -3809,6 +3868,10 @@ export type CreateCompanyMutation = {
3809
3868
  id?: string | null;
3810
3869
  name: string;
3811
3870
  orderBy: number;
3871
+ synonyms?: string | null;
3872
+ use?: string | null;
3873
+ buyerTypes?: string | null;
3874
+ industryTags?: string | null;
3812
3875
  pk?: string | null;
3813
3876
  } | null> | null;
3814
3877
  } | null;
@@ -3817,6 +3880,10 @@ export type CreateCompanyMutation = {
3817
3880
  id: string;
3818
3881
  name: string;
3819
3882
  orderBy: number;
3883
+ synonyms?: string | null;
3884
+ use?: string | null;
3885
+ buyerTypes?: string | null;
3886
+ industryTags?: string | null;
3820
3887
  } | null;
3821
3888
  metalGrade?: {
3822
3889
  __typename?: 'MetalGradeObject';
@@ -3827,6 +3894,10 @@ export type CreateCompanyMutation = {
3827
3894
  id: string;
3828
3895
  name: string;
3829
3896
  orderBy: number;
3897
+ synonyms?: string | null;
3898
+ use?: string | null;
3899
+ buyerTypes?: string | null;
3900
+ industryTags?: string | null;
3830
3901
  } | null;
3831
3902
  } | null;
3832
3903
  productCategory?: {
@@ -5352,6 +5423,22 @@ export type PreviewCampaignEmailMutation = {
5352
5423
  companyName?: string | null;
5353
5424
  } | null;
5354
5425
  };
5426
+ export type ReduceSpamMutationVariables = Exact<{
5427
+ input: ReduceSpamInput;
5428
+ }>;
5429
+ export type ReduceSpamMutation = {
5430
+ __typename?: 'Mutation';
5431
+ reduceSpam?: {
5432
+ __typename?: 'ReduceSpam';
5433
+ success?: boolean | null;
5434
+ message?: string | null;
5435
+ originalSubject?: string | null;
5436
+ cleanedSubject?: string | null;
5437
+ originalContent?: string | null;
5438
+ cleanedContent?: string | null;
5439
+ noOfChanges?: number | null;
5440
+ } | null;
5441
+ };
5355
5442
  export type RejectInvitationMutationVariables = Exact<{
5356
5443
  input: InvitationResponseInput;
5357
5444
  }>;
@@ -6499,6 +6586,10 @@ export type UpdateCompanyMutation = {
6499
6586
  id?: string | null;
6500
6587
  name: string;
6501
6588
  orderBy: number;
6589
+ synonyms?: string | null;
6590
+ use?: string | null;
6591
+ buyerTypes?: string | null;
6592
+ industryTags?: string | null;
6502
6593
  pk?: string | null;
6503
6594
  } | null> | null;
6504
6595
  } | null;
@@ -6507,6 +6598,10 @@ export type UpdateCompanyMutation = {
6507
6598
  id: string;
6508
6599
  name: string;
6509
6600
  orderBy: number;
6601
+ synonyms?: string | null;
6602
+ use?: string | null;
6603
+ buyerTypes?: string | null;
6604
+ industryTags?: string | null;
6510
6605
  } | null;
6511
6606
  metalGrade?: {
6512
6607
  __typename?: 'MetalGradeObject';
@@ -6517,6 +6612,10 @@ export type UpdateCompanyMutation = {
6517
6612
  id: string;
6518
6613
  name: string;
6519
6614
  orderBy: number;
6615
+ synonyms?: string | null;
6616
+ use?: string | null;
6617
+ buyerTypes?: string | null;
6618
+ industryTags?: string | null;
6520
6619
  } | null;
6521
6620
  } | null;
6522
6621
  productCategory?: {
@@ -9226,6 +9325,10 @@ export type CompaniesQuery = {
9226
9325
  id?: string | null;
9227
9326
  name: string;
9228
9327
  orderBy: number;
9328
+ synonyms?: string | null;
9329
+ use?: string | null;
9330
+ buyerTypes?: string | null;
9331
+ industryTags?: string | null;
9229
9332
  pk?: string | null;
9230
9333
  } | null> | null;
9231
9334
  } | null;
@@ -9234,6 +9337,10 @@ export type CompaniesQuery = {
9234
9337
  id: string;
9235
9338
  name: string;
9236
9339
  orderBy: number;
9340
+ synonyms?: string | null;
9341
+ use?: string | null;
9342
+ buyerTypes?: string | null;
9343
+ industryTags?: string | null;
9237
9344
  } | null;
9238
9345
  metalGrade?: {
9239
9346
  __typename?: 'MetalGradeObject';
@@ -9244,6 +9351,10 @@ export type CompaniesQuery = {
9244
9351
  id: string;
9245
9352
  name: string;
9246
9353
  orderBy: number;
9354
+ synonyms?: string | null;
9355
+ use?: string | null;
9356
+ buyerTypes?: string | null;
9357
+ industryTags?: string | null;
9247
9358
  } | null;
9248
9359
  } | null;
9249
9360
  productCategory?: {
@@ -9651,13 +9762,14 @@ export type CompaniesQuery = {
9651
9762
  } | null;
9652
9763
  } | null> | null;
9653
9764
  pagination?: {
9654
- __typename?: 'PaginationInfo';
9765
+ __typename?: 'CompanyPaginationInfo';
9655
9766
  currentPage?: number | null;
9656
9767
  pageSize?: number | null;
9657
9768
  totalPages?: number | null;
9658
9769
  totalCount?: number | null;
9659
9770
  hasNextPage?: boolean | null;
9660
9771
  hasPreviousPage?: boolean | null;
9772
+ totalVisibleCompanies?: number | null;
9661
9773
  } | null;
9662
9774
  } | null;
9663
9775
  };
@@ -9854,6 +9966,10 @@ export type CompanyQuery = {
9854
9966
  id?: string | null;
9855
9967
  name: string;
9856
9968
  orderBy: number;
9969
+ synonyms?: string | null;
9970
+ use?: string | null;
9971
+ buyerTypes?: string | null;
9972
+ industryTags?: string | null;
9857
9973
  pk?: string | null;
9858
9974
  } | null> | null;
9859
9975
  } | null;
@@ -9862,6 +9978,10 @@ export type CompanyQuery = {
9862
9978
  id: string;
9863
9979
  name: string;
9864
9980
  orderBy: number;
9981
+ synonyms?: string | null;
9982
+ use?: string | null;
9983
+ buyerTypes?: string | null;
9984
+ industryTags?: string | null;
9865
9985
  } | null;
9866
9986
  metalGrade?: {
9867
9987
  __typename?: 'MetalGradeObject';
@@ -9872,6 +9992,10 @@ export type CompanyQuery = {
9872
9992
  id: string;
9873
9993
  name: string;
9874
9994
  orderBy: number;
9995
+ synonyms?: string | null;
9996
+ use?: string | null;
9997
+ buyerTypes?: string | null;
9998
+ industryTags?: string | null;
9875
9999
  } | null;
9876
10000
  } | null;
9877
10001
  productCategory?: {
@@ -11437,6 +11561,10 @@ export type MetalGradesQuery = {
11437
11561
  id: string;
11438
11562
  name: string;
11439
11563
  orderBy: number;
11564
+ synonyms?: string | null;
11565
+ use?: string | null;
11566
+ buyerTypes?: string | null;
11567
+ industryTags?: string | null;
11440
11568
  } | null;
11441
11569
  } | null> | null;
11442
11570
  };
@@ -11450,6 +11578,10 @@ export type MetalTypesQuery = {
11450
11578
  id: string;
11451
11579
  name: string;
11452
11580
  orderBy: number;
11581
+ synonyms?: string | null;
11582
+ use?: string | null;
11583
+ buyerTypes?: string | null;
11584
+ industryTags?: string | null;
11453
11585
  } | null> | null;
11454
11586
  };
11455
11587
  export type MyInvitationsQueryVariables = Exact<{
@@ -11554,6 +11686,10 @@ export type ProductCategoriesQuery = {
11554
11686
  id?: string | null;
11555
11687
  name: string;
11556
11688
  orderBy: number;
11689
+ synonyms?: string | null;
11690
+ use?: string | null;
11691
+ buyerTypes?: string | null;
11692
+ industryTags?: string | null;
11557
11693
  pk?: string | null;
11558
11694
  productTypes?: Array<{
11559
11695
  __typename?: 'ProductTypeObject';
@@ -11580,6 +11716,10 @@ export type ProductTypesQuery = {
11580
11716
  id?: string | null;
11581
11717
  name: string;
11582
11718
  orderBy: number;
11719
+ synonyms?: string | null;
11720
+ use?: string | null;
11721
+ buyerTypes?: string | null;
11722
+ industryTags?: string | null;
11583
11723
  pk?: string | null;
11584
11724
  } | null> | null;
11585
11725
  } | null> | null;
@@ -11876,6 +12016,10 @@ export type RecentHistoryQuery = {
11876
12016
  id?: string | null;
11877
12017
  name: string;
11878
12018
  orderBy: number;
12019
+ synonyms?: string | null;
12020
+ use?: string | null;
12021
+ buyerTypes?: string | null;
12022
+ industryTags?: string | null;
11879
12023
  pk?: string | null;
11880
12024
  } | null> | null;
11881
12025
  } | null;
@@ -11884,6 +12028,10 @@ export type RecentHistoryQuery = {
11884
12028
  id: string;
11885
12029
  name: string;
11886
12030
  orderBy: number;
12031
+ synonyms?: string | null;
12032
+ use?: string | null;
12033
+ buyerTypes?: string | null;
12034
+ industryTags?: string | null;
11887
12035
  } | null;
11888
12036
  metalGrade?: {
11889
12037
  __typename?: 'MetalGradeObject';
@@ -11894,6 +12042,10 @@ export type RecentHistoryQuery = {
11894
12042
  id: string;
11895
12043
  name: string;
11896
12044
  orderBy: number;
12045
+ synonyms?: string | null;
12046
+ use?: string | null;
12047
+ buyerTypes?: string | null;
12048
+ industryTags?: string | null;
11897
12049
  } | null;
11898
12050
  } | null;
11899
12051
  productCategory?: {
@@ -13858,6 +14010,31 @@ export declare function usePreviewCampaignEmailMutation(baseOptions?: Apollo.Mut
13858
14010
  export type PreviewCampaignEmailMutationHookResult = ReturnType<typeof usePreviewCampaignEmailMutation>;
13859
14011
  export type PreviewCampaignEmailMutationResult = Apollo.MutationResult<PreviewCampaignEmailMutation>;
13860
14012
  export type PreviewCampaignEmailMutationOptions = Apollo.BaseMutationOptions<PreviewCampaignEmailMutation, PreviewCampaignEmailMutationVariables>;
14013
+ export declare const ReduceSpamDocument: Apollo.DocumentNode;
14014
+ export type ReduceSpamMutationFn = Apollo.MutationFunction<ReduceSpamMutation, ReduceSpamMutationVariables>;
14015
+ /**
14016
+ * __useReduceSpamMutation__
14017
+ *
14018
+ * To run a mutation, you first call `useReduceSpamMutation` within a React component and pass it any options that fit your needs.
14019
+ * When your component renders, `useReduceSpamMutation` returns a tuple that includes:
14020
+ * - A mutate function that you can call at any time to execute the mutation
14021
+ * - An object with fields that represent the current status of the mutation's execution
14022
+ *
14023
+ * @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;
14024
+ *
14025
+ * @example
14026
+ * const [reduceSpamMutation, { data, loading, error }] = useReduceSpamMutation({
14027
+ * variables: {
14028
+ * input: // value for 'input'
14029
+ * },
14030
+ * });
14031
+ */
14032
+ export declare function useReduceSpamMutation(baseOptions?: Apollo.MutationHookOptions<ReduceSpamMutation, ReduceSpamMutationVariables>): Apollo.MutationTuple<ReduceSpamMutation, Exact<{
14033
+ input: ReduceSpamInput;
14034
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
14035
+ export type ReduceSpamMutationHookResult = ReturnType<typeof useReduceSpamMutation>;
14036
+ export type ReduceSpamMutationResult = Apollo.MutationResult<ReduceSpamMutation>;
14037
+ export type ReduceSpamMutationOptions = Apollo.BaseMutationOptions<ReduceSpamMutation, ReduceSpamMutationVariables>;
13861
14038
  export declare const RejectInvitationDocument: Apollo.DocumentNode;
13862
14039
  export type RejectInvitationMutationFn = Apollo.MutationFunction<RejectInvitationMutation, RejectInvitationMutationVariables>;
13863
14040
  /**
@@ -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.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;
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;
39
39
  exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
40
40
  exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
41
41
  exports.useAddContactsToSegmentMutation = useAddContactsToSegmentMutation;
@@ -77,6 +77,7 @@ exports.useMarkAllNotificationsAsReadMutation = useMarkAllNotificationsAsReadMut
77
77
  exports.useMarkNotificationAsReadMutation = useMarkNotificationAsReadMutation;
78
78
  exports.usePauseCampaignMutation = usePauseCampaignMutation;
79
79
  exports.usePreviewCampaignEmailMutation = usePreviewCampaignEmailMutation;
80
+ exports.useReduceSpamMutation = useReduceSpamMutation;
80
81
  exports.useRejectInvitationMutation = useRejectInvitationMutation;
81
82
  exports.useRemoveContactsFromCampaignMutation = useRemoveContactsFromCampaignMutation;
82
83
  exports.useRemoveContactsFromSegmentMutation = useRemoveContactsFromSegmentMutation;
@@ -1544,6 +1545,10 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
1544
1545
  id
1545
1546
  name
1546
1547
  orderBy
1548
+ synonyms
1549
+ use
1550
+ buyerTypes
1551
+ industryTags
1547
1552
  pk
1548
1553
  }
1549
1554
  pk
@@ -1552,6 +1557,10 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
1552
1557
  id
1553
1558
  name
1554
1559
  orderBy
1560
+ synonyms
1561
+ use
1562
+ buyerTypes
1563
+ industryTags
1555
1564
  }
1556
1565
  metalGrade {
1557
1566
  id
@@ -1560,6 +1569,10 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
1560
1569
  id
1561
1570
  name
1562
1571
  orderBy
1572
+ synonyms
1573
+ use
1574
+ buyerTypes
1575
+ industryTags
1563
1576
  }
1564
1577
  }
1565
1578
  score
@@ -3520,6 +3533,40 @@ function usePreviewCampaignEmailMutation(baseOptions) {
3520
3533
  const options = { ...defaultOptions, ...baseOptions };
3521
3534
  return Apollo.useMutation(exports.PreviewCampaignEmailDocument, options);
3522
3535
  }
3536
+ exports.ReduceSpamDocument = (0, client_1.gql) `
3537
+ mutation ReduceSpam($input: ReduceSpamInput!) {
3538
+ reduceSpam(input: $input) {
3539
+ success
3540
+ message
3541
+ originalSubject
3542
+ cleanedSubject
3543
+ originalContent
3544
+ cleanedContent
3545
+ noOfChanges
3546
+ }
3547
+ }
3548
+ `;
3549
+ /**
3550
+ * __useReduceSpamMutation__
3551
+ *
3552
+ * To run a mutation, you first call `useReduceSpamMutation` within a React component and pass it any options that fit your needs.
3553
+ * When your component renders, `useReduceSpamMutation` returns a tuple that includes:
3554
+ * - A mutate function that you can call at any time to execute the mutation
3555
+ * - An object with fields that represent the current status of the mutation's execution
3556
+ *
3557
+ * @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;
3558
+ *
3559
+ * @example
3560
+ * const [reduceSpamMutation, { data, loading, error }] = useReduceSpamMutation({
3561
+ * variables: {
3562
+ * input: // value for 'input'
3563
+ * },
3564
+ * });
3565
+ */
3566
+ function useReduceSpamMutation(baseOptions) {
3567
+ const options = { ...defaultOptions, ...baseOptions };
3568
+ return Apollo.useMutation(exports.ReduceSpamDocument, options);
3569
+ }
3523
3570
  exports.RejectInvitationDocument = (0, client_1.gql) `
3524
3571
  mutation RejectInvitation($input: InvitationResponseInput!) {
3525
3572
  rejectInvitation(input: $input) {
@@ -4917,6 +4964,10 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
4917
4964
  id
4918
4965
  name
4919
4966
  orderBy
4967
+ synonyms
4968
+ use
4969
+ buyerTypes
4970
+ industryTags
4920
4971
  pk
4921
4972
  }
4922
4973
  pk
@@ -4925,6 +4976,10 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
4925
4976
  id
4926
4977
  name
4927
4978
  orderBy
4979
+ synonyms
4980
+ use
4981
+ buyerTypes
4982
+ industryTags
4928
4983
  }
4929
4984
  metalGrade {
4930
4985
  id
@@ -4933,6 +4988,10 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
4933
4988
  id
4934
4989
  name
4935
4990
  orderBy
4991
+ synonyms
4992
+ use
4993
+ buyerTypes
4994
+ industryTags
4936
4995
  }
4937
4996
  }
4938
4997
  score
@@ -7969,6 +8028,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7969
8028
  id
7970
8029
  name
7971
8030
  orderBy
8031
+ synonyms
8032
+ use
8033
+ buyerTypes
8034
+ industryTags
7972
8035
  pk
7973
8036
  }
7974
8037
  pk
@@ -7977,6 +8040,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7977
8040
  id
7978
8041
  name
7979
8042
  orderBy
8043
+ synonyms
8044
+ use
8045
+ buyerTypes
8046
+ industryTags
7980
8047
  }
7981
8048
  metalGrade {
7982
8049
  id
@@ -7985,6 +8052,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7985
8052
  id
7986
8053
  name
7987
8054
  orderBy
8055
+ synonyms
8056
+ use
8057
+ buyerTypes
8058
+ industryTags
7988
8059
  }
7989
8060
  }
7990
8061
  score
@@ -8383,6 +8454,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
8383
8454
  totalCount
8384
8455
  hasNextPage
8385
8456
  hasPreviousPage
8457
+ totalVisibleCompanies
8386
8458
  }
8387
8459
  }
8388
8460
  }
@@ -8572,6 +8644,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8572
8644
  id
8573
8645
  name
8574
8646
  orderBy
8647
+ synonyms
8648
+ use
8649
+ buyerTypes
8650
+ industryTags
8575
8651
  pk
8576
8652
  }
8577
8653
  pk
@@ -8580,6 +8656,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8580
8656
  id
8581
8657
  name
8582
8658
  orderBy
8659
+ synonyms
8660
+ use
8661
+ buyerTypes
8662
+ industryTags
8583
8663
  }
8584
8664
  metalGrade {
8585
8665
  id
@@ -8588,6 +8668,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8588
8668
  id
8589
8669
  name
8590
8670
  orderBy
8671
+ synonyms
8672
+ use
8673
+ buyerTypes
8674
+ industryTags
8591
8675
  }
8592
8676
  }
8593
8677
  score
@@ -10381,6 +10465,10 @@ exports.MetalGradesDocument = (0, client_1.gql) `
10381
10465
  id
10382
10466
  name
10383
10467
  orderBy
10468
+ synonyms
10469
+ use
10470
+ buyerTypes
10471
+ industryTags
10384
10472
  }
10385
10473
  }
10386
10474
  }
@@ -10418,6 +10506,10 @@ exports.MetalTypesDocument = (0, client_1.gql) `
10418
10506
  id
10419
10507
  name
10420
10508
  orderBy
10509
+ synonyms
10510
+ use
10511
+ buyerTypes
10512
+ industryTags
10421
10513
  }
10422
10514
  }
10423
10515
  `;
@@ -10666,6 +10758,10 @@ exports.ProductCategoriesDocument = (0, client_1.gql) `
10666
10758
  id
10667
10759
  name
10668
10760
  orderBy
10761
+ synonyms
10762
+ use
10763
+ buyerTypes
10764
+ industryTags
10669
10765
  productTypes {
10670
10766
  id
10671
10767
  name
@@ -10713,6 +10809,10 @@ exports.ProductTypesDocument = (0, client_1.gql) `
10713
10809
  id
10714
10810
  name
10715
10811
  orderBy
10812
+ synonyms
10813
+ use
10814
+ buyerTypes
10815
+ industryTags
10716
10816
  pk
10717
10817
  }
10718
10818
  pk
@@ -10974,6 +11074,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10974
11074
  id
10975
11075
  name
10976
11076
  orderBy
11077
+ synonyms
11078
+ use
11079
+ buyerTypes
11080
+ industryTags
10977
11081
  pk
10978
11082
  }
10979
11083
  pk
@@ -10982,6 +11086,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10982
11086
  id
10983
11087
  name
10984
11088
  orderBy
11089
+ synonyms
11090
+ use
11091
+ buyerTypes
11092
+ industryTags
10985
11093
  }
10986
11094
  metalGrade {
10987
11095
  id
@@ -10990,6 +11098,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10990
11098
  id
10991
11099
  name
10992
11100
  orderBy
11101
+ synonyms
11102
+ use
11103
+ buyerTypes
11104
+ industryTags
10993
11105
  }
10994
11106
  }
10995
11107
  score
@@ -44,6 +44,7 @@ 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;
47
48
  export declare const SAVE_NYLAS_CONNECTION: import("@apollo/client").DocumentNode;
48
49
  export declare const DISCONNECT_NYLAS_INTEGRATION: import("@apollo/client").DocumentNode;
49
50
  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.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;
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;
5
5
  const client_1 = require("@apollo/client");
6
6
  exports.SIGNUP = (0, client_1.gql) `
7
7
  mutation Signup($input: SignupInput!) {
@@ -497,6 +497,10 @@ mutation CreateCompany($input: CompanyInput) {
497
497
  id
498
498
  name
499
499
  orderBy
500
+ synonyms
501
+ use
502
+ buyerTypes
503
+ industryTags
500
504
  pk
501
505
  }
502
506
  pk
@@ -505,6 +509,10 @@ mutation CreateCompany($input: CompanyInput) {
505
509
  id
506
510
  name
507
511
  orderBy
512
+ synonyms
513
+ use
514
+ buyerTypes
515
+ industryTags
508
516
  }
509
517
  metalGrade {
510
518
  id
@@ -513,6 +521,10 @@ mutation CreateCompany($input: CompanyInput) {
513
521
  id
514
522
  name
515
523
  orderBy
524
+ synonyms
525
+ use
526
+ buyerTypes
527
+ industryTags
516
528
  }
517
529
  }
518
530
  score
@@ -1164,6 +1176,10 @@ mutation UpdateCompany($input: CompanyInput) {
1164
1176
  id
1165
1177
  name
1166
1178
  orderBy
1179
+ synonyms
1180
+ use
1181
+ buyerTypes
1182
+ industryTags
1167
1183
  pk
1168
1184
  }
1169
1185
  pk
@@ -1172,6 +1188,10 @@ mutation UpdateCompany($input: CompanyInput) {
1172
1188
  id
1173
1189
  name
1174
1190
  orderBy
1191
+ synonyms
1192
+ use
1193
+ buyerTypes
1194
+ industryTags
1175
1195
  }
1176
1196
  metalGrade {
1177
1197
  id
@@ -1180,6 +1200,10 @@ mutation UpdateCompany($input: CompanyInput) {
1180
1200
  id
1181
1201
  name
1182
1202
  orderBy
1203
+ synonyms
1204
+ use
1205
+ buyerTypes
1206
+ industryTags
1183
1207
  }
1184
1208
  }
1185
1209
  score
@@ -2700,6 +2724,18 @@ mutation EmailTone($input: EmailToneInput!) {
2700
2724
  }
2701
2725
  }
2702
2726
  }`;
2727
+ exports.REDUCE_SPAM = (0, client_1.gql) `
2728
+ mutation ReduceSpam($input: ReduceSpamInput!) {
2729
+ reduceSpam(input: $input) {
2730
+ success
2731
+ message
2732
+ originalSubject
2733
+ cleanedSubject
2734
+ originalContent
2735
+ cleanedContent
2736
+ noOfChanges
2737
+ }
2738
+ }`;
2703
2739
  exports.SAVE_NYLAS_CONNECTION = (0, client_1.gql) `
2704
2740
  mutation SaveNylasConnection($input: SaveNylasConnectionInput!) {
2705
2741
  saveNylasConnection(input: $input) {
package/dist/queries.js CHANGED
@@ -257,6 +257,10 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
257
257
  id
258
258
  name
259
259
  orderBy
260
+ synonyms
261
+ use
262
+ buyerTypes
263
+ industryTags
260
264
  pk
261
265
  }
262
266
  pk
@@ -265,6 +269,10 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
265
269
  id
266
270
  name
267
271
  orderBy
272
+ synonyms
273
+ use
274
+ buyerTypes
275
+ industryTags
268
276
  }
269
277
  metalGrade {
270
278
  id
@@ -273,6 +281,10 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
273
281
  id
274
282
  name
275
283
  orderBy
284
+ synonyms
285
+ use
286
+ buyerTypes
287
+ industryTags
276
288
  }
277
289
  }
278
290
  score
@@ -3031,6 +3043,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3031
3043
  id
3032
3044
  name
3033
3045
  orderBy
3046
+ synonyms
3047
+ use
3048
+ buyerTypes
3049
+ industryTags
3034
3050
  pk
3035
3051
  }
3036
3052
  pk
@@ -3039,6 +3055,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3039
3055
  id
3040
3056
  name
3041
3057
  orderBy
3058
+ synonyms
3059
+ use
3060
+ buyerTypes
3061
+ industryTags
3042
3062
  }
3043
3063
  metalGrade {
3044
3064
  id
@@ -3047,6 +3067,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3047
3067
  id
3048
3068
  name
3049
3069
  orderBy
3070
+ synonyms
3071
+ use
3072
+ buyerTypes
3073
+ industryTags
3050
3074
  }
3051
3075
  }
3052
3076
  score
@@ -3445,6 +3469,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3445
3469
  totalCount
3446
3470
  hasNextPage
3447
3471
  hasPreviousPage
3472
+ totalVisibleCompanies
3448
3473
  }
3449
3474
  }
3450
3475
  }`;
@@ -3755,6 +3780,10 @@ query Company($id: String) {
3755
3780
  id
3756
3781
  name
3757
3782
  orderBy
3783
+ synonyms
3784
+ use
3785
+ buyerTypes
3786
+ industryTags
3758
3787
  pk
3759
3788
  }
3760
3789
  pk
@@ -3763,6 +3792,10 @@ query Company($id: String) {
3763
3792
  id
3764
3793
  name
3765
3794
  orderBy
3795
+ synonyms
3796
+ use
3797
+ buyerTypes
3798
+ industryTags
3766
3799
  }
3767
3800
  metalGrade {
3768
3801
  id
@@ -3771,6 +3804,10 @@ query Company($id: String) {
3771
3804
  id
3772
3805
  name
3773
3806
  orderBy
3807
+ synonyms
3808
+ use
3809
+ buyerTypes
3810
+ industryTags
3774
3811
  }
3775
3812
  }
3776
3813
  score
@@ -4370,6 +4407,10 @@ query ProductTypes {
4370
4407
  id
4371
4408
  name
4372
4409
  orderBy
4410
+ synonyms
4411
+ use
4412
+ buyerTypes
4413
+ industryTags
4373
4414
  pk
4374
4415
  }
4375
4416
  pk
@@ -4381,6 +4422,10 @@ query ProductCategories {
4381
4422
  id
4382
4423
  name
4383
4424
  orderBy
4425
+ synonyms
4426
+ use
4427
+ buyerTypes
4428
+ industryTags
4384
4429
  productTypes {
4385
4430
  id
4386
4431
  name
@@ -4396,6 +4441,10 @@ query MetalTypes {
4396
4441
  id
4397
4442
  name
4398
4443
  orderBy
4444
+ synonyms
4445
+ use
4446
+ buyerTypes
4447
+ industryTags
4399
4448
  }
4400
4449
  }`;
4401
4450
  exports.METAL_GRADES = (0, client_1.gql) `
@@ -4407,6 +4456,10 @@ query MetalGrades {
4407
4456
  id
4408
4457
  name
4409
4458
  orderBy
4459
+ synonyms
4460
+ use
4461
+ buyerTypes
4462
+ industryTags
4410
4463
  }
4411
4464
  }
4412
4465
  }`;
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, 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, ReduceSpamInput, 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,6 +49,7 @@ 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>>;
52
53
  rejectInvitation(input: InvitationResponseInput): Promise<import("@apollo/client").FetchResult<any>>;
53
54
  removeContactsFromCampaign(campaignId: string, contactIds?: string[], customContactIds?: string[]): Promise<import("@apollo/client").FetchResult<any>>;
54
55
  removeContactsFromSegment(contactIds: string[], segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
package/dist/sdk.js CHANGED
@@ -276,6 +276,12 @@ 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
+ }
279
285
  async rejectInvitation(input) {
280
286
  return this.apolloClient.mutate({
281
287
  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.66",
3
+ "version": "0.0.68",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",