cf-service-sdk 0.0.82 → 0.0.83
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 +6 -465
- package/dist/generated/graphql.js +5 -294
- package/dist/mutations.d.ts +0 -4
- package/dist/mutations.js +3 -68
- package/dist/queries.d.ts +0 -2
- package/dist/queries.js +2 -51
- package/dist/sdk.d.ts +0 -6
- package/dist/sdk.js +0 -36
- package/package.json +1 -1
|
@@ -93,34 +93,6 @@ export type Scalars = {
|
|
|
93
93
|
output: any;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
|
-
/** Response type for AI agent chat. */
|
|
97
|
-
export type AiAgentChatResponse = {
|
|
98
|
-
__typename?: 'AIAgentChatResponse';
|
|
99
|
-
conversationId?: Maybe<Scalars['String']['output']>;
|
|
100
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
101
|
-
requiresExecution?: Maybe<Scalars['Boolean']['output']>;
|
|
102
|
-
response?: Maybe<Scalars['String']['output']>;
|
|
103
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
104
|
-
toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
|
|
105
|
-
toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
|
|
106
|
-
};
|
|
107
|
-
/** Response type for continuing after tool execution. */
|
|
108
|
-
export type AiAgentContinueResponse = {
|
|
109
|
-
__typename?: 'AIAgentContinueResponse';
|
|
110
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
111
|
-
requiresExecution?: Maybe<Scalars['Boolean']['output']>;
|
|
112
|
-
response?: Maybe<Scalars['String']['output']>;
|
|
113
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
114
|
-
toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
|
|
115
|
-
toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
|
|
116
|
-
};
|
|
117
|
-
/** Response type for tool execution. */
|
|
118
|
-
export type AiAgentExecuteResponse = {
|
|
119
|
-
__typename?: 'AIAgentExecuteResponse';
|
|
120
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
121
|
-
results?: Maybe<Array<Maybe<ToolResultType>>>;
|
|
122
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
123
|
-
};
|
|
124
96
|
/** AcceptInvitation - Accept an invitation to join an account */
|
|
125
97
|
export type AcceptInvitation = {
|
|
126
98
|
__typename?: 'AcceptInvitation';
|
|
@@ -187,15 +159,6 @@ export type AddSegmentToCampaign = {
|
|
|
187
159
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
188
160
|
};
|
|
189
161
|
/** An enumeration. */
|
|
190
|
-
export declare enum AgentConversationMessageRoleChoices {
|
|
191
|
-
/** Assistant */
|
|
192
|
-
Assistant = "ASSISTANT",
|
|
193
|
-
/** System */
|
|
194
|
-
System = "SYSTEM",
|
|
195
|
-
/** User */
|
|
196
|
-
User = "USER"
|
|
197
|
-
}
|
|
198
|
-
/** An enumeration. */
|
|
199
162
|
export declare enum AppAccountInvitationStatusChoices {
|
|
200
163
|
/** Accepted */
|
|
201
164
|
Accepted = "ACCEPTED",
|
|
@@ -1664,36 +1627,6 @@ export type ContactStatsType = {
|
|
|
1664
1627
|
/** Total number of emails replied to */
|
|
1665
1628
|
totalReplied?: Maybe<Scalars['Int']['output']>;
|
|
1666
1629
|
};
|
|
1667
|
-
/** Type for conversation history list. */
|
|
1668
|
-
export type ConversationHistoryType = {
|
|
1669
|
-
__typename?: 'ConversationHistoryType';
|
|
1670
|
-
conversations?: Maybe<Array<Maybe<ConversationType>>>;
|
|
1671
|
-
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
1672
|
-
};
|
|
1673
|
-
/** GraphQL type for ConversationMessage model. */
|
|
1674
|
-
export type ConversationMessageType = Node & {
|
|
1675
|
-
__typename?: 'ConversationMessageType';
|
|
1676
|
-
content: Scalars['JSONString']['output'];
|
|
1677
|
-
conversation?: Maybe<ConversationType>;
|
|
1678
|
-
createdAt: Scalars['DateTime']['output'];
|
|
1679
|
-
/** The ID of the object */
|
|
1680
|
-
id: Scalars['ID']['output'];
|
|
1681
|
-
role: AgentConversationMessageRoleChoices;
|
|
1682
|
-
/** Tool calls made by the assistant */
|
|
1683
|
-
toolCalls?: Maybe<Scalars['JSONString']['output']>;
|
|
1684
|
-
/** Results from tool executions */
|
|
1685
|
-
toolResults?: Maybe<Scalars['JSONString']['output']>;
|
|
1686
|
-
};
|
|
1687
|
-
/** GraphQL type for Conversation model. */
|
|
1688
|
-
export type ConversationType = Node & {
|
|
1689
|
-
__typename?: 'ConversationType';
|
|
1690
|
-
createdAt: Scalars['DateTime']['output'];
|
|
1691
|
-
/** The ID of the object */
|
|
1692
|
-
id: Scalars['ID']['output'];
|
|
1693
|
-
messages?: Maybe<Array<Maybe<ConversationMessageType>>>;
|
|
1694
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
1695
|
-
user?: Maybe<UserType>;
|
|
1696
|
-
};
|
|
1697
1630
|
export type CreateCallCampaign = {
|
|
1698
1631
|
__typename?: 'CreateCallCampaign';
|
|
1699
1632
|
callCampaign?: Maybe<CallCampaignObject>;
|
|
@@ -1793,6 +1726,7 @@ export type CreateTaskInput = {
|
|
|
1793
1726
|
};
|
|
1794
1727
|
export type CustomContactInput = {
|
|
1795
1728
|
companyCity?: InputMaybe<Scalars['String']['input']>;
|
|
1729
|
+
companyId?: InputMaybe<Scalars['ID']['input']>;
|
|
1796
1730
|
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
1797
1731
|
companyState?: InputMaybe<Scalars['String']['input']>;
|
|
1798
1732
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1801,6 +1735,7 @@ export type CustomContactInput = {
|
|
|
1801
1735
|
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
1802
1736
|
notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1803
1737
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
1738
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
1804
1739
|
};
|
|
1805
1740
|
export type DashboardStatsType = {
|
|
1806
1741
|
__typename?: 'DashboardStatsType';
|
|
@@ -1855,12 +1790,6 @@ export type DeleteContact = {
|
|
|
1855
1790
|
__typename?: 'DeleteContact';
|
|
1856
1791
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1857
1792
|
};
|
|
1858
|
-
/** Mutation for deleting a conversation. */
|
|
1859
|
-
export type DeleteConversation = {
|
|
1860
|
-
__typename?: 'DeleteConversation';
|
|
1861
|
-
message?: Maybe<Scalars['String']['output']>;
|
|
1862
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1863
|
-
};
|
|
1864
1793
|
/** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
|
|
1865
1794
|
export type DeleteEmailTemplate = {
|
|
1866
1795
|
__typename?: 'DeleteEmailTemplate';
|
|
@@ -2129,12 +2058,14 @@ export type LoginWithMicrosoft = {
|
|
|
2129
2058
|
};
|
|
2130
2059
|
export type ManualContactInput = {
|
|
2131
2060
|
companyCity?: InputMaybe<Scalars['String']['input']>;
|
|
2061
|
+
companyId?: InputMaybe<Scalars['ID']['input']>;
|
|
2132
2062
|
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
2133
2063
|
companyState?: InputMaybe<Scalars['String']['input']>;
|
|
2134
2064
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
2135
2065
|
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
2136
2066
|
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
2137
2067
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
2068
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
2138
2069
|
};
|
|
2139
2070
|
/** Mark all unread notifications as read for the current user */
|
|
2140
2071
|
export type MarkAllNotificationsAsRead = {
|
|
@@ -2188,12 +2119,6 @@ export type Mutation = {
|
|
|
2188
2119
|
addContactsToSegment?: Maybe<AddContactsToSegment>;
|
|
2189
2120
|
addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
|
|
2190
2121
|
addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
|
|
2191
|
-
/** Mutation for chatting with the AI agent. */
|
|
2192
|
-
aiAgentChat?: Maybe<AiAgentChatResponse>;
|
|
2193
|
-
/** Mutation for continuing conversation after tool execution. */
|
|
2194
|
-
aiAgentContinue?: Maybe<AiAgentContinueResponse>;
|
|
2195
|
-
/** Mutation for executing tool calls. */
|
|
2196
|
-
aiAgentExecute?: Maybe<AiAgentExecuteResponse>;
|
|
2197
2122
|
bulkAssignCompanyOwners?: Maybe<BulkAssignCompanyOwnerMutation>;
|
|
2198
2123
|
cancelCampaign?: Maybe<CancelCampaign>;
|
|
2199
2124
|
/** Cancel a combined campaign */
|
|
@@ -2231,8 +2156,6 @@ export type Mutation = {
|
|
|
2231
2156
|
deleteCompany?: Maybe<DeleteCompany>;
|
|
2232
2157
|
deleteCompanyNote?: Maybe<DeleteCompanyNote>;
|
|
2233
2158
|
deleteContact?: Maybe<DeleteContact>;
|
|
2234
|
-
/** Mutation for deleting a conversation. */
|
|
2235
|
-
deleteConversation?: Maybe<DeleteConversation>;
|
|
2236
2159
|
/** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
|
|
2237
2160
|
deleteEmailTemplate?: Maybe<DeleteEmailTemplate>;
|
|
2238
2161
|
/** Delete a notification */
|
|
@@ -2364,22 +2287,6 @@ export type MutationAddSegmentToCampaignArgs = {
|
|
|
2364
2287
|
segmentId: Scalars['ID']['input'];
|
|
2365
2288
|
};
|
|
2366
2289
|
/** Mutations */
|
|
2367
|
-
export type MutationAiAgentChatArgs = {
|
|
2368
|
-
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
2369
|
-
enableTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2370
|
-
message: Scalars['String']['input'];
|
|
2371
|
-
};
|
|
2372
|
-
/** Mutations */
|
|
2373
|
-
export type MutationAiAgentContinueArgs = {
|
|
2374
|
-
conversationId: Scalars['String']['input'];
|
|
2375
|
-
toolResults: Array<InputMaybe<Scalars['JSONString']['input']>>;
|
|
2376
|
-
};
|
|
2377
|
-
/** Mutations */
|
|
2378
|
-
export type MutationAiAgentExecuteArgs = {
|
|
2379
|
-
conversationId: Scalars['String']['input'];
|
|
2380
|
-
toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>>;
|
|
2381
|
-
};
|
|
2382
|
-
/** Mutations */
|
|
2383
2290
|
export type MutationBulkAssignCompanyOwnersArgs = {
|
|
2384
2291
|
input?: InputMaybe<BulkAssignOwnersInput>;
|
|
2385
2292
|
};
|
|
@@ -2481,10 +2388,6 @@ export type MutationDeleteContactArgs = {
|
|
|
2481
2388
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2482
2389
|
};
|
|
2483
2390
|
/** Mutations */
|
|
2484
|
-
export type MutationDeleteConversationArgs = {
|
|
2485
|
-
conversationId: Scalars['String']['input'];
|
|
2486
|
-
};
|
|
2487
|
-
/** Mutations */
|
|
2488
2391
|
export type MutationDeleteEmailTemplateArgs = {
|
|
2489
2392
|
uuid: Scalars['UUID']['input'];
|
|
2490
2393
|
};
|
|
@@ -2762,11 +2665,6 @@ export type MyInvitationsType = {
|
|
|
2762
2665
|
status: Scalars['String']['output'];
|
|
2763
2666
|
token: Scalars['String']['output'];
|
|
2764
2667
|
};
|
|
2765
|
-
/** An object with an ID */
|
|
2766
|
-
export type Node = {
|
|
2767
|
-
/** The ID of the object */
|
|
2768
|
-
id: Scalars['ID']['output'];
|
|
2769
|
-
};
|
|
2770
2668
|
/** GraphQL type for Notification model */
|
|
2771
2669
|
export type NotificationType = {
|
|
2772
2670
|
__typename?: 'NotificationType';
|
|
@@ -3032,8 +2930,6 @@ export type Query = {
|
|
|
3032
2930
|
contacts?: Maybe<Array<Maybe<ContactObject>>>;
|
|
3033
2931
|
/** Get paginated list of contacts in a segment */
|
|
3034
2932
|
contactsInSegment?: Maybe<PaginatedContactList>;
|
|
3035
|
-
conversation?: Maybe<ConversationType>;
|
|
3036
|
-
conversationHistory?: Maybe<ConversationHistoryType>;
|
|
3037
2933
|
currentAccount?: Maybe<AccountType>;
|
|
3038
2934
|
/** Get dashboard statistics across different features */
|
|
3039
2935
|
dashboardStats?: Maybe<DashboardStatsType>;
|
|
@@ -3218,15 +3114,6 @@ export type QueryContactsInSegmentArgs = {
|
|
|
3218
3114
|
segmentId: Scalars['ID']['input'];
|
|
3219
3115
|
};
|
|
3220
3116
|
/** Query */
|
|
3221
|
-
export type QueryConversationArgs = {
|
|
3222
|
-
conversationId: Scalars['String']['input'];
|
|
3223
|
-
};
|
|
3224
|
-
/** Query */
|
|
3225
|
-
export type QueryConversationHistoryArgs = {
|
|
3226
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3227
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
3228
|
-
};
|
|
3229
|
-
/** Query */
|
|
3230
3117
|
export type QueryDashboardStatsArgs = {
|
|
3231
3118
|
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3232
3119
|
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -3724,23 +3611,6 @@ export type TasksResponse = {
|
|
|
3724
3611
|
pagination?: Maybe<PaginationInfo>;
|
|
3725
3612
|
stats?: Maybe<TaskStatsObject>;
|
|
3726
3613
|
};
|
|
3727
|
-
/** Type for tool calls. */
|
|
3728
|
-
export type ToolCallType = {
|
|
3729
|
-
__typename?: 'ToolCallType';
|
|
3730
|
-
id?: Maybe<Scalars['String']['output']>;
|
|
3731
|
-
input?: Maybe<Scalars['JSONString']['output']>;
|
|
3732
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
3733
|
-
type?: Maybe<Scalars['String']['output']>;
|
|
3734
|
-
};
|
|
3735
|
-
/** Type for tool execution results. */
|
|
3736
|
-
export type ToolResultType = {
|
|
3737
|
-
__typename?: 'ToolResultType';
|
|
3738
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
3739
|
-
result?: Maybe<Scalars['JSONString']['output']>;
|
|
3740
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
3741
|
-
toolUseId?: Maybe<Scalars['String']['output']>;
|
|
3742
|
-
type?: Maybe<Scalars['String']['output']>;
|
|
3743
|
-
};
|
|
3744
3614
|
export type UsStateData = {
|
|
3745
3615
|
__typename?: 'USStateData';
|
|
3746
3616
|
/** State abbreviation */
|
|
@@ -3828,6 +3698,7 @@ export type UpdateCombinedCampaignLogInput = {
|
|
|
3828
3698
|
/** Bulk update combined campaign logs (e.g., mark all as completed) */
|
|
3829
3699
|
export type UpdateCombinedCampaignLogs = {
|
|
3830
3700
|
__typename?: 'UpdateCombinedCampaignLogs';
|
|
3701
|
+
contactLogFailures?: Maybe<Scalars['Int']['output']>;
|
|
3831
3702
|
message?: Maybe<Scalars['String']['output']>;
|
|
3832
3703
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
3833
3704
|
updatedCount?: Maybe<Scalars['Int']['output']>;
|
|
@@ -4295,86 +4166,6 @@ export type AddSegmentToCampaignMutation = {
|
|
|
4295
4166
|
} | null;
|
|
4296
4167
|
} | null;
|
|
4297
4168
|
};
|
|
4298
|
-
export type AiAgentChatMutationVariables = Exact<{
|
|
4299
|
-
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
4300
|
-
enableTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4301
|
-
message: Scalars['String']['input'];
|
|
4302
|
-
}>;
|
|
4303
|
-
export type AiAgentChatMutation = {
|
|
4304
|
-
__typename?: 'Mutation';
|
|
4305
|
-
aiAgentChat?: {
|
|
4306
|
-
__typename?: 'AIAgentChatResponse';
|
|
4307
|
-
success?: boolean | null;
|
|
4308
|
-
conversationId?: string | null;
|
|
4309
|
-
response?: string | null;
|
|
4310
|
-
requiresExecution?: boolean | null;
|
|
4311
|
-
error?: string | null;
|
|
4312
|
-
toolCalls?: Array<{
|
|
4313
|
-
__typename?: 'ToolCallType';
|
|
4314
|
-
type?: string | null;
|
|
4315
|
-
id?: string | null;
|
|
4316
|
-
name?: string | null;
|
|
4317
|
-
input?: any | null;
|
|
4318
|
-
} | null> | null;
|
|
4319
|
-
toolResults?: Array<{
|
|
4320
|
-
__typename?: 'ToolResultType';
|
|
4321
|
-
toolUseId?: string | null;
|
|
4322
|
-
type?: string | null;
|
|
4323
|
-
success?: boolean | null;
|
|
4324
|
-
result?: any | null;
|
|
4325
|
-
error?: string | null;
|
|
4326
|
-
} | null> | null;
|
|
4327
|
-
} | null;
|
|
4328
|
-
};
|
|
4329
|
-
export type AiAgentContinueMutationVariables = Exact<{
|
|
4330
|
-
conversationId: Scalars['String']['input'];
|
|
4331
|
-
toolResults: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
|
|
4332
|
-
}>;
|
|
4333
|
-
export type AiAgentContinueMutation = {
|
|
4334
|
-
__typename?: 'Mutation';
|
|
4335
|
-
aiAgentContinue?: {
|
|
4336
|
-
__typename?: 'AIAgentContinueResponse';
|
|
4337
|
-
success?: boolean | null;
|
|
4338
|
-
response?: string | null;
|
|
4339
|
-
requiresExecution?: boolean | null;
|
|
4340
|
-
error?: string | null;
|
|
4341
|
-
toolCalls?: Array<{
|
|
4342
|
-
__typename?: 'ToolCallType';
|
|
4343
|
-
type?: string | null;
|
|
4344
|
-
id?: string | null;
|
|
4345
|
-
name?: string | null;
|
|
4346
|
-
input?: any | null;
|
|
4347
|
-
} | null> | null;
|
|
4348
|
-
toolResults?: Array<{
|
|
4349
|
-
__typename?: 'ToolResultType';
|
|
4350
|
-
toolUseId?: string | null;
|
|
4351
|
-
type?: string | null;
|
|
4352
|
-
success?: boolean | null;
|
|
4353
|
-
result?: any | null;
|
|
4354
|
-
error?: string | null;
|
|
4355
|
-
} | null> | null;
|
|
4356
|
-
} | null;
|
|
4357
|
-
};
|
|
4358
|
-
export type AiAgentExecuteMutationVariables = Exact<{
|
|
4359
|
-
conversationId: Scalars['String']['input'];
|
|
4360
|
-
toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
|
|
4361
|
-
}>;
|
|
4362
|
-
export type AiAgentExecuteMutation = {
|
|
4363
|
-
__typename?: 'Mutation';
|
|
4364
|
-
aiAgentExecute?: {
|
|
4365
|
-
__typename?: 'AIAgentExecuteResponse';
|
|
4366
|
-
success?: boolean | null;
|
|
4367
|
-
error?: string | null;
|
|
4368
|
-
results?: Array<{
|
|
4369
|
-
__typename?: 'ToolResultType';
|
|
4370
|
-
toolUseId?: string | null;
|
|
4371
|
-
type?: string | null;
|
|
4372
|
-
success?: boolean | null;
|
|
4373
|
-
result?: any | null;
|
|
4374
|
-
error?: string | null;
|
|
4375
|
-
} | null> | null;
|
|
4376
|
-
} | null;
|
|
4377
|
-
};
|
|
4378
4169
|
export type BulkAssignCompanyOwnersMutationVariables = Exact<{
|
|
4379
4170
|
input?: InputMaybe<BulkAssignOwnersInput>;
|
|
4380
4171
|
}>;
|
|
@@ -10936,17 +10727,6 @@ export type DeleteContactMutation = {
|
|
|
10936
10727
|
success?: boolean | null;
|
|
10937
10728
|
} | null;
|
|
10938
10729
|
};
|
|
10939
|
-
export type DeleteConversationMutationVariables = Exact<{
|
|
10940
|
-
conversationId: Scalars['String']['input'];
|
|
10941
|
-
}>;
|
|
10942
|
-
export type DeleteConversationMutation = {
|
|
10943
|
-
__typename?: 'Mutation';
|
|
10944
|
-
deleteConversation?: {
|
|
10945
|
-
__typename?: 'DeleteConversation';
|
|
10946
|
-
success?: boolean | null;
|
|
10947
|
-
message?: string | null;
|
|
10948
|
-
} | null;
|
|
10949
|
-
};
|
|
10950
10730
|
export type DeleteEmailTemplateMutationVariables = Exact<{
|
|
10951
10731
|
uuid: Scalars['UUID']['input'];
|
|
10952
10732
|
}>;
|
|
@@ -13512,6 +13292,7 @@ export type UpdateCombinedCampaignLogsMutation = {
|
|
|
13512
13292
|
updateCombinedCampaignLogs?: {
|
|
13513
13293
|
__typename?: 'UpdateCombinedCampaignLogs';
|
|
13514
13294
|
updatedCount?: number | null;
|
|
13295
|
+
contactLogFailures?: number | null;
|
|
13515
13296
|
success?: boolean | null;
|
|
13516
13297
|
message?: string | null;
|
|
13517
13298
|
} | null;
|
|
@@ -33781,69 +33562,6 @@ export type ContactsInSegmentQuery = {
|
|
|
33781
33562
|
} | null;
|
|
33782
33563
|
} | null;
|
|
33783
33564
|
};
|
|
33784
|
-
export type ConversationQueryVariables = Exact<{
|
|
33785
|
-
conversationId: Scalars['String']['input'];
|
|
33786
|
-
}>;
|
|
33787
|
-
export type ConversationQuery = {
|
|
33788
|
-
__typename?: 'Query';
|
|
33789
|
-
conversation?: {
|
|
33790
|
-
__typename?: 'ConversationType';
|
|
33791
|
-
id: string;
|
|
33792
|
-
createdAt: any;
|
|
33793
|
-
updatedAt: any;
|
|
33794
|
-
user?: {
|
|
33795
|
-
__typename?: 'UserType';
|
|
33796
|
-
id?: string | null;
|
|
33797
|
-
email?: string | null;
|
|
33798
|
-
firstName?: string | null;
|
|
33799
|
-
lastName?: string | null;
|
|
33800
|
-
picture?: string | null;
|
|
33801
|
-
} | null;
|
|
33802
|
-
messages?: Array<{
|
|
33803
|
-
__typename?: 'ConversationMessageType';
|
|
33804
|
-
id: string;
|
|
33805
|
-
role: AgentConversationMessageRoleChoices;
|
|
33806
|
-
content: any;
|
|
33807
|
-
toolCalls?: any | null;
|
|
33808
|
-
toolResults?: any | null;
|
|
33809
|
-
createdAt: any;
|
|
33810
|
-
} | null> | null;
|
|
33811
|
-
} | null;
|
|
33812
|
-
};
|
|
33813
|
-
export type ConversationHistoryQueryVariables = Exact<{
|
|
33814
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
33815
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
33816
|
-
}>;
|
|
33817
|
-
export type ConversationHistoryQuery = {
|
|
33818
|
-
__typename?: 'Query';
|
|
33819
|
-
conversationHistory?: {
|
|
33820
|
-
__typename?: 'ConversationHistoryType';
|
|
33821
|
-
totalCount?: number | null;
|
|
33822
|
-
conversations?: Array<{
|
|
33823
|
-
__typename?: 'ConversationType';
|
|
33824
|
-
id: string;
|
|
33825
|
-
createdAt: any;
|
|
33826
|
-
updatedAt: any;
|
|
33827
|
-
user?: {
|
|
33828
|
-
__typename?: 'UserType';
|
|
33829
|
-
id?: string | null;
|
|
33830
|
-
email?: string | null;
|
|
33831
|
-
firstName?: string | null;
|
|
33832
|
-
lastName?: string | null;
|
|
33833
|
-
picture?: string | null;
|
|
33834
|
-
} | null;
|
|
33835
|
-
messages?: Array<{
|
|
33836
|
-
__typename?: 'ConversationMessageType';
|
|
33837
|
-
id: string;
|
|
33838
|
-
role: AgentConversationMessageRoleChoices;
|
|
33839
|
-
content: any;
|
|
33840
|
-
toolCalls?: any | null;
|
|
33841
|
-
toolResults?: any | null;
|
|
33842
|
-
createdAt: any;
|
|
33843
|
-
} | null> | null;
|
|
33844
|
-
} | null> | null;
|
|
33845
|
-
} | null;
|
|
33846
|
-
};
|
|
33847
33565
|
export type CurrentAccountQueryVariables = Exact<{
|
|
33848
33566
|
[key: string]: never;
|
|
33849
33567
|
}>;
|
|
@@ -36982,89 +36700,6 @@ export declare function useAddSegmentToCampaignMutation(baseOptions?: Apollo.Mut
|
|
|
36982
36700
|
export type AddSegmentToCampaignMutationHookResult = ReturnType<typeof useAddSegmentToCampaignMutation>;
|
|
36983
36701
|
export type AddSegmentToCampaignMutationResult = Apollo.MutationResult<AddSegmentToCampaignMutation>;
|
|
36984
36702
|
export type AddSegmentToCampaignMutationOptions = Apollo.BaseMutationOptions<AddSegmentToCampaignMutation, AddSegmentToCampaignMutationVariables>;
|
|
36985
|
-
export declare const AiAgentChatDocument: Apollo.DocumentNode;
|
|
36986
|
-
export type AiAgentChatMutationFn = Apollo.MutationFunction<AiAgentChatMutation, AiAgentChatMutationVariables>;
|
|
36987
|
-
/**
|
|
36988
|
-
* __useAiAgentChatMutation__
|
|
36989
|
-
*
|
|
36990
|
-
* To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
|
|
36991
|
-
* When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
|
|
36992
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
36993
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
36994
|
-
*
|
|
36995
|
-
* @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;
|
|
36996
|
-
*
|
|
36997
|
-
* @example
|
|
36998
|
-
* const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
|
|
36999
|
-
* variables: {
|
|
37000
|
-
* conversationId: // value for 'conversationId'
|
|
37001
|
-
* enableTools: // value for 'enableTools'
|
|
37002
|
-
* message: // value for 'message'
|
|
37003
|
-
* },
|
|
37004
|
-
* });
|
|
37005
|
-
*/
|
|
37006
|
-
export declare function useAiAgentChatMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentChatMutation, AiAgentChatMutationVariables>): Apollo.MutationTuple<AiAgentChatMutation, Exact<{
|
|
37007
|
-
conversationId?: InputMaybe<Scalars["String"]["input"]>;
|
|
37008
|
-
enableTools?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
37009
|
-
message: Scalars["String"]["input"];
|
|
37010
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
37011
|
-
export type AiAgentChatMutationHookResult = ReturnType<typeof useAiAgentChatMutation>;
|
|
37012
|
-
export type AiAgentChatMutationResult = Apollo.MutationResult<AiAgentChatMutation>;
|
|
37013
|
-
export type AiAgentChatMutationOptions = Apollo.BaseMutationOptions<AiAgentChatMutation, AiAgentChatMutationVariables>;
|
|
37014
|
-
export declare const AiAgentContinueDocument: Apollo.DocumentNode;
|
|
37015
|
-
export type AiAgentContinueMutationFn = Apollo.MutationFunction<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
|
|
37016
|
-
/**
|
|
37017
|
-
* __useAiAgentContinueMutation__
|
|
37018
|
-
*
|
|
37019
|
-
* To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
|
|
37020
|
-
* When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
|
|
37021
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
37022
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
37023
|
-
*
|
|
37024
|
-
* @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;
|
|
37025
|
-
*
|
|
37026
|
-
* @example
|
|
37027
|
-
* const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
|
|
37028
|
-
* variables: {
|
|
37029
|
-
* conversationId: // value for 'conversationId'
|
|
37030
|
-
* toolResults: // value for 'toolResults'
|
|
37031
|
-
* },
|
|
37032
|
-
* });
|
|
37033
|
-
*/
|
|
37034
|
-
export declare function useAiAgentContinueMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>): Apollo.MutationTuple<AiAgentContinueMutation, Exact<{
|
|
37035
|
-
conversationId: Scalars["String"]["input"];
|
|
37036
|
-
toolResults: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
|
|
37037
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
37038
|
-
export type AiAgentContinueMutationHookResult = ReturnType<typeof useAiAgentContinueMutation>;
|
|
37039
|
-
export type AiAgentContinueMutationResult = Apollo.MutationResult<AiAgentContinueMutation>;
|
|
37040
|
-
export type AiAgentContinueMutationOptions = Apollo.BaseMutationOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
|
|
37041
|
-
export declare const AiAgentExecuteDocument: Apollo.DocumentNode;
|
|
37042
|
-
export type AiAgentExecuteMutationFn = Apollo.MutationFunction<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
|
|
37043
|
-
/**
|
|
37044
|
-
* __useAiAgentExecuteMutation__
|
|
37045
|
-
*
|
|
37046
|
-
* To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
|
|
37047
|
-
* When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
|
|
37048
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
37049
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
37050
|
-
*
|
|
37051
|
-
* @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;
|
|
37052
|
-
*
|
|
37053
|
-
* @example
|
|
37054
|
-
* const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
|
|
37055
|
-
* variables: {
|
|
37056
|
-
* conversationId: // value for 'conversationId'
|
|
37057
|
-
* toolCalls: // value for 'toolCalls'
|
|
37058
|
-
* },
|
|
37059
|
-
* });
|
|
37060
|
-
*/
|
|
37061
|
-
export declare function useAiAgentExecuteMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>): Apollo.MutationTuple<AiAgentExecuteMutation, Exact<{
|
|
37062
|
-
conversationId: Scalars["String"]["input"];
|
|
37063
|
-
toolCalls: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
|
|
37064
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
37065
|
-
export type AiAgentExecuteMutationHookResult = ReturnType<typeof useAiAgentExecuteMutation>;
|
|
37066
|
-
export type AiAgentExecuteMutationResult = Apollo.MutationResult<AiAgentExecuteMutation>;
|
|
37067
|
-
export type AiAgentExecuteMutationOptions = Apollo.BaseMutationOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
|
|
37068
36703
|
export declare const BulkAssignCompanyOwnersDocument: Apollo.DocumentNode;
|
|
37069
36704
|
export type BulkAssignCompanyOwnersMutationFn = Apollo.MutationFunction<BulkAssignCompanyOwnersMutation, BulkAssignCompanyOwnersMutationVariables>;
|
|
37070
36705
|
/**
|
|
@@ -37716,31 +37351,6 @@ export declare function useDeleteContactMutation(baseOptions?: Apollo.MutationHo
|
|
|
37716
37351
|
export type DeleteContactMutationHookResult = ReturnType<typeof useDeleteContactMutation>;
|
|
37717
37352
|
export type DeleteContactMutationResult = Apollo.MutationResult<DeleteContactMutation>;
|
|
37718
37353
|
export type DeleteContactMutationOptions = Apollo.BaseMutationOptions<DeleteContactMutation, DeleteContactMutationVariables>;
|
|
37719
|
-
export declare const DeleteConversationDocument: Apollo.DocumentNode;
|
|
37720
|
-
export type DeleteConversationMutationFn = Apollo.MutationFunction<DeleteConversationMutation, DeleteConversationMutationVariables>;
|
|
37721
|
-
/**
|
|
37722
|
-
* __useDeleteConversationMutation__
|
|
37723
|
-
*
|
|
37724
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
37725
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
37726
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
37727
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
37728
|
-
*
|
|
37729
|
-
* @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;
|
|
37730
|
-
*
|
|
37731
|
-
* @example
|
|
37732
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
37733
|
-
* variables: {
|
|
37734
|
-
* conversationId: // value for 'conversationId'
|
|
37735
|
-
* },
|
|
37736
|
-
* });
|
|
37737
|
-
*/
|
|
37738
|
-
export declare function useDeleteConversationMutation(baseOptions?: Apollo.MutationHookOptions<DeleteConversationMutation, DeleteConversationMutationVariables>): Apollo.MutationTuple<DeleteConversationMutation, Exact<{
|
|
37739
|
-
conversationId: Scalars["String"]["input"];
|
|
37740
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
37741
|
-
export type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;
|
|
37742
|
-
export type DeleteConversationMutationResult = Apollo.MutationResult<DeleteConversationMutation>;
|
|
37743
|
-
export type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<DeleteConversationMutation, DeleteConversationMutationVariables>;
|
|
37744
37354
|
export declare const DeleteEmailTemplateDocument: Apollo.DocumentNode;
|
|
37745
37355
|
export type DeleteEmailTemplateMutationFn = Apollo.MutationFunction<DeleteEmailTemplateMutation, DeleteEmailTemplateMutationVariables>;
|
|
37746
37356
|
/**
|
|
@@ -40465,75 +40075,6 @@ export type ContactsInSegmentQueryHookResult = ReturnType<typeof useContactsInSe
|
|
|
40465
40075
|
export type ContactsInSegmentLazyQueryHookResult = ReturnType<typeof useContactsInSegmentLazyQuery>;
|
|
40466
40076
|
export type ContactsInSegmentSuspenseQueryHookResult = ReturnType<typeof useContactsInSegmentSuspenseQuery>;
|
|
40467
40077
|
export type ContactsInSegmentQueryResult = Apollo.QueryResult<ContactsInSegmentQuery, ContactsInSegmentQueryVariables>;
|
|
40468
|
-
export declare const ConversationDocument: Apollo.DocumentNode;
|
|
40469
|
-
/**
|
|
40470
|
-
* __useConversationQuery__
|
|
40471
|
-
*
|
|
40472
|
-
* To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
|
|
40473
|
-
* When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
40474
|
-
* you can use to render your UI.
|
|
40475
|
-
*
|
|
40476
|
-
* @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;
|
|
40477
|
-
*
|
|
40478
|
-
* @example
|
|
40479
|
-
* const { data, loading, error } = useConversationQuery({
|
|
40480
|
-
* variables: {
|
|
40481
|
-
* conversationId: // value for 'conversationId'
|
|
40482
|
-
* },
|
|
40483
|
-
* });
|
|
40484
|
-
*/
|
|
40485
|
-
export declare function useConversationQuery(baseOptions: Apollo.QueryHookOptions<ConversationQuery, ConversationQueryVariables> & ({
|
|
40486
|
-
variables: ConversationQueryVariables;
|
|
40487
|
-
skip?: boolean;
|
|
40488
|
-
} | {
|
|
40489
|
-
skip: boolean;
|
|
40490
|
-
})): Apollo.QueryResult<ConversationQuery, Exact<{
|
|
40491
|
-
conversationId: Scalars["String"]["input"];
|
|
40492
|
-
}>>;
|
|
40493
|
-
export declare function useConversationLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.LazyQueryResultTuple<ConversationQuery, Exact<{
|
|
40494
|
-
conversationId: Scalars["String"]["input"];
|
|
40495
|
-
}>>;
|
|
40496
|
-
export declare function useConversationSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationQuery | undefined, Exact<{
|
|
40497
|
-
conversationId: Scalars["String"]["input"];
|
|
40498
|
-
}>>;
|
|
40499
|
-
export type ConversationQueryHookResult = ReturnType<typeof useConversationQuery>;
|
|
40500
|
-
export type ConversationLazyQueryHookResult = ReturnType<typeof useConversationLazyQuery>;
|
|
40501
|
-
export type ConversationSuspenseQueryHookResult = ReturnType<typeof useConversationSuspenseQuery>;
|
|
40502
|
-
export type ConversationQueryResult = Apollo.QueryResult<ConversationQuery, ConversationQueryVariables>;
|
|
40503
|
-
export declare const ConversationHistoryDocument: Apollo.DocumentNode;
|
|
40504
|
-
/**
|
|
40505
|
-
* __useConversationHistoryQuery__
|
|
40506
|
-
*
|
|
40507
|
-
* To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
|
|
40508
|
-
* When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
40509
|
-
* you can use to render your UI.
|
|
40510
|
-
*
|
|
40511
|
-
* @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;
|
|
40512
|
-
*
|
|
40513
|
-
* @example
|
|
40514
|
-
* const { data, loading, error } = useConversationHistoryQuery({
|
|
40515
|
-
* variables: {
|
|
40516
|
-
* limit: // value for 'limit'
|
|
40517
|
-
* offset: // value for 'offset'
|
|
40518
|
-
* },
|
|
40519
|
-
* });
|
|
40520
|
-
*/
|
|
40521
|
-
export declare function useConversationHistoryQuery(baseOptions?: Apollo.QueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.QueryResult<ConversationHistoryQuery, Exact<{
|
|
40522
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40523
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40524
|
-
}>>;
|
|
40525
|
-
export declare function useConversationHistoryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.LazyQueryResultTuple<ConversationHistoryQuery, Exact<{
|
|
40526
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40527
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40528
|
-
}>>;
|
|
40529
|
-
export declare function useConversationHistorySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationHistoryQuery | undefined, Exact<{
|
|
40530
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40531
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
40532
|
-
}>>;
|
|
40533
|
-
export type ConversationHistoryQueryHookResult = ReturnType<typeof useConversationHistoryQuery>;
|
|
40534
|
-
export type ConversationHistoryLazyQueryHookResult = ReturnType<typeof useConversationHistoryLazyQuery>;
|
|
40535
|
-
export type ConversationHistorySuspenseQueryHookResult = ReturnType<typeof useConversationHistorySuspenseQuery>;
|
|
40536
|
-
export type ConversationHistoryQueryResult = Apollo.QueryResult<ConversationHistoryQuery, ConversationHistoryQueryVariables>;
|
|
40537
40078
|
export declare const CurrentAccountDocument: Apollo.DocumentNode;
|
|
40538
40079
|
/**
|
|
40539
40080
|
* __useCurrentAccountQuery__
|
|
@@ -33,19 +33,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
37
|
-
exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyExternalIdentifierDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignTemplateDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SetLeadNotInterestedDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument =
|
|
38
|
-
exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.
|
|
39
|
-
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument =
|
|
36
|
+
exports.GenerateNewEmailDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignTemplateDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignTemplateDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.BulkAssignCompanyOwnersDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCombinedCampaignDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = void 0;
|
|
37
|
+
exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyExternalIdentifierDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignTemplateDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SetLeadNotInterestedDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = void 0;
|
|
38
|
+
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 = exports.ContactsDocument = exports.ContactDocument = exports.CompanySearchDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyMetadataDocument = exports.CompanyExternalIdentifierDocument = exports.CompanyAudiencesAndCampaignsDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignTemplatesDocument = exports.CombinedCampaignTemplateDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = 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 = void 0;
|
|
39
|
+
exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = void 0;
|
|
40
40
|
exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
|
|
41
41
|
exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
|
|
42
42
|
exports.useAddContactsToCombinedCampaignMutation = useAddContactsToCombinedCampaignMutation;
|
|
43
43
|
exports.useAddContactsToSegmentMutation = useAddContactsToSegmentMutation;
|
|
44
44
|
exports.useAddSegmentToCallCampaignMutation = useAddSegmentToCallCampaignMutation;
|
|
45
45
|
exports.useAddSegmentToCampaignMutation = useAddSegmentToCampaignMutation;
|
|
46
|
-
exports.useAiAgentChatMutation = useAiAgentChatMutation;
|
|
47
|
-
exports.useAiAgentContinueMutation = useAiAgentContinueMutation;
|
|
48
|
-
exports.useAiAgentExecuteMutation = useAiAgentExecuteMutation;
|
|
49
46
|
exports.useBulkAssignCompanyOwnersMutation = useBulkAssignCompanyOwnersMutation;
|
|
50
47
|
exports.useCancelCampaignMutation = useCancelCampaignMutation;
|
|
51
48
|
exports.useCancelCombinedCampaignMutation = useCancelCombinedCampaignMutation;
|
|
@@ -72,7 +69,6 @@ exports.useDeleteCombinedCampaignTemplateMutation = useDeleteCombinedCampaignTem
|
|
|
72
69
|
exports.useDeleteCompanyMutation = useDeleteCompanyMutation;
|
|
73
70
|
exports.useDeleteCompanyNoteMutation = useDeleteCompanyNoteMutation;
|
|
74
71
|
exports.useDeleteContactMutation = useDeleteContactMutation;
|
|
75
|
-
exports.useDeleteConversationMutation = useDeleteConversationMutation;
|
|
76
72
|
exports.useDeleteEmailTemplateMutation = useDeleteEmailTemplateMutation;
|
|
77
73
|
exports.useDeleteNotificationMutation = useDeleteNotificationMutation;
|
|
78
74
|
exports.useDeleteSegmentMutation = useDeleteSegmentMutation;
|
|
@@ -227,12 +223,6 @@ exports.useContactsSuspenseQuery = useContactsSuspenseQuery;
|
|
|
227
223
|
exports.useContactsInSegmentQuery = useContactsInSegmentQuery;
|
|
228
224
|
exports.useContactsInSegmentLazyQuery = useContactsInSegmentLazyQuery;
|
|
229
225
|
exports.useContactsInSegmentSuspenseQuery = useContactsInSegmentSuspenseQuery;
|
|
230
|
-
exports.useConversationQuery = useConversationQuery;
|
|
231
|
-
exports.useConversationLazyQuery = useConversationLazyQuery;
|
|
232
|
-
exports.useConversationSuspenseQuery = useConversationSuspenseQuery;
|
|
233
|
-
exports.useConversationHistoryQuery = useConversationHistoryQuery;
|
|
234
|
-
exports.useConversationHistoryLazyQuery = useConversationHistoryLazyQuery;
|
|
235
|
-
exports.useConversationHistorySuspenseQuery = useConversationHistorySuspenseQuery;
|
|
236
226
|
exports.useCurrentAccountQuery = useCurrentAccountQuery;
|
|
237
227
|
exports.useCurrentAccountLazyQuery = useCurrentAccountLazyQuery;
|
|
238
228
|
exports.useCurrentAccountSuspenseQuery = useCurrentAccountSuspenseQuery;
|
|
@@ -315,16 +305,6 @@ const client_1 = require("@apollo/client");
|
|
|
315
305
|
const Apollo = __importStar(require("@apollo/client"));
|
|
316
306
|
const defaultOptions = {};
|
|
317
307
|
/** An enumeration. */
|
|
318
|
-
var AgentConversationMessageRoleChoices;
|
|
319
|
-
(function (AgentConversationMessageRoleChoices) {
|
|
320
|
-
/** Assistant */
|
|
321
|
-
AgentConversationMessageRoleChoices["Assistant"] = "ASSISTANT";
|
|
322
|
-
/** System */
|
|
323
|
-
AgentConversationMessageRoleChoices["System"] = "SYSTEM";
|
|
324
|
-
/** User */
|
|
325
|
-
AgentConversationMessageRoleChoices["User"] = "USER";
|
|
326
|
-
})(AgentConversationMessageRoleChoices || (exports.AgentConversationMessageRoleChoices = AgentConversationMessageRoleChoices = {}));
|
|
327
|
-
/** An enumeration. */
|
|
328
308
|
var AppAccountInvitationStatusChoices;
|
|
329
309
|
(function (AppAccountInvitationStatusChoices) {
|
|
330
310
|
/** Accepted */
|
|
@@ -972,139 +952,6 @@ function useAddSegmentToCampaignMutation(baseOptions) {
|
|
|
972
952
|
const options = { ...defaultOptions, ...baseOptions };
|
|
973
953
|
return Apollo.useMutation(exports.AddSegmentToCampaignDocument, options);
|
|
974
954
|
}
|
|
975
|
-
exports.AiAgentChatDocument = (0, client_1.gql) `
|
|
976
|
-
mutation AiAgentChat($conversationId: String, $enableTools: Boolean, $message: String!) {
|
|
977
|
-
aiAgentChat(
|
|
978
|
-
conversationId: $conversationId
|
|
979
|
-
enableTools: $enableTools
|
|
980
|
-
message: $message
|
|
981
|
-
) {
|
|
982
|
-
success
|
|
983
|
-
conversationId
|
|
984
|
-
response
|
|
985
|
-
toolCalls {
|
|
986
|
-
type
|
|
987
|
-
id
|
|
988
|
-
name
|
|
989
|
-
input
|
|
990
|
-
}
|
|
991
|
-
toolResults {
|
|
992
|
-
toolUseId
|
|
993
|
-
type
|
|
994
|
-
success
|
|
995
|
-
result
|
|
996
|
-
error
|
|
997
|
-
}
|
|
998
|
-
requiresExecution
|
|
999
|
-
error
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
`;
|
|
1003
|
-
/**
|
|
1004
|
-
* __useAiAgentChatMutation__
|
|
1005
|
-
*
|
|
1006
|
-
* To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
|
|
1007
|
-
* When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
|
|
1008
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1009
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1010
|
-
*
|
|
1011
|
-
* @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;
|
|
1012
|
-
*
|
|
1013
|
-
* @example
|
|
1014
|
-
* const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
|
|
1015
|
-
* variables: {
|
|
1016
|
-
* conversationId: // value for 'conversationId'
|
|
1017
|
-
* enableTools: // value for 'enableTools'
|
|
1018
|
-
* message: // value for 'message'
|
|
1019
|
-
* },
|
|
1020
|
-
* });
|
|
1021
|
-
*/
|
|
1022
|
-
function useAiAgentChatMutation(baseOptions) {
|
|
1023
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1024
|
-
return Apollo.useMutation(exports.AiAgentChatDocument, options);
|
|
1025
|
-
}
|
|
1026
|
-
exports.AiAgentContinueDocument = (0, client_1.gql) `
|
|
1027
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
1028
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
1029
|
-
success
|
|
1030
|
-
response
|
|
1031
|
-
toolCalls {
|
|
1032
|
-
type
|
|
1033
|
-
id
|
|
1034
|
-
name
|
|
1035
|
-
input
|
|
1036
|
-
}
|
|
1037
|
-
toolResults {
|
|
1038
|
-
toolUseId
|
|
1039
|
-
type
|
|
1040
|
-
success
|
|
1041
|
-
result
|
|
1042
|
-
error
|
|
1043
|
-
}
|
|
1044
|
-
requiresExecution
|
|
1045
|
-
error
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
`;
|
|
1049
|
-
/**
|
|
1050
|
-
* __useAiAgentContinueMutation__
|
|
1051
|
-
*
|
|
1052
|
-
* To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
|
|
1053
|
-
* When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
|
|
1054
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1055
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1056
|
-
*
|
|
1057
|
-
* @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;
|
|
1058
|
-
*
|
|
1059
|
-
* @example
|
|
1060
|
-
* const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
|
|
1061
|
-
* variables: {
|
|
1062
|
-
* conversationId: // value for 'conversationId'
|
|
1063
|
-
* toolResults: // value for 'toolResults'
|
|
1064
|
-
* },
|
|
1065
|
-
* });
|
|
1066
|
-
*/
|
|
1067
|
-
function useAiAgentContinueMutation(baseOptions) {
|
|
1068
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1069
|
-
return Apollo.useMutation(exports.AiAgentContinueDocument, options);
|
|
1070
|
-
}
|
|
1071
|
-
exports.AiAgentExecuteDocument = (0, client_1.gql) `
|
|
1072
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
1073
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
1074
|
-
success
|
|
1075
|
-
results {
|
|
1076
|
-
toolUseId
|
|
1077
|
-
type
|
|
1078
|
-
success
|
|
1079
|
-
result
|
|
1080
|
-
error
|
|
1081
|
-
}
|
|
1082
|
-
error
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
`;
|
|
1086
|
-
/**
|
|
1087
|
-
* __useAiAgentExecuteMutation__
|
|
1088
|
-
*
|
|
1089
|
-
* To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
|
|
1090
|
-
* When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
|
|
1091
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
1092
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
1093
|
-
*
|
|
1094
|
-
* @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;
|
|
1095
|
-
*
|
|
1096
|
-
* @example
|
|
1097
|
-
* const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
|
|
1098
|
-
* variables: {
|
|
1099
|
-
* conversationId: // value for 'conversationId'
|
|
1100
|
-
* toolCalls: // value for 'toolCalls'
|
|
1101
|
-
* },
|
|
1102
|
-
* });
|
|
1103
|
-
*/
|
|
1104
|
-
function useAiAgentExecuteMutation(baseOptions) {
|
|
1105
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1106
|
-
return Apollo.useMutation(exports.AiAgentExecuteDocument, options);
|
|
1107
|
-
}
|
|
1108
955
|
exports.BulkAssignCompanyOwnersDocument = (0, client_1.gql) `
|
|
1109
956
|
mutation BulkAssignCompanyOwners($input: BulkAssignOwnersInput) {
|
|
1110
957
|
bulkAssignCompanyOwners(input: $input) {
|
|
@@ -7634,35 +7481,6 @@ function useDeleteContactMutation(baseOptions) {
|
|
|
7634
7481
|
const options = { ...defaultOptions, ...baseOptions };
|
|
7635
7482
|
return Apollo.useMutation(exports.DeleteContactDocument, options);
|
|
7636
7483
|
}
|
|
7637
|
-
exports.DeleteConversationDocument = (0, client_1.gql) `
|
|
7638
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
7639
|
-
deleteConversation(conversationId: $conversationId) {
|
|
7640
|
-
success
|
|
7641
|
-
message
|
|
7642
|
-
}
|
|
7643
|
-
}
|
|
7644
|
-
`;
|
|
7645
|
-
/**
|
|
7646
|
-
* __useDeleteConversationMutation__
|
|
7647
|
-
*
|
|
7648
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
7649
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
7650
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
7651
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
7652
|
-
*
|
|
7653
|
-
* @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;
|
|
7654
|
-
*
|
|
7655
|
-
* @example
|
|
7656
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
7657
|
-
* variables: {
|
|
7658
|
-
* conversationId: // value for 'conversationId'
|
|
7659
|
-
* },
|
|
7660
|
-
* });
|
|
7661
|
-
*/
|
|
7662
|
-
function useDeleteConversationMutation(baseOptions) {
|
|
7663
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
7664
|
-
return Apollo.useMutation(exports.DeleteConversationDocument, options);
|
|
7665
|
-
}
|
|
7666
7484
|
exports.DeleteEmailTemplateDocument = (0, client_1.gql) `
|
|
7667
7485
|
mutation DeleteEmailTemplate($uuid: UUID!) {
|
|
7668
7486
|
deleteEmailTemplate(uuid: $uuid) {
|
|
@@ -10953,6 +10771,7 @@ exports.UpdateCombinedCampaignLogsDocument = (0, client_1.gql) `
|
|
|
10953
10771
|
status: $status
|
|
10954
10772
|
) {
|
|
10955
10773
|
updatedCount
|
|
10774
|
+
contactLogFailures
|
|
10956
10775
|
success
|
|
10957
10776
|
message
|
|
10958
10777
|
}
|
|
@@ -30690,114 +30509,6 @@ function useContactsInSegmentSuspenseQuery(baseOptions) {
|
|
|
30690
30509
|
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
30691
30510
|
return Apollo.useSuspenseQuery(exports.ContactsInSegmentDocument, options);
|
|
30692
30511
|
}
|
|
30693
|
-
exports.ConversationDocument = (0, client_1.gql) `
|
|
30694
|
-
query Conversation($conversationId: String!) {
|
|
30695
|
-
conversation(conversationId: $conversationId) {
|
|
30696
|
-
id
|
|
30697
|
-
user {
|
|
30698
|
-
id
|
|
30699
|
-
email
|
|
30700
|
-
firstName
|
|
30701
|
-
lastName
|
|
30702
|
-
picture
|
|
30703
|
-
}
|
|
30704
|
-
createdAt
|
|
30705
|
-
updatedAt
|
|
30706
|
-
messages {
|
|
30707
|
-
id
|
|
30708
|
-
role
|
|
30709
|
-
content
|
|
30710
|
-
toolCalls
|
|
30711
|
-
toolResults
|
|
30712
|
-
createdAt
|
|
30713
|
-
}
|
|
30714
|
-
}
|
|
30715
|
-
}
|
|
30716
|
-
`;
|
|
30717
|
-
/**
|
|
30718
|
-
* __useConversationQuery__
|
|
30719
|
-
*
|
|
30720
|
-
* To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
|
|
30721
|
-
* When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
30722
|
-
* you can use to render your UI.
|
|
30723
|
-
*
|
|
30724
|
-
* @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;
|
|
30725
|
-
*
|
|
30726
|
-
* @example
|
|
30727
|
-
* const { data, loading, error } = useConversationQuery({
|
|
30728
|
-
* variables: {
|
|
30729
|
-
* conversationId: // value for 'conversationId'
|
|
30730
|
-
* },
|
|
30731
|
-
* });
|
|
30732
|
-
*/
|
|
30733
|
-
function useConversationQuery(baseOptions) {
|
|
30734
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
30735
|
-
return Apollo.useQuery(exports.ConversationDocument, options);
|
|
30736
|
-
}
|
|
30737
|
-
function useConversationLazyQuery(baseOptions) {
|
|
30738
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
30739
|
-
return Apollo.useLazyQuery(exports.ConversationDocument, options);
|
|
30740
|
-
}
|
|
30741
|
-
function useConversationSuspenseQuery(baseOptions) {
|
|
30742
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
30743
|
-
return Apollo.useSuspenseQuery(exports.ConversationDocument, options);
|
|
30744
|
-
}
|
|
30745
|
-
exports.ConversationHistoryDocument = (0, client_1.gql) `
|
|
30746
|
-
query ConversationHistory($limit: Int, $offset: Int) {
|
|
30747
|
-
conversationHistory(limit: $limit, offset: $offset) {
|
|
30748
|
-
conversations {
|
|
30749
|
-
id
|
|
30750
|
-
user {
|
|
30751
|
-
id
|
|
30752
|
-
email
|
|
30753
|
-
firstName
|
|
30754
|
-
lastName
|
|
30755
|
-
picture
|
|
30756
|
-
}
|
|
30757
|
-
createdAt
|
|
30758
|
-
updatedAt
|
|
30759
|
-
messages {
|
|
30760
|
-
id
|
|
30761
|
-
role
|
|
30762
|
-
content
|
|
30763
|
-
toolCalls
|
|
30764
|
-
toolResults
|
|
30765
|
-
createdAt
|
|
30766
|
-
}
|
|
30767
|
-
}
|
|
30768
|
-
totalCount
|
|
30769
|
-
}
|
|
30770
|
-
}
|
|
30771
|
-
`;
|
|
30772
|
-
/**
|
|
30773
|
-
* __useConversationHistoryQuery__
|
|
30774
|
-
*
|
|
30775
|
-
* To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
|
|
30776
|
-
* When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
30777
|
-
* you can use to render your UI.
|
|
30778
|
-
*
|
|
30779
|
-
* @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;
|
|
30780
|
-
*
|
|
30781
|
-
* @example
|
|
30782
|
-
* const { data, loading, error } = useConversationHistoryQuery({
|
|
30783
|
-
* variables: {
|
|
30784
|
-
* limit: // value for 'limit'
|
|
30785
|
-
* offset: // value for 'offset'
|
|
30786
|
-
* },
|
|
30787
|
-
* });
|
|
30788
|
-
*/
|
|
30789
|
-
function useConversationHistoryQuery(baseOptions) {
|
|
30790
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
30791
|
-
return Apollo.useQuery(exports.ConversationHistoryDocument, options);
|
|
30792
|
-
}
|
|
30793
|
-
function useConversationHistoryLazyQuery(baseOptions) {
|
|
30794
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
30795
|
-
return Apollo.useLazyQuery(exports.ConversationHistoryDocument, options);
|
|
30796
|
-
}
|
|
30797
|
-
function useConversationHistorySuspenseQuery(baseOptions) {
|
|
30798
|
-
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
30799
|
-
return Apollo.useSuspenseQuery(exports.ConversationHistoryDocument, options);
|
|
30800
|
-
}
|
|
30801
30512
|
exports.CurrentAccountDocument = (0, client_1.gql) `
|
|
30802
30513
|
query CurrentAccount {
|
|
30803
30514
|
currentAccount {
|
package/dist/mutations.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export declare const AI_AGENT_CHAT: import("@apollo/client").DocumentNode;
|
|
2
|
-
export declare const AI_AGENT_EXECUTE: import("@apollo/client").DocumentNode;
|
|
3
|
-
export declare const AI_AGENT_CONTINUE: import("@apollo/client").DocumentNode;
|
|
4
|
-
export declare const DELETE_CONVERSATION: import("@apollo/client").DocumentNode;
|
|
5
1
|
export declare const CREATE_COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
|
|
6
2
|
export declare const UPDATE_COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
|
|
7
3
|
export declare const DELETE_COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
|
package/dist/mutations.js
CHANGED
|
@@ -1,74 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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 = exports.DELETE_COMBINED_CAMPAIGN_TEMPLATE = exports.UPDATE_COMBINED_CAMPAIGN_TEMPLATE = exports.CREATE_COMBINED_CAMPAIGN_TEMPLATE = exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = exports.ADD_CONTACTS_TO_COMBINED_CAMPAIGN = exports.SEND_TEST_EMAIL_COMBINED = exports.SEND_MANUAL_EMAIL = exports.UPDATE_COMBINED_CAMPAIGN_LOGS = exports.UPDATE_COMBINED_CAMPAIGN_LOG = exports.CANCEL_COMBINED_CAMPAIGN = exports.RESUME_COMBINED_CAMPAIGN = exports.PAUSE_COMBINED_CAMPAIGN = exports.SCHEDULE_COMBINED_CAMPAIGN = exports.START_COMBINED_CAMPAIGN = exports.DELETE_COMBINED_CAMPAIGN = exports.UPDATE_COMBINED_CAMPAIGN = exports.CREATE_COMBINED_CAMPAIGN =
|
|
4
|
-
exports.UPDATE_COMPANY_EXTERNAL_IDENTIFIER = exports.SET_LEAD_NOT_INTERESTED = exports.BULK_ASSIGN_COMPANY_OWNERS = 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 = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.GENERATE_NEW_EMAIL = 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 =
|
|
3
|
+
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 = exports.DELETE_COMBINED_CAMPAIGN_TEMPLATE = exports.UPDATE_COMBINED_CAMPAIGN_TEMPLATE = exports.CREATE_COMBINED_CAMPAIGN_TEMPLATE = exports.REMOVE_CONTACTS_FROM_COMBINED_CAMPAIGN = exports.ADD_CONTACTS_TO_COMBINED_CAMPAIGN = exports.SEND_TEST_EMAIL_COMBINED = exports.SEND_MANUAL_EMAIL = exports.UPDATE_COMBINED_CAMPAIGN_LOGS = exports.UPDATE_COMBINED_CAMPAIGN_LOG = exports.CANCEL_COMBINED_CAMPAIGN = exports.RESUME_COMBINED_CAMPAIGN = exports.PAUSE_COMBINED_CAMPAIGN = exports.SCHEDULE_COMBINED_CAMPAIGN = exports.START_COMBINED_CAMPAIGN = exports.DELETE_COMBINED_CAMPAIGN = exports.UPDATE_COMBINED_CAMPAIGN = exports.CREATE_COMBINED_CAMPAIGN = void 0;
|
|
4
|
+
exports.UPDATE_COMPANY_EXTERNAL_IDENTIFIER = exports.SET_LEAD_NOT_INTERESTED = exports.BULK_ASSIGN_COMPANY_OWNERS = 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 = exports.CREATE_NOTIFICATION = exports.DISCONNECT_NYLAS_INTEGRATION = exports.SAVE_NYLAS_CONNECTION = exports.GENERATE_NEW_EMAIL = 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 = void 0;
|
|
5
5
|
const client_1 = require("@apollo/client");
|
|
6
|
-
exports.AI_AGENT_CHAT = (0, client_1.gql) `
|
|
7
|
-
mutation AiAgentChat($conversationId: String, $enableTools: Boolean, $message: String!) {
|
|
8
|
-
aiAgentChat(conversationId: $conversationId, enableTools: $enableTools, message: $message) {
|
|
9
|
-
success
|
|
10
|
-
conversationId
|
|
11
|
-
response
|
|
12
|
-
toolCalls {
|
|
13
|
-
type
|
|
14
|
-
id
|
|
15
|
-
name
|
|
16
|
-
input
|
|
17
|
-
}
|
|
18
|
-
toolResults {
|
|
19
|
-
toolUseId
|
|
20
|
-
type
|
|
21
|
-
success
|
|
22
|
-
result
|
|
23
|
-
error
|
|
24
|
-
}
|
|
25
|
-
requiresExecution
|
|
26
|
-
error
|
|
27
|
-
}
|
|
28
|
-
}`;
|
|
29
|
-
exports.AI_AGENT_EXECUTE = (0, client_1.gql) `
|
|
30
|
-
mutation AiAgentExecute($conversationId: String!, $toolCalls: [JSONString]!) {
|
|
31
|
-
aiAgentExecute(conversationId: $conversationId, toolCalls: $toolCalls) {
|
|
32
|
-
success
|
|
33
|
-
results {
|
|
34
|
-
toolUseId
|
|
35
|
-
type
|
|
36
|
-
success
|
|
37
|
-
result
|
|
38
|
-
error
|
|
39
|
-
}
|
|
40
|
-
error
|
|
41
|
-
}
|
|
42
|
-
}`;
|
|
43
|
-
exports.AI_AGENT_CONTINUE = (0, client_1.gql) `
|
|
44
|
-
mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!) {
|
|
45
|
-
aiAgentContinue(conversationId: $conversationId, toolResults: $toolResults) {
|
|
46
|
-
success
|
|
47
|
-
response
|
|
48
|
-
toolCalls {
|
|
49
|
-
type
|
|
50
|
-
id
|
|
51
|
-
name
|
|
52
|
-
input
|
|
53
|
-
}
|
|
54
|
-
toolResults {
|
|
55
|
-
toolUseId
|
|
56
|
-
type
|
|
57
|
-
success
|
|
58
|
-
result
|
|
59
|
-
error
|
|
60
|
-
}
|
|
61
|
-
requiresExecution
|
|
62
|
-
error
|
|
63
|
-
}
|
|
64
|
-
}`;
|
|
65
|
-
exports.DELETE_CONVERSATION = (0, client_1.gql) `
|
|
66
|
-
mutation DeleteConversation($conversationId: String!) {
|
|
67
|
-
deleteConversation(conversationId: $conversationId) {
|
|
68
|
-
success
|
|
69
|
-
message
|
|
70
|
-
}
|
|
71
|
-
}`;
|
|
72
6
|
exports.CREATE_COMBINED_CAMPAIGN = (0, client_1.gql) `
|
|
73
7
|
mutation CreateCombinedCampaign($input: CombinedCampaignInput!, $steps: [CombinedCampaignStepInput]) {
|
|
74
8
|
createCombinedCampaign(input: $input, steps: $steps) {
|
|
@@ -827,6 +761,7 @@ exports.UPDATE_COMBINED_CAMPAIGN_LOGS = (0, client_1.gql) `
|
|
|
827
761
|
mutation UpdateCombinedCampaignLogs($logIds: [ID]!, $notes: String, $outcome: String, $status: String) {
|
|
828
762
|
updateCombinedCampaignLogs(logIds: $logIds, notes: $notes, outcome: $outcome, status: $status) {
|
|
829
763
|
updatedCount
|
|
764
|
+
contactLogFailures
|
|
830
765
|
success
|
|
831
766
|
message
|
|
832
767
|
}
|
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 COMBINED_CAMPAIGNS: import("@apollo/client").DocumentNode;
|
|
4
2
|
export declare const COMBINED_CAMPAIGN: import("@apollo/client").DocumentNode;
|
|
5
3
|
export declare const COMBINED_CAMPAIGN_LOGS: import("@apollo/client").DocumentNode;
|
package/dist/queries.js
CHANGED
|
@@ -1,57 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = 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 = exports.COMBINED_CAMPAIGN_TEMPLATE = exports.COMBINED_CAMPAIGN_TEMPLATES = exports.COMBINED_CAMPAIGN_STEPS = exports.COMBINED_CAMPAIGN_CONTACTS = exports.COMBINED_CAMPAIGN_LOGS = exports.COMBINED_CAMPAIGN = exports.COMBINED_CAMPAIGNS =
|
|
4
|
-
exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS =
|
|
3
|
+
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.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = 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 = exports.COMBINED_CAMPAIGN_TEMPLATE = exports.COMBINED_CAMPAIGN_TEMPLATES = exports.COMBINED_CAMPAIGN_STEPS = exports.COMBINED_CAMPAIGN_CONTACTS = exports.COMBINED_CAMPAIGN_LOGS = exports.COMBINED_CAMPAIGN = exports.COMBINED_CAMPAIGNS = void 0;
|
|
4
|
+
exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS = void 0;
|
|
5
5
|
const client_1 = require("@apollo/client");
|
|
6
|
-
exports.CONVERSATION_HISTORY = (0, client_1.gql) `
|
|
7
|
-
query ConversationHistory($limit: Int, $offset: Int) {
|
|
8
|
-
conversationHistory(limit: $limit, offset: $offset) {
|
|
9
|
-
conversations {
|
|
10
|
-
id
|
|
11
|
-
user {
|
|
12
|
-
id
|
|
13
|
-
email
|
|
14
|
-
firstName
|
|
15
|
-
lastName
|
|
16
|
-
picture
|
|
17
|
-
}
|
|
18
|
-
createdAt
|
|
19
|
-
updatedAt
|
|
20
|
-
messages {
|
|
21
|
-
id
|
|
22
|
-
role
|
|
23
|
-
content
|
|
24
|
-
toolCalls
|
|
25
|
-
toolResults
|
|
26
|
-
createdAt
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
totalCount
|
|
30
|
-
}
|
|
31
|
-
}`;
|
|
32
|
-
exports.CONVERSATION = (0, client_1.gql) `
|
|
33
|
-
query Conversation($conversationId: String!) {
|
|
34
|
-
conversation(conversationId: $conversationId) {
|
|
35
|
-
id
|
|
36
|
-
user {
|
|
37
|
-
id
|
|
38
|
-
email
|
|
39
|
-
firstName
|
|
40
|
-
lastName
|
|
41
|
-
picture
|
|
42
|
-
}
|
|
43
|
-
createdAt
|
|
44
|
-
updatedAt
|
|
45
|
-
messages {
|
|
46
|
-
id
|
|
47
|
-
role
|
|
48
|
-
content
|
|
49
|
-
toolCalls
|
|
50
|
-
toolResults
|
|
51
|
-
createdAt
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}`;
|
|
55
6
|
exports.COMBINED_CAMPAIGNS = (0, client_1.gql) `
|
|
56
7
|
query CombinedCampaigns($pagination: PaginationInput, $status: String, $sortBy: String) {
|
|
57
8
|
combinedCampaigns(pagination: $pagination, status: $status, sortBy: $sortBy) {
|
package/dist/sdk.d.ts
CHANGED
|
@@ -14,9 +14,6 @@ export declare class CloudForgeSDK {
|
|
|
14
14
|
addContactsToSegment(contactIds: string[], segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
15
15
|
addSegmentToCallCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
16
16
|
addSegmentToCampaign(campaignId: string, segmentId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
17
|
-
aiAgentChat(message: string, conversationId?: string, enableTools?: boolean): Promise<import("@apollo/client").FetchResult<any>>;
|
|
18
|
-
aiAgentContinue(conversationId: string, toolResults: Scalars['JSONString']['input'][]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
19
|
-
aiAgentExecute(conversationId: string, toolCalls: Scalars['JSONString']['input'][]): Promise<import("@apollo/client").FetchResult<any>>;
|
|
20
17
|
bulkAssignCompanyOwners(input?: BulkAssignOwnersInput): Promise<import("@apollo/client").FetchResult<any>>;
|
|
21
18
|
cancelCampaign(id: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
22
19
|
cancelCombinedCampaign(id: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
@@ -43,7 +40,6 @@ export declare class CloudForgeSDK {
|
|
|
43
40
|
deleteCompany(id?: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
44
41
|
deleteCompanyNote(id: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
45
42
|
deleteContact(id?: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
46
|
-
deleteConversation(conversationId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
47
43
|
deleteEmailTemplate(uuid: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
48
44
|
deleteNotification(notificationId: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
49
45
|
deleteSegment(id: string): Promise<import("@apollo/client").FetchResult<any>>;
|
|
@@ -134,8 +130,6 @@ export declare class CloudForgeSDK {
|
|
|
134
130
|
contact(id?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
135
131
|
contacts(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
136
132
|
contactsInSegment(segmentId: string, pagination?: PaginationInput): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
137
|
-
conversation(conversationId: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
138
|
-
conversationHistory(limit?: number, offset?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
139
133
|
currentAccount(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
140
134
|
dashboardStats(startDate?: string, endDate?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
|
141
135
|
emailTemplate(uuid: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
|
package/dist/sdk.js
CHANGED
|
@@ -69,24 +69,6 @@ class CloudForgeSDK {
|
|
|
69
69
|
variables: { campaignId, segmentId }
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
async aiAgentChat(message, conversationId, enableTools) {
|
|
73
|
-
return this.apolloClient.mutate({
|
|
74
|
-
mutation: mutations_1.AI_AGENT_CHAT,
|
|
75
|
-
variables: { message, conversationId, enableTools }
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
async aiAgentContinue(conversationId, toolResults) {
|
|
79
|
-
return this.apolloClient.mutate({
|
|
80
|
-
mutation: mutations_1.AI_AGENT_CONTINUE,
|
|
81
|
-
variables: { conversationId, toolResults }
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
async aiAgentExecute(conversationId, toolCalls) {
|
|
85
|
-
return this.apolloClient.mutate({
|
|
86
|
-
mutation: mutations_1.AI_AGENT_EXECUTE,
|
|
87
|
-
variables: { conversationId, toolCalls }
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
72
|
async bulkAssignCompanyOwners(input) {
|
|
91
73
|
return this.apolloClient.mutate({
|
|
92
74
|
mutation: mutations_1.BULK_ASSIGN_COMPANY_OWNERS,
|
|
@@ -242,12 +224,6 @@ class CloudForgeSDK {
|
|
|
242
224
|
variables: { id }
|
|
243
225
|
});
|
|
244
226
|
}
|
|
245
|
-
async deleteConversation(conversationId) {
|
|
246
|
-
return this.apolloClient.mutate({
|
|
247
|
-
mutation: mutations_1.DELETE_CONVERSATION,
|
|
248
|
-
variables: { conversationId }
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
227
|
async deleteEmailTemplate(uuid) {
|
|
252
228
|
return this.apolloClient.mutate({
|
|
253
229
|
mutation: mutations_1.DELETE_EMAIL_TEMPLATE,
|
|
@@ -785,18 +761,6 @@ class CloudForgeSDK {
|
|
|
785
761
|
variables: { segmentId, pagination }
|
|
786
762
|
});
|
|
787
763
|
}
|
|
788
|
-
async conversation(conversationId) {
|
|
789
|
-
return this.apolloClient.query({
|
|
790
|
-
query: queries_1.CONVERSATION,
|
|
791
|
-
variables: { conversationId }
|
|
792
|
-
});
|
|
793
|
-
}
|
|
794
|
-
async conversationHistory(limit, offset) {
|
|
795
|
-
return this.apolloClient.query({
|
|
796
|
-
query: queries_1.CONVERSATION_HISTORY,
|
|
797
|
-
variables: { limit, offset }
|
|
798
|
-
});
|
|
799
|
-
}
|
|
800
764
|
async currentAccount() {
|
|
801
765
|
return this.apolloClient.query({
|
|
802
766
|
query: queries_1.CURRENT_ACCOUNT
|