cf-service-sdk 0.0.47 → 0.0.49
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.
- package/dist/generated/graphql.d.ts +36 -452
- package/dist/generated/graphql.js +19 -284
- package/dist/mutations.d.ts +0 -4
- package/dist/mutations.js +5 -55
- package/dist/queries.d.ts +0 -2
- package/dist/queries.js +10 -52
- package/dist/sdk.d.ts +3 -9
- package/dist/sdk.js +4 -40
- package/package.json +1 -1
|
@@ -33,17 +33,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.InviteUserDocument = exports.HideRecordDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.
|
|
37
|
-
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 =
|
|
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 =
|
|
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;
|
|
39
39
|
exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
|
|
40
40
|
exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
|
|
41
41
|
exports.useAddContactsToSegmentMutation = useAddContactsToSegmentMutation;
|
|
42
42
|
exports.useAddSegmentToCallCampaignMutation = useAddSegmentToCallCampaignMutation;
|
|
43
43
|
exports.useAddSegmentToCampaignMutation = useAddSegmentToCampaignMutation;
|
|
44
|
-
exports.useAiAgentChatMutation = useAiAgentChatMutation;
|
|
45
|
-
exports.useAiAgentContinueMutation = useAiAgentContinueMutation;
|
|
46
|
-
exports.useAiAgentExecuteMutation = useAiAgentExecuteMutation;
|
|
47
44
|
exports.useCancelCampaignMutation = useCancelCampaignMutation;
|
|
48
45
|
exports.useCancelInvitationMutation = useCancelInvitationMutation;
|
|
49
46
|
exports.useChangePasswordMutation = useChangePasswordMutation;
|
|
@@ -64,7 +61,6 @@ exports.useDeleteCampaignMutation = useDeleteCampaignMutation;
|
|
|
64
61
|
exports.useDeleteCompanyMutation = useDeleteCompanyMutation;
|
|
65
62
|
exports.useDeleteCompanyNoteMutation = useDeleteCompanyNoteMutation;
|
|
66
63
|
exports.useDeleteContactMutation = useDeleteContactMutation;
|
|
67
|
-
exports.useDeleteConversationMutation = useDeleteConversationMutation;
|
|
68
64
|
exports.useDeleteEmailTemplateMutation = useDeleteEmailTemplateMutation;
|
|
69
65
|
exports.useDeleteNotificationMutation = useDeleteNotificationMutation;
|
|
70
66
|
exports.useDeleteSegmentMutation = useDeleteSegmentMutation;
|
|
@@ -171,12 +167,6 @@ exports.useContactsSuspenseQuery = useContactsSuspenseQuery;
|
|
|
171
167
|
exports.useContactsInSegmentQuery = useContactsInSegmentQuery;
|
|
172
168
|
exports.useContactsInSegmentLazyQuery = useContactsInSegmentLazyQuery;
|
|
173
169
|
exports.useContactsInSegmentSuspenseQuery = useContactsInSegmentSuspenseQuery;
|
|
174
|
-
exports.useConversationQuery = useConversationQuery;
|
|
175
|
-
exports.useConversationLazyQuery = useConversationLazyQuery;
|
|
176
|
-
exports.useConversationSuspenseQuery = useConversationSuspenseQuery;
|
|
177
|
-
exports.useConversationHistoryQuery = useConversationHistoryQuery;
|
|
178
|
-
exports.useConversationHistoryLazyQuery = useConversationHistoryLazyQuery;
|
|
179
|
-
exports.useConversationHistorySuspenseQuery = useConversationHistorySuspenseQuery;
|
|
180
170
|
exports.useCurrentAccountQuery = useCurrentAccountQuery;
|
|
181
171
|
exports.useCurrentAccountLazyQuery = useCurrentAccountLazyQuery;
|
|
182
172
|
exports.useCurrentAccountSuspenseQuery = useCurrentAccountSuspenseQuery;
|
|
@@ -259,16 +249,6 @@ const client_1 = require("@apollo/client");
|
|
|
259
249
|
const Apollo = __importStar(require("@apollo/client"));
|
|
260
250
|
const defaultOptions = {};
|
|
261
251
|
/** An enumeration. */
|
|
262
|
-
var AgentConversationMessageRoleChoices;
|
|
263
|
-
(function (AgentConversationMessageRoleChoices) {
|
|
264
|
-
/** Assistant */
|
|
265
|
-
AgentConversationMessageRoleChoices["Assistant"] = "ASSISTANT";
|
|
266
|
-
/** System */
|
|
267
|
-
AgentConversationMessageRoleChoices["System"] = "SYSTEM";
|
|
268
|
-
/** User */
|
|
269
|
-
AgentConversationMessageRoleChoices["User"] = "USER";
|
|
270
|
-
})(AgentConversationMessageRoleChoices || (exports.AgentConversationMessageRoleChoices = AgentConversationMessageRoleChoices = {}));
|
|
271
|
-
/** An enumeration. */
|
|
272
252
|
var AppAccountInvitationStatusChoices;
|
|
273
253
|
(function (AppAccountInvitationStatusChoices) {
|
|
274
254
|
/** Accepted */
|
|
@@ -829,125 +809,6 @@ function useAddSegmentToCampaignMutation(baseOptions) {
|
|
|
829
809
|
const options = { ...defaultOptions, ...baseOptions };
|
|
830
810
|
return Apollo.useMutation(exports.AddSegmentToCampaignDocument, options);
|
|
831
811
|
}
|
|
832
|
-
exports.AiAgentChatDocument = (0, client_1.gql) `
|
|
833
|
-
mutation AiAgentChat($conversationId: String, $enableTools: Boolean, $message: String!) {
|
|
834
|
-
aiAgentChat(
|
|
835
|
-
conversationId: $conversationId
|
|
836
|
-
enableTools: $enableTools
|
|
837
|
-
message: $message
|
|
838
|
-
) {
|
|
839
|
-
success
|
|
840
|
-
conversationId
|
|
841
|
-
response
|
|
842
|
-
toolCalls {
|
|
843
|
-
type
|
|
844
|
-
id
|
|
845
|
-
name
|
|
846
|
-
input
|
|
847
|
-
}
|
|
848
|
-
requiresExecution
|
|
849
|
-
error
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
`;
|
|
853
|
-
/**
|
|
854
|
-
* __useAiAgentChatMutation__
|
|
855
|
-
*
|
|
856
|
-
* To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
|
|
857
|
-
* When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
|
|
858
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
859
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
860
|
-
*
|
|
861
|
-
* @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;
|
|
862
|
-
*
|
|
863
|
-
* @example
|
|
864
|
-
* const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
|
|
865
|
-
* variables: {
|
|
866
|
-
* conversationId: // value for 'conversationId'
|
|
867
|
-
* enableTools: // value for 'enableTools'
|
|
868
|
-
* message: // value for 'message'
|
|
869
|
-
* },
|
|
870
|
-
* });
|
|
871
|
-
*/
|
|
872
|
-
function useAiAgentChatMutation(baseOptions) {
|
|
873
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
874
|
-
return Apollo.useMutation(exports.AiAgentChatDocument, options);
|
|
875
|
-
}
|
|
876
|
-
exports.AiAgentContinueDocument = (0, client_1.gql) `
|
|
877
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
878
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
879
|
-
success
|
|
880
|
-
response
|
|
881
|
-
toolCalls {
|
|
882
|
-
type
|
|
883
|
-
id
|
|
884
|
-
name
|
|
885
|
-
input
|
|
886
|
-
}
|
|
887
|
-
requiresExecution
|
|
888
|
-
error
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
`;
|
|
892
|
-
/**
|
|
893
|
-
* __useAiAgentContinueMutation__
|
|
894
|
-
*
|
|
895
|
-
* To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
|
|
896
|
-
* When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
|
|
897
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
898
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
899
|
-
*
|
|
900
|
-
* @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;
|
|
901
|
-
*
|
|
902
|
-
* @example
|
|
903
|
-
* const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
|
|
904
|
-
* variables: {
|
|
905
|
-
* conversationId: // value for 'conversationId'
|
|
906
|
-
* toolResults: // value for 'toolResults'
|
|
907
|
-
* },
|
|
908
|
-
* });
|
|
909
|
-
*/
|
|
910
|
-
function useAiAgentContinueMutation(baseOptions) {
|
|
911
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
912
|
-
return Apollo.useMutation(exports.AiAgentContinueDocument, options);
|
|
913
|
-
}
|
|
914
|
-
exports.AiAgentExecuteDocument = (0, client_1.gql) `
|
|
915
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
916
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
917
|
-
success
|
|
918
|
-
results {
|
|
919
|
-
toolUseId
|
|
920
|
-
type
|
|
921
|
-
success
|
|
922
|
-
result
|
|
923
|
-
error
|
|
924
|
-
}
|
|
925
|
-
error
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
`;
|
|
929
|
-
/**
|
|
930
|
-
* __useAiAgentExecuteMutation__
|
|
931
|
-
*
|
|
932
|
-
* To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
|
|
933
|
-
* When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
|
|
934
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
935
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
936
|
-
*
|
|
937
|
-
* @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;
|
|
938
|
-
*
|
|
939
|
-
* @example
|
|
940
|
-
* const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
|
|
941
|
-
* variables: {
|
|
942
|
-
* conversationId: // value for 'conversationId'
|
|
943
|
-
* toolCalls: // value for 'toolCalls'
|
|
944
|
-
* },
|
|
945
|
-
* });
|
|
946
|
-
*/
|
|
947
|
-
function useAiAgentExecuteMutation(baseOptions) {
|
|
948
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
949
|
-
return Apollo.useMutation(exports.AiAgentExecuteDocument, options);
|
|
950
|
-
}
|
|
951
812
|
exports.CancelCampaignDocument = (0, client_1.gql) `
|
|
952
813
|
mutation CancelCampaign($id: ID!) {
|
|
953
814
|
cancelCampaign(id: $id) {
|
|
@@ -2147,6 +2008,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
2147
2008
|
ownedByUser
|
|
2148
2009
|
isProspect
|
|
2149
2010
|
purchaseMetalConfidence
|
|
2011
|
+
lastContactedAt
|
|
2150
2012
|
}
|
|
2151
2013
|
}
|
|
2152
2014
|
}
|
|
@@ -2991,35 +2853,6 @@ function useDeleteContactMutation(baseOptions) {
|
|
|
2991
2853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2992
2854
|
return Apollo.useMutation(exports.DeleteContactDocument, options);
|
|
2993
2855
|
}
|
|
2994
|
-
exports.DeleteConversationDocument = (0, client_1.gql) `
|
|
2995
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
2996
|
-
deleteConversation(conversationId: $conversationId) {
|
|
2997
|
-
success
|
|
2998
|
-
message
|
|
2999
|
-
}
|
|
3000
|
-
}
|
|
3001
|
-
`;
|
|
3002
|
-
/**
|
|
3003
|
-
* __useDeleteConversationMutation__
|
|
3004
|
-
*
|
|
3005
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
3006
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
3007
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
3008
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
3009
|
-
*
|
|
3010
|
-
* @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;
|
|
3011
|
-
*
|
|
3012
|
-
* @example
|
|
3013
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
3014
|
-
* variables: {
|
|
3015
|
-
* conversationId: // value for 'conversationId'
|
|
3016
|
-
* },
|
|
3017
|
-
* });
|
|
3018
|
-
*/
|
|
3019
|
-
function useDeleteConversationMutation(baseOptions) {
|
|
3020
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3021
|
-
return Apollo.useMutation(exports.DeleteConversationDocument, options);
|
|
3022
|
-
}
|
|
3023
2856
|
exports.DeleteEmailTemplateDocument = (0, client_1.gql) `
|
|
3024
2857
|
mutation DeleteEmailTemplate($uuid: UUID!) {
|
|
3025
2858
|
deleteEmailTemplate(uuid: $uuid) {
|
|
@@ -3647,11 +3480,11 @@ function useRejectInvitationMutation(baseOptions) {
|
|
|
3647
3480
|
return Apollo.useMutation(exports.RejectInvitationDocument, options);
|
|
3648
3481
|
}
|
|
3649
3482
|
exports.RemoveContactsFromCampaignDocument = (0, client_1.gql) `
|
|
3650
|
-
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $
|
|
3483
|
+
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $customContactIds: [ID]) {
|
|
3651
3484
|
removeContactsFromCampaign(
|
|
3652
3485
|
campaignId: $campaignId
|
|
3653
3486
|
contactIds: $contactIds
|
|
3654
|
-
|
|
3487
|
+
customContactIds: $customContactIds
|
|
3655
3488
|
) {
|
|
3656
3489
|
campaign {
|
|
3657
3490
|
uuid
|
|
@@ -3728,7 +3561,7 @@ exports.RemoveContactsFromCampaignDocument = (0, client_1.gql) `
|
|
|
3728
3561
|
* variables: {
|
|
3729
3562
|
* campaignId: // value for 'campaignId'
|
|
3730
3563
|
* contactIds: // value for 'contactIds'
|
|
3731
|
-
*
|
|
3564
|
+
* customContactIds: // value for 'customContactIds'
|
|
3732
3565
|
* },
|
|
3733
3566
|
* });
|
|
3734
3567
|
*/
|
|
@@ -5452,6 +5285,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
5452
5285
|
ownedByUser
|
|
5453
5286
|
isProspect
|
|
5454
5287
|
purchaseMetalConfidence
|
|
5288
|
+
lastContactedAt
|
|
5455
5289
|
}
|
|
5456
5290
|
}
|
|
5457
5291
|
}
|
|
@@ -7271,17 +7105,21 @@ function useCampaignAnalyticsSuspenseQuery(baseOptions) {
|
|
|
7271
7105
|
return Apollo.useSuspenseQuery(exports.CampaignAnalyticsDocument, options);
|
|
7272
7106
|
}
|
|
7273
7107
|
exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
7274
|
-
query CampaignContacts($campaignUuid: ID
|
|
7275
|
-
campaignContacts(campaignUuid: $campaignUuid) {
|
|
7108
|
+
query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
|
|
7109
|
+
campaignContacts(campaignUuid: $campaignUuid, page: $page, pageSize: $pageSize) {
|
|
7276
7110
|
validEmailCount
|
|
7277
7111
|
items {
|
|
7278
7112
|
firstName
|
|
7279
7113
|
lastName
|
|
7280
7114
|
email
|
|
7115
|
+
title
|
|
7116
|
+
companyId
|
|
7281
7117
|
companyName
|
|
7282
7118
|
companyCity
|
|
7283
7119
|
companyState
|
|
7284
7120
|
phone
|
|
7121
|
+
contactId
|
|
7122
|
+
customContactId
|
|
7285
7123
|
}
|
|
7286
7124
|
pagination {
|
|
7287
7125
|
currentPage
|
|
@@ -7307,6 +7145,8 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
|
7307
7145
|
* const { data, loading, error } = useCampaignContactsQuery({
|
|
7308
7146
|
* variables: {
|
|
7309
7147
|
* campaignUuid: // value for 'campaignUuid'
|
|
7148
|
+
* page: // value for 'page'
|
|
7149
|
+
* pageSize: // value for 'pageSize'
|
|
7310
7150
|
* },
|
|
7311
7151
|
* });
|
|
7312
7152
|
*/
|
|
@@ -8220,6 +8060,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
8220
8060
|
ownedByUser
|
|
8221
8061
|
isProspect
|
|
8222
8062
|
purchaseMetalConfidence
|
|
8063
|
+
lastContactedAt
|
|
8223
8064
|
}
|
|
8224
8065
|
pagination {
|
|
8225
8066
|
currentPage
|
|
@@ -8881,6 +8722,7 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
8881
8722
|
ownedByUser
|
|
8882
8723
|
isProspect
|
|
8883
8724
|
purchaseMetalConfidence
|
|
8725
|
+
lastContactedAt
|
|
8884
8726
|
}
|
|
8885
8727
|
}
|
|
8886
8728
|
`;
|
|
@@ -9796,114 +9638,6 @@ function useContactsInSegmentSuspenseQuery(baseOptions) {
|
|
|
9796
9638
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9797
9639
|
return Apollo.useSuspenseQuery(exports.ContactsInSegmentDocument, options);
|
|
9798
9640
|
}
|
|
9799
|
-
exports.ConversationDocument = (0, client_1.gql) `
|
|
9800
|
-
query Conversation($conversationId: String!) {
|
|
9801
|
-
conversation(conversationId: $conversationId) {
|
|
9802
|
-
id
|
|
9803
|
-
user {
|
|
9804
|
-
id
|
|
9805
|
-
email
|
|
9806
|
-
firstName
|
|
9807
|
-
lastName
|
|
9808
|
-
picture
|
|
9809
|
-
}
|
|
9810
|
-
createdAt
|
|
9811
|
-
updatedAt
|
|
9812
|
-
messages {
|
|
9813
|
-
id
|
|
9814
|
-
role
|
|
9815
|
-
content
|
|
9816
|
-
toolCalls
|
|
9817
|
-
toolResults
|
|
9818
|
-
createdAt
|
|
9819
|
-
}
|
|
9820
|
-
}
|
|
9821
|
-
}
|
|
9822
|
-
`;
|
|
9823
|
-
/**
|
|
9824
|
-
* __useConversationQuery__
|
|
9825
|
-
*
|
|
9826
|
-
* To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
|
|
9827
|
-
* When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9828
|
-
* you can use to render your UI.
|
|
9829
|
-
*
|
|
9830
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9831
|
-
*
|
|
9832
|
-
* @example
|
|
9833
|
-
* const { data, loading, error } = useConversationQuery({
|
|
9834
|
-
* variables: {
|
|
9835
|
-
* conversationId: // value for 'conversationId'
|
|
9836
|
-
* },
|
|
9837
|
-
* });
|
|
9838
|
-
*/
|
|
9839
|
-
function useConversationQuery(baseOptions) {
|
|
9840
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9841
|
-
return Apollo.useQuery(exports.ConversationDocument, options);
|
|
9842
|
-
}
|
|
9843
|
-
function useConversationLazyQuery(baseOptions) {
|
|
9844
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9845
|
-
return Apollo.useLazyQuery(exports.ConversationDocument, options);
|
|
9846
|
-
}
|
|
9847
|
-
function useConversationSuspenseQuery(baseOptions) {
|
|
9848
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9849
|
-
return Apollo.useSuspenseQuery(exports.ConversationDocument, options);
|
|
9850
|
-
}
|
|
9851
|
-
exports.ConversationHistoryDocument = (0, client_1.gql) `
|
|
9852
|
-
query ConversationHistory($limit: Int, $offset: Int) {
|
|
9853
|
-
conversationHistory(limit: $limit, offset: $offset) {
|
|
9854
|
-
conversations {
|
|
9855
|
-
id
|
|
9856
|
-
user {
|
|
9857
|
-
id
|
|
9858
|
-
email
|
|
9859
|
-
firstName
|
|
9860
|
-
lastName
|
|
9861
|
-
picture
|
|
9862
|
-
}
|
|
9863
|
-
createdAt
|
|
9864
|
-
updatedAt
|
|
9865
|
-
messages {
|
|
9866
|
-
id
|
|
9867
|
-
role
|
|
9868
|
-
content
|
|
9869
|
-
toolCalls
|
|
9870
|
-
toolResults
|
|
9871
|
-
createdAt
|
|
9872
|
-
}
|
|
9873
|
-
}
|
|
9874
|
-
totalCount
|
|
9875
|
-
}
|
|
9876
|
-
}
|
|
9877
|
-
`;
|
|
9878
|
-
/**
|
|
9879
|
-
* __useConversationHistoryQuery__
|
|
9880
|
-
*
|
|
9881
|
-
* To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
|
|
9882
|
-
* When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9883
|
-
* you can use to render your UI.
|
|
9884
|
-
*
|
|
9885
|
-
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
9886
|
-
*
|
|
9887
|
-
* @example
|
|
9888
|
-
* const { data, loading, error } = useConversationHistoryQuery({
|
|
9889
|
-
* variables: {
|
|
9890
|
-
* limit: // value for 'limit'
|
|
9891
|
-
* offset: // value for 'offset'
|
|
9892
|
-
* },
|
|
9893
|
-
* });
|
|
9894
|
-
*/
|
|
9895
|
-
function useConversationHistoryQuery(baseOptions) {
|
|
9896
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9897
|
-
return Apollo.useQuery(exports.ConversationHistoryDocument, options);
|
|
9898
|
-
}
|
|
9899
|
-
function useConversationHistoryLazyQuery(baseOptions) {
|
|
9900
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9901
|
-
return Apollo.useLazyQuery(exports.ConversationHistoryDocument, options);
|
|
9902
|
-
}
|
|
9903
|
-
function useConversationHistorySuspenseQuery(baseOptions) {
|
|
9904
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9905
|
-
return Apollo.useSuspenseQuery(exports.ConversationHistoryDocument, options);
|
|
9906
|
-
}
|
|
9907
9641
|
exports.CurrentAccountDocument = (0, client_1.gql) `
|
|
9908
9642
|
query CurrentAccount {
|
|
9909
9643
|
currentAccount {
|
|
@@ -11107,6 +10841,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
11107
10841
|
ownedByUser
|
|
11108
10842
|
isProspect
|
|
11109
10843
|
purchaseMetalConfidence
|
|
10844
|
+
lastContactedAt
|
|
11110
10845
|
}
|
|
11111
10846
|
contactName
|
|
11112
10847
|
contactTitle
|
package/dist/mutations.d.ts
CHANGED
|
@@ -66,7 +66,3 @@ export declare const UPDATE_COMPANY_NOTE: import("@apollo/client").DocumentNode;
|
|
|
66
66
|
export declare const DELETE_COMPANY_NOTE: import("@apollo/client").DocumentNode;
|
|
67
67
|
export declare const HIDE_RECORD: import("@apollo/client").DocumentNode;
|
|
68
68
|
export declare const UNHIDE_RECORD: import("@apollo/client").DocumentNode;
|
|
69
|
-
export declare const AI_AGENT_CHAT: import("@apollo/client").DocumentNode;
|
|
70
|
-
export declare const AI_AGENT_EXECUTE: import("@apollo/client").DocumentNode;
|
|
71
|
-
export declare const AI_AGENT_CONTINUE: import("@apollo/client").DocumentNode;
|
|
72
|
-
export declare const DELETE_CONVERSATION: 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
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.
|
|
4
|
+
exports.UNHIDE_RECORD = exports.HIDE_RECORD = exports.DELETE_COMPANY_NOTE = exports.UPDATE_COMPANY_NOTE = exports.CREATE_COMPANY_NOTE = exports.UPDATE_CALL_CAMPAIGN_LOG = exports.CREATE_CALL_CAMPAIGN_LOG = exports.REMOVE_SEGMENT_FROM_CALL_CAMPAIGN = exports.ADD_SEGMENT_TO_CALL_CAMPAIGN = exports.DELETE_CALL_CAMPAIGN = exports.UPDATE_CALL_CAMPAIGN = exports.CREATE_CALL_CAMPAIGN = exports.DELETE_TASK = exports.UPDATE_TASK = exports.CREATE_TASK = exports.CLEAR_ALL_NOTIFICATIONS = exports.DELETE_NOTIFICATION = exports.MARK_ALL_NOTIFICATIONS_AS_READ = void 0;
|
|
5
5
|
const client_1 = require("@apollo/client");
|
|
6
6
|
exports.SIGNUP = (0, client_1.gql) `
|
|
7
7
|
mutation Signup($input: SignupInput!) {
|
|
@@ -909,6 +909,7 @@ mutation CreateCompany($input: CompanyInput) {
|
|
|
909
909
|
ownedByUser
|
|
910
910
|
isProspect
|
|
911
911
|
purchaseMetalConfidence
|
|
912
|
+
lastContactedAt
|
|
912
913
|
}
|
|
913
914
|
}
|
|
914
915
|
}`;
|
|
@@ -1532,6 +1533,7 @@ mutation UpdateCompany($input: CompanyInput) {
|
|
|
1532
1533
|
ownedByUser
|
|
1533
1534
|
isProspect
|
|
1534
1535
|
purchaseMetalConfidence
|
|
1536
|
+
lastContactedAt
|
|
1535
1537
|
}
|
|
1536
1538
|
}
|
|
1537
1539
|
}`;
|
|
@@ -1695,8 +1697,8 @@ mutation AddContactsToCampaign($campaignId: ID!, $contacts: [CustomContactInput]
|
|
|
1695
1697
|
}
|
|
1696
1698
|
}`;
|
|
1697
1699
|
exports.REMOVE_CONTACTS_FROM_CAMPAIGN = (0, client_1.gql) `
|
|
1698
|
-
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $
|
|
1699
|
-
removeContactsFromCampaign(campaignId: $campaignId, contactIds: $contactIds,
|
|
1700
|
+
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $customContactIds: [ID]) {
|
|
1701
|
+
removeContactsFromCampaign(campaignId: $campaignId, contactIds: $contactIds, customContactIds: $customContactIds) {
|
|
1700
1702
|
campaign {
|
|
1701
1703
|
uuid
|
|
1702
1704
|
name
|
|
@@ -4033,55 +4035,3 @@ mutation UnhideRecord($input: HiddenRecordInput!) {
|
|
|
4033
4035
|
message
|
|
4034
4036
|
}
|
|
4035
4037
|
}`;
|
|
4036
|
-
exports.AI_AGENT_CHAT = (0, client_1.gql) `
|
|
4037
|
-
mutation AiAgentChat($conversationId: String, $enableTools: Boolean, $message: String!) {
|
|
4038
|
-
aiAgentChat(conversationId: $conversationId, enableTools: $enableTools, message: $message) {
|
|
4039
|
-
success
|
|
4040
|
-
conversationId
|
|
4041
|
-
response
|
|
4042
|
-
toolCalls {
|
|
4043
|
-
type
|
|
4044
|
-
id
|
|
4045
|
-
name
|
|
4046
|
-
input
|
|
4047
|
-
}
|
|
4048
|
-
requiresExecution
|
|
4049
|
-
error
|
|
4050
|
-
}
|
|
4051
|
-
}`;
|
|
4052
|
-
exports.AI_AGENT_EXECUTE = (0, client_1.gql) `
|
|
4053
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
4054
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
4055
|
-
success
|
|
4056
|
-
results {
|
|
4057
|
-
toolUseId
|
|
4058
|
-
type
|
|
4059
|
-
success
|
|
4060
|
-
result
|
|
4061
|
-
error
|
|
4062
|
-
}
|
|
4063
|
-
error
|
|
4064
|
-
}
|
|
4065
|
-
}`;
|
|
4066
|
-
exports.AI_AGENT_CONTINUE = (0, client_1.gql) `
|
|
4067
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
4068
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
4069
|
-
success
|
|
4070
|
-
response
|
|
4071
|
-
toolCalls {
|
|
4072
|
-
type
|
|
4073
|
-
id
|
|
4074
|
-
name
|
|
4075
|
-
input
|
|
4076
|
-
}
|
|
4077
|
-
requiresExecution
|
|
4078
|
-
error
|
|
4079
|
-
}
|
|
4080
|
-
}`;
|
|
4081
|
-
exports.DELETE_CONVERSATION = (0, client_1.gql) `
|
|
4082
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
4083
|
-
deleteConversation(conversationId: $conversationId) {
|
|
4084
|
-
success
|
|
4085
|
-
message
|
|
4086
|
-
}
|
|
4087
|
-
}`;
|
package/dist/queries.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const CONVERSATION_HISTORY: import("@apollo/client").DocumentNode;
|
|
2
|
-
export declare const CONVERSATION: import("@apollo/client").DocumentNode;
|
|
3
1
|
export declare const DASHBOARD_STATS: import("@apollo/client").DocumentNode;
|
|
4
2
|
export declare const RECENT_HISTORY: import("@apollo/client").DocumentNode;
|
|
5
3
|
export declare const COMPANY_NOTES: import("@apollo/client").DocumentNode;
|
package/dist/queries.js
CHANGED
|
@@ -1,56 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANIES = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = exports.TASK = exports.TASKS = exports.CALL_CAMPAIGN_REPORT = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.RECENT_HISTORY = exports.DASHBOARD_STATS =
|
|
3
|
+
exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANIES = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = exports.TASK = exports.TASKS = exports.CALL_CAMPAIGN_REPORT = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.RECENT_HISTORY = exports.DASHBOARD_STATS = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
|
-
exports.CONVERSATION_HISTORY = (0, client_1.gql) `
|
|
6
|
-
query ConversationHistory($limit: Int, $offset: Int) {
|
|
7
|
-
conversationHistory(limit: $limit, offset: $offset) {
|
|
8
|
-
conversations {
|
|
9
|
-
id
|
|
10
|
-
user {
|
|
11
|
-
id
|
|
12
|
-
email
|
|
13
|
-
firstName
|
|
14
|
-
lastName
|
|
15
|
-
picture
|
|
16
|
-
}
|
|
17
|
-
createdAt
|
|
18
|
-
updatedAt
|
|
19
|
-
messages {
|
|
20
|
-
id
|
|
21
|
-
role
|
|
22
|
-
content
|
|
23
|
-
toolCalls
|
|
24
|
-
toolResults
|
|
25
|
-
createdAt
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
totalCount
|
|
29
|
-
}
|
|
30
|
-
}`;
|
|
31
|
-
exports.CONVERSATION = (0, client_1.gql) `
|
|
32
|
-
query Conversation($conversationId: String!) {
|
|
33
|
-
conversation(conversationId: $conversationId) {
|
|
34
|
-
id
|
|
35
|
-
user {
|
|
36
|
-
id
|
|
37
|
-
email
|
|
38
|
-
firstName
|
|
39
|
-
lastName
|
|
40
|
-
picture
|
|
41
|
-
}
|
|
42
|
-
createdAt
|
|
43
|
-
updatedAt
|
|
44
|
-
messages {
|
|
45
|
-
id
|
|
46
|
-
role
|
|
47
|
-
content
|
|
48
|
-
toolCalls
|
|
49
|
-
toolResults
|
|
50
|
-
createdAt
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}`;
|
|
54
5
|
exports.DASHBOARD_STATS = (0, client_1.gql) `
|
|
55
6
|
query DashboardStats($startDate: DateTime, $endDate: DateTime) {
|
|
56
7
|
dashboardStats(startDate: $startDate, endDate: $endDate) {
|
|
@@ -610,6 +561,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
|
|
|
610
561
|
ownedByUser
|
|
611
562
|
isProspect
|
|
612
563
|
purchaseMetalConfidence
|
|
564
|
+
lastContactedAt
|
|
613
565
|
}
|
|
614
566
|
contactName
|
|
615
567
|
contactTitle
|
|
@@ -2596,17 +2548,21 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
|
|
|
2596
2548
|
}
|
|
2597
2549
|
}`;
|
|
2598
2550
|
exports.CAMPAIGN_CONTACTS = (0, client_1.gql) `
|
|
2599
|
-
query CampaignContacts($campaignUuid: ID
|
|
2600
|
-
campaignContacts(campaignUuid: $campaignUuid) {
|
|
2551
|
+
query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
|
|
2552
|
+
campaignContacts(campaignUuid: $campaignUuid, page: $page, pageSize: $pageSize) {
|
|
2601
2553
|
validEmailCount
|
|
2602
2554
|
items {
|
|
2603
2555
|
firstName
|
|
2604
2556
|
lastName
|
|
2605
2557
|
email
|
|
2558
|
+
title
|
|
2559
|
+
companyId
|
|
2606
2560
|
companyName
|
|
2607
2561
|
companyCity
|
|
2608
2562
|
companyState
|
|
2609
2563
|
phone
|
|
2564
|
+
contactId
|
|
2565
|
+
customContactId
|
|
2610
2566
|
}
|
|
2611
2567
|
pagination {
|
|
2612
2568
|
currentPage
|
|
@@ -3235,6 +3191,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
|
|
|
3235
3191
|
ownedByUser
|
|
3236
3192
|
isProspect
|
|
3237
3193
|
purchaseMetalConfidence
|
|
3194
|
+
lastContactedAt
|
|
3238
3195
|
}
|
|
3239
3196
|
pagination {
|
|
3240
3197
|
currentPage
|
|
@@ -3965,6 +3922,7 @@ query Company($id: String) {
|
|
|
3965
3922
|
ownedByUser
|
|
3966
3923
|
isProspect
|
|
3967
3924
|
purchaseMetalConfidence
|
|
3925
|
+
lastContactedAt
|
|
3968
3926
|
}
|
|
3969
3927
|
}`;
|
|
3970
3928
|
exports.CONTACT = (0, client_1.gql) `
|