twenty-client-sdk 2.1.0 → 2.2.0
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/metadata/generated/schema.d.ts +109 -124
- package/dist/metadata/generated/types.d.ts +72 -65
- package/dist/metadata.cjs +2 -2
- package/dist/metadata.mjs +680 -673
- package/package.json +3 -1
|
@@ -372,6 +372,7 @@ export interface Application {
|
|
|
372
372
|
id: Scalars['UUID'];
|
|
373
373
|
name: Scalars['String'];
|
|
374
374
|
description?: Scalars['String'];
|
|
375
|
+
logo?: Scalars['String'];
|
|
375
376
|
version?: Scalars['String'];
|
|
376
377
|
universalIdentifier: Scalars['String'];
|
|
377
378
|
packageJsonChecksum?: Scalars['String'];
|
|
@@ -1694,7 +1695,6 @@ export interface MarketplaceApp {
|
|
|
1694
1695
|
id: Scalars['String'];
|
|
1695
1696
|
name: Scalars['String'];
|
|
1696
1697
|
description: Scalars['String'];
|
|
1697
|
-
icon: Scalars['String'];
|
|
1698
1698
|
author: Scalars['String'];
|
|
1699
1699
|
category: Scalars['String'];
|
|
1700
1700
|
logo?: Scalars['String'];
|
|
@@ -2019,19 +2019,6 @@ export interface Skill {
|
|
|
2019
2019
|
updatedAt: Scalars['DateTime'];
|
|
2020
2020
|
__typename: 'Skill';
|
|
2021
2021
|
}
|
|
2022
|
-
export interface AgentChatThread {
|
|
2023
|
-
id: Scalars['UUID'];
|
|
2024
|
-
title?: Scalars['String'];
|
|
2025
|
-
totalInputTokens: Scalars['Int'];
|
|
2026
|
-
totalOutputTokens: Scalars['Int'];
|
|
2027
|
-
contextWindowTokens?: Scalars['Int'];
|
|
2028
|
-
conversationSize: Scalars['Int'];
|
|
2029
|
-
totalInputCredits: Scalars['Float'];
|
|
2030
|
-
totalOutputCredits: Scalars['Float'];
|
|
2031
|
-
createdAt: Scalars['DateTime'];
|
|
2032
|
-
updatedAt: Scalars['DateTime'];
|
|
2033
|
-
__typename: 'AgentChatThread';
|
|
2034
|
-
}
|
|
2035
2022
|
export interface AgentMessage {
|
|
2036
2023
|
id: Scalars['UUID'];
|
|
2037
2024
|
threadId: Scalars['UUID'];
|
|
@@ -2044,6 +2031,21 @@ export interface AgentMessage {
|
|
|
2044
2031
|
createdAt: Scalars['DateTime'];
|
|
2045
2032
|
__typename: 'AgentMessage';
|
|
2046
2033
|
}
|
|
2034
|
+
export interface AgentChatThread {
|
|
2035
|
+
id: Scalars['ID'];
|
|
2036
|
+
title?: Scalars['String'];
|
|
2037
|
+
totalInputTokens: Scalars['Int'];
|
|
2038
|
+
totalOutputTokens: Scalars['Int'];
|
|
2039
|
+
contextWindowTokens?: Scalars['Int'];
|
|
2040
|
+
conversationSize: Scalars['Int'];
|
|
2041
|
+
totalInputCredits: Scalars['Float'];
|
|
2042
|
+
totalOutputCredits: Scalars['Float'];
|
|
2043
|
+
createdAt: Scalars['DateTime'];
|
|
2044
|
+
updatedAt: Scalars['DateTime'];
|
|
2045
|
+
deletedAt?: Scalars['DateTime'];
|
|
2046
|
+
lastMessageAt?: Scalars['DateTime'];
|
|
2047
|
+
__typename: 'AgentChatThread';
|
|
2048
|
+
}
|
|
2047
2049
|
export interface AiSystemPromptSection {
|
|
2048
2050
|
title: Scalars['String'];
|
|
2049
2051
|
content: Scalars['String'];
|
|
@@ -2071,20 +2073,6 @@ export interface AgentChatEvent {
|
|
|
2071
2073
|
event: Scalars['JSON'];
|
|
2072
2074
|
__typename: 'AgentChatEvent';
|
|
2073
2075
|
}
|
|
2074
|
-
export interface AgentChatThreadEdge {
|
|
2075
|
-
/** The node containing the AgentChatThread */
|
|
2076
|
-
node: AgentChatThread;
|
|
2077
|
-
/** Cursor for this node. */
|
|
2078
|
-
cursor: Scalars['ConnectionCursor'];
|
|
2079
|
-
__typename: 'AgentChatThreadEdge';
|
|
2080
|
-
}
|
|
2081
|
-
export interface AgentChatThreadConnection {
|
|
2082
|
-
/** Paging information */
|
|
2083
|
-
pageInfo: PageInfo;
|
|
2084
|
-
/** Array of edges. */
|
|
2085
|
-
edges: AgentChatThreadEdge[];
|
|
2086
|
-
__typename: 'AgentChatThreadConnection';
|
|
2087
|
-
}
|
|
2088
2076
|
export interface AgentTurnEvaluation {
|
|
2089
2077
|
id: Scalars['UUID'];
|
|
2090
2078
|
turnId: Scalars['UUID'];
|
|
@@ -2274,13 +2262,13 @@ export interface Query {
|
|
|
2274
2262
|
webhooks: Webhook[];
|
|
2275
2263
|
webhook?: Webhook;
|
|
2276
2264
|
minimalMetadata: MinimalMetadata;
|
|
2265
|
+
chatThreads: AgentChatThread[];
|
|
2277
2266
|
chatThread: AgentChatThread;
|
|
2278
2267
|
chatMessages: AgentMessage[];
|
|
2279
2268
|
chatStreamCatchupChunks: ChatStreamCatchupChunks;
|
|
2280
2269
|
getAiSystemPromptPreview: AiSystemPromptPreview;
|
|
2281
2270
|
skills: Skill[];
|
|
2282
2271
|
skill?: Skill;
|
|
2283
|
-
chatThreads: AgentChatThreadConnection;
|
|
2284
2272
|
agentTurns: AgentTurn[];
|
|
2285
2273
|
checkUserExists: CheckUserExist;
|
|
2286
2274
|
checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid;
|
|
@@ -2315,11 +2303,6 @@ export interface Query {
|
|
|
2315
2303
|
findMarketplaceAppDetail: MarketplaceAppDetail;
|
|
2316
2304
|
__typename: 'Query';
|
|
2317
2305
|
}
|
|
2318
|
-
export type AgentChatThreadSortFields = 'id' | 'updatedAt';
|
|
2319
|
-
/** Sort Directions */
|
|
2320
|
-
export type SortDirection = 'ASC' | 'DESC';
|
|
2321
|
-
/** Sort Nulls Options */
|
|
2322
|
-
export type SortNulls = 'NULLS_FIRST' | 'NULLS_LAST';
|
|
2323
2306
|
export type EventLogTable = 'WORKSPACE_EVENT' | 'PAGEVIEW' | 'OBJECT_EVENT' | 'USAGE_EVENT' | 'APPLICATION_LOG';
|
|
2324
2307
|
export type UsageOperationType = 'AI_CHAT_TOKEN' | 'AI_WORKFLOW_TOKEN' | 'WORKFLOW_EXECUTION' | 'CODE_EXECUTION' | 'WEB_SEARCH';
|
|
2325
2308
|
export interface Mutation {
|
|
@@ -2350,6 +2333,7 @@ export interface Mutation {
|
|
|
2350
2333
|
updateView: View;
|
|
2351
2334
|
deleteView: Scalars['Boolean'];
|
|
2352
2335
|
destroyView: Scalars['Boolean'];
|
|
2336
|
+
upsertViewWidget: View;
|
|
2353
2337
|
createViewSort: ViewSort;
|
|
2354
2338
|
updateViewSort: ViewSort;
|
|
2355
2339
|
deleteViewSort: Scalars['Boolean'];
|
|
@@ -2448,6 +2432,10 @@ export interface Mutation {
|
|
|
2448
2432
|
createChatThread: AgentChatThread;
|
|
2449
2433
|
sendChatMessage: SendChatMessageResult;
|
|
2450
2434
|
stopAgentChatStream: Scalars['Boolean'];
|
|
2435
|
+
renameChatThread: AgentChatThread;
|
|
2436
|
+
archiveChatThread: AgentChatThread;
|
|
2437
|
+
unarchiveChatThread: AgentChatThread;
|
|
2438
|
+
deleteChatThread: Scalars['Boolean'];
|
|
2451
2439
|
deleteQueuedChatMessage: Scalars['Boolean'];
|
|
2452
2440
|
createSkill: Skill;
|
|
2453
2441
|
updateSkill: Skill;
|
|
@@ -3008,6 +2996,7 @@ export interface ApplicationGenqlSelection {
|
|
|
3008
2996
|
id?: boolean | number;
|
|
3009
2997
|
name?: boolean | number;
|
|
3010
2998
|
description?: boolean | number;
|
|
2999
|
+
logo?: boolean | number;
|
|
3011
3000
|
version?: boolean | number;
|
|
3012
3001
|
universalIdentifier?: boolean | number;
|
|
3013
3002
|
packageJsonChecksum?: boolean | number;
|
|
@@ -4460,7 +4449,6 @@ export interface MarketplaceAppGenqlSelection {
|
|
|
4460
4449
|
id?: boolean | number;
|
|
4461
4450
|
name?: boolean | number;
|
|
4462
4451
|
description?: boolean | number;
|
|
4463
|
-
icon?: boolean | number;
|
|
4464
4452
|
author?: boolean | number;
|
|
4465
4453
|
category?: boolean | number;
|
|
4466
4454
|
logo?: boolean | number;
|
|
@@ -4819,6 +4807,19 @@ export interface SkillGenqlSelection {
|
|
|
4819
4807
|
__typename?: boolean | number;
|
|
4820
4808
|
__scalar?: boolean | number;
|
|
4821
4809
|
}
|
|
4810
|
+
export interface AgentMessageGenqlSelection {
|
|
4811
|
+
id?: boolean | number;
|
|
4812
|
+
threadId?: boolean | number;
|
|
4813
|
+
turnId?: boolean | number;
|
|
4814
|
+
agentId?: boolean | number;
|
|
4815
|
+
role?: boolean | number;
|
|
4816
|
+
status?: boolean | number;
|
|
4817
|
+
parts?: AgentMessagePartGenqlSelection;
|
|
4818
|
+
processedAt?: boolean | number;
|
|
4819
|
+
createdAt?: boolean | number;
|
|
4820
|
+
__typename?: boolean | number;
|
|
4821
|
+
__scalar?: boolean | number;
|
|
4822
|
+
}
|
|
4822
4823
|
export interface AgentChatThreadGenqlSelection {
|
|
4823
4824
|
id?: boolean | number;
|
|
4824
4825
|
title?: boolean | number;
|
|
@@ -4830,19 +4831,8 @@ export interface AgentChatThreadGenqlSelection {
|
|
|
4830
4831
|
totalOutputCredits?: boolean | number;
|
|
4831
4832
|
createdAt?: boolean | number;
|
|
4832
4833
|
updatedAt?: boolean | number;
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
}
|
|
4836
|
-
export interface AgentMessageGenqlSelection {
|
|
4837
|
-
id?: boolean | number;
|
|
4838
|
-
threadId?: boolean | number;
|
|
4839
|
-
turnId?: boolean | number;
|
|
4840
|
-
agentId?: boolean | number;
|
|
4841
|
-
role?: boolean | number;
|
|
4842
|
-
status?: boolean | number;
|
|
4843
|
-
parts?: AgentMessagePartGenqlSelection;
|
|
4844
|
-
processedAt?: boolean | number;
|
|
4845
|
-
createdAt?: boolean | number;
|
|
4834
|
+
deletedAt?: boolean | number;
|
|
4835
|
+
lastMessageAt?: boolean | number;
|
|
4846
4836
|
__typename?: boolean | number;
|
|
4847
4837
|
__scalar?: boolean | number;
|
|
4848
4838
|
}
|
|
@@ -4878,22 +4868,6 @@ export interface AgentChatEventGenqlSelection {
|
|
|
4878
4868
|
__typename?: boolean | number;
|
|
4879
4869
|
__scalar?: boolean | number;
|
|
4880
4870
|
}
|
|
4881
|
-
export interface AgentChatThreadEdgeGenqlSelection {
|
|
4882
|
-
/** The node containing the AgentChatThread */
|
|
4883
|
-
node?: AgentChatThreadGenqlSelection;
|
|
4884
|
-
/** Cursor for this node. */
|
|
4885
|
-
cursor?: boolean | number;
|
|
4886
|
-
__typename?: boolean | number;
|
|
4887
|
-
__scalar?: boolean | number;
|
|
4888
|
-
}
|
|
4889
|
-
export interface AgentChatThreadConnectionGenqlSelection {
|
|
4890
|
-
/** Paging information */
|
|
4891
|
-
pageInfo?: PageInfoGenqlSelection;
|
|
4892
|
-
/** Array of edges. */
|
|
4893
|
-
edges?: AgentChatThreadEdgeGenqlSelection;
|
|
4894
|
-
__typename?: boolean | number;
|
|
4895
|
-
__scalar?: boolean | number;
|
|
4896
|
-
}
|
|
4897
4871
|
export interface AgentTurnEvaluationGenqlSelection {
|
|
4898
4872
|
id?: boolean | number;
|
|
4899
4873
|
turnId?: boolean | number;
|
|
@@ -5266,6 +5240,7 @@ export interface QueryGenqlSelection {
|
|
|
5266
5240
|
};
|
|
5267
5241
|
});
|
|
5268
5242
|
minimalMetadata?: MinimalMetadataGenqlSelection;
|
|
5243
|
+
chatThreads?: AgentChatThreadGenqlSelection;
|
|
5269
5244
|
chatThread?: (AgentChatThreadGenqlSelection & {
|
|
5270
5245
|
__args: {
|
|
5271
5246
|
id: Scalars['UUID'];
|
|
@@ -5288,16 +5263,6 @@ export interface QueryGenqlSelection {
|
|
|
5288
5263
|
id: Scalars['UUID'];
|
|
5289
5264
|
};
|
|
5290
5265
|
});
|
|
5291
|
-
chatThreads?: (AgentChatThreadConnectionGenqlSelection & {
|
|
5292
|
-
__args: {
|
|
5293
|
-
/** Limit or page results. */
|
|
5294
|
-
paging: CursorPaging;
|
|
5295
|
-
/** Specify to filter the records returned. */
|
|
5296
|
-
filter: AgentChatThreadFilter;
|
|
5297
|
-
/** Specify to sort results. */
|
|
5298
|
-
sorting: AgentChatThreadSort[];
|
|
5299
|
-
};
|
|
5300
|
-
});
|
|
5301
5266
|
agentTurns?: (AgentTurnGenqlSelection & {
|
|
5302
5267
|
__args: {
|
|
5303
5268
|
agentId: Scalars['UUID'];
|
|
@@ -5442,35 +5407,6 @@ export interface AgentIdInput {
|
|
|
5442
5407
|
/** The id of the agent. */
|
|
5443
5408
|
id: Scalars['UUID'];
|
|
5444
5409
|
}
|
|
5445
|
-
export interface AgentChatThreadFilter {
|
|
5446
|
-
and?: (AgentChatThreadFilter[] | null);
|
|
5447
|
-
or?: (AgentChatThreadFilter[] | null);
|
|
5448
|
-
id?: (UUIDFilterComparison | null);
|
|
5449
|
-
updatedAt?: (DateFieldComparison | null);
|
|
5450
|
-
}
|
|
5451
|
-
export interface DateFieldComparison {
|
|
5452
|
-
is?: (Scalars['Boolean'] | null);
|
|
5453
|
-
isNot?: (Scalars['Boolean'] | null);
|
|
5454
|
-
eq?: (Scalars['DateTime'] | null);
|
|
5455
|
-
neq?: (Scalars['DateTime'] | null);
|
|
5456
|
-
gt?: (Scalars['DateTime'] | null);
|
|
5457
|
-
gte?: (Scalars['DateTime'] | null);
|
|
5458
|
-
lt?: (Scalars['DateTime'] | null);
|
|
5459
|
-
lte?: (Scalars['DateTime'] | null);
|
|
5460
|
-
in?: (Scalars['DateTime'][] | null);
|
|
5461
|
-
notIn?: (Scalars['DateTime'][] | null);
|
|
5462
|
-
between?: (DateFieldComparisonBetween | null);
|
|
5463
|
-
notBetween?: (DateFieldComparisonBetween | null);
|
|
5464
|
-
}
|
|
5465
|
-
export interface DateFieldComparisonBetween {
|
|
5466
|
-
lower: Scalars['DateTime'];
|
|
5467
|
-
upper: Scalars['DateTime'];
|
|
5468
|
-
}
|
|
5469
|
-
export interface AgentChatThreadSort {
|
|
5470
|
-
field: AgentChatThreadSortFields;
|
|
5471
|
-
direction: SortDirection;
|
|
5472
|
-
nulls?: (SortNulls | null);
|
|
5473
|
-
}
|
|
5474
5410
|
export interface EventLogQueryInput {
|
|
5475
5411
|
table: EventLogTable;
|
|
5476
5412
|
filters?: (EventLogFiltersInput | null);
|
|
@@ -5646,6 +5582,11 @@ export interface MutationGenqlSelection {
|
|
|
5646
5582
|
id: Scalars['String'];
|
|
5647
5583
|
};
|
|
5648
5584
|
};
|
|
5585
|
+
upsertViewWidget?: (ViewGenqlSelection & {
|
|
5586
|
+
__args: {
|
|
5587
|
+
input: UpsertViewWidgetInput;
|
|
5588
|
+
};
|
|
5589
|
+
});
|
|
5649
5590
|
createViewSort?: (ViewSortGenqlSelection & {
|
|
5650
5591
|
__args: {
|
|
5651
5592
|
input: CreateViewSortInput;
|
|
@@ -6118,6 +6059,27 @@ export interface MutationGenqlSelection {
|
|
|
6118
6059
|
threadId: Scalars['UUID'];
|
|
6119
6060
|
};
|
|
6120
6061
|
};
|
|
6062
|
+
renameChatThread?: (AgentChatThreadGenqlSelection & {
|
|
6063
|
+
__args: {
|
|
6064
|
+
id: Scalars['UUID'];
|
|
6065
|
+
title: Scalars['String'];
|
|
6066
|
+
};
|
|
6067
|
+
});
|
|
6068
|
+
archiveChatThread?: (AgentChatThreadGenqlSelection & {
|
|
6069
|
+
__args: {
|
|
6070
|
+
id: Scalars['UUID'];
|
|
6071
|
+
};
|
|
6072
|
+
});
|
|
6073
|
+
unarchiveChatThread?: (AgentChatThreadGenqlSelection & {
|
|
6074
|
+
__args: {
|
|
6075
|
+
id: Scalars['UUID'];
|
|
6076
|
+
};
|
|
6077
|
+
});
|
|
6078
|
+
deleteChatThread?: {
|
|
6079
|
+
__args: {
|
|
6080
|
+
id: Scalars['UUID'];
|
|
6081
|
+
};
|
|
6082
|
+
};
|
|
6121
6083
|
deleteQueuedChatMessage?: {
|
|
6122
6084
|
__args: {
|
|
6123
6085
|
messageId: Scalars['UUID'];
|
|
@@ -6647,6 +6609,47 @@ export interface UpdateViewInput {
|
|
|
6647
6609
|
mainGroupByFieldMetadataId?: (Scalars['UUID'] | null);
|
|
6648
6610
|
shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
|
|
6649
6611
|
}
|
|
6612
|
+
export interface UpsertViewWidgetInput {
|
|
6613
|
+
/** The id of the view widget (page layout widget). */
|
|
6614
|
+
widgetId: Scalars['UUID'];
|
|
6615
|
+
/** The view fields to upsert. */
|
|
6616
|
+
viewFields?: (UpsertViewWidgetViewFieldInput[] | null);
|
|
6617
|
+
/** The view filters to upsert. */
|
|
6618
|
+
viewFilters?: (UpsertViewWidgetViewFilterInput[] | null);
|
|
6619
|
+
/** The view filter groups to upsert. */
|
|
6620
|
+
viewFilterGroups?: (UpsertViewWidgetViewFilterGroupInput[] | null);
|
|
6621
|
+
/** The view sorts to upsert. */
|
|
6622
|
+
viewSorts?: (UpsertViewWidgetViewSortInput[] | null);
|
|
6623
|
+
}
|
|
6624
|
+
export interface UpsertViewWidgetViewFieldInput {
|
|
6625
|
+
/** The id of an existing view field to update. */
|
|
6626
|
+
viewFieldId?: (Scalars['UUID'] | null);
|
|
6627
|
+
/** The field metadata id. Used to create a new view field when viewFieldId is not provided. */
|
|
6628
|
+
fieldMetadataId?: (Scalars['UUID'] | null);
|
|
6629
|
+
isVisible: Scalars['Boolean'];
|
|
6630
|
+
position: Scalars['Float'];
|
|
6631
|
+
size?: (Scalars['Float'] | null);
|
|
6632
|
+
}
|
|
6633
|
+
export interface UpsertViewWidgetViewFilterInput {
|
|
6634
|
+
id?: (Scalars['UUID'] | null);
|
|
6635
|
+
fieldMetadataId: Scalars['UUID'];
|
|
6636
|
+
operand?: (ViewFilterOperand | null);
|
|
6637
|
+
value: Scalars['JSON'];
|
|
6638
|
+
viewFilterGroupId?: (Scalars['UUID'] | null);
|
|
6639
|
+
positionInViewFilterGroup?: (Scalars['Float'] | null);
|
|
6640
|
+
subFieldName?: (Scalars['String'] | null);
|
|
6641
|
+
}
|
|
6642
|
+
export interface UpsertViewWidgetViewFilterGroupInput {
|
|
6643
|
+
id?: (Scalars['UUID'] | null);
|
|
6644
|
+
parentViewFilterGroupId?: (Scalars['UUID'] | null);
|
|
6645
|
+
logicalOperator?: (ViewFilterGroupLogicalOperator | null);
|
|
6646
|
+
positionInViewFilterGroup?: (Scalars['Float'] | null);
|
|
6647
|
+
}
|
|
6648
|
+
export interface UpsertViewWidgetViewSortInput {
|
|
6649
|
+
id?: (Scalars['UUID'] | null);
|
|
6650
|
+
fieldMetadataId: Scalars['UUID'];
|
|
6651
|
+
direction?: (ViewSortDirection | null);
|
|
6652
|
+
}
|
|
6650
6653
|
export interface CreateViewSortInput {
|
|
6651
6654
|
id?: (Scalars['UUID'] | null);
|
|
6652
6655
|
fieldMetadataId: Scalars['UUID'];
|
|
@@ -8064,12 +8067,12 @@ export declare const isEventLogQueryResult: (obj?: {
|
|
|
8064
8067
|
export declare const isSkill: (obj?: {
|
|
8065
8068
|
__typename?: any;
|
|
8066
8069
|
} | null | undefined) => obj is Skill;
|
|
8067
|
-
export declare const isAgentChatThread: (obj?: {
|
|
8068
|
-
__typename?: any;
|
|
8069
|
-
} | null | undefined) => obj is AgentChatThread;
|
|
8070
8070
|
export declare const isAgentMessage: (obj?: {
|
|
8071
8071
|
__typename?: any;
|
|
8072
8072
|
} | null | undefined) => obj is AgentMessage;
|
|
8073
|
+
export declare const isAgentChatThread: (obj?: {
|
|
8074
|
+
__typename?: any;
|
|
8075
|
+
} | null | undefined) => obj is AgentChatThread;
|
|
8073
8076
|
export declare const isAiSystemPromptSection: (obj?: {
|
|
8074
8077
|
__typename?: any;
|
|
8075
8078
|
} | null | undefined) => obj is AiSystemPromptSection;
|
|
@@ -8085,12 +8088,6 @@ export declare const isSendChatMessageResult: (obj?: {
|
|
|
8085
8088
|
export declare const isAgentChatEvent: (obj?: {
|
|
8086
8089
|
__typename?: any;
|
|
8087
8090
|
} | null | undefined) => obj is AgentChatEvent;
|
|
8088
|
-
export declare const isAgentChatThreadEdge: (obj?: {
|
|
8089
|
-
__typename?: any;
|
|
8090
|
-
} | null | undefined) => obj is AgentChatThreadEdge;
|
|
8091
|
-
export declare const isAgentChatThreadConnection: (obj?: {
|
|
8092
|
-
__typename?: any;
|
|
8093
|
-
} | null | undefined) => obj is AgentChatThreadConnection;
|
|
8094
8091
|
export declare const isAgentTurnEvaluation: (obj?: {
|
|
8095
8092
|
__typename?: any;
|
|
8096
8093
|
} | null | undefined) => obj is AgentTurnEvaluation;
|
|
@@ -8694,18 +8691,6 @@ export declare const enumAllMetadataName: {
|
|
|
8694
8691
|
frontComponent: "frontComponent";
|
|
8695
8692
|
webhook: "webhook";
|
|
8696
8693
|
};
|
|
8697
|
-
export declare const enumAgentChatThreadSortFields: {
|
|
8698
|
-
id: "id";
|
|
8699
|
-
updatedAt: "updatedAt";
|
|
8700
|
-
};
|
|
8701
|
-
export declare const enumSortDirection: {
|
|
8702
|
-
ASC: "ASC";
|
|
8703
|
-
DESC: "DESC";
|
|
8704
|
-
};
|
|
8705
|
-
export declare const enumSortNulls: {
|
|
8706
|
-
NULLS_FIRST: "NULLS_FIRST";
|
|
8707
|
-
NULLS_LAST: "NULLS_LAST";
|
|
8708
|
-
};
|
|
8709
8694
|
export declare const enumEventLogTable: {
|
|
8710
8695
|
WORKSPACE_EVENT: "WORKSPACE_EVENT";
|
|
8711
8696
|
PAGEVIEW: "PAGEVIEW";
|
|
@@ -449,6 +449,7 @@ declare const _default: {
|
|
|
449
449
|
id: number[];
|
|
450
450
|
name: number[];
|
|
451
451
|
description: number[];
|
|
452
|
+
logo: number[];
|
|
452
453
|
version: number[];
|
|
453
454
|
universalIdentifier: number[];
|
|
454
455
|
packageJsonChecksum: number[];
|
|
@@ -1737,7 +1738,6 @@ declare const _default: {
|
|
|
1737
1738
|
id: number[];
|
|
1738
1739
|
name: number[];
|
|
1739
1740
|
description: number[];
|
|
1740
|
-
icon: number[];
|
|
1741
1741
|
author: number[];
|
|
1742
1742
|
category: number[];
|
|
1743
1743
|
logo: number[];
|
|
@@ -2064,6 +2064,18 @@ declare const _default: {
|
|
|
2064
2064
|
updatedAt: number[];
|
|
2065
2065
|
__typename: number[];
|
|
2066
2066
|
};
|
|
2067
|
+
AgentMessage: {
|
|
2068
|
+
id: number[];
|
|
2069
|
+
threadId: number[];
|
|
2070
|
+
turnId: number[];
|
|
2071
|
+
agentId: number[];
|
|
2072
|
+
role: number[];
|
|
2073
|
+
status: number[];
|
|
2074
|
+
parts: number[];
|
|
2075
|
+
processedAt: number[];
|
|
2076
|
+
createdAt: number[];
|
|
2077
|
+
__typename: number[];
|
|
2078
|
+
};
|
|
2067
2079
|
AgentChatThread: {
|
|
2068
2080
|
id: number[];
|
|
2069
2081
|
title: number[];
|
|
@@ -2075,20 +2087,11 @@ declare const _default: {
|
|
|
2075
2087
|
totalOutputCredits: number[];
|
|
2076
2088
|
createdAt: number[];
|
|
2077
2089
|
updatedAt: number[];
|
|
2090
|
+
deletedAt: number[];
|
|
2091
|
+
lastMessageAt: number[];
|
|
2078
2092
|
__typename: number[];
|
|
2079
2093
|
};
|
|
2080
|
-
|
|
2081
|
-
id: number[];
|
|
2082
|
-
threadId: number[];
|
|
2083
|
-
turnId: number[];
|
|
2084
|
-
agentId: number[];
|
|
2085
|
-
role: number[];
|
|
2086
|
-
status: number[];
|
|
2087
|
-
parts: number[];
|
|
2088
|
-
processedAt: number[];
|
|
2089
|
-
createdAt: number[];
|
|
2090
|
-
__typename: number[];
|
|
2091
|
-
};
|
|
2094
|
+
ID: {};
|
|
2092
2095
|
AiSystemPromptSection: {
|
|
2093
2096
|
title: number[];
|
|
2094
2097
|
content: number[];
|
|
@@ -2116,16 +2119,6 @@ declare const _default: {
|
|
|
2116
2119
|
event: number[];
|
|
2117
2120
|
__typename: number[];
|
|
2118
2121
|
};
|
|
2119
|
-
AgentChatThreadEdge: {
|
|
2120
|
-
node: number[];
|
|
2121
|
-
cursor: number[];
|
|
2122
|
-
__typename: number[];
|
|
2123
|
-
};
|
|
2124
|
-
AgentChatThreadConnection: {
|
|
2125
|
-
pageInfo: number[];
|
|
2126
|
-
edges: number[];
|
|
2127
|
-
__typename: number[];
|
|
2128
|
-
};
|
|
2129
2122
|
AgentTurnEvaluation: {
|
|
2130
2123
|
id: number[];
|
|
2131
2124
|
turnId: number[];
|
|
@@ -2406,6 +2399,7 @@ declare const _default: {
|
|
|
2406
2399
|
id: (string | number)[];
|
|
2407
2400
|
})[];
|
|
2408
2401
|
minimalMetadata: number[];
|
|
2402
|
+
chatThreads: number[];
|
|
2409
2403
|
chatThread: (number | {
|
|
2410
2404
|
id: (string | number)[];
|
|
2411
2405
|
})[];
|
|
@@ -2420,11 +2414,6 @@ declare const _default: {
|
|
|
2420
2414
|
skill: (number | {
|
|
2421
2415
|
id: (string | number)[];
|
|
2422
2416
|
})[];
|
|
2423
|
-
chatThreads: (number | {
|
|
2424
|
-
paging: (string | number)[];
|
|
2425
|
-
filter: (string | number)[];
|
|
2426
|
-
sorting: (string | number)[];
|
|
2427
|
-
})[];
|
|
2428
2417
|
agentTurns: (number | {
|
|
2429
2418
|
agentId: (string | number)[];
|
|
2430
2419
|
})[];
|
|
@@ -2519,47 +2508,10 @@ declare const _default: {
|
|
|
2519
2508
|
id: number[];
|
|
2520
2509
|
__typename: number[];
|
|
2521
2510
|
};
|
|
2522
|
-
ID: {};
|
|
2523
2511
|
AgentIdInput: {
|
|
2524
2512
|
id: number[];
|
|
2525
2513
|
__typename: number[];
|
|
2526
2514
|
};
|
|
2527
|
-
AgentChatThreadFilter: {
|
|
2528
|
-
and: number[];
|
|
2529
|
-
or: number[];
|
|
2530
|
-
id: number[];
|
|
2531
|
-
updatedAt: number[];
|
|
2532
|
-
__typename: number[];
|
|
2533
|
-
};
|
|
2534
|
-
DateFieldComparison: {
|
|
2535
|
-
is: number[];
|
|
2536
|
-
isNot: number[];
|
|
2537
|
-
eq: number[];
|
|
2538
|
-
neq: number[];
|
|
2539
|
-
gt: number[];
|
|
2540
|
-
gte: number[];
|
|
2541
|
-
lt: number[];
|
|
2542
|
-
lte: number[];
|
|
2543
|
-
in: number[];
|
|
2544
|
-
notIn: number[];
|
|
2545
|
-
between: number[];
|
|
2546
|
-
notBetween: number[];
|
|
2547
|
-
__typename: number[];
|
|
2548
|
-
};
|
|
2549
|
-
DateFieldComparisonBetween: {
|
|
2550
|
-
lower: number[];
|
|
2551
|
-
upper: number[];
|
|
2552
|
-
__typename: number[];
|
|
2553
|
-
};
|
|
2554
|
-
AgentChatThreadSort: {
|
|
2555
|
-
field: number[];
|
|
2556
|
-
direction: number[];
|
|
2557
|
-
nulls: number[];
|
|
2558
|
-
__typename: number[];
|
|
2559
|
-
};
|
|
2560
|
-
AgentChatThreadSortFields: {};
|
|
2561
|
-
SortDirection: {};
|
|
2562
|
-
SortNulls: {};
|
|
2563
2515
|
EventLogQueryInput: {
|
|
2564
2516
|
table: number[];
|
|
2565
2517
|
filters: number[];
|
|
@@ -2690,6 +2642,9 @@ declare const _default: {
|
|
|
2690
2642
|
destroyView: (number | {
|
|
2691
2643
|
id: (string | number)[];
|
|
2692
2644
|
})[];
|
|
2645
|
+
upsertViewWidget: (number | {
|
|
2646
|
+
input: (string | number)[];
|
|
2647
|
+
})[];
|
|
2693
2648
|
createViewSort: (number | {
|
|
2694
2649
|
input: (string | number)[];
|
|
2695
2650
|
})[];
|
|
@@ -2986,6 +2941,19 @@ declare const _default: {
|
|
|
2986
2941
|
stopAgentChatStream: (number | {
|
|
2987
2942
|
threadId: (string | number)[];
|
|
2988
2943
|
})[];
|
|
2944
|
+
renameChatThread: (number | {
|
|
2945
|
+
id: (string | number)[];
|
|
2946
|
+
title: (string | number)[];
|
|
2947
|
+
})[];
|
|
2948
|
+
archiveChatThread: (number | {
|
|
2949
|
+
id: (string | number)[];
|
|
2950
|
+
})[];
|
|
2951
|
+
unarchiveChatThread: (number | {
|
|
2952
|
+
id: (string | number)[];
|
|
2953
|
+
})[];
|
|
2954
|
+
deleteChatThread: (number | {
|
|
2955
|
+
id: (string | number)[];
|
|
2956
|
+
})[];
|
|
2989
2957
|
deleteQueuedChatMessage: (number | {
|
|
2990
2958
|
messageId: (string | number)[];
|
|
2991
2959
|
})[];
|
|
@@ -3387,6 +3355,45 @@ declare const _default: {
|
|
|
3387
3355
|
shouldHideEmptyGroups: number[];
|
|
3388
3356
|
__typename: number[];
|
|
3389
3357
|
};
|
|
3358
|
+
UpsertViewWidgetInput: {
|
|
3359
|
+
widgetId: number[];
|
|
3360
|
+
viewFields: number[];
|
|
3361
|
+
viewFilters: number[];
|
|
3362
|
+
viewFilterGroups: number[];
|
|
3363
|
+
viewSorts: number[];
|
|
3364
|
+
__typename: number[];
|
|
3365
|
+
};
|
|
3366
|
+
UpsertViewWidgetViewFieldInput: {
|
|
3367
|
+
viewFieldId: number[];
|
|
3368
|
+
fieldMetadataId: number[];
|
|
3369
|
+
isVisible: number[];
|
|
3370
|
+
position: number[];
|
|
3371
|
+
size: number[];
|
|
3372
|
+
__typename: number[];
|
|
3373
|
+
};
|
|
3374
|
+
UpsertViewWidgetViewFilterInput: {
|
|
3375
|
+
id: number[];
|
|
3376
|
+
fieldMetadataId: number[];
|
|
3377
|
+
operand: number[];
|
|
3378
|
+
value: number[];
|
|
3379
|
+
viewFilterGroupId: number[];
|
|
3380
|
+
positionInViewFilterGroup: number[];
|
|
3381
|
+
subFieldName: number[];
|
|
3382
|
+
__typename: number[];
|
|
3383
|
+
};
|
|
3384
|
+
UpsertViewWidgetViewFilterGroupInput: {
|
|
3385
|
+
id: number[];
|
|
3386
|
+
parentViewFilterGroupId: number[];
|
|
3387
|
+
logicalOperator: number[];
|
|
3388
|
+
positionInViewFilterGroup: number[];
|
|
3389
|
+
__typename: number[];
|
|
3390
|
+
};
|
|
3391
|
+
UpsertViewWidgetViewSortInput: {
|
|
3392
|
+
id: number[];
|
|
3393
|
+
fieldMetadataId: number[];
|
|
3394
|
+
direction: number[];
|
|
3395
|
+
__typename: number[];
|
|
3396
|
+
};
|
|
3390
3397
|
CreateViewSortInput: {
|
|
3391
3398
|
id: number[];
|
|
3392
3399
|
fieldMetadataId: number[];
|