cf-service-sdk 0.0.47 → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/graphql.d.ts +36 -452
- package/dist/generated/graphql.js +19 -284
- package/dist/mutations.d.ts +0 -4
- package/dist/mutations.js +5 -55
- package/dist/queries.d.ts +0 -2
- package/dist/queries.js +10 -52
- package/dist/sdk.d.ts +3 -9
- package/dist/sdk.js +4 -40
- package/package.json +1 -1
|
@@ -93,32 +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
|
-
};
|
|
106
|
-
/** Response type for continuing after tool execution. */
|
|
107
|
-
export type AiAgentContinueResponse = {
|
|
108
|
-
__typename?: 'AIAgentContinueResponse';
|
|
109
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
110
|
-
requiresExecution?: Maybe<Scalars['Boolean']['output']>;
|
|
111
|
-
response?: Maybe<Scalars['String']['output']>;
|
|
112
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
113
|
-
toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
|
|
114
|
-
};
|
|
115
|
-
/** Response type for tool execution. */
|
|
116
|
-
export type AiAgentExecuteResponse = {
|
|
117
|
-
__typename?: 'AIAgentExecuteResponse';
|
|
118
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
119
|
-
results?: Maybe<Array<Maybe<ToolResultType>>>;
|
|
120
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
121
|
-
};
|
|
122
96
|
/** AcceptInvitation - Accept an invitation to join an account */
|
|
123
97
|
export type AcceptInvitation = {
|
|
124
98
|
__typename?: 'AcceptInvitation';
|
|
@@ -177,15 +151,6 @@ export type AddSegmentToCampaign = {
|
|
|
177
151
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
178
152
|
};
|
|
179
153
|
/** An enumeration. */
|
|
180
|
-
export declare enum AgentConversationMessageRoleChoices {
|
|
181
|
-
/** Assistant */
|
|
182
|
-
Assistant = "ASSISTANT",
|
|
183
|
-
/** System */
|
|
184
|
-
System = "SYSTEM",
|
|
185
|
-
/** User */
|
|
186
|
-
User = "USER"
|
|
187
|
-
}
|
|
188
|
-
/** An enumeration. */
|
|
189
154
|
export declare enum AppAccountInvitationStatusChoices {
|
|
190
155
|
/** Accepted */
|
|
191
156
|
Accepted = "ACCEPTED",
|
|
@@ -595,10 +560,16 @@ export type CampaignContactItemType = {
|
|
|
595
560
|
__typename?: 'CampaignContactItemType';
|
|
596
561
|
/** City of the contact */
|
|
597
562
|
companyCity?: Maybe<Scalars['String']['output']>;
|
|
563
|
+
/** Company ID of the contact */
|
|
564
|
+
companyId?: Maybe<Scalars['ID']['output']>;
|
|
598
565
|
/** Company name of the contact */
|
|
599
566
|
companyName?: Maybe<Scalars['String']['output']>;
|
|
600
567
|
/** State of the contact */
|
|
601
568
|
companyState?: Maybe<Scalars['String']['output']>;
|
|
569
|
+
/** ID of the contact */
|
|
570
|
+
contactId?: Maybe<Scalars['ID']['output']>;
|
|
571
|
+
/** ID of the custom contact */
|
|
572
|
+
customContactId?: Maybe<Scalars['ID']['output']>;
|
|
602
573
|
/** Email of the contact */
|
|
603
574
|
email?: Maybe<Scalars['String']['output']>;
|
|
604
575
|
/** First name of the contact */
|
|
@@ -607,6 +578,8 @@ export type CampaignContactItemType = {
|
|
|
607
578
|
lastName?: Maybe<Scalars['String']['output']>;
|
|
608
579
|
/** Phone of the contact */
|
|
609
580
|
phone?: Maybe<Scalars['String']['output']>;
|
|
581
|
+
/** Title of the contact */
|
|
582
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
610
583
|
};
|
|
611
584
|
/** Statistics for a contact within a specific campaign */
|
|
612
585
|
export type CampaignContactStatsType = {
|
|
@@ -991,6 +964,8 @@ export type CompanyObject = {
|
|
|
991
964
|
isCustomer: Scalars['Boolean']['output'];
|
|
992
965
|
isProspect?: Maybe<Scalars['Boolean']['output']>;
|
|
993
966
|
keywords?: Maybe<Scalars['String']['output']>;
|
|
967
|
+
/** Most recent contact date across all contacts and company notes */
|
|
968
|
+
lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
994
969
|
linkedinUrl?: Maybe<Scalars['String']['output']>;
|
|
995
970
|
location?: Maybe<Scalars['String']['output']>;
|
|
996
971
|
/** List of all company locations */
|
|
@@ -1185,36 +1160,6 @@ export type ContactStatsType = {
|
|
|
1185
1160
|
/** Total number of emails replied to */
|
|
1186
1161
|
totalReplied?: Maybe<Scalars['Int']['output']>;
|
|
1187
1162
|
};
|
|
1188
|
-
/** Type for conversation history list. */
|
|
1189
|
-
export type ConversationHistoryType = {
|
|
1190
|
-
__typename?: 'ConversationHistoryType';
|
|
1191
|
-
conversations?: Maybe<Array<Maybe<ConversationType>>>;
|
|
1192
|
-
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
1193
|
-
};
|
|
1194
|
-
/** GraphQL type for ConversationMessage model. */
|
|
1195
|
-
export type ConversationMessageType = Node & {
|
|
1196
|
-
__typename?: 'ConversationMessageType';
|
|
1197
|
-
content: Scalars['JSONString']['output'];
|
|
1198
|
-
conversation?: Maybe<ConversationType>;
|
|
1199
|
-
createdAt: Scalars['DateTime']['output'];
|
|
1200
|
-
/** The ID of the object */
|
|
1201
|
-
id: Scalars['ID']['output'];
|
|
1202
|
-
role: AgentConversationMessageRoleChoices;
|
|
1203
|
-
/** Tool calls made by the assistant */
|
|
1204
|
-
toolCalls?: Maybe<Scalars['JSONString']['output']>;
|
|
1205
|
-
/** Results from tool executions */
|
|
1206
|
-
toolResults?: Maybe<Scalars['JSONString']['output']>;
|
|
1207
|
-
};
|
|
1208
|
-
/** GraphQL type for Conversation model. */
|
|
1209
|
-
export type ConversationType = Node & {
|
|
1210
|
-
__typename?: 'ConversationType';
|
|
1211
|
-
createdAt: Scalars['DateTime']['output'];
|
|
1212
|
-
/** The ID of the object */
|
|
1213
|
-
id: Scalars['ID']['output'];
|
|
1214
|
-
messages?: Maybe<Array<Maybe<ConversationMessageType>>>;
|
|
1215
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
1216
|
-
user?: Maybe<UserType>;
|
|
1217
|
-
};
|
|
1218
1163
|
export type CreateCallCampaign = {
|
|
1219
1164
|
__typename?: 'CreateCallCampaign';
|
|
1220
1165
|
callCampaign?: Maybe<CallCampaignObject>;
|
|
@@ -1300,7 +1245,7 @@ export type CustomContactInput = {
|
|
|
1300
1245
|
companyCity?: InputMaybe<Scalars['String']['input']>;
|
|
1301
1246
|
companyName?: InputMaybe<Scalars['String']['input']>;
|
|
1302
1247
|
companyState?: InputMaybe<Scalars['String']['input']>;
|
|
1303
|
-
email
|
|
1248
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
1304
1249
|
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
1305
1250
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1306
1251
|
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1347,12 +1292,6 @@ export type DeleteContact = {
|
|
|
1347
1292
|
__typename?: 'DeleteContact';
|
|
1348
1293
|
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1349
1294
|
};
|
|
1350
|
-
/** Mutation for deleting a conversation. */
|
|
1351
|
-
export type DeleteConversation = {
|
|
1352
|
-
__typename?: 'DeleteConversation';
|
|
1353
|
-
message?: Maybe<Scalars['String']['output']>;
|
|
1354
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
1355
|
-
};
|
|
1356
1295
|
/** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
|
|
1357
1296
|
export type DeleteEmailTemplate = {
|
|
1358
1297
|
__typename?: 'DeleteEmailTemplate';
|
|
@@ -1616,12 +1555,6 @@ export type Mutation = {
|
|
|
1616
1555
|
addContactsToSegment?: Maybe<AddContactsToSegment>;
|
|
1617
1556
|
addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
|
|
1618
1557
|
addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
|
|
1619
|
-
/** Mutation for chatting with the AI agent. */
|
|
1620
|
-
aiAgentChat?: Maybe<AiAgentChatResponse>;
|
|
1621
|
-
/** Mutation for continuing conversation after tool execution. */
|
|
1622
|
-
aiAgentContinue?: Maybe<AiAgentContinueResponse>;
|
|
1623
|
-
/** Mutation for executing tool calls. */
|
|
1624
|
-
aiAgentExecute?: Maybe<AiAgentExecuteResponse>;
|
|
1625
1558
|
cancelCampaign?: Maybe<CancelCampaign>;
|
|
1626
1559
|
/** CancelInvitation - Cancel a pending invitation (admin only) */
|
|
1627
1560
|
cancelInvitation?: Maybe<CancelInvitation>;
|
|
@@ -1648,8 +1581,6 @@ export type Mutation = {
|
|
|
1648
1581
|
deleteCompany?: Maybe<DeleteCompany>;
|
|
1649
1582
|
deleteCompanyNote?: Maybe<DeleteCompanyNote>;
|
|
1650
1583
|
deleteContact?: Maybe<DeleteContact>;
|
|
1651
|
-
/** Mutation for deleting a conversation. */
|
|
1652
|
-
deleteConversation?: Maybe<DeleteConversation>;
|
|
1653
1584
|
/** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
|
|
1654
1585
|
deleteEmailTemplate?: Maybe<DeleteEmailTemplate>;
|
|
1655
1586
|
/** Delete a notification */
|
|
@@ -1748,22 +1679,6 @@ export type MutationAddSegmentToCampaignArgs = {
|
|
|
1748
1679
|
segmentId: Scalars['ID']['input'];
|
|
1749
1680
|
};
|
|
1750
1681
|
/** Mutations */
|
|
1751
|
-
export type MutationAiAgentChatArgs = {
|
|
1752
|
-
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
1753
|
-
enableTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1754
|
-
message: Scalars['String']['input'];
|
|
1755
|
-
};
|
|
1756
|
-
/** Mutations */
|
|
1757
|
-
export type MutationAiAgentContinueArgs = {
|
|
1758
|
-
conversationId: Scalars['String']['input'];
|
|
1759
|
-
toolResults: Array<InputMaybe<Scalars['JSONString']['input']>>;
|
|
1760
|
-
};
|
|
1761
|
-
/** Mutations */
|
|
1762
|
-
export type MutationAiAgentExecuteArgs = {
|
|
1763
|
-
conversationId: Scalars['String']['input'];
|
|
1764
|
-
toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>>;
|
|
1765
|
-
};
|
|
1766
|
-
/** Mutations */
|
|
1767
1682
|
export type MutationCancelCampaignArgs = {
|
|
1768
1683
|
id: Scalars['ID']['input'];
|
|
1769
1684
|
};
|
|
@@ -1840,10 +1755,6 @@ export type MutationDeleteContactArgs = {
|
|
|
1840
1755
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1841
1756
|
};
|
|
1842
1757
|
/** Mutations */
|
|
1843
|
-
export type MutationDeleteConversationArgs = {
|
|
1844
|
-
conversationId: Scalars['String']['input'];
|
|
1845
|
-
};
|
|
1846
|
-
/** Mutations */
|
|
1847
1758
|
export type MutationDeleteEmailTemplateArgs = {
|
|
1848
1759
|
uuid: Scalars['UUID']['input'];
|
|
1849
1760
|
};
|
|
@@ -1913,7 +1824,7 @@ export type MutationRejectInvitationArgs = {
|
|
|
1913
1824
|
export type MutationRemoveContactsFromCampaignArgs = {
|
|
1914
1825
|
campaignId: Scalars['ID']['input'];
|
|
1915
1826
|
contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
1916
|
-
|
|
1827
|
+
customContactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
|
|
1917
1828
|
};
|
|
1918
1829
|
/** Mutations */
|
|
1919
1830
|
export type MutationRemoveContactsFromSegmentArgs = {
|
|
@@ -2044,11 +1955,6 @@ export type MyInvitationsType = {
|
|
|
2044
1955
|
status: Scalars['String']['output'];
|
|
2045
1956
|
token: Scalars['String']['output'];
|
|
2046
1957
|
};
|
|
2047
|
-
/** An object with an ID */
|
|
2048
|
-
export type Node = {
|
|
2049
|
-
/** The ID of the object */
|
|
2050
|
-
id: Scalars['ID']['output'];
|
|
2051
|
-
};
|
|
2052
1958
|
/** GraphQL type for Notification model */
|
|
2053
1959
|
export type NotificationType = {
|
|
2054
1960
|
__typename?: 'NotificationType';
|
|
@@ -2263,8 +2169,6 @@ export type Query = {
|
|
|
2263
2169
|
contacts?: Maybe<Array<Maybe<ContactObject>>>;
|
|
2264
2170
|
/** Get paginated list of contacts in a segment */
|
|
2265
2171
|
contactsInSegment?: Maybe<PaginatedContactList>;
|
|
2266
|
-
conversation?: Maybe<ConversationType>;
|
|
2267
|
-
conversationHistory?: Maybe<ConversationHistoryType>;
|
|
2268
2172
|
currentAccount?: Maybe<AccountType>;
|
|
2269
2173
|
/** Get dashboard statistics across different features */
|
|
2270
2174
|
dashboardStats?: Maybe<DashboardStatsType>;
|
|
@@ -2346,6 +2250,8 @@ export type QueryCampaignAnalyticsArgs = {
|
|
|
2346
2250
|
/** Query */
|
|
2347
2251
|
export type QueryCampaignContactsArgs = {
|
|
2348
2252
|
campaignUuid: Scalars['ID']['input'];
|
|
2253
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
2254
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2349
2255
|
};
|
|
2350
2256
|
/** Query */
|
|
2351
2257
|
export type QueryCampaignLogsArgs = {
|
|
@@ -2394,15 +2300,6 @@ export type QueryContactsInSegmentArgs = {
|
|
|
2394
2300
|
segmentId: Scalars['ID']['input'];
|
|
2395
2301
|
};
|
|
2396
2302
|
/** Query */
|
|
2397
|
-
export type QueryConversationArgs = {
|
|
2398
|
-
conversationId: Scalars['String']['input'];
|
|
2399
|
-
};
|
|
2400
|
-
/** Query */
|
|
2401
|
-
export type QueryConversationHistoryArgs = {
|
|
2402
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
2403
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
2404
|
-
};
|
|
2405
|
-
/** Query */
|
|
2406
2303
|
export type QueryDashboardStatsArgs = {
|
|
2407
2304
|
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2408
2305
|
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -2759,23 +2656,6 @@ export type TasksResponse = {
|
|
|
2759
2656
|
pagination?: Maybe<PaginationInfo>;
|
|
2760
2657
|
stats?: Maybe<TaskStatsObject>;
|
|
2761
2658
|
};
|
|
2762
|
-
/** Type for tool calls. */
|
|
2763
|
-
export type ToolCallType = {
|
|
2764
|
-
__typename?: 'ToolCallType';
|
|
2765
|
-
id?: Maybe<Scalars['String']['output']>;
|
|
2766
|
-
input?: Maybe<Scalars['JSONString']['output']>;
|
|
2767
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
2768
|
-
type?: Maybe<Scalars['String']['output']>;
|
|
2769
|
-
};
|
|
2770
|
-
/** Type for tool execution results. */
|
|
2771
|
-
export type ToolResultType = {
|
|
2772
|
-
__typename?: 'ToolResultType';
|
|
2773
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
2774
|
-
result?: Maybe<Scalars['JSONString']['output']>;
|
|
2775
|
-
success?: Maybe<Scalars['Boolean']['output']>;
|
|
2776
|
-
toolUseId?: Maybe<Scalars['String']['output']>;
|
|
2777
|
-
type?: Maybe<Scalars['String']['output']>;
|
|
2778
|
-
};
|
|
2779
2659
|
export type UsStateData = {
|
|
2780
2660
|
__typename?: 'USStateData';
|
|
2781
2661
|
/** State abbreviation */
|
|
@@ -3181,70 +3061,6 @@ export type AddSegmentToCampaignMutation = {
|
|
|
3181
3061
|
} | null;
|
|
3182
3062
|
} | null;
|
|
3183
3063
|
};
|
|
3184
|
-
export type AiAgentChatMutationVariables = Exact<{
|
|
3185
|
-
conversationId?: InputMaybe<Scalars['String']['input']>;
|
|
3186
|
-
enableTools?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3187
|
-
message: Scalars['String']['input'];
|
|
3188
|
-
}>;
|
|
3189
|
-
export type AiAgentChatMutation = {
|
|
3190
|
-
__typename?: 'Mutation';
|
|
3191
|
-
aiAgentChat?: {
|
|
3192
|
-
__typename?: 'AIAgentChatResponse';
|
|
3193
|
-
success?: boolean | null;
|
|
3194
|
-
conversationId?: string | null;
|
|
3195
|
-
response?: string | null;
|
|
3196
|
-
requiresExecution?: boolean | null;
|
|
3197
|
-
error?: string | null;
|
|
3198
|
-
toolCalls?: Array<{
|
|
3199
|
-
__typename?: 'ToolCallType';
|
|
3200
|
-
type?: string | null;
|
|
3201
|
-
id?: string | null;
|
|
3202
|
-
name?: string | null;
|
|
3203
|
-
input?: any | null;
|
|
3204
|
-
} | null> | null;
|
|
3205
|
-
} | null;
|
|
3206
|
-
};
|
|
3207
|
-
export type AiAgentContinueMutationVariables = Exact<{
|
|
3208
|
-
conversationId: Scalars['String']['input'];
|
|
3209
|
-
toolResults: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
|
|
3210
|
-
}>;
|
|
3211
|
-
export type AiAgentContinueMutation = {
|
|
3212
|
-
__typename?: 'Mutation';
|
|
3213
|
-
aiAgentContinue?: {
|
|
3214
|
-
__typename?: 'AIAgentContinueResponse';
|
|
3215
|
-
success?: boolean | null;
|
|
3216
|
-
response?: string | null;
|
|
3217
|
-
requiresExecution?: boolean | null;
|
|
3218
|
-
error?: string | null;
|
|
3219
|
-
toolCalls?: Array<{
|
|
3220
|
-
__typename?: 'ToolCallType';
|
|
3221
|
-
type?: string | null;
|
|
3222
|
-
id?: string | null;
|
|
3223
|
-
name?: string | null;
|
|
3224
|
-
input?: any | null;
|
|
3225
|
-
} | null> | null;
|
|
3226
|
-
} | null;
|
|
3227
|
-
};
|
|
3228
|
-
export type AiAgentExecuteMutationVariables = Exact<{
|
|
3229
|
-
conversationId: Scalars['String']['input'];
|
|
3230
|
-
toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
|
|
3231
|
-
}>;
|
|
3232
|
-
export type AiAgentExecuteMutation = {
|
|
3233
|
-
__typename?: 'Mutation';
|
|
3234
|
-
aiAgentExecute?: {
|
|
3235
|
-
__typename?: 'AIAgentExecuteResponse';
|
|
3236
|
-
success?: boolean | null;
|
|
3237
|
-
error?: string | null;
|
|
3238
|
-
results?: Array<{
|
|
3239
|
-
__typename?: 'ToolResultType';
|
|
3240
|
-
toolUseId?: string | null;
|
|
3241
|
-
type?: string | null;
|
|
3242
|
-
success?: boolean | null;
|
|
3243
|
-
result?: any | null;
|
|
3244
|
-
error?: string | null;
|
|
3245
|
-
} | null> | null;
|
|
3246
|
-
} | null;
|
|
3247
|
-
};
|
|
3248
3064
|
export type CancelCampaignMutationVariables = Exact<{
|
|
3249
3065
|
id: Scalars['ID']['input'];
|
|
3250
3066
|
}>;
|
|
@@ -3741,6 +3557,7 @@ export type CreateCompanyMutation = {
|
|
|
3741
3557
|
ownedByUser?: boolean | null;
|
|
3742
3558
|
isProspect?: boolean | null;
|
|
3743
3559
|
purchaseMetalConfidence?: number | null;
|
|
3560
|
+
lastContactedAt?: any | null;
|
|
3744
3561
|
tags?: Array<{
|
|
3745
3562
|
__typename?: 'TagObject';
|
|
3746
3563
|
id?: string | null;
|
|
@@ -5044,17 +4861,6 @@ export type DeleteContactMutation = {
|
|
|
5044
4861
|
success?: boolean | null;
|
|
5045
4862
|
} | null;
|
|
5046
4863
|
};
|
|
5047
|
-
export type DeleteConversationMutationVariables = Exact<{
|
|
5048
|
-
conversationId: Scalars['String']['input'];
|
|
5049
|
-
}>;
|
|
5050
|
-
export type DeleteConversationMutation = {
|
|
5051
|
-
__typename?: 'Mutation';
|
|
5052
|
-
deleteConversation?: {
|
|
5053
|
-
__typename?: 'DeleteConversation';
|
|
5054
|
-
success?: boolean | null;
|
|
5055
|
-
message?: string | null;
|
|
5056
|
-
} | null;
|
|
5057
|
-
};
|
|
5058
4864
|
export type DeleteEmailTemplateMutationVariables = Exact<{
|
|
5059
4865
|
uuid: Scalars['UUID']['input'];
|
|
5060
4866
|
}>;
|
|
@@ -5386,7 +5192,7 @@ export type RejectInvitationMutation = {
|
|
|
5386
5192
|
export type RemoveContactsFromCampaignMutationVariables = Exact<{
|
|
5387
5193
|
campaignId: Scalars['ID']['input'];
|
|
5388
5194
|
contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
5389
|
-
|
|
5195
|
+
customContactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
|
|
5390
5196
|
}>;
|
|
5391
5197
|
export type RemoveContactsFromCampaignMutation = {
|
|
5392
5198
|
__typename?: 'Mutation';
|
|
@@ -6330,6 +6136,7 @@ export type UpdateCompanyMutation = {
|
|
|
6330
6136
|
ownedByUser?: boolean | null;
|
|
6331
6137
|
isProspect?: boolean | null;
|
|
6332
6138
|
purchaseMetalConfidence?: number | null;
|
|
6139
|
+
lastContactedAt?: any | null;
|
|
6333
6140
|
tags?: Array<{
|
|
6334
6141
|
__typename?: 'TagObject';
|
|
6335
6142
|
id?: string | null;
|
|
@@ -8455,6 +8262,8 @@ export type CampaignAnalyticsQuery = {
|
|
|
8455
8262
|
};
|
|
8456
8263
|
export type CampaignContactsQueryVariables = Exact<{
|
|
8457
8264
|
campaignUuid: Scalars['ID']['input'];
|
|
8265
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
8266
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
8458
8267
|
}>;
|
|
8459
8268
|
export type CampaignContactsQuery = {
|
|
8460
8269
|
__typename?: 'Query';
|
|
@@ -8466,10 +8275,14 @@ export type CampaignContactsQuery = {
|
|
|
8466
8275
|
firstName?: string | null;
|
|
8467
8276
|
lastName?: string | null;
|
|
8468
8277
|
email?: string | null;
|
|
8278
|
+
title?: string | null;
|
|
8279
|
+
companyId?: string | null;
|
|
8469
8280
|
companyName?: string | null;
|
|
8470
8281
|
companyCity?: string | null;
|
|
8471
8282
|
companyState?: string | null;
|
|
8472
8283
|
phone?: string | null;
|
|
8284
|
+
contactId?: string | null;
|
|
8285
|
+
customContactId?: string | null;
|
|
8473
8286
|
} | null> | null;
|
|
8474
8287
|
pagination?: {
|
|
8475
8288
|
__typename?: 'PaginationInfo';
|
|
@@ -8848,6 +8661,7 @@ export type CompaniesQuery = {
|
|
|
8848
8661
|
ownedByUser?: boolean | null;
|
|
8849
8662
|
isProspect?: boolean | null;
|
|
8850
8663
|
purchaseMetalConfidence?: number | null;
|
|
8664
|
+
lastContactedAt?: any | null;
|
|
8851
8665
|
tags?: Array<{
|
|
8852
8666
|
__typename?: 'TagObject';
|
|
8853
8667
|
id?: string | null;
|
|
@@ -9425,6 +9239,7 @@ export type CompanyQuery = {
|
|
|
9425
9239
|
ownedByUser?: boolean | null;
|
|
9426
9240
|
isProspect?: boolean | null;
|
|
9427
9241
|
purchaseMetalConfidence?: number | null;
|
|
9242
|
+
lastContactedAt?: any | null;
|
|
9428
9243
|
tags?: Array<{
|
|
9429
9244
|
__typename?: 'TagObject';
|
|
9430
9245
|
id?: string | null;
|
|
@@ -10880,69 +10695,6 @@ export type ContactsInSegmentQuery = {
|
|
|
10880
10695
|
} | null;
|
|
10881
10696
|
} | null;
|
|
10882
10697
|
};
|
|
10883
|
-
export type ConversationQueryVariables = Exact<{
|
|
10884
|
-
conversationId: Scalars['String']['input'];
|
|
10885
|
-
}>;
|
|
10886
|
-
export type ConversationQuery = {
|
|
10887
|
-
__typename?: 'Query';
|
|
10888
|
-
conversation?: {
|
|
10889
|
-
__typename?: 'ConversationType';
|
|
10890
|
-
id: string;
|
|
10891
|
-
createdAt: any;
|
|
10892
|
-
updatedAt: any;
|
|
10893
|
-
user?: {
|
|
10894
|
-
__typename?: 'UserType';
|
|
10895
|
-
id?: string | null;
|
|
10896
|
-
email?: string | null;
|
|
10897
|
-
firstName?: string | null;
|
|
10898
|
-
lastName?: string | null;
|
|
10899
|
-
picture?: string | null;
|
|
10900
|
-
} | null;
|
|
10901
|
-
messages?: Array<{
|
|
10902
|
-
__typename?: 'ConversationMessageType';
|
|
10903
|
-
id: string;
|
|
10904
|
-
role: AgentConversationMessageRoleChoices;
|
|
10905
|
-
content: any;
|
|
10906
|
-
toolCalls?: any | null;
|
|
10907
|
-
toolResults?: any | null;
|
|
10908
|
-
createdAt: any;
|
|
10909
|
-
} | null> | null;
|
|
10910
|
-
} | null;
|
|
10911
|
-
};
|
|
10912
|
-
export type ConversationHistoryQueryVariables = Exact<{
|
|
10913
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
10914
|
-
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
10915
|
-
}>;
|
|
10916
|
-
export type ConversationHistoryQuery = {
|
|
10917
|
-
__typename?: 'Query';
|
|
10918
|
-
conversationHistory?: {
|
|
10919
|
-
__typename?: 'ConversationHistoryType';
|
|
10920
|
-
totalCount?: number | null;
|
|
10921
|
-
conversations?: Array<{
|
|
10922
|
-
__typename?: 'ConversationType';
|
|
10923
|
-
id: string;
|
|
10924
|
-
createdAt: any;
|
|
10925
|
-
updatedAt: any;
|
|
10926
|
-
user?: {
|
|
10927
|
-
__typename?: 'UserType';
|
|
10928
|
-
id?: string | null;
|
|
10929
|
-
email?: string | null;
|
|
10930
|
-
firstName?: string | null;
|
|
10931
|
-
lastName?: string | null;
|
|
10932
|
-
picture?: string | null;
|
|
10933
|
-
} | null;
|
|
10934
|
-
messages?: Array<{
|
|
10935
|
-
__typename?: 'ConversationMessageType';
|
|
10936
|
-
id: string;
|
|
10937
|
-
role: AgentConversationMessageRoleChoices;
|
|
10938
|
-
content: any;
|
|
10939
|
-
toolCalls?: any | null;
|
|
10940
|
-
toolResults?: any | null;
|
|
10941
|
-
createdAt: any;
|
|
10942
|
-
} | null> | null;
|
|
10943
|
-
} | null> | null;
|
|
10944
|
-
} | null;
|
|
10945
|
-
};
|
|
10946
10698
|
export type CurrentAccountQueryVariables = Exact<{
|
|
10947
10699
|
[key: string]: never;
|
|
10948
10700
|
}>;
|
|
@@ -11337,6 +11089,7 @@ export type RecentHistoryQuery = {
|
|
|
11337
11089
|
ownedByUser?: boolean | null;
|
|
11338
11090
|
isProspect?: boolean | null;
|
|
11339
11091
|
purchaseMetalConfidence?: number | null;
|
|
11092
|
+
lastContactedAt?: any | null;
|
|
11340
11093
|
tags?: Array<{
|
|
11341
11094
|
__typename?: 'TagObject';
|
|
11342
11095
|
id?: string | null;
|
|
@@ -12488,89 +12241,6 @@ export declare function useAddSegmentToCampaignMutation(baseOptions?: Apollo.Mut
|
|
|
12488
12241
|
export type AddSegmentToCampaignMutationHookResult = ReturnType<typeof useAddSegmentToCampaignMutation>;
|
|
12489
12242
|
export type AddSegmentToCampaignMutationResult = Apollo.MutationResult<AddSegmentToCampaignMutation>;
|
|
12490
12243
|
export type AddSegmentToCampaignMutationOptions = Apollo.BaseMutationOptions<AddSegmentToCampaignMutation, AddSegmentToCampaignMutationVariables>;
|
|
12491
|
-
export declare const AiAgentChatDocument: Apollo.DocumentNode;
|
|
12492
|
-
export type AiAgentChatMutationFn = Apollo.MutationFunction<AiAgentChatMutation, AiAgentChatMutationVariables>;
|
|
12493
|
-
/**
|
|
12494
|
-
* __useAiAgentChatMutation__
|
|
12495
|
-
*
|
|
12496
|
-
* To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
|
|
12497
|
-
* When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
|
|
12498
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
12499
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
12500
|
-
*
|
|
12501
|
-
* @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;
|
|
12502
|
-
*
|
|
12503
|
-
* @example
|
|
12504
|
-
* const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
|
|
12505
|
-
* variables: {
|
|
12506
|
-
* conversationId: // value for 'conversationId'
|
|
12507
|
-
* enableTools: // value for 'enableTools'
|
|
12508
|
-
* message: // value for 'message'
|
|
12509
|
-
* },
|
|
12510
|
-
* });
|
|
12511
|
-
*/
|
|
12512
|
-
export declare function useAiAgentChatMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentChatMutation, AiAgentChatMutationVariables>): Apollo.MutationTuple<AiAgentChatMutation, Exact<{
|
|
12513
|
-
conversationId?: InputMaybe<Scalars["String"]["input"]>;
|
|
12514
|
-
enableTools?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
12515
|
-
message: Scalars["String"]["input"];
|
|
12516
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12517
|
-
export type AiAgentChatMutationHookResult = ReturnType<typeof useAiAgentChatMutation>;
|
|
12518
|
-
export type AiAgentChatMutationResult = Apollo.MutationResult<AiAgentChatMutation>;
|
|
12519
|
-
export type AiAgentChatMutationOptions = Apollo.BaseMutationOptions<AiAgentChatMutation, AiAgentChatMutationVariables>;
|
|
12520
|
-
export declare const AiAgentContinueDocument: Apollo.DocumentNode;
|
|
12521
|
-
export type AiAgentContinueMutationFn = Apollo.MutationFunction<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
|
|
12522
|
-
/**
|
|
12523
|
-
* __useAiAgentContinueMutation__
|
|
12524
|
-
*
|
|
12525
|
-
* To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
|
|
12526
|
-
* When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
|
|
12527
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
12528
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
12529
|
-
*
|
|
12530
|
-
* @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;
|
|
12531
|
-
*
|
|
12532
|
-
* @example
|
|
12533
|
-
* const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
|
|
12534
|
-
* variables: {
|
|
12535
|
-
* conversationId: // value for 'conversationId'
|
|
12536
|
-
* toolResults: // value for 'toolResults'
|
|
12537
|
-
* },
|
|
12538
|
-
* });
|
|
12539
|
-
*/
|
|
12540
|
-
export declare function useAiAgentContinueMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>): Apollo.MutationTuple<AiAgentContinueMutation, Exact<{
|
|
12541
|
-
conversationId: Scalars["String"]["input"];
|
|
12542
|
-
toolResults: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
|
|
12543
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12544
|
-
export type AiAgentContinueMutationHookResult = ReturnType<typeof useAiAgentContinueMutation>;
|
|
12545
|
-
export type AiAgentContinueMutationResult = Apollo.MutationResult<AiAgentContinueMutation>;
|
|
12546
|
-
export type AiAgentContinueMutationOptions = Apollo.BaseMutationOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
|
|
12547
|
-
export declare const AiAgentExecuteDocument: Apollo.DocumentNode;
|
|
12548
|
-
export type AiAgentExecuteMutationFn = Apollo.MutationFunction<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
|
|
12549
|
-
/**
|
|
12550
|
-
* __useAiAgentExecuteMutation__
|
|
12551
|
-
*
|
|
12552
|
-
* To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
|
|
12553
|
-
* When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
|
|
12554
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
12555
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
12556
|
-
*
|
|
12557
|
-
* @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;
|
|
12558
|
-
*
|
|
12559
|
-
* @example
|
|
12560
|
-
* const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
|
|
12561
|
-
* variables: {
|
|
12562
|
-
* conversationId: // value for 'conversationId'
|
|
12563
|
-
* toolCalls: // value for 'toolCalls'
|
|
12564
|
-
* },
|
|
12565
|
-
* });
|
|
12566
|
-
*/
|
|
12567
|
-
export declare function useAiAgentExecuteMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>): Apollo.MutationTuple<AiAgentExecuteMutation, Exact<{
|
|
12568
|
-
conversationId: Scalars["String"]["input"];
|
|
12569
|
-
toolCalls: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
|
|
12570
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
12571
|
-
export type AiAgentExecuteMutationHookResult = ReturnType<typeof useAiAgentExecuteMutation>;
|
|
12572
|
-
export type AiAgentExecuteMutationResult = Apollo.MutationResult<AiAgentExecuteMutation>;
|
|
12573
|
-
export type AiAgentExecuteMutationOptions = Apollo.BaseMutationOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
|
|
12574
12244
|
export declare const CancelCampaignDocument: Apollo.DocumentNode;
|
|
12575
12245
|
export type CancelCampaignMutationFn = Apollo.MutationFunction<CancelCampaignMutation, CancelCampaignMutationVariables>;
|
|
12576
12246
|
/**
|
|
@@ -13070,31 +12740,6 @@ export declare function useDeleteContactMutation(baseOptions?: Apollo.MutationHo
|
|
|
13070
12740
|
export type DeleteContactMutationHookResult = ReturnType<typeof useDeleteContactMutation>;
|
|
13071
12741
|
export type DeleteContactMutationResult = Apollo.MutationResult<DeleteContactMutation>;
|
|
13072
12742
|
export type DeleteContactMutationOptions = Apollo.BaseMutationOptions<DeleteContactMutation, DeleteContactMutationVariables>;
|
|
13073
|
-
export declare const DeleteConversationDocument: Apollo.DocumentNode;
|
|
13074
|
-
export type DeleteConversationMutationFn = Apollo.MutationFunction<DeleteConversationMutation, DeleteConversationMutationVariables>;
|
|
13075
|
-
/**
|
|
13076
|
-
* __useDeleteConversationMutation__
|
|
13077
|
-
*
|
|
13078
|
-
* To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
|
|
13079
|
-
* When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
|
|
13080
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
13081
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
13082
|
-
*
|
|
13083
|
-
* @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;
|
|
13084
|
-
*
|
|
13085
|
-
* @example
|
|
13086
|
-
* const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
|
|
13087
|
-
* variables: {
|
|
13088
|
-
* conversationId: // value for 'conversationId'
|
|
13089
|
-
* },
|
|
13090
|
-
* });
|
|
13091
|
-
*/
|
|
13092
|
-
export declare function useDeleteConversationMutation(baseOptions?: Apollo.MutationHookOptions<DeleteConversationMutation, DeleteConversationMutationVariables>): Apollo.MutationTuple<DeleteConversationMutation, Exact<{
|
|
13093
|
-
conversationId: Scalars["String"]["input"];
|
|
13094
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
13095
|
-
export type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;
|
|
13096
|
-
export type DeleteConversationMutationResult = Apollo.MutationResult<DeleteConversationMutation>;
|
|
13097
|
-
export type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<DeleteConversationMutation, DeleteConversationMutationVariables>;
|
|
13098
12743
|
export declare const DeleteEmailTemplateDocument: Apollo.DocumentNode;
|
|
13099
12744
|
export type DeleteEmailTemplateMutationFn = Apollo.MutationFunction<DeleteEmailTemplateMutation, DeleteEmailTemplateMutationVariables>;
|
|
13100
12745
|
/**
|
|
@@ -13547,14 +13192,14 @@ export type RemoveContactsFromCampaignMutationFn = Apollo.MutationFunction<Remov
|
|
|
13547
13192
|
* variables: {
|
|
13548
13193
|
* campaignId: // value for 'campaignId'
|
|
13549
13194
|
* contactIds: // value for 'contactIds'
|
|
13550
|
-
*
|
|
13195
|
+
* customContactIds: // value for 'customContactIds'
|
|
13551
13196
|
* },
|
|
13552
13197
|
* });
|
|
13553
13198
|
*/
|
|
13554
13199
|
export declare function useRemoveContactsFromCampaignMutation(baseOptions?: Apollo.MutationHookOptions<RemoveContactsFromCampaignMutation, RemoveContactsFromCampaignMutationVariables>): Apollo.MutationTuple<RemoveContactsFromCampaignMutation, Exact<{
|
|
13555
13200
|
campaignId: Scalars["ID"]["input"];
|
|
13556
13201
|
contactIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
13557
|
-
|
|
13202
|
+
customContactIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
|
|
13558
13203
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
13559
13204
|
export type RemoveContactsFromCampaignMutationHookResult = ReturnType<typeof useRemoveContactsFromCampaignMutation>;
|
|
13560
13205
|
export type RemoveContactsFromCampaignMutationResult = Apollo.MutationResult<RemoveContactsFromCampaignMutation>;
|
|
@@ -14601,6 +14246,8 @@ export declare const CampaignContactsDocument: Apollo.DocumentNode;
|
|
|
14601
14246
|
* const { data, loading, error } = useCampaignContactsQuery({
|
|
14602
14247
|
* variables: {
|
|
14603
14248
|
* campaignUuid: // value for 'campaignUuid'
|
|
14249
|
+
* page: // value for 'page'
|
|
14250
|
+
* pageSize: // value for 'pageSize'
|
|
14604
14251
|
* },
|
|
14605
14252
|
* });
|
|
14606
14253
|
*/
|
|
@@ -14611,12 +14258,18 @@ export declare function useCampaignContactsQuery(baseOptions: Apollo.QueryHookOp
|
|
|
14611
14258
|
skip: boolean;
|
|
14612
14259
|
})): Apollo.QueryResult<CampaignContactsQuery, Exact<{
|
|
14613
14260
|
campaignUuid: Scalars["ID"]["input"];
|
|
14261
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14262
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14614
14263
|
}>>;
|
|
14615
14264
|
export declare function useCampaignContactsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CampaignContactsQuery, CampaignContactsQueryVariables>): Apollo.LazyQueryResultTuple<CampaignContactsQuery, Exact<{
|
|
14616
14265
|
campaignUuid: Scalars["ID"]["input"];
|
|
14266
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14267
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14617
14268
|
}>>;
|
|
14618
14269
|
export declare function useCampaignContactsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CampaignContactsQuery, CampaignContactsQueryVariables>): Apollo.UseSuspenseQueryResult<CampaignContactsQuery | undefined, Exact<{
|
|
14619
14270
|
campaignUuid: Scalars["ID"]["input"];
|
|
14271
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14272
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
14620
14273
|
}>>;
|
|
14621
14274
|
export type CampaignContactsQueryHookResult = ReturnType<typeof useCampaignContactsQuery>;
|
|
14622
14275
|
export type CampaignContactsLazyQueryHookResult = ReturnType<typeof useCampaignContactsLazyQuery>;
|
|
@@ -14981,75 +14634,6 @@ export type ContactsInSegmentQueryHookResult = ReturnType<typeof useContactsInSe
|
|
|
14981
14634
|
export type ContactsInSegmentLazyQueryHookResult = ReturnType<typeof useContactsInSegmentLazyQuery>;
|
|
14982
14635
|
export type ContactsInSegmentSuspenseQueryHookResult = ReturnType<typeof useContactsInSegmentSuspenseQuery>;
|
|
14983
14636
|
export type ContactsInSegmentQueryResult = Apollo.QueryResult<ContactsInSegmentQuery, ContactsInSegmentQueryVariables>;
|
|
14984
|
-
export declare const ConversationDocument: Apollo.DocumentNode;
|
|
14985
|
-
/**
|
|
14986
|
-
* __useConversationQuery__
|
|
14987
|
-
*
|
|
14988
|
-
* To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
|
|
14989
|
-
* When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
14990
|
-
* you can use to render your UI.
|
|
14991
|
-
*
|
|
14992
|
-
* @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;
|
|
14993
|
-
*
|
|
14994
|
-
* @example
|
|
14995
|
-
* const { data, loading, error } = useConversationQuery({
|
|
14996
|
-
* variables: {
|
|
14997
|
-
* conversationId: // value for 'conversationId'
|
|
14998
|
-
* },
|
|
14999
|
-
* });
|
|
15000
|
-
*/
|
|
15001
|
-
export declare function useConversationQuery(baseOptions: Apollo.QueryHookOptions<ConversationQuery, ConversationQueryVariables> & ({
|
|
15002
|
-
variables: ConversationQueryVariables;
|
|
15003
|
-
skip?: boolean;
|
|
15004
|
-
} | {
|
|
15005
|
-
skip: boolean;
|
|
15006
|
-
})): Apollo.QueryResult<ConversationQuery, Exact<{
|
|
15007
|
-
conversationId: Scalars["String"]["input"];
|
|
15008
|
-
}>>;
|
|
15009
|
-
export declare function useConversationLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.LazyQueryResultTuple<ConversationQuery, Exact<{
|
|
15010
|
-
conversationId: Scalars["String"]["input"];
|
|
15011
|
-
}>>;
|
|
15012
|
-
export declare function useConversationSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationQuery | undefined, Exact<{
|
|
15013
|
-
conversationId: Scalars["String"]["input"];
|
|
15014
|
-
}>>;
|
|
15015
|
-
export type ConversationQueryHookResult = ReturnType<typeof useConversationQuery>;
|
|
15016
|
-
export type ConversationLazyQueryHookResult = ReturnType<typeof useConversationLazyQuery>;
|
|
15017
|
-
export type ConversationSuspenseQueryHookResult = ReturnType<typeof useConversationSuspenseQuery>;
|
|
15018
|
-
export type ConversationQueryResult = Apollo.QueryResult<ConversationQuery, ConversationQueryVariables>;
|
|
15019
|
-
export declare const ConversationHistoryDocument: Apollo.DocumentNode;
|
|
15020
|
-
/**
|
|
15021
|
-
* __useConversationHistoryQuery__
|
|
15022
|
-
*
|
|
15023
|
-
* To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
|
|
15024
|
-
* When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
15025
|
-
* you can use to render your UI.
|
|
15026
|
-
*
|
|
15027
|
-
* @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;
|
|
15028
|
-
*
|
|
15029
|
-
* @example
|
|
15030
|
-
* const { data, loading, error } = useConversationHistoryQuery({
|
|
15031
|
-
* variables: {
|
|
15032
|
-
* limit: // value for 'limit'
|
|
15033
|
-
* offset: // value for 'offset'
|
|
15034
|
-
* },
|
|
15035
|
-
* });
|
|
15036
|
-
*/
|
|
15037
|
-
export declare function useConversationHistoryQuery(baseOptions?: Apollo.QueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.QueryResult<ConversationHistoryQuery, Exact<{
|
|
15038
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15039
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15040
|
-
}>>;
|
|
15041
|
-
export declare function useConversationHistoryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.LazyQueryResultTuple<ConversationHistoryQuery, Exact<{
|
|
15042
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15043
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15044
|
-
}>>;
|
|
15045
|
-
export declare function useConversationHistorySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationHistoryQuery | undefined, Exact<{
|
|
15046
|
-
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15047
|
-
offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
15048
|
-
}>>;
|
|
15049
|
-
export type ConversationHistoryQueryHookResult = ReturnType<typeof useConversationHistoryQuery>;
|
|
15050
|
-
export type ConversationHistoryLazyQueryHookResult = ReturnType<typeof useConversationHistoryLazyQuery>;
|
|
15051
|
-
export type ConversationHistorySuspenseQueryHookResult = ReturnType<typeof useConversationHistorySuspenseQuery>;
|
|
15052
|
-
export type ConversationHistoryQueryResult = Apollo.QueryResult<ConversationHistoryQuery, ConversationHistoryQueryVariables>;
|
|
15053
14637
|
export declare const CurrentAccountDocument: Apollo.DocumentNode;
|
|
15054
14638
|
/**
|
|
15055
14639
|
* __useCurrentAccountQuery__
|