cf-service-sdk 0.0.48 → 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 -470
- package/dist/generated/graphql.js +19 -298
- package/dist/mutations.d.ts +0 -4
- package/dist/mutations.js +5 -69
- 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,139 +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
|
-
toolResults {
|
|
849
|
-
toolUseId
|
|
850
|
-
type
|
|
851
|
-
success
|
|
852
|
-
result
|
|
853
|
-
error
|
|
854
|
-
}
|
|
855
|
-
requiresExecution
|
|
856
|
-
error
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
`;
|
|
860
|
-
/**
|
|
861
|
-
* __useAiAgentChatMutation__
|
|
862
|
-
*
|
|
863
|
-
* To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
|
|
864
|
-
* When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
|
|
865
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
866
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
867
|
-
*
|
|
868
|
-
* @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;
|
|
869
|
-
*
|
|
870
|
-
* @example
|
|
871
|
-
* const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
|
|
872
|
-
* variables: {
|
|
873
|
-
* conversationId: // value for 'conversationId'
|
|
874
|
-
* enableTools: // value for 'enableTools'
|
|
875
|
-
* message: // value for 'message'
|
|
876
|
-
* },
|
|
877
|
-
* });
|
|
878
|
-
*/
|
|
879
|
-
function useAiAgentChatMutation(baseOptions) {
|
|
880
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
881
|
-
return Apollo.useMutation(exports.AiAgentChatDocument, options);
|
|
882
|
-
}
|
|
883
|
-
exports.AiAgentContinueDocument = (0, client_1.gql) `
|
|
884
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
885
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
886
|
-
success
|
|
887
|
-
response
|
|
888
|
-
toolCalls {
|
|
889
|
-
type
|
|
890
|
-
id
|
|
891
|
-
name
|
|
892
|
-
input
|
|
893
|
-
}
|
|
894
|
-
toolResults {
|
|
895
|
-
toolUseId
|
|
896
|
-
type
|
|
897
|
-
success
|
|
898
|
-
result
|
|
899
|
-
error
|
|
900
|
-
}
|
|
901
|
-
requiresExecution
|
|
902
|
-
error
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
`;
|
|
906
|
-
/**
|
|
907
|
-
* __useAiAgentContinueMutation__
|
|
908
|
-
*
|
|
909
|
-
* To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
|
|
910
|
-
* When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
|
|
911
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
912
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
913
|
-
*
|
|
914
|
-
* @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;
|
|
915
|
-
*
|
|
916
|
-
* @example
|
|
917
|
-
* const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
|
|
918
|
-
* variables: {
|
|
919
|
-
* conversationId: // value for 'conversationId'
|
|
920
|
-
* toolResults: // value for 'toolResults'
|
|
921
|
-
* },
|
|
922
|
-
* });
|
|
923
|
-
*/
|
|
924
|
-
function useAiAgentContinueMutation(baseOptions) {
|
|
925
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
926
|
-
return Apollo.useMutation(exports.AiAgentContinueDocument, options);
|
|
927
|
-
}
|
|
928
|
-
exports.AiAgentExecuteDocument = (0, client_1.gql) `
|
|
929
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
930
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
931
|
-
success
|
|
932
|
-
results {
|
|
933
|
-
toolUseId
|
|
934
|
-
type
|
|
935
|
-
success
|
|
936
|
-
result
|
|
937
|
-
error
|
|
938
|
-
}
|
|
939
|
-
error
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
`;
|
|
943
|
-
/**
|
|
944
|
-
* __useAiAgentExecuteMutation__
|
|
945
|
-
*
|
|
946
|
-
* To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
|
|
947
|
-
* When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
|
|
948
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
949
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
950
|
-
*
|
|
951
|
-
* @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;
|
|
952
|
-
*
|
|
953
|
-
* @example
|
|
954
|
-
* const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
|
|
955
|
-
* variables: {
|
|
956
|
-
* conversationId: // value for 'conversationId'
|
|
957
|
-
* toolCalls: // value for 'toolCalls'
|
|
958
|
-
* },
|
|
959
|
-
* });
|
|
960
|
-
*/
|
|
961
|
-
function useAiAgentExecuteMutation(baseOptions) {
|
|
962
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
963
|
-
return Apollo.useMutation(exports.AiAgentExecuteDocument, options);
|
|
964
|
-
}
|
|
965
812
|
exports.CancelCampaignDocument = (0, client_1.gql) `
|
|
966
813
|
mutation CancelCampaign($id: ID!) {
|
|
967
814
|
cancelCampaign(id: $id) {
|
|
@@ -2161,6 +2008,7 @@ exports.CreateCompanyDocument = (0, client_1.gql) `
|
|
|
2161
2008
|
ownedByUser
|
|
2162
2009
|
isProspect
|
|
2163
2010
|
purchaseMetalConfidence
|
|
2011
|
+
lastContactedAt
|
|
2164
2012
|
}
|
|
2165
2013
|
}
|
|
2166
2014
|
}
|
|
@@ -3005,35 +2853,6 @@ function useDeleteContactMutation(baseOptions) {
|
|
|
3005
2853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3006
2854
|
return Apollo.useMutation(exports.DeleteContactDocument, options);
|
|
3007
2855
|
}
|
|
3008
|
-
exports.DeleteConversationDocument = (0, client_1.gql) `
|
|
3009
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
3010
|
-
deleteConversation(conversationId: $conversationId) {
|
|
3011
|
-
success
|
|
3012
|
-
message
|
|
3013
|
-
}
|
|
3014
|
-
}
|
|
3015
|
-
`;
|
|
3016
|
-
/**
|
|
3017
|
-
* __useDeleteConversationMutation__
|
|
3018
|
-
*
|
|
3019
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
3020
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
3021
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
3022
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
3023
|
-
*
|
|
3024
|
-
* @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;
|
|
3025
|
-
*
|
|
3026
|
-
* @example
|
|
3027
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
3028
|
-
* variables: {
|
|
3029
|
-
* conversationId: // value for 'conversationId'
|
|
3030
|
-
* },
|
|
3031
|
-
* });
|
|
3032
|
-
*/
|
|
3033
|
-
function useDeleteConversationMutation(baseOptions) {
|
|
3034
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3035
|
-
return Apollo.useMutation(exports.DeleteConversationDocument, options);
|
|
3036
|
-
}
|
|
3037
2856
|
exports.DeleteEmailTemplateDocument = (0, client_1.gql) `
|
|
3038
2857
|
mutation DeleteEmailTemplate($uuid: UUID!) {
|
|
3039
2858
|
deleteEmailTemplate(uuid: $uuid) {
|
|
@@ -3661,11 +3480,11 @@ function useRejectInvitationMutation(baseOptions) {
|
|
|
3661
3480
|
return Apollo.useMutation(exports.RejectInvitationDocument, options);
|
|
3662
3481
|
}
|
|
3663
3482
|
exports.RemoveContactsFromCampaignDocument = (0, client_1.gql) `
|
|
3664
|
-
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $
|
|
3483
|
+
mutation RemoveContactsFromCampaign($campaignId: ID!, $contactIds: [ID], $customContactIds: [ID]) {
|
|
3665
3484
|
removeContactsFromCampaign(
|
|
3666
3485
|
campaignId: $campaignId
|
|
3667
3486
|
contactIds: $contactIds
|
|
3668
|
-
|
|
3487
|
+
customContactIds: $customContactIds
|
|
3669
3488
|
) {
|
|
3670
3489
|
campaign {
|
|
3671
3490
|
uuid
|
|
@@ -3742,7 +3561,7 @@ exports.RemoveContactsFromCampaignDocument = (0, client_1.gql) `
|
|
|
3742
3561
|
* variables: {
|
|
3743
3562
|
* campaignId: // value for 'campaignId'
|
|
3744
3563
|
* contactIds: // value for 'contactIds'
|
|
3745
|
-
*
|
|
3564
|
+
* customContactIds: // value for 'customContactIds'
|
|
3746
3565
|
* },
|
|
3747
3566
|
* });
|
|
3748
3567
|
*/
|
|
@@ -5466,6 +5285,7 @@ exports.UpdateCompanyDocument = (0, client_1.gql) `
|
|
|
5466
5285
|
ownedByUser
|
|
5467
5286
|
isProspect
|
|
5468
5287
|
purchaseMetalConfidence
|
|
5288
|
+
lastContactedAt
|
|
5469
5289
|
}
|
|
5470
5290
|
}
|
|
5471
5291
|
}
|
|
@@ -7285,17 +7105,21 @@ function useCampaignAnalyticsSuspenseQuery(baseOptions) {
|
|
|
7285
7105
|
return Apollo.useSuspenseQuery(exports.CampaignAnalyticsDocument, options);
|
|
7286
7106
|
}
|
|
7287
7107
|
exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
7288
|
-
query CampaignContacts($campaignUuid: ID
|
|
7289
|
-
campaignContacts(campaignUuid: $campaignUuid) {
|
|
7108
|
+
query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
|
|
7109
|
+
campaignContacts(campaignUuid: $campaignUuid, page: $page, pageSize: $pageSize) {
|
|
7290
7110
|
validEmailCount
|
|
7291
7111
|
items {
|
|
7292
7112
|
firstName
|
|
7293
7113
|
lastName
|
|
7294
7114
|
email
|
|
7115
|
+
title
|
|
7116
|
+
companyId
|
|
7295
7117
|
companyName
|
|
7296
7118
|
companyCity
|
|
7297
7119
|
companyState
|
|
7298
7120
|
phone
|
|
7121
|
+
contactId
|
|
7122
|
+
customContactId
|
|
7299
7123
|
}
|
|
7300
7124
|
pagination {
|
|
7301
7125
|
currentPage
|
|
@@ -7321,6 +7145,8 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
|
|
|
7321
7145
|
* const { data, loading, error } = useCampaignContactsQuery({
|
|
7322
7146
|
* variables: {
|
|
7323
7147
|
* campaignUuid: // value for 'campaignUuid'
|
|
7148
|
+
* page: // value for 'page'
|
|
7149
|
+
* pageSize: // value for 'pageSize'
|
|
7324
7150
|
* },
|
|
7325
7151
|
* });
|
|
7326
7152
|
*/
|
|
@@ -8234,6 +8060,7 @@ exports.CompaniesDocument = (0, client_1.gql) `
|
|
|
8234
8060
|
ownedByUser
|
|
8235
8061
|
isProspect
|
|
8236
8062
|
purchaseMetalConfidence
|
|
8063
|
+
lastContactedAt
|
|
8237
8064
|
}
|
|
8238
8065
|
pagination {
|
|
8239
8066
|
currentPage
|
|
@@ -8895,6 +8722,7 @@ exports.CompanyDocument = (0, client_1.gql) `
|
|
|
8895
8722
|
ownedByUser
|
|
8896
8723
|
isProspect
|
|
8897
8724
|
purchaseMetalConfidence
|
|
8725
|
+
lastContactedAt
|
|
8898
8726
|
}
|
|
8899
8727
|
}
|
|
8900
8728
|
`;
|
|
@@ -9810,114 +9638,6 @@ function useContactsInSegmentSuspenseQuery(baseOptions) {
|
|
|
9810
9638
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9811
9639
|
return Apollo.useSuspenseQuery(exports.ContactsInSegmentDocument, options);
|
|
9812
9640
|
}
|
|
9813
|
-
exports.ConversationDocument = (0, client_1.gql) `
|
|
9814
|
-
query Conversation($conversationId: String!) {
|
|
9815
|
-
conversation(conversationId: $conversationId) {
|
|
9816
|
-
id
|
|
9817
|
-
user {
|
|
9818
|
-
id
|
|
9819
|
-
email
|
|
9820
|
-
firstName
|
|
9821
|
-
lastName
|
|
9822
|
-
picture
|
|
9823
|
-
}
|
|
9824
|
-
createdAt
|
|
9825
|
-
updatedAt
|
|
9826
|
-
messages {
|
|
9827
|
-
id
|
|
9828
|
-
role
|
|
9829
|
-
content
|
|
9830
|
-
toolCalls
|
|
9831
|
-
toolResults
|
|
9832
|
-
createdAt
|
|
9833
|
-
}
|
|
9834
|
-
}
|
|
9835
|
-
}
|
|
9836
|
-
`;
|
|
9837
|
-
/**
|
|
9838
|
-
* __useConversationQuery__
|
|
9839
|
-
*
|
|
9840
|
-
* To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
|
|
9841
|
-
* When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9842
|
-
* you can use to render your UI.
|
|
9843
|
-
*
|
|
9844
|
-
* @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;
|
|
9845
|
-
*
|
|
9846
|
-
* @example
|
|
9847
|
-
* const { data, loading, error } = useConversationQuery({
|
|
9848
|
-
* variables: {
|
|
9849
|
-
* conversationId: // value for 'conversationId'
|
|
9850
|
-
* },
|
|
9851
|
-
* });
|
|
9852
|
-
*/
|
|
9853
|
-
function useConversationQuery(baseOptions) {
|
|
9854
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9855
|
-
return Apollo.useQuery(exports.ConversationDocument, options);
|
|
9856
|
-
}
|
|
9857
|
-
function useConversationLazyQuery(baseOptions) {
|
|
9858
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9859
|
-
return Apollo.useLazyQuery(exports.ConversationDocument, options);
|
|
9860
|
-
}
|
|
9861
|
-
function useConversationSuspenseQuery(baseOptions) {
|
|
9862
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9863
|
-
return Apollo.useSuspenseQuery(exports.ConversationDocument, options);
|
|
9864
|
-
}
|
|
9865
|
-
exports.ConversationHistoryDocument = (0, client_1.gql) `
|
|
9866
|
-
query ConversationHistory($limit: Int, $offset: Int) {
|
|
9867
|
-
conversationHistory(limit: $limit, offset: $offset) {
|
|
9868
|
-
conversations {
|
|
9869
|
-
id
|
|
9870
|
-
user {
|
|
9871
|
-
id
|
|
9872
|
-
email
|
|
9873
|
-
firstName
|
|
9874
|
-
lastName
|
|
9875
|
-
picture
|
|
9876
|
-
}
|
|
9877
|
-
createdAt
|
|
9878
|
-
updatedAt
|
|
9879
|
-
messages {
|
|
9880
|
-
id
|
|
9881
|
-
role
|
|
9882
|
-
content
|
|
9883
|
-
toolCalls
|
|
9884
|
-
toolResults
|
|
9885
|
-
createdAt
|
|
9886
|
-
}
|
|
9887
|
-
}
|
|
9888
|
-
totalCount
|
|
9889
|
-
}
|
|
9890
|
-
}
|
|
9891
|
-
`;
|
|
9892
|
-
/**
|
|
9893
|
-
* __useConversationHistoryQuery__
|
|
9894
|
-
*
|
|
9895
|
-
* To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
|
|
9896
|
-
* When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9897
|
-
* you can use to render your UI.
|
|
9898
|
-
*
|
|
9899
|
-
* @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;
|
|
9900
|
-
*
|
|
9901
|
-
* @example
|
|
9902
|
-
* const { data, loading, error } = useConversationHistoryQuery({
|
|
9903
|
-
* variables: {
|
|
9904
|
-
* limit: // value for 'limit'
|
|
9905
|
-
* offset: // value for 'offset'
|
|
9906
|
-
* },
|
|
9907
|
-
* });
|
|
9908
|
-
*/
|
|
9909
|
-
function useConversationHistoryQuery(baseOptions) {
|
|
9910
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9911
|
-
return Apollo.useQuery(exports.ConversationHistoryDocument, options);
|
|
9912
|
-
}
|
|
9913
|
-
function useConversationHistoryLazyQuery(baseOptions) {
|
|
9914
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
9915
|
-
return Apollo.useLazyQuery(exports.ConversationHistoryDocument, options);
|
|
9916
|
-
}
|
|
9917
|
-
function useConversationHistorySuspenseQuery(baseOptions) {
|
|
9918
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
9919
|
-
return Apollo.useSuspenseQuery(exports.ConversationHistoryDocument, options);
|
|
9920
|
-
}
|
|
9921
9641
|
exports.CurrentAccountDocument = (0, client_1.gql) `
|
|
9922
9642
|
query CurrentAccount {
|
|
9923
9643
|
currentAccount {
|
|
@@ -11121,6 +10841,7 @@ exports.RecentHistoryDocument = (0, client_1.gql) `
|
|
|
11121
10841
|
ownedByUser
|
|
11122
10842
|
isProspect
|
|
11123
10843
|
purchaseMetalConfidence
|
|
10844
|
+
lastContactedAt
|
|
11124
10845
|
}
|
|
11125
10846
|
contactName
|
|
11126
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,69 +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
|
-
toolResults {
|
|
4049
|
-
toolUseId
|
|
4050
|
-
type
|
|
4051
|
-
success
|
|
4052
|
-
result
|
|
4053
|
-
error
|
|
4054
|
-
}
|
|
4055
|
-
requiresExecution
|
|
4056
|
-
error
|
|
4057
|
-
}
|
|
4058
|
-
}`;
|
|
4059
|
-
exports.AI_AGENT_EXECUTE = (0, client_1.gql) `
|
|
4060
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
4061
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
4062
|
-
success
|
|
4063
|
-
results {
|
|
4064
|
-
toolUseId
|
|
4065
|
-
type
|
|
4066
|
-
success
|
|
4067
|
-
result
|
|
4068
|
-
error
|
|
4069
|
-
}
|
|
4070
|
-
error
|
|
4071
|
-
}
|
|
4072
|
-
}`;
|
|
4073
|
-
exports.AI_AGENT_CONTINUE = (0, client_1.gql) `
|
|
4074
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
4075
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
4076
|
-
success
|
|
4077
|
-
response
|
|
4078
|
-
toolCalls {
|
|
4079
|
-
type
|
|
4080
|
-
id
|
|
4081
|
-
name
|
|
4082
|
-
input
|
|
4083
|
-
}
|
|
4084
|
-
toolResults {
|
|
4085
|
-
toolUseId
|
|
4086
|
-
type
|
|
4087
|
-
success
|
|
4088
|
-
result
|
|
4089
|
-
error
|
|
4090
|
-
}
|
|
4091
|
-
requiresExecution
|
|
4092
|
-
error
|
|
4093
|
-
}
|
|
4094
|
-
}`;
|
|
4095
|
-
exports.DELETE_CONVERSATION = (0, client_1.gql) `
|
|
4096
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
4097
|
-
deleteConversation(conversationId: $conversationId) {
|
|
4098
|
-
success
|
|
4099
|
-
message
|
|
4100
|
-
}
|
|
4101
|
-
}`;
|
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) `
|