@bcrumbs.net/inbox 0.0.49 → 0.0.51
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/index.cjs.js +516 -395
- package/index.esm.js +518 -397
- package/package.json +3 -3
- package/src/app/ai/components/sources/TextEditorSkeleton.d.ts +3 -0
- package/src/app/ai/components/sources/TextSnippetEditor.d.ts +9 -0
- package/src/app/ai/components/sources/TextTable.d.ts +15 -0
- package/src/app/ai/components/sources/index.d.ts +2 -0
- package/src/app/ai/hooks/useCrumbyRatingAi.d.ts +17 -0
- package/src/app/ai/hooks/useTextColumns.d.ts +17 -0
- package/src/app/ai/pages/TextPage.d.ts +3 -0
- package/src/app/ai/types/index.d.ts +10 -0
- package/src/app/contact/config/contactForm.d.ts +21 -0
- package/src/app/managemnet/components/CreateApiKey.d.ts +4 -1
- package/src/assets/locales/translations.d.ts +41 -0
- package/src/config/azure.d.ts +4 -0
- package/src/config/constants.d.ts +1 -1
- package/src/graphql.autogenerated.d.ts +733 -423
|
@@ -154,10 +154,34 @@ export type AgentCreateInput = {
|
|
|
154
154
|
name: Scalars['String']['input'];
|
|
155
155
|
/** The surname of the agent. */
|
|
156
156
|
surname?: InputMaybe<Scalars['String']['input']>;
|
|
157
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* The user id of the agent. It is the same as the user id of the invited user to the workspace.
|
|
159
|
+
* This field will link the agent to the invited user to the workspace.
|
|
160
|
+
*/
|
|
158
161
|
userId: Scalars['String']['input'];
|
|
159
162
|
workspaceId: Scalars['Int']['input'];
|
|
160
163
|
};
|
|
164
|
+
/**
|
|
165
|
+
* AgentCreateWithApiKeyInput creates an agent and an API key linked to that agent in one operation.
|
|
166
|
+
* The raw key is returned only in this response (same as genApiKey).
|
|
167
|
+
*/
|
|
168
|
+
export type AgentCreateWithApiKeyInput = {
|
|
169
|
+
/** Optional. Defaults to a label that includes the agent name and surname when provided (e.g. "API key · Jane Doe"). */
|
|
170
|
+
apiKeyLabel?: InputMaybe<Scalars['String']['input']>;
|
|
171
|
+
/**
|
|
172
|
+
* Optional. If omitted, stored as an empty string (API-key-only / non-login agents).
|
|
173
|
+
* If this field is provided and the email is invited to the workspace, the agent will be linked to the invited user automatically after accessing the workspace.
|
|
174
|
+
*/
|
|
175
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
176
|
+
name: Scalars['String']['input'];
|
|
177
|
+
surname?: InputMaybe<Scalars['String']['input']>;
|
|
178
|
+
/**
|
|
179
|
+
* Optional. System user id when the agent maps to an invited workspace user.
|
|
180
|
+
* If you want to create an agent for an API-key-only agent, omit this field.
|
|
181
|
+
*/
|
|
182
|
+
userId?: InputMaybe<Scalars['String']['input']>;
|
|
183
|
+
workspaceId: Scalars['Int']['input'];
|
|
184
|
+
};
|
|
161
185
|
/** AgentInput is an input of the agent query. */
|
|
162
186
|
export type AgentInput = {
|
|
163
187
|
id: Scalars['ID']['input'];
|
|
@@ -178,6 +202,8 @@ export type AgentReport = {
|
|
|
178
202
|
agentId: Scalars['ID']['output'];
|
|
179
203
|
/** The number of messages the agent has sent. */
|
|
180
204
|
agentMessagesCount: Scalars['Int']['output'];
|
|
205
|
+
/** The average rating for rated conversations. */
|
|
206
|
+
averageRating: Scalars['Float']['output'];
|
|
181
207
|
/** The average time to complete the conversation. It is the time between the first message from the client until the conversation is closed. */
|
|
182
208
|
avgConversationTime: Scalars['Int']['output'];
|
|
183
209
|
/** The average time to first response. It is the time between the first message from the client and the first message from the agent. */
|
|
@@ -188,11 +214,21 @@ export type AgentReport = {
|
|
|
188
214
|
conversationCount: Scalars['Int']['output'];
|
|
189
215
|
/** The date and time when the agent report was created. */
|
|
190
216
|
createdAt: Scalars['DateTime']['output'];
|
|
217
|
+
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
218
|
+
csat: Scalars['Float']['output'];
|
|
191
219
|
id: Scalars['ID']['output'];
|
|
192
220
|
/** The number of new client conversations in the hour. */
|
|
193
221
|
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
222
|
+
/** The percentage of conversations that received a rating. */
|
|
223
|
+
responseRate: Scalars['Float']['output'];
|
|
194
224
|
workspaceId: Scalars['Int']['output'];
|
|
195
225
|
};
|
|
226
|
+
/** Payload returned when an agent is created together with a linked API key. */
|
|
227
|
+
export type AgentWithApiKeyPayload = {
|
|
228
|
+
__typename?: 'AgentWithApiKeyPayload';
|
|
229
|
+
agent: Agent;
|
|
230
|
+
apiKey: ApiKey;
|
|
231
|
+
};
|
|
196
232
|
/** AgentsInput is an input of the agents query. */
|
|
197
233
|
export type AgentsInput = {
|
|
198
234
|
/** The conversation id. Used to filter the agents by the conversation id. */
|
|
@@ -229,11 +265,12 @@ export type AgentsReportPayload = {
|
|
|
229
265
|
/** ApiKey is a key that can be used to authenticate the requests to the API. */
|
|
230
266
|
export type ApiKey = {
|
|
231
267
|
__typename?: 'ApiKey';
|
|
268
|
+
agentId?: Maybe<Scalars['ID']['output']>;
|
|
232
269
|
/** The date and time when the API key was created. */
|
|
233
270
|
createdAt: Scalars['DateTime']['output'];
|
|
234
271
|
id: Scalars['ID']['output'];
|
|
235
272
|
/** The key of the API key. */
|
|
236
|
-
key
|
|
273
|
+
key?: Maybe<Scalars['String']['output']>;
|
|
237
274
|
/** The label of the API key. */
|
|
238
275
|
label: Scalars['String']['output'];
|
|
239
276
|
workspaceId: Scalars['Int']['output'];
|
|
@@ -245,6 +282,7 @@ export type ApiKeyDeleteInput = {
|
|
|
245
282
|
};
|
|
246
283
|
/** ApiKeyGenInput is an input of the api key generate mutation. */
|
|
247
284
|
export type ApiKeyGenInput = {
|
|
285
|
+
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
248
286
|
/** The label of the API key. */
|
|
249
287
|
label: Scalars['String']['input'];
|
|
250
288
|
workspaceId: Scalars['Int']['input'];
|
|
@@ -934,6 +972,17 @@ export type ConvAssignment = {
|
|
|
934
972
|
/** Whether the conversation is assigned to an AI. */
|
|
935
973
|
isAi?: Maybe<Scalars['Boolean']['output']>;
|
|
936
974
|
};
|
|
975
|
+
/** ConvAssistInput is the input for AI auto-complete and summary. */
|
|
976
|
+
export type ConvAssistInput = {
|
|
977
|
+
convId: Scalars['ID']['input'];
|
|
978
|
+
workspaceId: Scalars['Int']['input'];
|
|
979
|
+
};
|
|
980
|
+
/** ConvAssistPayload is the response from AI assist endpoints. */
|
|
981
|
+
export type ConvAssistPayload = {
|
|
982
|
+
__typename?: 'ConvAssistPayload';
|
|
983
|
+
text: Scalars['String']['output'];
|
|
984
|
+
usage?: Maybe<Scalars['JSON']['output']>;
|
|
985
|
+
};
|
|
937
986
|
/** ConvEndInput is an input of the conversation end mutation. */
|
|
938
987
|
export type ConvEndInput = {
|
|
939
988
|
/** The id of the conversation. */
|
|
@@ -942,6 +991,20 @@ export type ConvEndInput = {
|
|
|
942
991
|
integrationId: Scalars['ID']['input'];
|
|
943
992
|
workspaceId: Scalars['Int']['input'];
|
|
944
993
|
};
|
|
994
|
+
/** ConvFeedbackPatchInput is an input of the conversation feedback patch mutation. */
|
|
995
|
+
export type ConvFeedbackPatchInput = {
|
|
996
|
+
/** Optional feedback comment. */
|
|
997
|
+
comment?: InputMaybe<Scalars['String']['input']>;
|
|
998
|
+
/** The id of the conversation. */
|
|
999
|
+
convId: Scalars['ID']['input'];
|
|
1000
|
+
/** Rating value between 1 and 5. */
|
|
1001
|
+
rating?: InputMaybe<Scalars['Int']['input']>;
|
|
1002
|
+
/** Feedback reason. */
|
|
1003
|
+
reason?: InputMaybe<FeedbackReason>;
|
|
1004
|
+
/** Optional sentiment label. */
|
|
1005
|
+
sentiment?: InputMaybe<Scalars['String']['input']>;
|
|
1006
|
+
workspaceId: Scalars['Int']['input'];
|
|
1007
|
+
};
|
|
945
1008
|
/** ConvHandoverInput is an input of the conversation handover mutation. */
|
|
946
1009
|
export type ConvHandoverInput = {
|
|
947
1010
|
/** The id of the conversation. */
|
|
@@ -1007,6 +1070,10 @@ export type ConvStartInput = {
|
|
|
1007
1070
|
* ]
|
|
1008
1071
|
* }
|
|
1009
1072
|
* ]
|
|
1073
|
+
*
|
|
1074
|
+
* In string values anywhere inside components you may use placeholders: {{fieldName}}
|
|
1075
|
+
* where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
|
|
1076
|
+
* They are replaced with that client's data when the message is sent (empty string if the property is missing).
|
|
1010
1077
|
*/
|
|
1011
1078
|
templateComponents?: InputMaybe<Scalars['JSON']['input']>;
|
|
1012
1079
|
/** The language of the template. */
|
|
@@ -1056,6 +1123,8 @@ export type Conversation = {
|
|
|
1056
1123
|
endedBy?: Maybe<Scalars['String']['output']>;
|
|
1057
1124
|
/** The external conversation id of the conversation. */
|
|
1058
1125
|
externalConversationId?: Maybe<Scalars['String']['output']>;
|
|
1126
|
+
/** The feedback attached to the conversation. */
|
|
1127
|
+
feedback?: Maybe<Feedback>;
|
|
1059
1128
|
/** The id of the conversation. */
|
|
1060
1129
|
id: Scalars['ID']['output'];
|
|
1061
1130
|
/** The integration/channel id of the conversation. */
|
|
@@ -1092,6 +1161,8 @@ export type ConversationReport = {
|
|
|
1092
1161
|
__typename?: 'ConversationReport';
|
|
1093
1162
|
/** The number of messages sent by the agents in the hour. */
|
|
1094
1163
|
agentMessagesCount: Scalars['Int']['output'];
|
|
1164
|
+
/** The average rating for rated conversations. */
|
|
1165
|
+
averageRating: Scalars['Float']['output'];
|
|
1095
1166
|
/** The average time of the conversation in the hour. */
|
|
1096
1167
|
avgConversationTime: Scalars['Int']['output'];
|
|
1097
1168
|
/** The average time to first response in the hour. */
|
|
@@ -1102,6 +1173,8 @@ export type ConversationReport = {
|
|
|
1102
1173
|
conversationCount: Scalars['Int']['output'];
|
|
1103
1174
|
/** The date and time when the conversation report was created. */
|
|
1104
1175
|
createdAt: Scalars['DateTime']['output'];
|
|
1176
|
+
/** The CSAT percentage (4 and 5 ratings over rated conversations). */
|
|
1177
|
+
csat: Scalars['Float']['output'];
|
|
1105
1178
|
/** The hour of the conversation report. */
|
|
1106
1179
|
hour: Scalars['Int']['output'];
|
|
1107
1180
|
/** The id of the conversation report. */
|
|
@@ -1110,6 +1183,8 @@ export type ConversationReport = {
|
|
|
1110
1183
|
integrationId: Scalars['ID']['output'];
|
|
1111
1184
|
/** The number of new client conversations in the hour. */
|
|
1112
1185
|
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
1186
|
+
/** The percentage of conversations that received a rating. */
|
|
1187
|
+
responseRate: Scalars['Float']['output'];
|
|
1113
1188
|
workspaceId: Scalars['Int']['output'];
|
|
1114
1189
|
};
|
|
1115
1190
|
/**
|
|
@@ -1192,6 +1267,26 @@ export declare const ErrorCode: {
|
|
|
1192
1267
|
readonly UNAUTHENTICATED: "UNAUTHENTICATED";
|
|
1193
1268
|
};
|
|
1194
1269
|
export type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
|
|
1270
|
+
/** Feedback is a type of conversation feedback. */
|
|
1271
|
+
export type Feedback = {
|
|
1272
|
+
__typename?: 'Feedback';
|
|
1273
|
+
comment?: Maybe<Scalars['String']['output']>;
|
|
1274
|
+
rating?: Maybe<Scalars['Int']['output']>;
|
|
1275
|
+
reason?: Maybe<FeedbackReason>;
|
|
1276
|
+
sentiment?: Maybe<Scalars['String']['output']>;
|
|
1277
|
+
};
|
|
1278
|
+
/** FeedbackReason is the reason behind the feedback rating. */
|
|
1279
|
+
export declare const FeedbackReason: {
|
|
1280
|
+
readonly BUG: "bug";
|
|
1281
|
+
readonly FAST_RESPONSE: "fast_response";
|
|
1282
|
+
readonly FRIENDLY: "friendly";
|
|
1283
|
+
readonly NOT_RESOLVED: "not_resolved";
|
|
1284
|
+
readonly OTHER: "other";
|
|
1285
|
+
readonly RESOLVED: "resolved";
|
|
1286
|
+
readonly SLOW_RESPONSE: "slow_response";
|
|
1287
|
+
readonly UX_ISSUE: "ux_issue";
|
|
1288
|
+
};
|
|
1289
|
+
export type FeedbackReason = typeof FeedbackReason[keyof typeof FeedbackReason];
|
|
1195
1290
|
export type HelloMessage = {
|
|
1196
1291
|
__typename?: 'HelloMessage';
|
|
1197
1292
|
message: Scalars['String']['output'];
|
|
@@ -1478,7 +1573,11 @@ export type MessageDto = {
|
|
|
1478
1573
|
};
|
|
1479
1574
|
/** MessageInput is an input of the message mutation. */
|
|
1480
1575
|
export type MessageInput = {
|
|
1481
|
-
/**
|
|
1576
|
+
/**
|
|
1577
|
+
* The content of the message.
|
|
1578
|
+
* For template messages (type template), content is JSON with name, language, and components; you may use
|
|
1579
|
+
* {{fieldName}} in string fields under components (same fields as startConv/sendNotification templateComponents).
|
|
1580
|
+
*/
|
|
1482
1581
|
content: Scalars['String']['input'];
|
|
1483
1582
|
/** The id of the conversation. */
|
|
1484
1583
|
convId: Scalars['ID']['input'];
|
|
@@ -1597,6 +1696,8 @@ export type MessagesInput = {
|
|
|
1597
1696
|
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
1598
1697
|
/** The client id of the conversation. Used to filter the messages by the client id. */
|
|
1599
1698
|
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
1699
|
+
/** The conversation id. Used to filter the messages by the conversation id. */
|
|
1700
|
+
convId?: InputMaybe<Scalars['ID']['input']>;
|
|
1600
1701
|
/** The end date of the messages. */
|
|
1601
1702
|
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1602
1703
|
/** The start date of the messages. */
|
|
@@ -1652,6 +1753,11 @@ export type Mutation = {
|
|
|
1652
1753
|
cancelBroadcast: Broadcast;
|
|
1653
1754
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
1654
1755
|
createAgent: Agent;
|
|
1756
|
+
/**
|
|
1757
|
+
* Create an agent and an API key linked to that agent. You should have the MANAGE_WORKSPACE permission.
|
|
1758
|
+
* The API key is scoped to the new agent (Agent+); the secret key is only returned in this response.
|
|
1759
|
+
*/
|
|
1760
|
+
createAgentWithApiKey: AgentWithApiKeyPayload;
|
|
1655
1761
|
createAi: Ai;
|
|
1656
1762
|
/** Create a broadcast. You should have the MANAGE_CONVS permission to create a broadcast. */
|
|
1657
1763
|
createBroadcast: Broadcast;
|
|
@@ -1701,8 +1807,11 @@ export type Mutation = {
|
|
|
1701
1807
|
patchClient: Client;
|
|
1702
1808
|
/** Patch a conversation. If you don't have the MANAGE_CONVS permission, you can only patch the conversation you are assigned to. */
|
|
1703
1809
|
patchConv: Conversation;
|
|
1810
|
+
/** Patch conversation feedback. Requires MANAGE_WORKSPACE permission. */
|
|
1811
|
+
patchConvFeedback: Conversation;
|
|
1704
1812
|
/** Patch an integration. You should have the MANAGE_WORKSPACE permission to patch an integration. */
|
|
1705
1813
|
patchIntegration: Integration;
|
|
1814
|
+
patchSource: Source;
|
|
1706
1815
|
/** Update workspace settings. You should have the MANAGE_WORKSPACE permission to update workspace settings. */
|
|
1707
1816
|
patchWorkspaceSettings: WorkspaceSettings;
|
|
1708
1817
|
/** Put a client (Update a client if it exists, create a new one if it doesn't). You should have the MANAGE_CLIENTS permission to put a client. */
|
|
@@ -1771,6 +1880,9 @@ export type MutationCancelBroadcastArgs = {
|
|
|
1771
1880
|
export type MutationCreateAgentArgs = {
|
|
1772
1881
|
input: AgentCreateInput;
|
|
1773
1882
|
};
|
|
1883
|
+
export type MutationCreateAgentWithApiKeyArgs = {
|
|
1884
|
+
input: AgentCreateWithApiKeyInput;
|
|
1885
|
+
};
|
|
1774
1886
|
export type MutationCreateAiArgs = {
|
|
1775
1887
|
input: AiCreateInput;
|
|
1776
1888
|
};
|
|
@@ -1855,9 +1967,15 @@ export type MutationPatchClientArgs = {
|
|
|
1855
1967
|
export type MutationPatchConvArgs = {
|
|
1856
1968
|
input: ConvPatchInput;
|
|
1857
1969
|
};
|
|
1970
|
+
export type MutationPatchConvFeedbackArgs = {
|
|
1971
|
+
input: ConvFeedbackPatchInput;
|
|
1972
|
+
};
|
|
1858
1973
|
export type MutationPatchIntegrationArgs = {
|
|
1859
1974
|
input: IntegrationPatchInput;
|
|
1860
1975
|
};
|
|
1976
|
+
export type MutationPatchSourceArgs = {
|
|
1977
|
+
input: SourcePatchInput;
|
|
1978
|
+
};
|
|
1861
1979
|
export type MutationPatchWorkspaceSettingsArgs = {
|
|
1862
1980
|
input: WorkspaceSettingsPatchInput;
|
|
1863
1981
|
};
|
|
@@ -1992,8 +2110,12 @@ export type Query = {
|
|
|
1992
2110
|
clientByPhone: Client;
|
|
1993
2111
|
/** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
|
|
1994
2112
|
clients: ClientsPayload;
|
|
2113
|
+
/** Get an AI suggestion to auto-complete the current draft. */
|
|
2114
|
+
convAutoComplete: ConvAssistPayload;
|
|
1995
2115
|
/** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
|
|
1996
2116
|
convLastMessage?: Maybe<Message>;
|
|
2117
|
+
/** Get an AI summary for conversation messages. */
|
|
2118
|
+
convSummary: ConvAssistPayload;
|
|
1997
2119
|
/** Get the conversations. If you don't have the MANAGE_CONVS permission, it will return only the conversations assigned to you. */
|
|
1998
2120
|
convs: ConvsPayload;
|
|
1999
2121
|
/** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
|
|
@@ -2011,7 +2133,7 @@ export type Query = {
|
|
|
2011
2133
|
*/
|
|
2012
2134
|
isWorkspaceNameAvailable: Scalars['Boolean']['output'];
|
|
2013
2135
|
me: UserRole;
|
|
2014
|
-
/** Get
|
|
2136
|
+
/** Get messages with optional filters. */
|
|
2015
2137
|
messages: MessagesPayload;
|
|
2016
2138
|
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
2017
2139
|
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
@@ -2090,9 +2212,15 @@ export type QueryClientsArgs = {
|
|
|
2090
2212
|
input: ClientsInput;
|
|
2091
2213
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2092
2214
|
};
|
|
2215
|
+
export type QueryConvAutoCompleteArgs = {
|
|
2216
|
+
input: ConvAssistInput;
|
|
2217
|
+
};
|
|
2093
2218
|
export type QueryConvLastMessageArgs = {
|
|
2094
2219
|
input: ConvLastMessageInput;
|
|
2095
2220
|
};
|
|
2221
|
+
export type QueryConvSummaryArgs = {
|
|
2222
|
+
input: ConvAssistInput;
|
|
2223
|
+
};
|
|
2096
2224
|
export type QueryConvsArgs = {
|
|
2097
2225
|
input: ConvsInput;
|
|
2098
2226
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2205,6 +2333,10 @@ export type SendNotificationInput = {
|
|
|
2205
2333
|
* ]
|
|
2206
2334
|
* }
|
|
2207
2335
|
* ]
|
|
2336
|
+
*
|
|
2337
|
+
* In string values anywhere inside components you may use placeholders: {{fieldName}}
|
|
2338
|
+
* where fieldName is one of name, surname, fullName, email, phone, address, code, city, country.
|
|
2339
|
+
* They are replaced with that client's data when the message is sent (empty string if the property is missing).
|
|
2208
2340
|
*/
|
|
2209
2341
|
templateComponents?: InputMaybe<Scalars['JSON']['input']>;
|
|
2210
2342
|
/** The language of the template. (e.g. en, en_US, es_ES, etc.) */
|
|
@@ -2234,6 +2366,10 @@ export type SourceDeleteInput = {
|
|
|
2234
2366
|
id: Scalars['ID']['input'];
|
|
2235
2367
|
workspaceId: Scalars['Int']['input'];
|
|
2236
2368
|
};
|
|
2369
|
+
export type SourcePatchInput = {
|
|
2370
|
+
id: Scalars['ID']['input'];
|
|
2371
|
+
workspaceId: Scalars['Int']['input'];
|
|
2372
|
+
};
|
|
2237
2373
|
export declare const SourceType: {
|
|
2238
2374
|
readonly HTML: "HTML";
|
|
2239
2375
|
readonly JSON: "JSON";
|
|
@@ -2503,6 +2639,17 @@ export declare const WebhookEvent: {
|
|
|
2503
2639
|
readonly ENDING_CONV: "ENDING_CONV";
|
|
2504
2640
|
/** INCOMING_MESSAGE is a special event that will trigger the webhook for incoming messages. */
|
|
2505
2641
|
readonly INCOMING_MESSAGE: "INCOMING_MESSAGE";
|
|
2642
|
+
/** MESSAGE_UPDATED is a special event that will trigger the webhook when a message status changes. */
|
|
2643
|
+
readonly MESSAGE_UPDATED: "MESSAGE_UPDATED";
|
|
2644
|
+
/**
|
|
2645
|
+
* MESSAGE_UPDATED_SMPP is a special event that will trigger the webhook when a message status changes,
|
|
2646
|
+
* but it will be called using HTTP GET with query-string parameters suited for SMS/SMPP gateways.
|
|
2647
|
+
*
|
|
2648
|
+
* Query parameters:
|
|
2649
|
+
* - message_id: the external message id
|
|
2650
|
+
* - status: Whatsapp status mapped to SMPP protocol status
|
|
2651
|
+
*/
|
|
2652
|
+
readonly MESSAGE_UPDATED_SMPP: "MESSAGE_UPDATED_SMPP";
|
|
2506
2653
|
/** NEW_CLIENT is a special event that will trigger the webhook for new clients. */
|
|
2507
2654
|
readonly NEW_CLIENT: "NEW_CLIENT";
|
|
2508
2655
|
/** NEW_CONV is a special event that will trigger the webhook for new conversations. */
|
|
@@ -2609,6 +2756,163 @@ export type WorkspacesPayload = {
|
|
|
2609
2756
|
nodes: Array<Workspace>;
|
|
2610
2757
|
pageInfo: PageInfo;
|
|
2611
2758
|
};
|
|
2759
|
+
export type AiFragment = {
|
|
2760
|
+
__typename?: 'AI';
|
|
2761
|
+
workspaceId: number;
|
|
2762
|
+
id: string;
|
|
2763
|
+
name: string;
|
|
2764
|
+
type: AiType;
|
|
2765
|
+
createdAt: any;
|
|
2766
|
+
deletedAt?: any | null;
|
|
2767
|
+
integrationProperties?: {
|
|
2768
|
+
__typename?: 'IntegrationProperties';
|
|
2769
|
+
model?: string | null;
|
|
2770
|
+
version?: string | null;
|
|
2771
|
+
endpoint?: string | null;
|
|
2772
|
+
} | null;
|
|
2773
|
+
configuration?: {
|
|
2774
|
+
__typename?: 'Configurations';
|
|
2775
|
+
askForName?: boolean | null;
|
|
2776
|
+
askForSurname?: boolean | null;
|
|
2777
|
+
askForEmail?: boolean | null;
|
|
2778
|
+
askForCity?: boolean | null;
|
|
2779
|
+
askForAddress?: boolean | null;
|
|
2780
|
+
handoverEnabled?: boolean | null;
|
|
2781
|
+
clientTagRules?: Array<{
|
|
2782
|
+
__typename?: 'TagRule';
|
|
2783
|
+
tag: string;
|
|
2784
|
+
rule: string;
|
|
2785
|
+
}> | null;
|
|
2786
|
+
convTagRules?: Array<{
|
|
2787
|
+
__typename?: 'TagRule';
|
|
2788
|
+
tag: string;
|
|
2789
|
+
rule: string;
|
|
2790
|
+
}> | null;
|
|
2791
|
+
} | null;
|
|
2792
|
+
};
|
|
2793
|
+
export type AiQueryVariables = Exact<{
|
|
2794
|
+
input: AiInput;
|
|
2795
|
+
}>;
|
|
2796
|
+
export type AiQuery = {
|
|
2797
|
+
__typename?: 'Query';
|
|
2798
|
+
ai: {
|
|
2799
|
+
__typename?: 'AI';
|
|
2800
|
+
workspaceId: number;
|
|
2801
|
+
id: string;
|
|
2802
|
+
name: string;
|
|
2803
|
+
type: AiType;
|
|
2804
|
+
createdAt: any;
|
|
2805
|
+
deletedAt?: any | null;
|
|
2806
|
+
integrationProperties?: {
|
|
2807
|
+
__typename?: 'IntegrationProperties';
|
|
2808
|
+
model?: string | null;
|
|
2809
|
+
version?: string | null;
|
|
2810
|
+
endpoint?: string | null;
|
|
2811
|
+
} | null;
|
|
2812
|
+
configuration?: {
|
|
2813
|
+
__typename?: 'Configurations';
|
|
2814
|
+
askForName?: boolean | null;
|
|
2815
|
+
askForSurname?: boolean | null;
|
|
2816
|
+
askForEmail?: boolean | null;
|
|
2817
|
+
askForCity?: boolean | null;
|
|
2818
|
+
askForAddress?: boolean | null;
|
|
2819
|
+
handoverEnabled?: boolean | null;
|
|
2820
|
+
clientTagRules?: Array<{
|
|
2821
|
+
__typename?: 'TagRule';
|
|
2822
|
+
tag: string;
|
|
2823
|
+
rule: string;
|
|
2824
|
+
}> | null;
|
|
2825
|
+
convTagRules?: Array<{
|
|
2826
|
+
__typename?: 'TagRule';
|
|
2827
|
+
tag: string;
|
|
2828
|
+
rule: string;
|
|
2829
|
+
}> | null;
|
|
2830
|
+
} | null;
|
|
2831
|
+
};
|
|
2832
|
+
};
|
|
2833
|
+
export type AisQueryVariables = Exact<{
|
|
2834
|
+
input: AIsInput;
|
|
2835
|
+
}>;
|
|
2836
|
+
export type AisQuery = {
|
|
2837
|
+
__typename?: 'Query';
|
|
2838
|
+
ais: {
|
|
2839
|
+
__typename?: 'AIsPayload';
|
|
2840
|
+
nodes?: Array<{
|
|
2841
|
+
__typename?: 'AI';
|
|
2842
|
+
workspaceId: number;
|
|
2843
|
+
id: string;
|
|
2844
|
+
name: string;
|
|
2845
|
+
type: AiType;
|
|
2846
|
+
createdAt: any;
|
|
2847
|
+
deletedAt?: any | null;
|
|
2848
|
+
integrationProperties?: {
|
|
2849
|
+
__typename?: 'IntegrationProperties';
|
|
2850
|
+
model?: string | null;
|
|
2851
|
+
version?: string | null;
|
|
2852
|
+
endpoint?: string | null;
|
|
2853
|
+
} | null;
|
|
2854
|
+
configuration?: {
|
|
2855
|
+
__typename?: 'Configurations';
|
|
2856
|
+
askForName?: boolean | null;
|
|
2857
|
+
askForSurname?: boolean | null;
|
|
2858
|
+
askForEmail?: boolean | null;
|
|
2859
|
+
askForCity?: boolean | null;
|
|
2860
|
+
askForAddress?: boolean | null;
|
|
2861
|
+
handoverEnabled?: boolean | null;
|
|
2862
|
+
clientTagRules?: Array<{
|
|
2863
|
+
__typename?: 'TagRule';
|
|
2864
|
+
tag: string;
|
|
2865
|
+
rule: string;
|
|
2866
|
+
}> | null;
|
|
2867
|
+
convTagRules?: Array<{
|
|
2868
|
+
__typename?: 'TagRule';
|
|
2869
|
+
tag: string;
|
|
2870
|
+
rule: string;
|
|
2871
|
+
}> | null;
|
|
2872
|
+
} | null;
|
|
2873
|
+
}> | null;
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
export type CreateAiMutationVariables = Exact<{
|
|
2877
|
+
input: AiCreateInput;
|
|
2878
|
+
}>;
|
|
2879
|
+
export type CreateAiMutation = {
|
|
2880
|
+
__typename?: 'Mutation';
|
|
2881
|
+
createAi: {
|
|
2882
|
+
__typename?: 'AI';
|
|
2883
|
+
workspaceId: number;
|
|
2884
|
+
id: string;
|
|
2885
|
+
name: string;
|
|
2886
|
+
type: AiType;
|
|
2887
|
+
createdAt: any;
|
|
2888
|
+
deletedAt?: any | null;
|
|
2889
|
+
integrationProperties?: {
|
|
2890
|
+
__typename?: 'IntegrationProperties';
|
|
2891
|
+
model?: string | null;
|
|
2892
|
+
version?: string | null;
|
|
2893
|
+
endpoint?: string | null;
|
|
2894
|
+
} | null;
|
|
2895
|
+
configuration?: {
|
|
2896
|
+
__typename?: 'Configurations';
|
|
2897
|
+
askForName?: boolean | null;
|
|
2898
|
+
askForSurname?: boolean | null;
|
|
2899
|
+
askForEmail?: boolean | null;
|
|
2900
|
+
askForCity?: boolean | null;
|
|
2901
|
+
askForAddress?: boolean | null;
|
|
2902
|
+
handoverEnabled?: boolean | null;
|
|
2903
|
+
clientTagRules?: Array<{
|
|
2904
|
+
__typename?: 'TagRule';
|
|
2905
|
+
tag: string;
|
|
2906
|
+
rule: string;
|
|
2907
|
+
}> | null;
|
|
2908
|
+
convTagRules?: Array<{
|
|
2909
|
+
__typename?: 'TagRule';
|
|
2910
|
+
tag: string;
|
|
2911
|
+
rule: string;
|
|
2912
|
+
}> | null;
|
|
2913
|
+
} | null;
|
|
2914
|
+
};
|
|
2915
|
+
};
|
|
2612
2916
|
export type CreateSourceMutationVariables = Exact<{
|
|
2613
2917
|
input: SourceCreateInput;
|
|
2614
2918
|
}>;
|
|
@@ -2624,6 +2928,46 @@ export type CreateSourceMutation = {
|
|
|
2624
2928
|
createdAt: any;
|
|
2625
2929
|
};
|
|
2626
2930
|
};
|
|
2931
|
+
export type DeleteAiMutationVariables = Exact<{
|
|
2932
|
+
input: AiDeleteInput;
|
|
2933
|
+
}>;
|
|
2934
|
+
export type DeleteAiMutation = {
|
|
2935
|
+
__typename?: 'Mutation';
|
|
2936
|
+
deleteAi: {
|
|
2937
|
+
__typename?: 'AI';
|
|
2938
|
+
workspaceId: number;
|
|
2939
|
+
id: string;
|
|
2940
|
+
name: string;
|
|
2941
|
+
type: AiType;
|
|
2942
|
+
createdAt: any;
|
|
2943
|
+
deletedAt?: any | null;
|
|
2944
|
+
integrationProperties?: {
|
|
2945
|
+
__typename?: 'IntegrationProperties';
|
|
2946
|
+
model?: string | null;
|
|
2947
|
+
version?: string | null;
|
|
2948
|
+
endpoint?: string | null;
|
|
2949
|
+
} | null;
|
|
2950
|
+
configuration?: {
|
|
2951
|
+
__typename?: 'Configurations';
|
|
2952
|
+
askForName?: boolean | null;
|
|
2953
|
+
askForSurname?: boolean | null;
|
|
2954
|
+
askForEmail?: boolean | null;
|
|
2955
|
+
askForCity?: boolean | null;
|
|
2956
|
+
askForAddress?: boolean | null;
|
|
2957
|
+
handoverEnabled?: boolean | null;
|
|
2958
|
+
clientTagRules?: Array<{
|
|
2959
|
+
__typename?: 'TagRule';
|
|
2960
|
+
tag: string;
|
|
2961
|
+
rule: string;
|
|
2962
|
+
}> | null;
|
|
2963
|
+
convTagRules?: Array<{
|
|
2964
|
+
__typename?: 'TagRule';
|
|
2965
|
+
tag: string;
|
|
2966
|
+
rule: string;
|
|
2967
|
+
}> | null;
|
|
2968
|
+
} | null;
|
|
2969
|
+
};
|
|
2970
|
+
};
|
|
2627
2971
|
export type DeleteSourceMutationVariables = Exact<{
|
|
2628
2972
|
input: SourceDeleteInput;
|
|
2629
2973
|
}>;
|
|
@@ -2639,25 +2983,80 @@ export type DeleteSourceMutation = {
|
|
|
2639
2983
|
createdAt: any;
|
|
2640
2984
|
};
|
|
2641
2985
|
};
|
|
2642
|
-
export type
|
|
2643
|
-
input:
|
|
2986
|
+
export type PatchAiMutationVariables = Exact<{
|
|
2987
|
+
input: AiPatchInput;
|
|
2644
2988
|
}>;
|
|
2645
|
-
export type
|
|
2646
|
-
__typename?: '
|
|
2647
|
-
|
|
2648
|
-
__typename?: '
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2989
|
+
export type PatchAiMutation = {
|
|
2990
|
+
__typename?: 'Mutation';
|
|
2991
|
+
patchAi: {
|
|
2992
|
+
__typename?: 'AI';
|
|
2993
|
+
workspaceId: number;
|
|
2994
|
+
id: string;
|
|
2995
|
+
name: string;
|
|
2996
|
+
type: AiType;
|
|
2997
|
+
createdAt: any;
|
|
2998
|
+
deletedAt?: any | null;
|
|
2999
|
+
integrationProperties?: {
|
|
3000
|
+
__typename?: 'IntegrationProperties';
|
|
3001
|
+
model?: string | null;
|
|
3002
|
+
version?: string | null;
|
|
3003
|
+
endpoint?: string | null;
|
|
3004
|
+
} | null;
|
|
3005
|
+
configuration?: {
|
|
3006
|
+
__typename?: 'Configurations';
|
|
3007
|
+
askForName?: boolean | null;
|
|
3008
|
+
askForSurname?: boolean | null;
|
|
3009
|
+
askForEmail?: boolean | null;
|
|
3010
|
+
askForCity?: boolean | null;
|
|
3011
|
+
askForAddress?: boolean | null;
|
|
3012
|
+
handoverEnabled?: boolean | null;
|
|
3013
|
+
clientTagRules?: Array<{
|
|
3014
|
+
__typename?: 'TagRule';
|
|
3015
|
+
tag: string;
|
|
3016
|
+
rule: string;
|
|
3017
|
+
}> | null;
|
|
3018
|
+
convTagRules?: Array<{
|
|
3019
|
+
__typename?: 'TagRule';
|
|
3020
|
+
tag: string;
|
|
3021
|
+
rule: string;
|
|
3022
|
+
}> | null;
|
|
3023
|
+
} | null;
|
|
3024
|
+
};
|
|
3025
|
+
};
|
|
3026
|
+
export type PatchSourceMutationVariables = Exact<{
|
|
3027
|
+
input: SourcePatchInput;
|
|
3028
|
+
}>;
|
|
3029
|
+
export type PatchSourceMutation = {
|
|
3030
|
+
__typename?: 'Mutation';
|
|
3031
|
+
patchSource: {
|
|
3032
|
+
__typename?: 'Source';
|
|
3033
|
+
workspaceId: number;
|
|
3034
|
+
id: string;
|
|
3035
|
+
name: string;
|
|
3036
|
+
size: number;
|
|
3037
|
+
type: SourceType;
|
|
3038
|
+
createdAt: any;
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
export type SourcesQueryVariables = Exact<{
|
|
3042
|
+
input: SourcesInput;
|
|
3043
|
+
}>;
|
|
3044
|
+
export type SourcesQuery = {
|
|
3045
|
+
__typename?: 'Query';
|
|
3046
|
+
sources: {
|
|
3047
|
+
__typename?: 'SourcesPayload';
|
|
3048
|
+
nodes?: Array<{
|
|
3049
|
+
__typename?: 'Source';
|
|
3050
|
+
workspaceId: number;
|
|
3051
|
+
id: string;
|
|
3052
|
+
name: string;
|
|
3053
|
+
size: number;
|
|
3054
|
+
type: SourceType;
|
|
3055
|
+
createdAt: any;
|
|
3056
|
+
}> | null;
|
|
3057
|
+
};
|
|
3058
|
+
};
|
|
3059
|
+
export type TokenUsageLogsQueryVariables = Exact<{
|
|
2661
3060
|
input: TokenUsageLogsInput;
|
|
2662
3061
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2663
3062
|
}>;
|
|
@@ -2827,6 +3226,9 @@ export type AgentReportFragment = {
|
|
|
2827
3226
|
avgFirstResponseTime: number;
|
|
2828
3227
|
avgConversationTime: number;
|
|
2829
3228
|
newClientConvCount?: number | null;
|
|
3229
|
+
responseRate: number;
|
|
3230
|
+
averageRating: number;
|
|
3231
|
+
csat: number;
|
|
2830
3232
|
createdAt: any;
|
|
2831
3233
|
};
|
|
2832
3234
|
export type ConversationReportFragment = {
|
|
@@ -2841,6 +3243,9 @@ export type ConversationReportFragment = {
|
|
|
2841
3243
|
avgFirstResponseTime: number;
|
|
2842
3244
|
avgConversationTime: number;
|
|
2843
3245
|
newClientConvCount?: number | null;
|
|
3246
|
+
responseRate: number;
|
|
3247
|
+
averageRating: number;
|
|
3248
|
+
csat: number;
|
|
2844
3249
|
createdAt: any;
|
|
2845
3250
|
};
|
|
2846
3251
|
export type AgentsReportQueryVariables = Exact<{
|
|
@@ -2861,6 +3266,9 @@ export type AgentsReportQuery = {
|
|
|
2861
3266
|
avgFirstResponseTime: number;
|
|
2862
3267
|
avgConversationTime: number;
|
|
2863
3268
|
newClientConvCount?: number | null;
|
|
3269
|
+
responseRate: number;
|
|
3270
|
+
averageRating: number;
|
|
3271
|
+
csat: number;
|
|
2864
3272
|
createdAt: any;
|
|
2865
3273
|
}> | null;
|
|
2866
3274
|
};
|
|
@@ -2884,6 +3292,9 @@ export type ConvsReportQuery = {
|
|
|
2884
3292
|
avgFirstResponseTime: number;
|
|
2885
3293
|
avgConversationTime: number;
|
|
2886
3294
|
newClientConvCount?: number | null;
|
|
3295
|
+
responseRate: number;
|
|
3296
|
+
averageRating: number;
|
|
3297
|
+
csat: number;
|
|
2887
3298
|
createdAt: any;
|
|
2888
3299
|
}> | null;
|
|
2889
3300
|
};
|
|
@@ -3337,6 +3748,28 @@ export type CancelBroadcastMutation = {
|
|
|
3337
3748
|
error?: string | null;
|
|
3338
3749
|
};
|
|
3339
3750
|
};
|
|
3751
|
+
export type ConvAutoCompleteQueryVariables = Exact<{
|
|
3752
|
+
input: ConvAssistInput;
|
|
3753
|
+
}>;
|
|
3754
|
+
export type ConvAutoCompleteQuery = {
|
|
3755
|
+
__typename?: 'Query';
|
|
3756
|
+
convAutoComplete: {
|
|
3757
|
+
__typename?: 'ConvAssistPayload';
|
|
3758
|
+
text: string;
|
|
3759
|
+
usage?: any | null;
|
|
3760
|
+
};
|
|
3761
|
+
};
|
|
3762
|
+
export type ConvSummaryQueryVariables = Exact<{
|
|
3763
|
+
input: ConvAssistInput;
|
|
3764
|
+
}>;
|
|
3765
|
+
export type ConvSummaryQuery = {
|
|
3766
|
+
__typename?: 'Query';
|
|
3767
|
+
convSummary: {
|
|
3768
|
+
__typename?: 'ConvAssistPayload';
|
|
3769
|
+
text: string;
|
|
3770
|
+
usage?: any | null;
|
|
3771
|
+
};
|
|
3772
|
+
};
|
|
3340
3773
|
export type ConvsQueryVariables = Exact<{
|
|
3341
3774
|
input: ConvsInput;
|
|
3342
3775
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -4430,45 +4863,12 @@ export type ValidateBulkImportContactsQuery = {
|
|
|
4430
4863
|
}>;
|
|
4431
4864
|
};
|
|
4432
4865
|
};
|
|
4433
|
-
export type AiFragment = {
|
|
4434
|
-
__typename?: 'AI';
|
|
4435
|
-
workspaceId: number;
|
|
4436
|
-
id: string;
|
|
4437
|
-
name: string;
|
|
4438
|
-
type: AiType;
|
|
4439
|
-
createdAt: any;
|
|
4440
|
-
deletedAt?: any | null;
|
|
4441
|
-
integrationProperties?: {
|
|
4442
|
-
__typename?: 'IntegrationProperties';
|
|
4443
|
-
model?: string | null;
|
|
4444
|
-
version?: string | null;
|
|
4445
|
-
} | null;
|
|
4446
|
-
configuration?: {
|
|
4447
|
-
__typename?: 'Configurations';
|
|
4448
|
-
askForName?: boolean | null;
|
|
4449
|
-
askForSurname?: boolean | null;
|
|
4450
|
-
askForEmail?: boolean | null;
|
|
4451
|
-
askForCity?: boolean | null;
|
|
4452
|
-
askForAddress?: boolean | null;
|
|
4453
|
-
handoverEnabled?: boolean | null;
|
|
4454
|
-
clientTagRules?: Array<{
|
|
4455
|
-
__typename?: 'TagRule';
|
|
4456
|
-
tag: string;
|
|
4457
|
-
rule: string;
|
|
4458
|
-
}> | null;
|
|
4459
|
-
convTagRules?: Array<{
|
|
4460
|
-
__typename?: 'TagRule';
|
|
4461
|
-
tag: string;
|
|
4462
|
-
rule: string;
|
|
4463
|
-
}> | null;
|
|
4464
|
-
} | null;
|
|
4465
|
-
};
|
|
4466
4866
|
export type ApiKeyFragment = {
|
|
4467
4867
|
__typename?: 'ApiKey';
|
|
4468
4868
|
workspaceId: number;
|
|
4469
4869
|
id: string;
|
|
4470
|
-
key: string;
|
|
4471
4870
|
label: string;
|
|
4871
|
+
agentId?: string | null;
|
|
4472
4872
|
createdAt: any;
|
|
4473
4873
|
};
|
|
4474
4874
|
export type IntegrationFragment = {
|
|
@@ -4493,87 +4893,6 @@ export type WebhookFragment = {
|
|
|
4493
4893
|
event: WebhookEvent;
|
|
4494
4894
|
createdAt: any;
|
|
4495
4895
|
};
|
|
4496
|
-
export type AiQueryVariables = Exact<{
|
|
4497
|
-
input: AiInput;
|
|
4498
|
-
}>;
|
|
4499
|
-
export type AiQuery = {
|
|
4500
|
-
__typename?: 'Query';
|
|
4501
|
-
ai: {
|
|
4502
|
-
__typename?: 'AI';
|
|
4503
|
-
workspaceId: number;
|
|
4504
|
-
id: string;
|
|
4505
|
-
name: string;
|
|
4506
|
-
type: AiType;
|
|
4507
|
-
createdAt: any;
|
|
4508
|
-
deletedAt?: any | null;
|
|
4509
|
-
integrationProperties?: {
|
|
4510
|
-
__typename?: 'IntegrationProperties';
|
|
4511
|
-
model?: string | null;
|
|
4512
|
-
version?: string | null;
|
|
4513
|
-
} | null;
|
|
4514
|
-
configuration?: {
|
|
4515
|
-
__typename?: 'Configurations';
|
|
4516
|
-
askForName?: boolean | null;
|
|
4517
|
-
askForSurname?: boolean | null;
|
|
4518
|
-
askForEmail?: boolean | null;
|
|
4519
|
-
askForCity?: boolean | null;
|
|
4520
|
-
askForAddress?: boolean | null;
|
|
4521
|
-
handoverEnabled?: boolean | null;
|
|
4522
|
-
clientTagRules?: Array<{
|
|
4523
|
-
__typename?: 'TagRule';
|
|
4524
|
-
tag: string;
|
|
4525
|
-
rule: string;
|
|
4526
|
-
}> | null;
|
|
4527
|
-
convTagRules?: Array<{
|
|
4528
|
-
__typename?: 'TagRule';
|
|
4529
|
-
tag: string;
|
|
4530
|
-
rule: string;
|
|
4531
|
-
}> | null;
|
|
4532
|
-
} | null;
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
export type AisQueryVariables = Exact<{
|
|
4536
|
-
input: AIsInput;
|
|
4537
|
-
}>;
|
|
4538
|
-
export type AisQuery = {
|
|
4539
|
-
__typename?: 'Query';
|
|
4540
|
-
ais: {
|
|
4541
|
-
__typename?: 'AIsPayload';
|
|
4542
|
-
nodes?: Array<{
|
|
4543
|
-
__typename?: 'AI';
|
|
4544
|
-
workspaceId: number;
|
|
4545
|
-
id: string;
|
|
4546
|
-
name: string;
|
|
4547
|
-
type: AiType;
|
|
4548
|
-
createdAt: any;
|
|
4549
|
-
deletedAt?: any | null;
|
|
4550
|
-
integrationProperties?: {
|
|
4551
|
-
__typename?: 'IntegrationProperties';
|
|
4552
|
-
model?: string | null;
|
|
4553
|
-
version?: string | null;
|
|
4554
|
-
} | null;
|
|
4555
|
-
configuration?: {
|
|
4556
|
-
__typename?: 'Configurations';
|
|
4557
|
-
askForName?: boolean | null;
|
|
4558
|
-
askForSurname?: boolean | null;
|
|
4559
|
-
askForEmail?: boolean | null;
|
|
4560
|
-
askForCity?: boolean | null;
|
|
4561
|
-
askForAddress?: boolean | null;
|
|
4562
|
-
handoverEnabled?: boolean | null;
|
|
4563
|
-
clientTagRules?: Array<{
|
|
4564
|
-
__typename?: 'TagRule';
|
|
4565
|
-
tag: string;
|
|
4566
|
-
rule: string;
|
|
4567
|
-
}> | null;
|
|
4568
|
-
convTagRules?: Array<{
|
|
4569
|
-
__typename?: 'TagRule';
|
|
4570
|
-
tag: string;
|
|
4571
|
-
rule: string;
|
|
4572
|
-
}> | null;
|
|
4573
|
-
} | null;
|
|
4574
|
-
}> | null;
|
|
4575
|
-
};
|
|
4576
|
-
};
|
|
4577
4896
|
export type ApiKeysQueryVariables = Exact<{
|
|
4578
4897
|
input: ApiKeysInput;
|
|
4579
4898
|
}>;
|
|
@@ -4585,8 +4904,8 @@ export type ApiKeysQuery = {
|
|
|
4585
4904
|
__typename?: 'ApiKey';
|
|
4586
4905
|
workspaceId: number;
|
|
4587
4906
|
id: string;
|
|
4588
|
-
key: string;
|
|
4589
4907
|
label: string;
|
|
4908
|
+
agentId?: string | null;
|
|
4590
4909
|
createdAt: any;
|
|
4591
4910
|
}> | null;
|
|
4592
4911
|
};
|
|
@@ -4598,45 +4917,6 @@ export type BulkPatchTagsMutation = {
|
|
|
4598
4917
|
__typename?: 'Mutation';
|
|
4599
4918
|
bulkPatchTags: never;
|
|
4600
4919
|
};
|
|
4601
|
-
export type CreateAiMutationVariables = Exact<{
|
|
4602
|
-
input: AiCreateInput;
|
|
4603
|
-
}>;
|
|
4604
|
-
export type CreateAiMutation = {
|
|
4605
|
-
__typename?: 'Mutation';
|
|
4606
|
-
createAi: {
|
|
4607
|
-
__typename?: 'AI';
|
|
4608
|
-
workspaceId: number;
|
|
4609
|
-
id: string;
|
|
4610
|
-
name: string;
|
|
4611
|
-
type: AiType;
|
|
4612
|
-
createdAt: any;
|
|
4613
|
-
deletedAt?: any | null;
|
|
4614
|
-
integrationProperties?: {
|
|
4615
|
-
__typename?: 'IntegrationProperties';
|
|
4616
|
-
model?: string | null;
|
|
4617
|
-
version?: string | null;
|
|
4618
|
-
} | null;
|
|
4619
|
-
configuration?: {
|
|
4620
|
-
__typename?: 'Configurations';
|
|
4621
|
-
askForName?: boolean | null;
|
|
4622
|
-
askForSurname?: boolean | null;
|
|
4623
|
-
askForEmail?: boolean | null;
|
|
4624
|
-
askForCity?: boolean | null;
|
|
4625
|
-
askForAddress?: boolean | null;
|
|
4626
|
-
handoverEnabled?: boolean | null;
|
|
4627
|
-
clientTagRules?: Array<{
|
|
4628
|
-
__typename?: 'TagRule';
|
|
4629
|
-
tag: string;
|
|
4630
|
-
rule: string;
|
|
4631
|
-
}> | null;
|
|
4632
|
-
convTagRules?: Array<{
|
|
4633
|
-
__typename?: 'TagRule';
|
|
4634
|
-
tag: string;
|
|
4635
|
-
rule: string;
|
|
4636
|
-
}> | null;
|
|
4637
|
-
} | null;
|
|
4638
|
-
};
|
|
4639
|
-
};
|
|
4640
4920
|
export type CreateIntegrationMutationVariables = Exact<{
|
|
4641
4921
|
input: IntegrationCreateInput;
|
|
4642
4922
|
}>;
|
|
@@ -4684,45 +4964,6 @@ export type CreateWebhookMutation = {
|
|
|
4684
4964
|
createdAt: any;
|
|
4685
4965
|
};
|
|
4686
4966
|
};
|
|
4687
|
-
export type DeleteAiMutationVariables = Exact<{
|
|
4688
|
-
input: AiDeleteInput;
|
|
4689
|
-
}>;
|
|
4690
|
-
export type DeleteAiMutation = {
|
|
4691
|
-
__typename?: 'Mutation';
|
|
4692
|
-
deleteAi: {
|
|
4693
|
-
__typename?: 'AI';
|
|
4694
|
-
workspaceId: number;
|
|
4695
|
-
id: string;
|
|
4696
|
-
name: string;
|
|
4697
|
-
type: AiType;
|
|
4698
|
-
createdAt: any;
|
|
4699
|
-
deletedAt?: any | null;
|
|
4700
|
-
integrationProperties?: {
|
|
4701
|
-
__typename?: 'IntegrationProperties';
|
|
4702
|
-
model?: string | null;
|
|
4703
|
-
version?: string | null;
|
|
4704
|
-
} | null;
|
|
4705
|
-
configuration?: {
|
|
4706
|
-
__typename?: 'Configurations';
|
|
4707
|
-
askForName?: boolean | null;
|
|
4708
|
-
askForSurname?: boolean | null;
|
|
4709
|
-
askForEmail?: boolean | null;
|
|
4710
|
-
askForCity?: boolean | null;
|
|
4711
|
-
askForAddress?: boolean | null;
|
|
4712
|
-
handoverEnabled?: boolean | null;
|
|
4713
|
-
clientTagRules?: Array<{
|
|
4714
|
-
__typename?: 'TagRule';
|
|
4715
|
-
tag: string;
|
|
4716
|
-
rule: string;
|
|
4717
|
-
}> | null;
|
|
4718
|
-
convTagRules?: Array<{
|
|
4719
|
-
__typename?: 'TagRule';
|
|
4720
|
-
tag: string;
|
|
4721
|
-
rule: string;
|
|
4722
|
-
}> | null;
|
|
4723
|
-
} | null;
|
|
4724
|
-
};
|
|
4725
|
-
};
|
|
4726
4967
|
export type DeleteApiKeyMutationVariables = Exact<{
|
|
4727
4968
|
input: ApiKeyDeleteInput;
|
|
4728
4969
|
}>;
|
|
@@ -4732,8 +4973,8 @@ export type DeleteApiKeyMutation = {
|
|
|
4732
4973
|
__typename?: 'ApiKey';
|
|
4733
4974
|
workspaceId: number;
|
|
4734
4975
|
id: string;
|
|
4735
|
-
key: string;
|
|
4736
4976
|
label: string;
|
|
4977
|
+
agentId?: string | null;
|
|
4737
4978
|
createdAt: any;
|
|
4738
4979
|
};
|
|
4739
4980
|
};
|
|
@@ -4793,8 +5034,9 @@ export type GenApiKeyMutation = {
|
|
|
4793
5034
|
__typename?: 'ApiKey';
|
|
4794
5035
|
workspaceId: number;
|
|
4795
5036
|
id: string;
|
|
4796
|
-
key
|
|
5037
|
+
key?: string | null;
|
|
4797
5038
|
label: string;
|
|
5039
|
+
agentId?: string | null;
|
|
4798
5040
|
createdAt: any;
|
|
4799
5041
|
};
|
|
4800
5042
|
};
|
|
@@ -4839,45 +5081,6 @@ export type IntegrationsQuery = {
|
|
|
4839
5081
|
}> | null;
|
|
4840
5082
|
};
|
|
4841
5083
|
};
|
|
4842
|
-
export type PatchAiMutationVariables = Exact<{
|
|
4843
|
-
input: AiPatchInput;
|
|
4844
|
-
}>;
|
|
4845
|
-
export type PatchAiMutation = {
|
|
4846
|
-
__typename?: 'Mutation';
|
|
4847
|
-
patchAi: {
|
|
4848
|
-
__typename?: 'AI';
|
|
4849
|
-
workspaceId: number;
|
|
4850
|
-
id: string;
|
|
4851
|
-
name: string;
|
|
4852
|
-
type: AiType;
|
|
4853
|
-
createdAt: any;
|
|
4854
|
-
deletedAt?: any | null;
|
|
4855
|
-
integrationProperties?: {
|
|
4856
|
-
__typename?: 'IntegrationProperties';
|
|
4857
|
-
model?: string | null;
|
|
4858
|
-
version?: string | null;
|
|
4859
|
-
} | null;
|
|
4860
|
-
configuration?: {
|
|
4861
|
-
__typename?: 'Configurations';
|
|
4862
|
-
askForName?: boolean | null;
|
|
4863
|
-
askForSurname?: boolean | null;
|
|
4864
|
-
askForEmail?: boolean | null;
|
|
4865
|
-
askForCity?: boolean | null;
|
|
4866
|
-
askForAddress?: boolean | null;
|
|
4867
|
-
handoverEnabled?: boolean | null;
|
|
4868
|
-
clientTagRules?: Array<{
|
|
4869
|
-
__typename?: 'TagRule';
|
|
4870
|
-
tag: string;
|
|
4871
|
-
rule: string;
|
|
4872
|
-
}> | null;
|
|
4873
|
-
convTagRules?: Array<{
|
|
4874
|
-
__typename?: 'TagRule';
|
|
4875
|
-
tag: string;
|
|
4876
|
-
rule: string;
|
|
4877
|
-
}> | null;
|
|
4878
|
-
} | null;
|
|
4879
|
-
};
|
|
4880
|
-
};
|
|
4881
5084
|
export type PatchIntegrationMutationVariables = Exact<{
|
|
4882
5085
|
input: IntegrationPatchInput;
|
|
4883
5086
|
}>;
|
|
@@ -5027,6 +5230,7 @@ export type WorkspacesQuery = {
|
|
|
5027
5230
|
};
|
|
5028
5231
|
};
|
|
5029
5232
|
};
|
|
5233
|
+
export declare const AiFragmentDoc: Apollo.DocumentNode;
|
|
5030
5234
|
export declare const UserFragmentDoc: Apollo.DocumentNode;
|
|
5031
5235
|
export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
5032
5236
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
@@ -5040,37 +5244,168 @@ export declare const TagFragmentDoc: Apollo.DocumentNode;
|
|
|
5040
5244
|
export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
|
|
5041
5245
|
export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
5042
5246
|
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
5043
|
-
export declare const AiFragmentDoc: Apollo.DocumentNode;
|
|
5044
5247
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
5045
5248
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
5046
5249
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
5047
5250
|
export declare const WorkspaceFragmentDoc: Apollo.DocumentNode;
|
|
5048
5251
|
export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
|
|
5252
|
+
export declare const AiDocument: Apollo.DocumentNode;
|
|
5253
|
+
/**
|
|
5254
|
+
* __useAiQuery__
|
|
5255
|
+
*
|
|
5256
|
+
* To run a query within a React component, call `useAiQuery` and pass it any options that fit your needs.
|
|
5257
|
+
* When your component renders, `useAiQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5258
|
+
* you can use to render your UI.
|
|
5259
|
+
*
|
|
5260
|
+
* @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;
|
|
5261
|
+
*
|
|
5262
|
+
* @example
|
|
5263
|
+
* const { data, loading, error } = useAiQuery({
|
|
5264
|
+
* variables: {
|
|
5265
|
+
* input: // value for 'input'
|
|
5266
|
+
* },
|
|
5267
|
+
* });
|
|
5268
|
+
*/
|
|
5269
|
+
export declare function useAiQuery(baseOptions: Apollo.QueryHookOptions<AiQuery, AiQueryVariables> & ({
|
|
5270
|
+
variables: AiQueryVariables;
|
|
5271
|
+
skip?: boolean;
|
|
5272
|
+
} | {
|
|
5273
|
+
skip: boolean;
|
|
5274
|
+
})): Apollo.QueryResult<AiQuery, Exact<{
|
|
5275
|
+
input: AiInput;
|
|
5276
|
+
}>>;
|
|
5277
|
+
export declare function useAiLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.LazyQueryResultTuple<AiQuery, Exact<{
|
|
5278
|
+
input: AiInput;
|
|
5279
|
+
}>>;
|
|
5280
|
+
export declare function useAiSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.UseSuspenseQueryResult<AiQuery | undefined, Exact<{
|
|
5281
|
+
input: AiInput;
|
|
5282
|
+
}>>;
|
|
5283
|
+
export type AiQueryHookResult = ReturnType<typeof useAiQuery>;
|
|
5284
|
+
export type AiLazyQueryHookResult = ReturnType<typeof useAiLazyQuery>;
|
|
5285
|
+
export type AiSuspenseQueryHookResult = ReturnType<typeof useAiSuspenseQuery>;
|
|
5286
|
+
export type AiQueryResult = Apollo.QueryResult<AiQuery, AiQueryVariables>;
|
|
5287
|
+
export declare function refetchAiQuery(variables: AiQueryVariables): {
|
|
5288
|
+
query: Apollo.DocumentNode;
|
|
5289
|
+
variables: Exact<{
|
|
5290
|
+
input: AiInput;
|
|
5291
|
+
}>;
|
|
5292
|
+
};
|
|
5293
|
+
export declare const AisDocument: Apollo.DocumentNode;
|
|
5294
|
+
/**
|
|
5295
|
+
* __useAisQuery__
|
|
5296
|
+
*
|
|
5297
|
+
* To run a query within a React component, call `useAisQuery` and pass it any options that fit your needs.
|
|
5298
|
+
* When your component renders, `useAisQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5299
|
+
* you can use to render your UI.
|
|
5300
|
+
*
|
|
5301
|
+
* @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;
|
|
5302
|
+
*
|
|
5303
|
+
* @example
|
|
5304
|
+
* const { data, loading, error } = useAisQuery({
|
|
5305
|
+
* variables: {
|
|
5306
|
+
* input: // value for 'input'
|
|
5307
|
+
* },
|
|
5308
|
+
* });
|
|
5309
|
+
*/
|
|
5310
|
+
export declare function useAisQuery(baseOptions: Apollo.QueryHookOptions<AisQuery, AisQueryVariables> & ({
|
|
5311
|
+
variables: AisQueryVariables;
|
|
5312
|
+
skip?: boolean;
|
|
5313
|
+
} | {
|
|
5314
|
+
skip: boolean;
|
|
5315
|
+
})): Apollo.QueryResult<AisQuery, Exact<{
|
|
5316
|
+
input: AIsInput;
|
|
5317
|
+
}>>;
|
|
5318
|
+
export declare function useAisLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.LazyQueryResultTuple<AisQuery, Exact<{
|
|
5319
|
+
input: AIsInput;
|
|
5320
|
+
}>>;
|
|
5321
|
+
export declare function useAisSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.UseSuspenseQueryResult<AisQuery | undefined, Exact<{
|
|
5322
|
+
input: AIsInput;
|
|
5323
|
+
}>>;
|
|
5324
|
+
export type AisQueryHookResult = ReturnType<typeof useAisQuery>;
|
|
5325
|
+
export type AisLazyQueryHookResult = ReturnType<typeof useAisLazyQuery>;
|
|
5326
|
+
export type AisSuspenseQueryHookResult = ReturnType<typeof useAisSuspenseQuery>;
|
|
5327
|
+
export type AisQueryResult = Apollo.QueryResult<AisQuery, AisQueryVariables>;
|
|
5328
|
+
export declare function refetchAisQuery(variables: AisQueryVariables): {
|
|
5329
|
+
query: Apollo.DocumentNode;
|
|
5330
|
+
variables: Exact<{
|
|
5331
|
+
input: AIsInput;
|
|
5332
|
+
}>;
|
|
5333
|
+
};
|
|
5334
|
+
export declare const CreateAiDocument: Apollo.DocumentNode;
|
|
5335
|
+
export type CreateAiMutationFn = Apollo.MutationFunction<CreateAiMutation, CreateAiMutationVariables>;
|
|
5336
|
+
/**
|
|
5337
|
+
* __useCreateAiMutation__
|
|
5338
|
+
*
|
|
5339
|
+
* To run a mutation, you first call `useCreateAiMutation` within a React component and pass it any options that fit your needs.
|
|
5340
|
+
* When your component renders, `useCreateAiMutation` returns a tuple that includes:
|
|
5341
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5342
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5343
|
+
*
|
|
5344
|
+
* @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;
|
|
5345
|
+
*
|
|
5346
|
+
* @example
|
|
5347
|
+
* const [createAiMutation, { data, loading, error }] = useCreateAiMutation({
|
|
5348
|
+
* variables: {
|
|
5349
|
+
* input: // value for 'input'
|
|
5350
|
+
* },
|
|
5351
|
+
* });
|
|
5352
|
+
*/
|
|
5353
|
+
export declare function useCreateAiMutation(baseOptions?: Apollo.MutationHookOptions<CreateAiMutation, CreateAiMutationVariables>): Apollo.MutationTuple<CreateAiMutation, Exact<{
|
|
5354
|
+
input: AiCreateInput;
|
|
5355
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5356
|
+
export type CreateAiMutationHookResult = ReturnType<typeof useCreateAiMutation>;
|
|
5357
|
+
export type CreateAiMutationResult = Apollo.MutationResult<CreateAiMutation>;
|
|
5358
|
+
export type CreateAiMutationOptions = Apollo.BaseMutationOptions<CreateAiMutation, CreateAiMutationVariables>;
|
|
5049
5359
|
export declare const CreateSourceDocument: Apollo.DocumentNode;
|
|
5050
5360
|
export type CreateSourceMutationFn = Apollo.MutationFunction<CreateSourceMutation, CreateSourceMutationVariables>;
|
|
5051
5361
|
/**
|
|
5052
5362
|
* __useCreateSourceMutation__
|
|
5053
5363
|
*
|
|
5054
|
-
* To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
|
|
5055
|
-
* When your component renders, `useCreateSourceMutation` returns a tuple that includes:
|
|
5364
|
+
* To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
|
|
5365
|
+
* When your component renders, `useCreateSourceMutation` returns a tuple that includes:
|
|
5366
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5367
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5368
|
+
*
|
|
5369
|
+
* @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;
|
|
5370
|
+
*
|
|
5371
|
+
* @example
|
|
5372
|
+
* const [createSourceMutation, { data, loading, error }] = useCreateSourceMutation({
|
|
5373
|
+
* variables: {
|
|
5374
|
+
* input: // value for 'input'
|
|
5375
|
+
* },
|
|
5376
|
+
* });
|
|
5377
|
+
*/
|
|
5378
|
+
export declare function useCreateSourceMutation(baseOptions?: Apollo.MutationHookOptions<CreateSourceMutation, CreateSourceMutationVariables>): Apollo.MutationTuple<CreateSourceMutation, Exact<{
|
|
5379
|
+
input: SourceCreateInput;
|
|
5380
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5381
|
+
export type CreateSourceMutationHookResult = ReturnType<typeof useCreateSourceMutation>;
|
|
5382
|
+
export type CreateSourceMutationResult = Apollo.MutationResult<CreateSourceMutation>;
|
|
5383
|
+
export type CreateSourceMutationOptions = Apollo.BaseMutationOptions<CreateSourceMutation, CreateSourceMutationVariables>;
|
|
5384
|
+
export declare const DeleteAiDocument: Apollo.DocumentNode;
|
|
5385
|
+
export type DeleteAiMutationFn = Apollo.MutationFunction<DeleteAiMutation, DeleteAiMutationVariables>;
|
|
5386
|
+
/**
|
|
5387
|
+
* __useDeleteAiMutation__
|
|
5388
|
+
*
|
|
5389
|
+
* To run a mutation, you first call `useDeleteAiMutation` within a React component and pass it any options that fit your needs.
|
|
5390
|
+
* When your component renders, `useDeleteAiMutation` returns a tuple that includes:
|
|
5056
5391
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5057
5392
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5058
5393
|
*
|
|
5059
5394
|
* @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;
|
|
5060
5395
|
*
|
|
5061
5396
|
* @example
|
|
5062
|
-
* const [
|
|
5397
|
+
* const [deleteAiMutation, { data, loading, error }] = useDeleteAiMutation({
|
|
5063
5398
|
* variables: {
|
|
5064
5399
|
* input: // value for 'input'
|
|
5065
5400
|
* },
|
|
5066
5401
|
* });
|
|
5067
5402
|
*/
|
|
5068
|
-
export declare function
|
|
5069
|
-
input:
|
|
5403
|
+
export declare function useDeleteAiMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAiMutation, DeleteAiMutationVariables>): Apollo.MutationTuple<DeleteAiMutation, Exact<{
|
|
5404
|
+
input: AiDeleteInput;
|
|
5070
5405
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5071
|
-
export type
|
|
5072
|
-
export type
|
|
5073
|
-
export type
|
|
5406
|
+
export type DeleteAiMutationHookResult = ReturnType<typeof useDeleteAiMutation>;
|
|
5407
|
+
export type DeleteAiMutationResult = Apollo.MutationResult<DeleteAiMutation>;
|
|
5408
|
+
export type DeleteAiMutationOptions = Apollo.BaseMutationOptions<DeleteAiMutation, DeleteAiMutationVariables>;
|
|
5074
5409
|
export declare const DeleteSourceDocument: Apollo.DocumentNode;
|
|
5075
5410
|
export type DeleteSourceMutationFn = Apollo.MutationFunction<DeleteSourceMutation, DeleteSourceMutationVariables>;
|
|
5076
5411
|
/**
|
|
@@ -5096,6 +5431,56 @@ export declare function useDeleteSourceMutation(baseOptions?: Apollo.MutationHoo
|
|
|
5096
5431
|
export type DeleteSourceMutationHookResult = ReturnType<typeof useDeleteSourceMutation>;
|
|
5097
5432
|
export type DeleteSourceMutationResult = Apollo.MutationResult<DeleteSourceMutation>;
|
|
5098
5433
|
export type DeleteSourceMutationOptions = Apollo.BaseMutationOptions<DeleteSourceMutation, DeleteSourceMutationVariables>;
|
|
5434
|
+
export declare const PatchAiDocument: Apollo.DocumentNode;
|
|
5435
|
+
export type PatchAiMutationFn = Apollo.MutationFunction<PatchAiMutation, PatchAiMutationVariables>;
|
|
5436
|
+
/**
|
|
5437
|
+
* __usePatchAiMutation__
|
|
5438
|
+
*
|
|
5439
|
+
* To run a mutation, you first call `usePatchAiMutation` within a React component and pass it any options that fit your needs.
|
|
5440
|
+
* When your component renders, `usePatchAiMutation` returns a tuple that includes:
|
|
5441
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5442
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5443
|
+
*
|
|
5444
|
+
* @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;
|
|
5445
|
+
*
|
|
5446
|
+
* @example
|
|
5447
|
+
* const [patchAiMutation, { data, loading, error }] = usePatchAiMutation({
|
|
5448
|
+
* variables: {
|
|
5449
|
+
* input: // value for 'input'
|
|
5450
|
+
* },
|
|
5451
|
+
* });
|
|
5452
|
+
*/
|
|
5453
|
+
export declare function usePatchAiMutation(baseOptions?: Apollo.MutationHookOptions<PatchAiMutation, PatchAiMutationVariables>): Apollo.MutationTuple<PatchAiMutation, Exact<{
|
|
5454
|
+
input: AiPatchInput;
|
|
5455
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5456
|
+
export type PatchAiMutationHookResult = ReturnType<typeof usePatchAiMutation>;
|
|
5457
|
+
export type PatchAiMutationResult = Apollo.MutationResult<PatchAiMutation>;
|
|
5458
|
+
export type PatchAiMutationOptions = Apollo.BaseMutationOptions<PatchAiMutation, PatchAiMutationVariables>;
|
|
5459
|
+
export declare const PatchSourceDocument: Apollo.DocumentNode;
|
|
5460
|
+
export type PatchSourceMutationFn = Apollo.MutationFunction<PatchSourceMutation, PatchSourceMutationVariables>;
|
|
5461
|
+
/**
|
|
5462
|
+
* __usePatchSourceMutation__
|
|
5463
|
+
*
|
|
5464
|
+
* To run a mutation, you first call `usePatchSourceMutation` within a React component and pass it any options that fit your needs.
|
|
5465
|
+
* When your component renders, `usePatchSourceMutation` returns a tuple that includes:
|
|
5466
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5467
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5468
|
+
*
|
|
5469
|
+
* @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;
|
|
5470
|
+
*
|
|
5471
|
+
* @example
|
|
5472
|
+
* const [patchSourceMutation, { data, loading, error }] = usePatchSourceMutation({
|
|
5473
|
+
* variables: {
|
|
5474
|
+
* input: // value for 'input'
|
|
5475
|
+
* },
|
|
5476
|
+
* });
|
|
5477
|
+
*/
|
|
5478
|
+
export declare function usePatchSourceMutation(baseOptions?: Apollo.MutationHookOptions<PatchSourceMutation, PatchSourceMutationVariables>): Apollo.MutationTuple<PatchSourceMutation, Exact<{
|
|
5479
|
+
input: SourcePatchInput;
|
|
5480
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5481
|
+
export type PatchSourceMutationHookResult = ReturnType<typeof usePatchSourceMutation>;
|
|
5482
|
+
export type PatchSourceMutationResult = Apollo.MutationResult<PatchSourceMutation>;
|
|
5483
|
+
export type PatchSourceMutationOptions = Apollo.BaseMutationOptions<PatchSourceMutation, PatchSourceMutationVariables>;
|
|
5099
5484
|
export declare const SourcesDocument: Apollo.DocumentNode;
|
|
5100
5485
|
/**
|
|
5101
5486
|
* __useSourcesQuery__
|
|
@@ -5916,6 +6301,88 @@ export declare function useCancelBroadcastMutation(baseOptions?: Apollo.Mutation
|
|
|
5916
6301
|
export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
|
|
5917
6302
|
export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
|
|
5918
6303
|
export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
6304
|
+
export declare const ConvAutoCompleteDocument: Apollo.DocumentNode;
|
|
6305
|
+
/**
|
|
6306
|
+
* __useConvAutoCompleteQuery__
|
|
6307
|
+
*
|
|
6308
|
+
* To run a query within a React component, call `useConvAutoCompleteQuery` and pass it any options that fit your needs.
|
|
6309
|
+
* When your component renders, `useConvAutoCompleteQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6310
|
+
* you can use to render your UI.
|
|
6311
|
+
*
|
|
6312
|
+
* @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;
|
|
6313
|
+
*
|
|
6314
|
+
* @example
|
|
6315
|
+
* const { data, loading, error } = useConvAutoCompleteQuery({
|
|
6316
|
+
* variables: {
|
|
6317
|
+
* input: // value for 'input'
|
|
6318
|
+
* },
|
|
6319
|
+
* });
|
|
6320
|
+
*/
|
|
6321
|
+
export declare function useConvAutoCompleteQuery(baseOptions: Apollo.QueryHookOptions<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables> & ({
|
|
6322
|
+
variables: ConvAutoCompleteQueryVariables;
|
|
6323
|
+
skip?: boolean;
|
|
6324
|
+
} | {
|
|
6325
|
+
skip: boolean;
|
|
6326
|
+
})): Apollo.QueryResult<ConvAutoCompleteQuery, Exact<{
|
|
6327
|
+
input: ConvAssistInput;
|
|
6328
|
+
}>>;
|
|
6329
|
+
export declare function useConvAutoCompleteLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables>): Apollo.LazyQueryResultTuple<ConvAutoCompleteQuery, Exact<{
|
|
6330
|
+
input: ConvAssistInput;
|
|
6331
|
+
}>>;
|
|
6332
|
+
export declare function useConvAutoCompleteSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables>): Apollo.UseSuspenseQueryResult<ConvAutoCompleteQuery | undefined, Exact<{
|
|
6333
|
+
input: ConvAssistInput;
|
|
6334
|
+
}>>;
|
|
6335
|
+
export type ConvAutoCompleteQueryHookResult = ReturnType<typeof useConvAutoCompleteQuery>;
|
|
6336
|
+
export type ConvAutoCompleteLazyQueryHookResult = ReturnType<typeof useConvAutoCompleteLazyQuery>;
|
|
6337
|
+
export type ConvAutoCompleteSuspenseQueryHookResult = ReturnType<typeof useConvAutoCompleteSuspenseQuery>;
|
|
6338
|
+
export type ConvAutoCompleteQueryResult = Apollo.QueryResult<ConvAutoCompleteQuery, ConvAutoCompleteQueryVariables>;
|
|
6339
|
+
export declare function refetchConvAutoCompleteQuery(variables: ConvAutoCompleteQueryVariables): {
|
|
6340
|
+
query: Apollo.DocumentNode;
|
|
6341
|
+
variables: Exact<{
|
|
6342
|
+
input: ConvAssistInput;
|
|
6343
|
+
}>;
|
|
6344
|
+
};
|
|
6345
|
+
export declare const ConvSummaryDocument: Apollo.DocumentNode;
|
|
6346
|
+
/**
|
|
6347
|
+
* __useConvSummaryQuery__
|
|
6348
|
+
*
|
|
6349
|
+
* To run a query within a React component, call `useConvSummaryQuery` and pass it any options that fit your needs.
|
|
6350
|
+
* When your component renders, `useConvSummaryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6351
|
+
* you can use to render your UI.
|
|
6352
|
+
*
|
|
6353
|
+
* @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;
|
|
6354
|
+
*
|
|
6355
|
+
* @example
|
|
6356
|
+
* const { data, loading, error } = useConvSummaryQuery({
|
|
6357
|
+
* variables: {
|
|
6358
|
+
* input: // value for 'input'
|
|
6359
|
+
* },
|
|
6360
|
+
* });
|
|
6361
|
+
*/
|
|
6362
|
+
export declare function useConvSummaryQuery(baseOptions: Apollo.QueryHookOptions<ConvSummaryQuery, ConvSummaryQueryVariables> & ({
|
|
6363
|
+
variables: ConvSummaryQueryVariables;
|
|
6364
|
+
skip?: boolean;
|
|
6365
|
+
} | {
|
|
6366
|
+
skip: boolean;
|
|
6367
|
+
})): Apollo.QueryResult<ConvSummaryQuery, Exact<{
|
|
6368
|
+
input: ConvAssistInput;
|
|
6369
|
+
}>>;
|
|
6370
|
+
export declare function useConvSummaryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvSummaryQuery, ConvSummaryQueryVariables>): Apollo.LazyQueryResultTuple<ConvSummaryQuery, Exact<{
|
|
6371
|
+
input: ConvAssistInput;
|
|
6372
|
+
}>>;
|
|
6373
|
+
export declare function useConvSummarySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvSummaryQuery, ConvSummaryQueryVariables>): Apollo.UseSuspenseQueryResult<ConvSummaryQuery | undefined, Exact<{
|
|
6374
|
+
input: ConvAssistInput;
|
|
6375
|
+
}>>;
|
|
6376
|
+
export type ConvSummaryQueryHookResult = ReturnType<typeof useConvSummaryQuery>;
|
|
6377
|
+
export type ConvSummaryLazyQueryHookResult = ReturnType<typeof useConvSummaryLazyQuery>;
|
|
6378
|
+
export type ConvSummarySuspenseQueryHookResult = ReturnType<typeof useConvSummarySuspenseQuery>;
|
|
6379
|
+
export type ConvSummaryQueryResult = Apollo.QueryResult<ConvSummaryQuery, ConvSummaryQueryVariables>;
|
|
6380
|
+
export declare function refetchConvSummaryQuery(variables: ConvSummaryQueryVariables): {
|
|
6381
|
+
query: Apollo.DocumentNode;
|
|
6382
|
+
variables: Exact<{
|
|
6383
|
+
input: ConvAssistInput;
|
|
6384
|
+
}>;
|
|
6385
|
+
};
|
|
5919
6386
|
export declare const ConvsDocument: Apollo.DocumentNode;
|
|
5920
6387
|
/**
|
|
5921
6388
|
* __useConvsQuery__
|
|
@@ -7032,88 +7499,6 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
|
|
|
7032
7499
|
input: ValidateBulkImportContactsInput;
|
|
7033
7500
|
}>;
|
|
7034
7501
|
};
|
|
7035
|
-
export declare const AiDocument: Apollo.DocumentNode;
|
|
7036
|
-
/**
|
|
7037
|
-
* __useAiQuery__
|
|
7038
|
-
*
|
|
7039
|
-
* To run a query within a React component, call `useAiQuery` and pass it any options that fit your needs.
|
|
7040
|
-
* When your component renders, `useAiQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7041
|
-
* you can use to render your UI.
|
|
7042
|
-
*
|
|
7043
|
-
* @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;
|
|
7044
|
-
*
|
|
7045
|
-
* @example
|
|
7046
|
-
* const { data, loading, error } = useAiQuery({
|
|
7047
|
-
* variables: {
|
|
7048
|
-
* input: // value for 'input'
|
|
7049
|
-
* },
|
|
7050
|
-
* });
|
|
7051
|
-
*/
|
|
7052
|
-
export declare function useAiQuery(baseOptions: Apollo.QueryHookOptions<AiQuery, AiQueryVariables> & ({
|
|
7053
|
-
variables: AiQueryVariables;
|
|
7054
|
-
skip?: boolean;
|
|
7055
|
-
} | {
|
|
7056
|
-
skip: boolean;
|
|
7057
|
-
})): Apollo.QueryResult<AiQuery, Exact<{
|
|
7058
|
-
input: AiInput;
|
|
7059
|
-
}>>;
|
|
7060
|
-
export declare function useAiLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.LazyQueryResultTuple<AiQuery, Exact<{
|
|
7061
|
-
input: AiInput;
|
|
7062
|
-
}>>;
|
|
7063
|
-
export declare function useAiSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AiQuery, AiQueryVariables>): Apollo.UseSuspenseQueryResult<AiQuery | undefined, Exact<{
|
|
7064
|
-
input: AiInput;
|
|
7065
|
-
}>>;
|
|
7066
|
-
export type AiQueryHookResult = ReturnType<typeof useAiQuery>;
|
|
7067
|
-
export type AiLazyQueryHookResult = ReturnType<typeof useAiLazyQuery>;
|
|
7068
|
-
export type AiSuspenseQueryHookResult = ReturnType<typeof useAiSuspenseQuery>;
|
|
7069
|
-
export type AiQueryResult = Apollo.QueryResult<AiQuery, AiQueryVariables>;
|
|
7070
|
-
export declare function refetchAiQuery(variables: AiQueryVariables): {
|
|
7071
|
-
query: Apollo.DocumentNode;
|
|
7072
|
-
variables: Exact<{
|
|
7073
|
-
input: AiInput;
|
|
7074
|
-
}>;
|
|
7075
|
-
};
|
|
7076
|
-
export declare const AisDocument: Apollo.DocumentNode;
|
|
7077
|
-
/**
|
|
7078
|
-
* __useAisQuery__
|
|
7079
|
-
*
|
|
7080
|
-
* To run a query within a React component, call `useAisQuery` and pass it any options that fit your needs.
|
|
7081
|
-
* When your component renders, `useAisQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7082
|
-
* you can use to render your UI.
|
|
7083
|
-
*
|
|
7084
|
-
* @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;
|
|
7085
|
-
*
|
|
7086
|
-
* @example
|
|
7087
|
-
* const { data, loading, error } = useAisQuery({
|
|
7088
|
-
* variables: {
|
|
7089
|
-
* input: // value for 'input'
|
|
7090
|
-
* },
|
|
7091
|
-
* });
|
|
7092
|
-
*/
|
|
7093
|
-
export declare function useAisQuery(baseOptions: Apollo.QueryHookOptions<AisQuery, AisQueryVariables> & ({
|
|
7094
|
-
variables: AisQueryVariables;
|
|
7095
|
-
skip?: boolean;
|
|
7096
|
-
} | {
|
|
7097
|
-
skip: boolean;
|
|
7098
|
-
})): Apollo.QueryResult<AisQuery, Exact<{
|
|
7099
|
-
input: AIsInput;
|
|
7100
|
-
}>>;
|
|
7101
|
-
export declare function useAisLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.LazyQueryResultTuple<AisQuery, Exact<{
|
|
7102
|
-
input: AIsInput;
|
|
7103
|
-
}>>;
|
|
7104
|
-
export declare function useAisSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AisQuery, AisQueryVariables>): Apollo.UseSuspenseQueryResult<AisQuery | undefined, Exact<{
|
|
7105
|
-
input: AIsInput;
|
|
7106
|
-
}>>;
|
|
7107
|
-
export type AisQueryHookResult = ReturnType<typeof useAisQuery>;
|
|
7108
|
-
export type AisLazyQueryHookResult = ReturnType<typeof useAisLazyQuery>;
|
|
7109
|
-
export type AisSuspenseQueryHookResult = ReturnType<typeof useAisSuspenseQuery>;
|
|
7110
|
-
export type AisQueryResult = Apollo.QueryResult<AisQuery, AisQueryVariables>;
|
|
7111
|
-
export declare function refetchAisQuery(variables: AisQueryVariables): {
|
|
7112
|
-
query: Apollo.DocumentNode;
|
|
7113
|
-
variables: Exact<{
|
|
7114
|
-
input: AIsInput;
|
|
7115
|
-
}>;
|
|
7116
|
-
};
|
|
7117
7502
|
export declare const ApiKeysDocument: Apollo.DocumentNode;
|
|
7118
7503
|
/**
|
|
7119
7504
|
* __useApiKeysQuery__
|
|
@@ -7180,31 +7565,6 @@ export declare function useBulkPatchTagsMutation(baseOptions?: Apollo.MutationHo
|
|
|
7180
7565
|
export type BulkPatchTagsMutationHookResult = ReturnType<typeof useBulkPatchTagsMutation>;
|
|
7181
7566
|
export type BulkPatchTagsMutationResult = Apollo.MutationResult<BulkPatchTagsMutation>;
|
|
7182
7567
|
export type BulkPatchTagsMutationOptions = Apollo.BaseMutationOptions<BulkPatchTagsMutation, BulkPatchTagsMutationVariables>;
|
|
7183
|
-
export declare const CreateAiDocument: Apollo.DocumentNode;
|
|
7184
|
-
export type CreateAiMutationFn = Apollo.MutationFunction<CreateAiMutation, CreateAiMutationVariables>;
|
|
7185
|
-
/**
|
|
7186
|
-
* __useCreateAiMutation__
|
|
7187
|
-
*
|
|
7188
|
-
* To run a mutation, you first call `useCreateAiMutation` within a React component and pass it any options that fit your needs.
|
|
7189
|
-
* When your component renders, `useCreateAiMutation` returns a tuple that includes:
|
|
7190
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
7191
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
7192
|
-
*
|
|
7193
|
-
* @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;
|
|
7194
|
-
*
|
|
7195
|
-
* @example
|
|
7196
|
-
* const [createAiMutation, { data, loading, error }] = useCreateAiMutation({
|
|
7197
|
-
* variables: {
|
|
7198
|
-
* input: // value for 'input'
|
|
7199
|
-
* },
|
|
7200
|
-
* });
|
|
7201
|
-
*/
|
|
7202
|
-
export declare function useCreateAiMutation(baseOptions?: Apollo.MutationHookOptions<CreateAiMutation, CreateAiMutationVariables>): Apollo.MutationTuple<CreateAiMutation, Exact<{
|
|
7203
|
-
input: AiCreateInput;
|
|
7204
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
7205
|
-
export type CreateAiMutationHookResult = ReturnType<typeof useCreateAiMutation>;
|
|
7206
|
-
export type CreateAiMutationResult = Apollo.MutationResult<CreateAiMutation>;
|
|
7207
|
-
export type CreateAiMutationOptions = Apollo.BaseMutationOptions<CreateAiMutation, CreateAiMutationVariables>;
|
|
7208
7568
|
export declare const CreateIntegrationDocument: Apollo.DocumentNode;
|
|
7209
7569
|
export type CreateIntegrationMutationFn = Apollo.MutationFunction<CreateIntegrationMutation, CreateIntegrationMutationVariables>;
|
|
7210
7570
|
/**
|
|
@@ -7280,31 +7640,6 @@ export declare function useCreateWebhookMutation(baseOptions?: Apollo.MutationHo
|
|
|
7280
7640
|
export type CreateWebhookMutationHookResult = ReturnType<typeof useCreateWebhookMutation>;
|
|
7281
7641
|
export type CreateWebhookMutationResult = Apollo.MutationResult<CreateWebhookMutation>;
|
|
7282
7642
|
export type CreateWebhookMutationOptions = Apollo.BaseMutationOptions<CreateWebhookMutation, CreateWebhookMutationVariables>;
|
|
7283
|
-
export declare const DeleteAiDocument: Apollo.DocumentNode;
|
|
7284
|
-
export type DeleteAiMutationFn = Apollo.MutationFunction<DeleteAiMutation, DeleteAiMutationVariables>;
|
|
7285
|
-
/**
|
|
7286
|
-
* __useDeleteAiMutation__
|
|
7287
|
-
*
|
|
7288
|
-
* To run a mutation, you first call `useDeleteAiMutation` within a React component and pass it any options that fit your needs.
|
|
7289
|
-
* When your component renders, `useDeleteAiMutation` returns a tuple that includes:
|
|
7290
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
7291
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
7292
|
-
*
|
|
7293
|
-
* @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;
|
|
7294
|
-
*
|
|
7295
|
-
* @example
|
|
7296
|
-
* const [deleteAiMutation, { data, loading, error }] = useDeleteAiMutation({
|
|
7297
|
-
* variables: {
|
|
7298
|
-
* input: // value for 'input'
|
|
7299
|
-
* },
|
|
7300
|
-
* });
|
|
7301
|
-
*/
|
|
7302
|
-
export declare function useDeleteAiMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAiMutation, DeleteAiMutationVariables>): Apollo.MutationTuple<DeleteAiMutation, Exact<{
|
|
7303
|
-
input: AiDeleteInput;
|
|
7304
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
7305
|
-
export type DeleteAiMutationHookResult = ReturnType<typeof useDeleteAiMutation>;
|
|
7306
|
-
export type DeleteAiMutationResult = Apollo.MutationResult<DeleteAiMutation>;
|
|
7307
|
-
export type DeleteAiMutationOptions = Apollo.BaseMutationOptions<DeleteAiMutation, DeleteAiMutationVariables>;
|
|
7308
7643
|
export declare const DeleteApiKeyDocument: Apollo.DocumentNode;
|
|
7309
7644
|
export type DeleteApiKeyMutationFn = Apollo.MutationFunction<DeleteApiKeyMutation, DeleteApiKeyMutationVariables>;
|
|
7310
7645
|
/**
|
|
@@ -7512,31 +7847,6 @@ export declare function refetchIntegrationsQuery(variables: IntegrationsQueryVar
|
|
|
7512
7847
|
input: IntegrationsInput;
|
|
7513
7848
|
}>;
|
|
7514
7849
|
};
|
|
7515
|
-
export declare const PatchAiDocument: Apollo.DocumentNode;
|
|
7516
|
-
export type PatchAiMutationFn = Apollo.MutationFunction<PatchAiMutation, PatchAiMutationVariables>;
|
|
7517
|
-
/**
|
|
7518
|
-
* __usePatchAiMutation__
|
|
7519
|
-
*
|
|
7520
|
-
* To run a mutation, you first call `usePatchAiMutation` within a React component and pass it any options that fit your needs.
|
|
7521
|
-
* When your component renders, `usePatchAiMutation` returns a tuple that includes:
|
|
7522
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
7523
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
7524
|
-
*
|
|
7525
|
-
* @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;
|
|
7526
|
-
*
|
|
7527
|
-
* @example
|
|
7528
|
-
* const [patchAiMutation, { data, loading, error }] = usePatchAiMutation({
|
|
7529
|
-
* variables: {
|
|
7530
|
-
* input: // value for 'input'
|
|
7531
|
-
* },
|
|
7532
|
-
* });
|
|
7533
|
-
*/
|
|
7534
|
-
export declare function usePatchAiMutation(baseOptions?: Apollo.MutationHookOptions<PatchAiMutation, PatchAiMutationVariables>): Apollo.MutationTuple<PatchAiMutation, Exact<{
|
|
7535
|
-
input: AiPatchInput;
|
|
7536
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
7537
|
-
export type PatchAiMutationHookResult = ReturnType<typeof usePatchAiMutation>;
|
|
7538
|
-
export type PatchAiMutationResult = Apollo.MutationResult<PatchAiMutation>;
|
|
7539
|
-
export type PatchAiMutationOptions = Apollo.BaseMutationOptions<PatchAiMutation, PatchAiMutationVariables>;
|
|
7540
7850
|
export declare const PatchIntegrationDocument: Apollo.DocumentNode;
|
|
7541
7851
|
export type PatchIntegrationMutationFn = Apollo.MutationFunction<PatchIntegrationMutation, PatchIntegrationMutationVariables>;
|
|
7542
7852
|
/**
|