cf-service-sdk-dharani 0.0.65 → 0.0.67

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.
@@ -582,6 +582,7 @@ export type CampaignContactItemType = {
582
582
  companyId?: Maybe<Scalars['ID']['output']>;
583
583
  /** Company name of the contact */
584
584
  companyName?: Maybe<Scalars['String']['output']>;
585
+ companyOwners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
585
586
  /** State of the contact */
586
587
  companyState?: Maybe<Scalars['String']['output']>;
587
588
  /** ID of the contact */
@@ -1038,6 +1039,24 @@ export type CompanyOwnersObject = {
1038
1039
  id?: Maybe<Scalars['ID']['output']>;
1039
1040
  user?: Maybe<UserType>;
1040
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
+ };
1041
1060
  export type CompanyProductMetalScoreObject = {
1042
1061
  __typename?: 'CompanyProductMetalScoreObject';
1043
1062
  /** Account ID who assigned this product metal */
@@ -1613,9 +1632,17 @@ export type MetalGradeObject = {
1613
1632
  };
1614
1633
  export type MetalTypeObject = {
1615
1634
  __typename?: 'MetalTypeObject';
1635
+ /** Buyer types and example buyers */
1636
+ buyerTypes?: Maybe<Scalars['String']['output']>;
1616
1637
  id: Scalars['ID']['output'];
1638
+ /** Industry tags */
1639
+ industryTags?: Maybe<Scalars['String']['output']>;
1617
1640
  name: Scalars['String']['output'];
1618
1641
  orderBy: Scalars['Int']['output'];
1642
+ /** Synonyms */
1643
+ synonyms?: Maybe<Scalars['String']['output']>;
1644
+ /** Typical uses and applications */
1645
+ use?: Maybe<Scalars['String']['output']>;
1619
1646
  };
1620
1647
  /** MicrosoftUserInput for creating/updating Microsoft user */
1621
1648
  export type MicrosoftUserInput = {
@@ -1691,6 +1718,8 @@ export type Mutation = {
1691
1718
  pauseCampaign?: Maybe<PauseCampaign>;
1692
1719
  /** Preview how a campaign email would look for a specific contact without sending it */
1693
1720
  previewCampaignEmail?: Maybe<PreviewCampaignEmail>;
1721
+ /** ReduceSpam - Reduce spam score of email content using Claude LLM */
1722
+ reduceSpam?: Maybe<ReduceSpam>;
1694
1723
  /** RejectInvitation - Reject an invitation to join an account */
1695
1724
  rejectInvitation?: Maybe<RejectInvitation>;
1696
1725
  removeContactsFromCampaign?: Maybe<RemoveContactsFromCampaign>;
@@ -1894,6 +1923,10 @@ export type MutationPreviewCampaignEmailArgs = {
1894
1923
  customTemplate?: InputMaybe<Scalars['String']['input']>;
1895
1924
  };
1896
1925
  /** Mutations */
1926
+ export type MutationReduceSpamArgs = {
1927
+ input: ReduceSpamInput;
1928
+ };
1929
+ /** Mutations */
1897
1930
  export type MutationRejectInvitationArgs = {
1898
1931
  input: InvitationResponseInput;
1899
1932
  };
@@ -2106,7 +2139,7 @@ export type PaginatedCompanyList = {
2106
2139
  /** List of companies */
2107
2140
  items?: Maybe<Array<Maybe<CompanyObject>>>;
2108
2141
  /** Pagination information */
2109
- pagination?: Maybe<PaginationInfo>;
2142
+ pagination?: Maybe<CompanyPaginationInfo>;
2110
2143
  };
2111
2144
  /** Paginated list of company notes */
2112
2145
  export type PaginatedCompanyNoteList = {
@@ -2190,11 +2223,19 @@ export type ProductCategoryLightweightObject = {
2190
2223
  };
2191
2224
  export type ProductCategoryObject = {
2192
2225
  __typename?: 'ProductCategoryObject';
2226
+ /** Buyer types and example buyers */
2227
+ buyerTypes?: Maybe<Scalars['String']['output']>;
2193
2228
  id?: Maybe<Scalars['ID']['output']>;
2229
+ /** Industry tags */
2230
+ industryTags?: Maybe<Scalars['String']['output']>;
2194
2231
  name: Scalars['String']['output'];
2195
2232
  orderBy: Scalars['Int']['output'];
2196
2233
  pk?: Maybe<Scalars['ID']['output']>;
2197
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']>;
2198
2239
  };
2199
2240
  /** Input type for product metal score combinations */
2200
2241
  export type ProductMetalScoreInput = {
@@ -2521,6 +2562,25 @@ export type RecentlyContactedContactType = {
2521
2562
  daysSinceContact?: Maybe<Scalars['Int']['output']>;
2522
2563
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2523
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
+ };
2524
2584
  /** RejectInvitation - Reject an invitation to join an account */
2525
2585
  export type RejectInvitation = {
2526
2586
  __typename?: 'RejectInvitation';
@@ -3808,6 +3868,10 @@ export type CreateCompanyMutation = {
3808
3868
  id?: string | null;
3809
3869
  name: string;
3810
3870
  orderBy: number;
3871
+ synonyms?: string | null;
3872
+ use?: string | null;
3873
+ buyerTypes?: string | null;
3874
+ industryTags?: string | null;
3811
3875
  pk?: string | null;
3812
3876
  } | null> | null;
3813
3877
  } | null;
@@ -3816,6 +3880,10 @@ export type CreateCompanyMutation = {
3816
3880
  id: string;
3817
3881
  name: string;
3818
3882
  orderBy: number;
3883
+ synonyms?: string | null;
3884
+ use?: string | null;
3885
+ buyerTypes?: string | null;
3886
+ industryTags?: string | null;
3819
3887
  } | null;
3820
3888
  metalGrade?: {
3821
3889
  __typename?: 'MetalGradeObject';
@@ -3826,6 +3894,10 @@ export type CreateCompanyMutation = {
3826
3894
  id: string;
3827
3895
  name: string;
3828
3896
  orderBy: number;
3897
+ synonyms?: string | null;
3898
+ use?: string | null;
3899
+ buyerTypes?: string | null;
3900
+ industryTags?: string | null;
3829
3901
  } | null;
3830
3902
  } | null;
3831
3903
  productCategory?: {
@@ -5351,6 +5423,22 @@ export type PreviewCampaignEmailMutation = {
5351
5423
  companyName?: string | null;
5352
5424
  } | null;
5353
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
+ };
5354
5442
  export type RejectInvitationMutationVariables = Exact<{
5355
5443
  input: InvitationResponseInput;
5356
5444
  }>;
@@ -6498,6 +6586,10 @@ export type UpdateCompanyMutation = {
6498
6586
  id?: string | null;
6499
6587
  name: string;
6500
6588
  orderBy: number;
6589
+ synonyms?: string | null;
6590
+ use?: string | null;
6591
+ buyerTypes?: string | null;
6592
+ industryTags?: string | null;
6501
6593
  pk?: string | null;
6502
6594
  } | null> | null;
6503
6595
  } | null;
@@ -6506,6 +6598,10 @@ export type UpdateCompanyMutation = {
6506
6598
  id: string;
6507
6599
  name: string;
6508
6600
  orderBy: number;
6601
+ synonyms?: string | null;
6602
+ use?: string | null;
6603
+ buyerTypes?: string | null;
6604
+ industryTags?: string | null;
6509
6605
  } | null;
6510
6606
  metalGrade?: {
6511
6607
  __typename?: 'MetalGradeObject';
@@ -6516,6 +6612,10 @@ export type UpdateCompanyMutation = {
6516
6612
  id: string;
6517
6613
  name: string;
6518
6614
  orderBy: number;
6615
+ synonyms?: string | null;
6616
+ use?: string | null;
6617
+ buyerTypes?: string | null;
6618
+ industryTags?: string | null;
6519
6619
  } | null;
6520
6620
  } | null;
6521
6621
  productCategory?: {
@@ -8602,6 +8702,18 @@ export type CampaignContactsQuery = {
8602
8702
  noteType?: string | null;
8603
8703
  noteId?: string | null;
8604
8704
  } | null;
8705
+ companyOwners?: Array<{
8706
+ __typename?: 'CompanyOwnersObject';
8707
+ id?: string | null;
8708
+ user?: {
8709
+ __typename?: 'UserType';
8710
+ id?: string | null;
8711
+ email?: string | null;
8712
+ firstName?: string | null;
8713
+ lastName?: string | null;
8714
+ picture?: string | null;
8715
+ } | null;
8716
+ } | null> | null;
8605
8717
  } | null> | null;
8606
8718
  pagination?: {
8607
8719
  __typename?: 'PaginationInfo';
@@ -9213,6 +9325,10 @@ export type CompaniesQuery = {
9213
9325
  id?: string | null;
9214
9326
  name: string;
9215
9327
  orderBy: number;
9328
+ synonyms?: string | null;
9329
+ use?: string | null;
9330
+ buyerTypes?: string | null;
9331
+ industryTags?: string | null;
9216
9332
  pk?: string | null;
9217
9333
  } | null> | null;
9218
9334
  } | null;
@@ -9221,6 +9337,10 @@ export type CompaniesQuery = {
9221
9337
  id: string;
9222
9338
  name: string;
9223
9339
  orderBy: number;
9340
+ synonyms?: string | null;
9341
+ use?: string | null;
9342
+ buyerTypes?: string | null;
9343
+ industryTags?: string | null;
9224
9344
  } | null;
9225
9345
  metalGrade?: {
9226
9346
  __typename?: 'MetalGradeObject';
@@ -9231,6 +9351,10 @@ export type CompaniesQuery = {
9231
9351
  id: string;
9232
9352
  name: string;
9233
9353
  orderBy: number;
9354
+ synonyms?: string | null;
9355
+ use?: string | null;
9356
+ buyerTypes?: string | null;
9357
+ industryTags?: string | null;
9234
9358
  } | null;
9235
9359
  } | null;
9236
9360
  productCategory?: {
@@ -9638,13 +9762,14 @@ export type CompaniesQuery = {
9638
9762
  } | null;
9639
9763
  } | null> | null;
9640
9764
  pagination?: {
9641
- __typename?: 'PaginationInfo';
9765
+ __typename?: 'CompanyPaginationInfo';
9642
9766
  currentPage?: number | null;
9643
9767
  pageSize?: number | null;
9644
9768
  totalPages?: number | null;
9645
9769
  totalCount?: number | null;
9646
9770
  hasNextPage?: boolean | null;
9647
9771
  hasPreviousPage?: boolean | null;
9772
+ totalVisibleCompanies?: number | null;
9648
9773
  } | null;
9649
9774
  } | null;
9650
9775
  };
@@ -9841,6 +9966,10 @@ export type CompanyQuery = {
9841
9966
  id?: string | null;
9842
9967
  name: string;
9843
9968
  orderBy: number;
9969
+ synonyms?: string | null;
9970
+ use?: string | null;
9971
+ buyerTypes?: string | null;
9972
+ industryTags?: string | null;
9844
9973
  pk?: string | null;
9845
9974
  } | null> | null;
9846
9975
  } | null;
@@ -9849,6 +9978,10 @@ export type CompanyQuery = {
9849
9978
  id: string;
9850
9979
  name: string;
9851
9980
  orderBy: number;
9981
+ synonyms?: string | null;
9982
+ use?: string | null;
9983
+ buyerTypes?: string | null;
9984
+ industryTags?: string | null;
9852
9985
  } | null;
9853
9986
  metalGrade?: {
9854
9987
  __typename?: 'MetalGradeObject';
@@ -9859,6 +9992,10 @@ export type CompanyQuery = {
9859
9992
  id: string;
9860
9993
  name: string;
9861
9994
  orderBy: number;
9995
+ synonyms?: string | null;
9996
+ use?: string | null;
9997
+ buyerTypes?: string | null;
9998
+ industryTags?: string | null;
9862
9999
  } | null;
9863
10000
  } | null;
9864
10001
  productCategory?: {
@@ -11424,6 +11561,10 @@ export type MetalGradesQuery = {
11424
11561
  id: string;
11425
11562
  name: string;
11426
11563
  orderBy: number;
11564
+ synonyms?: string | null;
11565
+ use?: string | null;
11566
+ buyerTypes?: string | null;
11567
+ industryTags?: string | null;
11427
11568
  } | null;
11428
11569
  } | null> | null;
11429
11570
  };
@@ -11437,6 +11578,10 @@ export type MetalTypesQuery = {
11437
11578
  id: string;
11438
11579
  name: string;
11439
11580
  orderBy: number;
11581
+ synonyms?: string | null;
11582
+ use?: string | null;
11583
+ buyerTypes?: string | null;
11584
+ industryTags?: string | null;
11440
11585
  } | null> | null;
11441
11586
  };
11442
11587
  export type MyInvitationsQueryVariables = Exact<{
@@ -11541,6 +11686,10 @@ export type ProductCategoriesQuery = {
11541
11686
  id?: string | null;
11542
11687
  name: string;
11543
11688
  orderBy: number;
11689
+ synonyms?: string | null;
11690
+ use?: string | null;
11691
+ buyerTypes?: string | null;
11692
+ industryTags?: string | null;
11544
11693
  pk?: string | null;
11545
11694
  productTypes?: Array<{
11546
11695
  __typename?: 'ProductTypeObject';
@@ -11567,6 +11716,10 @@ export type ProductTypesQuery = {
11567
11716
  id?: string | null;
11568
11717
  name: string;
11569
11718
  orderBy: number;
11719
+ synonyms?: string | null;
11720
+ use?: string | null;
11721
+ buyerTypes?: string | null;
11722
+ industryTags?: string | null;
11570
11723
  pk?: string | null;
11571
11724
  } | null> | null;
11572
11725
  } | null> | null;
@@ -11863,6 +12016,10 @@ export type RecentHistoryQuery = {
11863
12016
  id?: string | null;
11864
12017
  name: string;
11865
12018
  orderBy: number;
12019
+ synonyms?: string | null;
12020
+ use?: string | null;
12021
+ buyerTypes?: string | null;
12022
+ industryTags?: string | null;
11866
12023
  pk?: string | null;
11867
12024
  } | null> | null;
11868
12025
  } | null;
@@ -11871,6 +12028,10 @@ export type RecentHistoryQuery = {
11871
12028
  id: string;
11872
12029
  name: string;
11873
12030
  orderBy: number;
12031
+ synonyms?: string | null;
12032
+ use?: string | null;
12033
+ buyerTypes?: string | null;
12034
+ industryTags?: string | null;
11874
12035
  } | null;
11875
12036
  metalGrade?: {
11876
12037
  __typename?: 'MetalGradeObject';
@@ -11881,6 +12042,10 @@ export type RecentHistoryQuery = {
11881
12042
  id: string;
11882
12043
  name: string;
11883
12044
  orderBy: number;
12045
+ synonyms?: string | null;
12046
+ use?: string | null;
12047
+ buyerTypes?: string | null;
12048
+ industryTags?: string | null;
11884
12049
  } | null;
11885
12050
  } | null;
11886
12051
  productCategory?: {
@@ -13845,6 +14010,31 @@ export declare function usePreviewCampaignEmailMutation(baseOptions?: Apollo.Mut
13845
14010
  export type PreviewCampaignEmailMutationHookResult = ReturnType<typeof usePreviewCampaignEmailMutation>;
13846
14011
  export type PreviewCampaignEmailMutationResult = Apollo.MutationResult<PreviewCampaignEmailMutation>;
13847
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>;
13848
14038
  export declare const RejectInvitationDocument: Apollo.DocumentNode;
13849
14039
  export type RejectInvitationMutationFn = Apollo.MutationFunction<RejectInvitationMutation, RejectInvitationMutationVariables>;
13850
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
@@ -7317,6 +7376,16 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
7317
7376
  noteType
7318
7377
  noteId
7319
7378
  }
7379
+ companyOwners {
7380
+ id
7381
+ user {
7382
+ id
7383
+ email
7384
+ firstName
7385
+ lastName
7386
+ picture
7387
+ }
7388
+ }
7320
7389
  }
7321
7390
  pagination {
7322
7391
  currentPage
@@ -7959,6 +8028,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7959
8028
  id
7960
8029
  name
7961
8030
  orderBy
8031
+ synonyms
8032
+ use
8033
+ buyerTypes
8034
+ industryTags
7962
8035
  pk
7963
8036
  }
7964
8037
  pk
@@ -7967,6 +8040,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7967
8040
  id
7968
8041
  name
7969
8042
  orderBy
8043
+ synonyms
8044
+ use
8045
+ buyerTypes
8046
+ industryTags
7970
8047
  }
7971
8048
  metalGrade {
7972
8049
  id
@@ -7975,6 +8052,10 @@ exports.CompaniesDocument = (0, client_1.gql) `
7975
8052
  id
7976
8053
  name
7977
8054
  orderBy
8055
+ synonyms
8056
+ use
8057
+ buyerTypes
8058
+ industryTags
7978
8059
  }
7979
8060
  }
7980
8061
  score
@@ -8373,6 +8454,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
8373
8454
  totalCount
8374
8455
  hasNextPage
8375
8456
  hasPreviousPage
8457
+ totalVisibleCompanies
8376
8458
  }
8377
8459
  }
8378
8460
  }
@@ -8562,6 +8644,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8562
8644
  id
8563
8645
  name
8564
8646
  orderBy
8647
+ synonyms
8648
+ use
8649
+ buyerTypes
8650
+ industryTags
8565
8651
  pk
8566
8652
  }
8567
8653
  pk
@@ -8570,6 +8656,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8570
8656
  id
8571
8657
  name
8572
8658
  orderBy
8659
+ synonyms
8660
+ use
8661
+ buyerTypes
8662
+ industryTags
8573
8663
  }
8574
8664
  metalGrade {
8575
8665
  id
@@ -8578,6 +8668,10 @@ exports.CompanyDocument = (0, client_1.gql) `
8578
8668
  id
8579
8669
  name
8580
8670
  orderBy
8671
+ synonyms
8672
+ use
8673
+ buyerTypes
8674
+ industryTags
8581
8675
  }
8582
8676
  }
8583
8677
  score
@@ -10371,6 +10465,10 @@ exports.MetalGradesDocument = (0, client_1.gql) `
10371
10465
  id
10372
10466
  name
10373
10467
  orderBy
10468
+ synonyms
10469
+ use
10470
+ buyerTypes
10471
+ industryTags
10374
10472
  }
10375
10473
  }
10376
10474
  }
@@ -10408,6 +10506,10 @@ exports.MetalTypesDocument = (0, client_1.gql) `
10408
10506
  id
10409
10507
  name
10410
10508
  orderBy
10509
+ synonyms
10510
+ use
10511
+ buyerTypes
10512
+ industryTags
10411
10513
  }
10412
10514
  }
10413
10515
  `;
@@ -10656,6 +10758,10 @@ exports.ProductCategoriesDocument = (0, client_1.gql) `
10656
10758
  id
10657
10759
  name
10658
10760
  orderBy
10761
+ synonyms
10762
+ use
10763
+ buyerTypes
10764
+ industryTags
10659
10765
  productTypes {
10660
10766
  id
10661
10767
  name
@@ -10703,6 +10809,10 @@ exports.ProductTypesDocument = (0, client_1.gql) `
10703
10809
  id
10704
10810
  name
10705
10811
  orderBy
10812
+ synonyms
10813
+ use
10814
+ buyerTypes
10815
+ industryTags
10706
10816
  pk
10707
10817
  }
10708
10818
  pk
@@ -10964,6 +11074,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10964
11074
  id
10965
11075
  name
10966
11076
  orderBy
11077
+ synonyms
11078
+ use
11079
+ buyerTypes
11080
+ industryTags
10967
11081
  pk
10968
11082
  }
10969
11083
  pk
@@ -10972,6 +11086,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10972
11086
  id
10973
11087
  name
10974
11088
  orderBy
11089
+ synonyms
11090
+ use
11091
+ buyerTypes
11092
+ industryTags
10975
11093
  }
10976
11094
  metalGrade {
10977
11095
  id
@@ -10980,6 +11098,10 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
10980
11098
  id
10981
11099
  name
10982
11100
  orderBy
11101
+ synonyms
11102
+ use
11103
+ buyerTypes
11104
+ industryTags
10983
11105
  }
10984
11106
  }
10985
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
@@ -2729,6 +2741,16 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
2729
2741
  noteType
2730
2742
  noteId
2731
2743
  }
2744
+ companyOwners {
2745
+ id
2746
+ user {
2747
+ id
2748
+ email
2749
+ firstName
2750
+ lastName
2751
+ picture
2752
+ }
2753
+ }
2732
2754
  }
2733
2755
  pagination {
2734
2756
  currentPage
@@ -3021,6 +3043,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3021
3043
  id
3022
3044
  name
3023
3045
  orderBy
3046
+ synonyms
3047
+ use
3048
+ buyerTypes
3049
+ industryTags
3024
3050
  pk
3025
3051
  }
3026
3052
  pk
@@ -3029,6 +3055,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3029
3055
  id
3030
3056
  name
3031
3057
  orderBy
3058
+ synonyms
3059
+ use
3060
+ buyerTypes
3061
+ industryTags
3032
3062
  }
3033
3063
  metalGrade {
3034
3064
  id
@@ -3037,6 +3067,10 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3037
3067
  id
3038
3068
  name
3039
3069
  orderBy
3070
+ synonyms
3071
+ use
3072
+ buyerTypes
3073
+ industryTags
3040
3074
  }
3041
3075
  }
3042
3076
  score
@@ -3435,6 +3469,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3435
3469
  totalCount
3436
3470
  hasNextPage
3437
3471
  hasPreviousPage
3472
+ totalVisibleCompanies
3438
3473
  }
3439
3474
  }
3440
3475
  }`;
@@ -3745,6 +3780,10 @@ query Company($id: String) {
3745
3780
  id
3746
3781
  name
3747
3782
  orderBy
3783
+ synonyms
3784
+ use
3785
+ buyerTypes
3786
+ industryTags
3748
3787
  pk
3749
3788
  }
3750
3789
  pk
@@ -3753,6 +3792,10 @@ query Company($id: String) {
3753
3792
  id
3754
3793
  name
3755
3794
  orderBy
3795
+ synonyms
3796
+ use
3797
+ buyerTypes
3798
+ industryTags
3756
3799
  }
3757
3800
  metalGrade {
3758
3801
  id
@@ -3761,6 +3804,10 @@ query Company($id: String) {
3761
3804
  id
3762
3805
  name
3763
3806
  orderBy
3807
+ synonyms
3808
+ use
3809
+ buyerTypes
3810
+ industryTags
3764
3811
  }
3765
3812
  }
3766
3813
  score
@@ -4360,6 +4407,10 @@ query ProductTypes {
4360
4407
  id
4361
4408
  name
4362
4409
  orderBy
4410
+ synonyms
4411
+ use
4412
+ buyerTypes
4413
+ industryTags
4363
4414
  pk
4364
4415
  }
4365
4416
  pk
@@ -4371,6 +4422,10 @@ query ProductCategories {
4371
4422
  id
4372
4423
  name
4373
4424
  orderBy
4425
+ synonyms
4426
+ use
4427
+ buyerTypes
4428
+ industryTags
4374
4429
  productTypes {
4375
4430
  id
4376
4431
  name
@@ -4386,6 +4441,10 @@ query MetalTypes {
4386
4441
  id
4387
4442
  name
4388
4443
  orderBy
4444
+ synonyms
4445
+ use
4446
+ buyerTypes
4447
+ industryTags
4389
4448
  }
4390
4449
  }`;
4391
4450
  exports.METAL_GRADES = (0, client_1.gql) `
@@ -4397,6 +4456,10 @@ query MetalGrades {
4397
4456
  id
4398
4457
  name
4399
4458
  orderBy
4459
+ synonyms
4460
+ use
4461
+ buyerTypes
4462
+ industryTags
4400
4463
  }
4401
4464
  }
4402
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.65",
3
+ "version": "0.0.67",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",